@reeverdev/ui 0.2.185 → 0.2.186

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.cts CHANGED
@@ -1080,16 +1080,26 @@ declare const CommandShortcut: {
1080
1080
  displayName: string;
1081
1081
  };
1082
1082
 
1083
- interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
1083
+ interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
1084
1084
  /**
1085
1085
  * Show toggle button to reveal/hide password
1086
1086
  * @default true
1087
1087
  */
1088
1088
  showToggle?: boolean;
1089
+ /**
1090
+ * Size of the input
1091
+ * @default "md"
1092
+ */
1093
+ size?: "sm" | "md" | "lg";
1094
+ /**
1095
+ * Border radius
1096
+ * @default "md"
1097
+ */
1098
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1089
1099
  }
1090
1100
  declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
1091
1101
 
1092
- interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
1102
+ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "size"> {
1093
1103
  /**
1094
1104
  * Show increment/decrement buttons
1095
1105
  * @default true
@@ -1120,6 +1130,16 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
1120
1130
  * Callback when value changes
1121
1131
  */
1122
1132
  onChange?: (value: number | undefined) => void;
1133
+ /**
1134
+ * Size of the input
1135
+ * @default "md"
1136
+ */
1137
+ size?: "sm" | "md" | "lg";
1138
+ /**
1139
+ * Border radius
1140
+ * @default "md"
1141
+ */
1142
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1123
1143
  }
1124
1144
  declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
1125
1145
 
@@ -1267,6 +1287,8 @@ interface InputOTPProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElemen
1267
1287
  pattern?: string;
1268
1288
  /** Container class name */
1269
1289
  containerClassName?: string;
1290
+ /** Border radius */
1291
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1270
1292
  }
1271
1293
  declare const InputOTP: React$1.ForwardRefExoticComponent<InputOTPProps & React$1.RefAttributes<HTMLInputElement>>;
1272
1294
  declare const InputOTPGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1592,6 +1614,8 @@ interface CurrencyInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputE
1592
1614
  thousandSeparator?: string;
1593
1615
  /** Decimal separator */
1594
1616
  decimalSeparator?: string;
1617
+ /** Border radius */
1618
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1595
1619
  }
1596
1620
  declare const formatCurrency: (value: number, decimals: number, thousandSeparator: string, decimalSeparator: string) => string;
1597
1621
  declare const parseFormattedValue: (value: string, thousandSeparator: string, decimalSeparator: string) => number | undefined;
@@ -1703,6 +1727,8 @@ interface PhoneInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElem
1703
1727
  showCountrySelect?: boolean;
1704
1728
  /** Whether to show dial code in input */
1705
1729
  showDialCode?: boolean;
1730
+ /** Border radius */
1731
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1706
1732
  }
1707
1733
  declare const formatPhoneNumber: (value: string, format: string) => string;
1708
1734
  declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<HTMLInputElement>>;
package/dist/index.d.ts CHANGED
@@ -1080,16 +1080,26 @@ declare const CommandShortcut: {
1080
1080
  displayName: string;
1081
1081
  };
1082
1082
 
1083
- interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
1083
+ interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
1084
1084
  /**
1085
1085
  * Show toggle button to reveal/hide password
1086
1086
  * @default true
1087
1087
  */
1088
1088
  showToggle?: boolean;
1089
+ /**
1090
+ * Size of the input
1091
+ * @default "md"
1092
+ */
1093
+ size?: "sm" | "md" | "lg";
1094
+ /**
1095
+ * Border radius
1096
+ * @default "md"
1097
+ */
1098
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1089
1099
  }
1090
1100
  declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
1091
1101
 
1092
- interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
1102
+ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "size"> {
1093
1103
  /**
1094
1104
  * Show increment/decrement buttons
1095
1105
  * @default true
@@ -1120,6 +1130,16 @@ interface NumberInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
1120
1130
  * Callback when value changes
1121
1131
  */
1122
1132
  onChange?: (value: number | undefined) => void;
1133
+ /**
1134
+ * Size of the input
1135
+ * @default "md"
1136
+ */
1137
+ size?: "sm" | "md" | "lg";
1138
+ /**
1139
+ * Border radius
1140
+ * @default "md"
1141
+ */
1142
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1123
1143
  }
1124
1144
  declare const NumberInput: React$1.ForwardRefExoticComponent<NumberInputProps & React$1.RefAttributes<HTMLInputElement>>;
1125
1145
 
@@ -1267,6 +1287,8 @@ interface InputOTPProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElemen
1267
1287
  pattern?: string;
1268
1288
  /** Container class name */
1269
1289
  containerClassName?: string;
1290
+ /** Border radius */
1291
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1270
1292
  }
1271
1293
  declare const InputOTP: React$1.ForwardRefExoticComponent<InputOTPProps & React$1.RefAttributes<HTMLInputElement>>;
1272
1294
  declare const InputOTPGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1592,6 +1614,8 @@ interface CurrencyInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputE
1592
1614
  thousandSeparator?: string;
1593
1615
  /** Decimal separator */
1594
1616
  decimalSeparator?: string;
1617
+ /** Border radius */
1618
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1595
1619
  }
1596
1620
  declare const formatCurrency: (value: number, decimals: number, thousandSeparator: string, decimalSeparator: string) => string;
1597
1621
  declare const parseFormattedValue: (value: string, thousandSeparator: string, decimalSeparator: string) => number | undefined;
@@ -1703,6 +1727,8 @@ interface PhoneInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElem
1703
1727
  showCountrySelect?: boolean;
1704
1728
  /** Whether to show dial code in input */
1705
1729
  showDialCode?: boolean;
1730
+ /** Border radius */
1731
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1706
1732
  }
1707
1733
  declare const formatPhoneNumber: (value: string, format: string) => string;
1708
1734
  declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & React$1.RefAttributes<HTMLInputElement>>;