@payfit/unity-components 2.1.4 → 2.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/esm/components/avatar/Avatar.context.d.ts +2 -1
- package/dist/esm/components/avatar/Avatar.context.js +13 -11
- package/dist/esm/components/avatar/Avatar.d.ts +126 -0
- package/dist/esm/components/avatar/Avatar.js +34 -20
- package/dist/esm/components/avatar/Avatar.variants.d.ts +39 -0
- package/dist/esm/components/avatar/Avatar.variants.js +22 -4
- package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +52 -0
- package/dist/esm/components/avatar/parts/AvatarIcon.d.ts +31 -0
- package/dist/esm/components/avatar/parts/AvatarIcon.js +40 -0
- package/dist/esm/components/button/Button.js +8 -7
- package/dist/esm/components/inline-field-group/InlineFieldGroup.context.d.ts +23 -0
- package/dist/esm/components/inline-field-group/InlineFieldGroup.context.js +6 -0
- package/dist/esm/components/inline-field-group/InlineFieldGroup.d.ts +119 -0
- package/dist/esm/components/inline-field-group/InlineFieldGroup.js +185 -0
- package/dist/esm/components/inline-field-group/hooks/useInlineFieldGroupMode.d.ts +46 -0
- package/dist/esm/components/inline-field-group/hooks/useInlineFieldGroupMode.js +27 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupEditView.d.ts +64 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupEditView.js +56 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupHeader.d.ts +95 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupHeader.js +106 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupReadView.d.ts +56 -0
- package/dist/esm/components/inline-field-group/parts/InlineFieldGroupReadView.js +28 -0
- package/dist/esm/components/side-panel/parts/SidePanelFooter.js +19 -10
- package/dist/esm/hooks/tanstack-form-context.d.ts +1 -1
- package/dist/esm/hooks/use-tanstack-form.d.ts +32 -8
- package/dist/esm/hooks/use-tanstack-form.js +71 -48
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +445 -443
- package/i18n/en-GB.json +6 -0
- package/i18n/es-ES.json +6 -0
- package/i18n/fr-FR.json +6 -0
- package/package.json +21 -21
package/i18n/en-GB.json
CHANGED
|
@@ -57,6 +57,12 @@
|
|
|
57
57
|
"unity:component:form-field:number-input:increment:title": "increment",
|
|
58
58
|
"unity:component:form-field:textarea:resize-handle:label": "Resize textarea",
|
|
59
59
|
"unity:component:full-page-loader:label": "Content is loading...",
|
|
60
|
+
"unity:component:inline-field-group:edit": "Edit",
|
|
61
|
+
"unity:component:inline-field-group:save": "Save",
|
|
62
|
+
"unity:component:inline-field-group:cancel": "Cancel",
|
|
63
|
+
"unity:component:inline-field-group:loading": "Loading...",
|
|
64
|
+
"unity:component:inline-field-group:validation-error": "Please fix the errors before saving.",
|
|
65
|
+
"unity:component:inline-field-group:save-error": "An error occurred while saving. Please try again.",
|
|
60
66
|
"unity:component:label:required": "required",
|
|
61
67
|
"unity:component:label:optional": "(optional)",
|
|
62
68
|
"unity:component:pagination:label": "Pagination",
|
package/i18n/es-ES.json
CHANGED
|
@@ -57,6 +57,12 @@
|
|
|
57
57
|
"unity:component:form-field:number-input:increment:title": "incremento",
|
|
58
58
|
"unity:component:form-field:textarea:resize-handle:label": "Redimensionar el área de texto",
|
|
59
59
|
"unity:component:full-page-loader:label": "Cargando contenido...",
|
|
60
|
+
"unity:component:inline-field-group:edit": "Editar",
|
|
61
|
+
"unity:component:inline-field-group:save": "Guardar",
|
|
62
|
+
"unity:component:inline-field-group:cancel": "Cancelar",
|
|
63
|
+
"unity:component:inline-field-group:loading": "Guardando...",
|
|
64
|
+
"unity:component:inline-field-group:validation-error": "Por favor, corrige los errores antes de guardar.",
|
|
65
|
+
"unity:component:inline-field-group:save-error": "Se produjo un error al guardar. Por favor, inténtalo de nuevo.",
|
|
60
66
|
"unity:component:label:required": "obligatorio",
|
|
61
67
|
"unity:component:label:optional": "(opcional)",
|
|
62
68
|
"unity:component:pagination:label": "Paginación",
|
package/i18n/fr-FR.json
CHANGED
|
@@ -57,6 +57,12 @@
|
|
|
57
57
|
"unity:component:form-field:number-input:increment:title": "Incrémenter",
|
|
58
58
|
"unity:component:form-field:textarea:resize-handle:label": "Redimensionner la zone de texte",
|
|
59
59
|
"unity:component:full-page-loader:label": "Chargement du contenu en cours...",
|
|
60
|
+
"unity:component:inline-field-group:edit": "Modifier",
|
|
61
|
+
"unity:component:inline-field-group:save": "Enregistrer",
|
|
62
|
+
"unity:component:inline-field-group:cancel": "Annuler",
|
|
63
|
+
"unity:component:inline-field-group:loading": "En cours de sauvegarde...",
|
|
64
|
+
"unity:component:inline-field-group:validation-error": "Veuillez corriger les erreurs avant d'enregistrer.",
|
|
65
|
+
"unity:component:inline-field-group:save-error": "Une erreur s'est produite lors de l'enregistrement. Veuillez réessayer.",
|
|
60
66
|
"unity:component:label:required": "obligatoire",
|
|
61
67
|
"unity:component:label:optional": "(optionnel)",
|
|
62
68
|
"unity:component:pagination:label": "Pagination",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -42,14 +42,14 @@
|
|
|
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.
|
|
45
|
+
"@payfit/unity-illustrations": "2.2.0",
|
|
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",
|
|
49
49
|
"@react-aria/utils": "3.31.0",
|
|
50
50
|
"@react-types/shared": "3.26.0",
|
|
51
51
|
"@standard-schema/spec": "1.0.0",
|
|
52
|
-
"@tanstack/react-form": "1.
|
|
52
|
+
"@tanstack/react-form": "1.28.0",
|
|
53
53
|
"@tanstack/react-virtual": "3.13.12",
|
|
54
54
|
"@use-gesture/react": "10.3.1",
|
|
55
55
|
"prettier": "3.1.0",
|
|
@@ -63,16 +63,16 @@
|
|
|
63
63
|
"react-international-phone": "4.5.0",
|
|
64
64
|
"react-intl": "7.1.14",
|
|
65
65
|
"react-stately": "3.42.0",
|
|
66
|
-
"storybook": "10.
|
|
66
|
+
"storybook": "10.2.0",
|
|
67
67
|
"tailwind-variants": "2.1.0",
|
|
68
68
|
"usehooks-ts": "3.1.0",
|
|
69
|
-
"zod": "4.3.
|
|
69
|
+
"zod": "4.3.6"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@hookform/devtools": "^4",
|
|
73
|
-
"@payfit/unity-icons": "2.
|
|
74
|
-
"@payfit/unity-themes": "2.
|
|
75
|
-
"@storybook/react-vite": "^10.
|
|
73
|
+
"@payfit/unity-icons": "2.2.0",
|
|
74
|
+
"@payfit/unity-themes": "2.2.0",
|
|
75
|
+
"@storybook/react-vite": "^10.2.0",
|
|
76
76
|
"@tanstack/react-query": "^5",
|
|
77
77
|
"@tanstack/react-router": "^1.131",
|
|
78
78
|
"@tanstack/react-router-devtools": "^1.131",
|
|
@@ -90,17 +90,17 @@
|
|
|
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.
|
|
94
|
-
"@payfit/unity-illustrations": "2.
|
|
95
|
-
"@payfit/unity-themes": "2.
|
|
93
|
+
"@payfit/unity-icons": "2.2.0",
|
|
94
|
+
"@payfit/unity-illustrations": "2.2.0",
|
|
95
|
+
"@payfit/unity-themes": "2.2.0",
|
|
96
96
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
97
|
-
"@storybook/addon-a11y": "10.
|
|
98
|
-
"@storybook/addon-docs": "10.
|
|
99
|
-
"@storybook/addon-links": "10.
|
|
100
|
-
"@storybook/addon-vitest": "10.
|
|
101
|
-
"@storybook/react-vite": "10.
|
|
102
|
-
"@tanstack/react-devtools": "
|
|
103
|
-
"@tanstack/react-form-devtools": "0.2.
|
|
97
|
+
"@storybook/addon-a11y": "10.2.0",
|
|
98
|
+
"@storybook/addon-docs": "10.2.0",
|
|
99
|
+
"@storybook/addon-links": "10.2.0",
|
|
100
|
+
"@storybook/addon-vitest": "10.2.0",
|
|
101
|
+
"@storybook/react-vite": "10.2.0",
|
|
102
|
+
"@tanstack/react-devtools": "0.9.3",
|
|
103
|
+
"@tanstack/react-form-devtools": "0.2.13",
|
|
104
104
|
"@tanstack/react-query": "5.90.2",
|
|
105
105
|
"@tanstack/react-router": "1.133.13",
|
|
106
106
|
"@tanstack/react-router-devtools": "1.133.13",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"@types/react-router-dom": "5.3.3",
|
|
112
112
|
"@vitejs/plugin-react": "5.1.0",
|
|
113
113
|
"@vitest/browser": "4.0.6",
|
|
114
|
-
"eslint-plugin-storybook": "10.
|
|
114
|
+
"eslint-plugin-storybook": "10.2.0",
|
|
115
115
|
"glob": "11.0.1",
|
|
116
116
|
"msw": "2.8.4",
|
|
117
117
|
"msw-storybook-addon": "^2.0.6",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"prettier": "3.1.0",
|
|
120
120
|
"react-docgen-typescript": "2.2.2",
|
|
121
121
|
"react-hot-toast": "2.5.1",
|
|
122
|
-
"storybook": "10.
|
|
123
|
-
"storybook-addon-pseudo-states": "10.
|
|
122
|
+
"storybook": "10.2.0",
|
|
123
|
+
"storybook-addon-pseudo-states": "10.2.0",
|
|
124
124
|
"storybook-addon-tag-badges": "3.0.2",
|
|
125
125
|
"storybook-mock-date-decorator": "3.0.0",
|
|
126
126
|
"tailwindcss": "4.1.11",
|