@zealicsolutions/web-ui 0.2.89 → 0.2.90
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +1 -2
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +1 -2
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
|
@@ -37,6 +37,5 @@ export declare type ButtonProps = BaseButtonProps & {
|
|
|
37
37
|
isRichText?: boolean;
|
|
38
38
|
containerStyle?: CSSProperties;
|
|
39
39
|
buttonStyle?: CSSProperties;
|
|
40
|
-
type?: 'button' | 'submit' | 'reset';
|
|
41
40
|
};
|
|
42
|
-
export declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor,
|
|
41
|
+
export declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, ...props }: ButtonProps) => JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
3
3
|
import { Button as ButtonComponent } from 'molecules/Button/Button';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor,
|
|
6
|
+
component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, ...props }: import("molecules/Button/Button").ButtonProps) => JSX.Element | null;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const Button: StoryFn<typeof ButtonComponent>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1226,9 +1226,8 @@ declare type ButtonProps = BaseButtonProps & {
|
|
|
1226
1226
|
isRichText?: boolean;
|
|
1227
1227
|
containerStyle?: CSSProperties;
|
|
1228
1228
|
buttonStyle?: CSSProperties;
|
|
1229
|
-
type?: 'button' | 'submit' | 'reset';
|
|
1230
1229
|
};
|
|
1231
|
-
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor,
|
|
1230
|
+
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, ...props }: ButtonProps) => JSX.Element | null;
|
|
1232
1231
|
|
|
1233
1232
|
declare const Container: ({ children, wide, compact, type, props }: ContainerProps$1) => JSX.Element;
|
|
1234
1233
|
declare const ContainerComponent: ({ type, items, config, tabsProps }: ContainerComponentProps$1) => JSX.Element | null;
|