@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,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "signup-form-card",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "card-ui",
|
|
5
|
+
"page": "/catalog/ui-patterns/v050-form-blocks/v050-form-blocks.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {},
|
|
9
|
+
"html": "<card-ui>\n <header>\n <h3>Create your account</h3>\n <p slot=\"description\">Start your 14-day free trial. No credit card required.</p>\n </header>\n <section>\n <col-ui gap=\"4\">\n <field-ui label=\"Full name\">\n <input-ui name=\"name\" autocomplete=\"name\" placeholder=\"Jane Doe\" required></input-ui>\n </field-ui>\n <field-ui label=\"Work email\">\n <input-ui type=\"email\" name=\"email\" autocomplete=\"email\" placeholder=\"jane@acme.com\" required></input-ui>\n </field-ui>\n <field-ui label=\"Password\" hint=\"At least 8 characters with a number and a symbol.\">\n <input-ui type=\"password\" name=\"password\" autocomplete=\"new-password\" placeholder=\"••••••••\" required></input-ui>\n </field-ui>\n <field-ui label=\"Confirm password\">\n <input-ui type=\"password\" name=\"confirm\" autocomplete=\"new-password\" placeholder=\"••••••••\" required></input-ui>\n </field-ui>\n <check-ui name=\"terms\" label=\"I agree to the Terms of Service and Privacy Policy\" required></check-ui>\n </col-ui>\n </section>\n <footer>\n <col-ui gap=\"3\">\n <button-ui text=\"Create account\" variant=\"primary\" type=\"submit\" stretch></button-ui>\n <text-ui text-align=\"center\" color=\"subtle\" size=\"sm\">Already have an account? <a href=\"#\">Sign in</a></text-ui>\n </col-ui>\n </footer>\n </card-ui>",
|
|
10
|
+
"source": "catalog/ui-patterns/v050-form-blocks/v050-form-blocks.contents.html",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "forms",
|
|
13
|
+
"description": "Canonical full signup / create-account form card — heading and subheading, then name, email, password, and confirm-password fields each as a field-ui label wrapping an input-ui, a terms-acceptance checkbox, and a footer with a full-width Create account button plus a sign-in link. The complete form composition (header + fields + actions footer). Use for 'signup form', 'create account form', 'registration form', 'sign up'.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"signup",
|
|
16
|
+
"form",
|
|
17
|
+
"create",
|
|
18
|
+
"account",
|
|
19
|
+
"register",
|
|
20
|
+
"registration",
|
|
21
|
+
"sign",
|
|
22
|
+
"up",
|
|
23
|
+
"name",
|
|
24
|
+
"email",
|
|
25
|
+
"password",
|
|
26
|
+
"confirm",
|
|
27
|
+
"terms",
|
|
28
|
+
"checkbox",
|
|
29
|
+
"field",
|
|
30
|
+
"input",
|
|
31
|
+
"label",
|
|
32
|
+
"complete",
|
|
33
|
+
"card",
|
|
34
|
+
"heading",
|
|
35
|
+
"footer",
|
|
36
|
+
"submit",
|
|
37
|
+
"button",
|
|
38
|
+
"full-form"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"captured_at": "2026-06-10T14:28:57.979Z",
|
|
42
|
+
"template": [
|
|
43
|
+
{
|
|
44
|
+
"id": "text",
|
|
45
|
+
"component": "Text",
|
|
46
|
+
"variant": "heading",
|
|
47
|
+
"textContent": "Create your account"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "text-2",
|
|
51
|
+
"component": "Text",
|
|
52
|
+
"variant": "body",
|
|
53
|
+
"slot": "description",
|
|
54
|
+
"textContent": "Start your 14-day free trial. No credit card required."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "header",
|
|
58
|
+
"component": "Header",
|
|
59
|
+
"children": [
|
|
60
|
+
"text",
|
|
61
|
+
"text-2"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "name",
|
|
66
|
+
"component": "Input",
|
|
67
|
+
"required": true,
|
|
68
|
+
"autocomplete": "name",
|
|
69
|
+
"name": "name",
|
|
70
|
+
"placeholder": "Jane Doe"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "field",
|
|
74
|
+
"component": "Field",
|
|
75
|
+
"label": "Full name",
|
|
76
|
+
"children": [
|
|
77
|
+
"name"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "email",
|
|
82
|
+
"component": "Input",
|
|
83
|
+
"type": "email",
|
|
84
|
+
"required": true,
|
|
85
|
+
"autocomplete": "email",
|
|
86
|
+
"name": "email",
|
|
87
|
+
"placeholder": "jane@acme.com"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "field-2",
|
|
91
|
+
"component": "Field",
|
|
92
|
+
"label": "Work email",
|
|
93
|
+
"children": [
|
|
94
|
+
"email"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "password",
|
|
99
|
+
"component": "Input",
|
|
100
|
+
"type": "password",
|
|
101
|
+
"required": true,
|
|
102
|
+
"autocomplete": "new-password",
|
|
103
|
+
"name": "password",
|
|
104
|
+
"placeholder": "••••••••"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "field-3",
|
|
108
|
+
"component": "Field",
|
|
109
|
+
"hint": "At least 8 characters with a number and a symbol.",
|
|
110
|
+
"label": "Password",
|
|
111
|
+
"children": [
|
|
112
|
+
"password"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "confirm",
|
|
117
|
+
"component": "Input",
|
|
118
|
+
"type": "password",
|
|
119
|
+
"required": true,
|
|
120
|
+
"autocomplete": "new-password",
|
|
121
|
+
"name": "confirm",
|
|
122
|
+
"placeholder": "••••••••"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "field-4",
|
|
126
|
+
"component": "Field",
|
|
127
|
+
"label": "Confirm password",
|
|
128
|
+
"children": [
|
|
129
|
+
"confirm"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "terms",
|
|
134
|
+
"component": "CheckBox",
|
|
135
|
+
"required": true,
|
|
136
|
+
"label": "I agree to the Terms of Service and Privacy Policy",
|
|
137
|
+
"name": "terms"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "column",
|
|
141
|
+
"component": "Column",
|
|
142
|
+
"gap": "4",
|
|
143
|
+
"children": [
|
|
144
|
+
"field",
|
|
145
|
+
"field-2",
|
|
146
|
+
"field-3",
|
|
147
|
+
"field-4",
|
|
148
|
+
"terms"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "section",
|
|
153
|
+
"component": "Section",
|
|
154
|
+
"children": [
|
|
155
|
+
"column"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "button",
|
|
160
|
+
"component": "Button",
|
|
161
|
+
"type": "submit",
|
|
162
|
+
"stretch": true,
|
|
163
|
+
"text": "Create account",
|
|
164
|
+
"variant": "primary"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "text-4",
|
|
168
|
+
"component": "Text",
|
|
169
|
+
"textContent": "Sign in",
|
|
170
|
+
"variant": "body"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "link",
|
|
174
|
+
"component": "Link",
|
|
175
|
+
"href": "#",
|
|
176
|
+
"text": "Sign in",
|
|
177
|
+
"children": [
|
|
178
|
+
"text-4"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "text-3",
|
|
183
|
+
"component": "Text",
|
|
184
|
+
"color": "subtle",
|
|
185
|
+
"size": "sm",
|
|
186
|
+
"text-align": "center",
|
|
187
|
+
"textContent": "Already have an account?",
|
|
188
|
+
"children": [
|
|
189
|
+
"link"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "column-2",
|
|
194
|
+
"component": "Column",
|
|
195
|
+
"gap": "3",
|
|
196
|
+
"children": [
|
|
197
|
+
"button",
|
|
198
|
+
"text-3"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"id": "footer",
|
|
203
|
+
"component": "Footer",
|
|
204
|
+
"children": [
|
|
205
|
+
"column-2"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "root",
|
|
210
|
+
"component": "Card",
|
|
211
|
+
"children": [
|
|
212
|
+
"header",
|
|
213
|
+
"section",
|
|
214
|
+
"footer"
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "signup-team-size-form",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "form",
|
|
5
|
+
"page": "/apps/user-flow/app/registration/team-size/team-size.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [
|
|
8
|
+
"reg-step-header",
|
|
9
|
+
"reg-team-size",
|
|
10
|
+
"reg-step-footer",
|
|
11
|
+
"reg-step-progress"
|
|
12
|
+
],
|
|
13
|
+
"attrs": {
|
|
14
|
+
"data-reg-input": "",
|
|
15
|
+
"action": "/site/examples/registration/invite",
|
|
16
|
+
"method": "get"
|
|
17
|
+
},
|
|
18
|
+
"html": "<form data-reg-input action=\"/site/examples/registration/invite\" method=\"get\">\n <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n <section data-reg-form><!-- nested: reg-team-size --></section>\n\n <footer><!-- nested: reg-step-footer --></footer>\n </form>",
|
|
19
|
+
"source": "apps/user-flow/app/registration/team-size/team-size.contents.html",
|
|
20
|
+
"metadata": {
|
|
21
|
+
"domain": "forms",
|
|
22
|
+
"description": "Complete onboarding / signup step form — heading, a segmented control for team-size headcount range, an industry select with a hint, and a submit footer. Compact full form composition (header + fields + actions) typical of a signup wizard step. Use for 'signup form', 'onboarding step form', 'team size form', 'form with segmented control'.",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"signup",
|
|
25
|
+
"form",
|
|
26
|
+
"onboarding",
|
|
27
|
+
"step",
|
|
28
|
+
"team",
|
|
29
|
+
"size",
|
|
30
|
+
"headcount",
|
|
31
|
+
"range",
|
|
32
|
+
"segmented",
|
|
33
|
+
"control",
|
|
34
|
+
"industry",
|
|
35
|
+
"select",
|
|
36
|
+
"hint",
|
|
37
|
+
"complete",
|
|
38
|
+
"card",
|
|
39
|
+
"heading",
|
|
40
|
+
"footer",
|
|
41
|
+
"submit",
|
|
42
|
+
"continue",
|
|
43
|
+
"wizard",
|
|
44
|
+
"full-form"
|
|
45
|
+
],
|
|
46
|
+
"related": [
|
|
47
|
+
"reg-team-size",
|
|
48
|
+
"segmented-control-billing-tabs",
|
|
49
|
+
"reg-step-footer"
|
|
50
|
+
],
|
|
51
|
+
"tags": {
|
|
52
|
+
"complexity": "simple",
|
|
53
|
+
"form": "signup"
|
|
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": "How big is your team?"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "text-2",
|
|
66
|
+
"component": "Text",
|
|
67
|
+
"color": "subtle",
|
|
68
|
+
"textContent": "We'll right-size your defaults to match."
|
|
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": "segment",
|
|
89
|
+
"component": "Segment",
|
|
90
|
+
"text": "2–10",
|
|
91
|
+
"value": "2-10"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "segment-2",
|
|
95
|
+
"component": "Segment",
|
|
96
|
+
"text": "11–50",
|
|
97
|
+
"value": "11-50"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "segment-3",
|
|
101
|
+
"component": "Segment",
|
|
102
|
+
"text": "50+",
|
|
103
|
+
"value": "20+"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "team-size",
|
|
107
|
+
"component": "SegmentedControl",
|
|
108
|
+
"value": "2-10",
|
|
109
|
+
"children": [
|
|
110
|
+
"segment",
|
|
111
|
+
"segment-2",
|
|
112
|
+
"segment-3"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "field",
|
|
117
|
+
"component": "Field",
|
|
118
|
+
"inline": true,
|
|
119
|
+
"label": "Team Size",
|
|
120
|
+
"children": [
|
|
121
|
+
"team-size"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "industry",
|
|
126
|
+
"component": "ChoicePicker",
|
|
127
|
+
"name": "industry",
|
|
128
|
+
"options": [
|
|
129
|
+
{
|
|
130
|
+
"value": "",
|
|
131
|
+
"label": "Choose…"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"value": "software",
|
|
135
|
+
"label": "Software · SaaS"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"value": "design",
|
|
139
|
+
"label": "Design · Creative"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"value": "marketing",
|
|
143
|
+
"label": "Marketing · Growth"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"value": "ecommerce",
|
|
147
|
+
"label": "E-commerce · Retail"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"value": "finance",
|
|
151
|
+
"label": "Finance · Fintech"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"value": "education",
|
|
155
|
+
"label": "Education · Research"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"value": "healthcare",
|
|
159
|
+
"label": "Healthcare · Biotech"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"value": "other",
|
|
163
|
+
"label": "Something else"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "field-2",
|
|
169
|
+
"component": "Field",
|
|
170
|
+
"hint": "Optional. Helps us recommend relevant templates.",
|
|
171
|
+
"inline": true,
|
|
172
|
+
"label": "Industry",
|
|
173
|
+
"children": [
|
|
174
|
+
"industry"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "section-2",
|
|
179
|
+
"component": "Section",
|
|
180
|
+
"data-reg-form": "",
|
|
181
|
+
"children": [
|
|
182
|
+
"field",
|
|
183
|
+
"field-2"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "section",
|
|
188
|
+
"component": "Section",
|
|
189
|
+
"data-reg-form": "",
|
|
190
|
+
"children": [
|
|
191
|
+
"section-2"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "column",
|
|
196
|
+
"component": "Column"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "text-3",
|
|
200
|
+
"component": "Text",
|
|
201
|
+
"textContent": "Back",
|
|
202
|
+
"variant": "body"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "link",
|
|
206
|
+
"component": "Link",
|
|
207
|
+
"href": "/site/examples/registration/use-case",
|
|
208
|
+
"text": "Back",
|
|
209
|
+
"data-reg-back": "",
|
|
210
|
+
"children": [
|
|
211
|
+
"text-3"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "button",
|
|
216
|
+
"component": "Button",
|
|
217
|
+
"type": "submit",
|
|
218
|
+
"text": "Continue",
|
|
219
|
+
"variant": "primary"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "column-2",
|
|
223
|
+
"component": "Column",
|
|
224
|
+
"data-reg-actions": "",
|
|
225
|
+
"children": [
|
|
226
|
+
"link",
|
|
227
|
+
"button"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "footer-2",
|
|
232
|
+
"component": "Footer",
|
|
233
|
+
"children": [
|
|
234
|
+
"column",
|
|
235
|
+
"column-2"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "footer",
|
|
240
|
+
"component": "Footer",
|
|
241
|
+
"children": [
|
|
242
|
+
"footer-2"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "root",
|
|
247
|
+
"component": "FormContainer",
|
|
248
|
+
"data-reg-input": "",
|
|
249
|
+
"children": [
|
|
250
|
+
"header",
|
|
251
|
+
"section",
|
|
252
|
+
"footer"
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "single-select-card-form",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "form",
|
|
5
|
+
"page": "/apps/user-flow/app/registration/use-case/use-case.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [
|
|
8
|
+
"reg-step-header",
|
|
9
|
+
"reg-usecase-picker",
|
|
10
|
+
"reg-step-footer",
|
|
11
|
+
"reg-step-progress"
|
|
12
|
+
],
|
|
13
|
+
"attrs": {
|
|
14
|
+
"data-reg-input": "",
|
|
15
|
+
"action": "/site/examples/registration/team-size",
|
|
16
|
+
"method": "get"
|
|
17
|
+
},
|
|
18
|
+
"html": "<form data-reg-input action=\"/site/examples/registration/team-size\" method=\"get\">\n <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n <section data-reg-form role=\"radiogroup\" aria-label=\"Use case\"><!-- nested: reg-usecase-picker --></section>\n\n <footer><!-- nested: reg-step-footer --></footer>\n </form>",
|
|
19
|
+
"source": "apps/user-flow/app/registration/use-case/use-case.contents.html",
|
|
20
|
+
"metadata": {
|
|
21
|
+
"domain": "forms",
|
|
22
|
+
"description": "Complete single-select option-card form — heading, a vertical radio group of selectable cards each with a title and description, with a free-text textarea revealed on the 'Something else' option, and a submit footer. The full single-choice form composition with header and footer. Use for 'option picker form', 'single-select card form', 'radio card form', 'survey question form'.",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"single-select",
|
|
25
|
+
"form",
|
|
26
|
+
"option-card",
|
|
27
|
+
"radio",
|
|
28
|
+
"group",
|
|
29
|
+
"cards",
|
|
30
|
+
"heading",
|
|
31
|
+
"description",
|
|
32
|
+
"pick",
|
|
33
|
+
"choose",
|
|
34
|
+
"use-case",
|
|
35
|
+
"survey",
|
|
36
|
+
"question",
|
|
37
|
+
"textarea",
|
|
38
|
+
"other",
|
|
39
|
+
"complete",
|
|
40
|
+
"card",
|
|
41
|
+
"footer",
|
|
42
|
+
"submit",
|
|
43
|
+
"continue",
|
|
44
|
+
"full-form"
|
|
45
|
+
],
|
|
46
|
+
"related": [
|
|
47
|
+
"reg-usecase-picker",
|
|
48
|
+
"radio-button-group",
|
|
49
|
+
"reg-step-footer"
|
|
50
|
+
],
|
|
51
|
+
"tags": {
|
|
52
|
+
"complexity": "simple",
|
|
53
|
+
"form": "single-select"
|
|
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": "What brings you here?"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "text-2",
|
|
66
|
+
"component": "Text",
|
|
67
|
+
"color": "subtle",
|
|
68
|
+
"textContent": "Pick the option that's closest to your situation."
|
|
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": "option-card",
|
|
89
|
+
"component": "OptionCard",
|
|
90
|
+
"description": "Spinning up a new project — design, ship, iterate.",
|
|
91
|
+
"checked": true,
|
|
92
|
+
"heading": "I'm building a product",
|
|
93
|
+
"name": "use-case",
|
|
94
|
+
"value": "build"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "option-card-2",
|
|
98
|
+
"component": "OptionCard",
|
|
99
|
+
"description": "Kicking the tires before bringing a team along.",
|
|
100
|
+
"heading": "I'm exploring the product",
|
|
101
|
+
"name": "use-case",
|
|
102
|
+
"value": "explore"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "option-card-3",
|
|
106
|
+
"component": "OptionCard",
|
|
107
|
+
"description": "Moving an existing workspace and want a smooth port.",
|
|
108
|
+
"heading": "I'm migrating from another tool",
|
|
109
|
+
"name": "use-case",
|
|
110
|
+
"value": "migrate"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "option-card-4",
|
|
114
|
+
"component": "OptionCard",
|
|
115
|
+
"description": "Comparing options and want to dig into specifics.",
|
|
116
|
+
"heading": "I'm evaluating for my team",
|
|
117
|
+
"name": "use-case",
|
|
118
|
+
"value": "evaluate"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "use-case-detail",
|
|
122
|
+
"component": "TextArea",
|
|
123
|
+
"name": "use-case-detail",
|
|
124
|
+
"placeholder": "What brings you to AdiaUI?",
|
|
125
|
+
"rows": "3"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "option-card-5",
|
|
129
|
+
"component": "OptionCard",
|
|
130
|
+
"description": "Tell us more — we read every response.",
|
|
131
|
+
"heading": "Something else",
|
|
132
|
+
"name": "use-case",
|
|
133
|
+
"value": "other",
|
|
134
|
+
"children": [
|
|
135
|
+
"use-case-detail"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "column",
|
|
140
|
+
"component": "Column",
|
|
141
|
+
"gap": "2",
|
|
142
|
+
"children": [
|
|
143
|
+
"option-card",
|
|
144
|
+
"option-card-2",
|
|
145
|
+
"option-card-3",
|
|
146
|
+
"option-card-4",
|
|
147
|
+
"option-card-5"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "section",
|
|
152
|
+
"component": "Section",
|
|
153
|
+
"data-reg-form": "",
|
|
154
|
+
"children": [
|
|
155
|
+
"column"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "use-case",
|
|
160
|
+
"component": "Section",
|
|
161
|
+
"data-reg-form": "",
|
|
162
|
+
"children": [
|
|
163
|
+
"section"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "column-2",
|
|
168
|
+
"component": "Column"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "text-3",
|
|
172
|
+
"component": "Text",
|
|
173
|
+
"textContent": "Back",
|
|
174
|
+
"variant": "body"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "link",
|
|
178
|
+
"component": "Link",
|
|
179
|
+
"href": "/site/examples/registration/profile",
|
|
180
|
+
"text": "Back",
|
|
181
|
+
"data-reg-back": "",
|
|
182
|
+
"children": [
|
|
183
|
+
"text-3"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "button",
|
|
188
|
+
"component": "Button",
|
|
189
|
+
"type": "submit",
|
|
190
|
+
"text": "Continue",
|
|
191
|
+
"variant": "primary"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "column-3",
|
|
195
|
+
"component": "Column",
|
|
196
|
+
"data-reg-actions": "",
|
|
197
|
+
"children": [
|
|
198
|
+
"link",
|
|
199
|
+
"button"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "footer-2",
|
|
204
|
+
"component": "Footer",
|
|
205
|
+
"children": [
|
|
206
|
+
"column-2",
|
|
207
|
+
"column-3"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "footer",
|
|
212
|
+
"component": "Footer",
|
|
213
|
+
"children": [
|
|
214
|
+
"footer-2"
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "root",
|
|
219
|
+
"component": "FormContainer",
|
|
220
|
+
"data-reg-input": "",
|
|
221
|
+
"children": [
|
|
222
|
+
"header",
|
|
223
|
+
"use-case",
|
|
224
|
+
"footer"
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|