@okshaun/components 0.5.8 → 1.0.1
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/README.md +22 -26
- package/dist/.mcp.json +11 -0
- package/dist/index.d.ts +3 -1268
- package/dist/index.js +1231 -957
- package/dist/index.js.map +1 -1
- package/dist/okshaun-logo-white.svg +11 -0
- package/dist/okshaun-logo.svg +11 -0
- package/dist/preset-BzrKiUEH.js +8452 -0
- package/dist/preset-BzrKiUEH.js.map +1 -0
- package/dist/preset.js +3 -7234
- package/dist/preset.js.map +1 -1
- package/dist/specs/animation-styles.json +4 -0
- package/dist/specs/color-palette.json +98 -0
- package/dist/specs/conditions.json +1901 -0
- package/dist/specs/keyframes.json +137 -0
- package/dist/specs/layer-styles.json +23 -0
- package/dist/specs/patterns.json +475 -0
- package/dist/specs/recipes.json +907 -0
- package/dist/specs/semantic-tokens.json +2837 -0
- package/dist/specs/text-styles.json +149 -0
- package/dist/specs/tokens.json +2750 -0
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +14 -14
- package/dist/styles/global.css +148 -0
- package/dist/styles/recipes/avatar.css +185 -0
- package/dist/styles/recipes/badge.css +85 -0
- package/dist/styles/recipes/breadcrumbs.css +38 -0
- package/dist/styles/recipes/button.css +195 -0
- package/dist/styles/recipes/card.css +57 -0
- package/dist/styles/recipes/checkbox-input.css +12 -0
- package/dist/styles/recipes/checkbox.css +90 -0
- package/dist/styles/recipes/chip.css +137 -0
- package/dist/styles/recipes/code.css +12 -0
- package/dist/styles/recipes/divider.css +43 -0
- package/dist/styles/recipes/form-field.css +39 -0
- package/dist/styles/recipes/heading.css +40 -0
- package/dist/styles/recipes/icon-button.css +181 -0
- package/dist/styles/recipes/label.css +14 -0
- package/dist/styles/recipes/link.css +49 -0
- package/dist/styles/recipes/menu.css +141 -0
- package/dist/styles/recipes/modal.css +99 -0
- package/dist/styles/recipes/pre.css +16 -0
- package/dist/styles/recipes/radio-input.css +7 -0
- package/dist/styles/recipes/radio.css +82 -0
- package/dist/styles/recipes/select.css +103 -0
- package/dist/styles/recipes/spinner.css +36 -0
- package/dist/styles/recipes/tag.css +27 -0
- package/dist/styles/recipes/text.css +46 -0
- package/dist/styles/recipes/textarea.css +91 -0
- package/dist/styles/recipes/textinput.css +87 -0
- package/dist/styles/recipes/theme-switcher.css +53 -0
- package/dist/styles/recipes/toggle-input.css +12 -0
- package/dist/styles/recipes/toggle.css +125 -0
- package/dist/styles/recipes/tooltip.css +133 -0
- package/dist/styles/recipes.css +30 -0
- package/dist/styles/reset.css +1 -0
- package/dist/styles/tokens.css +1016 -0
- package/dist/styles/utilities.css +1694 -0
- package/dist/styles.css +7 -0
- package/dist/svgs/building.svg +1 -0
- package/dist/types/index.d.ts +21626 -0
- package/dist/types/preset.d.ts +19 -0
- package/package.json +37 -35
- package/src/recipes/avatar.ts +205 -0
- package/src/recipes/badge.ts +203 -0
- package/src/recipes/box.ts +13 -0
- package/src/recipes/breadcrumbs.ts +29 -0
- package/src/recipes/button.ts +319 -0
- package/src/recipes/card.ts +148 -0
- package/src/recipes/checkbox.ts +87 -0
- package/src/recipes/checkboxinput.ts +15 -0
- package/src/recipes/chip.ts +189 -0
- package/src/recipes/code.ts +35 -0
- package/src/recipes/divider.ts +41 -0
- package/src/recipes/formField.ts +60 -0
- package/src/recipes/index.ts +28 -0
- package/src/recipes/menu.ts +205 -0
- package/src/recipes/modal.ts +120 -0
- package/src/recipes/radio.ts +71 -0
- package/src/recipes/radioinput.ts +12 -0
- package/src/recipes/select.ts +142 -0
- package/src/recipes/spinner.ts +52 -0
- package/src/recipes/tag.ts +262 -0
- package/src/recipes/text.ts +193 -0
- package/src/recipes/textarea.ts +153 -0
- package/src/recipes/textinput.ts +100 -0
- package/src/recipes/themeSwitcher.ts +48 -0
- package/src/recipes/toggle.ts +116 -0
- package/src/recipes/toggleinput.ts +16 -0
- package/src/recipes/tooltip.ts +359 -0
- package/src/styles/index.css +1 -0
- package/src/styles/primitives/animations.ts +16 -0
- package/src/styles/primitives/aspectRatios.ts +22 -0
- package/src/styles/primitives/blurs.ts +25 -0
- package/src/styles/primitives/borderWidths.ts +10 -0
- package/src/styles/primitives/borders.ts +36 -0
- package/src/styles/primitives/colors.ts +228 -0
- package/src/styles/primitives/durations.ts +25 -0
- package/src/styles/primitives/easings.ts +19 -0
- package/src/styles/primitives/fontSizes.ts +16 -0
- package/src/styles/primitives/fontWeights.ts +9 -0
- package/src/styles/primitives/fonts.ts +18 -0
- package/src/styles/primitives/index.ts +46 -0
- package/src/styles/primitives/letterSpacings.ts +22 -0
- package/src/styles/primitives/lineHeights.ts +16 -0
- package/src/styles/primitives/radii.ts +14 -0
- package/src/styles/primitives/shadows.ts +73 -0
- package/src/styles/primitives/sizes.ts +86 -0
- package/src/styles/primitives/spacings.ts +7 -0
- package/src/styles/semantics/colors.ts +774 -0
- package/src/styles/semantics/index.ts +2 -0
- package/src/styles/semantics/shadows.ts +32 -0
- package/src/styles/utilities/breakpoints.ts +8 -0
- package/src/styles/utilities/conditions.ts +140 -0
- package/src/styles/utilities/containerSizes.ts +17 -0
- package/src/styles/utilities/filters.ts +12 -0
- package/src/styles/utilities/globalStyle.ts +93 -0
- package/src/styles/utilities/index.ts +9 -0
- package/src/styles/utilities/keyframes.ts +89 -0
- package/src/styles/utilities/layerStyles.ts +18 -0
- package/src/styles/utilities/textStyles.ts +135 -0
- package/src/styles/utilities/transitions.ts +92 -0
- package/src/utils/injectSprite.ts +36 -0
- package/src/utils/splitProps.ts +19 -0
- package/src/utils/spriteContent.ts +4 -0
- package/dist/panda.buildinfo.json +0 -448
- package/dist/preset.d.ts +0 -5
- package/dist/transitions-DUgH88VW.js +0 -1041
- package/dist/transitions-DUgH88VW.js.map +0 -1
|
@@ -0,0 +1,1901 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "conditions",
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"name": "_hover",
|
|
6
|
+
"value": "&:is(:hover, [data-hover=true])",
|
|
7
|
+
"functionExamples": [
|
|
8
|
+
"css({ margin: { base: '2', _hover: '4' } })",
|
|
9
|
+
"css({ margin: '2', _hover: { margin: '4' } })"
|
|
10
|
+
],
|
|
11
|
+
"jsxExamples": [
|
|
12
|
+
"<Box margin={{ base: '2', _hover: '4' }} />",
|
|
13
|
+
"<Box margin=\"2\" _hover={{ margin: '4' }} />"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "_focus",
|
|
18
|
+
"value": "&:is(:focus, [data-focus=true])",
|
|
19
|
+
"functionExamples": [
|
|
20
|
+
"css({ margin: { base: '2', _focus: '4' } })",
|
|
21
|
+
"css({ margin: '2', _focus: { margin: '4' } })"
|
|
22
|
+
],
|
|
23
|
+
"jsxExamples": [
|
|
24
|
+
"<Box margin={{ base: '2', _focus: '4' }} />",
|
|
25
|
+
"<Box margin=\"2\" _focus={{ margin: '4' }} />"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "_focusWithin",
|
|
30
|
+
"value": "&:focus-within",
|
|
31
|
+
"functionExamples": [
|
|
32
|
+
"css({ margin: { base: '2', _focusWithin: '4' } })",
|
|
33
|
+
"css({ margin: '2', _focusWithin: { margin: '4' } })"
|
|
34
|
+
],
|
|
35
|
+
"jsxExamples": [
|
|
36
|
+
"<Box margin={{ base: '2', _focusWithin: '4' }} />",
|
|
37
|
+
"<Box margin=\"2\" _focusWithin={{ margin: '4' }} />"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "_focusVisible",
|
|
42
|
+
"value": "&:is(:focus-visible, [data-focus-visible=true])",
|
|
43
|
+
"functionExamples": [
|
|
44
|
+
"css({ margin: { base: '2', _focusVisible: '4' } })",
|
|
45
|
+
"css({ margin: '2', _focusVisible: { margin: '4' } })"
|
|
46
|
+
],
|
|
47
|
+
"jsxExamples": [
|
|
48
|
+
"<Box margin={{ base: '2', _focusVisible: '4' }} />",
|
|
49
|
+
"<Box margin=\"2\" _focusVisible={{ margin: '4' }} />"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "_disabled",
|
|
54
|
+
"value": "&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",
|
|
55
|
+
"functionExamples": [
|
|
56
|
+
"css({ margin: { base: '2', _disabled: '4' } })",
|
|
57
|
+
"css({ margin: '2', _disabled: { margin: '4' } })"
|
|
58
|
+
],
|
|
59
|
+
"jsxExamples": [
|
|
60
|
+
"<Box margin={{ base: '2', _disabled: '4' }} />",
|
|
61
|
+
"<Box margin=\"2\" _disabled={{ margin: '4' }} />"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "_active",
|
|
66
|
+
"value": "&:is(:active, [data-active=true])",
|
|
67
|
+
"functionExamples": [
|
|
68
|
+
"css({ margin: { base: '2', _active: '4' } })",
|
|
69
|
+
"css({ margin: '2', _active: { margin: '4' } })"
|
|
70
|
+
],
|
|
71
|
+
"jsxExamples": [
|
|
72
|
+
"<Box margin={{ base: '2', _active: '4' }} />",
|
|
73
|
+
"<Box margin=\"2\" _active={{ margin: '4' }} />"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "_visited",
|
|
78
|
+
"value": "&:visited",
|
|
79
|
+
"functionExamples": [
|
|
80
|
+
"css({ margin: { base: '2', _visited: '4' } })",
|
|
81
|
+
"css({ margin: '2', _visited: { margin: '4' } })"
|
|
82
|
+
],
|
|
83
|
+
"jsxExamples": [
|
|
84
|
+
"<Box margin={{ base: '2', _visited: '4' }} />",
|
|
85
|
+
"<Box margin=\"2\" _visited={{ margin: '4' }} />"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "_target",
|
|
90
|
+
"value": "&:target",
|
|
91
|
+
"functionExamples": [
|
|
92
|
+
"css({ margin: { base: '2', _target: '4' } })",
|
|
93
|
+
"css({ margin: '2', _target: { margin: '4' } })"
|
|
94
|
+
],
|
|
95
|
+
"jsxExamples": [
|
|
96
|
+
"<Box margin={{ base: '2', _target: '4' }} />",
|
|
97
|
+
"<Box margin=\"2\" _target={{ margin: '4' }} />"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "_readOnly",
|
|
102
|
+
"value": "&:is(:read-only, [data-read-only], [aria-readonly=true])",
|
|
103
|
+
"functionExamples": [
|
|
104
|
+
"css({ margin: { base: '2', _readOnly: '4' } })",
|
|
105
|
+
"css({ margin: '2', _readOnly: { margin: '4' } })"
|
|
106
|
+
],
|
|
107
|
+
"jsxExamples": [
|
|
108
|
+
"<Box margin={{ base: '2', _readOnly: '4' }} />",
|
|
109
|
+
"<Box margin=\"2\" _readOnly={{ margin: '4' }} />"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "_readWrite",
|
|
114
|
+
"value": "&:read-write",
|
|
115
|
+
"functionExamples": [
|
|
116
|
+
"css({ margin: { base: '2', _readWrite: '4' } })",
|
|
117
|
+
"css({ margin: '2', _readWrite: { margin: '4' } })"
|
|
118
|
+
],
|
|
119
|
+
"jsxExamples": [
|
|
120
|
+
"<Box margin={{ base: '2', _readWrite: '4' }} />",
|
|
121
|
+
"<Box margin=\"2\" _readWrite={{ margin: '4' }} />"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "_empty",
|
|
126
|
+
"value": "&:is(:empty, [data-empty])",
|
|
127
|
+
"functionExamples": [
|
|
128
|
+
"css({ margin: { base: '2', _empty: '4' } })",
|
|
129
|
+
"css({ margin: '2', _empty: { margin: '4' } })"
|
|
130
|
+
],
|
|
131
|
+
"jsxExamples": [
|
|
132
|
+
"<Box margin={{ base: '2', _empty: '4' }} />",
|
|
133
|
+
"<Box margin=\"2\" _empty={{ margin: '4' }} />"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "_checked",
|
|
138
|
+
"value": "&:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"])",
|
|
139
|
+
"functionExamples": [
|
|
140
|
+
"css({ margin: { base: '2', _checked: '4' } })",
|
|
141
|
+
"css({ margin: '2', _checked: { margin: '4' } })"
|
|
142
|
+
],
|
|
143
|
+
"jsxExamples": [
|
|
144
|
+
"<Box margin={{ base: '2', _checked: '4' }} />",
|
|
145
|
+
"<Box margin=\"2\" _checked={{ margin: '4' }} />"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "_enabled",
|
|
150
|
+
"value": "&:enabled",
|
|
151
|
+
"functionExamples": [
|
|
152
|
+
"css({ margin: { base: '2', _enabled: '4' } })",
|
|
153
|
+
"css({ margin: '2', _enabled: { margin: '4' } })"
|
|
154
|
+
],
|
|
155
|
+
"jsxExamples": [
|
|
156
|
+
"<Box margin={{ base: '2', _enabled: '4' }} />",
|
|
157
|
+
"<Box margin=\"2\" _enabled={{ margin: '4' }} />"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "_expanded",
|
|
162
|
+
"value": "&:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"])",
|
|
163
|
+
"functionExamples": [
|
|
164
|
+
"css({ margin: { base: '2', _expanded: '4' } })",
|
|
165
|
+
"css({ margin: '2', _expanded: { margin: '4' } })"
|
|
166
|
+
],
|
|
167
|
+
"jsxExamples": [
|
|
168
|
+
"<Box margin={{ base: '2', _expanded: '4' }} />",
|
|
169
|
+
"<Box margin=\"2\" _expanded={{ margin: '4' }} />"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "_highlighted",
|
|
174
|
+
"value": "&[data-highlighted]",
|
|
175
|
+
"functionExamples": [
|
|
176
|
+
"css({ margin: { base: '2', _highlighted: '4' } })",
|
|
177
|
+
"css({ margin: '2', _highlighted: { margin: '4' } })"
|
|
178
|
+
],
|
|
179
|
+
"jsxExamples": [
|
|
180
|
+
"<Box margin={{ base: '2', _highlighted: '4' }} />",
|
|
181
|
+
"<Box margin=\"2\" _highlighted={{ margin: '4' }} />"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "_complete",
|
|
186
|
+
"value": "&[data-complete]",
|
|
187
|
+
"functionExamples": [
|
|
188
|
+
"css({ margin: { base: '2', _complete: '4' } })",
|
|
189
|
+
"css({ margin: '2', _complete: { margin: '4' } })"
|
|
190
|
+
],
|
|
191
|
+
"jsxExamples": [
|
|
192
|
+
"<Box margin={{ base: '2', _complete: '4' }} />",
|
|
193
|
+
"<Box margin=\"2\" _complete={{ margin: '4' }} />"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "_incomplete",
|
|
198
|
+
"value": "&[data-incomplete]",
|
|
199
|
+
"functionExamples": [
|
|
200
|
+
"css({ margin: { base: '2', _incomplete: '4' } })",
|
|
201
|
+
"css({ margin: '2', _incomplete: { margin: '4' } })"
|
|
202
|
+
],
|
|
203
|
+
"jsxExamples": [
|
|
204
|
+
"<Box margin={{ base: '2', _incomplete: '4' }} />",
|
|
205
|
+
"<Box margin=\"2\" _incomplete={{ margin: '4' }} />"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "_dragging",
|
|
210
|
+
"value": "&[data-dragging]",
|
|
211
|
+
"functionExamples": [
|
|
212
|
+
"css({ margin: { base: '2', _dragging: '4' } })",
|
|
213
|
+
"css({ margin: '2', _dragging: { margin: '4' } })"
|
|
214
|
+
],
|
|
215
|
+
"jsxExamples": [
|
|
216
|
+
"<Box margin={{ base: '2', _dragging: '4' }} />",
|
|
217
|
+
"<Box margin=\"2\" _dragging={{ margin: '4' }} />"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "_before",
|
|
222
|
+
"value": "&::before",
|
|
223
|
+
"functionExamples": [
|
|
224
|
+
"css({ margin: { base: '2', _before: '4' } })",
|
|
225
|
+
"css({ margin: '2', _before: { margin: '4' } })"
|
|
226
|
+
],
|
|
227
|
+
"jsxExamples": [
|
|
228
|
+
"<Box margin={{ base: '2', _before: '4' }} />",
|
|
229
|
+
"<Box margin=\"2\" _before={{ margin: '4' }} />"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "_after",
|
|
234
|
+
"value": "&::after",
|
|
235
|
+
"functionExamples": [
|
|
236
|
+
"css({ margin: { base: '2', _after: '4' } })",
|
|
237
|
+
"css({ margin: '2', _after: { margin: '4' } })"
|
|
238
|
+
],
|
|
239
|
+
"jsxExamples": [
|
|
240
|
+
"<Box margin={{ base: '2', _after: '4' }} />",
|
|
241
|
+
"<Box margin=\"2\" _after={{ margin: '4' }} />"
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "_firstLetter",
|
|
246
|
+
"value": "&::first-letter",
|
|
247
|
+
"functionExamples": [
|
|
248
|
+
"css({ margin: { base: '2', _firstLetter: '4' } })",
|
|
249
|
+
"css({ margin: '2', _firstLetter: { margin: '4' } })"
|
|
250
|
+
],
|
|
251
|
+
"jsxExamples": [
|
|
252
|
+
"<Box margin={{ base: '2', _firstLetter: '4' }} />",
|
|
253
|
+
"<Box margin=\"2\" _firstLetter={{ margin: '4' }} />"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "_firstLine",
|
|
258
|
+
"value": "&::first-line",
|
|
259
|
+
"functionExamples": [
|
|
260
|
+
"css({ margin: { base: '2', _firstLine: '4' } })",
|
|
261
|
+
"css({ margin: '2', _firstLine: { margin: '4' } })"
|
|
262
|
+
],
|
|
263
|
+
"jsxExamples": [
|
|
264
|
+
"<Box margin={{ base: '2', _firstLine: '4' }} />",
|
|
265
|
+
"<Box margin=\"2\" _firstLine={{ margin: '4' }} />"
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "_marker",
|
|
270
|
+
"value": "&::marker, &::-webkit-details-marker",
|
|
271
|
+
"functionExamples": [
|
|
272
|
+
"css({ margin: { base: '2', _marker: '4' } })",
|
|
273
|
+
"css({ margin: '2', _marker: { margin: '4' } })"
|
|
274
|
+
],
|
|
275
|
+
"jsxExamples": [
|
|
276
|
+
"<Box margin={{ base: '2', _marker: '4' }} />",
|
|
277
|
+
"<Box margin=\"2\" _marker={{ margin: '4' }} />"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "_selection",
|
|
282
|
+
"value": "&::selection",
|
|
283
|
+
"functionExamples": [
|
|
284
|
+
"css({ margin: { base: '2', _selection: '4' } })",
|
|
285
|
+
"css({ margin: '2', _selection: { margin: '4' } })"
|
|
286
|
+
],
|
|
287
|
+
"jsxExamples": [
|
|
288
|
+
"<Box margin={{ base: '2', _selection: '4' }} />",
|
|
289
|
+
"<Box margin=\"2\" _selection={{ margin: '4' }} />"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "_file",
|
|
294
|
+
"value": "&::file-selector-button",
|
|
295
|
+
"functionExamples": [
|
|
296
|
+
"css({ margin: { base: '2', _file: '4' } })",
|
|
297
|
+
"css({ margin: '2', _file: { margin: '4' } })"
|
|
298
|
+
],
|
|
299
|
+
"jsxExamples": [
|
|
300
|
+
"<Box margin={{ base: '2', _file: '4' }} />",
|
|
301
|
+
"<Box margin=\"2\" _file={{ margin: '4' }} />"
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "_backdrop",
|
|
306
|
+
"value": "&::backdrop",
|
|
307
|
+
"functionExamples": [
|
|
308
|
+
"css({ margin: { base: '2', _backdrop: '4' } })",
|
|
309
|
+
"css({ margin: '2', _backdrop: { margin: '4' } })"
|
|
310
|
+
],
|
|
311
|
+
"jsxExamples": [
|
|
312
|
+
"<Box margin={{ base: '2', _backdrop: '4' }} />",
|
|
313
|
+
"<Box margin=\"2\" _backdrop={{ margin: '4' }} />"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "_first",
|
|
318
|
+
"value": "&:first-child",
|
|
319
|
+
"functionExamples": [
|
|
320
|
+
"css({ margin: { base: '2', _first: '4' } })",
|
|
321
|
+
"css({ margin: '2', _first: { margin: '4' } })"
|
|
322
|
+
],
|
|
323
|
+
"jsxExamples": [
|
|
324
|
+
"<Box margin={{ base: '2', _first: '4' }} />",
|
|
325
|
+
"<Box margin=\"2\" _first={{ margin: '4' }} />"
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "_last",
|
|
330
|
+
"value": "&:last-child",
|
|
331
|
+
"functionExamples": [
|
|
332
|
+
"css({ margin: { base: '2', _last: '4' } })",
|
|
333
|
+
"css({ margin: '2', _last: { margin: '4' } })"
|
|
334
|
+
],
|
|
335
|
+
"jsxExamples": [
|
|
336
|
+
"<Box margin={{ base: '2', _last: '4' }} />",
|
|
337
|
+
"<Box margin=\"2\" _last={{ margin: '4' }} />"
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "_only",
|
|
342
|
+
"value": "&:only-child",
|
|
343
|
+
"functionExamples": [
|
|
344
|
+
"css({ margin: { base: '2', _only: '4' } })",
|
|
345
|
+
"css({ margin: '2', _only: { margin: '4' } })"
|
|
346
|
+
],
|
|
347
|
+
"jsxExamples": [
|
|
348
|
+
"<Box margin={{ base: '2', _only: '4' }} />",
|
|
349
|
+
"<Box margin=\"2\" _only={{ margin: '4' }} />"
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "_even",
|
|
354
|
+
"value": "&:nth-child(even)",
|
|
355
|
+
"functionExamples": [
|
|
356
|
+
"css({ margin: { base: '2', _even: '4' } })",
|
|
357
|
+
"css({ margin: '2', _even: { margin: '4' } })"
|
|
358
|
+
],
|
|
359
|
+
"jsxExamples": [
|
|
360
|
+
"<Box margin={{ base: '2', _even: '4' }} />",
|
|
361
|
+
"<Box margin=\"2\" _even={{ margin: '4' }} />"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "_odd",
|
|
366
|
+
"value": "&:nth-child(odd)",
|
|
367
|
+
"functionExamples": [
|
|
368
|
+
"css({ margin: { base: '2', _odd: '4' } })",
|
|
369
|
+
"css({ margin: '2', _odd: { margin: '4' } })"
|
|
370
|
+
],
|
|
371
|
+
"jsxExamples": [
|
|
372
|
+
"<Box margin={{ base: '2', _odd: '4' }} />",
|
|
373
|
+
"<Box margin=\"2\" _odd={{ margin: '4' }} />"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "_firstOfType",
|
|
378
|
+
"value": "&:first-of-type",
|
|
379
|
+
"functionExamples": [
|
|
380
|
+
"css({ margin: { base: '2', _firstOfType: '4' } })",
|
|
381
|
+
"css({ margin: '2', _firstOfType: { margin: '4' } })"
|
|
382
|
+
],
|
|
383
|
+
"jsxExamples": [
|
|
384
|
+
"<Box margin={{ base: '2', _firstOfType: '4' }} />",
|
|
385
|
+
"<Box margin=\"2\" _firstOfType={{ margin: '4' }} />"
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "_lastOfType",
|
|
390
|
+
"value": "&:last-of-type",
|
|
391
|
+
"functionExamples": [
|
|
392
|
+
"css({ margin: { base: '2', _lastOfType: '4' } })",
|
|
393
|
+
"css({ margin: '2', _lastOfType: { margin: '4' } })"
|
|
394
|
+
],
|
|
395
|
+
"jsxExamples": [
|
|
396
|
+
"<Box margin={{ base: '2', _lastOfType: '4' }} />",
|
|
397
|
+
"<Box margin=\"2\" _lastOfType={{ margin: '4' }} />"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "_onlyOfType",
|
|
402
|
+
"value": "&:only-of-type",
|
|
403
|
+
"functionExamples": [
|
|
404
|
+
"css({ margin: { base: '2', _onlyOfType: '4' } })",
|
|
405
|
+
"css({ margin: '2', _onlyOfType: { margin: '4' } })"
|
|
406
|
+
],
|
|
407
|
+
"jsxExamples": [
|
|
408
|
+
"<Box margin={{ base: '2', _onlyOfType: '4' }} />",
|
|
409
|
+
"<Box margin=\"2\" _onlyOfType={{ margin: '4' }} />"
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "_peerFocus",
|
|
414
|
+
"value": ".peer:is(:focus, [data-focus]) ~ &",
|
|
415
|
+
"functionExamples": [
|
|
416
|
+
"css({ margin: { base: '2', _peerFocus: '4' } })",
|
|
417
|
+
"css({ margin: '2', _peerFocus: { margin: '4' } })"
|
|
418
|
+
],
|
|
419
|
+
"jsxExamples": [
|
|
420
|
+
"<Box margin={{ base: '2', _peerFocus: '4' }} />",
|
|
421
|
+
"<Box margin=\"2\" _peerFocus={{ margin: '4' }} />"
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "_peerHover",
|
|
426
|
+
"value": ".peer:is(:hover, [data-hover]) ~ &",
|
|
427
|
+
"functionExamples": [
|
|
428
|
+
"css({ margin: { base: '2', _peerHover: '4' } })",
|
|
429
|
+
"css({ margin: '2', _peerHover: { margin: '4' } })"
|
|
430
|
+
],
|
|
431
|
+
"jsxExamples": [
|
|
432
|
+
"<Box margin={{ base: '2', _peerHover: '4' }} />",
|
|
433
|
+
"<Box margin=\"2\" _peerHover={{ margin: '4' }} />"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "_peerActive",
|
|
438
|
+
"value": ".peer:is(:active, [data-active]) ~ &",
|
|
439
|
+
"functionExamples": [
|
|
440
|
+
"css({ margin: { base: '2', _peerActive: '4' } })",
|
|
441
|
+
"css({ margin: '2', _peerActive: { margin: '4' } })"
|
|
442
|
+
],
|
|
443
|
+
"jsxExamples": [
|
|
444
|
+
"<Box margin={{ base: '2', _peerActive: '4' }} />",
|
|
445
|
+
"<Box margin=\"2\" _peerActive={{ margin: '4' }} />"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "_peerFocusWithin",
|
|
450
|
+
"value": ".peer:focus-within ~ &",
|
|
451
|
+
"functionExamples": [
|
|
452
|
+
"css({ margin: { base: '2', _peerFocusWithin: '4' } })",
|
|
453
|
+
"css({ margin: '2', _peerFocusWithin: { margin: '4' } })"
|
|
454
|
+
],
|
|
455
|
+
"jsxExamples": [
|
|
456
|
+
"<Box margin={{ base: '2', _peerFocusWithin: '4' }} />",
|
|
457
|
+
"<Box margin=\"2\" _peerFocusWithin={{ margin: '4' }} />"
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "_peerFocusVisible",
|
|
462
|
+
"value": ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
|
|
463
|
+
"functionExamples": [
|
|
464
|
+
"css({ margin: { base: '2', _peerFocusVisible: '4' } })",
|
|
465
|
+
"css({ margin: '2', _peerFocusVisible: { margin: '4' } })"
|
|
466
|
+
],
|
|
467
|
+
"jsxExamples": [
|
|
468
|
+
"<Box margin={{ base: '2', _peerFocusVisible: '4' }} />",
|
|
469
|
+
"<Box margin=\"2\" _peerFocusVisible={{ margin: '4' }} />"
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "_peerDisabled",
|
|
474
|
+
"value": ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
|
|
475
|
+
"functionExamples": [
|
|
476
|
+
"css({ margin: { base: '2', _peerDisabled: '4' } })",
|
|
477
|
+
"css({ margin: '2', _peerDisabled: { margin: '4' } })"
|
|
478
|
+
],
|
|
479
|
+
"jsxExamples": [
|
|
480
|
+
"<Box margin={{ base: '2', _peerDisabled: '4' }} />",
|
|
481
|
+
"<Box margin=\"2\" _peerDisabled={{ margin: '4' }} />"
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "_peerChecked",
|
|
486
|
+
"value": ".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"]) ~ &",
|
|
487
|
+
"functionExamples": [
|
|
488
|
+
"css({ margin: { base: '2', _peerChecked: '4' } })",
|
|
489
|
+
"css({ margin: '2', _peerChecked: { margin: '4' } })"
|
|
490
|
+
],
|
|
491
|
+
"jsxExamples": [
|
|
492
|
+
"<Box margin={{ base: '2', _peerChecked: '4' }} />",
|
|
493
|
+
"<Box margin=\"2\" _peerChecked={{ margin: '4' }} />"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "_peerInvalid",
|
|
498
|
+
"value": ".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",
|
|
499
|
+
"functionExamples": [
|
|
500
|
+
"css({ margin: { base: '2', _peerInvalid: '4' } })",
|
|
501
|
+
"css({ margin: '2', _peerInvalid: { margin: '4' } })"
|
|
502
|
+
],
|
|
503
|
+
"jsxExamples": [
|
|
504
|
+
"<Box margin={{ base: '2', _peerInvalid: '4' }} />",
|
|
505
|
+
"<Box margin=\"2\" _peerInvalid={{ margin: '4' }} />"
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "_peerExpanded",
|
|
510
|
+
"value": ".peer:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"]) ~ &",
|
|
511
|
+
"functionExamples": [
|
|
512
|
+
"css({ margin: { base: '2', _peerExpanded: '4' } })",
|
|
513
|
+
"css({ margin: '2', _peerExpanded: { margin: '4' } })"
|
|
514
|
+
],
|
|
515
|
+
"jsxExamples": [
|
|
516
|
+
"<Box margin={{ base: '2', _peerExpanded: '4' }} />",
|
|
517
|
+
"<Box margin=\"2\" _peerExpanded={{ margin: '4' }} />"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "_peerPlaceholderShown",
|
|
522
|
+
"value": ".peer:placeholder-shown ~ &",
|
|
523
|
+
"functionExamples": [
|
|
524
|
+
"css({ margin: { base: '2', _peerPlaceholderShown: '4' } })",
|
|
525
|
+
"css({ margin: '2', _peerPlaceholderShown: { margin: '4' } })"
|
|
526
|
+
],
|
|
527
|
+
"jsxExamples": [
|
|
528
|
+
"<Box margin={{ base: '2', _peerPlaceholderShown: '4' }} />",
|
|
529
|
+
"<Box margin=\"2\" _peerPlaceholderShown={{ margin: '4' }} />"
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "_groupFocus",
|
|
534
|
+
"value": ".group:is(:focus, [data-focus]) &",
|
|
535
|
+
"functionExamples": [
|
|
536
|
+
"css({ margin: { base: '2', _groupFocus: '4' } })",
|
|
537
|
+
"css({ margin: '2', _groupFocus: { margin: '4' } })"
|
|
538
|
+
],
|
|
539
|
+
"jsxExamples": [
|
|
540
|
+
"<Box margin={{ base: '2', _groupFocus: '4' }} />",
|
|
541
|
+
"<Box margin=\"2\" _groupFocus={{ margin: '4' }} />"
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "_groupHover",
|
|
546
|
+
"value": ".group:is(:hover, [data-hover]) &",
|
|
547
|
+
"functionExamples": [
|
|
548
|
+
"css({ margin: { base: '2', _groupHover: '4' } })",
|
|
549
|
+
"css({ margin: '2', _groupHover: { margin: '4' } })"
|
|
550
|
+
],
|
|
551
|
+
"jsxExamples": [
|
|
552
|
+
"<Box margin={{ base: '2', _groupHover: '4' }} />",
|
|
553
|
+
"<Box margin=\"2\" _groupHover={{ margin: '4' }} />"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "_groupActive",
|
|
558
|
+
"value": ".group:is(:active, [data-active]) &",
|
|
559
|
+
"functionExamples": [
|
|
560
|
+
"css({ margin: { base: '2', _groupActive: '4' } })",
|
|
561
|
+
"css({ margin: '2', _groupActive: { margin: '4' } })"
|
|
562
|
+
],
|
|
563
|
+
"jsxExamples": [
|
|
564
|
+
"<Box margin={{ base: '2', _groupActive: '4' }} />",
|
|
565
|
+
"<Box margin=\"2\" _groupActive={{ margin: '4' }} />"
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "_groupFocusWithin",
|
|
570
|
+
"value": ".group:focus-within &",
|
|
571
|
+
"functionExamples": [
|
|
572
|
+
"css({ margin: { base: '2', _groupFocusWithin: '4' } })",
|
|
573
|
+
"css({ margin: '2', _groupFocusWithin: { margin: '4' } })"
|
|
574
|
+
],
|
|
575
|
+
"jsxExamples": [
|
|
576
|
+
"<Box margin={{ base: '2', _groupFocusWithin: '4' }} />",
|
|
577
|
+
"<Box margin=\"2\" _groupFocusWithin={{ margin: '4' }} />"
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "_groupFocusVisible",
|
|
582
|
+
"value": ".group:is(:focus-visible, [data-focus-visible]) &",
|
|
583
|
+
"functionExamples": [
|
|
584
|
+
"css({ margin: { base: '2', _groupFocusVisible: '4' } })",
|
|
585
|
+
"css({ margin: '2', _groupFocusVisible: { margin: '4' } })"
|
|
586
|
+
],
|
|
587
|
+
"jsxExamples": [
|
|
588
|
+
"<Box margin={{ base: '2', _groupFocusVisible: '4' }} />",
|
|
589
|
+
"<Box margin=\"2\" _groupFocusVisible={{ margin: '4' }} />"
|
|
590
|
+
]
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "_groupDisabled",
|
|
594
|
+
"value": ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
|
|
595
|
+
"functionExamples": [
|
|
596
|
+
"css({ margin: { base: '2', _groupDisabled: '4' } })",
|
|
597
|
+
"css({ margin: '2', _groupDisabled: { margin: '4' } })"
|
|
598
|
+
],
|
|
599
|
+
"jsxExamples": [
|
|
600
|
+
"<Box margin={{ base: '2', _groupDisabled: '4' }} />",
|
|
601
|
+
"<Box margin=\"2\" _groupDisabled={{ margin: '4' }} />"
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "_groupChecked",
|
|
606
|
+
"value": ".group:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"]) &",
|
|
607
|
+
"functionExamples": [
|
|
608
|
+
"css({ margin: { base: '2', _groupChecked: '4' } })",
|
|
609
|
+
"css({ margin: '2', _groupChecked: { margin: '4' } })"
|
|
610
|
+
],
|
|
611
|
+
"jsxExamples": [
|
|
612
|
+
"<Box margin={{ base: '2', _groupChecked: '4' }} />",
|
|
613
|
+
"<Box margin=\"2\" _groupChecked={{ margin: '4' }} />"
|
|
614
|
+
]
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "_groupExpanded",
|
|
618
|
+
"value": ".group:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"]) &",
|
|
619
|
+
"functionExamples": [
|
|
620
|
+
"css({ margin: { base: '2', _groupExpanded: '4' } })",
|
|
621
|
+
"css({ margin: '2', _groupExpanded: { margin: '4' } })"
|
|
622
|
+
],
|
|
623
|
+
"jsxExamples": [
|
|
624
|
+
"<Box margin={{ base: '2', _groupExpanded: '4' }} />",
|
|
625
|
+
"<Box margin=\"2\" _groupExpanded={{ margin: '4' }} />"
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "_groupInvalid",
|
|
630
|
+
"value": ".group:is(:invalid, [data-invalid], [aria-invalid=true]) &",
|
|
631
|
+
"functionExamples": [
|
|
632
|
+
"css({ margin: { base: '2', _groupInvalid: '4' } })",
|
|
633
|
+
"css({ margin: '2', _groupInvalid: { margin: '4' } })"
|
|
634
|
+
],
|
|
635
|
+
"jsxExamples": [
|
|
636
|
+
"<Box margin={{ base: '2', _groupInvalid: '4' }} />",
|
|
637
|
+
"<Box margin=\"2\" _groupInvalid={{ margin: '4' }} />"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"name": "_indeterminate",
|
|
642
|
+
"value": "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=\"indeterminate\"])",
|
|
643
|
+
"functionExamples": [
|
|
644
|
+
"css({ margin: { base: '2', _indeterminate: '4' } })",
|
|
645
|
+
"css({ margin: '2', _indeterminate: { margin: '4' } })"
|
|
646
|
+
],
|
|
647
|
+
"jsxExamples": [
|
|
648
|
+
"<Box margin={{ base: '2', _indeterminate: '4' }} />",
|
|
649
|
+
"<Box margin=\"2\" _indeterminate={{ margin: '4' }} />"
|
|
650
|
+
]
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "_required",
|
|
654
|
+
"value": "&:is(:required, [data-required], [aria-required=true])",
|
|
655
|
+
"functionExamples": [
|
|
656
|
+
"css({ margin: { base: '2', _required: '4' } })",
|
|
657
|
+
"css({ margin: '2', _required: { margin: '4' } })"
|
|
658
|
+
],
|
|
659
|
+
"jsxExamples": [
|
|
660
|
+
"<Box margin={{ base: '2', _required: '4' }} />",
|
|
661
|
+
"<Box margin=\"2\" _required={{ margin: '4' }} />"
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "_valid",
|
|
666
|
+
"value": "&:is(:valid, [data-valid])",
|
|
667
|
+
"functionExamples": [
|
|
668
|
+
"css({ margin: { base: '2', _valid: '4' } })",
|
|
669
|
+
"css({ margin: '2', _valid: { margin: '4' } })"
|
|
670
|
+
],
|
|
671
|
+
"jsxExamples": [
|
|
672
|
+
"<Box margin={{ base: '2', _valid: '4' }} />",
|
|
673
|
+
"<Box margin=\"2\" _valid={{ margin: '4' }} />"
|
|
674
|
+
]
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "_invalid",
|
|
678
|
+
"value": "&:is(:invalid, [data-invalid], [aria-invalid=true])",
|
|
679
|
+
"functionExamples": [
|
|
680
|
+
"css({ margin: { base: '2', _invalid: '4' } })",
|
|
681
|
+
"css({ margin: '2', _invalid: { margin: '4' } })"
|
|
682
|
+
],
|
|
683
|
+
"jsxExamples": [
|
|
684
|
+
"<Box margin={{ base: '2', _invalid: '4' }} />",
|
|
685
|
+
"<Box margin=\"2\" _invalid={{ margin: '4' }} />"
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "_autofill",
|
|
690
|
+
"value": "&:autofill",
|
|
691
|
+
"functionExamples": [
|
|
692
|
+
"css({ margin: { base: '2', _autofill: '4' } })",
|
|
693
|
+
"css({ margin: '2', _autofill: { margin: '4' } })"
|
|
694
|
+
],
|
|
695
|
+
"jsxExamples": [
|
|
696
|
+
"<Box margin={{ base: '2', _autofill: '4' }} />",
|
|
697
|
+
"<Box margin=\"2\" _autofill={{ margin: '4' }} />"
|
|
698
|
+
]
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "_inRange",
|
|
702
|
+
"value": "&:is(:in-range, [data-in-range])",
|
|
703
|
+
"functionExamples": [
|
|
704
|
+
"css({ margin: { base: '2', _inRange: '4' } })",
|
|
705
|
+
"css({ margin: '2', _inRange: { margin: '4' } })"
|
|
706
|
+
],
|
|
707
|
+
"jsxExamples": [
|
|
708
|
+
"<Box margin={{ base: '2', _inRange: '4' }} />",
|
|
709
|
+
"<Box margin=\"2\" _inRange={{ margin: '4' }} />"
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "_outOfRange",
|
|
714
|
+
"value": "&:is(:out-of-range, [data-outside-range])",
|
|
715
|
+
"functionExamples": [
|
|
716
|
+
"css({ margin: { base: '2', _outOfRange: '4' } })",
|
|
717
|
+
"css({ margin: '2', _outOfRange: { margin: '4' } })"
|
|
718
|
+
],
|
|
719
|
+
"jsxExamples": [
|
|
720
|
+
"<Box margin={{ base: '2', _outOfRange: '4' }} />",
|
|
721
|
+
"<Box margin=\"2\" _outOfRange={{ margin: '4' }} />"
|
|
722
|
+
]
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "_placeholder",
|
|
726
|
+
"value": "&::placeholder, &[data-placeholder]",
|
|
727
|
+
"functionExamples": [
|
|
728
|
+
"css({ margin: { base: '2', _placeholder: '4' } })",
|
|
729
|
+
"css({ margin: '2', _placeholder: { margin: '4' } })"
|
|
730
|
+
],
|
|
731
|
+
"jsxExamples": [
|
|
732
|
+
"<Box margin={{ base: '2', _placeholder: '4' }} />",
|
|
733
|
+
"<Box margin=\"2\" _placeholder={{ margin: '4' }} />"
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "_placeholderShown",
|
|
738
|
+
"value": "&:is(:placeholder-shown, [data-placeholder-shown])",
|
|
739
|
+
"functionExamples": [
|
|
740
|
+
"css({ margin: { base: '2', _placeholderShown: '4' } })",
|
|
741
|
+
"css({ margin: '2', _placeholderShown: { margin: '4' } })"
|
|
742
|
+
],
|
|
743
|
+
"jsxExamples": [
|
|
744
|
+
"<Box margin={{ base: '2', _placeholderShown: '4' }} />",
|
|
745
|
+
"<Box margin=\"2\" _placeholderShown={{ margin: '4' }} />"
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "_pressed",
|
|
750
|
+
"value": "&:is([aria-pressed=true], [data-pressed])",
|
|
751
|
+
"functionExamples": [
|
|
752
|
+
"css({ margin: { base: '2', _pressed: '4' } })",
|
|
753
|
+
"css({ margin: '2', _pressed: { margin: '4' } })"
|
|
754
|
+
],
|
|
755
|
+
"jsxExamples": [
|
|
756
|
+
"<Box margin={{ base: '2', _pressed: '4' }} />",
|
|
757
|
+
"<Box margin=\"2\" _pressed={{ margin: '4' }} />"
|
|
758
|
+
]
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "_selected",
|
|
762
|
+
"value": "&:is([aria-selected=true], [data-selected=true])",
|
|
763
|
+
"functionExamples": [
|
|
764
|
+
"css({ margin: { base: '2', _selected: '4' } })",
|
|
765
|
+
"css({ margin: '2', _selected: { margin: '4' } })"
|
|
766
|
+
],
|
|
767
|
+
"jsxExamples": [
|
|
768
|
+
"<Box margin={{ base: '2', _selected: '4' }} />",
|
|
769
|
+
"<Box margin=\"2\" _selected={{ margin: '4' }} />"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "_grabbed",
|
|
774
|
+
"value": "&:is([aria-grabbed=true], [data-grabbed])",
|
|
775
|
+
"functionExamples": [
|
|
776
|
+
"css({ margin: { base: '2', _grabbed: '4' } })",
|
|
777
|
+
"css({ margin: '2', _grabbed: { margin: '4' } })"
|
|
778
|
+
],
|
|
779
|
+
"jsxExamples": [
|
|
780
|
+
"<Box margin={{ base: '2', _grabbed: '4' }} />",
|
|
781
|
+
"<Box margin=\"2\" _grabbed={{ margin: '4' }} />"
|
|
782
|
+
]
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "_underValue",
|
|
786
|
+
"value": "&[data-state=under-value]",
|
|
787
|
+
"functionExamples": [
|
|
788
|
+
"css({ margin: { base: '2', _underValue: '4' } })",
|
|
789
|
+
"css({ margin: '2', _underValue: { margin: '4' } })"
|
|
790
|
+
],
|
|
791
|
+
"jsxExamples": [
|
|
792
|
+
"<Box margin={{ base: '2', _underValue: '4' }} />",
|
|
793
|
+
"<Box margin=\"2\" _underValue={{ margin: '4' }} />"
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "_overValue",
|
|
798
|
+
"value": "&[data-state=over-value]",
|
|
799
|
+
"functionExamples": [
|
|
800
|
+
"css({ margin: { base: '2', _overValue: '4' } })",
|
|
801
|
+
"css({ margin: '2', _overValue: { margin: '4' } })"
|
|
802
|
+
],
|
|
803
|
+
"jsxExamples": [
|
|
804
|
+
"<Box margin={{ base: '2', _overValue: '4' }} />",
|
|
805
|
+
"<Box margin=\"2\" _overValue={{ margin: '4' }} />"
|
|
806
|
+
]
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "_atValue",
|
|
810
|
+
"value": "&[data-state=at-value]",
|
|
811
|
+
"functionExamples": [
|
|
812
|
+
"css({ margin: { base: '2', _atValue: '4' } })",
|
|
813
|
+
"css({ margin: '2', _atValue: { margin: '4' } })"
|
|
814
|
+
],
|
|
815
|
+
"jsxExamples": [
|
|
816
|
+
"<Box margin={{ base: '2', _atValue: '4' }} />",
|
|
817
|
+
"<Box margin=\"2\" _atValue={{ margin: '4' }} />"
|
|
818
|
+
]
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "_default",
|
|
822
|
+
"value": "&:default",
|
|
823
|
+
"functionExamples": [
|
|
824
|
+
"css({ margin: { base: '2', _default: '4' } })",
|
|
825
|
+
"css({ margin: '2', _default: { margin: '4' } })"
|
|
826
|
+
],
|
|
827
|
+
"jsxExamples": [
|
|
828
|
+
"<Box margin={{ base: '2', _default: '4' }} />",
|
|
829
|
+
"<Box margin=\"2\" _default={{ margin: '4' }} />"
|
|
830
|
+
]
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "_optional",
|
|
834
|
+
"value": "&:optional",
|
|
835
|
+
"functionExamples": [
|
|
836
|
+
"css({ margin: { base: '2', _optional: '4' } })",
|
|
837
|
+
"css({ margin: '2', _optional: { margin: '4' } })"
|
|
838
|
+
],
|
|
839
|
+
"jsxExamples": [
|
|
840
|
+
"<Box margin={{ base: '2', _optional: '4' }} />",
|
|
841
|
+
"<Box margin=\"2\" _optional={{ margin: '4' }} />"
|
|
842
|
+
]
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"name": "_open",
|
|
846
|
+
"value": "&:is([open], [data-open], [data-state=\"open\"], :popover-open)",
|
|
847
|
+
"functionExamples": [
|
|
848
|
+
"css({ margin: { base: '2', _open: '4' } })",
|
|
849
|
+
"css({ margin: '2', _open: { margin: '4' } })"
|
|
850
|
+
],
|
|
851
|
+
"jsxExamples": [
|
|
852
|
+
"<Box margin={{ base: '2', _open: '4' }} />",
|
|
853
|
+
"<Box margin=\"2\" _open={{ margin: '4' }} />"
|
|
854
|
+
]
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "_closed",
|
|
858
|
+
"value": "&:is([closed], [data-closed], [data-state=\"closed\"])",
|
|
859
|
+
"functionExamples": [
|
|
860
|
+
"css({ margin: { base: '2', _closed: '4' } })",
|
|
861
|
+
"css({ margin: '2', _closed: { margin: '4' } })"
|
|
862
|
+
],
|
|
863
|
+
"jsxExamples": [
|
|
864
|
+
"<Box margin={{ base: '2', _closed: '4' }} />",
|
|
865
|
+
"<Box margin=\"2\" _closed={{ margin: '4' }} />"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"name": "_fullscreen",
|
|
870
|
+
"value": "&:is(:fullscreen, [data-fullscreen])",
|
|
871
|
+
"functionExamples": [
|
|
872
|
+
"css({ margin: { base: '2', _fullscreen: '4' } })",
|
|
873
|
+
"css({ margin: '2', _fullscreen: { margin: '4' } })"
|
|
874
|
+
],
|
|
875
|
+
"jsxExamples": [
|
|
876
|
+
"<Box margin={{ base: '2', _fullscreen: '4' }} />",
|
|
877
|
+
"<Box margin=\"2\" _fullscreen={{ margin: '4' }} />"
|
|
878
|
+
]
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"name": "_loading",
|
|
882
|
+
"value": "&:is([data-loading], [aria-busy=true])",
|
|
883
|
+
"functionExamples": [
|
|
884
|
+
"css({ margin: { base: '2', _loading: '4' } })",
|
|
885
|
+
"css({ margin: '2', _loading: { margin: '4' } })"
|
|
886
|
+
],
|
|
887
|
+
"jsxExamples": [
|
|
888
|
+
"<Box margin={{ base: '2', _loading: '4' }} />",
|
|
889
|
+
"<Box margin=\"2\" _loading={{ margin: '4' }} />"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "_hidden",
|
|
894
|
+
"value": "&:is([hidden], [data-hidden])",
|
|
895
|
+
"functionExamples": [
|
|
896
|
+
"css({ margin: { base: '2', _hidden: '4' } })",
|
|
897
|
+
"css({ margin: '2', _hidden: { margin: '4' } })"
|
|
898
|
+
],
|
|
899
|
+
"jsxExamples": [
|
|
900
|
+
"<Box margin={{ base: '2', _hidden: '4' }} />",
|
|
901
|
+
"<Box margin=\"2\" _hidden={{ margin: '4' }} />"
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "_current",
|
|
906
|
+
"value": "&:is([aria-current=true], [data-current])",
|
|
907
|
+
"functionExamples": [
|
|
908
|
+
"css({ margin: { base: '2', _current: '4' } })",
|
|
909
|
+
"css({ margin: '2', _current: { margin: '4' } })"
|
|
910
|
+
],
|
|
911
|
+
"jsxExamples": [
|
|
912
|
+
"<Box margin={{ base: '2', _current: '4' }} />",
|
|
913
|
+
"<Box margin=\"2\" _current={{ margin: '4' }} />"
|
|
914
|
+
]
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "_currentPage",
|
|
918
|
+
"value": "&[aria-current=page]",
|
|
919
|
+
"functionExamples": [
|
|
920
|
+
"css({ margin: { base: '2', _currentPage: '4' } })",
|
|
921
|
+
"css({ margin: '2', _currentPage: { margin: '4' } })"
|
|
922
|
+
],
|
|
923
|
+
"jsxExamples": [
|
|
924
|
+
"<Box margin={{ base: '2', _currentPage: '4' }} />",
|
|
925
|
+
"<Box margin=\"2\" _currentPage={{ margin: '4' }} />"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "_currentStep",
|
|
930
|
+
"value": "&[aria-current=step]",
|
|
931
|
+
"functionExamples": [
|
|
932
|
+
"css({ margin: { base: '2', _currentStep: '4' } })",
|
|
933
|
+
"css({ margin: '2', _currentStep: { margin: '4' } })"
|
|
934
|
+
],
|
|
935
|
+
"jsxExamples": [
|
|
936
|
+
"<Box margin={{ base: '2', _currentStep: '4' }} />",
|
|
937
|
+
"<Box margin=\"2\" _currentStep={{ margin: '4' }} />"
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "_today",
|
|
942
|
+
"value": "&:is([data-today])",
|
|
943
|
+
"functionExamples": [
|
|
944
|
+
"css({ margin: { base: '2', _today: '4' } })",
|
|
945
|
+
"css({ margin: '2', _today: { margin: '4' } })"
|
|
946
|
+
],
|
|
947
|
+
"jsxExamples": [
|
|
948
|
+
"<Box margin={{ base: '2', _today: '4' }} />",
|
|
949
|
+
"<Box margin=\"2\" _today={{ margin: '4' }} />"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "_unavailable",
|
|
954
|
+
"value": "&[data-unavailable]",
|
|
955
|
+
"functionExamples": [
|
|
956
|
+
"css({ margin: { base: '2', _unavailable: '4' } })",
|
|
957
|
+
"css({ margin: '2', _unavailable: { margin: '4' } })"
|
|
958
|
+
],
|
|
959
|
+
"jsxExamples": [
|
|
960
|
+
"<Box margin={{ base: '2', _unavailable: '4' }} />",
|
|
961
|
+
"<Box margin=\"2\" _unavailable={{ margin: '4' }} />"
|
|
962
|
+
]
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"name": "_rangeStart",
|
|
966
|
+
"value": "&[data-range-start]",
|
|
967
|
+
"functionExamples": [
|
|
968
|
+
"css({ margin: { base: '2', _rangeStart: '4' } })",
|
|
969
|
+
"css({ margin: '2', _rangeStart: { margin: '4' } })"
|
|
970
|
+
],
|
|
971
|
+
"jsxExamples": [
|
|
972
|
+
"<Box margin={{ base: '2', _rangeStart: '4' }} />",
|
|
973
|
+
"<Box margin=\"2\" _rangeStart={{ margin: '4' }} />"
|
|
974
|
+
]
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "_rangeEnd",
|
|
978
|
+
"value": "&[data-range-end]",
|
|
979
|
+
"functionExamples": [
|
|
980
|
+
"css({ margin: { base: '2', _rangeEnd: '4' } })",
|
|
981
|
+
"css({ margin: '2', _rangeEnd: { margin: '4' } })"
|
|
982
|
+
],
|
|
983
|
+
"jsxExamples": [
|
|
984
|
+
"<Box margin={{ base: '2', _rangeEnd: '4' }} />",
|
|
985
|
+
"<Box margin=\"2\" _rangeEnd={{ margin: '4' }} />"
|
|
986
|
+
]
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "_now",
|
|
990
|
+
"value": "&[data-now]",
|
|
991
|
+
"functionExamples": [
|
|
992
|
+
"css({ margin: { base: '2', _now: '4' } })",
|
|
993
|
+
"css({ margin: '2', _now: { margin: '4' } })"
|
|
994
|
+
],
|
|
995
|
+
"jsxExamples": [
|
|
996
|
+
"<Box margin={{ base: '2', _now: '4' }} />",
|
|
997
|
+
"<Box margin=\"2\" _now={{ margin: '4' }} />"
|
|
998
|
+
]
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "_topmost",
|
|
1002
|
+
"value": "&[data-topmost]",
|
|
1003
|
+
"functionExamples": [
|
|
1004
|
+
"css({ margin: { base: '2', _topmost: '4' } })",
|
|
1005
|
+
"css({ margin: '2', _topmost: { margin: '4' } })"
|
|
1006
|
+
],
|
|
1007
|
+
"jsxExamples": [
|
|
1008
|
+
"<Box margin={{ base: '2', _topmost: '4' }} />",
|
|
1009
|
+
"<Box margin=\"2\" _topmost={{ margin: '4' }} />"
|
|
1010
|
+
]
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "_motionReduce",
|
|
1014
|
+
"value": "@media (prefers-reduced-motion: reduce)",
|
|
1015
|
+
"functionExamples": [
|
|
1016
|
+
"css({ margin: { base: '2', _motionReduce: '4' } })",
|
|
1017
|
+
"css({ margin: '2', _motionReduce: { margin: '4' } })"
|
|
1018
|
+
],
|
|
1019
|
+
"jsxExamples": [
|
|
1020
|
+
"<Box margin={{ base: '2', _motionReduce: '4' }} />",
|
|
1021
|
+
"<Box margin=\"2\" _motionReduce={{ margin: '4' }} />"
|
|
1022
|
+
]
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "_motionSafe",
|
|
1026
|
+
"value": "@media (prefers-reduced-motion: no-preference)",
|
|
1027
|
+
"functionExamples": [
|
|
1028
|
+
"css({ margin: { base: '2', _motionSafe: '4' } })",
|
|
1029
|
+
"css({ margin: '2', _motionSafe: { margin: '4' } })"
|
|
1030
|
+
],
|
|
1031
|
+
"jsxExamples": [
|
|
1032
|
+
"<Box margin={{ base: '2', _motionSafe: '4' }} />",
|
|
1033
|
+
"<Box margin=\"2\" _motionSafe={{ margin: '4' }} />"
|
|
1034
|
+
]
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "_print",
|
|
1038
|
+
"value": "@media print",
|
|
1039
|
+
"functionExamples": [
|
|
1040
|
+
"css({ margin: { base: '2', _print: '4' } })",
|
|
1041
|
+
"css({ margin: '2', _print: { margin: '4' } })"
|
|
1042
|
+
],
|
|
1043
|
+
"jsxExamples": [
|
|
1044
|
+
"<Box margin={{ base: '2', _print: '4' }} />",
|
|
1045
|
+
"<Box margin=\"2\" _print={{ margin: '4' }} />"
|
|
1046
|
+
]
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "_landscape",
|
|
1050
|
+
"value": "@media (orientation: landscape)",
|
|
1051
|
+
"functionExamples": [
|
|
1052
|
+
"css({ margin: { base: '2', _landscape: '4' } })",
|
|
1053
|
+
"css({ margin: '2', _landscape: { margin: '4' } })"
|
|
1054
|
+
],
|
|
1055
|
+
"jsxExamples": [
|
|
1056
|
+
"<Box margin={{ base: '2', _landscape: '4' }} />",
|
|
1057
|
+
"<Box margin=\"2\" _landscape={{ margin: '4' }} />"
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "_portrait",
|
|
1062
|
+
"value": "@media (orientation: portrait)",
|
|
1063
|
+
"functionExamples": [
|
|
1064
|
+
"css({ margin: { base: '2', _portrait: '4' } })",
|
|
1065
|
+
"css({ margin: '2', _portrait: { margin: '4' } })"
|
|
1066
|
+
],
|
|
1067
|
+
"jsxExamples": [
|
|
1068
|
+
"<Box margin={{ base: '2', _portrait: '4' }} />",
|
|
1069
|
+
"<Box margin=\"2\" _portrait={{ margin: '4' }} />"
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "_dark",
|
|
1074
|
+
"value": ".dark &, &:is([data-color-mode=dark] *), [data-color-mode=dark] &",
|
|
1075
|
+
"functionExamples": [
|
|
1076
|
+
"css({ margin: { base: '2', _dark: '4' } })",
|
|
1077
|
+
"css({ margin: '2', _dark: { margin: '4' } })"
|
|
1078
|
+
],
|
|
1079
|
+
"jsxExamples": [
|
|
1080
|
+
"<Box margin={{ base: '2', _dark: '4' }} />",
|
|
1081
|
+
"<Box margin=\"2\" _dark={{ margin: '4' }} />"
|
|
1082
|
+
]
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "_light",
|
|
1086
|
+
"value": ".light &, &:is([data-color-mode=light] *), [data-color-mode=light] &",
|
|
1087
|
+
"functionExamples": [
|
|
1088
|
+
"css({ margin: { base: '2', _light: '4' } })",
|
|
1089
|
+
"css({ margin: '2', _light: { margin: '4' } })"
|
|
1090
|
+
],
|
|
1091
|
+
"jsxExamples": [
|
|
1092
|
+
"<Box margin={{ base: '2', _light: '4' }} />",
|
|
1093
|
+
"<Box margin=\"2\" _light={{ margin: '4' }} />"
|
|
1094
|
+
]
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "_osDark",
|
|
1098
|
+
"value": "@media (prefers-color-scheme: dark)",
|
|
1099
|
+
"functionExamples": [
|
|
1100
|
+
"css({ margin: { base: '2', _osDark: '4' } })",
|
|
1101
|
+
"css({ margin: '2', _osDark: { margin: '4' } })"
|
|
1102
|
+
],
|
|
1103
|
+
"jsxExamples": [
|
|
1104
|
+
"<Box margin={{ base: '2', _osDark: '4' }} />",
|
|
1105
|
+
"<Box margin=\"2\" _osDark={{ margin: '4' }} />"
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "_osLight",
|
|
1110
|
+
"value": "@media (prefers-color-scheme: light)",
|
|
1111
|
+
"functionExamples": [
|
|
1112
|
+
"css({ margin: { base: '2', _osLight: '4' } })",
|
|
1113
|
+
"css({ margin: '2', _osLight: { margin: '4' } })"
|
|
1114
|
+
],
|
|
1115
|
+
"jsxExamples": [
|
|
1116
|
+
"<Box margin={{ base: '2', _osLight: '4' }} />",
|
|
1117
|
+
"<Box margin=\"2\" _osLight={{ margin: '4' }} />"
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "_highContrast",
|
|
1122
|
+
"value": "@media (forced-colors: active)",
|
|
1123
|
+
"functionExamples": [
|
|
1124
|
+
"css({ margin: { base: '2', _highContrast: '4' } })",
|
|
1125
|
+
"css({ margin: '2', _highContrast: { margin: '4' } })"
|
|
1126
|
+
],
|
|
1127
|
+
"jsxExamples": [
|
|
1128
|
+
"<Box margin={{ base: '2', _highContrast: '4' }} />",
|
|
1129
|
+
"<Box margin=\"2\" _highContrast={{ margin: '4' }} />"
|
|
1130
|
+
]
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"name": "_lessContrast",
|
|
1134
|
+
"value": "@media (prefers-contrast: less)",
|
|
1135
|
+
"functionExamples": [
|
|
1136
|
+
"css({ margin: { base: '2', _lessContrast: '4' } })",
|
|
1137
|
+
"css({ margin: '2', _lessContrast: { margin: '4' } })"
|
|
1138
|
+
],
|
|
1139
|
+
"jsxExamples": [
|
|
1140
|
+
"<Box margin={{ base: '2', _lessContrast: '4' }} />",
|
|
1141
|
+
"<Box margin=\"2\" _lessContrast={{ margin: '4' }} />"
|
|
1142
|
+
]
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "_moreContrast",
|
|
1146
|
+
"value": "@media (prefers-contrast: more)",
|
|
1147
|
+
"functionExamples": [
|
|
1148
|
+
"css({ margin: { base: '2', _moreContrast: '4' } })",
|
|
1149
|
+
"css({ margin: '2', _moreContrast: { margin: '4' } })"
|
|
1150
|
+
],
|
|
1151
|
+
"jsxExamples": [
|
|
1152
|
+
"<Box margin={{ base: '2', _moreContrast: '4' }} />",
|
|
1153
|
+
"<Box margin=\"2\" _moreContrast={{ margin: '4' }} />"
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"name": "_ltr",
|
|
1158
|
+
"value": ":where([dir=ltr], :dir(ltr)) &",
|
|
1159
|
+
"functionExamples": [
|
|
1160
|
+
"css({ margin: { base: '2', _ltr: '4' } })",
|
|
1161
|
+
"css({ margin: '2', _ltr: { margin: '4' } })"
|
|
1162
|
+
],
|
|
1163
|
+
"jsxExamples": [
|
|
1164
|
+
"<Box margin={{ base: '2', _ltr: '4' }} />",
|
|
1165
|
+
"<Box margin=\"2\" _ltr={{ margin: '4' }} />"
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "_rtl",
|
|
1170
|
+
"value": ":where([dir=rtl], :dir(rtl)) &",
|
|
1171
|
+
"functionExamples": [
|
|
1172
|
+
"css({ margin: { base: '2', _rtl: '4' } })",
|
|
1173
|
+
"css({ margin: '2', _rtl: { margin: '4' } })"
|
|
1174
|
+
],
|
|
1175
|
+
"jsxExamples": [
|
|
1176
|
+
"<Box margin={{ base: '2', _rtl: '4' }} />",
|
|
1177
|
+
"<Box margin=\"2\" _rtl={{ margin: '4' }} />"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "_scrollbar",
|
|
1182
|
+
"value": "&::-webkit-scrollbar",
|
|
1183
|
+
"functionExamples": [
|
|
1184
|
+
"css({ margin: { base: '2', _scrollbar: '4' } })",
|
|
1185
|
+
"css({ margin: '2', _scrollbar: { margin: '4' } })"
|
|
1186
|
+
],
|
|
1187
|
+
"jsxExamples": [
|
|
1188
|
+
"<Box margin={{ base: '2', _scrollbar: '4' }} />",
|
|
1189
|
+
"<Box margin=\"2\" _scrollbar={{ margin: '4' }} />"
|
|
1190
|
+
]
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "_scrollbarThumb",
|
|
1194
|
+
"value": "&::-webkit-scrollbar-thumb",
|
|
1195
|
+
"functionExamples": [
|
|
1196
|
+
"css({ margin: { base: '2', _scrollbarThumb: '4' } })",
|
|
1197
|
+
"css({ margin: '2', _scrollbarThumb: { margin: '4' } })"
|
|
1198
|
+
],
|
|
1199
|
+
"jsxExamples": [
|
|
1200
|
+
"<Box margin={{ base: '2', _scrollbarThumb: '4' }} />",
|
|
1201
|
+
"<Box margin=\"2\" _scrollbarThumb={{ margin: '4' }} />"
|
|
1202
|
+
]
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"name": "_scrollbarTrack",
|
|
1206
|
+
"value": "&::-webkit-scrollbar-track",
|
|
1207
|
+
"functionExamples": [
|
|
1208
|
+
"css({ margin: { base: '2', _scrollbarTrack: '4' } })",
|
|
1209
|
+
"css({ margin: '2', _scrollbarTrack: { margin: '4' } })"
|
|
1210
|
+
],
|
|
1211
|
+
"jsxExamples": [
|
|
1212
|
+
"<Box margin={{ base: '2', _scrollbarTrack: '4' }} />",
|
|
1213
|
+
"<Box margin=\"2\" _scrollbarTrack={{ margin: '4' }} />"
|
|
1214
|
+
]
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "_horizontal",
|
|
1218
|
+
"value": "&[data-orientation=horizontal]",
|
|
1219
|
+
"functionExamples": [
|
|
1220
|
+
"css({ margin: { base: '2', _horizontal: '4' } })",
|
|
1221
|
+
"css({ margin: '2', _horizontal: { margin: '4' } })"
|
|
1222
|
+
],
|
|
1223
|
+
"jsxExamples": [
|
|
1224
|
+
"<Box margin={{ base: '2', _horizontal: '4' }} />",
|
|
1225
|
+
"<Box margin=\"2\" _horizontal={{ margin: '4' }} />"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "_vertical",
|
|
1230
|
+
"value": "&[data-orientation=vertical]",
|
|
1231
|
+
"functionExamples": [
|
|
1232
|
+
"css({ margin: { base: '2', _vertical: '4' } })",
|
|
1233
|
+
"css({ margin: '2', _vertical: { margin: '4' } })"
|
|
1234
|
+
],
|
|
1235
|
+
"jsxExamples": [
|
|
1236
|
+
"<Box margin={{ base: '2', _vertical: '4' }} />",
|
|
1237
|
+
"<Box margin=\"2\" _vertical={{ margin: '4' }} />"
|
|
1238
|
+
]
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"name": "_icon",
|
|
1242
|
+
"value": "& :where(svg)",
|
|
1243
|
+
"functionExamples": [
|
|
1244
|
+
"css({ margin: { base: '2', _icon: '4' } })",
|
|
1245
|
+
"css({ margin: '2', _icon: { margin: '4' } })"
|
|
1246
|
+
],
|
|
1247
|
+
"jsxExamples": [
|
|
1248
|
+
"<Box margin={{ base: '2', _icon: '4' }} />",
|
|
1249
|
+
"<Box margin=\"2\" _icon={{ margin: '4' }} />"
|
|
1250
|
+
]
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "_starting",
|
|
1254
|
+
"value": "@starting-style",
|
|
1255
|
+
"functionExamples": [
|
|
1256
|
+
"css({ margin: { base: '2', _starting: '4' } })",
|
|
1257
|
+
"css({ margin: '2', _starting: { margin: '4' } })"
|
|
1258
|
+
],
|
|
1259
|
+
"jsxExamples": [
|
|
1260
|
+
"<Box margin={{ base: '2', _starting: '4' }} />",
|
|
1261
|
+
"<Box margin=\"2\" _starting={{ margin: '4' }} />"
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "_noscript",
|
|
1266
|
+
"value": "@media (scripting: none)",
|
|
1267
|
+
"functionExamples": [
|
|
1268
|
+
"css({ margin: { base: '2', _noscript: '4' } })",
|
|
1269
|
+
"css({ margin: '2', _noscript: { margin: '4' } })"
|
|
1270
|
+
],
|
|
1271
|
+
"jsxExamples": [
|
|
1272
|
+
"<Box margin={{ base: '2', _noscript: '4' }} />",
|
|
1273
|
+
"<Box margin=\"2\" _noscript={{ margin: '4' }} />"
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "_invertedColors",
|
|
1278
|
+
"value": "@media (inverted-colors: inverted)",
|
|
1279
|
+
"functionExamples": [
|
|
1280
|
+
"css({ margin: { base: '2', _invertedColors: '4' } })",
|
|
1281
|
+
"css({ margin: '2', _invertedColors: { margin: '4' } })"
|
|
1282
|
+
],
|
|
1283
|
+
"jsxExamples": [
|
|
1284
|
+
"<Box margin={{ base: '2', _invertedColors: '4' }} />",
|
|
1285
|
+
"<Box margin=\"2\" _invertedColors={{ margin: '4' }} />"
|
|
1286
|
+
]
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "_deleted",
|
|
1290
|
+
"value": "&:is(:deleted, [deleted], [data-deleted=true])",
|
|
1291
|
+
"functionExamples": [
|
|
1292
|
+
"css({ margin: { base: '2', _deleted: '4' } })",
|
|
1293
|
+
"css({ margin: '2', _deleted: { margin: '4' } })"
|
|
1294
|
+
],
|
|
1295
|
+
"jsxExamples": [
|
|
1296
|
+
"<Box margin={{ base: '2', _deleted: '4' }} />",
|
|
1297
|
+
"<Box margin=\"2\" _deleted={{ margin: '4' }} />"
|
|
1298
|
+
]
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "_collapsed",
|
|
1302
|
+
"value": "&:is([aria-collapsed=true], [data-collapsed], [data-state=\"collapsed\"])",
|
|
1303
|
+
"functionExamples": [
|
|
1304
|
+
"css({ margin: { base: '2', _collapsed: '4' } })",
|
|
1305
|
+
"css({ margin: '2', _collapsed: { margin: '4' } })"
|
|
1306
|
+
],
|
|
1307
|
+
"jsxExamples": [
|
|
1308
|
+
"<Box margin={{ base: '2', _collapsed: '4' }} />",
|
|
1309
|
+
"<Box margin=\"2\" _collapsed={{ margin: '4' }} />"
|
|
1310
|
+
]
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"name": "_utility",
|
|
1314
|
+
"value": "&[data-utility=true]",
|
|
1315
|
+
"functionExamples": [
|
|
1316
|
+
"css({ margin: { base: '2', _utility: '4' } })",
|
|
1317
|
+
"css({ margin: '2', _utility: { margin: '4' } })"
|
|
1318
|
+
],
|
|
1319
|
+
"jsxExamples": [
|
|
1320
|
+
"<Box margin={{ base: '2', _utility: '4' }} />",
|
|
1321
|
+
"<Box margin=\"2\" _utility={{ margin: '4' }} />"
|
|
1322
|
+
]
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "_error",
|
|
1326
|
+
"value": "&:is([data-error], [data-error=true])",
|
|
1327
|
+
"functionExamples": [
|
|
1328
|
+
"css({ margin: { base: '2', _error: '4' } })",
|
|
1329
|
+
"css({ margin: '2', _error: { margin: '4' } })"
|
|
1330
|
+
],
|
|
1331
|
+
"jsxExamples": [
|
|
1332
|
+
"<Box margin={{ base: '2', _error: '4' }} />",
|
|
1333
|
+
"<Box margin=\"2\" _error={{ margin: '4' }} />"
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"name": "_paused",
|
|
1338
|
+
"value": "&:is([data-paused=true])",
|
|
1339
|
+
"functionExamples": [
|
|
1340
|
+
"css({ margin: { base: '2', _paused: '4' } })",
|
|
1341
|
+
"css({ margin: '2', _paused: { margin: '4' } })"
|
|
1342
|
+
],
|
|
1343
|
+
"jsxExamples": [
|
|
1344
|
+
"<Box margin={{ base: '2', _paused: '4' }} />",
|
|
1345
|
+
"<Box margin=\"2\" _paused={{ margin: '4' }} />"
|
|
1346
|
+
]
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "xs",
|
|
1350
|
+
"value": "@media screen and (min-width: 30rem)",
|
|
1351
|
+
"functionExamples": [
|
|
1352
|
+
"css({ margin: { base: '2', xs: '4' } })",
|
|
1353
|
+
"css({ margin: '2', xs: { margin: '4' } })"
|
|
1354
|
+
],
|
|
1355
|
+
"jsxExamples": [
|
|
1356
|
+
"<Box margin={{ base: '2', xs: '4' }} />",
|
|
1357
|
+
"<Box margin=\"2\" xs={{ margin: '4' }} />"
|
|
1358
|
+
]
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "xsOnly",
|
|
1362
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 39.9975rem)",
|
|
1363
|
+
"functionExamples": [
|
|
1364
|
+
"css({ margin: { base: '2', xsOnly: '4' } })",
|
|
1365
|
+
"css({ margin: '2', xsOnly: { margin: '4' } })"
|
|
1366
|
+
],
|
|
1367
|
+
"jsxExamples": [
|
|
1368
|
+
"<Box margin={{ base: '2', xsOnly: '4' }} />",
|
|
1369
|
+
"<Box margin=\"2\" xsOnly={{ margin: '4' }} />"
|
|
1370
|
+
]
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "xsDown",
|
|
1374
|
+
"value": "@media screen and (max-width: 29.9975rem)",
|
|
1375
|
+
"functionExamples": [
|
|
1376
|
+
"css({ margin: { base: '2', xsDown: '4' } })",
|
|
1377
|
+
"css({ margin: '2', xsDown: { margin: '4' } })"
|
|
1378
|
+
],
|
|
1379
|
+
"jsxExamples": [
|
|
1380
|
+
"<Box margin={{ base: '2', xsDown: '4' }} />",
|
|
1381
|
+
"<Box margin=\"2\" xsDown={{ margin: '4' }} />"
|
|
1382
|
+
]
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "sm",
|
|
1386
|
+
"value": "@media screen and (min-width: 40rem)",
|
|
1387
|
+
"functionExamples": [
|
|
1388
|
+
"css({ margin: { base: '2', sm: '4' } })",
|
|
1389
|
+
"css({ margin: '2', sm: { margin: '4' } })"
|
|
1390
|
+
],
|
|
1391
|
+
"jsxExamples": [
|
|
1392
|
+
"<Box margin={{ base: '2', sm: '4' }} />",
|
|
1393
|
+
"<Box margin=\"2\" sm={{ margin: '4' }} />"
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "smOnly",
|
|
1398
|
+
"value": "@media screen and (min-width: 40rem) and (max-width: 47.9975rem)",
|
|
1399
|
+
"functionExamples": [
|
|
1400
|
+
"css({ margin: { base: '2', smOnly: '4' } })",
|
|
1401
|
+
"css({ margin: '2', smOnly: { margin: '4' } })"
|
|
1402
|
+
],
|
|
1403
|
+
"jsxExamples": [
|
|
1404
|
+
"<Box margin={{ base: '2', smOnly: '4' }} />",
|
|
1405
|
+
"<Box margin=\"2\" smOnly={{ margin: '4' }} />"
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "smDown",
|
|
1410
|
+
"value": "@media screen and (max-width: 39.9975rem)",
|
|
1411
|
+
"functionExamples": [
|
|
1412
|
+
"css({ margin: { base: '2', smDown: '4' } })",
|
|
1413
|
+
"css({ margin: '2', smDown: { margin: '4' } })"
|
|
1414
|
+
],
|
|
1415
|
+
"jsxExamples": [
|
|
1416
|
+
"<Box margin={{ base: '2', smDown: '4' }} />",
|
|
1417
|
+
"<Box margin=\"2\" smDown={{ margin: '4' }} />"
|
|
1418
|
+
]
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "md",
|
|
1422
|
+
"value": "@media screen and (min-width: 48rem)",
|
|
1423
|
+
"functionExamples": [
|
|
1424
|
+
"css({ margin: { base: '2', md: '4' } })",
|
|
1425
|
+
"css({ margin: '2', md: { margin: '4' } })"
|
|
1426
|
+
],
|
|
1427
|
+
"jsxExamples": [
|
|
1428
|
+
"<Box margin={{ base: '2', md: '4' }} />",
|
|
1429
|
+
"<Box margin=\"2\" md={{ margin: '4' }} />"
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "mdOnly",
|
|
1434
|
+
"value": "@media screen and (min-width: 48rem) and (max-width: 63.9975rem)",
|
|
1435
|
+
"functionExamples": [
|
|
1436
|
+
"css({ margin: { base: '2', mdOnly: '4' } })",
|
|
1437
|
+
"css({ margin: '2', mdOnly: { margin: '4' } })"
|
|
1438
|
+
],
|
|
1439
|
+
"jsxExamples": [
|
|
1440
|
+
"<Box margin={{ base: '2', mdOnly: '4' }} />",
|
|
1441
|
+
"<Box margin=\"2\" mdOnly={{ margin: '4' }} />"
|
|
1442
|
+
]
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "mdDown",
|
|
1446
|
+
"value": "@media screen and (max-width: 47.9975rem)",
|
|
1447
|
+
"functionExamples": [
|
|
1448
|
+
"css({ margin: { base: '2', mdDown: '4' } })",
|
|
1449
|
+
"css({ margin: '2', mdDown: { margin: '4' } })"
|
|
1450
|
+
],
|
|
1451
|
+
"jsxExamples": [
|
|
1452
|
+
"<Box margin={{ base: '2', mdDown: '4' }} />",
|
|
1453
|
+
"<Box margin=\"2\" mdDown={{ margin: '4' }} />"
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "lg",
|
|
1458
|
+
"value": "@media screen and (min-width: 64rem)",
|
|
1459
|
+
"functionExamples": [
|
|
1460
|
+
"css({ margin: { base: '2', lg: '4' } })",
|
|
1461
|
+
"css({ margin: '2', lg: { margin: '4' } })"
|
|
1462
|
+
],
|
|
1463
|
+
"jsxExamples": [
|
|
1464
|
+
"<Box margin={{ base: '2', lg: '4' }} />",
|
|
1465
|
+
"<Box margin=\"2\" lg={{ margin: '4' }} />"
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "lgOnly",
|
|
1470
|
+
"value": "@media screen and (min-width: 64rem) and (max-width: 79.9975rem)",
|
|
1471
|
+
"functionExamples": [
|
|
1472
|
+
"css({ margin: { base: '2', lgOnly: '4' } })",
|
|
1473
|
+
"css({ margin: '2', lgOnly: { margin: '4' } })"
|
|
1474
|
+
],
|
|
1475
|
+
"jsxExamples": [
|
|
1476
|
+
"<Box margin={{ base: '2', lgOnly: '4' }} />",
|
|
1477
|
+
"<Box margin=\"2\" lgOnly={{ margin: '4' }} />"
|
|
1478
|
+
]
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"name": "lgDown",
|
|
1482
|
+
"value": "@media screen and (max-width: 63.9975rem)",
|
|
1483
|
+
"functionExamples": [
|
|
1484
|
+
"css({ margin: { base: '2', lgDown: '4' } })",
|
|
1485
|
+
"css({ margin: '2', lgDown: { margin: '4' } })"
|
|
1486
|
+
],
|
|
1487
|
+
"jsxExamples": [
|
|
1488
|
+
"<Box margin={{ base: '2', lgDown: '4' }} />",
|
|
1489
|
+
"<Box margin=\"2\" lgDown={{ margin: '4' }} />"
|
|
1490
|
+
]
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "xl",
|
|
1494
|
+
"value": "@media screen and (min-width: 80rem)",
|
|
1495
|
+
"functionExamples": [
|
|
1496
|
+
"css({ margin: { base: '2', xl: '4' } })",
|
|
1497
|
+
"css({ margin: '2', xl: { margin: '4' } })"
|
|
1498
|
+
],
|
|
1499
|
+
"jsxExamples": [
|
|
1500
|
+
"<Box margin={{ base: '2', xl: '4' }} />",
|
|
1501
|
+
"<Box margin=\"2\" xl={{ margin: '4' }} />"
|
|
1502
|
+
]
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "xlOnly",
|
|
1506
|
+
"value": "@media screen and (min-width: 80rem) and (max-width: 95.9975rem)",
|
|
1507
|
+
"functionExamples": [
|
|
1508
|
+
"css({ margin: { base: '2', xlOnly: '4' } })",
|
|
1509
|
+
"css({ margin: '2', xlOnly: { margin: '4' } })"
|
|
1510
|
+
],
|
|
1511
|
+
"jsxExamples": [
|
|
1512
|
+
"<Box margin={{ base: '2', xlOnly: '4' }} />",
|
|
1513
|
+
"<Box margin=\"2\" xlOnly={{ margin: '4' }} />"
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"name": "xlDown",
|
|
1518
|
+
"value": "@media screen and (max-width: 79.9975rem)",
|
|
1519
|
+
"functionExamples": [
|
|
1520
|
+
"css({ margin: { base: '2', xlDown: '4' } })",
|
|
1521
|
+
"css({ margin: '2', xlDown: { margin: '4' } })"
|
|
1522
|
+
],
|
|
1523
|
+
"jsxExamples": [
|
|
1524
|
+
"<Box margin={{ base: '2', xlDown: '4' }} />",
|
|
1525
|
+
"<Box margin=\"2\" xlDown={{ margin: '4' }} />"
|
|
1526
|
+
]
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "2xl",
|
|
1530
|
+
"value": "@media screen and (min-width: 96rem)",
|
|
1531
|
+
"functionExamples": [
|
|
1532
|
+
"css({ margin: { base: '2', 2xl: '4' } })",
|
|
1533
|
+
"css({ margin: '2', 2xl: { margin: '4' } })"
|
|
1534
|
+
],
|
|
1535
|
+
"jsxExamples": [
|
|
1536
|
+
"<Box margin={{ base: '2', 2xl: '4' }} />",
|
|
1537
|
+
"<Box margin=\"2\" 2xl={{ margin: '4' }} />"
|
|
1538
|
+
]
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "2xlOnly",
|
|
1542
|
+
"value": "@media screen and (min-width: 96rem)",
|
|
1543
|
+
"functionExamples": [
|
|
1544
|
+
"css({ margin: { base: '2', 2xlOnly: '4' } })",
|
|
1545
|
+
"css({ margin: '2', 2xlOnly: { margin: '4' } })"
|
|
1546
|
+
],
|
|
1547
|
+
"jsxExamples": [
|
|
1548
|
+
"<Box margin={{ base: '2', 2xlOnly: '4' }} />",
|
|
1549
|
+
"<Box margin=\"2\" 2xlOnly={{ margin: '4' }} />"
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"name": "2xlDown",
|
|
1554
|
+
"value": "@media screen and (max-width: 95.9975rem)",
|
|
1555
|
+
"functionExamples": [
|
|
1556
|
+
"css({ margin: { base: '2', 2xlDown: '4' } })",
|
|
1557
|
+
"css({ margin: '2', 2xlDown: { margin: '4' } })"
|
|
1558
|
+
],
|
|
1559
|
+
"jsxExamples": [
|
|
1560
|
+
"<Box margin={{ base: '2', 2xlDown: '4' }} />",
|
|
1561
|
+
"<Box margin=\"2\" 2xlDown={{ margin: '4' }} />"
|
|
1562
|
+
]
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "xsToSm",
|
|
1566
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 39.9975rem)",
|
|
1567
|
+
"functionExamples": [
|
|
1568
|
+
"css({ margin: { base: '2', xsToSm: '4' } })",
|
|
1569
|
+
"css({ margin: '2', xsToSm: { margin: '4' } })"
|
|
1570
|
+
],
|
|
1571
|
+
"jsxExamples": [
|
|
1572
|
+
"<Box margin={{ base: '2', xsToSm: '4' }} />",
|
|
1573
|
+
"<Box margin=\"2\" xsToSm={{ margin: '4' }} />"
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "xsToMd",
|
|
1578
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 47.9975rem)",
|
|
1579
|
+
"functionExamples": [
|
|
1580
|
+
"css({ margin: { base: '2', xsToMd: '4' } })",
|
|
1581
|
+
"css({ margin: '2', xsToMd: { margin: '4' } })"
|
|
1582
|
+
],
|
|
1583
|
+
"jsxExamples": [
|
|
1584
|
+
"<Box margin={{ base: '2', xsToMd: '4' }} />",
|
|
1585
|
+
"<Box margin=\"2\" xsToMd={{ margin: '4' }} />"
|
|
1586
|
+
]
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "xsToLg",
|
|
1590
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 63.9975rem)",
|
|
1591
|
+
"functionExamples": [
|
|
1592
|
+
"css({ margin: { base: '2', xsToLg: '4' } })",
|
|
1593
|
+
"css({ margin: '2', xsToLg: { margin: '4' } })"
|
|
1594
|
+
],
|
|
1595
|
+
"jsxExamples": [
|
|
1596
|
+
"<Box margin={{ base: '2', xsToLg: '4' }} />",
|
|
1597
|
+
"<Box margin=\"2\" xsToLg={{ margin: '4' }} />"
|
|
1598
|
+
]
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "xsToXl",
|
|
1602
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 79.9975rem)",
|
|
1603
|
+
"functionExamples": [
|
|
1604
|
+
"css({ margin: { base: '2', xsToXl: '4' } })",
|
|
1605
|
+
"css({ margin: '2', xsToXl: { margin: '4' } })"
|
|
1606
|
+
],
|
|
1607
|
+
"jsxExamples": [
|
|
1608
|
+
"<Box margin={{ base: '2', xsToXl: '4' }} />",
|
|
1609
|
+
"<Box margin=\"2\" xsToXl={{ margin: '4' }} />"
|
|
1610
|
+
]
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "xsTo2xl",
|
|
1614
|
+
"value": "@media screen and (min-width: 30rem) and (max-width: 95.9975rem)",
|
|
1615
|
+
"functionExamples": [
|
|
1616
|
+
"css({ margin: { base: '2', xsTo2xl: '4' } })",
|
|
1617
|
+
"css({ margin: '2', xsTo2xl: { margin: '4' } })"
|
|
1618
|
+
],
|
|
1619
|
+
"jsxExamples": [
|
|
1620
|
+
"<Box margin={{ base: '2', xsTo2xl: '4' }} />",
|
|
1621
|
+
"<Box margin=\"2\" xsTo2xl={{ margin: '4' }} />"
|
|
1622
|
+
]
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "smToMd",
|
|
1626
|
+
"value": "@media screen and (min-width: 40rem) and (max-width: 47.9975rem)",
|
|
1627
|
+
"functionExamples": [
|
|
1628
|
+
"css({ margin: { base: '2', smToMd: '4' } })",
|
|
1629
|
+
"css({ margin: '2', smToMd: { margin: '4' } })"
|
|
1630
|
+
],
|
|
1631
|
+
"jsxExamples": [
|
|
1632
|
+
"<Box margin={{ base: '2', smToMd: '4' }} />",
|
|
1633
|
+
"<Box margin=\"2\" smToMd={{ margin: '4' }} />"
|
|
1634
|
+
]
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "smToLg",
|
|
1638
|
+
"value": "@media screen and (min-width: 40rem) and (max-width: 63.9975rem)",
|
|
1639
|
+
"functionExamples": [
|
|
1640
|
+
"css({ margin: { base: '2', smToLg: '4' } })",
|
|
1641
|
+
"css({ margin: '2', smToLg: { margin: '4' } })"
|
|
1642
|
+
],
|
|
1643
|
+
"jsxExamples": [
|
|
1644
|
+
"<Box margin={{ base: '2', smToLg: '4' }} />",
|
|
1645
|
+
"<Box margin=\"2\" smToLg={{ margin: '4' }} />"
|
|
1646
|
+
]
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"name": "smToXl",
|
|
1650
|
+
"value": "@media screen and (min-width: 40rem) and (max-width: 79.9975rem)",
|
|
1651
|
+
"functionExamples": [
|
|
1652
|
+
"css({ margin: { base: '2', smToXl: '4' } })",
|
|
1653
|
+
"css({ margin: '2', smToXl: { margin: '4' } })"
|
|
1654
|
+
],
|
|
1655
|
+
"jsxExamples": [
|
|
1656
|
+
"<Box margin={{ base: '2', smToXl: '4' }} />",
|
|
1657
|
+
"<Box margin=\"2\" smToXl={{ margin: '4' }} />"
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "smTo2xl",
|
|
1662
|
+
"value": "@media screen and (min-width: 40rem) and (max-width: 95.9975rem)",
|
|
1663
|
+
"functionExamples": [
|
|
1664
|
+
"css({ margin: { base: '2', smTo2xl: '4' } })",
|
|
1665
|
+
"css({ margin: '2', smTo2xl: { margin: '4' } })"
|
|
1666
|
+
],
|
|
1667
|
+
"jsxExamples": [
|
|
1668
|
+
"<Box margin={{ base: '2', smTo2xl: '4' }} />",
|
|
1669
|
+
"<Box margin=\"2\" smTo2xl={{ margin: '4' }} />"
|
|
1670
|
+
]
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "mdToLg",
|
|
1674
|
+
"value": "@media screen and (min-width: 48rem) and (max-width: 63.9975rem)",
|
|
1675
|
+
"functionExamples": [
|
|
1676
|
+
"css({ margin: { base: '2', mdToLg: '4' } })",
|
|
1677
|
+
"css({ margin: '2', mdToLg: { margin: '4' } })"
|
|
1678
|
+
],
|
|
1679
|
+
"jsxExamples": [
|
|
1680
|
+
"<Box margin={{ base: '2', mdToLg: '4' }} />",
|
|
1681
|
+
"<Box margin=\"2\" mdToLg={{ margin: '4' }} />"
|
|
1682
|
+
]
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "mdToXl",
|
|
1686
|
+
"value": "@media screen and (min-width: 48rem) and (max-width: 79.9975rem)",
|
|
1687
|
+
"functionExamples": [
|
|
1688
|
+
"css({ margin: { base: '2', mdToXl: '4' } })",
|
|
1689
|
+
"css({ margin: '2', mdToXl: { margin: '4' } })"
|
|
1690
|
+
],
|
|
1691
|
+
"jsxExamples": [
|
|
1692
|
+
"<Box margin={{ base: '2', mdToXl: '4' }} />",
|
|
1693
|
+
"<Box margin=\"2\" mdToXl={{ margin: '4' }} />"
|
|
1694
|
+
]
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "mdTo2xl",
|
|
1698
|
+
"value": "@media screen and (min-width: 48rem) and (max-width: 95.9975rem)",
|
|
1699
|
+
"functionExamples": [
|
|
1700
|
+
"css({ margin: { base: '2', mdTo2xl: '4' } })",
|
|
1701
|
+
"css({ margin: '2', mdTo2xl: { margin: '4' } })"
|
|
1702
|
+
],
|
|
1703
|
+
"jsxExamples": [
|
|
1704
|
+
"<Box margin={{ base: '2', mdTo2xl: '4' }} />",
|
|
1705
|
+
"<Box margin=\"2\" mdTo2xl={{ margin: '4' }} />"
|
|
1706
|
+
]
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "lgToXl",
|
|
1710
|
+
"value": "@media screen and (min-width: 64rem) and (max-width: 79.9975rem)",
|
|
1711
|
+
"functionExamples": [
|
|
1712
|
+
"css({ margin: { base: '2', lgToXl: '4' } })",
|
|
1713
|
+
"css({ margin: '2', lgToXl: { margin: '4' } })"
|
|
1714
|
+
],
|
|
1715
|
+
"jsxExamples": [
|
|
1716
|
+
"<Box margin={{ base: '2', lgToXl: '4' }} />",
|
|
1717
|
+
"<Box margin=\"2\" lgToXl={{ margin: '4' }} />"
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "lgTo2xl",
|
|
1722
|
+
"value": "@media screen and (min-width: 64rem) and (max-width: 95.9975rem)",
|
|
1723
|
+
"functionExamples": [
|
|
1724
|
+
"css({ margin: { base: '2', lgTo2xl: '4' } })",
|
|
1725
|
+
"css({ margin: '2', lgTo2xl: { margin: '4' } })"
|
|
1726
|
+
],
|
|
1727
|
+
"jsxExamples": [
|
|
1728
|
+
"<Box margin={{ base: '2', lgTo2xl: '4' }} />",
|
|
1729
|
+
"<Box margin=\"2\" lgTo2xl={{ margin: '4' }} />"
|
|
1730
|
+
]
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "xlTo2xl",
|
|
1734
|
+
"value": "@media screen and (min-width: 80rem) and (max-width: 95.9975rem)",
|
|
1735
|
+
"functionExamples": [
|
|
1736
|
+
"css({ margin: { base: '2', xlTo2xl: '4' } })",
|
|
1737
|
+
"css({ margin: '2', xlTo2xl: { margin: '4' } })"
|
|
1738
|
+
],
|
|
1739
|
+
"jsxExamples": [
|
|
1740
|
+
"<Box margin={{ base: '2', xlTo2xl: '4' }} />",
|
|
1741
|
+
"<Box margin=\"2\" xlTo2xl={{ margin: '4' }} />"
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "@/2xs",
|
|
1746
|
+
"value": "@container (min-width: 16rem)",
|
|
1747
|
+
"functionExamples": [
|
|
1748
|
+
"css({ margin: { base: '2', @/2xs: '4' } })",
|
|
1749
|
+
"css({ margin: '2', @/2xs: { margin: '4' } })"
|
|
1750
|
+
],
|
|
1751
|
+
"jsxExamples": [
|
|
1752
|
+
"<Box margin={{ base: '2', @/2xs: '4' }} />",
|
|
1753
|
+
"<Box margin=\"2\" @/2xs={{ margin: '4' }} />"
|
|
1754
|
+
]
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"name": "@/xs",
|
|
1758
|
+
"value": "@container (min-width: 20rem)",
|
|
1759
|
+
"functionExamples": [
|
|
1760
|
+
"css({ margin: { base: '2', @/xs: '4' } })",
|
|
1761
|
+
"css({ margin: '2', @/xs: { margin: '4' } })"
|
|
1762
|
+
],
|
|
1763
|
+
"jsxExamples": [
|
|
1764
|
+
"<Box margin={{ base: '2', @/xs: '4' }} />",
|
|
1765
|
+
"<Box margin=\"2\" @/xs={{ margin: '4' }} />"
|
|
1766
|
+
]
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"name": "@/sm",
|
|
1770
|
+
"value": "@container (min-width: 24rem)",
|
|
1771
|
+
"functionExamples": [
|
|
1772
|
+
"css({ margin: { base: '2', @/sm: '4' } })",
|
|
1773
|
+
"css({ margin: '2', @/sm: { margin: '4' } })"
|
|
1774
|
+
],
|
|
1775
|
+
"jsxExamples": [
|
|
1776
|
+
"<Box margin={{ base: '2', @/sm: '4' }} />",
|
|
1777
|
+
"<Box margin=\"2\" @/sm={{ margin: '4' }} />"
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "@/md",
|
|
1782
|
+
"value": "@container (min-width: 28rem)",
|
|
1783
|
+
"functionExamples": [
|
|
1784
|
+
"css({ margin: { base: '2', @/md: '4' } })",
|
|
1785
|
+
"css({ margin: '2', @/md: { margin: '4' } })"
|
|
1786
|
+
],
|
|
1787
|
+
"jsxExamples": [
|
|
1788
|
+
"<Box margin={{ base: '2', @/md: '4' }} />",
|
|
1789
|
+
"<Box margin=\"2\" @/md={{ margin: '4' }} />"
|
|
1790
|
+
]
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "@/lg",
|
|
1794
|
+
"value": "@container (min-width: 32rem)",
|
|
1795
|
+
"functionExamples": [
|
|
1796
|
+
"css({ margin: { base: '2', @/lg: '4' } })",
|
|
1797
|
+
"css({ margin: '2', @/lg: { margin: '4' } })"
|
|
1798
|
+
],
|
|
1799
|
+
"jsxExamples": [
|
|
1800
|
+
"<Box margin={{ base: '2', @/lg: '4' }} />",
|
|
1801
|
+
"<Box margin=\"2\" @/lg={{ margin: '4' }} />"
|
|
1802
|
+
]
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "@/xl",
|
|
1806
|
+
"value": "@container (min-width: 36rem)",
|
|
1807
|
+
"functionExamples": [
|
|
1808
|
+
"css({ margin: { base: '2', @/xl: '4' } })",
|
|
1809
|
+
"css({ margin: '2', @/xl: { margin: '4' } })"
|
|
1810
|
+
],
|
|
1811
|
+
"jsxExamples": [
|
|
1812
|
+
"<Box margin={{ base: '2', @/xl: '4' }} />",
|
|
1813
|
+
"<Box margin=\"2\" @/xl={{ margin: '4' }} />"
|
|
1814
|
+
]
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "@/2xl",
|
|
1818
|
+
"value": "@container (min-width: 42rem)",
|
|
1819
|
+
"functionExamples": [
|
|
1820
|
+
"css({ margin: { base: '2', @/2xl: '4' } })",
|
|
1821
|
+
"css({ margin: '2', @/2xl: { margin: '4' } })"
|
|
1822
|
+
],
|
|
1823
|
+
"jsxExamples": [
|
|
1824
|
+
"<Box margin={{ base: '2', @/2xl: '4' }} />",
|
|
1825
|
+
"<Box margin=\"2\" @/2xl={{ margin: '4' }} />"
|
|
1826
|
+
]
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "@/3xl",
|
|
1830
|
+
"value": "@container (min-width: 48rem)",
|
|
1831
|
+
"functionExamples": [
|
|
1832
|
+
"css({ margin: { base: '2', @/3xl: '4' } })",
|
|
1833
|
+
"css({ margin: '2', @/3xl: { margin: '4' } })"
|
|
1834
|
+
],
|
|
1835
|
+
"jsxExamples": [
|
|
1836
|
+
"<Box margin={{ base: '2', @/3xl: '4' }} />",
|
|
1837
|
+
"<Box margin=\"2\" @/3xl={{ margin: '4' }} />"
|
|
1838
|
+
]
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"name": "@/4xl",
|
|
1842
|
+
"value": "@container (min-width: 56rem)",
|
|
1843
|
+
"functionExamples": [
|
|
1844
|
+
"css({ margin: { base: '2', @/4xl: '4' } })",
|
|
1845
|
+
"css({ margin: '2', @/4xl: { margin: '4' } })"
|
|
1846
|
+
],
|
|
1847
|
+
"jsxExamples": [
|
|
1848
|
+
"<Box margin={{ base: '2', @/4xl: '4' }} />",
|
|
1849
|
+
"<Box margin=\"2\" @/4xl={{ margin: '4' }} />"
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"name": "@/5xl",
|
|
1854
|
+
"value": "@container (min-width: 64rem)",
|
|
1855
|
+
"functionExamples": [
|
|
1856
|
+
"css({ margin: { base: '2', @/5xl: '4' } })",
|
|
1857
|
+
"css({ margin: '2', @/5xl: { margin: '4' } })"
|
|
1858
|
+
],
|
|
1859
|
+
"jsxExamples": [
|
|
1860
|
+
"<Box margin={{ base: '2', @/5xl: '4' }} />",
|
|
1861
|
+
"<Box margin=\"2\" @/5xl={{ margin: '4' }} />"
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "@/6xl",
|
|
1866
|
+
"value": "@container (min-width: 72rem)",
|
|
1867
|
+
"functionExamples": [
|
|
1868
|
+
"css({ margin: { base: '2', @/6xl: '4' } })",
|
|
1869
|
+
"css({ margin: '2', @/6xl: { margin: '4' } })"
|
|
1870
|
+
],
|
|
1871
|
+
"jsxExamples": [
|
|
1872
|
+
"<Box margin={{ base: '2', @/6xl: '4' }} />",
|
|
1873
|
+
"<Box margin=\"2\" @/6xl={{ margin: '4' }} />"
|
|
1874
|
+
]
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"name": "@/7xl",
|
|
1878
|
+
"value": "@container (min-width: 80rem)",
|
|
1879
|
+
"functionExamples": [
|
|
1880
|
+
"css({ margin: { base: '2', @/7xl: '4' } })",
|
|
1881
|
+
"css({ margin: '2', @/7xl: { margin: '4' } })"
|
|
1882
|
+
],
|
|
1883
|
+
"jsxExamples": [
|
|
1884
|
+
"<Box margin={{ base: '2', @/7xl: '4' }} />",
|
|
1885
|
+
"<Box margin=\"2\" @/7xl={{ margin: '4' }} />"
|
|
1886
|
+
]
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "@/8xl",
|
|
1890
|
+
"value": "@container (min-width: 90rem)",
|
|
1891
|
+
"functionExamples": [
|
|
1892
|
+
"css({ margin: { base: '2', @/8xl: '4' } })",
|
|
1893
|
+
"css({ margin: '2', @/8xl: { margin: '4' } })"
|
|
1894
|
+
],
|
|
1895
|
+
"jsxExamples": [
|
|
1896
|
+
"<Box margin={{ base: '2', @/8xl: '4' }} />",
|
|
1897
|
+
"<Box margin=\"2\" @/8xl={{ margin: '4' }} />"
|
|
1898
|
+
]
|
|
1899
|
+
}
|
|
1900
|
+
]
|
|
1901
|
+
}
|