@hopper-ui/styled-system 2.5.13 → 2.5.14
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 +35 -35
- package/dist/StyledSystemProvider.js +11 -11
- package/dist/{chunk-S3G5NPHF.js → chunk-3R4VKTT5.js} +2 -2
- package/dist/{chunk-V7X6ANEM.js → chunk-7PR2BAOL.js} +0 -1
- package/dist/{chunk-54RO57YA.js → chunk-AAWQ3J4F.js} +5 -5
- package/dist/{chunk-43MQD25Q.js → chunk-ACHEBSXM.js} +1 -1
- package/dist/{chunk-A54ZF3UN.js → chunk-F47JPCVB.js} +2 -2
- package/dist/{chunk-GQ3J3RTR.js → chunk-JZOHIXRI.js} +2 -2
- package/dist/{chunk-JVNXXRWE.js → chunk-KHJOHCF7.js} +1 -1
- package/dist/{chunk-RAWVBWQ4.js → chunk-PNIKKWPD.js} +1 -1
- package/dist/{chunk-7TNCJ3OQ.js → chunk-RQX6CSPG.js} +10 -1
- package/dist/{chunk-X5OXC6DN.js → chunk-XG7R6QGE.js} +1 -1
- package/dist/{chunk-ILG53YIO.js → chunk-XLQKHP7H.js} +32 -7
- package/dist/color-scheme/ColorSchemeContext.js +1 -1
- package/dist/color-scheme/useColorSchemeValue.js +2 -2
- package/dist/global-styles/BodyStyleProvider.js +3 -3
- package/dist/html-wrappers/html.css +35 -35
- package/dist/html-wrappers/html.js +4 -4
- package/dist/html-wrappers/htmlElement.css +35 -35
- package/dist/html-wrappers/htmlElement.js +3 -3
- package/dist/index.css +35 -35
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/styledSystemProps.d.ts +21 -5
- package/dist/styledSystemRootCssClass.js +1 -1
- package/dist/tokens/TokenProvider.js +4 -4
- package/dist/tokens/generated/lightSemanticTokens.d.ts +10 -10
- package/dist/tokens/generated/lightSemanticTokens.js +1 -1
- package/dist/tokens/tokenMappings.d.ts +505 -2
- package/dist/tokens/tokenMappings.js +1 -1
- package/dist/tokens/tokens.d.ts +10 -10
- package/dist/tokens/tokens.js +2 -2
- package/dist/useStyledSystem.css +32 -32
- package/dist/useStyledSystem.js +2 -2
- package/package.json +8 -6
- package/dist/{chunk-K5JIMNDM.js → chunk-ZDLOUW4F.js} +10 -10
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___xOWy2: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___g2SKk: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___pE6jB: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___fMNXN: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___lGzz7: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___0DSU2: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___oM2nM: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___iMaKG: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___0j5WL: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___rAg-C: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___y2kHO: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___OxawC: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___NDziw: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___imOPd: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___RPvg-: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___Zw-Ng: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___g7rZF: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___bO1fx: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___zMVjZ: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___hV6xW: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___bzMcY: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___7lSek: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___duT02: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___3pzD4: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___klApx: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___hgbNM: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___s9lx0: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___wIS-C: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___CbsOs: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___jtLXH: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___k9yhc:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
|
-
|
|
124
|
+
outline: 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___6ay6t),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___6ay6t::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___6ay6t::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-AAWQ3J4F.js';
|
|
2
|
+
import './chunk-3R4VKTT5.js';
|
|
3
|
+
import './chunk-PNIKKWPD.js';
|
|
4
4
|
import './chunk-P6FMQKUS.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-ZDLOUW4F.js';
|
|
6
|
+
import './chunk-JZOHIXRI.js';
|
|
7
7
|
import './chunk-3YM73BQP.js';
|
|
8
8
|
import './chunk-BSIKCABJ.js';
|
|
9
9
|
import './chunk-RIORU7JO.js';
|
|
10
10
|
import './chunk-YPIK2HRL.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-KHJOHCF7.js';
|
|
12
|
+
import './chunk-F47JPCVB.js';
|
|
13
13
|
import './chunk-GXUFWEP5.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
14
|
+
import './chunk-ACHEBSXM.js';
|
|
15
|
+
import './chunk-XLQKHP7H.js';
|
|
16
|
+
import './chunk-RQX6CSPG.js';
|
|
17
17
|
import './chunk-MSH55T2T.js';
|
|
18
18
|
import './chunk-SFOVKOPG.js';
|
|
19
19
|
import './chunk-VBKLISDI.js';
|
|
@@ -22,5 +22,5 @@ import './chunk-U5R6ZXH3.js';
|
|
|
22
22
|
import './chunk-QMDDVBCZ.js';
|
|
23
23
|
import './chunk-5U5IRAPA.js';
|
|
24
24
|
import './chunk-T6JS7L6B.js';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-7PR2BAOL.js';
|
|
26
26
|
import './chunk-AQ5VUG5P.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Tokens } from './chunk-
|
|
1
|
+
import { Tokens } from './chunk-PNIKKWPD.js';
|
|
2
2
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
3
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
3
|
+
import { StyledSystemRootCssClass } from './chunk-ACHEBSXM.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/TokenProvider.tsx
|
|
6
6
|
function TokenProvider() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TokenProvider } from './chunk-
|
|
2
|
-
import { BodyStyleProvider } from './chunk-
|
|
3
|
-
import { Div } from './chunk-
|
|
1
|
+
import { TokenProvider } from './chunk-3R4VKTT5.js';
|
|
2
|
+
import { BodyStyleProvider } from './chunk-JZOHIXRI.js';
|
|
3
|
+
import { Div } from './chunk-KHJOHCF7.js';
|
|
4
4
|
import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
|
|
5
|
-
import { getRootCSSClasses } from './chunk-
|
|
5
|
+
import { getRootCSSClasses } from './chunk-ACHEBSXM.js';
|
|
6
6
|
import { useColorScheme } from './chunk-5U5IRAPA.js';
|
|
7
|
-
import { ColorSchemeContext } from './chunk-
|
|
7
|
+
import { ColorSchemeContext } from './chunk-7PR2BAOL.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { forwardRef, useState, useCallback } from 'react';
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-XLQKHP7H.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___6ay6t" };
|
|
8
8
|
var GlobalHtmlElementCssSelector = "hop-HtmlElement";
|
|
9
9
|
var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
|
|
10
10
|
function htmlElement(elementType) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
|
|
2
2
|
import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
|
|
3
3
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
4
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
4
|
+
import { StyledSystemRootCssClass } from './chunk-ACHEBSXM.js';
|
|
5
5
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
6
|
-
import { useColorSchemeContext } from './chunk-
|
|
6
|
+
import { useColorSchemeContext } from './chunk-7PR2BAOL.js';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -11,6 +11,7 @@ var ColorExpressionTypes = [
|
|
|
11
11
|
"hsla"
|
|
12
12
|
];
|
|
13
13
|
var DefaultBorderWidthAndStyle = "1px solid";
|
|
14
|
+
var DefaultOutlineWidthAndStyle = "1px solid";
|
|
14
15
|
function createMapping(mappings, template = createValueTemplate) {
|
|
15
16
|
return Object.entries(mappings).reduce((acc, [key, value]) => {
|
|
16
17
|
acc[key] = template(value);
|
|
@@ -23,6 +24,9 @@ function createValueTemplate(value) {
|
|
|
23
24
|
function createBorderValueTemplate(value) {
|
|
24
25
|
return `${DefaultBorderWidthAndStyle} ${createValueTemplate(value)}`;
|
|
25
26
|
}
|
|
27
|
+
function createOutlineValueTemplate(value) {
|
|
28
|
+
return `${DefaultOutlineWidthAndStyle} ${createValueTemplate(value)}`;
|
|
29
|
+
}
|
|
26
30
|
var ColorMapping = createMapping(HopperColors);
|
|
27
31
|
var DataVizColorMapping = createMapping(DataVizColors);
|
|
28
32
|
var BackgroundColorMapping = {
|
|
@@ -35,6 +39,11 @@ var BorderMapping = {
|
|
|
35
39
|
...createMapping(HopperColors, createBorderValueTemplate),
|
|
36
40
|
...createMapping(DataVizColors, createBorderValueTemplate)
|
|
37
41
|
};
|
|
42
|
+
var OutlineMapping = {
|
|
43
|
+
...createMapping(BorderColors, createOutlineValueTemplate),
|
|
44
|
+
...createMapping(HopperColors, createOutlineValueTemplate),
|
|
45
|
+
...createMapping(DataVizColors, createOutlineValueTemplate)
|
|
46
|
+
};
|
|
38
47
|
var TextColorMapping = {
|
|
39
48
|
...createMapping(TextColors),
|
|
40
49
|
...ColorMapping,
|
|
@@ -137,4 +146,4 @@ function getSizingValue(value) {
|
|
|
137
146
|
return SizingMapping[value] || value;
|
|
138
147
|
}
|
|
139
148
|
|
|
140
|
-
export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, IconColorMapping, LineHeightMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue };
|
|
149
|
+
export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, IconColorMapping, LineHeightMapping, OutlineMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping,
|
|
1
|
+
import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-RQX6CSPG.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___xOWy2", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___g2SKk", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___pE6jB", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___fMNXN", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___lGzz7", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___0DSU2", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___oM2nM", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___iMaKG", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___0j5WL", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___rAg-C", "hop-b-active": "UseStyledSystem-module__hop-b-active___y2kHO", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___OxawC", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___NDziw", "hop-br-active": "UseStyledSystem-module__hop-br-active___imOPd", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___RPvg-", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___Zw-Ng", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___g7rZF", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___bO1fx", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___zMVjZ", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___hV6xW", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___bzMcY", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___7lSek", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___duT02", "hop-c-active": "UseStyledSystem-module__hop-c-active___3pzD4", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___klApx", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___hgbNM", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___s9lx0", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___wIS-C", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___CbsOs", "hop-o-active": "UseStyledSystem-module__hop-o-active___jtLXH", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___k9yhc" };
|
|
10
10
|
|
|
11
11
|
// src/useStyledSystem.ts
|
|
12
12
|
function createSystemValueHandler(systemValues) {
|
|
@@ -62,6 +62,18 @@ function createBorderHandler(systemValues) {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
+
function createOutlineHandler(systemValues) {
|
|
66
|
+
return (name, value, context) => {
|
|
67
|
+
const parsedValue = parseResponsiveSystemValue(value, systemValues, context.matchedBreakpoints);
|
|
68
|
+
if (!isNil(parsedValue)) {
|
|
69
|
+
if (typeof parsedValue === "string" && ColorExpressionTypes.some((x) => parsedValue.startsWith(x))) {
|
|
70
|
+
context.addStyleValue(name, `${DefaultOutlineWidthAndStyle} ${parsedValue}`);
|
|
71
|
+
} else {
|
|
72
|
+
context.addStyleValue(name, parsedValue);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
65
77
|
function createBorderPseudoHandler(pseudoClassName, pseudoVariable, systemValues) {
|
|
66
78
|
return (name, value, context) => {
|
|
67
79
|
const parsedValue = parseResponsiveSystemValue(value, systemValues, context.matchedBreakpoints);
|
|
@@ -75,6 +87,19 @@ function createBorderPseudoHandler(pseudoClassName, pseudoVariable, systemValues
|
|
|
75
87
|
}
|
|
76
88
|
};
|
|
77
89
|
}
|
|
90
|
+
function createOutlinePseudoHandler(pseudoClassName, pseudoVariable, systemValues) {
|
|
91
|
+
return (name, value, context) => {
|
|
92
|
+
const parsedValue = parseResponsiveSystemValue(value, systemValues, context.matchedBreakpoints);
|
|
93
|
+
if (!isNil(parsedValue)) {
|
|
94
|
+
context.addClass(pseudoClassName);
|
|
95
|
+
if (typeof parsedValue === "string" && ColorExpressionTypes.some((x) => parsedValue.startsWith(x))) {
|
|
96
|
+
context.addStyleValue(pseudoVariable, `${DefaultBorderWidthAndStyle} ${parsedValue}`);
|
|
97
|
+
} else {
|
|
98
|
+
context.addStyleValue(pseudoVariable, parsedValue);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
78
103
|
var gridColumnSpanHandler = (name, value, context) => {
|
|
79
104
|
const parsedValue = parseResponsiveValue(value, context.matchedBreakpoints);
|
|
80
105
|
if (!isNil(parsedValue)) {
|
|
@@ -212,12 +237,12 @@ var PropsHandlers = {
|
|
|
212
237
|
objectFit: createPassthroughHandler(),
|
|
213
238
|
objectPosition: createPassthroughHandler(),
|
|
214
239
|
opacity: createPassthroughHandler(),
|
|
215
|
-
opacityActive: createPseudoHandler(UseStyledSystem_module_default["hop-o-active"], "hop-o-active"),
|
|
216
|
-
opacityFocus: createPseudoHandler(UseStyledSystem_module_default["hop-o-focus"], "hop-o-focus"),
|
|
217
|
-
opacityHover: createPseudoHandler(UseStyledSystem_module_default["hop-o-hover"], "hop-o-hover"),
|
|
240
|
+
opacityActive: createPseudoHandler(UseStyledSystem_module_default["hop-o-active"], "--hop-o-active"),
|
|
241
|
+
opacityFocus: createPseudoHandler(UseStyledSystem_module_default["hop-o-focus"], "--hop-o-focus"),
|
|
242
|
+
opacityHover: createPseudoHandler(UseStyledSystem_module_default["hop-o-hover"], "--hop-o-hover"),
|
|
218
243
|
order: createPassthroughHandler(),
|
|
219
|
-
outline:
|
|
220
|
-
outlineFocus:
|
|
244
|
+
outline: createOutlineHandler(OutlineMapping),
|
|
245
|
+
outlineFocus: createOutlinePseudoHandler(UseStyledSystem_module_default["hop-ol-focus"], "--hop-ol-focus", OutlineMapping),
|
|
221
246
|
overflow: createPassthroughHandler(),
|
|
222
247
|
overflowX: createPassthroughHandler(),
|
|
223
248
|
overflowY: createPassthroughHandler(),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorSchemeContext, useColorSchemeContext } from '../chunk-
|
|
1
|
+
export { ColorSchemeContext, useColorSchemeContext } from '../chunk-7PR2BAOL.js';
|
|
2
2
|
import '../chunk-AQ5VUG5P.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useColorSchemeValue } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { useColorSchemeValue } from '../chunk-XG7R6QGE.js';
|
|
2
|
+
import '../chunk-7PR2BAOL.js';
|
|
3
3
|
import '../chunk-AQ5VUG5P.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { BodyStyleProvider } from '../chunk-
|
|
1
|
+
export { BodyStyleProvider } from '../chunk-JZOHIXRI.js';
|
|
2
2
|
import '../chunk-3YM73BQP.js';
|
|
3
3
|
import '../chunk-BSIKCABJ.js';
|
|
4
4
|
import '../chunk-RIORU7JO.js';
|
|
5
5
|
import '../chunk-YPIK2HRL.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-ACHEBSXM.js';
|
|
7
7
|
import '../chunk-U5R6ZXH3.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-7PR2BAOL.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___xOWy2: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___g2SKk: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___pE6jB: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___fMNXN: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___lGzz7: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___0DSU2: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___oM2nM: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___iMaKG: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___0j5WL: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___rAg-C: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___y2kHO: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___OxawC: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___NDziw: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___imOPd: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___RPvg-: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___Zw-Ng: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___g7rZF: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___bO1fx: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___zMVjZ: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___hV6xW: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___bzMcY: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___7lSek: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___duT02: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___3pzD4: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___klApx: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___hgbNM: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___s9lx0: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___wIS-C: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___CbsOs: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___jtLXH: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___k9yhc:focus-visible {
|
|
123
123
|
--hop-ol-focus: initial;
|
|
124
|
-
|
|
124
|
+
outline: 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___6ay6t),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___6ay6t::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___6ay6t::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
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-KHJOHCF7.js';
|
|
2
|
+
import '../chunk-F47JPCVB.js';
|
|
3
|
+
import '../chunk-XLQKHP7H.js';
|
|
4
|
+
import '../chunk-RQX6CSPG.js';
|
|
5
5
|
import '../chunk-MSH55T2T.js';
|
|
6
6
|
import '../chunk-SFOVKOPG.js';
|
|
7
7
|
import '../chunk-VBKLISDI.js';
|