@luscii-healthtech/web-ui 40.3.2 → 40.3.4
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/.storybook/constants.d.ts +24 -7
- package/dist/.storybook/decorators.d.ts +1 -1
- package/dist/stories/Accordion.stories.d.ts +2 -5
- package/dist/stories/AccordionList.stories.d.ts +8 -8
- package/dist/stories/AlertsWidget.stories.d.ts +1 -1
- package/dist/stories/AsideLayout.stories.d.ts +1 -1
- package/dist/stories/Avatar.stories.d.ts +1 -1
- package/dist/stories/Badge.stories.d.ts +1 -1
- package/dist/stories/BaseList.stories.d.ts +1 -1
- package/dist/stories/Box.stories.d.ts +1 -1
- package/dist/stories/Breadcrumbs.stories.d.ts +1 -1
- package/dist/stories/Button.stories.d.ts +2 -2
- package/dist/stories/CRUDPage.stories.d.ts +1 -1
- package/dist/stories/Card.stories.d.ts +1 -1
- package/dist/stories/CenteredHero.stories.d.ts +1 -1
- package/dist/stories/ChatBubble.stories.d.ts +2 -3
- package/dist/stories/CheckBoxListModal.stories.d.ts +1 -1
- package/dist/stories/Checkbox.stories.d.ts +1 -1
- package/dist/stories/CheckboxList.stories.d.ts +2 -5
- package/dist/stories/Chip.stories.d.ts +1 -1
- package/dist/stories/Collapse.stories.d.ts +2 -5
- package/dist/stories/ConfirmationDialog.stories.d.ts +1 -1
- package/dist/stories/DatePicker.stories.d.ts +2 -2
- package/dist/stories/DetailsDisclosure.stories.d.ts +21 -22
- package/dist/stories/Divider.stories.d.ts +1 -1
- package/dist/stories/DraggableAccordionList.stories.d.ts +1 -1
- package/dist/stories/DraggableList.stories.d.ts +1 -1
- package/dist/stories/Dropdown.stories.d.ts +2 -5
- package/dist/stories/Dropzone.stories.d.ts +1 -1
- package/dist/stories/FilePreview.stories.d.ts +2 -2
- package/dist/stories/FileUpload.stories.d.ts +1 -1
- package/dist/stories/FilterBar.stories.d.ts +1 -1
- package/dist/stories/FlexContainer.stories.d.ts +1 -1
- package/dist/stories/FlyOutMenu.stories.d.ts +1 -1
- package/dist/stories/FullPageModal.stories.d.ts +5 -5
- package/dist/stories/HoverCard.stories.d.ts +1 -1
- package/dist/stories/HoverIndicatorControl.stories.d.ts +1 -1
- package/dist/stories/Icon.stories.d.ts +1 -1
- package/dist/stories/InfoField.stories.d.ts +2 -5
- package/dist/stories/Input.stories.d.ts +1 -1
- package/dist/stories/LabeledDatePicker.stories.d.ts +2 -3
- package/dist/stories/LabeledInput.stories.d.ts +2 -3
- package/dist/stories/LabeledRadio.stories.d.ts +1 -1
- package/dist/stories/Link.stories.d.ts +2 -5
- package/dist/stories/LinkIcon.stories.d.ts +1 -1
- package/dist/stories/List.stories.d.ts +3 -3
- package/dist/stories/MediaPicker.stories.d.ts +1 -1
- package/dist/stories/Modal.stories.d.ts +8 -8
- package/dist/stories/ModalDialog.stories.d.ts +97 -98
- package/dist/stories/NavLayout.stories.d.ts +3 -3
- package/dist/stories/NotificationBanner.stories.d.ts +3 -3
- package/dist/stories/PageHeader.stories.d.ts +1 -1
- package/dist/stories/Pagination.stories.d.ts +1 -1
- package/dist/stories/PreviewPhone.stories.d.ts +1 -1
- package/dist/stories/PrimaryButton.stories.d.ts +2 -2
- package/dist/stories/PrimaryIconButton.stories.d.ts +2 -2
- package/dist/stories/SearchInput.stories.d.ts +2 -5
- package/dist/stories/SecondaryButton.stories.d.ts +2 -2
- package/dist/stories/SecondaryIconButton.stories.d.ts +2 -2
- package/dist/stories/Section.stories.d.ts +1 -1
- package/dist/stories/Select.stories.d.ts +10 -10
- package/dist/stories/SettingsMenuButton.stories.d.ts +4 -4
- package/dist/stories/Skeleton.stories.d.ts +1 -1
- package/dist/stories/SortableList.stories.d.ts +1 -1
- package/dist/stories/Spinner.stories.d.ts +2 -5
- package/dist/stories/SplitViewLayout.stories.d.ts +2 -5
- package/dist/stories/Stack.stories.d.ts +1 -1
- package/dist/stories/StatusIndicator.stories.d.ts +1 -1
- package/dist/stories/Switch.stories.d.ts +1 -1
- package/dist/stories/Switcher.stories.d.ts +3 -3
- package/dist/stories/Tabbar.stories.d.ts +1 -1
- package/dist/stories/Table.stories.d.ts +4 -4
- package/dist/stories/Tag.stories.d.ts +1 -1
- package/dist/stories/TertiaryButton.stories.d.ts +2 -2
- package/dist/stories/TertiaryIconButton.stories.d.ts +2 -2
- package/dist/stories/Text.stories.d.ts +1 -1
- package/dist/stories/TextColors.stories.d.ts +1 -1
- package/dist/stories/TextEditor.stories.d.ts +2 -2
- package/dist/stories/TextLink.stories.d.ts +2 -5
- package/dist/stories/Timeline.stories.d.ts +1 -1
- package/dist/stories/TimelineCard.stories.d.ts +1 -1
- package/dist/stories/TimelineCardLayout.stories.d.ts +1 -1
- package/dist/stories/Title.stories.d.ts +2 -5
- package/dist/stories/Toaster.stories.d.ts +1 -1
- package/dist/stories/Tooltip.stories.d.ts +1 -1
- package/dist/stories/UnorderedList.stories.d.ts +2 -3
- package/dist/stories/VerticalMenu.stories.d.ts +1 -1
- package/dist/stories/WeekdaysPicker.stories.d.ts +2 -3
- package/package.json +12 -19
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type Meta } from "@storybook/react-webpack5";
|
|
2
|
+
export declare const BADGES: {
|
|
3
|
+
readonly NEEDS_REVISION: "needs-revision";
|
|
4
|
+
readonly DOCUMENTED: "documented";
|
|
5
|
+
readonly STABLE: "stable";
|
|
6
|
+
readonly NEW: "new";
|
|
7
|
+
readonly DEPRECATED: "deprecated";
|
|
8
|
+
};
|
|
9
|
+
type TAGS = (typeof BADGES)[keyof typeof BADGES][];
|
|
10
|
+
/**
|
|
11
|
+
* A drop-in replacements for `"@storybook/react-webpack5"`'s Meta type which extends the type with web-ui's tags.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
*
|
|
15
|
+
* const meta = {
|
|
16
|
+
* title: "Layout/SplitViewLayout",
|
|
17
|
+
* component: Component,
|
|
18
|
+
* tags: ["new"], // `tags` is now type-checked and auto-completes
|
|
19
|
+
* } satisfies MMeta<typeof Component>;
|
|
20
|
+
*/
|
|
21
|
+
export type MMeta<T> = Meta<T> & {
|
|
22
|
+
tags: TAGS;
|
|
23
|
+
};
|
|
8
24
|
/**
|
|
9
25
|
* For stories specifically used in the Docs page that are not intended
|
|
10
26
|
* to be used for snapshots. E.g. stories that are used to demonstrate
|
|
@@ -16,3 +32,4 @@ export declare const NO_SNAPSHOT_PARAMS: {
|
|
|
16
32
|
disableSnapshot: boolean;
|
|
17
33
|
};
|
|
18
34
|
};
|
|
35
|
+
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
2
|
-
import { BADGES } from "../.storybook/constants";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import("react").FC<import("../src/components/Accordion/Accordion").AccordionProps>;
|
|
6
|
-
|
|
7
|
-
badges: BADGES[];
|
|
8
|
-
};
|
|
5
|
+
tags: "needs-revision"[];
|
|
9
6
|
};
|
|
10
7
|
export default meta;
|
|
11
8
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import AccordionList, { type AccordionListProps } from "../src/components/AccordionList/AccordionList";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
@@ -9,14 +9,14 @@ declare const _default: {
|
|
|
9
9
|
export default _default;
|
|
10
10
|
type Story = StoryObj<typeof AccordionList>;
|
|
11
11
|
export declare const SimpleAccordionList: {
|
|
12
|
-
render: import("
|
|
12
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, AccordionListProps>;
|
|
13
13
|
args: {
|
|
14
14
|
id: string;
|
|
15
15
|
localisations: {
|
|
16
16
|
title: string;
|
|
17
17
|
};
|
|
18
18
|
buttonProps: {
|
|
19
|
-
onClick: import("
|
|
19
|
+
onClick: import("storybook/actions").HandlerFunction;
|
|
20
20
|
text: string;
|
|
21
21
|
icon: ({ className, size, color, ...rest }: import("../src").IconProps) => JSX.Element;
|
|
22
22
|
className: string;
|
|
@@ -37,7 +37,7 @@ export declare const SimpleAccordionList: {
|
|
|
37
37
|
export declare const SearchableAccordionList: Story;
|
|
38
38
|
export declare const SearchableAccordionListByItemId: Story;
|
|
39
39
|
export declare const LoadingAccordionList: {
|
|
40
|
-
render: import("
|
|
40
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, AccordionListProps>;
|
|
41
41
|
args: {
|
|
42
42
|
id: string;
|
|
43
43
|
localisations: {
|
|
@@ -47,7 +47,7 @@ export declare const LoadingAccordionList: {
|
|
|
47
47
|
};
|
|
48
48
|
isSearchEnabled: boolean;
|
|
49
49
|
buttonProps: {
|
|
50
|
-
onClick: import("
|
|
50
|
+
onClick: import("storybook/actions").HandlerFunction;
|
|
51
51
|
text: string;
|
|
52
52
|
icon: ({ className, size, color, ...rest }: import("../src").IconProps) => JSX.Element;
|
|
53
53
|
className: string;
|
|
@@ -57,7 +57,7 @@ export declare const LoadingAccordionList: {
|
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
export declare const WithActions: {
|
|
60
|
-
render: import("
|
|
60
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, AccordionListProps>;
|
|
61
61
|
args: {
|
|
62
62
|
id: string;
|
|
63
63
|
localisations: {
|
|
@@ -73,7 +73,7 @@ export declare const WithActions: {
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
export declare const WithActionsInHeader: {
|
|
76
|
-
render: import("
|
|
76
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, AccordionListProps>;
|
|
77
77
|
args: {
|
|
78
78
|
id: string;
|
|
79
79
|
localisations: {
|
|
@@ -91,7 +91,7 @@ export declare const WithActionsInHeader: {
|
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
export declare const WithErrorState: {
|
|
94
|
-
render: import("
|
|
94
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, AccordionListProps>;
|
|
95
95
|
args: {
|
|
96
96
|
id: string;
|
|
97
97
|
localisations: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: <C extends import("react").ElementType = "div">(props: import("../src/components/Box/Box").Props<C>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("react").ForwardRefExoticComponent<Omit<import("../src/components/ButtonV2/ButtonProps.type").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
decorators: import("@storybook/react").Decorator;
|
|
5
|
+
decorators: import("@storybook/react-webpack5").Decorator;
|
|
6
6
|
};
|
|
7
7
|
export default meta;
|
|
8
8
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import { ChatBubble } from "../src";
|
|
3
|
-
import { BADGES } from "../.storybook/constants";
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: typeof ChatBubble;
|
|
@@ -8,8 +7,8 @@ declare const meta: {
|
|
|
8
7
|
backgrounds: {
|
|
9
8
|
default: string;
|
|
10
9
|
};
|
|
11
|
-
badges: BADGES[];
|
|
12
10
|
};
|
|
11
|
+
tags: "new"[];
|
|
13
12
|
};
|
|
14
13
|
export default meta;
|
|
15
14
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
2
|
-
import { BADGES } from "../.storybook/constants";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import("react").FC<import("../src").CheckboxListProps>;
|
|
6
|
-
|
|
7
|
-
badges: BADGES[];
|
|
8
|
-
};
|
|
5
|
+
tags: "new"[];
|
|
9
6
|
};
|
|
10
7
|
export default meta;
|
|
11
8
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
2
|
-
import { BADGES } from "../.storybook/constants";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: (props: {
|
|
@@ -11,9 +10,7 @@ declare const meta: {
|
|
|
11
10
|
moreIndicator?: import("react").ReactNode;
|
|
12
11
|
showMoreIndicator?: boolean;
|
|
13
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
|
|
15
|
-
badges: BADGES[];
|
|
16
|
-
};
|
|
13
|
+
tags: "new"[];
|
|
17
14
|
};
|
|
18
15
|
export default meta;
|
|
19
16
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: (props: import("../src/components/DatePicker/DatePicker").DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -22,7 +22,7 @@ declare const meta: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
decorators: ((Story: import("
|
|
25
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
26
26
|
locale?: keyof typeof import("../src/system/Locale").LOCALE_MAP | undefined;
|
|
27
27
|
className?: string | undefined;
|
|
28
28
|
selected?: Date | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type FC } from "react";
|
|
2
|
-
import { type StoryObj } from "@storybook/react";
|
|
3
|
-
import { BADGES } from "../.storybook/constants";
|
|
2
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: FC<Omit<Omit<import("react").DetailedHTMLProps<import("react").DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & Partial<Record<"p" | "m" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "mt" | "mr" | "mb" | "ml" | "mx" | "my", "none" | "s" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
|
|
@@ -27,11 +26,11 @@ declare const meta: {
|
|
|
27
26
|
Summary: typeof import("../src/components/DetailsDisclosure/DetailsDisclosure").Summary;
|
|
28
27
|
};
|
|
29
28
|
parameters: {
|
|
30
|
-
badges: BADGES[];
|
|
31
29
|
backgrounds: {
|
|
32
30
|
default: string;
|
|
33
31
|
};
|
|
34
32
|
};
|
|
33
|
+
tags: "new"[];
|
|
35
34
|
};
|
|
36
35
|
export default meta;
|
|
37
36
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1221,7 +1220,7 @@ export declare const OpenByDefault: {
|
|
|
1221
1220
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
1222
1221
|
onToggleDetails?: (isOpen: boolean) => void;
|
|
1223
1222
|
};
|
|
1224
|
-
decorators?: import("
|
|
1223
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/react-webpack5").ReactRenderer, {
|
|
1225
1224
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
1226
1225
|
children?: import("react").ReactNode;
|
|
1227
1226
|
className?: string | undefined | undefined;
|
|
@@ -1811,7 +1810,7 @@ export declare const OpenByDefault: {
|
|
|
1811
1810
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
1812
1811
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
1813
1812
|
openByDefault?: never | undefined;
|
|
1814
|
-
}> | import("
|
|
1813
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/react-webpack5").ReactRenderer, {
|
|
1815
1814
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
1816
1815
|
children?: import("react").ReactNode;
|
|
1817
1816
|
className?: string | undefined | undefined;
|
|
@@ -2402,8 +2401,8 @@ export declare const OpenByDefault: {
|
|
|
2402
2401
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
2403
2402
|
openByDefault?: never | undefined;
|
|
2404
2403
|
}>[] | undefined;
|
|
2405
|
-
parameters?: import("@storybook/react").Parameters;
|
|
2406
|
-
argTypes?: Partial<import("@storybook/react").ArgTypes<{
|
|
2404
|
+
parameters?: import("@storybook/react-webpack5").Parameters | undefined;
|
|
2405
|
+
argTypes?: Partial<import("@storybook/react-webpack5").ArgTypes<{
|
|
2407
2406
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
2408
2407
|
children?: import("react").ReactNode;
|
|
2409
2408
|
className?: string | undefined | undefined;
|
|
@@ -2994,7 +2993,7 @@ export declare const OpenByDefault: {
|
|
|
2994
2993
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
2995
2994
|
openByDefault?: never | undefined;
|
|
2996
2995
|
}>> | undefined;
|
|
2997
|
-
loaders?: import("
|
|
2996
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/react-webpack5").ReactRenderer, {
|
|
2998
2997
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
2999
2998
|
children?: import("react").ReactNode;
|
|
3000
2999
|
className?: string | undefined | undefined;
|
|
@@ -3584,7 +3583,7 @@ export declare const OpenByDefault: {
|
|
|
3584
3583
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
3585
3584
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
3586
3585
|
openByDefault?: never | undefined;
|
|
3587
|
-
}> | import("
|
|
3586
|
+
}> | import("storybook/internal/csf").LoaderFunction<import("@storybook/react-webpack5").ReactRenderer, {
|
|
3588
3587
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
3589
3588
|
children?: import("react").ReactNode;
|
|
3590
3589
|
className?: string | undefined | undefined;
|
|
@@ -4175,7 +4174,7 @@ export declare const OpenByDefault: {
|
|
|
4175
4174
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
4176
4175
|
openByDefault?: never | undefined;
|
|
4177
4176
|
}>[] | undefined;
|
|
4178
|
-
beforeEach?: import("
|
|
4177
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/react-webpack5").ReactRenderer, {
|
|
4179
4178
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
4180
4179
|
children?: import("react").ReactNode;
|
|
4181
4180
|
className?: string | undefined | undefined;
|
|
@@ -4765,7 +4764,7 @@ export declare const OpenByDefault: {
|
|
|
4765
4764
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
4766
4765
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
4767
4766
|
openByDefault?: never | undefined;
|
|
4768
|
-
}> | import("
|
|
4767
|
+
}> | import("storybook/internal/csf").BeforeEach<import("@storybook/react-webpack5").ReactRenderer, {
|
|
4769
4768
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
4770
4769
|
children?: import("react").ReactNode;
|
|
4771
4770
|
className?: string | undefined | undefined;
|
|
@@ -5356,7 +5355,7 @@ export declare const OpenByDefault: {
|
|
|
5356
5355
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
5357
5356
|
openByDefault?: never | undefined;
|
|
5358
5357
|
}>[] | undefined;
|
|
5359
|
-
|
|
5358
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/react-webpack5").ReactRenderer, {
|
|
5360
5359
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
5361
5360
|
children?: import("react").ReactNode;
|
|
5362
5361
|
className?: string | undefined | undefined;
|
|
@@ -5946,7 +5945,7 @@ export declare const OpenByDefault: {
|
|
|
5946
5945
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
5947
5946
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
5948
5947
|
openByDefault?: never | undefined;
|
|
5949
|
-
}> | import("
|
|
5948
|
+
}> | import("storybook/internal/csf").AfterEach<import("@storybook/react-webpack5").ReactRenderer, {
|
|
5950
5949
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
5951
5950
|
children?: import("react").ReactNode;
|
|
5952
5951
|
className?: string | undefined | undefined;
|
|
@@ -6537,7 +6536,7 @@ export declare const OpenByDefault: {
|
|
|
6537
6536
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
6538
6537
|
openByDefault?: never | undefined;
|
|
6539
6538
|
}>[] | undefined;
|
|
6540
|
-
render?: import("
|
|
6539
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
6541
6540
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
6542
6541
|
children?: import("react").ReactNode;
|
|
6543
6542
|
className?: string | undefined | undefined;
|
|
@@ -7128,8 +7127,8 @@ export declare const OpenByDefault: {
|
|
|
7128
7127
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
7129
7128
|
openByDefault?: never | undefined;
|
|
7130
7129
|
}> | undefined;
|
|
7131
|
-
tags?: import("
|
|
7132
|
-
mount?: ((context: import("
|
|
7130
|
+
tags?: import("storybook/internal/csf").Tag[];
|
|
7131
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/react-webpack5").ReactRenderer, {
|
|
7133
7132
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
7134
7133
|
children?: import("react").ReactNode;
|
|
7135
7134
|
className?: string | undefined | undefined;
|
|
@@ -7719,10 +7718,10 @@ export declare const OpenByDefault: {
|
|
|
7719
7718
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
7720
7719
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
7721
7720
|
openByDefault?: never | undefined;
|
|
7722
|
-
}>) => (ui?: import("react").JSX.Element) => Promise<import("
|
|
7723
|
-
name?: import("
|
|
7724
|
-
storyName?: import("
|
|
7725
|
-
play?: import("
|
|
7721
|
+
}>) => (ui?: import("react").JSX.Element) => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
7722
|
+
name?: import("storybook/internal/csf").StoryName;
|
|
7723
|
+
storyName?: import("storybook/internal/csf").StoryName;
|
|
7724
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/react-webpack5").ReactRenderer, {
|
|
7726
7725
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
7727
7726
|
children?: import("react").ReactNode;
|
|
7728
7727
|
className?: string | undefined | undefined;
|
|
@@ -8313,8 +8312,8 @@ export declare const OpenByDefault: {
|
|
|
8313
8312
|
onToggleDetails?: ((isOpen: boolean) => void) | undefined;
|
|
8314
8313
|
openByDefault?: never | undefined;
|
|
8315
8314
|
}> | undefined;
|
|
8316
|
-
globals?: import("
|
|
8317
|
-
story?: Omit<import("
|
|
8315
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
8316
|
+
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {
|
|
8318
8317
|
backgroundColor?: import("../src/types/general.types").BackgroundColor | undefined;
|
|
8319
8318
|
children?: import("react").ReactNode;
|
|
8320
8319
|
className?: string | undefined | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("react").FC<(Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import Dropdown from "../src/components/Dropdown/Dropdown";
|
|
3
|
-
import { BADGES } from "../.storybook/constants";
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: typeof Dropdown;
|
|
7
|
-
|
|
8
|
-
badges: BADGES[];
|
|
9
|
-
};
|
|
6
|
+
tags: string[];
|
|
10
7
|
};
|
|
11
8
|
export default meta;
|
|
12
9
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import { FilePreview } from "../src";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
component: import("react").FC<{
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
onDownload?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
13
13
|
}>;
|
|
14
14
|
title: string;
|
|
15
|
-
decorators: import("@storybook/react").Decorator[];
|
|
15
|
+
decorators: import("@storybook/react-webpack5").Decorator[];
|
|
16
16
|
parameters: {
|
|
17
17
|
chromatic: {
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import { FilterBar } from "../src/components/FilterBar";
|
|
3
3
|
import { type TransformedSortingOptions } from "../src/components/FilterBar/FilterBarProps.type";
|
|
4
4
|
declare const meta: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoryObj } from "@storybook/react";
|
|
1
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import { FlexColumn } from "../src/components/Container/FlexColumn";
|
|
3
3
|
import { type FlexContainerProps } from "../src/components/Container/types/FlexContainerProps.type";
|
|
4
4
|
declare const _default: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type StoryObj } from "@storybook/react";
|
|
2
|
+
import { type StoryObj } from "@storybook/react-webpack5";
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: (props: React.ComponentPropsWithoutRef<React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuProps>>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,30 +10,30 @@ declare function openModalInteraction({ canvasElement }: {
|
|
|
10
10
|
canvasElement: any;
|
|
11
11
|
}): Promise<void>;
|
|
12
12
|
export declare const FullSizeModalWithTwoColumns: {
|
|
13
|
-
render: import("
|
|
13
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
14
14
|
args: {
|
|
15
15
|
isOpen: boolean;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export declare const FullSizeModalWithOneColumn: {
|
|
19
|
-
render: import("
|
|
19
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
20
20
|
args: {
|
|
21
21
|
isOpen: boolean;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare const DeprecatedWithPrimaryButtonProps: {
|
|
25
|
-
render: import("
|
|
25
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
26
26
|
play: typeof openModalInteraction;
|
|
27
27
|
args: {
|
|
28
28
|
isOpen: boolean;
|
|
29
29
|
primaryButtonProps: {
|
|
30
|
-
onClick: import("
|
|
30
|
+
onClick: import("storybook/actions").HandlerFunction;
|
|
31
31
|
text: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export declare const WithActions: {
|
|
36
|
-
render: import("
|
|
36
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-webpack5").ReactRenderer, import("../src/components/Modal/FullPageModal").FullPageModalProps>;
|
|
37
37
|
play: typeof openModalInteraction;
|
|
38
38
|
args: {
|
|
39
39
|
isOpen: boolean;
|