@deck9/ui 0.8.2 → 0.9.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/src/Button/Button.vue.d.ts +46 -26
- package/dist/src/Checkbox/Checkbox.vue.d.ts +19 -12
- package/dist/src/Icon/Icon.vue.d.ts +8 -5
- package/dist/src/Icon/index.d.ts +1 -1
- package/dist/src/Icon/registerIcons.d.ts +1 -0
- package/dist/src/Label/Label.vue.d.ts +14 -10
- package/dist/src/Menu/MenuContainer.vue.d.ts +24 -16
- package/dist/src/Menu/MenuLink.vue.d.ts +11 -9
- package/dist/src/Skeleton/Skeleton.vue.d.ts +23 -12
- package/dist/src/Switch/Switch.vue.d.ts +35 -18
- package/dist/src/index.es.js +3707 -1
- package/dist/src/index.umd.js +8 -1
- package/package.json +33 -29
- package/tailwind.config.js +1 -0
|
@@ -9,7 +9,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
9
9
|
required: false;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
color: {
|
|
13
13
|
type: null;
|
|
14
14
|
required: false;
|
|
15
15
|
default: string;
|
|
@@ -38,7 +38,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
38
|
props: {
|
|
39
39
|
label: string;
|
|
40
40
|
size: Size;
|
|
41
|
-
|
|
41
|
+
color: ColorScheme;
|
|
42
42
|
isLoading: boolean;
|
|
43
43
|
isDisabled: boolean;
|
|
44
44
|
icon?: string | undefined;
|
|
@@ -73,37 +73,57 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
73
|
props: {
|
|
74
74
|
name: string;
|
|
75
75
|
};
|
|
76
|
+
iconBag: import("vue").ComputedRef<"fab" | "fas">;
|
|
76
77
|
isIconAvailable: import("vue").ComputedRef<boolean>;
|
|
77
78
|
FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
78
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
79
|
-
name
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
name: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
required: true;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
}>>, {
|
|
83
86
|
name: string;
|
|
84
87
|
}>;
|
|
85
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
86
|
-
label
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
label: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
type: null;
|
|
95
|
+
required: false;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
color: {
|
|
99
|
+
type: null;
|
|
100
|
+
required: false;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
isLoading: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
required: false;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
isDisabled: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
required: false;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
icon: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
required: false;
|
|
116
|
+
};
|
|
117
|
+
iconPosition: {
|
|
118
|
+
type: null;
|
|
119
|
+
required: false;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
}>> & {
|
|
103
123
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
104
124
|
}, {
|
|
105
|
-
type: any;
|
|
106
125
|
size: any;
|
|
126
|
+
color: any;
|
|
107
127
|
isLoading: boolean;
|
|
108
128
|
isDisabled: boolean;
|
|
109
129
|
iconPosition: any;
|
|
@@ -19,18 +19,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
19
19
|
}, {
|
|
20
20
|
emits: (e: "update:modelValue", checked: boolean) => void;
|
|
21
21
|
update: (value: Event) => void;
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
23
|
-
id
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
label:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
id: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
label: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
}>> & {
|
|
34
41
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
42
|
}, {
|
|
36
43
|
id: string;
|
|
@@ -8,13 +8,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
8
8
|
props: {
|
|
9
9
|
name: string;
|
|
10
10
|
};
|
|
11
|
+
iconBag: import("vue").ComputedRef<"fab" | "fas">;
|
|
11
12
|
isIconAvailable: import("vue").ComputedRef<boolean>;
|
|
12
13
|
FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
14
|
-
name
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
name: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
18
21
|
name: string;
|
|
19
22
|
}>;
|
|
20
23
|
export default _sfc_main;
|
package/dist/src/Icon/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as icons } from "./registerIcons";
|
|
1
|
+
export { default as icons, brands } from "./registerIcons";
|
|
2
2
|
export { default as D9Icon } from "./Icon.vue";
|
|
@@ -11,14 +11,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
required: false;
|
|
13
13
|
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
15
|
-
id
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
label:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
id: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
label: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
description: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
}>>, {}>;
|
|
24
28
|
export default _sfc_main;
|
|
@@ -5,7 +5,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
usePortal: {
|
|
8
|
-
type: (
|
|
8
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
9
9
|
required: true;
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
@@ -23,7 +23,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
23
|
}>>;
|
|
24
24
|
Menu: import("vue").DefineComponent<{
|
|
25
25
|
as: {
|
|
26
|
-
type: (
|
|
26
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -41,7 +41,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
as: {
|
|
44
|
-
type: (
|
|
44
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
}, {
|
|
@@ -60,7 +60,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
60
|
}>;
|
|
61
61
|
MenuItems: import("vue").DefineComponent<{
|
|
62
62
|
as: {
|
|
63
|
-
type: (
|
|
63
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
64
64
|
default: string;
|
|
65
65
|
};
|
|
66
66
|
static: {
|
|
@@ -96,22 +96,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
96
96
|
props: {
|
|
97
97
|
name: string;
|
|
98
98
|
};
|
|
99
|
+
iconBag: import("vue").ComputedRef<"fab" | "fas">;
|
|
99
100
|
isIconAvailable: import("vue").ComputedRef<boolean>;
|
|
100
101
|
FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
101
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
102
|
-
name
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
+
name: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
required: true;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>>, {
|
|
106
109
|
name: string;
|
|
107
110
|
}>;
|
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
109
|
-
position
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
position: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
required: true;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
usePortal: {
|
|
118
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
119
|
+
required: true;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
}>>, {
|
|
115
123
|
position: string;
|
|
116
124
|
usePortal: string | boolean;
|
|
117
125
|
}>;
|
|
@@ -10,7 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
10
10
|
}, {
|
|
11
11
|
MenuItem: import("vue").DefineComponent<{
|
|
12
12
|
as: {
|
|
13
|
-
type: (
|
|
13
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
disabled: {
|
|
@@ -28,14 +28,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
28
|
as: string;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
}>;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
32
|
-
label
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
label: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
}>>, {
|
|
39
41
|
disabled: boolean;
|
|
40
42
|
}>;
|
|
41
43
|
export default _sfc_main;
|
|
@@ -29,20 +29,31 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
29
29
|
lineSettings: {
|
|
30
30
|
margin: string;
|
|
31
31
|
}[];
|
|
32
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
33
|
-
avatar
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
avatar: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: false;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
lines: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
required: false;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
footer: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
40
54
|
avatar: boolean;
|
|
41
|
-
lines: number;
|
|
42
|
-
} & {}>, {
|
|
43
|
-
footer: boolean;
|
|
44
55
|
title: boolean;
|
|
45
|
-
avatar: boolean;
|
|
46
56
|
lines: number;
|
|
57
|
+
footer: boolean;
|
|
47
58
|
}>;
|
|
48
59
|
export default _sfc_main;
|
|
@@ -27,11 +27,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
}, {
|
|
30
|
-
emits:
|
|
30
|
+
emits: {
|
|
31
|
+
(e: "update:modelValue", value: boolean): void;
|
|
32
|
+
(e: "change", value: boolean): void;
|
|
33
|
+
};
|
|
31
34
|
update: (newValue: boolean) => void;
|
|
32
35
|
Switch: import("vue").DefineComponent<{
|
|
33
36
|
as: {
|
|
34
|
-
type: (
|
|
37
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
35
38
|
default: string;
|
|
36
39
|
};
|
|
37
40
|
modelValue: {
|
|
@@ -56,23 +59,37 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
59
|
as: string;
|
|
57
60
|
modelValue: boolean;
|
|
58
61
|
}>;
|
|
59
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
60
|
-
id
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
modelValue:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
description
|
|
74
|
-
|
|
62
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
id: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
required: false;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
label: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
modelValue: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
description: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
onLabel: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
offLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: false;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
75
91
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
93
|
}, {
|
|
77
94
|
id: string;
|
|
78
95
|
onLabel: string;
|