@returnless/focus-ui 0.0.3 → 0.0.4
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 +9 -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 +57 -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 +21 -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/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 +42 -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 +42 -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 +51 -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/index.d.ts +1 -0
- package/package.json +3 -5
|
@@ -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,51 @@
|
|
|
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 { DatePicker, DatePickerCard, } from './DatePicker';
|
|
15
|
+
export { DescriptionList, DescriptionListDescription, DescriptionListItem, DescriptionListTerm, } from './DescriptionList';
|
|
16
|
+
export { DropZone } from './DropZone';
|
|
17
|
+
export { EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, } from './EmptyState';
|
|
18
|
+
export { Feed, FeedItem, FeedItemBlock, FeedItemDateIndicator, FeedItemIcon, FeedItemSimple, } from './Feed';
|
|
19
|
+
export { FileUploadButton } from './FileUploadButton';
|
|
20
|
+
export { Form } from './Form';
|
|
21
|
+
export { FormLayout } from './FormLayout';
|
|
22
|
+
export { type HeadingLevel, type HeadingSize, Heading, } from './Heading';
|
|
23
|
+
export { Image } from './Image';
|
|
24
|
+
export { InlineError } from './InlineError';
|
|
25
|
+
export { InputLabel } from './InputLabel';
|
|
26
|
+
export { KPICard, KPICardSection } from './KPICard';
|
|
27
|
+
export { Legend, LegendItem } from './Legend';
|
|
28
|
+
export { Link } from './Link';
|
|
29
|
+
export { Navigation, NavigationItem, NavigationSecondarySection, NavigationSection, } from './Navigation';
|
|
30
|
+
export { Page, PageBody, PageDescription, PageHeader, PageTitle, } from './Page';
|
|
31
|
+
export { Pagination, PaginationNextButton, PaginationPreviousButton, } from './Pagination';
|
|
32
|
+
export { PinInput } from './PinInput';
|
|
33
|
+
export { Popover, PopoverBody, PopoverTrigger, } from './Popover';
|
|
34
|
+
export { PopperBody, Popper, PopperTrigger, } from './Popper';
|
|
35
|
+
export { ProgressBar, ProgressBarIndicator } from './ProgressBar';
|
|
36
|
+
export { RadioButton } from './RadioButton';
|
|
37
|
+
export { ResourceList, ResourceListItem, ResourceListItemContent } from './ResourceList';
|
|
38
|
+
export { Select, SelectGroup, SelectOption } from './Select';
|
|
39
|
+
export { Separator } from './Separator';
|
|
40
|
+
export { Spinner } from './Spinner';
|
|
41
|
+
export { StatusIndicator } from './StatusIndicator';
|
|
42
|
+
export { Stepper } from './Stepper';
|
|
43
|
+
export { Tabs, TabTrigger } from './Tabs';
|
|
44
|
+
export { Tag } from './Tag';
|
|
45
|
+
export { TextField } from './TextField';
|
|
46
|
+
export { TextStyle } from './TextStyle';
|
|
47
|
+
export { Toast, ToastGroup } from './Toast';
|
|
48
|
+
export { Toggle } from './Toggle';
|
|
49
|
+
export { Tooltip } from './Tooltip';
|
|
50
|
+
export { TopBar, TopBarLogo, TopBarNavigation, TopBarNavigationItem, TopBarSearch, TopBarUserMenu, } from './TopBar';
|
|
51
|
+
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;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@returnless/focus-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "rimraf dist && vue-tsc --emitDeclarationOnly
|
|
7
|
+
"build": "rimraf dist && vite build && vue-tsc --emitDeclarationOnly",
|
|
8
8
|
"docs:dev": "npm run docs:generate-component-list && npm run docs:generate-component-meta && vitepress dev docs",
|
|
9
9
|
"docs:generate-component-list": "npx tsx ./src/build-utils/update-component-list.ts",
|
|
10
10
|
"docs:generate-component-meta": "npx tsx ./src/build-utils/generate-component-meta.ts",
|
|
11
11
|
"docs:build": "npm run docs:generate-component-list && npm run docs:generate-component-meta && vitepress build docs",
|
|
12
|
-
"docs:preview": "vitepress preview docs"
|
|
13
|
-
"tsc-lint": "vue-tsc; npx eslint . --fix-dry-run --ext .vue"
|
|
12
|
+
"docs:preview": "vitepress preview docs"
|
|
14
13
|
},
|
|
15
14
|
"peerDependencies": {
|
|
16
15
|
"vue": "^3.3.4"
|
|
@@ -26,7 +25,6 @@
|
|
|
26
25
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
27
26
|
"@vueuse/core": "^10.11.0",
|
|
28
27
|
"autoprefixer": "^10.4.19",
|
|
29
|
-
"collect.js": "^4.36.1",
|
|
30
28
|
"dayjs": "^1.11.11",
|
|
31
29
|
"eslint": "^8.57.0",
|
|
32
30
|
"eslint-plugin-vue": "^9.26.0",
|