bonprix-design-system 0.40.0 → 0.42.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 +113 -143
- package/dist/index.js +4392 -4598
- 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
|
|
|
@@ -513,13 +505,6 @@ declare interface Props {
|
|
|
513
505
|
rootRef?: Ref<HTMLInputElement>;
|
|
514
506
|
}
|
|
515
507
|
|
|
516
|
-
declare interface Props_10 {
|
|
517
|
-
label: string;
|
|
518
|
-
subLabel?: string;
|
|
519
|
-
onClick?: () => void;
|
|
520
|
-
icon?: ReactNode;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
508
|
declare interface Props_2 {
|
|
524
509
|
children: default_2.ReactNode;
|
|
525
510
|
label: string;
|
|
@@ -559,14 +544,19 @@ declare interface Props_7 {
|
|
|
559
544
|
hidden?: boolean;
|
|
560
545
|
}
|
|
561
546
|
|
|
562
|
-
declare
|
|
563
|
-
|
|
564
|
-
declare interface Props_9 {
|
|
547
|
+
declare interface Props_8 {
|
|
565
548
|
children: string;
|
|
566
549
|
href?: string;
|
|
567
550
|
}
|
|
568
551
|
|
|
569
|
-
|
|
552
|
+
declare interface Props_9 {
|
|
553
|
+
value: string;
|
|
554
|
+
label: string;
|
|
555
|
+
subLabel?: string;
|
|
556
|
+
icon?: ReactNode;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export declare const RadioGroup: FC<RadioGroupProps> & Subcomponents_5;
|
|
570
560
|
|
|
571
561
|
declare const RadioGroupItem: FC<Props_6>;
|
|
572
562
|
|
|
@@ -575,12 +565,6 @@ export declare interface RadioGroupProps extends Omit<Props_2, "error" | "errorT
|
|
|
575
565
|
onChange: (value: string) => void;
|
|
576
566
|
}
|
|
577
567
|
|
|
578
|
-
declare interface RateProps extends BaseProps {
|
|
579
|
-
type?: "rating";
|
|
580
|
-
rating: number;
|
|
581
|
-
ratingQuantity: number;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
568
|
export declare const Rating: FC<RatingProps>;
|
|
585
569
|
|
|
586
570
|
export declare interface RatingProps {
|
|
@@ -618,14 +602,7 @@ export declare type SearchFieldProps = ControlledInputProps_3 | UncontrolledInpu
|
|
|
618
602
|
|
|
619
603
|
declare const SecondaryButton: FC<Props_4>;
|
|
620
604
|
|
|
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;
|
|
605
|
+
export declare const Select: FC<SelectProps> & Subcomponents_6;
|
|
629
606
|
|
|
630
607
|
declare const SelectItem: FC<Props_7>;
|
|
631
608
|
|
|
@@ -644,7 +621,7 @@ export declare interface SelectProps {
|
|
|
644
621
|
|
|
645
622
|
declare type SeverityLevel = (typeof levels)[number];
|
|
646
623
|
|
|
647
|
-
export declare const SideSheet: FC<SideSheetProps> &
|
|
624
|
+
export declare const SideSheet: FC<SideSheetProps> & Subcomponents_7;
|
|
648
625
|
|
|
649
626
|
export declare interface SideSheetProps {
|
|
650
627
|
children: ReactNode;
|
|
@@ -670,7 +647,7 @@ declare interface SpinnerProps {
|
|
|
670
647
|
edgeLength?: string;
|
|
671
648
|
}
|
|
672
649
|
|
|
673
|
-
export declare const StepNavi: FC<StepNaviProps> &
|
|
650
|
+
export declare const StepNavi: FC<StepNaviProps> & Subcomponents_8;
|
|
674
651
|
|
|
675
652
|
export declare interface StepNaviProps {
|
|
676
653
|
children: default_2.ReactNode;
|
|
@@ -679,70 +656,57 @@ export declare interface StepNaviProps {
|
|
|
679
656
|
ariaLabel?: string;
|
|
680
657
|
}
|
|
681
658
|
|
|
682
|
-
declare const StepNaviStep: FC<
|
|
659
|
+
declare const StepNaviStep: FC<Props_8>;
|
|
683
660
|
|
|
684
661
|
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
662
|
Slide: typeof SplideSlide;
|
|
698
663
|
}
|
|
699
664
|
|
|
700
|
-
declare interface
|
|
665
|
+
declare interface Subcomponents_2 {
|
|
701
666
|
Item: FC<CheckboxGroupItemPropsExternal>;
|
|
702
667
|
}
|
|
703
668
|
|
|
704
|
-
declare interface
|
|
669
|
+
declare interface Subcomponents_3 {
|
|
705
670
|
Title: typeof Title;
|
|
706
671
|
Content: typeof Content;
|
|
707
672
|
PrimaryButton: typeof PrimaryButton;
|
|
708
673
|
SecondaryButton: typeof SecondaryButton;
|
|
709
674
|
}
|
|
710
675
|
|
|
711
|
-
declare interface
|
|
676
|
+
declare interface Subcomponents_4 {
|
|
712
677
|
Item: typeof ListItem;
|
|
713
678
|
}
|
|
714
679
|
|
|
715
|
-
declare interface
|
|
680
|
+
declare interface Subcomponents_5 {
|
|
716
681
|
Item: typeof RadioGroupItem;
|
|
717
682
|
}
|
|
718
683
|
|
|
719
|
-
declare interface
|
|
684
|
+
declare interface Subcomponents_6 {
|
|
720
685
|
Item: typeof SelectItem;
|
|
721
686
|
}
|
|
722
687
|
|
|
723
|
-
declare interface
|
|
724
|
-
Item: typeof SelectionItem;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
declare interface Subcomponents_9 {
|
|
688
|
+
declare interface Subcomponents_7 {
|
|
728
689
|
Title: typeof Title_2;
|
|
729
690
|
Content: typeof Content_2;
|
|
730
691
|
PrimaryButton: typeof PrimaryButton;
|
|
731
692
|
SecondaryButton: typeof SecondaryButton;
|
|
732
693
|
}
|
|
733
694
|
|
|
695
|
+
declare interface Subcomponents_8 {
|
|
696
|
+
Step: typeof StepNaviStep;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare interface Subcomponents_9 {
|
|
700
|
+
Item: typeof TabItem;
|
|
701
|
+
Content: typeof TabContent;
|
|
702
|
+
List: typeof TabsList;
|
|
703
|
+
}
|
|
704
|
+
|
|
734
705
|
declare type SubmitResetVariantProps = FinalBaseProps & {
|
|
735
706
|
onClick?: (event: default_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
736
707
|
type?: "submit" | "reset";
|
|
737
708
|
};
|
|
738
709
|
|
|
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
710
|
export declare const Switch: FC<SwitchProps>;
|
|
747
711
|
|
|
748
712
|
export declare interface SwitchProps {
|
|
@@ -753,13 +717,27 @@ export declare interface SwitchProps {
|
|
|
753
717
|
disabled?: boolean;
|
|
754
718
|
}
|
|
755
719
|
|
|
756
|
-
declare const
|
|
720
|
+
declare const TabContent: FC<TabsContentProps>;
|
|
721
|
+
|
|
722
|
+
declare const TabItem: FC<Props_9>;
|
|
723
|
+
|
|
724
|
+
export declare const Tabs: FC<TabsProps> & Subcomponents_9;
|
|
725
|
+
|
|
726
|
+
declare interface TabsContentProps {
|
|
727
|
+
value: string;
|
|
728
|
+
children: ReactNode;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
declare const TabsList: FC<TabsListProps>;
|
|
757
732
|
|
|
758
|
-
|
|
733
|
+
declare interface TabsListProps {
|
|
734
|
+
children: ReactNode;
|
|
735
|
+
}
|
|
759
736
|
|
|
760
737
|
export declare interface TabsProps {
|
|
761
738
|
children: ReactNode;
|
|
762
|
-
activeTab
|
|
739
|
+
activeTab: string;
|
|
740
|
+
onChange: (value: string) => void;
|
|
763
741
|
}
|
|
764
742
|
|
|
765
743
|
export { tailwindConfig }
|
|
@@ -781,33 +759,19 @@ export declare interface TertiaryButtonProps {
|
|
|
781
759
|
|
|
782
760
|
export declare const Textarea: FC<TextareaProps>;
|
|
783
761
|
|
|
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
|
-
}
|
|
762
|
+
export declare type TextareaProps = ControlledProps | UncontrolledProps;
|
|
798
763
|
|
|
799
764
|
export declare const TextField: FC<TextFieldProps>;
|
|
800
765
|
|
|
801
766
|
export declare type TextFieldProps = ControlledInputProps_2 | UncontrolledInputProps_2;
|
|
802
767
|
|
|
803
|
-
declare
|
|
804
|
-
variant: "text";
|
|
805
|
-
placeholder: string;
|
|
806
|
-
onChange: (value: string, availability: Availability_2) => void;
|
|
807
|
-
}
|
|
768
|
+
export declare const ThemeForcer: FC<ThemeForcerProps>;
|
|
808
769
|
|
|
809
|
-
declare interface
|
|
810
|
-
|
|
770
|
+
export declare interface ThemeForcerProps {
|
|
771
|
+
children?: ReactNode;
|
|
772
|
+
theme: "light" | "dark";
|
|
773
|
+
className?: string;
|
|
774
|
+
inline?: boolean;
|
|
811
775
|
}
|
|
812
776
|
|
|
813
777
|
declare const Title: FC<{
|
|
@@ -859,19 +823,25 @@ declare type TypographyVariant = (typeof typographyVariants)[number];
|
|
|
859
823
|
|
|
860
824
|
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
825
|
|
|
862
|
-
declare type UncontrolledInputProps =
|
|
826
|
+
declare type UncontrolledInputProps = BaseProps_5 & {
|
|
863
827
|
value?: never;
|
|
864
828
|
defaultValue: string;
|
|
865
829
|
onChange?: (value: string) => void;
|
|
866
830
|
};
|
|
867
831
|
|
|
868
|
-
declare interface UncontrolledInputProps_2 extends
|
|
832
|
+
declare interface UncontrolledInputProps_2 extends BaseProps_6 {
|
|
833
|
+
value?: never;
|
|
834
|
+
defaultValue: string;
|
|
835
|
+
onChange?: (value: string) => void;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
declare interface UncontrolledInputProps_3 extends BaseProps_7 {
|
|
869
839
|
value?: never;
|
|
870
840
|
defaultValue: string;
|
|
871
841
|
onChange?: (value: string) => void;
|
|
872
842
|
}
|
|
873
843
|
|
|
874
|
-
declare interface
|
|
844
|
+
declare interface UncontrolledProps extends BaseProps_4 {
|
|
875
845
|
value?: never;
|
|
876
846
|
defaultValue: string;
|
|
877
847
|
onChange?: (value: string) => void;
|