@adia-ai/a2ui-corpus 0.4.7 → 0.4.9

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.
@@ -65,6 +65,7 @@
65
65
  "x-adiaui": {
66
66
  "anti_patterns": [],
67
67
  "category": "container",
68
+ "composes": [],
68
69
  "events": {
69
70
  "a2ui-action": {
70
71
  "description": "Fired when a child element with [data-action] is clicked. detail: { name, sourceComponentId, context }"
@@ -157,6 +158,9 @@
157
158
  "x-adiaui": {
158
159
  "anti_patterns": [],
159
160
  "category": "container",
161
+ "composes": [
162
+ "icon-ui"
163
+ ],
160
164
  "events": {
161
165
  "change": {
162
166
  "description": "Fired when the set of open panels changes"
@@ -279,9 +283,26 @@
279
283
  "x-adiaui": {
280
284
  "anti_patterns": [],
281
285
  "category": "navigation",
286
+ "composes": [
287
+ "icon-ui"
288
+ ],
282
289
  "events": {
283
290
  "action": {
284
- "description": "Fired on action."
291
+ "description": "Fired on action.",
292
+ "detail": {
293
+ "item": {
294
+ "description": "The triggering list-item element.",
295
+ "type": "object"
296
+ },
297
+ "text": {
298
+ "description": "Item text content or [text] attribute.",
299
+ "type": "string"
300
+ },
301
+ "value": {
302
+ "description": "Item value attribute (preferred over text for stable IDs).",
303
+ "type": "string"
304
+ }
305
+ }
285
306
  }
286
307
  },
287
308
  "examples": [
@@ -361,6 +382,7 @@
361
382
  "x-adiaui": {
362
383
  "anti_patterns": [],
363
384
  "category": "interaction",
385
+ "composes": [],
364
386
  "events": {
365
387
  "command-select": {
366
388
  "description": "Forwarded from the inner <command-ui> when an option is chosen. Detail mirrors the inner event's detail.",
@@ -441,6 +463,7 @@
441
463
  "x-adiaui": {
442
464
  "anti_patterns": [],
443
465
  "category": "layout",
466
+ "composes": [],
444
467
  "events": {},
445
468
  "examples": [],
446
469
  "keywords": [
@@ -512,6 +535,7 @@
512
535
  "x-adiaui": {
513
536
  "anti_patterns": [],
514
537
  "category": "layout",
538
+ "composes": [],
515
539
  "events": {},
516
540
  "examples": [],
517
541
  "keywords": [
@@ -584,6 +608,7 @@
584
608
  "x-adiaui": {
585
609
  "anti_patterns": [],
586
610
  "category": "layout",
611
+ "composes": [],
587
612
  "events": {},
588
613
  "examples": [],
589
614
  "keywords": [
@@ -644,6 +669,7 @@
644
669
  "x-adiaui": {
645
670
  "anti_patterns": [],
646
671
  "category": "layout",
672
+ "composes": [],
647
673
  "events": {},
648
674
  "examples": [],
649
675
  "keywords": [
@@ -704,6 +730,7 @@
704
730
  "x-adiaui": {
705
731
  "anti_patterns": [],
706
732
  "category": "layout",
733
+ "composes": [],
707
734
  "events": {},
708
735
  "examples": [],
709
736
  "keywords": [
@@ -794,6 +821,7 @@
794
821
  "x-adiaui": {
795
822
  "anti_patterns": [],
796
823
  "category": "layout",
824
+ "composes": [],
797
825
  "events": {
798
826
  "sidebar-resize": {
799
827
  "description": "Bubbles when an active pointer-drag releases.",
@@ -900,6 +928,7 @@
900
928
  "x-adiaui": {
901
929
  "anti_patterns": [],
902
930
  "category": "layout",
931
+ "composes": [],
903
932
  "events": {},
904
933
  "examples": [],
905
934
  "keywords": [
@@ -979,6 +1008,7 @@
979
1008
  "x-adiaui": {
980
1009
  "anti_patterns": [],
981
1010
  "category": "layout",
1011
+ "composes": [],
982
1012
  "events": {},
983
1013
  "examples": [],
984
1014
  "keywords": [
@@ -1085,9 +1115,19 @@
1085
1115
  "x-adiaui": {
1086
1116
  "anti_patterns": [],
1087
1117
  "category": "agent",
1118
+ "composes": [
1119
+ "icon-ui",
1120
+ "badge-ui"
1121
+ ],
1088
1122
  "events": {
1089
1123
  "artifact-toggle": {
1090
- "description": "Fired on artifact-toggle."
1124
+ "description": "Fired on artifact-toggle.",
1125
+ "detail": {
1126
+ "collapsed": {
1127
+ "description": "New collapsed state after the toggle.",
1128
+ "type": "boolean"
1129
+ }
1130
+ }
1091
1131
  }
1092
1132
  },
1093
1133
  "examples": [
@@ -1172,9 +1212,18 @@
1172
1212
  "x-adiaui": {
1173
1213
  "anti_patterns": [],
1174
1214
  "category": "agent",
1215
+ "composes": [
1216
+ "button-ui"
1217
+ ],
1175
1218
  "events": {
1176
1219
  "feedback-rate": {
1177
- "description": "Fired on feedback-rate."
1220
+ "description": "Fired on feedback-rate.",
1221
+ "detail": {
1222
+ "rating": {
1223
+ "description": "Rating value selected by the user.",
1224
+ "type": "number"
1225
+ }
1226
+ }
1178
1227
  },
1179
1228
  "feedback-save": {
1180
1229
  "description": "Fired on feedback-save."
@@ -1266,9 +1315,22 @@
1266
1315
  "x-adiaui": {
1267
1316
  "anti_patterns": [],
1268
1317
  "category": "agent",
1318
+ "composes": [
1319
+ "button-ui"
1320
+ ],
1269
1321
  "events": {
1270
1322
  "questions-answer": {
1271
- "description": "Fired on questions-answer."
1323
+ "description": "Fired on questions-answer.",
1324
+ "detail": {
1325
+ "option": {
1326
+ "description": "The full selected option object.",
1327
+ "type": "object"
1328
+ },
1329
+ "selected": {
1330
+ "description": "Array of selected option IDs.",
1331
+ "type": "array"
1332
+ }
1333
+ }
1272
1334
  }
1273
1335
  },
1274
1336
  "examples": [
@@ -1359,15 +1421,41 @@
1359
1421
  "x-adiaui": {
1360
1422
  "anti_patterns": [],
1361
1423
  "category": "agent",
1424
+ "composes": [
1425
+ "timeline-ui",
1426
+ "timeline-item-ui"
1427
+ ],
1362
1428
  "events": {
1363
1429
  "reasoning-finish": {
1364
- "description": "Fired on reasoning-finish."
1430
+ "description": "Fired on reasoning-finish.",
1431
+ "detail": {
1432
+ "status": {
1433
+ "description": "Whether reasoning was resolved.",
1434
+ "type": "boolean"
1435
+ },
1436
+ "summary": {
1437
+ "description": "Summary label text rendered after finish.",
1438
+ "type": "string"
1439
+ }
1440
+ }
1365
1441
  },
1366
1442
  "reasoning-step-toggle": {
1367
- "description": "Fired on reasoning-step-toggle."
1443
+ "description": "Fired on reasoning-step-toggle.",
1444
+ "detail": {
1445
+ "stepId": {
1446
+ "description": "ID of the toggled reasoning step (matches data-step-id).",
1447
+ "type": "string"
1448
+ }
1449
+ }
1368
1450
  },
1369
1451
  "reasoning-toggle": {
1370
- "description": "Fired on reasoning-toggle."
1452
+ "description": "Fired on reasoning-toggle.",
1453
+ "detail": {
1454
+ "collapsed": {
1455
+ "description": "Whether the reasoning section is now collapsed.",
1456
+ "type": "boolean"
1457
+ }
1458
+ }
1371
1459
  }
1372
1460
  },
1373
1461
  "examples": [
@@ -1452,9 +1540,26 @@
1452
1540
  "x-adiaui": {
1453
1541
  "anti_patterns": [],
1454
1542
  "category": "agent",
1543
+ "composes": [
1544
+ "button-ui"
1545
+ ],
1455
1546
  "events": {
1456
1547
  "suggestion-select": {
1457
- "description": "Fired on suggestion-select."
1548
+ "description": "Fired on suggestion-select.",
1549
+ "detail": {
1550
+ "index": {
1551
+ "description": "Index of the selected suggestion.",
1552
+ "type": "number"
1553
+ },
1554
+ "label": {
1555
+ "description": "Suggestion label text.",
1556
+ "type": "string"
1557
+ },
1558
+ "prompt": {
1559
+ "description": "Suggestion prompt content.",
1560
+ "type": "string"
1561
+ }
1562
+ }
1458
1563
  }
1459
1564
  },
1460
1565
  "examples": [
@@ -1532,9 +1637,16 @@
1532
1637
  "x-adiaui": {
1533
1638
  "anti_patterns": [],
1534
1639
  "category": "agent",
1640
+ "composes": [],
1535
1641
  "events": {
1536
1642
  "trace-toggle": {
1537
- "description": "Fired on trace-toggle."
1643
+ "description": "Fired on trace-toggle.",
1644
+ "detail": {
1645
+ "collapsed": {
1646
+ "description": "Whether the trace is now collapsed.",
1647
+ "type": "boolean"
1648
+ }
1649
+ }
1538
1650
  }
1539
1651
  },
1540
1652
  "examples": [
@@ -1642,6 +1754,7 @@
1642
1754
  "x-adiaui": {
1643
1755
  "anti_patterns": [],
1644
1756
  "category": "container",
1757
+ "composes": [],
1645
1758
  "events": {
1646
1759
  "close": {
1647
1760
  "description": "Fired when the close button is clicked"
@@ -1837,6 +1950,7 @@
1837
1950
  "x-adiaui": {
1838
1951
  "anti_patterns": [],
1839
1952
  "category": "layout",
1953
+ "composes": [],
1840
1954
  "events": {
1841
1955
  "command-select": {
1842
1956
  "description": "Forwarded from the command palette when an option is chosen.",
@@ -1960,6 +2074,7 @@
1960
2074
  "x-adiaui": {
1961
2075
  "anti_patterns": [],
1962
2076
  "category": "container",
2077
+ "composes": [],
1963
2078
  "events": {},
1964
2079
  "examples": [
1965
2080
  {
@@ -2071,6 +2186,9 @@
2071
2186
  "x-adiaui": {
2072
2187
  "anti_patterns": [],
2073
2188
  "category": "display",
2189
+ "composes": [
2190
+ "icon-ui"
2191
+ ],
2074
2192
  "events": {},
2075
2193
  "examples": [
2076
2194
  {
@@ -2283,6 +2401,9 @@
2283
2401
  "x-adiaui": {
2284
2402
  "anti_patterns": [],
2285
2403
  "category": "display",
2404
+ "composes": [
2405
+ "icon-ui"
2406
+ ],
2286
2407
  "events": {},
2287
2408
  "examples": [
2288
2409
  {
@@ -2424,6 +2545,7 @@
2424
2545
  "x-adiaui": {
2425
2546
  "anti_patterns": [],
2426
2547
  "category": "layout",
2548
+ "composes": [],
2427
2549
  "events": {},
2428
2550
  "examples": [
2429
2551
  {
@@ -2551,6 +2673,11 @@
2551
2673
  "x-adiaui": {
2552
2674
  "anti_patterns": [],
2553
2675
  "category": "navigation",
2676
+ "composes": [
2677
+ "menu-ui",
2678
+ "button-ui",
2679
+ "menu-item-ui"
2680
+ ],
2554
2681
  "events": {},
2555
2682
  "examples": [
2556
2683
  {
@@ -2704,6 +2831,9 @@
2704
2831
  "x-adiaui": {
2705
2832
  "anti_patterns": [],
2706
2833
  "category": "action",
2834
+ "composes": [
2835
+ "icon-ui"
2836
+ ],
2707
2837
  "events": {
2708
2838
  "press": {
2709
2839
  "description": "Fired on complete press (pointer up or Enter/Space)"
@@ -2866,6 +2996,7 @@
2866
2996
  "x-adiaui": {
2867
2997
  "anti_patterns": [],
2868
2998
  "category": "input",
2999
+ "composes": [],
2869
3000
  "events": {
2870
3001
  "change": {
2871
3002
  "description": "Fired when a date is selected"
@@ -2958,6 +3089,7 @@
2958
3089
  "x-adiaui": {
2959
3090
  "anti_patterns": [],
2960
3091
  "category": "agent",
3092
+ "composes": [],
2961
3093
  "events": {
2962
3094
  "canvas-interaction": {
2963
3095
  "description": "Fired on canvas-interaction."
@@ -3082,6 +3214,7 @@
3082
3214
  "x-adiaui": {
3083
3215
  "anti_patterns": [],
3084
3216
  "category": "container",
3217
+ "composes": [],
3085
3218
  "events": {
3086
3219
  "drag-end": {
3087
3220
  "description": "Fired when a drag completes."
@@ -3396,6 +3529,7 @@
3396
3529
  "x-adiaui": {
3397
3530
  "anti_patterns": [],
3398
3531
  "category": "agent",
3532
+ "composes": [],
3399
3533
  "events": {
3400
3534
  "chart-hover": {
3401
3535
  "description": "Fires when the pointer enters a datum (bar / dot / slice). Detail includes {label, value, pct, series, slot, pointerX, pointerY}. Only re-fires when the hovered datum changes — moving inside the same datum is quiet."
@@ -3405,6 +3539,9 @@
3405
3539
  },
3406
3540
  "chart-select": {
3407
3541
  "description": "Fires on click of a datum with the same detail shape as chart-hover."
3542
+ },
3543
+ "legend-update": {
3544
+ "description": "Fires when the chart's internal legend payload regenerates (datum\nlabel/value re-aggregate). Signal-only — no detail payload.\nUsed by chart-legend-ui to mirror state when wired via [for].\n"
3408
3545
  }
3409
3546
  },
3410
3547
  "examples": [
@@ -3667,9 +3804,27 @@
3667
3804
  "x-adiaui": {
3668
3805
  "anti_patterns": [],
3669
3806
  "category": "agent",
3807
+ "composes": [
3808
+ "badge-ui",
3809
+ "swatch-ui"
3810
+ ],
3670
3811
  "events": {
3671
3812
  "toggle": {
3672
- "description": "Fires on row click (non-static). Detail: {key, active, mode}. `active` is the new state (true=visible). Consumers (or chart-ui via [for]) wire this to series visibility."
3813
+ "description": "Fires on row click (non-static). Detail: {key, active, mode}. `active` is the new state (true=visible). Consumers (or chart-ui via [for]) wire this to series visibility.",
3814
+ "detail": {
3815
+ "active": {
3816
+ "description": "New visibility state (true = visible).",
3817
+ "type": "boolean"
3818
+ },
3819
+ "key": {
3820
+ "description": "Series key identifier.",
3821
+ "type": "string"
3822
+ },
3823
+ "mode": {
3824
+ "description": "Visibility mode (default \"hide\").",
3825
+ "type": "string"
3826
+ }
3827
+ }
3673
3828
  }
3674
3829
  },
3675
3830
  "examples": [
@@ -3763,6 +3918,7 @@
3763
3918
  "x-adiaui": {
3764
3919
  "anti_patterns": [],
3765
3920
  "category": "input",
3921
+ "composes": [],
3766
3922
  "events": {
3767
3923
  "composer-submit": {
3768
3924
  "description": "Bubbles when the inner input fires its 'submit' event. Detail mirrors the inner event's detail (typically text + model).",
@@ -3850,6 +4006,7 @@
3850
4006
  "x-adiaui": {
3851
4007
  "anti_patterns": [],
3852
4008
  "category": "feedback",
4009
+ "composes": [],
3853
4010
  "events": {},
3854
4011
  "examples": [],
3855
4012
  "keywords": [
@@ -3916,6 +4073,7 @@
3916
4073
  "x-adiaui": {
3917
4074
  "anti_patterns": [],
3918
4075
  "category": "layout",
4076
+ "composes": [],
3919
4077
  "events": {},
3920
4078
  "examples": [],
3921
4079
  "keywords": [
@@ -4021,6 +4179,9 @@
4021
4179
  "x-adiaui": {
4022
4180
  "anti_patterns": [],
4023
4181
  "category": "container",
4182
+ "composes": [
4183
+ "code-ui"
4184
+ ],
4024
4185
  "events": {
4025
4186
  "abort": {
4026
4187
  "description": "Fired when the user aborts an in-flight request."
@@ -4168,6 +4329,7 @@
4168
4329
  "x-adiaui": {
4169
4330
  "anti_patterns": [],
4170
4331
  "category": "layout",
4332
+ "composes": [],
4171
4333
  "events": {
4172
4334
  "sidebar-resize": {
4173
4335
  "description": "Bubbles when an active pointer-drag releases.",
@@ -4272,6 +4434,7 @@
4272
4434
  "x-adiaui": {
4273
4435
  "anti_patterns": [],
4274
4436
  "category": "feedback",
4437
+ "composes": [],
4275
4438
  "events": {},
4276
4439
  "examples": [],
4277
4440
  "keywords": [
@@ -4343,6 +4506,7 @@
4343
4506
  "x-adiaui": {
4344
4507
  "anti_patterns": [],
4345
4508
  "category": "container",
4509
+ "composes": [],
4346
4510
  "events": {},
4347
4511
  "examples": [],
4348
4512
  "keywords": [
@@ -4475,6 +4639,7 @@
4475
4639
  }
4476
4640
  ],
4477
4641
  "category": "layout",
4642
+ "composes": [],
4478
4643
  "events": {
4479
4644
  "change": {
4480
4645
  "description": "Fired when checked state changes"
@@ -4626,21 +4791,51 @@
4626
4791
  "x-adiaui": {
4627
4792
  "anti_patterns": [],
4628
4793
  "category": "display",
4794
+ "composes": [],
4629
4795
  "events": {
4630
4796
  "change": {
4631
- "description": "Fired on blur if the buffer changed since focus (editable mode); detail.value is the final buffer"
4632
- },
4633
- "copy": {
4634
- "description": "Fired when text is copied to clipboard"
4797
+ "description": "Fired on blur if the buffer changed since focus (editable mode); detail.value is the final buffer.",
4798
+ "detail": {
4799
+ "value": {
4800
+ "description": "Editor contents at blur.",
4801
+ "type": "string"
4802
+ }
4803
+ }
4635
4804
  },
4636
4805
  "input": {
4637
- "description": "Fired on every doc change (editable mode); detail.value is the current buffer"
4806
+ "description": "Fired on every doc change (editable mode); detail.value is the current buffer.",
4807
+ "detail": {
4808
+ "value": {
4809
+ "description": "Current editor contents.",
4810
+ "type": "string"
4811
+ }
4812
+ }
4638
4813
  },
4639
4814
  "language-load-error": {
4640
- "description": "Fired when the language pack or CodeMirror bundle fails to load; detail.phase is 'core' or 'language'"
4815
+ "description": "Fired when CodeMirror's dynamic language-mode or core bundle fails to load.\ndetail.phase is \"core\" (fatal — component falls back to static pre+code) or\n\"language\" (recoverable — editor mounts in plain-text mode).\n",
4816
+ "detail": {
4817
+ "error": {
4818
+ "description": "The underlying load failure.",
4819
+ "type": "object"
4820
+ },
4821
+ "language": {
4822
+ "description": "Present when phase is \"language\" — the language slug that failed.",
4823
+ "type": "string"
4824
+ },
4825
+ "phase": {
4826
+ "description": "Either \"core\" or \"language\".",
4827
+ "type": "string"
4828
+ }
4829
+ }
4641
4830
  },
4642
4831
  "save": {
4643
- "description": "Fired on Mod+S keybind (editable mode); detail.value is the current buffer. Cancelable."
4832
+ "description": "Fired on Mod+S keybind (editable mode); detail.value is the current buffer. Cancelable — call event.preventDefault() to suppress the host page's save handling.",
4833
+ "detail": {
4834
+ "value": {
4835
+ "description": "Editor contents at the moment of save.",
4836
+ "type": "string"
4837
+ }
4838
+ }
4644
4839
  }
4645
4840
  },
4646
4841
  "examples": [
@@ -4765,6 +4960,11 @@
4765
4960
  }
4766
4961
  ],
4767
4962
  "properties": {
4963
+ "baseHue": {
4964
+ "description": "Reference hue (degrees) for the [hue-drift-max] constraint. Default\nNaN — falls back to the picker's hue at first commit so the consumer\ncan pre-seed the picker and constrain drift from that initial value.\n",
4965
+ "type": "number",
4966
+ "default": "NaN"
4967
+ },
4768
4968
  "component": {
4769
4969
  "const": "ColorPicker"
4770
4970
  },
@@ -4782,6 +4982,26 @@
4782
4982
  ],
4783
4983
  "default": "hex"
4784
4984
  },
4985
+ "hueDriftMax": {
4986
+ "description": "Generation constraint — maximum allowed signed-shortest-path hue\ndeviation (degrees) from [base-hue] (or the first-committed hue\nif [base-hue] is unset). Default NaN (no constraint). Wrap-aware\nso a drift of 350 degrees resolves as -10.\n",
4987
+ "type": "number",
4988
+ "default": "NaN"
4989
+ },
4990
+ "maxChroma": {
4991
+ "description": "Generation constraint (v0.4.9 §99h, FEEDBACK-02 #7) — clamp the\nOKLCH chroma channel to at most this value before commit. Out-of-\nbound mutations round-trip to the nearest in-bound equivalent +\nfire `constraint-clamp`. Default Infinity (no constraint).\n",
4992
+ "type": "number",
4993
+ "default": "Infinity"
4994
+ },
4995
+ "maxL": {
4996
+ "description": "Generation constraint — clamp OKLCH lightness to at most this value (0..1). Default 1 (no constraint).",
4997
+ "type": "number",
4998
+ "default": 1
4999
+ },
5000
+ "minL": {
5001
+ "description": "Generation constraint — clamp OKLCH lightness to at least this value (0..1). Default 0 (no constraint).",
5002
+ "type": "number",
5003
+ "default": 0
5004
+ },
4785
5005
  "name": {
4786
5006
  "description": "Form field name",
4787
5007
  "type": "string",
@@ -4800,10 +5020,22 @@
4800
5020
  "x-adiaui": {
4801
5021
  "anti_patterns": [],
4802
5022
  "category": "input",
5023
+ "composes": [
5024
+ "slider-ui"
5025
+ ],
4803
5026
  "events": {
4804
5027
  "change": {
4805
5028
  "description": "Fired on every color change"
4806
5029
  },
5030
+ "constraint-clamp": {
5031
+ "description": "Fired immediately before `change` / `input` when one or more\nconsumer-declared constraints (max-chroma / max-l / min-l /\nhue-drift-max) clamped a channel away from the user-requested\nvalue. detail.clamps is an array of axis-specific clamp records.\n",
5032
+ "detail": {
5033
+ "clamps": {
5034
+ "description": "Array of `{ axis, requested, clamped, reason }` objects. axis is\none of \"l\" / \"c\" / \"h\". reason names the triggering constraint\nprop. Empty arrays are never emitted.\n",
5035
+ "type": "array"
5036
+ }
5037
+ }
5038
+ },
4807
5039
  "input": {
4808
5040
  "description": "Fired during continuous interaction (drag)"
4809
5041
  }
@@ -4894,6 +5126,7 @@
4894
5126
  "x-adiaui": {
4895
5127
  "anti_patterns": [],
4896
5128
  "category": "layout",
5129
+ "composes": [],
4897
5130
  "events": {},
4898
5131
  "examples": [
4899
5132
  {
@@ -4971,12 +5204,23 @@
4971
5204
  "x-adiaui": {
4972
5205
  "anti_patterns": [],
4973
5206
  "category": "container",
5207
+ "composes": [],
4974
5208
  "events": {
4975
5209
  "dismiss": {
4976
5210
  "description": "Fired when Escape is pressed"
4977
5211
  },
4978
5212
  "select": {
4979
- "description": "Fired when an item is selected. Detail contains { value, label, item }."
5213
+ "description": "Fired when an item is selected. Detail contains { value, label, item }.",
5214
+ "detail": {
5215
+ "label": {
5216
+ "description": "Item label text.",
5217
+ "type": "string"
5218
+ },
5219
+ "value": {
5220
+ "description": "Item value attribute.",
5221
+ "type": "string"
5222
+ }
5223
+ }
4980
5224
  }
4981
5225
  },
4982
5226
  "examples": [
@@ -5212,9 +5456,16 @@
5212
5456
  "x-adiaui": {
5213
5457
  "anti_patterns": [],
5214
5458
  "category": "container",
5459
+ "composes": [],
5215
5460
  "events": {
5216
5461
  "change": {
5217
- "description": "Fired when the toggle flips. detail contains { state }."
5462
+ "description": "Fired when the toggle flips. detail contains { state }.",
5463
+ "detail": {
5464
+ "state": {
5465
+ "description": "New toggle state.",
5466
+ "type": "boolean"
5467
+ }
5468
+ }
5218
5469
  }
5219
5470
  },
5220
5471
  "examples": [
@@ -5348,6 +5599,7 @@
5348
5599
  "x-adiaui": {
5349
5600
  "anti_patterns": [],
5350
5601
  "category": "display",
5602
+ "composes": [],
5351
5603
  "events": {},
5352
5604
  "examples": [],
5353
5605
  "keywords": [
@@ -5422,6 +5674,7 @@
5422
5674
  "x-adiaui": {
5423
5675
  "anti_patterns": [],
5424
5676
  "category": "display",
5677
+ "composes": [],
5425
5678
  "events": {},
5426
5679
  "examples": [
5427
5680
  {
@@ -5553,6 +5806,7 @@
5553
5806
  "x-adiaui": {
5554
5807
  "anti_patterns": [],
5555
5808
  "category": "container",
5809
+ "composes": [],
5556
5810
  "events": {
5557
5811
  "close": {
5558
5812
  "description": "Fired when the drawer is dismissed via close button or backdrop click"
@@ -5727,6 +5981,7 @@
5727
5981
  "x-adiaui": {
5728
5982
  "anti_patterns": [],
5729
5983
  "category": "container",
5984
+ "composes": [],
5730
5985
  "events": {},
5731
5986
  "examples": [],
5732
5987
  "keywords": [
@@ -5802,6 +6057,7 @@
5802
6057
  "x-adiaui": {
5803
6058
  "anti_patterns": [],
5804
6059
  "category": "feedback",
6060
+ "composes": [],
5805
6061
  "events": {},
5806
6062
  "examples": [],
5807
6063
  "keywords": [
@@ -5869,6 +6125,7 @@
5869
6125
  "x-adiaui": {
5870
6126
  "anti_patterns": [],
5871
6127
  "category": "container",
6128
+ "composes": [],
5872
6129
  "events": {},
5873
6130
  "examples": [],
5874
6131
  "keywords": [
@@ -5937,6 +6194,16 @@
5937
6194
  "component": {
5938
6195
  "const": "EditorSidebar"
5939
6196
  },
6197
+ "name": {
6198
+ "description": "Alias for [persist]; kept for v0.4.x back-compat. Deprecated —\nnew code should use [persist]. If both are set, [persist] wins.\n",
6199
+ "type": "string",
6200
+ "default": ""
6201
+ },
6202
+ "persist": {
6203
+ "description": "localStorage key suffix. When set, the sidebar persists its pane\nwidth across reloads under `adia-editor-sidebar-{persist}`.\nPreferred over the [name] alias kept for v0.4.x back-compat.\nDefaults to [name] then [slot] if neither set.\n",
6204
+ "type": "string",
6205
+ "default": ""
6206
+ },
5940
6207
  "resizing": {
5941
6208
  "description": "Reflected — set during an active pointer-drag of the pane's\nresize handle. Used to disable transitions and visual treatments\nthat would feel laggy during drag.\n",
5942
6209
  "type": "boolean",
@@ -5950,6 +6217,7 @@
5950
6217
  "x-adiaui": {
5951
6218
  "anti_patterns": [],
5952
6219
  "category": "layout",
6220
+ "composes": [],
5953
6221
  "events": {
5954
6222
  "sidebar-toggle": {
5955
6223
  "description": "Bubbles when .toggle() / .collapse() / .expand() is called.",
@@ -6031,6 +6299,7 @@
6031
6299
  "x-adiaui": {
6032
6300
  "anti_patterns": [],
6033
6301
  "category": "layout",
6302
+ "composes": [],
6034
6303
  "events": {},
6035
6304
  "examples": [],
6036
6305
  "keywords": [
@@ -6110,6 +6379,7 @@
6110
6379
  "x-adiaui": {
6111
6380
  "anti_patterns": [],
6112
6381
  "category": "layout",
6382
+ "composes": [],
6113
6383
  "events": {
6114
6384
  "toolbar-action": {
6115
6385
  "description": "Bubbles when a child element with [data-toolbar-action] is clicked. Detail carries the action name from the clicked element's attribute.",
@@ -6219,6 +6489,7 @@
6219
6489
  "x-adiaui": {
6220
6490
  "anti_patterns": [],
6221
6491
  "category": "agent",
6492
+ "composes": [],
6222
6493
  "events": {},
6223
6494
  "examples": [
6224
6495
  {
@@ -6362,6 +6633,9 @@
6362
6633
  "x-adiaui": {
6363
6634
  "anti_patterns": [],
6364
6635
  "category": "display",
6636
+ "composes": [
6637
+ "icon-ui"
6638
+ ],
6365
6639
  "events": {},
6366
6640
  "examples": [
6367
6641
  {
@@ -6484,7 +6758,15 @@
6484
6758
  "x-adiaui": {
6485
6759
  "anti_patterns": [],
6486
6760
  "category": "container",
6487
- "events": {},
6761
+ "composes": [
6762
+ "button-ui",
6763
+ "feed-item-ui"
6764
+ ],
6765
+ "events": {
6766
+ "close": {
6767
+ "description": "Fired on per-item dismissal (manual close, swipe, or auto-timeout). Bubbles."
6768
+ }
6769
+ },
6488
6770
  "examples": [],
6489
6771
  "keywords": [],
6490
6772
  "name": "UIFeedContainer",
@@ -6555,6 +6837,7 @@
6555
6837
  }
6556
6838
  ],
6557
6839
  "category": "form",
6840
+ "composes": [],
6558
6841
  "events": {},
6559
6842
  "examples": [
6560
6843
  {
@@ -6694,6 +6977,7 @@
6694
6977
  }
6695
6978
  ],
6696
6979
  "category": "form",
6980
+ "composes": [],
6697
6981
  "events": {},
6698
6982
  "examples": [
6699
6983
  {
@@ -6790,6 +7074,7 @@
6790
7074
  "x-adiaui": {
6791
7075
  "anti_patterns": [],
6792
7076
  "category": "container",
7077
+ "composes": [],
6793
7078
  "events": {},
6794
7079
  "examples": [
6795
7080
  {
@@ -6871,6 +7156,11 @@
6871
7156
  "x-adiaui": {
6872
7157
  "anti_patterns": [],
6873
7158
  "category": "layout",
7159
+ "composes": [
7160
+ "chat-thread-ui",
7161
+ "canvas-ui",
7162
+ "inspector-ui"
7163
+ ],
6874
7164
  "events": {},
6875
7165
  "examples": [],
6876
7166
  "keywords": [
@@ -6946,6 +7236,7 @@
6946
7236
  "x-adiaui": {
6947
7237
  "anti_patterns": [],
6948
7238
  "category": "layout",
7239
+ "composes": [],
6949
7240
  "events": {},
6950
7241
  "examples": [
6951
7242
  {
@@ -7095,6 +7386,7 @@
7095
7386
  "x-adiaui": {
7096
7387
  "anti_patterns": [],
7097
7388
  "category": "container",
7389
+ "composes": [],
7098
7390
  "events": {},
7099
7391
  "examples": [
7100
7392
  {
@@ -7224,12 +7516,22 @@
7224
7516
  "x-adiaui": {
7225
7517
  "anti_patterns": [],
7226
7518
  "category": "data-display",
7519
+ "composes": [],
7227
7520
  "events": {
7228
7521
  "cell-click": {
7229
- "description": "Fired on cell-click."
7522
+ "description": "Fired on cell click. detail carries the cell's row + column indices + value."
7230
7523
  },
7231
7524
  "cell-hover": {
7232
- "description": "Fired on cell-hover."
7525
+ "description": "Fired on cell hover. detail carries the cell's row + column indices + value."
7526
+ },
7527
+ "chart-hover": {
7528
+ "description": "Canonical chart-hover shape — same detail as cell-hover. Re-emitted\nalongside cell-hover so consumers wiring a pointer-follow tooltip via\ntooltip-ui[follows=pointer] can listen for one event-name regardless\nof chart kind (chart-ui + heatmap-ui both emit it).\n"
7529
+ },
7530
+ "chart-leave": {
7531
+ "description": "Signal-only counterpart to chart-hover. Fires when the pointer leaves\nthe heatmap grid. Detail-free — receivers should clear their hover\nstate on receipt.\n"
7532
+ },
7533
+ "chart-select": {
7534
+ "description": "Canonical chart-select shape — same detail as cell-click. Re-emitted\nalongside cell-click for chart-kind-agnostic listeners.\n"
7233
7535
  }
7234
7536
  },
7235
7537
  "examples": [
@@ -7340,6 +7642,7 @@
7340
7642
  "x-adiaui": {
7341
7643
  "anti_patterns": [],
7342
7644
  "category": "display",
7645
+ "composes": [],
7343
7646
  "events": {},
7344
7647
  "examples": [
7345
7648
  {
@@ -7459,6 +7762,9 @@
7459
7762
  "x-adiaui": {
7460
7763
  "anti_patterns": [],
7461
7764
  "category": "display",
7765
+ "composes": [
7766
+ "skeleton-ui"
7767
+ ],
7462
7768
  "events": {},
7463
7769
  "examples": [
7464
7770
  {
@@ -7785,6 +8091,10 @@
7785
8091
  "x-adiaui": {
7786
8092
  "anti_patterns": [],
7787
8093
  "category": "input",
8094
+ "composes": [
8095
+ "button-ui",
8096
+ "icon-ui"
8097
+ ],
7788
8098
  "events": {
7789
8099
  "change": {
7790
8100
  "description": "Fired on blur, Enter, or a stepper-button click (bubbles)"
@@ -7995,6 +8305,11 @@
7995
8305
  "x-adiaui": {
7996
8306
  "anti_patterns": [],
7997
8307
  "category": "agent",
8308
+ "composes": [
8309
+ "tabs-ui",
8310
+ "tab-ui",
8311
+ "code-ui"
8312
+ ],
7998
8313
  "events": {},
7999
8314
  "examples": [
8000
8315
  {
@@ -8066,6 +8381,7 @@
8066
8381
  "x-adiaui": {
8067
8382
  "anti_patterns": [],
8068
8383
  "category": "display",
8384
+ "composes": [],
8069
8385
  "events": {},
8070
8386
  "examples": [
8071
8387
  {
@@ -8214,9 +8530,20 @@
8214
8530
  "❌ `<link-ui>` for form submission — submission is a button concern. Use `<button-ui type=\"submit\">`."
8215
8531
  ],
8216
8532
  "category": "content",
8533
+ "composes": [],
8217
8534
  "events": {
8218
8535
  "press": {
8219
- "description": "Bubbles when the link is activated by click or Enter. Detail: `{ href, target }`. Fires BEFORE the browser's native navigation so handlers can `preventDefault()` and route through the A2UI action handler system. If no handler intercepts, native navigation proceeds."
8536
+ "description": "Bubbles when the link is activated by click or Enter. Detail: `{ href, target }`. Fires BEFORE the browser's native navigation so handlers can `preventDefault()` and route through the A2UI action handler system. If no handler intercepts, native navigation proceeds.",
8537
+ "detail": {
8538
+ "href": {
8539
+ "description": "Link href attribute.",
8540
+ "type": "string"
8541
+ },
8542
+ "target": {
8543
+ "description": "Link target attribute (e.g. _blank).",
8544
+ "type": "string"
8545
+ }
8546
+ }
8220
8547
  }
8221
8548
  },
8222
8549
  "examples": [
@@ -8342,9 +8669,22 @@
8342
8669
  "x-adiaui": {
8343
8670
  "anti_patterns": [],
8344
8671
  "category": "layout",
8672
+ "composes": [
8673
+ "icon-ui"
8674
+ ],
8345
8675
  "events": {
8346
8676
  "selection-change": {
8347
- "description": "Fired on selection-change."
8677
+ "description": "Fired on selection-change.",
8678
+ "detail": {
8679
+ "key": {
8680
+ "description": "New selection key.",
8681
+ "type": "string"
8682
+ },
8683
+ "previousKey": {
8684
+ "description": "Previously selected key.",
8685
+ "type": "string"
8686
+ }
8687
+ }
8348
8688
  }
8349
8689
  },
8350
8690
  "examples": [
@@ -8453,9 +8793,22 @@
8453
8793
  "x-adiaui": {
8454
8794
  "anti_patterns": [],
8455
8795
  "category": "container",
8796
+ "composes": [
8797
+ "icon-ui"
8798
+ ],
8456
8799
  "events": {
8457
8800
  "action": {
8458
- "description": "Fired when a menu item is activated. Detail contains the triggering element."
8801
+ "description": "Fired when a menu item is activated. Detail contains the triggering element.",
8802
+ "detail": {
8803
+ "text": {
8804
+ "description": "Menu item text.",
8805
+ "type": "string"
8806
+ },
8807
+ "value": {
8808
+ "description": "Menu item value.",
8809
+ "type": "string"
8810
+ }
8811
+ }
8459
8812
  }
8460
8813
  },
8461
8814
  "examples": [
@@ -8592,6 +8945,7 @@
8592
8945
  "x-adiaui": {
8593
8946
  "anti_patterns": [],
8594
8947
  "category": "container",
8948
+ "composes": [],
8595
8949
  "events": {
8596
8950
  "close": {
8597
8951
  "description": "Fired when the overlay is dismissed via backdrop click, Escape key, popover toggle, or programmatic hide(). Bubbles."
@@ -8704,9 +9058,24 @@
8704
9058
  "x-adiaui": {
8705
9059
  "anti_patterns": [],
8706
9060
  "category": "layout",
9061
+ "composes": [],
8707
9062
  "events": {
8708
9063
  "nav-select": {
8709
- "description": "Bubbles from <nav-item-ui> children when one is selected. Detail: { item, text, value }."
9064
+ "description": "Bubbles from <nav-item-ui> children when one is selected. Detail: { item, text, value }.",
9065
+ "detail": {
9066
+ "item": {
9067
+ "description": "Selected nav-item element.",
9068
+ "type": "object"
9069
+ },
9070
+ "text": {
9071
+ "description": "Item text content.",
9072
+ "type": "string"
9073
+ },
9074
+ "value": {
9075
+ "description": "Item value attribute.",
9076
+ "type": "string"
9077
+ }
9078
+ }
8710
9079
  }
8711
9080
  },
8712
9081
  "examples": [
@@ -8810,9 +9179,20 @@
8810
9179
  "x-adiaui": {
8811
9180
  "anti_patterns": [],
8812
9181
  "category": "layout",
9182
+ "composes": [],
8813
9183
  "events": {
8814
9184
  "group-toggle": {
8815
- "description": "Fired when the header toggles via click/keyboard. Detail: { text, open }."
9185
+ "description": "Fired when the header toggles via click/keyboard. Detail: { text, open }.",
9186
+ "detail": {
9187
+ "open": {
9188
+ "description": "Whether the group is now open.",
9189
+ "type": "boolean"
9190
+ },
9191
+ "text": {
9192
+ "description": "Group label text.",
9193
+ "type": "string"
9194
+ }
9195
+ }
8816
9196
  }
8817
9197
  },
8818
9198
  "examples": [],
@@ -8913,9 +9293,24 @@
8913
9293
  "x-adiaui": {
8914
9294
  "anti_patterns": [],
8915
9295
  "category": "layout",
9296
+ "composes": [],
8916
9297
  "events": {
8917
9298
  "nav-select": {
8918
- "description": "Bubbles when the item is activated. Detail: { item, text, value }."
9299
+ "description": "Bubbles when the item is activated. Detail: { item, text, value }.",
9300
+ "detail": {
9301
+ "item": {
9302
+ "description": "The nav-item element itself.",
9303
+ "type": "object"
9304
+ },
9305
+ "text": {
9306
+ "description": "Item text content.",
9307
+ "type": "string"
9308
+ },
9309
+ "value": {
9310
+ "description": "Item value attribute.",
9311
+ "type": "string"
9312
+ }
9313
+ }
8919
9314
  }
8920
9315
  },
8921
9316
  "examples": [],
@@ -9043,12 +9438,57 @@
9043
9438
  "x-adiaui": {
9044
9439
  "anti_patterns": [],
9045
9440
  "category": "agent",
9441
+ "composes": [],
9046
9442
  "events": {
9047
9443
  "noodle-connect": {
9048
- "description": "Fired when a connection is created. detail: { id, from, to, fromPort, toPort }"
9444
+ "description": "Fired when a connection is created. detail: { id, from, to, fromPort, toPort }",
9445
+ "detail": {
9446
+ "from": {
9447
+ "description": "Source node ID.",
9448
+ "type": "string"
9449
+ },
9450
+ "fromPort": {
9451
+ "description": "Source port identifier.",
9452
+ "type": "string"
9453
+ },
9454
+ "id": {
9455
+ "description": "Connection ID.",
9456
+ "type": "string"
9457
+ },
9458
+ "to": {
9459
+ "description": "Target node ID.",
9460
+ "type": "string"
9461
+ },
9462
+ "toPort": {
9463
+ "description": "Target port identifier.",
9464
+ "type": "string"
9465
+ }
9466
+ }
9049
9467
  },
9050
9468
  "noodle-disconnect": {
9051
- "description": "Fired when a connection is removed. detail: { id, from, to, fromPort, toPort }"
9469
+ "description": "Fired when a connection is removed. detail: { id, from, to, fromPort, toPort }",
9470
+ "detail": {
9471
+ "from": {
9472
+ "description": "Source node ID.",
9473
+ "type": "string"
9474
+ },
9475
+ "fromPort": {
9476
+ "description": "Source port identifier.",
9477
+ "type": "string"
9478
+ },
9479
+ "id": {
9480
+ "description": "Connection ID.",
9481
+ "type": "string"
9482
+ },
9483
+ "to": {
9484
+ "description": "Target node ID.",
9485
+ "type": "string"
9486
+ },
9487
+ "toPort": {
9488
+ "description": "Target port identifier.",
9489
+ "type": "string"
9490
+ }
9491
+ }
9052
9492
  },
9053
9493
  "noodle-drag": {
9054
9494
  "description": "Fired during drag-to-connect. detail: { from, fromPort, x, y, reconnect }"
@@ -9165,6 +9605,9 @@
9165
9605
  "x-adiaui": {
9166
9606
  "anti_patterns": [],
9167
9607
  "category": "input",
9608
+ "composes": [
9609
+ "icon-ui"
9610
+ ],
9168
9611
  "events": {
9169
9612
  "change": {
9170
9613
  "description": "Fired when this card becomes selected (bubbles)."
@@ -9396,12 +9839,25 @@
9396
9839
  "x-adiaui": {
9397
9840
  "anti_patterns": [],
9398
9841
  "category": "input",
9842
+ "composes": [],
9399
9843
  "events": {
9400
9844
  "complete": {
9401
- "description": "Fired when all digits are filled. Detail contains { code }."
9845
+ "description": "Fired exactly once when the user fills the last digit slot. detail.value is the combined string.",
9846
+ "detail": {
9847
+ "value": {
9848
+ "description": "Combined digits (e.g. \"123456\").",
9849
+ "type": "string"
9850
+ }
9851
+ }
9402
9852
  },
9403
9853
  "input": {
9404
- "description": "Fired on every digit change"
9854
+ "description": "Fired on every digit change. detail.value is the current combined string.",
9855
+ "detail": {
9856
+ "value": {
9857
+ "description": "Combined digits at the moment of the change.",
9858
+ "type": "string"
9859
+ }
9860
+ }
9405
9861
  }
9406
9862
  },
9407
9863
  "examples": [
@@ -9504,6 +9960,7 @@
9504
9960
  "x-adiaui": {
9505
9961
  "anti_patterns": [],
9506
9962
  "category": "container",
9963
+ "composes": [],
9507
9964
  "events": {},
9508
9965
  "examples": [
9509
9966
  {
@@ -9602,9 +10059,16 @@
9602
10059
  "x-adiaui": {
9603
10060
  "anti_patterns": [],
9604
10061
  "category": "navigation",
10062
+ "composes": [],
9605
10063
  "events": {
9606
10064
  "page-change": {
9607
- "description": "Fired when a page button is clicked. detail contains { page }."
10065
+ "description": "Fired when a page button is clicked. detail contains { page }.",
10066
+ "detail": {
10067
+ "page": {
10068
+ "description": "New page number.",
10069
+ "type": "number"
10070
+ }
10071
+ }
9608
10072
  }
9609
10073
  },
9610
10074
  "examples": [
@@ -9722,7 +10186,14 @@
9722
10186
  "x-adiaui": {
9723
10187
  "anti_patterns": [],
9724
10188
  "category": "layout",
9725
- "events": {},
10189
+ "composes": [
10190
+ "icon-ui"
10191
+ ],
10192
+ "events": {
10193
+ "toggle": {
10194
+ "description": "Fired when the pane's collapsed state flips (via button press, keyboard, or programmatic toggle()). Bubbles."
10195
+ }
10196
+ },
9726
10197
  "examples": [
9727
10198
  {
9728
10199
  "description": "Split pane with TextArea for editing markdown on the left and a preview card on the right.",
@@ -9810,6 +10281,7 @@
9810
10281
  "x-adiaui": {
9811
10282
  "anti_patterns": [],
9812
10283
  "category": "agent",
10284
+ "composes": [],
9813
10285
  "events": {},
9814
10286
  "examples": [
9815
10287
  {
@@ -9924,6 +10396,7 @@
9924
10396
  "x-adiaui": {
9925
10397
  "anti_patterns": [],
9926
10398
  "category": "container",
10399
+ "composes": [],
9927
10400
  "events": {},
9928
10401
  "examples": [
9929
10402
  {
@@ -10073,6 +10546,7 @@
10073
10546
  "x-adiaui": {
10074
10547
  "anti_patterns": [],
10075
10548
  "category": "display",
10549
+ "composes": [],
10076
10550
  "events": {},
10077
10551
  "examples": [
10078
10552
  {
@@ -10272,6 +10746,9 @@
10272
10746
  "x-adiaui": {
10273
10747
  "anti_patterns": [],
10274
10748
  "category": "data",
10749
+ "composes": [
10750
+ "progress-ui"
10751
+ ],
10275
10752
  "events": {},
10276
10753
  "examples": [
10277
10754
  {
@@ -10385,6 +10862,7 @@
10385
10862
  }
10386
10863
  ],
10387
10864
  "category": "input",
10865
+ "composes": [],
10388
10866
  "events": {
10389
10867
  "change": {
10390
10868
  "description": "Fired when this radio becomes selected (bubbles)"
@@ -10620,6 +11098,7 @@
10620
11098
  "x-adiaui": {
10621
11099
  "anti_patterns": [],
10622
11100
  "category": "input",
11101
+ "composes": [],
10623
11102
  "events": {
10624
11103
  "change": {
10625
11104
  "description": "Fired on drag end or keyboard commit"
@@ -10769,6 +11248,7 @@
10769
11248
  "x-adiaui": {
10770
11249
  "anti_patterns": [],
10771
11250
  "category": "form",
11251
+ "composes": [],
10772
11252
  "events": {
10773
11253
  "[object Object]": {
10774
11254
  "description": "Fired on [object Object]."
@@ -10842,6 +11322,7 @@
10842
11322
  "x-adiaui": {
10843
11323
  "anti_patterns": [],
10844
11324
  "category": "forms",
11325
+ "composes": [],
10845
11326
  "events": {},
10846
11327
  "examples": [
10847
11328
  {
@@ -10948,6 +11429,7 @@
10948
11429
  "x-adiaui": {
10949
11430
  "anti_patterns": [],
10950
11431
  "category": "layout",
11432
+ "composes": [],
10951
11433
  "events": {
10952
11434
  "drag-end": {
10953
11435
  "description": "Fired when a drag completes."
@@ -11048,6 +11530,7 @@
11048
11530
  "x-adiaui": {
11049
11531
  "anti_patterns": [],
11050
11532
  "category": "input",
11533
+ "composes": [],
11051
11534
  "events": {
11052
11535
  "clear": {
11053
11536
  "description": "Fired when the clear button is clicked"
@@ -11207,6 +11690,7 @@
11207
11690
  "x-adiaui": {
11208
11691
  "anti_patterns": [],
11209
11692
  "category": "container",
11693
+ "composes": [],
11210
11694
  "events": {},
11211
11695
  "examples": [
11212
11696
  {
@@ -11298,6 +11782,9 @@
11298
11782
  "x-adiaui": {
11299
11783
  "anti_patterns": [],
11300
11784
  "category": "navigation",
11785
+ "composes": [
11786
+ "icon-ui"
11787
+ ],
11301
11788
  "events": {},
11302
11789
  "examples": [
11303
11790
  {
@@ -11381,6 +11868,7 @@
11381
11868
  "x-adiaui": {
11382
11869
  "anti_patterns": [],
11383
11870
  "category": "navigation",
11871
+ "composes": [],
11384
11872
  "events": {
11385
11873
  "change": {
11386
11874
  "description": "Fired when the selected segment changes. detail contains { value }."
@@ -11600,6 +12088,9 @@
11600
12088
  "x-adiaui": {
11601
12089
  "anti_patterns": [],
11602
12090
  "category": "input",
12091
+ "composes": [
12092
+ "icon-ui"
12093
+ ],
11603
12094
  "events": {
11604
12095
  "change": {
11605
12096
  "description": "Fired when selected value changes"
@@ -11705,6 +12196,7 @@
11705
12196
  "x-adiaui": {
11706
12197
  "anti_patterns": [],
11707
12198
  "category": "shells",
12199
+ "composes": [],
11708
12200
  "events": {},
11709
12201
  "examples": [],
11710
12202
  "keywords": [
@@ -11770,6 +12262,7 @@
11770
12262
  "x-adiaui": {
11771
12263
  "anti_patterns": [],
11772
12264
  "category": "shells",
12265
+ "composes": [],
11773
12266
  "events": {},
11774
12267
  "examples": [],
11775
12268
  "keywords": [
@@ -11854,6 +12347,7 @@
11854
12347
  "x-adiaui": {
11855
12348
  "anti_patterns": [],
11856
12349
  "category": "shells",
12350
+ "composes": [],
11857
12351
  "events": {},
11858
12352
  "examples": [],
11859
12353
  "keywords": [
@@ -11956,6 +12450,7 @@
11956
12450
  "x-adiaui": {
11957
12451
  "anti_patterns": [],
11958
12452
  "category": "display",
12453
+ "composes": [],
11959
12454
  "events": {},
11960
12455
  "examples": [
11961
12456
  {
@@ -12086,6 +12581,7 @@
12086
12581
  "x-adiaui": {
12087
12582
  "anti_patterns": [],
12088
12583
  "category": "input",
12584
+ "composes": [],
12089
12585
  "events": {
12090
12586
  "change": {
12091
12587
  "description": "Fired when the value changes (on blur for inputs, on selection for pickers)."
@@ -12196,6 +12692,7 @@
12196
12692
  "x-adiaui": {
12197
12693
  "anti_patterns": [],
12198
12694
  "category": "layout",
12695
+ "composes": [],
12199
12696
  "events": {},
12200
12697
  "examples": [
12201
12698
  {
@@ -12276,6 +12773,7 @@
12276
12773
  "x-adiaui": {
12277
12774
  "anti_patterns": [],
12278
12775
  "category": "display",
12776
+ "composes": [],
12279
12777
  "events": {},
12280
12778
  "examples": [
12281
12779
  {
@@ -12508,6 +13006,9 @@
12508
13006
  "x-adiaui": {
12509
13007
  "anti_patterns": [],
12510
13008
  "category": "navigation",
13009
+ "composes": [
13010
+ "icon-ui"
13011
+ ],
12511
13012
  "events": {},
12512
13013
  "examples": [
12513
13014
  {
@@ -12588,6 +13089,7 @@
12588
13089
  "x-adiaui": {
12589
13090
  "anti_patterns": [],
12590
13091
  "category": "feedback",
13092
+ "composes": [],
12591
13093
  "events": {},
12592
13094
  "examples": [
12593
13095
  {
@@ -12697,12 +13199,19 @@
12697
13199
  "x-adiaui": {
12698
13200
  "anti_patterns": [],
12699
13201
  "category": "agent",
13202
+ "composes": [],
12700
13203
  "events": {
12701
13204
  "stream-end": {
12702
13205
  "description": "Fired when stream completes naturally"
12703
13206
  },
12704
13207
  "stream-error": {
12705
- "description": "Fired on stream error, detail: { error }"
13208
+ "description": "Fired on stream error, detail: { error }",
13209
+ "detail": {
13210
+ "error": {
13211
+ "description": "Error object or message.",
13212
+ "type": "object"
13213
+ }
13214
+ }
12706
13215
  },
12707
13216
  "stream-start": {
12708
13217
  "description": "Fired when streaming begins"
@@ -12767,6 +13276,16 @@
12767
13276
  }
12768
13277
  ],
12769
13278
  "properties": {
13279
+ "autoContrast": {
13280
+ "description": "When set, computes the swatch color's OKLab L and switches the label /\ndetail color between light + dark so it remains legible against the\ntile background. Only applies to shape=\"block\" (where the label sits\nON the tile). Uses a 1px canvas probe to handle any CSS color form\n(oklch / hex / hsl / named / var() references).\n",
13281
+ "type": "boolean",
13282
+ "default": false
13283
+ },
13284
+ "badge": {
13285
+ "description": "Optional marker(s) rendered in the upper-right of the tile. Single value\nOR comma/space-separated list of variants (v0.4.9+ multi-badge support).\nVariants: out-of-gamut (△), p3-only (✦), apca-pass (✓), apca-fail (✗).\nEach pip carries an aria-label so screen readers surface the semantic\n(\"Outside sRGB gamut\", \"Contrast passes APCA\", etc.). Unknown variants\nare silently dropped.\n",
13286
+ "type": "string",
13287
+ "default": ""
13288
+ },
12770
13289
  "color": {
12771
13290
  "description": "Swatch color. Accepts any CSS color value or var() reference. Sets the internal --swatch-color custom property; consumers can also set --swatch-color via inline style.",
12772
13291
  "type": "string",
@@ -12775,11 +13294,36 @@
12775
13294
  "component": {
12776
13295
  "const": "Swatch"
12777
13296
  },
13297
+ "copyable": {
13298
+ "description": "When set, renders an inline copy-to-clipboard button. Defaults to copying [color]; override via [copy-value].",
13299
+ "type": "boolean",
13300
+ "default": false
13301
+ },
13302
+ "copyValue": {
13303
+ "description": "Override what gets copied when [copyable] is set. Defaults to [color]. Not reflected (color strings are long; attr round-tripping reads poorly).",
13304
+ "type": "string",
13305
+ "default": ""
13306
+ },
13307
+ "detail": {
13308
+ "description": "Optional secondary line of text rendered below the label. Typically the raw token value (e.g. \"oklch(0.53 0.18 240)\") when the swatch represents a design-token step.",
13309
+ "type": "string",
13310
+ "default": ""
13311
+ },
12778
13312
  "label": {
12779
13313
  "description": "Optional label rendered next to (or below, for shape=\"block\") the swatch. Use the default slot for richer content.",
12780
13314
  "type": "string",
12781
13315
  "default": ""
12782
13316
  },
13317
+ "selectable": {
13318
+ "description": "When set, makes the swatch keyboard-focusable + clickable. Sets role=\"button\" + tabindex=\"0\". Dispatches a \"select\" event on activation (click / Enter / Space).",
13319
+ "type": "boolean",
13320
+ "default": false
13321
+ },
13322
+ "selected": {
13323
+ "description": "Reflected visual selected state. Pair with [selectable] to make the swatch behave like a radio-style picker. Sets aria-pressed.",
13324
+ "type": "boolean",
13325
+ "default": false
13326
+ },
12783
13327
  "shape": {
12784
13328
  "description": "Visual shape — block (filled tile), dot (small circle), square (small filled square), line (solid hairline), dashed (dashed hairline).",
12785
13329
  "type": "string",
@@ -12810,7 +13354,26 @@
12810
13354
  "x-adiaui": {
12811
13355
  "anti_patterns": [],
12812
13356
  "category": "display",
12813
- "events": {},
13357
+ "composes": [],
13358
+ "events": {
13359
+ "select": {
13360
+ "description": "Fired when a selectable swatch is activated (click / Enter / Space). detail carries the swatch's value, color, and label.",
13361
+ "detail": {
13362
+ "color": {
13363
+ "description": "The raw [color] attribute value.",
13364
+ "type": "string"
13365
+ },
13366
+ "label": {
13367
+ "description": "The [label] attribute value.",
13368
+ "type": "string"
13369
+ },
13370
+ "value": {
13371
+ "description": "The swatch's effective value — [color] when present, else [label].",
13372
+ "type": "string"
13373
+ }
13374
+ }
13375
+ }
13376
+ },
12814
13377
  "examples": [
12815
13378
  {
12816
13379
  "description": "A single dot swatch with text label, e.g. as a chart-legend row.",
@@ -12847,6 +13410,11 @@
12847
13410
  {
12848
13411
  "description": "Default, ready for display.",
12849
13412
  "name": "idle"
13413
+ },
13414
+ {
13415
+ "description": "Reflected when the swatch is in the selected state (pair with [selectable]).",
13416
+ "attribute": "selected",
13417
+ "name": "selected"
12850
13418
  }
12851
13419
  ],
12852
13420
  "synonyms": {
@@ -12860,8 +13428,17 @@
12860
13428
  },
12861
13429
  "tag": "swatch-ui",
12862
13430
  "tokens": {
13431
+ "--swatch-badge-fg": {
13432
+ "description": "Color of the badge symbol. Defaults to chrome-foreground; overridden per-badge variant."
13433
+ },
12863
13434
  "--swatch-color": {
12864
13435
  "description": "Resolved color of the swatch fill / line. Wins over the [color] attr if set inline."
13436
+ },
13437
+ "--swatch-detail-fg": {
13438
+ "description": "Color of the secondary detail line. Defaults to subtle-foreground."
13439
+ },
13440
+ "--swatch-select-ring": {
13441
+ "description": "Color of the focus + selected ring when [selectable] is set."
12865
13442
  }
12866
13443
  },
12867
13444
  "traits": [],
@@ -12938,15 +13515,34 @@
12938
13515
  "x-adiaui": {
12939
13516
  "anti_patterns": [],
12940
13517
  "category": "layout",
13518
+ "composes": [
13519
+ "button-ui"
13520
+ ],
12941
13521
  "events": {
12942
13522
  "autoplay-pause": {
12943
- "description": "Fired on autoplay-pause."
13523
+ "description": "Fired on autoplay-pause.",
13524
+ "detail": {
13525
+ "reason": {
13526
+ "description": "Pause reason (\"hover\" or \"focus\").",
13527
+ "type": "string"
13528
+ }
13529
+ }
12944
13530
  },
12945
13531
  "autoplay-resume": {
12946
13532
  "description": "Fired on autoplay-resume."
12947
13533
  },
12948
13534
  "change": {
12949
- "description": "Fired when the active slide changes. Detail: { index, slide }."
13535
+ "description": "Fired when the active slide changes. Detail: { index, slide }.",
13536
+ "detail": {
13537
+ "index": {
13538
+ "description": "New active slide index.",
13539
+ "type": "number"
13540
+ },
13541
+ "slide": {
13542
+ "description": "The active slide element.",
13543
+ "type": "object"
13544
+ }
13545
+ }
12950
13546
  }
12951
13547
  },
12952
13548
  "examples": [
@@ -13088,6 +13684,7 @@
13088
13684
  }
13089
13685
  ],
13090
13686
  "category": "layout",
13687
+ "composes": [],
13091
13688
  "events": {
13092
13689
  "change": {
13093
13690
  "description": "Fired when checked state changes"
@@ -13245,21 +13842,103 @@
13245
13842
  "x-adiaui": {
13246
13843
  "anti_patterns": [],
13247
13844
  "category": "agent",
13845
+ "composes": [
13846
+ "check-ui",
13847
+ "icon-ui",
13848
+ "progress-ui",
13849
+ "pagination-ui",
13850
+ "badge-ui"
13851
+ ],
13248
13852
  "events": {
13249
13853
  "cell-click": {
13250
- "description": "Fired when a data cell is clicked."
13854
+ "description": "Fired when a data cell is clicked. detail carries the cell location + value.",
13855
+ "detail": {
13856
+ "dataIndex": {
13857
+ "description": "Row index in the underlying data array.",
13858
+ "type": "number"
13859
+ },
13860
+ "key": {
13861
+ "description": "Column key.",
13862
+ "type": "string"
13863
+ },
13864
+ "row": {
13865
+ "description": "Row data object.",
13866
+ "type": "object"
13867
+ },
13868
+ "value": {
13869
+ "description": "Cell value (type depends on column)."
13870
+ }
13871
+ }
13872
+ },
13873
+ "filter-change": {
13874
+ "description": "Fired when an interactive filter row applies / clears. detail.filters is the current filter map.",
13875
+ "detail": {
13876
+ "filters": {
13877
+ "description": "Map of `{ [columnKey]: filterValue }` reflecting active filters.",
13878
+ "type": "object"
13879
+ }
13880
+ }
13251
13881
  },
13252
13882
  "page": {
13253
- "description": "Fired when the user navigates to a different page."
13883
+ "description": "Fired when the user navigates to a different page.",
13884
+ "detail": {
13885
+ "page": {
13886
+ "description": "New active page index (1-based).",
13887
+ "type": "number"
13888
+ }
13889
+ }
13254
13890
  },
13255
13891
  "resize": {
13256
- "description": "Fired when a column is resized via drag."
13892
+ "description": "Fired when a column is resized via drag.",
13893
+ "detail": {
13894
+ "key": {
13895
+ "description": "Column key being resized.",
13896
+ "type": "string"
13897
+ },
13898
+ "width": {
13899
+ "description": "New column width in pixels.",
13900
+ "type": "number"
13901
+ }
13902
+ }
13903
+ },
13904
+ "row-expand": {
13905
+ "description": "Fired when an expandable row's chevron is activated. detail.index is the row position; detail.row is the row data.",
13906
+ "detail": {
13907
+ "index": {
13908
+ "description": "Row index in the underlying data array.",
13909
+ "type": "number"
13910
+ },
13911
+ "row": {
13912
+ "description": "Row data object.",
13913
+ "type": "object"
13914
+ }
13915
+ }
13257
13916
  },
13258
13917
  "select": {
13259
- "description": "Fired when row selection changes."
13918
+ "description": "Fired when row selection changes. detail.selected is an array of row indices or IDs.",
13919
+ "detail": {
13920
+ "selected": {
13921
+ "description": "Array of selected row indices or IDs (driven by [select-mode]).",
13922
+ "type": "array"
13923
+ }
13924
+ }
13260
13925
  },
13261
13926
  "sort": {
13262
- "description": "Fired when sort state changes via header click."
13927
+ "description": "Fired when sort state changes via header click.",
13928
+ "detail": {
13929
+ "dir": {
13930
+ "description": "Sort direction — \"asc\" / \"desc\" / null (cleared).",
13931
+ "type": "string"
13932
+ },
13933
+ "key": {
13934
+ "description": "Column key being sorted.",
13935
+ "type": "string"
13936
+ },
13937
+ "sortState": {
13938
+ "description": "Full sort state array (multi-column support).",
13939
+ "type": "array"
13940
+ }
13941
+ }
13263
13942
  }
13264
13943
  },
13265
13944
  "examples": [
@@ -13700,6 +14379,18 @@
13700
14379
  "x-adiaui": {
13701
14380
  "anti_patterns": [],
13702
14381
  "category": "agent",
14382
+ "composes": [
14383
+ "text-ui",
14384
+ "badge-ui",
14385
+ "search-ui",
14386
+ "button-ui",
14387
+ "field-ui",
14388
+ "select-ui",
14389
+ "input-ui",
14390
+ "menu-item-ui",
14391
+ "icon-ui",
14392
+ "check-ui"
14393
+ ],
13703
14394
  "events": {
13704
14395
  "columns-change": {
13705
14396
  "description": "Column visibility changed. Detail: { hiddenColumns }."
@@ -13856,9 +14547,18 @@
13856
14547
  "x-adiaui": {
13857
14548
  "anti_patterns": [],
13858
14549
  "category": "container",
14550
+ "composes": [
14551
+ "icon-ui"
14552
+ ],
13859
14553
  "events": {
13860
14554
  "change": {
13861
- "description": "Fired when the value changes (on blur for inputs, on selection for pickers)."
14555
+ "description": "Fired when the value changes (on blur for inputs, on selection for pickers).",
14556
+ "detail": {
14557
+ "value": {
14558
+ "description": "New active tab value.",
14559
+ "type": "string"
14560
+ }
14561
+ }
13862
14562
  }
13863
14563
  },
13864
14564
  "examples": [
@@ -14046,9 +14746,20 @@
14046
14746
  "x-adiaui": {
14047
14747
  "anti_patterns": [],
14048
14748
  "category": "display",
14749
+ "composes": [],
14049
14750
  "events": {
14050
14751
  "remove": {
14051
- "description": "Fired when the dismiss button is activated."
14752
+ "description": "Fired when the dismiss button is activated.",
14753
+ "detail": {
14754
+ "text": {
14755
+ "description": "Tag text content.",
14756
+ "type": "string"
14757
+ },
14758
+ "value": {
14759
+ "description": "Tag value (same as text).",
14760
+ "type": "string"
14761
+ }
14762
+ }
14052
14763
  }
14053
14764
  },
14054
14765
  "examples": [
@@ -14196,6 +14907,7 @@
14196
14907
  "x-adiaui": {
14197
14908
  "anti_patterns": [],
14198
14909
  "category": "display",
14910
+ "composes": [],
14199
14911
  "events": {},
14200
14912
  "examples": [
14201
14913
  {
@@ -14294,6 +15006,7 @@
14294
15006
  "x-adiaui": {
14295
15007
  "anti_patterns": [],
14296
15008
  "category": "layout",
15009
+ "composes": [],
14297
15010
  "events": {
14298
15011
  "change": {
14299
15012
  "description": "Fired when the textarea loses focus after a value change."
@@ -14417,6 +15130,15 @@
14417
15130
  "x-adiaui": {
14418
15131
  "anti_patterns": [],
14419
15132
  "category": "layout",
15133
+ "composes": [
15134
+ "segmented-ui",
15135
+ "segment-ui",
15136
+ "text-ui",
15137
+ "button-ui",
15138
+ "divider-ui",
15139
+ "field-ui",
15140
+ "slider-ui"
15141
+ ],
14420
15142
  "events": {
14421
15143
  "theme-change": {
14422
15144
  "description": "Bubbles when any user-visible state changes (theme click, slider\ninput, preset click, scheme flip, reset). One event per change.\nNo event on auto-rehydrate-from-storage at boot.\n",
@@ -14541,7 +15263,20 @@
14541
15263
  "x-adiaui": {
14542
15264
  "anti_patterns": [],
14543
15265
  "category": "display",
14544
- "events": {},
15266
+ "composes": [
15267
+ "icon-ui"
15268
+ ],
15269
+ "events": {
15270
+ "timeline-toggle": {
15271
+ "description": "Fired when a collapsible timeline item is expanded or collapsed. detail.expanded carries the new open state.",
15272
+ "detail": {
15273
+ "expanded": {
15274
+ "description": "New open state of the toggled item after the press.",
15275
+ "type": "boolean"
15276
+ }
15277
+ }
15278
+ }
15279
+ },
14545
15280
  "examples": [
14546
15281
  {
14547
15282
  "description": "Order tracking card with a timeline showing order status milestones from placed to delivered.",
@@ -14636,6 +15371,7 @@
14636
15371
  "x-adiaui": {
14637
15372
  "anti_patterns": [],
14638
15373
  "category": "container",
15374
+ "composes": [],
14639
15375
  "events": {
14640
15376
  "close": {
14641
15377
  "description": "Fired when the toast is dismissed via click or auto-timeout"
@@ -14789,9 +15525,16 @@
14789
15525
  "x-adiaui": {
14790
15526
  "anti_patterns": [],
14791
15527
  "category": "navigation",
15528
+ "composes": [],
14792
15529
  "events": {
14793
15530
  "change": {
14794
- "description": "Fired when selection changes. detail: { value }"
15531
+ "description": "Fired when selection changes. detail: { value }",
15532
+ "detail": {
15533
+ "value": {
15534
+ "description": "New toggle-group value.",
15535
+ "type": "string"
15536
+ }
15537
+ }
14795
15538
  }
14796
15539
  },
14797
15540
  "examples": [
@@ -15003,9 +15746,22 @@
15003
15746
  "x-adiaui": {
15004
15747
  "anti_patterns": [],
15005
15748
  "category": "control",
15749
+ "composes": [
15750
+ "button-ui"
15751
+ ],
15006
15752
  "events": {
15007
15753
  "scheme-change": {
15008
- "description": "Fired when the active scheme changes. detail contains { scheme: \"light\" | \"dark\", source: \"press\" | \"media\" | \"programmatic\" }."
15754
+ "description": "Fired when the active scheme changes. detail contains { scheme: \"light\" | \"dark\", source: \"press\" | \"media\" | \"programmatic\" }.",
15755
+ "detail": {
15756
+ "scheme": {
15757
+ "description": "Active color scheme (\"light\" or \"dark\").",
15758
+ "type": "string"
15759
+ },
15760
+ "source": {
15761
+ "description": "Change source — \"press\" / \"media\" / \"programmatic\".",
15762
+ "type": "string"
15763
+ }
15764
+ }
15009
15765
  }
15010
15766
  },
15011
15767
  "examples": [
@@ -15122,6 +15878,9 @@
15122
15878
  "x-adiaui": {
15123
15879
  "anti_patterns": [],
15124
15880
  "category": "layout",
15881
+ "composes": [
15882
+ "button-ui"
15883
+ ],
15125
15884
  "events": {},
15126
15885
  "examples": [
15127
15886
  {
@@ -15254,6 +16013,7 @@
15254
16013
  "x-adiaui": {
15255
16014
  "anti_patterns": [],
15256
16015
  "category": "container",
16016
+ "composes": [],
15257
16017
  "events": {},
15258
16018
  "examples": [
15259
16019
  {
@@ -15365,9 +16125,26 @@
15365
16125
  "x-adiaui": {
15366
16126
  "anti_patterns": [],
15367
16127
  "category": "data",
16128
+ "composes": [
16129
+ "icon-ui"
16130
+ ],
15368
16131
  "events": {
15369
16132
  "tree-select": {
15370
- "description": "Fired when an item is selected. detail: { item, text, value }"
16133
+ "description": "Fired when an item is selected. detail: { item, text, value }",
16134
+ "detail": {
16135
+ "item": {
16136
+ "description": "Selected tree-item element.",
16137
+ "type": "object"
16138
+ },
16139
+ "text": {
16140
+ "description": "Item text content.",
16141
+ "type": "string"
16142
+ },
16143
+ "value": {
16144
+ "description": "Item value attribute.",
16145
+ "type": "string"
16146
+ }
16147
+ }
15371
16148
  }
15372
16149
  },
15373
16150
  "examples": [
@@ -15522,6 +16299,7 @@
15522
16299
  "x-adiaui": {
15523
16300
  "anti_patterns": [],
15524
16301
  "category": "input",
16302
+ "composes": [],
15525
16303
  "events": {
15526
16304
  "change": {
15527
16305
  "description": "Fired when files are selected via click or drag-and-drop"