@antscorp/antsomi-ui 1.2.3-beta.3 → 1.2.3-beta.31

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 (180) hide show
  1. package/dist/0dfb9214dfd945cd7290.png +1 -0
  2. package/dist/574b7bee0563a9fe9a29.png +1 -0
  3. package/dist/688be4ec34a228a3d51c.png +1 -0
  4. package/dist/6b586356e837581204dc.svg +1 -0
  5. package/dist/7bd6d6407df2d867ce2f.svg +1 -0
  6. package/dist/bc6bf11c6f5e6743aa4c.png +1 -0
  7. package/dist/e32f09119052a55cce3c.png +1 -0
  8. package/dist/e3851b9384a984c6fdb5.png +1 -0
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.LICENSE.txt +23 -26
  11. package/dist/main.css +2 -2
  12. package/dist/public/icons/2d496b55d85a9545d7311c073af442bb.png +0 -0
  13. package/dist/public/icons/2fbb4e0927d18e3f8e5c6511ab88d5b3.png +0 -0
  14. package/dist/public/icons/8d4b7f99c706464161e377ad92c16626.png +0 -0
  15. package/dist/public/icons/90553767e0a05b9585a54797cfd9ce51.png +0 -0
  16. package/dist/public/icons/bb64e23a1ff390a416d765ee556096ab.svg +87 -0
  17. package/dist/public/icons/d327b24e9c5d8f486f08d253aab58ce6.png +0 -0
  18. package/dist/public/icons/f044bd910efe471eab411d1a144b489b.svg +338 -0
  19. package/dist/public/icons/f1cf266d0a0a53ce07f2dbb859869b7a.png +0 -0
  20. package/dist/public/icons/placeholder-image.png +0 -0
  21. package/dist/public/icons/transparent.svg +1 -0
  22. package/dist/types/components/atoms/Alert/index.d.ts +4 -0
  23. package/dist/types/components/atoms/Alert/index.stories.d.ts +12 -0
  24. package/dist/types/components/atoms/Button/Button.stories.d.ts +2 -2
  25. package/dist/types/components/atoms/Button/index.d.ts +1 -1
  26. package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -0
  27. package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -0
  28. package/dist/types/components/atoms/Input/Input.d.ts +14 -7
  29. package/dist/types/components/atoms/Input/Input.stories.d.ts +5 -12
  30. package/dist/types/components/atoms/Input/styled.d.ts +11 -0
  31. package/dist/types/components/atoms/Message/index.stories.d.ts +12 -0
  32. package/dist/types/components/atoms/Popover/__tests__/index.test.d.ts +1 -0
  33. package/dist/types/components/atoms/Popover/index.d.ts +4 -0
  34. package/dist/types/components/atoms/Popover/index.stories.d.ts +49 -0
  35. package/dist/types/components/atoms/Popover/styled.d.ts +4 -0
  36. package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -0
  37. package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -0
  38. package/dist/types/components/atoms/Radio/index.d.ts +7 -1
  39. package/dist/types/components/atoms/RequiredLabel/__tests__/index.test.d.ts +1 -0
  40. package/dist/types/components/atoms/RequiredLabel/index.d.ts +7 -0
  41. package/dist/types/components/atoms/RequiredLabel/styled.d.ts +2 -0
  42. package/dist/types/components/atoms/ScrollBox/index.d.ts +9 -0
  43. package/dist/types/components/atoms/Slider/__tests__/index.test.d.ts +1 -0
  44. package/dist/types/components/atoms/Slider/index.d.ts +5 -0
  45. package/dist/types/components/atoms/Slider/index.stories.d.ts +10 -0
  46. package/dist/types/components/atoms/Slider/styled.d.ts +7 -0
  47. package/dist/types/components/atoms/Space/Space.d.ts +3 -1
  48. package/dist/types/components/atoms/Space/Space.stories.d.ts +12 -0
  49. package/dist/types/components/atoms/Spin/__tests__/index.test.d.ts +1 -0
  50. package/dist/types/components/atoms/Spin/index.d.ts +10 -0
  51. package/dist/types/components/atoms/Spin/styled.d.ts +1 -0
  52. package/dist/types/components/atoms/Switch/__tests__/index.test.d.ts +1 -0
  53. package/dist/types/components/atoms/Switch/index.d.ts +6 -0
  54. package/dist/types/components/atoms/Switch/styled.d.ts +1 -0
  55. package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -0
  56. package/dist/types/components/atoms/Text/index.d.ts +10 -0
  57. package/dist/types/components/atoms/Text/index.stories.d.ts +6 -0
  58. package/dist/types/components/atoms/Text/styled.d.ts +7 -0
  59. package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -0
  60. package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -0
  61. package/dist/types/components/atoms/index.d.ts +12 -1
  62. package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
  63. package/dist/types/components/icons/CameraIcon.d.ts +1 -0
  64. package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
  65. package/dist/types/components/icons/GPTIconV3.d.ts +1 -0
  66. package/dist/types/components/icons/MuteIcon.d.ts +1 -0
  67. package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
  68. package/dist/types/components/icons/PauseIcon.d.ts +1 -0
  69. package/dist/types/components/icons/RequestIcon.d.ts +1 -0
  70. package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
  71. package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
  72. package/dist/types/components/icons/index.d.ts +12 -0
  73. package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -0
  74. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +4 -0
  75. package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +8 -0
  76. package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
  77. package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
  78. package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
  79. package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
  80. package/dist/types/components/molecules/CaptureScreen/constants.d.ts +12 -2
  81. package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
  82. package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
  83. package/dist/types/components/molecules/CaptureScreen/types.d.ts +7 -0
  84. package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -0
  85. package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -1
  86. package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -0
  87. package/dist/types/components/molecules/ChatBox/constants.d.ts +1 -1
  88. package/dist/types/components/molecules/ChatBox/types.d.ts +6 -0
  89. package/dist/types/components/molecules/ColorPicker/ChromePicker/__tests__/index.test.d.ts +1 -0
  90. package/dist/types/components/molecules/ColorPicker/ChromePicker/index.d.ts +1 -0
  91. package/dist/types/components/molecules/ColorPicker/ChromePicker/styled.d.ts +1 -0
  92. package/dist/types/components/molecules/ColorPicker/CustomPicker/__tests__/index.test.d.ts +1 -0
  93. package/dist/types/components/molecules/ColorPicker/CustomPicker/index.d.ts +2 -0
  94. package/dist/types/components/molecules/ColorPicker/CustomPicker/styled.d.ts +5 -0
  95. package/dist/types/components/molecules/ColorPicker/SketchPicker/__tests__/index.test.d.ts +1 -0
  96. package/dist/types/components/molecules/ColorPicker/SketchPicker/index.d.ts +10 -0
  97. package/dist/types/components/molecules/ColorPicker/SketchPicker/styled.d.ts +1 -0
  98. package/dist/types/components/molecules/ColorPicker/__tests__/index.test.d.ts +1 -0
  99. package/dist/types/components/molecules/ColorPicker/index.d.ts +13 -0
  100. package/dist/types/components/molecules/ColorPicker/styled.d.ts +1 -0
  101. package/dist/types/components/molecules/ColorSetting/__tests__/index.test.d.ts +1 -0
  102. package/dist/types/components/molecules/ColorSetting/index.d.ts +13 -0
  103. package/dist/types/components/molecules/ColorSetting/styled.d.ts +13 -0
  104. package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  105. package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -0
  106. package/dist/types/components/molecules/IconSelection/__tests__/index.test.d.ts +1 -0
  107. package/dist/types/components/molecules/IconSelection/constants.d.ts +6 -0
  108. package/dist/types/components/molecules/IconSelection/index.d.ts +9 -0
  109. package/dist/types/components/molecules/IconSelection/styled.d.ts +14 -0
  110. package/dist/types/components/molecules/InputNumber/__tests__/index.test.d.ts +1 -0
  111. package/dist/types/components/molecules/InputNumber/index.d.ts +9 -0
  112. package/dist/types/components/molecules/InputNumber/styled.d.ts +8 -0
  113. package/dist/types/components/molecules/InputSearch/__tests__/index.test.d.ts +1 -0
  114. package/dist/types/components/molecules/InputSearch/index.d.ts +7 -0
  115. package/dist/types/components/molecules/InputSearch/styled.d.ts +1 -0
  116. package/dist/types/components/molecules/Modal/Loadable.d.ts +7 -0
  117. package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -0
  118. package/dist/types/components/molecules/Modal/styled.d.ts +16 -0
  119. package/dist/types/components/molecules/PopupDraggable/styled.d.ts +1 -0
  120. package/dist/types/components/molecules/PopupDraggable/types.d.ts +4 -1
  121. package/dist/types/components/molecules/RadioGroup/__tests__/index.test.d.ts +1 -0
  122. package/dist/types/components/molecules/RadioGroup/index.d.ts +7 -0
  123. package/dist/types/components/molecules/RadioGroup/styled.d.ts +3 -0
  124. package/dist/types/components/molecules/Select/Select.d.ts +1 -1
  125. package/dist/types/components/molecules/Select/Select.stories.d.ts +2 -2
  126. package/dist/types/components/molecules/SettingWrapper/__tests__/index.test.d.ts +1 -0
  127. package/dist/types/components/molecules/SettingWrapper/index.d.ts +13 -0
  128. package/dist/types/components/molecules/SettingWrapper/styled.d.ts +5 -0
  129. package/dist/types/components/molecules/SliderWithInputNumber/__tests__/index.test.d.ts +1 -0
  130. package/dist/types/components/molecules/SliderWithInputNumber/index.d.ts +11 -0
  131. package/dist/types/components/molecules/SliderWithInputNumber/styled.d.ts +1 -0
  132. package/dist/types/components/molecules/UploadImage/__tests__/index.test.d.ts +1 -0
  133. package/dist/types/components/molecules/UploadImage/index.d.ts +26 -0
  134. package/dist/types/components/molecules/UploadImage/styled.d.ts +8 -0
  135. package/dist/types/components/molecules/index.d.ts +9 -1
  136. package/dist/types/components/organism/Help/constants.d.ts +7 -0
  137. package/dist/types/components/organism/Help/styled.d.ts +7 -2
  138. package/dist/types/components/organism/Help/types.d.ts +6 -4
  139. package/dist/types/components/organism/Help/utils.d.ts +1 -0
  140. package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
  141. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
  142. package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
  143. package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
  144. package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
  145. package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
  146. package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
  147. package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
  148. package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
  149. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
  150. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
  151. package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
  152. package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
  153. package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
  154. package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
  155. package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
  156. package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
  157. package/dist/types/components/organism/Table/Table.stories.d.ts +39 -0
  158. package/dist/types/components/organism/Table/index.d.ts +1 -0
  159. package/dist/types/components/organism/index.d.ts +1 -1
  160. package/dist/types/constants/index.d.ts +1 -0
  161. package/dist/types/constants/keyCode.d.ts +387 -0
  162. package/dist/types/constants/storybook.d.ts +11 -0
  163. package/dist/types/models/SavedImage.d.ts +32 -0
  164. package/dist/types/models/Upload.d.ts +32 -0
  165. package/dist/types/models/model.d.ts +8 -0
  166. package/dist/types/services/MediaTemplateDesign/UploadFile/index.d.ts +6 -0
  167. package/dist/types/services/Ticket.d.ts +5 -0
  168. package/dist/types/services/constants.d.ts +12 -0
  169. package/dist/types/services/index.d.ts +9 -0
  170. package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -0
  171. package/dist/types/stories/components/index.d.ts +1 -0
  172. package/dist/types/test.d.ts +12 -0
  173. package/dist/types/utils/color.d.ts +10 -0
  174. package/dist/types/utils/common.d.ts +0 -3
  175. package/dist/types/utils/index.d.ts +3 -0
  176. package/dist/types/utils/loadable.d.ts +7 -0
  177. package/dist/types/utils/web.d.ts +10 -0
  178. package/package.json +15 -1
  179. package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
  180. /package/dist/types/components/{molecules/ChatBox/utils.d.ts → organism/Table/CrossTabTable/components/CustomCell/index.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ <svg height="10" version="1.1" viewBox="0 0 512 512" width="10" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill="currentColor" fill-opacity=".125" d="M0 256h256v256H0z"></path><path fill="currentColor" fill-opacity=".25" d="M256 256h256v256H256z"></path><path fill="currentColor" fill-opacity=".125" d="M256 0h256v256H256z"></path><path fill="currentColor" fill-opacity=".25" d="M0 0h256v256H0z"></path></svg>
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Alert: import("styled-components").StyledComponent<import("react").FC<import("antd").AlertProps> & {
3
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
4
+ }, any, {}, never>;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ import { Alert } from './index';
4
+ declare const _default: ComponentMeta<import("styled-components").StyledComponent<React.FC<import("antd").AlertProps> & {
5
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
6
+ }, any, {}, never>>;
7
+ export default _default;
8
+ export declare const Default: ComponentStory<import("styled-components").StyledComponent<React.FC<import("antd").AlertProps> & {
9
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
10
+ }, any, {}, never>>;
11
+ export declare const Types: ComponentStory<typeof Alert>;
12
+ export declare const Customize: ComponentStory<typeof Alert>;
@@ -5,7 +5,7 @@ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
5
5
  target?: string | undefined;
6
6
  onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
7
7
  } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
8
- htmlType?: "button" | "submit" | "reset" | undefined;
8
+ htmlType?: "button" | "reset" | "submit" | undefined;
9
9
  onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
10
10
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
11
11
  Group: React.FC<import("antd/es/button").ButtonGroupProps>;
@@ -16,7 +16,7 @@ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<Par
16
16
  target?: string | undefined;
17
17
  onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
18
18
  } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
19
- htmlType?: "button" | "submit" | "reset" | undefined;
19
+ htmlType?: "button" | "reset" | "submit" | undefined;
20
20
  onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
21
21
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
22
22
  Group: React.FC<import("antd/es/button").ButtonGroupProps>;
@@ -3,7 +3,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<Partial<{
3
3
  target?: string | undefined;
4
4
  onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
5
5
  } & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
6
- htmlType?: "button" | "submit" | "reset" | undefined;
6
+ htmlType?: "button" | "reset" | "submit" | undefined;
7
7
  onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
8
8
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
9
9
  Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
@@ -13,3 +13,4 @@ export declare const ControlledCheckbox: ComponentStory<typeof Checkbox>;
13
13
  export declare const CheckAll: ComponentStory<typeof Checkbox>;
14
14
  export declare const Disabled: ComponentStory<typeof Checkbox>;
15
15
  export declare const CheckboxGroup: ComponentStory<typeof Checkbox>;
16
+ export declare const CheckboxGroupAPI: ComponentStory<any>;
@@ -1,7 +1,14 @@
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
+ import { FC, ReactNode } from 'react';
2
+ import { InputProps as AntdInputProps } from 'antd';
3
+ export interface InputProps extends AntdInputProps {
4
+ noborder?: 'true' | 'false' | boolean;
5
+ debounce?: number;
6
+ label?: ReactNode;
7
+ onAfterChange?: (value: any) => void;
8
+ errorArchive?: string;
9
+ required?: boolean;
10
+ focused?: boolean;
11
+ errorMsg?: string;
12
+ disableUndo?: boolean;
13
+ }
14
+ export declare const Input: FC<InputProps>;
@@ -1,19 +1,12 @@
1
1
  import React from 'react';
2
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
- }>;
3
+ declare const _default: ComponentMeta<React.FC<import("./Input").InputProps>>;
9
4
  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
- }>;
5
+ export declare const Default: ComponentStory<React.FC<import("./Input").InputProps>>;
16
6
  export declare const BasicUsage: ComponentStory<any>;
17
7
  export declare const TextArea: ComponentStory<any>;
18
8
  export declare const Status: ComponentStory<any>;
19
9
  export declare const BorderLess: ComponentStory<any>;
10
+ export declare const InputTextAreaAPI: ComponentStory<any>;
11
+ export declare const InputPasswordAPI: ComponentStory<any>;
12
+ export declare const VisibilityToggleAPI: ComponentStory<any>;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { InputProps } from './Input';
3
+ export declare const StyledInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef>> & {
4
+ Group: import("react").FC<import("antd/es/input").GroupProps>;
5
+ Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
6
+ TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
7
+ Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
8
+ }, any, InputProps, never>;
9
+ export declare const TextArea: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, any, {
10
+ showBorder?: boolean | undefined;
11
+ }, never>;
@@ -0,0 +1,12 @@
1
+ import { ComponentStory } from '@storybook/react';
2
+ declare const _default: any;
3
+ export default _default;
4
+ export declare const Default: ComponentStory<any>;
5
+ export declare const NormalPrompt: ComponentStory<any>;
6
+ export declare const OtherMessage: ComponentStory<any>;
7
+ export declare const CustomizeDuration: ComponentStory<any>;
8
+ export declare const MessageLoading: ComponentStory<any>;
9
+ export declare const PromiseInterface: ComponentStory<any>;
10
+ export declare const UpdateMessage: ComponentStory<any>;
11
+ export declare const ContentHook: ComponentStory<any>;
12
+ export declare const CustomizeStyle: ComponentStory<any>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Popover: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").PopoverProps & import("react").RefAttributes<unknown>> & {
3
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/popover/PurePanel").default;
4
+ }, any, {}, never>;
@@ -0,0 +1,49 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("antd").PopoverProps & React.RefAttributes<unknown>> & {
4
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/popover/PurePanel").default;
5
+ }, any, {}, never>>;
6
+ export default _default;
7
+ export declare const Default: ComponentStory<import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("antd").PopoverProps & React.RefAttributes<unknown>> & {
8
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/popover/PurePanel").default;
9
+ }, any, {}, never>>;
10
+ export declare const ThreeWaysToTrigger: {
11
+ (): JSX.Element;
12
+ parameters: {
13
+ docs: {
14
+ description: {
15
+ story: string;
16
+ };
17
+ };
18
+ };
19
+ };
20
+ export declare const Placement: {
21
+ (): JSX.Element;
22
+ parameters: {
23
+ docs: {
24
+ description: {
25
+ story: string;
26
+ };
27
+ };
28
+ };
29
+ };
30
+ export declare const ControllingTheCloseOfTheDialog: {
31
+ (): JSX.Element;
32
+ parameters: {
33
+ docs: {
34
+ description: {
35
+ story: string;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ export declare const HoverWithClickPopover: {
41
+ (): JSX.Element;
42
+ parameters: {
43
+ docs: {
44
+ description: {
45
+ story: string;
46
+ };
47
+ };
48
+ };
49
+ };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const PopoverWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").PopoverProps & import("react").RefAttributes<unknown>> & {
3
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/popover/PurePanel").default;
4
+ }, any, {}, never>;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<HTMLElement>> & {
4
+ Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
5
+ Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<any>>;
6
+ }>;
7
+ export default _default;
8
+ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<HTMLElement>> & {
9
+ Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
10
+ Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<any>>;
11
+ }>;
12
+ export declare const Basic: ComponentStory<any>;
13
+ export declare const Disabled: ComponentStory<any>;
14
+ export declare const RadioGroup: ComponentStory<any>;
15
+ export declare const RadioGroupOptional: ComponentStory<any>;
16
+ export declare const Size: ComponentStory<any>;
17
+ export declare const RadioGroupAPI: ComponentStory<any>;
@@ -1 +1,7 @@
1
- export { Radio } from './Radio';
1
+ /// <reference types="react" />
2
+ export declare const Radio: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").RadioProps & import("react").RefAttributes<HTMLElement>> & {
3
+ Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
4
+ Button: import("react").ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & import("react").RefAttributes<any>>;
5
+ }, any, {}, never>;
6
+ export declare const RadioButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & import("react").RefAttributes<any>>, any, {}, never>;
7
+ export declare const RadioGroupSub: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>, any, {}, never>;
@@ -0,0 +1,7 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { TextProps } from '../Text';
3
+ interface RequiredLabelProps extends TextProps {
4
+ children?: ReactNode;
5
+ }
6
+ export declare const RequiredLabel: React.FC<RequiredLabelProps>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const RequiredLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const StyledRequired: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface ScrollBoxProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ height?: number;
4
+ maxHeight?: number;
5
+ loadMore?: Function;
6
+ isPadding?: boolean;
7
+ }
8
+ export declare const ScrollBox: React.FC<ScrollBoxProps>;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { SliderRangeProps, SliderSingleProps } from 'antd/es/slider';
3
+ export interface SliderProps extends SliderSingleProps {
4
+ }
5
+ export declare const Slider: React.FC<SliderProps | SliderRangeProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ import { Slider } from './index';
4
+ declare const _default: ComponentMeta<React.FC<import("./index").SliderProps | import("antd/es/slider").SliderRangeProps>>;
5
+ export default _default;
6
+ export declare const Default: ComponentStory<React.FC<import("./index").SliderProps | import("antd/es/slider").SliderRangeProps>>;
7
+ export declare const Basic: ComponentStory<typeof Slider>;
8
+ export declare const SliderIcon: ComponentStory<typeof Slider>;
9
+ export declare const Event: ComponentStory<typeof Slider>;
10
+ export declare const Reverse: ComponentStory<typeof Slider>;
@@ -0,0 +1,7 @@
1
+ interface InputNumberWrapperProps {
2
+ isNegative?: boolean;
3
+ sliderValue?: number;
4
+ width?: number;
5
+ }
6
+ export declare const SliderWrapper: import("styled-components").StyledComponent<"div", any, InputNumberWrapperProps, never>;
7
+ export {};
@@ -1 +1,3 @@
1
- export { Space } from 'antd';
1
+ import React from 'react';
2
+ import type { SpaceProps } from 'antd';
3
+ export declare const Space: React.FC<SpaceProps>;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("antd").SpaceProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("antd").SpaceProps>>;
6
+ export declare const BasicUsage: ComponentStory<any>;
7
+ export declare const Split: ComponentStory<any>;
8
+ export declare const Size: ComponentStory<any>;
9
+ export declare const Align: ComponentStory<any>;
10
+ export declare const VerticalCompactMode: ComponentStory<any>;
11
+ export declare const ButtonCompactMode: ComponentStory<any>;
12
+ export declare const SpaceCompactAPI: ComponentStory<any>;
@@ -0,0 +1,10 @@
1
+ import { SpinProps as AntdSpinProps } from 'antd';
2
+ interface TSpinProps extends AntdSpinProps {
3
+ indicatorSize?: number;
4
+ children?: any;
5
+ }
6
+ export declare const Spin: {
7
+ (props: TSpinProps): JSX.Element;
8
+ defaultProps: {};
9
+ };
10
+ export {};
@@ -0,0 +1 @@
1
+ export declare const StyledSpin: import("styled-components").StyledComponent<import("antd/es/spin").SpinFCType, any, {}, never>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { SwitchProps as AntdSwitchProps } from 'antd';
3
+ interface SwitchProps extends AntdSwitchProps {
4
+ }
5
+ export declare const Switch: React.FC<SwitchProps>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const SwitchWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ declare const _default: ComponentMeta<import("antd").TagType>;
3
+ export default _default;
4
+ export declare const Default: ComponentStory<import("antd").TagType>;
5
+ export declare const Basic: ComponentStory<any>;
6
+ export declare const ColorfulTag: ComponentStory<any>;
7
+ export declare const StatusTag: ComponentStory<any>;
8
+ export declare const Checkable: ComponentStory<any>;
9
+ export declare const Icon: ComponentStory<any>;
10
+ export declare const Borderless: ComponentStory<any>;
11
+ export declare const AddAndRemoveDynamically: ComponentStory<any>;
12
+ export declare const CheckableTagAPI: ComponentStory<any>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface TextProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ [key: string]: any;
4
+ type?: 'default' | 'secondary' | 'disabled' | 'error' | 'warning' | 'success';
5
+ size?: 'small' | 'medium' | 'large' | number;
6
+ color?: string;
7
+ bold?: boolean;
8
+ children?: React.ReactNode;
9
+ }
10
+ export declare const Text: React.FC<TextProps>;
@@ -0,0 +1,6 @@
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ import React from 'react';
3
+ declare const _default: ComponentMeta<React.FC<import("./index").TextProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./index").TextProps>>;
6
+ export declare const Example: React.FC;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface TextWrapperProps {
3
+ size?: 'small' | 'medium' | 'large' | number;
4
+ children?: React.ReactNode;
5
+ }
6
+ export declare const TextWrapper: import("styled-components").StyledComponent<"div", any, TextWrapperProps, never>;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("antd").TooltipProps & React.RefAttributes<unknown>> & {
4
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/tooltip/PurePanel").default;
5
+ }>;
6
+ export default _default;
7
+ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("antd").TooltipProps & React.RefAttributes<unknown>> & {
8
+ _InternalPanelDoNotUseOrYouWillBeFired: typeof import("antd/es/tooltip/PurePanel").default;
9
+ }>;
10
+ export declare const Basic: ComponentStory<any>;
11
+ export declare const Arrow: ComponentStory<any>;
12
+ export declare const ColorfulTooltip: ComponentStory<any>;
13
+ export declare const Placement: ComponentStory<any>;
14
+ export declare const AutoShift: ComponentStory<any>;
@@ -0,0 +1,11 @@
1
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ declare const _default: ComponentMeta<import("antd").TypographyProps>;
3
+ export default _default;
4
+ export declare const Default: ComponentStory<import("antd").TypographyProps>;
5
+ export declare const Basic: ComponentStory<any>;
6
+ export declare const TitleComponent: ComponentStory<any>;
7
+ export declare const TextAndLinkComponent: ComponentStory<any>;
8
+ export declare const Interactive: ComponentStory<any>;
9
+ export declare const CopyableAPI: ComponentStory<any>;
10
+ export declare const EditableAPI: ComponentStory<any>;
11
+ export declare const EllipsisAPI: ComponentStory<any>;
@@ -2,9 +2,20 @@ export { Button } from './Button';
2
2
  export { Divider } from './Divider';
3
3
  export { Input } from './Input';
4
4
  export { InputNumber } from './InputNumber';
5
- export { Radio } from './Radio';
5
+ export { Radio, RadioGroupSub, RadioButton } from './Radio';
6
6
  export { Space } from './Space';
7
7
  export { Tag } from './Tag';
8
8
  export { Tooltip } from './Tooltip';
9
9
  export { Typography } from './Typography';
10
10
  export { Checkbox } from './Checkbox';
11
+ export { Icon } from './Icon';
12
+ export { Text } from './Text';
13
+ export { Popover } from './Popover';
14
+ export { RequiredLabel } from './RequiredLabel';
15
+ export { Switch } from './Switch';
16
+ export { Slider } from './Slider';
17
+ export { Message } from './Message';
18
+ export { Spin } from './Spin';
19
+ export { Alert } from './Alert';
20
+ export { ScrollBox } from './ScrollBox';
21
+ export type { SliderProps } from './Slider';
@@ -0,0 +1 @@
1
+ export declare const AudioRecordIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CameraIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CaptureIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const GPTIconV3: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const MuteIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const OpenUrlIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const PauseIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const RequestIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const StopRecordIcon: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const VerticalDotsIcon: (props: any) => JSX.Element;
@@ -2,6 +2,7 @@ export { EventIcon } from './EventIcon';
2
2
  export { CloseIcon } from './CloseIcon';
3
3
  export { GPTIcon } from './GPTIcon';
4
4
  export { GPTIconV2 } from './GPTIconV2';
5
+ export { GPTIconV3 } from './GPTIconV3';
5
6
  export { PlaneIcon } from './PlaneIcon';
6
7
  export { WarningIcon } from './WarningIcon';
7
8
  export { UserIcon } from './UserIcon';
@@ -11,3 +12,14 @@ export { CheckSlimIcon } from './CheckSlimIcon';
11
12
  export { CommentIcon } from './CommentIcon';
12
13
  export { FreeDrawIcon } from './FreeDrawIcon';
13
14
  export { InvisibleIcon } from './InvisibleIcon';
15
+ export { AudioRecordIcon } from './AudioRecordIcon';
16
+ export { CameraIcon } from './CameraIcon';
17
+ export { CaptureIcon } from './CaptureIcon';
18
+ export { MuteIcon } from './MuteIcon';
19
+ export { PauseIcon } from './PauseIcon';
20
+ export { StopRecordIcon } from './StopRecordIcon';
21
+ export { VerticalDotsIcon } from './VerticalDotsIcon';
22
+ export { OpenUrlIcon } from './OpenUrlIcon';
23
+ export { BugIcon } from './BugIcon';
24
+ export { IdeaIcon } from './IdeaIcon';
25
+ export { RequestIcon } from './RequestIcon';
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("antd").AlertProps> & {
4
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
5
+ }>;
6
+ export default _default;
7
+ export declare const Default: ComponentStory<React.FC<import("antd").AlertProps> & {
8
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
9
+ }>;
10
+ export declare const Basic: ComponentStory<any>;
11
+ export declare const Closable: ComponentStory<any>;
12
+ export declare const Icon: ComponentStory<any>;
13
+ export declare const Banner: ComponentStory<any>;
14
+ export declare const SmoothlyUnmount: ComponentStory<any>;
15
+ export declare const CustomAction: ComponentStory<any>;
16
+ export declare const MoreTypes: ComponentStory<any>;
17
+ export declare const Description: ComponentStory<any>;
18
+ export declare const CustomizedCloseText: ComponentStory<any>;
19
+ export declare const LoopBanner: ComponentStory<any>;
20
+ export declare const ErrorBoundary: ComponentStory<any>;
21
+ export declare const ErrorBoundaryAPI: ComponentStory<any>;
@@ -5,6 +5,10 @@ declare const CaptureScreen: {
5
5
  isOpen: boolean;
6
6
  src: string;
7
7
  alt: string;
8
+ defaultPositions: {
9
+ capture: null;
10
+ record: null;
11
+ };
8
12
  callback: () => void;
9
13
  };
10
14
  };
@@ -6,6 +6,10 @@ declare const _default: ComponentMeta<{
6
6
  isOpen: boolean;
7
7
  src: string;
8
8
  alt: string;
9
+ defaultPositions: {
10
+ capture: null;
11
+ record: null;
12
+ };
9
13
  callback: () => void;
10
14
  };
11
15
  }>;
@@ -16,6 +20,10 @@ export declare const Default: ComponentStory<{
16
20
  isOpen: boolean;
17
21
  src: string;
18
22
  alt: string;
23
+ defaultPositions: {
24
+ capture: null;
25
+ record: null;
26
+ };
19
27
  callback: () => void;
20
28
  };
21
29
  }>;
@@ -4,6 +4,7 @@ export interface BoxDimensionProps {
4
4
  height: number;
5
5
  }
6
6
  export interface CommentBoxProps {
7
+ className?: string;
7
8
  info: CommentListProps;
8
9
  offset: number;
9
10
  boxDimension: BoxDimensionProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CursorProps } from './types';
3
- declare const Cursor: (props: CursorProps) => JSX.Element;
2
+ declare const Cursor: (props: CursorProps) => JSX.Element | null;
4
3
  export { Cursor };
@@ -1,6 +1,7 @@
1
- import { PositionCursorProps } from './types';
2
- export declare const CursorOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const PlusCursor: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TooltipDrag: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const DottedCursor: import("styled-components").StyledComponent<"div", any, {
4
4
  bgColor?: string | undefined;
5
- position?: PositionCursorProps | undefined;
5
+ isPointerBox?: boolean | undefined;
6
+ offset: number;
6
7
  }, never>;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- export interface PositionCursorProps {
3
- left?: number;
4
- top?: number;
5
- }
6
2
  export interface CursorProps {
3
+ drawItemType: string;
4
+ isShowCursor: boolean;
7
5
  cursorRef?: React.RefObject<HTMLDivElement>;
8
- position?: PositionCursorProps;
9
6
  bgColor?: string;
7
+ isPointerBox?: boolean;
8
+ offset: number;
9
+ children?: any;
10
10
  }