UNPKG

@peculiar/fortify-webcomponents

Version:

Web-components for creating CSR or Certificate and viewing certificates list using Fortify

15 lines 1.32 kB
/*! * © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License */ import{h}from"./index-BA3hMeq-.js"; /*! * © Peculiar Ventures https://peculiarventures.com/ - MIT License */ /** * @license * Copyright (c) Peculiar Ventures, LLC. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var __rest=undefined&&undefined.__rest||function(r,n){var a={};for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&n.indexOf(t)<0)a[t]=r[t];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var p=0,t=Object.getOwnPropertySymbols(r);p<t.length;p++){if(n.indexOf(t[p])<0&&Object.prototype.propertyIsEnumerable.call(r,t[p]))a[t[p]]=r[t[p]]}return a};var variantMapping={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",s1:"h6",s2:"h6",b1:"p",b2:"p",b3:"p",btn1:"span",btn2:"span",c1:"p",c2:"p"};var Typography=function(r,n){var a;var t=r.component,p=r.variant,e=p===void 0?"b2":p,o=r.color,i=o===void 0?"black":o,c=r.class,v=__rest(r,["component","variant","color","class"]);var s=t||variantMapping[e]||"p";return h(s,Object.assign({},v,{class:(a={typography:true},a["t-".concat(e)]=true,a["c-".concat(i)]=true,a[c]=Boolean(c),a)}),h("span",null),n)};export{Typography as T}; //# sourceMappingURL=typography-BgpGT7g-.js.map