bonprix-design-system 0.40.0 → 0.41.0
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/index.d.ts +103 -140
- package/dist/index.js +4276 -4473
- package/dist/index.js.map +1 -1
- package/package.json +19 -19
package/dist/index.d.ts
CHANGED
|
@@ -9,10 +9,12 @@ import { RefObject } from 'react';
|
|
|
9
9
|
import { SplideSlide } from '@splidejs/react-splide';
|
|
10
10
|
import { default as tailwindConfig } from '../tailwind.config';
|
|
11
11
|
|
|
12
|
-
export declare const Accordion: FC<AccordionProps> &
|
|
12
|
+
export declare const Accordion: FC<AccordionProps> & {
|
|
13
|
+
Item: typeof Collapsible;
|
|
14
|
+
};
|
|
13
15
|
|
|
14
16
|
export declare interface AccordionProps {
|
|
15
|
-
children:
|
|
17
|
+
children: ReactNode;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
export declare const Alert: FC<AlertProps>;
|
|
@@ -35,38 +37,38 @@ declare interface Anchor {
|
|
|
35
37
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
36
38
|
}
|
|
37
39
|
|
|
38
|
-
declare interface AsButton extends
|
|
40
|
+
declare interface AsButton extends BaseProps {
|
|
39
41
|
link?: false;
|
|
40
42
|
disabled?: boolean;
|
|
41
43
|
loading?: boolean;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
|
-
declare interface AsButton_2 extends
|
|
46
|
+
declare interface AsButton_2 extends BaseProps_2 {
|
|
45
47
|
link?: false;
|
|
46
48
|
disabled?: boolean;
|
|
47
49
|
loading?: boolean;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
declare interface AsButton_3 extends
|
|
52
|
+
declare interface AsButton_3 extends BaseProps_3 {
|
|
51
53
|
button: true;
|
|
52
54
|
onClick: () => void;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
declare interface AsLink extends
|
|
57
|
+
declare interface AsLink extends BaseProps {
|
|
56
58
|
link: true;
|
|
57
59
|
href: string;
|
|
58
60
|
rel?: string;
|
|
59
61
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
declare interface AsLink_2 extends
|
|
64
|
+
declare interface AsLink_2 extends BaseProps_2 {
|
|
63
65
|
link: true;
|
|
64
66
|
href: string;
|
|
65
67
|
rel?: string;
|
|
66
68
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
declare interface AsLink_3 extends
|
|
71
|
+
declare interface AsLink_3 extends BaseProps_3 {
|
|
70
72
|
button?: false;
|
|
71
73
|
onClick?: () => void;
|
|
72
74
|
rel?: string;
|
|
@@ -76,8 +78,6 @@ declare interface AsLink_3 extends BaseProps_4 {
|
|
|
76
78
|
|
|
77
79
|
export declare const Availability: FC<AvailabilityProps>;
|
|
78
80
|
|
|
79
|
-
declare type Availability_2 = ImageAvailability | "currently-out-of-stock";
|
|
80
|
-
|
|
81
81
|
export declare interface AvailabilityProps {
|
|
82
82
|
delivery: "available" | "available-soon" | "sold-out";
|
|
83
83
|
children: string;
|
|
@@ -85,18 +85,6 @@ export declare interface AvailabilityProps {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare interface BaseProps {
|
|
88
|
-
title: string;
|
|
89
|
-
children: ReactNode;
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
initiallyOpened?: boolean;
|
|
92
|
-
onOpen?: () => void;
|
|
93
|
-
onClose?: () => void;
|
|
94
|
-
onInitialInView?: () => void;
|
|
95
|
-
rootRef?: RefObject<HTMLDivElement>;
|
|
96
|
-
id?: string;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
declare interface BaseProps_2 {
|
|
100
88
|
children: string;
|
|
101
89
|
icon?: Icon_2;
|
|
102
90
|
iconPosition?: "start" | "end";
|
|
@@ -108,7 +96,7 @@ declare interface BaseProps_2 {
|
|
|
108
96
|
tabIndex?: number;
|
|
109
97
|
}
|
|
110
98
|
|
|
111
|
-
declare interface
|
|
99
|
+
declare interface BaseProps_2 {
|
|
112
100
|
icon: Icon_2;
|
|
113
101
|
label: string;
|
|
114
102
|
loading?: boolean;
|
|
@@ -121,7 +109,7 @@ declare interface BaseProps_3 {
|
|
|
121
109
|
type?: "button" | "submit" | "reset";
|
|
122
110
|
}
|
|
123
111
|
|
|
124
|
-
declare interface
|
|
112
|
+
declare interface BaseProps_3 {
|
|
125
113
|
children: string;
|
|
126
114
|
tabIndex?: number;
|
|
127
115
|
showArrow?: boolean;
|
|
@@ -131,18 +119,23 @@ declare interface BaseProps_4 {
|
|
|
131
119
|
srLabel?: string;
|
|
132
120
|
}
|
|
133
121
|
|
|
134
|
-
declare interface
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
122
|
+
declare interface BaseProps_4 {
|
|
123
|
+
label?: string;
|
|
124
|
+
placeholder?: string;
|
|
125
|
+
name?: string;
|
|
126
|
+
id?: string;
|
|
127
|
+
inputRef?: RefObject<HTMLTextAreaElement>;
|
|
128
|
+
onFocus?: () => void;
|
|
129
|
+
onBlur?: () => void;
|
|
130
|
+
helperText?: string;
|
|
131
|
+
errorText?: string;
|
|
132
|
+
disabled?: boolean;
|
|
133
|
+
required?: boolean;
|
|
134
|
+
error?: boolean;
|
|
135
|
+
maxLength?: number;
|
|
143
136
|
}
|
|
144
137
|
|
|
145
|
-
declare interface
|
|
138
|
+
declare interface BaseProps_5 extends HTMLInputAttributes {
|
|
146
139
|
onFocus?: () => void;
|
|
147
140
|
onBlur?: () => void;
|
|
148
141
|
inputRef?: RefObject<HTMLInputElement>;
|
|
@@ -157,7 +150,7 @@ declare interface BaseProps_7 extends HTMLInputAttributes {
|
|
|
157
150
|
describedBy?: string;
|
|
158
151
|
}
|
|
159
152
|
|
|
160
|
-
declare interface
|
|
153
|
+
declare interface BaseProps_6 extends HTMLInputAttributes {
|
|
161
154
|
onFocus?: () => void;
|
|
162
155
|
onBlur?: () => void;
|
|
163
156
|
label?: string;
|
|
@@ -176,7 +169,7 @@ declare interface BaseProps_8 extends HTMLInputAttributes {
|
|
|
176
169
|
maxLength?: number;
|
|
177
170
|
}
|
|
178
171
|
|
|
179
|
-
declare interface
|
|
172
|
+
declare interface BaseProps_7 extends HTMLInputAttributes {
|
|
180
173
|
onSearch: () => void;
|
|
181
174
|
onFocus?: () => void;
|
|
182
175
|
onBlur?: () => void;
|
|
@@ -249,7 +242,7 @@ declare type ButtonVariantProps = FinalBaseProps & {
|
|
|
249
242
|
type?: "button";
|
|
250
243
|
};
|
|
251
244
|
|
|
252
|
-
export declare const Carousel: FC<CarouselProps> &
|
|
245
|
+
export declare const Carousel: FC<CarouselProps> & Subcomponents;
|
|
253
246
|
|
|
254
247
|
declare interface CarouselImage extends BasicProps {
|
|
255
248
|
carousel: true;
|
|
@@ -275,7 +268,7 @@ export declare interface CarouselProps {
|
|
|
275
268
|
|
|
276
269
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
277
270
|
|
|
278
|
-
export declare const CheckboxGroup: FC<CheckboxGroupProps> &
|
|
271
|
+
export declare const CheckboxGroup: FC<CheckboxGroupProps> & Subcomponents_2;
|
|
279
272
|
|
|
280
273
|
declare interface CheckboxGroupItemPropsExternal extends Omit<Props, "onChange" | "onBlur" | "rootRef" | "name" | "checked"> {
|
|
281
274
|
name?: string;
|
|
@@ -294,7 +287,17 @@ export declare interface CheckboxProps extends Props {
|
|
|
294
287
|
|
|
295
288
|
export declare const Collapsible: FC<CollapsibleProps>;
|
|
296
289
|
|
|
297
|
-
export declare
|
|
290
|
+
export declare interface CollapsibleProps {
|
|
291
|
+
title: ReactNode;
|
|
292
|
+
children: ReactNode;
|
|
293
|
+
disabled?: boolean;
|
|
294
|
+
initiallyOpened?: boolean;
|
|
295
|
+
rootRef?: RefObject<HTMLDivElement | null>;
|
|
296
|
+
id?: string;
|
|
297
|
+
onOpen?: () => void;
|
|
298
|
+
onClose?: () => void;
|
|
299
|
+
onInitialInView?: () => void;
|
|
300
|
+
}
|
|
298
301
|
|
|
299
302
|
declare type ColumnSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
300
303
|
|
|
@@ -318,29 +321,31 @@ declare const Content_2: FC<{
|
|
|
318
321
|
children: ReactNode;
|
|
319
322
|
}>;
|
|
320
323
|
|
|
321
|
-
declare type ControlledInputProps =
|
|
324
|
+
declare type ControlledInputProps = BaseProps_5 & {
|
|
322
325
|
value: string;
|
|
323
326
|
defaultValue?: never;
|
|
324
327
|
onChange: (value: string) => void;
|
|
325
328
|
};
|
|
326
329
|
|
|
327
|
-
declare interface ControlledInputProps_2 extends
|
|
330
|
+
declare interface ControlledInputProps_2 extends BaseProps_6 {
|
|
328
331
|
value: string;
|
|
329
332
|
defaultValue?: never;
|
|
330
333
|
onChange: (value: string) => void;
|
|
331
334
|
}
|
|
332
335
|
|
|
333
|
-
declare interface ControlledInputProps_3 extends
|
|
336
|
+
declare interface ControlledInputProps_3 extends BaseProps_7 {
|
|
334
337
|
value: string;
|
|
335
338
|
defaultValue?: never;
|
|
336
339
|
onChange: (value: string) => void;
|
|
337
340
|
}
|
|
338
341
|
|
|
339
|
-
declare interface
|
|
340
|
-
|
|
342
|
+
declare interface ControlledProps extends BaseProps_4 {
|
|
343
|
+
value: string;
|
|
344
|
+
defaultValue?: never;
|
|
345
|
+
onChange: (value: string) => void;
|
|
341
346
|
}
|
|
342
347
|
|
|
343
|
-
export declare const Dialog: FC<DialogProps> &
|
|
348
|
+
export declare const Dialog: FC<DialogProps> & Subcomponents_3;
|
|
344
349
|
|
|
345
350
|
export declare interface DialogProps {
|
|
346
351
|
isOpen: boolean;
|
|
@@ -411,21 +416,8 @@ export declare interface IconProps {
|
|
|
411
416
|
declare const Image_2: FC<ImageProps>;
|
|
412
417
|
export { Image_2 as Image }
|
|
413
418
|
|
|
414
|
-
declare type ImageAvailability = "available" | "out-of-stock";
|
|
415
|
-
|
|
416
419
|
export declare type ImageProps = RegularImage | CarouselImage;
|
|
417
420
|
|
|
418
|
-
declare interface ImageVariantProps extends BaseProps_5 {
|
|
419
|
-
variant: "image";
|
|
420
|
-
imageWidth: number;
|
|
421
|
-
imageHeight: number;
|
|
422
|
-
onChange: (value: string, availability: ImageAvailability) => void;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
declare interface ImageVariantProps_2 extends BaseProps_6, Omit<ImageProps, "width" | "height"> {
|
|
426
|
-
availability?: ImageAvailability;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
421
|
declare const levels: readonly ["success", "info", "warning", "error"];
|
|
430
422
|
|
|
431
423
|
export declare const Link: FC<LinkProps>;
|
|
@@ -437,7 +429,7 @@ declare interface LinkLogo extends CommonProps, Anchor {
|
|
|
437
429
|
|
|
438
430
|
export declare type LinkProps = AsButton_3 | AsLink_3;
|
|
439
431
|
|
|
440
|
-
export declare const List: FC<ListProps> &
|
|
432
|
+
export declare const List: FC<ListProps> & Subcomponents_4;
|
|
441
433
|
|
|
442
434
|
declare const ListItem: FC<Props_5>;
|
|
443
435
|
|
|
@@ -514,10 +506,8 @@ declare interface Props {
|
|
|
514
506
|
}
|
|
515
507
|
|
|
516
508
|
declare interface Props_10 {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
onClick?: () => void;
|
|
520
|
-
icon?: ReactNode;
|
|
509
|
+
value: string;
|
|
510
|
+
children: ReactNode;
|
|
521
511
|
}
|
|
522
512
|
|
|
523
513
|
declare interface Props_2 {
|
|
@@ -559,14 +549,19 @@ declare interface Props_7 {
|
|
|
559
549
|
hidden?: boolean;
|
|
560
550
|
}
|
|
561
551
|
|
|
562
|
-
declare
|
|
563
|
-
|
|
564
|
-
declare interface Props_9 {
|
|
552
|
+
declare interface Props_8 {
|
|
565
553
|
children: string;
|
|
566
554
|
href?: string;
|
|
567
555
|
}
|
|
568
556
|
|
|
569
|
-
|
|
557
|
+
declare interface Props_9 {
|
|
558
|
+
value: string;
|
|
559
|
+
label: string;
|
|
560
|
+
subLabel?: string;
|
|
561
|
+
icon?: ReactNode;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export declare const RadioGroup: FC<RadioGroupProps> & Subcomponents_5;
|
|
570
565
|
|
|
571
566
|
declare const RadioGroupItem: FC<Props_6>;
|
|
572
567
|
|
|
@@ -575,12 +570,6 @@ export declare interface RadioGroupProps extends Omit<Props_2, "error" | "errorT
|
|
|
575
570
|
onChange: (value: string) => void;
|
|
576
571
|
}
|
|
577
572
|
|
|
578
|
-
declare interface RateProps extends BaseProps {
|
|
579
|
-
type?: "rating";
|
|
580
|
-
rating: number;
|
|
581
|
-
ratingQuantity: number;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
573
|
export declare const Rating: FC<RatingProps>;
|
|
585
574
|
|
|
586
575
|
export declare interface RatingProps {
|
|
@@ -618,14 +607,7 @@ export declare type SearchFieldProps = ControlledInputProps_3 | UncontrolledInpu
|
|
|
618
607
|
|
|
619
608
|
declare const SecondaryButton: FC<Props_4>;
|
|
620
609
|
|
|
621
|
-
export declare const Select: FC<SelectProps> &
|
|
622
|
-
|
|
623
|
-
declare const Selection_2: FC<SelectionProps> & Subcomponents_8;
|
|
624
|
-
export { Selection_2 as Selection }
|
|
625
|
-
|
|
626
|
-
declare const SelectionItem: FC<Props_8>;
|
|
627
|
-
|
|
628
|
-
export declare type SelectionProps = ImageVariantProps | TextVariantProps;
|
|
610
|
+
export declare const Select: FC<SelectProps> & Subcomponents_6;
|
|
629
611
|
|
|
630
612
|
declare const SelectItem: FC<Props_7>;
|
|
631
613
|
|
|
@@ -644,7 +626,7 @@ export declare interface SelectProps {
|
|
|
644
626
|
|
|
645
627
|
declare type SeverityLevel = (typeof levels)[number];
|
|
646
628
|
|
|
647
|
-
export declare const SideSheet: FC<SideSheetProps> &
|
|
629
|
+
export declare const SideSheet: FC<SideSheetProps> & Subcomponents_7;
|
|
648
630
|
|
|
649
631
|
export declare interface SideSheetProps {
|
|
650
632
|
children: ReactNode;
|
|
@@ -670,7 +652,7 @@ declare interface SpinnerProps {
|
|
|
670
652
|
edgeLength?: string;
|
|
671
653
|
}
|
|
672
654
|
|
|
673
|
-
export declare const StepNavi: FC<StepNaviProps> &
|
|
655
|
+
export declare const StepNavi: FC<StepNaviProps> & Subcomponents_8;
|
|
674
656
|
|
|
675
657
|
export declare interface StepNaviProps {
|
|
676
658
|
children: default_2.ReactNode;
|
|
@@ -679,70 +661,56 @@ export declare interface StepNaviProps {
|
|
|
679
661
|
ariaLabel?: string;
|
|
680
662
|
}
|
|
681
663
|
|
|
682
|
-
declare const StepNaviStep: FC<
|
|
664
|
+
declare const StepNaviStep: FC<Props_8>;
|
|
683
665
|
|
|
684
666
|
declare interface Subcomponents {
|
|
685
|
-
Item: typeof Collapsible;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
declare interface Subcomponents_10 {
|
|
689
|
-
Step: typeof StepNaviStep;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
declare interface Subcomponents_11 {
|
|
693
|
-
Item: typeof TabItem;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
declare interface Subcomponents_2 {
|
|
697
667
|
Slide: typeof SplideSlide;
|
|
698
668
|
}
|
|
699
669
|
|
|
700
|
-
declare interface
|
|
670
|
+
declare interface Subcomponents_2 {
|
|
701
671
|
Item: FC<CheckboxGroupItemPropsExternal>;
|
|
702
672
|
}
|
|
703
673
|
|
|
704
|
-
declare interface
|
|
674
|
+
declare interface Subcomponents_3 {
|
|
705
675
|
Title: typeof Title;
|
|
706
676
|
Content: typeof Content;
|
|
707
677
|
PrimaryButton: typeof PrimaryButton;
|
|
708
678
|
SecondaryButton: typeof SecondaryButton;
|
|
709
679
|
}
|
|
710
680
|
|
|
711
|
-
declare interface
|
|
681
|
+
declare interface Subcomponents_4 {
|
|
712
682
|
Item: typeof ListItem;
|
|
713
683
|
}
|
|
714
684
|
|
|
715
|
-
declare interface
|
|
685
|
+
declare interface Subcomponents_5 {
|
|
716
686
|
Item: typeof RadioGroupItem;
|
|
717
687
|
}
|
|
718
688
|
|
|
719
|
-
declare interface
|
|
689
|
+
declare interface Subcomponents_6 {
|
|
720
690
|
Item: typeof SelectItem;
|
|
721
691
|
}
|
|
722
692
|
|
|
723
|
-
declare interface
|
|
724
|
-
Item: typeof SelectionItem;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
declare interface Subcomponents_9 {
|
|
693
|
+
declare interface Subcomponents_7 {
|
|
728
694
|
Title: typeof Title_2;
|
|
729
695
|
Content: typeof Content_2;
|
|
730
696
|
PrimaryButton: typeof PrimaryButton;
|
|
731
697
|
SecondaryButton: typeof SecondaryButton;
|
|
732
698
|
}
|
|
733
699
|
|
|
700
|
+
declare interface Subcomponents_8 {
|
|
701
|
+
Step: typeof StepNaviStep;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
declare interface Subcomponents_9 {
|
|
705
|
+
Item: typeof TabItem;
|
|
706
|
+
Content: typeof TabContent;
|
|
707
|
+
}
|
|
708
|
+
|
|
734
709
|
declare type SubmitResetVariantProps = FinalBaseProps & {
|
|
735
710
|
onClick?: (event: default_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
736
711
|
type?: "submit" | "reset";
|
|
737
712
|
};
|
|
738
713
|
|
|
739
|
-
declare type SustainableFeature = "animal-welfare" | "organic-materials" | "production" | "recyclable-design" | "recycling" | "resource" | "social-initiatives";
|
|
740
|
-
|
|
741
|
-
declare interface SustainableProps extends BaseProps {
|
|
742
|
-
type?: "sustainable";
|
|
743
|
-
features: SustainableFeature[];
|
|
744
|
-
}
|
|
745
|
-
|
|
746
714
|
export declare const Switch: FC<SwitchProps>;
|
|
747
715
|
|
|
748
716
|
export declare interface SwitchProps {
|
|
@@ -753,13 +721,16 @@ export declare interface SwitchProps {
|
|
|
753
721
|
disabled?: boolean;
|
|
754
722
|
}
|
|
755
723
|
|
|
756
|
-
declare const
|
|
724
|
+
declare const TabContent: FC<Props_10>;
|
|
757
725
|
|
|
758
|
-
|
|
726
|
+
declare const TabItem: FC<Props_9>;
|
|
727
|
+
|
|
728
|
+
export declare const Tabs: default_2.FC<TabsProps> & Subcomponents_9;
|
|
759
729
|
|
|
760
730
|
export declare interface TabsProps {
|
|
761
731
|
children: ReactNode;
|
|
762
|
-
activeTab
|
|
732
|
+
activeTab: string;
|
|
733
|
+
onChange: (value: string) => void;
|
|
763
734
|
}
|
|
764
735
|
|
|
765
736
|
export { tailwindConfig }
|
|
@@ -781,33 +752,19 @@ export declare interface TertiaryButtonProps {
|
|
|
781
752
|
|
|
782
753
|
export declare const Textarea: FC<TextareaProps>;
|
|
783
754
|
|
|
784
|
-
export declare
|
|
785
|
-
onChange: (value: string) => void;
|
|
786
|
-
value?: string;
|
|
787
|
-
label?: string;
|
|
788
|
-
placeholder?: string;
|
|
789
|
-
name?: string;
|
|
790
|
-
id?: string;
|
|
791
|
-
helperText?: string;
|
|
792
|
-
errorText?: string;
|
|
793
|
-
disabled?: boolean;
|
|
794
|
-
required?: boolean;
|
|
795
|
-
error?: boolean;
|
|
796
|
-
maxLength?: number;
|
|
797
|
-
}
|
|
755
|
+
export declare type TextareaProps = ControlledProps | UncontrolledProps;
|
|
798
756
|
|
|
799
757
|
export declare const TextField: FC<TextFieldProps>;
|
|
800
758
|
|
|
801
759
|
export declare type TextFieldProps = ControlledInputProps_2 | UncontrolledInputProps_2;
|
|
802
760
|
|
|
803
|
-
declare
|
|
804
|
-
variant: "text";
|
|
805
|
-
placeholder: string;
|
|
806
|
-
onChange: (value: string, availability: Availability_2) => void;
|
|
807
|
-
}
|
|
761
|
+
export declare const ThemeForcer: FC<ThemeForcerProps>;
|
|
808
762
|
|
|
809
|
-
declare interface
|
|
810
|
-
|
|
763
|
+
export declare interface ThemeForcerProps {
|
|
764
|
+
children?: ReactNode;
|
|
765
|
+
theme: "light" | "dark";
|
|
766
|
+
className?: string;
|
|
767
|
+
inline?: boolean;
|
|
811
768
|
}
|
|
812
769
|
|
|
813
770
|
declare const Title: FC<{
|
|
@@ -859,19 +816,25 @@ declare type TypographyVariant = (typeof typographyVariants)[number];
|
|
|
859
816
|
|
|
860
817
|
declare const typographyVariants: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "bonprix-h1", "bonprix-h2", "bonprix-h3", "bonprix-h4", "bonprix-h5", "bonprix-h6", "body1", "body1-bold", "body2", "body2-bold", "subtitle1", "subtitle2", "caption", "overline"];
|
|
861
818
|
|
|
862
|
-
declare type UncontrolledInputProps =
|
|
819
|
+
declare type UncontrolledInputProps = BaseProps_5 & {
|
|
863
820
|
value?: never;
|
|
864
821
|
defaultValue: string;
|
|
865
822
|
onChange?: (value: string) => void;
|
|
866
823
|
};
|
|
867
824
|
|
|
868
|
-
declare interface UncontrolledInputProps_2 extends
|
|
825
|
+
declare interface UncontrolledInputProps_2 extends BaseProps_6 {
|
|
826
|
+
value?: never;
|
|
827
|
+
defaultValue: string;
|
|
828
|
+
onChange?: (value: string) => void;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
declare interface UncontrolledInputProps_3 extends BaseProps_7 {
|
|
869
832
|
value?: never;
|
|
870
833
|
defaultValue: string;
|
|
871
834
|
onChange?: (value: string) => void;
|
|
872
835
|
}
|
|
873
836
|
|
|
874
|
-
declare interface
|
|
837
|
+
declare interface UncontrolledProps extends BaseProps_4 {
|
|
875
838
|
value?: never;
|
|
876
839
|
defaultValue: string;
|
|
877
840
|
onChange?: (value: string) => void;
|