@spectrum-css/actionbutton
Advanced tools
Comparing version 7.0.0-s2-foundations.5 to 7.0.0-s2-foundations.6
# Change Log | ||
## 7.0.0-s2-foundations.6 | ||
### Patch Changes | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings | ||
- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]: | ||
- @spectrum-css/tokens@15.0.0-s2-foundations.6 | ||
- @spectrum-css/icon@8.0.0-s2-foundations.6 | ||
## 7.0.0-s2-foundations.5 | ||
@@ -4,0 +14,0 @@ |
{ | ||
"selectors": [ | ||
".spectrum-ActionButton", | ||
".spectrum-ActionButton--sizeL", | ||
".spectrum-ActionButton--sizeM", | ||
".spectrum-ActionButton--sizeS", | ||
".spectrum-ActionButton--sizeXL", | ||
".spectrum-ActionButton--sizeXS", | ||
".spectrum-ActionButton-hold", | ||
@@ -20,9 +15,12 @@ ".spectrum-ActionButton-hold + .spectrum-ActionButton-icon", | ||
".spectrum-ActionButton.is-selected .spectrum-ActionButton-label", | ||
".spectrum-ActionButton.is-selected.spectrum-ActionButton--emphasized", | ||
".spectrum-ActionButton.spectrum-ActionButton--emphasized", | ||
".spectrum-ActionButton.spectrum-ActionButton--quiet", | ||
".spectrum-ActionButton.spectrum-ActionButton--sizeL", | ||
".spectrum-ActionButton.spectrum-ActionButton--sizeM", | ||
".spectrum-ActionButton.spectrum-ActionButton--sizeS", | ||
".spectrum-ActionButton.spectrum-ActionButton--sizeXL", | ||
".spectrum-ActionButton.spectrum-ActionButton--sizeXS", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticBlack", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticBlack.is-selected", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticBlack.spectrum-ActionButton--quiet", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticWhite", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticWhite.is-selected", | ||
".spectrum-ActionButton.spectrum-ActionButton--staticWhite.spectrum-ActionButton--quiet", | ||
@@ -109,18 +107,32 @@ ".spectrum-ActionButton::-moz-focus-inner", | ||
"--spectrum-actionbutton-background-color-default", | ||
"--spectrum-actionbutton-background-color-default-selected", | ||
"--spectrum-actionbutton-background-color-disabled", | ||
"--spectrum-actionbutton-background-color-disabled-selected", | ||
"--spectrum-actionbutton-background-color-down", | ||
"--spectrum-actionbutton-background-color-down-selected", | ||
"--spectrum-actionbutton-background-color-focus", | ||
"--spectrum-actionbutton-background-color-focus-selected", | ||
"--spectrum-actionbutton-background-color-hover", | ||
"--spectrum-actionbutton-background-color-hover-selected", | ||
"--spectrum-actionbutton-border-color-default", | ||
"--spectrum-actionbutton-border-color-default-selected", | ||
"--spectrum-actionbutton-border-color-disabled", | ||
"--spectrum-actionbutton-border-color-disabled-selected", | ||
"--spectrum-actionbutton-border-color-down", | ||
"--spectrum-actionbutton-border-color-down-selected", | ||
"--spectrum-actionbutton-border-color-focus", | ||
"--spectrum-actionbutton-border-color-focus-selected", | ||
"--spectrum-actionbutton-border-color-hover", | ||
"--spectrum-actionbutton-border-color-hover-selected", | ||
"--spectrum-actionbutton-border-radius", | ||
"--spectrum-actionbutton-border-width", | ||
"--spectrum-actionbutton-content-color-default", | ||
"--spectrum-actionbutton-content-color-default-selected", | ||
"--spectrum-actionbutton-content-color-disabled", | ||
"--spectrum-actionbutton-content-color-down", | ||
"--spectrum-actionbutton-content-color-down-selected", | ||
"--spectrum-actionbutton-content-color-focus", | ||
"--spectrum-actionbutton-content-color-focus-selected", | ||
"--spectrum-actionbutton-content-color-hover", | ||
"--spectrum-actionbutton-content-color-hover-selected", | ||
"--spectrum-actionbutton-edge-to-hold-icon", | ||
@@ -127,0 +139,0 @@ "--spectrum-actionbutton-edge-to-text", |
{ | ||
"name": "@spectrum-css/actionbutton", | ||
"version": "7.0.0-s2-foundations.5", | ||
"version": "7.0.0-s2-foundations.6", | ||
"description": "The Spectrum CSS action button component", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -10,2 +10,4 @@ import { Template as Typography } from "@spectrum-css/typography/stories/template.js"; | ||
import "../index.css"; | ||
import "../themes/express.css"; | ||
import "../themes/legacy.css"; | ||
@@ -41,11 +43,2 @@ /** | ||
}, context = {}) => { | ||
const { globals = {} } = context; | ||
if (globals.context === "express") { | ||
import("../themes/express.css"); | ||
} | ||
else if (globals.context === "legacy") { | ||
import("../themes/legacy.css"); | ||
} | ||
return html` | ||
@@ -52,0 +45,0 @@ <button |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
263887
2804