@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { VariantProps } from '@payfit/unity-themes';
|
|
2
2
|
declare const iconButtonBase: import('tailwind-variants').TVReturnType<{
|
|
3
3
|
isDisabled: {
|
|
4
|
-
true:
|
|
5
|
-
false:
|
|
4
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
5
|
+
false: "";
|
|
6
6
|
};
|
|
7
7
|
isLoading: {
|
|
8
|
-
true:
|
|
9
|
-
false:
|
|
8
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
9
|
+
false: "";
|
|
10
10
|
};
|
|
11
11
|
}, undefined, string[], {
|
|
12
12
|
isDisabled: {
|
|
13
|
-
true:
|
|
14
|
-
false:
|
|
13
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
14
|
+
false: "";
|
|
15
15
|
};
|
|
16
16
|
isLoading: {
|
|
17
|
-
true:
|
|
18
|
-
false:
|
|
17
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
18
|
+
false: "";
|
|
19
19
|
};
|
|
20
|
-
}, undefined, import('tailwind-variants').
|
|
20
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
21
21
|
isDisabled: {
|
|
22
|
-
true:
|
|
23
|
-
false:
|
|
22
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
23
|
+
false: "";
|
|
24
24
|
};
|
|
25
25
|
isLoading: {
|
|
26
|
-
true:
|
|
27
|
-
false:
|
|
26
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
27
|
+
false: "";
|
|
28
28
|
};
|
|
29
|
-
}, undefined
|
|
29
|
+
}, undefined>>;
|
|
30
30
|
export declare const iconButtonFilled: import('tailwind-variants').TVReturnType<{
|
|
31
31
|
color: {
|
|
32
32
|
primary: string[];
|
|
@@ -37,99 +37,99 @@ export declare const iconButtonFilled: import('tailwind-variants').TVReturnType<
|
|
|
37
37
|
'inverted.low': string[];
|
|
38
38
|
};
|
|
39
39
|
isDisabled: {
|
|
40
|
-
true:
|
|
41
|
-
false:
|
|
40
|
+
true: "uy:disabled:bg-surface-neutral-disabled uy:disabled:text-content-neutral-disabled";
|
|
41
|
+
false: "";
|
|
42
42
|
};
|
|
43
43
|
isLoading: {
|
|
44
|
-
true:
|
|
45
|
-
false:
|
|
44
|
+
true: "uy:data-[loading]:bg-surface-neutral-disabled uy:data-[loading]:text-content-neutral-disabled";
|
|
45
|
+
false: "";
|
|
46
46
|
};
|
|
47
47
|
}, undefined, undefined, {
|
|
48
48
|
isDisabled: {
|
|
49
|
-
true:
|
|
50
|
-
false:
|
|
49
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
50
|
+
false: "";
|
|
51
51
|
};
|
|
52
52
|
isLoading: {
|
|
53
|
-
true:
|
|
54
|
-
false:
|
|
53
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
54
|
+
false: "";
|
|
55
55
|
};
|
|
56
56
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
57
57
|
isDisabled: {
|
|
58
|
-
true:
|
|
59
|
-
false:
|
|
58
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
59
|
+
false: "";
|
|
60
60
|
};
|
|
61
61
|
isLoading: {
|
|
62
|
-
true:
|
|
63
|
-
false:
|
|
62
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
63
|
+
false: "";
|
|
64
64
|
};
|
|
65
65
|
}, undefined, string[], {
|
|
66
66
|
isDisabled: {
|
|
67
|
-
true:
|
|
68
|
-
false:
|
|
67
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
68
|
+
false: "";
|
|
69
69
|
};
|
|
70
70
|
isLoading: {
|
|
71
|
-
true:
|
|
72
|
-
false:
|
|
71
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
72
|
+
false: "";
|
|
73
73
|
};
|
|
74
|
-
}, undefined, import('tailwind-variants').
|
|
74
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
75
75
|
isDisabled: {
|
|
76
|
-
true:
|
|
77
|
-
false:
|
|
76
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
77
|
+
false: "";
|
|
78
78
|
};
|
|
79
79
|
isLoading: {
|
|
80
|
-
true:
|
|
81
|
-
false:
|
|
80
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
81
|
+
false: "";
|
|
82
82
|
};
|
|
83
|
-
}, undefined
|
|
83
|
+
}, undefined>>>;
|
|
84
84
|
export declare const iconButtonOutlined: import('tailwind-variants').TVReturnType<{
|
|
85
85
|
color: {
|
|
86
86
|
primary: string[];
|
|
87
87
|
inverted: string[];
|
|
88
88
|
};
|
|
89
89
|
isDisabled: {
|
|
90
|
-
true:
|
|
91
|
-
false:
|
|
90
|
+
true: "uy:disabled:text-content-neutral-disabled uy:disabled:border-border-neutral-disabled uy:data-[disabled]:border-border-neutral-disabled";
|
|
91
|
+
false: "";
|
|
92
92
|
};
|
|
93
93
|
isLoading: {
|
|
94
|
-
true:
|
|
94
|
+
true: "uy:data-[loading]:text-content-neutral-disabled uy:data-[loading]:border-border-neutral-disabled";
|
|
95
95
|
};
|
|
96
96
|
}, undefined, "uy:border uy:border-solid uy:bg-transparent", {
|
|
97
97
|
isDisabled: {
|
|
98
|
-
true:
|
|
99
|
-
false:
|
|
98
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
99
|
+
false: "";
|
|
100
100
|
};
|
|
101
101
|
isLoading: {
|
|
102
|
-
true:
|
|
103
|
-
false:
|
|
102
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
103
|
+
false: "";
|
|
104
104
|
};
|
|
105
105
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
106
106
|
isDisabled: {
|
|
107
|
-
true:
|
|
108
|
-
false:
|
|
107
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
108
|
+
false: "";
|
|
109
109
|
};
|
|
110
110
|
isLoading: {
|
|
111
|
-
true:
|
|
112
|
-
false:
|
|
111
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
112
|
+
false: "";
|
|
113
113
|
};
|
|
114
114
|
}, undefined, string[], {
|
|
115
115
|
isDisabled: {
|
|
116
|
-
true:
|
|
117
|
-
false:
|
|
116
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
117
|
+
false: "";
|
|
118
118
|
};
|
|
119
119
|
isLoading: {
|
|
120
|
-
true:
|
|
121
|
-
false:
|
|
120
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
121
|
+
false: "";
|
|
122
122
|
};
|
|
123
|
-
}, undefined, import('tailwind-variants').
|
|
123
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
124
124
|
isDisabled: {
|
|
125
|
-
true:
|
|
126
|
-
false:
|
|
125
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
126
|
+
false: "";
|
|
127
127
|
};
|
|
128
128
|
isLoading: {
|
|
129
|
-
true:
|
|
130
|
-
false:
|
|
129
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
130
|
+
false: "";
|
|
131
131
|
};
|
|
132
|
-
}, undefined
|
|
132
|
+
}, undefined>>>;
|
|
133
133
|
export declare const iconButtonGhost: import('tailwind-variants').TVReturnType<{
|
|
134
134
|
color: {
|
|
135
135
|
primary: string[];
|
|
@@ -140,50 +140,50 @@ export declare const iconButtonGhost: import('tailwind-variants').TVReturnType<{
|
|
|
140
140
|
inverted: string[];
|
|
141
141
|
};
|
|
142
142
|
isDisabled: {
|
|
143
|
-
true:
|
|
144
|
-
false:
|
|
143
|
+
true: "uy:disabled:text-content-neutral-disabled uy:disabled:bg-transparent";
|
|
144
|
+
false: "";
|
|
145
145
|
};
|
|
146
146
|
isLoading: {
|
|
147
|
-
true:
|
|
148
|
-
false:
|
|
147
|
+
true: "uy:data-[loading]:text-content-neutral-disabled uy:data-[loading]:bg-transparent";
|
|
148
|
+
false: "";
|
|
149
149
|
};
|
|
150
150
|
}, undefined, undefined, {
|
|
151
151
|
isDisabled: {
|
|
152
|
-
true:
|
|
153
|
-
false:
|
|
152
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
153
|
+
false: "";
|
|
154
154
|
};
|
|
155
155
|
isLoading: {
|
|
156
|
-
true:
|
|
157
|
-
false:
|
|
156
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
157
|
+
false: "";
|
|
158
158
|
};
|
|
159
159
|
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
160
160
|
isDisabled: {
|
|
161
|
-
true:
|
|
162
|
-
false:
|
|
161
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
162
|
+
false: "";
|
|
163
163
|
};
|
|
164
164
|
isLoading: {
|
|
165
|
-
true:
|
|
166
|
-
false:
|
|
165
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
166
|
+
false: "";
|
|
167
167
|
};
|
|
168
168
|
}, undefined, string[], {
|
|
169
169
|
isDisabled: {
|
|
170
|
-
true:
|
|
171
|
-
false:
|
|
170
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
171
|
+
false: "";
|
|
172
172
|
};
|
|
173
173
|
isLoading: {
|
|
174
|
-
true:
|
|
175
|
-
false:
|
|
174
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
175
|
+
false: "";
|
|
176
176
|
};
|
|
177
|
-
}, undefined, import('tailwind-variants').
|
|
177
|
+
}, undefined, import('tailwind-variants').TVReturnTypeLike<{
|
|
178
178
|
isDisabled: {
|
|
179
|
-
true:
|
|
180
|
-
false:
|
|
179
|
+
true: "uy:disabled:cursor-not-allowed";
|
|
180
|
+
false: "";
|
|
181
181
|
};
|
|
182
182
|
isLoading: {
|
|
183
|
-
true:
|
|
184
|
-
false:
|
|
183
|
+
true: "uy:data-[loading]:cursor-progress uy:data-[loading]:text-content-neutral-disabled";
|
|
184
|
+
false: "";
|
|
185
185
|
};
|
|
186
|
-
}, undefined
|
|
186
|
+
}, undefined>>>;
|
|
187
187
|
export type IconButtonBase = VariantProps<typeof iconButtonBase>;
|
|
188
188
|
export type IconButtonFilled = VariantProps<typeof iconButtonFilled>;
|
|
189
189
|
export type IconButtonOutlined = VariantProps<typeof iconButtonOutlined>;
|
|
@@ -111,7 +111,7 @@ export declare const link: import('tailwind-variants').TVReturnType<{
|
|
|
111
111
|
}, {
|
|
112
112
|
base: string[];
|
|
113
113
|
icon: string[];
|
|
114
|
-
}, import('tailwind-variants').
|
|
114
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
115
115
|
variant: {
|
|
116
116
|
inline: {
|
|
117
117
|
base: string;
|
|
@@ -166,7 +166,7 @@ export declare const link: import('tailwind-variants').TVReturnType<{
|
|
|
166
166
|
}, {
|
|
167
167
|
base: string[];
|
|
168
168
|
icon: string[];
|
|
169
|
-
}
|
|
169
|
+
}>>;
|
|
170
170
|
type LinkVariantProps = VariantProps<typeof link>;
|
|
171
171
|
export type RawLinkProps = Omit<AriaLinkProps, 'style' | 'className'> & {
|
|
172
172
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX, Ref } from 'react';
|
|
2
2
|
import { ListBoxSectionProps } from 'react-aria-components/ListBox';
|
|
3
|
-
export declare const listViewSection: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "", {} | {}, undefined, import('tailwind-variants').
|
|
3
|
+
export declare const listViewSection: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "", {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
4
4
|
export type ListViewSectionProps<TItem extends object> = ListBoxSectionProps<TItem> & {
|
|
5
5
|
title: string;
|
|
6
6
|
};
|
|
@@ -2,22 +2,22 @@ import { JSX, ReactNode, Ref } from 'react';
|
|
|
2
2
|
import { ListBoxItemProps } from 'react-aria-components/ListBox';
|
|
3
3
|
export declare const listViewItem: import('tailwind-variants').TVReturnType<{
|
|
4
4
|
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
suffix?: import('tailwind-
|
|
9
|
-
root?: import('tailwind-
|
|
10
|
-
wrapper?: import('tailwind-
|
|
5
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
6
|
+
prefix?: import('tailwind-variants').ClassValue;
|
|
7
|
+
content?: import('tailwind-variants').ClassValue;
|
|
8
|
+
suffix?: import('tailwind-variants').ClassValue;
|
|
9
|
+
root?: import('tailwind-variants').ClassValue;
|
|
10
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
} | {
|
|
14
14
|
[x: string]: {
|
|
15
|
-
[x: string]: import('tailwind-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
suffix?: import('tailwind-
|
|
19
|
-
root?: import('tailwind-
|
|
20
|
-
wrapper?: import('tailwind-
|
|
15
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
16
|
+
prefix?: import('tailwind-variants').ClassValue;
|
|
17
|
+
content?: import('tailwind-variants').ClassValue;
|
|
18
|
+
suffix?: import('tailwind-variants').ClassValue;
|
|
19
|
+
root?: import('tailwind-variants').ClassValue;
|
|
20
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
} | {}, {
|
|
@@ -28,12 +28,12 @@ export declare const listViewItem: import('tailwind-variants').TVReturnType<{
|
|
|
28
28
|
suffix: string[];
|
|
29
29
|
}, undefined, {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]: import('tailwind-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
suffix?: import('tailwind-
|
|
35
|
-
root?: import('tailwind-
|
|
36
|
-
wrapper?: import('tailwind-
|
|
31
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
32
|
+
prefix?: import('tailwind-variants').ClassValue;
|
|
33
|
+
content?: import('tailwind-variants').ClassValue;
|
|
34
|
+
suffix?: import('tailwind-variants').ClassValue;
|
|
35
|
+
root?: import('tailwind-variants').ClassValue;
|
|
36
|
+
wrapper?: import('tailwind-variants').ClassValue;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
} | {}, {
|
|
@@ -42,13 +42,13 @@ export declare const listViewItem: import('tailwind-variants').TVReturnType<{
|
|
|
42
42
|
prefix: string[];
|
|
43
43
|
content: string[];
|
|
44
44
|
suffix: string[];
|
|
45
|
-
}, import('tailwind-variants').
|
|
45
|
+
}, import('tailwind-variants').TVReturnTypeLike<unknown, {
|
|
46
46
|
root: string[];
|
|
47
47
|
wrapper: string[];
|
|
48
48
|
prefix: string[];
|
|
49
49
|
content: string[];
|
|
50
50
|
suffix: string[];
|
|
51
|
-
}
|
|
51
|
+
}>>;
|
|
52
52
|
export type RawListViewItemProps<TItem extends object> = Omit<ListBoxItemProps<TItem>, 'ref' | 'children' | 'className' | 'style'> & {
|
|
53
53
|
prefix?: JSX.Element;
|
|
54
54
|
suffix?: JSX.Element;
|
|
@@ -4,15 +4,15 @@ import { ButtonProps as AriaButtonProps } from 'react-aria-components/Button';
|
|
|
4
4
|
import { DataAttributes } from '../../../types/DataAttributes.js';
|
|
5
5
|
export declare const navItemBase: import('tailwind-variants').TVReturnType<{
|
|
6
6
|
level: {
|
|
7
|
-
0:
|
|
8
|
-
1:
|
|
7
|
+
0: "uy:pl-150";
|
|
8
|
+
1: "uy:pl-600";
|
|
9
9
|
};
|
|
10
10
|
isDisabled: {
|
|
11
11
|
true: {
|
|
12
12
|
base: string;
|
|
13
13
|
label: string;
|
|
14
14
|
};
|
|
15
|
-
false:
|
|
15
|
+
false: "";
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
18
|
base: string[];
|
|
@@ -21,39 +21,39 @@ export declare const navItemBase: import('tailwind-variants').TVReturnType<{
|
|
|
21
21
|
label: string[];
|
|
22
22
|
}, undefined, {
|
|
23
23
|
level: {
|
|
24
|
-
0:
|
|
25
|
-
1:
|
|
24
|
+
0: "uy:pl-150";
|
|
25
|
+
1: "uy:pl-600";
|
|
26
26
|
};
|
|
27
27
|
isDisabled: {
|
|
28
28
|
true: {
|
|
29
29
|
base: string;
|
|
30
30
|
label: string;
|
|
31
31
|
};
|
|
32
|
-
false:
|
|
32
|
+
false: "";
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
35
35
|
base: string[];
|
|
36
36
|
prefix: string;
|
|
37
37
|
suffix: string;
|
|
38
38
|
label: string[];
|
|
39
|
-
}, import('tailwind-variants').
|
|
39
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
40
40
|
level: {
|
|
41
|
-
0:
|
|
42
|
-
1:
|
|
41
|
+
0: "uy:pl-150";
|
|
42
|
+
1: "uy:pl-600";
|
|
43
43
|
};
|
|
44
44
|
isDisabled: {
|
|
45
45
|
true: {
|
|
46
46
|
base: string;
|
|
47
47
|
label: string;
|
|
48
48
|
};
|
|
49
|
-
false:
|
|
49
|
+
false: "";
|
|
50
50
|
};
|
|
51
51
|
}, {
|
|
52
52
|
base: string[];
|
|
53
53
|
prefix: string;
|
|
54
54
|
suffix: string;
|
|
55
55
|
label: string[];
|
|
56
|
-
}
|
|
56
|
+
}>>;
|
|
57
57
|
declare const navItem: import('tailwind-variants').TVReturnType<{
|
|
58
58
|
isActive: {
|
|
59
59
|
true: {
|
|
@@ -69,15 +69,15 @@ declare const navItem: import('tailwind-variants').TVReturnType<{
|
|
|
69
69
|
};
|
|
70
70
|
}, undefined, undefined, {
|
|
71
71
|
level: {
|
|
72
|
-
0:
|
|
73
|
-
1:
|
|
72
|
+
0: "uy:pl-150";
|
|
73
|
+
1: "uy:pl-600";
|
|
74
74
|
};
|
|
75
75
|
isDisabled: {
|
|
76
76
|
true: {
|
|
77
77
|
base: string;
|
|
78
78
|
label: string;
|
|
79
79
|
};
|
|
80
|
-
false:
|
|
80
|
+
false: "";
|
|
81
81
|
};
|
|
82
82
|
}, {
|
|
83
83
|
base: string[];
|
|
@@ -86,15 +86,15 @@ declare const navItem: import('tailwind-variants').TVReturnType<{
|
|
|
86
86
|
label: string[];
|
|
87
87
|
}, import('tailwind-variants').TVReturnType<{
|
|
88
88
|
level: {
|
|
89
|
-
0:
|
|
90
|
-
1:
|
|
89
|
+
0: "uy:pl-150";
|
|
90
|
+
1: "uy:pl-600";
|
|
91
91
|
};
|
|
92
92
|
isDisabled: {
|
|
93
93
|
true: {
|
|
94
94
|
base: string;
|
|
95
95
|
label: string;
|
|
96
96
|
};
|
|
97
|
-
false:
|
|
97
|
+
false: "";
|
|
98
98
|
};
|
|
99
99
|
}, {
|
|
100
100
|
base: string[];
|
|
@@ -103,39 +103,39 @@ declare const navItem: import('tailwind-variants').TVReturnType<{
|
|
|
103
103
|
label: string[];
|
|
104
104
|
}, undefined, {
|
|
105
105
|
level: {
|
|
106
|
-
0:
|
|
107
|
-
1:
|
|
106
|
+
0: "uy:pl-150";
|
|
107
|
+
1: "uy:pl-600";
|
|
108
108
|
};
|
|
109
109
|
isDisabled: {
|
|
110
110
|
true: {
|
|
111
111
|
base: string;
|
|
112
112
|
label: string;
|
|
113
113
|
};
|
|
114
|
-
false:
|
|
114
|
+
false: "";
|
|
115
115
|
};
|
|
116
116
|
}, {
|
|
117
117
|
base: string[];
|
|
118
118
|
prefix: string;
|
|
119
119
|
suffix: string;
|
|
120
120
|
label: string[];
|
|
121
|
-
}, import('tailwind-variants').
|
|
121
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
122
122
|
level: {
|
|
123
|
-
0:
|
|
124
|
-
1:
|
|
123
|
+
0: "uy:pl-150";
|
|
124
|
+
1: "uy:pl-600";
|
|
125
125
|
};
|
|
126
126
|
isDisabled: {
|
|
127
127
|
true: {
|
|
128
128
|
base: string;
|
|
129
129
|
label: string;
|
|
130
130
|
};
|
|
131
|
-
false:
|
|
131
|
+
false: "";
|
|
132
132
|
};
|
|
133
133
|
}, {
|
|
134
134
|
base: string[];
|
|
135
135
|
prefix: string;
|
|
136
136
|
suffix: string;
|
|
137
137
|
label: string[];
|
|
138
|
-
}
|
|
138
|
+
}>>>;
|
|
139
139
|
export type NavItemProps = Pick<VariantProps<typeof navItem>, 'level'> & PropsWithChildren<{
|
|
140
140
|
/** The prefix element to be displayed before the label. */
|
|
141
141
|
prefix?: ({ isCurrent }: {
|
|
@@ -172,15 +172,15 @@ export declare const RawNavItem: import('react').ForwardRefExoticComponent<Pick<
|
|
|
172
172
|
};
|
|
173
173
|
}, undefined, undefined, {
|
|
174
174
|
level: {
|
|
175
|
-
0:
|
|
176
|
-
1:
|
|
175
|
+
0: "uy:pl-150";
|
|
176
|
+
1: "uy:pl-600";
|
|
177
177
|
};
|
|
178
178
|
isDisabled: {
|
|
179
179
|
true: {
|
|
180
180
|
base: string;
|
|
181
181
|
label: string;
|
|
182
182
|
};
|
|
183
|
-
false:
|
|
183
|
+
false: "";
|
|
184
184
|
};
|
|
185
185
|
}, {
|
|
186
186
|
base: string[];
|
|
@@ -189,15 +189,15 @@ export declare const RawNavItem: import('react').ForwardRefExoticComponent<Pick<
|
|
|
189
189
|
label: string[];
|
|
190
190
|
}, import('tailwind-variants').TVReturnType<{
|
|
191
191
|
level: {
|
|
192
|
-
0:
|
|
193
|
-
1:
|
|
192
|
+
0: "uy:pl-150";
|
|
193
|
+
1: "uy:pl-600";
|
|
194
194
|
};
|
|
195
195
|
isDisabled: {
|
|
196
196
|
true: {
|
|
197
197
|
base: string;
|
|
198
198
|
label: string;
|
|
199
199
|
};
|
|
200
|
-
false:
|
|
200
|
+
false: "";
|
|
201
201
|
};
|
|
202
202
|
}, {
|
|
203
203
|
base: string[];
|
|
@@ -206,39 +206,39 @@ export declare const RawNavItem: import('react').ForwardRefExoticComponent<Pick<
|
|
|
206
206
|
label: string[];
|
|
207
207
|
}, undefined, {
|
|
208
208
|
level: {
|
|
209
|
-
0:
|
|
210
|
-
1:
|
|
209
|
+
0: "uy:pl-150";
|
|
210
|
+
1: "uy:pl-600";
|
|
211
211
|
};
|
|
212
212
|
isDisabled: {
|
|
213
213
|
true: {
|
|
214
214
|
base: string;
|
|
215
215
|
label: string;
|
|
216
216
|
};
|
|
217
|
-
false:
|
|
217
|
+
false: "";
|
|
218
218
|
};
|
|
219
219
|
}, {
|
|
220
220
|
base: string[];
|
|
221
221
|
prefix: string;
|
|
222
222
|
suffix: string;
|
|
223
223
|
label: string[];
|
|
224
|
-
}, import('tailwind-variants').
|
|
224
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
225
225
|
level: {
|
|
226
|
-
0:
|
|
227
|
-
1:
|
|
226
|
+
0: "uy:pl-150";
|
|
227
|
+
1: "uy:pl-600";
|
|
228
228
|
};
|
|
229
229
|
isDisabled: {
|
|
230
230
|
true: {
|
|
231
231
|
base: string;
|
|
232
232
|
label: string;
|
|
233
233
|
};
|
|
234
|
-
false:
|
|
234
|
+
false: "";
|
|
235
235
|
};
|
|
236
236
|
}, {
|
|
237
237
|
base: string[];
|
|
238
238
|
prefix: string;
|
|
239
239
|
suffix: string;
|
|
240
240
|
label: string[];
|
|
241
|
-
}
|
|
241
|
+
}>>>>, "level"> & {
|
|
242
242
|
/** The prefix element to be displayed before the label. */
|
|
243
243
|
prefix?: ({ isCurrent }: {
|
|
244
244
|
isCurrent: boolean;
|
|
@@ -762,7 +762,7 @@ export declare const navigationCard: import('tailwind-variants').TVReturnType<{
|
|
|
762
762
|
prefix: string[];
|
|
763
763
|
body: string[];
|
|
764
764
|
suffix: string[];
|
|
765
|
-
}, import('tailwind-variants').
|
|
765
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
766
766
|
gap: {
|
|
767
767
|
$0: {
|
|
768
768
|
base: string;
|
|
@@ -1144,4 +1144,4 @@ export declare const navigationCard: import('tailwind-variants').TVReturnType<{
|
|
|
1144
1144
|
prefix: string[];
|
|
1145
1145
|
body: string[];
|
|
1146
1146
|
suffix: string[];
|
|
1147
|
-
}
|
|
1147
|
+
}>>;
|
|
@@ -60,7 +60,7 @@ export declare const navigationCardGroup: import('tailwind-variants').TVReturnTy
|
|
|
60
60
|
label: string[];
|
|
61
61
|
list: string[];
|
|
62
62
|
listItem: string[];
|
|
63
|
-
}, import('tailwind-variants').
|
|
63
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
64
64
|
orientation: {
|
|
65
65
|
horizontal: {
|
|
66
66
|
list: string;
|
|
@@ -90,7 +90,7 @@ export declare const navigationCardGroup: import('tailwind-variants').TVReturnTy
|
|
|
90
90
|
label: string[];
|
|
91
91
|
list: string[];
|
|
92
92
|
listItem: string[];
|
|
93
|
-
}
|
|
93
|
+
}>>;
|
|
94
94
|
export interface NavigationCardGroupProps extends PropsWithChildren {
|
|
95
95
|
label: string;
|
|
96
96
|
isLabelHidden?: boolean;
|
|
@@ -4,7 +4,7 @@ import { FieldPath, FieldValues } from 'react-hook-form';
|
|
|
4
4
|
import { Schema } from '../../hooks/use-form.types.js';
|
|
5
5
|
import { LabelProps } from '../label/Label.js';
|
|
6
6
|
import { NumberProps } from '../number-input/NumberInput.js';
|
|
7
|
-
export declare const numberField: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex uy:flex-col uy:gap-100", {} | {}, undefined, import('tailwind-variants').
|
|
7
|
+
export declare const numberField: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:flex uy:flex-col uy:gap-100", {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
|
|
8
8
|
export interface NumberFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Pick<LabelProps, 'isRequired' | 'requiredVariant'>, Omit<NumberProps, 'name'> {
|
|
9
9
|
/** The name of the field, which should match the form schema. */
|
|
10
10
|
name: TName;
|
|
@@ -55,7 +55,7 @@ export declare const numberInput: import('tailwind-variants').TVReturnType<{
|
|
|
55
55
|
suffix: string[];
|
|
56
56
|
state: string[];
|
|
57
57
|
controls: string[];
|
|
58
|
-
}, import('tailwind-variants').
|
|
58
|
+
}, import('tailwind-variants').TVReturnTypeLike<{
|
|
59
59
|
isReadOnly: {
|
|
60
60
|
true: {
|
|
61
61
|
base: string[];
|
|
@@ -82,7 +82,7 @@ export declare const numberInput: import('tailwind-variants').TVReturnType<{
|
|
|
82
82
|
suffix: string[];
|
|
83
83
|
state: string[];
|
|
84
84
|
controls: string[];
|
|
85
|
-
}
|
|
85
|
+
}>>;
|
|
86
86
|
type StyleWithoutCurrency = Exclude<Intl.NumberFormatOptions['style'], 'currency'>;
|
|
87
87
|
interface FormatOptions extends Omit<Intl.NumberFormatOptions, 'currency' | 'style'> {
|
|
88
88
|
style?: StyleWithoutCurrency;
|