Skip to content

Commit 89f987c

Browse files
committed
chore: merge rremote-tracking branch 'origin' into spectrum-two
1 parent cb1b957 commit 89f987c

File tree

10 files changed

+54
-21
lines changed

10 files changed

+54
-21
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
id: changesets
3030
uses: changesets/action@v1
3131
with:
32-
version: yarn version:packages
33-
34-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
3532
title: "chore: release"
3633
commit: "chore: release"
34+
# This expects you to have a script called release / version:packages
35+
# which does a build for your packages and calls changeset publish
3736
publish: yarn release
37+
version: yarn version:packages
3838

3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

components/actionbutton/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log
22

3+
## 7.1.2
4+
5+
### Patch Changes
6+
7+
📝 [#3606](https://github.com/adobe/spectrum-css/pull/3606) [`3ec3b46`](https://github.com/adobe/spectrum-css/commit/3ec3b468313cbeb19298b35a2bd80860b83f4734) Thanks [@jawinn](https://github.com/jawinn)!
8+
9+
This updates the colors used in action button for the spectrum two theme, so they are closer aligned with the spectrum 2 spec, per the request in SWC-597. This removes the border by making it transparent and updates the background color tokens that are used.
10+
11+
This also includes a forced-colors/high contrast mode fix for the selected + disabled state. This now shows the disabled colors.
12+
313
## 8.0.0-next.0
414

515
### Patch Changes

components/button/CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change log
22

3+
## 14.1.3
4+
5+
### Patch Changes
6+
7+
📝 [`d2272ea`](https://github.com/adobe/spectrum-css/commit/d2272eaedcc3a2a957028fe3d1ed6a3ce96a49f6) Thanks [@rise-erpelding](https://github.com/rise-erpelding)!
8+
9+
Adjusts static color buttons to more closely resemble the S2 specifications. There are no expected changes to non-static button variants in S2, and no expected changes to other themes.
10+
11+
This PR includes changes to:
12+
13+
- Static white primary button (outline variant), static white secondary button (fill variant), static black primary button (outline variant), static black secondary button (fill variant)
14+
- Static white secondary button (outline variant) and static black secondary button (outline variant) border and background colors
15+
- Static color buttons' content color
16+
- Static white primary button (fill variant) and static black primary button (fill variant) background colors
17+
318
## 14.1.2
419

520
### Patch Changes

components/search/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log
22

3+
## 8.1.1
4+
5+
### Patch Changes
6+
7+
📝 [#3593](https://github.com/adobe/spectrum-css/pull/3593) [`d829abb`](https://github.com/adobe/spectrum-css/commit/d829abb44f1eaa1874090e52caee553d776684e7) Thanks [@TarunAdobe](https://github.com/TarunAdobe)!
8+
9+
Updated `--spectrum-search-background-color-disabled` to `--spectrum-gray-25` and `--spectrum-search-border-color-disabled` to `--spectrum-gray-300` for the S2 foundations contexts.
10+
11+
Also defines disabled quiet border and background colors (`--system-search-quiet-background-color-disabled` and `--system-search-quiet-border-color-disabled`) in order to maintain disabled quiet styling.
12+
313
## 9.0.0-next.0
414

515
### Patch Changes

components/search/dist/metadata.json

-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"--spectrum-component-top-to-text-100",
118118
"--spectrum-corner-radius-100",
119119
"--spectrum-default-font-style",
120-
"--spectrum-disabled-background-color",
121120
"--spectrum-disabled-border-color",
122121
"--spectrum-disabled-content-color",
123122
"--spectrum-field-edge-to-visual-quiet",

components/search/index.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* governing permissions and limitations under the License.
1212
*/
1313

14-
.spectrum-Search {
14+
.spectrum-Search {
1515
--spectrum-search-border-color-default: var(--spectrum-gray-500);
1616
--spectrum-search-border-color-hover: var(--spectrum-gray-600);
1717
--spectrum-search-border-color-focus: var(--spectrum-gray-800);
@@ -80,8 +80,6 @@
8080

8181
/* Disabled */
8282
--spectrum-search-color-disabled: var(--spectrum-disabled-content-color);
83-
--spectrum-search-background-color-disabled: var(--spectrum-disabled-background-color);
84-
--spectrum-search-border-color-disabled: var(--spectrum-disabled-background-color);
8583

8684
/* @passthrough start -- settings for nested Textfield component */
8785
--mod-textfield-font-family: var(--mod-search-font-family, var(--spectrum-search-font-family));

components/slider/stories/template.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const Template = ({
1818
values = [],
1919
variant,
2020
labelPosition,
21-
fillColor = "rgb(213, 213, 213)",
21+
fillColor,
2222
showTicks = false,
2323
showTickLabels = false,
2424
isDisabled = false,
@@ -124,8 +124,8 @@ export const Template = ({
124124
})}
125125
id=${ifDefined(id)}
126126
style=${styleMap({
127+
"--spectrum-slider-track-color": fillColor ? fillColor : undefined,
127128
"inline-size": "240px",
128-
["--spectrum-slider-track-color"]: fillColor,
129129
...customStyles,
130130
})}
131131
role=${ifDefined(values.length > 1 ? "group" : undefined)}

lint-staged.config.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ module.exports = {
66
"*.{js,json}": [
77
"eslint --fix --cache --no-error-on-unmatched-pattern --quiet"
88
],
9-
"package.json": (files) => [
10-
"yarn constraints --fix",
11-
`eslint --fix --cache --no-error-on-unmatched-pattern --quiet ${files.join(" ")}`,
9+
"*.{md,mdx}": [
10+
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc",
11+
"markdownlint --config .markdownlint.json --fix"
1212
],
13+
"package.json": () => ([
14+
"yarn constraints --fix",
15+
"yarn install --refresh-lockfile",
16+
"git add yarn.lock"
17+
]),
1318
"dist/*.css": [
1419
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc"
1520
],
1621
"components/*/dist/metadata.json": (files) => {
1722
return [
1823
...(files.map(file => `pajv test --valid -s ./schemas/metadata.schema.json -d "${file}"`) ?? []),
1924
];
20-
},
21-
"*.{md,mdx}": [
22-
"prettier --no-error-on-unmatched-pattern --ignore-unknown --log-level silent --write --config .prettierrc",
23-
"markdownlint --config .markdownlint.json --fix"
24-
]
25+
}
2526
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"tester": "cross-env NODE_ENV=development nx run storybook:test:scope",
5454
"validate": "yarn validator tag:component",
5555
"validator": "nx run-many --target validate --verbose --projects",
56-
"version:packages": "changeset version && yarn constraints --fix && yarn install"
56+
"version:packages": "yarn config set -H enableImmutableInstalls false && changeset version && git add . && yarn lint-staged"
5757
},
5858
"workspaces": [
5959
"components/*",

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -764,11 +764,11 @@ __metadata:
764764
linkType: hard
765765

766766
"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.3.1":
767-
version: 7.26.9
768-
resolution: "@babel/runtime@npm:7.26.9"
767+
version: 7.26.10
768+
resolution: "@babel/runtime@npm:7.26.10"
769769
dependencies:
770770
regenerator-runtime: "npm:^0.14.0"
771-
checksum: 10c0/e8517131110a6ec3a7360881438b85060e49824e007f4a64b5dfa9192cf2bb5c01e84bfc109f02d822c7edb0db926928dd6b991e3ee460b483fb0fac43152d9b
771+
checksum: 10c0/6dc6d88c7908f505c4f7770fb4677dfa61f68f659b943c2be1f2a99cb6680343462867abf2d49822adc435932919b36c77ac60125793e719ea8745f2073d3745
772772
languageName: node
773773
linkType: hard
774774

0 commit comments

Comments
 (0)