bonprix-design-system 0.54.0 → 0.54.2
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 +32 -16
- package/dist/index.js +4253 -4097
- package/dist/index.js.map +1 -1
- package/dist/styles/dark-theme-variables.css +1 -0
- package/dist/styles/light-theme-variables.css +1 -0
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -380,7 +380,7 @@ export declare const Button: FC<ButtonProps>;
|
|
|
380
380
|
|
|
381
381
|
export declare type ButtonProps = AsLink_2 | SubmitResetVariantProps | ButtonVariantProps;
|
|
382
382
|
|
|
383
|
-
declare const ButtonSection:
|
|
383
|
+
declare const ButtonSection: ({ children }: ButtonSectionProps) => default_2.JSX.Element;
|
|
384
384
|
|
|
385
385
|
declare interface ButtonSectionProps {
|
|
386
386
|
/** Primary and secondary buttons should be placed inside this section. */
|
|
@@ -545,15 +545,21 @@ export declare interface ContainerProps {
|
|
|
545
545
|
disableFullScreen?: boolean;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
declare const Content:
|
|
549
|
-
|
|
550
|
-
|
|
548
|
+
declare const Content: ({ children }: ContentProps) => default_2.JSX.Element;
|
|
549
|
+
|
|
550
|
+
declare const Content_2: FC<ContentProps_2>;
|
|
551
|
+
|
|
552
|
+
declare const Content_3: ({ children }: Props_9) => default_2.JSX.Element;
|
|
551
553
|
|
|
552
|
-
declare
|
|
554
|
+
declare interface ContentProps {
|
|
555
|
+
/** The content of the content section. */
|
|
553
556
|
children: ReactNode;
|
|
554
|
-
}
|
|
557
|
+
}
|
|
555
558
|
|
|
556
|
-
declare
|
|
559
|
+
declare interface ContentProps_2 {
|
|
560
|
+
/** The content to display in the dialog */
|
|
561
|
+
children: ReactNode;
|
|
562
|
+
}
|
|
557
563
|
|
|
558
564
|
declare interface ControlGroupProps {
|
|
559
565
|
/** Here, the RadioGroup.Item subcomponents should be placed. */
|
|
@@ -700,7 +706,7 @@ export declare interface GridProps {
|
|
|
700
706
|
disableGutters?: boolean;
|
|
701
707
|
}
|
|
702
708
|
|
|
703
|
-
declare const Header:
|
|
709
|
+
declare const Header: ({ children, level }: HeaderProps) => default_2.JSX.Element;
|
|
704
710
|
|
|
705
711
|
declare interface HeaderProps {
|
|
706
712
|
/** The content of the header. */
|
|
@@ -866,7 +872,7 @@ export declare const Price: FC<PriceProps>;
|
|
|
866
872
|
|
|
867
873
|
export declare type PriceProps = RegularProps | SaleProps | BestProps | TopDealProps | NoPriceProps;
|
|
868
874
|
|
|
869
|
-
declare const PrimaryButton:
|
|
875
|
+
declare const PrimaryButton: ({ children, onClick, type, form }: PrimaryButtonProps) => default_2.JSX.Element;
|
|
870
876
|
|
|
871
877
|
declare const PrimaryButton_2: FC<Props_2>;
|
|
872
878
|
|
|
@@ -909,10 +915,12 @@ declare interface Props_12 {
|
|
|
909
915
|
}
|
|
910
916
|
|
|
911
917
|
declare interface Props_2 {
|
|
918
|
+
/** The content to display in the button */
|
|
912
919
|
children: ReactElement<ButtonProps>;
|
|
913
920
|
}
|
|
914
921
|
|
|
915
922
|
declare interface Props_3 {
|
|
923
|
+
/** The content to display in the button */
|
|
916
924
|
children: ReactElement<ButtonProps>;
|
|
917
925
|
}
|
|
918
926
|
|
|
@@ -950,6 +958,7 @@ declare interface Props_6 {
|
|
|
950
958
|
}
|
|
951
959
|
|
|
952
960
|
declare interface Props_7 {
|
|
961
|
+
/** The content to display in the list item */
|
|
953
962
|
children: ReactNode;
|
|
954
963
|
}
|
|
955
964
|
|
|
@@ -1032,7 +1041,7 @@ export declare const SearchField: FC<SearchFieldProps>;
|
|
|
1032
1041
|
|
|
1033
1042
|
export declare type SearchFieldProps = ControlledInputProps_6 | UncontrolledInputProps_6;
|
|
1034
1043
|
|
|
1035
|
-
declare const SecondaryButton:
|
|
1044
|
+
declare const SecondaryButton: ({ children }: SecondaryButtonProps) => default_2.JSX.Element;
|
|
1036
1045
|
|
|
1037
1046
|
declare const SecondaryButton_2: FC<Props_3>;
|
|
1038
1047
|
|
|
@@ -1110,14 +1119,18 @@ export declare interface SideSheetProps {
|
|
|
1110
1119
|
declare const Slide: FC<SlideProps>;
|
|
1111
1120
|
|
|
1112
1121
|
declare interface SlideProps {
|
|
1122
|
+
/** The content of the slide item. */
|
|
1113
1123
|
children: ReactNode;
|
|
1124
|
+
/** An optional label of the slide item. */
|
|
1114
1125
|
"aria-label"?: string;
|
|
1126
|
+
/** An optional id of a DOM element that labels the slide item. */
|
|
1115
1127
|
"aria-labelledby"?: string;
|
|
1116
1128
|
}
|
|
1117
1129
|
|
|
1118
1130
|
declare const Slides: FC<SlidesProps>;
|
|
1119
1131
|
|
|
1120
1132
|
declare interface SlidesProps {
|
|
1133
|
+
/** The content of the slides section. This is where `<CarouselV2.Slide>` items go. */
|
|
1121
1134
|
children: ReactNode;
|
|
1122
1135
|
}
|
|
1123
1136
|
|
|
@@ -1155,9 +1168,9 @@ export declare interface StepNaviProps {
|
|
|
1155
1168
|
declare const StepNaviStep: FC<Props_10>;
|
|
1156
1169
|
|
|
1157
1170
|
declare interface SubComponents {
|
|
1171
|
+
Slides: typeof Slides;
|
|
1158
1172
|
Slide: typeof Slide;
|
|
1159
1173
|
PositionIndicator: typeof PositionIndicator;
|
|
1160
|
-
Slides: typeof Slides;
|
|
1161
1174
|
}
|
|
1162
1175
|
|
|
1163
1176
|
declare interface Subcomponents {
|
|
@@ -1387,7 +1400,6 @@ export declare const tailwindConfig: {
|
|
|
1387
1400
|
clr: {
|
|
1388
1401
|
black: string;
|
|
1389
1402
|
white: string;
|
|
1390
|
-
"bg-modal": string;
|
|
1391
1403
|
"primary-transparent": string;
|
|
1392
1404
|
"on-bg-high-transparent": string;
|
|
1393
1405
|
primary: string;
|
|
@@ -1409,6 +1421,7 @@ export declare const tailwindConfig: {
|
|
|
1409
1421
|
info: string;
|
|
1410
1422
|
disabled: string;
|
|
1411
1423
|
"disabled-inverse": string;
|
|
1424
|
+
modal: string;
|
|
1412
1425
|
};
|
|
1413
1426
|
"on-bg": {
|
|
1414
1427
|
high: string;
|
|
@@ -1499,11 +1512,14 @@ export declare interface ThemeForcerProps {
|
|
|
1499
1512
|
inline?: boolean;
|
|
1500
1513
|
}
|
|
1501
1514
|
|
|
1502
|
-
declare const Title: FC<
|
|
1503
|
-
children: string;
|
|
1504
|
-
}>;
|
|
1515
|
+
declare const Title: FC<TitleProps>;
|
|
1505
1516
|
|
|
1506
|
-
declare const Title_2:
|
|
1517
|
+
declare const Title_2: ({ children }: Props_8) => string;
|
|
1518
|
+
|
|
1519
|
+
declare interface TitleProps {
|
|
1520
|
+
/** The title to display in the dialog */
|
|
1521
|
+
children: string;
|
|
1522
|
+
}
|
|
1507
1523
|
|
|
1508
1524
|
export declare const Tooltip: FC<TooltipProps>;
|
|
1509
1525
|
|