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