Commit Graph

12 Commits

Author SHA1 Message Date
Daniil Khanin
94d21fee77 fix #66 2017-10-10 01:52:32 -05:00
Allen
9f92b5368f fix #63 (part1 - cell editing validation)
* implement cell editing validation

* add test cases for cell editing validation

* add story for validator for cell editor

* add docs for cell editor validation
2017-09-23 04:29:37 -05: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
Allen
2e10cb132e fix #47
* implement table sort

* path for component test for table sort

* add store/base test

* add store/sort test

* add story for sort

* add column.sort and column.sortFunc
2017-09-16 01:33:25 -05:00
ChunMing, Chen
79fb2523d4 fix #51
* allow user to customize attrs for column cell

* [test] add test for customized cell attrs

* allow user to customize attrs for header column cell

* [test] add test for customized header cell attrs

* update document

* add new utils isObject and isEmptyObject

* make cell attrs lowest priority

* if style, event, classes, hidden, style was not given, display the
* HTML attributes if it's legal. However, if the attributes mentioned
* above was defined at the same time, column.attrs has lowest priority
* and it will be overwrited.

* [test] unit test for column.attrs

* [test] unit test for column.headerAttrs

* update Document

* rename story name

* fix lint error
2017-09-12 10:47:27 -05:00
ChunMing, Chen
82b827561d Enhancement/code prettify (#46)
* beautify code block with google-code-prettify

* prettyPrint when componentDidMount
* css style for code block

* skip rule 'no-unresolved' for eslint

* conflict with webpack resolve path

* refactor all code block in example folder with component <Code />

* refactor scss folder structure

* specify the responsibility for each stylesheet with file name

* load local color themes, tomorrow, for google code prettify

* re-select demo color and save into variable

* unify the color system for storybook
2017-09-03 00:31:58 -05:00
ChunMing, Chen
67c37e95f9 fix #18
* allow user to customize class for header cell

* add corresponding story

* allow user to customize inline-style for header cell

* add corresponding story

* [test] unit test for headerStyle

* [test] unit test for headerClasses

* update Document
2017-09-02 06:15:34 -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
Allen
6f45ae7886 fix #31
* implement column.hidden

* add story for column.hidden

* add docs for column.hidden
2017-09-02 02:36:26 -05:00
Allen
60d4e7e5d2 fix #34
* add basic stories

* add google-prettify

* add google-code-prettify-theme

* add code example for each story

* add column stories

* add header column stories
2017-09-02 01:54:09 -05:00
ChunMing, Chen
c09bf7c2f1 enhance storybook
* wrapper components with Decorators to set component margin

* add sticker github-corners at welcome page

* refactor welcome page for storybook

* refactor scss code structure
* add type.js to animate sub title
2017-08-27 19:52:49 -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