diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js index 36bc45a..9d63e71 100644 --- a/.storybook/webpack.config.js +++ b/.storybook/webpack.config.js @@ -1,9 +1,9 @@ -module.exports = function (baseConfig, env, defaultConfig) { - defaultConfig.module.rules.push({ +module.exports = ({ config }) => { + config.module.rules.push({ test: /\.stories\.jsx?$/, loaders: [require.resolve('@storybook/addon-storysource/loader')], enforce: 'pre', - }); + }) - return defaultConfig; -}; + return config +} diff --git a/CHANGELOG b/CHANGELOG index c03e5f8..2859102 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `DataTable` Render No columns selected as the placeholder message with empty dataset. +### Changed +- *[Breaking Change]* `peerDependencies` updated with React `^16.8` for utilization of hooks. + ## [2.3.2] - 2019-03-15 ### Fixed - `DataTable` crashing bug with empty dataset. (/~https://github.com/EQWorks/extended-semantic-components/issues/37) diff --git a/__tests__/behavior/__snapshots__/data-table.test.js.snap b/__tests__/behavior/__snapshots__/data-table.test.js.snap index b2fe9d7..e54746c 100644 --- a/__tests__/behavior/__snapshots__/data-table.test.js.snap +++ b/__tests__/behavior/__snapshots__/data-table.test.js.snap @@ -37,7 +37,7 @@ exports[`DataTable should render 1`] = ` className="field" >
@@ -58,28 +59,24 @@ exports[`DataTable should render 1`] = ` @@ -87,11 +84,11 @@ exports[`DataTable should render 1`] = `