@payfit/unity-components 2.20.3 → 2.21.1
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/floating-action-bar/FloatingActionBar.d.ts +87 -0
- package/dist/esm/components/floating-action-bar/FloatingActionBar.js +68 -0
- package/dist/esm/components/floating-action-bar/figma/FloatingActionBar.figma.d.ts +7 -0
- package/dist/esm/components/page/Page.d.ts +2 -2
- package/dist/esm/components/page/Page.js +13 -9
- package/dist/esm/hooks/use-scroll-direction.d.ts +13 -0
- package/dist/esm/hooks/use-scroll-direction.js +56 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +381 -378
- package/package.json +7 -7
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ReactElement, RefObject } from 'react';
|
|
2
|
+
export declare const floatingActionBar: import('tailwind-variants').TVReturnType<{
|
|
3
|
+
isHidden: {
|
|
4
|
+
true: string;
|
|
5
|
+
false: string;
|
|
6
|
+
};
|
|
7
|
+
reduceMotion: {
|
|
8
|
+
true: string;
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, string[], {
|
|
12
|
+
isHidden: {
|
|
13
|
+
true: string;
|
|
14
|
+
false: string;
|
|
15
|
+
};
|
|
16
|
+
reduceMotion: {
|
|
17
|
+
true: string;
|
|
18
|
+
false: string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
21
|
+
isHidden: {
|
|
22
|
+
true: string;
|
|
23
|
+
false: string;
|
|
24
|
+
};
|
|
25
|
+
reduceMotion: {
|
|
26
|
+
true: string;
|
|
27
|
+
false: string;
|
|
28
|
+
};
|
|
29
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
30
|
+
export interface FloatingActionBarProps {
|
|
31
|
+
/**
|
|
32
|
+
* Accessible label for the toolbar.
|
|
33
|
+
* @default "Page actions"
|
|
34
|
+
*/
|
|
35
|
+
'aria-label'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 1 to 3 action buttons. Exceeding 3 is a type error and triggers a
|
|
38
|
+
* runtime warning in development.
|
|
39
|
+
*/
|
|
40
|
+
children: ReactElement | [ReactElement, ReactElement] | [ReactElement, ReactElement, ReactElement];
|
|
41
|
+
/**
|
|
42
|
+
* Optional explicit scroll container ref. If omitted, the component
|
|
43
|
+
* auto-detects the nearest scrollable ancestor.
|
|
44
|
+
*/
|
|
45
|
+
scrollContainerRef?: RefObject<Element | null>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* `FloatingActionBar` renders a fixed-bottom action bar on mobile viewports (`xs` and `sm`).
|
|
49
|
+
* On `md` and larger breakpoints the component renders `null`.
|
|
50
|
+
* The bar hides when the user scrolls down and reappears when they scroll up.
|
|
51
|
+
* It always snaps back into view when the user reaches the bottom of the page,
|
|
52
|
+
* ensuring actions are accessible regardless of scroll position.
|
|
53
|
+
* When placed inside a `Page` component, the page automatically adds bottom padding
|
|
54
|
+
* via `:has([data-unity-fab])` so content is never hidden behind the bar.
|
|
55
|
+
* When `prefers-reduced-motion: reduce` is active, the bar stays always visible and
|
|
56
|
+
* no CSS transitions are applied.
|
|
57
|
+
* @param props.aria-label - Accessible label for the toolbar. Announced by screen readers
|
|
58
|
+
* when the FAB receives focus. Defaults to `"Page actions"`.
|
|
59
|
+
* @param props.children - 1 to 3 `Button` components rendered full-width and stacked
|
|
60
|
+
* vertically. Passing more than 3 is a TypeScript type error.
|
|
61
|
+
* @param props.scrollContainerRef - Optional explicit scroll container ref. If omitted,
|
|
62
|
+
* the component auto-detects the nearest scrollable ancestor.
|
|
63
|
+
* @example
|
|
64
|
+
* ```tsx
|
|
65
|
+
* // Single primary action
|
|
66
|
+
* <FloatingActionBar aria-label="Page actions">
|
|
67
|
+
* <Button variant="primary" size="full">Request leave</Button>
|
|
68
|
+
* </FloatingActionBar>
|
|
69
|
+
*
|
|
70
|
+
* // Two stacked actions
|
|
71
|
+
* <FloatingActionBar aria-label="Page actions">
|
|
72
|
+
* <Button variant="primary" size="full">Save changes</Button>
|
|
73
|
+
* <Button variant="secondary" size="full">Cancel</Button>
|
|
74
|
+
* </FloatingActionBar>
|
|
75
|
+
* ```
|
|
76
|
+
* @remarks
|
|
77
|
+
* - Always provide an `aria-label` that describes the toolbar's purpose to screen reader users.
|
|
78
|
+
* - Buttons passed as children should use `size="full"` to fill the available width.
|
|
79
|
+
* - Place the component as the last child of a `Page` to get automatic bottom-padding.
|
|
80
|
+
* - For a custom scroll container (e.g. a modal body), pass a `scrollContainerRef` to
|
|
81
|
+
* opt out of ancestor auto-detection.
|
|
82
|
+
* @see {@link FloatingActionBarProps} for all available props
|
|
83
|
+
* @see Source code in {@link https://github.com/PayFit/hr-apps/blob/master/libs/shared/unity/components/src/components/floating-action-bar GitHub}
|
|
84
|
+
* @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/component-reference-floatingactionbar--docs unity-components.payfit.io}
|
|
85
|
+
*/
|
|
86
|
+
declare const FloatingActionBar: import('react').ForwardRefExoticComponent<FloatingActionBarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
87
|
+
export { FloatingActionBar };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g, useState as v, useCallback as r } from "react";
|
|
3
|
+
import { uyTv as x } from "@payfit/unity-themes";
|
|
4
|
+
import { Toolbar as B } from "react-aria-components";
|
|
5
|
+
import { useBreakpointListener as k, isDesktopBreakpoint as F } from "../../hooks/use-breakpoint-listener.js";
|
|
6
|
+
import { useMediaQuery as M } from "../../hooks/use-media-query.js";
|
|
7
|
+
import { useScrollDirection as h } from "../../hooks/use-scroll-direction.js";
|
|
8
|
+
const R = x({
|
|
9
|
+
base: [
|
|
10
|
+
"uy:fixed uy:bottom-0 uy:left-0 uy:right-0 uy:z-20",
|
|
11
|
+
"uy:flex uy:flex-col uy:gap-125",
|
|
12
|
+
"uy:px-200 uy:pt-300",
|
|
13
|
+
// Safe-area bottom padding — at least spacing-100
|
|
14
|
+
"uy:pb-[max(env(safe-area-inset-bottom),var(--uy-spacing-100))]",
|
|
15
|
+
// Gradient: transparent at top → surface-neutral at 14% → solid for the rest
|
|
16
|
+
"uy:bg-linear-to-b uy:from-surface-neutral/0 uy:from-0% uy:via-surface-neutral uy:via-9% uy:to-surface-neutral uy:to-100%"
|
|
17
|
+
],
|
|
18
|
+
variants: {
|
|
19
|
+
isHidden: {
|
|
20
|
+
true: "uy:translate-y-full uy:focus-within:translate-0",
|
|
21
|
+
false: "uy:translate-y-0"
|
|
22
|
+
},
|
|
23
|
+
reduceMotion: {
|
|
24
|
+
true: "",
|
|
25
|
+
false: "uy:transition-transform uy:duration-300 uy:ease-in-out"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
isHidden: !1,
|
|
30
|
+
reduceMotion: !1
|
|
31
|
+
}
|
|
32
|
+
}), w = g(
|
|
33
|
+
({ children: n, "aria-label": s = "Page actions", scrollContainerRef: l }, e) => {
|
|
34
|
+
const c = k(), a = M(
|
|
35
|
+
"(prefers-reduced-motion: reduce)"
|
|
36
|
+
), [i, f] = h(l), [y, u] = v(!1), t = !a && !y && f === "down", d = r(() => {
|
|
37
|
+
t && u(!0);
|
|
38
|
+
}, [t]), m = r(() => {
|
|
39
|
+
u(!1);
|
|
40
|
+
}, []), p = r(
|
|
41
|
+
(o) => {
|
|
42
|
+
i.current = o, typeof e == "function" ? e(o) : e && (e.current = o);
|
|
43
|
+
},
|
|
44
|
+
[i, e]
|
|
45
|
+
);
|
|
46
|
+
return F(c) ? null : /* @__PURE__ */ b(
|
|
47
|
+
B,
|
|
48
|
+
{
|
|
49
|
+
ref: p,
|
|
50
|
+
"data-unity-fab": !0,
|
|
51
|
+
"aria-label": s,
|
|
52
|
+
orientation: "vertical",
|
|
53
|
+
className: R({
|
|
54
|
+
isHidden: t,
|
|
55
|
+
reduceMotion: a
|
|
56
|
+
}),
|
|
57
|
+
onFocus: d,
|
|
58
|
+
onBlur: m,
|
|
59
|
+
children: n
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
w.displayName = "FloatingActionBar";
|
|
65
|
+
export {
|
|
66
|
+
w as FloatingActionBar,
|
|
67
|
+
R as floatingActionBar
|
|
68
|
+
};
|
|
@@ -5,7 +5,7 @@ export declare const page: import('tailwind-variants').TVReturnType<{
|
|
|
5
5
|
default: string[];
|
|
6
6
|
legacy__midnight: string[];
|
|
7
7
|
};
|
|
8
|
-
}, undefined,
|
|
8
|
+
}, undefined, string[], {
|
|
9
9
|
variant: {
|
|
10
10
|
default: string[];
|
|
11
11
|
legacy__midnight: string[];
|
|
@@ -15,7 +15,7 @@ export declare const page: import('tailwind-variants').TVReturnType<{
|
|
|
15
15
|
default: string[];
|
|
16
16
|
legacy__midnight: string[];
|
|
17
17
|
};
|
|
18
|
-
}, undefined,
|
|
18
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
19
19
|
export interface PageProps extends PropsWithChildren {
|
|
20
20
|
/**
|
|
21
21
|
* The variant of the page.
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { uyTv as
|
|
4
|
-
const
|
|
5
|
-
base:
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as e } from "react";
|
|
3
|
+
import { uyTv as m } from "@payfit/unity-themes";
|
|
4
|
+
const o = m({
|
|
5
|
+
base: [
|
|
6
|
+
"uy:min-h-dvh uy:flex uy:flex-col uy:gap-400",
|
|
7
|
+
// When a FloatingActionBar is present add safe scroll space on mobile
|
|
8
|
+
"uy:[&:has([data-unity-fab])]:pb-[200px] uy:[&:has([data-unity-fab])]:md:pb-0"
|
|
9
|
+
],
|
|
6
10
|
variants: {
|
|
7
11
|
variant: {
|
|
8
12
|
default: [
|
|
@@ -22,10 +26,10 @@ const t = o({
|
|
|
22
26
|
defaultVariants: {
|
|
23
27
|
variant: "default"
|
|
24
28
|
}
|
|
25
|
-
}), l =
|
|
29
|
+
}), l = e(
|
|
26
30
|
({ children: r, variant: a, ...u }, d) => {
|
|
27
|
-
const y =
|
|
28
|
-
return /* @__PURE__ */
|
|
31
|
+
const y = o({ variant: a });
|
|
32
|
+
return /* @__PURE__ */ t(
|
|
29
33
|
"main",
|
|
30
34
|
{
|
|
31
35
|
...u,
|
|
@@ -41,5 +45,5 @@ const t = o({
|
|
|
41
45
|
l.displayName = "Page";
|
|
42
46
|
export {
|
|
43
47
|
l as Page,
|
|
44
|
-
|
|
48
|
+
o as page
|
|
45
49
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MutableRefObject, RefObject } from 'react';
|
|
2
|
+
export type ScrollDirection = 'up' | 'down' | 'idle';
|
|
3
|
+
/**
|
|
4
|
+
* Detects the scroll direction from the nearest scrollable ancestor.
|
|
5
|
+
* @param scrollContainerRef - Optional explicit scroll container. If omitted, the
|
|
6
|
+
* hook walks the DOM from the returned `elementRef` to find the nearest scrollable
|
|
7
|
+
* ancestor, falling back to `window`.
|
|
8
|
+
* @returns A tuple of `[elementRef, direction]`. Attach `elementRef` to the
|
|
9
|
+
* component's root element to enable auto-detection.
|
|
10
|
+
* @remarks
|
|
11
|
+
* - When `prefers-reduced-motion` is active, direction is always `'idle'`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useScrollDirection(scrollContainerRef?: RefObject<Element | null>): [MutableRefObject<Element | null>, ScrollDirection];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { useState as m, useRef as s, useEffect as a } from "react";
|
|
2
|
+
import { useMediaQuery as S } from "./use-media-query.js";
|
|
3
|
+
const f = 10;
|
|
4
|
+
function E(r) {
|
|
5
|
+
let e = r.parentElement;
|
|
6
|
+
for (; e; ) {
|
|
7
|
+
const c = getComputedStyle(e).overflowY;
|
|
8
|
+
if (c === "auto" || c === "scroll")
|
|
9
|
+
return e;
|
|
10
|
+
e = e.parentElement;
|
|
11
|
+
}
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
function p(r) {
|
|
15
|
+
return r === window ? window.scrollY : r.scrollTop;
|
|
16
|
+
}
|
|
17
|
+
function h(r) {
|
|
18
|
+
if (r === window)
|
|
19
|
+
return window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 1;
|
|
20
|
+
const e = r;
|
|
21
|
+
return e.scrollTop + e.clientHeight >= e.scrollHeight - 1;
|
|
22
|
+
}
|
|
23
|
+
function T(r) {
|
|
24
|
+
const e = S("(prefers-reduced-motion: reduce)"), [c, u] = m("idle"), i = s(null), l = s(0), t = s(0);
|
|
25
|
+
return a(() => {
|
|
26
|
+
if (e) {
|
|
27
|
+
u("idle");
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const o = (() => {
|
|
31
|
+
if (r?.current) return r.current;
|
|
32
|
+
if (i.current) {
|
|
33
|
+
const n = E(i.current);
|
|
34
|
+
if (n) return n;
|
|
35
|
+
}
|
|
36
|
+
return window;
|
|
37
|
+
})();
|
|
38
|
+
l.current = p(o), t.current = 0;
|
|
39
|
+
const d = () => {
|
|
40
|
+
const n = p(o);
|
|
41
|
+
if (n < 0) return;
|
|
42
|
+
if (h(o)) {
|
|
43
|
+
t.current = 0, l.current = n, u("up");
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const w = n - l.current;
|
|
47
|
+
t.current += w, l.current = n, t.current > f ? (t.current = 0, u("down")) : t.current < -f && (t.current = 0, u("up"));
|
|
48
|
+
};
|
|
49
|
+
return o.addEventListener("scroll", d, { passive: !0 }), () => {
|
|
50
|
+
o.removeEventListener("scroll", d);
|
|
51
|
+
};
|
|
52
|
+
}, [e, r]), [i, e ? "idle" : c];
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
T as useScrollDirection
|
|
56
|
+
};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export * from './components/error-state/ErrorState.js';
|
|
|
72
72
|
export * from './components/fieldset/Fieldset.js';
|
|
73
73
|
export * from './components/fieldset/parts/FieldGroup.js';
|
|
74
74
|
export * from './components/filter/Filter.js';
|
|
75
|
+
export * from './components/floating-action-bar/FloatingActionBar.js';
|
|
75
76
|
export * from './components/filter-toolbar/FilterToolbar.js';
|
|
76
77
|
export * from './components/flex/Flex.js';
|
|
77
78
|
export * from './components/flex/Flex.variants.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -72,159 +72,160 @@ import { ErrorState as Ye, errorState as Ze } from "./components/error-state/Err
|
|
|
72
72
|
import { Fieldset as or, fieldset as er } from "./components/fieldset/Fieldset.js";
|
|
73
73
|
import { FieldGroup as tr } from "./components/fieldset/parts/FieldGroup.js";
|
|
74
74
|
import { Filter as ar, FilterControls as mr, FilterLabels as xr, filterContainer as nr, filterDismissButton as fr } from "./components/filter/Filter.js";
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
75
|
+
import { FloatingActionBar as lr, floatingActionBar as ur } from "./components/floating-action-bar/FloatingActionBar.js";
|
|
76
|
+
import { FilterToolbar as cr, filterToolbar as sr } from "./components/filter-toolbar/FilterToolbar.js";
|
|
77
|
+
import { Flex as Sr, Stack as br } from "./components/flex/Flex.js";
|
|
78
|
+
import { flex as Cr, flexItem as Fr } from "./components/flex/Flex.variants.js";
|
|
79
|
+
import { FlexItem as Br, StackItem as Ar } from "./components/flex/FlexItem.js";
|
|
80
|
+
import { Form as Rr } from "./components/form/Form.js";
|
|
81
|
+
import { FullPageLoader as wr, fullPageLoader as Gr } from "./components/full-page-loader/FullPageLoader.js";
|
|
82
|
+
import { FunnelLayout as yr, funnelLayout as Dr } from "./components/funnel-layout/FunnelLayout.js";
|
|
83
|
+
import { FunnelBody as Er, funnelBody as vr } from "./components/funnel-layout/parts/FunnelBody.js";
|
|
84
|
+
import { FunnelPage as Nr, funnelPage as Hr } from "./components/funnel-layout/parts/FunnelPage.js";
|
|
85
|
+
import { FunnelPageAction as Vr } from "./components/funnel-layout/parts/FunnelPageAction.js";
|
|
86
|
+
import { FunnelPageActions as Ur, funnelPageActions as Kr } from "./components/funnel-layout/parts/FunnelPageActions.js";
|
|
87
|
+
import { FunnelPageContent as Wr, funnelPageContent as qr } from "./components/funnel-layout/parts/FunnelPageContent.js";
|
|
88
|
+
import { FunnelBackButton as Xr } from "./components/funnel-layout/parts/FunnelBackButton.js";
|
|
89
|
+
import { FunnelPageFooter as zr, funnelPageFooter as Yr } from "./components/funnel-layout/parts/FunnelPageFooter.js";
|
|
90
|
+
import { FunnelPageHeader as $r, funnelPageHeader as ot } from "./components/funnel-layout/parts/FunnelPageHeader.js";
|
|
91
|
+
import { FunnelSidebar as rt, funnelSidebar as tt } from "./components/funnel-layout/parts/FunnelSidebar.js";
|
|
92
|
+
import { FunnelTopBar as at, funnelTopBar as mt } from "./components/funnel-layout/parts/FunnelTopBar.js";
|
|
93
|
+
import { Grid as nt } from "./components/grid/Grid.js";
|
|
94
|
+
import { grid as it, gridItem as lt } from "./components/grid/Grid.variants.js";
|
|
95
|
+
import { GridItem as dt } from "./components/grid/GridItem.js";
|
|
96
|
+
import { IconButton as st } from "./components/icon-button/IconButton.js";
|
|
97
|
+
import { CircularIconButton as St, circularIconButton as bt } from "./components/icon-button/CircularIconButton.js";
|
|
98
|
+
import { Icon as Ct } from "./components/icon/Icon.js";
|
|
99
|
+
import { Input as Pt } from "./components/input/Input.js";
|
|
100
|
+
import { Label as At } from "./components/label/Label.js";
|
|
101
|
+
import { RawLink as Rt, link as It } from "./components/link/RawLink.js";
|
|
102
|
+
import { ListView as Gt } from "./components/list-view/ListView.js";
|
|
103
|
+
import { RawListViewItem as yt, listViewItem as Dt } from "./components/list-view/parts/RawListViewItem.js";
|
|
104
|
+
import { ListViewSection as Et, listViewSection as vt } from "./components/list-view/parts/ListViewSection.js";
|
|
105
|
+
import { ListViewItemLabel as Nt } from "./components/list-view/parts/ListViewItemLabel.js";
|
|
106
|
+
import { ListViewItemText as Ot } from "./components/list-view/parts/ListViewItemText.js";
|
|
107
|
+
import { Menu as _t } from "./components/menu/Menu.js";
|
|
108
|
+
import { MenuContent as Kt } from "./components/menu/parts/MenuContent.js";
|
|
109
|
+
import { MenuHeader as Wt } from "./components/menu/parts/MenuHeader.js";
|
|
110
|
+
import { RawMenuItem as Jt } from "./components/menu/parts/RawMenuItem.js";
|
|
111
|
+
import { MenuSeparator as jt } from "./components/menu/parts/MenuSeparator.js";
|
|
112
|
+
import { MenuTrigger as Yt } from "./components/menu/parts/MenuTrigger.js";
|
|
113
|
+
import { MultiSelect as $t } from "./components/multi-select/MultiSelect.js";
|
|
114
|
+
import { MultiSelectOptGroup as ep } from "./components/multi-select/parts/MultiSelectOptGroup.js";
|
|
115
|
+
import { MultiSelectOption as tp } from "./components/multi-select/parts/MultiSelectOption.js";
|
|
116
|
+
import { Nav as ap } from "./components/nav/Nav.js";
|
|
117
|
+
import { NavGroup as xp } from "./components/nav/parts/NavGroup.js";
|
|
118
|
+
import { RawNavItem as fp, navItemBase as ip } from "./components/nav/parts/RawNavItem.js";
|
|
119
|
+
import { RawNavigationCard as up } from "./components/navigation-card/NavigationCard.js";
|
|
120
|
+
import { NavigationCardGroup as cp, navigationCardGroup as sp } from "./components/navigation-card/parts/NavigationCardGroup.js";
|
|
121
|
+
import { NavigationCardLabel as Sp } from "./components/navigation-card/parts/NavigationCardLabel.js";
|
|
122
|
+
import { NavigationCardDescription as Tp } from "./components/navigation-card/parts/NavigationCardDescription.js";
|
|
123
|
+
import { NumberInput as Fp, numberInput as Pp } from "./components/number-input/NumberInput.js";
|
|
124
|
+
import { Page as Ap, page as kp } from "./components/page/Page.js";
|
|
125
|
+
import { PageHeader as Ip, pageHeader as wp } from "./components/page/parts/PageHeader.js";
|
|
126
|
+
import { PageHeading as hp } from "./components/page/parts/PageHeading.js";
|
|
127
|
+
import { Pagination as Dp, pagination as Lp } from "./components/pagination/Pagination.js";
|
|
128
|
+
import { PaginationContent as vp, paginationContent as Mp } from "./components/pagination/parts/PaginationContent.js";
|
|
129
|
+
import { PaginationItem as Hp } from "./components/pagination/parts/PaginationItem.js";
|
|
130
|
+
import { RawPaginationLink as Vp, paginationLink as _p } from "./components/pagination/parts/RawPaginationLink.js";
|
|
131
|
+
import { RawPaginationPrevious as Kp } from "./components/pagination/parts/RawPaginationPrevious.js";
|
|
132
|
+
import { RawPaginationNext as Wp } from "./components/pagination/parts/RawPaginationNext.js";
|
|
133
|
+
import { PaginationEllipsis as Jp } from "./components/pagination/parts/PaginationEllipsis.js";
|
|
134
|
+
import { usePaginationWindow as jp } from "./components/pagination/hooks/use-pagination-window.js";
|
|
135
|
+
import { usePaginationState as Yp } from "./components/pagination/hooks/use-pagination-state.js";
|
|
136
|
+
import { PayFitBrand as $p } from "./components/payfit-brand/PayFitBrand.js";
|
|
137
|
+
import { PayFitBrandPreprod as ea } from "./components/payfit-brand/PayFitPreprod.js";
|
|
138
|
+
import { PhoneNumberInput as ta } from "./components/phone-number/PhoneNumberInput.js";
|
|
139
|
+
import { Pill as aa } from "./components/pill/Pill.js";
|
|
140
|
+
import { Popover as xa } from "./components/popover/Popover.js";
|
|
141
|
+
import { ProgressBar as fa } from "./components/progress-bar/ProgressBar.js";
|
|
142
|
+
import { RadioButtonGroup as la } from "./components/radio-button-group/RadioButtonGroup.js";
|
|
143
|
+
import { RadioButton as da, radioButton as ca } from "./components/radio-button-group/parts/RadioButton.js";
|
|
144
|
+
import { RadioButtonHelper as ga } from "./components/radio-button-group/parts/RadioButtonHelper.js";
|
|
145
|
+
import { Search as ba, search as Ta } from "./components/search/Search.js";
|
|
146
|
+
import { SegmentedButtonGroup as Fa } from "./components/segmented-button-group/SegmentedButtonGroup.js";
|
|
147
|
+
import { ToggleButton as Ba } from "./components/segmented-button-group/parts/ToggleButton.js";
|
|
148
|
+
import { SelectableButtonGroup as ka, selectableButtonGroup as Ra } from "./components/selectable-button-group/SelectableButtonGroup.js";
|
|
149
|
+
import { SelectableButton as wa, selectableButton as Ga } from "./components/selectable-button-group/parts/SelectableButton.js";
|
|
150
|
+
import { SelectableCardCheckboxGroup as ya } from "./components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js";
|
|
151
|
+
import { SelectableCardCheckbox as La } from "./components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js";
|
|
152
|
+
import { SelectableCardRadioGroup as va } from "./components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js";
|
|
153
|
+
import { SelectableCardRadio as Na } from "./components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js";
|
|
154
|
+
import { Select as Oa } from "./components/select/Select.js";
|
|
155
|
+
import { SelectButton as _a } from "./components/select/parts/SelectButton.js";
|
|
156
|
+
import { SelectOption as Ka } from "./components/select/parts/SelectOption.js";
|
|
157
|
+
import { SelectOptionGroup as Wa } from "./components/select/parts/SelectOptionGroup.js";
|
|
158
|
+
import { SelectOptionHelper as Ja } from "./components/select/parts/SelectOptionHelper.js";
|
|
159
|
+
import { SidePanel as ja, sidePanel as za } from "./components/side-panel/SidePanel.js";
|
|
160
|
+
import { SidePanelContent as Za, sidePanelContent as $a } from "./components/side-panel/parts/SidePanelContent.js";
|
|
161
|
+
import { SidePanelFooter as em, sidePanelFooter as rm } from "./components/side-panel/parts/SidePanelFooter.js";
|
|
162
|
+
import { SidePanelHeader as pm, sidePanelHeader as am } from "./components/side-panel/parts/SidePanelHeader.js";
|
|
163
|
+
import { SkipLink as xm, SkipLinks as nm } from "./components/skip-links/SkipLinks.js";
|
|
164
|
+
import { Spinner as im } from "./components/spinner/Spinner.js";
|
|
165
|
+
import { Table as um, TableRoot as dm } from "./components/table/Table.js";
|
|
166
|
+
import { TableBody as sm, tableBody as gm } from "./components/table/parts/TableBody.js";
|
|
167
|
+
import { TableCell as bm, tableCell as Tm } from "./components/table/parts/TableCell.js";
|
|
168
|
+
import { TableColumnHeader as Fm, tableColumnHeader as Pm } from "./components/table/parts/TableColumnHeader.js";
|
|
169
|
+
import { TableEmptyState as Am, TableEmptyStateError as km, TableEmptyStateLoading as Rm, TableEmptyStateNoData as Im, TableEmptyStateText as wm, TableNoSearchResults as Gm, tableEmptyState as hm } from "./components/table/parts/TableEmptyState.js";
|
|
170
|
+
import { TableHeader as Dm, tableHeader as Lm } from "./components/table/parts/TableHeader.js";
|
|
171
|
+
import { TablePagination as vm, tablePagination as Mm } from "./components/table/parts/TablePagination.js";
|
|
172
|
+
import { TableRow as Hm, tableRow as Om } from "./components/table/parts/TableRow.js";
|
|
173
|
+
import { Tabs as _m } from "./components/tabs/Tabs.js";
|
|
174
|
+
import { RawTab as Km } from "./components/tabs/parts/RawTab.js";
|
|
175
|
+
import { TabList as Wm } from "./components/tabs/parts/TabList.js";
|
|
176
|
+
import { TabPanel as Jm } from "./components/tabs/parts/TabPanel.js";
|
|
177
|
+
import { TaskMenu as jm, taskMenu as zm } from "./components/task-menu/TaskMenu.js";
|
|
178
|
+
import { RawSubTask as Zm, rawSubTask as $m } from "./components/task-menu/parts/RawSubTask.js";
|
|
179
|
+
import { RawTask as ex, rawTask as rx } from "./components/task-menu/parts/RawTask.js";
|
|
180
|
+
import { TaskGroup as px } from "./components/task-menu/parts/TaskGroup.js";
|
|
181
|
+
import { TextArea as mx, textArea as xx } from "./components/text-area/TextArea.js";
|
|
182
|
+
import { Text as fx } from "./components/text/Text.js";
|
|
183
|
+
import { text as lx } from "./components/text/Text.variants.js";
|
|
184
|
+
import { Timeline as dx } from "./components/timeline/Timeline.js";
|
|
185
|
+
import { TimelineStep as sx } from "./components/timeline/parts/TimelineStep.js";
|
|
186
|
+
import { TimelineStepHeader as Sx } from "./components/timeline/parts/TimelineStepHeader.js";
|
|
187
|
+
import { TimelineStepDescription as Tx } from "./components/timeline/parts/TimelineStepDescription.js";
|
|
188
|
+
import { TOAST_CONFIG as Fx, ToastManager as Px } from "./components/toast/ToastManager.js";
|
|
189
|
+
import { toast as Ax } from "./components/toast/toast.js";
|
|
190
|
+
import { ToggleSwitchGroup as Rx, toggleSwitchGroup as Ix } from "./components/toggle-switch-group/ToggleSwitchGroup.js";
|
|
191
|
+
import { ToggleSwitch as Gx, toggleSwitch as hx } from "./components/toggle-switch/ToggleSwitch.js";
|
|
192
|
+
import { Tooltip as Dx } from "./components/tooltip/Tooltip.js";
|
|
193
|
+
import { DESKTOP_BREAKPOINTS as Ex, MOBILE_BREAKPOINTS as vx, isDesktopBreakpoint as Mx, isMobileBreakpoint as Nx, useBreakpointListener as Hx } from "./hooks/use-breakpoint-listener.js";
|
|
194
|
+
import { useContainerQueryLevel as Vx } from "./hooks/use-container-query-level.js";
|
|
195
|
+
import { useMediaQuery as Ux } from "./hooks/use-media-query.js";
|
|
196
|
+
import { useUnityForm as Qx } from "./hooks/use-form.js";
|
|
197
|
+
import { CheckboxField as qx } from "./components/checkbox-field/CheckboxField.js";
|
|
198
|
+
import { CheckboxGroupField as Xx } from "./components/checkbox-group-field/CheckboxGroupField.js";
|
|
199
|
+
import { DatePickerField as zx } from "./components/date-picker-field/DatePickerField.js";
|
|
200
|
+
import { FormField as Zx } from "./components/form-field/FormField.js";
|
|
201
|
+
import { RawFormContextualLink as on } from "./components/form-field/parts/RawFormContextualLink.js";
|
|
202
|
+
import { FormControl as rn } from "./components/form-field/parts/FormControl.js";
|
|
203
|
+
import { FormFeedbackText as pn } from "./components/form-field/parts/FormFeedbackText.js";
|
|
204
|
+
import { FormHelperText as mn } from "./components/form-field/parts/FormHelperText.js";
|
|
205
|
+
import { FormLabel as nn } from "./components/form-field/parts/FormLabel.js";
|
|
206
|
+
import { MultiSelectField as ln } from "./components/multi-select-field/MultiSelectField.js";
|
|
207
|
+
import { NumberField as dn, numberField as cn } from "./components/number-field/NumberField.js";
|
|
208
|
+
import { RadioButtonGroupField as gn } from "./components/radio-button-group-field/RadioButtonGroupField.js";
|
|
209
|
+
import { SelectableButtonGroupField as bn } from "./components/selectable-button-group-field/SelectableButtonGroupField.js";
|
|
210
|
+
import { SelectableCardCheckboxGroupField as Cn } from "./components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.js";
|
|
211
|
+
import { SelectableCardRadioGroupField as Pn } from "./components/selectable-card-radio-group-field/SelectableCardRadioGroupField.js";
|
|
212
|
+
import { SelectField as An } from "./components/select-field/SelectField.js";
|
|
213
|
+
import { TextField as Rn } from "./components/text-field/TextField.js";
|
|
214
|
+
import { ToggleSwitchField as wn } from "./components/toggle-switch-field/ToggleSwitchField.js";
|
|
215
|
+
import { ToggleSwitchGroupField as hn } from "./components/toggle-switch-group-field/ToggleSwitchGroupField.js";
|
|
216
|
+
import { useTanstackUnityForm as Dn, withFieldGroup as Ln, withForm as En } from "./hooks/use-tanstack-form.js";
|
|
217
|
+
import { useFieldContext as Mn, useFormContext as Nn } from "./hooks/tanstack-form-context.js";
|
|
218
|
+
import { useFieldA11yContext as On } from "./components/form-field/TanstackFormField.context.js";
|
|
219
|
+
import { fieldRevalidateLogic as _n } from "./utils/field-revalidate-logic.js";
|
|
220
|
+
import { NoopRouterProvider as Kn, RouterProvider as Qn, useRouter as Wn } from "./providers/router/RouterProvider.js";
|
|
221
|
+
import { Carousel as Jn, carousel as Xn } from "./components/carousel/Carousel.js";
|
|
222
|
+
import { CarouselHeader as zn, carouselHeader as Yn } from "./components/carousel/parts/CarouselHeader.js";
|
|
223
|
+
import { CarouselNav as $n, carouselNav as of } from "./components/carousel/parts/CarouselNav.js";
|
|
224
|
+
import { CarouselContent as rf, carouselContent as tf } from "./components/carousel/parts/CarouselContent.js";
|
|
225
|
+
import { CarouselSlide as af, carouselSlide as mf } from "./components/carousel/parts/CarouselSlide.js";
|
|
226
|
+
import { DialogTrigger as nf, DialogTrigger as ff } from "react-aria-components";
|
|
227
|
+
import { FilterAdapters as uf } from "./components/filter-toolbar/utils/filter-adapters.js";
|
|
228
|
+
import { useAsyncList as cf } from "react-stately";
|
|
228
229
|
export {
|
|
229
230
|
p as ActionBar,
|
|
230
231
|
m as ActionBarAction,
|
|
@@ -264,34 +265,34 @@ export {
|
|
|
264
265
|
wo as Card,
|
|
265
266
|
Lo as CardContent,
|
|
266
267
|
yo as CardTitle,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
Jn as Carousel,
|
|
269
|
+
rf as CarouselContent,
|
|
270
|
+
zn as CarouselHeader,
|
|
271
|
+
$n as CarouselNav,
|
|
272
|
+
af as CarouselSlide,
|
|
272
273
|
Ho as Checkbox,
|
|
273
|
-
|
|
274
|
+
qx as CheckboxField,
|
|
274
275
|
vo as CheckboxGroup,
|
|
275
|
-
|
|
276
|
+
Xx as CheckboxGroupField,
|
|
276
277
|
Vo as CheckboxStandalone,
|
|
277
|
-
|
|
278
|
+
St as CircularIconButton,
|
|
278
279
|
Uo as Collapsible,
|
|
279
280
|
Qo as CollapsibleContent,
|
|
280
281
|
qo as CollapsibleTitle,
|
|
281
|
-
|
|
282
|
+
Ex as DESKTOP_BREAKPOINTS,
|
|
282
283
|
Xo as DataTable,
|
|
283
284
|
$o as DataTableBulkActions,
|
|
284
285
|
zo as DataTableRoot,
|
|
285
286
|
ee as DateCalendar,
|
|
286
287
|
te as DatePicker,
|
|
287
|
-
|
|
288
|
+
zx as DatePickerField,
|
|
288
289
|
ae as DefinitionTooltip,
|
|
289
290
|
xe as Dialog,
|
|
290
291
|
ie as DialogActions,
|
|
291
292
|
ue as DialogButton,
|
|
292
293
|
ce as DialogContent,
|
|
293
294
|
ge as DialogTitle,
|
|
294
|
-
|
|
295
|
+
nf as DialogTrigger,
|
|
295
296
|
ye as EmptyState,
|
|
296
297
|
Ne as EmptyStateActions,
|
|
297
298
|
ve as EmptyStateContent,
|
|
@@ -306,156 +307,157 @@ export {
|
|
|
306
307
|
tr as FieldGroup,
|
|
307
308
|
or as Fieldset,
|
|
308
309
|
ar as Filter,
|
|
309
|
-
|
|
310
|
+
uf as FilterAdapters,
|
|
310
311
|
mr as FilterControls,
|
|
311
312
|
xr as FilterLabels,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
Nr as
|
|
327
|
-
|
|
328
|
-
Ur as
|
|
329
|
-
|
|
330
|
-
zr as
|
|
331
|
-
$r as
|
|
332
|
-
rt as
|
|
333
|
-
at as
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
cp as
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
Fp as
|
|
362
|
-
Ap as
|
|
363
|
-
Ip as
|
|
364
|
-
|
|
365
|
-
Dp as
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
313
|
+
cr as FilterToolbar,
|
|
314
|
+
Sr as Flex,
|
|
315
|
+
Br as FlexItem,
|
|
316
|
+
lr as FloatingActionBar,
|
|
317
|
+
Rr as Form,
|
|
318
|
+
rn as FormControl,
|
|
319
|
+
pn as FormFeedbackText,
|
|
320
|
+
Zx as FormField,
|
|
321
|
+
mn as FormHelperText,
|
|
322
|
+
nn as FormLabel,
|
|
323
|
+
wr as FullPageLoader,
|
|
324
|
+
Xr as FunnelBackButton,
|
|
325
|
+
Er as FunnelBody,
|
|
326
|
+
yr as FunnelLayout,
|
|
327
|
+
Nr as FunnelPage,
|
|
328
|
+
Vr as FunnelPageAction,
|
|
329
|
+
Ur as FunnelPageActions,
|
|
330
|
+
Wr as FunnelPageContent,
|
|
331
|
+
zr as FunnelPageFooter,
|
|
332
|
+
$r as FunnelPageHeader,
|
|
333
|
+
rt as FunnelSidebar,
|
|
334
|
+
at as FunnelTopBar,
|
|
335
|
+
nt as Grid,
|
|
336
|
+
dt as GridItem,
|
|
337
|
+
Ct as Icon,
|
|
338
|
+
st as IconButton,
|
|
339
|
+
Pt as Input,
|
|
340
|
+
At as Label,
|
|
341
|
+
Gt as ListView,
|
|
342
|
+
Nt as ListViewItemLabel,
|
|
343
|
+
Ot as ListViewItemText,
|
|
344
|
+
Et as ListViewSection,
|
|
345
|
+
vx as MOBILE_BREAKPOINTS,
|
|
346
|
+
_t as Menu,
|
|
347
|
+
Kt as MenuContent,
|
|
348
|
+
Wt as MenuHeader,
|
|
349
|
+
jt as MenuSeparator,
|
|
350
|
+
Yt as MenuTrigger,
|
|
351
|
+
$t as MultiSelect,
|
|
352
|
+
ln as MultiSelectField,
|
|
353
|
+
ep as MultiSelectOptGroup,
|
|
354
|
+
tp as MultiSelectOption,
|
|
355
|
+
ap as Nav,
|
|
356
|
+
xp as NavGroup,
|
|
357
|
+
Tp as NavigationCardDescription,
|
|
358
|
+
cp as NavigationCardGroup,
|
|
359
|
+
Sp as NavigationCardLabel,
|
|
360
|
+
Kn as NoopRouterProvider,
|
|
361
|
+
dn as NumberField,
|
|
362
|
+
Fp as NumberInput,
|
|
363
|
+
Ap as Page,
|
|
364
|
+
Ip as PageHeader,
|
|
365
|
+
hp as PageHeading,
|
|
366
|
+
Dp as Pagination,
|
|
367
|
+
vp as PaginationContent,
|
|
368
|
+
Jp as PaginationEllipsis,
|
|
369
|
+
Hp as PaginationItem,
|
|
370
|
+
$p as PayFitBrand,
|
|
371
|
+
ea as PayFitBrandPreprod,
|
|
372
|
+
ta as PhoneNumberInput,
|
|
373
|
+
aa as Pill,
|
|
374
|
+
xa as Popover,
|
|
375
|
+
ff as PopoverTrigger,
|
|
376
|
+
fa as ProgressBar,
|
|
375
377
|
be as PromoDialog,
|
|
376
378
|
Ie as PromoDialogActions,
|
|
377
379
|
ke as PromoDialogContent,
|
|
378
380
|
Fe as PromoDialogHero,
|
|
379
381
|
Be as PromoDialogSubtitle,
|
|
380
382
|
Ge as PromoDialogTitle,
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
383
|
+
da as RadioButton,
|
|
384
|
+
la as RadioButtonGroup,
|
|
385
|
+
gn as RadioButtonGroupField,
|
|
386
|
+
ga as RadioButtonHelper,
|
|
385
387
|
Ao as RawBreadcrumbLink,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
388
|
+
on as RawFormContextualLink,
|
|
389
|
+
Rt as RawLink,
|
|
390
|
+
yt as RawListViewItem,
|
|
391
|
+
Jt as RawMenuItem,
|
|
392
|
+
fp as RawNavItem,
|
|
393
|
+
up as RawNavigationCard,
|
|
394
|
+
Vp as RawPaginationLink,
|
|
395
|
+
Wp as RawPaginationNext,
|
|
396
|
+
Kp as RawPaginationPrevious,
|
|
397
|
+
Zm as RawSubTask,
|
|
398
|
+
Km as RawTab,
|
|
399
|
+
ex as RawTask,
|
|
400
|
+
Qn as RouterProvider,
|
|
401
|
+
ba as Search,
|
|
402
|
+
Fa as SegmentedButtonGroup,
|
|
403
|
+
Oa as Select,
|
|
404
|
+
_a as SelectButton,
|
|
405
|
+
An as SelectField,
|
|
406
|
+
Ka as SelectOption,
|
|
407
|
+
Wa as SelectOptionGroup,
|
|
408
|
+
Ja as SelectOptionHelper,
|
|
409
|
+
wa as SelectableButton,
|
|
410
|
+
ka as SelectableButtonGroup,
|
|
411
|
+
bn as SelectableButtonGroupField,
|
|
412
|
+
La as SelectableCardCheckbox,
|
|
413
|
+
ya as SelectableCardCheckboxGroup,
|
|
414
|
+
Cn as SelectableCardCheckboxGroupField,
|
|
415
|
+
Na as SelectableCardRadio,
|
|
416
|
+
va as SelectableCardRadioGroup,
|
|
417
|
+
Pn as SelectableCardRadioGroupField,
|
|
418
|
+
ja as SidePanel,
|
|
419
|
+
Za as SidePanelContent,
|
|
420
|
+
em as SidePanelFooter,
|
|
421
|
+
pm as SidePanelHeader,
|
|
422
|
+
xm as SkipLink,
|
|
423
|
+
nm as SkipLinks,
|
|
424
|
+
im as Spinner,
|
|
425
|
+
br as Stack,
|
|
426
|
+
Ar as StackItem,
|
|
427
|
+
Fx as TOAST_CONFIG,
|
|
428
|
+
Wm as TabList,
|
|
429
|
+
Jm as TabPanel,
|
|
430
|
+
um as Table,
|
|
431
|
+
sm as TableBody,
|
|
432
|
+
bm as TableCell,
|
|
433
|
+
Fm as TableColumnHeader,
|
|
434
|
+
Am as TableEmptyState,
|
|
435
|
+
km as TableEmptyStateError,
|
|
436
|
+
Rm as TableEmptyStateLoading,
|
|
437
|
+
Im as TableEmptyStateNoData,
|
|
438
|
+
wm as TableEmptyStateText,
|
|
439
|
+
Dm as TableHeader,
|
|
440
|
+
Gm as TableNoSearchResults,
|
|
441
|
+
vm as TablePagination,
|
|
442
|
+
dm as TableRoot,
|
|
443
|
+
Hm as TableRow,
|
|
444
|
+
_m as Tabs,
|
|
445
|
+
px as TaskGroup,
|
|
446
|
+
jm as TaskMenu,
|
|
447
|
+
fx as Text,
|
|
448
|
+
mx as TextArea,
|
|
449
|
+
Rn as TextField,
|
|
450
|
+
dx as Timeline,
|
|
451
|
+
sx as TimelineStep,
|
|
452
|
+
Tx as TimelineStepDescription,
|
|
453
|
+
Sx as TimelineStepHeader,
|
|
454
|
+
Px as ToastManager,
|
|
455
|
+
Ba as ToggleButton,
|
|
456
|
+
Gx as ToggleSwitch,
|
|
457
|
+
wn as ToggleSwitchField,
|
|
458
|
+
Rx as ToggleSwitchGroup,
|
|
459
|
+
hn as ToggleSwitchGroupField,
|
|
460
|
+
Dx as Tooltip,
|
|
459
461
|
u as actionBarRoot,
|
|
460
462
|
_ as autocompleteItem,
|
|
461
463
|
Q as autocompleteItemGroup,
|
|
@@ -464,87 +466,88 @@ export {
|
|
|
464
466
|
co as bottomSheetFooter,
|
|
465
467
|
So as bottomSheetHeader,
|
|
466
468
|
Go as card,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
469
|
+
Xn as carousel,
|
|
470
|
+
tf as carouselContent,
|
|
471
|
+
Yn as carouselHeader,
|
|
472
|
+
of as carouselNav,
|
|
473
|
+
mf as carouselSlide,
|
|
472
474
|
Mo as checkboxGroup,
|
|
473
|
-
|
|
475
|
+
bt as circularIconButton,
|
|
474
476
|
Yo as dataTableRoot,
|
|
475
477
|
ne as dialog,
|
|
476
478
|
Ze as errorState,
|
|
477
|
-
|
|
479
|
+
_n as fieldRevalidateLogic,
|
|
478
480
|
er as fieldset,
|
|
479
481
|
nr as filterContainer,
|
|
480
482
|
fr as filterDismissButton,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
Kr as
|
|
490
|
-
|
|
491
|
-
Yr as
|
|
492
|
-
ot as
|
|
493
|
-
tt as
|
|
483
|
+
sr as filterToolbar,
|
|
484
|
+
Cr as flex,
|
|
485
|
+
Fr as flexItem,
|
|
486
|
+
ur as floatingActionBar,
|
|
487
|
+
Gr as fullPageLoader,
|
|
488
|
+
vr as funnelBody,
|
|
489
|
+
Dr as funnelLayout,
|
|
490
|
+
Hr as funnelPage,
|
|
491
|
+
Kr as funnelPageActions,
|
|
492
|
+
qr as funnelPageContent,
|
|
493
|
+
Yr as funnelPageFooter,
|
|
494
|
+
ot as funnelPageHeader,
|
|
495
|
+
tt as funnelSidebar,
|
|
496
|
+
mt as funnelTopBar,
|
|
494
497
|
ro as getInitials,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
498
|
+
it as grid,
|
|
499
|
+
lt as gridItem,
|
|
500
|
+
Mx as isDesktopBreakpoint,
|
|
501
|
+
Nx as isMobileBreakpoint,
|
|
502
|
+
It as link,
|
|
503
|
+
Dt as listViewItem,
|
|
504
|
+
vt as listViewSection,
|
|
505
|
+
ip as navItemBase,
|
|
506
|
+
sp as navigationCardGroup,
|
|
507
|
+
cn as numberField,
|
|
508
|
+
Pp as numberInput,
|
|
509
|
+
kp as page,
|
|
510
|
+
wp as pageHeader,
|
|
511
|
+
Lp as pagination,
|
|
512
|
+
Mp as paginationContent,
|
|
513
|
+
_p as paginationLink,
|
|
511
514
|
Te as promoDialog,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
515
|
+
ca as radioButton,
|
|
516
|
+
$m as rawSubTask,
|
|
517
|
+
rx as rawTask,
|
|
518
|
+
Ta as search,
|
|
519
|
+
Ga as selectableButton,
|
|
520
|
+
Ra as selectableButtonGroup,
|
|
521
|
+
za as sidePanel,
|
|
522
|
+
$a as sidePanelContent,
|
|
523
|
+
rm as sidePanelFooter,
|
|
524
|
+
am as sidePanelHeader,
|
|
525
|
+
gm as tableBody,
|
|
526
|
+
Tm as tableCell,
|
|
527
|
+
Pm as tableColumnHeader,
|
|
528
|
+
hm as tableEmptyState,
|
|
529
|
+
Lm as tableHeader,
|
|
530
|
+
Mm as tablePagination,
|
|
531
|
+
Om as tableRow,
|
|
532
|
+
zm as taskMenu,
|
|
533
|
+
lx as text,
|
|
534
|
+
xx as textArea,
|
|
535
|
+
Ax as toast,
|
|
536
|
+
hx as toggleSwitch,
|
|
537
|
+
Ix as toggleSwitchGroup,
|
|
535
538
|
h as useAppMenuContext,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
539
|
+
cf as useAsyncList,
|
|
540
|
+
Hx as useBreakpointListener,
|
|
541
|
+
Vx as useContainerQueryLevel,
|
|
542
|
+
On as useFieldA11yContext,
|
|
543
|
+
Mn as useFieldContext,
|
|
544
|
+
Nn as useFormContext,
|
|
545
|
+
Ux as useMediaQuery,
|
|
546
|
+
Yp as usePaginationState,
|
|
547
|
+
jp as usePaginationWindow,
|
|
548
|
+
Wn as useRouter,
|
|
549
|
+
Dn as useTanstackUnityForm,
|
|
550
|
+
Qx as useUnityForm,
|
|
551
|
+
Ln as withFieldGroup,
|
|
552
|
+
En as withForm
|
|
550
553
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.1",
|
|
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.
|
|
45
|
+
"@payfit/unity-illustrations": "2.21.1",
|
|
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.
|
|
78
|
-
"@payfit/unity-themes": "2.
|
|
77
|
+
"@payfit/unity-icons": "2.21.1",
|
|
78
|
+
"@payfit/unity-themes": "2.21.1",
|
|
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.
|
|
99
|
-
"@payfit/unity-illustrations": "2.
|
|
100
|
-
"@payfit/unity-themes": "2.
|
|
98
|
+
"@payfit/unity-icons": "2.21.1",
|
|
99
|
+
"@payfit/unity-illustrations": "2.21.1",
|
|
100
|
+
"@payfit/unity-themes": "2.21.1",
|
|
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",
|