@cloudtower/eagle 0.27.0 → 0.27.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/UIKitProvider/UIKitProvider.stories.d.ts +7 -0
- package/dist/UIKitProvider/index.d.ts +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +11 -0
- package/dist/components/Arch/Arch.stories.d.ts +18 -0
- package/dist/components/BaseIcon/BaseIcon.stories.d.ts +4 -0
- package/dist/components/Bit/Bit.stories.d.ts +17 -0
- package/dist/components/BitPerSecond/BitPerSecond.stories.d.ts +17 -0
- package/dist/components/Bps/Bps.stories.d.ts +17 -0
- package/dist/components/Button/Button.stories.d.ts +20 -0
- package/dist/components/Button/HoverableElement.stories.d.ts +3 -0
- package/dist/components/Byte/Byte.stories.d.ts +17 -0
- package/dist/components/Card/Card.stories.d.ts +23 -0
- package/dist/components/ExpandableList/CustomHeader.stories.d.ts +4 -0
- package/dist/components/ExpandableList/ExpandableItem.stories.d.ts +10 -0
- package/dist/components/ExpandableList/ExpandableList.stories.d.ts +5 -0
- package/dist/components/Fields/FieldsBoolean/FieldsBoolean.stories.d.ts +9 -0
- package/dist/components/Fields/FieldsDateTimeRange/FieldsDateTimeRange.stories.d.ts +5 -0
- package/dist/components/Fields/FieldsDateTimeRange/index.d.ts +2 -2
- package/dist/components/Fields/FieldsEnum/FieldsEnum.stories.d.ts +7 -0
- package/dist/components/Fields/FieldsInteger/FieldsInteger.stories.d.ts +7 -0
- package/dist/components/Fields/FieldsString/FieldsString.stories.d.ts +17 -0
- package/dist/components/Fields/FieldsTimePicker/FieldsTimePicker.stories.d.ts +9 -0
- package/dist/components/Fields/index.d.ts +2 -2
- package/dist/components/FormItem/Form.stories.d.ts +3 -0
- package/dist/components/Frequency/Frequency.stories.d.ts +17 -0
- package/dist/components/I18nNameTag/I18nNameTag.stories.d.ts +13 -0
- package/dist/components/Icon/Icon.stories.d.ts +21 -0
- package/dist/components/Input/Input.simple.stories.d.ts +12 -0
- package/dist/components/Input/Input.stories.d.ts +28 -0
- package/dist/components/InputGroup/inputGroup.stories.d.ts +6 -0
- package/dist/components/Loading/Loading.stories.d.ts +12 -0
- package/dist/components/Loading/style.d.ts +4 -0
- package/dist/components/Metric/Metric.stories.d.ts +4 -0
- package/dist/components/Modal/Modal.stories.d.ts +16 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.stories.d.ts +17 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +6 -0
- package/dist/components/Percent/Percent.stories.d.ts +32 -0
- package/dist/components/Radio/Radio.stories.d.ts +29 -0
- package/dist/components/Radio/RadioButton.stories.d.ts +8 -0
- package/dist/components/Radio/RadioGroup.stories.d.ts +23 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +14 -0
- package/dist/components/Second/Second.stories.d.ts +22 -0
- package/dist/components/Select/Select.Simple.stories.d.ts +10 -0
- package/dist/components/Select/Select.stories.d.ts +16 -0
- package/dist/components/SimplePagination/SimplePagination.stories.d.ts +7 -0
- package/dist/components/Space/Space.stories.d.ts +8 -0
- package/dist/components/Speed/Speed.stories.d.ts +17 -0
- package/dist/components/StatusCapsule/StatusCapsule.stories.d.ts +12 -0
- package/dist/components/Steps/Steps.stories.d.ts +8 -0
- package/dist/components/Switch/Switch.stories.d.ts +17 -0
- package/dist/components/Table/Table.stories.d.ts +16 -0
- package/dist/components/TableForm/TableForm.stories.d.ts +17 -0
- package/dist/components/Tag/Tag.stories.d.ts +29 -0
- package/dist/components/Time/time.stories.d.ts +6 -0
- package/dist/components/TimeZoneSelect/TimeZoneSelect.stories.d.ts +17 -0
- package/dist/components/Token/Token.stories.d.ts +24 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +6 -0
- package/dist/components/Truncate/Truncate.stories.d.ts +8 -0
- package/dist/components/message-group/message-group.stories.d.ts +17 -0
- package/dist/components.css +990 -1287
- package/dist/core/AccordionCard/AccordionCard.stories.d.ts +7 -0
- package/dist/core/Breadcrumb/Breadcrumb.stories.d.ts +6 -0
- package/dist/core/Breadcrumb/index.d.ts +7 -0
- package/dist/core/DetailCard/DetailCard.stories.d.ts +7 -0
- package/dist/coreX/Counting/Counting.stories.d.ts +29 -0
- package/dist/coreX/Counting/index.d.ts +4 -0
- package/dist/coreX/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +7 -0
- package/dist/coreX/TruncatedTextWithTooltip/index.d.ts +10 -0
- package/dist/esm/index.js +510 -378
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +8 -1
- package/dist/spec/type.d.ts +15 -0
- package/dist/{components/Stack/index.d.ts → stories/Stack.d.ts} +2 -2
- package/dist/stories/Story.d.ts +5 -0
- package/dist/stories/changeLng.stories.d.ts +8 -0
- package/dist/stories/icons-react.stories.d.ts +3 -0
- package/dist/stories/index.d.ts +2 -0
- package/dist/stories/menu.stories.d.ts +17 -0
- package/dist/style.css +857 -1154
- package/dist/umd/index.js +508 -376
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
- /package/dist/components/Card/__test__/{Card.spec.d.ts → Card.test.d.ts} +0 -0
- /package/dist/components/TableForm/__test__/{utils.spec.d.ts → utils.test.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
import UIKitProvider from ".";
|
|
3
|
+
declare const meta: Meta<typeof UIKitProvider>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof UIKitProvider>;
|
|
6
|
+
export declare const Chinese: Story;
|
|
7
|
+
export declare const English: Story;
|
|
@@ -2,7 +2,7 @@ import { ParrotI18nSupportLng } from "@cloudtower/parrot";
|
|
|
2
2
|
import React, { PropsWithChildren } from "react";
|
|
3
3
|
import { BatchHelper } from "../components";
|
|
4
4
|
import { Kit } from "../spec";
|
|
5
|
-
interface IProps {
|
|
5
|
+
export interface IProps {
|
|
6
6
|
kit?: Kit;
|
|
7
7
|
message?: {
|
|
8
8
|
batch?: BatchHelper;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentStory } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import Alert from ".";
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/alert").AlertProps, "type"> & {
|
|
5
|
+
type?: "normal" | "info" | "success" | "error" | "warning" | undefined;
|
|
6
|
+
action?: React.ReactNode;
|
|
7
|
+
} & {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Basic: ComponentStory<typeof Alert>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Architecture } from "../../spec";
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
4
|
+
architecture?: Architecture | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Aarch64: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
10
|
+
architecture?: Architecture | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const X86_64: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
15
|
+
architecture?: Architecture | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").IBaseIconProps & React.RefAttributes<HTMLSpanElement>>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import(".").IBaseIconProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Basic: {
|
|
3
|
+
(): JSX.Element;
|
|
4
|
+
story: {
|
|
5
|
+
name: string;
|
|
6
|
+
parameters: {
|
|
7
|
+
design: {
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const RoundedIcon: () => JSX.Element;
|
|
15
|
+
export declare const CustomChildren: () => JSX.Element;
|
|
16
|
+
export declare const Link: () => JSX.Element;
|
|
17
|
+
declare const story: {
|
|
18
|
+
title: string;
|
|
19
|
+
};
|
|
20
|
+
export default story;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./HoverableElement").IHoverableElementProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./HoverableElement").IHoverableElementProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CardProps } from ".";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
render: React.ForwardRefExoticComponent<{
|
|
6
|
+
collapsible?: boolean | undefined;
|
|
7
|
+
defaultOpen?: boolean | undefined;
|
|
8
|
+
title?: React.ReactNode;
|
|
9
|
+
subInfo?: React.ReactNode;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
hoverable?: boolean | undefined;
|
|
12
|
+
shadow?: boolean | undefined;
|
|
13
|
+
} & React.DOMAttributes<HTMLDivElement> & {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
args: {};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
export declare const DefaultCard: (args: CardProps) => JSX.Element;
|
|
20
|
+
export declare const WithTitle: (args: CardProps) => JSX.Element;
|
|
21
|
+
export declare const Collapsible: (args: CardProps) => JSX.Element;
|
|
22
|
+
export declare const NoShadow: (args: CardProps) => JSX.Element;
|
|
23
|
+
export declare const Hoverable: (args: CardProps) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryFn, StoryObj } from "@storybook/react";
|
|
2
|
+
import ExpandableItem from "./ExpandableItem";
|
|
3
|
+
export declare const Template: StoryFn<typeof ExpandableItem>;
|
|
4
|
+
declare const meta: Meta<typeof ExpandableItem>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof ExpandableItem>;
|
|
7
|
+
export declare const OrderedOneExpand: Story;
|
|
8
|
+
export declare const OrderedElevenExpand: Story;
|
|
9
|
+
export declare const DisableExpand: Story;
|
|
10
|
+
export declare const ActivedDisableExpand: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
className?: string | undefined;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StoryObj } from "@storybook/react";
|
|
2
|
+
import FieldsDateTimeRange from ".";
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: StoryObj<typeof FieldsDateTimeRange>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DatePickerProps } from "antd/lib/date-picker";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { FieldBaseProps } from "../../../spec";
|
|
4
|
-
declare const FieldsDateTimeRange:
|
|
4
|
+
declare const FieldsDateTimeRange: React.FC<FieldBaseProps & DatePickerProps>;
|
|
5
5
|
export default FieldsDateTimeRange;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import FieldsEnum from ".";
|
|
3
|
+
declare const story: Meta<typeof FieldsEnum>;
|
|
4
|
+
export default story;
|
|
5
|
+
export declare const NoneEnumValues: StoryObj<typeof FieldsEnum>;
|
|
6
|
+
export declare const WithEnumValuesString: StoryObj<typeof FieldsEnum>;
|
|
7
|
+
export declare const WithEnumValuesObject: StoryObj<typeof FieldsEnum>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import FieldsInteger from ".";
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof FieldsInteger>;
|
|
6
|
+
export declare const ValidInteger: Story;
|
|
7
|
+
export declare const InvalidInteger: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
} & import("../../..").StringProps>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const WithOutTags: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
className?: string | undefined;
|
|
9
|
+
} & import("../../..").StringProps>;
|
|
10
|
+
export declare const WithOneTag: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
} & import("../../..").StringProps>;
|
|
14
|
+
export declare const WithTags: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
} & import("../../..").StringProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
className?: string | undefined;
|
|
9
|
+
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
@@ -18,9 +18,9 @@ declare const fields: {
|
|
|
18
18
|
disabled?: boolean | undefined;
|
|
19
19
|
className?: string | undefined;
|
|
20
20
|
} & import("antd/lib/input").TextAreaProps) => JSX.Element;
|
|
21
|
-
DateTimeRange: (
|
|
21
|
+
DateTimeRange: import("react").FC<import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
22
22
|
disabled?: boolean | undefined;
|
|
23
23
|
className?: string | undefined;
|
|
24
|
-
} & import("antd/lib/date-picker").DatePickerProps
|
|
24
|
+
} & import("antd/lib/date-picker").DatePickerProps>;
|
|
25
25
|
};
|
|
26
26
|
export default fields;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/form").FormItemProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Meta } from "@storybook/react";
|
|
3
|
+
import I18nNameTag from ".";
|
|
4
|
+
declare const story: Meta<typeof I18nNameTag>;
|
|
5
|
+
export default story;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
({ name }: {
|
|
8
|
+
name: string;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, React.HTMLAttributes<HTMLSpanElement> & {
|
|
3
|
+
src: import("..").SrcType;
|
|
4
|
+
active?: boolean | undefined;
|
|
5
|
+
hoverSrc?: import("..").SrcType | undefined;
|
|
6
|
+
activeSrc?: import("..").SrcType | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
alt?: string | undefined;
|
|
9
|
+
iconWidth?: number | undefined;
|
|
10
|
+
iconHeight?: number | "auto" | undefined;
|
|
11
|
+
cursor?: string | undefined;
|
|
12
|
+
isRotate?: boolean | undefined;
|
|
13
|
+
prefix?: React.ReactNode;
|
|
14
|
+
suffix?: {
|
|
15
|
+
src: import("..").SrcType;
|
|
16
|
+
hoverSrc?: import("..").SrcType | undefined;
|
|
17
|
+
activeSrc?: import("..").SrcType | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
+
export default _default;
|
|
21
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/input").InputProps & {
|
|
3
|
+
error?: boolean | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const NumberInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/input").InputProps & {
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const InputStory: {
|
|
3
|
+
(): JSX.Element;
|
|
4
|
+
story: {
|
|
5
|
+
name: string;
|
|
6
|
+
parameters: {
|
|
7
|
+
design: {
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const CheckboxStory: {
|
|
15
|
+
(): JSX.Element;
|
|
16
|
+
story: {
|
|
17
|
+
parameters: {
|
|
18
|
+
design: {
|
|
19
|
+
type: string;
|
|
20
|
+
url: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
declare const story: {
|
|
26
|
+
title: string;
|
|
27
|
+
};
|
|
28
|
+
export default story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
3
|
+
fullView?: boolean | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
9
|
+
fullView?: boolean | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const LoadingWrapper: import("@linaria/core").LinariaClassName;
|
|
2
|
+
export declare const LoadingLine1: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const LoadingLine2: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const LoadingLine3: import("@linaria/core").LinariaClassName;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").MetricProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import(".").MetricProps>;
|
|
4
|
+
export declare const Secondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import(".").MetricProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Meta } from "@storybook/react";
|
|
3
|
+
import { ModalProps } from "../../spec";
|
|
4
|
+
import Button from "../Button";
|
|
5
|
+
declare const story: Meta<ModalProps>;
|
|
6
|
+
export default story;
|
|
7
|
+
export declare const ImmersiveDialog: {
|
|
8
|
+
(args: Parameters<typeof Button>): JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const WithAside: {
|
|
14
|
+
(): JSX.Element;
|
|
15
|
+
args: {};
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import OverflowTooltip from ".";
|
|
4
|
+
declare const story: Meta<any>;
|
|
5
|
+
export default story;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
(...{ width, content, isMultiLine }: [props: React.PropsWithChildren<import("../../spec").OverflowTooltipProps>, context?: any] & {
|
|
8
|
+
width: string;
|
|
9
|
+
content: string;
|
|
10
|
+
isMultiLine: boolean;
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
args: {
|
|
13
|
+
width: string;
|
|
14
|
+
isMultiLine: boolean;
|
|
15
|
+
content: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
saturated?: boolean | undefined;
|
|
4
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
10
|
+
saturated?: boolean | undefined;
|
|
11
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const Saturated: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
16
|
+
saturated?: boolean | undefined;
|
|
17
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
22
|
+
saturated?: boolean | undefined;
|
|
23
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const EmptyInfinity: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
28
|
+
saturated?: boolean | undefined;
|
|
29
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
children?: React.ReactNode;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Basic: {
|
|
3
|
+
(): JSX.Element;
|
|
4
|
+
story: {
|
|
5
|
+
name: string;
|
|
6
|
+
parameters: {
|
|
7
|
+
design: {
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const Compact: {
|
|
15
|
+
(): JSX.Element;
|
|
16
|
+
story: {
|
|
17
|
+
name: string;
|
|
18
|
+
parameters: {
|
|
19
|
+
design: {
|
|
20
|
+
type: string;
|
|
21
|
+
url: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const _default: {
|
|
27
|
+
title: string;
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { RadioGroup } from "./";
|
|
3
|
+
declare const meta: Meta<typeof RadioGroup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof RadioGroup>;
|
|
6
|
+
export declare const Basic: Story;
|
|
7
|
+
export declare const Large: Story;
|
|
8
|
+
export declare const Small: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Basic: {
|
|
3
|
+
(): JSX.Element;
|
|
4
|
+
story: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare const GroupButton: {
|
|
9
|
+
(): JSX.Element;
|
|
10
|
+
story: {
|
|
11
|
+
name: string;
|
|
12
|
+
parameters: {
|
|
13
|
+
design: {
|
|
14
|
+
type: string;
|
|
15
|
+
url: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
declare const meta: {
|
|
21
|
+
title: string;
|
|
22
|
+
};
|
|
23
|
+
export default meta;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
debounceWait?: number | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
debounceWait?: number | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
3
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
9
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const Abbreviation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
14
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const Empty: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("../../spec").RawValue & {
|
|
19
|
+
emptyProps?: import("../Empty").IEmptyProps | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Select from ".";
|
|
3
|
+
declare const meta: Meta<typeof Select>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Select>;
|
|
6
|
+
export declare const Simple: Story;
|
|
7
|
+
export declare const Multiple: Story;
|
|
8
|
+
export declare const MultipleWithSearch: Story;
|
|
9
|
+
export declare const SizeSmall: Story;
|
|
10
|
+
export declare const SizeLarge: Story;
|