@zephyr_zz/zephyr-ui 0.0.5 → 0.0.8
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/types/button/ZzButton.d.ts +1 -1
- package/dist/types/button/ZzButton.vue.d.ts +6 -7
- package/dist/zephyr-ui.js +35 -0
- package/dist/zephyr-ui.umd.cjs +1 -0
- package/package.json +9 -7
- package/dist/zephyrUi.es.js +0 -36
- package/dist/zephyrUi.umd.js +0 -1
- /package/dist/{style.css → zephyr-ui.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ZzButton from
|
|
1
|
+
import { default as ZzButton } from './ZzButton.vue';
|
|
2
2
|
export default ZzButton;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
type: {
|
|
4
4
|
type: PropType<"primary" | "success" | "warning" | "danger">;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
}>, {}, {}, {}, {}, import(
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
8
|
type: {
|
|
9
9
|
type: PropType<"primary" | "success" | "warning" | "danger">;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
}>> & Readonly<{}>, {
|
|
13
13
|
type: "primary" | "success" | "warning" | "danger";
|
|
14
|
-
}, {}, {}, {}, string, import(
|
|
15
|
-
default
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>, {
|
|
15
|
+
default?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
17
|
export default _default;
|
|
19
|
-
type
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
19
|
new (): {
|
|
21
20
|
$slots: S;
|
|
22
21
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as c, openBlock as l, normalizeClass as p, renderSlot as u } from "vue";
|
|
2
|
+
const _ = {
|
|
3
|
+
name: "ZzButton"
|
|
4
|
+
}, m = /* @__PURE__ */ a({
|
|
5
|
+
..._,
|
|
6
|
+
props: {
|
|
7
|
+
type: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "primary"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
return (o, n) => (l(), c("button", {
|
|
14
|
+
class: p(["zz-button", `zz-button--${t.type}`])
|
|
15
|
+
}, [
|
|
16
|
+
u(o.$slots, "default", {}, void 0, !0)
|
|
17
|
+
], 2));
|
|
18
|
+
}
|
|
19
|
+
}), d = (t, o) => {
|
|
20
|
+
const n = t.__vccOpts || t;
|
|
21
|
+
for (const [s, r] of o)
|
|
22
|
+
n[s] = r;
|
|
23
|
+
return n;
|
|
24
|
+
}, e = /* @__PURE__ */ d(m, [["__scopeId", "data-v-7c55743a"]]);
|
|
25
|
+
e.install = (t) => {
|
|
26
|
+
t.component(e.name, e);
|
|
27
|
+
};
|
|
28
|
+
const f = (t) => {
|
|
29
|
+
t.use(e);
|
|
30
|
+
}, z = {
|
|
31
|
+
install: f
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
z as default
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.ZephyrUI=n(e.Vue))})(this,(function(e){"use strict";const n={name:"ZzButton"},c=e.defineComponent({...n,props:{type:{type:String,default:"primary"}},setup(t){return(s,r)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["zz-button",`zz-button--${t.type}`])},[e.renderSlot(s.$slots,"default",{},void 0,!0)],2))}}),o=((t,s)=>{const r=t.__vccOpts||t;for(const[p,u]of s)r[p]=u;return r})(c,[["__scopeId","data-v-7c55743a"]]);return o.install=t=>{t.component(o.name,o)},{install:t=>{t.use(o)}}}));
|
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zephyr_zz/zephyr-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"main": "dist/zephyr-ui.umd.js",
|
|
5
|
+
"module": "dist/zephyr-ui.es.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"import": "./dist/
|
|
10
|
-
"require": "./dist/
|
|
9
|
+
"import": "./dist/zephyr-ui.es.js",
|
|
10
|
+
"require": "./dist/zephyr-ui.umd.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts"
|
|
11
12
|
}
|
|
12
13
|
},
|
|
13
|
-
"version": "0.0.
|
|
14
|
+
"version": "0.0.8",
|
|
14
15
|
"type": "module",
|
|
15
16
|
"scripts": {
|
|
16
17
|
"dev": "vite",
|
|
17
|
-
"build": "vite build
|
|
18
|
+
"build": "vite build",
|
|
18
19
|
"preview": "vite preview"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"sass-embedded": "^1.93.2",
|
|
29
30
|
"typescript": "~5.9.3",
|
|
30
31
|
"vite": "^7.1.7",
|
|
32
|
+
"vite-plugin-dts": "^4.5.4",
|
|
31
33
|
"vue-tsc": "^3.1.0"
|
|
32
34
|
},
|
|
33
35
|
"files": [
|
package/dist/zephyrUi.es.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as r, createElementBlock as _, normalizeClass as l, renderSlot as p } from "vue";
|
|
2
|
-
const u = {
|
|
3
|
-
name: "ZzButton"
|
|
4
|
-
}, d = /* @__PURE__ */ c({
|
|
5
|
-
...u,
|
|
6
|
-
props: {
|
|
7
|
-
type: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "primary"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
setup(t) {
|
|
13
|
-
return (n, o) => (r(), _("button", {
|
|
14
|
-
class: l(["zz-button", `zz-button--${t.type}`])
|
|
15
|
-
}, [
|
|
16
|
-
p(n.$slots, "default", {}, void 0, !0)
|
|
17
|
-
], 2));
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const i = (t, n) => {
|
|
21
|
-
const o = t.__vccOpts || t;
|
|
22
|
-
for (const [s, a] of n)
|
|
23
|
-
o[s] = a;
|
|
24
|
-
return o;
|
|
25
|
-
}, e = /* @__PURE__ */ i(d, [["__scopeId", "data-v-7c55743a"]]);
|
|
26
|
-
e.install = (t) => {
|
|
27
|
-
t.component(e.name, e);
|
|
28
|
-
};
|
|
29
|
-
const m = (t) => {
|
|
30
|
-
t.use(e);
|
|
31
|
-
}, y = {
|
|
32
|
-
install: m
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
y as default
|
|
36
|
-
};
|
package/dist/zephyrUi.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e.zephyrUi=n(e.Vue))})(this,function(e){"use strict";const n={name:"ZzButton"},r=e.defineComponent({...n,props:{type:{type:String,default:"primary"}},setup(t){return(s,c)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["zz-button",`zz-button--${t.type}`])},[e.renderSlot(s.$slots,"default",{},void 0,!0)],2))}}),i="",o=((t,s)=>{const c=t.__vccOpts||t;for(const[u,p]of s)c[u]=p;return c})(r,[["__scopeId","data-v-7c55743a"]]);return o.install=t=>{t.component(o.name,o)},{install:t=>{t.use(o)}}});
|
|
File without changes
|