twico-ui 1.33.0 → 1.34.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
@@ -1201,6 +1201,7 @@ Props:
1201
1201
  - `disabled` — `boolean` · default `false` — Disables dragging and keyboard input while dimming the slider to show it is currently inactive.
1202
1202
  - `showValue` — `boolean` · default `true` — Displays the current value at the top-right above the track when true (the default), for an always-visible readout.
1203
1203
  - `showTicks` — `boolean` · default `false` — Renders step ticks along the rail when enabled, helping users see and snap to discrete increments.
1204
+ - `editable` — `boolean` · default `false` — Show numeric input(s) in the header so users can type an exact value (two in range mode), synced with the thumbs; typed entry commits on blur/Enter (ArrowUp/Down step) and is clamped, snapped, and cross-clamped.
1204
1205
  - `formatValue` — `(value: number) => React.ReactNode` — Formats the displayed value in the label and drag bubble, useful for adding units, currency, or custom text.
1205
1206
  - `range` — `boolean` · default `false` — Enable dual-thumb range mode (also auto-enabled by a [number, number] value/defaultValue); onChange then emits a [min, max] tuple.
1206
1207
  - `pageStep` — `number` · default `Math.max(step, (max-min)/10)` — Large-step increment for PageUp/PageDown keys; defaults to ~10% of the range.
@@ -1614,6 +1615,9 @@ Props:
1614
1615
  - `rowPinning` — `boolean` · default `false` — Allows users to pin rows to the top or bottom so they stay visible while scrolling; off by default.
1615
1616
  - `rowReorder` — `boolean` · default `false` — Enables drag-and-drop reordering of rows so users can change their sequence; off by default.
1616
1617
  - `rowResize` — `boolean` · default `false` — Allows users to drag row edges to adjust individual row heights; off by default.
1618
+ - `renderRowDetail` — `(row: T) => React.ReactNode` — Expandable rows: return a detail panel to show under an expanded row (null ⇒ that row isn't expandable). Adds a leading chevron column + a full-width detail row. Not yet supported with virtualized.
1619
+ - `expandedRowIds` — `Array<string | number>` — Controlled set of expanded row keys (from rowKey). Omit for uncontrolled expansion; pair with onExpandedRowsChange to control it.
1620
+ - `onExpandedRowsChange` — `(ids: Array<string | number>) => void` — Fires with the next full array of expanded row keys whenever a row's detail panel is expanded or collapsed.
1617
1621
  - `onRowOrderChange` — `(keys)=>void` · default `-` — Fires with the new array of row keys after a drag reorder, letting you persist the updated order.
1618
1622
  - `pivot` — `object|null` · default `null` — Supplies the initial pivot model defining row, column, and value fields for cross-tabulated analysis; null by default.
1619
1623
  - `pivotMode` — `boolean` · default `false` — Renders the grid in pivot view from the start instead of the flat table layout; off by default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twico-ui",
3
- "version": "1.33.0",
3
+ "version": "1.34.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",
@@ -111,9 +111,9 @@
111
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
- "@testing-library/user-event": "^14.5.2",
115
- "@types/react": "^19.2.17",
116
- "@types/react-dom": "^19.2.3",
114
+ "@testing-library/user-event": "^14.6.3",
115
+ "@types/react": "^19.2.18",
116
+ "@types/react-dom": "^19.2.4",
117
117
  "jsdom": "^30.0.1",
118
118
  "lucide-react": "^1.28.0",
119
119
  "semantic-release": "^25.0.8",