globalfy-design-system 0.38.0 → 0.40.0

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.
@@ -1,2 +1,2 @@
1
1
  import { ButtonProps } from ".";
2
- export declare const Button: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, hasLoading, isLoadingComplete, onClick, onLoadingAnimationComplete }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Button: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, hasLoading, isLoadingComplete, onClick, onLoadingAnimationComplete, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from "@storybook/react";
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, hasLoading, isLoadingComplete, onClick, onLoadingAnimationComplete }: import("./Button.types").ButtonProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, hasLoading, isLoadingComplete, onClick, onLoadingAnimationComplete, ...props }: import("./Button.types").ButtonProps) => import("react/jsx-runtime").JSX.Element;
5
5
  tags: string[];
6
6
  };
7
7
  export default meta;
@@ -10,4 +10,4 @@ export type ButtonProps = {
10
10
  hasLoading?: boolean;
11
11
  isLoadingComplete?: boolean;
12
12
  onLoadingAnimationComplete?: () => void;
13
- } & React.ButtonHTMLAttributes<HTMLButtonElement>;
13
+ } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "color">;
@@ -22,4 +22,5 @@ export declare const Playground: Story;
22
22
  export declare const Disabled: Story;
23
23
  export declare const WithMessage: Story;
24
24
  export declare const WithIcon: Story;
25
+ export declare const Password: () => import("react/jsx-runtime").JSX.Element;
25
26
  export declare const States: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { InputPasswordProps } from ".";
2
- export declare const InputPassword: (props: InputPasswordProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const InputPassword: import("react").ForwardRefExoticComponent<InputPasswordProps & import("react").RefAttributes<HTMLInputElement>>;