@sps-woodland/buttons 8.17.0 → 8.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +23 -23
- package/lib/index.es.js +409 -409
- package/lib/style.css +1 -1
- package/package.json +5 -5
- package/vite.config.mjs +11 -2
package/lib/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy0{border-width:.0625rem;border-style:solid;border-radius:.25rem;cursor:pointer;display:inline-block;font-size:.75rem;font-weight:600;line-height:.875rem;padding:0;position:relative}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy3{background:#e9e9ea;border-color:#d2d4d4;color:#4b5356}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy3:hover{background:#d2d4d4}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy4{background:none transparent;border:0;color:#027db8}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy4:hover{background:none transparent;color:#08638d;text-decoration:none}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy5{background:#027db8;border-color:#08638d;color:#fff}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy5:hover{background:#08638d}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy6{background:#de012e;border-color:#a30d2d;color:#fff}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy6:hover{background:#a30d2d}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy7{background:#4b5356;border-color:#1f282c;color:#fff}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy7:hover{background:#1f282c}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy8{background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy8:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy9{color:transparent!important;cursor:not-allowed}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyb{background:#e9e9ea;border-color:#d2d4d4}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyb:hover,.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyc:hover{background:#e9e9ea}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyd:hover{background:#027db8}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxye:hover{background:#de012e}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyf:hover{background:#4b5356}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyg{background:#fff!important;border-color:#d2d4d4!important;color:#717779!important;cursor:not-allowed}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyg:hover{background:#fff}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyh{background:none transparent;border:0 none;color:inherit;display:block;font-size:inherit;font-weight:inherit;margin:0;text-decoration:none;padding:.5rem 1rem}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyh:hover{text-decoration:none}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyi{cursor:not-allowed!important}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyk{padding:.25rem .5rem}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyp{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyq{cursor:not-allowed!important}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxys{background:none transparent;border:0 none;color:inherit;cursor:inherit;display:block;font-size:inherit;font-weight:inherit;margin:0;padding:.5rem 1rem;text-decoration:none}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxys:hover{text-decoration:none;color:inherit}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyt{cursor:not-allowed}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxyv{padding:.25rem .5rem}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy11{line-height:0!important;position:relative}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy11:before{font-size:.875rem;line-height:0;position:relative;top:.125rem}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy11:not(:last-child){margin-right:.5rem}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy12{left:50%;margin:-.875rem -.4375rem;position:absolute}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy13{cursor:not-allowed;display:inline}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy14{display:none}.pkg_sps-woodland_buttons__version_8_17_2__hash_125pcxy12>i{border-width:.125rem;height:.875rem;width:.875rem}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sps-woodland/buttons",
|
3
3
|
"description": "SPS Woodland Design System button components",
|
4
|
-
"version": "8.17.
|
4
|
+
"version": "8.17.2",
|
5
5
|
"author": "SPS Commerce",
|
6
6
|
"license": "UNLICENSED",
|
7
7
|
"repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/buttons",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
"@spscommerce/utils": "^7.0.0",
|
31
31
|
"react": "^16.9.0",
|
32
32
|
"react-dom": "^16.9.0",
|
33
|
-
"@sps-woodland/core": "8.17.
|
34
|
-
"@sps-woodland/tokens": "8.17.
|
33
|
+
"@sps-woodland/core": "8.17.2",
|
34
|
+
"@sps-woodland/tokens": "8.17.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@react-aria/button": "^3.3.5",
|
@@ -42,8 +42,8 @@
|
|
42
42
|
"@vanilla-extract/recipes": "^0.2.5",
|
43
43
|
"react": "^16.9.0",
|
44
44
|
"react-dom": "^16.9.0",
|
45
|
-
"@sps-woodland/core": "8.17.
|
46
|
-
"@sps-woodland/tokens": "8.17.
|
45
|
+
"@sps-woodland/core": "8.17.2",
|
46
|
+
"@sps-woodland/tokens": "8.17.2"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
49
|
"@react-aria/button": "^3.7.0",
|
package/vite.config.mjs
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
import path from "path";
|
2
2
|
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
3
3
|
import { defineConfig } from "vite";
|
4
|
-
|
4
|
+
import { getVanillaExtractPluginProps } from "../../../scripts/vanilla-extract-plugin-props.mjs";
|
5
5
|
import pkg from "./package.json";
|
6
6
|
|
7
|
+
const packageVersion = process.env.PREDICTED_VERSION || pkg.version;
|
8
|
+
|
7
9
|
export default defineConfig({
|
8
|
-
plugins: [
|
10
|
+
plugins: [
|
11
|
+
vanillaExtractPlugin(
|
12
|
+
getVanillaExtractPluginProps({
|
13
|
+
packageName: pkg.name,
|
14
|
+
packageVersion,
|
15
|
+
})
|
16
|
+
),
|
17
|
+
],
|
9
18
|
build: {
|
10
19
|
lib: {
|
11
20
|
entry: path.resolve(__dirname, "src/index.ts"),
|