@payfit/unity-components 2.23.0 → 2.24.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.
@@ -0,0 +1,53 @@
1
+ import { UnityIcon } from '@payfit/unity-icons';
2
+ import { PropsWithChildren } from 'react';
3
+ import { LinkProps as AriaLinkProps } from 'react-aria-components';
4
+ import { ButtonBase, ButtonFilled, ButtonGhost, ButtonOutlined } from '../button/Button.variants.js';
5
+ type UnityLinkButtonProps = Omit<AriaLinkProps, 'style' | 'className'> & ButtonBase & {
6
+ /**
7
+ * The link button's appearance. It can be one of the following: 'primary', 'secondary', 'ghost'.
8
+ * @default 'primary'
9
+ */
10
+ variant: 'primary' | 'secondary' | 'ghost';
11
+ /**
12
+ * The link button size. It can be full size or default size (min-content).
13
+ */
14
+ size?: ButtonBase['size'];
15
+ /**
16
+ * The link button's color.
17
+ * @default 'primary'
18
+ */
19
+ color?: ButtonFilled['color'] | ButtonOutlined['color'] | ButtonGhost['color'];
20
+ /**
21
+ * The link button's prefix icon. It has to be one of the icons from the Unity Icons package.
22
+ */
23
+ prefixIcon?: UnityIcon;
24
+ /**
25
+ * The loading state of the link button.
26
+ * @default false
27
+ */
28
+ isLoading?: boolean;
29
+ /**
30
+ * Truncate the label to a specific number of characters.
31
+ */
32
+ truncateLabelLength?: number;
33
+ /**
34
+ * Whether the link navigates to an external page. If true, the link will open in a new tab.
35
+ * @default false
36
+ */
37
+ isExternal?: boolean;
38
+ };
39
+ type UnionLinkButtonProps = (UnityLinkButtonProps & {
40
+ variant: 'primary';
41
+ } & ButtonFilled) | (UnityLinkButtonProps & {
42
+ variant: 'secondary';
43
+ } & ButtonOutlined) | (UnityLinkButtonProps & {
44
+ variant: 'ghost';
45
+ } & ButtonGhost);
46
+ export type RawLinkButtonProps = PropsWithChildren<Omit<UnionLinkButtonProps, 'style'>>;
47
+ /**
48
+ * A link that visually looks like a button. Use it when you need navigation semantics with button appearance.
49
+ */
50
+ declare const RawLinkButton: import('react').ForwardRefExoticComponent<Omit<UnionLinkButtonProps, "style"> & {
51
+ children?: import('react').ReactNode | undefined;
52
+ } & import('react').RefAttributes<HTMLAnchorElement>>;
53
+ export { RawLinkButton };
@@ -0,0 +1,93 @@
1
+ import { jsx as u, jsxs as h } from "react/jsx-runtime";
2
+ import { forwardRef as v, useMemo as N } from "react";
3
+ import { uyMerge as m, cn as E } from "@payfit/unity-themes";
4
+ import { Link as R } from "react-aria-components";
5
+ import { buttonGhost as g, buttonOutlined as j, buttonFilled as B } from "../button/Button.variants.js";
6
+ import { Icon as I } from "../icon/Icon.js";
7
+ import { isExternalUrl as M } from "../link/utils.js";
8
+ import { Spinner as z } from "../spinner/Spinner.js";
9
+ const A = (a, r) => a ? /* @__PURE__ */ u(z, { size: "small", color: "inherit", label: "Loading..." }) : r ? /* @__PURE__ */ u(I, { src: r, size: 20, color: "inherit", role: "presentation" }) : null, C = v(
10
+ ({
11
+ variant: a,
12
+ href: r,
13
+ children: d,
14
+ color: n = "primary",
15
+ size: p = "default",
16
+ isDisabled: l = !1,
17
+ isLoading: t = !1,
18
+ prefixIcon: b,
19
+ truncateLabelLength: i,
20
+ isExternal: f,
21
+ ...o
22
+ }, x) => {
23
+ const y = f ?? M(r), w = N(() => {
24
+ const c = { size: p, isDisabled: l, isLoading: t };
25
+ let s;
26
+ switch (a) {
27
+ case "primary": {
28
+ const e = {
29
+ ...c,
30
+ color: n
31
+ };
32
+ s = m(B(e));
33
+ break;
34
+ }
35
+ case "secondary": {
36
+ const e = {
37
+ ...c,
38
+ color: n
39
+ };
40
+ s = m(j(e));
41
+ break;
42
+ }
43
+ case "ghost": {
44
+ const e = {
45
+ ...c,
46
+ color: n
47
+ };
48
+ s = m(g(e));
49
+ break;
50
+ }
51
+ }
52
+ return E(
53
+ s,
54
+ "uy:no-underline",
55
+ l || t ? "uy:data-[disabled]:bg-surface-neutral-disabled uy:data-[disabled]:text-content-neutral-disabled uy:data-[disabled]:cursor-not-allowed" : "",
56
+ t ? "uy:data-[disabled]:cursor-progress" : ""
57
+ );
58
+ }, [a, n, p, l, t]), k = {
59
+ ...t && { "data-loading": t }
60
+ };
61
+ return /* @__PURE__ */ u(
62
+ R,
63
+ {
64
+ "data-dd-privacy": "allow",
65
+ ...o,
66
+ href: r,
67
+ ref: x,
68
+ isDisabled: l || t,
69
+ className: w,
70
+ target: y ? "_blank" : o.target,
71
+ rel: y && !o.rel ? "noopener noreferrer" : o.rel,
72
+ ...k,
73
+ children: /* @__PURE__ */ h("span", { className: "uy:inline-flex uy:gap-50 uy:items-center", children: [
74
+ A(t, b),
75
+ i && i > 0 ? /* @__PURE__ */ u(
76
+ "span",
77
+ {
78
+ style: {
79
+ "--uy-button-label-truncation-length": `${i}ch`
80
+ },
81
+ className: "uy:truncate uy:min-w-0 uy:w-(--uy-button-label-truncation-length)",
82
+ children: d
83
+ }
84
+ ) : d
85
+ ] })
86
+ }
87
+ );
88
+ }
89
+ );
90
+ C.displayName = "RawLinkButton";
91
+ export {
92
+ C as RawLinkButton
93
+ };
@@ -101,6 +101,7 @@ export * from './components/icon/Icon.js';
101
101
  export * from './components/input/Input.js';
102
102
  export * from './components/label/Label.js';
103
103
  export * from './components/link/RawLink.js';
104
+ export * from './components/link-button/RawLinkButton.js';
104
105
  export * from './components/list-view/ListView.js';
105
106
  export * from './components/list-view/parts/RawListViewItem.js';
106
107
  export * from './components/list-view/parts/ListViewSection.js';
package/dist/esm/index.js CHANGED
@@ -10,7 +10,7 @@ import { AlertTitle as T } from "./components/alert/parts/AlertTitle.js";
10
10
  import { Anchor as P } from "./components/anchor/Anchor.js";
11
11
  import { AppLayout as A } from "./components/app-layout/AppLayout.js";
12
12
  import { AppMenu as R } from "./components/app-menu/AppMenu.js";
13
- import { AppMenuContext as w, AppMenuContextProvider as D, useAppMenuContext as G } from "./components/app-menu/parts/AppMenu.context.js";
13
+ import { AppMenuContext as I, AppMenuContextProvider as D, useAppMenuContext as G } from "./components/app-menu/parts/AppMenu.context.js";
14
14
  import { AppMenuFooter as y } from "./components/app-menu/parts/AppMenuFooter.js";
15
15
  import { AppMenuHeader as E } from "./components/app-menu/parts/AppMenuHeader.js";
16
16
  import { AppMenuNavContent as M } from "./components/app-menu/parts/AppMenuNavContent.js";
@@ -32,7 +32,7 @@ import { Breadcrumbs as Co } from "./components/breadcrumbs/Breadcrumbs.js";
32
32
  import { Breadcrumb as Fo } from "./components/breadcrumbs/parts/Breadcrumb.js";
33
33
  import { BREADCRUMB_CONTENT_MAX_LENGTH as Bo, RawBreadcrumbLink as Ao } from "./components/breadcrumbs/parts/RawBreadcrumbLink.js";
34
34
  import { Button as Ro } from "./components/button/Button.js";
35
- import { Card as wo, card as Do } from "./components/card/Card.js";
35
+ import { Card as Io, card as Do } from "./components/card/Card.js";
36
36
  import { CardTitle as ho } from "./components/card/parts/CardTitle.js";
37
37
  import { CardContent as Lo } from "./components/card/parts/CardContent.js";
38
38
  import { CheckboxGroup as vo, checkboxGroup as Mo } from "./components/checkbox-group/CheckboxGroup.js";
@@ -56,7 +56,7 @@ import { DialogContent as be } from "./components/dialog/parts/DialogContent.js"
56
56
  import { DialogTitle as Te } from "./components/dialog/parts/DialogTitle.js";
57
57
  import { PromoDialog as Pe, promoDialog as Be } from "./components/promo-dialog/PromoDialog.js";
58
58
  import { PromoDialogHero as ke } from "./components/promo-dialog/parts/PromoDialogHero.js";
59
- import { PromoDialogSubtitle as Ie } from "./components/promo-dialog/parts/PromoDialogSubtitle.js";
59
+ import { PromoDialogSubtitle as we } from "./components/promo-dialog/parts/PromoDialogSubtitle.js";
60
60
  import { PromoDialogContent as De } from "./components/promo-dialog/parts/PromoDialogContent.js";
61
61
  import { PromoDialogActions as he } from "./components/promo-dialog/parts/PromoDialogActions.js";
62
62
  import { PromoDialogTitle as Le } from "./components/promo-dialog/parts/PromoDialogTitle.js";
@@ -78,7 +78,7 @@ import { FloatingActionBar as gr, floatingActionBar as sr } from "./components/f
78
78
  import { FilterToolbar as br, filterToolbar as Cr } from "./components/filter-toolbar/FilterToolbar.js";
79
79
  import { Flex as Fr, Stack as Pr } from "./components/flex/Flex.js";
80
80
  import { flex as Ar, flexItem as kr } from "./components/flex/Flex.variants.js";
81
- import { FlexItem as Ir, StackItem as wr } from "./components/flex/FlexItem.js";
81
+ import { FlexItem as wr, StackItem as Ir } from "./components/flex/FlexItem.js";
82
82
  import { Form as Gr } from "./components/form/Form.js";
83
83
  import { FullPageLoader as yr, fullPageLoader as Lr } from "./components/full-page-loader/FullPageLoader.js";
84
84
  import { FunnelLayout as vr, funnelLayout as Mr } from "./components/funnel-layout/FunnelLayout.js";
@@ -99,135 +99,136 @@ import { IconButton as Ct } from "./components/icon-button/IconButton.js";
99
99
  import { CircularIconButton as Ft, circularIconButton as Pt } from "./components/icon-button/CircularIconButton.js";
100
100
  import { Icon as At } from "./components/icon/Icon.js";
101
101
  import { Input as Rt } from "./components/input/Input.js";
102
- import { Label as wt } from "./components/label/Label.js";
102
+ import { Label as It } from "./components/label/Label.js";
103
103
  import { RawLink as Gt, link as ht } from "./components/link/RawLink.js";
104
- import { ListView as Lt } from "./components/list-view/ListView.js";
105
- import { RawListViewItem as vt, listViewItem as Mt } from "./components/list-view/parts/RawListViewItem.js";
106
- import { ListViewSection as Ht, listViewSection as Ot } from "./components/list-view/parts/ListViewSection.js";
107
- import { ListViewItemLabel as _t } from "./components/list-view/parts/ListViewItemLabel.js";
108
- import { ListViewItemText as Kt } from "./components/list-view/parts/ListViewItemText.js";
109
- import { Menu as Wt } from "./components/menu/Menu.js";
110
- import { MenuContent as Jt } from "./components/menu/parts/MenuContent.js";
111
- import { MenuHeader as jt } from "./components/menu/parts/MenuHeader.js";
112
- import { RawMenuItem as Yt } from "./components/menu/parts/RawMenuItem.js";
113
- import { MenuSeparator as $t } from "./components/menu/parts/MenuSeparator.js";
114
- import { MenuTrigger as ep } from "./components/menu/parts/MenuTrigger.js";
115
- import { MultiSelect as tp } from "./components/multi-select/MultiSelect.js";
116
- import { MultiSelectOptGroup as ap } from "./components/multi-select/parts/MultiSelectOptGroup.js";
117
- import { MultiSelectOption as xp } from "./components/multi-select/parts/MultiSelectOption.js";
118
- import { Nav as fp } from "./components/nav/Nav.js";
119
- import { NavGroup as lp } from "./components/nav/parts/NavGroup.js";
120
- import { RawNavItem as dp, navItemBase as cp } from "./components/nav/parts/RawNavItem.js";
121
- import { RawNavigationCard as sp } from "./components/navigation-card/NavigationCard.js";
122
- import { NavigationCardGroup as bp, navigationCardGroup as Cp } from "./components/navigation-card/parts/NavigationCardGroup.js";
123
- import { NavigationCardLabel as Fp } from "./components/navigation-card/parts/NavigationCardLabel.js";
124
- import { NavigationCardDescription as Bp } from "./components/navigation-card/parts/NavigationCardDescription.js";
125
- import { NumberInput as kp, numberInput as Rp } from "./components/number-input/NumberInput.js";
126
- import { Page as wp, page as Dp } from "./components/page/Page.js";
127
- import { PageHeader as hp, pageHeader as yp } from "./components/page/parts/PageHeader.js";
128
- import { PageHeading as Ep } from "./components/page/parts/PageHeading.js";
129
- import { Pagination as Mp, pagination as Np } from "./components/pagination/Pagination.js";
130
- import { PaginationContent as Op, paginationContent as Vp } from "./components/pagination/parts/PaginationContent.js";
131
- import { PaginationItem as Up } from "./components/pagination/parts/PaginationItem.js";
132
- import { RawPaginationLink as Qp, paginationLink as Wp } from "./components/pagination/parts/RawPaginationLink.js";
133
- import { RawPaginationPrevious as Jp } from "./components/pagination/parts/RawPaginationPrevious.js";
134
- import { RawPaginationNext as jp } from "./components/pagination/parts/RawPaginationNext.js";
135
- import { PaginationEllipsis as Yp } from "./components/pagination/parts/PaginationEllipsis.js";
136
- import { usePaginationWindow as $p } from "./components/pagination/hooks/use-pagination-window.js";
137
- import { usePaginationState as ea } from "./components/pagination/hooks/use-pagination-state.js";
138
- import { PayFitBrand as ta } from "./components/payfit-brand/PayFitBrand.js";
139
- import { PayFitBrandPreprod as aa } from "./components/payfit-brand/PayFitPreprod.js";
140
- import { PhoneNumberInput as xa } from "./components/phone-number/PhoneNumberInput.js";
141
- import { Pill as fa } from "./components/pill/Pill.js";
142
- import { Popover as la } from "./components/popover/Popover.js";
143
- import { ProgressBar as da } from "./components/progress-bar/ProgressBar.js";
144
- import { RadioButtonGroup as ga } from "./components/radio-button-group/RadioButtonGroup.js";
145
- import { RadioButton as Sa, radioButton as ba } from "./components/radio-button-group/parts/RadioButton.js";
146
- import { RadioButtonHelper as Ta } from "./components/radio-button-group/parts/RadioButtonHelper.js";
147
- import { Search as Pa, search as Ba } from "./components/search/Search.js";
148
- import { SegmentedButtonGroup as ka } from "./components/segmented-button-group/SegmentedButtonGroup.js";
149
- import { ToggleButton as Ia } from "./components/segmented-button-group/parts/ToggleButton.js";
150
- import { SelectableButtonGroup as Da, selectableButtonGroup as Ga } from "./components/selectable-button-group/SelectableButtonGroup.js";
151
- import { SelectableButton as ya, selectableButton as La } from "./components/selectable-button-group/parts/SelectableButton.js";
152
- import { SelectableCardCheckboxGroup as va } from "./components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js";
153
- import { SelectableCardCheckbox as Na } from "./components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js";
154
- import { SelectableCardRadioGroup as Oa } from "./components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js";
155
- import { SelectableCardRadio as _a } from "./components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js";
156
- import { Select as Ka } from "./components/select/Select.js";
157
- import { SelectButton as Wa } from "./components/select/parts/SelectButton.js";
158
- import { SelectOption as Ja } from "./components/select/parts/SelectOption.js";
159
- import { SelectOptionGroup as ja } from "./components/select/parts/SelectOptionGroup.js";
160
- import { SelectOptionHelper as Ya } from "./components/select/parts/SelectOptionHelper.js";
161
- import { SidePanel as $a, sidePanel as om } from "./components/side-panel/SidePanel.js";
162
- import { SidePanelContent as rm, sidePanelContent as tm } from "./components/side-panel/parts/SidePanelContent.js";
163
- import { SidePanelFooter as am, sidePanelFooter as mm } from "./components/side-panel/parts/SidePanelFooter.js";
164
- import { SidePanelHeader as nm, sidePanelHeader as fm } from "./components/side-panel/parts/SidePanelHeader.js";
165
- import { SkipLink as lm, SkipLinks as um } from "./components/skip-links/SkipLinks.js";
166
- import { Spinner as cm } from "./components/spinner/Spinner.js";
167
- import { Table as sm, TableRoot as Sm } from "./components/table/Table.js";
168
- import { TableBody as Cm, tableBody as Tm } from "./components/table/parts/TableBody.js";
169
- import { TableCell as Pm, tableCell as Bm } from "./components/table/parts/TableCell.js";
170
- import { TableColumnHeader as km, tableColumnHeader as Rm } from "./components/table/parts/TableColumnHeader.js";
171
- import { TableEmptyState as wm, TableEmptyStateError as Dm, TableEmptyStateLoading as Gm, TableEmptyStateNoData as hm, TableEmptyStateText as ym, TableNoSearchResults as Lm, tableEmptyState as Em } from "./components/table/parts/TableEmptyState.js";
172
- import { TableHeader as Mm, tableHeader as Nm } from "./components/table/parts/TableHeader.js";
173
- import { TablePagination as Om, tablePagination as Vm } from "./components/table/parts/TablePagination.js";
174
- import { TableRow as Um, tableRow as Km } from "./components/table/parts/TableRow.js";
175
- import { Tabs as Wm } from "./components/tabs/Tabs.js";
176
- import { RawTab as Jm } from "./components/tabs/parts/RawTab.js";
177
- import { TabList as jm } from "./components/tabs/parts/TabList.js";
178
- import { TabPanel as Ym } from "./components/tabs/parts/TabPanel.js";
179
- import { TaskMenu as $m, taskMenu as ox } from "./components/task-menu/TaskMenu.js";
180
- import { RawSubTask as rx, rawSubTask as tx } from "./components/task-menu/parts/RawSubTask.js";
181
- import { RawTask as ax, rawTask as mx } from "./components/task-menu/parts/RawTask.js";
182
- import { TaskGroup as nx } from "./components/task-menu/parts/TaskGroup.js";
183
- import { TextArea as ix, textArea as lx } from "./components/text-area/TextArea.js";
184
- import { Text as dx } from "./components/text/Text.js";
185
- import { text as gx } from "./components/text/Text.variants.js";
186
- import { Timeline as Sx } from "./components/timeline/Timeline.js";
187
- import { TimelineStep as Cx } from "./components/timeline/parts/TimelineStep.js";
188
- import { TimelineStepHeader as Fx } from "./components/timeline/parts/TimelineStepHeader.js";
189
- import { TimelineStepDescription as Bx } from "./components/timeline/parts/TimelineStepDescription.js";
190
- import { TOAST_CONFIG as kx, ToastManager as Rx } from "./components/toast/ToastManager.js";
191
- import { toast as wx } from "./components/toast/toast.js";
192
- import { ToggleSwitchGroup as Gx, toggleSwitchGroup as hx } from "./components/toggle-switch-group/ToggleSwitchGroup.js";
193
- import { ToggleSwitch as Lx, toggleSwitch as Ex } from "./components/toggle-switch/ToggleSwitch.js";
194
- import { Tooltip as Mx } from "./components/tooltip/Tooltip.js";
195
- import { DESKTOP_BREAKPOINTS as Hx, MOBILE_BREAKPOINTS as Ox, isDesktopBreakpoint as Vx, isMobileBreakpoint as _x, useBreakpointListener as Ux } from "./hooks/use-breakpoint-listener.js";
196
- import { useContainerQueryLevel as Qx } from "./hooks/use-container-query-level.js";
197
- import { useMediaQuery as qx } from "./hooks/use-media-query.js";
198
- import { useUnityForm as Xx } from "./hooks/use-form.js";
199
- import { CheckboxField as zx } from "./components/checkbox-field/CheckboxField.js";
200
- import { CheckboxGroupField as Zx } from "./components/checkbox-group-field/CheckboxGroupField.js";
201
- import { DatePickerField as on } from "./components/date-picker-field/DatePickerField.js";
202
- import { FormField as rn } from "./components/form-field/FormField.js";
203
- import { RawFormContextualLink as pn } from "./components/form-field/parts/RawFormContextualLink.js";
204
- import { FormControl as mn } from "./components/form-field/parts/FormControl.js";
205
- import { FormFeedbackText as nn } from "./components/form-field/parts/FormFeedbackText.js";
206
- import { FormHelperText as ln } from "./components/form-field/parts/FormHelperText.js";
207
- import { FormLabel as dn } from "./components/form-field/parts/FormLabel.js";
208
- import { MultiSelectField as gn } from "./components/multi-select-field/MultiSelectField.js";
209
- import { NumberField as Sn, numberField as bn } from "./components/number-field/NumberField.js";
210
- import { RadioButtonGroupField as Tn } from "./components/radio-button-group-field/RadioButtonGroupField.js";
211
- import { SelectableButtonGroupField as Pn } from "./components/selectable-button-group-field/SelectableButtonGroupField.js";
212
- import { SelectableCardCheckboxGroupField as An } from "./components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.js";
213
- import { SelectableCardRadioGroupField as Rn } from "./components/selectable-card-radio-group-field/SelectableCardRadioGroupField.js";
214
- import { SelectField as wn } from "./components/select-field/SelectField.js";
215
- import { TextField as Gn } from "./components/text-field/TextField.js";
216
- import { ToggleSwitchField as yn } from "./components/toggle-switch-field/ToggleSwitchField.js";
217
- import { ToggleSwitchGroupField as En } from "./components/toggle-switch-group-field/ToggleSwitchGroupField.js";
218
- import { useTanstackUnityForm as Mn, withFieldGroup as Nn, withForm as Hn } from "./hooks/use-tanstack-form.js";
219
- import { useFieldContext as Vn, useFormContext as _n } from "./hooks/tanstack-form-context.js";
220
- import { useFieldA11yContext as Kn } from "./components/form-field/TanstackFormField.context.js";
221
- import { fieldRevalidateLogic as Wn } from "./utils/field-revalidate-logic.js";
222
- import { NoopRouterProvider as Jn, RouterProvider as Xn, useRouter as jn } from "./providers/router/RouterProvider.js";
223
- import { Carousel as Yn, carousel as Zn } from "./components/carousel/Carousel.js";
224
- import { CarouselHeader as of, carouselHeader as ef } from "./components/carousel/parts/CarouselHeader.js";
225
- import { CarouselNav as tf, carouselNav as pf } from "./components/carousel/parts/CarouselNav.js";
226
- import { CarouselContent as mf, carouselContent as xf } from "./components/carousel/parts/CarouselContent.js";
227
- import { CarouselSlide as ff, carouselSlide as lf } from "./components/carousel/parts/CarouselSlide.js";
228
- import { DialogTrigger as df, DialogTrigger as cf } from "react-aria-components";
229
- import { FilterAdapters as sf } from "./components/filter-toolbar/utils/filter-adapters.js";
230
- import { useAsyncList as bf } from "react-stately";
104
+ import { RawLinkButton as Lt } from "./components/link-button/RawLinkButton.js";
105
+ import { ListView as vt } from "./components/list-view/ListView.js";
106
+ import { RawListViewItem as Nt, listViewItem as Ht } from "./components/list-view/parts/RawListViewItem.js";
107
+ import { ListViewSection as Vt, listViewSection as _t } from "./components/list-view/parts/ListViewSection.js";
108
+ import { ListViewItemLabel as Kt } from "./components/list-view/parts/ListViewItemLabel.js";
109
+ import { ListViewItemText as Wt } from "./components/list-view/parts/ListViewItemText.js";
110
+ import { Menu as Jt } from "./components/menu/Menu.js";
111
+ import { MenuContent as jt } from "./components/menu/parts/MenuContent.js";
112
+ import { MenuHeader as Yt } from "./components/menu/parts/MenuHeader.js";
113
+ import { RawMenuItem as $t } from "./components/menu/parts/RawMenuItem.js";
114
+ import { MenuSeparator as ep } from "./components/menu/parts/MenuSeparator.js";
115
+ import { MenuTrigger as tp } from "./components/menu/parts/MenuTrigger.js";
116
+ import { MultiSelect as ap } from "./components/multi-select/MultiSelect.js";
117
+ import { MultiSelectOptGroup as xp } from "./components/multi-select/parts/MultiSelectOptGroup.js";
118
+ import { MultiSelectOption as fp } from "./components/multi-select/parts/MultiSelectOption.js";
119
+ import { Nav as lp } from "./components/nav/Nav.js";
120
+ import { NavGroup as dp } from "./components/nav/parts/NavGroup.js";
121
+ import { RawNavItem as gp, navItemBase as sp } from "./components/nav/parts/RawNavItem.js";
122
+ import { RawNavigationCard as bp } from "./components/navigation-card/NavigationCard.js";
123
+ import { NavigationCardGroup as Tp, navigationCardGroup as Fp } from "./components/navigation-card/parts/NavigationCardGroup.js";
124
+ import { NavigationCardLabel as Bp } from "./components/navigation-card/parts/NavigationCardLabel.js";
125
+ import { NavigationCardDescription as kp } from "./components/navigation-card/parts/NavigationCardDescription.js";
126
+ import { NumberInput as wp, numberInput as Ip } from "./components/number-input/NumberInput.js";
127
+ import { Page as Gp, page as hp } from "./components/page/Page.js";
128
+ import { PageHeader as Lp, pageHeader as Ep } from "./components/page/parts/PageHeader.js";
129
+ import { PageHeading as Mp } from "./components/page/parts/PageHeading.js";
130
+ import { Pagination as Hp, pagination as Op } from "./components/pagination/Pagination.js";
131
+ import { PaginationContent as _p, paginationContent as Up } from "./components/pagination/parts/PaginationContent.js";
132
+ import { PaginationItem as Qp } from "./components/pagination/parts/PaginationItem.js";
133
+ import { RawPaginationLink as qp, paginationLink as Jp } from "./components/pagination/parts/RawPaginationLink.js";
134
+ import { RawPaginationPrevious as jp } from "./components/pagination/parts/RawPaginationPrevious.js";
135
+ import { RawPaginationNext as Yp } from "./components/pagination/parts/RawPaginationNext.js";
136
+ import { PaginationEllipsis as $p } from "./components/pagination/parts/PaginationEllipsis.js";
137
+ import { usePaginationWindow as ea } from "./components/pagination/hooks/use-pagination-window.js";
138
+ import { usePaginationState as ta } from "./components/pagination/hooks/use-pagination-state.js";
139
+ import { PayFitBrand as aa } from "./components/payfit-brand/PayFitBrand.js";
140
+ import { PayFitBrandPreprod as xa } from "./components/payfit-brand/PayFitPreprod.js";
141
+ import { PhoneNumberInput as fa } from "./components/phone-number/PhoneNumberInput.js";
142
+ import { Pill as la } from "./components/pill/Pill.js";
143
+ import { Popover as da } from "./components/popover/Popover.js";
144
+ import { ProgressBar as ga } from "./components/progress-bar/ProgressBar.js";
145
+ import { RadioButtonGroup as Sa } from "./components/radio-button-group/RadioButtonGroup.js";
146
+ import { RadioButton as Ca, radioButton as Ta } from "./components/radio-button-group/parts/RadioButton.js";
147
+ import { RadioButtonHelper as Pa } from "./components/radio-button-group/parts/RadioButtonHelper.js";
148
+ import { Search as Aa, search as ka } from "./components/search/Search.js";
149
+ import { SegmentedButtonGroup as wa } from "./components/segmented-button-group/SegmentedButtonGroup.js";
150
+ import { ToggleButton as Da } from "./components/segmented-button-group/parts/ToggleButton.js";
151
+ import { SelectableButtonGroup as ha, selectableButtonGroup as ya } from "./components/selectable-button-group/SelectableButtonGroup.js";
152
+ import { SelectableButton as Ea, selectableButton as va } from "./components/selectable-button-group/parts/SelectableButton.js";
153
+ import { SelectableCardCheckboxGroup as Na } from "./components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js";
154
+ import { SelectableCardCheckbox as Oa } from "./components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js";
155
+ import { SelectableCardRadioGroup as _a } from "./components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js";
156
+ import { SelectableCardRadio as Ka } from "./components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js";
157
+ import { Select as Wa } from "./components/select/Select.js";
158
+ import { SelectButton as Ja } from "./components/select/parts/SelectButton.js";
159
+ import { SelectOption as ja } from "./components/select/parts/SelectOption.js";
160
+ import { SelectOptionGroup as Ya } from "./components/select/parts/SelectOptionGroup.js";
161
+ import { SelectOptionHelper as $a } from "./components/select/parts/SelectOptionHelper.js";
162
+ import { SidePanel as em, sidePanel as rm } from "./components/side-panel/SidePanel.js";
163
+ import { SidePanelContent as pm, sidePanelContent as am } from "./components/side-panel/parts/SidePanelContent.js";
164
+ import { SidePanelFooter as xm, sidePanelFooter as nm } from "./components/side-panel/parts/SidePanelFooter.js";
165
+ import { SidePanelHeader as im, sidePanelHeader as lm } from "./components/side-panel/parts/SidePanelHeader.js";
166
+ import { SkipLink as dm, SkipLinks as cm } from "./components/skip-links/SkipLinks.js";
167
+ import { Spinner as sm } from "./components/spinner/Spinner.js";
168
+ import { Table as bm, TableRoot as Cm } from "./components/table/Table.js";
169
+ import { TableBody as Fm, tableBody as Pm } from "./components/table/parts/TableBody.js";
170
+ import { TableCell as Am, tableCell as km } from "./components/table/parts/TableCell.js";
171
+ import { TableColumnHeader as wm, tableColumnHeader as Im } from "./components/table/parts/TableColumnHeader.js";
172
+ import { TableEmptyState as Gm, TableEmptyStateError as hm, TableEmptyStateLoading as ym, TableEmptyStateNoData as Lm, TableEmptyStateText as Em, TableNoSearchResults as vm, tableEmptyState as Mm } from "./components/table/parts/TableEmptyState.js";
173
+ import { TableHeader as Hm, tableHeader as Om } from "./components/table/parts/TableHeader.js";
174
+ import { TablePagination as _m, tablePagination as Um } from "./components/table/parts/TablePagination.js";
175
+ import { TableRow as Qm, tableRow as Wm } from "./components/table/parts/TableRow.js";
176
+ import { Tabs as Jm } from "./components/tabs/Tabs.js";
177
+ import { RawTab as jm } from "./components/tabs/parts/RawTab.js";
178
+ import { TabList as Ym } from "./components/tabs/parts/TabList.js";
179
+ import { TabPanel as $m } from "./components/tabs/parts/TabPanel.js";
180
+ import { TaskMenu as ex, taskMenu as rx } from "./components/task-menu/TaskMenu.js";
181
+ import { RawSubTask as px, rawSubTask as ax } from "./components/task-menu/parts/RawSubTask.js";
182
+ import { RawTask as xx, rawTask as nx } from "./components/task-menu/parts/RawTask.js";
183
+ import { TaskGroup as ix } from "./components/task-menu/parts/TaskGroup.js";
184
+ import { TextArea as ux, textArea as dx } from "./components/text-area/TextArea.js";
185
+ import { Text as gx } from "./components/text/Text.js";
186
+ import { text as Sx } from "./components/text/Text.variants.js";
187
+ import { Timeline as Cx } from "./components/timeline/Timeline.js";
188
+ import { TimelineStep as Fx } from "./components/timeline/parts/TimelineStep.js";
189
+ import { TimelineStepHeader as Bx } from "./components/timeline/parts/TimelineStepHeader.js";
190
+ import { TimelineStepDescription as kx } from "./components/timeline/parts/TimelineStepDescription.js";
191
+ import { TOAST_CONFIG as wx, ToastManager as Ix } from "./components/toast/ToastManager.js";
192
+ import { toast as Gx } from "./components/toast/toast.js";
193
+ import { ToggleSwitchGroup as yx, toggleSwitchGroup as Lx } from "./components/toggle-switch-group/ToggleSwitchGroup.js";
194
+ import { ToggleSwitch as vx, toggleSwitch as Mx } from "./components/toggle-switch/ToggleSwitch.js";
195
+ import { Tooltip as Hx } from "./components/tooltip/Tooltip.js";
196
+ import { DESKTOP_BREAKPOINTS as Vx, MOBILE_BREAKPOINTS as _x, isDesktopBreakpoint as Ux, isMobileBreakpoint as Kx, useBreakpointListener as Qx } from "./hooks/use-breakpoint-listener.js";
197
+ import { useContainerQueryLevel as qx } from "./hooks/use-container-query-level.js";
198
+ import { useMediaQuery as Xx } from "./hooks/use-media-query.js";
199
+ import { useUnityForm as zx } from "./hooks/use-form.js";
200
+ import { CheckboxField as Zx } from "./components/checkbox-field/CheckboxField.js";
201
+ import { CheckboxGroupField as on } from "./components/checkbox-group-field/CheckboxGroupField.js";
202
+ import { DatePickerField as rn } from "./components/date-picker-field/DatePickerField.js";
203
+ import { FormField as pn } from "./components/form-field/FormField.js";
204
+ import { RawFormContextualLink as mn } from "./components/form-field/parts/RawFormContextualLink.js";
205
+ import { FormControl as nn } from "./components/form-field/parts/FormControl.js";
206
+ import { FormFeedbackText as ln } from "./components/form-field/parts/FormFeedbackText.js";
207
+ import { FormHelperText as dn } from "./components/form-field/parts/FormHelperText.js";
208
+ import { FormLabel as gn } from "./components/form-field/parts/FormLabel.js";
209
+ import { MultiSelectField as Sn } from "./components/multi-select-field/MultiSelectField.js";
210
+ import { NumberField as Cn, numberField as Tn } from "./components/number-field/NumberField.js";
211
+ import { RadioButtonGroupField as Pn } from "./components/radio-button-group-field/RadioButtonGroupField.js";
212
+ import { SelectableButtonGroupField as An } from "./components/selectable-button-group-field/SelectableButtonGroupField.js";
213
+ import { SelectableCardCheckboxGroupField as Rn } from "./components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.js";
214
+ import { SelectableCardRadioGroupField as In } from "./components/selectable-card-radio-group-field/SelectableCardRadioGroupField.js";
215
+ import { SelectField as Gn } from "./components/select-field/SelectField.js";
216
+ import { TextField as yn } from "./components/text-field/TextField.js";
217
+ import { ToggleSwitchField as En } from "./components/toggle-switch-field/ToggleSwitchField.js";
218
+ import { ToggleSwitchGroupField as Mn } from "./components/toggle-switch-group-field/ToggleSwitchGroupField.js";
219
+ import { useTanstackUnityForm as Hn, withFieldGroup as On, withForm as Vn } from "./hooks/use-tanstack-form.js";
220
+ import { useFieldContext as Un, useFormContext as Kn } from "./hooks/tanstack-form-context.js";
221
+ import { useFieldA11yContext as Wn } from "./components/form-field/TanstackFormField.context.js";
222
+ import { fieldRevalidateLogic as Jn } from "./utils/field-revalidate-logic.js";
223
+ import { NoopRouterProvider as jn, RouterProvider as zn, useRouter as Yn } from "./providers/router/RouterProvider.js";
224
+ import { Carousel as $n, carousel as of } from "./components/carousel/Carousel.js";
225
+ import { CarouselHeader as rf, carouselHeader as tf } from "./components/carousel/parts/CarouselHeader.js";
226
+ import { CarouselNav as af, carouselNav as mf } from "./components/carousel/parts/CarouselNav.js";
227
+ import { CarouselContent as nf, carouselContent as ff } from "./components/carousel/parts/CarouselContent.js";
228
+ import { CarouselSlide as uf, carouselSlide as df } from "./components/carousel/parts/CarouselSlide.js";
229
+ import { DialogTrigger as gf, DialogTrigger as sf } from "react-aria-components";
230
+ import { FilterAdapters as bf } from "./components/filter-toolbar/utils/filter-adapters.js";
231
+ import { useAsyncList as Tf } from "react-stately";
231
232
  export {
232
233
  p as ActionBar,
233
234
  m as ActionBarAction,
@@ -242,7 +243,7 @@ export {
242
243
  P as Anchor,
243
244
  A as AppLayout,
244
245
  R as AppMenu,
245
- w as AppMenuContext,
246
+ I as AppMenuContext,
246
247
  D as AppMenuContextProvider,
247
248
  y as AppMenuFooter,
248
249
  E as AppMenuHeader,
@@ -264,30 +265,30 @@ export {
264
265
  Fo as Breadcrumb,
265
266
  Co as Breadcrumbs,
266
267
  Ro as Button,
267
- wo as Card,
268
+ Io as Card,
268
269
  Lo as CardContent,
269
270
  ho as CardTitle,
270
- Yn as Carousel,
271
- mf as CarouselContent,
272
- of as CarouselHeader,
273
- tf as CarouselNav,
274
- ff as CarouselSlide,
271
+ $n as Carousel,
272
+ nf as CarouselContent,
273
+ rf as CarouselHeader,
274
+ af as CarouselNav,
275
+ uf as CarouselSlide,
275
276
  Ho as Checkbox,
276
- zx as CheckboxField,
277
+ Zx as CheckboxField,
277
278
  vo as CheckboxGroup,
278
- Zx as CheckboxGroupField,
279
+ on as CheckboxGroupField,
279
280
  Vo as CheckboxStandalone,
280
281
  Ft as CircularIconButton,
281
282
  Uo as Collapsible,
282
283
  Qo as CollapsibleContent,
283
284
  qo as CollapsibleTitle,
284
- Hx as DESKTOP_BREAKPOINTS,
285
+ Vx as DESKTOP_BREAKPOINTS,
285
286
  Xo as DataTable,
286
287
  $o as DataTableBulkActions,
287
288
  zo as DataTableRoot,
288
289
  ee as DateCalendar,
289
290
  te as DatePicker,
290
- on as DatePickerField,
291
+ rn as DatePickerField,
291
292
  ae as DateRangeCalendar,
292
293
  xe as DateRangePicker,
293
294
  fe as DefinitionTooltip,
@@ -296,7 +297,7 @@ export {
296
297
  se as DialogButton,
297
298
  be as DialogContent,
298
299
  Te as DialogTitle,
299
- df as DialogTrigger,
300
+ gf as DialogTrigger,
300
301
  ve as EmptyState,
301
302
  _e as EmptyStateActions,
302
303
  Oe as EmptyStateContent,
@@ -311,19 +312,19 @@ export {
311
312
  xr as FieldGroup,
312
313
  pr as Fieldset,
313
314
  fr as Filter,
314
- sf as FilterAdapters,
315
+ bf as FilterAdapters,
315
316
  ir as FilterControls,
316
317
  lr as FilterLabels,
317
318
  br as FilterToolbar,
318
319
  Fr as Flex,
319
- Ir as FlexItem,
320
+ wr as FlexItem,
320
321
  gr as FloatingActionBar,
321
322
  Gr as Form,
322
- mn as FormControl,
323
- nn as FormFeedbackText,
324
- rn as FormField,
325
- ln as FormHelperText,
326
- dn as FormLabel,
323
+ nn as FormControl,
324
+ ln as FormFeedbackText,
325
+ pn as FormField,
326
+ dn as FormHelperText,
327
+ gn as FormLabel,
327
328
  yr as FullPageLoader,
328
329
  Zr as FunnelBackButton,
329
330
  Hr as FunnelBody,
@@ -341,127 +342,128 @@ export {
341
342
  At as Icon,
342
343
  Ct as IconButton,
343
344
  Rt as Input,
344
- wt as Label,
345
- Lt as ListView,
346
- _t as ListViewItemLabel,
347
- Kt as ListViewItemText,
348
- Ht as ListViewSection,
349
- Ox as MOBILE_BREAKPOINTS,
350
- Wt as Menu,
351
- Jt as MenuContent,
352
- jt as MenuHeader,
353
- $t as MenuSeparator,
354
- ep as MenuTrigger,
355
- tp as MultiSelect,
356
- gn as MultiSelectField,
357
- ap as MultiSelectOptGroup,
358
- xp as MultiSelectOption,
359
- fp as Nav,
360
- lp as NavGroup,
361
- Bp as NavigationCardDescription,
362
- bp as NavigationCardGroup,
363
- Fp as NavigationCardLabel,
364
- Jn as NoopRouterProvider,
365
- Sn as NumberField,
366
- kp as NumberInput,
367
- wp as Page,
368
- hp as PageHeader,
369
- Ep as PageHeading,
370
- Mp as Pagination,
371
- Op as PaginationContent,
372
- Yp as PaginationEllipsis,
373
- Up as PaginationItem,
374
- ta as PayFitBrand,
375
- aa as PayFitBrandPreprod,
376
- xa as PhoneNumberInput,
377
- fa as Pill,
378
- la as Popover,
379
- cf as PopoverTrigger,
380
- da as ProgressBar,
345
+ It as Label,
346
+ vt as ListView,
347
+ Kt as ListViewItemLabel,
348
+ Wt as ListViewItemText,
349
+ Vt as ListViewSection,
350
+ _x as MOBILE_BREAKPOINTS,
351
+ Jt as Menu,
352
+ jt as MenuContent,
353
+ Yt as MenuHeader,
354
+ ep as MenuSeparator,
355
+ tp as MenuTrigger,
356
+ ap as MultiSelect,
357
+ Sn as MultiSelectField,
358
+ xp as MultiSelectOptGroup,
359
+ fp as MultiSelectOption,
360
+ lp as Nav,
361
+ dp as NavGroup,
362
+ kp as NavigationCardDescription,
363
+ Tp as NavigationCardGroup,
364
+ Bp as NavigationCardLabel,
365
+ jn as NoopRouterProvider,
366
+ Cn as NumberField,
367
+ wp as NumberInput,
368
+ Gp as Page,
369
+ Lp as PageHeader,
370
+ Mp as PageHeading,
371
+ Hp as Pagination,
372
+ _p as PaginationContent,
373
+ $p as PaginationEllipsis,
374
+ Qp as PaginationItem,
375
+ aa as PayFitBrand,
376
+ xa as PayFitBrandPreprod,
377
+ fa as PhoneNumberInput,
378
+ la as Pill,
379
+ da as Popover,
380
+ sf as PopoverTrigger,
381
+ ga as ProgressBar,
381
382
  Pe as PromoDialog,
382
383
  he as PromoDialogActions,
383
384
  De as PromoDialogContent,
384
385
  ke as PromoDialogHero,
385
- Ie as PromoDialogSubtitle,
386
+ we as PromoDialogSubtitle,
386
387
  Le as PromoDialogTitle,
387
- Sa as RadioButton,
388
- ga as RadioButtonGroup,
389
- Tn as RadioButtonGroupField,
390
- Ta as RadioButtonHelper,
388
+ Ca as RadioButton,
389
+ Sa as RadioButtonGroup,
390
+ Pn as RadioButtonGroupField,
391
+ Pa as RadioButtonHelper,
391
392
  Ao as RawBreadcrumbLink,
392
- pn as RawFormContextualLink,
393
+ mn as RawFormContextualLink,
393
394
  Gt as RawLink,
394
- vt as RawListViewItem,
395
- Yt as RawMenuItem,
396
- dp as RawNavItem,
397
- sp as RawNavigationCard,
398
- Qp as RawPaginationLink,
399
- jp as RawPaginationNext,
400
- Jp as RawPaginationPrevious,
401
- rx as RawSubTask,
402
- Jm as RawTab,
403
- ax as RawTask,
404
- Xn as RouterProvider,
405
- Pa as Search,
406
- ka as SegmentedButtonGroup,
407
- Ka as Select,
408
- Wa as SelectButton,
409
- wn as SelectField,
410
- Ja as SelectOption,
411
- ja as SelectOptionGroup,
412
- Ya as SelectOptionHelper,
413
- ya as SelectableButton,
414
- Da as SelectableButtonGroup,
415
- Pn as SelectableButtonGroupField,
416
- Na as SelectableCardCheckbox,
417
- va as SelectableCardCheckboxGroup,
418
- An as SelectableCardCheckboxGroupField,
419
- _a as SelectableCardRadio,
420
- Oa as SelectableCardRadioGroup,
421
- Rn as SelectableCardRadioGroupField,
422
- $a as SidePanel,
423
- rm as SidePanelContent,
424
- am as SidePanelFooter,
425
- nm as SidePanelHeader,
426
- lm as SkipLink,
427
- um as SkipLinks,
428
- cm as Spinner,
395
+ Lt as RawLinkButton,
396
+ Nt as RawListViewItem,
397
+ $t as RawMenuItem,
398
+ gp as RawNavItem,
399
+ bp as RawNavigationCard,
400
+ qp as RawPaginationLink,
401
+ Yp as RawPaginationNext,
402
+ jp as RawPaginationPrevious,
403
+ px as RawSubTask,
404
+ jm as RawTab,
405
+ xx as RawTask,
406
+ zn as RouterProvider,
407
+ Aa as Search,
408
+ wa as SegmentedButtonGroup,
409
+ Wa as Select,
410
+ Ja as SelectButton,
411
+ Gn as SelectField,
412
+ ja as SelectOption,
413
+ Ya as SelectOptionGroup,
414
+ $a as SelectOptionHelper,
415
+ Ea as SelectableButton,
416
+ ha as SelectableButtonGroup,
417
+ An as SelectableButtonGroupField,
418
+ Oa as SelectableCardCheckbox,
419
+ Na as SelectableCardCheckboxGroup,
420
+ Rn as SelectableCardCheckboxGroupField,
421
+ Ka as SelectableCardRadio,
422
+ _a as SelectableCardRadioGroup,
423
+ In as SelectableCardRadioGroupField,
424
+ em as SidePanel,
425
+ pm as SidePanelContent,
426
+ xm as SidePanelFooter,
427
+ im as SidePanelHeader,
428
+ dm as SkipLink,
429
+ cm as SkipLinks,
430
+ sm as Spinner,
429
431
  Pr as Stack,
430
- wr as StackItem,
431
- kx as TOAST_CONFIG,
432
- jm as TabList,
433
- Ym as TabPanel,
434
- sm as Table,
435
- Cm as TableBody,
436
- Pm as TableCell,
437
- km as TableColumnHeader,
438
- wm as TableEmptyState,
439
- Dm as TableEmptyStateError,
440
- Gm as TableEmptyStateLoading,
441
- hm as TableEmptyStateNoData,
442
- ym as TableEmptyStateText,
443
- Mm as TableHeader,
444
- Lm as TableNoSearchResults,
445
- Om as TablePagination,
446
- Sm as TableRoot,
447
- Um as TableRow,
448
- Wm as Tabs,
449
- nx as TaskGroup,
450
- $m as TaskMenu,
451
- dx as Text,
452
- ix as TextArea,
453
- Gn as TextField,
454
- Sx as Timeline,
455
- Cx as TimelineStep,
456
- Bx as TimelineStepDescription,
457
- Fx as TimelineStepHeader,
458
- Rx as ToastManager,
459
- Ia as ToggleButton,
460
- Lx as ToggleSwitch,
461
- yn as ToggleSwitchField,
462
- Gx as ToggleSwitchGroup,
463
- En as ToggleSwitchGroupField,
464
- Mx as Tooltip,
432
+ Ir as StackItem,
433
+ wx as TOAST_CONFIG,
434
+ Ym as TabList,
435
+ $m as TabPanel,
436
+ bm as Table,
437
+ Fm as TableBody,
438
+ Am as TableCell,
439
+ wm as TableColumnHeader,
440
+ Gm as TableEmptyState,
441
+ hm as TableEmptyStateError,
442
+ ym as TableEmptyStateLoading,
443
+ Lm as TableEmptyStateNoData,
444
+ Em as TableEmptyStateText,
445
+ Hm as TableHeader,
446
+ vm as TableNoSearchResults,
447
+ _m as TablePagination,
448
+ Cm as TableRoot,
449
+ Qm as TableRow,
450
+ Jm as Tabs,
451
+ ix as TaskGroup,
452
+ ex as TaskMenu,
453
+ gx as Text,
454
+ ux as TextArea,
455
+ yn as TextField,
456
+ Cx as Timeline,
457
+ Fx as TimelineStep,
458
+ kx as TimelineStepDescription,
459
+ Bx as TimelineStepHeader,
460
+ Ix as ToastManager,
461
+ Da as ToggleButton,
462
+ vx as ToggleSwitch,
463
+ En as ToggleSwitchField,
464
+ yx as ToggleSwitchGroup,
465
+ Mn as ToggleSwitchGroupField,
466
+ Hx as Tooltip,
465
467
  u as actionBarRoot,
466
468
  _ as autocompleteItem,
467
469
  Q as autocompleteItemGroup,
@@ -470,17 +472,17 @@ export {
470
472
  co as bottomSheetFooter,
471
473
  So as bottomSheetHeader,
472
474
  Do as card,
473
- Zn as carousel,
474
- xf as carouselContent,
475
- ef as carouselHeader,
476
- pf as carouselNav,
477
- lf as carouselSlide,
475
+ of as carousel,
476
+ ff as carouselContent,
477
+ tf as carouselHeader,
478
+ mf as carouselNav,
479
+ df as carouselSlide,
478
480
  Mo as checkboxGroup,
479
481
  Pt as circularIconButton,
480
482
  Yo as dataTableRoot,
481
483
  ue as dialog,
482
484
  rr as errorState,
483
- Wn as fieldRevalidateLogic,
485
+ Jn as fieldRevalidateLogic,
484
486
  ar as fieldset,
485
487
  ur as filterContainer,
486
488
  dr as filterDismissButton,
@@ -501,57 +503,57 @@ export {
501
503
  ro as getInitials,
502
504
  ct as grid,
503
505
  gt as gridItem,
504
- Vx as isDesktopBreakpoint,
505
- _x as isMobileBreakpoint,
506
+ Ux as isDesktopBreakpoint,
507
+ Kx as isMobileBreakpoint,
506
508
  ht as link,
507
- Mt as listViewItem,
508
- Ot as listViewSection,
509
- cp as navItemBase,
510
- Cp as navigationCardGroup,
511
- bn as numberField,
512
- Rp as numberInput,
513
- Dp as page,
514
- yp as pageHeader,
515
- Np as pagination,
516
- Vp as paginationContent,
517
- Wp as paginationLink,
509
+ Ht as listViewItem,
510
+ _t as listViewSection,
511
+ sp as navItemBase,
512
+ Fp as navigationCardGroup,
513
+ Tn as numberField,
514
+ Ip as numberInput,
515
+ hp as page,
516
+ Ep as pageHeader,
517
+ Op as pagination,
518
+ Up as paginationContent,
519
+ Jp as paginationLink,
518
520
  Be as promoDialog,
519
- ba as radioButton,
520
- tx as rawSubTask,
521
- mx as rawTask,
522
- Ba as search,
523
- La as selectableButton,
524
- Ga as selectableButtonGroup,
525
- om as sidePanel,
526
- tm as sidePanelContent,
527
- mm as sidePanelFooter,
528
- fm as sidePanelHeader,
529
- Tm as tableBody,
530
- Bm as tableCell,
531
- Rm as tableColumnHeader,
532
- Em as tableEmptyState,
533
- Nm as tableHeader,
534
- Vm as tablePagination,
535
- Km as tableRow,
536
- ox as taskMenu,
537
- gx as text,
538
- lx as textArea,
539
- wx as toast,
540
- Ex as toggleSwitch,
541
- hx as toggleSwitchGroup,
521
+ Ta as radioButton,
522
+ ax as rawSubTask,
523
+ nx as rawTask,
524
+ ka as search,
525
+ va as selectableButton,
526
+ ya as selectableButtonGroup,
527
+ rm as sidePanel,
528
+ am as sidePanelContent,
529
+ nm as sidePanelFooter,
530
+ lm as sidePanelHeader,
531
+ Pm as tableBody,
532
+ km as tableCell,
533
+ Im as tableColumnHeader,
534
+ Mm as tableEmptyState,
535
+ Om as tableHeader,
536
+ Um as tablePagination,
537
+ Wm as tableRow,
538
+ rx as taskMenu,
539
+ Sx as text,
540
+ dx as textArea,
541
+ Gx as toast,
542
+ Mx as toggleSwitch,
543
+ Lx as toggleSwitchGroup,
542
544
  G as useAppMenuContext,
543
- bf as useAsyncList,
544
- Ux as useBreakpointListener,
545
- Qx as useContainerQueryLevel,
546
- Kn as useFieldA11yContext,
547
- Vn as useFieldContext,
548
- _n as useFormContext,
549
- qx as useMediaQuery,
550
- ea as usePaginationState,
551
- $p as usePaginationWindow,
552
- jn as useRouter,
553
- Mn as useTanstackUnityForm,
554
- Xx as useUnityForm,
555
- Nn as withFieldGroup,
556
- Hn as withForm
545
+ Tf as useAsyncList,
546
+ Qx as useBreakpointListener,
547
+ qx as useContainerQueryLevel,
548
+ Wn as useFieldA11yContext,
549
+ Un as useFieldContext,
550
+ Kn as useFormContext,
551
+ Xx as useMediaQuery,
552
+ ta as usePaginationState,
553
+ ea as usePaginationWindow,
554
+ Yn as useRouter,
555
+ Hn as useTanstackUnityForm,
556
+ zx as useUnityForm,
557
+ On as withFieldGroup,
558
+ Vn as withForm
557
559
  };
@@ -0,0 +1,22 @@
1
+ import { LinkComponent } from '@tanstack/react-router';
2
+ import { RawLinkButton } from '../../../../components/link-button/RawLinkButton.js';
3
+ /**
4
+ * Unity's link button that integrates with Tanstack Router for seamless client-side navigation.
5
+ * Renders as an anchor tag but visually looks like a primary button.
6
+ * @example
7
+ * ```tsx
8
+ * import { LinkButton } from '@payfit/unity-components/integrations/tanstack-router'
9
+ *
10
+ * function Navigation() {
11
+ * return (
12
+ * <LinkButton to="/dashboard">
13
+ * Go to Dashboard
14
+ * </LinkButton>
15
+ * )
16
+ * }
17
+ * ```
18
+ */
19
+ declare const LinkButton: LinkComponent<typeof RawLinkButton> & {
20
+ displayName: string;
21
+ };
22
+ export { LinkButton };
@@ -0,0 +1,7 @@
1
+ import { createLink as t } from "@tanstack/react-router";
2
+ import { RawLinkButton as o } from "../../../../components/link-button/RawLinkButton.js";
3
+ const n = t(o);
4
+ n.displayName = "LinkButton";
5
+ export {
6
+ n as LinkButton
7
+ };
@@ -1,12 +1,20 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { useLinkProps as f, createLink as a } from "@tanstack/react-router";
1
+ import { createElement as s } from "react";
2
+ import { useLinkProps as a, createLink as f } from "@tanstack/react-router";
3
3
  import { RawTab as m } from "../../../../../components/tabs/parts/RawTab.js";
4
- const p = a(m);
5
- function c(r) {
6
- const { suffixElement: t, id: s, ...o } = r, e = f(o), i = s ?? e.href ?? o.to;
4
+ const p = f(m);
5
+ function c(e) {
6
+ const { suffixElement: t, id: i, ...o } = e, n = a(o), r = i ?? n.href ?? o.to;
7
7
  return (
8
8
  // @ts-expect-error - Complex type intersection between router props and component props
9
- /* @__PURE__ */ n(p, { ...o, suffix: t, id: i })
9
+ /* @__PURE__ */ s(
10
+ p,
11
+ {
12
+ ...o,
13
+ key: r,
14
+ suffix: t,
15
+ id: r
16
+ }
17
+ )
10
18
  );
11
19
  }
12
20
  c.displayName = "Tab";
@@ -3,6 +3,7 @@ export * from './components/breadcrumbs/BreadcrumbLink.js';
3
3
  export * from './components/breadcrumbs/Breadcrumbs.js';
4
4
  export * from './components/form-contextual-link/FormContextualLink.js';
5
5
  export * from './components/link/Link.js';
6
+ export * from './components/link-button/LinkButton.js';
6
7
  export * from './components/list-view/ListView.js';
7
8
  export * from './components/list-view/parts/ListViewItem.js';
8
9
  export * from './components/menu-item/MenuItem.js';
@@ -1,40 +1,42 @@
1
- import { BreadcrumbLink as e } from "./tanstack-router/components/breadcrumbs/BreadcrumbLink.js";
1
+ import { BreadcrumbLink as t } from "./tanstack-router/components/breadcrumbs/BreadcrumbLink.js";
2
2
  import { FormContextualLink as m } from "./tanstack-router/components/form-contextual-link/FormContextualLink.js";
3
- import { Link as x } from "./tanstack-router/components/link/Link.js";
4
- import { ListView as p } from "./tanstack-router/components/list-view/ListView.js";
5
- import { ListViewItem as n } from "./tanstack-router/components/list-view/parts/ListViewItem.js";
6
- import { MenuItem as s } from "./tanstack-router/components/menu-item/MenuItem.js";
7
- import { NavigationCard as L } from "./tanstack-router/components/navigation-card/NavigationCard.js";
8
- import { NavItem as T } from "./tanstack-router/components/nav-item/NavItem.js";
9
- import { PaginationLink as d } from "./tanstack-router/components/pagination/PaginationLink.js";
10
- import { PaginationNext as c } from "./tanstack-router/components/pagination/PaginationNext.js";
11
- import { PaginationPrevious as B } from "./tanstack-router/components/pagination/PaginationPrevious.js";
12
- import { Tab as N } from "./tanstack-router/components/tabs/parts/Tab.js";
13
- import { TabPanel as w } from "./tanstack-router/components/tabs/parts/TabPanel.js";
14
- import { Tabs as V } from "./tanstack-router/components/tabs/Tabs.js";
15
- import { Task as M } from "./tanstack-router/components/task-menu/Task.js";
16
- import { SubTask as h } from "./tanstack-router/components/task-menu/SubTask.js";
17
- import { Breadcrumb as q } from "../components/breadcrumbs/parts/Breadcrumb.js";
18
- import { Breadcrumbs as z } from "../components/breadcrumbs/Breadcrumbs.js";
19
- import { TabList as D } from "../components/tabs/parts/TabList.js";
3
+ import { Link as a } from "./tanstack-router/components/link/Link.js";
4
+ import { LinkButton as p } from "./tanstack-router/components/link-button/LinkButton.js";
5
+ import { ListView as n } from "./tanstack-router/components/list-view/ListView.js";
6
+ import { ListViewItem as s } from "./tanstack-router/components/list-view/parts/ListViewItem.js";
7
+ import { MenuItem as L } from "./tanstack-router/components/menu-item/MenuItem.js";
8
+ import { NavigationCard as T } from "./tanstack-router/components/navigation-card/NavigationCard.js";
9
+ import { NavItem as d } from "./tanstack-router/components/nav-item/NavItem.js";
10
+ import { PaginationLink as B } from "./tanstack-router/components/pagination/PaginationLink.js";
11
+ import { PaginationNext as v } from "./tanstack-router/components/pagination/PaginationNext.js";
12
+ import { PaginationPrevious as N } from "./tanstack-router/components/pagination/PaginationPrevious.js";
13
+ import { Tab as w } from "./tanstack-router/components/tabs/parts/Tab.js";
14
+ import { TabPanel as V } from "./tanstack-router/components/tabs/parts/TabPanel.js";
15
+ import { Tabs as M } from "./tanstack-router/components/tabs/Tabs.js";
16
+ import { Task as h } from "./tanstack-router/components/task-menu/Task.js";
17
+ import { SubTask as q } from "./tanstack-router/components/task-menu/SubTask.js";
18
+ import { Breadcrumb as z } from "../components/breadcrumbs/parts/Breadcrumb.js";
19
+ import { Breadcrumbs as D } from "../components/breadcrumbs/Breadcrumbs.js";
20
+ import { TabList as G } from "../components/tabs/parts/TabList.js";
20
21
  export {
21
- q as Breadcrumb,
22
- e as BreadcrumbLink,
23
- z as Breadcrumbs,
22
+ z as Breadcrumb,
23
+ t as BreadcrumbLink,
24
+ D as Breadcrumbs,
24
25
  m as FormContextualLink,
25
- x as Link,
26
- p as ListView,
27
- n as ListViewItem,
28
- s as MenuItem,
29
- T as NavItem,
30
- L as NavigationCard,
31
- d as PaginationLink,
32
- c as PaginationNext,
33
- B as PaginationPrevious,
34
- h as SubTask,
35
- N as Tab,
36
- D as TabList,
37
- w as TabPanel,
38
- V as Tabs,
39
- M as Task
26
+ a as Link,
27
+ p as LinkButton,
28
+ n as ListView,
29
+ s as ListViewItem,
30
+ L as MenuItem,
31
+ d as NavItem,
32
+ T as NavigationCard,
33
+ B as PaginationLink,
34
+ v as PaginationNext,
35
+ N as PaginationPrevious,
36
+ q as SubTask,
37
+ w as Tab,
38
+ G as TabList,
39
+ V as TabPanel,
40
+ M as Tabs,
41
+ h as Task
40
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-components",
3
- "version": "2.23.0",
3
+ "version": "2.24.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.23.0",
45
+ "@payfit/unity-illustrations": "2.24.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.23.0",
78
- "@payfit/unity-themes": "2.23.0",
77
+ "@payfit/unity-icons": "2.24.1",
78
+ "@payfit/unity-themes": "2.24.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.23.0",
99
- "@payfit/unity-illustrations": "2.23.0",
100
- "@payfit/unity-themes": "2.23.0",
98
+ "@payfit/unity-icons": "2.24.1",
99
+ "@payfit/unity-illustrations": "2.24.1",
100
+ "@payfit/unity-themes": "2.24.1",
101
101
  "@payfit/vite-configs": "0.0.0-use.local",
102
102
  "@storybook/addon-a11y": "10.3.5",
103
103
  "@storybook/addon-designs": "11.1.3",