@adia-ai/a2ui-corpus 0.7.19 → 0.7.21
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 +8208 -4773
- package/chunks/admin-shell-rounded-borderless.json +280 -0
- package/chunks/admin-shell-standard.json +303 -0
- package/chunks/agent-artifact-stub-card.json +115 -0
- package/chunks/agent-citations-source-chips.json +78 -0
- package/chunks/agent-pipeline-status-stages.json +69 -0
- package/chunks/agent-tool-call-accordion.json +109 -0
- package/chunks/avatar-stack-overflow.json +124 -0
- package/chunks/billing-cancel-subscription-danger.json +61 -0
- package/chunks/billing-invoice-history-table.json +75 -0
- package/chunks/billing-payment-method-card-on-file.json +157 -0
- package/chunks/bulk-selection-actions-bar.json +161 -0
- package/chunks/business-address-form.json +950 -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/chat-empty-state-hero.json +102 -0
- package/chunks/chat-message-assistant-byline.json +85 -0
- package/chunks/chat-message-user-byline.json +84 -0
- package/chunks/checkout-order-summary-card.json +140 -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/contact-form-card.json +197 -0
- package/chunks/contact-support-form.json +699 -0
- package/chunks/cta-banner-centered.json +102 -0
- package/chunks/data-import-wizard.json +12 -3
- package/chunks/departments-checkbox-form.json +387 -0
- package/chunks/drawer-record-detail.json +44 -0
- package/chunks/drawer-with-create-form.json +43 -0
- package/chunks/editor-statusbar-ready.json +99 -0
- package/chunks/editor-toolbar-import-export.json +195 -0
- package/chunks/extended-profile-form.json +509 -0
- package/chunks/feature-grid-three-cards.json +187 -0
- package/chunks/feature-toggle-switch-grid.json +213 -0
- package/chunks/file-upload-field.json +97 -0
- package/chunks/file-upload-form.json +248 -0
- package/chunks/form-field-with-error.json +151 -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/image-thumbnail-grid.json +77 -0
- package/chunks/integrations-api-keys-card-list.json +475 -0
- package/chunks/integrations-connect-form.json +547 -0
- package/chunks/integrations-webhooks-empty-state.json +66 -0
- package/chunks/key-value-detail-list.json +172 -0
- package/chunks/library-browser-search-filter.json +109 -0
- package/chunks/login-form-card.json +207 -0
- package/chunks/logo-cloud-trusted-by.json +235 -0
- package/chunks/map-with-location-list.json +291 -0
- package/chunks/marketing-page-shell.json +45 -11
- package/chunks/members-active-table-search-filter.json +184 -0
- package/chunks/members-pending-invites-cards.json +251 -0
- package/chunks/members-roles-permissions-list.json +104 -0
- package/chunks/multi-field-form-validation.json +391 -0
- package/chunks/order-confirmation-success-card.json +177 -0
- package/chunks/payment-checkout-form.json +338 -0
- package/chunks/plan-selection-form.json +526 -0
- package/chunks/rating-stars-review-summary.json +258 -0
- package/chunks/reg-step-shell.json +12 -3
- 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/schedule-meeting-form-card.json +229 -0
- package/chunks/searchable-picker-modal.json +164 -0
- package/chunks/security-active-sessions-devices.json +287 -0
- package/chunks/security-change-password-form.json +102 -0
- package/chunks/security-delete-account-danger.json +79 -0
- package/chunks/settings-admin-page.json +61 -34
- package/chunks/settings-danger-zone-delete-workspace.json +93 -0
- package/chunks/settings-notification-activity-checkboxes.json +108 -0
- package/chunks/settings-notification-channels-switches.json +101 -0
- package/chunks/signup-form-card.json +218 -0
- package/chunks/signup-team-size-form.json +256 -0
- package/chunks/single-select-card-form.json +228 -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/team-invite-form.json +377 -0
- package/chunks/testimonial-pull-quote.json +129 -0
- package/chunks/url-import-form.json +725 -0
- package/chunks/usage-quota-meter-card.json +217 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cta-banner-centered",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "card-ui",
|
|
5
|
+
"page": "/catalog/page-shells/app/marketing-page/marketing-page.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"raw": "",
|
|
10
|
+
"align": "center"
|
|
11
|
+
},
|
|
12
|
+
"html": "<card-ui raw align=\"center\">\n <section>\n <col-ui align=\"center\" gap=\"3\">\n <h2>Ready to ship?</h2>\n <text-ui color=\"subtle\">Start building in minutes</text-ui>\n <button-ui text=\"Start free trial\" variant=\"primary\" size=\"lg\"></button-ui>\n </col-ui>\n </section>\n </card-ui>",
|
|
13
|
+
"source": "catalog/page-shells/app/marketing-page/marketing-page.contents.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "marketing",
|
|
16
|
+
"description": "Centered call-to-action banner — a borderless full-width card with a centered closing headline, a one-line supporting subtitle, and a single primary action button. The 'Ready to ship? / Get started today' conversion banner that closes a marketing or landing page.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"cta",
|
|
19
|
+
"call",
|
|
20
|
+
"to",
|
|
21
|
+
"action",
|
|
22
|
+
"banner",
|
|
23
|
+
"centered",
|
|
24
|
+
"closing",
|
|
25
|
+
"conversion",
|
|
26
|
+
"sign",
|
|
27
|
+
"up",
|
|
28
|
+
"get",
|
|
29
|
+
"started",
|
|
30
|
+
"ready",
|
|
31
|
+
"to",
|
|
32
|
+
"ship",
|
|
33
|
+
"trial",
|
|
34
|
+
"headline",
|
|
35
|
+
"subtitle",
|
|
36
|
+
"primary",
|
|
37
|
+
"button",
|
|
38
|
+
"bottom",
|
|
39
|
+
"of",
|
|
40
|
+
"page",
|
|
41
|
+
"footer",
|
|
42
|
+
"cta",
|
|
43
|
+
"marketing",
|
|
44
|
+
"landing",
|
|
45
|
+
"conversion",
|
|
46
|
+
"strip",
|
|
47
|
+
"prompt",
|
|
48
|
+
"encourage",
|
|
49
|
+
"signup",
|
|
50
|
+
"final",
|
|
51
|
+
"push"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"captured_at": "2026-06-10T19:45:40.486Z",
|
|
55
|
+
"template": [
|
|
56
|
+
{
|
|
57
|
+
"id": "text",
|
|
58
|
+
"component": "Text",
|
|
59
|
+
"variant": "title",
|
|
60
|
+
"textContent": "Ready to ship?"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "text-2",
|
|
64
|
+
"component": "Text",
|
|
65
|
+
"color": "subtle",
|
|
66
|
+
"textContent": "Start building in minutes"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "button",
|
|
70
|
+
"component": "Button",
|
|
71
|
+
"size": "lg",
|
|
72
|
+
"text": "Start free trial",
|
|
73
|
+
"variant": "primary"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "column",
|
|
77
|
+
"component": "Column",
|
|
78
|
+
"align": "center",
|
|
79
|
+
"gap": "3",
|
|
80
|
+
"children": [
|
|
81
|
+
"text",
|
|
82
|
+
"text-2",
|
|
83
|
+
"button"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "section",
|
|
88
|
+
"component": "Section",
|
|
89
|
+
"children": [
|
|
90
|
+
"column"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "root",
|
|
95
|
+
"component": "Card",
|
|
96
|
+
"raw": true,
|
|
97
|
+
"children": [
|
|
98
|
+
"section"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"slots": [],
|
|
7
7
|
"nested": [
|
|
8
8
|
"reg-story-pane",
|
|
9
|
+
"file-upload-form",
|
|
9
10
|
"reg-step-header",
|
|
10
11
|
"reg-import-picker",
|
|
11
12
|
"reg-step-footer",
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
"data-reg": "",
|
|
16
17
|
"prose": ""
|
|
17
18
|
},
|
|
18
|
-
"html": "<main data-reg prose>\n <aside data-reg-story><!-- nested: reg-story-pane --></aside>\n\n <form data-reg-input action=\"/site/examples/registration/plan\" method=\"get\"
|
|
19
|
+
"html": "<main data-reg prose>\n <aside data-reg-story><!-- nested: reg-story-pane --></aside>\n\n <form data-reg-input action=\"/site/examples/registration/plan\" method=\"get\"><!-- nested: file-upload-form --></form>\n </main>",
|
|
19
20
|
"source": "apps/user-flow/app/registration/import/import.contents.html",
|
|
20
21
|
"metadata": {
|
|
21
22
|
"domain": "forms",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"onboarding"
|
|
42
43
|
]
|
|
43
44
|
},
|
|
44
|
-
"captured_at": "2026-06-
|
|
45
|
+
"captured_at": "2026-06-10T14:28:57.979Z",
|
|
45
46
|
"template": [
|
|
46
47
|
{
|
|
47
48
|
"id": "image",
|
|
@@ -357,7 +358,7 @@
|
|
|
357
358
|
]
|
|
358
359
|
},
|
|
359
360
|
{
|
|
360
|
-
"id": "form-container",
|
|
361
|
+
"id": "form-container-2",
|
|
361
362
|
"component": "FormContainer",
|
|
362
363
|
"data-reg-input": "",
|
|
363
364
|
"children": [
|
|
@@ -366,6 +367,14 @@
|
|
|
366
367
|
"footer"
|
|
367
368
|
]
|
|
368
369
|
},
|
|
370
|
+
{
|
|
371
|
+
"id": "form-container",
|
|
372
|
+
"component": "FormContainer",
|
|
373
|
+
"data-reg-input": "",
|
|
374
|
+
"children": [
|
|
375
|
+
"form-container-2"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
369
378
|
{
|
|
370
379
|
"id": "root",
|
|
371
380
|
"component": "Column",
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "departments-checkbox-form",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "form",
|
|
5
|
+
"page": "/apps/user-flow/app/registration/departments/departments.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [
|
|
8
|
+
"reg-step-header",
|
|
9
|
+
"reg-departments-toggle",
|
|
10
|
+
"reg-step-footer",
|
|
11
|
+
"reg-step-progress"
|
|
12
|
+
],
|
|
13
|
+
"attrs": {
|
|
14
|
+
"data-reg-input": "",
|
|
15
|
+
"action": "/site/examples/registration/org-review",
|
|
16
|
+
"method": "get"
|
|
17
|
+
},
|
|
18
|
+
"html": "<form data-reg-input action=\"/site/examples/registration/org-review\" method=\"get\">\n <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n <section data-reg-form><!-- nested: reg-departments-toggle --></section>\n\n <footer><!-- nested: reg-step-footer --></footer>\n </form>",
|
|
19
|
+
"source": "apps/user-flow/app/registration/departments/departments.contents.html",
|
|
20
|
+
"metadata": {
|
|
21
|
+
"domain": "forms",
|
|
22
|
+
"description": "Complete multi-select checkbox form — heading, an info alert, a two-column grid of labelled checkboxes (some pre-checked), a divider, a custom add-row (name input + add button) with resulting tag chips, a defer checkbox, and a submit footer. The full checkbox-grid form composition with header and footer. Use for 'checkbox form', 'multi-select form', 'form with a grid of checkboxes and an add-custom row'.",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"checkbox",
|
|
25
|
+
"form",
|
|
26
|
+
"multi-select",
|
|
27
|
+
"grid",
|
|
28
|
+
"departments",
|
|
29
|
+
"toggle",
|
|
30
|
+
"options",
|
|
31
|
+
"pre-checked",
|
|
32
|
+
"custom",
|
|
33
|
+
"add-row",
|
|
34
|
+
"tag",
|
|
35
|
+
"chips",
|
|
36
|
+
"divider",
|
|
37
|
+
"defer",
|
|
38
|
+
"complete",
|
|
39
|
+
"card",
|
|
40
|
+
"heading",
|
|
41
|
+
"footer",
|
|
42
|
+
"submit",
|
|
43
|
+
"continue",
|
|
44
|
+
"full-form"
|
|
45
|
+
],
|
|
46
|
+
"related": [
|
|
47
|
+
"reg-departments-toggle",
|
|
48
|
+
"form-checkbox-group",
|
|
49
|
+
"reg-step-footer"
|
|
50
|
+
],
|
|
51
|
+
"tags": {
|
|
52
|
+
"complexity": "moderate",
|
|
53
|
+
"form": "checkbox"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"captured_at": "2026-06-10T14:28:57.979Z",
|
|
57
|
+
"template": [
|
|
58
|
+
{
|
|
59
|
+
"id": "text",
|
|
60
|
+
"component": "Text",
|
|
61
|
+
"variant": "display",
|
|
62
|
+
"textContent": "Set up your departments"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "text-2",
|
|
66
|
+
"component": "Text",
|
|
67
|
+
"color": "subtle",
|
|
68
|
+
"textContent": "Pick the ones your org has today. You can rename, merge, or split these from settings later."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "header-2",
|
|
72
|
+
"component": "Header",
|
|
73
|
+
"data-reg-heading": "",
|
|
74
|
+
"children": [
|
|
75
|
+
"text",
|
|
76
|
+
"text-2"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "header",
|
|
81
|
+
"component": "Header",
|
|
82
|
+
"data-reg-heading": "",
|
|
83
|
+
"children": [
|
|
84
|
+
"header-2"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "text-3",
|
|
89
|
+
"component": "Text",
|
|
90
|
+
"variant": "body",
|
|
91
|
+
"slot": "content",
|
|
92
|
+
"textContent": "Based on your team size (51–200) and use case (building a product), we pre-checked seven likely departments."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "alert",
|
|
96
|
+
"component": "Alert",
|
|
97
|
+
"icon": "sparkle",
|
|
98
|
+
"variant": "info",
|
|
99
|
+
"children": [
|
|
100
|
+
"text-3"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "dept-engineering",
|
|
105
|
+
"component": "CheckBox",
|
|
106
|
+
"checked": true,
|
|
107
|
+
"label": "Engineering",
|
|
108
|
+
"name": "dept[engineering]"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "dept-product",
|
|
112
|
+
"component": "CheckBox",
|
|
113
|
+
"checked": true,
|
|
114
|
+
"label": "Product",
|
|
115
|
+
"name": "dept[product]"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "dept-design",
|
|
119
|
+
"component": "CheckBox",
|
|
120
|
+
"checked": true,
|
|
121
|
+
"label": "Design",
|
|
122
|
+
"name": "dept[design]"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "dept-sales",
|
|
126
|
+
"component": "CheckBox",
|
|
127
|
+
"checked": true,
|
|
128
|
+
"label": "Sales",
|
|
129
|
+
"name": "dept[sales]"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "dept-marketing",
|
|
133
|
+
"component": "CheckBox",
|
|
134
|
+
"checked": true,
|
|
135
|
+
"label": "Marketing",
|
|
136
|
+
"name": "dept[marketing]"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "dept-cs",
|
|
140
|
+
"component": "CheckBox",
|
|
141
|
+
"checked": true,
|
|
142
|
+
"label": "Customer Success",
|
|
143
|
+
"name": "dept[cs]"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "dept-ops",
|
|
147
|
+
"component": "CheckBox",
|
|
148
|
+
"checked": true,
|
|
149
|
+
"label": "Operations",
|
|
150
|
+
"name": "dept[ops]"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "dept-finance",
|
|
154
|
+
"component": "CheckBox",
|
|
155
|
+
"label": "Finance",
|
|
156
|
+
"name": "dept[finance]"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "dept-hr",
|
|
160
|
+
"component": "CheckBox",
|
|
161
|
+
"label": "People / HR",
|
|
162
|
+
"name": "dept[hr]"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "dept-legal",
|
|
166
|
+
"component": "CheckBox",
|
|
167
|
+
"label": "Legal",
|
|
168
|
+
"name": "dept[legal]"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "dept-data",
|
|
172
|
+
"component": "CheckBox",
|
|
173
|
+
"label": "Data / Analytics",
|
|
174
|
+
"name": "dept[data]"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "dept-security",
|
|
178
|
+
"component": "CheckBox",
|
|
179
|
+
"label": "Security",
|
|
180
|
+
"name": "dept[security]"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "grid",
|
|
184
|
+
"component": "Grid",
|
|
185
|
+
"columns": "1 2@md",
|
|
186
|
+
"gap": "2",
|
|
187
|
+
"children": [
|
|
188
|
+
"dept-engineering",
|
|
189
|
+
"dept-product",
|
|
190
|
+
"dept-design",
|
|
191
|
+
"dept-sales",
|
|
192
|
+
"dept-marketing",
|
|
193
|
+
"dept-cs",
|
|
194
|
+
"dept-ops",
|
|
195
|
+
"dept-finance",
|
|
196
|
+
"dept-hr",
|
|
197
|
+
"dept-legal",
|
|
198
|
+
"dept-data",
|
|
199
|
+
"dept-security"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "divider",
|
|
204
|
+
"component": "Divider"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "text-4",
|
|
208
|
+
"component": "Text",
|
|
209
|
+
"strong": true,
|
|
210
|
+
"textContent": "Custom departments"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "text-5",
|
|
214
|
+
"component": "Text",
|
|
215
|
+
"color": "subtle",
|
|
216
|
+
"size": "sm",
|
|
217
|
+
"textContent": "Add anything specific to your org — e.g. \"Research\", \"Studio\", \"Foundry\"."
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"id": "column",
|
|
221
|
+
"component": "Column",
|
|
222
|
+
"gap": "2",
|
|
223
|
+
"children": [
|
|
224
|
+
"text-4",
|
|
225
|
+
"text-5"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "custom-dept",
|
|
230
|
+
"component": "Input",
|
|
231
|
+
"name": "custom_dept",
|
|
232
|
+
"placeholder": "e.g. Research"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "field",
|
|
236
|
+
"component": "Field",
|
|
237
|
+
"inline": true,
|
|
238
|
+
"label": "Name",
|
|
239
|
+
"children": [
|
|
240
|
+
"custom-dept"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "button",
|
|
245
|
+
"component": "Button",
|
|
246
|
+
"type": "button",
|
|
247
|
+
"icon": "plus",
|
|
248
|
+
"text": "Add",
|
|
249
|
+
"variant": "outline"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "row",
|
|
253
|
+
"component": "Row",
|
|
254
|
+
"align": "end",
|
|
255
|
+
"gap": "2",
|
|
256
|
+
"children": [
|
|
257
|
+
"field",
|
|
258
|
+
"button"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "tag",
|
|
263
|
+
"component": "Tag",
|
|
264
|
+
"text": "Research"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "tag-2",
|
|
268
|
+
"component": "Tag",
|
|
269
|
+
"text": "Studio"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "row-2",
|
|
273
|
+
"component": "Row",
|
|
274
|
+
"gap": "2",
|
|
275
|
+
"children": [
|
|
276
|
+
"tag",
|
|
277
|
+
"tag-2"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "defer",
|
|
282
|
+
"component": "CheckBox",
|
|
283
|
+
"label": "I'll do this later from admin → workspace → departments",
|
|
284
|
+
"name": "defer"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": "text-6",
|
|
288
|
+
"component": "Text",
|
|
289
|
+
"color": "subtle",
|
|
290
|
+
"size": "sm",
|
|
291
|
+
"textContent": "Members will land in a single \"Everyone\" group until departments are configured. You can re-bucket from the directory later.",
|
|
292
|
+
"data-reg-defer-hint": ""
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "column-2",
|
|
296
|
+
"component": "Column",
|
|
297
|
+
"data-reg-defer-row": "",
|
|
298
|
+
"children": [
|
|
299
|
+
"defer",
|
|
300
|
+
"text-6"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"id": "section-2",
|
|
305
|
+
"component": "Section",
|
|
306
|
+
"data-reg-form": "",
|
|
307
|
+
"children": [
|
|
308
|
+
"alert",
|
|
309
|
+
"grid",
|
|
310
|
+
"divider",
|
|
311
|
+
"column",
|
|
312
|
+
"row",
|
|
313
|
+
"row-2",
|
|
314
|
+
"column-2"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "section",
|
|
319
|
+
"component": "Section",
|
|
320
|
+
"data-reg-form": "",
|
|
321
|
+
"children": [
|
|
322
|
+
"section-2"
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "column-3",
|
|
327
|
+
"component": "Column"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"id": "text-7",
|
|
331
|
+
"component": "Text",
|
|
332
|
+
"textContent": "Back",
|
|
333
|
+
"variant": "body"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "link",
|
|
337
|
+
"component": "Link",
|
|
338
|
+
"href": "/site/examples/registration/support",
|
|
339
|
+
"text": "Back",
|
|
340
|
+
"data-reg-back": "",
|
|
341
|
+
"children": [
|
|
342
|
+
"text-7"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"id": "button-2",
|
|
347
|
+
"component": "Button",
|
|
348
|
+
"type": "submit",
|
|
349
|
+
"text": "Continue",
|
|
350
|
+
"variant": "primary"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"id": "column-4",
|
|
354
|
+
"component": "Column",
|
|
355
|
+
"data-reg-actions": "",
|
|
356
|
+
"children": [
|
|
357
|
+
"link",
|
|
358
|
+
"button-2"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "footer-2",
|
|
363
|
+
"component": "Footer",
|
|
364
|
+
"children": [
|
|
365
|
+
"column-3",
|
|
366
|
+
"column-4"
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"id": "footer",
|
|
371
|
+
"component": "Footer",
|
|
372
|
+
"children": [
|
|
373
|
+
"footer-2"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"id": "root",
|
|
378
|
+
"component": "FormContainer",
|
|
379
|
+
"data-reg-input": "",
|
|
380
|
+
"children": [
|
|
381
|
+
"header",
|
|
382
|
+
"section",
|
|
383
|
+
"footer"
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "drawer-record-detail",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/drawer/drawer.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "record detail drawer"
|
|
11
|
+
},
|
|
12
|
+
"html": "<button-ui text=\"View record\" icon=\"user\" variant=\"outline\" onclick=\"this.nextElementSibling.open=true\"></button-ui>\n <drawer-ui side=\"right\" size=\"sm\" text=\"Maya Chen\">\n <section slot=\"body\">\n <col-ui gap=\"4\">\n <description-list-ui>\n <dt>Email</dt><dd>maya@example.com</dd>\n <dt>Role</dt><dd>Designer</dd>\n <dt>Status</dt><dd><tag-ui size=\"sm\" variant=\"success\">Active</tag-ui></dd>\n <dt>Joined</dt><dd>March 12, 2026</dd>\n <dt>Last active</dt><dd>Today</dd>\n </description-list-ui>\n </col-ui>\n </section>\n <footer slot=\"footer\">\n <row-ui gap=\"2\">\n <button-ui text=\"Edit\" variant=\"outline\" stretch></button-ui>\n <button-ui text=\"Remove\" variant=\"ghost\" color=\"danger\" stretch></button-ui>\n </row-ui>\n </footer>\n </drawer-ui>",
|
|
13
|
+
"source": "packages/web-components/components/drawer/drawer.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "Record detail drawer — read-only view of a record's fields in a right-side drawer. Common for list rows that reveal detail on click.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"drawer",
|
|
19
|
+
"detail",
|
|
20
|
+
"record",
|
|
21
|
+
"view",
|
|
22
|
+
"inspect",
|
|
23
|
+
"side",
|
|
24
|
+
"panel",
|
|
25
|
+
"fields",
|
|
26
|
+
"label",
|
|
27
|
+
"value",
|
|
28
|
+
"read-only",
|
|
29
|
+
"table",
|
|
30
|
+
"list",
|
|
31
|
+
"row",
|
|
32
|
+
"click"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
36
|
+
"template": [
|
|
37
|
+
{
|
|
38
|
+
"id": "root",
|
|
39
|
+
"component": "Text",
|
|
40
|
+
"textContent": "Email maya@example.com Role Designer Status Active Joined March 12, 2026 Last active Today",
|
|
41
|
+
"variant": "body"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "drawer-with-create-form",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/drawer/drawer.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "form drawer — create"
|
|
11
|
+
},
|
|
12
|
+
"html": "<button-ui text=\"+ New project\" variant=\"outline\" size=\"sm\" onclick=\"this.nextElementSibling.open=true\"></button-ui>\n <drawer-ui side=\"right\" size=\"md\" text=\"New project\">\n <section slot=\"body\">\n <col-ui gap=\"3\">\n <field-ui label=\"Project name\" required>\n <input-ui placeholder=\"My awesome project\"></input-ui>\n </field-ui>\n <field-ui label=\"Description\">\n <textarea-ui placeholder=\"Optional description…\" rows=\"3\"></textarea-ui>\n </field-ui>\n <field-ui label=\"Status\">\n <select-ui value=\"active\">\n <option value=\"active\">Active</option>\n <option value=\"draft\">Draft</option>\n <option value=\"archived\">Archived</option>\n </select-ui>\n </field-ui>\n <check-ui label=\"Notify team members\" checked></check-ui>\n </col-ui>\n </section>\n <footer slot=\"footer\">\n <row-ui gap=\"2\" justify=\"end\">\n <button-ui text=\"Cancel\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open=false\"></button-ui>\n <button-ui text=\"Create project\" variant=\"primary\"></button-ui>\n </row-ui>\n </footer>\n </drawer-ui>",
|
|
13
|
+
"source": "packages/web-components/components/drawer/drawer.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "forms",
|
|
16
|
+
"description": "Create form drawer — drawer with labeled form fields and sticky footer Cancel/Save actions. Standard shape for '+ New X' triggers.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"drawer",
|
|
19
|
+
"form",
|
|
20
|
+
"create",
|
|
21
|
+
"new",
|
|
22
|
+
"fields",
|
|
23
|
+
"input",
|
|
24
|
+
"footer",
|
|
25
|
+
"actions",
|
|
26
|
+
"cancel",
|
|
27
|
+
"save",
|
|
28
|
+
"sticky",
|
|
29
|
+
"scrollable",
|
|
30
|
+
"side",
|
|
31
|
+
"panel"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
35
|
+
"template": [
|
|
36
|
+
{
|
|
37
|
+
"id": "root",
|
|
38
|
+
"component": "Text",
|
|
39
|
+
"textContent": "Active Draft Archived",
|
|
40
|
+
"variant": "body"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|