@hopper-ui/styled-system 3.1.9 → 3.1.10
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 +17 -0
- package/dist/StyledSystemProvider.css +34 -34
- package/dist/StyledSystemProvider.js +10 -10
- package/dist/{chunk-ZOBRNQ6K.js → chunk-2HUHH7LB.js} +23 -12
- package/dist/{chunk-OLP75FK3.js → chunk-3QAGJGK4.js} +2 -2
- package/dist/{chunk-DEKDHYZJ.js → chunk-44YPTD2W.js} +4 -4
- package/dist/{chunk-MEXLJKBG.js → chunk-5CC5QKUO.js} +2 -2
- package/dist/{chunk-QKSGYCZX.js → chunk-ASSKAO2A.js} +2 -2
- package/dist/{chunk-I62UJW4C.js → chunk-JUMG2LYR.js} +2 -2
- package/dist/{chunk-R7W7UO6F.js → chunk-KIBAE75I.js} +1 -1
- package/dist/{chunk-QQCLCFNV.js → chunk-PJ5LKI73.js} +1 -1
- package/dist/{chunk-ZZXXGPRK.js → chunk-WTQ36CFW.js} +1 -1
- package/dist/global-styles/BodyStyleProvider.js +3 -2
- package/dist/html-wrappers/html.css +34 -34
- package/dist/html-wrappers/html.js +6 -6
- package/dist/html-wrappers/htmlElement.css +34 -34
- package/dist/html-wrappers/htmlElement.js +5 -5
- package/dist/index.css +34 -34
- package/dist/index.js +10 -10
- package/dist/styledSystemRootCssClass.js +2 -2
- package/dist/theme/generated/sharegate/dark.css +4 -4
- package/dist/theme/generated/sharegate/light.css +267 -114
- package/dist/theme/generated/workleap/dark.css +3 -3
- package/dist/theme/generated/workleap/light.css +244 -91
- package/dist/tokens/generated/styledSystemConstants.d.ts +1 -1
- package/dist/tokens/generated/styledSystemConstants.js +1 -1
- package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +2 -2
- package/dist/tokens/generated/styledSystemToTokenMappings.js +1 -1
- package/dist/tokens/tokenMappings.d.ts +3 -1
- package/dist/tokens/tokenMappings.js +3 -3
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.js +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @hopper-ui/styled-system
|
|
2
2
|
|
|
3
|
+
## 3.1.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- dfc7fb4: Added a new `elevation` prop to the Card component, and made `flat` the default so cards render without shadow unless opted in.
|
|
8
|
+
- 5790abf: Update Button tokens to match new ShareGate theme
|
|
9
|
+
- 66466d6: Add Listbox checkmark tokens
|
|
10
|
+
- db468be: Update Switch and SegmentedControl branding tokens
|
|
11
|
+
- 71d9ff7: Add ShareGate tokens for Tooltip component
|
|
12
|
+
- 781c702: Update background color of body when using ShareGate theme and withBodyStyle
|
|
13
|
+
- f3fd95a: Add Tabs branding tokens
|
|
14
|
+
- c0784b2: - Update Checkbox and Radio button tokens
|
|
15
|
+
- Remove tactility-control core token
|
|
16
|
+
- 506256c: Update styles of Modal, Popover and PopoverBase in ShareGate theme.
|
|
17
|
+
|
|
18
|
+
Add neutral-surface-transparent token.
|
|
19
|
+
|
|
3
20
|
## 3.1.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -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___yP5SV: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___ZtqfB: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___oeWiM: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___gVXDr: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___tCzAF: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___Xfdyg: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___eWnqL: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___kRpnU: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___mWwB5: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___dkyx7: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___4tQK-: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___bd3Ab: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___1IA-m: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___EB-i6: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___7Lwbx: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___l3fXW: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___ZQdk0: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___iRBHP: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___LDGK4: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___DdugY: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___qX6Z9: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___HagpD: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___WTx04: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___uCHgc: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___SAMeq: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___36Ai6: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___DsFNY: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___6nN1q: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___h3aqQ: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___Ajxbu: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___EGsRC: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___pzmzY),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___pzmzY::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___pzmzY::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-ZOBRNQ6K.js';
|
|
1
|
+
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-44YPTD2W.js';
|
|
2
|
+
import './chunk-2HUHH7LB.js';
|
|
4
3
|
import './chunk-RIORU7JO.js';
|
|
5
4
|
import './chunk-YPIK2HRL.js';
|
|
6
5
|
import './chunk-3YM73BQP.js';
|
|
7
6
|
import './chunk-BSIKCABJ.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-WTQ36CFW.js';
|
|
8
|
+
import './chunk-3QAGJGK4.js';
|
|
10
9
|
import './chunk-GXUFWEP5.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
10
|
+
import './chunk-TKWJ3X2I.js';
|
|
11
|
+
import './chunk-KIBAE75I.js';
|
|
12
|
+
import './chunk-5CC5QKUO.js';
|
|
13
|
+
import './chunk-JUMG2LYR.js';
|
|
14
|
+
import './chunk-ASSKAO2A.js';
|
|
15
15
|
import './chunk-FTYK7Z7Q.js';
|
|
16
16
|
import './chunk-U5R6ZXH3.js';
|
|
17
17
|
import './chunk-VBKLISDI.js';
|
|
18
18
|
import './chunk-XUHDFZZL.js';
|
|
19
19
|
import './chunk-QMDDVBCZ.js';
|
|
20
|
-
import './chunk-
|
|
20
|
+
import './chunk-PJ5LKI73.js';
|
|
21
21
|
import './chunk-5U5IRAPA.js';
|
|
22
22
|
import './chunk-T6JS7L6B.js';
|
|
23
23
|
import './chunk-7PR2BAOL.js';
|
|
@@ -1,34 +1,45 @@
|
|
|
1
1
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
2
2
|
import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
|
|
3
3
|
import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
|
|
4
|
+
import { useThemeContext } from './chunk-TKWJ3X2I.js';
|
|
4
5
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
5
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
6
|
+
import { StyledSystemRootCssClass } from './chunk-PJ5LKI73.js';
|
|
6
7
|
import { useColorSchemeContext } from './chunk-7PR2BAOL.js';
|
|
7
8
|
import { useRef, useState } from 'react';
|
|
8
9
|
import { jsx } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
var BodyTokens = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
"workleap": {
|
|
13
|
+
color: "--hop-neutral-text",
|
|
14
|
+
backgroundColor: "--hop-neutral-surface",
|
|
15
|
+
lineHeight: "--hop-body-md-line-height",
|
|
16
|
+
fontFamily: "--hop-body-md-font-family",
|
|
17
|
+
fontSize: "--hop-body-md-font-size"
|
|
18
|
+
},
|
|
19
|
+
"sharegate": {
|
|
20
|
+
color: "--hop-neutral-text",
|
|
21
|
+
backgroundColor: "--hop-neutral-surface-weakest",
|
|
22
|
+
lineHeight: "--hop-body-md-line-height",
|
|
23
|
+
fontFamily: "--hop-body-md-font-family",
|
|
24
|
+
fontSize: "--hop-body-md-font-size"
|
|
25
|
+
}
|
|
16
26
|
};
|
|
17
27
|
function BodyStyleProvider() {
|
|
18
28
|
const ref = useRef(null);
|
|
19
29
|
const { colorScheme } = useColorSchemeContext();
|
|
30
|
+
const { theme } = useThemeContext();
|
|
20
31
|
const [cosmeticStyles, setCosmeticStyles] = useState(void 0);
|
|
21
32
|
useIsomorphicLayoutEffect(() => {
|
|
22
33
|
if (ref.current) {
|
|
23
34
|
const computedStyle = new ThemeComputedStyle(ref, `.${StyledSystemRootCssClass}`);
|
|
24
|
-
const color = computedStyle.getPropertyValue(BodyTokens.color);
|
|
25
|
-
const backgroundColor = computedStyle.getPropertyValue(BodyTokens.backgroundColor);
|
|
26
|
-
const fontFamily = computedStyle.getPropertyValue(BodyTokens.fontFamily);
|
|
27
|
-
const lineHeight = computedStyle.getPropertyValue(BodyTokens.lineHeight);
|
|
28
|
-
const fontSize = computedStyle.getPropertyValue(BodyTokens.fontSize);
|
|
35
|
+
const color = computedStyle.getPropertyValue(BodyTokens[theme].color);
|
|
36
|
+
const backgroundColor = computedStyle.getPropertyValue(BodyTokens[theme].backgroundColor);
|
|
37
|
+
const fontFamily = computedStyle.getPropertyValue(BodyTokens[theme].fontFamily);
|
|
38
|
+
const lineHeight = computedStyle.getPropertyValue(BodyTokens[theme].lineHeight);
|
|
39
|
+
const fontSize = computedStyle.getPropertyValue(BodyTokens[theme].fontSize);
|
|
29
40
|
setCosmeticStyles({ colorScheme, color, backgroundColor, lineHeight, fontFamily, fontSize });
|
|
30
41
|
}
|
|
31
|
-
}, [ref, colorScheme]);
|
|
42
|
+
}, [ref, colorScheme, theme]);
|
|
32
43
|
useInsertStyleElement(
|
|
33
44
|
`hop-body-styles-${StyledSystemRootCssClass}`,
|
|
34
45
|
isNil(cosmeticStyles) ? "" : generateBodyCssContent(cosmeticStyles)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-5CC5QKUO.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___pzmzY" };
|
|
8
8
|
var GlobalHtmlElementCssSelector = "hop-HtmlElement";
|
|
9
9
|
var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
|
|
10
10
|
function htmlElement(elementType) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Div } from './chunk-ZZXXGPRK.js';
|
|
1
|
+
import { BodyStyleProvider } from './chunk-2HUHH7LB.js';
|
|
2
|
+
import { Div } from './chunk-WTQ36CFW.js';
|
|
4
3
|
import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
|
|
5
|
-
import {
|
|
4
|
+
import { ThemeContext } from './chunk-TKWJ3X2I.js';
|
|
5
|
+
import { getRootCSSClasses } from './chunk-KIBAE75I.js';
|
|
6
6
|
import { useColorScheme } from './chunk-5U5IRAPA.js';
|
|
7
7
|
import { ColorSchemeContext } from './chunk-7PR2BAOL.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-
|
|
1
|
+
import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-JUMG2LYR.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-FTYK7Z7Q.js';
|
|
3
3
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
4
4
|
import { useBreakpointContext } from './chunk-VBKLISDI.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___yP5SV", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___ZtqfB", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___oeWiM", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___gVXDr", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___tCzAF", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___Xfdyg", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___eWnqL", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___kRpnU", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___mWwB5", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___dkyx7", "hop-b-active": "UseStyledSystem-module__hop-b-active___4tQK-", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___bd3Ab", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___1IA-m", "hop-br-active": "UseStyledSystem-module__hop-br-active___EB-i6", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___7Lwbx", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___l3fXW", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___ZQdk0", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___iRBHP", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___LDGK4", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___DdugY", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___qX6Z9", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___HagpD", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___WTx04", "hop-c-active": "UseStyledSystem-module__hop-c-active___uCHgc", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___SAMeq", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___36Ai6", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___DsFNY", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___6nN1q", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___h3aqQ", "hop-o-active": "UseStyledSystem-module__hop-o-active___Ajxbu", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___EGsRC" };
|
|
10
10
|
|
|
11
11
|
// src/useStyledSystem.ts
|
|
12
12
|
function createSystemValueHandler(systemValues) {
|
|
@@ -241,7 +241,9 @@ var BackgroundColors = {
|
|
|
241
241
|
"neutral-hover": "neutral-surface-hover",
|
|
242
242
|
"neutral-press": "neutral-surface-press",
|
|
243
243
|
"neutral-strong": "neutral-surface-strong",
|
|
244
|
+
"neutral-transparent": "neutral-surface-transparent",
|
|
244
245
|
"neutral-weak": "neutral-surface-weak",
|
|
246
|
+
"neutral-weak-transparent-always-dark": "neutral-surface-weak-transparent-always-dark",
|
|
245
247
|
"neutral-weak-selected": "neutral-surface-weak-selected",
|
|
246
248
|
"neutral-weak-hover": "neutral-surface-weak-hover",
|
|
247
249
|
"neutral-weak-press": "neutral-surface-weak-press",
|
|
@@ -1079,8 +1081,6 @@ var Elevation = {
|
|
|
1079
1081
|
"core_sm": "shadow-sm",
|
|
1080
1082
|
"core_md": "shadow-md",
|
|
1081
1083
|
"core_lg": "shadow-lg",
|
|
1082
|
-
"core_tactility-button": "shadow-tactility-button",
|
|
1083
|
-
"core_tactility-control": "shadow-tactility-control",
|
|
1084
1084
|
"none": "elevation-none",
|
|
1085
1085
|
"raised": "elevation-raised",
|
|
1086
1086
|
"lifted": "elevation-lifted",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DataVizColors, HopperColors, GradientColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-
|
|
1
|
+
import { DataVizColors, HopperColors, GradientColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-ASSKAO2A.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-FTYK7Z7Q.js';
|
|
3
3
|
import { isNil, isObject } from './chunk-U5R6ZXH3.js';
|
|
4
|
-
import { HopperVariablePrefix } from './chunk-
|
|
4
|
+
import { HopperVariablePrefix } from './chunk-PJ5LKI73.js';
|
|
5
5
|
|
|
6
6
|
// src/tokens/tokenMappings.ts
|
|
7
7
|
var ColorExpressionTypes = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/tokens/generated/styledSystemConstants.ts
|
|
2
2
|
var HopperRootCssClass = "hop";
|
|
3
|
-
var StyledSystemRootCssClass = "hop-5-1-
|
|
3
|
+
var StyledSystemRootCssClass = "hop-5-1-10";
|
|
4
4
|
var HopperVariablePrefix = "--hop";
|
|
5
5
|
|
|
6
6
|
export { HopperRootCssClass, HopperVariablePrefix, StyledSystemRootCssClass };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { BodyStyleProvider } from '../chunk-
|
|
1
|
+
export { BodyStyleProvider } from '../chunk-2HUHH7LB.js';
|
|
2
2
|
import '../chunk-RIORU7JO.js';
|
|
3
3
|
import '../chunk-YPIK2HRL.js';
|
|
4
4
|
import '../chunk-3YM73BQP.js';
|
|
5
5
|
import '../chunk-BSIKCABJ.js';
|
|
6
|
+
import '../chunk-TKWJ3X2I.js';
|
|
6
7
|
import '../chunk-U5R6ZXH3.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-PJ5LKI73.js';
|
|
8
9
|
import '../chunk-7PR2BAOL.js';
|
|
9
10
|
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___yP5SV: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___ZtqfB: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___oeWiM: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___gVXDr: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___tCzAF: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___Xfdyg: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___eWnqL: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___kRpnU: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___mWwB5: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___dkyx7: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___4tQK-: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___bd3Ab: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___1IA-m: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___EB-i6: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___7Lwbx: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___l3fXW: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___ZQdk0: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___iRBHP: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___LDGK4: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___DdugY: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___qX6Z9: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___HagpD: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___WTx04: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___uCHgc: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___SAMeq: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___36Ai6: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___DsFNY: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___6nN1q: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___h3aqQ: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___Ajxbu: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___EGsRC: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___pzmzY),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___pzmzY::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___pzmzY::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
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-WTQ36CFW.js';
|
|
2
|
+
import '../chunk-3QAGJGK4.js';
|
|
3
|
+
import '../chunk-5CC5QKUO.js';
|
|
4
|
+
import '../chunk-JUMG2LYR.js';
|
|
5
|
+
import '../chunk-ASSKAO2A.js';
|
|
6
6
|
import '../chunk-FTYK7Z7Q.js';
|
|
7
7
|
import '../chunk-U5R6ZXH3.js';
|
|
8
8
|
import '../chunk-VBKLISDI.js';
|
|
9
9
|
import '../chunk-XUHDFZZL.js';
|
|
10
10
|
import '../chunk-QMDDVBCZ.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-PJ5LKI73.js';
|
|
12
12
|
import '../chunk-AQ5VUG5P.js';
|