buildgrid-ui 1.1.0 → 1.2.0
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/buildgrid-ui.es.js +7176 -6828
- package/dist/buildgrid-ui.umd.js +50 -50
- package/dist/lib/utils/date-formatters.d.ts +13 -0
- package/dist/lib/utils/formatters.d.ts +1 -7
- package/dist/lib/utils/index.d.ts +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const formatDateUTC: (date: any) => string;
|
|
2
|
+
export declare const formatDateMonthYear: (date: Date) => string;
|
|
3
|
+
export declare const formatDateDayMonth: (date: Date) => string;
|
|
4
|
+
export declare const formatDateAndTime: (date: Date | string) => string;
|
|
5
|
+
export declare const getMonthName: (date: Date) => string;
|
|
6
|
+
export declare const getLongDate: (date: Date) => string;
|
|
7
|
+
export declare const formatDateAndWeekday: (date: Date | string, language?: string) => string;
|
|
8
|
+
export declare const formatDateAndWeekdayAndYear: (date: Date | string, language?: string) => string;
|
|
9
|
+
export declare const formatDateAndMonth: (date: Date | string, language?: string) => string;
|
|
10
|
+
export declare const formatLongDate: (date: Date | string, language?: string) => string;
|
|
11
|
+
export declare const formatShortDate: (date: Date, language?: string) => string;
|
|
12
|
+
export declare const getMonthYearFromISODate: (date: string) => string;
|
|
13
|
+
export declare const formatWeekDayAndShortDate: (date: Date, language?: string) => string;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
export declare const formatCurrency: (number: number, language?: string, currency?: string) => string;
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const formatDateAndWeekdayAndYear: (date: Date | string, language?: string) => string;
|
|
4
|
-
export declare const formatDateAndMonth: (date: Date | string, language?: string) => string;
|
|
5
|
-
export declare const formatLongDate: (date: Date | string, language?: string) => string;
|
|
6
|
-
export declare const formatShortDate: (date: Date, language?: string) => string;
|
|
7
|
-
export declare const getMonthYearFromISODate: (date: string) => string;
|
|
8
|
-
export declare const formatWeekDayAndShortDate: (date: Date, language?: string) => string;
|
|
2
|
+
export declare const padString: (num: number | string, size?: number) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildgrid-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"class-variance-authority": "^0.7.1",
|
|
48
48
|
"clsx": "^2.1.1",
|
|
49
49
|
"date-fns": "^4.1.0",
|
|
50
|
+
"date-fns-tz": "^3.2.0",
|
|
50
51
|
"lucide-react": "^0.469.0",
|
|
51
52
|
"react-day-picker": "^9.5.0",
|
|
52
53
|
"sonner": "^1.7.1",
|