@enos5/enos-vue-default 1.0.0 → 1.2.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/CheckboxInput.vue.d.ts +9 -0
- package/dist/components/CheckboxMultipleInput.vue.d.ts +9 -0
- package/dist/components/Sidebar.vue.d.ts +27 -0
- package/dist/components/SidebarContent.vue.d.ts +17 -0
- package/dist/components/SidebarFooter.vue.d.ts +17 -0
- package/dist/components/SidebarGroup.vue.d.ts +17 -0
- package/dist/components/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/components/{SideMenuBrand.vue.d.ts → SidebarGroupLabel.vue.d.ts} +9 -19
- package/dist/components/SidebarHeader.vue.d.ts +17 -0
- package/dist/components/SidebarInset.vue.d.ts +17 -0
- package/dist/components/SidebarMenu.vue.d.ts +17 -0
- package/dist/components/SidebarMenuButton.vue.d.ts +49 -0
- package/dist/components/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/components/{SideMenuList.vue.d.ts → SidebarProvider.vue.d.ts} +11 -23
- package/dist/components/{SideMenuUserInfo.vue.d.ts → SidebarTrigger.vue.d.ts} +3 -9
- package/dist/components/sidebar-context.d.ts +12 -0
- package/dist/index.css +27 -0
- package/dist/index.d.ts +13 -9
- package/dist/index.js +762 -645
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/components/SideMenu.vue.d.ts +0 -70
- package/dist/components/SideMenuButton.vue.d.ts +0 -38
- package/dist/components/SideMenuNavFooter.vue.d.ts +0 -19
- package/dist/components/SideMenuNavMain.vue.d.ts +0 -16
- package/dist/components/SideMenuNavUser.vue.d.ts +0 -35
- package/dist/components/SideMenuUserMenuContent.vue.d.ts +0 -21
|
@@ -17,6 +17,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
+
name: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
20
24
|
disabled: {
|
|
21
25
|
type: BooleanConstructor;
|
|
22
26
|
default: boolean;
|
|
@@ -40,6 +44,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
40
44
|
type: StringConstructor;
|
|
41
45
|
default: string;
|
|
42
46
|
};
|
|
47
|
+
name: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
43
51
|
disabled: {
|
|
44
52
|
type: BooleanConstructor;
|
|
45
53
|
default: boolean;
|
|
@@ -48,6 +56,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
56
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
57
|
}>, {
|
|
50
58
|
label: string;
|
|
59
|
+
name: string;
|
|
51
60
|
disabled: boolean;
|
|
52
61
|
value: string | number | boolean;
|
|
53
62
|
modelValue: string | number | boolean | null;
|
|
@@ -9,6 +9,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
9
9
|
type: ArrayConstructor;
|
|
10
10
|
default: () => never[];
|
|
11
11
|
};
|
|
12
|
+
name: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
12
16
|
disabled: {
|
|
13
17
|
type: BooleanConstructor;
|
|
14
18
|
default: boolean;
|
|
@@ -24,6 +28,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
24
28
|
type: ArrayConstructor;
|
|
25
29
|
default: () => never[];
|
|
26
30
|
};
|
|
31
|
+
name: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
27
35
|
disabled: {
|
|
28
36
|
type: BooleanConstructor;
|
|
29
37
|
default: boolean;
|
|
@@ -31,6 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
39
|
}>> & Readonly<{
|
|
32
40
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
41
|
}>, {
|
|
42
|
+
name: string;
|
|
34
43
|
disabled: boolean;
|
|
35
44
|
modelValue: unknown[];
|
|
36
45
|
options: unknown[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
side?: 'left' | 'right';
|
|
4
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
5
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
6
|
+
class?: HTMLAttributes['class'];
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_3) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
16
|
+
variant: "sidebar" | "floating" | "inset";
|
|
17
|
+
side: "left" | "right";
|
|
18
|
+
collapsible: "offcanvas" | "icon" | "none";
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,27 +1,17 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
external?: boolean;
|
|
6
|
-
target?: string;
|
|
7
|
-
rel?: string;
|
|
8
|
-
logoText?: string;
|
|
3
|
+
as?: string;
|
|
4
|
+
asChild?: boolean;
|
|
5
|
+
class?: HTMLAttributes['class'];
|
|
9
6
|
};
|
|
10
|
-
declare var __VLS_8: {}
|
|
7
|
+
declare var __VLS_8: {};
|
|
11
8
|
type __VLS_Slots = {} & {
|
|
12
|
-
|
|
13
|
-
} & {
|
|
14
|
-
logo?: (props: typeof __VLS_10) => any;
|
|
15
|
-
} & {
|
|
16
|
-
logo?: (props: typeof __VLS_12) => any;
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
17
10
|
};
|
|
18
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
rel: string;
|
|
23
|
-
subtitle: string;
|
|
24
|
-
logoText: string;
|
|
12
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
13
|
+
as: string;
|
|
14
|
+
asChild: boolean;
|
|
25
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type Component, type HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
href?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
icon?: Component;
|
|
8
|
+
external?: boolean;
|
|
9
|
+
target?: string;
|
|
10
|
+
rel?: string;
|
|
11
|
+
variant?: 'default' | 'outline';
|
|
12
|
+
size?: 'default' | 'sm' | 'lg';
|
|
13
|
+
as?: 'button' | 'a' | 'link';
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
tooltip?: string;
|
|
16
|
+
class?: HTMLAttributes['class'];
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_19: {}, __VLS_26: {}, __VLS_33: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
default?: (props: typeof __VLS_19) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_26) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: typeof __VLS_33) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
|
+
title: string;
|
|
28
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
29
|
+
size: "default" | "sm" | "lg";
|
|
30
|
+
variant: "default" | "outline";
|
|
31
|
+
href: string;
|
|
32
|
+
as: "button" | "a" | "link";
|
|
33
|
+
external: boolean;
|
|
34
|
+
target: string;
|
|
35
|
+
rel: string;
|
|
36
|
+
icon: Component;
|
|
37
|
+
asChild: boolean;
|
|
38
|
+
active: boolean;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
tooltip: string;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,31 +1,19 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type SideMenuItem = {
|
|
3
|
-
title: string;
|
|
4
|
-
href: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
icon?: Component;
|
|
7
|
-
external?: boolean;
|
|
8
|
-
target?: string;
|
|
9
|
-
rel?: string;
|
|
10
|
-
};
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
11
2
|
type __VLS_Props = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
iconClass?: string;
|
|
17
|
-
};
|
|
18
|
-
declare var __VLS_7: {
|
|
19
|
-
item: SideMenuItem;
|
|
3
|
+
defaultOpen?: boolean;
|
|
4
|
+
width?: string;
|
|
5
|
+
iconWidth?: string;
|
|
6
|
+
class?: HTMLAttributes['class'];
|
|
20
7
|
};
|
|
8
|
+
declare var __VLS_1: {};
|
|
21
9
|
type __VLS_Slots = {} & {
|
|
22
|
-
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
23
11
|
};
|
|
24
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
14
|
+
width: string;
|
|
15
|
+
defaultOpen: boolean;
|
|
16
|
+
iconWidth: string;
|
|
29
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
email?: string;
|
|
4
|
-
avatar?: string;
|
|
5
|
-
showEmail?: boolean;
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
6
4
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
email: string;
|
|
9
|
-
avatar: string;
|
|
10
|
-
showEmail: boolean;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
6
|
declare const _default: typeof __VLS_export;
|
|
13
7
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
+
export type SidebarState = 'expanded' | 'collapsed';
|
|
3
|
+
export type SidebarContext = {
|
|
4
|
+
state: ComputedRef<SidebarState>;
|
|
5
|
+
open: Ref<boolean>;
|
|
6
|
+
setOpen: (value: boolean) => void;
|
|
7
|
+
toggleSidebar: () => void;
|
|
8
|
+
expand: () => void;
|
|
9
|
+
collapse: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare function provideSidebarContext(defaultOpen?: boolean): SidebarContext;
|
|
12
|
+
export declare function useSidebar(): SidebarContext;
|
package/dist/index.css
CHANGED
|
@@ -975,6 +975,15 @@
|
|
|
975
975
|
--color-border: var(--border);
|
|
976
976
|
--color-input: var(--input);
|
|
977
977
|
--color-ring: var(--ring);
|
|
978
|
+
|
|
979
|
+
--color-sidebar: var(--sidebar-background);
|
|
980
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
981
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
982
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
983
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
984
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
985
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
986
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
978
987
|
}
|
|
979
988
|
|
|
980
989
|
:root {
|
|
@@ -997,6 +1006,15 @@
|
|
|
997
1006
|
--border: hsl(0 0% 92.8%);
|
|
998
1007
|
--input: hsl(0 0% 89.8%);
|
|
999
1008
|
--ring: hsl(0 0% 3.9%);
|
|
1009
|
+
--sidebar-background: hsl(0 0% 98%);
|
|
1010
|
+
--sidebar-foreground: hsl(240 5.3% 26.1%);
|
|
1011
|
+
--sidebar-primary: hsl(0 0% 10%);
|
|
1012
|
+
--sidebar-primary-foreground: hsl(0 0% 98%);
|
|
1013
|
+
--sidebar-accent: hsl(0 0% 94%);
|
|
1014
|
+
--sidebar-accent-foreground: hsl(0 0% 30%);
|
|
1015
|
+
--sidebar-border: hsl(0 0% 91%);
|
|
1016
|
+
--sidebar-ring: hsl(217.2 91.2% 59.8%);
|
|
1017
|
+
--sidebar: hsl(0 0% 98%);
|
|
1000
1018
|
}
|
|
1001
1019
|
|
|
1002
1020
|
.dark {
|
|
@@ -1019,6 +1037,15 @@
|
|
|
1019
1037
|
--border: hsl(0 0% 14.9%);
|
|
1020
1038
|
--input: hsl(0 0% 14.9%);
|
|
1021
1039
|
--ring: hsl(0 0% 83.1%);
|
|
1040
|
+
--sidebar-background: hsl(0 0% 7%);
|
|
1041
|
+
--sidebar-foreground: hsl(0 0% 95.9%);
|
|
1042
|
+
--sidebar-primary: hsl(0 0% 100%);
|
|
1043
|
+
--sidebar-primary-foreground: hsl(0 0% 100%);
|
|
1044
|
+
--sidebar-accent: hsl(0 0% 15.9%);
|
|
1045
|
+
--sidebar-accent-foreground: hsl(240 4.8% 95.9%);
|
|
1046
|
+
--sidebar-border: hsl(0 0% 15.9%);
|
|
1047
|
+
--sidebar-ring: hsl(217.2 91.2% 59.8%);
|
|
1048
|
+
--sidebar: hsl(240 5.9% 10%);
|
|
1022
1049
|
}
|
|
1023
1050
|
|
|
1024
1051
|
@layer base {
|
package/dist/index.d.ts
CHANGED
|
@@ -28,15 +28,19 @@ export { default as RadioInput } from './components/RadioInput.vue';
|
|
|
28
28
|
export { default as RadioMultipleInput } from './components/RadioMultipleInput.vue';
|
|
29
29
|
export { default as SectionBorder } from './components/SectionBorder.vue';
|
|
30
30
|
export { default as SectionTitle } from './components/SectionTitle.vue';
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as
|
|
37
|
-
export { default as
|
|
38
|
-
export { default as
|
|
39
|
-
export { default as
|
|
31
|
+
export { default as Sidebar } from './components/Sidebar.vue';
|
|
32
|
+
export { default as SidebarContent } from './components/SidebarContent.vue';
|
|
33
|
+
export { default as SidebarFooter } from './components/SidebarFooter.vue';
|
|
34
|
+
export { default as SidebarGroup } from './components/SidebarGroup.vue';
|
|
35
|
+
export { default as SidebarGroupContent } from './components/SidebarGroupContent.vue';
|
|
36
|
+
export { default as SidebarGroupLabel } from './components/SidebarGroupLabel.vue';
|
|
37
|
+
export { default as SidebarHeader } from './components/SidebarHeader.vue';
|
|
38
|
+
export { default as SidebarInset } from './components/SidebarInset.vue';
|
|
39
|
+
export { default as SidebarMenu } from './components/SidebarMenu.vue';
|
|
40
|
+
export { default as SidebarMenuButton } from './components/SidebarMenuButton.vue';
|
|
41
|
+
export { default as SidebarMenuItem } from './components/SidebarMenuItem.vue';
|
|
42
|
+
export { default as SidebarProvider } from './components/SidebarProvider.vue';
|
|
43
|
+
export { default as SidebarTrigger } from './components/SidebarTrigger.vue';
|
|
40
44
|
export { default as SelectInput } from './components/SelectInput.vue';
|
|
41
45
|
export { default as SortControls } from './components/SortControls.vue';
|
|
42
46
|
export { default as TableList } from './components/TableList.vue';
|