@hopper-ui/styled-system 0.2.3 → 0.2.4
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 -34
- package/dist/StyledSystemProvider.js +15 -15
- package/dist/{chunk-BEEGWFNF.js → chunk-6Z3ODGLS.js} +2 -2
- package/dist/{chunk-7KCN3W6N.js → chunk-A47SIZVA.js} +2 -2
- package/dist/{chunk-GRF2SIQE.js → chunk-C3BQSQFB.js} +1 -1
- package/dist/{chunk-Q3NLRNZN.js → chunk-HAB2KYRH.js} +1 -0
- package/dist/{chunk-QWLE5PCU.js → chunk-HM4X5E4X.js} +2 -2
- package/dist/{chunk-O7PTTVQH.js → chunk-I7U75XRH.js} +4 -4
- package/dist/{chunk-JM7JTLPS.js → chunk-LTBVOC66.js} +1 -1
- package/dist/{chunk-S33PIM5T.js → chunk-NTEKQGZI.js} +5 -5
- package/dist/{chunk-U3SI5QXV.js → chunk-PCGVOTW3.js} +1 -0
- package/dist/{chunk-GYREQTEK.js → chunk-SFOVKOPG.js} +1 -1
- package/dist/{chunk-KUUJ37DW.js → chunk-T2LQYER5.js} +2 -2
- package/dist/{chunk-ZUVKM5DV.js → chunk-VBKLISDI.js} +4 -5
- package/dist/{chunk-ZFDLWGCR.js → chunk-Y5XP6E4D.js} +1 -1
- package/dist/{chunk-LU33LZMJ.js → chunk-Z33MPMW6.js} +1 -1
- package/dist/{chunk-J4KAMS5Q.js → chunk-ZKEMKHXY.js} +1 -0
- package/dist/global-styles/BodyStyleProvider.js +2 -2
- package/dist/html-wrappers/html.css +34 -34
- package/dist/html-wrappers/html.js +7 -7
- package/dist/html-wrappers/htmlElement.css +34 -34
- package/dist/html-wrappers/htmlElement.js +6 -6
- package/dist/index.css +34 -34
- package/dist/index.js +15 -15
- package/dist/responsive/BreakpointContext.d.ts +1 -1
- package/dist/responsive/BreakpointContext.js +1 -2
- package/dist/responsive/BreakpointProvider.js +2 -3
- package/dist/responsive/useResponsiveValue.js +2 -2
- package/dist/styled-system-root-css-class.js +1 -1
- package/dist/tokens/TokenProvider.js +5 -5
- package/dist/tokens/generated/dark-semantic-tokens.d.ts +1 -0
- package/dist/tokens/generated/dark-semantic-tokens.js +1 -1
- package/dist/tokens/generated/light-semantic-tokens.d.ts +1 -0
- package/dist/tokens/generated/light-semantic-tokens.js +1 -1
- package/dist/tokens/generated/styled-system-to-token-mappings.d.ts +1 -0
- package/dist/tokens/generated/styled-system-to-token-mappings.js +1 -1
- package/dist/tokens/token-mappings.d.ts +2 -0
- package/dist/tokens/token-mappings.js +4 -4
- package/dist/tokens/tokens.d.ts +2 -0
- package/dist/tokens/tokens.js +3 -3
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.js +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
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___hm18j: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___21HKw: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___Grzt6: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___G7tk8: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___sm1qA: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___e1pDZ: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___n1ebY: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___pkLah: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___EIC7F: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___Hs3sj: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___ELBnY: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___0i1A8: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___fNBrE: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___fmCeI: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___gWcN8: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___RJ8bQ: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___0wFZh: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___ClI7B: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___n4AMX: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___EkVlA: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___jUKcJ: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___Yszuq: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___R-D-d: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___iy--9: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___OqIJ2: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___y-XLH: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___NSIK4: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___rxxcZ: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___oO8-E: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___bYxsk: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___bZPzq:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
124
|
color: var(--hop-ol-focus) !important;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/html-wrappers/htmlElement.module.css/#css-module-data */
|
|
128
|
-
:where(.htmlElement-module__html-
|
|
129
|
-
:where(.htmlElement-module__html-
|
|
130
|
-
:where(.htmlElement-module__html-
|
|
128
|
+
:where(.htmlElement-module__html-element___o62yV),
|
|
129
|
+
:where(.htmlElement-module__html-element___o62yV::after),
|
|
130
|
+
:where(.htmlElement-module__html-element___o62yV::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { StyledSystemProvider } from './chunk-NTEKQGZI.js';
|
|
2
|
+
import './chunk-Y5XP6E4D.js';
|
|
3
|
+
import './chunk-HM4X5E4X.js';
|
|
4
|
+
import './chunk-C3BQSQFB.js';
|
|
5
5
|
import './chunk-3YM73BQP.js';
|
|
6
6
|
import './chunk-AHDDZ2BQ.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
7
|
+
import './chunk-Z33MPMW6.js';
|
|
8
|
+
import './chunk-6Z3ODGLS.js';
|
|
9
|
+
import './chunk-A47SIZVA.js';
|
|
10
|
+
import './chunk-ZKEMKHXY.js';
|
|
11
|
+
import './chunk-HAB2KYRH.js';
|
|
12
12
|
import './chunk-RIORU7JO.js';
|
|
13
13
|
import './chunk-YPIK2HRL.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
14
|
+
import './chunk-LTBVOC66.js';
|
|
15
|
+
import './chunk-I7U75XRH.js';
|
|
16
|
+
import './chunk-T2LQYER5.js';
|
|
17
|
+
import './chunk-PCGVOTW3.js';
|
|
18
|
+
import './chunk-SFOVKOPG.js';
|
|
19
|
+
import './chunk-VBKLISDI.js';
|
|
20
20
|
import './chunk-XUHDFZZL.js';
|
|
21
21
|
import './chunk-U5R6ZXH3.js';
|
|
22
22
|
import './chunk-I37Y2R7V.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Tokens } from './chunk-
|
|
1
|
+
import { Tokens } from './chunk-A47SIZVA.js';
|
|
2
2
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
3
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
3
|
+
import { StyledSystemRootCssClass } from './chunk-LTBVOC66.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/TokenProvider.tsx
|
|
6
6
|
function TokenProvider() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DarkSemanticTokens } from './chunk-
|
|
2
|
-
import { CoreTokens, SemanticTokens } from './chunk-
|
|
1
|
+
import { DarkSemanticTokens } from './chunk-ZKEMKHXY.js';
|
|
2
|
+
import { CoreTokens, SemanticTokens } from './chunk-HAB2KYRH.js';
|
|
3
3
|
|
|
4
4
|
// src/tokens/tokens.ts
|
|
5
5
|
var Tokens = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
|
|
2
2
|
import { ThemeComputedStyle } from './chunk-AHDDZ2BQ.js';
|
|
3
3
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
4
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
4
|
+
import { StyledSystemRootCssClass } from './chunk-LTBVOC66.js';
|
|
5
5
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
6
6
|
import { useColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
@@ -392,6 +392,7 @@ var SemanticTokens = {
|
|
|
392
392
|
"--hop-neutral-border-hover": "var(--hop-rock-300)",
|
|
393
393
|
"--hop-neutral-border-active": "var(--hop-rock-800)",
|
|
394
394
|
"--hop-neutral-surface-weak-hover": "var(--hop-rock-75)",
|
|
395
|
+
"--hop-neutral-surface-weak-active": "var(--hop-rock-50)",
|
|
395
396
|
"--hop-neutral-border-weakest": "var(--hop-rock-50)",
|
|
396
397
|
"--hop-neutral-surface-weakest": "var(--hop-rock-25)",
|
|
397
398
|
"--hop-warning-icon-weakest": "var(--hop-koi-100)",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-I7U75XRH.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
// css-module:./htmlElement.module.css#css-module
|
|
7
|
-
var htmlElement_module_default = { "html-element": "htmlElement-module__html-
|
|
7
|
+
var htmlElement_module_default = { "html-element": "htmlElement-module__html-element___o62yV" };
|
|
8
8
|
function htmlElement(elementType) {
|
|
9
9
|
return forwardRef((props, ref) => {
|
|
10
10
|
const { className, children, ...rest } = useStyledSystem(props);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, SizingMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-
|
|
2
|
-
import { parseResponsiveValue } from './chunk-
|
|
3
|
-
import { useBreakpointContext } from './chunk-
|
|
1
|
+
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, SizingMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-T2LQYER5.js';
|
|
2
|
+
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
|
+
import { useBreakpointContext } from './chunk-VBKLISDI.js';
|
|
4
4
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
5
5
|
import { UnsafePrefix } from './chunk-I37Y2R7V.js';
|
|
6
6
|
import { __privateAdd, __publicField, __privateSet, __privateGet } from './chunk-JFESGV6Z.js';
|
|
7
7
|
import { useMemo } from 'react';
|
|
8
8
|
|
|
9
9
|
// css-module:./UseStyledSystem.module.css#css-module
|
|
10
|
-
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-
|
|
10
|
+
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___hm18j", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___21HKw", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___Grzt6", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___G7tk8", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___sm1qA", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___e1pDZ", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___n1ebY", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___pkLah", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___EIC7F", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___Hs3sj", "hop-b-active": "UseStyledSystem-module__hop-b-active___ELBnY", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___0i1A8", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___fNBrE", "hop-br-active": "UseStyledSystem-module__hop-br-active___fmCeI", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___gWcN8", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___RJ8bQ", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___0wFZh", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___ClI7B", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___n4AMX", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___EkVlA", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___jUKcJ", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___Yszuq", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___R-D-d", "hop-c-active": "UseStyledSystem-module__hop-c-active___iy--9", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___OqIJ2", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___y-XLH", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___NSIK4", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___rxxcZ", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___oO8-E", "hop-o-active": "UseStyledSystem-module__hop-o-active___bYxsk", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___bZPzq" };
|
|
11
11
|
|
|
12
12
|
// src/useStyledSystem.ts
|
|
13
13
|
function createSystemValueHandler(systemValues) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Div } from './chunk-
|
|
2
|
-
import { BodyStyleProvider } from './chunk-
|
|
3
|
-
import { BreakpointProvider, DefaultUnsupportedMatchMediaBreakpoint } from './chunk-
|
|
4
|
-
import { TokenProvider } from './chunk-
|
|
5
|
-
import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-
|
|
1
|
+
import { Div } from './chunk-Y5XP6E4D.js';
|
|
2
|
+
import { BodyStyleProvider } from './chunk-C3BQSQFB.js';
|
|
3
|
+
import { BreakpointProvider, DefaultUnsupportedMatchMediaBreakpoint } from './chunk-Z33MPMW6.js';
|
|
4
|
+
import { TokenProvider } from './chunk-6Z3ODGLS.js';
|
|
5
|
+
import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-LTBVOC66.js';
|
|
6
6
|
import { useColorScheme } from './chunk-XTX4KVWI.js';
|
|
7
7
|
import { ColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -221,6 +221,7 @@ var BackgroundColors = {
|
|
|
221
221
|
"neutral-strong": "neutral-surface-strong",
|
|
222
222
|
"neutral-hover": "neutral-surface-hover",
|
|
223
223
|
"neutral-weak-hover": "neutral-surface-weak-hover",
|
|
224
|
+
"neutral-weak-active": "neutral-surface-weak-active",
|
|
224
225
|
"neutral-weakest": "neutral-surface-weakest",
|
|
225
226
|
"warning": "warning-surface",
|
|
226
227
|
"warning-strong": "warning-surface-strong",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-
|
|
2
|
-
import { parseResponsiveValue } from './chunk-
|
|
1
|
+
import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-PCGVOTW3.js';
|
|
2
|
+
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
3
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/token-mappings.ts
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
2
1
|
import { createContext, useContext } from 'react';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
// src/responsive/BreakpointContext.tsx
|
|
4
|
+
var BreakpointContext = createContext({
|
|
5
|
+
matchedBreakpoints: []
|
|
6
|
+
});
|
|
5
7
|
function useBreakpointContext() {
|
|
6
8
|
const context = useContext(BreakpointContext);
|
|
7
|
-
if (isNil(context)) {
|
|
8
|
-
throw new Error("useBreakpointContext must be used within a BreakpointProvider");
|
|
9
|
-
}
|
|
10
9
|
return context;
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BreakpointContext } from './chunk-
|
|
1
|
+
import { BreakpointContext } from './chunk-VBKLISDI.js';
|
|
2
2
|
import { Breakpoints } from './chunk-XUHDFZZL.js';
|
|
3
3
|
import { supportsMatchMedia } from './chunk-STEDL5VQ.js';
|
|
4
4
|
import { useCallback, useState, useEffect } from 'react';
|
|
@@ -182,6 +182,7 @@ var DarkSemanticTokens = {
|
|
|
182
182
|
"--hop-neutral-border-hover": "var(--hop-rock-300)",
|
|
183
183
|
"--hop-neutral-border-active": "var(--hop-toad-25)",
|
|
184
184
|
"--hop-neutral-surface-weak-hover": "var(--hop-rock-700)",
|
|
185
|
+
"--hop-neutral-surface-weak-active": "var(--hop-rock-800)",
|
|
185
186
|
"--hop-neutral-border-weakest": "var(--hop-rock-800)",
|
|
186
187
|
"--hop-neutral-surface-weakest": "var(--hop-rock-900)",
|
|
187
188
|
"--hop-warning-icon-weakest": "var(--hop-koi-200)",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { BodyStyleProvider } from '../chunk-
|
|
1
|
+
export { BodyStyleProvider } from '../chunk-C3BQSQFB.js';
|
|
2
2
|
import '../chunk-3YM73BQP.js';
|
|
3
3
|
import '../chunk-AHDDZ2BQ.js';
|
|
4
4
|
import '../chunk-RIORU7JO.js';
|
|
5
5
|
import '../chunk-YPIK2HRL.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-LTBVOC66.js';
|
|
7
7
|
import '../chunk-U5R6ZXH3.js';
|
|
8
8
|
import '../chunk-V7X6ANEM.js';
|
|
9
9
|
import '../chunk-JFESGV6Z.js';
|
|
@@ -1,132 +1,132 @@
|
|
|
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___hm18j: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___21HKw: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___Grzt6: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___G7tk8: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___sm1qA: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___e1pDZ: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___n1ebY: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___pkLah: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___EIC7F: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___Hs3sj: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___ELBnY: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___0i1A8: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___fNBrE: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___fmCeI: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___gWcN8: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___RJ8bQ: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___0wFZh: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___ClI7B: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___n4AMX: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___EkVlA: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___jUKcJ: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___Yszuq: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___R-D-d: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___iy--9: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___OqIJ2: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___y-XLH: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___NSIK4: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___rxxcZ: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___oO8-E: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___bYxsk: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___bZPzq:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
124
|
color: var(--hop-ol-focus) !important;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/html-wrappers/htmlElement.module.css/#css-module-data */
|
|
128
|
-
:where(.htmlElement-module__html-
|
|
129
|
-
:where(.htmlElement-module__html-
|
|
130
|
-
:where(.htmlElement-module__html-
|
|
128
|
+
:where(.htmlElement-module__html-element___o62yV),
|
|
129
|
+
:where(.htmlElement-module__html-element___o62yV::after),
|
|
130
|
+
:where(.htmlElement-module__html-element___o62yV::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A, Address, Article, Aside, Div, HtmlButton, HtmlFooter, HtmlForm, HtmlH1, HtmlH2, HtmlH3, HtmlH4, HtmlH5, HtmlH6, HtmlHeader, HtmlInput, HtmlLabel, HtmlParagraph, HtmlSection, HtmlTextArea, Img, LI, Main, Nav, OL, Span, TBody, TD, TFoot, TH, THead, TR, Table, UL } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
1
|
+
export { A, Address, Article, Aside, Div, HtmlButton, HtmlFooter, HtmlForm, HtmlH1, HtmlH2, HtmlH3, HtmlH4, HtmlH5, HtmlH6, HtmlHeader, HtmlInput, HtmlLabel, HtmlParagraph, HtmlSection, HtmlTextArea, Img, LI, Main, Nav, OL, Span, TBody, TD, TFoot, TH, THead, TR, Table, UL } from '../chunk-Y5XP6E4D.js';
|
|
2
|
+
import '../chunk-HM4X5E4X.js';
|
|
3
|
+
import '../chunk-I7U75XRH.js';
|
|
4
|
+
import '../chunk-T2LQYER5.js';
|
|
5
|
+
import '../chunk-PCGVOTW3.js';
|
|
6
|
+
import '../chunk-SFOVKOPG.js';
|
|
7
|
+
import '../chunk-VBKLISDI.js';
|
|
8
8
|
import '../chunk-XUHDFZZL.js';
|
|
9
9
|
import '../chunk-U5R6ZXH3.js';
|
|
10
10
|
import '../chunk-I37Y2R7V.js';
|