@payfit/unity-components 3.29.59 → 3.29.61
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/core/components/action-bar/parts/ActionBarOverflowMenu.d.ts +1 -1
- package/dist/esm/core/components/action-bar/parts/ActionBarPrefixArea.d.ts +1 -1
- package/dist/esm/core/components/actionable/Actionable.js +13 -13
- package/dist/esm/core/components/alert/parts/AlertActions.d.ts +1 -1
- package/dist/esm/core/components/anchor/Anchor.d.ts +1 -1
- package/dist/esm/core/components/app-menu/parts/AppMenu.context.d.ts +1 -1
- package/dist/esm/core/components/autocomplete/Autocomplete.d.ts +1 -1
- package/dist/esm/core/components/autocomplete/parts/AutocompleteItem.d.ts +1 -1
- package/dist/esm/core/components/autocomplete/parts/AutocompleteItemGroup.d.ts +1 -1
- package/dist/esm/core/components/autocomplete/parts/AutocompletePanel.d.ts +1 -1
- package/dist/esm/core/components/avatar/Avatar.d.ts +1 -1
- package/dist/esm/core/components/avatar/Avatar.js +7 -7
- package/dist/esm/core/components/avatar/AvatarWithTooltip.js +4 -4
- package/dist/esm/core/components/avatar/InteractiveAvatar.js +4 -4
- package/dist/esm/core/components/avatar/parts/AvatarPair.d.ts +1 -1
- package/dist/esm/core/components/badge/Badge.d.ts +1 -1
- package/dist/esm/core/components/badge/parts/BadgeDot.d.ts +1 -1
- package/dist/esm/core/components/bottom-sheet/BottomSheet.d.ts +1 -1
- package/dist/esm/core/components/bottom-sheet/parts/BottomSheetContent.d.ts +1 -1
- package/dist/esm/core/components/bottom-sheet/parts/BottomSheetFooter.d.ts +1 -1
- package/dist/esm/core/components/bottom-sheet/parts/BottomSheetHeader.d.ts +1 -1
- package/dist/esm/core/components/bottom-sheet/test-utils.d.ts +1 -1
- package/dist/esm/core/components/breadcrumbs/Breadcrumbs.context.d.ts +1 -1
- package/dist/esm/core/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/esm/core/components/button/Button.d.ts +1 -1
- package/dist/esm/core/components/card/Card.d.ts +1 -1
- package/dist/esm/core/components/card/parts/CardContent.d.ts +1 -1
- package/dist/esm/core/components/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/dist/esm/core/components/client-side-pagination/ClientSidePagination.d.ts +1 -1
- package/dist/esm/core/components/client-side-pagination/parts/PaginationEllipsis.d.ts +1 -1
- package/dist/esm/core/components/client-side-pagination/parts/PaginationJumpDialog.js +8 -8
- package/dist/esm/core/components/client-side-pagination/parts/RawPaginationLink.d.ts +1 -1
- package/dist/esm/core/components/collapsible/Collapsible.d.ts +1 -1
- package/dist/esm/core/components/collapsible/parts/CollapsibleContent.d.ts +1 -1
- package/dist/esm/core/components/collapsible-group/CollapsibleGroup.d.ts +1 -1
- package/dist/esm/core/components/dialog/Dialog.d.ts +1 -1
- package/dist/esm/core/components/dialog/parts/DialogActions/DialogButton.d.ts +1 -1
- package/dist/esm/core/components/dropzone/DropzoneOverlay.js +6 -6
- package/dist/esm/core/components/error-state/ErrorState.d.ts +1 -1
- package/dist/esm/core/components/error-state/initConfig.d.ts +2 -2
- package/dist/esm/core/components/error-state/initConfig.js +7 -7
- package/dist/esm/core/components/fieldset/Fieldset.d.ts +1 -1
- package/dist/esm/core/components/filter/Filter.types.d.ts +1 -1
- package/dist/esm/core/components/filter/parts/FilterButton.d.ts +2 -2
- package/dist/esm/core/components/filter/parts/FilterPopover.d.ts +1 -1
- package/dist/esm/core/components/filter-toolbar/parts/AddFilter.d.ts +1 -1
- package/dist/esm/core/components/filter-toolbar/parts/AddFilterItem.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/FunnelLayout.context.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelBody.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelPage.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelPageContent.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelPageFooter.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelPageHeader.d.ts +1 -1
- package/dist/esm/core/components/funnel-layout/parts/FunnelSidebar.d.ts +1 -1
- package/dist/esm/core/components/icon/Icon.d.ts +1 -1
- package/dist/esm/core/components/icon-button/CircularIconButton.d.ts +1 -1
- package/dist/esm/core/components/icon-button/IconButton.d.ts +1 -1
- package/dist/esm/core/components/link/RawLink.d.ts +1 -1
- package/dist/esm/core/components/link-button/RawLinkButton.d.ts +1 -1
- package/dist/esm/core/components/menu/parts/MenuHeader.d.ts +1 -1
- package/dist/esm/core/components/menu/parts/MenuTrigger.d.ts +1 -1
- package/dist/esm/core/components/multi-select/MultiSelect.js +8 -8
- package/dist/esm/core/components/nav/parts/RawNavItem.d.ts +1 -1
- package/dist/esm/core/components/number-input/NumberInput.d.ts +1 -1
- package/dist/esm/core/components/page/Page.d.ts +1 -1
- package/dist/esm/core/components/page/parts/PageHeader.d.ts +1 -1
- package/dist/esm/core/components/pagination/Pagination.d.ts +1 -1
- package/dist/esm/core/components/pagination/parts/PaginationContent.d.ts +1 -1
- package/dist/esm/core/components/pagination/parts/PaginationEllipsis.d.ts +1 -1
- package/dist/esm/core/components/pagination/parts/RawPaginationLink.d.ts +1 -1
- package/dist/esm/core/components/pagination/parts/RawPaginationNext.d.ts +1 -1
- package/dist/esm/core/components/pagination/parts/RawPaginationPrevious.d.ts +1 -1
- package/dist/esm/core/components/phone-number/parts/PhoneNumberItem.d.ts +1 -1
- package/dist/esm/core/components/pill/Pill.d.ts +1 -1
- package/dist/esm/core/components/progress-bar/ProgressBar.d.ts +1 -1
- package/dist/esm/core/components/promo-dialog/PromoDialog.d.ts +1 -1
- package/dist/esm/core/components/radio-button-group/parts/RadioButton.d.ts +1 -1
- package/dist/esm/core/components/radio-button-group/parts/RadioIndicator.d.ts +1 -1
- package/dist/esm/core/components/search/Search.d.ts +1 -1
- package/dist/esm/core/components/segmented-button-group/parts/ToggleButton.d.ts +1 -1
- package/dist/esm/core/components/segmented-button-group/parts/ToggleButton.js +4 -4
- package/dist/esm/core/components/select-list/parts/SelectedItemsSection.d.ts +1 -1
- package/dist/esm/core/components/selectable-button-group/SelectableButtonGroup.d.ts +1 -1
- package/dist/esm/core/components/selectable-button-group/parts/SelectableButton.js +7 -7
- package/dist/esm/core/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.d.ts +1 -1
- package/dist/esm/core/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.d.ts +1 -1
- package/dist/esm/core/components/side-panel/SidePanel.d.ts +1 -1
- package/dist/esm/core/components/side-panel/parts/SidePanelContent.d.ts +1 -1
- package/dist/esm/core/components/side-panel/parts/SidePanelFooter.d.ts +1 -1
- package/dist/esm/core/components/side-panel/parts/SidePanelHeader.d.ts +1 -1
- package/dist/esm/core/components/stepper/Stepper.context.d.ts +1 -1
- package/dist/esm/core/components/table/parts/TableEmptyState.d.ts +3 -3
- package/dist/esm/core/components/table/parts/TablePagination.d.ts +1 -1
- package/dist/esm/core/components/tabs/Tabs.context.d.ts +1 -1
- package/dist/esm/core/components/tabs/Tabs.d.ts +1 -1
- package/dist/esm/core/components/task-menu/TaskMenu.d.ts +1 -1
- package/dist/esm/core/components/task-menu/parts/RawTask.d.ts +1 -1
- package/dist/esm/core/components/text/Text.d.ts +1 -1
- package/dist/esm/core/components/timeline/Timeline.d.ts +1 -1
- package/dist/esm/core/components/toast/UnityToast.d.ts +1 -1
- package/dist/esm/core/components/toast/parts/ToastAction.d.ts +1 -1
- package/dist/esm/core/components/toggle-switch/ToggleSwitch.d.ts +1 -1
- package/dist/esm/core/components/toggle-switch-group/ToggleSwitchGroup.d.ts +1 -1
- package/dist/esm/docs/reference/catalog/CatalogCard.d.ts +1 -1
- package/dist/esm/modules/ai-kit/components/ai-button/AIButton.d.ts +1 -1
- package/dist/esm/modules/ai-kit/components/ai-composer/parts/AIComposerActions.d.ts +1 -1
- package/dist/esm/modules/ai-kit/components/ai-composer/parts/AIComposerAttachment.d.ts +1 -1
- package/dist/esm/modules/ai-kit/components/ai-outcome-card/parts/AIOutcomeCardActions.d.ts +1 -1
- package/dist/esm/modules/ai-kit/components/ai-structured-input/hooks/use-ai-structured-input-navigation.d.ts +1 -4
- package/dist/esm/modules/ai-kit/components/proposal-card/ProposalCard.d.ts +1 -1
- package/dist/esm/modules/ai-kit/index.d.ts +4 -4
- package/dist/esm/modules/tanstack-form/components/checkbox-field/TanstackCheckboxField.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/checkbox-group-field/TanstackCheckGroupField.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/date-picker-field/TanstackDatePickerField.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/date-range-picker-field/TanstackDateRangePickerField.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/inline-field/parts/InlineFieldReadView.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/inline-field-group/parts/InlineFieldGroupReadView.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/password-field/parts/PasswordFieldDetails.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/password-field/parts/ValidationRuleItem.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/components/text-field/TanstackTextField.d.ts +1 -1
- package/dist/esm/modules/tanstack-form/hooks/tanstack-form-default-values.d.ts +1 -4
- package/dist/esm/modules/tanstack-table/components/data-table/DataTable.d.ts +1 -1
- package/dist/esm/modules/tanstack-table/components/data-table/DataTable.js +7 -7
- package/package.json +6 -6
- package/skills/unity-data-table/SKILL.md +9 -10
- package/skills/unity-data-table/references/patterns.md +28 -30
- package/skills/unity-find-component/SKILL.md +23 -26
- package/skills/unity-layout/SKILL.md +16 -4
- package/skills/unity-layout/references/patterns.md +10 -2
- package/skills/unity-migrate-from-midnight/SKILL.md +8 -2
- package/skills/unity-navigation/SKILL.md +3 -2
- package/skills/unity-navigation/references/patterns.md +9 -7
- package/skills/unity-overlays/SKILL.md +8 -2
- package/skills/unity-overlays/references/patterns.md +21 -22
- package/skills/unity-tanstack-form/SKILL.md +18 -15
- package/skills/unity-tanstack-form/references/patterns.md +3 -5
|
@@ -5,5 +5,5 @@ interface ActionBarOverflowMenuProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* Mobile overflow menu for non-primary actions
|
|
7
7
|
*/
|
|
8
|
-
export declare const ActionBarOverflowMenu: ({ actions
|
|
8
|
+
export declare const ActionBarOverflowMenu: ({ actions }: ActionBarOverflowMenuProps) => import('react/jsx-runtime').JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -6,5 +6,5 @@ interface ActionBarPrefixAreaProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* Prefix content area with optional keyboard shortcut announcement
|
|
8
8
|
*/
|
|
9
|
-
export declare const ActionBarPrefixArea: ({ children, ariaKeyshortcuts
|
|
9
|
+
export declare const ActionBarPrefixArea: ({ children, ariaKeyshortcuts }: ActionBarPrefixAreaProps) => import('react/jsx-runtime').JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { forwardRef as e, useMemo as t, useState as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { mergeProps as r, useFocus as i, useHover as a, useObjectRef as o } from "react-aria";
|
|
3
|
+
import { useButton as s } from "react-aria/useButton";
|
|
4
4
|
import { useFocusRing as c } from "react-aria/useFocusRing";
|
|
5
|
-
import {
|
|
5
|
+
import { uyTv as l } from "@payfit/unity-themes";
|
|
6
6
|
import { jsx as u } from "react/jsx-runtime";
|
|
7
7
|
//#region src/core/components/actionable/Actionable.tsx
|
|
8
|
-
var d =
|
|
8
|
+
var d = l({
|
|
9
9
|
base: "uy:group",
|
|
10
10
|
variants: { isUnstyled: {
|
|
11
11
|
true: "",
|
|
@@ -16,22 +16,22 @@ var d = r({
|
|
|
16
16
|
]
|
|
17
17
|
} },
|
|
18
18
|
defaultVariants: { isUnstyled: !1 }
|
|
19
|
-
}), f = e((e,
|
|
19
|
+
}), f = e((e, l) => {
|
|
20
20
|
let { asElement: f = "div", isUnstyled: p = !1, className: m, children: h, ...g } = e;
|
|
21
|
-
|
|
22
|
-
let { isFocusVisible: _, focusProps: v } = c(), { isHovered: y, hoverProps: b } =
|
|
21
|
+
l = o(l);
|
|
22
|
+
let { isFocusVisible: _, focusProps: v } = c(), { isHovered: y, hoverProps: b } = a({
|
|
23
23
|
onHoverStart: g.onHoverStart,
|
|
24
24
|
onHoverEnd: g.onHoverEnd,
|
|
25
25
|
onHoverChange: g.onHoverChange,
|
|
26
26
|
isDisabled: g.isDisabled
|
|
27
|
-
}), [x, S] = n(!1), { focusProps: C } =
|
|
27
|
+
}), [x, S] = n(!1), { focusProps: C } = i({
|
|
28
28
|
onFocusChange: S,
|
|
29
29
|
isDisabled: g.isDisabled
|
|
30
|
-
}), { buttonProps: w, isPressed: T } =
|
|
30
|
+
}), { buttonProps: w, isPressed: T } = s({
|
|
31
31
|
...g,
|
|
32
32
|
isDisabled: g.isDisabled,
|
|
33
33
|
elementType: f
|
|
34
|
-
},
|
|
34
|
+
}, l), E = t(() => d({
|
|
35
35
|
isUnstyled: p,
|
|
36
36
|
className: m
|
|
37
37
|
}), [m, p]), D = f, O = (e) => {
|
|
@@ -39,9 +39,9 @@ var d = r({
|
|
|
39
39
|
e.preventDefault(), e.stopPropagation();
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
let t =
|
|
42
|
+
let t = r(w, b, C, v);
|
|
43
43
|
t.onClick && t.onClick(e);
|
|
44
|
-
}, { onClick: k, ...A } =
|
|
44
|
+
}, { onClick: k, ...A } = r(w, b, C, v);
|
|
45
45
|
return /* @__PURE__ */ u(D, {
|
|
46
46
|
...A,
|
|
47
47
|
onClick: O,
|
|
@@ -51,7 +51,7 @@ var d = r({
|
|
|
51
51
|
...y && { "data-hovered": y },
|
|
52
52
|
...g.isDisabled && { "data-disabled": g.isDisabled },
|
|
53
53
|
...x && _ && { "data-focus-visible": _ },
|
|
54
|
-
ref:
|
|
54
|
+
ref: l,
|
|
55
55
|
children: typeof h == "function" ? h({
|
|
56
56
|
isHovered: y,
|
|
57
57
|
isPressed: T,
|
|
@@ -9,7 +9,7 @@ interface AnchorProps {
|
|
|
9
9
|
* The Anchor component is a primitive used to anchor a small component to a larger one in any of the large component's corners.
|
|
10
10
|
*/
|
|
11
11
|
declare const Anchor: {
|
|
12
|
-
({ children, position, offset
|
|
12
|
+
({ children, position, offset }: AnchorProps): import('react/jsx-runtime').JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
export { Anchor };
|
|
@@ -4,6 +4,6 @@ type AppMenuContextValue = {
|
|
|
4
4
|
toggleMobileMenu: () => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const AppMenuContext: import('react').Context<AppMenuContextValue>;
|
|
7
|
-
export declare function AppMenuContextProvider({ children
|
|
7
|
+
export declare function AppMenuContextProvider({ children }: PropsWithChildren<object>): import('react/jsx-runtime').JSX.Element;
|
|
8
8
|
export declare function useAppMenuContext(): AppMenuContextValue;
|
|
9
9
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { LoadingState } from '@react-types/shared';
|
|
3
2
|
import { ForwardedRef, ReactNode } from 'react';
|
|
4
3
|
import { ComboBoxProps, ListBoxProps } from 'react-aria-components/ComboBox';
|
|
4
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
5
5
|
declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
6
6
|
isReadOnly: {
|
|
7
7
|
true: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ListBoxItemProps } from 'react-aria-components/ListBox';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
export declare const autocompleteItem: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
isDisabled: {
|
|
5
5
|
false: "uy:data-[hovered=\"true\"]:bg-surface-neutral-hover";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ForwardedRef } from 'react';
|
|
3
2
|
import { ListBoxSectionProps } from 'react-aria-components/ListBox';
|
|
3
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
4
4
|
export declare const autocompleteItemGroup: import('tailwind-variants').TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
6
|
[key: string]: import('tailwind-variants').ClassValue | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
3
2
|
import { PopoverProps } from 'react-aria-components/Popover';
|
|
3
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
4
4
|
import { AutocompleteProps } from '../Autocomplete.js';
|
|
5
5
|
declare const autocompletePanel: import('tailwind-variants').TVReturnType<{
|
|
6
6
|
[key: string]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const avatarRoot: import('tailwind-variants').TVReturnType<{} | {
|
|
5
5
|
size: {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { useAvatarGroupContext as e } from "../avatar-group/AvatarGroup.context.js";
|
|
2
|
+
import { AvatarProvider as t } from "./Avatar.context.js";
|
|
3
|
+
import { avatarBase as n } from "./Avatar.variants.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { uyMerge as i, uyTv as a } from "@payfit/unity-themes";
|
|
6
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
7
|
import * as s from "@radix-ui/react-avatar";
|
|
8
8
|
//#region src/core/components/avatar/Avatar.tsx
|
|
9
9
|
var c = a({
|
|
10
|
-
extend:
|
|
10
|
+
extend: n,
|
|
11
11
|
base: "uy:inline-block uy:relative uy:shrink-0",
|
|
12
12
|
defaultVariants: {
|
|
13
13
|
size: "md",
|
|
14
14
|
variant: "circle"
|
|
15
15
|
}
|
|
16
|
-
}), l = r.forwardRef(({ size:
|
|
17
|
-
let f =
|
|
16
|
+
}), l = r.forwardRef(({ size: n, variant: r = "circle", color: a, className: l, ...u }, d) => {
|
|
17
|
+
let f = e(), p = n ?? f?.defaultSize ?? "md", m = i(c({
|
|
18
18
|
variant: r,
|
|
19
19
|
size: p,
|
|
20
20
|
color: a
|
|
21
21
|
}), f?.variant === "stack" ? "uy:outline-1 uy:outline-solid uy:outline-grayscale-l0" : void 0, l);
|
|
22
|
-
return /* @__PURE__ */ o(
|
|
22
|
+
return /* @__PURE__ */ o(t, {
|
|
23
23
|
variant: r,
|
|
24
24
|
size: p,
|
|
25
25
|
hasPair: !1,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Actionable as e } from "../actionable/Actionable.js";
|
|
2
2
|
import { Tooltip as t } from "../tooltip/Tooltip.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useAvatarGroupContext as n } from "../avatar-group/AvatarGroup.context.js";
|
|
4
|
+
import { avatarBase as r } from "./Avatar.variants.js";
|
|
5
5
|
import { Avatar as i } from "./Avatar.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import { uyMerge as o } from "@payfit/unity-themes";
|
|
8
8
|
import { jsx as s } from "react/jsx-runtime";
|
|
9
9
|
//#region src/core/components/avatar/AvatarWithTooltip.tsx
|
|
10
10
|
var c = a.forwardRef(({ tooltip: a, "aria-label": c, "aria-labelledby": l, "aria-describedby": u, "aria-details": d, className: f, size: p, variant: m, ...h }, g) => {
|
|
11
|
-
let _ =
|
|
11
|
+
let _ = n(), v = m ?? "circle", y = p ?? _?.defaultSize ?? "md", b = c ? { "aria-label": c } : { "aria-labelledby": l ?? "" };
|
|
12
12
|
return /* @__PURE__ */ s(t, {
|
|
13
13
|
title: a,
|
|
14
14
|
children: /* @__PURE__ */ s(e, {
|
|
@@ -19,7 +19,7 @@ var c = a.forwardRef(({ tooltip: a, "aria-label": c, "aria-labelledby": l, "aria
|
|
|
19
19
|
"aria-labelledby": l,
|
|
20
20
|
"aria-describedby": u,
|
|
21
21
|
"aria-details": d,
|
|
22
|
-
className: o(
|
|
22
|
+
className: o(r({
|
|
23
23
|
variant: v,
|
|
24
24
|
size: y
|
|
25
25
|
}), "uy:cursor-default uy:leading-[0] uy:outline-none uy:data-[focus-visible=true]:ring-2 uy:data-[focus-visible=true]:ring-utility-focus-ring uy:data-[focus-visible=true]:ring-offset-2"),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Actionable as e } from "../actionable/Actionable.js";
|
|
2
2
|
import { Tooltip as t } from "../tooltip/Tooltip.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useAvatarGroupContext as n } from "../avatar-group/AvatarGroup.context.js";
|
|
4
|
+
import { avatarBase as r } from "./Avatar.variants.js";
|
|
5
5
|
import { Avatar as i } from "./Avatar.js";
|
|
6
6
|
import * as a from "react";
|
|
7
7
|
import { uyMerge as o } from "@payfit/unity-themes";
|
|
8
8
|
import { jsx as s } from "react/jsx-runtime";
|
|
9
9
|
//#region src/core/components/avatar/InteractiveAvatar.tsx
|
|
10
10
|
var c = a.forwardRef(({ tooltip: a, onPress: c, onPressStart: l, onPressEnd: u, onPressChange: d, children: f, ...p }, m) => {
|
|
11
|
-
let h =
|
|
11
|
+
let h = n();
|
|
12
12
|
return /* @__PURE__ */ s(t, {
|
|
13
13
|
title: a,
|
|
14
14
|
children: /* @__PURE__ */ s(e, {
|
|
15
15
|
ref: m,
|
|
16
16
|
asElement: "button",
|
|
17
17
|
type: "button",
|
|
18
|
-
className: o(
|
|
18
|
+
className: o(r({
|
|
19
19
|
variant: p.variant ?? "circle",
|
|
20
20
|
size: p.size ?? h?.defaultSize ?? "md"
|
|
21
21
|
}), "uy:cursor-pointer uy:leading-[0] uy:outline-none uy:data-[focus-visible=true]:ring-2 uy:data-[focus-visible=true]:ring-utility-focus-ring uy:data-[focus-visible=true]:ring-offset-2"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
import { avatarBase } from '../Avatar.variants.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
export type AvatarPairProps = PropsWithChildren<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
3
2
|
import { SheetProps, SheetTrigger } from 'react-aria-components/Sheet';
|
|
3
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
4
4
|
export declare const bottomSheet: import('tailwind-variants').TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
6
|
[key: string]: import('tailwind-variants').ClassValue | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
export declare const bottomSheetContent: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
5
|
[key: string]: import('tailwind-variants').ClassValue | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
export declare const bottomSheetFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
4
4
|
export interface BottomSheetFooterProps extends PropsWithChildren<VariantProps<typeof bottomSheetFooter>> {
|
|
5
5
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
export declare const bottomSheetHeader: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
5
|
[key: string]: import('tailwind-variants').ClassValue | {
|
|
@@ -16,7 +16,7 @@ export declare const getTestingUtilsBottomSheet: (context: PlayCtx, globalIntl:
|
|
|
16
16
|
title: string;
|
|
17
17
|
dismissButtonLabel?: string;
|
|
18
18
|
}) => Promise<void>;
|
|
19
|
-
closeBottomSheetByClickingOutside: ({ title
|
|
19
|
+
closeBottomSheetByClickingOutside: ({ title }: {
|
|
20
20
|
title: string;
|
|
21
21
|
}) => Promise<void>;
|
|
22
22
|
assertBottomSheetIsClosed: (bottomSheet: HTMLElement) => Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
import { breadcrumbsVariant } from './Breadcrumbs.variant.js';
|
|
4
4
|
interface BreadcrumbsContextValue {
|
|
5
5
|
wrap: VariantProps<typeof breadcrumbsVariant>['wrap'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ComponentPropsWithoutRef, ReactElement, ReactNode, Ref } from 'react';
|
|
3
2
|
import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components/Breadcrumbs';
|
|
4
3
|
import { AriaBreadcrumbsProps as AriaAriaBreadcrumbsProps } from 'react-aria/useBreadcrumbs';
|
|
4
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
5
5
|
import { Breadcrumb } from './parts/Breadcrumb.js';
|
|
6
6
|
import { breadcrumbsVariant } from './Breadcrumbs.variant.js';
|
|
7
7
|
type BreadcrumbWrap = VariantProps<typeof breadcrumbsVariant>['wrap'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UnityIcon } from '@payfit/unity-icons';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
3
2
|
import { ButtonProps as AriaButtonProps } from 'react-aria-components/Button';
|
|
3
|
+
import { UnityIcon } from '@payfit/unity-icons';
|
|
4
4
|
import { ButtonBase, ButtonFilled, ButtonGhost, ButtonOutlined } from './Button.variants.js';
|
|
5
5
|
type UnityButtonProps = AriaButtonProps & ButtonBase & {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
2
|
import { CheckboxGroupProps as AriaCheckboxGroupProps } from 'react-aria-components/CheckboxGroup';
|
|
3
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
4
4
|
export declare const checkboxGroup: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex uy:flex-col uy:gap-50", {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
5
5
|
export interface CheckboxGroupProps extends VariantProps<typeof checkboxGroup>, Omit<AriaCheckboxGroupProps, 'className' | 'class'> {
|
|
6
6
|
/** The label for the checkbox group. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ComponentType } from 'react';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
import { PaginationLinkProps } from './parts/RawPaginationLink.js';
|
|
4
4
|
declare const pagination: import('tailwind-variants').TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { ButtonProps } from 'react-aria-components/Button';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
import { paginationLink } from './RawPaginationLink.js';
|
|
4
4
|
interface PaginationEllipsisProps extends Omit<ButtonProps, 'value' | 'children' | 'className' | 'style' | 'slot'>, VariantProps<typeof paginationLink> {
|
|
5
5
|
value: [number, number];
|
|
@@ -2,14 +2,14 @@ import { Icon as e } from "../../icon/Icon.js";
|
|
|
2
2
|
import { Button as t } from "../../button/Button.js";
|
|
3
3
|
import { Label as n } from "../../label/Label.js";
|
|
4
4
|
import { useRef as r } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { useButton as i } from "react-aria/useButton";
|
|
6
|
+
import { uyTv as a } from "@payfit/unity-themes";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { useIntl as l } from "react-intl";
|
|
9
9
|
import { useOverlay as u } from "react-aria/useOverlay";
|
|
10
10
|
import { useOverlayTrigger as d } from "react-aria/useOverlayTrigger";
|
|
11
11
|
//#region src/core/components/client-side-pagination/parts/PaginationJumpDialog.tsx
|
|
12
|
-
var f =
|
|
12
|
+
var f = a({ slots: {
|
|
13
13
|
jumpButton: "uy:sr-only uy:outline-none uy:focus:not-sr-only uy:focus:absolute uy:focus:bottom-full uy:focus:z-10 uy:focus:m-100 uy:focus:rounded-50 uy:focus:underline uy:focus:bg-transparent uy:focus:text-content-primary uy:focus:typography-action uy:focus:ring-2 uy:focus:ring-offset-2 uy:focus:ring-utility-focus-ring",
|
|
14
14
|
jumpPopover: "uy:fixed uy:top-1/2 uy:left-1/2 uy:z-20 uy:transform uy:-translate-x-1/2 uy:-translate-y-1/2 uy:bg-surface-neutral uy:p-200 uy:rounded-200 uy:shadow-floating",
|
|
15
15
|
jumpForm: "uy:flex uy:flex-col uy:gap-100",
|
|
@@ -18,8 +18,8 @@ var f = i({ slots: {
|
|
|
18
18
|
jumpInput: "uy:pl-100 uy:flex-1 uy:outline-none uy:appearance-none uy:[&::-webkit-outer-spin-button]:appearance-none uy:[&::-webkit-inner-spin-button]:appearance-none",
|
|
19
19
|
jumpActions: "uy:flex uy:gap-150 uy:justify-end uy:mt-100"
|
|
20
20
|
} });
|
|
21
|
-
function p({ pageCount:
|
|
22
|
-
let h = l(), g = r(null), _ = r(null), v = r(null), { triggerProps: y } = d({ type: "dialog" }, m, g), { buttonProps: b } =
|
|
21
|
+
function p({ pageCount: a, onJumpToPage: p, state: m }) {
|
|
22
|
+
let h = l(), g = r(null), _ = r(null), v = r(null), { triggerProps: y } = d({ type: "dialog" }, m, g), { buttonProps: b } = i({
|
|
23
23
|
...y,
|
|
24
24
|
"aria-label": h.formatMessage({
|
|
25
25
|
id: "unity:component:pagination:jump-dialog:button:text",
|
|
@@ -33,7 +33,7 @@ function p({ pageCount: i, onJumpToPage: p, state: m }) {
|
|
|
33
33
|
}, _), S = (e) => {
|
|
34
34
|
e.preventDefault();
|
|
35
35
|
let t = parseInt(v.current?.value || "", 10);
|
|
36
|
-
t >= 1 && t <=
|
|
36
|
+
t >= 1 && t <= a && (p(t), m.close());
|
|
37
37
|
}, { jumpButton: C, jumpPopover: w, jumpForm: T, jumpFieldLabel: E, jumpFieldWrapper: D, jumpInput: O, jumpActions: k } = f();
|
|
38
38
|
return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("button", {
|
|
39
39
|
...b,
|
|
@@ -62,7 +62,7 @@ function p({ pageCount: i, onJumpToPage: p, state: m }) {
|
|
|
62
62
|
children: h.formatMessage({
|
|
63
63
|
id: "unity:component:pagination:jump-dialog:input:label",
|
|
64
64
|
defaultMessage: "Enter page number (between 1 and {total})"
|
|
65
|
-
}, { total:
|
|
65
|
+
}, { total: a })
|
|
66
66
|
}),
|
|
67
67
|
/* @__PURE__ */ c("div", {
|
|
68
68
|
className: D(),
|
|
@@ -70,7 +70,7 @@ function p({ pageCount: i, onJumpToPage: p, state: m }) {
|
|
|
70
70
|
ref: v,
|
|
71
71
|
type: "number",
|
|
72
72
|
min: 1,
|
|
73
|
-
max:
|
|
73
|
+
max: a,
|
|
74
74
|
className: O(),
|
|
75
75
|
id: `jump-to-page-${x.id}-input`,
|
|
76
76
|
autoFocus: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
2
1
|
import { LinkProps } from 'react-aria-components/Link';
|
|
2
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
3
3
|
export declare const paginationLink: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
isActive: {
|
|
5
5
|
true: "uy:bg-surface-neutral-lowest-selected";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { DisclosureProps } from 'react-aria-components/Disclosure';
|
|
3
|
-
import { collapsible } from './Collapsible.variants.js';
|
|
4
3
|
import { VariantProps } from '@payfit/unity-themes';
|
|
4
|
+
import { collapsible } from './Collapsible.variants.js';
|
|
5
5
|
export interface CollapsibleProps extends VariantProps<typeof collapsible>, Omit<DisclosureProps, 'className'> {
|
|
6
6
|
/**
|
|
7
7
|
* The content of the collapsible component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { SpacingToken } from '../../../utils/spacing.js';
|
|
3
2
|
import { ResponsiveValue } from '../../../hooks/use-responsive-value.js';
|
|
3
|
+
import { SpacingToken } from '../../../utils/spacing.js';
|
|
4
4
|
/**
|
|
5
5
|
* @description
|
|
6
6
|
* The CollapsibleContent component renders the content that is shown or hidden
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DisclosureGroupProps } from 'react-aria-components';
|
|
2
|
-
import { SpacingToken } from '../../utils/spacing.js';
|
|
3
2
|
import { ResponsiveValue } from '../../hooks/use-responsive-value.js';
|
|
3
|
+
import { SpacingToken } from '../../utils/spacing.js';
|
|
4
4
|
export interface CollapsibleGroupProps extends Omit<DisclosureGroupProps, 'className' | 'style'> {
|
|
5
5
|
/**
|
|
6
6
|
* Space between each `Collapsible` item.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { VariantProps } from '@payfit/unity-themes';
|
|
3
2
|
import { DialogRenderProps, DialogTrigger } from 'react-aria-components/Dialog';
|
|
3
|
+
import { VariantProps } from '@payfit/unity-themes';
|
|
4
4
|
export declare const dialog: import('tailwind-variants').TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
sm: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UnityIcon } from '@payfit/unity-icons';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { UnityIcon } from '@payfit/unity-icons';
|
|
3
3
|
import { ButtonProps } from '../../../button/Button.js';
|
|
4
4
|
type ButtonVariant = 'close' | 'confirm' | 'danger';
|
|
5
5
|
type OnPressParameters = Parameters<NonNullable<ButtonProps['onPress']>>[0];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DropzoneContextProvider as e } from "./Dropzone.context.js";
|
|
2
2
|
import { DropzoneContent as t } from "./parts/DropzoneContent.js";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { useId as r } from "react-aria";
|
|
5
|
+
import { uyTv as i } from "@payfit/unity-themes";
|
|
6
6
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
import { DropZone as c } from "react-aria-components/DropZone";
|
|
8
8
|
//#region src/core/components/dropzone/DropzoneOverlay.tsx
|
|
9
|
-
var l =
|
|
9
|
+
var l = i({
|
|
10
10
|
slots: {
|
|
11
11
|
base: "uy:relative",
|
|
12
12
|
target: "uy:relative uy:block uy:rounded-none uy:border-0 uy:bg-transparent uy:p-0 uy:text-left",
|
|
@@ -21,8 +21,8 @@ var l = r({
|
|
|
21
21
|
false: { content: "uy:pointer-events-none uy:opacity-0" }
|
|
22
22
|
} },
|
|
23
23
|
defaultVariants: { isDropTarget: !1 }
|
|
24
|
-
}), u = n(({ children: n, overlay:
|
|
25
|
-
let h =
|
|
24
|
+
}), u = n(({ children: n, overlay: i, "aria-describedby": u, "aria-labelledby": d, className: f, ...p }, m) => {
|
|
25
|
+
let h = r(), { base: g, target: _, content: v } = l(), y = `unity-dropzone-overlay-${h}__label`, b = `unity-dropzone-overlay-${h}__description`;
|
|
26
26
|
return /* @__PURE__ */ o("div", {
|
|
27
27
|
className: g(),
|
|
28
28
|
"data-unity-component": "DropzoneOverlay",
|
|
@@ -42,7 +42,7 @@ var l = r({
|
|
|
42
42
|
isDropTarget: e,
|
|
43
43
|
className: f
|
|
44
44
|
}),
|
|
45
|
-
children: /* @__PURE__ */ o(t, { children:
|
|
45
|
+
children: /* @__PURE__ */ o(t, { children: i })
|
|
46
46
|
})] })
|
|
47
47
|
})
|
|
48
48
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { UnityIcon } from '@payfit/unity-icons';
|
|
2
3
|
import { UnityIllustrationAsset } from '@payfit/unity-illustrations';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
4
|
export declare const errorState: import('tailwind-variants').TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
6
|
[key: string]: import('tailwind-variants').ClassValue | {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UnityIcon } from '@payfit/unity-icons';
|
|
2
|
-
import { UnityIllustrationAsset } from '@payfit/unity-illustrations';
|
|
3
1
|
import { ReactNode } from 'react';
|
|
4
2
|
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { UnityIcon } from '@payfit/unity-icons';
|
|
4
|
+
import { UnityIllustrationAsset } from '@payfit/unity-illustrations';
|
|
5
5
|
export type ErrorStateVariant = 'known' | 'unknown' | '404' | 'no-permission';
|
|
6
6
|
export interface ErrorStateConfig {
|
|
7
7
|
illustration: UnityIllustrationAsset;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RawLink as e } from "../link/RawLink.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import n from "@payfit/unity-illustrations/assets/
|
|
4
|
-
import r from "@payfit/unity-illustrations/assets/
|
|
5
|
-
import i from "@payfit/unity-illustrations/assets/
|
|
3
|
+
import n from "@payfit/unity-illustrations/assets/ClosedLockWithBackground";
|
|
4
|
+
import r from "@payfit/unity-illustrations/assets/EmptyStateIncidentPanel";
|
|
5
|
+
import i from "@payfit/unity-illustrations/assets/EmptyStateResearch";
|
|
6
6
|
//#region src/core/components/error-state/initConfig.tsx
|
|
7
7
|
var a = (a, o) => /* @__PURE__ */ new Map([
|
|
8
8
|
["known", {
|
|
9
|
-
illustration:
|
|
9
|
+
illustration: r,
|
|
10
10
|
icon: "WarningCircleOutlined",
|
|
11
11
|
mainTitle: a.formatMessage({
|
|
12
12
|
id: "unity:component:error-state:common:main-title",
|
|
@@ -39,7 +39,7 @@ var a = (a, o) => /* @__PURE__ */ new Map([
|
|
|
39
39
|
})
|
|
40
40
|
}],
|
|
41
41
|
["unknown", {
|
|
42
|
-
illustration:
|
|
42
|
+
illustration: r,
|
|
43
43
|
icon: "WarningCircleOutlined",
|
|
44
44
|
mainTitle: a.formatMessage({
|
|
45
45
|
id: "unity:component:error-state:common:main-title",
|
|
@@ -75,7 +75,7 @@ var a = (a, o) => /* @__PURE__ */ new Map([
|
|
|
75
75
|
}
|
|
76
76
|
}],
|
|
77
77
|
["404", {
|
|
78
|
-
illustration:
|
|
78
|
+
illustration: i,
|
|
79
79
|
icon: "WarningCircleOutlined",
|
|
80
80
|
mainTitle: a.formatMessage({
|
|
81
81
|
id: "unity:component:error-state:404:main-title",
|
|
@@ -91,7 +91,7 @@ var a = (a, o) => /* @__PURE__ */ new Map([
|
|
|
91
91
|
}, { br: () => /* @__PURE__ */ t("br", {}) })
|
|
92
92
|
}],
|
|
93
93
|
["no-permission", {
|
|
94
|
-
illustration:
|
|
94
|
+
illustration: n,
|
|
95
95
|
icon: "LockOutlined",
|
|
96
96
|
mainTitle: a.formatMessage({
|
|
97
97
|
id: "unity:component:error-state:no-permission:main-title",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UnityIcon } from '@payfit/unity-icons';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { UnityIcon } from '@payfit/unity-icons';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the FilterButton component.
|
|
5
5
|
* @internal
|
|
@@ -36,5 +36,5 @@ interface FilterButtonProps {
|
|
|
36
36
|
* @param props.children - The label content to display inside the button.
|
|
37
37
|
* @returns The rendered button element
|
|
38
38
|
*/
|
|
39
|
-
export declare function FilterButton({ labelId, prefixIcon, isDisabled, children
|
|
39
|
+
export declare function FilterButton({ labelId, prefixIcon, isDisabled, children }: FilterButtonProps): import('react/jsx-runtime').JSX.Element;
|
|
40
40
|
export {};
|