@kvell-group/ui 1.8.3 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +0 -0
  2. package/dist/Text.module-R-XLggXY.js +8 -0
  3. package/dist/assets/CardInput.css +1 -0
  4. package/dist/assets/Text.css +1 -0
  5. package/dist/components/Button/Button.js +9 -592
  6. package/dist/components/CardInput/CardInput.d.ts +145 -0
  7. package/dist/components/CardInput/CardInput.js +3223 -0
  8. package/dist/components/CardInput/index.d.ts +1 -0
  9. package/dist/components/CardInput/index.js +4 -0
  10. package/dist/components/CardInput/useCardLogo.d.ts +1 -0
  11. package/dist/components/CardInput/useCardLogo.js +47 -0
  12. package/dist/components/MainProvider/MantineProvider.js +9 -425
  13. package/dist/components/Text/Text.d.ts +9 -0
  14. package/dist/components/Text/Text.js +13 -0
  15. package/dist/components/Text/index.d.ts +1 -0
  16. package/dist/components/Text/index.js +4 -0
  17. package/dist/components/theme.js +40 -25
  18. package/dist/main.d.ts +3 -1
  19. package/dist/main.js +13 -46
  20. package/package.json +10 -10
  21. package/dist/MantineThemeProvider-kHsOfZUW.js +0 -705
  22. package/dist/Text-B8e4XllM.js +0 -80
  23. package/dist/assets/TypographyBodySMedium.css +0 -1
  24. package/dist/assets/TypographyCaptionLMedium.css +0 -1
  25. package/dist/components/Typography/TypographyBodySMedium.d.ts +0 -2
  26. package/dist/components/Typography/TypographyBodySMedium.js +0 -14
  27. package/dist/components/Typography/TypographyCaptionLMedium.d.ts +0 -2
  28. package/dist/components/Typography/TypographyCaptionLMedium.js +0 -14
  29. package/dist/components/Typography/types.d.ts +0 -5
  30. package/dist/components/Typography/types.js +0 -1
  31. package/dist/polymorphic-factory-DUeudAZR.js +0 -767
@@ -0,0 +1,145 @@
1
+ import { InputBaseProps, ElementProps } from '@mantine/core';
2
+ export declare const CardInputBase: <L = import('react').ForwardRefExoticComponent<(Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
3
+ [x: string]: unknown;
4
+ }>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
5
+ mask: DateConstructor;
6
+ } & {
7
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
8
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
9
+ [x: string]: unknown;
10
+ }>, "ref"> & {
11
+ mask: typeof import('imask').MaskedDate;
12
+ } & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
13
+ mask: DateConstructor;
14
+ }, "mask"> & {
15
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
16
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
17
+ [x: string]: unknown;
18
+ }>, "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">> & {
19
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
20
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
21
+ [x: string]: unknown;
22
+ }>, "ref"> & {
23
+ mask: typeof import('imask').MaskedNumber;
24
+ } & 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"> & {
25
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
26
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
27
+ [x: string]: unknown;
28
+ }>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
29
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
30
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
31
+ [x: string]: unknown;
32
+ }>, "ref"> & {
33
+ mask: typeof import('imask').MaskedEnum;
34
+ } & Omit<import('imask').MaskedEnumOptions, "mask"> & {
35
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
36
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
37
+ [x: string]: unknown;
38
+ }>, "ref"> & {
39
+ mask: typeof import('imask').MaskedRange;
40
+ } & Omit<import('imask').MaskedRangeOptions, "mask"> & {
41
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
42
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
43
+ [x: string]: unknown;
44
+ }>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
45
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
46
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
47
+ [x: string]: unknown;
48
+ }>, "ref"> & {
49
+ mask: typeof import('imask').MaskedRegExp;
50
+ } & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
51
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
52
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
53
+ [x: string]: unknown;
54
+ }>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
55
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
56
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
57
+ [x: string]: unknown;
58
+ }>, "ref"> & {
59
+ mask: typeof import('imask').MaskedFunction;
60
+ } & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
61
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
62
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
63
+ [x: string]: unknown;
64
+ }>, "ref"> & {
65
+ mask: typeof import('imask').MaskedPattern;
66
+ } & 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"> & {
67
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
68
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
69
+ [x: string]: unknown;
70
+ }>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
71
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
72
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
73
+ [x: string]: unknown;
74
+ }>, "ref"> & {
75
+ mask: typeof import('imask').MaskedDynamic;
76
+ } & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
77
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
78
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
79
+ [x: string]: unknown;
80
+ }>, "ref"> & {
81
+ mask: typeof import('imask').Masked;
82
+ } & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
83
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
84
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
85
+ [x: string]: unknown;
86
+ }>, "ref"> & {
87
+ mask: import('imask').MaskedDate;
88
+ } & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
89
+ mask: DateConstructor;
90
+ }, "mask"> & {
91
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
92
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
93
+ [x: string]: unknown;
94
+ }>, "ref"> & {
95
+ mask: import('imask').MaskedNumber;
96
+ } & 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"> & {
97
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
98
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
99
+ [x: string]: unknown;
100
+ }>, "ref"> & {
101
+ mask: import('imask').MaskedEnum;
102
+ } & Omit<import('imask').MaskedEnumOptions, "mask"> & {
103
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
104
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
105
+ [x: string]: unknown;
106
+ }>, "ref"> & {
107
+ mask: import('imask').MaskedRange;
108
+ } & Omit<import('imask').MaskedRangeOptions, "mask"> & {
109
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
110
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
111
+ [x: string]: unknown;
112
+ }>, "ref"> & {
113
+ mask: import('imask').MaskedRegExp;
114
+ } & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
115
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
116
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
117
+ [x: string]: unknown;
118
+ }>, "ref"> & {
119
+ mask: import('imask').MaskedFunction<any>;
120
+ } & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
121
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
122
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
123
+ [x: string]: unknown;
124
+ }>, "ref"> & {
125
+ mask: import('imask').MaskedPattern<string>;
126
+ } & 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"> & {
127
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
128
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
129
+ [x: string]: unknown;
130
+ }>, "ref"> & {
131
+ mask: import('imask').MaskedDynamic<any>;
132
+ } & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
133
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
134
+ }, "ref"> | Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
135
+ [x: string]: unknown;
136
+ }>, "ref"> & {
137
+ mask: import('imask').Masked<any>;
138
+ } & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
139
+ ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
140
+ }, "ref">) & import('react').RefAttributes<unknown>>>(props: import('@mantine/core').PolymorphicComponentProps<L, InputBaseProps>) => React.ReactElement;
141
+ type CardInputProps = InputBaseProps & Omit<ElementProps<'input'>, 'value'> & {
142
+ value: string;
143
+ };
144
+ export declare const CardInput: (props: CardInputProps) => import("react/jsx-runtime").JSX.Element;
145
+ export {};