@heito/hxui 1.0.11
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/README.md +3 -0
- package/dist/index.es.js +794 -0
- package/dist/index.umd.js +56 -0
- package/dist/style.css +1 -0
- package/dist/types/components/animations/Height.vue.d.ts +40 -0
- package/dist/types/components/index.d.ts +12 -0
- package/dist/types/components/modules/ui/SelectOption.vue.d.ts +26 -0
- package/dist/types/components/ui/Button.vue.d.ts +24 -0
- package/dist/types/components/ui/ButtonGroup.vue.d.ts +12 -0
- package/dist/types/components/ui/Checkbox.vue.d.ts +26 -0
- package/dist/types/components/ui/Dialog.vue.d.ts +56 -0
- package/dist/types/components/ui/Image.vue.d.ts +6 -0
- package/dist/types/components/ui/Input.vue.d.ts +41 -0
- package/dist/types/components/ui/Label.vue.d.ts +12 -0
- package/dist/types/components/ui/Popover.vue.d.ts +45 -0
- package/dist/types/components/ui/Select.vue.d.ts +33 -0
- package/dist/types/components/ui/Skeleton.vue.d.ts +23 -0
- package/dist/types/components/ui/Tooltip.vue.d.ts +31 -0
- package/dist/types/components/ui/menu/Menu.vue.d.ts +19 -0
- package/dist/types/components/ui/menu/MenuButton.vue.d.ts +15 -0
- package/dist/types/components/ui/menu/MenuChildren.vue.d.ts +22 -0
- package/dist/types/components/ui/menu/MenuGroup.vue.d.ts +2 -0
- package/dist/types/components/ui/menu/MenuLabel.vue.d.ts +12 -0
- package/dist/types/components/ui/menu/MenuRadio.vue.d.ts +24 -0
- package/dist/types/components/ui/menu/MenuSeparator.vue.d.ts +2 -0
- package/dist/types/components/ui/notifications/Group.vue.d.ts +16 -0
- package/dist/types/components/ui/notifications/Notification.vue.d.ts +48 -0
- package/dist/types/index.d.ts +5 -0
- package/package.json +64 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
value: string | number | boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
modelValue?: any;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: any) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Notification } from './Notification.vue';
|
|
2
|
+
export interface Group {
|
|
3
|
+
title: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
image: string;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
name: string;
|
|
11
|
+
group: Partial<Group> & {
|
|
12
|
+
list?: Array<Notification>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export type Mode = 'default' | 'fixed';
|
|
2
|
+
export interface Button {
|
|
3
|
+
label: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
click?(event: MouseEvent): void;
|
|
7
|
+
}
|
|
8
|
+
export interface NotificationTemplate {
|
|
9
|
+
name: string;
|
|
10
|
+
title: string;
|
|
11
|
+
text: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
image: string;
|
|
14
|
+
color: string;
|
|
15
|
+
buttons: Array<Button>;
|
|
16
|
+
group: string;
|
|
17
|
+
mode: Mode;
|
|
18
|
+
}
|
|
19
|
+
export interface Notification extends Partial<NotificationTemplate> {
|
|
20
|
+
id: number;
|
|
21
|
+
hidden: boolean;
|
|
22
|
+
createdAt: number;
|
|
23
|
+
remove(): void;
|
|
24
|
+
hide(): void;
|
|
25
|
+
}
|
|
26
|
+
type __VLS_Props = {
|
|
27
|
+
notification: Notification;
|
|
28
|
+
showButtons?: boolean;
|
|
29
|
+
showOptions?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare var __VLS_1: {}, __VLS_16: {};
|
|
32
|
+
type __VLS_Slots = {} & {
|
|
33
|
+
before?: (props: typeof __VLS_1) => any;
|
|
34
|
+
} & {
|
|
35
|
+
default?: (props: typeof __VLS_16) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
hide: () => void;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onHide?: (() => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@heito/hxui",
|
|
3
|
+
"version": "1.0.11",
|
|
4
|
+
"description": "Vue components for heito.xyz projects",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"main": "./dist/index.umd.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"style": "./dist/style.css",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"import": "./dist/index.es.js",
|
|
13
|
+
"require": "./dist/index.umd.js",
|
|
14
|
+
"style": "./dist/style.css"
|
|
15
|
+
},
|
|
16
|
+
"./styles": "./dist/style.css"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "heito",
|
|
23
|
+
"email": "me@heito.xyz",
|
|
24
|
+
"url": "https://heito.xyz"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "vite build && vue-tsc"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/heito-xyz/vue-components"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/heito-xyz/vue-components",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/heito-xyz/vue-components/issues"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"vue",
|
|
40
|
+
"components",
|
|
41
|
+
"ui",
|
|
42
|
+
"library",
|
|
43
|
+
"typescript",
|
|
44
|
+
"vue3",
|
|
45
|
+
"nuxt3",
|
|
46
|
+
"nuxt4"
|
|
47
|
+
],
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"vue": "^3.5.18"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/node": "^24.3.0",
|
|
53
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
54
|
+
"lucide-vue-next": "^0.577.0",
|
|
55
|
+
"sass": "^1.90.0",
|
|
56
|
+
"typescript": "^5.9.2",
|
|
57
|
+
"vite": "^7.1.2",
|
|
58
|
+
"vite-plugin-dts": "^4.5.4",
|
|
59
|
+
"vue-tsc": "^3.0.5"
|
|
60
|
+
},
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
}
|
|
64
|
+
}
|