{"version":3,"file":"aria.mjs","sources":["../../../src/utils/aria.ts"],"sourcesContent":["/**\n * Converts a boolean condition to an ARIA attribute value.\n *\n * This function is designed to return `true` if the condition is `true`, making it suitable\n * for ARIA attributes that require a `true` or `undefined` value. If the condition is `false`\n * or `undefined`, the function returns `undefined`.\n */\nexport function ariaAttr(condition?: boolean) {\n  return condition ? true : undefined\n}\n"],"names":["ariaAttr","condition","undefined"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,QAAQA,CAACC,SAAmB,EAAE;AAC5C,EAAA,OAAOA,SAAS,GAAG,IAAI,GAAGC,SAAS;AACrC;;;;"}