@hopper-ui/styled-system 0.2.4 → 0.2.5

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.
@@ -910,7 +910,7 @@ interface StyledSystemProps {
910
910
  */
911
911
  UNSAFE_borderTopHover?: ResponsiveProp<UNSAFE_BorderValue>;
912
912
  /**
913
- * Sets the `border-top-left-radius` property when hovered.
913
+ * Sets the `border-top-left-radius` property.
914
914
  *
915
915
  * If you want to use a **token value** from the **SCALE**, use the **`borderTopLeftRadius`** property instead.
916
916
  *
@@ -918,7 +918,7 @@ interface StyledSystemProps {
918
918
  */
919
919
  UNSAFE_borderTopLeftRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
920
920
  /**
921
- * Sets the `border-top-right-radius` property when hovered.
921
+ * Sets the `border-top-right-radius` property.
922
922
  *
923
923
  * If you want to use a **token value** from the **SCALE**, use the **`borderTopRightRadius`** property instead.
924
924
  *
@@ -933,6 +933,30 @@ interface StyledSystemProps {
933
933
  * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
934
934
  */
935
935
  UNSAFE_boxShadow?: ResponsiveProp<UNSAFE_BoxShadowValue>;
936
+ /**
937
+ * Sets the `box-shadow` property when active.
938
+ *
939
+ * If you want to use a **token value** from the **SCALE**, use the **`boxShadowActive`** property instead.
940
+ *
941
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
942
+ */
943
+ UNSAFE_boxShadowActive?: ResponsiveProp<UNSAFE_BoxShadowValue>;
944
+ /**
945
+ * Sets the `box-shadow` property when focused.
946
+ *
947
+ * If you want to use a **token value** from the **SCALE**, use the **`boxShadowFocus`** property instead.
948
+ *
949
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
950
+ */
951
+ UNSAFE_boxShadowFocus?: ResponsiveProp<UNSAFE_BoxShadowValue>;
952
+ /**
953
+ * Sets the `box-shadow` property when hovered.
954
+ *
955
+ * If you want to use a **token value** from the **SCALE**, use the **`boxShadowHover`** property instead.
956
+ *
957
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
958
+ */
959
+ UNSAFE_boxShadowHover?: ResponsiveProp<UNSAFE_BoxShadowValue>;
936
960
  /**
937
961
  * Sets the `color` property.
938
962
  *
@@ -941,6 +965,30 @@ interface StyledSystemProps {
941
965
  * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
942
966
  */
943
967
  UNSAFE_color?: ResponsiveProp<UNSAFE_ColorValue>;
968
+ /**
969
+ * Sets the `color` property when active.
970
+ *
971
+ * If you want to use a **token value** from the **SCALE**, use the **`colorActive`** property instead.
972
+ *
973
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
974
+ */
975
+ UNSAFE_colorActive?: ResponsiveProp<UNSAFE_ColorValue>;
976
+ /**
977
+ * Sets the `color` property when focused.
978
+ *
979
+ * If you want to use a **token value** from the **SCALE**, use the **`colorFocus`** property instead.
980
+ *
981
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
982
+ */
983
+ UNSAFE_colorFocus?: ResponsiveProp<UNSAFE_ColorValue>;
984
+ /**
985
+ * Sets the `color` property when hovered.
986
+ *
987
+ * If you want to use a **token value** from the **SCALE**, use the **`colorHover`** property instead.
988
+ *
989
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
990
+ */
991
+ UNSAFE_colorHover?: ResponsiveProp<UNSAFE_ColorValue>;
944
992
  /**
945
993
  * Sets the `column-gap` property.
946
994
  *
@@ -957,6 +1005,22 @@ interface StyledSystemProps {
957
1005
  * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
958
1006
  */
959
1007
  UNSAFE_fill?: ResponsiveProp<UNSAFE_FillValue>;
1008
+ /**
1009
+ * Sets the `fill` property when focused.
1010
+ *
1011
+ * If you want to use a **token value** from the **SCALE**, use the **`fillFocus`** property instead.
1012
+ *
1013
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
1014
+ */
1015
+ UNSAFE_fillFocus?: ResponsiveProp<UNSAFE_FillValue>;
1016
+ /**
1017
+ * Sets the `fill` property when hovered.
1018
+ *
1019
+ * If you want to use a **token value** from the **SCALE**, use the **`fillHover`** property instead.
1020
+ *
1021
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
1022
+ */
1023
+ UNSAFE_fillHover?: ResponsiveProp<UNSAFE_FillValue>;
960
1024
  /**
961
1025
  * Sets the `font-family` property.
962
1026
  *
@@ -1005,6 +1069,22 @@ interface StyledSystemProps {
1005
1069
  * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
1006
1070
  */
1007
1071
  UNSAFE_gridAutoRows?: ResponsiveProp<UNSAFE_GridAutoRowsValue>;
1072
+ /**
1073
+ * Sets the `grid-column-span` property.
1074
+ *
1075
+ * If you want to use a **token value** from the **SCALE**, use the **`gridColumnSpan`** property instead.
1076
+ *
1077
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
1078
+ */
1079
+ UNSAFE_gridColumnSpan?: ResponsiveProp<GridColumSpanValue>;
1080
+ /**
1081
+ * Sets the `grid-row-span` property.
1082
+ *
1083
+ * If you want to use a **token value** from the **SCALE**, use the **`gridRowSpan`** property instead.
1084
+ *
1085
+ * This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
1086
+ */
1087
+ UNSAFE_gridRowSpan?: ResponsiveProp<GridRowSpanValue>;
1008
1088
  /**
1009
1089
  * Sets the `grid-template-columns` property.
1010
1090
  *
@@ -1,2 +1,2 @@
1
- export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-LTBVOC66.js';
1
+ export { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-R63UWTVG.js';
2
2
  import './chunk-JFESGV6Z.js';
@@ -1,9 +1,9 @@
1
- export { TokenProvider } from '../chunk-6Z3ODGLS.js';
1
+ export { TokenProvider } from '../chunk-6GS5PMAA.js';
2
2
  import '../chunk-A47SIZVA.js';
3
3
  import '../chunk-ZKEMKHXY.js';
4
4
  import '../chunk-HAB2KYRH.js';
5
5
  import '../chunk-RIORU7JO.js';
6
6
  import '../chunk-YPIK2HRL.js';
7
- import '../chunk-LTBVOC66.js';
7
+ import '../chunk-R63UWTVG.js';
8
8
  import '../chunk-U5R6ZXH3.js';
9
9
  import '../chunk-JFESGV6Z.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___hm18j:hover {
2
+ .UseStyledSystem-module__hop-b-hover___ELiam:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___21HKw:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___mZbsF:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___Grzt6:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___ceyGf:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___G7tk8:hover {
14
+ .UseStyledSystem-module__hop-br-hover___1koop:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___sm1qA:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___XYjzz:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___e1pDZ:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___eKqPu:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___n1ebY:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___sLRKs: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___pkLah:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___ql2vz: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___EIC7F:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___bOlUU: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___Hs3sj:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___iUUrS: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___ELBnY:active {
42
+ .UseStyledSystem-module__hop-b-active___qHy5D:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___0i1A8:active {
46
+ .UseStyledSystem-module__hop-bb-active___ZZKAA:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___fNBrE:active {
50
+ .UseStyledSystem-module__hop-bl-active___FCKS3:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___fmCeI:active {
54
+ .UseStyledSystem-module__hop-br-active___o8t8T:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___gWcN8:active {
58
+ .UseStyledSystem-module__hop-bt-active___GogIA:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___RJ8bQ:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___CTlws:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___0wFZh:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___iPjbs: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___ClI7B:active {
70
+ .UseStyledSystem-module__hop-bg-active___8Fos8:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___n4AMX:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___gLQZn:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___EkVlA:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___VbuiX: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___jUKcJ:active {
82
+ .UseStyledSystem-module__hop-bs-active___cTySx:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___Yszuq:hover {
86
+ .UseStyledSystem-module__hop-c-hover___sziqQ:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___R-D-d:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___pLFyI:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___iy--9:active {
94
+ .UseStyledSystem-module__hop-c-active___GOSR5:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___OqIJ2:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___F9NUH:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___y-XLH:hover {
102
+ .UseStyledSystem-module__hop-f-hover___p0BS-:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___NSIK4:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___Fq-NB:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___rxxcZ:hover {
110
+ .UseStyledSystem-module__hop-o-hover___KGrys:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___oO8-E:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___cGXdz:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___bYxsk:active {
118
+ .UseStyledSystem-module__hop-o-active___qwlbA:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___bZPzq:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___9PPfW:focus-visible {
123
123
  --hop-ol-focus: initial;
124
124
  color: var(--hop-ol-focus) !important;
125
125
  }
@@ -1,4 +1,4 @@
1
- export { isStyledSystemProp, useStyledSystem } from './chunk-I7U75XRH.js';
1
+ export { isStyledSystemProp, useStyledSystem } from './chunk-RS5A44EK.js';
2
2
  import './chunk-T2LQYER5.js';
3
3
  import './chunk-PCGVOTW3.js';
4
4
  import './chunk-SFOVKOPG.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/styled-system",
3
3
  "author": "Workleap",
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "description": "The styled-system package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {