@cloudtower/eagle 0.17.12 → 0.19.2-beta.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 (107) hide show
  1. package/dist/UIKitProvider/index.d.ts +8 -0
  2. package/dist/components/Alert/index.d.ts +3 -0
  3. package/dist/components/Arch/index.d.ts +3 -0
  4. package/dist/components/Badge/index.d.ts +3 -0
  5. package/dist/components/BaseIcon/BaseIcon.stories.d.ts +5 -0
  6. package/dist/components/Bit/index.d.ts +3 -0
  7. package/dist/components/BitPerSecond/index.d.ts +3 -0
  8. package/dist/components/Bps/index.d.ts +3 -0
  9. package/dist/components/Button/Button.stories.d.ts +18 -0
  10. package/dist/components/Button/HoverableElement.d.ts +9 -0
  11. package/dist/components/Button/HoverableElement.stories.d.ts +5 -0
  12. package/dist/components/Button/index.d.ts +6 -6
  13. package/dist/components/Byte/index.d.ts +3 -0
  14. package/dist/components/Checkbox/__test__/h5_css.test.d.ts +1 -0
  15. package/dist/components/Checkbox/index.d.ts +8 -0
  16. package/dist/components/Empty/index.d.ts +3 -0
  17. package/dist/components/Fields/FieldsBoolean/FieldsBoolean.stories.d.ts +5 -0
  18. package/dist/components/Fields/FieldsBoolean/__test__/h5_css.test.d.ts +1 -0
  19. package/dist/components/Fields/FieldsBoolean/index.d.ts +4 -0
  20. package/dist/components/Fields/FieldsDateTime/index.d.ts +4 -0
  21. package/dist/components/Fields/FieldsDateTimeRange/FieldsDateTimeRange.stories.d.ts +11 -0
  22. package/dist/components/Fields/FieldsDateTimeRange/__test__/h5_css.test.d.ts +1 -0
  23. package/dist/components/Fields/FieldsDateTimeRange/index.d.ts +5 -0
  24. package/dist/components/Fields/FieldsEnum/FieldsEnum.stories.d.ts +7 -0
  25. package/dist/components/Fields/FieldsEnum/__test__/h5_css.test.d.ts +1 -0
  26. package/dist/components/Fields/FieldsEnum/index.d.ts +4 -0
  27. package/dist/components/Fields/FieldsFloat/__test__/h5_css.test.d.ts +1 -0
  28. package/dist/components/Fields/FieldsFloat/index.d.ts +4 -0
  29. package/dist/components/Fields/FieldsInt/__test__/h5_css.test.d.ts +1 -0
  30. package/dist/components/Fields/FieldsInt/index.d.ts +4 -0
  31. package/dist/components/Fields/FieldsInteger/FieldsInteger.stories.d.ts +6 -0
  32. package/dist/components/Fields/FieldsInteger/__test__/h5_css.test.d.ts +1 -0
  33. package/dist/components/Fields/FieldsInteger/index.d.ts +4 -0
  34. package/dist/components/Fields/FieldsString/FieldsString.stories.d.ts +19 -0
  35. package/dist/components/Fields/FieldsString/__test__/h5_css.test.d.ts +1 -0
  36. package/dist/components/Fields/FieldsString/index.d.ts +4 -0
  37. package/dist/components/Fields/FieldsTextArea/index.d.ts +5 -0
  38. package/dist/components/Fields/FieldsTimePicker/FieldsTimePicker.stories.d.ts +11 -0
  39. package/dist/components/Fields/FieldsTimePicker/__test__/h5_css.test.d.ts +1 -0
  40. package/dist/components/Fields/FieldsTimePicker/index.d.ts +5 -0
  41. package/dist/components/Fields/index.d.ts +26 -0
  42. package/dist/components/Frequency/index.d.ts +3 -0
  43. package/dist/components/Icon/Icon.stories.d.ts +39 -0
  44. package/dist/components/Icon/index.d.ts +14 -15
  45. package/dist/components/Input/Input.stories.d.ts +29 -0
  46. package/dist/components/Input/__test__/h5_css.test.d.ts +1 -0
  47. package/dist/components/Input/index.d.ts +6 -0
  48. package/dist/components/InputGroup/__test__/h5_css.test.d.ts +1 -0
  49. package/dist/components/InputGroup/index.d.ts +3 -0
  50. package/dist/components/InputInteger/__test__/unit.test.d.ts +1 -0
  51. package/dist/components/InputInteger/formatterInteger.d.ts +2 -0
  52. package/dist/components/InputNumber/index.d.ts +12 -0
  53. package/dist/components/InputTagItem/index.d.ts +5 -0
  54. package/dist/components/Loading/index.d.ts +2 -2
  55. package/dist/components/Metric/Metric.stories.d.ts +6 -0
  56. package/dist/components/Metric/mockMetric.d.ts +3 -0
  57. package/dist/components/Metric/mockMetric2.d.ts +3 -0
  58. package/dist/components/Modal/ImmersiveModal.d.ts +5 -0
  59. package/dist/components/Modal/Modal.stories.d.ts +5 -0
  60. package/dist/components/Percent/index.d.ts +3 -0
  61. package/dist/components/Progress/index.d.ts +3 -0
  62. package/dist/components/SearchInput/SearchInput.stories.d.ts +4 -0
  63. package/dist/components/SearchInput/__test__/h5_css.test.d.ts +1 -0
  64. package/dist/components/SearchInput/index.d.ts +3 -0
  65. package/dist/components/Second/index.d.ts +3 -0
  66. package/dist/components/Select/Select.stories.d.ts +16 -0
  67. package/dist/components/Select/index.d.ts +3 -0
  68. package/dist/components/Speed/index.d.ts +3 -0
  69. package/dist/components/Steps/index.d.ts +2 -2
  70. package/dist/components/Styled/index.d.ts +11 -0
  71. package/dist/components/Table/SearchWidget.d.ts +3 -3
  72. package/dist/components/Table/TableWidget.d.ts +1 -1
  73. package/dist/components/Table/__test__/h5_css.test.d.ts +1 -0
  74. package/dist/components/TextArea/index.d.ts +4 -0
  75. package/dist/components/TimePicker/index.d.ts +6 -0
  76. package/dist/components/TowerTable/TowerTable.stories.d.ts +12 -0
  77. package/dist/components/TowerTable/WrapperComponent.d.ts +2 -2
  78. package/dist/components/antd.d.ts +0 -24
  79. package/dist/components/images/index.d.ts +15 -1123
  80. package/dist/components/index.d.ts +0 -8
  81. package/dist/esm/index.js +2674 -9017
  82. package/dist/esm/stats1.html +1 -1
  83. package/dist/hooks/useLocalStorage.d.ts +1 -1
  84. package/dist/hooks/useSearch.d.ts +1 -1
  85. package/dist/hooks/utils.d.ts +1 -1
  86. package/dist/index.d.ts +7 -5
  87. package/dist/spec/base.d.ts +50 -143
  88. package/dist/spec/react-final-form.d.ts +46 -0
  89. package/dist/store/modal.d.ts +3 -0
  90. package/dist/style.css +1373 -1437
  91. package/dist/umd/index.js +2611 -10248
  92. package/dist/umd/stats1.html +1 -1
  93. package/dist/utils/icon.d.ts +1 -2
  94. package/dist/utils/isEmpty.d.ts +2 -0
  95. package/dist/utils/router.d.ts +1 -1
  96. package/dist/utils/tower.d.ts +62 -0
  97. package/package.json +33 -13
  98. package/README.md +0 -26
  99. package/dist/components/Form/index.d.ts +0 -154
  100. package/dist/components/FormError/index.d.ts +0 -29
  101. package/dist/components/HoverableIcon/index.d.ts +0 -10
  102. package/dist/components/Modal2/Error.d.ts +0 -14
  103. package/dist/components/Modal2/InitializedModal.d.ts +0 -4
  104. package/dist/components/Modal2/Modal.d.ts +0 -9
  105. package/dist/components/Modal2/WizardModal.d.ts +0 -4
  106. package/dist/components/Modal2/index.d.ts +0 -10
  107. package/dist/components/images/images-type.d.ts +0 -1
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from "react";
2
+ import { Kit } from "../spec";
3
+ interface IProps {
4
+ kit?: Kit;
5
+ }
6
+ declare const UIKitProvider: (props: PropsWithChildren<IProps>) => JSX.Element;
7
+ export default UIKitProvider;
8
+ export declare const useUIKit: () => Kit<any, HTMLElement>;
@@ -0,0 +1,3 @@
1
+ import { AlertComponentType } from "../../spec";
2
+ declare const Alert: AlertComponentType;
3
+ export default Alert;
@@ -0,0 +1,3 @@
1
+ import { ArchComponentType } from "../../spec";
2
+ declare const Arch: ArchComponentType;
3
+ export default Arch;
@@ -0,0 +1,3 @@
1
+ import { BadgeComponentType } from "../../spec";
2
+ declare const Badge: BadgeComponentType;
3
+ export default Badge;
@@ -0,0 +1,5 @@
1
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import React from "react";
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import(".").IBaseIconProps & React.RefAttributes<HTMLSpanElement>>>;
4
+ export default _default;
5
+ export declare const Primary: ComponentStory<React.ForwardRefExoticComponent<import(".").IBaseIconProps & React.RefAttributes<HTMLSpanElement>>>;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Bit: UnitFn;
3
+ export default Bit;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const BitPerSeconds: UnitFn;
3
+ export default BitPerSeconds;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Bps: UnitFn;
3
+ export default Bps;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ declare const story: {
3
+ title: string;
4
+ decorators: ((...args: any) => any)[];
5
+ };
6
+ export declare const Basic: {
7
+ (): JSX.Element;
8
+ story: {
9
+ name: string;
10
+ parameters: {
11
+ design: {
12
+ type: string;
13
+ url: string;
14
+ };
15
+ };
16
+ };
17
+ };
18
+ export default story;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface IHoverableElementProps {
3
+ className?: string;
4
+ hover: boolean;
5
+ icon: JSX.Element | null | undefined;
6
+ hoverEle: JSX.Element | null | undefined;
7
+ }
8
+ declare const HoverableElement: (props: IHoverableElementProps) => React.FunctionComponentElement<any> | null;
9
+ export default HoverableElement;
@@ -0,0 +1,5 @@
1
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import React from "react";
3
+ declare const _default: ComponentMeta<(props: import("./HoverableElement").IHoverableElementProps) => React.FunctionComponentElement<any> | null>;
4
+ export default _default;
5
+ export declare const Primary: ComponentStory<(props: import("./HoverableElement").IHoverableElementProps) => React.FunctionComponentElement<any> | null>;
@@ -1,16 +1,16 @@
1
1
  import React from "react";
2
2
  declare const Button: React.ForwardRefExoticComponent<{
3
- prefixIcon?: JSX.Element | import("..").ImagesType | undefined;
4
- hoverPrefixIcon?: JSX.Element | import("..").ImagesType | undefined;
5
- suffixIcon?: JSX.Element | import("..").ImagesType | undefined;
6
- hoverSuffixIcon?: JSX.Element | import("..").ImagesType | undefined;
3
+ prefixIcon?: JSX.Element | undefined;
4
+ hoverPrefixIcon?: JSX.Element | undefined;
5
+ suffixIcon?: JSX.Element | undefined;
6
+ hoverSuffixIcon?: JSX.Element | undefined;
7
7
  type?: "link" | "text" | "ghost" | "default" | "primary" | "dashed" | "secondary" | "tertiary" | "ordinary" | "ordinary-onTint" | "quiet" | undefined;
8
8
  } & Omit<Partial<{
9
9
  href: string;
10
10
  target?: string | undefined;
11
11
  onClick?: React.MouseEventHandler<HTMLElement> | undefined;
12
- } & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
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
- } & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">>, "type"> & React.RefAttributes<HTMLButtonElement>>;
15
+ } & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">>, "type"> & React.RefAttributes<HTMLButtonElement>>;
16
16
  export default Button;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Byte: UnitFn;
3
+ export default Byte;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { CheckboxProps } from "antd/lib/checkbox";
2
+ import React, { ReactNode } from "react";
3
+ declare const Checkbox: React.FC<CheckboxProps & {
4
+ description?: ReactNode;
5
+ compact?: boolean;
6
+ "data-test"?: string;
7
+ }>;
8
+ export default Checkbox;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Empty: JSX.Element;
3
+ export default Empty;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ input, children, ...props }: import("../../../spec").FieldBaseProps<any, HTMLElement>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Primary: ComponentStory<({ input, children, ...props }: import("../../../spec").FieldBaseProps<any, HTMLElement>) => JSX.Element>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FieldBaseProps } from "../../../spec";
3
+ declare const FieldsBoolean: ({ input, children, ...props }: FieldBaseProps) => JSX.Element;
4
+ export default FieldsBoolean;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FieldBaseProps } from "../../../spec";
3
+ declare const FieldsDateTime: ({ input }: FieldBaseProps) => JSX.Element;
4
+ export default FieldsDateTime;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ input, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
4
+ disabled?: boolean | undefined;
5
+ className?: string | undefined;
6
+ } & import("antd/lib/date-picker").DatePickerProps) => JSX.Element>;
7
+ export default _default;
8
+ export declare const Simple: ComponentStory<({ input, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
9
+ disabled?: boolean | undefined;
10
+ className?: string | undefined;
11
+ } & import("antd/lib/date-picker").DatePickerProps) => JSX.Element>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { DatePickerProps } from "antd/lib/date-picker";
3
+ import { FieldBaseProps } from "../../../spec";
4
+ declare const FieldsDateTimeRange: ({ input, ...props }: FieldBaseProps & DatePickerProps) => JSX.Element;
5
+ export default FieldsDateTimeRange;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ meta: __, enumValues, emptyLabel, ...restProps }: import("../../../spec").EnumProps<any, HTMLElement>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const NoneEnumValues: ComponentStory<({ meta: __, enumValues, emptyLabel, ...restProps }: import("../../../spec").EnumProps<any, HTMLElement>) => JSX.Element>;
6
+ export declare const WithEnumValuesString: ComponentStory<({ meta: __, enumValues, emptyLabel, ...restProps }: import("../../../spec").EnumProps<any, HTMLElement>) => JSX.Element>;
7
+ export declare const WithEnumValuesObject: ComponentStory<({ meta: __, enumValues, emptyLabel, ...restProps }: import("../../../spec").EnumProps<any, HTMLElement>) => JSX.Element>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { EnumProps } from "../../../spec";
3
+ declare const FieldsEnum: ({ meta: __, enumValues, emptyLabel, ...restProps }: EnumProps) => JSX.Element;
4
+ export default FieldsEnum;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FloatFieldProps } from "../../../spec";
3
+ declare const FieldsFloat: ({ input, meta, onBlur, autoComplete, ...props }: FloatFieldProps) => JSX.Element;
4
+ export default FieldsFloat;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IntFieldProps } from "../../../spec";
3
+ declare const FieldsInt: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: IntFieldProps) => JSX.Element;
4
+ export default FieldsInt;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ meta, input, onBlur, ...props }: import("../../../spec").IntegerFieldProps<any, HTMLElement>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const ValidInteger: ComponentStory<({ meta, input, onBlur, ...props }: import("../../../spec").IntegerFieldProps<any, HTMLElement>) => JSX.Element>;
6
+ export declare const InvalidInteger: ComponentStory<({ meta, input, onBlur, ...props }: import("../../../spec").IntegerFieldProps<any, HTMLElement>) => JSX.Element>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IntegerFieldProps } from "../../../spec";
3
+ declare const FieldsInteger: ({ meta, input, onBlur, ...props }: IntegerFieldProps) => JSX.Element;
4
+ export default FieldsInteger;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
4
+ disabled?: boolean | undefined;
5
+ className?: string | undefined;
6
+ } & import("../../../spec").StringProps) => JSX.Element>;
7
+ export default _default;
8
+ export declare const WithOutTags: ComponentStory<({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
9
+ disabled?: boolean | undefined;
10
+ className?: string | undefined;
11
+ } & import("../../../spec").StringProps) => JSX.Element>;
12
+ export declare const WithOneTag: ComponentStory<({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
13
+ disabled?: boolean | undefined;
14
+ className?: string | undefined;
15
+ } & import("../../../spec").StringProps) => JSX.Element>;
16
+ export declare const WithTags: ComponentStory<({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
17
+ disabled?: boolean | undefined;
18
+ className?: string | undefined;
19
+ } & import("../../../spec").StringProps) => JSX.Element>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
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) => JSX.Element;
4
+ export default FieldsString;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TextAreaProps } from "antd/lib/input";
3
+ import { FieldBaseProps } from "../../../spec";
4
+ declare const FieldsTextArea: ({ input, meta, onFocusChangeHeight, ...props }: FieldBaseProps & TextAreaProps) => JSX.Element;
5
+ export default FieldsTextArea;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<({ input, meta, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
4
+ disabled?: boolean | undefined;
5
+ className?: string | undefined;
6
+ } & import("antd/lib/time-picker").TimePickerProps) => JSX.Element>;
7
+ export default _default;
8
+ export declare const Simple: ComponentStory<({ input, meta, ...props }: import("../../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
9
+ disabled?: boolean | undefined;
10
+ className?: string | undefined;
11
+ } & import("antd/lib/time-picker").TimePickerProps) => JSX.Element>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TimePickerProps } from "antd/lib/time-picker";
3
+ import { FieldBaseProps } from "../../../spec";
4
+ declare const FieldsTimePicker: ({ input, meta, ...props }: FieldBaseProps & TimePickerProps) => JSX.Element;
5
+ export default FieldsTimePicker;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ declare const fields: {
3
+ Int: ({ input, meta, onBlur, autoComplete, supportNegativeValue, ...props }: import("../../spec").IntFieldProps<any, HTMLElement>) => JSX.Element;
4
+ Integer: ({ meta, input, onBlur, ...props }: import("../../spec").IntegerFieldProps<any, HTMLElement>) => JSX.Element;
5
+ Float: ({ input, meta, onBlur, autoComplete, ...props }: import("../../spec").FloatFieldProps<any, HTMLElement>) => JSX.Element;
6
+ DateTime: ({ input }: import("../../spec").FieldBaseProps<any, HTMLElement>) => JSX.Element;
7
+ TimePicker: ({ input, meta, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
8
+ disabled?: boolean | undefined;
9
+ className?: string | undefined;
10
+ } & import("antd/lib/time-picker").TimePickerProps) => JSX.Element;
11
+ Enum: ({ meta: __, enumValues, emptyLabel, ...restProps }: import("../../spec").EnumProps<any, HTMLElement>) => JSX.Element;
12
+ String: ({ input, meta, autoComplete, size, tags, className, allowClear, tagsOverflow, onTagsAllowClearClick, onClick, maxLength, focusIndicator, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
13
+ disabled?: boolean | undefined;
14
+ className?: string | undefined;
15
+ } & import("../../spec").StringProps) => JSX.Element;
16
+ Boolean: ({ input, children, ...props }: import("../../spec").FieldBaseProps<any, HTMLElement>) => JSX.Element;
17
+ TextArea: ({ input, meta, onFocusChangeHeight, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
18
+ disabled?: boolean | undefined;
19
+ className?: string | undefined;
20
+ } & import("antd/lib/input").TextAreaProps) => JSX.Element;
21
+ DateTimeRange: ({ input, ...props }: import("../../spec/react-final-form").FieldRenderProps<any, HTMLElement> & {
22
+ disabled?: boolean | undefined;
23
+ className?: string | undefined;
24
+ } & import("antd/lib/date-picker").DatePickerProps) => JSX.Element;
25
+ };
26
+ export default fields;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Frequency: UnitFn;
3
+ export default Frequency;
@@ -0,0 +1,39 @@
1
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import React from "react";
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
4
+ src: string;
5
+ active?: boolean | undefined;
6
+ hoverSrc?: string | undefined;
7
+ activeSrc?: string | undefined;
8
+ className?: string | undefined;
9
+ alt?: string | undefined;
10
+ iconWidth?: number | undefined;
11
+ iconHeight?: number | "auto" | undefined;
12
+ cursor?: string | undefined;
13
+ isRotate?: boolean | undefined;
14
+ prefix?: React.ReactNode;
15
+ suffix?: {
16
+ src: string;
17
+ hoverSrc?: string | undefined;
18
+ activeSrc?: string | undefined;
19
+ } | undefined;
20
+ } & React.RefAttributes<HTMLSpanElement>>>;
21
+ export default _default;
22
+ export declare const Primary: ComponentStory<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
23
+ src: string;
24
+ active?: boolean | undefined;
25
+ hoverSrc?: string | undefined;
26
+ activeSrc?: string | undefined;
27
+ className?: string | undefined;
28
+ alt?: string | undefined;
29
+ iconWidth?: number | undefined;
30
+ iconHeight?: number | "auto" | undefined;
31
+ cursor?: string | undefined;
32
+ isRotate?: boolean | undefined;
33
+ prefix?: React.ReactNode;
34
+ suffix?: {
35
+ src: string;
36
+ hoverSrc?: string | undefined;
37
+ activeSrc?: string | undefined;
38
+ } | undefined;
39
+ } & React.RefAttributes<HTMLSpanElement>>>;
@@ -1,10 +1,9 @@
1
1
  import React from "react";
2
- import { ImagesType } from "../images/images-type";
3
2
  export declare type IconProps = React.HTMLAttributes<HTMLSpanElement> & {
4
- type: ImagesType;
3
+ src: string;
5
4
  active?: boolean;
6
- hoverType?: ImagesType;
7
- activeType?: ImagesType;
5
+ hoverSrc?: string;
6
+ activeSrc?: string;
8
7
  className?: string;
9
8
  alt?: string;
10
9
  iconWidth?: number;
@@ -12,17 +11,17 @@ export declare type IconProps = React.HTMLAttributes<HTMLSpanElement> & {
12
11
  cursor?: "pointer" | string;
13
12
  isRotate?: boolean;
14
13
  prefix?: React.ReactNode;
15
- suffixType?: {
16
- type: ImagesType;
17
- hoverType?: ImagesType;
18
- activeType?: ImagesType;
14
+ suffix?: {
15
+ src: string;
16
+ hoverSrc?: string;
17
+ activeSrc?: string;
19
18
  };
20
19
  };
21
20
  declare const Icon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
22
- type: ImagesType;
21
+ src: string;
23
22
  active?: boolean | undefined;
24
- hoverType?: ImagesType | undefined;
25
- activeType?: ImagesType | undefined;
23
+ hoverSrc?: string | undefined;
24
+ activeSrc?: string | undefined;
26
25
  className?: string | undefined;
27
26
  alt?: string | undefined;
28
27
  iconWidth?: number | undefined;
@@ -30,10 +29,10 @@ declare const Icon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpa
30
29
  cursor?: string | undefined;
31
30
  isRotate?: boolean | undefined;
32
31
  prefix?: React.ReactNode;
33
- suffixType?: {
34
- type: ImagesType;
35
- hoverType?: ImagesType | undefined;
36
- activeType?: ImagesType | undefined;
32
+ suffix?: {
33
+ src: string;
34
+ hoverSrc?: string | undefined;
35
+ activeSrc?: string | undefined;
37
36
  } | undefined;
38
37
  } & React.RefAttributes<HTMLSpanElement>>;
39
38
  export default Icon;
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((...args: any) => any)[];
5
+ };
6
+ export default _default;
7
+ export declare const InputStory: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ parameters: {
12
+ design: {
13
+ type: string;
14
+ url: string;
15
+ };
16
+ };
17
+ };
18
+ };
19
+ export declare const CheckboxStory: {
20
+ (): JSX.Element;
21
+ story: {
22
+ parameters: {
23
+ design: {
24
+ type: string;
25
+ url: string;
26
+ };
27
+ };
28
+ };
29
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { InputProps } from "antd/lib/input";
2
+ import React from "react";
3
+ declare const Input: React.FC<InputProps & {
4
+ error?: boolean;
5
+ }>;
6
+ export default Input;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const InputGroup: import("@linaria/react").StyledMeta & import("react").FC<import("antd/lib/input").GroupProps>;
3
+ export default InputGroup;
@@ -0,0 +1,2 @@
1
+ declare const formatterInteger: (value: any) => string;
2
+ export default formatterInteger;
@@ -0,0 +1,12 @@
1
+ import { InputNumberProps } from "antd/lib/input-number";
2
+ import React from "react";
3
+ import { AdditionOptions } from "../../spec";
4
+ export declare const AntdInputNumberStyled: import("@linaria/react").StyledMeta & React.FunctionComponent<{
5
+ controls: boolean;
6
+ suffix?: string | undefined;
7
+ prefix?: string | undefined;
8
+ } & InputNumberProps & React.RefAttributes<unknown> & {
9
+ as?: React.ElementType<any> | undefined;
10
+ }>;
11
+ declare const InputNumber: React.FC<InputNumberProps & AdditionOptions>;
12
+ export default InputNumber;
@@ -0,0 +1,5 @@
1
+ /// <reference types="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
+ }>;
5
+ export default InputTagItem;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const Loading: React.FC;
1
+ import { LoadingComponentType } from "../../spec";
2
+ declare const Loading: LoadingComponentType;
3
3
  export default Loading;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ declare const _default: ComponentMeta<(props: import(".").MetricProps) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Primary: ComponentStory<(props: import(".").MetricProps) => JSX.Element>;
6
+ export declare const Secondary: ComponentStory<(props: import(".").MetricProps) => JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import { IMetric } from "./type";
2
+ declare const mockMetric: IMetric;
3
+ export default mockMetric;
@@ -0,0 +1,3 @@
1
+ import { IMetric } from "./type";
2
+ declare const mockMetric2: IMetric;
3
+ export default mockMetric2;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ declare const ImmersiveModal: React.FC<{
3
+ onClose: () => void;
4
+ }>;
5
+ export default ImmersiveModal;
@@ -0,0 +1,5 @@
1
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import React from "react";
3
+ declare const _default: ComponentMeta<(props: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const ImmersiveDialog: ComponentStory<(props: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Percent: UnitFn;
3
+ export default Percent;
@@ -0,0 +1,3 @@
1
+ import { ProgressComponentType } from "../../spec";
2
+ declare const Progress: ProgressComponentType;
3
+ export default Progress;
@@ -0,0 +1,4 @@
1
+ import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ declare const _default: ComponentMeta<import("../../spec").SearchInputComponentType>;
3
+ export default _default;
4
+ export declare const Simple: ComponentStory<import("../../spec").SearchInputComponentType>;
@@ -0,0 +1,3 @@
1
+ import { SearchInputComponentType } from "../../spec";
2
+ declare const SearchInput: SearchInputComponentType;
3
+ export default SearchInput;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Second: UnitFn;
3
+ export default Second;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from "@storybook/react";
3
+ declare const _default: ComponentMeta<import("../../spec").SelectComponentType<any, HTMLElement>>;
4
+ export default _default;
5
+ export declare const Basic: {
6
+ (): JSX.Element;
7
+ story: {
8
+ name: string;
9
+ parameters: {
10
+ design: {
11
+ type: string;
12
+ url: string;
13
+ };
14
+ };
15
+ };
16
+ };
@@ -0,0 +1,3 @@
1
+ import { SelectComponentType } from "../../spec";
2
+ declare const Select: SelectComponentType<any, HTMLElement>;
3
+ export default Select;
@@ -0,0 +1,3 @@
1
+ import { UnitFn } from "../../spec";
2
+ declare const Speed: UnitFn;
3
+ export default Speed;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import { IStepsPorps } from "../../spec";
3
- declare const Steps: React.FC<IStepsPorps>;
2
+ import { IStepsProps } from "../../spec";
3
+ declare const Steps: React.FC<IStepsProps>;
4
4
  export default Steps;