@adia-ai/web-components 0.8.36 → 0.8.38
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 +29 -0
- package/MIGRATION.md +248 -45
- package/README.md +3 -3
- package/bin/doc.mjs +27 -5
- package/components/card/card.css +1 -1
- package/components/drilldown/drilldown.a2ui.json +242 -0
- package/components/drilldown/drilldown.class.js +542 -0
- package/components/drilldown/drilldown.css +305 -0
- package/components/drilldown/drilldown.d.ts +68 -0
- package/components/drilldown/drilldown.examples.md +20 -0
- package/components/drilldown/drilldown.js +17 -0
- package/components/drilldown/drilldown.yaml +271 -0
- package/components/index.js +1 -0
- package/components/inspector/inspector.class.js +1 -1
- package/components/nav/nav.class.js +11 -8
- package/components/nav-item/nav-item.class.js +9 -6
- package/components/page/page.a2ui.json +13 -1
- package/components/page/page.css +113 -0
- package/components/page/page.yaml +30 -3
- package/components/table-toolbar/table-toolbar.examples.md +3 -3
- package/core/streams-bridge.d.ts +2 -2
- package/core/streams-bridge.js +1 -1
- package/custom-elements.json +183 -26
- package/dist/theme-provider.min.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.min.js +103 -84
- package/dist/web-components.sheet.js +1 -1
- package/package.json +3 -3
- package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +8 -8
- package/patterns/agent-cost/agent-cost.examples.html +3 -3
- package/patterns/agent-memory/agent-memory.examples.html +4 -4
- package/patterns/agent-prompt-library/agent-prompt-library.examples.html +8 -8
- package/patterns/approvals/approvals.examples.html +2 -2
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +1 -1
- package/patterns/changelog-feed/changelog-feed.examples.html +1 -1
- package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +7 -7
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +4 -4
- package/patterns/diff-review/diff-review.examples.html +6 -6
- package/patterns/filter-bar/filter-bar.examples.html +5 -5
- package/patterns/inline-dialog/inline-dialog.examples.html +1 -1
- package/patterns/kanban-board/kanban-board.examples.html +12 -12
- package/patterns/layout/layout.examples.html +3 -3
- package/patterns/marketing-engagement/marketing-engagement.examples.html +13 -13
- package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +1 -1
- package/patterns/permissions-matrix/permissions-matrix.examples.html +1 -1
- package/patterns/permissions-role-picker/permissions-role-picker.examples.html +1 -1
- package/patterns/permissions-sharing/permissions-sharing.examples.html +3 -3
- package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +2 -2
- package/patterns/search-discovery/search-discovery.examples.html +15 -15
- package/styles/components.css +1 -0
- package/styles/type/scale.css +2 -1
- package/traits/view-transition/view-transition.js +7 -0
|
@@ -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"
|
|
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"
|
|
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
|
|
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>
|
package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html
CHANGED
|
@@ -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
|
|
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
|
|
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"
|
|
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"
|
|
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"
|
|
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"
|
|
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
|
|
201
|
-
<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
|
|
213
|
-
<tag-ui
|
|
214
|
-
<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
|
|
226
|
-
<tag-ui
|
|
227
|
-
<tag-ui
|
|
225
|
+
<tag-ui>type=pr</tag-ui>
|
|
226
|
+
<tag-ui>updated<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
|
|
239
|
-
<tag-ui
|
|
240
|
-
<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>
|
package/styles/components.css
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
@import "../components/segmented/segmented.css";
|
|
28
28
|
@import "../components/range/range.css";
|
|
29
29
|
@import "../components/tree/tree.css";
|
|
30
|
+
@import "../components/drilldown/drilldown.css";
|
|
30
31
|
@import "../components/pane/pane.css";
|
|
31
32
|
@import "../components/page/page.css";
|
|
32
33
|
@import "../components/chat-thread/chat-input.css";
|
package/styles/type/scale.css
CHANGED
|
@@ -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
|
|
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
|
|
|
@@ -107,6 +107,13 @@ export const viewTransition = defineTrait({
|
|
|
107
107
|
// end once the transition resolves.
|
|
108
108
|
fireStart();
|
|
109
109
|
const transition = document.startViewTransition(() => cb());
|
|
110
|
+
// gh#1255: a superseding transition aborts `ready` and
|
|
111
|
+
// `updateCallbackDone` (AbortError) independently of `finished` —
|
|
112
|
+
// each is a distinct promise, so each needs its own handler or the
|
|
113
|
+
// abort surfaces as an unhandled rejection. Abort-on-supersede is
|
|
114
|
+
// expected here, not a real error, so swallow it on all three.
|
|
115
|
+
transition.ready.catch(() => {});
|
|
116
|
+
transition.updateCallbackDone.catch(() => {});
|
|
110
117
|
transition.finished
|
|
111
118
|
.then(() => fireEnd())
|
|
112
119
|
.catch(() => fireEnd()); // user-skipped or thrown — still emit end
|