@kvell-group/ui 1.11.0 → 1.11.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 (44) hide show
  1. package/dist/assets/CvvInput.css +1 -0
  2. package/dist/assets/PasswordInput.css +1 -0
  3. package/dist/assets/clsx.css +1 -0
  4. package/dist/clsx-BvFBxcni.js +23 -0
  5. package/dist/components/Inputs/CardInput/CardInput.d.ts +2 -0
  6. package/dist/components/Inputs/CardInput/CardInput.js +24 -0
  7. package/dist/components/Inputs/CardInput/index.d.ts +1 -0
  8. package/dist/components/Inputs/CardInput/index.js +4 -0
  9. package/dist/components/Inputs/CvvInput/CvvInput.d.ts +2 -0
  10. package/dist/components/Inputs/CvvInput/CvvInput.js +16 -0
  11. package/dist/components/Inputs/CvvInput/index.d.ts +1 -0
  12. package/dist/components/Inputs/CvvInput/index.js +4 -0
  13. package/dist/components/Inputs/Input.js +9 -0
  14. package/dist/components/Inputs/MaskedInput/MaskedInput.d.ts +2 -0
  15. package/dist/{input-CT_F2u-Q.js → components/Inputs/MaskedInput/MaskedInput.js} +96 -88
  16. package/dist/components/Inputs/MaskedInput/index.d.ts +1 -0
  17. package/dist/components/Inputs/MaskedInput/index.js +4 -0
  18. package/dist/components/Inputs/PasswordInput/PasswordInput.d.ts +4 -0
  19. package/dist/components/Inputs/PasswordInput/PasswordInput.js +16 -0
  20. package/dist/components/Inputs/PasswordInput/index.d.ts +1 -0
  21. package/dist/components/Inputs/PasswordInput/index.js +4 -0
  22. package/dist/components/Inputs/types.d.ts +5 -0
  23. package/dist/components/Inputs/types.js +1 -0
  24. package/dist/components/theme.js +3 -1
  25. package/dist/main.d.ts +5 -3
  26. package/dist/main.js +14 -10
  27. package/package.json +1 -1
  28. package/dist/assets/Input.css +0 -1
  29. package/dist/assets/InputMasked.css +0 -1
  30. package/dist/clsx-OuTLNxxd.js +0 -16
  31. package/dist/components/Input/Input.js +0 -11
  32. package/dist/components/InputCard/InputCard.d.ts +0 -145
  33. package/dist/components/InputCard/InputCard.js +0 -34
  34. package/dist/components/InputCard/index.d.ts +0 -1
  35. package/dist/components/InputCard/index.js +0 -4
  36. package/dist/components/InputMasked/InputMasked.d.ts +0 -139
  37. package/dist/components/InputMasked/InputMasked.js +0 -15
  38. package/dist/components/InputMasked/index.d.ts +0 -1
  39. package/dist/components/InputMasked/index.js +0 -4
  40. /package/dist/components/{InputCard → Inputs/CardInput}/useCardLogo.d.ts +0 -0
  41. /package/dist/components/{InputCard → Inputs/CardInput}/useCardLogo.js +0 -0
  42. /package/dist/components/{Input → Inputs}/Input.d.ts +0 -0
  43. /package/dist/components/{Input → Inputs}/index.d.ts +0 -0
  44. /package/dist/components/{Input → Inputs}/index.js +0 -0
@@ -0,0 +1 @@
1
+ export { PasswordInput } from './PasswordInput';
@@ -0,0 +1,4 @@
1
+ import { PasswordInput as p } from "./PasswordInput.js";
2
+ export {
3
+ p as PasswordInput
4
+ };
@@ -0,0 +1,5 @@
1
+ import { ElementProps, InputBaseProps } from '@mantine/core';
2
+ export type InputProps = InputBaseProps & ElementProps<'input'> & {
3
+ value?: string;
4
+ mask?: string;
5
+ };
@@ -0,0 +1 @@
1
+
@@ -13,8 +13,10 @@ const m = {
13
13
  tertiary: e("#0a0f290a"),
14
14
  //borders
15
15
  "border-action-normal": e("#dee0e3"),
16
+ "border-action-destructive": e("#f7c3c0"),
16
17
  //text
17
- "text-base-tertiary": e("#0d112666")
18
+ "text-base-tertiary": e("#0d112666"),
19
+ "text-status-destructive": e("#e6483d")
18
20
  },
19
21
  primaryShade: 6,
20
22
  // { light: 6, dark: 8 } default mantine by theme
package/dist/main.d.ts CHANGED
@@ -2,7 +2,9 @@ export { ColorSchemeScript, mantineHtmlProps } from '@mantine/core';
2
2
  export { MantineProvider } from './components/MainProvider';
3
3
  export { theme } from './components/theme';
4
4
  export { Button } from './components/Button';
5
- export { Input } from './components/Input';
6
- export { InputCard } from './components/InputCard';
7
- export { InputMasked } from './components/InputMasked';
5
+ export { Input } from './components/Inputs';
6
+ export { CardInput } from './components/Inputs/CardInput';
7
+ export { MaskedInput } from './components/Inputs/MaskedInput';
8
+ export { PasswordInput } from './components/Inputs/PasswordInput';
9
+ export { CvvInput } from './components/Inputs/CvvInput';
8
10
  export { Text } from './components/Text';
package/dist/main.js CHANGED
@@ -1,19 +1,23 @@
1
1
  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
- import { Button as a } from "./components/Button/Button.js";
5
- import { Input as u } from "./components/Input/Input.js";
6
- import { InputCard as I } from "./components/InputCard/InputCard.js";
7
- import { InputMasked as h } from "./components/InputMasked/InputMasked.js";
8
- import { Text as s } from "./components/Text/Text.js";
4
+ import { Button as u } from "./components/Button/Button.js";
5
+ import { Input as I } from "./components/Inputs/Input.js";
6
+ import { CardInput as i } from "./components/Inputs/CardInput/CardInput.js";
7
+ import { MaskedInput as v } from "./components/Inputs/MaskedInput/MaskedInput.js";
8
+ import { PasswordInput as P } from "./components/Inputs/PasswordInput/PasswordInput.js";
9
+ import { CvvInput as h } from "./components/Inputs/CvvInput/CvvInput.js";
10
+ import { Text as M } from "./components/Text/Text.js";
9
11
  export {
10
- a as Button,
12
+ u as Button,
13
+ i as CardInput,
11
14
  t as ColorSchemeScript,
12
- u as Input,
13
- I as InputCard,
14
- h as InputMasked,
15
+ h as CvvInput,
16
+ I as Input,
15
17
  m as MantineProvider,
16
- s as Text,
18
+ v as MaskedInput,
19
+ P as PasswordInput,
20
+ M as Text,
17
21
  e as mantineHtmlProps,
18
22
  f as theme
19
23
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kvell-group/ui",
3
3
  "author": "Kvell Group",
4
4
  "private": false,
5
- "version": "1.11.0",
5
+ "version": "1.11.1",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",
@@ -1 +0,0 @@
1
- ._input_huhi9_1{border-radius:var(--mantine-radius-xl);border:1px solid var(--mantine-color-border-action-normal-0);color:var(--mantine-color-text-base-tertiary-0);padding:18px 16px;box-shadow:var(--mantine-shadow-xs)}
@@ -1 +0,0 @@
1
- ._input_1uqnk_1{border-radius:var(--mantine-radius-xl);border:1px solid var(--mantine-color-border-action-normal-0);color:var(--mantine-color-text-base-tertiary-0)}._section_1uqnk_7[data-position=left]{padding-left:6px}._section_1uqnk_7[data-position=left]+input{padding-left:38px}._section_1uqnk_7[data-position=right]{margin-right:16px}
@@ -1,16 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function i() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- i as c
16
- };
@@ -1,11 +0,0 @@
1
- import { InputBase as s } from "@mantine/core";
2
- import { c as t } from "../../Text.module-D3VLOIGk.js";
3
- import { c as p } from "../../clsx-OuTLNxxd.js";
4
- import '../../assets/Input.css';const a = "_input_huhi9_1", n = {
5
- input: a
6
- }, i = p(n.input, t["caption-l-regular"]), m = s.withProps({
7
- classNames: { input: i }
8
- });
9
- export {
10
- m as Input
11
- };
@@ -1,145 +0,0 @@
1
- import { InputBaseProps, ElementProps } from '@mantine/core';
2
- export declare const InputCardBase: <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 InputCardProps = InputBaseProps & Omit<ElementProps<'input'>, 'value'> & {
142
- value: string;
143
- };
144
- export declare const InputCard: (props: InputCardProps) => import("react/jsx-runtime").JSX.Element;
145
- export {};
@@ -1,34 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { InputBase as i } from "@mantine/core";
3
- import { I as r } from "../../input-CT_F2u-Q.js";
4
- import * as n from "react";
5
- import { c as a } from "../../Text.module-D3VLOIGk.js";
6
- import { useCardLogo as c } from "./useCardLogo.js";
7
- import { c as l } from "../../clsx-OuTLNxxd.js";
8
- import '../../assets/InputMasked.css';const p = "_input_1uqnk_1", m = "_section_1uqnk_7", e = {
9
- input: p,
10
- section: m
11
- }, _ = (t) => /* @__PURE__ */ n.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("path", { d: "M2.49984 2.5H17.4998C17.7209 2.5 17.9328 2.5878 18.0891 2.74408C18.2454 2.90036 18.3332 3.11232 18.3332 3.33333V16.6667C18.3332 16.8877 18.2454 17.0996 18.0891 17.2559C17.9328 17.4122 17.7209 17.5 17.4998 17.5H2.49984C2.27882 17.5 2.06686 17.4122 1.91058 17.2559C1.7543 17.0996 1.6665 16.8877 1.6665 16.6667V3.33333C1.6665 3.11232 1.7543 2.90036 1.91058 2.74408C2.06686 2.5878 2.27882 2.5 2.49984 2.5ZM16.6665 9.16667H3.33317V15.8333H16.6665V9.16667ZM16.6665 7.5V4.16667H3.33317V7.5H16.6665ZM11.6665 12.5H14.9998V14.1667H11.6665V12.5Z", fill: "currentColor", fillOpacity: 0.4, style: {
12
- fill: "#0D1126",
13
- fill: "color(display-p3 0.0510 0.0667 0.1490)",
14
- fillOpacity: 0.4
15
- } })), u = l(e.input, a["caption-l-regular"]), C = i.withProps({
16
- leftSection: /* @__PURE__ */ o(_, {}),
17
- component: r,
18
- mask: "0000 0000 0000 0000",
19
- placeholder: "____ ____ ____ ____",
20
- classNames: { input: u, section: e.section }
21
- }), w = (t) => {
22
- const s = c(t.value);
23
- return /* @__PURE__ */ o(
24
- C,
25
- {
26
- ...t,
27
- rightSection: s && /* @__PURE__ */ o(s, {})
28
- }
29
- );
30
- };
31
- export {
32
- w as InputCard,
33
- C as InputCardBase
34
- };
@@ -1 +0,0 @@
1
- export { InputCard } from './InputCard';
@@ -1,4 +0,0 @@
1
- import { InputCard as p } from "./InputCard.js";
2
- export {
3
- p as InputCard
4
- };
@@ -1,139 +0,0 @@
1
- export declare const InputMasked: <L = import('react').ForwardRefExoticComponent<(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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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"> | 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>>>(props: import('@mantine/core').PolymorphicComponentProps<L, import('@mantine/core').InputBaseProps>) => React.ReactElement;
@@ -1,15 +0,0 @@
1
- import { InputBase as t } from "@mantine/core";
2
- import { I as n } from "../../input-CT_F2u-Q.js";
3
- import "react";
4
- import { c as o } from "../../Text.module-D3VLOIGk.js";
5
- import { c as i } from "../../clsx-OuTLNxxd.js";
6
- import '../../assets/InputMasked.css';const p = "_input_1uqnk_1", a = "_section_1uqnk_7", s = {
7
- input: p,
8
- section: a
9
- }, c = i(s.input, o["caption-l-regular"]), _ = t.withProps({
10
- component: n,
11
- classNames: { input: c, section: s.section }
12
- });
13
- export {
14
- _ as InputMasked
15
- };
@@ -1 +0,0 @@
1
- export { InputMasked } from './InputMasked';
@@ -1,4 +0,0 @@
1
- import { InputMasked as p } from "./InputMasked.js";
2
- export {
3
- p as InputMasked
4
- };
File without changes
File without changes
File without changes