twico-ui 1.30.0 → 1.31.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 +36 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.mjs +36 -19
- package/dist/index.mjs.map +1 -1
- package/llms.txt +3 -0
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1622,6 +1622,9 @@ Props:
|
|
|
1622
1622
|
- `searchable` — `boolean` · default `true` — Render the built-in toolbar quick-search box; set false to externalize search with your own input wired to quickFilter (CardGrid parity).
|
|
1623
1623
|
- `quickFilter` — `string` — Controlled quick-search string; pair with onQuickFilterChange to drive search from outside (the value flows into client filtering and the onServerChange query).
|
|
1624
1624
|
- `onQuickFilterChange` — `(value: string) => void` — Fires with the new quick-search string as the user types in the built-in box (and when a host sets it).
|
|
1625
|
+
- `filterLogic` — `"and" | "or"` — Controlled And/Or connective between filter conditions — a single set-wide operator (MUI DataGrid-style); pair with onFilterLogicChange. Omit for uncontrolled (see defaultFilterLogic).
|
|
1626
|
+
- `defaultFilterLogic` — `"and" | "or"` · default `"and"` — Initial And/Or connective for the filter conditions when filterLogic is left uncontrolled.
|
|
1627
|
+
- `onFilterLogicChange` — `(logic: "and" | "or") => void` — Fires with the new connective when the user changes the per-row And/Or connector in the Filters panel.
|
|
1625
1628
|
- `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.
|
|
1626
1629
|
- `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).
|
|
1627
1630
|
- `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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twico-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.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",
|