cuida_v3_test
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
import { defineComponent as a, openBlock as d, createElementBlock as s, normalizeClass as i, createElementVNode as c, renderSlot as _ } from "vue"; | ||
const p = a({ | ||
const l = a({ | ||
props: { | ||
@@ -31,9 +31,9 @@ variant: { | ||
}); | ||
const l = (e, r) => { | ||
const t = e.__vccOpts || e; | ||
for (const [n, o] of r) | ||
t[n] = o; | ||
return t; | ||
const p = (e, t) => { | ||
const n = e.__vccOpts || e; | ||
for (const [o, r] of t) | ||
n[o] = r; | ||
return n; | ||
}, f = { class: "badge__content" }; | ||
function g(e, r, t, n, o, u) { | ||
function u(e, t, n, o, r, v) { | ||
return d(), s("div", { | ||
@@ -47,5 +47,9 @@ class: i(["badge__container", e.predefinedStyle]) | ||
} | ||
const m = /* @__PURE__ */ l(p, [["render", g], ["__scopeId", "data-v-8c25d7f0"]]); | ||
const g = /* @__PURE__ */ p(l, [["render", u], ["__scopeId", "data-v-8c25d7f0"]]), y = { | ||
install: (e, t) => { | ||
e.component("cds-badge", g); | ||
} | ||
}; | ||
export { | ||
m as CdsBadge | ||
y as default | ||
}; |
@@ -1,1 +0,1 @@ | ||
(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.cuida_v3_test={},t.Vue))})(this,function(t,e){"use strict";const s=e.defineComponent({props:{variant:{type:String,default:"gray"}},data(){return{predefinedColors:["turquoise","green","blue","indigo","violet","pink","red","orange","amber","gray"]}},computed:{predefinedStyle(){return this.predefinedColors.indexOf(this.variant)>-1?`badge--${this.variant}`:"badge--gray"}}}),u="",a=(n,o)=>{const d=n.__vccOpts||n;for(const[r,i]of o)d[r]=i;return d},c={class:"badge__content"};function _(n,o,d,r,i,p){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge__container",n.predefinedStyle])},[e.createElementVNode("div",c,[e.renderSlot(n.$slots,"default",{},void 0,!0)])],2)}const f=a(s,[["render",_],["__scopeId","data-v-8c25d7f0"]]);t.CdsBadge=f,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); | ||
(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.cuida_v3_test=n(e.Vue))})(this,function(e){"use strict";const n=e.defineComponent({props:{variant:{type:String,default:"gray"}},data(){return{predefinedColors:["turquoise","green","blue","indigo","violet","pink","red","orange","amber","gray"]}},computed:{predefinedStyle(){return this.predefinedColors.indexOf(this.variant)>-1?`badge--${this.variant}`:"badge--gray"}}}),f="",s=(t,o)=>{const d=t.__vccOpts||t;for(const[r,i]of o)d[r]=i;return d},a={class:"badge__content"};function c(t,o,d,r,i,u){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge__container",t.predefinedStyle])},[e.createElementVNode("div",a,[e.renderSlot(t.$slots,"default",{},void 0,!0)])],2)}const p=s(n,[["render",c],["__scopeId","data-v-8c25d7f0"]]);return{install:(t,o)=>{t.component("cds-badge",p)}}}); |
{ | ||
"name": "cuida_v3_test", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "A design system built by Sysvale, using storybook and Vue components", | ||
@@ -5,0 +5,0 @@ "repository": { |
8587
61