@adobe/spectrum-design-data 0.1.0 → 0.3.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.
Files changed (144) hide show
  1. package/components/accordion.json +557 -0
  2. package/components/action-bar.json +214 -0
  3. package/components/action-button.json +522 -0
  4. package/components/action-group.json +134 -0
  5. package/components/alert-banner.json +134 -0
  6. package/components/alert-dialog.json +180 -0
  7. package/components/avatar-group.json +166 -0
  8. package/components/avatar.json +246 -0
  9. package/components/badge.json +594 -0
  10. package/components/body.json +54 -0
  11. package/components/bottom-navigation-android.json +72 -0
  12. package/components/breadcrumbs.json +307 -0
  13. package/components/button-group.json +86 -0
  14. package/components/button.json +586 -0
  15. package/components/calendar.json +133 -0
  16. package/components/cards.json +541 -0
  17. package/components/checkbox-group.json +91 -0
  18. package/components/checkbox.json +339 -0
  19. package/components/close-button.json +208 -0
  20. package/components/coach-indicator.json +105 -0
  21. package/components/coach-mark.json +169 -0
  22. package/components/code.json +44 -0
  23. package/components/color-area.json +138 -0
  24. package/components/color-handle.json +111 -0
  25. package/components/color-loupe.json +77 -0
  26. package/components/color-slider.json +165 -0
  27. package/components/color-wheel.json +117 -0
  28. package/components/combo-box.json +543 -0
  29. package/components/contextual-help.json +230 -0
  30. package/components/date-picker.json +471 -0
  31. package/components/detail.json +53 -0
  32. package/components/divider.json +93 -0
  33. package/components/drop-zone.json +238 -0
  34. package/components/field-label.json +219 -0
  35. package/components/heading.json +68 -0
  36. package/components/help-text.json +209 -0
  37. package/components/illustrated-message.json +175 -0
  38. package/components/in-field-progress-button.json +88 -0
  39. package/components/in-field-progress-circle.json +116 -0
  40. package/components/in-line-alert.json +233 -0
  41. package/components/link.json +167 -0
  42. package/components/list-view.json +382 -0
  43. package/components/menu.json +597 -0
  44. package/components/meter.json +199 -0
  45. package/components/number-field.json +518 -0
  46. package/components/opacity-checkerboard.json +69 -0
  47. package/components/picker.json +579 -0
  48. package/components/popover.json +174 -0
  49. package/components/progress-bar.json +229 -0
  50. package/components/progress-circle.json +132 -0
  51. package/components/radio-button.json +308 -0
  52. package/components/radio-group.json +113 -0
  53. package/components/rating.json +168 -0
  54. package/components/scroll-zoom-bar.json +82 -0
  55. package/components/search-field.json +346 -0
  56. package/components/segmented-control.json +248 -0
  57. package/components/select-box.json +272 -0
  58. package/components/side-navigation.json +320 -0
  59. package/components/slider.json +407 -0
  60. package/components/standard-dialog.json +179 -0
  61. package/components/standard-panel.json +83 -0
  62. package/components/status-light.json +334 -0
  63. package/components/steplist.json +294 -0
  64. package/components/swatch-group.json +114 -0
  65. package/components/swatch.json +240 -0
  66. package/components/switch.json +336 -0
  67. package/components/tab-bar-ios.json +72 -0
  68. package/components/table.json +435 -0
  69. package/components/tabs.json +253 -0
  70. package/components/tag-field.json +243 -0
  71. package/components/tag-group.json +87 -0
  72. package/components/tag.json +393 -0
  73. package/components/takeover-dialog.json +117 -0
  74. package/components/text-area.json +555 -0
  75. package/components/text-field.json +555 -0
  76. package/components/thumbnail.json +149 -0
  77. package/components/title.json +91 -0
  78. package/components/toast.json +156 -0
  79. package/components/tooltip.json +179 -0
  80. package/components/tray.json +32 -0
  81. package/components/tree-view.json +393 -0
  82. package/fields/alignment.json +15 -0
  83. package/fields/anatomy.json +15 -0
  84. package/fields/color-scheme.json +15 -0
  85. package/fields/colorFamily.json +15 -0
  86. package/fields/component.json +15 -0
  87. package/fields/contrast.json +15 -0
  88. package/fields/density.json +15 -0
  89. package/fields/easing.json +15 -0
  90. package/fields/family.json +15 -0
  91. package/fields/motionRole.json +15 -0
  92. package/fields/object.json +15 -0
  93. package/fields/orientation.json +15 -0
  94. package/fields/position.json +15 -0
  95. package/fields/property.json +15 -0
  96. package/fields/scale.json +15 -0
  97. package/fields/scaleIndex.json +15 -0
  98. package/fields/shape.json +15 -0
  99. package/fields/size.json +15 -0
  100. package/fields/state.json +15 -0
  101. package/fields/structure.json +15 -0
  102. package/fields/style.json +15 -0
  103. package/fields/substructure.json +15 -0
  104. package/fields/variant.json +15 -0
  105. package/fields/weight.json +15 -0
  106. package/mode-sets/color-scheme.json +8 -0
  107. package/mode-sets/contrast.json +8 -0
  108. package/mode-sets/scale.json +8 -0
  109. package/package.json +41 -2
  110. package/registry/alignments.json +22 -0
  111. package/registry/anatomy-terms.json +739 -0
  112. package/registry/categories.json +55 -0
  113. package/registry/color-families.json +177 -0
  114. package/registry/components.json +277 -0
  115. package/registry/densities.json +17 -0
  116. package/registry/easing-curves.json +42 -0
  117. package/registry/glossary.json +181 -0
  118. package/registry/motion-roles.json +32 -0
  119. package/registry/navigation-terms.json +241 -0
  120. package/registry/orientations.json +17 -0
  121. package/registry/platform-extensions/ios-states.json +59 -0
  122. package/registry/platform-extensions/web-components-states.json +58 -0
  123. package/registry/platforms.json +37 -0
  124. package/registry/positions.json +32 -0
  125. package/registry/property-terms.json +212 -0
  126. package/registry/scale-values.json +133 -0
  127. package/registry/shapes.json +12 -0
  128. package/registry/sizes.json +71 -0
  129. package/registry/states.json +184 -0
  130. package/registry/structures.json +57 -0
  131. package/registry/substructures.json +12 -0
  132. package/registry/token-objects.json +32 -0
  133. package/registry/token-terminology.json +925 -0
  134. package/registry/typography-families.json +27 -0
  135. package/registry/typography-styles.json +22 -0
  136. package/registry/typography-weights.json +37 -0
  137. package/registry/variants.json +282 -0
  138. package/tokens/color-aliases.tokens.json +332 -328
  139. package/tokens/color-component.tokens.json +74 -74
  140. package/tokens/icons.tokens.json +191 -191
  141. package/tokens/layout-component.tokens.json +373 -316
  142. package/tokens/layout.tokens.json +110 -98
  143. package/tokens/semantic-color-palette.tokens.json +104 -104
  144. package/tokens/typography.tokens.json +379 -305
@@ -0,0 +1,246 @@
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
+ "options": {
13
+ "size": {
14
+ "type": "number",
15
+ "default": 500,
16
+ "values": [
17
+ {
18
+ "value": 50
19
+ },
20
+ {
21
+ "value": 75
22
+ },
23
+ {
24
+ "value": 100
25
+ },
26
+ {
27
+ "value": 200
28
+ },
29
+ {
30
+ "value": 300
31
+ },
32
+ {
33
+ "value": 400
34
+ },
35
+ {
36
+ "value": 500
37
+ },
38
+ {
39
+ "value": 600
40
+ },
41
+ {
42
+ "value": 700
43
+ },
44
+ {
45
+ "value": 800
46
+ },
47
+ {
48
+ "value": 900
49
+ },
50
+ {
51
+ "value": 1000
52
+ },
53
+ {
54
+ "value": 1100
55
+ },
56
+ {
57
+ "value": 1200
58
+ },
59
+ {
60
+ "value": 1300
61
+ },
62
+ {
63
+ "value": 1400
64
+ },
65
+ {
66
+ "value": 1500
67
+ }
68
+ ]
69
+ },
70
+ "image": {
71
+ "type": "string",
72
+ "default": "user image",
73
+ "values": [
74
+ {
75
+ "value": "user image"
76
+ },
77
+ {
78
+ "value": "gradient image"
79
+ },
80
+ {
81
+ "value": "gradient"
82
+ },
83
+ {
84
+ "value": "guest image"
85
+ },
86
+ {
87
+ "value": "initials"
88
+ }
89
+ ]
90
+ },
91
+ "isDisabled": {
92
+ "type": "boolean",
93
+ "default": false
94
+ },
95
+ "showStroke": {
96
+ "type": "boolean",
97
+ "default": false
98
+ }
99
+ },
100
+ "states": [
101
+ {
102
+ "name": "down",
103
+ "trigger": "interaction"
104
+ },
105
+ {
106
+ "name": "keyboard-focus",
107
+ "trigger": "interaction"
108
+ }
109
+ ],
110
+ "lifecycle": {
111
+ "introduced": "1.0.0-draft"
112
+ },
113
+ "tokenBindings": [
114
+ {
115
+ "token": "avatar-size-50",
116
+ "context": "Size"
117
+ },
118
+ {
119
+ "token": "avatar-size-75",
120
+ "context": "Size"
121
+ },
122
+ {
123
+ "token": "avatar-size-100",
124
+ "context": "Size"
125
+ },
126
+ {
127
+ "token": "avatar-size-200",
128
+ "context": "Size"
129
+ },
130
+ {
131
+ "token": "avatar-size-300",
132
+ "context": "Size"
133
+ },
134
+ {
135
+ "token": "avatar-size-400",
136
+ "context": "Size"
137
+ },
138
+ {
139
+ "token": "avatar-size-500",
140
+ "context": "Size"
141
+ },
142
+ {
143
+ "token": "avatar-size-600",
144
+ "context": "Size"
145
+ },
146
+ {
147
+ "token": "avatar-size-700",
148
+ "context": "Size"
149
+ },
150
+ {
151
+ "token": "avatar-size-800",
152
+ "context": "Size"
153
+ },
154
+ {
155
+ "token": "avatar-size-900",
156
+ "context": "Size"
157
+ },
158
+ {
159
+ "token": "avatar-size-1000",
160
+ "context": "Size"
161
+ },
162
+ {
163
+ "token": "avatar-size-1100",
164
+ "context": "Size"
165
+ },
166
+ {
167
+ "token": "avatar-size-1200",
168
+ "context": "Size"
169
+ },
170
+ {
171
+ "token": "avatar-size-1300",
172
+ "context": "Size"
173
+ },
174
+ {
175
+ "token": "avatar-size-1400",
176
+ "context": "Size"
177
+ },
178
+ {
179
+ "token": "avatar-size-1500",
180
+ "context": "Size"
181
+ },
182
+ {
183
+ "token": "avatar-border-thickness",
184
+ "context": "Border"
185
+ },
186
+ {
187
+ "token": "focus-indicator-thickness",
188
+ "context": "Focus indicator"
189
+ },
190
+ {
191
+ "token": "focus-indicator-gap",
192
+ "context": "Focus indicator"
193
+ },
194
+ {
195
+ "token": "avatar-gradient-stop-1",
196
+ "context": "0% "
197
+ },
198
+ {
199
+ "token": "static-[color]-400",
200
+ "context": "0% "
201
+ },
202
+ {
203
+ "token": "avatar-gradient-stop-2",
204
+ "context": "66% "
205
+ },
206
+ {
207
+ "token": "static-[color]-600",
208
+ "context": "66% "
209
+ },
210
+ {
211
+ "token": "avatar-gradient-stop-3",
212
+ "context": "100% "
213
+ },
214
+ {
215
+ "token": "static-[color]-800",
216
+ "context": "100% "
217
+ },
218
+ {
219
+ "token": "gradient-angle",
220
+ "context": "Top-left to bottom-right"
221
+ },
222
+ {
223
+ "token": "default-font-family",
224
+ "context": "Text (List view item)"
225
+ },
226
+ {
227
+ "token": "extra-bold-font-weight",
228
+ "context": "Text (List view item)"
229
+ },
230
+ {
231
+ "token": "default-font-style",
232
+ "context": "Text (List view item)"
233
+ },
234
+ {
235
+ "token": "font-size-100",
236
+ "context": "Text (List view item)"
237
+ },
238
+ {
239
+ "token": "line-height-100",
240
+ "context": "Text (List view item)"
241
+ }
242
+ ],
243
+ "accessibility": {
244
+ "focusable": false
245
+ }
246
+ }