@hopper-ui/styled-system 0.2.1 → 0.2.2
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.
- package/CHANGELOG.md +6 -0
- package/dist/StyledSystemProvider.css +132 -1
- package/dist/StyledSystemProvider.d.ts +42 -4
- package/dist/StyledSystemProvider.js +25 -26
- package/dist/chunk-2ITAI3PJ.js +270 -0
- package/dist/chunk-35LDZFKX.js +29 -0
- package/dist/chunk-3YM73BQP.js +6 -0
- package/dist/chunk-7HCELIKZ.js +41 -0
- package/dist/chunk-FYKLSVLR.js +39 -0
- package/dist/chunk-GYREQTEK.js +30 -0
- package/dist/chunk-I37Y2R7V.js +4 -0
- package/dist/chunk-IK6W4ZXH.js +11 -0
- package/dist/chunk-IP7TYBR3.js +19 -0
- package/dist/chunk-JBWKRDVA.js +27 -0
- package/dist/chunk-JQBON2KA.js +23 -0
- package/dist/chunk-KUUJ37DW.js +96 -0
- package/dist/chunk-LU33LZMJ.js +55 -0
- package/dist/chunk-OHW5NUAW.js +59 -0
- package/dist/chunk-Q3NLRNZN.js +881 -0
- package/dist/chunk-RIR7BXVF.js +711 -0
- package/dist/chunk-STEDL5VQ.js +25 -0
- package/dist/chunk-U3SI5QXV.js +911 -0
- package/dist/chunk-U5R6ZXH3.js +46 -0
- package/dist/chunk-V7X6ANEM.js +14 -0
- package/dist/chunk-X5OXC6DN.js +9 -0
- package/dist/chunk-XUHDFZZL.js +10 -0
- package/dist/chunk-YPIK2HRL.js +6 -0
- package/dist/chunk-ZO3DYLQJ.js +32 -0
- package/dist/chunk-ZQUJDDQL.js +84 -0
- package/dist/chunk-ZUVKM5DV.js +13 -0
- package/dist/color-scheme/ColorSchemeContext.d.ts +12 -0
- package/dist/color-scheme/ColorSchemeContext.js +1 -0
- package/dist/color-scheme/useColorScheme.d.ts +6 -0
- package/dist/color-scheme/useColorScheme.js +2 -0
- package/dist/color-scheme/useColorSchemeValue.d.ts +3 -0
- package/dist/color-scheme/useColorSchemeValue.js +2 -0
- package/dist/global-styles/BodyStyleProvider.d.ts +5 -0
- package/dist/global-styles/BodyStyleProvider.js +8 -0
- package/dist/html-wrappers/html.css +132 -0
- package/dist/{StyledSystemProvider-173b78af.d.ts → html-wrappers/html.d.ts} +8 -53
- package/dist/html-wrappers/html.js +10 -0
- package/dist/html-wrappers/htmlElement.css +132 -0
- package/dist/html-wrappers/htmlElement.d.ts +12 -0
- package/dist/html-wrappers/htmlElement.js +9 -0
- package/dist/index.css +132 -1
- package/dist/index.d.ts +23 -2385
- package/dist/index.js +26 -26
- package/dist/responsive/BreakpointContext.d.ts +10 -0
- package/dist/responsive/BreakpointContext.js +2 -0
- package/dist/responsive/BreakpointProvider.d.ts +12 -0
- package/dist/responsive/BreakpointProvider.js +5 -0
- package/dist/responsive/Breakpoints.d.ts +10 -0
- package/dist/responsive/Breakpoints.js +1 -0
- package/dist/responsive/useResponsiveValue.d.ts +11 -0
- package/dist/responsive/useResponsiveValue.js +4 -0
- package/dist/styled-system-props.d.ts +1246 -3
- package/dist/styled-system-props.js +1 -3
- package/dist/styled-system-root-css-class.js +1 -3
- package/dist/tokens/TokenProvider.d.ts +20 -0
- package/dist/tokens/TokenProvider.js +8 -0
- package/dist/tokens/generated/dark-semantic-tokens.d.ts +272 -0
- package/dist/tokens/generated/dark-semantic-tokens.js +1 -0
- package/dist/tokens/generated/light-semantic-tokens.d.ts +883 -0
- package/dist/tokens/generated/light-semantic-tokens.js +1 -0
- package/dist/tokens/generated/styled-system-to-token-mappings.d.ts +913 -0
- package/dist/tokens/generated/styled-system-to-token-mappings.js +1 -0
- package/dist/{styled-system-props-1c231c50.d.ts → tokens/token-mappings.d.ts} +2 -1258
- package/dist/tokens/token-mappings.js +6 -0
- package/dist/tokens/tokens.d.ts +1154 -0
- package/dist/tokens/tokens.js +3 -0
- package/dist/useStyledSystem.css +125 -1
- package/dist/useStyledSystem.d.ts +4 -1
- package/dist/useStyledSystem.js +8 -5
- package/dist/utils/assertion.d.ts +15 -0
- package/dist/utils/assertion.js +1 -0
- package/dist/utils/useInsertStyleElement.d.ts +6 -0
- package/dist/utils/useInsertStyleElement.js +3 -0
- package/dist/utils/useIsomorphicInsertionEffect.d.ts +16 -0
- package/dist/utils/useIsomorphicInsertionEffect.js +1 -0
- package/dist/utils/useIsomorphicLayoutEffect.d.ts +16 -0
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -0
- package/dist/utils/useMediaQuery.d.ts +4 -0
- package/dist/utils/useMediaQuery.js +1 -0
- package/dist/utils/useThemeComputedStyle.d.ts +14 -0
- package/dist/utils/useThemeComputedStyle.js +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,1246 @@
|
|
|
1
|
-
import 'csstype';
|
|
2
|
-
import 'react';
|
|
3
|
-
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { CSSProperties, JSXElementConstructor, ComponentProps } from 'react';
|
|
3
|
+
import { ResponsiveProp } from './responsive/useResponsiveValue.js';
|
|
4
|
+
import { BackgroundColorValue, BorderValue, BorderRadiusValue, BoxShadowValue, ColorValue, ColumnGapValue, FillValue, FontFamilyValue, FontSizeValue, FontWeightValue, GapValue, GridAutoColumnsValue, GridAutoRowsValue, GridColumSpanValue, GridRowSpanValue, 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';
|
|
5
|
+
import './responsive/Breakpoints.js';
|
|
6
|
+
|
|
7
|
+
declare const UnsafePrefix = "UNSAFE_";
|
|
8
|
+
interface StyledSystemProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
/**
|
|
12
|
+
* Sets the `align-content` property.
|
|
13
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/align-content}
|
|
14
|
+
*/
|
|
15
|
+
alignContent?: ResponsiveProp<Property.AlignContent>;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the `align-items` property.
|
|
18
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/align-items}
|
|
19
|
+
*/
|
|
20
|
+
alignItems?: ResponsiveProp<Property.AlignItems>;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the `align-self` property.
|
|
23
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/align-self}
|
|
24
|
+
*/
|
|
25
|
+
alignSelf?: ResponsiveProp<Property.AlignSelf>;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `aspect-ratio` property.
|
|
28
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/aspect-ratio}
|
|
29
|
+
*/
|
|
30
|
+
aspectRatio?: ResponsiveProp<Property.AspectRatio>;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the `background-color` property.
|
|
33
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_backgroundColor`** property
|
|
34
|
+
*/
|
|
35
|
+
backgroundColor?: ResponsiveProp<BackgroundColorValue>;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the `background-color` property when active.
|
|
38
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_backgroundColor`** property
|
|
39
|
+
*/
|
|
40
|
+
backgroundColorActive?: ResponsiveProp<BackgroundColorValue>;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the `background-color` property when focused.
|
|
43
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_backgroundColor`** property
|
|
44
|
+
*/
|
|
45
|
+
backgroundColorFocus?: ResponsiveProp<BackgroundColorValue>;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the `background-color` property when hovered.
|
|
48
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_backgroundColor`** property
|
|
49
|
+
*/
|
|
50
|
+
backgroundColorHover?: ResponsiveProp<BackgroundColorValue>;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the `background-image` property.
|
|
53
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/background-image}
|
|
54
|
+
*/
|
|
55
|
+
backgroundImage?: ResponsiveProp<Property.BackgroundImage>;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the `background-position` property.
|
|
58
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/background-position}
|
|
59
|
+
*/
|
|
60
|
+
backgroundPosition?: ResponsiveProp<Property.BackgroundPosition>;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the `background-repeat` property.
|
|
63
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/background-repeat}
|
|
64
|
+
*/
|
|
65
|
+
backgroundRepeat?: ResponsiveProp<Property.BackgroundRepeat>;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the `background-size` property.
|
|
68
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/background-size}
|
|
69
|
+
*/
|
|
70
|
+
backgroundSize?: ResponsiveProp<Property.BackgroundSize>;
|
|
71
|
+
/**
|
|
72
|
+
* Sets the `border` property.
|
|
73
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_border`** property
|
|
74
|
+
*/
|
|
75
|
+
border?: ResponsiveProp<BorderValue>;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the `border` property when active.
|
|
78
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_border`** property
|
|
79
|
+
*/
|
|
80
|
+
borderActive?: ResponsiveProp<BorderValue>;
|
|
81
|
+
/**
|
|
82
|
+
* Sets the `border-bottom` property.
|
|
83
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottom`** property
|
|
84
|
+
*/
|
|
85
|
+
borderBottom?: ResponsiveProp<BorderValue>;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the `border-bottom` property when active.
|
|
88
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottom`** property
|
|
89
|
+
*/
|
|
90
|
+
borderBottomActive?: ResponsiveProp<BorderValue>;
|
|
91
|
+
/**
|
|
92
|
+
* Sets the `border-bottom` property when focused.
|
|
93
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottom`** property
|
|
94
|
+
*/
|
|
95
|
+
borderBottomFocus?: ResponsiveProp<BorderValue>;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the `border-bottom` property when hovered.
|
|
98
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottom`** property
|
|
99
|
+
*/
|
|
100
|
+
borderBottomHover?: ResponsiveProp<BorderValue>;
|
|
101
|
+
/**
|
|
102
|
+
* Sets the `border-bottom-left-radius` property.
|
|
103
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottomLeftRadius`** property
|
|
104
|
+
*/
|
|
105
|
+
borderBottomLeftRadius?: ResponsiveProp<BorderRadiusValue>;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the `border-bottom-right-radius` property.
|
|
108
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderBottomRightRadius`** property
|
|
109
|
+
*/
|
|
110
|
+
borderBottomRightRadius?: ResponsiveProp<BorderRadiusValue>;
|
|
111
|
+
/**
|
|
112
|
+
* Sets the `border` property when focused.
|
|
113
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_border`** property
|
|
114
|
+
*/
|
|
115
|
+
borderFocus?: ResponsiveProp<BorderValue>;
|
|
116
|
+
/**
|
|
117
|
+
* Sets the `border` property when hovered.
|
|
118
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_border`** property
|
|
119
|
+
*/
|
|
120
|
+
borderHover?: ResponsiveProp<BorderValue>;
|
|
121
|
+
/**
|
|
122
|
+
* Sets the `border-left` property.
|
|
123
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderLeft`** property
|
|
124
|
+
*/
|
|
125
|
+
borderLeft?: ResponsiveProp<BorderValue>;
|
|
126
|
+
/**
|
|
127
|
+
* Sets the `border-left` property when active.
|
|
128
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderLeft`** property
|
|
129
|
+
*/
|
|
130
|
+
borderLeftActive?: ResponsiveProp<BorderValue>;
|
|
131
|
+
/**
|
|
132
|
+
* Sets the `border-left` property when focused.
|
|
133
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderLeft`** property
|
|
134
|
+
*/
|
|
135
|
+
borderLeftFocus?: ResponsiveProp<BorderValue>;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the `border-left` property when hovered.
|
|
138
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderLeft`** property
|
|
139
|
+
*/
|
|
140
|
+
borderLeftHover?: ResponsiveProp<BorderValue>;
|
|
141
|
+
/**
|
|
142
|
+
* Sets the `border-radius` property.
|
|
143
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderRadius`** property
|
|
144
|
+
*/
|
|
145
|
+
borderRadius?: ResponsiveProp<BorderRadiusValue>;
|
|
146
|
+
/**
|
|
147
|
+
* Sets the `border-right` property.
|
|
148
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderRight`** property
|
|
149
|
+
*/
|
|
150
|
+
borderRight?: ResponsiveProp<BorderValue>;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the `border-right` property when active.
|
|
153
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderRight`** property
|
|
154
|
+
*/
|
|
155
|
+
borderRightActive?: ResponsiveProp<BorderValue>;
|
|
156
|
+
/**
|
|
157
|
+
* Sets the `border-right` property when focused.
|
|
158
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderRight`** property
|
|
159
|
+
*/
|
|
160
|
+
borderRightFocus?: ResponsiveProp<BorderValue>;
|
|
161
|
+
/**
|
|
162
|
+
* Sets the `border-right` property when hovered.
|
|
163
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderRight`** property
|
|
164
|
+
*/
|
|
165
|
+
borderRightHover?: ResponsiveProp<BorderValue>;
|
|
166
|
+
/**
|
|
167
|
+
* Sets the `border-top` property.
|
|
168
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTop`** property
|
|
169
|
+
*/
|
|
170
|
+
borderTop?: ResponsiveProp<BorderValue>;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the `border-top` property when active.
|
|
173
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTop`** property
|
|
174
|
+
*/
|
|
175
|
+
borderTopActive?: ResponsiveProp<BorderValue>;
|
|
176
|
+
/**
|
|
177
|
+
* Sets the `border-top` property when focused.
|
|
178
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTop`** property
|
|
179
|
+
*/
|
|
180
|
+
borderTopFocus?: ResponsiveProp<BorderValue>;
|
|
181
|
+
/**
|
|
182
|
+
* Sets the `border-top` property when hovered.
|
|
183
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTop`** property
|
|
184
|
+
*/
|
|
185
|
+
borderTopHover?: ResponsiveProp<BorderValue>;
|
|
186
|
+
/**
|
|
187
|
+
* Sets the `border-top-left-radius` property.
|
|
188
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTopLeftRadius`** property
|
|
189
|
+
*/
|
|
190
|
+
borderTopLeftRadius?: ResponsiveProp<BorderRadiusValue>;
|
|
191
|
+
/**
|
|
192
|
+
* Sets the `border-top-right-radius` property.
|
|
193
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_borderTopRightRadius`** property
|
|
194
|
+
*/
|
|
195
|
+
borderTopRightRadius?: ResponsiveProp<BorderRadiusValue>;
|
|
196
|
+
/**
|
|
197
|
+
* Sets the `bottom` property.
|
|
198
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/bottom}
|
|
199
|
+
*/
|
|
200
|
+
bottom?: ResponsiveProp<Property.Bottom>;
|
|
201
|
+
/**
|
|
202
|
+
* Sets the `box-shadow` property.
|
|
203
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_boxShadow`** property
|
|
204
|
+
*/
|
|
205
|
+
boxShadow?: ResponsiveProp<BoxShadowValue>;
|
|
206
|
+
/**
|
|
207
|
+
* Sets the `box-shadow` property when active.
|
|
208
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_boxShadow`** property
|
|
209
|
+
*/
|
|
210
|
+
boxShadowActive?: ResponsiveProp<BoxShadowValue>;
|
|
211
|
+
/**
|
|
212
|
+
* Sets the `box-shadow` property when focused.
|
|
213
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_boxShadow`** property
|
|
214
|
+
*/
|
|
215
|
+
boxShadowFocus?: ResponsiveProp<BoxShadowValue>;
|
|
216
|
+
/**
|
|
217
|
+
* Sets the `box-shadow` property when hovered.
|
|
218
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_boxShadow`** property
|
|
219
|
+
*/
|
|
220
|
+
boxShadowHover?: ResponsiveProp<BoxShadowValue>;
|
|
221
|
+
/**
|
|
222
|
+
* Sets the `color` property.
|
|
223
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_color`** property
|
|
224
|
+
*/
|
|
225
|
+
color?: ResponsiveProp<ColorValue>;
|
|
226
|
+
/**
|
|
227
|
+
* Sets the `color` property when active.
|
|
228
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_color`** property
|
|
229
|
+
*/
|
|
230
|
+
colorActive?: ResponsiveProp<ColorValue>;
|
|
231
|
+
/**
|
|
232
|
+
* Sets the `color` property when focused.
|
|
233
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_color`** property
|
|
234
|
+
*/
|
|
235
|
+
colorFocus?: ResponsiveProp<ColorValue>;
|
|
236
|
+
/**
|
|
237
|
+
* Sets the `color` property when hovered.
|
|
238
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_color`** property
|
|
239
|
+
*/
|
|
240
|
+
colorHover?: ResponsiveProp<ColorValue>;
|
|
241
|
+
/**
|
|
242
|
+
* Sets the `column-gap` property.
|
|
243
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_columnGap`** property
|
|
244
|
+
*/
|
|
245
|
+
columnGap?: ResponsiveProp<ColumnGapValue>;
|
|
246
|
+
/**
|
|
247
|
+
* Sets the `content` property.
|
|
248
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/content}
|
|
249
|
+
*/
|
|
250
|
+
content?: ResponsiveProp<Property.Content>;
|
|
251
|
+
/**
|
|
252
|
+
* Sets the `content-visibility` property.
|
|
253
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/content-visibility}
|
|
254
|
+
*/
|
|
255
|
+
contentVisibility?: ResponsiveProp<Property.ContentVisibility>;
|
|
256
|
+
/**
|
|
257
|
+
* Sets the `cursor` property.
|
|
258
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/cursor}
|
|
259
|
+
*/
|
|
260
|
+
cursor?: ResponsiveProp<Property.Cursor>;
|
|
261
|
+
/**
|
|
262
|
+
* Sets the `cursor` property when hovered.
|
|
263
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/cursor}
|
|
264
|
+
*/
|
|
265
|
+
cursorHover?: ResponsiveProp<Property.Cursor>;
|
|
266
|
+
/**
|
|
267
|
+
* Sets the `display` property.
|
|
268
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/display}
|
|
269
|
+
*/
|
|
270
|
+
display?: ResponsiveProp<Property.Display>;
|
|
271
|
+
/**
|
|
272
|
+
* Sets the `fill` property.
|
|
273
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fill`** property
|
|
274
|
+
*/
|
|
275
|
+
fill?: ResponsiveProp<FillValue>;
|
|
276
|
+
/**
|
|
277
|
+
* Sets the `fill` property when focused.
|
|
278
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fill`** property
|
|
279
|
+
*/
|
|
280
|
+
fillFocus?: ResponsiveProp<FillValue>;
|
|
281
|
+
/**
|
|
282
|
+
* Sets the `fill` property when hovered.
|
|
283
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fill`** property
|
|
284
|
+
*/
|
|
285
|
+
fillHover?: ResponsiveProp<FillValue>;
|
|
286
|
+
/**
|
|
287
|
+
* Sets the `filter` property.
|
|
288
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/filter}
|
|
289
|
+
*/
|
|
290
|
+
filter?: ResponsiveProp<Property.Filter>;
|
|
291
|
+
/**
|
|
292
|
+
* Sets the `flex` property.
|
|
293
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex}
|
|
294
|
+
*/
|
|
295
|
+
flex?: ResponsiveProp<Property.Flex>;
|
|
296
|
+
/**
|
|
297
|
+
* Sets the `flex-basis` property.
|
|
298
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-basis}
|
|
299
|
+
*/
|
|
300
|
+
flexBasis?: ResponsiveProp<Property.FlexBasis>;
|
|
301
|
+
/**
|
|
302
|
+
* Sets the `flex-direction` property.
|
|
303
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-direction}
|
|
304
|
+
*/
|
|
305
|
+
flexDirection?: ResponsiveProp<Property.FlexDirection>;
|
|
306
|
+
/**
|
|
307
|
+
* Sets the `flex-flow` property.
|
|
308
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-flow}
|
|
309
|
+
*/
|
|
310
|
+
flexFlow?: ResponsiveProp<Property.FlexFlow>;
|
|
311
|
+
/**
|
|
312
|
+
* Sets the `flex-grow` property.
|
|
313
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-grow}
|
|
314
|
+
*/
|
|
315
|
+
flexGrow?: ResponsiveProp<Property.FlexGrow>;
|
|
316
|
+
/**
|
|
317
|
+
* Sets the `flex-shrink` property.
|
|
318
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-shrink}
|
|
319
|
+
*/
|
|
320
|
+
flexShrink?: ResponsiveProp<Property.FlexShrink>;
|
|
321
|
+
/**
|
|
322
|
+
* Sets the `flex-wrap` property.
|
|
323
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/flex-wrap}
|
|
324
|
+
*/
|
|
325
|
+
flexWrap?: ResponsiveProp<Property.FlexWrap>;
|
|
326
|
+
/**
|
|
327
|
+
* Sets the `font-family` property.
|
|
328
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fontFamily`** property
|
|
329
|
+
*/
|
|
330
|
+
fontFamily?: ResponsiveProp<FontFamilyValue>;
|
|
331
|
+
/**
|
|
332
|
+
* Sets the `font-size` property.
|
|
333
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fontSize`** property
|
|
334
|
+
*/
|
|
335
|
+
fontSize?: ResponsiveProp<FontSizeValue>;
|
|
336
|
+
/**
|
|
337
|
+
* Sets the `font-style` property.
|
|
338
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/font-style}
|
|
339
|
+
*/
|
|
340
|
+
fontStyle?: ResponsiveProp<Property.FontStyle>;
|
|
341
|
+
/**
|
|
342
|
+
* Sets the `font-weight` property.
|
|
343
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_fontWeight`** property
|
|
344
|
+
*/
|
|
345
|
+
fontWeight?: ResponsiveProp<FontWeightValue>;
|
|
346
|
+
/**
|
|
347
|
+
* Sets the `gap` property.
|
|
348
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gap`** property
|
|
349
|
+
*/
|
|
350
|
+
gap?: ResponsiveProp<GapValue>;
|
|
351
|
+
/**
|
|
352
|
+
* Sets the `grid` property.
|
|
353
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid}
|
|
354
|
+
*/
|
|
355
|
+
grid?: ResponsiveProp<Property.Grid>;
|
|
356
|
+
/**
|
|
357
|
+
* Sets the `grid-area` property.
|
|
358
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-area}
|
|
359
|
+
*/
|
|
360
|
+
gridArea?: ResponsiveProp<Property.GridArea>;
|
|
361
|
+
/**
|
|
362
|
+
* Sets the `grid-auto-columns` property.
|
|
363
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridAutoColumns`** property
|
|
364
|
+
*/
|
|
365
|
+
gridAutoColumns?: ResponsiveProp<GridAutoColumnsValue>;
|
|
366
|
+
/**
|
|
367
|
+
* Sets the `grid-auto-flow` property.
|
|
368
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow}
|
|
369
|
+
*/
|
|
370
|
+
gridAutoFlow?: ResponsiveProp<Property.GridAutoFlow>;
|
|
371
|
+
/**
|
|
372
|
+
* Sets the `grid-auto-rows` property.
|
|
373
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridAutoRows`** property
|
|
374
|
+
*/
|
|
375
|
+
gridAutoRows?: ResponsiveProp<GridAutoRowsValue>;
|
|
376
|
+
/**
|
|
377
|
+
* Sets the `grid-column` property.
|
|
378
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-column}
|
|
379
|
+
*/
|
|
380
|
+
gridColumn?: ResponsiveProp<Property.GridColumn>;
|
|
381
|
+
/**
|
|
382
|
+
* Sets the `grid-column-end` property.
|
|
383
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-column-end}
|
|
384
|
+
*/
|
|
385
|
+
gridColumnEnd?: ResponsiveProp<Property.GridColumnEnd>;
|
|
386
|
+
/**
|
|
387
|
+
* Sets the `grid-column-span` property.
|
|
388
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridColumnSpan`** property
|
|
389
|
+
*/
|
|
390
|
+
gridColumnSpan?: ResponsiveProp<GridColumSpanValue>;
|
|
391
|
+
/**
|
|
392
|
+
* Sets the `grid-column-start` property.
|
|
393
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-column-start}
|
|
394
|
+
*/
|
|
395
|
+
gridColumnStart?: ResponsiveProp<Property.GridColumnStart>;
|
|
396
|
+
/**
|
|
397
|
+
* Sets the `grid-row` property.
|
|
398
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-row}
|
|
399
|
+
*/
|
|
400
|
+
gridRow?: ResponsiveProp<Property.GridRow>;
|
|
401
|
+
/**
|
|
402
|
+
* Sets the `grid-row-end` property.
|
|
403
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-row-end}
|
|
404
|
+
*/
|
|
405
|
+
gridRowEnd?: ResponsiveProp<Property.GridRowEnd>;
|
|
406
|
+
/**
|
|
407
|
+
* Sets the `grid-row-span` property.
|
|
408
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridRowSpan`** property
|
|
409
|
+
*/
|
|
410
|
+
gridRowSpan?: ResponsiveProp<GridRowSpanValue>;
|
|
411
|
+
/**
|
|
412
|
+
* Sets the `grid-row-start` property.
|
|
413
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-row-start}
|
|
414
|
+
*/
|
|
415
|
+
gridRowStart?: ResponsiveProp<Property.GridRowStart>;
|
|
416
|
+
/**
|
|
417
|
+
* Sets the `grid-template` property.
|
|
418
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-template}
|
|
419
|
+
*/
|
|
420
|
+
gridTemplate?: ResponsiveProp<Property.GridTemplate>;
|
|
421
|
+
/**
|
|
422
|
+
* Sets the `grid-template-areas` property.
|
|
423
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/grid-template-areas}
|
|
424
|
+
*/
|
|
425
|
+
gridTemplateAreas?: ResponsiveProp<Property.GridTemplateAreas>;
|
|
426
|
+
/**
|
|
427
|
+
* Sets the `grid-template-columns` property.
|
|
428
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridTemplateColumns`** property
|
|
429
|
+
*/
|
|
430
|
+
gridTemplateColumns?: ResponsiveProp<GridTemplateColumnsValue>;
|
|
431
|
+
/**
|
|
432
|
+
* Sets the `grid-template-rows` property.
|
|
433
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_gridTemplateRows`** property
|
|
434
|
+
*/
|
|
435
|
+
gridTemplateRows?: ResponsiveProp<GridTemplateRowsValue>;
|
|
436
|
+
/**
|
|
437
|
+
* Sets the `height` property.
|
|
438
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_height`** property
|
|
439
|
+
*/
|
|
440
|
+
height?: ResponsiveProp<HeightValue>;
|
|
441
|
+
/**
|
|
442
|
+
* Sets the `justify-content` property.
|
|
443
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/justify-content}
|
|
444
|
+
*/
|
|
445
|
+
justifyContent?: ResponsiveProp<Property.JustifyContent>;
|
|
446
|
+
/**
|
|
447
|
+
* Sets the `justify-items` property.
|
|
448
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/justify-items}
|
|
449
|
+
*/
|
|
450
|
+
justifyItems?: ResponsiveProp<Property.JustifyItems>;
|
|
451
|
+
/**
|
|
452
|
+
* Sets the `justify-self` property.
|
|
453
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/justify-self}
|
|
454
|
+
*/
|
|
455
|
+
justifySelf?: ResponsiveProp<Property.JustifySelf>;
|
|
456
|
+
/**
|
|
457
|
+
* Sets the `left` property.
|
|
458
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/left}
|
|
459
|
+
*/
|
|
460
|
+
left?: ResponsiveProp<Property.Left>;
|
|
461
|
+
/**
|
|
462
|
+
* Sets the `letter-spacing` property.
|
|
463
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/letter-spacing}
|
|
464
|
+
*/
|
|
465
|
+
letterSpacing?: ResponsiveProp<Property.LetterSpacing>;
|
|
466
|
+
/**
|
|
467
|
+
* Sets the `line-height` property.
|
|
468
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_lineHeight`** property
|
|
469
|
+
*/
|
|
470
|
+
lineHeight?: ResponsiveProp<LineHeightValue>;
|
|
471
|
+
/**
|
|
472
|
+
* Sets the `margin` property.
|
|
473
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_margin`** property
|
|
474
|
+
*/
|
|
475
|
+
margin?: ResponsiveProp<ComplexMarginValue>;
|
|
476
|
+
/**
|
|
477
|
+
* Sets the `margin-bottom` property.
|
|
478
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginBottom`** property
|
|
479
|
+
*/
|
|
480
|
+
marginBottom?: ResponsiveProp<SimpleMarginValue>;
|
|
481
|
+
/**
|
|
482
|
+
* Sets the `margin-left` property.
|
|
483
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginLeft`** property
|
|
484
|
+
*/
|
|
485
|
+
marginLeft?: ResponsiveProp<SimpleMarginValue>;
|
|
486
|
+
/**
|
|
487
|
+
* Sets the `margin-right` property.
|
|
488
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginRight`** property
|
|
489
|
+
*/
|
|
490
|
+
marginRight?: ResponsiveProp<SimpleMarginValue>;
|
|
491
|
+
/**
|
|
492
|
+
* Sets the `margin-top` property.
|
|
493
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginTop`** property
|
|
494
|
+
*/
|
|
495
|
+
marginTop?: ResponsiveProp<SimpleMarginValue>;
|
|
496
|
+
/**
|
|
497
|
+
* Sets the horizontal margin properties (`margin-left` and `margin-right`).
|
|
498
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginX`** property
|
|
499
|
+
*/
|
|
500
|
+
marginX?: ResponsiveProp<SimpleMarginValue>;
|
|
501
|
+
/**
|
|
502
|
+
* Sets the vertical margin properties (`margin-top` and `margin-bottom`).
|
|
503
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_marginY`** property
|
|
504
|
+
*/
|
|
505
|
+
marginY?: ResponsiveProp<SimpleMarginValue>;
|
|
506
|
+
/**
|
|
507
|
+
* Sets the `max-height` property.
|
|
508
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_maxHeight`** property
|
|
509
|
+
*/
|
|
510
|
+
maxHeight?: ResponsiveProp<HeightValue>;
|
|
511
|
+
/**
|
|
512
|
+
* Sets the `max-width` property.
|
|
513
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_maxWidth`** property
|
|
514
|
+
*/
|
|
515
|
+
maxWidth?: ResponsiveProp<WidthValue>;
|
|
516
|
+
/**
|
|
517
|
+
* Sets the `min-height` property.
|
|
518
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_minHeight`** property
|
|
519
|
+
*/
|
|
520
|
+
minHeight?: ResponsiveProp<HeightValue>;
|
|
521
|
+
/**
|
|
522
|
+
* Sets the `min-width` property.
|
|
523
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_minWidth`** property
|
|
524
|
+
*/
|
|
525
|
+
minWidth?: ResponsiveProp<WidthValue>;
|
|
526
|
+
/**
|
|
527
|
+
* Sets the `object-fit` property.
|
|
528
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/object-fit}
|
|
529
|
+
*/
|
|
530
|
+
objectFit?: ResponsiveProp<Property.ObjectFit>;
|
|
531
|
+
/**
|
|
532
|
+
* Sets the `object-position` property.
|
|
533
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/object-position}
|
|
534
|
+
*/
|
|
535
|
+
objectPosition?: ResponsiveProp<Property.ObjectPosition>;
|
|
536
|
+
/**
|
|
537
|
+
* Sets the `opacity` property.
|
|
538
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/opacity}
|
|
539
|
+
*/
|
|
540
|
+
opacity?: ResponsiveProp<Property.Opacity>;
|
|
541
|
+
/**
|
|
542
|
+
* Sets the `opacity` property when active.
|
|
543
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/opacity}
|
|
544
|
+
*/
|
|
545
|
+
opacityActive?: ResponsiveProp<Property.Opacity>;
|
|
546
|
+
/**
|
|
547
|
+
* Sets the `opacity` property when focused.
|
|
548
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/opacity}
|
|
549
|
+
*/
|
|
550
|
+
opacityFocus?: ResponsiveProp<Property.Opacity>;
|
|
551
|
+
/**
|
|
552
|
+
* Sets the `opacity` property when hovered.
|
|
553
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/opacity}
|
|
554
|
+
*/
|
|
555
|
+
opacityHover?: ResponsiveProp<Property.Opacity>;
|
|
556
|
+
/**
|
|
557
|
+
* Sets the `order` property.
|
|
558
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/order}
|
|
559
|
+
*/
|
|
560
|
+
order?: ResponsiveProp<Property.Order>;
|
|
561
|
+
/**
|
|
562
|
+
* Sets the `outline` property.
|
|
563
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/outline}
|
|
564
|
+
*/
|
|
565
|
+
outline?: ResponsiveProp<Property.Outline>;
|
|
566
|
+
/**
|
|
567
|
+
* Sets the `outline` property when focused.
|
|
568
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/outline}
|
|
569
|
+
*/
|
|
570
|
+
outlineFocus?: ResponsiveProp<Property.Outline>;
|
|
571
|
+
/**
|
|
572
|
+
* Sets the `overflow` property.
|
|
573
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/overflow}
|
|
574
|
+
*/
|
|
575
|
+
overflow?: ResponsiveProp<Property.Overflow>;
|
|
576
|
+
/**
|
|
577
|
+
* Sets the `overflow-x` property.
|
|
578
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/overflow-x}
|
|
579
|
+
*/
|
|
580
|
+
overflowX?: ResponsiveProp<Property.OverflowX>;
|
|
581
|
+
/**
|
|
582
|
+
* Sets the `overflow-y` property.
|
|
583
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/overflow-y}
|
|
584
|
+
*/
|
|
585
|
+
overflowY?: ResponsiveProp<Property.OverflowY>;
|
|
586
|
+
/**
|
|
587
|
+
* Sets the `padding` property.
|
|
588
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_padding`** property
|
|
589
|
+
*/
|
|
590
|
+
padding?: ResponsiveProp<ComplexPaddingValue>;
|
|
591
|
+
/**
|
|
592
|
+
* Sets the `padding-bottom` property.
|
|
593
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingBottom`** property
|
|
594
|
+
*/
|
|
595
|
+
paddingBottom?: ResponsiveProp<SimplePaddingValue>;
|
|
596
|
+
/**
|
|
597
|
+
* Sets the `padding-left` property.
|
|
598
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingLeft`** property
|
|
599
|
+
*/
|
|
600
|
+
paddingLeft?: ResponsiveProp<SimplePaddingValue>;
|
|
601
|
+
/**
|
|
602
|
+
* Sets the `padding-right` property.
|
|
603
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingRight`** property
|
|
604
|
+
*/
|
|
605
|
+
paddingRight?: ResponsiveProp<SimplePaddingValue>;
|
|
606
|
+
/**
|
|
607
|
+
* Sets the `padding-top` property.
|
|
608
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingTop`** property
|
|
609
|
+
*/
|
|
610
|
+
paddingTop?: ResponsiveProp<SimplePaddingValue>;
|
|
611
|
+
/**
|
|
612
|
+
* Sets the horizontal padding properties (`padding-left` and `padding-right`).
|
|
613
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingX`** property
|
|
614
|
+
*/
|
|
615
|
+
paddingX?: ResponsiveProp<SimplePaddingValue>;
|
|
616
|
+
/**
|
|
617
|
+
* Sets the vertical padding properties (`padding-top` and `padding-bottom`).
|
|
618
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_paddingY`** property
|
|
619
|
+
*/
|
|
620
|
+
paddingY?: ResponsiveProp<SimplePaddingValue>;
|
|
621
|
+
/**
|
|
622
|
+
* Sets the `pointer-events` property.
|
|
623
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/pointer-events}
|
|
624
|
+
*/
|
|
625
|
+
pointerEvents?: ResponsiveProp<Property.PointerEvents>;
|
|
626
|
+
/**
|
|
627
|
+
* Sets the `position` property.
|
|
628
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/position}
|
|
629
|
+
*/
|
|
630
|
+
position?: ResponsiveProp<Property.Position>;
|
|
631
|
+
/**
|
|
632
|
+
* Sets the `resize` property.
|
|
633
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/resize}
|
|
634
|
+
*/
|
|
635
|
+
resize?: ResponsiveProp<Property.Resize>;
|
|
636
|
+
/**
|
|
637
|
+
* Sets the `right` property.
|
|
638
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/right}
|
|
639
|
+
*/
|
|
640
|
+
right?: ResponsiveProp<Property.Right>;
|
|
641
|
+
/**
|
|
642
|
+
* Sets the `row-gap` property.
|
|
643
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_rowGap`** property
|
|
644
|
+
*/
|
|
645
|
+
rowGap?: ResponsiveProp<RowGapValue>;
|
|
646
|
+
/**
|
|
647
|
+
* Sets the `stroke` property.
|
|
648
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_stroke`** property
|
|
649
|
+
*/
|
|
650
|
+
stroke?: ResponsiveProp<StrokeValue>;
|
|
651
|
+
/**
|
|
652
|
+
* Sets the `text-align` property.
|
|
653
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/text-align}
|
|
654
|
+
*/
|
|
655
|
+
textAlign?: ResponsiveProp<Property.TextAlign | "justify-all">;
|
|
656
|
+
/**
|
|
657
|
+
* Sets the `text-decoration` property.
|
|
658
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/text-decoration}
|
|
659
|
+
*/
|
|
660
|
+
textDecoration?: ResponsiveProp<Property.TextDecoration>;
|
|
661
|
+
/**
|
|
662
|
+
* Sets the `text-overflow` property.
|
|
663
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/text-overflow}
|
|
664
|
+
*/
|
|
665
|
+
textOverflow?: ResponsiveProp<Property.TextOverflow>;
|
|
666
|
+
/**
|
|
667
|
+
* Sets the `text-transform` property.
|
|
668
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/text-transform}
|
|
669
|
+
*/
|
|
670
|
+
textTransform?: ResponsiveProp<Property.TextTransform>;
|
|
671
|
+
/**
|
|
672
|
+
* Sets the `top` property.
|
|
673
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/top}
|
|
674
|
+
*/
|
|
675
|
+
top?: ResponsiveProp<Property.Top>;
|
|
676
|
+
/**
|
|
677
|
+
* Sets the `transform` property.
|
|
678
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/transform}
|
|
679
|
+
*/
|
|
680
|
+
transform?: ResponsiveProp<Property.Transform>;
|
|
681
|
+
/**
|
|
682
|
+
* Sets the `transform-origin` property.
|
|
683
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/transform-origin}
|
|
684
|
+
*/
|
|
685
|
+
transformOrigin?: ResponsiveProp<Property.TransformOrigin>;
|
|
686
|
+
/**
|
|
687
|
+
* Sets the `transform-style` property.
|
|
688
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/transform-style}
|
|
689
|
+
*/
|
|
690
|
+
transformStyle?: ResponsiveProp<Property.TransformStyle>;
|
|
691
|
+
/**
|
|
692
|
+
* Sets the `transition` property.
|
|
693
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/transition}
|
|
694
|
+
*/
|
|
695
|
+
transition?: ResponsiveProp<Property.Transition>;
|
|
696
|
+
/**
|
|
697
|
+
* Sets the `background-color` property.
|
|
698
|
+
*
|
|
699
|
+
* If you want to use a **token value** from the **SCALE**, use the **`backgroundColor`** property instead.
|
|
700
|
+
*
|
|
701
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
702
|
+
*/
|
|
703
|
+
UNSAFE_backgroundColor?: ResponsiveProp<UNSAFE_BackgroundColorValue>;
|
|
704
|
+
/**
|
|
705
|
+
* Sets the `background-color` property when active.
|
|
706
|
+
*
|
|
707
|
+
* If you want to use a **token value** from the **SCALE**, use the **`backgroundColorActive`** property instead.
|
|
708
|
+
*
|
|
709
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
710
|
+
*/
|
|
711
|
+
UNSAFE_backgroundColorActive?: ResponsiveProp<UNSAFE_BackgroundColorValue>;
|
|
712
|
+
/**
|
|
713
|
+
* Sets the `background-color` property when focused.
|
|
714
|
+
*
|
|
715
|
+
* If you want to use a **token value** from the **SCALE**, use the **`backgroundColorFocus`** property instead.
|
|
716
|
+
*
|
|
717
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
718
|
+
*/
|
|
719
|
+
UNSAFE_backgroundColorFocus?: ResponsiveProp<UNSAFE_BackgroundColorValue>;
|
|
720
|
+
/**
|
|
721
|
+
* Sets the `background-color` property when hovered.
|
|
722
|
+
*
|
|
723
|
+
* If you want to use a **token value** from the **SCALE**, use the **`backgroundColorHover`** property instead.
|
|
724
|
+
*
|
|
725
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
726
|
+
*/
|
|
727
|
+
UNSAFE_backgroundColorHover?: ResponsiveProp<UNSAFE_BackgroundColorValue>;
|
|
728
|
+
/**
|
|
729
|
+
* Sets the `border` property.
|
|
730
|
+
*
|
|
731
|
+
* If you want to use a **token value** from the **SCALE**, use the **`border`** property instead.
|
|
732
|
+
*
|
|
733
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
734
|
+
*/
|
|
735
|
+
UNSAFE_border?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
736
|
+
/**
|
|
737
|
+
* Sets the `border` property when active.
|
|
738
|
+
*
|
|
739
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderActive`** property instead.
|
|
740
|
+
*
|
|
741
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
742
|
+
*/
|
|
743
|
+
UNSAFE_borderActive?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
744
|
+
/**
|
|
745
|
+
* Sets the `border-bottom` property.
|
|
746
|
+
*
|
|
747
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottom`** property instead.
|
|
748
|
+
*
|
|
749
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
750
|
+
*/
|
|
751
|
+
UNSAFE_borderBottom?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
752
|
+
/**
|
|
753
|
+
* Sets the `border-bottom` property when active.
|
|
754
|
+
*
|
|
755
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottomActive`** property instead.
|
|
756
|
+
*
|
|
757
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
758
|
+
*/
|
|
759
|
+
UNSAFE_borderBottomActive?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
760
|
+
/**
|
|
761
|
+
* Sets the `border-bottom` property when focused.
|
|
762
|
+
*
|
|
763
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottomFocus`** property instead.
|
|
764
|
+
*
|
|
765
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
766
|
+
*/
|
|
767
|
+
UNSAFE_borderBottomFocus?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
768
|
+
/**
|
|
769
|
+
* Sets the `border-bottom` property when hovered.
|
|
770
|
+
*
|
|
771
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottomHover`** property instead.
|
|
772
|
+
*
|
|
773
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
774
|
+
*/
|
|
775
|
+
UNSAFE_borderBottomHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
776
|
+
/**
|
|
777
|
+
* Sets the `border-bottom-left-radius` property.
|
|
778
|
+
*
|
|
779
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottomLeftRadius`** property instead.
|
|
780
|
+
*
|
|
781
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
782
|
+
*/
|
|
783
|
+
UNSAFE_borderBottomLeftRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
784
|
+
/**
|
|
785
|
+
* Sets the `border-bottom-right-radius` property.
|
|
786
|
+
*
|
|
787
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderBottomRightRadius`** property instead.
|
|
788
|
+
*
|
|
789
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
790
|
+
*/
|
|
791
|
+
UNSAFE_borderBottomRightRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
792
|
+
/**
|
|
793
|
+
* Sets the `border` property when focused.
|
|
794
|
+
*
|
|
795
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderFocus`** property instead.
|
|
796
|
+
*
|
|
797
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
798
|
+
*/
|
|
799
|
+
UNSAFE_borderFocus?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
800
|
+
/**
|
|
801
|
+
* Sets the `border` property when hovered.
|
|
802
|
+
*
|
|
803
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderHover`** property instead.
|
|
804
|
+
*
|
|
805
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
806
|
+
*/
|
|
807
|
+
UNSAFE_borderHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
808
|
+
/**
|
|
809
|
+
* Sets the `border-left` property.
|
|
810
|
+
*
|
|
811
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderLeft`** property instead.
|
|
812
|
+
*
|
|
813
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
814
|
+
*/
|
|
815
|
+
UNSAFE_borderLeft?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
816
|
+
/**
|
|
817
|
+
* Sets the `border-left` property when active.
|
|
818
|
+
*
|
|
819
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderLeftActive`** property instead.
|
|
820
|
+
*
|
|
821
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
822
|
+
*/
|
|
823
|
+
UNSAFE_borderLeftActive?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
824
|
+
/**
|
|
825
|
+
* Sets the `border-left` property when focused.
|
|
826
|
+
*
|
|
827
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderLeftFocus`** property instead.
|
|
828
|
+
*
|
|
829
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
830
|
+
*/
|
|
831
|
+
UNSAFE_borderLeftFocus?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
832
|
+
/**
|
|
833
|
+
* Sets the `border-left` property when hovered.
|
|
834
|
+
*
|
|
835
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderLeftHover`** property instead.
|
|
836
|
+
*
|
|
837
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
838
|
+
*/
|
|
839
|
+
UNSAFE_borderLeftHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
840
|
+
/**
|
|
841
|
+
* Sets the `border-radius` property.
|
|
842
|
+
*
|
|
843
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderRadius`** property instead.
|
|
844
|
+
*
|
|
845
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
846
|
+
*/
|
|
847
|
+
UNSAFE_borderRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
848
|
+
/**
|
|
849
|
+
* Sets the `border-right` property.
|
|
850
|
+
*
|
|
851
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderRight`** property instead.
|
|
852
|
+
*
|
|
853
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
854
|
+
*/
|
|
855
|
+
UNSAFE_borderRight?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
856
|
+
/**
|
|
857
|
+
* Sets the `border-right` property when active.
|
|
858
|
+
*
|
|
859
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderRightActive`** property instead.
|
|
860
|
+
*
|
|
861
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
862
|
+
*/
|
|
863
|
+
UNSAFE_borderRightActive?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
864
|
+
/**
|
|
865
|
+
* Sets the `border-right` property when focused.
|
|
866
|
+
*
|
|
867
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderRightFocus`** property instead.
|
|
868
|
+
*
|
|
869
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
870
|
+
*/
|
|
871
|
+
UNSAFE_borderRightFocus?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
872
|
+
/**
|
|
873
|
+
* Sets the `border-right` property when hovered.
|
|
874
|
+
*
|
|
875
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderRightHover`** property instead.
|
|
876
|
+
*
|
|
877
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
878
|
+
*/
|
|
879
|
+
UNSAFE_borderRightHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
880
|
+
/**
|
|
881
|
+
* Sets the `border-top` property.
|
|
882
|
+
*
|
|
883
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTop`** property instead.
|
|
884
|
+
*
|
|
885
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
886
|
+
*/
|
|
887
|
+
UNSAFE_borderTop?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
888
|
+
/**
|
|
889
|
+
* Sets the `border-top` property when active.
|
|
890
|
+
*
|
|
891
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTopActive`** property instead.
|
|
892
|
+
*
|
|
893
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
894
|
+
*/
|
|
895
|
+
UNSAFE_borderTopActive?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
896
|
+
/**
|
|
897
|
+
* Sets the `border-top` property when focused.
|
|
898
|
+
*
|
|
899
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTopFocus`** property instead.
|
|
900
|
+
*
|
|
901
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
902
|
+
*/
|
|
903
|
+
UNSAFE_borderTopFocus?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
904
|
+
/**
|
|
905
|
+
* Sets the `border-top` property when hovered.
|
|
906
|
+
*
|
|
907
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTopHover`** property instead.
|
|
908
|
+
*
|
|
909
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
910
|
+
*/
|
|
911
|
+
UNSAFE_borderTopHover?: ResponsiveProp<UNSAFE_BorderValue>;
|
|
912
|
+
/**
|
|
913
|
+
* Sets the `border-top-left-radius` property when hovered.
|
|
914
|
+
*
|
|
915
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTopLeftRadius`** property instead.
|
|
916
|
+
*
|
|
917
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
918
|
+
*/
|
|
919
|
+
UNSAFE_borderTopLeftRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
920
|
+
/**
|
|
921
|
+
* Sets the `border-top-right-radius` property when hovered.
|
|
922
|
+
*
|
|
923
|
+
* If you want to use a **token value** from the **SCALE**, use the **`borderTopRightRadius`** property instead.
|
|
924
|
+
*
|
|
925
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
926
|
+
*/
|
|
927
|
+
UNSAFE_borderTopRightRadius?: ResponsiveProp<UNSAFE_BorderRadiusValue>;
|
|
928
|
+
/**
|
|
929
|
+
* Sets the `box-shadow` property.
|
|
930
|
+
*
|
|
931
|
+
* If you want to use a **token value** from the **SCALE**, use the **`boxShadow`** property instead.
|
|
932
|
+
*
|
|
933
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
934
|
+
*/
|
|
935
|
+
UNSAFE_boxShadow?: ResponsiveProp<UNSAFE_BoxShadowValue>;
|
|
936
|
+
/**
|
|
937
|
+
* Sets the `color` property.
|
|
938
|
+
*
|
|
939
|
+
* If you want to use a **token value** from the **SCALE**, use the **`color`** 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_color?: ResponsiveProp<UNSAFE_ColorValue>;
|
|
944
|
+
/**
|
|
945
|
+
* Sets the `column-gap` property.
|
|
946
|
+
*
|
|
947
|
+
* If you want to use a **token value** from the **SCALE**, use the **`columnGap`** 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_columnGap?: ResponsiveProp<UNSAFE_GapValue>;
|
|
952
|
+
/**
|
|
953
|
+
* Sets the `fill` property.
|
|
954
|
+
*
|
|
955
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fill`** 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_fill?: ResponsiveProp<UNSAFE_FillValue>;
|
|
960
|
+
/**
|
|
961
|
+
* Sets the `font-family` property.
|
|
962
|
+
*
|
|
963
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fontFamily`** property instead.
|
|
964
|
+
*
|
|
965
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
966
|
+
*/
|
|
967
|
+
UNSAFE_fontFamily?: ResponsiveProp<UNSAFE_FontFamilyValue>;
|
|
968
|
+
/**
|
|
969
|
+
* Sets the `font-size` property.
|
|
970
|
+
*
|
|
971
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fontSize`** 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_fontSize?: ResponsiveProp<UNSAFE_FontSizeValue>;
|
|
976
|
+
/**
|
|
977
|
+
* Sets the `font-weight` property.
|
|
978
|
+
*
|
|
979
|
+
* If you want to use a **token value** from the **SCALE**, use the **`fontWeight`** 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_fontWeight?: ResponsiveProp<UNSAFE_FontWeightValue>;
|
|
984
|
+
/**
|
|
985
|
+
* Sets the `gap` property.
|
|
986
|
+
*
|
|
987
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gap`** 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_gap?: ResponsiveProp<UNSAFE_GapValue>;
|
|
992
|
+
/**
|
|
993
|
+
* Sets the `grid-auto-columns` property.
|
|
994
|
+
*
|
|
995
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridAutoColumns`** property instead.
|
|
996
|
+
*
|
|
997
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
998
|
+
*/
|
|
999
|
+
UNSAFE_gridAutoColumns?: ResponsiveProp<UNSAFE_GridAutoColumnsValue>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Sets the `grid-auto-rows` property.
|
|
1002
|
+
*
|
|
1003
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridAutoRows`** property instead.
|
|
1004
|
+
*
|
|
1005
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1006
|
+
*/
|
|
1007
|
+
UNSAFE_gridAutoRows?: ResponsiveProp<UNSAFE_GridAutoRowsValue>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Sets the `grid-template-columns` property.
|
|
1010
|
+
*
|
|
1011
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridTemplateColumns`** 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_gridTemplateColumns?: ResponsiveProp<UNSAFE_GridTemplateColumnsValue>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Sets the `grid-template-rows` property.
|
|
1018
|
+
*
|
|
1019
|
+
* If you want to use a **token value** from the **SCALE**, use the **`gridTemplateRows`** 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_gridTemplateRows?: ResponsiveProp<UNSAFE_GridTemplateRowsValue>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Sets the `height` property.
|
|
1026
|
+
*
|
|
1027
|
+
* If you want to use a **token value** from the **SCALE**, use the **`height`** property instead.
|
|
1028
|
+
*
|
|
1029
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1030
|
+
*/
|
|
1031
|
+
UNSAFE_height?: ResponsiveProp<UNSAFE_HeightValue>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Sets the `line-height` property.
|
|
1034
|
+
*
|
|
1035
|
+
* If you want to use a **token value** from the **SCALE**, use the **`lineHeight`** property instead.
|
|
1036
|
+
*
|
|
1037
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1038
|
+
*/
|
|
1039
|
+
UNSAFE_lineHeight?: ResponsiveProp<UNSAFE_LineHeightValue>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Sets the `margin` property.
|
|
1042
|
+
*
|
|
1043
|
+
* If you want to use a **token value** from the **SCALE**, use the **`margin`** property instead.
|
|
1044
|
+
*
|
|
1045
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1046
|
+
*/
|
|
1047
|
+
UNSAFE_margin?: ResponsiveProp<UNSAFE_ComplexMarginValue>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Sets the `margin-bottom` property.
|
|
1050
|
+
*
|
|
1051
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginBottom`** property instead.
|
|
1052
|
+
*
|
|
1053
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1054
|
+
*/
|
|
1055
|
+
UNSAFE_marginBottom?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Sets the `margin-left` property.
|
|
1058
|
+
*
|
|
1059
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginLeft`** property instead.
|
|
1060
|
+
*
|
|
1061
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1062
|
+
*/
|
|
1063
|
+
UNSAFE_marginLeft?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Sets the `margin-right` property.
|
|
1066
|
+
*
|
|
1067
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginRight`** property instead.
|
|
1068
|
+
*
|
|
1069
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1070
|
+
*/
|
|
1071
|
+
UNSAFE_marginRight?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Sets the `margin-top` property.
|
|
1074
|
+
*
|
|
1075
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginTop`** 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_marginTop?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Sets the horizontal margin (`margin-left` and `margin-right`) property.
|
|
1082
|
+
*
|
|
1083
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginX`** 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_marginX?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Sets the vertical margin (`margin-top` and `margin-bottom`) property.
|
|
1090
|
+
*
|
|
1091
|
+
* If you want to use a **token value** from the **SCALE**, use the **`marginY`** property instead.
|
|
1092
|
+
*
|
|
1093
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1094
|
+
*/
|
|
1095
|
+
UNSAFE_marginY?: ResponsiveProp<UNSAFE_SimpleMarginValue>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Sets the `max-height` property.
|
|
1098
|
+
*
|
|
1099
|
+
* If you want to use a **token value** from the **SCALE**, use the **`maxHeight`** property instead.
|
|
1100
|
+
*
|
|
1101
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1102
|
+
*/
|
|
1103
|
+
UNSAFE_maxHeight?: ResponsiveProp<UNSAFE_HeightValue>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Sets the `max-width` property.
|
|
1106
|
+
*
|
|
1107
|
+
* If you want to use a **token value** from the **SCALE**, use the **`maxWidth`** property instead.
|
|
1108
|
+
*
|
|
1109
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1110
|
+
*/
|
|
1111
|
+
UNSAFE_maxWidth?: ResponsiveProp<UNSAFE_WidthValue>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Sets the `min-height` property.
|
|
1114
|
+
*
|
|
1115
|
+
* If you want to use a **token value** from the **SCALE**, use the **`minHeight`** property instead.
|
|
1116
|
+
*
|
|
1117
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1118
|
+
*/
|
|
1119
|
+
UNSAFE_minHeight?: ResponsiveProp<UNSAFE_HeightValue>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Sets the `min-width` property.
|
|
1122
|
+
*
|
|
1123
|
+
* If you want to use a **token value** from the **SCALE**, use the **`minWidth`** property instead.
|
|
1124
|
+
*
|
|
1125
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1126
|
+
*/
|
|
1127
|
+
UNSAFE_minWidth?: ResponsiveProp<UNSAFE_WidthValue>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Sets the `padding` property.
|
|
1130
|
+
*
|
|
1131
|
+
* If you want to use a **token value** from the **SCALE**, use the **`padding`** property instead.
|
|
1132
|
+
*
|
|
1133
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1134
|
+
*/
|
|
1135
|
+
UNSAFE_padding?: ResponsiveProp<UNSAFE_ComplexPaddingValue>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Sets the `padding-bottom` property.
|
|
1138
|
+
*
|
|
1139
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingBottom`** property instead.
|
|
1140
|
+
*
|
|
1141
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1142
|
+
*/
|
|
1143
|
+
UNSAFE_paddingBottom?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Sets the `padding-left` property.
|
|
1146
|
+
*
|
|
1147
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingLeft`** property instead.
|
|
1148
|
+
*
|
|
1149
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1150
|
+
*/
|
|
1151
|
+
UNSAFE_paddingLeft?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Sets the `padding-right` property.
|
|
1154
|
+
*
|
|
1155
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingRight`** property instead.
|
|
1156
|
+
*
|
|
1157
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1158
|
+
*/
|
|
1159
|
+
UNSAFE_paddingRight?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Sets the `padding-top` property.
|
|
1162
|
+
*
|
|
1163
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingTop`** property instead.
|
|
1164
|
+
*
|
|
1165
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1166
|
+
*/
|
|
1167
|
+
UNSAFE_paddingTop?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Sets the horizontal padding (`padding-left` and `padding-right`) property.
|
|
1170
|
+
*
|
|
1171
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingX`** property instead.
|
|
1172
|
+
*
|
|
1173
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1174
|
+
*/
|
|
1175
|
+
UNSAFE_paddingX?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Sets the vertical padding (`padding-top` and `padding-bottom`) property.
|
|
1178
|
+
*
|
|
1179
|
+
* If you want to use a **token value** from the **SCALE**, use the **`paddingY`** property instead.
|
|
1180
|
+
*
|
|
1181
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1182
|
+
*/
|
|
1183
|
+
UNSAFE_paddingY?: ResponsiveProp<UNSAFE_SimplePaddingValue>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Sets the `row-gap` property.
|
|
1186
|
+
*
|
|
1187
|
+
* If you want to use a **token value** from the **SCALE**, use the **`rowGap`** property instead.
|
|
1188
|
+
*
|
|
1189
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1190
|
+
*/
|
|
1191
|
+
UNSAFE_rowGap?: ResponsiveProp<UNSAFE_RowGapValue>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Sets the `stroke` property.
|
|
1194
|
+
*
|
|
1195
|
+
* If you want to use a **token value** from the **SCALE**, use the **`stroke`** property instead.
|
|
1196
|
+
*
|
|
1197
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1198
|
+
*/
|
|
1199
|
+
UNSAFE_stroke?: ResponsiveProp<UNSAFE_StrokeValue>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Sets the `width` property.
|
|
1202
|
+
*
|
|
1203
|
+
* If you want to use a **token value** from the **SCALE**, use the **`width`** property instead.
|
|
1204
|
+
*
|
|
1205
|
+
* This property is marked as **UNSAFE** because you're opting out of the intended values of the design system.
|
|
1206
|
+
*/
|
|
1207
|
+
UNSAFE_width?: ResponsiveProp<UNSAFE_WidthValue>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Sets the `vertical-align` property.
|
|
1210
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/vertical-align}
|
|
1211
|
+
*/
|
|
1212
|
+
verticalAlign?: ResponsiveProp<Property.VerticalAlign>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Sets the `visibility` property.
|
|
1215
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/visibility}
|
|
1216
|
+
*/
|
|
1217
|
+
visibility?: ResponsiveProp<Property.Visibility>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Sets the `white-space` property.
|
|
1220
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/white-space}
|
|
1221
|
+
*/
|
|
1222
|
+
whiteSpace?: ResponsiveProp<Property.WhiteSpace>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Sets the `width` property.
|
|
1225
|
+
* This property only accept **token values** from the **SCALE**. To specify any other values, use the **`UNSAFE_width`** property
|
|
1226
|
+
*/
|
|
1227
|
+
width?: ResponsiveProp<WidthValue>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Sets the `will-change` property.
|
|
1230
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/will-change}
|
|
1231
|
+
*/
|
|
1232
|
+
willChange?: ResponsiveProp<Property.WillChange>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Sets the `word-break` property.
|
|
1235
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/word-break}
|
|
1236
|
+
*/
|
|
1237
|
+
wordBreak?: ResponsiveProp<Property.WordBreak>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Sets the `z-index` property.
|
|
1240
|
+
* @see {@link https://developer.mozilla.org/docs/Web/CSS/z-index}
|
|
1241
|
+
*/
|
|
1242
|
+
zIndex?: ResponsiveProp<Property.ZIndex>;
|
|
1243
|
+
}
|
|
1244
|
+
type StyledComponentProps<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<unknown>> = Omit<ComponentProps<T>, keyof StyledSystemProps> & StyledSystemProps;
|
|
1245
|
+
|
|
1246
|
+
export { StyledComponentProps, StyledSystemProps, UnsafePrefix };
|