twntyx-css 1.0.0
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/README.md +105 -0
- package/llm/CHANGELOG.md +7 -0
- package/llm/components/ai-background.json +90 -0
- package/llm/components/ai-orb.json +91 -0
- package/llm/components/ai-perl.json +91 -0
- package/llm/components/all-components.json +104 -0
- package/llm/components/animation-references.json +84 -0
- package/llm/components/avatar.json +149 -0
- package/llm/components/badge.json +263 -0
- package/llm/components/banner-marketplace.json +81 -0
- package/llm/components/banner.json +120 -0
- package/llm/components/breadcrumb.json +169 -0
- package/llm/components/button-container.json +150 -0
- package/llm/components/button-feedback.json +155 -0
- package/llm/components/button.json +290 -0
- package/llm/components/card-assessment.json +93 -0
- package/llm/components/card-test.json +83 -0
- package/llm/components/card.json +94 -0
- package/llm/components/chat.json +155 -0
- package/llm/components/checkbox.json +186 -0
- package/llm/components/checkmark.json +175 -0
- package/llm/components/collapsible.json +100 -0
- package/llm/components/color-palette.json +79 -0
- package/llm/components/color-usage.json +83 -0
- package/llm/components/combobox.json +143 -0
- package/llm/components/command-palette.json +159 -0
- package/llm/components/countdown.json +113 -0
- package/llm/components/datepicker.json +151 -0
- package/llm/components/divider.json +104 -0
- package/llm/components/empty-state.json +80 -0
- package/llm/components/field.json +123 -0
- package/llm/components/fieldset.json +78 -0
- package/llm/components/file-upload.json +163 -0
- package/llm/components/form-example.json +82 -0
- package/llm/components/getting-started.json +70 -0
- package/llm/components/icons-reference.json +78 -0
- package/llm/components/illustrations-library.json +78 -0
- package/llm/components/input-group.json +94 -0
- package/llm/components/introduction.json +71 -0
- package/llm/components/join.json +105 -0
- package/llm/components/kbd.json +139 -0
- package/llm/components/key-value.json +86 -0
- package/llm/components/link.json +120 -0
- package/llm/components/loader.json +117 -0
- package/llm/components/logotype.json +75 -0
- package/llm/components/menu.json +192 -0
- package/llm/components/modal.json +167 -0
- package/llm/components/navbar.json +158 -0
- package/llm/components/pagination.json +122 -0
- package/llm/components/pie-chart.json +94 -0
- package/llm/components/popover.json +174 -0
- package/llm/components/progress-bullet.json +203 -0
- package/llm/components/progress-linear.json +129 -0
- package/llm/components/progress-radial.json +125 -0
- package/llm/components/radio.json +162 -0
- package/llm/components/range-slider.json +125 -0
- package/llm/components/scrollbar.json +96 -0
- package/llm/components/select-input.json +224 -0
- package/llm/components/shadows.json +107 -0
- package/llm/components/skeleton.json +84 -0
- package/llm/components/stacked-chart.json +100 -0
- package/llm/components/state.json +138 -0
- package/llm/components/stepper.json +95 -0
- package/llm/components/steps.json +177 -0
- package/llm/components/surface.json +181 -0
- package/llm/components/table.json +223 -0
- package/llm/components/tabs.json +147 -0
- package/llm/components/template-ai.json +80 -0
- package/llm/components/template-login.json +88 -0
- package/llm/components/template-stats.json +76 -0
- package/llm/components/text-input.json +275 -0
- package/llm/components/textarea.json +183 -0
- package/llm/components/timeline.json +142 -0
- package/llm/components/toast.json +164 -0
- package/llm/components/toggle.json +158 -0
- package/llm/components/tool-svg-to-base64.json +78 -0
- package/llm/components/tool-svg-to-icon-data.json +81 -0
- package/llm/components/tooltip.json +90 -0
- package/llm/examples/ai-background.html +1 -0
- package/llm/examples/ai-orb.html +1 -0
- package/llm/examples/ai-perl.html +1 -0
- package/llm/examples/all-components.html +1 -0
- package/llm/examples/animation-references.html +1 -0
- package/llm/examples/avatar.html +1 -0
- package/llm/examples/badge.html +1 -0
- package/llm/examples/banner-marketplace.html +1 -0
- package/llm/examples/banner.html +1 -0
- package/llm/examples/breadcrumb.html +1 -0
- package/llm/examples/button-container.html +1 -0
- package/llm/examples/button-feedback.html +1 -0
- package/llm/examples/button.html +3 -0
- package/llm/examples/card-assessment.html +1 -0
- package/llm/examples/card-test.html +1 -0
- package/llm/examples/card.html +1 -0
- package/llm/examples/chat.html +1 -0
- package/llm/examples/checkbox.html +1 -0
- package/llm/examples/checkmark.html +1 -0
- package/llm/examples/collapsible.html +1 -0
- package/llm/examples/color-palette.html +1 -0
- package/llm/examples/color-usage.html +1 -0
- package/llm/examples/combobox.html +1 -0
- package/llm/examples/command-palette.html +1 -0
- package/llm/examples/countdown.html +1 -0
- package/llm/examples/datepicker.html +1 -0
- package/llm/examples/divider.html +1 -0
- package/llm/examples/empty-state.html +1 -0
- package/llm/examples/field.html +1 -0
- package/llm/examples/fieldset.html +1 -0
- package/llm/examples/file-upload.html +1 -0
- package/llm/examples/form-example.html +1 -0
- package/llm/examples/getting-started.html +1 -0
- package/llm/examples/icons-reference.html +1 -0
- package/llm/examples/illustrations-library.html +1 -0
- package/llm/examples/input-group.html +1 -0
- package/llm/examples/introduction.html +1 -0
- package/llm/examples/join.html +1 -0
- package/llm/examples/kbd.html +1 -0
- package/llm/examples/key-value.html +1 -0
- package/llm/examples/link.html +1 -0
- package/llm/examples/loader.html +1 -0
- package/llm/examples/logotype.html +1 -0
- package/llm/examples/menu.html +1 -0
- package/llm/examples/modal.html +16 -0
- package/llm/examples/navbar.html +1 -0
- package/llm/examples/pagination.html +1 -0
- package/llm/examples/pie-chart.html +1 -0
- package/llm/examples/popover.html +1 -0
- package/llm/examples/progress-bullet.html +1 -0
- package/llm/examples/progress-linear.html +1 -0
- package/llm/examples/progress-radial.html +1 -0
- package/llm/examples/radio.html +1 -0
- package/llm/examples/range-slider.html +1 -0
- package/llm/examples/scrollbar.html +1 -0
- package/llm/examples/select-input.html +1 -0
- package/llm/examples/shadows.html +1 -0
- package/llm/examples/skeleton.html +1 -0
- package/llm/examples/stacked-chart.html +1 -0
- package/llm/examples/state.html +1 -0
- package/llm/examples/stepper.html +1 -0
- package/llm/examples/steps.html +1 -0
- package/llm/examples/surface.html +1 -0
- package/llm/examples/table.html +16 -0
- package/llm/examples/tabs.html +1 -0
- package/llm/examples/template-ai.html +1 -0
- package/llm/examples/template-login.html +1 -0
- package/llm/examples/template-stats.html +1 -0
- package/llm/examples/text-input.html +10 -0
- package/llm/examples/textarea.html +1 -0
- package/llm/examples/timeline.html +1 -0
- package/llm/examples/toast.html +5 -0
- package/llm/examples/toggle.html +1 -0
- package/llm/examples/tool-svg-to-base64.html +1 -0
- package/llm/examples/tool-svg-to-icon-data.html +1 -0
- package/llm/examples/tooltip.html +1 -0
- package/llm/index.json +1615 -0
- package/llm/llms.txt +18 -0
- package/llm/patterns.json +111 -0
- package/llm/rules.json +47 -0
- package/llm/schema.json +804 -0
- package/llm/tokens.json +3629 -0
- package/package.json +30 -0
- package/styles/ai.css +114 -0
- package/styles/animation.css +2493 -0
- package/styles/avatar.css +101 -0
- package/styles/background-ai.css +118 -0
- package/styles/badge.css +274 -0
- package/styles/banner.css +98 -0
- package/styles/breadcrumb.css +72 -0
- package/styles/button.css +621 -0
- package/styles/card.css +27 -0
- package/styles/chart-pie.css +39 -0
- package/styles/chart-stacked.css +91 -0
- package/styles/chat.css +506 -0
- package/styles/checkmark.css +105 -0
- package/styles/code.css +264 -0
- package/styles/collapsible.css +93 -0
- package/styles/colors.css +536 -0
- package/styles/combobox.css +66 -0
- package/styles/command.css +81 -0
- package/styles/contest.css +227 -0
- package/styles/countdown.css +65 -0
- package/styles/datepicker.css +124 -0
- package/styles/divider.css +72 -0
- package/styles/drawer.css +142 -0
- package/styles/dropdown.css +22 -0
- package/styles/empty-state.css +48 -0
- package/styles/field.css +47 -0
- package/styles/fieldset.css +24 -0
- package/styles/form-checkbox-radio-toggle.css +233 -0
- package/styles/form-fileupload.css +146 -0
- package/styles/form-rangeslider.css +106 -0
- package/styles/form-shared.css +41 -0
- package/styles/form-text-select.css +411 -0
- package/styles/form.css +86 -0
- package/styles/globals.css +66 -0
- package/styles/input-group.css +63 -0
- package/styles/join.css +141 -0
- package/styles/kbd.css +55 -0
- package/styles/key-value.css +44 -0
- package/styles/link.css +48 -0
- package/styles/loader.css +183 -0
- package/styles/logotype.css +13 -0
- package/styles/menu.css +317 -0
- package/styles/modal.css +172 -0
- package/styles/navbar.css +48 -0
- package/styles/package-quill.css +1001 -0
- package/styles/pagination.css +147 -0
- package/styles/panel.css +113 -0
- package/styles/popover.css +303 -0
- package/styles/prism.css +60 -0
- package/styles/progress.css +209 -0
- package/styles/scrollbar.css +17 -0
- package/styles/shadow.css +25 -0
- package/styles/shared.css +226 -0
- package/styles/skeleton.css +34 -0
- package/styles/state.css +150 -0
- package/styles/stepper.css +72 -0
- package/styles/steps.css +98 -0
- package/styles/surface.css +252 -0
- package/styles/tab.css +286 -0
- package/styles/table.css +243 -0
- package/styles/theme.css +126 -0
- package/styles/timeline.css +193 -0
- package/styles/toast.css +150 -0
- package/styles/tooltip.css +8 -0
- package/styles/typography.css +160 -0
- package/styles/utility.css +20 -0
- package/tailwind.config.cjs +9 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "progress-bullet",
|
|
3
|
+
"name": "Bullet progress",
|
|
4
|
+
"status": "stable",
|
|
5
|
+
"summary": "Bullet progress indicator for displaying completion steps.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"bullet",
|
|
8
|
+
"checkpoint",
|
|
9
|
+
"completion",
|
|
10
|
+
"dots",
|
|
11
|
+
"indicator",
|
|
12
|
+
"journey",
|
|
13
|
+
"marker",
|
|
14
|
+
"milestone",
|
|
15
|
+
"navigation",
|
|
16
|
+
"path",
|
|
17
|
+
"phase",
|
|
18
|
+
"point",
|
|
19
|
+
"progress",
|
|
20
|
+
"progress bullet",
|
|
21
|
+
"progress-bullet",
|
|
22
|
+
"sequence",
|
|
23
|
+
"stage",
|
|
24
|
+
"stepper",
|
|
25
|
+
"steps",
|
|
26
|
+
"tracker",
|
|
27
|
+
"wizard"
|
|
28
|
+
],
|
|
29
|
+
"sourcePaths": [
|
|
30
|
+
"app/design-system/progress-bullet/page.js",
|
|
31
|
+
"assets/styles/breadcrumb.css",
|
|
32
|
+
"assets/styles/button.css",
|
|
33
|
+
"assets/styles/chat.css",
|
|
34
|
+
"assets/styles/checkmark.css",
|
|
35
|
+
"assets/styles/command.css",
|
|
36
|
+
"assets/styles/form-text-select.css",
|
|
37
|
+
"assets/styles/menu.css",
|
|
38
|
+
"assets/styles/navbar.css",
|
|
39
|
+
"assets/styles/pagination.css",
|
|
40
|
+
"assets/styles/progress.css",
|
|
41
|
+
"assets/styles/steps.css",
|
|
42
|
+
"assets/styles/tab.css",
|
|
43
|
+
"assets/styles/table.css",
|
|
44
|
+
"assets/styles/toast.css"
|
|
45
|
+
],
|
|
46
|
+
"apiModel": "html-class",
|
|
47
|
+
"baseClass": "progress-bullet",
|
|
48
|
+
"variants": [
|
|
49
|
+
{
|
|
50
|
+
"name": "progress-full",
|
|
51
|
+
"className": "progress-full",
|
|
52
|
+
"description": "Makes bullets take full width"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"sizes": [
|
|
56
|
+
{
|
|
57
|
+
"name": "progress-xs",
|
|
58
|
+
"className": "progress-xs",
|
|
59
|
+
"description": "Extra small size variant (4px)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "progress-sm",
|
|
63
|
+
"className": "progress-sm",
|
|
64
|
+
"description": "Small size variant (6px)"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "progress-md",
|
|
68
|
+
"className": "progress-md",
|
|
69
|
+
"description": "Medium size variant (8px)"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "progress-lg",
|
|
73
|
+
"className": "progress-lg",
|
|
74
|
+
"description": "Large size variant (10px)"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "progress-xl",
|
|
78
|
+
"className": "progress-xl",
|
|
79
|
+
"description": "Extra large size variant (12px)"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"states": [
|
|
83
|
+
{
|
|
84
|
+
"name": "is-active",
|
|
85
|
+
"className": "is-active",
|
|
86
|
+
"description": "Marks a bullet as active/complete"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"structure": {
|
|
90
|
+
"rootElement": "div",
|
|
91
|
+
"requiredClasses": [
|
|
92
|
+
"progress-bullet"
|
|
93
|
+
],
|
|
94
|
+
"optionalClasses": [
|
|
95
|
+
"progress-full",
|
|
96
|
+
"progress-xs",
|
|
97
|
+
"progress-sm",
|
|
98
|
+
"progress-md",
|
|
99
|
+
"progress-lg",
|
|
100
|
+
"progress-xl",
|
|
101
|
+
"is-active"
|
|
102
|
+
],
|
|
103
|
+
"requiredChildren": [],
|
|
104
|
+
"optionalChildren": []
|
|
105
|
+
},
|
|
106
|
+
"attributes": {
|
|
107
|
+
"allowed": [
|
|
108
|
+
"class"
|
|
109
|
+
],
|
|
110
|
+
"required": [],
|
|
111
|
+
"dataAttributes": [],
|
|
112
|
+
"roles": [],
|
|
113
|
+
"aria": []
|
|
114
|
+
},
|
|
115
|
+
"a11y": {
|
|
116
|
+
"interactive": false,
|
|
117
|
+
"requiredRoles": [],
|
|
118
|
+
"requiredAria": [],
|
|
119
|
+
"keyboardSupport": [],
|
|
120
|
+
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
121
|
+
},
|
|
122
|
+
"dos": [
|
|
123
|
+
"Apply the base class 'progress-bullet' on the root element.",
|
|
124
|
+
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
125
|
+
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
126
|
+
],
|
|
127
|
+
"donts": [
|
|
128
|
+
"Do not combine conflicting state classes on the same element.",
|
|
129
|
+
"Do not rely on undocumented internal classes in production templates.",
|
|
130
|
+
"Do not remove required accessibility attributes when component is interactive."
|
|
131
|
+
],
|
|
132
|
+
"tokenUsage": [
|
|
133
|
+
"background-brand",
|
|
134
|
+
"background-brand-active",
|
|
135
|
+
"background-error",
|
|
136
|
+
"background-error-active",
|
|
137
|
+
"background-info",
|
|
138
|
+
"background-info-active",
|
|
139
|
+
"background-inverted",
|
|
140
|
+
"background-page",
|
|
141
|
+
"background-success",
|
|
142
|
+
"background-success-active",
|
|
143
|
+
"background-surface",
|
|
144
|
+
"background-surface-elevated",
|
|
145
|
+
"background-surface-sunken",
|
|
146
|
+
"background-warning",
|
|
147
|
+
"background-warning-active",
|
|
148
|
+
"brand-default",
|
|
149
|
+
"brand-moderate",
|
|
150
|
+
"brand-strong",
|
|
151
|
+
"core-black",
|
|
152
|
+
"core-ui-100",
|
|
153
|
+
"core-ui-300",
|
|
154
|
+
"core-ui-400",
|
|
155
|
+
"core-ui-50",
|
|
156
|
+
"core-ui-600",
|
|
157
|
+
"core-ui-700",
|
|
158
|
+
"core-ui-800",
|
|
159
|
+
"core-ui-900",
|
|
160
|
+
"core-white",
|
|
161
|
+
"line-brand",
|
|
162
|
+
"line-default",
|
|
163
|
+
"line-error",
|
|
164
|
+
"line-focus",
|
|
165
|
+
"line-highlight",
|
|
166
|
+
"line-info",
|
|
167
|
+
"line-strong",
|
|
168
|
+
"line-success",
|
|
169
|
+
"line-warning",
|
|
170
|
+
"text-attention",
|
|
171
|
+
"text-brand",
|
|
172
|
+
"text-brand-active",
|
|
173
|
+
"text-brand-hover",
|
|
174
|
+
"text-default",
|
|
175
|
+
"text-disabled",
|
|
176
|
+
"text-error",
|
|
177
|
+
"text-info",
|
|
178
|
+
"text-inverted",
|
|
179
|
+
"text-link",
|
|
180
|
+
"text-link-active",
|
|
181
|
+
"text-link-hover",
|
|
182
|
+
"text-secondary",
|
|
183
|
+
"text-success",
|
|
184
|
+
"text-tertiary",
|
|
185
|
+
"text-warning"
|
|
186
|
+
],
|
|
187
|
+
"examples": [
|
|
188
|
+
{
|
|
189
|
+
"id": "canonical",
|
|
190
|
+
"file": "examples/progress-bullet.html",
|
|
191
|
+
"description": "Minimal canonical Bullet progress usage."
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"composition": {
|
|
195
|
+
"patterns": [],
|
|
196
|
+
"relatedComponents": [],
|
|
197
|
+
"notes": []
|
|
198
|
+
},
|
|
199
|
+
"breakingChangePolicy": {
|
|
200
|
+
"classContract": "Base class, documented modifiers, and state class names are semver-protected for consumer markup.",
|
|
201
|
+
"a11yContract": "Documented role and aria requirements are semver-protected for generated markup."
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "progress-linear",
|
|
3
|
+
"name": "Linear progress",
|
|
4
|
+
"status": "stable",
|
|
5
|
+
"summary": "Linear progress bar for displaying completion percentages.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"advancement",
|
|
8
|
+
"amount",
|
|
9
|
+
"bar",
|
|
10
|
+
"completion",
|
|
11
|
+
"degree",
|
|
12
|
+
"gauge",
|
|
13
|
+
"indicator",
|
|
14
|
+
"level",
|
|
15
|
+
"linear",
|
|
16
|
+
"loading",
|
|
17
|
+
"measurement",
|
|
18
|
+
"meter",
|
|
19
|
+
"percentage",
|
|
20
|
+
"progress",
|
|
21
|
+
"progress linear",
|
|
22
|
+
"progress-linear",
|
|
23
|
+
"progression",
|
|
24
|
+
"quantity",
|
|
25
|
+
"rate",
|
|
26
|
+
"status",
|
|
27
|
+
"tracker"
|
|
28
|
+
],
|
|
29
|
+
"sourcePaths": [
|
|
30
|
+
"app/design-system/progress-linear/page.js",
|
|
31
|
+
"assets/styles/progress.css"
|
|
32
|
+
],
|
|
33
|
+
"apiModel": "html-class",
|
|
34
|
+
"baseClass": "progress-linear",
|
|
35
|
+
"variants": [],
|
|
36
|
+
"sizes": [
|
|
37
|
+
{
|
|
38
|
+
"name": "progress-xs",
|
|
39
|
+
"className": "progress-xs",
|
|
40
|
+
"description": "Extra small size variant (4px)"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "progress-sm",
|
|
44
|
+
"className": "progress-sm",
|
|
45
|
+
"description": "Small size variant (6px)"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "progress-md",
|
|
49
|
+
"className": "progress-md",
|
|
50
|
+
"description": "Medium size variant (8px)"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "progress-lg",
|
|
54
|
+
"className": "progress-lg",
|
|
55
|
+
"description": "Large size variant (10px)"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "progress-xl",
|
|
59
|
+
"className": "progress-xl",
|
|
60
|
+
"description": "Extra large size variant (12px)"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"states": [],
|
|
64
|
+
"structure": {
|
|
65
|
+
"rootElement": "div",
|
|
66
|
+
"requiredClasses": [
|
|
67
|
+
"progress-linear"
|
|
68
|
+
],
|
|
69
|
+
"optionalClasses": [
|
|
70
|
+
"progress-xs",
|
|
71
|
+
"progress-sm",
|
|
72
|
+
"progress-md",
|
|
73
|
+
"progress-lg",
|
|
74
|
+
"progress-xl"
|
|
75
|
+
],
|
|
76
|
+
"requiredChildren": [],
|
|
77
|
+
"optionalChildren": []
|
|
78
|
+
},
|
|
79
|
+
"attributes": {
|
|
80
|
+
"allowed": [
|
|
81
|
+
"class"
|
|
82
|
+
],
|
|
83
|
+
"required": [],
|
|
84
|
+
"dataAttributes": [],
|
|
85
|
+
"roles": [],
|
|
86
|
+
"aria": []
|
|
87
|
+
},
|
|
88
|
+
"a11y": {
|
|
89
|
+
"interactive": false,
|
|
90
|
+
"requiredRoles": [],
|
|
91
|
+
"requiredAria": [],
|
|
92
|
+
"keyboardSupport": [],
|
|
93
|
+
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
94
|
+
},
|
|
95
|
+
"dos": [
|
|
96
|
+
"Apply the base class 'progress-linear' on the root element.",
|
|
97
|
+
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
98
|
+
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
99
|
+
],
|
|
100
|
+
"donts": [
|
|
101
|
+
"Do not combine conflicting state classes on the same element.",
|
|
102
|
+
"Do not rely on undocumented internal classes in production templates.",
|
|
103
|
+
"Do not remove required accessibility attributes when component is interactive."
|
|
104
|
+
],
|
|
105
|
+
"tokenUsage": [
|
|
106
|
+
"background-brand",
|
|
107
|
+
"background-surface",
|
|
108
|
+
"brand-default",
|
|
109
|
+
"line-highlight",
|
|
110
|
+
"text-default",
|
|
111
|
+
"text-tertiary"
|
|
112
|
+
],
|
|
113
|
+
"examples": [
|
|
114
|
+
{
|
|
115
|
+
"id": "canonical",
|
|
116
|
+
"file": "examples/progress-linear.html",
|
|
117
|
+
"description": "Minimal canonical Linear progress usage."
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"composition": {
|
|
121
|
+
"patterns": [],
|
|
122
|
+
"relatedComponents": [],
|
|
123
|
+
"notes": []
|
|
124
|
+
},
|
|
125
|
+
"breakingChangePolicy": {
|
|
126
|
+
"classContract": "Base class, documented modifiers, and state class names are semver-protected for consumer markup.",
|
|
127
|
+
"a11yContract": "Documented role and aria requirements are semver-protected for generated markup."
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "progress-radial",
|
|
3
|
+
"name": "Radial progress",
|
|
4
|
+
"status": "stable",
|
|
5
|
+
"summary": "Radial progress indicator for displaying completion percentages.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"chart",
|
|
8
|
+
"circle",
|
|
9
|
+
"circular",
|
|
10
|
+
"completion",
|
|
11
|
+
"dial",
|
|
12
|
+
"gauge",
|
|
13
|
+
"indicator",
|
|
14
|
+
"loading",
|
|
15
|
+
"meter",
|
|
16
|
+
"percentage",
|
|
17
|
+
"progress",
|
|
18
|
+
"progress radial",
|
|
19
|
+
"progress-radial",
|
|
20
|
+
"radial",
|
|
21
|
+
"round",
|
|
22
|
+
"spinner",
|
|
23
|
+
"status"
|
|
24
|
+
],
|
|
25
|
+
"sourcePaths": [
|
|
26
|
+
"app/design-system/progress-radial/page.js",
|
|
27
|
+
"assets/styles/progress.css"
|
|
28
|
+
],
|
|
29
|
+
"apiModel": "html-class",
|
|
30
|
+
"baseClass": "progress-radial",
|
|
31
|
+
"variants": [],
|
|
32
|
+
"sizes": [
|
|
33
|
+
{
|
|
34
|
+
"name": "progress-xs",
|
|
35
|
+
"className": "progress-xs",
|
|
36
|
+
"description": "Extra small size variant"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "progress-sm",
|
|
40
|
+
"className": "progress-sm",
|
|
41
|
+
"description": "Small size variant"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "progress-md",
|
|
45
|
+
"className": "progress-md",
|
|
46
|
+
"description": "Medium size variant (default)"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "progress-lg",
|
|
50
|
+
"className": "progress-lg",
|
|
51
|
+
"description": "Large size variant"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "progress-xl",
|
|
55
|
+
"className": "progress-xl",
|
|
56
|
+
"description": "Extra large size variant"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"states": [],
|
|
60
|
+
"structure": {
|
|
61
|
+
"rootElement": "div",
|
|
62
|
+
"requiredClasses": [
|
|
63
|
+
"progress-radial"
|
|
64
|
+
],
|
|
65
|
+
"optionalClasses": [
|
|
66
|
+
"progress-xs",
|
|
67
|
+
"progress-sm",
|
|
68
|
+
"progress-md",
|
|
69
|
+
"progress-lg",
|
|
70
|
+
"progress-xl"
|
|
71
|
+
],
|
|
72
|
+
"requiredChildren": [],
|
|
73
|
+
"optionalChildren": []
|
|
74
|
+
},
|
|
75
|
+
"attributes": {
|
|
76
|
+
"allowed": [
|
|
77
|
+
"class"
|
|
78
|
+
],
|
|
79
|
+
"required": [],
|
|
80
|
+
"dataAttributes": [],
|
|
81
|
+
"roles": [],
|
|
82
|
+
"aria": []
|
|
83
|
+
},
|
|
84
|
+
"a11y": {
|
|
85
|
+
"interactive": false,
|
|
86
|
+
"requiredRoles": [],
|
|
87
|
+
"requiredAria": [],
|
|
88
|
+
"keyboardSupport": [],
|
|
89
|
+
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
90
|
+
},
|
|
91
|
+
"dos": [
|
|
92
|
+
"Apply the base class 'progress-radial' on the root element.",
|
|
93
|
+
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
94
|
+
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
95
|
+
],
|
|
96
|
+
"donts": [
|
|
97
|
+
"Do not combine conflicting state classes on the same element.",
|
|
98
|
+
"Do not rely on undocumented internal classes in production templates.",
|
|
99
|
+
"Do not remove required accessibility attributes when component is interactive."
|
|
100
|
+
],
|
|
101
|
+
"tokenUsage": [
|
|
102
|
+
"background-brand",
|
|
103
|
+
"background-surface",
|
|
104
|
+
"brand-default",
|
|
105
|
+
"line-highlight",
|
|
106
|
+
"text-default",
|
|
107
|
+
"text-tertiary"
|
|
108
|
+
],
|
|
109
|
+
"examples": [
|
|
110
|
+
{
|
|
111
|
+
"id": "canonical",
|
|
112
|
+
"file": "examples/progress-radial.html",
|
|
113
|
+
"description": "Minimal canonical Radial progress usage."
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"composition": {
|
|
117
|
+
"patterns": [],
|
|
118
|
+
"relatedComponents": [],
|
|
119
|
+
"notes": []
|
|
120
|
+
},
|
|
121
|
+
"breakingChangePolicy": {
|
|
122
|
+
"classContract": "Base class, documented modifiers, and state class names are semver-protected for consumer markup.",
|
|
123
|
+
"a11yContract": "Documented role and aria requirements are semver-protected for generated markup."
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "radio",
|
|
3
|
+
"name": "Radio",
|
|
4
|
+
"status": "stable",
|
|
5
|
+
"summary": "Radio input component for single selection from multiple options.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"button",
|
|
8
|
+
"choose",
|
|
9
|
+
"control",
|
|
10
|
+
"exclusive",
|
|
11
|
+
"field",
|
|
12
|
+
"form",
|
|
13
|
+
"input",
|
|
14
|
+
"option",
|
|
15
|
+
"radio",
|
|
16
|
+
"select",
|
|
17
|
+
"selection",
|
|
18
|
+
"single choice"
|
|
19
|
+
],
|
|
20
|
+
"sourcePaths": [
|
|
21
|
+
"app/design-system/radio/page.js",
|
|
22
|
+
"assets/styles/chat.css",
|
|
23
|
+
"assets/styles/field.css",
|
|
24
|
+
"assets/styles/form-checkbox-radio-toggle.css",
|
|
25
|
+
"assets/styles/form-shared.css",
|
|
26
|
+
"assets/styles/form-text-select.css",
|
|
27
|
+
"assets/styles/input-group.css",
|
|
28
|
+
"assets/styles/shared.css"
|
|
29
|
+
],
|
|
30
|
+
"apiModel": "html-class",
|
|
31
|
+
"baseClass": "radio",
|
|
32
|
+
"variants": [
|
|
33
|
+
{
|
|
34
|
+
"name": "input-card",
|
|
35
|
+
"className": "input-card",
|
|
36
|
+
"description": "Card style for radio group items"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"sizes": [
|
|
40
|
+
{
|
|
41
|
+
"name": "radio-sm",
|
|
42
|
+
"className": "radio-sm",
|
|
43
|
+
"description": "Small radio size variant"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "radio-lg",
|
|
47
|
+
"className": "radio-lg",
|
|
48
|
+
"description": "Large radio size variant"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"states": [],
|
|
52
|
+
"structure": {
|
|
53
|
+
"rootElement": "input",
|
|
54
|
+
"requiredClasses": [
|
|
55
|
+
"radio"
|
|
56
|
+
],
|
|
57
|
+
"optionalClasses": [
|
|
58
|
+
"input-card",
|
|
59
|
+
"radio-sm",
|
|
60
|
+
"radio-lg"
|
|
61
|
+
],
|
|
62
|
+
"requiredChildren": [],
|
|
63
|
+
"optionalChildren": []
|
|
64
|
+
},
|
|
65
|
+
"attributes": {
|
|
66
|
+
"allowed": [
|
|
67
|
+
"class",
|
|
68
|
+
"id",
|
|
69
|
+
"tabindex"
|
|
70
|
+
],
|
|
71
|
+
"required": [],
|
|
72
|
+
"dataAttributes": [],
|
|
73
|
+
"roles": [],
|
|
74
|
+
"aria": []
|
|
75
|
+
},
|
|
76
|
+
"a11y": {
|
|
77
|
+
"interactive": true,
|
|
78
|
+
"requiredRoles": [],
|
|
79
|
+
"requiredAria": [
|
|
80
|
+
"aria-label (when no visible label)"
|
|
81
|
+
],
|
|
82
|
+
"keyboardSupport": [
|
|
83
|
+
"Tab",
|
|
84
|
+
"Shift+Tab",
|
|
85
|
+
"Enter",
|
|
86
|
+
"Space"
|
|
87
|
+
],
|
|
88
|
+
"focusBehavior": "Visible focus state is required when the component is focusable or clickable."
|
|
89
|
+
},
|
|
90
|
+
"dos": [
|
|
91
|
+
"Apply the base class 'radio' on the root element.",
|
|
92
|
+
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
93
|
+
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
94
|
+
],
|
|
95
|
+
"donts": [
|
|
96
|
+
"Do not combine conflicting state classes on the same element.",
|
|
97
|
+
"Do not rely on undocumented internal classes in production templates.",
|
|
98
|
+
"Do not remove required accessibility attributes when component is interactive."
|
|
99
|
+
],
|
|
100
|
+
"tokenUsage": [
|
|
101
|
+
"background-brand",
|
|
102
|
+
"background-error",
|
|
103
|
+
"background-info",
|
|
104
|
+
"background-page",
|
|
105
|
+
"background-success",
|
|
106
|
+
"background-surface",
|
|
107
|
+
"background-surface-elevated",
|
|
108
|
+
"background-surface-sunken",
|
|
109
|
+
"background-warning",
|
|
110
|
+
"brand-default",
|
|
111
|
+
"brand-moderate",
|
|
112
|
+
"brand-strong",
|
|
113
|
+
"core-black",
|
|
114
|
+
"core-ui-100",
|
|
115
|
+
"core-ui-300",
|
|
116
|
+
"core-ui-400",
|
|
117
|
+
"core-ui-50",
|
|
118
|
+
"core-ui-500",
|
|
119
|
+
"core-ui-700",
|
|
120
|
+
"core-ui-800",
|
|
121
|
+
"core-ui-900",
|
|
122
|
+
"core-white",
|
|
123
|
+
"line-brand",
|
|
124
|
+
"line-default",
|
|
125
|
+
"line-error",
|
|
126
|
+
"line-focus",
|
|
127
|
+
"line-highlight",
|
|
128
|
+
"line-info",
|
|
129
|
+
"line-strong",
|
|
130
|
+
"line-success",
|
|
131
|
+
"line-warning",
|
|
132
|
+
"text-default",
|
|
133
|
+
"text-disabled",
|
|
134
|
+
"text-error",
|
|
135
|
+
"text-info",
|
|
136
|
+
"text-inverted",
|
|
137
|
+
"text-link",
|
|
138
|
+
"text-link-hover",
|
|
139
|
+
"text-secondary",
|
|
140
|
+
"text-success",
|
|
141
|
+
"text-tertiary",
|
|
142
|
+
"text-warning"
|
|
143
|
+
],
|
|
144
|
+
"examples": [
|
|
145
|
+
{
|
|
146
|
+
"id": "canonical",
|
|
147
|
+
"file": "examples/radio.html",
|
|
148
|
+
"description": "Minimal canonical Radio usage."
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"composition": {
|
|
152
|
+
"patterns": [
|
|
153
|
+
"form-field-composition"
|
|
154
|
+
],
|
|
155
|
+
"relatedComponents": [],
|
|
156
|
+
"notes": []
|
|
157
|
+
},
|
|
158
|
+
"breakingChangePolicy": {
|
|
159
|
+
"classContract": "Base class, documented modifiers, and state class names are semver-protected for consumer markup.",
|
|
160
|
+
"a11yContract": "Documented role and aria requirements are semver-protected for generated markup."
|
|
161
|
+
}
|
|
162
|
+
}
|