@adia-ai/gen-ui 0.8.45 → 0.8.46
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/compose/strategies/free-form-composer/index.js +36 -2
- package/corpus/chunk-embeddings.json +1 -1
- package/corpus/chunks/_index.json +425 -4
- package/corpus/chunks/_source-hashes.json +61 -58
- package/corpus/chunks/chart-in-card-full-bleed-chip-legend.json +115 -0
- package/corpus/chunks/new-enrollments-area.json +158 -0
- package/corpus/chunks/new-enrollments-radial-bar.json +157 -0
- package/corpus/chunks/new-enrollments-sparkline.json +243 -0
- package/corpus/chunks/new-enrollments-stacked-bar.json +182 -0
- package/corpus/chunks/table-footer-client-mode.json +56 -0
- package/corpus/chunks/table-footer-count-only.json +40 -0
- package/corpus/chunks/table-footer-empty.json +49 -0
- package/corpus/chunks/table-footer-server-mode.json +136 -0
- package/corpus/chunks/table-footer-single-page.json +41 -0
- package/corpus/chunks/table-in-card-client-mode.json +115 -0
- package/corpus/chunks/table-in-card-empty.json +123 -0
- package/corpus/chunks/table-in-card-loading.json +111 -0
- package/corpus/chunks/table-in-card-server-mode.json +131 -0
- package/corpus/manifest.json +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "table-in-card-server-mode",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/patterns/table-in-card/table-in-card.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "Metabolic Tests — server-mode, canonical composition"
|
|
11
|
+
},
|
|
12
|
+
"html": "<card-ui style=\"max-width:720px;\">\n <header>\n <span slot=\"heading\">Metabolic Tests</span>\n <button-ui slot=\"action\" variant=\"primary\" size=\"sm\" icon=\"plus\" text=\"New test\"></button-ui>\n </header>\n <section>\n <table-toolbar-ui for=\"pat-tests\" count=\"128\" placeholder=\"Search tests…\"></table-toolbar-ui>\n </section>\n <section bleed>\n <table-ui id=\"pat-tests\" sortable></table-ui>\n </section>\n <footer divider>\n <table-footer-ui for=\"pat-tests\" page=\"1\" page-size=\"10\" range-total=\"128\"></table-footer-ui>\n </footer>\n </card-ui>",
|
|
13
|
+
"source": "packages/web-components/patterns/table-in-card/table-in-card.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Metabolic Tests card — card header with title and New test action, title-less toolbar with count/search/filter/sort/columns, bleed table with status-dot/sortable-name/patient/date/status-badge/tag-chips/kebab-actions columns, and a footer with range label and pager (server-mode, gh#1754 Shape 1).",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"table",
|
|
19
|
+
"card",
|
|
20
|
+
"toolbar",
|
|
21
|
+
"footer",
|
|
22
|
+
"pagination",
|
|
23
|
+
"metabolic",
|
|
24
|
+
"tests",
|
|
25
|
+
"status",
|
|
26
|
+
"dot",
|
|
27
|
+
"badge",
|
|
28
|
+
"tags",
|
|
29
|
+
"kebab",
|
|
30
|
+
"actions",
|
|
31
|
+
"server",
|
|
32
|
+
"mode",
|
|
33
|
+
"data",
|
|
34
|
+
"grid",
|
|
35
|
+
"healthcare"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"captured_at": "2026-08-21T02:53:19.885Z",
|
|
39
|
+
"template": [
|
|
40
|
+
{
|
|
41
|
+
"id": "text",
|
|
42
|
+
"component": "Text",
|
|
43
|
+
"variant": "body",
|
|
44
|
+
"slot": "heading",
|
|
45
|
+
"textContent": "Metabolic Tests"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "button",
|
|
49
|
+
"component": "Button",
|
|
50
|
+
"slot": "action",
|
|
51
|
+
"icon": "plus",
|
|
52
|
+
"size": "sm",
|
|
53
|
+
"text": "New test",
|
|
54
|
+
"variant": "primary"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "header",
|
|
58
|
+
"component": "Header",
|
|
59
|
+
"children": [
|
|
60
|
+
"text",
|
|
61
|
+
"button"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "table-toolbar",
|
|
66
|
+
"component": "TableToolbar",
|
|
67
|
+
"count": "128",
|
|
68
|
+
"for": "pat-tests",
|
|
69
|
+
"placeholder": "Search tests…"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "section",
|
|
73
|
+
"component": "Section",
|
|
74
|
+
"children": [
|
|
75
|
+
"table-toolbar"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "pat-tests",
|
|
80
|
+
"component": "Table",
|
|
81
|
+
"sortable": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "section-2",
|
|
85
|
+
"component": "Section",
|
|
86
|
+
"bleed": true,
|
|
87
|
+
"children": [
|
|
88
|
+
"pat-tests"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "table-footer",
|
|
93
|
+
"component": "TableFooter",
|
|
94
|
+
"for": "pat-tests",
|
|
95
|
+
"page": 1,
|
|
96
|
+
"page-size": 10,
|
|
97
|
+
"range-total": 128
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "footer",
|
|
101
|
+
"component": "Footer",
|
|
102
|
+
"children": [
|
|
103
|
+
"table-footer"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "column",
|
|
108
|
+
"component": "Column",
|
|
109
|
+
"children": [
|
|
110
|
+
"section",
|
|
111
|
+
"section-2"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "section-3",
|
|
116
|
+
"component": "Section",
|
|
117
|
+
"children": [
|
|
118
|
+
"column"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "root",
|
|
123
|
+
"component": "Card",
|
|
124
|
+
"children": [
|
|
125
|
+
"header",
|
|
126
|
+
"section-3",
|
|
127
|
+
"footer"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
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.46",
|
|
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",
|