ingred-ui 10.2.3 → 10.2.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/components/ClickAwayListener/ClickAwayListener.stories.d.ts +16 -0
- package/dist/components/ConfirmModal/ConfirmModal.stories.d.ts +26 -0
- package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +20 -0
- package/dist/components/Menu/Menu.stories.d.ts +24 -0
- package/dist/components/ScrollArea/ScrollArea.stories.d.ts +25 -0
- package/dist/components/Spacer/Spacer.stories.d.ts +21 -0
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
- package/dist/constants/storageKeys.d.ts +0 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FunctionComponent<import("./ClickAwayListener").ClickAwayListenerProps>;
|
|
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: Story;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ConfirmModalProps } from "./ConfirmModal";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.ForwardRefExoticComponent<ConfirmModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
args: {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
title: string;
|
|
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 Basic: any;
|
|
21
|
+
export declare const FullSize: any;
|
|
22
|
+
export declare const WithTips: any;
|
|
23
|
+
export declare const WithSubActions: any;
|
|
24
|
+
export declare const Loading: any;
|
|
25
|
+
export declare const OverflowYScroll: any;
|
|
26
|
+
export declare const WithoutFooter: any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { DateRangePickerProps } from "./DateRangePicker";
|
|
4
|
+
import "react-dates/lib/css/_datepicker.css";
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
parameters: {
|
|
9
|
+
docs: {
|
|
10
|
+
source: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
page: () => JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export declare const Basic: Story<DateRangePickerProps>;
|
|
19
|
+
export declare const Error: Story<DateRangePickerProps>;
|
|
20
|
+
export declare const Localize: Story<DateRangePickerProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
isOpen?: boolean | undefined;
|
|
6
|
+
baseElement?: HTMLElement | null | undefined;
|
|
7
|
+
contents: import("..").ContentProp[];
|
|
8
|
+
positionPriority?: import("@popperjs/core").Placement[] | undefined;
|
|
9
|
+
onClose?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>, reason: "backdropClick" | "clickMenuList") => void) | undefined;
|
|
10
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
11
|
+
menuListProps?: Partial<import("..").MenuListProps> | undefined;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
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 Basic: any;
|
|
24
|
+
export declare const Group: any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { ScrollAreaProps } from "./ScrollArea";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
7
|
+
height?: import("csstype").Property.Height<0 | (string & {})> | undefined;
|
|
8
|
+
maxHeight?: import("csstype").Property.MaxHeight<0 | (string & {})> | undefined;
|
|
9
|
+
minHeight?: import("csstype").Property.MinHeight<0 | (string & {})> | undefined;
|
|
10
|
+
children: React.ComponentElement<HTMLElement, any>;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
args: {
|
|
13
|
+
height: string;
|
|
14
|
+
};
|
|
15
|
+
parameters: {
|
|
16
|
+
docs: {
|
|
17
|
+
source: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
page: () => JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const Example: Story<ScrollAreaProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import { SpacerProps } from "../../utils/spacer";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SpacerProps, never>;
|
|
7
|
+
args: {
|
|
8
|
+
p: number;
|
|
9
|
+
};
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: string;
|
|
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<SpacerProps>;
|