@hopper-ui/styled-system 2.0.1 → 2.1.0
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 +12 -0
- package/dist/StyledSystemProvider.css +34 -34
- package/dist/StyledSystemProvider.js +14 -14
- package/dist/{chunk-BUQLB5H6.js → chunk-2JUIKEQV.js} +2 -2
- package/dist/{chunk-KQGCMT5E.js → chunk-4TWVPT3Q.js} +3 -3
- package/dist/{chunk-KOWHTPQC.js → chunk-65XYWFBG.js} +2 -2
- package/dist/chunk-7STOSQRA.js +8 -0
- package/dist/{chunk-CFIMNXX5.js → chunk-A4E2GPAI.js} +2 -2
- package/dist/{chunk-6IPAN22Z.js → chunk-BSIKCABJ.js} +1 -1
- package/dist/{chunk-FAICHNEU.js → chunk-GWDNZB6T.js} +212 -8
- package/dist/{chunk-NJIDLCB7.js → chunk-HXND7BR4.js} +1 -1
- package/dist/{chunk-LKOZVSXD.js → chunk-JJHZT2WG.js} +237 -33
- package/dist/{chunk-JSOM3YJJ.js → chunk-JRI6ZQUS.js} +4 -4
- package/dist/{chunk-4E7VQIC5.js → chunk-RC6LJDQS.js} +230 -26
- package/dist/{chunk-6KT6K6NI.js → chunk-UODPT2PL.js} +1 -1
- package/dist/{chunk-3KPNXG7H.js → chunk-WRGYA76U.js} +3 -2
- package/dist/{chunk-VTGIKL3T.js → chunk-ZO44DZFN.js} +2 -2
- package/dist/color-scheme/ColorSchemeContext.js +1 -1
- package/dist/color-scheme/useColorScheme.js +1 -1
- package/dist/color-scheme/useColorSchemeValue.js +1 -1
- package/dist/global-styles/BodyStyleProvider.js +4 -4
- 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.d.ts +1 -0
- package/dist/index.js +15 -14
- package/dist/responsive/BreakpointContext.js +1 -1
- package/dist/responsive/BreakpointProvider.js +1 -1
- package/dist/responsive/Breakpoints.js +1 -1
- package/dist/responsive/useResponsiveValue.js +1 -1
- package/dist/styledSystemProps.js +1 -1
- package/dist/styledSystemRootCssClass.js +2 -2
- package/dist/tokens/TokenProvider.js +6 -6
- package/dist/tokens/generated/darkSemanticTokens.d.ts +208 -4
- package/dist/tokens/generated/darkSemanticTokens.js +2 -2
- package/dist/tokens/generated/lightSemanticTokens.d.ts +216 -12
- package/dist/tokens/generated/lightSemanticTokens.js +2 -2
- package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +212 -8
- package/dist/tokens/generated/styledSystemToTokenMappings.js +2 -2
- package/dist/tokens/tokenMappings.d.ts +208 -16
- package/dist/tokens/tokenMappings.js +3 -3
- package/dist/tokens/tokens.d.ts +424 -16
- package/dist/tokens/tokens.js +4 -4
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.js +4 -4
- package/dist/utils/assertion.js +1 -1
- package/dist/utils/slot.d.ts +20 -0
- package/dist/utils/slot.js +2 -0
- package/dist/utils/useInsertStyleElement.js +1 -1
- package/dist/utils/useIsomorphicInsertionEffect.js +1 -1
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -1
- package/dist/utils/useMediaQuery.js +1 -1
- package/dist/utils/useThemeComputedStyle.js +2 -2
- package/package.json +4 -3
- /package/dist/{chunk-2UOTJGT6.js → chunk-AQ5VUG5P.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @hopper-ui/styled-system
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d689dd8: Added new status tokens - updated some status tokens
|
|
8
|
+
|
|
9
|
+
## 2.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ac53639: Added slot method to utilities for Orbiter's interoperability
|
|
14
|
+
|
|
3
15
|
## 2.0.1
|
|
4
16
|
|
|
5
17
|
### 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___yUR7J: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___KE4NZ: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___1EWOf: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___aTvYd: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___7tLt6: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___iez5K: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___bKW25: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___2ECeD: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___yTwRn: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___1Br-t: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___No-ol: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___vLYM2: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___NLXwj: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___0Vtnf: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___Tllsm: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___7GmEQ: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___Nhb5d: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___E3FUt: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___PxYOk: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___QGmKE: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___SW3ii: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___bjwhr: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___G--Dn: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___nLvor: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___XQs-3: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___au1qS: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___C1n6Q: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___0SEcY: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___1p774: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___L9y2l: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___0V5em: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___YTpkw),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___YTpkw::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___YTpkw::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-JRI6ZQUS.js';
|
|
2
|
+
import './chunk-ZO44DZFN.js';
|
|
3
|
+
import './chunk-BSIKCABJ.js';
|
|
3
4
|
import './chunk-3YM73BQP.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-KOWHTPQC.js';
|
|
5
|
+
import './chunk-UODPT2PL.js';
|
|
6
|
+
import './chunk-65XYWFBG.js';
|
|
7
7
|
import './chunk-GXUFWEP5.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
8
|
+
import './chunk-2JUIKEQV.js';
|
|
9
|
+
import './chunk-A4E2GPAI.js';
|
|
10
|
+
import './chunk-JJHZT2WG.js';
|
|
11
|
+
import './chunk-RC6LJDQS.js';
|
|
12
12
|
import './chunk-RIORU7JO.js';
|
|
13
13
|
import './chunk-YPIK2HRL.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
14
|
+
import './chunk-WRGYA76U.js';
|
|
15
|
+
import './chunk-4TWVPT3Q.js';
|
|
16
|
+
import './chunk-HXND7BR4.js';
|
|
17
|
+
import './chunk-GWDNZB6T.js';
|
|
18
18
|
import './chunk-SFOVKOPG.js';
|
|
19
19
|
import './chunk-VBKLISDI.js';
|
|
20
20
|
import './chunk-XUHDFZZL.js';
|
|
@@ -23,4 +23,4 @@ import './chunk-QMDDVBCZ.js';
|
|
|
23
23
|
import './chunk-5U5IRAPA.js';
|
|
24
24
|
import './chunk-T6JS7L6B.js';
|
|
25
25
|
import './chunk-V7X6ANEM.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-AQ5VUG5P.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Tokens } from './chunk-
|
|
1
|
+
import { Tokens } from './chunk-A4E2GPAI.js';
|
|
2
2
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
3
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
3
|
+
import { StyledSystemRootCssClass } from './chunk-WRGYA76U.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/TokenProvider.tsx
|
|
6
6
|
function TokenProvider() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, SizingMapping, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-
|
|
1
|
+
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, SizingMapping, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-HXND7BR4.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';
|
|
5
5
|
import { UnsafePrefix } from './chunk-QMDDVBCZ.js';
|
|
6
|
-
import { __privateAdd, __publicField, __privateSet, __privateGet } from './chunk-
|
|
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___yUR7J", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___KE4NZ", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___1EWOf", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___aTvYd", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___7tLt6", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___iez5K", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___bKW25", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___2ECeD", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___yTwRn", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___1Br-t", "hop-b-active": "UseStyledSystem-module__hop-b-active___No-ol", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___vLYM2", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___NLXwj", "hop-br-active": "UseStyledSystem-module__hop-br-active___0Vtnf", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___Tllsm", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___7GmEQ", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___Nhb5d", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___E3FUt", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___PxYOk", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___QGmKE", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___SW3ii", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___bjwhr", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___G--Dn", "hop-c-active": "UseStyledSystem-module__hop-c-active___nLvor", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___XQs-3", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___au1qS", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___C1n6Q", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___0SEcY", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___1p774", "hop-o-active": "UseStyledSystem-module__hop-o-active___L9y2l", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___0V5em" };
|
|
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-4TWVPT3Q.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___YTpkw" };
|
|
8
8
|
var GlobalHtmlElementCssSelector = "hop-HtmlElement";
|
|
9
9
|
var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
|
|
10
10
|
function htmlElement(elementType) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DarkSemanticTokens } from './chunk-
|
|
2
|
-
import { CoreTokens, SemanticTokens } from './chunk-
|
|
1
|
+
import { DarkSemanticTokens } from './chunk-JJHZT2WG.js';
|
|
2
|
+
import { CoreTokens, SemanticTokens } from './chunk-RC6LJDQS.js';
|
|
3
3
|
|
|
4
4
|
// src/tokens/tokens.ts
|
|
5
5
|
var Tokens = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
2
|
-
import { __privateAdd, __privateSet, __privateGet } from './chunk-
|
|
2
|
+
import { __privateAdd, __privateSet, __privateGet } from './chunk-AQ5VUG5P.js';
|
|
3
3
|
|
|
4
4
|
// src/utils/useThemeComputedStyle.ts
|
|
5
5
|
var _componentRef, _scope;
|
|
@@ -248,29 +248,77 @@ var BackgroundColors = {
|
|
|
248
248
|
"information": "information-surface",
|
|
249
249
|
"information-strong": "information-surface-strong",
|
|
250
250
|
"information-weak": "information-surface-weak",
|
|
251
|
-
"status-caution-strong": "status-caution-surface-strong",
|
|
252
251
|
"status-caution": "status-caution-surface",
|
|
253
|
-
"status-
|
|
252
|
+
"status-caution-disabled": "status-caution-surface-disabled",
|
|
253
|
+
"status-caution-hover": "status-caution-surface-hover",
|
|
254
|
+
"status-caution-press": "status-caution-surface-press",
|
|
255
|
+
"status-caution-selected": "status-caution-surface-selected",
|
|
256
|
+
"status-caution-strong": "status-caution-surface-strong",
|
|
254
257
|
"status-inactive": "status-inactive-surface",
|
|
255
|
-
"status-
|
|
258
|
+
"status-inactive-disabled": "status-inactive-surface-disabled",
|
|
259
|
+
"status-inactive-hover": "status-inactive-surface-hover",
|
|
260
|
+
"status-inactive-press": "status-inactive-surface-press",
|
|
261
|
+
"status-inactive-selected": "status-inactive-surface-selected",
|
|
262
|
+
"status-inactive-strong": "status-inactive-surface-strong",
|
|
256
263
|
"status-negative": "status-negative-surface",
|
|
264
|
+
"status-negative-disabled": "status-negative-surface-disabled",
|
|
265
|
+
"status-negative-hover": "status-negative-surface-hover",
|
|
266
|
+
"status-negative-press": "status-negative-surface-press",
|
|
267
|
+
"status-negative-selected": "status-negative-surface-selected",
|
|
268
|
+
"status-negative-strong": "status-negative-surface-strong",
|
|
257
269
|
"status-neutral": "status-neutral-surface",
|
|
270
|
+
"status-neutral-disabled": "status-neutral-surface-disabled",
|
|
271
|
+
"status-neutral-hover": "status-neutral-surface-hover",
|
|
272
|
+
"status-neutral-press": "status-neutral-surface-press",
|
|
273
|
+
"status-neutral-selected": "status-neutral-surface-selected",
|
|
258
274
|
"status-neutral-strong": "status-neutral-surface-strong",
|
|
259
|
-
"status-option1-strong": "status-option1-surface-strong",
|
|
260
275
|
"status-option1": "status-option1-surface",
|
|
261
|
-
"status-
|
|
276
|
+
"status-option1-disabled": "status-option1-surface-disabled",
|
|
277
|
+
"status-option1-hover": "status-option1-surface-hover",
|
|
278
|
+
"status-option1-press": "status-option1-surface-press",
|
|
279
|
+
"status-option1-selected": "status-option1-surface-selected",
|
|
280
|
+
"status-option1-strong": "status-option1-surface-strong",
|
|
262
281
|
"status-option2": "status-option2-surface",
|
|
263
|
-
"status-
|
|
282
|
+
"status-option2-disabled": "status-option2-surface-disabled",
|
|
283
|
+
"status-option2-hover": "status-option2-surface-hover",
|
|
284
|
+
"status-option2-press": "status-option2-surface-press",
|
|
285
|
+
"status-option2-selected": "status-option2-surface-selected",
|
|
286
|
+
"status-option2-strong": "status-option2-surface-strong",
|
|
264
287
|
"status-option3": "status-option3-surface",
|
|
265
|
-
"status-
|
|
288
|
+
"status-option3-disabled": "status-option3-surface-disabled",
|
|
289
|
+
"status-option3-hover": "status-option3-surface-hover",
|
|
290
|
+
"status-option3-press": "status-option3-surface-press",
|
|
291
|
+
"status-option3-selected": "status-option3-surface-selected",
|
|
292
|
+
"status-option3-strong": "status-option3-surface-strong",
|
|
266
293
|
"status-option4": "status-option4-surface",
|
|
294
|
+
"status-option4-disabled": "status-option4-surface-disabled",
|
|
295
|
+
"status-option4-hover": "status-option4-surface-hover",
|
|
296
|
+
"status-option4-press": "status-option4-surface-press",
|
|
297
|
+
"status-option4-selected": "status-option4-surface-selected",
|
|
298
|
+
"status-option4-strong": "status-option4-surface-strong",
|
|
267
299
|
"status-option5": "status-option5-surface",
|
|
300
|
+
"status-option5-disabled": "status-option5-surface-disabled",
|
|
301
|
+
"status-option5-hover": "status-option5-surface-hover",
|
|
302
|
+
"status-option5-press": "status-option5-surface-press",
|
|
303
|
+
"status-option5-selected": "status-option5-surface-selected",
|
|
268
304
|
"status-option5-strong": "status-option5-surface-strong",
|
|
269
305
|
"status-option6": "status-option6-surface",
|
|
306
|
+
"status-option6-disabled": "status-option6-surface-disabled",
|
|
307
|
+
"status-option6-hover": "status-option6-surface-hover",
|
|
308
|
+
"status-option6-press": "status-option6-surface-press",
|
|
309
|
+
"status-option6-selected": "status-option6-surface-selected",
|
|
270
310
|
"status-option6-strong": "status-option6-surface-strong",
|
|
271
|
-
"status-positive-strong": "status-positive-surface-strong",
|
|
272
311
|
"status-positive": "status-positive-surface",
|
|
312
|
+
"status-positive-disabled": "status-positive-surface-disabled",
|
|
313
|
+
"status-positive-hover": "status-positive-surface-hover",
|
|
314
|
+
"status-positive-press": "status-positive-surface-press",
|
|
315
|
+
"status-positive-selected": "status-positive-surface-selected",
|
|
316
|
+
"status-positive-strong": "status-positive-surface-strong",
|
|
273
317
|
"status-progress": "status-progress-surface",
|
|
318
|
+
"status-progress-disabled": "status-progress-surface-disabled",
|
|
319
|
+
"status-progress-hover": "status-progress-surface-hover",
|
|
320
|
+
"status-progress-press": "status-progress-surface-press",
|
|
321
|
+
"status-progress-selected": "status-progress-surface-selected",
|
|
274
322
|
"status-progress-strong": "status-progress-surface-strong",
|
|
275
323
|
"success": "success-surface",
|
|
276
324
|
"success-strong": "success-surface-strong",
|
|
@@ -343,17 +391,65 @@ var TextColors = {
|
|
|
343
391
|
"information": "information-text",
|
|
344
392
|
"information-weak": "information-text-weak",
|
|
345
393
|
"status-caution": "status-caution-text",
|
|
394
|
+
"status-caution-disabled": "status-caution-text-disabled",
|
|
395
|
+
"status-caution-hover": "status-caution-text-hover",
|
|
396
|
+
"status-caution-press": "status-caution-text-press",
|
|
397
|
+
"status-caution-selected": "status-caution-text-selected",
|
|
346
398
|
"status-inactive": "status-inactive-text",
|
|
399
|
+
"status-inactive-disabled": "status-inactive-text-disabled",
|
|
400
|
+
"status-inactive-hover": "status-inactive-text-hover",
|
|
401
|
+
"status-inactive-press": "status-inactive-text-press",
|
|
402
|
+
"status-inactive-selected": "status-inactive-text-selected",
|
|
347
403
|
"status-negative": "status-negative-text",
|
|
404
|
+
"status-negative-disabled": "status-negative-text-disabled",
|
|
405
|
+
"status-negative-hover": "status-negative-text-hover",
|
|
406
|
+
"status-negative-press": "status-negative-text-press",
|
|
407
|
+
"status-negative-selected": "status-negative-text-selected",
|
|
348
408
|
"status-neutral": "status-neutral-text",
|
|
409
|
+
"status-neutral-disabled": "status-neutral-text-disabled",
|
|
410
|
+
"status-neutral-hover": "status-neutral-text-hover",
|
|
411
|
+
"status-neutral-press": "status-neutral-text-press",
|
|
412
|
+
"status-neutral-selected": "status-neutral-text-selected",
|
|
349
413
|
"status-option1": "status-option1-text",
|
|
414
|
+
"status-option1-disabled": "status-option1-text-disabled",
|
|
415
|
+
"status-option1-hover": "status-option1-text-hover",
|
|
416
|
+
"status-option1-press": "status-option1-text-press",
|
|
417
|
+
"status-option1-selected": "status-option1-text-selected",
|
|
350
418
|
"status-option2": "status-option2-text",
|
|
419
|
+
"status-option2-disabled": "status-option2-text-disabled",
|
|
420
|
+
"status-option2-hover": "status-option2-text-hover",
|
|
421
|
+
"status-option2-press": "status-option2-text-press",
|
|
422
|
+
"status-option2-selected": "status-option2-text-selected",
|
|
351
423
|
"status-option3": "status-option3-text",
|
|
424
|
+
"status-option3-disabled": "status-option3-text-disabled",
|
|
425
|
+
"status-option3-hover": "status-option3-text-hover",
|
|
426
|
+
"status-option3-press": "status-option3-text-press",
|
|
427
|
+
"status-option3-selected": "status-option3-text-selected",
|
|
352
428
|
"status-option4": "status-option4-text",
|
|
429
|
+
"status-option4-disabled": "status-option4-text-disabled",
|
|
430
|
+
"status-option4-hover": "status-option4-text-hover",
|
|
431
|
+
"status-option4-press": "status-option4-text-press",
|
|
432
|
+
"status-option4-selected": "status-option4-text-selected",
|
|
353
433
|
"status-option5": "status-option5-text",
|
|
434
|
+
"status-option5-disabled": "status-option5-text-disabled",
|
|
435
|
+
"status-option5-hover": "status-option5-text-hover",
|
|
436
|
+
"status-option5-press": "status-option5-text-press",
|
|
437
|
+
"status-option5-selected": "status-option5-text-selected",
|
|
354
438
|
"status-option6": "status-option6-text",
|
|
439
|
+
"status-option6-disabled": "status-option6-text-disabled",
|
|
440
|
+
"status-option6-hover": "status-option6-text-hover",
|
|
441
|
+
"status-option6-press": "status-option6-text-press",
|
|
442
|
+
"status-option6-selected": "status-option6-text-selected",
|
|
355
443
|
"status-positive": "status-positive-text",
|
|
444
|
+
"status-positive-disabled": "status-positive-text-disabled",
|
|
445
|
+
"status-positive-hover": "status-positive-text-hover",
|
|
446
|
+
"status-positive-press": "status-positive-text-press",
|
|
447
|
+
"status-positive-selected": "status-positive-text-selected",
|
|
356
448
|
"status-progress": "status-progress-text",
|
|
449
|
+
"status-progress-disabled": "status-progress-text-disabled",
|
|
450
|
+
"status-progress-hover": "status-progress-text-hover",
|
|
451
|
+
"status-progress-press": "status-progress-text-press",
|
|
452
|
+
"status-progress-selected": "status-progress-text-selected",
|
|
357
453
|
"success": "success-text",
|
|
358
454
|
"success-hover": "success-text-hover",
|
|
359
455
|
"success-weak": "success-text-weak",
|
|
@@ -417,17 +513,65 @@ var IconColors = {
|
|
|
417
513
|
"information-weakest": "information-icon-weakest",
|
|
418
514
|
"information-weak": "information-icon-weak",
|
|
419
515
|
"status-caution": "status-caution-icon",
|
|
516
|
+
"status-caution-disabled": "status-caution-icon-disabled",
|
|
517
|
+
"status-caution-hover": "status-caution-icon-hover",
|
|
518
|
+
"status-caution-press": "status-caution-icon-press",
|
|
519
|
+
"status-caution-selected": "status-caution-icon-selected",
|
|
420
520
|
"status-inactive": "status-inactive-icon",
|
|
521
|
+
"status-inactive-disabled": "status-inactive-icon-disabled",
|
|
522
|
+
"status-inactive-hover": "status-inactive-icon-hover",
|
|
523
|
+
"status-inactive-press": "status-inactive-icon-press",
|
|
524
|
+
"status-inactive-selected": "status-inactive-icon-selected",
|
|
421
525
|
"status-negative": "status-negative-icon",
|
|
526
|
+
"status-negative-disabled": "status-negative-icon-disabled",
|
|
527
|
+
"status-negative-hover": "status-negative-icon-hover",
|
|
528
|
+
"status-negative-press": "status-negative-icon-press",
|
|
529
|
+
"status-negative-selected": "status-negative-icon-selected",
|
|
422
530
|
"status-neutral": "status-neutral-icon",
|
|
531
|
+
"status-neutral-disabled": "status-neutral-icon-disabled",
|
|
532
|
+
"status-neutral-hover": "status-neutral-icon-hover",
|
|
533
|
+
"status-neutral-press": "status-neutral-icon-press",
|
|
534
|
+
"status-neutral-selected": "status-neutral-icon-selected",
|
|
423
535
|
"status-option1": "status-option1-icon",
|
|
536
|
+
"status-option1-disabled": "status-option1-icon-disabled",
|
|
537
|
+
"status-option1-hover": "status-option1-icon-hover",
|
|
538
|
+
"status-option1-press": "status-option1-icon-press",
|
|
539
|
+
"status-option1-selected": "status-option1-icon-selected",
|
|
424
540
|
"status-option2": "status-option2-icon",
|
|
541
|
+
"status-option2-disabled": "status-option2-icon-disabled",
|
|
542
|
+
"status-option2-hover": "status-option2-icon-hover",
|
|
543
|
+
"status-option2-press": "status-option2-icon-press",
|
|
544
|
+
"status-option2-selected": "status-option2-icon-selected",
|
|
425
545
|
"status-option3": "status-option3-icon",
|
|
546
|
+
"status-option3-disabled": "status-option3-icon-disabled",
|
|
547
|
+
"status-option3-hover": "status-option3-icon-hover",
|
|
548
|
+
"status-option3-press": "status-option3-icon-press",
|
|
549
|
+
"status-option3-selected": "status-option3-icon-selected",
|
|
426
550
|
"status-option4": "status-option4-icon",
|
|
551
|
+
"status-option4-disabled": "status-option4-icon-disabled",
|
|
552
|
+
"status-option4-hover": "status-option4-icon-hover",
|
|
553
|
+
"status-option4-press": "status-option4-icon-press",
|
|
554
|
+
"status-option4-selected": "status-option4-icon-selected",
|
|
427
555
|
"status-option5": "status-option5-icon",
|
|
556
|
+
"status-option5-disabled": "status-option5-icon-disabled",
|
|
557
|
+
"status-option5-hover": "status-option5-icon-hover",
|
|
558
|
+
"status-option5-press": "status-option5-icon-press",
|
|
559
|
+
"status-option5-selected": "status-option5-icon-selected",
|
|
428
560
|
"status-option6": "status-option6-icon",
|
|
561
|
+
"status-option6-disabled": "status-option6-icon-disabled",
|
|
562
|
+
"status-option6-hover": "status-option6-icon-hover",
|
|
563
|
+
"status-option6-press": "status-option6-icon-press",
|
|
564
|
+
"status-option6-selected": "status-option6-icon-selected",
|
|
429
565
|
"status-positive": "status-positive-icon",
|
|
566
|
+
"status-positive-disabled": "status-positive-icon-disabled",
|
|
567
|
+
"status-positive-hover": "status-positive-icon-hover",
|
|
568
|
+
"status-positive-press": "status-positive-icon-press",
|
|
569
|
+
"status-positive-selected": "status-positive-icon-selected",
|
|
430
570
|
"status-progress": "status-progress-icon",
|
|
571
|
+
"status-progress-disabled": "status-progress-icon-disabled",
|
|
572
|
+
"status-progress-hover": "status-progress-icon-hover",
|
|
573
|
+
"status-progress-press": "status-progress-icon-press",
|
|
574
|
+
"status-progress-selected": "status-progress-icon-selected",
|
|
431
575
|
"success": "success-icon",
|
|
432
576
|
"success-weakest": "success-icon-weakest",
|
|
433
577
|
"success-weak": "success-icon-weak",
|
|
@@ -471,6 +615,66 @@ var BorderColors = {
|
|
|
471
615
|
"decorative-option2": "decorative-option2-border",
|
|
472
616
|
"decorative-option1": "decorative-option1-border",
|
|
473
617
|
"information": "information-border",
|
|
618
|
+
"status-caution": "status-caution-border",
|
|
619
|
+
"status-caution-disabled": "status-caution-border-disabled",
|
|
620
|
+
"status-caution-hover": "status-caution-border-hover",
|
|
621
|
+
"status-caution-press": "status-caution-border-press",
|
|
622
|
+
"status-caution-selected": "status-caution-border-selected",
|
|
623
|
+
"status-inactive": "status-inactive-border",
|
|
624
|
+
"status-inactive-disabled": "status-inactive-border-disabled",
|
|
625
|
+
"status-inactive-hover": "status-inactive-border-hover",
|
|
626
|
+
"status-inactive-press": "status-inactive-border-press",
|
|
627
|
+
"status-inactive-selected": "status-inactive-border-selected",
|
|
628
|
+
"status-negative": "status-negative-border",
|
|
629
|
+
"status-negative-disabled": "status-negative-border-disabled",
|
|
630
|
+
"status-negative-hover": "status-negative-border-hover",
|
|
631
|
+
"status-negative-press": "status-negative-border-press",
|
|
632
|
+
"status-negative-selected": "status-negative-border-selected",
|
|
633
|
+
"status-neutral": "status-neutral-border",
|
|
634
|
+
"status-neutral-disabled": "status-neutral-border-disabled",
|
|
635
|
+
"status-neutral-hover": "status-neutral-border-hover",
|
|
636
|
+
"status-neutral-press": "status-neutral-border-press",
|
|
637
|
+
"status-neutral-selected": "status-neutral-border-selected",
|
|
638
|
+
"status-option1": "status-option1-border",
|
|
639
|
+
"status-option1-disabled": "status-option1-border-disabled",
|
|
640
|
+
"status-option1-hover": "status-option1-border-hover",
|
|
641
|
+
"status-option1-press": "status-option1-border-press",
|
|
642
|
+
"status-option1-selected": "status-option1-border-selected",
|
|
643
|
+
"status-option2": "status-option2-border",
|
|
644
|
+
"status-option2-disabled": "status-option2-border-disabled",
|
|
645
|
+
"status-option2-hover": "status-option2-border-hover",
|
|
646
|
+
"status-option2-press": "status-option2-border-press",
|
|
647
|
+
"status-option2-selected": "status-option2-border-selected",
|
|
648
|
+
"status-option3": "status-option3-border",
|
|
649
|
+
"status-option3-disabled": "status-option3-border-disabled",
|
|
650
|
+
"status-option3-hover": "status-option3-border-hover",
|
|
651
|
+
"status-option3-press": "status-option3-border-press",
|
|
652
|
+
"status-option3-selected": "status-option3-border-selected",
|
|
653
|
+
"status-option4": "status-option4-border",
|
|
654
|
+
"status-option4-disabled": "status-option4-border-disabled",
|
|
655
|
+
"status-option4-hover": "status-option4-border-hover",
|
|
656
|
+
"status-option4-press": "status-option4-border-press",
|
|
657
|
+
"status-option4-selected": "status-option4-border-selected",
|
|
658
|
+
"status-option5": "status-option5-border",
|
|
659
|
+
"status-option5-disabled": "status-option5-border-disabled",
|
|
660
|
+
"status-option5-hover": "status-option5-border-hover",
|
|
661
|
+
"status-option5-press": "status-option5-border-press",
|
|
662
|
+
"status-option5-selected": "status-option5-border-selected",
|
|
663
|
+
"status-option6": "status-option6-border",
|
|
664
|
+
"status-option6-disabled": "status-option6-border-disabled",
|
|
665
|
+
"status-option6-hover": "status-option6-border-hover",
|
|
666
|
+
"status-option6-press": "status-option6-border-press",
|
|
667
|
+
"status-option6-selected": "status-option6-border-selected",
|
|
668
|
+
"status-positive": "status-positive-border",
|
|
669
|
+
"status-positive-disabled": "status-positive-border-disabled",
|
|
670
|
+
"status-positive-hover": "status-positive-border-hover",
|
|
671
|
+
"status-positive-press": "status-positive-border-press",
|
|
672
|
+
"status-positive-selected": "status-positive-border-selected",
|
|
673
|
+
"status-progress": "status-progress-border",
|
|
674
|
+
"status-progress-disabled": "status-progress-border-disabled",
|
|
675
|
+
"status-progress-hover": "status-progress-border-hover",
|
|
676
|
+
"status-progress-press": "status-progress-border-press",
|
|
677
|
+
"status-progress-selected": "status-progress-border-selected",
|
|
474
678
|
"success": "success-border",
|
|
475
679
|
"warning": "warning-border"
|
|
476
680
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-
|
|
1
|
+
import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-GWDNZB6T.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
3
|
import { isNil, isObject } from './chunk-U5R6ZXH3.js';
|
|
4
4
|
|