@adobe/spectrum-design-data 0.0.0-size-token-taxonomy-20260929225107

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.
Files changed (203) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +75 -0
  3. package/components/accordion.json +185 -0
  4. package/components/action-bar.json +89 -0
  5. package/components/action-button.json +167 -0
  6. package/components/action-group.json +190 -0
  7. package/components/alert-banner.json +148 -0
  8. package/components/alert-dialog.json +124 -0
  9. package/components/avatar-group.json +82 -0
  10. package/components/avatar.json +162 -0
  11. package/components/badge.json +227 -0
  12. package/components/bar-panel.json +14 -0
  13. package/components/body.json +54 -0
  14. package/components/bottom-navigation-android.json +72 -0
  15. package/components/breadcrumbs.json +213 -0
  16. package/components/button-group.json +122 -0
  17. package/components/button.json +239 -0
  18. package/components/calendar.json +196 -0
  19. package/components/card-horizontal.json +14 -0
  20. package/components/card.json +22 -0
  21. package/components/cards.json +117 -0
  22. package/components/checkbox-group.json +128 -0
  23. package/components/checkbox.json +171 -0
  24. package/components/close-button.json +116 -0
  25. package/components/coach-indicator.json +109 -0
  26. package/components/coach-mark.json +151 -0
  27. package/components/code.json +44 -0
  28. package/components/collection-card.json +13 -0
  29. package/components/color-area.json +150 -0
  30. package/components/color-control.json +14 -0
  31. package/components/color-handle.json +79 -0
  32. package/components/color-loupe.json +49 -0
  33. package/components/color-slider.json +189 -0
  34. package/components/color-wheel.json +137 -0
  35. package/components/combo-box.json +319 -0
  36. package/components/contextual-help.json +186 -0
  37. package/components/date-field.json +13 -0
  38. package/components/date-picker.json +297 -0
  39. package/components/detail.json +53 -0
  40. package/components/divider.json +62 -0
  41. package/components/double-calendar.json +13 -0
  42. package/components/drop-zone.json +102 -0
  43. package/components/field-label.json +125 -0
  44. package/components/field.json +13 -0
  45. package/components/floating-action-button.json +13 -0
  46. package/components/form-item.json +13 -0
  47. package/components/heading.json +68 -0
  48. package/components/help-text.json +117 -0
  49. package/components/illustrated-message.json +159 -0
  50. package/components/in-field-button.json +14 -0
  51. package/components/in-field-progress-button.json +88 -0
  52. package/components/in-field-progress-circle.json +62 -0
  53. package/components/in-line-alert.json +109 -0
  54. package/components/link.json +127 -0
  55. package/components/list-view.json +233 -0
  56. package/components/menu.json +310 -0
  57. package/components/meter.json +127 -0
  58. package/components/number-field.json +264 -0
  59. package/components/opacity-checkerboard.json +51 -0
  60. package/components/picker.json +287 -0
  61. package/components/popover.json +182 -0
  62. package/components/progress-bar.json +177 -0
  63. package/components/progress-circle.json +108 -0
  64. package/components/radio-button.json +130 -0
  65. package/components/radio-group.json +202 -0
  66. package/components/rating.json +120 -0
  67. package/components/scroll-zoom-bar.json +82 -0
  68. package/components/search-field.json +206 -0
  69. package/components/segmented-control.json +184 -0
  70. package/components/segmented-text-field.json +13 -0
  71. package/components/select-box.json +165 -0
  72. package/components/side-navigation.json +185 -0
  73. package/components/single-calendar.json +13 -0
  74. package/components/slider.json +238 -0
  75. package/components/stack-item.json +23 -0
  76. package/components/standard-dialog.json +155 -0
  77. package/components/standard-panel.json +135 -0
  78. package/components/status-light.json +175 -0
  79. package/components/steplist.json +127 -0
  80. package/components/swatch-group.json +126 -0
  81. package/components/swatch.json +153 -0
  82. package/components/switch.json +156 -0
  83. package/components/table.json +273 -0
  84. package/components/tabs.json +163 -0
  85. package/components/tag-field.json +147 -0
  86. package/components/tag-group.json +111 -0
  87. package/components/tag.json +123 -0
  88. package/components/takeover-dialog.json +129 -0
  89. package/components/text-area.json +299 -0
  90. package/components/text-field.json +263 -0
  91. package/components/thumbnail.json +109 -0
  92. package/components/time-field.json +13 -0
  93. package/components/title.json +53 -0
  94. package/components/toast.json +136 -0
  95. package/components/tooltip.json +171 -0
  96. package/components/tray.json +32 -0
  97. package/components/tree-view.json +270 -0
  98. package/components/triple-calendar.json +13 -0
  99. package/components/user-card.json +14 -0
  100. package/fields/alignment.json +15 -0
  101. package/fields/anatomy.json +15 -0
  102. package/fields/color-scheme.json +16 -0
  103. package/fields/colorFamily.json +16 -0
  104. package/fields/colorRole.json +16 -0
  105. package/fields/component.json +15 -0
  106. package/fields/contrast.json +16 -0
  107. package/fields/density.json +15 -0
  108. package/fields/easing.json +15 -0
  109. package/fields/emphasis.json +16 -0
  110. package/fields/family.json +16 -0
  111. package/fields/from.json +16 -0
  112. package/fields/icon.json +15 -0
  113. package/fields/motionRole.json +15 -0
  114. package/fields/object.json +15 -0
  115. package/fields/orientation.json +15 -0
  116. package/fields/position.json +15 -0
  117. package/fields/property.json +15 -0
  118. package/fields/qualifier.json +15 -0
  119. package/fields/referenceScaleIndex.json +16 -0
  120. package/fields/role.json +15 -0
  121. package/fields/scale.json +16 -0
  122. package/fields/scaleIndex.json +16 -0
  123. package/fields/script.json +16 -0
  124. package/fields/shape.json +15 -0
  125. package/fields/size.json +15 -0
  126. package/fields/state.json +15 -0
  127. package/fields/structure.json +16 -0
  128. package/fields/style.json +15 -0
  129. package/fields/substructure.json +15 -0
  130. package/fields/to.json +16 -0
  131. package/fields/variant.json +15 -0
  132. package/fields/weight.json +15 -0
  133. package/guidelines/app-frame-content-area.json +81 -0
  134. package/guidelines/app-frame-creating-bluelines.json +58 -0
  135. package/guidelines/app-frame-header.json +72 -0
  136. package/guidelines/app-frame-overview.json +167 -0
  137. package/guidelines/app-frame-side-navigation.json +138 -0
  138. package/guidelines/attention-hierarchy.json +42 -0
  139. package/guidelines/background-layers.json +38 -0
  140. package/guidelines/brand.json +50 -0
  141. package/guidelines/colors.json +62 -0
  142. package/guidelines/containers.json +62 -0
  143. package/guidelines/developer-overview.json +35 -0
  144. package/guidelines/faqs.json +35 -0
  145. package/guidelines/fonts.json +58 -0
  146. package/guidelines/grays.json +66 -0
  147. package/guidelines/icon-fundamentals.json +45 -0
  148. package/guidelines/illustrations.json +111 -0
  149. package/guidelines/introduction.json +31 -0
  150. package/guidelines/manifest.json +204 -0
  151. package/guidelines/motion.json +41 -0
  152. package/guidelines/object-styles.json +102 -0
  153. package/guidelines/principles.json +30 -0
  154. package/guidelines/resources.json +59 -0
  155. package/guidelines/spacing.json +25 -0
  156. package/guidelines/states.json +34 -0
  157. package/guidelines/typography-fundamentals.json +142 -0
  158. package/guidelines/using-icons.json +107 -0
  159. package/mode-sets/color-scheme.json +8 -0
  160. package/mode-sets/contrast.json +8 -0
  161. package/mode-sets/scale.json +8 -0
  162. package/package.json +68 -0
  163. package/registry/alignments.json +22 -0
  164. package/registry/anatomy-terms.json +860 -0
  165. package/registry/categories.json +55 -0
  166. package/registry/color-families.json +177 -0
  167. package/registry/color-roles.json +47 -0
  168. package/registry/components.json +472 -0
  169. package/registry/densities.json +17 -0
  170. package/registry/easing-curves.json +42 -0
  171. package/registry/glossary.json +181 -0
  172. package/registry/icon-terms.json +104 -0
  173. package/registry/motion-roles.json +32 -0
  174. package/registry/navigation-terms.json +241 -0
  175. package/registry/orientations.json +17 -0
  176. package/registry/platform-extensions/web-components-states.json +58 -0
  177. package/registry/platforms.json +37 -0
  178. package/registry/positions.json +70 -0
  179. package/registry/property-terms.json +352 -0
  180. package/registry/qualifiers.json +47 -0
  181. package/registry/roles.json +17 -0
  182. package/registry/scale-values.json +133 -0
  183. package/registry/scripts.json +12 -0
  184. package/registry/shapes.json +27 -0
  185. package/registry/sizes.json +78 -0
  186. package/registry/states.json +187 -0
  187. package/registry/structures.json +67 -0
  188. package/registry/substructures.json +12 -0
  189. package/registry/token-objects.json +32 -0
  190. package/registry/token-terminology.json +925 -0
  191. package/registry/typography-emphasis.json +32 -0
  192. package/registry/typography-families.json +22 -0
  193. package/registry/typography-styles.json +22 -0
  194. package/registry/typography-weights.json +37 -0
  195. package/registry/variants.json +366 -0
  196. package/tokens/color-aliases.tokens.json +5579 -0
  197. package/tokens/color-component.tokens.json +1 -0
  198. package/tokens/color-palette.tokens.json +13458 -0
  199. package/tokens/icons.tokens.json +2777 -0
  200. package/tokens/layout-component.tokens.json +3121 -0
  201. package/tokens/layout.tokens.json +8741 -0
  202. package/tokens/semantic-color-palette.tokens.json +1246 -0
  203. package/tokens/typography.tokens.json +1447 -0
@@ -0,0 +1,82 @@
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/avatar-group.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "avatar-group",
6
+ "displayName": "Avatar group",
7
+ "description": "Avatar groups display a collection of avatars representing people or entities.",
8
+ "meta": {
9
+ "category": "actions",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/avatar-group/"
11
+ },
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "Avatar groups display a collection of avatars representing people or entities."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "An avatar group displays a set of related avatars together. It’s typically used to represent a collection of people or entities."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "Avatar sizes scale exponentially, based on the Spectrum type scale. Avatar has preset sizes to flex across all surfaces and can also be customized to fit appropriately for your context."
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "An Avatar group can have an optional text label that clearly describes the group or number of users that it represents."
28
+ },
29
+ {
30
+ "type": "guideline",
31
+ "content": "Individual avatars inside Avatar group can be navigated using a keyboard. The keyboard focus state adds a focus ring around the avatar."
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "Each individual avatar has a stroke applied to better show distinction between individual users in the group. By default, the outline color is a neutral gray, but the stroke color should be adjusted manually to match the background where the avatar group is placed."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "When using a colored background the avatar stroke color should remain set as default for both light and dark themes."
40
+ }
41
+ ],
42
+ "options": {
43
+ "label": {
44
+ "type": "string",
45
+ "description": "Optional text label displayed with the avatar group (e.g., group name)."
46
+ },
47
+ "size": {
48
+ "type": "number",
49
+ "default": 100,
50
+ "values": [
51
+ {
52
+ "value": 50
53
+ },
54
+ {
55
+ "value": 75
56
+ },
57
+ {
58
+ "value": 100
59
+ },
60
+ {
61
+ "value": 200
62
+ },
63
+ {
64
+ "value": 300
65
+ },
66
+ {
67
+ "value": 400
68
+ },
69
+ {
70
+ "value": 500
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "lifecycle": {
76
+ "introduced": "1.0.0-draft"
77
+ },
78
+ "accessibility": {
79
+ "role": "group",
80
+ "focusable": false
81
+ }
82
+ }
@@ -0,0 +1,162 @@
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/avatar.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "avatar",
6
+ "displayName": "Avatar",
7
+ "description": "An avatar is a thumbnail representation of an entity, such as a user or an organization.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/avatar/"
11
+ },
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "An avatar is a thumbnail representation of an entity, such as a user or an organization."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "An avatar in a disabled state shows that an avatar exists, but is not available or a user is not active in that circumstance. This can be used to maintain layout continuity and communicate that an avatar may become available or active later."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "When used as an individual Avatar, showStroke is false by default. When used in Avatar group, showStroke is true by default to create separation between the stacked group of Avatar components."
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "Avatar sizes scale exponentially, based on the Spectrum type scale. Avatar has preset sizes to flex across all surfaces and can also be customized to fit appropriately for your context."
28
+ },
29
+ {
30
+ "type": "guideline",
31
+ "content": "An avatar has multiple visual styles, depending on the user preference. These show up as branded gradient images, initials of the user’s name, as well as any image that a user uploads. For users who do not have Adobe accounts, they will default to the guest avatar."
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "An avatar can be navigated using a keyboard. The keyboard focus state adds a blue ring to the avatar in focus."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "An avatar group displays a set of related avatars together. It’s typically used to represent a collection of people or entities."
40
+ },
41
+ {
42
+ "type": "guideline",
43
+ "content": "Use branded generic avatars when a user has not set their avatar image. These images are designed to be abstracted from all genders, locales, and cultures."
44
+ },
45
+ {
46
+ "type": "guideline",
47
+ "content": "The initials avatar is designed to work with latin characters only and supports 1 or 2 characters that are programmatically identified by the first name and last name in a user’s account settings. For users with non-latin characters, their default avatar should be the gradient image style."
48
+ },
49
+ {
50
+ "type": "guideline",
51
+ "content": "The guest avatar style is designed for users who may be interacting with Adobe products, but are not logged in or do not have an Adobe account."
52
+ }
53
+ ],
54
+ "options": {
55
+ "size": {
56
+ "type": "number",
57
+ "default": 500,
58
+ "values": [
59
+ {
60
+ "value": 50
61
+ },
62
+ {
63
+ "value": 75
64
+ },
65
+ {
66
+ "value": 100
67
+ },
68
+ {
69
+ "value": 200
70
+ },
71
+ {
72
+ "value": 300
73
+ },
74
+ {
75
+ "value": 400
76
+ },
77
+ {
78
+ "value": 500
79
+ },
80
+ {
81
+ "value": 600
82
+ },
83
+ {
84
+ "value": 700
85
+ },
86
+ {
87
+ "value": 800
88
+ },
89
+ {
90
+ "value": 900
91
+ },
92
+ {
93
+ "value": 1000
94
+ },
95
+ {
96
+ "value": 1100
97
+ },
98
+ {
99
+ "value": 1200
100
+ },
101
+ {
102
+ "value": 1300
103
+ },
104
+ {
105
+ "value": 1400
106
+ },
107
+ {
108
+ "value": 1500
109
+ }
110
+ ]
111
+ },
112
+ "image": {
113
+ "type": "string",
114
+ "default": "user image",
115
+ "values": [
116
+ {
117
+ "value": "user image"
118
+ },
119
+ {
120
+ "value": "gradient image"
121
+ },
122
+ {
123
+ "value": "gradient"
124
+ },
125
+ {
126
+ "value": "guest image"
127
+ },
128
+ {
129
+ "value": "initials"
130
+ }
131
+ ]
132
+ },
133
+ "isDisabled": {
134
+ "type": "boolean",
135
+ "default": false
136
+ },
137
+ "showStroke": {
138
+ "type": "boolean",
139
+ "default": false
140
+ }
141
+ },
142
+ "states": [
143
+ {
144
+ "name": "down",
145
+ "trigger": "interaction"
146
+ },
147
+ {
148
+ "name": "keyboard-focus",
149
+ "trigger": "interaction"
150
+ },
151
+ {
152
+ "name": "disabled",
153
+ "trigger": "prop"
154
+ }
155
+ ],
156
+ "lifecycle": {
157
+ "introduced": "1.0.0-draft"
158
+ },
159
+ "accessibility": {
160
+ "focusable": false
161
+ }
162
+ }
@@ -0,0 +1,227 @@
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/badge.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "badge",
6
+ "displayName": "Badge",
7
+ "description": "Similar to status lights, badges are for showing a small amount of color-categorized metadata. They're ideal for getting a user''s attention.",
8
+ "meta": {
9
+ "category": "status",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/badge/"
11
+ },
12
+ "documentBlocks": [
13
+ {
14
+ "type": "purpose",
15
+ "content": "Similar to status lights, badges are for showing a small amount of color-categorized metadata. They're ideal for getting a user''s attention."
16
+ },
17
+ {
18
+ "type": "guideline",
19
+ "content": "Badges come in four different sizes: small, medium, large, and extra-large. The small size is the default and most frequently used option. Use the other sizes sparingly to create a hierarchy of importance on a page."
20
+ },
21
+ {
22
+ "type": "guideline",
23
+ "content": "Badges can be placed as floating in a container, or they can be fixed to any edge of a container. They lose their default corner rounding on the fixed edge."
24
+ },
25
+ {
26
+ "type": "guideline",
27
+ "content": "A Badge’s style determines its visual emphasis. Badges come in three different styles: bold, subtle, and outline."
28
+ },
29
+ {
30
+ "type": "guideline",
31
+ "content": "When badges have a semantic meaning, they use semantic colors. Use these variants for the following statuses:"
32
+ },
33
+ {
34
+ "type": "guideline",
35
+ "content": "When badges are for color-coded categories, they use non-semantic colors. Non-semantic variants are ideally used for when there are 8 categories or less."
36
+ },
37
+ {
38
+ "type": "guideline",
39
+ "content": "A badge can have an optional icon. If no label is used, a badge becomes icon-only and it must include an icon. An icon-only badge is best for very small spaces, and it should always include a tooltip on hover to provide more context for the icon's meaning."
40
+ },
41
+ {
42
+ "type": "guideline",
43
+ "content": "Badges should always have a label for accessibility and clear comprehension. When the label is not defined, a badge becomes icon-only."
44
+ },
45
+ {
46
+ "type": "guideline",
47
+ "content": "Badges are display elements, not actions. They should not behave like buttons or links. If an action is required, use a more appropriate component (e.g., Button, Action button)."
48
+ },
49
+ {
50
+ "type": "guideline",
51
+ "content": "When a badge's label is too long for the available horizontal space, it wraps to form another line. If there is no room for a second line of text, the badge should truncate and include a tooltip to expose the full text upon hover."
52
+ },
53
+ {
54
+ "type": "guideline",
55
+ "content": "Blue badges are easily confused with Spectrum's blue accent buttons. Only use blue badges when absolutely necessary."
56
+ },
57
+ {
58
+ "type": "guideline",
59
+ "content": "The yellow badge is reserved to communicate \"best deal\" or \"discount\" situations only. Do not use the yellow badge for other situations."
60
+ },
61
+ {
62
+ "type": "guideline",
63
+ "content": "Badges are meant to offer quick context about what category, status, or meaning an item is associated with. If your design requires multiple badges, consider using regular text metadata and reserve a single badge for only the most important status, category, or meaning instead."
64
+ },
65
+ {
66
+ "type": "guideline",
67
+ "content": "It's best to use a text label on a badge whenever possible because communicating with an icon alone may be unclear or subjective. Reserve icon-only badges for responsive cases, such as for cards in a panel that don't have space for a full badge. In related contexts, pair the icon with a label to help teach a user what the icon means. Icon-only badges should always include a tooltip on hover to show their associated label."
68
+ },
69
+ {
70
+ "type": "guideline",
71
+ "content": "Badge placement varies widely depending on the use case. In cards, place the badge on the left side of the footer, if possible. If there is no footer or if that space is filled, affix the badge to the right edge of the preview. If there is no preview, affix the badge to the top right corner of the card."
72
+ }
73
+ ],
74
+ "options": {
75
+ "label": {
76
+ "type": "string",
77
+ "description": "When the label is not defined, the badge appears as icon-only."
78
+ },
79
+ "icon": {
80
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
81
+ },
82
+ "variant": {
83
+ "type": "string",
84
+ "values": [
85
+ {
86
+ "value": "neutral"
87
+ },
88
+ {
89
+ "value": "info"
90
+ },
91
+ {
92
+ "value": "positive"
93
+ },
94
+ {
95
+ "value": "negative"
96
+ },
97
+ {
98
+ "value": "indigo"
99
+ },
100
+ {
101
+ "value": "yellow"
102
+ },
103
+ {
104
+ "value": "magenta"
105
+ },
106
+ {
107
+ "value": "fuchsia"
108
+ },
109
+ {
110
+ "value": "purple"
111
+ },
112
+ {
113
+ "value": "seafoam"
114
+ },
115
+ {
116
+ "value": "accent"
117
+ },
118
+ {
119
+ "value": "notice"
120
+ },
121
+ {
122
+ "value": "gray"
123
+ },
124
+ {
125
+ "value": "red"
126
+ },
127
+ {
128
+ "value": "orange"
129
+ },
130
+ {
131
+ "value": "chartreuse"
132
+ },
133
+ {
134
+ "value": "celery"
135
+ },
136
+ {
137
+ "value": "green"
138
+ },
139
+ {
140
+ "value": "cyan"
141
+ },
142
+ {
143
+ "value": "blue"
144
+ },
145
+ {
146
+ "value": "pink"
147
+ },
148
+ {
149
+ "value": "turquoise"
150
+ },
151
+ {
152
+ "value": "brown"
153
+ },
154
+ {
155
+ "value": "cinnamon"
156
+ },
157
+ {
158
+ "value": "silver"
159
+ }
160
+ ]
161
+ },
162
+ "style": {
163
+ "type": "string",
164
+ "values": [
165
+ {
166
+ "value": "bold"
167
+ },
168
+ {
169
+ "value": "subtle"
170
+ },
171
+ {
172
+ "value": "outline"
173
+ }
174
+ ]
175
+ },
176
+ "fixed": {
177
+ "type": "string",
178
+ "default": "none",
179
+ "values": [
180
+ {
181
+ "value": "none"
182
+ },
183
+ {
184
+ "value": "top"
185
+ },
186
+ {
187
+ "value": "right"
188
+ },
189
+ {
190
+ "value": "bottom"
191
+ },
192
+ {
193
+ "value": "left"
194
+ }
195
+ ]
196
+ },
197
+ "isDisabled": {
198
+ "type": "boolean",
199
+ "default": false
200
+ },
201
+ "size": {
202
+ "type": "string",
203
+ "pattern": "^(x?s|m|x{0,3}l)$",
204
+ "default": "s",
205
+ "values": [
206
+ {
207
+ "value": "s"
208
+ },
209
+ {
210
+ "value": "m"
211
+ },
212
+ {
213
+ "value": "l"
214
+ },
215
+ {
216
+ "value": "xl"
217
+ }
218
+ ]
219
+ }
220
+ },
221
+ "lifecycle": {
222
+ "introduced": "1.0.0-draft"
223
+ },
224
+ "accessibility": {
225
+ "focusable": false
226
+ }
227
+ }
@@ -0,0 +1,14 @@
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/bar-panel.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "bar-panel",
6
+ "displayName": "Bar panel",
7
+ "description": "A panel anchored to an edge, exposing a draggable gripper for resizing.",
8
+ "meta": {
9
+ "category": "containers",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/bar-panel/"
11
+ },
12
+ "anatomy": [{ "name": "gripper" }],
13
+ "lifecycle": { "introduced": "1.0.0-draft" }
14
+ }
@@ -0,0 +1,54 @@
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/body.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "body",
6
+ "displayName": "Body",
7
+ "description": "Body is a typography component primarily used within Spectrum components and for blocks of text.",
8
+ "meta": {
9
+ "category": "typography",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/body/"
11
+ },
12
+ "options": {
13
+ "script": {
14
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-script.json"
15
+ },
16
+ "classification": {
17
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/typography-classification.json"
18
+ },
19
+ "size": {
20
+ "type": "string",
21
+ "pattern": "^(x?s|m|x{0,3}l)$",
22
+ "default": "m",
23
+ "values": [
24
+ {
25
+ "value": "xs"
26
+ },
27
+ {
28
+ "value": "s"
29
+ },
30
+ {
31
+ "value": "m"
32
+ },
33
+ {
34
+ "value": "l"
35
+ },
36
+ {
37
+ "value": "xl"
38
+ },
39
+ {
40
+ "value": "xxl"
41
+ },
42
+ {
43
+ "value": "xxxl"
44
+ }
45
+ ]
46
+ }
47
+ },
48
+ "lifecycle": {
49
+ "introduced": "1.0.0-draft"
50
+ },
51
+ "accessibility": {
52
+ "focusable": false
53
+ }
54
+ }
@@ -0,0 +1,72 @@
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/bottom-navigation-android.json",
4
+ "specVersion": "1.0.0-draft",
5
+ "name": "bottom-navigation-android",
6
+ "displayName": "Bottom navigation (Android)",
7
+ "description": "Bottom navigation is a top-level navigation control for Android apps.",
8
+ "meta": {
9
+ "category": "navigation",
10
+ "documentationUrl": "https://spectrum.adobe.com/page/bottom-navigation-android/"
11
+ },
12
+ "options": {
13
+ "label": {
14
+ "type": "string"
15
+ },
16
+ "labelPosition": {
17
+ "type": "string",
18
+ "default": "bottom",
19
+ "values": [
20
+ {
21
+ "value": "bottom"
22
+ },
23
+ {
24
+ "value": "side"
25
+ }
26
+ ]
27
+ },
28
+ "icon": {
29
+ "$ref": "https://opensource.adobe.com/spectrum-design-data/schemas/types/workflow-icon.json"
30
+ },
31
+ "background": {
32
+ "type": "string",
33
+ "default": "primary",
34
+ "values": [
35
+ {
36
+ "value": "primary"
37
+ },
38
+ {
39
+ "value": "secondary"
40
+ }
41
+ ]
42
+ },
43
+ "hasBadge": {
44
+ "type": "boolean",
45
+ "default": false
46
+ },
47
+ "isDisabled": {
48
+ "type": "boolean",
49
+ "default": false
50
+ }
51
+ },
52
+ "lifecycle": {
53
+ "introduced": "1.0.0-draft"
54
+ },
55
+ "accessibility": {
56
+ "intents": ["navigate"],
57
+ "focusable": true,
58
+ "keyboardIntents": ["navigate-items", "activate"],
59
+ "wcag": [
60
+ {
61
+ "criterion": "2.1.1",
62
+ "level": "A",
63
+ "title": "Keyboard"
64
+ },
65
+ {
66
+ "criterion": "4.1.2",
67
+ "level": "A",
68
+ "title": "Name, Role, Value"
69
+ }
70
+ ]
71
+ }
72
+ }