@adobe/spectrum-component-api-schemas 4.0.0 → 5.0.1
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 +230 -126
- package/package.json +1 -1
- package/schemas/components/accordion.json +4 -20
- package/schemas/components/alert-banner.json +1 -1
- package/schemas/components/avatar-group.json +18 -26
- package/schemas/components/breadcrumbs.json +7 -7
- package/schemas/components/calendar.json +109 -0
- package/schemas/components/cards.json +238 -0
- package/schemas/components/checkbox-group.json +1 -1
- package/schemas/components/coach-mark.json +51 -0
- package/schemas/components/color-handle.json +27 -27
- package/schemas/components/color-slider.json +10 -2
- package/schemas/components/illustrated-message.json +52 -0
- package/schemas/components/in-line-alert.json +3 -3
- package/schemas/components/list-view.json +106 -0
- package/schemas/components/number-field.json +53 -69
- package/schemas/components/picker.json +18 -8
- package/schemas/components/radio-button.json +1 -6
- package/schemas/components/segmented-control.json +62 -79
- package/schemas/components/side-navigation.json +61 -2
- package/schemas/components/slider.json +3 -14
- package/schemas/components/standard-dialog.json +53 -0
- package/schemas/components/standard-panel.json +49 -0
- package/schemas/components/{step-list.json → steplist.json} +3 -3
- package/schemas/components/swatch-group.json +4 -20
- package/schemas/components/swatch.json +4 -21
- package/schemas/components/table.json +144 -0
- package/schemas/components/tabs.json +6 -26
- package/schemas/components/tag-field.json +38 -47
- package/schemas/components/tag-group.json +27 -34
- package/schemas/components/takeover-dialog.json +60 -0
- package/schemas/components/text-field.json +3 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,80 @@
|
|
|
1
|
-
#
|
|
1
|
+
# [**@adobe/spectrum-component-api-schemas**](https://github.com/adobe/spectrum-component-api-schemas)
|
|
2
|
+
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
* [#621](https://github.com/adobe/spectrum-tokens/pull/621) [`ee2ceb5`](https://github.com/adobe/spectrum-tokens/commit/ee2ceb541dea5eb9b5267c861e44bfd804fd33a7) Thanks [@GarthDB](https://github.com/GarthDB)! - refactor(component-schemas): rename step-list to steplist
|
|
8
|
+
|
|
9
|
+
Renamed the `step-list` component schema to `steplist` for consistency with other single-word component names.
|
|
10
|
+
|
|
11
|
+
## Components Changed (0 added, 1 deleted, 1 added)
|
|
12
|
+
|
|
13
|
+
**Original Branch:** `main`
|
|
14
|
+
|
|
15
|
+
**New Branch:** `refactor/rename-step-list-to-steplist`
|
|
16
|
+
|
|
17
|
+
### 📦 Renamed Component
|
|
18
|
+
|
|
19
|
+
* `step-list` → `steplist` - Component schema renamed
|
|
20
|
+
|
|
21
|
+
### Changes to steplist schema
|
|
22
|
+
|
|
23
|
+
* **$id**: Changed from `https://opensource.adobe.com/spectrum-tokens/schemas/components/step-list.json` to `https://opensource.adobe.com/spectrum-tokens/schemas/components/steplist.json`
|
|
24
|
+
* **title**: Changed from "Step list" to "Steplist"
|
|
25
|
+
* **documentationUrl**: Changed from `https://spectrum.adobe.com/page/step-list/` to `https://spectrum.adobe.com/page/steplist/`
|
|
26
|
+
|
|
27
|
+
All other properties remain unchanged. This is a non-breaking rename at the schema level, though consumers referencing the old filename will need to update their imports.
|
|
28
|
+
|
|
29
|
+
## 5.0.0
|
|
30
|
+
|
|
31
|
+
### Major Changes
|
|
32
|
+
|
|
33
|
+
* [#614](https://github.com/adobe/spectrum-tokens/pull/614) [`a772572`](https://github.com/adobe/spectrum-tokens/commit/a772572de88c54d279c20d7148f6ac91eb941d2a) Thanks [@AmunMRa](https://github.com/AmunMRa)! - # Component Schemas Changed (9 added, 0 deleted, 3 updated)
|
|
34
|
+
|
|
35
|
+
**Original Branch:** `main`
|
|
36
|
+
|
|
37
|
+
**New Branch:** `feat-batch4-schema-updates`
|
|
38
|
+
|
|
39
|
+
## 🚨 Breaking Changes Detected
|
|
40
|
+
|
|
41
|
+
This PR introduces **2 breaking change(s)** to component schemas. Please review carefully and ensure proper versioning.
|
|
42
|
+
|
|
43
|
+
### 📦 Added Components (9)
|
|
44
|
+
|
|
45
|
+
* `calendar` - New component schema
|
|
46
|
+
* `cards` - New component schema
|
|
47
|
+
* `coach-mark` - New component schema
|
|
48
|
+
* `illustrated-message` - New component schema
|
|
49
|
+
* `list-view` - New component schema
|
|
50
|
+
* `standard-dialog` - New component schema
|
|
51
|
+
* `standard-panel` - New component schema
|
|
52
|
+
* `table` - New component schema
|
|
53
|
+
* `takeover-dialog` - New component schema
|
|
54
|
+
|
|
55
|
+
### 💥 Breaking Updates ⚠️ BREAKING
|
|
56
|
+
|
|
57
|
+
**picker**
|
|
58
|
+
|
|
59
|
+
* Removed: `isReadOnly` property
|
|
60
|
+
|
|
61
|
+
**side-navigation**
|
|
62
|
+
|
|
63
|
+
* Added: `items` (array) - "The list of navigation items."
|
|
64
|
+
* Added: `selectionMode` (string, default: single) - "How selection is handled for items."
|
|
65
|
+
* Added: `required` - \["items"]
|
|
66
|
+
|
|
67
|
+
### 🔄 Non-Breaking Updates
|
|
68
|
+
|
|
69
|
+
**alert-banner**
|
|
70
|
+
|
|
71
|
+
* Added: `variant`
|
|
2
72
|
|
|
3
73
|
## 4.0.0
|
|
4
74
|
|
|
5
75
|
### Major Changes
|
|
6
76
|
|
|
7
|
-
|
|
77
|
+
* [#613](https://github.com/adobe/spectrum-tokens/pull/613) [`433efdd`](https://github.com/adobe/spectrum-tokens/commit/433efdd18f9b0842ae55acac3cd0fbc1e5e5db58) Thanks [@AmunMRa](https://github.com/AmunMRa)! - feat(component-schemas): add 10 new components with breaking changes to existing schemas
|
|
8
78
|
|
|
9
79
|
## Component Schemas Changed (10 added, 0 deleted, 17 updated)
|
|
10
80
|
|
|
@@ -24,7 +94,7 @@
|
|
|
24
94
|
- `drop-zone` - New component schema
|
|
25
95
|
- `number-field` - New component schema
|
|
26
96
|
- `segmented-control` - New component schema
|
|
27
|
-
- `
|
|
97
|
+
- `steplist` - New component schema
|
|
28
98
|
- `tag-field` - New component schema
|
|
29
99
|
- `tag-group` - New component schema
|
|
30
100
|
|
|
@@ -33,86 +103,103 @@
|
|
|
33
103
|
<details open><summary><strong>💥 Breaking Updates ⚠️ BREAKING</strong></summary>
|
|
34
104
|
|
|
35
105
|
**checkbox-group**
|
|
36
|
-
|
|
106
|
+
|
|
107
|
+
* Removed: `isReadOnly` property
|
|
37
108
|
|
|
38
109
|
**combo-box**
|
|
39
|
-
|
|
40
|
-
|
|
110
|
+
|
|
111
|
+
* Added: `labelPosition`
|
|
112
|
+
* Removed: `isQuiet` property
|
|
41
113
|
|
|
42
114
|
**contextual-help**
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
115
|
+
|
|
116
|
+
* Added: `href` (string) - "Optional URL within contextual help content like a 'Learn more' link."
|
|
117
|
+
* Removed: `popoverOffset` property
|
|
118
|
+
* Updated: `popoverOffset` - default changed to "8"
|
|
46
119
|
|
|
47
120
|
**radio-button**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
121
|
+
|
|
122
|
+
* Added: `label` - "The text displayed next to a radio button."
|
|
123
|
+
* Removed: `label` property
|
|
124
|
+
* Updated: `label`
|
|
51
125
|
|
|
52
126
|
**radio-group**
|
|
53
|
-
|
|
127
|
+
|
|
128
|
+
* Removed: `isReadOnly` property
|
|
54
129
|
|
|
55
130
|
**tabs**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
131
|
+
|
|
132
|
+
* Added: `items` (array) - "An array of tab items."
|
|
133
|
+
* Removed: `size` property
|
|
134
|
+
* Removed: `density` property
|
|
135
|
+
* Removed: `isFluid` property
|
|
136
|
+
* Removed: `isQuiet` property
|
|
137
|
+
* Removed: `isEmphasized` property
|
|
138
|
+
* Removed: `alignment` property
|
|
139
|
+
* Removed: `selectedItem` property
|
|
140
|
+
* Removed: `keyboardActivation` property
|
|
141
|
+
* Updated: `orientation` - default changed to "horizontal"
|
|
66
142
|
|
|
67
143
|
**tree-view**
|
|
68
|
-
|
|
69
|
-
|
|
144
|
+
|
|
145
|
+
* Added: `isEmphasized` (boolean)
|
|
146
|
+
* Removed: `emphasized` property
|
|
70
147
|
|
|
71
148
|
</details>
|
|
72
149
|
|
|
73
150
|
<details><summary><strong>🔄 Non-Breaking Updates</strong></summary>
|
|
74
151
|
|
|
75
152
|
**breadcrumbs**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
153
|
+
|
|
154
|
+
* Added: `isMultiline` (boolean) - "If true, the breadcrumb items will wrap to multiple lines."
|
|
155
|
+
* Added: `size` (string, default: m) - "Controls the overall size of the breadcrumb component."
|
|
156
|
+
* Added: `items` (array) - "An array of breadcrumb items."
|
|
157
|
+
* Added: `separator` (string, default: chevron) - "The separator icon used between breadcrumb items."
|
|
158
|
+
* Added: `isTruncated` (boolean) - "If true, the breadcrumb item is truncated and displayed as icon only."
|
|
159
|
+
* Added: `sizeOverride` (string) - "Overrides the size of the breadcrumb items when isMultiline is true."
|
|
82
160
|
|
|
83
161
|
**menu**
|
|
84
|
-
|
|
85
|
-
|
|
162
|
+
|
|
163
|
+
* Updated: `container` - removed `default: null`
|
|
164
|
+
* Updated: `selectionMode` - removed `default: null` and added `"no selection"` to enum
|
|
86
165
|
|
|
87
166
|
**button-group**
|
|
88
|
-
|
|
167
|
+
|
|
168
|
+
* Added: `overflowMode` (string, default: wrap)
|
|
89
169
|
|
|
90
170
|
**color-slider**
|
|
91
|
-
|
|
92
|
-
|
|
171
|
+
|
|
172
|
+
* Added: `channel` (string, default: hue) - "Which channel of the color this slider controls. Use 'alpha' for opacity."
|
|
173
|
+
* Updated: `value` - "Number (from minValue to maxValue)."
|
|
93
174
|
|
|
94
175
|
**divider**
|
|
95
|
-
|
|
176
|
+
|
|
177
|
+
* Updated: `size` - default changed to "s"
|
|
96
178
|
|
|
97
179
|
**in-line-alert**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
180
|
+
|
|
181
|
+
* Added: `style` (string, default: outline) - "The visual style of the alert."
|
|
182
|
+
* Added: `href` (string) - "Optional URL within in-line alert content like a 'Learn more' link."
|
|
183
|
+
* Added: `heading` (string) - "Optional heading text displayed at the top of the alert."
|
|
184
|
+
* Added: `actionLabel` (string) - "If undefined, this button does not appear."
|
|
185
|
+
* Updated: `variant`
|
|
103
186
|
|
|
104
187
|
**slider**
|
|
105
|
-
|
|
188
|
+
|
|
189
|
+
* Added: `isRange` (boolean) - "If true, the slider will allow selection of a range of values by displaying two handles."
|
|
106
190
|
|
|
107
191
|
**swatch-group**
|
|
108
|
-
|
|
192
|
+
|
|
193
|
+
* Added: `cornerRadius` (string, default: none) - "Determines the corner radius of each swatch in the group. Partial refers to corner-radius-75."
|
|
109
194
|
|
|
110
195
|
**swatch**
|
|
111
|
-
|
|
112
|
-
|
|
196
|
+
|
|
197
|
+
* Added: `cornerRounding` - "Determines the corner radius of the swatch. Partial refers to corner-radius-75."
|
|
198
|
+
* Updated: `cornerRounding` - default changed to "none"
|
|
113
199
|
|
|
114
200
|
**text-field**
|
|
115
|
-
|
|
201
|
+
|
|
202
|
+
* Updated: `isError` - "If there is an error, this property overrides show valid icon."
|
|
116
203
|
|
|
117
204
|
</details>
|
|
118
205
|
|
|
@@ -120,7 +207,7 @@
|
|
|
120
207
|
|
|
121
208
|
### Major Changes
|
|
122
209
|
|
|
123
|
-
|
|
210
|
+
* [#610](https://github.com/adobe/spectrum-tokens/pull/610) [`13d9202`](https://github.com/adobe/spectrum-tokens/commit/13d920273c02c78d3748522de6a7c7ee39b39814) Thanks [@GarthDB](https://github.com/GarthDB)! - Component schema improvements for Batch 1 components
|
|
124
211
|
|
|
125
212
|
Quality control pass on the Design API table for v0, ensuring schema consistency and completeness across S2 components.
|
|
126
213
|
|
|
@@ -136,26 +223,31 @@
|
|
|
136
223
|
<details open><summary><strong>💥 Breaking Updates</strong></summary>
|
|
137
224
|
|
|
138
225
|
**popover**
|
|
139
|
-
|
|
226
|
+
|
|
227
|
+
* Added: `hideTip` (boolean, default: false) - replaces removed `showTip`
|
|
140
228
|
|
|
141
229
|
**rating**
|
|
142
|
-
|
|
143
|
-
|
|
230
|
+
|
|
231
|
+
* Added: `value.minimum` (0), `value.maximum` (5), `value.multipleOf` (0.5)
|
|
232
|
+
* Updated: `value.description` - "From 0 to 5, can be a decimal to represent half stars"
|
|
144
233
|
|
|
145
234
|
**select-box**
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
235
|
+
|
|
236
|
+
* Added: `hideIllustration` (boolean, default: false) - replaces removed `showIllustration`
|
|
237
|
+
* Added: `isDisabled` (boolean, default: false)
|
|
238
|
+
* Added: `multiple` (boolean, default: false) - "Set to true to allow multiple selections"
|
|
239
|
+
* Updated: `orientation.default` changed to "vertical"
|
|
150
240
|
|
|
151
241
|
**status-light**
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
242
|
+
|
|
243
|
+
* Added: Colors to `variant.enum`: "gray", "red", "orange", "green", "cyan"
|
|
244
|
+
* Added: `required` - \["label"] - label is now required
|
|
245
|
+
* Removed: `isDisabled` property
|
|
155
246
|
|
|
156
247
|
**tooltip**
|
|
157
|
-
|
|
158
|
-
|
|
248
|
+
|
|
249
|
+
* Removed: "positive" from `variant.enum`
|
|
250
|
+
* Updated: `hasIcon.description` - "If the neutral variant, there is never an icon"
|
|
159
251
|
|
|
160
252
|
</details>
|
|
161
253
|
|
|
@@ -164,26 +256,32 @@
|
|
|
164
256
|
<details><summary><strong>🔄 Compatible Changes</strong></summary>
|
|
165
257
|
|
|
166
258
|
**help-text**
|
|
167
|
-
|
|
168
|
-
|
|
259
|
+
|
|
260
|
+
* Added: "negative" to `variant.enum`
|
|
261
|
+
* Added: `isDisabled.description` - "Help text cannot be both disabled and negative variant"
|
|
169
262
|
|
|
170
263
|
**meter**
|
|
171
|
-
|
|
264
|
+
|
|
265
|
+
* Added: `hideLabel` (boolean, default: false)
|
|
172
266
|
|
|
173
267
|
**progress-bar**
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
268
|
+
|
|
269
|
+
* Added: `staticColor` (string, enum: \["white"]) - "Static color can only be white, otherwise it is default"
|
|
270
|
+
* Added: `labelPosition` (string, enum: \["top", "side"], default: "top")
|
|
271
|
+
* Added: `hideLabel` (boolean, default: false)
|
|
177
272
|
|
|
178
273
|
**search-field**
|
|
179
|
-
|
|
180
|
-
|
|
274
|
+
|
|
275
|
+
* Added: `hideLabel` (boolean, default: false)
|
|
276
|
+
* Added: `icon` ($ref: workflow-icon.json) - "Icon must be present if the label is not defined"
|
|
181
277
|
|
|
182
278
|
**text-area**
|
|
183
|
-
|
|
279
|
+
|
|
280
|
+
* Added: `hideLabel` (boolean, default: false)
|
|
184
281
|
|
|
185
282
|
**text-field**
|
|
186
|
-
|
|
283
|
+
|
|
284
|
+
* Added: `hideLabel` (boolean, default: false)
|
|
187
285
|
|
|
188
286
|
</details>
|
|
189
287
|
|
|
@@ -191,120 +289,126 @@
|
|
|
191
289
|
|
|
192
290
|
### Major Changes
|
|
193
291
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
292
|
+
* [#581](https://github.com/adobe/spectrum-tokens/pull/581) [`163fe7c`](https://github.com/adobe/spectrum-tokens/commit/163fe7c13bb00c639d202195a398126b6c25b58f) Thanks [@GarthDB](https://github.com/GarthDB)! - feat(component-schemas): add S2 Batch 2 components with breaking changes
|
|
293
|
+
* Add 6 new component schemas (coach-indicator, in-field-progress-button, etc.)
|
|
294
|
+
* Update avatar, badge, and checkbox components with breaking changes
|
|
295
|
+
* Expand size options and add new interaction states
|
|
296
|
+
* Major version bump required due to breaking schema changes
|
|
199
297
|
|
|
200
298
|
## 1.0.2
|
|
201
299
|
|
|
202
300
|
### Patch Changes
|
|
203
301
|
|
|
204
|
-
|
|
302
|
+
* [#545](https://github.com/adobe/spectrum-tokens/pull/545) [`ebc79f6`](https://github.com/adobe/spectrum-tokens/commit/ebc79f6f91bce28a64cddfc2cc5548ddcf30389d) Thanks [@GarthDB](https://github.com/GarthDB)! - Fixed a typo where meter had `valueLable` instead of `valueLabel`.
|
|
205
303
|
|
|
206
304
|
## 1.0.1
|
|
207
305
|
|
|
208
306
|
### Patch Changes
|
|
209
307
|
|
|
210
|
-
|
|
308
|
+
* [#523](https://github.com/adobe/spectrum-tokens/pull/523) [`9c5a2ac`](https://github.com/adobe/spectrum-tokens/commit/9c5a2ac5fccb29b6f106396b21d91aab949043d4) Thanks [@GarthDB](https://github.com/GarthDB)! - S2 components batch 1 (part 2)
|
|
211
309
|
|
|
212
310
|
## Changes
|
|
213
311
|
|
|
214
312
|
### Properties added
|
|
215
|
-
|
|
216
|
-
|
|
313
|
+
|
|
314
|
+
* component: select-box
|
|
315
|
+
* `body`
|
|
217
316
|
|
|
218
317
|
### Properties updated
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
318
|
+
|
|
319
|
+
* component: text-area
|
|
320
|
+
* `errorMessage`
|
|
321
|
+
* removed: `"default": null`
|
|
222
322
|
|
|
223
323
|
## 1.0.0
|
|
224
324
|
|
|
225
325
|
### Major Changes
|
|
226
326
|
|
|
227
|
-
|
|
327
|
+
* [#520](https://github.com/adobe/spectrum-tokens/pull/520) [`2964807`](https://github.com/adobe/spectrum-tokens/commit/2964807641908e40820bea0556b3b0542503223b) Thanks [@GarthDB](https://github.com/GarthDB) and [@AmunMRa](https://github.com/AmunMRa)! - S2 components batch 1
|
|
228
328
|
|
|
229
329
|
## Changes
|
|
230
330
|
|
|
231
331
|
### Properties Added
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
332
|
+
|
|
333
|
+
* component: search-field
|
|
334
|
+
* `helpText`
|
|
335
|
+
* `placeholder`
|
|
336
|
+
* `state`:
|
|
337
|
+
* `down`
|
|
338
|
+
* component: status-light
|
|
339
|
+
* `variant`
|
|
340
|
+
* `seafoam`
|
|
341
|
+
* `pink`
|
|
342
|
+
* `turquoise`
|
|
343
|
+
* `cinnamon`
|
|
344
|
+
* `brown`
|
|
345
|
+
* `silver`
|
|
346
|
+
* component: text-area
|
|
347
|
+
* `helpText`
|
|
348
|
+
* component: text-field
|
|
349
|
+
* `helpText`
|
|
249
350
|
|
|
250
351
|
### Properties removed
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
352
|
+
|
|
353
|
+
* component: search-field
|
|
354
|
+
* `isQuiet`
|
|
355
|
+
* component: text-area
|
|
356
|
+
* `isQuiet`
|
|
357
|
+
* `isReadOnly`
|
|
358
|
+
* component: text-field
|
|
359
|
+
* `isQuiet`
|
|
360
|
+
* `isReadOnly`
|
|
259
361
|
|
|
260
362
|
### Properties updated
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
363
|
+
|
|
364
|
+
* component: meter
|
|
365
|
+
* `size`:
|
|
366
|
+
* `enum`: `["small", "large"]` -> `["s", "m", "l", "xl"]`
|
|
367
|
+
* `default`: `large` -> `m`
|
|
368
|
+
* component: popover
|
|
369
|
+
* `showTip`:
|
|
370
|
+
* `default`: `false` -> `true`
|
|
371
|
+
* `placement`:
|
|
372
|
+
* `default`: `bottom` -> `top`
|
|
373
|
+
* `offset`:
|
|
374
|
+
* `default`: `6` -> `8`
|
|
272
375
|
|
|
273
376
|
### New Component
|
|
274
|
-
|
|
377
|
+
|
|
378
|
+
* select-box
|
|
275
379
|
|
|
276
380
|
## 0.0.0
|
|
277
381
|
|
|
278
382
|
### Minor Changes
|
|
279
383
|
|
|
280
|
-
|
|
384
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`71e674a`](https://github.com/adobe/spectrum-tokens/commit/71e674ad6baa630a900785ae21c9dcae93233b21) Thanks [@karstens](https://github.com/karstens)! - Release to latest branch
|
|
281
385
|
|
|
282
386
|
## 0.0.0-schema-20240821152525
|
|
283
387
|
|
|
284
388
|
### Patch Changes
|
|
285
389
|
|
|
286
|
-
|
|
390
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`dc2d6c6`](https://github.com/adobe/spectrum-tokens/commit/dc2d6c6e12c1ea4fdc0d891b3fd50ea0b1697dd7) Thanks [@karstens](https://github.com/karstens)! - Making adjustments to bring the schema more in line with what was on the spectrum website.
|
|
287
391
|
|
|
288
392
|
## 0.0.0-schema-20240620220450
|
|
289
393
|
|
|
290
394
|
### Minor Changes
|
|
291
395
|
|
|
292
|
-
|
|
396
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`64379eb`](https://github.com/adobe/spectrum-tokens/commit/64379ebeaf9402fe77ca1adfd020f42df60c60d9) Thanks [@karstens](https://github.com/karstens)! - Added schema for search-field and fixed some path bugs in testing
|
|
293
397
|
|
|
294
398
|
## 0.0.0-schema-20240618053842
|
|
295
399
|
|
|
296
400
|
### Minor Changes
|
|
297
401
|
|
|
298
|
-
|
|
402
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`b5c1579`](https://github.com/adobe/spectrum-tokens/commit/b5c15792ec5f5e5c269bfa7bf58af3df42e648c1) Thanks [@karstens](https://github.com/karstens)! - Initial release
|
|
299
403
|
|
|
300
404
|
## 0.0.0-schema-20240614194147
|
|
301
405
|
|
|
302
406
|
### Patch Changes
|
|
303
407
|
|
|
304
|
-
|
|
408
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`9805167`](https://github.com/adobe/spectrum-tokens/commit/980516791c0bef9e2f0bbeffe6515f103f3ad7a2) Thanks [@karstens](https://github.com/karstens)! - fixed some bugs
|
|
305
409
|
|
|
306
410
|
## 0.0.0-schema-20240613154750
|
|
307
411
|
|
|
308
412
|
### Patch Changes
|
|
309
413
|
|
|
310
|
-
|
|
414
|
+
* [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`6ff5ad7`](https://github.com/adobe/spectrum-tokens/commit/6ff5ad7a75356f4b93d07a2818b357da19ce5b4b) Thanks [@karstens](https://github.com/karstens)! - Initial release
|
package/package.json
CHANGED
|
@@ -11,22 +11,12 @@
|
|
|
11
11
|
"properties": {
|
|
12
12
|
"state": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"enum": [
|
|
15
|
-
"default",
|
|
16
|
-
"hover",
|
|
17
|
-
"down",
|
|
18
|
-
"keyboard focus"
|
|
19
|
-
],
|
|
14
|
+
"enum": ["default", "hover", "down", "keyboard focus"],
|
|
20
15
|
"default": "default"
|
|
21
16
|
},
|
|
22
17
|
"size": {
|
|
23
18
|
"type": "string",
|
|
24
|
-
"enum": [
|
|
25
|
-
"s",
|
|
26
|
-
"m",
|
|
27
|
-
"l",
|
|
28
|
-
"xl"
|
|
29
|
-
],
|
|
19
|
+
"enum": ["s", "m", "l", "xl"],
|
|
30
20
|
"default": "m"
|
|
31
21
|
},
|
|
32
22
|
"isQuiet": {
|
|
@@ -39,11 +29,7 @@
|
|
|
39
29
|
},
|
|
40
30
|
"density": {
|
|
41
31
|
"type": "string",
|
|
42
|
-
"enum": [
|
|
43
|
-
"compact",
|
|
44
|
-
"regular",
|
|
45
|
-
"spacious"
|
|
46
|
-
],
|
|
32
|
+
"enum": ["compact", "regular", "spacious"],
|
|
47
33
|
"default": "regular"
|
|
48
34
|
},
|
|
49
35
|
"items": {
|
|
@@ -76,9 +62,7 @@
|
|
|
76
62
|
"description": "If true, the accordion item includes an action button."
|
|
77
63
|
}
|
|
78
64
|
},
|
|
79
|
-
"required": [
|
|
80
|
-
"label"
|
|
81
|
-
]
|
|
65
|
+
"required": ["label"]
|
|
82
66
|
}
|
|
83
67
|
},
|
|
84
68
|
"isMultiple": {
|
|
@@ -1,30 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
|
|
3
|
+
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/avatar-group.json",
|
|
4
|
+
"title": "Avatar group",
|
|
5
|
+
"description": "Avatar groups display a collection of avatars representing people or entities.",
|
|
6
|
+
"meta": {
|
|
7
|
+
"category": "actions",
|
|
8
|
+
"documentationUrl": "https://spectrum.adobe.com/page/avatar-group/"
|
|
9
|
+
},
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"label": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Optional text label displayed with the avatar group (e.g., group name)."
|
|
9
15
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"description": "Optional text label displayed with the avatar group (e.g., group name)."
|
|
15
|
-
},
|
|
16
|
-
"size": {
|
|
17
|
-
"type": "number",
|
|
18
|
-
"enum": [
|
|
19
|
-
50,
|
|
20
|
-
75,
|
|
21
|
-
100,
|
|
22
|
-
200,
|
|
23
|
-
300,
|
|
24
|
-
400,
|
|
25
|
-
500
|
|
26
|
-
],
|
|
27
|
-
"default": 100
|
|
28
|
-
}
|
|
16
|
+
"size": {
|
|
17
|
+
"type": "number",
|
|
18
|
+
"enum": [50, 75, 100, 200, 300, 400, 500],
|
|
19
|
+
"default": 100
|
|
29
20
|
}
|
|
21
|
+
}
|
|
30
22
|
}
|