@cascivo/render 1.8.0 → 1.10.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.
@@ -0,0 +1,4751 @@
1
+ {
2
+ "$id": "https://raw.githubusercontent.com/cascivo/cascivo/main/packages/render/schema/catalog.v1.json",
3
+ "version": 1,
4
+ "components": {
5
+ "Accordion": {
6
+ "description": "Vertically stacked, collapsible content sections",
7
+ "category": "navigation",
8
+ "intent": {
9
+ "whenToUse": [
10
+ "Progressively disclosing sections of related content the user reads top to bottom",
11
+ "Reducing vertical scroll when most sections stay collapsed (FAQs, settings groups)",
12
+ "Allowing multiple sections open at once (type=\"multiple\")"
13
+ ],
14
+ "whenNotToUse": [
15
+ "Switching between mutually exclusive, equally important views — use Tabs",
16
+ "A single show/hide region — a plain disclosure is enough"
17
+ ]
18
+ },
19
+ "props": {
20
+ "type": "object",
21
+ "properties": {
22
+ "defaultValue": {
23
+ "anyOf": [
24
+ {
25
+ "type": "string"
26
+ },
27
+ {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "string"
31
+ }
32
+ }
33
+ ],
34
+ "description": "The initial value when uncontrolled."
35
+ },
36
+ "type": {
37
+ "type": "string",
38
+ "enum": ["single", "multiple"],
39
+ "description": "Whether one or multiple sections can be open at once ('single' | 'multiple').",
40
+ "default": "single"
41
+ },
42
+ "value": {
43
+ "anyOf": [
44
+ {
45
+ "type": "string"
46
+ },
47
+ {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string"
51
+ }
52
+ }
53
+ ],
54
+ "description": "The controlled value."
55
+ }
56
+ },
57
+ "additionalProperties": false
58
+ },
59
+ "slots": {
60
+ "children": {
61
+ "arity": "many",
62
+ "required": true,
63
+ "description": "AccordionItem elements",
64
+ "text": true
65
+ }
66
+ },
67
+ "events": {
68
+ "onValueChange": {
69
+ "description": "Called with the new value when it changes."
70
+ }
71
+ },
72
+ "omitted": {}
73
+ },
74
+ "Alert": {
75
+ "description": "Highlights a short, important message inline",
76
+ "category": "display",
77
+ "intent": {
78
+ "whenToUse": [
79
+ "Surfacing a persistent, contextual message inline within a view (warning, error, info, success)",
80
+ "Communicating status that should stay visible until read or resolved",
81
+ "Offering an inline recovery action tied to the message (action prop)"
82
+ ],
83
+ "whenNotToUse": [
84
+ "Transient confirmation that should auto-dismiss — use Toast",
85
+ "Blocking the user for a decision — use Modal or AlertDialog"
86
+ ]
87
+ },
88
+ "props": {
89
+ "type": "object",
90
+ "properties": {
91
+ "dismissible": {
92
+ "type": "boolean",
93
+ "description": "When true, shows a control to dismiss the component.",
94
+ "default": false
95
+ },
96
+ "title": {
97
+ "type": "string",
98
+ "description": "Title text for the component."
99
+ },
100
+ "variant": {
101
+ "type": "string",
102
+ "enum": ["default", "info", "success", "warning", "destructive"],
103
+ "description": "Severity tone: `default` (neutral), `info`, `success`, `warning` or `destructive`. Sets the icon and the accent colour. Unlike Badge/Tag/Notification this is a private union, not `ToneInput` — the canonical `danger`/`neutral` spellings are not accepted here.",
104
+ "default": "default"
105
+ }
106
+ },
107
+ "additionalProperties": false
108
+ },
109
+ "slots": {
110
+ "children": {
111
+ "arity": "many",
112
+ "required": false,
113
+ "description": "Alert body content",
114
+ "text": true
115
+ },
116
+ "icon": {
117
+ "arity": "one",
118
+ "required": false,
119
+ "description": "Icon element rendered in the component."
120
+ }
121
+ },
122
+ "events": {
123
+ "onDismiss": {
124
+ "description": "Called when the component is dismissed."
125
+ }
126
+ },
127
+ "omitted": {
128
+ "action": {
129
+ "type": "{ label: string; onClick: () => void }",
130
+ "reason": "unresolved-type"
131
+ }
132
+ }
133
+ },
134
+ "AutoGrid": {
135
+ "description": "Media-query-free responsive grid — columns auto-fill based on available space.",
136
+ "category": "layout",
137
+ "intent": {
138
+ "whenToUse": [
139
+ "Responsive card or tile grids that auto-fit columns to available width",
140
+ "Avoiding media queries — tracks wrap based on a minimum track width"
141
+ ],
142
+ "whenNotToUse": [
143
+ "A fixed, known column count — use Grid",
144
+ "Single-direction stacking — use Stack"
145
+ ]
146
+ },
147
+ "props": {
148
+ "type": "object",
149
+ "properties": {
150
+ "gap": {
151
+ "type": "number",
152
+ "enum": [1, 2, 3, 4, 5, 6, 8, 10, 12],
153
+ "description": "Spacing token step. Maps to the --cascivo-space-* scale, which intentionally skips 7/9/11 — use 6 or 8.",
154
+ "default": 4
155
+ },
156
+ "min": {
157
+ "type": "string",
158
+ "description": "Minimum track width before items wrap to fewer columns",
159
+ "default": "16rem"
160
+ }
161
+ },
162
+ "additionalProperties": false
163
+ },
164
+ "slots": {
165
+ "children": {
166
+ "arity": "many",
167
+ "required": false,
168
+ "description": "Grid items",
169
+ "text": true
170
+ }
171
+ },
172
+ "events": {},
173
+ "omitted": {}
174
+ },
175
+ "Avatar": {
176
+ "description": "Displays a user image with initials fallback",
177
+ "category": "display",
178
+ "intent": {
179
+ "whenToUse": [
180
+ "Representing a person or entity with a thumbnail image and initials fallback",
181
+ "Showing presence/status alongside an identity (status prop)",
182
+ "Compactly identifying authors in lists, comments, and headers"
183
+ ],
184
+ "whenNotToUse": [
185
+ "Decorative imagery unrelated to identity — use a plain <img>",
186
+ "A generic icon or logo with no person/entity meaning"
187
+ ]
188
+ },
189
+ "props": {
190
+ "type": "object",
191
+ "properties": {
192
+ "alt": {
193
+ "type": "string",
194
+ "description": "Alternative text describing the image.",
195
+ "default": ""
196
+ },
197
+ "fallback": {
198
+ "type": "string",
199
+ "description": "Explicit fallback text (initials/glyph); overrides initials derived from name."
200
+ },
201
+ "name": {
202
+ "type": "string",
203
+ "description": "Full name — used to derive initials for the fallback and as the accessible label."
204
+ },
205
+ "size": {
206
+ "type": "string",
207
+ "enum": ["xs", "sm", "md", "lg", "xl"],
208
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
209
+ "default": "md"
210
+ },
211
+ "src": {
212
+ "type": "string",
213
+ "description": "Image source URL."
214
+ },
215
+ "status": {
216
+ "type": "string",
217
+ "enum": ["online", "offline", "busy"],
218
+ "description": "Status state."
219
+ }
220
+ },
221
+ "additionalProperties": false
222
+ },
223
+ "slots": {},
224
+ "events": {},
225
+ "omitted": {}
226
+ },
227
+ "AvatarGroup": {
228
+ "description": "Overlapping stack of avatars with a max cap and an i18n-labelled +N overflow chip",
229
+ "category": "display",
230
+ "intent": {
231
+ "whenToUse": [
232
+ "Showing several people compactly as an overlapping stack (collaborators, attendees, reviewers)",
233
+ "Capping a long list of avatars with a +N overflow chip",
234
+ "A facepile in a card header, table cell, or activity row"
235
+ ],
236
+ "whenNotToUse": [
237
+ "A single identity with a name — use User or Avatar",
238
+ "A selectable list of people — use a list/menu with checkboxes"
239
+ ]
240
+ },
241
+ "props": {
242
+ "type": "object",
243
+ "properties": {
244
+ "isGrid": {
245
+ "type": "boolean",
246
+ "description": "When true, lays the avatars out in a grid instead of an overlapping stack.",
247
+ "default": false
248
+ },
249
+ "max": {
250
+ "type": "number",
251
+ "description": "Cap the number of visible avatars"
252
+ },
253
+ "spacing": {
254
+ "type": "string",
255
+ "enum": ["sm", "md", "lg"],
256
+ "description": "Spacing between items.",
257
+ "default": "md"
258
+ },
259
+ "total": {
260
+ "type": "number",
261
+ "description": "Override the total count used for the +N chip"
262
+ }
263
+ },
264
+ "additionalProperties": false
265
+ },
266
+ "slots": {
267
+ "children": {
268
+ "arity": "many",
269
+ "required": false,
270
+ "description": "Avatar elements to stack",
271
+ "text": true
272
+ }
273
+ },
274
+ "events": {},
275
+ "omitted": {
276
+ "labels": {
277
+ "type": "AvatarGroupLabels",
278
+ "reason": "unresolved-type"
279
+ }
280
+ }
281
+ },
282
+ "Badge": {
283
+ "description": "Small status label or category indicator",
284
+ "category": "display",
285
+ "intent": {
286
+ "whenToUse": [
287
+ "Labeling an item with a short, static status or category (e.g. \"New\", \"Beta\")",
288
+ "Annotating an element with a count or state that is not interactive"
289
+ ],
290
+ "whenNotToUse": [
291
+ "A removable or interactive chip (filters, selections) — use Tag",
292
+ "A standalone system state with a colored dot — use Status"
293
+ ]
294
+ },
295
+ "props": {
296
+ "type": "object",
297
+ "properties": {
298
+ "size": {
299
+ "type": "string",
300
+ "enum": ["sm", "md"],
301
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
302
+ "default": "md"
303
+ },
304
+ "variant": {
305
+ "type": "string",
306
+ "enum": ["default", "secondary", "success", "warning", "destructive", "outline"],
307
+ "description": "Severity tone. Accepts the catalog-wide `Tone` vocabulary (`neutral | info | success | warning | danger`) plus Badge's historical spellings (`default` → neutral, `error`/`destructive` → danger), and two values that carry no tone at all: `secondary` (muted fill) and `outline` (border only).",
308
+ "default": "default"
309
+ }
310
+ },
311
+ "additionalProperties": false
312
+ },
313
+ "slots": {
314
+ "children": {
315
+ "arity": "many",
316
+ "required": false,
317
+ "description": "Badge label",
318
+ "text": true
319
+ }
320
+ },
321
+ "events": {},
322
+ "omitted": {}
323
+ },
324
+ "Blockquote": {
325
+ "description": "Quoted passage with optional attribution footer",
326
+ "category": "display",
327
+ "intent": {
328
+ "whenToUse": [
329
+ "Setting off a quoted passage from another source with visual emphasis",
330
+ "Attributing a quote to a person or work via the cite footer"
331
+ ],
332
+ "whenNotToUse": [
333
+ "Indenting or emphasizing your own non-quoted text — use Text styling",
334
+ "Inline quotations within a sentence — use a <q> element"
335
+ ]
336
+ },
337
+ "props": {
338
+ "type": "object",
339
+ "properties": {
340
+ "cite": {
341
+ "type": "string",
342
+ "description": "URL of the quote’s source (sets the HTML cite attribute)."
343
+ }
344
+ },
345
+ "additionalProperties": false
346
+ },
347
+ "slots": {
348
+ "children": {
349
+ "arity": "many",
350
+ "required": false,
351
+ "description": "The quoted content",
352
+ "text": true
353
+ }
354
+ },
355
+ "events": {},
356
+ "omitted": {}
357
+ },
358
+ "Breadcrumb": {
359
+ "description": "Shows the current page location within a navigation hierarchy",
360
+ "category": "navigation",
361
+ "intent": {
362
+ "whenToUse": [
363
+ "Showing the user where the current page sits in a navigation hierarchy",
364
+ "Providing one-click navigation back to ancestor pages",
365
+ "Collapsing deep trails to keep the trail compact (maxVisible)"
366
+ ],
367
+ "whenNotToUse": [
368
+ "Paging through data records — use Pagination",
369
+ "Switching between sibling views — use Tabs"
370
+ ]
371
+ },
372
+ "props": {
373
+ "type": "object",
374
+ "properties": {
375
+ "ariaLabel": {
376
+ "type": "string",
377
+ "description": "Accessible label for the component.",
378
+ "default": "Breadcrumb"
379
+ },
380
+ "className": {
381
+ "type": "string",
382
+ "description": "Additional CSS class names merged onto the root element."
383
+ },
384
+ "items": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "object",
388
+ "properties": {
389
+ "label": {
390
+ "type": "string"
391
+ },
392
+ "href": {
393
+ "type": "string"
394
+ }
395
+ },
396
+ "required": ["label"],
397
+ "additionalProperties": false
398
+ },
399
+ "description": "The items to render."
400
+ },
401
+ "label": {
402
+ "type": "string",
403
+ "description": "Alias of `ariaLabel` — the same invisible accessible name under the other spelling. Neither is deprecated."
404
+ },
405
+ "maxVisible": {
406
+ "type": "number",
407
+ "description": "When items exceed this count, collapse to the first item, an ellipsis, and the trailing items"
408
+ }
409
+ },
410
+ "required": ["items"],
411
+ "additionalProperties": false
412
+ },
413
+ "slots": {},
414
+ "events": {},
415
+ "omitted": {}
416
+ },
417
+ "Button": {
418
+ "description": "Triggers an action or event",
419
+ "category": "inputs",
420
+ "intent": {
421
+ "whenToUse": [
422
+ "Triggering an action or navigation the user initiates by click/press",
423
+ "Submitting a form or confirming a decision"
424
+ ],
425
+ "whenNotToUse": [
426
+ "Navigation between pages where a real link is semantically correct — use an anchor",
427
+ "Toggling a binary setting — use Toggle; persistent selection — use Checkbox/Radio"
428
+ ]
429
+ },
430
+ "props": {
431
+ "type": "object",
432
+ "properties": {
433
+ "asChild": {
434
+ "type": "boolean",
435
+ "description": "When true, renders the child element as the root via Slot, merging props (polymorphic rendering).",
436
+ "default": false
437
+ },
438
+ "disabled": {
439
+ "type": "boolean",
440
+ "description": "When true, disables the control and removes it from the tab order.",
441
+ "default": false
442
+ },
443
+ "loading": {
444
+ "type": "boolean",
445
+ "description": "When true, shows a loading state.",
446
+ "default": false
447
+ },
448
+ "size": {
449
+ "type": "string",
450
+ "enum": ["sm", "md", "lg"],
451
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
452
+ "default": "md"
453
+ },
454
+ "variant": {
455
+ "type": "string",
456
+ "enum": ["primary", "secondary", "ghost", "destructive"],
457
+ "description": "`primary` for the main action, `secondary` for a supporting one, `ghost` for a borderless action in dense UI, `destructive` for anything that deletes.",
458
+ "default": "primary"
459
+ }
460
+ },
461
+ "additionalProperties": false
462
+ },
463
+ "slots": {
464
+ "children": {
465
+ "arity": "many",
466
+ "required": false,
467
+ "description": "Button label",
468
+ "text": true
469
+ }
470
+ },
471
+ "events": {
472
+ "onClick": {
473
+ "description": "Called when the element is clicked."
474
+ }
475
+ },
476
+ "omitted": {}
477
+ },
478
+ "Card": {
479
+ "description": "Container for grouping related content",
480
+ "category": "display",
481
+ "intent": {
482
+ "whenToUse": [
483
+ "Grouping related content into a visually distinct surface with border/shadow",
484
+ "Creating scannable units in a grid or list (dashboard tiles, item summaries)",
485
+ "Giving a content cluster elevation to separate it from the page background"
486
+ ],
487
+ "whenNotToUse": [
488
+ "Pure semantic/structural grouping with no surface — use a <section>",
489
+ "Wrapping every element in a card — nesting surfaces flattens visual hierarchy"
490
+ ]
491
+ },
492
+ "props": {
493
+ "type": "object",
494
+ "properties": {
495
+ "ai": {
496
+ "anyOf": [
497
+ {
498
+ "type": "string",
499
+ "enum": ["generating"]
500
+ },
501
+ {
502
+ "type": "boolean"
503
+ }
504
+ ],
505
+ "description": "AI presence: `true` gives the surface an AI-tinted edge and a soft aura, marking AI-generated content; `'generating'` adds a pulsing inner glow while AI is still producing it (stops under reduced motion). Visual only — pair it with an AiBadge so the provenance is also text.",
506
+ "default": false
507
+ },
508
+ "padding": {
509
+ "type": "string",
510
+ "enum": ["none", "sm", "md", "lg"],
511
+ "description": "Inner padding of the CARD BOX. ⚠ `padding=\"none\"` deliberately does NOT strip the padding from CardHeader/CardContent/CardFooter — those keep their own. It means \"let a flush child (a LogViewer, an image, an edge-to-edge table) reach the card's edge\"; zeroing both put the title flush against the border and made the mode unusable with the composition it exists for. For an edge-to-edge table, skip CardContent and pass the table as a direct child.",
512
+ "default": "md"
513
+ },
514
+ "variant": {
515
+ "type": "string",
516
+ "enum": ["default", "outlined", "elevated"],
517
+ "description": "`default` draws a 1px border, `outlined` a heavier one, `elevated` drops the border for a shadow.",
518
+ "default": "default"
519
+ }
520
+ },
521
+ "additionalProperties": false
522
+ },
523
+ "slots": {
524
+ "actions": {
525
+ "arity": "one",
526
+ "required": false,
527
+ "description": "CardHeader only — trailing content pinned to the inline-end (overflow menu, badge, link). The header is a column by default, so `justify-content: space-between` alone does nothing; this is how you get the title-left / action-right dashboard card."
528
+ },
529
+ "children": {
530
+ "arity": "many",
531
+ "required": false,
532
+ "description": "Card content; compose with CardHeader, CardTitle, CardContent and CardFooter",
533
+ "text": true
534
+ }
535
+ },
536
+ "events": {},
537
+ "omitted": {}
538
+ },
539
+ "CardContent": {
540
+ "description": "Part of Card.",
541
+ "category": "display",
542
+ "props": {
543
+ "type": "object",
544
+ "properties": {},
545
+ "additionalProperties": false
546
+ },
547
+ "slots": {
548
+ "children": {
549
+ "arity": "many",
550
+ "required": false,
551
+ "text": true
552
+ }
553
+ },
554
+ "events": {},
555
+ "omitted": {},
556
+ "parent": "Card"
557
+ },
558
+ "CardFooter": {
559
+ "description": "Part of Card.",
560
+ "category": "display",
561
+ "props": {
562
+ "type": "object",
563
+ "properties": {},
564
+ "additionalProperties": false
565
+ },
566
+ "slots": {
567
+ "children": {
568
+ "arity": "many",
569
+ "required": false,
570
+ "text": true
571
+ }
572
+ },
573
+ "events": {},
574
+ "omitted": {},
575
+ "parent": "Card"
576
+ },
577
+ "CardHeader": {
578
+ "description": "Part of Card.",
579
+ "category": "display",
580
+ "props": {
581
+ "type": "object",
582
+ "properties": {},
583
+ "additionalProperties": false
584
+ },
585
+ "slots": {
586
+ "children": {
587
+ "arity": "many",
588
+ "required": false,
589
+ "text": true
590
+ }
591
+ },
592
+ "events": {},
593
+ "omitted": {},
594
+ "parent": "Card"
595
+ },
596
+ "CardTitle": {
597
+ "description": "Part of Card.",
598
+ "category": "display",
599
+ "props": {
600
+ "type": "object",
601
+ "properties": {},
602
+ "additionalProperties": false
603
+ },
604
+ "slots": {
605
+ "children": {
606
+ "arity": "many",
607
+ "required": false,
608
+ "text": true
609
+ }
610
+ },
611
+ "events": {},
612
+ "omitted": {},
613
+ "parent": "Card"
614
+ },
615
+ "Center": {
616
+ "description": "Horizontally centered container with a configurable max-width.",
617
+ "category": "layout",
618
+ "intent": {
619
+ "whenToUse": [
620
+ "Horizontally centering content within a configurable max-width",
621
+ "Constraining page or section content to a readable measure"
622
+ ],
623
+ "whenNotToUse": [
624
+ "Stacking children with consistent gaps — use Flex",
625
+ "Multi-column or grid arrangements — use Columns or Grid"
626
+ ]
627
+ },
628
+ "props": {
629
+ "type": "object",
630
+ "properties": {
631
+ "maxWidth": {
632
+ "type": "string",
633
+ "description": "CSS max-width value",
634
+ "default": "48rem"
635
+ }
636
+ },
637
+ "additionalProperties": false
638
+ },
639
+ "slots": {
640
+ "children": {
641
+ "arity": "many",
642
+ "required": false,
643
+ "description": "Content to center",
644
+ "text": true
645
+ }
646
+ },
647
+ "events": {},
648
+ "omitted": {}
649
+ },
650
+ "Checkbox": {
651
+ "description": "Binary toggle for forms, with indeterminate support",
652
+ "category": "inputs",
653
+ "intent": {
654
+ "whenToUse": [
655
+ "Selecting zero or more options from a list where each choice is independent",
656
+ "A single opt-in within a form (accept terms, subscribe) submitted alongside other fields",
657
+ "A \"select all\" control that needs an indeterminate (partial) state"
658
+ ],
659
+ "whenNotToUse": [
660
+ "A binary setting that applies immediately on change — use Toggle",
661
+ "Choosing exactly one option from a mutually exclusive set — use Radio"
662
+ ]
663
+ },
664
+ "props": {
665
+ "type": "object",
666
+ "properties": {
667
+ "ariaLabel": {
668
+ "type": "string",
669
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
670
+ },
671
+ "checked": {
672
+ "type": "boolean",
673
+ "description": "Whether the control is checked (controlled)."
674
+ },
675
+ "disabled": {
676
+ "type": "boolean",
677
+ "description": "When true, disables the control and removes it from the tab order.",
678
+ "default": false
679
+ },
680
+ "indeterminate": {
681
+ "type": "boolean",
682
+ "description": "When true, renders the mixed/indeterminate state.",
683
+ "default": false
684
+ },
685
+ "label": {
686
+ "type": "string",
687
+ "description": "Text label for the control."
688
+ }
689
+ },
690
+ "additionalProperties": false
691
+ },
692
+ "slots": {},
693
+ "events": {
694
+ "onChange": {
695
+ "description": "Called when the value changes."
696
+ }
697
+ },
698
+ "omitted": {}
699
+ },
700
+ "CheckboxCard": {
701
+ "description": "Multi-selectable card backed by a native checkbox. Use multiple independent CheckboxCards for multi-select scenarios.",
702
+ "category": "inputs",
703
+ "intent": {
704
+ "whenToUse": [
705
+ "Multi-select where each option needs a title and supporting description (feature toggles, add-ons)",
706
+ "Presenting selectable options as larger, scannable click targets rather than a dense checkbox list"
707
+ ],
708
+ "whenNotToUse": [
709
+ "A simple labelled boolean in a form — use Checkbox",
710
+ "Choosing exactly one option from a set — use RadioCard or Radio"
711
+ ]
712
+ },
713
+ "props": {
714
+ "type": "object",
715
+ "properties": {
716
+ "checked": {
717
+ "type": "boolean",
718
+ "description": "Controlled checked state"
719
+ },
720
+ "defaultChecked": {
721
+ "type": "boolean",
722
+ "description": "Uncontrolled default"
723
+ },
724
+ "disabled": {
725
+ "type": "boolean",
726
+ "description": "Disables the card"
727
+ }
728
+ },
729
+ "additionalProperties": false
730
+ },
731
+ "slots": {
732
+ "description": {
733
+ "arity": "one",
734
+ "required": false,
735
+ "description": "Optional description"
736
+ },
737
+ "title": {
738
+ "arity": "one",
739
+ "required": true,
740
+ "description": "Card title"
741
+ }
742
+ },
743
+ "events": {
744
+ "onCheckedChange": {
745
+ "description": "Change callback"
746
+ }
747
+ },
748
+ "omitted": {}
749
+ },
750
+ "Code": {
751
+ "description": "Inline code span for identifiers, commands, and short snippets",
752
+ "category": "display",
753
+ "intent": {
754
+ "whenToUse": [
755
+ "Marking up an inline identifier, command, path, or token within prose",
756
+ "Distinguishing literal code from surrounding text with a monospace span"
757
+ ],
758
+ "whenNotToUse": [
759
+ "Multi-line code blocks with syntax highlighting — use a <pre> block",
760
+ "Keyboard shortcuts the user should press — use Kbd"
761
+ ]
762
+ },
763
+ "props": {
764
+ "type": "object",
765
+ "properties": {
766
+ "size": {
767
+ "type": "string",
768
+ "enum": ["sm", "md"],
769
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
770
+ "default": "md"
771
+ }
772
+ },
773
+ "additionalProperties": false
774
+ },
775
+ "slots": {
776
+ "children": {
777
+ "arity": "many",
778
+ "required": false,
779
+ "description": "The code text",
780
+ "text": true
781
+ }
782
+ },
783
+ "events": {},
784
+ "omitted": {}
785
+ },
786
+ "Columns": {
787
+ "description": "Equal-width multi-column layout that collapses to single column on narrow viewports.",
788
+ "category": "layout",
789
+ "intent": {
790
+ "whenToUse": [
791
+ "Equal-width multi-column content that collapses to one column when narrow",
792
+ "Side-by-side text or content blocks at a fixed column count"
793
+ ],
794
+ "whenNotToUse": [
795
+ "Card grids that auto-fit to width — use AutoGrid",
796
+ "Single-direction stacking — use Flex"
797
+ ]
798
+ },
799
+ "props": {
800
+ "type": "object",
801
+ "properties": {
802
+ "count": {
803
+ "type": "number",
804
+ "enum": [2, 3, 4],
805
+ "description": "Number of equal columns",
806
+ "default": 2
807
+ },
808
+ "gap": {
809
+ "type": "number",
810
+ "enum": [1, 2, 3, 4, 5, 6, 8, 10, 12],
811
+ "description": "Spacing token step",
812
+ "default": 4
813
+ }
814
+ },
815
+ "additionalProperties": false
816
+ },
817
+ "slots": {
818
+ "children": {
819
+ "arity": "many",
820
+ "required": false,
821
+ "description": "Column content",
822
+ "text": true
823
+ }
824
+ },
825
+ "events": {},
826
+ "omitted": {}
827
+ },
828
+ "Combobox": {
829
+ "description": "Filterable single-select with an animated custom listbox, built on the dropdown open/close machine",
830
+ "category": "inputs",
831
+ "intent": {
832
+ "whenToUse": [
833
+ "Single-select from a long list where type-to-filter makes finding an option faster",
834
+ "Form fields where the value is one of many known options (country, assignee, repository)"
835
+ ],
836
+ "whenNotToUse": [
837
+ "Short option lists (≈2–7) where filtering adds no value — use Select or SegmentedControl",
838
+ "Selecting multiple values — use MultiSelect",
839
+ "Triggering actions or commands — use Dropdown or CommandMenu"
840
+ ]
841
+ },
842
+ "props": {
843
+ "type": "object",
844
+ "properties": {
845
+ "aria-describedby": {
846
+ "type": "string",
847
+ "description": "Wired automatically by a wrapping `Field` — the ids of its hint/error text, forwarded to the focusable control so the supporting text is announced."
848
+ },
849
+ "aria-invalid": {
850
+ "type": "boolean",
851
+ "description": "Wired automatically by a wrapping `Field` when it is in an error state."
852
+ },
853
+ "aria-labelledby": {
854
+ "type": "string",
855
+ "description": "Wired automatically by a wrapping `Field` — its label id, forwarded to the focusable control so the Field's label names it."
856
+ },
857
+ "ariaLabel": {
858
+ "type": "string",
859
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
860
+ },
861
+ "className": {
862
+ "type": "string",
863
+ "description": "Additional CSS class names merged onto the root element."
864
+ },
865
+ "clearable": {
866
+ "type": "boolean",
867
+ "description": "When true, shows a control to clear the selected value.",
868
+ "default": false
869
+ },
870
+ "creatable": {
871
+ "type": "boolean",
872
+ "description": "When true, offers the current search text as a new option.",
873
+ "default": false
874
+ },
875
+ "defaultOpen": {
876
+ "type": "boolean",
877
+ "description": "The initial open state when uncontrolled.",
878
+ "default": false
879
+ },
880
+ "defaultValue": {
881
+ "type": "string",
882
+ "description": "The initial value when uncontrolled."
883
+ },
884
+ "disabled": {
885
+ "type": "boolean",
886
+ "description": "When true, disables the control and removes it from the tab order.",
887
+ "default": false
888
+ },
889
+ "error": {
890
+ "type": "string",
891
+ "description": "Error message shown when the value is invalid."
892
+ },
893
+ "hint": {
894
+ "type": "string",
895
+ "description": "Supplementary hint text shown with the control."
896
+ },
897
+ "id": {
898
+ "type": "string",
899
+ "description": "Base id for the input and its listbox/aria wiring; auto-generated when omitted."
900
+ },
901
+ "label": {
902
+ "type": "string",
903
+ "description": "Text label for the control."
904
+ },
905
+ "loading": {
906
+ "type": "boolean",
907
+ "description": "When true, the list reports itself as busy and shows a loading row instead of the empty message.",
908
+ "default": false
909
+ },
910
+ "name": {
911
+ "type": "string",
912
+ "description": "Submitted with a surrounding form — a hidden input carrying the selected value."
913
+ },
914
+ "open": {
915
+ "type": "boolean",
916
+ "description": "Controlled open state of the listbox."
917
+ },
918
+ "required": {
919
+ "type": "boolean",
920
+ "description": "Marks the control as required for assistive technology."
921
+ },
922
+ "searchable": {
923
+ "type": "boolean",
924
+ "description": "When true the field is a text input that filters the list as the user types (the APG editable combobox). When false it is a button that opens the list, and type-to-select jumps to a matching option (the APG select-only combobox).",
925
+ "default": true
926
+ },
927
+ "size": {
928
+ "type": "string",
929
+ "enum": ["sm", "md", "lg"],
930
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
931
+ "default": "md"
932
+ },
933
+ "value": {
934
+ "type": "string",
935
+ "description": "The controlled value."
936
+ }
937
+ },
938
+ "additionalProperties": false
939
+ },
940
+ "slots": {},
941
+ "events": {
942
+ "onCreate": {
943
+ "description": "Called with the typed label when the user picks the \"create\" row."
944
+ },
945
+ "onOpenChange": {
946
+ "description": "Called when the listbox opens or closes."
947
+ },
948
+ "onSearchChange": {
949
+ "description": "Called with the search text on every keystroke. Pair it with filter={() => true} for a server-driven list."
950
+ },
951
+ "onValueChange": {
952
+ "description": "Called with the selected option value (or undefined when cleared)."
953
+ }
954
+ },
955
+ "omitted": {
956
+ "filter": {
957
+ "type": "(option: ComboboxOption, query: string) => boolean",
958
+ "reason": "function"
959
+ },
960
+ "labels": {
961
+ "type": "ComboboxLabels",
962
+ "reason": "unresolved-type"
963
+ },
964
+ "options": {
965
+ "type": "ComboboxOption[]",
966
+ "reason": "unresolved-type"
967
+ }
968
+ }
969
+ },
970
+ "CommandMenu": {
971
+ "description": "Cmd+K command palette with fuzzy search over grouped commands",
972
+ "category": "overlay",
973
+ "intent": {
974
+ "whenToUse": [
975
+ "Giving power users a global Cmd/Ctrl+K palette to search and run actions or navigate",
976
+ "Exposing many commands across grouped categories that benefit from fuzzy search",
977
+ "Multi-step flows where selecting an item drills into a nested page of further commands"
978
+ ],
979
+ "whenNotToUse": [
980
+ "Picking a form value from a list — use Combobox",
981
+ "A small set of actions tied to a specific trigger button — use Dropdown"
982
+ ]
983
+ },
984
+ "props": {
985
+ "type": "object",
986
+ "properties": {
987
+ "ariaLabel": {
988
+ "type": "string",
989
+ "description": "Alias of `label` — the same invisible accessible name under the catalog spelling. Neither is deprecated."
990
+ },
991
+ "className": {
992
+ "type": "string",
993
+ "description": "Additional CSS class names merged onto the root element."
994
+ },
995
+ "emptyLabel": {
996
+ "type": "string",
997
+ "description": "Text shown when no commands match the query.",
998
+ "default": "No results found"
999
+ },
1000
+ "hotkey": {
1001
+ "type": "boolean",
1002
+ "description": "Global Cmd/Ctrl+K toggles the menu via onOpenChange",
1003
+ "default": true
1004
+ },
1005
+ "label": {
1006
+ "type": "string",
1007
+ "description": "Accessible name for the command dialog. Not rendered — screen readers only.",
1008
+ "default": "Command menu"
1009
+ },
1010
+ "loading": {
1011
+ "type": "boolean",
1012
+ "description": "Shows a loading spinner in place of the empty state (for async items)",
1013
+ "default": false
1014
+ },
1015
+ "open": {
1016
+ "type": "boolean",
1017
+ "description": "Whether the component is open (controlled)."
1018
+ },
1019
+ "placeholder": {
1020
+ "type": "string",
1021
+ "description": "Placeholder text shown when the field is empty.",
1022
+ "default": "Type a command or search…"
1023
+ }
1024
+ },
1025
+ "required": ["open"],
1026
+ "additionalProperties": false
1027
+ },
1028
+ "slots": {},
1029
+ "events": {
1030
+ "onOpenChange": {
1031
+ "description": "Called with the next open state when it changes."
1032
+ },
1033
+ "onQueryChange": {
1034
+ "description": "Fires on every query keystroke — use to fetch async items"
1035
+ }
1036
+ },
1037
+ "omitted": {
1038
+ "groups": {
1039
+ "type": "CommandGroup[]",
1040
+ "reason": "unresolved-type"
1041
+ },
1042
+ "scopes": {
1043
+ "type": "CommandScope[]",
1044
+ "reason": "unresolved-type"
1045
+ }
1046
+ }
1047
+ },
1048
+ "DataTable": {
1049
+ "description": "Signal-driven data table with client/server sort, filter, pagination, multi-selection, expandable rows, and CSS content-visibility row containment for large datasets",
1050
+ "category": "display",
1051
+ "intent": {
1052
+ "whenToUse": [
1053
+ "Displaying tabular data with columns the user sorts, filters, or pages through",
1054
+ "Selecting rows for batch actions across a dataset",
1055
+ "Rendering large datasets that benefit from row containment and server-side sort/paging"
1056
+ ],
1057
+ "whenNotToUse": [
1058
+ "A simple static list of items — use List",
1059
+ "Layout grids of cards or media — use a Card grid, not a data table"
1060
+ ]
1061
+ },
1062
+ "props": {
1063
+ "type": "object",
1064
+ "properties": {
1065
+ "ariaLabel": {
1066
+ "type": "string",
1067
+ "description": "Invisible accessible name for the table, used when there is no visible `title`. A table with neither is an unnamed landmark; dev-warns."
1068
+ },
1069
+ "className": {
1070
+ "type": "string",
1071
+ "description": "Additional CSS class names merged onto the root element."
1072
+ },
1073
+ "columnGroups": {
1074
+ "type": "array",
1075
+ "items": {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "header": {
1079
+ "type": "string",
1080
+ "description": "The band label."
1081
+ },
1082
+ "columns": {
1083
+ "type": "array",
1084
+ "items": {
1085
+ "type": "string"
1086
+ },
1087
+ "description": "Column keys in the band. Non-adjacent keys render as separate spans."
1088
+ }
1089
+ },
1090
+ "required": ["header", "columns"],
1091
+ "additionalProperties": false,
1092
+ "description": "A band of columns under one shared header (`columnGroups`)."
1093
+ },
1094
+ "description": "Bands of columns under a shared header, rendered as a row above the column headers. Keep a band's columns adjacent; reordering them apart splits the band."
1095
+ },
1096
+ "columnSettings": {
1097
+ "type": "object",
1098
+ "properties": {
1099
+ "visibility": {
1100
+ "type": "boolean",
1101
+ "description": "A \"Columns\" menu in the toolbar that shows and hides columns."
1102
+ },
1103
+ "resizable": {
1104
+ "type": "boolean",
1105
+ "description": "A drag handle on each header; arrow keys nudge by 16px (Shift: 64px), Home returns to auto, double-click too."
1106
+ },
1107
+ "reorderable": {
1108
+ "type": "boolean",
1109
+ "description": "\"Move left\" / \"Move right\" in each column's header menu (within its pin group)."
1110
+ },
1111
+ "pinnable": {
1112
+ "type": "boolean",
1113
+ "description": "\"Pin to start\" / \"Pin to end\" / \"Unpin\" in each column's header menu."
1114
+ }
1115
+ },
1116
+ "additionalProperties": false,
1117
+ "description": "Which column-layout controls to offer: `visibility` (a \"Columns\" menu in the toolbar), `resizable` (a drag handle per header; arrows nudge, Home resets), `reorderable` (Move left/right in the header menu), `pinnable` (Pin to start/end in the header menu). All off by default."
1118
+ },
1119
+ "columnState": {
1120
+ "type": "object",
1121
+ "properties": {
1122
+ "hidden": {
1123
+ "type": "array",
1124
+ "items": {
1125
+ "type": "string"
1126
+ },
1127
+ "description": "Keys of hidden columns. At least one column always stays visible."
1128
+ },
1129
+ "order": {
1130
+ "type": "array",
1131
+ "items": {
1132
+ "type": "string"
1133
+ },
1134
+ "description": "Display order of column keys; keys not listed follow in definition order."
1135
+ }
1136
+ },
1137
+ "description": "User-adjustable column layout (controlled): `hidden` keys, display `order`, explicit `widths` in px, and `pinned` sides. One object, so it round-trips through storage or a URL as a unit."
1138
+ },
1139
+ "columns": {
1140
+ "type": "array",
1141
+ "items": {
1142
+ "type": "object",
1143
+ "properties": {
1144
+ "key": {
1145
+ "type": "string",
1146
+ "description": "Row property this column reads, and the sort key."
1147
+ },
1148
+ "header": {
1149
+ "type": "string",
1150
+ "description": "Column header label."
1151
+ },
1152
+ "sortable": {
1153
+ "type": "boolean",
1154
+ "description": "When true, the header toggles sort on this column."
1155
+ },
1156
+ "align": {
1157
+ "type": "string",
1158
+ "enum": ["start", "end"],
1159
+ "description": "Cell/text alignment. Use 'end' for numbers and timestamps."
1160
+ },
1161
+ "filter": {
1162
+ "type": "string",
1163
+ "enum": ["text", "select", "range"],
1164
+ "description": "Offer a per-column filter under the header: a substring input, a faceted checklist of distinct values with counts, or a numeric min/max pair. Values surface through the `filters` props."
1165
+ },
1166
+ "editable": {
1167
+ "type": "boolean",
1168
+ "description": "Edit cells in place: each renders an Editable (click, Enter or F2 to start; Enter commits, Escape cancels) that commits through `onCellEdit`. Ignored with a custom `render` or without `onCellEdit`."
1169
+ },
1170
+ "minWidth": {
1171
+ "type": "string",
1172
+ "description": "Floor for the column width, any CSS length."
1173
+ },
1174
+ "width": {
1175
+ "type": "string",
1176
+ "description": "Preferred column width (any CSS length, e.g. `120px`), with an automatic content floor. ⚠ Sizing EVERY column switches the table to `table-layout: fixed`. ⚠ \"Leave one unsized\" is necessary but NOT sufficient: the leftover width is split by content weight, so if the sized columns nearly fill the table the remainder can be narrower than the content needs and long tokens wrap mid-word. Leave the widest free-form column unsized, keep sized columns to ~2/3 of the table, and give the free-form one a `minWidth` when the data has long unbreakable tokens."
1177
+ }
1178
+ },
1179
+ "required": ["key", "header"],
1180
+ "description": "A single column definition. `render` is the escape hatch for custom cell content — return any ReactNode (a Badge, an icon + link, a formatted value); when omitted the cell shows `String(row[key])`."
1181
+ },
1182
+ "description": "The column definitions describing each table column."
1183
+ },
1184
+ "defaultColumnState": {
1185
+ "type": "object",
1186
+ "properties": {
1187
+ "hidden": {
1188
+ "type": "array",
1189
+ "items": {
1190
+ "type": "string"
1191
+ },
1192
+ "description": "Keys of hidden columns. At least one column always stays visible."
1193
+ },
1194
+ "order": {
1195
+ "type": "array",
1196
+ "items": {
1197
+ "type": "string"
1198
+ },
1199
+ "description": "Display order of column keys; keys not listed follow in definition order."
1200
+ }
1201
+ },
1202
+ "description": "Initial column layout (uncontrolled)."
1203
+ },
1204
+ "defaultSort": {
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "key": {
1208
+ "type": "string",
1209
+ "description": "The sorted column key."
1210
+ },
1211
+ "direction": {
1212
+ "type": "string",
1213
+ "enum": ["asc", "desc"],
1214
+ "description": "Sort direction."
1215
+ },
1216
+ "thenBy": {
1217
+ "type": "array",
1218
+ "items": {
1219
+ "type": "object",
1220
+ "properties": {
1221
+ "key": {
1222
+ "type": "string"
1223
+ },
1224
+ "direction": {
1225
+ "type": "string",
1226
+ "enum": ["asc", "desc"]
1227
+ }
1228
+ },
1229
+ "required": ["key", "direction"],
1230
+ "additionalProperties": false
1231
+ },
1232
+ "description": "Secondary columns that break ties, in order (multi-sort)."
1233
+ }
1234
+ },
1235
+ "required": ["key", "direction"],
1236
+ "additionalProperties": false,
1237
+ "description": "The initial sort state when uncontrolled."
1238
+ },
1239
+ "density": {
1240
+ "type": "string",
1241
+ "enum": ["compact", "normal", "relaxed"],
1242
+ "description": "Row density — 'compact', 'normal', or 'relaxed'. ⚠ It sets a row **height floor**, so it is invisible whenever the cell content is already taller: a two-line cell or a Badge stack looks identical at every density. Reported as \"barely distinguishable\" — the prop works, the content is winning. Shrink the cell content, or set `--cascivo-data-table-cell-gap` to tighten the horizontal rhythm too.",
1243
+ "default": "normal"
1244
+ },
1245
+ "description": {
1246
+ "type": "string",
1247
+ "description": "Supporting description text."
1248
+ },
1249
+ "exportable": {
1250
+ "anyOf": [
1251
+ {
1252
+ "type": "boolean"
1253
+ },
1254
+ {
1255
+ "type": "object",
1256
+ "properties": {
1257
+ "filename": {
1258
+ "type": "string"
1259
+ }
1260
+ },
1261
+ "additionalProperties": false
1262
+ }
1263
+ ],
1264
+ "description": "An \"Export CSV\" button in the toolbar: every row passing the search and filters (all pages; with `server`, the rows given), in the current sort, visible columns as headers, raw cell values as fields (RFC 4180, UTF-8 with BOM). Pass `{ filename }` to name the file; it defaults to the `title`.",
1265
+ "default": false
1266
+ },
1267
+ "groupBy": {
1268
+ "anyOf": [
1269
+ {
1270
+ "type": "string"
1271
+ },
1272
+ {
1273
+ "type": "array",
1274
+ "items": {
1275
+ "type": "string"
1276
+ }
1277
+ }
1278
+ ],
1279
+ "description": "Group the rows by one or more columns, in order. Each group is a collapsible row showing its value, its row count and every `aggregate` column's reduction; leaves keep the current sort inside their group. Groups appear in order of first occurrence — sort by the grouped column to order them."
1280
+ },
1281
+ "keyboardNavigation": {
1282
+ "type": "string",
1283
+ "enum": ["row", "grid"],
1284
+ "description": "How the keyboard moves through the table. 'row' keeps every control in the Tab order with the arrows stepping between them. 'grid' is the APG data-grid pattern: one Tab stop, arrows move a focused cell, Home/End within the row, Ctrl+Home/End to the corners, PageUp/PageDown by a screenful, Enter/F2 enters the cell's control, Escape returns to the cell; rows outside the virtualized window are scrolled to.",
1285
+ "default": "row"
1286
+ },
1287
+ "loading": {
1288
+ "type": "boolean",
1289
+ "description": "When true, shows a loading state.",
1290
+ "default": false
1291
+ },
1292
+ "multiSort": {
1293
+ "type": "boolean",
1294
+ "description": "Allow sorting by more than one column: Shift-click a header adds it as a tie-breaker (`SortState.thenBy`); a plain click replaces the whole sort. Sorted headers show their level.",
1295
+ "default": false
1296
+ },
1297
+ "overscan": {
1298
+ "type": "number",
1299
+ "description": "Extra rows rendered above/below the window to smooth scrolling.",
1300
+ "default": 3
1301
+ },
1302
+ "pagination": {
1303
+ "type": "object",
1304
+ "properties": {
1305
+ "pageSize": {
1306
+ "type": "number"
1307
+ },
1308
+ "pageSizeOptions": {
1309
+ "type": "array",
1310
+ "items": {
1311
+ "type": "number"
1312
+ }
1313
+ },
1314
+ "page": {
1315
+ "type": "number"
1316
+ }
1317
+ },
1318
+ "required": ["pageSize"],
1319
+ "description": "Paging config: pageSize, optional pageSizeOptions, and page/onPageChange to control the current page. With `server`, it is the pager for server-side paging."
1320
+ },
1321
+ "pinnedRows": {
1322
+ "type": "object",
1323
+ "properties": {
1324
+ "top": {
1325
+ "type": "array",
1326
+ "items": {
1327
+ "type": "object"
1328
+ }
1329
+ },
1330
+ "bottom": {
1331
+ "type": "array",
1332
+ "items": {
1333
+ "type": "object"
1334
+ }
1335
+ }
1336
+ },
1337
+ "additionalProperties": false,
1338
+ "description": "Rows kept in view outside sort, search, filters, paging and the virtual window: `top` rows sit under the header (stuck there with `stickyHeader`), `bottom` rows above the totals."
1339
+ },
1340
+ "rowHeight": {
1341
+ "type": "number",
1342
+ "description": "Row height in px for the virtualized window. Measured from the first rendered row when omitted, so the density presets stay correct; set it only for custom-sized rows."
1343
+ },
1344
+ "rows": {
1345
+ "type": "array",
1346
+ "items": {
1347
+ "type": "object"
1348
+ },
1349
+ "description": "The row objects to render — one table row per array element."
1350
+ },
1351
+ "searchable": {
1352
+ "type": "boolean",
1353
+ "description": "When true, shows a search/filter input.",
1354
+ "default": false
1355
+ },
1356
+ "selection": {
1357
+ "type": "object",
1358
+ "properties": {
1359
+ "mode": {
1360
+ "type": "string",
1361
+ "enum": ["single", "multi"]
1362
+ },
1363
+ "selected": {
1364
+ "type": "array",
1365
+ "items": {
1366
+ "type": "string"
1367
+ }
1368
+ }
1369
+ },
1370
+ "required": ["mode"],
1371
+ "description": "Row-selection configuration (mode and selected ids)."
1372
+ },
1373
+ "sort": {
1374
+ "type": "object",
1375
+ "properties": {
1376
+ "key": {
1377
+ "type": "string",
1378
+ "description": "The sorted column key."
1379
+ },
1380
+ "direction": {
1381
+ "type": "string",
1382
+ "enum": ["asc", "desc"],
1383
+ "description": "Sort direction."
1384
+ },
1385
+ "thenBy": {
1386
+ "type": "array",
1387
+ "items": {
1388
+ "type": "object",
1389
+ "properties": {
1390
+ "key": {
1391
+ "type": "string"
1392
+ },
1393
+ "direction": {
1394
+ "type": "string",
1395
+ "enum": ["asc", "desc"]
1396
+ }
1397
+ },
1398
+ "required": ["key", "direction"],
1399
+ "additionalProperties": false
1400
+ },
1401
+ "description": "Secondary columns that break ties, in order (multi-sort)."
1402
+ }
1403
+ },
1404
+ "required": ["key", "direction"],
1405
+ "additionalProperties": false,
1406
+ "description": "The controlled sort state."
1407
+ },
1408
+ "sortMode": {
1409
+ "type": "string",
1410
+ "enum": ["client", "server"],
1411
+ "description": "Whether sorting is handled client-side or by the server ('client' | 'server').",
1412
+ "default": "client"
1413
+ },
1414
+ "stateKey": {
1415
+ "type": "string",
1416
+ "description": "Remember the user's column layout and sort across reloads, in local storage under this key. Applies to uncontrolled `columnState`/`sort`; controlled props still win. Tables sharing a key share the preference."
1417
+ },
1418
+ "stickyHeader": {
1419
+ "type": "boolean",
1420
+ "description": "When true, the header stays fixed while the body scrolls.",
1421
+ "default": false
1422
+ },
1423
+ "title": {
1424
+ "type": "string",
1425
+ "description": "Visible caption above the table; it also becomes the table's accessible name."
1426
+ },
1427
+ "totals": {
1428
+ "type": "boolean",
1429
+ "description": "Show a totals row under the body with each `aggregate` column's reduction over every row passing the search and filters (not just the page). Sticks to the bottom of the scroller.",
1430
+ "default": false
1431
+ },
1432
+ "virtualized": {
1433
+ "type": "boolean",
1434
+ "description": "Render only the visible row window for large datasets.",
1435
+ "default": false
1436
+ },
1437
+ "windowSize": {
1438
+ "type": "number",
1439
+ "description": "Rows rendered per window. Derived from the scroller height when omitted; set it only to render a fixed count regardless of height."
1440
+ },
1441
+ "zebra": {
1442
+ "type": "boolean",
1443
+ "description": "When true, applies alternating row striping.",
1444
+ "default": false
1445
+ }
1446
+ },
1447
+ "required": ["columns", "rows"],
1448
+ "additionalProperties": false
1449
+ },
1450
+ "slots": {
1451
+ "emptyState": {
1452
+ "arity": "one",
1453
+ "required": false,
1454
+ "description": "Content shown when there are no rows."
1455
+ },
1456
+ "noResultsState": {
1457
+ "arity": "one",
1458
+ "required": false,
1459
+ "description": "Shown instead of emptyState when there are rows but the search or filters match none of them."
1460
+ },
1461
+ "toolbar": {
1462
+ "arity": "one",
1463
+ "required": false,
1464
+ "description": "Extra controls rendered in the toolbar next to the search box — exports, primary actions."
1465
+ }
1466
+ },
1467
+ "events": {
1468
+ "onCellEdit": {
1469
+ "description": "Commits an inline edit with the row, the column key and the new text. Enables editing for every column marked `editable`; the table does not mutate `rows` itself."
1470
+ },
1471
+ "onColumnStateChange": {
1472
+ "description": "Called with the full column layout whenever the user changes it."
1473
+ },
1474
+ "onFiltersChange": {
1475
+ "description": "Called with the full filter map whenever any column filter changes."
1476
+ },
1477
+ "onSortChange": {
1478
+ "description": "Called with the new sort state when it changes."
1479
+ }
1480
+ },
1481
+ "omitted": {
1482
+ "batchActions": {
1483
+ "type": "{ label: string; onClick: (selectedIds: string[]) => void }[]",
1484
+ "reason": "unresolved-type"
1485
+ },
1486
+ "defaultFilters": {
1487
+ "type": "ColumnFilters",
1488
+ "reason": "unresolved-type"
1489
+ },
1490
+ "filters": {
1491
+ "type": "ColumnFilters",
1492
+ "reason": "unresolved-type"
1493
+ },
1494
+ "getRowId": {
1495
+ "type": "(row: Row) => string",
1496
+ "reason": "function"
1497
+ },
1498
+ "labels": {
1499
+ "type": "DataTableLabels",
1500
+ "reason": "unresolved-type"
1501
+ },
1502
+ "renderExpandedRow": {
1503
+ "type": "(row: Row) => ReactNode",
1504
+ "reason": "function"
1505
+ },
1506
+ "rowActions": {
1507
+ "type": "(row: Row) => RowAction<Row>[]",
1508
+ "reason": "function"
1509
+ },
1510
+ "server": {
1511
+ "type": "DataTableServer",
1512
+ "reason": "unresolved-type"
1513
+ }
1514
+ }
1515
+ },
1516
+ "DatePicker": {
1517
+ "description": "An accessible date-picker with a calendar popover.",
1518
+ "category": "inputs",
1519
+ "intent": {
1520
+ "whenToUse": [
1521
+ "Picking a single calendar date in a form where a visual month grid helps (due dates, bookings)",
1522
+ "Date entry that benefits from min/max constraints and locale-aware formatting and week start"
1523
+ ],
1524
+ "whenNotToUse": [
1525
+ "Selecting a time of day — use TimePicker",
1526
+ "Free-form or approximate dates where a plain Input is faster, or a date already known by typing"
1527
+ ]
1528
+ },
1529
+ "props": {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "aria-describedby": {
1533
+ "type": "string",
1534
+ "description": "Wired automatically by a wrapping `Field` — the ids of its hint/error text, forwarded to the focusable control so the supporting text is announced."
1535
+ },
1536
+ "aria-invalid": {
1537
+ "type": "boolean",
1538
+ "description": "Wired automatically by a wrapping `Field` when it is in an error state."
1539
+ },
1540
+ "aria-labelledby": {
1541
+ "type": "string",
1542
+ "description": "Wired automatically by a wrapping `Field` — its label id, forwarded to the focusable control so the Field's label names it."
1543
+ },
1544
+ "ariaLabel": {
1545
+ "type": "string",
1546
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
1547
+ },
1548
+ "clearable": {
1549
+ "type": "boolean",
1550
+ "description": "Shows a clear button",
1551
+ "default": false
1552
+ },
1553
+ "defaultValue": {
1554
+ "type": "string",
1555
+ "description": "Uncontrolled default value"
1556
+ },
1557
+ "disabled": {
1558
+ "type": "boolean",
1559
+ "description": "Disables the picker",
1560
+ "default": false
1561
+ },
1562
+ "error": {
1563
+ "type": "string",
1564
+ "description": "Error message"
1565
+ },
1566
+ "hint": {
1567
+ "type": "string",
1568
+ "description": "Hint text"
1569
+ },
1570
+ "id": {
1571
+ "type": "string",
1572
+ "description": "Base id for the input and its popover/aria wiring; auto-generated when omitted."
1573
+ },
1574
+ "label": {
1575
+ "type": "string",
1576
+ "description": "Visible field label rendered above the input; it also names the control."
1577
+ },
1578
+ "max": {
1579
+ "type": "string",
1580
+ "description": "Maximum ISO date"
1581
+ },
1582
+ "min": {
1583
+ "type": "string",
1584
+ "description": "Minimum ISO date"
1585
+ },
1586
+ "name": {
1587
+ "type": "string",
1588
+ "description": "Submitted with a surrounding form — a hidden input carrying the ISO value."
1589
+ },
1590
+ "open": {
1591
+ "type": "boolean",
1592
+ "description": "Controlled open state of the calendar popup."
1593
+ },
1594
+ "required": {
1595
+ "type": "boolean",
1596
+ "description": "Marks the control as required for assistive technology."
1597
+ },
1598
+ "showToday": {
1599
+ "type": "boolean",
1600
+ "description": "When true, the calendar offers a button that jumps to the current month.",
1601
+ "default": false
1602
+ },
1603
+ "size": {
1604
+ "type": "string",
1605
+ "enum": ["sm", "md", "lg"],
1606
+ "description": "Field size",
1607
+ "default": "md"
1608
+ },
1609
+ "typeable": {
1610
+ "type": "boolean",
1611
+ "description": "When true, the field accepts a typed date as well as one picked from the calendar.",
1612
+ "default": true
1613
+ },
1614
+ "value": {
1615
+ "type": "string",
1616
+ "description": "Controlled ISO date value (YYYY-MM-DD)"
1617
+ }
1618
+ },
1619
+ "additionalProperties": false
1620
+ },
1621
+ "slots": {},
1622
+ "events": {
1623
+ "onOpenChange": {
1624
+ "description": "Called when the popup opens or closes."
1625
+ },
1626
+ "onValueChange": {
1627
+ "description": "Called with the selected ISO date string (or undefined when cleared)"
1628
+ }
1629
+ },
1630
+ "omitted": {
1631
+ "disabledDate": {
1632
+ "type": "(date: Date) => boolean",
1633
+ "reason": "function"
1634
+ },
1635
+ "format": {
1636
+ "type": "Intl.DateTimeFormatOptions",
1637
+ "reason": "unresolved-type"
1638
+ },
1639
+ "labels": {
1640
+ "type": "DatePickerLabels",
1641
+ "reason": "unresolved-type"
1642
+ }
1643
+ }
1644
+ },
1645
+ "Dropdown": {
1646
+ "description": "Menu of actions revealed from a trigger",
1647
+ "category": "overlay",
1648
+ "intent": {
1649
+ "whenToUse": [
1650
+ "Revealing a short menu of actions from a trigger button (row actions, \"More\" overflow, account menu)",
1651
+ "Grouping related commands behind one affordance with optional icons and separators"
1652
+ ],
1653
+ "whenNotToUse": [
1654
+ "Selecting a persistent value for a form — use Select or Combobox",
1655
+ "A global searchable command palette — use CommandMenu; right-click context actions — use ContextMenu"
1656
+ ]
1657
+ },
1658
+ "props": {
1659
+ "type": "object",
1660
+ "properties": {
1661
+ "items": {
1662
+ "type": "array",
1663
+ "items": {
1664
+ "anyOf": [
1665
+ {
1666
+ "type": "object",
1667
+ "properties": {
1668
+ "label": {
1669
+ "type": "string"
1670
+ },
1671
+ "value": {
1672
+ "type": "string"
1673
+ },
1674
+ "icon": {
1675
+ "type": "string"
1676
+ },
1677
+ "disabled": {
1678
+ "type": "boolean"
1679
+ }
1680
+ },
1681
+ "required": ["label", "value"],
1682
+ "additionalProperties": false
1683
+ },
1684
+ {
1685
+ "type": "object",
1686
+ "properties": {
1687
+ "kind": {
1688
+ "type": "string",
1689
+ "enum": ["separator"]
1690
+ }
1691
+ },
1692
+ "required": ["kind"],
1693
+ "additionalProperties": false
1694
+ }
1695
+ ]
1696
+ },
1697
+ "description": "Menu entries. A selectable row is `{ label, value, icon?, disabled? }`; a rule between groups is `{ kind: 'separator' }`, which takes no label or value. The union is tagged on `kind`, so a separator cannot carry data that would be silently discarded."
1698
+ },
1699
+ "open": {
1700
+ "type": "boolean",
1701
+ "description": "Whether the component is open (controlled)."
1702
+ },
1703
+ "placement": {
1704
+ "type": "string",
1705
+ "enum": ["bottom-start", "bottom-end"],
1706
+ "description": "Which trigger edge the menu aligns to. `bottom-start` hangs it from the trigger's start edge, `bottom-end` from its end edge — use `bottom-end` for a trigger near the end of the viewport.",
1707
+ "default": "bottom-start"
1708
+ }
1709
+ },
1710
+ "required": ["items"],
1711
+ "additionalProperties": false
1712
+ },
1713
+ "slots": {
1714
+ "trigger": {
1715
+ "arity": "one",
1716
+ "required": true,
1717
+ "description": "The element that opens the dropdown when activated."
1718
+ }
1719
+ },
1720
+ "events": {
1721
+ "onOpenChange": {
1722
+ "description": "Called with the next open state when it changes."
1723
+ },
1724
+ "onSelect": {
1725
+ "description": "Called with the selected value."
1726
+ }
1727
+ },
1728
+ "omitted": {}
1729
+ },
1730
+ "EmptyState": {
1731
+ "description": "Placeholder for views that have no data to display",
1732
+ "category": "display",
1733
+ "intent": {
1734
+ "whenToUse": [
1735
+ "Filling a view that has no data with guidance and a primary next step",
1736
+ "Explaining why a list/table is empty (no results, nothing created yet)",
1737
+ "Offering an action that resolves the empty condition (action prop)"
1738
+ ],
1739
+ "whenNotToUse": [
1740
+ "Content is still loading — use Skeleton or Spinner",
1741
+ "An error occurred — use Alert to explain the failure"
1742
+ ]
1743
+ },
1744
+ "props": {
1745
+ "type": "object",
1746
+ "properties": {
1747
+ "description": {
1748
+ "type": "string",
1749
+ "description": "Supporting description text."
1750
+ },
1751
+ "size": {
1752
+ "type": "string",
1753
+ "enum": ["md", "lg"],
1754
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
1755
+ "default": "md"
1756
+ },
1757
+ "title": {
1758
+ "type": "string",
1759
+ "description": "Title text for the component."
1760
+ }
1761
+ },
1762
+ "required": ["title"],
1763
+ "additionalProperties": false
1764
+ },
1765
+ "slots": {
1766
+ "action": {
1767
+ "arity": "one",
1768
+ "required": false,
1769
+ "description": "Primary action shown in the component."
1770
+ },
1771
+ "icon": {
1772
+ "arity": "one",
1773
+ "required": false,
1774
+ "description": "Icon element rendered in the component."
1775
+ }
1776
+ },
1777
+ "events": {},
1778
+ "omitted": {}
1779
+ },
1780
+ "FileUploader": {
1781
+ "description": "Drag-and-drop file upload zone with file list and status indicators.",
1782
+ "category": "inputs",
1783
+ "intent": {
1784
+ "whenToUse": [
1785
+ "Letting users attach one or more files via click-to-browse or drag-and-drop",
1786
+ "Showing per-file upload progress and status (uploading, complete, error) in a list",
1787
+ "Enforcing client-side accept/maxSize constraints with a callback for rejected files"
1788
+ ],
1789
+ "whenNotToUse": [
1790
+ "A single short text value — use Input",
1791
+ "Choosing from a fixed set of options rather than supplying a file — use Select or MultiSelect"
1792
+ ]
1793
+ },
1794
+ "props": {
1795
+ "type": "object",
1796
+ "properties": {
1797
+ "accept": {
1798
+ "type": "string",
1799
+ "description": "Accepted file types (MIME or extension)"
1800
+ },
1801
+ "ariaLabel": {
1802
+ "type": "string",
1803
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
1804
+ },
1805
+ "disabled": {
1806
+ "type": "boolean",
1807
+ "description": "Disables the upload zone",
1808
+ "default": false
1809
+ },
1810
+ "hint": {
1811
+ "type": "string",
1812
+ "description": "Hint text below the drop zone"
1813
+ },
1814
+ "label": {
1815
+ "type": "string",
1816
+ "description": "Visible field label rendered above the drop zone; it also names the control."
1817
+ },
1818
+ "maxSize": {
1819
+ "type": "number",
1820
+ "description": "Maximum file size in bytes"
1821
+ },
1822
+ "multiple": {
1823
+ "type": "boolean",
1824
+ "description": "Allow multiple files",
1825
+ "default": false
1826
+ }
1827
+ },
1828
+ "additionalProperties": false
1829
+ },
1830
+ "slots": {},
1831
+ "events": {
1832
+ "onFilesAdded": {
1833
+ "description": "Called with accepted files"
1834
+ },
1835
+ "onRejected": {
1836
+ "description": "Called with rejected files"
1837
+ },
1838
+ "onRemove": {
1839
+ "description": "Called when a file is removed"
1840
+ }
1841
+ },
1842
+ "omitted": {
1843
+ "files": {
1844
+ "type": "UploaderFile[]",
1845
+ "reason": "unresolved-type"
1846
+ },
1847
+ "labels": {
1848
+ "type": "FileUploaderLabels",
1849
+ "reason": "unresolved-type"
1850
+ }
1851
+ }
1852
+ },
1853
+ "Flex": {
1854
+ "description": "Flex layout primitive for vertical or horizontal stacking with gap control. ⚠ Unlike CSS `flex-direction`, `direction` defaults to `vertical` — pass `direction=\"horizontal\"` for a row.",
1855
+ "category": "layout",
1856
+ "intent": {
1857
+ "whenToUse": [
1858
+ "Arranging children vertically or horizontally with a consistent gap",
1859
+ "The default primitive for spacing a small set of elements in one direction"
1860
+ ],
1861
+ "whenNotToUse": [
1862
+ "Two-dimensional layouts — use Grid",
1863
+ "Responsive auto-wrapping card collections — use AutoGrid",
1864
+ "A visual card-pile / overlapping avatars — that is `Stack` in @cascivo/react (an `offset` prop), a different component."
1865
+ ]
1866
+ },
1867
+ "props": {
1868
+ "type": "object",
1869
+ "properties": {
1870
+ "align": {
1871
+ "type": "string",
1872
+ "enum": ["start", "center", "end", "stretch"],
1873
+ "description": "align-items"
1874
+ },
1875
+ "basis": {
1876
+ "type": "string",
1877
+ "description": "FlexItem: flex-basis — the child's size before free space is distributed. Any CSS length."
1878
+ },
1879
+ "direction": {
1880
+ "type": "string",
1881
+ "enum": ["vertical", "horizontal"],
1882
+ "description": "Flex direction. ⚠ Defaults to `vertical`, unlike CSS `flex-direction` (and unlike Chakra/MUI/Radix `Flex`, which default to a row) — `<Flex justify=\"between\">` alone produces a centered vertical stack.",
1883
+ "default": "vertical"
1884
+ },
1885
+ "gap": {
1886
+ "type": "number",
1887
+ "enum": [1, 2, 3, 4, 5, 6, 8, 10, 12],
1888
+ "description": "Spacing token step",
1889
+ "default": 4
1890
+ },
1891
+ "justify": {
1892
+ "type": "string",
1893
+ "enum": ["start", "center", "end", "between"],
1894
+ "description": "justify-content"
1895
+ },
1896
+ "size": {
1897
+ "type": "string",
1898
+ "enum": ["auto", "fixed", "grow", "shrink"],
1899
+ "description": "FlexItem: main-axis sizing. 'fixed' (flex: 0 0 auto) is what a fixed-width child like Sparkline needs; 'grow' takes the leftover width without shrinking; 'shrink' gives way but never grows.",
1900
+ "default": "auto"
1901
+ },
1902
+ "truncate": {
1903
+ "type": "boolean",
1904
+ "description": "FlexItem: allow the child to shrink below its content width (releases the flex item's `min-width: auto` floor and ellipsizes). Without it a long unbreakable string pushes its siblings out of the row.",
1905
+ "default": false
1906
+ },
1907
+ "wrap": {
1908
+ "type": "boolean",
1909
+ "description": "Allow wrapping",
1910
+ "default": false
1911
+ }
1912
+ },
1913
+ "additionalProperties": false
1914
+ },
1915
+ "slots": {
1916
+ "children": {
1917
+ "arity": "many",
1918
+ "required": false,
1919
+ "description": "Items laid out along the flex axis",
1920
+ "text": true
1921
+ }
1922
+ },
1923
+ "events": {},
1924
+ "omitted": {}
1925
+ },
1926
+ "Form": {
1927
+ "description": "Typed signal-based form store (createForm/useForm) with sync/async validation and a thin Form element wrapper",
1928
+ "category": "inputs",
1929
+ "intent": {
1930
+ "whenToUse": [
1931
+ "Collecting and submitting a set of related field values together",
1932
+ "Running sync or async validation (including Standard Schema like zod/valibot/arktype) before invoking onValid",
1933
+ "Tracking per-field touched state and errors via the signal-based store from useForm/createForm"
1934
+ ],
1935
+ "whenNotToUse": [
1936
+ "A single standalone value with no submission step — render a bare Input",
1937
+ "Inline editing of one read-only value — use Editable"
1938
+ ]
1939
+ },
1940
+ "props": {
1941
+ "type": "object",
1942
+ "properties": {
1943
+ "className": {
1944
+ "type": "string",
1945
+ "description": "Additional CSS class names merged onto the root element."
1946
+ }
1947
+ },
1948
+ "additionalProperties": false
1949
+ },
1950
+ "slots": {
1951
+ "children": {
1952
+ "arity": "many",
1953
+ "required": true,
1954
+ "description": "Content rendered inside the component.",
1955
+ "text": true
1956
+ }
1957
+ },
1958
+ "events": {
1959
+ "onValid": {
1960
+ "description": "Called with the values when the form passes validation."
1961
+ }
1962
+ },
1963
+ "omitted": {
1964
+ "form": {
1965
+ "type": "FormStore<T>",
1966
+ "reason": "unresolved-type"
1967
+ }
1968
+ }
1969
+ },
1970
+ "Grid": {
1971
+ "description": "CSS grid layout primitive with responsive column collapsing. Establishes its own containment, so responsive `cols` adapt to the grid’s own slot width with no wrapper or container ancestor required.",
1972
+ "category": "layout",
1973
+ "intent": {
1974
+ "whenToUse": [
1975
+ "Two-dimensional layouts with an explicit column count",
1976
+ "Arranging cards or tiles that should align in rows and columns"
1977
+ ],
1978
+ "whenNotToUse": [
1979
+ "Single-direction stacking — use Stack",
1980
+ "Columns that auto-fit to available width — use AutoGrid"
1981
+ ]
1982
+ },
1983
+ "props": {
1984
+ "type": "object",
1985
+ "properties": {
1986
+ "align": {
1987
+ "type": "string",
1988
+ "enum": ["start", "center", "end", "stretch"],
1989
+ "description": "Block-axis alignment of items within their cells (align-items); default stretch"
1990
+ },
1991
+ "alignRows": {
1992
+ "type": "boolean",
1993
+ "description": "Align the internal bands of adjacent children via CSS subgrid — every CardHeader in a row shares one row track, every CardContent the next, every CardFooter the last. Where subgrid is unsupported the grid renders as it does without this prop.",
1994
+ "default": false
1995
+ },
1996
+ "cols": {
1997
+ "anyOf": [
1998
+ {
1999
+ "type": "number"
2000
+ },
2001
+ {
2002
+ "type": "object",
2003
+ "properties": {
2004
+ "base": {
2005
+ "type": "number"
2006
+ },
2007
+ "sm": {
2008
+ "type": "number"
2009
+ },
2010
+ "md": {
2011
+ "type": "number"
2012
+ },
2013
+ "lg": {
2014
+ "type": "number"
2015
+ },
2016
+ "xl": {
2017
+ "type": "number"
2018
+ }
2019
+ },
2020
+ "additionalProperties": false
2021
+ }
2022
+ ],
2023
+ "description": "Column count — a number, or a per-breakpoint object (base/sm/md/lg/xl) for responsive columns",
2024
+ "default": 12
2025
+ },
2026
+ "gap": {
2027
+ "type": "number",
2028
+ "enum": [1, 2, 3, 4, 5, 6, 8, 10, 12],
2029
+ "description": "Spacing token step. Maps to the --cascivo-space-* scale, which intentionally skips 7/9/11 — use 6 or 8.",
2030
+ "default": 4
2031
+ },
2032
+ "justify": {
2033
+ "type": "string",
2034
+ "enum": ["start", "center", "end", "stretch"],
2035
+ "description": "Inline-axis alignment of items within their cells (justify-items); default stretch"
2036
+ },
2037
+ "span": {
2038
+ "anyOf": [
2039
+ {
2040
+ "type": "number"
2041
+ },
2042
+ {
2043
+ "type": "object",
2044
+ "properties": {
2045
+ "base": {
2046
+ "type": "number"
2047
+ },
2048
+ "sm": {
2049
+ "type": "number"
2050
+ },
2051
+ "md": {
2052
+ "type": "number"
2053
+ },
2054
+ "lg": {
2055
+ "type": "number"
2056
+ },
2057
+ "xl": {
2058
+ "type": "number"
2059
+ }
2060
+ },
2061
+ "additionalProperties": false
2062
+ }
2063
+ ],
2064
+ "description": "GridItem: column span — a number, or a per-breakpoint object"
2065
+ }
2066
+ },
2067
+ "additionalProperties": false
2068
+ },
2069
+ "slots": {
2070
+ "children": {
2071
+ "arity": "many",
2072
+ "required": false,
2073
+ "description": "GridItem elements or any grid children",
2074
+ "text": true
2075
+ }
2076
+ },
2077
+ "events": {},
2078
+ "omitted": {}
2079
+ },
2080
+ "GridItem": {
2081
+ "description": "Part of Grid.",
2082
+ "category": "layout",
2083
+ "props": {
2084
+ "type": "object",
2085
+ "properties": {},
2086
+ "additionalProperties": false
2087
+ },
2088
+ "slots": {
2089
+ "children": {
2090
+ "arity": "many",
2091
+ "required": false,
2092
+ "text": true
2093
+ }
2094
+ },
2095
+ "events": {},
2096
+ "omitted": {},
2097
+ "parent": "Grid"
2098
+ },
2099
+ "Header": {
2100
+ "description": "App top bar with brand, primary navigation links, and an actions slot",
2101
+ "category": "navigation",
2102
+ "intent": {
2103
+ "whenToUse": [
2104
+ "Providing a simple marketing or app top bar with brand, links, and actions",
2105
+ "Anchoring primary navigation across pages of a site",
2106
+ "Keeping the bar visible while scrolling (sticky)"
2107
+ ],
2108
+ "whenNotToUse": [
2109
+ "Dense console apps with dropdown nav, global icon actions, and a hamburger — use ShellHeader",
2110
+ "Section headings within page content — use Heading"
2111
+ ]
2112
+ },
2113
+ "props": {
2114
+ "type": "object",
2115
+ "properties": {
2116
+ "className": {
2117
+ "type": "string",
2118
+ "description": "Additional CSS class names merged onto the root element."
2119
+ },
2120
+ "links": {
2121
+ "type": "array",
2122
+ "items": {
2123
+ "type": "object",
2124
+ "properties": {
2125
+ "label": {
2126
+ "type": "string"
2127
+ },
2128
+ "href": {
2129
+ "type": "string"
2130
+ },
2131
+ "active": {
2132
+ "type": "boolean"
2133
+ }
2134
+ },
2135
+ "required": ["label", "href"],
2136
+ "additionalProperties": false
2137
+ },
2138
+ "description": "Primary navigation links; active link gets aria-current=\"page\""
2139
+ },
2140
+ "sticky": {
2141
+ "type": "boolean",
2142
+ "description": "When true, the header sticks to the top on scroll.",
2143
+ "default": false
2144
+ }
2145
+ },
2146
+ "additionalProperties": false
2147
+ },
2148
+ "slots": {
2149
+ "actions": {
2150
+ "arity": "one",
2151
+ "required": false,
2152
+ "description": "Right-aligned slot for buttons or an avatar"
2153
+ },
2154
+ "brand": {
2155
+ "arity": "one",
2156
+ "required": false,
2157
+ "description": "Product name or logo area, typically wraps a link"
2158
+ }
2159
+ },
2160
+ "events": {},
2161
+ "omitted": {
2162
+ "labels": {
2163
+ "type": "HeaderLabels",
2164
+ "reason": "unresolved-type"
2165
+ }
2166
+ }
2167
+ },
2168
+ "HeaderPanel": {
2169
+ "description": "Non-modal panel anchored below the shell header at the inline-end edge — hosts notifications, app switcher, user settings",
2170
+ "category": "navigation",
2171
+ "intent": {
2172
+ "whenToUse": [
2173
+ "Hosting a non-modal panel anchored under the shell header (notifications, switcher, settings)",
2174
+ "Showing supplementary content triggered by a ShellHeader icon action",
2175
+ "Light-dismiss content that should not block the rest of the app"
2176
+ ],
2177
+ "whenNotToUse": [
2178
+ "Content that must block interaction until resolved — use Modal",
2179
+ "A small contextual menu attached to a trigger — use Dropdown or Popover"
2180
+ ]
2181
+ },
2182
+ "props": {
2183
+ "type": "object",
2184
+ "properties": {
2185
+ "className": {
2186
+ "type": "string",
2187
+ "description": "Additional CSS class names merged onto the root element."
2188
+ },
2189
+ "label": {
2190
+ "type": "string",
2191
+ "description": "Accessible label for the region (shown as header title)"
2192
+ },
2193
+ "open": {
2194
+ "type": "boolean",
2195
+ "description": "Controlled open state"
2196
+ }
2197
+ },
2198
+ "required": ["open", "label"],
2199
+ "additionalProperties": false
2200
+ },
2201
+ "slots": {
2202
+ "children": {
2203
+ "arity": "many",
2204
+ "required": true,
2205
+ "description": "Content rendered inside the component.",
2206
+ "text": true
2207
+ }
2208
+ },
2209
+ "events": {
2210
+ "onClose": {
2211
+ "description": "Called on close button click or light-dismiss"
2212
+ }
2213
+ },
2214
+ "omitted": {
2215
+ "labels": {
2216
+ "type": "HeaderPanelLabels",
2217
+ "reason": "unresolved-type"
2218
+ }
2219
+ }
2220
+ },
2221
+ "Heading": {
2222
+ "description": "Section heading with semantic level decoupled from visual size",
2223
+ "category": "display",
2224
+ "intent": {
2225
+ "whenToUse": [
2226
+ "Titling a page or section as part of the document outline",
2227
+ "Keeping the semantic heading level correct while choosing the visual size independently"
2228
+ ],
2229
+ "whenNotToUse": [
2230
+ "Emphasizing inline or body text — use Text with a weight",
2231
+ "Long-form rendered content — let Prose style its own headings"
2232
+ ]
2233
+ },
2234
+ "props": {
2235
+ "type": "object",
2236
+ "properties": {
2237
+ "level": {
2238
+ "type": "number",
2239
+ "enum": [1, 2, 3, 4, 5, 6],
2240
+ "description": "Heading level (1–6) mapping to h1–h6.",
2241
+ "default": 2
2242
+ },
2243
+ "size": {
2244
+ "type": "string",
2245
+ "enum": ["sm", "md", "lg", "xl", "2xl"],
2246
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg')."
2247
+ }
2248
+ },
2249
+ "additionalProperties": false
2250
+ },
2251
+ "slots": {
2252
+ "children": {
2253
+ "arity": "many",
2254
+ "required": false,
2255
+ "description": "Heading text",
2256
+ "text": true
2257
+ }
2258
+ },
2259
+ "events": {},
2260
+ "omitted": {}
2261
+ },
2262
+ "Image": {
2263
+ "description": "Image with load state, blur-up placeholder, graceful fallback, and optional zoom",
2264
+ "category": "display",
2265
+ "intent": {
2266
+ "whenToUse": [
2267
+ "Displaying a content image that should show a placeholder while loading and degrade gracefully on error",
2268
+ "Photos, thumbnails, or media that benefit from a blur-up placeholder or hover zoom",
2269
+ "Any image where a broken src should fall back rather than show a broken-image icon"
2270
+ ],
2271
+ "whenNotToUse": [
2272
+ "Identity thumbnails for a person or entity — use Avatar",
2273
+ "Purely decorative shapes or a fixed-ratio layout box with no load behavior — use AspectRatio"
2274
+ ]
2275
+ },
2276
+ "props": {
2277
+ "type": "object",
2278
+ "properties": {
2279
+ "alt": {
2280
+ "type": "string",
2281
+ "description": "Alternative text describing the image.",
2282
+ "default": ""
2283
+ },
2284
+ "fallbackSrc": {
2285
+ "type": "string",
2286
+ "description": "Image shown if src fails to load"
2287
+ },
2288
+ "height": {
2289
+ "anyOf": [
2290
+ {
2291
+ "type": "string"
2292
+ },
2293
+ {
2294
+ "type": "number"
2295
+ }
2296
+ ],
2297
+ "description": "Intrinsic height in px, forwarded to the `<img>`. Pair with `width` to reserve the box and avoid layout shift."
2298
+ },
2299
+ "isBlurred": {
2300
+ "type": "boolean",
2301
+ "description": "When true, renders a blurred backdrop behind the image.",
2302
+ "default": false
2303
+ },
2304
+ "radius": {
2305
+ "type": "string",
2306
+ "enum": ["none", "sm", "md", "lg", "full"],
2307
+ "description": "Corner radius of the image ('none' | 'sm' | 'md' | 'lg' | 'full').",
2308
+ "default": "md"
2309
+ },
2310
+ "removeWrapper": {
2311
+ "type": "boolean",
2312
+ "description": "Render a bare <img> with no wrapper, placeholder, or zoom",
2313
+ "default": false
2314
+ },
2315
+ "src": {
2316
+ "type": "string",
2317
+ "description": "Image source URL."
2318
+ },
2319
+ "width": {
2320
+ "anyOf": [
2321
+ {
2322
+ "type": "string"
2323
+ },
2324
+ {
2325
+ "type": "number"
2326
+ }
2327
+ ],
2328
+ "description": "Intrinsic width in px, forwarded to the `<img>`. Set it together with `height` so the browser can reserve the box before the image loads (no layout shift)."
2329
+ },
2330
+ "zoom": {
2331
+ "type": "boolean",
2332
+ "description": "When true, zooms the image on hover.",
2333
+ "default": false
2334
+ }
2335
+ },
2336
+ "additionalProperties": false
2337
+ },
2338
+ "slots": {},
2339
+ "events": {},
2340
+ "omitted": {}
2341
+ },
2342
+ "Input": {
2343
+ "description": "Text input field with optional label, hint, and error state",
2344
+ "category": "inputs",
2345
+ "intent": {
2346
+ "whenToUse": [
2347
+ "Collecting a single line of free-form text from the user",
2348
+ "Pairing a labelled field with optional hint and validation error messaging",
2349
+ "As a field control inside a Form, wired via form.field()"
2350
+ ],
2351
+ "whenNotToUse": [
2352
+ "Multi-line text — use Textarea",
2353
+ "Choosing from a fixed list of options — use Select, Combobox, or MultiSelect",
2354
+ "Editing one read-only value in place — use Editable"
2355
+ ]
2356
+ },
2357
+ "props": {
2358
+ "type": "object",
2359
+ "properties": {
2360
+ "ai": {
2361
+ "type": "boolean",
2362
+ "description": "AI presence: an AI-tinted border and a soft aura, marking a value AI produced or suggested. Visual only — put an AiBadge in the label so the provenance is also text, and clear `ai` once the person edits the value.",
2363
+ "default": false
2364
+ },
2365
+ "ariaLabel": {
2366
+ "type": "string",
2367
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
2368
+ },
2369
+ "defaultValue": {
2370
+ "type": "string",
2371
+ "description": "The initial value when uncontrolled."
2372
+ },
2373
+ "disabled": {
2374
+ "type": "boolean",
2375
+ "description": "When true, disables the control and removes it from the tab order.",
2376
+ "default": false
2377
+ },
2378
+ "error": {
2379
+ "type": "string",
2380
+ "description": "Error message shown when the value is invalid."
2381
+ },
2382
+ "hint": {
2383
+ "type": "string",
2384
+ "description": "Supplementary hint text shown with the control."
2385
+ },
2386
+ "label": {
2387
+ "type": "string",
2388
+ "description": "Text label for the control (standalone use). Omit it when wrapping the Input in a Field — the Field owns the label, and setting both double-labels the control."
2389
+ },
2390
+ "placeholder": {
2391
+ "type": "string",
2392
+ "description": "Placeholder text shown when the field is empty."
2393
+ },
2394
+ "size": {
2395
+ "type": "string",
2396
+ "enum": ["sm", "md", "lg"],
2397
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2398
+ "default": "md"
2399
+ },
2400
+ "value": {
2401
+ "type": "string",
2402
+ "description": "The controlled value."
2403
+ }
2404
+ },
2405
+ "additionalProperties": false
2406
+ },
2407
+ "slots": {},
2408
+ "events": {
2409
+ "onChange": {
2410
+ "description": "Called with the change event; read the new value from `event.target.value`."
2411
+ }
2412
+ },
2413
+ "omitted": {}
2414
+ },
2415
+ "InputGroup": {
2416
+ "description": "Prefix/suffix addon wrapper for Input; InputGroupAddon renders inline icons/units inside the field border; InputGroupButtons collapses adjacent button borders",
2417
+ "category": "inputs",
2418
+ "intent": {
2419
+ "whenToUse": [
2420
+ "Attaching a prefix/suffix addon (protocol, currency, unit) to an Input so it reads as one field",
2421
+ "Placing a leading or trailing inline icon/unit inside the field border via InputGroupAddon",
2422
+ "Grouping adjacent buttons with collapsed shared borders via InputGroupButtons"
2423
+ ],
2424
+ "whenNotToUse": [
2425
+ "A standalone field with no adornment — use Input directly",
2426
+ "Conveying meaning that the user must read via an addon — decorative addons are aria-hidden"
2427
+ ]
2428
+ },
2429
+ "props": {
2430
+ "type": "object",
2431
+ "properties": {},
2432
+ "additionalProperties": false
2433
+ },
2434
+ "slots": {
2435
+ "children": {
2436
+ "arity": "many",
2437
+ "required": true,
2438
+ "description": "Content rendered inside the component.",
2439
+ "text": true
2440
+ },
2441
+ "prefix": {
2442
+ "arity": "one",
2443
+ "required": false,
2444
+ "description": "Content rendered before the input (leading adornment)."
2445
+ },
2446
+ "suffix": {
2447
+ "arity": "one",
2448
+ "required": false,
2449
+ "description": "Content rendered after the input (trailing adornment)."
2450
+ }
2451
+ },
2452
+ "events": {},
2453
+ "omitted": {}
2454
+ },
2455
+ "Kbd": {
2456
+ "description": "Displays a keyboard key or shortcut",
2457
+ "category": "display",
2458
+ "intent": {
2459
+ "whenToUse": [
2460
+ "Showing a keyboard key or shortcut the user should press",
2461
+ "Documenting hotkeys in menus, tooltips, or help text"
2462
+ ],
2463
+ "whenNotToUse": [
2464
+ "Inline code, commands, or identifiers — use Code",
2465
+ "A short label that is not a key press — use Badge or Text"
2466
+ ]
2467
+ },
2468
+ "props": {
2469
+ "type": "object",
2470
+ "properties": {
2471
+ "size": {
2472
+ "type": "string",
2473
+ "enum": ["sm", "md"],
2474
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2475
+ "default": "md"
2476
+ }
2477
+ },
2478
+ "additionalProperties": false
2479
+ },
2480
+ "slots": {
2481
+ "children": {
2482
+ "arity": "many",
2483
+ "required": false,
2484
+ "description": "The key label",
2485
+ "text": true
2486
+ }
2487
+ },
2488
+ "events": {},
2489
+ "omitted": {}
2490
+ },
2491
+ "LargeTitleHeader": {
2492
+ "description": "Scrolling region whose large title collapses into a compact sticky bar as it scrolls",
2493
+ "category": "navigation",
2494
+ "intent": {
2495
+ "whenToUse": [
2496
+ "A scrolling screen that should keep its title reachable after the heading scrolls away",
2497
+ "Mobile and tablet layouts following the platform convention of a large title that collapses",
2498
+ "Any page where a persistent back control or actions must stay pinned while content scrolls"
2499
+ ],
2500
+ "whenNotToUse": [
2501
+ "A site-wide navigation bar with links and a brand — use Header",
2502
+ "An application chrome header spanning a sidebar layout — use ShellHeader",
2503
+ "A screen whose scroll container is owned by the app shell or router — this component owns its own"
2504
+ ]
2505
+ },
2506
+ "props": {
2507
+ "type": "object",
2508
+ "properties": {
2509
+ "className": {
2510
+ "type": "string",
2511
+ "description": "Additional CSS class names merged onto the root element."
2512
+ },
2513
+ "collapseDistance": {
2514
+ "type": "number",
2515
+ "description": "Scroll distance (px) over which the large title collapses into the bar.",
2516
+ "default": 48
2517
+ },
2518
+ "level": {
2519
+ "type": "number",
2520
+ "enum": [1, 2, 3],
2521
+ "description": "Heading level for the title, mapping to h1–h3.",
2522
+ "default": 1
2523
+ },
2524
+ "title": {
2525
+ "type": "string",
2526
+ "description": "The page title, rendered as the large heading and mirrored in the compact bar"
2527
+ }
2528
+ },
2529
+ "required": ["title"],
2530
+ "additionalProperties": false
2531
+ },
2532
+ "slots": {
2533
+ "actions": {
2534
+ "arity": "one",
2535
+ "required": false,
2536
+ "description": "Trailing slot of the compact bar — typically icon buttons"
2537
+ },
2538
+ "children": {
2539
+ "arity": "many",
2540
+ "required": true,
2541
+ "description": "Content rendered inside the component.",
2542
+ "text": true
2543
+ },
2544
+ "leading": {
2545
+ "arity": "one",
2546
+ "required": false,
2547
+ "description": "Leading slot of the compact bar — typically a back control"
2548
+ }
2549
+ },
2550
+ "events": {},
2551
+ "omitted": {}
2552
+ },
2553
+ "Link": {
2554
+ "description": "Styled anchor for navigation, standalone or inline within prose",
2555
+ "category": "navigation",
2556
+ "intent": {
2557
+ "whenToUse": [
2558
+ "Navigating to another page, view, or resource via a real href",
2559
+ "Inline cross-references within prose (variant=\"inline\")",
2560
+ "Linking to an external destination with a clear new-tab indicator (external)"
2561
+ ],
2562
+ "whenNotToUse": [
2563
+ "Triggering an action or mutation with no destination — use Button",
2564
+ "Submitting a form — use a submit Button"
2565
+ ]
2566
+ },
2567
+ "props": {
2568
+ "type": "object",
2569
+ "properties": {
2570
+ "asChild": {
2571
+ "type": "boolean",
2572
+ "description": "Render the single child element instead of cascivo's own `<a>`, so the link styling lands on your router's Link. ⚠ This — not `setLinkComponent` — is how you style an in-content link in a routed app; `setLinkComponent` only covers the config-driven navs. See https://cascivo.com/docs/using-with-a-router.md.",
2573
+ "default": false
2574
+ },
2575
+ "external": {
2576
+ "type": "boolean",
2577
+ "description": "When true, treats the link as external (opens in a new tab with rel safety).",
2578
+ "default": false
2579
+ },
2580
+ "href": {
2581
+ "type": "string",
2582
+ "description": "The destination URL."
2583
+ },
2584
+ "size": {
2585
+ "type": "string",
2586
+ "enum": ["sm", "md", "lg"],
2587
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2588
+ "default": "md"
2589
+ },
2590
+ "variant": {
2591
+ "type": "string",
2592
+ "enum": ["standalone", "inline"],
2593
+ "description": "`standalone` uses the system's own type and underlines on hover — for a link that stands on its own. `inline` inherits the surrounding prose font and stays underlined — for a link inside a paragraph.",
2594
+ "default": "standalone"
2595
+ }
2596
+ },
2597
+ "additionalProperties": false
2598
+ },
2599
+ "slots": {
2600
+ "children": {
2601
+ "arity": "many",
2602
+ "required": false,
2603
+ "description": "Link text",
2604
+ "text": true
2605
+ }
2606
+ },
2607
+ "events": {},
2608
+ "omitted": {}
2609
+ },
2610
+ "List": {
2611
+ "description": "Styled unordered or ordered list with ListItem",
2612
+ "category": "display",
2613
+ "intent": {
2614
+ "whenToUse": [
2615
+ "Presenting a set of related items as a bulleted or numbered list",
2616
+ "Conveying sequence with an ordered list (as=\"ol\")",
2617
+ "Keeping list semantics while hiding visual markers (marker=\"none\")"
2618
+ ],
2619
+ "whenNotToUse": [
2620
+ "Tabular data with multiple columns — use DataTable",
2621
+ "Interactive navigation items — use SideNav or a menu"
2622
+ ]
2623
+ },
2624
+ "props": {
2625
+ "type": "object",
2626
+ "properties": {
2627
+ "as": {
2628
+ "type": "string",
2629
+ "enum": ["ul", "ol"],
2630
+ "description": "`ul` for an unordered list, `ol` for a numbered one. Changes the element and its marker, not the styling.",
2631
+ "default": "ul"
2632
+ },
2633
+ "marker": {
2634
+ "type": "string",
2635
+ "enum": ["disc", "decimal", "none"],
2636
+ "description": "List marker style ('disc' | 'decimal' | 'none')."
2637
+ }
2638
+ },
2639
+ "additionalProperties": false
2640
+ },
2641
+ "slots": {
2642
+ "children": {
2643
+ "arity": "many",
2644
+ "required": false,
2645
+ "description": "ListItem elements",
2646
+ "text": true
2647
+ }
2648
+ },
2649
+ "events": {},
2650
+ "omitted": {}
2651
+ },
2652
+ "ListItem": {
2653
+ "description": "Part of List.",
2654
+ "category": "display",
2655
+ "props": {
2656
+ "type": "object",
2657
+ "properties": {},
2658
+ "additionalProperties": false
2659
+ },
2660
+ "slots": {
2661
+ "children": {
2662
+ "arity": "many",
2663
+ "required": false,
2664
+ "text": true
2665
+ }
2666
+ },
2667
+ "events": {},
2668
+ "omitted": {},
2669
+ "parent": "List"
2670
+ },
2671
+ "Modal": {
2672
+ "description": "Accessible dialog overlay using native <dialog> element",
2673
+ "category": "overlay",
2674
+ "intent": {
2675
+ "whenToUse": [
2676
+ "Presenting focused content or a task that must interrupt the current flow",
2677
+ "Confirmations and forms that require the user to act before continuing",
2678
+ "Cases needing a modal backdrop, focus trap, and Escape-to-close from the native <dialog>"
2679
+ ],
2680
+ "whenNotToUse": [
2681
+ "Anchored, non-modal content next to a trigger — use Popover",
2682
+ "A side panel or drawer for secondary content — use Sheet",
2683
+ "A destructive confirmation with a clear yes/no decision — use AlertDialog"
2684
+ ]
2685
+ },
2686
+ "props": {
2687
+ "type": "object",
2688
+ "properties": {
2689
+ "ai": {
2690
+ "anyOf": [
2691
+ {
2692
+ "type": "string",
2693
+ "enum": ["generating"]
2694
+ },
2695
+ {
2696
+ "type": "boolean"
2697
+ }
2698
+ ],
2699
+ "description": "AI presence: `true` gives the surface an AI-tinted edge and a soft aura, marking AI-generated content; `'generating'` adds a pulsing inner glow while AI is still producing it (stops under reduced motion). Visual only — pair it with an AiBadge so the provenance is also text.",
2700
+ "default": false
2701
+ },
2702
+ "description": {
2703
+ "type": "string",
2704
+ "description": "Supporting description text."
2705
+ },
2706
+ "draggable": {
2707
+ "type": "boolean",
2708
+ "description": "Allow dragging the dialog by its header",
2709
+ "default": false
2710
+ },
2711
+ "open": {
2712
+ "type": "boolean",
2713
+ "description": "Whether the component is open (controlled).",
2714
+ "default": false
2715
+ },
2716
+ "size": {
2717
+ "type": "string",
2718
+ "enum": ["sm", "md", "lg"],
2719
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2720
+ "default": "md"
2721
+ },
2722
+ "title": {
2723
+ "type": "string",
2724
+ "description": "Title text for the component."
2725
+ }
2726
+ },
2727
+ "additionalProperties": false
2728
+ },
2729
+ "slots": {
2730
+ "children": {
2731
+ "arity": "many",
2732
+ "required": false,
2733
+ "description": "Modal body content",
2734
+ "text": true
2735
+ },
2736
+ "footer": {
2737
+ "arity": "one",
2738
+ "required": false,
2739
+ "description": "Dialog actions, rendered in a right-aligned row below the body and separated by a divider."
2740
+ }
2741
+ },
2742
+ "events": {
2743
+ "onClose": {
2744
+ "description": "Called when the component is closed."
2745
+ }
2746
+ },
2747
+ "omitted": {}
2748
+ },
2749
+ "NumberInput": {
2750
+ "description": "Numeric input with stepper buttons, clamping, precision, and locale formatting",
2751
+ "category": "inputs",
2752
+ "intent": {
2753
+ "whenToUse": [
2754
+ "Collecting a bounded numeric value where increment/decrement by a known step is natural (quantity, opacity, count)",
2755
+ "Numeric entry that needs clamping to min/max, fixed precision, or locale-aware display formatting (e.g. currency)",
2756
+ "Inputs where keyboard ArrowUp/ArrowDown stepping speeds up adjustment"
2757
+ ],
2758
+ "whenNotToUse": [
2759
+ "Free-form or non-numeric text — use Input",
2760
+ "Choosing along a continuous range where the exact number matters less than the relative position — use Slider",
2761
+ "Phone numbers, PINs, or codes that are digit strings rather than quantities — use Input or OtpInput"
2762
+ ]
2763
+ },
2764
+ "props": {
2765
+ "type": "object",
2766
+ "properties": {
2767
+ "ariaLabel": {
2768
+ "type": "string",
2769
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
2770
+ },
2771
+ "decrementLabel": {
2772
+ "type": "string",
2773
+ "description": "Accessible label for the decrement button.",
2774
+ "default": "Decrement"
2775
+ },
2776
+ "defaultValue": {
2777
+ "type": "number",
2778
+ "description": "The initial value when uncontrolled."
2779
+ },
2780
+ "disabled": {
2781
+ "type": "boolean",
2782
+ "description": "When true, disables the control and removes it from the tab order.",
2783
+ "default": false
2784
+ },
2785
+ "error": {
2786
+ "type": "string",
2787
+ "description": "Error message shown when the value is invalid."
2788
+ },
2789
+ "hint": {
2790
+ "type": "string",
2791
+ "description": "Supplementary hint text shown with the control."
2792
+ },
2793
+ "incrementLabel": {
2794
+ "type": "string",
2795
+ "description": "Accessible label for the increment button.",
2796
+ "default": "Increment"
2797
+ },
2798
+ "label": {
2799
+ "type": "string",
2800
+ "description": "Text label for the control."
2801
+ },
2802
+ "max": {
2803
+ "type": "number",
2804
+ "description": "Maximum allowed value."
2805
+ },
2806
+ "min": {
2807
+ "type": "number",
2808
+ "description": "Minimum allowed value."
2809
+ },
2810
+ "precision": {
2811
+ "type": "number",
2812
+ "description": "Decimal places applied on commit"
2813
+ },
2814
+ "size": {
2815
+ "type": "string",
2816
+ "enum": ["sm", "md", "lg"],
2817
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2818
+ "default": "md"
2819
+ },
2820
+ "step": {
2821
+ "type": "number",
2822
+ "description": "Increment between allowed values.",
2823
+ "default": 1
2824
+ },
2825
+ "value": {
2826
+ "anyOf": [
2827
+ {
2828
+ "type": "number"
2829
+ },
2830
+ {
2831
+ "type": "null"
2832
+ }
2833
+ ],
2834
+ "description": "The controlled value."
2835
+ }
2836
+ },
2837
+ "additionalProperties": false
2838
+ },
2839
+ "slots": {},
2840
+ "events": {
2841
+ "onValueChange": {
2842
+ "description": "Fired on commit (blur, Enter, stepping); null when empty or unparseable"
2843
+ }
2844
+ },
2845
+ "omitted": {
2846
+ "formatOptions": {
2847
+ "type": "Intl.NumberFormatOptions",
2848
+ "reason": "unresolved-type"
2849
+ }
2850
+ }
2851
+ },
2852
+ "OverflowMenu": {
2853
+ "description": "Kebab icon button revealing a menu of row-level actions",
2854
+ "category": "overlay",
2855
+ "intent": {
2856
+ "whenToUse": [
2857
+ "Collapsing secondary row-level or item-level actions behind a kebab trigger in dense layouts like tables and lists",
2858
+ "Offering a small set of actions where a destructive option needs visual distinction"
2859
+ ],
2860
+ "whenNotToUse": [
2861
+ "A primary action that should always be visible — use Button",
2862
+ "Selecting a single value from a set rather than triggering actions — use Select or Dropdown",
2863
+ "New code — this component is deprecated in favor of Menu"
2864
+ ]
2865
+ },
2866
+ "props": {
2867
+ "type": "object",
2868
+ "properties": {
2869
+ "ariaLabel": {
2870
+ "type": "string",
2871
+ "description": "Accessible label for the component.",
2872
+ "default": "More actions"
2873
+ },
2874
+ "className": {
2875
+ "type": "string",
2876
+ "description": "Additional CSS class names merged onto the root element."
2877
+ },
2878
+ "disabled": {
2879
+ "type": "boolean",
2880
+ "description": "When true, disables the control and removes it from the tab order.",
2881
+ "default": false
2882
+ },
2883
+ "items": {
2884
+ "type": "array",
2885
+ "items": {
2886
+ "type": "object",
2887
+ "properties": {
2888
+ "label": {
2889
+ "type": "string"
2890
+ },
2891
+ "value": {
2892
+ "type": "string"
2893
+ },
2894
+ "id": {
2895
+ "type": "string"
2896
+ },
2897
+ "icon": {
2898
+ "type": "string"
2899
+ },
2900
+ "disabled": {
2901
+ "type": "boolean"
2902
+ },
2903
+ "destructive": {
2904
+ "type": "boolean"
2905
+ }
2906
+ },
2907
+ "required": ["label"],
2908
+ "additionalProperties": false
2909
+ },
2910
+ "description": "The items to render."
2911
+ },
2912
+ "label": {
2913
+ "type": "string",
2914
+ "description": "Alias of `ariaLabel` — the same invisible accessible name under the other spelling. Neither is deprecated."
2915
+ },
2916
+ "placement": {
2917
+ "type": "string",
2918
+ "enum": ["bottom-start", "bottom-end"],
2919
+ "description": "Which trigger edge the menu aligns to. `bottom-end` hangs it from the trigger's end edge (right in LTR), `bottom-start` from its start edge.",
2920
+ "default": "bottom-end"
2921
+ },
2922
+ "size": {
2923
+ "type": "string",
2924
+ "enum": ["sm", "md"],
2925
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
2926
+ "default": "md"
2927
+ },
2928
+ "tabIndex": {
2929
+ "type": "number",
2930
+ "description": "Tab-order position of the trigger. Composite widgets that manage their own focus (a DataTable in grid keyboard mode) pass -1 so the menu is reachable by Enter on its cell without being an extra Tab stop."
2931
+ }
2932
+ },
2933
+ "required": ["items"],
2934
+ "additionalProperties": false
2935
+ },
2936
+ "slots": {},
2937
+ "events": {
2938
+ "onSelect": {
2939
+ "description": "Called with the selected value."
2940
+ }
2941
+ },
2942
+ "omitted": {}
2943
+ },
2944
+ "PageHeader": {
2945
+ "description": "Page-level header with title, description, breadcrumb, and actions slots.",
2946
+ "category": "layout",
2947
+ "intent": {
2948
+ "whenToUse": [
2949
+ "A page-level header with title, description, breadcrumb, and action slots",
2950
+ "Establishing consistent page tops across an application"
2951
+ ],
2952
+ "whenNotToUse": [
2953
+ "A marketing hero with large media — use Hero",
2954
+ "A full app top bar with navigation — use AppShell"
2955
+ ]
2956
+ },
2957
+ "props": {
2958
+ "type": "object",
2959
+ "properties": {
2960
+ "className": {
2961
+ "type": "string",
2962
+ "description": "Additional CSS class"
2963
+ }
2964
+ },
2965
+ "additionalProperties": false
2966
+ },
2967
+ "slots": {
2968
+ "actions": {
2969
+ "arity": "one",
2970
+ "required": false,
2971
+ "description": "Action buttons slot"
2972
+ },
2973
+ "breadcrumb": {
2974
+ "arity": "one",
2975
+ "required": false,
2976
+ "description": "Breadcrumb slot"
2977
+ },
2978
+ "description": {
2979
+ "arity": "one",
2980
+ "required": false,
2981
+ "description": "Supporting line under the title, rendered as a `<p>`. Accepts nodes."
2982
+ },
2983
+ "title": {
2984
+ "arity": "one",
2985
+ "required": true,
2986
+ "description": "Page title, rendered as the `<h1>`. Accepts nodes, not just a string, so you can put a status Badge or a linked domain beside the name — the canonical project-header shape. Keep it inline-level: it is an `<h1>`."
2987
+ }
2988
+ },
2989
+ "events": {},
2990
+ "omitted": {}
2991
+ },
2992
+ "Pagination": {
2993
+ "description": "Controls for navigating paged data sets, with page size selection",
2994
+ "category": "navigation",
2995
+ "intent": {
2996
+ "whenToUse": [
2997
+ "Navigating between pages of a paged dataset",
2998
+ "Letting the user change how many items appear per page (onPageSizeChange)",
2999
+ "Pairing with a table or list that loads data in chunks"
3000
+ ],
3001
+ "whenNotToUse": [
3002
+ "Navigating a content hierarchy — use Breadcrumb",
3003
+ "Infinite scroll experiences where pages are not exposed"
3004
+ ]
3005
+ },
3006
+ "props": {
3007
+ "type": "object",
3008
+ "properties": {
3009
+ "className": {
3010
+ "type": "string",
3011
+ "description": "Additional CSS class names merged onto the root element."
3012
+ },
3013
+ "page": {
3014
+ "type": "number",
3015
+ "description": "Current page (1-based)"
3016
+ },
3017
+ "pageSize": {
3018
+ "type": "number",
3019
+ "description": "Items per page"
3020
+ },
3021
+ "pageSizeOptions": {
3022
+ "type": "array",
3023
+ "items": {
3024
+ "type": "number"
3025
+ },
3026
+ "description": "Options for the page size select",
3027
+ "default": [10, 25, 50, 100]
3028
+ },
3029
+ "totalItems": {
3030
+ "type": "number",
3031
+ "description": "Total number of items"
3032
+ }
3033
+ },
3034
+ "required": ["page", "pageSize", "totalItems"],
3035
+ "additionalProperties": false
3036
+ },
3037
+ "slots": {},
3038
+ "events": {
3039
+ "onPageChange": {
3040
+ "description": "Called with the new page number when it changes."
3041
+ },
3042
+ "onPageSizeChange": {
3043
+ "description": "Called with the new page size when it changes."
3044
+ }
3045
+ },
3046
+ "omitted": {
3047
+ "labels": {
3048
+ "type": "PaginationLabels",
3049
+ "reason": "unresolved-type"
3050
+ }
3051
+ }
3052
+ },
3053
+ "Progress": {
3054
+ "description": "Horizontal bar showing the completion progress of a tracked operation",
3055
+ "category": "feedback",
3056
+ "intent": {
3057
+ "whenToUse": [
3058
+ "Tracked operations with a known total (file uploads, multi-step imports)",
3059
+ "Showing completion percentage of a long-running task"
3060
+ ],
3061
+ "whenNotToUse": [
3062
+ "Unbounded waits of unknown duration — use Spinner",
3063
+ "Single-action button loading state — use the button's own loading prop"
3064
+ ]
3065
+ },
3066
+ "props": {
3067
+ "type": "object",
3068
+ "properties": {
3069
+ "aria-describedby": {
3070
+ "type": "string",
3071
+ "description": "Id of an element describing the progress bar."
3072
+ },
3073
+ "aria-label": {
3074
+ "type": "string",
3075
+ "description": "Accessible label when no visible label is present."
3076
+ },
3077
+ "ariaLabel": {
3078
+ "type": "string",
3079
+ "description": "Invisible accessible name. The catalog convention; the DOM spelling `aria-label` is accepted as an alias so either guess compiles."
3080
+ },
3081
+ "label": {
3082
+ "type": "string",
3083
+ "description": "Alias of `ariaLabel` — the same invisible accessible name under the other spelling. Neither is deprecated."
3084
+ },
3085
+ "size": {
3086
+ "type": "string",
3087
+ "enum": ["sm", "md", "lg"],
3088
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
3089
+ "default": "md"
3090
+ },
3091
+ "value": {
3092
+ "type": "number",
3093
+ "description": "0–100. Omit for indeterminate state."
3094
+ },
3095
+ "variant": {
3096
+ "type": "string",
3097
+ "enum": ["primary", "info", "success", "warning", "error"],
3098
+ "description": "Colour of the fill: `primary` (the accent) or a severity tone — `info`, `success`, `warning`, `error`.",
3099
+ "default": "primary"
3100
+ }
3101
+ },
3102
+ "additionalProperties": false
3103
+ },
3104
+ "slots": {},
3105
+ "events": {},
3106
+ "omitted": {}
3107
+ },
3108
+ "ProgressBar": {
3109
+ "description": "Shows determinate or indeterminate progress of a task",
3110
+ "category": "feedback",
3111
+ "intent": {
3112
+ "whenToUse": [
3113
+ "Showing linear determinate progress of a task with a known percentage (value)",
3114
+ "Indicating ongoing work of unknown duration (omit value for indeterminate)",
3115
+ "Reflecting success/error outcome of a tracked operation (status)"
3116
+ ],
3117
+ "whenNotToUse": [
3118
+ "A compact circular indicator is preferred — use ProgressCircle",
3119
+ "Pure indeterminate spinning with no track — use Spinner",
3120
+ "Stepping through a multi-step flow — use ProgressIndicator"
3121
+ ]
3122
+ },
3123
+ "props": {
3124
+ "type": "object",
3125
+ "properties": {
3126
+ "helperText": {
3127
+ "type": "string",
3128
+ "description": "Supplementary text shown with the progress bar."
3129
+ },
3130
+ "label": {
3131
+ "type": "string",
3132
+ "description": "Visible label above the track, wired via aria-labelledby"
3133
+ },
3134
+ "max": {
3135
+ "type": "number",
3136
+ "description": "Maximum allowed value.",
3137
+ "default": 100
3138
+ },
3139
+ "size": {
3140
+ "type": "string",
3141
+ "enum": ["sm", "md"],
3142
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
3143
+ "default": "md"
3144
+ },
3145
+ "status": {
3146
+ "type": "string",
3147
+ "enum": ["active", "success", "error"],
3148
+ "description": "success/error tint the fill and show a glyph next to the label",
3149
+ "default": "active"
3150
+ },
3151
+ "value": {
3152
+ "type": "number",
3153
+ "description": "Current value from 0 to max; omit for an indeterminate bar"
3154
+ }
3155
+ },
3156
+ "additionalProperties": false
3157
+ },
3158
+ "slots": {},
3159
+ "events": {},
3160
+ "omitted": {}
3161
+ },
3162
+ "ProgressIndicator": {
3163
+ "description": "Shows progress through the steps of a multi-step flow",
3164
+ "category": "navigation",
3165
+ "intent": {
3166
+ "whenToUse": [
3167
+ "Showing progress through the discrete steps of a multi-step flow (wizard, checkout)",
3168
+ "Communicating which step is complete, current, and upcoming",
3169
+ "Laying out steps horizontally or vertically with optional descriptions"
3170
+ ],
3171
+ "whenNotToUse": [
3172
+ "Continuous task progress with a percentage — use ProgressBar or ProgressCircle",
3173
+ "Indeterminate loading — use Spinner"
3174
+ ]
3175
+ },
3176
+ "props": {
3177
+ "type": "object",
3178
+ "properties": {
3179
+ "className": {
3180
+ "type": "string",
3181
+ "description": "Additional CSS class names merged onto the root element."
3182
+ },
3183
+ "currentIndex": {
3184
+ "type": "number",
3185
+ "description": "Index of the current step (0-based)"
3186
+ },
3187
+ "steps": {
3188
+ "type": "array",
3189
+ "items": {
3190
+ "type": "object",
3191
+ "properties": {
3192
+ "label": {
3193
+ "type": "string"
3194
+ },
3195
+ "description": {
3196
+ "type": "string"
3197
+ }
3198
+ },
3199
+ "required": ["label"],
3200
+ "additionalProperties": false
3201
+ },
3202
+ "description": "Ordered list of steps"
3203
+ },
3204
+ "vertical": {
3205
+ "type": "boolean",
3206
+ "description": "When true, lays the steps out vertically.",
3207
+ "default": false
3208
+ }
3209
+ },
3210
+ "required": ["steps", "currentIndex"],
3211
+ "additionalProperties": false
3212
+ },
3213
+ "slots": {},
3214
+ "events": {},
3215
+ "omitted": {}
3216
+ },
3217
+ "Radio": {
3218
+ "description": "Single choice from a set, grouped with RadioGroup",
3219
+ "category": "inputs",
3220
+ "intent": {
3221
+ "whenToUse": [
3222
+ "Choosing exactly one option from a small, mutually exclusive set (roughly 2–6) where all options should stay visible",
3223
+ "Form fields where the choices need plain text labels and a familiar radio affordance"
3224
+ ],
3225
+ "whenNotToUse": [
3226
+ "Selecting one of many options where showing them all is impractical — use Select",
3227
+ "Each option needs a title plus description or richer layout — use RadioCard",
3228
+ "A compact inline switch between a few views or modes — use SegmentedControl"
3229
+ ]
3230
+ },
3231
+ "props": {
3232
+ "type": "object",
3233
+ "properties": {
3234
+ "ariaLabel": {
3235
+ "type": "string",
3236
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
3237
+ },
3238
+ "disabled": {
3239
+ "type": "boolean",
3240
+ "description": "When true, disables the control and removes it from the tab order.",
3241
+ "default": false
3242
+ },
3243
+ "label": {
3244
+ "type": "string",
3245
+ "description": "Text label for the control."
3246
+ },
3247
+ "name": {
3248
+ "type": "string",
3249
+ "description": "Form field name shared by the radio group."
3250
+ },
3251
+ "value": {
3252
+ "type": "string",
3253
+ "description": "The controlled value."
3254
+ }
3255
+ },
3256
+ "required": ["value"],
3257
+ "additionalProperties": false
3258
+ },
3259
+ "slots": {},
3260
+ "events": {},
3261
+ "omitted": {}
3262
+ },
3263
+ "RadioCard": {
3264
+ "description": "Selectable card backed by a native radio input. Use RadioCardGroup for single-select groups.",
3265
+ "category": "inputs",
3266
+ "intent": {
3267
+ "whenToUse": [
3268
+ "Single-select from a few options where each choice needs a title plus supporting description (plans, tiers, shipping methods)",
3269
+ "Selection UIs where a larger, more prominent click target improves clarity over a plain radio"
3270
+ ],
3271
+ "whenNotToUse": [
3272
+ "Plain text options with no description — use Radio for a lighter footprint",
3273
+ "A compact inline switch between a few modes — use SegmentedControl",
3274
+ "Too many options to render as cards — use Select"
3275
+ ]
3276
+ },
3277
+ "props": {
3278
+ "type": "object",
3279
+ "properties": {
3280
+ "defaultValue": {
3281
+ "type": "string",
3282
+ "description": "RadioCardGroup only: the initially selected value when uncontrolled"
3283
+ },
3284
+ "disabled": {
3285
+ "type": "boolean",
3286
+ "description": "Disables the card"
3287
+ },
3288
+ "hideIndicator": {
3289
+ "type": "boolean",
3290
+ "description": "Hide the radio indicator glyph, showing only the card content."
3291
+ },
3292
+ "value": {
3293
+ "type": "string",
3294
+ "description": "Radio value. On RadioCardGroup: the controlled selected value"
3295
+ }
3296
+ },
3297
+ "required": ["value"],
3298
+ "additionalProperties": false
3299
+ },
3300
+ "slots": {
3301
+ "description": {
3302
+ "arity": "one",
3303
+ "required": false,
3304
+ "description": "Optional description"
3305
+ },
3306
+ "title": {
3307
+ "arity": "one",
3308
+ "required": true,
3309
+ "description": "Card title"
3310
+ }
3311
+ },
3312
+ "events": {
3313
+ "onValueChange": {
3314
+ "description": "RadioCardGroup only: called with the value of the card the person selects"
3315
+ }
3316
+ },
3317
+ "omitted": {}
3318
+ },
3319
+ "RadioCardGroup": {
3320
+ "description": "Part of RadioCard.",
3321
+ "category": "inputs",
3322
+ "props": {
3323
+ "type": "object",
3324
+ "properties": {
3325
+ "className": {
3326
+ "type": "string",
3327
+ "description": "Class name for the group element, as RadioCardGroupProps declares"
3328
+ },
3329
+ "defaultValue": {
3330
+ "type": "string",
3331
+ "description": "RadioCardGroup only: the initially selected value when uncontrolled"
3332
+ },
3333
+ "label": {
3334
+ "type": "string",
3335
+ "description": "Accessible name of the group, applied as aria-label and not painted"
3336
+ },
3337
+ "name": {
3338
+ "type": "string",
3339
+ "description": "The radio group name shared by its cards"
3340
+ },
3341
+ "value": {
3342
+ "type": "string",
3343
+ "description": "Radio value. On RadioCardGroup: the controlled selected value"
3344
+ }
3345
+ },
3346
+ "required": ["name", "label"],
3347
+ "additionalProperties": false
3348
+ },
3349
+ "slots": {
3350
+ "children": {
3351
+ "arity": "many",
3352
+ "required": false,
3353
+ "text": true
3354
+ }
3355
+ },
3356
+ "events": {
3357
+ "onValueChange": {
3358
+ "description": "RadioCardGroup only: called with the value of the card the person selects"
3359
+ }
3360
+ },
3361
+ "omitted": {},
3362
+ "parent": "RadioCard"
3363
+ },
3364
+ "Search": {
3365
+ "description": "Search input with debounced search callback and clear button",
3366
+ "category": "inputs",
3367
+ "intent": {
3368
+ "whenToUse": [
3369
+ "A query field that filters or searches content, with a built-in clear button and debounced onSearch",
3370
+ "Free-text search where results update as the user types (debounced) or on Enter"
3371
+ ],
3372
+ "whenNotToUse": [
3373
+ "General non-search text entry — use Input",
3374
+ "Search that presents an inline list of suggestions/results to pick from — use Combobox",
3375
+ "A bounded numeric value — use NumberInput"
3376
+ ]
3377
+ },
3378
+ "props": {
3379
+ "type": "object",
3380
+ "properties": {
3381
+ "aria-describedby": {
3382
+ "type": "string",
3383
+ "description": "Wired automatically by a wrapping `Field` — the ids of its hint/error text, forwarded to the focusable control so the supporting text is announced."
3384
+ },
3385
+ "aria-invalid": {
3386
+ "type": "boolean",
3387
+ "description": "Wired automatically by a wrapping `Field` when it is in an error state."
3388
+ },
3389
+ "aria-labelledby": {
3390
+ "type": "string",
3391
+ "description": "Wired automatically by a wrapping `Field` — its label id, forwarded to the focusable control so the Field's label names it."
3392
+ },
3393
+ "ariaLabel": {
3394
+ "type": "string",
3395
+ "description": "Accessible name set through `aria-label` instead of a rendered `<label>` element. ⚠ On Search **both** props give an invisible name — `label` renders a real `<label>` the stylesheet visually hides. They differ in mechanism, not in what you see: use `ariaLabel` when a visible element outside the component already names the field, `label` otherwise. The raw DOM `aria-label` still wins over this."
3396
+ },
3397
+ "className": {
3398
+ "type": "string",
3399
+ "description": "Additional CSS class names merged onto the root element."
3400
+ },
3401
+ "clearLabel": {
3402
+ "type": "string",
3403
+ "description": "Accessible label for the clear button.",
3404
+ "default": "Clear search"
3405
+ },
3406
+ "debounceMs": {
3407
+ "type": "number",
3408
+ "description": "Debounce delay (ms) before onSearch fires.",
3409
+ "default": 300
3410
+ },
3411
+ "defaultValue": {
3412
+ "type": "string",
3413
+ "description": "The initial value when uncontrolled.",
3414
+ "default": ""
3415
+ },
3416
+ "disabled": {
3417
+ "type": "boolean",
3418
+ "description": "When true, disables the control and removes it from the tab order.",
3419
+ "default": false
3420
+ },
3421
+ "id": {
3422
+ "type": "string",
3423
+ "description": "Id for the input, wired to the label. Auto-generated with useId when omitted — SSR-safe and stable across hydration."
3424
+ },
3425
+ "label": {
3426
+ "type": "string",
3427
+ "description": "Accessible name for the control. Rendered as a real `<label>` that is **visually hidden** by design — it changes the accessible name, not the visible UI. If you can see it, the component stylesheet did not load (import `@cascivo/react/styles.css` or the per-component CSS).",
3428
+ "default": "Search"
3429
+ },
3430
+ "placeholder": {
3431
+ "type": "string",
3432
+ "description": "Placeholder text shown when the field is empty.",
3433
+ "default": "Search"
3434
+ },
3435
+ "size": {
3436
+ "type": "string",
3437
+ "enum": ["sm", "md", "lg"],
3438
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
3439
+ "default": "md"
3440
+ },
3441
+ "value": {
3442
+ "type": "string",
3443
+ "description": "The controlled value."
3444
+ }
3445
+ },
3446
+ "additionalProperties": false
3447
+ },
3448
+ "slots": {},
3449
+ "events": {
3450
+ "onSearch": {
3451
+ "description": "Called with the query, debounced, as the user types."
3452
+ },
3453
+ "onValueChange": {
3454
+ "description": "Called with the current text on every keystroke."
3455
+ }
3456
+ },
3457
+ "omitted": {}
3458
+ },
3459
+ "Select": {
3460
+ "description": "Native select menu styled to match the design system",
3461
+ "category": "inputs",
3462
+ "intent": {
3463
+ "whenToUse": [
3464
+ "Choosing exactly one value from a known, finite list inside a form",
3465
+ "A compact single-value picker where the native OS dropdown UX is acceptable",
3466
+ "You want zero-JS reliability and built-in mobile/keyboard handling from a real <select>"
3467
+ ],
3468
+ "whenNotToUse": [
3469
+ "Users need to filter/search a long list — use Combobox",
3470
+ "Multiple values must be selectable — use MultiSelect",
3471
+ "Triggering actions or commands rather than picking a form value — use Dropdown or Menu"
3472
+ ]
3473
+ },
3474
+ "props": {
3475
+ "type": "object",
3476
+ "properties": {
3477
+ "ariaLabel": {
3478
+ "type": "string",
3479
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
3480
+ },
3481
+ "defaultValue": {
3482
+ "type": "string",
3483
+ "description": "The initial value when uncontrolled."
3484
+ },
3485
+ "disabled": {
3486
+ "type": "boolean",
3487
+ "description": "When true, disables the control and removes it from the tab order.",
3488
+ "default": false
3489
+ },
3490
+ "error": {
3491
+ "type": "string",
3492
+ "description": "Error message shown when the value is invalid."
3493
+ },
3494
+ "hint": {
3495
+ "type": "string",
3496
+ "description": "Supplementary hint text shown with the control."
3497
+ },
3498
+ "label": {
3499
+ "type": "string",
3500
+ "description": "Text label for the control."
3501
+ },
3502
+ "options": {
3503
+ "type": "array",
3504
+ "items": {
3505
+ "type": "object",
3506
+ "properties": {
3507
+ "value": {
3508
+ "type": "string"
3509
+ },
3510
+ "label": {
3511
+ "type": "string"
3512
+ },
3513
+ "disabled": {
3514
+ "type": "boolean"
3515
+ }
3516
+ },
3517
+ "required": ["value", "label"],
3518
+ "additionalProperties": false
3519
+ },
3520
+ "description": "The selectable options."
3521
+ },
3522
+ "placeholder": {
3523
+ "type": "string",
3524
+ "description": "Placeholder text shown when the field is empty."
3525
+ },
3526
+ "size": {
3527
+ "type": "string",
3528
+ "enum": ["sm", "md", "lg"],
3529
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
3530
+ "default": "md"
3531
+ },
3532
+ "value": {
3533
+ "type": "string",
3534
+ "description": "The controlled value."
3535
+ }
3536
+ },
3537
+ "required": ["options"],
3538
+ "additionalProperties": false
3539
+ },
3540
+ "slots": {},
3541
+ "events": {
3542
+ "onChange": {
3543
+ "description": "Called with the change event; read the new value from `event.target.value`."
3544
+ }
3545
+ },
3546
+ "omitted": {}
3547
+ },
3548
+ "Separator": {
3549
+ "description": "Visual or semantic divider between content",
3550
+ "category": "display",
3551
+ "intent": {
3552
+ "whenToUse": [
3553
+ "Dividing groups of content within a section or menu",
3554
+ "Adding a vertical rule between inline items (orientation=\"vertical\")",
3555
+ "Marking a meaningful thematic break (decorative=false)"
3556
+ ],
3557
+ "whenNotToUse": [
3558
+ "Adding spacing only — use margin/padding, not a separator",
3559
+ "Bordering a container — use the container border, not a separator"
3560
+ ]
3561
+ },
3562
+ "props": {
3563
+ "type": "object",
3564
+ "properties": {
3565
+ "decorative": {
3566
+ "type": "boolean",
3567
+ "description": "When true, the separator is purely visual and hidden from assistive tech",
3568
+ "default": false
3569
+ },
3570
+ "orientation": {
3571
+ "type": "string",
3572
+ "enum": ["horizontal", "vertical"],
3573
+ "description": "Direction the rule runs: `horizontal` draws a full-width line, `vertical` a full-height one that stretches to its flex row.",
3574
+ "default": "horizontal"
3575
+ }
3576
+ },
3577
+ "additionalProperties": false
3578
+ },
3579
+ "slots": {},
3580
+ "events": {},
3581
+ "omitted": {}
3582
+ },
3583
+ "ShellHeader": {
3584
+ "description": "Console application header: brand with prefix, dropdown nav menus, global icon actions, hamburger, skip-to-content",
3585
+ "category": "navigation",
3586
+ "intent": {
3587
+ "whenToUse": [
3588
+ "Building console/admin app chrome with brand, dropdown nav, and global icon actions",
3589
+ "Providing a hamburger that toggles a SideNav and a skip-to-content link",
3590
+ "Hosting global controls (notifications, switcher, user menu) in one top bar"
3591
+ ],
3592
+ "whenNotToUse": [
3593
+ "A simple marketing or app top bar — use Header",
3594
+ "In-page section headings — use Heading"
3595
+ ]
3596
+ },
3597
+ "props": {
3598
+ "type": "object",
3599
+ "properties": {
3600
+ "actions": {
3601
+ "type": "array",
3602
+ "items": {
3603
+ "type": "object",
3604
+ "properties": {
3605
+ "id": {
3606
+ "type": "string",
3607
+ "description": "Stable key for the action."
3608
+ },
3609
+ "label": {
3610
+ "type": "string",
3611
+ "description": "Accessible label (aria-label / tooltip)."
3612
+ },
3613
+ "icon": {
3614
+ "type": "string",
3615
+ "description": "Icon node, e.g. an @cascivo/icons glyph."
3616
+ },
3617
+ "active": {
3618
+ "type": "boolean",
3619
+ "description": "Renders aria-pressed for a toggle action."
3620
+ }
3621
+ },
3622
+ "required": ["id", "label", "icon"],
3623
+ "description": "A right-aligned global icon action. `actions` is a typed array of these — pass an `icon` node per item, not free-form JSX. For non-action trailing content (user menu, theme switcher) use the `end` slot instead."
3624
+ },
3625
+ "description": "Right-aligned global icon actions with aria-pressed"
3626
+ },
3627
+ "menuExpanded": {
3628
+ "type": "boolean",
3629
+ "description": "aria-expanded for the hamburger button"
3630
+ },
3631
+ "nav": {
3632
+ "type": "array",
3633
+ "items": {
3634
+ "type": "object",
3635
+ "properties": {
3636
+ "label": {
3637
+ "type": "string",
3638
+ "description": "Visible nav label."
3639
+ },
3640
+ "href": {
3641
+ "type": "string",
3642
+ "description": "Link target (link items). Routed via setLinkComponent."
3643
+ },
3644
+ "items": {
3645
+ "type": "array",
3646
+ "items": {
3647
+ "type": "object",
3648
+ "properties": {
3649
+ "label": {
3650
+ "type": "string"
3651
+ },
3652
+ "href": {
3653
+ "type": "string"
3654
+ },
3655
+ "active": {
3656
+ "type": "boolean"
3657
+ }
3658
+ },
3659
+ "required": ["label", "href"],
3660
+ "additionalProperties": false
3661
+ },
3662
+ "description": "Dropdown menu entries (menu items)."
3663
+ },
3664
+ "active": {
3665
+ "type": "boolean",
3666
+ "description": "Marks the current nav entry (aria-current)."
3667
+ }
3668
+ },
3669
+ "required": ["label"],
3670
+ "description": "A top-nav entry: either a link (`{ label, href, active?, onClick? }`) or a dropdown menu (`{ label, items: { label, href, active? }[] }`)."
3671
+ },
3672
+ "description": "Top nav: links ({ label, href, active?, onClick? }) or dropdown menus ({ label, items })"
3673
+ },
3674
+ "skipToContentHref": {
3675
+ "anyOf": [
3676
+ {
3677
+ "type": "boolean",
3678
+ "enum": [false]
3679
+ },
3680
+ {
3681
+ "type": "string"
3682
+ }
3683
+ ],
3684
+ "description": "Skip-link target; false disables the link",
3685
+ "default": "#cascade-main"
3686
+ }
3687
+ },
3688
+ "additionalProperties": false
3689
+ },
3690
+ "slots": {
3691
+ "brand": {
3692
+ "arity": "one",
3693
+ "required": false,
3694
+ "description": "Brand: { prefix?, name, href? } or free-form node"
3695
+ },
3696
+ "center": {
3697
+ "arity": "one",
3698
+ "required": false,
3699
+ "description": "Free-form slot between the nav and the right-hand cluster, taking the header’s spare width — where a command-palette or search trigger belongs"
3700
+ },
3701
+ "end": {
3702
+ "arity": "one",
3703
+ "required": false,
3704
+ "description": "Free-form trailing slot (user menu, theme switcher)"
3705
+ }
3706
+ },
3707
+ "events": {
3708
+ "onMenuClick": {
3709
+ "description": "Renders the hamburger button; call shell.toggleSideNav"
3710
+ }
3711
+ },
3712
+ "omitted": {
3713
+ "labels": {
3714
+ "type": "ShellHeaderLabels",
3715
+ "reason": "unresolved-type"
3716
+ }
3717
+ }
3718
+ },
3719
+ "SideNav": {
3720
+ "description": "Collapsible sidebar navigation with optional icons and one level of grouping",
3721
+ "category": "navigation",
3722
+ "intent": {
3723
+ "whenToUse": [
3724
+ "Persistent primary navigation along the side of an app shell",
3725
+ "Grouping nav items one level deep with collapsible groups",
3726
+ "Saving space with a collapsible icon rail (collapsed / expandOnHover)"
3727
+ ],
3728
+ "whenNotToUse": [
3729
+ "Top-level horizontal navigation — use Header or ShellHeader nav",
3730
+ "A transient contextual menu — use Dropdown"
3731
+ ]
3732
+ },
3733
+ "props": {
3734
+ "type": "object",
3735
+ "properties": {
3736
+ "ariaLabel": {
3737
+ "type": "string",
3738
+ "description": "Accessible label for the component.",
3739
+ "default": "Side navigation"
3740
+ },
3741
+ "className": {
3742
+ "type": "string",
3743
+ "description": "Additional CSS class names merged onto the root element."
3744
+ },
3745
+ "collapseLabel": {
3746
+ "type": "string",
3747
+ "description": "Accessible label for the collapse control.",
3748
+ "default": "Collapse navigation"
3749
+ },
3750
+ "collapsed": {
3751
+ "type": "boolean",
3752
+ "description": "Controlled collapsed state (rail mode)"
3753
+ },
3754
+ "defaultCollapsed": {
3755
+ "type": "boolean",
3756
+ "description": "Whether the rail is collapsed on first render (uncontrolled).",
3757
+ "default": false
3758
+ },
3759
+ "expandLabel": {
3760
+ "type": "string",
3761
+ "description": "Accessible label for the expand control.",
3762
+ "default": "Expand navigation"
3763
+ },
3764
+ "expandOnHover": {
3765
+ "type": "boolean",
3766
+ "description": "Widens the rail as an overlay on hover/focus-within; suppresses tooltips/flyouts",
3767
+ "default": false
3768
+ },
3769
+ "label": {
3770
+ "type": "string",
3771
+ "description": "Alias of `ariaLabel` — the same invisible accessible name under the other spelling. Neither is deprecated."
3772
+ },
3773
+ "showCollapseToggle": {
3774
+ "type": "boolean",
3775
+ "description": "Show the collapse/expand toggle control.",
3776
+ "default": true
3777
+ }
3778
+ },
3779
+ "additionalProperties": false
3780
+ },
3781
+ "slots": {
3782
+ "footer": {
3783
+ "arity": "one",
3784
+ "required": false,
3785
+ "description": "Content rendered above the collapse toggle, inside the item padding context so it lines up with the nav items (e.g. version string, user info). Pass a `({ collapsed }) => …` function to shrink it to a rail icon."
3786
+ },
3787
+ "header": {
3788
+ "arity": "one",
3789
+ "required": false,
3790
+ "description": "Content rendered above the items, inside the item padding context (e.g. app-context pickers). Pass a `({ collapsed }) => …` function to shrink it to a rail icon."
3791
+ }
3792
+ },
3793
+ "events": {
3794
+ "onCollapsedChange": {
3795
+ "description": "Called with the new collapsed state when it changes."
3796
+ }
3797
+ },
3798
+ "omitted": {
3799
+ "groups": {
3800
+ "type": "SideNavGroup[]",
3801
+ "reason": "unresolved-type"
3802
+ },
3803
+ "items": {
3804
+ "type": "SideNavItem[]",
3805
+ "reason": "unresolved-type"
3806
+ }
3807
+ }
3808
+ },
3809
+ "Skeleton": {
3810
+ "description": "Animated loading placeholder that mirrors the shape of pending content",
3811
+ "category": "display",
3812
+ "intent": {
3813
+ "whenToUse": [
3814
+ "Indicating loading by mirroring the shape of the content that will appear",
3815
+ "Reducing layout shift while data for a known structure is fetching",
3816
+ "Loading larger content regions where shape preview reassures the user",
3817
+ "Holding the place of a response an AI is still generating — set `ai`"
3818
+ ],
3819
+ "whenNotToUse": [
3820
+ "Indeterminate work with no known content shape — use Spinner",
3821
+ "A view that is empty rather than loading — use EmptyState"
3822
+ ]
3823
+ },
3824
+ "props": {
3825
+ "type": "object",
3826
+ "properties": {
3827
+ "ai": {
3828
+ "type": "boolean",
3829
+ "description": "Tints the placeholder and its sheen with the AI hue, marking content that an AI is generating (Carbon’s AI skeleton).",
3830
+ "default": false
3831
+ },
3832
+ "height": {
3833
+ "type": "string",
3834
+ "description": "CSS length applied as an inline custom property"
3835
+ },
3836
+ "lines": {
3837
+ "type": "number",
3838
+ "description": "Number of bars for the text variant; the last bar renders shorter",
3839
+ "default": 1
3840
+ },
3841
+ "variant": {
3842
+ "type": "string",
3843
+ "enum": ["text", "circle", "rect"],
3844
+ "description": "Shape of the placeholder: `text` (stacked lines), `circle` (an avatar), `rect` (a block).",
3845
+ "default": "text"
3846
+ },
3847
+ "width": {
3848
+ "type": "string",
3849
+ "description": "CSS length applied as an inline custom property"
3850
+ }
3851
+ },
3852
+ "additionalProperties": false
3853
+ },
3854
+ "slots": {},
3855
+ "events": {},
3856
+ "omitted": {}
3857
+ },
3858
+ "Slider": {
3859
+ "description": "Range input for selecting a value within bounds",
3860
+ "category": "inputs",
3861
+ "intent": {
3862
+ "whenToUse": [
3863
+ "Selecting a value within a continuous or stepped numeric range where approximate adjustment is fine",
3864
+ "Settings like volume, brightness, or opacity where dragging gives instant feedback",
3865
+ "When the bounds (min/max) matter more than entering an exact figure"
3866
+ ],
3867
+ "whenNotToUse": [
3868
+ "A precise numeric value must be typed — use NumberInput",
3869
+ "Picking a discrete rating on a small scale where stars/icons read better — use RatingGroup"
3870
+ ]
3871
+ },
3872
+ "props": {
3873
+ "type": "object",
3874
+ "properties": {
3875
+ "ariaLabel": {
3876
+ "type": "string",
3877
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
3878
+ },
3879
+ "defaultValue": {
3880
+ "type": "number",
3881
+ "description": "The initial value when uncontrolled."
3882
+ },
3883
+ "disabled": {
3884
+ "type": "boolean",
3885
+ "description": "When true, disables the control and removes it from the tab order.",
3886
+ "default": false
3887
+ },
3888
+ "label": {
3889
+ "type": "string",
3890
+ "description": "Text label for the control."
3891
+ },
3892
+ "max": {
3893
+ "type": "number",
3894
+ "description": "Maximum allowed value.",
3895
+ "default": 100
3896
+ },
3897
+ "min": {
3898
+ "type": "number",
3899
+ "description": "Minimum allowed value.",
3900
+ "default": 0
3901
+ },
3902
+ "step": {
3903
+ "type": "number",
3904
+ "description": "Increment between allowed values.",
3905
+ "default": 1
3906
+ },
3907
+ "value": {
3908
+ "type": "number",
3909
+ "description": "The controlled value."
3910
+ }
3911
+ },
3912
+ "additionalProperties": false
3913
+ },
3914
+ "slots": {},
3915
+ "events": {
3916
+ "onChange": {
3917
+ "description": "Called with the change event; read the new value from `event.target.value`."
3918
+ }
3919
+ },
3920
+ "omitted": {}
3921
+ },
3922
+ "Spacer": {
3923
+ "description": "Fixed-height spacing block using design token steps.",
3924
+ "category": "layout",
3925
+ "intent": {
3926
+ "whenToUse": [
3927
+ "Inserting a fixed vertical gap between blocks using spacing token steps",
3928
+ "Adding deliberate breathing room where margins are awkward"
3929
+ ],
3930
+ "whenNotToUse": [
3931
+ "Spacing a series of siblings — use Flex with a gap instead",
3932
+ "Arbitrary one-off spacing — prefer token-based gap props"
3933
+ ]
3934
+ },
3935
+ "props": {
3936
+ "type": "object",
3937
+ "properties": {
3938
+ "size": {
3939
+ "type": "number",
3940
+ "enum": [1, 2, 3, 4, 5, 6, 8, 10, 12],
3941
+ "description": "Spacing token step",
3942
+ "default": 4
3943
+ }
3944
+ },
3945
+ "additionalProperties": false
3946
+ },
3947
+ "slots": {},
3948
+ "events": {},
3949
+ "omitted": {}
3950
+ },
3951
+ "Spinner": {
3952
+ "description": "Indeterminate loading indicator",
3953
+ "category": "feedback",
3954
+ "intent": {
3955
+ "whenToUse": [
3956
+ "Indicating indeterminate work where duration and progress are unknown",
3957
+ "Loading a small region or inline control where a shape preview is unnecessary",
3958
+ "Showing busy state in buttons or compact UI"
3959
+ ],
3960
+ "whenNotToUse": [
3961
+ "Progress with a known percentage — use ProgressBar or ProgressCircle",
3962
+ "Loading content with a known structure — use Skeleton"
3963
+ ]
3964
+ },
3965
+ "props": {
3966
+ "type": "object",
3967
+ "properties": {
3968
+ "ariaLabel": {
3969
+ "type": "string",
3970
+ "description": "Alias of `label` — the same invisible accessible name under the catalog spelling. Neither is deprecated."
3971
+ },
3972
+ "label": {
3973
+ "type": "string",
3974
+ "description": "Accessible label announced by screen readers",
3975
+ "default": "Loading"
3976
+ },
3977
+ "size": {
3978
+ "type": "string",
3979
+ "enum": ["sm", "md", "lg"],
3980
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
3981
+ "default": "md"
3982
+ }
3983
+ },
3984
+ "additionalProperties": false
3985
+ },
3986
+ "slots": {},
3987
+ "events": {},
3988
+ "omitted": {}
3989
+ },
3990
+ "Stat": {
3991
+ "description": "Displays a key metric with optional delta, trend direction and help text",
3992
+ "category": "display",
3993
+ "intent": {
3994
+ "whenToUse": [
3995
+ "Highlighting a single key metric with a clear label",
3996
+ "Showing change over time with a delta and trend direction",
3997
+ "Annotating a metric with methodology or time-range help text"
3998
+ ],
3999
+ "whenNotToUse": [
4000
+ "Multiple comparable rows of data — use DataTable",
4001
+ "A non-numeric status label — use Badge or Status"
4002
+ ]
4003
+ },
4004
+ "props": {
4005
+ "type": "object",
4006
+ "properties": {
4007
+ "card": {
4008
+ "type": "boolean",
4009
+ "description": "Wrap the tile in the same card chrome `@cascivo/charts`' `Kpi` ships (surface, border, radius, padding), so a `Stat` row and a `Kpi` row in one dashboard read as one system. Off by default: `Stat` is layout-only so it can sit inside a `Card` you control.",
4010
+ "default": false
4011
+ },
4012
+ "delta": {
4013
+ "type": "string",
4014
+ "description": "Change indicator rendered next to the trend arrow"
4015
+ },
4016
+ "goodDirection": {
4017
+ "type": "string",
4018
+ "enum": ["up", "down", "neutral"],
4019
+ "description": "Which direction is *good* for this metric — the colour, independent of the arrow. 'up' (default) is the classic revenue tile; use 'down' for errors, latency, cost or churn, where a rise is bad news; 'neutral' keeps the arrow and drops the sentiment colour.",
4020
+ "default": "up"
4021
+ },
4022
+ "helpText": {
4023
+ "type": "string",
4024
+ "description": "Fine print below the value (methodology, time range)"
4025
+ },
4026
+ "label": {
4027
+ "type": "string",
4028
+ "description": "What the metric measures — rendered visibly above the value."
4029
+ },
4030
+ "trend": {
4031
+ "type": "string",
4032
+ "enum": ["up", "down", "flat"],
4033
+ "description": "Direction of the trend indicator ('up' | 'down' | 'flat').",
4034
+ "default": "flat"
4035
+ },
4036
+ "value": {
4037
+ "anyOf": [
4038
+ {
4039
+ "type": "string"
4040
+ },
4041
+ {
4042
+ "type": "number"
4043
+ }
4044
+ ],
4045
+ "description": "The metric value"
4046
+ }
4047
+ },
4048
+ "required": ["label", "value"],
4049
+ "additionalProperties": false
4050
+ },
4051
+ "slots": {
4052
+ "visual": {
4053
+ "arity": "one",
4054
+ "required": false,
4055
+ "description": "Trailing decorative visual, e.g. a Sparkline from the separate @cascivo/charts package (not exported from @cascivo/react), rendered below the value/delta/helpText"
4056
+ }
4057
+ },
4058
+ "events": {},
4059
+ "omitted": {}
4060
+ },
4061
+ "Status": {
4062
+ "description": "Colored dot with a label communicating the state of a system or entity",
4063
+ "category": "display",
4064
+ "intent": {
4065
+ "whenToUse": [
4066
+ "Communicating the live state of a system or entity (operational, deploying, down)",
4067
+ "Pairing a colored dot with a text label for an at-a-glance state",
4068
+ "Drawing attention to an active/changing state with an optional pulse"
4069
+ ],
4070
+ "whenNotToUse": [
4071
+ "A static category or count label — use Badge",
4072
+ "An identity thumbnail with presence — use Avatar with its status prop"
4073
+ ]
4074
+ },
4075
+ "props": {
4076
+ "type": "object",
4077
+ "properties": {
4078
+ "pulse": {
4079
+ "type": "boolean",
4080
+ "description": "Pulses the dot — gated behind prefers-reduced-motion: no-preference",
4081
+ "default": false
4082
+ },
4083
+ "status": {
4084
+ "type": "string",
4085
+ "enum": ["success", "warning", "error", "info", "neutral"],
4086
+ "description": "Status state.",
4087
+ "default": "neutral"
4088
+ }
4089
+ },
4090
+ "additionalProperties": false
4091
+ },
4092
+ "slots": {
4093
+ "children": {
4094
+ "arity": "many",
4095
+ "required": false,
4096
+ "description": "Status label",
4097
+ "text": true
4098
+ }
4099
+ },
4100
+ "events": {},
4101
+ "omitted": {}
4102
+ },
4103
+ "Steps": {
4104
+ "description": "Visual progress indicator for multi-step flows with horizontal and vertical orientations",
4105
+ "category": "navigation",
4106
+ "intent": {
4107
+ "whenToUse": [
4108
+ "Checkout flows where the user moves through a fixed sequence of screens",
4109
+ "Onboarding wizards with a known number of steps",
4110
+ "Multi-step forms where showing overall progress reduces abandonment"
4111
+ ],
4112
+ "whenNotToUse": [
4113
+ "General section navigation — use Tabs instead",
4114
+ "Simple back/next controls without step labels — use Pagination instead",
4115
+ "More than 7 steps where the connector lines become unreadable on mobile"
4116
+ ]
4117
+ },
4118
+ "props": {
4119
+ "type": "object",
4120
+ "properties": {
4121
+ "activeStep": {
4122
+ "type": "number",
4123
+ "description": "Index of the currently active step (0-based)",
4124
+ "default": 0
4125
+ },
4126
+ "ariaLabel": {
4127
+ "type": "string",
4128
+ "description": "Accessible label for the steps navigation; defaults to the built-in i18n string."
4129
+ },
4130
+ "className": {
4131
+ "type": "string",
4132
+ "description": "Additional CSS class names merged onto the root element."
4133
+ },
4134
+ "items": {
4135
+ "type": "array",
4136
+ "items": {
4137
+ "type": "object",
4138
+ "properties": {
4139
+ "label": {
4140
+ "type": "string",
4141
+ "description": "Visible step label."
4142
+ },
4143
+ "id": {
4144
+ "type": "string",
4145
+ "description": "Stable identity, used as the React key so reordering keeps DOM nodes."
4146
+ }
4147
+ },
4148
+ "required": ["label"],
4149
+ "description": "Shape of an entry in `steps` / `items`."
4150
+ },
4151
+ "description": "Alias of `steps` — the catalog-wide name for a config-driven collection. Exactly one of the two is required."
4152
+ },
4153
+ "label": {
4154
+ "type": "string",
4155
+ "description": "Alias of `ariaLabel` — the same invisible accessible name under the other spelling. Neither is deprecated."
4156
+ },
4157
+ "orientation": {
4158
+ "type": "string",
4159
+ "enum": ["horizontal", "vertical"],
4160
+ "description": "Axis the steps flow along: `horizontal` runs them across with connectors between, `vertical` stacks them down the page.",
4161
+ "default": "horizontal"
4162
+ },
4163
+ "steps": {
4164
+ "type": "array",
4165
+ "items": {
4166
+ "type": "object",
4167
+ "properties": {
4168
+ "label": {
4169
+ "type": "string",
4170
+ "description": "Visible step label."
4171
+ },
4172
+ "id": {
4173
+ "type": "string",
4174
+ "description": "Stable identity, used as the React key so reordering keeps DOM nodes."
4175
+ }
4176
+ },
4177
+ "required": ["label"],
4178
+ "description": "Shape of an entry in `steps` / `items`."
4179
+ },
4180
+ "description": "Array of step objects with label and optional explicit state"
4181
+ }
4182
+ },
4183
+ "additionalProperties": false
4184
+ },
4185
+ "slots": {},
4186
+ "events": {},
4187
+ "omitted": {}
4188
+ },
4189
+ "Switcher": {
4190
+ "description": "Always-visible app/product switcher LIST — every entry is rendered at once, it does not collapse. Lives inside HeaderPanel; renders links with an active indicator and optional dividers. For a collapsed trigger with a menu, use Dropdown.",
4191
+ "category": "navigation",
4192
+ "intent": {
4193
+ "whenToUse": [
4194
+ "Listing sibling apps/products the user can switch between",
4195
+ "Rendering switch destinations inside a HeaderPanel opened from the shell header",
4196
+ "Grouping switch targets with dividers and marking the active one"
4197
+ ],
4198
+ "whenNotToUse": [
4199
+ "Primary in-app navigation — use SideNav",
4200
+ "A small action menu attached to a control — use Dropdown",
4201
+ "A COLLAPSED workspace/team switcher with one visible row and a menu on click — use Dropdown. Switcher renders every entry, permanently: it is an always-visible list, not a collapsing control, and the name misleads (2026-08-21 report item 5)"
4202
+ ]
4203
+ },
4204
+ "props": {
4205
+ "type": "object",
4206
+ "properties": {
4207
+ "ariaLabel": {
4208
+ "type": "string",
4209
+ "description": "Alias of `label` — the same invisible accessible name under the catalog spelling. Neither is deprecated."
4210
+ },
4211
+ "className": {
4212
+ "type": "string",
4213
+ "description": "Additional CSS class names merged onto the root element."
4214
+ },
4215
+ "label": {
4216
+ "type": "string",
4217
+ "description": "Accessible name for the switcher list. Not rendered — screen readers only.",
4218
+ "default": "Switch application"
4219
+ }
4220
+ },
4221
+ "additionalProperties": false
4222
+ },
4223
+ "slots": {},
4224
+ "events": {},
4225
+ "omitted": {
4226
+ "items": {
4227
+ "type": "SwitcherEntry[]",
4228
+ "reason": "unresolved-type"
4229
+ }
4230
+ }
4231
+ },
4232
+ "Tabs": {
4233
+ "description": "Switch between related panels of content",
4234
+ "category": "navigation",
4235
+ "intent": {
4236
+ "whenToUse": [
4237
+ "Switching between peer panels of related content in the same context",
4238
+ "Showing one section at a time when all sections are equally important"
4239
+ ],
4240
+ "whenNotToUse": [
4241
+ "Stacked sequential content the user reads top to bottom — use Accordion",
4242
+ "Changing a setting or view parameter — use a SegmentedControl",
4243
+ "Navigating between pages — use links"
4244
+ ]
4245
+ },
4246
+ "props": {
4247
+ "type": "object",
4248
+ "properties": {
4249
+ "defaultValue": {
4250
+ "type": "string",
4251
+ "description": "The initial value when uncontrolled."
4252
+ },
4253
+ "value": {
4254
+ "type": "string",
4255
+ "description": "The controlled value."
4256
+ }
4257
+ },
4258
+ "additionalProperties": false
4259
+ },
4260
+ "slots": {
4261
+ "children": {
4262
+ "arity": "many",
4263
+ "required": true,
4264
+ "description": "TabsList and TabsContent elements",
4265
+ "text": true
4266
+ }
4267
+ },
4268
+ "events": {
4269
+ "onValueChange": {
4270
+ "description": "Called with the new value when it changes."
4271
+ }
4272
+ },
4273
+ "omitted": {}
4274
+ },
4275
+ "Tag": {
4276
+ "description": "Compact chip for labeling, categorizing, or filtering content",
4277
+ "category": "display",
4278
+ "intent": {
4279
+ "whenToUse": [
4280
+ "Labeling, categorizing, or filtering content with a compact chip",
4281
+ "Representing a removable selection or active filter (onDismiss)",
4282
+ "Showing a set of keywords or attributes on an item"
4283
+ ],
4284
+ "whenNotToUse": [
4285
+ "A static, non-interactive status label — use Badge",
4286
+ "A live system state with a dot — use Status"
4287
+ ]
4288
+ },
4289
+ "props": {
4290
+ "type": "object",
4291
+ "properties": {
4292
+ "dismissLabel": {
4293
+ "type": "string",
4294
+ "description": "Accessible label for the dismiss button.",
4295
+ "default": "Remove"
4296
+ },
4297
+ "size": {
4298
+ "type": "string",
4299
+ "enum": ["sm", "md"],
4300
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
4301
+ "default": "md"
4302
+ },
4303
+ "variant": {
4304
+ "type": "string",
4305
+ "enum": ["default", "info", "success", "warning", "error"],
4306
+ "description": "Severity tone. Accepts the catalog-wide `Tone` vocabulary (`neutral | info | success | warning | danger`) plus Tag's historical spellings (`default` → neutral, `error`/`destructive` → danger).",
4307
+ "default": "default"
4308
+ }
4309
+ },
4310
+ "additionalProperties": false
4311
+ },
4312
+ "slots": {
4313
+ "children": {
4314
+ "arity": "many",
4315
+ "required": false,
4316
+ "description": "Tag label",
4317
+ "text": true
4318
+ }
4319
+ },
4320
+ "events": {
4321
+ "onDismiss": {
4322
+ "description": "When provided, renders a trailing remove button inside the chip"
4323
+ }
4324
+ },
4325
+ "omitted": {}
4326
+ },
4327
+ "Text": {
4328
+ "description": "Body text with size, weight, and muted variants",
4329
+ "category": "display",
4330
+ "intent": {
4331
+ "whenToUse": [
4332
+ "Rendering body copy, paragraphs, and inline text in app UI",
4333
+ "Applying size/weight/muted treatment to secondary or emphasized text",
4334
+ "Inline emphasis inside flow content (as=\"span\")"
4335
+ ],
4336
+ "whenNotToUse": [
4337
+ "Section or page titles — use Heading for the document outline",
4338
+ "Long-form authored/markdown content — use Prose"
4339
+ ]
4340
+ },
4341
+ "props": {
4342
+ "type": "object",
4343
+ "properties": {
4344
+ "as": {
4345
+ "type": "string",
4346
+ "enum": ["p", "span", "div"],
4347
+ "description": "`p` for a paragraph, `span` for inline text, `div` for a block that imposes no semantics of its own.",
4348
+ "default": "p"
4349
+ },
4350
+ "muted": {
4351
+ "type": "boolean",
4352
+ "description": "When true, renders in a muted/subtle color. `Text` has no `tone` prop: `tone` is the severity vocabulary (Status, Badge, Timeline, SideNav); text emphasis is `muted`.",
4353
+ "default": false
4354
+ },
4355
+ "size": {
4356
+ "type": "string",
4357
+ "enum": ["sm", "md", "lg"],
4358
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
4359
+ "default": "md"
4360
+ },
4361
+ "weight": {
4362
+ "type": "string",
4363
+ "enum": ["normal", "medium", "semibold"],
4364
+ "description": "Font weight ('normal' | 'medium' | 'semibold').",
4365
+ "default": "normal"
4366
+ }
4367
+ },
4368
+ "additionalProperties": false
4369
+ },
4370
+ "slots": {
4371
+ "children": {
4372
+ "arity": "many",
4373
+ "required": false,
4374
+ "description": "Text content",
4375
+ "text": true
4376
+ }
4377
+ },
4378
+ "events": {},
4379
+ "omitted": {}
4380
+ },
4381
+ "Textarea": {
4382
+ "description": "Multi-line text input with optional label, hint, and error state",
4383
+ "category": "inputs",
4384
+ "intent": {
4385
+ "whenToUse": [
4386
+ "Capturing multi-line free text such as messages, descriptions, or comments",
4387
+ "Input where line breaks are meaningful and the content may wrap to several rows",
4388
+ "Form fields that benefit from a visible hint or validation error beneath the control"
4389
+ ],
4390
+ "whenNotToUse": [
4391
+ "A single short value like a name or email — use Input",
4392
+ "A constrained numeric value — use NumberInput"
4393
+ ]
4394
+ },
4395
+ "props": {
4396
+ "type": "object",
4397
+ "properties": {
4398
+ "ai": {
4399
+ "type": "boolean",
4400
+ "description": "AI presence: an AI-tinted border and a soft aura, marking a value AI produced or suggested. Visual only — put an AiBadge in the label so the provenance is also text, and clear `ai` once the person edits the value.",
4401
+ "default": false
4402
+ },
4403
+ "ariaLabel": {
4404
+ "type": "string",
4405
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
4406
+ },
4407
+ "autosize": {
4408
+ "type": "boolean",
4409
+ "description": "Grow the control with its content instead of holding the fixed rows height. rows becomes the minimum and --cascivo-textarea-max-block-size (default 20lh) the ceiling. Pure CSS (field-sizing: content) — no measurement and no listener; where unsupported the fixed rows height is kept.",
4410
+ "default": false
4411
+ },
4412
+ "defaultValue": {
4413
+ "type": "string",
4414
+ "description": "The initial value when uncontrolled."
4415
+ },
4416
+ "disabled": {
4417
+ "type": "boolean",
4418
+ "description": "When true, disables the control and removes it from the tab order.",
4419
+ "default": false
4420
+ },
4421
+ "error": {
4422
+ "type": "string",
4423
+ "description": "Error message shown when the value is invalid."
4424
+ },
4425
+ "hint": {
4426
+ "type": "string",
4427
+ "description": "Supplementary hint text shown with the control."
4428
+ },
4429
+ "label": {
4430
+ "type": "string",
4431
+ "description": "Text label for the control (standalone use). Omit it when wrapping the Textarea in a Field — the Field owns the label, and setting both double-labels the control."
4432
+ },
4433
+ "resize": {
4434
+ "type": "string",
4435
+ "enum": ["none", "vertical", "both"],
4436
+ "description": "Which directions the textarea can be resized ('none' | 'vertical' | 'both').",
4437
+ "default": "vertical"
4438
+ },
4439
+ "rows": {
4440
+ "type": "number",
4441
+ "description": "Number of visible text rows.",
4442
+ "default": 4
4443
+ },
4444
+ "value": {
4445
+ "type": "string",
4446
+ "description": "The controlled value."
4447
+ }
4448
+ },
4449
+ "additionalProperties": false
4450
+ },
4451
+ "slots": {},
4452
+ "events": {
4453
+ "onChange": {
4454
+ "description": "Called with the change event; read the new value from `event.target.value`."
4455
+ }
4456
+ },
4457
+ "omitted": {}
4458
+ },
4459
+ "TimePicker": {
4460
+ "description": "Native time input wrapper with label, hint, error, and size variants",
4461
+ "category": "inputs",
4462
+ "intent": {
4463
+ "whenToUse": [
4464
+ "Capturing a time of day (HH:mm) in a form, such as a meeting or reminder time",
4465
+ "You want the native OS time entry UX with built-in formatting and validation",
4466
+ "A time field that needs a label, hint, error, or min/max bounds"
4467
+ ],
4468
+ "whenNotToUse": [
4469
+ "Picking a calendar date — use DatePicker",
4470
+ "A free-form or non-time text value — use Input"
4471
+ ]
4472
+ },
4473
+ "props": {
4474
+ "type": "object",
4475
+ "properties": {
4476
+ "ariaLabel": {
4477
+ "type": "string",
4478
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
4479
+ },
4480
+ "className": {
4481
+ "type": "string",
4482
+ "description": "Additional CSS class names merged onto the root element."
4483
+ },
4484
+ "defaultValue": {
4485
+ "type": "string",
4486
+ "description": "The initial value when uncontrolled."
4487
+ },
4488
+ "disabled": {
4489
+ "type": "boolean",
4490
+ "description": "When true, disables the control and removes it from the tab order."
4491
+ },
4492
+ "error": {
4493
+ "type": "string",
4494
+ "description": "Error message shown when the value is invalid."
4495
+ },
4496
+ "hint": {
4497
+ "type": "string",
4498
+ "description": "Supplementary hint text shown with the control."
4499
+ },
4500
+ "label": {
4501
+ "type": "string",
4502
+ "description": "Text label for the control."
4503
+ },
4504
+ "max": {
4505
+ "type": "string",
4506
+ "description": "Maximum allowed value."
4507
+ },
4508
+ "min": {
4509
+ "type": "string",
4510
+ "description": "Minimum allowed value."
4511
+ },
4512
+ "size": {
4513
+ "type": "string",
4514
+ "enum": ["sm", "md", "lg"],
4515
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
4516
+ "default": "md"
4517
+ },
4518
+ "step": {
4519
+ "type": "number",
4520
+ "description": "Increment between allowed values."
4521
+ },
4522
+ "value": {
4523
+ "type": "string",
4524
+ "description": "Controlled value (HH:mm)"
4525
+ }
4526
+ },
4527
+ "additionalProperties": false
4528
+ },
4529
+ "slots": {},
4530
+ "events": {
4531
+ "onValueChange": {
4532
+ "description": "Called with the new HH:MM time string when the value changes."
4533
+ }
4534
+ },
4535
+ "omitted": {}
4536
+ },
4537
+ "Timeline": {
4538
+ "description": "Ordered sequence of events with status markers and a connector line",
4539
+ "category": "display",
4540
+ "intent": {
4541
+ "whenToUse": [
4542
+ "Showing an ordered sequence of events over time (activity feeds, order tracking)",
4543
+ "Communicating progress through discrete stages with complete/current/upcoming status",
4544
+ "Presenting a chronological history where order is meaningful"
4545
+ ],
4546
+ "whenNotToUse": [
4547
+ "Interactive multi-step navigation the user controls — use Tabs or a Stepper",
4548
+ "Unordered lists where sequence carries no meaning — use List"
4549
+ ]
4550
+ },
4551
+ "props": {
4552
+ "type": "object",
4553
+ "properties": {
4554
+ "items": {
4555
+ "type": "array",
4556
+ "items": {
4557
+ "type": "object",
4558
+ "properties": {
4559
+ "id": {
4560
+ "type": "string"
4561
+ },
4562
+ "title": {
4563
+ "type": "string"
4564
+ },
4565
+ "description": {
4566
+ "type": "string"
4567
+ },
4568
+ "time": {
4569
+ "type": "string"
4570
+ },
4571
+ "icon": {
4572
+ "type": "string"
4573
+ },
4574
+ "status": {
4575
+ "type": "string",
4576
+ "enum": ["complete", "current", "upcoming"]
4577
+ },
4578
+ "tone": {
4579
+ "type": "string",
4580
+ "enum": ["neutral", "info", "success", "warning", "danger"]
4581
+ }
4582
+ },
4583
+ "required": ["id", "title"],
4584
+ "additionalProperties": false
4585
+ },
4586
+ "description": "The items to render."
4587
+ },
4588
+ "orientation": {
4589
+ "type": "string",
4590
+ "enum": ["vertical", "horizontal"],
4591
+ "description": "Axis the entries flow along: `vertical` stacks them down the page (the usual reading order), `horizontal` runs them across.",
4592
+ "default": "vertical"
4593
+ }
4594
+ },
4595
+ "required": ["items"],
4596
+ "additionalProperties": false
4597
+ },
4598
+ "slots": {},
4599
+ "events": {},
4600
+ "omitted": {}
4601
+ },
4602
+ "Toast": {
4603
+ "description": "Transient notification surfaced via the useToast hook",
4604
+ "category": "overlay",
4605
+ "intent": {
4606
+ "whenToUse": [
4607
+ "Confirming that a background or just-completed action succeeded or failed (e.g. \"Saved\")",
4608
+ "Brief, transient feedback that should auto-dismiss without interrupting the task",
4609
+ "Non-blocking notifications that can stack and disappear on their own"
4610
+ ],
4611
+ "whenNotToUse": [
4612
+ "A persistent, inline message tied to a specific region of the page — use Alert",
4613
+ "Feedback that requires the user to acknowledge or decide before continuing — use Modal or AlertDialog"
4614
+ ]
4615
+ },
4616
+ "props": {
4617
+ "type": "object",
4618
+ "properties": {
4619
+ "description": {
4620
+ "type": "string",
4621
+ "description": "Supporting description text."
4622
+ },
4623
+ "duration": {
4624
+ "type": "number",
4625
+ "description": "How long (ms) the toast stays visible before auto-dismiss.",
4626
+ "default": 5000
4627
+ },
4628
+ "title": {
4629
+ "type": "string",
4630
+ "description": "Title text for the component."
4631
+ },
4632
+ "variant": {
4633
+ "type": "string",
4634
+ "enum": ["default", "success", "warning", "destructive"],
4635
+ "description": "Severity tone: `default` (neutral), `success`, `warning` or `destructive`. Sets the icon and the accent colour. Unlike Badge/Tag/Notification this is a private union, not `ToneInput` — the canonical `danger`/`neutral` spellings are not accepted here.",
4636
+ "default": "default"
4637
+ }
4638
+ },
4639
+ "required": ["title"],
4640
+ "additionalProperties": false
4641
+ },
4642
+ "slots": {},
4643
+ "events": {},
4644
+ "omitted": {}
4645
+ },
4646
+ "Toggle": {
4647
+ "description": "On/off switch built as an accessible button",
4648
+ "category": "inputs",
4649
+ "intent": {
4650
+ "whenToUse": [
4651
+ "Flipping a single binary setting that takes effect immediately (e.g. notifications on/off)",
4652
+ "On/off state where a physical switch metaphor reads better than a checkmark",
4653
+ "Settings screens where the change applies live without a separate submit"
4654
+ ],
4655
+ "whenNotToUse": [
4656
+ "Selecting items in a form that is submitted later — use Checkbox",
4657
+ "Choosing one option among several mutually exclusive labels — use SegmentedControl or Radio"
4658
+ ]
4659
+ },
4660
+ "props": {
4661
+ "type": "object",
4662
+ "properties": {
4663
+ "ariaLabel": {
4664
+ "type": "string",
4665
+ "description": "Invisible accessible name, for when a visible element outside this component already labels it and `label` would render that text a second time. ⚠ `label` on this component is **visible**; `IconButton.label`/`Sparkline.label` are invisible names, which is the prior that costs adopters a duplicated label. The raw DOM `aria-label` still wins over this."
4666
+ },
4667
+ "checked": {
4668
+ "type": "boolean",
4669
+ "description": "Whether the control is checked (controlled)."
4670
+ },
4671
+ "defaultChecked": {
4672
+ "type": "boolean",
4673
+ "description": "Whether the control is checked on first render (uncontrolled).",
4674
+ "default": false
4675
+ },
4676
+ "disabled": {
4677
+ "type": "boolean",
4678
+ "description": "When true, disables the control and removes it from the tab order.",
4679
+ "default": false
4680
+ },
4681
+ "label": {
4682
+ "type": "string",
4683
+ "description": "Visible text label beside the switch; it also becomes the accessible name. When a heading already labels the control, omit this and pass aria-label instead to avoid duplicated text."
4684
+ },
4685
+ "size": {
4686
+ "type": "string",
4687
+ "enum": ["sm", "md"],
4688
+ "description": "Visual size of the component (e.g. 'sm', 'md', 'lg').",
4689
+ "default": "md"
4690
+ }
4691
+ },
4692
+ "additionalProperties": false
4693
+ },
4694
+ "slots": {},
4695
+ "events": {
4696
+ "onValueChange": {
4697
+ "description": "Called with the new checked state when the switch is toggled."
4698
+ }
4699
+ },
4700
+ "omitted": {}
4701
+ },
4702
+ "Tooltip": {
4703
+ "description": "Contextual label shown on hover or focus",
4704
+ "category": "overlay",
4705
+ "intent": {
4706
+ "whenToUse": [
4707
+ "Labeling an icon-only control or clarifying a terse element on hover or focus",
4708
+ "Showing brief, supplementary text that is non-essential to completing the task",
4709
+ "Progressive disclosure of a short hint anchored to a trigger element"
4710
+ ],
4711
+ "whenNotToUse": [
4712
+ "The content is interactive (links, buttons, inputs) — use Popover",
4713
+ "Richer non-interactive preview content is needed — use HoverCard",
4714
+ "The information is essential and must always be visible — render it inline instead"
4715
+ ]
4716
+ },
4717
+ "props": {
4718
+ "type": "object",
4719
+ "properties": {
4720
+ "delay": {
4721
+ "type": "number",
4722
+ "description": "Milliseconds to wait before showing",
4723
+ "default": 200
4724
+ },
4725
+ "placement": {
4726
+ "type": "string",
4727
+ "enum": ["top", "right", "bottom", "left"],
4728
+ "description": "Side of the trigger the tip opens on: `top`, `right`, `bottom` or `left`.",
4729
+ "default": "top"
4730
+ }
4731
+ },
4732
+ "additionalProperties": false
4733
+ },
4734
+ "slots": {
4735
+ "children": {
4736
+ "arity": "many",
4737
+ "required": true,
4738
+ "description": "Content rendered inside the component.",
4739
+ "text": true
4740
+ },
4741
+ "content": {
4742
+ "arity": "one",
4743
+ "required": true,
4744
+ "description": "The tooltip content shown on hover/focus."
4745
+ }
4746
+ },
4747
+ "events": {},
4748
+ "omitted": {}
4749
+ }
4750
+ }
4751
+ }