@blateral/b.kit 2.0.0-beta.8.0 → 2.0.0-beta.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/base/icons/Language.d.ts +7 -0
- package/lib/components/base/icons/Language.d.ts.map +1 -0
- package/lib/components/blocks/Alert.d.ts.map +1 -1
- package/lib/components/blocks/JobCard.d.ts +3 -0
- package/lib/components/blocks/JobCard.d.ts.map +1 -1
- package/lib/components/blocks/LanguageSwitcher.d.ts +2 -1
- package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -1
- package/lib/components/blocks/SocialList.d.ts.map +1 -1
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/buttons/Button.d.ts.map +1 -1
- package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
- package/lib/components/buttons/QuicknavButton.d.ts.map +1 -1
- package/lib/components/fields/Checkbox.d.ts.map +1 -1
- package/lib/components/fields/CompactForm.d.ts.map +1 -1
- package/lib/components/fields/Datepicker.d.ts.map +1 -1
- package/lib/components/fields/Radio.d.ts.map +1 -1
- package/lib/components/fields/SearchInput.d.ts.map +1 -1
- package/lib/components/sections/FooterNew.d.ts +33 -0
- package/lib/components/sections/FooterNew.d.ts.map +1 -0
- package/lib/components/sections/SocialNav.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts.map +1 -1
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -1
- package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -1
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/components/typography/Link.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/sections/Form.d.ts +0 -76
- package/lib/components/sections/Form.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { FormProps } from "../fields/Textfield";
|
|
3
|
-
export interface FormData {
|
|
4
|
-
name?: string;
|
|
5
|
-
surname?: string;
|
|
6
|
-
mail?: string;
|
|
7
|
-
phone?: string;
|
|
8
|
-
area?: string;
|
|
9
|
-
check?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare type FormFieldProps = Omit<FormProps, 'value' | 'name' | 'errorMessage'>;
|
|
12
|
-
export declare type FormDataErrors = {
|
|
13
|
-
[key in keyof FormData]: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const FormComponent: React.FC<{
|
|
16
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
17
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
18
|
-
submitAction?: ((props: {
|
|
19
|
-
isInverted?: boolean;
|
|
20
|
-
additionalProps: {
|
|
21
|
-
type: 'submit';
|
|
22
|
-
as: 'button' | 'a';
|
|
23
|
-
};
|
|
24
|
-
isDisabled?: boolean;
|
|
25
|
-
}) => React.ReactNode) | undefined;
|
|
26
|
-
onSubmit?: ((data: FormData) => void) | undefined;
|
|
27
|
-
validation?: ((values: FormData, errors: FormDataErrors) => FormDataErrors) | undefined;
|
|
28
|
-
yupValidationSchema?: any;
|
|
29
|
-
bgMode?: "full" | "inverted" | undefined;
|
|
30
|
-
formFields: {
|
|
31
|
-
name?: FormFieldProps;
|
|
32
|
-
surname?: FormFieldProps;
|
|
33
|
-
mail?: FormFieldProps;
|
|
34
|
-
phone?: FormFieldProps;
|
|
35
|
-
area?: FormFieldProps;
|
|
36
|
-
};
|
|
37
|
-
checkbox?: {
|
|
38
|
-
label?: string | undefined;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
value?: string | undefined;
|
|
41
|
-
isDisabled?: boolean | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
declare const _default: React.FC<{
|
|
45
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
46
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
47
|
-
submitAction?: ((props: {
|
|
48
|
-
isInverted?: boolean | undefined;
|
|
49
|
-
additionalProps: {
|
|
50
|
-
type: "submit";
|
|
51
|
-
as: "a" | "button";
|
|
52
|
-
};
|
|
53
|
-
isDisabled?: boolean | undefined;
|
|
54
|
-
}) => React.ReactNode) | undefined;
|
|
55
|
-
onSubmit?: ((data: FormData) => void) | undefined;
|
|
56
|
-
validation?: ((values: FormData, errors: FormDataErrors) => FormDataErrors) | undefined;
|
|
57
|
-
yupValidationSchema?: any;
|
|
58
|
-
bgMode?: "full" | "inverted" | undefined;
|
|
59
|
-
formFields: {
|
|
60
|
-
name?: FormFieldProps | undefined;
|
|
61
|
-
surname?: FormFieldProps | undefined;
|
|
62
|
-
mail?: FormFieldProps | undefined;
|
|
63
|
-
phone?: FormFieldProps | undefined;
|
|
64
|
-
area?: FormFieldProps | undefined;
|
|
65
|
-
};
|
|
66
|
-
checkbox?: {
|
|
67
|
-
label?: string | undefined;
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
value?: string | undefined;
|
|
70
|
-
isDisabled?: boolean | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
} & {
|
|
73
|
-
theme?: import("../../utils/LibThemeProvider").RecursivePartial<import("styled-components").DefaultTheme> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
export default _default;
|
|
76
|
-
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAkB,EAAE,SAAS,EAAE,4BAAoC;AA4CnE,MA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