@hopper-ui/styled-system 2.0.2 → 2.1.1
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.d.ts +3 -3
- package/dist/StyledSystemProvider.js +14 -14
- package/dist/{chunk-ZAHZAEAR.js → chunk-47BMTQH2.js} +2 -2
- package/dist/{chunk-RU6U3SMC.js → chunk-6A6KKUGR.js} +1 -1
- package/dist/{chunk-CFIMNXX5.js → chunk-A4E2GPAI.js} +2 -2
- package/dist/{chunk-XGLTD52P.js → chunk-AVOFJJEJ.js} +3 -2
- package/dist/{chunk-6IPAN22Z.js → chunk-BSIKCABJ.js} +1 -1
- package/dist/{chunk-F7KWE6J5.js → chunk-DE5KBEWF.js} +2 -2
- package/dist/{chunk-NJIDLCB7.js → chunk-DED5SJ46.js} +2 -2
- package/dist/{chunk-XOHK7VFY.js → chunk-DKR6TVF5.js} +3 -3
- package/dist/{chunk-QLYSVZLZ.js → chunk-FUFOEPR3.js} +2 -2
- package/dist/{chunk-FAICHNEU.js → chunk-GWDNZB6T.js} +212 -8
- package/dist/{chunk-LKOZVSXD.js → chunk-JJHZT2WG.js} +237 -33
- package/dist/{chunk-4E7VQIC5.js → chunk-RC6LJDQS.js} +230 -26
- package/dist/{chunk-3QZI66SR.js → chunk-Z3V55ZYL.js} +4 -4
- 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.js +14 -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 +201 -100
- 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.js +1 -1
- 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.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3cbbcf4: Fix mapping of borderColor
|
|
8
|
+
|
|
9
|
+
## 2.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- d689dd8: Added new status tokens - updated some status tokens
|
|
14
|
+
|
|
3
15
|
## 2.0.2
|
|
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___t8Lo0: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___53Yvu: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___FFbN4: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___Jp7FK: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___cQO1X: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___XFZga: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___vT9PT: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___Rgurm: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___bEZLZ: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___0pELo: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___blUnL: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___8C-RF: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___qNF-Z: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___aHzly: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___JaURm: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___IbQ-k: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___QwbnS: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___5LUmF: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___isAp8: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___2kcKY: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___TLAT2: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___swpmM: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___UEpLS: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___gpUs-: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___a93TL: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___b0oFU: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___LLYz1: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___gNC9i: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___osuGw: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___dMjnf: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___JifYD: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___ISNzn),
|
|
129
|
+
:where(.htmlElement-module__hop-HtmlElement___ISNzn::after),
|
|
130
|
+
:where(.htmlElement-module__hop-HtmlElement___ISNzn::before) {
|
|
131
131
|
box-sizing: border-box;
|
|
132
132
|
}
|
|
@@ -17,13 +17,13 @@ interface StyledSystemProviderProps extends BreakpointProviderProps, DivProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Determines whether the styles should be added to the document's body
|
|
19
19
|
* By default, it is set to `false`. If set to `true`, it will apply additional styling to the document's body.
|
|
20
|
-
|
|
20
|
+
*/
|
|
21
21
|
withBodyStyle?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* The color scheme to use.
|
|
24
24
|
* @default "light"
|
|
25
25
|
*/
|
|
26
|
-
colorScheme
|
|
26
|
+
colorScheme?: ColorSchemeOrSystem;
|
|
27
27
|
/**
|
|
28
28
|
* Default color scheme to use when a user preferred color scheme (system) is not available.
|
|
29
29
|
* @default "light"
|
|
@@ -33,7 +33,7 @@ interface StyledSystemProviderProps extends BreakpointProviderProps, DivProps {
|
|
|
33
33
|
* Determines whether token CSS variables should be added to the document's head
|
|
34
34
|
* By default, it is set to `true`, you should not change it unless you want to manage CSS variables via `.css` files
|
|
35
35
|
* @default true
|
|
36
|
-
|
|
36
|
+
*/
|
|
37
37
|
withCssVariables?: boolean;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-Z3V55ZYL.js';
|
|
2
|
+
import './chunk-DE5KBEWF.js';
|
|
3
|
+
import './chunk-BSIKCABJ.js';
|
|
4
4
|
import './chunk-3YM73BQP.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-6A6KKUGR.js';
|
|
6
|
+
import './chunk-47BMTQH2.js';
|
|
7
7
|
import './chunk-GXUFWEP5.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
8
|
+
import './chunk-FUFOEPR3.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-AVOFJJEJ.js';
|
|
15
|
+
import './chunk-DKR6TVF5.js';
|
|
16
|
+
import './chunk-DED5SJ46.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,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-DKR6TVF5.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___ISNzn" };
|
|
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 = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@hopper-ui/styled-system",
|
|
4
4
|
author: "Workleap",
|
|
5
|
-
version: "2.
|
|
5
|
+
version: "2.1.1",
|
|
6
6
|
description: "The styled-system package.",
|
|
7
7
|
license: "Apache-2.0",
|
|
8
8
|
repository: {
|
|
@@ -52,7 +52,8 @@ var package_default = {
|
|
|
52
52
|
"@swc/core": "1.5.25",
|
|
53
53
|
"@swc/helpers": "0.5.11",
|
|
54
54
|
"@swc/jest": "0.2.36",
|
|
55
|
-
"@testing-library/
|
|
55
|
+
"@testing-library/dom": "10.1.0",
|
|
56
|
+
"@testing-library/jest-dom": "6.4.6",
|
|
56
57
|
"@testing-library/react": "16.0.0",
|
|
57
58
|
"@types/jest": "29.5.12",
|
|
58
59
|
"@types/react": "18.3.3",
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ThemeComputedStyle } from './chunk-
|
|
1
|
+
import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
|
|
2
2
|
import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
|
|
3
3
|
import { useInsertStyleElement } from './chunk-RIORU7JO.js';
|
|
4
|
-
import { StyledSystemRootCssClass } from './chunk-
|
|
4
|
+
import { StyledSystemRootCssClass } from './chunk-AVOFJJEJ.js';
|
|
5
5
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
6
6
|
import { useColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
@@ -1,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, BorderColors, 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
|
|
|
@@ -31,7 +31,7 @@ var BackgroundColorMapping = {
|
|
|
31
31
|
...DataVizColorMapping
|
|
32
32
|
};
|
|
33
33
|
var BorderMapping = {
|
|
34
|
-
...createMapping(
|
|
34
|
+
...createMapping(BorderColors, createBorderValueTemplate),
|
|
35
35
|
...createMapping(HopperColors, createBorderValueTemplate),
|
|
36
36
|
...createMapping(DataVizColors, createBorderValueTemplate)
|
|
37
37
|
};
|
|
@@ -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-DED5SJ46.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___t8Lo0", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___53Yvu", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___FFbN4", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___Jp7FK", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___cQO1X", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___XFZga", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___vT9PT", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___Rgurm", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___bEZLZ", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___0pELo", "hop-b-active": "UseStyledSystem-module__hop-b-active___blUnL", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___8C-RF", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___qNF-Z", "hop-br-active": "UseStyledSystem-module__hop-br-active___aHzly", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___JaURm", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___IbQ-k", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___QwbnS", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___5LUmF", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___isAp8", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___2kcKY", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___TLAT2", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___swpmM", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___UEpLS", "hop-c-active": "UseStyledSystem-module__hop-c-active___gpUs-", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___a93TL", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___b0oFU", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___LLYz1", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___gNC9i", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___osuGw", "hop-o-active": "UseStyledSystem-module__hop-o-active___dMjnf", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___JifYD" };
|
|
10
10
|
|
|
11
11
|
// src/useStyledSystem.ts
|
|
12
12
|
function createSystemValueHandler(systemValues) {
|
|
@@ -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-AVOFJJEJ.js';
|
|
4
4
|
|
|
5
5
|
// src/tokens/TokenProvider.tsx
|
|
6
6
|
function TokenProvider() {
|