@adia-ai/web-components 0.8.43 → 0.8.44
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 +30 -0
- package/components/avatar/avatar.class.js +12 -1
- package/components/button/button.d.ts +4 -0
- package/components/chart/chart.a2ui.json +26 -0
- package/components/chart/chart.class.js +1304 -222
- package/components/chart/chart.css +151 -1
- package/components/chart/chart.d.ts +6 -0
- package/components/chart/chart.yaml +57 -0
- package/components/chart-legend/chart-legend.a2ui.json +17 -2
- package/components/chart-legend/chart-legend.class.js +69 -4
- package/components/chart-legend/chart-legend.css +65 -1
- package/components/chart-legend/chart-legend.d.ts +4 -2
- package/components/chart-legend/chart-legend.examples.md +4 -4
- package/components/chart-legend/chart-legend.yaml +43 -3
- package/components/combobox/combobox.a2ui.json +3 -0
- package/components/combobox/combobox.class.js +9 -8
- package/components/combobox/combobox.css +25 -4
- package/components/combobox/combobox.yaml +6 -0
- package/components/command/command.css +17 -1
- package/components/context-menu/context-menu.d.ts +2 -0
- package/components/heatmap/heatmap.a2ui.json +5 -0
- package/components/heatmap/heatmap.d.ts +2 -0
- package/components/heatmap/heatmap.yaml +8 -0
- package/components/input/input.a2ui.json +2 -2
- package/components/input/input.class.js +12 -7
- package/components/input/input.yaml +6 -5
- package/components/integration-card/integration-card.d.ts +2 -0
- package/components/noodles/noodles.a2ui.json +0 -15
- package/components/noodles/noodles.yaml +0 -12
- package/components/number-format/number-format.class.js +10 -0
- package/components/pagination/pagination.class.js +88 -4
- package/components/popover/popover.d.ts +2 -0
- package/components/progress/progress.class.js +11 -6
- package/components/range/range.class.js +9 -1
- package/components/select/select.a2ui.json +5 -1
- package/components/select/select.class.js +14 -14
- package/components/select/select.css +14 -1
- package/components/select/select.yaml +7 -1
- package/components/stream/stream.d.ts +2 -0
- package/components/table/table.a2ui.json +6 -1
- package/components/table/table.class.js +18 -1
- package/components/table/table.css +31 -6
- package/components/table/table.d.ts +3 -1
- package/components/table/table.examples.md +2 -2
- package/components/table/table.yaml +9 -1
- package/components/table-toolbar/table-toolbar.a2ui.json +28 -4
- package/components/table-toolbar/table-toolbar.class.js +346 -11
- package/components/table-toolbar/table-toolbar.css +265 -0
- package/components/table-toolbar/table-toolbar.d.ts +5 -1
- package/components/table-toolbar/table-toolbar.yaml +130 -15
- package/components/tag/tag.class.js +13 -1
- package/components/text/text.a2ui.json +3 -3
- package/components/text/text.d.ts +5 -3
- package/components/text/text.yaml +3 -3
- package/components/textarea/textarea.class.js +9 -1
- package/components/tour/tour.d.ts +10 -0
- package/core/a11y.d.ts +22 -0
- package/core/a11y.js +64 -0
- package/core/anchor.js +9 -5
- package/core/element.js +1 -1
- package/custom-elements.json +73 -29
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/theme-provider.min.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.min.js +119 -119
- package/dist/web-components.sheet.js +1 -1
- package/package.json +1 -1
- package/patterns/access-requests/access-requests.examples.html +1 -1
- package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +7 -7
- package/patterns/agent-cost/agent-cost.examples.html +6 -6
- package/patterns/agent-memory/agent-memory.examples.html +3 -3
- package/patterns/agent-prompt-library/agent-prompt-library.examples.html +8 -8
- package/patterns/agent-tool-call/agent-tool-call.examples.html +1 -1
- package/patterns/approvals/approvals.examples.html +6 -6
- package/patterns/audit-log/audit-log.examples.html +1 -1
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +4 -4
- package/patterns/chart-in-card/chart-in-card.examples.html +114 -0
- package/patterns/chart-in-card/chart-in-card.examples.js +37 -0
- package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +5 -5
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +2 -2
- package/patterns/diff-review/diff-review.examples.html +6 -6
- package/patterns/export-flow/export-flow.examples.html +2 -2
- package/patterns/filter-bar/filter-bar.examples.html +2 -2
- package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.examples.html +2 -2
- package/patterns/inline-dialog/inline-dialog.examples.html +2 -2
- package/patterns/marketing-engagement/marketing-engagement.examples.html +4 -4
- 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-sharing/permissions-sharing.examples.html +2 -2
- package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +4 -4
- package/patterns/search-discovery/search-discovery.examples.html +2 -2
- package/styles/type/roles.css +29 -9
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
<section>
|
|
101
101
|
<col-ui gap="3">
|
|
102
102
|
<field-ui label="Your referral link">
|
|
103
|
-
<input-ui name="referral_url" value="adia.ai/r/kim-A4F92" readonly
|
|
103
|
+
<input-ui name="referral_url" value="adia.ai/r/kim-A4F92" readonly suffix="copy"></input-ui>
|
|
104
104
|
</field-ui>
|
|
105
105
|
<row-ui gap="2">
|
|
106
|
-
<button-ui text="Copy link" variant="primary" icon
|
|
107
|
-
<button-ui text="Email" variant="ghost" icon
|
|
106
|
+
<button-ui text="Copy link" variant="primary" icon="copy"></button-ui>
|
|
107
|
+
<button-ui text="Email" variant="ghost" icon="envelope"></button-ui>
|
|
108
108
|
<button-ui text="X" variant="ghost"></button-ui>
|
|
109
109
|
<button-ui text="LinkedIn" variant="ghost"></button-ui>
|
|
110
110
|
</row-ui>
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
</section>
|
|
266
266
|
<footer divider>
|
|
267
267
|
<button-ui slot="action" text="Keep going" variant="ghost"></button-ui>
|
|
268
|
-
<button-ui slot="action" text="Share" variant="primary" icon
|
|
268
|
+
<button-ui slot="action" text="Share" variant="primary" icon="share-network"></button-ui>
|
|
269
269
|
</footer>
|
|
270
270
|
</card-ui>
|
|
271
271
|
</div>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<header>
|
|
139
139
|
<span slot="heading" variant="section">Weekly digest preview</span>
|
|
140
140
|
<text-ui slot="description" color="subtle">This is what your Monday morning email will contain</text-ui>
|
|
141
|
-
<button-ui slot="action" text="Send test" variant="ghost" size="sm" icon
|
|
141
|
+
<button-ui slot="action" text="Send test" variant="ghost" size="sm" icon="paper-plane-tilt"></button-ui>
|
|
142
142
|
</header>
|
|
143
143
|
<section>
|
|
144
144
|
<col-ui gap="4">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<header>
|
|
31
31
|
<span slot="heading" variant="section">Permissions</span>
|
|
32
32
|
<text-ui slot="description" color="subtle">Changes save automatically</text-ui>
|
|
33
|
-
<button-ui slot="action" text="Add custom role" variant="ghost" size="sm" icon
|
|
33
|
+
<button-ui slot="action" text="Add custom role" variant="ghost" size="sm" icon="plus"></button-ui>
|
|
34
34
|
</header>
|
|
35
35
|
<section bleed>
|
|
36
36
|
<table-ui frameless id="pat-perm-matrix"></table-ui>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<col-ui gap="3">
|
|
60
60
|
<row-ui gap="2" align="center">
|
|
61
61
|
<input-ui readonly value="https://acme.app/d/8421-revenue-q2" style="flex: 1;"></input-ui>
|
|
62
|
-
<button-ui text="Copy" variant="primary" icon
|
|
62
|
+
<button-ui text="Copy" variant="primary" icon="copy"></button-ui>
|
|
63
63
|
</row-ui>
|
|
64
64
|
<row-ui gap="3" align="center">
|
|
65
65
|
<field-ui label="Expires" inline>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</col-ui>
|
|
89
89
|
</section>
|
|
90
90
|
<footer divider>
|
|
91
|
-
<button-ui slot="action" text="Revoke link" variant="ghost" color="danger" size="sm" icon
|
|
91
|
+
<button-ui slot="action" text="Revoke link" variant="ghost" color="danger" size="sm" icon="x"></button-ui>
|
|
92
92
|
</footer>
|
|
93
93
|
</card-ui>
|
|
94
94
|
</div>
|
package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html
CHANGED
|
@@ -38,13 +38,13 @@
|
|
|
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 variant="primary"
|
|
41
|
+
<tag-ui variant="primary">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>
|
|
45
45
|
<row-ui gap="2" style="margin-top: 0.5rem;">
|
|
46
46
|
<button-ui text="Follow" variant="primary" size="sm"></button-ui>
|
|
47
|
-
<button-ui text="Message" variant="ghost" size="sm" icon
|
|
47
|
+
<button-ui text="Message" variant="ghost" size="sm" icon="chat-circle"></button-ui>
|
|
48
48
|
<button-ui icon="dots-three" variant="ghost" size="sm" aria-label="More"></button-ui>
|
|
49
49
|
</row-ui>
|
|
50
50
|
</col-ui>
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
<header>
|
|
179
179
|
<span slot="heading" variant="section">
|
|
180
180
|
You're verified
|
|
181
|
-
<tag-ui variant="primary"
|
|
181
|
+
<tag-ui variant="primary">Verified</tag-ui>
|
|
182
182
|
</span>
|
|
183
183
|
</header>
|
|
184
184
|
<section>
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
</alert-ui>
|
|
206
206
|
</section>
|
|
207
207
|
<footer divider>
|
|
208
|
-
<button-ui slot="action" text="Try again" variant="primary" icon
|
|
208
|
+
<button-ui slot="action" text="Try again" variant="primary" icon="arrow-counter-clockwise"></button-ui>
|
|
209
209
|
<button-ui slot="action" text="Contact support" variant="ghost"></button-ui>
|
|
210
210
|
</footer>
|
|
211
211
|
</card-ui>
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
</list-ui>
|
|
170
170
|
</section>
|
|
171
171
|
<footer divider>
|
|
172
|
-
<button-ui slot="action" text="Clear all recents" variant="ghost" size="sm" icon
|
|
172
|
+
<button-ui slot="action" text="Clear all recents" variant="ghost" size="sm" icon="trash"></button-ui>
|
|
173
173
|
</footer>
|
|
174
174
|
</card-ui>
|
|
175
175
|
</div>
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
<header>
|
|
189
189
|
<span slot="heading" variant="section">Saved views</span>
|
|
190
190
|
<text-ui slot="description" color="subtle">5 views · last edited 2 days ago</text-ui>
|
|
191
|
-
<button-ui slot="action" text="Save current view" variant="primary" size="sm" icon
|
|
191
|
+
<button-ui slot="action" text="Save current view" variant="primary" size="sm" icon="bookmark-simple"></button-ui>
|
|
192
192
|
</header>
|
|
193
193
|
<section bleed>
|
|
194
194
|
<list-ui divider contained>
|
package/styles/type/roles.css
CHANGED
|
@@ -67,9 +67,17 @@
|
|
|
67
67
|
ORIENT — tell the reader where they are
|
|
68
68
|
────────────────────────────────────── */
|
|
69
69
|
|
|
70
|
-
/* kicker — short label above a title (eyebrow/overline)
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
/* kicker — short label above a title (eyebrow/overline)
|
|
71
|
+
gh#1718: mono stack at regular (400) weight — operator-ruled
|
|
72
|
+
component-level change (was UI-sans / semibold). Applies wherever
|
|
73
|
+
the [variant="kicker"] global attribute grammar reads this token
|
|
74
|
+
(styles/type/roles.css's own @layer utilities block below) —
|
|
75
|
+
text-ui, menu-ui's group-header kicker styling, and any other
|
|
76
|
+
variant="kicker" consumer, since the L3 role token is the single
|
|
77
|
+
shared source of truth for this role (roles.css §"[variant]
|
|
78
|
+
attribute API"). */
|
|
79
|
+
--a-kicker-family: var(--a-font-family-code);
|
|
80
|
+
--a-kicker-weight: var(--a-weight-normal);
|
|
73
81
|
--a-kicker-sm: 11px;
|
|
74
82
|
--a-kicker-md: 12px;
|
|
75
83
|
--a-kicker-lg: 13px;
|
|
@@ -81,9 +89,13 @@
|
|
|
81
89
|
--a-kicker-mbs: 0;
|
|
82
90
|
--a-kicker-mbe: 0.5em;
|
|
83
91
|
|
|
84
|
-
/* label — UI labels, form fields, badges, tabs
|
|
85
|
-
|
|
86
|
-
|
|
92
|
+
/* label — UI labels, form fields, badges, tabs
|
|
93
|
+
gh#1718: mono stack at regular (400) weight — operator-ruled
|
|
94
|
+
component-level change (was UI-sans / medium). Shared L3 token —
|
|
95
|
+
see the kicker note above on why this reaches every
|
|
96
|
+
[variant="label"] consumer, not text-ui alone. */
|
|
97
|
+
--a-label-family: var(--a-font-family-code);
|
|
98
|
+
--a-label-weight: var(--a-weight-normal);
|
|
87
99
|
--a-label-sm: 11px;
|
|
88
100
|
--a-label-md: 12px;
|
|
89
101
|
--a-label-lg: 13px;
|
|
@@ -131,9 +143,17 @@
|
|
|
131
143
|
DIVIDE — break flow into chunks
|
|
132
144
|
────────────────────────────────────── */
|
|
133
145
|
|
|
134
|
-
/* section — h2/h3, major division within content
|
|
135
|
-
|
|
136
|
-
|
|
146
|
+
/* section — h2/h3, major division within content
|
|
147
|
+
gh#1718: mono stack like kicker, but at 500 weight — operator-ruled
|
|
148
|
+
component-level change (was heading-family / semibold). Shared L3
|
|
149
|
+
token — also reaches richtext-ui's h2 weight (richtext.css aliases
|
|
150
|
+
--richtext-h2-weight to this token) via the same single-source
|
|
151
|
+
design; nav/nav-item/nav-group's OWN [variant="section"] is
|
|
152
|
+
structural, not typographic, and is already excluded from this
|
|
153
|
+
token's global attribute rule (roles.css's [variant="section"]
|
|
154
|
+
utility, `:not(nav-ui, nav-item-ui, nav-group-ui)`). */
|
|
155
|
+
--a-section-family: var(--a-font-family-code);
|
|
156
|
+
--a-section-weight: var(--a-weight-medium);
|
|
137
157
|
--a-section-sm: 16px;
|
|
138
158
|
--a-section-md: 17px;
|
|
139
159
|
--a-section-lg: 19px;
|