@spectrum-css/stepper
Advanced tools
Comparing version 7.0.0-s2-foundations.10 to 7.0.0-s2-foundations.11
# Change Log | ||
## 7.0.0-s2-foundations.11 | ||
### Major Changes | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`8e772ef`](https://github.com/adobe/spectrum-css/commit/8e772efd757f5e88fd4048a5c0229472f9bf90cf) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false | ||
### Patch Changes | ||
- Updated dependencies [[`8e772ef`](https://github.com/adobe/spectrum-css/commit/8e772efd757f5e88fd4048a5c0229472f9bf90cf)]: | ||
- @spectrum-css/infieldbutton@6.0.0-s2-foundations.11 | ||
- @spectrum-css/actionbutton@7.0.0-s2-foundations.12 | ||
- @spectrum-css/textfield@8.0.0-s2-foundations.11 | ||
- @spectrum-css/icon@8.0.0-s2-foundations.12 | ||
- @spectrum-css/tokens@15.0.0-s2-foundations.12 | ||
## 7.0.0-s2-foundations.10 | ||
@@ -7,7 +22,7 @@ | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`54c5625`](https://github.com/adobe/spectrum-css/commit/54c56257bcca5872567a2bf0c5737e35b8190b05) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded | ||
### Patch Changes | ||
- Updated dependencies [[`54c5625`](https://github.com/adobe/spectrum-css/commit/54c56257bcca5872567a2bf0c5737e35b8190b05)]: | ||
- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]: | ||
- @spectrum-css/infieldbutton@6.0.0-s2-foundations.10 | ||
@@ -14,0 +29,0 @@ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10 |
{ | ||
"name": "@spectrum-css/stepper", | ||
"version": "7.0.0-s2-foundations.10", | ||
"version": "7.0.0-s2-foundations.11", | ||
"description": "The Spectrum CSS stepper component", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
import { Template as InfieldButton } from "@spectrum-css/infieldbutton/stories/template.js"; | ||
import { getRandomId } from "@spectrum-css/preview/decorators"; | ||
import { Template as Textfield } from "@spectrum-css/textfield/stories/template.js"; | ||
@@ -11,4 +10,2 @@ import { html } from "lit"; | ||
import "../index.css"; | ||
import "../themes/express.css"; | ||
import "../themes/spectrum.css"; | ||
@@ -24,5 +21,7 @@ export const Template = ({ | ||
hideStepper = false, | ||
id = getRandomId("stepper"), | ||
customClasses = [], | ||
customStyles = {}, | ||
id, | ||
style = { | ||
"--mod-actionbutton-icon-size": "10px", | ||
}, | ||
} = {}, context = {}) => { | ||
@@ -58,6 +57,3 @@ let iconSize = "75"; | ||
id=${ifDefined(id)} | ||
style=${styleMap({ | ||
"--mod-actionbutton-icon-size": "10px", | ||
...customStyles | ||
})} | ||
style=${styleMap(style)} | ||
> | ||
@@ -64,0 +60,0 @@ ${Textfield({ |
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
154099
1410