Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Remove hypnosphi polyfill #435

Open
wants to merge 4 commits into
base: v1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"dist/index.umd.js": {
"bundled": 88323,
"minified": 32847,
"gzipped": 9575
"bundled": 49817,
"minified": 23109,
"gzipped": 7142
},
"dist/index.umd.min.js": {
"bundled": 52955,
"minified": 21926,
"gzipped": 6619
"bundled": 47621,
"minified": 22197,
"gzipped": 6821
},
"dist/index.esm.js": {
"bundled": 12824,
"minified": 7630,
"gzipped": 2103,
"bundled": 12651,
"minified": 7287,
"gzipped": 2124,
"treeshaked": {
"rollup": {
"code": 3829,
"import_statements": 163
"code": 3841,
"import_statements": 146
},
"webpack": {
"code": 4978
"code": 5002
}
}
}
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-popper",
"version": "1.3.8",
"version": "1.4.0",
"description": "React wrapper around Popper.js",
"license": "MIT",
"author": "Travis Arnold <[email protected]> (http://souporserious.com)",
Expand Down Expand Up @@ -57,11 +57,10 @@
"popover"
],
"peerDependencies": {
"react": "0.14.x || ^15.0.0 || ^16.0.0"
"react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"create-react-context": "^0.3.0",
"deep-equal": "^1.1.1",
"popper.js": "^1.14.4",
"prop-types": "^15.6.1",
Expand Down Expand Up @@ -93,7 +92,7 @@
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.69.0",
"flow-bin": "^0.72.0",
"flow-copy-source": "^1.3.0",
"gh-pages": "^1.1.0",
"git-branch-is": "^0.1.0",
Expand Down
8 changes: 2 additions & 6 deletions src/Manager.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// @flow
import * as React from 'react';
import createContext, { type Context } from 'create-react-context';

export const ManagerReferenceNodeContext: Context<?HTMLElement> = createContext();
export const ManagerReferenceNodeSetterContext: Context<
void | ((?HTMLElement) => void)
> = createContext();
export const ManagerReferenceNodeContext= React.createContext();
export const ManagerReferenceNodeSetterContext = React.createContext();

export type ManagerProps = {
children: React.Node,
Expand Down
Loading