@hopper-ui/styled-system 3.2.2 → 4.0.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 (35) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/StyledSystemProvider.css +34 -34
  3. package/dist/StyledSystemProvider.js +9 -9
  4. package/dist/{chunk-ASSKAO2A.js → chunk-2BMH444W.js} +45 -5
  5. package/dist/{chunk-VYSHJ4BC.js → chunk-3W57BWQT.js} +3 -3
  6. package/dist/{chunk-UR27V3AY.js → chunk-BLSIMXE7.js} +3 -3
  7. package/dist/{chunk-ODDLVJ3T.js → chunk-G37OO232.js} +1 -1
  8. package/dist/{chunk-WMA6YQHA.js → chunk-LLGTCJEP.js} +2 -2
  9. package/dist/{chunk-46R7LA5R.js → chunk-QAUUAHRK.js} +1 -1
  10. package/dist/{chunk-2B3FQDBI.js → chunk-RIOM7ASY.js} +1 -1
  11. package/dist/{chunk-F5DBKR5B.js → chunk-TSN5DPDB.js} +1 -1
  12. package/dist/{chunk-YFZ3HPSH.js → chunk-TZCNHN3Q.js} +4 -3
  13. package/dist/global-styles/BodyStyleProvider.js +2 -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.d.ts +1 -1
  20. package/dist/index.js +9 -9
  21. package/dist/styledSystemProps.d.ts +13 -5
  22. package/dist/styledSystemRootCssClass.js +2 -2
  23. package/dist/theme/generated/sharegate/dark.css +273 -259
  24. package/dist/theme/generated/sharegate/light.css +307 -220
  25. package/dist/theme/generated/workleap/dark.css +27 -13
  26. package/dist/theme/generated/workleap/light.css +100 -13
  27. package/dist/tokens/generated/styledSystemConstants.d.ts +1 -1
  28. package/dist/tokens/generated/styledSystemConstants.js +1 -1
  29. package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +42 -2
  30. package/dist/tokens/generated/styledSystemToTokenMappings.js +1 -1
  31. package/dist/tokens/tokenMappings.d.ts +42 -38
  32. package/dist/tokens/tokenMappings.js +3 -3
  33. package/dist/useStyledSystem.css +31 -31
  34. package/dist/useStyledSystem.js +4 -4
  35. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @hopper-ui/styled-system
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 62a9ea1: - Added theme-able typography support for the `Button` component via new `comp-button-text-*` tokens (font, font-weight, text-transform, and per-size font-size / line-height / letter-spacing)
8
+ - Added a new `caption` semantic typography scale (`xl`, `lg`, `md`, `sm`) for both Workleap and ShareGate (light and dark)
9
+ - Added `md` and `xs` sizes for `accent` semantic typography scale (Workleap and ShareGate)
10
+ - Added `accent.md` and `accent.xs` semantic typography sizes (Workleap and ShareGate)
11
+ - Added new core `font.size` tokens: `100` (10px)
12
+ - Added new core `line-height` tokens: `1-1666`, `1-40`
13
+ - Added a new core `letter-spacing` token category with `dense-10`, `dense-5`, `0`, `wide-5`, `wide-10`, `wide-15`, `wide-20`, `wide-25`, `wide-30`
14
+ - Added `letterSpacing` styled-system prop support backed by the new `letter-spacing` core scale, plus a matching `UNSAFE_letterSpacing` escape hatch
15
+ - **BREAKING**: the `letterSpacing` styled-system prop is now restricted to values from the new `letter-spacing` core scale. Consumers passing raw CSS values (e.g. `"2px"`, `"3.5px"`) must migrate to `UNSAFE_letterSpacing` or use a token from the scale.
16
+
17
+ ### Patch Changes
18
+
19
+ - 6980cd4: Add Tag branding tokens
20
+
21
+ ## 3.2.3
22
+
23
+ ### Patch Changes
24
+
25
+ - a773289: - Updated "rose" core color tokens
26
+ - Added `danger-surface-weak-selected` semantic token (Workleap and ShareGate, light and dark)
27
+ - Updated ShareGate Danger semantic tokens to use the Rose palette
28
+ - Updated ShareGate Status semantic tokens (Neutral, Progress, Positive, Caution, Inactive, Option1–6)
29
+ - Updated ShareGate Button Danger component tokens: background now uses a Rose gradient (`rose.300` → `rose.600`) and the same inset box-shadow as the Primary variant; hover/pressed/selected states converted to single-stop gradients for smooth transitions
30
+
3
31
  ## 3.2.2
4
32
 
5
33
  ### 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___q-ZZH:hover {
2
+ .UseStyledSystem-module__hop-b-hover___JoD3R:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___DpnCi:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___Eo8QP:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___lAga6:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___UqR66:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___mFAfB:hover {
14
+ .UseStyledSystem-module__hop-br-hover___hxQHb:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___yUPF0:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___AyqnV:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___mPCBB:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___74YP-:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___59mxU:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___b4VWo: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___zGicJ:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___rl6Wn: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___zouBa:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___slvwf: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___2Bvlg:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___g2mQz: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___6-OsN:active {
42
+ .UseStyledSystem-module__hop-b-active___jzqga:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___DRPBN:active {
46
+ .UseStyledSystem-module__hop-bb-active___0GVhz:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___PiHtD:active {
50
+ .UseStyledSystem-module__hop-bl-active___Ze0Ut:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___g0WO7:active {
54
+ .UseStyledSystem-module__hop-br-active___OwfJe:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___TnTBT:active {
58
+ .UseStyledSystem-module__hop-bt-active___xkKME:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___FFOCc:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___Rn84Y:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___SyWa8:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___11LTL: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___Zr7V-:active {
70
+ .UseStyledSystem-module__hop-bg-active___B7r5J:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___VslsP:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___wG-nN:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___EWrDb:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Ui3-S: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___lq4EK:active {
82
+ .UseStyledSystem-module__hop-bs-active___001wz:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___Tvh3J:hover {
86
+ .UseStyledSystem-module__hop-c-hover___aG-pk:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___XC3zu:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___6o0tp:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___NrqxR:active {
94
+ .UseStyledSystem-module__hop-c-active___fYi9B:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___R2IhT:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___GadTG:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___SlnDF:hover {
102
+ .UseStyledSystem-module__hop-f-hover___SS6Ag:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___rv9Z5:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___tIGqP:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___w7nbf:hover {
110
+ .UseStyledSystem-module__hop-o-hover___3u-Po:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___d6-yp:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___DvIjI:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___KHCuo:active {
118
+ .UseStyledSystem-module__hop-o-active___3jiIc:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___YWW6t:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___m-i1t: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___kP3pn),
129
- :where(.htmlElement-module__hop-HtmlElement___kP3pn::after),
130
- :where(.htmlElement-module__hop-HtmlElement___kP3pn::before) {
128
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV),
129
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV::after),
130
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV::before) {
131
131
  box-sizing: border-box;
132
132
  }
@@ -1,23 +1,23 @@
1
- export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-VYSHJ4BC.js';
2
- import './chunk-ODDLVJ3T.js';
1
+ export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-3W57BWQT.js';
2
+ import './chunk-G37OO232.js';
3
3
  import './chunk-RIORU7JO.js';
4
4
  import './chunk-YPIK2HRL.js';
5
5
  import './chunk-3YM73BQP.js';
6
6
  import './chunk-BSIKCABJ.js';
7
- import './chunk-F5DBKR5B.js';
8
- import './chunk-WMA6YQHA.js';
7
+ import './chunk-TSN5DPDB.js';
8
+ import './chunk-LLGTCJEP.js';
9
9
  import './chunk-GXUFWEP5.js';
10
10
  import './chunk-TKWJ3X2I.js';
11
- import './chunk-2B3FQDBI.js';
12
- import './chunk-UR27V3AY.js';
13
- import './chunk-YFZ3HPSH.js';
14
- import './chunk-ASSKAO2A.js';
11
+ import './chunk-RIOM7ASY.js';
12
+ import './chunk-BLSIMXE7.js';
13
+ import './chunk-TZCNHN3Q.js';
14
+ import './chunk-2BMH444W.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-46R7LA5R.js';
20
+ import './chunk-QAUUAHRK.js';
21
21
  import './chunk-5U5IRAPA.js';
22
22
  import './chunk-T6JS7L6B.js';
23
23
  import './chunk-7PR2BAOL.js';
@@ -233,6 +233,7 @@ var BackgroundColors = {
233
233
  "danger-weak": "danger-surface-weak",
234
234
  "danger-weak-hover": "danger-surface-weak-hover",
235
235
  "danger-weak-press": "danger-surface-weak-press",
236
+ "danger-weak-selected": "danger-surface-weak-selected",
236
237
  "neutral-active": "neutral-surface-active",
237
238
  "neutral-weak-active": "neutral-surface-weak-active",
238
239
  "neutral": "neutral-surface",
@@ -1122,7 +1123,13 @@ var FontFamily = {
1122
1123
  "body-xs-bold": "body-xs-bold-font-family",
1123
1124
  "body-xs-underline": "body-xs-underline-font-family",
1124
1125
  "accent-lg": "accent-lg-font-family",
1125
- "accent-sm": "accent-sm-font-family"
1126
+ "accent-md": "accent-md-font-family",
1127
+ "accent-sm": "accent-sm-font-family",
1128
+ "accent-xs": "accent-xs-font-family",
1129
+ "caption-xl": "caption-xl-font-family",
1130
+ "caption-lg": "caption-lg-font-family",
1131
+ "caption-md": "caption-md-font-family",
1132
+ "caption-sm": "caption-sm-font-family"
1126
1133
  };
1127
1134
  var FontWeight = {
1128
1135
  "core_400": "font-weight-400",
@@ -1164,9 +1171,16 @@ var FontWeight = {
1164
1171
  "body-xs-bold": "body-xs-bold-font-weight",
1165
1172
  "body-xs-underline": "body-xs-underline-font-weight",
1166
1173
  "accent-lg": "accent-lg-font-weight",
1167
- "accent-sm": "accent-sm-font-weight"
1174
+ "accent-md": "accent-md-font-weight",
1175
+ "accent-sm": "accent-sm-font-weight",
1176
+ "accent-xs": "accent-xs-font-weight",
1177
+ "caption-xl": "caption-xl-font-weight",
1178
+ "caption-lg": "caption-lg-font-weight",
1179
+ "caption-md": "caption-md-font-weight",
1180
+ "caption-sm": "caption-sm-font-weight"
1168
1181
  };
1169
1182
  var FontSize = {
1183
+ "core_100": "font-size-100",
1170
1184
  "core_120": "font-size-120",
1171
1185
  "core_140": "font-size-140",
1172
1186
  "core_160": "font-size-160",
@@ -1209,14 +1223,23 @@ var FontSize = {
1209
1223
  "body-xs-bold": "body-xs-bold-font-size",
1210
1224
  "body-xs-underline": "body-xs-underline-font-size",
1211
1225
  "accent-lg": "accent-lg-font-size",
1212
- "accent-sm": "accent-sm-font-size"
1226
+ "accent-md": "accent-md-font-size",
1227
+ "accent-sm": "accent-sm-font-size",
1228
+ "accent-xs": "accent-xs-font-size",
1229
+ "caption-xl": "caption-xl-font-size",
1230
+ "caption-lg": "caption-lg-font-size",
1231
+ "caption-md": "caption-md-font-size",
1232
+ "caption-sm": "caption-sm-font-size"
1213
1233
  };
1214
1234
  var LineHeight = {
1215
1235
  "core_1-125": "line-height-1-125",
1216
1236
  "core_1-14": "line-height-1-14",
1237
+ "core_1-1666": "line-height-1-1666",
1217
1238
  "core_1-20": "line-height-1-20",
1218
1239
  "core_1-25": "line-height-1-25",
1240
+ "core_1-2857": "line-height-1-2857",
1219
1241
  "core_1-33": "line-height-1-33",
1242
+ "core_1-40": "line-height-1-40",
1220
1243
  "core_1-4285": "line-height-1-4285",
1221
1244
  "core_1-50": "line-height-1-50",
1222
1245
  "heading-3xl": "heading-3xl-line-height",
@@ -1251,7 +1274,24 @@ var LineHeight = {
1251
1274
  "body-xs-bold": "body-xs-bold-line-height",
1252
1275
  "body-xs-underline": "body-xs-underline-line-height",
1253
1276
  "accent-lg": "accent-lg-line-height",
1254
- "accent-sm": "accent-sm-line-height"
1277
+ "accent-md": "accent-md-line-height",
1278
+ "accent-sm": "accent-sm-line-height",
1279
+ "accent-xs": "accent-xs-line-height",
1280
+ "caption-xl": "caption-xl-line-height",
1281
+ "caption-lg": "caption-lg-line-height",
1282
+ "caption-md": "caption-md-line-height",
1283
+ "caption-sm": "caption-sm-line-height"
1284
+ };
1285
+ var LetterSpacing = {
1286
+ "core_0": "letter-spacing-0",
1287
+ "core_dense-10": "letter-spacing-dense-10",
1288
+ "core_dense-5": "letter-spacing-dense-5",
1289
+ "core_wide-5": "letter-spacing-wide-5",
1290
+ "core_wide-10": "letter-spacing-wide-10",
1291
+ "core_wide-15": "letter-spacing-wide-15",
1292
+ "core_wide-20": "letter-spacing-wide-20",
1293
+ "core_wide-25": "letter-spacing-wide-25",
1294
+ "core_wide-30": "letter-spacing-wide-30"
1255
1295
  };
1256
1296
  var FontOffset = {
1257
1297
  "heading-3xl-top-offset": "heading-3xl-top-offset",
@@ -1341,4 +1381,4 @@ var Motions = {
1341
1381
  "easing-expressive": "easing-expressive"
1342
1382
  };
1343
1383
 
1344
- export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontOffset, FontSize, FontWeight, GradientColors, HopperColors, IconColors, LineHeight, Motions, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors };
1384
+ export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontOffset, FontSize, FontWeight, GradientColors, HopperColors, IconColors, LetterSpacing, LineHeight, Motions, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors };
@@ -1,8 +1,8 @@
1
- import { BodyStyleProvider } from './chunk-ODDLVJ3T.js';
2
- import { Div } from './chunk-F5DBKR5B.js';
1
+ import { BodyStyleProvider } from './chunk-G37OO232.js';
2
+ import { Div } from './chunk-TSN5DPDB.js';
3
3
  import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
4
4
  import { ThemeContext } from './chunk-TKWJ3X2I.js';
5
- import { getRootCSSClasses } from './chunk-2B3FQDBI.js';
5
+ import { getRootCSSClasses } from './chunk-RIOM7ASY.js';
6
6
  import { useColorScheme } from './chunk-5U5IRAPA.js';
7
7
  import { ColorSchemeContext } from './chunk-7PR2BAOL.js';
8
8
  import clsx from 'clsx';
@@ -1,4 +1,4 @@
1
- import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-YFZ3HPSH.js';
1
+ import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, LetterSpacingMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-TZCNHN3Q.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___q-ZZH", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___DpnCi", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___lAga6", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___mFAfB", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___yUPF0", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___mPCBB", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___59mxU", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___zGicJ", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___zouBa", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___2Bvlg", "hop-b-active": "UseStyledSystem-module__hop-b-active___6-OsN", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___DRPBN", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___PiHtD", "hop-br-active": "UseStyledSystem-module__hop-br-active___g0WO7", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___TnTBT", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___FFOCc", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___SyWa8", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___Zr7V-", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___VslsP", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___EWrDb", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___lq4EK", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___Tvh3J", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___XC3zu", "hop-c-active": "UseStyledSystem-module__hop-c-active___NrqxR", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___R2IhT", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___SlnDF", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___rv9Z5", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___w7nbf", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___d6-yp", "hop-o-active": "UseStyledSystem-module__hop-o-active___KHCuo", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___YWW6t" };
9
+ var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___JoD3R", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___Eo8QP", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___UqR66", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___hxQHb", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___AyqnV", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___74YP-", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___b4VWo", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___rl6Wn", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___slvwf", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___g2mQz", "hop-b-active": "UseStyledSystem-module__hop-b-active___jzqga", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___0GVhz", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___Ze0Ut", "hop-br-active": "UseStyledSystem-module__hop-br-active___OwfJe", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___xkKME", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___Rn84Y", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___11LTL", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___B7r5J", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___wG-nN", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___Ui3-S", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___001wz", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___aG-pk", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___6o0tp", "hop-c-active": "UseStyledSystem-module__hop-c-active___fYi9B", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___GadTG", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___SS6Ag", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___tIGqP", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___3u-Po", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___DvIjI", "hop-o-active": "UseStyledSystem-module__hop-o-active___3jiIc", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___m-i1t" };
10
10
 
11
11
  // src/useStyledSystem.ts
12
12
  function createSystemValueHandler(systemValues) {
@@ -221,7 +221,7 @@ var PropsHandlers = {
221
221
  justifyItems: createPassthroughHandler(),
222
222
  justifySelf: createPassthroughHandler(),
223
223
  left: createPassthroughHandler(),
224
- letterSpacing: createPassthroughHandler(),
224
+ letterSpacing: createSystemValueHandler(LetterSpacingMapping),
225
225
  lineHeight: createSystemValueHandler(LineHeightMapping),
226
226
  margin: createSystemValueHandler(ComplexMarginMapping),
227
227
  marginBottom: createSystemValueHandler(SimpleMarginMapping),
@@ -3,7 +3,7 @@ import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
3
3
  import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
4
4
  import { useThemeContext } from './chunk-TKWJ3X2I.js';
5
5
  import { isNil } from './chunk-U5R6ZXH3.js';
6
- import { StyledSystemRootCssClass } from './chunk-46R7LA5R.js';
6
+ import { StyledSystemRootCssClass } from './chunk-QAUUAHRK.js';
7
7
  import { useColorSchemeContext } from './chunk-7PR2BAOL.js';
8
8
  import { useRef, useState } from 'react';
9
9
  import { jsx } from 'react/jsx-runtime';
@@ -1,10 +1,10 @@
1
- import { useStyledSystem } from './chunk-UR27V3AY.js';
1
+ import { useStyledSystem } from './chunk-BLSIMXE7.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___kP3pn" };
7
+ var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-HtmlElement___hPHYV" };
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-2-2";
3
+ var StyledSystemRootCssClass = "hop-5-3-0";
4
4
  var HopperVariablePrefix = "--hop";
5
5
 
6
6
  export { HopperRootCssClass, HopperVariablePrefix, StyledSystemRootCssClass };
@@ -1,4 +1,4 @@
1
- import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-46R7LA5R.js';
1
+ import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-QAUUAHRK.js';
2
2
 
3
3
  // src/styledSystemRootCssClass.ts
4
4
  function getRootCSSClasses(colorScheme, theme) {
@@ -1,4 +1,4 @@
1
- import { htmlElement } from './chunk-WMA6YQHA.js';
1
+ import { htmlElement } from './chunk-LLGTCJEP.js';
2
2
 
3
3
  // src/html-wrappers/html.ts
4
4
  var Address = htmlElement("address");
@@ -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-ASSKAO2A.js';
1
+ import { DataVizColors, HopperColors, GradientColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, LetterSpacing, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-2BMH444W.js';
2
2
  import { parseResponsiveValue } from './chunk-FTYK7Z7Q.js';
3
3
  import { isNil, isObject } from './chunk-U5R6ZXH3.js';
4
- import { HopperVariablePrefix } from './chunk-46R7LA5R.js';
4
+ import { HopperVariablePrefix } from './chunk-QAUUAHRK.js';
5
5
 
6
6
  // src/tokens/tokenMappings.ts
7
7
  var ColorExpressionTypes = [
@@ -60,6 +60,7 @@ var BoxShadowMapping = createMapping(Elevation);
60
60
  var FontSizeMapping = createMapping(FontSize);
61
61
  var FontWeightMapping = createMapping(FontWeight);
62
62
  var LineHeightMapping = createMapping(LineHeight);
63
+ var LetterSpacingMapping = createMapping(LetterSpacing);
63
64
  var FontFamilyMapping = createMapping(FontFamily);
64
65
  var BorderRadiusMapping = createMapping(Shape);
65
66
  var SpaceMapping = {
@@ -148,4 +149,4 @@ function getSizingValue(value) {
148
149
  return SizingMapping[value] || value;
149
150
  }
150
151
 
151
- export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, GradientColorMapping, IconColorMapping, LineHeightMapping, OutlineMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue };
152
+ export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, GradientColorMapping, IconColorMapping, LetterSpacingMapping, LineHeightMapping, OutlineMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue };
@@ -1,10 +1,10 @@
1
- export { BodyStyleProvider } from '../chunk-ODDLVJ3T.js';
1
+ export { BodyStyleProvider } from '../chunk-G37OO232.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
6
  import '../chunk-TKWJ3X2I.js';
7
7
  import '../chunk-U5R6ZXH3.js';
8
- import '../chunk-46R7LA5R.js';
8
+ import '../chunk-QAUUAHRK.js';
9
9
  import '../chunk-7PR2BAOL.js';
10
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___q-ZZH:hover {
2
+ .UseStyledSystem-module__hop-b-hover___JoD3R:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___DpnCi:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___Eo8QP:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___lAga6:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___UqR66:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___mFAfB:hover {
14
+ .UseStyledSystem-module__hop-br-hover___hxQHb:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___yUPF0:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___AyqnV:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___mPCBB:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___74YP-:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___59mxU:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___b4VWo: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___zGicJ:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___rl6Wn: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___zouBa:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___slvwf: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___2Bvlg:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___g2mQz: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___6-OsN:active {
42
+ .UseStyledSystem-module__hop-b-active___jzqga:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___DRPBN:active {
46
+ .UseStyledSystem-module__hop-bb-active___0GVhz:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___PiHtD:active {
50
+ .UseStyledSystem-module__hop-bl-active___Ze0Ut:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___g0WO7:active {
54
+ .UseStyledSystem-module__hop-br-active___OwfJe:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___TnTBT:active {
58
+ .UseStyledSystem-module__hop-bt-active___xkKME:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___FFOCc:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___Rn84Y:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___SyWa8:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___11LTL: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___Zr7V-:active {
70
+ .UseStyledSystem-module__hop-bg-active___B7r5J:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___VslsP:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___wG-nN:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___EWrDb:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Ui3-S: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___lq4EK:active {
82
+ .UseStyledSystem-module__hop-bs-active___001wz:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___Tvh3J:hover {
86
+ .UseStyledSystem-module__hop-c-hover___aG-pk:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___XC3zu:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___6o0tp:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___NrqxR:active {
94
+ .UseStyledSystem-module__hop-c-active___fYi9B:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___R2IhT:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___GadTG:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___SlnDF:hover {
102
+ .UseStyledSystem-module__hop-f-hover___SS6Ag:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___rv9Z5:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___tIGqP:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___w7nbf:hover {
110
+ .UseStyledSystem-module__hop-o-hover___3u-Po:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___d6-yp:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___DvIjI:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___KHCuo:active {
118
+ .UseStyledSystem-module__hop-o-active___3jiIc:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___YWW6t:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___m-i1t: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___kP3pn),
129
- :where(.htmlElement-module__hop-HtmlElement___kP3pn::after),
130
- :where(.htmlElement-module__hop-HtmlElement___kP3pn::before) {
128
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV),
129
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV::after),
130
+ :where(.htmlElement-module__hop-HtmlElement___hPHYV::before) {
131
131
  box-sizing: border-box;
132
132
  }