@kazee-ds/vue 0.5.5 → 0.6.0
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/README.md +3 -1
- package/dist/index.js +2842 -1346
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.vue.d.ts +2 -1
- package/dist/types/Badge.vue.d.ts +2 -1
- package/dist/types/Breadcrumb.vue.d.ts +2 -1
- package/dist/types/Button.vue.d.ts +2 -1
- package/dist/types/ButtonGroup.d.ts +9 -0
- package/dist/types/Card.vue.d.ts +3 -2
- package/dist/types/Chart.vue.d.ts +2 -1
- package/dist/types/Checkbox.vue.d.ts +2 -1
- package/dist/types/CheckboxIndicator.vue.d.ts +14 -0
- package/dist/types/Combobox.vue.d.ts +2 -1
- package/dist/types/CompositionListBox.vue.d.ts +32 -0
- package/dist/types/CompositionListBoxItem.vue.d.ts +23 -0
- package/dist/types/CompositionListBoxItemIndicator.vue.d.ts +15 -0
- package/dist/types/CompositionListBoxSection.vue.d.ts +15 -0
- package/dist/types/DataTable.vue.d.ts +2 -1
- package/dist/types/DataTableRoot.vue.d.ts +26 -0
- package/dist/types/DataTableSortButton.vue.d.ts +18 -0
- package/dist/types/DateRangePanel.vue.d.ts +4 -3
- package/dist/types/DateRangePicker.vue.d.ts +5 -3
- package/dist/types/Description.vue.d.ts +16 -0
- package/dist/types/Dialog.vue.d.ts +3 -2
- package/dist/types/DropdownMenu.vue.d.ts +3 -2
- package/dist/types/DropdownMenuBranch.vue.d.ts +2 -1
- package/dist/types/Empty.vue.d.ts +2 -1
- package/dist/types/Field.vue.d.ts +2 -1
- package/dist/types/FieldError.vue.d.ts +16 -0
- package/dist/types/FieldFeedback.vue.d.ts +2 -1
- package/dist/types/Form.vue.d.ts +2 -1
- package/dist/types/Input.vue.d.ts +3 -2
- package/dist/types/InputControl.vue.d.ts +40 -0
- package/dist/types/InputLabel.vue.d.ts +13 -0
- package/dist/types/InputRoot.vue.d.ts +37 -0
- package/dist/types/Label.vue.d.ts +2 -1
- package/dist/types/Listbox.vue.d.ts +2 -1
- package/dist/types/MenuItemContent.vue.d.ts +2 -1
- package/dist/types/NumberField.vue.d.ts +2 -1
- package/dist/types/Pagination.vue.d.ts +2 -1
- package/dist/types/Popover.vue.d.ts +2 -1
- package/dist/types/RadioGroup.vue.d.ts +2 -1
- package/dist/types/Select.vue.d.ts +3 -2
- package/dist/types/SelectClearButton.vue.d.ts +15 -0
- package/dist/types/SelectGroup.d.ts +9 -0
- package/dist/types/SelectPopover.vue.d.ts +13 -0
- package/dist/types/SelectRoot.vue.d.ts +44 -0
- package/dist/types/SelectTrigger.vue.d.ts +13 -0
- package/dist/types/SelectValue.vue.d.ts +19 -0
- package/dist/types/Separator.vue.d.ts +2 -1
- package/dist/types/Sidebar.vue.d.ts +2 -1
- package/dist/types/SidebarNavigation.vue.d.ts +13 -0
- package/dist/types/SidebarRoot.vue.d.ts +26 -0
- package/dist/types/SidebarToggle.vue.d.ts +15 -0
- package/dist/types/Skeleton.vue.d.ts +2 -1
- package/dist/types/Spinner.vue.d.ts +2 -1
- package/dist/types/Switch.vue.d.ts +2 -1
- package/dist/types/Table.vue.d.ts +2 -1
- package/dist/types/Tabs.vue.d.ts +2 -1
- package/dist/types/TabsListView.vue.d.ts +2 -1
- package/dist/types/Textarea.vue.d.ts +2 -1
- package/dist/types/TextareaControl.vue.d.ts +13 -0
- package/dist/types/Toast.vue.d.ts +3 -1
- package/dist/types/ToastActionButton.vue.d.ts +16 -0
- package/dist/types/ToastCloseButton.vue.d.ts +13 -0
- package/dist/types/ToastProvider.vue.d.ts +6 -1
- package/dist/types/ToggleButton.vue.d.ts +2 -1
- package/dist/types/ToggleButtonGroup.vue.d.ts +3 -2
- package/dist/types/ToggleGroup.vue.d.ts +3 -2
- package/dist/types/Tooltip.vue.d.ts +2 -1
- package/dist/types/composition-factory.d.ts +20 -0
- package/dist/types/composition.d.ts +581 -0
- package/dist/types/data-table-composition-context.d.ts +8 -0
- package/dist/types/feedback-context.d.ts +8 -0
- package/dist/types/index.d.ts +312 -30
- package/dist/types/input-composition-context.d.ts +15 -0
- package/dist/types/select-composition-context.d.ts +18 -0
- package/dist/types/sidebar-composition-context.d.ts +7 -0
- package/dist/types/styling.d.ts +5 -0
- package/dist/types/toast-composition-context.d.ts +9 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,61 +1,343 @@
|
|
|
1
|
+
import * as Parts from './composition.js';
|
|
1
2
|
export { default as Button } from './Button.vue.js';
|
|
2
3
|
export { default as ButtonGroup } from './ButtonGroup.js';
|
|
3
4
|
export { default as ButtonGroupSeparator } from './ButtonGroupSeparator.js';
|
|
4
5
|
export { default as ToggleButton } from './ToggleButton.vue.js';
|
|
5
6
|
export { default as ToggleButtonGroup } from './ToggleButtonGroup.vue.js';
|
|
6
7
|
export { default as ToggleButtonGroupSeparator } from './ButtonGroupSeparator.js';
|
|
7
|
-
|
|
8
|
+
import SelectCompact from './Select.vue.js';
|
|
9
|
+
export declare const Select: typeof SelectCompact & {
|
|
10
|
+
Root: typeof Parts.SelectRoot;
|
|
11
|
+
Trigger: typeof Parts.SelectTrigger;
|
|
12
|
+
Value: typeof Parts.SelectValue;
|
|
13
|
+
Indicator: typeof Parts.SelectIndicator;
|
|
14
|
+
Control: typeof Parts.SelectControl;
|
|
15
|
+
ClearButton: typeof Parts.SelectClearButton;
|
|
16
|
+
Popover: typeof Parts.SelectPopover;
|
|
17
|
+
Listbox: typeof Parts.SelectListbox;
|
|
18
|
+
Item: typeof Parts.SelectItem;
|
|
19
|
+
ItemText: typeof Parts.SelectItemText;
|
|
20
|
+
ItemIndicator: typeof Parts.SelectItemIndicator;
|
|
21
|
+
Section: typeof Parts.SelectSection;
|
|
22
|
+
SectionLabel: typeof Parts.SelectSectionLabel;
|
|
23
|
+
};
|
|
8
24
|
export { default as SelectGroup } from './SelectGroup.js';
|
|
9
25
|
export type { SelectSize, SelectVariant } from './types.js';
|
|
10
|
-
|
|
26
|
+
import InputCompact from './Input.vue.js';
|
|
27
|
+
export declare const Input: typeof InputCompact & {
|
|
28
|
+
Root: typeof Parts.InputRoot;
|
|
29
|
+
Group: typeof Parts.InputGroup;
|
|
30
|
+
Control: typeof Parts.InputControl;
|
|
31
|
+
Label: typeof Parts.InputLabel;
|
|
32
|
+
Prefix: typeof Parts.InputPrefix;
|
|
33
|
+
Suffix: typeof Parts.InputSuffix;
|
|
34
|
+
};
|
|
11
35
|
export type { ButtonSize, ButtonVariant, SelectOption, InputSize, InputType } from './types.js';
|
|
12
36
|
export type { InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
13
|
-
|
|
37
|
+
import TextareaCompact from './Textarea.vue.js';
|
|
38
|
+
export declare const Textarea: typeof TextareaCompact & {
|
|
39
|
+
Root: typeof Parts.InputRoot;
|
|
40
|
+
Control: typeof Parts.TextareaControl;
|
|
41
|
+
Label: typeof Parts.InputLabel;
|
|
42
|
+
};
|
|
14
43
|
export { default as Label } from './Label.vue.js';
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
|
|
44
|
+
import CheckboxCompact from './Checkbox.vue.js';
|
|
45
|
+
export declare const Checkbox: typeof CheckboxCompact & {
|
|
46
|
+
Root: typeof Parts.CheckboxRoot;
|
|
47
|
+
Content: typeof Parts.CheckboxContent;
|
|
48
|
+
Indicator: typeof Parts.CheckboxIndicator;
|
|
49
|
+
};
|
|
50
|
+
import RadioGroupCompact from './RadioGroup.vue.js';
|
|
51
|
+
export declare const RadioGroup: typeof RadioGroupCompact & {
|
|
52
|
+
Root: typeof Parts.RadioGroupRoot;
|
|
53
|
+
Item: typeof Parts.RadioGroupItem;
|
|
54
|
+
Indicator: typeof Parts.RadioGroupIndicator;
|
|
55
|
+
Content: typeof Parts.RadioGroupContent;
|
|
56
|
+
};
|
|
57
|
+
import SwitchCompact from './Switch.vue.js';
|
|
58
|
+
export declare const Switch: typeof SwitchCompact & {
|
|
59
|
+
Root: typeof Parts.SwitchRoot;
|
|
60
|
+
Content: typeof Parts.SwitchContent;
|
|
61
|
+
Thumb: typeof Parts.SwitchThumb;
|
|
62
|
+
Icon: typeof Parts.SwitchIcon;
|
|
63
|
+
};
|
|
18
64
|
export type { RadioOption } from './types.js';
|
|
19
|
-
|
|
20
|
-
export
|
|
65
|
+
import FieldCompact from './Field.vue.js';
|
|
66
|
+
export declare const Field: typeof FieldCompact & {
|
|
67
|
+
Root: typeof Parts.InputRoot;
|
|
68
|
+
Label: typeof Parts.InputLabel;
|
|
69
|
+
Control: typeof Parts.InputControl;
|
|
70
|
+
Description: typeof Parts.Description;
|
|
71
|
+
Error: typeof Parts.FieldError;
|
|
72
|
+
};
|
|
73
|
+
import FormCompact from './Form.vue.js';
|
|
74
|
+
export declare const Form: typeof FormCompact & {
|
|
75
|
+
Root: typeof FormCompact;
|
|
76
|
+
};
|
|
21
77
|
export type { ValidationErrors, FieldControlProps, FieldSlotProps } from './types.js';
|
|
22
|
-
|
|
23
|
-
export
|
|
78
|
+
import ListboxCompact from './Listbox.vue.js';
|
|
79
|
+
export declare const Listbox: typeof ListboxCompact & {
|
|
80
|
+
Root: typeof Parts.ListboxRoot;
|
|
81
|
+
Content: typeof Parts.ListboxContent;
|
|
82
|
+
Item: typeof Parts.ListboxItem;
|
|
83
|
+
ItemIndicator: typeof Parts.ListboxItemIndicator;
|
|
84
|
+
Section: typeof Parts.ListboxSection;
|
|
85
|
+
SectionLabel: typeof Parts.ListboxSectionLabel;
|
|
86
|
+
};
|
|
87
|
+
import NumberFieldCompact from './NumberField.vue.js';
|
|
88
|
+
export declare const NumberField: typeof NumberFieldCompact & {
|
|
89
|
+
Root: typeof Parts.NumberFieldRoot;
|
|
90
|
+
Group: typeof Parts.NumberFieldGroup;
|
|
91
|
+
Input: typeof Parts.NumberFieldInput;
|
|
92
|
+
IncrementButton: typeof Parts.NumberFieldIncrementButton;
|
|
93
|
+
DecrementButton: typeof Parts.NumberFieldDecrementButton;
|
|
94
|
+
};
|
|
24
95
|
export type { ListboxOption, ListboxSelectionMode } from './listbox-selection.js';
|
|
25
|
-
|
|
26
|
-
export
|
|
96
|
+
import CardCompact from './Card.vue.js';
|
|
97
|
+
export declare const Card: typeof CardCompact & {
|
|
98
|
+
Root: typeof Parts.CardRoot;
|
|
99
|
+
Header: typeof Parts.CardHeader;
|
|
100
|
+
Heading: typeof Parts.CardHeading;
|
|
101
|
+
Title: typeof Parts.CardTitle;
|
|
102
|
+
Description: typeof Parts.CardDescription;
|
|
103
|
+
Content: typeof Parts.CardContent;
|
|
104
|
+
Footer: typeof Parts.CardFooter;
|
|
105
|
+
Actions: typeof Parts.CardActions;
|
|
106
|
+
};
|
|
107
|
+
import BadgeCompact from './Badge.vue.js';
|
|
108
|
+
export declare const Badge: typeof BadgeCompact & {
|
|
109
|
+
Label: typeof Parts.BadgeLabel;
|
|
110
|
+
Anchor: typeof Parts.BadgeAnchor;
|
|
111
|
+
};
|
|
27
112
|
export { default as Skeleton } from './Skeleton.vue.js';
|
|
28
113
|
export { default as Separator } from './Separator.vue.js';
|
|
29
114
|
export type { BadgeTone } from './types.js';
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
115
|
+
import TabsCompact from './Tabs.vue.js';
|
|
116
|
+
export declare const Tabs: typeof TabsCompact & {
|
|
117
|
+
Root: typeof Parts.TabsRoot;
|
|
118
|
+
List: typeof Parts.TabsList;
|
|
119
|
+
Tab: typeof Parts.TabsTab;
|
|
120
|
+
Panel: typeof Parts.TabsPanel;
|
|
121
|
+
Indicator: typeof Parts.TabsIndicator;
|
|
122
|
+
ListContainer: typeof Parts.TabsListContainer;
|
|
123
|
+
Separator: typeof Parts.TabsSeparator;
|
|
124
|
+
};
|
|
125
|
+
import PaginationCompact from './Pagination.vue.js';
|
|
126
|
+
export declare const Pagination: typeof PaginationCompact & {
|
|
127
|
+
Root: typeof Parts.PaginationRoot;
|
|
128
|
+
List: typeof Parts.PaginationList;
|
|
129
|
+
Item: typeof Parts.PaginationItem;
|
|
130
|
+
Previous: typeof Parts.PaginationPrevious;
|
|
131
|
+
Next: typeof Parts.PaginationNext;
|
|
132
|
+
First: typeof Parts.PaginationFirst;
|
|
133
|
+
Last: typeof Parts.PaginationLast;
|
|
134
|
+
Ellipsis: typeof Parts.PaginationEllipsis;
|
|
135
|
+
Content: typeof Parts.PaginationContent;
|
|
136
|
+
Summary: typeof Parts.PaginationSummary;
|
|
137
|
+
};
|
|
138
|
+
import TableCompact from './Table.vue.js';
|
|
139
|
+
export declare const Table: typeof TableCompact & {
|
|
140
|
+
Root: typeof Parts.TableRoot;
|
|
141
|
+
ScrollContainer: typeof Parts.TableScrollContainer;
|
|
142
|
+
Caption: typeof Parts.TableCaption;
|
|
143
|
+
Header: typeof Parts.TableHeader;
|
|
144
|
+
Body: typeof Parts.TableBody;
|
|
145
|
+
Footer: typeof Parts.TableFooter;
|
|
146
|
+
Row: typeof Parts.TableRow;
|
|
147
|
+
Column: typeof Parts.TableColumn;
|
|
148
|
+
Cell: typeof Parts.TableCell;
|
|
149
|
+
};
|
|
150
|
+
import DataTableCompact from './DataTable.vue.js';
|
|
151
|
+
export declare const DataTable: typeof DataTableCompact & {
|
|
152
|
+
Root: typeof Parts.DataTableRoot;
|
|
153
|
+
SortButton: typeof Parts.DataTableSortButton;
|
|
154
|
+
Status: typeof Parts.DataTableStatus;
|
|
155
|
+
Error: typeof Parts.DataTableError;
|
|
156
|
+
Header: typeof Parts.TableHeader;
|
|
157
|
+
Body: typeof Parts.TableBody;
|
|
158
|
+
Row: typeof Parts.TableRow;
|
|
159
|
+
Column: typeof Parts.TableColumn;
|
|
160
|
+
Cell: typeof Parts.TableCell;
|
|
161
|
+
Caption: typeof Parts.TableCaption;
|
|
162
|
+
};
|
|
34
163
|
export type { DataTableColumn, DataTableRow, TableSort } from './data-table-types.js';
|
|
35
164
|
export type { TabItem } from './types.js';
|
|
36
|
-
|
|
37
|
-
export
|
|
38
|
-
|
|
165
|
+
import AlertCompact from './Alert.vue.js';
|
|
166
|
+
export declare const Alert: typeof AlertCompact & {
|
|
167
|
+
Root: typeof Parts.AlertRoot;
|
|
168
|
+
Title: typeof Parts.AlertTitle;
|
|
169
|
+
Description: typeof Parts.AlertDescription;
|
|
170
|
+
Content: typeof Parts.AlertContent;
|
|
171
|
+
Indicator: typeof Parts.AlertIndicator;
|
|
172
|
+
Actions: typeof Parts.AlertActions;
|
|
173
|
+
};
|
|
174
|
+
import ToastProvider from './ToastProvider.vue.js';
|
|
175
|
+
export { ToastProvider };
|
|
176
|
+
import ToastCompact from './Toast.vue.js';
|
|
177
|
+
export declare const Toast: typeof ToastCompact & {
|
|
178
|
+
Provider: typeof ToastProvider;
|
|
179
|
+
Root: typeof Parts.ToastRoot;
|
|
180
|
+
Title: typeof Parts.ToastTitle;
|
|
181
|
+
Description: typeof Parts.ToastDescription;
|
|
182
|
+
CloseButton: typeof Parts.ToastCloseButton;
|
|
183
|
+
ActionButton: typeof Parts.ToastActionButton;
|
|
184
|
+
Viewport: typeof Parts.ToastViewport;
|
|
185
|
+
Content: typeof Parts.ToastContent;
|
|
186
|
+
Indicator: typeof Parts.ToastIndicator;
|
|
187
|
+
Actions: typeof Parts.ToastActions;
|
|
188
|
+
Progress: typeof Parts.ToastProgress;
|
|
189
|
+
};
|
|
39
190
|
export { useToast } from './useToast.js';
|
|
40
191
|
export { createToastManager } from './toast-model.js';
|
|
41
192
|
export type { ToastTone, ToastPlacement, ToastCloseReason, ToastAction, ToastOptions, ToastEntry, ToastManagerOptions, ToastPromiseMessages, ToastManager, } from './toast-model.js';
|
|
42
|
-
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
193
|
+
import EmptyCompact from './Empty.vue.js';
|
|
194
|
+
export declare const Empty: typeof EmptyCompact & {
|
|
195
|
+
Root: typeof Parts.EmptyRoot;
|
|
196
|
+
Title: typeof Parts.EmptyTitle;
|
|
197
|
+
Description: typeof Parts.EmptyDescription;
|
|
198
|
+
Actions: typeof Parts.EmptyActions;
|
|
199
|
+
};
|
|
200
|
+
import BreadcrumbCompact from './Breadcrumb.vue.js';
|
|
201
|
+
export declare const Breadcrumb: typeof BreadcrumbCompact & {
|
|
202
|
+
Root: typeof Parts.BreadcrumbRoot;
|
|
203
|
+
List: typeof Parts.BreadcrumbList;
|
|
204
|
+
Item: typeof Parts.BreadcrumbItem;
|
|
205
|
+
Link: typeof Parts.BreadcrumbLink;
|
|
206
|
+
Separator: typeof Parts.BreadcrumbSeparator;
|
|
207
|
+
Current: typeof Parts.BreadcrumbCurrent;
|
|
208
|
+
};
|
|
209
|
+
import SidebarCompact from './Sidebar.vue.js';
|
|
210
|
+
export declare const Sidebar: typeof SidebarCompact & {
|
|
211
|
+
Root: typeof Parts.SidebarRoot;
|
|
212
|
+
Toggle: typeof Parts.SidebarToggle;
|
|
213
|
+
Navigation: typeof Parts.SidebarNavigation;
|
|
214
|
+
Title: typeof Parts.SidebarTitle;
|
|
215
|
+
List: typeof Parts.SidebarList;
|
|
216
|
+
Header: typeof Parts.SidebarHeader;
|
|
217
|
+
Content: typeof Parts.SidebarContent;
|
|
218
|
+
Item: typeof Parts.SidebarItem;
|
|
219
|
+
Footer: typeof Parts.SidebarFooter;
|
|
220
|
+
};
|
|
221
|
+
import ChartCompact from './Chart.vue.js';
|
|
222
|
+
export declare const Chart: typeof ChartCompact & {
|
|
223
|
+
Root: typeof Parts.ChartRoot;
|
|
224
|
+
Title: typeof Parts.ChartTitle;
|
|
225
|
+
Description: typeof Parts.ChartDescription;
|
|
226
|
+
};
|
|
227
|
+
import DialogCompact from './Dialog.vue.js';
|
|
228
|
+
export declare const Dialog: typeof DialogCompact & {
|
|
229
|
+
Root: typeof Parts.DialogRoot;
|
|
230
|
+
Trigger: typeof Parts.DialogTrigger;
|
|
231
|
+
Portal: typeof Parts.DialogPortal;
|
|
232
|
+
Backdrop: typeof Parts.DialogBackdrop;
|
|
233
|
+
Content: typeof Parts.DialogContent;
|
|
234
|
+
Title: typeof Parts.DialogTitle;
|
|
235
|
+
Description: typeof Parts.DialogDescription;
|
|
236
|
+
CloseButton: typeof Parts.DialogCloseButton;
|
|
237
|
+
Header: typeof Parts.DialogHeader;
|
|
238
|
+
Body: typeof Parts.DialogBody;
|
|
239
|
+
Footer: typeof Parts.DialogFooter;
|
|
240
|
+
};
|
|
241
|
+
import DropdownMenuCompact from './DropdownMenu.vue.js';
|
|
242
|
+
export declare const DropdownMenu: typeof DropdownMenuCompact & {
|
|
243
|
+
Root: typeof Parts.DropdownMenuRoot;
|
|
244
|
+
Trigger: typeof Parts.DropdownMenuTrigger;
|
|
245
|
+
Portal: typeof Parts.DropdownMenuPortal;
|
|
246
|
+
Content: typeof Parts.DropdownMenuContent;
|
|
247
|
+
Item: typeof Parts.DropdownMenuItem;
|
|
248
|
+
ItemIndicator: typeof Parts.DropdownMenuItemIndicator;
|
|
249
|
+
Section: typeof Parts.DropdownMenuSection;
|
|
250
|
+
SectionLabel: typeof Parts.DropdownMenuSectionLabel;
|
|
251
|
+
Separator: typeof Parts.DropdownMenuSeparator;
|
|
252
|
+
CheckboxItem: typeof Parts.DropdownMenuCheckboxItem;
|
|
253
|
+
RadioGroup: typeof Parts.DropdownMenuRadioGroup;
|
|
254
|
+
RadioItem: typeof Parts.DropdownMenuRadioItem;
|
|
255
|
+
Sub: typeof Parts.DropdownMenuSub;
|
|
256
|
+
SubTrigger: typeof Parts.DropdownMenuSubTrigger;
|
|
257
|
+
SubContent: typeof Parts.DropdownMenuSubContent;
|
|
258
|
+
};
|
|
259
|
+
import PopoverCompact from './Popover.vue.js';
|
|
260
|
+
export declare const Popover: typeof PopoverCompact & {
|
|
261
|
+
Root: typeof Parts.PopoverRoot;
|
|
262
|
+
Trigger: typeof Parts.PopoverTrigger;
|
|
263
|
+
Portal: typeof Parts.PopoverPortal;
|
|
264
|
+
Content: typeof Parts.PopoverContent;
|
|
265
|
+
Arrow: typeof Parts.PopoverArrow;
|
|
266
|
+
CloseButton: typeof Parts.PopoverCloseButton;
|
|
267
|
+
Heading: typeof Parts.PopoverHeading;
|
|
268
|
+
Body: typeof Parts.PopoverBody;
|
|
269
|
+
Footer: typeof Parts.PopoverFooter;
|
|
270
|
+
};
|
|
271
|
+
import TooltipCompact from './Tooltip.vue.js';
|
|
272
|
+
export declare const Tooltip: typeof TooltipCompact & {
|
|
273
|
+
Root: typeof Parts.TooltipRoot;
|
|
274
|
+
Trigger: typeof Parts.TooltipTrigger;
|
|
275
|
+
Portal: typeof Parts.TooltipPortal;
|
|
276
|
+
Provider: typeof Parts.TooltipProvider;
|
|
277
|
+
Content: typeof Parts.TooltipContent;
|
|
278
|
+
Arrow: typeof Parts.TooltipArrow;
|
|
279
|
+
};
|
|
50
280
|
export type { NavigationItem, BreadcrumbItem, ChartDatum, DropdownMenuItem, } from './dashboard-types.js';
|
|
51
281
|
export { default as Spinner } from './Spinner.vue.js';
|
|
52
282
|
export type { SpinnerSize, SpinnerColor } from './types.js';
|
|
53
|
-
|
|
283
|
+
import ComboboxCompact from './Combobox.vue.js';
|
|
284
|
+
export declare const Combobox: typeof ComboboxCompact & {
|
|
285
|
+
Root: typeof Parts.ComboboxRoot;
|
|
286
|
+
Input: typeof Parts.ComboboxInput;
|
|
287
|
+
Trigger: typeof Parts.ComboboxTrigger;
|
|
288
|
+
Content: typeof Parts.ComboboxContent;
|
|
289
|
+
Item: typeof Parts.ComboboxItem;
|
|
290
|
+
ItemIndicator: typeof Parts.ComboboxItemIndicator;
|
|
291
|
+
Section: typeof Parts.ComboboxSection;
|
|
292
|
+
SectionLabel: typeof Parts.ComboboxSectionLabel;
|
|
293
|
+
Anchor: typeof Parts.ComboboxAnchor;
|
|
294
|
+
ClearButton: typeof Parts.ComboboxClearButton;
|
|
295
|
+
Portal: typeof Parts.ComboboxPortal;
|
|
296
|
+
};
|
|
54
297
|
export type { MenuSelectionMode, MenuPlacement, DialogSize, DialogPlacement, DialogScroll, DialogBackdrop, } from './overlay-model.js';
|
|
55
|
-
|
|
298
|
+
import ToggleGroupCompact from './ToggleGroup.vue.js';
|
|
299
|
+
export declare const ToggleGroup: typeof ToggleGroupCompact & {
|
|
300
|
+
Root: typeof Parts.ToggleGroupRoot;
|
|
301
|
+
Item: typeof Parts.ToggleGroupItem;
|
|
302
|
+
};
|
|
56
303
|
export type { ToggleGroupItem, ToggleGroupMode, ToggleGroupVariant } from './toggle-group-model.js';
|
|
57
304
|
export type { TabsVariant } from './types.js';
|
|
58
|
-
|
|
305
|
+
import DateRangePickerCompact from './DateRangePicker.vue.js';
|
|
306
|
+
export declare const DateRangePicker: typeof DateRangePickerCompact & {
|
|
307
|
+
Root: typeof Parts.DateRangePickerRoot;
|
|
308
|
+
Anchor: typeof Parts.DateRangePickerAnchor;
|
|
309
|
+
Trigger: typeof Parts.DateRangePickerTrigger;
|
|
310
|
+
Content: typeof Parts.DateRangePickerContent;
|
|
311
|
+
Field: typeof Parts.DateRangePickerField;
|
|
312
|
+
Input: typeof Parts.DateRangePickerInput;
|
|
313
|
+
Calendar: typeof Parts.DateRangePickerCalendar;
|
|
314
|
+
Header: typeof Parts.DateRangePickerHeader;
|
|
315
|
+
Heading: typeof Parts.DateRangePickerHeading;
|
|
316
|
+
Prev: typeof Parts.DateRangePickerPrev;
|
|
317
|
+
Next: typeof Parts.DateRangePickerNext;
|
|
318
|
+
Grid: typeof Parts.DateRangePickerGrid;
|
|
319
|
+
GridHead: typeof Parts.DateRangePickerGridHead;
|
|
320
|
+
GridBody: typeof Parts.DateRangePickerGridBody;
|
|
321
|
+
GridRow: typeof Parts.DateRangePickerGridRow;
|
|
322
|
+
HeadCell: typeof Parts.DateRangePickerHeadCell;
|
|
323
|
+
Cell: typeof Parts.DateRangePickerCell;
|
|
324
|
+
CellTrigger: typeof Parts.DateRangePickerCellTrigger;
|
|
325
|
+
Close: typeof Parts.DateRangePickerClose;
|
|
326
|
+
Arrow: typeof Parts.DateRangePickerArrow;
|
|
327
|
+
};
|
|
59
328
|
export { createDateRangePresets } from './date-range-model.js';
|
|
60
329
|
export { rangeText as formatDateRange } from './date-range-model.js';
|
|
61
330
|
export type { DateRange, DateRangePreset, DateRangeLabels, DateRangeSize, DateRangeVariant, } from './date-range-model.js';
|
|
331
|
+
export * from './composition.js';
|
|
332
|
+
export type { StylingProps } from './styling.js';
|
|
333
|
+
/** Casing alias for consumers familiar with HeroUI ListBox. */
|
|
334
|
+
import CompositionListBox from './CompositionListBox.vue.js';
|
|
335
|
+
import CompositionListBoxItem from './CompositionListBoxItem.vue.js';
|
|
336
|
+
import CompositionListBoxItemIndicator from './CompositionListBoxItemIndicator.vue.js';
|
|
337
|
+
import CompositionListBoxSection from './CompositionListBoxSection.vue.js';
|
|
338
|
+
export declare const ListBox: typeof CompositionListBox & {
|
|
339
|
+
Root: typeof CompositionListBox;
|
|
340
|
+
Item: typeof CompositionListBoxItem;
|
|
341
|
+
ItemIndicator: typeof CompositionListBoxItemIndicator;
|
|
342
|
+
Section: typeof CompositionListBoxSection;
|
|
343
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export interface InputCompositionContext {
|
|
3
|
+
id: string;
|
|
4
|
+
value: ComputedRef<string>;
|
|
5
|
+
disabled: ComputedRef<boolean>;
|
|
6
|
+
readonly: ComputedRef<boolean>;
|
|
7
|
+
required: ComputedRef<boolean>;
|
|
8
|
+
invalid: ComputedRef<boolean>;
|
|
9
|
+
name: ComputedRef<string | undefined>;
|
|
10
|
+
describedBy: ComputedRef<string | undefined>;
|
|
11
|
+
update(value: string): void;
|
|
12
|
+
reset(): void;
|
|
13
|
+
describe(id: string): () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const inputCompositionKey: InjectionKey<InputCompositionContext>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface SelectCompositionContext {
|
|
3
|
+
id: string;
|
|
4
|
+
describedBy: ComputedRef<string | undefined>;
|
|
5
|
+
labelId: string;
|
|
6
|
+
hasLabel: ComputedRef<boolean>;
|
|
7
|
+
disabled: ComputedRef<boolean>;
|
|
8
|
+
empty: ComputedRef<boolean>;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
trigger: Ref<HTMLElement | undefined>;
|
|
11
|
+
value: ComputedRef<string | string[] | undefined>;
|
|
12
|
+
labels: Ref<Record<string, string>>;
|
|
13
|
+
registerLabel(value: string, label: string): void;
|
|
14
|
+
}
|
|
15
|
+
export declare const selectCompositionKey: InjectionKey<SelectCompositionContext>;
|
|
16
|
+
export declare const selectTriggerCompositionKey: InjectionKey<{
|
|
17
|
+
registerClear(): () => void;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
import type { ToastEntry } from './toast-model.js';
|
|
3
|
+
export interface ToastCompositionContext {
|
|
4
|
+
entry: ComputedRef<ToastEntry>;
|
|
5
|
+
closing: ComputedRef<boolean>;
|
|
6
|
+
dismiss(): void;
|
|
7
|
+
action(cancel: boolean, event: MouseEvent): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const toastCompositionKey: InjectionKey<ToastCompositionContext>;
|