Skip to content

Commit 13e54aa

Browse files
authored
docs: update migration guide headings (#2638)
Remove dates from in front of version numbers on migration guides, as we're adjusting to this format going forward. Includes removal of the placeholder "x/x/2024" dates that were added. The button component was excluded from this update as they're already removed in the button s2 migration PR.
1 parent 9c147fc commit 13e54aa

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

components/actionbutton/metadata/actionbutton.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sections:
1212
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/actionbutton/metadata/mods.md">here</a>.
1313
- name: Migration Guide
1414
description: |
15-
### x/x/2024 - Version 6.0.0
15+
### Version 6.0.0
1616
#### Spectrum 2 release
1717
Action button now uses Spectrum 2 tokens and specifications. A few notable changes:
1818
- The mod custom property `--mod-line-height-100` has been renamed to `--mod-button-line-height`.

components/buttongroup/metadata/buttongroup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/
33
sections:
44
- name: Migration Guide
55
description: |
6-
### 1/24/2024 - Version 7.0.0
6+
### Version 7.0.0
77
#### Spectrum 2 migration also removed `.spectrum-ButtonGroup--sizeM`, `.spectrum-ButtonGroup--sizeL`, and `.spectrum-ButtonGroup--sizeXL`
88
Since each of these classes were using the same tokens for spacing, these classes were removed.
99
- name: Custom Properties API

components/closebutton/metadata/closebutton.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sections:
88
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/closebutton/metadata/mods.md">here</a>.
99
- name: Migration Guide
1010
description: |
11-
### x/x/2024 - Version 5.0.0
11+
### Version 5.0.0
1212
#### Spectrum 2 release
1313
Close button now uses Spectrum 2 tokens and specifications. A few notable changes and additions:
1414
* Removes all static-specific `--mod` custom properties since they are no longer needed. The existing background-color mods can be used instead:
@@ -32,11 +32,11 @@ sections:
3232
* The mod custom property `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`.
3333
* The regular and large "Icon size" variants have been removed.
3434
35-
### 8/16/2023 - Version 4.0.0
35+
### Version 4.0.0
3636
#### Remove focus-ring class
3737
We've migrated away from the focus-ring class in favor of the native `:focus-visible` pseudo-class due to changes in browser support.
3838
39-
### 8/3/2022 - Version 2.0.0
39+
### Version 2.0.0
4040
#### Sizing and Spectrum tokens migration
4141
Close button was migrated to use Spectrum tokens. Close button now supports different sizes. By default, the following icons should be used for each size:
4242

components/fieldlabel/metadata/fieldlabel.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ sections:
66
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/fieldlabel/metadata/mods.md">here</a>.
77
- name: Migration Guide
88
description: |
9-
### x/x/2024 - Version 8.0.0
9+
### Version 8.0.0
1010
#### Spectrum 2 release
1111
Field label now uses Spectrum 2 tokens and specifications. A few notable changes and additions:
1212
- The medium size styles are used by default, so the `spectrum-FieldLabel--sizeM` class is no longer necessary and has been removed.
1313
- Two variant classes have been added for black and white static colors.
1414
- The mod custom property `--mod-disabled-content-color` has been renamed to `--mod-field-label-disabled-content-color`.
1515
16-
### 11/13/2020 - Version 3.0.0
16+
### Version 3.0.0
1717
#### T-shirt sizing
1818
Field label now supports t-shirt sizing and requires that you specify the size by adding a `.spectrum-FieldLabel--size*` class.
1919
examples:

components/fieldlabel/metadata/form.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sections:
66
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/fieldlabel/metadata/mods.md">here</a>.
77
- name: Migration Guide
88
description: |
9-
### x/x/2024 - Version 8.0.0
9+
### Version 8.0.0
1010
#### Spectrum 2 release
1111
The renamed mod properties previously marked as deprecated have been removed:
1212
- `--mod-tableform-item-block-spacing` has been renamed to `--mod-form-item-block-spacing`

components/logicbutton/metadata/logicbutton.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: A LogicButton displays an operator within a boolean logic sequence.
44
sections:
55
- name: Migration Guide
66
description: |
7-
### x/x/2024 - Version 4.0.0
7+
### Version 4.0.0
88
#### Spectrum 2 release
99
Logic button now uses Spectrum 2 tokens and specifications. A few notable changes:
1010
- The mod custom property `--mod-line-height-100` has been renamed to `--mod-button-line-height`.
1111
- The mod custom property `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`.
1212
- The mod custom property `--mod-focus-indicator-gap` has been renamed to `--mod-button-focus-indicator-gap`.
1313
- The mod custom property `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`.
1414
15-
### 8/16/2023 - Version 2.0.0
15+
### Version 2.0.0
1616
#### Remove focus-ring class
1717
We've migrated away from the focus-ring class in favor of the native `:focus-visible` pseudo-class due to changes in browser support.
1818
examples:

components/picker/metadata/picker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sections:
77
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/picker/metadata/mods.md">here</a>.
88
- name: Migration Guide
99
description: |
10-
### x/x/2024 - Version 8.0.0
10+
### Version 8.0.0
1111
#### Spectrum 2 release
1212
Picker now uses Spectrum 2 tokens and specifications. A few notable changes:
1313
- The mod custom property `--mod-line-height-100` has been renamed to `--mod-button-line-height`.

0 commit comments

Comments
 (0)