@galaxy-ds/core 2.1.0 → 2.1.1
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/Accordion/Accordion.stories.d.ts +313 -20
- package/dist/AccordionDetails/AccordionDetails.stories.d.ts +2 -2
- package/dist/AccordionPanel/AccordionPanel.stories.d.ts +5 -5
- package/dist/AccordionSummary/AccordionSummary.stories.d.ts +27 -27
- package/dist/ActivityLog/ActivityLog.stories.d.ts +19 -1
- package/dist/AppBar/AppBar.stories.d.ts +860 -19
- package/dist/Autocomplete/Autocomplete.stories.d.ts +480 -126
- package/dist/Avatar/Avatar.stories.d.ts +45 -45
- package/dist/AvatarGroup/AvatarGroup.stories.d.ts +49 -48
- package/dist/BottomListButton/BottomListButton.stories.d.ts +18 -18
- package/dist/Box/Box.stories.d.ts +17 -16
- package/dist/Breadcrumbs/Breadcrumbs.stories.d.ts +16 -15
- package/dist/Button/Button.stories.d.ts +161 -160
- package/dist/Card/Card.stories.d.ts +7 -6
- package/dist/Checkbox/Checkbox.stories.d.ts +71 -70
- package/dist/Chip/Chip.stories.d.ts +37 -36
- package/dist/CssBaseline/CssBaseline.stories.d.ts +2 -2
- package/dist/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/DateRangePicker/DateRangePicker.stories.d.ts +16 -15
- package/dist/Dialog/Dialog.stories.d.ts +41 -40
- package/dist/Divider/Divider.stories.d.ts +285 -6
- package/dist/Drawer/Drawer.stories.d.ts +21 -21
- package/dist/DrawerMenu/DrawerMenu.stories.d.ts +325 -27
- package/dist/Dropdown/Dropdown.stories.d.ts +217 -216
- package/dist/EmptyState/EmptyState.stories.d.ts +1 -0
- package/dist/FooterActions/FooterActions.stories.d.ts +11 -5
- package/dist/FormBody/FormBody.stories.d.ts +10 -1
- package/dist/FormContainer/FormContainer.stories.d.ts +11 -1
- package/dist/FormGroup/FormGroup.stories.d.ts +5 -4
- package/dist/FormHeader/FormHeader.stories.d.ts +18 -2
- package/dist/Grid/Grid.stories.d.ts +389 -0
- package/dist/HeaderToolbar/HeaderToolbar.stories.d.ts +326 -40
- package/dist/Icon/Icon.stories.d.ts +13 -12
- package/dist/IconButton/IconButton.stories.d.ts +21 -20
- package/dist/Icons/doctype-icons.stories.d.ts +16 -16
- package/dist/Icons/leap-icons.stories.d.ts +20 -20
- package/dist/ImageUpload/ImageUpload.stories.d.ts +2 -1
- package/dist/Input/Input.stories.d.ts +409 -340
- package/dist/InputLabel/InputLabel.stories.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stories/resources/tokensColorsLeap.d.ts +2 -2
- package/dist/stories/resources/typographyLeapDesktop.d.ts +2 -2
- package/dist/stories/resources/typographyLeapWeb.d.ts +2 -2
- package/package.json +1 -3
|
@@ -9,6 +9,7 @@ declare const meta: {
|
|
|
9
9
|
title: string;
|
|
10
10
|
parameters: {
|
|
11
11
|
badges: BADGE[];
|
|
12
|
+
layout: string;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
15
|
export default meta;
|
|
@@ -25,22 +26,22 @@ export declare const Default: {
|
|
|
25
26
|
rounded?: boolean | undefined;
|
|
26
27
|
onClick?: (() => void) | undefined;
|
|
27
28
|
onDelete?: (() => void) | undefined;
|
|
28
|
-
avatar?:
|
|
29
|
+
avatar?: React.ReactElement | undefined;
|
|
29
30
|
children?: null | undefined;
|
|
30
31
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
31
32
|
clickable?: boolean | undefined;
|
|
32
33
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
33
|
-
deleteIcon?:
|
|
34
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
34
35
|
disabled?: boolean | undefined;
|
|
35
|
-
icon?:
|
|
36
|
-
label?:
|
|
36
|
+
icon?: React.ReactElement | undefined;
|
|
37
|
+
label?: React.ReactNode;
|
|
37
38
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
38
39
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
39
40
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
40
41
|
tabIndex?: number | undefined;
|
|
41
42
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
42
43
|
className?: string | undefined;
|
|
43
|
-
style?:
|
|
44
|
+
style?: React.CSSProperties | undefined;
|
|
44
45
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
45
46
|
slot?: string | undefined;
|
|
46
47
|
title?: string | undefined;
|
|
@@ -302,7 +303,7 @@ export declare const Default: {
|
|
|
302
303
|
unselectable?: "on" | "off" | undefined;
|
|
303
304
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
304
305
|
is?: string | undefined;
|
|
305
|
-
component?:
|
|
306
|
+
component?: React.ElementType | undefined;
|
|
306
307
|
}>) => Promise<void>;
|
|
307
308
|
render: () => import("react/jsx-runtime").JSX.Element;
|
|
308
309
|
};
|
|
@@ -325,22 +326,22 @@ export declare const Rounded: {
|
|
|
325
326
|
rounded?: boolean | undefined;
|
|
326
327
|
onClick?: (() => void) | undefined;
|
|
327
328
|
onDelete?: (() => void) | undefined;
|
|
328
|
-
avatar?:
|
|
329
|
+
avatar?: React.ReactElement | undefined;
|
|
329
330
|
children?: null | undefined;
|
|
330
331
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
331
332
|
clickable?: boolean | undefined;
|
|
332
333
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
333
|
-
deleteIcon?:
|
|
334
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
334
335
|
disabled?: boolean | undefined;
|
|
335
|
-
icon?:
|
|
336
|
-
label?:
|
|
336
|
+
icon?: React.ReactElement | undefined;
|
|
337
|
+
label?: React.ReactNode;
|
|
337
338
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
338
339
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
339
340
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
340
341
|
tabIndex?: number | undefined;
|
|
341
342
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
342
343
|
className?: string | undefined;
|
|
343
|
-
style?:
|
|
344
|
+
style?: React.CSSProperties | undefined;
|
|
344
345
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
345
346
|
slot?: string | undefined;
|
|
346
347
|
title?: string | undefined;
|
|
@@ -602,7 +603,7 @@ export declare const Rounded: {
|
|
|
602
603
|
unselectable?: "on" | "off" | undefined;
|
|
603
604
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
604
605
|
is?: string | undefined;
|
|
605
|
-
component?:
|
|
606
|
+
component?: React.ElementType | undefined;
|
|
606
607
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
607
608
|
};
|
|
608
609
|
/**
|
|
@@ -624,22 +625,22 @@ export declare const Colours: {
|
|
|
624
625
|
rounded?: boolean | undefined;
|
|
625
626
|
onClick?: (() => void) | undefined;
|
|
626
627
|
onDelete?: (() => void) | undefined;
|
|
627
|
-
avatar?:
|
|
628
|
+
avatar?: React.ReactElement | undefined;
|
|
628
629
|
children?: null | undefined;
|
|
629
630
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
630
631
|
clickable?: boolean | undefined;
|
|
631
632
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
632
|
-
deleteIcon?:
|
|
633
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
633
634
|
disabled?: boolean | undefined;
|
|
634
|
-
icon?:
|
|
635
|
-
label?:
|
|
635
|
+
icon?: React.ReactElement | undefined;
|
|
636
|
+
label?: React.ReactNode;
|
|
636
637
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
637
638
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
638
639
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
639
640
|
tabIndex?: number | undefined;
|
|
640
641
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
641
642
|
className?: string | undefined;
|
|
642
|
-
style?:
|
|
643
|
+
style?: React.CSSProperties | undefined;
|
|
643
644
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
644
645
|
slot?: string | undefined;
|
|
645
646
|
title?: string | undefined;
|
|
@@ -901,7 +902,7 @@ export declare const Colours: {
|
|
|
901
902
|
unselectable?: "on" | "off" | undefined;
|
|
902
903
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
903
904
|
is?: string | undefined;
|
|
904
|
-
component?:
|
|
905
|
+
component?: React.ElementType | undefined;
|
|
905
906
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
906
907
|
};
|
|
907
908
|
/**
|
|
@@ -923,22 +924,22 @@ export declare const Delete: {
|
|
|
923
924
|
rounded?: boolean | undefined;
|
|
924
925
|
onClick?: (() => void) | undefined;
|
|
925
926
|
onDelete?: (() => void) | undefined;
|
|
926
|
-
avatar?:
|
|
927
|
+
avatar?: React.ReactElement | undefined;
|
|
927
928
|
children?: null | undefined;
|
|
928
929
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
929
930
|
clickable?: boolean | undefined;
|
|
930
931
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
931
|
-
deleteIcon?:
|
|
932
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
932
933
|
disabled?: boolean | undefined;
|
|
933
|
-
icon?:
|
|
934
|
-
label?:
|
|
934
|
+
icon?: React.ReactElement | undefined;
|
|
935
|
+
label?: React.ReactNode;
|
|
935
936
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
936
937
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
937
938
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
938
939
|
tabIndex?: number | undefined;
|
|
939
940
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
940
941
|
className?: string | undefined;
|
|
941
|
-
style?:
|
|
942
|
+
style?: React.CSSProperties | undefined;
|
|
942
943
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
943
944
|
slot?: string | undefined;
|
|
944
945
|
title?: string | undefined;
|
|
@@ -1200,7 +1201,7 @@ export declare const Delete: {
|
|
|
1200
1201
|
unselectable?: "on" | "off" | undefined;
|
|
1201
1202
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1202
1203
|
is?: string | undefined;
|
|
1203
|
-
component?:
|
|
1204
|
+
component?: React.ElementType | undefined;
|
|
1204
1205
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
1205
1206
|
};
|
|
1206
1207
|
export declare const DeleteOnClick: {
|
|
@@ -1212,22 +1213,22 @@ export declare const DeleteOnClick: {
|
|
|
1212
1213
|
rounded?: boolean | undefined;
|
|
1213
1214
|
onClick?: (() => void) | undefined;
|
|
1214
1215
|
onDelete?: (() => void) | undefined;
|
|
1215
|
-
avatar?:
|
|
1216
|
+
avatar?: React.ReactElement | undefined;
|
|
1216
1217
|
children?: null | undefined;
|
|
1217
1218
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
1218
1219
|
clickable?: boolean | undefined;
|
|
1219
1220
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
1220
|
-
deleteIcon?:
|
|
1221
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
1221
1222
|
disabled?: boolean | undefined;
|
|
1222
|
-
icon?:
|
|
1223
|
-
label?:
|
|
1223
|
+
icon?: React.ReactElement | undefined;
|
|
1224
|
+
label?: React.ReactNode;
|
|
1224
1225
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
1225
1226
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
1226
1227
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
1227
1228
|
tabIndex?: number | undefined;
|
|
1228
1229
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
1229
1230
|
className?: string | undefined;
|
|
1230
|
-
style?:
|
|
1231
|
+
style?: React.CSSProperties | undefined;
|
|
1231
1232
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
1232
1233
|
slot?: string | undefined;
|
|
1233
1234
|
title?: string | undefined;
|
|
@@ -1489,28 +1490,28 @@ export declare const DeleteOnClick: {
|
|
|
1489
1490
|
unselectable?: "on" | "off" | undefined;
|
|
1490
1491
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1491
1492
|
is?: string | undefined;
|
|
1492
|
-
component?:
|
|
1493
|
+
component?: React.ElementType | undefined;
|
|
1493
1494
|
}>) => Promise<void>;
|
|
1494
1495
|
render: (args: {
|
|
1495
1496
|
rounded?: boolean | undefined;
|
|
1496
1497
|
onClick?: (() => void) | undefined;
|
|
1497
1498
|
onDelete?: (() => void) | undefined;
|
|
1498
|
-
avatar?:
|
|
1499
|
+
avatar?: React.ReactElement | undefined;
|
|
1499
1500
|
children?: null | undefined;
|
|
1500
1501
|
classes?: (Partial<import("@mui/material").ChipClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
1501
1502
|
clickable?: boolean | undefined;
|
|
1502
1503
|
color?: import("@mui/types").OverridableStringUnion<"default" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ChipPropsColorOverrides> | undefined;
|
|
1503
|
-
deleteIcon?:
|
|
1504
|
+
deleteIcon?: React.ReactElement | undefined;
|
|
1504
1505
|
disabled?: boolean | undefined;
|
|
1505
|
-
icon?:
|
|
1506
|
-
label?:
|
|
1506
|
+
icon?: React.ReactElement | undefined;
|
|
1507
|
+
label?: React.ReactNode;
|
|
1507
1508
|
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").ChipPropsSizeOverrides> | undefined;
|
|
1508
1509
|
skipFocusWhenDisabled?: boolean | undefined;
|
|
1509
1510
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
1510
1511
|
tabIndex?: number | undefined;
|
|
1511
1512
|
variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material").ChipPropsVariantOverrides> | undefined;
|
|
1512
1513
|
className?: string | undefined;
|
|
1513
|
-
style?:
|
|
1514
|
+
style?: React.CSSProperties | undefined;
|
|
1514
1515
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
1515
1516
|
slot?: string | undefined;
|
|
1516
1517
|
title?: string | undefined;
|
|
@@ -1772,6 +1773,6 @@ export declare const DeleteOnClick: {
|
|
|
1772
1773
|
unselectable?: "on" | "off" | undefined;
|
|
1773
1774
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1774
1775
|
is?: string | undefined;
|
|
1775
|
-
component?:
|
|
1776
|
+
component?: React.ElementType | undefined;
|
|
1776
1777
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
1777
1778
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const meta: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (props: import("./CssBaseline.types").CssBaselineProps) =>
|
|
3
|
+
component: (props: import("./CssBaseline.types").CssBaselineProps) => React.JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export default meta;
|
|
6
6
|
/**
|
|
@@ -26,7 +26,7 @@ export default meta;
|
|
|
26
26
|
export declare const Default: {
|
|
27
27
|
args: {};
|
|
28
28
|
render: (args: {
|
|
29
|
-
children?:
|
|
29
|
+
children?: React.ReactNode;
|
|
30
30
|
enableColorScheme?: boolean | undefined;
|
|
31
31
|
classes?: Partial<import("@mui/material").ClassNameMap<never>> | undefined;
|
|
32
32
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,6 +23,7 @@ declare const meta: {
|
|
|
23
23
|
title: string;
|
|
24
24
|
parameters: {
|
|
25
25
|
badges: BADGE[];
|
|
26
|
+
layout: string;
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
29
|
export default meta;
|
|
@@ -54,7 +55,7 @@ export declare const Default: {
|
|
|
54
55
|
calendarFocus?: "forwards" | "backwards" | undefined;
|
|
55
56
|
classNames?: import("react-date-range").ClassNames | undefined;
|
|
56
57
|
dateDisplayFormat?: string | undefined;
|
|
57
|
-
dayContentRenderer?: ((date: Date) =>
|
|
58
|
+
dayContentRenderer?: ((date: Date) => React.ReactNode) | undefined;
|
|
58
59
|
dayDisplayFormat?: string | undefined;
|
|
59
60
|
disabledDates?: Date[] | undefined;
|
|
60
61
|
disabledDay?: ((date: Date) => boolean) | undefined;
|
|
@@ -69,7 +70,7 @@ export declare const Default: {
|
|
|
69
70
|
minDate?: Date | undefined;
|
|
70
71
|
monthDisplayFormat?: string | undefined;
|
|
71
72
|
months?: number | undefined;
|
|
72
|
-
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) =>
|
|
73
|
+
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) => React.JSX.Element) | undefined;
|
|
73
74
|
onRangeFocusChange?: ((newFocusedRange: import("react-date-range").RangeFocus) => void) | undefined;
|
|
74
75
|
onShownDateChange?: ((date: Date) => void) | undefined;
|
|
75
76
|
preventSnapRefocus?: boolean | undefined;
|
|
@@ -85,10 +86,10 @@ export declare const Default: {
|
|
|
85
86
|
updateRange?: ((newRange: import("react-date-range").Range) => void) | undefined;
|
|
86
87
|
weekdayDisplayFormat?: string | undefined;
|
|
87
88
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
88
|
-
footerContent?:
|
|
89
|
-
headerContent?:
|
|
89
|
+
footerContent?: React.ReactNode | undefined;
|
|
90
|
+
headerContent?: React.ReactNode | undefined;
|
|
90
91
|
inputRanges?: import("react-date-range").InputRange[] | undefined;
|
|
91
|
-
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) =>
|
|
92
|
+
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) => React.ReactNode) | undefined;
|
|
92
93
|
staticRanges?: import("react-date-range").StaticRange[] | undefined;
|
|
93
94
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
94
95
|
};
|
|
@@ -123,7 +124,7 @@ export declare const SingleMonth: {
|
|
|
123
124
|
calendarFocus?: "forwards" | "backwards" | undefined;
|
|
124
125
|
classNames?: import("react-date-range").ClassNames | undefined;
|
|
125
126
|
dateDisplayFormat?: string | undefined;
|
|
126
|
-
dayContentRenderer?: ((date: Date) =>
|
|
127
|
+
dayContentRenderer?: ((date: Date) => React.ReactNode) | undefined;
|
|
127
128
|
dayDisplayFormat?: string | undefined;
|
|
128
129
|
disabledDates?: Date[] | undefined;
|
|
129
130
|
disabledDay?: ((date: Date) => boolean) | undefined;
|
|
@@ -138,7 +139,7 @@ export declare const SingleMonth: {
|
|
|
138
139
|
minDate?: Date | undefined;
|
|
139
140
|
monthDisplayFormat?: string | undefined;
|
|
140
141
|
months?: number | undefined;
|
|
141
|
-
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) =>
|
|
142
|
+
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) => React.JSX.Element) | undefined;
|
|
142
143
|
onRangeFocusChange?: ((newFocusedRange: import("react-date-range").RangeFocus) => void) | undefined;
|
|
143
144
|
onShownDateChange?: ((date: Date) => void) | undefined;
|
|
144
145
|
preventSnapRefocus?: boolean | undefined;
|
|
@@ -154,10 +155,10 @@ export declare const SingleMonth: {
|
|
|
154
155
|
updateRange?: ((newRange: import("react-date-range").Range) => void) | undefined;
|
|
155
156
|
weekdayDisplayFormat?: string | undefined;
|
|
156
157
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
157
|
-
footerContent?:
|
|
158
|
-
headerContent?:
|
|
158
|
+
footerContent?: React.ReactNode | undefined;
|
|
159
|
+
headerContent?: React.ReactNode | undefined;
|
|
159
160
|
inputRanges?: import("react-date-range").InputRange[] | undefined;
|
|
160
|
-
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) =>
|
|
161
|
+
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) => React.ReactNode) | undefined;
|
|
161
162
|
staticRanges?: import("react-date-range").StaticRange[] | undefined;
|
|
162
163
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
163
164
|
};
|
|
@@ -189,7 +190,7 @@ export declare const NoBorder: {
|
|
|
189
190
|
calendarFocus?: "forwards" | "backwards" | undefined;
|
|
190
191
|
classNames?: import("react-date-range").ClassNames | undefined;
|
|
191
192
|
dateDisplayFormat?: string | undefined;
|
|
192
|
-
dayContentRenderer?: ((date: Date) =>
|
|
193
|
+
dayContentRenderer?: ((date: Date) => React.ReactNode) | undefined;
|
|
193
194
|
dayDisplayFormat?: string | undefined;
|
|
194
195
|
disabledDates?: Date[] | undefined;
|
|
195
196
|
disabledDay?: ((date: Date) => boolean) | undefined;
|
|
@@ -204,7 +205,7 @@ export declare const NoBorder: {
|
|
|
204
205
|
minDate?: Date | undefined;
|
|
205
206
|
monthDisplayFormat?: string | undefined;
|
|
206
207
|
months?: number | undefined;
|
|
207
|
-
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) =>
|
|
208
|
+
navigatorRenderer?: ((currFocusedDate: Date, changeShownDate: (value: Date | number | string, mode?: "set" | "setYear" | "setMonth" | "monthOffset") => void, props: import("react-date-range").CalendarProps) => React.JSX.Element) | undefined;
|
|
208
209
|
onRangeFocusChange?: ((newFocusedRange: import("react-date-range").RangeFocus) => void) | undefined;
|
|
209
210
|
onShownDateChange?: ((date: Date) => void) | undefined;
|
|
210
211
|
preventSnapRefocus?: boolean | undefined;
|
|
@@ -220,10 +221,10 @@ export declare const NoBorder: {
|
|
|
220
221
|
updateRange?: ((newRange: import("react-date-range").Range) => void) | undefined;
|
|
221
222
|
weekdayDisplayFormat?: string | undefined;
|
|
222
223
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
223
|
-
footerContent?:
|
|
224
|
-
headerContent?:
|
|
224
|
+
footerContent?: React.ReactNode | undefined;
|
|
225
|
+
headerContent?: React.ReactNode | undefined;
|
|
225
226
|
inputRanges?: import("react-date-range").InputRange[] | undefined;
|
|
226
|
-
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) =>
|
|
227
|
+
renderStaticRangeLabel?: ((staticRange: import("react-date-range").StaticRange) => React.ReactNode) | undefined;
|
|
227
228
|
staticRanges?: import("react-date-range").StaticRange[] | undefined;
|
|
228
229
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
229
230
|
};
|
|
@@ -12,6 +12,7 @@ declare const meta: {
|
|
|
12
12
|
title: string;
|
|
13
13
|
parameters: {
|
|
14
14
|
badges: BADGE[];
|
|
15
|
+
layout: string;
|
|
15
16
|
};
|
|
16
17
|
argTypes: {
|
|
17
18
|
onBackdropClick: {
|
|
@@ -33,11 +34,11 @@ export declare const Alert: {
|
|
|
33
34
|
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").ReactRenderer, {
|
|
34
35
|
variant?: ("info" | "alert" | "plain") | undefined;
|
|
35
36
|
title?: string | undefined;
|
|
36
|
-
message?:
|
|
37
|
+
message?: React.ReactNode;
|
|
37
38
|
handleClose?: (() => void) | undefined;
|
|
38
39
|
'aria-describedby'?: string | undefined;
|
|
39
40
|
'aria-labelledby'?: string | undefined;
|
|
40
|
-
children?:
|
|
41
|
+
children?: React.ReactNode;
|
|
41
42
|
classes?: Partial<import("@mui/material").DialogClasses> | undefined;
|
|
42
43
|
disableEscapeKeyDown?: boolean | undefined;
|
|
43
44
|
fullScreen?: boolean | undefined;
|
|
@@ -46,12 +47,12 @@ export declare const Alert: {
|
|
|
46
47
|
onBackdropClick?: import("@mui/material").ModalProps["onBackdropClick"];
|
|
47
48
|
onClose?: import("@mui/material").ModalProps["onClose"];
|
|
48
49
|
open: import("@mui/material").ModalProps["open"];
|
|
49
|
-
PaperComponent?:
|
|
50
|
-
PaperProps?: Partial<import("@mui/material").PaperProps<
|
|
50
|
+
PaperComponent?: React.JSXElementConstructor<import("@mui/material").PaperProps> | undefined;
|
|
51
|
+
PaperProps?: Partial<import("@mui/material").PaperProps<React.ElementType>> | undefined;
|
|
51
52
|
scroll?: ("body" | "paper") | undefined;
|
|
52
53
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
53
|
-
TransitionComponent?:
|
|
54
|
-
children:
|
|
54
|
+
TransitionComponent?: React.JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
55
|
+
children: React.ReactElement<any, any>;
|
|
55
56
|
}> | undefined;
|
|
56
57
|
transitionDuration?: import("@mui/material/transitions").TransitionProps["timeout"];
|
|
57
58
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
@@ -324,13 +325,13 @@ export declare const Alert: {
|
|
|
324
325
|
unselectable?: "on" | "off" | undefined;
|
|
325
326
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
326
327
|
is?: string | undefined;
|
|
327
|
-
component?:
|
|
328
|
-
BackdropComponent?:
|
|
328
|
+
component?: React.ElementType | undefined;
|
|
329
|
+
BackdropComponent?: React.ElementType<import("@mui/material").BackdropProps> | undefined;
|
|
329
330
|
BackdropProps?: Partial<import("@mui/material").BackdropProps> | undefined;
|
|
330
331
|
closeAfterTransition?: boolean | undefined;
|
|
331
332
|
components?: {
|
|
332
|
-
Root?:
|
|
333
|
-
Backdrop?:
|
|
333
|
+
Root?: React.ElementType;
|
|
334
|
+
Backdrop?: React.ElementType;
|
|
334
335
|
} | undefined;
|
|
335
336
|
componentsProps?: {
|
|
336
337
|
root?: import("@mui/utils").SlotComponentProps<"div", import("@mui/material").ModalComponentsPropsOverrides, import("@mui/material").ModalOwnerState>;
|
|
@@ -356,11 +357,11 @@ export declare const Alert: {
|
|
|
356
357
|
render: (args: {
|
|
357
358
|
variant?: ("info" | "alert" | "plain") | undefined;
|
|
358
359
|
title?: string | undefined;
|
|
359
|
-
message?:
|
|
360
|
+
message?: React.ReactNode;
|
|
360
361
|
handleClose?: (() => void) | undefined;
|
|
361
362
|
'aria-describedby'?: string | undefined;
|
|
362
363
|
'aria-labelledby'?: string | undefined;
|
|
363
|
-
children?:
|
|
364
|
+
children?: React.ReactNode;
|
|
364
365
|
classes?: Partial<import("@mui/material").DialogClasses> | undefined;
|
|
365
366
|
disableEscapeKeyDown?: boolean | undefined;
|
|
366
367
|
fullScreen?: boolean | undefined;
|
|
@@ -369,12 +370,12 @@ export declare const Alert: {
|
|
|
369
370
|
onBackdropClick?: import("@mui/material").ModalProps["onBackdropClick"];
|
|
370
371
|
onClose?: import("@mui/material").ModalProps["onClose"];
|
|
371
372
|
open: import("@mui/material").ModalProps["open"];
|
|
372
|
-
PaperComponent?:
|
|
373
|
-
PaperProps?: Partial<import("@mui/material").PaperProps<
|
|
373
|
+
PaperComponent?: React.JSXElementConstructor<import("@mui/material").PaperProps> | undefined;
|
|
374
|
+
PaperProps?: Partial<import("@mui/material").PaperProps<React.ElementType>> | undefined;
|
|
374
375
|
scroll?: ("body" | "paper") | undefined;
|
|
375
376
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
376
|
-
TransitionComponent?:
|
|
377
|
-
children:
|
|
377
|
+
TransitionComponent?: React.JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
378
|
+
children: React.ReactElement<any, any>;
|
|
378
379
|
}> | undefined;
|
|
379
380
|
transitionDuration?: import("@mui/material/transitions").TransitionProps["timeout"];
|
|
380
381
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
@@ -647,13 +648,13 @@ export declare const Alert: {
|
|
|
647
648
|
unselectable?: "on" | "off" | undefined;
|
|
648
649
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
649
650
|
is?: string | undefined;
|
|
650
|
-
component?:
|
|
651
|
-
BackdropComponent?:
|
|
651
|
+
component?: React.ElementType | undefined;
|
|
652
|
+
BackdropComponent?: React.ElementType<import("@mui/material").BackdropProps> | undefined;
|
|
652
653
|
BackdropProps?: Partial<import("@mui/material").BackdropProps> | undefined;
|
|
653
654
|
closeAfterTransition?: boolean | undefined;
|
|
654
655
|
components?: {
|
|
655
|
-
Root?:
|
|
656
|
-
Backdrop?:
|
|
656
|
+
Root?: React.ElementType;
|
|
657
|
+
Backdrop?: React.ElementType;
|
|
657
658
|
} | undefined;
|
|
658
659
|
componentsProps?: {
|
|
659
660
|
root?: import("@mui/utils").SlotComponentProps<"div", import("@mui/material").ModalComponentsPropsOverrides, import("@mui/material").ModalOwnerState>;
|
|
@@ -687,11 +688,11 @@ export declare const Info: {
|
|
|
687
688
|
render: (args: {
|
|
688
689
|
variant?: ("info" | "alert" | "plain") | undefined;
|
|
689
690
|
title?: string | undefined;
|
|
690
|
-
message?:
|
|
691
|
+
message?: React.ReactNode;
|
|
691
692
|
handleClose?: (() => void) | undefined;
|
|
692
693
|
'aria-describedby'?: string | undefined;
|
|
693
694
|
'aria-labelledby'?: string | undefined;
|
|
694
|
-
children?:
|
|
695
|
+
children?: React.ReactNode;
|
|
695
696
|
classes?: Partial<import("@mui/material").DialogClasses> | undefined;
|
|
696
697
|
disableEscapeKeyDown?: boolean | undefined;
|
|
697
698
|
fullScreen?: boolean | undefined;
|
|
@@ -700,12 +701,12 @@ export declare const Info: {
|
|
|
700
701
|
onBackdropClick?: import("@mui/material").ModalProps["onBackdropClick"];
|
|
701
702
|
onClose?: import("@mui/material").ModalProps["onClose"];
|
|
702
703
|
open: import("@mui/material").ModalProps["open"];
|
|
703
|
-
PaperComponent?:
|
|
704
|
-
PaperProps?: Partial<import("@mui/material").PaperProps<
|
|
704
|
+
PaperComponent?: React.JSXElementConstructor<import("@mui/material").PaperProps> | undefined;
|
|
705
|
+
PaperProps?: Partial<import("@mui/material").PaperProps<React.ElementType>> | undefined;
|
|
705
706
|
scroll?: ("body" | "paper") | undefined;
|
|
706
707
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
707
|
-
TransitionComponent?:
|
|
708
|
-
children:
|
|
708
|
+
TransitionComponent?: React.JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
709
|
+
children: React.ReactElement<any, any>;
|
|
709
710
|
}> | undefined;
|
|
710
711
|
transitionDuration?: import("@mui/material/transitions").TransitionProps["timeout"];
|
|
711
712
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
@@ -978,13 +979,13 @@ export declare const Info: {
|
|
|
978
979
|
unselectable?: "on" | "off" | undefined;
|
|
979
980
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
980
981
|
is?: string | undefined;
|
|
981
|
-
component?:
|
|
982
|
-
BackdropComponent?:
|
|
982
|
+
component?: React.ElementType | undefined;
|
|
983
|
+
BackdropComponent?: React.ElementType<import("@mui/material").BackdropProps> | undefined;
|
|
983
984
|
BackdropProps?: Partial<import("@mui/material").BackdropProps> | undefined;
|
|
984
985
|
closeAfterTransition?: boolean | undefined;
|
|
985
986
|
components?: {
|
|
986
|
-
Root?:
|
|
987
|
-
Backdrop?:
|
|
987
|
+
Root?: React.ElementType;
|
|
988
|
+
Backdrop?: React.ElementType;
|
|
988
989
|
} | undefined;
|
|
989
990
|
componentsProps?: {
|
|
990
991
|
root?: import("@mui/utils").SlotComponentProps<"div", import("@mui/material").ModalComponentsPropsOverrides, import("@mui/material").ModalOwnerState>;
|
|
@@ -1016,11 +1017,11 @@ export declare const PlainVariant: {
|
|
|
1016
1017
|
render: (args: {
|
|
1017
1018
|
variant?: ("info" | "alert" | "plain") | undefined;
|
|
1018
1019
|
title?: string | undefined;
|
|
1019
|
-
message?:
|
|
1020
|
+
message?: React.ReactNode;
|
|
1020
1021
|
handleClose?: (() => void) | undefined;
|
|
1021
1022
|
'aria-describedby'?: string | undefined;
|
|
1022
1023
|
'aria-labelledby'?: string | undefined;
|
|
1023
|
-
children?:
|
|
1024
|
+
children?: React.ReactNode;
|
|
1024
1025
|
classes?: Partial<import("@mui/material").DialogClasses> | undefined;
|
|
1025
1026
|
disableEscapeKeyDown?: boolean | undefined;
|
|
1026
1027
|
fullScreen?: boolean | undefined;
|
|
@@ -1029,12 +1030,12 @@ export declare const PlainVariant: {
|
|
|
1029
1030
|
onBackdropClick?: import("@mui/material").ModalProps["onBackdropClick"];
|
|
1030
1031
|
onClose?: import("@mui/material").ModalProps["onClose"];
|
|
1031
1032
|
open: import("@mui/material").ModalProps["open"];
|
|
1032
|
-
PaperComponent?:
|
|
1033
|
-
PaperProps?: Partial<import("@mui/material").PaperProps<
|
|
1033
|
+
PaperComponent?: React.JSXElementConstructor<import("@mui/material").PaperProps> | undefined;
|
|
1034
|
+
PaperProps?: Partial<import("@mui/material").PaperProps<React.ElementType>> | undefined;
|
|
1034
1035
|
scroll?: ("body" | "paper") | undefined;
|
|
1035
1036
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
1036
|
-
TransitionComponent?:
|
|
1037
|
-
children:
|
|
1037
|
+
TransitionComponent?: React.JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
|
1038
|
+
children: React.ReactElement<any, any>;
|
|
1038
1039
|
}> | undefined;
|
|
1039
1040
|
transitionDuration?: import("@mui/material/transitions").TransitionProps["timeout"];
|
|
1040
1041
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
@@ -1307,13 +1308,13 @@ export declare const PlainVariant: {
|
|
|
1307
1308
|
unselectable?: "on" | "off" | undefined;
|
|
1308
1309
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1309
1310
|
is?: string | undefined;
|
|
1310
|
-
component?:
|
|
1311
|
-
BackdropComponent?:
|
|
1311
|
+
component?: React.ElementType | undefined;
|
|
1312
|
+
BackdropComponent?: React.ElementType<import("@mui/material").BackdropProps> | undefined;
|
|
1312
1313
|
BackdropProps?: Partial<import("@mui/material").BackdropProps> | undefined;
|
|
1313
1314
|
closeAfterTransition?: boolean | undefined;
|
|
1314
1315
|
components?: {
|
|
1315
|
-
Root?:
|
|
1316
|
-
Backdrop?:
|
|
1316
|
+
Root?: React.ElementType;
|
|
1317
|
+
Backdrop?: React.ElementType;
|
|
1317
1318
|
} | undefined;
|
|
1318
1319
|
componentsProps?: {
|
|
1319
1320
|
root?: import("@mui/utils").SlotComponentProps<"div", import("@mui/material").ModalComponentsPropsOverrides, import("@mui/material").ModalOwnerState>;
|