@antscorp/antsomi-ui 1.2.2-beta.0 → 1.2.2-beta.2
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/CHANGELOG.md +72 -0
- package/README.md +78 -78
- package/dist/index.js +1 -1
- package/dist/main.css +1 -0
- package/dist/types/components/atoms/Button/Button.d.ts +1 -1
- package/dist/types/components/atoms/Button/Button.stories.d.ts +32 -32
- package/dist/types/components/atoms/Button/__tests__/Button.test.d.ts +1 -1
- package/dist/types/components/atoms/Button/index.d.ts +10 -10
- package/dist/types/components/atoms/Button/test.d.ts +3 -3
- package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +15 -15
- package/dist/types/components/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -1
- package/dist/types/components/atoms/Checkbox/index.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.d.ts +1 -1
- package/dist/types/components/atoms/Divider/Divider.stories.d.ts +8 -8
- package/dist/types/components/atoms/Divider/index.d.ts +1 -1
- package/dist/types/components/atoms/Input/Input.d.ts +7 -7
- package/dist/types/components/atoms/Input/Input.stories.d.ts +19 -19
- package/dist/types/components/atoms/Input/__tests__/Input.test.d.ts +1 -1
- package/dist/types/components/atoms/Input/index.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/InputNumber.d.ts +6 -6
- package/dist/types/components/atoms/InputNumber/InputNumber.stories.d.ts +16 -16
- package/dist/types/components/atoms/InputNumber/__tests__/InputNumber.test.d.ts +1 -1
- package/dist/types/components/atoms/InputNumber/index.d.ts +1 -1
- package/dist/types/components/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/atoms/Radio/index.d.ts +1 -1
- package/dist/types/components/atoms/Space/Space.d.ts +1 -1
- package/dist/types/components/atoms/Space/index.d.ts +1 -1
- package/dist/types/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/types/components/atoms/Tag/index.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/atoms/Tooltip/index.d.ts +1 -1
- package/dist/types/components/atoms/Typography/Text.d.ts +1 -1
- package/dist/types/components/atoms/Typography/index.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/ConfigProvider.d.ts +10 -10
- package/dist/types/components/common/ConfigProvider/GlobalStyle.d.ts +5 -5
- package/dist/types/components/common/ConfigProvider/index.d.ts +1 -1
- package/dist/types/components/common/index.d.ts +1 -1
- package/dist/types/components/icons/CloseIcon.d.ts +3 -0
- package/dist/types/components/icons/EventIcon.d.ts +3 -3
- package/dist/types/components/icons/GPTIcon.d.ts +1 -0
- package/dist/types/components/icons/PlaneIcon.d.ts +1 -0
- package/dist/types/components/icons/UserIcon.d.ts +1 -0
- package/dist/types/components/icons/WarningIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +6 -1
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/components/molecules/Alert/Alert.d.ts +1 -1
- package/dist/types/components/molecules/Alert/index.d.ts +1 -1
- package/dist/types/components/molecules/Cascader/Cascader.d.ts +1 -1
- package/dist/types/components/molecules/Cascader/index.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +4 -0
- package/dist/types/components/molecules/ChatBox/ChatBox.stories.d.ts +0 -0
- package/dist/types/components/molecules/ChatBox/constants.d.ts +9 -0
- package/dist/types/components/molecules/ChatBox/index.d.ts +1 -0
- package/dist/types/components/molecules/ChatBox/styled.d.ts +8 -0
- package/dist/types/components/molecules/ChatBox/types.d.ts +13 -0
- package/dist/types/components/molecules/ChatBox/utils.d.ts +0 -0
- package/dist/types/components/molecules/CustomComponent/CustomComponent.d.ts +2 -2
- package/dist/types/components/molecules/CustomComponent/index.d.ts +1 -1
- package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +8 -8
- package/dist/types/components/molecules/DatePicker/DatePicker.stories.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.d.ts +28 -28
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.stories.d.ts +5 -5
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/constants.d.ts +53 -53
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/index.d.ts +3 -3
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/styled.d.ts +7 -7
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +14 -14
- package/dist/types/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.d.ts +15 -15
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/AdvancedRangePicker.stories.d.ts +9 -9
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/constants.d.ts +4 -4
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/index.d.ts +2 -2
- package/dist/types/components/molecules/DatePicker/components/AdvancedRangePicker/types.d.ts +17 -17
- package/dist/types/components/molecules/DatePicker/index.d.ts +3 -3
- package/dist/types/components/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/dist/types/components/molecules/Dropdown/index.d.ts +1 -1
- package/dist/types/components/molecules/Modal/Modal.d.ts +1 -1
- package/dist/types/components/molecules/Modal/index.d.ts +1 -1
- package/dist/types/components/molecules/Select/Select.d.ts +15 -15
- package/dist/types/components/molecules/Select/Select.stories.d.ts +28 -28
- package/dist/types/components/molecules/Select/Test.d.ts +3 -3
- package/dist/types/components/molecules/Select/index.d.ts +2 -2
- package/dist/types/components/molecules/Select/styled.d.ts +4 -4
- package/dist/types/components/molecules/index.d.ts +9 -8
- package/dist/types/components/organism/Table/Table.d.ts +1 -1
- package/dist/types/components/organism/Table/index.d.ts +1 -1
- package/dist/types/components/organism/index.d.ts +1 -1
- package/dist/types/constants/index.d.ts +1 -1
- package/dist/types/constants/theme.d.ts +12 -12
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locales/i18n.d.ts +73 -73
- package/dist/types/locales/translations.d.ts +37 -37
- package/dist/types/locales/types.d.ts +15 -15
- package/dist/types/test.d.ts +3 -3
- package/dist/types/types/index.d.ts +6 -6
- package/dist/types/utils/common.d.ts +8 -8
- package/dist/types/utils/handleError.d.ts +2 -2
- package/package.json +123 -123
- package/dist/types/constants.d.ts +0 -12
package/dist/main.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes typing{from{width:0}to{width:100%}}@keyframes blink-caret{from,to{border-color:rgba(0,0,0,0)}50%{border-color:orange}}@keyframes cursor-blink{0%{opacity:0}}.typing-test{pointer-events:none}.typing-test::before{content:"";content:""/"data-content";alt:"data-content";white-space:break-spaces;will-change:content;animation:typed-0 3.44s linear 1s infinite forwards}.typing-test::after{content:"";position:relative;display:inline-block;padding-right:2px;border-right:2px solid currentColor;white-space:nowrap;animation:typed-0-caret 0.75s linear 1s infinite forwards}@keyframes typed-0{0%,1.9369844961%{content:"d";content:"d"/"data-content";alt:"data-content"}1.9379844961%,3.8749689922%{content:"da";content:"da"/"data-content";alt:"data-content"}3.8759689922%,5.8129534884%{content:"dat";content:"dat"/"data-content";alt:"data-content"}5.8139534884%,7.7509379845%{content:"data";content:"data"/"data-content";alt:"data-content"}7.7519379845%,9.6889224806%{content:"data-";content:"data-"/"data-content";alt:"data-content"}9.6899224806%,11.6269069767%{content:"data-c";content:"data-c"/"data-content";alt:"data-content"}11.6279069767%,13.5648914729%{content:"data-co";content:"data-co"/"data-content";alt:"data-content"}13.5658914729%,15.502875969%{content:"data-con";content:"data-con"/"data-content";alt:"data-content"}15.503875969%,17.4408604651%{content:"data-cont";content:"data-cont"/"data-content";alt:"data-content"}17.4418604651%,19.3788449612%{content:"data-conte";content:"data-conte"/"data-content";alt:"data-content"}19.3798449612%,21.3168294574%{content:"data-conten";content:"data-conten"/"data-content";alt:"data-content"}21.3178294574%,63.5648914729%{content:"data-content";content:"data-content"/"data-content";alt:"data-content"}63.5658914729%,65.1152790698%{content:"data-conten";content:"data-conten"/"data-content";alt:"data-content"}65.1162790698%,66.6656666667%{content:"data-conte";content:"data-conte"/"data-content";alt:"data-content"}66.6666666667%,68.2160542636%{content:"data-cont";content:"data-cont"/"data-content";alt:"data-content"}68.2170542636%,69.7664418605%{content:"data-con";content:"data-con"/"data-content";alt:"data-content"}69.7674418605%,71.3168294574%{content:"data-co";content:"data-co"/"data-content";alt:"data-content"}71.3178294574%,72.8672170543%{content:"data-c";content:"data-c"/"data-content";alt:"data-content"}72.8682170543%,74.4176046512%{content:"data-";content:"data-"/"data-content";alt:"data-content"}74.4186046512%,75.9679922481%{content:"data";content:"data"/"data-content";alt:"data-content"}75.9689922481%,77.518379845%{content:"dat";content:"dat"/"data-content";alt:"data-content"}77.519379845%,79.0687674419%{content:"da";content:"da"/"data-content";alt:"data-content"}79.0697674419%,80.6191550388%{content:"d";content:"d"/"data-content";alt:"data-content"}80.6201550388%,100%{content:"";content:""/"data-content";alt:"data-content"}}@keyframes typed-0-caret{75%{border-color:rgba(0,0,0,0)}}
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GPTIcon: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PlaneIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UserIcon: (props: any) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WarningIcon: (props: any) => JSX.Element;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export { EventIcon } from './EventIcon';
|
|
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,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';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatBox } from './ChatBox';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ChatBoxWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ChatBoxHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ChatBoxBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ChatBoxFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const MessageItemWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const WarningWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const InputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const TypingCursor: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SENDER } from './constants';
|
|
2
|
+
export type TSender = keyof typeof SENDER;
|
|
3
|
+
export interface IChatBoxMessageProps {
|
|
4
|
+
sender: TSender;
|
|
5
|
+
content: string;
|
|
6
|
+
isTyping?: boolean;
|
|
7
|
+
scrollBody: Function;
|
|
8
|
+
renderDone: Function;
|
|
9
|
+
doAnimation: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IChatBoxProps {
|
|
12
|
+
onClose: Function;
|
|
13
|
+
}
|
|
File without changes
|
|
@@ -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>;
|