@gradeui/ui 3.1.0 → 3.2.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/components/ui/combobox.md +46 -0
- package/components/ui/data-view.md +59 -0
- package/components/ui/map.md +6 -0
- package/components/ui/property-list.md +43 -0
- package/dist/contracts.js +6 -6
- package/dist/contracts.js.map +1 -1
- package/dist/contracts.mjs +6 -6
- package/dist/contracts.mjs.map +1 -1
- package/dist/index.d.mts +323 -26
- package/dist/index.d.ts +323 -26
- package/dist/index.js +94 -94
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +94 -94
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/styles/globals.css +179 -92
package/dist/index.d.mts
CHANGED
|
@@ -18,6 +18,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
18
18
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
19
19
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
20
20
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
21
|
+
import { SortingState, OnChangeFn, VisibilityState } from '@tanstack/react-table';
|
|
21
22
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
22
23
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
23
24
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
@@ -190,14 +191,14 @@ declare const MediaSurfaceContract: _gradeui_contracts.ComponentContract<{
|
|
|
190
191
|
description: z.ZodOptional<z.ZodString>;
|
|
191
192
|
}, "strip", z.ZodTypeAny, {
|
|
192
193
|
kind: "book";
|
|
193
|
-
description?: string | undefined;
|
|
194
194
|
title?: string | undefined;
|
|
195
|
+
description?: string | undefined;
|
|
195
196
|
author?: string | undefined;
|
|
196
197
|
isbn?: string | undefined;
|
|
197
198
|
}, {
|
|
198
199
|
kind: "book";
|
|
199
|
-
description?: string | undefined;
|
|
200
200
|
title?: string | undefined;
|
|
201
|
+
description?: string | undefined;
|
|
201
202
|
author?: string | undefined;
|
|
202
203
|
isbn?: string | undefined;
|
|
203
204
|
}>, z.ZodObject<{
|
|
@@ -584,7 +585,7 @@ type Surface = "solid" | "translucent" | "glass" | "glass-strong";
|
|
|
584
585
|
*/
|
|
585
586
|
declare const bannerVariants: (props?: ({
|
|
586
587
|
variant?: "default" | "destructive" | "success" | "warning" | "info" | "announcement" | null | undefined;
|
|
587
|
-
align?: "
|
|
588
|
+
align?: "center" | "between" | "start" | null | undefined;
|
|
588
589
|
sticky?: boolean | null | undefined;
|
|
589
590
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
590
591
|
interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof bannerVariants> {
|
|
@@ -640,8 +641,8 @@ declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAtt
|
|
|
640
641
|
* consistent across primitives.
|
|
641
642
|
*/
|
|
642
643
|
declare const buttonVariants: (props?: ({
|
|
643
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "
|
|
644
|
-
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "
|
|
644
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "raised" | null | undefined;
|
|
645
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
645
646
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
646
647
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
647
648
|
asChild?: boolean;
|
|
@@ -868,6 +869,74 @@ declare const Field: React.ForwardRefExoticComponent<FieldProps & React.RefAttri
|
|
|
868
869
|
Trailing: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
869
870
|
};
|
|
870
871
|
|
|
872
|
+
/**
|
|
873
|
+
* PropertyList — the read-only "one record, stacked" display primitive.
|
|
874
|
+
*
|
|
875
|
+
* A property list is a table row transposed: where a Table runs the schema
|
|
876
|
+
* horizontally (columns) across many records, a PropertyList takes ONE
|
|
877
|
+
* record and stacks its fields vertically as label / value pairs. Reach for
|
|
878
|
+
* it for detail panels, inspectors, "about this item" cards, order summaries
|
|
879
|
+
* — anywhere you're showing the properties of a single thing.
|
|
880
|
+
*
|
|
881
|
+
* <PropertyList>
|
|
882
|
+
* <PropertyList.Row label="Status" icon={<Activity />}>
|
|
883
|
+
* <Badge variant="warning-soft">Low</Badge>
|
|
884
|
+
* </PropertyList.Row>
|
|
885
|
+
* <PropertyList.Row label="Owner">
|
|
886
|
+
* <Avatar className="h-5 w-5"><AvatarFallback>EO</AvatarFallback></Avatar>
|
|
887
|
+
* </PropertyList.Row>
|
|
888
|
+
* </PropertyList>
|
|
889
|
+
*
|
|
890
|
+
* The value side is deliberately polymorphic — it's a slot (`children`, or
|
|
891
|
+
* the `value` prop), not a string. A row can hold plain text, a date, a
|
|
892
|
+
* single Badge, a tag group, an avatar stack, a link, anything. That's the
|
|
893
|
+
* whole point: the same value renderers that fill a Table cell drop straight
|
|
894
|
+
* into a PropertyList row, so the two surfaces never drift.
|
|
895
|
+
*
|
|
896
|
+
* Semantics: renders a real `<dl>` with `<dt>` / `<dd>` pairs (each pair
|
|
897
|
+
* wrapped in a `<div>`, which the HTML spec allows), so it's announced as a
|
|
898
|
+
* description list by assistive tech for free.
|
|
899
|
+
*
|
|
900
|
+
* Layout + density are token-driven (`--gds-property-list-*`) so a narrow
|
|
901
|
+
* inspector and a wide settings page can retune the label column and rhythm
|
|
902
|
+
* without prop-drilling. `layout="stack"` drops the label above the value
|
|
903
|
+
* for tight columns.
|
|
904
|
+
*
|
|
905
|
+
* This is a DISPLAY primitive. For an editable field (label + control), use
|
|
906
|
+
* `Field`; a detail panel that flips between read and edit typically swaps a
|
|
907
|
+
* PropertyList for a stack of Fields.
|
|
908
|
+
*/
|
|
909
|
+
type PropertyListLayout = "row" | "stack";
|
|
910
|
+
type PropertyListDensity = "compact" | "default" | "relaxed";
|
|
911
|
+
type PropertyListAlign = "start" | "center";
|
|
912
|
+
interface PropertyListProps extends React.HTMLAttributes<HTMLDListElement> {
|
|
913
|
+
/** `row` (default): label column beside value. `stack`: label above value (narrow panels). */
|
|
914
|
+
layout?: PropertyListLayout;
|
|
915
|
+
/** Row rhythm. `compact` for dense inspectors, `relaxed` for airy settings pages. */
|
|
916
|
+
density?: PropertyListDensity;
|
|
917
|
+
/** Default vertical alignment of label vs value. `center` for single-line values, `start` when values wrap (tag groups, multi-line). */
|
|
918
|
+
align?: PropertyListAlign;
|
|
919
|
+
/** Hairline rule between rows. */
|
|
920
|
+
divider?: boolean;
|
|
921
|
+
/** Override the label column width (any CSS length). Sets `--gds-property-list-label-width` for all rows. */
|
|
922
|
+
labelWidth?: string;
|
|
923
|
+
}
|
|
924
|
+
interface PropertyListRowProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
925
|
+
/** The property name (the `<dt>`). */
|
|
926
|
+
label: React.ReactNode;
|
|
927
|
+
/** Optional leading glyph, rendered muted at `--gds-property-list-icon-size`. */
|
|
928
|
+
icon?: React.ReactNode;
|
|
929
|
+
/** The value. Provide via `value` or as `children` — accepts any node (text, Badge, tag group, Avatar stack, link…). */
|
|
930
|
+
value?: React.ReactNode;
|
|
931
|
+
/** Per-row override of the list's vertical alignment. */
|
|
932
|
+
align?: PropertyListAlign;
|
|
933
|
+
children?: React.ReactNode;
|
|
934
|
+
}
|
|
935
|
+
declare const PropertyListRow: React.ForwardRefExoticComponent<PropertyListRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
936
|
+
declare const PropertyList: React.ForwardRefExoticComponent<PropertyListProps & React.RefAttributes<HTMLDListElement>> & {
|
|
937
|
+
Row: React.ForwardRefExoticComponent<PropertyListRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
938
|
+
};
|
|
939
|
+
|
|
871
940
|
/**
|
|
872
941
|
* Selection cards — RadioCard / CheckboxCard / SwitchCard.
|
|
873
942
|
*
|
|
@@ -1928,7 +1997,7 @@ declare const DropdownMenuShortcut: {
|
|
|
1928
1997
|
* rationale.
|
|
1929
1998
|
*/
|
|
1930
1999
|
declare const inputVariants: (props?: ({
|
|
1931
|
-
size?: "
|
|
2000
|
+
size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
|
|
1932
2001
|
variant?: "default" | "ghost" | null | undefined;
|
|
1933
2002
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1934
2003
|
type InputSize = NonNullable<VariantProps<typeof inputVariants>["size"]>;
|
|
@@ -1949,7 +2018,7 @@ type InputProps = Omit<React.ComponentProps<"input">, "size"> & {
|
|
|
1949
2018
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1950
2019
|
|
|
1951
2020
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
|
|
1952
|
-
size?: "
|
|
2021
|
+
size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
|
|
1953
2022
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
1954
2023
|
|
|
1955
2024
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
@@ -2052,6 +2121,230 @@ interface MultiSelectProps {
|
|
|
2052
2121
|
}
|
|
2053
2122
|
declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2054
2123
|
|
|
2124
|
+
/**
|
|
2125
|
+
* Combobox — single-pick searchable picker. The single-select sibling of
|
|
2126
|
+
* MultiSelect, and the "selectable badge" pattern popularised by Linear's
|
|
2127
|
+
* status / priority pickers.
|
|
2128
|
+
*
|
|
2129
|
+
* Composes Popover + Command (cmdk) + Button into:
|
|
2130
|
+
*
|
|
2131
|
+
* - Trigger: a button showing the selected option (its icon + label, or
|
|
2132
|
+
* a fully custom node via `renderValue`). `triggerVariant="inline"`
|
|
2133
|
+
* drops the form-control chrome so the trigger reads as an inline
|
|
2134
|
+
* token — render a Badge through `renderValue` and the value becomes a
|
|
2135
|
+
* clickable badge that opens the menu (the Linear move).
|
|
2136
|
+
* - Open: a Popover with a searchable Command list; each row carries an
|
|
2137
|
+
* optional leading icon and a check on the selected item.
|
|
2138
|
+
* - Optional `clearable` adds a "Clear" row so the value can return to
|
|
2139
|
+
* unset (null).
|
|
2140
|
+
*
|
|
2141
|
+
* Controlled and uncontrolled both supported (value / defaultValue mirror
|
|
2142
|
+
* Radix conventions). Selection is a single `string | null` — the caller
|
|
2143
|
+
* pulls the matching option object from their own `options` array.
|
|
2144
|
+
*
|
|
2145
|
+
* Read-only / permissions: pass `disabled` to lock the control to a
|
|
2146
|
+
* display of its current value (the trigger stops opening). A
|
|
2147
|
+
* permission check ("can this user edit?") drives that prop; the Combobox
|
|
2148
|
+
* itself stays unaware of access rules.
|
|
2149
|
+
*
|
|
2150
|
+
* Data-driven via `options` rather than compound children — picker lists
|
|
2151
|
+
* run dozens of items long and the per-option icon has no natural
|
|
2152
|
+
* children-API equivalent. Theming inherits from Popover / Command /
|
|
2153
|
+
* Button / Badge; no new `--gds-combobox-*` tokens needed yet.
|
|
2154
|
+
*/
|
|
2155
|
+
|
|
2156
|
+
interface ComboboxOption {
|
|
2157
|
+
/** Value stored in selection. Must be unique. */
|
|
2158
|
+
value: string;
|
|
2159
|
+
/** Display label for the dropdown row and the trigger. */
|
|
2160
|
+
label: string;
|
|
2161
|
+
/** Optional lucide-style icon (any component accepting className).
|
|
2162
|
+
* Rendered in the dropdown row and, by default, on the trigger. */
|
|
2163
|
+
icon?: React.ComponentType<{
|
|
2164
|
+
className?: string;
|
|
2165
|
+
}>;
|
|
2166
|
+
/** Extra search terms beyond the label (cmdk matches against these). */
|
|
2167
|
+
keywords?: string[];
|
|
2168
|
+
/** Disable the row — it can't be picked. */
|
|
2169
|
+
disabled?: boolean;
|
|
2170
|
+
}
|
|
2171
|
+
type ComboboxTriggerVariant = "default" | "inline";
|
|
2172
|
+
interface ComboboxProps {
|
|
2173
|
+
/** The full pool of selectable items. */
|
|
2174
|
+
options: ComboboxOption[];
|
|
2175
|
+
/** Controlled value. When provided, wire `onValueChange` or the
|
|
2176
|
+
* control becomes a read-only display of `value`. */
|
|
2177
|
+
value?: string | null;
|
|
2178
|
+
/** Uncontrolled initial value. Ignored if `value` is provided. */
|
|
2179
|
+
defaultValue?: string | null;
|
|
2180
|
+
/** Fired with the next value (or null when cleared). */
|
|
2181
|
+
onValueChange?: (next: string | null) => void;
|
|
2182
|
+
/** Trigger text when nothing is selected. */
|
|
2183
|
+
placeholder?: string;
|
|
2184
|
+
/** Search-input placeholder. Default "Search…". */
|
|
2185
|
+
searchPlaceholder?: string;
|
|
2186
|
+
/** Message rendered when search returns no rows. */
|
|
2187
|
+
emptyMessage?: string;
|
|
2188
|
+
/** Hide the search input (short lists). Default true (shown). */
|
|
2189
|
+
searchable?: boolean;
|
|
2190
|
+
/** Add a "Clear" row so the value can return to unset. */
|
|
2191
|
+
clearable?: boolean;
|
|
2192
|
+
/** `default` (form-control surface, like Select) or `inline` (chrome-free
|
|
2193
|
+
* token trigger — pair with `renderValue` to render a Badge). */
|
|
2194
|
+
triggerVariant?: ComboboxTriggerVariant;
|
|
2195
|
+
/** Render the selected value yourself (e.g. as a Badge). Falls back to
|
|
2196
|
+
* the option's icon + label. Receives the resolved option. */
|
|
2197
|
+
renderValue?: (option: ComboboxOption) => React.ReactNode;
|
|
2198
|
+
/** Hide the trailing chevron (useful for the inline token look). */
|
|
2199
|
+
hideChevron?: boolean;
|
|
2200
|
+
/** Lock the control to a display of its current value. */
|
|
2201
|
+
disabled?: boolean;
|
|
2202
|
+
/** Popover `modal` — outside clicks don't dismiss until explicit close. */
|
|
2203
|
+
modalPopover?: boolean;
|
|
2204
|
+
/** PopoverContent alignment. Default "start". */
|
|
2205
|
+
align?: "start" | "center" | "end";
|
|
2206
|
+
/** Extra classes on the trigger. */
|
|
2207
|
+
className?: string;
|
|
2208
|
+
/** Forwarded to the trigger for tests / Studio selection. */
|
|
2209
|
+
id?: string;
|
|
2210
|
+
"aria-label"?: string;
|
|
2211
|
+
}
|
|
2212
|
+
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* DataView — one dataset, drawn as a table, a list of cards, or a grid.
|
|
2216
|
+
*
|
|
2217
|
+
* Wraps TanStack Table so a page stops re-typing the same boilerplate
|
|
2218
|
+
* (sortable-header buttons, flexRender plumbing, selection wiring, the
|
|
2219
|
+
* view switch). You hand it `data` + a `columns` schema; it owns sorting,
|
|
2220
|
+
* column visibility, selection, and view switching.
|
|
2221
|
+
*
|
|
2222
|
+
* <DataView data={rows} columns={cols} defaultView="table" />
|
|
2223
|
+
*
|
|
2224
|
+
* Schema-driven cells: each column declares a `type` (badge / tags /
|
|
2225
|
+
* number / currency / percent / date / boolean / url / text) and DataView
|
|
2226
|
+
* renders it. `cell` overrides per column for anything bespoke (avatars,
|
|
2227
|
+
* relations). `role: "title"` marks the primary field for card / grid.
|
|
2228
|
+
*
|
|
2229
|
+
* The view toggle can live ANYWHERE. `useDataView()` holds the state
|
|
2230
|
+
* (view / activeId / sorting / columnVisibility) so a `<DataViewToggle>`
|
|
2231
|
+
* or `<DataViewColumns>` placed in a page header drives a `<DataView>`
|
|
2232
|
+
* lower down. Or pass `toolbar` to let DataView render them inline.
|
|
2233
|
+
*
|
|
2234
|
+
* Single-view is first-class: pass `views={["table"]}` (or just
|
|
2235
|
+
* `defaultView` with no toolbar) and it's only ever a table / only cards /
|
|
2236
|
+
* only a grid, no switch.
|
|
2237
|
+
*
|
|
2238
|
+
* Table extras: mark a column `pinned="left"` for a fixed column (sticky,
|
|
2239
|
+
* give it a `width` so multi-pin offsets line up) and `stickyHeader` to
|
|
2240
|
+
* freeze the header row on scroll.
|
|
2241
|
+
*
|
|
2242
|
+
* Tunable via `--gds-data-view-*` (card / grid min column width, gap).
|
|
2243
|
+
*/
|
|
2244
|
+
|
|
2245
|
+
type DataViewMode = "table" | "cards" | "grid";
|
|
2246
|
+
type DataViewCellType = "text" | "badge" | "tags" | "number" | "currency" | "percent" | "date" | "boolean" | "url";
|
|
2247
|
+
interface DataViewBadgeOption {
|
|
2248
|
+
value: string;
|
|
2249
|
+
label?: string;
|
|
2250
|
+
variant?: BadgeProps["variant"];
|
|
2251
|
+
}
|
|
2252
|
+
interface DataViewColumn<T = any> {
|
|
2253
|
+
/** Accessor key into the row + the column id. */
|
|
2254
|
+
key: string;
|
|
2255
|
+
/** Header content. */
|
|
2256
|
+
header: React.ReactNode;
|
|
2257
|
+
/** Built-in renderer to use for the value. Ignored when `cell` is set. */
|
|
2258
|
+
type?: DataViewCellType;
|
|
2259
|
+
/** For `type="badge"`: per-value label + colour. */
|
|
2260
|
+
options?: DataViewBadgeOption[];
|
|
2261
|
+
/** Render the cell yourself (avatars, relations, anything bespoke). */
|
|
2262
|
+
cell?: (row: T) => React.ReactNode;
|
|
2263
|
+
/** Hint for card / grid composition. `title` is the primary field. */
|
|
2264
|
+
role?: "title" | "meta";
|
|
2265
|
+
/** Allow click-to-sort on this column. */
|
|
2266
|
+
sortable?: boolean;
|
|
2267
|
+
/** Pin the column to the left (a fixed column). Give it `width` so
|
|
2268
|
+
* multi-pin offsets line up. */
|
|
2269
|
+
pinned?: "left";
|
|
2270
|
+
/** Fixed width in px (used for pinned offsets + min sizing). */
|
|
2271
|
+
width?: number;
|
|
2272
|
+
/** Right-align the cell (numbers / currency). */
|
|
2273
|
+
align?: "start" | "end";
|
|
2274
|
+
/** Whether the user can hide it from the Columns menu. Default true. */
|
|
2275
|
+
hideable?: boolean;
|
|
2276
|
+
/** Start hidden. */
|
|
2277
|
+
defaultHidden?: boolean;
|
|
2278
|
+
}
|
|
2279
|
+
interface UseDataViewOptions {
|
|
2280
|
+
defaultView?: DataViewMode;
|
|
2281
|
+
views?: DataViewMode[];
|
|
2282
|
+
defaultActiveId?: string | null;
|
|
2283
|
+
defaultSorting?: SortingState;
|
|
2284
|
+
defaultColumnVisibility?: VisibilityState;
|
|
2285
|
+
}
|
|
2286
|
+
interface DataViewState {
|
|
2287
|
+
view: DataViewMode;
|
|
2288
|
+
setView: (v: DataViewMode) => void;
|
|
2289
|
+
views: DataViewMode[];
|
|
2290
|
+
activeId: string | null;
|
|
2291
|
+
setActiveId: (id: string | null) => void;
|
|
2292
|
+
sorting: SortingState;
|
|
2293
|
+
setSorting: OnChangeFn<SortingState>;
|
|
2294
|
+
columnVisibility: VisibilityState;
|
|
2295
|
+
setColumnVisibility: OnChangeFn<VisibilityState>;
|
|
2296
|
+
}
|
|
2297
|
+
declare function useDataView(options?: UseDataViewOptions): DataViewState;
|
|
2298
|
+
interface DataViewToggleProps {
|
|
2299
|
+
value: DataViewMode;
|
|
2300
|
+
onChange: (v: DataViewMode) => void;
|
|
2301
|
+
views?: DataViewMode[];
|
|
2302
|
+
className?: string;
|
|
2303
|
+
}
|
|
2304
|
+
declare function DataViewToggle({ value, onChange, views, className, }: DataViewToggleProps): React.JSX.Element | null;
|
|
2305
|
+
interface DataViewColumnsProps {
|
|
2306
|
+
columns: DataViewColumn[];
|
|
2307
|
+
visibility: VisibilityState;
|
|
2308
|
+
onVisibilityChange: (next: VisibilityState) => void;
|
|
2309
|
+
label?: string;
|
|
2310
|
+
className?: string;
|
|
2311
|
+
}
|
|
2312
|
+
declare function DataViewColumns({ columns, visibility, onVisibilityChange, label, className, }: DataViewColumnsProps): React.JSX.Element;
|
|
2313
|
+
interface DataViewProps<T = any> {
|
|
2314
|
+
data: T[];
|
|
2315
|
+
columns: DataViewColumn<T>[];
|
|
2316
|
+
getRowId?: (row: T, index: number) => string;
|
|
2317
|
+
view?: DataViewMode;
|
|
2318
|
+
defaultView?: DataViewMode;
|
|
2319
|
+
onViewChange?: (v: DataViewMode) => void;
|
|
2320
|
+
views?: DataViewMode[];
|
|
2321
|
+
activeId?: string | null;
|
|
2322
|
+
defaultActiveId?: string | null;
|
|
2323
|
+
onActiveChange?: (id: string | null) => void;
|
|
2324
|
+
sorting?: SortingState;
|
|
2325
|
+
defaultSorting?: SortingState;
|
|
2326
|
+
onSortingChange?: OnChangeFn<SortingState>;
|
|
2327
|
+
columnVisibility?: VisibilityState;
|
|
2328
|
+
defaultColumnVisibility?: VisibilityState;
|
|
2329
|
+
onColumnVisibilityChange?: OnChangeFn<VisibilityState>;
|
|
2330
|
+
/** Freeze the header row on vertical scroll. */
|
|
2331
|
+
stickyHeader?: boolean;
|
|
2332
|
+
/** Render a built-in toolbar (columns menu + view toggle) above the view. */
|
|
2333
|
+
toolbar?: boolean;
|
|
2334
|
+
/** Override card / grid tile rendering. */
|
|
2335
|
+
renderCard?: (row: T, ctx: {
|
|
2336
|
+
active: boolean;
|
|
2337
|
+
}) => React.ReactNode;
|
|
2338
|
+
emptyMessage?: React.ReactNode;
|
|
2339
|
+
className?: string;
|
|
2340
|
+
}
|
|
2341
|
+
declare function DataView<T extends Record<string, any>>(props: DataViewProps<T>): React.JSX.Element;
|
|
2342
|
+
declare namespace DataView {
|
|
2343
|
+
var displayName: string;
|
|
2344
|
+
var Toggle: typeof DataViewToggle;
|
|
2345
|
+
var Columns: typeof DataViewColumns;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2055
2348
|
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2056
2349
|
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2057
2350
|
|
|
@@ -2093,7 +2386,7 @@ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPri
|
|
|
2093
2386
|
* </ResizablePanelGroup>
|
|
2094
2387
|
*/
|
|
2095
2388
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
|
|
2096
|
-
declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<
|
|
2389
|
+
declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadElement | HTMLElement | HTMLLinkElement | HTMLDivElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
2097
2390
|
className?: string | undefined;
|
|
2098
2391
|
collapsedSize?: number | undefined;
|
|
2099
2392
|
collapsible?: boolean | undefined;
|
|
@@ -2133,8 +2426,8 @@ declare const ResizableHandle: ({ withHandle, className, ...props }: React.Compo
|
|
|
2133
2426
|
*/
|
|
2134
2427
|
declare const rowVariants: (props?: ({
|
|
2135
2428
|
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2136
|
-
align?: "
|
|
2137
|
-
justify?: "
|
|
2429
|
+
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
2430
|
+
justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
|
|
2138
2431
|
wrap?: boolean | null | undefined;
|
|
2139
2432
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2140
2433
|
interface RowProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof rowVariants> {
|
|
@@ -2169,7 +2462,7 @@ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttribute
|
|
|
2169
2462
|
declare const gridVariants: (props?: ({
|
|
2170
2463
|
cols?: "1" | "2" | "3" | "4" | "5" | "6" | "12" | null | undefined;
|
|
2171
2464
|
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2172
|
-
align?: "
|
|
2465
|
+
align?: "center" | "start" | "end" | "stretch" | null | undefined;
|
|
2173
2466
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2174
2467
|
interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
2175
2468
|
/** When true, render as the single child element via Radix Slot — lets
|
|
@@ -2201,10 +2494,10 @@ declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttribu
|
|
|
2201
2494
|
* case. Flex is the escape hatch, not the default.
|
|
2202
2495
|
*/
|
|
2203
2496
|
declare const flexVariants: (props?: ({
|
|
2204
|
-
direction?: "
|
|
2497
|
+
direction?: "col" | "row" | "row-reverse" | "col-reverse" | null | undefined;
|
|
2205
2498
|
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2206
|
-
align?: "
|
|
2207
|
-
justify?: "
|
|
2499
|
+
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
2500
|
+
justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
|
|
2208
2501
|
wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
|
|
2209
2502
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2210
2503
|
interface FlexProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
|
|
@@ -2238,7 +2531,7 @@ type SelectMenuSize = "default" | "sm" | "xs" | "2xs";
|
|
|
2238
2531
|
* existing call site.
|
|
2239
2532
|
*/
|
|
2240
2533
|
declare const selectTriggerVariants: (props?: ({
|
|
2241
|
-
size?: "
|
|
2534
|
+
size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
|
|
2242
2535
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2243
2536
|
type SelectTriggerSize = NonNullable<VariantProps<typeof selectTriggerVariants>["size"]>;
|
|
2244
2537
|
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -2257,6 +2550,10 @@ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectP
|
|
|
2257
2550
|
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2258
2551
|
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2259
2552
|
size?: SelectMenuSize;
|
|
2553
|
+
/** Portal target. Defaults to document.body; pass a themed wrapper to
|
|
2554
|
+
* keep the menu inside a scoped theme (e.g. the Studio preview, where
|
|
2555
|
+
* the theme is applied to a div, not :root). */
|
|
2556
|
+
container?: HTMLElement | null;
|
|
2260
2557
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
2261
2558
|
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2262
2559
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -2339,7 +2636,7 @@ declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.Dialog
|
|
|
2339
2636
|
declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
2340
2637
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2341
2638
|
declare const sheetVariants: (props?: ({
|
|
2342
|
-
side?: "
|
|
2639
|
+
side?: "bottom" | "top" | "right" | "left" | null | undefined;
|
|
2343
2640
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2344
2641
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
2345
2642
|
/** Extra classes for the backdrop overlay. e.g. `bg-transparent`
|
|
@@ -2495,8 +2792,8 @@ declare const Sortable: SortableRootComponent;
|
|
|
2495
2792
|
*/
|
|
2496
2793
|
declare const stackVariants: (props?: ({
|
|
2497
2794
|
gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2498
|
-
align?: "
|
|
2499
|
-
justify?: "
|
|
2795
|
+
align?: "center" | "start" | "end" | "stretch" | null | undefined;
|
|
2796
|
+
justify?: "center" | "between" | "start" | "end" | "around" | "evenly" | null | undefined;
|
|
2500
2797
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2501
2798
|
interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
|
|
2502
2799
|
/** When true, render as the single child element via Radix Slot — lets
|
|
@@ -2514,7 +2811,7 @@ declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttri
|
|
|
2514
2811
|
* dense tool-panel sizes (the Studio inspector).
|
|
2515
2812
|
*/
|
|
2516
2813
|
declare const switchTrackVariants: (props?: ({
|
|
2517
|
-
size?: "
|
|
2814
|
+
size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
|
|
2518
2815
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2519
2816
|
type SwitchSize = NonNullable<VariantProps<typeof switchTrackVariants>["size"]>;
|
|
2520
2817
|
declare const Switch: React.ForwardRefExoticComponent<Omit<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref">, "size"> & {
|
|
@@ -2702,7 +2999,7 @@ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.Cla
|
|
|
2702
2999
|
* px-3 / text-sm; `sm` and `xs` are for dense tool panels.
|
|
2703
3000
|
*/
|
|
2704
3001
|
declare const textareaVariants: (props?: ({
|
|
2705
|
-
size?: "
|
|
3002
|
+
size?: "default" | "2xs" | "xs" | "sm" | null | undefined;
|
|
2706
3003
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2707
3004
|
type TextareaSize = NonNullable<VariantProps<typeof textareaVariants>["size"]>;
|
|
2708
3005
|
type TextareaProps = Omit<React.ComponentProps<"textarea">, "size"> & {
|
|
@@ -2712,11 +3009,11 @@ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref
|
|
|
2712
3009
|
|
|
2713
3010
|
declare const toggleVariants: (props?: ({
|
|
2714
3011
|
variant?: "default" | "outline" | "segmented" | null | undefined;
|
|
2715
|
-
size?: "
|
|
3012
|
+
size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
|
|
2716
3013
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2717
3014
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2718
3015
|
variant?: "default" | "outline" | "segmented" | null | undefined;
|
|
2719
|
-
size?: "
|
|
3016
|
+
size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
|
|
2720
3017
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
2721
3018
|
|
|
2722
3019
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
@@ -2726,11 +3023,11 @@ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimit
|
|
|
2726
3023
|
|
|
2727
3024
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
2728
3025
|
variant?: "default" | "outline" | "segmented" | null | undefined;
|
|
2729
|
-
size?: "
|
|
3026
|
+
size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
|
|
2730
3027
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
2731
3028
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2732
3029
|
variant?: "default" | "outline" | "segmented" | null | undefined;
|
|
2733
|
-
size?: "
|
|
3030
|
+
size?: "default" | "2xs" | "xs" | "sm" | "lg" | null | undefined;
|
|
2734
3031
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
2735
3032
|
tooltip?: React.ReactNode;
|
|
2736
3033
|
tooltipSide?: React.ComponentPropsWithoutRef<typeof TooltipContent>["side"];
|
|
@@ -2785,7 +3082,7 @@ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupP
|
|
|
2785
3082
|
* persistent footer toolbars on mobile-style layouts.
|
|
2786
3083
|
*/
|
|
2787
3084
|
declare const toolbarVariants: (props?: ({
|
|
2788
|
-
position?: "
|
|
3085
|
+
position?: "bottom" | "top" | "inline" | null | undefined;
|
|
2789
3086
|
variant?: "default" | "transparent" | "subtle" | null | undefined;
|
|
2790
3087
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2791
3088
|
sticky?: boolean | null | undefined;
|
|
@@ -4929,4 +5226,4 @@ declare function GradeModeSwitcher({ className, variant }: GradeModeSwitcherProp
|
|
|
4929
5226
|
*/
|
|
4930
5227
|
declare function ThemeToggle(): React.JSX.Element;
|
|
4931
5228
|
|
|
4932
|
-
export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AppShell, AppShellAside, type AppShellAsideProps, AppShellFooter, type AppShellFooterProps, AppShellHeader, type AppShellHeaderProps, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, Avatar, AvatarFallback, AvatarImage, type AvatarTone, BUILT_IN_INPUTS, BackgroundFill, type BackgroundFillFit, type BackgroundFillProps, type BackgroundFillType, Badge, Banner, type BannerProps, type BaseMediaProps, BlinkingCursor, type BlinkingCursorProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, type BreadcrumbMenuItem, BreadcrumbMenuTrigger, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonShape, COMPONENT_CONTRACTS, Calendar, CalendarDayButton, Callout, CalloutDescription, CalloutTitle, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, Carousel, CarouselArrows, type CarouselArrowsProps, type AutoplayConfig as CarouselAutoplayConfig, CarouselDots, type CarouselDotsProps, type CarouselNavButtonProps, CarouselNext, CarouselPrev, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselVideoSlide, type CarouselVideoSlideProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartPalette, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, type CheckboxCardProps, Code, type CodeDiff, type CodeLanguage, type CodeProps, type CodeReveal, type CodeTrigger, type ColorIntensity, Composer, type ComposerAttachment, type ComposerAttachmentConfig, type ComposerContent, type ComposerFormat, type ComposerHandle, type ComposerMentionItem, type ComposerProps, ComposerReply, type ComposerStep, type ComposerTriggerConfig, DEMO_SPEED_PRESETS, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DemoSpeed, DemoStage, type DemoStageProps, type DemoTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FILL_TOKENS, FRAGMENT_HEADER, Field, FieldDescription, FieldLabel, type FieldProps, FieldTrailing, FillPicker, type FillPickerProps, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Grid, type GridProps, Input, type InputStyle, Label, LenisProvider, Logo, type LogoLockup, type LogoMode, type LogoProps, type LogoSize, type LogoSources, type LogoVariant, MOTION_ATTR, Map, MapHandle, MapMarker, MapMarkerProps, MapProps, type MediaAspect, type MediaRadius, MediaSurface, MediaSurfaceContract, type MediaSurfaceProps, Message, type MessageProps, type ModeName, Motion, MotionOverlay, type MotionOverlayProps, type MotionOverlayZone, type MotionProps, MotionScene, type MotionSceneProps, type MotionSceneRegistration, type MotionSceneTransition, MotionScreen, type MotionScreenAnimate, type MotionScreenProps, MotionText, type MotionTextProps, type MotionTextTemplate, MultiSelect, type MultiSelectOption, type MultiSelectProps, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, ResizableHandle, ResizablePanel, ResizablePanelGroup, Reveal, type RevealAnimation, type RevealProps, type RevealStep, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScreenAnimator, type ScreenAnimatorProps, type ScreenAnimatorShot, type ScriptedDemoContext, type ScriptedDemoState, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, ShaderControls, type ShaderControlsProps, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarTreeItem, type SidebarTreeItemProps, Skeleton, Slider, Sortable, SortableGroup, type SortableGroupProps, SortableHandle, type SortableHandleProps, SortableItem, type SortableItemProps, type SortableProps, type SpacingDensity, Stack, type StackProps, Swatch, SwatchGroup, type SwatchGroupProps, type SwatchProps, Switch, SwitchCard, type SwitchCardProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, ToolbarSlot, type ToolbarSlotProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypeScalePreset, type UseScriptedDemoOptions, VideoPlayer, type VideoPlayerProps, asideVariants as appShellAsideVariants, footerVariants as appShellFooterVariants, headerVariants as appShellHeaderVariants, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, bannerVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calloutVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, swatchVariants, themeToCSSVars, toggleVariants, useCarouselApi, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };
|
|
5229
|
+
export { ALL_MODES, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AppShell, AppShellAside, type AppShellAsideProps, AppShellFooter, type AppShellFooterProps, AppShellHeader, type AppShellHeaderProps, AppShellMain, type AppShellMainProps, AppShellNav, type AppShellNavProps, type AppShellProps, Avatar, AvatarFallback, AvatarImage, type AvatarTone, BUILT_IN_INPUTS, BackgroundFill, type BackgroundFillFit, type BackgroundFillProps, type BackgroundFillType, Badge, Banner, type BannerProps, type BaseMediaProps, BlinkingCursor, type BlinkingCursorProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, type BreadcrumbMenuItem, BreadcrumbMenuTrigger, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonShape, COMPONENT_CONTRACTS, Calendar, CalendarDayButton, Callout, CalloutDescription, CalloutTitle, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardStyle, CardTitle, Carousel, CarouselArrows, type CarouselArrowsProps, type AutoplayConfig as CarouselAutoplayConfig, CarouselDots, type CarouselDotsProps, type CarouselNavButtonProps, CarouselNext, CarouselPrev, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselVideoSlide, type CarouselVideoSlideProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, type ChartPalette, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, type CheckboxCardProps, Code, type CodeDiff, type CodeLanguage, type CodeProps, type CodeReveal, type CodeTrigger, type ColorIntensity, Combobox, type ComboboxOption, type ComboboxProps, Composer, type ComposerAttachment, type ComposerAttachmentConfig, type ComposerContent, type ComposerFormat, type ComposerHandle, type ComposerMentionItem, type ComposerProps, ComposerReply, type ComposerStep, type ComposerTriggerConfig, DEMO_SPEED_PRESETS, DataView, type DataViewBadgeOption, type DataViewCellType, type DataViewColumn, DataViewColumns, type DataViewColumnsProps, type DataViewMode, type DataViewProps, type DataViewState, DataViewToggle, type DataViewToggleProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DemoSpeed, DemoStage, type DemoStageProps, type DemoTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FILL_TOKENS, FRAGMENT_HEADER, Field, FieldDescription, FieldLabel, type FieldProps, FieldTrailing, FillPicker, type FillPickerProps, type FillValue, Flex, type FlexProps, type FontKey, GRADE_PRE_HYDRATION_SCRIPT, type GeneratedTheme, GradeLoader, type GradeLoaderProps, type GradeLoaderSize, GradeModeSwitcher, GradeThemeProvider, type GradeThemeProviderProps, GradeThemeSwitcher, Grid, type GridProps, Input, type InputStyle, Label, LenisProvider, Logo, type LogoLockup, type LogoMode, type LogoProps, type LogoSize, type LogoSources, type LogoVariant, MOTION_ATTR, Map, MapHandle, MapMarker, MapMarkerProps, MapProps, type MediaAspect, type MediaRadius, MediaSurface, MediaSurfaceContract, type MediaSurfaceProps, Message, type MessageProps, type ModeName, Motion, MotionOverlay, type MotionOverlayProps, type MotionOverlayZone, type MotionProps, MotionScene, type MotionSceneProps, type MotionSceneRegistration, type MotionSceneTransition, MotionScreen, type MotionScreenAnimate, type MotionScreenProps, MotionText, type MotionTextProps, type MotionTextTemplate, MultiSelect, type MultiSelectOption, type MultiSelectProps, type OKLCHTriplet, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostPreset, Progress, PropertyList, type PropertyListProps, PropertyListRow, type PropertyListRowProps, RadioCard, type RadioCardProps, RadioGroup, RadioGroupItem, type RadiusStyle, type Ramp, ResizableHandle, ResizablePanel, ResizablePanelGroup, Reveal, type RevealAnimation, type RevealProps, type RevealStep, RivePlayer, type RivePlayerProps, Row, type RowProps, type SceneContext, type SceneFactory, type SceneHandle, ScreenAnimator, type ScreenAnimatorProps, type ScreenAnimatorShot, type ScriptedDemoContext, type ScriptedDemoState, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShaderCompileError, ShaderControls, type ShaderControlsProps, type ShaderPreset, ShaderPresetPicker, type ShaderPresetPickerProps, ShaderPresetPreview, type ShaderPresetPreviewProps, type ShadowIntensity, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarTreeItem, type SidebarTreeItemProps, Skeleton, Slider, Sortable, SortableGroup, type SortableGroupProps, SortableHandle, type SortableHandleProps, SortableItem, type SortableItemProps, type SortableProps, type SpacingDensity, Stack, type StackProps, Swatch, SwatchGroup, type SwatchGroupProps, type SwatchProps, Switch, SwitchCard, type SwitchCardProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ThemeInput, ThemeToggle, ThreeScene, type ThreeSceneProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, ToolbarSlot, type ToolbarSlotProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypeScalePreset, type UseDataViewOptions, type UseScriptedDemoOptions, VideoPlayer, type VideoPlayerProps, asideVariants as appShellAsideVariants, footerVariants as appShellFooterVariants, headerVariants as appShellHeaderVariants, mainVariants as appShellMainVariants, navVariants as appShellNavVariants, applyThemeToRoot, badgeVariants, bannerVariants, buildFragmentShaderScene, builtInThemes, buttonVariants, calloutVariants, calmInput, cn, defaultPostPreset, defaultThemeId, deleteUserTheme, sleep as demoSleep, typeText as demoTypeText, duplicateTheme, energyInput, flexVariants, generateTheme, getComponentContract, getTheme, gridVariants, listContractedComponents, listThemes, listUserThemes, loadUserThemeInput, postPresets, rowVariants, saveUserTheme, sceneRegistry, setMotion, shaderPresetById, shaderPresets, shellVariants, stackVariants, swatchVariants, themeToCSSVars, toggleVariants, useCarouselApi, useDataView, useGradeTheme, useMaybeGradeTheme, useMotionScene, usePageActive, usePrefersReducedMotion, useReducedMotion, useScriptedDemo };
|