Skip to content

Commit db0d317

Browse files
jawinncastastrophe
authored andcommitted
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 b268892 commit db0d317

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

components/actionbutton/metadata/actionbutton.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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/fieldlabel/metadata/fieldlabel.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)