@@ -109,6 +109,16 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
109
109
| ------| ------------| --------| ----------|
110
110
| isDisabled | – | 🔴 ` boolean ` | Focusable/interactive Avatars aren't supported in S2 yet. |
111
111
| size | – | 🔴 ` 'avatar-size-100' \| 'avatar-size-200' \| 'avatar-size-300' \| 'avatar-size-400' \| 'avatar-size-50' \| 'avatar-size-500' \| 'avatar-size-600' \| 'avatar-size-700' \| 'avatar-size-75' \| (string & {<br> <br>}) \| number ` | This prop has been removed in favor of providing a size via the ` styles ` prop. |
112
+ ## Breadcrumbs
113
+
114
+ | Prop | Spectrum 2 | RSP v3 | Comments |
115
+ | ------| ------------| --------| ----------|
116
+ | dependencies | 🟢 ` Array<any> ` | – | |
117
+ | slot | 🟢 ` null \| string ` | – | |
118
+ | size | 🟢 ` 'L' \| 'M' ` | 🔴 ` 'L' \| 'M' \| 'S' ` | Small is no longer supported in Spectrum Design. |
119
+ | showRoot | – | 🔴 ` boolean ` | Not yet implemented in S2. |
120
+ | isMultiline | – | 🔴 ` boolean ` | Not yet implemented in S2. |
121
+ | autoFocusCurrent | – | 🔴 ` boolean ` | Not yet implemented in S2. |
112
122
## ButtonGroup
113
123
114
124
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -127,9 +137,40 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
127
137
| Prop | Spectrum 2 | RSP v3 | Comments |
128
138
| ------| ------------| --------| ----------|
129
139
| size | 🟢 ` 'L' \| 'M' \| 'S' \| 'XL' ` | – | |
140
+ ## ColorArea
141
+
142
+ | Prop | Spectrum 2 | RSP v3 | Comments |
143
+ | ------| ------------| --------| ----------|
144
+ | slot | 🟢 ` null \| string ` | – | |
145
+ | size | – | 🔴 ` DimensionValue ` | Set size via ` style ` macro instead. |
146
+ ## ColorWheel
147
+
148
+ | Prop | Spectrum 2 | RSP v3 | Comments |
149
+ | ------| ------------| --------| ----------|
150
+ | size | 🟢 ` number ` | 🔴 ` DimensionValue ` | Use pixel values instead. |
151
+ | slot | 🟢 ` null \| string ` | – | |
152
+ ## ColorSlider
153
+
154
+ | Prop | Spectrum 2 | RSP v3 | Comments |
155
+ | ------| ------------| --------| ----------|
156
+ | label | 🟢 ` string ` | 🔴 ` ReactNode ` | |
157
+ | slot | 🟢 ` null \| string ` | – | |
158
+ | showValueLabel | – | 🔴 ` boolean ` | Removed for accessibility reasons. |
159
+ ## ColorField
160
+
161
+ | Prop | Spectrum 2 | RSP v3 | Comments |
162
+ | ------| ------------| --------| ----------|
163
+ | size | 🟢 ` 'L' \| 'M' \| 'S' \| 'XL' ` | – | |
164
+ | isInvalid | 🟢 ` boolean ` | – | |
165
+ | slot | 🟢 ` null \| string ` | – | |
166
+ | isQuiet | – | 🔴 ` boolean ` | Not supported in S2 design. |
167
+ | placeholder | – | 🔴 ` string ` | Removed for accessibility reasons. |
168
+ | validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
169
+ ## ColorSwatch
170
+
171
+ | Prop | Spectrum 2 | RSP v3 | Comments |
172
+ | ------| ------------| --------| ----------|
130
173
| slot | 🟢 ` null \| string ` | – | |
131
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
132
- | showErrorIcon | – | 🔴 ` boolean ` | Removed for accessibility reasons. |
133
174
## ComboBox
134
175
135
176
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -142,8 +183,12 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
142
183
| loadingState | – | 🔴 ` LoadingState ` | Not yet implemented in S2. |
143
184
| placeholder | – | 🔴 ` string ` | Removed for accessibility reasons. |
144
185
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
145
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
146
186
| onLoadMore | – | 🔴 ` () => any ` | Not yet implemented in S2. |
187
+ ## ContextualHelp
188
+
189
+ | Prop | Spectrum 2 | RSP v3 | Comments |
190
+ | ------| ------------| --------| ----------|
191
+ | size | 🟢 ` 'S' \| 'XS' ` | – | |
147
192
## Dialog
148
193
149
194
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -240,7 +285,6 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
240
285
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
241
286
| isLoading | – | 🔴 ` boolean ` | Not yet implemented in S2. |
242
287
| onLoadMore | – | 🔴 ` () => any ` | Not yet implemented in S2. |
243
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
244
288
## ProgressBar
245
289
246
290
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -270,7 +314,6 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
270
314
| slot | 🟢 ` null \| string ` | – | |
271
315
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
272
316
| showErrorIcon | – | 🔴 ` boolean ` | Removed for accessibility reasons. |
273
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
274
317
## SearchField
275
318
276
319
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -282,7 +325,34 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
282
325
| icon | – | 🔴 ` ReactElement \| null ` | Not yet implemented in S2. |
283
326
| isQuiet | – | 🔴 ` boolean ` | Not supported in S2 design. |
284
327
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
285
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
328
+ ## Slider
329
+
330
+ | Prop | Spectrum 2 | RSP v3 | Comments |
331
+ | ------| ------------| --------| ----------|
332
+ | size | 🟢 ` 'L' \| 'M' \| 'S' \| 'XL' ` | – | |
333
+ | labelAlign | 🟢 ` Alignment ` | – | |
334
+ | isEmphasized | 🟢 ` boolean ` | – | |
335
+ | trackStyle | 🟢 ` 'thick' \| 'thin' ` | – | |
336
+ | thumbStyle | 🟢 ` 'default' \| 'precise' ` | – | |
337
+ | slot | 🟢 ` null \| string ` | – | |
338
+ | isFilled | – | 🔴 ` boolean ` | Always filled in S2 design. |
339
+ | trackGradient | – | 🔴 ` Array<string> ` | Not supported in S2 design. |
340
+ | showValueLabel | – | 🔴 ` boolean ` | Removed for accessibility reasons. |
341
+ | getValueLabel | – | 🔴 ` (number) => string ` | Not yet implemented in S2. |
342
+ | orientation | – | 🔴 ` Orientation ` | Not yet implemented in S2. |
343
+ ## RangeSlider
344
+
345
+ | Prop | Spectrum 2 | RSP v3 | Comments |
346
+ | ------| ------------| --------| ----------|
347
+ | size | 🟢 ` 'L' \| 'M' \| 'S' \| 'XL' ` | – | |
348
+ | labelAlign | 🟢 ` Alignment ` | – | |
349
+ | isEmphasized | 🟢 ` boolean ` | – | |
350
+ | trackStyle | 🟢 ` 'thick' \| 'thin' ` | – | |
351
+ | thumbStyle | 🟢 ` 'default' \| 'precise' ` | – | |
352
+ | slot | 🟢 ` null \| string ` | – | |
353
+ | showValueLabel | – | 🔴 ` boolean ` | Removed for accessibility reasons. |
354
+ | getValueLabel | – | 🔴 ` (RangeValue<number>) => string ` | Not yet implemented in S2. |
355
+ | orientation | – | 🔴 ` Orientation ` | Not yet implemented in S2. |
286
356
## StatusLight
287
357
288
358
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -314,7 +384,6 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
314
384
| actionLabel | – | 🔴 ` string ` | Not yet implemented in S2.|
315
385
| onAction | – | 🔴 ` () => void ` | Not yet implemented in S2. |
316
386
| maxRows | – | 🔴 ` number ` | Not yet implemented in S2. |
317
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
318
387
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
319
388
## TextArea
320
389
@@ -327,7 +396,6 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
327
396
| isQuiet | – | 🔴 ` boolean ` | Not supported in S2 design. |
328
397
| placeholder | – | 🔴 ` string ` | Removed for accessibility reasons. |
329
398
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
330
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
331
399
## TextField
332
400
333
401
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -339,7 +407,6 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
339
407
| isQuiet | – | 🔴 ` boolean ` | Not supported in S2 design. |
340
408
| placeholder | – | 🔴 ` string ` | Removed for accessibility reasons. |
341
409
| validationState | – | 🔴 ` ValidationState ` | Use ` isInvalid ` instead. |
342
- | contextualHelp | – | 🔴 ` ReactNode ` | Not yet implemented in S2. |
343
410
## Tooltip
344
411
345
412
| Prop | Spectrum 2 | RSP v3 | Comments |
@@ -354,19 +421,27 @@ React Spectrum v3 [style props](https://react-spectrum.adobe.com/react-spectrum/
354
421
| Prop | Spectrum 2 | RSP v3 | Comments |
355
422
| ------| ------------| --------| ----------|
356
423
| placement | 🟢 ` 'bottom' \| 'end' \| 'left' \| 'right' \| 'start' \| 'top' ` | 🔴 ` 'bottom' \| 'bottom left' \| 'bottom right' \| 'bottom start' \| 'bottom end' \| 'top' \| 'top left' \| 'top right' \| 'top start' \| 'top end' \| 'left' \| 'left top' \| 'left bottom' \| 'start' \| 'start top' \| 'start bottom' \| 'right' \| 'right top' \| 'right bottom' \| 'end' \| 'end top' \| 'end bottom' ` | |
357
-
358
424
## Item
359
425
360
426
The v3 ` Item ` component has been split into multiple components depending on the type of collection it is within. These include:
361
427
362
428
* MenuItem
429
+ * PickerItem
430
+ * ComboBoxItem
431
+ * Breadcrumb
363
432
* Tag
364
433
365
434
In addition, the ` key ` prop has been renamed to ` id ` on all item components.
366
435
367
436
## Section
368
437
369
- The v3 ` Section ` component used in ` Menu ` is now named ` MenuSection ` . This accepts a ` Header ` as a child instead of a ` title ` prop. Both a heading and description are now supported within a section header.
438
+ The v3 ` Section ` component has been split into multiple components depending on the type of collection it is within. These include:
439
+
440
+ * MenuSection
441
+ * PickerSection
442
+ * ComboBoxSection
443
+
444
+ The section components accept a ` Header ` as a child instead of a ` title ` prop. Both a heading and description are now supported within a section header.
370
445
371
446
``` jsx
372
447
< MenuSection>
0 commit comments