@blateral/b.kit 0.10.24 → 0.10.25
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/AngleDown.d.ts +7 -0
- package/lib/components/base/icons/AngleDown.d.ts.map +1 -0
- package/lib/components/base/icons/AngleUp.d.ts +7 -0
- package/lib/components/base/icons/AngleUp.d.ts.map +1 -0
- package/lib/components/base/icons/External.d.ts +7 -0
- package/lib/components/base/icons/External.d.ts.map +1 -0
- package/lib/components/base/icons/Minus.d.ts +7 -0
- package/lib/components/base/icons/Minus.d.ts.map +1 -0
- package/lib/components/base/icons/Plus.d.ts +7 -0
- package/lib/components/base/icons/Plus.d.ts.map +1 -0
- package/lib/components/blocks/IntroBlock.d.ts +20 -0
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -0
- package/lib/components/buttons/QuicknavButton.d.ts +10 -0
- package/lib/components/buttons/QuicknavButton.d.ts.map +1 -0
- package/lib/components/fields/Datepicker.d.ts +28 -0
- package/lib/components/fields/Datepicker.d.ts.map +1 -0
- package/lib/components/fields/FileUpload.d.ts +12 -0
- package/lib/components/fields/FileUpload.d.ts.map +1 -0
- package/lib/components/fields/Radio.d.ts +14 -0
- package/lib/components/fields/Radio.d.ts.map +1 -0
- package/lib/components/fields/SelectDropdown.d.ts +24 -0
- package/lib/components/fields/SelectDropdown.d.ts.map +1 -0
- package/lib/components/sections/Accordion.d.ts +349 -0
- package/lib/components/sections/Accordion.d.ts.map +1 -0
- package/lib/components/sections/CallToActionDouble.d.ts +385 -0
- package/lib/components/sections/CallToActionDouble.d.ts.map +1 -0
- package/lib/components/sections/DynamicForm.d.ts +483 -0
- package/lib/components/sections/DynamicForm.d.ts.map +1 -0
- package/lib/components/sections/Intro.d.ts +360 -0
- package/lib/components/sections/Intro.d.ts.map +1 -0
- package/lib/components/sections/NumberList.d.ts +342 -0
- package/lib/components/sections/NumberList.d.ts.map +1 -0
- package/lib/components/sections/ParallaxBackground.d.ts +13 -0
- package/lib/components/sections/ParallaxBackground.d.ts.map +1 -0
- package/lib/components/sections/PriceList.d.ts +343 -0
- package/lib/components/sections/PriceList.d.ts.map +1 -0
- package/lib/components/sections/Quicknav.d.ts +349 -0
- package/lib/components/sections/Quicknav.d.ts.map +1 -0
- package/lib/components/sections/SocialNav.d.ts +343 -0
- package/lib/components/sections/SocialNav.d.ts.map +1 -0
- package/lib/components/sections/SocialWall.d.ts +356 -0
- package/lib/components/sections/SocialWall.d.ts.map +1 -0
- package/lib/components/sections/Timeline.d.ts +345 -0
- package/lib/components/sections/Timeline.d.ts.map +1 -0
- package/lib/components/sections/header/Header.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/lib/utils/clamp.d.ts +2 -0
- package/lib/utils/clamp.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
3
|
+
import { Field, FormikErrors } from 'formik';
|
|
4
|
+
import Datepicker from "../fields/Datepicker";
|
|
5
|
+
export interface FormStructure {
|
|
6
|
+
[key: string]: Field | Area | Select | Datepicker | FieldGroup | FileUpload;
|
|
7
|
+
}
|
|
8
|
+
export interface FormField {
|
|
9
|
+
isRequired?: boolean;
|
|
10
|
+
column?: 'left' | 'right';
|
|
11
|
+
}
|
|
12
|
+
export interface Field extends FormField {
|
|
13
|
+
type: 'Field';
|
|
14
|
+
inputType?: 'text' | 'number' | 'email' | 'password' | 'tel';
|
|
15
|
+
initialValue?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
info?: string;
|
|
18
|
+
icon?: {
|
|
19
|
+
src: string;
|
|
20
|
+
alt?: string;
|
|
21
|
+
};
|
|
22
|
+
validate?: (value: string, config: Field) => Promise<string>;
|
|
23
|
+
errorMsg?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface Area extends FormField {
|
|
26
|
+
type: 'Area';
|
|
27
|
+
initialValue?: string;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
info?: string;
|
|
30
|
+
validate?: (value: string, config: Area) => Promise<string>;
|
|
31
|
+
errorMsg?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface Select extends FormField {
|
|
34
|
+
type: 'Select';
|
|
35
|
+
initialValue?: string;
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
dropdownItems: {
|
|
38
|
+
value?: string;
|
|
39
|
+
label?: string;
|
|
40
|
+
}[];
|
|
41
|
+
info?: string;
|
|
42
|
+
icon?: {
|
|
43
|
+
src: string;
|
|
44
|
+
alt?: string;
|
|
45
|
+
};
|
|
46
|
+
validate?: (value: string, config: Select) => Promise<string>;
|
|
47
|
+
errorMsg?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface Datepicker extends FormField {
|
|
50
|
+
type: 'Datepicker';
|
|
51
|
+
initialDates?: [Date, Date];
|
|
52
|
+
placeholder?: string;
|
|
53
|
+
minDate?: Date;
|
|
54
|
+
maxDate?: Date;
|
|
55
|
+
singleSelect?: boolean;
|
|
56
|
+
icon?: {
|
|
57
|
+
src: string;
|
|
58
|
+
alt?: string;
|
|
59
|
+
};
|
|
60
|
+
info?: string;
|
|
61
|
+
singleDateError?: string;
|
|
62
|
+
multiDateError?: string;
|
|
63
|
+
nextCtrlUrl?: React.ReactNode;
|
|
64
|
+
prevCtrlUrl?: React.ReactNode;
|
|
65
|
+
validate?: (value: [Date | null, Date | null], config: Datepicker) => Promise<string>;
|
|
66
|
+
deleteAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
|
|
67
|
+
submitAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
|
|
68
|
+
}
|
|
69
|
+
export interface FieldGroup extends FormField {
|
|
70
|
+
type: 'FieldGroup';
|
|
71
|
+
groupType: 'Radio' | 'Checkbox';
|
|
72
|
+
fields: Array<{
|
|
73
|
+
initialChecked?: boolean;
|
|
74
|
+
text?: string;
|
|
75
|
+
}>;
|
|
76
|
+
validate?: (value: Array<string> | string, config: FieldGroup) => Promise<string>;
|
|
77
|
+
errorMsg?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface FileUpload extends FormField {
|
|
80
|
+
type: 'Upload';
|
|
81
|
+
addBtnLabel?: string;
|
|
82
|
+
removeBtnLabel?: string;
|
|
83
|
+
info?: string;
|
|
84
|
+
acceptedFormats?: string;
|
|
85
|
+
validate?: (value: Array<File>, config: FileUpload) => Promise<string>;
|
|
86
|
+
errorMsg?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface FormData {
|
|
89
|
+
[key: string]: FormDataTypes | string;
|
|
90
|
+
}
|
|
91
|
+
export declare type FormDataTypes = string | boolean | Array<string> | [Date | null, Date | null] | Array<File>;
|
|
92
|
+
declare type FieldTypes = Field | Area | Select | Datepicker | FieldGroup | FileUpload;
|
|
93
|
+
export interface FieldGenerationProps<T extends FieldTypes> {
|
|
94
|
+
field: T;
|
|
95
|
+
value: FormDataTypes;
|
|
96
|
+
error: string;
|
|
97
|
+
isTouched: boolean;
|
|
98
|
+
key: string;
|
|
99
|
+
isInverted: boolean;
|
|
100
|
+
hasBg: boolean;
|
|
101
|
+
theme: DefaultTheme;
|
|
102
|
+
setField: (field: string, value: any, shouldValidate?: boolean | undefined) => Promise<void> | Promise<FormikErrors<FormData>>;
|
|
103
|
+
validateField: (name: string) => Promise<string | undefined> | Promise<void>;
|
|
104
|
+
setTouched: (field: string, touched?: boolean | undefined, shouldValidate?: boolean | undefined) => Promise<void> | Promise<FormikErrors<FormData>>;
|
|
105
|
+
handleChange: {
|
|
106
|
+
(e: React.ChangeEvent<any>): void;
|
|
107
|
+
<T_1 = string | React.ChangeEvent<any>>(field: T_1): T_1 extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
|
|
108
|
+
};
|
|
109
|
+
handleBlur: {
|
|
110
|
+
(e: React.FocusEvent<any>): void;
|
|
111
|
+
<T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
export declare const DynamicFormComponent: React.FC<{
|
|
115
|
+
fields?: FormStructure | undefined;
|
|
116
|
+
onSubmit?: ((values: FormData) => Promise<void>) | undefined;
|
|
117
|
+
submitAction?: ((props: {
|
|
118
|
+
isInverted?: boolean;
|
|
119
|
+
handleSubmit?: () => Promise<any>;
|
|
120
|
+
isDisabled?: boolean;
|
|
121
|
+
}) => React.ReactNode) | undefined;
|
|
122
|
+
targetEmails?: string | undefined;
|
|
123
|
+
subjectLine?: string | undefined;
|
|
124
|
+
bgMode?: "full" | "inverted" | undefined;
|
|
125
|
+
definitions?: {
|
|
126
|
+
field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
|
|
127
|
+
area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
|
|
128
|
+
select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
|
|
129
|
+
datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
|
|
130
|
+
checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
131
|
+
radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
132
|
+
upload?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}>;
|
|
135
|
+
declare const _default: React.FC<{
|
|
136
|
+
fields?: FormStructure | undefined;
|
|
137
|
+
onSubmit?: ((values: FormData) => Promise<void>) | undefined;
|
|
138
|
+
submitAction?: ((props: {
|
|
139
|
+
isInverted?: boolean | undefined;
|
|
140
|
+
handleSubmit?: (() => Promise<any>) | undefined;
|
|
141
|
+
isDisabled?: boolean | undefined;
|
|
142
|
+
}) => React.ReactNode) | undefined;
|
|
143
|
+
targetEmails?: string | undefined;
|
|
144
|
+
subjectLine?: string | undefined;
|
|
145
|
+
bgMode?: "full" | "inverted" | undefined;
|
|
146
|
+
definitions?: {
|
|
147
|
+
field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
|
|
148
|
+
area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
|
|
149
|
+
select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
|
|
150
|
+
datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
|
|
151
|
+
checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
152
|
+
radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
153
|
+
upload?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
|
|
154
|
+
} | undefined;
|
|
155
|
+
} & {
|
|
156
|
+
theme?: {
|
|
157
|
+
colors?: {
|
|
158
|
+
dark?: string | undefined;
|
|
159
|
+
light?: string | undefined;
|
|
160
|
+
mono?: {
|
|
161
|
+
light?: string | undefined;
|
|
162
|
+
medium?: string | undefined;
|
|
163
|
+
dark?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
primary?: {
|
|
166
|
+
light?: string | undefined;
|
|
167
|
+
medium?: string | undefined;
|
|
168
|
+
dark?: string | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
secondary?: {
|
|
171
|
+
light?: string | undefined;
|
|
172
|
+
medium?: string | undefined;
|
|
173
|
+
dark?: string | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
tertiary?: {
|
|
176
|
+
light?: string | undefined;
|
|
177
|
+
medium?: string | undefined;
|
|
178
|
+
dark?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
error?: string | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
fonts?: {
|
|
183
|
+
base?: {
|
|
184
|
+
family?: string | undefined;
|
|
185
|
+
weight?: string | undefined;
|
|
186
|
+
style?: string | undefined;
|
|
187
|
+
lineHeight?: string | undefined;
|
|
188
|
+
letterSpacing?: string | undefined;
|
|
189
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
190
|
+
textTransform?: string | undefined;
|
|
191
|
+
color?: string | undefined;
|
|
192
|
+
colorInverted?: string | undefined;
|
|
193
|
+
colorGradient?: string | undefined;
|
|
194
|
+
colorGradientInverted?: string | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
types?: {
|
|
197
|
+
copy?: {
|
|
198
|
+
small?: {
|
|
199
|
+
family?: string | undefined;
|
|
200
|
+
weight?: string | undefined;
|
|
201
|
+
style?: string | undefined;
|
|
202
|
+
lineHeight?: string | undefined;
|
|
203
|
+
letterSpacing?: string | undefined;
|
|
204
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
205
|
+
textTransform?: string | undefined;
|
|
206
|
+
color?: string | undefined;
|
|
207
|
+
colorInverted?: string | undefined;
|
|
208
|
+
colorGradient?: string | undefined;
|
|
209
|
+
colorGradientInverted?: string | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
medium?: {
|
|
212
|
+
family?: string | undefined;
|
|
213
|
+
weight?: string | undefined;
|
|
214
|
+
style?: string | undefined;
|
|
215
|
+
lineHeight?: string | undefined;
|
|
216
|
+
letterSpacing?: string | undefined;
|
|
217
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
218
|
+
textTransform?: string | undefined;
|
|
219
|
+
color?: string | undefined;
|
|
220
|
+
colorInverted?: string | undefined;
|
|
221
|
+
colorGradient?: string | undefined;
|
|
222
|
+
colorGradientInverted?: string | undefined;
|
|
223
|
+
} | undefined;
|
|
224
|
+
big?: {
|
|
225
|
+
family?: string | undefined;
|
|
226
|
+
weight?: string | undefined;
|
|
227
|
+
style?: string | undefined;
|
|
228
|
+
lineHeight?: string | undefined;
|
|
229
|
+
letterSpacing?: string | undefined;
|
|
230
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
231
|
+
textTransform?: string | undefined;
|
|
232
|
+
color?: string | undefined;
|
|
233
|
+
colorInverted?: string | undefined;
|
|
234
|
+
colorGradient?: string | undefined;
|
|
235
|
+
colorGradientInverted?: string | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
'copy-i'?: {
|
|
239
|
+
small?: {
|
|
240
|
+
family?: string | undefined;
|
|
241
|
+
weight?: string | undefined;
|
|
242
|
+
style?: string | undefined;
|
|
243
|
+
lineHeight?: string | undefined;
|
|
244
|
+
letterSpacing?: string | undefined;
|
|
245
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
246
|
+
textTransform?: string | undefined;
|
|
247
|
+
color?: string | undefined;
|
|
248
|
+
colorInverted?: string | undefined;
|
|
249
|
+
colorGradient?: string | undefined;
|
|
250
|
+
colorGradientInverted?: string | undefined;
|
|
251
|
+
} | undefined;
|
|
252
|
+
medium?: {
|
|
253
|
+
family?: string | undefined;
|
|
254
|
+
weight?: string | undefined;
|
|
255
|
+
style?: string | undefined;
|
|
256
|
+
lineHeight?: string | undefined;
|
|
257
|
+
letterSpacing?: string | undefined;
|
|
258
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
259
|
+
textTransform?: string | undefined;
|
|
260
|
+
color?: string | undefined;
|
|
261
|
+
colorInverted?: string | undefined;
|
|
262
|
+
colorGradient?: string | undefined;
|
|
263
|
+
colorGradientInverted?: string | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
big?: {
|
|
266
|
+
family?: string | undefined;
|
|
267
|
+
weight?: string | undefined;
|
|
268
|
+
style?: string | undefined;
|
|
269
|
+
lineHeight?: string | undefined;
|
|
270
|
+
letterSpacing?: string | undefined;
|
|
271
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
272
|
+
textTransform?: string | undefined;
|
|
273
|
+
color?: string | undefined;
|
|
274
|
+
colorInverted?: string | undefined;
|
|
275
|
+
colorGradient?: string | undefined;
|
|
276
|
+
colorGradientInverted?: string | undefined;
|
|
277
|
+
} | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
'copy-b'?: {
|
|
280
|
+
small?: {
|
|
281
|
+
family?: string | undefined;
|
|
282
|
+
weight?: string | undefined;
|
|
283
|
+
style?: string | undefined;
|
|
284
|
+
lineHeight?: string | undefined;
|
|
285
|
+
letterSpacing?: string | undefined;
|
|
286
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
287
|
+
textTransform?: string | undefined;
|
|
288
|
+
color?: string | undefined;
|
|
289
|
+
colorInverted?: string | undefined;
|
|
290
|
+
colorGradient?: string | undefined;
|
|
291
|
+
colorGradientInverted?: string | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
medium?: {
|
|
294
|
+
family?: string | undefined;
|
|
295
|
+
weight?: string | undefined;
|
|
296
|
+
style?: string | undefined;
|
|
297
|
+
lineHeight?: string | undefined;
|
|
298
|
+
letterSpacing?: string | undefined;
|
|
299
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
300
|
+
textTransform?: string | undefined;
|
|
301
|
+
color?: string | undefined;
|
|
302
|
+
colorInverted?: string | undefined;
|
|
303
|
+
colorGradient?: string | undefined;
|
|
304
|
+
colorGradientInverted?: string | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
big?: {
|
|
307
|
+
family?: string | undefined;
|
|
308
|
+
weight?: string | undefined;
|
|
309
|
+
style?: string | undefined;
|
|
310
|
+
lineHeight?: string | undefined;
|
|
311
|
+
letterSpacing?: string | undefined;
|
|
312
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
313
|
+
textTransform?: string | undefined;
|
|
314
|
+
color?: string | undefined;
|
|
315
|
+
colorInverted?: string | undefined;
|
|
316
|
+
colorGradient?: string | undefined;
|
|
317
|
+
colorGradientInverted?: string | undefined;
|
|
318
|
+
} | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
super?: {
|
|
321
|
+
family?: string | undefined;
|
|
322
|
+
weight?: string | undefined;
|
|
323
|
+
style?: string | undefined;
|
|
324
|
+
lineHeight?: string | undefined;
|
|
325
|
+
letterSpacing?: string | undefined;
|
|
326
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
327
|
+
textTransform?: string | undefined;
|
|
328
|
+
color?: string | undefined;
|
|
329
|
+
colorInverted?: string | undefined;
|
|
330
|
+
colorGradient?: string | undefined;
|
|
331
|
+
colorGradientInverted?: string | undefined;
|
|
332
|
+
} | undefined;
|
|
333
|
+
'heading-1'?: {
|
|
334
|
+
family?: string | undefined;
|
|
335
|
+
weight?: string | undefined;
|
|
336
|
+
style?: string | undefined;
|
|
337
|
+
lineHeight?: string | undefined;
|
|
338
|
+
letterSpacing?: string | undefined;
|
|
339
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
340
|
+
textTransform?: string | undefined;
|
|
341
|
+
color?: string | undefined;
|
|
342
|
+
colorInverted?: string | undefined;
|
|
343
|
+
colorGradient?: string | undefined;
|
|
344
|
+
colorGradientInverted?: string | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
'heading-2'?: {
|
|
347
|
+
family?: string | undefined;
|
|
348
|
+
weight?: string | undefined;
|
|
349
|
+
style?: string | undefined;
|
|
350
|
+
lineHeight?: string | undefined;
|
|
351
|
+
letterSpacing?: string | undefined;
|
|
352
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
353
|
+
textTransform?: string | undefined;
|
|
354
|
+
color?: string | undefined;
|
|
355
|
+
colorInverted?: string | undefined;
|
|
356
|
+
colorGradient?: string | undefined;
|
|
357
|
+
colorGradientInverted?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
'heading-3'?: {
|
|
360
|
+
family?: string | undefined;
|
|
361
|
+
weight?: string | undefined;
|
|
362
|
+
style?: string | undefined;
|
|
363
|
+
lineHeight?: string | undefined;
|
|
364
|
+
letterSpacing?: string | undefined;
|
|
365
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
366
|
+
textTransform?: string | undefined;
|
|
367
|
+
color?: string | undefined;
|
|
368
|
+
colorInverted?: string | undefined;
|
|
369
|
+
colorGradient?: string | undefined;
|
|
370
|
+
colorGradientInverted?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
'heading-4'?: {
|
|
373
|
+
family?: string | undefined;
|
|
374
|
+
weight?: string | undefined;
|
|
375
|
+
style?: string | undefined;
|
|
376
|
+
lineHeight?: string | undefined;
|
|
377
|
+
letterSpacing?: string | undefined;
|
|
378
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
379
|
+
textTransform?: string | undefined;
|
|
380
|
+
color?: string | undefined;
|
|
381
|
+
colorInverted?: string | undefined;
|
|
382
|
+
colorGradient?: string | undefined;
|
|
383
|
+
colorGradientInverted?: string | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
label?: {
|
|
386
|
+
small?: {
|
|
387
|
+
family?: string | undefined;
|
|
388
|
+
weight?: string | undefined;
|
|
389
|
+
style?: string | undefined;
|
|
390
|
+
lineHeight?: string | undefined;
|
|
391
|
+
letterSpacing?: string | undefined;
|
|
392
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
393
|
+
textTransform?: string | undefined;
|
|
394
|
+
color?: string | undefined;
|
|
395
|
+
colorInverted?: string | undefined;
|
|
396
|
+
colorGradient?: string | undefined;
|
|
397
|
+
colorGradientInverted?: string | undefined;
|
|
398
|
+
} | undefined;
|
|
399
|
+
medium?: {
|
|
400
|
+
family?: string | undefined;
|
|
401
|
+
weight?: string | undefined;
|
|
402
|
+
style?: string | undefined;
|
|
403
|
+
lineHeight?: string | undefined;
|
|
404
|
+
letterSpacing?: string | undefined;
|
|
405
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
406
|
+
textTransform?: string | undefined;
|
|
407
|
+
color?: string | undefined;
|
|
408
|
+
colorInverted?: string | undefined;
|
|
409
|
+
colorGradient?: string | undefined;
|
|
410
|
+
colorGradientInverted?: string | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
big?: {
|
|
413
|
+
family?: string | undefined;
|
|
414
|
+
weight?: string | undefined;
|
|
415
|
+
style?: string | undefined;
|
|
416
|
+
lineHeight?: string | undefined;
|
|
417
|
+
letterSpacing?: string | undefined;
|
|
418
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
419
|
+
textTransform?: string | undefined;
|
|
420
|
+
color?: string | undefined;
|
|
421
|
+
colorInverted?: string | undefined;
|
|
422
|
+
colorGradient?: string | undefined;
|
|
423
|
+
colorGradientInverted?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
callout?: {
|
|
427
|
+
small?: {
|
|
428
|
+
family?: string | undefined;
|
|
429
|
+
weight?: string | undefined;
|
|
430
|
+
style?: string | undefined;
|
|
431
|
+
lineHeight?: string | undefined;
|
|
432
|
+
letterSpacing?: string | undefined;
|
|
433
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
434
|
+
textTransform?: string | undefined;
|
|
435
|
+
color?: string | undefined;
|
|
436
|
+
colorInverted?: string | undefined;
|
|
437
|
+
colorGradient?: string | undefined;
|
|
438
|
+
colorGradientInverted?: string | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
medium?: {
|
|
441
|
+
family?: string | undefined;
|
|
442
|
+
weight?: string | undefined;
|
|
443
|
+
style?: string | undefined;
|
|
444
|
+
lineHeight?: string | undefined;
|
|
445
|
+
letterSpacing?: string | undefined;
|
|
446
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
447
|
+
textTransform?: string | undefined;
|
|
448
|
+
color?: string | undefined;
|
|
449
|
+
colorInverted?: string | undefined;
|
|
450
|
+
colorGradient?: string | undefined;
|
|
451
|
+
colorGradientInverted?: string | undefined;
|
|
452
|
+
} | undefined;
|
|
453
|
+
big?: {
|
|
454
|
+
family?: string | undefined;
|
|
455
|
+
weight?: string | undefined;
|
|
456
|
+
style?: string | undefined;
|
|
457
|
+
lineHeight?: string | undefined;
|
|
458
|
+
letterSpacing?: string | undefined;
|
|
459
|
+
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
460
|
+
textTransform?: string | undefined;
|
|
461
|
+
color?: string | undefined;
|
|
462
|
+
colorInverted?: string | undefined;
|
|
463
|
+
colorGradient?: string | undefined;
|
|
464
|
+
colorGradientInverted?: string | undefined;
|
|
465
|
+
} | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
globalSettings?: {
|
|
470
|
+
sections?: {
|
|
471
|
+
edgeRadius?: (string | null) | undefined;
|
|
472
|
+
imageTextGradient?: string | undefined;
|
|
473
|
+
newsDateFormat?: string | undefined;
|
|
474
|
+
newsTimeFormat?: string | undefined;
|
|
475
|
+
newsLocaleKey?: ("de" | "en") | undefined;
|
|
476
|
+
datepickerLocaleKey?: ("de" | "en") | undefined;
|
|
477
|
+
datepickerDateFormat?: string | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
} | undefined;
|
|
481
|
+
}>;
|
|
482
|
+
export default _default;
|
|
483
|
+
//# sourceMappingURL=DynamicForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../src/components/sections/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAe,EAAE,YAAY,EAAgB,MAAM,mBAAmB,CAAC;AAKvE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAa,MAAM,QAAQ,CAAC;AAKxD,OAAO,UAAU,6BAAqC;AA8DtD,MAAM,WAAW,aAAa;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;CAC/E;AAED,MAAM,WA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