UNPKG

eslink-ui-plus

Version:

vue3 component library, css framework

10 lines (9 loc) 1.22 kB
(function(e,o){typeof exports=="object"&&typeof module!="undefined"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis!="undefined"?globalThis:e||self,e["es-button-group"]=o(e.Vue))})(this,function(e){"use strict";e.pushScopeId("data-v-b0e93fbc");const o={class:"button-group"};e.popScopeId();var d=e.defineComponent({setup(n){return(i,s)=>(e.openBlock(),e.createElementBlock("div",o,[e.renderSlot(i.$slots,"default")]))}});function p(n,i){i===void 0&&(i={});var s=i.insertAt;if(!(!n||typeof document=="undefined")){var r=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",s==="top"&&r.firstChild?r.insertBefore(t,r.firstChild):r.appendChild(t),t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n))}}var u=`.button-group[data-v-b0e93fbc] { display: inline-block; } .button-group[data-v-b0e93fbc] .button { border-right-color: rgba(255, 255, 255, 0.5); } .button-group[data-v-b0e93fbc] .button:not(:last-child) { margin-right: 8px; }`;return p(u),d.__scopeId="data-v-b0e93fbc",d.__file="components/button-group/index.vue",d.install=n=>{n.component("es-button-group",d)},d});