@payfit/unity-components 2.21.13 → 2.21.15
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/esm/components/date-calendar/DateCalendar.js +87 -89
- package/dist/esm/components/date-calendar/DateCalendar.variants.d.ts +62 -0
- package/dist/esm/components/date-calendar/DateCalendar.variants.js +42 -0
- package/dist/esm/components/date-picker/parts/DateInput.d.ts +28 -0
- package/dist/esm/components/date-picker/parts/DateInput.js +6 -5
- package/dist/esm/components/date-range-calendar/DateRangeCalendar.d.ts +22 -0
- package/dist/esm/components/date-range-calendar/DateRangeCalendar.js +197 -0
- package/dist/esm/components/date-range-picker/DateRangePicker.d.ts +68 -0
- package/dist/esm/components/date-range-picker/DateRangePicker.js +174 -0
- package/dist/esm/components/date-range-picker/TanstackDateRangePicker.d.ts +22 -0
- package/dist/esm/components/date-range-picker/TanstackDateRangePicker.js +53 -0
- package/dist/esm/components/date-range-picker/parts/DateRangeInput.d.ts +16 -0
- package/dist/esm/components/date-range-picker/parts/DateRangeInput.js +98 -0
- package/dist/esm/components/date-range-picker-field/TanstackDateRangePickerField.d.ts +64 -0
- package/dist/esm/components/date-range-picker-field/TanstackDateRangePickerField.js +41 -0
- package/dist/esm/components/date-range-picker-field/test-utils.d.ts +19 -0
- package/dist/esm/components/date-range-picker-field/test-utils.js +66 -0
- package/dist/esm/components/promo-dialog/PromoDialog.js +8 -8
- package/dist/esm/hooks/use-tanstack-form.d.ts +36 -0
- package/dist/esm/hooks/use-tanstack-form.js +72 -60
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +462 -458
- package/dist/esm/index.storybook-testing.d.ts +1 -0
- package/dist/esm/storybook-testing.js +10 -8
- package/i18n/en-GB.json +1 -0
- package/i18n/es-ES.json +1 -0
- package/i18n/fr-FR.json +1 -0
- package/package.json +7 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { getTestingUtilsDatePicker } from './components/date-picker-field/test-utils.js';
|
|
2
|
+
export { getTestingUtilsDateRangePicker } from './components/date-range-picker-field/test-utils.js';
|
|
2
3
|
export { getTestingUtilsMultiSelect } from './components/multi-select-field/test-utils.js';
|
|
3
4
|
export { getTestingUtilsSelect } from './components/select-field/test-utils.js';
|
|
4
5
|
export { getTestingUtilsToast } from './components/toast/test-utils.js';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { getTestingUtilsDatePicker as i } from "./components/date-picker-field/test-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { getTestingUtilsDateRangePicker as o } from "./components/date-range-picker-field/test-utils.js";
|
|
3
|
+
import { getTestingUtilsMultiSelect as s } from "./components/multi-select-field/test-utils.js";
|
|
4
|
+
import { getTestingUtilsSelect as n } from "./components/select-field/test-utils.js";
|
|
5
|
+
import { getTestingUtilsToast as f } from "./components/toast/test-utils.js";
|
|
6
|
+
import { getTestingUtilsDialog as p } from "./components/dialog/test-utils.js";
|
|
6
7
|
export {
|
|
7
8
|
i as getTestingUtilsDatePicker,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
s as
|
|
11
|
-
|
|
9
|
+
o as getTestingUtilsDateRangePicker,
|
|
10
|
+
p as getTestingUtilsDialog,
|
|
11
|
+
s as getTestingUtilsMultiSelect,
|
|
12
|
+
n as getTestingUtilsSelect,
|
|
13
|
+
f as getTestingUtilsToast
|
|
12
14
|
};
|
package/i18n/en-GB.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"unity:component:form-field:date-picker:segment-select:month:description": "Press Enter or Space to change month, then use up and down arrows to select a month",
|
|
75
75
|
"unity:component:form-field:date-picker:segment-select:year:label": "Change current year",
|
|
76
76
|
"unity:component:form-field:date-picker:segment-select:year:description": "Press Enter or Space to change year, then use up and down arrows to select a year",
|
|
77
|
+
"unity:component:form-field:date-range-picker:calendar-button": "Open calendar",
|
|
77
78
|
"unity:component:form-field:form-input:spinner:label": "Loading",
|
|
78
79
|
"unity:component:form-field:form-input:error:alt": "Error",
|
|
79
80
|
"unity:component:form-field:number-input:decrement:title": "decrement",
|
package/i18n/es-ES.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"unity:component:form-field:date-picker:segment-select:month:description": "Presione Enter o Espacio para cambiar el mes, luego use las flechas para seleccionar un mes",
|
|
75
75
|
"unity:component:form-field:date-picker:segment-select:year:label": "Cambiar año actual",
|
|
76
76
|
"unity:component:form-field:date-picker:segment-select:year:description": "Presione Enter o Espacio para cambiar el año, luego use las flechas para seleccionar un año",
|
|
77
|
+
"unity:component:form-field:date-range-picker:calendar-button": "Abrir el calendario",
|
|
77
78
|
"unity:component:form-field:form-input:spinner:label": "Cargando",
|
|
78
79
|
"unity:component:form-field:form-input:error:alt": "Error",
|
|
79
80
|
"unity:component:form-field:number-input:decrement:title": "decremento",
|
package/i18n/fr-FR.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"unity:component:form-field:date-picker:segment-select:month:description": "Appuyez sur Entrée ou Espace pour changer de mois, puis utilisez les flèches pour sélectionner un mois",
|
|
75
75
|
"unity:component:form-field:date-picker:segment-select:year:label": "Changer l'année actuelle",
|
|
76
76
|
"unity:component:form-field:date-picker:segment-select:year:description": "Appuyez sur Entrée ou Espace pour changer d'année, puis utilisez les flèches pour sélectionner une année",
|
|
77
|
+
"unity:component:form-field:date-range-picker:calendar-button": "Ouvrir le calendrier",
|
|
77
78
|
"unity:component:form-field:form-input:spinner:label": "Chargement",
|
|
78
79
|
"unity:component:form-field:form-input:error:alt": "Erreur",
|
|
79
80
|
"unity:component:form-field:number-input:decrement:title": "Décrémenter",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.15",
|
|
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.12.0",
|
|
45
|
-
"@payfit/unity-illustrations": "2.21.
|
|
45
|
+
"@payfit/unity-illustrations": "2.21.15",
|
|
46
46
|
"@radix-ui/react-avatar": "1.1.11",
|
|
47
47
|
"@radix-ui/react-slot": "1.2.4",
|
|
48
48
|
"@react-aria/interactions": "3.27.1",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@hookform/devtools": "^4",
|
|
77
|
-
"@payfit/unity-icons": "2.21.
|
|
78
|
-
"@payfit/unity-themes": "2.21.
|
|
77
|
+
"@payfit/unity-icons": "2.21.15",
|
|
78
|
+
"@payfit/unity-themes": "2.21.15",
|
|
79
79
|
"@storybook/react-vite": "^10.3.2",
|
|
80
80
|
"@tanstack/react-query": "^5",
|
|
81
81
|
"@tanstack/react-router": "^1.131",
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
96
96
|
"@payfit/storybook-addon-console-errors": "0.0.0-use.local",
|
|
97
97
|
"@payfit/storybook-config": "0.0.0-use.local",
|
|
98
|
-
"@payfit/unity-icons": "2.21.
|
|
99
|
-
"@payfit/unity-illustrations": "2.21.
|
|
100
|
-
"@payfit/unity-themes": "2.21.
|
|
98
|
+
"@payfit/unity-icons": "2.21.15",
|
|
99
|
+
"@payfit/unity-illustrations": "2.21.15",
|
|
100
|
+
"@payfit/unity-themes": "2.21.15",
|
|
101
101
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
102
102
|
"@storybook/addon-a11y": "10.3.3",
|
|
103
103
|
"@storybook/addon-designs": "11.1.3",
|