@hopper-ui/styled-system 2.5.14 → 3.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 (56) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/StyledSystemProvider.css +34 -34
  3. package/dist/StyledSystemProvider.d.ts +6 -6
  4. package/dist/StyledSystemProvider.js +14 -16
  5. package/dist/{chunk-AAWQ3J4F.js → chunk-3PUBJ5LJ.js} +24 -12
  6. package/dist/chunk-6ZFFJVAW.js +17 -0
  7. package/dist/{chunk-MSH55T2T.js → chunk-A54ZRFEM.js} +31 -2
  8. package/dist/{chunk-XLQKHP7H.js → chunk-FGXNB7F6.js} +4 -4
  9. package/dist/{chunk-RQX6CSPG.js → chunk-JJKYIWIT.js} +3 -2
  10. package/dist/{chunk-F47JPCVB.js → chunk-QZ7W6U3E.js} +2 -2
  11. package/dist/{chunk-JZOHIXRI.js → chunk-SVHEHWY4.js} +2 -2
  12. package/dist/chunk-TKWJ3X2I.js +13 -0
  13. package/dist/{chunk-KHJOHCF7.js → chunk-VIIWNAIQ.js} +1 -1
  14. package/dist/chunk-YQ665QH5.js +6 -0
  15. package/dist/global-styles/BodyStyleProvider.js +4 -4
  16. package/dist/html-wrappers/html.css +34 -34
  17. package/dist/html-wrappers/html.js +8 -7
  18. package/dist/html-wrappers/htmlElement.css +34 -34
  19. package/dist/html-wrappers/htmlElement.js +7 -6
  20. package/dist/index.css +34 -34
  21. package/dist/index.d.ts +3 -5
  22. package/dist/index.js +14 -16
  23. package/dist/responsive/useResponsiveValue.js +2 -2
  24. package/dist/styledSystemRootCssClass.d.ts +2 -4
  25. package/dist/styledSystemRootCssClass.js +2 -1
  26. package/dist/theme/ThemeContext.d.ts +11 -0
  27. package/dist/theme/ThemeContext.js +2 -0
  28. package/dist/theme/generated/sharegate/dark.css +742 -0
  29. package/dist/theme/generated/sharegate/light.css +1182 -0
  30. package/dist/theme/generated/sharegate.css +4 -0
  31. package/dist/theme/generated/workleap/dark.css +742 -0
  32. package/dist/theme/generated/workleap/light.css +1182 -0
  33. package/dist/theme/generated/workleap.css +4 -0
  34. package/dist/tokens/generated/styledSystemConstants.d.ts +6 -0
  35. package/dist/tokens/generated/styledSystemConstants.js +2 -0
  36. package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +1182 -1151
  37. package/dist/tokens/generated/styledSystemToTokenMappings.js +1 -1
  38. package/dist/tokens/tokenMappings.d.ts +35 -35
  39. package/dist/tokens/tokenMappings.js +5 -4
  40. package/dist/useStyledSystem.css +31 -31
  41. package/dist/useStyledSystem.js +6 -5
  42. package/package.json +6 -4
  43. package/dist/chunk-3R4VKTT5.js +0 -32
  44. package/dist/chunk-ACHEBSXM.js +0 -17
  45. package/dist/chunk-P6FMQKUS.js +0 -546
  46. package/dist/chunk-PNIKKWPD.js +0 -11
  47. package/dist/chunk-ZDLOUW4F.js +0 -1182
  48. package/dist/tokens/TokenProvider.d.ts +0 -20
  49. package/dist/tokens/TokenProvider.js +0 -9
  50. package/dist/tokens/generated/darkSemanticTokens.d.ts +0 -548
  51. package/dist/tokens/generated/darkSemanticTokens.js +0 -2
  52. package/dist/tokens/generated/lightSemanticTokens.d.ts +0 -1184
  53. package/dist/tokens/generated/lightSemanticTokens.js +0 -2
  54. package/dist/tokens/tokens.d.ts +0 -1731
  55. package/dist/tokens/tokens.js +0 -4
  56. package/dist/{chunk-SFOVKOPG.js → chunk-FTYK7Z7Q.js} +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @hopper-ui/styled-system
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - cd95303: This update introduces a theming system in Hopper, allowing applications to customize the appearance of Hopper components to match different brands.
8
+ Workleap application's will need to import a new CSS file for the `workleap` theme to ensure proper styling, but no changes are expected to the visual appearance.
9
+ A Sharegate theme as been introduced, but will be updated in future updates, for now it's mostly identical to the `workleap` theme.
10
+
11
+ BREAKING
12
+ - You need to import the css files for the themes you want to support in your application (@hopper-ui/styled-system/theme/workleap.css)
13
+ - The `HopperProvider` component now accepts a `theme` that needs to match the selected theme. The default theme is `workleap` but the CSS file is still required to be imported.
14
+ - For "@hopper-ui/components", the peer dependency for `@hopper-ui/styled-system` has been updated to version 3. Make sure to update it in your project to avoid any compatibility issues.
15
+ - For "@hopper-ui/components", the peer dependency for `@hopper-ui/icons` has been updated to version 3. Make sure to update it in your project to avoid any compatibility issues.
16
+
3
17
  ## 2.5.14
4
18
 
5
19
  ### 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___xOWy2:hover {
2
+ .UseStyledSystem-module__hop-b-hover___7xZev:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___g2SKk:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___UOLpW:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___pE6jB:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___bJxsW:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___fMNXN:hover {
14
+ .UseStyledSystem-module__hop-br-hover___4-NII:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___lGzz7:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___umFWG:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___0DSU2:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___THf0W:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___oM2nM:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___zSny3: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___iMaKG:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___O83-K: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___0j5WL:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___u7Equ: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___rAg-C:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___-SJ9v: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___y2kHO:active {
42
+ .UseStyledSystem-module__hop-b-active___GP7Y5:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___OxawC:active {
46
+ .UseStyledSystem-module__hop-bb-active___ahIPJ:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___NDziw:active {
50
+ .UseStyledSystem-module__hop-bl-active___HtuEF:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___imOPd:active {
54
+ .UseStyledSystem-module__hop-br-active___Vh2Ak:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___RPvg-:active {
58
+ .UseStyledSystem-module__hop-bt-active___rfnlL:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___Zw-Ng:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___HTF4U:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___g7rZF:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___FORfp: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___bO1fx:active {
70
+ .UseStyledSystem-module__hop-bg-active___xIyPR:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___zMVjZ:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___WUT6S:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___hV6xW:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Yfp7I: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___bzMcY:active {
82
+ .UseStyledSystem-module__hop-bs-active___8HWqZ:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___7lSek:hover {
86
+ .UseStyledSystem-module__hop-c-hover___Q6yVM:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___duT02:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___tV1dV:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___3pzD4:active {
94
+ .UseStyledSystem-module__hop-c-active___76VaW:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___klApx:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___1P1O1:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___hgbNM:hover {
102
+ .UseStyledSystem-module__hop-f-hover___hMvA7:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___s9lx0:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___OhS8Z:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___wIS-C:hover {
110
+ .UseStyledSystem-module__hop-o-hover___kvpdx:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___CbsOs:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___478-D:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___jtLXH:active {
118
+ .UseStyledSystem-module__hop-o-active___SY6xj:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___k9yhc:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___rJOno: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___6ay6t),
129
- :where(.htmlElement-module__hop-HtmlElement___6ay6t::after),
130
- :where(.htmlElement-module__hop-HtmlElement___6ay6t::before) {
128
+ :where(.htmlElement-module__hop-HtmlElement___Na05F),
129
+ :where(.htmlElement-module__hop-HtmlElement___Na05F::after),
130
+ :where(.htmlElement-module__hop-HtmlElement___Na05F::before) {
131
131
  box-sizing: border-box;
132
132
  }
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  import { ColorSchemeOrSystem, ColorScheme } from './color-scheme/ColorSchemeContext.js';
4
4
  import { DivProps } from './html-wrappers/html.js';
5
5
  import { BreakpointProviderProps } from './responsive/BreakpointProvider.js';
6
+ import { Theme } from './tokens/generated/styledSystemConstants.js';
6
7
  import './styledSystemProps.js';
7
8
  import 'csstype';
8
9
  import './responsive/useResponsiveValue.js';
@@ -24,17 +25,16 @@ interface StyledSystemProviderProps extends BreakpointProviderProps, DivProps {
24
25
  * @default "light"
25
26
  */
26
27
  colorScheme?: ColorSchemeOrSystem;
28
+ /**
29
+ * The theme to use.
30
+ * @default "workleap"
31
+ */
32
+ theme?: Theme;
27
33
  /**
28
34
  * Default color scheme to use when a user preferred color scheme (system) is not available.
29
35
  * @default "light"
30
36
  */
31
37
  defaultColorScheme?: ColorScheme;
32
- /**
33
- * Determines whether token CSS variables should be added to the document's head
34
- * By default, it is set to `true`, you should not change it unless you want to manage CSS variables via `.css` files
35
- * @default true
36
- */
37
- withCssVariables?: boolean;
38
38
  }
39
39
  /**
40
40
  * StyledSystemProvider is required to be rendered at the root of your application. It is responsible for:
@@ -1,25 +1,23 @@
1
- export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-AAWQ3J4F.js';
2
- import './chunk-3R4VKTT5.js';
3
- import './chunk-PNIKKWPD.js';
4
- import './chunk-P6FMQKUS.js';
5
- import './chunk-ZDLOUW4F.js';
6
- import './chunk-JZOHIXRI.js';
7
- import './chunk-3YM73BQP.js';
8
- import './chunk-BSIKCABJ.js';
1
+ export { GlobalStyledSystemProviderCssSelector, _StyledSystemProvider as StyledSystemProvider } from './chunk-3PUBJ5LJ.js';
2
+ import './chunk-TKWJ3X2I.js';
3
+ import './chunk-SVHEHWY4.js';
9
4
  import './chunk-RIORU7JO.js';
10
5
  import './chunk-YPIK2HRL.js';
11
- import './chunk-KHJOHCF7.js';
12
- import './chunk-F47JPCVB.js';
6
+ import './chunk-3YM73BQP.js';
7
+ import './chunk-BSIKCABJ.js';
8
+ import './chunk-VIIWNAIQ.js';
9
+ import './chunk-QZ7W6U3E.js';
13
10
  import './chunk-GXUFWEP5.js';
14
- import './chunk-ACHEBSXM.js';
15
- import './chunk-XLQKHP7H.js';
16
- import './chunk-RQX6CSPG.js';
17
- import './chunk-MSH55T2T.js';
18
- import './chunk-SFOVKOPG.js';
11
+ import './chunk-6ZFFJVAW.js';
12
+ import './chunk-FGXNB7F6.js';
13
+ import './chunk-JJKYIWIT.js';
14
+ import './chunk-A54ZRFEM.js';
15
+ import './chunk-FTYK7Z7Q.js';
16
+ import './chunk-U5R6ZXH3.js';
19
17
  import './chunk-VBKLISDI.js';
20
18
  import './chunk-XUHDFZZL.js';
21
- import './chunk-U5R6ZXH3.js';
22
19
  import './chunk-QMDDVBCZ.js';
20
+ import './chunk-YQ665QH5.js';
23
21
  import './chunk-5U5IRAPA.js';
24
22
  import './chunk-T6JS7L6B.js';
25
23
  import './chunk-7PR2BAOL.js';
@@ -1,12 +1,12 @@
1
- import { TokenProvider } from './chunk-3R4VKTT5.js';
2
- import { BodyStyleProvider } from './chunk-JZOHIXRI.js';
3
- import { Div } from './chunk-KHJOHCF7.js';
1
+ import { ThemeContext } from './chunk-TKWJ3X2I.js';
2
+ import { BodyStyleProvider } from './chunk-SVHEHWY4.js';
3
+ import { Div } from './chunk-VIIWNAIQ.js';
4
4
  import { DefaultUnsupportedMatchMediaBreakpoint, BreakpointProvider } from './chunk-GXUFWEP5.js';
5
- import { getRootCSSClasses } from './chunk-ACHEBSXM.js';
5
+ import { getRootCSSClasses } from './chunk-6ZFFJVAW.js';
6
6
  import { useColorScheme } from './chunk-5U5IRAPA.js';
7
7
  import { ColorSchemeContext } from './chunk-7PR2BAOL.js';
8
8
  import clsx from 'clsx';
9
- import { forwardRef, useState, useCallback } from 'react';
9
+ import { forwardRef, useState, useEffect, useCallback } from 'react';
10
10
  import { jsx, jsxs } from 'react/jsx-runtime';
11
11
 
12
12
  var GlobalStyledSystemProviderCssSelector = "hop-StyledSystemProvider";
@@ -14,22 +14,26 @@ var StyledSystemProvider = (props, ref) => {
14
14
  const {
15
15
  children,
16
16
  withBodyStyle = false,
17
- withCssVariables = true,
18
17
  colorScheme = "light",
19
18
  defaultColorScheme = "light",
20
19
  unsupportedMatchMediaBreakpoint = DefaultUnsupportedMatchMediaBreakpoint,
21
20
  className,
21
+ theme = "workleap",
22
22
  ...rest
23
23
  } = props;
24
24
  const [remoteColorScheme, setRemoteColorScheme] = useState();
25
+ const [internalTheme, setInternalTheme] = useState(theme);
25
26
  const computedColorScheme = useColorScheme(remoteColorScheme != null ? remoteColorScheme : colorScheme, defaultColorScheme);
27
+ useEffect(() => {
28
+ setInternalTheme(theme);
29
+ }, [theme]);
26
30
  const setColorScheme = useCallback((newColorScheme) => {
27
31
  setRemoteColorScheme(newColorScheme);
28
32
  }, [setRemoteColorScheme]);
29
33
  const classNames = clsx(
30
34
  className,
31
35
  GlobalStyledSystemProviderCssSelector,
32
- getRootCSSClasses(computedColorScheme)
36
+ getRootCSSClasses(computedColorScheme, internalTheme)
33
37
  );
34
38
  return /* @__PURE__ */ jsx(
35
39
  ColorSchemeContext.Provider,
@@ -38,11 +42,19 @@ var StyledSystemProvider = (props, ref) => {
38
42
  colorScheme: computedColorScheme,
39
43
  setColorScheme
40
44
  },
41
- children: /* @__PURE__ */ jsx(BreakpointProvider, { unsupportedMatchMediaBreakpoint, children: /* @__PURE__ */ jsxs(Div, { ref, className: classNames, ...rest, children: [
42
- withBodyStyle && /* @__PURE__ */ jsx(BodyStyleProvider, {}),
43
- withCssVariables && /* @__PURE__ */ jsx(TokenProvider, {}),
44
- children
45
- ] }) })
45
+ children: /* @__PURE__ */ jsx(
46
+ ThemeContext.Provider,
47
+ {
48
+ value: {
49
+ theme: internalTheme,
50
+ setTheme: setInternalTheme
51
+ },
52
+ children: /* @__PURE__ */ jsx(BreakpointProvider, { unsupportedMatchMediaBreakpoint, children: /* @__PURE__ */ jsxs(Div, { ref, className: classNames, ...rest, children: [
53
+ withBodyStyle && /* @__PURE__ */ jsx(BodyStyleProvider, {}),
54
+ children
55
+ ] }) })
56
+ }
57
+ )
46
58
  }
47
59
  );
48
60
  };
@@ -0,0 +1,17 @@
1
+ import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-YQ665QH5.js';
2
+
3
+ // src/styledSystemRootCssClass.ts
4
+ function getRootCSSClasses(colorScheme, theme) {
5
+ return [
6
+ HopperRootCssClass,
7
+ `${HopperRootCssClass}-${colorScheme}`,
8
+ `${HopperRootCssClass}-${theme}`,
9
+ `${HopperRootCssClass}-${theme}-${colorScheme}`,
10
+ StyledSystemRootCssClass,
11
+ `${StyledSystemRootCssClass}-${colorScheme}`,
12
+ `${StyledSystemRootCssClass}-${theme}`,
13
+ `${StyledSystemRootCssClass}-${theme}-${colorScheme}`
14
+ ].join(" ");
15
+ }
16
+
17
+ export { getRootCSSClasses };
@@ -1,5 +1,4 @@
1
1
  // src/tokens/generated/styledSystemToTokenMappings.ts
2
- var HopperVariablePrefix = "--hop";
3
2
  var HopperColors = {
4
3
  "core_coastal-25": "coastal-25",
5
4
  "core_coastal-50": "coastal-50",
@@ -1125,6 +1124,26 @@ var LineHeight = {
1125
1124
  "accent-lg": "accent-lg-line-height",
1126
1125
  "accent-sm": "accent-sm-line-height"
1127
1126
  };
1127
+ var FontOffset = {
1128
+ "heading-3xl-top-offset": "heading-3xl-top-offset",
1129
+ "heading-3xl-bottom-offset": "heading-3xl-bottom-offset",
1130
+ "heading-2xl-top-offset": "heading-2xl-top-offset",
1131
+ "heading-2xl-bottom-offset": "heading-2xl-bottom-offset",
1132
+ "heading-xl-top-offset": "heading-xl-top-offset",
1133
+ "heading-xl-bottom-offset": "heading-xl-bottom-offset",
1134
+ "heading-lg-top-offset": "heading-lg-top-offset",
1135
+ "heading-lg-bottom-offset": "heading-lg-bottom-offset",
1136
+ "heading-md-top-offset": "heading-md-top-offset",
1137
+ "heading-md-bottom-offset": "heading-md-bottom-offset",
1138
+ "heading-sm-top-offset": "heading-sm-top-offset",
1139
+ "heading-sm-bottom-offset": "heading-sm-bottom-offset",
1140
+ "heading-xs-top-offset": "heading-xs-top-offset",
1141
+ "heading-xs-bottom-offset": "heading-xs-bottom-offset",
1142
+ "heading-xs-medium-top-offset": "heading-xs-medium-top-offset",
1143
+ "heading-xs-medium-bottom-offset": "heading-xs-medium-bottom-offset",
1144
+ "overline-top-offset": "overline-top-offset",
1145
+ "overline-bottom-offset": "overline-bottom-offset"
1146
+ };
1128
1147
  var Shape = {
1129
1148
  "core_0": "border-radius-0",
1130
1149
  "core_1": "border-radius-1",
@@ -1182,5 +1201,15 @@ var SemanticSimpleMarginSpace = {
1182
1201
  "inline-xl": "space-inline-xl"
1183
1202
  };
1184
1203
  var SemanticComplexMarginSpace = {};
1204
+ var Motions = {
1205
+ "easing-duration-1": "easing-duration-1",
1206
+ "easing-duration-2": "easing-duration-2",
1207
+ "easing-duration-3": "easing-duration-3",
1208
+ "easing-duration-4": "easing-duration-4",
1209
+ "easing-duration-5": "easing-duration-5",
1210
+ "easing-productive": "easing-productive",
1211
+ "easing-focus": "easing-focus",
1212
+ "easing-expressive": "easing-expressive"
1213
+ };
1185
1214
 
1186
- export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontSize, FontWeight, HopperColors, HopperVariablePrefix, IconColors, LineHeight, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors };
1215
+ export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontOffset, FontSize, FontWeight, HopperColors, IconColors, LineHeight, Motions, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors };
@@ -1,12 +1,12 @@
1
- import { parseResponsiveSystemValue, IconColorMapping, TextColorMapping, BoxShadowMapping, BackgroundColorMapping, ColorExpressionTypes, DefaultBorderWidthAndStyle, DefaultOutlineWidthAndStyle, SizingMapping, SimpleMarginMapping, SimplePaddingMapping, ComplexPaddingMapping, OutlineMapping, ComplexMarginMapping, LineHeightMapping, FontWeightMapping, FontSizeMapping, FontFamilyMapping, BorderRadiusMapping, BorderMapping } from './chunk-RQX6CSPG.js';
2
- import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
3
- import { useBreakpointContext } from './chunk-VBKLISDI.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-JJKYIWIT.js';
2
+ import { parseResponsiveValue } from './chunk-FTYK7Z7Q.js';
4
3
  import { isNil } from './chunk-U5R6ZXH3.js';
4
+ import { useBreakpointContext } from './chunk-VBKLISDI.js';
5
5
  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___xOWy2", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___g2SKk", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___pE6jB", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___fMNXN", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___lGzz7", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___0DSU2", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___oM2nM", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___iMaKG", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___0j5WL", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___rAg-C", "hop-b-active": "UseStyledSystem-module__hop-b-active___y2kHO", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___OxawC", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___NDziw", "hop-br-active": "UseStyledSystem-module__hop-br-active___imOPd", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___RPvg-", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___Zw-Ng", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___g7rZF", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___bO1fx", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___zMVjZ", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___hV6xW", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___bzMcY", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___7lSek", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___duT02", "hop-c-active": "UseStyledSystem-module__hop-c-active___3pzD4", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___klApx", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___hgbNM", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___s9lx0", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___wIS-C", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___CbsOs", "hop-o-active": "UseStyledSystem-module__hop-o-active___jtLXH", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___k9yhc" };
9
+ var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___7xZev", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___UOLpW", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___bJxsW", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___4-NII", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___umFWG", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___THf0W", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___zSny3", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___O83-K", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___u7Equ", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___-SJ9v", "hop-b-active": "UseStyledSystem-module__hop-b-active___GP7Y5", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___ahIPJ", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___HtuEF", "hop-br-active": "UseStyledSystem-module__hop-br-active___Vh2Ak", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___rfnlL", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___HTF4U", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___FORfp", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___xIyPR", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___WUT6S", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___Yfp7I", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___8HWqZ", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___Q6yVM", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___tV1dV", "hop-c-active": "UseStyledSystem-module__hop-c-active___76VaW", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___1P1O1", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___hMvA7", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___OhS8Z", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___kvpdx", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___478-D", "hop-o-active": "UseStyledSystem-module__hop-o-active___SY6xj", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___rJOno" };
10
10
 
11
11
  // src/useStyledSystem.ts
12
12
  function createSystemValueHandler(systemValues) {
@@ -1,6 +1,7 @@
1
- import { HopperVariablePrefix, DataVizColors, HopperColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-MSH55T2T.js';
2
- import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
1
+ import { DataVizColors, HopperColors, BackgroundColors, BorderColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-A54ZRFEM.js';
2
+ import { parseResponsiveValue } from './chunk-FTYK7Z7Q.js';
3
3
  import { isNil, isObject } from './chunk-U5R6ZXH3.js';
4
+ import { HopperVariablePrefix } from './chunk-YQ665QH5.js';
4
5
 
5
6
  // src/tokens/tokenMappings.ts
6
7
  var ColorExpressionTypes = [
@@ -1,10 +1,10 @@
1
- import { useStyledSystem } from './chunk-XLQKHP7H.js';
1
+ import { useStyledSystem } from './chunk-FGXNB7F6.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___6ay6t" };
7
+ var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-HtmlElement___Na05F" };
8
8
  var GlobalHtmlElementCssSelector = "hop-HtmlElement";
9
9
  var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
10
10
  function htmlElement(elementType) {
@@ -1,8 +1,8 @@
1
+ import { useInsertStyleElement } from './chunk-RIORU7JO.js';
1
2
  import { useIsomorphicLayoutEffect } from './chunk-3YM73BQP.js';
2
3
  import { ThemeComputedStyle } from './chunk-BSIKCABJ.js';
3
- import { useInsertStyleElement } from './chunk-RIORU7JO.js';
4
- import { StyledSystemRootCssClass } from './chunk-ACHEBSXM.js';
5
4
  import { isNil } from './chunk-U5R6ZXH3.js';
5
+ import { StyledSystemRootCssClass } from './chunk-YQ665QH5.js';
6
6
  import { useColorSchemeContext } from './chunk-7PR2BAOL.js';
7
7
  import { useRef, useState } from 'react';
8
8
  import { jsx } from 'react/jsx-runtime';
@@ -0,0 +1,13 @@
1
+ import { createContext, useContext } from 'react';
2
+
3
+ // src/theme/ThemeContext.ts
4
+ var ThemeContext = createContext({
5
+ theme: "workleap",
6
+ setTheme: () => {
7
+ }
8
+ });
9
+ function useThemeContext() {
10
+ return useContext(ThemeContext);
11
+ }
12
+
13
+ export { ThemeContext, useThemeContext };
@@ -1,4 +1,4 @@
1
- import { htmlElement } from './chunk-F47JPCVB.js';
1
+ import { htmlElement } from './chunk-QZ7W6U3E.js';
2
2
 
3
3
  // src/html-wrappers/html.ts
4
4
  var Address = htmlElement("address");
@@ -0,0 +1,6 @@
1
+ // src/tokens/generated/styledSystemConstants.ts
2
+ var HopperRootCssClass = "hop";
3
+ var StyledSystemRootCssClass = "hop-5-0-0";
4
+ var HopperVariablePrefix = "--hop";
5
+
6
+ export { HopperRootCssClass, HopperVariablePrefix, StyledSystemRootCssClass };
@@ -1,9 +1,9 @@
1
- export { BodyStyleProvider } from '../chunk-JZOHIXRI.js';
2
- import '../chunk-3YM73BQP.js';
3
- import '../chunk-BSIKCABJ.js';
1
+ export { BodyStyleProvider } from '../chunk-SVHEHWY4.js';
4
2
  import '../chunk-RIORU7JO.js';
5
3
  import '../chunk-YPIK2HRL.js';
6
- import '../chunk-ACHEBSXM.js';
4
+ import '../chunk-3YM73BQP.js';
5
+ import '../chunk-BSIKCABJ.js';
7
6
  import '../chunk-U5R6ZXH3.js';
7
+ import '../chunk-YQ665QH5.js';
8
8
  import '../chunk-7PR2BAOL.js';
9
9
  import '../chunk-AQ5VUG5P.js';