twico-ui 1.11.1 → 1.13.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/dist/index.d.cts CHANGED
@@ -205,6 +205,18 @@ type Sx = React.CSSProperties & {
205
205
  [selector: string]: React.CSSProperties[keyof React.CSSProperties] | string | number | Sx | undefined;
206
206
  };
207
207
 
208
+ /**
209
+ * Props mixin for the components that accept the {@link Sx} escape hatch (#221). The sx-capable
210
+ * set is exactly the primitives that render a **single styleable root element**: `Box`, `Stack`,
211
+ * `Grid`, `Container` (layout), `Text`, `Heading` (typography), and `Card`. Multi-element
212
+ * composites (Input, Select, Combobox, MultiSelect, Dialog, …) intentionally omit `sx` because a
213
+ * single style target is ambiguous there — they would need an explicit per-slot API. See docs/sx.md.
214
+ */
215
+ interface WithSx {
216
+ /** Style escape hatch: flat CSS goes inline (wins over the base style); nested selectors/at-rules compile to a scoped stylesheet. See {@link Sx}. */
217
+ sx?: Sx;
218
+ }
219
+
208
220
  // ── Polymorphic component type kit ────────────────────────────────────────────
209
221
  // Powers the `as`-driven primitives (Box, Stack, Grid, Container, Text, Heading).
210
222
  // Passing `as="a"` narrows the accepted props to that element's attributes (href,
@@ -1505,6 +1517,8 @@ interface ColorPickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "o
1505
1517
  alpha?: boolean;
1506
1518
  /** Color intent for the focus/open accent. @default "primary" */
1507
1519
  tone?: Tone;
1520
+ /** Control size. @default "md" */
1521
+ size?: "sm" | "md" | "lg";
1508
1522
  onChange?: (hex: string) => void;
1509
1523
  }
1510
1524
 
@@ -1745,6 +1759,9 @@ interface DatatableProps<T = any> extends Omit<React.HTMLAttributes<HTMLDivEleme
1745
1759
  * This prop is the initial state — when enabled, users can hide/show the column from the toolbar's
1746
1760
  * **Columns** panel ("Row number"). @default false */
1747
1761
  rowNumbers?: boolean;
1762
+ /** Restrict the toolbar quick-search to these column `field`s (client mode); defaults to every
1763
+ * visible column. Mirrors `runDatatableQuery`'s `options.searchFields`. */
1764
+ searchFields?: string[];
1748
1765
  /**
1749
1766
  * Actions shown in the toolbar when one or more rows are selected (requires
1750
1767
  * `checkboxSelection`). Each handler receives the selected keys, the resolved
@@ -1919,14 +1936,22 @@ interface DatatableQuery {
1919
1936
  }
1920
1937
 
1921
1938
  interface DatatableColumn<T = any> {
1922
- /** Row object key (also the sort/filter key). */
1939
+ /** Row object key (also the default sort/filter/search/group/export key). */
1923
1940
  field: string;
1941
+ /** Derive the column's value from the whole row (nested/computed) — drives sort, filter,
1942
+ * quick-search, grouping, aggregation, the default cell render, and export. Falls back to
1943
+ * `row[field]` when omitted. Inline edits still write to the raw `field`. */
1944
+ valueGetter?: (row: T) => unknown;
1924
1945
  /** Header label. @default field ("Actions" for actions columns) */
1925
1946
  headerName?: string;
1926
1947
  /** Data type. "actions" renders per-row action buttons via getActions. @default "string" */
1927
1948
  type?: "string" | "number" | "actions";
1928
- /** Column width in px. @default 160 (120 for actions) */
1929
- width?: number;
1949
+ /** Column width: a px number, or `"auto"` to size to the header's intrinsic width (chrome + label) so a short column fits without truncating or wasting the 160px default. @default 160 (120 for actions) */
1950
+ width?: number | "auto";
1951
+ /** Lower bound (px) for the resolved width, incl. `"auto"` and user resizes. */
1952
+ minWidth?: number;
1953
+ /** Upper bound (px) for the resolved width; `minWidth` wins if they conflict. */
1954
+ maxWidth?: number;
1930
1955
  /** Cell alignment; currently affects the actions column's button justification. @default "right" for number/actions columns, else "left" */
1931
1956
  align?: "left" | "right";
1932
1957
  /** Allow sorting this column. @default true */
@@ -1945,6 +1970,8 @@ interface DatatableColumn<T = any> {
1945
1970
  resizable?: boolean;
1946
1971
  /** Allow drag / menu / keyboard reorder of this column (independent of the table-wide `disableColumnReorder`). @default true */
1947
1972
  reorderable?: boolean;
1973
+ /** Offer the "Wrap text" / "Unwrap text" item in the ⋮ menu. Set `false` for a fixed single-token column (e.g. an ordinal) whose menu should show only Sort + Hide. @default true */
1974
+ wrappable?: boolean;
1948
1975
  /** Summary-footer aggregation: a preset, or a function over the column's values. */
1949
1976
  aggregation?: "sum" | "avg" | "min" | "max" | "count" | ((values: any[], rows: T[]) => React.ReactNode);
1950
1977
  /** Format an aggregation result for the footer (falls back to valueFormatter). */
@@ -2018,6 +2045,163 @@ declare function runDatatableQuery<T = any>(
2018
2045
  options?: { columns?: DatatableColumn<T>[]; searchFields?: string[] }
2019
2046
  ): { rows: T[]; total: number; filtered: T[] };
2020
2047
 
2048
+ /** A single sort clause — the field to sort on and the direction. */
2049
+ interface CardGridSort {
2050
+ field: string;
2051
+ dir: "asc" | "desc";
2052
+ }
2053
+
2054
+ /** A normalized filter clause (same shape Datatable emits/consumes). */
2055
+ interface CardGridFilter {
2056
+ field: string;
2057
+ op: string;
2058
+ value: unknown;
2059
+ }
2060
+
2061
+ /** The query object emitted to `onServerChange` — identical to Datatable's server query (minus columns). */
2062
+ interface CardGridQuery {
2063
+ page: number;
2064
+ pageSize: number;
2065
+ sort: CardGridSort | null;
2066
+ filters: CardGridFilter[];
2067
+ quickFilter: string;
2068
+ }
2069
+
2070
+ /** An entry for the built-in sort control. */
2071
+ interface CardGridSortOption {
2072
+ field: string;
2073
+ label?: React.ReactNode;
2074
+ /** Compare numerically instead of lexically. */
2075
+ type?: "number" | "string";
2076
+ }
2077
+
2078
+ /**
2079
+ * Paginated card grid — the card analogue of Datatable's `serverMode`. Turns
2080
+ * page/sort/filter/search into a query and renders one card per row via `renderCard`,
2081
+ * with built-in pagination, loading, and empty states. In client mode it applies the
2082
+ * query locally with Datatable's exact semantics; in `serverMode` it emits the query
2083
+ * and consumes `{ rows, rowCount }`, so a page can toggle table/card views on one model.
2084
+ *
2085
+ * @startingPoint section="Data display" subtitle="Server-mode card grid" viewport="900x520"
2086
+ */
2087
+ interface CardGridProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
2088
+ /** The rows: the full set in client mode, or the current page in `serverMode`. */
2089
+ rows?: Row[];
2090
+ /** Render one card for a row. Required. */
2091
+ renderCard: (row: Row, index: number) => React.ReactNode;
2092
+ /** Stable key per row: a field name or an accessor. @default "id" */
2093
+ rowKey?: string | ((row: Row) => React.Key);
2094
+ /** Min card width for the responsive auto-fill grid (Grid `minChildWidth`). @default "18rem" */
2095
+ minChildWidth?: string | number;
2096
+ /** Fixed column count (responsive object allowed); overrides `minChildWidth` when set. */
2097
+ columns?: number | Record<string, number>;
2098
+ /** Grid gap on the token scale. @default 4 */
2099
+ gap?: number | string;
2100
+ /** Cards per page (0 disables pagination). @default 12 */
2101
+ pageSize?: number;
2102
+ /** Options for the "per page" selector. @default [12, 24, 48, 96] */
2103
+ pageSizeOptions?: number[];
2104
+ /** Controlled 0-based page. */
2105
+ page?: number;
2106
+ /** Initial 0-based page when uncontrolled. @default 0 */
2107
+ defaultPage?: number;
2108
+ onPageChange?: (page: number) => void;
2109
+ onPageSizeChange?: (pageSize: number) => void;
2110
+ /** Show the "per page" selector in the footer. @default true */
2111
+ showPageSize?: boolean;
2112
+ /** Emit a query and consume `rows`/`rowCount`/`loading` instead of filtering locally. @default false */
2113
+ serverMode?: boolean;
2114
+ /** Total row count for pagination in `serverMode`. */
2115
+ rowCount?: number;
2116
+ /** Show the loading overlay (and dim the grid). @default false */
2117
+ loading?: boolean;
2118
+ /** Called (debounced) with the query whenever page/sort/filter/search changes. */
2119
+ onServerChange?: (query: CardGridQuery) => void;
2120
+ /** External filter clauses (e.g. from a FilterBar) applied in client mode / passed through in server mode. @default [] */
2121
+ filters?: CardGridFilter[];
2122
+ /** Controlled quick-search string. */
2123
+ quickFilter?: string;
2124
+ /** Initial quick-search string when uncontrolled. @default "" */
2125
+ defaultQuickFilter?: string;
2126
+ onQuickFilterChange?: (value: string) => void;
2127
+ /** Render a built-in search box in the toolbar. @default false */
2128
+ searchable?: boolean;
2129
+ /** Fields scanned by quick search in client mode (defaults to the first row's keys). */
2130
+ searchFields?: string[];
2131
+ searchPlaceholder?: string;
2132
+ /** Controlled sort clause. */
2133
+ sort?: CardGridSort | null;
2134
+ /** Initial sort clause when uncontrolled. @default null */
2135
+ defaultSort?: CardGridSort | null;
2136
+ onSortChange?: (sort: CardGridSort | null) => void;
2137
+ /** Fields offered by the built-in sort control (renders it when provided). */
2138
+ sortOptions?: CardGridSortOption[];
2139
+ /** Min width (px or CSS length) for the built-in sort control's trigger, so long option labels aren't clipped. Defaults to an estimate from the longest label. */
2140
+ sortMinWidth?: string | number;
2141
+ /** Extra node rendered in the toolbar row (before the sort control). */
2142
+ toolbar?: React.ReactNode;
2143
+ /** Shown when there are no rows and not loading. @default "No results." */
2144
+ emptyState?: React.ReactNode;
2145
+ /** Optional heading above the grid. */
2146
+ label?: React.ReactNode;
2147
+ }
2148
+
2149
+ declare function CardGrid<Row = any>(props: CardGridProps<Row>): React.JSX.Element;
2150
+
2151
+ /** The classification of a paired row. */
2152
+ type DiffOp = "added" | "removed" | "modified" | "moved" | "unchanged";
2153
+
2154
+ /** A column definition for DiffTable. */
2155
+ interface DiffTableColumn<Row = any> {
2156
+ /** Row property this column reads (also its React key). */
2157
+ field: string;
2158
+ /** Header label; defaults to `field`. */
2159
+ headerName?: React.ReactNode;
2160
+ /** Custom value accessor; defaults to `row[field]`. */
2161
+ valueGetter?: (row: Row) => unknown;
2162
+ /** Format a value for display; defaults to `String(value)`. */
2163
+ valueFormatter?: (value: any) => React.ReactNode;
2164
+ /** Per-column equality override (return true when the two values are equal). */
2165
+ compare?: (a: any, b: any) => boolean;
2166
+ }
2167
+
2168
+ /**
2169
+ * Row + field-level comparison of two datasets. Pairs rows from `from` and `to`
2170
+ * on `rowKey`, classifies each **added / removed / modified / moved**, and renders
2171
+ * modified rows as per-cell `before → after` (strikethrough old, accented new). Shows
2172
+ * an op badge per row, a `+N ~M -K` summary, and an "only changed" toggle.
2173
+ *
2174
+ * @startingPoint section="Data display" subtitle="Compare two datasets" viewport="900x420"
2175
+ */
2176
+ interface DiffTableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
2177
+ /** The "before" rows (version A). */
2178
+ from?: Row[];
2179
+ /** The "after" rows (version B). */
2180
+ to?: Row[];
2181
+ /** Stable business key per row, used to pair A↔B. Defaults to `row.id`. */
2182
+ rowKey?: (row: Row) => React.Key;
2183
+ /** Columns to compare and render. */
2184
+ columns?: DiffTableColumn<Row>[];
2185
+ /** Hide unchanged rows (the toggle's initial state). @default true */
2186
+ onlyChanged?: boolean;
2187
+ /** Render the "only changed" toggle. @default true */
2188
+ showToggle?: boolean;
2189
+ /** Render the +added ~modified -removed summary badges. @default true */
2190
+ showSummary?: boolean;
2191
+ /** Classify same-value rows whose position changed as "moved" (minimal LIS-based set). @default true */
2192
+ moveDetection?: boolean;
2193
+ /** Global equality override for all fields (return true when equal). Falls back to `===` then JSON compare. */
2194
+ compare?: (a: any, b: any, field: string) => boolean;
2195
+ /** Shown when there are no rows to display. @default "No differences." */
2196
+ emptyState?: React.ReactNode;
2197
+ /** Label for the "only changed" toggle. @default "Only changed" */
2198
+ toggleLabel?: React.ReactNode;
2199
+ /** Optional heading above the table. */
2200
+ label?: React.ReactNode;
2201
+ }
2202
+
2203
+ declare function DiffTable<Row = any>(props: DiffTableProps<Row>): React.JSX.Element;
2204
+
2021
2205
  /**
2022
2206
  * Date picker with a calendar popover — month/year navigation, a month grid,
2023
2207
  * today highlight, min/max bounds, clearable value, and custom formatting.
@@ -2042,9 +2226,13 @@ interface DatePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
2042
2226
  min?: Date;
2043
2227
  /** Latest selectable date. */
2044
2228
  max?: Date;
2229
+ /** Predicate to disable arbitrary dates (return true to disable). Composes with `min`/`max`. */
2230
+ disabledDate?: (date: Date) => boolean;
2045
2231
  disabled?: boolean;
2046
2232
  /** Color intent for the focus/open accent. @default "primary" */
2047
2233
  tone?: Tone;
2234
+ /** Control size. @default "md" */
2235
+ size?: "sm" | "md" | "lg";
2048
2236
  /** Show a clear (×) button when a date is set. @default true */
2049
2237
  clearable?: boolean;
2050
2238
  /** Render the trigger as a typeable text input with a trailing calendar toggle; typed text commits via `parse` on Enter/blur. @default false */
@@ -2087,8 +2275,11 @@ interface DateRangePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>
2087
2275
  /** Uncontrolled initial range. @default { start: null, end: null } */
2088
2276
  defaultValue?: DateRange;
2089
2277
  placeholder?: string;
2090
- /** Show the quick-preset column. @default true */
2091
- presets?: boolean;
2278
+ /** Quick-preset column: `true` for the built-in rolling-day presets (Last 7/14/30/90), `false` to
2279
+ * hide it, or a custom array of `{ label, range }` where `range` is a `DateRange` or a
2280
+ * `() => DateRange` resolved at click time (for calendar-aligned presets like This month / YTD).
2281
+ * @default true */
2282
+ presets?: boolean | Array<{ label: string; range: DateRange | (() => DateRange) }>;
2092
2283
  /** BCP-47 locale for month/weekday names + date formatting (Intl). Omit for the runtime default. @default undefined */
2093
2284
  locale?: string;
2094
2285
  /** First day of week: 0 = Sunday … 6 = Saturday. @default 0 */
@@ -2103,6 +2294,12 @@ interface DateRangePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>
2103
2294
  disabled?: boolean;
2104
2295
  /** Color intent for the focus/open accent. @default "primary" */
2105
2296
  tone?: Tone;
2297
+ /** Control size. @default "md" */
2298
+ size?: "sm" | "md" | "lg";
2299
+ /** Show a clear (×) button when a range is set; clicking it resets both endpoints. @default true */
2300
+ clearable?: boolean;
2301
+ /** Custom display formatter for the range (defaults to a localized "start – end"). With `editable`, keep it compatible with `parse` so the text round-trips. */
2302
+ format?: (range: DateRange) => string;
2106
2303
  /** Render the trigger as a typeable input accepting "start – end"; typed text commits via `parse` on Enter/blur. @default false */
2107
2304
  editable?: boolean;
2108
2305
  /** Parse one side of the typed range into a Date (used when `editable`). Return a `Date` to accept, `null`/invalid to reject. Defaults to a lenient `Date.parse`. */
@@ -2112,6 +2309,267 @@ interface DateRangePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>
2112
2309
 
2113
2310
  declare function DateRangePicker(props: DateRangePickerProps): React.JSX.Element;
2114
2311
 
2312
+ /**
2313
+ * Time-of-day picker with a column-spinner popover — scrollable hour/minute
2314
+ * (optional second) columns plus an AM/PM column in 12-hour mode. Emits a `Date`
2315
+ * (date part from `referenceDate`/the current value, time part from the selection)
2316
+ * so it composes with DatePicker into a DateTimePicker. Min/max bound the
2317
+ * time-of-day; clearable value, optional typed entry, custom formatting.
2318
+ *
2319
+ * @startingPoint section="Inputs" subtitle="Time-of-day picker" viewport="700x120"
2320
+ */
2321
+ interface TimePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2322
+ /** Field label rendered above the control. */
2323
+ label?: React.ReactNode;
2324
+ /** Helper text shown below when there is no error. */
2325
+ hint?: React.ReactNode;
2326
+ /** Error message — turns the field red and replaces the hint. */
2327
+ error?: React.ReactNode;
2328
+ /** Marks the field required (adds an asterisk to the label). @default false */
2329
+ required?: boolean;
2330
+ /** Controlled selected time as a Date (or null). */
2331
+ value?: Date | null;
2332
+ /** Uncontrolled initial time. @default null */
2333
+ defaultValue?: Date | null;
2334
+ placeholder?: string;
2335
+ /** Earliest selectable time-of-day (only H:M:S are compared). */
2336
+ min?: Date;
2337
+ /** Latest selectable time-of-day (only H:M:S are compared). */
2338
+ max?: Date;
2339
+ /** Increment (minutes) for the minute column. @default 5 */
2340
+ minuteStep?: number;
2341
+ /** Increment (seconds) for the second column (when `granularity="second"`). @default 5 */
2342
+ secondStep?: number;
2343
+ /** Which columns show: hour only, hour+minute, or hour+minute+second. @default "minute" */
2344
+ granularity?: "hour" | "minute" | "second";
2345
+ /** 24-hour columns or 12-hour columns with an AM/PM column. @default 24 */
2346
+ hourCycle?: 12 | 24;
2347
+ /** Date whose Y/M/D is used for the emitted Date when no value is set yet. @default today */
2348
+ referenceDate?: Date;
2349
+ disabled?: boolean;
2350
+ /** Color intent for the focus/open accent. @default "primary" */
2351
+ tone?: Tone;
2352
+ /** Control size. @default "md" */
2353
+ size?: "sm" | "md" | "lg";
2354
+ /** Show a clear (×) button when a time is set. @default true */
2355
+ clearable?: boolean;
2356
+ /** Render the trigger as a typeable text input with a trailing toggle; typed text commits via `parse` on Enter/blur. @default false */
2357
+ editable?: boolean;
2358
+ /** Parse typed text into a Date (used when `editable`). Return a `Date` to commit, `null`/invalid to revert. Defaults to an `HH:MM[:SS] [am/pm]` matcher. */
2359
+ parse?: (text: string) => Date | null;
2360
+ /** Custom display formatter (defaults to a localized time honoring `hourCycle`/`granularity`). */
2361
+ format?: (date: Date) => string;
2362
+ /** BCP-47 locale for time formatting (Intl). Omit for the runtime default. @default undefined */
2363
+ locale?: string;
2364
+ onChange?: (date: Date | null) => void;
2365
+ }
2366
+
2367
+ declare function TimePicker(props: TimePickerProps): React.JSX.Element;
2368
+
2369
+ /**
2370
+ * Combined date + time picker over a single `Date` value. Composes DatePicker
2371
+ * (calendar popover) and TimePicker (column spinner) side by side; picking a date
2372
+ * keeps the current time and vice-versa. `min`/`max` bound the date; the time is free.
2373
+ *
2374
+ * @startingPoint section="Inputs" subtitle="Date + time picker" viewport="700x140"
2375
+ */
2376
+ interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2377
+ /** Field label rendered above the pair. */
2378
+ label?: React.ReactNode;
2379
+ /** Helper text shown below when there is no error. */
2380
+ hint?: React.ReactNode;
2381
+ /** Error message — recolors both controls and replaces the hint. */
2382
+ error?: React.ReactNode;
2383
+ /** Marks the field required (adds an asterisk to the label). @default false */
2384
+ required?: boolean;
2385
+ /** Controlled selected date-time (or null). */
2386
+ value?: Date | null;
2387
+ /** Uncontrolled initial date-time. @default null */
2388
+ defaultValue?: Date | null;
2389
+ disabled?: boolean;
2390
+ /** Color intent for the focus/open accent on both controls. @default "primary" */
2391
+ tone?: Tone;
2392
+ /** Control size for both. @default "md" */
2393
+ size?: "sm" | "md" | "lg";
2394
+ /** Show a clear (×) button on the date control (clears the whole value). @default true */
2395
+ clearable?: boolean;
2396
+ /** Earliest selectable date. */
2397
+ min?: Date;
2398
+ /** Latest selectable date. */
2399
+ max?: Date;
2400
+ /** Predicate to disable arbitrary dates (return true to disable). */
2401
+ disabledDate?: (date: Date) => boolean;
2402
+ /** Increment (minutes) for the minute column. @default 5 */
2403
+ minuteStep?: number;
2404
+ /** Increment (seconds) for the second column (when `granularity="second"`). @default 5 */
2405
+ secondStep?: number;
2406
+ /** Time granularity: hour only, hour+minute, or hour+minute+second. @default "minute" */
2407
+ granularity?: "hour" | "minute" | "second";
2408
+ /** 24-hour or 12-hour (AM/PM) time columns. @default 24 */
2409
+ hourCycle?: 12 | 24;
2410
+ /** BCP-47 locale for names + formatting (Intl). @default undefined */
2411
+ locale?: string;
2412
+ /** First day of week: 0 = Sunday … 6 = Saturday. @default 0 */
2413
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
2414
+ /** Custom formatter for the date control's display. */
2415
+ dateFormat?: (date: Date) => string;
2416
+ /** Custom formatter for the time control's display. */
2417
+ timeFormat?: (date: Date) => string;
2418
+ /** Placeholder for the date control. @default "Select date" */
2419
+ datePlaceholder?: string;
2420
+ /** Placeholder for the time control. @default "Time" */
2421
+ timePlaceholder?: string;
2422
+ onChange?: (date: Date | null) => void;
2423
+ }
2424
+
2425
+ declare function DateTimePicker(props: DateTimePickerProps): React.JSX.Element;
2426
+
2427
+ /**
2428
+ * Multi-select (MUI-Autocomplete style) — type directly among the chips to
2429
+ * filter; the overlay shows checkable options only. Supports grouped options
2430
+ * and two-line (title + subtitle) options. Backspace on empty input removes
2431
+ * the last chip.
2432
+ *
2433
+ * @startingPoint section="Selects" subtitle="Multi-select with chips & inline search" viewport="700x180"
2434
+ */
2435
+ interface MultiSelectProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue" | "onChange"> {
2436
+ label?: React.ReactNode;
2437
+ hint?: React.ReactNode;
2438
+ error?: React.ReactNode;
2439
+ required?: boolean;
2440
+ /** Control height preset, matching Select/Combobox. @default "md" */
2441
+ size?: "sm" | "md" | "lg";
2442
+ /** Color intent for the focus/open accent. @default "primary" */
2443
+ tone?: Tone;
2444
+ placeholder?: string;
2445
+ /** Options — strings, {value,label,description}, or {group,options} groups. */
2446
+ options: Array<string | MultiSelectOption | MultiSelectGroup>;
2447
+ /** Controlled selected values. */
2448
+ value?: string[];
2449
+ /** Uncontrolled initial values. */
2450
+ defaultValue?: string[];
2451
+ /** Called with the full array of selected values (empty array when none/cleared). */
2452
+ onChange?: (values: string[]) => void;
2453
+ /** Show a clear-all (×) affix when at least one value is selected. @default false */
2454
+ clearable?: boolean;
2455
+ disabled?: boolean;
2456
+ /** Open the menu upward instead of down (e.g. near a viewport bottom). @default "bottom" */
2457
+ placement?: "bottom" | "top";
2458
+ /** Render the dropdown in a portal (position:fixed on document.body) so it is never clipped by a
2459
+ * scrolling/overflow-hidden ancestor; auto-flips up near the viewport bottom. Set false to render
2460
+ * inline. @default true */
2461
+ portal?: boolean;
2462
+ /** Minimum popover width in px when portaled (useful when the control is narrow). @default 0 */
2463
+ minWidth?: number;
2464
+ /** Show a loading row instead of the option list / empty state. @default false */
2465
+ loading?: boolean;
2466
+ /** Text shown when no options match. @default "No results found" */
2467
+ emptyText?: string;
2468
+ /** Fires with the raw typed query — drive a debounced remote fetch (pair with `loading` and
2469
+ * `filter={false}` so server-ranked results aren't re-filtered locally). */
2470
+ onInputChange?: (query: string) => void;
2471
+ /** `false` shows `options` as-is (server-ranked passthrough); a function replaces the default
2472
+ * label/description matcher. Omit for the built-in local filter. */
2473
+ filter?: boolean | ((option: MultiSelectOption, query: string) => boolean);
2474
+ /** Name for hidden form fields (one per selected value) for native form submission. */
2475
+ name?: string;
2476
+ /** Cap the number of selectable values; once reached, unselected options become disabled. */
2477
+ max?: number;
2478
+ /** Collapse chips after N into a "+K more" pill. */
2479
+ maxTagCount?: number;
2480
+ /** Virtualize the option list — render only the visible slice (plus `overscan`) for long lists. @default false */
2481
+ virtualized?: boolean;
2482
+ /** Extra option rows rendered above/below the viewport when `virtualized`, to smooth fast scrolling. @default 8 */
2483
+ overscan?: number;
2484
+ /** Composed with the field's open-on-focus behavior — your handler runs first. */
2485
+ onFocus?: React.FocusEventHandler<HTMLInputElement>;
2486
+ /** Composed with the field's keyboard navigation (Arrows/Enter/Escape/Backspace) — your handler runs first; call `event.preventDefault()` to suppress it. */
2487
+ onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
2488
+ }
2489
+
2490
+ /** Alias of the shared {@link Option} type (kept for backward-compatible imports). */
2491
+ type MultiSelectOption = Option;
2492
+
2493
+ /** Alias of the shared {@link OptionGroup} type (kept for backward-compatible imports). */
2494
+ type MultiSelectGroup = OptionGroup;
2495
+
2496
+ declare function MultiSelect(props: MultiSelectProps): React.JSX.Element;
2497
+
2498
+ /** The kinds of filter control a field can render. */
2499
+ type FilterFieldType = "multiselect" | "daterange" | "search" | "text" | "number" | "boolean" | "select";
2500
+
2501
+ /** A per-field value map keyed by `field`. Shape depends on the field's `type`. */
2502
+ type FilterValues = Record<string, any>;
2503
+
2504
+ /** One field in the filter schema. */
2505
+ interface FilterField {
2506
+ /** Data field key (also the React key and the clause `field`). */
2507
+ field: string;
2508
+ /** Visible label; defaults to `field`. */
2509
+ label?: React.ReactNode;
2510
+ /** Which control to render. */
2511
+ type: FilterFieldType;
2512
+ /** Options for `multiselect`/`select`. A function receives the current values for dependent/cascading options. */
2513
+ options?: Array<string | MultiSelectOption | MultiSelectGroup | Option> | ((values: FilterValues) => any[]);
2514
+ /** Placeholder for the control. */
2515
+ placeholder?: React.ReactNode;
2516
+ /** Operator emitted in the clause (overrides the per-type default, e.g. `text`→"contains", `number`→"="). */
2517
+ op?: string;
2518
+ /** Disable just this field. */
2519
+ disabled?: boolean;
2520
+ /** Enable type-to-filter for a `select` field. */
2521
+ searchable?: boolean;
2522
+ /** Portal the `select` popover (escape clipping ancestors). */
2523
+ portal?: boolean;
2524
+ /** Labels for a `boolean` field's three states. */
2525
+ anyLabel?: React.ReactNode;
2526
+ trueLabel?: React.ReactNode;
2527
+ falseLabel?: React.ReactNode;
2528
+ }
2529
+
2530
+ /** A normalized filter clause emitted to `onChange`. */
2531
+ interface FilterClause {
2532
+ field: string;
2533
+ op: string;
2534
+ value: unknown;
2535
+ }
2536
+
2537
+ /**
2538
+ * Schema-driven faceted filter bar. Renders a row of controls from a `fields`
2539
+ * schema (multi-select, date-range, search/text, number, boolean, select), and
2540
+ * emits a **normalized clause list** `[{ field, op, value }]` (`isAnyOf`, `>=`/`<`,
2541
+ * `contains`, `=`). Optional per-field clear ✕ and a "Clear all (N)" action; options
2542
+ * can be a function of the current values for dependent/cascading facets.
2543
+ *
2544
+ * @startingPoint section="Inputs" subtitle="Schema-driven filter bar" viewport="900x160"
2545
+ */
2546
+ interface FilterBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2547
+ /** The filter schema — one entry per facet. */
2548
+ fields: FilterField[];
2549
+ /** Controlled clause list (the same shape emitted by `onChange`). */
2550
+ value?: FilterClause[];
2551
+ /** Uncontrolled initial clause list. @default [] */
2552
+ defaultValue?: FilterClause[];
2553
+ /** Fires with the normalized clause list whenever any field changes. */
2554
+ onChange?: (clauses: FilterClause[]) => void;
2555
+ /** Also fires with the raw per-field value map (convenience for rehydrating controls). */
2556
+ onValuesChange?: (values: FilterValues) => void;
2557
+ /** Render a "Clear all (N)" action. @default false */
2558
+ showClearAll?: boolean;
2559
+ /** Label for the clear-all button. @default "Clear all" */
2560
+ clearAllLabel?: React.ReactNode;
2561
+ /** Show a per-field clear ✕ next to each active field's label. @default true */
2562
+ showFieldClear?: boolean;
2563
+ /** Control size for every field. @default "md" */
2564
+ size?: "sm" | "md" | "lg";
2565
+ /** Accent tone forwarded to the date-range control. @default "primary" */
2566
+ tone?: Tone;
2567
+ /** Disable the whole bar. @default false */
2568
+ disabled?: boolean;
2569
+ }
2570
+
2571
+ declare function FilterBar(props: FilterBarProps): React.JSX.Element;
2572
+
2115
2573
  /**
2116
2574
  * Modal dialog with scrim, pop-in animation, Esc-to-close, and backdrop close.
2117
2575
  * Render conditionally and drive with `open` + `onClose`.
@@ -2250,6 +2708,8 @@ interface FileUploadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
2250
2708
  /** Allow selecting multiple files. @default false */
2251
2709
  multiple?: boolean;
2252
2710
  disabled?: boolean;
2711
+ /** Control size — scales the dropzone padding. @default "md" */
2712
+ size?: "sm" | "md" | "lg";
2253
2713
  /** Color intent for the focus/open accent. @default "primary" */
2254
2714
  tone?: Tone;
2255
2715
  /** Field label rendered above the dropzone. */
@@ -2416,71 +2876,6 @@ interface ListProps extends React.HTMLAttributes<HTMLUListElement> {
2416
2876
 
2417
2877
  declare function List(props: ListProps): React.JSX.Element;
2418
2878
 
2419
- /**
2420
- * Multi-select (MUI-Autocomplete style) — type directly among the chips to
2421
- * filter; the overlay shows checkable options only. Supports grouped options
2422
- * and two-line (title + subtitle) options. Backspace on empty input removes
2423
- * the last chip.
2424
- *
2425
- * @startingPoint section="Selects" subtitle="Multi-select with chips & inline search" viewport="700x180"
2426
- */
2427
- interface MultiSelectProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue" | "onChange"> {
2428
- label?: React.ReactNode;
2429
- hint?: React.ReactNode;
2430
- error?: React.ReactNode;
2431
- required?: boolean;
2432
- /** Control height preset, matching Select/Combobox. @default "md" */
2433
- size?: "sm" | "md" | "lg";
2434
- /** Color intent for the focus/open accent. @default "primary" */
2435
- tone?: Tone;
2436
- placeholder?: string;
2437
- /** Options — strings, {value,label,description}, or {group,options} groups. */
2438
- options: Array<string | MultiSelectOption | MultiSelectGroup>;
2439
- /** Controlled selected values. */
2440
- value?: string[];
2441
- /** Uncontrolled initial values. */
2442
- defaultValue?: string[];
2443
- /** Called with the full array of selected values (empty array when none/cleared). */
2444
- onChange?: (values: string[]) => void;
2445
- /** Show a clear-all (×) affix when at least one value is selected. @default false */
2446
- clearable?: boolean;
2447
- disabled?: boolean;
2448
- /** Open the menu upward instead of down (e.g. near a viewport bottom). @default "bottom" */
2449
- placement?: "bottom" | "top";
2450
- /** Render the dropdown in a portal (position:fixed on document.body) so it is never clipped by a
2451
- * scrolling/overflow-hidden ancestor; auto-flips up near the viewport bottom. Set false to render
2452
- * inline. @default true */
2453
- portal?: boolean;
2454
- /** Minimum popover width in px when portaled (useful when the control is narrow). @default 0 */
2455
- minWidth?: number;
2456
- /** Show a loading row instead of the option list / empty state. @default false */
2457
- loading?: boolean;
2458
- /** Text shown when no options match. @default "No results found" */
2459
- emptyText?: string;
2460
- /** Name for hidden form fields (one per selected value) for native form submission. */
2461
- name?: string;
2462
- /** Cap the number of selectable values; once reached, unselected options become disabled. */
2463
- max?: number;
2464
- /** Collapse chips after N into a "+K more" pill. */
2465
- maxTagCount?: number;
2466
- /** Virtualize the option list — render only the visible slice (plus `overscan`) for long lists. @default false */
2467
- virtualized?: boolean;
2468
- /** Extra option rows rendered above/below the viewport when `virtualized`, to smooth fast scrolling. @default 8 */
2469
- overscan?: number;
2470
- /** Composed with the field's open-on-focus behavior — your handler runs first. */
2471
- onFocus?: React.FocusEventHandler<HTMLInputElement>;
2472
- /** Composed with the field's keyboard navigation (Arrows/Enter/Escape/Backspace) — your handler runs first; call `event.preventDefault()` to suppress it. */
2473
- onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
2474
- }
2475
-
2476
- /** Alias of the shared {@link Option} type (kept for backward-compatible imports). */
2477
- type MultiSelectOption = Option;
2478
-
2479
- /** Alias of the shared {@link OptionGroup} type (kept for backward-compatible imports). */
2480
- type MultiSelectGroup = OptionGroup;
2481
-
2482
- declare function MultiSelect(props: MultiSelectProps): React.JSX.Element;
2483
-
2484
2879
  interface NavbarLink {
2485
2880
  label: React.ReactNode;
2486
2881
  href?: string;
@@ -2870,6 +3265,8 @@ interface SliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChan
2870
3265
  defaultValue?: number | [number, number];
2871
3266
  /** Force dual-thumb range mode even without a tuple value (defaults the range to [min, max]). @default false */
2872
3267
  range?: boolean;
3268
+ /** Control size — scales the track, rail, and thumb. @default "md" */
3269
+ size?: "sm" | "md" | "lg";
2873
3270
  /** @default 0 */
2874
3271
  min?: number;
2875
3272
  /** @default 100 */
@@ -2904,10 +3301,10 @@ declare function Slider(props: SliderProps): React.JSX.Element;
2904
3301
  interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
2905
3302
  /** @default "md" */
2906
3303
  size?: "sm" | "md" | "lg" | "xl";
2907
- /** Color. Wins over `tone` when both are set. @default "current" — inherits currentColor (visible inside buttons, themed). */
2908
- color?: "current" | Tone | "white";
2909
- /** Color. @deprecated since 1.4, removed in 2.0 — use `color`. @default "current" — inherits currentColor (visible inside buttons, themed). */
3304
+ /** Colour intent; wins over `color` when both are set. @default "current" — inherits currentColor (visible inside buttons, themed). */
2910
3305
  tone?: "current" | Tone | "white";
3306
+ /** Colour intent. @deprecated removed in 2.0 — use `tone` (matches every other tone-driven component). @default "current" */
3307
+ color?: "current" | Tone | "white";
2911
3308
  /** Accessible label. @default "Loading" */
2912
3309
  label?: string;
2913
3310
  }
@@ -3424,8 +3821,18 @@ interface GridOwnProps {
3424
3821
  rowGap?: number | string;
3425
3822
  /** Column gap — falls back to `gap`. */
3426
3823
  columnGap?: number | string;
3824
+ /** Aligns each cell's content on the block (row) axis → `align-items`. */
3427
3825
  align?: React.CSSProperties["alignItems"];
3826
+ /**
3827
+ * Aligns each cell's content on the inline (column) axis → `justify-items`. Prefer the
3828
+ * explicit `justifyItems`; this stays as its backward-compatible alias.
3829
+ *
3830
+ * ⚠️ On **Grid** `justify` = `justify-items` (per-cell), but on **Stack** `justify` =
3831
+ * `justify-content` (distribution). For content distribution on a Grid, use `justifyContent`.
3832
+ */
3428
3833
  justify?: React.CSSProperties["justifyItems"];
3834
+ /** Aligns each cell's content on the inline axis → `justify-items` (the explicit name for `justify`; wins over it). */
3835
+ justifyItems?: React.CSSProperties["justifyItems"];
3429
3836
  /** Distribute the grid's rows within extra block space. */
3430
3837
  alignContent?: React.CSSProperties["alignContent"];
3431
3838
  /** Distribute the grid's columns within extra inline space. */
@@ -3449,7 +3856,14 @@ interface StackOwnProps {
3449
3856
  direction?: "row" | "column" | "row-reverse" | "column-reverse";
3450
3857
  /** Gap as a spacing-scale step (number) or any CSS length. @default 4 */
3451
3858
  gap?: number | string;
3859
+ /** Aligns children on the cross axis → `align-items`. */
3452
3860
  align?: React.CSSProperties["alignItems"];
3861
+ /**
3862
+ * Distributes children on the main axis → `justify-content` (e.g. `"space-between"`).
3863
+ *
3864
+ * ⚠️ Note the divergence: on **Grid** `justify` = `justify-items` (per-cell), not
3865
+ * `justify-content` — flex has no `justify-items`, so Stack's `justify` had to be content.
3866
+ */
3453
3867
  justify?: React.CSSProperties["justifyContent"];
3454
3868
  /** Wrap children. @default false */
3455
3869
  wrap?: boolean;
@@ -3732,4 +4146,4 @@ declare function useFocusTrap<T extends HTMLElement = HTMLElement>(
3732
4146
  */
3733
4147
  declare function usePortal(): (node: React.ReactNode) => React.ReactPortal | React.ReactNode | null;
3734
4148
 
3735
- export { Accordion, type AccordionItem, type AccordionProps, type ActionTone, Alert, type AlertProps, Anchor, type AnchorProps, AppShell, type AppShellProps, Avatar, AvatarMenu, type AvatarMenuProps, type AvatarProps, Badge, type BadgeProps, type BarTone, Box, type BoxOwnProps, type BoxProps, Boxplot, type BoxplotDatum, type BoxplotProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BubbleChart, type BubbleChartProps, Button, type ButtonProps, Candlestick, type CandlestickDatum, type CandlestickProps, Card, type CardProps, Carousel, type CarouselProps, Chart, type ChartDatum, type ChartProps, Checkbox, type CheckboxProps, Code, type CodeProps, ColorPicker, type ColorPickerProps, ColorSchemeScript, type ColorSchemeScriptOptions, type ColorSchemeScriptProps, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type Command, CommandPalette, type CommandPaletteProps, Container, type ContainerOwnProps, type ContainerProps, Currency, CurrencyField, type CurrencyFieldProps, type CurrencyOption, type CurrencyProps, Datatable, type DatatableBatchAction, type DatatableColumn, type DatatableFilter, type DatatableFilterOp, type DatatableNumberOp, type DatatableProps, type DatatableQuery, type DatatableRowAction, type DatatableStringOp, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, Dialog, type DialogProps, Divider, type DividerProps, DonutChart, type DonutChartDatum, type DonutChartProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, Field, type FieldProps, FileUpload, type FileUploadProps, Form, type FormProps, FunnelChart, type FunnelChartProps, type FunnelDatum, Gauge, type GaugeProps, type GaugeSeries, Grid, type GridOwnProps, type GridProps, Heading, type HeadingOwnProps, type HeadingProps, type HeadingSize, Heatmap, type HeatmapDatum, type HeatmapProps, IconButton, type IconButtonProps, Image, type ImageProps, Input, type InputProps, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, Label, type LabelProps, List, type ListItemData, type ListProps, Menu, type MenuItemDef, type MenuProps, MultiSelect, type MultiSelectGroup, type MultiSelectOption, type MultiSelectProps, Navbar, type NavbarLink, type NavbarProps, type Option, type OptionGroup, Pagination, type PaginationProps, PieChart, type PieChartDatum, type PieChartProps, PolarAreaChart, type PolarAreaChartProps, type PolarAreaDatum, type PolymorphicAs, type PolymorphicComponent, type PolymorphicProps, type PolymorphicPropsWithRef, type PolymorphicRef, Popover, type PopoverProps, Portal, type PortalProps, Pre, type PreProps, Progress, type ProgressProps, RadarChart, type RadarChartProps, type RadarDatum, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeChart, type RangeChartProps, type RangeDatum, Rating, type RatingProps, type ResponsiveColumns, ScatterChart, type ScatterChartProps, type ScatterPoint, type ScatterSeries, Select, type SelectGroup, type SelectOption, type SelectProps, Sidebar, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineDatum, type SparklineProps, Spinner, type SpinnerProps, Stack, type StackOwnProps, type StackProps, Stat, type StatProps, type Step, Stepper, type StepperProps, Switch, type SwitchProps, type Sx, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextOwnProps, type TextProps, type TextTone, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeTokens, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastTone, ToastViewport, type ToastViewportProps, type Tone, Tooltip, type TooltipProps, type TreeNode, TreeView, type TreeViewProps, Treemap, type TreemapDatum, type TreemapProps, TwicoProvider, type TwicoProviderProps, type UseColorSchemeOptions, type UseFocusTrapOptions, type UseKeyPressOptions, type UseMediaQueryOptions, VisuallyHidden, type VisuallyHiddenProps, createTheme, getColorSchemeScript, runDatatableQuery, useClickOutside, useColorScheme, useControllableState, useCopyToClipboard, useDebouncedCallback, useDebouncedValue, useDisclosure, useEventListener, useFocusTrap, useHover, useId, useIntersectionObserver, useInterval, useIsomorphicLayoutEffect, useKeyPress, useLocalStorage, useMediaQuery, useMounted, usePortal, usePrefersReducedMotion, usePrevious, useScrollLock, useTimeout, useToast, useToggle, useWindowSize };
4149
+ export { Accordion, type AccordionItem, type AccordionProps, type ActionTone, Alert, type AlertProps, Anchor, type AnchorProps, AppShell, type AppShellProps, Avatar, AvatarMenu, type AvatarMenuProps, type AvatarProps, Badge, type BadgeProps, type BarTone, Box, type BoxOwnProps, type BoxProps, Boxplot, type BoxplotDatum, type BoxplotProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BubbleChart, type BubbleChartProps, Button, type ButtonProps, Candlestick, type CandlestickDatum, type CandlestickProps, Card, CardGrid, type CardGridFilter, type CardGridProps, type CardGridQuery, type CardGridSort, type CardGridSortOption, type CardProps, Carousel, type CarouselProps, Chart, type ChartDatum, type ChartProps, Checkbox, type CheckboxProps, Code, type CodeProps, ColorPicker, type ColorPickerProps, ColorSchemeScript, type ColorSchemeScriptOptions, type ColorSchemeScriptProps, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type Command, CommandPalette, type CommandPaletteProps, Container, type ContainerOwnProps, type ContainerProps, Currency, CurrencyField, type CurrencyFieldProps, type CurrencyOption, type CurrencyProps, Datatable, type DatatableBatchAction, type DatatableColumn, type DatatableFilter, type DatatableFilterOp, type DatatableNumberOp, type DatatableProps, type DatatableQuery, type DatatableRowAction, type DatatableStringOp, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, type DialogProps, type DiffOp, DiffTable, type DiffTableColumn, type DiffTableProps, Divider, type DividerProps, DonutChart, type DonutChartDatum, type DonutChartProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, Field, type FieldProps, FileUpload, type FileUploadProps, FilterBar, type FilterBarProps, type FilterClause, type FilterField, type FilterFieldType, type FilterValues, Form, type FormProps, FunnelChart, type FunnelChartProps, type FunnelDatum, Gauge, type GaugeProps, type GaugeSeries, Grid, type GridOwnProps, type GridProps, Heading, type HeadingOwnProps, type HeadingProps, type HeadingSize, Heatmap, type HeatmapDatum, type HeatmapProps, IconButton, type IconButtonProps, Image, type ImageProps, Input, type InputProps, Kanban, type KanbanCard, type KanbanColumn, type KanbanProps, Kbd, type KbdProps, Label, type LabelProps, List, type ListItemData, type ListProps, Menu, type MenuItemDef, type MenuProps, MultiSelect, type MultiSelectGroup, type MultiSelectOption, type MultiSelectProps, Navbar, type NavbarLink, type NavbarProps, type Option, type OptionGroup, Pagination, type PaginationProps, PieChart, type PieChartDatum, type PieChartProps, PolarAreaChart, type PolarAreaChartProps, type PolarAreaDatum, type PolymorphicAs, type PolymorphicComponent, type PolymorphicProps, type PolymorphicPropsWithRef, type PolymorphicRef, Popover, type PopoverProps, Portal, type PortalProps, Pre, type PreProps, Progress, type ProgressProps, RadarChart, type RadarChartProps, type RadarDatum, Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, RangeChart, type RangeChartProps, type RangeDatum, Rating, type RatingProps, type ResponsiveColumns, ScatterChart, type ScatterChartProps, type ScatterPoint, type ScatterSeries, Select, type SelectGroup, type SelectOption, type SelectProps, Sidebar, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Sparkline, type SparklineDatum, type SparklineProps, Spinner, type SpinnerProps, Stack, type StackOwnProps, type StackProps, Stat, type StatProps, type Step, Stepper, type StepperProps, Switch, type SwitchProps, type Sx, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextOwnProps, type TextProps, type TextTone, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeTokens, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, Toast, type ToastApi, type ToastOptions, type ToastProps, ToastProvider, type ToastProviderProps, type ToastTone, ToastViewport, type ToastViewportProps, type Tone, Tooltip, type TooltipProps, type TreeNode, TreeView, type TreeViewProps, Treemap, type TreemapDatum, type TreemapProps, TwicoProvider, type TwicoProviderProps, type UseColorSchemeOptions, type UseFocusTrapOptions, type UseKeyPressOptions, type UseMediaQueryOptions, VisuallyHidden, type VisuallyHiddenProps, type WithSx, createTheme, getColorSchemeScript, runDatatableQuery, useClickOutside, useColorScheme, useControllableState, useCopyToClipboard, useDebouncedCallback, useDebouncedValue, useDisclosure, useEventListener, useFocusTrap, useHover, useId, useIntersectionObserver, useInterval, useIsomorphicLayoutEffect, useKeyPress, useLocalStorage, useMediaQuery, useMounted, usePortal, usePrefersReducedMotion, usePrevious, useScrollLock, useTimeout, useToast, useToggle, useWindowSize };