@smurfox/proxy-ui 0.1.1 → 0.1.2
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/module.json
CHANGED
|
@@ -19,7 +19,11 @@ declare var __VLS_30: {};
|
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
20
|
default?: (props: typeof __VLS_30) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
click: (event: MouseEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
26
|
+
}>, {
|
|
23
27
|
size: ButtonSize;
|
|
24
28
|
rounded: ButtonRounded;
|
|
25
29
|
variant: ButtonVariant;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
]"
|
|
14
14
|
:while-press="disabled || loading ? {} : { scale: 0.95 }"
|
|
15
15
|
class="flex items-center justify-center select-none transition-[color,background-color,opacity,filter] duration-200"
|
|
16
|
-
@click="
|
|
16
|
+
@click="emit('click', $event)"
|
|
17
17
|
>
|
|
18
18
|
<template v-if="isIconOnly">
|
|
19
19
|
<Icon v-if="loading" name="svg-spinners:ring-resize" />
|
|
@@ -63,6 +63,7 @@ const roundedClasses = {
|
|
|
63
63
|
"2xl": "rounded-2xl",
|
|
64
64
|
full: "rounded-full"
|
|
65
65
|
};
|
|
66
|
+
const emit = defineEmits(["click"]);
|
|
66
67
|
const props = defineProps({
|
|
67
68
|
label: { type: String, required: false },
|
|
68
69
|
size: { type: String, required: false, default: "md" },
|
|
@@ -19,7 +19,11 @@ declare var __VLS_30: {};
|
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
20
|
default?: (props: typeof __VLS_30) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
click: (event: MouseEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
26
|
+
}>, {
|
|
23
27
|
size: ButtonSize;
|
|
24
28
|
rounded: ButtonRounded;
|
|
25
29
|
variant: ButtonVariant;
|
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@smurfox/proxy-ui",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "A UI component library built for Nuxt 4",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/Smurfox/proxy-ui"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/Smurfox/proxy-ui",
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/Smurfox/proxy-ui/issues"
|
|
12
|
-
},
|
|
13
|
-
"author": "Smurfox",
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/types.d.mts",
|
|
19
|
-
"import": "./dist/module.mjs"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"main": "./dist/module.mjs",
|
|
23
|
-
"typesVersions": {
|
|
24
|
-
"*": {
|
|
25
|
-
".": [
|
|
26
|
-
"./dist/types.d.mts"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"dist"
|
|
32
|
-
],
|
|
33
|
-
"keywords": [
|
|
34
|
-
"nuxt",
|
|
35
|
-
"nuxt4",
|
|
36
|
-
"ui",
|
|
37
|
-
"components",
|
|
38
|
-
"tailwindcss",
|
|
39
|
-
"motion-v"
|
|
40
|
-
],
|
|
41
|
-
"workspaces": [
|
|
42
|
-
"playground"
|
|
43
|
-
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"prepack": "nuxt-module-build build",
|
|
46
|
-
"dev": "npm run dev:prepare && nuxt dev playground",
|
|
47
|
-
"dev:build": "nuxt build playground",
|
|
48
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
|
|
49
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
50
|
-
"lint": "eslint .",
|
|
51
|
-
"test": "vitest run",
|
|
52
|
-
"test:watch": "vitest watch",
|
|
53
|
-
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@nuxt/fonts": "^0.14.0",
|
|
57
|
-
"@nuxt/icon": "^2.2.1",
|
|
58
|
-
"@nuxt/kit": "^4.4.2",
|
|
59
|
-
"motion-v": "^1.0.0"
|
|
60
|
-
},
|
|
61
|
-
"peerDependencies": {
|
|
62
|
-
"nuxt": "^4.0.0",
|
|
63
|
-
"tailwindcss": "^4.0.0"
|
|
64
|
-
},
|
|
65
|
-
"devDependencies": {
|
|
66
|
-
"@nuxt/devtools": "^3.2.4",
|
|
67
|
-
"@nuxt/eslint-config": "^1.15.2",
|
|
68
|
-
"@nuxt/module-builder": "^1.0.2",
|
|
69
|
-
"@nuxt/schema": "^4.4.2",
|
|
70
|
-
"@nuxt/test-utils": "^4.0.0",
|
|
71
|
-
"@types/node": "latest",
|
|
72
|
-
"changelogen": "^0.6.2",
|
|
73
|
-
"eslint": "^10.1.0",
|
|
74
|
-
"nuxt": "^4.4.2",
|
|
75
|
-
"typescript": "~6.0.2",
|
|
76
|
-
"vitest": "^4.1.1",
|
|
77
|
-
"vue-tsc": "^3.2.6"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@smurfox/proxy-ui",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "A UI component library built for Nuxt 4",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Smurfox/proxy-ui"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/Smurfox/proxy-ui",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Smurfox/proxy-ui/issues"
|
|
12
|
+
},
|
|
13
|
+
"author": "Smurfox",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/types.d.mts",
|
|
19
|
+
"import": "./dist/module.mjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"main": "./dist/module.mjs",
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"*": {
|
|
25
|
+
".": [
|
|
26
|
+
"./dist/types.d.mts"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"nuxt",
|
|
35
|
+
"nuxt4",
|
|
36
|
+
"ui",
|
|
37
|
+
"components",
|
|
38
|
+
"tailwindcss",
|
|
39
|
+
"motion-v"
|
|
40
|
+
],
|
|
41
|
+
"workspaces": [
|
|
42
|
+
"playground"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prepack": "nuxt-module-build build",
|
|
46
|
+
"dev": "npm run dev:prepare && nuxt dev playground",
|
|
47
|
+
"dev:build": "nuxt build playground",
|
|
48
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
|
|
49
|
+
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
50
|
+
"lint": "eslint .",
|
|
51
|
+
"test": "vitest run",
|
|
52
|
+
"test:watch": "vitest watch",
|
|
53
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@nuxt/fonts": "^0.14.0",
|
|
57
|
+
"@nuxt/icon": "^2.2.1",
|
|
58
|
+
"@nuxt/kit": "^4.4.2",
|
|
59
|
+
"motion-v": "^1.0.0"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"nuxt": "^4.0.0",
|
|
63
|
+
"tailwindcss": "^4.0.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@nuxt/devtools": "^3.2.4",
|
|
67
|
+
"@nuxt/eslint-config": "^1.15.2",
|
|
68
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
69
|
+
"@nuxt/schema": "^4.4.2",
|
|
70
|
+
"@nuxt/test-utils": "^4.0.0",
|
|
71
|
+
"@types/node": "latest",
|
|
72
|
+
"changelogen": "^0.6.2",
|
|
73
|
+
"eslint": "^10.1.0",
|
|
74
|
+
"nuxt": "^4.4.2",
|
|
75
|
+
"typescript": "~6.0.2",
|
|
76
|
+
"vitest": "^4.1.1",
|
|
77
|
+
"vue-tsc": "^3.2.6"
|
|
78
|
+
}
|
|
79
|
+
}
|