@hopper-ui/styled-system 2.5.7 → 2.5.9

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.
@@ -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___yp43p:hover {
2
+ .UseStyledSystem-module__hop-b-hover___-uv5U:hover {
3
3
  --hop-b-hover: initial;
4
4
  border: var(--hop-b-hover) !important;
5
5
  }
6
- .UseStyledSystem-module__hop-bb-hover___RQhQN:hover {
6
+ .UseStyledSystem-module__hop-bb-hover___Nw9pk:hover {
7
7
  --hop-bb-hover: initial;
8
8
  border-bottom: var(--hop-bb-hover) !important;
9
9
  }
10
- .UseStyledSystem-module__hop-bl-hover___7EGi3:hover {
10
+ .UseStyledSystem-module__hop-bl-hover___ScFa8:hover {
11
11
  --hop-bl-hover: initial;
12
12
  border-left: var(--hop-bl-hover) !important;
13
13
  }
14
- .UseStyledSystem-module__hop-br-hover___xgrqz:hover {
14
+ .UseStyledSystem-module__hop-br-hover___nyZRP:hover {
15
15
  --hop-br-hover: initial;
16
16
  border-right: var(--hop-br-hover) !important;
17
17
  }
18
- .UseStyledSystem-module__hop-bt-hover___OHEye:hover {
18
+ .UseStyledSystem-module__hop-bt-hover___mIvCc:hover {
19
19
  --hop-bt-hover: initial;
20
20
  border-top: var(--hop-bt-hover) !important;
21
21
  }
22
- .UseStyledSystem-module__hop-b-focus___VD53A:focus-visible {
22
+ .UseStyledSystem-module__hop-b-focus___QVDv2:focus-visible {
23
23
  --hop-b-focus: initial;
24
24
  border: var(--hop-b-focus) !important;
25
25
  }
26
- .UseStyledSystem-module__hop-bb-focus___XaONh:focus-visible {
26
+ .UseStyledSystem-module__hop-bb-focus___2wtGI: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___OEuiC:focus-visible {
30
+ .UseStyledSystem-module__hop-bl-focus___DdQyO: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___fCHZT:focus-visible {
34
+ .UseStyledSystem-module__hop-br-focus___l6hbv: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___vLwaI:focus-visible {
38
+ .UseStyledSystem-module__hop-bt-focus___lIHzR: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___8lbw1:active {
42
+ .UseStyledSystem-module__hop-b-active___FX491:active {
43
43
  --hop-b-active: initial;
44
44
  border: var(--hop-b-active) !important;
45
45
  }
46
- .UseStyledSystem-module__hop-bb-active___0B2qX:active {
46
+ .UseStyledSystem-module__hop-bb-active___3p2de:active {
47
47
  --hop-bb-active: initial;
48
48
  border-bottom: var(--hop-bb-active) !important;
49
49
  }
50
- .UseStyledSystem-module__hop-bl-active___AVGYj:active {
50
+ .UseStyledSystem-module__hop-bl-active___bD5ln:active {
51
51
  --hop-bl-active: initial;
52
52
  border-left: var(--hop-bl-active) !important;
53
53
  }
54
- .UseStyledSystem-module__hop-br-active___SMFXO:active {
54
+ .UseStyledSystem-module__hop-br-active___Z2w-2:active {
55
55
  --hop-br-active: initial;
56
56
  border-right: var(--hop-br-active) !important;
57
57
  }
58
- .UseStyledSystem-module__hop-bt-active___FAWuS:active {
58
+ .UseStyledSystem-module__hop-bt-active___cXrGo:active {
59
59
  --hop-bt-active: initial;
60
60
  border-top: var(--hop-bt-active) !important;
61
61
  }
62
- .UseStyledSystem-module__hop-bg-hover___ejzLg:hover {
62
+ .UseStyledSystem-module__hop-bg-hover___IM2SP:hover {
63
63
  --hop-bg-hover: initial;
64
64
  background-color: var(--hop-bg-hover) !important;
65
65
  }
66
- .UseStyledSystem-module__hop-bg-focus___iOYnm:focus-visible {
66
+ .UseStyledSystem-module__hop-bg-focus___-8NKC: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___jFl8D:active {
70
+ .UseStyledSystem-module__hop-bg-active___PbRjo:active {
71
71
  --hop-bg-active: initial;
72
72
  background-color: var(--hop-bg-active) !important;
73
73
  }
74
- .UseStyledSystem-module__hop-bs-hover___SyCGY:hover {
74
+ .UseStyledSystem-module__hop-bs-hover___uRazj:hover {
75
75
  --hop-bs-hover: initial;
76
76
  box-shadow: var(--hop-bs-hover) !important;
77
77
  }
78
- .UseStyledSystem-module__hop-bs-focus___SEOtN:focus-visible {
78
+ .UseStyledSystem-module__hop-bs-focus___WPb5b: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___OtVm6:active {
82
+ .UseStyledSystem-module__hop-bs-active___d-Ztc:active {
83
83
  --hop-bs-active: initial;
84
84
  box-shadow: var(--hop-bs-active) !important;
85
85
  }
86
- .UseStyledSystem-module__hop-c-hover___x6iFT:hover {
86
+ .UseStyledSystem-module__hop-c-hover___jWw7H:hover {
87
87
  --hop-c-hover: initial;
88
88
  color: var(--hop-c-hover) !important;
89
89
  }
90
- .UseStyledSystem-module__hop-c-focus___15FZ-:focus-visible {
90
+ .UseStyledSystem-module__hop-c-focus___Y1k28:focus-visible {
91
91
  --hop-c-focus: initial;
92
92
  color: var(--hop-c-focus) !important;
93
93
  }
94
- .UseStyledSystem-module__hop-c-active___Ds0-z:active {
94
+ .UseStyledSystem-module__hop-c-active___9usqR:active {
95
95
  --hop-c-active: initial;
96
96
  color: var(--hop-c-active) !important;
97
97
  }
98
- .UseStyledSystem-module__hop-cs-hover___Ezvlz:hover {
98
+ .UseStyledSystem-module__hop-cs-hover___1iWyj:hover {
99
99
  --hop-cs-hover: initial;
100
100
  cursor: var(--hop-cs-hover) !important;
101
101
  }
102
- .UseStyledSystem-module__hop-f-hover___VwWAU:hover {
102
+ .UseStyledSystem-module__hop-f-hover___G8m3j:hover {
103
103
  --hop-f-hover: initial;
104
104
  fill: var(--hop-f-hover) !important;
105
105
  }
106
- .UseStyledSystem-module__hop-f-focus___GubJH:focus-visible {
106
+ .UseStyledSystem-module__hop-f-focus___S7xBy:focus-visible {
107
107
  --hop-f-focus: initial;
108
108
  fill: var(--hop-f-focus) !important;
109
109
  }
110
- .UseStyledSystem-module__hop-o-hover___nHInD:hover {
110
+ .UseStyledSystem-module__hop-o-hover___TuFfD:hover {
111
111
  --hop-o-hover: initial;
112
112
  opacity: var(--hop-o-hover) !important;
113
113
  }
114
- .UseStyledSystem-module__hop-o-focus___3nox7:focus-visible {
114
+ .UseStyledSystem-module__hop-o-focus___CYGDn:focus-visible {
115
115
  --hop-o-focus: initial;
116
116
  opacity: var(--hop-o-focus) !important;
117
117
  }
118
- .UseStyledSystem-module__hop-o-active___L0QI6:active {
118
+ .UseStyledSystem-module__hop-o-active___z5Riy:active {
119
119
  --hop-o-active: initial;
120
120
  opacity: var(--hop-o-active) !important;
121
121
  }
122
- .UseStyledSystem-module__hop-ol-focus___er-fd:focus-visible {
122
+ .UseStyledSystem-module__hop-ol-focus___-9JTf:focus-visible {
123
123
  --hop-ol-focus: initial;
124
124
  color: var(--hop-ol-focus) !important;
125
125
  }
@@ -1,12 +1,13 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { Breakpoint } from './responsive/Breakpoints.js';
3
3
  import { ResponsiveProp } from './responsive/useResponsiveValue.js';
4
- import { StyledSystemProps } from './styledSystemProps.js';
4
+ import { StyledSystemProps, UnsafeStyledSystemProps } from './styledSystemProps.js';
5
5
  import 'csstype';
6
6
  import './tokens/tokenMappings.js';
7
7
 
8
8
  type PropHandler = (name: string, value: ResponsiveProp<string | number | string[]>, context: StylingContext) => void;
9
- declare const PropsHandlers: Record<string, PropHandler>;
9
+ type PropsHandlersKey = keyof Omit<StyledSystemProps, keyof UnsafeStyledSystemProps>;
10
+ declare const PropsHandlers: Record<PropsHandlersKey, PropHandler>;
10
11
  declare function isStyledSystemProp(name: string): name is keyof typeof PropsHandlers;
11
12
  declare class StylingContext {
12
13
  #private;
@@ -1,4 +1,4 @@
1
- export { isStyledSystemProp, useStyledSystem } from './chunk-32QSMUWN.js';
1
+ export { isStyledSystemProp, useStyledSystem } from './chunk-VQE64NVW.js';
2
2
  import './chunk-7TNCJ3OQ.js';
3
3
  import './chunk-MSH55T2T.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": "2.5.7",
4
+ "version": "2.5.9",
5
5
  "description": "The styled-system package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {