@hopper-ui/styled-system 2.5.6 → 2.5.8
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 +23 -0
- package/dist/StyledSystemProvider.css +34 -44
- package/dist/StyledSystemProvider.js +7 -7
- package/dist/chunk-7TNCJ3OQ.js +1 -1
- package/dist/{chunk-3VQ43PIS.js → chunk-B376GWWE.js} +1 -1
- package/dist/{chunk-4WFMYA7C.js → chunk-BXAKPMEJ.js} +5 -5
- package/dist/chunk-IKQSS4GV.js +17 -0
- package/dist/{chunk-BI23L2H4.js → chunk-KJNJQLNN.js} +2 -2
- package/dist/{chunk-RLEUGE2I.js → chunk-MQ2MRYPJ.js} +2 -2
- package/dist/chunk-RAWVBWQ4.js +1 -1
- package/dist/{chunk-LGSYLEEK.js → chunk-S3EXS3LF.js} +1 -1
- package/dist/{chunk-WHILYSHG.js → chunk-WCCXIGMQ.js} +1 -1
- 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 +16 -16
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @hopper-ui/styled-system
|
|
2
2
|
|
|
3
|
+
## 2.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f37782e: Extends some CSS property types
|
|
8
|
+
|
|
9
|
+
Changes:
|
|
10
|
+
|
|
11
|
+
- Updated the CssBorder type definition to include DataType.LineStyle.
|
|
12
|
+
- Added 0 as a valid value for GridAutoColumnsValue, GridAutoRowsValue, GridTemplateColumnsValue, GridTemplateRowsValue.
|
|
13
|
+
- Added additional values such as "-moz-max-content", "-moz-min-content", "-webkit-fit-content" and 0 to HeightValue.
|
|
14
|
+
- Added "normal" and 0 to LineHeightValue.
|
|
15
|
+
- Added "auto" and 0 to SimpleMarginValue and ComplexMarginValue. Added 0 to SimplePaddingValue and ComplexPaddingValue.
|
|
16
|
+
- Added 0 to RowGapValue.
|
|
17
|
+
- Added "none" to SizingValue.
|
|
18
|
+
- Added 0, "-moz-max-content", "-moz-min-content", "-webkit-fit-content", "-moz-fit-content", "-webkit-max-content", "intrinsic", and "min-intrinsic" to WidthValue.
|
|
19
|
+
|
|
20
|
+
## 2.5.7
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 4f84364: Revert the "All root elements now properly set their base typography" PR. Modal/Popover/Tooltips now sets their fonts properly themselves
|
|
25
|
+
|
|
3
26
|
## 2.5.6
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -1,142 +1,132 @@
|
|
|
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
|
-
}
|
|
10
|
-
|
|
11
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/UseStyledSystem.module.css/#css-module-data */
|
|
12
|
-
.UseStyledSystem-module__hop-b-
|
|
2
|
+
.UseStyledSystem-module__hop-b-hover___X67pb:hover {
|
|
13
3
|
--hop-b-hover: initial;
|
|
14
4
|
border: var(--hop-b-hover) !important;
|
|
15
5
|
}
|
|
16
|
-
.UseStyledSystem-module__hop-bb-
|
|
6
|
+
.UseStyledSystem-module__hop-bb-hover___MfJWq:hover {
|
|
17
7
|
--hop-bb-hover: initial;
|
|
18
8
|
border-bottom: var(--hop-bb-hover) !important;
|
|
19
9
|
}
|
|
20
|
-
.UseStyledSystem-module__hop-bl-
|
|
10
|
+
.UseStyledSystem-module__hop-bl-hover___nWtAM:hover {
|
|
21
11
|
--hop-bl-hover: initial;
|
|
22
12
|
border-left: var(--hop-bl-hover) !important;
|
|
23
13
|
}
|
|
24
|
-
.UseStyledSystem-module__hop-br-
|
|
14
|
+
.UseStyledSystem-module__hop-br-hover___BXYMY:hover {
|
|
25
15
|
--hop-br-hover: initial;
|
|
26
16
|
border-right: var(--hop-br-hover) !important;
|
|
27
17
|
}
|
|
28
|
-
.UseStyledSystem-module__hop-bt-
|
|
18
|
+
.UseStyledSystem-module__hop-bt-hover___mUbSk:hover {
|
|
29
19
|
--hop-bt-hover: initial;
|
|
30
20
|
border-top: var(--hop-bt-hover) !important;
|
|
31
21
|
}
|
|
32
|
-
.UseStyledSystem-module__hop-b-
|
|
22
|
+
.UseStyledSystem-module__hop-b-focus___aP7Oi:focus-visible {
|
|
33
23
|
--hop-b-focus: initial;
|
|
34
24
|
border: var(--hop-b-focus) !important;
|
|
35
25
|
}
|
|
36
|
-
.UseStyledSystem-module__hop-bb-
|
|
26
|
+
.UseStyledSystem-module__hop-bb-focus___XF9lp:focus-visible {
|
|
37
27
|
--hop-bb-focus: initial;
|
|
38
28
|
border-bottom: var(--hop-bb-focus) !important;
|
|
39
29
|
}
|
|
40
|
-
.UseStyledSystem-module__hop-bl-
|
|
30
|
+
.UseStyledSystem-module__hop-bl-focus___aJJ2P:focus-visible {
|
|
41
31
|
--hop-bl-focus: initial;
|
|
42
32
|
border-left: var(--hop-bl-focus) !important;
|
|
43
33
|
}
|
|
44
|
-
.UseStyledSystem-module__hop-br-
|
|
34
|
+
.UseStyledSystem-module__hop-br-focus___gES2N:focus-visible {
|
|
45
35
|
--hop-br-focus: initial;
|
|
46
36
|
border-right: var(--hop-br-focus) !important;
|
|
47
37
|
}
|
|
48
|
-
.UseStyledSystem-module__hop-bt-
|
|
38
|
+
.UseStyledSystem-module__hop-bt-focus___0n1z3:focus-visible {
|
|
49
39
|
--hop-bt-focus: initial;
|
|
50
40
|
border-top: var(--hop-bt-focus) !important;
|
|
51
41
|
}
|
|
52
|
-
.UseStyledSystem-module__hop-b-
|
|
42
|
+
.UseStyledSystem-module__hop-b-active___kOfhP:active {
|
|
53
43
|
--hop-b-active: initial;
|
|
54
44
|
border: var(--hop-b-active) !important;
|
|
55
45
|
}
|
|
56
|
-
.UseStyledSystem-module__hop-bb-
|
|
46
|
+
.UseStyledSystem-module__hop-bb-active___Oy6gA:active {
|
|
57
47
|
--hop-bb-active: initial;
|
|
58
48
|
border-bottom: var(--hop-bb-active) !important;
|
|
59
49
|
}
|
|
60
|
-
.UseStyledSystem-module__hop-bl-
|
|
50
|
+
.UseStyledSystem-module__hop-bl-active___NH4P7:active {
|
|
61
51
|
--hop-bl-active: initial;
|
|
62
52
|
border-left: var(--hop-bl-active) !important;
|
|
63
53
|
}
|
|
64
|
-
.UseStyledSystem-module__hop-br-
|
|
54
|
+
.UseStyledSystem-module__hop-br-active___qU8SO:active {
|
|
65
55
|
--hop-br-active: initial;
|
|
66
56
|
border-right: var(--hop-br-active) !important;
|
|
67
57
|
}
|
|
68
|
-
.UseStyledSystem-module__hop-bt-
|
|
58
|
+
.UseStyledSystem-module__hop-bt-active___G3GT0:active {
|
|
69
59
|
--hop-bt-active: initial;
|
|
70
60
|
border-top: var(--hop-bt-active) !important;
|
|
71
61
|
}
|
|
72
|
-
.UseStyledSystem-module__hop-bg-
|
|
62
|
+
.UseStyledSystem-module__hop-bg-hover___DUwk1:hover {
|
|
73
63
|
--hop-bg-hover: initial;
|
|
74
64
|
background-color: var(--hop-bg-hover) !important;
|
|
75
65
|
}
|
|
76
|
-
.UseStyledSystem-module__hop-bg-
|
|
66
|
+
.UseStyledSystem-module__hop-bg-focus___VU-3I:focus-visible {
|
|
77
67
|
--hop-bg-focus: initial;
|
|
78
68
|
background-color: var(--hop-bg-focus) !important;
|
|
79
69
|
}
|
|
80
|
-
.UseStyledSystem-module__hop-bg-
|
|
70
|
+
.UseStyledSystem-module__hop-bg-active___idxA4:active {
|
|
81
71
|
--hop-bg-active: initial;
|
|
82
72
|
background-color: var(--hop-bg-active) !important;
|
|
83
73
|
}
|
|
84
|
-
.UseStyledSystem-module__hop-bs-
|
|
74
|
+
.UseStyledSystem-module__hop-bs-hover___9ubu-:hover {
|
|
85
75
|
--hop-bs-hover: initial;
|
|
86
76
|
box-shadow: var(--hop-bs-hover) !important;
|
|
87
77
|
}
|
|
88
|
-
.UseStyledSystem-module__hop-bs-
|
|
78
|
+
.UseStyledSystem-module__hop-bs-focus___k3hRq:focus-visible {
|
|
89
79
|
--hop-bs-focus: initial;
|
|
90
80
|
box-shadow: var(--hop-bs-focus) !important;
|
|
91
81
|
}
|
|
92
|
-
.UseStyledSystem-module__hop-bs-
|
|
82
|
+
.UseStyledSystem-module__hop-bs-active___87-J6:active {
|
|
93
83
|
--hop-bs-active: initial;
|
|
94
84
|
box-shadow: var(--hop-bs-active) !important;
|
|
95
85
|
}
|
|
96
|
-
.UseStyledSystem-module__hop-c-
|
|
86
|
+
.UseStyledSystem-module__hop-c-hover___4ibV3:hover {
|
|
97
87
|
--hop-c-hover: initial;
|
|
98
88
|
color: var(--hop-c-hover) !important;
|
|
99
89
|
}
|
|
100
|
-
.UseStyledSystem-module__hop-c-
|
|
90
|
+
.UseStyledSystem-module__hop-c-focus___a6fcM:focus-visible {
|
|
101
91
|
--hop-c-focus: initial;
|
|
102
92
|
color: var(--hop-c-focus) !important;
|
|
103
93
|
}
|
|
104
|
-
.UseStyledSystem-module__hop-c-
|
|
94
|
+
.UseStyledSystem-module__hop-c-active___76Xn2:active {
|
|
105
95
|
--hop-c-active: initial;
|
|
106
96
|
color: var(--hop-c-active) !important;
|
|
107
97
|
}
|
|
108
|
-
.UseStyledSystem-module__hop-cs-
|
|
98
|
+
.UseStyledSystem-module__hop-cs-hover___aMCvn:hover {
|
|
109
99
|
--hop-cs-hover: initial;
|
|
110
100
|
cursor: var(--hop-cs-hover) !important;
|
|
111
101
|
}
|
|
112
|
-
.UseStyledSystem-module__hop-f-
|
|
102
|
+
.UseStyledSystem-module__hop-f-hover___z6hl5:hover {
|
|
113
103
|
--hop-f-hover: initial;
|
|
114
104
|
fill: var(--hop-f-hover) !important;
|
|
115
105
|
}
|
|
116
|
-
.UseStyledSystem-module__hop-f-
|
|
106
|
+
.UseStyledSystem-module__hop-f-focus___Y71R2:focus-visible {
|
|
117
107
|
--hop-f-focus: initial;
|
|
118
108
|
fill: var(--hop-f-focus) !important;
|
|
119
109
|
}
|
|
120
|
-
.UseStyledSystem-module__hop-o-
|
|
110
|
+
.UseStyledSystem-module__hop-o-hover___FtsIM:hover {
|
|
121
111
|
--hop-o-hover: initial;
|
|
122
112
|
opacity: var(--hop-o-hover) !important;
|
|
123
113
|
}
|
|
124
|
-
.UseStyledSystem-module__hop-o-
|
|
114
|
+
.UseStyledSystem-module__hop-o-focus___7KGdn:focus-visible {
|
|
125
115
|
--hop-o-focus: initial;
|
|
126
116
|
opacity: var(--hop-o-focus) !important;
|
|
127
117
|
}
|
|
128
|
-
.UseStyledSystem-module__hop-o-
|
|
118
|
+
.UseStyledSystem-module__hop-o-active___DiuAQ:active {
|
|
129
119
|
--hop-o-active: initial;
|
|
130
120
|
opacity: var(--hop-o-active) !important;
|
|
131
121
|
}
|
|
132
|
-
.UseStyledSystem-module__hop-ol-
|
|
122
|
+
.UseStyledSystem-module__hop-ol-focus___ScZWG:focus-visible {
|
|
133
123
|
--hop-ol-focus: initial;
|
|
134
124
|
color: var(--hop-ol-focus) !important;
|
|
135
125
|
}
|
|
136
126
|
|
|
137
127
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/styled-system/src/html-wrappers/htmlElement.module.css/#css-module-data */
|
|
138
|
-
:where(.htmlElement-module__hop-
|
|
139
|
-
:where(.htmlElement-module__hop-
|
|
140
|
-
:where(.htmlElement-module__hop-
|
|
128
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-::before) {
|
|
141
131
|
box-sizing: border-box;
|
|
142
132
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-BXAKPMEJ.js';
|
|
2
|
+
import './chunk-WCCXIGMQ.js';
|
|
3
3
|
import './chunk-BSIKCABJ.js';
|
|
4
4
|
import './chunk-3YM73BQP.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-B376GWWE.js';
|
|
6
|
+
import './chunk-MQ2MRYPJ.js';
|
|
7
7
|
import './chunk-GXUFWEP5.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-S3EXS3LF.js';
|
|
9
9
|
import './chunk-RAWVBWQ4.js';
|
|
10
10
|
import './chunk-P6FMQKUS.js';
|
|
11
11
|
import './chunk-K5JIMNDM.js';
|
|
12
12
|
import './chunk-RIORU7JO.js';
|
|
13
13
|
import './chunk-YPIK2HRL.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-IKQSS4GV.js';
|
|
15
|
+
import './chunk-KJNJQLNN.js';
|
|
16
16
|
import './chunk-7TNCJ3OQ.js';
|
|
17
17
|
import './chunk-MSH55T2T.js';
|
|
18
18
|
import './chunk-SFOVKOPG.js';
|
package/dist/chunk-7TNCJ3OQ.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HopperVariablePrefix,
|
|
1
|
+
import { HopperVariablePrefix, DataVizColors, HopperColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-MSH55T2T.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
3
|
import { isNil, isObject } from './chunk-U5R6ZXH3.js';
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BodyStyleProvider } from './chunk-
|
|
2
|
-
import { Div } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import { TokenProvider } from './chunk-
|
|
5
|
-
import { getRootCSSClasses } from './chunk-
|
|
1
|
+
import { BodyStyleProvider } from './chunk-WCCXIGMQ.js';
|
|
2
|
+
import { Div } from './chunk-B376GWWE.js';
|
|
3
|
+
import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
|
|
4
|
+
import { TokenProvider } from './chunk-S3EXS3LF.js';
|
|
5
|
+
import { getRootCSSClasses } from './chunk-IKQSS4GV.js';
|
|
6
6
|
import { useColorScheme } from './chunk-5U5IRAPA.js';
|
|
7
7
|
import { ColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// package.json
|
|
2
|
+
var package_default = {
|
|
3
|
+
version: "2.5.8"};
|
|
4
|
+
|
|
5
|
+
// src/styledSystemRootCssClass.ts
|
|
6
|
+
var HopperRootCssClass = "hop";
|
|
7
|
+
var StyledSystemRootCssClass = `${HopperRootCssClass}-${package_default.version.replaceAll(".", "-")}`;
|
|
8
|
+
function getRootCSSClasses(colorScheme) {
|
|
9
|
+
return [
|
|
10
|
+
HopperRootCssClass,
|
|
11
|
+
`${HopperRootCssClass}-${colorScheme}`,
|
|
12
|
+
StyledSystemRootCssClass,
|
|
13
|
+
`${StyledSystemRootCssClass}-${colorScheme}`
|
|
14
|
+
].join(" ");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { HopperRootCssClass, StyledSystemRootCssClass, getRootCSSClasses };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue,
|
|
1
|
+
import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, SizingMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-7TNCJ3OQ.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
3
|
import { useBreakpointContext } from './chunk-VBKLISDI.js';
|
|
4
4
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
@@ -6,7 +6,7 @@ import { UnsafePrefix } from './chunk-QMDDVBCZ.js';
|
|
|
6
6
|
import { __privateAdd, __publicField, __privateSet, __privateGet } from './chunk-AQ5VUG5P.js';
|
|
7
7
|
|
|
8
8
|
// css-module:./UseStyledSystem.module.css#css-module
|
|
9
|
-
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-
|
|
9
|
+
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___X67pb", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___MfJWq", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___nWtAM", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___BXYMY", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___mUbSk", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___aP7Oi", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___XF9lp", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___aJJ2P", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___gES2N", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___0n1z3", "hop-b-active": "UseStyledSystem-module__hop-b-active___kOfhP", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___Oy6gA", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___NH4P7", "hop-br-active": "UseStyledSystem-module__hop-br-active___qU8SO", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___G3GT0", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___DUwk1", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___VU-3I", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___idxA4", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___9ubu-", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___k3hRq", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___87-J6", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___4ibV3", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___a6fcM", "hop-c-active": "UseStyledSystem-module__hop-c-active___76Xn2", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___aMCvn", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___z6hl5", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___Y71R2", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___FtsIM", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___7KGdn", "hop-o-active": "UseStyledSystem-module__hop-o-active___DiuAQ", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___ScZWG" };
|
|
10
10
|
|
|
11
11
|
// src/useStyledSystem.ts
|
|
12
12
|
function createSystemValueHandler(systemValues) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-KJNJQLNN.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 = { "hop-HtmlElement": "htmlElement-module__hop-
|
|
7
|
+
var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-HtmlElement___pQS3-" };
|
|
8
8
|
var GlobalHtmlElementCssSelector = "hop-HtmlElement";
|
|
9
9
|
var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
|
|
10
10
|
function htmlElement(elementType) {
|
package/dist/chunk-RAWVBWQ4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tokens } from './chunk-RAWVBWQ4.js';
|
|
2
2
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
3
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
3
|
+
import { StyledSystemRootCssClass } from './chunk-IKQSS4GV.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/TokenProvider.tsx
|
|
6
6
|
function TokenProvider() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
|
|
2
2
|
import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
|
|
3
3
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
4
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
4
|
+
import { StyledSystemRootCssClass } from './chunk-IKQSS4GV.js';
|
|
5
5
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
6
6
|
import { useColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { BodyStyleProvider } from '../chunk-
|
|
1
|
+
export { BodyStyleProvider } from '../chunk-WCCXIGMQ.js';
|
|
2
2
|
import '../chunk-BSIKCABJ.js';
|
|
3
3
|
import '../chunk-3YM73BQP.js';
|
|
4
4
|
import '../chunk-RIORU7JO.js';
|
|
5
5
|
import '../chunk-YPIK2HRL.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-IKQSS4GV.js';
|
|
7
7
|
import '../chunk-U5R6ZXH3.js';
|
|
8
8
|
import '../chunk-V7X6ANEM.js';
|
|
9
9
|
import '../chunk-AQ5VUG5P.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___X67pb: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___MfJWq: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___nWtAM: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___BXYMY: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___mUbSk: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___aP7Oi: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___XF9lp: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___aJJ2P: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___gES2N: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___0n1z3: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___kOfhP: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___Oy6gA: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___NH4P7: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___qU8SO: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___G3GT0: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___DUwk1: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___VU-3I: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___idxA4: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___9ubu-: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___k3hRq: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___87-J6: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___4ibV3: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___a6fcM: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___76Xn2: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___aMCvn: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___z6hl5: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___Y71R2: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___FtsIM: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___7KGdn: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___DiuAQ: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___ScZWG: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__hop-
|
|
129
|
-
:where(.htmlElement-module__hop-
|
|
130
|
-
:where(.htmlElement-module__hop-
|
|
128
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___pQS3-::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-B376GWWE.js';
|
|
2
|
+
import '../chunk-MQ2MRYPJ.js';
|
|
3
|
+
import '../chunk-KJNJQLNN.js';
|
|
4
4
|
import '../chunk-7TNCJ3OQ.js';
|
|
5
5
|
import '../chunk-MSH55T2T.js';
|
|
6
6
|
import '../chunk-SFOVKOPG.js';
|