@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
4 lines • 504 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import{a as t,b as n,c as r}from"./isObject-DvSELytj.js";import{h as s,F as e}from"./index-DyUiyxj3.js";var i="[object String]";function l(s){return"string"==typeof s||!n(s)&&t(s)&&r(s)==i}const a=({badgeText:t,label:l})=>{const n=t;let[r,...a]=l.split(n);return 0===a.length&&(t=n.toUpperCase(),[r,...a]=l.split(n)),0===a.length&&(t=n.toLowerCase(),[r,...a]=l.split(n)),s(e,null,r,a.length?s(e,null,s("u",null,t),a.join(n)):null)};export{a as K,l as i};