twico-ui 1.26.0 → 1.27.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/CHANGELOG.md +7 -0
- package/dist/index.cjs +35 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.mjs +35 -4
- package/dist/index.mjs.map +1 -1
- package/llms.txt +3 -1
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1593,7 +1593,9 @@ Props:
|
|
|
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
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.
|
|
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. Copy/cut/paste also show a visible in-grid toast + cell flash.
|
|
1597
|
+
- `onCellsCopy` — `(cells,meta)=>void` · default `-` — Fires on a clipboard copy/cut with the copied cells ({key, field}[]) and { cut }, so you can surface your own toast or notification.
|
|
1598
|
+
- `onCellsPaste` — `(result)=>void` · default `-` — Fires after a clipboard paste with { written, skipped } — cells committed vs rejected (read-only or incompatible copyType).
|
|
1597
1599
|
- `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.
|
|
1598
1600
|
- `ariaLabel` — `string` · default `Data table` — Sets the grid's accessible aria-label for screen readers, defaulting to "Data table".
|
|
1599
1601
|
- `rowGrouping` — `string array` · default `[]` — Lists the field names to group rows by on initial render, collapsing rows into expandable groups; empty by default.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twico-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.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",
|