@procore/labs-data-table
v12.2.0
Published
Complex data grid built on top of ag-grid, with DST components and styles.
Downloads
974
Maintainers
Keywords
Readme
Data Table
The description.
Installation
yarn add @procore/labs-data-table
Dependencies
@procore/core-react
and react
are listed as external peer dependencies. The package will not bundle the code, and requires the app client to provide it as a dependency
. The external peer dep is to assure React Context is consistent in a client's React tree, the child consumers can reference the correct parent provider. If the package uses latest features or bug fixes and a new minimum version of core-react is required, it should be considered a breaking change as the peer dependency version must be met.
Testing
cypress
and supporting libraries have been added to write and run e2e tests against the data table storybook. If a storybook instance is already running, use yarn cypress:open
to start the cypress application, or yarn cypress:run
to run tests against a headless browser and get results printed to the console. Without a storybook instance running, you can use yarn cypress:dev:open
or yarn cypress:dev:run
to start an instance and run tests all in one command. Tests should be added under the cypress
folder.