@adia-ai/a2ui-corpus 0.5.11 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/catalog-a2ui_0_9.json +230 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,14 @@ gap registry. Consumed by `@adia-ai/a2ui-retrieval` and
|
|
|
18
18
|
|
|
19
19
|
_No pending changes._
|
|
20
20
|
|
|
21
|
+
## [0.5.13] - 2026-05-15
|
|
22
|
+
|
|
23
|
+
_Lockstep ride-along (no source change in this package; companion to web-components v0.5.13 — see root CHANGELOG)._
|
|
24
|
+
|
|
25
|
+
## [0.5.12] - 2026-05-15
|
|
26
|
+
|
|
27
|
+
_Lockstep ride-along (no source change in this package; companion to web-components v0.5.12 — see root CHANGELOG)._
|
|
28
|
+
|
|
21
29
|
## [0.5.11] - 2026-05-15
|
|
22
30
|
|
|
23
31
|
_Lockstep ride-along (no source change)._
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -5363,6 +5363,222 @@
|
|
|
5363
5363
|
"version": 1
|
|
5364
5364
|
}
|
|
5365
5365
|
},
|
|
5366
|
+
"ColorInput": {
|
|
5367
|
+
"title": "ColorInput",
|
|
5368
|
+
"description": "Compact form-bearing color input — opens a popover-anchored\n`<color-picker-ui>` from an inline swatch button. §302 (v0.5.12,\nFEEDBACK-29 re-bucket from v0.6.0). Canonicalizes the USAGE.md §221f\nOption B recipe (popover + button + color-picker) into a single\nform-associated tag for inline form contexts (settings drawer \"source\ncolor\" field, swatch-row inline-edit, etc.).",
|
|
5369
|
+
"type": "object",
|
|
5370
|
+
"allOf": [
|
|
5371
|
+
{
|
|
5372
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
5373
|
+
},
|
|
5374
|
+
{
|
|
5375
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
5376
|
+
}
|
|
5377
|
+
],
|
|
5378
|
+
"properties": {
|
|
5379
|
+
"baseHue": {
|
|
5380
|
+
"description": "Reference hue (degrees) for the hueDriftMax constraint, forwarded to inner picker. Default NaN — picker falls back to its hue at first commit.",
|
|
5381
|
+
"type": "number",
|
|
5382
|
+
"default": "NaN"
|
|
5383
|
+
},
|
|
5384
|
+
"component": {
|
|
5385
|
+
"const": "ColorInput"
|
|
5386
|
+
},
|
|
5387
|
+
"disabled": {
|
|
5388
|
+
"description": "Disables the trigger button + suppresses popover.",
|
|
5389
|
+
"type": "boolean",
|
|
5390
|
+
"default": false
|
|
5391
|
+
},
|
|
5392
|
+
"format": {
|
|
5393
|
+
"description": "Output format for the value property + event detail. Hex (`#rrggbb`) or OKLCH (`oklch(L C H)`).",
|
|
5394
|
+
"type": "string",
|
|
5395
|
+
"enum": [
|
|
5396
|
+
"hex",
|
|
5397
|
+
"oklch"
|
|
5398
|
+
],
|
|
5399
|
+
"default": "hex"
|
|
5400
|
+
},
|
|
5401
|
+
"hueDriftMax": {
|
|
5402
|
+
"description": "Generation constraint forwarded to inner picker — maximum allowed signed-shortest-path hue deviation (degrees) from baseHue. Default NaN (no constraint).",
|
|
5403
|
+
"type": "number",
|
|
5404
|
+
"default": "NaN"
|
|
5405
|
+
},
|
|
5406
|
+
"maxChroma": {
|
|
5407
|
+
"description": "Generation constraint forwarded to the inner `<color-picker-ui>` (v0.5.13\n§-TBD, FB-33 §1). Clamp the OKLCH chroma channel to at most this value.\nDefault Infinity (no constraint).\n",
|
|
5408
|
+
"type": "number",
|
|
5409
|
+
"default": "Infinity"
|
|
5410
|
+
},
|
|
5411
|
+
"maxL": {
|
|
5412
|
+
"description": "Generation constraint forwarded to inner picker — clamp OKLCH lightness to at most this value (0..1). Default 1.",
|
|
5413
|
+
"type": "number",
|
|
5414
|
+
"default": 1
|
|
5415
|
+
},
|
|
5416
|
+
"minL": {
|
|
5417
|
+
"description": "Generation constraint forwarded to inner picker — clamp OKLCH lightness to at least this value (0..1). Default 0.",
|
|
5418
|
+
"type": "number",
|
|
5419
|
+
"default": 0
|
|
5420
|
+
},
|
|
5421
|
+
"name": {
|
|
5422
|
+
"description": "Form field name.",
|
|
5423
|
+
"type": "string",
|
|
5424
|
+
"default": ""
|
|
5425
|
+
},
|
|
5426
|
+
"open": {
|
|
5427
|
+
"description": "Reflects the popover's open state. Set programmatically to open/close the picker without a click.",
|
|
5428
|
+
"type": "boolean",
|
|
5429
|
+
"default": false
|
|
5430
|
+
},
|
|
5431
|
+
"placement": {
|
|
5432
|
+
"description": "Popover placement relative to the trigger.",
|
|
5433
|
+
"type": "string",
|
|
5434
|
+
"enum": [
|
|
5435
|
+
"top",
|
|
5436
|
+
"bottom",
|
|
5437
|
+
"left",
|
|
5438
|
+
"right",
|
|
5439
|
+
"top-start",
|
|
5440
|
+
"top-end",
|
|
5441
|
+
"bottom-start",
|
|
5442
|
+
"bottom-end"
|
|
5443
|
+
],
|
|
5444
|
+
"default": "bottom-start"
|
|
5445
|
+
},
|
|
5446
|
+
"value": {
|
|
5447
|
+
"description": "Current color as a string in the active [format].",
|
|
5448
|
+
"type": "string",
|
|
5449
|
+
"default": "#3b82f6"
|
|
5450
|
+
}
|
|
5451
|
+
},
|
|
5452
|
+
"required": [
|
|
5453
|
+
"component"
|
|
5454
|
+
],
|
|
5455
|
+
"unevaluatedProperties": false,
|
|
5456
|
+
"x-adiaui": {
|
|
5457
|
+
"anti_patterns": [],
|
|
5458
|
+
"category": "input",
|
|
5459
|
+
"composes": [
|
|
5460
|
+
"button-ui",
|
|
5461
|
+
"popover-ui",
|
|
5462
|
+
"color-picker-ui"
|
|
5463
|
+
],
|
|
5464
|
+
"events": {
|
|
5465
|
+
"change": {
|
|
5466
|
+
"description": "Fired when the color is committed (pointerup / Enter / picker close). Bubbles from inner picker.",
|
|
5467
|
+
"detail": {
|
|
5468
|
+
"c": {
|
|
5469
|
+
"description": "Parsed OKLCH chroma scalar.",
|
|
5470
|
+
"type": "number"
|
|
5471
|
+
},
|
|
5472
|
+
"h": {
|
|
5473
|
+
"description": "Parsed OKLCH hue scalar (degrees, NaN ok for achromatic).",
|
|
5474
|
+
"type": "number"
|
|
5475
|
+
},
|
|
5476
|
+
"hex": {
|
|
5477
|
+
"description": "Hex form (`#rrggbb`).",
|
|
5478
|
+
"type": "string"
|
|
5479
|
+
},
|
|
5480
|
+
"l": {
|
|
5481
|
+
"description": "Parsed OKLCH lightness scalar (0..1). v0.5.13 §-TBD (FB-33 §1-adjacent).",
|
|
5482
|
+
"type": "number"
|
|
5483
|
+
},
|
|
5484
|
+
"oklch": {
|
|
5485
|
+
"description": "OKLCH string (`oklch(L C H)`).",
|
|
5486
|
+
"type": "string"
|
|
5487
|
+
},
|
|
5488
|
+
"value": {
|
|
5489
|
+
"description": "Color in the active [format] (hex or oklch).",
|
|
5490
|
+
"type": "string"
|
|
5491
|
+
}
|
|
5492
|
+
}
|
|
5493
|
+
},
|
|
5494
|
+
"input": {
|
|
5495
|
+
"description": "Fired during continuous drag of the inner picker. Bubbles from inner picker.",
|
|
5496
|
+
"detail": {
|
|
5497
|
+
"c": {
|
|
5498
|
+
"type": "number"
|
|
5499
|
+
},
|
|
5500
|
+
"h": {
|
|
5501
|
+
"type": "number"
|
|
5502
|
+
},
|
|
5503
|
+
"hex": {
|
|
5504
|
+
"type": "string"
|
|
5505
|
+
},
|
|
5506
|
+
"l": {
|
|
5507
|
+
"type": "number"
|
|
5508
|
+
},
|
|
5509
|
+
"oklch": {
|
|
5510
|
+
"type": "string"
|
|
5511
|
+
},
|
|
5512
|
+
"value": {
|
|
5513
|
+
"description": "Color in the active [format].",
|
|
5514
|
+
"type": "string"
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5517
|
+
}
|
|
5518
|
+
},
|
|
5519
|
+
"examples": [
|
|
5520
|
+
{
|
|
5521
|
+
"description": "Inline compact color input — popover-anchored picker on click.",
|
|
5522
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"ColorInput\",\n \"name\": \"brand\",\n \"value\": \"#3b82f6\"\n }\n]",
|
|
5523
|
+
"name": "color-input-basic"
|
|
5524
|
+
},
|
|
5525
|
+
{
|
|
5526
|
+
"description": "Compact picker exposing OKLCH value form.",
|
|
5527
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"ColorInput\",\n \"name\": \"accent\",\n \"format\": \"oklch\",\n \"value\": \"oklch(0.7 0.15 220)\"\n }\n]",
|
|
5528
|
+
"name": "color-input-oklch"
|
|
5529
|
+
}
|
|
5530
|
+
],
|
|
5531
|
+
"keywords": [
|
|
5532
|
+
"color-input",
|
|
5533
|
+
"color",
|
|
5534
|
+
"input",
|
|
5535
|
+
"picker",
|
|
5536
|
+
"swatch",
|
|
5537
|
+
"inline",
|
|
5538
|
+
"compact"
|
|
5539
|
+
],
|
|
5540
|
+
"name": "UIColorInput",
|
|
5541
|
+
"related": [
|
|
5542
|
+
"color-picker",
|
|
5543
|
+
"popover",
|
|
5544
|
+
"button",
|
|
5545
|
+
"swatch"
|
|
5546
|
+
],
|
|
5547
|
+
"slots": {},
|
|
5548
|
+
"states": [
|
|
5549
|
+
{
|
|
5550
|
+
"description": "Default, ready for interaction.",
|
|
5551
|
+
"name": "idle"
|
|
5552
|
+
},
|
|
5553
|
+
{
|
|
5554
|
+
"description": "Popover is open; picker visible.",
|
|
5555
|
+
"attribute": "open",
|
|
5556
|
+
"name": "open"
|
|
5557
|
+
},
|
|
5558
|
+
{
|
|
5559
|
+
"description": "Non-interactive; dimmed.",
|
|
5560
|
+
"attribute": "disabled",
|
|
5561
|
+
"name": "disabled"
|
|
5562
|
+
}
|
|
5563
|
+
],
|
|
5564
|
+
"synonyms": {
|
|
5565
|
+
"color-field": [
|
|
5566
|
+
"color-input"
|
|
5567
|
+
],
|
|
5568
|
+
"inline-color-picker": [
|
|
5569
|
+
"color-input"
|
|
5570
|
+
]
|
|
5571
|
+
},
|
|
5572
|
+
"tag": "color-input-ui",
|
|
5573
|
+
"tokens": {
|
|
5574
|
+
"--color-input-swatch-size": {
|
|
5575
|
+
"description": "Diameter (em) of the inline swatch circle inside the trigger button. Default 1em."
|
|
5576
|
+
}
|
|
5577
|
+
},
|
|
5578
|
+
"traits": [],
|
|
5579
|
+
"version": 1
|
|
5580
|
+
}
|
|
5581
|
+
},
|
|
5366
5582
|
"ColorPicker": {
|
|
5367
5583
|
"title": "ColorPicker",
|
|
5368
5584
|
"description": "OKLCH-native color picker with 2D area and H/C/L sliders. Form-associated.",
|
|
@@ -13975,7 +14191,7 @@
|
|
|
13975
14191
|
],
|
|
13976
14192
|
"properties": {
|
|
13977
14193
|
"autoContrast": {
|
|
13978
|
-
"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.
|
|
14194
|
+
"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. Active when `label-position=\"overlay\"` (where the\nlabel sits ON the tile). Uses a 1px canvas probe to handle any CSS\ncolor form (oklch / hex / hsl / named / var() references).\n",
|
|
13979
14195
|
"type": "boolean",
|
|
13980
14196
|
"default": false
|
|
13981
14197
|
},
|
|
@@ -14012,6 +14228,15 @@
|
|
|
14012
14228
|
"type": "string",
|
|
14013
14229
|
"default": ""
|
|
14014
14230
|
},
|
|
14231
|
+
"labelPosition": {
|
|
14232
|
+
"description": "§253 (v0.5.12, FB-23 §1). Position the label relative to the tile.\n`below` (default) stacks label under the tile (current shape=\"block\"\nlayout — `flex-direction: column`). `overlay` renders the label\nINSIDE the tile via absolute positioning; pair with `[auto-contrast]`\nto keep the label legible against the tile color (`data-on-light` /\n`data-on-dark` classes auto-stamped per OKLab-L probe). Only meaningful\nwhen `shape=\"block\"` (other shapes are too small for in-tile labels).\nUnblocks Tokens Studio's C1.3 dogfood migration (label-inside-the-tile\npattern; blocked 3 cycles on this design call).",
|
|
14233
|
+
"type": "string",
|
|
14234
|
+
"enum": [
|
|
14235
|
+
"below",
|
|
14236
|
+
"overlay"
|
|
14237
|
+
],
|
|
14238
|
+
"default": "below"
|
|
14239
|
+
},
|
|
14015
14240
|
"selectable": {
|
|
14016
14241
|
"description": "When set, makes the swatch keyboard-focusable + clickable. Sets role=\"button\" + tabindex=\"0\". Dispatches a \"select\" event on activation (click / Enter / Space).",
|
|
14017
14242
|
"type": "boolean",
|
|
@@ -14101,7 +14326,10 @@
|
|
|
14101
14326
|
],
|
|
14102
14327
|
"slots": {
|
|
14103
14328
|
"default": {
|
|
14104
|
-
"description": "Optional rich label content. When present, replaces the [label]
|
|
14329
|
+
"description": "Optional rich label content. When present, replaces the [label]\nattribute's text. Consumer chrome positioned absolutely against the\nswatch tile should use `[slot=\"chrome\"]` instead — default-slot\nchildren are funneled into the label region.\n"
|
|
14330
|
+
},
|
|
14331
|
+
"chrome": {
|
|
14332
|
+
"description": "§-TBD (v0.5.13, FB-34 §1). Sibling-of-tile chrome — gamut badges,\noverride/tracked dots, custom indicators — that survives stamping as\na direct host sibling rather than being funneled into the label. Pair\nwith consumer-authored CSS `position: absolute` against the host\n(the host carries `position: relative` when `shape=\"block\"`, so\n`top/right/bottom/left` offsets anchor to the tile's geometry).\nCloses the C1.3 dogfood chrome-overlay composition gap.\n"
|
|
14105
14333
|
}
|
|
14106
14334
|
},
|
|
14107
14335
|
"states": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/a2ui-corpus",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AdiaUI A2UI training corpus — canonical v0.9 catalog + chunks + eval fixtures + feedback + gap registry. Consumed by the compose engine's retrieval layer + the MCP pipeline.",
|
|
6
6
|
"exports": {
|