@hopper-ui/styled-system 1.0.0 → 1.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 (49) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/StyledSystemProvider.css +34 -34
  3. package/dist/StyledSystemProvider.d.ts +2 -2
  4. package/dist/StyledSystemProvider.js +13 -13
  5. package/dist/{chunk-TAIACQMV.js → chunk-45MYTH4M.js} +2 -2
  6. package/dist/{chunk-ACHT4RXQ.js → chunk-DRFY5W7M.js} +2 -2
  7. package/dist/{chunk-ZKEMKHXY.js → chunk-E2EGUGKS.js} +2 -2
  8. package/dist/{chunk-XISFZQD3.js → chunk-EJR6CH3T.js} +1 -1
  9. package/dist/{chunk-Y6PI5JPG.js → chunk-GFXIV6J4.js} +18 -19
  10. package/dist/{chunk-HPTCF3O5.js → chunk-J2UW6IZ5.js} +1 -1
  11. package/dist/{chunk-3IK64CCG.js → chunk-JKXZGQAL.js} +27 -1
  12. package/dist/{chunk-PCGVOTW3.js → chunk-KKVEOD5L.js} +1 -1
  13. package/dist/{chunk-RG533UHT.js → chunk-LCW3QCQQ.js} +4 -4
  14. package/dist/{chunk-I37Y2R7V.js → chunk-QMDDVBCZ.js} +1 -1
  15. package/dist/{chunk-36LPB7RX.js → chunk-RKTVEOXM.js} +4 -4
  16. package/dist/{chunk-IZYWFDT7.js → chunk-TSYETPJT.js} +3 -3
  17. package/dist/{chunk-7WKPFXQZ.js → chunk-ZDENFQ6H.js} +2 -2
  18. package/dist/global-styles/BodyStyleProvider.js +2 -2
  19. package/dist/html-wrappers/html.css +34 -34
  20. package/dist/html-wrappers/html.d.ts +2 -2
  21. package/dist/html-wrappers/html.js +6 -6
  22. package/dist/html-wrappers/htmlElement.css +34 -34
  23. package/dist/html-wrappers/htmlElement.d.ts +3 -3
  24. package/dist/html-wrappers/htmlElement.js +5 -5
  25. package/dist/index.css +34 -34
  26. package/dist/index.d.ts +5 -5
  27. package/dist/index.js +13 -13
  28. package/dist/{styled-system-props.d.ts → styledSystemProps.d.ts} +1 -1
  29. package/dist/styledSystemProps.js +2 -0
  30. package/dist/{styled-system-root-css-class.js → styledSystemRootCssClass.js} +1 -1
  31. package/dist/tokens/TokenProvider.js +5 -5
  32. package/dist/tokens/generated/darkSemanticTokens.js +2 -0
  33. package/dist/tokens/generated/{light-semantic-tokens.d.ts → lightSemanticTokens.d.ts} +26 -0
  34. package/dist/tokens/generated/lightSemanticTokens.js +2 -0
  35. package/dist/tokens/generated/{styled-system-to-token-mappings.js → styledSystemToTokenMappings.js} +1 -1
  36. package/dist/tokens/{token-mappings.js → tokenMappings.js} +2 -2
  37. package/dist/tokens/tokens.d.ts +28 -2
  38. package/dist/tokens/tokens.js +3 -3
  39. package/dist/useStyledSystem.css +31 -31
  40. package/dist/useStyledSystem.d.ts +2 -2
  41. package/dist/useStyledSystem.js +4 -4
  42. package/package.json +18 -19
  43. package/dist/styled-system-props.js +0 -2
  44. package/dist/tokens/generated/dark-semantic-tokens.js +0 -2
  45. package/dist/tokens/generated/light-semantic-tokens.js +0 -2
  46. /package/dist/{styled-system-root-css-class.d.ts → styledSystemRootCssClass.d.ts} +0 -0
  47. /package/dist/tokens/generated/{dark-semantic-tokens.d.ts → darkSemanticTokens.d.ts} +0 -0
  48. /package/dist/tokens/generated/{styled-system-to-token-mappings.d.ts → styledSystemToTokenMappings.d.ts} +0 -0
  49. /package/dist/tokens/{token-mappings.d.ts → tokenMappings.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { Property } from 'csstype';
2
2
  import { JSXElementConstructor, ComponentProps } from 'react';
3
3
  import { ResponsiveProp } from './responsive/useResponsiveValue.js';
4
- import { BackgroundColorValue, BorderValue, BorderRadiusValue, BoxShadowValue, ColorValue, ColumnGapValue, FillValue, FontFamilyValue, FontSizeValue, FontWeightValue, GapValue, GridAutoColumnsValue, GridAutoRowsValue, GridColumSpanValue, GridRowSpanValue, GridTemplateAreasValue, GridTemplateColumnsValue, GridTemplateRowsValue, HeightValue, LineHeightValue, ComplexMarginValue, SimpleMarginValue, WidthValue, ComplexPaddingValue, SimplePaddingValue, RowGapValue, StrokeValue, UNSAFE_BackgroundColorValue, UNSAFE_BorderValue, UNSAFE_BorderRadiusValue, UNSAFE_BoxShadowValue, UNSAFE_ColorValue, UNSAFE_GapValue, UNSAFE_FillValue, UNSAFE_FontFamilyValue, UNSAFE_FontSizeValue, UNSAFE_FontWeightValue, UNSAFE_GridAutoColumnsValue, UNSAFE_GridAutoRowsValue, UNSAFE_GridTemplateColumnsValue, UNSAFE_GridTemplateRowsValue, UNSAFE_HeightValue, UNSAFE_LineHeightValue, UNSAFE_ComplexMarginValue, UNSAFE_SimpleMarginValue, UNSAFE_WidthValue, UNSAFE_ComplexPaddingValue, UNSAFE_SimplePaddingValue, UNSAFE_RowGapValue, UNSAFE_StrokeValue } from './tokens/token-mappings.js';
4
+ import { BackgroundColorValue, BorderValue, BorderRadiusValue, BoxShadowValue, ColorValue, ColumnGapValue, FillValue, FontFamilyValue, FontSizeValue, FontWeightValue, GapValue, GridAutoColumnsValue, GridAutoRowsValue, GridColumSpanValue, GridRowSpanValue, GridTemplateAreasValue, GridTemplateColumnsValue, GridTemplateRowsValue, HeightValue, LineHeightValue, ComplexMarginValue, SimpleMarginValue, WidthValue, ComplexPaddingValue, SimplePaddingValue, RowGapValue, StrokeValue, UNSAFE_BackgroundColorValue, UNSAFE_BorderValue, UNSAFE_BorderRadiusValue, UNSAFE_BoxShadowValue, UNSAFE_ColorValue, UNSAFE_GapValue, UNSAFE_FillValue, UNSAFE_FontFamilyValue, UNSAFE_FontSizeValue, UNSAFE_FontWeightValue, UNSAFE_GridAutoColumnsValue, UNSAFE_GridAutoRowsValue, UNSAFE_GridTemplateColumnsValue, UNSAFE_GridTemplateRowsValue, UNSAFE_HeightValue, UNSAFE_LineHeightValue, UNSAFE_ComplexMarginValue, UNSAFE_SimpleMarginValue, UNSAFE_WidthValue, UNSAFE_ComplexPaddingValue, UNSAFE_SimplePaddingValue, UNSAFE_RowGapValue, UNSAFE_StrokeValue } from './tokens/tokenMappings.js';
5
5
  import './responsive/Breakpoints.js';
6
6
 
7
7
  declare const UnsafePrefix = "UNSAFE_";
@@ -0,0 +1,2 @@
1
+ export { UnsafePrefix } from './chunk-QMDDVBCZ.js';
2
+ import './chunk-6LX4VMOV.js';
@@ -1,2 +1,2 @@
1
- export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-Y6PI5JPG.js';
1
+ export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-GFXIV6J4.js';
2
2
  import './chunk-6LX4VMOV.js';
@@ -1,9 +1,9 @@
1
- export { TokenProvider } from '../chunk-7WKPFXQZ.js';
2
- import '../chunk-TAIACQMV.js';
3
- import '../chunk-ZKEMKHXY.js';
4
- import '../chunk-3IK64CCG.js';
1
+ export { TokenProvider } from '../chunk-ZDENFQ6H.js';
2
+ import '../chunk-45MYTH4M.js';
3
+ import '../chunk-E2EGUGKS.js';
4
+ import '../chunk-JKXZGQAL.js';
5
5
  import '../chunk-RIORU7JO.js';
6
6
  import '../chunk-YPIK2HRL.js';
7
- import '../chunk-Y6PI5JPG.js';
7
+ import '../chunk-GFXIV6J4.js';
8
8
  import '../chunk-U5R6ZXH3.js';
9
9
  import '../chunk-6LX4VMOV.js';
@@ -0,0 +1,2 @@
1
+ export { DarkSemanticTokens } from '../../chunk-E2EGUGKS.js';
2
+ import '../../chunk-6LX4VMOV.js';
@@ -168,6 +168,14 @@ declare const CoreTokens: {
168
168
  "--hop-line-height-1-33": string;
169
169
  "--hop-line-height-1-4285": string;
170
170
  "--hop-line-height-1-50": string;
171
+ "--hop-easing-duration-1": string;
172
+ "--hop-easing-duration-2": string;
173
+ "--hop-easing-duration-3": string;
174
+ "--hop-easing-duration-4": string;
175
+ "--hop-easing-duration-5": string;
176
+ "--hop-easing-productive": string;
177
+ "--hop-easing-focus": string;
178
+ "--hop-easing-expressive": string;
171
179
  "--hop-border-radius-0": string;
172
180
  "--hop-border-radius-1": string;
173
181
  "--hop-border-radius-2": string;
@@ -746,38 +754,56 @@ declare const SemanticTokens: {
746
754
  "--hop-heading-3xl-font-size": string;
747
755
  "--hop-heading-3xl-font-weight": string;
748
756
  "--hop-heading-3xl-line-height": string;
757
+ "--hop-heading-3xl-top-offset": string;
758
+ "--hop-heading-3xl-bottom-offset": string;
749
759
  "--hop-heading-2xl-font-family": string;
750
760
  "--hop-heading-2xl-font-size": string;
751
761
  "--hop-heading-2xl-font-weight": string;
752
762
  "--hop-heading-2xl-line-height": string;
763
+ "--hop-heading-2xl-top-offset": string;
764
+ "--hop-heading-2xl-bottom-offset": string;
753
765
  "--hop-heading-xl-font-family": string;
754
766
  "--hop-heading-xl-font-size": string;
755
767
  "--hop-heading-xl-font-weight": string;
756
768
  "--hop-heading-xl-line-height": string;
769
+ "--hop-heading-xl-top-offset": string;
770
+ "--hop-heading-xl-bottom-offset": string;
757
771
  "--hop-heading-lg-font-family": string;
758
772
  "--hop-heading-lg-font-size": string;
759
773
  "--hop-heading-lg-font-weight": string;
760
774
  "--hop-heading-lg-line-height": string;
775
+ "--hop-heading-lg-top-offset": string;
776
+ "--hop-heading-lg-bottom-offset": string;
761
777
  "--hop-heading-md-font-family": string;
762
778
  "--hop-heading-md-font-size": string;
763
779
  "--hop-heading-md-font-weight": string;
764
780
  "--hop-heading-md-line-height": string;
781
+ "--hop-heading-md-top-offset": string;
782
+ "--hop-heading-md-bottom-offset": string;
765
783
  "--hop-heading-sm-font-family": string;
766
784
  "--hop-heading-sm-font-size": string;
767
785
  "--hop-heading-sm-font-weight": string;
768
786
  "--hop-heading-sm-line-height": string;
787
+ "--hop-heading-sm-top-offset": string;
788
+ "--hop-heading-sm-bottom-offset": string;
769
789
  "--hop-heading-xs-font-family": string;
770
790
  "--hop-heading-xs-font-size": string;
771
791
  "--hop-heading-xs-font-weight": string;
772
792
  "--hop-heading-xs-line-height": string;
793
+ "--hop-heading-xs-top-offset": string;
794
+ "--hop-heading-xs-bottom-offset": string;
773
795
  "--hop-heading-xs-medium-font-family": string;
774
796
  "--hop-heading-xs-medium-font-size": string;
775
797
  "--hop-heading-xs-medium-font-weight": string;
776
798
  "--hop-heading-xs-medium-line-height": string;
799
+ "--hop-heading-xs-medium-top-offset": string;
800
+ "--hop-heading-xs-medium-bottom-offset": string;
777
801
  "--hop-overline-font-family": string;
778
802
  "--hop-overline-font-size": string;
779
803
  "--hop-overline-font-weight": string;
780
804
  "--hop-overline-line-height": string;
805
+ "--hop-overline-top-offset": string;
806
+ "--hop-overline-bottom-offset": string;
781
807
  "--hop-body-2xl-font-family": string;
782
808
  "--hop-body-2xl-font-size": string;
783
809
  "--hop-body-2xl-font-weight": string;
@@ -0,0 +1,2 @@
1
+ export { CoreTokens, SemanticTokens } from '../../chunk-JKXZGQAL.js';
2
+ import '../../chunk-6LX4VMOV.js';
@@ -1,2 +1,2 @@
1
- export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontSize, FontWeight, HopperColors, HopperVariablePrefix, IconColors, LineHeight, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors } from '../../chunk-PCGVOTW3.js';
1
+ export { BackgroundColors, BorderColors, CoreSpace, DataVizColors, Elevation, FontFamily, FontSize, FontWeight, HopperColors, HopperVariablePrefix, IconColors, LineHeight, SemanticComplexMarginSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticSimplePaddingSpace, Shape, TextColors } from '../../chunk-KKVEOD5L.js';
2
2
  import '../../chunk-6LX4VMOV.js';
@@ -1,5 +1,5 @@
1
- export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, IconColorMapping, LineHeightMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue } from '../chunk-ACHT4RXQ.js';
2
- import '../chunk-PCGVOTW3.js';
1
+ export { BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, ColorExpressionTypes, ColorMapping, ComplexMarginMapping, ComplexPaddingMapping, DataVizColorMapping, DefaultBorderWidthAndStyle, FontFamilyMapping, FontSizeMapping, FontWeightMapping, IconColorMapping, LineHeightMapping, SimpleMarginMapping, SimplePaddingMapping, SizingMapping, SpaceMapping, TextColorMapping, getSizingValue, getSystemValue, parseResponsiveSystemValue } from '../chunk-DRFY5W7M.js';
2
+ import '../chunk-KKVEOD5L.js';
3
3
  import '../chunk-SFOVKOPG.js';
4
4
  import '../chunk-VBKLISDI.js';
5
5
  import '../chunk-XUHDFZZL.js';
@@ -1,5 +1,5 @@
1
- import { DarkSemanticTokens } from './generated/dark-semantic-tokens.js';
2
- import { CoreTokens, SemanticTokens } from './generated/light-semantic-tokens.js';
1
+ import { DarkSemanticTokens } from './generated/darkSemanticTokens.js';
2
+ import { CoreTokens, SemanticTokens } from './generated/lightSemanticTokens.js';
3
3
 
4
4
  declare const Tokens: {
5
5
  Core: {
@@ -169,6 +169,14 @@ declare const Tokens: {
169
169
  "--hop-line-height-1-33": string;
170
170
  "--hop-line-height-1-4285": string;
171
171
  "--hop-line-height-1-50": string;
172
+ "--hop-easing-duration-1": string;
173
+ "--hop-easing-duration-2": string;
174
+ "--hop-easing-duration-3": string;
175
+ "--hop-easing-duration-4": string;
176
+ "--hop-easing-duration-5": string;
177
+ "--hop-easing-productive": string;
178
+ "--hop-easing-focus": string;
179
+ "--hop-easing-expressive": string;
172
180
  "--hop-border-radius-0": string;
173
181
  "--hop-border-radius-1": string;
174
182
  "--hop-border-radius-2": string;
@@ -747,38 +755,56 @@ declare const Tokens: {
747
755
  "--hop-heading-3xl-font-size": string;
748
756
  "--hop-heading-3xl-font-weight": string;
749
757
  "--hop-heading-3xl-line-height": string;
758
+ "--hop-heading-3xl-top-offset": string;
759
+ "--hop-heading-3xl-bottom-offset": string;
750
760
  "--hop-heading-2xl-font-family": string;
751
761
  "--hop-heading-2xl-font-size": string;
752
762
  "--hop-heading-2xl-font-weight": string;
753
763
  "--hop-heading-2xl-line-height": string;
764
+ "--hop-heading-2xl-top-offset": string;
765
+ "--hop-heading-2xl-bottom-offset": string;
754
766
  "--hop-heading-xl-font-family": string;
755
767
  "--hop-heading-xl-font-size": string;
756
768
  "--hop-heading-xl-font-weight": string;
757
769
  "--hop-heading-xl-line-height": string;
770
+ "--hop-heading-xl-top-offset": string;
771
+ "--hop-heading-xl-bottom-offset": string;
758
772
  "--hop-heading-lg-font-family": string;
759
773
  "--hop-heading-lg-font-size": string;
760
774
  "--hop-heading-lg-font-weight": string;
761
775
  "--hop-heading-lg-line-height": string;
776
+ "--hop-heading-lg-top-offset": string;
777
+ "--hop-heading-lg-bottom-offset": string;
762
778
  "--hop-heading-md-font-family": string;
763
779
  "--hop-heading-md-font-size": string;
764
780
  "--hop-heading-md-font-weight": string;
765
781
  "--hop-heading-md-line-height": string;
782
+ "--hop-heading-md-top-offset": string;
783
+ "--hop-heading-md-bottom-offset": string;
766
784
  "--hop-heading-sm-font-family": string;
767
785
  "--hop-heading-sm-font-size": string;
768
786
  "--hop-heading-sm-font-weight": string;
769
787
  "--hop-heading-sm-line-height": string;
788
+ "--hop-heading-sm-top-offset": string;
789
+ "--hop-heading-sm-bottom-offset": string;
770
790
  "--hop-heading-xs-font-family": string;
771
791
  "--hop-heading-xs-font-size": string;
772
792
  "--hop-heading-xs-font-weight": string;
773
793
  "--hop-heading-xs-line-height": string;
794
+ "--hop-heading-xs-top-offset": string;
795
+ "--hop-heading-xs-bottom-offset": string;
774
796
  "--hop-heading-xs-medium-font-family": string;
775
797
  "--hop-heading-xs-medium-font-size": string;
776
798
  "--hop-heading-xs-medium-font-weight": string;
777
799
  "--hop-heading-xs-medium-line-height": string;
800
+ "--hop-heading-xs-medium-top-offset": string;
801
+ "--hop-heading-xs-medium-bottom-offset": string;
778
802
  "--hop-overline-font-family": string;
779
803
  "--hop-overline-font-size": string;
780
804
  "--hop-overline-font-weight": string;
781
805
  "--hop-overline-line-height": string;
806
+ "--hop-overline-top-offset": string;
807
+ "--hop-overline-bottom-offset": string;
782
808
  "--hop-body-2xl-font-family": string;
783
809
  "--hop-body-2xl-font-size": string;
784
810
  "--hop-body-2xl-font-weight": string;
@@ -1,4 +1,4 @@
1
- export { Tokens } from '../chunk-TAIACQMV.js';
2
- import '../chunk-ZKEMKHXY.js';
3
- import '../chunk-3IK64CCG.js';
1
+ export { Tokens } from '../chunk-45MYTH4M.js';
2
+ import '../chunk-E2EGUGKS.js';
3
+ import '../chunk-JKXZGQAL.js';
4
4
  import '../chunk-6LX4VMOV.js';
@@ -1,125 +1,125 @@
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___71ep8:hover {
2
+ .UseStyledSystem-module__hop-b-hover___Zqeu5:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___ylhBC:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___a1mz8:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___TO68v:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___BVwnM:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___BcsdD:hover {
14
+ .UseStyledSystem-module__hop-br-hover___hTuCm:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___cy3wM:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___adE7m:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___tmnq6:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___DfUJn:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___G-HZ8:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___axUzQ: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___kGmWM:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___AHFjp: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___dUPR-:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___5mdx8: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___Hrlw3:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___ybiFb: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___dHtWO:active {
42
+ .UseStyledSystem-module__hop-b-active___BU6Oj:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___Egybw:active {
46
+ .UseStyledSystem-module__hop-bb-active___pFoxa:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___jqw-D:active {
50
+ .UseStyledSystem-module__hop-bl-active___ueWsf:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___ysPGE:active {
54
+ .UseStyledSystem-module__hop-br-active___sBjPX:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___C7xuD:active {
58
+ .UseStyledSystem-module__hop-bt-active___ldKxI:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___1W2CI:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___Gzm9t:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___GQNcd:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___jIrSB: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___Bo-0I:active {
70
+ .UseStyledSystem-module__hop-bg-active___fafHA:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___Z1cKa:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___Zoiej:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___tBUac:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___Ojcth: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___mkrRd:active {
82
+ .UseStyledSystem-module__hop-bs-active___8gnFg:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___wiNSV:hover {
86
+ .UseStyledSystem-module__hop-c-hover___Q88Tg:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___59TkO:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___Vyuyv:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___H8-u-:active {
94
+ .UseStyledSystem-module__hop-c-active___UquV3:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___igsh7:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___GqEOP:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___1Xk9j:hover {
102
+ .UseStyledSystem-module__hop-f-hover___7EKmX:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___Ib-hw:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___k-Xh5:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___gzbqv:hover {
110
+ .UseStyledSystem-module__hop-o-hover___bSfTb:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___Pmoy-:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___92q-T:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___eu716:active {
118
+ .UseStyledSystem-module__hop-o-active___qojJF:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___aURRZ:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___U-dIO:focus-visible {
123
123
  --hop-ol-focus: initial;
124
124
  color: var(--hop-ol-focus) !important;
125
125
  }
@@ -1,9 +1,9 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { Breakpoint } from './responsive/Breakpoints.js';
3
- import { StyledSystemProps } from './styled-system-props.js';
3
+ import { StyledSystemProps } from './styledSystemProps.js';
4
4
  import { ResponsiveProp } from './responsive/useResponsiveValue.js';
5
5
  import 'csstype';
6
- import './tokens/token-mappings.js';
6
+ import './tokens/tokenMappings.js';
7
7
 
8
8
  type PropHandler = (name: string, value: ResponsiveProp<string | number | string[]>, context: StylingContext) => void;
9
9
  declare const PropsHandlers: Record<string, PropHandler>;
@@ -1,9 +1,9 @@
1
- export { isStyledSystemProp, useStyledSystem } from './chunk-IZYWFDT7.js';
2
- import './chunk-ACHT4RXQ.js';
3
- import './chunk-PCGVOTW3.js';
1
+ export { isStyledSystemProp, useStyledSystem } from './chunk-TSYETPJT.js';
2
+ import './chunk-DRFY5W7M.js';
3
+ import './chunk-KKVEOD5L.js';
4
4
  import './chunk-SFOVKOPG.js';
5
5
  import './chunk-VBKLISDI.js';
6
6
  import './chunk-XUHDFZZL.js';
7
7
  import './chunk-U5R6ZXH3.js';
8
- import './chunk-I37Y2R7V.js';
8
+ import './chunk-QMDDVBCZ.js';
9
9
  import './chunk-6LX4VMOV.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/styled-system",
3
3
  "author": "Workleap",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "description": "The styled-system package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -38,36 +38,35 @@
38
38
  "react-dom": "*"
39
39
  },
40
40
  "dependencies": {
41
- "clsx": "^2.1.0",
42
- "@react-aria/ssr": "^3.9.1"
41
+ "@react-aria/ssr": "^3.9.2",
42
+ "clsx": "^2.1.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@swc/core": "1.3.106",
46
- "@swc/helpers": "0.5.3",
47
- "@swc/jest": "0.2.31",
48
- "@testing-library/jest-dom": "6.3.0",
49
- "@testing-library/react": "14.1.2",
50
- "@types/jest": "29.5.11",
51
- "@types/react": "18.2.48",
52
- "@types/react-dom": "18.2.18",
45
+ "@swc/core": "1.4.8",
46
+ "@swc/helpers": "0.5.7",
47
+ "@swc/jest": "0.2.36",
48
+ "@testing-library/jest-dom": "6.4.2",
49
+ "@testing-library/react": "14.2.2",
50
+ "@types/jest": "29.5.12",
51
+ "@types/react": "18.2.67",
52
+ "@types/react-dom": "18.2.22",
53
53
  "@types/react-test-renderer": "18.0.7",
54
- "@workleap/eslint-plugin": "3.0.0",
55
- "@workleap/swc-configs": "2.1.2",
56
- "@workleap/tsup-configs": "3.0.1",
54
+ "@workleap/eslint-plugin": "3.1.0",
55
+ "@workleap/swc-configs": "2.2.3",
56
+ "@workleap/tsup-configs": "3.0.4",
57
57
  "@workleap/typescript-configs": "3.0.2",
58
58
  "identity-obj-proxy": "3.0.0",
59
59
  "jest": "29.7.0",
60
60
  "jest-environment-jsdom": "29.7.0",
61
- "postcss": "8.4.33",
61
+ "postcss": "8.4.37",
62
62
  "postcss-modules": "6.0.0",
63
63
  "react": "18.2.0",
64
64
  "react-dom": "18.2.0",
65
65
  "react-test-renderer": "18.2.0",
66
66
  "ts-jest": "29.1.2",
67
- "tsup": "8.0.1",
68
- "type-fest": "4.10.1",
69
- "typescript": "5.3.3",
70
- "@hopper-ui/tokens": "3.3.0"
67
+ "tsup": "8.0.2",
68
+ "typescript": "5.4.2",
69
+ "@hopper-ui/tokens": "3.5.0"
71
70
  },
72
71
  "scripts": {
73
72
  "dev": "tsup --config ./tsup.dev.ts",
@@ -1,2 +0,0 @@
1
- export { UnsafePrefix } from './chunk-I37Y2R7V.js';
2
- import './chunk-6LX4VMOV.js';
@@ -1,2 +0,0 @@
1
- export { DarkSemanticTokens } from '../../chunk-ZKEMKHXY.js';
2
- import '../../chunk-6LX4VMOV.js';
@@ -1,2 +0,0 @@
1
- export { CoreTokens, SemanticTokens } from '../../chunk-3IK64CCG.js';
2
- import '../../chunk-6LX4VMOV.js';