@adia-ai/a2ui-corpus 0.6.38 → 0.6.39
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 +7 -0
- package/catalog-a2ui_0_9.json +263 -0
- package/catalog-a2ui_0_9_rules.txt +12 -0
- package/chunk-embeddings.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.6.39] — 2026-05-26
|
|
4
|
+
|
|
5
|
+
### Changed — catalog regen for `<tour-ui>` + slot-selector substrate sweep
|
|
6
|
+
|
|
7
|
+
- `catalog-a2ui_0_9.json` + `_rules.txt` regenerated absorbing the new `<tour-ui>` + `<tour-step-ui>` primitives and substrate slot-selector sweep (+263 lines / +12 rule lines).
|
|
8
|
+
- `chunk-embeddings.json` refreshed (corpus content unchanged from v0.6.38; timestamp refresh only).
|
|
9
|
+
|
|
3
10
|
## [0.6.38] — 2026-05-26
|
|
4
11
|
|
|
5
12
|
### Added — 1 new chunk + catalog regen for Wave 5e cohort
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -13978,6 +13978,9 @@
|
|
|
13978
13978
|
"description": {
|
|
13979
13979
|
"description": "Override slot for richer description markup than the plain [description] attribute string (inline links, code spans, multiple lines). Renders beneath the primary text at body-subtle typography."
|
|
13980
13980
|
},
|
|
13981
|
+
"action": {
|
|
13982
|
+
"description": "Trailing action affordance on the row (typically a `<button-ui>`). Promotes the row's grid from 2-column (icon | content) to 3-column (icon | content | action), right-aligned + vertically centered across both content rows. Used by `<onboarding-checklist-ui>` item rows and any consumer that needs an end-aligned action button on a list-item."
|
|
13983
|
+
},
|
|
13981
13984
|
"icon": {
|
|
13982
13985
|
"description": "Override the [icon] glyph with a custom slotted element (e.g. a colored <icon-ui>, an image, or an avatar-ui). Mutually exclusive with the [icon] attribute — slot child wins if both are present."
|
|
13983
13986
|
}
|
|
@@ -26105,6 +26108,266 @@
|
|
|
26105
26108
|
"version": 1
|
|
26106
26109
|
}
|
|
26107
26110
|
},
|
|
26111
|
+
"Tour": {
|
|
26112
|
+
"title": "Tour",
|
|
26113
|
+
"description": "Spotlight-driven product tour / guided walkthrough. Hosts a sequence\nof `<tour-step>` children, each targeting an element via CSS selector.\nWhen active, dims the page with a scrim, cuts a \"hole\" around the\ncurrent step's target, and renders a popover next to it with step\ncontent + Skip / Previous / Next navigation.\n\nUse for first-run onboarding tours, feature introductions after a\nrelease, and inline walkthroughs the user opts into (\"Take the tour\").\nDistinct from `<onboarding-checklist-ui>` (persistent todo-list of\nsetup steps the user works through at their own pace) and from\n`<tooltip-ui>` (single hover hint with no orchestration).\n\nArchitecture: tour-ui is a behavioral wrapper (`display: contents`)\nthat reads target / title / content from `<tour-step>` children. On\nstart, mounts a spotlight + popover surface into `document.body`\n(top-layer via Popover API). The spotlight is a transparent\nposition:fixed element with a huge box-shadow that produces the\ndimmed scrim outside its bounds (single-element backdrop, no clip-path\nor SVG mask needed). The popover is anchored to the target via the\nsame `core/anchor.js` pattern used by menu-ui / context-menu-ui /\npopover-ui.\n",
|
|
26114
|
+
"type": "object",
|
|
26115
|
+
"allOf": [
|
|
26116
|
+
{
|
|
26117
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
26118
|
+
},
|
|
26119
|
+
{
|
|
26120
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
26121
|
+
}
|
|
26122
|
+
],
|
|
26123
|
+
"properties": {
|
|
26124
|
+
"active": {
|
|
26125
|
+
"description": "Whether the tour is currently running. Setting to `true` mounts\nthe spotlight + popover; setting to `false` tears down.\n",
|
|
26126
|
+
"type": "boolean",
|
|
26127
|
+
"default": false
|
|
26128
|
+
},
|
|
26129
|
+
"auto-start": {
|
|
26130
|
+
"description": "Start the tour automatically when the element connects. Useful for\nfirst-run flows gated by a storage flag on the consumer side.\n",
|
|
26131
|
+
"type": "boolean",
|
|
26132
|
+
"default": false
|
|
26133
|
+
},
|
|
26134
|
+
"component": {
|
|
26135
|
+
"const": "Tour"
|
|
26136
|
+
},
|
|
26137
|
+
"step": {
|
|
26138
|
+
"description": "Current step index (0-based). Setting this property advances the\ntour to that step (updating spotlight + popover position).\n",
|
|
26139
|
+
"type": "number",
|
|
26140
|
+
"default": 0
|
|
26141
|
+
},
|
|
26142
|
+
"storage-key": {
|
|
26143
|
+
"description": "Optional localStorage key. When set, the tour records its\ncompletion state (`\"done\"`) to that key on finish/skip — and\nrefuses to auto-start on subsequent loads if the key is \"done\".\nUseful for \"show this tour once per user\" flows.\n",
|
|
26144
|
+
"type": "string",
|
|
26145
|
+
"default": ""
|
|
26146
|
+
}
|
|
26147
|
+
},
|
|
26148
|
+
"required": [
|
|
26149
|
+
"component"
|
|
26150
|
+
],
|
|
26151
|
+
"unevaluatedProperties": false,
|
|
26152
|
+
"x-adiaui": {
|
|
26153
|
+
"anti_patterns": [
|
|
26154
|
+
{
|
|
26155
|
+
"fix": "<tour-ui><tour-step target=\"#dashboard\" title=\"Dashboard\">Tour the dashboard…</tour-step>…</tour-ui>",
|
|
26156
|
+
"why": "Bare divs have no target / title — tour-ui can't position the spotlight.",
|
|
26157
|
+
"wrong": "<tour-ui><div>step 1 content</div><div>step 2 content</div></tour-ui>"
|
|
26158
|
+
},
|
|
26159
|
+
{
|
|
26160
|
+
"fix": "<tour-step target=\"#dashboard\">",
|
|
26161
|
+
"why": "target is a CSS selector — bare \"dashboard\" matches a <dashboard> element, NOT an id; use the # prefix.",
|
|
26162
|
+
"wrong": "<tour-step target=\"dashboard\">"
|
|
26163
|
+
}
|
|
26164
|
+
],
|
|
26165
|
+
"category": "feedback",
|
|
26166
|
+
"composes": [
|
|
26167
|
+
"button-ui",
|
|
26168
|
+
"tour-step-ui"
|
|
26169
|
+
],
|
|
26170
|
+
"events": {
|
|
26171
|
+
"tour-finish": {
|
|
26172
|
+
"description": "Fired when the user completes the last step. detail = { totalSteps }. Bubbles."
|
|
26173
|
+
},
|
|
26174
|
+
"tour-skip": {
|
|
26175
|
+
"description": "Fired when the user skips the tour mid-way. detail = { step, totalSteps }. Bubbles."
|
|
26176
|
+
},
|
|
26177
|
+
"tour-start": {
|
|
26178
|
+
"description": "Fired when the tour starts (after spotlight + popover mount). detail = { step }. Bubbles."
|
|
26179
|
+
},
|
|
26180
|
+
"tour-step-change": {
|
|
26181
|
+
"description": "Fired when the active step changes. detail = { from, to, totalSteps }. Bubbles."
|
|
26182
|
+
}
|
|
26183
|
+
},
|
|
26184
|
+
"examples": [
|
|
26185
|
+
{
|
|
26186
|
+
"description": "A 3-step product tour anchored to selector-resolved elements.",
|
|
26187
|
+
"a2ui": "[\n { \"id\": \"tour\", \"component\": \"Tour\", \"auto-start\": true, \"children\": [\"s1\", \"s2\", \"s3\"] },\n { \"id\": \"s1\", \"component\": \"TourStep\", \"target\": \"#dashboard\", \"title\": \"Your dashboard\", \"textContent\": \"Here's where you'll see your latest activity.\" },\n { \"id\": \"s2\", \"component\": \"TourStep\", \"target\": \"#filters\", \"title\": \"Filters\", \"textContent\": \"Narrow results by status, owner, or date.\" },\n { \"id\": \"s3\", \"component\": \"TourStep\", \"target\": \"#export\", \"title\": \"Export\", \"textContent\": \"Download a CSV of the current view.\" }\n]\n",
|
|
26188
|
+
"name": "basic-tour"
|
|
26189
|
+
}
|
|
26190
|
+
],
|
|
26191
|
+
"keywords": [
|
|
26192
|
+
"tour",
|
|
26193
|
+
"product-tour",
|
|
26194
|
+
"walkthrough",
|
|
26195
|
+
"guided-tour",
|
|
26196
|
+
"spotlight",
|
|
26197
|
+
"coachmark",
|
|
26198
|
+
"feature-introduction"
|
|
26199
|
+
],
|
|
26200
|
+
"name": "UITour",
|
|
26201
|
+
"related": [
|
|
26202
|
+
"tooltip",
|
|
26203
|
+
"popover",
|
|
26204
|
+
"onboarding-checklist"
|
|
26205
|
+
],
|
|
26206
|
+
"slots": {
|
|
26207
|
+
"default": {
|
|
26208
|
+
"description": "<tour-step> children — each declares target + title + body content."
|
|
26209
|
+
}
|
|
26210
|
+
},
|
|
26211
|
+
"states": [
|
|
26212
|
+
{
|
|
26213
|
+
"description": "Tour is dormant; no scrim / popover rendered.",
|
|
26214
|
+
"name": "idle"
|
|
26215
|
+
},
|
|
26216
|
+
{
|
|
26217
|
+
"description": "Tour is running; scrim dims the page, current target is spotlighted.",
|
|
26218
|
+
"name": "active"
|
|
26219
|
+
},
|
|
26220
|
+
{
|
|
26221
|
+
"description": "Last step reached (Done is shown instead of Next).",
|
|
26222
|
+
"name": "complete"
|
|
26223
|
+
}
|
|
26224
|
+
],
|
|
26225
|
+
"status": "stable",
|
|
26226
|
+
"synonyms": {
|
|
26227
|
+
"spotlight": [
|
|
26228
|
+
"coachmark",
|
|
26229
|
+
"feature-highlight"
|
|
26230
|
+
],
|
|
26231
|
+
"tour": [
|
|
26232
|
+
"product-tour",
|
|
26233
|
+
"guided-tour",
|
|
26234
|
+
"walkthrough",
|
|
26235
|
+
"feature-intro"
|
|
26236
|
+
]
|
|
26237
|
+
},
|
|
26238
|
+
"tag": "tour-ui",
|
|
26239
|
+
"tokens": {
|
|
26240
|
+
"--tour-popover-bg": {
|
|
26241
|
+
"description": "Background of the step-content popover.",
|
|
26242
|
+
"default": "var(--a-bg-subtle)"
|
|
26243
|
+
},
|
|
26244
|
+
"--tour-popover-border": {
|
|
26245
|
+
"description": "Border color of the popover.",
|
|
26246
|
+
"default": "var(--a-border-subtle)"
|
|
26247
|
+
},
|
|
26248
|
+
"--tour-popover-max-width": {
|
|
26249
|
+
"description": "Maximum width of the popover.",
|
|
26250
|
+
"default": "22rem"
|
|
26251
|
+
},
|
|
26252
|
+
"--tour-popover-min-width": {
|
|
26253
|
+
"description": "Minimum width of the popover (so step text wraps reasonably).",
|
|
26254
|
+
"default": "18rem"
|
|
26255
|
+
},
|
|
26256
|
+
"--tour-popover-radius": {
|
|
26257
|
+
"description": "Border-radius of the popover.",
|
|
26258
|
+
"default": "var(--a-radius-lg)"
|
|
26259
|
+
},
|
|
26260
|
+
"--tour-popover-shadow": {
|
|
26261
|
+
"description": "Shadow of the popover.",
|
|
26262
|
+
"default": "var(--a-shadow-lg)"
|
|
26263
|
+
},
|
|
26264
|
+
"--tour-scrim": {
|
|
26265
|
+
"description": "Backdrop scrim color (everything outside the spotlight).",
|
|
26266
|
+
"default": "var(--a-scrim-dialog)"
|
|
26267
|
+
},
|
|
26268
|
+
"--tour-spotlight-padding": {
|
|
26269
|
+
"description": "Padding around the target bounding box (the spotlight's \"halo\").",
|
|
26270
|
+
"default": "var(--a-space-2)"
|
|
26271
|
+
},
|
|
26272
|
+
"--tour-spotlight-radius": {
|
|
26273
|
+
"description": "Border radius of the spotlight cutout.",
|
|
26274
|
+
"default": "var(--a-radius-md)"
|
|
26275
|
+
}
|
|
26276
|
+
},
|
|
26277
|
+
"traits": [],
|
|
26278
|
+
"version": 1
|
|
26279
|
+
}
|
|
26280
|
+
},
|
|
26281
|
+
"TourStep": {
|
|
26282
|
+
"title": "TourStep",
|
|
26283
|
+
"description": "Single step inside a `<tour-ui>` walkthrough. Declares a target\nelement (via CSS selector), a title, and body content. The host\n`<tour-ui>` reads these declaratively and renders them in the\npopover as the user advances through the tour.\n\n`<tour-step>` itself renders nothing — it's a data carrier (light\nDOM source of truth). The tour-ui orchestrator clones the body\ncontent into the spotlight popover when the step becomes active.\n",
|
|
26284
|
+
"type": "object",
|
|
26285
|
+
"allOf": [
|
|
26286
|
+
{
|
|
26287
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
26288
|
+
},
|
|
26289
|
+
{
|
|
26290
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
26291
|
+
}
|
|
26292
|
+
],
|
|
26293
|
+
"properties": {
|
|
26294
|
+
"title": {
|
|
26295
|
+
"description": "Step heading rendered in the popover.",
|
|
26296
|
+
"type": "string",
|
|
26297
|
+
"default": ""
|
|
26298
|
+
},
|
|
26299
|
+
"component": {
|
|
26300
|
+
"const": "TourStep"
|
|
26301
|
+
},
|
|
26302
|
+
"placement": {
|
|
26303
|
+
"description": "Preferred popover placement relative to the target. Same vocabulary\nas `core/anchor.js` (`top`, `bottom`, `left`, `right`,\n`bottom-start`, `bottom-end`, etc.). Auto-flips on viewport overflow\nvia position-try-fallbacks.\n",
|
|
26304
|
+
"type": "string",
|
|
26305
|
+
"enum": [
|
|
26306
|
+
"top",
|
|
26307
|
+
"bottom",
|
|
26308
|
+
"left",
|
|
26309
|
+
"right",
|
|
26310
|
+
"top-start",
|
|
26311
|
+
"top-end",
|
|
26312
|
+
"bottom-start",
|
|
26313
|
+
"bottom-end",
|
|
26314
|
+
"left-start",
|
|
26315
|
+
"left-end",
|
|
26316
|
+
"right-start",
|
|
26317
|
+
"right-end"
|
|
26318
|
+
],
|
|
26319
|
+
"default": "bottom"
|
|
26320
|
+
},
|
|
26321
|
+
"target": {
|
|
26322
|
+
"description": "CSS selector for the element to spotlight when this step is\nactive. Resolved via `document.querySelector(target)` at step\nactivation time. If the selector matches nothing, the spotlight\nfalls back to viewport-center and the popover anchors to the\npage (no halo cutout).\n",
|
|
26323
|
+
"type": "string",
|
|
26324
|
+
"default": ""
|
|
26325
|
+
}
|
|
26326
|
+
},
|
|
26327
|
+
"required": [
|
|
26328
|
+
"component"
|
|
26329
|
+
],
|
|
26330
|
+
"unevaluatedProperties": false,
|
|
26331
|
+
"x-adiaui": {
|
|
26332
|
+
"anti_patterns": [
|
|
26333
|
+
{
|
|
26334
|
+
"fix": "<tour-step target=\"#dashboard\">",
|
|
26335
|
+
"why": "target is a CSS selector — bare \"dashboard\" doesn't match.",
|
|
26336
|
+
"wrong": "<tour-step target=\"dashboard\">"
|
|
26337
|
+
}
|
|
26338
|
+
],
|
|
26339
|
+
"category": "feedback",
|
|
26340
|
+
"composes": [],
|
|
26341
|
+
"events": {},
|
|
26342
|
+
"examples": [],
|
|
26343
|
+
"keywords": [
|
|
26344
|
+
"tour-step",
|
|
26345
|
+
"walkthrough-step",
|
|
26346
|
+
"guided-step"
|
|
26347
|
+
],
|
|
26348
|
+
"name": "UITourStep",
|
|
26349
|
+
"related": [
|
|
26350
|
+
"tour"
|
|
26351
|
+
],
|
|
26352
|
+
"slots": {
|
|
26353
|
+
"default": {
|
|
26354
|
+
"description": "Body content rendered inside the step popover (plain text or inline HTML)."
|
|
26355
|
+
}
|
|
26356
|
+
},
|
|
26357
|
+
"states": [],
|
|
26358
|
+
"status": "stable",
|
|
26359
|
+
"synonyms": {
|
|
26360
|
+
"step": [
|
|
26361
|
+
"tour-step",
|
|
26362
|
+
"walkthrough-step"
|
|
26363
|
+
]
|
|
26364
|
+
},
|
|
26365
|
+
"tag": "tour-step-ui",
|
|
26366
|
+
"tokens": {},
|
|
26367
|
+
"traits": [],
|
|
26368
|
+
"version": 1
|
|
26369
|
+
}
|
|
26370
|
+
},
|
|
26108
26371
|
"Tree": {
|
|
26109
26372
|
"title": "Tree",
|
|
26110
26373
|
"description": "Collapsible tree container with keyboard navigation (arrow keys, Enter/Space). Manages selection across nested tree-item-ns.",
|
|
@@ -753,6 +753,18 @@
|
|
|
753
753
|
- Set [delay=0] only for high-frequency exploratory surfaces (sparkline ticks, chart hover). Keep the default 400ms delay elsewhere to avoid hover noise.
|
|
754
754
|
- [indicator] (dot | line | dashed) is meaningful only in pointer mode for per-series swatches. Omit it or leave default "none" for text-mode tooltips.
|
|
755
755
|
|
|
756
|
+
## TourStep
|
|
757
|
+
- Single step inside <tour-ui>. Declares target (CSS selector) + title + body content.
|
|
758
|
+
- target is a CSS selector (e.g. "#dashboard", ".filters button"), NOT a bare ID. Use the # prefix.
|
|
759
|
+
- Renders nothing on its own — tour-ui orchestrates the popover stamping when the step becomes active.
|
|
760
|
+
|
|
761
|
+
## Tour
|
|
762
|
+
- Use tour-ui for spotlight-driven product tours / walkthroughs — sequence of steps each targeting a CSS-selector-resolved element.
|
|
763
|
+
- Children are <tour-step target="..." title="..."> with body content as the default slot. tour-ui reads them in DOM order.
|
|
764
|
+
- Set [auto-start] for first-run flows (paired with [storage-key] so it only shows once). Otherwise call .start() programmatically from a "Take the tour" button.
|
|
765
|
+
- Distinct from <onboarding-checklist-ui> (persistent setup todo-list, user-paced) and <tooltip-ui> (single hover hint, no orchestration).
|
|
766
|
+
- Listen to `tour-finish` for "user completed the tour" analytics; `tour-skip` for "user opted out". Both fire once per session.
|
|
767
|
+
|
|
756
768
|
## TreeItem
|
|
757
769
|
- <tree-item-ui> MUST be a direct or nested descendant of <tree-ui>. It is not a standalone primitive — outside a <tree-ui> parent, selection / expansion / keyboard nav don't wire.
|
|
758
770
|
- Provide a stable [value] attribute on every <tree-item-ui> that consumers will select. The `tree-select` event's detail.value is the identifier downstream code reads to know which node was picked.
|