react-better-html 1.1.76 → 1.1.77

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
@@ -129,7 +129,7 @@ declare const Loader: typeof LoaderComponent & {
129
129
  text: typeof LoaderComponent.text;
130
130
  };
131
131
 
132
- type IconName = "XMark" | "uploadCloud" | "trash" | "chevronDown" | "eye" | "eyeDashed" | "magnifyingGlass" | "check";
132
+ type IconName = "XMark" | "uploadCloud" | "trash" | "chevronDown" | "chevronLeft" | "chevronRight" | "eye" | "eyeDashed" | "magnifyingGlass" | "check";
133
133
  type IconData = {
134
134
  width: number;
135
135
  height: number;
@@ -363,8 +363,14 @@ type InputFieldComponentType = {
363
363
  password: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
364
364
  search: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
365
365
  phoneNumber: (props: ComponentPropWithRef<HTMLInputElement, OmitProps<InputFieldProps, "type">>) => React__default.ReactElement;
366
- date: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
367
- dateTime: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
366
+ date: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps & {
367
+ minDate?: Date;
368
+ maxDate?: Date;
369
+ }>) => React__default.ReactElement;
370
+ dateTime: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps & {
371
+ minDate?: Date;
372
+ maxDate?: Date;
373
+ }>) => React__default.ReactElement;
368
374
  time: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
369
375
  };
370
376
  declare const InputFieldComponent: InputFieldComponentType;
package/dist/index.d.ts CHANGED
@@ -129,7 +129,7 @@ declare const Loader: typeof LoaderComponent & {
129
129
  text: typeof LoaderComponent.text;
130
130
  };
131
131
 
132
- type IconName = "XMark" | "uploadCloud" | "trash" | "chevronDown" | "eye" | "eyeDashed" | "magnifyingGlass" | "check";
132
+ type IconName = "XMark" | "uploadCloud" | "trash" | "chevronDown" | "chevronLeft" | "chevronRight" | "eye" | "eyeDashed" | "magnifyingGlass" | "check";
133
133
  type IconData = {
134
134
  width: number;
135
135
  height: number;
@@ -363,8 +363,14 @@ type InputFieldComponentType = {
363
363
  password: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
364
364
  search: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
365
365
  phoneNumber: (props: ComponentPropWithRef<HTMLInputElement, OmitProps<InputFieldProps, "type">>) => React__default.ReactElement;
366
- date: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
367
- dateTime: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
366
+ date: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps & {
367
+ minDate?: Date;
368
+ maxDate?: Date;
369
+ }>) => React__default.ReactElement;
370
+ dateTime: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps & {
371
+ minDate?: Date;
372
+ maxDate?: Date;
373
+ }>) => React__default.ReactElement;
368
374
  time: (props: ComponentPropWithRef<HTMLInputElement, InputFieldProps>) => React__default.ReactElement;
369
375
  };
370
376
  declare const InputFieldComponent: InputFieldComponentType;