@cloudtower/eagle 0.0.0-antd4.x-rc-1 → 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.
Files changed (85) hide show
  1. package/dist/UIKitProvider/index.d.ts +2 -2
  2. package/dist/components/Alert/Alert.stories.d.ts +1 -1
  3. package/dist/components/Button/Button.stories.d.ts +5 -6
  4. package/dist/components/Button/index.d.ts +2 -2
  5. package/dist/components/Card/Card.stories.d.ts +5 -5
  6. package/dist/components/Card/CardBody.d.ts +3 -1
  7. package/dist/components/Card/CardTitle.d.ts +3 -1
  8. package/dist/components/Empty/index.d.ts +2 -2
  9. package/dist/components/ExpandableList/ExpandIcon.d.ts +1 -1
  10. package/dist/components/ExpandableList/ExpandableContainer.d.ts +2 -2
  11. package/dist/components/ExpandableList/ExpandableItem.d.ts +1 -1
  12. package/dist/components/ExpandableList/RoundOrder.d.ts +2 -2
  13. package/dist/components/Fields/FieldsBoolean/index.d.ts +2 -2
  14. package/dist/components/Fields/FieldsDateTime/index.d.ts +2 -2
  15. package/dist/components/Fields/FieldsEnum/index.d.ts +2 -2
  16. package/dist/components/Fields/FieldsFloat/index.d.ts +2 -2
  17. package/dist/components/Fields/FieldsInt/index.d.ts +2 -2
  18. package/dist/components/Fields/FieldsInteger/index.d.ts +2 -2
  19. package/dist/components/Fields/FieldsString/index.d.ts +2 -2
  20. package/dist/components/Fields/FieldsTextArea/index.d.ts +2 -2
  21. package/dist/components/Fields/FieldsTimePicker/FieldsTimePicker.stories.d.ts +2 -2
  22. package/dist/components/Fields/FieldsTimePicker/index.d.ts +2 -2
  23. package/dist/components/Fields/index.d.ts +10 -10
  24. package/dist/components/Form/index.d.ts +2 -19
  25. package/dist/components/FormItem/Form.stories.d.ts +1 -1
  26. package/dist/components/I18nNameTag/I18nNameTag.stories.d.ts +2 -2
  27. package/dist/components/Input/Input.simple.stories.d.ts +2 -2
  28. package/dist/components/Input/Input.stories.d.ts +3 -3
  29. package/dist/components/InputGroup/inputGroup.stories.d.ts +2 -2
  30. package/dist/components/InputInteger/index.d.ts +4 -5
  31. package/dist/components/InputNumber/index.d.ts +4 -5
  32. package/dist/components/InputTagItem/index.d.ts +3 -1
  33. package/dist/components/KitStoreProvider/index.d.ts +2 -2
  34. package/dist/components/Metric/MetricLegend.d.ts +1 -1
  35. package/dist/components/Metric/RenderChart.d.ts +1 -1
  36. package/dist/components/Metric/index.d.ts +2 -2
  37. package/dist/components/Metric/styled.d.ts +12 -4
  38. package/dist/components/Modal/Modal.stories.d.ts +3 -3
  39. package/dist/components/OverflowTooltip/OverflowTooltip.stories.d.ts +1 -1
  40. package/dist/components/Pagination/Pagination.stories.d.ts +2 -2
  41. package/dist/components/Radio/Radio.stories.d.ts +3 -3
  42. package/dist/components/Radio/RadioGroup.stories.d.ts +3 -3
  43. package/dist/components/SearchInput/SearchInput.stories.d.ts +2 -2
  44. package/dist/components/Select/Select.stories.d.ts +2 -2
  45. package/dist/components/SimplePagination/index.d.ts +2 -2
  46. package/dist/components/Space/Space.stories.d.ts +2 -2
  47. package/dist/components/Steps/Steps.stories.d.ts +2 -2
  48. package/dist/components/Styled/Styled.stories.d.ts +7 -7
  49. package/dist/components/Styled/index.d.ts +66 -22
  50. package/dist/components/Switch/Switch.stories.d.ts +2 -2
  51. package/dist/components/Table/index.d.ts +2 -2
  52. package/dist/components/TableForm/TableForm.stories.d.ts +2 -2
  53. package/dist/components/TableForm/style.d.ts +12 -4
  54. package/dist/components/Tag/Tag.stories.d.ts +3 -3
  55. package/dist/components/Time/index.d.ts +2 -2
  56. package/dist/components/Time/time.stories.d.ts +2 -2
  57. package/dist/components/TimeZoneSelect/TimeZoneSelect.stories.d.ts +2 -2
  58. package/dist/components/Token/index.d.ts +1 -1
  59. package/dist/components/Tooltip/Tooltip.stories.d.ts +4 -3
  60. package/dist/components/message/index.d.ts +25 -9
  61. package/dist/components.css +5394 -8087
  62. package/dist/core/Breadcrumb/index.d.ts +3 -1
  63. package/dist/core/ParrotTrans/index.d.ts +1 -1
  64. package/dist/coreX/CronCalendar/CronCalendar.stories.d.ts +1 -1
  65. package/dist/coreX/CronPlan/CronPlan.stories.d.ts +1 -1
  66. package/dist/coreX/GoBackButton/GoBackButton.stories.d.ts +1 -1
  67. package/dist/coreX/NamesTooltip/NamesTooltip.stories.d.ts +1 -1
  68. package/dist/coreX/SidebarSubtitle/SidebarSubtitle.stories.d.ts +5 -0
  69. package/dist/coreX/SidebarSubtitle/__test__/index.test.d.ts +1 -0
  70. package/dist/coreX/SidebarSubtitle/index.d.ts +3 -0
  71. package/dist/coreX/SortableList/SortableList.stories.d.ts +6 -0
  72. package/dist/coreX/SortableList/index.d.ts +3 -0
  73. package/dist/coreX/SwitchWithText/SwitchWithText.stories.d.ts +2 -2
  74. package/dist/coreX/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +1 -1
  75. package/dist/esm/index.js +811 -785
  76. package/dist/esm/stats1.html +1 -1
  77. package/dist/index.d.ts +1 -1
  78. package/dist/spec/base.d.ts +28 -11
  79. package/dist/spec/type.d.ts +8 -2
  80. package/dist/stories/icons-react.stories.d.ts +1 -1
  81. package/dist/stories/menu.stories.d.ts +2 -2
  82. package/dist/style.css +13090 -15783
  83. package/dist/umd/index.js +810 -786
  84. package/dist/umd/stats1.html +1 -1
  85. package/package.json +9 -6
@@ -9,9 +9,9 @@ export interface IProps {
9
9
  maxCount?: number;
10
10
  };
11
11
  lng?: ParrotI18nSupportLng;
12
- getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement;
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>) => React.JSX.Element;
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
- import React from "react";
1
+ /// <reference types="react" />
2
2
  export declare const Basic: {
3
- (): React.JSX.Element;
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: () => React.JSX.Element;
15
- export declare const CustomChildren: () => React.JSX.Element;
16
- export declare const Link: () => React.JSX.Element;
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) => React.JSX.Element;
20
- export declare const WithTitle: (args: CardProps) => React.JSX.Element;
21
- export declare const Collapsible: (args: CardProps) => React.JSX.Element;
22
- export declare const NoShadow: (args: CardProps) => React.JSX.Element;
23
- export declare const Hoverable: (args: CardProps) => React.JSX.Element;
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").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
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").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
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 React, { CSSProperties } from "react";
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) => React.JSX.Element;
6
+ declare const Empty: (props: IEmptyProps) => JSX.Element;
7
7
  export default Empty;
@@ -9,5 +9,5 @@ interface IProps {
9
9
  disabled?: boolean;
10
10
  extra?: React.ReactNode;
11
11
  }
12
- declare const ExpandIcon: (props: IProps) => React.JSX.Element;
12
+ declare const ExpandIcon: (props: IProps) => JSX.Element;
13
13
  export default ExpandIcon;
@@ -1,5 +1,5 @@
1
- import React, { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from "react";
2
2
  interface IProps {
3
3
  }
4
- declare const ExpandableContainer: (props: PropsWithChildren<IProps>) => React.JSX.Element;
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>) => React.JSX.Element;
8
+ declare const ExpandableItem: (props: PropsWithChildren<IProps>) => JSX.Element;
9
9
  export default ExpandableItem;
@@ -1,6 +1,6 @@
1
- import React, { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from "react";
2
2
  interface IProps {
3
3
  order?: number;
4
4
  }
5
- declare const RoundedOrder: (props: PropsWithChildren<IProps>) => React.JSX.Element;
5
+ declare const RoundedOrder: (props: PropsWithChildren<IProps>) => JSX.Element;
6
6
  export default RoundedOrder;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { FieldBaseProps } from "../../../spec";
3
- declare const FieldsBoolean: ({ input, children, ...props }: FieldBaseProps) => React.JSX.Element;
3
+ declare const FieldsBoolean: ({ input, children, ...props }: FieldBaseProps) => JSX.Element;
4
4
  export default FieldsBoolean;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { FieldBaseProps } from "../../../spec";
3
- declare const FieldsDateTime: ({ input }: FieldBaseProps) => React.JSX.Element;
3
+ declare const FieldsDateTime: ({ input }: FieldBaseProps) => JSX.Element;
4
4
  export default FieldsDateTime;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { EnumProps } from "../../../spec";
3
- declare const FieldsEnum: ({ meta: __, enumValues, emptyLabel, ...restProps }: EnumProps) => React.JSX.Element;
3
+ declare const FieldsEnum: ({ meta: __, enumValues, emptyLabel, ...restProps }: EnumProps) => JSX.Element;
4
4
  export default FieldsEnum;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { FloatFieldProps } from "../../../spec";
3
- declare const FieldsFloat: ({ input, meta, onBlur, autoComplete, ...props }: FloatFieldProps) => React.JSX.Element;
3
+ declare const FieldsFloat: ({ input, meta, onBlur, autoComplete, ...props }: FloatFieldProps) => JSX.Element;
4
4
  export default FieldsFloat;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { IntFieldProps } from "../../../spec";
3
- declare const FieldsInt: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: IntFieldProps) => React.JSX.Element;
3
+ declare const FieldsInt: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: IntFieldProps) => JSX.Element;
4
4
  export default FieldsInt;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { IntegerFieldProps } from "../../../spec";
3
- declare const FieldsInteger: ({ meta, input, onBlur, ...props }: IntegerFieldProps) => React.JSX.Element;
3
+ declare const FieldsInteger: ({ meta, input, onBlur, ...props }: IntegerFieldProps) => JSX.Element;
4
4
  export default FieldsInteger;
@@ -1,4 +1,4 @@
1
- import React from "react";
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) => React.JSX.Element;
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) => React.JSX.Element;
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) => React.JSX.Element;
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) => import("react").JSX.Element;
4
- Integer: ({ meta, input, onBlur, ...props }: import("../..").IntegerFieldProps) => import("react").JSX.Element;
5
- Float: ({ input, meta, onBlur, autoComplete, ...props }: import("../../spec").FloatFieldProps) => import("react").JSX.Element;
6
- DateTime: ({ input }: import("../../spec").FieldBaseProps) => import("react").JSX.Element;
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) => import("react").JSX.Element;
11
- Enum: ({ meta: __, enumValues, emptyLabel, ...restProps }: import("../..").EnumProps) => import("react").JSX.Element;
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) => import("react").JSX.Element;
16
- Boolean: ({ input, children, ...props }: import("../../spec").FieldBaseProps) => import("react").JSX.Element;
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) => import("react").JSX.Element;
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
- /// <reference types="react" />
2
- declare const Form: (<Values = any>(props: import("antd").FormProps<Values> & {
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<unknown>>;
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
- }): React.JSX.Element;
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
- import React from "react";
1
+ /// <reference types="react" />
2
2
  export declare const InputStory: {
3
- (): React.JSX.Element;
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
- (): React.JSX.Element;
15
+ (): JSX.Element;
16
16
  story: {
17
17
  parameters: {
18
18
  design: {
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- export declare const Simple: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const Simple: () => JSX.Element;
3
3
  declare const meta: {
4
4
  title: string;
5
5
  };
@@ -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").StyledComponent<{
4
+ export declare const AntdIntStyled: import("@linaria/react").StyledMeta & React.FunctionComponent<{
5
5
  controls: boolean;
6
6
  suffix?: string | undefined;
7
- } & InputNumberProps<import("rc-input-number/lib/utils/MiniDecimal").ValueType> & {
8
- children?: React.ReactNode;
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").StyledComponent<{
4
+ export declare const AntdInputNumberStyled: import("@linaria/react").StyledMeta & React.FunctionComponent<{
5
5
  controls: boolean;
6
6
  suffix?: string | undefined;
7
- } & InputNumberProps<import("rc-input-number/lib/utils/MiniDecimal").ValueType> & {
8
- children?: React.ReactNode;
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").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
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 React, { PropsWithChildren } from "react";
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>) => React.JSX.Element;
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) => React.JSX.Element;
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) => React.JSX.Element;
40
+ declare const RenderChart: (props: IChartProps) => JSX.Element;
41
41
  export default RenderChart;
@@ -1,4 +1,4 @@
1
- import React from "react";
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) => React.JSX.Element;
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").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
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").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const TooltipWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export declare const TooltipColumn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
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>): React.JSX.Element;
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
- (): React.JSX.Element;
14
+ (): JSX.Element;
15
15
  args: {};
16
16
  };
@@ -8,7 +8,7 @@ export declare const Default: {
8
8
  width: string;
9
9
  content: string;
10
10
  isMultiLine: boolean;
11
- }): React.JSX.Element;
11
+ }): JSX.Element;
12
12
  args: {
13
13
  width: string;
14
14
  isMultiLine: boolean;
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  declare const meta: {
3
3
  title: string;
4
4
  };
5
5
  export default meta;
6
- export declare const DefaultPagination: () => React.JSX.Element;
6
+ export declare const DefaultPagination: () => JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  export declare const Basic: {
3
- (): React.JSX.Element;
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
- (): React.JSX.Element;
15
+ (): JSX.Element;
16
16
  story: {
17
17
  name: string;
18
18
  parameters: {
@@ -1,12 +1,12 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  export declare const Basic: {
3
- (): React.JSX.Element;
3
+ (): JSX.Element;
4
4
  story: {
5
5
  name: string;
6
6
  };
7
7
  };
8
8
  export declare const GroupButton: {
9
- (): React.JSX.Element;
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
- (): React.JSX.Element;
6
+ (): JSX.Element;
7
7
  story: {
8
8
  name: string;
9
9
  parameters: {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { ISimplePaginationProps } from "../../spec";
3
- declare const SimplePagination: (props: ISimplePaginationProps) => React.JSX.Element;
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
  }>;