@payfit/unity-components 2.21.0 → 2.21.2

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.
@@ -1,22 +1,21 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
3
  import { Text as m } from "../../text/Text.js";
4
4
  import { useFieldA11yContext as n } from "../TanstackFormField.context.js";
5
- const d = l(({ children: t, ...e }, a) => {
6
- const r = n();
7
- return /* @__PURE__ */ o(
5
+ const d = l(({ children: e, ...t }, r) => {
6
+ const o = n();
7
+ return /* @__PURE__ */ a(
8
8
  m,
9
9
  {
10
10
  "data-dd-privacy": "allow",
11
- ...e,
12
- id: r.helperTextId || e.id,
11
+ ...t,
12
+ id: o.helperTextId || t.id,
13
13
  "data-unity-slot": "form-field-helper-text",
14
14
  variant: "bodySmall",
15
15
  asElement: "span",
16
16
  color: "content.neutral.low",
17
- className: "uy:leading-[1]!",
18
- ref: a,
19
- children: t
17
+ ref: r,
18
+ children: e
20
19
  }
21
20
  );
22
21
  });
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from '@payfit/unity-themes';
2
2
  import { PropsWithChildren } from 'react';
3
- export declare const funnelPageContent: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-600 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-600 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", unknown, unknown, undefined>>;
3
+ export declare const funnelPageContent: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-400 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-400 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", unknown, unknown, undefined>>;
4
4
  export type FunnelPageContentProps = PropsWithChildren<VariantProps<typeof funnelPageContent>>;
5
5
  /**
6
6
  * The `FunnelPageContent` component provides the main content area of a funnel page.
@@ -29,7 +29,7 @@ export type FunnelPageContentProps = PropsWithChildren<VariantProps<typeof funne
29
29
  * @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
30
30
  * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout-funnelpage-funnelpagecontent--docs unity-components.payfit.io}
31
31
  */
32
- declare const FunnelPageContent: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-600 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-600 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", unknown, unknown, undefined>>> & {
32
+ declare const FunnelPageContent: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-400 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:flex-1 uy:px-300 uy:my-400 uy:md:px-400 uy:group-has-[[data-unity-component=\"FunnelPageHeader\"]]/funnelpage:mt-0", unknown, unknown, undefined>>> & {
33
33
  children?: import('react').ReactNode | undefined;
34
34
  } & import('react').RefAttributes<HTMLElement>>;
35
35
  export { FunnelPageContent };
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as o } from "react";
3
3
  import { uyTv as u } from "@payfit/unity-themes";
4
4
  const m = u({
5
- base: 'uy:flex-1 uy:px-300 uy:my-400 uy:md:px-600 uy:group-has-[[data-unity-component="FunnelPageHeader"]]/funnelpage:mt-0'
5
+ base: 'uy:flex-1 uy:px-300 uy:my-400 uy:md:px-400 uy:group-has-[[data-unity-component="FunnelPageHeader"]]/funnelpage:mt-0'
6
6
  }), r = o(
7
7
  ({ children: n, ...e }, t) => /* @__PURE__ */ a(
8
8
  "section",
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from '@payfit/unity-themes';
2
2
  import { PropsWithChildren } from 'react';
3
- export declare const funnelPageFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-600", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-600", unknown, unknown, undefined>>;
3
+ export declare const funnelPageFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-400", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-400", unknown, unknown, undefined>>;
4
4
  export type FunnelPageFooterProps = PropsWithChildren<VariantProps<typeof funnelPageFooter>>;
5
5
  /**
6
6
  * The `FunnelPageFooter` component provides the footer section of a funnel page.
@@ -30,7 +30,7 @@ export type FunnelPageFooterProps = PropsWithChildren<VariantProps<typeof funnel
30
30
  * @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
31
31
  * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout-funnelpage-funnelpagefooter--docs unity-components.payfit.io}
32
32
  */
33
- declare const FunnelPageFooter: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-600", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-600", unknown, unknown, undefined>>> & {
33
+ declare const FunnelPageFooter: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:px-300 uy:md:px-400", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:px-300 uy:md:px-400", unknown, unknown, undefined>>> & {
34
34
  children?: import('react').ReactNode | undefined;
35
35
  } & import('react').RefAttributes<HTMLElement>>;
36
36
  export { FunnelPageFooter };
@@ -3,7 +3,7 @@ import { forwardRef as n } from "react";
3
3
  import { uyTv as m } from "@payfit/unity-themes";
4
4
  import { useFunnelLayoutContext as u } from "../FunnelLayout.context.js";
5
5
  const d = m({
6
- base: "uy:px-300 uy:md:px-600"
6
+ base: "uy:px-300 uy:md:px-400"
7
7
  }), s = n(
8
8
  ({ children: o, ...e }, t) => {
9
9
  const { ids: r } = u();
@@ -5,7 +5,7 @@ import { Text as n } from "../../text/Text.js";
5
5
  import { useFunnelLayoutContext as x } from "../FunnelLayout.context.js";
6
6
  const b = h({
7
7
  slots: {
8
- base: "uy:flex uy:flex-col uy:justify-between uy:p-300 uy:md:p-600 uy:md:flex-row uy:md:items-center uy:md:rounded-t-300",
8
+ base: "uy:flex uy:flex-col uy:justify-between uy:p-300 uy:md:py-600 uy:md:px-400 uy:md:flex-row uy:md:items-center uy:md:rounded-t-300",
9
9
  hgroup: "uy:space-y-100",
10
10
  figure: "uy:hidden uy:lg:block uy:lg:h-full uy:lg:max-h-[160px] uy:lg:ml-800 uy:lg:mr-150 uy:shrink-0",
11
11
  figcaption: "uy:sr-only"
@@ -9,7 +9,7 @@ const c = d({
9
9
  slots: {
10
10
  base: [
11
11
  "uy:relative uy:flex uy:flex-col uy:shadow-raising uy:bg-surface-neutral",
12
- "uy:md:border uy:md:border-solid uy:md:border-border-neutral uy:md:rounded-200 uy:md:p-400"
12
+ "uy:md:border uy:md:border-solid uy:md:border-border-neutral uy:md:rounded-200 uy:md:p-300"
13
13
  ]
14
14
  }
15
15
  }), b = u(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-components",
3
- "version": "2.21.0",
3
+ "version": "2.21.2",
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.0",
45
+ "@payfit/unity-illustrations": "2.21.2",
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.0",
78
- "@payfit/unity-themes": "2.21.0",
77
+ "@payfit/unity-icons": "2.21.2",
78
+ "@payfit/unity-themes": "2.21.2",
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.0",
99
- "@payfit/unity-illustrations": "2.21.0",
100
- "@payfit/unity-themes": "2.21.0",
98
+ "@payfit/unity-icons": "2.21.2",
99
+ "@payfit/unity-illustrations": "2.21.2",
100
+ "@payfit/unity-themes": "2.21.2",
101
101
  "@payfit/vite-configs": "0.0.0-use.local",
102
102
  "@storybook/addon-a11y": "10.3.2",
103
103
  "@storybook/addon-designs": "11.1.2",