targetprocess-ui-lists v0.1.0
DEPRECATED
This package is deprecated and repository is archived. Current version is available via package @targetprocess/ui-lists, and its sources were moved to targetprocess-ui-components monorepo.
Targetprocess List UI Component
A reusable component for rendering multi-level lists.
Primary goals:
- Reusable and not opinionated about the data
- Extendable (within sane limits, of course)
- Configurable
Installation
> npm install targetprocess-ui-listsUsage
WIP.
Here be dragons.
Development
Primary development platform is Storybook. To run a local dev server, use the following commands:
> yarn install # optional, first time only
> npm run storybookThis runs a development and live doc server on http://localhost:8081. All components and their usage patterns are described in their respective stories. Dev server acts as a file watcher and supports hot-reload of TypeScript/JavaScript and CSS modules.
Testing
To run tests use
> npm run testTo find files with tests by specific pattern
> npm run test -- <pattern>For example to run tests from ColumnHeader.tests.tsx
> npm run test -- ColumnHeaderTo debug test in Chrome inspector write debugger command in test and run
> npm run test:debugfor specific file
> npm run test:debug -- ColumnHeaderRelease build
Generate a static build (for publishing).
Production build:
> yarn install
> npm run build:production5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago