@atom63/ui-foundation 0.1.1-beta.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/README.md +83 -0
- package/dist/index.d.ts +2723 -0
- package/dist/index.js +3249 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2723 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Personalization axes — the single source of truth for every dimension the
|
|
3
|
+
* design system can be personalized along.
|
|
4
|
+
*
|
|
5
|
+
* Each axis declares its allowed values, default, the CSS mechanism/attribute the
|
|
6
|
+
* runtime stamps, and — critically — the token groups it OWNS, each with a build
|
|
7
|
+
* `status`. Read this to know what tokens exist and what still needs building or
|
|
8
|
+
* hardening. The runtime value tuples + types in `environment.ts` derive from
|
|
9
|
+
* here, so this stays authoritative.
|
|
10
|
+
*
|
|
11
|
+
* Live stampers:
|
|
12
|
+
* - `UIProvider` — designLanguage, mode, theme, brand, input, density, surface
|
|
13
|
+
* - `applyPersonalization` / PersonalizationController — mode, theme, brand,
|
|
14
|
+
* surface, surfaceTint, typeScale, radius, font, os, iconTheme
|
|
15
|
+
*/
|
|
16
|
+
type AxisCategory = 'platform' | 'appearance' | 'ergonomics' | 'system';
|
|
17
|
+
/** Build state of a token group an axis is responsible for. */
|
|
18
|
+
type TokenStatus = 'built' | 'partial' | 'planned';
|
|
19
|
+
interface AxisTokenOwnership {
|
|
20
|
+
/** Human label for the token group this axis drives. */
|
|
21
|
+
group: string;
|
|
22
|
+
/** Token pattern it controls, e.g. "--a63-control-height-*". */
|
|
23
|
+
tokens: string;
|
|
24
|
+
status: TokenStatus;
|
|
25
|
+
note?: string;
|
|
26
|
+
}
|
|
27
|
+
interface PersonalizationAxis {
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
|
+
description: string;
|
|
31
|
+
category: AxisCategory;
|
|
32
|
+
/**
|
|
33
|
+
* How the axis is applied in the DOM.
|
|
34
|
+
* - `attribute` — discrete `data-a63-*` value
|
|
35
|
+
* - `scalar` — continuous CSS custom property (e.g. `--a63-surface-tint`)
|
|
36
|
+
*/
|
|
37
|
+
mechanism: 'attribute' | 'scalar';
|
|
38
|
+
/** The attribute or custom property the runtime stamps. */
|
|
39
|
+
attribute: string;
|
|
40
|
+
/** Allowed values (for scalars: inclusive endpoints, e.g. `0%` · `100%`). */
|
|
41
|
+
values: readonly string[];
|
|
42
|
+
/** Default value. */
|
|
43
|
+
default: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether a live runtime currently stamps this axis
|
|
46
|
+
* (`UIProvider` and/or `PersonalizationController` / `applyPersonalization`).
|
|
47
|
+
*/
|
|
48
|
+
runtime: boolean;
|
|
49
|
+
/** Token groups this axis owns — the build/harden checklist. */
|
|
50
|
+
owns: readonly AxisTokenOwnership[];
|
|
51
|
+
}
|
|
52
|
+
declare const personalizationAxes: {
|
|
53
|
+
readonly designLanguage: {
|
|
54
|
+
readonly id: "designLanguage";
|
|
55
|
+
readonly label: "Design language";
|
|
56
|
+
readonly description: "Platform interaction conventions: component sizing, proportions, and interaction feedback. Owns NEITHER color nor shape (those are appearance).";
|
|
57
|
+
readonly category: "platform";
|
|
58
|
+
readonly mechanism: "attribute";
|
|
59
|
+
readonly attribute: "data-a63-design-language";
|
|
60
|
+
readonly values: readonly ["web", "ios"];
|
|
61
|
+
readonly default: "web";
|
|
62
|
+
readonly runtime: true;
|
|
63
|
+
readonly owns: readonly [{
|
|
64
|
+
readonly group: "control sizing";
|
|
65
|
+
readonly tokens: "--a63-control-height-*, --a63-control-padding-inline-*, --a63-control-font-size-*, --a63-control-font-weight";
|
|
66
|
+
readonly status: "built";
|
|
67
|
+
}, {
|
|
68
|
+
readonly group: "interaction feedback";
|
|
69
|
+
readonly tokens: "--a63-control-press-transform, --a63-control-feedback-ease";
|
|
70
|
+
readonly status: "built";
|
|
71
|
+
}, {
|
|
72
|
+
readonly group: "android / desktop";
|
|
73
|
+
readonly tokens: "(same control tokens, new [data-a63-design-language] scopes)";
|
|
74
|
+
readonly status: "planned";
|
|
75
|
+
readonly note: "only web + ios recipes exist today — defer until a second design language ships";
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
readonly mode: {
|
|
79
|
+
readonly id: "mode";
|
|
80
|
+
readonly label: "Mode";
|
|
81
|
+
readonly description: "Luminance: light/dark semantic colors. \"system\" resolves to light/dark at runtime before stamp.";
|
|
82
|
+
readonly category: "appearance";
|
|
83
|
+
readonly mechanism: "attribute";
|
|
84
|
+
readonly attribute: "data-a63-mode";
|
|
85
|
+
readonly values: readonly ["light", "dark", "system"];
|
|
86
|
+
readonly default: "light";
|
|
87
|
+
readonly runtime: true;
|
|
88
|
+
readonly owns: readonly [{
|
|
89
|
+
readonly group: "semantic colors";
|
|
90
|
+
readonly tokens: "--a63-surface-*, --a63-text-*, --a63-border-*, action *-hover";
|
|
91
|
+
readonly status: "built";
|
|
92
|
+
readonly note: "keys both .light/.dark class and [data-a63-mode] attribute";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
readonly theme: {
|
|
96
|
+
readonly id: "theme";
|
|
97
|
+
readonly label: "Theme";
|
|
98
|
+
readonly description: "Visual skin / material character: assigns gloss, shadow, bevel, texture, blur under [data-a63-theme]. Overrides token VALUES, never component structure. Theme-private stacks OK; shared scales stay in tokens/foundation (see docs/design-system/authoring-surfaces.md). Radius, type scale, and font are separate axes.";
|
|
99
|
+
readonly category: "appearance";
|
|
100
|
+
readonly mechanism: "attribute";
|
|
101
|
+
readonly attribute: "data-a63-theme";
|
|
102
|
+
readonly values: readonly ["modern", "aqua", "retro", "terminal"];
|
|
103
|
+
readonly default: "modern";
|
|
104
|
+
readonly runtime: true;
|
|
105
|
+
readonly owns: readonly [{
|
|
106
|
+
readonly group: "control / field / overlay material";
|
|
107
|
+
readonly tokens: "--a63-control-*, --a63-field-*, --a63-overlay-*, --a63-surface-shadow, gloss, highlight, texture";
|
|
108
|
+
readonly status: "built";
|
|
109
|
+
readonly note: "modern/aqua/retro/terminal ship material overrides under [data-a63-theme]";
|
|
110
|
+
}, {
|
|
111
|
+
readonly group: "foundation blur scale";
|
|
112
|
+
readonly tokens: "--blur-*";
|
|
113
|
+
readonly status: "built";
|
|
114
|
+
readonly note: "tokens/foundation/effects.css; Tailwind adapter re-references only";
|
|
115
|
+
}, {
|
|
116
|
+
readonly group: "theme value-override files";
|
|
117
|
+
readonly tokens: "themes/*.css under [data-a63-theme]";
|
|
118
|
+
readonly status: "built";
|
|
119
|
+
readonly note: "all four skins scaffolded: modern (identity), aqua (gel), terminal (CRT glow), retro (bevel)";
|
|
120
|
+
}, {
|
|
121
|
+
readonly group: "richer per-theme semantic re-skins";
|
|
122
|
+
readonly tokens: "aqua/terminal surface & text overrides";
|
|
123
|
+
readonly status: "partial";
|
|
124
|
+
readonly note: "aqua/terminal intentionally rewrite some semantic paint; inline material literals are deferred drift (docs/design-system/foundation-value-drift.md). control-shadow-active covered on modern/aqua/retro/terminal.";
|
|
125
|
+
}];
|
|
126
|
+
};
|
|
127
|
+
readonly brand: {
|
|
128
|
+
readonly id: "brand";
|
|
129
|
+
readonly label: "Brand";
|
|
130
|
+
readonly description: "Primary/accent color ramp (personalization). Remaps the whole brand tonal scale; only primary switches, status colors stay semantic. `auto` derives from wallpaper (async --color-auto-*).";
|
|
131
|
+
readonly category: "appearance";
|
|
132
|
+
readonly mechanism: "attribute";
|
|
133
|
+
readonly attribute: "data-a63-brand";
|
|
134
|
+
readonly values: readonly ["auto", "b1", "b2", "b3", "b4", "b5", "b6"];
|
|
135
|
+
readonly default: "b1";
|
|
136
|
+
readonly runtime: true;
|
|
137
|
+
readonly owns: readonly [{
|
|
138
|
+
readonly group: "brand ramp";
|
|
139
|
+
readonly tokens: "--a63-brand-50 … --a63-brand-950";
|
|
140
|
+
readonly status: "built";
|
|
141
|
+
readonly note: "`auto` falls back to b1 until the controller fills --color-auto-*";
|
|
142
|
+
}, {
|
|
143
|
+
readonly group: "primary action + focus";
|
|
144
|
+
readonly tokens: "--a63-action-primary, -hover, -foreground, --a63-focus-ring";
|
|
145
|
+
readonly status: "built";
|
|
146
|
+
readonly note: "declared on the brand scope so derived tokens re-resolve per ramp (tokens/brand.css)";
|
|
147
|
+
}];
|
|
148
|
+
};
|
|
149
|
+
readonly input: {
|
|
150
|
+
readonly id: "input";
|
|
151
|
+
readonly label: "Input";
|
|
152
|
+
readonly description: "Pointer ergonomics: touch targets and hit areas. Independent of design language.";
|
|
153
|
+
readonly category: "ergonomics";
|
|
154
|
+
readonly mechanism: "attribute";
|
|
155
|
+
readonly attribute: "data-a63-input";
|
|
156
|
+
readonly values: readonly ["touch", "pointer", "keyboard"];
|
|
157
|
+
readonly default: "pointer";
|
|
158
|
+
readonly runtime: true;
|
|
159
|
+
readonly owns: readonly [{
|
|
160
|
+
readonly group: "touch target";
|
|
161
|
+
readonly tokens: "--a63-control-min-target";
|
|
162
|
+
readonly status: "built";
|
|
163
|
+
}, {
|
|
164
|
+
readonly group: "hit slop / focus affordance";
|
|
165
|
+
readonly tokens: "(planned)";
|
|
166
|
+
readonly status: "planned";
|
|
167
|
+
readonly note: "no consumer yet; keep planned until a touch product needs extra hit area beyond min-target";
|
|
168
|
+
}];
|
|
169
|
+
};
|
|
170
|
+
readonly density: {
|
|
171
|
+
readonly id: "density";
|
|
172
|
+
readonly label: "Density";
|
|
173
|
+
readonly description: "Layout rhythm: proportional spacing scale.";
|
|
174
|
+
readonly category: "ergonomics";
|
|
175
|
+
readonly mechanism: "attribute";
|
|
176
|
+
readonly attribute: "data-a63-density";
|
|
177
|
+
readonly values: readonly ["compact", "comfortable"];
|
|
178
|
+
readonly default: "comfortable";
|
|
179
|
+
readonly runtime: true;
|
|
180
|
+
readonly owns: readonly [{
|
|
181
|
+
readonly group: "spacing rhythm";
|
|
182
|
+
readonly tokens: "--a63-space-unit, --a63-density-scale";
|
|
183
|
+
readonly status: "built";
|
|
184
|
+
}];
|
|
185
|
+
};
|
|
186
|
+
readonly surface: {
|
|
187
|
+
readonly id: "surface";
|
|
188
|
+
readonly label: "Surface";
|
|
189
|
+
readonly description: "Neutral surface palette (which greys) — the neutral counterpart to brand. Tint intensity is the sibling `surfaceTint` scalar axis.";
|
|
190
|
+
readonly category: "appearance";
|
|
191
|
+
readonly mechanism: "attribute";
|
|
192
|
+
readonly attribute: "data-a63-surface";
|
|
193
|
+
readonly values: readonly ["n1", "n2", "n3", "n4", "n5", "n6"];
|
|
194
|
+
readonly default: "n1";
|
|
195
|
+
readonly runtime: true;
|
|
196
|
+
readonly owns: readonly [{
|
|
197
|
+
readonly group: "surface palette";
|
|
198
|
+
readonly tokens: "--surface-light-* / --surface-dark-* (→ --a63-surface-*)";
|
|
199
|
+
readonly status: "built";
|
|
200
|
+
readonly note: "tokens/surface.css remaps the neutral ramp per [data-a63-surface]";
|
|
201
|
+
}];
|
|
202
|
+
};
|
|
203
|
+
readonly surfaceTint: {
|
|
204
|
+
readonly id: "surfaceTint";
|
|
205
|
+
readonly label: "Surface tint";
|
|
206
|
+
readonly description: "Continuous brand bend on semantic surfaces/borders (0–100%). Mixes ~6 semantic tokens toward lightness-matched --a63-brand-* steps.";
|
|
207
|
+
readonly category: "appearance";
|
|
208
|
+
readonly mechanism: "scalar";
|
|
209
|
+
readonly attribute: "--a63-surface-tint";
|
|
210
|
+
readonly values: readonly ["0%", "100%"];
|
|
211
|
+
readonly default: "0%";
|
|
212
|
+
readonly runtime: true;
|
|
213
|
+
readonly owns: readonly [{
|
|
214
|
+
readonly group: "semantic surface/border tint";
|
|
215
|
+
readonly tokens: "--a63-surface-*, --a63-border-* via color-mix toward --a63-brand-*";
|
|
216
|
+
readonly status: "built";
|
|
217
|
+
readonly note: "~12 mixes in tokens/semantics.css; aqua/terminal that fully re-skin surfaces skip brand tint";
|
|
218
|
+
}];
|
|
219
|
+
};
|
|
220
|
+
readonly typeScale: {
|
|
221
|
+
readonly id: "typeScale";
|
|
222
|
+
readonly label: "Type scale";
|
|
223
|
+
readonly description: "Global typographic scale multiplier. Independent of theme material.";
|
|
224
|
+
readonly category: "appearance";
|
|
225
|
+
readonly mechanism: "attribute";
|
|
226
|
+
readonly attribute: "data-a63-type-scale";
|
|
227
|
+
readonly values: readonly ["compact", "normal", "comfortable", "large"];
|
|
228
|
+
readonly default: "normal";
|
|
229
|
+
readonly runtime: true;
|
|
230
|
+
readonly owns: readonly [{
|
|
231
|
+
readonly group: "typography scale";
|
|
232
|
+
readonly tokens: "--typography-scale → type ramp";
|
|
233
|
+
readonly status: "built";
|
|
234
|
+
readonly note: "tokens/type-scale.css";
|
|
235
|
+
}];
|
|
236
|
+
};
|
|
237
|
+
readonly radius: {
|
|
238
|
+
readonly id: "radius";
|
|
239
|
+
readonly label: "Radius";
|
|
240
|
+
readonly description: "Corner-radius multiplier across the shared radius ramp. Independent of theme material.";
|
|
241
|
+
readonly category: "appearance";
|
|
242
|
+
readonly mechanism: "attribute";
|
|
243
|
+
readonly attribute: "data-a63-radius";
|
|
244
|
+
readonly values: readonly ["none", "subtle", "default", "round"];
|
|
245
|
+
readonly default: "default";
|
|
246
|
+
readonly runtime: true;
|
|
247
|
+
readonly owns: readonly [{
|
|
248
|
+
readonly group: "radius multiplier";
|
|
249
|
+
readonly tokens: "--radius-multiplier → --radius-*, --a63-radius-*";
|
|
250
|
+
readonly status: "built";
|
|
251
|
+
readonly note: "tokens/radius.css; themes do not override this axis today";
|
|
252
|
+
}];
|
|
253
|
+
};
|
|
254
|
+
readonly font: {
|
|
255
|
+
readonly id: "font";
|
|
256
|
+
readonly label: "Font";
|
|
257
|
+
readonly description: "Active type personality stack for UI chrome.";
|
|
258
|
+
readonly category: "appearance";
|
|
259
|
+
readonly mechanism: "attribute";
|
|
260
|
+
readonly attribute: "data-a63-font";
|
|
261
|
+
readonly values: readonly ["sans", "serif", "mono", "pixel"];
|
|
262
|
+
readonly default: "sans";
|
|
263
|
+
readonly runtime: true;
|
|
264
|
+
readonly owns: readonly [{
|
|
265
|
+
readonly group: "font family";
|
|
266
|
+
readonly tokens: "--font-family-* / active UI font mapping";
|
|
267
|
+
readonly status: "built";
|
|
268
|
+
readonly note: "tokens/font.css";
|
|
269
|
+
}];
|
|
270
|
+
};
|
|
271
|
+
readonly os: {
|
|
272
|
+
readonly id: "os";
|
|
273
|
+
readonly label: "OS";
|
|
274
|
+
readonly description: "OS/device chrome frame structure: window controls, launcher geometry. Peer of theme (paint) — not a visual skin. Distinct from designLanguage (interaction proportions).";
|
|
275
|
+
readonly category: "system";
|
|
276
|
+
readonly mechanism: "attribute";
|
|
277
|
+
readonly attribute: "data-a63-os";
|
|
278
|
+
readonly values: readonly ["macos", "windows"];
|
|
279
|
+
readonly default: "macos";
|
|
280
|
+
readonly runtime: true;
|
|
281
|
+
readonly owns: readonly [{
|
|
282
|
+
readonly group: "window + launcher structure";
|
|
283
|
+
readonly tokens: "--a63-os-window-*, --a63-os-launcher-* (+ --os-* compat aliases)";
|
|
284
|
+
readonly status: "built";
|
|
285
|
+
readonly note: "os/macos.css + os/windows.css";
|
|
286
|
+
}, {
|
|
287
|
+
readonly group: "caption / launcher chrome paint";
|
|
288
|
+
readonly tokens: "--a63-os-caption-*, --a63-os-launcher-*-background/indicator";
|
|
289
|
+
readonly status: "built";
|
|
290
|
+
readonly note: "platform-conventional chrome paint composed from semantics; allowed under OS axis (not theme)";
|
|
291
|
+
}];
|
|
292
|
+
};
|
|
293
|
+
readonly iconTheme: {
|
|
294
|
+
readonly id: "iconTheme";
|
|
295
|
+
readonly label: "Icon theme";
|
|
296
|
+
readonly description: "App-icon rendering style for OS chrome (dock, launcher). Stamped as an attribute; consumed in React (os63), not by CSS token math.";
|
|
297
|
+
readonly category: "system";
|
|
298
|
+
readonly mechanism: "attribute";
|
|
299
|
+
readonly attribute: "data-a63-icon-theme";
|
|
300
|
+
readonly values: readonly ["realistic", "color", "neutral", "primary"];
|
|
301
|
+
readonly default: "realistic";
|
|
302
|
+
readonly runtime: true;
|
|
303
|
+
readonly owns: readonly [{
|
|
304
|
+
readonly group: "app icon presentation";
|
|
305
|
+
readonly tokens: "(React icon themes in @atom63/os63)";
|
|
306
|
+
readonly status: "built";
|
|
307
|
+
readonly note: "attribute stamped; gradients use foundation --color-*; primary theme uses --a63-action-*";
|
|
308
|
+
}];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
type AxisId = keyof typeof personalizationAxes;
|
|
312
|
+
|
|
313
|
+
declare const visualArchetypeIds: readonly ["action", "toggle", "choice", "field", "range", "segment", "marker", "trigger", "menu", "overlay", "surface"];
|
|
314
|
+
type VisualArchetypeId = (typeof visualArchetypeIds)[number];
|
|
315
|
+
interface VisualArchetype {
|
|
316
|
+
id: VisualArchetypeId;
|
|
317
|
+
label: string;
|
|
318
|
+
description: string;
|
|
319
|
+
components: readonly string[];
|
|
320
|
+
contracts: readonly string[];
|
|
321
|
+
}
|
|
322
|
+
declare const visualArchetypes: {
|
|
323
|
+
readonly action: {
|
|
324
|
+
readonly id: "action";
|
|
325
|
+
readonly label: "Action controls";
|
|
326
|
+
readonly description: "Momentary controls that perform an action now.";
|
|
327
|
+
readonly components: readonly ["Button", "IconButton", "CopyButton", "DestinationLink", "DialogClose", "DrawerClose", "SplitButton", "ButtonGroup"];
|
|
328
|
+
readonly contracts: readonly ["control", "action"];
|
|
329
|
+
};
|
|
330
|
+
readonly toggle: {
|
|
331
|
+
readonly id: "toggle";
|
|
332
|
+
readonly label: "Toggle controls";
|
|
333
|
+
readonly description: "Persistent on/off or pressed controls.";
|
|
334
|
+
readonly components: readonly ["Toggle", "ToggleGroup"];
|
|
335
|
+
readonly contracts: readonly ["control", "toggle", "segment"];
|
|
336
|
+
};
|
|
337
|
+
readonly choice: {
|
|
338
|
+
readonly id: "choice";
|
|
339
|
+
readonly label: "Choice controls";
|
|
340
|
+
readonly description: "Form controls that expose checked, selected, or indeterminate value state.";
|
|
341
|
+
readonly components: readonly ["Checkbox", "Radio", "Switch"];
|
|
342
|
+
readonly contracts: readonly ["control", "choice", "selection"];
|
|
343
|
+
};
|
|
344
|
+
readonly field: {
|
|
345
|
+
readonly id: "field";
|
|
346
|
+
readonly label: "Field controls";
|
|
347
|
+
readonly description: "Editable or field-like data-entry surfaces.";
|
|
348
|
+
readonly components: readonly ["Input", "Textarea", "InputOTP", "SelectTrigger", "AutocompleteInput", "Form"];
|
|
349
|
+
readonly contracts: readonly ["control", "field", "trigger"];
|
|
350
|
+
};
|
|
351
|
+
readonly range: {
|
|
352
|
+
readonly id: "range";
|
|
353
|
+
readonly label: "Range and track controls";
|
|
354
|
+
readonly description: "Controls or indicators that represent a value along a rail.";
|
|
355
|
+
readonly components: readonly ["Slider", "Progress", "Scrollbar"];
|
|
356
|
+
readonly contracts: readonly ["control", "track"];
|
|
357
|
+
};
|
|
358
|
+
readonly segment: {
|
|
359
|
+
readonly id: "segment";
|
|
360
|
+
readonly label: "Segmented selection";
|
|
361
|
+
readonly description: "One-of-many peer selections presented as a shared track or grouped row.";
|
|
362
|
+
readonly components: readonly ["SegmentedControl", "Tabs"];
|
|
363
|
+
readonly contracts: readonly ["control", "track", "segment"];
|
|
364
|
+
};
|
|
365
|
+
readonly marker: {
|
|
366
|
+
readonly id: "marker";
|
|
367
|
+
readonly label: "Markers and keycaps";
|
|
368
|
+
readonly description: "Compact presentational labels, statuses, and keyboard hints.";
|
|
369
|
+
readonly components: readonly ["Avatar", "Badge", "Kbd"];
|
|
370
|
+
readonly contracts: readonly ["marker"];
|
|
371
|
+
};
|
|
372
|
+
readonly trigger: {
|
|
373
|
+
readonly id: "trigger";
|
|
374
|
+
readonly label: "Triggers";
|
|
375
|
+
readonly description: "Controls whose primary job is to open another surface.";
|
|
376
|
+
readonly components: readonly ["DropdownMenuTrigger", "DialogTrigger", "DrawerTrigger", "MenuTrigger", "MenubarTrigger", "NavigationMenuTrigger", "PopoverTrigger", "SelectTrigger", "ConnectedPanelTrigger", "CollapsibleTrigger"];
|
|
377
|
+
readonly contracts: readonly ["control", "trigger"];
|
|
378
|
+
};
|
|
379
|
+
readonly menu: {
|
|
380
|
+
readonly id: "menu";
|
|
381
|
+
readonly label: "Menus and option lists";
|
|
382
|
+
readonly description: "Dense action or selection rows inside a floating or embedded list.";
|
|
383
|
+
readonly components: readonly ["Menu", "ContextMenu", "DropdownMenu", "MenuItem", "CommandItem", "SelectItem", "AutocompleteItem"];
|
|
384
|
+
readonly contracts: readonly ["menu", "overlay"];
|
|
385
|
+
};
|
|
386
|
+
readonly overlay: {
|
|
387
|
+
readonly id: "overlay";
|
|
388
|
+
readonly label: "Overlay surfaces";
|
|
389
|
+
readonly description: "Floating material above the page or current surface.";
|
|
390
|
+
readonly components: readonly ["Popover", "Tooltip", "HoverCard", "Dialog", "Drawer", "Sheet", "AlertDialog"];
|
|
391
|
+
readonly contracts: readonly ["overlay"];
|
|
392
|
+
};
|
|
393
|
+
readonly surface: {
|
|
394
|
+
readonly id: "surface";
|
|
395
|
+
readonly label: "Static content surfaces";
|
|
396
|
+
readonly description: "In-flow containers and content surfaces that do not inherently manipulate state.";
|
|
397
|
+
readonly components: readonly ["Card", "Frame", "Alert", "ConnectedPanel", "DialogPopup", "DrawerContent", "Empty", "Table", "List", "Toaster"];
|
|
398
|
+
readonly contracts: readonly ["surface"];
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
declare const crossRendererContracts: readonly [{
|
|
403
|
+
readonly id: "button";
|
|
404
|
+
readonly foundationContract: "button";
|
|
405
|
+
readonly foundationAxis: "states";
|
|
406
|
+
readonly catalogItem: "button";
|
|
407
|
+
readonly reactRenderer: "Button";
|
|
408
|
+
readonly swiftUIRenderer: "AtomButton";
|
|
409
|
+
readonly intent: "Trigger a user-initiated action with explicit hierarchy and feedback.";
|
|
410
|
+
readonly parity: "recipe";
|
|
411
|
+
readonly requiredStates: readonly ["rest", "pressed", "disabled", "loading"];
|
|
412
|
+
readonly sharedOutcomes: readonly ["action-fires-once", "loading-blocks-repeat-activation", "disabled-prevents-activation"];
|
|
413
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "announces-loading", "disabled-while-loading"];
|
|
414
|
+
readonly motion: {
|
|
415
|
+
readonly kind: "press-feedback";
|
|
416
|
+
readonly durationToken: "motion-control-feedback";
|
|
417
|
+
readonly easing: "ease-out";
|
|
418
|
+
readonly direction: "none";
|
|
419
|
+
readonly reducedMotion: "none";
|
|
420
|
+
};
|
|
421
|
+
readonly platformAdaptations: {
|
|
422
|
+
readonly react: readonly ["Uses HTML button semantics with pointer and focus-visible feedback."];
|
|
423
|
+
readonly swiftUI: readonly ["Uses SwiftUI Button with native touch and keyboard activation."];
|
|
424
|
+
};
|
|
425
|
+
}, {
|
|
426
|
+
readonly id: "dialog";
|
|
427
|
+
readonly foundationContract: "dialog";
|
|
428
|
+
readonly foundationAxis: "states";
|
|
429
|
+
readonly catalogItem: "sheet";
|
|
430
|
+
readonly reactRenderer: "Dialog";
|
|
431
|
+
readonly swiftUIRenderer: "sheet(isPresented:) / presentationDetents(_:)";
|
|
432
|
+
readonly intent: "Temporarily move the user into a focused modal task without losing the originating context.";
|
|
433
|
+
readonly parity: "platform-adaptive";
|
|
434
|
+
readonly requiredStates: readonly ["closed", "open", "focus-visible"];
|
|
435
|
+
readonly sharedOutcomes: readonly ["opening-presents-a-modal-context", "background-interaction-is-blocked-while-open", "dismissal-returns-to-the-originating-context"];
|
|
436
|
+
readonly accessibilityOutcomes: readonly ["exposes-modal-title", "keeps-assistive-focus-in-the-modal-context", "restores-access-to-the-originating-control"];
|
|
437
|
+
readonly platformAdaptations: {
|
|
438
|
+
readonly react: readonly ["Uses a compound modal dialog with a portal, focus containment, Escape dismissal, and trigger focus restoration."];
|
|
439
|
+
readonly swiftUI: readonly ["Uses the native sheet presentation, adaptive detents, swipe dismissal, and a NavigationStack for modal task hierarchy."];
|
|
440
|
+
};
|
|
441
|
+
}, {
|
|
442
|
+
readonly id: "alert-dialog";
|
|
443
|
+
readonly foundationContract: "alert-dialog";
|
|
444
|
+
readonly foundationAxis: "states";
|
|
445
|
+
readonly catalogItem: "confirmationDialog";
|
|
446
|
+
readonly reactRenderer: "AlertDialog";
|
|
447
|
+
readonly swiftUIRenderer: "alert(_:isPresented:actions:message:)";
|
|
448
|
+
readonly intent: "Require an explicit decision before committing or abandoning a consequential action.";
|
|
449
|
+
readonly parity: "platform-adaptive";
|
|
450
|
+
readonly requiredStates: readonly ["closed", "open"];
|
|
451
|
+
readonly sharedOutcomes: readonly ["consequential-action-requires-explicit-confirmation", "cancel-dismisses-without-performing-the-action", "confirmation-performs-the-action-once-and-dismisses"];
|
|
452
|
+
readonly accessibilityOutcomes: readonly ["exposes-alert-dialog-title", "exposes-consequence-description", "identifies-cancel-and-confirm-actions"];
|
|
453
|
+
readonly platformAdaptations: {
|
|
454
|
+
readonly react: readonly ["Uses an alertdialog portal with guarded outside and Escape dismissal plus explicit action and cancel controls."];
|
|
455
|
+
readonly swiftUI: readonly ["Uses a native alert or confirmationDialog with platform button roles, ordering, and compact presentation."];
|
|
456
|
+
};
|
|
457
|
+
}, {
|
|
458
|
+
readonly id: "field";
|
|
459
|
+
readonly foundationContract: "field";
|
|
460
|
+
readonly foundationAxis: "states";
|
|
461
|
+
readonly catalogItem: "formField";
|
|
462
|
+
readonly reactRenderer: "Field";
|
|
463
|
+
readonly swiftUIRenderer: "AtomFormField";
|
|
464
|
+
readonly intent: "Associate a control with its label, supporting description, and validation feedback.";
|
|
465
|
+
readonly parity: "strict";
|
|
466
|
+
readonly requiredStates: readonly ["default", "invalid", "disabled"];
|
|
467
|
+
readonly sharedOutcomes: readonly ["label-identifies-control", "description-explains-input", "invalid-state-exposes-error"];
|
|
468
|
+
readonly accessibilityOutcomes: readonly ["associates-label", "associates-description", "announces-error"];
|
|
469
|
+
readonly platformAdaptations: {
|
|
470
|
+
readonly react: readonly ["Uses DOM label and description relationships."];
|
|
471
|
+
readonly swiftUI: readonly ["Uses native Form layout and may reflow vertically for Dynamic Type."];
|
|
472
|
+
};
|
|
473
|
+
}, {
|
|
474
|
+
readonly id: "input";
|
|
475
|
+
readonly foundationContract: "input";
|
|
476
|
+
readonly foundationAxis: "states";
|
|
477
|
+
readonly catalogItem: "textField";
|
|
478
|
+
readonly reactRenderer: "Input";
|
|
479
|
+
readonly swiftUIRenderer: "AtomTextField";
|
|
480
|
+
readonly intent: "Capture a single-line text value with visible focus and validation state.";
|
|
481
|
+
readonly parity: "platform-adaptive";
|
|
482
|
+
readonly requiredStates: readonly ["rest", "focus", "disabled", "invalid"];
|
|
483
|
+
readonly sharedOutcomes: readonly ["value-remains-editable-when-enabled", "focus-is-visible", "invalid-state-is-announced"];
|
|
484
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "exposes-value", "announces-invalid"];
|
|
485
|
+
readonly platformAdaptations: {
|
|
486
|
+
readonly react: readonly ["Uses HTML input behavior, browser autofill, and web focus chrome."];
|
|
487
|
+
readonly swiftUI: readonly ["Uses TextField or SecureField with the native keyboard and autofill.", "Adapts visual chrome when a grouped Form or sheet container owns the row surface without changing label, value, focus, disabled, or validation semantics."];
|
|
488
|
+
};
|
|
489
|
+
}, {
|
|
490
|
+
readonly id: "textarea";
|
|
491
|
+
readonly foundationContract: "textarea";
|
|
492
|
+
readonly foundationAxis: "states";
|
|
493
|
+
readonly catalogItem: "textEditor";
|
|
494
|
+
readonly reactRenderer: "Textarea";
|
|
495
|
+
readonly swiftUIRenderer: "AtomTextEditor";
|
|
496
|
+
readonly intent: "Capture a multi-line text value while preserving editing and validation semantics.";
|
|
497
|
+
readonly parity: "platform-adaptive";
|
|
498
|
+
readonly requiredStates: readonly ["rest", "focus", "disabled", "invalid"];
|
|
499
|
+
readonly sharedOutcomes: readonly ["multi-line-value-remains-editable", "focus-is-visible", "invalid-state-is-announced"];
|
|
500
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "exposes-value", "announces-invalid"];
|
|
501
|
+
readonly platformAdaptations: {
|
|
502
|
+
readonly react: readonly ["Uses native browser textarea scrolling and selection."];
|
|
503
|
+
readonly swiftUI: readonly ["Uses TextEditor scrolling, selection, and keyboard behavior.", "Adapts visual chrome when a grouped Form or sheet container owns the row surface without changing editing, focus, disabled, or validation semantics."];
|
|
504
|
+
};
|
|
505
|
+
}, {
|
|
506
|
+
readonly id: "switch";
|
|
507
|
+
readonly foundationContract: "switch";
|
|
508
|
+
readonly foundationAxis: "states";
|
|
509
|
+
readonly catalogItem: "toggle";
|
|
510
|
+
readonly reactRenderer: "Switch";
|
|
511
|
+
readonly swiftUIRenderer: "AtomToggle";
|
|
512
|
+
readonly intent: "Change a persistent boolean setting.";
|
|
513
|
+
readonly parity: "platform-adaptive";
|
|
514
|
+
readonly requiredStates: readonly ["off", "on", "disabled"];
|
|
515
|
+
readonly sharedOutcomes: readonly ["value-is-boolean", "activation-toggles-value", "disabled-prevents-change"];
|
|
516
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "exposes-boolean-value", "preserves-native-control-role"];
|
|
517
|
+
readonly platformAdaptations: {
|
|
518
|
+
readonly react: readonly ["Uses web switch semantics with pointer and focus-visible feedback."];
|
|
519
|
+
readonly swiftUI: readonly ["Uses native Toggle geometry and platform interaction feedback."];
|
|
520
|
+
};
|
|
521
|
+
}, {
|
|
522
|
+
readonly id: "select";
|
|
523
|
+
readonly foundationContract: "select";
|
|
524
|
+
readonly foundationAxis: "states";
|
|
525
|
+
readonly catalogItem: "picker";
|
|
526
|
+
readonly reactRenderer: "Select";
|
|
527
|
+
readonly swiftUIRenderer: "Picker";
|
|
528
|
+
readonly intent: "Choose one value from a finite set while keeping the current selection visible.";
|
|
529
|
+
readonly parity: "platform-adaptive";
|
|
530
|
+
readonly requiredStates: readonly ["closed", "open", "disabled", "selected-item", "disabled-item"];
|
|
531
|
+
readonly sharedOutcomes: readonly ["current-selection-remains-visible", "activation-reveals-available-options", "choosing-an-option-updates-the-value-once", "disabled-controls-and-options-prevent-selection"];
|
|
532
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "exposes-selected-value", "preserves-single-selection-semantics"];
|
|
533
|
+
readonly platformAdaptations: {
|
|
534
|
+
readonly react: readonly ["Uses web combobox and listbox semantics with keyboard highlighting, a positioned popup, and focus-visible feedback."];
|
|
535
|
+
readonly swiftUI: readonly ["Uses native Picker presentation and platform-selected styles such as menu, navigation link, wheel, or segmented control."];
|
|
536
|
+
};
|
|
537
|
+
}, {
|
|
538
|
+
readonly id: "toggle";
|
|
539
|
+
readonly foundationContract: "toggle";
|
|
540
|
+
readonly foundationAxis: "states";
|
|
541
|
+
readonly catalogItem: "chip";
|
|
542
|
+
readonly reactRenderer: "Toggle";
|
|
543
|
+
readonly swiftUIRenderer: "AtomChip";
|
|
544
|
+
readonly intent: "Select or deselect a compact option without leaving the current context.";
|
|
545
|
+
readonly parity: "platform-adaptive";
|
|
546
|
+
readonly requiredStates: readonly ["off", "on", "disabled"];
|
|
547
|
+
readonly sharedOutcomes: readonly ["selected-state-is-visible", "activation-toggles-selection", "disabled-prevents-change"];
|
|
548
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "announces-selected-state", "preserves-button-role"];
|
|
549
|
+
readonly platformAdaptations: {
|
|
550
|
+
readonly react: readonly ["Uses a pressed-state web toggle with hover and focus-visible feedback."];
|
|
551
|
+
readonly swiftUI: readonly ["Uses a touch-sized button-backed chip for compact filter selection."];
|
|
552
|
+
};
|
|
553
|
+
}, {
|
|
554
|
+
readonly id: "card";
|
|
555
|
+
readonly foundationContract: "card";
|
|
556
|
+
readonly foundationAxis: "states";
|
|
557
|
+
readonly catalogItem: "card";
|
|
558
|
+
readonly reactRenderer: "Card";
|
|
559
|
+
readonly swiftUIRenderer: "AtomCard";
|
|
560
|
+
readonly intent: "Group related content and optionally expose one primary action.";
|
|
561
|
+
readonly parity: "platform-adaptive";
|
|
562
|
+
readonly requiredStates: readonly ["rest", "interactive", "focus-visible"];
|
|
563
|
+
readonly sharedOutcomes: readonly ["content-order-is-preserved", "static-card-does-not-imply-action", "interactive-card-has-one-primary-action"];
|
|
564
|
+
readonly accessibilityOutcomes: readonly ["preserves-content-order", "does-not-imply-action-when-static"];
|
|
565
|
+
readonly platformAdaptations: {
|
|
566
|
+
readonly react: readonly ["Hover and focus-visible may communicate interactivity."];
|
|
567
|
+
readonly swiftUI: readonly ["Touch and keyboard feedback replace pointer-only hover affordances."];
|
|
568
|
+
};
|
|
569
|
+
}, {
|
|
570
|
+
readonly id: "destination-link";
|
|
571
|
+
readonly foundationContract: "destination-link";
|
|
572
|
+
readonly foundationAxis: "states";
|
|
573
|
+
readonly catalogItem: "destinationLink";
|
|
574
|
+
readonly reactRenderer: "DestinationLink";
|
|
575
|
+
readonly swiftUIRenderer: "NavigationLink / Link";
|
|
576
|
+
readonly intent: "Move to an internal destination or open an external destination while making that distinction explicit.";
|
|
577
|
+
readonly parity: "platform-adaptive";
|
|
578
|
+
readonly requiredStates: readonly ["rest", "focus-visible"];
|
|
579
|
+
readonly sharedOutcomes: readonly ["internal-destination-preserves-application-navigation", "external-destination-uses-platform-external-navigation", "destination-kind-remains-distinguishable"];
|
|
580
|
+
readonly accessibilityOutcomes: readonly ["exposes-link-label", "announces-external-destination-behavior", "preserves-native-link-semantics"];
|
|
581
|
+
readonly platformAdaptations: {
|
|
582
|
+
readonly react: readonly ["Uses a router-provided internal link and a protected new-tab anchor for external destinations."];
|
|
583
|
+
readonly swiftUI: readonly ["Uses NavigationLink for typed in-app navigation and Link or openURL for external destinations."];
|
|
584
|
+
};
|
|
585
|
+
}, {
|
|
586
|
+
readonly id: "badge";
|
|
587
|
+
readonly foundationContract: "badge";
|
|
588
|
+
readonly foundationAxis: "variants";
|
|
589
|
+
readonly catalogItem: "badge";
|
|
590
|
+
readonly reactRenderer: "Badge";
|
|
591
|
+
readonly swiftUIRenderer: "AtomBadge";
|
|
592
|
+
readonly intent: "Communicate a compact label or semantic status alongside primary content.";
|
|
593
|
+
readonly parity: "strict";
|
|
594
|
+
readonly requiredStates: readonly ["neutral", "accent", "success", "warning", "error"];
|
|
595
|
+
readonly sharedOutcomes: readonly ["label-remains-readable-without-color", "semantic-tone-retains-meaning"];
|
|
596
|
+
readonly accessibilityOutcomes: readonly ["text-does-not-rely-on-color"];
|
|
597
|
+
readonly platformAdaptations: {
|
|
598
|
+
readonly react: readonly ["May expose palette-only decorative variants outside the shared semantic subset."];
|
|
599
|
+
readonly swiftUI: readonly ["Uses a compact capsule that expands for Dynamic Type."];
|
|
600
|
+
};
|
|
601
|
+
}, {
|
|
602
|
+
readonly id: "segmented-control";
|
|
603
|
+
readonly foundationContract: "segmented-control";
|
|
604
|
+
readonly foundationAxis: "states";
|
|
605
|
+
readonly catalogItem: "segmentedControl";
|
|
606
|
+
readonly reactRenderer: "SegmentedControl";
|
|
607
|
+
readonly swiftUIRenderer: "Picker(.segmented)";
|
|
608
|
+
readonly intent: "Switch a compact local mode or view between a small set of mutually exclusive options.";
|
|
609
|
+
readonly parity: "platform-adaptive";
|
|
610
|
+
readonly requiredStates: readonly ["rest", "selected", "disabled"];
|
|
611
|
+
readonly sharedOutcomes: readonly ["one-segment-is-selected-at-a-time", "activation-updates-the-selection-once", "disabled-segment-prevents-selection"];
|
|
612
|
+
readonly accessibilityOutcomes: readonly ["exposes-each-segment-label", "exposes-selected-state", "preserves-single-selection-semantics"];
|
|
613
|
+
readonly platformAdaptations: {
|
|
614
|
+
readonly react: readonly ["Uses a tab-backed segmented track with focus-visible feedback and an optional animated selection backplate."];
|
|
615
|
+
readonly swiftUI: readonly ["Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native."];
|
|
616
|
+
};
|
|
617
|
+
}, {
|
|
618
|
+
readonly id: "radio";
|
|
619
|
+
readonly foundationContract: "radio";
|
|
620
|
+
readonly foundationAxis: "states";
|
|
621
|
+
readonly catalogItem: "radioGroup";
|
|
622
|
+
readonly reactRenderer: "RadioGroup / Radio";
|
|
623
|
+
readonly swiftUIRenderer: "Picker(.inline) / AtomSelectionRow group";
|
|
624
|
+
readonly intent: "Choose exactly one value from a visible set of mutually exclusive options.";
|
|
625
|
+
readonly parity: "platform-adaptive";
|
|
626
|
+
readonly requiredStates: readonly ["unchecked", "checked", "disabled"];
|
|
627
|
+
readonly sharedOutcomes: readonly ["exactly-one-option-may-be-selected", "activation-moves-selection-to-the-chosen-option", "disabled-option-prevents-selection"];
|
|
628
|
+
readonly accessibilityOutcomes: readonly ["exposes-group-label", "exposes-option-labels-and-selected-state", "preserves-single-selection-semantics"];
|
|
629
|
+
readonly platformAdaptations: {
|
|
630
|
+
readonly react: readonly ["Uses radiogroup and radio semantics with circular indicators and keyboard movement."];
|
|
631
|
+
readonly swiftUI: readonly ["Uses an inline Picker or grouped AtomSelectionRow controls with native selected traits and touch targets."];
|
|
632
|
+
};
|
|
633
|
+
}, {
|
|
634
|
+
readonly id: "slider";
|
|
635
|
+
readonly foundationContract: "slider";
|
|
636
|
+
readonly foundationAxis: "states";
|
|
637
|
+
readonly catalogItem: "slider";
|
|
638
|
+
readonly reactRenderer: "Slider";
|
|
639
|
+
readonly swiftUIRenderer: "Slider";
|
|
640
|
+
readonly intent: "Adjust a bounded numeric value through direct manipulation or assistive increment and decrement actions.";
|
|
641
|
+
readonly parity: "platform-adaptive";
|
|
642
|
+
readonly requiredStates: readonly ["rest", "dragging", "disabled"];
|
|
643
|
+
readonly sharedOutcomes: readonly ["value-remains-within-the-declared-range", "interaction-updates-value-using-the-declared-step", "disabled-control-prevents-value-change"];
|
|
644
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "exposes-current-value-and-range", "supports-adjustable-actions"];
|
|
645
|
+
readonly platformAdaptations: {
|
|
646
|
+
readonly react: readonly ["Supports horizontal or vertical orientation and optional multi-thumb ranges through web pointer and keyboard input."];
|
|
647
|
+
readonly swiftUI: readonly ["Uses the native horizontal Slider with platform drag, keyboard, and accessibility-adjustable behavior."];
|
|
648
|
+
};
|
|
649
|
+
}, {
|
|
650
|
+
readonly id: "dropdown-menu";
|
|
651
|
+
readonly foundationContract: "dropdown-menu";
|
|
652
|
+
readonly foundationAxis: "states";
|
|
653
|
+
readonly catalogItem: "menu";
|
|
654
|
+
readonly reactRenderer: "DropdownMenu";
|
|
655
|
+
readonly swiftUIRenderer: "Menu";
|
|
656
|
+
readonly intent: "Present a compact set of contextual actions or choices without navigating away from the current task.";
|
|
657
|
+
readonly parity: "platform-adaptive";
|
|
658
|
+
readonly requiredStates: readonly ["closed", "open", "disabled", "checked", "destructive"];
|
|
659
|
+
readonly sharedOutcomes: readonly ["enabled-action-executes-once-and-dismisses-the-menu", "disabled-action-does-not-execute", "checked-choice-exposes-its-current-state", "destructive-action-retains-destructive-intent"];
|
|
660
|
+
readonly accessibilityOutcomes: readonly ["trigger-exposes-menu-availability", "items-expose-label-role-and-disabled-state", "checked-items-expose-selected-or-checked-state"];
|
|
661
|
+
readonly platformAdaptations: {
|
|
662
|
+
readonly react: readonly ["Uses a focus-managed popup menu with keyboard navigation, checked items, submenus, and explicit destructive styling."];
|
|
663
|
+
readonly swiftUI: readonly ["Uses native Menu with Button roles, Toggle or Picker choices, and platform-owned presentation and keyboard behavior."];
|
|
664
|
+
};
|
|
665
|
+
}, {
|
|
666
|
+
readonly id: "accordion";
|
|
667
|
+
readonly foundationContract: "accordion";
|
|
668
|
+
readonly foundationAxis: "states";
|
|
669
|
+
readonly catalogItem: "disclosureGroup";
|
|
670
|
+
readonly reactRenderer: "Accordion";
|
|
671
|
+
readonly swiftUIRenderer: "DisclosureGroup";
|
|
672
|
+
readonly intent: "Reveal or hide supporting content in place while preserving the surrounding context.";
|
|
673
|
+
readonly parity: "platform-adaptive";
|
|
674
|
+
readonly requiredStates: readonly ["closed", "open", "disabled"];
|
|
675
|
+
readonly sharedOutcomes: readonly ["activation-toggles-associated-content-visibility", "expanded-state-matches-content-visibility", "disabled-trigger-prevents-disclosure-change"];
|
|
676
|
+
readonly accessibilityOutcomes: readonly ["trigger-exposes-expanded-state", "trigger-is-associated-with-disclosed-content", "disabled-trigger-exposes-disabled-state"];
|
|
677
|
+
readonly platformAdaptations: {
|
|
678
|
+
readonly react: readonly ["Uses button and region disclosure semantics with optional single or multiple open sections."];
|
|
679
|
+
readonly swiftUI: readonly ["Uses DisclosureGroup with native indicator geometry, animation, and list integration."];
|
|
680
|
+
};
|
|
681
|
+
}, {
|
|
682
|
+
readonly id: "calendar";
|
|
683
|
+
readonly foundationContract: "calendar";
|
|
684
|
+
readonly foundationAxis: "states";
|
|
685
|
+
readonly catalogItem: "datePicker";
|
|
686
|
+
readonly reactRenderer: "Calendar";
|
|
687
|
+
readonly swiftUIRenderer: "DatePicker";
|
|
688
|
+
readonly intent: "Select an allowed calendar date while understanding its day, month, and current selection.";
|
|
689
|
+
readonly parity: "platform-adaptive";
|
|
690
|
+
readonly requiredStates: readonly ["rest", "selected", "disabled"];
|
|
691
|
+
readonly sharedOutcomes: readonly ["selection-updates-to-an-allowed-date", "disabled-date-prevents-selection", "selected-date-remains-visible"];
|
|
692
|
+
readonly accessibilityOutcomes: readonly ["exposes-control-label", "dates-expose-complete-date-names", "selected-date-exposes-selected-state"];
|
|
693
|
+
readonly platformAdaptations: {
|
|
694
|
+
readonly react: readonly ["Uses a visible calendar grid and may support single, multiple, or range selection."];
|
|
695
|
+
readonly swiftUI: readonly ["Uses DatePicker with platform-owned compact, graphical, or field presentation and declared date bounds."];
|
|
696
|
+
};
|
|
697
|
+
}, {
|
|
698
|
+
readonly id: "search-field";
|
|
699
|
+
readonly foundationContract: "search-field";
|
|
700
|
+
readonly foundationAxis: "states";
|
|
701
|
+
readonly catalogItem: "search";
|
|
702
|
+
readonly reactRenderer: "SearchField";
|
|
703
|
+
readonly swiftUIRenderer: "searchable(text:prompt:)";
|
|
704
|
+
readonly intent: "Find or filter relevant content by editing a query without leaving the current collection.";
|
|
705
|
+
readonly parity: "platform-adaptive";
|
|
706
|
+
readonly requiredStates: readonly ["empty", "query", "focus", "disabled"];
|
|
707
|
+
readonly sharedOutcomes: readonly ["editing-updates-the-query", "clear-empties-the-query-and-preserves-input-context", "submit-commits-the-current-query-once", "disabled-search-prevents-editing-and-clear"];
|
|
708
|
+
readonly accessibilityOutcomes: readonly ["exposes-search-input-role-and-label", "clear-action-has-an-accessible-label", "disabled-state-is-exposed"];
|
|
709
|
+
readonly platformAdaptations: {
|
|
710
|
+
readonly react: readonly ["Uses a labeled native search input with an explicit clear button and native form submission."];
|
|
711
|
+
readonly swiftUI: readonly ["Uses searchable so placement, cancel, clear, suggestions, keyboard, and focus presentation follow the active Apple platform."];
|
|
712
|
+
};
|
|
713
|
+
}, {
|
|
714
|
+
readonly id: "tabs";
|
|
715
|
+
readonly foundationContract: "tabs";
|
|
716
|
+
readonly foundationAxis: "states";
|
|
717
|
+
readonly catalogItem: "tabs";
|
|
718
|
+
readonly reactRenderer: "Tabs";
|
|
719
|
+
readonly swiftUIRenderer: "TabView";
|
|
720
|
+
readonly intent: "Switch between peer destinations or content views while keeping one selection active.";
|
|
721
|
+
readonly parity: "platform-adaptive";
|
|
722
|
+
readonly requiredStates: readonly ["rest", "selected"];
|
|
723
|
+
readonly sharedOutcomes: readonly ["one-tab-is-selected-at-a-time", "selection-reveals-the-associated-content", "selected-tab-remains-visually-distinguishable"];
|
|
724
|
+
readonly accessibilityOutcomes: readonly ["exposes-tab-labels", "exposes-selected-state", "associates-selection-with-visible-content"];
|
|
725
|
+
readonly platformAdaptations: {
|
|
726
|
+
readonly react: readonly ["Uses tablist, tab, and tabpanel semantics with keyboard navigation and a visual indicator."];
|
|
727
|
+
readonly swiftUI: readonly ["Uses native TabView presentation, which may render as a tab bar, sidebar, or page control by platform and context."];
|
|
728
|
+
};
|
|
729
|
+
}, {
|
|
730
|
+
readonly id: "avatar";
|
|
731
|
+
readonly foundationContract: "avatar";
|
|
732
|
+
readonly foundationAxis: "states";
|
|
733
|
+
readonly catalogItem: "avatar";
|
|
734
|
+
readonly reactRenderer: "Avatar";
|
|
735
|
+
readonly swiftUIRenderer: "AtomAvatar";
|
|
736
|
+
readonly intent: "Represent a person or entity with an image and identity-preserving fallback.";
|
|
737
|
+
readonly parity: "strict";
|
|
738
|
+
readonly requiredStates: readonly ["loading", "loaded", "fallback"];
|
|
739
|
+
readonly sharedOutcomes: readonly ["accessible-name-is-preserved", "fallback-preserves-identity", "loading-does-not-expose-empty-image"];
|
|
740
|
+
readonly accessibilityOutcomes: readonly ["exposes-accessible-name", "fallback-preserves-identity"];
|
|
741
|
+
readonly platformAdaptations: {
|
|
742
|
+
readonly react: readonly ["Uses browser image loading and DOM fallback composition."];
|
|
743
|
+
readonly swiftUI: readonly ["Uses native image decoding and SwiftUI loading phases."];
|
|
744
|
+
};
|
|
745
|
+
}, {
|
|
746
|
+
readonly id: "empty";
|
|
747
|
+
readonly foundationContract: "empty";
|
|
748
|
+
readonly foundationAxis: "states";
|
|
749
|
+
readonly catalogItem: "contentState";
|
|
750
|
+
readonly reactRenderer: "Empty";
|
|
751
|
+
readonly swiftUIRenderer: "AtomContentStateView";
|
|
752
|
+
readonly intent: "Explain absent or unavailable content and provide an appropriate recovery path.";
|
|
753
|
+
readonly parity: "platform-adaptive";
|
|
754
|
+
readonly requiredStates: readonly ["empty", "error"];
|
|
755
|
+
readonly sharedOutcomes: readonly ["heading-explains-state", "supporting-copy-provides-context", "recovery-action-remains-available"];
|
|
756
|
+
readonly accessibilityOutcomes: readonly ["exposes-heading", "exposes-recovery-action", "preserves-reading-order"];
|
|
757
|
+
readonly platformAdaptations: {
|
|
758
|
+
readonly react: readonly ["Uses composable Empty slots for illustration, copy, and action."];
|
|
759
|
+
readonly swiftUI: readonly ["Uses ContentUnavailableView while preserving recovery intent and hierarchy."];
|
|
760
|
+
};
|
|
761
|
+
}, {
|
|
762
|
+
readonly id: "alert";
|
|
763
|
+
readonly foundationContract: "alert";
|
|
764
|
+
readonly foundationAxis: "variants";
|
|
765
|
+
readonly catalogItem: "notice";
|
|
766
|
+
readonly reactRenderer: "Alert";
|
|
767
|
+
readonly swiftUIRenderer: "AtomNotice";
|
|
768
|
+
readonly intent: "Communicate persistent semantic feedback and an optional recovery action.";
|
|
769
|
+
readonly parity: "strict";
|
|
770
|
+
readonly requiredStates: readonly ["info", "success", "warning", "error"];
|
|
771
|
+
readonly sharedOutcomes: readonly ["tone-is-not-conveyed-by-color-alone", "message-remains-readable", "action-does-not-obscure-status"];
|
|
772
|
+
readonly accessibilityOutcomes: readonly ["announces-semantic-tone", "text-does-not-rely-on-color"];
|
|
773
|
+
readonly platformAdaptations: {
|
|
774
|
+
readonly react: readonly ["Uses a web status-callout surface with composable slots."];
|
|
775
|
+
readonly swiftUI: readonly ["Uses a compact native callout and avoids assertive announcements for persistent notices."];
|
|
776
|
+
};
|
|
777
|
+
}, {
|
|
778
|
+
readonly id: "progress";
|
|
779
|
+
readonly foundationContract: "progress";
|
|
780
|
+
readonly foundationAxis: "states";
|
|
781
|
+
readonly catalogItem: "progress";
|
|
782
|
+
readonly reactRenderer: "Progress";
|
|
783
|
+
readonly swiftUIRenderer: "AtomProgressView";
|
|
784
|
+
readonly intent: "Communicate an ongoing operation or measured completion.";
|
|
785
|
+
readonly parity: "platform-adaptive";
|
|
786
|
+
readonly requiredStates: readonly ["indeterminate", "progressing", "complete"];
|
|
787
|
+
readonly sharedOutcomes: readonly ["label-identifies-operation", "determinate-value-is-exposed", "completion-is-distinguishable"];
|
|
788
|
+
readonly accessibilityOutcomes: readonly ["exposes-label", "announces-progress-value"];
|
|
789
|
+
readonly platformAdaptations: {
|
|
790
|
+
readonly react: readonly ["May use a custom CSS indicator that follows web geometry."];
|
|
791
|
+
readonly swiftUI: readonly ["Uses native ProgressView styles and platform progress animation."];
|
|
792
|
+
};
|
|
793
|
+
}, {
|
|
794
|
+
readonly id: "skeleton";
|
|
795
|
+
readonly foundationContract: "skeleton";
|
|
796
|
+
readonly foundationAxis: "states";
|
|
797
|
+
readonly catalogItem: "skeleton";
|
|
798
|
+
readonly reactRenderer: "Skeleton";
|
|
799
|
+
readonly swiftUIRenderer: "AtomSkeletonRow / atomSkeleton(_:)";
|
|
800
|
+
readonly intent: "Preserve layout while content loads without exposing placeholder content as real content.";
|
|
801
|
+
readonly parity: "recipe";
|
|
802
|
+
readonly requiredStates: readonly ["loading", "reduced-motion"];
|
|
803
|
+
readonly sharedOutcomes: readonly ["placeholder-is-hidden-from-assistive-technology", "interaction-is-blocked-while-loading", "reduced-motion-result-is-static"];
|
|
804
|
+
readonly accessibilityOutcomes: readonly ["hidden-from-accessibility-tree", "blocks-interaction-while-active"];
|
|
805
|
+
readonly motion: {
|
|
806
|
+
readonly kind: "shimmer";
|
|
807
|
+
readonly durationToken: "motion-skeleton-shimmer";
|
|
808
|
+
readonly easing: "linear";
|
|
809
|
+
readonly direction: "leading-to-trailing";
|
|
810
|
+
readonly reducedMotion: "static";
|
|
811
|
+
};
|
|
812
|
+
readonly platformAdaptations: {
|
|
813
|
+
readonly react: readonly ["Uses a CSS pseudo-element shimmer and media-query motion preference."];
|
|
814
|
+
readonly swiftUI: readonly ["Uses a TimelineView gradient mask and environment motion preference."];
|
|
815
|
+
};
|
|
816
|
+
}, {
|
|
817
|
+
readonly id: "load-more-trigger";
|
|
818
|
+
readonly foundationContract: "load-more-trigger";
|
|
819
|
+
readonly foundationAxis: "states";
|
|
820
|
+
readonly catalogItem: "pagination";
|
|
821
|
+
readonly reactRenderer: "LoadMoreTrigger";
|
|
822
|
+
readonly swiftUIRenderer: "AtomLoadMoreView";
|
|
823
|
+
readonly intent: "Load the next collection segment and communicate recovery or completion.";
|
|
824
|
+
readonly parity: "strict";
|
|
825
|
+
readonly requiredStates: readonly ["idle", "loading", "failed", "exhausted"];
|
|
826
|
+
readonly stateTones: {
|
|
827
|
+
readonly idle: "neutral";
|
|
828
|
+
readonly loading: "info";
|
|
829
|
+
readonly failed: "error";
|
|
830
|
+
readonly exhausted: "success";
|
|
831
|
+
};
|
|
832
|
+
readonly sharedOutcomes: readonly ["loading-is-announced", "failure-provides-retry", "exhaustion-is-announced", "existing-items-remain-stable-while-appending"];
|
|
833
|
+
readonly accessibilityOutcomes: readonly ["announces-loading", "exposes-retry-action", "announces-exhausted"];
|
|
834
|
+
readonly platformAdaptations: {
|
|
835
|
+
readonly react: readonly ["IntersectionObserver may trigger loading while the explicit state renderer remains visible."];
|
|
836
|
+
readonly swiftUI: readonly ["A list sentinel, task, or explicit load-more action may trigger loading."];
|
|
837
|
+
};
|
|
838
|
+
}, {
|
|
839
|
+
readonly id: "toaster";
|
|
840
|
+
readonly foundationContract: "toaster";
|
|
841
|
+
readonly foundationAxis: "states";
|
|
842
|
+
readonly catalogItem: "toast";
|
|
843
|
+
readonly reactRenderer: "Toaster";
|
|
844
|
+
readonly swiftUIRenderer: "AtomToast / atomToast(_:)";
|
|
845
|
+
readonly intent: "Announce transient feedback without interrupting the current task.";
|
|
846
|
+
readonly parity: "recipe";
|
|
847
|
+
readonly requiredStates: readonly ["visible", "dismissing", "reduced-motion"];
|
|
848
|
+
readonly sharedOutcomes: readonly ["message-is-announced", "focus-is-not-trapped", "dismissal-respects-motion-preference"];
|
|
849
|
+
readonly accessibilityOutcomes: readonly ["announces-message", "does-not-trap-focus"];
|
|
850
|
+
readonly motion: {
|
|
851
|
+
readonly kind: "toast-enter-exit";
|
|
852
|
+
readonly durationToken: "motion-standard";
|
|
853
|
+
readonly easing: "ease-out";
|
|
854
|
+
readonly direction: "block-start";
|
|
855
|
+
readonly reducedMotion: "none";
|
|
856
|
+
};
|
|
857
|
+
readonly platformAdaptations: {
|
|
858
|
+
readonly react: readonly ["Portal placement follows the viewport and DOM stacking context."];
|
|
859
|
+
readonly swiftUI: readonly ["Overlay placement follows safe areas and native transition composition."];
|
|
860
|
+
};
|
|
861
|
+
}];
|
|
862
|
+
type CrossRendererContractId = (typeof crossRendererContracts)[number]['id'];
|
|
863
|
+
type CrossRendererContractById<Id extends CrossRendererContractId> = Extract<(typeof crossRendererContracts)[number], {
|
|
864
|
+
id: Id;
|
|
865
|
+
}>;
|
|
866
|
+
declare function getCrossRendererContract<Id extends CrossRendererContractId>(id: Id): CrossRendererContractById<Id>;
|
|
867
|
+
|
|
868
|
+
type ContractParity = 'strict' | 'recipe' | 'platform-adaptive';
|
|
869
|
+
type CrossRendererSemanticTone = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
870
|
+
interface CrossRendererMotionContract {
|
|
871
|
+
kind: string;
|
|
872
|
+
durationToken: string;
|
|
873
|
+
easing: string;
|
|
874
|
+
direction: string;
|
|
875
|
+
reducedMotion: 'none' | 'static';
|
|
876
|
+
}
|
|
877
|
+
interface CrossRendererPlatformAdaptations {
|
|
878
|
+
react: readonly string[];
|
|
879
|
+
swiftUI: readonly string[];
|
|
880
|
+
}
|
|
881
|
+
interface CrossRendererComponentContract {
|
|
882
|
+
id: string;
|
|
883
|
+
foundationContract: string;
|
|
884
|
+
foundationAxis: 'states' | 'variants';
|
|
885
|
+
catalogItem: string;
|
|
886
|
+
reactRenderer: string;
|
|
887
|
+
swiftUIRenderer: string;
|
|
888
|
+
intent: string;
|
|
889
|
+
parity: ContractParity;
|
|
890
|
+
requiredStates: readonly string[];
|
|
891
|
+
stateTones?: Readonly<Record<string, CrossRendererSemanticTone>>;
|
|
892
|
+
sharedOutcomes: readonly string[];
|
|
893
|
+
accessibilityOutcomes: readonly string[];
|
|
894
|
+
motion?: CrossRendererMotionContract;
|
|
895
|
+
platformAdaptations: CrossRendererPlatformAdaptations;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
declare const animatedCheckVariants: readonly ["animated", "static"];
|
|
899
|
+
declare const animatedCheckStates: readonly ["mounting", "drawn", "reduced-motion"];
|
|
900
|
+
declare const animatedCheckSlots: readonly ["animated-check", "animated-check-path"];
|
|
901
|
+
declare const animatedCheckVisualArchetypes: readonly [];
|
|
902
|
+
type AnimatedCheckVariant = (typeof animatedCheckVariants)[number];
|
|
903
|
+
type AnimatedCheckState = (typeof animatedCheckStates)[number];
|
|
904
|
+
type AnimatedCheckSlot = (typeof animatedCheckSlots)[number];
|
|
905
|
+
type AnimatedCheckVisualArchetype = (typeof animatedCheckVisualArchetypes)[number];
|
|
906
|
+
interface AnimatedCheckContract {
|
|
907
|
+
defaultVariant: AnimatedCheckVariant;
|
|
908
|
+
slots: readonly AnimatedCheckSlot[];
|
|
909
|
+
states: readonly AnimatedCheckState[];
|
|
910
|
+
variants: readonly AnimatedCheckVariant[];
|
|
911
|
+
visualArchetypes: readonly AnimatedCheckVisualArchetype[];
|
|
912
|
+
}
|
|
913
|
+
declare const animatedCheckContract: {
|
|
914
|
+
defaultVariant: "animated";
|
|
915
|
+
slots: readonly ["animated-check", "animated-check-path"];
|
|
916
|
+
states: readonly ["mounting", "drawn", "reduced-motion"];
|
|
917
|
+
variants: readonly ["animated", "static"];
|
|
918
|
+
visualArchetypes: readonly [];
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
declare const avatarSizes: readonly ["sm", "default", "lg"];
|
|
922
|
+
declare const avatarStates: readonly ["loading", "loaded", "fallback"];
|
|
923
|
+
declare const avatarCompositions: readonly ["standalone", "badge", "group"];
|
|
924
|
+
declare const avatarSlots: readonly ["avatar", "avatar-image", "avatar-fallback", "avatar-badge", "avatar-group", "avatar-group-count"];
|
|
925
|
+
declare const avatarVisualArchetypes: readonly ["marker"];
|
|
926
|
+
type AvatarSize = (typeof avatarSizes)[number];
|
|
927
|
+
type AvatarState = (typeof avatarStates)[number];
|
|
928
|
+
type AvatarComposition = (typeof avatarCompositions)[number];
|
|
929
|
+
type AvatarSlot = (typeof avatarSlots)[number];
|
|
930
|
+
type AvatarVisualArchetype = (typeof avatarVisualArchetypes)[number];
|
|
931
|
+
interface AvatarContract {
|
|
932
|
+
compositions: readonly AvatarComposition[];
|
|
933
|
+
defaultSize: AvatarSize;
|
|
934
|
+
sizes: readonly AvatarSize[];
|
|
935
|
+
slots: readonly AvatarSlot[];
|
|
936
|
+
states: readonly AvatarState[];
|
|
937
|
+
visualArchetypes: readonly AvatarVisualArchetype[];
|
|
938
|
+
}
|
|
939
|
+
declare const avatarContract: {
|
|
940
|
+
compositions: readonly ["standalone", "badge", "group"];
|
|
941
|
+
defaultSize: "default";
|
|
942
|
+
sizes: readonly ["sm", "default", "lg"];
|
|
943
|
+
slots: readonly ["avatar", "avatar-image", "avatar-fallback", "avatar-badge", "avatar-group", "avatar-group-count"];
|
|
944
|
+
states: readonly ["loading", "loaded", "fallback"];
|
|
945
|
+
visualArchetypes: readonly ["marker"];
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
declare const breadcrumbCompositions: readonly ["full", "collapsed", "custom-separator"];
|
|
949
|
+
declare const breadcrumbStates: readonly ["rest", "hover", "focus", "current"];
|
|
950
|
+
declare const breadcrumbSlots: readonly ["breadcrumb", "breadcrumb-list", "breadcrumb-item", "breadcrumb-link", "breadcrumb-page", "breadcrumb-separator", "breadcrumb-ellipsis"];
|
|
951
|
+
declare const breadcrumbVisualArchetypes: readonly [];
|
|
952
|
+
type BreadcrumbComposition = (typeof breadcrumbCompositions)[number];
|
|
953
|
+
type BreadcrumbState = (typeof breadcrumbStates)[number];
|
|
954
|
+
type BreadcrumbSlot = (typeof breadcrumbSlots)[number];
|
|
955
|
+
type BreadcrumbVisualArchetype = (typeof breadcrumbVisualArchetypes)[number];
|
|
956
|
+
interface BreadcrumbContract {
|
|
957
|
+
compositions: readonly BreadcrumbComposition[];
|
|
958
|
+
slots: readonly BreadcrumbSlot[];
|
|
959
|
+
states: readonly BreadcrumbState[];
|
|
960
|
+
visualArchetypes: readonly BreadcrumbVisualArchetype[];
|
|
961
|
+
}
|
|
962
|
+
declare const breadcrumbContract: {
|
|
963
|
+
compositions: readonly ["full", "collapsed", "custom-separator"];
|
|
964
|
+
slots: readonly ["breadcrumb", "breadcrumb-list", "breadcrumb-item", "breadcrumb-link", "breadcrumb-page", "breadcrumb-separator", "breadcrumb-ellipsis"];
|
|
965
|
+
states: readonly ["rest", "hover", "focus", "current"];
|
|
966
|
+
visualArchetypes: readonly [];
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
declare const collapsibleStates: readonly ["closed", "open", "starting", "ending", "disabled"];
|
|
970
|
+
declare const collapsibleSlots: readonly ["collapsible", "collapsible-trigger", "collapsible-indicator", "collapsible-content"];
|
|
971
|
+
declare const collapsibleVisualArchetypes: readonly ["trigger"];
|
|
972
|
+
type CollapsibleState = (typeof collapsibleStates)[number];
|
|
973
|
+
type CollapsibleSlot = (typeof collapsibleSlots)[number];
|
|
974
|
+
type CollapsibleVisualArchetype = (typeof collapsibleVisualArchetypes)[number];
|
|
975
|
+
interface CollapsibleContract {
|
|
976
|
+
slots: readonly CollapsibleSlot[];
|
|
977
|
+
states: readonly CollapsibleState[];
|
|
978
|
+
visualArchetypes: readonly CollapsibleVisualArchetype[];
|
|
979
|
+
}
|
|
980
|
+
declare const collapsibleContract: {
|
|
981
|
+
slots: readonly ["collapsible", "collapsible-trigger", "collapsible-indicator", "collapsible-content"];
|
|
982
|
+
states: readonly ["closed", "open", "starting", "ending", "disabled"];
|
|
983
|
+
visualArchetypes: readonly ["trigger"];
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
declare const accordionIconVariants: readonly ["chevron", "plus-minus"];
|
|
987
|
+
declare const accordionStates: readonly ["closed", "open", "focusVisible", "disabled"];
|
|
988
|
+
declare const accordionSlots: readonly ["accordion", "accordion-item", "accordion-trigger", "accordion-indicator", "accordion-content", "accordion-content-inner"];
|
|
989
|
+
declare const accordionVisualArchetypes: readonly ["surface", "trigger"];
|
|
990
|
+
type AccordionIconVariant = (typeof accordionIconVariants)[number];
|
|
991
|
+
type AccordionState = (typeof accordionStates)[number];
|
|
992
|
+
type AccordionSlot = (typeof accordionSlots)[number];
|
|
993
|
+
type AccordionVisualArchetype = (typeof accordionVisualArchetypes)[number];
|
|
994
|
+
interface AccordionContract {
|
|
995
|
+
defaultIconVariant: AccordionIconVariant;
|
|
996
|
+
iconVariants: readonly AccordionIconVariant[];
|
|
997
|
+
slots: readonly AccordionSlot[];
|
|
998
|
+
states: readonly AccordionState[];
|
|
999
|
+
visualArchetypes: readonly AccordionVisualArchetype[];
|
|
1000
|
+
}
|
|
1001
|
+
declare const accordionContract: {
|
|
1002
|
+
defaultIconVariant: "chevron";
|
|
1003
|
+
iconVariants: readonly ["chevron", "plus-minus"];
|
|
1004
|
+
slots: readonly ["accordion", "accordion-item", "accordion-trigger", "accordion-indicator", "accordion-content", "accordion-content-inner"];
|
|
1005
|
+
states: readonly ["closed", "open", "focusVisible", "disabled"];
|
|
1006
|
+
visualArchetypes: readonly ["surface", "trigger"];
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
declare const autocompleteSizes: readonly ["sm", "default", "lg"];
|
|
1010
|
+
declare const autocompleteSlots: readonly ["autocomplete-input-group", "autocomplete-start-addon", "autocomplete-input", "autocomplete-trigger", "autocomplete-icon", "autocomplete-clear", "autocomplete-positioner", "autocomplete-surface", "autocomplete-popup", "autocomplete-list", "autocomplete-item", "autocomplete-separator", "autocomplete-group", "autocomplete-group-label", "autocomplete-empty", "autocomplete-row", "autocomplete-value", "autocomplete-status", "autocomplete-collection"];
|
|
1011
|
+
declare const autocompleteStates: readonly ["closed", "open", "highlighted", "disabled", "empty", "loading"];
|
|
1012
|
+
declare const autocompleteVisualArchetypes: readonly ["field", "trigger", "overlay", "menu"];
|
|
1013
|
+
type AutocompleteSize = (typeof autocompleteSizes)[number];
|
|
1014
|
+
type AutocompleteSlot = (typeof autocompleteSlots)[number];
|
|
1015
|
+
type AutocompleteState = (typeof autocompleteStates)[number];
|
|
1016
|
+
type AutocompleteVisualArchetype = (typeof autocompleteVisualArchetypes)[number];
|
|
1017
|
+
interface AutocompleteContract {
|
|
1018
|
+
defaultSize: AutocompleteSize;
|
|
1019
|
+
sizes: readonly AutocompleteSize[];
|
|
1020
|
+
slots: readonly AutocompleteSlot[];
|
|
1021
|
+
states: readonly AutocompleteState[];
|
|
1022
|
+
visualArchetypes: readonly AutocompleteVisualArchetype[];
|
|
1023
|
+
}
|
|
1024
|
+
declare const autocompleteContract: {
|
|
1025
|
+
defaultSize: "default";
|
|
1026
|
+
sizes: readonly ["sm", "default", "lg"];
|
|
1027
|
+
slots: readonly ["autocomplete-input-group", "autocomplete-start-addon", "autocomplete-input", "autocomplete-trigger", "autocomplete-icon", "autocomplete-clear", "autocomplete-positioner", "autocomplete-surface", "autocomplete-popup", "autocomplete-list", "autocomplete-item", "autocomplete-separator", "autocomplete-group", "autocomplete-group-label", "autocomplete-empty", "autocomplete-row", "autocomplete-value", "autocomplete-status", "autocomplete-collection"];
|
|
1028
|
+
states: readonly ["closed", "open", "highlighted", "disabled", "empty", "loading"];
|
|
1029
|
+
visualArchetypes: readonly ["field", "trigger", "overlay", "menu"];
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
declare const alertVariants: readonly ["default", "error", "info", "success", "warning"];
|
|
1033
|
+
declare const alertSlots: readonly ["alert", "alert-icon", "alert-title", "alert-description", "alert-action"];
|
|
1034
|
+
declare const alertVisualArchetypes: readonly ["surface"];
|
|
1035
|
+
type AlertVariant = (typeof alertVariants)[number];
|
|
1036
|
+
type AlertSlot = (typeof alertSlots)[number];
|
|
1037
|
+
type AlertVisualArchetype = (typeof alertVisualArchetypes)[number];
|
|
1038
|
+
interface AlertContract {
|
|
1039
|
+
defaultVariant: AlertVariant;
|
|
1040
|
+
variants: readonly AlertVariant[];
|
|
1041
|
+
slots: readonly AlertSlot[];
|
|
1042
|
+
visualArchetypes: readonly AlertVisualArchetype[];
|
|
1043
|
+
}
|
|
1044
|
+
declare const alertContract: {
|
|
1045
|
+
defaultVariant: "default";
|
|
1046
|
+
variants: readonly ["default", "error", "info", "success", "warning"];
|
|
1047
|
+
slots: readonly ["alert", "alert-icon", "alert-title", "alert-description", "alert-action"];
|
|
1048
|
+
visualArchetypes: readonly ["surface"];
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
declare const alertDialogVariants: readonly ["default", "destructive", "info", "success", "warning"];
|
|
1052
|
+
declare const alertDialogFooterVariants: readonly ["default", "bare"];
|
|
1053
|
+
declare const alertDialogSizes: readonly ["default", "sm"];
|
|
1054
|
+
declare const alertDialogStates: readonly ["closed", "open"];
|
|
1055
|
+
declare const alertDialogSlots: readonly ["alert-dialog-portal", "alert-dialog-trigger", "alert-dialog-backdrop", "alert-dialog-viewport", "alert-dialog-popup", "alert-dialog-header", "alert-dialog-footer", "alert-dialog-media", "alert-dialog-title", "alert-dialog-description", "alert-dialog-close", "alert-dialog-action", "alert-dialog-cancel"];
|
|
1056
|
+
declare const alertDialogVisualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1057
|
+
type AlertDialogVariant = (typeof alertDialogVariants)[number];
|
|
1058
|
+
type AlertDialogFooterVariant = (typeof alertDialogFooterVariants)[number];
|
|
1059
|
+
type AlertDialogSize = (typeof alertDialogSizes)[number];
|
|
1060
|
+
type AlertDialogState = (typeof alertDialogStates)[number];
|
|
1061
|
+
type AlertDialogSlot = (typeof alertDialogSlots)[number];
|
|
1062
|
+
type AlertDialogVisualArchetype = (typeof alertDialogVisualArchetypes)[number];
|
|
1063
|
+
interface AlertDialogContract {
|
|
1064
|
+
defaultFooterVariant: AlertDialogFooterVariant;
|
|
1065
|
+
defaultSize: AlertDialogSize;
|
|
1066
|
+
defaultVariant: AlertDialogVariant;
|
|
1067
|
+
footerVariants: readonly AlertDialogFooterVariant[];
|
|
1068
|
+
sizes: readonly AlertDialogSize[];
|
|
1069
|
+
slots: readonly AlertDialogSlot[];
|
|
1070
|
+
states: readonly AlertDialogState[];
|
|
1071
|
+
variants: readonly AlertDialogVariant[];
|
|
1072
|
+
visualArchetypes: readonly AlertDialogVisualArchetype[];
|
|
1073
|
+
}
|
|
1074
|
+
declare const alertDialogContract: {
|
|
1075
|
+
defaultFooterVariant: "default";
|
|
1076
|
+
defaultSize: "default";
|
|
1077
|
+
defaultVariant: "default";
|
|
1078
|
+
footerVariants: readonly ["default", "bare"];
|
|
1079
|
+
sizes: readonly ["default", "sm"];
|
|
1080
|
+
slots: readonly ["alert-dialog-portal", "alert-dialog-trigger", "alert-dialog-backdrop", "alert-dialog-viewport", "alert-dialog-popup", "alert-dialog-header", "alert-dialog-footer", "alert-dialog-media", "alert-dialog-title", "alert-dialog-description", "alert-dialog-close", "alert-dialog-action", "alert-dialog-cancel"];
|
|
1081
|
+
states: readonly ["closed", "open"];
|
|
1082
|
+
variants: readonly ["default", "destructive", "info", "success", "warning"];
|
|
1083
|
+
visualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
declare const badgeSolidVariants: readonly ["default", "primary", "secondary", "destructive", "outline", "glass", "muted", "accent"];
|
|
1087
|
+
declare const badgeSemanticVariants: readonly ["error", "info", "success", "warning"];
|
|
1088
|
+
declare const badgePaletteVariants: readonly ["red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "neutral"];
|
|
1089
|
+
declare const badgeVariants: readonly ["default", "primary", "secondary", "destructive", "outline", "glass", "muted", "accent", "error", "info", "success", "warning", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "neutral"];
|
|
1090
|
+
declare const badgeSizes: readonly ["sm", "md", "lg"];
|
|
1091
|
+
declare const badgeSlots: readonly ["badge"];
|
|
1092
|
+
declare const badgeStates: readonly ["resting", "interactive", "disabled", "focus-visible"];
|
|
1093
|
+
declare const badgeVisualArchetypes: readonly ["marker"];
|
|
1094
|
+
type BadgeVariant = (typeof badgeVariants)[number];
|
|
1095
|
+
type BadgeSize = (typeof badgeSizes)[number];
|
|
1096
|
+
type BadgeSlot = (typeof badgeSlots)[number];
|
|
1097
|
+
type BadgeState = (typeof badgeStates)[number];
|
|
1098
|
+
type BadgeVisualArchetype = (typeof badgeVisualArchetypes)[number];
|
|
1099
|
+
interface BadgeContract {
|
|
1100
|
+
defaultVariant: BadgeVariant;
|
|
1101
|
+
defaultSize: BadgeSize;
|
|
1102
|
+
variants: readonly BadgeVariant[];
|
|
1103
|
+
sizes: readonly BadgeSize[];
|
|
1104
|
+
slots: readonly BadgeSlot[];
|
|
1105
|
+
states: readonly BadgeState[];
|
|
1106
|
+
visualArchetypes: readonly BadgeVisualArchetype[];
|
|
1107
|
+
}
|
|
1108
|
+
declare const badgeContract: {
|
|
1109
|
+
defaultVariant: "default";
|
|
1110
|
+
defaultSize: "md";
|
|
1111
|
+
variants: readonly ["default", "primary", "secondary", "destructive", "outline", "glass", "muted", "accent", "error", "info", "success", "warning", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "neutral"];
|
|
1112
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
1113
|
+
slots: readonly ["badge"];
|
|
1114
|
+
states: readonly ["resting", "interactive", "disabled", "focus-visible"];
|
|
1115
|
+
visualArchetypes: readonly ["marker"];
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
declare const buttonGroupOrientations: readonly ["horizontal", "vertical"];
|
|
1119
|
+
declare const buttonGroupSizes: readonly ["xs", "sm", "default", "lg", "xl", "icon-xs", "icon-sm", "icon", "icon-lg", "icon-xl"];
|
|
1120
|
+
declare const buttonGroupSlots: readonly ["button-group", "button-group-text", "button-group-separator"];
|
|
1121
|
+
declare const buttonGroupStates: readonly ["rest", "focus-within"];
|
|
1122
|
+
declare const buttonGroupVisualArchetypes: readonly ["action", "segment"];
|
|
1123
|
+
type ButtonGroupOrientation = (typeof buttonGroupOrientations)[number];
|
|
1124
|
+
type ButtonGroupSize = (typeof buttonGroupSizes)[number];
|
|
1125
|
+
type ButtonGroupSlot = (typeof buttonGroupSlots)[number];
|
|
1126
|
+
type ButtonGroupState = (typeof buttonGroupStates)[number];
|
|
1127
|
+
type ButtonGroupVisualArchetype = (typeof buttonGroupVisualArchetypes)[number];
|
|
1128
|
+
interface ButtonGroupContract {
|
|
1129
|
+
defaultOrientation: ButtonGroupOrientation;
|
|
1130
|
+
defaultSize: ButtonGroupSize;
|
|
1131
|
+
orientations: readonly ButtonGroupOrientation[];
|
|
1132
|
+
sizes: readonly ButtonGroupSize[];
|
|
1133
|
+
slots: readonly ButtonGroupSlot[];
|
|
1134
|
+
states: readonly ButtonGroupState[];
|
|
1135
|
+
visualArchetypes: readonly ButtonGroupVisualArchetype[];
|
|
1136
|
+
}
|
|
1137
|
+
declare const buttonGroupContract: {
|
|
1138
|
+
defaultOrientation: "horizontal";
|
|
1139
|
+
defaultSize: "default";
|
|
1140
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
1141
|
+
sizes: readonly ["xs", "sm", "default", "lg", "xl", "icon-xs", "icon-sm", "icon", "icon-lg", "icon-xl"];
|
|
1142
|
+
slots: readonly ["button-group", "button-group-text", "button-group-separator"];
|
|
1143
|
+
states: readonly ["rest", "focus-within"];
|
|
1144
|
+
visualArchetypes: readonly ["action", "segment"];
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
declare const buttonVariants: readonly ["default", "primary", "secondary", "destructive", "destructive-outline", "outline", "ghost", "link", "overlay", "glass"];
|
|
1148
|
+
declare const buttonSizes: readonly ["xs", "sm", "md", "lg", "xl", "tile", "icon-xs", "icon-sm", "icon", "icon-lg", "icon-xl"];
|
|
1149
|
+
declare const buttonStates: readonly ["rest", "hover", "pressed", "focusVisible", "disabled", "loading"];
|
|
1150
|
+
declare const buttonSlots: readonly ["root", "label", "icon", "spinner"];
|
|
1151
|
+
declare const buttonTokenSlots: readonly ["button.background", "button.foreground", "button.border.color", "button.border.width", "button.radius", "button.shadow", "button.focusRing", "button.height", "button.paddingInline", "button.gap", "button.iconSize", "button.motion.press"];
|
|
1152
|
+
declare const buttonVisualArchetypes: readonly ["action"];
|
|
1153
|
+
type ButtonVariant = (typeof buttonVariants)[number];
|
|
1154
|
+
type ButtonSize = (typeof buttonSizes)[number];
|
|
1155
|
+
type ButtonState = (typeof buttonStates)[number];
|
|
1156
|
+
type ButtonSlot = (typeof buttonSlots)[number];
|
|
1157
|
+
type ButtonTokenSlot = (typeof buttonTokenSlots)[number];
|
|
1158
|
+
type ButtonVisualArchetype = (typeof buttonVisualArchetypes)[number];
|
|
1159
|
+
interface ButtonContract {
|
|
1160
|
+
defaultSize: ButtonSize;
|
|
1161
|
+
defaultVariant: ButtonVariant;
|
|
1162
|
+
slots: readonly ButtonSlot[];
|
|
1163
|
+
states: readonly ButtonState[];
|
|
1164
|
+
tokenSlots: readonly ButtonTokenSlot[];
|
|
1165
|
+
variants: readonly ButtonVariant[];
|
|
1166
|
+
visualArchetypes: readonly ButtonVisualArchetype[];
|
|
1167
|
+
}
|
|
1168
|
+
declare const buttonContract: {
|
|
1169
|
+
defaultSize: "md";
|
|
1170
|
+
defaultVariant: "default";
|
|
1171
|
+
slots: readonly ["root", "label", "icon", "spinner"];
|
|
1172
|
+
states: readonly ["rest", "hover", "pressed", "focusVisible", "disabled", "loading"];
|
|
1173
|
+
tokenSlots: readonly ["button.background", "button.foreground", "button.border.color", "button.border.width", "button.radius", "button.shadow", "button.focusRing", "button.height", "button.paddingInline", "button.gap", "button.iconSize", "button.motion.press"];
|
|
1174
|
+
variants: readonly ["default", "primary", "secondary", "destructive", "destructive-outline", "outline", "ghost", "link", "overlay", "glass"];
|
|
1175
|
+
visualArchetypes: readonly ["action"];
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
declare const cardVariants: readonly ["default", "ghost", "interactive", "overlay"];
|
|
1179
|
+
declare const cardPaddings: readonly ["none", "sm", "md", "lg"];
|
|
1180
|
+
declare const cardContentPaddings: readonly ["none", "xs", "sm", "md", "lg"];
|
|
1181
|
+
declare const cardLineClamps: readonly [1, 2, 3];
|
|
1182
|
+
declare const cardSlots: readonly ["card", "card-header", "card-label", "card-media", "card-media-overlay", "card-media-overlay-image", "card-media-overlay-scrim", "card-media-overlay-top-right", "card-media-overlay-bottom", "card-media-overlay-icon-button", "card-content", "card-title", "card-description", "card-tags", "card-footer", "card-action", "card-cursor-label"];
|
|
1183
|
+
declare const cardStates: readonly ["rest", "hover", "focus-visible", "interactive", "cursor-active"];
|
|
1184
|
+
declare const cardVisualArchetypes: readonly ["surface"];
|
|
1185
|
+
type CardVariant = (typeof cardVariants)[number];
|
|
1186
|
+
type CardPadding = (typeof cardPaddings)[number];
|
|
1187
|
+
type CardContentPadding = (typeof cardContentPaddings)[number];
|
|
1188
|
+
type CardLineClamp = (typeof cardLineClamps)[number];
|
|
1189
|
+
type CardSlot = (typeof cardSlots)[number];
|
|
1190
|
+
type CardState = (typeof cardStates)[number];
|
|
1191
|
+
type CardVisualArchetype = (typeof cardVisualArchetypes)[number];
|
|
1192
|
+
interface CardContract {
|
|
1193
|
+
defaultVariant: CardVariant;
|
|
1194
|
+
variants: readonly CardVariant[];
|
|
1195
|
+
paddings: readonly CardPadding[];
|
|
1196
|
+
contentPaddings: readonly CardContentPadding[];
|
|
1197
|
+
lineClamps: readonly CardLineClamp[];
|
|
1198
|
+
slots: readonly CardSlot[];
|
|
1199
|
+
states: readonly CardState[];
|
|
1200
|
+
visualArchetypes: readonly CardVisualArchetype[];
|
|
1201
|
+
}
|
|
1202
|
+
declare const cardContract: {
|
|
1203
|
+
defaultVariant: "default";
|
|
1204
|
+
variants: readonly ["default", "ghost", "interactive", "overlay"];
|
|
1205
|
+
paddings: readonly ["none", "sm", "md", "lg"];
|
|
1206
|
+
contentPaddings: readonly ["none", "xs", "sm", "md", "lg"];
|
|
1207
|
+
lineClamps: readonly [1, 2, 3];
|
|
1208
|
+
slots: readonly ["card", "card-header", "card-label", "card-media", "card-media-overlay", "card-media-overlay-image", "card-media-overlay-scrim", "card-media-overlay-top-right", "card-media-overlay-bottom", "card-media-overlay-icon-button", "card-content", "card-title", "card-description", "card-tags", "card-footer", "card-action", "card-cursor-label"];
|
|
1209
|
+
states: readonly ["rest", "hover", "focus-visible", "interactive", "cursor-active"];
|
|
1210
|
+
visualArchetypes: readonly ["surface"];
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
declare const carouselOrientations: readonly ["horizontal", "vertical"];
|
|
1214
|
+
declare const carouselSlots: readonly ["carousel", "carousel-content", "carousel-item", "carousel-previous", "carousel-next", "carousel-cursor"];
|
|
1215
|
+
declare const carouselStates: readonly ["rest", "hover", "focus-visible", "disabled", "cursor-active", "can-scroll"];
|
|
1216
|
+
declare const carouselVisualArchetypes: readonly ["surface", "overlay", "action"];
|
|
1217
|
+
type CarouselOrientation = (typeof carouselOrientations)[number];
|
|
1218
|
+
type CarouselSlot = (typeof carouselSlots)[number];
|
|
1219
|
+
type CarouselState = (typeof carouselStates)[number];
|
|
1220
|
+
type CarouselVisualArchetype = (typeof carouselVisualArchetypes)[number];
|
|
1221
|
+
interface CarouselContract {
|
|
1222
|
+
defaultOrientation: CarouselOrientation;
|
|
1223
|
+
orientations: readonly CarouselOrientation[];
|
|
1224
|
+
slots: readonly CarouselSlot[];
|
|
1225
|
+
states: readonly CarouselState[];
|
|
1226
|
+
visualArchetypes: readonly CarouselVisualArchetype[];
|
|
1227
|
+
}
|
|
1228
|
+
declare const carouselContract: {
|
|
1229
|
+
defaultOrientation: "horizontal";
|
|
1230
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
1231
|
+
slots: readonly ["carousel", "carousel-content", "carousel-item", "carousel-previous", "carousel-next", "carousel-cursor"];
|
|
1232
|
+
states: readonly ["rest", "hover", "focus-visible", "disabled", "cursor-active", "can-scroll"];
|
|
1233
|
+
visualArchetypes: readonly ["surface", "overlay", "action"];
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
declare const calendarSelectionModes: readonly ["single", "multiple", "range"];
|
|
1237
|
+
declare const calendarSlots: readonly ["calendar", "calendar-months", "calendar-month", "calendar-month-caption", "calendar-caption-label", "calendar-nav", "calendar-nav-button", "calendar-chevron", "calendar-dropdowns", "calendar-dropdown-root", "calendar-dropdown", "calendar-weekday", "calendar-week-number", "calendar-day", "calendar-day-button"];
|
|
1238
|
+
declare const calendarStates: readonly ["rest", "hover", "focus-visible", "today", "selected", "range-start", "range-middle", "range-end", "outside", "disabled"];
|
|
1239
|
+
declare const calendarVisualArchetypes: readonly ["surface", "action", "choice"];
|
|
1240
|
+
type CalendarSelectionMode = (typeof calendarSelectionModes)[number];
|
|
1241
|
+
type CalendarSlot = (typeof calendarSlots)[number];
|
|
1242
|
+
type CalendarState = (typeof calendarStates)[number];
|
|
1243
|
+
type CalendarVisualArchetype = (typeof calendarVisualArchetypes)[number];
|
|
1244
|
+
interface CalendarContract {
|
|
1245
|
+
defaultSelectionMode: CalendarSelectionMode;
|
|
1246
|
+
selectionModes: readonly CalendarSelectionMode[];
|
|
1247
|
+
slots: readonly CalendarSlot[];
|
|
1248
|
+
states: readonly CalendarState[];
|
|
1249
|
+
visualArchetypes: readonly CalendarVisualArchetype[];
|
|
1250
|
+
}
|
|
1251
|
+
declare const calendarContract: {
|
|
1252
|
+
defaultSelectionMode: "single";
|
|
1253
|
+
selectionModes: readonly ["single", "multiple", "range"];
|
|
1254
|
+
slots: readonly ["calendar", "calendar-months", "calendar-month", "calendar-month-caption", "calendar-caption-label", "calendar-nav", "calendar-nav-button", "calendar-chevron", "calendar-dropdowns", "calendar-dropdown-root", "calendar-dropdown", "calendar-weekday", "calendar-week-number", "calendar-day", "calendar-day-button"];
|
|
1255
|
+
states: readonly ["rest", "hover", "focus-visible", "today", "selected", "range-start", "range-middle", "range-end", "outside", "disabled"];
|
|
1256
|
+
visualArchetypes: readonly ["surface", "action", "choice"];
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
declare const checkboxSizes: readonly ["sm", "md"];
|
|
1260
|
+
declare const checkboxStates: readonly ["unchecked", "checked", "indeterminate", "disabled", "invalid"];
|
|
1261
|
+
declare const checkboxSlots: readonly ["checkbox", "checkbox-indicator"];
|
|
1262
|
+
declare const checkboxVisualArchetypes: readonly ["choice"];
|
|
1263
|
+
type CheckboxSize = (typeof checkboxSizes)[number];
|
|
1264
|
+
type CheckboxState = (typeof checkboxStates)[number];
|
|
1265
|
+
type CheckboxSlot = (typeof checkboxSlots)[number];
|
|
1266
|
+
type CheckboxVisualArchetype = (typeof checkboxVisualArchetypes)[number];
|
|
1267
|
+
interface CheckboxContract {
|
|
1268
|
+
defaultSize: CheckboxSize;
|
|
1269
|
+
sizes: readonly CheckboxSize[];
|
|
1270
|
+
states: readonly CheckboxState[];
|
|
1271
|
+
slots: readonly CheckboxSlot[];
|
|
1272
|
+
visualArchetypes: readonly CheckboxVisualArchetype[];
|
|
1273
|
+
}
|
|
1274
|
+
declare const checkboxContract: {
|
|
1275
|
+
defaultSize: "md";
|
|
1276
|
+
sizes: readonly ["sm", "md"];
|
|
1277
|
+
states: readonly ["unchecked", "checked", "indeterminate", "disabled", "invalid"];
|
|
1278
|
+
slots: readonly ["checkbox", "checkbox-indicator"];
|
|
1279
|
+
visualArchetypes: readonly ["choice"];
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
declare const commandSlots: readonly ["command", "command-dialog-trigger", "command-dialog-backdrop", "command-dialog-viewport", "command-dialog-popup", "command-input-wrapper", "command-input", "command-panel", "command-list", "command-empty", "command-group", "command-group-label", "command-collection", "command-item", "command-separator", "command-shortcut", "command-footer"];
|
|
1283
|
+
declare const commandStates: readonly ["closed", "open", "empty", "highlighted", "disabled", "focus-visible"];
|
|
1284
|
+
declare const commandVisualArchetypes: readonly ["overlay", "surface", "field", "menu"];
|
|
1285
|
+
type CommandSlot = (typeof commandSlots)[number];
|
|
1286
|
+
type CommandState = (typeof commandStates)[number];
|
|
1287
|
+
type CommandVisualArchetype = (typeof commandVisualArchetypes)[number];
|
|
1288
|
+
interface CommandContract {
|
|
1289
|
+
slots: readonly CommandSlot[];
|
|
1290
|
+
states: readonly CommandState[];
|
|
1291
|
+
visualArchetypes: readonly CommandVisualArchetype[];
|
|
1292
|
+
}
|
|
1293
|
+
declare const commandContract: {
|
|
1294
|
+
slots: readonly ["command", "command-dialog-trigger", "command-dialog-backdrop", "command-dialog-viewport", "command-dialog-popup", "command-input-wrapper", "command-input", "command-panel", "command-list", "command-empty", "command-group", "command-group-label", "command-collection", "command-item", "command-separator", "command-shortcut", "command-footer"];
|
|
1295
|
+
states: readonly ["closed", "open", "empty", "highlighted", "disabled", "focus-visible"];
|
|
1296
|
+
visualArchetypes: readonly ["overlay", "surface", "field", "menu"];
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
declare const contextMenuSlots: readonly ["context-menu", "context-menu-trigger", "context-menu-group", "context-menu-portal", "context-menu-positioner", "context-menu-content", "context-menu-item", "context-menu-sub", "context-menu-sub-trigger", "context-menu-sub-positioner", "context-menu-sub-content", "context-menu-checkbox-item", "context-menu-radio-group", "context-menu-radio-item", "context-menu-item-indicator", "context-menu-label", "context-menu-separator", "context-menu-shortcut"];
|
|
1300
|
+
declare const contextMenuStates: readonly ["closed", "open", "highlighted", "disabled", "checked", "unchecked", "submenu-open", "destructive"];
|
|
1301
|
+
declare const contextMenuVisualArchetypes: readonly ["menu", "overlay"];
|
|
1302
|
+
type ContextMenuSlot = (typeof contextMenuSlots)[number];
|
|
1303
|
+
type ContextMenuState = (typeof contextMenuStates)[number];
|
|
1304
|
+
type ContextMenuVisualArchetype = (typeof contextMenuVisualArchetypes)[number];
|
|
1305
|
+
interface ContextMenuContract {
|
|
1306
|
+
slots: readonly ContextMenuSlot[];
|
|
1307
|
+
states: readonly ContextMenuState[];
|
|
1308
|
+
visualArchetypes: readonly ContextMenuVisualArchetype[];
|
|
1309
|
+
}
|
|
1310
|
+
declare const contextMenuContract: {
|
|
1311
|
+
slots: readonly ["context-menu", "context-menu-trigger", "context-menu-group", "context-menu-portal", "context-menu-positioner", "context-menu-content", "context-menu-item", "context-menu-sub", "context-menu-sub-trigger", "context-menu-sub-positioner", "context-menu-sub-content", "context-menu-checkbox-item", "context-menu-radio-group", "context-menu-radio-item", "context-menu-item-indicator", "context-menu-label", "context-menu-separator", "context-menu-shortcut"];
|
|
1312
|
+
states: readonly ["closed", "open", "highlighted", "disabled", "checked", "unchecked", "submenu-open", "destructive"];
|
|
1313
|
+
visualArchetypes: readonly ["menu", "overlay"];
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
declare const copyButtonVariants: readonly ["ghost", "outline", "secondary"];
|
|
1317
|
+
declare const copyButtonSizePairs: readonly [{
|
|
1318
|
+
readonly icon: "icon-xs";
|
|
1319
|
+
readonly label: "xs";
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly icon: "icon-sm";
|
|
1322
|
+
readonly label: "sm";
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly icon: "icon";
|
|
1325
|
+
readonly label: "md";
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly icon: "icon-lg";
|
|
1328
|
+
readonly label: "lg";
|
|
1329
|
+
}, {
|
|
1330
|
+
readonly icon: "icon-xl";
|
|
1331
|
+
readonly label: "xl";
|
|
1332
|
+
}];
|
|
1333
|
+
declare const copyButtonSizes: ("sm" | "lg" | "md" | "xs" | "xl" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | "icon-xl")[];
|
|
1334
|
+
declare const copyButtonSlots: readonly ["button", "button-label", "copy-button-swap", "copy-button-item", "animated-check"];
|
|
1335
|
+
declare const copyButtonStates: readonly ["rest", "hover", "pressed", "focus-visible", "copied"];
|
|
1336
|
+
declare const copyButtonVisualArchetypes: readonly ["action"];
|
|
1337
|
+
type CopyButtonSize = (typeof copyButtonSizes)[number];
|
|
1338
|
+
type CopyButtonSlot = (typeof copyButtonSlots)[number];
|
|
1339
|
+
type CopyButtonState = (typeof copyButtonStates)[number];
|
|
1340
|
+
type CopyButtonVariant = (typeof copyButtonVariants)[number];
|
|
1341
|
+
type CopyButtonVisualArchetype = (typeof copyButtonVisualArchetypes)[number];
|
|
1342
|
+
interface CopyButtonContract {
|
|
1343
|
+
defaultIconSize: CopyButtonSize;
|
|
1344
|
+
defaultLabelSize: CopyButtonSize;
|
|
1345
|
+
sizePairs: typeof copyButtonSizePairs;
|
|
1346
|
+
sizes: readonly CopyButtonSize[];
|
|
1347
|
+
slots: readonly CopyButtonSlot[];
|
|
1348
|
+
states: readonly CopyButtonState[];
|
|
1349
|
+
variants: readonly CopyButtonVariant[];
|
|
1350
|
+
visualArchetypes: readonly CopyButtonVisualArchetype[];
|
|
1351
|
+
}
|
|
1352
|
+
declare const copyButtonContract: {
|
|
1353
|
+
defaultIconSize: "icon-sm";
|
|
1354
|
+
defaultLabelSize: "sm";
|
|
1355
|
+
sizePairs: readonly [{
|
|
1356
|
+
readonly icon: "icon-xs";
|
|
1357
|
+
readonly label: "xs";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly icon: "icon-sm";
|
|
1360
|
+
readonly label: "sm";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly icon: "icon";
|
|
1363
|
+
readonly label: "md";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly icon: "icon-lg";
|
|
1366
|
+
readonly label: "lg";
|
|
1367
|
+
}, {
|
|
1368
|
+
readonly icon: "icon-xl";
|
|
1369
|
+
readonly label: "xl";
|
|
1370
|
+
}];
|
|
1371
|
+
sizes: ("sm" | "lg" | "md" | "xs" | "xl" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | "icon-xl")[];
|
|
1372
|
+
slots: readonly ["button", "button-label", "copy-button-swap", "copy-button-item", "animated-check"];
|
|
1373
|
+
states: readonly ["rest", "hover", "pressed", "focus-visible", "copied"];
|
|
1374
|
+
variants: readonly ["ghost", "outline", "secondary"];
|
|
1375
|
+
visualArchetypes: readonly ["action"];
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
declare const connectedPanelAligns: readonly ["start", "center", "end"];
|
|
1379
|
+
declare const connectedPanelSlots: readonly ["connected-panel", "connected-panel-anchor", "connected-panel-trigger", "connected-panel-trigger-icon", "connected-panel-trigger-text", "connected-panel-trigger-label", "connected-panel-trigger-summary", "connected-panel-trigger-chevron", "connected-panel-content", "connected-panel-content-clip", "connected-panel-content-inner", "connected-panel-header", "connected-panel-title", "connected-panel-description", "connected-panel-body", "connected-panel-footer"];
|
|
1380
|
+
declare const connectedPanelStates: readonly ["closed", "open", "hover", "focus-visible", "disabled"];
|
|
1381
|
+
declare const connectedPanelVisualArchetypes: readonly ["trigger", "surface"];
|
|
1382
|
+
type ConnectedPanelAlign = (typeof connectedPanelAligns)[number];
|
|
1383
|
+
type ConnectedPanelSlot = (typeof connectedPanelSlots)[number];
|
|
1384
|
+
type ConnectedPanelState = (typeof connectedPanelStates)[number];
|
|
1385
|
+
type ConnectedPanelVisualArchetype = (typeof connectedPanelVisualArchetypes)[number];
|
|
1386
|
+
interface ConnectedPanelContract {
|
|
1387
|
+
defaultAlign: ConnectedPanelAlign;
|
|
1388
|
+
aligns: readonly ConnectedPanelAlign[];
|
|
1389
|
+
slots: readonly ConnectedPanelSlot[];
|
|
1390
|
+
states: readonly ConnectedPanelState[];
|
|
1391
|
+
visualArchetypes: readonly ConnectedPanelVisualArchetype[];
|
|
1392
|
+
}
|
|
1393
|
+
declare const connectedPanelContract: {
|
|
1394
|
+
defaultAlign: "start";
|
|
1395
|
+
aligns: readonly ["start", "center", "end"];
|
|
1396
|
+
slots: readonly ["connected-panel", "connected-panel-anchor", "connected-panel-trigger", "connected-panel-trigger-icon", "connected-panel-trigger-text", "connected-panel-trigger-label", "connected-panel-trigger-summary", "connected-panel-trigger-chevron", "connected-panel-content", "connected-panel-content-clip", "connected-panel-content-inner", "connected-panel-header", "connected-panel-title", "connected-panel-description", "connected-panel-body", "connected-panel-footer"];
|
|
1397
|
+
states: readonly ["closed", "open", "hover", "focus-visible", "disabled"];
|
|
1398
|
+
visualArchetypes: readonly ["trigger", "surface"];
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
declare const dialogSizes: readonly ["sm", "default", "lg"];
|
|
1402
|
+
declare const dialogMobilePlacements: readonly ["bottom", "center"];
|
|
1403
|
+
declare const dialogFooterVariants: readonly ["default", "bare"];
|
|
1404
|
+
declare const dialogStates: readonly ["closed", "open", "starting", "ending", "focus-visible"];
|
|
1405
|
+
declare const dialogSlots: readonly ["dialog-portal", "dialog-trigger", "dialog-backdrop", "dialog-viewport", "dialog-popup", "dialog-close", "dialog-close-button", "dialog-header", "dialog-title", "dialog-description", "dialog-panel", "dialog-footer"];
|
|
1406
|
+
declare const dialogVisualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1407
|
+
type DialogSize = (typeof dialogSizes)[number];
|
|
1408
|
+
type DialogMobilePlacement = (typeof dialogMobilePlacements)[number];
|
|
1409
|
+
type DialogFooterVariant = (typeof dialogFooterVariants)[number];
|
|
1410
|
+
type DialogState = (typeof dialogStates)[number];
|
|
1411
|
+
type DialogSlot = (typeof dialogSlots)[number];
|
|
1412
|
+
type DialogVisualArchetype = (typeof dialogVisualArchetypes)[number];
|
|
1413
|
+
interface DialogContract {
|
|
1414
|
+
defaultFooterVariant: DialogFooterVariant;
|
|
1415
|
+
defaultMobilePlacement: DialogMobilePlacement;
|
|
1416
|
+
defaultSize: DialogSize;
|
|
1417
|
+
footerVariants: readonly DialogFooterVariant[];
|
|
1418
|
+
mobilePlacements: readonly DialogMobilePlacement[];
|
|
1419
|
+
sizes: readonly DialogSize[];
|
|
1420
|
+
slots: readonly DialogSlot[];
|
|
1421
|
+
states: readonly DialogState[];
|
|
1422
|
+
visualArchetypes: readonly DialogVisualArchetype[];
|
|
1423
|
+
}
|
|
1424
|
+
declare const dialogContract: {
|
|
1425
|
+
defaultFooterVariant: "default";
|
|
1426
|
+
defaultMobilePlacement: "bottom";
|
|
1427
|
+
defaultSize: "default";
|
|
1428
|
+
footerVariants: readonly ["default", "bare"];
|
|
1429
|
+
mobilePlacements: readonly ["bottom", "center"];
|
|
1430
|
+
sizes: readonly ["sm", "default", "lg"];
|
|
1431
|
+
slots: readonly ["dialog-portal", "dialog-trigger", "dialog-backdrop", "dialog-viewport", "dialog-popup", "dialog-close", "dialog-close-button", "dialog-header", "dialog-title", "dialog-description", "dialog-panel", "dialog-footer"];
|
|
1432
|
+
states: readonly ["closed", "open", "starting", "ending", "focus-visible"];
|
|
1433
|
+
visualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1434
|
+
};
|
|
1435
|
+
|
|
1436
|
+
declare const destinationKinds: readonly ["internal", "external"];
|
|
1437
|
+
declare const destinationLinkStates: readonly ["rest", "focus-visible"];
|
|
1438
|
+
declare const destinationLinkSlots: readonly ["destination-link", "destination-indicator"];
|
|
1439
|
+
declare const destinationLinkVisualArchetypes: readonly ["action"];
|
|
1440
|
+
type DestinationKind = (typeof destinationKinds)[number];
|
|
1441
|
+
type DestinationLinkState = (typeof destinationLinkStates)[number];
|
|
1442
|
+
type DestinationLinkSlot = (typeof destinationLinkSlots)[number];
|
|
1443
|
+
type DestinationLinkVisualArchetype = (typeof destinationLinkVisualArchetypes)[number];
|
|
1444
|
+
interface DestinationLinkContract {
|
|
1445
|
+
kinds: readonly DestinationKind[];
|
|
1446
|
+
slots: readonly DestinationLinkSlot[];
|
|
1447
|
+
states: readonly DestinationLinkState[];
|
|
1448
|
+
visualArchetypes: readonly DestinationLinkVisualArchetype[];
|
|
1449
|
+
}
|
|
1450
|
+
declare const destinationLinkContract: {
|
|
1451
|
+
kinds: readonly ["internal", "external"];
|
|
1452
|
+
slots: readonly ["destination-link", "destination-indicator"];
|
|
1453
|
+
states: readonly ["rest", "focus-visible"];
|
|
1454
|
+
visualArchetypes: readonly ["action"];
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
declare const drawerDirections: readonly ["top", "bottom", "left", "right"];
|
|
1458
|
+
declare const drawerFooterVariants: readonly ["default", "bare"];
|
|
1459
|
+
declare const drawerStates: readonly ["closed", "open", "dragging", "snapped"];
|
|
1460
|
+
declare const drawerSlots: readonly ["drawer", "drawer-trigger", "drawer-portal", "drawer-overlay", "drawer-content", "drawer-handle", "drawer-header", "drawer-title", "drawer-description", "drawer-body", "drawer-footer", "drawer-close"];
|
|
1461
|
+
declare const drawerVisualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1462
|
+
type DrawerDirection = (typeof drawerDirections)[number];
|
|
1463
|
+
type DrawerFooterVariant = (typeof drawerFooterVariants)[number];
|
|
1464
|
+
type DrawerState = (typeof drawerStates)[number];
|
|
1465
|
+
type DrawerSlot = (typeof drawerSlots)[number];
|
|
1466
|
+
type DrawerVisualArchetype = (typeof drawerVisualArchetypes)[number];
|
|
1467
|
+
interface DrawerContract {
|
|
1468
|
+
defaultDirection: DrawerDirection;
|
|
1469
|
+
defaultFooterVariant: DrawerFooterVariant;
|
|
1470
|
+
directions: readonly DrawerDirection[];
|
|
1471
|
+
footerVariants: readonly DrawerFooterVariant[];
|
|
1472
|
+
slots: readonly DrawerSlot[];
|
|
1473
|
+
states: readonly DrawerState[];
|
|
1474
|
+
visualArchetypes: readonly DrawerVisualArchetype[];
|
|
1475
|
+
}
|
|
1476
|
+
declare const drawerContract: {
|
|
1477
|
+
defaultDirection: "bottom";
|
|
1478
|
+
defaultFooterVariant: "default";
|
|
1479
|
+
directions: readonly ["top", "bottom", "left", "right"];
|
|
1480
|
+
footerVariants: readonly ["default", "bare"];
|
|
1481
|
+
slots: readonly ["drawer", "drawer-trigger", "drawer-portal", "drawer-overlay", "drawer-content", "drawer-handle", "drawer-header", "drawer-title", "drawer-description", "drawer-body", "drawer-footer", "drawer-close"];
|
|
1482
|
+
states: readonly ["closed", "open", "dragging", "snapped"];
|
|
1483
|
+
visualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
declare const dropdownMenuItemVariants: readonly ["default", "destructive"];
|
|
1487
|
+
declare const dropdownMenuStates: readonly ["closed", "open", "highlighted", "disabled", "checked", "unchecked", "submenu-open", "destructive"];
|
|
1488
|
+
declare const dropdownMenuSlots: readonly ["dropdown-menu", "dropdown-menu-trigger", "dropdown-menu-group", "dropdown-menu-portal", "dropdown-menu-positioner", "dropdown-menu-content", "dropdown-menu-item", "dropdown-menu-checkbox-item", "dropdown-menu-radio-group", "dropdown-menu-radio-item", "dropdown-menu-item-indicator", "dropdown-menu-label", "dropdown-menu-separator", "dropdown-menu-shortcut", "dropdown-menu-sub", "dropdown-menu-sub-trigger", "dropdown-menu-sub-positioner", "dropdown-menu-sub-content"];
|
|
1489
|
+
declare const dropdownMenuVisualArchetypes: readonly ["menu", "overlay", "trigger", "action", "choice"];
|
|
1490
|
+
type DropdownMenuItemVariant = (typeof dropdownMenuItemVariants)[number];
|
|
1491
|
+
type DropdownMenuState = (typeof dropdownMenuStates)[number];
|
|
1492
|
+
type DropdownMenuSlot = (typeof dropdownMenuSlots)[number];
|
|
1493
|
+
type DropdownMenuVisualArchetype = (typeof dropdownMenuVisualArchetypes)[number];
|
|
1494
|
+
interface DropdownMenuContract {
|
|
1495
|
+
defaultItemVariant: DropdownMenuItemVariant;
|
|
1496
|
+
itemVariants: readonly DropdownMenuItemVariant[];
|
|
1497
|
+
slots: readonly DropdownMenuSlot[];
|
|
1498
|
+
states: readonly DropdownMenuState[];
|
|
1499
|
+
visualArchetypes: readonly DropdownMenuVisualArchetype[];
|
|
1500
|
+
}
|
|
1501
|
+
declare const dropdownMenuContract: {
|
|
1502
|
+
defaultItemVariant: "default";
|
|
1503
|
+
itemVariants: readonly ["default", "destructive"];
|
|
1504
|
+
slots: readonly ["dropdown-menu", "dropdown-menu-trigger", "dropdown-menu-group", "dropdown-menu-portal", "dropdown-menu-positioner", "dropdown-menu-content", "dropdown-menu-item", "dropdown-menu-checkbox-item", "dropdown-menu-radio-group", "dropdown-menu-radio-item", "dropdown-menu-item-indicator", "dropdown-menu-label", "dropdown-menu-separator", "dropdown-menu-shortcut", "dropdown-menu-sub", "dropdown-menu-sub-trigger", "dropdown-menu-sub-positioner", "dropdown-menu-sub-content"];
|
|
1505
|
+
states: readonly ["closed", "open", "highlighted", "disabled", "checked", "unchecked", "submenu-open", "destructive"];
|
|
1506
|
+
visualArchetypes: readonly ["menu", "overlay", "trigger", "action", "choice"];
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
declare const emptyMediaVariants: readonly ["default", "icon"];
|
|
1510
|
+
declare const emptySlots: readonly ["empty", "empty-header", "empty-icon", "empty-title", "empty-description", "empty-content", "empty-error-detail", "empty-error-toggle", "empty-error-box", "empty-error-text", "empty-error-copy"];
|
|
1511
|
+
declare const emptyStates: readonly ["empty", "error", "collapsed", "expanded"];
|
|
1512
|
+
declare const emptyVisualArchetypes: readonly ["surface", "action"];
|
|
1513
|
+
type EmptyMediaVariant = (typeof emptyMediaVariants)[number];
|
|
1514
|
+
type EmptySlot = (typeof emptySlots)[number];
|
|
1515
|
+
type EmptyState = (typeof emptyStates)[number];
|
|
1516
|
+
type EmptyVisualArchetype = (typeof emptyVisualArchetypes)[number];
|
|
1517
|
+
interface EmptyContract {
|
|
1518
|
+
defaultMediaVariant: EmptyMediaVariant;
|
|
1519
|
+
mediaVariants: readonly EmptyMediaVariant[];
|
|
1520
|
+
slots: readonly EmptySlot[];
|
|
1521
|
+
states: readonly EmptyState[];
|
|
1522
|
+
visualArchetypes: readonly EmptyVisualArchetype[];
|
|
1523
|
+
}
|
|
1524
|
+
declare const emptyContract: {
|
|
1525
|
+
defaultMediaVariant: "default";
|
|
1526
|
+
mediaVariants: readonly ["default", "icon"];
|
|
1527
|
+
slots: readonly ["empty", "empty-header", "empty-icon", "empty-title", "empty-description", "empty-content", "empty-error-detail", "empty-error-toggle", "empty-error-box", "empty-error-text", "empty-error-copy"];
|
|
1528
|
+
states: readonly ["empty", "error", "collapsed", "expanded"];
|
|
1529
|
+
visualArchetypes: readonly ["surface", "action"];
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
declare const feedbackStateKinds: readonly ["empty", "error", "loading", "not-found", "no-results", "offline", "stale"];
|
|
1533
|
+
declare const feedbackStateSizes: readonly ["inline", "panel", "page", "widget"];
|
|
1534
|
+
declare const feedbackStateSlots: readonly ["feedback-state", "feedback-state-header", "feedback-state-media", "feedback-state-title", "feedback-state-description", "feedback-state-content"];
|
|
1535
|
+
declare const feedbackStateStates: readonly ["idle", "busy", "actionable"];
|
|
1536
|
+
declare const feedbackStateVisualArchetypes: readonly ["action"];
|
|
1537
|
+
type FeedbackStateKind = (typeof feedbackStateKinds)[number];
|
|
1538
|
+
type FeedbackStateSize = (typeof feedbackStateSizes)[number];
|
|
1539
|
+
type FeedbackStateSlot = (typeof feedbackStateSlots)[number];
|
|
1540
|
+
type FeedbackStateState = (typeof feedbackStateStates)[number];
|
|
1541
|
+
type FeedbackStateVisualArchetype = (typeof feedbackStateVisualArchetypes)[number];
|
|
1542
|
+
interface FeedbackStateContract {
|
|
1543
|
+
defaultKind: FeedbackStateKind;
|
|
1544
|
+
defaultSize: FeedbackStateSize;
|
|
1545
|
+
kinds: readonly FeedbackStateKind[];
|
|
1546
|
+
sizes: readonly FeedbackStateSize[];
|
|
1547
|
+
slots: readonly FeedbackStateSlot[];
|
|
1548
|
+
states: readonly FeedbackStateState[];
|
|
1549
|
+
visualArchetypes: readonly FeedbackStateVisualArchetype[];
|
|
1550
|
+
}
|
|
1551
|
+
declare const feedbackStateContract: {
|
|
1552
|
+
defaultKind: "empty";
|
|
1553
|
+
defaultSize: "panel";
|
|
1554
|
+
kinds: readonly ["empty", "error", "loading", "not-found", "no-results", "offline", "stale"];
|
|
1555
|
+
sizes: readonly ["inline", "panel", "page", "widget"];
|
|
1556
|
+
slots: readonly ["feedback-state", "feedback-state-header", "feedback-state-media", "feedback-state-title", "feedback-state-description", "feedback-state-content"];
|
|
1557
|
+
states: readonly ["idle", "busy", "actionable"];
|
|
1558
|
+
visualArchetypes: readonly ["action"];
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
declare const fieldOrientations: readonly ["vertical", "horizontal", "responsive"];
|
|
1562
|
+
declare const fieldLegendVariants: readonly ["legend", "label"];
|
|
1563
|
+
declare const fieldStates: readonly ["default", "invalid", "disabled"];
|
|
1564
|
+
declare const fieldSlots: readonly ["field-set", "field-legend", "field-group", "field", "field-content", "field-label", "field-title", "field-description", "field-separator", "field-separator-content", "field-error"];
|
|
1565
|
+
declare const fieldVisualArchetypes: readonly ["field", "choice"];
|
|
1566
|
+
type FieldOrientation = (typeof fieldOrientations)[number];
|
|
1567
|
+
type FieldLegendVariant = (typeof fieldLegendVariants)[number];
|
|
1568
|
+
type FieldState = (typeof fieldStates)[number];
|
|
1569
|
+
type FieldSlot = (typeof fieldSlots)[number];
|
|
1570
|
+
type FieldVisualArchetype = (typeof fieldVisualArchetypes)[number];
|
|
1571
|
+
interface FieldContract {
|
|
1572
|
+
defaultLegendVariant: FieldLegendVariant;
|
|
1573
|
+
defaultOrientation: FieldOrientation;
|
|
1574
|
+
legendVariants: readonly FieldLegendVariant[];
|
|
1575
|
+
orientations: readonly FieldOrientation[];
|
|
1576
|
+
slots: readonly FieldSlot[];
|
|
1577
|
+
states: readonly FieldState[];
|
|
1578
|
+
visualArchetypes: readonly FieldVisualArchetype[];
|
|
1579
|
+
}
|
|
1580
|
+
declare const fieldContract: {
|
|
1581
|
+
defaultLegendVariant: "legend";
|
|
1582
|
+
defaultOrientation: "vertical";
|
|
1583
|
+
legendVariants: readonly ["legend", "label"];
|
|
1584
|
+
orientations: readonly ["vertical", "horizontal", "responsive"];
|
|
1585
|
+
slots: readonly ["field-set", "field-legend", "field-group", "field", "field-content", "field-label", "field-title", "field-description", "field-separator", "field-separator-content", "field-error"];
|
|
1586
|
+
states: readonly ["default", "invalid", "disabled"];
|
|
1587
|
+
visualArchetypes: readonly ["field", "choice"];
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
declare const formSlots: readonly ["form-item", "form-label", "form-control", "form-description", "form-message"];
|
|
1591
|
+
declare const formStates: readonly ["default", "invalid"];
|
|
1592
|
+
declare const formVisualArchetypes: readonly ["field"];
|
|
1593
|
+
type FormSlot = (typeof formSlots)[number];
|
|
1594
|
+
type FormState = (typeof formStates)[number];
|
|
1595
|
+
type FormVisualArchetype = (typeof formVisualArchetypes)[number];
|
|
1596
|
+
interface FormContract {
|
|
1597
|
+
slots: readonly FormSlot[];
|
|
1598
|
+
states: readonly FormState[];
|
|
1599
|
+
visualArchetypes: readonly FormVisualArchetype[];
|
|
1600
|
+
}
|
|
1601
|
+
declare const formContract: {
|
|
1602
|
+
slots: readonly ["form-item", "form-label", "form-control", "form-description", "form-message"];
|
|
1603
|
+
states: readonly ["default", "invalid"];
|
|
1604
|
+
visualArchetypes: readonly ["field"];
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
declare const hoverCardStates: readonly ["closed", "open", "starting", "ending"];
|
|
1608
|
+
declare const hoverCardSlots: readonly ["hover-card", "hover-card-trigger", "hover-card-portal", "hover-card-positioner", "hover-card-content"];
|
|
1609
|
+
declare const hoverCardVisualArchetypes: readonly ["overlay", "surface", "trigger"];
|
|
1610
|
+
type HoverCardState = (typeof hoverCardStates)[number];
|
|
1611
|
+
type HoverCardSlot = (typeof hoverCardSlots)[number];
|
|
1612
|
+
type HoverCardVisualArchetype = (typeof hoverCardVisualArchetypes)[number];
|
|
1613
|
+
interface HoverCardContract {
|
|
1614
|
+
slots: readonly HoverCardSlot[];
|
|
1615
|
+
states: readonly HoverCardState[];
|
|
1616
|
+
visualArchetypes: readonly HoverCardVisualArchetype[];
|
|
1617
|
+
}
|
|
1618
|
+
declare const hoverCardContract: {
|
|
1619
|
+
slots: readonly ["hover-card", "hover-card-trigger", "hover-card-portal", "hover-card-positioner", "hover-card-content"];
|
|
1620
|
+
states: readonly ["closed", "open", "starting", "ending"];
|
|
1621
|
+
visualArchetypes: readonly ["overlay", "surface", "trigger"];
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
declare const frameVariants: readonly ["muted-background", "muted-card"];
|
|
1625
|
+
declare const frameTrays: readonly ["muted", "card", "background"];
|
|
1626
|
+
declare const framePanelSurfaces: readonly ["background", "card", "muted"];
|
|
1627
|
+
declare const frameBorders: readonly ["off", "subtle", "strong"];
|
|
1628
|
+
declare const frameSlots: readonly ["frame", "frame-panel", "frame-panel-header", "frame-panel-title", "frame-panel-description", "frame-panel-footer"];
|
|
1629
|
+
declare const frameStates: readonly ["default", "border-off", "border-subtle", "border-strong"];
|
|
1630
|
+
declare const frameVisualArchetypes: readonly ["surface"];
|
|
1631
|
+
type FrameVariant = (typeof frameVariants)[number];
|
|
1632
|
+
type FrameTray = (typeof frameTrays)[number];
|
|
1633
|
+
type FramePanelSurface = (typeof framePanelSurfaces)[number];
|
|
1634
|
+
type FrameBorder = (typeof frameBorders)[number];
|
|
1635
|
+
type FrameSlot = (typeof frameSlots)[number];
|
|
1636
|
+
type FrameState = (typeof frameStates)[number];
|
|
1637
|
+
type FrameVisualArchetype = (typeof frameVisualArchetypes)[number];
|
|
1638
|
+
/** Preset → {tray, panel} surface pair. Mirrors prod FRAME_PRESETS. */
|
|
1639
|
+
declare const framePresets: {
|
|
1640
|
+
'muted-background': {
|
|
1641
|
+
tray: "muted";
|
|
1642
|
+
panel: "background";
|
|
1643
|
+
};
|
|
1644
|
+
'muted-card': {
|
|
1645
|
+
tray: "muted";
|
|
1646
|
+
panel: "card";
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
interface FrameContract {
|
|
1650
|
+
defaultVariant: FrameVariant;
|
|
1651
|
+
defaultBorder: FrameBorder;
|
|
1652
|
+
variants: readonly FrameVariant[];
|
|
1653
|
+
trays: readonly FrameTray[];
|
|
1654
|
+
panelSurfaces: readonly FramePanelSurface[];
|
|
1655
|
+
borders: readonly FrameBorder[];
|
|
1656
|
+
slots: readonly FrameSlot[];
|
|
1657
|
+
states: readonly FrameState[];
|
|
1658
|
+
visualArchetypes: readonly FrameVisualArchetype[];
|
|
1659
|
+
presets: typeof framePresets;
|
|
1660
|
+
}
|
|
1661
|
+
declare const frameContract: {
|
|
1662
|
+
defaultVariant: "muted-background";
|
|
1663
|
+
defaultBorder: "strong";
|
|
1664
|
+
variants: readonly ["muted-background", "muted-card"];
|
|
1665
|
+
trays: readonly ["muted", "card", "background"];
|
|
1666
|
+
panelSurfaces: readonly ["background", "card", "muted"];
|
|
1667
|
+
borders: readonly ["off", "subtle", "strong"];
|
|
1668
|
+
slots: readonly ["frame", "frame-panel", "frame-panel-header", "frame-panel-title", "frame-panel-description", "frame-panel-footer"];
|
|
1669
|
+
states: readonly ["default", "border-off", "border-subtle", "border-strong"];
|
|
1670
|
+
visualArchetypes: readonly ["surface"];
|
|
1671
|
+
presets: {
|
|
1672
|
+
'muted-background': {
|
|
1673
|
+
tray: "muted";
|
|
1674
|
+
panel: "background";
|
|
1675
|
+
};
|
|
1676
|
+
'muted-card': {
|
|
1677
|
+
tray: "muted";
|
|
1678
|
+
panel: "card";
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
/** Resolve a Frame's effective tray+panel+border from variant/override props. */
|
|
1683
|
+
declare function resolveFrameChrome({ variant, tray, panel, border, }: {
|
|
1684
|
+
variant?: FrameVariant;
|
|
1685
|
+
tray?: FrameTray;
|
|
1686
|
+
panel?: FramePanelSurface;
|
|
1687
|
+
border?: FrameBorder;
|
|
1688
|
+
}): {
|
|
1689
|
+
tray: FrameTray;
|
|
1690
|
+
panel: FramePanelSurface;
|
|
1691
|
+
border: FrameBorder;
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
declare const inputSizes: readonly ["sm", "md", "lg"];
|
|
1695
|
+
declare const inputStates: readonly ["rest", "hover", "focus", "disabled", "invalid"];
|
|
1696
|
+
declare const inputSlots: readonly ["input-control", "input"];
|
|
1697
|
+
declare const inputTokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.height", "field.paddingInline", "field.fontSize"];
|
|
1698
|
+
declare const inputVisualArchetypes: readonly ["field"];
|
|
1699
|
+
declare const inputGroupSlots: readonly ["input-group", "input-group-addon", "input-group-button", "input-group-text"];
|
|
1700
|
+
declare const inputGroupAligns: readonly ["inline-start", "inline-end", "block-start", "block-end"];
|
|
1701
|
+
declare const inputGroupVisualArchetypes: readonly ["field"];
|
|
1702
|
+
type InputSize = (typeof inputSizes)[number];
|
|
1703
|
+
type InputState = (typeof inputStates)[number];
|
|
1704
|
+
type InputSlot = (typeof inputSlots)[number];
|
|
1705
|
+
type InputTokenSlot = (typeof inputTokenSlots)[number];
|
|
1706
|
+
type InputVisualArchetype = (typeof inputVisualArchetypes)[number];
|
|
1707
|
+
type InputGroupSlot = (typeof inputGroupSlots)[number];
|
|
1708
|
+
type InputGroupAlign = (typeof inputGroupAligns)[number];
|
|
1709
|
+
type InputGroupVisualArchetype = (typeof inputGroupVisualArchetypes)[number];
|
|
1710
|
+
interface InputContract {
|
|
1711
|
+
defaultSize: InputSize;
|
|
1712
|
+
slots: readonly InputSlot[];
|
|
1713
|
+
states: readonly InputState[];
|
|
1714
|
+
tokenSlots: readonly InputTokenSlot[];
|
|
1715
|
+
sizes: readonly InputSize[];
|
|
1716
|
+
visualArchetypes: readonly InputVisualArchetype[];
|
|
1717
|
+
}
|
|
1718
|
+
declare const inputContract: {
|
|
1719
|
+
defaultSize: "md";
|
|
1720
|
+
slots: readonly ["input-control", "input"];
|
|
1721
|
+
states: readonly ["rest", "hover", "focus", "disabled", "invalid"];
|
|
1722
|
+
tokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.height", "field.paddingInline", "field.fontSize"];
|
|
1723
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
1724
|
+
visualArchetypes: readonly ["field"];
|
|
1725
|
+
};
|
|
1726
|
+
interface InputGroupContract {
|
|
1727
|
+
aligns: readonly InputGroupAlign[];
|
|
1728
|
+
slots: readonly InputGroupSlot[];
|
|
1729
|
+
visualArchetypes: readonly InputGroupVisualArchetype[];
|
|
1730
|
+
}
|
|
1731
|
+
declare const inputGroupContract: {
|
|
1732
|
+
aligns: readonly ["inline-start", "inline-end", "block-start", "block-end"];
|
|
1733
|
+
slots: readonly ["input-group", "input-group-addon", "input-group-button", "input-group-text"];
|
|
1734
|
+
visualArchetypes: readonly ["field"];
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
declare const inputOTPStates: readonly ["rest", "active", "disabled", "invalid"];
|
|
1738
|
+
declare const inputOTPSlots: readonly ["input-otp", "input-otp-group", "input-otp-slot", "input-otp-separator"];
|
|
1739
|
+
declare const inputOTPVisualArchetypes: readonly ["field"];
|
|
1740
|
+
type InputOTPState = (typeof inputOTPStates)[number];
|
|
1741
|
+
type InputOTPSlot = (typeof inputOTPSlots)[number];
|
|
1742
|
+
type InputOTPVisualArchetype = (typeof inputOTPVisualArchetypes)[number];
|
|
1743
|
+
interface InputOTPContract {
|
|
1744
|
+
slots: readonly InputOTPSlot[];
|
|
1745
|
+
states: readonly InputOTPState[];
|
|
1746
|
+
visualArchetypes: readonly InputOTPVisualArchetype[];
|
|
1747
|
+
}
|
|
1748
|
+
declare const inputOTPContract: {
|
|
1749
|
+
slots: readonly ["input-otp", "input-otp-group", "input-otp-slot", "input-otp-separator"];
|
|
1750
|
+
states: readonly ["rest", "active", "disabled", "invalid"];
|
|
1751
|
+
visualArchetypes: readonly ["field"];
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
declare const itemVariants: readonly ["default", "outline", "muted"];
|
|
1755
|
+
declare const itemSizes: readonly ["default", "sm", "xs"];
|
|
1756
|
+
declare const itemMediaVariants: readonly ["default", "icon", "image"];
|
|
1757
|
+
declare const itemSlots: readonly ["item-group", "item", "item-media", "item-content", "item-title", "item-description", "item-actions", "item-header", "item-footer", "item-separator"];
|
|
1758
|
+
declare const itemStates: readonly ["rest", "hover", "focus"];
|
|
1759
|
+
declare const itemVisualArchetypes: readonly ["surface"];
|
|
1760
|
+
type ItemVariant = (typeof itemVariants)[number];
|
|
1761
|
+
type ItemSize = (typeof itemSizes)[number];
|
|
1762
|
+
type ItemMediaVariant = (typeof itemMediaVariants)[number];
|
|
1763
|
+
type ItemSlot = (typeof itemSlots)[number];
|
|
1764
|
+
type ItemState = (typeof itemStates)[number];
|
|
1765
|
+
type ItemVisualArchetype = (typeof itemVisualArchetypes)[number];
|
|
1766
|
+
interface ItemContract {
|
|
1767
|
+
defaultVariant: ItemVariant;
|
|
1768
|
+
defaultSize: ItemSize;
|
|
1769
|
+
defaultMediaVariant: ItemMediaVariant;
|
|
1770
|
+
variants: readonly ItemVariant[];
|
|
1771
|
+
sizes: readonly ItemSize[];
|
|
1772
|
+
mediaVariants: readonly ItemMediaVariant[];
|
|
1773
|
+
slots: readonly ItemSlot[];
|
|
1774
|
+
states: readonly ItemState[];
|
|
1775
|
+
visualArchetypes: readonly ItemVisualArchetype[];
|
|
1776
|
+
}
|
|
1777
|
+
declare const itemContract: {
|
|
1778
|
+
defaultVariant: "default";
|
|
1779
|
+
defaultSize: "default";
|
|
1780
|
+
defaultMediaVariant: "default";
|
|
1781
|
+
variants: readonly ["default", "outline", "muted"];
|
|
1782
|
+
sizes: readonly ["default", "sm", "xs"];
|
|
1783
|
+
mediaVariants: readonly ["default", "icon", "image"];
|
|
1784
|
+
slots: readonly ["item-group", "item", "item-media", "item-content", "item-title", "item-description", "item-actions", "item-header", "item-footer", "item-separator"];
|
|
1785
|
+
states: readonly ["rest", "hover", "focus"];
|
|
1786
|
+
visualArchetypes: readonly ["surface"];
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
declare const kbdSizes: readonly ["sm", "md"];
|
|
1790
|
+
declare const kbdSlots: readonly ["kbd", "kbd-group"];
|
|
1791
|
+
declare const kbdStates: readonly ["rest"];
|
|
1792
|
+
declare const kbdVisualArchetypes: readonly ["marker"];
|
|
1793
|
+
type KbdSize = (typeof kbdSizes)[number];
|
|
1794
|
+
type KbdSlot = (typeof kbdSlots)[number];
|
|
1795
|
+
type KbdState = (typeof kbdStates)[number];
|
|
1796
|
+
type KbdVisualArchetype = (typeof kbdVisualArchetypes)[number];
|
|
1797
|
+
interface KbdContract {
|
|
1798
|
+
defaultSize: KbdSize;
|
|
1799
|
+
sizes: readonly KbdSize[];
|
|
1800
|
+
slots: readonly KbdSlot[];
|
|
1801
|
+
states: readonly KbdState[];
|
|
1802
|
+
visualArchetypes: readonly KbdVisualArchetype[];
|
|
1803
|
+
}
|
|
1804
|
+
declare const kbdContract: {
|
|
1805
|
+
defaultSize: "md";
|
|
1806
|
+
sizes: readonly ["sm", "md"];
|
|
1807
|
+
slots: readonly ["kbd", "kbd-group"];
|
|
1808
|
+
states: readonly ["rest"];
|
|
1809
|
+
visualArchetypes: readonly ["marker"];
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
declare const labelStates: readonly ["rest", "disabled", "invalid"];
|
|
1813
|
+
declare const labelSlots: readonly ["label"];
|
|
1814
|
+
declare const labelVisualArchetypes: readonly ["field"];
|
|
1815
|
+
type LabelState = (typeof labelStates)[number];
|
|
1816
|
+
type LabelSlot = (typeof labelSlots)[number];
|
|
1817
|
+
type LabelVisualArchetype = (typeof labelVisualArchetypes)[number];
|
|
1818
|
+
interface LabelContract {
|
|
1819
|
+
slots: readonly LabelSlot[];
|
|
1820
|
+
states: readonly LabelState[];
|
|
1821
|
+
visualArchetypes: readonly LabelVisualArchetype[];
|
|
1822
|
+
}
|
|
1823
|
+
declare const labelContract: {
|
|
1824
|
+
slots: readonly ["label"];
|
|
1825
|
+
states: readonly ["rest", "disabled", "invalid"];
|
|
1826
|
+
visualArchetypes: readonly ["field"];
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
declare const loadMoreTriggerVariants: readonly ["default", "minimal", "prominent"];
|
|
1830
|
+
declare const loadMoreTriggerStates: readonly ["idle", "loading", "failed", "exhausted", "hidden", "custom"];
|
|
1831
|
+
declare const loadMoreTriggerSlots: readonly ["load-more-trigger", "load-more-trigger-message", "load-more-trigger-icon", "load-more-trigger-spinner", "load-more-trigger-action"];
|
|
1832
|
+
declare const loadMoreTriggerVisualArchetypes: readonly ["surface", "action"];
|
|
1833
|
+
type LoadMoreTriggerVariant = (typeof loadMoreTriggerVariants)[number];
|
|
1834
|
+
type LoadMoreTriggerState = (typeof loadMoreTriggerStates)[number];
|
|
1835
|
+
type LoadMoreTriggerSlot = (typeof loadMoreTriggerSlots)[number];
|
|
1836
|
+
type LoadMoreTriggerVisualArchetype = (typeof loadMoreTriggerVisualArchetypes)[number];
|
|
1837
|
+
interface LoadMoreTriggerContract {
|
|
1838
|
+
defaultVariant: LoadMoreTriggerVariant;
|
|
1839
|
+
slots: readonly LoadMoreTriggerSlot[];
|
|
1840
|
+
states: readonly LoadMoreTriggerState[];
|
|
1841
|
+
variants: readonly LoadMoreTriggerVariant[];
|
|
1842
|
+
visualArchetypes: readonly LoadMoreTriggerVisualArchetype[];
|
|
1843
|
+
}
|
|
1844
|
+
declare const loadMoreTriggerContract: {
|
|
1845
|
+
defaultVariant: "default";
|
|
1846
|
+
slots: readonly ["load-more-trigger", "load-more-trigger-message", "load-more-trigger-icon", "load-more-trigger-spinner", "load-more-trigger-action"];
|
|
1847
|
+
states: readonly ["idle", "loading", "failed", "exhausted", "hidden", "custom"];
|
|
1848
|
+
variants: readonly ["default", "minimal", "prominent"];
|
|
1849
|
+
visualArchetypes: readonly ["surface", "action"];
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
declare const marqueeOrientations: readonly ["horizontal", "vertical"];
|
|
1853
|
+
declare const marqueeStates: readonly ["running", "paused", "hover-paused", "reduced-motion"];
|
|
1854
|
+
declare const marqueeSlots: readonly ["marquee", "marquee-track"];
|
|
1855
|
+
declare const marqueeVisualArchetypes: readonly [];
|
|
1856
|
+
type MarqueeOrientation = (typeof marqueeOrientations)[number];
|
|
1857
|
+
type MarqueeState = (typeof marqueeStates)[number];
|
|
1858
|
+
type MarqueeSlot = (typeof marqueeSlots)[number];
|
|
1859
|
+
interface MarqueeContract {
|
|
1860
|
+
defaultGap: string;
|
|
1861
|
+
defaultRepeat: number;
|
|
1862
|
+
orientations: readonly MarqueeOrientation[];
|
|
1863
|
+
slots: readonly MarqueeSlot[];
|
|
1864
|
+
states: readonly MarqueeState[];
|
|
1865
|
+
visualArchetypes: readonly VisualArchetypeId[];
|
|
1866
|
+
}
|
|
1867
|
+
declare const marqueeContract: {
|
|
1868
|
+
defaultGap: string;
|
|
1869
|
+
defaultRepeat: number;
|
|
1870
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
1871
|
+
slots: readonly ["marquee", "marquee-track"];
|
|
1872
|
+
states: readonly ["running", "paused", "hover-paused", "reduced-motion"];
|
|
1873
|
+
visualArchetypes: readonly [];
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
declare const menuTones: readonly ["neutral", "primary"];
|
|
1877
|
+
declare const menuItemVariants: readonly ["default", "destructive"];
|
|
1878
|
+
declare const menuStates: readonly ["rest", "highlighted", "disabled", "selected", "submenu-open"];
|
|
1879
|
+
declare const menuSlots: readonly ["menu-positioner", "menu-popup", "menu-item", "menu-item-indicator", "menu-sub-trigger", "menu-label", "menu-separator", "menu-shortcut"];
|
|
1880
|
+
declare const menuVisualArchetypes: readonly ["menu", "overlay"];
|
|
1881
|
+
type MenuTone = (typeof menuTones)[number];
|
|
1882
|
+
type MenuItemVariant = (typeof menuItemVariants)[number];
|
|
1883
|
+
type MenuState = (typeof menuStates)[number];
|
|
1884
|
+
type MenuSlot = (typeof menuSlots)[number];
|
|
1885
|
+
type MenuVisualArchetype = (typeof menuVisualArchetypes)[number];
|
|
1886
|
+
interface MenuContract {
|
|
1887
|
+
defaultItemVariant: MenuItemVariant;
|
|
1888
|
+
defaultTone: MenuTone;
|
|
1889
|
+
itemVariants: readonly MenuItemVariant[];
|
|
1890
|
+
slots: readonly MenuSlot[];
|
|
1891
|
+
states: readonly MenuState[];
|
|
1892
|
+
tones: readonly MenuTone[];
|
|
1893
|
+
visualArchetypes: readonly MenuVisualArchetype[];
|
|
1894
|
+
}
|
|
1895
|
+
declare const menuContract: {
|
|
1896
|
+
defaultItemVariant: "default";
|
|
1897
|
+
defaultTone: "neutral";
|
|
1898
|
+
itemVariants: readonly ["default", "destructive"];
|
|
1899
|
+
slots: readonly ["menu-positioner", "menu-popup", "menu-item", "menu-item-indicator", "menu-sub-trigger", "menu-label", "menu-separator", "menu-shortcut"];
|
|
1900
|
+
states: readonly ["rest", "highlighted", "disabled", "selected", "submenu-open"];
|
|
1901
|
+
tones: readonly ["neutral", "primary"];
|
|
1902
|
+
visualArchetypes: readonly ["menu", "overlay"];
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
declare const menubarStates: readonly ["closed", "open", "highlighted", "disabled", "selected"];
|
|
1906
|
+
declare const menubarSlots: readonly ["menubar", "menubar-menu", "menubar-group", "menubar-portal", "menubar-trigger", "menubar-content", "menubar-item", "menubar-checkbox-item", "menubar-radio-group", "menubar-radio-item", "menubar-item-indicator", "menubar-label", "menubar-separator", "menubar-shortcut", "menubar-sub", "menubar-sub-trigger", "menubar-sub-content"];
|
|
1907
|
+
declare const menubarVisualArchetypes: readonly ["surface", "trigger", "menu", "overlay"];
|
|
1908
|
+
type MenubarState = (typeof menubarStates)[number];
|
|
1909
|
+
type MenubarSlot = (typeof menubarSlots)[number];
|
|
1910
|
+
type MenubarVisualArchetype = (typeof menubarVisualArchetypes)[number];
|
|
1911
|
+
interface MenubarContract {
|
|
1912
|
+
slots: readonly MenubarSlot[];
|
|
1913
|
+
states: readonly MenubarState[];
|
|
1914
|
+
visualArchetypes: readonly MenubarVisualArchetype[];
|
|
1915
|
+
}
|
|
1916
|
+
declare const menubarContract: {
|
|
1917
|
+
slots: readonly ["menubar", "menubar-menu", "menubar-group", "menubar-portal", "menubar-trigger", "menubar-content", "menubar-item", "menubar-checkbox-item", "menubar-radio-group", "menubar-radio-item", "menubar-item-indicator", "menubar-label", "menubar-separator", "menubar-shortcut", "menubar-sub", "menubar-sub-trigger", "menubar-sub-content"];
|
|
1918
|
+
states: readonly ["closed", "open", "highlighted", "disabled", "selected"];
|
|
1919
|
+
visualArchetypes: readonly ["surface", "trigger", "menu", "overlay"];
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1922
|
+
declare const navigationMenuStates: readonly ["closed", "open", "active", "disabled", "starting", "ending"];
|
|
1923
|
+
declare const navigationMenuSlots: readonly ["navigation-menu", "navigation-menu-list", "navigation-menu-item", "navigation-menu-trigger", "navigation-menu-content", "navigation-menu-portal", "navigation-menu-positioner", "navigation-menu-popup", "navigation-menu-viewport", "navigation-menu-link", "navigation-menu-indicator"];
|
|
1924
|
+
declare const navigationMenuVisualArchetypes: readonly ["trigger", "overlay", "surface"];
|
|
1925
|
+
type NavigationMenuState = (typeof navigationMenuStates)[number];
|
|
1926
|
+
type NavigationMenuSlot = (typeof navigationMenuSlots)[number];
|
|
1927
|
+
type NavigationMenuVisualArchetype = (typeof navigationMenuVisualArchetypes)[number];
|
|
1928
|
+
interface NavigationMenuContract {
|
|
1929
|
+
slots: readonly NavigationMenuSlot[];
|
|
1930
|
+
states: readonly NavigationMenuState[];
|
|
1931
|
+
visualArchetypes: readonly NavigationMenuVisualArchetype[];
|
|
1932
|
+
}
|
|
1933
|
+
declare const navigationMenuContract: {
|
|
1934
|
+
slots: readonly ["navigation-menu", "navigation-menu-list", "navigation-menu-item", "navigation-menu-trigger", "navigation-menu-content", "navigation-menu-portal", "navigation-menu-positioner", "navigation-menu-popup", "navigation-menu-viewport", "navigation-menu-link", "navigation-menu-indicator"];
|
|
1935
|
+
states: readonly ["closed", "open", "active", "disabled", "starting", "ending"];
|
|
1936
|
+
visualArchetypes: readonly ["trigger", "overlay", "surface"];
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
declare const paginationStates: readonly ["rest", "current"];
|
|
1940
|
+
declare const paginationSlots: readonly ["pagination", "pagination-content", "pagination-item", "pagination-link", "pagination-ellipsis"];
|
|
1941
|
+
declare const paginationVisualArchetypes: readonly ["action"];
|
|
1942
|
+
type PaginationState = (typeof paginationStates)[number];
|
|
1943
|
+
type PaginationSlot = (typeof paginationSlots)[number];
|
|
1944
|
+
type PaginationVisualArchetype = (typeof paginationVisualArchetypes)[number];
|
|
1945
|
+
interface PaginationContract {
|
|
1946
|
+
defaultLinkSize: ButtonSize;
|
|
1947
|
+
linkSizes: readonly ButtonSize[];
|
|
1948
|
+
slots: readonly PaginationSlot[];
|
|
1949
|
+
states: readonly PaginationState[];
|
|
1950
|
+
visualArchetypes: readonly PaginationVisualArchetype[];
|
|
1951
|
+
}
|
|
1952
|
+
declare const paginationContract: {
|
|
1953
|
+
defaultLinkSize: "icon";
|
|
1954
|
+
linkSizes: readonly ["xs", "sm", "md", "lg", "xl", "tile", "icon-xs", "icon-sm", "icon", "icon-lg", "icon-xl"];
|
|
1955
|
+
slots: readonly ["pagination", "pagination-content", "pagination-item", "pagination-link", "pagination-ellipsis"];
|
|
1956
|
+
states: readonly ["rest", "current"];
|
|
1957
|
+
visualArchetypes: readonly ["action"];
|
|
1958
|
+
};
|
|
1959
|
+
|
|
1960
|
+
declare const panelSettingButtonStates: readonly ["off", "on", "disabled", "focus-visible"];
|
|
1961
|
+
declare const panelSettingButtonSlots: readonly ["panel-setting-button", "panel-setting-button-label"];
|
|
1962
|
+
declare const panelSettingButtonVisualArchetypes: readonly ["toggle", "surface"];
|
|
1963
|
+
type PanelSettingButtonState = (typeof panelSettingButtonStates)[number];
|
|
1964
|
+
type PanelSettingButtonSlot = (typeof panelSettingButtonSlots)[number];
|
|
1965
|
+
type PanelSettingButtonVisualArchetype = (typeof panelSettingButtonVisualArchetypes)[number];
|
|
1966
|
+
interface PanelSettingButtonContract {
|
|
1967
|
+
slots: readonly PanelSettingButtonSlot[];
|
|
1968
|
+
states: readonly PanelSettingButtonState[];
|
|
1969
|
+
visualArchetypes: readonly PanelSettingButtonVisualArchetype[];
|
|
1970
|
+
}
|
|
1971
|
+
declare const panelSettingButtonContract: {
|
|
1972
|
+
slots: readonly ["panel-setting-button", "panel-setting-button-label"];
|
|
1973
|
+
states: readonly ["off", "on", "disabled", "focus-visible"];
|
|
1974
|
+
visualArchetypes: readonly ["toggle", "surface"];
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
declare const popoverStates: readonly ["closed", "open", "starting", "ending"];
|
|
1978
|
+
declare const popoverSlots: readonly ["popover", "popover-trigger", "popover-anchor", "popover-portal", "popover-positioner", "popover-content", "popover-close", "popover-header", "popover-title", "popover-description"];
|
|
1979
|
+
declare const popoverVisualArchetypes: readonly ["trigger", "overlay", "surface", "action"];
|
|
1980
|
+
type PopoverState = (typeof popoverStates)[number];
|
|
1981
|
+
type PopoverSlot = (typeof popoverSlots)[number];
|
|
1982
|
+
type PopoverVisualArchetype = (typeof popoverVisualArchetypes)[number];
|
|
1983
|
+
interface PopoverContract {
|
|
1984
|
+
slots: readonly PopoverSlot[];
|
|
1985
|
+
states: readonly PopoverState[];
|
|
1986
|
+
visualArchetypes: readonly PopoverVisualArchetype[];
|
|
1987
|
+
}
|
|
1988
|
+
declare const popoverContract: {
|
|
1989
|
+
slots: readonly ["popover", "popover-trigger", "popover-anchor", "popover-portal", "popover-positioner", "popover-content", "popover-close", "popover-header", "popover-title", "popover-description"];
|
|
1990
|
+
states: readonly ["closed", "open", "starting", "ending"];
|
|
1991
|
+
visualArchetypes: readonly ["trigger", "overlay", "surface", "action"];
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
declare const portalContainerTargets: readonly ["element", "shadow-root", "null", "undefined"];
|
|
1995
|
+
declare const portalContainerStates: readonly ["unprovided", "pending", "resolved"];
|
|
1996
|
+
declare const portalContainerVisualArchetypes: readonly [];
|
|
1997
|
+
type PortalContainerTarget = (typeof portalContainerTargets)[number];
|
|
1998
|
+
type PortalContainerState = (typeof portalContainerStates)[number];
|
|
1999
|
+
interface PortalContainerContract {
|
|
2000
|
+
states: readonly PortalContainerState[];
|
|
2001
|
+
targets: readonly PortalContainerTarget[];
|
|
2002
|
+
visualArchetypes: readonly VisualArchetypeId[];
|
|
2003
|
+
}
|
|
2004
|
+
declare const portalContainerContract: {
|
|
2005
|
+
states: readonly ["unprovided", "pending", "resolved"];
|
|
2006
|
+
targets: readonly ["element", "shadow-root", "null", "undefined"];
|
|
2007
|
+
visualArchetypes: readonly [];
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
declare const previewCardStates: readonly ["closed", "open", "starting", "ending"];
|
|
2011
|
+
declare const previewCardSlots: readonly ["preview-card", "preview-card-trigger", "preview-card-portal", "preview-card-positioner", "preview-card-content"];
|
|
2012
|
+
declare const previewCardVisualArchetypes: readonly ["trigger", "overlay", "surface"];
|
|
2013
|
+
type PreviewCardState = (typeof previewCardStates)[number];
|
|
2014
|
+
type PreviewCardSlot = (typeof previewCardSlots)[number];
|
|
2015
|
+
type PreviewCardVisualArchetype = (typeof previewCardVisualArchetypes)[number];
|
|
2016
|
+
interface PreviewCardContract {
|
|
2017
|
+
slots: readonly PreviewCardSlot[];
|
|
2018
|
+
states: readonly PreviewCardState[];
|
|
2019
|
+
visualArchetypes: readonly PreviewCardVisualArchetype[];
|
|
2020
|
+
}
|
|
2021
|
+
declare const previewCardContract: {
|
|
2022
|
+
slots: readonly ["preview-card", "preview-card-trigger", "preview-card-portal", "preview-card-positioner", "preview-card-content"];
|
|
2023
|
+
states: readonly ["closed", "open", "starting", "ending"];
|
|
2024
|
+
visualArchetypes: readonly ["trigger", "overlay", "surface"];
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
declare const progressStates: readonly ["indeterminate", "progressing", "complete"];
|
|
2028
|
+
declare const progressSlots: readonly ["progress", "progress-label", "progress-track", "progress-indicator", "progress-value"];
|
|
2029
|
+
declare const progressVisualArchetypes: readonly ["range"];
|
|
2030
|
+
type ProgressState = (typeof progressStates)[number];
|
|
2031
|
+
type ProgressSlot = (typeof progressSlots)[number];
|
|
2032
|
+
type ProgressVisualArchetype = (typeof progressVisualArchetypes)[number];
|
|
2033
|
+
interface ProgressContract {
|
|
2034
|
+
slots: readonly ProgressSlot[];
|
|
2035
|
+
states: readonly ProgressState[];
|
|
2036
|
+
visualArchetypes: readonly ProgressVisualArchetype[];
|
|
2037
|
+
}
|
|
2038
|
+
declare const progressContract: {
|
|
2039
|
+
slots: readonly ["progress", "progress-label", "progress-track", "progress-indicator", "progress-value"];
|
|
2040
|
+
states: readonly ["indeterminate", "progressing", "complete"];
|
|
2041
|
+
visualArchetypes: readonly ["range"];
|
|
2042
|
+
};
|
|
2043
|
+
|
|
2044
|
+
declare const radioSizes: readonly ["sm", "md"];
|
|
2045
|
+
declare const radioStates: readonly ["unchecked", "checked", "focus-visible", "disabled", "invalid"];
|
|
2046
|
+
declare const radioSlots: readonly ["radio-group", "radio", "radio-indicator"];
|
|
2047
|
+
declare const radioVisualArchetypes: readonly ["choice"];
|
|
2048
|
+
type RadioSize = (typeof radioSizes)[number];
|
|
2049
|
+
type RadioState = (typeof radioStates)[number];
|
|
2050
|
+
type RadioSlot = (typeof radioSlots)[number];
|
|
2051
|
+
type RadioVisualArchetype = (typeof radioVisualArchetypes)[number];
|
|
2052
|
+
interface RadioContract {
|
|
2053
|
+
defaultSize: RadioSize;
|
|
2054
|
+
sizes: readonly RadioSize[];
|
|
2055
|
+
states: readonly RadioState[];
|
|
2056
|
+
slots: readonly RadioSlot[];
|
|
2057
|
+
visualArchetypes: readonly RadioVisualArchetype[];
|
|
2058
|
+
}
|
|
2059
|
+
declare const radioContract: {
|
|
2060
|
+
defaultSize: "md";
|
|
2061
|
+
sizes: readonly ["sm", "md"];
|
|
2062
|
+
states: readonly ["unchecked", "checked", "focus-visible", "disabled", "invalid"];
|
|
2063
|
+
slots: readonly ["radio-group", "radio", "radio-indicator"];
|
|
2064
|
+
visualArchetypes: readonly ["choice"];
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
declare const resizableOrientations: readonly ["horizontal", "vertical"];
|
|
2068
|
+
declare const resizableVariants: readonly ["line", "grip"];
|
|
2069
|
+
declare const resizableStates: readonly ["idle", "hover", "focus-visible", "dragging", "disabled"];
|
|
2070
|
+
declare const resizableSlots: readonly ["resizable-panel-group", "resizable-panel", "resizable-handle", "resizable-handle-grip"];
|
|
2071
|
+
declare const resizableVisualArchetypes: readonly [];
|
|
2072
|
+
type ResizableOrientation = (typeof resizableOrientations)[number];
|
|
2073
|
+
type ResizableVariant = (typeof resizableVariants)[number];
|
|
2074
|
+
type ResizableState = (typeof resizableStates)[number];
|
|
2075
|
+
type ResizableSlot = (typeof resizableSlots)[number];
|
|
2076
|
+
type ResizableVisualArchetype = (typeof resizableVisualArchetypes)[number];
|
|
2077
|
+
interface ResizableContract {
|
|
2078
|
+
defaultOrientation: ResizableOrientation;
|
|
2079
|
+
orientations: readonly ResizableOrientation[];
|
|
2080
|
+
variants: readonly ResizableVariant[];
|
|
2081
|
+
states: readonly ResizableState[];
|
|
2082
|
+
slots: readonly ResizableSlot[];
|
|
2083
|
+
visualArchetypes: readonly ResizableVisualArchetype[];
|
|
2084
|
+
}
|
|
2085
|
+
declare const resizableContract: {
|
|
2086
|
+
defaultOrientation: "horizontal";
|
|
2087
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
2088
|
+
variants: readonly ["line", "grip"];
|
|
2089
|
+
states: readonly ["idle", "hover", "focus-visible", "dragging", "disabled"];
|
|
2090
|
+
slots: readonly ["resizable-panel-group", "resizable-panel", "resizable-handle", "resizable-handle-grip"];
|
|
2091
|
+
visualArchetypes: readonly [];
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
declare const scrollAreaOrientations: readonly ["vertical", "horizontal", "both"];
|
|
2095
|
+
declare const scrollAreaOptions: readonly ["scroll-fade", "scrollbar-gutter", "show-on-hover"];
|
|
2096
|
+
declare const scrollAreaStates: readonly ["idle", "hovering", "scrolling", "focus-visible"];
|
|
2097
|
+
declare const scrollAreaSlots: readonly ["scroll-area", "scroll-area-viewport", "scroll-area-scrollbar", "scroll-area-thumb", "scroll-area-corner"];
|
|
2098
|
+
declare const scrollAreaVisualArchetypes: readonly ["range"];
|
|
2099
|
+
type ScrollAreaOrientation = (typeof scrollAreaOrientations)[number];
|
|
2100
|
+
type ScrollAreaOption = (typeof scrollAreaOptions)[number];
|
|
2101
|
+
type ScrollAreaState = (typeof scrollAreaStates)[number];
|
|
2102
|
+
type ScrollAreaSlot = (typeof scrollAreaSlots)[number];
|
|
2103
|
+
type ScrollAreaVisualArchetype = (typeof scrollAreaVisualArchetypes)[number];
|
|
2104
|
+
interface ScrollAreaContract {
|
|
2105
|
+
defaultOrientation: ScrollAreaOrientation;
|
|
2106
|
+
orientations: readonly ScrollAreaOrientation[];
|
|
2107
|
+
options: readonly ScrollAreaOption[];
|
|
2108
|
+
states: readonly ScrollAreaState[];
|
|
2109
|
+
slots: readonly ScrollAreaSlot[];
|
|
2110
|
+
visualArchetypes: readonly ScrollAreaVisualArchetype[];
|
|
2111
|
+
}
|
|
2112
|
+
declare const scrollAreaContract: {
|
|
2113
|
+
defaultOrientation: "both";
|
|
2114
|
+
orientations: readonly ["vertical", "horizontal", "both"];
|
|
2115
|
+
options: readonly ["scroll-fade", "scrollbar-gutter", "show-on-hover"];
|
|
2116
|
+
states: readonly ["idle", "hovering", "scrolling", "focus-visible"];
|
|
2117
|
+
slots: readonly ["scroll-area", "scroll-area-viewport", "scroll-area-scrollbar", "scroll-area-thumb", "scroll-area-corner"];
|
|
2118
|
+
visualArchetypes: readonly ["range"];
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2121
|
+
declare const scrollableListLayouts: readonly ["scroll", "wrap"];
|
|
2122
|
+
declare const scrollableListOptions: readonly ["mask", "chevrons", "draggable", "column-aligned"];
|
|
2123
|
+
declare const scrollableListStates: readonly ["idle", "can-scroll-start", "can-scroll-end", "dragging", "disabled"];
|
|
2124
|
+
declare const scrollableListSlots: readonly ["scrollable-list", "scrollable-list-frame", "scrollable-list-content", "scrollable-list-control"];
|
|
2125
|
+
declare const scrollableListVisualArchetypes: readonly ["action", "range"];
|
|
2126
|
+
type ScrollableListLayout = (typeof scrollableListLayouts)[number];
|
|
2127
|
+
type ScrollableListOption = (typeof scrollableListOptions)[number];
|
|
2128
|
+
type ScrollableListState = (typeof scrollableListStates)[number];
|
|
2129
|
+
type ScrollableListSlot = (typeof scrollableListSlots)[number];
|
|
2130
|
+
type ScrollableListVisualArchetype = (typeof scrollableListVisualArchetypes)[number];
|
|
2131
|
+
interface ScrollableListContract {
|
|
2132
|
+
defaultLayout: ScrollableListLayout;
|
|
2133
|
+
layouts: readonly ScrollableListLayout[];
|
|
2134
|
+
options: readonly ScrollableListOption[];
|
|
2135
|
+
states: readonly ScrollableListState[];
|
|
2136
|
+
slots: readonly ScrollableListSlot[];
|
|
2137
|
+
visualArchetypes: readonly ScrollableListVisualArchetype[];
|
|
2138
|
+
}
|
|
2139
|
+
declare const scrollableListContract: {
|
|
2140
|
+
defaultLayout: "scroll";
|
|
2141
|
+
layouts: readonly ["scroll", "wrap"];
|
|
2142
|
+
options: readonly ["mask", "chevrons", "draggable", "column-aligned"];
|
|
2143
|
+
states: readonly ["idle", "can-scroll-start", "can-scroll-end", "dragging", "disabled"];
|
|
2144
|
+
slots: readonly ["scrollable-list", "scrollable-list-frame", "scrollable-list-content", "scrollable-list-control"];
|
|
2145
|
+
visualArchetypes: readonly ["action", "range"];
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
declare const searchFieldStates: readonly ["empty", "query", "focus", "disabled"];
|
|
2149
|
+
declare const searchFieldSlots: readonly ["search-field", "search-field-icon", "search-field-input", "search-field-clear"];
|
|
2150
|
+
declare const searchFieldVisualArchetypes: readonly ["field", "action"];
|
|
2151
|
+
type SearchFieldState = (typeof searchFieldStates)[number];
|
|
2152
|
+
type SearchFieldSlot = (typeof searchFieldSlots)[number];
|
|
2153
|
+
type SearchFieldVisualArchetype = (typeof searchFieldVisualArchetypes)[number];
|
|
2154
|
+
interface SearchFieldContract {
|
|
2155
|
+
slots: readonly SearchFieldSlot[];
|
|
2156
|
+
states: readonly SearchFieldState[];
|
|
2157
|
+
visualArchetypes: readonly SearchFieldVisualArchetype[];
|
|
2158
|
+
}
|
|
2159
|
+
declare const searchFieldContract: {
|
|
2160
|
+
slots: readonly ["search-field", "search-field-icon", "search-field-input", "search-field-clear"];
|
|
2161
|
+
states: readonly ["empty", "query", "focus", "disabled"];
|
|
2162
|
+
visualArchetypes: readonly ["field", "action"];
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
declare const segmentedControlSizes: readonly ["sm", "md", "lg"];
|
|
2166
|
+
declare const segmentedControlVariants: readonly ["icon", "label"];
|
|
2167
|
+
declare const segmentedControlTones: readonly ["neutral", "accent"];
|
|
2168
|
+
declare const segmentedControlStates: readonly ["rest", "hover", "selected", "disabled", "focus-visible"];
|
|
2169
|
+
declare const segmentedControlSlots: readonly ["segmented-control", "segmented-control-track", "segmented-control-item", "segmented-control-icon", "segmented-control-label", "segmented-control-indicator"];
|
|
2170
|
+
declare const segmentedControlVisualArchetypes: readonly ["segment"];
|
|
2171
|
+
type SegmentedControlSize = (typeof segmentedControlSizes)[number];
|
|
2172
|
+
type SegmentedControlVariant = (typeof segmentedControlVariants)[number];
|
|
2173
|
+
type SegmentedControlTone = (typeof segmentedControlTones)[number];
|
|
2174
|
+
type SegmentedControlState = (typeof segmentedControlStates)[number];
|
|
2175
|
+
type SegmentedControlSlot = (typeof segmentedControlSlots)[number];
|
|
2176
|
+
type SegmentedControlVisualArchetype = (typeof segmentedControlVisualArchetypes)[number];
|
|
2177
|
+
interface SegmentedControlContract {
|
|
2178
|
+
defaultSize: SegmentedControlSize;
|
|
2179
|
+
defaultTone: SegmentedControlTone;
|
|
2180
|
+
defaultVariant: SegmentedControlVariant;
|
|
2181
|
+
sizes: readonly SegmentedControlSize[];
|
|
2182
|
+
slots: readonly SegmentedControlSlot[];
|
|
2183
|
+
states: readonly SegmentedControlState[];
|
|
2184
|
+
tones: readonly SegmentedControlTone[];
|
|
2185
|
+
variants: readonly SegmentedControlVariant[];
|
|
2186
|
+
visualArchetypes: readonly SegmentedControlVisualArchetype[];
|
|
2187
|
+
}
|
|
2188
|
+
declare const segmentedControlContract: {
|
|
2189
|
+
defaultSize: "md";
|
|
2190
|
+
defaultTone: "neutral";
|
|
2191
|
+
defaultVariant: "label";
|
|
2192
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
2193
|
+
slots: readonly ["segmented-control", "segmented-control-track", "segmented-control-item", "segmented-control-icon", "segmented-control-label", "segmented-control-indicator"];
|
|
2194
|
+
states: readonly ["rest", "hover", "selected", "disabled", "focus-visible"];
|
|
2195
|
+
tones: readonly ["neutral", "accent"];
|
|
2196
|
+
variants: readonly ["icon", "label"];
|
|
2197
|
+
visualArchetypes: readonly ["segment"];
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2200
|
+
declare const selectSizes: readonly ["sm", "md", "lg"];
|
|
2201
|
+
declare const selectStates: readonly ["closed", "open", "placeholder", "focus-visible", "disabled", "highlighted-item", "selected-item", "disabled-item"];
|
|
2202
|
+
declare const selectSlots: readonly ["select-trigger", "select-value", "select-icon", "select-positioner", "select-popup", "select-surface", "select-list", "select-scroll-up-arrow", "select-scroll-down-arrow", "select-item", "select-item-indicator", "select-item-text", "select-group", "select-group-label", "select-separator"];
|
|
2203
|
+
declare const selectTokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.height", "field.paddingInline", "field.fontSize", "field.iconSize", "field.gap"];
|
|
2204
|
+
declare const selectVisualArchetypes: readonly ["field", "trigger", "overlay", "menu"];
|
|
2205
|
+
type SelectSize = (typeof selectSizes)[number];
|
|
2206
|
+
type SelectSlot = (typeof selectSlots)[number];
|
|
2207
|
+
type SelectState = (typeof selectStates)[number];
|
|
2208
|
+
type SelectTokenSlot = (typeof selectTokenSlots)[number];
|
|
2209
|
+
type SelectVisualArchetype = (typeof selectVisualArchetypes)[number];
|
|
2210
|
+
interface SelectContract {
|
|
2211
|
+
defaultSize: SelectSize;
|
|
2212
|
+
sizes: readonly SelectSize[];
|
|
2213
|
+
slots: readonly SelectSlot[];
|
|
2214
|
+
states: readonly SelectState[];
|
|
2215
|
+
tokenSlots: readonly SelectTokenSlot[];
|
|
2216
|
+
visualArchetypes: readonly SelectVisualArchetype[];
|
|
2217
|
+
}
|
|
2218
|
+
declare const selectContract: {
|
|
2219
|
+
defaultSize: "md";
|
|
2220
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
2221
|
+
slots: readonly ["select-trigger", "select-value", "select-icon", "select-positioner", "select-popup", "select-surface", "select-list", "select-scroll-up-arrow", "select-scroll-down-arrow", "select-item", "select-item-indicator", "select-item-text", "select-group", "select-group-label", "select-separator"];
|
|
2222
|
+
states: readonly ["closed", "open", "placeholder", "focus-visible", "disabled", "highlighted-item", "selected-item", "disabled-item"];
|
|
2223
|
+
tokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.height", "field.paddingInline", "field.fontSize", "field.iconSize", "field.gap"];
|
|
2224
|
+
visualArchetypes: readonly ["field", "trigger", "overlay", "menu"];
|
|
2225
|
+
};
|
|
2226
|
+
|
|
2227
|
+
declare const separatorVariants: readonly ["default", "gradient"];
|
|
2228
|
+
declare const separatorOrientations: readonly ["horizontal", "vertical"];
|
|
2229
|
+
declare const separatorModes: readonly ["decorative", "semantic"];
|
|
2230
|
+
declare const separatorSlots: readonly ["separator"];
|
|
2231
|
+
declare const separatorVisualArchetypes: readonly [];
|
|
2232
|
+
type SeparatorVariant = (typeof separatorVariants)[number];
|
|
2233
|
+
type SeparatorOrientation = (typeof separatorOrientations)[number];
|
|
2234
|
+
type SeparatorMode = (typeof separatorModes)[number];
|
|
2235
|
+
type SeparatorSlot = (typeof separatorSlots)[number];
|
|
2236
|
+
type SeparatorVisualArchetype = (typeof separatorVisualArchetypes)[number];
|
|
2237
|
+
interface SeparatorContract {
|
|
2238
|
+
defaultMode: SeparatorMode;
|
|
2239
|
+
defaultVariant: SeparatorVariant;
|
|
2240
|
+
defaultOrientation: SeparatorOrientation;
|
|
2241
|
+
variants: readonly SeparatorVariant[];
|
|
2242
|
+
orientations: readonly SeparatorOrientation[];
|
|
2243
|
+
modes: readonly SeparatorMode[];
|
|
2244
|
+
slots: readonly SeparatorSlot[];
|
|
2245
|
+
visualArchetypes: readonly SeparatorVisualArchetype[];
|
|
2246
|
+
}
|
|
2247
|
+
declare const separatorContract: {
|
|
2248
|
+
defaultMode: "semantic";
|
|
2249
|
+
defaultVariant: "default";
|
|
2250
|
+
defaultOrientation: "horizontal";
|
|
2251
|
+
variants: readonly ["default", "gradient"];
|
|
2252
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
2253
|
+
modes: readonly ["decorative", "semantic"];
|
|
2254
|
+
slots: readonly ["separator"];
|
|
2255
|
+
visualArchetypes: readonly [];
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
declare const sheetSides: readonly ["right", "left", "top", "bottom"];
|
|
2259
|
+
declare const sheetVariants: readonly ["default", "inset"];
|
|
2260
|
+
declare const sheetFooterVariants: readonly ["default", "bare"];
|
|
2261
|
+
declare const sheetStates: readonly ["closed", "open", "starting", "ending"];
|
|
2262
|
+
declare const sheetSlots: readonly ["sheet", "sheet-portal", "sheet-trigger", "sheet-backdrop", "sheet-viewport", "sheet-popup", "sheet-close", "sheet-close-button", "sheet-header", "sheet-title", "sheet-description", "sheet-panel", "sheet-footer"];
|
|
2263
|
+
declare const sheetVisualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
2264
|
+
type SheetSide = (typeof sheetSides)[number];
|
|
2265
|
+
type SheetVariant = (typeof sheetVariants)[number];
|
|
2266
|
+
type SheetFooterVariant = (typeof sheetFooterVariants)[number];
|
|
2267
|
+
type SheetState = (typeof sheetStates)[number];
|
|
2268
|
+
type SheetSlot = (typeof sheetSlots)[number];
|
|
2269
|
+
type SheetVisualArchetype = (typeof sheetVisualArchetypes)[number];
|
|
2270
|
+
interface SheetContract {
|
|
2271
|
+
defaultFooterVariant: SheetFooterVariant;
|
|
2272
|
+
defaultSide: SheetSide;
|
|
2273
|
+
defaultVariant: SheetVariant;
|
|
2274
|
+
footerVariants: readonly SheetFooterVariant[];
|
|
2275
|
+
sides: readonly SheetSide[];
|
|
2276
|
+
slots: readonly SheetSlot[];
|
|
2277
|
+
states: readonly SheetState[];
|
|
2278
|
+
variants: readonly SheetVariant[];
|
|
2279
|
+
visualArchetypes: readonly SheetVisualArchetype[];
|
|
2280
|
+
}
|
|
2281
|
+
declare const sheetContract: {
|
|
2282
|
+
defaultFooterVariant: "default";
|
|
2283
|
+
defaultSide: "right";
|
|
2284
|
+
defaultVariant: "default";
|
|
2285
|
+
footerVariants: readonly ["default", "bare"];
|
|
2286
|
+
sides: readonly ["right", "left", "top", "bottom"];
|
|
2287
|
+
slots: readonly ["sheet", "sheet-portal", "sheet-trigger", "sheet-backdrop", "sheet-viewport", "sheet-popup", "sheet-close", "sheet-close-button", "sheet-header", "sheet-title", "sheet-description", "sheet-panel", "sheet-footer"];
|
|
2288
|
+
states: readonly ["closed", "open", "starting", "ending"];
|
|
2289
|
+
variants: readonly ["default", "inset"];
|
|
2290
|
+
visualArchetypes: readonly ["overlay", "surface", "trigger", "action"];
|
|
2291
|
+
};
|
|
2292
|
+
|
|
2293
|
+
declare const sidebarSides: readonly ["left", "right"];
|
|
2294
|
+
declare const sidebarVariants: readonly ["sidebar", "floating", "inset"];
|
|
2295
|
+
declare const sidebarCollapsibles: readonly ["offcanvas", "icon", "none"];
|
|
2296
|
+
declare const sidebarMenuButtonVariants: readonly ["default", "outline"];
|
|
2297
|
+
declare const sidebarMenuButtonSizes: readonly ["default", "sm", "lg"];
|
|
2298
|
+
declare const sidebarMenuSubButtonSizes: readonly ["sm", "md"];
|
|
2299
|
+
declare const sidebarStates: readonly ["expanded", "collapsed"];
|
|
2300
|
+
declare const sidebarSlots: readonly ["sidebar-wrapper", "sidebar", "sidebar-gap", "sidebar-container", "sidebar-inner", "sidebar-trigger", "sidebar-rail", "sidebar-inset", "sidebar-input", "sidebar-header", "sidebar-footer", "sidebar-separator", "sidebar-content", "sidebar-group", "sidebar-group-label", "sidebar-group-action", "sidebar-group-content", "sidebar-menu", "sidebar-menu-item", "sidebar-menu-button", "sidebar-menu-action", "sidebar-menu-badge", "sidebar-menu-skeleton", "sidebar-menu-sub", "sidebar-menu-sub-item", "sidebar-menu-sub-button"];
|
|
2301
|
+
declare const sidebarVisualArchetypes: readonly ["surface", "action", "field", "trigger"];
|
|
2302
|
+
type SidebarSide = (typeof sidebarSides)[number];
|
|
2303
|
+
type SidebarVariant = (typeof sidebarVariants)[number];
|
|
2304
|
+
type SidebarCollapsible = (typeof sidebarCollapsibles)[number];
|
|
2305
|
+
type SidebarMenuButtonVariant = (typeof sidebarMenuButtonVariants)[number];
|
|
2306
|
+
type SidebarMenuButtonSize = (typeof sidebarMenuButtonSizes)[number];
|
|
2307
|
+
type SidebarMenuSubButtonSize = (typeof sidebarMenuSubButtonSizes)[number];
|
|
2308
|
+
type SidebarState = (typeof sidebarStates)[number];
|
|
2309
|
+
type SidebarSlot = (typeof sidebarSlots)[number];
|
|
2310
|
+
type SidebarVisualArchetype = (typeof sidebarVisualArchetypes)[number];
|
|
2311
|
+
interface SidebarContract {
|
|
2312
|
+
defaultSide: SidebarSide;
|
|
2313
|
+
defaultVariant: SidebarVariant;
|
|
2314
|
+
defaultCollapsible: SidebarCollapsible;
|
|
2315
|
+
defaultMenuButtonVariant: SidebarMenuButtonVariant;
|
|
2316
|
+
defaultMenuButtonSize: SidebarMenuButtonSize;
|
|
2317
|
+
defaultMenuSubButtonSize: SidebarMenuSubButtonSize;
|
|
2318
|
+
sides: readonly SidebarSide[];
|
|
2319
|
+
variants: readonly SidebarVariant[];
|
|
2320
|
+
collapsibles: readonly SidebarCollapsible[];
|
|
2321
|
+
menuButtonVariants: readonly SidebarMenuButtonVariant[];
|
|
2322
|
+
menuButtonSizes: readonly SidebarMenuButtonSize[];
|
|
2323
|
+
menuSubButtonSizes: readonly SidebarMenuSubButtonSize[];
|
|
2324
|
+
states: readonly SidebarState[];
|
|
2325
|
+
slots: readonly SidebarSlot[];
|
|
2326
|
+
visualArchetypes: readonly SidebarVisualArchetype[];
|
|
2327
|
+
}
|
|
2328
|
+
declare const sidebarContract: {
|
|
2329
|
+
defaultSide: "left";
|
|
2330
|
+
defaultVariant: "sidebar";
|
|
2331
|
+
defaultCollapsible: "offcanvas";
|
|
2332
|
+
defaultMenuButtonVariant: "default";
|
|
2333
|
+
defaultMenuButtonSize: "default";
|
|
2334
|
+
defaultMenuSubButtonSize: "md";
|
|
2335
|
+
sides: readonly ["left", "right"];
|
|
2336
|
+
variants: readonly ["sidebar", "floating", "inset"];
|
|
2337
|
+
collapsibles: readonly ["offcanvas", "icon", "none"];
|
|
2338
|
+
menuButtonVariants: readonly ["default", "outline"];
|
|
2339
|
+
menuButtonSizes: readonly ["default", "sm", "lg"];
|
|
2340
|
+
menuSubButtonSizes: readonly ["sm", "md"];
|
|
2341
|
+
states: readonly ["expanded", "collapsed"];
|
|
2342
|
+
slots: readonly ["sidebar-wrapper", "sidebar", "sidebar-gap", "sidebar-container", "sidebar-inner", "sidebar-trigger", "sidebar-rail", "sidebar-inset", "sidebar-input", "sidebar-header", "sidebar-footer", "sidebar-separator", "sidebar-content", "sidebar-group", "sidebar-group-label", "sidebar-group-action", "sidebar-group-content", "sidebar-menu", "sidebar-menu-item", "sidebar-menu-button", "sidebar-menu-action", "sidebar-menu-badge", "sidebar-menu-skeleton", "sidebar-menu-sub", "sidebar-menu-sub-item", "sidebar-menu-sub-button"];
|
|
2343
|
+
visualArchetypes: readonly ["surface", "action", "field", "trigger"];
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
declare const sidebarNavTreeStates: readonly ["rest", "hover", "active", "expanded", "collapsed", "focus-visible"];
|
|
2347
|
+
declare const sidebarNavTreeParts: readonly ["group", "link-item", "collapsible-item", "toggle", "sub-list", "sub-link-item"];
|
|
2348
|
+
declare const sidebarNavTreeVisualArchetypes: readonly ["action", "trigger"];
|
|
2349
|
+
type SidebarNavTreeState = (typeof sidebarNavTreeStates)[number];
|
|
2350
|
+
type SidebarNavTreePart = (typeof sidebarNavTreeParts)[number];
|
|
2351
|
+
type SidebarNavTreeVisualArchetype = (typeof sidebarNavTreeVisualArchetypes)[number];
|
|
2352
|
+
interface SidebarNavTreeContract {
|
|
2353
|
+
parts: readonly SidebarNavTreePart[];
|
|
2354
|
+
states: readonly SidebarNavTreeState[];
|
|
2355
|
+
visualArchetypes: readonly SidebarNavTreeVisualArchetype[];
|
|
2356
|
+
}
|
|
2357
|
+
declare const sidebarNavTreeContract: {
|
|
2358
|
+
parts: readonly ["group", "link-item", "collapsible-item", "toggle", "sub-list", "sub-link-item"];
|
|
2359
|
+
states: readonly ["rest", "hover", "active", "expanded", "collapsed", "focus-visible"];
|
|
2360
|
+
visualArchetypes: readonly ["action", "trigger"];
|
|
2361
|
+
};
|
|
2362
|
+
|
|
2363
|
+
declare const skeletonStates: readonly ["loading", "reduced-motion"];
|
|
2364
|
+
declare const skeletonSlots: readonly ["skeleton"];
|
|
2365
|
+
declare const skeletonVisualArchetypes: readonly [];
|
|
2366
|
+
type SkeletonState = (typeof skeletonStates)[number];
|
|
2367
|
+
type SkeletonSlot = (typeof skeletonSlots)[number];
|
|
2368
|
+
type SkeletonVisualArchetype = (typeof skeletonVisualArchetypes)[number];
|
|
2369
|
+
interface SkeletonContract {
|
|
2370
|
+
slots: readonly SkeletonSlot[];
|
|
2371
|
+
states: readonly SkeletonState[];
|
|
2372
|
+
visualArchetypes: readonly SkeletonVisualArchetype[];
|
|
2373
|
+
}
|
|
2374
|
+
declare const skeletonContract: {
|
|
2375
|
+
slots: readonly ["skeleton"];
|
|
2376
|
+
states: readonly ["loading", "reduced-motion"];
|
|
2377
|
+
visualArchetypes: readonly [];
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
declare const sliderOrientations: readonly ["horizontal", "vertical"];
|
|
2381
|
+
declare const sliderModes: readonly ["single", "range"];
|
|
2382
|
+
declare const sliderStates: readonly ["rest", "focus-visible", "dragging", "disabled"];
|
|
2383
|
+
declare const sliderSlots: readonly ["slider", "slider-value", "slider-control", "slider-track", "slider-indicator", "slider-thumb"];
|
|
2384
|
+
declare const sliderVisualArchetypes: readonly ["range"];
|
|
2385
|
+
type SliderOrientation = (typeof sliderOrientations)[number];
|
|
2386
|
+
type SliderMode = (typeof sliderModes)[number];
|
|
2387
|
+
type SliderState = (typeof sliderStates)[number];
|
|
2388
|
+
type SliderSlot = (typeof sliderSlots)[number];
|
|
2389
|
+
type SliderVisualArchetype = (typeof sliderVisualArchetypes)[number];
|
|
2390
|
+
interface SliderContract {
|
|
2391
|
+
defaultOrientation: SliderOrientation;
|
|
2392
|
+
orientations: readonly SliderOrientation[];
|
|
2393
|
+
modes: readonly SliderMode[];
|
|
2394
|
+
states: readonly SliderState[];
|
|
2395
|
+
slots: readonly SliderSlot[];
|
|
2396
|
+
visualArchetypes: readonly SliderVisualArchetype[];
|
|
2397
|
+
}
|
|
2398
|
+
declare const sliderContract: {
|
|
2399
|
+
defaultOrientation: "horizontal";
|
|
2400
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
2401
|
+
modes: readonly ["single", "range"];
|
|
2402
|
+
states: readonly ["rest", "focus-visible", "dragging", "disabled"];
|
|
2403
|
+
slots: readonly ["slider", "slider-value", "slider-control", "slider-track", "slider-indicator", "slider-thumb"];
|
|
2404
|
+
visualArchetypes: readonly ["range"];
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
declare const spinnerStates: readonly ["loading", "reduced-motion"];
|
|
2408
|
+
declare const spinnerSlots: readonly ["spinner"];
|
|
2409
|
+
declare const spinnerVisualArchetypes: readonly [];
|
|
2410
|
+
type SpinnerState = (typeof spinnerStates)[number];
|
|
2411
|
+
type SpinnerSlot = (typeof spinnerSlots)[number];
|
|
2412
|
+
type SpinnerVisualArchetype = (typeof spinnerVisualArchetypes)[number];
|
|
2413
|
+
interface SpinnerContract {
|
|
2414
|
+
states: readonly SpinnerState[];
|
|
2415
|
+
slots: readonly SpinnerSlot[];
|
|
2416
|
+
visualArchetypes: readonly SpinnerVisualArchetype[];
|
|
2417
|
+
}
|
|
2418
|
+
declare const spinnerContract: {
|
|
2419
|
+
states: readonly ["loading", "reduced-motion"];
|
|
2420
|
+
slots: readonly ["spinner"];
|
|
2421
|
+
visualArchetypes: readonly [];
|
|
2422
|
+
};
|
|
2423
|
+
|
|
2424
|
+
declare const selectionTokenSlots: readonly ["selection.accent", "selection.accentForeground", "selection.trackOff", "selection.border", "selection.thumb", "selection.focusRing"];
|
|
2425
|
+
type SelectionTokenSlot = (typeof selectionTokenSlots)[number];
|
|
2426
|
+
|
|
2427
|
+
declare const switchSizes: readonly ["sm", "md"];
|
|
2428
|
+
declare const switchStates: readonly ["off", "on", "hover", "pressed", "focus-visible", "disabled"];
|
|
2429
|
+
declare const switchSlots: readonly ["switch", "switch-thumb"];
|
|
2430
|
+
declare const switchVisualArchetypes: readonly ["choice"];
|
|
2431
|
+
|
|
2432
|
+
type SwitchSize = (typeof switchSizes)[number];
|
|
2433
|
+
type SwitchState = (typeof switchStates)[number];
|
|
2434
|
+
type SwitchSlot = (typeof switchSlots)[number];
|
|
2435
|
+
type SwitchVisualArchetype = (typeof switchVisualArchetypes)[number];
|
|
2436
|
+
interface SwitchContract {
|
|
2437
|
+
defaultSize: SwitchSize;
|
|
2438
|
+
sizes: readonly SwitchSize[];
|
|
2439
|
+
slots: readonly SwitchSlot[];
|
|
2440
|
+
states: readonly SwitchState[];
|
|
2441
|
+
tokenSlots: readonly SelectionTokenSlot[];
|
|
2442
|
+
visualArchetypes: readonly SwitchVisualArchetype[];
|
|
2443
|
+
}
|
|
2444
|
+
declare const switchContract: {
|
|
2445
|
+
defaultSize: "md";
|
|
2446
|
+
sizes: readonly ["sm", "md"];
|
|
2447
|
+
slots: readonly ["switch", "switch-thumb"];
|
|
2448
|
+
states: readonly ["off", "on", "hover", "pressed", "focus-visible", "disabled"];
|
|
2449
|
+
tokenSlots: readonly ["selection.accent", "selection.accentForeground", "selection.trackOff", "selection.border", "selection.thumb", "selection.focusRing"];
|
|
2450
|
+
visualArchetypes: readonly ["choice"];
|
|
2451
|
+
};
|
|
2452
|
+
|
|
2453
|
+
declare const tableVariants: readonly ["plain", "framed"];
|
|
2454
|
+
declare const tableStates: readonly ["rest", "row-hover", "row-selected"];
|
|
2455
|
+
declare const tableSlots: readonly ["table-container", "table", "table-header", "table-body", "table-footer", "table-row", "table-head", "table-cell", "table-caption"];
|
|
2456
|
+
declare const tableVisualArchetypes: readonly ["surface"];
|
|
2457
|
+
type TableVariant = (typeof tableVariants)[number];
|
|
2458
|
+
type TableState = (typeof tableStates)[number];
|
|
2459
|
+
type TableSlot = (typeof tableSlots)[number];
|
|
2460
|
+
type TableVisualArchetype = (typeof tableVisualArchetypes)[number];
|
|
2461
|
+
interface TableContract {
|
|
2462
|
+
defaultVariant: TableVariant;
|
|
2463
|
+
variants: readonly TableVariant[];
|
|
2464
|
+
states: readonly TableState[];
|
|
2465
|
+
slots: readonly TableSlot[];
|
|
2466
|
+
visualArchetypes: readonly TableVisualArchetype[];
|
|
2467
|
+
}
|
|
2468
|
+
declare const tableContract: {
|
|
2469
|
+
defaultVariant: "plain";
|
|
2470
|
+
variants: readonly ["plain", "framed"];
|
|
2471
|
+
states: readonly ["rest", "row-hover", "row-selected"];
|
|
2472
|
+
slots: readonly ["table-container", "table", "table-header", "table-body", "table-footer", "table-row", "table-head", "table-cell", "table-caption"];
|
|
2473
|
+
visualArchetypes: readonly ["surface"];
|
|
2474
|
+
};
|
|
2475
|
+
|
|
2476
|
+
declare const tabsVariants: readonly ["default", "underline", "attached"];
|
|
2477
|
+
declare const tabsSizes: readonly ["xs", "sm", "default", "lg"];
|
|
2478
|
+
declare const tabsOrientations: readonly ["horizontal", "vertical"];
|
|
2479
|
+
declare const tabsStates: readonly ["rest", "hover", "selected", "focus-visible", "disabled"];
|
|
2480
|
+
declare const tabsSlots: readonly ["tabs", "tabs-list", "tabs-tab", "tab-indicator", "tabs-content"];
|
|
2481
|
+
declare const tabsVisualArchetypes: readonly ["segment", "surface"];
|
|
2482
|
+
type TabsVariant = (typeof tabsVariants)[number];
|
|
2483
|
+
type TabsSize = (typeof tabsSizes)[number];
|
|
2484
|
+
type TabsSlot = (typeof tabsSlots)[number];
|
|
2485
|
+
type TabsOrientation = (typeof tabsOrientations)[number];
|
|
2486
|
+
type TabsState = (typeof tabsStates)[number];
|
|
2487
|
+
type TabsVisualArchetype = (typeof tabsVisualArchetypes)[number];
|
|
2488
|
+
interface TabsContract {
|
|
2489
|
+
defaultVariant: TabsVariant;
|
|
2490
|
+
defaultSize: TabsSize;
|
|
2491
|
+
variants: readonly TabsVariant[];
|
|
2492
|
+
sizes: readonly TabsSize[];
|
|
2493
|
+
slots: readonly TabsSlot[];
|
|
2494
|
+
orientations: readonly TabsOrientation[];
|
|
2495
|
+
states: readonly TabsState[];
|
|
2496
|
+
visualArchetypes: readonly TabsVisualArchetype[];
|
|
2497
|
+
}
|
|
2498
|
+
declare const tabsContract: {
|
|
2499
|
+
defaultVariant: "default";
|
|
2500
|
+
defaultSize: "default";
|
|
2501
|
+
variants: readonly ["default", "underline", "attached"];
|
|
2502
|
+
sizes: readonly ["xs", "sm", "default", "lg"];
|
|
2503
|
+
slots: readonly ["tabs", "tabs-list", "tabs-tab", "tab-indicator", "tabs-content"];
|
|
2504
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
2505
|
+
states: readonly ["rest", "hover", "selected", "focus-visible", "disabled"];
|
|
2506
|
+
visualArchetypes: readonly ["segment", "surface"];
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
declare const textTickerVariants: readonly ["truncate", "marquee"];
|
|
2510
|
+
declare const textTickerStates: readonly ["fits", "overflowing", "hover", "focus-within", "autoplay", "reduced-motion"];
|
|
2511
|
+
declare const textTickerSlots: readonly ["text-ticker", "text-ticker-content", "text-ticker-marquee"];
|
|
2512
|
+
declare const textTickerVisualArchetypes: readonly [];
|
|
2513
|
+
type TextTickerVariant = (typeof textTickerVariants)[number];
|
|
2514
|
+
type TextTickerState = (typeof textTickerStates)[number];
|
|
2515
|
+
type TextTickerSlot = (typeof textTickerSlots)[number];
|
|
2516
|
+
type TextTickerVisualArchetype = (typeof textTickerVisualArchetypes)[number];
|
|
2517
|
+
interface TextTickerContract {
|
|
2518
|
+
defaultVariant: TextTickerVariant;
|
|
2519
|
+
variants: readonly TextTickerVariant[];
|
|
2520
|
+
states: readonly TextTickerState[];
|
|
2521
|
+
slots: readonly TextTickerSlot[];
|
|
2522
|
+
visualArchetypes: readonly TextTickerVisualArchetype[];
|
|
2523
|
+
}
|
|
2524
|
+
declare const textTickerContract: {
|
|
2525
|
+
defaultVariant: "truncate";
|
|
2526
|
+
variants: readonly ["truncate", "marquee"];
|
|
2527
|
+
states: readonly ["fits", "overflowing", "hover", "focus-within", "autoplay", "reduced-motion"];
|
|
2528
|
+
slots: readonly ["text-ticker", "text-ticker-content", "text-ticker-marquee"];
|
|
2529
|
+
visualArchetypes: readonly [];
|
|
2530
|
+
};
|
|
2531
|
+
|
|
2532
|
+
declare const textareaSizes: readonly ["sm", "md", "lg"];
|
|
2533
|
+
declare const textareaStates: readonly ["rest", "hover", "focus", "disabled", "invalid"];
|
|
2534
|
+
declare const textareaSlots: readonly ["textarea-control", "textarea"];
|
|
2535
|
+
declare const textareaTokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.paddingInline", "field.paddingBlock", "field.fontSize", "field.minHeight"];
|
|
2536
|
+
declare const textareaVisualArchetypes: readonly ["field"];
|
|
2537
|
+
type TextareaSize = (typeof textareaSizes)[number];
|
|
2538
|
+
type TextareaState = (typeof textareaStates)[number];
|
|
2539
|
+
type TextareaSlot = (typeof textareaSlots)[number];
|
|
2540
|
+
type TextareaTokenSlot = (typeof textareaTokenSlots)[number];
|
|
2541
|
+
type TextareaVisualArchetype = (typeof textareaVisualArchetypes)[number];
|
|
2542
|
+
interface TextareaContract {
|
|
2543
|
+
defaultSize: TextareaSize;
|
|
2544
|
+
sizes: readonly TextareaSize[];
|
|
2545
|
+
states: readonly TextareaState[];
|
|
2546
|
+
slots: readonly TextareaSlot[];
|
|
2547
|
+
tokenSlots: readonly TextareaTokenSlot[];
|
|
2548
|
+
visualArchetypes: readonly TextareaVisualArchetype[];
|
|
2549
|
+
}
|
|
2550
|
+
declare const textareaContract: {
|
|
2551
|
+
defaultSize: "md";
|
|
2552
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
2553
|
+
states: readonly ["rest", "hover", "focus", "disabled", "invalid"];
|
|
2554
|
+
slots: readonly ["textarea-control", "textarea"];
|
|
2555
|
+
tokenSlots: readonly ["field.background", "field.border", "field.radius", "field.shadow", "field.focusRing", "field.focusBorder", "field.paddingInline", "field.paddingBlock", "field.fontSize", "field.minHeight"];
|
|
2556
|
+
visualArchetypes: readonly ["field"];
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
declare const toggleGroupOrientations: readonly ["horizontal", "vertical"];
|
|
2560
|
+
declare const toggleGroupSelectionModes: readonly ["single", "multiple"];
|
|
2561
|
+
declare const toggleGroupStates: readonly ["rest", "hover", "focus", "selected", "disabled"];
|
|
2562
|
+
declare const toggleGroupSlots: readonly ["toggle-group", "toggle-group-item", "toggle-group-separator"];
|
|
2563
|
+
declare const toggleGroupTokenSlots: readonly ["segment.gap", "segment.radius", "segment.background", "segment.gloss", "segment.trackBorder", "segment.seam", "segment.selectedBackground", "segment.selectedForeground", "segment.selectedGloss", "segment.selectedShadow", "segment.primaryBackground", "segment.primaryForeground", "segment.primaryShadow"];
|
|
2564
|
+
declare const toggleGroupVisualArchetypes: readonly ["toggle", "segment"];
|
|
2565
|
+
type ToggleGroupOrientation = (typeof toggleGroupOrientations)[number];
|
|
2566
|
+
type ToggleGroupSelectionMode = (typeof toggleGroupSelectionModes)[number];
|
|
2567
|
+
type ToggleGroupState = (typeof toggleGroupStates)[number];
|
|
2568
|
+
type ToggleGroupSlot = (typeof toggleGroupSlots)[number];
|
|
2569
|
+
type ToggleGroupTokenSlot = (typeof toggleGroupTokenSlots)[number];
|
|
2570
|
+
type ToggleGroupVisualArchetype = (typeof toggleGroupVisualArchetypes)[number];
|
|
2571
|
+
interface ToggleGroupContract {
|
|
2572
|
+
defaultOrientation: ToggleGroupOrientation;
|
|
2573
|
+
defaultSelectionMode: ToggleGroupSelectionMode;
|
|
2574
|
+
orientations: readonly ToggleGroupOrientation[];
|
|
2575
|
+
selectionModes: readonly ToggleGroupSelectionMode[];
|
|
2576
|
+
slots: readonly ToggleGroupSlot[];
|
|
2577
|
+
states: readonly ToggleGroupState[];
|
|
2578
|
+
tokenSlots: readonly ToggleGroupTokenSlot[];
|
|
2579
|
+
visualArchetypes: readonly ToggleGroupVisualArchetype[];
|
|
2580
|
+
}
|
|
2581
|
+
declare const toggleGroupContract: {
|
|
2582
|
+
defaultOrientation: "horizontal";
|
|
2583
|
+
defaultSelectionMode: "single";
|
|
2584
|
+
orientations: readonly ["horizontal", "vertical"];
|
|
2585
|
+
selectionModes: readonly ["single", "multiple"];
|
|
2586
|
+
slots: readonly ["toggle-group", "toggle-group-item", "toggle-group-separator"];
|
|
2587
|
+
states: readonly ["rest", "hover", "focus", "selected", "disabled"];
|
|
2588
|
+
tokenSlots: readonly ["segment.gap", "segment.radius", "segment.background", "segment.gloss", "segment.trackBorder", "segment.seam", "segment.selectedBackground", "segment.selectedForeground", "segment.selectedGloss", "segment.selectedShadow", "segment.primaryBackground", "segment.primaryForeground", "segment.primaryShadow"];
|
|
2589
|
+
visualArchetypes: readonly ["toggle", "segment"];
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
declare const toggleSizes: readonly ["sm", "md", "lg"];
|
|
2593
|
+
declare const toggleTones: readonly ["neutral", "accent"];
|
|
2594
|
+
declare const toggleStates: readonly ["off", "on", "rest", "hover", "pressed", "disabled", "focus"];
|
|
2595
|
+
declare const toggleSlots: readonly ["toggle", "toggle-content"];
|
|
2596
|
+
declare const toggleTokenSlots: readonly ["toggle.background", "toggle.foreground", "toggle.hoverBackground", "toggle.onBackground", "toggle.onForeground", "toggle.primaryBackground", "toggle.primaryForeground", "toggle.borderWidth", "toggle.radius", "toggle.gloss", "toggle.shadow", "toggle.shadowActive", "toggle.textShadow"];
|
|
2597
|
+
declare const toggleVisualArchetypes: readonly ["toggle"];
|
|
2598
|
+
type ToggleSize = (typeof toggleSizes)[number];
|
|
2599
|
+
type ToggleTone = (typeof toggleTones)[number];
|
|
2600
|
+
type ToggleState = (typeof toggleStates)[number];
|
|
2601
|
+
type ToggleSlot = (typeof toggleSlots)[number];
|
|
2602
|
+
type ToggleTokenSlot = (typeof toggleTokenSlots)[number];
|
|
2603
|
+
type ToggleVisualArchetype = (typeof toggleVisualArchetypes)[number];
|
|
2604
|
+
interface ToggleContract {
|
|
2605
|
+
defaultSize: ToggleSize;
|
|
2606
|
+
defaultTone: ToggleTone;
|
|
2607
|
+
sizes: readonly ToggleSize[];
|
|
2608
|
+
slots: readonly ToggleSlot[];
|
|
2609
|
+
states: readonly ToggleState[];
|
|
2610
|
+
tokenSlots: readonly ToggleTokenSlot[];
|
|
2611
|
+
tones: readonly ToggleTone[];
|
|
2612
|
+
visualArchetypes: readonly ToggleVisualArchetype[];
|
|
2613
|
+
}
|
|
2614
|
+
declare const toggleContract: {
|
|
2615
|
+
defaultSize: "md";
|
|
2616
|
+
defaultTone: "neutral";
|
|
2617
|
+
sizes: readonly ["sm", "md", "lg"];
|
|
2618
|
+
slots: readonly ["toggle", "toggle-content"];
|
|
2619
|
+
states: readonly ["off", "on", "rest", "hover", "pressed", "disabled", "focus"];
|
|
2620
|
+
tokenSlots: readonly ["toggle.background", "toggle.foreground", "toggle.hoverBackground", "toggle.onBackground", "toggle.onForeground", "toggle.primaryBackground", "toggle.primaryForeground", "toggle.borderWidth", "toggle.radius", "toggle.gloss", "toggle.shadow", "toggle.shadowActive", "toggle.textShadow"];
|
|
2621
|
+
tones: readonly ["neutral", "accent"];
|
|
2622
|
+
visualArchetypes: readonly ["toggle"];
|
|
2623
|
+
};
|
|
2624
|
+
|
|
2625
|
+
declare const toasterStates: readonly ["visible", "dismissing", "reduced-motion"];
|
|
2626
|
+
declare const toasterTones: readonly ["default", "info", "success", "warning", "error", "loading"];
|
|
2627
|
+
declare const toasterSlots: readonly ["toaster", "toast", "toast-icon", "toast-message"];
|
|
2628
|
+
declare const toasterVisualArchetypes: readonly ["surface"];
|
|
2629
|
+
type ToasterState = (typeof toasterStates)[number];
|
|
2630
|
+
type ToasterTone = (typeof toasterTones)[number];
|
|
2631
|
+
type ToasterSlot = (typeof toasterSlots)[number];
|
|
2632
|
+
type ToasterVisualArchetype = (typeof toasterVisualArchetypes)[number];
|
|
2633
|
+
interface ToasterContract {
|
|
2634
|
+
slots: readonly ToasterSlot[];
|
|
2635
|
+
states: readonly ToasterState[];
|
|
2636
|
+
tones: readonly ToasterTone[];
|
|
2637
|
+
visualArchetypes: readonly ToasterVisualArchetype[];
|
|
2638
|
+
}
|
|
2639
|
+
declare const toasterContract: {
|
|
2640
|
+
slots: readonly ["toaster", "toast", "toast-icon", "toast-message"];
|
|
2641
|
+
states: readonly ["visible", "dismissing", "reduced-motion"];
|
|
2642
|
+
tones: readonly ["default", "info", "success", "warning", "error", "loading"];
|
|
2643
|
+
visualArchetypes: readonly ["surface"];
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2646
|
+
declare const tooltipSides: readonly ["top", "right", "bottom", "left"];
|
|
2647
|
+
declare const tooltipAlignments: readonly ["start", "center", "end"];
|
|
2648
|
+
declare const tooltipStates: readonly ["closed", "open", "starting", "ending", "instant"];
|
|
2649
|
+
declare const tooltipSlots: readonly ["tooltip-trigger", "tooltip-positioner", "tooltip-popup", "tooltip-viewport"];
|
|
2650
|
+
declare const tooltipTokenSlots: readonly ["overlay.background", "overlay.border", "overlay.radius", "overlay.gloss", "overlay.texture", "overlay.backdrop", "overlay.shadow", "overlay.innerShadow"];
|
|
2651
|
+
declare const tooltipVisualArchetypes: readonly ["overlay"];
|
|
2652
|
+
type TooltipSide = (typeof tooltipSides)[number];
|
|
2653
|
+
type TooltipAlignment = (typeof tooltipAlignments)[number];
|
|
2654
|
+
type TooltipState = (typeof tooltipStates)[number];
|
|
2655
|
+
type TooltipSlot = (typeof tooltipSlots)[number];
|
|
2656
|
+
type TooltipTokenSlot = (typeof tooltipTokenSlots)[number];
|
|
2657
|
+
type TooltipVisualArchetype = (typeof tooltipVisualArchetypes)[number];
|
|
2658
|
+
interface TooltipContract {
|
|
2659
|
+
alignments: readonly TooltipAlignment[];
|
|
2660
|
+
defaultAlignment: TooltipAlignment;
|
|
2661
|
+
defaultSide: TooltipSide;
|
|
2662
|
+
sides: readonly TooltipSide[];
|
|
2663
|
+
slots: readonly TooltipSlot[];
|
|
2664
|
+
states: readonly TooltipState[];
|
|
2665
|
+
tokenSlots: readonly TooltipTokenSlot[];
|
|
2666
|
+
visualArchetypes: readonly TooltipVisualArchetype[];
|
|
2667
|
+
}
|
|
2668
|
+
declare const tooltipContract: {
|
|
2669
|
+
alignments: readonly ["start", "center", "end"];
|
|
2670
|
+
defaultAlignment: "center";
|
|
2671
|
+
defaultSide: "top";
|
|
2672
|
+
sides: readonly ["top", "right", "bottom", "left"];
|
|
2673
|
+
slots: readonly ["tooltip-trigger", "tooltip-positioner", "tooltip-popup", "tooltip-viewport"];
|
|
2674
|
+
states: readonly ["closed", "open", "starting", "ending", "instant"];
|
|
2675
|
+
tokenSlots: readonly ["overlay.background", "overlay.border", "overlay.radius", "overlay.gloss", "overlay.texture", "overlay.backdrop", "overlay.shadow", "overlay.innerShadow"];
|
|
2676
|
+
visualArchetypes: readonly ["overlay"];
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
declare const designLanguages: readonly ["web", "ios"];
|
|
2680
|
+
declare const modes: readonly ["light", "dark", "system"];
|
|
2681
|
+
declare const themes: readonly ["modern", "aqua", "retro", "terminal"];
|
|
2682
|
+
declare const inputs: readonly ["touch", "pointer", "keyboard"];
|
|
2683
|
+
declare const densities: readonly ["compact", "comfortable"];
|
|
2684
|
+
declare const brands: readonly ["auto", "b1", "b2", "b3", "b4", "b5", "b6"];
|
|
2685
|
+
declare const surfaces: readonly ["n1", "n2", "n3", "n4", "n5", "n6"];
|
|
2686
|
+
declare const typeScales: readonly ["compact", "normal", "comfortable", "large"];
|
|
2687
|
+
declare const radii: readonly ["none", "subtle", "default", "round"];
|
|
2688
|
+
declare const fonts: readonly ["sans", "serif", "mono", "pixel"];
|
|
2689
|
+
declare const osSystems: readonly ["macos", "windows"];
|
|
2690
|
+
declare const iconThemes: readonly ["realistic", "color", "neutral", "primary"];
|
|
2691
|
+
type DesignLanguage = (typeof designLanguages)[number];
|
|
2692
|
+
type Mode = (typeof modes)[number];
|
|
2693
|
+
type Theme = (typeof themes)[number];
|
|
2694
|
+
type PointerInput = (typeof inputs)[number];
|
|
2695
|
+
type Density = (typeof densities)[number];
|
|
2696
|
+
type Brand = (typeof brands)[number];
|
|
2697
|
+
type Surface = (typeof surfaces)[number];
|
|
2698
|
+
type TypeScale = (typeof typeScales)[number];
|
|
2699
|
+
type RadiusScale = (typeof radii)[number];
|
|
2700
|
+
type FontFamily = (typeof fonts)[number];
|
|
2701
|
+
type OsSystem = (typeof osSystems)[number];
|
|
2702
|
+
type IconTheme = (typeof iconThemes)[number];
|
|
2703
|
+
/** Axes stamped by UIProvider (subset of personalizationAxes). */
|
|
2704
|
+
interface UIEnvironment {
|
|
2705
|
+
brand: Brand;
|
|
2706
|
+
density: Density;
|
|
2707
|
+
designLanguage: DesignLanguage;
|
|
2708
|
+
input: PointerInput;
|
|
2709
|
+
mode: Mode;
|
|
2710
|
+
surface: Surface;
|
|
2711
|
+
theme: Theme;
|
|
2712
|
+
}
|
|
2713
|
+
declare const defaultUIEnvironment: {
|
|
2714
|
+
brand: "b1";
|
|
2715
|
+
density: "comfortable";
|
|
2716
|
+
designLanguage: "web";
|
|
2717
|
+
input: "pointer";
|
|
2718
|
+
mode: "light";
|
|
2719
|
+
surface: "n1";
|
|
2720
|
+
theme: "modern";
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
export { type AccordionContract, type AccordionIconVariant, type AccordionSlot, type AccordionState, type AccordionVisualArchetype, type AlertContract, type AlertDialogContract, type AlertDialogFooterVariant, type AlertDialogSize, type AlertDialogSlot, type AlertDialogState, type AlertDialogVariant, type AlertDialogVisualArchetype, type AlertSlot, type AlertVariant, type AlertVisualArchetype, type AnimatedCheckContract, type AnimatedCheckSlot, type AnimatedCheckState, type AnimatedCheckVariant, type AnimatedCheckVisualArchetype, type AutocompleteContract, type AutocompleteSize, type AutocompleteSlot, type AutocompleteState, type AutocompleteVisualArchetype, type AvatarComposition, type AvatarContract, type AvatarSize, type AvatarSlot, type AvatarState, type AvatarVisualArchetype, type AxisCategory, type AxisId, type AxisTokenOwnership, type BadgeContract, type BadgeSize, type BadgeSlot, type BadgeState, type BadgeVariant, type BadgeVisualArchetype, type Brand, type BreadcrumbComposition, type BreadcrumbContract, type BreadcrumbSlot, type BreadcrumbState, type BreadcrumbVisualArchetype, type ButtonContract, type ButtonGroupContract, type ButtonGroupOrientation, type ButtonGroupSize, type ButtonGroupSlot, type ButtonGroupState, type ButtonGroupVisualArchetype, type ButtonSize, type ButtonSlot, type ButtonState, type ButtonTokenSlot, type ButtonVariant, type ButtonVisualArchetype, type CalendarContract, type CalendarSelectionMode, type CalendarSlot, type CalendarState, type CalendarVisualArchetype, type CardContentPadding, type CardContract, type CardLineClamp, type CardPadding, type CardSlot, type CardState, type CardVariant, type CardVisualArchetype, type CarouselContract, type CarouselOrientation, type CarouselSlot, type CarouselState, type CarouselVisualArchetype, type CheckboxContract, type CheckboxSize, type CheckboxSlot, type CheckboxState, type CheckboxVisualArchetype, type CollapsibleContract, type CollapsibleSlot, type CollapsibleState, type CollapsibleVisualArchetype, type CommandContract, type CommandSlot, type CommandState, type CommandVisualArchetype, type ConnectedPanelAlign, type ConnectedPanelContract, type ConnectedPanelSlot, type ConnectedPanelState, type ConnectedPanelVisualArchetype, type ContextMenuContract, type ContextMenuSlot, type ContextMenuState, type ContextMenuVisualArchetype, type ContractParity, type CopyButtonContract, type CopyButtonSize, type CopyButtonSlot, type CopyButtonState, type CopyButtonVariant, type CopyButtonVisualArchetype, type CrossRendererComponentContract, type CrossRendererContractById, type CrossRendererContractId, type CrossRendererMotionContract, type CrossRendererPlatformAdaptations, type CrossRendererSemanticTone, type Density, type DesignLanguage, type DestinationKind, type DestinationLinkContract, type DestinationLinkSlot, type DestinationLinkState, type DestinationLinkVisualArchetype, type DialogContract, type DialogFooterVariant, type DialogMobilePlacement, type DialogSize, type DialogSlot, type DialogState, type DialogVisualArchetype, type DrawerContract, type DrawerDirection, type DrawerFooterVariant, type DrawerSlot, type DrawerState, type DrawerVisualArchetype, type DropdownMenuContract, type DropdownMenuItemVariant, type DropdownMenuSlot, type DropdownMenuState, type DropdownMenuVisualArchetype, type EmptyContract, type EmptyMediaVariant, type EmptySlot, type EmptyState, type EmptyVisualArchetype, type FeedbackStateContract, type FeedbackStateKind, type FeedbackStateSize, type FeedbackStateSlot, type FeedbackStateState, type FeedbackStateVisualArchetype, type FieldContract, type FieldLegendVariant, type FieldOrientation, type FieldSlot, type FieldState, type FieldVisualArchetype, type FontFamily, type FormContract, type FormSlot, type FormState, type FormVisualArchetype, type FrameBorder, type FrameContract, type FramePanelSurface, type FrameSlot, type FrameState, type FrameTray, type FrameVariant, type FrameVisualArchetype, type HoverCardContract, type HoverCardSlot, type HoverCardState, type HoverCardVisualArchetype, type IconTheme, type InputContract, type InputGroupAlign, type InputGroupContract, type InputGroupSlot, type InputGroupVisualArchetype, type InputOTPContract, type InputOTPSlot, type InputOTPState, type InputOTPVisualArchetype, type InputSize, type InputSlot, type InputState, type InputTokenSlot, type InputVisualArchetype, type ItemContract, type ItemMediaVariant, type ItemSize, type ItemSlot, type ItemState, type ItemVariant, type ItemVisualArchetype, type KbdContract, type KbdSize, type KbdSlot, type KbdState, type KbdVisualArchetype, type LabelContract, type LabelSlot, type LabelState, type LabelVisualArchetype, type LoadMoreTriggerContract, type LoadMoreTriggerSlot, type LoadMoreTriggerState, type LoadMoreTriggerVariant, type LoadMoreTriggerVisualArchetype, type MarqueeContract, type MarqueeOrientation, type MarqueeSlot, type MarqueeState, type MenuContract, type MenuItemVariant, type MenuSlot, type MenuState, type MenuTone, type MenuVisualArchetype, type MenubarContract, type MenubarSlot, type MenubarState, type MenubarVisualArchetype, type Mode, type NavigationMenuContract, type NavigationMenuSlot, type NavigationMenuState, type NavigationMenuVisualArchetype, type OsSystem, type PaginationContract, type PaginationSlot, type PaginationState, type PaginationVisualArchetype, type PanelSettingButtonContract, type PanelSettingButtonSlot, type PanelSettingButtonState, type PanelSettingButtonVisualArchetype, type PersonalizationAxis, type PointerInput, type PopoverContract, type PopoverSlot, type PopoverState, type PopoverVisualArchetype, type PortalContainerContract, type PortalContainerState, type PortalContainerTarget, type PreviewCardContract, type PreviewCardSlot, type PreviewCardState, type PreviewCardVisualArchetype, type ProgressContract, type ProgressSlot, type ProgressState, type ProgressVisualArchetype, type RadioContract, type RadioSize, type RadioSlot, type RadioState, type RadioVisualArchetype, type RadiusScale, type ResizableContract, type ResizableOrientation, type ResizableSlot, type ResizableState, type ResizableVariant, type ResizableVisualArchetype, type ScrollAreaContract, type ScrollAreaOption, type ScrollAreaOrientation, type ScrollAreaSlot, type ScrollAreaState, type ScrollAreaVisualArchetype, type ScrollableListContract, type ScrollableListLayout, type ScrollableListOption, type ScrollableListSlot, type ScrollableListState, type ScrollableListVisualArchetype, type SearchFieldContract, type SearchFieldSlot, type SearchFieldState, type SearchFieldVisualArchetype, type SegmentedControlContract, type SegmentedControlSize, type SegmentedControlSlot, type SegmentedControlState, type SegmentedControlTone, type SegmentedControlVariant, type SegmentedControlVisualArchetype, type SelectContract, type SelectSize, type SelectSlot, type SelectState, type SelectTokenSlot, type SelectVisualArchetype, type SelectionTokenSlot, type SeparatorContract, type SeparatorMode, type SeparatorOrientation, type SeparatorSlot, type SeparatorVariant, type SeparatorVisualArchetype, type SheetContract, type SheetFooterVariant, type SheetSide, type SheetSlot, type SheetState, type SheetVariant, type SheetVisualArchetype, type SidebarCollapsible, type SidebarContract, type SidebarMenuButtonSize, type SidebarMenuButtonVariant, type SidebarMenuSubButtonSize, type SidebarNavTreeContract, type SidebarNavTreePart, type SidebarNavTreeState, type SidebarNavTreeVisualArchetype, type SidebarSide, type SidebarSlot, type SidebarState, type SidebarVariant, type SidebarVisualArchetype, type SkeletonContract, type SkeletonSlot, type SkeletonState, type SkeletonVisualArchetype, type SliderContract, type SliderMode, type SliderOrientation, type SliderSlot, type SliderState, type SliderVisualArchetype, type SpinnerContract, type SpinnerSlot, type SpinnerState, type SpinnerVisualArchetype, type Surface, type SwitchContract, type SwitchSize, type SwitchSlot, type SwitchState, type SwitchVisualArchetype, type TableContract, type TableSlot, type TableState, type TableVariant, type TableVisualArchetype, type TabsContract, type TabsOrientation, type TabsSize, type TabsSlot, type TabsState, type TabsVariant, type TabsVisualArchetype, type TextTickerContract, type TextTickerSlot, type TextTickerState, type TextTickerVariant, type TextTickerVisualArchetype, type TextareaContract, type TextareaSize, type TextareaSlot, type TextareaState, type TextareaTokenSlot, type TextareaVisualArchetype, type Theme, type ToasterContract, type ToasterSlot, type ToasterState, type ToasterTone, type ToasterVisualArchetype, type ToggleContract, type ToggleGroupContract, type ToggleGroupOrientation, type ToggleGroupSelectionMode, type ToggleGroupSlot, type ToggleGroupState, type ToggleGroupTokenSlot, type ToggleGroupVisualArchetype, type ToggleSize, type ToggleSlot, type ToggleState, type ToggleTokenSlot, type ToggleTone, type ToggleVisualArchetype, type TokenStatus, type TooltipAlignment, type TooltipContract, type TooltipSide, type TooltipSlot, type TooltipState, type TooltipTokenSlot, type TooltipVisualArchetype, type TypeScale, type UIEnvironment, type VisualArchetype, type VisualArchetypeId, accordionContract, accordionIconVariants, accordionSlots, accordionStates, accordionVisualArchetypes, alertContract, alertDialogContract, alertDialogFooterVariants, alertDialogSizes, alertDialogSlots, alertDialogStates, alertDialogVariants, alertDialogVisualArchetypes, alertSlots, alertVariants, alertVisualArchetypes, animatedCheckContract, animatedCheckSlots, animatedCheckStates, animatedCheckVariants, animatedCheckVisualArchetypes, autocompleteContract, autocompleteSizes, autocompleteSlots, autocompleteStates, autocompleteVisualArchetypes, avatarCompositions, avatarContract, avatarSizes, avatarSlots, avatarStates, avatarVisualArchetypes, badgeContract, badgePaletteVariants, badgeSemanticVariants, badgeSizes, badgeSlots, badgeSolidVariants, badgeStates, badgeVariants, badgeVisualArchetypes, brands, breadcrumbCompositions, breadcrumbContract, breadcrumbSlots, breadcrumbStates, breadcrumbVisualArchetypes, buttonContract, buttonGroupContract, buttonGroupOrientations, buttonGroupSizes, buttonGroupSlots, buttonGroupStates, buttonGroupVisualArchetypes, buttonSizes, buttonSlots, buttonStates, buttonTokenSlots, buttonVariants, buttonVisualArchetypes, calendarContract, calendarSelectionModes, calendarSlots, calendarStates, calendarVisualArchetypes, cardContentPaddings, cardContract, cardLineClamps, cardPaddings, cardSlots, cardStates, cardVariants, cardVisualArchetypes, carouselContract, carouselOrientations, carouselSlots, carouselStates, carouselVisualArchetypes, checkboxContract, checkboxSizes, checkboxSlots, checkboxStates, checkboxVisualArchetypes, collapsibleContract, collapsibleSlots, collapsibleStates, collapsibleVisualArchetypes, commandContract, commandSlots, commandStates, commandVisualArchetypes, connectedPanelAligns, connectedPanelContract, connectedPanelSlots, connectedPanelStates, connectedPanelVisualArchetypes, contextMenuContract, contextMenuSlots, contextMenuStates, contextMenuVisualArchetypes, copyButtonContract, copyButtonSizePairs, copyButtonSizes, copyButtonSlots, copyButtonStates, copyButtonVariants, copyButtonVisualArchetypes, crossRendererContracts, defaultUIEnvironment, densities, designLanguages, destinationKinds, destinationLinkContract, destinationLinkSlots, destinationLinkStates, destinationLinkVisualArchetypes, dialogContract, dialogFooterVariants, dialogMobilePlacements, dialogSizes, dialogSlots, dialogStates, dialogVisualArchetypes, drawerContract, drawerDirections, drawerFooterVariants, drawerSlots, drawerStates, drawerVisualArchetypes, dropdownMenuContract, dropdownMenuItemVariants, dropdownMenuSlots, dropdownMenuStates, dropdownMenuVisualArchetypes, emptyContract, emptyMediaVariants, emptySlots, emptyStates, emptyVisualArchetypes, feedbackStateContract, feedbackStateKinds, feedbackStateSizes, feedbackStateSlots, feedbackStateStates, feedbackStateVisualArchetypes, fieldContract, fieldLegendVariants, fieldOrientations, fieldSlots, fieldStates, fieldVisualArchetypes, fonts, formContract, formSlots, formStates, formVisualArchetypes, frameBorders, frameContract, framePanelSurfaces, framePresets, frameSlots, frameStates, frameTrays, frameVariants, frameVisualArchetypes, getCrossRendererContract, hoverCardContract, hoverCardSlots, hoverCardStates, hoverCardVisualArchetypes, iconThemes, inputContract, inputGroupAligns, inputGroupContract, inputGroupSlots, inputGroupVisualArchetypes, inputOTPContract, inputOTPSlots, inputOTPStates, inputOTPVisualArchetypes, inputSizes, inputSlots, inputStates, inputTokenSlots, inputVisualArchetypes, inputs, itemContract, itemMediaVariants, itemSizes, itemSlots, itemStates, itemVariants, itemVisualArchetypes, kbdContract, kbdSizes, kbdSlots, kbdStates, kbdVisualArchetypes, labelContract, labelSlots, labelStates, labelVisualArchetypes, loadMoreTriggerContract, loadMoreTriggerSlots, loadMoreTriggerStates, loadMoreTriggerVariants, loadMoreTriggerVisualArchetypes, marqueeContract, marqueeOrientations, marqueeSlots, marqueeStates, marqueeVisualArchetypes, menuContract, menuItemVariants, menuSlots, menuStates, menuTones, menuVisualArchetypes, menubarContract, menubarSlots, menubarStates, menubarVisualArchetypes, modes, navigationMenuContract, navigationMenuSlots, navigationMenuStates, navigationMenuVisualArchetypes, osSystems, paginationContract, paginationSlots, paginationStates, paginationVisualArchetypes, panelSettingButtonContract, panelSettingButtonSlots, panelSettingButtonStates, panelSettingButtonVisualArchetypes, personalizationAxes, popoverContract, popoverSlots, popoverStates, popoverVisualArchetypes, portalContainerContract, portalContainerStates, portalContainerTargets, portalContainerVisualArchetypes, previewCardContract, previewCardSlots, previewCardStates, previewCardVisualArchetypes, progressContract, progressSlots, progressStates, progressVisualArchetypes, radii, radioContract, radioSizes, radioSlots, radioStates, radioVisualArchetypes, resizableContract, resizableOrientations, resizableSlots, resizableStates, resizableVariants, resizableVisualArchetypes, resolveFrameChrome, scrollAreaContract, scrollAreaOptions, scrollAreaOrientations, scrollAreaSlots, scrollAreaStates, scrollAreaVisualArchetypes, scrollableListContract, scrollableListLayouts, scrollableListOptions, scrollableListSlots, scrollableListStates, scrollableListVisualArchetypes, searchFieldContract, searchFieldSlots, searchFieldStates, searchFieldVisualArchetypes, segmentedControlContract, segmentedControlSizes, segmentedControlSlots, segmentedControlStates, segmentedControlTones, segmentedControlVariants, segmentedControlVisualArchetypes, selectContract, selectSizes, selectSlots, selectStates, selectTokenSlots, selectVisualArchetypes, selectionTokenSlots, separatorContract, separatorModes, separatorOrientations, separatorSlots, separatorVariants, separatorVisualArchetypes, sheetContract, sheetFooterVariants, sheetSides, sheetSlots, sheetStates, sheetVariants, sheetVisualArchetypes, sidebarCollapsibles, sidebarContract, sidebarMenuButtonSizes, sidebarMenuButtonVariants, sidebarMenuSubButtonSizes, sidebarNavTreeContract, sidebarNavTreeParts, sidebarNavTreeStates, sidebarNavTreeVisualArchetypes, sidebarSides, sidebarSlots, sidebarStates, sidebarVariants, sidebarVisualArchetypes, skeletonContract, skeletonSlots, skeletonStates, skeletonVisualArchetypes, sliderContract, sliderModes, sliderOrientations, sliderSlots, sliderStates, sliderVisualArchetypes, spinnerContract, spinnerSlots, spinnerStates, spinnerVisualArchetypes, surfaces, switchContract, switchSizes, switchSlots, switchStates, switchVisualArchetypes, tableContract, tableSlots, tableStates, tableVariants, tableVisualArchetypes, tabsContract, tabsOrientations, tabsSizes, tabsSlots, tabsStates, tabsVariants, tabsVisualArchetypes, textTickerContract, textTickerSlots, textTickerStates, textTickerVariants, textTickerVisualArchetypes, textareaContract, textareaSizes, textareaSlots, textareaStates, textareaTokenSlots, textareaVisualArchetypes, themes, toasterContract, toasterSlots, toasterStates, toasterTones, toasterVisualArchetypes, toggleContract, toggleGroupContract, toggleGroupOrientations, toggleGroupSelectionModes, toggleGroupSlots, toggleGroupStates, toggleGroupTokenSlots, toggleGroupVisualArchetypes, toggleSizes, toggleSlots, toggleStates, toggleTokenSlots, toggleTones, toggleVisualArchetypes, tooltipAlignments, tooltipContract, tooltipSides, tooltipSlots, tooltipStates, tooltipTokenSlots, tooltipVisualArchetypes, typeScales, visualArchetypeIds, visualArchetypes };
|