cuida_v3_test
Advanced tools
Comparing version 3.0.0-alpha.3 to 3.0.0-alpha.4
@@ -48,3 +48,3 @@ import { defineComponent as a, openBlock as d, createElementBlock as s, normalizeClass as i, createElementVNode as c, renderSlot as _ } from "vue"; | ||
install: (e, t) => { | ||
e.component("cds-badge", g); | ||
e.component("CdsBadge", g); | ||
} | ||
@@ -51,0 +51,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
(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)}}}); | ||
(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("CdsBadge",p)}}}); |
{ | ||
"name": "cuida_v3_test", | ||
"version": "3.0.0-alpha.3", | ||
"version": "3.0.0-alpha.4", | ||
"description": "A design system built by Sysvale, using storybook and Vue components", | ||
@@ -18,3 +18,4 @@ "repository": { | ||
"require": "./dist/cuida_v3_test.umd.js" | ||
} | ||
}, | ||
"./dist/style.css": "./dist/style.css" | ||
}, | ||
@@ -21,0 +22,0 @@ "unpkg": "./dist/cuida_v3_test.umd.js", |
8629
0