@hopper-ui/styled-system 2.5.6 → 2.5.7
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/CHANGELOG.md +6 -0
- package/dist/StyledSystemProvider.css +34 -44
- package/dist/StyledSystemProvider.js +7 -7
- package/dist/{chunk-BI23L2H4.js → chunk-32QSMUWN.js} +2 -2
- package/dist/{chunk-3VQ43PIS.js → chunk-5VLOYYF6.js} +1 -1
- package/dist/{chunk-WHILYSHG.js → chunk-72SNKVM7.js} +1 -1
- package/dist/chunk-7TNCJ3OQ.js +1 -1
- package/dist/{chunk-4WFMYA7C.js → chunk-F5OWVDUZ.js} +5 -5
- package/dist/{chunk-LGSYLEEK.js → chunk-ODJM2N7T.js} +1 -1
- package/dist/chunk-RAWVBWQ4.js +1 -1
- package/dist/chunk-TJAHZ3X2.js +17 -0
- package/dist/{chunk-RLEUGE2I.js → chunk-UGNCHZWK.js} +2 -2
- package/dist/global-styles/BodyStyleProvider.js +2 -2
- package/dist/html-wrappers/html.css +34 -34
- package/dist/html-wrappers/html.js +3 -3
- package/dist/html-wrappers/htmlElement.css +34 -34
- package/dist/html-wrappers/htmlElement.js +2 -2
- package/dist/index.css +34 -44
- package/dist/index.js +7 -7
- package/dist/styledSystemRootCssClass.js +1 -1
- package/dist/tokens/TokenProvider.js +2 -2
- package/dist/tokens/tokenMappings.d.ts +35 -35
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-V6YGECJS.js +0 -98
- package/dist/global-styles/BodyStyleProvider.css +0 -9
- package/dist/styledSystemRootCssClass.css +0 -9
- package/dist/tokens/TokenProvider.css +0 -9
package/dist/useStyledSystem.css
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/UseStyledSystem.module.css/#css-module-data */
|
|
2
|
-
.UseStyledSystem-module__hop-b-
|
|
2
|
+
.UseStyledSystem-module__hop-b-hover___yp43p:hover {
|
|
3
3
|
--hop-b-hover: initial;
|
|
4
4
|
border: var(--hop-b-hover) !important;
|
|
5
5
|
}
|
|
6
|
-
.UseStyledSystem-module__hop-bb-
|
|
6
|
+
.UseStyledSystem-module__hop-bb-hover___RQhQN:hover {
|
|
7
7
|
--hop-bb-hover: initial;
|
|
8
8
|
border-bottom: var(--hop-bb-hover) !important;
|
|
9
9
|
}
|
|
10
|
-
.UseStyledSystem-module__hop-bl-
|
|
10
|
+
.UseStyledSystem-module__hop-bl-hover___7EGi3:hover {
|
|
11
11
|
--hop-bl-hover: initial;
|
|
12
12
|
border-left: var(--hop-bl-hover) !important;
|
|
13
13
|
}
|
|
14
|
-
.UseStyledSystem-module__hop-br-
|
|
14
|
+
.UseStyledSystem-module__hop-br-hover___xgrqz:hover {
|
|
15
15
|
--hop-br-hover: initial;
|
|
16
16
|
border-right: var(--hop-br-hover) !important;
|
|
17
17
|
}
|
|
18
|
-
.UseStyledSystem-module__hop-bt-
|
|
18
|
+
.UseStyledSystem-module__hop-bt-hover___OHEye:hover {
|
|
19
19
|
--hop-bt-hover: initial;
|
|
20
20
|
border-top: var(--hop-bt-hover) !important;
|
|
21
21
|
}
|
|
22
|
-
.UseStyledSystem-module__hop-b-
|
|
22
|
+
.UseStyledSystem-module__hop-b-focus___VD53A:focus-visible {
|
|
23
23
|
--hop-b-focus: initial;
|
|
24
24
|
border: var(--hop-b-focus) !important;
|
|
25
25
|
}
|
|
26
|
-
.UseStyledSystem-module__hop-bb-
|
|
26
|
+
.UseStyledSystem-module__hop-bb-focus___XaONh:focus-visible {
|
|
27
27
|
--hop-bb-focus: initial;
|
|
28
28
|
border-bottom: var(--hop-bb-focus) !important;
|
|
29
29
|
}
|
|
30
|
-
.UseStyledSystem-module__hop-bl-
|
|
30
|
+
.UseStyledSystem-module__hop-bl-focus___OEuiC:focus-visible {
|
|
31
31
|
--hop-bl-focus: initial;
|
|
32
32
|
border-left: var(--hop-bl-focus) !important;
|
|
33
33
|
}
|
|
34
|
-
.UseStyledSystem-module__hop-br-
|
|
34
|
+
.UseStyledSystem-module__hop-br-focus___fCHZT:focus-visible {
|
|
35
35
|
--hop-br-focus: initial;
|
|
36
36
|
border-right: var(--hop-br-focus) !important;
|
|
37
37
|
}
|
|
38
|
-
.UseStyledSystem-module__hop-bt-
|
|
38
|
+
.UseStyledSystem-module__hop-bt-focus___vLwaI:focus-visible {
|
|
39
39
|
--hop-bt-focus: initial;
|
|
40
40
|
border-top: var(--hop-bt-focus) !important;
|
|
41
41
|
}
|
|
42
|
-
.UseStyledSystem-module__hop-b-
|
|
42
|
+
.UseStyledSystem-module__hop-b-active___8lbw1:active {
|
|
43
43
|
--hop-b-active: initial;
|
|
44
44
|
border: var(--hop-b-active) !important;
|
|
45
45
|
}
|
|
46
|
-
.UseStyledSystem-module__hop-bb-
|
|
46
|
+
.UseStyledSystem-module__hop-bb-active___0B2qX:active {
|
|
47
47
|
--hop-bb-active: initial;
|
|
48
48
|
border-bottom: var(--hop-bb-active) !important;
|
|
49
49
|
}
|
|
50
|
-
.UseStyledSystem-module__hop-bl-
|
|
50
|
+
.UseStyledSystem-module__hop-bl-active___AVGYj:active {
|
|
51
51
|
--hop-bl-active: initial;
|
|
52
52
|
border-left: var(--hop-bl-active) !important;
|
|
53
53
|
}
|
|
54
|
-
.UseStyledSystem-module__hop-br-
|
|
54
|
+
.UseStyledSystem-module__hop-br-active___SMFXO:active {
|
|
55
55
|
--hop-br-active: initial;
|
|
56
56
|
border-right: var(--hop-br-active) !important;
|
|
57
57
|
}
|
|
58
|
-
.UseStyledSystem-module__hop-bt-
|
|
58
|
+
.UseStyledSystem-module__hop-bt-active___FAWuS:active {
|
|
59
59
|
--hop-bt-active: initial;
|
|
60
60
|
border-top: var(--hop-bt-active) !important;
|
|
61
61
|
}
|
|
62
|
-
.UseStyledSystem-module__hop-bg-
|
|
62
|
+
.UseStyledSystem-module__hop-bg-hover___ejzLg:hover {
|
|
63
63
|
--hop-bg-hover: initial;
|
|
64
64
|
background-color: var(--hop-bg-hover) !important;
|
|
65
65
|
}
|
|
66
|
-
.UseStyledSystem-module__hop-bg-
|
|
66
|
+
.UseStyledSystem-module__hop-bg-focus___iOYnm:focus-visible {
|
|
67
67
|
--hop-bg-focus: initial;
|
|
68
68
|
background-color: var(--hop-bg-focus) !important;
|
|
69
69
|
}
|
|
70
|
-
.UseStyledSystem-module__hop-bg-
|
|
70
|
+
.UseStyledSystem-module__hop-bg-active___jFl8D:active {
|
|
71
71
|
--hop-bg-active: initial;
|
|
72
72
|
background-color: var(--hop-bg-active) !important;
|
|
73
73
|
}
|
|
74
|
-
.UseStyledSystem-module__hop-bs-
|
|
74
|
+
.UseStyledSystem-module__hop-bs-hover___SyCGY:hover {
|
|
75
75
|
--hop-bs-hover: initial;
|
|
76
76
|
box-shadow: var(--hop-bs-hover) !important;
|
|
77
77
|
}
|
|
78
|
-
.UseStyledSystem-module__hop-bs-
|
|
78
|
+
.UseStyledSystem-module__hop-bs-focus___SEOtN:focus-visible {
|
|
79
79
|
--hop-bs-focus: initial;
|
|
80
80
|
box-shadow: var(--hop-bs-focus) !important;
|
|
81
81
|
}
|
|
82
|
-
.UseStyledSystem-module__hop-bs-
|
|
82
|
+
.UseStyledSystem-module__hop-bs-active___OtVm6:active {
|
|
83
83
|
--hop-bs-active: initial;
|
|
84
84
|
box-shadow: var(--hop-bs-active) !important;
|
|
85
85
|
}
|
|
86
|
-
.UseStyledSystem-module__hop-c-
|
|
86
|
+
.UseStyledSystem-module__hop-c-hover___x6iFT:hover {
|
|
87
87
|
--hop-c-hover: initial;
|
|
88
88
|
color: var(--hop-c-hover) !important;
|
|
89
89
|
}
|
|
90
|
-
.UseStyledSystem-module__hop-c-
|
|
90
|
+
.UseStyledSystem-module__hop-c-focus___15FZ-:focus-visible {
|
|
91
91
|
--hop-c-focus: initial;
|
|
92
92
|
color: var(--hop-c-focus) !important;
|
|
93
93
|
}
|
|
94
|
-
.UseStyledSystem-module__hop-c-
|
|
94
|
+
.UseStyledSystem-module__hop-c-active___Ds0-z:active {
|
|
95
95
|
--hop-c-active: initial;
|
|
96
96
|
color: var(--hop-c-active) !important;
|
|
97
97
|
}
|
|
98
|
-
.UseStyledSystem-module__hop-cs-
|
|
98
|
+
.UseStyledSystem-module__hop-cs-hover___Ezvlz:hover {
|
|
99
99
|
--hop-cs-hover: initial;
|
|
100
100
|
cursor: var(--hop-cs-hover) !important;
|
|
101
101
|
}
|
|
102
|
-
.UseStyledSystem-module__hop-f-
|
|
102
|
+
.UseStyledSystem-module__hop-f-hover___VwWAU:hover {
|
|
103
103
|
--hop-f-hover: initial;
|
|
104
104
|
fill: var(--hop-f-hover) !important;
|
|
105
105
|
}
|
|
106
|
-
.UseStyledSystem-module__hop-f-
|
|
106
|
+
.UseStyledSystem-module__hop-f-focus___GubJH:focus-visible {
|
|
107
107
|
--hop-f-focus: initial;
|
|
108
108
|
fill: var(--hop-f-focus) !important;
|
|
109
109
|
}
|
|
110
|
-
.UseStyledSystem-module__hop-o-
|
|
110
|
+
.UseStyledSystem-module__hop-o-hover___nHInD:hover {
|
|
111
111
|
--hop-o-hover: initial;
|
|
112
112
|
opacity: var(--hop-o-hover) !important;
|
|
113
113
|
}
|
|
114
|
-
.UseStyledSystem-module__hop-o-
|
|
114
|
+
.UseStyledSystem-module__hop-o-focus___3nox7:focus-visible {
|
|
115
115
|
--hop-o-focus: initial;
|
|
116
116
|
opacity: var(--hop-o-focus) !important;
|
|
117
117
|
}
|
|
118
|
-
.UseStyledSystem-module__hop-o-
|
|
118
|
+
.UseStyledSystem-module__hop-o-active___L0QI6:active {
|
|
119
119
|
--hop-o-active: initial;
|
|
120
120
|
opacity: var(--hop-o-active) !important;
|
|
121
121
|
}
|
|
122
|
-
.UseStyledSystem-module__hop-ol-
|
|
122
|
+
.UseStyledSystem-module__hop-ol-focus___er-fd:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
124
|
color: var(--hop-ol-focus) !important;
|
|
125
125
|
}
|
package/dist/useStyledSystem.js
CHANGED
package/package.json
CHANGED
package/dist/chunk-V6YGECJS.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
// package.json
|
|
2
|
-
var package_default = {
|
|
3
|
-
name: "@hopper-ui/styled-system",
|
|
4
|
-
author: "Workleap",
|
|
5
|
-
version: "2.5.6",
|
|
6
|
-
description: "The styled-system package.",
|
|
7
|
-
license: "Apache-2.0",
|
|
8
|
-
repository: {
|
|
9
|
-
type: "git",
|
|
10
|
-
url: "git+https://github.com/workleap/wl-hopper.git",
|
|
11
|
-
directory: "packages/styled-system"
|
|
12
|
-
},
|
|
13
|
-
publishConfig: {
|
|
14
|
-
access: "public",
|
|
15
|
-
provenance: true
|
|
16
|
-
},
|
|
17
|
-
type: "module",
|
|
18
|
-
sideEffects: [
|
|
19
|
-
"*.css"
|
|
20
|
-
],
|
|
21
|
-
main: "dist/index.js",
|
|
22
|
-
types: "dist/index.d.ts",
|
|
23
|
-
style: "dist/index.css",
|
|
24
|
-
exports: {
|
|
25
|
-
".": {
|
|
26
|
-
import: "./dist/index.js",
|
|
27
|
-
types: "./dist/index.d.ts",
|
|
28
|
-
default: "./dist/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./index.css": "./dist/index.css"
|
|
31
|
-
},
|
|
32
|
-
files: [
|
|
33
|
-
"/dist",
|
|
34
|
-
"CHANGELOG.md",
|
|
35
|
-
"README.md"
|
|
36
|
-
],
|
|
37
|
-
scripts: {
|
|
38
|
-
dev: "tsup --config ./tsup.dev.ts",
|
|
39
|
-
build: "tsup --config ./tsup.build.ts",
|
|
40
|
-
eslint: "eslint . --max-warnings=0 --cache --cache-location node_modules/.cache/eslint",
|
|
41
|
-
stylelint: 'stylelint "**/*.css" --allow-empty-input --config ../../.stylelintrc.js --cache --cache-location node_modules/.cache/stylelint --max-warnings=0',
|
|
42
|
-
typecheck: "tsc",
|
|
43
|
-
test: "jest"
|
|
44
|
-
},
|
|
45
|
-
peerDependencies: {
|
|
46
|
-
react: "^18 || ^19",
|
|
47
|
-
"react-dom": "^18 || ^19"
|
|
48
|
-
},
|
|
49
|
-
dependencies: {
|
|
50
|
-
"@react-aria/ssr": "^3.9.7",
|
|
51
|
-
clsx: "^2.1.1"
|
|
52
|
-
},
|
|
53
|
-
devDependencies: {
|
|
54
|
-
"@hopper-ui/tokens": "workspace:*",
|
|
55
|
-
"@swc/core": "1.10.0",
|
|
56
|
-
"@swc/helpers": "0.5.15",
|
|
57
|
-
"@swc/jest": "0.2.37",
|
|
58
|
-
"@testing-library/dom": "10.4.0",
|
|
59
|
-
"@testing-library/jest-dom": "6.6.3",
|
|
60
|
-
"@testing-library/react": "16.0.1",
|
|
61
|
-
"@types/eslint": "8.56.12",
|
|
62
|
-
"@types/jest": "29.5.14",
|
|
63
|
-
"@types/react": "18.3.13",
|
|
64
|
-
"@types/react-dom": "18.3.1",
|
|
65
|
-
"@types/react-test-renderer": "18.3.0",
|
|
66
|
-
"@workleap/eslint-plugin": "3.2.3",
|
|
67
|
-
"@workleap/swc-configs": "2.2.3",
|
|
68
|
-
"@workleap/tsup-configs": "3.0.6",
|
|
69
|
-
"@workleap/typescript-configs": "3.0.2",
|
|
70
|
-
eslint: "8.57.1",
|
|
71
|
-
"identity-obj-proxy": "3.0.0",
|
|
72
|
-
jest: "29.7.0",
|
|
73
|
-
"jest-environment-jsdom": "29.7.0",
|
|
74
|
-
"jest-fail-on-console": "3.3.1",
|
|
75
|
-
postcss: "8.4.49",
|
|
76
|
-
"postcss-modules": "6.0.1",
|
|
77
|
-
react: "18.3.1",
|
|
78
|
-
"react-dom": "18.3.1",
|
|
79
|
-
"react-test-renderer": "18.3.1",
|
|
80
|
-
"ts-jest": "29.2.5",
|
|
81
|
-
tsup: "8.3.5",
|
|
82
|
-
typescript: "5.5.4"
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// src/styledSystemRootCssClass.ts
|
|
87
|
-
var HopperRootCssClass = "hop";
|
|
88
|
-
var StyledSystemRootCssClass = `${HopperRootCssClass}-${package_default.version.replaceAll(".", "-")}`;
|
|
89
|
-
function getRootCSSClasses(colorScheme) {
|
|
90
|
-
return [
|
|
91
|
-
HopperRootCssClass,
|
|
92
|
-
`${HopperRootCssClass}-${colorScheme}`,
|
|
93
|
-
StyledSystemRootCssClass,
|
|
94
|
-
`${StyledSystemRootCssClass}-${colorScheme}`
|
|
95
|
-
].join(" ");
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export { HopperRootCssClass, StyledSystemRootCssClass, getRootCSSClasses };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* src/styledSystemRootCssClass.css */
|
|
2
|
-
.hop {
|
|
3
|
-
font-family: var(--hop-body-md-font-family);
|
|
4
|
-
font-size: var(--hop-body-md-font-size);
|
|
5
|
-
font-weight: var(--hop-body-md-font-weight);
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
line-height: var(--hop-body-md-line-height);
|
|
8
|
-
color: var(--hop-neutral-text);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* src/styledSystemRootCssClass.css */
|
|
2
|
-
.hop {
|
|
3
|
-
font-family: var(--hop-body-md-font-family);
|
|
4
|
-
font-size: var(--hop-body-md-font-size);
|
|
5
|
-
font-weight: var(--hop-body-md-font-weight);
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
line-height: var(--hop-body-md-line-height);
|
|
8
|
-
color: var(--hop-neutral-text);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* src/styledSystemRootCssClass.css */
|
|
2
|
-
.hop {
|
|
3
|
-
font-family: var(--hop-body-md-font-family);
|
|
4
|
-
font-size: var(--hop-body-md-font-size);
|
|
5
|
-
font-weight: var(--hop-body-md-font-weight);
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
line-height: var(--hop-body-md-line-height);
|
|
8
|
-
color: var(--hop-neutral-text);
|
|
9
|
-
}
|