File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed
react-bootstrap-table2-editor/test
react-bootstrap-table2-filter/test
react-bootstrap-table2-paginator/test Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import React from 'react';
44import sinon from 'sinon' ;
55import { shallow , mount } from 'enzyme' ;
66
7- import _ from 'react-bootstrap-table2 /src/utils' ;
7+ import _ from 'react-bootstrap-table-next /src/utils' ;
88import editingCellFactory from '../src/editing-cell' ;
99import TextEditor from '../src/text-editor' ;
1010import EditorIndicator from '../src/editor-indicator' ;
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import React from 'react';
22import sinon from 'sinon' ;
33import { shallow } from 'enzyme' ;
44
5- import _ from 'react-bootstrap-table2 /src/utils' ;
6- import remoteResolver from 'react-bootstrap-table2 /src/props-resolver/remote-resolver' ;
7- import Store from 'react-bootstrap-table2 /src/store' ;
8- import BootstrapTable from 'react-bootstrap-table2 /src/bootstrap-table' ;
5+ import _ from 'react-bootstrap-table-next /src/utils' ;
6+ import remoteResolver from 'react-bootstrap-table-next /src/props-resolver/remote-resolver' ;
7+ import Store from 'react-bootstrap-table-next /src/store' ;
8+ import BootstrapTable from 'react-bootstrap-table-next /src/bootstrap-table' ;
99import cellEditFactory from '..' ;
1010import * as Const from '../src/const' ;
1111import wrapperFactory from '../src/wrapper' ;
Original file line number Diff line number Diff line change 11import sinon from 'sinon' ;
2- import _ from 'react-bootstrap-table2 /src/utils' ;
3- import Store from 'react-bootstrap-table2 /src/store' ;
2+ import _ from 'react-bootstrap-table-next /src/utils' ;
3+ import Store from 'react-bootstrap-table-next /src/store' ;
44
55import { filters } from '../src/filter' ;
66import { FILTER_TYPE } from '../src/const' ;
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import React from 'react';
22import sinon from 'sinon' ;
33import { shallow } from 'enzyme' ;
44
5- import _ from 'react-bootstrap-table2 /src/utils' ;
6- import remoteResolver from 'react-bootstrap-table2 /src/props-resolver/remote-resolver' ;
7- import BootstrapTable from 'react-bootstrap-table2 /src/bootstrap-table' ;
8- import Store from 'react-bootstrap-table2 /src/store' ;
5+ import _ from 'react-bootstrap-table-next /src/utils' ;
6+ import remoteResolver from 'react-bootstrap-table-next /src/props-resolver/remote-resolver' ;
7+ import BootstrapTable from 'react-bootstrap-table-next /src/bootstrap-table' ;
8+ import Store from 'react-bootstrap-table-next /src/store' ;
99import filter , { textFilter } from '..' ;
1010import wrapperFactory from '../src/wrapper' ;
1111import { FILTER_TYPE } from '../src/const' ;
Original file line number Diff line number Diff line change 1- import Store from 'react-bootstrap-table2 /src/store' ;
1+ import Store from 'react-bootstrap-table-next /src/store' ;
22import { getByCurrPage } from '../src/page' ;
33
44describe ( 'Page Functions' , ( ) => {
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import sinon from 'sinon';
33import { shallow } from 'enzyme' ;
44
55
6- import BootstrapTable from 'react-bootstrap-table2 /src/bootstrap-table' ;
7- import remoteResolver from 'react-bootstrap-table2 /src/props-resolver/remote-resolver' ;
8- import Store from 'react-bootstrap-table2 /src/store' ;
6+ import BootstrapTable from 'react-bootstrap-table-next /src/bootstrap-table' ;
7+ import remoteResolver from 'react-bootstrap-table-next /src/props-resolver/remote-resolver' ;
8+ import Store from 'react-bootstrap-table-next /src/store' ;
99import paginator from '..' ;
1010import wrapperFactory from '../src/wrapper' ;
1111import Pagination from '../src/pagination' ;
Original file line number Diff line number Diff line change 11{
2- "name" : " react-bootstrap-table2 " ,
2+ "name" : " react-bootstrap-table-next " ,
33 "version" : " 0.0.1" ,
44 "description" : " Next generation of react-bootstrap-table" ,
55 "main" : " ./lib/index.js" ,
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import webpack from 'webpack';
33
44module . exports = {
55 entry : {
6- 'react-bootstrap-table2/dist/react-bootstrap-table2 ' : './packages/react-bootstrap-table2/index.js' ,
7- 'react-bootstrap-table2/dist/react-bootstrap-table2 .min' : './packages/react-bootstrap-table2/index.js' ,
6+ 'react-bootstrap-table2/dist/react-bootstrap-table-next ' : './packages/react-bootstrap-table2/index.js' ,
7+ 'react-bootstrap-table2/dist/react-bootstrap-table-next .min' : './packages/react-bootstrap-table2/index.js' ,
88 'react-bootstrap-table2-editor/dist/react-bootstrap-table2-editor' : './packages/react-bootstrap-table2-editor/index.js' ,
99 'react-bootstrap-table2-editor/dist/react-bootstrap-table2-editor.min' : './packages/react-bootstrap-table2-editor/index.js' ,
1010 'react-bootstrap-table2-filter/dist/react-bootstrap-table2-filter' : './packages/react-bootstrap-table2-filter/index.js' ,
You can’t perform that action at this time.
0 commit comments