@yusr_systems/ui 6.0.7 → 6.0.9
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.ts +6 -2
- package/dist/yusr-ui.js +832 -812
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -523,7 +523,7 @@ declare interface DateFieldProps extends DateInputProps {
|
|
|
523
523
|
required?: boolean;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
export declare function DateInput({ value, onChange, isInvalid, placeholder, locale }: DateInputProps): JSX.Element;
|
|
526
|
+
export declare function DateInput({ value, onChange, isInvalid, placeholder, locale, startYear, endYear, }: DateInputProps): JSX.Element;
|
|
527
527
|
|
|
528
528
|
export declare interface DateInputProps {
|
|
529
529
|
value?: Date;
|
|
@@ -531,6 +531,8 @@ export declare interface DateInputProps {
|
|
|
531
531
|
isInvalid?: boolean;
|
|
532
532
|
placeholder?: string;
|
|
533
533
|
locale?: any;
|
|
534
|
+
startYear?: number;
|
|
535
|
+
endYear?: number;
|
|
534
536
|
}
|
|
535
537
|
|
|
536
538
|
export declare function DateTimeField({ label, error, isInvalid, required, ...props }: DateTimeFieldProps): JSX.Element;
|
|
@@ -804,12 +806,14 @@ export declare function Loading({ entityName }: {
|
|
|
804
806
|
export declare type MainMenuItem = {
|
|
805
807
|
title: string;
|
|
806
808
|
url: string;
|
|
807
|
-
icon?:
|
|
809
|
+
icon?: default_2.ReactNode;
|
|
808
810
|
hasAuth: boolean;
|
|
811
|
+
hasSeparator?: boolean;
|
|
809
812
|
subItems?: {
|
|
810
813
|
title: string;
|
|
811
814
|
url: string;
|
|
812
815
|
hasAuth: boolean;
|
|
816
|
+
hasSeparator?: boolean;
|
|
813
817
|
}[];
|
|
814
818
|
};
|
|
815
819
|
|