@antscorp/antsomi-ui 1.3.2-beta.2 → 1.3.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/src/components/atoms/Button/Button.stories.d.ts +2 -2
- package/dist/types/src/components/atoms/Button/index.d.ts +1 -1
- package/dist/types/src/components/atoms/Message/Message.stories.d.ts +2 -2
- package/dist/types/src/components/atoms/Notification/Notification.stories.d.ts +2 -2
- package/dist/types/src/components/molecules/ColorSetting/styled.d.ts +2 -1
- package/dist/types/src/components/molecules/IconSelection/styled.d.ts +2 -1
- package/dist/types/src/components/molecules/Select/Select.d.ts +1 -1
- package/dist/types/src/components/molecules/Select/Select.stories.d.ts +2 -2
- package/dist/types/src/components/molecules/UploadImage/MediaIcon.d.ts +1 -0
- package/dist/types/src/components/organism/Help/styled.d.ts +1 -1
- package/package.json +1 -2
|
@@ -4,7 +4,7 @@ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
|
|
|
4
4
|
href: string;
|
|
5
5
|
target?: string | undefined;
|
|
6
6
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
7
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
7
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
8
8
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
9
9
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
10
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -15,7 +15,7 @@ export declare const Default: ComponentStory<React.ForwardRefExoticComponent<Par
|
|
|
15
15
|
href: string;
|
|
16
16
|
target?: string | undefined;
|
|
17
17
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
18
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
18
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
19
19
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
20
20
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
21
21
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -3,7 +3,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<Partial<{
|
|
|
3
3
|
href: string;
|
|
4
4
|
target?: string | undefined;
|
|
5
5
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
6
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
6
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
7
7
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
8
8
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
9
9
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
@@ -4,7 +4,7 @@ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
|
|
|
4
4
|
href: string;
|
|
5
5
|
target?: string | undefined;
|
|
6
6
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
7
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
7
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
8
8
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
9
9
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
10
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -15,7 +15,7 @@ export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Parti
|
|
|
15
15
|
href: string;
|
|
16
16
|
target?: string | undefined;
|
|
17
17
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
18
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
18
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
19
19
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
20
20
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
21
21
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -4,7 +4,7 @@ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Partial<{
|
|
|
4
4
|
href: string;
|
|
5
5
|
target?: string | undefined;
|
|
6
6
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
7
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
7
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
8
8
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
9
9
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
10
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -15,7 +15,7 @@ export declare const Basic: ComponentStory<React.ForwardRefExoticComponent<Parti
|
|
|
15
15
|
href: string;
|
|
16
16
|
target?: string | undefined;
|
|
17
17
|
onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
18
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<
|
|
18
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
19
19
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
20
20
|
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
21
21
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ColorSettingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const PresetColor: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const ButtonPreset: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Partial<{
|
|
4
5
|
href: string;
|
|
5
6
|
target?: string | undefined;
|
|
6
7
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
7
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
8
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
8
9
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
9
10
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
11
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const IconSelectionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const WrapperListRender: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const WrapperListItemRender: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -5,7 +6,7 @@ export declare const CustomButton: import("styled-components").StyledComponent<i
|
|
|
5
6
|
href: string;
|
|
6
7
|
target?: string | undefined;
|
|
7
8
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
8
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
9
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
9
10
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
10
11
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
11
12
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
@@ -2,7 +2,7 @@ import { SelectProps as AntdSelectProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface SelectProps extends AntdSelectProps {
|
|
4
4
|
}
|
|
5
|
-
declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
5
|
+
declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: AntdSelectProps<ValueType, OptionType> & {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
} & {
|
|
8
8
|
ref?: React.Ref<import("antd").RefSelectProps> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
3
|
import { Select, SelectProps } from './Select';
|
|
4
|
-
declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
4
|
+
declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
} & {
|
|
7
7
|
ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
|
|
@@ -12,7 +12,7 @@ declare const _default: ComponentMeta<(<ValueType = any, OptionType extends impo
|
|
|
12
12
|
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
13
13
|
} & React.FC<SelectProps>>;
|
|
14
14
|
export default _default;
|
|
15
|
-
export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
15
|
+
export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
} & {
|
|
18
18
|
ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const ButtonFeedback: import("styled-components").StyledComponent
|
|
|
7
7
|
href: string;
|
|
8
8
|
target?: string | undefined;
|
|
9
9
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
10
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
10
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "type" | "onClick"> & {
|
|
11
11
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
12
12
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
13
13
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.3.2-beta.
|
|
3
|
+
"version": "1.3.2-beta.3",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -137,7 +137,6 @@
|
|
|
137
137
|
"webpack-cli": "^5.0.1"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
|
-
"@antscorp/icons": ">=0.26.58",
|
|
141
140
|
"react": ">=16.9.0",
|
|
142
141
|
"react-dom": ">=16.9.0"
|
|
143
142
|
}
|