hfun-ui-vite
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -25,3 +25,3 @@ import { defineComponent, createVNode, createTextVNode } from "vue"; | ||
}; | ||
const Button = defineComponent({ | ||
const HButton = defineComponent({ | ||
name: "HButton", | ||
@@ -84,3 +84,3 @@ props: props$1, | ||
}; | ||
const Avator = defineComponent({ | ||
const HAvator = defineComponent({ | ||
name: "HAvator", | ||
@@ -118,11 +118,11 @@ props, | ||
install(app) { | ||
app.component(Button.name, Button); | ||
app.component(Avator.name, Avator); | ||
app.component(HButton.name, HButton); | ||
app.component(HAvator.name, HAvator); | ||
} | ||
}; | ||
export { | ||
Avator, | ||
Button, | ||
HAvator, | ||
HButton, | ||
entry as default | ||
}; | ||
//# sourceMappingURL=hfun-ui.esm.js.map |
@@ -1,2 +0,2 @@ | ||
var HfunUI=function(e,t){"use strict";const n={size:{type:String,default:"medium"},color:{type:String,default:"blue"},round:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},icon:{type:String,default:""}},o=t.defineComponent({name:"HButton",props:n,setup(e,{slots:n}){const o={small:{x:"2",y:"1",text:"sm"},medium:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("button",{class:`\n py-${o[e.size].y}\n px-${o[e.size].x}\n ${e.round?"rounded-full":"rounded-lg"}\n bg-${e.color}-${e.plain?"100":"500"}\n hover:bg-${e.color}-400\n border-${e.color}-${e.plain,"500"}\n cursor-pointer\n border-solid\n text-${e.plain?e.color+"-500":"white"}\n text-${o[e.size].text}\n hover:text-white\n transition duration-300 ease-in-out transform hover:scale-105\n mx-1\n `},[""!==e.icon?t.createVNode("i",{class:`i-ic-baseline-${e.icon} p-3`},null):"",n.default?n.default():""])}}),l={size:{type:String,default:"default"},shape:{type:String,default:"circle"},icon:{type:String,default:""}},r=t.defineComponent({name:"HAvator",props:l,setup(e){const n={small:{x:"2",y:"1",text:"sm"},default:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("div",{class:`\n py-${n[e.size].y}\n px-${n[e.size].x}\n border-solid\n mx-1\n `},[t.createTextVNode("11111")])}}),a={install(e){e.component(o.name,o),e.component(r.name,r)}};return e.Avator=r,e.Button=o,e.default=a,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),e}({},Vue); | ||
var HfunUI=function(e,t){"use strict";const n={size:{type:String,default:"medium"},color:{type:String,default:"blue"},round:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},icon:{type:String,default:""}},o=t.defineComponent({name:"HButton",props:n,setup(e,{slots:n}){const o={small:{x:"2",y:"1",text:"sm"},medium:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("button",{class:`\n py-${o[e.size].y}\n px-${o[e.size].x}\n ${e.round?"rounded-full":"rounded-lg"}\n bg-${e.color}-${e.plain?"100":"500"}\n hover:bg-${e.color}-400\n border-${e.color}-${e.plain,"500"}\n cursor-pointer\n border-solid\n text-${e.plain?e.color+"-500":"white"}\n text-${o[e.size].text}\n hover:text-white\n transition duration-300 ease-in-out transform hover:scale-105\n mx-1\n `},[""!==e.icon?t.createVNode("i",{class:`i-ic-baseline-${e.icon} p-3`},null):"",n.default?n.default():""])}}),l={size:{type:String,default:"default"},shape:{type:String,default:"circle"},icon:{type:String,default:""}},r=t.defineComponent({name:"HAvator",props:l,setup(e){const n={small:{x:"2",y:"1",text:"sm"},default:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("div",{class:`\n py-${n[e.size].y}\n px-${n[e.size].x}\n border-solid\n mx-1\n `},[t.createTextVNode("11111")])}}),a={install(e){e.component(o.name,o),e.component(r.name,r)}};return e.HAvator=r,e.HButton=o,e.default=a,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),e}({},Vue); | ||
//# sourceMappingURL=hfun-ui.iife.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).HfunUI={},e.Vue)}(this,(function(e,t){"use strict";const n={size:{type:String,default:"medium"},color:{type:String,default:"blue"},round:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},icon:{type:String,default:""}},o=t.defineComponent({name:"HButton",props:n,setup(e,{slots:n}){const o={small:{x:"2",y:"1",text:"sm"},medium:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("button",{class:`\n py-${o[e.size].y}\n px-${o[e.size].x}\n ${e.round?"rounded-full":"rounded-lg"}\n bg-${e.color}-${e.plain?"100":"500"}\n hover:bg-${e.color}-400\n border-${e.color}-${e.plain,"500"}\n cursor-pointer\n border-solid\n text-${e.plain?e.color+"-500":"white"}\n text-${o[e.size].text}\n hover:text-white\n transition duration-300 ease-in-out transform hover:scale-105\n mx-1\n `},[""!==e.icon?t.createVNode("i",{class:`i-ic-baseline-${e.icon} p-3`},null):"",n.default?n.default():""])}}),l={size:{type:String,default:"default"},shape:{type:String,default:"circle"},icon:{type:String,default:""}},i=t.defineComponent({name:"HAvator",props:l,setup(e){const n={small:{x:"2",y:"1",text:"sm"},default:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("div",{class:`\n py-${n[e.size].y}\n px-${n[e.size].x}\n border-solid\n mx-1\n `},[t.createTextVNode("11111")])}}),r={install(e){e.component(o.name,o),e.component(i.name,i)}};e.Avator=i,e.Button=o,e.default=r,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).HfunUI={},e.Vue)}(this,(function(e,t){"use strict";const n={size:{type:String,default:"medium"},color:{type:String,default:"blue"},round:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},icon:{type:String,default:""}},o=t.defineComponent({name:"HButton",props:n,setup(e,{slots:n}){const o={small:{x:"2",y:"1",text:"sm"},medium:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("button",{class:`\n py-${o[e.size].y}\n px-${o[e.size].x}\n ${e.round?"rounded-full":"rounded-lg"}\n bg-${e.color}-${e.plain?"100":"500"}\n hover:bg-${e.color}-400\n border-${e.color}-${e.plain,"500"}\n cursor-pointer\n border-solid\n text-${e.plain?e.color+"-500":"white"}\n text-${o[e.size].text}\n hover:text-white\n transition duration-300 ease-in-out transform hover:scale-105\n mx-1\n `},[""!==e.icon?t.createVNode("i",{class:`i-ic-baseline-${e.icon} p-3`},null):"",n.default?n.default():""])}}),l={size:{type:String,default:"default"},shape:{type:String,default:"circle"},icon:{type:String,default:""}},i=t.defineComponent({name:"HAvator",props:l,setup(e){const n={small:{x:"2",y:"1",text:"sm"},default:{x:"3",y:"1.5",text:"base"},large:{x:"4",y:"2",text:"lg"}};return()=>t.createVNode("div",{class:`\n py-${n[e.size].y}\n px-${n[e.size].x}\n border-solid\n mx-1\n `},[t.createTextVNode("11111")])}}),r={install(e){e.component(o.name,o),e.component(i.name,i)}};e.HAvator=i,e.HButton=o,e.default=r,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})); | ||
//# sourceMappingURL=hfun-ui.umd.js.map |
{ | ||
"name": "hfun-ui-vite", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "hfun-ui.umd.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
99720
0