@payfit/unity-components 3.1.31 → 3.1.33

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.
@@ -17,7 +17,7 @@ export interface DefinitionTooltipProps extends Omit<TooltipProps, 'children'> {
17
17
  * <DefinitionTooltip title="I am the description of the definition tooltip">I am an definition tooltip</DefinitionTooltip>
18
18
  * ```
19
19
  * @see {@link DefinitionTooltipProps} for all available props
20
- * @remarks {@link https://www.payfit.design/24f360409/p/05d163-info-link|Design docs}
20
+ * @remarks [Design docs](https://www.payfit.design/24f360409/p/05d163-info-link)
21
21
  */
22
22
  declare const DefinitionTooltip: import('react').ForwardRefExoticComponent<DefinitionTooltipProps & import('react').RefAttributes<HTMLDivElement>>;
23
23
  export { DefinitionTooltip };
@@ -134,7 +134,7 @@ export interface NumberProps extends VariantProps<typeof numberInput>, Omit<Numb
134
134
  * />
135
135
  * ```
136
136
  * @see {@link NumberProps} for all available props
137
- * @remarks {@link https://www.payfit.design/24f360409/p/545bd2-number-field|Design docs}
137
+ * @remarks [Design docs](https://www.payfit.design/24f360409/p/545bd2-number-field)
138
138
  */
139
139
  declare const NumberInput: import('react').ForwardRefExoticComponent<NumberProps & import('react').RefAttributes<HTMLInputElement>>;
140
140
  export { NumberInput };
@@ -13,6 +13,7 @@ export interface PromoDialogHeroProps extends PropsWithChildren {
13
13
  * a special layout with the hero section on the left (desktop) or top (mobile), and content on the right/bottom.
14
14
  * @param props - The props for the PromoDialogHero component
15
15
  * @param props.children - The hero content, typically an Illustration component
16
+ * @param props.className - An optional class name for the hero container
16
17
  * @example
17
18
  * ```tsx
18
19
  * import { PromoDialog, PromoDialogHero, DialogTitle, DialogContent } from '@payfit/unity-components'
@@ -19,10 +19,12 @@ export interface SelectableCardRadioProps extends Omit<RadioFieldProps, 'childre
19
19
  /**
20
20
  * The `SelectableCardRadio` component renders a selectable card with a radio button.
21
21
  * It is designed to be used within a `SelectableCardRadioGroup` component.
22
+ * @param props - The selectable card properties
22
23
  * @param props.title - The title of the selectable card
23
24
  * @param [props.description] - Optional description text to display below the title
24
25
  * @param [props.illustration] - Optional illustration to display in the card
25
26
  * @param props.value - The value of the radio button, used for selection in the radio group
27
+ * @param props.isDisabled - Whether the selectable card is disabled
26
28
  * @example
27
29
  * ```tsx
28
30
  * import { SelectableCardRadio, SelectableCardRadioGroup } from '@payfit/unity-components'
@@ -39,6 +39,7 @@ interface ErrorParamsWithAction extends Base, WithAction {
39
39
  * @param prop.action (optional) the label of the action
40
40
  * @param prop.actionOnPress (optional) the function to trigger when click on the action
41
41
  * @param prop.duration (optional) to override the toast duration
42
+ * @param prop.datadogPrivacy (optional) the Datadog privacy level for the toast
42
43
  */
43
44
  declare function toast({ title, content, variant, action, actionOnPress, duration, datadogPrivacy, }: SuccessParams | ErrorParams | SuccessParamsWithAction | ErrorParamsWithAction): string;
44
45
  export { toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-components",
3
- "version": "3.1.31",
3
+ "version": "3.1.33",
4
4
  "module": "./dist/esm/index.js",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -103,7 +103,7 @@
103
103
  "@formatjs/intl": "4.1.12",
104
104
  "@internationalized/date": "3.12.4",
105
105
  "minimatch": "10.2.5",
106
- "@payfit/unity-illustrations": "3.1.31",
106
+ "@payfit/unity-illustrations": "3.1.33",
107
107
  "@radix-ui/react-avatar": "1.2.6",
108
108
  "@radix-ui/react-slot": "1.3.3",
109
109
  "@react-aria/interactions": "3.28.1",
@@ -133,8 +133,8 @@
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@hookform/devtools": "4.4.0",
136
- "@payfit/unity-icons": "3.1.31",
137
- "@payfit/unity-themes": "3.1.31",
136
+ "@payfit/unity-icons": "3.1.33",
137
+ "@payfit/unity-themes": "3.1.33",
138
138
  "@storybook/react-vite": "^10",
139
139
  "@tanstack/react-query": "^5",
140
140
  "@tanstack/form-core": "1.33.5",
@@ -157,9 +157,9 @@
157
157
  "@payfit/storybook-addon-console-errors": "0.0.0-use.local",
158
158
  "@payfit/storybook-addon-datadog-rum": "0.0.0-use.local",
159
159
  "@payfit/storybook-config": "0.0.0-use.local",
160
- "@payfit/unity-icons": "3.1.31",
161
- "@payfit/unity-illustrations": "3.1.31",
162
- "@payfit/unity-themes": "3.1.31",
160
+ "@payfit/unity-icons": "3.1.33",
161
+ "@payfit/unity-illustrations": "3.1.33",
162
+ "@payfit/unity-themes": "3.1.33",
163
163
  "@payfit/vite-configs": "0.0.0-use.local",
164
164
  "@storybook/addon-a11y": "10.6.0",
165
165
  "@storybook/addon-designs": "11.1.4",