-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmantine-number-size-fix.d.ts
46 lines (44 loc) · 1.01 KB
/
mantine-number-size-fix.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { MantineSize } from "@mantine/core";
export declare type CSSFontRelativeLength = `${number}${
| "em"
| "rem"
| "ex"
| "rex"
| "cap"
| "rcap"
| "ch"
| "rch"
| "ic"
| "ric"
| "lh"
| "rlh"}`;
export declare type CSSViewportVariantBase<T extends string> = `${T}${
| "vw"
| "vh"
| "vi"
| "vb"
| "vmin"
| "vmax"}`;
export declare type CSSViewportPercentageLength =
`${number}${CSSViewportVariantBase<"" | "l" | "s" | "d">}`;
export declare type CSSRelativeLength =
| CSSFontRelativeLength
| CSSViewportPercentageLength;
export declare type CSSAbsoluteLength = `${number}${
| "cm"
| "mm"
| "Q"
| "in"
| "pt"
| "pc"
| "px"}`;
export declare type CSSLength = CSSRelativeLength | CSSAbsoluteLength;
export declare type CSSPercentage = `${number}%`;
export declare type CSSLengthPercentage = CSSLength | CSSPercentage;
export declare module "@mantine/styles" {
export declare type MantineNumberSize =
| MantineSize
| number
| CSSLengthPercentage
| `${number}`;
}