@world-vision-canada/wvc-design-system
Version:
WVC Vue Design system is a fork of Vue Design System, an open-source tool for building Design Systems with Vue.js
2 lines • 4.8 kB
JavaScript
(("undefined"!==typeof self?self:this)["webpackJsonpwvc"]=("undefined"!==typeof self?self:this)["webpackJsonpwvc"]||[]).push([[21],{"20da":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"@import url(https://fonts.googleapis.com/css2?family=Karla:wght@700&family=Lato:ital,wght@0,400;0,700;1,400&display=swap);",""]),e.push([t.i,".wvc-row[data-v-6a56c91f]{box-sizing:border-box;padding:0;margin:0;background-color:transparent;display:flex;justify-content:center;text-align:center;width:100%;flex-direction:row;flex-wrap:wrap;margin:8px auto}.wvc-row.theme-light[data-v-6a56c91f]{color:#000}.wvc-row.theme-dark[data-v-6a56c91f]{color:#fff}.wvc-row.row-spaced[data-v-6a56c91f]{justify-content:space-between}.wvc-row>*[data-v-6a56c91f]{display:flex}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.wvc-row[data-v-6a56c91f]{flex-wrap:nowrap}}",""])},2350:function(t,e){function n(t,e){var n=t[1]||"",a=t[3];if(!a)return n;if(e&&"function"===typeof btoa){var o=r(a),i=a.sources.map((function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"===typeof o&&(r[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"===typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},"25fe":function(t,e,n){var r=n("20da");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("35d6").default;t.exports.__inject__=function(t){a("1f357bf6",r,t)}},2877:function(t,e,n){"use strict";function r(t,e,n,r,a,o,i,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=c):a&&(c=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"35d6":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},a=0;a<e.length;a++){var o=e[a],i=o[0],s=o[1],c=o[2],u=o[3],f={id:t+":"+a,css:s,media:c,sourceMap:u};r[i]?r[i].parts.push(f):n.push(r[i]={id:i,parts:[f]})}return n}function a(t,e,n){var a=r(t,e);o(a,n)}function o(t,e){for(var n=e._injectedStyles||(e._injectedStyles={}),r=0;r<t.length;r++){var a=t[r],o=n[a.id];if(!o){for(var i=0;i<a.parts.length;i++)s(a.parts[i],e);n[a.id]=!0}}}function i(t){var e=document.createElement("style");return e.type="text/css",t.appendChild(e),e}function s(t,e){var n=i(e),r=t.css,a=t.media,o=t.sourceMap;if(a&&n.setAttribute("media",a),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(e),n.d(e,"default",(function(){return a}))},"841a":function(t,e,n){"use strict";n.r(e);var r=n("25fe"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=a.a},e117:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["wvc-row",t.themeClass,t.classes],style:{maxWidth:t.maxWidth,backgroundColor:t.backgroundColor}},[t._t("default")],2)},a=[],o={name:"WvcRow",props:{backgroundColor:{type:String,default:null},dark:{type:Boolean,default:!1},maxWidth:{type:String,default:"100%",validator:function(t){return t.match(/(.*(%|px))/)}},spacing:{type:String,default:"spaced",validator:function(t){return t.match(/(center|spaced)/)}}},computed:{classes:function(){return"".concat("center"===this.spacing?"centered":"row-spaced")},themeClass:function(){return{"theme-light":!this.dark,"theme-dark":this.dark}}}},i=o,s=n("2877");function c(t){var e=n("841a");e.__inject__&&e.__inject__(t)}var u=Object(s["a"])(i,r,a,!1,c,"6a56c91f",null,!0);e["default"]=u.exports}}]);
//# sourceMappingURL=wvc.umd.min.21.js.map