teacss 0.2.0-alpha.0 → 0.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/colors.cjs +262 -257
- package/dist/colors.d.mts +18 -267
- package/dist/colors.d.ts +18 -267
- package/dist/colors.mjs +2 -2
- package/dist/postcss.cjs +28 -28
- package/dist/postcss.mjs +15 -15
- package/dist/stitches.cjs +12 -4
- package/dist/stitches.d.mts +1726 -1730
- package/dist/stitches.d.ts +1726 -1730
- package/dist/stitches.mjs +3 -3
- package/dist/unocss.cjs +668 -1531
- package/dist/unocss.d.mts +3 -633
- package/dist/unocss.d.ts +3 -633
- package/dist/unocss.mjs +647 -1505
- package/package.json +2 -2
package/dist/stitches.d.ts
CHANGED
|
@@ -1,5 +1,627 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
|
|
3
|
+
/* Utilities */
|
|
4
|
+
/* ========================================================================== */
|
|
5
|
+
|
|
6
|
+
/** Returns a string with the given prefix followed by the given values. */
|
|
7
|
+
type Prefixed<K extends string, T> = `${K}${Extract<T, boolean | number | string>}`;
|
|
8
|
+
|
|
9
|
+
/** Returns an object from the given object assigned with the values of another given object. */
|
|
10
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
11
|
+
type Assign<T1 = {}, T2 = {}> = T1 extends any ? Omit<T1, keyof T2> & T2 : never;
|
|
12
|
+
|
|
13
|
+
/** Returns a widened value from the given value. */
|
|
14
|
+
type Widen<T> = T extends number
|
|
15
|
+
? `${T}` | T
|
|
16
|
+
: T extends "true"
|
|
17
|
+
? boolean | T
|
|
18
|
+
: T extends "false"
|
|
19
|
+
? boolean | T
|
|
20
|
+
: T extends `${number}`
|
|
21
|
+
? number | T
|
|
22
|
+
: T;
|
|
23
|
+
|
|
24
|
+
/** Narrowed string. */
|
|
25
|
+
type String = string & Record<never, never>;
|
|
26
|
+
|
|
27
|
+
/** Narrowed number or string. */
|
|
28
|
+
type Index = (number | string) & Record<never, never>;
|
|
29
|
+
|
|
30
|
+
/** Narrowed function. */
|
|
31
|
+
type Function = (...args: any[]) => unknown;
|
|
32
|
+
|
|
33
|
+
/** Widened object. */
|
|
34
|
+
type WideObject = { [name in number | string]: boolean | number | string | undefined | WideObject };
|
|
35
|
+
|
|
36
|
+
type IntrinsicElementsKeys = keyof JSX.IntrinsicElements;
|
|
37
|
+
|
|
38
|
+
/** Returns a new Styled Component. */
|
|
39
|
+
interface StyledComponent<
|
|
40
|
+
Type = "span",
|
|
41
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
42
|
+
Props = {},
|
|
43
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
44
|
+
Media = {},
|
|
45
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
46
|
+
CSS = {},
|
|
47
|
+
> extends React$1.ForwardRefExoticComponent<
|
|
48
|
+
Assign<
|
|
49
|
+
Type extends IntrinsicElementsKeys | React$1.ComponentType<any> ? React$1.ComponentPropsWithRef<Type> : never,
|
|
50
|
+
TransformProps<Props, Media> & { css?: CSS }
|
|
51
|
+
>
|
|
52
|
+
> {
|
|
53
|
+
(
|
|
54
|
+
props: Assign<
|
|
55
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
56
|
+
Type extends IntrinsicElementsKeys | React$1.ComponentType<any> ? React$1.ComponentPropsWithRef<Type> : {},
|
|
57
|
+
TransformProps<Props, Media> & {
|
|
58
|
+
as?: never;
|
|
59
|
+
css?: CSS;
|
|
60
|
+
}
|
|
61
|
+
>,
|
|
62
|
+
): React$1.ReactElement | null;
|
|
63
|
+
|
|
64
|
+
<
|
|
65
|
+
C extends CSS,
|
|
66
|
+
As extends string | React$1.ComponentType<any> = Type extends string | React$1.ComponentType<any> ? Type : any,
|
|
67
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
68
|
+
InnerProps = Type extends StyledComponent<any, infer IP, any, any> ? IP : {},
|
|
69
|
+
>(
|
|
70
|
+
props: Assign<
|
|
71
|
+
React$1.ComponentPropsWithRef<As extends IntrinsicElementsKeys | React$1.ComponentType<any> ? As : never>,
|
|
72
|
+
TransformProps<Assign<InnerProps, Props>, Media> & {
|
|
73
|
+
as?: As;
|
|
74
|
+
css?: {
|
|
75
|
+
[K in keyof C]: K extends keyof CSS ? CSS[K] : never;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
>,
|
|
79
|
+
): React$1.ReactElement | null;
|
|
80
|
+
|
|
81
|
+
className: string;
|
|
82
|
+
selector: string;
|
|
83
|
+
|
|
84
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
85
|
+
[$$StyledComponentType]: Type;
|
|
86
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
87
|
+
[$$StyledComponentProps]: Props;
|
|
88
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
89
|
+
[$$StyledComponentMedia]: Media;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** Returns a new CSS Component. */
|
|
93
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
94
|
+
interface CssComponent<Type = "span", Props = {}, Media = {}, CSS = {}> {
|
|
95
|
+
(
|
|
96
|
+
props?: TransformProps<Props, Media> & {
|
|
97
|
+
css?: CSS;
|
|
98
|
+
} & {
|
|
99
|
+
[name in number | string]: any;
|
|
100
|
+
},
|
|
101
|
+
): string & {
|
|
102
|
+
className: string;
|
|
103
|
+
selector: string;
|
|
104
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
105
|
+
props: {};
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
className: string;
|
|
109
|
+
selector: string;
|
|
110
|
+
|
|
111
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
112
|
+
[$$StyledComponentType]: Type;
|
|
113
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
114
|
+
[$$StyledComponentProps]: Props;
|
|
115
|
+
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
116
|
+
[$$StyledComponentMedia]: Media;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type TransformProps<Props, Media> = {
|
|
120
|
+
[K in keyof Props]:
|
|
121
|
+
| Props[K]
|
|
122
|
+
| ({
|
|
123
|
+
[KMedia in Prefixed<"@", "initial" | keyof Media>]?: Props[K];
|
|
124
|
+
} & {
|
|
125
|
+
[KMedia in string]: Props[K];
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/** Unique symbol used to reference the type of a Styled Component. */
|
|
130
|
+
declare const $$StyledComponentType: unique symbol;
|
|
131
|
+
|
|
132
|
+
/** Unique symbol used to reference the type of a Styled Component. */
|
|
133
|
+
type $$StyledComponentType = typeof $$StyledComponentType;
|
|
134
|
+
|
|
135
|
+
/** Unique symbol used to reference the props of a Styled Component. */
|
|
136
|
+
declare const $$StyledComponentProps: unique symbol;
|
|
137
|
+
|
|
138
|
+
/** Unique symbol used to reference the props of a Styled Component. */
|
|
139
|
+
type $$StyledComponentProps = typeof $$StyledComponentProps;
|
|
140
|
+
|
|
141
|
+
/** Unique symbol used to reference the media passed into a Styled Component. */
|
|
142
|
+
declare const $$StyledComponentMedia: unique symbol;
|
|
143
|
+
|
|
144
|
+
/** Unique symbol used to reference the media passed into a Styled Component. */
|
|
145
|
+
type $$StyledComponentMedia = typeof $$StyledComponentMedia;
|
|
146
|
+
|
|
147
|
+
/** Returns the first Styled Component type from the given array of compositions. */
|
|
148
|
+
type StyledComponentType<T extends any[]> = T[0] extends never
|
|
149
|
+
? "span"
|
|
150
|
+
: T[0] extends string
|
|
151
|
+
? T[0]
|
|
152
|
+
: T[0] extends (props: any) => any
|
|
153
|
+
? T[0]
|
|
154
|
+
: T[0] extends { [$$StyledComponentType]: unknown }
|
|
155
|
+
? T[0][$$StyledComponentType]
|
|
156
|
+
: T extends [lead: any, ...tail: infer V]
|
|
157
|
+
? StyledComponentType<V>
|
|
158
|
+
: never;
|
|
159
|
+
|
|
160
|
+
/** Returns the cumulative variants from the given array of compositions. */
|
|
161
|
+
type StyledComponentProps<T extends any[]> = ($$StyledComponentProps extends keyof T[0]
|
|
162
|
+
? T[0][$$StyledComponentProps]
|
|
163
|
+
: T[0] extends { variants: { [name: string]: unknown } }
|
|
164
|
+
? {
|
|
165
|
+
[K in keyof T[0]["variants"]]?: Widen<keyof T[0]["variants"][K]>;
|
|
166
|
+
}
|
|
167
|
+
: // biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
168
|
+
{}) &
|
|
169
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
170
|
+
(T extends [lead: any, ...tail: infer V] ? StyledComponentProps<V> : {});
|
|
171
|
+
|
|
172
|
+
interface ScaleValue$1 {
|
|
173
|
+
token: number | string;
|
|
174
|
+
value: number | string;
|
|
175
|
+
scale: string;
|
|
176
|
+
prefix: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
interface Token<
|
|
180
|
+
/** Token name. */
|
|
181
|
+
NameType extends number | string = string,
|
|
182
|
+
/** Token value. */
|
|
183
|
+
ValueType extends number | string = string,
|
|
184
|
+
/** Token scale. */
|
|
185
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
186
|
+
ScaleType extends string | void = void,
|
|
187
|
+
/** Token prefix. */
|
|
188
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
189
|
+
PrefixType extends string | void = void,
|
|
190
|
+
> extends ScaleValue$1 {
|
|
191
|
+
// biome-ignore lint/suspicious/noMisleadingInstantiator: <explanation>
|
|
192
|
+
new (name: NameType, value: ValueType, scale?: ScaleType, prefix?: PrefixType): this;
|
|
193
|
+
|
|
194
|
+
/** Name of the token. */
|
|
195
|
+
token: NameType;
|
|
196
|
+
|
|
197
|
+
/** Value of the token. */
|
|
198
|
+
value: ValueType;
|
|
199
|
+
|
|
200
|
+
/** Category of interface the token applies to. */
|
|
201
|
+
scale: ScaleType extends string ? ScaleType : "";
|
|
202
|
+
|
|
203
|
+
/** Prefix added before the serialized custom property. */
|
|
204
|
+
prefix: PrefixType extends string ? PrefixType : "";
|
|
205
|
+
|
|
206
|
+
/** Serialized custom property representing the token. */
|
|
207
|
+
variable: `--${this["prefix"] extends "" ? "" : `${this["prefix"]}-`}${this["scale"] extends "" ? "" : `${this["scale"]}-`}${this["token"]}`;
|
|
208
|
+
|
|
209
|
+
/** Serialized CSS var() representing the token. */
|
|
210
|
+
computedValue: `var(${this["variable"]})`;
|
|
211
|
+
|
|
212
|
+
/** Returns a serialized CSS var() representing the token. */
|
|
213
|
+
toString(): this["computedValue"];
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Remove an index signature from a type */
|
|
217
|
+
type RemoveIndex<T> = { [k in keyof T as string extends k ? never : number extends k ? never : k]: T[k] };
|
|
218
|
+
|
|
219
|
+
/** Stitches interface. */
|
|
220
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
221
|
+
interface Stitches<Prefix extends string = "", Media extends {} = {}, Theme extends {} = {}, ThemeMap extends {} = {}, Utils extends {} = {}> {
|
|
222
|
+
config: {
|
|
223
|
+
prefix: Prefix;
|
|
224
|
+
media: Media;
|
|
225
|
+
theme: Theme;
|
|
226
|
+
themeMap: ThemeMap;
|
|
227
|
+
utils: Utils;
|
|
228
|
+
};
|
|
229
|
+
prefix: Prefix;
|
|
230
|
+
/** The **prefix** property defined.
|
|
231
|
+
*
|
|
232
|
+
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
233
|
+
*/
|
|
234
|
+
globalCss: <Styles extends { [K: string]: any }>(
|
|
235
|
+
...styles: ({
|
|
236
|
+
/** The **@import** CSS at-rule imports style rules from other style sheets. */
|
|
237
|
+
"@import"?: unknown;
|
|
238
|
+
|
|
239
|
+
/** The **@font-face** CSS at-rule specifies a custom font with which to display text. */
|
|
240
|
+
"@font-face"?: unknown;
|
|
241
|
+
} & {
|
|
242
|
+
[K in keyof Styles]: K extends "@import"
|
|
243
|
+
? string | string[]
|
|
244
|
+
: K extends "@font-face"
|
|
245
|
+
? AtRule.FontFace | Array<AtRule.FontFace>
|
|
246
|
+
: K extends `@keyframes ${string}`
|
|
247
|
+
? {
|
|
248
|
+
[KeyFrame in string]: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
249
|
+
}
|
|
250
|
+
: K extends `@property ${string}`
|
|
251
|
+
? AtRule.Property
|
|
252
|
+
: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
253
|
+
})[]
|
|
254
|
+
) => () => string;
|
|
255
|
+
keyframes: (style: {
|
|
256
|
+
[offset: string]: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
257
|
+
}) => {
|
|
258
|
+
(): string;
|
|
259
|
+
name: string;
|
|
260
|
+
};
|
|
261
|
+
createTheme: <
|
|
262
|
+
Argument0 extends
|
|
263
|
+
| string
|
|
264
|
+
| ({
|
|
265
|
+
[Scale in keyof Theme]?: {
|
|
266
|
+
[Token in keyof Theme[Scale]]?: boolean | number | string;
|
|
267
|
+
};
|
|
268
|
+
} & {
|
|
269
|
+
[scale in string]: {
|
|
270
|
+
[token in number | string]: boolean | number | string;
|
|
271
|
+
};
|
|
272
|
+
}),
|
|
273
|
+
Argument1 extends
|
|
274
|
+
| string
|
|
275
|
+
| ({
|
|
276
|
+
[Scale in keyof Theme]?: {
|
|
277
|
+
[Token in keyof Theme[Scale]]?: boolean | number | string;
|
|
278
|
+
};
|
|
279
|
+
} & {
|
|
280
|
+
[scale in string]: {
|
|
281
|
+
[token in number | string]: boolean | number | string;
|
|
282
|
+
};
|
|
283
|
+
}),
|
|
284
|
+
>(
|
|
285
|
+
nameOrScalesArg0: Argument0,
|
|
286
|
+
nameOrScalesArg1?: Argument1,
|
|
287
|
+
) => string & {
|
|
288
|
+
className: string;
|
|
289
|
+
selector: string;
|
|
290
|
+
} & (Argument0 extends string ? ThemeTokens<Argument1, Prefix> : ThemeTokens<Argument0, Prefix>);
|
|
291
|
+
theme: string & {
|
|
292
|
+
className: string;
|
|
293
|
+
selector: string;
|
|
294
|
+
} & {
|
|
295
|
+
[Scale in keyof Theme]: {
|
|
296
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
297
|
+
[Token in keyof Theme[Scale]]: Token<Extract<Token, string | number>, string, Extract<Scale, string | void>, Extract<Prefix, string | void>>;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
reset: () => void;
|
|
301
|
+
getCssText: () => string;
|
|
302
|
+
css: <
|
|
303
|
+
Composers extends (string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | Function | { [name: string]: unknown })[],
|
|
304
|
+
CSS = CSS$1<Media, Theme, ThemeMap, Utils>,
|
|
305
|
+
>(
|
|
306
|
+
...composers: {
|
|
307
|
+
[K in keyof Composers]: // Strings, React Components, and Functions can be skipped over
|
|
308
|
+
string extends Composers[K]
|
|
309
|
+
? Composers[K]
|
|
310
|
+
: Composers[K] extends string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | Function
|
|
311
|
+
? Composers[K]
|
|
312
|
+
: RemoveIndex<CSS> & {
|
|
313
|
+
/** The **variants** property lets you set a subclass of styles based on a key-value pair.
|
|
314
|
+
*
|
|
315
|
+
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
316
|
+
*/
|
|
317
|
+
variants?: {
|
|
318
|
+
[Name in string]: {
|
|
319
|
+
[Pair in number | string]: CSS;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
/** The **compoundVariants** property lets you to set a subclass of styles based on a combination of active variants.
|
|
323
|
+
*
|
|
324
|
+
* [Read Documentation](https://stitches.dev/docs/variants#compound-variants)
|
|
325
|
+
*/
|
|
326
|
+
compoundVariants?: (("variants" extends keyof Composers[K]
|
|
327
|
+
? {
|
|
328
|
+
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
329
|
+
}
|
|
330
|
+
: WideObject) & {
|
|
331
|
+
css: CSS;
|
|
332
|
+
})[];
|
|
333
|
+
/** The **defaultVariants** property allows you to predefine the active key-value pairs of variants.
|
|
334
|
+
*
|
|
335
|
+
* [Read Documentation](https://stitches.dev/docs/variants#default-variants)
|
|
336
|
+
*/
|
|
337
|
+
defaultVariants?: "variants" extends keyof Composers[K]
|
|
338
|
+
? {
|
|
339
|
+
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
340
|
+
}
|
|
341
|
+
: WideObject;
|
|
342
|
+
} & CSS & {
|
|
343
|
+
[K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
) => CssComponent<StyledComponentType<Composers>, StyledComponentProps<Composers>, Media, CSS>;
|
|
347
|
+
styled: <
|
|
348
|
+
Type extends keyof JSX.IntrinsicElements | React.ComponentType<any> | Function,
|
|
349
|
+
Composers extends (string | React.ComponentType<any> | Function | { [name: string]: unknown })[],
|
|
350
|
+
CSS = CSS$1<Media, Theme, ThemeMap, Utils>,
|
|
351
|
+
>(
|
|
352
|
+
type: Type,
|
|
353
|
+
...composers: {
|
|
354
|
+
[K in keyof Composers]: // Strings, React Components, and Functions can be skipped over
|
|
355
|
+
string extends Composers[K]
|
|
356
|
+
? Composers[K]
|
|
357
|
+
: Composers[K] extends string | React.ComponentType<any> | Function
|
|
358
|
+
? Composers[K]
|
|
359
|
+
: RemoveIndex<CSS> & {
|
|
360
|
+
/** The **variants** property lets you set a subclass of styles based on a key-value pair.
|
|
361
|
+
*
|
|
362
|
+
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
363
|
+
*/
|
|
364
|
+
variants?: {
|
|
365
|
+
[Name in string]: {
|
|
366
|
+
[Pair in number | string]: CSS;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
/** The **compoundVariants** property lets you to set a subclass of styles based on a combination of active variants.
|
|
370
|
+
*
|
|
371
|
+
* [Read Documentation](https://stitches.dev/docs/variants#compound-variants)
|
|
372
|
+
*/
|
|
373
|
+
compoundVariants?: (("variants" extends keyof Composers[K]
|
|
374
|
+
? {
|
|
375
|
+
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
376
|
+
}
|
|
377
|
+
: WideObject) & {
|
|
378
|
+
css: CSS;
|
|
379
|
+
})[];
|
|
380
|
+
/** The **defaultVariants** property allows you to predefine the active key-value pairs of variants.
|
|
381
|
+
*
|
|
382
|
+
* [Read Documentation](https://stitches.dev/docs/variants#default-variants)
|
|
383
|
+
*/
|
|
384
|
+
defaultVariants?: "variants" extends keyof Composers[K]
|
|
385
|
+
? {
|
|
386
|
+
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
387
|
+
}
|
|
388
|
+
: WideObject;
|
|
389
|
+
} & CSS & {
|
|
390
|
+
[K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
) => StyledComponent<Type, StyledComponentProps<Composers>, Media, CSS$1<Media, Theme, ThemeMap, Utils>>;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
type ThemeTokens<Values, Prefix> = {
|
|
397
|
+
[Scale in keyof Values]: {
|
|
398
|
+
[Token in keyof Values[Scale]]: Token<
|
|
399
|
+
Extract<Token, number | string>,
|
|
400
|
+
Values[Scale][Token] & (string | number),
|
|
401
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
402
|
+
Extract<Scale, string | void>,
|
|
403
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
404
|
+
Extract<Prefix, string | void>
|
|
405
|
+
>;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
/** Configuration Interface */
|
|
410
|
+
declare namespace ConfigType {
|
|
411
|
+
/** Prefix interface. */
|
|
412
|
+
export type Prefix<T = ""> = T extends string ? T : string;
|
|
413
|
+
|
|
414
|
+
/** Media interface. */
|
|
415
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
416
|
+
export type Media<T = {}> = {
|
|
417
|
+
[name in keyof T]: T[name] extends string ? T[name] : string;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
/** Theme interface. */
|
|
421
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
422
|
+
export type Theme<T = {}> = {
|
|
423
|
+
borderStyles?: { [token in number | string]: boolean | number | string };
|
|
424
|
+
borderWidths?: { [token in number | string]: boolean | number | string };
|
|
425
|
+
colors?: { [token in number | string]: boolean | number | string };
|
|
426
|
+
fonts?: { [token in number | string]: boolean | number | string };
|
|
427
|
+
fontSizes?: { [token in number | string]: boolean | number | string };
|
|
428
|
+
fontWeights?: { [token in number | string]: boolean | number | string };
|
|
429
|
+
letterSpacings?: { [token in number | string]: boolean | number | string };
|
|
430
|
+
lineHeights?: { [token in number | string]: boolean | number | string };
|
|
431
|
+
radii?: { [token in number | string]: boolean | number | string };
|
|
432
|
+
shadows?: { [token in number | string]: boolean | number | string };
|
|
433
|
+
sizes?: { [token in number | string]: boolean | number | string };
|
|
434
|
+
space?: { [token in number | string]: boolean | number | string };
|
|
435
|
+
transitions?: { [token in number | string]: boolean | number | string };
|
|
436
|
+
zIndices?: { [token in number | string]: boolean | number | string };
|
|
437
|
+
} & {
|
|
438
|
+
[Scale in keyof T]: {
|
|
439
|
+
[Token in keyof T[Scale]]: T[Scale][Token] extends boolean | number | string ? T[Scale][Token] : boolean | number | string;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
/** ThemeMap interface. */
|
|
444
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
445
|
+
export type ThemeMap<T = {}> = {
|
|
446
|
+
[Property in keyof T]: T[Property] extends string ? T[Property] : string;
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/** Utility interface. */
|
|
450
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
451
|
+
export type Utils<T = {}> = {
|
|
452
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
453
|
+
[Property in keyof T]: T[Property] extends (value: infer V) => {}
|
|
454
|
+
?
|
|
455
|
+
| T[Property]
|
|
456
|
+
| ((value: V) => {
|
|
457
|
+
[K in keyof CSSProperties]?: CSSProperties[K] | V;
|
|
458
|
+
})
|
|
459
|
+
: never;
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/** Default ThemeMap. */
|
|
464
|
+
interface DefaultThemeMap {
|
|
465
|
+
gap: "space";
|
|
466
|
+
gridGap: "space";
|
|
467
|
+
columnGap: "space";
|
|
468
|
+
gridColumnGap: "space";
|
|
469
|
+
rowGap: "space";
|
|
470
|
+
gridRowGap: "space";
|
|
471
|
+
inset: "space";
|
|
472
|
+
insetBlock: "space";
|
|
473
|
+
insetBlockEnd: "space";
|
|
474
|
+
insetBlockStart: "space";
|
|
475
|
+
insetInline: "space";
|
|
476
|
+
insetInlineEnd: "space";
|
|
477
|
+
insetInlineStart: "space";
|
|
478
|
+
margin: "space";
|
|
479
|
+
marginTop: "space";
|
|
480
|
+
marginRight: "space";
|
|
481
|
+
marginBottom: "space";
|
|
482
|
+
marginLeft: "space";
|
|
483
|
+
marginBlock: "space";
|
|
484
|
+
marginBlockEnd: "space";
|
|
485
|
+
marginBlockStart: "space";
|
|
486
|
+
marginInline: "space";
|
|
487
|
+
marginInlineEnd: "space";
|
|
488
|
+
marginInlineStart: "space";
|
|
489
|
+
padding: "space";
|
|
490
|
+
paddingTop: "space";
|
|
491
|
+
paddingRight: "space";
|
|
492
|
+
paddingBottom: "space";
|
|
493
|
+
paddingLeft: "space";
|
|
494
|
+
paddingBlock: "space";
|
|
495
|
+
paddingBlockEnd: "space";
|
|
496
|
+
paddingBlockStart: "space";
|
|
497
|
+
paddingInline: "space";
|
|
498
|
+
paddingInlineEnd: "space";
|
|
499
|
+
paddingInlineStart: "space";
|
|
500
|
+
scrollMargin: "space";
|
|
501
|
+
scrollMarginTop: "space";
|
|
502
|
+
scrollMarginRight: "space";
|
|
503
|
+
scrollMarginBottom: "space";
|
|
504
|
+
scrollMarginLeft: "space";
|
|
505
|
+
scrollMarginBlock: "space";
|
|
506
|
+
scrollMarginBlockEnd: "space";
|
|
507
|
+
scrollMarginBlockStart: "space";
|
|
508
|
+
scrollMarginInline: "space";
|
|
509
|
+
scrollMarginInlineEnd: "space";
|
|
510
|
+
scrollMarginInlineStart: "space";
|
|
511
|
+
scrollPadding: "space";
|
|
512
|
+
scrollPaddingTop: "space";
|
|
513
|
+
scrollPaddingRight: "space";
|
|
514
|
+
scrollPaddingBottom: "space";
|
|
515
|
+
scrollPaddingLeft: "space";
|
|
516
|
+
scrollPaddingBlock: "space";
|
|
517
|
+
scrollPaddingBlockEnd: "space";
|
|
518
|
+
scrollPaddingBlockStart: "space";
|
|
519
|
+
scrollPaddingInline: "space";
|
|
520
|
+
scrollPaddingInlineEnd: "space";
|
|
521
|
+
scrollPaddingInlineStart: "space";
|
|
522
|
+
top: "space";
|
|
523
|
+
right: "space";
|
|
524
|
+
bottom: "space";
|
|
525
|
+
left: "space";
|
|
526
|
+
|
|
527
|
+
fontSize: "fontSizes";
|
|
528
|
+
|
|
529
|
+
background: "colors";
|
|
530
|
+
backgroundColor: "colors";
|
|
531
|
+
backgroundImage: "colors";
|
|
532
|
+
borderImage: "colors";
|
|
533
|
+
border: "colors";
|
|
534
|
+
borderBlock: "colors";
|
|
535
|
+
borderBlockEnd: "colors";
|
|
536
|
+
borderBlockStart: "colors";
|
|
537
|
+
borderBottom: "colors";
|
|
538
|
+
borderBottomColor: "colors";
|
|
539
|
+
borderColor: "colors";
|
|
540
|
+
borderInline: "colors";
|
|
541
|
+
borderInlineEnd: "colors";
|
|
542
|
+
borderInlineStart: "colors";
|
|
543
|
+
borderLeft: "colors";
|
|
544
|
+
borderLeftColor: "colors";
|
|
545
|
+
borderRight: "colors";
|
|
546
|
+
borderRightColor: "colors";
|
|
547
|
+
borderTop: "colors";
|
|
548
|
+
borderTopColor: "colors";
|
|
549
|
+
caretColor: "colors";
|
|
550
|
+
color: "colors";
|
|
551
|
+
columnRuleColor: "colors";
|
|
552
|
+
outline: "colors";
|
|
553
|
+
outlineColor: "colors";
|
|
554
|
+
fill: "colors";
|
|
555
|
+
stroke: "colors";
|
|
556
|
+
textDecorationColor: "colors";
|
|
557
|
+
|
|
558
|
+
fontFamily: "fonts";
|
|
559
|
+
|
|
560
|
+
fontWeight: "fontWeights";
|
|
561
|
+
lineHeight: "lineHeights";
|
|
562
|
+
|
|
563
|
+
letterSpacing: "letterSpacings";
|
|
564
|
+
|
|
565
|
+
blockSize: "sizes";
|
|
566
|
+
minBlockSize: "sizes";
|
|
567
|
+
maxBlockSize: "sizes";
|
|
568
|
+
inlineSize: "sizes";
|
|
569
|
+
minInlineSize: "sizes";
|
|
570
|
+
maxInlineSize: "sizes";
|
|
571
|
+
width: "sizes";
|
|
572
|
+
minWidth: "sizes";
|
|
573
|
+
maxWidth: "sizes";
|
|
574
|
+
height: "sizes";
|
|
575
|
+
minHeight: "sizes";
|
|
576
|
+
maxHeight: "sizes";
|
|
577
|
+
flexBasis: "sizes";
|
|
578
|
+
gridTemplateColumns: "sizes";
|
|
579
|
+
gridTemplateRows: "sizes";
|
|
580
|
+
|
|
581
|
+
borderWidth: "borderWidths";
|
|
582
|
+
borderTopWidth: "borderWidths";
|
|
583
|
+
borderLeftWidth: "borderWidths";
|
|
584
|
+
borderRightWidth: "borderWidths";
|
|
585
|
+
borderBottomWidth: "borderWidths";
|
|
586
|
+
|
|
587
|
+
borderStyle: "borderStyles";
|
|
588
|
+
borderTopStyle: "borderStyles";
|
|
589
|
+
borderLeftStyle: "borderStyles";
|
|
590
|
+
borderRightStyle: "borderStyles";
|
|
591
|
+
borderBottomStyle: "borderStyles";
|
|
592
|
+
|
|
593
|
+
borderRadius: "radii";
|
|
594
|
+
borderTopLeftRadius: "radii";
|
|
595
|
+
borderTopRightRadius: "radii";
|
|
596
|
+
borderBottomRightRadius: "radii";
|
|
597
|
+
borderBottomLeftRadius: "radii";
|
|
598
|
+
|
|
599
|
+
boxShadow: "shadows";
|
|
600
|
+
textShadow: "shadows";
|
|
601
|
+
|
|
602
|
+
transition: "transitions";
|
|
603
|
+
|
|
604
|
+
zIndex: "zIndices";
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/** Returns a function used to create a new Stitches interface. */
|
|
608
|
+
type CreateStitches = <
|
|
609
|
+
Prefix extends string = "",
|
|
610
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
611
|
+
Media extends {} = {},
|
|
612
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
613
|
+
Theme extends {} = {},
|
|
614
|
+
ThemeMap extends {} = DefaultThemeMap,
|
|
615
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
616
|
+
Utils extends {} = {},
|
|
617
|
+
>(config?: {
|
|
618
|
+
prefix?: ConfigType.Prefix<Prefix>;
|
|
619
|
+
media?: ConfigType.Media<Media>;
|
|
620
|
+
theme?: ConfigType.Theme<Theme>;
|
|
621
|
+
themeMap?: ConfigType.ThemeMap<ThemeMap>;
|
|
622
|
+
utils?: ConfigType.Utils<Utils>;
|
|
623
|
+
}) => Stitches<Prefix, Media, Theme, ThemeMap, Utils>;
|
|
624
|
+
|
|
3
625
|
interface StandardLonghandProperties {
|
|
4
626
|
/**
|
|
5
627
|
* The CSS **`align-content`** property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.
|
|
@@ -4107,2107 +4729,1481 @@ declare namespace Property {
|
|
|
4107
4729
|
|
|
4108
4730
|
export type LineHeightStep = number;
|
|
4109
4731
|
|
|
4110
|
-
export type ListStyle = "inside" | "none" | "outside" | OnlyString;
|
|
4111
|
-
|
|
4112
|
-
export type ListStyleImage = "none" | OnlyString;
|
|
4113
|
-
|
|
4114
|
-
export type ListStylePosition = "inside" | "outside";
|
|
4115
|
-
|
|
4116
|
-
export type ListStyleType = "none" | OnlyString;
|
|
4117
|
-
|
|
4118
|
-
export type Margin = "auto" | OnlyStringNumeric;
|
|
4119
|
-
|
|
4120
|
-
export type MarginBlock = "auto" | OnlyStringNumeric;
|
|
4121
|
-
|
|
4122
|
-
export type MarginBlockEnd = "auto" | OnlyStringNumeric;
|
|
4123
|
-
|
|
4124
|
-
export type MarginBlockStart = "auto" | OnlyStringNumeric;
|
|
4125
|
-
|
|
4126
|
-
export type MarginBottom = "auto" | OnlyStringNumeric;
|
|
4127
|
-
|
|
4128
|
-
export type MarginInline = "auto" | OnlyStringNumeric;
|
|
4129
|
-
|
|
4130
|
-
export type MarginInlineEnd = "auto" | OnlyStringNumeric;
|
|
4131
|
-
|
|
4132
|
-
export type MarginInlineStart = "auto" | OnlyStringNumeric;
|
|
4133
|
-
|
|
4134
|
-
export type MarginLeft = "auto" | OnlyStringNumeric;
|
|
4135
|
-
|
|
4136
|
-
export type MarginRight = "auto" | OnlyStringNumeric;
|
|
4137
|
-
|
|
4138
|
-
export type MarginTop = "auto" | OnlyStringNumeric;
|
|
4139
|
-
|
|
4140
|
-
export type Mask = DataType.MaskLayer | OnlyString;
|
|
4141
|
-
|
|
4142
|
-
export type MaskBorder = "alpha" | "luminance" | "none" | "repeat" | "round" | "space" | "stretch" | OnlyStringNumeric;
|
|
4143
|
-
|
|
4144
|
-
export type MaskBorderMode = "alpha" | "luminance";
|
|
4145
|
-
|
|
4146
|
-
export type MaskBorderOutset = OnlyStringNumeric;
|
|
4147
|
-
|
|
4148
|
-
export type MaskBorderRepeat = "repeat" | "round" | "space" | "stretch" | OnlyString;
|
|
4149
|
-
|
|
4150
|
-
export type MaskBorderSlice = OnlyStringNumeric;
|
|
4151
|
-
|
|
4152
|
-
export type MaskBorderSource = "none" | OnlyString;
|
|
4153
|
-
|
|
4154
|
-
export type MaskBorderWidth = "auto" | OnlyStringNumeric;
|
|
4155
|
-
|
|
4156
|
-
export type MaskClip = DataType.GeometryBox | "no-clip" | OnlyString;
|
|
4157
|
-
|
|
4158
|
-
export type MaskComposite = DataType.CompositingOperator | OnlyString;
|
|
4159
|
-
|
|
4160
|
-
export type MaskImage = "none" | OnlyString;
|
|
4161
|
-
|
|
4162
|
-
export type MaskMode = DataType.MaskingMode | OnlyString;
|
|
4163
|
-
|
|
4164
|
-
export type MaskOrigin = DataType.Box | "margin-box" | OnlyString;
|
|
4165
|
-
|
|
4166
|
-
export type MaskPosition = DataType.Position | OnlyString;
|
|
4167
|
-
|
|
4168
|
-
export type MaskRepeat = DataType.RepeatStyle | OnlyString;
|
|
4169
|
-
|
|
4170
|
-
export type MaskSize = DataType.BgSize | OnlyString;
|
|
4171
|
-
|
|
4172
|
-
export type MaskType = "alpha" | "luminance";
|
|
4173
|
-
|
|
4174
|
-
export type MathStyle = "compact" | "normal";
|
|
4175
|
-
|
|
4176
|
-
export type MaxBlockSize = number | "stretch" | "fit-content" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4177
|
-
|
|
4178
|
-
export type MaxHeight = number | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4179
|
-
|
|
4180
|
-
export type MaxInlineSize = number | "stretch" | "fit-content" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4181
|
-
|
|
4182
|
-
export type MaxLines = "none" | OnlyNumber;
|
|
4183
|
-
|
|
4184
|
-
export type MaxWidth = number | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4185
|
-
|
|
4186
|
-
export type MinBlockSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
|
|
4187
|
-
|
|
4188
|
-
export type MinHeight = number | "auto" | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | OnlyString;
|
|
4189
|
-
|
|
4190
|
-
export type MinInlineSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
|
|
4191
|
-
|
|
4192
|
-
export type MinWidth = number | "auto" | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | OnlyString;
|
|
4193
|
-
|
|
4194
|
-
export type MixBlendMode = DataType.BlendMode;
|
|
4195
|
-
|
|
4196
|
-
export type Offset = DataType.Position | DataType.GeometryBox | "auto" | "none" | OnlyString;
|
|
4197
|
-
|
|
4198
|
-
export type OffsetDistance = OnlyStringNumeric;
|
|
4199
|
-
|
|
4200
|
-
export type OffsetPath = DataType.GeometryBox | "none" | OnlyString;
|
|
4201
|
-
|
|
4202
|
-
export type OffsetRotate = "auto" | "reverse" | OnlyString;
|
|
4203
|
-
|
|
4204
|
-
export type ObjectFit = "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
4205
|
-
|
|
4206
|
-
export type ObjectPosition = DataType.Position;
|
|
4207
|
-
|
|
4208
|
-
export type OffsetAnchor = DataType.Position | "auto";
|
|
4209
|
-
|
|
4210
|
-
export type Opacity = OnlyStringNumeric;
|
|
4211
|
-
|
|
4212
|
-
export type Order = OnlyNumber;
|
|
4213
|
-
|
|
4214
|
-
export type Orphans = OnlyNumber;
|
|
4215
|
-
|
|
4216
|
-
export type Outline = DataType.Color | DataType.LineStyle | DataType.LineWidth | "auto" | "invert" | OnlyString;
|
|
4217
|
-
|
|
4218
|
-
export type OutlineColor = DataType.Color | "invert";
|
|
4219
|
-
|
|
4220
|
-
export type OutlineOffset = number;
|
|
4221
|
-
|
|
4222
|
-
export type OutlineStyle = DataType.LineStyle | "auto" | OnlyString;
|
|
4223
|
-
|
|
4224
|
-
export type OutlineWidth = DataType.LineWidth;
|
|
4225
|
-
|
|
4226
|
-
export type Overflow = "auto" | "clip" | "hidden" | "scroll" | "visible" | OnlyString;
|
|
4227
|
-
|
|
4228
|
-
export type OverflowAnchor = "auto" | "none";
|
|
4229
|
-
|
|
4230
|
-
export type OverflowBlock = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4231
|
-
|
|
4232
|
-
export type OverflowClipBox = "content-box" | "padding-box";
|
|
4233
|
-
|
|
4234
|
-
export type OverflowClipMargin = DataType.VisualBox | OnlyStringNumeric;
|
|
4235
|
-
|
|
4236
|
-
export type OverflowInline = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4237
|
-
|
|
4238
|
-
export type OverflowWrap = "anywhere" | "break-word" | "normal";
|
|
4239
|
-
|
|
4240
|
-
export type OverflowX = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4241
|
-
|
|
4242
|
-
export type OverflowY = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4243
|
-
|
|
4244
|
-
export type OverscrollBehavior = "auto" | "contain" | "none" | OnlyString;
|
|
4245
|
-
|
|
4246
|
-
export type OverscrollBehaviorBlock = "auto" | "contain" | "none";
|
|
4247
|
-
|
|
4248
|
-
export type OverscrollBehaviorInline = "auto" | "contain" | "none";
|
|
4249
|
-
|
|
4250
|
-
export type OverscrollBehaviorX = "auto" | "contain" | "none";
|
|
4251
|
-
|
|
4252
|
-
export type OverscrollBehaviorY = "auto" | "contain" | "none";
|
|
4253
|
-
|
|
4254
|
-
export type Padding = OnlyStringNumeric;
|
|
4255
|
-
|
|
4256
|
-
export type PaddingBlock = OnlyStringNumeric;
|
|
4257
|
-
|
|
4258
|
-
export type PaddingBlockEnd = OnlyStringNumeric;
|
|
4259
|
-
|
|
4260
|
-
export type PaddingBlockStart = OnlyStringNumeric;
|
|
4261
|
-
|
|
4262
|
-
export type PaddingBottom = OnlyStringNumeric;
|
|
4263
|
-
|
|
4264
|
-
export type PaddingInline = OnlyStringNumeric;
|
|
4265
|
-
|
|
4266
|
-
export type PaddingInlineEnd = OnlyStringNumeric;
|
|
4267
|
-
|
|
4268
|
-
export type PaddingInlineStart = OnlyStringNumeric;
|
|
4269
|
-
|
|
4270
|
-
export type PaddingLeft = OnlyStringNumeric;
|
|
4271
|
-
|
|
4272
|
-
export type PaddingRight = OnlyStringNumeric;
|
|
4273
|
-
|
|
4274
|
-
export type PaddingTop = OnlyStringNumeric;
|
|
4275
|
-
|
|
4276
|
-
export type PageBreakAfter = "always" | "auto" | "avoid" | "left" | "recto" | "right" | "verso";
|
|
4277
|
-
|
|
4278
|
-
export type PageBreakBefore = "always" | "auto" | "avoid" | "left" | "recto" | "right" | "verso";
|
|
4279
|
-
|
|
4280
|
-
export type PageBreakInside = "auto" | "avoid";
|
|
4281
|
-
|
|
4282
|
-
export type PaintOrder = "fill" | "markers" | "normal" | "stroke" | OnlyString;
|
|
4283
|
-
|
|
4284
|
-
export type Perspective = number | "none";
|
|
4285
|
-
|
|
4286
|
-
export type PerspectiveOrigin = DataType.Position;
|
|
4287
|
-
|
|
4288
|
-
export type PlaceContent = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
|
|
4289
|
-
|
|
4290
|
-
export type PlaceItems = DataType.SelfPosition | "baseline" | "normal" | "stretch" | OnlyString;
|
|
4291
|
-
|
|
4292
|
-
export type PlaceSelf = DataType.SelfPosition | "auto" | "baseline" | "normal" | "stretch" | OnlyString;
|
|
4293
|
-
|
|
4294
|
-
export type PointerEvents =
|
|
4295
|
-
| "all"
|
|
4296
|
-
| "auto"
|
|
4297
|
-
| "fill"
|
|
4298
|
-
| "inherit"
|
|
4299
|
-
| "none"
|
|
4300
|
-
| "painted"
|
|
4301
|
-
| "stroke"
|
|
4302
|
-
| "visible"
|
|
4303
|
-
| "visibleFill"
|
|
4304
|
-
| "visiblePainted"
|
|
4305
|
-
| "visibleStroke";
|
|
4306
|
-
|
|
4307
|
-
export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
4308
|
-
|
|
4309
|
-
export type Quotes = "auto" | "none" | OnlyString;
|
|
4310
|
-
|
|
4311
|
-
export type Resize = "block" | "both" | "horizontal" | "inline" | "none" | "vertical";
|
|
4312
|
-
|
|
4313
|
-
export type Right = "auto" | OnlyStringNumeric;
|
|
4314
|
-
|
|
4315
|
-
export type Rotate = "none" | OnlyString;
|
|
4316
|
-
|
|
4317
|
-
export type RowGap = "normal" | OnlyStringNumeric;
|
|
4318
|
-
|
|
4319
|
-
export type RubyAlign = "center" | "space-around" | "space-between" | "start";
|
|
4320
|
-
|
|
4321
|
-
export type RubyMerge = "auto" | "collapse" | "separate";
|
|
4322
|
-
|
|
4323
|
-
export type RubyPosition = "alternate" | "over" | "under" | OnlyString;
|
|
4324
|
-
|
|
4325
|
-
export type Scale = "none" | OnlyStringNumeric;
|
|
4326
|
-
|
|
4327
|
-
export type ScrollBehavior = "auto" | "smooth";
|
|
4328
|
-
|
|
4329
|
-
export type ScrollMargin = OnlyStringNumeric;
|
|
4330
|
-
|
|
4331
|
-
export type ScrollMarginBlock = OnlyStringNumeric;
|
|
4332
|
-
|
|
4333
|
-
export type ScrollMarginBlockEnd = number;
|
|
4334
|
-
|
|
4335
|
-
export type ScrollMarginBlockStart = number;
|
|
4336
|
-
|
|
4337
|
-
export type ScrollMarginBottom = number;
|
|
4338
|
-
|
|
4339
|
-
export type ScrollMarginInline = OnlyStringNumeric;
|
|
4340
|
-
|
|
4341
|
-
export type ScrollMarginInlineEnd = number;
|
|
4342
|
-
|
|
4343
|
-
export type ScrollMarginInlineStart = number;
|
|
4344
|
-
|
|
4345
|
-
export type ScrollMarginLeft = number;
|
|
4346
|
-
|
|
4347
|
-
export type ScrollMarginRight = number;
|
|
4348
|
-
|
|
4349
|
-
export type ScrollMarginTop = number;
|
|
4350
|
-
|
|
4351
|
-
export type ScrollPadding = "auto" | OnlyStringNumeric;
|
|
4352
|
-
|
|
4353
|
-
export type ScrollPaddingBlock = "auto" | OnlyStringNumeric;
|
|
4354
|
-
|
|
4355
|
-
export type ScrollPaddingBlockEnd = "auto" | OnlyStringNumeric;
|
|
4356
|
-
|
|
4357
|
-
export type ScrollPaddingBlockStart = "auto" | OnlyStringNumeric;
|
|
4358
|
-
|
|
4359
|
-
export type ScrollPaddingBottom = "auto" | OnlyStringNumeric;
|
|
4360
|
-
|
|
4361
|
-
export type ScrollPaddingInline = "auto" | OnlyStringNumeric;
|
|
4732
|
+
export type ListStyle = "inside" | "none" | "outside" | OnlyString;
|
|
4362
4733
|
|
|
4363
|
-
export type
|
|
4734
|
+
export type ListStyleImage = "none" | OnlyString;
|
|
4364
4735
|
|
|
4365
|
-
export type
|
|
4736
|
+
export type ListStylePosition = "inside" | "outside";
|
|
4366
4737
|
|
|
4367
|
-
export type
|
|
4738
|
+
export type ListStyleType = "none" | OnlyString;
|
|
4368
4739
|
|
|
4369
|
-
export type
|
|
4740
|
+
export type Margin = "auto" | OnlyStringNumeric;
|
|
4370
4741
|
|
|
4371
|
-
export type
|
|
4742
|
+
export type MarginBlock = "auto" | OnlyStringNumeric;
|
|
4372
4743
|
|
|
4373
|
-
export type
|
|
4744
|
+
export type MarginBlockEnd = "auto" | OnlyStringNumeric;
|
|
4374
4745
|
|
|
4375
|
-
export type
|
|
4746
|
+
export type MarginBlockStart = "auto" | OnlyStringNumeric;
|
|
4376
4747
|
|
|
4377
|
-
export type
|
|
4748
|
+
export type MarginBottom = "auto" | OnlyStringNumeric;
|
|
4378
4749
|
|
|
4379
|
-
export type
|
|
4750
|
+
export type MarginInline = "auto" | OnlyStringNumeric;
|
|
4380
4751
|
|
|
4381
|
-
export type
|
|
4752
|
+
export type MarginInlineEnd = "auto" | OnlyStringNumeric;
|
|
4382
4753
|
|
|
4383
|
-
export type
|
|
4754
|
+
export type MarginInlineStart = "auto" | OnlyStringNumeric;
|
|
4384
4755
|
|
|
4385
|
-
export type
|
|
4756
|
+
export type MarginLeft = "auto" | OnlyStringNumeric;
|
|
4386
4757
|
|
|
4387
|
-
export type
|
|
4758
|
+
export type MarginRight = "auto" | OnlyStringNumeric;
|
|
4388
4759
|
|
|
4389
|
-
export type
|
|
4760
|
+
export type MarginTop = "auto" | OnlyStringNumeric;
|
|
4390
4761
|
|
|
4391
|
-
export type
|
|
4762
|
+
export type Mask = DataType.MaskLayer | OnlyString;
|
|
4392
4763
|
|
|
4393
|
-
export type
|
|
4764
|
+
export type MaskBorder = "alpha" | "luminance" | "none" | "repeat" | "round" | "space" | "stretch" | OnlyStringNumeric;
|
|
4394
4765
|
|
|
4395
|
-
export type
|
|
4766
|
+
export type MaskBorderMode = "alpha" | "luminance";
|
|
4396
4767
|
|
|
4397
|
-
export type
|
|
4768
|
+
export type MaskBorderOutset = OnlyStringNumeric;
|
|
4398
4769
|
|
|
4399
|
-
export type
|
|
4770
|
+
export type MaskBorderRepeat = "repeat" | "round" | "space" | "stretch" | OnlyString;
|
|
4400
4771
|
|
|
4401
|
-
export type
|
|
4772
|
+
export type MaskBorderSlice = OnlyStringNumeric;
|
|
4402
4773
|
|
|
4403
|
-
export type
|
|
4774
|
+
export type MaskBorderSource = "none" | OnlyString;
|
|
4404
4775
|
|
|
4405
|
-
export type
|
|
4776
|
+
export type MaskBorderWidth = "auto" | OnlyStringNumeric;
|
|
4406
4777
|
|
|
4407
|
-
export type
|
|
4778
|
+
export type MaskClip = DataType.GeometryBox | "no-clip" | OnlyString;
|
|
4408
4779
|
|
|
4409
|
-
export type
|
|
4780
|
+
export type MaskComposite = DataType.CompositingOperator | OnlyString;
|
|
4410
4781
|
|
|
4411
|
-
export type
|
|
4782
|
+
export type MaskImage = "none" | OnlyString;
|
|
4412
4783
|
|
|
4413
|
-
export type
|
|
4784
|
+
export type MaskMode = DataType.MaskingMode | OnlyString;
|
|
4414
4785
|
|
|
4415
|
-
export type
|
|
4416
|
-
| DataType.Color
|
|
4417
|
-
| number
|
|
4418
|
-
| "auto"
|
|
4419
|
-
| "blink"
|
|
4420
|
-
| "dashed"
|
|
4421
|
-
| "dotted"
|
|
4422
|
-
| "double"
|
|
4423
|
-
| "from-font"
|
|
4424
|
-
| "grammar-error"
|
|
4425
|
-
| "line-through"
|
|
4426
|
-
| "none"
|
|
4427
|
-
| "overline"
|
|
4428
|
-
| "solid"
|
|
4429
|
-
| "spelling-error"
|
|
4430
|
-
| "underline"
|
|
4431
|
-
| "wavy"
|
|
4432
|
-
| OnlyString;
|
|
4786
|
+
export type MaskOrigin = DataType.Box | "margin-box" | OnlyString;
|
|
4433
4787
|
|
|
4434
|
-
export type
|
|
4788
|
+
export type MaskPosition = DataType.Position | OnlyString;
|
|
4435
4789
|
|
|
4436
|
-
export type
|
|
4790
|
+
export type MaskRepeat = DataType.RepeatStyle | OnlyString;
|
|
4437
4791
|
|
|
4438
|
-
export type
|
|
4792
|
+
export type MaskSize = DataType.BgSize | OnlyString;
|
|
4439
4793
|
|
|
4440
|
-
export type
|
|
4794
|
+
export type MaskType = "alpha" | "luminance";
|
|
4441
4795
|
|
|
4442
|
-
export type
|
|
4796
|
+
export type MathStyle = "compact" | "normal";
|
|
4443
4797
|
|
|
4444
|
-
export type
|
|
4798
|
+
export type MaxBlockSize = number | "stretch" | "fit-content" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4445
4799
|
|
|
4446
|
-
export type
|
|
4800
|
+
export type MaxHeight = number | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4447
4801
|
|
|
4448
|
-
export type
|
|
4802
|
+
export type MaxInlineSize = number | "stretch" | "fit-content" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4449
4803
|
|
|
4450
|
-
export type
|
|
4804
|
+
export type MaxLines = "none" | OnlyNumber;
|
|
4451
4805
|
|
|
4452
|
-
export type
|
|
4806
|
+
export type MaxWidth = number | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "none" | OnlyString;
|
|
4453
4807
|
|
|
4454
|
-
export type
|
|
4808
|
+
export type MinBlockSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
|
|
4455
4809
|
|
|
4456
|
-
export type
|
|
4810
|
+
export type MinHeight = number | "auto" | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | OnlyString;
|
|
4457
4811
|
|
|
4458
|
-
export type
|
|
4812
|
+
export type MinInlineSize = number | "auto" | "stretch" | "fit-content" | "max-content" | "min-content" | OnlyString;
|
|
4459
4813
|
|
|
4460
|
-
export type
|
|
4814
|
+
export type MinWidth = number | "auto" | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | OnlyString;
|
|
4461
4815
|
|
|
4462
|
-
export type
|
|
4816
|
+
export type MixBlendMode = DataType.BlendMode;
|
|
4463
4817
|
|
|
4464
|
-
export type
|
|
4818
|
+
export type Offset = DataType.Position | DataType.GeometryBox | "auto" | "none" | OnlyString;
|
|
4465
4819
|
|
|
4466
|
-
export type
|
|
4820
|
+
export type OffsetDistance = OnlyStringNumeric;
|
|
4467
4821
|
|
|
4468
|
-
export type
|
|
4822
|
+
export type OffsetPath = DataType.GeometryBox | "none" | OnlyString;
|
|
4469
4823
|
|
|
4470
|
-
export type
|
|
4824
|
+
export type OffsetRotate = "auto" | "reverse" | OnlyString;
|
|
4471
4825
|
|
|
4472
|
-
export type
|
|
4826
|
+
export type ObjectFit = "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
4473
4827
|
|
|
4474
|
-
export type
|
|
4828
|
+
export type ObjectPosition = DataType.Position;
|
|
4475
4829
|
|
|
4476
|
-
export type
|
|
4830
|
+
export type OffsetAnchor = DataType.Position | "auto";
|
|
4477
4831
|
|
|
4478
|
-
export type
|
|
4832
|
+
export type Opacity = OnlyStringNumeric;
|
|
4479
4833
|
|
|
4480
|
-
export type
|
|
4834
|
+
export type Order = OnlyNumber;
|
|
4481
4835
|
|
|
4482
|
-
export type
|
|
4836
|
+
export type Orphans = OnlyNumber;
|
|
4483
4837
|
|
|
4484
|
-
export type
|
|
4838
|
+
export type Outline = DataType.Color | DataType.LineStyle | DataType.LineWidth | "auto" | "invert" | OnlyString;
|
|
4485
4839
|
|
|
4486
|
-
export type
|
|
4840
|
+
export type OutlineColor = DataType.Color | "invert";
|
|
4487
4841
|
|
|
4488
|
-
export type
|
|
4842
|
+
export type OutlineOffset = number;
|
|
4489
4843
|
|
|
4490
|
-
export type
|
|
4844
|
+
export type OutlineStyle = DataType.LineStyle | "auto" | OnlyString;
|
|
4491
4845
|
|
|
4492
|
-
export type
|
|
4846
|
+
export type OutlineWidth = DataType.LineWidth;
|
|
4493
4847
|
|
|
4494
|
-
export type
|
|
4848
|
+
export type Overflow = "auto" | "clip" | "hidden" | "scroll" | "visible" | OnlyString;
|
|
4495
4849
|
|
|
4496
|
-
export type
|
|
4850
|
+
export type OverflowAnchor = "auto" | "none";
|
|
4497
4851
|
|
|
4498
|
-
export type
|
|
4852
|
+
export type OverflowBlock = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4499
4853
|
|
|
4500
|
-
export type
|
|
4854
|
+
export type OverflowClipBox = "content-box" | "padding-box";
|
|
4501
4855
|
|
|
4502
|
-
export type
|
|
4856
|
+
export type OverflowClipMargin = DataType.VisualBox | OnlyStringNumeric;
|
|
4503
4857
|
|
|
4504
|
-
export type
|
|
4858
|
+
export type OverflowInline = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4505
4859
|
|
|
4506
|
-
export type
|
|
4860
|
+
export type OverflowWrap = "anywhere" | "break-word" | "normal";
|
|
4507
4861
|
|
|
4508
|
-
export type
|
|
4862
|
+
export type OverflowX = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4509
4863
|
|
|
4510
|
-
export type
|
|
4864
|
+
export type OverflowY = "auto" | "clip" | "hidden" | "scroll" | "visible";
|
|
4511
4865
|
|
|
4512
|
-
export type
|
|
4866
|
+
export type OverscrollBehavior = "auto" | "contain" | "none" | OnlyString;
|
|
4513
4867
|
|
|
4514
|
-
export type
|
|
4868
|
+
export type OverscrollBehaviorBlock = "auto" | "contain" | "none";
|
|
4515
4869
|
|
|
4516
|
-
export type
|
|
4870
|
+
export type OverscrollBehaviorInline = "auto" | "contain" | "none";
|
|
4517
4871
|
|
|
4518
|
-
export type
|
|
4872
|
+
export type OverscrollBehaviorX = "auto" | "contain" | "none";
|
|
4519
4873
|
|
|
4520
|
-
export type
|
|
4874
|
+
export type OverscrollBehaviorY = "auto" | "contain" | "none";
|
|
4521
4875
|
|
|
4522
|
-
export type
|
|
4876
|
+
export type Padding = OnlyStringNumeric;
|
|
4523
4877
|
|
|
4524
|
-
export type
|
|
4878
|
+
export type PaddingBlock = OnlyStringNumeric;
|
|
4525
4879
|
|
|
4526
|
-
export type
|
|
4527
|
-
| "button"
|
|
4528
|
-
| "button-arrow-down"
|
|
4529
|
-
| "button-arrow-next"
|
|
4530
|
-
| "button-arrow-previous"
|
|
4531
|
-
| "button-arrow-up"
|
|
4532
|
-
| "button-bevel"
|
|
4533
|
-
| "button-focus"
|
|
4534
|
-
| "caret"
|
|
4535
|
-
| "checkbox"
|
|
4536
|
-
| "checkbox-container"
|
|
4537
|
-
| "checkbox-label"
|
|
4538
|
-
| "checkmenuitem"
|
|
4539
|
-
| "dualbutton"
|
|
4540
|
-
| "groupbox"
|
|
4541
|
-
| "listbox"
|
|
4542
|
-
| "listitem"
|
|
4543
|
-
| "menuarrow"
|
|
4544
|
-
| "menubar"
|
|
4545
|
-
| "menucheckbox"
|
|
4546
|
-
| "menuimage"
|
|
4547
|
-
| "menuitem"
|
|
4548
|
-
| "menuitemtext"
|
|
4549
|
-
| "menulist"
|
|
4550
|
-
| "menulist-button"
|
|
4551
|
-
| "menulist-text"
|
|
4552
|
-
| "menulist-textfield"
|
|
4553
|
-
| "menupopup"
|
|
4554
|
-
| "menuradio"
|
|
4555
|
-
| "menuseparator"
|
|
4556
|
-
| "meterbar"
|
|
4557
|
-
| "meterchunk"
|
|
4558
|
-
| "none"
|
|
4559
|
-
| "progressbar"
|
|
4560
|
-
| "progressbar-vertical"
|
|
4561
|
-
| "progresschunk"
|
|
4562
|
-
| "progresschunk-vertical"
|
|
4563
|
-
| "radio"
|
|
4564
|
-
| "radio-container"
|
|
4565
|
-
| "radio-label"
|
|
4566
|
-
| "radiomenuitem"
|
|
4567
|
-
| "range"
|
|
4568
|
-
| "range-thumb"
|
|
4569
|
-
| "resizer"
|
|
4570
|
-
| "resizerpanel"
|
|
4571
|
-
| "scale-horizontal"
|
|
4572
|
-
| "scale-vertical"
|
|
4573
|
-
| "scalethumb-horizontal"
|
|
4574
|
-
| "scalethumb-vertical"
|
|
4575
|
-
| "scalethumbend"
|
|
4576
|
-
| "scalethumbstart"
|
|
4577
|
-
| "scalethumbtick"
|
|
4578
|
-
| "scrollbarbutton-down"
|
|
4579
|
-
| "scrollbarbutton-left"
|
|
4580
|
-
| "scrollbarbutton-right"
|
|
4581
|
-
| "scrollbarbutton-up"
|
|
4582
|
-
| "scrollbarthumb-horizontal"
|
|
4583
|
-
| "scrollbarthumb-vertical"
|
|
4584
|
-
| "scrollbartrack-horizontal"
|
|
4585
|
-
| "scrollbartrack-vertical"
|
|
4586
|
-
| "searchfield"
|
|
4587
|
-
| "separator"
|
|
4588
|
-
| "sheet"
|
|
4589
|
-
| "spinner"
|
|
4590
|
-
| "spinner-downbutton"
|
|
4591
|
-
| "spinner-textfield"
|
|
4592
|
-
| "spinner-upbutton"
|
|
4593
|
-
| "splitter"
|
|
4594
|
-
| "statusbar"
|
|
4595
|
-
| "statusbarpanel"
|
|
4596
|
-
| "tab"
|
|
4597
|
-
| "tab-scroll-arrow-back"
|
|
4598
|
-
| "tab-scroll-arrow-forward"
|
|
4599
|
-
| "tabpanel"
|
|
4600
|
-
| "tabpanels"
|
|
4601
|
-
| "textfield"
|
|
4602
|
-
| "textfield-multiline"
|
|
4603
|
-
| "toolbar"
|
|
4604
|
-
| "toolbarbutton"
|
|
4605
|
-
| "toolbarbutton-dropdown"
|
|
4606
|
-
| "toolbargripper"
|
|
4607
|
-
| "toolbox"
|
|
4608
|
-
| "tooltip"
|
|
4609
|
-
| "treeheader"
|
|
4610
|
-
| "treeheadercell"
|
|
4611
|
-
| "treeheadersortarrow"
|
|
4612
|
-
| "treeitem"
|
|
4613
|
-
| "treeline"
|
|
4614
|
-
| "treetwisty"
|
|
4615
|
-
| "treetwistyopen"
|
|
4616
|
-
| "treeview";
|
|
4880
|
+
export type PaddingBlockEnd = OnlyStringNumeric;
|
|
4617
4881
|
|
|
4618
|
-
export type
|
|
4882
|
+
export type PaddingBlockStart = OnlyStringNumeric;
|
|
4619
4883
|
|
|
4620
|
-
export type
|
|
4884
|
+
export type PaddingBottom = OnlyStringNumeric;
|
|
4621
4885
|
|
|
4622
|
-
export type
|
|
4886
|
+
export type PaddingInline = OnlyStringNumeric;
|
|
4623
4887
|
|
|
4624
|
-
export type
|
|
4888
|
+
export type PaddingInlineEnd = OnlyStringNumeric;
|
|
4625
4889
|
|
|
4626
|
-
export type
|
|
4890
|
+
export type PaddingInlineStart = OnlyStringNumeric;
|
|
4627
4891
|
|
|
4628
|
-
export type
|
|
4892
|
+
export type PaddingLeft = OnlyStringNumeric;
|
|
4629
4893
|
|
|
4630
|
-
export type
|
|
4894
|
+
export type PaddingRight = OnlyStringNumeric;
|
|
4631
4895
|
|
|
4632
|
-
export type
|
|
4896
|
+
export type PaddingTop = OnlyStringNumeric;
|
|
4633
4897
|
|
|
4634
|
-
export type
|
|
4898
|
+
export type PageBreakAfter = "always" | "auto" | "avoid" | "left" | "recto" | "right" | "verso";
|
|
4635
4899
|
|
|
4636
|
-
export type
|
|
4900
|
+
export type PageBreakBefore = "always" | "auto" | "avoid" | "left" | "recto" | "right" | "verso";
|
|
4637
4901
|
|
|
4638
|
-
export type
|
|
4902
|
+
export type PageBreakInside = "auto" | "avoid";
|
|
4639
4903
|
|
|
4640
|
-
export type
|
|
4904
|
+
export type PaintOrder = "fill" | "markers" | "normal" | "stroke" | OnlyString;
|
|
4641
4905
|
|
|
4642
|
-
export type
|
|
4906
|
+
export type Perspective = number | "none";
|
|
4643
4907
|
|
|
4644
|
-
export type
|
|
4908
|
+
export type PerspectiveOrigin = DataType.Position;
|
|
4645
4909
|
|
|
4646
|
-
export type
|
|
4910
|
+
export type PlaceContent = DataType.ContentDistribution | DataType.ContentPosition | "baseline" | "normal" | OnlyString;
|
|
4647
4911
|
|
|
4648
|
-
export type
|
|
4912
|
+
export type PlaceItems = DataType.SelfPosition | "baseline" | "normal" | "stretch" | OnlyString;
|
|
4649
4913
|
|
|
4650
|
-
export type
|
|
4914
|
+
export type PlaceSelf = DataType.SelfPosition | "auto" | "baseline" | "normal" | "stretch" | OnlyString;
|
|
4651
4915
|
|
|
4652
|
-
export type
|
|
4916
|
+
export type PointerEvents =
|
|
4917
|
+
| "all"
|
|
4918
|
+
| "auto"
|
|
4919
|
+
| "fill"
|
|
4920
|
+
| "inherit"
|
|
4921
|
+
| "none"
|
|
4922
|
+
| "painted"
|
|
4923
|
+
| "stroke"
|
|
4924
|
+
| "visible"
|
|
4925
|
+
| "visibleFill"
|
|
4926
|
+
| "visiblePainted"
|
|
4927
|
+
| "visibleStroke";
|
|
4653
4928
|
|
|
4654
|
-
export type
|
|
4929
|
+
export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
4655
4930
|
|
|
4656
|
-
export type
|
|
4931
|
+
export type Quotes = "auto" | "none" | OnlyString;
|
|
4657
4932
|
|
|
4658
|
-
export type
|
|
4933
|
+
export type Resize = "block" | "both" | "horizontal" | "inline" | "none" | "vertical";
|
|
4659
4934
|
|
|
4660
|
-
export type
|
|
4935
|
+
export type Right = "auto" | OnlyStringNumeric;
|
|
4661
4936
|
|
|
4662
|
-
export type
|
|
4937
|
+
export type Rotate = "none" | OnlyString;
|
|
4663
4938
|
|
|
4664
|
-
export type
|
|
4939
|
+
export type RowGap = "normal" | OnlyStringNumeric;
|
|
4665
4940
|
|
|
4666
|
-
export type
|
|
4941
|
+
export type RubyAlign = "center" | "space-around" | "space-between" | "start";
|
|
4667
4942
|
|
|
4668
|
-
export type
|
|
4943
|
+
export type RubyMerge = "auto" | "collapse" | "separate";
|
|
4669
4944
|
|
|
4670
|
-
export type
|
|
4945
|
+
export type RubyPosition = "alternate" | "over" | "under" | OnlyString;
|
|
4671
4946
|
|
|
4672
|
-
export type
|
|
4947
|
+
export type Scale = "none" | OnlyStringNumeric;
|
|
4673
4948
|
|
|
4674
|
-
export type
|
|
4949
|
+
export type ScrollBehavior = "auto" | "smooth";
|
|
4675
4950
|
|
|
4676
|
-
export type
|
|
4951
|
+
export type ScrollMargin = OnlyStringNumeric;
|
|
4677
4952
|
|
|
4678
|
-
export type
|
|
4953
|
+
export type ScrollMarginBlock = OnlyStringNumeric;
|
|
4679
4954
|
|
|
4680
|
-
export type
|
|
4955
|
+
export type ScrollMarginBlockEnd = number;
|
|
4681
4956
|
|
|
4682
|
-
export type
|
|
4957
|
+
export type ScrollMarginBlockStart = number;
|
|
4683
4958
|
|
|
4684
|
-
export type
|
|
4959
|
+
export type ScrollMarginBottom = number;
|
|
4685
4960
|
|
|
4686
|
-
export type
|
|
4961
|
+
export type ScrollMarginInline = OnlyStringNumeric;
|
|
4687
4962
|
|
|
4688
|
-
export type
|
|
4963
|
+
export type ScrollMarginInlineEnd = number;
|
|
4689
4964
|
|
|
4690
|
-
export type
|
|
4965
|
+
export type ScrollMarginInlineStart = number;
|
|
4691
4966
|
|
|
4692
|
-
export type
|
|
4967
|
+
export type ScrollMarginLeft = number;
|
|
4693
4968
|
|
|
4694
|
-
export type
|
|
4969
|
+
export type ScrollMarginRight = number;
|
|
4695
4970
|
|
|
4696
|
-
export type
|
|
4971
|
+
export type ScrollMarginTop = number;
|
|
4697
4972
|
|
|
4698
|
-
export type
|
|
4973
|
+
export type ScrollPadding = "auto" | OnlyStringNumeric;
|
|
4699
4974
|
|
|
4700
|
-
export type
|
|
4975
|
+
export type ScrollPaddingBlock = "auto" | OnlyStringNumeric;
|
|
4701
4976
|
|
|
4702
|
-
export type
|
|
4977
|
+
export type ScrollPaddingBlockEnd = "auto" | OnlyStringNumeric;
|
|
4703
4978
|
|
|
4704
|
-
export type
|
|
4979
|
+
export type ScrollPaddingBlockStart = "auto" | OnlyStringNumeric;
|
|
4705
4980
|
|
|
4706
|
-
export type
|
|
4981
|
+
export type ScrollPaddingBottom = "auto" | OnlyStringNumeric;
|
|
4707
4982
|
|
|
4708
|
-
export type
|
|
4983
|
+
export type ScrollPaddingInline = "auto" | OnlyStringNumeric;
|
|
4709
4984
|
|
|
4710
|
-
export type
|
|
4985
|
+
export type ScrollPaddingInlineEnd = "auto" | OnlyStringNumeric;
|
|
4711
4986
|
|
|
4712
|
-
export type
|
|
4987
|
+
export type ScrollPaddingInlineStart = "auto" | OnlyStringNumeric;
|
|
4713
4988
|
|
|
4714
|
-
export type
|
|
4989
|
+
export type ScrollPaddingLeft = "auto" | OnlyStringNumeric;
|
|
4715
4990
|
|
|
4716
|
-
export type
|
|
4991
|
+
export type ScrollPaddingRight = "auto" | OnlyStringNumeric;
|
|
4717
4992
|
|
|
4718
|
-
export type
|
|
4993
|
+
export type ScrollPaddingTop = "auto" | OnlyStringNumeric;
|
|
4719
4994
|
|
|
4720
|
-
export type
|
|
4995
|
+
export type ScrollSnapAlign = "center" | "end" | "none" | "start" | OnlyString;
|
|
4721
4996
|
|
|
4722
|
-
export type
|
|
4997
|
+
export type ScrollSnapCoordinate = DataType.Position | "none" | OnlyString;
|
|
4723
4998
|
|
|
4724
|
-
export type
|
|
4999
|
+
export type ScrollSnapDestination = DataType.Position;
|
|
4725
5000
|
|
|
4726
|
-
export type
|
|
5001
|
+
export type ScrollSnapPointsX = "none" | OnlyString;
|
|
4727
5002
|
|
|
4728
|
-
export type
|
|
5003
|
+
export type ScrollSnapPointsY = "none" | OnlyString;
|
|
4729
5004
|
|
|
4730
|
-
export type
|
|
5005
|
+
export type ScrollSnapStop = "always" | "normal";
|
|
4731
5006
|
|
|
4732
|
-
export type
|
|
5007
|
+
export type ScrollSnapType = "block" | "both" | "inline" | "none" | "x" | "y" | OnlyString;
|
|
4733
5008
|
|
|
4734
|
-
export type
|
|
5009
|
+
export type ScrollSnapTypeX = "mandatory" | "none" | "proximity";
|
|
4735
5010
|
|
|
4736
|
-
export type
|
|
5011
|
+
export type ScrollSnapTypeY = "mandatory" | "none" | "proximity";
|
|
4737
5012
|
|
|
4738
|
-
export type
|
|
5013
|
+
export type ScrollbarColor = DataType.Color | "auto" | "dark" | "light";
|
|
4739
5014
|
|
|
4740
|
-
export type
|
|
5015
|
+
export type ScrollbarGutter = "always" | "auto" | "stable" | OnlyString;
|
|
4741
5016
|
|
|
4742
|
-
export type
|
|
5017
|
+
export type MsScrollbarTrackColor = DataType.Color;
|
|
4743
5018
|
|
|
4744
|
-
export type
|
|
5019
|
+
export type ScrollbarWidth = "auto" | "none" | "thin";
|
|
4745
5020
|
|
|
4746
|
-
export type
|
|
5021
|
+
export type ShapeImageThreshold = OnlyStringNumeric;
|
|
4747
5022
|
|
|
4748
|
-
export type
|
|
5023
|
+
export type ShapeMargin = OnlyStringNumeric;
|
|
4749
5024
|
|
|
4750
|
-
export type
|
|
5025
|
+
export type ShapeOutside = DataType.Box | "margin-box" | "none" | OnlyString;
|
|
4751
5026
|
|
|
4752
|
-
export type
|
|
5027
|
+
export type TabSize = number | OnlyNumber;
|
|
4753
5028
|
|
|
4754
|
-
export type
|
|
5029
|
+
export type TableLayout = "auto" | "fixed";
|
|
4755
5030
|
|
|
4756
|
-
export type
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
|
4764
|
-
|
|
|
4765
|
-
| "
|
|
4766
|
-
| "
|
|
4767
|
-
| "
|
|
4768
|
-
| "
|
|
4769
|
-
| "
|
|
4770
|
-
| "
|
|
4771
|
-
| "
|
|
4772
|
-
| "
|
|
4773
|
-
| "media-play-button"
|
|
4774
|
-
| "media-seek-back-button"
|
|
4775
|
-
| "media-seek-forward-button"
|
|
4776
|
-
| "media-slider"
|
|
4777
|
-
| "media-sliderthumb"
|
|
4778
|
-
| "media-time-remaining-display"
|
|
4779
|
-
| "media-toggle-closed-captions-button"
|
|
4780
|
-
| "media-volume-slider"
|
|
4781
|
-
| "media-volume-slider-container"
|
|
4782
|
-
| "media-volume-sliderthumb"
|
|
4783
|
-
| "menulist"
|
|
4784
|
-
| "menulist-button"
|
|
4785
|
-
| "menulist-text"
|
|
4786
|
-
| "menulist-textfield"
|
|
4787
|
-
| "meter"
|
|
5031
|
+
export type TextAlign = "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start";
|
|
5032
|
+
|
|
5033
|
+
export type TextAlignLast = "auto" | "center" | "end" | "justify" | "left" | "right" | "start";
|
|
5034
|
+
|
|
5035
|
+
export type TextCombineUpright = "all" | "digits" | "none" | OnlyString;
|
|
5036
|
+
|
|
5037
|
+
export type TextDecoration =
|
|
5038
|
+
| DataType.Color
|
|
5039
|
+
| number
|
|
5040
|
+
| "auto"
|
|
5041
|
+
| "blink"
|
|
5042
|
+
| "dashed"
|
|
5043
|
+
| "dotted"
|
|
5044
|
+
| "double"
|
|
5045
|
+
| "from-font"
|
|
5046
|
+
| "grammar-error"
|
|
5047
|
+
| "line-through"
|
|
4788
5048
|
| "none"
|
|
4789
|
-
| "
|
|
4790
|
-
| "
|
|
4791
|
-
| "
|
|
4792
|
-
| "
|
|
4793
|
-
| "
|
|
4794
|
-
|
|
|
4795
|
-
| "searchfield-decoration"
|
|
4796
|
-
| "searchfield-results-button"
|
|
4797
|
-
| "searchfield-results-decoration"
|
|
4798
|
-
| "slider-horizontal"
|
|
4799
|
-
| "slider-vertical"
|
|
4800
|
-
| "sliderthumb-horizontal"
|
|
4801
|
-
| "sliderthumb-vertical"
|
|
4802
|
-
| "square-button"
|
|
4803
|
-
| "textarea"
|
|
4804
|
-
| "textfield";
|
|
5049
|
+
| "overline"
|
|
5050
|
+
| "solid"
|
|
5051
|
+
| "spelling-error"
|
|
5052
|
+
| "underline"
|
|
5053
|
+
| "wavy"
|
|
5054
|
+
| OnlyString;
|
|
4805
5055
|
|
|
4806
|
-
export type
|
|
5056
|
+
export type TextDecorationColor = DataType.Color;
|
|
4807
5057
|
|
|
4808
|
-
export type
|
|
5058
|
+
export type TextDecorationLine = "blink" | "grammar-error" | "line-through" | "none" | "overline" | "spelling-error" | "underline" | OnlyString;
|
|
4809
5059
|
|
|
4810
|
-
export type
|
|
5060
|
+
export type TextDecorationSkip = "box-decoration" | "edges" | "leading-spaces" | "none" | "objects" | "spaces" | "trailing-spaces" | OnlyString;
|
|
4811
5061
|
|
|
4812
|
-
export type
|
|
5062
|
+
export type TextDecorationSkipInk = "all" | "auto" | "none";
|
|
4813
5063
|
|
|
4814
|
-
export type
|
|
5064
|
+
export type TextDecorationStyle = "dashed" | "dotted" | "double" | "solid" | "wavy";
|
|
4815
5065
|
|
|
4816
|
-
export type
|
|
5066
|
+
export type TextDecorationThickness = "auto" | "from-font" | OnlyStringNumeric;
|
|
4817
5067
|
|
|
4818
|
-
export type
|
|
5068
|
+
export type TextEmphasis = DataType.Color | "circle" | "dot" | "double-circle" | "filled" | "none" | "open" | "sesame" | "triangle" | OnlyString;
|
|
4819
5069
|
|
|
4820
|
-
export type
|
|
5070
|
+
export type TextEmphasisColor = DataType.Color;
|
|
4821
5071
|
|
|
4822
|
-
export type
|
|
5072
|
+
export type TextEmphasisPosition = OnlyString;
|
|
4823
5073
|
|
|
4824
|
-
export type
|
|
5074
|
+
export type TextEmphasisStyle = "circle" | "dot" | "double-circle" | "filled" | "none" | "open" | "sesame" | "triangle" | OnlyString;
|
|
4825
5075
|
|
|
4826
|
-
export type
|
|
5076
|
+
export type TextIndent = OnlyStringNumeric;
|
|
5077
|
+
|
|
5078
|
+
export type TextJustify = "auto" | "inter-character" | "inter-word" | "none";
|
|
5079
|
+
|
|
5080
|
+
export type TextOrientation = "mixed" | "sideways" | "upright";
|
|
5081
|
+
|
|
5082
|
+
export type TextOverflow = "clip" | "ellipsis" | OnlyString;
|
|
5083
|
+
|
|
5084
|
+
export type TextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
|
|
5085
|
+
|
|
5086
|
+
export type TextShadow = "none" | OnlyString;
|
|
5087
|
+
|
|
5088
|
+
export type TextSizeAdjust = "auto" | "none" | OnlyString;
|
|
5089
|
+
|
|
5090
|
+
export type TextTransform = "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "none" | "uppercase";
|
|
4827
5091
|
|
|
4828
|
-
export type
|
|
5092
|
+
export type TextUnderlineOffset = "auto" | OnlyStringNumeric;
|
|
4829
5093
|
|
|
4830
|
-
export type
|
|
5094
|
+
export type TextUnderlinePosition = "auto" | "from-font" | "left" | "right" | "under" | OnlyString;
|
|
4831
5095
|
|
|
4832
|
-
export type
|
|
5096
|
+
export type Top = "auto" | OnlyStringNumeric;
|
|
4833
5097
|
|
|
4834
|
-
export type
|
|
5098
|
+
export type TouchAction = "auto" | "manipulation" | "none" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom" | OnlyString;
|
|
4835
5099
|
|
|
4836
|
-
export type
|
|
5100
|
+
export type Transform = "none" | OnlyString;
|
|
4837
5101
|
|
|
4838
|
-
export type
|
|
5102
|
+
export type TransformBox = "border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box";
|
|
4839
5103
|
|
|
4840
|
-
export type
|
|
5104
|
+
export type TransformOrigin = "bottom" | "center" | "left" | "right" | "top" | OnlyStringNumeric;
|
|
4841
5105
|
|
|
4842
|
-
export type
|
|
5106
|
+
export type TransformStyle = "flat" | "preserve-3d";
|
|
4843
5107
|
|
|
4844
|
-
export type
|
|
5108
|
+
export type Transition = DataType.SingleTransition | OnlyString;
|
|
4845
5109
|
|
|
4846
|
-
export type
|
|
5110
|
+
export type TransitionDelay = never | OnlyString;
|
|
4847
5111
|
|
|
4848
|
-
export type
|
|
5112
|
+
export type TransitionDuration = never | OnlyString;
|
|
4849
5113
|
|
|
4850
|
-
export type
|
|
5114
|
+
export type TransitionProperty = "all" | "none" | OnlyString;
|
|
4851
5115
|
|
|
4852
|
-
export type
|
|
5116
|
+
export type TransitionTimingFunction = DataType.EasingFunction | OnlyString;
|
|
4853
5117
|
|
|
4854
|
-
export type
|
|
5118
|
+
export type Translate = "none" | OnlyStringNumeric;
|
|
4855
5119
|
|
|
4856
|
-
export type
|
|
5120
|
+
export type UnicodeBidi = "bidi-override" | "embed" | "isolate" | "isolate-override" | "normal" | "plaintext";
|
|
4857
5121
|
|
|
4858
|
-
export type
|
|
5122
|
+
export type UserSelect = "all" | "auto" | "contain" | "element" | "none" | "text";
|
|
4859
5123
|
|
|
4860
|
-
export type
|
|
4861
|
-
| "after-edge"
|
|
4862
|
-
| "alphabetic"
|
|
4863
|
-
| "auto"
|
|
4864
|
-
| "baseline"
|
|
4865
|
-
| "before-edge"
|
|
4866
|
-
| "central"
|
|
4867
|
-
| "hanging"
|
|
4868
|
-
| "ideographic"
|
|
4869
|
-
| "mathematical"
|
|
4870
|
-
| "middle"
|
|
4871
|
-
| "text-after-edge"
|
|
4872
|
-
| "text-before-edge";
|
|
5124
|
+
export type VerticalAlign = number | "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top" | OnlyString;
|
|
4873
5125
|
|
|
4874
|
-
export type
|
|
5126
|
+
export type Visibility = "collapse" | "hidden" | "visible";
|
|
4875
5127
|
|
|
4876
|
-
export type
|
|
5128
|
+
export type WhiteSpace = "break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
|
|
4877
5129
|
|
|
4878
|
-
export type
|
|
5130
|
+
export type Widows = OnlyNumber;
|
|
4879
5131
|
|
|
4880
|
-
export type
|
|
5132
|
+
export type Width = number | "auto" | "stretch" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | OnlyString;
|
|
4881
5133
|
|
|
4882
|
-
export type
|
|
4883
|
-
| "alphabetic"
|
|
4884
|
-
| "auto"
|
|
4885
|
-
| "central"
|
|
4886
|
-
| "hanging"
|
|
4887
|
-
| "ideographic"
|
|
4888
|
-
| "mathematical"
|
|
4889
|
-
| "middle"
|
|
4890
|
-
| "no-change"
|
|
4891
|
-
| "reset-size"
|
|
4892
|
-
| "text-after-edge"
|
|
4893
|
-
| "text-before-edge"
|
|
4894
|
-
| "use-script";
|
|
5134
|
+
export type WillChange = DataType.AnimateableFeature | "auto" | OnlyString;
|
|
4895
5135
|
|
|
4896
|
-
export type
|
|
5136
|
+
export type WordBreak = "break-all" | "break-word" | "keep-all" | "normal";
|
|
4897
5137
|
|
|
4898
|
-
export type
|
|
5138
|
+
export type WordSpacing = "normal" | OnlyStringNumeric;
|
|
4899
5139
|
|
|
4900
|
-
export type
|
|
5140
|
+
export type WordWrap = "break-word" | "normal";
|
|
4901
5141
|
|
|
4902
|
-
export type
|
|
5142
|
+
export type WritingMode = "horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl";
|
|
4903
5143
|
|
|
4904
|
-
export type
|
|
5144
|
+
export type ZIndex = "auto" | OnlyStringNumeric;
|
|
4905
5145
|
|
|
4906
|
-
export type
|
|
5146
|
+
export type Zoom = "normal" | "reset" | OnlyStringNumeric;
|
|
4907
5147
|
|
|
4908
|
-
export type
|
|
5148
|
+
export type MozAppearance =
|
|
5149
|
+
| "button"
|
|
5150
|
+
| "button-arrow-down"
|
|
5151
|
+
| "button-arrow-next"
|
|
5152
|
+
| "button-arrow-previous"
|
|
5153
|
+
| "button-arrow-up"
|
|
5154
|
+
| "button-bevel"
|
|
5155
|
+
| "button-focus"
|
|
5156
|
+
| "caret"
|
|
5157
|
+
| "checkbox"
|
|
5158
|
+
| "checkbox-container"
|
|
5159
|
+
| "checkbox-label"
|
|
5160
|
+
| "checkmenuitem"
|
|
5161
|
+
| "dualbutton"
|
|
5162
|
+
| "groupbox"
|
|
5163
|
+
| "listbox"
|
|
5164
|
+
| "listitem"
|
|
5165
|
+
| "menuarrow"
|
|
5166
|
+
| "menubar"
|
|
5167
|
+
| "menucheckbox"
|
|
5168
|
+
| "menuimage"
|
|
5169
|
+
| "menuitem"
|
|
5170
|
+
| "menuitemtext"
|
|
5171
|
+
| "menulist"
|
|
5172
|
+
| "menulist-button"
|
|
5173
|
+
| "menulist-text"
|
|
5174
|
+
| "menulist-textfield"
|
|
5175
|
+
| "menupopup"
|
|
5176
|
+
| "menuradio"
|
|
5177
|
+
| "menuseparator"
|
|
5178
|
+
| "meterbar"
|
|
5179
|
+
| "meterchunk"
|
|
5180
|
+
| "none"
|
|
5181
|
+
| "progressbar"
|
|
5182
|
+
| "progressbar-vertical"
|
|
5183
|
+
| "progresschunk"
|
|
5184
|
+
| "progresschunk-vertical"
|
|
5185
|
+
| "radio"
|
|
5186
|
+
| "radio-container"
|
|
5187
|
+
| "radio-label"
|
|
5188
|
+
| "radiomenuitem"
|
|
5189
|
+
| "range"
|
|
5190
|
+
| "range-thumb"
|
|
5191
|
+
| "resizer"
|
|
5192
|
+
| "resizerpanel"
|
|
5193
|
+
| "scale-horizontal"
|
|
5194
|
+
| "scale-vertical"
|
|
5195
|
+
| "scalethumb-horizontal"
|
|
5196
|
+
| "scalethumb-vertical"
|
|
5197
|
+
| "scalethumbend"
|
|
5198
|
+
| "scalethumbstart"
|
|
5199
|
+
| "scalethumbtick"
|
|
5200
|
+
| "scrollbarbutton-down"
|
|
5201
|
+
| "scrollbarbutton-left"
|
|
5202
|
+
| "scrollbarbutton-right"
|
|
5203
|
+
| "scrollbarbutton-up"
|
|
5204
|
+
| "scrollbarthumb-horizontal"
|
|
5205
|
+
| "scrollbarthumb-vertical"
|
|
5206
|
+
| "scrollbartrack-horizontal"
|
|
5207
|
+
| "scrollbartrack-vertical"
|
|
5208
|
+
| "searchfield"
|
|
5209
|
+
| "separator"
|
|
5210
|
+
| "sheet"
|
|
5211
|
+
| "spinner"
|
|
5212
|
+
| "spinner-downbutton"
|
|
5213
|
+
| "spinner-textfield"
|
|
5214
|
+
| "spinner-upbutton"
|
|
5215
|
+
| "splitter"
|
|
5216
|
+
| "statusbar"
|
|
5217
|
+
| "statusbarpanel"
|
|
5218
|
+
| "tab"
|
|
5219
|
+
| "tab-scroll-arrow-back"
|
|
5220
|
+
| "tab-scroll-arrow-forward"
|
|
5221
|
+
| "tabpanel"
|
|
5222
|
+
| "tabpanels"
|
|
5223
|
+
| "textfield"
|
|
5224
|
+
| "textfield-multiline"
|
|
5225
|
+
| "toolbar"
|
|
5226
|
+
| "toolbarbutton"
|
|
5227
|
+
| "toolbarbutton-dropdown"
|
|
5228
|
+
| "toolbargripper"
|
|
5229
|
+
| "toolbox"
|
|
5230
|
+
| "tooltip"
|
|
5231
|
+
| "treeheader"
|
|
5232
|
+
| "treeheadercell"
|
|
5233
|
+
| "treeheadersortarrow"
|
|
5234
|
+
| "treeitem"
|
|
5235
|
+
| "treeline"
|
|
5236
|
+
| "treetwisty"
|
|
5237
|
+
| "treetwistyopen"
|
|
5238
|
+
| "treeview";
|
|
4909
5239
|
|
|
4910
|
-
export type
|
|
5240
|
+
export type MozBinding = "none" | OnlyString;
|
|
4911
5241
|
|
|
4912
|
-
export type
|
|
5242
|
+
export type MozBorderBottomColors = DataType.Color | "none" | OnlyString;
|
|
4913
5243
|
|
|
4914
|
-
export type
|
|
5244
|
+
export type MozBorderLeftColors = DataType.Color | "none" | OnlyString;
|
|
4915
5245
|
|
|
4916
|
-
export type
|
|
5246
|
+
export type MozBorderRightColors = DataType.Color | "none" | OnlyString;
|
|
4917
5247
|
|
|
4918
|
-
export type
|
|
5248
|
+
export type MozBorderTopColors = DataType.Color | "none" | OnlyString;
|
|
4919
5249
|
|
|
4920
|
-
export type
|
|
5250
|
+
export type MozContextProperties = "fill" | "fill-opacity" | "none" | "stroke" | "stroke-opacity" | OnlyString;
|
|
4921
5251
|
|
|
4922
|
-
export type
|
|
5252
|
+
export type MozFloatEdge = "border-box" | "content-box" | "margin-box" | "padding-box";
|
|
4923
5253
|
|
|
4924
|
-
export type
|
|
5254
|
+
export type MozForceBrokenImageIcon = OnlyNumber;
|
|
4925
5255
|
|
|
4926
|
-
export type
|
|
5256
|
+
export type MozImageRegion = "auto" | OnlyString;
|
|
4927
5257
|
|
|
4928
|
-
export type
|
|
5258
|
+
export type MozOrient = "block" | "horizontal" | "inline" | "vertical";
|
|
4929
5259
|
|
|
4930
|
-
export type
|
|
5260
|
+
export type MozOutlineRadius = OnlyStringNumeric;
|
|
4931
5261
|
|
|
4932
|
-
export type
|
|
5262
|
+
export type MozOutlineRadiusBottomleft = OnlyStringNumeric;
|
|
4933
5263
|
|
|
4934
|
-
export type
|
|
5264
|
+
export type MozOutlineRadiusBottomright = OnlyStringNumeric;
|
|
4935
5265
|
|
|
4936
|
-
export type
|
|
5266
|
+
export type MozOutlineRadiusTopleft = OnlyStringNumeric;
|
|
4937
5267
|
|
|
4938
|
-
export type
|
|
5268
|
+
export type MozOutlineRadiusTopright = OnlyStringNumeric;
|
|
4939
5269
|
|
|
4940
|
-
export type
|
|
5270
|
+
export type MozStackSizing = "ignore" | "stretch-to-fit";
|
|
4941
5271
|
|
|
4942
|
-
export type
|
|
4943
|
-
}
|
|
5272
|
+
export type MozTextBlink = "blink" | "none";
|
|
4944
5273
|
|
|
4945
|
-
|
|
4946
|
-
export interface CounterStyle {
|
|
4947
|
-
additiveSymbols?: string;
|
|
4948
|
-
fallback?: string;
|
|
4949
|
-
negative?: string;
|
|
4950
|
-
pad?: string;
|
|
4951
|
-
prefix?: string;
|
|
4952
|
-
range?: Range;
|
|
4953
|
-
speakAs?: SpeakAs;
|
|
4954
|
-
suffix?: string;
|
|
4955
|
-
symbols?: string;
|
|
4956
|
-
system?: System;
|
|
4957
|
-
}
|
|
5274
|
+
export type MozUserFocus = "ignore" | "none" | "normal" | "select-after" | "select-all" | "select-before" | "select-menu" | "select-same";
|
|
4958
5275
|
|
|
4959
|
-
export
|
|
4960
|
-
"additive-symbols"?: string;
|
|
4961
|
-
fallback?: string;
|
|
4962
|
-
negative?: string;
|
|
4963
|
-
pad?: string;
|
|
4964
|
-
prefix?: string;
|
|
4965
|
-
range?: Range;
|
|
4966
|
-
"speak-as"?: SpeakAs;
|
|
4967
|
-
suffix?: string;
|
|
4968
|
-
symbols?: string;
|
|
4969
|
-
system?: System;
|
|
4970
|
-
}
|
|
5276
|
+
export type MozUserInput = "auto" | "disabled" | "enabled" | "none";
|
|
4971
5277
|
|
|
4972
|
-
export type
|
|
4973
|
-
[P in keyof CounterStyle]: CounterStyle[P] | CounterStyle[P][];
|
|
4974
|
-
};
|
|
5278
|
+
export type MozUserModify = "read-only" | "read-write" | "write-only";
|
|
4975
5279
|
|
|
4976
|
-
export type
|
|
4977
|
-
[P in keyof CounterStyleHyphen]: CounterStyleHyphen[P] | CounterStyleHyphen[P][];
|
|
4978
|
-
};
|
|
5280
|
+
export type MozWindowDragging = "drag" | "no-drag";
|
|
4979
5281
|
|
|
4980
|
-
export
|
|
4981
|
-
MozFontFeatureSettings?: FontFeatureSettings;
|
|
4982
|
-
fontDisplay?: FontDisplay;
|
|
4983
|
-
fontFamily?: string;
|
|
4984
|
-
fontFeatureSettings?: FontFeatureSettings;
|
|
4985
|
-
fontStretch?: FontStretch;
|
|
4986
|
-
fontStyle?: FontStyle;
|
|
4987
|
-
fontVariant?: FontVariant;
|
|
4988
|
-
fontVariationSettings?: FontVariationSettings;
|
|
4989
|
-
fontWeight?: FontWeight;
|
|
4990
|
-
src?: string;
|
|
4991
|
-
unicodeRange?: string;
|
|
4992
|
-
}
|
|
5282
|
+
export type MozWindowShadow = "default" | "menu" | "none" | "sheet" | "tooltip";
|
|
4993
5283
|
|
|
4994
|
-
export
|
|
4995
|
-
"font-display"?: FontDisplay;
|
|
4996
|
-
"font-family"?: string;
|
|
4997
|
-
"font-feature-settings"?: FontFeatureSettings;
|
|
4998
|
-
"font-stretch"?: FontStretch;
|
|
4999
|
-
"font-style"?: FontStyle;
|
|
5000
|
-
"font-variant"?: FontVariant;
|
|
5001
|
-
"font-variation-settings"?: FontVariationSettings;
|
|
5002
|
-
"font-weight"?: FontWeight;
|
|
5003
|
-
src?: string;
|
|
5004
|
-
"unicode-range"?: string;
|
|
5005
|
-
}
|
|
5284
|
+
export type MsAccelerator = "false" | "true";
|
|
5006
5285
|
|
|
5007
|
-
export type
|
|
5008
|
-
[P in keyof FontFace]: FontFace[P] | FontFace[P][];
|
|
5009
|
-
};
|
|
5286
|
+
export type MsBlockProgression = "bt" | "lr" | "rl" | "tb";
|
|
5010
5287
|
|
|
5011
|
-
export type
|
|
5012
|
-
[P in keyof FontFaceHyphen]: FontFaceHyphen[P] | FontFaceHyphen[P][];
|
|
5013
|
-
};
|
|
5288
|
+
export type MsContentZoomChaining = "chained" | "none";
|
|
5014
5289
|
|
|
5015
|
-
export
|
|
5016
|
-
size?: Size;
|
|
5017
|
-
}
|
|
5290
|
+
export type MsContentZoomLimit = OnlyString;
|
|
5018
5291
|
|
|
5019
|
-
export
|
|
5020
|
-
size?: Size;
|
|
5021
|
-
}
|
|
5292
|
+
export type MsContentZoomLimitMax = OnlyString;
|
|
5022
5293
|
|
|
5023
|
-
export type
|
|
5024
|
-
[P in keyof Page]: Page[P] | Page[P][];
|
|
5025
|
-
};
|
|
5294
|
+
export type MsContentZoomLimitMin = OnlyString;
|
|
5026
5295
|
|
|
5027
|
-
export type
|
|
5028
|
-
[P in keyof PageHyphen]: PageHyphen[P] | PageHyphen[P][];
|
|
5029
|
-
};
|
|
5296
|
+
export type MsContentZoomSnap = "mandatory" | "none" | "proximity" | OnlyString;
|
|
5030
5297
|
|
|
5031
|
-
export
|
|
5032
|
-
inherits?: Inherits;
|
|
5033
|
-
initialValue?: boolean | OnlyStringNumeric;
|
|
5034
|
-
syntax?: string;
|
|
5035
|
-
}
|
|
5298
|
+
export type MsContentZoomSnapPoints = OnlyString;
|
|
5036
5299
|
|
|
5037
|
-
export
|
|
5038
|
-
inherits?: Inherits;
|
|
5039
|
-
"initial-value"?: string;
|
|
5040
|
-
syntax?: string;
|
|
5041
|
-
}
|
|
5300
|
+
export type MsContentZoomSnapType = "mandatory" | "none" | "proximity";
|
|
5042
5301
|
|
|
5043
|
-
export type
|
|
5044
|
-
[P in keyof Property]: Property[P] | Property[P][];
|
|
5045
|
-
};
|
|
5302
|
+
export type MsContentZooming = "none" | "zoom";
|
|
5046
5303
|
|
|
5047
|
-
export type
|
|
5048
|
-
[P in keyof PropertyHyphen]: PropertyHyphen[P] | PropertyHyphen[P][];
|
|
5049
|
-
};
|
|
5304
|
+
export type MsFilter = OnlyString;
|
|
5050
5305
|
|
|
5051
|
-
export
|
|
5052
|
-
height?: Height;
|
|
5053
|
-
maxHeight?: MaxHeight;
|
|
5054
|
-
maxWidth?: MaxWidth;
|
|
5055
|
-
maxZoom?: MaxZoom;
|
|
5056
|
-
minHeight?: MinHeight;
|
|
5057
|
-
minWidth?: MinWidth;
|
|
5058
|
-
minZoom?: MinZoom;
|
|
5059
|
-
orientation?: Orientation;
|
|
5060
|
-
userZoom?: UserZoom;
|
|
5061
|
-
viewportFit?: ViewportFit;
|
|
5062
|
-
width?: Width;
|
|
5063
|
-
zoom?: Zoom;
|
|
5064
|
-
}
|
|
5306
|
+
export type MsFlowFrom = "none" | OnlyString;
|
|
5065
5307
|
|
|
5066
|
-
export
|
|
5067
|
-
height?: Height;
|
|
5068
|
-
"max-height"?: MaxHeight;
|
|
5069
|
-
"max-width"?: MaxWidth;
|
|
5070
|
-
"max-zoom"?: MaxZoom;
|
|
5071
|
-
"min-height"?: MinHeight;
|
|
5072
|
-
"min-width"?: MinWidth;
|
|
5073
|
-
"min-zoom"?: MinZoom;
|
|
5074
|
-
orientation?: Orientation;
|
|
5075
|
-
"user-zoom"?: UserZoom;
|
|
5076
|
-
"viewport-fit"?: ViewportFit;
|
|
5077
|
-
width?: Width;
|
|
5078
|
-
zoom?: Zoom;
|
|
5079
|
-
}
|
|
5308
|
+
export type MsFlowInto = "none" | OnlyString;
|
|
5080
5309
|
|
|
5081
|
-
export type
|
|
5082
|
-
[P in keyof Viewport]: Viewport[P] | Viewport[P][];
|
|
5083
|
-
};
|
|
5310
|
+
export type MsGridColumns = DataType.TrackBreadth | "none" | OnlyString;
|
|
5084
5311
|
|
|
5085
|
-
export type
|
|
5086
|
-
[P in keyof ViewportHyphen]: ViewportHyphen[P] | ViewportHyphen[P][];
|
|
5087
|
-
};
|
|
5312
|
+
export type MsGridRows = DataType.TrackBreadth | "none" | OnlyString;
|
|
5088
5313
|
|
|
5089
|
-
type
|
|
5314
|
+
export type MsHighContrastAdjust = "auto" | "none";
|
|
5090
5315
|
|
|
5091
|
-
type
|
|
5316
|
+
export type MsHyphenateLimitChars = "auto" | OnlyStringNumeric;
|
|
5092
5317
|
|
|
5093
|
-
type
|
|
5318
|
+
export type MsHyphenateLimitLines = "no-limit" | OnlyNumber;
|
|
5094
5319
|
|
|
5095
|
-
type
|
|
5320
|
+
export type MsHyphenateLimitZone = OnlyStringNumeric;
|
|
5096
5321
|
|
|
5097
|
-
type
|
|
5322
|
+
export type MsImeAlign = "after" | "auto";
|
|
5098
5323
|
|
|
5099
|
-
type
|
|
5324
|
+
export type MsOverflowStyle = "auto" | "none" | "scrollbar";
|
|
5100
5325
|
|
|
5101
|
-
type
|
|
5326
|
+
export type MsScrollChaining = "chained" | "none";
|
|
5102
5327
|
|
|
5103
|
-
type
|
|
5104
|
-
| DataType.EastAsianVariantValues
|
|
5105
|
-
| "all-petite-caps"
|
|
5106
|
-
| "all-small-caps"
|
|
5107
|
-
| "common-ligatures"
|
|
5108
|
-
| "contextual"
|
|
5109
|
-
| "diagonal-fractions"
|
|
5110
|
-
| "discretionary-ligatures"
|
|
5111
|
-
| "full-width"
|
|
5112
|
-
| "historical-forms"
|
|
5113
|
-
| "historical-ligatures"
|
|
5114
|
-
| "lining-nums"
|
|
5115
|
-
| "no-common-ligatures"
|
|
5116
|
-
| "no-contextual"
|
|
5117
|
-
| "no-discretionary-ligatures"
|
|
5118
|
-
| "no-historical-ligatures"
|
|
5119
|
-
| "none"
|
|
5120
|
-
| "normal"
|
|
5121
|
-
| "oldstyle-nums"
|
|
5122
|
-
| "ordinal"
|
|
5123
|
-
| "petite-caps"
|
|
5124
|
-
| "proportional-nums"
|
|
5125
|
-
| "proportional-width"
|
|
5126
|
-
| "ruby"
|
|
5127
|
-
| "slashed-zero"
|
|
5128
|
-
| "small-caps"
|
|
5129
|
-
| "stacked-fractions"
|
|
5130
|
-
| "tabular-nums"
|
|
5131
|
-
| "titling-caps"
|
|
5132
|
-
| "unicase"
|
|
5133
|
-
| OnlyString;
|
|
5328
|
+
export type MsScrollLimit = OnlyString;
|
|
5134
5329
|
|
|
5135
|
-
type
|
|
5330
|
+
export type MsScrollLimitXMax = number | "auto";
|
|
5136
5331
|
|
|
5137
|
-
type
|
|
5332
|
+
export type MsScrollLimitXMin = number;
|
|
5138
5333
|
|
|
5139
|
-
type
|
|
5334
|
+
export type MsScrollLimitYMax = number | "auto";
|
|
5140
5335
|
|
|
5141
|
-
type
|
|
5336
|
+
export type MsScrollLimitYMin = number;
|
|
5142
5337
|
|
|
5143
|
-
type
|
|
5338
|
+
export type MsScrollRails = "none" | "railed";
|
|
5144
5339
|
|
|
5145
|
-
type
|
|
5340
|
+
export type MsScrollSnapPointsX = OnlyString;
|
|
5146
5341
|
|
|
5147
|
-
type
|
|
5342
|
+
export type MsScrollSnapPointsY = OnlyString;
|
|
5148
5343
|
|
|
5149
|
-
type
|
|
5344
|
+
export type MsScrollSnapType = "mandatory" | "none" | "proximity";
|
|
5150
5345
|
|
|
5151
|
-
type
|
|
5346
|
+
export type MsScrollSnapX = OnlyString;
|
|
5152
5347
|
|
|
5153
|
-
type
|
|
5348
|
+
export type MsScrollSnapY = OnlyString;
|
|
5154
5349
|
|
|
5155
|
-
type
|
|
5350
|
+
export type MsScrollTranslation = "none" | "vertical-to-horizontal";
|
|
5156
5351
|
|
|
5157
|
-
type
|
|
5352
|
+
export type MsScrollbar3dlightColor = DataType.Color;
|
|
5158
5353
|
|
|
5159
|
-
type
|
|
5354
|
+
export type MsScrollbarArrowColor = DataType.Color;
|
|
5160
5355
|
|
|
5161
|
-
type
|
|
5356
|
+
export type MsScrollbarBaseColor = DataType.Color;
|
|
5162
5357
|
|
|
5163
|
-
type
|
|
5358
|
+
export type MsScrollbarDarkshadowColor = DataType.Color;
|
|
5164
5359
|
|
|
5165
|
-
type
|
|
5166
|
-
}
|
|
5360
|
+
export type MsScrollbarFaceColor = DataType.Color;
|
|
5167
5361
|
|
|
5168
|
-
|
|
5169
|
-
type AbsoluteSize = "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large";
|
|
5362
|
+
export type MsScrollbarHighlightColor = DataType.Color;
|
|
5170
5363
|
|
|
5171
|
-
type
|
|
5364
|
+
export type MsScrollbarShadowColor = DataType.Color;
|
|
5172
5365
|
|
|
5173
|
-
type
|
|
5366
|
+
export type MsTextAutospace = "ideograph-alpha" | "ideograph-numeric" | "ideograph-parenthesis" | "ideograph-space" | "none";
|
|
5174
5367
|
|
|
5175
|
-
type
|
|
5368
|
+
export type MsTouchSelect = "grippers" | "none";
|
|
5176
5369
|
|
|
5177
|
-
type
|
|
5370
|
+
export type MsUserSelect = "element" | "none" | "text";
|
|
5178
5371
|
|
|
5179
|
-
type
|
|
5180
|
-
| "color"
|
|
5181
|
-
| "color-burn"
|
|
5182
|
-
| "color-dodge"
|
|
5183
|
-
| "darken"
|
|
5184
|
-
| "difference"
|
|
5185
|
-
| "exclusion"
|
|
5186
|
-
| "hard-light"
|
|
5187
|
-
| "hue"
|
|
5188
|
-
| "lighten"
|
|
5189
|
-
| "luminosity"
|
|
5190
|
-
| "multiply"
|
|
5191
|
-
| "normal"
|
|
5192
|
-
| "overlay"
|
|
5193
|
-
| "saturation"
|
|
5194
|
-
| "screen"
|
|
5195
|
-
| "soft-light";
|
|
5372
|
+
export type MsWrapFlow = "auto" | "both" | "clear" | "end" | "maximum" | "start";
|
|
5196
5373
|
|
|
5197
|
-
type
|
|
5374
|
+
export type MsWrapMargin = number;
|
|
5198
5375
|
|
|
5199
|
-
type
|
|
5376
|
+
export type MsWrapThrough = "none" | "wrap";
|
|
5200
5377
|
|
|
5201
|
-
type
|
|
5378
|
+
export type WebkitAppearance =
|
|
5202
5379
|
| "button"
|
|
5380
|
+
| "button-bevel"
|
|
5381
|
+
| "caret"
|
|
5203
5382
|
| "checkbox"
|
|
5383
|
+
| "default-button"
|
|
5384
|
+
| "inner-spin-button"
|
|
5204
5385
|
| "listbox"
|
|
5386
|
+
| "listitem"
|
|
5387
|
+
| "media-controls-background"
|
|
5388
|
+
| "media-controls-fullscreen-background"
|
|
5389
|
+
| "media-current-time-display"
|
|
5390
|
+
| "media-enter-fullscreen-button"
|
|
5391
|
+
| "media-exit-fullscreen-button"
|
|
5392
|
+
| "media-fullscreen-button"
|
|
5393
|
+
| "media-mute-button"
|
|
5394
|
+
| "media-overlay-play-button"
|
|
5395
|
+
| "media-play-button"
|
|
5396
|
+
| "media-seek-back-button"
|
|
5397
|
+
| "media-seek-forward-button"
|
|
5398
|
+
| "media-slider"
|
|
5399
|
+
| "media-sliderthumb"
|
|
5400
|
+
| "media-time-remaining-display"
|
|
5401
|
+
| "media-toggle-closed-captions-button"
|
|
5402
|
+
| "media-volume-slider"
|
|
5403
|
+
| "media-volume-slider-container"
|
|
5404
|
+
| "media-volume-sliderthumb"
|
|
5205
5405
|
| "menulist"
|
|
5406
|
+
| "menulist-button"
|
|
5407
|
+
| "menulist-text"
|
|
5408
|
+
| "menulist-textfield"
|
|
5206
5409
|
| "meter"
|
|
5410
|
+
| "none"
|
|
5207
5411
|
| "progress-bar"
|
|
5412
|
+
| "progress-bar-value"
|
|
5208
5413
|
| "push-button"
|
|
5209
5414
|
| "radio"
|
|
5210
5415
|
| "searchfield"
|
|
5211
|
-
| "
|
|
5212
|
-
| "
|
|
5213
|
-
| "
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
| "
|
|
5217
|
-
| "
|
|
5218
|
-
| "
|
|
5219
|
-
| "
|
|
5220
|
-
| "
|
|
5221
|
-
| "
|
|
5222
|
-
| "source-atop"
|
|
5223
|
-
| "source-in"
|
|
5224
|
-
| "source-out"
|
|
5225
|
-
| "source-over"
|
|
5226
|
-
| "xor";
|
|
5227
|
-
|
|
5228
|
-
type CompositingOperator = "add" | "exclude" | "intersect" | "subtract";
|
|
5416
|
+
| "searchfield-cancel-button"
|
|
5417
|
+
| "searchfield-decoration"
|
|
5418
|
+
| "searchfield-results-button"
|
|
5419
|
+
| "searchfield-results-decoration"
|
|
5420
|
+
| "slider-horizontal"
|
|
5421
|
+
| "slider-vertical"
|
|
5422
|
+
| "sliderthumb-horizontal"
|
|
5423
|
+
| "sliderthumb-vertical"
|
|
5424
|
+
| "square-button"
|
|
5425
|
+
| "textarea"
|
|
5426
|
+
| "textfield";
|
|
5229
5427
|
|
|
5230
|
-
type
|
|
5428
|
+
export type WebkitBorderBefore = DataType.LineWidth | DataType.LineStyle | DataType.Color | OnlyString;
|
|
5231
5429
|
|
|
5232
|
-
type
|
|
5430
|
+
export type WebkitBorderBeforeColor = DataType.Color;
|
|
5233
5431
|
|
|
5234
|
-
type
|
|
5432
|
+
export type WebkitBorderBeforeStyle = DataType.LineStyle | OnlyString;
|
|
5235
5433
|
|
|
5236
|
-
type
|
|
5434
|
+
export type WebkitBorderBeforeWidth = DataType.LineWidth | OnlyString;
|
|
5237
5435
|
|
|
5238
|
-
type
|
|
5436
|
+
export type WebkitBoxReflect = "above" | "below" | "left" | "right" | OnlyStringNumeric;
|
|
5239
5437
|
|
|
5240
|
-
type
|
|
5241
|
-
| "ActiveText"
|
|
5242
|
-
| "ButtonFace"
|
|
5243
|
-
| "ButtonText"
|
|
5244
|
-
| "ButtonBorder"
|
|
5245
|
-
| "Canvas"
|
|
5246
|
-
| "CanvasText"
|
|
5247
|
-
| "Field"
|
|
5248
|
-
| "FieldText"
|
|
5249
|
-
| "GrayText"
|
|
5250
|
-
| "Highlight"
|
|
5251
|
-
| "HighlightText"
|
|
5252
|
-
| "LinkText"
|
|
5253
|
-
| "Mark"
|
|
5254
|
-
| "MarkText"
|
|
5255
|
-
| "VisitedText";
|
|
5438
|
+
export type WebkitLineClamp = "none" | OnlyNumber;
|
|
5256
5439
|
|
|
5257
|
-
type
|
|
5440
|
+
export type WebkitMask = DataType.Position | DataType.RepeatStyle | DataType.Box | "border" | "content" | "none" | "padding" | "text" | OnlyString;
|
|
5258
5441
|
|
|
5259
|
-
type
|
|
5260
|
-
| "ruby-base"
|
|
5261
|
-
| "ruby-base-container"
|
|
5262
|
-
| "ruby-text"
|
|
5263
|
-
| "ruby-text-container"
|
|
5264
|
-
| "table-caption"
|
|
5265
|
-
| "table-cell"
|
|
5266
|
-
| "table-column"
|
|
5267
|
-
| "table-column-group"
|
|
5268
|
-
| "table-footer-group"
|
|
5269
|
-
| "table-header-group"
|
|
5270
|
-
| "table-row"
|
|
5271
|
-
| "table-row-group";
|
|
5442
|
+
export type WebkitMaskAttachment = DataType.Attachment | OnlyString;
|
|
5272
5443
|
|
|
5273
|
-
type
|
|
5444
|
+
export type WebkitMaskClip = DataType.Box | "border" | "content" | "padding" | "text" | OnlyString;
|
|
5274
5445
|
|
|
5275
|
-
type
|
|
5446
|
+
export type WebkitMaskComposite = DataType.CompositeStyle | OnlyString;
|
|
5276
5447
|
|
|
5277
|
-
type
|
|
5448
|
+
export type WebkitMaskImage = "none" | OnlyString;
|
|
5278
5449
|
|
|
5279
|
-
type
|
|
5450
|
+
export type WebkitMaskOrigin = DataType.Box | "border" | "content" | "padding" | OnlyString;
|
|
5280
5451
|
|
|
5281
|
-
type
|
|
5452
|
+
export type WebkitMaskPosition = DataType.Position | OnlyString;
|
|
5282
5453
|
|
|
5283
|
-
type
|
|
5284
|
-
| "condensed"
|
|
5285
|
-
| "expanded"
|
|
5286
|
-
| "extra-condensed"
|
|
5287
|
-
| "extra-expanded"
|
|
5288
|
-
| "normal"
|
|
5289
|
-
| "semi-condensed"
|
|
5290
|
-
| "semi-expanded"
|
|
5291
|
-
| "ultra-condensed"
|
|
5292
|
-
| "ultra-expanded"
|
|
5293
|
-
| OnlyString;
|
|
5454
|
+
export type WebkitMaskPositionX = "center" | "left" | "right" | OnlyStringNumeric;
|
|
5294
5455
|
|
|
5295
|
-
type
|
|
5456
|
+
export type WebkitMaskPositionY = "bottom" | "center" | "top" | OnlyStringNumeric;
|
|
5296
5457
|
|
|
5297
|
-
type
|
|
5298
|
-
| "cursive"
|
|
5299
|
-
| "emoji"
|
|
5300
|
-
| "fangsong"
|
|
5301
|
-
| "fantasy"
|
|
5302
|
-
| "math"
|
|
5303
|
-
| "monospace"
|
|
5304
|
-
| "sans-serif"
|
|
5305
|
-
| "serif"
|
|
5306
|
-
| "system-ui"
|
|
5307
|
-
| "ui-monospace"
|
|
5308
|
-
| "ui-rounded"
|
|
5309
|
-
| "ui-sans-serif"
|
|
5310
|
-
| "ui-serif";
|
|
5458
|
+
export type WebkitMaskRepeat = DataType.RepeatStyle | OnlyString;
|
|
5311
5459
|
|
|
5312
|
-
type
|
|
5460
|
+
export type WebkitMaskRepeatX = "no-repeat" | "repeat" | "round" | "space";
|
|
5313
5461
|
|
|
5314
|
-
type
|
|
5462
|
+
export type WebkitMaskRepeatY = "no-repeat" | "repeat" | "round" | "space";
|
|
5315
5463
|
|
|
5316
|
-
type
|
|
5464
|
+
export type WebkitMaskSize = DataType.BgSize | OnlyString;
|
|
5317
5465
|
|
|
5318
|
-
type
|
|
5466
|
+
export type WebkitOverflowScrolling = "auto" | "touch";
|
|
5319
5467
|
|
|
5320
|
-
type
|
|
5468
|
+
export type WebkitTapHighlightColor = DataType.Color;
|
|
5321
5469
|
|
|
5322
|
-
type
|
|
5470
|
+
export type WebkitTextFillColor = DataType.Color;
|
|
5323
5471
|
|
|
5324
|
-
type
|
|
5325
|
-
| "AliceBlue"
|
|
5326
|
-
| "AntiqueWhite"
|
|
5327
|
-
| "Aqua"
|
|
5328
|
-
| "Aquamarine"
|
|
5329
|
-
| "Azure"
|
|
5330
|
-
| "Beige"
|
|
5331
|
-
| "Bisque"
|
|
5332
|
-
| "Black"
|
|
5333
|
-
| "BlanchedAlmond"
|
|
5334
|
-
| "Blue"
|
|
5335
|
-
| "BlueViolet"
|
|
5336
|
-
| "Brown"
|
|
5337
|
-
| "BurlyWood"
|
|
5338
|
-
| "CadetBlue"
|
|
5339
|
-
| "Chartreuse"
|
|
5340
|
-
| "Chocolate"
|
|
5341
|
-
| "Coral"
|
|
5342
|
-
| "CornflowerBlue"
|
|
5343
|
-
| "Cornsilk"
|
|
5344
|
-
| "Crimson"
|
|
5345
|
-
| "Cyan"
|
|
5346
|
-
| "DarkBlue"
|
|
5347
|
-
| "DarkCyan"
|
|
5348
|
-
| "DarkGoldenRod"
|
|
5349
|
-
| "DarkGray"
|
|
5350
|
-
| "DarkGreen"
|
|
5351
|
-
| "DarkGrey"
|
|
5352
|
-
| "DarkKhaki"
|
|
5353
|
-
| "DarkMagenta"
|
|
5354
|
-
| "DarkOliveGreen"
|
|
5355
|
-
| "DarkOrange"
|
|
5356
|
-
| "DarkOrchid"
|
|
5357
|
-
| "DarkRed"
|
|
5358
|
-
| "DarkSalmon"
|
|
5359
|
-
| "DarkSeaGreen"
|
|
5360
|
-
| "DarkSlateBlue"
|
|
5361
|
-
| "DarkSlateGray"
|
|
5362
|
-
| "DarkSlateGrey"
|
|
5363
|
-
| "DarkTurquoise"
|
|
5364
|
-
| "DarkViolet"
|
|
5365
|
-
| "DeepPink"
|
|
5366
|
-
| "DeepSkyBlue"
|
|
5367
|
-
| "DimGray"
|
|
5368
|
-
| "DimGrey"
|
|
5369
|
-
| "DodgerBlue"
|
|
5370
|
-
| "FireBrick"
|
|
5371
|
-
| "FloralWhite"
|
|
5372
|
-
| "ForestGreen"
|
|
5373
|
-
| "Fuchsia"
|
|
5374
|
-
| "Gainsboro"
|
|
5375
|
-
| "GhostWhite"
|
|
5376
|
-
| "Gold"
|
|
5377
|
-
| "GoldenRod"
|
|
5378
|
-
| "Gray"
|
|
5379
|
-
| "Green"
|
|
5380
|
-
| "GreenYellow"
|
|
5381
|
-
| "Grey"
|
|
5382
|
-
| "HoneyDew"
|
|
5383
|
-
| "HotPink"
|
|
5384
|
-
| "IndianRed"
|
|
5385
|
-
| "Indigo"
|
|
5386
|
-
| "Ivory"
|
|
5387
|
-
| "Khaki"
|
|
5388
|
-
| "Lavender"
|
|
5389
|
-
| "LavenderBlush"
|
|
5390
|
-
| "LawnGreen"
|
|
5391
|
-
| "LemonChiffon"
|
|
5392
|
-
| "LightBlue"
|
|
5393
|
-
| "LightCoral"
|
|
5394
|
-
| "LightCyan"
|
|
5395
|
-
| "LightGoldenRodYellow"
|
|
5396
|
-
| "LightGray"
|
|
5397
|
-
| "LightGreen"
|
|
5398
|
-
| "LightGrey"
|
|
5399
|
-
| "LightPink"
|
|
5400
|
-
| "LightSalmon"
|
|
5401
|
-
| "LightSeaGreen"
|
|
5402
|
-
| "LightSkyBlue"
|
|
5403
|
-
| "LightSlateGray"
|
|
5404
|
-
| "LightSlateGrey"
|
|
5405
|
-
| "LightSteelBlue"
|
|
5406
|
-
| "LightYellow"
|
|
5407
|
-
| "Lime"
|
|
5408
|
-
| "LimeGreen"
|
|
5409
|
-
| "Linen"
|
|
5410
|
-
| "Magenta"
|
|
5411
|
-
| "Maroon"
|
|
5412
|
-
| "MediumAquaMarine"
|
|
5413
|
-
| "MediumBlue"
|
|
5414
|
-
| "MediumOrchid"
|
|
5415
|
-
| "MediumPurple"
|
|
5416
|
-
| "MediumSeaGreen"
|
|
5417
|
-
| "MediumSlateBlue"
|
|
5418
|
-
| "MediumSpringGreen"
|
|
5419
|
-
| "MediumTurquoise"
|
|
5420
|
-
| "MediumVioletRed"
|
|
5421
|
-
| "MidnightBlue"
|
|
5422
|
-
| "MintCream"
|
|
5423
|
-
| "MistyRose"
|
|
5424
|
-
| "Moccasin"
|
|
5425
|
-
| "NavajoWhite"
|
|
5426
|
-
| "Navy"
|
|
5427
|
-
| "OldLace"
|
|
5428
|
-
| "Olive"
|
|
5429
|
-
| "OliveDrab"
|
|
5430
|
-
| "Orange"
|
|
5431
|
-
| "OrangeRed"
|
|
5432
|
-
| "Orchid"
|
|
5433
|
-
| "PaleGoldenRod"
|
|
5434
|
-
| "PaleGreen"
|
|
5435
|
-
| "PaleTurquoise"
|
|
5436
|
-
| "PaleVioletRed"
|
|
5437
|
-
| "PapayaWhip"
|
|
5438
|
-
| "PeachPuff"
|
|
5439
|
-
| "Peru"
|
|
5440
|
-
| "Pink"
|
|
5441
|
-
| "Plum"
|
|
5442
|
-
| "PowderBlue"
|
|
5443
|
-
| "Purple"
|
|
5444
|
-
| "RebeccaPurple"
|
|
5445
|
-
| "Red"
|
|
5446
|
-
| "RosyBrown"
|
|
5447
|
-
| "RoyalBlue"
|
|
5448
|
-
| "SaddleBrown"
|
|
5449
|
-
| "Salmon"
|
|
5450
|
-
| "SandyBrown"
|
|
5451
|
-
| "SeaGreen"
|
|
5452
|
-
| "SeaShell"
|
|
5453
|
-
| "Sienna"
|
|
5454
|
-
| "Silver"
|
|
5455
|
-
| "SkyBlue"
|
|
5456
|
-
| "SlateBlue"
|
|
5457
|
-
| "SlateGray"
|
|
5458
|
-
| "SlateGrey"
|
|
5459
|
-
| "Snow"
|
|
5460
|
-
| "SpringGreen"
|
|
5461
|
-
| "SteelBlue"
|
|
5462
|
-
| "Tan"
|
|
5463
|
-
| "Teal"
|
|
5464
|
-
| "Thistle"
|
|
5465
|
-
| "Tomato"
|
|
5466
|
-
| "transparent"
|
|
5467
|
-
| "Turquoise"
|
|
5468
|
-
| "Violet"
|
|
5469
|
-
| "Wheat"
|
|
5470
|
-
| "White"
|
|
5471
|
-
| "WhiteSmoke"
|
|
5472
|
-
| "Yellow"
|
|
5473
|
-
| "YellowGreen";
|
|
5472
|
+
export type WebkitTextStroke = DataType.Color | OnlyStringNumeric;
|
|
5474
5473
|
|
|
5475
|
-
type
|
|
5474
|
+
export type WebkitTextStrokeColor = DataType.Color;
|
|
5476
5475
|
|
|
5477
|
-
type
|
|
5476
|
+
export type WebkitTextStrokeWidth = number;
|
|
5478
5477
|
|
|
5479
|
-
type
|
|
5478
|
+
export type WebkitTouchCallout = "default" | "none";
|
|
5480
5479
|
|
|
5481
|
-
type
|
|
5480
|
+
export type WebkitUserModify = "read-only" | "read-write" | "read-write-plaintext-only";
|
|
5482
5481
|
|
|
5483
|
-
type
|
|
5482
|
+
export type AlignmentBaseline =
|
|
5483
|
+
| "after-edge"
|
|
5484
|
+
| "alphabetic"
|
|
5485
|
+
| "auto"
|
|
5486
|
+
| "baseline"
|
|
5487
|
+
| "before-edge"
|
|
5488
|
+
| "central"
|
|
5489
|
+
| "hanging"
|
|
5490
|
+
| "ideographic"
|
|
5491
|
+
| "mathematical"
|
|
5492
|
+
| "middle"
|
|
5493
|
+
| "text-after-edge"
|
|
5494
|
+
| "text-before-edge";
|
|
5484
5495
|
|
|
5485
|
-
type
|
|
5496
|
+
export type BaselineShift = "baseline" | "sub" | "super" | OnlyStringNumeric;
|
|
5486
5497
|
|
|
5487
|
-
type
|
|
5488
|
-
| EasingFunction
|
|
5489
|
-
| SingleAnimationDirection
|
|
5490
|
-
| SingleAnimationFillMode
|
|
5491
|
-
| "infinite"
|
|
5492
|
-
| "none"
|
|
5493
|
-
| "paused"
|
|
5494
|
-
| "running"
|
|
5495
|
-
| OnlyString
|
|
5496
|
-
| OnlyNumber;
|
|
5498
|
+
export type ClipRule = "evenodd" | "nonzero";
|
|
5497
5499
|
|
|
5498
|
-
type
|
|
5500
|
+
export type ColorInterpolation = "auto" | "linearRGB" | "sRGB";
|
|
5499
5501
|
|
|
5500
|
-
type
|
|
5502
|
+
export type ColorRendering = "auto" | "optimizeQuality" | "optimizeSpeed";
|
|
5501
5503
|
|
|
5502
|
-
type
|
|
5504
|
+
export type DominantBaseline =
|
|
5505
|
+
| "alphabetic"
|
|
5506
|
+
| "auto"
|
|
5507
|
+
| "central"
|
|
5508
|
+
| "hanging"
|
|
5509
|
+
| "ideographic"
|
|
5510
|
+
| "mathematical"
|
|
5511
|
+
| "middle"
|
|
5512
|
+
| "no-change"
|
|
5513
|
+
| "reset-size"
|
|
5514
|
+
| "text-after-edge"
|
|
5515
|
+
| "text-before-edge"
|
|
5516
|
+
| "use-script";
|
|
5503
5517
|
|
|
5504
|
-
type
|
|
5518
|
+
export type Fill = DataType.Paint;
|
|
5505
5519
|
|
|
5506
|
-
type
|
|
5520
|
+
export type FillOpacity = OnlyNumber;
|
|
5507
5521
|
|
|
5508
|
-
type
|
|
5522
|
+
export type FillRule = "evenodd" | "nonzero";
|
|
5509
5523
|
|
|
5510
|
-
type
|
|
5511
|
-
}
|
|
5524
|
+
export type FloodColor = DataType.Color | "CurrentColor" | "hsl(" | "lab(" | "rgb(";
|
|
5512
5525
|
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5526
|
+
export type FloodOpacity = OnlyNumber;
|
|
5527
|
+
|
|
5528
|
+
export type GlyphOrientationVertical = "auto" | OnlyStringNumeric;
|
|
5529
|
+
|
|
5530
|
+
export type LightingColor = DataType.Color | "CurrentColor" | "hsl(" | "lab(" | "rgb(";
|
|
5531
|
+
|
|
5532
|
+
export type Marker = "none" | OnlyString;
|
|
5533
|
+
|
|
5534
|
+
export type MarkerEnd = "none" | OnlyString;
|
|
5535
|
+
|
|
5536
|
+
export type MarkerMid = "none" | OnlyString;
|
|
5537
|
+
|
|
5538
|
+
export type MarkerStart = "none" | OnlyString;
|
|
5539
|
+
|
|
5540
|
+
export type ShapeRendering = "auto" | "crispEdges" | "geometricPrecision" | "optimizeSpeed";
|
|
5541
|
+
|
|
5542
|
+
export type StopColor = DataType.Color | "CurrentColor" | "hsl(" | "lab(" | "rgb(";
|
|
5543
|
+
|
|
5544
|
+
export type StopOpacity = OnlyNumber;
|
|
5545
|
+
|
|
5546
|
+
export type Stroke = DataType.Paint;
|
|
5547
|
+
|
|
5548
|
+
export type StrokeDasharray = DataType.Dasharray | "none";
|
|
5549
|
+
|
|
5550
|
+
export type StrokeDashoffset = OnlyStringNumeric;
|
|
5551
|
+
|
|
5552
|
+
export type StrokeLinecap = "butt" | "round" | "square";
|
|
5553
|
+
|
|
5554
|
+
export type StrokeLinejoin = "bevel" | "miter" | "round";
|
|
5555
|
+
|
|
5556
|
+
export type StrokeMiterlimit = OnlyNumber;
|
|
5557
|
+
|
|
5558
|
+
export type StrokeOpacity = OnlyNumber;
|
|
5559
|
+
|
|
5560
|
+
export type StrokeWidth = OnlyStringNumeric;
|
|
5561
|
+
|
|
5562
|
+
export type TextAnchor = "end" | "middle" | "start";
|
|
5563
|
+
|
|
5564
|
+
export type VectorEffect = "non-scaling-stroke" | "none";
|
|
5518
5565
|
}
|
|
5519
5566
|
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
new (name: NameType, value: ValueType, scale?: ScaleType, prefix?: PrefixType): this;
|
|
5567
|
+
declare namespace AtRule {
|
|
5568
|
+
export interface CounterStyle {
|
|
5569
|
+
additiveSymbols?: string;
|
|
5570
|
+
fallback?: string;
|
|
5571
|
+
negative?: string;
|
|
5572
|
+
pad?: string;
|
|
5573
|
+
prefix?: string;
|
|
5574
|
+
range?: Range;
|
|
5575
|
+
speakAs?: SpeakAs;
|
|
5576
|
+
suffix?: string;
|
|
5577
|
+
symbols?: string;
|
|
5578
|
+
system?: System;
|
|
5579
|
+
}
|
|
5534
5580
|
|
|
5535
|
-
|
|
5536
|
-
|
|
5581
|
+
export interface CounterStyleHyphen {
|
|
5582
|
+
"additive-symbols"?: string;
|
|
5583
|
+
fallback?: string;
|
|
5584
|
+
negative?: string;
|
|
5585
|
+
pad?: string;
|
|
5586
|
+
prefix?: string;
|
|
5587
|
+
range?: Range;
|
|
5588
|
+
"speak-as"?: SpeakAs;
|
|
5589
|
+
suffix?: string;
|
|
5590
|
+
symbols?: string;
|
|
5591
|
+
system?: System;
|
|
5592
|
+
}
|
|
5537
5593
|
|
|
5538
|
-
|
|
5539
|
-
|
|
5594
|
+
export type CounterStyleFallback = {
|
|
5595
|
+
[P in keyof CounterStyle]: CounterStyle[P] | CounterStyle[P][];
|
|
5596
|
+
};
|
|
5540
5597
|
|
|
5541
|
-
|
|
5542
|
-
|
|
5598
|
+
export type CounterStyleHyphenFallback = {
|
|
5599
|
+
[P in keyof CounterStyleHyphen]: CounterStyleHyphen[P] | CounterStyleHyphen[P][];
|
|
5600
|
+
};
|
|
5601
|
+
|
|
5602
|
+
export interface FontFace {
|
|
5603
|
+
MozFontFeatureSettings?: FontFeatureSettings;
|
|
5604
|
+
fontDisplay?: FontDisplay;
|
|
5605
|
+
fontFamily?: string;
|
|
5606
|
+
fontFeatureSettings?: FontFeatureSettings;
|
|
5607
|
+
fontStretch?: FontStretch;
|
|
5608
|
+
fontStyle?: FontStyle;
|
|
5609
|
+
fontVariant?: FontVariant;
|
|
5610
|
+
fontVariationSettings?: FontVariationSettings;
|
|
5611
|
+
fontWeight?: FontWeight;
|
|
5612
|
+
src?: string;
|
|
5613
|
+
unicodeRange?: string;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
export interface FontFaceHyphen {
|
|
5617
|
+
"font-display"?: FontDisplay;
|
|
5618
|
+
"font-family"?: string;
|
|
5619
|
+
"font-feature-settings"?: FontFeatureSettings;
|
|
5620
|
+
"font-stretch"?: FontStretch;
|
|
5621
|
+
"font-style"?: FontStyle;
|
|
5622
|
+
"font-variant"?: FontVariant;
|
|
5623
|
+
"font-variation-settings"?: FontVariationSettings;
|
|
5624
|
+
"font-weight"?: FontWeight;
|
|
5625
|
+
src?: string;
|
|
5626
|
+
"unicode-range"?: string;
|
|
5627
|
+
}
|
|
5628
|
+
|
|
5629
|
+
export type FontFaceFallback = {
|
|
5630
|
+
[P in keyof FontFace]: FontFace[P] | FontFace[P][];
|
|
5631
|
+
};
|
|
5632
|
+
|
|
5633
|
+
export type FontFaceHyphenFallback = {
|
|
5634
|
+
[P in keyof FontFaceHyphen]: FontFaceHyphen[P] | FontFaceHyphen[P][];
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
export interface Page {
|
|
5638
|
+
size?: Size;
|
|
5639
|
+
}
|
|
5640
|
+
|
|
5641
|
+
export interface PageHyphen {
|
|
5642
|
+
size?: Size;
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
export type PageFallback = {
|
|
5646
|
+
[P in keyof Page]: Page[P] | Page[P][];
|
|
5647
|
+
};
|
|
5648
|
+
|
|
5649
|
+
export type PageHyphenFallback = {
|
|
5650
|
+
[P in keyof PageHyphen]: PageHyphen[P] | PageHyphen[P][];
|
|
5651
|
+
};
|
|
5652
|
+
|
|
5653
|
+
export interface Property {
|
|
5654
|
+
inherits?: Inherits;
|
|
5655
|
+
initialValue?: boolean | OnlyStringNumeric;
|
|
5656
|
+
syntax?: string;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
export interface PropertyHyphen {
|
|
5660
|
+
inherits?: Inherits;
|
|
5661
|
+
"initial-value"?: string;
|
|
5662
|
+
syntax?: string;
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
export type PropertyFallback = {
|
|
5666
|
+
[P in keyof Property]: Property[P] | Property[P][];
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
export type PropertyHyphenFallback = {
|
|
5670
|
+
[P in keyof PropertyHyphen]: PropertyHyphen[P] | PropertyHyphen[P][];
|
|
5671
|
+
};
|
|
5672
|
+
|
|
5673
|
+
export interface Viewport {
|
|
5674
|
+
height?: Height;
|
|
5675
|
+
maxHeight?: MaxHeight;
|
|
5676
|
+
maxWidth?: MaxWidth;
|
|
5677
|
+
maxZoom?: MaxZoom;
|
|
5678
|
+
minHeight?: MinHeight;
|
|
5679
|
+
minWidth?: MinWidth;
|
|
5680
|
+
minZoom?: MinZoom;
|
|
5681
|
+
orientation?: Orientation;
|
|
5682
|
+
userZoom?: UserZoom;
|
|
5683
|
+
viewportFit?: ViewportFit;
|
|
5684
|
+
width?: Width;
|
|
5685
|
+
zoom?: Zoom;
|
|
5686
|
+
}
|
|
5687
|
+
|
|
5688
|
+
export interface ViewportHyphen {
|
|
5689
|
+
height?: Height;
|
|
5690
|
+
"max-height"?: MaxHeight;
|
|
5691
|
+
"max-width"?: MaxWidth;
|
|
5692
|
+
"max-zoom"?: MaxZoom;
|
|
5693
|
+
"min-height"?: MinHeight;
|
|
5694
|
+
"min-width"?: MinWidth;
|
|
5695
|
+
"min-zoom"?: MinZoom;
|
|
5696
|
+
orientation?: Orientation;
|
|
5697
|
+
"user-zoom"?: UserZoom;
|
|
5698
|
+
"viewport-fit"?: ViewportFit;
|
|
5699
|
+
width?: Width;
|
|
5700
|
+
zoom?: Zoom;
|
|
5701
|
+
}
|
|
5543
5702
|
|
|
5544
|
-
|
|
5545
|
-
|
|
5703
|
+
export type ViewportFallback = {
|
|
5704
|
+
[P in keyof Viewport]: Viewport[P] | Viewport[P][];
|
|
5705
|
+
};
|
|
5546
5706
|
|
|
5547
|
-
|
|
5548
|
-
|
|
5707
|
+
export type ViewportHyphenFallback = {
|
|
5708
|
+
[P in keyof ViewportHyphen]: ViewportHyphen[P] | ViewportHyphen[P][];
|
|
5709
|
+
};
|
|
5549
5710
|
|
|
5550
|
-
|
|
5551
|
-
computedValue: `var(${this["variable"]})`;
|
|
5711
|
+
type Range = "auto" | "infinite" | OnlyStringNumeric;
|
|
5552
5712
|
|
|
5553
|
-
|
|
5554
|
-
toString(): this["computedValue"];
|
|
5555
|
-
}
|
|
5713
|
+
type SpeakAs = "auto" | "bullets" | "numbers" | "spell-out" | "words" | OnlyString;
|
|
5556
5714
|
|
|
5557
|
-
|
|
5558
|
-
/* ========================================================================== */
|
|
5715
|
+
type System = "additive" | "alphabetic" | "cyclic" | "fixed" | "numeric" | "symbolic" | OnlyString;
|
|
5559
5716
|
|
|
5560
|
-
|
|
5561
|
-
type Prefixed<K extends string, T> = `${K}${Extract<T, boolean | number | string>}`;
|
|
5717
|
+
type FontFeatureSettings = "normal" | OnlyString;
|
|
5562
5718
|
|
|
5563
|
-
|
|
5564
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5565
|
-
type Assign<T1 = {}, T2 = {}> = T1 extends any ? Omit<T1, keyof T2> & T2 : never;
|
|
5719
|
+
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
5566
5720
|
|
|
5567
|
-
|
|
5568
|
-
type Widen<T> = T extends number
|
|
5569
|
-
? `${T}` | T
|
|
5570
|
-
: T extends "true"
|
|
5571
|
-
? boolean | T
|
|
5572
|
-
: T extends "false"
|
|
5573
|
-
? boolean | T
|
|
5574
|
-
: T extends `${number}`
|
|
5575
|
-
? number | T
|
|
5576
|
-
: T;
|
|
5721
|
+
type FontStretch = DataType.FontStretchAbsolute | OnlyString;
|
|
5577
5722
|
|
|
5578
|
-
|
|
5579
|
-
type String = string & Record<never, never>;
|
|
5723
|
+
type FontStyle = "italic" | "normal" | "oblique" | OnlyString;
|
|
5580
5724
|
|
|
5581
|
-
|
|
5582
|
-
|
|
5725
|
+
type FontVariant =
|
|
5726
|
+
| DataType.EastAsianVariantValues
|
|
5727
|
+
| "all-petite-caps"
|
|
5728
|
+
| "all-small-caps"
|
|
5729
|
+
| "common-ligatures"
|
|
5730
|
+
| "contextual"
|
|
5731
|
+
| "diagonal-fractions"
|
|
5732
|
+
| "discretionary-ligatures"
|
|
5733
|
+
| "full-width"
|
|
5734
|
+
| "historical-forms"
|
|
5735
|
+
| "historical-ligatures"
|
|
5736
|
+
| "lining-nums"
|
|
5737
|
+
| "no-common-ligatures"
|
|
5738
|
+
| "no-contextual"
|
|
5739
|
+
| "no-discretionary-ligatures"
|
|
5740
|
+
| "no-historical-ligatures"
|
|
5741
|
+
| "none"
|
|
5742
|
+
| "normal"
|
|
5743
|
+
| "oldstyle-nums"
|
|
5744
|
+
| "ordinal"
|
|
5745
|
+
| "petite-caps"
|
|
5746
|
+
| "proportional-nums"
|
|
5747
|
+
| "proportional-width"
|
|
5748
|
+
| "ruby"
|
|
5749
|
+
| "slashed-zero"
|
|
5750
|
+
| "small-caps"
|
|
5751
|
+
| "stacked-fractions"
|
|
5752
|
+
| "tabular-nums"
|
|
5753
|
+
| "titling-caps"
|
|
5754
|
+
| "unicase"
|
|
5755
|
+
| OnlyString;
|
|
5583
5756
|
|
|
5584
|
-
|
|
5585
|
-
type Function = (...args: any[]) => unknown;
|
|
5757
|
+
type FontVariationSettings = "normal" | OnlyString;
|
|
5586
5758
|
|
|
5587
|
-
|
|
5588
|
-
type WideObject = { [name in number | string]: boolean | number | string | undefined | WideObject };
|
|
5759
|
+
type FontWeight = DataType.FontWeightAbsolute;
|
|
5589
5760
|
|
|
5590
|
-
|
|
5591
|
-
interface CSSProperties$1 extends StandardLonghandProperties, StandardShorthandProperties, SvgProperties {}
|
|
5761
|
+
type Size = DataType.PageSize | "auto" | "landscape" | "portrait" | OnlyStringNumeric;
|
|
5592
5762
|
|
|
5593
|
-
type
|
|
5763
|
+
type Inherits = "false" | "true" | boolean;
|
|
5594
5764
|
|
|
5595
|
-
type
|
|
5765
|
+
type Height = DataType.ViewportLength | OnlyString;
|
|
5596
5766
|
|
|
5597
|
-
type
|
|
5767
|
+
type MaxHeight = DataType.ViewportLength;
|
|
5598
5768
|
|
|
5599
|
-
|
|
5600
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5601
|
-
type CSS$1<Media = {}, Theme = {}, ThemeMap = DefaultThemeMap$1, Utils = {}> = {
|
|
5602
|
-
// nested at-rule css styles
|
|
5603
|
-
[K in Prefixed<"@", keyof Media>]?: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
5604
|
-
} & {
|
|
5605
|
-
// known property styles
|
|
5606
|
-
[K in keyof CSSProperties$1]?:
|
|
5607
|
-
| ValueByPropertyName<K>
|
|
5608
|
-
| TokenByPropertyName<K, Theme, ThemeMap>
|
|
5609
|
-
| Globals
|
|
5610
|
-
| ScaleValue$1
|
|
5611
|
-
| Index
|
|
5612
|
-
| undefined;
|
|
5613
|
-
} & {
|
|
5614
|
-
// known utility styles
|
|
5615
|
-
[K in keyof Utils as K extends keyof CSSProperties$1 ? never : K]?: Utils[K] extends (arg: infer P) => any
|
|
5616
|
-
?
|
|
5617
|
-
| (P extends any[]
|
|
5618
|
-
?
|
|
5619
|
-
| ($$PropertyValue extends keyof P[0]
|
|
5620
|
-
?
|
|
5621
|
-
| ValueByPropertyName<P[0][$$PropertyValue]>
|
|
5622
|
-
| TokenByPropertyName<P[0][$$PropertyValue], Theme, ThemeMap>
|
|
5623
|
-
| Globals
|
|
5624
|
-
| ScaleValue$1
|
|
5625
|
-
| undefined
|
|
5626
|
-
: $$ScaleValue extends keyof P[0]
|
|
5627
|
-
? TokenByScaleName<P[0][$$ScaleValue], Theme> | { scale: P[0][$$ScaleValue] } | undefined
|
|
5628
|
-
: never)[]
|
|
5629
|
-
| P
|
|
5630
|
-
: $$PropertyValue extends keyof P
|
|
5631
|
-
? ValueByPropertyName<P[$$PropertyValue]> | TokenByPropertyName<P[$$PropertyValue], Theme, ThemeMap> | Globals | undefined
|
|
5632
|
-
: $$ScaleValue extends keyof P
|
|
5633
|
-
? TokenByScaleName<P[$$ScaleValue], Theme> | { scale: P[$$ScaleValue] } | undefined
|
|
5634
|
-
: never)
|
|
5635
|
-
| P
|
|
5636
|
-
: never;
|
|
5637
|
-
} & {
|
|
5638
|
-
// known theme styles
|
|
5639
|
-
[K in keyof ThemeMap as K extends keyof CSSProperties$1 ? never : K extends keyof Utils ? never : K]?: Globals | Index | undefined;
|
|
5640
|
-
} & {
|
|
5641
|
-
// unknown css declaration styles
|
|
5642
|
-
/** Unknown property. */
|
|
5643
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5644
|
-
[K: string]: number | string | CSS$1<Media, Theme, ThemeMap, Utils> | {} | undefined;
|
|
5645
|
-
};
|
|
5769
|
+
type MaxWidth = DataType.ViewportLength;
|
|
5646
5770
|
|
|
5647
|
-
|
|
5648
|
-
declare const $$PropertyValue: any;
|
|
5771
|
+
type MaxZoom = "auto" | OnlyStringNumeric;
|
|
5649
5772
|
|
|
5650
|
-
|
|
5651
|
-
type $$PropertyValue = typeof $$PropertyValue;
|
|
5773
|
+
type MinHeight = DataType.ViewportLength;
|
|
5652
5774
|
|
|
5653
|
-
|
|
5654
|
-
declare const $$ScaleValue: unique symbol;
|
|
5775
|
+
type MinWidth = DataType.ViewportLength;
|
|
5655
5776
|
|
|
5656
|
-
|
|
5657
|
-
type $$ScaleValue = typeof $$ScaleValue;
|
|
5777
|
+
type MinZoom = "auto" | OnlyStringNumeric;
|
|
5658
5778
|
|
|
5659
|
-
|
|
5779
|
+
type Orientation = "auto" | "landscape" | "portrait";
|
|
5660
5780
|
|
|
5661
|
-
type
|
|
5781
|
+
type UserZoom = "fixed" | "zoom";
|
|
5662
5782
|
|
|
5663
|
-
type
|
|
5783
|
+
type ViewportFit = "auto" | "contain" | "cover";
|
|
5664
5784
|
|
|
5665
|
-
|
|
5666
|
-
interface StyledComponent<
|
|
5667
|
-
Type = "span",
|
|
5668
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5669
|
-
Props = {},
|
|
5670
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5671
|
-
Media = {},
|
|
5672
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5673
|
-
CSS = {},
|
|
5674
|
-
> extends React$1.ForwardRefExoticComponent<
|
|
5675
|
-
Assign<
|
|
5676
|
-
Type extends IntrinsicElementsKeys | React$1.ComponentType<any> ? React$1.ComponentPropsWithRef<Type> : never,
|
|
5677
|
-
TransformProps<Props, Media> & { css?: CSS }
|
|
5678
|
-
>
|
|
5679
|
-
> {
|
|
5680
|
-
(
|
|
5681
|
-
props: Assign<
|
|
5682
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5683
|
-
Type extends IntrinsicElementsKeys | React$1.ComponentType<any> ? React$1.ComponentPropsWithRef<Type> : {},
|
|
5684
|
-
TransformProps<Props, Media> & {
|
|
5685
|
-
as?: never;
|
|
5686
|
-
css?: CSS;
|
|
5687
|
-
}
|
|
5688
|
-
>,
|
|
5689
|
-
): React$1.ReactElement | null;
|
|
5785
|
+
type Width = DataType.ViewportLength | OnlyString;
|
|
5690
5786
|
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
As extends string | React$1.ComponentType<any> = Type extends string | React$1.ComponentType<any> ? Type : any,
|
|
5694
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5695
|
-
InnerProps = Type extends StyledComponent<any, infer IP, any, any> ? IP : {},
|
|
5696
|
-
>(
|
|
5697
|
-
props: Assign<
|
|
5698
|
-
React$1.ComponentPropsWithRef<As extends IntrinsicElementsKeys | React$1.ComponentType<any> ? As : never>,
|
|
5699
|
-
TransformProps<Assign<InnerProps, Props>, Media> & {
|
|
5700
|
-
as?: As;
|
|
5701
|
-
css?: {
|
|
5702
|
-
[K in keyof C]: K extends keyof CSS ? CSS[K] : never;
|
|
5703
|
-
};
|
|
5704
|
-
}
|
|
5705
|
-
>,
|
|
5706
|
-
): React$1.ReactElement | null;
|
|
5787
|
+
type Zoom = "auto" | OnlyStringNumeric;
|
|
5788
|
+
}
|
|
5707
5789
|
|
|
5708
|
-
|
|
5709
|
-
|
|
5790
|
+
declare namespace DataType {
|
|
5791
|
+
type AbsoluteSize = "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large";
|
|
5710
5792
|
|
|
5711
|
-
|
|
5712
|
-
[$$StyledComponentType]: Type;
|
|
5713
|
-
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
5714
|
-
[$$StyledComponentProps]: Props;
|
|
5715
|
-
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
5716
|
-
[$$StyledComponentMedia]: Media;
|
|
5717
|
-
}
|
|
5793
|
+
type AnimateableFeature = "contents" | "scroll-position" | OnlyString;
|
|
5718
5794
|
|
|
5719
|
-
|
|
5720
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5721
|
-
interface CssComponent<Type = "span", Props = {}, Media = {}, CSS = {}> {
|
|
5722
|
-
(
|
|
5723
|
-
props?: TransformProps<Props, Media> & {
|
|
5724
|
-
css?: CSS;
|
|
5725
|
-
} & {
|
|
5726
|
-
[name in number | string]: any;
|
|
5727
|
-
},
|
|
5728
|
-
): string & {
|
|
5729
|
-
className: string;
|
|
5730
|
-
selector: string;
|
|
5731
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5732
|
-
props: {};
|
|
5733
|
-
};
|
|
5795
|
+
type Attachment = "fixed" | "local" | "scroll";
|
|
5734
5796
|
|
|
5735
|
-
|
|
5736
|
-
selector: string;
|
|
5797
|
+
type BgPosition = "bottom" | "center" | "left" | "right" | "top" | OnlyStringNumeric;
|
|
5737
5798
|
|
|
5738
|
-
|
|
5739
|
-
[$$StyledComponentType]: Type;
|
|
5740
|
-
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
5741
|
-
[$$StyledComponentProps]: Props;
|
|
5742
|
-
// biome-ignore lint/correctness/noInvalidUseBeforeDeclaration: <explanation>
|
|
5743
|
-
[$$StyledComponentMedia]: Media;
|
|
5744
|
-
}
|
|
5799
|
+
type BgSize = "auto" | "contain" | "cover" | OnlyStringNumeric;
|
|
5745
5800
|
|
|
5746
|
-
type
|
|
5747
|
-
|
|
5748
|
-
|
|
|
5749
|
-
|
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5801
|
+
type BlendMode =
|
|
5802
|
+
| "color"
|
|
5803
|
+
| "color-burn"
|
|
5804
|
+
| "color-dodge"
|
|
5805
|
+
| "darken"
|
|
5806
|
+
| "difference"
|
|
5807
|
+
| "exclusion"
|
|
5808
|
+
| "hard-light"
|
|
5809
|
+
| "hue"
|
|
5810
|
+
| "lighten"
|
|
5811
|
+
| "luminosity"
|
|
5812
|
+
| "multiply"
|
|
5813
|
+
| "normal"
|
|
5814
|
+
| "overlay"
|
|
5815
|
+
| "saturation"
|
|
5816
|
+
| "screen"
|
|
5817
|
+
| "soft-light";
|
|
5755
5818
|
|
|
5756
|
-
|
|
5757
|
-
declare const $$StyledComponentType: unique symbol;
|
|
5819
|
+
type Box = "border-box" | "content-box" | "padding-box";
|
|
5758
5820
|
|
|
5759
|
-
|
|
5760
|
-
type $$StyledComponentType = typeof $$StyledComponentType;
|
|
5821
|
+
type Color = NamedColor | SystemColor | "CurrentColor" | "hsl(" | "lab(" | "rgb(" | OnlyString;
|
|
5761
5822
|
|
|
5762
|
-
|
|
5763
|
-
|
|
5823
|
+
type CompatAuto =
|
|
5824
|
+
| "button"
|
|
5825
|
+
| "checkbox"
|
|
5826
|
+
| "listbox"
|
|
5827
|
+
| "menulist"
|
|
5828
|
+
| "meter"
|
|
5829
|
+
| "progress-bar"
|
|
5830
|
+
| "push-button"
|
|
5831
|
+
| "radio"
|
|
5832
|
+
| "searchfield"
|
|
5833
|
+
| "slider-horizontal"
|
|
5834
|
+
| "square-button"
|
|
5835
|
+
| "textarea";
|
|
5764
5836
|
|
|
5765
|
-
|
|
5766
|
-
|
|
5837
|
+
type CompositeStyle =
|
|
5838
|
+
| "clear"
|
|
5839
|
+
| "copy"
|
|
5840
|
+
| "destination-atop"
|
|
5841
|
+
| "destination-in"
|
|
5842
|
+
| "destination-out"
|
|
5843
|
+
| "destination-over"
|
|
5844
|
+
| "source-atop"
|
|
5845
|
+
| "source-in"
|
|
5846
|
+
| "source-out"
|
|
5847
|
+
| "source-over"
|
|
5848
|
+
| "xor";
|
|
5767
5849
|
|
|
5768
|
-
|
|
5769
|
-
declare const $$StyledComponentMedia: unique symbol;
|
|
5850
|
+
type CompositingOperator = "add" | "exclude" | "intersect" | "subtract";
|
|
5770
5851
|
|
|
5771
|
-
|
|
5772
|
-
type $$StyledComponentMedia = typeof $$StyledComponentMedia;
|
|
5852
|
+
type ContentDistribution = "space-around" | "space-between" | "space-evenly" | "stretch";
|
|
5773
5853
|
|
|
5774
|
-
|
|
5775
|
-
type StyledComponentType<T extends any[]> = T[0] extends never
|
|
5776
|
-
? "span"
|
|
5777
|
-
: T[0] extends string
|
|
5778
|
-
? T[0]
|
|
5779
|
-
: T[0] extends (props: any) => any
|
|
5780
|
-
? T[0]
|
|
5781
|
-
: T[0] extends { [$$StyledComponentType]: unknown }
|
|
5782
|
-
? T[0][$$StyledComponentType]
|
|
5783
|
-
: T extends [lead: any, ...tail: infer V]
|
|
5784
|
-
? StyledComponentType<V>
|
|
5785
|
-
: never;
|
|
5854
|
+
type ContentList = Quote | "contents" | OnlyString;
|
|
5786
5855
|
|
|
5787
|
-
|
|
5788
|
-
type StyledComponentProps<T extends any[]> = ($$StyledComponentProps extends keyof T[0]
|
|
5789
|
-
? T[0][$$StyledComponentProps]
|
|
5790
|
-
: T[0] extends { variants: { [name: string]: unknown } }
|
|
5791
|
-
? {
|
|
5792
|
-
[K in keyof T[0]["variants"]]?: Widen<keyof T[0]["variants"][K]>;
|
|
5793
|
-
}
|
|
5794
|
-
: // biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5795
|
-
{}) &
|
|
5796
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5797
|
-
(T extends [lead: any, ...tail: infer V] ? StyledComponentProps<V> : {});
|
|
5856
|
+
type ContentPosition = "center" | "end" | "flex-end" | "flex-start" | "start";
|
|
5798
5857
|
|
|
5799
|
-
|
|
5800
|
-
type RemoveIndex<T> = { [k in keyof T as string extends k ? never : number extends k ? never : k]: T[k] };
|
|
5858
|
+
type CubicBezierTimingFunction = "ease" | "ease-in" | "ease-in-out" | "ease-out" | OnlyString;
|
|
5801
5859
|
|
|
5802
|
-
|
|
5803
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5804
|
-
interface Stitches<Prefix extends string = "", Media extends {} = {}, Theme extends {} = {}, ThemeMap extends {} = {}, Utils extends {} = {}> {
|
|
5805
|
-
config: {
|
|
5806
|
-
prefix: Prefix;
|
|
5807
|
-
media: Media;
|
|
5808
|
-
theme: Theme;
|
|
5809
|
-
themeMap: ThemeMap;
|
|
5810
|
-
utils: Utils;
|
|
5811
|
-
};
|
|
5812
|
-
prefix: Prefix;
|
|
5813
|
-
/** The **prefix** property defined.
|
|
5814
|
-
*
|
|
5815
|
-
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
5816
|
-
*/
|
|
5817
|
-
globalCss: <Styles extends { [K: string]: any }>(
|
|
5818
|
-
...styles: ({
|
|
5819
|
-
/** The **@import** CSS at-rule imports style rules from other style sheets. */
|
|
5820
|
-
"@import"?: unknown;
|
|
5860
|
+
type Dasharray = OnlyStringNumeric;
|
|
5821
5861
|
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
keyframes: (style: {
|
|
5839
|
-
[offset: string]: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
5840
|
-
}) => {
|
|
5841
|
-
(): string;
|
|
5842
|
-
name: string;
|
|
5843
|
-
};
|
|
5844
|
-
createTheme: <
|
|
5845
|
-
Argument0 extends
|
|
5846
|
-
| string
|
|
5847
|
-
| ({
|
|
5848
|
-
[Scale in keyof Theme]?: {
|
|
5849
|
-
[Token in keyof Theme[Scale]]?: boolean | number | string;
|
|
5850
|
-
};
|
|
5851
|
-
} & {
|
|
5852
|
-
[scale in string]: {
|
|
5853
|
-
[token in number | string]: boolean | number | string;
|
|
5854
|
-
};
|
|
5855
|
-
}),
|
|
5856
|
-
Argument1 extends
|
|
5857
|
-
| string
|
|
5858
|
-
| ({
|
|
5859
|
-
[Scale in keyof Theme]?: {
|
|
5860
|
-
[Token in keyof Theme[Scale]]?: boolean | number | string;
|
|
5861
|
-
};
|
|
5862
|
-
} & {
|
|
5863
|
-
[scale in string]: {
|
|
5864
|
-
[token in number | string]: boolean | number | string;
|
|
5865
|
-
};
|
|
5866
|
-
}),
|
|
5867
|
-
>(
|
|
5868
|
-
nameOrScalesArg0: Argument0,
|
|
5869
|
-
nameOrScalesArg1?: Argument1,
|
|
5870
|
-
) => string & {
|
|
5871
|
-
className: string;
|
|
5872
|
-
selector: string;
|
|
5873
|
-
} & (Argument0 extends string ? ThemeTokens<Argument1, Prefix> : ThemeTokens<Argument0, Prefix>);
|
|
5874
|
-
theme: string & {
|
|
5875
|
-
className: string;
|
|
5876
|
-
selector: string;
|
|
5877
|
-
} & {
|
|
5878
|
-
[Scale in keyof Theme]: {
|
|
5879
|
-
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
5880
|
-
[Token in keyof Theme[Scale]]: Token<Extract<Token, string | number>, string, Extract<Scale, string | void>, Extract<Prefix, string | void>>;
|
|
5881
|
-
};
|
|
5882
|
-
};
|
|
5883
|
-
reset: () => void;
|
|
5884
|
-
getCssText: () => string;
|
|
5885
|
-
css: <
|
|
5886
|
-
Composers extends (string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | Function | { [name: string]: unknown })[],
|
|
5887
|
-
CSS = CSS$1<Media, Theme, ThemeMap, Utils>,
|
|
5888
|
-
>(
|
|
5889
|
-
...composers: {
|
|
5890
|
-
[K in keyof Composers]: // Strings, React Components, and Functions can be skipped over
|
|
5891
|
-
string extends Composers[K]
|
|
5892
|
-
? Composers[K]
|
|
5893
|
-
: Composers[K] extends string | React.ExoticComponent<any> | React.JSXElementConstructor<any> | Function
|
|
5894
|
-
? Composers[K]
|
|
5895
|
-
: RemoveIndex<CSS> & {
|
|
5896
|
-
/** The **variants** property lets you set a subclass of styles based on a key-value pair.
|
|
5897
|
-
*
|
|
5898
|
-
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
5899
|
-
*/
|
|
5900
|
-
variants?: {
|
|
5901
|
-
[Name in string]: {
|
|
5902
|
-
[Pair in number | string]: CSS;
|
|
5903
|
-
};
|
|
5904
|
-
};
|
|
5905
|
-
/** The **compoundVariants** property lets you to set a subclass of styles based on a combination of active variants.
|
|
5906
|
-
*
|
|
5907
|
-
* [Read Documentation](https://stitches.dev/docs/variants#compound-variants)
|
|
5908
|
-
*/
|
|
5909
|
-
compoundVariants?: (("variants" extends keyof Composers[K]
|
|
5910
|
-
? {
|
|
5911
|
-
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
5912
|
-
}
|
|
5913
|
-
: WideObject) & {
|
|
5914
|
-
css: CSS;
|
|
5915
|
-
})[];
|
|
5916
|
-
/** The **defaultVariants** property allows you to predefine the active key-value pairs of variants.
|
|
5917
|
-
*
|
|
5918
|
-
* [Read Documentation](https://stitches.dev/docs/variants#default-variants)
|
|
5919
|
-
*/
|
|
5920
|
-
defaultVariants?: "variants" extends keyof Composers[K]
|
|
5921
|
-
? {
|
|
5922
|
-
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
5923
|
-
}
|
|
5924
|
-
: WideObject;
|
|
5925
|
-
} & CSS & {
|
|
5926
|
-
[K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown;
|
|
5927
|
-
};
|
|
5928
|
-
}
|
|
5929
|
-
) => CssComponent<StyledComponentType<Composers>, StyledComponentProps<Composers>, Media, CSS>;
|
|
5930
|
-
styled: <
|
|
5931
|
-
Type extends keyof JSX.IntrinsicElements | React.ComponentType<any> | Function,
|
|
5932
|
-
Composers extends (string | React.ComponentType<any> | Function | { [name: string]: unknown })[],
|
|
5933
|
-
CSS = CSS$1<Media, Theme, ThemeMap, Utils>,
|
|
5934
|
-
>(
|
|
5935
|
-
type: Type,
|
|
5936
|
-
...composers: {
|
|
5937
|
-
[K in keyof Composers]: // Strings, React Components, and Functions can be skipped over
|
|
5938
|
-
string extends Composers[K]
|
|
5939
|
-
? Composers[K]
|
|
5940
|
-
: Composers[K] extends string | React.ComponentType<any> | Function
|
|
5941
|
-
? Composers[K]
|
|
5942
|
-
: RemoveIndex<CSS> & {
|
|
5943
|
-
/** The **variants** property lets you set a subclass of styles based on a key-value pair.
|
|
5944
|
-
*
|
|
5945
|
-
* [Read Documentation](https://stitches.dev/docs/variants)
|
|
5946
|
-
*/
|
|
5947
|
-
variants?: {
|
|
5948
|
-
[Name in string]: {
|
|
5949
|
-
[Pair in number | string]: CSS;
|
|
5950
|
-
};
|
|
5951
|
-
};
|
|
5952
|
-
/** The **compoundVariants** property lets you to set a subclass of styles based on a combination of active variants.
|
|
5953
|
-
*
|
|
5954
|
-
* [Read Documentation](https://stitches.dev/docs/variants#compound-variants)
|
|
5955
|
-
*/
|
|
5956
|
-
compoundVariants?: (("variants" extends keyof Composers[K]
|
|
5957
|
-
? {
|
|
5958
|
-
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
5959
|
-
}
|
|
5960
|
-
: WideObject) & {
|
|
5961
|
-
css: CSS;
|
|
5962
|
-
})[];
|
|
5963
|
-
/** The **defaultVariants** property allows you to predefine the active key-value pairs of variants.
|
|
5964
|
-
*
|
|
5965
|
-
* [Read Documentation](https://stitches.dev/docs/variants#default-variants)
|
|
5966
|
-
*/
|
|
5967
|
-
defaultVariants?: "variants" extends keyof Composers[K]
|
|
5968
|
-
? {
|
|
5969
|
-
[Name in keyof Composers[K]["variants"]]?: Widen<keyof Composers[K]["variants"][Name]> | String;
|
|
5970
|
-
}
|
|
5971
|
-
: WideObject;
|
|
5972
|
-
} & CSS & {
|
|
5973
|
-
[K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown;
|
|
5974
|
-
};
|
|
5975
|
-
}
|
|
5976
|
-
) => StyledComponent<Type, StyledComponentProps<Composers>, Media, CSS$1<Media, Theme, ThemeMap, Utils>>;
|
|
5977
|
-
}
|
|
5862
|
+
type SystemColor =
|
|
5863
|
+
| "ActiveText"
|
|
5864
|
+
| "ButtonFace"
|
|
5865
|
+
| "ButtonText"
|
|
5866
|
+
| "ButtonBorder"
|
|
5867
|
+
| "Canvas"
|
|
5868
|
+
| "CanvasText"
|
|
5869
|
+
| "Field"
|
|
5870
|
+
| "FieldText"
|
|
5871
|
+
| "GrayText"
|
|
5872
|
+
| "Highlight"
|
|
5873
|
+
| "HighlightText"
|
|
5874
|
+
| "LinkText"
|
|
5875
|
+
| "Mark"
|
|
5876
|
+
| "MarkText"
|
|
5877
|
+
| "VisitedText";
|
|
5978
5878
|
|
|
5979
|
-
type
|
|
5980
|
-
[Scale in keyof Values]: {
|
|
5981
|
-
[Token in keyof Values[Scale]]: Token<
|
|
5982
|
-
Extract<Token, number | string>,
|
|
5983
|
-
Values[Scale][Token] & (string | number),
|
|
5984
|
-
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
5985
|
-
Extract<Scale, string | void>,
|
|
5986
|
-
// biome-ignore lint/suspicious/noConfusingVoidType: <explanation>
|
|
5987
|
-
Extract<Prefix, string | void>
|
|
5988
|
-
>;
|
|
5989
|
-
};
|
|
5990
|
-
};
|
|
5879
|
+
type DisplayInside = "flex" | "flow" | "flow-root" | "grid" | "ruby" | "table";
|
|
5991
5880
|
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5881
|
+
type DisplayInternal =
|
|
5882
|
+
| "ruby-base"
|
|
5883
|
+
| "ruby-base-container"
|
|
5884
|
+
| "ruby-text"
|
|
5885
|
+
| "ruby-text-container"
|
|
5886
|
+
| "table-caption"
|
|
5887
|
+
| "table-cell"
|
|
5888
|
+
| "table-column"
|
|
5889
|
+
| "table-column-group"
|
|
5890
|
+
| "table-footer-group"
|
|
5891
|
+
| "table-header-group"
|
|
5892
|
+
| "table-row"
|
|
5893
|
+
| "table-row-group";
|
|
5996
5894
|
|
|
5997
|
-
|
|
5998
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
5999
|
-
export type Media<T = {}> = {
|
|
6000
|
-
[name in keyof T]: T[name] extends string ? T[name] : string;
|
|
6001
|
-
};
|
|
5895
|
+
type DisplayLegacy = "inline-block" | "inline-flex" | "inline-grid" | "inline-list-item" | "inline-table";
|
|
6002
5896
|
|
|
6003
|
-
|
|
6004
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
6005
|
-
export type Theme<T = {}> = {
|
|
6006
|
-
borderStyles?: { [token in number | string]: boolean | number | string };
|
|
6007
|
-
borderWidths?: { [token in number | string]: boolean | number | string };
|
|
6008
|
-
colors?: { [token in number | string]: boolean | number | string };
|
|
6009
|
-
fonts?: { [token in number | string]: boolean | number | string };
|
|
6010
|
-
fontSizes?: { [token in number | string]: boolean | number | string };
|
|
6011
|
-
fontWeights?: { [token in number | string]: boolean | number | string };
|
|
6012
|
-
letterSpacings?: { [token in number | string]: boolean | number | string };
|
|
6013
|
-
lineHeights?: { [token in number | string]: boolean | number | string };
|
|
6014
|
-
radii?: { [token in number | string]: boolean | number | string };
|
|
6015
|
-
shadows?: { [token in number | string]: boolean | number | string };
|
|
6016
|
-
sizes?: { [token in number | string]: boolean | number | string };
|
|
6017
|
-
space?: { [token in number | string]: boolean | number | string };
|
|
6018
|
-
transitions?: { [token in number | string]: boolean | number | string };
|
|
6019
|
-
zIndices?: { [token in number | string]: boolean | number | string };
|
|
6020
|
-
} & {
|
|
6021
|
-
[Scale in keyof T]: {
|
|
6022
|
-
[Token in keyof T[Scale]]: T[Scale][Token] extends boolean | number | string ? T[Scale][Token] : boolean | number | string;
|
|
6023
|
-
};
|
|
6024
|
-
};
|
|
5897
|
+
type DisplayOutside = "block" | "inline" | "run-in";
|
|
6025
5898
|
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
5899
|
+
type EasingFunction = CubicBezierTimingFunction | StepTimingFunction | "linear";
|
|
5900
|
+
|
|
5901
|
+
type EastAsianVariantValues = "jis04" | "jis78" | "jis83" | "jis90" | "simplified" | "traditional";
|
|
5902
|
+
|
|
5903
|
+
type FinalBgLayer = Color | BgPosition | RepeatStyle | Attachment | Box | "none" | OnlyString;
|
|
5904
|
+
|
|
5905
|
+
type FontStretchAbsolute =
|
|
5906
|
+
| "condensed"
|
|
5907
|
+
| "expanded"
|
|
5908
|
+
| "extra-condensed"
|
|
5909
|
+
| "extra-expanded"
|
|
5910
|
+
| "normal"
|
|
5911
|
+
| "semi-condensed"
|
|
5912
|
+
| "semi-expanded"
|
|
5913
|
+
| "ultra-condensed"
|
|
5914
|
+
| "ultra-expanded"
|
|
5915
|
+
| OnlyString;
|
|
5916
|
+
|
|
5917
|
+
type FontWeightAbsolute = "bold" | "normal" | OnlyStringNumeric;
|
|
5918
|
+
|
|
5919
|
+
type GenericFamily =
|
|
5920
|
+
| "cursive"
|
|
5921
|
+
| "emoji"
|
|
5922
|
+
| "fangsong"
|
|
5923
|
+
| "fantasy"
|
|
5924
|
+
| "math"
|
|
5925
|
+
| "monospace"
|
|
5926
|
+
| "sans-serif"
|
|
5927
|
+
| "serif"
|
|
5928
|
+
| "system-ui"
|
|
5929
|
+
| "ui-monospace"
|
|
5930
|
+
| "ui-rounded"
|
|
5931
|
+
| "ui-sans-serif"
|
|
5932
|
+
| "ui-serif";
|
|
5933
|
+
|
|
5934
|
+
type GeometryBox = Box | "fill-box" | "margin-box" | "stroke-box" | "view-box";
|
|
5935
|
+
|
|
5936
|
+
type GridLine = "auto" | OnlyStringNumeric;
|
|
5937
|
+
|
|
5938
|
+
type LineStyle = "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid";
|
|
5939
|
+
|
|
5940
|
+
type LineWidth = number | "medium" | "thick" | "thin";
|
|
5941
|
+
|
|
5942
|
+
type MaskLayer = Position | RepeatStyle | GeometryBox | CompositingOperator | MaskingMode | "no-clip" | "none" | OnlyString;
|
|
5943
|
+
|
|
5944
|
+
type MaskingMode = "alpha" | "luminance" | "match-source";
|
|
5945
|
+
|
|
5946
|
+
type NamedColor =
|
|
5947
|
+
| "AliceBlue"
|
|
5948
|
+
| "AntiqueWhite"
|
|
5949
|
+
| "Aqua"
|
|
5950
|
+
| "Aquamarine"
|
|
5951
|
+
| "Azure"
|
|
5952
|
+
| "Beige"
|
|
5953
|
+
| "Bisque"
|
|
5954
|
+
| "Black"
|
|
5955
|
+
| "BlanchedAlmond"
|
|
5956
|
+
| "Blue"
|
|
5957
|
+
| "BlueViolet"
|
|
5958
|
+
| "Brown"
|
|
5959
|
+
| "BurlyWood"
|
|
5960
|
+
| "CadetBlue"
|
|
5961
|
+
| "Chartreuse"
|
|
5962
|
+
| "Chocolate"
|
|
5963
|
+
| "Coral"
|
|
5964
|
+
| "CornflowerBlue"
|
|
5965
|
+
| "Cornsilk"
|
|
5966
|
+
| "Crimson"
|
|
5967
|
+
| "Cyan"
|
|
5968
|
+
| "DarkBlue"
|
|
5969
|
+
| "DarkCyan"
|
|
5970
|
+
| "DarkGoldenRod"
|
|
5971
|
+
| "DarkGray"
|
|
5972
|
+
| "DarkGreen"
|
|
5973
|
+
| "DarkGrey"
|
|
5974
|
+
| "DarkKhaki"
|
|
5975
|
+
| "DarkMagenta"
|
|
5976
|
+
| "DarkOliveGreen"
|
|
5977
|
+
| "DarkOrange"
|
|
5978
|
+
| "DarkOrchid"
|
|
5979
|
+
| "DarkRed"
|
|
5980
|
+
| "DarkSalmon"
|
|
5981
|
+
| "DarkSeaGreen"
|
|
5982
|
+
| "DarkSlateBlue"
|
|
5983
|
+
| "DarkSlateGray"
|
|
5984
|
+
| "DarkSlateGrey"
|
|
5985
|
+
| "DarkTurquoise"
|
|
5986
|
+
| "DarkViolet"
|
|
5987
|
+
| "DeepPink"
|
|
5988
|
+
| "DeepSkyBlue"
|
|
5989
|
+
| "DimGray"
|
|
5990
|
+
| "DimGrey"
|
|
5991
|
+
| "DodgerBlue"
|
|
5992
|
+
| "FireBrick"
|
|
5993
|
+
| "FloralWhite"
|
|
5994
|
+
| "ForestGreen"
|
|
5995
|
+
| "Fuchsia"
|
|
5996
|
+
| "Gainsboro"
|
|
5997
|
+
| "GhostWhite"
|
|
5998
|
+
| "Gold"
|
|
5999
|
+
| "GoldenRod"
|
|
6000
|
+
| "Gray"
|
|
6001
|
+
| "Green"
|
|
6002
|
+
| "GreenYellow"
|
|
6003
|
+
| "Grey"
|
|
6004
|
+
| "HoneyDew"
|
|
6005
|
+
| "HotPink"
|
|
6006
|
+
| "IndianRed"
|
|
6007
|
+
| "Indigo"
|
|
6008
|
+
| "Ivory"
|
|
6009
|
+
| "Khaki"
|
|
6010
|
+
| "Lavender"
|
|
6011
|
+
| "LavenderBlush"
|
|
6012
|
+
| "LawnGreen"
|
|
6013
|
+
| "LemonChiffon"
|
|
6014
|
+
| "LightBlue"
|
|
6015
|
+
| "LightCoral"
|
|
6016
|
+
| "LightCyan"
|
|
6017
|
+
| "LightGoldenRodYellow"
|
|
6018
|
+
| "LightGray"
|
|
6019
|
+
| "LightGreen"
|
|
6020
|
+
| "LightGrey"
|
|
6021
|
+
| "LightPink"
|
|
6022
|
+
| "LightSalmon"
|
|
6023
|
+
| "LightSeaGreen"
|
|
6024
|
+
| "LightSkyBlue"
|
|
6025
|
+
| "LightSlateGray"
|
|
6026
|
+
| "LightSlateGrey"
|
|
6027
|
+
| "LightSteelBlue"
|
|
6028
|
+
| "LightYellow"
|
|
6029
|
+
| "Lime"
|
|
6030
|
+
| "LimeGreen"
|
|
6031
|
+
| "Linen"
|
|
6032
|
+
| "Magenta"
|
|
6033
|
+
| "Maroon"
|
|
6034
|
+
| "MediumAquaMarine"
|
|
6035
|
+
| "MediumBlue"
|
|
6036
|
+
| "MediumOrchid"
|
|
6037
|
+
| "MediumPurple"
|
|
6038
|
+
| "MediumSeaGreen"
|
|
6039
|
+
| "MediumSlateBlue"
|
|
6040
|
+
| "MediumSpringGreen"
|
|
6041
|
+
| "MediumTurquoise"
|
|
6042
|
+
| "MediumVioletRed"
|
|
6043
|
+
| "MidnightBlue"
|
|
6044
|
+
| "MintCream"
|
|
6045
|
+
| "MistyRose"
|
|
6046
|
+
| "Moccasin"
|
|
6047
|
+
| "NavajoWhite"
|
|
6048
|
+
| "Navy"
|
|
6049
|
+
| "OldLace"
|
|
6050
|
+
| "Olive"
|
|
6051
|
+
| "OliveDrab"
|
|
6052
|
+
| "Orange"
|
|
6053
|
+
| "OrangeRed"
|
|
6054
|
+
| "Orchid"
|
|
6055
|
+
| "PaleGoldenRod"
|
|
6056
|
+
| "PaleGreen"
|
|
6057
|
+
| "PaleTurquoise"
|
|
6058
|
+
| "PaleVioletRed"
|
|
6059
|
+
| "PapayaWhip"
|
|
6060
|
+
| "PeachPuff"
|
|
6061
|
+
| "Peru"
|
|
6062
|
+
| "Pink"
|
|
6063
|
+
| "Plum"
|
|
6064
|
+
| "PowderBlue"
|
|
6065
|
+
| "Purple"
|
|
6066
|
+
| "RebeccaPurple"
|
|
6067
|
+
| "Red"
|
|
6068
|
+
| "RosyBrown"
|
|
6069
|
+
| "RoyalBlue"
|
|
6070
|
+
| "SaddleBrown"
|
|
6071
|
+
| "Salmon"
|
|
6072
|
+
| "SandyBrown"
|
|
6073
|
+
| "SeaGreen"
|
|
6074
|
+
| "SeaShell"
|
|
6075
|
+
| "Sienna"
|
|
6076
|
+
| "Silver"
|
|
6077
|
+
| "SkyBlue"
|
|
6078
|
+
| "SlateBlue"
|
|
6079
|
+
| "SlateGray"
|
|
6080
|
+
| "SlateGrey"
|
|
6081
|
+
| "Snow"
|
|
6082
|
+
| "SpringGreen"
|
|
6083
|
+
| "SteelBlue"
|
|
6084
|
+
| "Tan"
|
|
6085
|
+
| "Teal"
|
|
6086
|
+
| "Thistle"
|
|
6087
|
+
| "Tomato"
|
|
6088
|
+
| "transparent"
|
|
6089
|
+
| "Turquoise"
|
|
6090
|
+
| "Violet"
|
|
6091
|
+
| "Wheat"
|
|
6092
|
+
| "White"
|
|
6093
|
+
| "WhiteSmoke"
|
|
6094
|
+
| "Yellow"
|
|
6095
|
+
| "YellowGreen";
|
|
6031
6096
|
|
|
6032
|
-
|
|
6033
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
6034
|
-
export type Utils<T = {}> = {
|
|
6035
|
-
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
6036
|
-
[Property in keyof T]: T[Property] extends (value: infer V) => {}
|
|
6037
|
-
?
|
|
6038
|
-
| T[Property]
|
|
6039
|
-
| ((value: V) => {
|
|
6040
|
-
[K in keyof CSSProperties$1]?: CSSProperties$1[K] | V;
|
|
6041
|
-
})
|
|
6042
|
-
: never;
|
|
6043
|
-
};
|
|
6044
|
-
}
|
|
6097
|
+
type PageSize = "A3" | "A4" | "A5" | "B4" | "B5" | "JIS-B4" | "JIS-B5" | "ledger" | "legal" | "letter";
|
|
6045
6098
|
|
|
6046
|
-
|
|
6047
|
-
interface DefaultThemeMap$1 {
|
|
6048
|
-
gap: "space";
|
|
6049
|
-
gridGap: "space";
|
|
6050
|
-
columnGap: "space";
|
|
6051
|
-
gridColumnGap: "space";
|
|
6052
|
-
rowGap: "space";
|
|
6053
|
-
gridRowGap: "space";
|
|
6054
|
-
inset: "space";
|
|
6055
|
-
insetBlock: "space";
|
|
6056
|
-
insetBlockEnd: "space";
|
|
6057
|
-
insetBlockStart: "space";
|
|
6058
|
-
insetInline: "space";
|
|
6059
|
-
insetInlineEnd: "space";
|
|
6060
|
-
insetInlineStart: "space";
|
|
6061
|
-
margin: "space";
|
|
6062
|
-
marginTop: "space";
|
|
6063
|
-
marginRight: "space";
|
|
6064
|
-
marginBottom: "space";
|
|
6065
|
-
marginLeft: "space";
|
|
6066
|
-
marginBlock: "space";
|
|
6067
|
-
marginBlockEnd: "space";
|
|
6068
|
-
marginBlockStart: "space";
|
|
6069
|
-
marginInline: "space";
|
|
6070
|
-
marginInlineEnd: "space";
|
|
6071
|
-
marginInlineStart: "space";
|
|
6072
|
-
padding: "space";
|
|
6073
|
-
paddingTop: "space";
|
|
6074
|
-
paddingRight: "space";
|
|
6075
|
-
paddingBottom: "space";
|
|
6076
|
-
paddingLeft: "space";
|
|
6077
|
-
paddingBlock: "space";
|
|
6078
|
-
paddingBlockEnd: "space";
|
|
6079
|
-
paddingBlockStart: "space";
|
|
6080
|
-
paddingInline: "space";
|
|
6081
|
-
paddingInlineEnd: "space";
|
|
6082
|
-
paddingInlineStart: "space";
|
|
6083
|
-
scrollMargin: "space";
|
|
6084
|
-
scrollMarginTop: "space";
|
|
6085
|
-
scrollMarginRight: "space";
|
|
6086
|
-
scrollMarginBottom: "space";
|
|
6087
|
-
scrollMarginLeft: "space";
|
|
6088
|
-
scrollMarginBlock: "space";
|
|
6089
|
-
scrollMarginBlockEnd: "space";
|
|
6090
|
-
scrollMarginBlockStart: "space";
|
|
6091
|
-
scrollMarginInline: "space";
|
|
6092
|
-
scrollMarginInlineEnd: "space";
|
|
6093
|
-
scrollMarginInlineStart: "space";
|
|
6094
|
-
scrollPadding: "space";
|
|
6095
|
-
scrollPaddingTop: "space";
|
|
6096
|
-
scrollPaddingRight: "space";
|
|
6097
|
-
scrollPaddingBottom: "space";
|
|
6098
|
-
scrollPaddingLeft: "space";
|
|
6099
|
-
scrollPaddingBlock: "space";
|
|
6100
|
-
scrollPaddingBlockEnd: "space";
|
|
6101
|
-
scrollPaddingBlockStart: "space";
|
|
6102
|
-
scrollPaddingInline: "space";
|
|
6103
|
-
scrollPaddingInlineEnd: "space";
|
|
6104
|
-
scrollPaddingInlineStart: "space";
|
|
6105
|
-
top: "space";
|
|
6106
|
-
right: "space";
|
|
6107
|
-
bottom: "space";
|
|
6108
|
-
left: "space";
|
|
6099
|
+
type Paint = Color | "child" | "context-fill" | "context-stroke" | "none" | OnlyString;
|
|
6109
6100
|
|
|
6110
|
-
|
|
6101
|
+
type Position = "bottom" | "center" | "left" | "right" | "top" | OnlyStringNumeric;
|
|
6111
6102
|
|
|
6112
|
-
|
|
6113
|
-
backgroundColor: "colors";
|
|
6114
|
-
backgroundImage: "colors";
|
|
6115
|
-
borderImage: "colors";
|
|
6116
|
-
border: "colors";
|
|
6117
|
-
borderBlock: "colors";
|
|
6118
|
-
borderBlockEnd: "colors";
|
|
6119
|
-
borderBlockStart: "colors";
|
|
6120
|
-
borderBottom: "colors";
|
|
6121
|
-
borderBottomColor: "colors";
|
|
6122
|
-
borderColor: "colors";
|
|
6123
|
-
borderInline: "colors";
|
|
6124
|
-
borderInlineEnd: "colors";
|
|
6125
|
-
borderInlineStart: "colors";
|
|
6126
|
-
borderLeft: "colors";
|
|
6127
|
-
borderLeftColor: "colors";
|
|
6128
|
-
borderRight: "colors";
|
|
6129
|
-
borderRightColor: "colors";
|
|
6130
|
-
borderTop: "colors";
|
|
6131
|
-
borderTopColor: "colors";
|
|
6132
|
-
caretColor: "colors";
|
|
6133
|
-
color: "colors";
|
|
6134
|
-
columnRuleColor: "colors";
|
|
6135
|
-
outline: "colors";
|
|
6136
|
-
outlineColor: "colors";
|
|
6137
|
-
fill: "colors";
|
|
6138
|
-
stroke: "colors";
|
|
6139
|
-
textDecorationColor: "colors";
|
|
6103
|
+
type Quote = "close-quote" | "no-close-quote" | "no-open-quote" | "open-quote";
|
|
6140
6104
|
|
|
6141
|
-
|
|
6105
|
+
type RepeatStyle = "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space" | OnlyString;
|
|
6142
6106
|
|
|
6143
|
-
|
|
6144
|
-
lineHeight: "lineHeights";
|
|
6107
|
+
type SelfPosition = "center" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start";
|
|
6145
6108
|
|
|
6146
|
-
|
|
6109
|
+
type SingleAnimation =
|
|
6110
|
+
| EasingFunction
|
|
6111
|
+
| SingleAnimationDirection
|
|
6112
|
+
| SingleAnimationFillMode
|
|
6113
|
+
| "infinite"
|
|
6114
|
+
| "none"
|
|
6115
|
+
| "paused"
|
|
6116
|
+
| "running"
|
|
6117
|
+
| OnlyString
|
|
6118
|
+
| OnlyNumber;
|
|
6147
6119
|
|
|
6148
|
-
|
|
6149
|
-
minBlockSize: "sizes";
|
|
6150
|
-
maxBlockSize: "sizes";
|
|
6151
|
-
inlineSize: "sizes";
|
|
6152
|
-
minInlineSize: "sizes";
|
|
6153
|
-
maxInlineSize: "sizes";
|
|
6154
|
-
width: "sizes";
|
|
6155
|
-
minWidth: "sizes";
|
|
6156
|
-
maxWidth: "sizes";
|
|
6157
|
-
height: "sizes";
|
|
6158
|
-
minHeight: "sizes";
|
|
6159
|
-
maxHeight: "sizes";
|
|
6160
|
-
flexBasis: "sizes";
|
|
6161
|
-
gridTemplateColumns: "sizes";
|
|
6162
|
-
gridTemplateRows: "sizes";
|
|
6120
|
+
type SingleAnimationDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
|
|
6163
6121
|
|
|
6164
|
-
|
|
6165
|
-
borderTopWidth: "borderWidths";
|
|
6166
|
-
borderLeftWidth: "borderWidths";
|
|
6167
|
-
borderRightWidth: "borderWidths";
|
|
6168
|
-
borderBottomWidth: "borderWidths";
|
|
6122
|
+
type SingleAnimationFillMode = "backwards" | "both" | "forwards" | "none";
|
|
6169
6123
|
|
|
6170
|
-
|
|
6171
|
-
borderTopStyle: "borderStyles";
|
|
6172
|
-
borderLeftStyle: "borderStyles";
|
|
6173
|
-
borderRightStyle: "borderStyles";
|
|
6174
|
-
borderBottomStyle: "borderStyles";
|
|
6124
|
+
type SingleTransition = EasingFunction | "all" | "none" | OnlyString;
|
|
6175
6125
|
|
|
6176
|
-
|
|
6177
|
-
borderTopLeftRadius: "radii";
|
|
6178
|
-
borderTopRightRadius: "radii";
|
|
6179
|
-
borderBottomRightRadius: "radii";
|
|
6180
|
-
borderBottomLeftRadius: "radii";
|
|
6126
|
+
type StepTimingFunction = "step-end" | "step-start" | OnlyString;
|
|
6181
6127
|
|
|
6182
|
-
|
|
6183
|
-
textShadow: "shadows";
|
|
6128
|
+
type TrackBreadth = "auto" | "max-content" | "min-content" | OnlyStringNumeric;
|
|
6184
6129
|
|
|
6185
|
-
|
|
6130
|
+
type ViewportLength = "auto" | OnlyStringNumeric;
|
|
6186
6131
|
|
|
6187
|
-
|
|
6132
|
+
type VisualBox = "border-box" | "content-box" | "padding-box";
|
|
6188
6133
|
}
|
|
6189
6134
|
|
|
6190
|
-
/**
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6135
|
+
/** CSS style declaration object. */
|
|
6136
|
+
interface CSSProperties extends StandardLonghandProperties, StandardShorthandProperties, SvgProperties {}
|
|
6137
|
+
|
|
6138
|
+
type ValueByPropertyName<PropertyName> = PropertyName extends keyof CSSProperties ? CSSProperties[PropertyName] : never;
|
|
6139
|
+
|
|
6140
|
+
type TokenByPropertyName<PropertyName, Theme, ThemeMap> = PropertyName extends keyof ThemeMap ? TokenByScaleName<ThemeMap[PropertyName], Theme> : never;
|
|
6141
|
+
|
|
6142
|
+
type TokenByScaleName<ScaleName, Theme> = ScaleName extends keyof Theme ? Prefixed<"$", keyof Theme[ScaleName]> : never;
|
|
6143
|
+
|
|
6144
|
+
/** Returns a Style interface, leveraging the given media and style map. */
|
|
6145
|
+
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
6146
|
+
type CSS$1<Media = {}, Theme = {}, ThemeMap = DefaultThemeMap, Utils = {}> = {
|
|
6147
|
+
// nested at-rule css styles
|
|
6148
|
+
[K in Prefixed<"@", keyof Media>]?: CSS$1<Media, Theme, ThemeMap, Utils>;
|
|
6149
|
+
} & {
|
|
6150
|
+
// known property styles
|
|
6151
|
+
[K in keyof CSSProperties]?:
|
|
6152
|
+
| ValueByPropertyName<K>
|
|
6153
|
+
| TokenByPropertyName<K, Theme, ThemeMap>
|
|
6154
|
+
| Globals
|
|
6155
|
+
| ScaleValue$1
|
|
6156
|
+
| Index
|
|
6157
|
+
| undefined;
|
|
6158
|
+
} & {
|
|
6159
|
+
// known utility styles
|
|
6160
|
+
[K in keyof Utils as K extends keyof CSSProperties ? never : K]?: Utils[K] extends (arg: infer P) => any
|
|
6161
|
+
?
|
|
6162
|
+
| (P extends any[]
|
|
6163
|
+
?
|
|
6164
|
+
| ($$PropertyValue extends keyof P[0]
|
|
6165
|
+
?
|
|
6166
|
+
| ValueByPropertyName<P[0][$$PropertyValue]>
|
|
6167
|
+
| TokenByPropertyName<P[0][$$PropertyValue], Theme, ThemeMap>
|
|
6168
|
+
| Globals
|
|
6169
|
+
| ScaleValue$1
|
|
6170
|
+
| undefined
|
|
6171
|
+
: $$ScaleValue extends keyof P[0]
|
|
6172
|
+
? TokenByScaleName<P[0][$$ScaleValue], Theme> | { scale: P[0][$$ScaleValue] } | undefined
|
|
6173
|
+
: never)[]
|
|
6174
|
+
| P
|
|
6175
|
+
: $$PropertyValue extends keyof P
|
|
6176
|
+
? ValueByPropertyName<P[$$PropertyValue]> | TokenByPropertyName<P[$$PropertyValue], Theme, ThemeMap> | Globals | undefined
|
|
6177
|
+
: $$ScaleValue extends keyof P
|
|
6178
|
+
? TokenByScaleName<P[$$ScaleValue], Theme> | { scale: P[$$ScaleValue] } | undefined
|
|
6179
|
+
: never)
|
|
6180
|
+
| P
|
|
6181
|
+
: never;
|
|
6182
|
+
} & {
|
|
6183
|
+
// known theme styles
|
|
6184
|
+
[K in keyof ThemeMap as K extends keyof CSSProperties ? never : K extends keyof Utils ? never : K]?: Globals | Index | undefined;
|
|
6185
|
+
} & {
|
|
6186
|
+
// unknown css declaration styles
|
|
6187
|
+
/** Unknown property. */
|
|
6198
6188
|
// biome-ignore lint/complexity/noBannedTypes: <explanation>
|
|
6199
|
-
Utils
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6189
|
+
[K: string]: number | string | CSS$1<Media, Theme, ThemeMap, Utils> | {} | undefined;
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6192
|
+
/** Unique symbol used to reference a property value. */
|
|
6193
|
+
declare const $$PropertyValue: any;
|
|
6194
|
+
|
|
6195
|
+
/** Unique symbol used to reference a property value. */
|
|
6196
|
+
type $$PropertyValue = typeof $$PropertyValue;
|
|
6197
|
+
|
|
6198
|
+
/** Unique symbol used to reference a token value. */
|
|
6199
|
+
declare const $$ScaleValue: unique symbol;
|
|
6200
|
+
|
|
6201
|
+
/** Unique symbol used to reference a token value. */
|
|
6202
|
+
type $$ScaleValue = typeof $$ScaleValue;
|
|
6203
|
+
|
|
6204
|
+
declare const $$ThemeValue: unique symbol;
|
|
6207
6205
|
|
|
6208
|
-
type
|
|
6209
|
-
type CSSProperties = CSSProperties$1;
|
|
6210
|
-
type DefaultThemeMap = DefaultThemeMap$1;
|
|
6206
|
+
type $$ThemeValue = typeof $$ThemeValue;
|
|
6211
6207
|
|
|
6212
6208
|
/** Returns a Style interface from a configuration, leveraging the given media and style map. */
|
|
6213
6209
|
type CSS<
|
|
@@ -6236,7 +6232,7 @@ type CSS<
|
|
|
6236
6232
|
type ComponentProps<Component> = Component extends (...args: any[]) => any ? Parameters<Component>[0] : never;
|
|
6237
6233
|
|
|
6238
6234
|
/** Returns a type that expects a value to be a kind of CSS property value. */
|
|
6239
|
-
type PropertyValue<Property extends keyof CSSProperties
|
|
6235
|
+
type PropertyValue<Property extends keyof CSSProperties, Config = null> = Config extends null
|
|
6240
6236
|
? { readonly [K in $$PropertyValue]: Property }
|
|
6241
6237
|
: Config extends { [K: string]: any }
|
|
6242
6238
|
? CSS$1<Config["media"], Config["theme"], Config["themeMap"], Config["utils"]>[Property]
|
|
@@ -6278,4 +6274,4 @@ declare const css: Stitches["css"];
|
|
|
6278
6274
|
/** Returns a function that applies styles and variants for a specific class. */
|
|
6279
6275
|
declare const styled: Stitches["styled"];
|
|
6280
6276
|
|
|
6281
|
-
export { $$PropertyValue, $$ScaleValue, $$ThemeValue, type CSS, type CSSProperties, type ComponentProps, type CreateStitches, type DefaultThemeMap, type PropertyValue, type ScaleValue, type VariantProps, createStitches, createTheme, css, defaultThemeMap, globalCss, keyframes, styled };
|
|
6277
|
+
export { $$PropertyValue, $$ScaleValue, $$ThemeValue, AtRule, type CSS, type CSSProperties, type ComponentProps, type CreateStitches, type CssComponent, type DefaultThemeMap, type PropertyValue, type ScaleValue, type StyledComponent, type VariantProps, createStitches, createTheme, css, defaultThemeMap, globalCss, keyframes, styled };
|