@payfit/unity-components 2.60.16 → 2.60.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/action-bar/ActionBar.variants.d.ts +2 -2
- package/dist/esm/components/action-bar/parts/ActionBarButton.d.ts +2 -2
- package/dist/esm/components/action-bar/parts/ActionBarRoot.d.ts +2 -2
- package/dist/esm/components/alert/parts/AlertActions.d.ts +8 -8
- package/dist/esm/components/autocomplete/Autocomplete.d.ts +2 -2
- package/dist/esm/components/autocomplete/parts/AutocompleteItem.d.ts +8 -8
- package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.d.ts +14 -14
- package/dist/esm/components/autocomplete/parts/AutocompletePanel.d.ts +11 -11
- package/dist/esm/components/avatar/Avatar.d.ts +110 -110
- package/dist/esm/components/avatar/Avatar.variants.d.ts +56 -56
- package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +2 -2
- package/dist/esm/components/badge/Badge.d.ts +2 -2
- package/dist/esm/components/badge/parts/BadgeDot.d.ts +2 -2
- package/dist/esm/components/bottom-sheet/BottomSheet.d.ts +14 -14
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.d.ts +11 -11
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.d.ts +11 -11
- package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.d.ts +1 -1
- package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.d.ts +17 -17
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.d.ts +2 -2
- package/dist/esm/components/button/Button.variants.d.ts +109 -109
- package/dist/esm/components/card/Card.d.ts +2 -2
- package/dist/esm/components/carousel/Carousel.d.ts +1 -1
- package/dist/esm/components/carousel/parts/CarouselContent.d.ts +11 -11
- package/dist/esm/components/carousel/parts/CarouselHeader.d.ts +17 -17
- package/dist/esm/components/carousel/parts/CarouselNav.d.ts +11 -11
- package/dist/esm/components/carousel/parts/CarouselSlide.d.ts +1 -1
- package/dist/esm/components/checkbox/Checkbox.variants.d.ts +2 -2
- package/dist/esm/components/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/dist/esm/components/client-side-pagination/ClientSidePagination.d.ts +11 -11
- package/dist/esm/components/client-side-pagination/parts/RawPaginationLink.d.ts +8 -8
- package/dist/esm/components/code/Code.d.ts +11 -11
- package/dist/esm/components/collapsible/Collapsible.variants.d.ts +11 -11
- package/dist/esm/components/data-table/parts/DataTableRoot.d.ts +1 -1
- package/dist/esm/components/date-calendar/DateCalendar.variants.d.ts +2 -2
- package/dist/esm/components/date-picker/parts/DateInput.d.ts +13 -13
- package/dist/esm/components/dialog/Dialog.d.ts +2 -2
- package/dist/esm/components/empty-state/EmptyState.variants.d.ts +25 -25
- package/dist/esm/components/error-state/ErrorState.d.ts +44 -44
- package/dist/esm/components/error-state/parts/Collapsible.d.ts +2 -2
- package/dist/esm/components/fieldset/Fieldset.d.ts +2 -2
- package/dist/esm/components/filter/Filter.d.ts +2 -2
- package/dist/esm/components/filter/parts/FilterButton.d.ts +11 -11
- package/dist/esm/components/filter/parts/FilterLabel.d.ts +11 -11
- package/dist/esm/components/filter/parts/FilterPopover.d.ts +23 -23
- package/dist/esm/components/filter-toolbar/FilterToolbar.d.ts +14 -14
- package/dist/esm/components/filter-toolbar/parts/AddFilter.d.ts +14 -14
- package/dist/esm/components/filter-toolbar/parts/AddFilterItem.d.ts +1 -1
- package/dist/esm/components/flex/Flex.variants.d.ts +380 -380
- package/dist/esm/components/floating-action-bar/FloatingActionBar.d.ts +14 -14
- package/dist/esm/components/full-page-loader/FullPageLoader.d.ts +1 -1
- package/dist/esm/components/funnel-layout/FunnelLayout.d.ts +1 -1
- package/dist/esm/components/funnel-layout/parts/FunnelBody.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelPage.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelPageActions.d.ts +1 -1
- package/dist/esm/components/funnel-layout/parts/FunnelPageContent.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelPageFooter.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelPageHeader.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelProgressBar.d.ts +2 -2
- package/dist/esm/components/funnel-layout/parts/FunnelSidebar.d.ts +8 -8
- package/dist/esm/components/funnel-layout/parts/FunnelTopBar.d.ts +14 -14
- package/dist/esm/components/grid/Grid.variants.d.ts +319 -319
- package/dist/esm/components/icon/Icon.d.ts +215 -215
- package/dist/esm/components/icon-button/CircularIconButton.d.ts +8 -8
- package/dist/esm/components/icon-button/IconButton.variants.d.ts +79 -79
- package/dist/esm/components/link/RawLink.d.ts +2 -2
- package/dist/esm/components/list-view/parts/ListViewSection.d.ts +1 -1
- package/dist/esm/components/list-view/parts/RawListViewItem.d.ts +20 -20
- package/dist/esm/components/nav/parts/RawNavItem.d.ts +39 -39
- package/dist/esm/components/navigation-card/NavigationCard.variants.d.ts +2 -2
- package/dist/esm/components/navigation-card/parts/NavigationCardGroup.d.ts +2 -2
- package/dist/esm/components/number-field/NumberField.d.ts +1 -1
- package/dist/esm/components/number-input/NumberInput.d.ts +2 -2
- package/dist/esm/components/page/Page.d.ts +2 -2
- package/dist/esm/components/page/parts/PageHeader.d.ts +17 -17
- package/dist/esm/components/pagination/Pagination.d.ts +8 -8
- package/dist/esm/components/pagination/parts/PaginationContent.d.ts +1 -1
- package/dist/esm/components/pagination/parts/PaginationEllipsis.d.ts +1 -1
- package/dist/esm/components/pagination/parts/RawPaginationLink.d.ts +1 -1
- package/dist/esm/components/pagination/parts/RawPaginationNext.d.ts +1 -1
- package/dist/esm/components/pagination/parts/RawPaginationPrevious.d.ts +1 -1
- package/dist/esm/components/phone-number/parts/PhoneNumberItem.d.ts +11 -11
- package/dist/esm/components/pill/Pill.d.ts +20 -20
- package/dist/esm/components/progress-bar/ProgressBar.d.ts +2 -2
- package/dist/esm/components/promo-dialog/PromoDialog.d.ts +29 -29
- package/dist/esm/components/radio-button-group/parts/RadioButton.d.ts +17 -17
- package/dist/esm/components/search/Search.d.ts +2 -2
- package/dist/esm/components/select-list/parts/SelectListOptGroup.d.ts +14 -14
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.ts +1 -1
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.d.ts +2 -2
- package/dist/esm/components/selectable-card/internals/Content.d.ts +1 -1
- package/dist/esm/components/selectable-card/internals/Description.d.ts +1 -1
- package/dist/esm/components/selectable-card/internals/Illustration.d.ts +1 -1
- package/dist/esm/components/selectable-card/internals/SelectedIndicator.d.ts +1 -1
- package/dist/esm/components/selectable-card/selectableCard.variant.d.ts +5 -5
- package/dist/esm/components/side-panel/SidePanel.d.ts +2 -2
- package/dist/esm/components/side-panel/parts/SidePanelContent.d.ts +11 -11
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.d.ts +11 -11
- package/dist/esm/components/side-panel/parts/SidePanelFooter.d.ts +1 -1
- package/dist/esm/components/side-panel/parts/SidePanelHeader.d.ts +14 -14
- package/dist/esm/components/table/Table.d.ts +2 -2
- package/dist/esm/components/table/parts/TableBody.d.ts +2 -2
- package/dist/esm/components/table/parts/TableCell.d.ts +11 -11
- package/dist/esm/components/table/parts/TableColumnHeader.d.ts +11 -11
- package/dist/esm/components/table/parts/TableEmptyState.d.ts +22 -22
- package/dist/esm/components/table/parts/TableHeader.d.ts +2 -2
- package/dist/esm/components/table/parts/TablePagination.d.ts +1 -1
- package/dist/esm/components/table/parts/TableRow.d.ts +1 -1
- package/dist/esm/components/tabs/Tabs.variant.d.ts +2 -2
- package/dist/esm/components/task-menu/TaskMenu.d.ts +8 -8
- package/dist/esm/components/task-menu/parts/RawSubTask.d.ts +38 -38
- package/dist/esm/components/task-menu/parts/RawTask.d.ts +38 -38
- package/dist/esm/components/task-menu/parts/task.variants.d.ts +11 -11
- package/dist/esm/components/text/Text.variants.d.ts +272 -272
- package/dist/esm/components/text-area/TextArea.d.ts +2 -2
- package/dist/esm/components/timeline/Timeline.variants.d.ts +26 -26
- package/dist/esm/components/toast/UnityToast.d.ts +8 -8
- package/dist/esm/components/toggle-switch/ToggleSwitch.d.ts +2 -2
- package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.d.ts +1 -1
- package/package.json +17 -17
|
@@ -22,7 +22,7 @@ export declare const sidePanel: import('tailwind-variants').TVReturnType<{
|
|
|
22
22
|
overlay: string[];
|
|
23
23
|
wrapper: string[];
|
|
24
24
|
content: string;
|
|
25
|
-
}, import('tailwind-variants').
|
|
25
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
26
26
|
isModal: {
|
|
27
27
|
false: {
|
|
28
28
|
overlay: string;
|
|
@@ -33,7 +33,7 @@ export declare const sidePanel: import('tailwind-variants').TVReturnType<{
|
|
|
33
33
|
overlay: string[];
|
|
34
34
|
wrapper: string[];
|
|
35
35
|
content: string;
|
|
36
|
-
}
|
|
36
|
+
}>>;
|
|
37
37
|
export interface SidePanelProps extends PropsWithChildren<VariantProps<typeof sidePanel>> {
|
|
38
38
|
/**
|
|
39
39
|
* Controls whether the panel can be dismissed by clicking outside or using escape key.
|
|
@@ -2,16 +2,16 @@ import { VariantProps } from '@payfit/unity-themes';
|
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
export declare const sidePanelContent: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-
|
|
6
|
-
base?: import('tailwind-
|
|
7
|
-
scroller?: import('tailwind-
|
|
5
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
6
|
+
base?: import('tailwind-variants').ClassValue;
|
|
7
|
+
scroller?: import('tailwind-variants').ClassValue;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
} | {
|
|
11
11
|
[x: string]: {
|
|
12
|
-
[x: string]: import('tailwind-
|
|
13
|
-
base?: import('tailwind-
|
|
14
|
-
scroller?: import('tailwind-
|
|
12
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
13
|
+
base?: import('tailwind-variants').ClassValue;
|
|
14
|
+
scroller?: import('tailwind-variants').ClassValue;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
} | {}, {
|
|
@@ -19,18 +19,18 @@ export declare const sidePanelContent: import('tailwind-variants').TVReturnType<
|
|
|
19
19
|
scroller: string[];
|
|
20
20
|
}, undefined, {
|
|
21
21
|
[key: string]: {
|
|
22
|
-
[key: string]: import('tailwind-
|
|
23
|
-
base?: import('tailwind-
|
|
24
|
-
scroller?: import('tailwind-
|
|
22
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
23
|
+
base?: import('tailwind-variants').ClassValue;
|
|
24
|
+
scroller?: import('tailwind-variants').ClassValue;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
} | {}, {
|
|
28
28
|
base: string[];
|
|
29
29
|
scroller: string[];
|
|
30
|
-
}, import('tailwind-variants').
|
|
30
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
31
31
|
base: string[];
|
|
32
32
|
scroller: string[];
|
|
33
|
-
}
|
|
33
|
+
}>>;
|
|
34
34
|
export interface SidePanelContentProps extends PropsWithChildren<VariantProps<typeof sidePanelContent>> {
|
|
35
35
|
className?: string;
|
|
36
36
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const sidePanelDragIndicator: import('tailwind-variants').TVReturnType<{
|
|
2
2
|
[key: string]: {
|
|
3
|
-
[key: string]: import('tailwind-
|
|
4
|
-
base?: import('tailwind-
|
|
5
|
-
indicator?: import('tailwind-
|
|
3
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
4
|
+
base?: import('tailwind-variants').ClassValue;
|
|
5
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
} | {
|
|
9
9
|
[x: string]: {
|
|
10
|
-
[x: string]: import('tailwind-
|
|
11
|
-
base?: import('tailwind-
|
|
12
|
-
indicator?: import('tailwind-
|
|
10
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
11
|
+
base?: import('tailwind-variants').ClassValue;
|
|
12
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
} | {}, {
|
|
@@ -17,18 +17,18 @@ export declare const sidePanelDragIndicator: import('tailwind-variants').TVRetur
|
|
|
17
17
|
indicator: string;
|
|
18
18
|
}, undefined, {
|
|
19
19
|
[key: string]: {
|
|
20
|
-
[key: string]: import('tailwind-
|
|
21
|
-
base?: import('tailwind-
|
|
22
|
-
indicator?: import('tailwind-
|
|
20
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
21
|
+
base?: import('tailwind-variants').ClassValue;
|
|
22
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
} | {}, {
|
|
26
26
|
base: string[];
|
|
27
27
|
indicator: string;
|
|
28
|
-
}, import('tailwind-variants').
|
|
28
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
29
29
|
base: string[];
|
|
30
30
|
indicator: string;
|
|
31
|
-
}
|
|
31
|
+
}>>;
|
|
32
32
|
/**
|
|
33
33
|
* A drag indicator component that connects to the overlay state context and
|
|
34
34
|
* provides swipe-to-dismiss functionality for the SidePanel.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from '@payfit/unity-themes';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
export declare const sidePanelFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').
|
|
3
|
+
export declare const sidePanelFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
4
4
|
export interface SidePanelFooterProps extends PropsWithChildren<VariantProps<typeof sidePanelFooter>> {
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
@@ -2,18 +2,18 @@ import { VariantProps } from '@payfit/unity-themes';
|
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
export declare const sidePanelHeader: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-
|
|
6
|
-
content?: import('tailwind-
|
|
7
|
-
base?: import('tailwind-
|
|
8
|
-
heading?: import('tailwind-
|
|
5
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
6
|
+
content?: import('tailwind-variants').ClassValue;
|
|
7
|
+
base?: import('tailwind-variants').ClassValue;
|
|
8
|
+
heading?: import('tailwind-variants').ClassValue;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
} | {
|
|
12
12
|
[x: string]: {
|
|
13
|
-
[x: string]: import('tailwind-
|
|
14
|
-
content?: import('tailwind-
|
|
15
|
-
base?: import('tailwind-
|
|
16
|
-
heading?: import('tailwind-
|
|
13
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
14
|
+
content?: import('tailwind-variants').ClassValue;
|
|
15
|
+
base?: import('tailwind-variants').ClassValue;
|
|
16
|
+
heading?: import('tailwind-variants').ClassValue;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
} | {}, {
|
|
@@ -22,21 +22,21 @@ export declare const sidePanelHeader: import('tailwind-variants').TVReturnType<{
|
|
|
22
22
|
heading: string[];
|
|
23
23
|
}, undefined, {
|
|
24
24
|
[key: string]: {
|
|
25
|
-
[key: string]: import('tailwind-
|
|
26
|
-
content?: import('tailwind-
|
|
27
|
-
base?: import('tailwind-
|
|
28
|
-
heading?: import('tailwind-
|
|
25
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
26
|
+
content?: import('tailwind-variants').ClassValue;
|
|
27
|
+
base?: import('tailwind-variants').ClassValue;
|
|
28
|
+
heading?: import('tailwind-variants').ClassValue;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
} | {}, {
|
|
32
32
|
base: string[];
|
|
33
33
|
content: string[];
|
|
34
34
|
heading: string[];
|
|
35
|
-
}, import('tailwind-variants').
|
|
35
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
36
36
|
base: string[];
|
|
37
37
|
content: string[];
|
|
38
38
|
heading: string[];
|
|
39
|
-
}
|
|
39
|
+
}>>;
|
|
40
40
|
export interface SidePanelHeaderProps extends PropsWithChildren<VariantProps<typeof sidePanelHeader>> {
|
|
41
41
|
className?: string;
|
|
42
42
|
}
|
|
@@ -80,7 +80,7 @@ declare const tableVariant: import('tailwind-variants').TVReturnType<{
|
|
|
80
80
|
}, {
|
|
81
81
|
wrapper: string[];
|
|
82
82
|
table: string[];
|
|
83
|
-
}, import('tailwind-variants').
|
|
83
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
84
84
|
horizontalScroll: {
|
|
85
85
|
true: {
|
|
86
86
|
table: string;
|
|
@@ -102,7 +102,7 @@ declare const tableVariant: import('tailwind-variants').TVReturnType<{
|
|
|
102
102
|
}, {
|
|
103
103
|
wrapper: string[];
|
|
104
104
|
table: string[];
|
|
105
|
-
}
|
|
105
|
+
}>>;
|
|
106
106
|
export interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
107
107
|
/**
|
|
108
108
|
* The label for the table. This is used for accessibility purposes.
|
|
@@ -19,12 +19,12 @@ export declare const tableBody: import('tailwind-variants').TVReturnType<{
|
|
|
19
19
|
true: string[];
|
|
20
20
|
false: string[];
|
|
21
21
|
};
|
|
22
|
-
}, undefined, import('tailwind-variants').
|
|
22
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
23
23
|
isEmpty: {
|
|
24
24
|
true: string[];
|
|
25
25
|
false: string[];
|
|
26
26
|
};
|
|
27
|
-
}, undefined
|
|
27
|
+
}, undefined>>;
|
|
28
28
|
/**
|
|
29
29
|
* The `TableBody` component renders the body section of a table, containing rows of data.
|
|
30
30
|
* It automatically processes its children to add row indices and handles empty states.
|
|
@@ -13,23 +13,23 @@ export interface TableCellProps extends React.TdHTMLAttributes<HTMLTableCellElem
|
|
|
13
13
|
}
|
|
14
14
|
export declare const tableCell: import('tailwind-variants').TVReturnType<{
|
|
15
15
|
align: {
|
|
16
|
-
left:
|
|
17
|
-
center:
|
|
18
|
-
right:
|
|
16
|
+
left: "uy:text-left";
|
|
17
|
+
center: "uy:text-center";
|
|
18
|
+
right: "uy:text-right";
|
|
19
19
|
};
|
|
20
20
|
}, undefined, string[], {
|
|
21
21
|
align: {
|
|
22
|
-
left:
|
|
23
|
-
center:
|
|
24
|
-
right:
|
|
22
|
+
left: "uy:text-left";
|
|
23
|
+
center: "uy:text-center";
|
|
24
|
+
right: "uy:text-right";
|
|
25
25
|
};
|
|
26
|
-
}, undefined, import('tailwind-variants').
|
|
26
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
27
27
|
align: {
|
|
28
|
-
left:
|
|
29
|
-
center:
|
|
30
|
-
right:
|
|
28
|
+
left: "uy:text-left";
|
|
29
|
+
center: "uy:text-center";
|
|
30
|
+
right: "uy:text-right";
|
|
31
31
|
};
|
|
32
|
-
}, undefined
|
|
32
|
+
}, undefined>>;
|
|
33
33
|
/**
|
|
34
34
|
* The `TableCell` component renders a cell in the table, containing data.
|
|
35
35
|
* It handles keyboard navigation, focus management, and accessibility attributes.
|
|
@@ -13,23 +13,23 @@ export type TableColumnHeaderProps = (StaticTableColumnHeaderProps & {
|
|
|
13
13
|
}) | InteractiveTableColumnHeaderProps;
|
|
14
14
|
export declare const tableColumnHeader: import('tailwind-variants').TVReturnType<{
|
|
15
15
|
align: {
|
|
16
|
-
left:
|
|
17
|
-
center:
|
|
18
|
-
right:
|
|
16
|
+
left: "uy:text-left";
|
|
17
|
+
center: "uy:text-center";
|
|
18
|
+
right: "uy:text-right";
|
|
19
19
|
};
|
|
20
20
|
}, undefined, string[], {
|
|
21
21
|
align: {
|
|
22
|
-
left:
|
|
23
|
-
center:
|
|
24
|
-
right:
|
|
22
|
+
left: "uy:text-left";
|
|
23
|
+
center: "uy:text-center";
|
|
24
|
+
right: "uy:text-right";
|
|
25
25
|
};
|
|
26
|
-
}, undefined, import('tailwind-variants').
|
|
26
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
27
27
|
align: {
|
|
28
|
-
left:
|
|
29
|
-
center:
|
|
30
|
-
right:
|
|
28
|
+
left: "uy:text-left";
|
|
29
|
+
center: "uy:text-center";
|
|
30
|
+
right: "uy:text-right";
|
|
31
31
|
};
|
|
32
|
-
}, undefined
|
|
32
|
+
}, undefined>>;
|
|
33
33
|
/**
|
|
34
34
|
* The `TableColumnHeader` component renders a header cell in the table's header row.
|
|
35
35
|
* It can be either static or interactive (clickable) and supports text alignment.
|
|
@@ -2,16 +2,16 @@ import { VariantProps } from '@payfit/unity-themes';
|
|
|
2
2
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
3
3
|
export declare const tableEmptyState: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-
|
|
6
|
-
base?: import('tailwind-
|
|
7
|
-
wrapper?: import('tailwind-
|
|
5
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
6
|
+
base?: import('tailwind-variants').ClassValue;
|
|
7
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
} | {
|
|
11
11
|
[x: string]: {
|
|
12
|
-
[x: string]: import('tailwind-
|
|
13
|
-
base?: import('tailwind-
|
|
14
|
-
wrapper?: import('tailwind-
|
|
12
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
13
|
+
base?: import('tailwind-variants').ClassValue;
|
|
14
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
} | {}, {
|
|
@@ -19,18 +19,18 @@ export declare const tableEmptyState: import('tailwind-variants').TVReturnType<{
|
|
|
19
19
|
wrapper: string;
|
|
20
20
|
}, undefined, {
|
|
21
21
|
[key: string]: {
|
|
22
|
-
[key: string]: import('tailwind-
|
|
23
|
-
base?: import('tailwind-
|
|
24
|
-
wrapper?: import('tailwind-
|
|
22
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
23
|
+
base?: import('tailwind-variants').ClassValue;
|
|
24
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
} | {}, {
|
|
28
28
|
base: string;
|
|
29
29
|
wrapper: string;
|
|
30
|
-
}, import('tailwind-variants').
|
|
30
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
31
31
|
base: string;
|
|
32
32
|
wrapper: string;
|
|
33
|
-
}
|
|
33
|
+
}>>;
|
|
34
34
|
export type TableEmptyStateProps = PropsWithChildren<VariantProps<typeof tableEmptyState>> & {
|
|
35
35
|
className?: string;
|
|
36
36
|
};
|
|
@@ -77,16 +77,16 @@ declare const TableEmptyStateText: import('react').ForwardRefExoticComponent<Tab
|
|
|
77
77
|
*/
|
|
78
78
|
declare const TableEmptyState: import('react').ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{
|
|
79
79
|
[key: string]: {
|
|
80
|
-
[key: string]: import('tailwind-
|
|
81
|
-
base?: import('tailwind-
|
|
82
|
-
wrapper?: import('tailwind-
|
|
80
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
81
|
+
base?: import('tailwind-variants').ClassValue;
|
|
82
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
85
|
} | {
|
|
86
86
|
[x: string]: {
|
|
87
|
-
[x: string]: import('tailwind-
|
|
88
|
-
base?: import('tailwind-
|
|
89
|
-
wrapper?: import('tailwind-
|
|
87
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
88
|
+
base?: import('tailwind-variants').ClassValue;
|
|
89
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
} | {}, {
|
|
@@ -94,18 +94,18 @@ declare const TableEmptyState: import('react').ForwardRefExoticComponent<Variant
|
|
|
94
94
|
wrapper: string;
|
|
95
95
|
}, undefined, {
|
|
96
96
|
[key: string]: {
|
|
97
|
-
[key: string]: import('tailwind-
|
|
98
|
-
base?: import('tailwind-
|
|
99
|
-
wrapper?: import('tailwind-
|
|
97
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
98
|
+
base?: import('tailwind-variants').ClassValue;
|
|
99
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
} | {}, {
|
|
103
103
|
base: string;
|
|
104
104
|
wrapper: string;
|
|
105
|
-
}, import('tailwind-variants').
|
|
105
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
106
106
|
base: string;
|
|
107
107
|
wrapper: string;
|
|
108
|
-
}
|
|
108
|
+
}>>> & {
|
|
109
109
|
children?: ReactNode | undefined;
|
|
110
110
|
} & {
|
|
111
111
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
import { VariantProps } from '@payfit/unity-themes';
|
|
3
|
-
export declare const tableHeader: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').
|
|
3
|
+
export declare const tableHeader: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
4
4
|
export type TableHeaderProps = PropsWithChildren<VariantProps<typeof tableHeader>>;
|
|
5
5
|
/**
|
|
6
6
|
* The `TableHeader` component renders the header section of a table, containing column headers.
|
|
@@ -23,7 +23,7 @@ export type TableHeaderProps = PropsWithChildren<VariantProps<typeof tableHeader
|
|
|
23
23
|
* {@link https://unity-components.payfit.io/?path=/story/data-table-tableheader--docs|API and Demos} •
|
|
24
24
|
* {@link https://payfit.design|Design docs}
|
|
25
25
|
*/
|
|
26
|
-
declare const TableHeader: React.MemoExoticComponent<React.ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').
|
|
26
|
+
declare const TableHeader: React.MemoExoticComponent<React.ForwardRefExoticComponent<VariantProps<import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>> & {
|
|
27
27
|
children?: React.ReactNode | undefined;
|
|
28
28
|
} & React.RefAttributes<HTMLTableSectionElement>>>;
|
|
29
29
|
export { TableHeader };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from '@payfit/unity-themes';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { ClientSidePaginationProps } from '../../client-side-pagination/ClientSidePagination.js';
|
|
4
|
-
export declare const tablePagination: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').
|
|
4
|
+
export declare const tablePagination: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
5
5
|
type PageSizeOption = {
|
|
6
6
|
value: string;
|
|
7
7
|
label: string;
|
|
@@ -3,7 +3,7 @@ export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement>
|
|
|
3
3
|
rowIndex?: number;
|
|
4
4
|
isSelected?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const tableRow: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').
|
|
6
|
+
export declare const tableRow: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
7
7
|
/**
|
|
8
8
|
* The `TableRow` component renders a row in the table, containing cells of data.
|
|
9
9
|
* It automatically processes its children to add row and column indices and handles selection state.
|
|
@@ -44,7 +44,7 @@ export declare const tabsVariant: import('tailwind-variants').TVReturnType<{
|
|
|
44
44
|
tabList: string;
|
|
45
45
|
scroller: string;
|
|
46
46
|
tab: string[];
|
|
47
|
-
}, import('tailwind-variants').
|
|
47
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
48
48
|
variant: {
|
|
49
49
|
primary: {
|
|
50
50
|
tab: string[];
|
|
@@ -67,4 +67,4 @@ export declare const tabsVariant: import('tailwind-variants').TVReturnType<{
|
|
|
67
67
|
tabList: string;
|
|
68
68
|
scroller: string;
|
|
69
69
|
tab: string[];
|
|
70
|
-
}
|
|
70
|
+
}>>;
|
|
@@ -2,29 +2,29 @@ import { VariantProps } from '@payfit/unity-themes';
|
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
export declare const taskMenu: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-
|
|
6
|
-
base?: import('tailwind-
|
|
5
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
6
|
+
base?: import('tailwind-variants').ClassValue;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
} | {
|
|
10
10
|
[x: string]: {
|
|
11
|
-
[x: string]: import('tailwind-
|
|
12
|
-
base?: import('tailwind-
|
|
11
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
12
|
+
base?: import('tailwind-variants').ClassValue;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
} | {}, {
|
|
16
16
|
base: string[];
|
|
17
17
|
}, undefined, {
|
|
18
18
|
[key: string]: {
|
|
19
|
-
[key: string]: import('tailwind-
|
|
20
|
-
base?: import('tailwind-
|
|
19
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
20
|
+
base?: import('tailwind-variants').ClassValue;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
} | {}, {
|
|
24
24
|
base: string[];
|
|
25
|
-
}, import('tailwind-variants').
|
|
25
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
26
26
|
base: string[];
|
|
27
|
-
}
|
|
27
|
+
}>>;
|
|
28
28
|
export interface TaskMenuProps extends PropsWithChildren<VariantProps<typeof taskMenu>> {
|
|
29
29
|
/**
|
|
30
30
|
* The label for the task menu. This is used for accessibility purposes.
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { TaskProps } from './RawTask.js';
|
|
2
2
|
export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
3
3
|
[key: string]: {
|
|
4
|
-
[key: string]: import('tailwind-
|
|
5
|
-
number?: import('tailwind-
|
|
6
|
-
text?: import('tailwind-
|
|
7
|
-
base?: import('tailwind-
|
|
8
|
-
dot?: import('tailwind-
|
|
9
|
-
element?: import('tailwind-
|
|
4
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
5
|
+
number?: import('tailwind-variants').ClassValue;
|
|
6
|
+
text?: import('tailwind-variants').ClassValue;
|
|
7
|
+
base?: import('tailwind-variants').ClassValue;
|
|
8
|
+
dot?: import('tailwind-variants').ClassValue;
|
|
9
|
+
element?: import('tailwind-variants').ClassValue;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
} | {
|
|
13
13
|
taskStatus: {
|
|
14
|
-
uncompleted: import('tailwind-
|
|
15
|
-
number?: import('tailwind-
|
|
16
|
-
text?: import('tailwind-
|
|
17
|
-
base?: import('tailwind-
|
|
18
|
-
dot?: import('tailwind-
|
|
19
|
-
element?: import('tailwind-
|
|
14
|
+
uncompleted: import('tailwind-variants').ClassValue | {
|
|
15
|
+
number?: import('tailwind-variants').ClassValue;
|
|
16
|
+
text?: import('tailwind-variants').ClassValue;
|
|
17
|
+
base?: import('tailwind-variants').ClassValue;
|
|
18
|
+
dot?: import('tailwind-variants').ClassValue;
|
|
19
|
+
element?: import('tailwind-variants').ClassValue;
|
|
20
20
|
};
|
|
21
|
-
completed: import('tailwind-
|
|
22
|
-
number?: import('tailwind-
|
|
23
|
-
text?: import('tailwind-
|
|
24
|
-
base?: import('tailwind-
|
|
25
|
-
dot?: import('tailwind-
|
|
26
|
-
element?: import('tailwind-
|
|
21
|
+
completed: import('tailwind-variants').ClassValue | {
|
|
22
|
+
number?: import('tailwind-variants').ClassValue;
|
|
23
|
+
text?: import('tailwind-variants').ClassValue;
|
|
24
|
+
base?: import('tailwind-variants').ClassValue;
|
|
25
|
+
dot?: import('tailwind-variants').ClassValue;
|
|
26
|
+
element?: import('tailwind-variants').ClassValue;
|
|
27
27
|
};
|
|
28
|
-
locked: import('tailwind-
|
|
29
|
-
number?: import('tailwind-
|
|
30
|
-
text?: import('tailwind-
|
|
31
|
-
base?: import('tailwind-
|
|
32
|
-
dot?: import('tailwind-
|
|
33
|
-
element?: import('tailwind-
|
|
28
|
+
locked: import('tailwind-variants').ClassValue | {
|
|
29
|
+
number?: import('tailwind-variants').ClassValue;
|
|
30
|
+
text?: import('tailwind-variants').ClassValue;
|
|
31
|
+
base?: import('tailwind-variants').ClassValue;
|
|
32
|
+
dot?: import('tailwind-variants').ClassValue;
|
|
33
|
+
element?: import('tailwind-variants').ClassValue;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
}, {
|
|
@@ -41,9 +41,9 @@ export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
|
41
41
|
number: string[];
|
|
42
42
|
}, undefined, {
|
|
43
43
|
taskStatus: {
|
|
44
|
-
uncompleted:
|
|
45
|
-
completed:
|
|
46
|
-
locked:
|
|
44
|
+
uncompleted: "";
|
|
45
|
+
completed: "";
|
|
46
|
+
locked: "";
|
|
47
47
|
};
|
|
48
48
|
}, {
|
|
49
49
|
base: string[];
|
|
@@ -53,9 +53,9 @@ export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
|
53
53
|
lock: string[];
|
|
54
54
|
}, import('tailwind-variants').TVReturnType<{
|
|
55
55
|
taskStatus: {
|
|
56
|
-
uncompleted:
|
|
57
|
-
completed:
|
|
58
|
-
locked:
|
|
56
|
+
uncompleted: "";
|
|
57
|
+
completed: "";
|
|
58
|
+
locked: "";
|
|
59
59
|
};
|
|
60
60
|
}, {
|
|
61
61
|
base: string[];
|
|
@@ -65,9 +65,9 @@ export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
|
65
65
|
lock: string[];
|
|
66
66
|
}, undefined, {
|
|
67
67
|
taskStatus: {
|
|
68
|
-
uncompleted:
|
|
69
|
-
completed:
|
|
70
|
-
locked:
|
|
68
|
+
uncompleted: "";
|
|
69
|
+
completed: "";
|
|
70
|
+
locked: "";
|
|
71
71
|
};
|
|
72
72
|
}, {
|
|
73
73
|
base: string[];
|
|
@@ -75,11 +75,11 @@ export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
|
75
75
|
element: string[];
|
|
76
76
|
text: string[];
|
|
77
77
|
lock: string[];
|
|
78
|
-
}, import('tailwind-variants').
|
|
78
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
79
79
|
taskStatus: {
|
|
80
|
-
uncompleted:
|
|
81
|
-
completed:
|
|
82
|
-
locked:
|
|
80
|
+
uncompleted: "";
|
|
81
|
+
completed: "";
|
|
82
|
+
locked: "";
|
|
83
83
|
};
|
|
84
84
|
}, {
|
|
85
85
|
base: string[];
|
|
@@ -87,7 +87,7 @@ export declare const rawSubTask: import('tailwind-variants').TVReturnType<{
|
|
|
87
87
|
element: string[];
|
|
88
88
|
text: string[];
|
|
89
89
|
lock: string[];
|
|
90
|
-
}
|
|
90
|
+
}>>>;
|
|
91
91
|
export interface SubTaskProps extends Omit<TaskProps, 'taskNumber'> {
|
|
92
92
|
/** internal prop to disable the button, do not use this prop */
|
|
93
93
|
isDisabled?: boolean;
|