Skip to content

Commit 26d538f

Browse files
authored
Merge branch 'main' into JinMokai/3571-remove-radio-invalid
2 parents 1223741 + 4e3f63e commit 26d538f

File tree

2,248 files changed

+220428
-188110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,248 files changed

+220428
-188110
lines changed

.changeset/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ Changesets are a way to manage versions and changelogs for monorepos. Each chang
1616

1717
1. Make your changes to the codebase
1818
2. Run the following command:
19-
```bash
20-
yarn changeset
21-
```
19+
```bash
20+
yarn changeset
21+
```
2222
3. Follow the prompts:
23-
- Select the packages that have changed
24-
- Choose the type of change for each package:
25-
- `major` (breaking changes)
26-
- `minor` (new features)
27-
- `patch` (bug fixes)
28-
- Write a summary of the changes
23+
- Select the packages that have changed
24+
- Choose the type of change for each package:
25+
- `major` (breaking changes)
26+
- `minor` (new features)
27+
- `patch` (bug fixes)
28+
- Write a summary of the changes
2929

3030
The command will create a new markdown file in the `.changeset` directory with your changes.
3131

@@ -62,9 +62,9 @@ We have a quick list of common questions to get you started engaging with this p
6262
1. Changesets are collected in PRs
6363
2. When PRs are merged, the changesets are accumulated
6464
3. During release, changesets are used to:
65-
- Determine new version numbers
66-
- Generate changelogs
67-
- Update package.json files
65+
- Determine new version numbers
66+
- Generate changelogs
67+
- Update package.json files
6868

6969
## Additional Resources
7070

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@spectrum-web-components/color-area': patch
3+
---
4+
5+
**Fixed**: Corrected an issue where the brightness axis in `ColorArea` was inverted on the Y-axis, causing the handle position to not match the expected brightness value. Dragging the handle now correctly maps to the HSV brightness scale.

.changeset/config.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
3-
"changelog": [
4-
"@changesets/changelog-github",
5-
{
6-
"repo": "adobe/spectrum-web-components"
7-
}
8-
],
9-
"commit": false,
10-
"fixed": [
11-
[
12-
"@spectrum-web-components/*",
13-
"!@spectrum-web-components/core",
14-
"!@spectrum-web-components/1st-gen",
15-
"!@spectrum-web-components/2nd-gen"
16-
]
17-
],
18-
"linked": [["@adobe/swc", "@spectrum-web-components/core"]],
19-
"access": "public",
20-
"baseBranch": "main",
21-
"updateInternalDependencies": "patch",
22-
"ignore": [
23-
"@spectrum-web-components/1st-gen",
24-
"@spectrum-web-components/2nd-gen"
25-
],
26-
"snapshot": {
27-
"useCalculatedVersion": true,
28-
"prereleaseTemplate": "{tag}.{datetime}"
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
3+
"access": "public",
4+
"baseBranch": "main",
5+
"changelog": [
6+
"@changesets/changelog-github",
7+
{
8+
"repo": "adobe/spectrum-web-components"
299
}
10+
],
11+
"commit": false,
12+
"fixed": [
13+
[
14+
"@spectrum-web-components/*",
15+
"!@spectrum-web-components/core",
16+
"!@spectrum-web-components/1st-gen",
17+
"!@spectrum-web-components/2nd-gen"
18+
]
19+
],
20+
"ignore": [
21+
"@spectrum-web-components/1st-gen",
22+
"@spectrum-web-components/2nd-gen"
23+
],
24+
"linked": [["@adobe/spectrum-wc", "@spectrum-web-components/core"]],
25+
"snapshot": {
26+
"prereleaseTemplate": "{tag}.{datetime}",
27+
"useCalculatedVersion": true
28+
},
29+
"updateInternalDependencies": "patch"
3030
}

.changeset/curvy-jeans-jam.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@spectrum-web-components/button': patch
3+
---
4+
5+
- **Deprecated**: The link API (`href`, `target`, `download`, `referrerpolicy`, `rel`) on `<sp-button>` is now deprecated. A dev mode warning is emitted when `href` is used, directing consumers to native HTML anchor elements with `@spectrum-web-components/styles/global-elements.css`.
6+
- **Documented**: Updated button README with deprecation notices.

.changeset/empty-onions-kick.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@spectrum-web-components/action-button': patch
3+
'@spectrum-web-components/styles': patch
4+
---
5+
6+
Updated 1st-gen Action Button color wiring so S2 colors match spec while Spectrum 1 remains visually unchanged.
7+
8+
- Updated S2-only token values in `1st-gen/tools/styles/tokens-v2/system-theme-bridge.css`:
9+
- `--system-action-button-content-color-selected` -> `var(--spectrum-gray-25)`
10+
- static quiet disabled backgrounds:
11+
- black -> `var(--spectrum-transparent-black-25)`
12+
- white -> `var(--spectrum-transparent-white-25)`
13+
- added S2 static content tokens:
14+
- `--system-action-button-static-black-content-color-{default,hover,down,focus}`
15+
- `--system-action-button-static-white-content-color-{default,hover,down,focus}`
16+
17+
- Updated `1st-gen/packages/action-button/src/action-button-overrides.css` to map new S2 `--system-*` static content tokens into `--spectrum-*` action-button vars.
18+
19+
- Updated `1st-gen/packages/action-button/src/spectrum-action-button.css` static color content assignments to read from `--spectrum-actionbutton-static-*-content-color-*` with S1-safe fallbacks:
20+
- black fallback remains `var(--spectrum-black)`
21+
- white fallback remains `var(--spectrum-white)`
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@spectrum-web-components/textfield': patch
3+
---
4+
5+
- **Fixed**: `aria-label` on the internal `<input>` and `<textarea>` elements is now omitted when no label value is available, rather than being set to an empty string. An explicit `aria-label=""` was suppressing the accessible name for screen reader users, causing the field to be announced as "edit blank" even when a visible `<sp-field-label>` was associated. Resolves WCAG 2.5.3 (Label in Name) violation.

.changeset/hungry-pillows-visit.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@spectrum-web-components/picker': minor
3+
---
4+
5+
- **Added**: Added a new `ExpandableElement` base class for expandable picker-like components with overlay functionality.
6+
- **Deprecated**: `PickerBase` class is deprecated and will be removed in a future release. Use a `ExpandableElement` base class instead. As a result `Picker instanceof PickerBase` will now return false.

.changeset/light-scissors-build.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@spectrum-web-components/badge': patch
3+
'@spectrum-web-components/contextual-help': patch
4+
'@spectrum-web-components/divider': patch
5+
---
6+
7+
**Fixed**: Normalized `exports` condition ordering in package.json manifests so `development` appears before `default`.

.changeset/lovely-hats-open.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@spectrum-web-components/action-button': patch
3+
---
4+
5+
- **Deprecated**: The link API (`href`, `target`, `download`, `referrerpolicy`, `rel`) on `<sp-action-button>` is now deprecated. A dev mode warning is emitted when `href` is used, directing consumers to native HTML anchor elements with `@spectrum-web-components/styles/global-elements.css`.
6+
7+
- **Documented**: Updated action button README with deprecation notices.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@spectrum-web-components/slider': patch
3+
---
4+
5+
**Fixed**: Improved accessibility for multi-handle sliders per WCAG 3.3.2 (Labels or Instructions):
6+
7+
- Added value tooltips that appear on hover/focus for multi-handle sliders when value labels are hidden (`label-visibility="none"` or `label-visibility="text"`)
8+
- Tooltips now display the formatted value for each handle, ensuring users can identify individual handle values
9+
- Added high contrast mode support for value tooltips
10+
- Added debug warning when multi-handle sliders are missing `label` attributes on handles

0 commit comments

Comments
 (0)