@tb-dev/vue-components 2.2.4 → 4.0.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/dist/components/__base/calendar/Calendar.vue.d.ts +13 -0
- package/dist/components/__base/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/components/__base/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/components/__base/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/components/__base/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/components/__base/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/components/__base/calendar/index.d.ts +12 -0
- package/dist/components/__base/drawer/Drawer.vue.d.ts +34 -0
- package/dist/components/__base/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/components/__base/drawer/DrawerContent.vue.d.ts +36 -0
- package/dist/components/__base/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/components/__base/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/components/__base/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/components/__base/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/components/__base/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/components/__base/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/components/__base/drawer/index.d.ts +9 -0
- package/dist/components/__base/navigation-menu/NavigationMenu.vue.d.ts +29 -0
- package/dist/components/__base/navigation-menu/NavigationMenuContent.vue.d.ts +32 -0
- package/dist/components/__base/navigation-menu/NavigationMenuIndicator.vue.d.ts +7 -0
- package/dist/components/__base/navigation-menu/NavigationMenuItem.vue.d.ts +22 -0
- package/dist/components/__base/navigation-menu/NavigationMenuLink.vue.d.ts +30 -0
- package/dist/components/__base/navigation-menu/NavigationMenuList.vue.d.ts +22 -0
- package/dist/components/__base/navigation-menu/NavigationMenuTrigger.vue.d.ts +22 -0
- package/dist/components/__base/navigation-menu/NavigationMenuViewport.vue.d.ts +7 -0
- package/dist/components/__base/navigation-menu/index.d.ts +9 -0
- package/dist/components/alert-dialog/index.d.ts +1 -3
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +1 -4
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/hover-card/index.d.ts +1 -2
- package/dist/components/index.d.ts +3 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/pagination/index.d.ts +0 -1
- package/dist/components/popover/index.d.ts +1 -3
- package/dist/components/select/index.d.ts +0 -1
- package/dist/components/sidebar/index.d.ts +1 -5
- package/dist/components/table/index.d.ts +1 -2
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/index.css +3 -3
- package/dist/index.js +1895 -1226
- package/package.json +6 -5
- package/dist/components/alert-dialog/AlertDialog.vue.d.ts +0 -29
- package/dist/components/alert-dialog/types.d.ts +0 -10
- package/dist/components/dialog/Dialog.vue.d.ts +0 -37
- package/dist/components/hover-card/HoverCard.vue.d.ts +0 -22
- package/dist/components/popover/Popover.vue.d.ts +0 -29
- package/dist/components/sidebar/Sidebar.vue.d.ts +0 -37
- package/dist/components/sidebar/types.d.ts +0 -9
- package/dist/components/tooltip/Tooltip.vue.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,21 +25,22 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@tanstack/vue-table": "^8.21.3",
|
|
27
27
|
"@tb-dev/utils": "^7.0.5",
|
|
28
|
-
"@tb-dev/vue": "^2.0.
|
|
28
|
+
"@tb-dev/vue": "^2.0.11",
|
|
29
29
|
"@vueuse/core": "^13.5.0",
|
|
30
30
|
"class-variance-authority": "^0.7.1",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"lucide-vue-next": "^0.525.0",
|
|
33
33
|
"reka-ui": "^2.3.2",
|
|
34
34
|
"tailwind-merge": "^3.3.1",
|
|
35
|
-
"tw-animate-css": "^1.3.
|
|
35
|
+
"tw-animate-css": "^1.3.5",
|
|
36
|
+
"vaul-vue": "^0.4.1",
|
|
36
37
|
"vue": "^3.5.17",
|
|
37
38
|
"vue-router": "^4.5.1",
|
|
38
39
|
"vue-sonner": "^2.0.1"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@tailwindcss/vite": "^4.1.11",
|
|
42
|
-
"@tb-dev/eslint-config": "^7.1.
|
|
43
|
+
"@tb-dev/eslint-config": "^7.1.10",
|
|
43
44
|
"@types/node": "^24.0.10",
|
|
44
45
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
45
46
|
"eslint": "^9.30.1",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"tailwindcss": "^4.1.11",
|
|
50
51
|
"tslib": "^2.8.1",
|
|
51
52
|
"typescript": "~5.8.3",
|
|
52
|
-
"vite": "^7.0.
|
|
53
|
+
"vite": "^7.0.2",
|
|
53
54
|
"vite-plugin-dts": "^4.5.4",
|
|
54
55
|
"vue-tsc": "~3.0.1"
|
|
55
56
|
},
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import { AlertDialogProps } from './types';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: Readonly<{
|
|
6
|
-
action?: () => VNode;
|
|
7
|
-
cancel?: () => VNode;
|
|
8
|
-
description?: () => VNode;
|
|
9
|
-
title?: () => VNode;
|
|
10
|
-
trigger: () => VNode;
|
|
11
|
-
}> & {
|
|
12
|
-
action?: () => VNode;
|
|
13
|
-
cancel?: () => VNode;
|
|
14
|
-
description?: () => VNode;
|
|
15
|
-
title?: () => VNode;
|
|
16
|
-
trigger: () => VNode;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
rootEl: any;
|
|
20
|
-
};
|
|
21
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<AlertDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AlertDialogProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'vue';
|
|
2
|
-
export interface AlertDialogProps {
|
|
3
|
-
actionClass?: HTMLAttributes['class'];
|
|
4
|
-
cancelClass?: HTMLAttributes['class'];
|
|
5
|
-
contentClass?: HTMLAttributes['class'];
|
|
6
|
-
descriptionClass?: HTMLAttributes['class'];
|
|
7
|
-
footerClass?: HTMLAttributes['class'];
|
|
8
|
-
headerClass?: HTMLAttributes['class'];
|
|
9
|
-
titleClass?: HTMLAttributes['class'];
|
|
10
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import { DialogProps } from './types';
|
|
3
|
-
type __VLS_Props = DialogProps;
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
modelValue: boolean;
|
|
6
|
-
} & __VLS_Props;
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: Readonly<{
|
|
10
|
-
default: () => VNode;
|
|
11
|
-
description?: () => VNode;
|
|
12
|
-
footer?: () => VNode;
|
|
13
|
-
title?: () => VNode;
|
|
14
|
-
trigger?: () => VNode;
|
|
15
|
-
}> & {
|
|
16
|
-
default: () => VNode;
|
|
17
|
-
description?: () => VNode;
|
|
18
|
-
footer?: () => VNode;
|
|
19
|
-
title?: () => VNode;
|
|
20
|
-
trigger?: () => VNode;
|
|
21
|
-
};
|
|
22
|
-
refs: {};
|
|
23
|
-
rootEl: any;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (value: boolean) => any;
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
-
export default _default;
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: Readonly<{
|
|
5
|
-
default: () => VNode;
|
|
6
|
-
trigger: () => VNode;
|
|
7
|
-
}> & {
|
|
8
|
-
default: () => VNode;
|
|
9
|
-
trigger: () => VNode;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
type __VLS_PublicProps = {
|
|
3
|
-
modelValue: boolean;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: Readonly<{
|
|
8
|
-
default: () => VNode;
|
|
9
|
-
trigger: () => VNode;
|
|
10
|
-
}> & {
|
|
11
|
-
default: () => VNode;
|
|
12
|
-
trigger: () => VNode;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (value: boolean) => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SidebarProps } from './types';
|
|
2
|
-
import { VNode } from 'vue';
|
|
3
|
-
type __VLS_Props = SidebarProps;
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
'open'?: boolean;
|
|
6
|
-
} & __VLS_Props;
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: Readonly<{
|
|
10
|
-
content?: () => VNode;
|
|
11
|
-
default?: () => VNode;
|
|
12
|
-
footer?: () => VNode;
|
|
13
|
-
header?: () => VNode;
|
|
14
|
-
inset?: () => VNode;
|
|
15
|
-
}> & {
|
|
16
|
-
content?: () => VNode;
|
|
17
|
-
default?: () => VNode;
|
|
18
|
-
footer?: () => VNode;
|
|
19
|
-
header?: () => VNode;
|
|
20
|
-
inset?: () => VNode;
|
|
21
|
-
};
|
|
22
|
-
refs: {};
|
|
23
|
-
rootEl: any;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
-
"update:open": (value: boolean) => any;
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
-
export default _default;
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SidebarProps as Props } from '../__base/sidebar';
|
|
2
|
-
export interface SidebarProps {
|
|
3
|
-
collapsible?: Props['collapsible'];
|
|
4
|
-
defaultOpen?: boolean;
|
|
5
|
-
side?: Props['side'];
|
|
6
|
-
variant?: Props['variant'];
|
|
7
|
-
width?: string | number;
|
|
8
|
-
widthMobile?: string | number;
|
|
9
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: Readonly<{
|
|
5
|
-
default: () => VNode;
|
|
6
|
-
trigger: () => VNode;
|
|
7
|
-
}> & {
|
|
8
|
-
default: () => VNode;
|
|
9
|
-
trigger: () => VNode;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|