twico-ui 1.24.0 → 1.25.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 +12 -0
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -1
- package/llms.txt +1 -1
- package/package.json +5 -5
package/llms.txt
CHANGED
|
@@ -1613,7 +1613,7 @@ Props:
|
|
|
1613
1613
|
- `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
1614
|
- `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
1615
|
- `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 `
|
|
1616
|
+
- `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
1617
|
- `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
1618
|
- `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
1619
|
- `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.
|
|
3
|
+
"version": "1.25.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": "^
|
|
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": "^
|
|
118
|
-
"lucide-react": "^1.
|
|
117
|
+
"jsdom": "^30.0.1",
|
|
118
|
+
"lucide-react": "^1.28.0",
|
|
119
119
|
"semantic-release": "^25.0.8",
|
|
120
|
-
"size-limit": "^
|
|
120
|
+
"size-limit": "^13.0.3",
|
|
121
121
|
"tsup": "^8.3.5",
|
|
122
122
|
"typescript": "^5.9.3",
|
|
123
123
|
"vitest": "^4.1.10"
|