@adia-ai/gen-ui 0.8.46 → 0.8.47
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 +6 -0
- package/corpus/chunks/_index.json +1 -1
- package/corpus/chunks/_source-hashes.json +2 -2
- package/corpus/chunks/table-toolbar-adiav2-row.json +14 -19
- package/corpus/chunks/table-toolbar-chrome-only-empty.json +14 -19
- package/corpus/chunks/table-toolbar-with-table.json +11 -12
- package/corpus/manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"catalog/ui-patterns/v050-marketing-blocks/v050-marketing-blocks.html": "7833b21ee84643978cd3ca0e6ff20caa20ec8cbc9a55e371aa295a532f8ed48a",
|
|
280
280
|
"catalog/ui-patterns/v050-nav-blocks/v050-nav-blocks.contents.html": "511510f5c5315f2c9fd2607db78c6989c2b3376f1f23367406ce748ab8ed79ad",
|
|
281
281
|
"catalog/ui-patterns/v050-nav-blocks/v050-nav-blocks.html": "196862f06f495547d85f542e6a0eee152ab40a40ca969c93b0cbd0733de5a5e2",
|
|
282
|
-
"packages/gen-ui/a2ui/catalog/tier-index.json": "
|
|
282
|
+
"packages/gen-ui/a2ui/catalog/tier-index.json": "e588d08bd0677f0c9391ca3a9fda4ff78a006e775499a20f234ce102faf4cf34",
|
|
283
283
|
"packages/web-components/components/accordion/accordion.examples.html": "2a809c9da20b8bf4107ca6f110e002323ea09b8e0853eea1c7c54fc39298bf5d",
|
|
284
284
|
"packages/web-components/components/action-list/action-list.examples.html": "c9c506bfd5a5411891098e2400196b0ee1970bc82430c20718705c571de2d66e",
|
|
285
285
|
"packages/web-components/components/adia-mark/adia-mark.examples.html": "3f8f6a0124527f917d715e4b92a8f0c5b57251f8a1402cbd9fcd5110337248a6",
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
"packages/web-components/components/swiper/swiper.examples.html": "cfc9f8d6a2f0afda7a7500eca601d7c0e51c025edfdb8e797b80781a3e74a8b2",
|
|
387
387
|
"packages/web-components/components/switch/switch.examples.html": "5ced4977f950fdb632cf44e769e1dec431148e9c9fd4752b71b11ce203a2fa37",
|
|
388
388
|
"packages/web-components/components/table-footer/table-footer.examples.html": "ba8b206e2b534eca57581a886d15621af66f8d6b7e4e3144baf4d46a257dd177",
|
|
389
|
-
"packages/web-components/components/table-toolbar/table-toolbar.examples.html": "
|
|
389
|
+
"packages/web-components/components/table-toolbar/table-toolbar.examples.html": "4c1167e7d77f5c366242d8fba6a23758b069d75691146bc0e6a240de4cd4f005",
|
|
390
390
|
"packages/web-components/components/table/table.examples.html": "f903f209f5f0f0b9c07b83678b9553a033544d56943643039255f7125f4b4d13",
|
|
391
391
|
"packages/web-components/components/tabs/tabs.examples.html": "1e083a7a44d099ff5af13c4ee47d359625c37a9643ca0b9350fd3d49de42f976",
|
|
392
392
|
"packages/web-components/components/tag/tag.examples.html": "c257e75298afd2b6aee139c84638be9941fc8de9ade5fa7e240137824c5c7d24",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"data-artifact-item": "",
|
|
10
10
|
"data-artifact-label": "adiav2 list-page toolbar row — scope + range summary + actions-leading + page-size"
|
|
11
11
|
},
|
|
12
|
-
"html": "<
|
|
12
|
+
"html": "<card-ui>\n <header>\n <table-toolbar-ui for=\"accounts-table\" size=\"sm\" no-filter no-sort no-columns no-search\n range-start=\"1\" range-end=\"25\" range-total=\"320\"\n page-size-options=\"[10,25,50,100]\" page-size=\"25\">\n <!-- gh#1748: [label]+[label-hidden] (not a raw [aria-label]) is the\n ratified pattern — keeps \"Scope\" as the accessible name while\n suppressing the redundant visible text next to the toolbar's\n own title (mirrors check-ui's [label-hidden], gh#1010).\n No [text]/[count] on the toolbar itself — a filled\n [slot=\"scope\"] already carries the entity name; the count\n folds into the scope's own displayed option text (\"All\n Accounts (3)\") instead of a second, redundant title cluster\n saying \"Accounts 3\" next to it (table-toolbar.css's own\n `:has([data-scope]:not(:empty)) [data-title]` reconciliation\n hides that cluster automatically once a scope is slotted,\n but there's no reason to author the now-invisible text/count\n attributes here either). [size=\"sm\"] on the toolbar itself,\n not repeated on each stamped item: sizing.css's universal\n [size=\"sm\"] is an unscoped attribute selector setting\n inheriting ambient tokens (--a-size/--a-ui-size/…) — the\n scope select-ui and the actions-leading/actions button-ui\n below consume those ambient tokens automatically since\n neither carries its own [size], the same \"everything inside\n scales down\" contract sizing.css documents for a plain\n size=\"sm\" host element. table-toolbar-ui's OWN internals (native\n Filter/Sort/Columns, badge, search) stay unaffected either\n way — they hardcode size=\"sm\" on themselves regardless of\n the host's ambient tokens. -->\n <select-ui slot=\"scope\" label=\"Scope\" label-hidden>\n <option value=\"all\" selected>All Accounts (3)</option>\n <option value=\"mine\">My Accounts</option>\n </select-ui>\n <button-ui slot=\"actions-leading\" text=\"Filter\" icon=\"funnel-simple\" variant=\"ghost\"></button-ui>\n <button-ui slot=\"actions-leading\" text=\"Columns\" icon=\"columns\" variant=\"ghost\"></button-ui>\n <button-ui slot=\"actions\" text=\"New account\" icon=\"plus\" variant=\"primary\"></button-ui>\n </table-toolbar-ui>\n </header>\n <section bleed>\n <table-ui id=\"accounts-table\" sortable raw>\n <table>\n <thead><tr><th>Account</th><th>Owner</th><th>Status</th></tr></thead>\n <tbody>\n <tr><td>Acme Health</td><td>Maya Chen</td><td><tag-ui variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Northwind Clinics</td><td>Alex Park</td><td><tag-ui variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Globex Medical</td><td>Jordan Lee</td><td><tag-ui variant=\"warning\">Trial</tag-ui></td></tr>\n </tbody>\n </table>\n </table-ui>\n </section>\n </card-ui>",
|
|
13
13
|
"source": "packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
14
14
|
"metadata": {
|
|
15
15
|
"domain": "data",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"page"
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
|
-
"captured_at": "2026-08-
|
|
34
|
+
"captured_at": "2026-08-22T18:33:57.423Z",
|
|
35
35
|
"template": [
|
|
36
36
|
{
|
|
37
37
|
"id": "choice-picker",
|
|
@@ -39,15 +39,14 @@
|
|
|
39
39
|
"slot": "scope",
|
|
40
40
|
"label": "Scope",
|
|
41
41
|
"label-hidden": true,
|
|
42
|
-
"size": "sm",
|
|
43
42
|
"options": [
|
|
44
43
|
{
|
|
45
44
|
"value": "all",
|
|
46
|
-
"label": "All
|
|
45
|
+
"label": "All Accounts (3)"
|
|
47
46
|
},
|
|
48
47
|
{
|
|
49
48
|
"value": "mine",
|
|
50
|
-
"label": "My
|
|
49
|
+
"label": "My Accounts"
|
|
51
50
|
}
|
|
52
51
|
],
|
|
53
52
|
"value": "all"
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
"component": "Button",
|
|
58
57
|
"slot": "actions-leading",
|
|
59
58
|
"icon": "funnel-simple",
|
|
60
|
-
"size": "sm",
|
|
61
59
|
"text": "Filter",
|
|
62
60
|
"variant": "ghost"
|
|
63
61
|
},
|
|
@@ -66,7 +64,6 @@
|
|
|
66
64
|
"component": "Button",
|
|
67
65
|
"slot": "actions-leading",
|
|
68
66
|
"icon": "columns",
|
|
69
|
-
"size": "sm",
|
|
70
67
|
"text": "Columns",
|
|
71
68
|
"variant": "ghost"
|
|
72
69
|
},
|
|
@@ -75,7 +72,6 @@
|
|
|
75
72
|
"component": "Button",
|
|
76
73
|
"slot": "actions",
|
|
77
74
|
"icon": "plus",
|
|
78
|
-
"size": "sm",
|
|
79
75
|
"text": "New account",
|
|
80
76
|
"variant": "primary"
|
|
81
77
|
},
|
|
@@ -97,7 +93,7 @@
|
|
|
97
93
|
"rangeEnd": 25,
|
|
98
94
|
"rangeStart": 1,
|
|
99
95
|
"rangeTotal": 320,
|
|
100
|
-
"
|
|
96
|
+
"size": "sm",
|
|
101
97
|
"children": [
|
|
102
98
|
"choice-picker",
|
|
103
99
|
"button",
|
|
@@ -105,6 +101,13 @@
|
|
|
105
101
|
"button-3"
|
|
106
102
|
]
|
|
107
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"id": "header",
|
|
106
|
+
"component": "Header",
|
|
107
|
+
"children": [
|
|
108
|
+
"table-toolbar"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
108
111
|
{
|
|
109
112
|
"id": "text",
|
|
110
113
|
"component": "Text",
|
|
@@ -255,20 +258,12 @@
|
|
|
255
258
|
]
|
|
256
259
|
},
|
|
257
260
|
{
|
|
258
|
-
"id": "
|
|
261
|
+
"id": "root",
|
|
259
262
|
"component": "Card",
|
|
260
263
|
"children": [
|
|
264
|
+
"header",
|
|
261
265
|
"section"
|
|
262
266
|
]
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"id": "root",
|
|
266
|
-
"component": "Column",
|
|
267
|
-
"gap": "0",
|
|
268
|
-
"children": [
|
|
269
|
-
"table-toolbar",
|
|
270
|
-
"card"
|
|
271
|
-
]
|
|
272
267
|
}
|
|
273
268
|
]
|
|
274
269
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"data-artifact-item": "",
|
|
10
10
|
"data-artifact-label": "chrome-only + empty slot — adiav2 row, zero-results state"
|
|
11
11
|
},
|
|
12
|
-
"html": "<
|
|
12
|
+
"html": "<card-ui>\n <header>\n <table-toolbar-ui for=\"accounts-empty-table\" size=\"sm\" chrome-only range-total=\"0\">\n <select-ui slot=\"scope\" label=\"Scope\" label-hidden>\n <option value=\"all\" selected>All Accounts (0)</option>\n <option value=\"mine\">My Accounts</option>\n </select-ui>\n <span slot=\"empty\">No accounts match your filters.</span>\n <button-ui slot=\"actions-leading\" text=\"Filter\" icon=\"funnel-simple\" variant=\"ghost\"></button-ui>\n <button-ui slot=\"actions-leading\" text=\"Columns\" icon=\"columns\" variant=\"ghost\"></button-ui>\n <button-ui slot=\"actions\" text=\"New account\" icon=\"plus\" variant=\"primary\"></button-ui>\n </table-toolbar-ui>\n </header>\n <section bleed>\n <table-ui id=\"accounts-empty-table\" sortable raw>\n <table>\n <thead><tr><th>Account</th><th>Owner</th><th>Status</th></tr></thead>\n <tbody></tbody>\n </table>\n </table-ui>\n </section>\n </card-ui>",
|
|
13
13
|
"source": "packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
14
14
|
"metadata": {
|
|
15
15
|
"domain": "data",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"adr-0076"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"captured_at": "2026-08-
|
|
35
|
+
"captured_at": "2026-08-22T18:33:57.423Z",
|
|
36
36
|
"template": [
|
|
37
37
|
{
|
|
38
38
|
"id": "choice-picker",
|
|
@@ -40,15 +40,14 @@
|
|
|
40
40
|
"slot": "scope",
|
|
41
41
|
"label": "Scope",
|
|
42
42
|
"label-hidden": true,
|
|
43
|
-
"size": "sm",
|
|
44
43
|
"options": [
|
|
45
44
|
{
|
|
46
45
|
"value": "all",
|
|
47
|
-
"label": "All
|
|
46
|
+
"label": "All Accounts (0)"
|
|
48
47
|
},
|
|
49
48
|
{
|
|
50
49
|
"value": "mine",
|
|
51
|
-
"label": "My
|
|
50
|
+
"label": "My Accounts"
|
|
52
51
|
}
|
|
53
52
|
],
|
|
54
53
|
"value": "all"
|
|
@@ -65,7 +64,6 @@
|
|
|
65
64
|
"component": "Button",
|
|
66
65
|
"slot": "actions-leading",
|
|
67
66
|
"icon": "funnel-simple",
|
|
68
|
-
"size": "sm",
|
|
69
67
|
"text": "Filter",
|
|
70
68
|
"variant": "ghost"
|
|
71
69
|
},
|
|
@@ -74,7 +72,6 @@
|
|
|
74
72
|
"component": "Button",
|
|
75
73
|
"slot": "actions-leading",
|
|
76
74
|
"icon": "columns",
|
|
77
|
-
"size": "sm",
|
|
78
75
|
"text": "Columns",
|
|
79
76
|
"variant": "ghost"
|
|
80
77
|
},
|
|
@@ -83,7 +80,6 @@
|
|
|
83
80
|
"component": "Button",
|
|
84
81
|
"slot": "actions",
|
|
85
82
|
"icon": "plus",
|
|
86
|
-
"size": "sm",
|
|
87
83
|
"text": "New account",
|
|
88
84
|
"variant": "primary"
|
|
89
85
|
},
|
|
@@ -93,7 +89,7 @@
|
|
|
93
89
|
"chromeOnly": true,
|
|
94
90
|
"for": "accounts-empty-table",
|
|
95
91
|
"rangeTotal": 0,
|
|
96
|
-
"
|
|
92
|
+
"size": "sm",
|
|
97
93
|
"children": [
|
|
98
94
|
"choice-picker",
|
|
99
95
|
"text",
|
|
@@ -102,6 +98,13 @@
|
|
|
102
98
|
"button-3"
|
|
103
99
|
]
|
|
104
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"id": "header",
|
|
103
|
+
"component": "Header",
|
|
104
|
+
"children": [
|
|
105
|
+
"table-toolbar"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
105
108
|
{
|
|
106
109
|
"id": "text-2",
|
|
107
110
|
"component": "Text",
|
|
@@ -166,20 +169,12 @@
|
|
|
166
169
|
]
|
|
167
170
|
},
|
|
168
171
|
{
|
|
169
|
-
"id": "
|
|
172
|
+
"id": "root",
|
|
170
173
|
"component": "Card",
|
|
171
174
|
"children": [
|
|
175
|
+
"header",
|
|
172
176
|
"section"
|
|
173
177
|
]
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"id": "root",
|
|
177
|
-
"component": "Column",
|
|
178
|
-
"gap": "0",
|
|
179
|
-
"children": [
|
|
180
|
-
"table-toolbar",
|
|
181
|
-
"card"
|
|
182
|
-
]
|
|
183
178
|
}
|
|
184
179
|
]
|
|
185
180
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"data-artifact-item": "",
|
|
10
10
|
"data-artifact-label": "table with toolbar"
|
|
11
11
|
},
|
|
12
|
-
"html": "<
|
|
12
|
+
"html": "<card-ui>\n <header>\n <table-toolbar-ui for=\"demo-table\" text=\"All employees\" count=\"32\" placeholder=\"Search employees…\"></table-toolbar-ui>\n </header>\n <section bleed>\n <table-ui id=\"demo-table\" sortable raw>\n <table>\n <thead><tr><th>Name</th><th>Role</th><th>Status</th></tr></thead>\n <tbody>\n <tr><td>Maya Chen</td><td>Designer</td><td><tag-ui variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Alex Park</td><td>Engineer</td><td><tag-ui variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Jordan Lee</td><td>Product</td><td><tag-ui variant=\"warning\">Away</tag-ui></td></tr>\n </tbody>\n </table>\n </table-ui>\n </section>\n </card-ui>",
|
|
13
13
|
"source": "packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
14
14
|
"metadata": {
|
|
15
15
|
"domain": "data",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"card"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"captured_at": "2026-08-
|
|
32
|
+
"captured_at": "2026-08-22T16:38:11.228Z",
|
|
33
33
|
"template": [
|
|
34
34
|
{
|
|
35
35
|
"id": "table-toolbar",
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
"placeholder": "Search employees…",
|
|
40
40
|
"text": "All employees"
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"id": "header",
|
|
44
|
+
"component": "Header",
|
|
45
|
+
"children": [
|
|
46
|
+
"table-toolbar"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
42
49
|
{
|
|
43
50
|
"id": "text",
|
|
44
51
|
"component": "Text",
|
|
@@ -189,20 +196,12 @@
|
|
|
189
196
|
]
|
|
190
197
|
},
|
|
191
198
|
{
|
|
192
|
-
"id": "
|
|
199
|
+
"id": "root",
|
|
193
200
|
"component": "Card",
|
|
194
201
|
"children": [
|
|
202
|
+
"header",
|
|
195
203
|
"section"
|
|
196
204
|
]
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"id": "root",
|
|
200
|
-
"component": "Column",
|
|
201
|
-
"gap": "0",
|
|
202
|
-
"children": [
|
|
203
|
-
"table-toolbar",
|
|
204
|
-
"card"
|
|
205
|
-
]
|
|
206
205
|
}
|
|
207
206
|
]
|
|
208
207
|
}
|
package/corpus/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/gen-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.47",
|
|
4
4
|
"description": "AdiaUI generative-UI system — compose strategies, retrieval, the harvested training corpus, and catalog-aware + LLM-judge validation. Emits A2UI protocol messages; pairs with @adia-ai/a2ui (the protocol runtime). Folded from @adia-ai/a2ui-{compose,retrieval,corpus} + the catalog/semantic halves of the former @adia-ai/a2ui-validator (ADR-0048).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./compose/index.js",
|