diff --git a/.size-limit.js b/.size-limit.js index a45beca09985dc..ce6eb0e3502158 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -27,7 +27,7 @@ module.exports = [ name: 'The size of all the modules of material-ui.', webpack: true, path: 'packages/material-ui/build/index.js', - limit: '95.0 KB', + limit: '96.3 KB', }, { name: 'The main bundle of the docs', diff --git a/docs/src/pages/demos/menus/MenuListComposition.js b/docs/src/pages/demos/menus/MenuListComposition.js index 86d194dc049f5f..fdb3cfba022dfa 100644 --- a/docs/src/pages/demos/menus/MenuListComposition.js +++ b/docs/src/pages/demos/menus/MenuListComposition.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; -import { Manager, Target, Popper } from 'react-popper'; +import { Manager, Reference, Popper } from 'react-popper'; import Button from '@material-ui/core/Button'; import ClickAwayListener from '@material-ui/core/ClickAwayListener'; import Collapse from '@material-ui/core/Collapse'; @@ -55,72 +55,90 @@ class MenuListComposition extends React.Component { - -
{ - this.target1 = node; - }} - > - -
-
+ + + )} + - - - - - Profile - My account - Logout - - - - + {({ ref, style }) => ( +
+ + + + + Profile + My account + Logout + + + + +
+ )}
- -
{ - this.target2 = node; - }} - > - -
-
+ + + )} + - - - - - Profile - My account - Logout - - - - + {({ ref, style }) => ( +
+ + + + + Profile + My account + Logout + + + + +
+ )}
diff --git a/docs/src/pages/utils/popovers/MouseOverPopover.js b/docs/src/pages/utils/popovers/MouseOverPopover.js index 6d764d005510e1..534573b98372a0 100644 --- a/docs/src/pages/utils/popovers/MouseOverPopover.js +++ b/docs/src/pages/utils/popovers/MouseOverPopover.js @@ -7,7 +7,7 @@ import Typography from '@material-ui/core/Typography'; import { withStyles } from '@material-ui/core/styles'; import Grow from '@material-ui/core/Grow'; import Paper from '@material-ui/core/Paper'; -import { Manager, Target, Popper } from 'react-popper'; +import { Manager, Reference, Popper } from 'react-popper'; const styles = theme => ({ paper: { @@ -74,31 +74,39 @@ class MouseOverPopover extends React.Component { I use Popover. - - - Hover with react-popper. - - + + {({ ref }) => ( +
+ + Hover with react-popper. + +
+ )} +
- - - I use react-popper. - - + {({ ref, style }) => ( +
+ + + I use react-popper. + + +
+ )}
diff --git a/package.json b/package.json index dba8872f1e93ba..456d03695f5cc8 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "doctrine": "^2.0.0", "downshift": "^1.22.1", "enzyme": "^3.2.0", - "enzyme-adapter-react-16": "^1.1.0", + "enzyme-adapter-react-16": "npm:enzyme-react-adapter-future", "eslint": "^4.11.0", "eslint-config-airbnb": "^16.1.0", "eslint-import-resolver-webpack": "^0.10.0", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 248ffc0008d842..51f2650dabadac 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -56,9 +56,9 @@ "prop-types": "^15.6.0", "react-event-listener": "^0.6.0", "react-jss": "^8.1.0", - "react-popper": "^0.10.0", + "react-popper": "^1.0.0", "react-transition-group": "^2.2.1", - "recompose": "^0.26.0 || ^0.27.0", + "recompose": "^0.27.0", "scroll": "^2.0.3", "warning": "^4.0.1" }, diff --git a/packages/material-ui/src/Tooltip/Tooltip.d.ts b/packages/material-ui/src/Tooltip/Tooltip.d.ts index 330bc0bb4a2e17..98b08e4db958ed 100644 --- a/packages/material-ui/src/Tooltip/Tooltip.d.ts +++ b/packages/material-ui/src/Tooltip/Tooltip.d.ts @@ -1,5 +1,5 @@ import * as React from 'react'; -import { IPopperProps } from 'react-popper'; +import { PopperProps } from 'react-popper'; import { StandardProps } from '..'; export interface TooltipProps @@ -43,10 +43,6 @@ export type TooltipClassKey = | 'tooltipPlacementTop' | 'tooltipPlacementBottom'; -interface PopperProps extends IPopperProps { - PopperClassName: string; -} - declare const Tooltip: React.ComponentType; export default Tooltip; diff --git a/packages/material-ui/src/Tooltip/Tooltip.js b/packages/material-ui/src/Tooltip/Tooltip.js index 6e7d1ede3dd6b5..4867d60278946d 100644 --- a/packages/material-ui/src/Tooltip/Tooltip.js +++ b/packages/material-ui/src/Tooltip/Tooltip.js @@ -6,7 +6,7 @@ import EventListener from 'react-event-listener'; import debounce from 'debounce'; import warning from 'warning'; import classNames from 'classnames'; -import { Manager, Popper, Target } from 'react-popper'; +import { Manager, Popper, Reference } from 'react-popper'; import { capitalize } from '../utils/helpers'; import RootRef from '../RootRef'; import Portal from '../Portal'; @@ -137,13 +137,13 @@ class Tooltip extends React.Component { touchTimer = null; closeTimer = null; isControlled = null; - popper = null; + scheduleUpdate = null; children = null; ignoreNonTouchEvents = false; handleResize = debounce(() => { - if (this.popper) { - this.popper._popper.scheduleUpdate(); + if (this.scheduleUpdate) { + this.scheduleUpdate(); } }, 166); // Corresponds to 10 frames at 60 Hz. @@ -314,41 +314,39 @@ class Tooltip extends React.Component { ); return ( - + - - {({ targetProps }) => ( + + {({ ref }) => ( { this.children = node; - targetProps.ref(this.children); + ref(this.children); }} > {React.cloneElement(children, childrenProps)} )} - + { - this.popper = node; - }} {...PopperProps} > - {({ popperProps, restProps }) => { - const actualPlacement = (popperProps['data-placement'] || placement).split('-')[0]; + {popperProps => { + this.scheduleUpdate = popperProps.scheduleUpdate; + const actualPlacement = popperProps.placement + ? popperProps.placement.split('-')[0] + : null; return (
{title} diff --git a/packages/material-ui/src/Tooltip/Tooltip.test.js b/packages/material-ui/src/Tooltip/Tooltip.test.js index ce302b635cbb11..35ce074542c06a 100644 --- a/packages/material-ui/src/Tooltip/Tooltip.test.js +++ b/packages/material-ui/src/Tooltip/Tooltip.test.js @@ -3,7 +3,7 @@ import React from 'react'; import { assert } from 'chai'; import { spy, useFakeTimers } from 'sinon'; -import { Popper, Target } from 'react-popper'; +import { Popper, Reference } from 'react-popper'; import { ShallowWrapper } from 'enzyme'; import consoleErrorMock from 'test/utils/consoleErrorMock'; import { createShallow, createMount, getClasses, unwrap } from '../test-utils'; @@ -16,22 +16,22 @@ function persist() {} // eslint-disable-next-line react/prop-types const Hack = ({ style, innerRef, ...other }) =>
; -function getTargetChildren(wrapper) { +function getReferenceChildren(wrapper) { return new ShallowWrapper( wrapper - .find(Target) + .find(Reference) .props() .children({}).props.children, wrapper, ); } -function getPopperChildren(wrapper) { +function getPopperChildren(wrapper, props) { return new ShallowWrapper( wrapper .find(Popper) .props() - .children({ popperProps: { style: {} }, restProps: {} }), + .children(props), null, ); } @@ -72,7 +72,7 @@ describe('', () => { Hello World , ); - const popperChildren = getPopperChildren(wrapper); + const popperChildren = getPopperChildren(wrapper, { style: {} }); assert.strictEqual(popperChildren.childAt(0).hasClass(classes.tooltip), true); }); @@ -94,7 +94,7 @@ describe('', () => { Hello World , ); - const popperChildren = getPopperChildren(wrapper); + const popperChildren = getPopperChildren(wrapper, { style: {}, placement: 'top' }); assert.strictEqual(popperChildren.childAt(0).hasClass(classes.tooltip), true); wrapper.childAt(0).simulate('click'); assert.strictEqual(popperChildren.childAt(0).hasClass(classes.tooltipPlacementTop), true); @@ -143,7 +143,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); assert.strictEqual(wrapper.state().open, false); children.simulate('mouseOver', {}); assert.strictEqual(wrapper.state().open, true); @@ -166,7 +166,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); assert.strictEqual(handleRequestOpen.callCount, 0); assert.strictEqual(handleClose.callCount, 0); children.simulate('mouseOver', { type: 'mouseover' }); @@ -194,7 +194,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); children.simulate('touchStart', { type: 'touchstart', persist }); children.simulate('touchEnd', { type: 'touchend', persist }); children.simulate('focus', { type: 'focus' }); @@ -208,7 +208,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); children.simulate('touchStart', { type: 'touchstart', persist }); children.simulate('focus', { type: 'focus' }); children.simulate('mouseover', { type: 'mouseover' }); @@ -247,7 +247,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); children.simulate('focus', { type: 'focus', persist }); assert.strictEqual(wrapper.state().open, false); clock.tick(111); @@ -260,7 +260,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); children.simulate('focus', { type: 'focus' }); assert.strictEqual(wrapper.state().open, true); children.simulate('blur', { type: 'blur', persist }); @@ -280,7 +280,7 @@ describe('', () => { , ); - const children = getTargetChildren(wrapper); + const children = getReferenceChildren(wrapper); const type = name.slice(2).toLowerCase(); children.simulate(type, { type, persist }); assert.strictEqual(handler.callCount, 1); @@ -311,7 +311,7 @@ describe('', () => { instance.handleResize(); assert.strictEqual(handleUpdate.callCount, 0); clock.tick(1); - instance.popper._popper.scheduleUpdate = handleUpdate; + instance.scheduleUpdate = handleUpdate; clock.tick(165); assert.strictEqual(handleUpdate.callCount, 1); }); diff --git a/test/regressions/tests/Tooltip/PositionedTooltips.js b/test/regressions/tests/Tooltip/PositionedTooltips.js index ed6b15d299c2ce..99c9b84f4423e5 100644 --- a/test/regressions/tests/Tooltip/PositionedTooltips.js +++ b/test/regressions/tests/Tooltip/PositionedTooltips.js @@ -7,7 +7,7 @@ import Tooltip from '@material-ui/core/Tooltip'; const styles = { root: { - width: 400, + width: 500, height: 400, padding: 60, }, diff --git a/yarn.lock b/yarn.lock index be63cecb1bcfc1..953bbd167ff868 100644 --- a/yarn.lock +++ b/yarn.lock @@ -183,12 +183,12 @@ "@babel/types" "7.0.0-beta.42" lodash "^4.2.0" -"@babel/helper-module-imports@7.0.0-beta.44": - version "7.0.0-beta.44" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.44.tgz#60edc68cdf17e13eaca5be813c96127303085133" +"@babel/helper-module-imports@7.0.0-beta.49": + version "7.0.0-beta.49" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.49.tgz#41d7d59891016c493432a46f7464446552890c75" dependencies: - "@babel/types" "7.0.0-beta.44" - lodash "^4.2.0" + "@babel/types" "7.0.0-beta.49" + lodash "^4.17.5" "@babel/helper-module-transforms@7.0.0-beta.42": version "7.0.0-beta.42" @@ -1065,12 +1065,18 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.3.14": +"@types/react@*": version "16.3.16" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.3.16.tgz#78fc44a90b45701f50c8a7008f733680ba51fc86" dependencies: csstype "^2.2.0" +"@types/react@^16.3.14": + version "16.3.17" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.3.17.tgz#d59d1a632570b0713946ed9c2949d994773633c5" + dependencies: + csstype "^2.2.0" + "@webassemblyjs/ast@1.4.3": version "1.4.3" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.4.3.tgz#3b3f6fced944d8660273347533e6d4d315b5934a" @@ -1679,10 +1685,6 @@ ast-types@0.10.1: version "0.10.1" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.10.1.tgz#f52fca9715579a14f841d67d7f8d25432ab6a3dd" -ast-types@0.11.3: - version "0.11.3" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8" - ast-types@0.11.5: version "0.11.5" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.11.5.tgz#9890825d660c03c28339f315e9fa0a360e31ec28" @@ -1733,11 +1735,11 @@ autoprefixer@^6.3.1: postcss-value-parser "^3.2.3" autoprefixer@^8.0.0: - version "8.6.0" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.6.0.tgz#6da6b0791e15cb0ebf33c3f299414afd340672c0" + version "8.6.2" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.6.2.tgz#51d42ff13243820a582a53ecca20dedaeb7f2efd" dependencies: browserslist "^3.2.8" - caniuse-lite "^1.0.30000847" + caniuse-lite "^1.0.30000851" normalize-range "^0.1.2" num2fraction "^1.2.2" postcss "^6.0.22" @@ -2404,7 +2406,7 @@ babel-register@^6.26.0, babel-register@^6.9.0: mkdirp "^0.5.1" source-map-support "^0.4.15" -babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0, babel-runtime@^6.9.2: +babel-runtime@6.x.x, babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0, babel-runtime@^6.9.2: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: @@ -2460,7 +2462,7 @@ babylon@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" -babylon@^7.0.0-beta.30: +babylon@^7.0.0-beta.47: version "7.0.0-beta.47" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.47.tgz#6d1fa44f0abec41ab7c780481e62fd9aafbdea80" @@ -2901,9 +2903,9 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: version "1.0.30000848" resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000848.tgz#e149c981c72aa20439e3bc12c7cf8b3f7e1237c6" -caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000847: - version "1.0.30000847" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000847.tgz#be77f439be29bbc57ae08004b1e470b653b1ec1d" +caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000851: + version "1.0.30000855" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000855.tgz#d5a26a9093b932d6266bf4ed9294b41b84945d14" capture-stack-trace@^1.0.0: version "1.0.0" @@ -3166,12 +3168,22 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" -color-convert@^1.3.0, color-convert@^1.9.0: +color-convert@^1.3.0: version "1.9.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" dependencies: color-name "^1.1.1" +color-convert@^1.9.0: + version "1.9.2" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" + dependencies: + color-name "1.1.1" + +color-name@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" + color-name@^1.0.0, color-name@^1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" @@ -3432,11 +3444,18 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: safe-buffer "^5.0.1" sha.js "^2.4.8" +create-react-context@^0.2.1: + version "0.2.2" + resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.2.tgz#9836542f9aaa22868cd7d4a6f82667df38019dca" + dependencies: + fbjs "^0.8.0" + gud "^1.0.0" + cross-env@^5.1.1: - version "5.1.6" - resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.6.tgz#0dc05caf945b24e4b9e3b12871fe0e858d08b38d" + version "5.2.0" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2" dependencies: - cross-spawn "^5.1.0" + cross-spawn "^6.0.5" is-windows "^1.0.0" cross-spawn-async@^1.0.1: @@ -3461,6 +3480,16 @@ cross-spawn@^4, cross-spawn@^4.0.0: lru-cache "^4.0.1" which "^1.2.9" +cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + crypt@~0.0.1: version "0.0.2" resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" @@ -3948,8 +3977,8 @@ double-ended-queue@^2.1.0-0: resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c" downshift@^1.22.1: - version "1.31.15" - resolved "https://registry.yarnpkg.com/downshift/-/downshift-1.31.15.tgz#ac31c601e2e9e34c5bb85b969c11ba87248f5e67" + version "1.31.16" + resolved "https://registry.yarnpkg.com/downshift/-/downshift-1.31.16.tgz#acd81631539502d4112d01bd573654419fd9f640" duplexer2@~0.1.4: version "0.1.4" @@ -4104,13 +4133,13 @@ entities@^1.1.1, entities@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" -enzyme-adapter-react-16@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4" +"enzyme-adapter-react-16@npm:enzyme-react-adapter-future": + version "1.1.3" + resolved "https://registry.yarnpkg.com/enzyme-react-adapter-future/-/enzyme-react-adapter-future-1.1.3.tgz#f0c102f098086a0ad0270bbdaf9da5113297dc05" dependencies: enzyme-adapter-utils "^1.3.0" lodash "^4.17.4" - object.assign "^4.0.4" + object.assign "^4.1.0" object.values "^1.0.4" prop-types "^15.6.0" react-reconciler "^0.7.0" @@ -4720,7 +4749,19 @@ fastparse@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8" -fbjs@^0.8.1, fbjs@^0.8.16, fbjs@^0.8.4: +fbjs@^0.8.0, fbjs@^0.8.16: + version "0.8.17" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" + dependencies: + core-js "^1.0.0" + isomorphic-fetch "^2.1.1" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^0.7.18" + +fbjs@^0.8.1, fbjs@^0.8.4: version "0.8.16" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" dependencies: @@ -4875,8 +4916,8 @@ flow-bin@0.62.0: resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.62.0.tgz#14bca669a6e3f95c0bc0c2d1eb55ec4e98cb1d83" flow-parser@^0.*: - version "0.73.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.73.0.tgz#525ac0776f743e16b6dca1a3dd6c602260b15773" + version "0.74.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.74.0.tgz#4acc8f55bdce5fa4da43c72c28ef8a9600ace87c" flow-typed@^2.2.3: version "2.4.0" @@ -5336,6 +5377,10 @@ growl@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" +gud@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0" + gzip-size@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-4.1.0.tgz#8ae096257eabe7d69c45be2b67c448124ffb517c" @@ -5523,10 +5568,14 @@ hoek@4.x.x: version "4.2.1" resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb" -hoist-non-react-statics@2.5.0, hoist-non-react-statics@^2.3.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: +hoist-non-react-statics@2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz#d2ca2dfc19c5a91c5a6615ce8e564ef0347e2a40" +hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: + version "2.5.4" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.4.tgz#fc3b1ac05d2ae3abedec84eba846511b0d4fcc4f" + home-or-tmp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" @@ -5793,7 +5842,7 @@ interpret@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" -invariant@^2.0.0, invariant@^2.2.0, invariant@^2.2.1, invariant@^2.2.2: +invariant@^2.0.0, invariant@^2.2.0, invariant@^2.2.1, invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" dependencies: @@ -6304,14 +6353,14 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" jscodeshift@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.5.0.tgz#bdb7b6cc20dd62c16aa728c3fa2d2fe66ca7c748" + version "0.5.1" + resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.5.1.tgz#4af6a721648be8638ae1464a190342da52960c33" dependencies: babel-plugin-transform-flow-strip-types "^6.8.0" babel-preset-es2015 "^6.9.0" babel-preset-stage-1 "^6.5.0" babel-register "^6.9.0" - babylon "^7.0.0-beta.30" + babylon "^7.0.0-beta.47" colors "^1.1.2" flow-parser "^0.*" lodash "^4.13.1" @@ -6319,7 +6368,7 @@ jscodeshift@^0.5.0: neo-async "^2.5.0" node-dir "0.1.8" nomnom "^1.8.1" - recast "^0.14.1" + recast "^0.15.0" temp "^0.8.1" write-file-atomic "^1.2.0" @@ -6492,17 +6541,9 @@ jss-vendor-prefixer@^7.0.0: dependencies: css-vendor "^0.3.8" -jss@^9.3.3: - version "9.8.2" - resolved "https://registry.yarnpkg.com/jss/-/jss-9.8.2.tgz#09cabdfba831545bf094e399cfa45a1743daf4a6" - dependencies: - is-in-browser "^1.1.3" - symbol-observable "^1.1.0" - warning "^3.0.0" - -jss@^9.7.0: - version "9.8.1" - resolved "https://registry.yarnpkg.com/jss/-/jss-9.8.1.tgz#e2ff250777ad657430e6edc47a63516541b888fa" +jss@^9.3.3, jss@^9.7.0: + version "9.8.3" + resolved "https://registry.yarnpkg.com/jss/-/jss-9.8.3.tgz#399da571c4b2c8f4cf418ca7e8627e44fc287fc8" dependencies: is-in-browser "^1.1.3" symbol-observable "^1.1.0" @@ -7362,9 +7403,13 @@ next@^6.0.1: webpack-sources "1.1.0" write-file-webpack-plugin "4.2.0" +nice-try@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4" + nise@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/nise/-/nise-1.3.3.tgz#c17a850066a8a1dfeb37f921da02441afc4a82ba" + version "1.4.1" + resolved "https://registry.yarnpkg.com/nise/-/nise-1.4.1.tgz#78bc2b343d5ff1031ea9d1bb2c87a94c26db7250" dependencies: "@sinonjs/formatio" "^2.0.0" just-extend "^1.1.27" @@ -7965,7 +8010,7 @@ path-is-inside@^1.0.1, path-is-inside@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" -path-key@^2.0.0: +path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" @@ -8376,8 +8421,8 @@ preserve@^0.2.0: resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" prettier@^1.8.2: - version "1.13.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.4.tgz#31bbae6990f13b1093187c731766a14036fa72e6" + version "1.13.5" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.5.tgz#7ae2076998c8edce79d63834e9b7b09fead6bfd0" pretty-bytes@^4.0.2: version "4.0.2" @@ -8698,8 +8743,8 @@ react-docgen@^3.0.0-beta10: recast "^0.12.6" react-dom@^16.4.0: - version "16.4.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.0.tgz#099f067dd5827ce36a29eaf9a6cdc7cbf6216b1e" + version "16.4.1" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.1.tgz#7f8b0223b3a5fbe205116c56deb85de32685dad6" dependencies: fbjs "^0.8.16" loose-envify "^1.1.0" @@ -8747,15 +8792,15 @@ react-inspector@^2.2.2: babel-runtime "^6.26.0" is-dom "^1.0.9" -react-is@^16.4.0: - version "16.4.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.0.tgz#cc9fdc855ac34d2e7d9d2eb7059bbc240d35ffcf" +react-is@^16.4.0, react-is@^16.4.1: + version "16.4.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e" react-jss@^8.1.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/react-jss/-/react-jss-8.4.0.tgz#7cb43d85dea56afafc8f0fd072ae27fcc0518950" + version "8.5.1" + resolved "https://registry.yarnpkg.com/react-jss/-/react-jss-8.5.1.tgz#f97c72f6a1c86aa6408932a2a2836ce40c0ab9fc" dependencies: - hoist-non-react-statics "^2.3.1" + hoist-non-react-statics "^2.5.0" jss "^9.7.0" jss-preset-default "^4.3.0" prop-types "^15.6.0" @@ -8766,18 +8811,22 @@ react-lifecycles-compat@^3.0.2: resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" react-number-format@^3.0.2: - version "3.3.4" - resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-3.3.4.tgz#377f6682484e1659c6706eb04fa019ef27e8df2c" + version "3.4.0" + resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-3.4.0.tgz#5e7ba7fc3a3d7c5b41a9947e0a6daf77107cba40" dependencies: babel-runtime "^6.26.0" prop-types "^15.6.0" -react-popper@^0.10.0: - version "0.10.4" - resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-0.10.4.tgz#af2a415ea22291edd504678d7afda8a6ee3295aa" +react-popper@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-1.0.0.tgz#b99452144e8fe4acc77fa3d959a8c79e07a65084" dependencies: + babel-runtime "6.x.x" + create-react-context "^0.2.1" popper.js "^1.14.1" prop-types "^15.6.1" + typed-styles "^0.0.5" + warning "^3.0.0" react-reconciler@^0.7.0: version "0.7.0" @@ -8800,27 +8849,27 @@ react-redux@^5.0.6: prop-types "^15.6.0" react-router-dom@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.2.2.tgz#c8a81df3adc58bba8a76782e946cbd4eae649b8d" + version "4.3.1" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.3.1.tgz#4c2619fc24c4fa87c9fd18f4fb4a43fe63fbd5c6" dependencies: history "^4.7.2" - invariant "^2.2.2" + invariant "^2.2.4" loose-envify "^1.3.1" - prop-types "^15.5.4" - react-router "^4.2.0" - warning "^3.0.0" + prop-types "^15.6.1" + react-router "^4.3.1" + warning "^4.0.1" -react-router@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.2.0.tgz#61f7b3e3770daeb24062dae3eedef1b054155986" +react-router@^4.2.0, react-router@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e" dependencies: history "^4.7.2" - hoist-non-react-statics "^2.3.0" - invariant "^2.2.2" + hoist-non-react-statics "^2.5.0" + invariant "^2.2.4" loose-envify "^1.3.1" path-to-regexp "^1.7.0" - prop-types "^15.5.4" - warning "^3.0.0" + prop-types "^15.6.1" + warning "^4.0.1" react-select@^1.2.1: version "1.2.1" @@ -8859,7 +8908,7 @@ react-swipeable-views@^0.12.10: react-swipeable-views-utils "^0.12.13" warning "^3.0.0" -react-test-renderer@^16.0.0-0, react-test-renderer@^16.1.1: +react-test-renderer@^16.0.0-0: version "16.4.0" resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.0.tgz#0dbe0e24263e94e1830c7afb1f403707fad313a3" dependencies: @@ -8868,6 +8917,15 @@ react-test-renderer@^16.0.0-0, react-test-renderer@^16.1.1: prop-types "^15.6.0" react-is "^16.4.0" +react-test-renderer@^16.1.1: + version "16.4.1" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.1.tgz#f2fb30c2c7b517db6e5b10ed20bb6b0a7ccd8d70" + dependencies: + fbjs "^0.8.16" + object-assign "^4.1.1" + prop-types "^15.6.0" + react-is "^16.4.1" + react-text-mask@^5.0.2: version "5.4.1" resolved "https://registry.yarnpkg.com/react-text-mask/-/react-text-mask-5.4.1.tgz#c3dd3e550e31d38b7c9da0178a2725960770e443" @@ -8889,8 +8947,8 @@ react-transition-group@^2.2.1: prop-types "^15.6.1" react@^16.4.0: - version "16.4.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.4.0.tgz#402c2db83335336fba1962c08b98c6272617d585" + version "16.4.1" + resolved "https://registry.yarnpkg.com/react/-/react-16.4.1.tgz#de51ba5764b5dbcd1f9079037b862bd26b82fe32" dependencies: fbjs "^0.8.16" loose-envify "^1.1.0" @@ -9014,15 +9072,6 @@ recast@^0.12.6: private "~0.1.5" source-map "~0.6.1" -recast@^0.14.1: - version "0.14.7" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d" - dependencies: - ast-types "0.11.3" - esprima "~4.0.0" - private "~0.1.5" - source-map "~0.6.1" - recast@^0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/recast/-/recast-0.15.0.tgz#b8c8bfdda245e1580c0a4d9fc25d4e820bf57208" @@ -9032,7 +9081,7 @@ recast@^0.15.0: private "~0.1.5" source-map "~0.6.1" -"recompose@^0.26.0 || ^0.27.0": +"recompose@^0.26.0 || ^0.27.0", recompose@^0.27.0: version "0.27.1" resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.27.1.tgz#1a49e931f183634516633bbb4f4edbfd3f38a7ba" dependencies: @@ -9408,10 +9457,10 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: inherits "^2.0.1" rollup-plugin-babel@^4.0.0-beta.4: - version "4.0.0-beta.4" - resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.4.tgz#d869646885d6ad73dd10791a261fb92674a80410" + version "4.0.0-beta.5" + resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.0-beta.5.tgz#1968a72a0be9414a2b073689cf747874cbf0a12b" dependencies: - "@babel/helper-module-imports" "7.0.0-beta.44" + "@babel/helper-module-imports" "7.0.0-beta.49" rollup-pluginutils "^2.0.1" rollup-plugin-commonjs@^9.1.3: @@ -9694,8 +9743,8 @@ signal-exit@^3.0.0, signal-exit@^3.0.1, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" sinon@^5.0.3: - version "5.0.10" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-5.0.10.tgz#a282b36a7475664c9f98719108e5546907129023" + version "5.1.1" + resolved "https://registry.yarnpkg.com/sinon/-/sinon-5.1.1.tgz#19c59810ffb733ea6e76a28b94a71fc4c2f523b8" dependencies: "@sinonjs/formatio" "^2.0.0" diff "^3.5.0" @@ -10462,15 +10511,19 @@ type-is@~1.6.15, type-is@~1.6.16: media-typer "0.3.0" mime-types "~2.1.18" +typed-styles@^0.0.5: + version "0.0.5" + resolved "https://registry.yarnpkg.com/typed-styles/-/typed-styles-0.0.5.tgz#a60df245d482a9b1adf9c06c078d0f06085ed1cf" + typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" typescript@^2.6.1: - version "2.9.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.1.tgz#fdb19d2c67a15d11995fd15640e373e09ab09961" + version "2.9.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c" -ua-parser-js@^0.7.9: +ua-parser-js@^0.7.18, ua-parser-js@^0.7.9: version "0.7.18" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed"