@toolbox-web/grid-react 0.0.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -385,7 +385,7 @@ import { SelectionPlugin, FilteringPlugin } from '@toolbox-web/grid/all';
385
385
 
386
386
  ## Custom Styles
387
387
 
388
- Inject custom CSS into the grid's shadow DOM:
388
+ Inject custom CSS into the grid:
389
389
 
390
390
  ```tsx
391
391
  <DataGrid
@@ -435,17 +435,17 @@ import type {
435
435
 
436
436
  ### DataGrid Props
437
437
 
438
- | Prop | Type | Description |
439
- | -------------- | ------------------------------------------ | ----------------------------- |
440
- | `rows` | `TRow[]` | Row data to display |
441
- | `columns` | `ColumnConfig[]` | Column definitions |
442
- | `gridConfig` | `GridConfig` | Full configuration object |
443
- | `fitMode` | `'stretch' \| 'fit-columns' \| 'auto-fit'` | Column sizing mode |
444
- | `editOn` | `'click' \| 'dblclick' \| 'none'` | Edit trigger |
445
- | `customStyles` | `string` | CSS to inject into shadow DOM |
446
- | `onRowsChange` | `(rows: TRow[]) => void` | Rows changed callback |
447
- | `onCellEdit` | `(event: CustomEvent) => void` | Cell edited callback |
448
- | `onRowClick` | `(event: CustomEvent) => void` | Row clicked callback |
438
+ | Prop | Type | Description |
439
+ | -------------- | ------------------------------------------ | ------------------------- |
440
+ | `rows` | `TRow[]` | Row data to display |
441
+ | `columns` | `ColumnConfig[]` | Column definitions |
442
+ | `gridConfig` | `GridConfig` | Full configuration object |
443
+ | `fitMode` | `'stretch' \| 'fit-columns' \| 'auto-fit'` | Column sizing mode |
444
+ | `editOn` | `'click' \| 'dblclick' \| 'none'` | Edit trigger |
445
+ | `customStyles` | `string` | CSS to inject into grid |
446
+ | `onRowsChange` | `(rows: TRow[]) => void` | Rows changed callback |
447
+ | `onCellEdit` | `(event: CustomEvent) => void` | Cell edited callback |
448
+ | `onRowClick` | `(event: CustomEvent) => void` | Row clicked callback |
449
449
 
450
450
  ### GridColumn Props
451
451
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolbox-web/grid-react",
3
- "version": "0.0.5",
3
+ "version": "0.2.0",
4
4
  "description": "React adapter for @toolbox-web/grid data grid component",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "url": "https://github.com/OysteinAmundsen/toolbox.git",
28
28
  "directory": "libs/grid-react"
29
29
  },
30
- "homepage": "https://github.com/OysteinAmundsen/toolbox/tree/main/libs/grid-react#readme",
30
+ "homepage": "https://toolboxjs.com",
31
31
  "bugs": {
32
32
  "url": "https://github.com/OysteinAmundsen/toolbox/issues"
33
33
  },