voiptime-components 0.0.1 → 0.0.3
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/index.css +1 -0
- package/dist/index.es.js +18 -16
- package/dist/index.umd.js +1 -1
- package/package.json +6 -2
- package/dist/voiptime-components.css +0 -1
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vt-button{padding:.5rem 1rem;background-color:#42b883;border:none;color:#fff;border-radius:4px;cursor:pointer}
|
package/dist/index.es.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
const a =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
n
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { defineComponent as e, createElementBlock as l, openBlock as r, renderSlot as s } from "vue";
|
|
2
|
+
const a = /* @__PURE__ */ e({
|
|
3
|
+
__name: "VButton",
|
|
4
|
+
setup(t) {
|
|
5
|
+
function n() {
|
|
6
|
+
alert("Hello World1!");
|
|
7
|
+
}
|
|
8
|
+
return (o, c) => (r(), l("button", {
|
|
9
|
+
class: "vt-button",
|
|
10
|
+
onClick: n
|
|
11
|
+
}, [
|
|
12
|
+
s(o.$slots, "default")
|
|
13
|
+
]));
|
|
14
|
+
}
|
|
15
|
+
}), p = {
|
|
14
16
|
install(t) {
|
|
15
|
-
t.component("
|
|
17
|
+
t.component("VButton", a);
|
|
16
18
|
}
|
|
17
19
|
};
|
|
18
20
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
a as VButton,
|
|
22
|
+
p as default
|
|
21
23
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.VueComponentLib={},e.Vue))})(this,function(e,t){"use strict";const
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.VueComponentLib={},e.Vue))})(this,function(e,t){"use strict";const n=t.defineComponent({__name:"VButton",setup(o){function i(){alert("Hello World1!")}return(l,s)=>(t.openBlock(),t.createElementBlock("button",{class:"vt-button",onClick:i},[t.renderSlot(l.$slots,"default")]))}}),u={install(o){o.component("VButton",n)}};e.VButton=n,e.default=u,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "voiptime-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
|
+
"style": "dist/style.css",
|
|
8
9
|
"types": "dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
10
13
|
"scripts": {
|
|
11
14
|
"dev": "vite",
|
|
12
15
|
"build": "vue-tsc -b && vite build",
|
|
@@ -23,6 +26,7 @@
|
|
|
23
26
|
"@types/node": "^24.1.0",
|
|
24
27
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
25
28
|
"@vue/tsconfig": "^0.7.0",
|
|
29
|
+
"sass": "^1.89.2",
|
|
26
30
|
"typescript": "~5.8.3",
|
|
27
31
|
"vite": "^7.0.4",
|
|
28
32
|
"vite-plugin-dts": "^4.5.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.my-button[data-v-c78b99f3]{padding:.5rem 1rem;background-color:#42b883;border:none;color:#fff;border-radius:4px;cursor:pointer}
|