Commit Graph

12 Commits

Author SHA1 Message Date
Allen
3c88364efe
fix #135
* init react-bootstrap-table2-paginator

* add react-bootstrap-table2-paginator as dependency

* no container

* handle for wrapping pagination component

* add style for paginator addon

* add story for pagination

* implement pagination list

* constants maintain in core package

* implement sizePerPage dropdown

* fix unalign for sizePerPage dropdown and pagination list

* allow to return array from render(react@16 new feature)

* implement pagination hooks

* add story for pagination hooks

* fixed dependencies version and upgrade enzyme

* Shallow renderer no longer calls componentDidMount because DOM refs are not available

* classNames -> className for TextEditor

* add tests for pagination

* fix react-bootstrap-table can't be resolved in other modules

* implement custom page button title

* add test for page button title

* fix bug when sizePerPageList is an object array

* add story for custom pagination

* remove necessary component extends

* move pagination options to react-bootstrap-table2-paginator

* refine pagination stories

* implement hideSizePerPage

* implement hidePageListOnlyOnePage

* fix multiple same key warning

* remove help

* support start from react@^16
2017-11-19 17:42:20 +08:00
Allen
f6eea2f659 fix #60
* implement cell editor

* keyField shouldn't be editable

* add additional check to avoid some bugs

* add jsdom for enzyme mount

* add some helpers class for enzyme mounting

* add testing for cellEdit

* use npm instead

* add test for TableResolver

* table-layout: fixed; to fix the columns width when content of td changed

* add stories for cell edit

* add document for cellEdit
2017-09-20 11:18:57 -05:00
ChunMing, Chen
9199484ab6 setup enhancement
* lerna bootstrap after install

* set npmClient to default instead of yarn to prevent from causing error with older yarn version
* ref: https://github.com/lerna/lerna/pull/897

* update yarn.lock
2017-09-08 21:58:26 -05:00
ChunMing, Chen
f9ccbd0717 examples enhance
* utils for products generator

* load test for each *.test.js file in packages folder

* [test] unit test for utils/common

* refactor all products with productGenerator for all examples

* refactor folder structure

* move component <Code /> to src/components/common
* rename component file name
2017-09-04 08:46:01 -05:00
Allen
9f9f78e73b fix #40
* add missing dependenies

* tuning webpack loader for scss

* implement noDataIndication

* add story for noDataIndication prop

* patch yarn.lock
2017-09-02 06:10:24 -05:00
ChunMing, Chen
ee6afcb705 fix #17
* storybook environment setup

* customized loader
* add basic example of BasicTable

* add script to bootstrap storybook

* import bootstrap css for storybook

* update webpack.config for adding loader for font and css

* add sass loader and allow to customize css for storybook

* uncheck lint for react-bootstrap-table-example

* package example has its own lint check

* run yarn in each package when boostrapping lerna

* add peerDependencies for package example
2017-08-27 10:05:24 -05:00
ChunMing, Chen
f62d4b1130 CI environment setup (#16)
fix #7
2017-08-20 07:36:23 -05:00
Allen
7c424a2373 Implement column formatter (#13)
fix #12
2017-08-20 04:04:45 -05:00
Allen
6b7d1f9aa2 Allen/feature 9 (#10)
Fix #9
2017-08-20 01:43:24 -05:00
ChunMing, Chen
23cb0fd160 [develop] environment setup for testing (#4)
* add yarn.lock

* test environment setup with jest

* allow eslint to suit for jest

* run lint before starting testing

* disable deprecated rule of 'react/jsx-space-before-closing'

* add CONTRIBUTING document

* specify how to start testing

* add Enzyme for React testing

* add testing template for bootstrap-table
2017-08-19 06:01:17 -05:00
AllenFang
4d6ad8d7e8 init for starting develop 2017-08-19 14:55:04 +08:00
AllenFang
ef925e572a init 2017-08-14 20:56:14 +08:00