@antscorp/antsomi-ui 1.2.2-beta.7 → 1.2.3

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 (102) hide show
  1. package/CHANGELOG.md +77 -72
  2. package/README.md +78 -78
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.LICENSE.txt +0 -17
  5. package/dist/types/components/atoms/Button/Button.d.ts +1 -1
  6. package/dist/types/components/atoms/Button/Button.stories.d.ts +32 -32
  7. package/dist/types/components/atoms/Button/__tests__/Button.test.d.ts +1 -1
  8. package/dist/types/components/atoms/Button/index.d.ts +10 -10
  9. package/dist/types/components/atoms/Button/test.d.ts +3 -3
  10. package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  11. package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +15 -15
  12. package/dist/types/components/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
  13. package/dist/types/components/atoms/Checkbox/index.d.ts +1 -1
  14. package/dist/types/components/atoms/Divider/Divider.d.ts +1 -1
  15. package/dist/types/components/atoms/Divider/Divider.stories.d.ts +8 -8
  16. package/dist/types/components/atoms/Divider/index.d.ts +1 -1
  17. package/dist/types/components/atoms/Input/Input.d.ts +7 -7
  18. package/dist/types/components/atoms/Input/Input.stories.d.ts +19 -19
  19. package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
  20. package/dist/types/components/atoms/Input/index.d.ts +1 -1
  21. package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
  22. package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
  23. package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
  24. package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
  25. package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
  26. package/dist/types/components/atoms/Radio/index.d.ts +1 -1
  27. package/dist/types/components/atoms/Space/Space.d.ts +1 -1
  28. package/dist/types/components/atoms/Space/index.d.ts +1 -1
  29. package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
  30. package/dist/types/components/atoms/Tag/index.d.ts +1 -1
  31. package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  32. package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
  33. package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
  34. package/dist/types/components/atoms/Typography/index.d.ts +1 -1
  35. package/dist/types/components/atoms/index.d.ts +10 -10
  36. package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
  37. package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
  38. package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
  39. package/dist/types/components/common/index.d.ts +1 -1
  40. package/dist/types/components/icons/EventIcon.d.ts +3 -3
  41. package/dist/types/components/icons/index.d.ts +1 -6
  42. package/dist/types/components/index.d.ts +4 -4
  43. package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
  44. package/dist/types/components/molecules/Alert/index.d.ts +1 -1
  45. package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
  46. package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
  47. package/dist/types/components/molecules/CustomComponent/CustomComponent.d.ts +2 -2
  48. package/dist/types/components/molecules/CustomComponent/index.d.ts +1 -1
  49. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
  50. package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
  51. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
  52. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
  53. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
  54. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
  55. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
  56. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
  57. package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
  58. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
  59. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
  60. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
  61. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
  62. package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
  63. package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
  64. package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  65. package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
  66. package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
  67. package/dist/types/components/molecules/Modal/index.d.ts +1 -1
  68. package/dist/types/components/molecules/Select/Select.d.ts +15 -15
  69. package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
  70. package/dist/types/components/molecules/Select/Test.d.ts +3 -3
  71. package/dist/types/components/molecules/Select/index.d.ts +2 -2
  72. package/dist/types/components/molecules/Select/styled.d.ts +4 -4
  73. package/dist/types/components/molecules/index.d.ts +7 -9
  74. package/dist/types/components/organism/Table/Table.d.ts +1 -1
  75. package/dist/types/components/organism/Table/index.d.ts +1 -1
  76. package/dist/types/components/organism/index.d.ts +1 -1
  77. package/dist/types/constants/index.d.ts +1 -1
  78. package/dist/types/constants/theme.d.ts +12 -12
  79. package/dist/types/hooks/index.d.ts +2 -2
  80. package/dist/types/index.d.ts +1 -1
  81. package/dist/types/locales/i18n.d.ts +73 -73
  82. package/dist/types/locales/translations.d.ts +37 -37
  83. package/dist/types/locales/types.d.ts +15 -15
  84. package/dist/types/test.d.ts +3 -3
  85. package/dist/types/types/index.d.ts +6 -6
  86. package/dist/types/utils/common.d.ts +8 -8
  87. package/dist/types/utils/handleError.d.ts +2 -2
  88. package/package.json +122 -126
  89. package/dist/main.css +0 -9
  90. package/dist/types/components/icons/CloseIcon.d.ts +0 -3
  91. package/dist/types/components/icons/GPTIcon.d.ts +0 -1
  92. package/dist/types/components/icons/PlaneIcon.d.ts +0 -1
  93. package/dist/types/components/icons/UserIcon.d.ts +0 -1
  94. package/dist/types/components/icons/WarningIcon.d.ts +0 -1
  95. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -5
  96. package/dist/types/components/molecules/ChatBox/ChatBox.stories.d.ts +0 -0
  97. package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
  98. package/dist/types/components/molecules/ChatBox/constants.d.ts +0 -6
  99. package/dist/types/components/molecules/ChatBox/index.d.ts +0 -1
  100. package/dist/types/components/molecules/ChatBox/styled.d.ts +0 -8
  101. package/dist/types/components/molecules/ChatBox/types.d.ts +0 -22
  102. package/dist/types/components/molecules/ChatBox/utils.d.ts +0 -0
@@ -4,25 +4,8 @@
4
4
  http://jedwatson.github.io/classnames
5
5
  */
6
6
 
7
- /*!
8
- * Determine if an object is a Buffer
9
- *
10
- * @author Feross Aboukhadijeh <https://feross.org>
11
- * @license MIT
12
- */
13
-
14
7
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
15
8
 
16
- /**
17
- * @license React
18
- * react-is.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */
25
-
26
9
  /** @license React v16.13.1
27
10
  * react-is.production.min.js
28
11
  *
@@ -1 +1 @@
1
- export { Button } from 'antd';
1
+ export { Button } from 'antd';
@@ -1,32 +1,32 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
4
- href: string;
5
- target?: string | undefined;
6
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
7
- } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
8
- htmlType?: "button" | "submit" | "reset" | undefined;
9
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
10
- } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
11
- Group: React.FC<import("antd/es/button").ButtonGroupProps>;
12
- }>;
13
- export default _default;
14
- export declare const Default: ComponentStory<React.ForwardRefExoticComponent<Partial<{
15
- href: string;
16
- target?: string | undefined;
17
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
18
- } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
19
- htmlType?: "button" | "submit" | "reset" | undefined;
20
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
21
- } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
22
- Group: React.FC<import("antd/es/button").ButtonGroupProps>;
23
- }>;
24
- export declare const Type: ComponentStory<any>;
25
- export declare const Size: ComponentStory<any>;
26
- export declare const Loading: ComponentStory<any>;
27
- export declare const GhostButton: ComponentStory<any>;
28
- export declare const BlockButton: ComponentStory<any>;
29
- export declare const IconButton: ComponentStory<any>;
30
- export declare const Disabled: ComponentStory<any>;
31
- export declare const MultipleButtons: ComponentStory<any>;
32
- export declare const DangerButtons: ComponentStory<any>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
4
+ href: string;
5
+ target?: string | undefined;
6
+ onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
7
+ } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
8
+ htmlType?: "button" | "submit" | "reset" | undefined;
9
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
10
+ } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
11
+ Group: React.FC<import("antd/es/button").ButtonGroupProps>;
12
+ }>;
13
+ export default _default;
14
+ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<Partial<{
15
+ href: string;
16
+ target?: string | undefined;
17
+ onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
18
+ } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
19
+ htmlType?: "button" | "submit" | "reset" | undefined;
20
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
21
+ } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
22
+ Group: React.FC<import("antd/es/button").ButtonGroupProps>;
23
+ }>;
24
+ export declare const Type: ComponentStory<any>;
25
+ export declare const Size: ComponentStory<any>;
26
+ export declare const Loading: ComponentStory<any>;
27
+ export declare const GhostButton: ComponentStory<any>;
28
+ export declare const BlockButton: ComponentStory<any>;
29
+ export declare const IconButton: ComponentStory<any>;
30
+ export declare const Disabled: ComponentStory<any>;
31
+ export declare const MultipleButtons: ComponentStory<any>;
32
+ export declare const DangerButtons: ComponentStory<any>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,10 +1,10 @@
1
- export declare const Button: import("react").ForwardRefExoticComponent<Partial<{
2
- href: string;
3
- target?: string | undefined;
4
- onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
5
- } & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
6
- htmlType?: "button" | "submit" | "reset" | undefined;
7
- onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
8
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
9
- Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
10
- };
1
+ export declare const Button: import("react").ForwardRefExoticComponent<Partial<{
2
+ href: string;
3
+ target?: string | undefined;
4
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
5
+ } & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
6
+ htmlType?: "button" | "submit" | "reset" | undefined;
7
+ onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
8
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
9
+ Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
10
+ };
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const TestButton: React.FC;
3
- export default TestButton;
1
+ import React from 'react';
2
+ declare const TestButton: React.FC;
3
+ export default TestButton;
@@ -1 +1 @@
1
- export { Checkbox } from 'antd';
1
+ export { Checkbox } from 'antd';
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- import { Checkbox } from './Checkbox';
4
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>> & {
5
- Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>>;
6
- }>;
7
- export default _default;
8
- export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>> & {
9
- Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>>;
10
- }>;
11
- export declare const Basic: ComponentStory<typeof Checkbox>;
12
- export declare const ControlledCheckbox: ComponentStory<typeof Checkbox>;
13
- export declare const CheckAll: ComponentStory<typeof Checkbox>;
14
- export declare const Disabled: ComponentStory<typeof Checkbox>;
15
- export declare const CheckboxGroup: ComponentStory<typeof Checkbox>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ import { Checkbox } from './Checkbox';
4
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>> & {
5
+ Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>>;
6
+ }>;
7
+ export default _default;
8
+ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>> & {
9
+ Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/checkbox").CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>>;
10
+ }>;
11
+ export declare const Basic: ComponentStory<typeof Checkbox>;
12
+ export declare const ControlledCheckbox: ComponentStory<typeof Checkbox>;
13
+ export declare const CheckAll: ComponentStory<typeof Checkbox>;
14
+ export declare const Disabled: ComponentStory<typeof Checkbox>;
15
+ export declare const CheckboxGroup: ComponentStory<typeof Checkbox>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export { Checkbox } from './Checkbox';
1
+ export { Checkbox } from './Checkbox';
@@ -1 +1 @@
1
- export { Divider } from 'antd';
1
+ export { Divider } from 'antd';
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.FC<import("antd").DividerProps>>;
4
- export default _default;
5
- export declare const Default: ComponentStory<React.FC<import("antd").DividerProps>>;
6
- export declare const Horizontal: ComponentStory<any>;
7
- export declare const TextWithoutHeadingStyle: ComponentStory<any>;
8
- export declare const Vertical: ComponentStory<any>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("antd").DividerProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("antd").DividerProps>>;
6
+ export declare const Horizontal: ComponentStory<any>;
7
+ export declare const TextWithoutHeadingStyle: ComponentStory<any>;
8
+ export declare const Vertical: ComponentStory<any>;
@@ -1 +1 @@
1
- export { Divider } from './Divider';
1
+ export { Divider } from './Divider';
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- export declare const Input: import("react").ForwardRefExoticComponent<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef>> & {
3
- Group: import("react").FC<import("antd/es/input").GroupProps>;
4
- Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
5
- TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
6
- Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
7
- };
1
+ /// <reference types="react" />
2
+ export declare const Input: import("react").ForwardRefExoticComponent<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef>> & {
3
+ Group: import("react").FC<import("antd/es/input").GroupProps>;
4
+ Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
5
+ TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
6
+ Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
7
+ };
@@ -1,19 +1,19 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").InputProps & React.RefAttributes<import("rc-input").InputRef>> & {
4
- Group: React.FC<import("antd/es/input").GroupProps>;
5
- Search: React.ForwardRefExoticComponent<import("antd/es/input").SearchProps & React.RefAttributes<import("rc-input").InputRef>>;
6
- TextArea: React.ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
7
- Password: React.ForwardRefExoticComponent<import("antd/es/input").PasswordProps & React.RefAttributes<import("rc-input").InputRef>>;
8
- }>;
9
- export default _default;
10
- export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").InputProps & React.RefAttributes<import("rc-input").InputRef>> & {
11
- Group: React.FC<import("antd/es/input").GroupProps>;
12
- Search: React.ForwardRefExoticComponent<import("antd/es/input").SearchProps & React.RefAttributes<import("rc-input").InputRef>>;
13
- TextArea: React.ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
14
- Password: React.ForwardRefExoticComponent<import("antd/es/input").PasswordProps & React.RefAttributes<import("rc-input").InputRef>>;
15
- }>;
16
- export declare const BasicUsage: ComponentStory<any>;
17
- export declare const TextArea: ComponentStory<any>;
18
- export declare const Status: ComponentStory<any>;
19
- export declare const BorderLess: ComponentStory<any>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").InputProps & React.RefAttributes<import("rc-input").InputRef>> & {
4
+ Group: React.FC<import("antd/es/input").GroupProps>;
5
+ Search: React.ForwardRefExoticComponent<import("antd/es/input").SearchProps & React.RefAttributes<import("rc-input").InputRef>>;
6
+ TextArea: React.ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
7
+ Password: React.ForwardRefExoticComponent<import("antd/es/input").PasswordProps & React.RefAttributes<import("rc-input").InputRef>>;
8
+ }>;
9
+ export default _default;
10
+ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").InputProps & React.RefAttributes<import("rc-input").InputRef>> & {
11
+ Group: React.FC<import("antd/es/input").GroupProps>;
12
+ Search: React.ForwardRefExoticComponent<import("antd/es/input").SearchProps & React.RefAttributes<import("rc-input").InputRef>>;
13
+ TextArea: React.ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
14
+ Password: React.ForwardRefExoticComponent<import("antd/es/input").PasswordProps & React.RefAttributes<import("rc-input").InputRef>>;
15
+ }>;
16
+ export declare const BasicUsage: ComponentStory<any>;
17
+ export declare const TextArea: ComponentStory<any>;
18
+ export declare const Status: ComponentStory<any>;
19
+ export declare const BorderLess: ComponentStory<any>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export { Input } from './Input';
1
+ export { Input } from './Input';
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { InputNumberProps as AntdInputNumberProps } from 'antd';
3
- export interface InputNumberProps extends AntdInputNumberProps {
4
- showHandler?: boolean;
5
- }
6
- export declare const InputNumber: React.FC<InputNumberProps>;
1
+ import React from 'react';
2
+ import { InputNumberProps as AntdInputNumberProps } from 'antd';
3
+ export interface InputNumberProps extends AntdInputNumberProps {
4
+ showHandler?: boolean;
5
+ }
6
+ export declare const InputNumber: React.FC<InputNumberProps>;
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.FC<import("./InputNumber").InputNumberProps>>;
4
- export default _default;
5
- export declare const Default: ComponentStory<React.FC<import("./InputNumber").InputNumberProps>>;
6
- export declare const BasicUsage: ComponentStory<any>;
7
- export declare const PrePostTab: ComponentStory<any>;
8
- export declare const HighPrecisionDecimals: ComponentStory<any>;
9
- export declare const KeyBoard: ComponentStory<any>;
10
- export declare const OutOfRange: ComponentStory<any>;
11
- export declare const Status: ComponentStory<any>;
12
- export declare const Sizes: ComponentStory<any>;
13
- export declare const Disabled: ComponentStory<any>;
14
- export declare const Formatter: ComponentStory<any>;
15
- export declare const Borderless: ComponentStory<any>;
16
- export declare const Prefix: ComponentStory<any>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./InputNumber").InputNumberProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./InputNumber").InputNumberProps>>;
6
+ export declare const BasicUsage: ComponentStory<any>;
7
+ export declare const PrePostTab: ComponentStory<any>;
8
+ export declare const HighPrecisionDecimals: ComponentStory<any>;
9
+ export declare const KeyBoard: ComponentStory<any>;
10
+ export declare const OutOfRange: ComponentStory<any>;
11
+ export declare const Status: ComponentStory<any>;
12
+ export declare const Sizes: ComponentStory<any>;
13
+ export declare const Disabled: ComponentStory<any>;
14
+ export declare const Formatter: ComponentStory<any>;
15
+ export declare const Borderless: ComponentStory<any>;
16
+ export declare const Prefix: ComponentStory<any>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export { InputNumber } from './InputNumber';
1
+ export { InputNumber } from './InputNumber';
@@ -1 +1 @@
1
- export { Radio } from 'antd';
1
+ export { Radio } from 'antd';
@@ -1 +1 @@
1
- export { Radio } from './Radio';
1
+ export { Radio } from './Radio';
@@ -1 +1 @@
1
- export { Space } from 'antd';
1
+ export { Space } from 'antd';
@@ -1 +1 @@
1
- export { Space } from './Space';
1
+ export { Space } from './Space';
@@ -1 +1 @@
1
- export { Tag } from 'antd';
1
+ export { Tag } from 'antd';
@@ -1 +1 @@
1
- export { Tag } from './Tag';
1
+ export { Tag } from './Tag';
@@ -1 +1 @@
1
- export { Tooltip } from 'antd';
1
+ export { Tooltip } from 'antd';
@@ -1 +1 @@
1
- export { Tooltip } from './Tooltip';
1
+ export { Tooltip } from './Tooltip';
@@ -1 +1 @@
1
- export { Typography } from 'antd';
1
+ export { Typography } from 'antd';
@@ -1 +1 @@
1
- export { Typography } from './Text';
1
+ export { Typography } from './Text';
@@ -1,10 +1,10 @@
1
- export { Button } from './Button';
2
- export { Divider } from './Divider';
3
- export { Input } from './Input';
4
- export { InputNumber } from './InputNumber';
5
- export { Radio } from './Radio';
6
- export { Space } from './Space';
7
- export { Tag } from './Tag';
8
- export { Tooltip } from './Tooltip';
9
- export { Typography } from './Typography';
10
- export { Checkbox } from './Checkbox';
1
+ export { Button } from './Button';
2
+ export { Divider } from './Divider';
3
+ export { Input } from './Input';
4
+ export { InputNumber } from './InputNumber';
5
+ export { Radio } from './Radio';
6
+ export { Space } from './Space';
7
+ export { Tag } from './Tag';
8
+ export { Tooltip } from './Tooltip';
9
+ export { Typography } from './Typography';
10
+ export { Checkbox } from './Checkbox';
@@ -1,10 +1,10 @@
1
- import { ConfigProviderProps as AntdConfigProviderProps } from 'antd/es/config-provider';
2
- import React, { ReactNode } from 'react';
3
- import { TLocale } from 'src/types';
4
- import 'src/locales/i18n';
5
- interface ConfigProviderProps extends Omit<AntdConfigProviderProps, 'locale'> {
6
- children?: ReactNode;
7
- locale?: TLocale;
8
- }
9
- declare const ConfigProvider: React.FC<ConfigProviderProps>;
10
- export default ConfigProvider;
1
+ import { ConfigProviderProps as AntdConfigProviderProps } from 'antd/es/config-provider';
2
+ import React, { ReactNode } from 'react';
3
+ import { TLocale } from 'src/types';
4
+ import 'src/locales/i18n';
5
+ interface ConfigProviderProps extends Omit<AntdConfigProviderProps, 'locale'> {
6
+ children?: ReactNode;
7
+ locale?: TLocale;
8
+ }
9
+ declare const ConfigProvider: React.FC<ConfigProviderProps>;
10
+ export default ConfigProvider;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- interface GlobalStyleProps {
3
- }
4
- export declare const GlobalStyle: React.FC<GlobalStyleProps>;
5
- export {};
1
+ import React from 'react';
2
+ interface GlobalStyleProps {
3
+ }
4
+ export declare const GlobalStyle: React.FC<GlobalStyleProps>;
5
+ export {};
@@ -1 +1 @@
1
- export { default as ConfigProvider } from './ConfigProvider';
1
+ export { default as ConfigProvider } from './ConfigProvider';
@@ -1 +1 @@
1
- export { ConfigProvider } from './ConfigProvider';
1
+ export { ConfigProvider } from './ConfigProvider';
@@ -1,3 +1,3 @@
1
- export declare const EventIcon: ({ ...props }: {
2
- [x: string]: any;
3
- }) => JSX.Element;
1
+ export declare const EventIcon: ({ ...props }: {
2
+ [x: string]: any;
3
+ }) => JSX.Element;
@@ -1,6 +1 @@
1
- export { EventIcon } from './EventIcon';
2
- export { CloseIcon } from './CloseIcon';
3
- export { GPTIcon } from './GPTIcon';
4
- export { PlaneIcon } from './PlaneIcon';
5
- export { WarningIcon } from './WarningIcon';
6
- export { UserIcon } from './UserIcon';
1
+ export { EventIcon } from './EventIcon';
@@ -1,4 +1,4 @@
1
- export * from './atoms';
2
- export * from './molecules';
3
- export * from './common';
4
- export * from './organism';
1
+ export * from './atoms';
2
+ export * from './molecules';
3
+ export * from './common';
4
+ export * from './organism';
@@ -1 +1 @@
1
- export { Alert } from 'antd';
1
+ export { Alert } from 'antd';
@@ -1 +1 @@
1
- export { Alert } from './Alert';
1
+ export { Alert } from './Alert';
@@ -1 +1 @@
1
- export { Cascader } from 'antd';
1
+ export { Cascader } from 'antd';
@@ -1 +1 @@
1
- export { Cascader } from './Cascader';
1
+ export { Cascader } from './Cascader';
@@ -1,2 +1,2 @@
1
- import React from 'react';
2
- export declare const CustomComponent: React.FC<any>;
1
+ import React from 'react';
2
+ export declare const CustomComponent: React.FC<any>;
@@ -1 +1 @@
1
- export { CustomComponent } from './CustomComponent';
1
+ export { CustomComponent } from './CustomComponent';
@@ -1,8 +1,8 @@
1
- import { DatePicker as AntdDatePicker } from 'antd';
2
- import { AdvancedPicker } from './components/AdvancedPicker';
3
- import { AdvancedRangePicker } from './components/AdvancedRangePicker';
4
- export type TDatePicker = typeof AntdDatePicker & {
5
- AdvancedPicker: typeof AdvancedPicker;
6
- AdvancedRangePicker: typeof AdvancedRangePicker;
7
- };
8
- export declare const DatePicker: TDatePicker;
1
+ import { DatePicker as AntdDatePicker } from 'antd';
2
+ import { AdvancedPicker } from './components/AdvancedPicker';
3
+ import { AdvancedRangePicker } from './components/AdvancedRangePicker';
4
+ export type TDatePicker = typeof AntdDatePicker & {
5
+ AdvancedPicker: typeof AdvancedPicker;
6
+ AdvancedRangePicker: typeof AdvancedRangePicker;
7
+ };
8
+ export declare const DatePicker: TDatePicker;
@@ -1,4 +1,4 @@
1
- import { ComponentStory, ComponentMeta } from '@storybook/react';
2
- declare const _default: ComponentMeta<import("./DatePicker").TDatePicker>;
3
- export default _default;
4
- export declare const Default: ComponentStory<import("./DatePicker").TDatePicker>;
1
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
2
+ declare const _default: ComponentMeta<import("./DatePicker").TDatePicker>;
3
+ export default _default;
4
+ export declare const Default: ComponentStory<import("./DatePicker").TDatePicker>;
@@ -1,28 +1,28 @@
1
- import React from 'react';
2
- import { TAdvancedType, TCalculationType, TOperatorKey, TOption, TShowCalculationTypeCondition } from './types';
3
- export interface AdvancedPickerProps {
4
- label?: string;
5
- disabled?: boolean;
6
- dateTypeKeysShow?: string[];
7
- showCalculationTypeCondition?: TShowCalculationTypeCondition;
8
- calculationTypeKeysShow?: TCalculationType[];
9
- defaultDateTypeKey?: string;
10
- valueType?: string;
11
- option?: TOption;
12
- operatorKey?: TOperatorKey;
13
- type?: TAdvancedType;
14
- date?: string;
15
- format?: string;
16
- formatInputDisplay?: string;
17
- inputStyle?: React.CSSProperties;
18
- disableAfterDate?: string;
19
- disableBeforeDate?: string;
20
- errorMessage?: string;
21
- showTime?: boolean;
22
- onUpdatedNewDate?: (newDate: any) => void;
23
- onApply?: ({ date, option }: {
24
- date: string;
25
- option: TOption;
26
- }) => void;
27
- }
28
- export declare const AdvancedPicker: React.FC<AdvancedPickerProps>;
1
+ import React from 'react';
2
+ import { TAdvancedType, TCalculationType, TOperatorKey, TOption, TShowCalculationTypeCondition } from './types';
3
+ export interface AdvancedPickerProps {
4
+ label?: string;
5
+ disabled?: boolean;
6
+ dateTypeKeysShow?: string[];
7
+ showCalculationTypeCondition?: TShowCalculationTypeCondition;
8
+ calculationTypeKeysShow?: TCalculationType[];
9
+ defaultDateTypeKey?: string;
10
+ valueType?: string;
11
+ option?: TOption;
12
+ operatorKey?: TOperatorKey;
13
+ type?: TAdvancedType;
14
+ date?: string;
15
+ format?: string;
16
+ formatInputDisplay?: string;
17
+ inputStyle?: React.CSSProperties;
18
+ disableAfterDate?: string;
19
+ disableBeforeDate?: string;
20
+ errorMessage?: string;
21
+ showTime?: boolean;
22
+ onUpdatedNewDate?: (newDate: any) => void;
23
+ onApply?: ({ date, option }: {
24
+ date: string;
25
+ option: TOption;
26
+ }) => void;
27
+ }
28
+ export declare const AdvancedPicker: React.FC<AdvancedPickerProps>;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { ComponentStory, ComponentMeta } from '@storybook/react';
3
- declare const _default: ComponentMeta<React.FC<import("./AdvancedPicker").AdvancedPickerProps>>;
4
- export default _default;
5
- export declare const Default: ComponentStory<React.FC<import("./AdvancedPicker").AdvancedPickerProps>>;
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./AdvancedPicker").AdvancedPickerProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./AdvancedPicker").AdvancedPickerProps>>;