Skip to content

Commit 38b9f01

Browse files
rise-erpeldingcastastrophe
authored andcommitted
fix(textfield,menu,tag,toast,tabs,well,popover): define custom props (#3471)
* fix(popover): define --spectrum-popover-border-width in index.css * fix(well): define --spectrum-well-border-color in index.css * fix(tabs): define --spectrum-tabs-font-weight * fix(toast): define default background color and divider color * fix(tag): define undefined custom properties * fix(menu): define menu item background colors * fix(textfield): define undefined custom properties
1 parent fc9a5e6 commit 38b9f01

File tree

4 files changed

+10
-26
lines changed

4 files changed

+10
-26
lines changed

components/actionbutton/dist/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
".spectrum-ActionButton.is-selected.spectrum-ActionButton--staticBlack:disabled",
2424
".spectrum-ActionButton.is-selected.spectrum-ActionButton--staticWhite:disabled",
2525
".spectrum-ActionButton.spectrum-ActionButton--quiet",
26-
".spectrum-ActionButton.spectrum-ActionButton--quiet.is-disabled:not(.is-selected)",
27-
".spectrum-ActionButton.spectrum-ActionButton--quiet:disabled:not(.is-selected)",
2826
".spectrum-ActionButton.spectrum-ActionButton--staticBlack",
2927
".spectrum-ActionButton.spectrum-ActionButton--staticBlack .is-disabled",
3028
".spectrum-ActionButton.spectrum-ActionButton--staticBlack.spectrum-ActionButton--quiet",
@@ -193,11 +191,13 @@
193191
"--spectrum-text-to-visual-75",
194192
"--spectrum-transparent-black-100",
195193
"--spectrum-transparent-black-200",
194+
"--spectrum-transparent-black-400",
196195
"--spectrum-transparent-black-500",
197196
"--spectrum-transparent-black-600",
198197
"--spectrum-transparent-black-700",
199198
"--spectrum-transparent-white-100",
200199
"--spectrum-transparent-white-200",
200+
"--spectrum-transparent-white-400",
201201
"--spectrum-transparent-white-500",
202202
"--spectrum-transparent-white-600",
203203
"--spectrum-transparent-white-700",
@@ -228,6 +228,7 @@
228228
"--highcontrast-actionbutton-content-color-disabled",
229229
"--highcontrast-actionbutton-content-color-down",
230230
"--highcontrast-actionbutton-content-color-focus",
231-
"--highcontrast-actionbutton-content-color-hover"
231+
"--highcontrast-actionbutton-content-color-hover",
232+
"--highcontrast-actionbutton-focus-indicator-color"
232233
]
233234
}

components/tag/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"peerDependencies": {
2828
"@spectrum-css/avatar": ">=8.0.0 <9.0.0",
2929
"@spectrum-css/clearbutton": ">=7.0.0 <8.0.0",
30-
"@spectrum-css/icon": ">=9",
30+
"@spectrum-css/icon": ">=9 <10.0.0",
3131
"@spectrum-css/tokens": ">=14.0.0-next.0"
3232
},
3333
"peerDependenciesMeta": {

tokens/tasks/token-rollup.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ async function main({
124124
// Then build the index.css file
125125
await index(["dist/css/*-vars.css"], path.join(compiledOutputPath, "css", "index.css"), { cwd, clean }).then((report) => { reports.push(report); }).catch((err) => { errors.push(err); });
126126

127-
// Finally, copy the index.css file to the dist folder
128-
await copy(path.join(compiledOutputPath, "css", "index.css"), path.join(cwd, "dist", "index.css"), { cwd, isDeprecated: false }).then((report) => { reports.push(report); }).catch((err) => { errors.push(err); });
129-
130127
// Combine all the reports into a single log output
131128
const logs = reports.flat(Infinity).filter(Boolean);
132129
const errorLogs = errors.flat(Infinity).filter(Boolean);

yarn.lock

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5281,7 +5281,7 @@ __metadata:
52815281
peerDependencies:
52825282
"@spectrum-css/avatar": ">=8.0.0 <9.0.0"
52835283
"@spectrum-css/clearbutton": ">=7.0.0 <8.0.0"
5284-
"@spectrum-css/icon": ">=9"
5284+
"@spectrum-css/icon": ">=9 <10.0.0"
52855285
"@spectrum-css/tokens": ">=14.0.0-next.0"
52865286
peerDependenciesMeta:
52875287
"@spectrum-css/avatar":
@@ -7847,24 +7847,10 @@ __metadata:
78477847
languageName: node
78487848
linkType: hard
78497849

7850-
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001640":
7851-
version: 1.0.30001643
7852-
resolution: "caniuse-lite@npm:1.0.30001643"
7853-
checksum: 10c0/7fcd0fd180bbe6764311ad57b0d39c23afdcc3bb1d8f804e7a76752c62a85b1bb7cf74b672d9da2f0afe7ad75336ff811a6fe279eb2a54bc04c272b6b62e57f1
7854-
languageName: node
7855-
linkType: hard
7856-
7857-
"caniuse-lite@npm:^1.0.30001646":
7858-
version: 1.0.30001660
7859-
resolution: "caniuse-lite@npm:1.0.30001660"
7860-
checksum: 10c0/d28900b56c597176d515c3175ca75c454f2d30cb2c09a44d7bdb009bb0c4d8a2557905adb77642889bbe9feb85fbfe9d974c8b8e53521fb4b50ee16ab246104e
7861-
languageName: node
7862-
linkType: hard
7863-
7864-
"caniuse-lite@npm:^1.0.30001669":
7865-
version: 1.0.30001673
7866-
resolution: "caniuse-lite@npm:1.0.30001673"
7867-
checksum: 10c0/0e73a2b0f06973052e563dec9990a6fd440d510fa2ff54fa50310e736abb86e96c96b43c10e609fc22f2109f98fe76428b70441baf6b1a49f69ccf50c1879f6b
7850+
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001640, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669":
7851+
version: 1.0.30001699
7852+
resolution: "caniuse-lite@npm:1.0.30001699"
7853+
checksum: 10c0/e87b3a0602c3124131f6a21f1eb262378e17a2ee3089e3c472ac8b9caa85cf7d6a219655379302c29c6f10a74051f2a712639d7f98ee0444c73fefcbaf25d519
78687854
languageName: node
78697855
linkType: hard
78707856

0 commit comments

Comments
 (0)