@underverse-ui/underverse 1.0.130 → 1.0.132
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/api-reference.json +1 -1
- package/dist/index.cjs +380 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +380 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -924,6 +924,7 @@ interface DateRangePickerProps {
|
|
|
924
924
|
maxDate?: Date;
|
|
925
925
|
/** Size variant */
|
|
926
926
|
size?: "sm" | "md" | "lg";
|
|
927
|
+
disabled?: boolean;
|
|
927
928
|
}
|
|
928
929
|
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
929
930
|
declare const CompactDatePicker: React$1.FC<{
|
|
@@ -2867,6 +2868,10 @@ declare function formatDateWithDay(date: string | Date | null | undefined, local
|
|
|
2867
2868
|
* // "25/12/2024 14:30" (older)
|
|
2868
2869
|
*/
|
|
2869
2870
|
declare function formatDateSmart(date: string | Date | null | undefined, locale?: SupportedLocale): string;
|
|
2871
|
+
/**
|
|
2872
|
+
* Parse date string based on locale
|
|
2873
|
+
*/
|
|
2874
|
+
declare function parseDateString(str: string, locale?: SupportedLocale): Date | null;
|
|
2870
2875
|
|
|
2871
2876
|
type date_SupportedLocale = SupportedLocale;
|
|
2872
2877
|
declare const date_formatDate: typeof formatDate;
|
|
@@ -2881,8 +2886,9 @@ declare const date_formatTimeAgo: typeof formatTimeAgo;
|
|
|
2881
2886
|
declare const date_getDayOfWeek: typeof getDayOfWeek;
|
|
2882
2887
|
declare const date_isToday: typeof isToday;
|
|
2883
2888
|
declare const date_isYesterday: typeof isYesterday;
|
|
2889
|
+
declare const date_parseDateString: typeof parseDateString;
|
|
2884
2890
|
declare namespace date {
|
|
2885
|
-
export { type date_SupportedLocale as SupportedLocale, date_formatDate as formatDate, date_formatDateForInput as formatDateForInput, date_formatDateShort as formatDateShort, date_formatDateSmart as formatDateSmart, date_formatDateTime as formatDateTime, date_formatDateTimeForInput as formatDateTimeForInput, date_formatDateWithDay as formatDateWithDay, date_formatTime as formatTime, date_formatTimeAgo as formatTimeAgo, date_getDayOfWeek as getDayOfWeek, date_isToday as isToday, date_isYesterday as isYesterday };
|
|
2891
|
+
export { type date_SupportedLocale as SupportedLocale, date_formatDate as formatDate, date_formatDateForInput as formatDateForInput, date_formatDateShort as formatDateShort, date_formatDateSmart as formatDateSmart, date_formatDateTime as formatDateTime, date_formatDateTimeForInput as formatDateTimeForInput, date_formatDateWithDay as formatDateWithDay, date_formatTime as formatTime, date_formatTimeAgo as formatTimeAgo, date_getDayOfWeek as getDayOfWeek, date_isToday as isToday, date_isYesterday as isYesterday, date_parseDateString as parseDateString };
|
|
2886
2892
|
}
|
|
2887
2893
|
|
|
2888
2894
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -924,6 +924,7 @@ interface DateRangePickerProps {
|
|
|
924
924
|
maxDate?: Date;
|
|
925
925
|
/** Size variant */
|
|
926
926
|
size?: "sm" | "md" | "lg";
|
|
927
|
+
disabled?: boolean;
|
|
927
928
|
}
|
|
928
929
|
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
929
930
|
declare const CompactDatePicker: React$1.FC<{
|
|
@@ -2867,6 +2868,10 @@ declare function formatDateWithDay(date: string | Date | null | undefined, local
|
|
|
2867
2868
|
* // "25/12/2024 14:30" (older)
|
|
2868
2869
|
*/
|
|
2869
2870
|
declare function formatDateSmart(date: string | Date | null | undefined, locale?: SupportedLocale): string;
|
|
2871
|
+
/**
|
|
2872
|
+
* Parse date string based on locale
|
|
2873
|
+
*/
|
|
2874
|
+
declare function parseDateString(str: string, locale?: SupportedLocale): Date | null;
|
|
2870
2875
|
|
|
2871
2876
|
type date_SupportedLocale = SupportedLocale;
|
|
2872
2877
|
declare const date_formatDate: typeof formatDate;
|
|
@@ -2881,8 +2886,9 @@ declare const date_formatTimeAgo: typeof formatTimeAgo;
|
|
|
2881
2886
|
declare const date_getDayOfWeek: typeof getDayOfWeek;
|
|
2882
2887
|
declare const date_isToday: typeof isToday;
|
|
2883
2888
|
declare const date_isYesterday: typeof isYesterday;
|
|
2889
|
+
declare const date_parseDateString: typeof parseDateString;
|
|
2884
2890
|
declare namespace date {
|
|
2885
|
-
export { type date_SupportedLocale as SupportedLocale, date_formatDate as formatDate, date_formatDateForInput as formatDateForInput, date_formatDateShort as formatDateShort, date_formatDateSmart as formatDateSmart, date_formatDateTime as formatDateTime, date_formatDateTimeForInput as formatDateTimeForInput, date_formatDateWithDay as formatDateWithDay, date_formatTime as formatTime, date_formatTimeAgo as formatTimeAgo, date_getDayOfWeek as getDayOfWeek, date_isToday as isToday, date_isYesterday as isYesterday };
|
|
2891
|
+
export { type date_SupportedLocale as SupportedLocale, date_formatDate as formatDate, date_formatDateForInput as formatDateForInput, date_formatDateShort as formatDateShort, date_formatDateSmart as formatDateSmart, date_formatDateTime as formatDateTime, date_formatDateTimeForInput as formatDateTimeForInput, date_formatDateWithDay as formatDateWithDay, date_formatTime as formatTime, date_formatTimeAgo as formatTimeAgo, date_getDayOfWeek as getDayOfWeek, date_isToday as isToday, date_isYesterday as isYesterday, date_parseDateString as parseDateString };
|
|
2886
2892
|
}
|
|
2887
2893
|
|
|
2888
2894
|
/**
|