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