@payfit/unity-components 2.3.3 → 2.3.5
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/package.json +8 -8
- package/dist/esm/components/date-picker/hooks/useMonthsList.d.ts +0 -4
- package/dist/esm/components/date-picker/hooks/useYearsList.d.ts +0 -10
- package/dist/esm/components/date-picker/utils.d.ts +0 -12
- package/dist/esm/components/pagination/parts/PaginationJumpDialog.d.ts +0 -8
- package/dist/esm/components/table/hooks/useTableAnnouncer.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@hookform/devtools": "4.4.0",
|
|
43
43
|
"@hookform/resolvers": "5.2.1",
|
|
44
44
|
"@internationalized/date": "3.10.0",
|
|
45
|
-
"@payfit/unity-illustrations": "2.3.
|
|
45
|
+
"@payfit/unity-illustrations": "2.3.5",
|
|
46
46
|
"@radix-ui/react-avatar": "1.1.11",
|
|
47
47
|
"@radix-ui/react-slot": "1.2.4",
|
|
48
48
|
"@react-aria/interactions": "3.25.6",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@hookform/devtools": "^4",
|
|
73
|
-
"@payfit/unity-icons": "2.3.
|
|
74
|
-
"@payfit/unity-themes": "2.3.
|
|
73
|
+
"@payfit/unity-icons": "2.3.5",
|
|
74
|
+
"@payfit/unity-themes": "2.3.5",
|
|
75
75
|
"@storybook/react-vite": "^10.2.2",
|
|
76
76
|
"@tanstack/react-query": "^5",
|
|
77
77
|
"@tanstack/react-router": "^1.131",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
91
91
|
"@payfit/storybook-addon-console-errors": "0.0.0-use.local",
|
|
92
92
|
"@payfit/storybook-config": "0.0.0-use.local",
|
|
93
|
-
"@payfit/unity-icons": "2.3.
|
|
94
|
-
"@payfit/unity-illustrations": "2.3.
|
|
95
|
-
"@payfit/unity-themes": "2.3.
|
|
93
|
+
"@payfit/unity-icons": "2.3.5",
|
|
94
|
+
"@payfit/unity-illustrations": "2.3.5",
|
|
95
|
+
"@payfit/unity-themes": "2.3.5",
|
|
96
96
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
97
97
|
"@storybook/addon-a11y": "10.2.2",
|
|
98
98
|
"@storybook/addon-docs": "10.2.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"react-hot-toast": "2.5.1",
|
|
122
122
|
"storybook": "10.2.2",
|
|
123
123
|
"storybook-addon-pseudo-states": "10.2.2",
|
|
124
|
-
"storybook-addon-tag-badges": "3.0.
|
|
124
|
+
"storybook-addon-tag-badges": "3.0.6",
|
|
125
125
|
"storybook-mock-date-decorator": "3.0.0",
|
|
126
126
|
"tailwindcss": "4.1.11",
|
|
127
127
|
"typescript": "5.9.2",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface UseYearsListOptions {
|
|
2
|
-
yearsBefore?: number;
|
|
3
|
-
yearsAfter?: number;
|
|
4
|
-
startYear?: number;
|
|
5
|
-
endYear?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function useYearsList({ yearsBefore, yearsAfter, startYear, endYear, }?: UseYearsListOptions): {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CalendarDate } from '@internationalized/date';
|
|
2
|
-
/**
|
|
3
|
-
* Converts a JS Date or string to a CalendarDate, preserving the local date components
|
|
4
|
-
* regardless of timezone.
|
|
5
|
-
*/
|
|
6
|
-
export declare const parseDateValue: (value: Date | string | undefined) => CalendarDate | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* Converts a CalendarDate to a JS Date, preserving the local date components.
|
|
9
|
-
* This ensures that "2024-03-15" becomes "March 15, 2024" in the local timezone,
|
|
10
|
-
* without any unexpected shifts due to timezone conversion.
|
|
11
|
-
*/
|
|
12
|
-
export declare const calendarDateToDate: (date: CalendarDate | null) => Date | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OverlayTriggerState } from 'react-stately';
|
|
2
|
-
interface PaginationJumpDialogProps {
|
|
3
|
-
pageCount: number;
|
|
4
|
-
onJumpToPage: (page: number) => void;
|
|
5
|
-
state: OverlayTriggerState;
|
|
6
|
-
}
|
|
7
|
-
export declare function PaginationJumpDialog({ pageCount, onJumpToPage, state, }: PaginationJumpDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|