@adia-ai/a2ui-corpus 0.7.20 → 0.7.22
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 +17 -0
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +2130 -807
- package/chunks/admin-shell-rounded-borderless.json +280 -0
- package/chunks/admin-shell-standard.json +303 -0
- package/chunks/avatar-stack-overflow.json +124 -0
- package/chunks/bulk-selection-actions-bar.json +161 -0
- package/chunks/card-with-empty-state.json +96 -0
- package/chunks/card-with-form.json +143 -0
- package/chunks/card-with-sparkline.json +90 -0
- package/chunks/card-with-stat-kpi.json +95 -0
- package/chunks/col-form-stack.json +93 -0
- package/chunks/col-heading-body-action.json +79 -0
- package/chunks/col-stat-label.json +72 -0
- package/chunks/cta-banner-centered.json +102 -0
- package/chunks/drawer-record-detail.json +44 -0
- package/chunks/drawer-with-create-form.json +43 -0
- package/chunks/feature-grid-three-cards.json +187 -0
- package/chunks/grid-2col-entry-cards.json +158 -0
- package/chunks/grid-kpi-4col.json +164 -0
- package/chunks/grid-responsive-kpi.json +165 -0
- package/chunks/key-value-detail-list.json +172 -0
- package/chunks/logo-cloud-trusted-by.json +235 -0
- package/chunks/marketing-page-shell.json +45 -11
- package/chunks/order-confirmation-success-card.json +177 -0
- package/chunks/rating-stars-review-summary.json +258 -0
- package/chunks/responsive-shell-sidebar.json +79 -0
- package/chunks/row-action-cluster.json +54 -0
- package/chunks/row-avatar-name-role.json +71 -0
- package/chunks/row-icon-label.json +52 -0
- package/chunks/row-spread-label-value.json +54 -0
- package/chunks/row-wrap-tags.json +112 -0
- package/chunks/stack-avatar-badge-overlay.json +53 -0
- package/chunks/stack-image-shimmer.json +51 -0
- package/chunks/stats-band-big-numbers.json +175 -0
- package/chunks/subscription-status-renewal-card.json +229 -0
- package/chunks/table-empty-state.json +116 -0
- package/chunks/table-toolbar-no-search.json +38 -0
- package/chunks/table-toolbar-with-table.json +231 -0
- package/chunks/table-with-toolbar-card.json +76 -0
- package/chunks/testimonial-pull-quote.json +129 -0
- package/chunks/usage-quota-meter-card.json +217 -0
- package/package.json +1 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "subscription-status-renewal-card",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "section",
|
|
5
|
+
"page": "/catalog/ui-patterns/v050-data-blocks/v050-data-blocks.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {},
|
|
9
|
+
"html": "<section>\n <card-ui>\n <header>\n <text-ui strong>Current plan</text-ui>\n <badge-ui text=\"Active\" variant=\"success\" size=\"sm\"></badge-ui>\n </header>\n <section>\n <col-ui gap=\"4\">\n <row-ui gap=\"3\" align=\"center\" justify=\"between\">\n <col-ui gap=\"0\">\n <text-ui size=\"lg\" strong>Team — Annual</text-ui>\n <text-ui size=\"sm\" color=\"subtle\">$240 / seat / year</text-ui>\n </col-ui>\n <button-ui text=\"Manage plan\" variant=\"outline\" size=\"sm\"></button-ui>\n </row-ui>\n <description-list-ui align=\"between\">\n <dt>Seats</dt><dd>8 of 10 used</dd>\n <dt>Billing cycle</dt><dd>Annual</dd>\n <dt>Next renewal</dt><dd>April 14, 2027</dd>\n <dt>Payment method</dt><dd>Visa ending 4242</dd>\n </description-list-ui>\n <row-ui gap=\"2\">\n <button-ui text=\"Change plan\" variant=\"ghost\" size=\"sm\"></button-ui>\n <button-ui text=\"Cancel subscription\" variant=\"ghost\" size=\"sm\" color=\"danger\"></button-ui>\n </row-ui>\n </col-ui>\n </section>\n </card-ui>\n </section>",
|
|
10
|
+
"source": "catalog/ui-patterns/v050-data-blocks/v050-data-blocks.contents.html",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "billing",
|
|
13
|
+
"description": "Subscription status card — shows the current plan name and a status badge, a key-value detail list of seats, billing cycle, and next renewal date, then Manage-plan / Cancel actions. The 'your current subscription' summary panel on a billing or account-settings page.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"subscription",
|
|
16
|
+
"status",
|
|
17
|
+
"plan",
|
|
18
|
+
"current",
|
|
19
|
+
"billing",
|
|
20
|
+
"cycle",
|
|
21
|
+
"renewal",
|
|
22
|
+
"next",
|
|
23
|
+
"payment",
|
|
24
|
+
"seats",
|
|
25
|
+
"members",
|
|
26
|
+
"manage",
|
|
27
|
+
"cancel",
|
|
28
|
+
"upgrade",
|
|
29
|
+
"downgrade",
|
|
30
|
+
"account",
|
|
31
|
+
"membership",
|
|
32
|
+
"tier",
|
|
33
|
+
"active",
|
|
34
|
+
"card",
|
|
35
|
+
"billing",
|
|
36
|
+
"summary",
|
|
37
|
+
"subscription",
|
|
38
|
+
"details",
|
|
39
|
+
"renew",
|
|
40
|
+
"date",
|
|
41
|
+
"plan",
|
|
42
|
+
"name"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"captured_at": "2026-06-10T19:45:40.486Z",
|
|
46
|
+
"template": [
|
|
47
|
+
{
|
|
48
|
+
"id": "text",
|
|
49
|
+
"component": "Text",
|
|
50
|
+
"strong": true,
|
|
51
|
+
"textContent": "Current plan"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "badge",
|
|
55
|
+
"component": "Badge",
|
|
56
|
+
"size": "sm",
|
|
57
|
+
"text": "Active",
|
|
58
|
+
"variant": "success"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "header",
|
|
62
|
+
"component": "Header",
|
|
63
|
+
"children": [
|
|
64
|
+
"text",
|
|
65
|
+
"badge"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "text-2",
|
|
70
|
+
"component": "Text",
|
|
71
|
+
"size": "lg",
|
|
72
|
+
"strong": true,
|
|
73
|
+
"textContent": "Team — Annual"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "text-3",
|
|
77
|
+
"component": "Text",
|
|
78
|
+
"color": "subtle",
|
|
79
|
+
"size": "sm",
|
|
80
|
+
"textContent": "$240 / seat / year"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "column-2",
|
|
84
|
+
"component": "Column",
|
|
85
|
+
"gap": "0",
|
|
86
|
+
"children": [
|
|
87
|
+
"text-2",
|
|
88
|
+
"text-3"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "button",
|
|
93
|
+
"component": "Button",
|
|
94
|
+
"size": "sm",
|
|
95
|
+
"text": "Manage plan",
|
|
96
|
+
"variant": "outline"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "row",
|
|
100
|
+
"component": "Row",
|
|
101
|
+
"align": "center",
|
|
102
|
+
"gap": "3",
|
|
103
|
+
"justify": "between",
|
|
104
|
+
"children": [
|
|
105
|
+
"column-2",
|
|
106
|
+
"button"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "text-4",
|
|
111
|
+
"component": "Text",
|
|
112
|
+
"textContent": "Seats",
|
|
113
|
+
"variant": "body"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "text-5",
|
|
117
|
+
"component": "Text",
|
|
118
|
+
"textContent": "8 of 10 used",
|
|
119
|
+
"variant": "body"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "text-6",
|
|
123
|
+
"component": "Text",
|
|
124
|
+
"textContent": "Billing cycle",
|
|
125
|
+
"variant": "body"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "text-7",
|
|
129
|
+
"component": "Text",
|
|
130
|
+
"textContent": "Annual",
|
|
131
|
+
"variant": "body"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "text-8",
|
|
135
|
+
"component": "Text",
|
|
136
|
+
"textContent": "Next renewal",
|
|
137
|
+
"variant": "body"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "text-9",
|
|
141
|
+
"component": "Text",
|
|
142
|
+
"textContent": "April 14, 2027",
|
|
143
|
+
"variant": "body"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "text-10",
|
|
147
|
+
"component": "Text",
|
|
148
|
+
"textContent": "Payment method",
|
|
149
|
+
"variant": "body"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "text-11",
|
|
153
|
+
"component": "Text",
|
|
154
|
+
"textContent": "Visa ending 4242",
|
|
155
|
+
"variant": "body"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "description-list",
|
|
159
|
+
"component": "DescriptionList",
|
|
160
|
+
"align": "between",
|
|
161
|
+
"children": [
|
|
162
|
+
"text-4",
|
|
163
|
+
"text-5",
|
|
164
|
+
"text-6",
|
|
165
|
+
"text-7",
|
|
166
|
+
"text-8",
|
|
167
|
+
"text-9",
|
|
168
|
+
"text-10",
|
|
169
|
+
"text-11"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "button-2",
|
|
174
|
+
"component": "Button",
|
|
175
|
+
"size": "sm",
|
|
176
|
+
"text": "Change plan",
|
|
177
|
+
"variant": "ghost"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "button-3",
|
|
181
|
+
"component": "Button",
|
|
182
|
+
"color": "danger",
|
|
183
|
+
"size": "sm",
|
|
184
|
+
"text": "Cancel subscription",
|
|
185
|
+
"variant": "ghost"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "row-2",
|
|
189
|
+
"component": "Row",
|
|
190
|
+
"gap": "2",
|
|
191
|
+
"children": [
|
|
192
|
+
"button-2",
|
|
193
|
+
"button-3"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "column",
|
|
198
|
+
"component": "Column",
|
|
199
|
+
"gap": "4",
|
|
200
|
+
"children": [
|
|
201
|
+
"row",
|
|
202
|
+
"description-list",
|
|
203
|
+
"row-2"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "section",
|
|
208
|
+
"component": "Section",
|
|
209
|
+
"children": [
|
|
210
|
+
"column"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "card",
|
|
215
|
+
"component": "Card",
|
|
216
|
+
"children": [
|
|
217
|
+
"header",
|
|
218
|
+
"section"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "root",
|
|
223
|
+
"component": "Section",
|
|
224
|
+
"children": [
|
|
225
|
+
"card"
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "table-empty-state",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/table/table.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "table with empty state"
|
|
11
|
+
},
|
|
12
|
+
"html": "<card-ui>\n <section bleed>\n <table-ui>\n <table>\n <thead><tr><th>Name</th><th>Status</th><th>Date</th></tr></thead>\n <tbody>\n <tr>\n <td colspan=\"3\">\n <empty-state-ui icon=\"list\" heading=\"No records yet\" description=\"Records will appear here once added.\">\n <button-ui slot=\"action\" text=\"+ Add first record\" variant=\"primary\"></button-ui>\n </empty-state-ui>\n </td>\n </tr>\n </tbody>\n </table>\n </table-ui>\n </section>\n </card-ui>",
|
|
13
|
+
"source": "packages/web-components/components/table/table.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Empty data table — table with no rows showing an empty-state-ui placeholder with icon and CTA.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"table",
|
|
19
|
+
"empty",
|
|
20
|
+
"state",
|
|
21
|
+
"no",
|
|
22
|
+
"data",
|
|
23
|
+
"placeholder",
|
|
24
|
+
"icon",
|
|
25
|
+
"cta",
|
|
26
|
+
"zero",
|
|
27
|
+
"rows",
|
|
28
|
+
"grid",
|
|
29
|
+
"list"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
33
|
+
"template": [
|
|
34
|
+
{
|
|
35
|
+
"id": "text",
|
|
36
|
+
"component": "Text",
|
|
37
|
+
"textContent": "Name",
|
|
38
|
+
"variant": "body"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "text-2",
|
|
42
|
+
"component": "Text",
|
|
43
|
+
"textContent": "Status",
|
|
44
|
+
"variant": "body"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "text-3",
|
|
48
|
+
"component": "Text",
|
|
49
|
+
"textContent": "Date",
|
|
50
|
+
"variant": "body"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "column-2",
|
|
54
|
+
"component": "Column",
|
|
55
|
+
"children": [
|
|
56
|
+
"text",
|
|
57
|
+
"text-2",
|
|
58
|
+
"text-3"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "button",
|
|
63
|
+
"component": "Button",
|
|
64
|
+
"slot": "action",
|
|
65
|
+
"text": "+ Add first record",
|
|
66
|
+
"variant": "primary"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "empty-state",
|
|
70
|
+
"component": "EmptyState",
|
|
71
|
+
"description": "Records will appear here once added.",
|
|
72
|
+
"heading": "No records yet",
|
|
73
|
+
"icon": "list",
|
|
74
|
+
"children": [
|
|
75
|
+
"button"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "table-2",
|
|
80
|
+
"component": "Table",
|
|
81
|
+
"children": [
|
|
82
|
+
"column-2",
|
|
83
|
+
"empty-state"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "table",
|
|
88
|
+
"component": "Table",
|
|
89
|
+
"children": [
|
|
90
|
+
"table-2"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "section",
|
|
95
|
+
"component": "Section",
|
|
96
|
+
"bleed": true,
|
|
97
|
+
"children": [
|
|
98
|
+
"column-9"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "column-9",
|
|
103
|
+
"component": "Column",
|
|
104
|
+
"children": [
|
|
105
|
+
"table"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "root",
|
|
110
|
+
"component": "Card",
|
|
111
|
+
"children": [
|
|
112
|
+
"section"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "table-toolbar-no-search",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "standalone toolbar — variant=card, no search"
|
|
11
|
+
},
|
|
12
|
+
"html": "<table-toolbar-ui text=\"Recent orders\" count=\"18\" variant=\"card\" no-search></table-toolbar-ui>",
|
|
13
|
+
"source": "packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Standalone table toolbar — title + count + filter/sort controls, no search. variant=card gives it surface chrome when it stands outside a card-ui.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"table",
|
|
19
|
+
"toolbar",
|
|
20
|
+
"filter",
|
|
21
|
+
"sort",
|
|
22
|
+
"columns",
|
|
23
|
+
"controls",
|
|
24
|
+
"no-search",
|
|
25
|
+
"standalone",
|
|
26
|
+
"card",
|
|
27
|
+
"data",
|
|
28
|
+
"grid"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
32
|
+
"template": [
|
|
33
|
+
{
|
|
34
|
+
"id": "root",
|
|
35
|
+
"component": "Column"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "table-toolbar-with-table",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "table with toolbar"
|
|
11
|
+
},
|
|
12
|
+
"html": "<col-ui gap=\"0\">\n <table-toolbar-ui for=\"demo-table\" text=\"All employees\" count=\"32\" placeholder=\"Search employees…\"></table-toolbar-ui>\n <card-ui>\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 size=\"sm\" variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Alex Park</td><td>Engineer</td><td><tag-ui size=\"sm\" variant=\"success\">Active</tag-ui></td></tr>\n <tr><td>Jordan Lee</td><td>Product</td><td><tag-ui size=\"sm\" variant=\"warning\">Away</tag-ui></td></tr>\n </tbody>\n </table>\n </table-ui>\n </section>\n </card-ui>\n </col-ui>",
|
|
13
|
+
"source": "packages/web-components/components/table-toolbar/table-toolbar.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Data table with toolbar — table-toolbar-ui above card-wrapped table-ui. Standard data grid pattern with search, filter, sort, and column visibility.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"table",
|
|
19
|
+
"toolbar",
|
|
20
|
+
"search",
|
|
21
|
+
"filter",
|
|
22
|
+
"sort",
|
|
23
|
+
"columns",
|
|
24
|
+
"data",
|
|
25
|
+
"grid",
|
|
26
|
+
"employees",
|
|
27
|
+
"members",
|
|
28
|
+
"users",
|
|
29
|
+
"card"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
33
|
+
"template": [
|
|
34
|
+
{
|
|
35
|
+
"id": "column",
|
|
36
|
+
"component": "Column"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "text",
|
|
40
|
+
"component": "Text",
|
|
41
|
+
"textContent": "Name",
|
|
42
|
+
"variant": "body"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "text-2",
|
|
46
|
+
"component": "Text",
|
|
47
|
+
"textContent": "Role",
|
|
48
|
+
"variant": "body"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "text-3",
|
|
52
|
+
"component": "Text",
|
|
53
|
+
"textContent": "Status",
|
|
54
|
+
"variant": "body"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "column-3",
|
|
58
|
+
"component": "Column",
|
|
59
|
+
"children": [
|
|
60
|
+
"text",
|
|
61
|
+
"text-2",
|
|
62
|
+
"text-3"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "text-4",
|
|
67
|
+
"component": "Text",
|
|
68
|
+
"textContent": "Maya Chen",
|
|
69
|
+
"variant": "body"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "text-5",
|
|
73
|
+
"component": "Text",
|
|
74
|
+
"textContent": "Designer",
|
|
75
|
+
"variant": "body"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "text-6",
|
|
79
|
+
"component": "Text",
|
|
80
|
+
"textContent": "Active",
|
|
81
|
+
"variant": "body"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "tag",
|
|
85
|
+
"component": "Tag",
|
|
86
|
+
"size": "sm",
|
|
87
|
+
"variant": "success",
|
|
88
|
+
"children": [
|
|
89
|
+
"text-6"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "column-8",
|
|
94
|
+
"component": "Column",
|
|
95
|
+
"children": [
|
|
96
|
+
"text-4",
|
|
97
|
+
"text-5",
|
|
98
|
+
"tag"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "text-7",
|
|
103
|
+
"component": "Text",
|
|
104
|
+
"textContent": "Alex Park",
|
|
105
|
+
"variant": "body"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "text-8",
|
|
109
|
+
"component": "Text",
|
|
110
|
+
"textContent": "Engineer",
|
|
111
|
+
"variant": "body"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "text-9",
|
|
115
|
+
"component": "Text",
|
|
116
|
+
"textContent": "Active",
|
|
117
|
+
"variant": "body"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "tag-2",
|
|
121
|
+
"component": "Tag",
|
|
122
|
+
"size": "sm",
|
|
123
|
+
"variant": "success",
|
|
124
|
+
"children": [
|
|
125
|
+
"text-9"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "column-12",
|
|
130
|
+
"component": "Column",
|
|
131
|
+
"children": [
|
|
132
|
+
"text-7",
|
|
133
|
+
"text-8",
|
|
134
|
+
"tag-2"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "text-10",
|
|
139
|
+
"component": "Text",
|
|
140
|
+
"textContent": "Jordan Lee",
|
|
141
|
+
"variant": "body"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "text-11",
|
|
145
|
+
"component": "Text",
|
|
146
|
+
"textContent": "Product",
|
|
147
|
+
"variant": "body"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "text-12",
|
|
151
|
+
"component": "Text",
|
|
152
|
+
"textContent": "Away",
|
|
153
|
+
"variant": "body"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "tag-3",
|
|
157
|
+
"component": "Tag",
|
|
158
|
+
"size": "sm",
|
|
159
|
+
"variant": "warning",
|
|
160
|
+
"children": [
|
|
161
|
+
"text-12"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "column-16",
|
|
166
|
+
"component": "Column",
|
|
167
|
+
"children": [
|
|
168
|
+
"text-10",
|
|
169
|
+
"text-11",
|
|
170
|
+
"tag-3"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "column-7",
|
|
175
|
+
"component": "Column",
|
|
176
|
+
"children": [
|
|
177
|
+
"column-8",
|
|
178
|
+
"column-12",
|
|
179
|
+
"column-16"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "table",
|
|
184
|
+
"component": "Table",
|
|
185
|
+
"children": [
|
|
186
|
+
"column-3",
|
|
187
|
+
"column-7"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "demo-table",
|
|
192
|
+
"component": "Table",
|
|
193
|
+
"raw": true,
|
|
194
|
+
"sortable": true,
|
|
195
|
+
"children": [
|
|
196
|
+
"table"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "section",
|
|
201
|
+
"component": "Section",
|
|
202
|
+
"bleed": true,
|
|
203
|
+
"children": [
|
|
204
|
+
"column-20"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "column-20",
|
|
209
|
+
"component": "Column",
|
|
210
|
+
"children": [
|
|
211
|
+
"demo-table"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "card",
|
|
216
|
+
"component": "Card",
|
|
217
|
+
"children": [
|
|
218
|
+
"section"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "root",
|
|
223
|
+
"component": "Column",
|
|
224
|
+
"gap": "0",
|
|
225
|
+
"children": [
|
|
226
|
+
"column",
|
|
227
|
+
"card"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "table-with-toolbar-card",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/table/table.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "table with toolbar in card"
|
|
11
|
+
},
|
|
12
|
+
"html": "<col-ui gap=\"0\">\n <table-toolbar-ui for=\"compound-table\" text=\"Team members\" count=\"24\" placeholder=\"Search members…\"></table-toolbar-ui>\n <card-ui>\n <section bleed>\n <!-- Hydrated by table.examples.js — inline <table> children\n would be foster-parented out of the custom element by the\n HTML parser; columns + data set via JS instead. -->\n <table-ui id=\"compound-table\" sortable selectable></table-ui>\n </section>\n </card-ui>\n </col-ui>",
|
|
13
|
+
"source": "packages/web-components/components/table/table.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Data table with toolbar in card — table-toolbar-ui above a sortable table wrapped in a card. Standard data grid pattern.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"table",
|
|
19
|
+
"toolbar",
|
|
20
|
+
"search",
|
|
21
|
+
"filter",
|
|
22
|
+
"sort",
|
|
23
|
+
"card",
|
|
24
|
+
"data",
|
|
25
|
+
"grid",
|
|
26
|
+
"employees",
|
|
27
|
+
"members",
|
|
28
|
+
"sortable",
|
|
29
|
+
"selectable"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
33
|
+
"template": [
|
|
34
|
+
{
|
|
35
|
+
"id": "column",
|
|
36
|
+
"component": "Column"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "compound-table",
|
|
40
|
+
"component": "Table",
|
|
41
|
+
"selectable": true,
|
|
42
|
+
"sortable": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "section",
|
|
46
|
+
"component": "Section",
|
|
47
|
+
"bleed": true,
|
|
48
|
+
"children": [
|
|
49
|
+
"column-2"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "column-2",
|
|
54
|
+
"component": "Column",
|
|
55
|
+
"children": [
|
|
56
|
+
"compound-table"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "card",
|
|
61
|
+
"component": "Card",
|
|
62
|
+
"children": [
|
|
63
|
+
"section"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "root",
|
|
68
|
+
"component": "Column",
|
|
69
|
+
"gap": "0",
|
|
70
|
+
"children": [
|
|
71
|
+
"column",
|
|
72
|
+
"card"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|