@hopper-ui/styled-system 3.1.9 → 3.2.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/StyledSystemProvider.css +34 -34
  3. package/dist/StyledSystemProvider.js +10 -10
  4. package/dist/{chunk-QKSGYCZX.js → chunk-ASSKAO2A.js} +2 -2
  5. package/dist/{chunk-MEXLJKBG.js → chunk-DKOEF2SB.js} +2 -2
  6. package/dist/{chunk-R7W7UO6F.js → chunk-DTNXWRO2.js} +1 -1
  7. package/dist/{chunk-I62UJW4C.js → chunk-FZISEC66.js} +2 -2
  8. package/dist/{chunk-OLP75FK3.js → chunk-KHVSY6F6.js} +2 -2
  9. package/dist/{chunk-QQCLCFNV.js → chunk-LNQMARXP.js} +1 -1
  10. package/dist/{chunk-DEKDHYZJ.js → chunk-PVJUVKNG.js} +4 -4
  11. package/dist/{chunk-ZZXXGPRK.js → chunk-PYFYFTJJ.js} +1 -1
  12. package/dist/{chunk-ZOBRNQ6K.js → chunk-XIFMRC5L.js} +23 -12
  13. package/dist/global-styles/BodyStyleProvider.js +3 -2
  14. package/dist/html-wrappers/html.css +34 -34
  15. package/dist/html-wrappers/html.js +6 -6
  16. package/dist/html-wrappers/htmlElement.css +34 -34
  17. package/dist/html-wrappers/htmlElement.js +5 -5
  18. package/dist/index.css +34 -34
  19. package/dist/index.js +10 -10
  20. package/dist/styledSystemRootCssClass.js +2 -2
  21. package/dist/theme/generated/sharegate/dark.css +5 -5
  22. package/dist/theme/generated/sharegate/light.css +267 -114
  23. package/dist/theme/generated/workleap/dark.css +3 -3
  24. package/dist/theme/generated/workleap/light.css +243 -91
  25. package/dist/tokens/generated/styledSystemConstants.d.ts +1 -1
  26. package/dist/tokens/generated/styledSystemConstants.js +1 -1
  27. package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +2 -2
  28. package/dist/tokens/generated/styledSystemToTokenMappings.js +1 -1
  29. package/dist/tokens/tokenMappings.d.ts +3 -1
  30. package/dist/tokens/tokenMappings.js +3 -3
  31. package/dist/useStyledSystem.css +31 -31
  32. package/dist/useStyledSystem.js +4 -4
  33. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @hopper-ui/styled-system
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a5ae654: Support Glassy modals with a backdrop
8
+
9
+ ### Patch Changes
10
+
11
+ - 7327855: Update icon-hover token in dark mode for ShareGate
12
+
13
+ ## 3.1.10
14
+
15
+ ### Patch Changes
16
+
17
+ - dfc7fb4: Added a new `elevation` prop to the Card component, and made `flat` the default so cards render without shadow unless opted in.
18
+ - 5790abf: Update Button tokens to match new ShareGate theme
19
+ - 66466d6: Add Listbox checkmark tokens
20
+ - db468be: Update Switch and SegmentedControl branding tokens
21
+ - 71d9ff7: Add ShareGate tokens for Tooltip component
22
+ - 781c702: Update background color of body when using ShareGate theme and withBodyStyle
23
+ - f3fd95a: Add Tabs branding tokens
24
+ - c0784b2: - Update Checkbox and Radio button tokens
25
+ - Remove tactility-control core token
26
+ - 506256c: Update styles of Modal, Popover and PopoverBase in ShareGate theme.
27
+
28
+ Add neutral-surface-transparent token.
29
+
3
30
  ## 3.1.9
4
31
 
5
32
  ### 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-hover___qZIEx:hover {
2
+ .UseStyledSystem-module__hop-b-hover___uPdxd:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___rHN9m:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___mSHIG:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___f3MCd:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___7vCjt:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___0r7Ai:hover {
14
+ .UseStyledSystem-module__hop-br-hover___KFFyK:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___Fb7B0:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___e-eiF:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___0XQcr:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___9ZtTR:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___N6VYS:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___Iv9SR:focus-visible {
27
27
  --hop-bb-focus: initial;
28
28
  border-bottom: var(--hop-bb-focus) !important;
29
29
  }
30
- .UseStyledSystem-module__hop-bl-focus___xOqGG:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___kOmre:focus-visible {
31
31
  --hop-bl-focus: initial;
32
32
  border-left: var(--hop-bl-focus) !important;
33
33
  }
34
- .UseStyledSystem-module__hop-br-focus___GmsRZ:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___h1lKs:focus-visible {
35
35
  --hop-br-focus: initial;
36
36
  border-right: var(--hop-br-focus) !important;
37
37
  }
38
- .UseStyledSystem-module__hop-bt-focus___9x1HJ:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___7ibuj:focus-visible {
39
39
  --hop-bt-focus: initial;
40
40
  border-top: var(--hop-bt-focus) !important;
41
41
  }
42
- .UseStyledSystem-module__hop-b-active___1o7lD:active {
42
+ .UseStyledSystem-module__hop-b-active___O5UGT:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___O2atB:active {
46
+ .UseStyledSystem-module__hop-bb-active___VQWR4:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___ZWxy2:active {
50
+ .UseStyledSystem-module__hop-bl-active___vm2V9:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___Z5NBT:active {
54
+ .UseStyledSystem-module__hop-br-active___ux-79:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___L0T70:active {
58
+ .UseStyledSystem-module__hop-bt-active___Pxh-r:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___dQh7t:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___dKcJq:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___7opvb:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___vakti:focus-visible {
67
67
  --hop-bg-focus: initial;
68
68
  background-color: var(--hop-bg-focus) !important;
69
69
  }
70
- .UseStyledSystem-module__hop-bg-active___ZxGkR:active {
70
+ .UseStyledSystem-module__hop-bg-active___ozNh7:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___ll7pP:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___jfi99:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___ZBN-i:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Hvoxi:focus-visible {
79
79
  --hop-bs-focus: initial;
80
80
  box-shadow: var(--hop-bs-focus) !important;
81
81
  }
82
- .UseStyledSystem-module__hop-bs-active___klHmb:active {
82
+ .UseStyledSystem-module__hop-bs-active___sRabg:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___qFfNv:hover {
86
+ .UseStyledSystem-module__hop-c-hover___li8ug:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___0U8ge:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___EAOXq:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___Z-vO1:active {
94
+ .UseStyledSystem-module__hop-c-active___Aufdt:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___OisIP:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___6Vbpf:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___x6xlQ:hover {
102
+ .UseStyledSystem-module__hop-f-hover___S24rB:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___WZUhV:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___rgTud:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___5lvGM:hover {
110
+ .UseStyledSystem-module__hop-o-hover___45z-N:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___-h1OQ:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___Rjvcr:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___66oOE:active {
118
+ .UseStyledSystem-module__hop-o-active___Sv9WS:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___lbTNw:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___BCC38: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-HtmlElement___LYX97),
129
- :where(.htmlElement-module__hop-HtmlElement___LYX97::after),
130
- :where(.htmlElement-module__hop-HtmlElement___LYX97::before) {
128
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2),
129
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2::after),
130
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2::before) {
131
131
  box-sizing: border-box;
132
132
  }
@@ -1,23 +1,23 @@
1
- export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-DEKDHYZJ.js';
2
- import './chunk-TKWJ3X2I.js';
3
- import './chunk-ZOBRNQ6K.js';
1
+ export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-PVJUVKNG.js';
2
+ import './chunk-XIFMRC5L.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-ZZXXGPRK.js';
9
- import './chunk-OLP75FK3.js';
7
+ import './chunk-PYFYFTJJ.js';
8
+ import './chunk-KHVSY6F6.js';
10
9
  import './chunk-GXUFWEP5.js';
11
- import './chunk-R7W7UO6F.js';
12
- import './chunk-MEXLJKBG.js';
13
- import './chunk-I62UJW4C.js';
14
- import './chunk-QKSGYCZX.js';
10
+ import './chunk-TKWJ3X2I.js';
11
+ import './chunk-DTNXWRO2.js';
12
+ import './chunk-DKOEF2SB.js';
13
+ import './chunk-FZISEC66.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-QQCLCFNV.js';
20
+ import './chunk-LNQMARXP.js';
21
21
  import './chunk-5U5IRAPA.js';
22
22
  import './chunk-T6JS7L6B.js';
23
23
  import './chunk-7PR2BAOL.js';
@@ -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,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-I62UJW4C.js';
1
+ import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-FZISEC66.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-hover___qZIEx", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___rHN9m", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___f3MCd", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___0r7Ai", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___Fb7B0", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___0XQcr", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___N6VYS", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___xOqGG", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___GmsRZ", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___9x1HJ", "hop-b-active": "UseStyledSystem-module__hop-b-active___1o7lD", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___O2atB", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___ZWxy2", "hop-br-active": "UseStyledSystem-module__hop-br-active___Z5NBT", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___L0T70", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___dQh7t", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___7opvb", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___ZxGkR", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___ll7pP", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___ZBN-i", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___klHmb", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___qFfNv", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___0U8ge", "hop-c-active": "UseStyledSystem-module__hop-c-active___Z-vO1", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___OisIP", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___x6xlQ", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___WZUhV", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___5lvGM", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___-h1OQ", "hop-o-active": "UseStyledSystem-module__hop-o-active___66oOE", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___lbTNw" };
9
+ var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___uPdxd", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___mSHIG", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___7vCjt", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___KFFyK", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___e-eiF", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___9ZtTR", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___Iv9SR", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___kOmre", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___h1lKs", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___7ibuj", "hop-b-active": "UseStyledSystem-module__hop-b-active___O5UGT", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___VQWR4", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___vm2V9", "hop-br-active": "UseStyledSystem-module__hop-br-active___ux-79", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___Pxh-r", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___dKcJq", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___vakti", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___ozNh7", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___jfi99", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___Hvoxi", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___sRabg", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___li8ug", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___EAOXq", "hop-c-active": "UseStyledSystem-module__hop-c-active___Aufdt", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___6Vbpf", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___S24rB", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___rgTud", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___45z-N", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___Rjvcr", "hop-o-active": "UseStyledSystem-module__hop-o-active___Sv9WS", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___BCC38" };
10
10
 
11
11
  // src/useStyledSystem.ts
12
12
  function createSystemValueHandler(systemValues) {
@@ -1,4 +1,4 @@
1
- import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-QQCLCFNV.js';
1
+ import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-LNQMARXP.js';
2
2
 
3
3
  // src/styledSystemRootCssClass.ts
4
4
  function getRootCSSClasses(colorScheme, theme) {
@@ -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-QKSGYCZX.js';
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-QQCLCFNV.js';
4
+ import { HopperVariablePrefix } from './chunk-LNQMARXP.js';
5
5
 
6
6
  // src/tokens/tokenMappings.ts
7
7
  var ColorExpressionTypes = [
@@ -1,10 +1,10 @@
1
- import { useStyledSystem } from './chunk-MEXLJKBG.js';
1
+ import { useStyledSystem } from './chunk-DKOEF2SB.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-HtmlElement___LYX97" };
7
+ var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-HtmlElement___Jk9h2" };
8
8
  var GlobalHtmlElementCssSelector = "hop-HtmlElement";
9
9
  var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
10
10
  function htmlElement(elementType) {
@@ -1,6 +1,6 @@
1
1
  // src/tokens/generated/styledSystemConstants.ts
2
2
  var HopperRootCssClass = "hop";
3
- var StyledSystemRootCssClass = "hop-5-1-9";
3
+ var StyledSystemRootCssClass = "hop-5-2-0";
4
4
  var HopperVariablePrefix = "--hop";
5
5
 
6
6
  export { HopperRootCssClass, HopperVariablePrefix, StyledSystemRootCssClass };
@@ -1,8 +1,8 @@
1
- import { ThemeContext } from './chunk-TKWJ3X2I.js';
2
- import { BodyStyleProvider } from './chunk-ZOBRNQ6K.js';
3
- import { Div } from './chunk-ZZXXGPRK.js';
1
+ import { BodyStyleProvider } from './chunk-XIFMRC5L.js';
2
+ import { Div } from './chunk-PYFYFTJJ.js';
4
3
  import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
5
- import { getRootCSSClasses } from './chunk-R7W7UO6F.js';
4
+ import { ThemeContext } from './chunk-TKWJ3X2I.js';
5
+ import { getRootCSSClasses } from './chunk-DTNXWRO2.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 { htmlElement } from './chunk-OLP75FK3.js';
1
+ import { htmlElement } from './chunk-KHVSY6F6.js';
2
2
 
3
3
  // src/html-wrappers/html.ts
4
4
  var Address = htmlElement("address");
@@ -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-QQCLCFNV.js';
6
+ import { StyledSystemRootCssClass } from './chunk-LNQMARXP.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
- color: "--hop-neutral-text",
12
- backgroundColor: "--hop-neutral-surface",
13
- lineHeight: "--hop-body-md-line-height",
14
- fontFamily: "--hop-body-md-font-family",
15
- fontSize: "--hop-body-md-font-size"
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,9 +1,10 @@
1
- export { BodyStyleProvider } from '../chunk-ZOBRNQ6K.js';
1
+ export { BodyStyleProvider } from '../chunk-XIFMRC5L.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-QQCLCFNV.js';
8
+ import '../chunk-LNQMARXP.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-hover___qZIEx:hover {
2
+ .UseStyledSystem-module__hop-b-hover___uPdxd:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___rHN9m:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___mSHIG:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___f3MCd:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___7vCjt:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___0r7Ai:hover {
14
+ .UseStyledSystem-module__hop-br-hover___KFFyK:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___Fb7B0:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___e-eiF:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___0XQcr:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___9ZtTR:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___N6VYS:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___Iv9SR:focus-visible {
27
27
  --hop-bb-focus: initial;
28
28
  border-bottom: var(--hop-bb-focus) !important;
29
29
  }
30
- .UseStyledSystem-module__hop-bl-focus___xOqGG:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___kOmre:focus-visible {
31
31
  --hop-bl-focus: initial;
32
32
  border-left: var(--hop-bl-focus) !important;
33
33
  }
34
- .UseStyledSystem-module__hop-br-focus___GmsRZ:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___h1lKs:focus-visible {
35
35
  --hop-br-focus: initial;
36
36
  border-right: var(--hop-br-focus) !important;
37
37
  }
38
- .UseStyledSystem-module__hop-bt-focus___9x1HJ:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___7ibuj:focus-visible {
39
39
  --hop-bt-focus: initial;
40
40
  border-top: var(--hop-bt-focus) !important;
41
41
  }
42
- .UseStyledSystem-module__hop-b-active___1o7lD:active {
42
+ .UseStyledSystem-module__hop-b-active___O5UGT:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___O2atB:active {
46
+ .UseStyledSystem-module__hop-bb-active___VQWR4:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___ZWxy2:active {
50
+ .UseStyledSystem-module__hop-bl-active___vm2V9:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___Z5NBT:active {
54
+ .UseStyledSystem-module__hop-br-active___ux-79:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___L0T70:active {
58
+ .UseStyledSystem-module__hop-bt-active___Pxh-r:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___dQh7t:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___dKcJq:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___7opvb:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___vakti:focus-visible {
67
67
  --hop-bg-focus: initial;
68
68
  background-color: var(--hop-bg-focus) !important;
69
69
  }
70
- .UseStyledSystem-module__hop-bg-active___ZxGkR:active {
70
+ .UseStyledSystem-module__hop-bg-active___ozNh7:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___ll7pP:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___jfi99:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___ZBN-i:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Hvoxi:focus-visible {
79
79
  --hop-bs-focus: initial;
80
80
  box-shadow: var(--hop-bs-focus) !important;
81
81
  }
82
- .UseStyledSystem-module__hop-bs-active___klHmb:active {
82
+ .UseStyledSystem-module__hop-bs-active___sRabg:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___qFfNv:hover {
86
+ .UseStyledSystem-module__hop-c-hover___li8ug:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___0U8ge:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___EAOXq:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___Z-vO1:active {
94
+ .UseStyledSystem-module__hop-c-active___Aufdt:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___OisIP:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___6Vbpf:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___x6xlQ:hover {
102
+ .UseStyledSystem-module__hop-f-hover___S24rB:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___WZUhV:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___rgTud:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___5lvGM:hover {
110
+ .UseStyledSystem-module__hop-o-hover___45z-N:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___-h1OQ:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___Rjvcr:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___66oOE:active {
118
+ .UseStyledSystem-module__hop-o-active___Sv9WS:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___lbTNw:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___BCC38: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-HtmlElement___LYX97),
129
- :where(.htmlElement-module__hop-HtmlElement___LYX97::after),
130
- :where(.htmlElement-module__hop-HtmlElement___LYX97::before) {
128
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2),
129
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2::after),
130
+ :where(.htmlElement-module__hop-HtmlElement___Jk9h2::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-ZZXXGPRK.js';
2
- import '../chunk-OLP75FK3.js';
3
- import '../chunk-MEXLJKBG.js';
4
- import '../chunk-I62UJW4C.js';
5
- import '../chunk-QKSGYCZX.js';
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-PYFYFTJJ.js';
2
+ import '../chunk-KHVSY6F6.js';
3
+ import '../chunk-DKOEF2SB.js';
4
+ import '../chunk-FZISEC66.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-QQCLCFNV.js';
11
+ import '../chunk-LNQMARXP.js';
12
12
  import '../chunk-AQ5VUG5P.js';