@cloudtower/eagle 0.0.0-antd4.x-rc-0 → 0.0.0-antd5-rc-0
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/index.d.ts +2 -2
- package/dist/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +5 -6
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Calendar/index.d.ts +3 -0
- package/dist/components/Card/Card.stories.d.ts +5 -5
- package/dist/components/Card/CardBody.d.ts +3 -1
- package/dist/components/Card/CardTitle.d.ts +3 -1
- package/dist/components/Empty/index.d.ts +2 -2
- package/dist/components/ExpandableList/ExpandIcon.d.ts +1 -1
- package/dist/components/ExpandableList/ExpandableContainer.d.ts +2 -2
- package/dist/components/ExpandableList/ExpandableItem.d.ts +1 -1
- package/dist/components/ExpandableList/RoundOrder.d.ts +2 -2
- package/dist/components/Fields/FieldsBoolean/index.d.ts +2 -2
- package/dist/components/Fields/FieldsDateTime/index.d.ts +2 -2
- package/dist/components/Fields/FieldsEnum/index.d.ts +2 -2
- package/dist/components/Fields/FieldsFloat/index.d.ts +2 -2
- package/dist/components/Fields/FieldsInt/index.d.ts +2 -2
- package/dist/components/Fields/FieldsInteger/index.d.ts +2 -2
- package/dist/components/Fields/FieldsString/index.d.ts +2 -2
- package/dist/components/Fields/FieldsTextArea/index.d.ts +2 -2
- package/dist/components/Fields/FieldsTimePicker/FieldsTimePicker.stories.d.ts +2 -2
- package/dist/components/Fields/FieldsTimePicker/index.d.ts +2 -2
- package/dist/components/Fields/index.d.ts +10 -10
- package/dist/components/Form/index.d.ts +2 -19
- package/dist/components/FormItem/Form.stories.d.ts +1 -1
- package/dist/components/I18nNameTag/I18nNameTag.stories.d.ts +2 -2
- package/dist/components/Input/Input.simple.stories.d.ts +2 -2
- package/dist/components/Input/Input.stories.d.ts +3 -3
- package/dist/components/InputGroup/inputGroup.stories.d.ts +2 -2
- package/dist/components/InputInteger/index.d.ts +4 -5
- package/dist/components/InputNumber/index.d.ts +4 -5
- package/dist/components/InputTagItem/index.d.ts +3 -1
- package/dist/components/KitStoreProvider/index.d.ts +2 -2
- package/dist/components/Metric/MetricLegend.d.ts +1 -1
- package/dist/components/Metric/RenderChart.d.ts +1 -1
- package/dist/components/Metric/index.d.ts +2 -2
- package/dist/components/Metric/styled.d.ts +12 -4
- package/dist/components/Modal/Modal.stories.d.ts +3 -3
- package/dist/components/OverflowTooltip/OverflowTooltip.stories.d.ts +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +2 -2
- package/dist/components/Radio/Radio.stories.d.ts +3 -3
- package/dist/components/Radio/RadioGroup.stories.d.ts +3 -3
- package/dist/components/SearchInput/SearchInput.stories.d.ts +2 -2
- package/dist/components/Select/Select.stories.d.ts +2 -2
- package/dist/components/SimplePagination/index.d.ts +2 -2
- package/dist/components/Space/Space.stories.d.ts +2 -2
- package/dist/components/Steps/Steps.stories.d.ts +2 -2
- package/dist/components/Styled/Styled.stories.d.ts +11 -0
- package/dist/components/Styled/index.d.ts +74 -20
- package/dist/components/Switch/Switch.stories.d.ts +2 -2
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/TableForm/TableForm.stories.d.ts +2 -2
- package/dist/components/TableForm/style.d.ts +12 -4
- package/dist/components/Tag/Tag.stories.d.ts +3 -3
- package/dist/components/Time/index.d.ts +2 -2
- package/dist/components/Time/time.stories.d.ts +2 -2
- package/dist/components/TimeZoneSelect/TimeZoneSelect.stories.d.ts +2 -2
- package/dist/components/Token/index.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +4 -3
- package/dist/components/index.d.ts +10 -0
- package/dist/components/message/index.d.ts +25 -9
- package/dist/components.css +13907 -16237
- package/dist/core/Breadcrumb/index.d.ts +3 -1
- package/dist/core/ParrotTrans/index.d.ts +1 -1
- package/dist/coreX/BarChart/BarChart.stories.d.ts +6 -0
- package/dist/coreX/BarChart/index.d.ts +10 -0
- package/dist/coreX/ChartWithTooltip/ChartWithTooltip.stories.d.ts +7 -0
- package/dist/coreX/ChartWithTooltip/index.d.ts +40 -0
- package/dist/coreX/CronCalendar/CronCalendar.stories.d.ts +7 -0
- package/dist/coreX/CronCalendar/index.d.ts +4 -0
- package/dist/coreX/CronPlan/CronPlan.stories.d.ts +1 -1
- package/dist/coreX/DonutChart/DonutChart.stories.d.ts +6 -0
- package/dist/coreX/DonutChart/index.d.ts +12 -0
- package/dist/coreX/GoBackButton/GoBackButton.stories.d.ts +9 -0
- package/dist/coreX/GoBackButton/index.d.ts +4 -0
- package/dist/coreX/NamesTooltip/NamesTooltip.stories.d.ts +7 -0
- package/dist/coreX/NamesTooltip/__test__/index.test.d.ts +1 -0
- package/dist/coreX/NamesTooltip/index.d.ts +4 -0
- package/dist/coreX/SidebarSubtitle/SidebarSubtitle.stories.d.ts +5 -0
- package/dist/coreX/SidebarSubtitle/__test__/index.test.d.ts +1 -0
- package/dist/coreX/SidebarSubtitle/index.d.ts +3 -0
- package/dist/coreX/SortableList/SortableList.stories.d.ts +6 -0
- package/dist/coreX/SortableList/index.d.ts +3 -0
- package/dist/coreX/SummaryTable/SummaryTable.stories.d.ts +5 -0
- package/dist/coreX/SummaryTable/index.d.ts +10 -0
- package/dist/coreX/SwitchWithText/SwitchWithText.stories.d.ts +2 -2
- package/dist/coreX/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +1 -1
- package/dist/coreX/UnitWithChart/UnitWithChart.stories.d.ts +7 -0
- package/dist/coreX/UnitWithChart/index.d.ts +30 -0
- package/dist/coreX/common/getCalendarTitle.d.ts +2 -0
- package/dist/coreX/index.d.ts +1 -0
- package/dist/esm/index.js +6033 -5384
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/spec/base.d.ts +92 -13
- package/dist/spec/type.d.ts +19 -2
- package/dist/stories/icons-react.stories.d.ts +1 -1
- package/dist/stories/menu.stories.d.ts +2 -2
- package/dist/style.css +12796 -15126
- package/dist/umd/index.js +6016 -5363
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/tower.d.ts +1 -0
- package/package.json +11 -7
|
@@ -9,9 +9,9 @@ export interface IProps {
|
|
|
9
9
|
maxCount?: number;
|
|
10
10
|
};
|
|
11
11
|
lng?: ParrotI18nSupportLng;
|
|
12
|
-
getPopupContainer?: (triggerNode
|
|
12
|
+
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
13
13
|
}
|
|
14
14
|
export declare const kitContext: React.Context<Kit<any, HTMLElement>>;
|
|
15
|
-
declare const UIKitProvider: (props: PropsWithChildren<IProps>) =>
|
|
15
|
+
declare const UIKitProvider: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
16
16
|
export default UIKitProvider;
|
|
17
17
|
export declare const useUIKit: () => Kit<any, HTMLElement>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentStory } from "@storybook/react";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import Alert from ".";
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd").AlertProps, "type"> & {
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/alert").AlertProps, "type"> & {
|
|
5
5
|
type?: "normal" | "info" | "success" | "error" | "warning" | undefined;
|
|
6
6
|
action?: React.ReactNode;
|
|
7
7
|
} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
():
|
|
3
|
+
(): JSX.Element;
|
|
4
4
|
story: {
|
|
5
5
|
name: string;
|
|
6
6
|
parameters: {
|
|
@@ -11,11 +11,10 @@ export declare const Basic: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export declare const RoundedIcon: () =>
|
|
15
|
-
export declare const CustomChildren: () =>
|
|
16
|
-
export declare const Link: () =>
|
|
14
|
+
export declare const RoundedIcon: () => JSX.Element;
|
|
15
|
+
export declare const CustomChildren: () => JSX.Element;
|
|
16
|
+
export declare const Link: () => JSX.Element;
|
|
17
17
|
declare const story: {
|
|
18
18
|
title: string;
|
|
19
19
|
};
|
|
20
20
|
export default story;
|
|
21
|
-
export declare const ButtonWithTooltip: () => React.JSX.Element;
|
|
@@ -9,8 +9,8 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
href: string;
|
|
10
10
|
target?: string | undefined;
|
|
11
11
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
12
|
-
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
12
|
+
} & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
13
13
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
15
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "icon" | "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "icon" | "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default Button;
|
|
@@ -16,8 +16,8 @@ declare const meta: {
|
|
|
16
16
|
args: {};
|
|
17
17
|
};
|
|
18
18
|
export default meta;
|
|
19
|
-
export declare const DefaultCard: (args: CardProps) =>
|
|
20
|
-
export declare const WithTitle: (args: CardProps) =>
|
|
21
|
-
export declare const Collapsible: (args: CardProps) =>
|
|
22
|
-
export declare const NoShadow: (args: CardProps) =>
|
|
23
|
-
export declare const Hoverable: (args: CardProps) =>
|
|
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;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const CardBody: import("@linaria/react").
|
|
2
|
+
declare const CardBody: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
3
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
}>;
|
|
3
5
|
export default CardBody;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const CardTitle: import("@linaria/react").
|
|
2
|
+
declare const CardTitle: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
3
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
}>;
|
|
3
5
|
export default CardTitle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
2
|
export interface IEmptyProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
}
|
|
6
|
-
declare const Empty: (props: IEmptyProps) =>
|
|
6
|
+
declare const Empty: (props: IEmptyProps) => JSX.Element;
|
|
7
7
|
export default Empty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
2
|
interface IProps {
|
|
3
3
|
}
|
|
4
|
-
declare const ExpandableContainer: (props: PropsWithChildren<IProps>) =>
|
|
4
|
+
declare const ExpandableContainer: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
5
5
|
export default ExpandableContainer;
|
|
@@ -5,5 +5,5 @@ interface IProps {
|
|
|
5
5
|
disableExpand?: boolean;
|
|
6
6
|
defaultActive?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const ExpandableItem: (props: PropsWithChildren<IProps>) =>
|
|
8
|
+
declare const ExpandableItem: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
9
9
|
export default ExpandableItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
2
|
interface IProps {
|
|
3
3
|
order?: number;
|
|
4
4
|
}
|
|
5
|
-
declare const RoundedOrder: (props: PropsWithChildren<IProps>) =>
|
|
5
|
+
declare const RoundedOrder: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
6
6
|
export default RoundedOrder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldBaseProps } from "../../../spec";
|
|
3
|
-
declare const FieldsBoolean: ({ input, children, ...props }: FieldBaseProps) =>
|
|
3
|
+
declare const FieldsBoolean: ({ input, children, ...props }: FieldBaseProps) => JSX.Element;
|
|
4
4
|
export default FieldsBoolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldBaseProps } from "../../../spec";
|
|
3
|
-
declare const FieldsDateTime: ({ input }: FieldBaseProps) =>
|
|
3
|
+
declare const FieldsDateTime: ({ input }: FieldBaseProps) => JSX.Element;
|
|
4
4
|
export default FieldsDateTime;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { EnumProps } from "../../../spec";
|
|
3
|
-
declare const FieldsEnum: ({ meta: __, enumValues, emptyLabel, ...restProps }: EnumProps) =>
|
|
3
|
+
declare const FieldsEnum: ({ meta: __, enumValues, emptyLabel, ...restProps }: EnumProps) => JSX.Element;
|
|
4
4
|
export default FieldsEnum;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FloatFieldProps } from "../../../spec";
|
|
3
|
-
declare const FieldsFloat: ({ input, meta, onBlur, autoComplete, ...props }: FloatFieldProps) =>
|
|
3
|
+
declare const FieldsFloat: ({ input, meta, onBlur, autoComplete, ...props }: FloatFieldProps) => JSX.Element;
|
|
4
4
|
export default FieldsFloat;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IntFieldProps } from "../../../spec";
|
|
3
|
-
declare const FieldsInt: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: IntFieldProps) =>
|
|
3
|
+
declare const FieldsInt: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: IntFieldProps) => JSX.Element;
|
|
4
4
|
export default FieldsInt;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IntegerFieldProps } from "../../../spec";
|
|
3
|
-
declare const FieldsInteger: ({ meta, input, onBlur, ...props }: IntegerFieldProps) =>
|
|
3
|
+
declare const FieldsInteger: ({ meta, input, onBlur, ...props }: IntegerFieldProps) => JSX.Element;
|
|
4
4
|
export default FieldsInteger;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldBaseProps, StringProps } from "../../../spec";
|
|
3
|
-
declare const FieldsString: ({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: FieldBaseProps & StringProps) =>
|
|
3
|
+
declare const FieldsString: ({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: FieldBaseProps & StringProps) => JSX.Element;
|
|
4
4
|
export default FieldsString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { TextAreaProps } from "antd/lib/input";
|
|
2
|
-
import React from "react";
|
|
3
3
|
import { FieldBaseProps } from "../../../spec";
|
|
4
|
-
declare const FieldsTextArea: ({ input, meta, onFocusChangeHeight, ...props }: FieldBaseProps & TextAreaProps) =>
|
|
4
|
+
declare const FieldsTextArea: ({ input, meta, onFocusChangeHeight, ...props }: FieldBaseProps & TextAreaProps) => JSX.Element;
|
|
5
5
|
export default FieldsTextArea;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
2
2
|
disabled?: boolean | undefined;
|
|
3
3
|
className?: string | undefined;
|
|
4
|
-
} & import("antd").TimePickerProps>;
|
|
4
|
+
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
5
5
|
export default _default;
|
|
6
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
7
|
disabled?: boolean | undefined;
|
|
8
8
|
className?: string | undefined;
|
|
9
|
-
} & import("antd").TimePickerProps>;
|
|
9
|
+
} & import("antd/lib/time-picker").TimePickerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { TimePickerProps } from "antd/lib/time-picker";
|
|
2
|
-
import React from "react";
|
|
3
3
|
import { FieldBaseProps } from "../../../spec";
|
|
4
|
-
declare const FieldsTimePicker: ({ input, meta, ...props }: FieldBaseProps & TimePickerProps) =>
|
|
4
|
+
declare const FieldsTimePicker: ({ input, meta, ...props }: FieldBaseProps & TimePickerProps) => JSX.Element;
|
|
5
5
|
export default FieldsTimePicker;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const fields: {
|
|
3
|
-
Int: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: import("../..").IntFieldProps) =>
|
|
4
|
-
Integer: ({ meta, input, onBlur, ...props }: import("../..").IntegerFieldProps) =>
|
|
5
|
-
Float: ({ input, meta, onBlur, autoComplete, ...props }: import("../../spec").FloatFieldProps) =>
|
|
6
|
-
DateTime: ({ input }: import("../../spec").FieldBaseProps) =>
|
|
3
|
+
Int: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: import("../..").IntFieldProps) => JSX.Element;
|
|
4
|
+
Integer: ({ meta, input, onBlur, ...props }: import("../..").IntegerFieldProps) => JSX.Element;
|
|
5
|
+
Float: ({ input, meta, onBlur, autoComplete, ...props }: import("../../spec").FloatFieldProps) => JSX.Element;
|
|
6
|
+
DateTime: ({ input }: import("../../spec").FieldBaseProps) => JSX.Element;
|
|
7
7
|
TimePicker: ({ input, meta, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
className?: string | undefined;
|
|
10
|
-
} & import("antd").TimePickerProps) =>
|
|
11
|
-
Enum: ({ meta: __, enumValues, emptyLabel, ...restProps }: import("../..").EnumProps) =>
|
|
10
|
+
} & import("antd/lib/time-picker").TimePickerProps) => JSX.Element;
|
|
11
|
+
Enum: ({ meta: __, enumValues, emptyLabel, ...restProps }: import("../..").EnumProps) => JSX.Element;
|
|
12
12
|
String: ({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
13
13
|
disabled?: boolean | undefined;
|
|
14
14
|
className?: string | undefined;
|
|
15
|
-
} & import("../..").StringProps) =>
|
|
16
|
-
Boolean: ({ input, children, ...props }: import("../../spec").FieldBaseProps) =>
|
|
15
|
+
} & import("../..").StringProps) => JSX.Element;
|
|
16
|
+
Boolean: ({ input, children, ...props }: import("../../spec").FieldBaseProps) => JSX.Element;
|
|
17
17
|
TextArea: ({ input, meta, onFocusChangeHeight, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
|
|
18
18
|
disabled?: boolean | undefined;
|
|
19
19
|
className?: string | undefined;
|
|
20
|
-
} & import("antd/lib/input").TextAreaProps) =>
|
|
20
|
+
} & import("antd/lib/input").TextAreaProps) => JSX.Element;
|
|
21
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").DatePickerProps>;
|
|
24
|
+
} & import("antd/lib/date-picker").DatePickerProps>;
|
|
25
25
|
};
|
|
26
26
|
export default fields;
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Form:
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & {
|
|
5
|
-
ref?: import("react").Ref<import("antd").FormInstance<Values>> | undefined;
|
|
6
|
-
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
7
|
-
useForm: typeof import("antd/lib/form/Form").useForm;
|
|
8
|
-
useFormInstance: typeof import("antd/lib/form/hooks/useFormInstance").default;
|
|
9
|
-
useWatch: typeof import("rc-field-form/es/useWatch").default;
|
|
10
|
-
Item: (<Values_1 = any>(props: import("antd").FormItemProps<Values_1>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
11
|
-
useStatus: () => {
|
|
12
|
-
status?: "" | "success" | "error" | "warning" | "validating" | undefined;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
List: import("react").FC<import("antd/lib/form").FormListProps>;
|
|
16
|
-
ErrorList: typeof import("antd/lib/form/ErrorList").default;
|
|
17
|
-
Provider: import("react").FC<import("antd/lib/form/context").FormProviderProps>;
|
|
18
|
-
create: () => void;
|
|
19
|
-
};
|
|
1
|
+
import { Form as AntdForm } from "antd";
|
|
2
|
+
declare const Form: AntdForm;
|
|
20
3
|
export default Form;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd").FormItemProps
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/form").FormItemProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Meta } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
3
|
import I18nNameTag from ".";
|
|
4
4
|
declare const story: Meta<typeof I18nNameTag>;
|
|
5
5
|
export default story;
|
|
6
6
|
export declare const Default: {
|
|
7
7
|
({ name }: {
|
|
8
8
|
name: string;
|
|
9
|
-
}):
|
|
9
|
+
}): JSX.Element;
|
|
10
10
|
args: {
|
|
11
11
|
name: string;
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd").InputProps & {
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/input").InputProps & {
|
|
3
3
|
error?: boolean | undefined;
|
|
4
4
|
} & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
8
|
-
export declare const NumberInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("antd").InputProps & {
|
|
8
|
+
export declare const NumberInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/input").InputProps & {
|
|
9
9
|
error?: boolean | undefined;
|
|
10
10
|
} & {
|
|
11
11
|
children?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const InputStory: {
|
|
3
|
-
():
|
|
3
|
+
(): JSX.Element;
|
|
4
4
|
story: {
|
|
5
5
|
name: string;
|
|
6
6
|
parameters: {
|
|
@@ -12,7 +12,7 @@ export declare const InputStory: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export declare const CheckboxStory: {
|
|
15
|
-
():
|
|
15
|
+
(): JSX.Element;
|
|
16
16
|
story: {
|
|
17
17
|
parameters: {
|
|
18
18
|
design: {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { InputNumberProps } from "antd/lib/input-number";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AdditionOptions } from "../../spec";
|
|
4
|
-
export declare const AntdIntStyled: import("@linaria/react").
|
|
4
|
+
export declare const AntdIntStyled: import("@linaria/react").StyledMeta & React.FunctionComponent<{
|
|
5
5
|
controls: boolean;
|
|
6
6
|
suffix?: string | undefined;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
7
|
+
prefix?: string | undefined;
|
|
8
|
+
} & InputNumberProps & React.RefAttributes<unknown> & {
|
|
9
|
+
as?: React.ElementType<any> | undefined;
|
|
11
10
|
}>;
|
|
12
11
|
declare const InputInteger: React.FC<InputNumberProps & AdditionOptions>;
|
|
13
12
|
export default InputInteger;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { InputNumberProps } from "antd/lib/input-number";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { AdditionOptions } from "../../spec";
|
|
4
|
-
export declare const AntdInputNumberStyled: import("@linaria/react").
|
|
4
|
+
export declare const AntdInputNumberStyled: import("@linaria/react").StyledMeta & React.FunctionComponent<{
|
|
5
5
|
controls: boolean;
|
|
6
6
|
suffix?: string | undefined;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
7
|
+
prefix?: string | undefined;
|
|
8
|
+
} & InputNumberProps & React.RefAttributes<unknown> & {
|
|
9
|
+
as?: React.ElementType<any> | undefined;
|
|
11
10
|
}>;
|
|
12
11
|
declare const InputNumber: React.FC<InputNumberProps & AdditionOptions>;
|
|
13
12
|
export default InputNumber;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const InputTagItem: import("@linaria/react").
|
|
2
|
+
declare const InputTagItem: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown> & {
|
|
3
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
}>;
|
|
3
5
|
export default InputTagItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
2
|
import { Actions, KitRootState } from "../../store";
|
|
3
3
|
interface IProps {
|
|
4
4
|
}
|
|
5
|
-
declare const KitStoreProvider: (props: PropsWithChildren<IProps>) =>
|
|
5
|
+
declare const KitStoreProvider: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
6
6
|
export default KitStoreProvider;
|
|
7
7
|
export declare const useKitDispatch: () => import("redux").Dispatch<Actions>;
|
|
8
8
|
export declare const useKitSelector: <Selected extends unknown>(selector: (state: KitRootState) => Selected, equalityFn?: ((previous: Selected, next: Selected) => boolean) | undefined) => Selected;
|
|
@@ -11,6 +11,6 @@ export interface IMetricLegendProps {
|
|
|
11
11
|
onClick: (id: string) => void;
|
|
12
12
|
legends: ILegend[];
|
|
13
13
|
}
|
|
14
|
-
declare const MetricLegend: (props: IMetricLegendProps) =>
|
|
14
|
+
declare const MetricLegend: (props: IMetricLegendProps) => JSX.Element;
|
|
15
15
|
export declare const LegendComponent: React.FC<ILegend>;
|
|
16
16
|
export default MetricLegend;
|
|
@@ -37,5 +37,5 @@ export interface IChartProps<TValue extends ValueType = string, TName extends Na
|
|
|
37
37
|
format?: (payload: Payload<number, string>) => string;
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
declare const RenderChart: (props: IChartProps) =>
|
|
40
|
+
declare const RenderChart: (props: IChartProps) => JSX.Element;
|
|
41
41
|
export default RenderChart;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IChartProps } from "./RenderChart";
|
|
3
3
|
import { TimeUnit } from "./type";
|
|
4
4
|
export type MetricProps = {
|
|
@@ -13,7 +13,7 @@ export type MetricProps = {
|
|
|
13
13
|
} | string;
|
|
14
14
|
chartProps: Omit<IChartProps, "uuid">;
|
|
15
15
|
};
|
|
16
|
-
declare const Metric: (props: MetricProps) =>
|
|
16
|
+
declare const Metric: (props: MetricProps) => JSX.Element;
|
|
17
17
|
export default Metric;
|
|
18
18
|
export * from "./metric";
|
|
19
19
|
export * from "./MetricActions";
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const MetricPlaceholderWrapper: import("@linaria/react").
|
|
2
|
+
export declare const MetricPlaceholderWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
3
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
}>;
|
|
3
5
|
export declare const MetricLegendTabStyle: import("@linaria/core").LinariaClassName;
|
|
4
6
|
export declare const LegendStyle: import("@linaria/core").LinariaClassName;
|
|
5
7
|
export declare const LegendItemStyle: import("@linaria/core").LinariaClassName;
|
|
6
8
|
export declare const ColorBlockStyle: import("@linaria/core").LinariaClassName;
|
|
7
9
|
export declare const ExtraResource: import("@linaria/core").LinariaClassName;
|
|
8
|
-
export declare const MetricWrapper: import("@linaria/react").
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
export declare const MetricWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const TooltipWrapper: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const TooltipColumn: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Meta } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
3
|
import { ModalProps } from "../../spec";
|
|
4
4
|
import Button from "../Button";
|
|
5
5
|
declare const story: Meta<ModalProps>;
|
|
6
6
|
export default story;
|
|
7
7
|
export declare const ImmersiveDialog: {
|
|
8
|
-
(args: Parameters<typeof Button>):
|
|
8
|
+
(args: Parameters<typeof Button>): JSX.Element;
|
|
9
9
|
args: {
|
|
10
10
|
onClick: () => void;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export declare const WithAside: {
|
|
14
|
-
():
|
|
14
|
+
(): JSX.Element;
|
|
15
15
|
args: {};
|
|
16
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
():
|
|
3
|
+
(): JSX.Element;
|
|
4
4
|
story: {
|
|
5
5
|
name: string;
|
|
6
6
|
parameters: {
|
|
@@ -12,7 +12,7 @@ export declare const Basic: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export declare const Compact: {
|
|
15
|
-
():
|
|
15
|
+
(): JSX.Element;
|
|
16
16
|
story: {
|
|
17
17
|
name: string;
|
|
18
18
|
parameters: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const Basic: {
|
|
3
|
-
():
|
|
3
|
+
(): JSX.Element;
|
|
4
4
|
story: {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export declare const GroupButton: {
|
|
9
|
-
():
|
|
9
|
+
(): JSX.Element;
|
|
10
10
|
story: {
|
|
11
11
|
name: string;
|
|
12
12
|
parameters: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd").InputProps, "onChange"> & {
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
|
|
3
3
|
onChange: (value: string) => void;
|
|
4
4
|
debounceWait?: number | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
9
|
-
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd").InputProps, "onChange"> & {
|
|
9
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Omit<import("antd/lib/input").InputProps, "onChange"> & {
|
|
10
10
|
onChange: (value: string) => void;
|
|
11
11
|
debounceWait?: number | undefined;
|
|
12
12
|
} & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Meta } from "@storybook/react";
|
|
2
|
-
import React from "react";
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Basic: {
|
|
6
|
-
():
|
|
6
|
+
(): JSX.Element;
|
|
7
7
|
story: {
|
|
8
8
|
name: string;
|
|
9
9
|
parameters: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ISimplePaginationProps } from "../../spec";
|
|
3
|
-
declare const SimplePagination: (props: ISimplePaginationProps) =>
|
|
3
|
+
declare const SimplePagination: (props: ISimplePaginationProps) => JSX.Element;
|
|
4
4
|
export default SimplePagination;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd").SpaceProps & {
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/space").SpaceProps & {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
}>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("antd").SpaceProps & {
|
|
6
|
+
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("antd/lib/space").SpaceProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}>;
|