Skip to content

Commit 2cee395

Browse files
committed
chore: use latest beta version
1 parent cd1b604 commit 2cee395

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

packages/swatch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"tslib": "^2.0.0"
7676
},
7777
"devDependencies": {
78-
"@spectrum-css/swatch": "^2.0.0-beta.3",
78+
"@spectrum-css/swatch": "^2.0.0-beta.4",
7979
"@spectrum-css/swatchgroup": "^2.0.0-beta.0"
8080
},
8181
"types": "./src/index.d.ts",

packages/swatch/src/spectrum-swatch.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ governing permissions and limitations under the License.
1313
/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
1414
:host {
1515
--spectrum-swatch-focus-ring-border-radius: 8px; /* .spectrum-Swatch */
16-
--spectrum-swatch-border-color-regular: rgba(0, 0, 0, 0.5);
16+
--spectrum-swatch-icon-border-color: rgba(0, 0, 0, 0.51);
1717
--spectrum-swatch-size: var(--spectrum-swatch-size-small);
1818
--spectrum-swatch-border-radius: var(--spectrum-corner-radius-100);
1919
--spectrum-swatch-border-thickness: var(--spectrum-border-width-100);
@@ -28,7 +28,7 @@ governing permissions and limitations under the License.
2828
--spectrum-focus-ring-thickness
2929
);
3030
--spectrum-swatch-focus-ring-gap: var(--spectrum-focus-ring-gap);
31-
--spectrum-swatch-border-color: var(--spectrum-swatch-border-color);
31+
--spectrum-swatch-border-color-selected: var(--spectrum-gray-900);
3232
--spectrum-swatch-inner-border-color-selected: var(--spectrum-gray-50);
3333
--spectrum-swatch-disabled-icon-border-color: var(
3434
--spectrum-swatch-disabled-icon-border-color
@@ -81,10 +81,10 @@ governing permissions and limitations under the License.
8181
@media (forced-colors: active) {
8282
:host {
8383
--highcontrast-swatch-disabled-icon-color: GrayText;
84-
--highcontrast-swatch-focus-ring-color: Highlight;
84+
--highcontrast-swatch-focus-ring-color: ButtonText;
8585
--highcontrast-swatch-background-color-selected: Background;
86-
--highcontrast-swatch-border-color: Highlight;
87-
--highcontrast-swatch-box-shadow-color: ButtonText;
86+
--highcontrast-swatch-border-color-selected: Highlight;
87+
--highcontrast-swatch-border-color: ButtonText;
8888
--highcontrast-swatch-fill-foreground-color: ButtonText;
8989
}
9090
.fill {
@@ -250,8 +250,11 @@ governing permissions and limitations under the License.
250250
}
251251
:host:before {
252252
border-color: var(
253-
--highcontrast-swatch-border-color,
254-
var(--mod-swatch-border-color, var(--spectrum-swatch-border-color))
253+
--highcontrast-swatch-border-color-selected,
254+
var(
255+
--mod-swatch-border-color-selected,
256+
var(--spectrum-swatch-border-color-selected)
257+
)
255258
);
256259
border-style: solid;
257260
border-width: var(
@@ -394,11 +397,8 @@ governing permissions and limitations under the License.
394397
var(--spectrum-swatch-border-thickness)
395398
)
396399
var(
397-
--highcontrast-swatch-box-shadow-color,
398-
var(
399-
--mod-swatch-border-color-regular,
400-
var(--spectrum-swatch-border-color-regular)
401-
)
400+
--highcontrast-swatch-border-color,
401+
var(--mod-swatch-border-color, var(--spectrum-swatch-border-color))
402402
);
403403
content: ''; /* .spectrum-Swatch-fill:before */
404404
inset: 0;
@@ -449,8 +449,8 @@ governing permissions and limitations under the License.
449449
}
450450
.disabledIcon path:last-child {
451451
fill: var(
452-
--mod-swatch-border-color-regular,
453-
var(--spectrum-swatch-border-color-regular)
452+
--mod-swatch-icon-border-color,
453+
var(--spectrum-swatch-icon-border-color)
454454
); /* .spectrum-Swatch-disabledIcon path:last-child */
455455
}
456456
:host([shape='rectangle']) {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4139,10 +4139,10 @@
41394139
resolved "https://registry.yarnpkg.com/@spectrum-css/stepper/-/stepper-3.0.26.tgz#eeb9bd95b60bec67bbfe3cdc5fcc286d8bee1c1a"
41404140
integrity sha512-i9GiYw74XAc2o94dobQzaAZVR2zqIjiHynFEi4ndcCpQeOYFEO3U3H7BDWg0YuNALt9n6Rys1bd46b6QsGLYbA==
41414141

4142-
"@spectrum-css/swatch@^2.0.0-beta.3":
4143-
version "2.0.0-beta.3"
4144-
resolved "https://registry.yarnpkg.com/@spectrum-css/swatch/-/swatch-2.0.0-beta.3.tgz#a784ade320c2796ca6580615a9cb54e3b08840f8"
4145-
integrity sha512-QY82SEg4/TLL33cgSlBtk62kwSUV+2gcVWUpcycYqwAnpGYfNog/KrPcIRmMYcBq1in8oselzs9v6X/4CjPvIg==
4142+
"@spectrum-css/swatch@^2.0.0-beta.4":
4143+
version "2.0.0-beta.4"
4144+
resolved "https://registry.yarnpkg.com/@spectrum-css/swatch/-/swatch-2.0.0-beta.4.tgz#b36806dbeb032e2b1838082fcfefc429a1caafcc"
4145+
integrity sha512-aiYxP3bFDB96HwfCFwu8OOrAHJ3A17xowUkDg/+6fi+gxt6SVVUNDOdLeNGRh6dzoaaH9L8X1gcYrsQJK6PWZw==
41464146

41474147
"@spectrum-css/swatchgroup@^2.0.0-beta.0":
41484148
version "2.0.0-beta.0"

0 commit comments

Comments
 (0)