globalfy-design-system 0.29.0 → 0.31.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.
package/README.md CHANGED
@@ -41,4 +41,4 @@ fix(validations): missing email validation
41
41
 
42
42
  ### Storybook
43
43
 
44
- [Latest](https://master--656d00bf4424d3a1061d5ce1.chromatic.com/)
44
+ [Latest](https://main--656d00bf4424d3a1061d5ce1.chromatic.com/)
@@ -1,2 +1,13 @@
1
- import { InputProps } from ".";
2
- export declare const Input: ({ message, className, isInvalid, isValid, disabled, value, icon, iconAction, isDatePicker, onClick, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
1
+ import React from "react";
2
+ export declare const Input: React.ForwardRefExoticComponent<{
3
+ label: string;
4
+ placeholder?: string | undefined;
5
+ message?: string | undefined;
6
+ icon?: string | undefined;
7
+ isInvalid?: boolean | undefined;
8
+ isValid?: boolean | undefined;
9
+ disabled?: boolean | undefined;
10
+ value?: string | undefined;
11
+ isDatePicker?: boolean | undefined;
12
+ iconAction?: (() => void) | undefined;
13
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,7 +1,19 @@
1
+ /// <reference types="react" />
1
2
  import { StoryObj } from "@storybook/react";
2
3
  declare const meta: {
3
4
  title: string;
4
- component: ({ message, className, isInvalid, isValid, disabled, value, icon, iconAction, isDatePicker, onClick, ...props }: import("./Input.types").InputProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: import("react").ForwardRefExoticComponent<{
6
+ label: string;
7
+ placeholder?: string | undefined;
8
+ message?: string | undefined;
9
+ icon?: string | undefined;
10
+ isInvalid?: boolean | undefined;
11
+ isValid?: boolean | undefined;
12
+ disabled?: boolean | undefined;
13
+ value?: string | undefined;
14
+ isDatePicker?: boolean | undefined;
15
+ iconAction?: (() => void) | undefined;
16
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import("react").RefAttributes<HTMLInputElement>>;
5
17
  tags: string[];
6
18
  };
7
19
  export default meta;