@huntflow/ui 0.0.13 → 0.0.14
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/ui.es.js +20 -18
- package/dist/ui.umd.js +2 -1
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
(function(){"use strict";var n;try{if(typeof document<"u"){var e=document.createElement("style");e.nonce=(n=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:n.content,e.appendChild(document.createTextNode("#baseButton{padding:1rem 2rem;cursor:pointer;border:none;background-color:var(--5311fe0f);font-size:var(--361342c4)}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import { defineComponent as n, useCssVars as r, computed as c, openBlock as u, createElementBlock as l, renderSlot as a } from "vue";
|
|
3
|
+
const p = { id: "baseButton" }, i = /* @__PURE__ */ n({
|
|
4
|
+
__name: "TestButton",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: 16 },
|
|
7
|
+
color: { default: "skyblue" }
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
r((e) => ({
|
|
11
|
+
"5311fe0f": e.color,
|
|
12
|
+
"361342c4": s.value
|
|
13
|
+
}));
|
|
14
|
+
const o = t, s = c(() => `${o.size}px`);
|
|
15
|
+
return (e, f) => (u(), l("button", p, [
|
|
16
|
+
a(e.$slots, "default")
|
|
17
|
+
]));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
16
20
|
export {
|
|
17
|
-
|
|
18
|
-
p as default,
|
|
19
|
-
u as install
|
|
21
|
+
i as TestButton
|
|
20
22
|
};
|
package/dist/ui.umd.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(){"use strict";var n;try{if(typeof document<"u"){var e=document.createElement("style");e.nonce=(n=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:n.content,e.appendChild(document.createTextNode("#baseButton{padding:1rem 2rem;cursor:pointer;border:none;background-color:var(--5311fe0f);font-size:var(--361342c4)}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.ui={},t.Vue))})(this,function(t,e){"use strict";const n={id:"baseButton"},s=e.defineComponent({__name:"TestButton",props:{size:{default:16},color:{default:"skyblue"}},setup(i){e.useCssVars(o=>({"5311fe0f":o.color,"361342c4":f.value}));const u=i,f=e.computed(()=>`${u.size}px`);return(o,d)=>(e.openBlock(),e.createElementBlock("button",n,[e.renderSlot(o.$slots,"default")]))}});t.TestButton=s,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|