@huntflow/ui 0.0.15 → 0.0.16
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type
|
|
1
|
+
type TestButtonProps = {
|
|
2
2
|
size?: number;
|
|
3
3
|
color?: string;
|
|
4
4
|
};
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
attrs: Partial<{}>;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<TestButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TestButtonProps> & Readonly<{}>, {
|
|
14
14
|
size: number;
|
|
15
15
|
color: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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(--
|
|
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(--02dc2362);font-size:var(--0b00b891)}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
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" },
|
|
3
|
+
const p = { id: "baseButton" }, f = /* @__PURE__ */ n({
|
|
4
4
|
__name: "TestButton",
|
|
5
5
|
props: {
|
|
6
6
|
size: { default: 16 },
|
|
@@ -8,15 +8,15 @@ const p = { id: "baseButton" }, i = /* @__PURE__ */ n({
|
|
|
8
8
|
},
|
|
9
9
|
setup(t) {
|
|
10
10
|
r((e) => ({
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"02dc2362": e.color,
|
|
12
|
+
"0b00b891": s.value
|
|
13
13
|
}));
|
|
14
14
|
const o = t, s = c(() => `${o.size}px`);
|
|
15
|
-
return (e,
|
|
15
|
+
return (e, d) => (u(), l("button", p, [
|
|
16
16
|
a(e.$slots, "default")
|
|
17
17
|
]));
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
f as TestButton
|
|
22
22
|
};
|
package/dist/ui.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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(--
|
|
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=>({"
|
|
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(--02dc2362);font-size:var(--0b00b891)}")),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=>({"02dc2362":o.color,"0b00b891":d.value}));const u=i,d=e.computed(()=>`${u.size}px`);return(o,c)=>(e.openBlock(),e.createElementBlock("button",n,[e.renderSlot(o.$slots,"default")]))}});t.TestButton=s,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@huntflow/ui",
|
|
3
3
|
"description": "HuntFlow UiKit, icons, utils library",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.16",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "HuntFlow Developer",
|
|
8
8
|
"nickname": "developer",
|
|
@@ -33,9 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"./global.css": "./dist/style.css"
|
|
35
35
|
},
|
|
36
|
-
"peerDependencies": {
|
|
37
|
-
"vue": "^3.2.47"
|
|
38
|
-
},
|
|
39
36
|
"keywords": [
|
|
40
37
|
"huntflow",
|
|
41
38
|
"ui",
|
|
@@ -51,7 +48,7 @@
|
|
|
51
48
|
},
|
|
52
49
|
"homepage": "https://huntflow.ru/",
|
|
53
50
|
"dependencies": {
|
|
54
|
-
"vue": "^3.
|
|
51
|
+
"vue": "^3.5.13"
|
|
55
52
|
},
|
|
56
53
|
"devDependencies": {
|
|
57
54
|
"@types/node": "^22.10.1",
|