@galaxy-ds/core 2.0.26 → 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
|
@@ -23,24 +23,24 @@ export declare const Default: {
|
|
|
23
23
|
args: {};
|
|
24
24
|
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").ReactRenderer, {
|
|
25
25
|
bgColor?: string | undefined;
|
|
26
|
-
children?:
|
|
26
|
+
children?: React.ReactNode;
|
|
27
27
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
28
|
-
expandIcon?:
|
|
28
|
+
expandIcon?: React.ReactNode;
|
|
29
29
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
30
|
-
tabIndex?: NonNullable<
|
|
30
|
+
tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
|
|
31
31
|
disabled?: boolean | undefined;
|
|
32
|
-
action?:
|
|
32
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
33
33
|
centerRipple?: boolean | undefined;
|
|
34
34
|
disableRipple?: boolean | undefined;
|
|
35
35
|
disableTouchRipple?: boolean | undefined;
|
|
36
36
|
focusRipple?: boolean | undefined;
|
|
37
37
|
focusVisibleClassName?: string | undefined;
|
|
38
|
-
LinkComponent?:
|
|
39
|
-
onFocusVisible?:
|
|
38
|
+
LinkComponent?: React.ElementType | undefined;
|
|
39
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
40
40
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
41
|
-
touchRippleRef?:
|
|
41
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
42
42
|
className?: string | undefined;
|
|
43
|
-
style?:
|
|
43
|
+
style?: React.CSSProperties | undefined;
|
|
44
44
|
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
45
|
color?: string | undefined;
|
|
46
46
|
slot?: string | undefined;
|
|
@@ -304,7 +304,7 @@ export declare const Default: {
|
|
|
304
304
|
unselectable?: "on" | "off" | undefined;
|
|
305
305
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
306
306
|
is?: string | undefined;
|
|
307
|
-
component?:
|
|
307
|
+
component?: React.ElementType | undefined;
|
|
308
308
|
}>) => Promise<void>;
|
|
309
309
|
parameters: {
|
|
310
310
|
docs: {
|
|
@@ -315,24 +315,24 @@ export declare const Default: {
|
|
|
315
315
|
};
|
|
316
316
|
render: (args: {
|
|
317
317
|
bgColor?: string | undefined;
|
|
318
|
-
children?:
|
|
318
|
+
children?: React.ReactNode;
|
|
319
319
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
320
|
-
expandIcon?:
|
|
320
|
+
expandIcon?: React.ReactNode;
|
|
321
321
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
322
|
-
tabIndex?: NonNullable<
|
|
322
|
+
tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
|
|
323
323
|
disabled?: boolean | undefined;
|
|
324
|
-
action?:
|
|
324
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
325
325
|
centerRipple?: boolean | undefined;
|
|
326
326
|
disableRipple?: boolean | undefined;
|
|
327
327
|
disableTouchRipple?: boolean | undefined;
|
|
328
328
|
focusRipple?: boolean | undefined;
|
|
329
329
|
focusVisibleClassName?: string | undefined;
|
|
330
|
-
LinkComponent?:
|
|
331
|
-
onFocusVisible?:
|
|
330
|
+
LinkComponent?: React.ElementType | undefined;
|
|
331
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
332
332
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
333
|
-
touchRippleRef?:
|
|
333
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
334
334
|
className?: string | undefined;
|
|
335
|
-
style?:
|
|
335
|
+
style?: React.CSSProperties | undefined;
|
|
336
336
|
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;
|
|
337
337
|
color?: string | undefined;
|
|
338
338
|
slot?: string | undefined;
|
|
@@ -596,7 +596,7 @@ export declare const Default: {
|
|
|
596
596
|
unselectable?: "on" | "off" | undefined;
|
|
597
597
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
598
598
|
is?: string | undefined;
|
|
599
|
-
component?:
|
|
599
|
+
component?: React.ElementType | undefined;
|
|
600
600
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
601
601
|
};
|
|
602
602
|
/**
|
|
@@ -616,24 +616,24 @@ export declare const BackgroundColor: {
|
|
|
616
616
|
};
|
|
617
617
|
render: (args: {
|
|
618
618
|
bgColor?: string | undefined;
|
|
619
|
-
children?:
|
|
619
|
+
children?: React.ReactNode;
|
|
620
620
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
621
|
-
expandIcon?:
|
|
621
|
+
expandIcon?: React.ReactNode;
|
|
622
622
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
623
|
-
tabIndex?: NonNullable<
|
|
623
|
+
tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
|
|
624
624
|
disabled?: boolean | undefined;
|
|
625
|
-
action?:
|
|
625
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
626
626
|
centerRipple?: boolean | undefined;
|
|
627
627
|
disableRipple?: boolean | undefined;
|
|
628
628
|
disableTouchRipple?: boolean | undefined;
|
|
629
629
|
focusRipple?: boolean | undefined;
|
|
630
630
|
focusVisibleClassName?: string | undefined;
|
|
631
|
-
LinkComponent?:
|
|
632
|
-
onFocusVisible?:
|
|
631
|
+
LinkComponent?: React.ElementType | undefined;
|
|
632
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
633
633
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
634
|
-
touchRippleRef?:
|
|
634
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
635
635
|
className?: string | undefined;
|
|
636
|
-
style?:
|
|
636
|
+
style?: React.CSSProperties | undefined;
|
|
637
637
|
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;
|
|
638
638
|
color?: string | undefined;
|
|
639
639
|
slot?: string | undefined;
|
|
@@ -897,6 +897,6 @@ export declare const BackgroundColor: {
|
|
|
897
897
|
unselectable?: "on" | "off" | undefined;
|
|
898
898
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
899
899
|
is?: string | undefined;
|
|
900
|
-
component?:
|
|
900
|
+
component?: React.ElementType | undefined;
|
|
901
901
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
902
902
|
};
|
|
@@ -13,7 +13,25 @@ declare const meta: {
|
|
|
13
13
|
title: string;
|
|
14
14
|
parameters: {
|
|
15
15
|
badges: BADGE[];
|
|
16
|
+
layout: string;
|
|
16
17
|
};
|
|
18
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
nameRef?: React.MutableRefObject<HTMLSpanElement> | undefined;
|
|
21
|
+
time?: string | undefined;
|
|
22
|
+
ext?: string | undefined;
|
|
23
|
+
iconURL?: string | undefined;
|
|
24
|
+
users?: import("./ActivityLog.types").UserType[] | undefined;
|
|
25
|
+
action?: import("./ActivityLog.types").ActionType[] | undefined;
|
|
26
|
+
attachment?: boolean | undefined;
|
|
27
|
+
avatarGroupTooltip?: string | undefined;
|
|
28
|
+
cost?: string | undefined;
|
|
29
|
+
hover?: boolean | undefined;
|
|
30
|
+
tooltip?: string | undefined;
|
|
31
|
+
insertIconTooltip?: string | undefined;
|
|
32
|
+
onAttach?: (() => void) | undefined;
|
|
33
|
+
onClick?: (() => void) | undefined;
|
|
34
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
17
35
|
};
|
|
18
36
|
export default meta;
|
|
19
37
|
export declare const Default: {
|
|
@@ -34,7 +52,7 @@ export declare const Default: {
|
|
|
34
52
|
};
|
|
35
53
|
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").ReactRenderer, {
|
|
36
54
|
name?: string | undefined;
|
|
37
|
-
nameRef?:
|
|
55
|
+
nameRef?: React.MutableRefObject<HTMLSpanElement> | undefined;
|
|
38
56
|
time?: string | undefined;
|
|
39
57
|
ext?: string | undefined;
|
|
40
58
|
iconURL?: string | undefined;
|