@adia-ai/web-components 0.8.35 → 0.8.37

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/MIGRATION.md +246 -44
  3. package/README.md +3 -3
  4. package/components/inspector/inspector.class.js +1 -1
  5. package/components/table-toolbar/table-toolbar.examples.md +3 -3
  6. package/core/streams-bridge.d.ts +2 -2
  7. package/core/streams-bridge.js +1 -1
  8. package/dist/web-components.min.js +1 -1
  9. package/package.json +3 -3
  10. package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +8 -8
  11. package/patterns/agent-cost/agent-cost.examples.html +3 -3
  12. package/patterns/agent-memory/agent-memory.examples.html +4 -4
  13. package/patterns/agent-prompt-library/agent-prompt-library.examples.html +8 -8
  14. package/patterns/approvals/approvals.examples.html +2 -2
  15. package/patterns/changelog-feed/changelog-feed.examples.html +1 -1
  16. package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +7 -7
  17. package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +4 -4
  18. package/patterns/diff-review/diff-review.examples.html +6 -6
  19. package/patterns/filter-bar/filter-bar.examples.html +5 -5
  20. package/patterns/inline-dialog/inline-dialog.examples.html +1 -1
  21. package/patterns/kanban-board/kanban-board.examples.html +12 -12
  22. package/patterns/layout/layout.examples.html +3 -3
  23. package/patterns/marketing-engagement/marketing-engagement.examples.html +13 -13
  24. package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +1 -1
  25. package/patterns/permissions-matrix/permissions-matrix.examples.html +1 -1
  26. package/patterns/permissions-role-picker/permissions-role-picker.examples.html +1 -1
  27. package/patterns/permissions-sharing/permissions-sharing.examples.html +3 -3
  28. package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +2 -2
  29. package/patterns/search-discovery/search-discovery.examples.html +15 -15
  30. package/styles/type/scale.css +2 -1
@@ -190,19 +190,19 @@
190
190
  <div data-artifact-item data-artifact-label="center">
191
191
  <stack-ui data-chunk="layout-stack-center" align="center">
192
192
  <avatar-ui text="AB" size="lg"></avatar-ui>
193
- <badge-ui text="3" size="sm" variant="danger"></badge-ui>
193
+ <badge-ui text="3" variant="danger"></badge-ui>
194
194
  </stack-ui>
195
195
  </div>
196
196
  <div data-artifact-item data-artifact-label="top-right">
197
197
  <stack-ui data-chunk="layout-stack-top-right" align="top-right">
198
198
  <avatar-ui text="AB" size="lg"></avatar-ui>
199
- <badge-ui text="3" size="sm" variant="danger"></badge-ui>
199
+ <badge-ui text="3" variant="danger"></badge-ui>
200
200
  </stack-ui>
201
201
  </div>
202
202
  <div data-artifact-item data-artifact-label="bottom-left">
203
203
  <stack-ui data-chunk="layout-stack-bottom-left" align="bottom-left">
204
204
  <avatar-ui text="AB" size="lg"></avatar-ui>
205
- <badge-ui text="3" size="sm" variant="danger"></badge-ui>
205
+ <badge-ui text="3" variant="danger"></badge-ui>
206
206
  </stack-ui>
207
207
  </div>
208
208
  </div>
@@ -31,7 +31,7 @@
31
31
  data-chunk-keywords="hero cta centered headline display deck subhead get-started buttons landing marketing banner launch" raw>
32
32
  <section bleed>
33
33
  <col-ui gap="3" align="center" padding="10">
34
- <tag-ui size="sm" variant="default">v0.0.27 — out today</tag-ui>
34
+ <tag-ui variant="default">v0.0.27 — out today</tag-ui>
35
35
  <text-ui variant="display" strong>Generative UI, deterministically.</text-ui>
36
36
  <text-ui variant="deck" color="subtle">AdiaUI emits A2UI JSON the runtime renders into Light-DOM web components. No model, no surprise.</text-ui>
37
37
  <row-ui gap="2">
@@ -57,7 +57,7 @@
57
57
  <section bleed>
58
58
  <grid-ui columns="2" gap="6" align="center" padding="8">
59
59
  <col-ui gap="4" align="start">
60
- <tag-ui size="sm" variant="default">For teams</tag-ui>
60
+ <tag-ui variant="default">For teams</tag-ui>
61
61
  <text-ui variant="display" strong>Ship UI as fast as your model thinks.</text-ui>
62
62
  <text-ui variant="deck" color="subtle">A2UI is a typed JSON protocol your agent emits and the runtime renders. No React rebuild for every prompt.</text-ui>
63
63
  <row-ui gap="2">
@@ -139,22 +139,22 @@
139
139
  <list-item-ui text="Avery Chen">
140
140
  <avatar-ui slot="icon" size="sm" text="Avery Chen"></avatar-ui>
141
141
  <span slot="description">avery@example.com · 5 days ago</span>
142
- <tag-ui slot="action" size="sm" variant="success">Verified · $10</tag-ui>
142
+ <tag-ui slot="action" variant="success">Verified · $10</tag-ui>
143
143
  </list-item-ui>
144
144
  <list-item-ui text="Jordan Lee">
145
145
  <avatar-ui slot="icon" size="sm" text="Jordan Lee"></avatar-ui>
146
146
  <span slot="description">jordan@example.com · 2 weeks ago</span>
147
- <tag-ui slot="action" size="sm" variant="success">Verified · $10</tag-ui>
147
+ <tag-ui slot="action" variant="success">Verified · $10</tag-ui>
148
148
  </list-item-ui>
149
149
  <list-item-ui text="Sam Park">
150
150
  <avatar-ui slot="icon" size="sm" text="Sam Park"></avatar-ui>
151
151
  <span slot="description">sam@example.com · 3 weeks ago</span>
152
- <tag-ui slot="action" size="sm">Joined</tag-ui>
152
+ <tag-ui slot="action">Joined</tag-ui>
153
153
  </list-item-ui>
154
154
  <list-item-ui text="riley@example.com">
155
155
  <avatar-ui slot="icon" size="sm" text="riley@example.com"></avatar-ui>
156
156
  <span slot="description">Sent 1 month ago</span>
157
- <tag-ui slot="action" size="sm" variant="default">Pending</tag-ui>
157
+ <tag-ui slot="action" variant="default">Pending</tag-ui>
158
158
  </list-item-ui>
159
159
  </list-ui>
160
160
  </col-ui>
@@ -185,7 +185,7 @@
185
185
  <text-ui variant="display">🚀</text-ui>
186
186
  <text-ui strong>First launch</text-ui>
187
187
  <text-ui variant="caption" color="subtle">Shipped your first prompt</text-ui>
188
- <tag-ui size="sm" variant="success">Apr 12</tag-ui>
188
+ <tag-ui variant="success">Apr 12</tag-ui>
189
189
  </col-ui>
190
190
  </section>
191
191
  </card-ui>
@@ -195,7 +195,7 @@
195
195
  <text-ui variant="display">🔥</text-ui>
196
196
  <text-ui strong>7-day streak</text-ui>
197
197
  <text-ui variant="caption" color="subtle">A week of daily use</text-ui>
198
- <tag-ui size="sm" variant="success">Apr 19</tag-ui>
198
+ <tag-ui variant="success">Apr 19</tag-ui>
199
199
  </col-ui>
200
200
  </section>
201
201
  </card-ui>
@@ -205,7 +205,7 @@
205
205
  <text-ui variant="display">🎨</text-ui>
206
206
  <text-ui strong>Theme artist</text-ui>
207
207
  <text-ui variant="caption" color="subtle">Created 3 custom themes</text-ui>
208
- <tag-ui size="sm" variant="success">Apr 22</tag-ui>
208
+ <tag-ui variant="success">Apr 22</tag-ui>
209
209
  </col-ui>
210
210
  </section>
211
211
  </card-ui>
@@ -215,7 +215,7 @@
215
215
  <text-ui variant="display" color="subtle">🏗️</text-ui>
216
216
  <text-ui color="subtle" strong>Builder</text-ui>
217
217
  <text-ui variant="caption" color="subtle">Ship 10 prompts</text-ui>
218
- <tag-ui size="sm" variant="default">7 of 10</tag-ui>
218
+ <tag-ui variant="default">7 of 10</tag-ui>
219
219
  </col-ui>
220
220
  </section>
221
221
  </card-ui>
@@ -225,7 +225,7 @@
225
225
  <text-ui variant="display" color="subtle">🌟</text-ui>
226
226
  <text-ui color="subtle" strong>30-day streak</text-ui>
227
227
  <text-ui variant="caption" color="subtle">A month of daily use</text-ui>
228
- <tag-ui size="sm" variant="default">12 of 30</tag-ui>
228
+ <tag-ui variant="default">12 of 30</tag-ui>
229
229
  </col-ui>
230
230
  </section>
231
231
  </card-ui>
@@ -235,7 +235,7 @@
235
235
  <text-ui variant="display" color="subtle">🤝</text-ui>
236
236
  <text-ui color="subtle" strong>Connector</text-ui>
237
237
  <text-ui variant="caption" color="subtle">Refer 5 friends</text-ui>
238
- <tag-ui size="sm" variant="default">3 of 5</tag-ui>
238
+ <tag-ui variant="default">3 of 5</tag-ui>
239
239
  </col-ui>
240
240
  </section>
241
241
  </card-ui>
@@ -258,7 +258,7 @@
258
258
  <section>
259
259
  <col-ui gap="3" align="center" padding="6">
260
260
  <text-ui variant="display">🔥</text-ui>
261
- <tag-ui size="sm" variant="primary">Achievement unlocked</tag-ui>
261
+ <tag-ui variant="primary">Achievement unlocked</tag-ui>
262
262
  <text-ui variant="display" strong>7-day streak</text-ui>
263
263
  <text-ui color="subtle">A full week of daily use. You've shipped 14 prompts and 23 chunks since you started.</text-ui>
264
264
  </col-ui>
@@ -64,7 +64,7 @@
64
64
  <header>
65
65
  <row-ui slot="heading" align="center" gap="2">
66
66
  <text-ui strong>Notifications</text-ui>
67
- <tag-ui size="sm" variant="primary">3 new</tag-ui>
67
+ <tag-ui variant="primary">3 new</tag-ui>
68
68
  </row-ui>
69
69
  </header>
70
70
  <section>
@@ -55,7 +55,7 @@
55
55
  <header>
56
56
  <span slot="heading" variant="section">Admin</span>
57
57
  <text-ui slot="description" color="subtle">Built-in role · 3 members</text-ui>
58
- <tag-ui slot="action" variant="primary" size="sm">Built-in</tag-ui>
58
+ <tag-ui slot="action" variant="primary">Built-in</tag-ui>
59
59
  </header>
60
60
  <section>
61
61
  <description-list-ui>
@@ -32,7 +32,7 @@
32
32
  <option-card-ui name="role" value="viewer" heading="Viewer" description="Can read everything; cannot edit, comment, or share."></option-card-ui>
33
33
  <option-card-ui name="role" value="member" heading="Member" description="Can edit content they own and comment on anything." checked></option-card-ui>
34
34
  <option-card-ui name="role" value="admin" description="Can manage members, billing, and integrations.">
35
- <span slot="heading">Admin <tag-ui size="sm">Recommended for leads</tag-ui></span>
35
+ <span slot="heading">Admin <tag-ui>Recommended for leads</tag-ui></span>
36
36
  </option-card-ui>
37
37
  <option-card-ui name="role" value="owner" heading="Owner" description="Admin powers plus the ability to delete the workspace."></option-card-ui>
38
38
  </col-ui>
@@ -34,7 +34,7 @@
34
34
  <option-card-ui name="scope" value="link" heading="Anyone with the link" description="No sign-in required. Link can be revoked anytime." icon="link"></option-card-ui>
35
35
  <option-card-ui name="scope" value="org" heading="Anyone in your workspace" description="Members of acme.com can find and open it." icon="users"></option-card-ui>
36
36
  <option-card-ui name="scope" value="public" description="Discoverable via search. Use with care." icon="globe">
37
- <span slot="heading">Public on the web <tag-ui variant="warning" size="sm">Indexable</tag-ui></span>
37
+ <span slot="heading">Public on the web <tag-ui variant="warning">Indexable</tag-ui></span>
38
38
  </option-card-ui>
39
39
  </col-ui>
40
40
  </field-ui>
@@ -53,7 +53,7 @@
53
53
  data-chunk-keywords="share link copy url scope anyone expiry revoke permission level readonly collaborate" style="max-width: 560px;">
54
54
  <header>
55
55
  <span slot="heading" variant="section">Share link</span>
56
- <tag-ui slot="action" variant="primary" size="sm">Anyone with the link</tag-ui>
56
+ <tag-ui slot="action" variant="primary">Anyone with the link</tag-ui>
57
57
  </header>
58
58
  <section>
59
59
  <col-ui gap="3">
@@ -125,7 +125,7 @@
125
125
  <text-ui strong>Kim Granlund</text-ui>
126
126
  <text-ui color="subtle" size="sm">kim@example.com</text-ui>
127
127
  </col-ui>
128
- <tag-ui size="sm">Owner</tag-ui>
128
+ <tag-ui>Owner</tag-ui>
129
129
  </row-ui>
130
130
  <row-ui gap="3" align="center">
131
131
  <avatar-ui size="sm" text="Avery Chen"></avatar-ui>
@@ -38,7 +38,7 @@
38
38
  <col-ui gap="1" grow>
39
39
  <row-ui gap="2" align="center">
40
40
  <text-ui strong size="lg">Kim Granlund</text-ui>
41
- <tag-ui size="sm" variant="primary" icon-leading="seal-check">Verified</tag-ui>
41
+ <tag-ui variant="primary" icon-leading="seal-check">Verified</tag-ui>
42
42
  </row-ui>
43
43
  <text-ui color="subtle">Founder · AdiaUI · Reykjavík, IS</text-ui>
44
44
  <text-ui>Building the AdiaUI web-components library and the A2UI generative-UI runtime. Previously at Construct, before that at Modular.</text-ui>
@@ -178,7 +178,7 @@
178
178
  <header>
179
179
  <span slot="heading" variant="section">
180
180
  You're verified
181
- <tag-ui size="sm" variant="primary" icon-leading="seal-check">Verified</tag-ui>
181
+ <tag-ui variant="primary" icon-leading="seal-check">Verified</tag-ui>
182
182
  </span>
183
183
  </header>
184
184
  <section>
@@ -36,19 +36,19 @@
36
36
  <list-ui divider contained>
37
37
  <list-item-ui text="Component Token Contract">
38
38
  <span slot="description">"…all colors must reference --a-chrome-*, --a-data-0..9, or semantic tokens. Zero raw oklch in component CSS…"</span>
39
- <tag-ui slot="action" size="sm">Spec</tag-ui>
39
+ <tag-ui slot="action">Spec</tag-ui>
40
40
  </list-item-ui>
41
41
  <list-item-ui text="2026-04-29 — primitive QA sweep">
42
42
  <span slot="description">"…OKLCH-with-transparent red-shift bug fixed in Safari 18.0 (ADR-0007); we use oklab for color-mix instead…"</span>
43
- <tag-ui slot="action" size="sm">Journal</tag-ui>
43
+ <tag-ui slot="action">Journal</tag-ui>
44
44
  </list-item-ui>
45
45
  <list-item-ui text="styles/tokens.css">
46
46
  <span slot="description">"--a-primary-bg: oklch(64% 0.18 245); --a-primary-fg: oklch(98% 0.01 245)…"</span>
47
- <tag-ui slot="action" size="sm">Code</tag-ui>
47
+ <tag-ui slot="action">Code</tag-ui>
48
48
  </list-item-ui>
49
49
  <list-item-ui text="Reasoning About Color (skill)">
50
50
  <span slot="description">"…OKLCH ramps that satisfy contrast, hue-stability, and perceptual-evenness…"</span>
51
- <tag-ui slot="action" size="sm">Skill</tag-ui>
51
+ <tag-ui slot="action">Skill</tag-ui>
52
52
  </list-item-ui>
53
53
  </list-ui>
54
54
  </section>
@@ -197,8 +197,8 @@
197
197
  <col-ui gap="1" grow>
198
198
  <text-ui strong>My open issues</text-ui>
199
199
  <row-ui gap="1" wrap>
200
- <tag-ui size="sm">assignee=me</tag-ui>
201
- <tag-ui size="sm">status=open</tag-ui>
200
+ <tag-ui>assignee=me</tag-ui>
201
+ <tag-ui>status=open</tag-ui>
202
202
  </row-ui>
203
203
  </col-ui>
204
204
  <text-ui color="subtle" size="sm">12 results · 3 min ago</text-ui>
@@ -209,9 +209,9 @@
209
209
  <col-ui gap="1" grow>
210
210
  <text-ui strong>Q2 customer escalations</text-ui>
211
211
  <row-ui gap="1" wrap>
212
- <tag-ui size="sm">label=customer</tag-ui>
213
- <tag-ui size="sm">priority=p1</tag-ui>
214
- <tag-ui size="sm">created≥2026-04-01</tag-ui>
212
+ <tag-ui>label=customer</tag-ui>
213
+ <tag-ui>priority=p1</tag-ui>
214
+ <tag-ui>created≥2026-04-01</tag-ui>
215
215
  </row-ui>
216
216
  </col-ui>
217
217
  <text-ui color="subtle" size="sm">7 results · today</text-ui>
@@ -222,9 +222,9 @@
222
222
  <col-ui gap="1" grow>
223
223
  <text-ui strong>Stale PRs</text-ui>
224
224
  <row-ui gap="1" wrap>
225
- <tag-ui size="sm">type=pr</tag-ui>
226
- <tag-ui size="sm">updated&lt;30d</tag-ui>
227
- <tag-ui size="sm">status=open</tag-ui>
225
+ <tag-ui>type=pr</tag-ui>
226
+ <tag-ui>updated&lt;30d</tag-ui>
227
+ <tag-ui>status=open</tag-ui>
228
228
  </row-ui>
229
229
  </col-ui>
230
230
  <text-ui color="subtle" size="sm">23 results · 1 hour ago</text-ui>
@@ -235,9 +235,9 @@
235
235
  <col-ui gap="1" grow>
236
236
  <text-ui strong>Recent docs from team</text-ui>
237
237
  <row-ui gap="1" wrap>
238
- <tag-ui size="sm">type=doc</tag-ui>
239
- <tag-ui size="sm">author∈team</tag-ui>
240
- <tag-ui size="sm">edited≤7d</tag-ui>
238
+ <tag-ui>type=doc</tag-ui>
239
+ <tag-ui>author∈team</tag-ui>
240
+ <tag-ui>edited≤7d</tag-ui>
241
241
  </row-ui>
242
242
  </col-ui>
243
243
  <text-ui color="subtle" size="sm">31 results · 4 hours ago</text-ui>
@@ -22,7 +22,8 @@
22
22
  /* `--a-font` (the pre-ADR-0035 back-compat alias) was REMOVED in 0.8.23
23
23
  (gh ruling 2026-07-30; prerequisite in-repo sweep 2026-07-29). A
24
24
  surviving `var(--a-font)` reference goes invalid-at-computed-value-time
25
- → inherit → UA serif — see MIGRATION GUIDE §0.9.0; the
25
+ → inherit → UA serif — see MIGRATION GUIDE
26
+ "Migrating to @adia-ai/*@v0.8.23"; the
26
27
  audit-font-family-floor gate and forge/factory lint rules flag any
27
28
  usage. */
28
29