@spectrum-css/pagination
Advanced tools
Comparing version 8.1.1 to 9.0.0-s2-foundations.0
207
CHANGELOG.md
# Change Log | ||
## 9.0.0-s2-foundations.0 | ||
### Major Changes | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation | ||
### Patch Changes | ||
- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]: | ||
- @spectrum-css/actionbutton@7.0.0-s2-foundations.0 | ||
- @spectrum-css/textfield@8.0.0-s2-foundations.0 | ||
- @spectrum-css/button@14.0.0-s2-foundations.0 | ||
- @spectrum-css/tokens@15.0.0-s2-foundations.0 | ||
- @spectrum-css/icon@8.0.0-s2-foundations.0 | ||
## 8.1.1 | ||
@@ -38,3 +53,5 @@ | ||
<a name="8.0.0"></a> | ||
#8.0.0 | ||
## 8.0.0 | ||
🗓 | ||
@@ -54,3 +71,5 @@ 2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.6...@spectrum-css/pagination@8.0.0) | ||
<a name="7.1.6"></a> | ||
##7.1.6 | ||
## 7.1.6 | ||
🗓 | ||
@@ -62,3 +81,5 @@ 2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.5...@spectrum-css/pagination@7.1.6) | ||
<a name="7.1.5"></a> | ||
##7.1.5 | ||
## 7.1.5 | ||
🗓 | ||
@@ -70,3 +91,5 @@ 2024-02-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.4...@spectrum-css/pagination@7.1.5) | ||
<a name="7.1.4"></a> | ||
##7.1.4 | ||
## 7.1.4 | ||
🗓 | ||
@@ -78,3 +101,5 @@ 2024-02-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.3...@spectrum-css/pagination@7.1.4) | ||
<a name="7.1.3"></a> | ||
##7.1.3 | ||
## 7.1.3 | ||
🗓 | ||
@@ -86,3 +111,5 @@ 2024-02-06 | ||
<a name="7.1.2"></a> | ||
##7.1.2 | ||
## 7.1.2 | ||
🗓 | ||
@@ -94,3 +121,5 @@ 2024-02-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.1...@spectrum-css/pagination@7.1.2) | ||
<a name="7.1.1"></a> | ||
##7.1.1 | ||
## 7.1.1 | ||
🗓 | ||
@@ -104,3 +133,5 @@ 2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.1.0...@spectrum-css/pagination@7.1.1) | ||
<a name="7.1.0"></a> | ||
#7.1.0 | ||
## 7.1.0 | ||
🗓 | ||
@@ -114,3 +145,5 @@ 2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.5...@spectrum-css/pagination@7.1.0) | ||
<a name="7.0.5"></a> | ||
##7.0.5 | ||
## 7.0.5 | ||
🗓 | ||
@@ -122,3 +155,5 @@ 2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.4...@spectrum-css/pagination@7.0.5) | ||
<a name="7.0.4"></a> | ||
##7.0.4 | ||
## 7.0.4 | ||
🗓 | ||
@@ -130,3 +165,5 @@ 2023-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.3...@spectrum-css/pagination@7.0.4) | ||
<a name="7.0.3"></a> | ||
##7.0.3 | ||
## 7.0.3 | ||
🗓 | ||
@@ -138,3 +175,5 @@ 2023-11-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.1...@spectrum-css/pagination@7.0.3) | ||
<a name="7.0.2"></a> | ||
##7.0.2 | ||
## 7.0.2 | ||
🗓 | ||
@@ -146,3 +185,5 @@ 2023-11-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.1...@spectrum-css/pagination@7.0.2) | ||
<a name="7.0.1"></a> | ||
##7.0.1 | ||
## 7.0.1 | ||
🗓 | ||
@@ -154,3 +195,5 @@ 2023-11-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@7.0.0...@spectrum-css/pagination@7.0.1) | ||
<a name="7.0.0"></a> | ||
#7.0.0 | ||
## 7.0.0 | ||
🗓 | ||
@@ -201,3 +244,5 @@ 2023-10-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.50...@spectrum-css/pagination@7.0.0) | ||
<a name="6.0.50"></a> | ||
##6.0.50 | ||
## 6.0.50 | ||
🗓 | ||
@@ -209,3 +254,5 @@ 2023-09-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.49...@spectrum-css/pagination@6.0.50) | ||
<a name="6.0.49"></a> | ||
##6.0.49 | ||
## 6.0.49 | ||
🗓 | ||
@@ -217,3 +264,5 @@ 2023-09-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.48...@spectrum-css/pagination@6.0.49) | ||
<a name="6.0.48"></a> | ||
##6.0.48 | ||
## 6.0.48 | ||
🗓 | ||
@@ -225,3 +274,5 @@ 2023-09-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.47...@spectrum-css/pagination@6.0.48) | ||
<a name="6.0.47"></a> | ||
##6.0.47 | ||
## 6.0.47 | ||
🗓 | ||
@@ -233,3 +284,5 @@ 2023-09-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.46...@spectrum-css/pagination@6.0.47) | ||
<a name="6.0.46"></a> | ||
##6.0.46 | ||
## 6.0.46 | ||
🗓 | ||
@@ -241,3 +294,5 @@ 2023-09-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.45...@spectrum-css/pagination@6.0.46) | ||
<a name="6.0.45"></a> | ||
##6.0.45 | ||
## 6.0.45 | ||
🗓 | ||
@@ -249,3 +304,5 @@ 2023-09-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.44...@spectrum-css/pagination@6.0.45) | ||
<a name="6.0.44"></a> | ||
##6.0.44 | ||
## 6.0.44 | ||
🗓 | ||
@@ -257,3 +314,5 @@ 2023-08-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.43...@spectrum-css/pagination@6.0.44) | ||
<a name="6.0.43"></a> | ||
##6.0.43 | ||
## 6.0.43 | ||
🗓 | ||
@@ -265,3 +324,5 @@ 2023-08-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.42...@spectrum-css/pagination@6.0.43) | ||
<a name="6.0.42"></a> | ||
##6.0.42 | ||
## 6.0.42 | ||
🗓 | ||
@@ -273,3 +334,5 @@ 2023-08-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.41...@spectrum-css/pagination@6.0.42) | ||
<a name="6.0.41"></a> | ||
##6.0.41 | ||
## 6.0.41 | ||
🗓 | ||
@@ -283,3 +346,5 @@ 2023-08-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.40...@spectrum-css/pagination@6.0.41) | ||
<a name="6.0.40"></a> | ||
##6.0.40 | ||
## 6.0.40 | ||
🗓 | ||
@@ -291,3 +356,5 @@ 2023-08-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.39...@spectrum-css/pagination@6.0.40) | ||
<a name="6.0.39"></a> | ||
##6.0.39 | ||
## 6.0.39 | ||
🗓 | ||
@@ -299,3 +366,5 @@ 2023-08-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.37...@spectrum-css/pagination@6.0.39) | ||
<a name="6.0.38"></a> | ||
##6.0.38 | ||
## 6.0.38 | ||
🗓 | ||
@@ -307,3 +376,5 @@ 2023-08-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.37...@spectrum-css/pagination@6.0.38) | ||
<a name="6.0.37"></a> | ||
##6.0.37 | ||
## 6.0.37 | ||
🗓 | ||
@@ -315,3 +386,5 @@ 2023-08-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.36...@spectrum-css/pagination@6.0.37) | ||
<a name="6.0.36"></a> | ||
##6.0.36 | ||
## 6.0.36 | ||
🗓 | ||
@@ -323,3 +396,5 @@ 2023-08-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.35...@spectrum-css/pagination@6.0.36) | ||
<a name="6.0.35"></a> | ||
##6.0.35 | ||
## 6.0.35 | ||
🗓 | ||
@@ -331,3 +406,5 @@ 2023-08-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.34...@spectrum-css/pagination@6.0.35) | ||
<a name="6.0.34"></a> | ||
##6.0.34 | ||
## 6.0.34 | ||
🗓 | ||
@@ -339,3 +416,5 @@ 2023-08-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.33...@spectrum-css/pagination@6.0.34) | ||
<a name="6.0.33"></a> | ||
##6.0.33 | ||
## 6.0.33 | ||
🗓 | ||
@@ -349,3 +428,5 @@ 2023-07-24 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.32...@spectrum-css/pagination@6.0.33) | ||
<a name="6.0.32"></a> | ||
##6.0.32 | ||
## 6.0.32 | ||
🗓 | ||
@@ -357,3 +438,5 @@ 2023-07-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.31...@spectrum-css/pagination@6.0.32) | ||
<a name="6.0.31"></a> | ||
##6.0.31 | ||
## 6.0.31 | ||
🗓 | ||
@@ -365,3 +448,5 @@ 2023-07-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.30...@spectrum-css/pagination@6.0.31) | ||
<a name="6.0.30"></a> | ||
##6.0.30 | ||
## 6.0.30 | ||
🗓 | ||
@@ -373,3 +458,5 @@ 2023-07-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.29...@spectrum-css/pagination@6.0.30) | ||
<a name="6.0.29"></a> | ||
##6.0.29 | ||
## 6.0.29 | ||
🗓 | ||
@@ -381,3 +468,5 @@ 2023-06-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.28...@spectrum-css/pagination@6.0.29) | ||
<a name="6.0.28"></a> | ||
##6.0.28 | ||
## 6.0.28 | ||
🗓 | ||
@@ -389,3 +478,5 @@ 2023-06-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.27...@spectrum-css/pagination@6.0.28) | ||
<a name="6.0.27"></a> | ||
##6.0.27 | ||
## 6.0.27 | ||
🗓 | ||
@@ -397,3 +488,5 @@ 2023-06-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.26...@spectrum-css/pagination@6.0.27) | ||
<a name="6.0.26"></a> | ||
##6.0.26 | ||
## 6.0.26 | ||
🗓 | ||
@@ -407,3 +500,5 @@ 2023-06-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.25...@spectrum-css/pagination@6.0.26) | ||
<a name="6.0.25"></a> | ||
##6.0.25 | ||
## 6.0.25 | ||
🗓 | ||
@@ -415,3 +510,5 @@ 2023-06-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.24...@spectrum-css/pagination@6.0.25) | ||
<a name="6.0.24"></a> | ||
##6.0.24 | ||
## 6.0.24 | ||
🗓 | ||
@@ -608,3 +705,3 @@ 2023-06-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@6.0.23...@spectrum-css/pagination@6.0.24) | ||
# 6.0.0 | ||
## 6.0.0 | ||
@@ -855,3 +952,3 @@ 🗓 2023-04-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@5.0.29...@spectrum-css/pagination@6.0.0) | ||
# 5.0.0 | ||
## 5.0.0 | ||
@@ -874,3 +971,3 @@ 🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.11...@spectrum-css/pagination@5.0.0) | ||
# 4.0.0 | ||
## 4.0.0 | ||
@@ -883,3 +980,3 @@ 🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@4.0.0-beta.0...@spectrum-css/pagination@4.0.0) | ||
# 4.0.0-beta.0 | ||
## 4.0.0-beta.0 | ||
@@ -1028,3 +1125,3 @@ 🗓 2021-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.11...@spectrum-css/pagination@4.0.0-beta.0) | ||
# 3.0.0 | ||
## 3.0.0 | ||
@@ -1037,3 +1134,3 @@ 🗓 2021-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.7...@spectrum-css/pagination@3.0.0) | ||
# 3.0.0-beta.7 | ||
## 3.0.0-beta.7 | ||
@@ -1055,3 +1152,3 @@ 🗓 2020-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.6...@spectrum-css/pagination@3.0.0-beta.7) | ||
# 3.0.0-beta.6 | ||
## 3.0.0-beta.6 | ||
@@ -1064,3 +1161,3 @@ 🗓 2020-10-20 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.5...@spectrum-css/pagination@3.0.0-beta.6) | ||
# 3.0.0-beta.5 | ||
## 3.0.0-beta.5 | ||
@@ -1073,3 +1170,3 @@ 🗓 2020-09-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.4...@spectrum-css/pagination@3.0.0-beta.5) | ||
# 3.0.0-beta.4 | ||
## 3.0.0-beta.4 | ||
@@ -1082,3 +1179,3 @@ 🗓 2020-06-19 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.3...@spectrum-css/pagination@3.0.0-beta.4) | ||
# 3.0.0-beta.3 | ||
## 3.0.0-beta.3 | ||
@@ -1093,3 +1190,3 @@ 🗓 2020-05-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.2...@spectrum-css/pagination@3.0.0-beta.3) | ||
# 3.0.0-beta.2 | ||
## 3.0.0-beta.2 | ||
@@ -1102,3 +1199,3 @@ 🗓 2020-03-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.1...@spectrum-css/pagination@3.0.0-beta.2) | ||
# 3.0.0-beta.1 | ||
## 3.0.0-beta.1 | ||
@@ -1111,3 +1208,3 @@ 🗓 2020-03-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@3.0.0-beta.0...@spectrum-css/pagination@3.0.0-beta.1) | ||
# 3.0.0-beta.0 | ||
## 3.0.0-beta.0 | ||
@@ -1174,3 +1271,3 @@ 🗓 2020-03-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/pagination@2.0.6...@spectrum-css/pagination@3.0.0-beta.0) | ||
# 2.0.0 | ||
## 2.0.0 | ||
@@ -1177,0 +1274,0 @@ 🗓 2019-10-08 |
{ | ||
"selectors": [ | ||
".spectrum-Pagination", | ||
".spectrum-Pagination--explicit,\n.spectrum-Pagination--listing", | ||
".spectrum-Pagination--explicit", | ||
".spectrum-Pagination--listing", | ||
".spectrum-Pagination-counter", | ||
@@ -11,3 +12,3 @@ ".spectrum-Pagination-nextButton", | ||
".spectrum-Pagination-textfield", | ||
".spectrum-Pagination:dir(rtl),\n[dir=\"rtl\"] .spectrum-Pagination" | ||
".spectrum-Pagination:dir(rtl)" | ||
], | ||
@@ -14,0 +15,0 @@ "mods": [ |
{ | ||
"name": "@spectrum-css/pagination", | ||
"version": "8.1.1", | ||
"version": "9.0.0-s2-foundations.0", | ||
"description": "The Spectrum CSS Pagination component", | ||
@@ -28,3 +28,2 @@ "license": "Apache-2.0", | ||
"@spectrum-css/icon": ">=7", | ||
"@spectrum-css/splitbutton": ">=8", | ||
"@spectrum-css/textfield": ">=7", | ||
@@ -37,3 +36,2 @@ "@spectrum-css/tokens": ">=14" | ||
"@spectrum-css/icon": "workspace:^", | ||
"@spectrum-css/splitbutton": "^8.1.2", | ||
"@spectrum-css/textfield": "workspace:^", | ||
@@ -40,0 +38,0 @@ "@spectrum-css/tokens": "workspace:^" |
@@ -7,3 +7,2 @@ import { html } from "lit"; | ||
import { Template as Button } from "@spectrum-css/button/stories/template.js"; | ||
import { Template as SplitButton } from "@spectrum-css/splitbutton/stories/template.js"; | ||
import { Template as Textfield } from "@spectrum-css/textfield/stories/template.js"; | ||
@@ -53,13 +52,3 @@ | ||
} | ||
else if (variant == "button") { | ||
return SplitButton({ | ||
position: "left", | ||
variant: "accent", | ||
label: "Next", | ||
iconName: "ChevronLeft100", | ||
labelIconName: "ChevronRight100", | ||
customFirstButtonClasses: ["spectrum-Pagination-prevButton"], | ||
customLastButtonClasses: ["spectrum-Pagination-nextButton"] | ||
}); | ||
} | ||
return html` | ||
@@ -84,13 +73,8 @@ <nav | ||
(item) => item.id, | ||
(item) => { | ||
if (typeof item === "object") { | ||
return ActionButton({ | ||
...globals, | ||
...item, | ||
size, | ||
isQuiet: true, | ||
}); | ||
} | ||
else return item; | ||
} | ||
(item) => typeof item === "object" ? ActionButton({ | ||
...globals, | ||
...item, | ||
size, | ||
isQuiet: true, | ||
}) : item, | ||
)} | ||
@@ -97,0 +81,0 @@ ${Button({ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
5
5
50174
227
2