@invoicebox/ui 0.1.0-alpha.153 → 0.1.0-alpha.155
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/components/common/EntityAutocompleteOptionsDrawer/styles.d.ts +6 -6
- package/dist/components/common/SecondaryButton/styles.d.ts +6 -6
- package/dist/components/common/Typography/typography.d.ts +2 -0
- package/dist/components/common/Typography/typography.js +2 -0
- package/dist/components/form/Autocomplete/components/OrganizationAutocompleteItem/styles.d.ts +36 -36
- package/dist/components/form/InputLabel/styles.d.ts +6 -6
- package/dist/components/form/PureInput/styles.d.ts +6 -6
- package/dist/components/form/Select/styles.d.ts +12 -12
- package/dist/components/payment/PaymentCard/styles.d.ts +12 -12
- package/dist/validate/index.d.ts +6 -6
- package/dist/validate/index.js +22 -46
- package/dist/validate/types.d.ts +1 -0
- package/dist/validate/types.js +1 -0
- package/dist/validate/utils/vatNumberValidateHelpers.d.ts +10 -10
- package/dist/validate/utils/vatNumberValidateHelpers.js +30 -84
- package/package.json +2 -3
|
@@ -5,37 +5,37 @@ export declare const OptionWrapper: import("styled-components/dist/types").IStyl
|
|
|
5
5
|
export declare const ContentWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
export declare const SkeletonListWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
7
|
export declare const Prompt: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
8
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
8
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
9
9
|
} & {
|
|
10
10
|
element?: "div" | undefined;
|
|
11
11
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
13
13
|
}) | (Omit<{
|
|
14
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
14
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
15
15
|
} & {
|
|
16
16
|
element: "p";
|
|
17
17
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
18
18
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
19
19
|
}) | (Omit<{
|
|
20
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
20
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
21
21
|
} & {
|
|
22
22
|
element: "span";
|
|
23
23
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
24
24
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
25
25
|
}) | (Omit<{
|
|
26
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
26
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
27
27
|
} & {
|
|
28
28
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
29
29
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
30
30
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
31
31
|
}) | (Omit<{
|
|
32
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
32
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
33
33
|
} & {
|
|
34
34
|
element: "button";
|
|
35
35
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
36
36
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
37
37
|
}) | (Omit<{
|
|
38
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
38
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
39
39
|
} & {
|
|
40
40
|
element: "input";
|
|
41
41
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TSecondaryButtonPalette } from './palette';
|
|
3
3
|
export declare const Inner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
4
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
4
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
5
5
|
} & {
|
|
6
6
|
element?: "div" | undefined;
|
|
7
7
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
9
9
|
}) | (Omit<{
|
|
10
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
10
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
11
11
|
} & {
|
|
12
12
|
element: "p";
|
|
13
13
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
15
15
|
}) | (Omit<{
|
|
16
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
16
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
17
17
|
} & {
|
|
18
18
|
element: "span";
|
|
19
19
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
21
21
|
}) | (Omit<{
|
|
22
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
22
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
23
23
|
} & {
|
|
24
24
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
27
27
|
}) | (Omit<{
|
|
28
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
28
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
29
29
|
} & {
|
|
30
30
|
element: "button";
|
|
31
31
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
32
32
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
33
33
|
}) | (Omit<{
|
|
34
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
34
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
35
35
|
} & {
|
|
36
36
|
element: "input";
|
|
37
37
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -14,6 +14,8 @@ export declare const typography: {
|
|
|
14
14
|
bodyMBold: import("styled-components").RuleSet<object>;
|
|
15
15
|
bodyMUnderlined: import("styled-components").RuleSet<object>;
|
|
16
16
|
captionRegular: import("styled-components").RuleSet<object>;
|
|
17
|
+
labelsHintsRegular: import("styled-components").RuleSet<object>;
|
|
18
|
+
labelsHintsBold: import("styled-components").RuleSet<object>;
|
|
17
19
|
captionSRegular: import("styled-components").RuleSet<object>;
|
|
18
20
|
captionUnderlined: import("styled-components").RuleSet<object>;
|
|
19
21
|
smallMedium: import("styled-components").RuleSet<object>;
|
|
@@ -22,6 +22,8 @@ var typography = exports.typography = {
|
|
|
22
22
|
bodyMBold: (0, _styledComponents.css)(["font-size:14px;font-weight:700;line-height:20px;"]),
|
|
23
23
|
bodyMUnderlined: (0, _styledComponents.css)(["font-size:14px;font-weight:400;line-height:20px;text-decoration:underline;"]),
|
|
24
24
|
captionRegular: (0, _styledComponents.css)(["font-size:12px;font-weight:400;line-height:18px;"]),
|
|
25
|
+
labelsHintsRegular: (0, _styledComponents.css)(["font-size:12px;font-weight:400;line-height:16px;"]),
|
|
26
|
+
labelsHintsBold: (0, _styledComponents.css)(["font-size:12px;font-weight:700;line-height:16px;"]),
|
|
25
27
|
captionSRegular: (0, _styledComponents.css)(["font-size:10px;font-weight:400;line-height:16px;"]),
|
|
26
28
|
captionUnderlined: (0, _styledComponents.css)(["font-size:12px;font-weight:400;line-height:18px;text-decoration:underline;"]),
|
|
27
29
|
smallMedium: (0, _styledComponents.css)(["font-size:12px;font-weight:500;line-height:16px;"]),
|
package/dist/components/form/Autocomplete/components/OrganizationAutocompleteItem/styles.d.ts
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const OrganizationWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const OrganizationName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<(Omit<{
|
|
4
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
4
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
5
5
|
} & {
|
|
6
6
|
element?: "div" | undefined;
|
|
7
7
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
9
9
|
}) | (Omit<{
|
|
10
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
10
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
11
11
|
} & {
|
|
12
12
|
element: "p";
|
|
13
13
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
15
15
|
}) | (Omit<{
|
|
16
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
16
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
17
17
|
} & {
|
|
18
18
|
element: "span";
|
|
19
19
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
21
21
|
}) | (Omit<{
|
|
22
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
22
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
23
23
|
} & {
|
|
24
24
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
27
27
|
}) | (Omit<{
|
|
28
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
28
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
29
29
|
} & {
|
|
30
30
|
element: "button";
|
|
31
31
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
32
32
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
33
33
|
}) | (Omit<{
|
|
34
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
34
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
35
35
|
} & {
|
|
36
36
|
element: "input";
|
|
37
37
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
38
38
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
39
39
|
}), (Omit<{
|
|
40
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
40
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
41
41
|
} & {
|
|
42
42
|
element?: "div" | undefined;
|
|
43
43
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
44
44
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
45
45
|
}) | (Omit<{
|
|
46
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
46
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
47
47
|
} & {
|
|
48
48
|
element: "p";
|
|
49
49
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
50
50
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
51
51
|
}) | (Omit<{
|
|
52
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
52
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
53
53
|
} & {
|
|
54
54
|
element: "span";
|
|
55
55
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
56
56
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
57
57
|
}) | (Omit<{
|
|
58
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
58
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
59
59
|
} & {
|
|
60
60
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
61
61
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
62
62
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
63
63
|
}) | (Omit<{
|
|
64
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
64
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
65
65
|
} & {
|
|
66
66
|
element: "button";
|
|
67
67
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
68
68
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
69
69
|
}) | (Omit<{
|
|
70
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
70
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
71
71
|
} & {
|
|
72
72
|
element: "input";
|
|
73
73
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -76,73 +76,73 @@ export declare const OrganizationName: import("styled-components/dist/types").IS
|
|
|
76
76
|
$color: string;
|
|
77
77
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../common/Typography").TProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
78
78
|
export declare const OrganizationDescription: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<(Omit<{
|
|
79
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
79
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
80
80
|
} & {
|
|
81
81
|
element?: "div" | undefined;
|
|
82
82
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
83
83
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
84
84
|
}) | (Omit<{
|
|
85
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
85
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
86
86
|
} & {
|
|
87
87
|
element: "p";
|
|
88
88
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
89
89
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
90
90
|
}) | (Omit<{
|
|
91
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
91
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
92
92
|
} & {
|
|
93
93
|
element: "span";
|
|
94
94
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
95
95
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
96
96
|
}) | (Omit<{
|
|
97
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
97
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
98
98
|
} & {
|
|
99
99
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
100
100
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
101
101
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
102
102
|
}) | (Omit<{
|
|
103
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
103
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
104
104
|
} & {
|
|
105
105
|
element: "button";
|
|
106
106
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
107
107
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
108
108
|
}) | (Omit<{
|
|
109
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
109
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
110
110
|
} & {
|
|
111
111
|
element: "input";
|
|
112
112
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
113
113
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
114
114
|
}), (Omit<{
|
|
115
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
115
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
116
116
|
} & {
|
|
117
117
|
element?: "div" | undefined;
|
|
118
118
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
119
119
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
120
120
|
}) | (Omit<{
|
|
121
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
121
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
122
122
|
} & {
|
|
123
123
|
element: "p";
|
|
124
124
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
125
125
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
126
126
|
}) | (Omit<{
|
|
127
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
127
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
128
128
|
} & {
|
|
129
129
|
element: "span";
|
|
130
130
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
131
131
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
132
132
|
}) | (Omit<{
|
|
133
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
133
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
134
134
|
} & {
|
|
135
135
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
136
136
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
137
137
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
138
138
|
}) | (Omit<{
|
|
139
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
139
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
140
140
|
} & {
|
|
141
141
|
element: "button";
|
|
142
142
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
143
143
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
144
144
|
}) | (Omit<{
|
|
145
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
145
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
146
146
|
} & {
|
|
147
147
|
element: "input";
|
|
148
148
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -151,73 +151,73 @@ export declare const OrganizationDescription: import("styled-components/dist/typ
|
|
|
151
151
|
$color: string;
|
|
152
152
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../common/Typography").TProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
153
153
|
export declare const OrganizationLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<(Omit<{
|
|
154
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
154
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
155
155
|
} & {
|
|
156
156
|
element?: "div" | undefined;
|
|
157
157
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
158
158
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
159
159
|
}) | (Omit<{
|
|
160
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
160
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
161
161
|
} & {
|
|
162
162
|
element: "p";
|
|
163
163
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
164
164
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
165
165
|
}) | (Omit<{
|
|
166
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
166
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
167
167
|
} & {
|
|
168
168
|
element: "span";
|
|
169
169
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
170
170
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
171
171
|
}) | (Omit<{
|
|
172
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
172
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
173
173
|
} & {
|
|
174
174
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
175
175
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
176
176
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
177
177
|
}) | (Omit<{
|
|
178
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
178
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
179
179
|
} & {
|
|
180
180
|
element: "button";
|
|
181
181
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
182
182
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
183
183
|
}) | (Omit<{
|
|
184
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
184
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
185
185
|
} & {
|
|
186
186
|
element: "input";
|
|
187
187
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
188
188
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
189
189
|
}), (Omit<{
|
|
190
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
190
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
191
191
|
} & {
|
|
192
192
|
element?: "div" | undefined;
|
|
193
193
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
194
194
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
195
195
|
}) | (Omit<{
|
|
196
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
196
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
197
197
|
} & {
|
|
198
198
|
element: "p";
|
|
199
199
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
200
200
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
201
201
|
}) | (Omit<{
|
|
202
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
202
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
203
203
|
} & {
|
|
204
204
|
element: "span";
|
|
205
205
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
206
206
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
207
207
|
}) | (Omit<{
|
|
208
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
208
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
209
209
|
} & {
|
|
210
210
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
211
211
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
212
212
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
213
213
|
}) | (Omit<{
|
|
214
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
214
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
215
215
|
} & {
|
|
216
216
|
element: "button";
|
|
217
217
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
218
218
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
219
219
|
}) | (Omit<{
|
|
220
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
220
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
221
221
|
} & {
|
|
222
222
|
element: "input";
|
|
223
223
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TInputLabelPalette } from './palette';
|
|
3
3
|
export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
4
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
4
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
5
5
|
} & {
|
|
6
6
|
element?: "div" | undefined;
|
|
7
7
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
9
9
|
}) | (Omit<{
|
|
10
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
10
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
11
11
|
} & {
|
|
12
12
|
element: "p";
|
|
13
13
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
15
15
|
}) | (Omit<{
|
|
16
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
16
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
17
17
|
} & {
|
|
18
18
|
element: "span";
|
|
19
19
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
21
21
|
}) | (Omit<{
|
|
22
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
22
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
23
23
|
} & {
|
|
24
24
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
27
27
|
}) | (Omit<{
|
|
28
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
28
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
29
29
|
} & {
|
|
30
30
|
element: "button";
|
|
31
31
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
32
32
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
33
33
|
}) | (Omit<{
|
|
34
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
34
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
35
35
|
} & {
|
|
36
36
|
element: "input";
|
|
37
37
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TPureInputPalette } from './palette';
|
|
3
3
|
export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
4
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
4
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
5
5
|
} & {
|
|
6
6
|
element?: "div" | undefined;
|
|
7
7
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
9
9
|
}) | (Omit<{
|
|
10
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
10
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
11
11
|
} & {
|
|
12
12
|
element: "p";
|
|
13
13
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
15
15
|
}) | (Omit<{
|
|
16
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
16
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
17
17
|
} & {
|
|
18
18
|
element: "span";
|
|
19
19
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
20
20
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
21
21
|
}) | (Omit<{
|
|
22
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
22
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
23
23
|
} & {
|
|
24
24
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
25
25
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
27
27
|
}) | (Omit<{
|
|
28
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
28
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
29
29
|
} & {
|
|
30
30
|
element: "button";
|
|
31
31
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
32
32
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
33
33
|
}) | (Omit<{
|
|
34
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
34
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
35
35
|
} & {
|
|
36
36
|
element: "input";
|
|
37
37
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -4,37 +4,37 @@ export declare const Wrapper: import("styled-components/dist/types").IStyledComp
|
|
|
4
4
|
export declare const InputWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
5
|
export declare const Options: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
export declare const Option: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
7
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
7
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
8
8
|
} & {
|
|
9
9
|
element?: "div" | undefined;
|
|
10
10
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
12
12
|
}) | (Omit<{
|
|
13
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
13
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
14
14
|
} & {
|
|
15
15
|
element: "p";
|
|
16
16
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
18
18
|
}) | (Omit<{
|
|
19
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
19
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
20
20
|
} & {
|
|
21
21
|
element: "span";
|
|
22
22
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
24
24
|
}) | (Omit<{
|
|
25
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
25
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
26
26
|
} & {
|
|
27
27
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
28
28
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
29
29
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
30
30
|
}) | (Omit<{
|
|
31
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
31
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
32
32
|
} & {
|
|
33
33
|
element: "button";
|
|
34
34
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
35
35
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
36
36
|
}) | (Omit<{
|
|
37
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
37
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
38
38
|
} & {
|
|
39
39
|
element: "input";
|
|
40
40
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -44,37 +44,37 @@ export declare const Option: import("styled-components/dist/types").IStyledCompo
|
|
|
44
44
|
$isGrouped: boolean;
|
|
45
45
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../common/Typography").TProps & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
46
46
|
export declare const Group: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
47
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
47
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
48
48
|
} & {
|
|
49
49
|
element?: "div" | undefined;
|
|
50
50
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
51
51
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
52
52
|
}) | (Omit<{
|
|
53
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
53
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
54
54
|
} & {
|
|
55
55
|
element: "p";
|
|
56
56
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
57
57
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
58
58
|
}) | (Omit<{
|
|
59
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
59
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
60
60
|
} & {
|
|
61
61
|
element: "span";
|
|
62
62
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
63
63
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
64
64
|
}) | (Omit<{
|
|
65
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
65
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
66
66
|
} & {
|
|
67
67
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
68
68
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
69
69
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
70
70
|
}) | (Omit<{
|
|
71
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
71
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
72
72
|
} & {
|
|
73
73
|
element: "button";
|
|
74
74
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
75
75
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
76
76
|
}) | (Omit<{
|
|
77
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
77
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
78
78
|
} & {
|
|
79
79
|
element: "input";
|
|
80
80
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -10,37 +10,37 @@ export declare const Wrapper: import("styled-components/dist/types").IStyledComp
|
|
|
10
10
|
export declare const RadioWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
12
|
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
13
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
13
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
14
14
|
} & {
|
|
15
15
|
element?: "div" | undefined;
|
|
16
16
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
18
18
|
}) | (Omit<{
|
|
19
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
19
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
20
20
|
} & {
|
|
21
21
|
element: "p";
|
|
22
22
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
24
24
|
}) | (Omit<{
|
|
25
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
25
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
26
26
|
} & {
|
|
27
27
|
element: "span";
|
|
28
28
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
29
29
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
30
30
|
}) | (Omit<{
|
|
31
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
31
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
32
32
|
} & {
|
|
33
33
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
34
34
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
35
35
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
36
36
|
}) | (Omit<{
|
|
37
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
37
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
38
38
|
} & {
|
|
39
39
|
element: "button";
|
|
40
40
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
41
41
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
42
42
|
}) | (Omit<{
|
|
43
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
43
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
44
44
|
} & {
|
|
45
45
|
element: "input";
|
|
46
46
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -54,37 +54,37 @@ export declare const IconWrapper: import("styled-components/dist/types").IStyled
|
|
|
54
54
|
$pallete: TPaymentCardPalette;
|
|
55
55
|
}>> & string;
|
|
56
56
|
export declare const Comment: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<{
|
|
57
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
57
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
58
58
|
} & {
|
|
59
59
|
element?: "div" | undefined;
|
|
60
60
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
61
61
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
62
62
|
}) | (Omit<{
|
|
63
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
63
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
64
64
|
} & {
|
|
65
65
|
element: "p";
|
|
66
66
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
67
67
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
68
68
|
}) | (Omit<{
|
|
69
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
69
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
70
70
|
} & {
|
|
71
71
|
element: "span";
|
|
72
72
|
} & import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
73
73
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
74
74
|
}) | (Omit<{
|
|
75
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
75
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
76
76
|
} & {
|
|
77
77
|
element: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
78
78
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
79
79
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
80
80
|
}) | (Omit<{
|
|
81
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
81
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
82
82
|
} & {
|
|
83
83
|
element: "button";
|
|
84
84
|
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
85
85
|
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
86
86
|
}) | (Omit<{
|
|
87
|
-
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
87
|
+
variant: "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headerText" | "buttonL" | "bodyL" | "bodyLUnderlined" | "buttonM" | "bodyMRegular" | "bodyMBold" | "bodyMUnderlined" | "captionRegular" | "labelsHintsRegular" | "labelsHintsBold" | "captionSRegular" | "captionUnderlined" | "smallMedium" | "labelsAndHints";
|
|
88
88
|
} & {
|
|
89
89
|
element: "input";
|
|
90
90
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
package/dist/validate/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { TCreateErrorFunc } from './types';
|
|
2
2
|
export declare class Validate {
|
|
3
|
-
static bic(value: string,
|
|
4
|
-
static website(value: string,
|
|
5
|
-
static vatNumber(value: string,
|
|
6
|
-
static taxRegistrationReasonCode(value: string,
|
|
7
|
-
static registrationNumber(value: string,
|
|
3
|
+
static bic(value: string, createError: TCreateErrorFunc): any;
|
|
4
|
+
static website(value: string, createError: TCreateErrorFunc): any;
|
|
5
|
+
static vatNumber(value: string, countryId: string, createError: TCreateErrorFunc): any;
|
|
6
|
+
static taxRegistrationReasonCode(value: string, createError: TCreateErrorFunc): any;
|
|
7
|
+
static registrationNumber(value: string, vatNumber: string, countryId: string, createError: TCreateErrorFunc): any;
|
|
8
8
|
}
|
package/dist/validate/index.js
CHANGED
|
@@ -18,101 +18,86 @@ var Validate = exports.Validate = /*#__PURE__*/function () {
|
|
|
18
18
|
}
|
|
19
19
|
return _createClass(Validate, null, [{
|
|
20
20
|
key: "bic",
|
|
21
|
-
value: function bic(value,
|
|
21
|
+
value: function bic(value, createError) {
|
|
22
22
|
if (value === '') {
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
25
25
|
if (/[^0-9]/.test(value)) {
|
|
26
|
-
return createError(
|
|
27
|
-
path: path,
|
|
28
|
-
message: 'БИК может состоять только из цифр'
|
|
29
|
-
});
|
|
26
|
+
return createError('БИК может состоять только из цифр');
|
|
30
27
|
}
|
|
31
28
|
if (value.length !== 9) {
|
|
32
|
-
return createError(
|
|
33
|
-
path: path,
|
|
34
|
-
message: 'БИК может состоять только из 9 цифр'
|
|
35
|
-
});
|
|
29
|
+
return createError('БИК может состоять только из 9 цифр');
|
|
36
30
|
}
|
|
37
31
|
return true;
|
|
38
32
|
}
|
|
39
33
|
}, {
|
|
40
34
|
key: "website",
|
|
41
|
-
value: function website(value,
|
|
35
|
+
value: function website(value, createError) {
|
|
42
36
|
if (value === '') {
|
|
43
37
|
return true;
|
|
44
38
|
}
|
|
45
39
|
if (value.match(/^((ftp|http|https):\/\/)?(www.)?(?!.*(ftp|http|https|www.))[a-zA-Z0-9_-]+(\.[a-zA-Z]+)+((\/)[\w#]+)*(\/\w+\?[a-zA-Z0-9_]+=\w+(&[a-zA-Z0-9_]+=\w+)*)?$/gm)) {
|
|
46
40
|
return true;
|
|
47
41
|
}
|
|
48
|
-
return createError(
|
|
49
|
-
path: path,
|
|
50
|
-
message: 'Некорректный адрес'
|
|
51
|
-
});
|
|
42
|
+
return createError('Некорректный адрес');
|
|
52
43
|
}
|
|
53
44
|
}, {
|
|
54
45
|
key: "vatNumber",
|
|
55
|
-
value: function vatNumber(value,
|
|
46
|
+
value: function vatNumber(value, countryId, createError) {
|
|
56
47
|
switch (countryId) {
|
|
57
48
|
case 'KAZ':
|
|
58
49
|
{
|
|
59
|
-
return (0, _vatNumberValidateHelpers.KAZValidate)(value,
|
|
50
|
+
return (0, _vatNumberValidateHelpers.KAZValidate)(value, createError);
|
|
60
51
|
}
|
|
61
52
|
case 'BLR':
|
|
62
53
|
{
|
|
63
|
-
return (0, _vatNumberValidateHelpers.BLRValidate)(value,
|
|
54
|
+
return (0, _vatNumberValidateHelpers.BLRValidate)(value, createError);
|
|
64
55
|
}
|
|
65
56
|
case 'MDA':
|
|
66
57
|
{
|
|
67
|
-
return (0, _vatNumberValidateHelpers.MDAValidate)(value,
|
|
58
|
+
return (0, _vatNumberValidateHelpers.MDAValidate)(value, createError);
|
|
68
59
|
}
|
|
69
60
|
case 'AZE':
|
|
70
61
|
{
|
|
71
|
-
return (0, _vatNumberValidateHelpers.AZEValidate)(value,
|
|
62
|
+
return (0, _vatNumberValidateHelpers.AZEValidate)(value, createError);
|
|
72
63
|
}
|
|
73
64
|
case 'ARM':
|
|
74
65
|
{
|
|
75
|
-
return (0, _vatNumberValidateHelpers.ARMValidate)(value,
|
|
66
|
+
return (0, _vatNumberValidateHelpers.ARMValidate)(value, createError);
|
|
76
67
|
}
|
|
77
68
|
case 'UZB':
|
|
78
69
|
{
|
|
79
|
-
return (0, _vatNumberValidateHelpers.UZBValidate)(value,
|
|
70
|
+
return (0, _vatNumberValidateHelpers.UZBValidate)(value, createError);
|
|
80
71
|
}
|
|
81
72
|
case 'TJK':
|
|
82
73
|
{
|
|
83
|
-
return (0, _vatNumberValidateHelpers.TJKValidate)(value,
|
|
74
|
+
return (0, _vatNumberValidateHelpers.TJKValidate)(value, createError);
|
|
84
75
|
}
|
|
85
76
|
case 'KGZ':
|
|
86
77
|
{
|
|
87
|
-
return (0, _vatNumberValidateHelpers.KGZValidate)(value,
|
|
78
|
+
return (0, _vatNumberValidateHelpers.KGZValidate)(value, createError);
|
|
88
79
|
}
|
|
89
80
|
default:
|
|
90
|
-
return (0, _vatNumberValidateHelpers.RUSValidate)(value,
|
|
81
|
+
return (0, _vatNumberValidateHelpers.RUSValidate)(value, createError);
|
|
91
82
|
}
|
|
92
83
|
}
|
|
93
84
|
}, {
|
|
94
85
|
key: "taxRegistrationReasonCode",
|
|
95
|
-
value: function taxRegistrationReasonCode(value,
|
|
86
|
+
value: function taxRegistrationReasonCode(value, createError) {
|
|
96
87
|
if (value === '') {
|
|
97
88
|
return true;
|
|
98
89
|
}
|
|
99
90
|
if (value.length !== 9) {
|
|
100
|
-
return createError(
|
|
101
|
-
path: path,
|
|
102
|
-
message: 'КПП может состоять только из 9 знаков'
|
|
103
|
-
});
|
|
91
|
+
return createError('КПП может состоять только из 9 знаков');
|
|
104
92
|
}
|
|
105
93
|
if (!/^[0-9]{4}[0-9A-Z]{2}[0-9]{3}$/.test(value)) {
|
|
106
|
-
return createError(
|
|
107
|
-
path: path,
|
|
108
|
-
message: 'Неправильный формат КПП'
|
|
109
|
-
});
|
|
94
|
+
return createError('Неправильный формат КПП');
|
|
110
95
|
}
|
|
111
96
|
return true;
|
|
112
97
|
}
|
|
113
98
|
}, {
|
|
114
99
|
key: "registrationNumber",
|
|
115
|
-
value: function registrationNumber(value,
|
|
100
|
+
value: function registrationNumber(value, vatNumber, countryId, createError) {
|
|
116
101
|
if (!vatNumber || !countryId) {
|
|
117
102
|
// eslint-disable-next-line no-console
|
|
118
103
|
console.error('Form dont have vatNumber or countryId');
|
|
@@ -126,10 +111,7 @@ var Validate = exports.Validate = /*#__PURE__*/function () {
|
|
|
126
111
|
if (n13 === parseInt(value[12], 10)) {
|
|
127
112
|
return true;
|
|
128
113
|
} else {
|
|
129
|
-
return createError(
|
|
130
|
-
path: path,
|
|
131
|
-
message: 'Неправильное контрольное число'
|
|
132
|
-
});
|
|
114
|
+
return createError('Неправильное контрольное число');
|
|
133
115
|
}
|
|
134
116
|
}
|
|
135
117
|
if (value.length === 15 && vatNumber.length === _vatNumberValidateHelpers.LENGTH_VAT_NUMBER.RUS_INDIVIDUAL_ENTREPRENEUR) {
|
|
@@ -137,16 +119,10 @@ var Validate = exports.Validate = /*#__PURE__*/function () {
|
|
|
137
119
|
if (n15 === parseInt(value[14], 10)) {
|
|
138
120
|
return true;
|
|
139
121
|
} else {
|
|
140
|
-
return createError(
|
|
141
|
-
path: path,
|
|
142
|
-
message: 'Неправильное контрольное число'
|
|
143
|
-
});
|
|
122
|
+
return createError('Неправильное контрольное число');
|
|
144
123
|
}
|
|
145
124
|
}
|
|
146
|
-
return createError(
|
|
147
|
-
path: path,
|
|
148
|
-
message: 'ОГРН состоит из 13 или 15 знаков'
|
|
149
|
-
});
|
|
125
|
+
return createError('ОГРН состоит из 13 или 15 знаков');
|
|
150
126
|
}
|
|
151
127
|
return true;
|
|
152
128
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TCreateErrorFunc = (message: string) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { TCreateErrorFunc } from '../types';
|
|
2
2
|
export declare const LENGTH_VAT_NUMBER: {
|
|
3
3
|
RUS_INDIVIDUAL_ENTREPRENEUR: number;
|
|
4
4
|
RUS_LEGAL_ENTREPRENEUR: number;
|
|
@@ -12,12 +12,12 @@ export declare const LENGTH_VAT_NUMBER: {
|
|
|
12
12
|
TJK_VAT_NUMBER_LONG: number;
|
|
13
13
|
UZB_VAT_NUMBER: number;
|
|
14
14
|
};
|
|
15
|
-
export declare const BLRValidate: (value: string,
|
|
16
|
-
export declare const AZEValidate: (value: string,
|
|
17
|
-
export declare const MDAValidate: (value: string,
|
|
18
|
-
export declare const KAZValidate: (value: string,
|
|
19
|
-
export declare const ARMValidate: (value: string,
|
|
20
|
-
export declare const UZBValidate: (value: string,
|
|
21
|
-
export declare const TJKValidate: (value: string,
|
|
22
|
-
export declare const KGZValidate: (value: string,
|
|
23
|
-
export declare const RUSValidate: (value: string,
|
|
15
|
+
export declare const BLRValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
16
|
+
export declare const AZEValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
17
|
+
export declare const MDAValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
18
|
+
export declare const KAZValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
19
|
+
export declare const ARMValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
20
|
+
export declare const UZBValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
21
|
+
export declare const TJKValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
22
|
+
export declare const KGZValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
23
|
+
export declare const RUSValidate: (value: string, createError: TCreateErrorFunc) => any;
|
|
@@ -22,140 +22,92 @@ var checkDigitFunc = function checkDigitFunc(inn, coefficients, valueDigit) {
|
|
|
22
22
|
return sum + current * Number(inn[index]);
|
|
23
23
|
}, 0) % valueDigit;
|
|
24
24
|
};
|
|
25
|
-
var checkKaz = function checkKaz(value,
|
|
25
|
+
var checkKaz = function checkKaz(value, createError) {
|
|
26
26
|
var checkNumber = checkDigitFunc(value, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 11);
|
|
27
27
|
if (checkNumber === 10) {
|
|
28
28
|
var replyCheckNumber = checkDigitFunc(value, [3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2], 11);
|
|
29
29
|
if (replyCheckNumber === 10 || replyCheckNumber !== Number(value[11])) {
|
|
30
|
-
return createError(
|
|
31
|
-
path: path,
|
|
32
|
-
message: 'Неверное контрольное число'
|
|
33
|
-
});
|
|
30
|
+
return createError('Неверное контрольное число');
|
|
34
31
|
}
|
|
35
32
|
return true;
|
|
36
33
|
}
|
|
37
34
|
if (checkNumber !== Number(value[11])) {
|
|
38
|
-
return createError(
|
|
39
|
-
path: path,
|
|
40
|
-
message: 'Неверное контрольное число'
|
|
41
|
-
});
|
|
35
|
+
return createError('Неверное контрольное число');
|
|
42
36
|
}
|
|
43
37
|
return true;
|
|
44
38
|
};
|
|
45
|
-
var BLRValidate = exports.BLRValidate = function BLRValidate(value,
|
|
39
|
+
var BLRValidate = exports.BLRValidate = function BLRValidate(value, createError) {
|
|
46
40
|
if (value.length !== LENGTH_VAT_NUMBER.BLR_VAT_NUMBER) {
|
|
47
|
-
return createError(
|
|
48
|
-
path: path,
|
|
49
|
-
message: 'УНБ должен состоять из 9 цифр'
|
|
50
|
-
});
|
|
41
|
+
return createError('УНБ должен состоять из 9 цифр');
|
|
51
42
|
}
|
|
52
43
|
if (checkDigitFunc(value, [29, 23, 19, 17, 13, 7, 5, 3], 11) === Number(value[8])) {
|
|
53
44
|
return true;
|
|
54
45
|
}
|
|
55
|
-
return createError(
|
|
56
|
-
path: path,
|
|
57
|
-
message: 'Неверное контрольное число'
|
|
58
|
-
});
|
|
46
|
+
return createError('Неверное контрольное число');
|
|
59
47
|
};
|
|
60
|
-
var AZEValidate = exports.AZEValidate = function AZEValidate(value,
|
|
48
|
+
var AZEValidate = exports.AZEValidate = function AZEValidate(value, createError) {
|
|
61
49
|
if (value.length !== LENGTH_VAT_NUMBER.AZE_VAT_NUMBER) {
|
|
62
|
-
return createError(
|
|
63
|
-
path: path,
|
|
64
|
-
message: 'ИНН должен состоять из 10 цифр'
|
|
65
|
-
});
|
|
50
|
+
return createError('ИНН должен состоять из 10 цифр');
|
|
66
51
|
}
|
|
67
52
|
if (Number(value[value.length - 1]) === 1) {
|
|
68
53
|
return true;
|
|
69
54
|
}
|
|
70
|
-
return createError(
|
|
71
|
-
path: path,
|
|
72
|
-
message: 'Неверное контрольное число'
|
|
73
|
-
});
|
|
55
|
+
return createError('Неверное контрольное число');
|
|
74
56
|
};
|
|
75
|
-
var MDAValidate = exports.MDAValidate = function MDAValidate(value,
|
|
57
|
+
var MDAValidate = exports.MDAValidate = function MDAValidate(value, createError) {
|
|
76
58
|
if (value.length !== LENGTH_VAT_NUMBER.MDA_VAT_NUMBER) {
|
|
77
|
-
return createError(
|
|
78
|
-
path: path,
|
|
79
|
-
message: 'IDNO должен состоять из 13 цифр'
|
|
80
|
-
});
|
|
59
|
+
return createError('IDNO должен состоять из 13 цифр');
|
|
81
60
|
}
|
|
82
61
|
if (Number(value[0]) === 1 && checkDigitFunc(value, [7, 3, 1, 7, 3, 1, 7, 3, 1, 7, 3, 1], 10) === Number(value[12])) {
|
|
83
62
|
return true;
|
|
84
63
|
}
|
|
85
|
-
return createError(
|
|
86
|
-
path: path,
|
|
87
|
-
message: 'Неверное контрольное число'
|
|
88
|
-
});
|
|
64
|
+
return createError('Неверное контрольное число');
|
|
89
65
|
};
|
|
90
|
-
var KAZValidate = exports.KAZValidate = function KAZValidate(value,
|
|
66
|
+
var KAZValidate = exports.KAZValidate = function KAZValidate(value, createError) {
|
|
91
67
|
if (value.length !== LENGTH_VAT_NUMBER.KAZ_VAT_NUMBER) {
|
|
92
|
-
return createError(
|
|
93
|
-
path: path,
|
|
94
|
-
message: 'ИИН/БИН должен состоять из 12 цифр'
|
|
95
|
-
});
|
|
68
|
+
return createError('ИИН/БИН должен состоять из 12 цифр');
|
|
96
69
|
}
|
|
97
70
|
var iinFourthValue = ['0', '1', '2', '3'];
|
|
98
71
|
var binFourthValue = ['4', '5', '6'];
|
|
99
72
|
if (iinFourthValue.includes(value[4])) {
|
|
100
73
|
var centuryBirthdayCode = value[6];
|
|
101
74
|
if (Number(centuryBirthdayCode) > 6 || Number(value.substring(2, 3)) > 12 || Number(value.substring(0, 1)) > 31) {
|
|
102
|
-
return createError(
|
|
103
|
-
path: path,
|
|
104
|
-
message: 'Неверное контрольное число'
|
|
105
|
-
});
|
|
75
|
+
return createError('Неверное контрольное число');
|
|
106
76
|
}
|
|
107
|
-
return checkKaz(value,
|
|
77
|
+
return checkKaz(value, createError);
|
|
108
78
|
}
|
|
109
79
|
if (binFourthValue.includes(value[4])) {
|
|
110
|
-
return checkKaz(value,
|
|
80
|
+
return checkKaz(value, createError);
|
|
111
81
|
}
|
|
112
|
-
return createError(
|
|
113
|
-
path: path,
|
|
114
|
-
message: 'Неверное контрольное число'
|
|
115
|
-
});
|
|
82
|
+
return createError('Неверное контрольное число');
|
|
116
83
|
};
|
|
117
|
-
var ARMValidate = exports.ARMValidate = function ARMValidate(value,
|
|
84
|
+
var ARMValidate = exports.ARMValidate = function ARMValidate(value, createError) {
|
|
118
85
|
if (value.length !== LENGTH_VAT_NUMBER.ARM_VAT_NUMBER) {
|
|
119
|
-
return createError(
|
|
120
|
-
path: path,
|
|
121
|
-
message: 'УНН должен состоять из 8 цифр'
|
|
122
|
-
});
|
|
86
|
+
return createError('УНН должен состоять из 8 цифр');
|
|
123
87
|
}
|
|
124
88
|
return true;
|
|
125
89
|
};
|
|
126
|
-
var UZBValidate = exports.UZBValidate = function UZBValidate(value,
|
|
90
|
+
var UZBValidate = exports.UZBValidate = function UZBValidate(value, createError) {
|
|
127
91
|
if (value.length !== LENGTH_VAT_NUMBER.UZB_VAT_NUMBER) {
|
|
128
|
-
return createError(
|
|
129
|
-
path: path,
|
|
130
|
-
message: 'ИНН должен состоять из 9 цифр'
|
|
131
|
-
});
|
|
92
|
+
return createError('ИНН должен состоять из 9 цифр');
|
|
132
93
|
}
|
|
133
94
|
return true;
|
|
134
95
|
};
|
|
135
|
-
var TJKValidate = exports.TJKValidate = function TJKValidate(value,
|
|
96
|
+
var TJKValidate = exports.TJKValidate = function TJKValidate(value, createError) {
|
|
136
97
|
if (value.length !== LENGTH_VAT_NUMBER.TJK_VAT_NUMBER_LONG && value.length !== LENGTH_VAT_NUMBER.TJK_VAT_NUMBER_SHORT) {
|
|
137
|
-
return createError(
|
|
138
|
-
path: path,
|
|
139
|
-
message: 'ИНН должен состоять из 9 или 10 цифр'
|
|
140
|
-
});
|
|
98
|
+
return createError('ИНН должен состоять из 9 или 10 цифр');
|
|
141
99
|
}
|
|
142
100
|
return true;
|
|
143
101
|
};
|
|
144
|
-
var KGZValidate = exports.KGZValidate = function KGZValidate(value,
|
|
102
|
+
var KGZValidate = exports.KGZValidate = function KGZValidate(value, createError) {
|
|
145
103
|
if (value.length !== LENGTH_VAT_NUMBER.KGZ_VAT_NUMBER) {
|
|
146
|
-
return createError(
|
|
147
|
-
path: path,
|
|
148
|
-
message: 'ИНН должен состоять из 14 цифр'
|
|
149
|
-
});
|
|
104
|
+
return createError('ИНН должен состоять из 14 цифр');
|
|
150
105
|
}
|
|
151
106
|
return true;
|
|
152
107
|
};
|
|
153
|
-
var RUSValidate = exports.RUSValidate = function RUSValidate(value,
|
|
108
|
+
var RUSValidate = exports.RUSValidate = function RUSValidate(value, createError) {
|
|
154
109
|
if ([LENGTH_VAT_NUMBER.RUS_LEGAL_ENTREPRENEUR, LENGTH_VAT_NUMBER.RUS_INDIVIDUAL_ENTREPRENEUR].indexOf(value.length) === -1) {
|
|
155
|
-
return createError(
|
|
156
|
-
path: path,
|
|
157
|
-
message: 'ИНН должен состоять из 10 или 12 цифр'
|
|
158
|
-
});
|
|
110
|
+
return createError('ИНН должен состоять из 10 или 12 цифр');
|
|
159
111
|
} else {
|
|
160
112
|
switch (value.length) {
|
|
161
113
|
case LENGTH_VAT_NUMBER.RUS_LEGAL_ENTREPRENEUR:
|
|
@@ -176,14 +128,8 @@ var RUSValidate = exports.RUSValidate = function RUSValidate(value, path, create
|
|
|
176
128
|
break;
|
|
177
129
|
}
|
|
178
130
|
default:
|
|
179
|
-
return createError(
|
|
180
|
-
path: path,
|
|
181
|
-
message: 'Неверное контрольное число'
|
|
182
|
-
});
|
|
131
|
+
return createError('Неверное контрольное число');
|
|
183
132
|
}
|
|
184
|
-
return createError(
|
|
185
|
-
path: path,
|
|
186
|
-
message: 'Неверное контрольное число'
|
|
187
|
-
});
|
|
133
|
+
return createError('Неверное контрольное число');
|
|
188
134
|
}
|
|
189
135
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@invoicebox/ui",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.155",
|
|
4
4
|
"description": "Invoicebox UI",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"scripts": {
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": "^18.2.0",
|
|
66
|
-
"styled-components": "^6.1.8"
|
|
67
|
-
"yup": "^0.32.11"
|
|
66
|
+
"styled-components": "^6.1.8"
|
|
68
67
|
},
|
|
69
68
|
"engines": {
|
|
70
69
|
"node": ">=16.0.0"
|