@nar-bus/lena-ui-shared 1.3.2 → 1.3.4
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 +12 -2
- package/dist/index.js +514 -512
- package/dist/index.js.map +1 -1
- package/dist/theme.css +1 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1387,6 +1387,16 @@ export declare function formatDate(timestamp: DateInput_3): string;
|
|
|
1387
1387
|
*/
|
|
1388
1388
|
export declare function formatDateTime(timestamp: DateInput_3): string;
|
|
1389
1389
|
|
|
1390
|
+
/**
|
|
1391
|
+
* Format a timestamp to compact date with time (e.g., "27.03.26 15:30")
|
|
1392
|
+
*/
|
|
1393
|
+
export declare function formatDateTimeCompact(timestamp: DateInput_3): string;
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Format a timestamp to compact date with time and seconds (e.g., "27.03.26 15:30:45")
|
|
1397
|
+
*/
|
|
1398
|
+
export declare function formatDateTimeCompactFull(timestamp: DateInput_3): string;
|
|
1399
|
+
|
|
1390
1400
|
/**
|
|
1391
1401
|
* Format a timestamp to full date with seconds (e.g., "Jan 1, 2024 14:30:45")
|
|
1392
1402
|
*/
|
|
@@ -2634,7 +2644,7 @@ export declare function Table({ className, ...props }: React_2.ComponentProps<"t
|
|
|
2634
2644
|
|
|
2635
2645
|
export declare const TABLE_CELL_CLASSES = "px-2.5 py-1.5 text-xs";
|
|
2636
2646
|
|
|
2637
|
-
export declare const TABLE_CONTAINER_CLASSES = "
|
|
2647
|
+
export declare const TABLE_CONTAINER_CLASSES = "rounded-lg border border-border/80 bg-card overflow-hidden shadow-sm";
|
|
2638
2648
|
|
|
2639
2649
|
export declare const TABLE_HEADER_CLASSES = "px-2 py-0.5 text-xs font-semibold uppercase tracking-wider transition-colors";
|
|
2640
2650
|
|
|
@@ -3191,7 +3201,7 @@ export declare function usePrefetch<TData>({ detailKey, listKey, fetchDetail, fe
|
|
|
3191
3201
|
|
|
3192
3202
|
declare interface UsePrefetchOptions<TData> {
|
|
3193
3203
|
/** Query key factory for detail queries */
|
|
3194
|
-
detailKey
|
|
3204
|
+
detailKey: (id: number) => QueryKey;
|
|
3195
3205
|
/** Query key factory for list queries */
|
|
3196
3206
|
listKey: (params: SearchRequest) => QueryKey;
|
|
3197
3207
|
/** Function to fetch detail data */
|