@6thbridge/hexa 0.0.82 → 0.0.84

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.mts CHANGED
@@ -222,8 +222,10 @@ declare const otpInputVariants: (props?: ({
222
222
  status?: "loading" | "default" | "error" | null | undefined;
223
223
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
224
224
  type DefailtInputProps = Omit<OTPInputProps$1, "renderInput">;
225
- type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {};
226
- declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
225
+ type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {
226
+ inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
227
+ };
228
+ declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
227
229
 
228
230
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
229
231
  declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -322,8 +324,9 @@ type DrawerPropsType = {
322
324
  asChild?: boolean;
323
325
  onOpenAutoFocus?: (e: Event) => void;
324
326
  onCloseAutoFocus?: (e: Event) => void;
327
+ modal?: boolean;
325
328
  };
326
- declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
329
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
327
330
 
328
331
  type LocaleOption = {
329
332
  key: string;
package/dist/index.d.ts CHANGED
@@ -222,8 +222,10 @@ declare const otpInputVariants: (props?: ({
222
222
  status?: "loading" | "default" | "error" | null | undefined;
223
223
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
224
224
  type DefailtInputProps = Omit<OTPInputProps$1, "renderInput">;
225
- type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {};
226
- declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
225
+ type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {
226
+ inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
227
+ };
228
+ declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
227
229
 
228
230
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
229
231
  declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -322,8 +324,9 @@ type DrawerPropsType = {
322
324
  asChild?: boolean;
323
325
  onOpenAutoFocus?: (e: Event) => void;
324
326
  onCloseAutoFocus?: (e: Event) => void;
327
+ modal?: boolean;
325
328
  };
326
- declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
329
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
327
330
 
328
331
  type LocaleOption = {
329
332
  key: string;