react-better-html 1.1.75 → 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 +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +583 -242
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +564 -223
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
367
|
-
|
|
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;
|
|
@@ -609,6 +615,8 @@ type TableProps<DataItem> = {
|
|
|
609
615
|
/** @default false */
|
|
610
616
|
isStriped?: boolean;
|
|
611
617
|
/** @default false */
|
|
618
|
+
isLoading?: boolean;
|
|
619
|
+
/** @default false */
|
|
612
620
|
withStickyHeader?: boolean;
|
|
613
621
|
/** @default "No data available" */
|
|
614
622
|
noDataItemsMessage?: string;
|
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
|
|
367
|
-
|
|
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;
|
|
@@ -609,6 +615,8 @@ type TableProps<DataItem> = {
|
|
|
609
615
|
/** @default false */
|
|
610
616
|
isStriped?: boolean;
|
|
611
617
|
/** @default false */
|
|
618
|
+
isLoading?: boolean;
|
|
619
|
+
/** @default false */
|
|
612
620
|
withStickyHeader?: boolean;
|
|
613
621
|
/** @default "No data available" */
|
|
614
622
|
noDataItemsMessage?: string;
|