-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* RSP-20:React 16 upgrade * RSP-20:React 16 upgrade *updating tests(failed) * RSP-20:React 16 upgrade *updating tests(failed) * did some updates to libraries * updated libraries, etc * package upgrades done for r16. starting test fixing * fixed autocomplete, start calendar" * fixed toasts tests..mainly had to call update()0 * fix tablist - mainly disabledlifecyclemethods so we don't call componentDidMount * testing fixes finished, 584 tests passing * removed logs * responded to code review by NR * added package-lock.json to gitignore * reverted changes to npmrc..wasn't supposed to be pushed * remove changes to package.json * Test cleanup * Fix storybook styling strangeness * Fix CalendarCell tests * Upgrade react-overlays version Fixes ModalContainer/Portal things for react 16 * Convert Underlay to a class component Functional components cannot have refs in React 16 * Test against multiple versions of react * Disable uglifyjs on storybook builds storybookjs/storybook#1570 * Add default enzyme adapter * Fix for ref race condition error (#86)
- Loading branch information
1 parent
9fcd3e9
commit f6faf4d
Showing
101 changed files
with
300 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ test-reports.xml | |
.nyc_output | ||
yarn.lock | ||
dist | ||
.idea | ||
.package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// To get our default addons (actions and links) | ||
import '@kadira/storybook/addons'; | ||
import '@storybook/react/addons'; | ||
// To add the knobs addon | ||
import '@kadira/storybook-addon-knobs/register'; | ||
import '@storybook/addon-knobs/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,52 @@ | ||
const path = require('path'); | ||
|
||
module.exports = (config, env) => { | ||
if (env === 'PRODUCTION') { | ||
// see https://github.com/storybooks/storybook/issues/1570 | ||
config.plugins = config.plugins.filter(plugin => plugin.constructor.name !== 'UglifyJsPlugin') | ||
} | ||
|
||
return Object.assign(config, { | ||
module: { | ||
loaders: [ | ||
rules: [ | ||
{ | ||
test: /\.jsx?$/, | ||
include: [__dirname, path.resolve(__dirname + '/../src'), path.resolve(__dirname + '/../stories'), /collection-view/], | ||
loader: require.resolve('babel-loader') | ||
}, | ||
{ | ||
test: /\.styl$/, | ||
loaders: ['style', 'css', 'stylus'], | ||
use: [ | ||
'style-loader', | ||
'css-loader', | ||
{ | ||
loader: 'stylus-loader', | ||
options: { | ||
paths: [__dirname + '/../node_modules'], | ||
define: { | ||
'embedurl': require('stylus').url() | ||
}, | ||
'resolve url': true, | ||
set: { | ||
'include css': true | ||
}, | ||
use: [require('svg-stylus')(), require('nib')()] | ||
} | ||
} | ||
], | ||
include: path.resolve(__dirname, '../') | ||
}, | ||
{ | ||
test: /\.css$/, | ||
loaders: ['style', 'css'], | ||
loaders: ['style-loader', 'css-loader'], | ||
include: path.resolve(__dirname, '../') | ||
}, | ||
{ | ||
test: /\.(ttf|woff|woff2|svg|gif|cur|eot|png|jpg)(\?[a-f0-9]{32})?$/, | ||
loader: 'url-loader?limit=8192'// limit inlining base64 URLs to <=8k images, direct URLs for the rest | ||
} | ||
] | ||
}, | ||
stylus: { | ||
paths: [__dirname + '/../node_modules'], | ||
use: [require('svg-stylus')(), require('nib')()], | ||
define: { | ||
'embedurl': require('stylus').url() | ||
}, | ||
'resolve url': true, | ||
set: { | ||
'include css': true | ||
} | ||
} | ||
}); | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/react-spectrum/src/OverlayTrigger/js/OverlayTrigger.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.