UNPKG

@public-ui/components

Version:

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

4 lines 504 B
/*! * 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-BTX696j0.js";var l="[object String]";function a(s){return"string"==typeof s||!n(s)&&t(s)&&r(s)==l}const i=({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{i as K,a as i};