ingeniuscliq-core 0.2.28 → 0.2.29

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,3 +1,4 @@
1
+ import { InputExtendedProps } from '../../ui/input';
1
2
  import { BaseStyleProps } from '../../../types/ui/main';
2
3
  import { Control, FieldValues, Path } from 'react-hook-form';
3
4
  declare enum SUPPORTED_INPUT_TYPES {
@@ -11,7 +12,7 @@ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseStyleP
11
12
  readonly name: Path<T>;
12
13
  readonly placeholder?: string;
13
14
  readonly type?: keyof typeof SUPPORTED_INPUT_TYPES;
14
- readonly inputProps?: T;
15
+ readonly inputProps?: React.ComponentProps<"input"> & InputExtendedProps;
15
16
  }
16
17
  export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className, inputProps }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
17
18
  export {};
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- interface InputExtendedProps {
2
+ export interface InputExtendedProps {
3
3
  withoutShadow?: boolean;
4
4
  outlined?: boolean;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",