@kvell-group/ui 1.12.1 → 1.12.3
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/assets/Loader.css +1 -0
- package/dist/components/Inputs/CardInput/CardInput.d.ts +139 -4
- package/dist/components/Inputs/CvvInput/CvvInput.d.ts +139 -4
- package/dist/components/Inputs/Input.js +4 -4
- package/dist/components/Inputs/MaskedInput/MaskedInput.d.ts +139 -4
- package/dist/components/Inputs/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/Inputs/types.d.ts +2 -0
- package/dist/components/Loader/Loader.d.ts +7 -0
- package/dist/components/Loader/Loader.js +25 -0
- package/dist/components/Loader/constants.d.ts +5 -0
- package/dist/components/Loader/constants.js +8 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/Loader/index.js +4 -0
- package/dist/components/Modal/Modal.js +5 -5
- package/dist/components/Text/Text.js +5 -5
- package/dist/components/theme.js +3 -1
- package/dist/main.d.ts +2 -1
- package/dist/main.js +6 -4
- package/dist/{typography.module-CkcKr7wr.js → typography.module-gwO-h9Os.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._container_6ptye_1{position:relative;display:inline-block}._container_6ptye_1[data-size=auto]{width:100%;height:100%}._container_6ptye_1[data-size=sm]{width:1.5rem;height:1.5rem}._container_6ptye_1[data-size=md]{width:2rem;height:2rem}._container_6ptye_1[data-size=lg]{width:4rem;height:4rem}._part_6ptye_26{position:absolute;left:45%;top:36%;width:8%;height:26%;background:var(--mantine-color-typography-secondary-0);opacity:0;border-radius:3rem;box-shadow:0 0 3px #0003;animation:_fade_6ptye_1 1s linear infinite}@keyframes _fade_6ptye_1{0%{opacity:1}to{opacity:.25}}
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const CardInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const CardInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const CvvInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const CvvInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InputBase as
|
|
2
|
-
import { c as s, b as
|
|
3
|
-
import {
|
|
1
|
+
import { InputBase as a } from "@mantine/core";
|
|
2
|
+
import { c as s, b as o } from "../../clsx-BvFBxcni.js";
|
|
3
|
+
import { c as t } from "../../typography.module-gwO-h9Os.js";
|
|
4
4
|
import { CAPTION_L_REGULAR_FONT_VARIANT as e } from "../../constants/font-variants.js";
|
|
5
|
-
const { input: m, error: p, ...n } =
|
|
5
|
+
const { input: m, error: p, ...n } = o, r = t[e], c = s(m, r), i = s(p, r), I = a.withProps({
|
|
6
6
|
classNames: { ...n, input: c, error: i }
|
|
7
7
|
});
|
|
8
8
|
export {
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const MaskedInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const MaskedInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PasswordInput as t } from "@mantine/core";
|
|
2
2
|
import { c as s, b as a } from "../../../clsx-BvFBxcni.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as r } from "../../../typography.module-gwO-h9Os.js";
|
|
4
4
|
import { CAPTION_L_REGULAR_FONT_VARIANT as e } from "../../../constants/font-variants.js";
|
|
5
5
|
import '../../../assets/PasswordInput.css';const n = "_section_1lzoc_1", c = {
|
|
6
6
|
section: n
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ElementProps, InputBaseProps } from '@mantine/core';
|
|
2
|
+
import { IMaskInput } from 'react-imask';
|
|
2
3
|
export type InputProps = InputBaseProps & ElementProps<'input'> & {
|
|
3
4
|
value?: string;
|
|
4
5
|
mask?: any;
|
|
5
6
|
};
|
|
7
|
+
export type MaskedInputProps = InputBaseProps & Omit<React.ComponentPropsWithoutRef<typeof IMaskInput>, keyof InputBaseProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/Loader.css';const n = "_container_6ptye_1", s = "_part_6ptye_26", r = {
|
|
3
|
+
container: n,
|
|
4
|
+
part: s
|
|
5
|
+
}, o = (a) => ({
|
|
6
|
+
transform: `rotate(${a * 360 / 8}deg) translate(0, -130%)`,
|
|
7
|
+
animationDelay: `${-(8 - a) * 0.125}s`
|
|
8
|
+
}), i = ({ size: a = "auto" }) => /* @__PURE__ */ e(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
className: r.container,
|
|
12
|
+
"data-size": a,
|
|
13
|
+
children: Array(8).fill(0).map((c, t) => /* @__PURE__ */ e(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: r.part,
|
|
17
|
+
style: o(t)
|
|
18
|
+
},
|
|
19
|
+
t
|
|
20
|
+
))
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
i as Loader
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Loader } from './Loader';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Modal as o } from "@mantine/core";
|
|
2
|
-
import {
|
|
3
|
-
import { BODY_M_MEDIUM_FONT_VARIANT as
|
|
4
|
-
import '../../assets/Modal.css';const
|
|
5
|
-
root:
|
|
2
|
+
import { c } from "../../typography.module-gwO-h9Os.js";
|
|
3
|
+
import { BODY_M_MEDIUM_FONT_VARIANT as s } from "../../constants/font-variants.js";
|
|
4
|
+
import '../../assets/Modal.css';const t = "_root_jcnc7_1", e = "_content_jcnc7_5", a = "_header_jcnc7_12", n = "_close_jcnc7_16", _ = {
|
|
5
|
+
root: t,
|
|
6
6
|
content: e,
|
|
7
7
|
header: a,
|
|
8
8
|
close: n
|
|
9
9
|
}, d = o.withProps({
|
|
10
|
-
classNames: { ..._, title:
|
|
10
|
+
classNames: { ..._, title: c[s] },
|
|
11
11
|
withOverlay: !1
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Text as m } from "@mantine/core";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
|
+
import { c as a } from "../../typography.module-gwO-h9Os.js";
|
|
5
|
+
const c = s((t, o) => /* @__PURE__ */ r(
|
|
6
6
|
m,
|
|
7
7
|
{
|
|
8
8
|
ref: o,
|
|
9
9
|
...t,
|
|
10
|
-
classNames: { root:
|
|
10
|
+
classNames: { root: a[t.variant || "text"] }
|
|
11
11
|
}
|
|
12
12
|
));
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
c as Text
|
|
15
15
|
};
|
package/dist/components/theme.js
CHANGED
|
@@ -22,7 +22,9 @@ const a = {
|
|
|
22
22
|
//text
|
|
23
23
|
"text-base-secondary": e("#0f132499"),
|
|
24
24
|
"text-base-tertiary": e("#0d112666"),
|
|
25
|
-
"text-status-destructive": e("#e6483d")
|
|
25
|
+
"text-status-destructive": e("#e6483d"),
|
|
26
|
+
//typography
|
|
27
|
+
"typography-secondary": e("#91989e")
|
|
26
28
|
},
|
|
27
29
|
primaryShade: 6,
|
|
28
30
|
// { light: 6, dark: 8 } default mantine by theme
|
package/dist/main.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export { CardInput } from './components/Inputs/CardInput';
|
|
|
7
7
|
export { MaskedInput } from './components/Inputs/MaskedInput';
|
|
8
8
|
export { PasswordInput } from './components/Inputs/PasswordInput';
|
|
9
9
|
export { CvvInput } from './components/Inputs/CvvInput';
|
|
10
|
-
export {
|
|
10
|
+
export { Loader } from './components/Loader';
|
|
11
11
|
export { Modal } from './components/Modal';
|
|
12
|
+
export { Text } from './components/Text';
|
package/dist/main.js
CHANGED
|
@@ -2,24 +2,26 @@ import { ColorSchemeScript as t, mantineHtmlProps as e } from "@mantine/core";
|
|
|
2
2
|
import { MantineProvider as m } from "./components/MainProvider/MantineProvider.js";
|
|
3
3
|
import { theme as f } from "./components/theme.js";
|
|
4
4
|
import { Button as a } from "./components/Button/Button.js";
|
|
5
|
-
import { Input as
|
|
5
|
+
import { Input as u } from "./components/Inputs/Input.js";
|
|
6
6
|
import { CardInput as i } from "./components/Inputs/CardInput/CardInput.js";
|
|
7
7
|
import { MaskedInput as l } from "./components/Inputs/MaskedInput/MaskedInput.js";
|
|
8
8
|
import { PasswordInput as C } from "./components/Inputs/PasswordInput/PasswordInput.js";
|
|
9
9
|
import { CvvInput as P } from "./components/Inputs/CvvInput/CvvInput.js";
|
|
10
|
-
import {
|
|
10
|
+
import { Loader as h } from "./components/Loader/Loader.js";
|
|
11
11
|
import { Modal as k } from "./components/Modal/Modal.js";
|
|
12
|
+
import { Text as B } from "./components/Text/Text.js";
|
|
12
13
|
export {
|
|
13
14
|
a as Button,
|
|
14
15
|
i as CardInput,
|
|
15
16
|
t as ColorSchemeScript,
|
|
16
17
|
P as CvvInput,
|
|
17
|
-
|
|
18
|
+
u as Input,
|
|
19
|
+
h as Loader,
|
|
18
20
|
m as MantineProvider,
|
|
19
21
|
l as MaskedInput,
|
|
20
22
|
k as Modal,
|
|
21
23
|
C as PasswordInput,
|
|
22
|
-
|
|
24
|
+
B as Text,
|
|
23
25
|
e as mantineHtmlProps,
|
|
24
26
|
f as theme
|
|
25
27
|
};
|