twico-ui 1.24.0 → 1.26.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.
package/llms.txt CHANGED
@@ -1592,6 +1592,8 @@ Props:
1592
1592
  - `onRowClick` — `(row,key)=>void` · default `-` — Fires with the clicked row and its key, useful for navigation or opening a detail view.
1593
1593
  - `onCellClick` — `(value,row,field)=>void` · default `-` — Fires with the clicked cell's value, its row, and the field name when a cell is clicked.
1594
1594
  - `onActiveCellChange` — `(cell|null)=>void` · default `-` — Fires when the active cell changes via keyboard or click, receiving the new cell descriptor or null.
1595
+ - `onCellSelectionChange` — `(cells)=>void` · default `-` — Fires when the rectangular cell selection changes in cell mode (Shift+Click / Shift+Arrow), with every selected cell {key, field} in row-major order.
1596
+ - `enableClipboard` — `boolean` · default `false` — Enable spreadsheet clipboard in cell mode: Ctrl/Cmd+C/X/V copy/cut/paste as TSV. Paste is format-restricted by each column's copyType (incompatible cells skipped) and commits via one batched onRowsChange.
1595
1597
  - `showAggregation` — `boolean` · default `false` — Shows the toolbar Aggregation button and starts with the totals row on; hidden by default, so enable it to expose column aggregations.
1596
1598
  - `ariaLabel` — `string` · default `Data table` — Sets the grid's accessible aria-label for screen readers, defaulting to "Data table".
1597
1599
  - `rowGrouping` — `string array` · default `[]` — Lists the field names to group rows by on initial render, collapsing rows into expandable groups; empty by default.
@@ -1613,7 +1615,7 @@ Props:
1613
1615
  - `toolbarActions` — `React.ReactNode` — Custom node rendered in a leading toolbar slot, before the built-in Columns/Filters cluster — for host controls like an "Add row" button or bulk actions. Mirrors CardGrid's toolbar prop, so no internal-class or absolute-position hacks are needed.
1614
1616
  - `resizableFilters` — `boolean` · default `true` — Let the user drag-resize the Filters popover and its column/operator/value fields, layered over the auto-fit (a dragged width overrides the measured one; reset returns to it). Widths + panel size persist via stateKey and are keyboard-accessible. Set false to hide the handles/grip (fields still auto-fit).
1615
1617
  - `filterFieldMaxWidth` — `number` — Raise the drag cap for the filter panel's column/operator fields, in px (defaults: column 360, operator 260). Only applies when resizableFilters is on.
1616
- - `resizablePopovers` — `boolean` · default `false` — Extend the resize grip + keyboard resize to the Columns, Aggregation, Pivot, and Batch-edit panels (not just Filters), so a wide grid's Columns list can be enlarged. Sizes persist per popover via stateKey. Implies resizableFilters.
1618
+ - `resizablePopovers` — `boolean` · default `true` — Extend the resize grip + keyboard resize to the Columns, Aggregation, Pivot, and Batch-edit panels (not just Filters), so a wide grid's Columns list can be enlarged. Sizes persist per popover via stateKey. Independent of resizableFilters; defaults true — set false to opt a grid out.
1617
1619
  - `showBatchEdit` — `boolean` · default `true` — Render the built-in "Edit" button in the selection toolbar; set false to suppress it and ship your own batch-edit action via batchActions (avoids two Edit buttons).
1618
1620
  - `batchEditFields` — `string[]` — Allow-list the column fields the built-in batch editor offers; defaults to every editable column. Trims a wide grid's editor without touching editable (which would also disable inline editing).
1619
1621
  - `stateKey` — `string` — Persist the full view state (filters, sort, quick-search, page, page size, column order/widths/visibility/pinning, density) to localStorage under this key and restore it on mount. SSR-safe: storage is read in a mount effect, not during render, and unknown columns in a saved snapshot are dropped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twico-ui",
3
- "version": "1.24.0",
3
+ "version": "1.26.0",
4
4
  "description": "Twico UI — a free, modern, themeable React + Tailwind-friendly component library. 61 components with dark mode, motion, and accessibility built in.",
5
5
  "license": "MIT",
6
6
  "author": "Twico UI",
@@ -108,16 +108,16 @@
108
108
  "@arethetypeswrong/cli": "^0.18.5",
109
109
  "@semantic-release/changelog": "^7.0.0",
110
110
  "@semantic-release/git": "^11.0.1",
111
- "@size-limit/preset-small-lib": "^12.1.0",
111
+ "@size-limit/preset-small-lib": "^13.0.3",
112
112
  "@testing-library/jest-dom": "^7.0.0",
113
113
  "@testing-library/react": "^16.1.0",
114
114
  "@testing-library/user-event": "^14.5.2",
115
115
  "@types/react": "^19.2.17",
116
116
  "@types/react-dom": "^19.2.3",
117
- "jsdom": "^29.1.1",
118
- "lucide-react": "^1.26.0",
117
+ "jsdom": "^30.0.1",
118
+ "lucide-react": "^1.28.0",
119
119
  "semantic-release": "^25.0.8",
120
- "size-limit": "^12.1.0",
120
+ "size-limit": "^13.0.3",
121
121
  "tsup": "^8.3.5",
122
122
  "typescript": "^5.9.3",
123
123
  "vitest": "^4.1.10"