@payfit/unity-components 2.67.19 → 2.67.21

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.
@@ -61,7 +61,7 @@ export interface DatePickerProps extends Pick<AriaDatePickerProps<CalendarDate>,
61
61
  * @remarks
62
62
  * [API & Docs](https://master--66fe6715241b661107117e47.chromatic.com/?path=/docs/inputs-datepicker--docs) • [Design Guidelines](https://www.payfit.design/24f360409/p/719ac2-date-picker)
63
63
  * @note
64
- * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `yarn add @internationalized/date`
64
+ * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `pnpm add @internationalized/date`
65
65
  */
66
66
  declare const DatePicker: import('react').ForwardRefExoticComponent<DatePickerProps & import('react').RefAttributes<HTMLDivElement>>;
67
67
  export { DatePicker };
@@ -77,7 +77,7 @@ type DatePickerFieldComponent = {
77
77
  * [API & Docs](https://master--66fe6715241b661107117e47.chromatic.com/?path=/docs/forms-datepickerfield--docs) • [Design Guidelines](https://www.payfit.design/24f360409/p/719ac2-date-picker)
78
78
  * @note The schema type parameter is needed to ensure type safety with the form's schema. If you omit it, the `name` prop will not be type-safe.
79
79
  * @note
80
- * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `yarn add @internationalized/date`
80
+ * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `pnpm add @internationalized/date`
81
81
  * @deprecated React Hook Form components are deprecated. Use the TanStack Form version instead.
82
82
  * @see Storybook docs: https://unity-components.payfit.io/?path=/docs/forms-introduction-to-unity-forms--docs
83
83
  */
@@ -62,7 +62,7 @@ export interface DateRangePickerProps extends Pick<AriaDateRangePickerProps<Cale
62
62
  * }
63
63
  * ```
64
64
  * @note
65
- * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `yarn add @internationalized/date`
65
+ * This component requires `@internationalized/date` as a peer dependency. Make sure to install it in your project: `pnpm add @internationalized/date`
66
66
  */
67
67
  declare const DateRangePicker: import('react').ForwardRefExoticComponent<DateRangePickerProps & import('react').RefAttributes<HTMLDivElement>>;
68
68
  export { DateRangePicker };
@@ -34,7 +34,7 @@ type FormComponent = {
34
34
  * Under the hood, the `Form` component is a wrapper around the `react-hook-form` library, which takes care of form state management. Additionally, it uses the `zod` library to define a schema used for form data validation. To use the `Form` component correctly, **you must install Zod and react-hook-form** as dependencies in your project:
35
35
  *
36
36
  * ```bash
37
- * $ yarn add zod react-hook-form
37
+ * $ pnpm add zod react-hook-form
38
38
  * ```
39
39
  * @deprecated React Hook Form components are deprecated. Use the TanStack Form version instead.
40
40
  * @see Storybook docs: https://unity-components.payfit.io/?path=/docs/forms-introduction-to-unity-forms--docs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-components",
3
- "version": "2.67.19",
3
+ "version": "2.67.21",
4
4
  "module": "./dist/esm/index.js",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -96,7 +96,7 @@
96
96
  "tailwind-variants": "3.3.1",
97
97
  "usehooks-ts": "3.1.1",
98
98
  "zod": "4.5.4",
99
- "@payfit/unity-illustrations": "2.67.19"
99
+ "@payfit/unity-illustrations": "2.67.21"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "@hookform/devtools": "^4",
@@ -108,8 +108,8 @@
108
108
  "react-hook-form": "^7",
109
109
  "react-router-dom": "^5",
110
110
  "zod": "^3 || ^4",
111
- "@payfit/unity-icons": "2.67.19",
112
- "@payfit/unity-themes": "2.67.19"
111
+ "@payfit/unity-icons": "2.67.21",
112
+ "@payfit/unity-themes": "2.67.21"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@figma/code-connect": "1.5.3",
@@ -128,7 +128,7 @@
128
128
  "@tanstack/react-devtools": "0.10.11",
129
129
  "@tanstack/react-form-devtools": "0.2.34",
130
130
  "@tanstack/react-query": "5.102.8",
131
- "@tanstack/react-router": "1.170.29",
131
+ "@tanstack/react-router": "1.170.32",
132
132
  "@tanstack/react-router-devtools": "1.167.1",
133
133
  "@testing-library/dom": "10.4.1",
134
134
  "@testing-library/react": "16.3.2",
@@ -159,11 +159,11 @@
159
159
  "@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
160
160
  "@payfit/storybook-addon-console-errors": "0.0.0-use.local",
161
161
  "@payfit/storybook-addon-datadog-rum": "0.0.0-use.local",
162
- "@payfit/unity-icons": "2.67.19",
163
- "@payfit/unity-illustrations": "2.67.19",
164
- "@payfit/vite-configs": "0.0.0-use.local",
165
- "@payfit/unity-themes": "2.67.19",
166
- "@payfit/storybook-config": "0.0.0-use.local"
162
+ "@payfit/storybook-config": "0.0.0-use.local",
163
+ "@payfit/unity-icons": "2.67.21",
164
+ "@payfit/unity-illustrations": "2.67.21",
165
+ "@payfit/unity-themes": "2.67.21",
166
+ "@payfit/vite-configs": "0.0.0-use.local"
167
167
  },
168
168
  "peerDependenciesMeta": {
169
169
  "@hookform/devtools": {
@@ -38,14 +38,11 @@ TailwindCSS 4 plugin with the Unity theme preset; adds the
38
38
  mounts the providers in the correct order at the project entry. Do not
39
39
  hand-edit those files afterwards — re-run the generator.
40
40
 
41
- Companion generators:
41
+ Companion generator:
42
42
 
43
43
  ```bash
44
- # Component dev sandbox
45
- pnpm nx g @payfit/nx-tools:sandbox
46
-
47
44
  # Storybook for the project
48
- pnpm nx g @payfit/nx-tools:storybook
45
+ pnpm nx g @payfit/nx-tools:storybook --project=<YOUR_PROJECT>
49
46
  ```
50
47
 
51
48
  ## Setup (manual fallback)