@returnless/focus-ui 0.0.8 → 0.0.9
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/build-utils/generate-component-meta.d.ts +12 -0
- package/dist/build-utils/update-component-list.d.ts +1 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +39 -0
- package/dist/components/Accordion/AccordionContent.vue.d.ts +9 -0
- package/dist/components/Accordion/AccordionItem.vue.d.ts +9 -0
- package/dist/components/Accordion/AccordionTrigger.vue.d.ts +9 -0
- package/dist/components/Accordion/index.d.ts +4 -0
- package/dist/components/ActionList/ActionList.vue.d.ts +39 -0
- package/dist/components/ActionList/ActionListBody.vue.d.ts +9 -0
- package/dist/components/ActionList/ActionListItem.vue.d.ts +48 -0
- package/dist/components/ActionList/ActionListSection.vue.d.ts +9 -0
- package/dist/components/ActionList/ActionListTrigger.vue.d.ts +9 -0
- package/dist/components/ActionList/index.d.ts +5 -0
- package/dist/components/Alert/Alert.vue.d.ts +57 -0
- package/dist/components/Alert/AlertDescription.vue.d.ts +9 -0
- package/dist/components/Alert/AlertTitle.vue.d.ts +9 -0
- package/dist/components/Alert/DismissableAlertButton.vue.d.ts +36 -0
- package/dist/components/Alert/index.d.ts +4 -0
- package/dist/components/Alert/types.d.ts +1 -0
- package/dist/components/AlertDialog/AlertDialog.vue.d.ts +42 -0
- package/dist/components/AlertDialog/AlertDialogActionButton.vue.d.ts +39 -0
- package/dist/components/AlertDialog/AlertDialogCancelButton.vue.d.ts +9 -0
- package/dist/components/AlertDialog/AlertDialogContent.vue.d.ts +9 -0
- package/dist/components/AlertDialog/AlertDialogDescription.vue.d.ts +9 -0
- package/dist/components/AlertDialog/AlertDialogFooter.vue.d.ts +9 -0
- package/dist/components/AlertDialog/AlertDialogHeader.vue.d.ts +9 -0
- package/dist/components/AlertDialog/AlertDialogTitle.vue.d.ts +9 -0
- package/dist/components/AlertDialog/index.d.ts +8 -0
- package/dist/components/AspectRatio/AspectRatio.vue.d.ts +38 -0
- package/dist/components/AspectRatio/index.d.ts +1 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +59 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/Badge.vue.d.ts +49 -0
- package/dist/components/Badge/BadgeContent.vue.d.ts +9 -0
- package/dist/components/Badge/BadgeIcon.vue.d.ts +9 -0
- package/dist/components/Badge/index.d.ts +3 -0
- package/dist/components/BarChart/BarChart.vue.d.ts +27 -0
- package/dist/components/BarChart/BarChartContainer.vue.d.ts +9 -0
- package/dist/components/BarChart/BarChartStacked.vue.d.ts +27 -0
- package/dist/components/BarChart/index.d.ts +3 -0
- package/dist/components/Breadcrumbs/Breadcrumb.vue.d.ts +9 -0
- package/dist/components/Breadcrumbs/BreadcrumbEllipsis.vue.d.ts +2 -0
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +9 -0
- package/dist/components/Breadcrumbs/BreadcrumbLink.vue.d.ts +9 -0
- package/dist/components/Breadcrumbs/BreadcrumbList.vue.d.ts +9 -0
- package/dist/components/Breadcrumbs/BreadcrumbPage.vue.d.ts +9 -0
- package/dist/components/Breadcrumbs/BreadcrumbSeparator.vue.d.ts +2 -0
- package/dist/components/Breadcrumbs/index.d.ts +7 -0
- package/dist/components/Button/Button.vue.d.ts +63 -0
- package/dist/components/Button/ButtonContent.vue.d.ts +9 -0
- package/dist/components/Button/ButtonIcon.vue.d.ts +45 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/types.d.ts +25 -0
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +9 -0
- package/dist/components/ButtonGroup/index.d.ts +1 -0
- package/dist/components/Card/Card.vue.d.ts +9 -0
- package/dist/components/Card/CardDescription.vue.d.ts +9 -0
- package/dist/components/Card/CardFooter.vue.d.ts +9 -0
- package/dist/components/Card/CardHeader.vue.d.ts +9 -0
- package/dist/components/Card/CardHelp.vue.d.ts +22 -0
- package/dist/components/Card/CardSection.vue.d.ts +36 -0
- package/dist/components/Card/CardTitle.vue.d.ts +9 -0
- package/dist/components/Card/index.d.ts +7 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +50 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/DataList/DataList.vue.d.ts +36 -0
- package/dist/components/DataList/DataListContent.vue.d.ts +9 -0
- package/dist/components/DataList/DataListItem.vue.d.ts +9 -0
- package/dist/components/DataList/DataListItemLine.vue.d.ts +9 -0
- package/dist/components/DataList/index.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +35 -0
- package/dist/components/DatePicker/DatePickerCard.vue.d.ts +9 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DescriptionList/DescriptionList.vue.d.ts +38 -0
- package/dist/components/DescriptionList/DescriptionListDescription.vue.d.ts +9 -0
- package/dist/components/DescriptionList/DescriptionListItem.vue.d.ts +9 -0
- package/dist/components/DescriptionList/DescriptionListTerm.vue.d.ts +9 -0
- package/dist/components/DescriptionList/index.d.ts +4 -0
- package/dist/components/Dialog/index.d.ts +0 -0
- package/dist/components/DropZone/DropZone.vue.d.ts +45 -0
- package/dist/components/DropZone/index.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.vue.d.ts +9 -0
- package/dist/components/EmptyState/EmptyStateActions.vue.d.ts +9 -0
- package/dist/components/EmptyState/EmptyStateContent.vue.d.ts +9 -0
- package/dist/components/EmptyState/EmptyStateDescription.vue.d.ts +9 -0
- package/dist/components/EmptyState/EmptyStateTitle.vue.d.ts +9 -0
- package/dist/components/EmptyState/index.d.ts +5 -0
- package/dist/components/Feed/Feed.vue.d.ts +9 -0
- package/dist/components/Feed/FeedItem.vue.d.ts +9 -0
- package/dist/components/Feed/FeedItemBlock.vue.d.ts +9 -0
- package/dist/components/Feed/FeedItemDateIndicator.vue.d.ts +9 -0
- package/dist/components/Feed/FeedItemIcon.vue.d.ts +32 -0
- package/dist/components/Feed/FeedItemSimple.vue.d.ts +9 -0
- package/dist/components/Feed/index.d.ts +6 -0
- package/dist/components/FileUploadButton/FileUploadButton.vue.d.ts +50 -0
- package/dist/components/FileUploadButton/index.d.ts +1 -0
- package/dist/components/Form/Form.vue.d.ts +56 -0
- package/dist/components/Form/index.d.ts +1 -0
- package/dist/components/FormLayout/FormLayout.vue.d.ts +36 -0
- package/dist/components/FormLayout/index.d.ts +1 -0
- package/dist/components/Heading/Heading.vue.d.ts +46 -0
- package/dist/components/Heading/index.d.ts +2 -0
- package/dist/components/Heading/types.d.ts +2 -0
- package/dist/components/Image/Image.vue.d.ts +45 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/InertiaLink/InertiaLink.vue.d.ts +19 -0
- package/dist/components/InertiaLink/index.d.ts +1 -0
- package/dist/components/InlineError/InlineError.vue.d.ts +21 -0
- package/dist/components/InlineError/index.d.ts +1 -0
- package/dist/components/InputLabel/InputLabel.vue.d.ts +39 -0
- package/dist/components/InputLabel/index.d.ts +1 -0
- package/dist/components/KPICard/KPICard.vue.d.ts +36 -0
- package/dist/components/KPICard/KPICardSection.vue.d.ts +24 -0
- package/dist/components/KPICard/index.d.ts +2 -0
- package/dist/components/Legend/Legend.vue.d.ts +9 -0
- package/dist/components/Legend/LegendItem.vue.d.ts +22 -0
- package/dist/components/Legend/index.d.ts +2 -0
- package/dist/components/Link/Link.vue.d.ts +49 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Navigation/Navigation.vue.d.ts +9 -0
- package/dist/components/Navigation/NavigationItem.vue.d.ts +49 -0
- package/dist/components/Navigation/NavigationSecondarySection.vue.d.ts +9 -0
- package/dist/components/Navigation/NavigationSection.vue.d.ts +38 -0
- package/dist/components/Navigation/index.d.ts +4 -0
- package/dist/components/Page/Page.vue.d.ts +9 -0
- package/dist/components/Page/PageBody.vue.d.ts +26 -0
- package/dist/components/Page/PageDescription.vue.d.ts +9 -0
- package/dist/components/Page/PageHeader.vue.d.ts +43 -0
- package/dist/components/Page/PageTitle.vue.d.ts +9 -0
- package/dist/components/Page/index.d.ts +5 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +9 -0
- package/dist/components/Pagination/PaginationNextButton.vue.d.ts +2 -0
- package/dist/components/Pagination/PaginationPreviousButton.vue.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts +3 -0
- package/dist/components/PinInput/PinInput.vue.d.ts +33 -0
- package/dist/components/PinInput/index.d.ts +1 -0
- package/dist/components/Popover/Popover.vue.d.ts +25 -0
- package/dist/components/Popover/PopoverBody.vue.d.ts +9 -0
- package/dist/components/Popover/PopoverTrigger.vue.d.ts +9 -0
- package/dist/components/Popover/index.d.ts +3 -0
- package/dist/components/Popper/Popper.vue.d.ts +29 -0
- package/dist/components/Popper/PopperBody.vue.d.ts +9 -0
- package/dist/components/Popper/PopperTrigger.vue.d.ts +9 -0
- package/dist/components/Popper/index.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +50 -0
- package/dist/components/ProgressBar/ProgressBarIndicator.vue.d.ts +9 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.vue.d.ts +45 -0
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/ResourceList/ResourceList.vue.d.ts +9 -0
- package/dist/components/ResourceList/ResourceListItem.vue.d.ts +9 -0
- package/dist/components/ResourceList/ResourceListItemContent.vue.d.ts +9 -0
- package/dist/components/ResourceList/index.d.ts +3 -0
- package/dist/components/Select/Select.vue.d.ts +77 -0
- package/dist/components/Select/SelectGroup.vue.d.ts +24 -0
- package/dist/components/Select/SelectOption.vue.d.ts +24 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Separator/Separator.vue.d.ts +31 -0
- package/dist/components/Separator/index.d.ts +1 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +38 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/StatusIndicator/StatusIndicator.vue.d.ts +49 -0
- package/dist/components/StatusIndicator/index.d.ts +1 -0
- package/dist/components/Stepper/Stepper.vue.d.ts +43 -0
- package/dist/components/Stepper/index.d.ts +1 -0
- package/dist/components/Tabs/TabTrigger.vue.d.ts +38 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +9 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tag/Tag.vue.d.ts +46 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/TextField/TextField.vue.d.ts +95 -0
- package/dist/components/TextField/TextFieldIcon.vue.d.ts +15 -0
- package/dist/components/TextField/TextFieldPasswordIcon.vue.d.ts +2 -0
- package/dist/components/TextField/TextFieldSearchIcon.vue.d.ts +2 -0
- package/dist/components/TextField/index.d.ts +1 -0
- package/dist/components/TextStyle/TextStyle.vue.d.ts +24 -0
- package/dist/components/TextStyle/index.d.ts +1 -0
- package/dist/components/Toast/DismissToastAction.vue.d.ts +35 -0
- package/dist/components/Toast/Toast.vue.d.ts +49 -0
- package/dist/components/Toast/ToastGroup.vue.d.ts +9 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toggle/Toggle.vue.d.ts +48 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/TopBar/TopBar.vue.d.ts +9 -0
- package/dist/components/TopBar/TopBarLogo.vue.d.ts +2 -0
- package/dist/components/TopBar/TopBarNavigation.vue.d.ts +9 -0
- package/dist/components/TopBar/TopBarNavigationItem.vue.d.ts +9 -0
- package/dist/components/TopBar/TopBarSearch.vue.d.ts +2 -0
- package/dist/components/TopBar/TopBarUserMenu.vue.d.ts +2 -0
- package/dist/components/TopBar/index.d.ts +6 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.vue.d.ts +9 -0
- package/dist/components/VisuallyHidden/index.d.ts +1 -0
- package/dist/components/index.d.ts +52 -0
- package/dist/components/types.d.ts +5 -0
- package/dist/composables/index.d.ts +4 -0
- package/dist/composables/useTailwindColor.d.ts +8 -0
- package/dist/composables/useTheme.d.ts +12 -0
- package/dist/composables/useToastNotifications.d.ts +13 -0
- package/dist/composables/useUniqueId.d.ts +1 -0
- package/dist/focus-ui.js +10984 -0
- package/dist/focus-ui.umd.cjs +26 -0
- package/dist/index.d.ts +2 -0
- package/dist/style.css +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
/** Enable automatic completion by the browser. Set to "off" when you do not want the browser to fill in info */
|
|
3
|
+
autoComplete?: string | null;
|
|
4
|
+
/** Whether the input is disabled. */
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** The error to display below the input. */
|
|
7
|
+
error?: string | null;
|
|
8
|
+
/** The help text to display below the input. */
|
|
9
|
+
helpText?: string | null;
|
|
10
|
+
/** The icon to display inside the input. */
|
|
11
|
+
icon?: (() => void) | string | undefined;
|
|
12
|
+
/** The ID of the input the label is associated with. */
|
|
13
|
+
id?: string | null;
|
|
14
|
+
/** The label text. */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Whether the label is hidden. */
|
|
17
|
+
labelHidden?: boolean;
|
|
18
|
+
/** Whether the input is a textarea. */
|
|
19
|
+
multiline?: boolean;
|
|
20
|
+
/** The name of the input. */
|
|
21
|
+
name: string;
|
|
22
|
+
/** The placeholder text. */
|
|
23
|
+
placeholder?: string | null;
|
|
24
|
+
/** Whether the input is read-only. */
|
|
25
|
+
readonly?: boolean;
|
|
26
|
+
/** Whether the input is required. */
|
|
27
|
+
required?: boolean;
|
|
28
|
+
/** The type of the input. */
|
|
29
|
+
type?: 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url' | 'date' | 'datetime-local' | 'month' | 'time' | 'week' | 'currency';
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PublicProps = {
|
|
32
|
+
modelValue?: string;
|
|
33
|
+
} & typeof __VLS_typeProps;
|
|
34
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
35
|
+
autoComplete: null;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
error: null;
|
|
38
|
+
helpText: null;
|
|
39
|
+
icon: undefined;
|
|
40
|
+
id: null;
|
|
41
|
+
labelHidden: boolean;
|
|
42
|
+
multiline: boolean;
|
|
43
|
+
placeholder: null;
|
|
44
|
+
readonly: boolean;
|
|
45
|
+
required: boolean;
|
|
46
|
+
type: string;
|
|
47
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (modelValue: string) => void;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
50
|
+
autoComplete: null;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
error: null;
|
|
53
|
+
helpText: null;
|
|
54
|
+
icon: undefined;
|
|
55
|
+
id: null;
|
|
56
|
+
labelHidden: boolean;
|
|
57
|
+
multiline: boolean;
|
|
58
|
+
placeholder: null;
|
|
59
|
+
readonly: boolean;
|
|
60
|
+
required: boolean;
|
|
61
|
+
type: string;
|
|
62
|
+
}>>> & {
|
|
63
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
type: "number" | "search" | "time" | "text" | "date" | "datetime-local" | "email" | "month" | "password" | "tel" | "url" | "week" | "currency";
|
|
66
|
+
readonly: boolean;
|
|
67
|
+
id: string | null;
|
|
68
|
+
required: boolean;
|
|
69
|
+
error: string | null;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
icon: string | (() => void);
|
|
72
|
+
labelHidden: boolean;
|
|
73
|
+
helpText: string | null;
|
|
74
|
+
placeholder: string | null;
|
|
75
|
+
autoComplete: string | null;
|
|
76
|
+
multiline: boolean;
|
|
77
|
+
}, {}>;
|
|
78
|
+
export default _default;
|
|
79
|
+
type __VLS_WithDefaults<P, D> = {
|
|
80
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
81
|
+
default: D[K];
|
|
82
|
+
}> : P[K];
|
|
83
|
+
};
|
|
84
|
+
type __VLS_Prettify<T> = {
|
|
85
|
+
[K in keyof T]: T[K];
|
|
86
|
+
} & {};
|
|
87
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
88
|
+
type __VLS_TypePropsToOption<T> = {
|
|
89
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
90
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
91
|
+
} : {
|
|
92
|
+
type: import('vue').PropType<T[K]>;
|
|
93
|
+
required: true;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
icon: string | (() => void);
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
+
icon: string | (() => void);
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToOption<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextField } from './TextField.vue';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The text style variant. */
|
|
3
|
+
variant: "strong" | "subdued";
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
/** The text style variant. */
|
|
6
|
+
variant: "strong" | "subdued";
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextStyle } from './TextStyle.vue';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The variant of the alert. */
|
|
3
|
+
variant?: "default" | "destructive" | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
variant: string;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
dismiss: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
/** The variant of the alert. */
|
|
10
|
+
variant?: "default" | "destructive" | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
variant: string;
|
|
13
|
+
}>>> & {
|
|
14
|
+
onDismiss?: (() => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
variant: "default" | "destructive";
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
/** Whether the toast is open or not */
|
|
3
|
+
open?: boolean | undefined;
|
|
4
|
+
/** The duration in milliseconds before the toast is automatically closed */
|
|
5
|
+
duration?: number | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
open: boolean;
|
|
8
|
+
duration: number;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
close: () => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
12
|
+
/** Whether the toast is open or not */
|
|
13
|
+
open?: boolean | undefined;
|
|
14
|
+
/** The duration in milliseconds before the toast is automatically closed */
|
|
15
|
+
duration?: number | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
open: boolean;
|
|
18
|
+
duration: number;
|
|
19
|
+
}>>> & {
|
|
20
|
+
onClose?: (() => any) | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
open: boolean;
|
|
23
|
+
duration: number;
|
|
24
|
+
}, {}>, {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
/** The ID of the toggle. */
|
|
3
|
+
id?: string | null;
|
|
4
|
+
/** The label for the toggle. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** The help text to be displayed below the toggle. */
|
|
7
|
+
helpText?: string | null;
|
|
8
|
+
/** The value of the toggle. */
|
|
9
|
+
value?: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = {
|
|
12
|
+
modelValue?: boolean;
|
|
13
|
+
} & typeof __VLS_typeProps;
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
15
|
+
id: null;
|
|
16
|
+
helpText: null;
|
|
17
|
+
value: null;
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
21
|
+
id: null;
|
|
22
|
+
helpText: null;
|
|
23
|
+
value: null;
|
|
24
|
+
}>>> & {
|
|
25
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
id: string | null;
|
|
28
|
+
value: any;
|
|
29
|
+
helpText: string | null;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToOption<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toggle } from './Toggle.vue';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The content of the tooltip. */
|
|
3
|
+
content: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
/** The content of the tooltip. */
|
|
6
|
+
content: string;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tooltip } from './Tooltip.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as TopBar } from './TopBar.vue';
|
|
2
|
+
export { default as TopBarLogo } from './TopBarLogo.vue';
|
|
3
|
+
export { default as TopBarNavigation } from './TopBarNavigation.vue';
|
|
4
|
+
export { default as TopBarNavigationItem } from './TopBarNavigationItem.vue';
|
|
5
|
+
export { default as TopBarSearch } from './TopBarSearch.vue';
|
|
6
|
+
export { default as TopBarUserMenu } from './TopBarUserMenu.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VisuallyHidden } from './VisuallyHidden.vue';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from './Accordion';
|
|
2
|
+
export { ActionList, ActionListBody, ActionListItem, ActionListSection, ActionListTrigger, } from './ActionList';
|
|
3
|
+
export { Alert, AlertDescription, AlertTitle } from './Alert';
|
|
4
|
+
export { AlertDialog, AlertDialogActionButton, AlertDialogCancelButton, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from './AlertDialog';
|
|
5
|
+
export { AspectRatio } from './AspectRatio';
|
|
6
|
+
export { Avatar } from './Avatar';
|
|
7
|
+
export { Badge, BadgeContent, BadgeIcon } from './Badge';
|
|
8
|
+
export { BarChart, BarChartContainer, BarChartStacked } from './BarChart';
|
|
9
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './Breadcrumbs';
|
|
10
|
+
export { type ButtonVariant, Button, ButtonContent, ButtonIcon, } from './Button';
|
|
11
|
+
export { ButtonGroup } from './ButtonGroup';
|
|
12
|
+
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardSection, CardTitle, } from './Card';
|
|
13
|
+
export { Checkbox } from './Checkbox';
|
|
14
|
+
export { DataList, DataListContent, DataListItem, DataListItemLine, } from './DataList';
|
|
15
|
+
export { DatePicker, DatePickerCard, } from './DatePicker';
|
|
16
|
+
export { DescriptionList, DescriptionListDescription, DescriptionListItem, DescriptionListTerm, } from './DescriptionList';
|
|
17
|
+
export { DropZone } from './DropZone';
|
|
18
|
+
export { EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, } from './EmptyState';
|
|
19
|
+
export { Feed, FeedItem, FeedItemBlock, FeedItemDateIndicator, FeedItemIcon, FeedItemSimple, } from './Feed';
|
|
20
|
+
export { FileUploadButton } from './FileUploadButton';
|
|
21
|
+
export { Form } from './Form';
|
|
22
|
+
export { FormLayout } from './FormLayout';
|
|
23
|
+
export { type HeadingLevel, type HeadingSize, Heading, } from './Heading';
|
|
24
|
+
export { Image } from './Image';
|
|
25
|
+
export { InlineError } from './InlineError';
|
|
26
|
+
export { InputLabel } from './InputLabel';
|
|
27
|
+
export { KPICard, KPICardSection } from './KPICard';
|
|
28
|
+
export { Legend, LegendItem } from './Legend';
|
|
29
|
+
export { Link } from './Link';
|
|
30
|
+
export { Navigation, NavigationItem, NavigationSecondarySection, NavigationSection, } from './Navigation';
|
|
31
|
+
export { Page, PageBody, PageDescription, PageHeader, PageTitle, } from './Page';
|
|
32
|
+
export { Pagination, PaginationNextButton, PaginationPreviousButton, } from './Pagination';
|
|
33
|
+
export { PinInput } from './PinInput';
|
|
34
|
+
export { Popover, PopoverBody, PopoverTrigger, } from './Popover';
|
|
35
|
+
export { PopperBody, Popper, PopperTrigger, } from './Popper';
|
|
36
|
+
export { ProgressBar, ProgressBarIndicator } from './ProgressBar';
|
|
37
|
+
export { RadioButton } from './RadioButton';
|
|
38
|
+
export { ResourceList, ResourceListItem, ResourceListItemContent } from './ResourceList';
|
|
39
|
+
export { Select, SelectGroup, SelectOption } from './Select';
|
|
40
|
+
export { Separator } from './Separator';
|
|
41
|
+
export { Spinner } from './Spinner';
|
|
42
|
+
export { StatusIndicator } from './StatusIndicator';
|
|
43
|
+
export { Stepper } from './Stepper';
|
|
44
|
+
export { Tabs, TabTrigger } from './Tabs';
|
|
45
|
+
export { Tag } from './Tag';
|
|
46
|
+
export { TextField } from './TextField';
|
|
47
|
+
export { TextStyle } from './TextStyle';
|
|
48
|
+
export { Toast, ToastGroup } from './Toast';
|
|
49
|
+
export { Toggle } from './Toggle';
|
|
50
|
+
export { Tooltip } from './Tooltip';
|
|
51
|
+
export { TopBar, TopBarLogo, TopBarNavigation, TopBarNavigationItem, TopBarSearch, TopBarUserMenu, } from './TopBar';
|
|
52
|
+
export { VisuallyHidden } from './VisuallyHidden';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import colors from 'tailwindcss/colors';
|
|
2
|
+
type TailwindColorMap = typeof colors;
|
|
3
|
+
export type TailwindColor = keyof {
|
|
4
|
+
[K in keyof TailwindColorMap as TailwindColorMap[K] extends object ? K : never]: TailwindColorMap[K];
|
|
5
|
+
};
|
|
6
|
+
type TailwindVariant<T extends TailwindColor> = keyof TailwindColorMap[T];
|
|
7
|
+
export declare function useTailwindColor<T extends TailwindColor>(color: T, variant: TailwindVariant<T> & string): TailwindColorMap[T][TailwindVariant<T>];
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const themeValues: {
|
|
2
|
+
focus: {
|
|
3
|
+
default: string[];
|
|
4
|
+
destructive: string[];
|
|
5
|
+
};
|
|
6
|
+
focusWithin: {
|
|
7
|
+
default: string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
type ThemeValues = typeof themeValues;
|
|
11
|
+
export declare function useTheme<T extends keyof ThemeValues>(value: T | Array<T>, variant?: keyof ThemeValues[T]): string | string[];
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ToastNotification {
|
|
2
|
+
id: string;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
interface useToastNotification {
|
|
6
|
+
toastNotifications: any;
|
|
7
|
+
initializeNotificationHandlers: any;
|
|
8
|
+
closeToastNotification: any;
|
|
9
|
+
emitToastNotificationEvent: any;
|
|
10
|
+
emitToastNotificationEvents: any;
|
|
11
|
+
}
|
|
12
|
+
export declare function useToastNotifications(): useToastNotification;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useUniqueId(prefix?: string): string;
|