@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
15 lines • 1.2 kB
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
import{h as n}from"./p-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 t=undefined&&undefined.__rest||function(n,t){var o={};for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)&&t.indexOf(c)<0)o[c]=n[c];if(n!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,c=Object.getOwnPropertySymbols(n);r<c.length;r++){if(t.indexOf(c[r])<0&&Object.prototype.propertyIsEnumerable.call(n,c[r]))o[c[r]]=n[c[r]]}return o};const o={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"};const c=(c,r)=>{const{component:e,variant:a="b2",color:p="black",class:s}=c,h=t(c,["component","variant","color","class"]);const b=e||o[a]||"p";return n(b,Object.assign({},h,{class:{typography:true,[`t-${a}`]:true,[`c-${p}`]:true,[s]:Boolean(s)}}),n("span",null),r)};export{c as T};
//# sourceMappingURL=p-DLAyyF7V.js.map