diff --git a/packages/react-bootstrap-table2-example/.storybook/webpack.config.js b/packages/react-bootstrap-table2-example/.storybook/webpack.config.js index c293835..a837384 100644 --- a/packages/react-bootstrap-table2-example/.storybook/webpack.config.js +++ b/packages/react-bootstrap-table2-example/.storybook/webpack.config.js @@ -17,7 +17,7 @@ const aliasPath = { components: path.join(srcPath, 'components'), utils: path.join(srcPath, 'utils'), - 'react-bootstrap-table2': sourcePath, + 'react-bootstrap-table-next': sourcePath, 'react-bootstrap-table2-editor': editorSourcePath, 'react-bootstrap-table2-filter': filterSourcePath, 'react-bootstrap-table2-overlay': overlaySourcePath, diff --git a/packages/react-bootstrap-table2-example/examples/basic/borderless-table.js b/packages/react-bootstrap-table2-example/examples/basic/borderless-table.js index 5c424e8..4a763f0 100644 --- a/packages/react-bootstrap-table2-example/examples/basic/borderless-table.js +++ b/packages/react-bootstrap-table2-example/examples/basic/borderless-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/basic/caption-table.js b/packages/react-bootstrap-table2-example/examples/basic/caption-table.js index 7f84142..3d8a2b8 100644 --- a/packages/react-bootstrap-table2-example/examples/basic/caption-table.js +++ b/packages/react-bootstrap-table2-example/examples/basic/caption-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/basic/index.js b/packages/react-bootstrap-table2-example/examples/basic/index.js index 91a6588..d7ec0ba 100644 --- a/packages/react-bootstrap-table2-example/examples/basic/index.js +++ b/packages/react-bootstrap-table2-example/examples/basic/index.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/basic/no-data-table.js b/packages/react-bootstrap-table2-example/examples/basic/no-data-table.js index 44d8662..b171f7b 100644 --- a/packages/react-bootstrap-table2-example/examples/basic/no-data-table.js +++ b/packages/react-bootstrap-table2-example/examples/basic/no-data-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; const columns = [{ diff --git a/packages/react-bootstrap-table2-example/examples/basic/striped-hover-condensed-table.js b/packages/react-bootstrap-table2-example/examples/basic/striped-hover-condensed-table.js index 97b4879..a8f1dbe 100644 --- a/packages/react-bootstrap-table2-example/examples/basic/striped-hover-condensed-table.js +++ b/packages/react-bootstrap-table2-example/examples/basic/striped-hover-condensed-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/blur-to-save-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/blur-to-save-table.js index ebd875b..3018294 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/blur-to-save-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/blur-to-save-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-class-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-class-table.js index 39d6862..40eb2ee 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-class-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-class-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js index f7aa30f..1793cc5 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-hooks-table.js @@ -2,7 +2,7 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-style-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-style-table.js index 28ea32f..db79d95 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-style-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-style-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-validator-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-validator-table.js index c49823b..5ad7974 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-validator-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-edit-validator-table.js @@ -1,6 +1,6 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-level-editable-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-level-editable-table.js index 89e7947..e9c946c 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/cell-level-editable-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/cell-level-editable-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/click-to-edit-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/click-to-edit-table.js index 5055918..7776e7f 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/click-to-edit-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/click-to-edit-table.js @@ -1,7 +1,7 @@ /* eslint react/prefer-stateless-function: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/column-level-editable-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/column-level-editable-table.js index f344f9f..ea14397 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/column-level-editable-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/column-level-editable-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/dbclick-to-edit-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/dbclick-to-edit-table.js index 76eab20..3990ccc 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/dbclick-to-edit-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/dbclick-to-edit-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/row-level-editable-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/row-level-editable-table.js index c141d8b..e25d8ca 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/row-level-editable-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/row-level-editable-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/column-filter/custom-filter-value.js b/packages/react-bootstrap-table2-example/examples/column-filter/custom-filter-value.js index 55158e0..e074bac 100644 --- a/packages/react-bootstrap-table2-example/examples/column-filter/custom-filter-value.js +++ b/packages/react-bootstrap-table2-example/examples/column-filter/custom-filter-value.js @@ -1,6 +1,6 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { jobsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/column-filter/custom-text-filter.js b/packages/react-bootstrap-table2-example/examples/column-filter/custom-text-filter.js index 84edd0b..da8d343 100644 --- a/packages/react-bootstrap-table2-example/examples/column-filter/custom-text-filter.js +++ b/packages/react-bootstrap-table2-example/examples/column-filter/custom-text-filter.js @@ -1,6 +1,6 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-default-value.js b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-default-value.js index edbf0b7..5e581a2 100644 --- a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-default-value.js +++ b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-default-value.js @@ -1,5 +1,5 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-eq-comparator.js b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-eq-comparator.js index d062178..6cc2678 100644 --- a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-eq-comparator.js +++ b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter-eq-comparator.js @@ -1,5 +1,5 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter, Comparator } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter.js b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter.js index 03de391..bdb3201 100644 --- a/packages/react-bootstrap-table2-example/examples/column-filter/text-filter.js +++ b/packages/react-bootstrap-table2-example/examples/column-filter/text-filter.js @@ -1,5 +1,5 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-align-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-align-table.js index 3385a6e..e004f1e 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-align-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-align-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-attrs-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-attrs-table.js index 0446225..ab1a742 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-attrs-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-attrs-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-class-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-class-table.js index d1c6057..bf22a57 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-class-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-class-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-event-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-event-table.js index 3403a21..4d74d0e 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-event-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-event-table.js @@ -2,7 +2,7 @@ /* eslint no-alert: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-format-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-format-table.js index 6542af3..eb87f69 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-format-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-format-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-format-with-extra-data-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-format-with-extra-data-table.js index ba902f0..caf9ccf 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-format-with-extra-data-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-format-with-extra-data-table.js @@ -1,7 +1,7 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-hidden-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-hidden-table.js index 57f72d3..584e6c4 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-hidden-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-hidden-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-style-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-style-table.js index c559317..d9d9a8f 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-style-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-style-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/column-title-table.js b/packages/react-bootstrap-table2-example/examples/columns/column-title-table.js index e92d3df..153a07d 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/column-title-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/column-title-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/columns/nested-data-table.js b/packages/react-bootstrap-table2-example/examples/columns/nested-data-table.js index 8876d06..6c9f88b 100644 --- a/packages/react-bootstrap-table2-example/examples/columns/nested-data-table.js +++ b/packages/react-bootstrap-table2-example/examples/columns/nested-data-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-align-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-align-table.js index 013a443..9bfd6fe 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-align-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-align-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-attrs-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-attrs-table.js index 4318fb6..9313f77 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-attrs-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-attrs-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-class-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-class-table.js index 031e239..b976f62 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-class-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-class-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-event-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-event-table.js index ca547ac..2ab473c 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-event-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-event-table.js @@ -2,7 +2,7 @@ /* eslint no-alert: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-format-filter-sort-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-format-filter-sort-table.js index 5acb143..1672c46 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-format-filter-sort-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-format-filter-sort-table.js @@ -2,7 +2,7 @@ /* eslint react/prefer-stateless-function: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-format-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-format-table.js index ddc554b..3b89145 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-format-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-format-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-style-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-style-table.js index 91e4b56..bb041d3 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-style-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-style-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/header-columns/column-title-table.js b/packages/react-bootstrap-table2-example/examples/header-columns/column-title-table.js index ac2b9b9..aa4fbc9 100644 --- a/packages/react-bootstrap-table2-example/examples/header-columns/column-title-table.js +++ b/packages/react-bootstrap-table2-example/examples/header-columns/column-title-table.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/loading-overlay/empty-table-overlay.js b/packages/react-bootstrap-table2-example/examples/loading-overlay/empty-table-overlay.js index aa62c20..63fc28f 100644 --- a/packages/react-bootstrap-table2-example/examples/loading-overlay/empty-table-overlay.js +++ b/packages/react-bootstrap-table2-example/examples/loading-overlay/empty-table-overlay.js @@ -1,7 +1,7 @@ /* eslint react/no-multi-comp: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; @@ -20,7 +20,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; // ... const RemotePagination = ({ data, page, sizePerPage, onTableChange, totalSize }) => ( diff --git a/packages/react-bootstrap-table2-example/examples/loading-overlay/table-overlay.js b/packages/react-bootstrap-table2-example/examples/loading-overlay/table-overlay.js index c3c9546..3af5a73 100644 --- a/packages/react-bootstrap-table2-example/examples/loading-overlay/table-overlay.js +++ b/packages/react-bootstrap-table2-example/examples/loading-overlay/table-overlay.js @@ -1,7 +1,7 @@ /* eslint react/no-multi-comp: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import overlayFactory from 'react-bootstrap-table2-overlay'; import Code from 'components/common/code-block'; @@ -21,7 +21,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import overlayFactory from 'react-bootstrap-table2-overlay'; diff --git a/packages/react-bootstrap-table2-example/examples/pagination/custom-pagination.js b/packages/react-bootstrap-table2-example/examples/pagination/custom-pagination.js index b9b2fdb..9913782 100644 --- a/packages/react-bootstrap-table2-example/examples/pagination/custom-pagination.js +++ b/packages/react-bootstrap-table2-example/examples/pagination/custom-pagination.js @@ -1,7 +1,7 @@ /* eslint react/prefer-stateless-function: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; @@ -20,7 +20,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; // ... diff --git a/packages/react-bootstrap-table2-example/examples/pagination/index.js b/packages/react-bootstrap-table2-example/examples/pagination/index.js index 979d59b..1c72668 100644 --- a/packages/react-bootstrap-table2-example/examples/pagination/index.js +++ b/packages/react-bootstrap-table2-example/examples/pagination/index.js @@ -1,7 +1,7 @@ /* eslint react/prefer-stateless-function: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; @@ -20,7 +20,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; // ... const columns = [{ diff --git a/packages/react-bootstrap-table2-example/examples/pagination/pagination-hooks.js b/packages/react-bootstrap-table2-example/examples/pagination/pagination-hooks.js index 3ff1b15..47a0047 100644 --- a/packages/react-bootstrap-table2-example/examples/pagination/pagination-hooks.js +++ b/packages/react-bootstrap-table2-example/examples/pagination/pagination-hooks.js @@ -2,7 +2,7 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; @@ -21,7 +21,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; // ... const columns = [{ diff --git a/packages/react-bootstrap-table2-example/examples/remote/remote-all.js b/packages/react-bootstrap-table2-example/examples/remote/remote-all.js index c23d690..033c837 100644 --- a/packages/react-bootstrap-table2-example/examples/remote/remote-all.js +++ b/packages/react-bootstrap-table2-example/examples/remote/remote-all.js @@ -2,7 +2,7 @@ /* eslint no-restricted-syntax: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import filterFactory, { textFilter, Comparator } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; @@ -24,7 +24,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import filterFactory, { textFilter, Comparator } from 'react-bootstrap-table2-filter'; // ... diff --git a/packages/react-bootstrap-table2-example/examples/remote/remote-celledit.js b/packages/react-bootstrap-table2-example/examples/remote/remote-celledit.js index ed8f564..9e1aaa4 100644 --- a/packages/react-bootstrap-table2-example/examples/remote/remote-celledit.js +++ b/packages/react-bootstrap-table2-example/examples/remote/remote-celledit.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/remote/remote-filter.js b/packages/react-bootstrap-table2-example/examples/remote/remote-filter.js index d2b37b6..459744f 100644 --- a/packages/react-bootstrap-table2-example/examples/remote/remote-filter.js +++ b/packages/react-bootstrap-table2-example/examples/remote/remote-filter.js @@ -2,7 +2,7 @@ /* eslint no-restricted-syntax: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { textFilter, Comparator } from 'react-bootstrap-table2-filter'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/remote/remote-pagination.js b/packages/react-bootstrap-table2-example/examples/remote/remote-pagination.js index 050dc4d..9408839 100644 --- a/packages/react-bootstrap-table2-example/examples/remote/remote-pagination.js +++ b/packages/react-bootstrap-table2-example/examples/remote/remote-pagination.js @@ -1,7 +1,7 @@ /* eslint react/no-multi-comp: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; @@ -20,7 +20,7 @@ const columns = [{ }]; const sourceCode = `\ -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import paginator from 'react-bootstrap-table2-paginator'; // ... const RemotePagination = ({ data, page, sizePerPage, onTableChange, totalSize }) => ( diff --git a/packages/react-bootstrap-table2-example/examples/remote/remote-sort.js b/packages/react-bootstrap-table2-example/examples/remote/remote-sort.js index 0ca4377..fc370ae 100644 --- a/packages/react-bootstrap-table2-example/examples/remote/remote-sort.js +++ b/packages/react-bootstrap-table2-example/examples/remote/remote-sort.js @@ -1,7 +1,7 @@ /* eslint no-restricted-syntax: 0 */ import React from 'react'; import PropTypes from 'prop-types'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select-with-cell-edit.js b/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select-with-cell-edit.js index cc0c1fe..cafe0d2 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select-with-cell-edit.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select-with-cell-edit.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select.js b/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select.js index b792b43..8c0617e 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/click-to-select.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/hide-selection-column.js b/packages/react-bootstrap-table2-example/examples/row-selection/hide-selection-column.js index b654411..3e754b4 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/hide-selection-column.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/hide-selection-column.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/multiple-selection.js b/packages/react-bootstrap-table2-example/examples/row-selection/multiple-selection.js index b792b43..8c0617e 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/multiple-selection.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/multiple-selection.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/non-selectable-rows.js b/packages/react-bootstrap-table2-example/examples/row-selection/non-selectable-rows.js index 69fbf0a..e6248d8 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/non-selectable-rows.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/non-selectable-rows.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/selection-bgcolor.js b/packages/react-bootstrap-table2-example/examples/row-selection/selection-bgcolor.js index ede13e0..5ba6e9e 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/selection-bgcolor.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/selection-bgcolor.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/selection-class.js b/packages/react-bootstrap-table2-example/examples/row-selection/selection-class.js index 4c6b794..78e2eb7 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/selection-class.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/selection-class.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/selection-hooks.js b/packages/react-bootstrap-table2-example/examples/row-selection/selection-hooks.js index fd94d6b..1c3172e 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/selection-hooks.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/selection-hooks.js @@ -2,7 +2,7 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/selection-style.js b/packages/react-bootstrap-table2-example/examples/row-selection/selection-style.js index e347c1e..7f16344 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/selection-style.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/selection-style.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/row-selection/single-selection.js b/packages/react-bootstrap-table2-example/examples/row-selection/single-selection.js index 936dde4..ef87d7d 100644 --- a/packages/react-bootstrap-table2-example/examples/row-selection/single-selection.js +++ b/packages/react-bootstrap-table2-example/examples/row-selection/single-selection.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/rows/row-class.js b/packages/react-bootstrap-table2-example/examples/rows/row-class.js index b17f6b1..b37e865 100644 --- a/packages/react-bootstrap-table2-example/examples/rows/row-class.js +++ b/packages/react-bootstrap-table2-example/examples/rows/row-class.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/rows/row-event.js b/packages/react-bootstrap-table2-example/examples/rows/row-event.js index 1ec5022..c4a943d 100644 --- a/packages/react-bootstrap-table2-example/examples/rows/row-event.js +++ b/packages/react-bootstrap-table2-example/examples/rows/row-event.js @@ -2,7 +2,7 @@ /* eslint no-console: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/rows/row-style.js b/packages/react-bootstrap-table2-example/examples/rows/row-style.js index 76de2ea..8f6e008 100644 --- a/packages/react-bootstrap-table2-example/examples/rows/row-style.js +++ b/packages/react-bootstrap-table2-example/examples/rows/row-style.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/sort/custom-sort-table.js b/packages/react-bootstrap-table2-example/examples/sort/custom-sort-table.js index 1763a3e..1672e84 100644 --- a/packages/react-bootstrap-table2-example/examples/sort/custom-sort-table.js +++ b/packages/react-bootstrap-table2-example/examples/sort/custom-sort-table.js @@ -2,7 +2,7 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/sort/default-sort-table.js b/packages/react-bootstrap-table2-example/examples/sort/default-sort-table.js index 9cda0a4..a64e578 100644 --- a/packages/react-bootstrap-table2-example/examples/sort/default-sort-table.js +++ b/packages/react-bootstrap-table2-example/examples/sort/default-sort-table.js @@ -1,7 +1,7 @@ /* eslint react/prefer-stateless-function: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/sort/enable-sort-table.js b/packages/react-bootstrap-table2-example/examples/sort/enable-sort-table.js index 45c7ff4..cdab74d 100644 --- a/packages/react-bootstrap-table2-example/examples/sort/enable-sort-table.js +++ b/packages/react-bootstrap-table2-example/examples/sort/enable-sort-table.js @@ -1,6 +1,6 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/sort/header-sorting-classes.js b/packages/react-bootstrap-table2-example/examples/sort/header-sorting-classes.js index d70bdd7..609c51f 100644 --- a/packages/react-bootstrap-table2-example/examples/sort/header-sorting-classes.js +++ b/packages/react-bootstrap-table2-example/examples/sort/header-sorting-classes.js @@ -5,7 +5,7 @@ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/examples/sort/header-sorting-style.js b/packages/react-bootstrap-table2-example/examples/sort/header-sorting-style.js index c390965..3a7e33c 100644 --- a/packages/react-bootstrap-table2-example/examples/sort/header-sorting-style.js +++ b/packages/react-bootstrap-table2-example/examples/sort/header-sorting-style.js @@ -1,7 +1,7 @@ /* eslint no-unused-vars: 0 */ import React from 'react'; -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; import Code from 'components/common/code-block'; import { productsGenerator } from 'utils/common'; diff --git a/packages/react-bootstrap-table2-example/package.json b/packages/react-bootstrap-table2-example/package.json index 08dcab7..baf4e6f 100644 --- a/packages/react-bootstrap-table2-example/package.json +++ b/packages/react-bootstrap-table2-example/package.json @@ -1,6 +1,6 @@ { "name": "react-bootstrap-table2-example", - "version": "0.0.1", + "version": "0.0.1-beta.1", "description": "", "main": "index.js", "private": true, diff --git a/packages/react-bootstrap-table2-example/stories/index.js b/packages/react-bootstrap-table2-example/stories/index.js index 3fe704c..0f53da7 100644 --- a/packages/react-bootstrap-table2-example/stories/index.js +++ b/packages/react-bootstrap-table2-example/stories/index.js @@ -96,8 +96,8 @@ import RemoteAll from 'examples/remote/remote-all'; import 'bootstrap/dist/css/bootstrap.min.css'; import 'stories/stylesheet/tomorrow.min.css'; import 'stories/stylesheet/storybook.scss'; -import 'react-bootstrap-table2/style/react-bootstrap-table.scss'; -import 'react-bootstrap-table2-paginator/style/react-bootstrap-table-paginator.scss'; +import 'react-bootstrap-table2/style/react-bootstrap-table2.scss'; +import 'react-bootstrap-table2-paginator/style/react-bootstrap-table2-paginator.scss'; // import { action } from '@storybook/addon-actions'; diff --git a/packages/react-bootstrap-table2-paginator/README.md b/packages/react-bootstrap-table2-paginator/README.md index 40a0260..b6c4a11 100644 --- a/packages/react-bootstrap-table2-paginator/README.md +++ b/packages/react-bootstrap-table2-paginator/README.md @@ -12,6 +12,16 @@ $ npm install react-bootstrap-table2-pagination --save ``` +## Add CSS + +```js +// es5 +require('react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.css'); + +// es6 +import 'react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.css'; +``` + ## How Let's enable a pagination on your table: diff --git a/packages/react-bootstrap-table2-paginator/style/react-bootstrap-table-paginator.scss b/packages/react-bootstrap-table2-paginator/style/react-bootstrap-table2-paginator.scss similarity index 100% rename from packages/react-bootstrap-table2-paginator/style/react-bootstrap-table-paginator.scss rename to packages/react-bootstrap-table2-paginator/style/react-bootstrap-table2-paginator.scss diff --git a/packages/react-bootstrap-table2/style/react-bootstrap-table.scss b/packages/react-bootstrap-table2/style/react-bootstrap-table2.scss similarity index 100% rename from packages/react-bootstrap-table2/style/react-bootstrap-table.scss rename to packages/react-bootstrap-table2/style/react-bootstrap-table2.scss diff --git a/webpack.prod.config.babel.js b/webpack.prod.config.babel.js index e858e71..6a69ac0 100644 --- a/webpack.prod.config.babel.js +++ b/webpack.prod.config.babel.js @@ -3,8 +3,8 @@ import webpack from 'webpack'; module.exports = { entry: { - 'react-bootstrap-table2/dist/react-bootstrap-table-next': './packages/react-bootstrap-table2/index.js', - 'react-bootstrap-table2/dist/react-bootstrap-table-next.min': './packages/react-bootstrap-table2/index.js', + 'react-bootstrap-table2/dist/react-bootstrap-table2': './packages/react-bootstrap-table2/index.js', + 'react-bootstrap-table2/dist/react-bootstrap-table2.min': './packages/react-bootstrap-table2/index.js', 'react-bootstrap-table2-editor/dist/react-bootstrap-table2-editor': './packages/react-bootstrap-table2-editor/index.js', 'react-bootstrap-table2-editor/dist/react-bootstrap-table2-editor.min': './packages/react-bootstrap-table2-editor/index.js', 'react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter': './packages/react-bootstrap-table2-filter/index.js',