@inntechcorp/it-design 2.0.211 → 2.0.213

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.d.ts CHANGED
@@ -745,12 +745,19 @@ type AccordionItemProps = {
745
745
  children?: null | ChildrenProps;
746
746
  };
747
747
 
748
+ type InputVariant = "default" | "filled" | "dashed";
749
+ declare enum InputTypes {
750
+ TEXT = "text",
751
+ NUMBER = "number",
752
+ CURRENCY = "currency",
753
+ PASSWORD = "password"
754
+ }
748
755
  type InputProps = {
749
756
  id?: string;
750
757
  placeholder?: string;
751
758
  value?: string;
752
759
  defaultValue?: string;
753
- type?: "text" | "number" | "currency" | "password";
760
+ type?: InputTypes;
754
761
  className?: string;
755
762
  size?: ITDSize;
756
763
  variant?: InputVariant;
@@ -776,7 +783,6 @@ type InputProps = {
776
783
  onKeyDown?: ((event: KeyboardEvent) => void) | null;
777
784
  children?: ChildrenProps;
778
785
  };
779
- type InputVariant = "default" | "filled" | "dashed";
780
786
 
781
787
  type ITDSize = "x-small" | "small" | "medium" | "default" | "large" | "x-large";
782
788
  type ITDSizeSlug = "xs" | "sm" | "md" | "df" | "lg" | "xlg";