ingred-ui 10.2.2 → 10.2.3
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/components/ContextMenu/ContextMenu.stories.d.ts +18 -0
- package/dist/components/Fade/Fade.stories.d.ts +21 -0
- package/dist/components/FixedPanel/FixedPanel.stories.d.ts +22 -0
- package/dist/components/Flex/Flex.stories.d.ts +21 -0
- package/dist/components/Grow/Grow.stories.d.ts +21 -0
- package/dist/components/ItemEmpty/ItemEmpty.stories.d.ts +21 -0
- package/dist/components/LoadingBar/LoadingBar.stories.d.ts +17 -0
- package/dist/components/MenuList/MenuList.stories.d.ts +20 -0
- package/dist/components/Modal/Modal.stories.d.ts +20 -0
- package/dist/components/Popover/Popover.stories.d.ts +28 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts +25 -0
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ContextMenuProps } from "./ContextMenu";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<ContextMenuProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
docs: {
|
|
8
|
+
source: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
page: () => JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const Basic: any;
|
|
17
|
+
export declare const Disabled: any;
|
|
18
|
+
export declare const Warning: any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentStory } from "@storybook/react";
|
|
3
|
+
import Fade from "./Fade";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FunctionComponent<import("../../utils/reactTransitionGroup").CSSTransitionProps>;
|
|
7
|
+
args: {
|
|
8
|
+
in: boolean;
|
|
9
|
+
timeout: number;
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
source: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
page: () => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Example: ComponentStory<typeof Fade>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { FixedPanelProps } from "./FixedPanel";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<FixedPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
args: {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
placement: string;
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: string;
|
|
13
|
+
docs: {
|
|
14
|
+
source: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
page: () => JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
export declare const Example: Story<FixedPanelProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { FlexProps } from "./Flex";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, FlexProps, never>;
|
|
7
|
+
args: {
|
|
8
|
+
display: string;
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
source: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
page: () => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Example: Story<FlexProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentStory } from "@storybook/react";
|
|
3
|
+
import Grow from "./Grow";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FunctionComponent<import("../../utils/reactTransitionGroup").CSSTransitionProps>;
|
|
7
|
+
args: {
|
|
8
|
+
in: boolean;
|
|
9
|
+
timeout: number;
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
source: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
page: () => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Example: ComponentStory<typeof Grow>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { ItemEmptyProps } from "./ItemEmpty";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<ItemEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
args: {
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
source: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
page: () => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Example: Story<ItemEmptyProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import LoadingBar from "./LoadingBar";
|
|
3
|
+
import { ComponentStory } from "@storybook/react";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
source: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
page: () => JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Example: ComponentStory<typeof LoadingBar>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5
|
+
inline?: boolean | undefined;
|
|
6
|
+
contents: (import("./MenuList").ContentProp | import("./MenuList").GroupContentProp)[];
|
|
7
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
8
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
source: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
page: () => JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Basic: any;
|
|
20
|
+
export declare const Group: any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { ModalProps } from "./Modal";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
args: {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
};
|
|
10
|
+
parameters: {
|
|
11
|
+
docs: {
|
|
12
|
+
source: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
page: () => JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const Example: Story<ModalProps>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { PopoverProps } from "./Popover";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
7
|
+
isOpen?: boolean | undefined;
|
|
8
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick") => void) | undefined;
|
|
9
|
+
baseElement: HTMLElement | null;
|
|
10
|
+
positionPriority?: import("@popperjs/core").Placement[] | undefined;
|
|
11
|
+
offset?: [number, number] | undefined;
|
|
12
|
+
children: React.ComponentElement<HTMLElement, any>;
|
|
13
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
args: {
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
positionPriority: string[];
|
|
17
|
+
};
|
|
18
|
+
parameters: {
|
|
19
|
+
docs: {
|
|
20
|
+
source: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
page: () => JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Example: Story<PopoverProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SnackbarProps } from "./Snackbar";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<SnackbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
args: {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
anchorOrigin: {
|
|
9
|
+
vertical: string;
|
|
10
|
+
horizontal: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
source: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
page: () => JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
export declare const Default: any;
|
|
24
|
+
export declare const Dark: any;
|
|
25
|
+
export declare const Warning: any;
|