UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

4 lines 421 B
/*! * KoliBri - The accessible HTML-Standard */ let processEnv="development";try{processEnv="production"}catch(t){processEnv="production"}const handleSlotContent=(t,e,o)=>{if(t&&e&&"string"==typeof o){const n=t.querySelector(`[slot="${o}"]`);n&&e.appendChild(n)}},showExpertSlot=t=>""===t,buildBadgeTextString=(t,e)=>t||e||"";export{buildBadgeTextString as b,handleSlotContent as h,processEnv as p,showExpertSlot as s};