@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
4 lines • 757 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import{w as t,B as n,i as a}from"./index-ebe5a881.js";const i=["button","link","tab","treeitem"],o=(n,a)=>{t(n,"_role",(t=>"string"==typeof t&&i.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${i.join(", ")}`]),a)},e=(t,i)=>{n(t,"_ariaDescription",i)},r=(t,i)=>{a(t,"_ariaExpanded",i)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],l=(i,n)=>{t(i,"_buttonVariant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),n,{defaultValue:"normal"})},c=["inline","standalone"],d=(i,n)=>{t(i,"_linkVariant",(t=>"string"==typeof t&&c.includes(t)),new Set([`KoliBriLinkVariant {${c.join(", ")}`]),n)};export{r as a,d as b,o as c,l as d,e as v};