twico-ui 1.23.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/llms.txt CHANGED
@@ -1572,7 +1572,7 @@ Props:
1572
1572
  - `height` — `number` · default `440` — Sets the maximum scroll height of the grid body in pixels before rows scroll internally, defaulting to 440.
1573
1573
  - `serverMode` — `boolean` · default `false` — Switches to server-side data handling so sorting, filtering, and paging are delegated to your backend; off by default.
1574
1574
  - `rowCount` — `number` · default `-` — Tells the grid the total number of server-side rows so pagination can render correctly in serverMode.
1575
- - `onServerChange` — `(state)=>void` · default `-` — Fires (debounced) with the serverMode query — sort, filters, page, quickFilter, and visibleColumns/hiddenColumns — so you fetch and project the data.
1575
+ - `onServerChange` — `(state)=>void` · default `-` — Fires (debounced) with the serverMode query — sort, filters, filterLogic ('and'|'or'), page, quickFilter, and visibleColumns/hiddenColumns — so you fetch and project the data.
1576
1576
  - `onColumnVisibilityChange` — `(visible)=>void` · default `-` — Fires with the visible column fields whenever the built-in Columns menu shows or hides a column, so a server can project columns.
1577
1577
  - `showExport` — `boolean` · default `false` — Shows the toolbar Export button (CSV split button with a format menu); hidden by default — enable it to expose exporting.
1578
1578
  - `showDensity` — `boolean` · default `false` — Shows the toolbar density button that cycles compact/standard/comfortable; hidden by default (the density prop still sets the row height).
@@ -1613,6 +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 `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.
1616
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).
1617
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).
1618
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.23.0",
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": "^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"