@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.
- package/dist/0dfb9214dfd945cd7290.png +1 -0
- package/dist/574b7bee0563a9fe9a29.png +1 -0
- package/dist/688be4ec34a228a3d51c.png +1 -0
- package/dist/6b586356e837581204dc.svg +1 -0
- package/dist/7bd6d6407df2d867ce2f.svg +1 -0
- package/dist/bc6bf11c6f5e6743aa4c.png +1 -0
- package/dist/e32f09119052a55cce3c.png +1 -0
- package/dist/e3851b9384a984c6fdb5.png +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +23 -26
- package/dist/main.css +2 -2
- package/dist/public/icons/2d496b55d85a9545d7311c073af442bb.png +0 -0
- package/dist/public/icons/2fbb4e0927d18e3f8e5c6511ab88d5b3.png +0 -0
- package/dist/public/icons/8d4b7f99c706464161e377ad92c16626.png +0 -0
- package/dist/public/icons/90553767e0a05b9585a54797cfd9ce51.png +0 -0
- package/dist/public/icons/bb64e23a1ff390a416d765ee556096ab.svg +87 -0
- package/dist/public/icons/d327b24e9c5d8f486f08d253aab58ce6.png +0 -0
- package/dist/public/icons/f044bd910efe471eab411d1a144b489b.svg +338 -0
- package/dist/public/icons/f1cf266d0a0a53ce07f2dbb859869b7a.png +0 -0
- package/dist/public/icons/placeholder-image.png +0 -0
- package/dist/public/icons/transparent.svg +1 -0
- package/dist/types/components/atoms/Alert/index.d.ts +4 -0
- package/dist/types/components/atoms/Alert/index.stories.d.ts +12 -0
- package/dist/types/components/atoms/Button/Button.stories.d.ts +2 -2
- package/dist/types/components/atoms/Button/index.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/types/components/atoms/Divider/__tests__/Divider.test.d.ts +1 -0
- package/dist/types/components/atoms/Input/Input.d.ts +14 -7
- package/dist/types/components/atoms/Input/Input.stories.d.ts +5 -12
- package/dist/types/components/atoms/Input/styled.d.ts +11 -0
- package/dist/types/components/atoms/Message/index.stories.d.ts +12 -0
- package/dist/types/components/atoms/Popover/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/atoms/Popover/index.d.ts +4 -0
- package/dist/types/components/atoms/Popover/index.stories.d.ts +49 -0
- package/dist/types/components/atoms/Popover/styled.d.ts +4 -0
- package/dist/types/components/atoms/Radio/Radio.stories.d.ts +17 -0
- package/dist/types/components/atoms/Radio/__tests__/Radio.test.d.ts +1 -0
- package/dist/types/components/atoms/Radio/index.d.ts +7 -1
- package/dist/types/components/atoms/RequiredLabel/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/atoms/RequiredLabel/index.d.ts +7 -0
- package/dist/types/components/atoms/RequiredLabel/styled.d.ts +2 -0
- package/dist/types/components/atoms/ScrollBox/index.d.ts +9 -0
- package/dist/types/components/atoms/Slider/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/atoms/Slider/index.d.ts +5 -0
- package/dist/types/components/atoms/Slider/index.stories.d.ts +10 -0
- package/dist/types/components/atoms/Slider/styled.d.ts +7 -0
- package/dist/types/components/atoms/Space/Space.d.ts +3 -1
- package/dist/types/components/atoms/Space/Space.stories.d.ts +12 -0
- package/dist/types/components/atoms/Spin/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/atoms/Spin/index.d.ts +10 -0
- package/dist/types/components/atoms/Spin/styled.d.ts +1 -0
- package/dist/types/components/atoms/Switch/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/atoms/Switch/index.d.ts +6 -0
- package/dist/types/components/atoms/Switch/styled.d.ts +1 -0
- package/dist/types/components/atoms/Tag/Tag.stories.d.ts +12 -0
- package/dist/types/components/atoms/Text/index.d.ts +10 -0
- package/dist/types/components/atoms/Text/index.stories.d.ts +6 -0
- package/dist/types/components/atoms/Text/styled.d.ts +7 -0
- package/dist/types/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -0
- package/dist/types/components/atoms/Typography/Typography.stories.d.ts +11 -0
- package/dist/types/components/atoms/index.d.ts +12 -1
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/CameraIcon.d.ts +1 -0
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
- package/dist/types/components/icons/GPTIconV3.d.ts +1 -0
- package/dist/types/components/icons/MuteIcon.d.ts +1 -0
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
- package/dist/types/components/icons/PauseIcon.d.ts +1 -0
- package/dist/types/components/icons/RequestIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +12 -0
- package/dist/types/components/molecules/Alert/Alert.stories.d.ts +21 -0
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.d.ts +4 -0
- package/dist/types/components/molecules/CaptureScreen/CaptureScreen.stories.d.ts +8 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +12 -2
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +7 -0
- package/dist/types/components/molecules/Cascader/Cascader.stories.d.ts +37 -0
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -1
- package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +5 -0
- package/dist/types/components/molecules/ChatBox/constants.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/types.d.ts +6 -0
- package/dist/types/components/molecules/ColorPicker/ChromePicker/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/ChromePicker/index.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/ChromePicker/styled.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/CustomPicker/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/CustomPicker/index.d.ts +2 -0
- package/dist/types/components/molecules/ColorPicker/CustomPicker/styled.d.ts +5 -0
- package/dist/types/components/molecules/ColorPicker/SketchPicker/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/SketchPicker/index.d.ts +10 -0
- package/dist/types/components/molecules/ColorPicker/SketchPicker/styled.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/ColorPicker/index.d.ts +13 -0
- package/dist/types/components/molecules/ColorPicker/styled.d.ts +1 -0
- package/dist/types/components/molecules/ColorSetting/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/ColorSetting/index.d.ts +13 -0
- package/dist/types/components/molecules/ColorSetting/styled.d.ts +13 -0
- package/dist/types/components/molecules/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/types/components/molecules/Dropdown/Dropdown.stories.d.ts +23 -0
- package/dist/types/components/molecules/IconSelection/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/IconSelection/constants.d.ts +6 -0
- package/dist/types/components/molecules/IconSelection/index.d.ts +9 -0
- package/dist/types/components/molecules/IconSelection/styled.d.ts +14 -0
- package/dist/types/components/molecules/InputNumber/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/InputNumber/index.d.ts +9 -0
- package/dist/types/components/molecules/InputNumber/styled.d.ts +8 -0
- package/dist/types/components/molecules/InputSearch/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/InputSearch/index.d.ts +7 -0
- package/dist/types/components/molecules/InputSearch/styled.d.ts +1 -0
- package/dist/types/components/molecules/Modal/Loadable.d.ts +7 -0
- package/dist/types/components/molecules/Modal/Modal.stories.d.ts +28 -0
- package/dist/types/components/molecules/Modal/styled.d.ts +16 -0
- package/dist/types/components/molecules/PopupDraggable/styled.d.ts +1 -0
- package/dist/types/components/molecules/PopupDraggable/types.d.ts +4 -1
- package/dist/types/components/molecules/RadioGroup/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/RadioGroup/index.d.ts +7 -0
- package/dist/types/components/molecules/RadioGroup/styled.d.ts +3 -0
- package/dist/types/components/molecules/Select/Select.d.ts +1 -1
- package/dist/types/components/molecules/Select/Select.stories.d.ts +2 -2
- package/dist/types/components/molecules/SettingWrapper/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/SettingWrapper/index.d.ts +13 -0
- package/dist/types/components/molecules/SettingWrapper/styled.d.ts +5 -0
- package/dist/types/components/molecules/SliderWithInputNumber/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/SliderWithInputNumber/index.d.ts +11 -0
- package/dist/types/components/molecules/SliderWithInputNumber/styled.d.ts +1 -0
- package/dist/types/components/molecules/UploadImage/__tests__/index.test.d.ts +1 -0
- package/dist/types/components/molecules/UploadImage/index.d.ts +26 -0
- package/dist/types/components/molecules/UploadImage/styled.d.ts +8 -0
- package/dist/types/components/molecules/index.d.ts +9 -1
- package/dist/types/components/organism/Help/constants.d.ts +7 -0
- package/dist/types/components/organism/Help/styled.d.ts +7 -2
- package/dist/types/components/organism/Help/types.d.ts +6 -4
- package/dist/types/components/organism/Help/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
- package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
- package/dist/types/components/organism/Table/Table.stories.d.ts +39 -0
- package/dist/types/components/organism/Table/index.d.ts +1 -0
- package/dist/types/components/organism/index.d.ts +1 -1
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/keyCode.d.ts +387 -0
- package/dist/types/constants/storybook.d.ts +11 -0
- package/dist/types/models/SavedImage.d.ts +32 -0
- package/dist/types/models/Upload.d.ts +32 -0
- package/dist/types/models/model.d.ts +8 -0
- package/dist/types/services/MediaTemplateDesign/UploadFile/index.d.ts +6 -0
- package/dist/types/services/Ticket.d.ts +5 -0
- package/dist/types/services/constants.d.ts +12 -0
- package/dist/types/services/index.d.ts +9 -0
- package/dist/types/stories/components/TableApiTypeTag/index.d.ts +6 -0
- package/dist/types/stories/components/index.d.ts +1 -0
- package/dist/types/test.d.ts +12 -0
- package/dist/types/utils/color.d.ts +10 -0
- package/dist/types/utils/common.d.ts +0 -3
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/loadable.d.ts +7 -0
- package/dist/types/utils/web.d.ts +10 -0
- package/package.json +15 -1
- package/dist/types/components/molecules/ChatBox/ask.d.ts +0 -3
- /package/dist/types/components/{molecules/ChatBox/utils.d.ts → organism/Table/CrossTabTable/components/CustomCell/index.d.ts} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -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,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" | "
|
|
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" | "
|
|
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" | "
|
|
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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.
|
|
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.
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSpin: import("styled-components").StyledComponent<import("antd/es/spin").SpinFCType, any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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>;
|
|
@@ -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
|
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
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
|
-
|
|
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
|
}
|