@antscorp/antsomi-ui 1.3.2-beta.15 → 1.3.2-beta.17
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/index.js +1 -1
- 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/Message/Message.stories.d.ts +2 -2
- package/dist/types/components/atoms/Notification/Notification.stories.d.ts +2 -2
- package/dist/types/components/icons/LocalMallIcon.d.ts +3 -0
- package/dist/types/components/icons/index.d.ts +1 -0
- package/dist/types/components/molecules/AlignSetting/utils.d.ts +1 -1
- package/dist/types/components/molecules/ColorSetting/styled.d.ts +1 -1
- package/dist/types/components/molecules/IconSelection/components/Icon/index.d.ts +10 -2
- package/dist/types/components/molecules/IconSelection/components/Icon/index.stories.d.ts +28 -4
- package/dist/types/components/molecules/IconSelection/styled.d.ts +1 -1
- package/dist/types/components/molecules/IconSelection/types.d.ts +1 -0
- package/dist/types/components/organism/Help/styled.d.ts +1 -1
- package/dist/types/src/components/icons/LocalMallIcon.d.ts +3 -0
- package/dist/types/src/components/icons/index.d.ts +1 -0
- package/dist/types/src/components/molecules/IconSelection/components/Icon/index.d.ts +10 -2
- package/dist/types/src/components/molecules/IconSelection/components/Icon/index.stories.d.ts +28 -4
- package/dist/types/src/components/molecules/IconSelection/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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<HTMLButtonElement | HTMLAnchorElement>, "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<HTMLButtonElement | HTMLAnchorElement>, "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>> & {
|
|
@@ -2,7 +2,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<Partial<{
|
|
|
2
2
|
href: string;
|
|
3
3
|
target?: string | undefined;
|
|
4
4
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
5
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
5
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, "type" | "onClick"> & {
|
|
6
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>> & {
|
|
@@ -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<HTMLButtonElement | HTMLAnchorElement>, "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<HTMLButtonElement | HTMLAnchorElement>, "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<HTMLButtonElement | HTMLAnchorElement>, "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<HTMLButtonElement | HTMLAnchorElement>, "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,3 +1,3 @@
|
|
|
1
1
|
import { TAlign } from './index';
|
|
2
|
-
export declare const mapAlignToJustifyContent: (value: TAlign) => "
|
|
2
|
+
export declare const mapAlignToJustifyContent: (value: TAlign) => "center" | "auto" | "end" | "start";
|
|
3
3
|
export declare const mapJustifyContentToAlign: (value: 'start' | 'end' | 'center') => string | undefined;
|
|
@@ -4,7 +4,7 @@ export declare const ButtonPreset: import("styled-components").StyledComponent<i
|
|
|
4
4
|
href: string;
|
|
5
5
|
target?: string | undefined;
|
|
6
6
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
7
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
7
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, "type" | "onClick"> & {
|
|
8
8
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
9
9
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
10
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const IconSelectionRenderer: (
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const IconSelectionRenderer: React.ForwardRefExoticComponent<(({
|
|
3
|
+
iconType: "cus";
|
|
4
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
5
|
+
iconName: string;
|
|
6
|
+
}) | Omit<{
|
|
7
|
+
iconType: "font-awesome";
|
|
8
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
9
|
+
iconName: string;
|
|
10
|
+
}, "ref">) & React.RefAttributes<unknown>>;
|
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<(
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<(({
|
|
4
|
+
iconType: "cus";
|
|
5
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
6
|
+
iconName: string;
|
|
7
|
+
}) | Omit<{
|
|
8
|
+
iconType: "font-awesome";
|
|
9
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
10
|
+
iconName: string;
|
|
11
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|
|
4
12
|
export default _default;
|
|
5
|
-
export declare const MUIIcon: ComponentStory<(
|
|
6
|
-
|
|
13
|
+
export declare const MUIIcon: ComponentStory<React.ForwardRefExoticComponent<(({
|
|
14
|
+
iconType: "cus";
|
|
15
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
16
|
+
iconName: string;
|
|
17
|
+
}) | Omit<{
|
|
18
|
+
iconType: "font-awesome";
|
|
19
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
20
|
+
iconName: string;
|
|
21
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|
|
22
|
+
export declare const FontawesomeIcon: ComponentStory<React.ForwardRefExoticComponent<(({
|
|
23
|
+
iconType: "cus";
|
|
24
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
25
|
+
iconName: string;
|
|
26
|
+
}) | Omit<{
|
|
27
|
+
iconType: "font-awesome";
|
|
28
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
29
|
+
iconName: string;
|
|
30
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|
|
@@ -5,7 +5,7 @@ export declare const CustomButton: import("styled-components").StyledComponent<i
|
|
|
5
5
|
href: string;
|
|
6
6
|
target?: string | undefined;
|
|
7
7
|
onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
8
|
-
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<
|
|
8
|
+
} & import("antd/es/button/button").BaseButtonProps & Omit<import("react").AnchorHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, "type" | "onClick"> & {
|
|
9
9
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
10
10
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
11
11
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onClick">> & import("react").RefAttributes<HTMLElement>> & {
|
|
@@ -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<HTMLButtonElement | HTMLAnchorElement>, "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>> & {
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const IconSelectionRenderer: (
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const IconSelectionRenderer: React.ForwardRefExoticComponent<(({
|
|
3
|
+
iconType: "cus";
|
|
4
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
5
|
+
iconName: string;
|
|
6
|
+
}) | Omit<{
|
|
7
|
+
iconType: "font-awesome";
|
|
8
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
9
|
+
iconName: string;
|
|
10
|
+
}, "ref">) & React.RefAttributes<unknown>>;
|
package/dist/types/src/components/molecules/IconSelection/components/Icon/index.stories.d.ts
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<(
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<(({
|
|
4
|
+
iconType: "cus";
|
|
5
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
6
|
+
iconName: string;
|
|
7
|
+
}) | Omit<{
|
|
8
|
+
iconType: "font-awesome";
|
|
9
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
10
|
+
iconName: string;
|
|
11
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|
|
4
12
|
export default _default;
|
|
5
|
-
export declare const MUIIcon: ComponentStory<(
|
|
6
|
-
|
|
13
|
+
export declare const MUIIcon: ComponentStory<React.ForwardRefExoticComponent<(({
|
|
14
|
+
iconType: "cus";
|
|
15
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
16
|
+
iconName: string;
|
|
17
|
+
}) | Omit<{
|
|
18
|
+
iconType: "font-awesome";
|
|
19
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
20
|
+
iconName: string;
|
|
21
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|
|
22
|
+
export declare const FontawesomeIcon: ComponentStory<React.ForwardRefExoticComponent<(({
|
|
23
|
+
iconType: "cus";
|
|
24
|
+
} & Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
25
|
+
iconName: string;
|
|
26
|
+
}) | Omit<{
|
|
27
|
+
iconType: "font-awesome";
|
|
28
|
+
} & Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & {
|
|
29
|
+
iconName: string;
|
|
30
|
+
}, "ref">) & React.RefAttributes<unknown>>>;
|