@kroo-web/design-system 1.1.97 → 1.1.98

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.
@@ -16,5 +16,5 @@ export type TTextFieldProps<T extends FieldValues> = {
16
16
  leftContent?: ReactNode | string;
17
17
  missing?: boolean;
18
18
  disableError?: boolean;
19
- };
20
- export declare const TextField: React.ForwardRefExoticComponent<TTextFieldProps<FieldValues> & React.RefAttributes<HTMLInputElement>>;
19
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
20
+ export declare const TextField: React.ForwardRefExoticComponent<Omit<TTextFieldProps<FieldValues>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -16,5 +16,5 @@ export type TTextFieldProps<T extends FieldValues> = {
16
16
  leftContent?: ReactNode | string;
17
17
  missing?: boolean;
18
18
  disableError?: boolean;
19
- };
20
- export declare const TextField: React.ForwardRefExoticComponent<TTextFieldProps<FieldValues> & React.RefAttributes<HTMLInputElement>>;
19
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
20
+ export declare const TextField: React.ForwardRefExoticComponent<Omit<TTextFieldProps<FieldValues>, "ref"> & React.RefAttributes<HTMLInputElement>>;
package/dist/types.d.ts CHANGED
@@ -389,8 +389,8 @@ type TTextFieldProps<T extends FieldValues> = {
389
389
  leftContent?: ReactNode | string;
390
390
  missing?: boolean;
391
391
  disableError?: boolean;
392
- };
393
- declare const TextField: React$1.ForwardRefExoticComponent<TTextFieldProps<FieldValues> & React$1.RefAttributes<HTMLInputElement>>;
392
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
393
+ declare const TextField: React$1.ForwardRefExoticComponent<Omit<TTextFieldProps<FieldValues>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
394
394
 
395
395
  type TToastRootProps = {
396
396
  children: React$1.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kroo-web/design-system",
3
- "version": "1.1.97",
3
+ "version": "1.1.98",
4
4
  "description": "Web design system for Kroo including the components for the marketing site and the product side.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",