@ciridae/ui 0.2.3 → 0.2.4
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/dist/styled-system/css/css.d.ts +22 -0
- package/dist/styled-system/css/cva.d.ts +6 -0
- package/dist/styled-system/css/cx.d.ts +5 -0
- package/dist/styled-system/css/index.d.ts +5 -0
- package/dist/styled-system/css/sva.d.ts +4 -0
- package/dist/styled-system/patterns/aspect-ratio.d.ts +20 -0
- package/dist/styled-system/patterns/bleed.d.ts +21 -0
- package/dist/styled-system/patterns/box.d.ts +20 -0
- package/dist/styled-system/patterns/center.d.ts +20 -0
- package/dist/styled-system/patterns/circle.d.ts +20 -0
- package/dist/styled-system/patterns/container.d.ts +20 -0
- package/dist/styled-system/patterns/cq.d.ts +21 -0
- package/dist/styled-system/patterns/divider.d.ts +22 -0
- package/dist/styled-system/patterns/flex.d.ts +26 -0
- package/dist/styled-system/patterns/float.d.ts +23 -0
- package/dist/styled-system/patterns/grid-item.d.ts +25 -0
- package/dist/styled-system/patterns/grid.d.ts +24 -0
- package/dist/styled-system/patterns/hstack.d.ts +21 -0
- package/dist/styled-system/patterns/index.d.ts +21 -0
- package/dist/styled-system/patterns/link-overlay.d.ts +20 -0
- package/dist/styled-system/patterns/spacer.d.ts +20 -0
- package/dist/styled-system/patterns/square.d.ts +20 -0
- package/dist/styled-system/patterns/stack.d.ts +23 -0
- package/dist/styled-system/patterns/visually-hidden.d.ts +20 -0
- package/dist/styled-system/patterns/vstack.d.ts +21 -0
- package/dist/styled-system/patterns/wrap.d.ts +24 -0
- package/dist/styled-system/tokens/index.d.ts +9 -0
- package/dist/styled-system/tokens/tokens.d.ts +63 -0
- package/dist/styled-system/types/composition.d.ts +227 -0
- package/dist/styled-system/types/conditions.d.ts +310 -0
- package/dist/styled-system/types/csstype.d.ts +22570 -0
- package/dist/styled-system/types/global.d.ts +20 -0
- package/dist/styled-system/types/index.d.ts +7 -0
- package/dist/styled-system/types/parts.d.ts +8 -0
- package/dist/styled-system/types/pattern.d.ts +78 -0
- package/dist/styled-system/types/prop-type.d.ts +265 -0
- package/dist/styled-system/types/recipe.d.ts +181 -0
- package/dist/styled-system/types/selectors.d.ts +59 -0
- package/dist/styled-system/types/static-css.d.ts +56 -0
- package/dist/styled-system/types/style-props.d.ts +8089 -0
- package/dist/styled-system/types/system-types.d.ts +151 -0
- package/package.json +1 -1
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { CompositionStyleObject } from './system-types';
|
|
3
|
+
|
|
4
|
+
interface Token<T> {
|
|
5
|
+
value: T
|
|
6
|
+
description?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface Recursive<T> {
|
|
10
|
+
[key: string]: Recursive<T> | T
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* -----------------------------------------------------------------------------
|
|
14
|
+
* Text styles
|
|
15
|
+
* -----------------------------------------------------------------------------*/
|
|
16
|
+
|
|
17
|
+
type TextStyleProperty =
|
|
18
|
+
| 'color'
|
|
19
|
+
| 'direction'
|
|
20
|
+
| 'font'
|
|
21
|
+
| 'fontFamily'
|
|
22
|
+
| 'fontFeatureSettings'
|
|
23
|
+
| 'fontKerning'
|
|
24
|
+
| 'fontLanguageOverride'
|
|
25
|
+
| 'fontOpticalSizing'
|
|
26
|
+
| 'fontPalette'
|
|
27
|
+
| 'fontSize'
|
|
28
|
+
| 'fontSizeAdjust'
|
|
29
|
+
| 'fontStretch'
|
|
30
|
+
| 'fontStyle'
|
|
31
|
+
| 'fontSynthesis'
|
|
32
|
+
| 'fontVariant'
|
|
33
|
+
| 'fontVariantAlternates'
|
|
34
|
+
| 'fontVariantCaps'
|
|
35
|
+
| 'fontVariantLigatures'
|
|
36
|
+
| 'fontVariantNumeric'
|
|
37
|
+
| 'fontVariantPosition'
|
|
38
|
+
| 'fontVariationSettings'
|
|
39
|
+
| 'fontWeight'
|
|
40
|
+
| 'hangingPunctuation'
|
|
41
|
+
| 'hypens'
|
|
42
|
+
| 'hyphenateCharacter'
|
|
43
|
+
| 'hyphenateLimitChars'
|
|
44
|
+
| 'letterSpacing'
|
|
45
|
+
| 'lineBreak'
|
|
46
|
+
| 'lineHeight'
|
|
47
|
+
| 'quotes'
|
|
48
|
+
| 'overflowWrap'
|
|
49
|
+
| 'tabSize'
|
|
50
|
+
| 'textAlign'
|
|
51
|
+
| 'textAlignLast'
|
|
52
|
+
| 'textBox'
|
|
53
|
+
| 'textBoxEdge'
|
|
54
|
+
| 'textBoxTrim'
|
|
55
|
+
| 'textCombineUpright'
|
|
56
|
+
| 'textDecoration'
|
|
57
|
+
| 'textDecorationColor'
|
|
58
|
+
| 'textDecorationLine'
|
|
59
|
+
| 'textDecorationSkip'
|
|
60
|
+
| 'textDecorationSkipBox'
|
|
61
|
+
| 'textDecorationSkipInk'
|
|
62
|
+
| 'textDecorationSkipInset'
|
|
63
|
+
| 'textDecorationStyle'
|
|
64
|
+
| 'textDecorationThickness'
|
|
65
|
+
| 'textEmphasis'
|
|
66
|
+
| 'textEmphasisColor'
|
|
67
|
+
| 'textEmphasisPosition'
|
|
68
|
+
| 'textEmphasisStyle'
|
|
69
|
+
| 'textIndent'
|
|
70
|
+
| 'textJustify'
|
|
71
|
+
| 'textOrientation'
|
|
72
|
+
| 'textOverflow'
|
|
73
|
+
| 'textRendering'
|
|
74
|
+
| 'textShadow'
|
|
75
|
+
| 'textStroke'
|
|
76
|
+
| 'textStrokeColor'
|
|
77
|
+
| 'textStrokeWidth'
|
|
78
|
+
| 'textTransform'
|
|
79
|
+
| 'textUnderlineOffset'
|
|
80
|
+
| 'textUnderlinePosition'
|
|
81
|
+
| 'textWrap'
|
|
82
|
+
| 'textWrapMode'
|
|
83
|
+
| 'textWrapStyle'
|
|
84
|
+
| 'unicodeBidi'
|
|
85
|
+
| 'verticalAlign'
|
|
86
|
+
| 'whiteSpace'
|
|
87
|
+
| 'wordBreak'
|
|
88
|
+
| 'wordSpacing'
|
|
89
|
+
| 'writingMode'
|
|
90
|
+
|
|
91
|
+
export type TextStyle = CompositionStyleObject<TextStyleProperty>
|
|
92
|
+
|
|
93
|
+
export type TextStyles = Recursive<Token<TextStyle>>
|
|
94
|
+
|
|
95
|
+
/* -----------------------------------------------------------------------------
|
|
96
|
+
* Layer styles
|
|
97
|
+
* -----------------------------------------------------------------------------*/
|
|
98
|
+
|
|
99
|
+
type LogicalPlacement = 'Inline' | 'Block' | 'InlineStart' | 'InlineEnd' | 'BlockStart' | 'BlockEnd'
|
|
100
|
+
|
|
101
|
+
type PhysicalPlacement = 'Top' | 'Right' | 'Bottom' | 'Left'
|
|
102
|
+
|
|
103
|
+
type Placement = PhysicalPlacement | LogicalPlacement
|
|
104
|
+
|
|
105
|
+
type Radius =
|
|
106
|
+
| `Top${'Right' | 'Left'}`
|
|
107
|
+
| `Bottom${'Right' | 'Left'}`
|
|
108
|
+
| `Start${'Start' | 'End'}`
|
|
109
|
+
| `End${'Start' | 'End'}`
|
|
110
|
+
|
|
111
|
+
type LayerStyleProperty =
|
|
112
|
+
| 'aspectRatio'
|
|
113
|
+
| 'background'
|
|
114
|
+
| 'backgroundColor'
|
|
115
|
+
| 'backgroundImage'
|
|
116
|
+
| 'border'
|
|
117
|
+
| 'borderColor'
|
|
118
|
+
| 'borderImage'
|
|
119
|
+
| 'borderImageOutset'
|
|
120
|
+
| 'borderImageRepeat'
|
|
121
|
+
| 'borderImageSlice'
|
|
122
|
+
| 'borderImageSource'
|
|
123
|
+
| 'borderImageWidth'
|
|
124
|
+
| 'borderRadius'
|
|
125
|
+
| 'borderStyle'
|
|
126
|
+
| 'borderWidth'
|
|
127
|
+
| `border${Placement}`
|
|
128
|
+
| `border${Placement}Color`
|
|
129
|
+
| `border${Placement}Style`
|
|
130
|
+
| `border${Placement}Width`
|
|
131
|
+
| 'borderRadius'
|
|
132
|
+
| `border${Radius}Radius`
|
|
133
|
+
| 'boxShadow'
|
|
134
|
+
| 'boxShadowColor'
|
|
135
|
+
| 'clipPath'
|
|
136
|
+
| 'color'
|
|
137
|
+
| 'contain'
|
|
138
|
+
| 'content'
|
|
139
|
+
| 'contentVisibility'
|
|
140
|
+
| 'cursor'
|
|
141
|
+
| 'display'
|
|
142
|
+
| 'filter'
|
|
143
|
+
| 'backdropFilter'
|
|
144
|
+
| 'height'
|
|
145
|
+
| 'width'
|
|
146
|
+
| 'minHeight'
|
|
147
|
+
| 'minWidth'
|
|
148
|
+
| 'maxHeight'
|
|
149
|
+
| 'maxWidth'
|
|
150
|
+
| `margin${Placement}`
|
|
151
|
+
| 'inset'
|
|
152
|
+
| `inset${LogicalPlacement}`
|
|
153
|
+
| Lowercase<PhysicalPlacement>
|
|
154
|
+
| 'isolation'
|
|
155
|
+
| 'mask'
|
|
156
|
+
| 'maskClip'
|
|
157
|
+
| 'maskComposite'
|
|
158
|
+
| 'maskImage'
|
|
159
|
+
| 'maskMode'
|
|
160
|
+
| 'maskOrigin'
|
|
161
|
+
| 'maskPosition'
|
|
162
|
+
| 'maskRepeat'
|
|
163
|
+
| 'maskSize'
|
|
164
|
+
| 'mixBlendMode'
|
|
165
|
+
| 'objectFit'
|
|
166
|
+
| 'objectPosition'
|
|
167
|
+
| 'opacity'
|
|
168
|
+
| 'outline'
|
|
169
|
+
| 'outlineColor'
|
|
170
|
+
| 'outlineOffset'
|
|
171
|
+
| 'outlineStyle'
|
|
172
|
+
| 'outlineWidth'
|
|
173
|
+
| 'overflow'
|
|
174
|
+
| 'overflowX'
|
|
175
|
+
| 'overflowY'
|
|
176
|
+
| 'padding'
|
|
177
|
+
| `padding${Placement}`
|
|
178
|
+
| 'pointerEvents'
|
|
179
|
+
| 'position'
|
|
180
|
+
| 'resize'
|
|
181
|
+
| 'transform'
|
|
182
|
+
| 'transition'
|
|
183
|
+
| 'visibility'
|
|
184
|
+
| 'willChange'
|
|
185
|
+
| 'zIndex'
|
|
186
|
+
| 'backgroundBlendMode'
|
|
187
|
+
| 'backgroundAttachment'
|
|
188
|
+
| 'backgroundClip'
|
|
189
|
+
| 'backgroundOrigin'
|
|
190
|
+
| 'backgroundPosition'
|
|
191
|
+
| 'backgroundRepeat'
|
|
192
|
+
| 'backgroundSize'
|
|
193
|
+
|
|
194
|
+
export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
|
|
195
|
+
|
|
196
|
+
export type LayerStyles = Recursive<Token<LayerStyle>>
|
|
197
|
+
|
|
198
|
+
/* -----------------------------------------------------------------------------
|
|
199
|
+
* Motion styles
|
|
200
|
+
* -----------------------------------------------------------------------------*/
|
|
201
|
+
|
|
202
|
+
type AnimationStyleProperty =
|
|
203
|
+
| 'animation'
|
|
204
|
+
| 'animationComposition'
|
|
205
|
+
| 'animationDelay'
|
|
206
|
+
| 'animationDirection'
|
|
207
|
+
| 'animationDuration'
|
|
208
|
+
| 'animationFillMode'
|
|
209
|
+
| 'animationIterationCount'
|
|
210
|
+
| 'animationName'
|
|
211
|
+
| 'animationPlayState'
|
|
212
|
+
| 'animationTimingFunction'
|
|
213
|
+
| 'animationRange'
|
|
214
|
+
| 'animationRangeStart'
|
|
215
|
+
| 'animationRangeEnd'
|
|
216
|
+
| 'animationTimeline'
|
|
217
|
+
| 'transformOrigin'
|
|
218
|
+
|
|
219
|
+
export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty>
|
|
220
|
+
|
|
221
|
+
export type AnimationStyles = Recursive<Token<AnimationStyle>>
|
|
222
|
+
|
|
223
|
+
export interface CompositionStyles {
|
|
224
|
+
textStyles: TextStyles
|
|
225
|
+
layerStyles: LayerStyles
|
|
226
|
+
animationStyles: AnimationStyles
|
|
227
|
+
}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { AnySelector, Selectors } from './selectors';
|
|
3
|
+
|
|
4
|
+
export interface Conditions {
|
|
5
|
+
/** `&:is(:hover, [data-hover])` */
|
|
6
|
+
"_hover": string
|
|
7
|
+
/** `&:is(:focus, [data-focus])` */
|
|
8
|
+
"_focus": string
|
|
9
|
+
/** `&:focus-within` */
|
|
10
|
+
"_focusWithin": string
|
|
11
|
+
/** `&:is(:focus-visible, [data-focus-visible])` */
|
|
12
|
+
"_focusVisible": string
|
|
13
|
+
/** `&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])` */
|
|
14
|
+
"_disabled": string
|
|
15
|
+
/** `&:is(:active, [data-active])` */
|
|
16
|
+
"_active": string
|
|
17
|
+
/** `&:visited` */
|
|
18
|
+
"_visited": string
|
|
19
|
+
/** `&:target` */
|
|
20
|
+
"_target": string
|
|
21
|
+
/** `&:is(:read-only, [data-read-only], [aria-readonly=true])` */
|
|
22
|
+
"_readOnly": string
|
|
23
|
+
/** `&:read-write` */
|
|
24
|
+
"_readWrite": string
|
|
25
|
+
/** `&:is(:empty, [data-empty])` */
|
|
26
|
+
"_empty": string
|
|
27
|
+
/** `&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])` */
|
|
28
|
+
"_checked": string
|
|
29
|
+
/** `&:enabled` */
|
|
30
|
+
"_enabled": string
|
|
31
|
+
/** `&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])` */
|
|
32
|
+
"_expanded": string
|
|
33
|
+
/** `&[data-highlighted]` */
|
|
34
|
+
"_highlighted": string
|
|
35
|
+
/** `&[data-complete]` */
|
|
36
|
+
"_complete": string
|
|
37
|
+
/** `&[data-incomplete]` */
|
|
38
|
+
"_incomplete": string
|
|
39
|
+
/** `&[data-dragging]` */
|
|
40
|
+
"_dragging": string
|
|
41
|
+
/** `&::before` */
|
|
42
|
+
"_before": string
|
|
43
|
+
/** `&::after` */
|
|
44
|
+
"_after": string
|
|
45
|
+
/** `&::first-letter` */
|
|
46
|
+
"_firstLetter": string
|
|
47
|
+
/** `&::first-line` */
|
|
48
|
+
"_firstLine": string
|
|
49
|
+
/** `&::marker, &::-webkit-details-marker` */
|
|
50
|
+
"_marker": string
|
|
51
|
+
/** `&::selection` */
|
|
52
|
+
"_selection": string
|
|
53
|
+
/** `&::file-selector-button` */
|
|
54
|
+
"_file": string
|
|
55
|
+
/** `&::backdrop` */
|
|
56
|
+
"_backdrop": string
|
|
57
|
+
/** `&:first-child` */
|
|
58
|
+
"_first": string
|
|
59
|
+
/** `&:last-child` */
|
|
60
|
+
"_last": string
|
|
61
|
+
/** `&:only-child` */
|
|
62
|
+
"_only": string
|
|
63
|
+
/** `&:nth-child(even)` */
|
|
64
|
+
"_even": string
|
|
65
|
+
/** `&:nth-child(odd)` */
|
|
66
|
+
"_odd": string
|
|
67
|
+
/** `&:first-of-type` */
|
|
68
|
+
"_firstOfType": string
|
|
69
|
+
/** `&:last-of-type` */
|
|
70
|
+
"_lastOfType": string
|
|
71
|
+
/** `&:only-of-type` */
|
|
72
|
+
"_onlyOfType": string
|
|
73
|
+
/** `.peer:is(:focus, [data-focus]) ~ &` */
|
|
74
|
+
"_peerFocus": string
|
|
75
|
+
/** `.peer:is(:hover, [data-hover]) ~ &` */
|
|
76
|
+
"_peerHover": string
|
|
77
|
+
/** `.peer:is(:active, [data-active]) ~ &` */
|
|
78
|
+
"_peerActive": string
|
|
79
|
+
/** `.peer:focus-within ~ &` */
|
|
80
|
+
"_peerFocusWithin": string
|
|
81
|
+
/** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
|
|
82
|
+
"_peerFocusVisible": string
|
|
83
|
+
/** `.peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &` */
|
|
84
|
+
"_peerDisabled": string
|
|
85
|
+
/** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
|
|
86
|
+
"_peerChecked": string
|
|
87
|
+
/** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */
|
|
88
|
+
"_peerInvalid": string
|
|
89
|
+
/** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */
|
|
90
|
+
"_peerExpanded": string
|
|
91
|
+
/** `.peer:placeholder-shown ~ &` */
|
|
92
|
+
"_peerPlaceholderShown": string
|
|
93
|
+
/** `.group:is(:focus, [data-focus]) &` */
|
|
94
|
+
"_groupFocus": string
|
|
95
|
+
/** `.group:is(:hover, [data-hover]) &` */
|
|
96
|
+
"_groupHover": string
|
|
97
|
+
/** `.group:is(:active, [data-active]) &` */
|
|
98
|
+
"_groupActive": string
|
|
99
|
+
/** `.group:focus-within &` */
|
|
100
|
+
"_groupFocusWithin": string
|
|
101
|
+
/** `.group:is(:focus-visible, [data-focus-visible]) &` */
|
|
102
|
+
"_groupFocusVisible": string
|
|
103
|
+
/** `.group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &` */
|
|
104
|
+
"_groupDisabled": string
|
|
105
|
+
/** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
|
|
106
|
+
"_groupChecked": string
|
|
107
|
+
/** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
|
|
108
|
+
"_groupExpanded": string
|
|
109
|
+
/** `.group:is(:invalid, [data-invalid], [aria-invalid=true]) &` */
|
|
110
|
+
"_groupInvalid": string
|
|
111
|
+
/** `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])` */
|
|
112
|
+
"_indeterminate": string
|
|
113
|
+
/** `&:is(:required, [data-required], [aria-required=true])` */
|
|
114
|
+
"_required": string
|
|
115
|
+
/** `&:is(:valid, [data-valid])` */
|
|
116
|
+
"_valid": string
|
|
117
|
+
/** `&:is(:invalid, [data-invalid], [aria-invalid=true])` */
|
|
118
|
+
"_invalid": string
|
|
119
|
+
/** `&:autofill` */
|
|
120
|
+
"_autofill": string
|
|
121
|
+
/** `&:is(:in-range, [data-in-range])` */
|
|
122
|
+
"_inRange": string
|
|
123
|
+
/** `&:is(:out-of-range, [data-outside-range])` */
|
|
124
|
+
"_outOfRange": string
|
|
125
|
+
/** `&::placeholder, &[data-placeholder]` */
|
|
126
|
+
"_placeholder": string
|
|
127
|
+
/** `&:is(:placeholder-shown, [data-placeholder-shown])` */
|
|
128
|
+
"_placeholderShown": string
|
|
129
|
+
/** `&:is([aria-pressed=true], [data-pressed])` */
|
|
130
|
+
"_pressed": string
|
|
131
|
+
/** `&:is([aria-selected=true], [data-selected])` */
|
|
132
|
+
"_selected": string
|
|
133
|
+
/** `&:is([aria-grabbed=true], [data-grabbed])` */
|
|
134
|
+
"_grabbed": string
|
|
135
|
+
/** `&[data-state=under-value]` */
|
|
136
|
+
"_underValue": string
|
|
137
|
+
/** `&[data-state=over-value]` */
|
|
138
|
+
"_overValue": string
|
|
139
|
+
/** `&[data-state=at-value]` */
|
|
140
|
+
"_atValue": string
|
|
141
|
+
/** `&:default` */
|
|
142
|
+
"_default": string
|
|
143
|
+
/** `&:optional` */
|
|
144
|
+
"_optional": string
|
|
145
|
+
/** `&:is([open], [data-open], [data-state="open"], :popover-open)` */
|
|
146
|
+
"_open": string
|
|
147
|
+
/** `&:is([closed], [data-closed], [data-state="closed"])` */
|
|
148
|
+
"_closed": string
|
|
149
|
+
/** `&:is(:fullscreen, [data-fullscreen])` */
|
|
150
|
+
"_fullscreen": string
|
|
151
|
+
/** `&:is([data-loading], [aria-busy=true])` */
|
|
152
|
+
"_loading": string
|
|
153
|
+
/** `&:is([hidden], [data-hidden])` */
|
|
154
|
+
"_hidden": string
|
|
155
|
+
/** `&:is([aria-current=true], [data-current])` */
|
|
156
|
+
"_current": string
|
|
157
|
+
/** `&[aria-current=page]` */
|
|
158
|
+
"_currentPage": string
|
|
159
|
+
/** `&[aria-current=step]` */
|
|
160
|
+
"_currentStep": string
|
|
161
|
+
/** `&[data-today]` */
|
|
162
|
+
"_today": string
|
|
163
|
+
/** `&[data-unavailable]` */
|
|
164
|
+
"_unavailable": string
|
|
165
|
+
/** `&[data-range-start]` */
|
|
166
|
+
"_rangeStart": string
|
|
167
|
+
/** `&[data-range-end]` */
|
|
168
|
+
"_rangeEnd": string
|
|
169
|
+
/** `&[data-now]` */
|
|
170
|
+
"_now": string
|
|
171
|
+
/** `&[data-topmost]` */
|
|
172
|
+
"_topmost": string
|
|
173
|
+
/** `@media (prefers-reduced-motion: reduce)` */
|
|
174
|
+
"_motionReduce": string
|
|
175
|
+
/** `@media (prefers-reduced-motion: no-preference)` */
|
|
176
|
+
"_motionSafe": string
|
|
177
|
+
/** `@media print` */
|
|
178
|
+
"_print": string
|
|
179
|
+
/** `@media (orientation: landscape)` */
|
|
180
|
+
"_landscape": string
|
|
181
|
+
/** `@media (orientation: portrait)` */
|
|
182
|
+
"_portrait": string
|
|
183
|
+
/** `.dark &` */
|
|
184
|
+
"_dark": string
|
|
185
|
+
/** `.light &` */
|
|
186
|
+
"_light": string
|
|
187
|
+
/** `@media (prefers-color-scheme: dark)` */
|
|
188
|
+
"_osDark": string
|
|
189
|
+
/** `@media (prefers-color-scheme: light)` */
|
|
190
|
+
"_osLight": string
|
|
191
|
+
/** `@media (forced-colors: active)` */
|
|
192
|
+
"_highContrast": string
|
|
193
|
+
/** `@media (prefers-contrast: less)` */
|
|
194
|
+
"_lessContrast": string
|
|
195
|
+
/** `@media (prefers-contrast: more)` */
|
|
196
|
+
"_moreContrast": string
|
|
197
|
+
/** `:where([dir=ltr], :dir(ltr)) &` */
|
|
198
|
+
"_ltr": string
|
|
199
|
+
/** `:where([dir=rtl], :dir(rtl)) &` */
|
|
200
|
+
"_rtl": string
|
|
201
|
+
/** `&::-webkit-scrollbar` */
|
|
202
|
+
"_scrollbar": string
|
|
203
|
+
/** `&::-webkit-scrollbar-thumb` */
|
|
204
|
+
"_scrollbarThumb": string
|
|
205
|
+
/** `&::-webkit-scrollbar-track` */
|
|
206
|
+
"_scrollbarTrack": string
|
|
207
|
+
/** `&[data-orientation=horizontal]` */
|
|
208
|
+
"_horizontal": string
|
|
209
|
+
/** `&[data-orientation=vertical]` */
|
|
210
|
+
"_vertical": string
|
|
211
|
+
/** `& :where(svg)` */
|
|
212
|
+
"_icon": string
|
|
213
|
+
/** `@starting-style` */
|
|
214
|
+
"_starting": string
|
|
215
|
+
/** `@media (scripting: none)` */
|
|
216
|
+
"_noscript": string
|
|
217
|
+
/** `@media (inverted-colors: inverted)` */
|
|
218
|
+
"_invertedColors": string
|
|
219
|
+
/** `@media screen and (min-width: 40rem)` */
|
|
220
|
+
"sm": string
|
|
221
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
222
|
+
"smOnly": string
|
|
223
|
+
/** `@media screen and (max-width: 39.9975rem)` */
|
|
224
|
+
"smDown": string
|
|
225
|
+
/** `@media screen and (min-width: 48rem)` */
|
|
226
|
+
"md": string
|
|
227
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
228
|
+
"mdOnly": string
|
|
229
|
+
/** `@media screen and (max-width: 47.9975rem)` */
|
|
230
|
+
"mdDown": string
|
|
231
|
+
/** `@media screen and (min-width: 64rem)` */
|
|
232
|
+
"lg": string
|
|
233
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
234
|
+
"lgOnly": string
|
|
235
|
+
/** `@media screen and (max-width: 63.9975rem)` */
|
|
236
|
+
"lgDown": string
|
|
237
|
+
/** `@media screen and (min-width: 80rem)` */
|
|
238
|
+
"xl": string
|
|
239
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
240
|
+
"xlOnly": string
|
|
241
|
+
/** `@media screen and (max-width: 79.9975rem)` */
|
|
242
|
+
"xlDown": string
|
|
243
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
244
|
+
"2xl": string
|
|
245
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
246
|
+
"2xlOnly": string
|
|
247
|
+
/** `@media screen and (max-width: 95.9975rem)` */
|
|
248
|
+
"2xlDown": string
|
|
249
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
250
|
+
"smToMd": string
|
|
251
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
|
|
252
|
+
"smToLg": string
|
|
253
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
|
|
254
|
+
"smToXl": string
|
|
255
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
|
|
256
|
+
"smTo2xl": string
|
|
257
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
258
|
+
"mdToLg": string
|
|
259
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
|
|
260
|
+
"mdToXl": string
|
|
261
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
|
|
262
|
+
"mdTo2xl": string
|
|
263
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
264
|
+
"lgToXl": string
|
|
265
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
|
|
266
|
+
"lgTo2xl": string
|
|
267
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
268
|
+
"xlTo2xl": string
|
|
269
|
+
/** `@container (min-width: 20rem)` */
|
|
270
|
+
"@/xs": string
|
|
271
|
+
/** `@container (min-width: 24rem)` */
|
|
272
|
+
"@/sm": string
|
|
273
|
+
/** `@container (min-width: 28rem)` */
|
|
274
|
+
"@/md": string
|
|
275
|
+
/** `@container (min-width: 32rem)` */
|
|
276
|
+
"@/lg": string
|
|
277
|
+
/** `@container (min-width: 36rem)` */
|
|
278
|
+
"@/xl": string
|
|
279
|
+
/** `@container (min-width: 42rem)` */
|
|
280
|
+
"@/2xl": string
|
|
281
|
+
/** `@container (min-width: 48rem)` */
|
|
282
|
+
"@/3xl": string
|
|
283
|
+
/** `@container (min-width: 56rem)` */
|
|
284
|
+
"@/4xl": string
|
|
285
|
+
/** `@container (min-width: 64rem)` */
|
|
286
|
+
"@/5xl": string
|
|
287
|
+
/** `@container (min-width: 72rem)` */
|
|
288
|
+
"@/6xl": string
|
|
289
|
+
/** `@container (min-width: 80rem)` */
|
|
290
|
+
"@/7xl": string
|
|
291
|
+
/** `@container (min-width: 90rem)` */
|
|
292
|
+
"@/8xl": string
|
|
293
|
+
/** The base (=no conditions) styles to apply */
|
|
294
|
+
"base": string
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type ConditionalValue<V> =
|
|
298
|
+
| V
|
|
299
|
+
| Array<V | null>
|
|
300
|
+
| {
|
|
301
|
+
[K in keyof Conditions]?: ConditionalValue<V>
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type Nested<P> = P & {
|
|
305
|
+
[K in Selectors]?: Nested<P>
|
|
306
|
+
} & {
|
|
307
|
+
[K in AnySelector]?: Nested<P>
|
|
308
|
+
} & {
|
|
309
|
+
[K in keyof Conditions]?: Nested<P>
|
|
310
|
+
}
|