@spectrum-css/pagination
Advanced tools
Comparing version 9.0.0-s2-foundations.10 to 9.0.0-s2-foundations.11
# Change Log | ||
## 9.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/actionbutton@7.0.0-s2-foundations.12 | ||
- @spectrum-css/textfield@8.0.0-s2-foundations.11 | ||
- @spectrum-css/button@14.0.0-s2-foundations.11 | ||
- @spectrum-css/icon@8.0.0-s2-foundations.12 | ||
- @spectrum-css/tokens@15.0.0-s2-foundations.12 | ||
## 9.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/actionbutton@7.0.0-s2-foundations.10 | ||
@@ -14,0 +29,0 @@ - @spectrum-css/textfield@8.0.0-s2-foundations.10 |
{ | ||
"name": "@spectrum-css/pagination", | ||
"version": "9.0.0-s2-foundations.10", | ||
"version": "9.0.0-s2-foundations.11", | ||
"description": "The Spectrum CSS Pagination component", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -7,6 +7,5 @@ import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js"; | ||
import { repeat } from "lit/directives/repeat.js"; | ||
import { styleMap } from "lit/directives/style-map.js"; | ||
import "../index.css"; | ||
import "../themes/express.css"; | ||
import "../themes/spectrum.css"; | ||
@@ -94,1 +93,26 @@ export const Template = ({ | ||
}; | ||
export const PaginationGroup = (args, context) => { | ||
return html` | ||
<div style=${styleMap({ | ||
"display": window.isChromatic() ? "none" : undefined, | ||
})}> | ||
${Template(args, context)} | ||
</div> | ||
<div style=${styleMap({ | ||
"display": window.isChromatic() ? "flex" : "none", | ||
"flex-direction": "column", | ||
"gap": "32px", | ||
})}> | ||
${Template(args, context)} | ||
${Template({ | ||
...args, | ||
variant: "explicit", | ||
}, context)} | ||
${Template({ | ||
...args, | ||
variant: "button", | ||
}, context)} | ||
</div> | ||
`; | ||
}; |
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
67622
396