bonprix-design-system 0.58.0 → 0.59.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.css +1 -0
- package/dist/index.d.ts +196 -147
- package/dist/index.js +24980 -24181
- package/dist/index.js.map +1 -1
- package/dist/web-components.js +319 -297
- package/dist/web-components.js.map +1 -1
- package/package.json +32 -29
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-bpds=side-sheet] .button-section-container{width:100%;container-type:inline-size}@container (width>=500px){[data-bpds=side-sheet] .button-section{flex-direction:row!important}}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { Config } from 'tailwindcss/types/config';
|
|
2
1
|
import { default as default_2 } from 'react';
|
|
3
2
|
import { ElementType } from 'react';
|
|
4
3
|
import { FC } from 'react';
|
|
5
4
|
import { HTMLInputAutoCompleteAttribute } from 'react';
|
|
6
5
|
import { Options } from '@splidejs/react-splide';
|
|
7
|
-
import { PluginCreator } from 'tailwindcss/types/config';
|
|
8
6
|
import { ReactElement } from 'react';
|
|
9
7
|
import { ReactNode } from 'react';
|
|
10
8
|
import { Ref } from 'react';
|
|
@@ -368,32 +366,11 @@ declare interface BestProps extends TwoPriceProps {
|
|
|
368
366
|
startPrice?: number;
|
|
369
367
|
}
|
|
370
368
|
|
|
371
|
-
export declare const BottomSheet: FC<BottomSheetProps> &
|
|
369
|
+
export declare const BottomSheet: FC<BottomSheetProps> & SheetSubcomponents;
|
|
372
370
|
|
|
373
|
-
declare interface
|
|
374
|
-
/**
|
|
375
|
-
children: string;
|
|
376
|
-
/** If used, an icon will be additionally shown. The value is a name of one icon from our icon set. */
|
|
377
|
-
icon?: Icon_2;
|
|
378
|
-
/** The position of the icon relative to the content. */
|
|
379
|
-
iconPosition?: "start" | "end";
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
export declare interface BottomSheetProps {
|
|
383
|
-
/** All of the subcomponents should be placed inside this property. */
|
|
384
|
-
children: ReactNode;
|
|
385
|
-
/** Toggles the visibility of the BottomSheet. Should be used in conjunction with the `onClose` property */
|
|
386
|
-
isOpen: boolean;
|
|
387
|
-
/** Callback function, that is triggered when the BottomSheet is attempted to be closed. `isOpen` should be set appropriately.*/
|
|
388
|
-
onClose: () => void;
|
|
389
|
-
/** Callback to execute when clicking back icon */
|
|
390
|
-
onBack?: () => void;
|
|
391
|
-
/** The z-index of the BottomSheet. */
|
|
392
|
-
zIndex?: number;
|
|
393
|
-
/** A reference to the root element of the BottomSheet. */
|
|
371
|
+
export declare interface BottomSheetProps extends SheetProps {
|
|
372
|
+
/** A reference to the root element of the sheet. */
|
|
394
373
|
ref?: Ref<HTMLDivElement>;
|
|
395
|
-
/** If `true`, the horizontal padding around the content will be removed. */
|
|
396
|
-
disableHorizontalPadding?: boolean;
|
|
397
374
|
}
|
|
398
375
|
|
|
399
376
|
export declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
@@ -421,12 +398,9 @@ export declare const Button: FC<ButtonProps>;
|
|
|
421
398
|
|
|
422
399
|
export declare type ButtonProps = AsLink_2 | SubmitResetVariantProps | ButtonVariantProps;
|
|
423
400
|
|
|
424
|
-
declare const ButtonSection: ({ children }:
|
|
401
|
+
declare const ButtonSection: ({ children }: SheetButtonSectionProps) => default_2.JSX.Element;
|
|
425
402
|
|
|
426
|
-
declare
|
|
427
|
-
/** Primary and secondary buttons should be placed inside this section. */
|
|
428
|
-
children: ReactNode;
|
|
429
|
-
}
|
|
403
|
+
declare const ButtonSection_2: ({ children }: SheetButtonSectionProps_2) => default_2.JSX.Element;
|
|
430
404
|
|
|
431
405
|
declare type ButtonSize = "small" | "medium" | "large";
|
|
432
406
|
|
|
@@ -439,7 +413,7 @@ declare type ButtonVariantProps = AsButton_2 & {
|
|
|
439
413
|
type?: "button";
|
|
440
414
|
};
|
|
441
415
|
|
|
442
|
-
export declare const Carousel: FC<CarouselProps> &
|
|
416
|
+
export declare const Carousel: FC<CarouselProps> & Subcomponents;
|
|
443
417
|
|
|
444
418
|
declare interface CarouselImage extends BasicProps {
|
|
445
419
|
carousel: true;
|
|
@@ -477,6 +451,7 @@ export declare interface CarouselProps {
|
|
|
477
451
|
/** The index of the initial slide to be displayed */
|
|
478
452
|
start?: number;
|
|
479
453
|
disableDrag?: boolean;
|
|
454
|
+
paginationRef?: Ref<HTMLUListElement>;
|
|
480
455
|
}
|
|
481
456
|
|
|
482
457
|
export declare const CarouselV2: FC<CarouselV2Props> & SubComponents;
|
|
@@ -504,13 +479,17 @@ export declare type CarouselV2Props = AccessibilityLabel & {
|
|
|
504
479
|
invertButtons?: boolean;
|
|
505
480
|
/** If set to `true`, the horizontal padding for the arrow buttons will be removed. */
|
|
506
481
|
disableHorizontalPadding?: boolean;
|
|
507
|
-
/**
|
|
508
|
-
|
|
482
|
+
/** A reference to the Carousel instance. You can call `moveToPage(pageNumber: number)` on this one, e.g. `carouselRef.current.moveToPage(2)`. */
|
|
483
|
+
ref?: Ref<CarouselV2Ref>;
|
|
509
484
|
};
|
|
510
485
|
|
|
486
|
+
declare interface CarouselV2Ref {
|
|
487
|
+
moveToPage: (pageNumber: number) => void;
|
|
488
|
+
}
|
|
489
|
+
|
|
511
490
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
512
491
|
|
|
513
|
-
export declare const CheckboxGroup: FC<CheckboxGroupProps> &
|
|
492
|
+
export declare const CheckboxGroup: FC<CheckboxGroupProps> & Subcomponents_2;
|
|
514
493
|
|
|
515
494
|
declare interface CheckboxGroupBaseProps extends Omit<ControlGroupProps, "componentName"> {
|
|
516
495
|
/** The caption for the checkbox group. */
|
|
@@ -580,18 +559,13 @@ export declare interface ContainerProps {
|
|
|
580
559
|
disableFullScreen?: boolean;
|
|
581
560
|
}
|
|
582
561
|
|
|
583
|
-
declare const Content: ({ children }:
|
|
562
|
+
declare const Content: ({ children, disableHorizontalPadding }: SheetContentProps) => default_2.JSX.Element;
|
|
584
563
|
|
|
585
|
-
declare const Content_2: FC<
|
|
564
|
+
declare const Content_2: FC<ContentProps>;
|
|
586
565
|
|
|
587
|
-
declare const Content_3: ({ children }:
|
|
566
|
+
declare const Content_3: ({ children, disableHorizontalPadding }: SheetContentProps_2) => default_2.JSX.Element;
|
|
588
567
|
|
|
589
568
|
declare interface ContentProps {
|
|
590
|
-
/** The content of the content section. */
|
|
591
|
-
children: ReactNode;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
declare interface ContentProps_2 {
|
|
595
569
|
/** The content to display in the dialog */
|
|
596
570
|
children: ReactNode;
|
|
597
571
|
}
|
|
@@ -690,7 +664,7 @@ declare interface ControlledSelectProps extends BaseProps_8 {
|
|
|
690
664
|
onValueChange: (value: string) => void;
|
|
691
665
|
}
|
|
692
666
|
|
|
693
|
-
export declare const Dialog: FC<DialogProps> &
|
|
667
|
+
export declare const Dialog: FC<DialogProps> & Subcomponents_3;
|
|
694
668
|
|
|
695
669
|
export declare interface DialogProps {
|
|
696
670
|
/** Controls the visibility of the dialog. Should be used in conjunction with `onClose`. */
|
|
@@ -741,15 +715,6 @@ export declare interface GridProps {
|
|
|
741
715
|
disableGutters?: boolean;
|
|
742
716
|
}
|
|
743
717
|
|
|
744
|
-
declare const Header: ({ children, level }: HeaderProps) => default_2.JSX.Element;
|
|
745
|
-
|
|
746
|
-
declare interface HeaderProps {
|
|
747
|
-
/** The content of the header. */
|
|
748
|
-
children: string;
|
|
749
|
-
/** The heading level for the header. */
|
|
750
|
-
level?: "h3" | "h4";
|
|
751
|
-
}
|
|
752
|
-
|
|
753
718
|
declare interface HTMLInputAttributes {
|
|
754
719
|
/** <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/inputmode" target="_blank">HTML input mode attribute.</a> */
|
|
755
720
|
inputMode?: HTMLInputInputModeAttribute;
|
|
@@ -833,7 +798,7 @@ declare interface LinkLogo extends CommonProps, Anchor {
|
|
|
833
798
|
|
|
834
799
|
export declare type LinkProps = AsButton_4 | AsLink_4;
|
|
835
800
|
|
|
836
|
-
export declare const List: FC<ListProps> &
|
|
801
|
+
export declare const List: FC<ListProps> & Subcomponents_4;
|
|
837
802
|
|
|
838
803
|
declare const ListItem: FC<Props_4>;
|
|
839
804
|
|
|
@@ -915,8 +880,11 @@ export declare interface PaginationProps {
|
|
|
915
880
|
totalPages: number;
|
|
916
881
|
/** Callback function that is called when the page changes. The first parameter is the new page number, and the second parameter is the origin of the event ( `page`, `prev` or `next`) */
|
|
917
882
|
onPageChange: (newPage: number, origin: PaginationEventOrigin) => void;
|
|
918
|
-
/**
|
|
919
|
-
|
|
883
|
+
/** Creates the individual page's `href` attributes taking into account the page's number.
|
|
884
|
+
* @param {number} pageNumber - the page number
|
|
885
|
+
* @returns {string} The `href` for the given page.
|
|
886
|
+
*/
|
|
887
|
+
constructPageHref: (pageNumber: number) => string;
|
|
920
888
|
/** Accessible label for screen readers. */
|
|
921
889
|
srLabel?: string;
|
|
922
890
|
}
|
|
@@ -925,7 +893,12 @@ export declare const PasswordField: FC<PasswordFieldProps>;
|
|
|
925
893
|
|
|
926
894
|
export declare type PasswordFieldProps = ControlledInputProps_4 | UncontrolledInputProps_4;
|
|
927
895
|
|
|
928
|
-
declare const PositionIndicator: FC
|
|
896
|
+
declare const PositionIndicator: FC<PositionIndicatorProps>;
|
|
897
|
+
|
|
898
|
+
declare interface PositionIndicatorProps {
|
|
899
|
+
/** Ref to the element */
|
|
900
|
+
ref?: Ref<HTMLDivElement>;
|
|
901
|
+
}
|
|
929
902
|
|
|
930
903
|
export declare const Price: FC<PriceProps>;
|
|
931
904
|
|
|
@@ -935,44 +908,15 @@ export declare const PriceStacked: (props: PriceStackedProps) => default_2.JSX.E
|
|
|
935
908
|
|
|
936
909
|
export declare type PriceStackedProps = RegularProps_2 | SaleProps_2 | NoPriceProps_2;
|
|
937
910
|
|
|
938
|
-
declare const PrimaryButton: ({ children, onClick, type, form, icon, iconPosition }:
|
|
911
|
+
declare const PrimaryButton: ({ children, onClick, type, form, icon, iconPosition }: SheetPrimaryButtonProps) => default_2.JSX.Element;
|
|
939
912
|
|
|
940
913
|
declare const PrimaryButton_2: FC<Props_2>;
|
|
941
914
|
|
|
942
|
-
declare
|
|
943
|
-
/** Callback, which is triggered when the button is activated. */
|
|
944
|
-
onClick?: (event: default_2.MouseEvent<HTMLButtonElement>) => void;
|
|
945
|
-
/** The type attribute of the button. */
|
|
946
|
-
type?: ButtonTypeAttribute;
|
|
947
|
-
/** Standard HTML attribute. Read more on <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#form">MDN, Button Element - form</a>. */
|
|
948
|
-
form?: string;
|
|
949
|
-
/** If `true`, the button will be disabled and thus not interactable. */
|
|
950
|
-
disabled?: boolean;
|
|
951
|
-
/** If `true`, a loading spinner will be shown instead of the content. */
|
|
952
|
-
loading?: boolean;
|
|
953
|
-
}
|
|
915
|
+
declare const PrimaryButton_3: ({ children, onClick, type, form, icon, iconPosition }: SheetPrimaryButtonProps_2) => default_2.JSX.Element;
|
|
954
916
|
|
|
955
917
|
declare type Props = ControlledInputProps | UncontrolledInputProps;
|
|
956
918
|
|
|
957
919
|
declare interface Props_10 {
|
|
958
|
-
/** The name of the step. */
|
|
959
|
-
children: string;
|
|
960
|
-
/** The href attribute for the step link. */
|
|
961
|
-
href?: string;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
declare interface Props_11 {
|
|
965
|
-
/** Unique identifier for the tab item. With its help the tab item can be referenced programmatically. */
|
|
966
|
-
value: string;
|
|
967
|
-
/** The label of the tab item. */
|
|
968
|
-
label: string;
|
|
969
|
-
/** The sublabel of the tab item. */
|
|
970
|
-
subLabel?: string;
|
|
971
|
-
/** The icon of the tab item. */
|
|
972
|
-
icon?: ReactNode;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
declare interface Props_12 {
|
|
976
920
|
/** The unique identifier for the tab content. With its help the tab content can be referenced programmatically. */
|
|
977
921
|
value: string;
|
|
978
922
|
/** The content of the tab content. */
|
|
@@ -1032,16 +976,24 @@ declare interface Props_7 {
|
|
|
1032
976
|
}
|
|
1033
977
|
|
|
1034
978
|
declare interface Props_8 {
|
|
1035
|
-
/** The
|
|
979
|
+
/** The name of the step. */
|
|
1036
980
|
children: string;
|
|
981
|
+
/** The href attribute for the step link. */
|
|
982
|
+
href?: string;
|
|
1037
983
|
}
|
|
1038
984
|
|
|
1039
985
|
declare interface Props_9 {
|
|
1040
|
-
/**
|
|
1041
|
-
|
|
986
|
+
/** Unique identifier for the tab item. With its help the tab item can be referenced programmatically. */
|
|
987
|
+
value: string;
|
|
988
|
+
/** The label of the tab item. */
|
|
989
|
+
label: string;
|
|
990
|
+
/** The sublabel of the tab item. */
|
|
991
|
+
subLabel?: string;
|
|
992
|
+
/** The icon of the tab item. */
|
|
993
|
+
icon?: ReactNode;
|
|
1042
994
|
}
|
|
1043
995
|
|
|
1044
|
-
export declare const RadioGroup: FC<RadioGroupProps> &
|
|
996
|
+
export declare const RadioGroup: FC<RadioGroupProps> & Subcomponents_5;
|
|
1045
997
|
|
|
1046
998
|
declare const RadioGroupItem: ({ value, label, additional, suffix }: Props_5) => default_2.JSX.Element;
|
|
1047
999
|
|
|
@@ -1114,19 +1066,21 @@ export declare interface ScrollAreaProps {
|
|
|
1114
1066
|
verticalOnly?: boolean;
|
|
1115
1067
|
/** A reference to the viewport element of the scroll area. */
|
|
1116
1068
|
ref?: Ref<HTMLDivElement>;
|
|
1069
|
+
/** If `true`, the padding at the right side will be removed. */
|
|
1070
|
+
noPadding?: boolean;
|
|
1117
1071
|
}
|
|
1118
1072
|
|
|
1119
1073
|
export declare const SearchField: FC<SearchFieldProps>;
|
|
1120
1074
|
|
|
1121
1075
|
export declare type SearchFieldProps = ControlledInputProps_6 | UncontrolledInputProps_6;
|
|
1122
1076
|
|
|
1123
|
-
declare const SecondaryButton: ({ children, icon, iconPosition }:
|
|
1077
|
+
declare const SecondaryButton: ({ children, icon, iconPosition }: SheetButtonProps) => default_2.JSX.Element;
|
|
1124
1078
|
|
|
1125
1079
|
declare const SecondaryButton_2: FC<Props_3>;
|
|
1126
1080
|
|
|
1127
|
-
declare
|
|
1081
|
+
declare const SecondaryButton_3: ({ children, icon, iconPosition }: SheetButtonProps_2) => default_2.JSX.Element;
|
|
1128
1082
|
|
|
1129
|
-
export declare const Select: FC<SelectProps> &
|
|
1083
|
+
export declare const Select: FC<SelectProps> & Subcomponents_6;
|
|
1130
1084
|
|
|
1131
1085
|
declare const SelectItem: FC<Props_6>;
|
|
1132
1086
|
|
|
@@ -1134,6 +1088,130 @@ export declare type SelectProps = ControlledSelectProps | UncontrolledSelectProp
|
|
|
1134
1088
|
|
|
1135
1089
|
declare type SeverityLevel = (typeof levels)[number];
|
|
1136
1090
|
|
|
1091
|
+
declare interface SheetButtonProps {
|
|
1092
|
+
/** The label of the button. */
|
|
1093
|
+
children: string;
|
|
1094
|
+
/** If used, an icon will be additionally shown. The value is a name of one icon from our icon set. */
|
|
1095
|
+
icon?: Icon_2;
|
|
1096
|
+
/** The position of the icon relative to the content. */
|
|
1097
|
+
iconPosition?: "start" | "end";
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
declare interface SheetButtonProps_2 {
|
|
1101
|
+
/** The label of the button. */
|
|
1102
|
+
children: string;
|
|
1103
|
+
/** If used, an icon will be additionally shown. The value is a name of one icon from our icon set. */
|
|
1104
|
+
icon?: Icon_2;
|
|
1105
|
+
/** The position of the icon relative to the content. */
|
|
1106
|
+
iconPosition?: "start" | "end";
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
declare interface SheetButtonSectionProps {
|
|
1110
|
+
/** Primary and secondary buttons should be placed inside this section. */
|
|
1111
|
+
children: ReactNode;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
declare interface SheetButtonSectionProps_2 {
|
|
1115
|
+
/** Primary and secondary buttons should be placed inside this section. */
|
|
1116
|
+
children: ReactNode;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
declare interface SheetContentProps {
|
|
1120
|
+
/** The content of the content section. */
|
|
1121
|
+
children: ReactNode;
|
|
1122
|
+
/** If `true`, the horizontal padding around the content will be removed. */
|
|
1123
|
+
disableHorizontalPadding?: boolean;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
declare interface SheetContentProps_2 {
|
|
1127
|
+
/** The content of the content section. */
|
|
1128
|
+
children: ReactNode;
|
|
1129
|
+
/** If `true`, the horizontal padding around the content will be removed. */
|
|
1130
|
+
disableHorizontalPadding?: boolean;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
declare interface SheetPrimaryButtonProps extends SheetButtonProps {
|
|
1134
|
+
/** Callback, which is triggered when the button is activated. */
|
|
1135
|
+
onClick?: (event: default_2.MouseEvent<HTMLButtonElement>) => void;
|
|
1136
|
+
/** The type attribute of the button. */
|
|
1137
|
+
type?: ButtonTypeAttribute;
|
|
1138
|
+
/** Standard HTML attribute. Read more on <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#form">MDN, Button Element - form</a>. */
|
|
1139
|
+
form?: string;
|
|
1140
|
+
/** If `true`, the button will be disabled and thus not interactable. */
|
|
1141
|
+
disabled?: boolean;
|
|
1142
|
+
/** If `true`, a loading spinner will be shown instead of the content. */
|
|
1143
|
+
loading?: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare interface SheetPrimaryButtonProps_2 extends SheetButtonProps_2 {
|
|
1147
|
+
/** Callback, which is triggered when the button is activated. */
|
|
1148
|
+
onClick?: (event: default_2.MouseEvent<HTMLButtonElement>) => void;
|
|
1149
|
+
/** The type attribute of the button. */
|
|
1150
|
+
type?: ButtonTypeAttribute;
|
|
1151
|
+
/** Standard HTML attribute. Read more on <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#form">MDN, Button Element - form</a>. */
|
|
1152
|
+
form?: string;
|
|
1153
|
+
/** If `true`, the button will be disabled and thus not interactable. */
|
|
1154
|
+
disabled?: boolean;
|
|
1155
|
+
/** If `true`, a loading spinner will be shown instead of the content. */
|
|
1156
|
+
loading?: boolean;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
declare interface SheetProps {
|
|
1160
|
+
/** All of the subcomponents should be placed inside this property. */
|
|
1161
|
+
children: ReactNode;
|
|
1162
|
+
/** Toggles the visibility of the sheet. Should be used in conjunction with the `onClose` property. */
|
|
1163
|
+
isOpen: boolean;
|
|
1164
|
+
/** Callback function, that is triggered when the sheet is attempted to be closed. `isOpen` should be set appropriately. */
|
|
1165
|
+
onClose: () => void;
|
|
1166
|
+
/** Callback to execute when clicking back icon. */
|
|
1167
|
+
onBack?: () => void;
|
|
1168
|
+
/** The z-index of the sheet.. */
|
|
1169
|
+
zIndex?: number;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
declare interface SheetProps_2 {
|
|
1173
|
+
/** All of the subcomponents should be placed inside this property. */
|
|
1174
|
+
children: ReactNode;
|
|
1175
|
+
/** Toggles the visibility of the sheet. Should be used in conjunction with the `onClose` property. */
|
|
1176
|
+
isOpen: boolean;
|
|
1177
|
+
/** Callback function, that is triggered when the sheet is attempted to be closed. `isOpen` should be set appropriately. */
|
|
1178
|
+
onClose: () => void;
|
|
1179
|
+
/** Callback to execute when clicking back icon. */
|
|
1180
|
+
onBack?: () => void;
|
|
1181
|
+
/** The z-index of the sheet.. */
|
|
1182
|
+
zIndex?: number;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
declare interface SheetSubcomponents {
|
|
1186
|
+
Title: typeof Title;
|
|
1187
|
+
Content: typeof Content;
|
|
1188
|
+
ButtonSection: typeof ButtonSection;
|
|
1189
|
+
PrimaryButton: typeof PrimaryButton;
|
|
1190
|
+
SecondaryButton: typeof SecondaryButton;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
declare interface SheetSubcomponents_2 {
|
|
1194
|
+
Title: typeof Title_3;
|
|
1195
|
+
Content: typeof Content_3;
|
|
1196
|
+
ButtonSection: typeof ButtonSection_2;
|
|
1197
|
+
PrimaryButton: typeof PrimaryButton_3;
|
|
1198
|
+
SecondaryButton: typeof SecondaryButton_3;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
declare interface SheetTitleProps {
|
|
1202
|
+
/** The text content. */
|
|
1203
|
+
children: string;
|
|
1204
|
+
/** The heading level for the title. */
|
|
1205
|
+
level?: "h2" | "h3" | "h4";
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
declare interface SheetTitleProps_2 {
|
|
1209
|
+
/** The text content. */
|
|
1210
|
+
children: string;
|
|
1211
|
+
/** The heading level for the title. */
|
|
1212
|
+
level?: "h2" | "h3" | "h4";
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1137
1215
|
export declare const ShowMoreList: FC<ShowMoreListProps> & {
|
|
1138
1216
|
Item: typeof ShowMoreListItem;
|
|
1139
1217
|
};
|
|
@@ -1179,23 +1257,11 @@ export declare interface ShowMoreListProps {
|
|
|
1179
1257
|
onChange?: (shownItems: number, nextShownItems: number) => void;
|
|
1180
1258
|
}
|
|
1181
1259
|
|
|
1182
|
-
export declare const SideSheet: FC<SideSheetProps> &
|
|
1260
|
+
export declare const SideSheet: FC<SideSheetProps> & SheetSubcomponents_2;
|
|
1183
1261
|
|
|
1184
|
-
export declare interface SideSheetProps {
|
|
1185
|
-
/** The content to be displayed inside the modal. */
|
|
1186
|
-
children: ReactNode;
|
|
1187
|
-
/** The initial state open or closed */
|
|
1188
|
-
isOpen: boolean;
|
|
1262
|
+
export declare interface SideSheetProps extends SheetProps_2 {
|
|
1189
1263
|
/** When set to false, interaction with outside elements will be disabled and only dialog content will be visible to screen readers. */
|
|
1190
1264
|
modeless?: boolean;
|
|
1191
|
-
/** Callback to execute when Sheet is closed */
|
|
1192
|
-
onClose?: () => void;
|
|
1193
|
-
/** Callback to execute when clicking back icon */
|
|
1194
|
-
onBack?: () => void;
|
|
1195
|
-
/** The z-index of the modal */
|
|
1196
|
-
zIndex?: number;
|
|
1197
|
-
/** Boolean describing if the wrapper of the content has horizontal padding */
|
|
1198
|
-
disableHorizontalPadding?: boolean;
|
|
1199
1265
|
/** Makes the Sheet of 400px fixed or able to expand up to 600px depending on the content */
|
|
1200
1266
|
hasDynamicWidth?: boolean;
|
|
1201
1267
|
}
|
|
@@ -1236,7 +1302,7 @@ declare interface SpinnerProps {
|
|
|
1236
1302
|
edgeLength?: string;
|
|
1237
1303
|
}
|
|
1238
1304
|
|
|
1239
|
-
export declare const StepNavi: FC<StepNaviProps> &
|
|
1305
|
+
export declare const StepNavi: FC<StepNaviProps> & Subcomponents_7;
|
|
1240
1306
|
|
|
1241
1307
|
export declare interface StepNaviProps {
|
|
1242
1308
|
/** StepNavi.Step subcomponents should be placed here. */
|
|
@@ -1249,7 +1315,7 @@ export declare interface StepNaviProps {
|
|
|
1249
1315
|
ariaLabel?: string;
|
|
1250
1316
|
}
|
|
1251
1317
|
|
|
1252
|
-
declare const StepNaviStep: FC<
|
|
1318
|
+
declare const StepNaviStep: FC<Props_8>;
|
|
1253
1319
|
|
|
1254
1320
|
declare interface SubComponents {
|
|
1255
1321
|
Slides: typeof Slides;
|
|
@@ -1258,55 +1324,40 @@ declare interface SubComponents {
|
|
|
1258
1324
|
}
|
|
1259
1325
|
|
|
1260
1326
|
declare interface Subcomponents {
|
|
1261
|
-
Header: typeof Header;
|
|
1262
|
-
Content: typeof Content;
|
|
1263
|
-
PrimaryButton: typeof PrimaryButton;
|
|
1264
|
-
SecondaryButton: typeof SecondaryButton;
|
|
1265
|
-
ButtonSection: typeof ButtonSection;
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
declare interface Subcomponents_10 {
|
|
1269
|
-
Item: typeof TabGroupItem;
|
|
1270
|
-
Content: typeof TabGroupContent;
|
|
1271
|
-
List: typeof TabGroupList;
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
declare interface Subcomponents_2 {
|
|
1275
1327
|
Slide: typeof SplideSlide;
|
|
1276
1328
|
}
|
|
1277
1329
|
|
|
1278
|
-
declare interface
|
|
1330
|
+
declare interface Subcomponents_2 {
|
|
1279
1331
|
Item: typeof CheckboxGroupItem;
|
|
1280
1332
|
}
|
|
1281
1333
|
|
|
1282
|
-
declare interface
|
|
1283
|
-
Title: typeof
|
|
1334
|
+
declare interface Subcomponents_3 {
|
|
1335
|
+
Title: typeof Title_2;
|
|
1284
1336
|
Content: typeof Content_2;
|
|
1285
1337
|
PrimaryButton: typeof PrimaryButton_2;
|
|
1286
1338
|
SecondaryButton: typeof SecondaryButton_2;
|
|
1287
1339
|
}
|
|
1288
1340
|
|
|
1289
|
-
declare interface
|
|
1341
|
+
declare interface Subcomponents_4 {
|
|
1290
1342
|
Item: typeof ListItem;
|
|
1291
1343
|
}
|
|
1292
1344
|
|
|
1293
|
-
declare interface
|
|
1345
|
+
declare interface Subcomponents_5 {
|
|
1294
1346
|
Item: typeof RadioGroupItem;
|
|
1295
1347
|
}
|
|
1296
1348
|
|
|
1297
|
-
declare interface
|
|
1349
|
+
declare interface Subcomponents_6 {
|
|
1298
1350
|
Item: typeof SelectItem;
|
|
1299
1351
|
}
|
|
1300
1352
|
|
|
1301
|
-
declare interface
|
|
1302
|
-
|
|
1303
|
-
Content: typeof Content_3;
|
|
1304
|
-
PrimaryButton: typeof PrimaryButton_2;
|
|
1305
|
-
SecondaryButton: typeof SecondaryButton_2;
|
|
1353
|
+
declare interface Subcomponents_7 {
|
|
1354
|
+
Step: typeof StepNaviStep;
|
|
1306
1355
|
}
|
|
1307
1356
|
|
|
1308
|
-
declare interface
|
|
1309
|
-
|
|
1357
|
+
declare interface Subcomponents_8 {
|
|
1358
|
+
Item: typeof TabGroupItem;
|
|
1359
|
+
Content: typeof TabGroupContent;
|
|
1360
|
+
List: typeof TabGroupList;
|
|
1310
1361
|
}
|
|
1311
1362
|
|
|
1312
1363
|
declare type SubmitResetVariantProps = AsButton_2 & {
|
|
@@ -1324,11 +1375,11 @@ declare interface TabBoxProps extends BaseProps_10 {
|
|
|
1324
1375
|
fullWidth?: boolean;
|
|
1325
1376
|
}
|
|
1326
1377
|
|
|
1327
|
-
export declare const TabGroup: FC<TabGroupProps> &
|
|
1378
|
+
export declare const TabGroup: FC<TabGroupProps> & Subcomponents_8;
|
|
1328
1379
|
|
|
1329
|
-
declare const TabGroupContent: FC<
|
|
1380
|
+
declare const TabGroupContent: FC<Props_10>;
|
|
1330
1381
|
|
|
1331
|
-
declare const TabGroupItem: FC<
|
|
1382
|
+
declare const TabGroupItem: FC<Props_9>;
|
|
1332
1383
|
|
|
1333
1384
|
declare const TabGroupList: FC<TabGroupListProps>;
|
|
1334
1385
|
|
|
@@ -1533,10 +1584,6 @@ export declare const tailwindConfig: {
|
|
|
1533
1584
|
};
|
|
1534
1585
|
safelist: string[];
|
|
1535
1586
|
important: true;
|
|
1536
|
-
plugins: {
|
|
1537
|
-
handler: PluginCreator;
|
|
1538
|
-
config?: Partial<Config> | undefined;
|
|
1539
|
-
}[];
|
|
1540
1587
|
};
|
|
1541
1588
|
|
|
1542
1589
|
export declare const Textarea: FC<TextareaProps>;
|
|
@@ -1596,9 +1643,11 @@ export declare interface ThemeForcerProps {
|
|
|
1596
1643
|
inline?: boolean;
|
|
1597
1644
|
}
|
|
1598
1645
|
|
|
1599
|
-
declare const Title:
|
|
1646
|
+
declare const Title: ({ children, level }: SheetTitleProps) => default_2.JSX.Element;
|
|
1647
|
+
|
|
1648
|
+
declare const Title_2: FC<TitleProps>;
|
|
1600
1649
|
|
|
1601
|
-
declare const
|
|
1650
|
+
declare const Title_3: ({ children, level }: SheetTitleProps_2) => default_2.JSX.Element;
|
|
1602
1651
|
|
|
1603
1652
|
declare interface TitleProps {
|
|
1604
1653
|
/** The title to display in the dialog */
|