@adobe/spectrum-design-data 0.0.1 → 0.2.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/LICENSE +201 -0
- package/components/accordion.json +557 -0
- package/components/action-bar.json +214 -0
- package/components/action-button.json +522 -0
- package/components/action-group.json +134 -0
- package/components/alert-banner.json +134 -0
- package/components/alert-dialog.json +180 -0
- package/components/avatar-group.json +166 -0
- package/components/avatar.json +246 -0
- package/components/badge.json +594 -0
- package/components/body.json +54 -0
- package/components/bottom-navigation-android.json +72 -0
- package/components/breadcrumbs.json +307 -0
- package/components/button-group.json +86 -0
- package/components/button.json +586 -0
- package/components/calendar.json +133 -0
- package/components/cards.json +541 -0
- package/components/checkbox-group.json +91 -0
- package/components/checkbox.json +339 -0
- package/components/close-button.json +208 -0
- package/components/coach-indicator.json +105 -0
- package/components/coach-mark.json +169 -0
- package/components/code.json +44 -0
- package/components/color-area.json +138 -0
- package/components/color-handle.json +111 -0
- package/components/color-loupe.json +77 -0
- package/components/color-slider.json +165 -0
- package/components/color-wheel.json +117 -0
- package/components/combo-box.json +543 -0
- package/components/contextual-help.json +230 -0
- package/components/date-picker.json +471 -0
- package/components/detail.json +53 -0
- package/components/divider.json +93 -0
- package/components/drop-zone.json +238 -0
- package/components/field-label.json +219 -0
- package/components/heading.json +68 -0
- package/components/help-text.json +209 -0
- package/components/illustrated-message.json +175 -0
- package/components/in-field-progress-button.json +88 -0
- package/components/in-field-progress-circle.json +116 -0
- package/components/in-line-alert.json +233 -0
- package/components/link.json +167 -0
- package/components/list-view.json +382 -0
- package/components/menu.json +597 -0
- package/components/meter.json +199 -0
- package/components/number-field.json +518 -0
- package/components/opacity-checkerboard.json +69 -0
- package/components/picker.json +579 -0
- package/components/popover.json +174 -0
- package/components/progress-bar.json +229 -0
- package/components/progress-circle.json +132 -0
- package/components/radio-button.json +308 -0
- package/components/radio-group.json +113 -0
- package/components/rating.json +168 -0
- package/components/scroll-zoom-bar.json +82 -0
- package/components/search-field.json +346 -0
- package/components/segmented-control.json +248 -0
- package/components/select-box.json +272 -0
- package/components/side-navigation.json +320 -0
- package/components/slider.json +407 -0
- package/components/standard-dialog.json +179 -0
- package/components/standard-panel.json +83 -0
- package/components/status-light.json +334 -0
- package/components/steplist.json +294 -0
- package/components/swatch-group.json +114 -0
- package/components/swatch.json +240 -0
- package/components/switch.json +336 -0
- package/components/tab-bar-ios.json +72 -0
- package/components/table.json +435 -0
- package/components/tabs.json +253 -0
- package/components/tag-field.json +243 -0
- package/components/tag-group.json +87 -0
- package/components/tag.json +393 -0
- package/components/takeover-dialog.json +117 -0
- package/components/text-area.json +555 -0
- package/components/text-field.json +555 -0
- package/components/thumbnail.json +149 -0
- package/components/title.json +91 -0
- package/components/toast.json +156 -0
- package/components/tooltip.json +179 -0
- package/components/tray.json +32 -0
- package/components/tree-view.json +393 -0
- package/fields/alignment.json +15 -0
- package/fields/anatomy.json +15 -0
- package/fields/color-scheme.json +15 -0
- package/fields/colorFamily.json +15 -0
- package/fields/component.json +15 -0
- package/fields/contrast.json +15 -0
- package/fields/density.json +15 -0
- package/fields/easing.json +15 -0
- package/fields/family.json +15 -0
- package/fields/motionRole.json +15 -0
- package/fields/object.json +15 -0
- package/fields/orientation.json +15 -0
- package/fields/position.json +15 -0
- package/fields/property.json +15 -0
- package/fields/scale.json +15 -0
- package/fields/scaleIndex.json +15 -0
- package/fields/shape.json +15 -0
- package/fields/size.json +15 -0
- package/fields/state.json +15 -0
- package/fields/structure.json +15 -0
- package/fields/style.json +15 -0
- package/fields/substructure.json +15 -0
- package/fields/variant.json +15 -0
- package/fields/weight.json +15 -0
- package/mode-sets/color-scheme.json +8 -0
- package/mode-sets/contrast.json +8 -0
- package/mode-sets/scale.json +8 -0
- package/package.json +42 -3
- package/registry/alignments.json +22 -0
- package/registry/anatomy-terms.json +739 -0
- package/registry/categories.json +55 -0
- package/registry/color-families.json +177 -0
- package/registry/components.json +277 -0
- package/registry/densities.json +17 -0
- package/registry/easing-curves.json +42 -0
- package/registry/glossary.json +181 -0
- package/registry/motion-roles.json +32 -0
- package/registry/navigation-terms.json +241 -0
- package/registry/orientations.json +17 -0
- package/registry/platform-extensions/ios-states.json +59 -0
- package/registry/platform-extensions/web-components-states.json +58 -0
- package/registry/platforms.json +37 -0
- package/registry/positions.json +32 -0
- package/registry/property-terms.json +212 -0
- package/registry/scale-values.json +126 -0
- package/registry/shapes.json +12 -0
- package/registry/sizes.json +71 -0
- package/registry/states.json +184 -0
- package/registry/structures.json +57 -0
- package/registry/substructures.json +12 -0
- package/registry/token-objects.json +32 -0
- package/registry/token-terminology.json +925 -0
- package/registry/typography-families.json +27 -0
- package/registry/typography-styles.json +22 -0
- package/registry/typography-weights.json +37 -0
- package/registry/variants.json +282 -0
- package/tokens/color-aliases.tokens.json +332 -328
- package/tokens/color-component.tokens.json +74 -74
- package/tokens/icons.tokens.json +191 -191
- package/tokens/layout-component.tokens.json +373 -316
- package/tokens/layout.tokens.json +110 -98
- package/tokens/semantic-color-palette.tokens.json +104 -104
- package/tokens/typography.tokens.json +233 -233
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/popover.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "popover",
|
|
6
|
+
"displayName": "Popover",
|
|
7
|
+
"description": "Popovers are containers used to display transient content such as menus, options, additional actions, and more. They visually stand out through stroke and drop shadow and float on top of the interface.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "containers",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/popover/"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"width": {
|
|
14
|
+
"type": "number"
|
|
15
|
+
},
|
|
16
|
+
"height": {
|
|
17
|
+
"type": "number"
|
|
18
|
+
},
|
|
19
|
+
"hideTip": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"default": false
|
|
22
|
+
},
|
|
23
|
+
"placement": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"default": "top",
|
|
26
|
+
"values": [
|
|
27
|
+
{
|
|
28
|
+
"value": "top"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"value": "top left"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"value": "top right"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"value": "top start"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"value": "top end"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"value": "bottom"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"value": "bottom left"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "bottom right"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": "bottom start"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"value": "bottom end"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"value": "left"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"value": "left top"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"value": "left bottom"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"value": "start"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"value": "start top"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"value": "start bottom"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"value": "right"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "right top"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"value": "right bottom"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"value": "end"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"value": "end top"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"value": "end bottom"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"offset": {
|
|
96
|
+
"type": "number",
|
|
97
|
+
"default": 8,
|
|
98
|
+
"description": "pixel measurement"
|
|
99
|
+
},
|
|
100
|
+
"crossOffset": {
|
|
101
|
+
"type": "number",
|
|
102
|
+
"default": 0
|
|
103
|
+
},
|
|
104
|
+
"containerPadding": {
|
|
105
|
+
"type": "number",
|
|
106
|
+
"default": 8,
|
|
107
|
+
"description": "pixel measurement"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"lifecycle": {
|
|
111
|
+
"introduced": "1.0.0-draft"
|
|
112
|
+
},
|
|
113
|
+
"tokenBindings": [
|
|
114
|
+
{
|
|
115
|
+
"token": "corner-radius-large-default",
|
|
116
|
+
"context": "Rounding"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"token": "popover-tip-width",
|
|
120
|
+
"context": "Tip"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"token": "popover-tip-height",
|
|
124
|
+
"context": "Tip"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"token": "popover-edge-to-content-area",
|
|
128
|
+
"context": "Spacing (left/right edge to content area)"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"token": "spacing-100",
|
|
132
|
+
"context": "Spacing (tip to source)"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"token": "border-width-100",
|
|
136
|
+
"context": "Border"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"token": "background-layer-2-color",
|
|
140
|
+
"context": "Background and border"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"token": "popover-border-color",
|
|
144
|
+
"context": "Background and border"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"token": "drop-shadow-elevated-color",
|
|
148
|
+
"context": "Drop shadow"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"token": "drop-shadow-elevated-x",
|
|
152
|
+
"context": "Drop shadow"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"token": "drop-shadow-elevated-y",
|
|
156
|
+
"context": "Drop shadow"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"token": "drop-shadow-elevated-blur",
|
|
160
|
+
"context": "Drop shadow"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"accessibility": {
|
|
164
|
+
"intents": ["dismiss"],
|
|
165
|
+
"focusable": false,
|
|
166
|
+
"wcag": [
|
|
167
|
+
{
|
|
168
|
+
"criterion": "4.1.2",
|
|
169
|
+
"level": "A",
|
|
170
|
+
"title": "Name, Role, Value"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/progress-bar.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "progress-bar",
|
|
6
|
+
"displayName": "Progress bar",
|
|
7
|
+
"description": "Progress bars show the progression of a system operation: downloading, uploading, processing, etc., in a visual way. They can represent either determinate or indeterminate progress.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "status",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/progress-bar/"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"variant": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"default": "default",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "default"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "over background"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"staticColor": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Static color can only be white, otherwise it is default.",
|
|
28
|
+
"values": [
|
|
29
|
+
{
|
|
30
|
+
"value": "white"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"label": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"labelPosition": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "top",
|
|
40
|
+
"values": [
|
|
41
|
+
{
|
|
42
|
+
"value": "top"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"value": "side"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"hideLabel": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": false
|
|
52
|
+
},
|
|
53
|
+
"value": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"description": "Not applicable when indeterminate."
|
|
56
|
+
},
|
|
57
|
+
"minValue": {
|
|
58
|
+
"type": "number",
|
|
59
|
+
"default": 0,
|
|
60
|
+
"description": "Not applicable when indeterminate."
|
|
61
|
+
},
|
|
62
|
+
"maxValue": {
|
|
63
|
+
"type": "number",
|
|
64
|
+
"default": 1,
|
|
65
|
+
"description": "Not applicable when indeterminate."
|
|
66
|
+
},
|
|
67
|
+
"valueLabel": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"width": {
|
|
71
|
+
"type": "number"
|
|
72
|
+
},
|
|
73
|
+
"size": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"default": "m",
|
|
76
|
+
"values": [
|
|
77
|
+
{
|
|
78
|
+
"value": "s"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"value": "m"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "l"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"value": "xl"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"isIndeterminate": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"default": false
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"lifecycle": {
|
|
97
|
+
"introduced": "1.0.0-draft"
|
|
98
|
+
},
|
|
99
|
+
"tokenBindings": [
|
|
100
|
+
{
|
|
101
|
+
"token": "progress-bar-minimum-width",
|
|
102
|
+
"context": "Minimum width"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"token": "progress-bar-maximum-width",
|
|
106
|
+
"context": "Maximum width"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"token": "spacing-75",
|
|
110
|
+
"context": "Spacing (field label to progress bar)"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"token": "spacing-200",
|
|
114
|
+
"context": "Minimum spacing (field label to text)"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"token": "component-top-to-text-75",
|
|
118
|
+
"context": "Spacing (top edge to text)"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"token": "component-top-to-text-100",
|
|
122
|
+
"context": "Spacing (top edge to text)"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"token": "component-top-to-text-200",
|
|
126
|
+
"context": "Spacing (top edge to text)"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"token": "component-top-to-text-300",
|
|
130
|
+
"context": "Spacing (top edge to text)"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"token": "progress-bar-thickness-small",
|
|
134
|
+
"context": "Thickness (track)"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"token": "progress-bar-thickness-medium",
|
|
138
|
+
"context": "Thickness (track)"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"token": "progress-bar-thickness-large",
|
|
142
|
+
"context": "Thickness (track)"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"token": "progress-bar-thickness-extra-large",
|
|
146
|
+
"context": "Thickness (track)"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"token": "corner-radius-full",
|
|
150
|
+
"context": "Rounding"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"token": "default-font-family",
|
|
154
|
+
"context": "Value"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"token": "regular-font-weight",
|
|
158
|
+
"context": "Value"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"token": "default-font-style",
|
|
162
|
+
"context": "Value"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"token": "font-size-75",
|
|
166
|
+
"context": "Value"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"token": "font-size-100",
|
|
170
|
+
"context": "Value"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"token": "font-size-200",
|
|
174
|
+
"context": "Value"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"token": "font-size-300",
|
|
178
|
+
"context": "Value"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"token": "line-height-100",
|
|
182
|
+
"context": "Value"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"token": "cjk-line-height-100",
|
|
186
|
+
"context": "Value"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"token": "neutral-subdued-content-color-default",
|
|
190
|
+
"context": "Text"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"token": "track-color",
|
|
194
|
+
"context": "Track and indicator"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"token": "accent-content-color-default",
|
|
198
|
+
"context": "Track and indicator"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"token": "static-white-text-color",
|
|
202
|
+
"context": "Text (white)"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"token": "static-white-track-color",
|
|
206
|
+
"context": "Track and indicator (white)"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"token": "static-white-track-indicator-color",
|
|
210
|
+
"context": "Track and indicator (white)"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"accessibility": {
|
|
214
|
+
"role": "progressbar",
|
|
215
|
+
"focusable": false,
|
|
216
|
+
"wcag": [
|
|
217
|
+
{
|
|
218
|
+
"criterion": "4.1.2",
|
|
219
|
+
"level": "A",
|
|
220
|
+
"title": "Name, Role, Value"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"criterion": "4.1.3",
|
|
224
|
+
"level": "AA",
|
|
225
|
+
"title": "Status Messages"
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/component.schema.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/v0/components/progress-circle.json",
|
|
4
|
+
"specVersion": "1.0.0-draft",
|
|
5
|
+
"name": "progress-circle",
|
|
6
|
+
"displayName": "Progress circle",
|
|
7
|
+
"description": "Progress circles show the progression of a system operation such as downloading, uploading, processing, etc. in a visual way. They can represent determinate or indeterminate progress.",
|
|
8
|
+
"meta": {
|
|
9
|
+
"category": "status",
|
|
10
|
+
"documentationUrl": "https://spectrum.adobe.com/page/progress-circle/"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"variant": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"default": "default",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "default"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "over background"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"value": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "Not applicable when indeterminate."
|
|
28
|
+
},
|
|
29
|
+
"minValue": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"default": 0,
|
|
32
|
+
"description": "Not applicable when indeterminate."
|
|
33
|
+
},
|
|
34
|
+
"maxValue": {
|
|
35
|
+
"type": "number",
|
|
36
|
+
"default": 1,
|
|
37
|
+
"description": "Not applicable when indeterminate."
|
|
38
|
+
},
|
|
39
|
+
"size": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"default": "m",
|
|
42
|
+
"values": [
|
|
43
|
+
{
|
|
44
|
+
"value": "s"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"value": "m"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"value": "l"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"isIndeterminate": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"lifecycle": {
|
|
60
|
+
"introduced": "1.0.0-draft"
|
|
61
|
+
},
|
|
62
|
+
"tokenBindings": [
|
|
63
|
+
{
|
|
64
|
+
"token": "progress-circle-size-small",
|
|
65
|
+
"context": "Size"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"token": "progress-circle-size-medium",
|
|
69
|
+
"context": "Size"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"token": "progress-circle-size-large",
|
|
73
|
+
"context": "Size"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"token": "progress-circle-thickness-small",
|
|
77
|
+
"context": "Thickness"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"token": "progress-circle-thickness-medium",
|
|
81
|
+
"context": "Thickness"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"token": "progress-circle-thickness-large",
|
|
85
|
+
"context": "Thickness"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"token": "corner-radius-full",
|
|
89
|
+
"context": "Rounding (fill)"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"token": "track-color",
|
|
93
|
+
"context": "Track and fill"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"token": "accent-content-color-default",
|
|
97
|
+
"context": "Track and fill"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"token": "static-white-track-color",
|
|
101
|
+
"context": "Track and fill (white)"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"token": "static-white-track-indicator-color",
|
|
105
|
+
"context": "Track and fill (white)"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"token": "static-black-track-color",
|
|
109
|
+
"context": "Track and fill (black)"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"token": "static-black-track-indicator-color",
|
|
113
|
+
"context": "Track and fill (black)"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"accessibility": {
|
|
117
|
+
"role": "progressbar",
|
|
118
|
+
"focusable": false,
|
|
119
|
+
"wcag": [
|
|
120
|
+
{
|
|
121
|
+
"criterion": "4.1.2",
|
|
122
|
+
"level": "A",
|
|
123
|
+
"title": "Name, Role, Value"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"criterion": "4.1.3",
|
|
127
|
+
"level": "AA",
|
|
128
|
+
"title": "Status Messages"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|