@returnless/focus-ui 0.0.15 → 0.0.17
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/components/{OldBarChart/ChartCrosshair.vue.d.ts → Card/CardLayout.vue.d.ts} +14 -12
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Collapsible/Collapsible.vue.d.ts +42 -0
- package/dist/components/Collapsible/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +42 -0
- package/dist/components/Dialog/DialogContent.vue.d.ts +9 -0
- package/dist/components/Dialog/DialogDescription.vue.d.ts +9 -0
- package/dist/components/Dialog/DialogFooter.vue.d.ts +9 -0
- package/dist/components/Dialog/DialogHeader.vue.d.ts +9 -0
- package/dist/components/Dialog/DialogTitle.vue.d.ts +9 -0
- package/dist/components/Dialog/index.d.ts +7 -0
- package/dist/components/Toast/ToastGroup.vue.d.ts +1 -15
- package/dist/components/index.d.ts +3 -2
- package/dist/composables/useToastNotifications.d.ts +9 -10
- package/dist/focus-ui.js +3681 -3539
- package/dist/focus-ui.umd.cjs +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/BarChart/BarChart.vue.d.ts +0 -44
- package/dist/components/BarChart/index.d.ts +0 -1
- package/dist/components/OldBarChart/BarChart.vue.d.ts +0 -27
- package/dist/components/OldBarChart/BarChartStacked.vue.d.ts +0 -27
- package/dist/components/OldBarChart/ChartTooltip.vue.d.ts +0 -25
- package/dist/components/OldBarChart/Vis.vue.d.ts +0 -56
- package/dist/components/OldBarChart/index.d.ts +0 -5
- package/dist/components/OldBarChart/types.d.ts +0 -15
- /package/dist/components/{OldBarChart/BarChartContainer.vue.d.ts → Dialog/DialogCancelButton.vue.d.ts} +0 -0
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
colors: string[];
|
|
4
|
-
index: string;
|
|
5
|
-
items: BulletLegendItemInterface[];
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
columns: number;
|
|
6
3
|
}>, {
|
|
7
|
-
|
|
4
|
+
columns: number;
|
|
8
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
-
|
|
10
|
-
index: string;
|
|
11
|
-
items: BulletLegendItemInterface[];
|
|
6
|
+
columns: number;
|
|
12
7
|
}>, {
|
|
13
|
-
|
|
8
|
+
columns: number;
|
|
14
9
|
}>>>, {
|
|
15
|
-
|
|
16
|
-
}, {}
|
|
10
|
+
columns: number;
|
|
11
|
+
}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
17
14
|
export default _default;
|
|
18
15
|
type __VLS_WithDefaults<P, D> = {
|
|
19
16
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -23,6 +20,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
23
20
|
type __VLS_Prettify<T> = {
|
|
24
21
|
[K in keyof T]: T[K];
|
|
25
22
|
} & {};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
26
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
29
|
type __VLS_TypePropsToOption<T> = {
|
|
28
30
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -3,5 +3,6 @@ export { default as CardDescription } from './CardDescription.vue';
|
|
|
3
3
|
export { default as CardFooter } from './CardFooter.vue';
|
|
4
4
|
export { default as CardHeader } from './CardHeader.vue';
|
|
5
5
|
export { default as CardHelp } from './CardHelp.vue';
|
|
6
|
+
export { default as CardLayout } from './CardLayout.vue';
|
|
6
7
|
export { default as CardSection } from './CardSection.vue';
|
|
7
8
|
export { default as CardTitle } from './CardTitle.vue';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The unique ID of the collapsible item. */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Whether the element is open. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
}>, {
|
|
7
|
+
open: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
/** The unique ID of the collapsible item. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Whether the element is open. */
|
|
12
|
+
open: boolean;
|
|
13
|
+
}>, {
|
|
14
|
+
open: boolean;
|
|
15
|
+
}>>>, {
|
|
16
|
+
open: boolean;
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Prettify<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Collapsible } from './Collapsible.vue';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
/** Whether the dialog is open. */
|
|
3
|
+
open?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
open: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
cancel: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
/** Whether the dialog is open. */
|
|
10
|
+
open?: boolean | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
open: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
onCancel?: (() => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
open: boolean;
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Prettify<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -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,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,7 @@
|
|
|
1
|
+
export { default as Dialog } from './Dialog.vue';
|
|
2
|
+
export { default as DialogCancelButton } from './DialogCancelButton.vue';
|
|
3
|
+
export { default as DialogContent } from './DialogContent.vue';
|
|
4
|
+
export { default as DialogDescription } from './DialogDescription.vue';
|
|
5
|
+
export { default as DialogFooter } from './DialogFooter.vue';
|
|
6
|
+
export { default as DialogHeader } from './DialogHeader.vue';
|
|
7
|
+
export { default as DialogTitle } from './DialogTitle.vue';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
-
notifications: ToastNotification[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
-
notifications: ToastNotification[];
|
|
6
|
-
}>>>, {}, {}>, {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
7
2
|
default?(_: {}): any;
|
|
8
3
|
}>;
|
|
9
4
|
export default _default;
|
|
@@ -12,12 +7,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
12
7
|
$slots: S;
|
|
13
8
|
};
|
|
14
9
|
};
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToOption<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -5,15 +5,16 @@ export { AlertDialog, AlertDialogActionButton, AlertDialogCancelButton, AlertDia
|
|
|
5
5
|
export { AspectRatio } from './AspectRatio';
|
|
6
6
|
export { Avatar } from './Avatar';
|
|
7
7
|
export { Badge, BadgeContent, BadgeIcon } from './Badge';
|
|
8
|
-
export { BarChart } from './BarChart';
|
|
9
8
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './Breadcrumbs';
|
|
10
9
|
export { type ButtonVariant, Button, ButtonBadge, ButtonContent, ButtonIcon, } from './Button';
|
|
11
10
|
export { ButtonGroup } from './ButtonGroup';
|
|
12
|
-
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardSection, CardTitle, } from './Card';
|
|
11
|
+
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardLayout, CardSection, CardTitle, } from './Card';
|
|
13
12
|
export { Checkbox } from './Checkbox';
|
|
13
|
+
export { Collapsible } from './Collapsible';
|
|
14
14
|
export { DataList, DataListContent, DataListItem, DataListItemLine, } from './DataList';
|
|
15
15
|
export { DatePicker, DatePickerCard, } from './DatePicker';
|
|
16
16
|
export { DescriptionList, DescriptionListDescription, DescriptionListItem, DescriptionListTerm, } from './DescriptionList';
|
|
17
|
+
export { Dialog, DialogCancelButton, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from './Dialog';
|
|
17
18
|
export { DropZone } from './DropZone';
|
|
18
19
|
export { EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, } from './EmptyState';
|
|
19
20
|
export { FeatureList, FeatureListItem } from './FeatureList';
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
export interface ToastNotification {
|
|
2
2
|
id: string;
|
|
3
3
|
message: string;
|
|
4
|
-
timeout: number;
|
|
5
4
|
}
|
|
6
|
-
|
|
7
|
-
toastNotifications:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
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 {};
|