@re-code/aurora 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1019) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +92 -2
  3. package/dist/aurora/aurora.esm.js +1 -0
  4. package/dist/aurora/index.esm.js +1 -0
  5. package/dist/aurora/p-038b2190.entry.js +1 -0
  6. package/dist/aurora/p-0608e910.entry.js +1 -0
  7. package/dist/aurora/p-17210bb6.entry.js +1 -0
  8. package/dist/aurora/p-17e65032.entry.js +1 -0
  9. package/dist/aurora/p-21786a68.entry.js +1 -0
  10. package/dist/aurora/p-23e57d65.entry.js +1 -0
  11. package/dist/aurora/p-278d3434.entry.js +1 -0
  12. package/dist/aurora/p-2a16d544.entry.js +1 -0
  13. package/dist/aurora/p-31a86367.entry.js +1 -0
  14. package/dist/aurora/p-35edd036.entry.js +1 -0
  15. package/dist/aurora/p-372a3416.entry.js +1 -0
  16. package/dist/aurora/p-40bb52c3.entry.js +1 -0
  17. package/dist/aurora/p-487df7d8.entry.js +1 -0
  18. package/dist/aurora/p-546a2f69.entry.js +1 -0
  19. package/dist/aurora/p-57512cd7.entry.js +1 -0
  20. package/dist/aurora/p-5d2a88ca.entry.js +1 -0
  21. package/dist/aurora/p-62ccacf0.entry.js +1 -0
  22. package/dist/aurora/p-64229ad2.entry.js +1 -0
  23. package/dist/aurora/p-685b9e53.entry.js +1 -0
  24. package/dist/aurora/p-689f37db.entry.js +1 -0
  25. package/dist/aurora/p-746825ce.entry.js +1 -0
  26. package/dist/aurora/p-88b72de7.entry.js +1 -0
  27. package/dist/aurora/p-89b66c7a.entry.js +1 -0
  28. package/dist/aurora/p-8de508c7.entry.js +1 -0
  29. package/dist/aurora/p-8ed72e5b.entry.js +1 -0
  30. package/dist/aurora/p-B3rlZvSP.js +7 -0
  31. package/dist/aurora/p-B71krpcd.js +1 -0
  32. package/dist/aurora/p-BTRtOC1j.js +1 -0
  33. package/dist/aurora/p-BTZwl4uD.js +7 -0
  34. package/dist/aurora/p-BvnCPjl5.js +1 -0
  35. package/dist/aurora/p-C-bRwiWx.js +1 -0
  36. package/dist/aurora/p-C2iVoG0G.js +1 -0
  37. package/dist/aurora/p-C48ks26E.js +1 -0
  38. package/dist/aurora/p-C6E5E18W.js +7 -0
  39. package/dist/aurora/p-CA3n-tpF.js +7 -0
  40. package/dist/aurora/p-CIZeCYao.js +1 -0
  41. package/dist/aurora/p-CJtRxiuh.js +7 -0
  42. package/dist/aurora/p-CU9sZ49I.js +7 -0
  43. package/dist/aurora/p-CfazOBmW.js +1 -0
  44. package/dist/aurora/p-Ci-XzGE3.js +1 -0
  45. package/dist/aurora/p-CnJOd66V.js +7 -0
  46. package/dist/aurora/p-CoyAdNcI.js +1 -0
  47. package/dist/aurora/p-Cq5N0E4D.js +7 -0
  48. package/dist/aurora/p-CrKUXDm4.js +1 -0
  49. package/dist/aurora/p-DBHfOAQc.js +1 -0
  50. package/dist/aurora/p-DD6GCVQb.js +1 -0
  51. package/dist/aurora/p-DQuL1Twl.js +1 -0
  52. package/dist/aurora/p-DTEnois3.js +7 -0
  53. package/dist/aurora/p-DVGjumbs.js +1 -0
  54. package/dist/aurora/p-DXbj-yic.js +1 -0
  55. package/dist/aurora/p-DgfWQsck.js +1 -0
  56. package/dist/aurora/p-Dogh3-Bf.js +1 -0
  57. package/dist/aurora/p-DqqWqhAT.js +1 -0
  58. package/dist/aurora/p-Dv3Jcvbc.js +1 -0
  59. package/dist/aurora/p-DzNA1eDU.js +1 -0
  60. package/dist/aurora/p-JU60IJxn.js +1 -0
  61. package/dist/aurora/p-KLUZmSN-.js +3 -0
  62. package/dist/aurora/p-TdUs41zm.js +1 -0
  63. package/dist/aurora/p-a1e257c7.entry.js +1 -0
  64. package/dist/aurora/p-a72596b4.entry.js +1 -0
  65. package/dist/aurora/p-a87dc1d3.entry.js +1 -0
  66. package/dist/aurora/p-a8e984e1.entry.js +1 -0
  67. package/dist/aurora/p-b2feddb2.entry.js +1 -0
  68. package/dist/aurora/p-bd1f6486.entry.js +1 -0
  69. package/dist/aurora/p-c330982c.entry.js +1 -0
  70. package/dist/aurora/p-c3668073.entry.js +1 -0
  71. package/dist/aurora/p-e1c97234.entry.js +1 -0
  72. package/dist/aurora/p-e72126a2.entry.js +1 -0
  73. package/dist/aurora/p-e7c81a6b.entry.js +1 -0
  74. package/dist/aurora/p-ec96e6ff.entry.js +1 -0
  75. package/dist/aurora/p-ed998b0c.entry.js +1 -0
  76. package/dist/aurora/p-ee2ea46e.entry.js +1 -0
  77. package/dist/aurora/p-ee4475a6.entry.js +1 -0
  78. package/dist/aurora/p-efa289c1.entry.js +1 -0
  79. package/dist/aurora/p-efd60427.entry.js +1 -0
  80. package/dist/aurora/p-f89bde2b.entry.js +1 -0
  81. package/dist/aurora/p-fd4e9cdd.entry.js +1 -0
  82. package/dist/aurora/p-gvyxpLwV.js +1 -0
  83. package/dist/aurora/p-kEvQ5xF7.js +1 -0
  84. package/dist/aurora/p-kbAXs-sG.js +7 -0
  85. package/dist/aurora/p-klxij34W.js +1 -0
  86. package/dist/aurora/p-kpQFQ7bu.js +7 -0
  87. package/dist/aurora/p-tdx7CCkD.js +7 -0
  88. package/dist/aurora/p-vjn4H-yX.js +1 -0
  89. package/dist/cjs/accordion-DlPfFEHE.js +37 -0
  90. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  91. package/dist/cjs/attributes-Bn886Odj.js +30 -0
  92. package/dist/cjs/au-accordion-item.cjs.entry.js +88 -0
  93. package/dist/cjs/au-accordion.cjs.entry.js +100 -0
  94. package/dist/cjs/au-alert.cjs.entry.js +117 -0
  95. package/dist/cjs/au-avatar.cjs.entry.js +177 -0
  96. package/dist/cjs/au-badge.cjs.entry.js +60 -0
  97. package/dist/cjs/au-breadcrumb-item.cjs.entry.js +84 -0
  98. package/dist/cjs/au-breadcrumb.cjs.entry.js +80 -0
  99. package/dist/cjs/au-button.cjs.entry.js +328 -0
  100. package/dist/cjs/au-card.cjs.entry.js +76 -0
  101. package/dist/cjs/au-checkbox.cjs.entry.js +183 -0
  102. package/dist/cjs/au-chip.cjs.entry.js +249 -0
  103. package/dist/cjs/au-code-block.cjs.entry.js +678 -0
  104. package/dist/cjs/au-combobox.cjs.entry.js +755 -0
  105. package/dist/cjs/au-container.cjs.entry.js +58 -0
  106. package/dist/cjs/au-dialog.cjs.entry.js +377 -0
  107. package/dist/cjs/au-divider.cjs.entry.js +106 -0
  108. package/dist/cjs/au-field.cjs.entry.js +185 -0
  109. package/dist/cjs/au-icon-D0L9Wwy0.js +350 -0
  110. package/dist/cjs/au-icon.cjs.entry.js +9 -0
  111. package/dist/cjs/au-input.cjs.entry.js +312 -0
  112. package/dist/cjs/au-label.cjs.entry.js +45 -0
  113. package/dist/cjs/au-menu-item.cjs.entry.js +71 -0
  114. package/dist/cjs/au-menu.cjs.entry.js +347 -0
  115. package/dist/cjs/au-nav-group.cjs.entry.js +50 -0
  116. package/dist/cjs/au-nav-link.cjs.entry.js +84 -0
  117. package/dist/cjs/au-navbar.cjs.entry.js +306 -0
  118. package/dist/cjs/au-number-input.cjs.entry.js +350 -0
  119. package/dist/cjs/au-popover.cjs.entry.js +130 -0
  120. package/dist/cjs/au-radio-group.cjs.entry.js +348 -0
  121. package/dist/cjs/au-radio.cjs.entry.js +45 -0
  122. package/dist/cjs/au-segmented-control.cjs.entry.js +544 -0
  123. package/dist/cjs/au-segmented-option.cjs.entry.js +78 -0
  124. package/dist/cjs/au-select.cjs.entry.js +336 -0
  125. package/dist/cjs/au-sidebar-nav.cjs.entry.js +178 -0
  126. package/dist/cjs/au-slider.cjs.entry.js +286 -0
  127. package/dist/cjs/au-splitter.cjs.entry.js +230 -0
  128. package/dist/cjs/au-switch.cjs.entry.js +175 -0
  129. package/dist/cjs/au-tab-panel.cjs.entry.js +63 -0
  130. package/dist/cjs/au-tab.cjs.entry.js +41 -0
  131. package/dist/cjs/au-tabs.cjs.entry.js +406 -0
  132. package/dist/cjs/au-textarea.cjs.entry.js +245 -0
  133. package/dist/cjs/au-toast-region.cjs.entry.js +692 -0
  134. package/dist/cjs/au-toast.cjs.entry.js +63 -0
  135. package/dist/cjs/au-toc.cjs.entry.js +445 -0
  136. package/dist/cjs/au-tooltip.cjs.entry.js +395 -0
  137. package/dist/cjs/aurora.cjs.js +25 -0
  138. package/dist/cjs/check-D8fNlWlh.js +16 -0
  139. package/dist/cjs/checkable-DhECpB9t.js +8 -0
  140. package/dist/cjs/circle-check-B3FqDucz.js +20 -0
  141. package/dist/cjs/circle-x-Tf2qIuBI.js +21 -0
  142. package/dist/cjs/constants.generated-CnWw9jDb.js +134 -0
  143. package/dist/cjs/control-id-CcdWN8_D.js +16 -0
  144. package/dist/cjs/copy-DJmgvzQq.js +19 -0
  145. package/dist/cjs/copy-check-Bktgfkg4.js +20 -0
  146. package/dist/cjs/deep-active-element-CoEYUbhF.js +11 -0
  147. package/dist/cjs/group-validity-D2brpooM.js +11 -0
  148. package/dist/cjs/icon-loader-DyRasOnf.js +111 -0
  149. package/dist/cjs/index-B8lDYTMv.js +2314 -0
  150. package/dist/cjs/index-DI4bia-1.js +159 -0
  151. package/dist/cjs/index.cjs.js +358 -0
  152. package/dist/cjs/info-BLcxKacU.js +20 -0
  153. package/dist/cjs/initial-value-CfGBZMr4.js +13 -0
  154. package/dist/cjs/item-update-DZTXbDLY.js +15 -0
  155. package/dist/cjs/link-state-B3rIWSPS.js +40 -0
  156. package/dist/cjs/live-announcer-vcS-BUxR.js +400 -0
  157. package/dist/cjs/loader.cjs.js +13 -0
  158. package/dist/cjs/menu-CSfWKlaI.js +41 -0
  159. package/dist/cjs/minus-6XziUaOZ.js +16 -0
  160. package/dist/cjs/navigation-lpcPjVEI.js +63 -0
  161. package/dist/cjs/octagon-alert-CFrlltqZ.js +27 -0
  162. package/dist/cjs/plus-D3o9M7Mi.js +19 -0
  163. package/dist/cjs/popover-controller-B95YfF3I.js +237 -0
  164. package/dist/cjs/popover-support-CmR5F5K2.js +250 -0
  165. package/dist/cjs/resolve-size-LxALRdcg.js +13 -0
  166. package/dist/cjs/restore-DQu6RpSH.js +148 -0
  167. package/dist/cjs/reveal-BTJffR-G.js +69 -0
  168. package/dist/cjs/roving-CFu47frk.js +70 -0
  169. package/dist/cjs/segmented-CfUI9Mjx.js +53 -0
  170. package/dist/cjs/slider-DX8MuU0y.js +84 -0
  171. package/dist/cjs/toast-request-C-x_BbsL.js +67 -0
  172. package/dist/cjs/triangle-alert-VJkqaFrl.js +27 -0
  173. package/dist/cjs/user-round-Bb69LiUK.js +20 -0
  174. package/dist/cjs/warn-once-lHF-gQZp.js +21 -0
  175. package/dist/cjs/x-BmyhNJrF.js +19 -0
  176. package/dist/collection/collection-manifest.json +56 -0
  177. package/dist/collection/components/actions/au-button/au-button.constants.js +65 -0
  178. package/dist/collection/components/actions/au-button/au-button.css +224 -0
  179. package/dist/collection/components/actions/au-button/au-button.js +636 -0
  180. package/dist/collection/components/actions/au-button/au-button.types.js +1 -0
  181. package/dist/collection/components/actions/au-button/index.js +2 -0
  182. package/dist/collection/components/data-display/au-accordion/au-accordion.constants.js +11 -0
  183. package/dist/collection/components/data-display/au-accordion/au-accordion.css +7 -0
  184. package/dist/collection/components/data-display/au-accordion/au-accordion.js +143 -0
  185. package/dist/collection/components/data-display/au-accordion/au-accordion.types.js +1 -0
  186. package/dist/collection/components/data-display/au-accordion/index.js +2 -0
  187. package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.css +156 -0
  188. package/dist/collection/components/data-display/au-accordion-item/au-accordion-item.js +186 -0
  189. package/dist/collection/components/data-display/au-accordion-item/index.js +1 -0
  190. package/dist/collection/components/data-display/au-avatar/au-avatar.constants.js +26 -0
  191. package/dist/collection/components/data-display/au-avatar/au-avatar.css +93 -0
  192. package/dist/collection/components/data-display/au-avatar/au-avatar.js +308 -0
  193. package/dist/collection/components/data-display/au-avatar/au-avatar.types.js +1 -0
  194. package/dist/collection/components/data-display/au-avatar/index.js +2 -0
  195. package/dist/collection/components/data-display/au-avatar/internal/initials.js +41 -0
  196. package/dist/collection/components/data-display/au-badge/au-badge.constants.js +29 -0
  197. package/dist/collection/components/data-display/au-badge/au-badge.css +152 -0
  198. package/dist/collection/components/data-display/au-badge/au-badge.js +142 -0
  199. package/dist/collection/components/data-display/au-badge/au-badge.types.js +1 -0
  200. package/dist/collection/components/data-display/au-badge/index.js +2 -0
  201. package/dist/collection/components/data-display/au-card/au-card.constants.js +20 -0
  202. package/dist/collection/components/data-display/au-card/au-card.css +125 -0
  203. package/dist/collection/components/data-display/au-card/au-card.js +127 -0
  204. package/dist/collection/components/data-display/au-card/au-card.types.js +1 -0
  205. package/dist/collection/components/data-display/au-card/index.js +2 -0
  206. package/dist/collection/components/data-display/au-chip/au-chip.constants.js +22 -0
  207. package/dist/collection/components/data-display/au-chip/au-chip.css +207 -0
  208. package/dist/collection/components/data-display/au-chip/au-chip.js +371 -0
  209. package/dist/collection/components/data-display/au-chip/au-chip.types.js +1 -0
  210. package/dist/collection/components/data-display/au-chip/index.js +2 -0
  211. package/dist/collection/components/data-display/au-chip/internal/neighbor.js +48 -0
  212. package/dist/collection/components/data-display/au-chip/internal/remove-key.js +13 -0
  213. package/dist/collection/components/data-display/au-code-block/au-code-block.constants.js +31 -0
  214. package/dist/collection/components/data-display/au-code-block/au-code-block.css +331 -0
  215. package/dist/collection/components/data-display/au-code-block/au-code-block.js +576 -0
  216. package/dist/collection/components/data-display/au-code-block/au-code-block.types.js +1 -0
  217. package/dist/collection/components/data-display/au-code-block/index.js +2 -0
  218. package/dist/collection/components/data-display/au-code-block/internal/highlight-lines.js +29 -0
  219. package/dist/collection/components/data-display/au-code-block/internal/highlight-result.js +42 -0
  220. package/dist/collection/components/data-display/au-code-block/internal/light-source.js +30 -0
  221. package/dist/collection/components/data-display/au-code-block/internal/normalize-code.js +48 -0
  222. package/dist/collection/components/data-display/internal/accordion.js +31 -0
  223. package/dist/collection/components/feedback/au-alert/au-alert.constants.js +20 -0
  224. package/dist/collection/components/feedback/au-alert/au-alert.css +171 -0
  225. package/dist/collection/components/feedback/au-alert/au-alert.js +241 -0
  226. package/dist/collection/components/feedback/au-alert/au-alert.types.js +1 -0
  227. package/dist/collection/components/feedback/au-alert/index.js +2 -0
  228. package/dist/collection/components/feedback/au-toast/au-toast.constants.js +1 -0
  229. package/dist/collection/components/feedback/au-toast/au-toast.css +150 -0
  230. package/dist/collection/components/feedback/au-toast/au-toast.js +145 -0
  231. package/dist/collection/components/feedback/au-toast/au-toast.service.js +140 -0
  232. package/dist/collection/components/feedback/au-toast/au-toast.types.js +1 -0
  233. package/dist/collection/components/feedback/au-toast/index.js +2 -0
  234. package/dist/collection/components/feedback/au-toast-region/au-toast-region.css +71 -0
  235. package/dist/collection/components/feedback/au-toast-region/au-toast-region.js +653 -0
  236. package/dist/collection/components/feedback/au-toast-region/index.js +2 -0
  237. package/dist/collection/components/feedback/internal/toast-announcer.js +5 -0
  238. package/dist/collection/components/feedback/internal/toast-constants.js +52 -0
  239. package/dist/collection/components/feedback/internal/toast-options.js +64 -0
  240. package/dist/collection/components/feedback/internal/toast-popover.js +22 -0
  241. package/dist/collection/components/feedback/internal/toast-queue.js +74 -0
  242. package/dist/collection/components/feedback/internal/toast-registry.js +24 -0
  243. package/dist/collection/components/feedback/internal/toast-request.js +6 -0
  244. package/dist/collection/components/feedback/internal/toast-timers.js +61 -0
  245. package/dist/collection/components/feedback/internal/toast-timing.js +5 -0
  246. package/dist/collection/components/feedback/internal/toast-types.js +1 -0
  247. package/dist/collection/components/forms/au-checkbox/au-checkbox.constants.js +2 -0
  248. package/dist/collection/components/forms/au-checkbox/au-checkbox.css +212 -0
  249. package/dist/collection/components/forms/au-checkbox/au-checkbox.js +468 -0
  250. package/dist/collection/components/forms/au-checkbox/au-checkbox.types.js +1 -0
  251. package/dist/collection/components/forms/au-checkbox/index.js +2 -0
  252. package/dist/collection/components/forms/au-combobox/au-combobox.constants.js +26 -0
  253. package/dist/collection/components/forms/au-combobox/au-combobox.css +374 -0
  254. package/dist/collection/components/forms/au-combobox/au-combobox.js +1165 -0
  255. package/dist/collection/components/forms/au-combobox/au-combobox.types.js +1 -0
  256. package/dist/collection/components/forms/au-combobox/index.js +2 -0
  257. package/dist/collection/components/forms/au-field/au-field.css +78 -0
  258. package/dist/collection/components/forms/au-field/au-field.js +195 -0
  259. package/dist/collection/components/forms/au-field/index.js +1 -0
  260. package/dist/collection/components/forms/au-input/au-input.constants.js +35 -0
  261. package/dist/collection/components/forms/au-input/au-input.css +195 -0
  262. package/dist/collection/components/forms/au-input/au-input.js +845 -0
  263. package/dist/collection/components/forms/au-input/au-input.types.js +1 -0
  264. package/dist/collection/components/forms/au-input/index.js +2 -0
  265. package/dist/collection/components/forms/au-label/au-label.constants.js +7 -0
  266. package/dist/collection/components/forms/au-label/au-label.css +38 -0
  267. package/dist/collection/components/forms/au-label/au-label.js +109 -0
  268. package/dist/collection/components/forms/au-label/au-label.types.js +1 -0
  269. package/dist/collection/components/forms/au-label/index.js +2 -0
  270. package/dist/collection/components/forms/au-number-input/au-number-input.constants.js +15 -0
  271. package/dist/collection/components/forms/au-number-input/au-number-input.css +276 -0
  272. package/dist/collection/components/forms/au-number-input/au-number-input.js +711 -0
  273. package/dist/collection/components/forms/au-number-input/au-number-input.types.js +1 -0
  274. package/dist/collection/components/forms/au-number-input/index.js +2 -0
  275. package/dist/collection/components/forms/au-radio/au-radio.constants.js +2 -0
  276. package/dist/collection/components/forms/au-radio/au-radio.css +126 -0
  277. package/dist/collection/components/forms/au-radio/au-radio.js +129 -0
  278. package/dist/collection/components/forms/au-radio/au-radio.types.js +1 -0
  279. package/dist/collection/components/forms/au-radio/index.js +2 -0
  280. package/dist/collection/components/forms/au-radio-group/au-radio-group.constants.js +6 -0
  281. package/dist/collection/components/forms/au-radio-group/au-radio-group.css +67 -0
  282. package/dist/collection/components/forms/au-radio-group/au-radio-group.js +643 -0
  283. package/dist/collection/components/forms/au-radio-group/au-radio-group.types.js +1 -0
  284. package/dist/collection/components/forms/au-radio-group/index.js +2 -0
  285. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.constants.js +26 -0
  286. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.css +92 -0
  287. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.js +916 -0
  288. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.types.js +1 -0
  289. package/dist/collection/components/forms/au-segmented-control/index.js +2 -0
  290. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.css +103 -0
  291. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.js +191 -0
  292. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.types.js +1 -0
  293. package/dist/collection/components/forms/au-segmented-option/index.js +1 -0
  294. package/dist/collection/components/forms/au-select/au-select.constants.js +7 -0
  295. package/dist/collection/components/forms/au-select/au-select.css +194 -0
  296. package/dist/collection/components/forms/au-select/au-select.js +589 -0
  297. package/dist/collection/components/forms/au-select/au-select.types.js +1 -0
  298. package/dist/collection/components/forms/au-select/index.js +2 -0
  299. package/dist/collection/components/forms/au-select/internal/read-select-options.js +45 -0
  300. package/dist/collection/components/forms/au-slider/au-slider.constants.js +11 -0
  301. package/dist/collection/components/forms/au-slider/au-slider.css +296 -0
  302. package/dist/collection/components/forms/au-slider/au-slider.js +675 -0
  303. package/dist/collection/components/forms/au-slider/au-slider.types.js +1 -0
  304. package/dist/collection/components/forms/au-slider/index.js +2 -0
  305. package/dist/collection/components/forms/au-switch/au-switch.constants.js +2 -0
  306. package/dist/collection/components/forms/au-switch/au-switch.css +201 -0
  307. package/dist/collection/components/forms/au-switch/au-switch.js +440 -0
  308. package/dist/collection/components/forms/au-switch/au-switch.types.js +1 -0
  309. package/dist/collection/components/forms/au-switch/index.js +2 -0
  310. package/dist/collection/components/forms/au-textarea/au-textarea.constants.js +16 -0
  311. package/dist/collection/components/forms/au-textarea/au-textarea.css +187 -0
  312. package/dist/collection/components/forms/au-textarea/au-textarea.js +694 -0
  313. package/dist/collection/components/forms/au-textarea/au-textarea.types.js +1 -0
  314. package/dist/collection/components/forms/au-textarea/index.js +2 -0
  315. package/dist/collection/components/forms/internal/combobox.js +86 -0
  316. package/dist/collection/components/forms/internal/number-input.js +54 -0
  317. package/dist/collection/components/forms/internal/segmented.js +43 -0
  318. package/dist/collection/components/forms/internal/slider.js +76 -0
  319. package/dist/collection/components/layout/au-container/au-container.constants.js +22 -0
  320. package/dist/collection/components/layout/au-container/au-container.css +109 -0
  321. package/dist/collection/components/layout/au-container/au-container.js +144 -0
  322. package/dist/collection/components/layout/au-container/au-container.types.js +1 -0
  323. package/dist/collection/components/layout/au-container/index.js +2 -0
  324. package/dist/collection/components/layout/au-divider/au-divider.constants.js +23 -0
  325. package/dist/collection/components/layout/au-divider/au-divider.css +73 -0
  326. package/dist/collection/components/layout/au-divider/au-divider.js +194 -0
  327. package/dist/collection/components/layout/au-divider/au-divider.types.js +1 -0
  328. package/dist/collection/components/layout/au-divider/index.js +2 -0
  329. package/dist/collection/components/layout/au-splitter/au-splitter.constants.js +9 -0
  330. package/dist/collection/components/layout/au-splitter/au-splitter.css +168 -0
  331. package/dist/collection/components/layout/au-splitter/au-splitter.js +376 -0
  332. package/dist/collection/components/layout/au-splitter/au-splitter.types.js +1 -0
  333. package/dist/collection/components/layout/au-splitter/index.js +2 -0
  334. package/dist/collection/components/layout/internal/splitter.js +27 -0
  335. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.constants.js +4 -0
  336. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.css +20 -0
  337. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.js +110 -0
  338. package/dist/collection/components/navigation/au-breadcrumb/index.js +2 -0
  339. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.css +127 -0
  340. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.js +186 -0
  341. package/dist/collection/components/navigation/au-breadcrumb-item/index.js +1 -0
  342. package/dist/collection/components/navigation/au-nav-group/au-nav-group.css +137 -0
  343. package/dist/collection/components/navigation/au-nav-group/au-nav-group.js +96 -0
  344. package/dist/collection/components/navigation/au-nav-group/index.js +1 -0
  345. package/dist/collection/components/navigation/au-nav-link/au-nav-link.css +128 -0
  346. package/dist/collection/components/navigation/au-nav-link/au-nav-link.js +205 -0
  347. package/dist/collection/components/navigation/au-nav-link/index.js +1 -0
  348. package/dist/collection/components/navigation/au-navbar/au-navbar.constants.js +40 -0
  349. package/dist/collection/components/navigation/au-navbar/au-navbar.css +185 -0
  350. package/dist/collection/components/navigation/au-navbar/au-navbar.js +409 -0
  351. package/dist/collection/components/navigation/au-navbar/au-navbar.types.js +1 -0
  352. package/dist/collection/components/navigation/au-navbar/index.js +2 -0
  353. package/dist/collection/components/navigation/au-navbar/internal/collapse.js +14 -0
  354. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.js +2 -0
  355. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.css +29 -0
  356. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.js +251 -0
  357. package/dist/collection/components/navigation/au-sidebar-nav/index.js +2 -0
  358. package/dist/collection/components/navigation/au-tab/au-tab.css +84 -0
  359. package/dist/collection/components/navigation/au-tab/au-tab.js +107 -0
  360. package/dist/collection/components/navigation/au-tab/index.js +1 -0
  361. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.css +20 -0
  362. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.js +134 -0
  363. package/dist/collection/components/navigation/au-tab-panel/index.js +1 -0
  364. package/dist/collection/components/navigation/au-tabs/au-tabs.constants.js +12 -0
  365. package/dist/collection/components/navigation/au-tabs/au-tabs.css +107 -0
  366. package/dist/collection/components/navigation/au-tabs/au-tabs.js +554 -0
  367. package/dist/collection/components/navigation/au-tabs/au-tabs.types.js +1 -0
  368. package/dist/collection/components/navigation/au-tabs/index.js +2 -0
  369. package/dist/collection/components/navigation/au-tabs/internal/indicator-geometry.js +18 -0
  370. package/dist/collection/components/navigation/au-toc/au-toc.constants.js +6 -0
  371. package/dist/collection/components/navigation/au-toc/au-toc.css +107 -0
  372. package/dist/collection/components/navigation/au-toc/au-toc.js +462 -0
  373. package/dist/collection/components/navigation/au-toc/index.js +2 -0
  374. package/dist/collection/components/navigation/au-toc/internal/toc-model.js +89 -0
  375. package/dist/collection/components/navigation/internal/reveal.js +65 -0
  376. package/dist/collection/components/overlays/au-dialog/au-dialog.constants.js +29 -0
  377. package/dist/collection/components/overlays/au-dialog/au-dialog.css +324 -0
  378. package/dist/collection/components/overlays/au-dialog/au-dialog.js +618 -0
  379. package/dist/collection/components/overlays/au-dialog/au-dialog.types.js +1 -0
  380. package/dist/collection/components/overlays/au-dialog/index.js +2 -0
  381. package/dist/collection/components/overlays/au-menu/au-menu.constants.js +37 -0
  382. package/dist/collection/components/overlays/au-menu/au-menu.css +163 -0
  383. package/dist/collection/components/overlays/au-menu/au-menu.js +507 -0
  384. package/dist/collection/components/overlays/au-menu/au-menu.types.js +1 -0
  385. package/dist/collection/components/overlays/au-menu/index.js +2 -0
  386. package/dist/collection/components/overlays/au-menu-item/au-menu-item.css +127 -0
  387. package/dist/collection/components/overlays/au-menu-item/au-menu-item.js +185 -0
  388. package/dist/collection/components/overlays/au-menu-item/au-menu-item.types.js +1 -0
  389. package/dist/collection/components/overlays/au-menu-item/index.js +1 -0
  390. package/dist/collection/components/overlays/au-popover/au-popover.constants.js +24 -0
  391. package/dist/collection/components/overlays/au-popover/au-popover.css +149 -0
  392. package/dist/collection/components/overlays/au-popover/au-popover.js +253 -0
  393. package/dist/collection/components/overlays/au-popover/au-popover.types.js +1 -0
  394. package/dist/collection/components/overlays/au-popover/index.js +2 -0
  395. package/dist/collection/components/overlays/au-tooltip/au-tooltip.constants.js +19 -0
  396. package/dist/collection/components/overlays/au-tooltip/au-tooltip.css +144 -0
  397. package/dist/collection/components/overlays/au-tooltip/au-tooltip.js +517 -0
  398. package/dist/collection/components/overlays/au-tooltip/index.js +2 -0
  399. package/dist/collection/components/overlays/internal/menu.js +34 -0
  400. package/dist/collection/components/overlays/internal/popover-controller.js +233 -0
  401. package/dist/collection/components/overlays/internal/typeahead.js +28 -0
  402. package/dist/collection/components/primitives/au-icon/au-icon.constants.js +3 -0
  403. package/dist/collection/components/primitives/au-icon/au-icon.css +36 -0
  404. package/dist/collection/components/primitives/au-icon/au-icon.js +367 -0
  405. package/dist/collection/components/primitives/au-icon/au-icon.types.js +1 -0
  406. package/dist/collection/components/primitives/au-icon/core-icons.js +20 -0
  407. package/dist/collection/components/primitives/au-icon/icon-loader.js +76 -0
  408. package/dist/collection/components/primitives/au-icon/index.js +1 -0
  409. package/dist/collection/foundations/constants/constants.generated.mjs +119 -0
  410. package/dist/collection/foundations/constants/index.js +2 -0
  411. package/dist/collection/foundations/constants/resolve-size.js +9 -0
  412. package/dist/collection/foundations/icons/autoload.js +21 -0
  413. package/dist/collection/foundations/icons/icon-autoload-hook.js +13 -0
  414. package/dist/collection/foundations/icons/icon-registry.js +147 -0
  415. package/dist/collection/foundations/icons/icon-sizes.js +8 -0
  416. package/dist/collection/foundations/icons/icon-slug.js +26 -0
  417. package/dist/collection/foundations/icons/icon.constants.generated.js +2284 -0
  418. package/dist/collection/foundations/icons/icon.constants.js +18 -0
  419. package/dist/collection/foundations/icons/icon.types.js +1 -0
  420. package/dist/collection/foundations/icons/index.js +3 -0
  421. package/dist/collection/foundations/icons/mdi-map.js +86 -0
  422. package/dist/collection/foundations/icons/register-lucide-icons.js +30 -0
  423. package/dist/collection/foundations/themes/theme.js +161 -0
  424. package/dist/collection/foundations/tokens/index.js +2 -0
  425. package/dist/collection/foundations/tokens/tokens.generated.mjs +178 -0
  426. package/dist/collection/index.js +10 -0
  427. package/dist/collection/integrations/basics/index.js +2 -0
  428. package/dist/collection/integrations/basics/is-plain-object.js +1 -0
  429. package/dist/collection/integrations/flux/index.js +1 -0
  430. package/dist/collection/integrations/flux/loader.js +66 -0
  431. package/dist/collection/integrations/flux/provide.js +16 -0
  432. package/dist/collection/integrations/flux/registry.js +42 -0
  433. package/dist/collection/shared/anchored/anchor-position.js +101 -0
  434. package/dist/collection/shared/anchored/js-positioning.js +113 -0
  435. package/dist/collection/shared/anchored/popover-support.js +30 -0
  436. package/dist/collection/shared/clipboard/clipboard.js +14 -0
  437. package/dist/collection/shared/clipboard/copy-procedure.js +189 -0
  438. package/dist/collection/shared/clipboard/copy-types.js +15 -0
  439. package/dist/collection/shared/focus/deep-active-element.js +7 -0
  440. package/dist/collection/shared/focus/index.js +1 -0
  441. package/dist/collection/shared/form-control/attributes.js +25 -0
  442. package/dist/collection/shared/form-control/checkable.js +4 -0
  443. package/dist/collection/shared/form-control/control-id.js +11 -0
  444. package/dist/collection/shared/form-control/described-by.js +5 -0
  445. package/dist/collection/shared/form-control/form-control-controller.js +88 -0
  446. package/dist/collection/shared/form-control/group-validity.js +7 -0
  447. package/dist/collection/shared/form-control/host-events.js +19 -0
  448. package/dist/collection/shared/form-control/index.js +10 -0
  449. package/dist/collection/shared/form-control/initial-value.js +9 -0
  450. package/dist/collection/shared/form-control/restore.js +12 -0
  451. package/dist/collection/shared/form-control/validation-message.js +12 -0
  452. package/dist/collection/shared/live-announcer/announce-queue.js +141 -0
  453. package/dist/collection/shared/live-announcer/announce-timing.js +12 -0
  454. package/dist/collection/shared/live-announcer/index.js +1 -0
  455. package/dist/collection/shared/live-announcer/live-announcer.js +150 -0
  456. package/dist/collection/shared/live-announcer/public.js +6 -0
  457. package/dist/collection/shared/modal-placement.js +42 -0
  458. package/dist/collection/shared/modal-target.js +59 -0
  459. package/dist/collection/shared/navigation/index.js +2 -0
  460. package/dist/collection/shared/navigation/link-state.js +34 -0
  461. package/dist/collection/shared/navigation/navigation.js +56 -0
  462. package/dist/collection/shared/observers/index.js +180 -0
  463. package/dist/collection/shared/roving-focus/index.js +2 -0
  464. package/dist/collection/shared/roving-focus/item-update.js +11 -0
  465. package/dist/collection/shared/roving-focus/roving.js +65 -0
  466. package/dist/collection/shared/warn-once.js +17 -0
  467. package/dist/components/au-accordion-item.d.ts +11 -0
  468. package/dist/components/au-accordion-item.js +1 -0
  469. package/dist/components/au-accordion.d.ts +11 -0
  470. package/dist/components/au-accordion.js +1 -0
  471. package/dist/components/au-alert.d.ts +11 -0
  472. package/dist/components/au-alert.js +1 -0
  473. package/dist/components/au-avatar.d.ts +11 -0
  474. package/dist/components/au-avatar.js +1 -0
  475. package/dist/components/au-badge.d.ts +11 -0
  476. package/dist/components/au-badge.js +1 -0
  477. package/dist/components/au-breadcrumb-item.d.ts +11 -0
  478. package/dist/components/au-breadcrumb-item.js +1 -0
  479. package/dist/components/au-breadcrumb.d.ts +11 -0
  480. package/dist/components/au-breadcrumb.js +1 -0
  481. package/dist/components/au-button.d.ts +11 -0
  482. package/dist/components/au-button.js +1 -0
  483. package/dist/components/au-card.d.ts +11 -0
  484. package/dist/components/au-card.js +1 -0
  485. package/dist/components/au-checkbox.d.ts +11 -0
  486. package/dist/components/au-checkbox.js +1 -0
  487. package/dist/components/au-chip.d.ts +11 -0
  488. package/dist/components/au-chip.js +1 -0
  489. package/dist/components/au-code-block.d.ts +11 -0
  490. package/dist/components/au-code-block.js +1 -0
  491. package/dist/components/au-combobox.d.ts +11 -0
  492. package/dist/components/au-combobox.js +1 -0
  493. package/dist/components/au-container.d.ts +11 -0
  494. package/dist/components/au-container.js +1 -0
  495. package/dist/components/au-dialog.d.ts +11 -0
  496. package/dist/components/au-dialog.js +1 -0
  497. package/dist/components/au-divider.d.ts +11 -0
  498. package/dist/components/au-divider.js +1 -0
  499. package/dist/components/au-field.d.ts +11 -0
  500. package/dist/components/au-field.js +1 -0
  501. package/dist/components/au-icon.d.ts +11 -0
  502. package/dist/components/au-icon.js +1 -0
  503. package/dist/components/au-input.d.ts +11 -0
  504. package/dist/components/au-input.js +1 -0
  505. package/dist/components/au-label.d.ts +11 -0
  506. package/dist/components/au-label.js +1 -0
  507. package/dist/components/au-menu-item.d.ts +11 -0
  508. package/dist/components/au-menu-item.js +1 -0
  509. package/dist/components/au-menu.d.ts +11 -0
  510. package/dist/components/au-menu.js +1 -0
  511. package/dist/components/au-nav-group.d.ts +11 -0
  512. package/dist/components/au-nav-group.js +1 -0
  513. package/dist/components/au-nav-link.d.ts +11 -0
  514. package/dist/components/au-nav-link.js +1 -0
  515. package/dist/components/au-navbar.d.ts +11 -0
  516. package/dist/components/au-navbar.js +1 -0
  517. package/dist/components/au-number-input.d.ts +11 -0
  518. package/dist/components/au-number-input.js +1 -0
  519. package/dist/components/au-popover.d.ts +11 -0
  520. package/dist/components/au-popover.js +1 -0
  521. package/dist/components/au-radio-group.d.ts +11 -0
  522. package/dist/components/au-radio-group.js +1 -0
  523. package/dist/components/au-radio.d.ts +11 -0
  524. package/dist/components/au-radio.js +1 -0
  525. package/dist/components/au-segmented-control.d.ts +11 -0
  526. package/dist/components/au-segmented-control.js +1 -0
  527. package/dist/components/au-segmented-option.d.ts +11 -0
  528. package/dist/components/au-segmented-option.js +1 -0
  529. package/dist/components/au-select.d.ts +11 -0
  530. package/dist/components/au-select.js +1 -0
  531. package/dist/components/au-sidebar-nav.d.ts +11 -0
  532. package/dist/components/au-sidebar-nav.js +1 -0
  533. package/dist/components/au-slider.d.ts +11 -0
  534. package/dist/components/au-slider.js +1 -0
  535. package/dist/components/au-splitter.d.ts +11 -0
  536. package/dist/components/au-splitter.js +1 -0
  537. package/dist/components/au-switch.d.ts +11 -0
  538. package/dist/components/au-switch.js +1 -0
  539. package/dist/components/au-tab-panel.d.ts +11 -0
  540. package/dist/components/au-tab-panel.js +1 -0
  541. package/dist/components/au-tab.d.ts +11 -0
  542. package/dist/components/au-tab.js +1 -0
  543. package/dist/components/au-tabs.d.ts +11 -0
  544. package/dist/components/au-tabs.js +1 -0
  545. package/dist/components/au-textarea.d.ts +11 -0
  546. package/dist/components/au-textarea.js +1 -0
  547. package/dist/components/au-toast-region.d.ts +11 -0
  548. package/dist/components/au-toast-region.js +1 -0
  549. package/dist/components/au-toast.d.ts +11 -0
  550. package/dist/components/au-toast.js +1 -0
  551. package/dist/components/au-toc.d.ts +11 -0
  552. package/dist/components/au-toc.js +1 -0
  553. package/dist/components/au-tooltip.d.ts +11 -0
  554. package/dist/components/au-tooltip.js +1 -0
  555. package/dist/components/index.d.ts +35 -0
  556. package/dist/components/index.js +1 -0
  557. package/dist/components/p-B3rlZvSP.js +7 -0
  558. package/dist/components/p-B71krpcd.js +1 -0
  559. package/dist/components/p-BTRtOC1j.js +1 -0
  560. package/dist/components/p-BTZwl4uD.js +7 -0
  561. package/dist/components/p-BvnCPjl5.js +1 -0
  562. package/dist/components/p-C-bRwiWx.js +1 -0
  563. package/dist/components/p-C2iVoG0G.js +1 -0
  564. package/dist/components/p-C48ks26E.js +1 -0
  565. package/dist/components/p-C6E5E18W.js +7 -0
  566. package/dist/components/p-CA3n-tpF.js +7 -0
  567. package/dist/components/p-CIZeCYao.js +1 -0
  568. package/dist/components/p-CJtRxiuh.js +7 -0
  569. package/dist/components/p-CU9sZ49I.js +7 -0
  570. package/dist/components/p-CfazOBmW.js +1 -0
  571. package/dist/components/p-Ci-XzGE3.js +1 -0
  572. package/dist/components/p-CnJOd66V.js +7 -0
  573. package/dist/components/p-Cq5N0E4D.js +7 -0
  574. package/dist/components/p-CrKUXDm4.js +1 -0
  575. package/dist/components/p-DAqsVCAy.js +1 -0
  576. package/dist/components/p-DBHfOAQc.js +1 -0
  577. package/dist/components/p-DD6GCVQb.js +1 -0
  578. package/dist/components/p-DIL-tsh4.js +1 -0
  579. package/dist/components/p-DTEnois3.js +7 -0
  580. package/dist/components/p-DTeHrc-Q.js +1 -0
  581. package/dist/components/p-DgfWQsck.js +1 -0
  582. package/dist/components/p-Dogh3-Bf.js +1 -0
  583. package/dist/components/p-DqqWqhAT.js +1 -0
  584. package/dist/components/p-Dv3Jcvbc.js +1 -0
  585. package/dist/components/p-DzNA1eDU.js +1 -0
  586. package/dist/components/p-JU60IJxn.js +1 -0
  587. package/dist/components/p-M21eKzKU.js +1 -0
  588. package/dist/components/p-TdUs41zm.js +1 -0
  589. package/dist/components/p-gvyxpLwV.js +1 -0
  590. package/dist/components/p-kEvQ5xF7.js +1 -0
  591. package/dist/components/p-kbAXs-sG.js +7 -0
  592. package/dist/components/p-klxij34W.js +1 -0
  593. package/dist/components/p-kpQFQ7bu.js +7 -0
  594. package/dist/components/p-tdx7CCkD.js +7 -0
  595. package/dist/components/p-vjn4H-yX.js +1 -0
  596. package/dist/custom-elements.json +9944 -0
  597. package/dist/esm/accordion-CfazOBmW.js +33 -0
  598. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  599. package/dist/esm/attributes-CrKUXDm4.js +27 -0
  600. package/dist/esm/au-accordion-item.entry.js +86 -0
  601. package/dist/esm/au-accordion.entry.js +98 -0
  602. package/dist/esm/au-alert.entry.js +115 -0
  603. package/dist/esm/au-avatar.entry.js +175 -0
  604. package/dist/esm/au-badge.entry.js +58 -0
  605. package/dist/esm/au-breadcrumb-item.entry.js +82 -0
  606. package/dist/esm/au-breadcrumb.entry.js +78 -0
  607. package/dist/esm/au-button.entry.js +326 -0
  608. package/dist/esm/au-card.entry.js +74 -0
  609. package/dist/esm/au-checkbox.entry.js +181 -0
  610. package/dist/esm/au-chip.entry.js +247 -0
  611. package/dist/esm/au-code-block.entry.js +676 -0
  612. package/dist/esm/au-combobox.entry.js +753 -0
  613. package/dist/esm/au-container.entry.js +56 -0
  614. package/dist/esm/au-dialog.entry.js +375 -0
  615. package/dist/esm/au-divider.entry.js +104 -0
  616. package/dist/esm/au-field.entry.js +183 -0
  617. package/dist/esm/au-icon-B17psn7x.js +344 -0
  618. package/dist/esm/au-icon.entry.js +3 -0
  619. package/dist/esm/au-input.entry.js +310 -0
  620. package/dist/esm/au-label.entry.js +43 -0
  621. package/dist/esm/au-menu-item.entry.js +69 -0
  622. package/dist/esm/au-menu.entry.js +345 -0
  623. package/dist/esm/au-nav-group.entry.js +48 -0
  624. package/dist/esm/au-nav-link.entry.js +82 -0
  625. package/dist/esm/au-navbar.entry.js +304 -0
  626. package/dist/esm/au-number-input.entry.js +348 -0
  627. package/dist/esm/au-popover.entry.js +128 -0
  628. package/dist/esm/au-radio-group.entry.js +346 -0
  629. package/dist/esm/au-radio.entry.js +43 -0
  630. package/dist/esm/au-segmented-control.entry.js +542 -0
  631. package/dist/esm/au-segmented-option.entry.js +76 -0
  632. package/dist/esm/au-select.entry.js +334 -0
  633. package/dist/esm/au-sidebar-nav.entry.js +176 -0
  634. package/dist/esm/au-slider.entry.js +284 -0
  635. package/dist/esm/au-splitter.entry.js +228 -0
  636. package/dist/esm/au-switch.entry.js +173 -0
  637. package/dist/esm/au-tab-panel.entry.js +61 -0
  638. package/dist/esm/au-tab.entry.js +39 -0
  639. package/dist/esm/au-tabs.entry.js +404 -0
  640. package/dist/esm/au-textarea.entry.js +243 -0
  641. package/dist/esm/au-toast-region.entry.js +690 -0
  642. package/dist/esm/au-toast.entry.js +61 -0
  643. package/dist/esm/au-toc.entry.js +443 -0
  644. package/dist/esm/au-tooltip.entry.js +393 -0
  645. package/dist/esm/aurora.js +21 -0
  646. package/dist/esm/check-CnJOd66V.js +14 -0
  647. package/dist/esm/checkable-kEvQ5xF7.js +6 -0
  648. package/dist/esm/circle-check-kpQFQ7bu.js +18 -0
  649. package/dist/esm/circle-x-tdx7CCkD.js +19 -0
  650. package/dist/esm/constants.generated-DqqWqhAT.js +120 -0
  651. package/dist/esm/control-id-C48ks26E.js +13 -0
  652. package/dist/esm/copy-B3rlZvSP.js +17 -0
  653. package/dist/esm/copy-check-Cq5N0E4D.js +18 -0
  654. package/dist/esm/deep-active-element-C-bRwiWx.js +9 -0
  655. package/dist/esm/group-validity-C2iVoG0G.js +9 -0
  656. package/dist/esm/icon-loader-CqLCmu4h.js +109 -0
  657. package/dist/esm/index-JU60IJxn.js +155 -0
  658. package/dist/esm/index-KLUZmSN-.js +2304 -0
  659. package/dist/esm/index.js +321 -0
  660. package/dist/esm/info-CA3n-tpF.js +18 -0
  661. package/dist/esm/initial-value-B71krpcd.js +11 -0
  662. package/dist/esm/item-update-DgfWQsck.js +13 -0
  663. package/dist/esm/link-state-DhPKwPml.js +37 -0
  664. package/dist/esm/live-announcer-CXd2OhYs.js +391 -0
  665. package/dist/esm/loader.js +11 -0
  666. package/dist/esm/menu-vjn4H-yX.js +35 -0
  667. package/dist/esm/minus-kbAXs-sG.js +14 -0
  668. package/dist/esm/navigation-TdUs41zm.js +58 -0
  669. package/dist/esm/octagon-alert-DTEnois3.js +25 -0
  670. package/dist/esm/plus-CU9sZ49I.js +17 -0
  671. package/dist/esm/popover-controller-DUrPFfIx.js +235 -0
  672. package/dist/esm/popover-support-DBHfOAQc.js +247 -0
  673. package/dist/esm/resolve-size-DD6GCVQb.js +11 -0
  674. package/dist/esm/restore-gvyxpLwV.js +141 -0
  675. package/dist/esm/reveal-BvnCPjl5.js +67 -0
  676. package/dist/esm/roving-Dogh3-Bf.js +67 -0
  677. package/dist/esm/segmented-BTRtOC1j.js +45 -0
  678. package/dist/esm/slider-CIZeCYao.js +78 -0
  679. package/dist/esm/toast-request-Kwv9rt06.js +55 -0
  680. package/dist/esm/triangle-alert-CJtRxiuh.js +25 -0
  681. package/dist/esm/user-round-C6E5E18W.js +18 -0
  682. package/dist/esm/warn-once-Ci-XzGE3.js +19 -0
  683. package/dist/esm/x-BTZwl4uD.js +17 -0
  684. package/dist/foundations/accessibility/_index.scss +34 -0
  685. package/dist/foundations/constants/_config.scss +119 -0
  686. package/dist/foundations/constants/_index.scss +1 -0
  687. package/dist/foundations/interactions/_index.scss +19 -0
  688. package/dist/foundations/responsive/_breakpoints.scss +104 -0
  689. package/dist/foundations/responsive/_index.scss +1 -0
  690. package/dist/foundations/themes/_dark.scss +60 -0
  691. package/dist/foundations/themes/_default.scss +37 -0
  692. package/dist/foundations/themes/_glass.scss +98 -0
  693. package/dist/foundations/themes/_index.scss +2 -0
  694. package/dist/foundations/themes/_minimal.scss +54 -0
  695. package/dist/foundations/tokens/_config.scss +186 -0
  696. package/dist/foundations/tokens/_functions.scss +19 -0
  697. package/dist/foundations/tokens/_index.scss +3 -0
  698. package/dist/foundations/tokens/_runtime.scss +102 -0
  699. package/dist/foundations/utilities/_borders.scss +116 -0
  700. package/dist/foundations/utilities/_colors.scss +17 -0
  701. package/dist/foundations/utilities/_flex.scss +144 -0
  702. package/dist/foundations/utilities/_grid.scss +105 -0
  703. package/dist/foundations/utilities/_index.scss +92 -0
  704. package/dist/foundations/utilities/_positioning.scss +44 -0
  705. package/dist/foundations/utilities/_sizing.scss +38 -0
  706. package/dist/foundations/utilities/_spacing.scss +119 -0
  707. package/dist/foundations/utilities/_typography.scss +85 -0
  708. package/dist/icons/foundations/icons/autoload.d.ts +9 -0
  709. package/dist/icons/foundations/icons/autoload.js +21 -0
  710. package/dist/icons/foundations/icons/icon-autoload-hook.d.ts +14 -0
  711. package/dist/icons/foundations/icons/icon-autoload-hook.js +13 -0
  712. package/dist/icons/foundations/icons/icon-registry.d.ts +11 -0
  713. package/dist/icons/foundations/icons/icon-registry.js +147 -0
  714. package/dist/icons/foundations/icons/icon-sizes.d.ts +8 -0
  715. package/dist/icons/foundations/icons/icon-sizes.js +8 -0
  716. package/dist/icons/foundations/icons/icon-slug.d.ts +6 -0
  717. package/dist/icons/foundations/icons/icon-slug.js +26 -0
  718. package/dist/icons/foundations/icons/icon.constants.d.ts +14 -0
  719. package/dist/icons/foundations/icons/icon.constants.generated.d.ts +2281 -0
  720. package/dist/icons/foundations/icons/icon.constants.generated.js +2284 -0
  721. package/dist/icons/foundations/icons/icon.constants.js +18 -0
  722. package/dist/icons/foundations/icons/icon.types.d.ts +21 -0
  723. package/dist/icons/foundations/icons/icon.types.js +1 -0
  724. package/dist/icons/foundations/icons/index.d.ts +5 -0
  725. package/dist/icons/foundations/icons/index.js +3 -0
  726. package/dist/icons/foundations/icons/mdi-map.d.ts +92 -0
  727. package/dist/icons/foundations/icons/mdi-map.js +86 -0
  728. package/dist/icons/foundations/icons/register-lucide-icons.d.ts +14 -0
  729. package/dist/icons/foundations/icons/register-lucide-icons.js +30 -0
  730. package/dist/icons/index.d.ts +2 -0
  731. package/dist/icons/index.js +2 -0
  732. package/dist/icons/integrations/basics/index.d.ts +2 -0
  733. package/dist/icons/integrations/basics/index.js +2 -0
  734. package/dist/icons/integrations/basics/is-plain-object.d.ts +1 -0
  735. package/dist/icons/integrations/basics/is-plain-object.js +1 -0
  736. package/dist/icons/package.json +3 -0
  737. package/dist/index.cjs.js +1 -0
  738. package/dist/index.js +1 -0
  739. package/dist/scss/index.scss +4 -0
  740. package/dist/scss/interactions.scss +1 -0
  741. package/dist/scss/responsive.scss +2 -0
  742. package/dist/scss/themes/dark.scss +1 -0
  743. package/dist/scss/themes/default.scss +1 -0
  744. package/dist/scss/themes/glass.scss +1 -0
  745. package/dist/scss/themes/minimal.scss +1 -0
  746. package/dist/scss/tokens.scss +1 -0
  747. package/dist/scss/utilities/_index.scss +5 -0
  748. package/dist/scss/utilities/borders.scss +3 -0
  749. package/dist/scss/utilities/colors.scss +2 -0
  750. package/dist/scss/utilities/flex.scss +1 -0
  751. package/dist/scss/utilities/grid.scss +1 -0
  752. package/dist/scss/utilities/positioning.scss +2 -0
  753. package/dist/scss/utilities/sizing.scss +3 -0
  754. package/dist/scss/utilities/spacing.scss +3 -0
  755. package/dist/scss/utilities/typography.scss +3 -0
  756. package/dist/styles.css +263 -0
  757. package/dist/themes/glass.css +88 -0
  758. package/dist/themes/minimal.css +50 -0
  759. package/dist/tokens.cjs +38 -0
  760. package/dist/tokens.d.ts +337 -0
  761. package/dist/tokens.mjs +35 -0
  762. package/dist/types/components/actions/au-button/au-button.constants.d.ts +57 -0
  763. package/dist/types/components/actions/au-button/au-button.d.ts +93 -0
  764. package/dist/types/components/actions/au-button/au-button.types.d.ts +9 -0
  765. package/dist/types/components/actions/au-button/index.d.ts +2 -0
  766. package/dist/types/components/data-display/au-accordion/au-accordion.constants.d.ts +12 -0
  767. package/dist/types/components/data-display/au-accordion/au-accordion.d.ts +27 -0
  768. package/dist/types/components/data-display/au-accordion/au-accordion.types.d.ts +1 -0
  769. package/dist/types/components/data-display/au-accordion/index.d.ts +3 -0
  770. package/dist/types/components/data-display/au-accordion-item/au-accordion-item.d.ts +31 -0
  771. package/dist/types/components/data-display/au-accordion-item/index.d.ts +1 -0
  772. package/dist/types/components/data-display/au-avatar/au-avatar.constants.d.ts +26 -0
  773. package/dist/types/components/data-display/au-avatar/au-avatar.d.ts +39 -0
  774. package/dist/types/components/data-display/au-avatar/au-avatar.types.d.ts +1 -0
  775. package/dist/types/components/data-display/au-avatar/index.d.ts +3 -0
  776. package/dist/types/components/data-display/au-avatar/internal/initials.d.ts +7 -0
  777. package/dist/types/components/data-display/au-badge/au-badge.constants.d.ts +43 -0
  778. package/dist/types/components/data-display/au-badge/au-badge.d.ts +15 -0
  779. package/dist/types/components/data-display/au-badge/au-badge.types.d.ts +1 -0
  780. package/dist/types/components/data-display/au-badge/index.d.ts +3 -0
  781. package/dist/types/components/data-display/au-card/au-card.constants.d.ts +29 -0
  782. package/dist/types/components/data-display/au-card/au-card.d.ts +17 -0
  783. package/dist/types/components/data-display/au-card/au-card.types.d.ts +1 -0
  784. package/dist/types/components/data-display/au-card/index.d.ts +3 -0
  785. package/dist/types/components/data-display/au-chip/au-chip.constants.d.ts +23 -0
  786. package/dist/types/components/data-display/au-chip/au-chip.d.ts +46 -0
  787. package/dist/types/components/data-display/au-chip/au-chip.types.d.ts +10 -0
  788. package/dist/types/components/data-display/au-chip/index.d.ts +3 -0
  789. package/dist/types/components/data-display/au-chip/internal/neighbor.d.ts +6 -0
  790. package/dist/types/components/data-display/au-chip/internal/remove-key.d.ts +16 -0
  791. package/dist/types/components/data-display/au-code-block/au-code-block.constants.d.ts +32 -0
  792. package/dist/types/components/data-display/au-code-block/au-code-block.d.ts +89 -0
  793. package/dist/types/components/data-display/au-code-block/au-code-block.types.d.ts +17 -0
  794. package/dist/types/components/data-display/au-code-block/index.d.ts +3 -0
  795. package/dist/types/components/data-display/au-code-block/internal/highlight-lines.d.ts +10 -0
  796. package/dist/types/components/data-display/au-code-block/internal/highlight-result.d.ts +22 -0
  797. package/dist/types/components/data-display/au-code-block/internal/light-source.d.ts +10 -0
  798. package/dist/types/components/data-display/au-code-block/internal/normalize-code.d.ts +9 -0
  799. package/dist/types/components/data-display/internal/accordion.d.ts +26 -0
  800. package/dist/types/components/feedback/au-alert/au-alert.constants.d.ts +24 -0
  801. package/dist/types/components/feedback/au-alert/au-alert.d.ts +37 -0
  802. package/dist/types/components/feedback/au-alert/au-alert.types.d.ts +1 -0
  803. package/dist/types/components/feedback/au-alert/index.d.ts +3 -0
  804. package/dist/types/components/feedback/au-toast/au-toast.constants.d.ts +2 -0
  805. package/dist/types/components/feedback/au-toast/au-toast.d.ts +25 -0
  806. package/dist/types/components/feedback/au-toast/au-toast.service.d.ts +8 -0
  807. package/dist/types/components/feedback/au-toast/au-toast.types.d.ts +1 -0
  808. package/dist/types/components/feedback/au-toast/index.d.ts +3 -0
  809. package/dist/types/components/feedback/au-toast-region/au-toast-region.d.ts +106 -0
  810. package/dist/types/components/feedback/au-toast-region/index.d.ts +4 -0
  811. package/dist/types/components/feedback/internal/toast-announcer.d.ts +5 -0
  812. package/dist/types/components/feedback/internal/toast-constants.d.ts +70 -0
  813. package/dist/types/components/feedback/internal/toast-options.d.ts +28 -0
  814. package/dist/types/components/feedback/internal/toast-popover.d.ts +4 -0
  815. package/dist/types/components/feedback/internal/toast-queue.d.ts +39 -0
  816. package/dist/types/components/feedback/internal/toast-registry.d.ts +11 -0
  817. package/dist/types/components/feedback/internal/toast-request.d.ts +10 -0
  818. package/dist/types/components/feedback/internal/toast-timers.d.ts +19 -0
  819. package/dist/types/components/feedback/internal/toast-timing.d.ts +5 -0
  820. package/dist/types/components/feedback/internal/toast-types.d.ts +37 -0
  821. package/dist/types/components/forms/au-checkbox/au-checkbox.constants.d.ts +2 -0
  822. package/dist/types/components/forms/au-checkbox/au-checkbox.d.ts +63 -0
  823. package/dist/types/components/forms/au-checkbox/au-checkbox.types.d.ts +23 -0
  824. package/dist/types/components/forms/au-checkbox/index.d.ts +3 -0
  825. package/dist/types/components/forms/au-combobox/au-combobox.constants.d.ts +26 -0
  826. package/dist/types/components/forms/au-combobox/au-combobox.d.ts +167 -0
  827. package/dist/types/components/forms/au-combobox/au-combobox.types.d.ts +49 -0
  828. package/dist/types/components/forms/au-combobox/index.d.ts +4 -0
  829. package/dist/types/components/forms/au-field/au-field.d.ts +31 -0
  830. package/dist/types/components/forms/au-field/index.d.ts +1 -0
  831. package/dist/types/components/forms/au-input/au-input.constants.d.ts +35 -0
  832. package/dist/types/components/forms/au-input/au-input.d.ts +104 -0
  833. package/dist/types/components/forms/au-input/au-input.types.d.ts +35 -0
  834. package/dist/types/components/forms/au-input/index.d.ts +4 -0
  835. package/dist/types/components/forms/au-label/au-label.constants.d.ts +7 -0
  836. package/dist/types/components/forms/au-label/au-label.d.ts +12 -0
  837. package/dist/types/components/forms/au-label/au-label.types.d.ts +7 -0
  838. package/dist/types/components/forms/au-label/index.d.ts +2 -0
  839. package/dist/types/components/forms/au-number-input/au-number-input.constants.d.ts +15 -0
  840. package/dist/types/components/forms/au-number-input/au-number-input.d.ts +93 -0
  841. package/dist/types/components/forms/au-number-input/au-number-input.types.d.ts +35 -0
  842. package/dist/types/components/forms/au-number-input/index.d.ts +4 -0
  843. package/dist/types/components/forms/au-radio/au-radio.constants.d.ts +2 -0
  844. package/dist/types/components/forms/au-radio/au-radio.d.ts +13 -0
  845. package/dist/types/components/forms/au-radio/au-radio.types.d.ts +11 -0
  846. package/dist/types/components/forms/au-radio/index.d.ts +3 -0
  847. package/dist/types/components/forms/au-radio-group/au-radio-group.constants.d.ts +6 -0
  848. package/dist/types/components/forms/au-radio-group/au-radio-group.d.ts +89 -0
  849. package/dist/types/components/forms/au-radio-group/au-radio-group.types.d.ts +23 -0
  850. package/dist/types/components/forms/au-radio-group/index.d.ts +4 -0
  851. package/dist/types/components/forms/au-segmented-control/au-segmented-control.constants.d.ts +26 -0
  852. package/dist/types/components/forms/au-segmented-control/au-segmented-control.d.ts +113 -0
  853. package/dist/types/components/forms/au-segmented-control/au-segmented-control.types.d.ts +30 -0
  854. package/dist/types/components/forms/au-segmented-control/index.d.ts +4 -0
  855. package/dist/types/components/forms/au-segmented-option/au-segmented-option.d.ts +23 -0
  856. package/dist/types/components/forms/au-segmented-option/au-segmented-option.types.d.ts +14 -0
  857. package/dist/types/components/forms/au-segmented-option/index.d.ts +2 -0
  858. package/dist/types/components/forms/au-select/au-select.constants.d.ts +7 -0
  859. package/dist/types/components/forms/au-select/au-select.d.ts +91 -0
  860. package/dist/types/components/forms/au-select/au-select.types.d.ts +25 -0
  861. package/dist/types/components/forms/au-select/index.d.ts +4 -0
  862. package/dist/types/components/forms/au-select/internal/read-select-options.d.ts +28 -0
  863. package/dist/types/components/forms/au-slider/au-slider.constants.d.ts +11 -0
  864. package/dist/types/components/forms/au-slider/au-slider.d.ts +84 -0
  865. package/dist/types/components/forms/au-slider/au-slider.types.d.ts +41 -0
  866. package/dist/types/components/forms/au-slider/index.d.ts +4 -0
  867. package/dist/types/components/forms/au-switch/au-switch.constants.d.ts +2 -0
  868. package/dist/types/components/forms/au-switch/au-switch.d.ts +61 -0
  869. package/dist/types/components/forms/au-switch/au-switch.types.d.ts +21 -0
  870. package/dist/types/components/forms/au-switch/index.d.ts +3 -0
  871. package/dist/types/components/forms/au-textarea/au-textarea.constants.d.ts +16 -0
  872. package/dist/types/components/forms/au-textarea/au-textarea.d.ts +87 -0
  873. package/dist/types/components/forms/au-textarea/au-textarea.types.d.ts +33 -0
  874. package/dist/types/components/forms/au-textarea/index.d.ts +4 -0
  875. package/dist/types/components/forms/internal/combobox.d.ts +51 -0
  876. package/dist/types/components/forms/internal/number-input.d.ts +18 -0
  877. package/dist/types/components/forms/internal/segmented.d.ts +34 -0
  878. package/dist/types/components/forms/internal/slider.d.ts +42 -0
  879. package/dist/types/components/layout/au-container/au-container.constants.d.ts +24 -0
  880. package/dist/types/components/layout/au-container/au-container.d.ts +15 -0
  881. package/dist/types/components/layout/au-container/au-container.types.d.ts +1 -0
  882. package/dist/types/components/layout/au-container/index.d.ts +3 -0
  883. package/dist/types/components/layout/au-divider/au-divider.constants.d.ts +23 -0
  884. package/dist/types/components/layout/au-divider/au-divider.d.ts +23 -0
  885. package/dist/types/components/layout/au-divider/au-divider.types.d.ts +1 -0
  886. package/dist/types/components/layout/au-divider/index.d.ts +3 -0
  887. package/dist/types/components/layout/au-splitter/au-splitter.constants.d.ts +9 -0
  888. package/dist/types/components/layout/au-splitter/au-splitter.d.ts +53 -0
  889. package/dist/types/components/layout/au-splitter/au-splitter.types.d.ts +19 -0
  890. package/dist/types/components/layout/au-splitter/index.d.ts +4 -0
  891. package/dist/types/components/layout/internal/splitter.d.ts +22 -0
  892. package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.constants.d.ts +4 -0
  893. package/dist/types/components/navigation/au-breadcrumb/au-breadcrumb.d.ts +23 -0
  894. package/dist/types/components/navigation/au-breadcrumb/index.d.ts +2 -0
  895. package/dist/types/components/navigation/au-breadcrumb-item/au-breadcrumb-item.d.ts +28 -0
  896. package/dist/types/components/navigation/au-breadcrumb-item/index.d.ts +1 -0
  897. package/dist/types/components/navigation/au-nav-group/au-nav-group.d.ts +16 -0
  898. package/dist/types/components/navigation/au-nav-group/index.d.ts +1 -0
  899. package/dist/types/components/navigation/au-nav-link/au-nav-link.d.ts +25 -0
  900. package/dist/types/components/navigation/au-nav-link/index.d.ts +1 -0
  901. package/dist/types/components/navigation/au-navbar/au-navbar.constants.d.ts +40 -0
  902. package/dist/types/components/navigation/au-navbar/au-navbar.d.ts +74 -0
  903. package/dist/types/components/navigation/au-navbar/au-navbar.types.d.ts +9 -0
  904. package/dist/types/components/navigation/au-navbar/index.d.ts +4 -0
  905. package/dist/types/components/navigation/au-navbar/internal/collapse.d.ts +6 -0
  906. package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.constants.d.ts +2 -0
  907. package/dist/types/components/navigation/au-sidebar-nav/au-sidebar-nav.d.ts +49 -0
  908. package/dist/types/components/navigation/au-sidebar-nav/index.d.ts +2 -0
  909. package/dist/types/components/navigation/au-tab/au-tab.d.ts +11 -0
  910. package/dist/types/components/navigation/au-tab/index.d.ts +1 -0
  911. package/dist/types/components/navigation/au-tab-panel/au-tab-panel.d.ts +20 -0
  912. package/dist/types/components/navigation/au-tab-panel/index.d.ts +1 -0
  913. package/dist/types/components/navigation/au-tabs/au-tabs.constants.d.ts +12 -0
  914. package/dist/types/components/navigation/au-tabs/au-tabs.d.ts +79 -0
  915. package/dist/types/components/navigation/au-tabs/au-tabs.types.d.ts +7 -0
  916. package/dist/types/components/navigation/au-tabs/index.d.ts +4 -0
  917. package/dist/types/components/navigation/au-tabs/internal/indicator-geometry.d.ts +31 -0
  918. package/dist/types/components/navigation/au-toc/au-toc.constants.d.ts +6 -0
  919. package/dist/types/components/navigation/au-toc/au-toc.d.ts +84 -0
  920. package/dist/types/components/navigation/au-toc/index.d.ts +2 -0
  921. package/dist/types/components/navigation/au-toc/internal/toc-model.d.ts +41 -0
  922. package/dist/types/components/navigation/internal/reveal.d.ts +24 -0
  923. package/dist/types/components/overlays/au-dialog/au-dialog.constants.d.ts +33 -0
  924. package/dist/types/components/overlays/au-dialog/au-dialog.d.ts +103 -0
  925. package/dist/types/components/overlays/au-dialog/au-dialog.types.d.ts +11 -0
  926. package/dist/types/components/overlays/au-dialog/index.d.ts +3 -0
  927. package/dist/types/components/overlays/au-menu/au-menu.constants.d.ts +37 -0
  928. package/dist/types/components/overlays/au-menu/au-menu.d.ts +67 -0
  929. package/dist/types/components/overlays/au-menu/au-menu.types.d.ts +12 -0
  930. package/dist/types/components/overlays/au-menu/index.d.ts +4 -0
  931. package/dist/types/components/overlays/au-menu-item/au-menu-item.d.ts +19 -0
  932. package/dist/types/components/overlays/au-menu-item/au-menu-item.types.d.ts +14 -0
  933. package/dist/types/components/overlays/au-menu-item/index.d.ts +2 -0
  934. package/dist/types/components/overlays/au-popover/au-popover.constants.d.ts +33 -0
  935. package/dist/types/components/overlays/au-popover/au-popover.d.ts +28 -0
  936. package/dist/types/components/overlays/au-popover/au-popover.types.d.ts +10 -0
  937. package/dist/types/components/overlays/au-popover/index.d.ts +3 -0
  938. package/dist/types/components/overlays/au-tooltip/au-tooltip.constants.d.ts +28 -0
  939. package/dist/types/components/overlays/au-tooltip/au-tooltip.d.ts +80 -0
  940. package/dist/types/components/overlays/au-tooltip/index.d.ts +3 -0
  941. package/dist/types/components/overlays/internal/menu.d.ts +34 -0
  942. package/dist/types/components/overlays/internal/popover-controller.d.ts +102 -0
  943. package/dist/types/components/overlays/internal/typeahead.d.ts +17 -0
  944. package/dist/types/components/primitives/au-icon/au-icon.constants.d.ts +5 -0
  945. package/dist/types/components/primitives/au-icon/au-icon.d.ts +37 -0
  946. package/dist/types/components/primitives/au-icon/au-icon.types.d.ts +13 -0
  947. package/dist/types/components/primitives/au-icon/core-icons.d.ts +9 -0
  948. package/dist/types/components/primitives/au-icon/icon-loader.d.ts +8 -0
  949. package/dist/types/components/primitives/au-icon/index.d.ts +3 -0
  950. package/dist/types/components.d.ts +4419 -0
  951. package/dist/types/foundations/constants/constants.generated.d.mts +136 -0
  952. package/dist/types/foundations/constants/index.d.ts +3 -0
  953. package/dist/types/foundations/constants/resolve-size.d.ts +5 -0
  954. package/dist/types/foundations/icons/autoload.d.ts +9 -0
  955. package/dist/types/foundations/icons/icon-autoload-hook.d.ts +14 -0
  956. package/dist/types/foundations/icons/icon-registry.d.ts +11 -0
  957. package/dist/types/foundations/icons/icon-sizes.d.ts +8 -0
  958. package/dist/types/foundations/icons/icon-slug.d.ts +6 -0
  959. package/dist/types/foundations/icons/icon.constants.d.ts +14 -0
  960. package/dist/types/foundations/icons/icon.constants.generated.d.ts +2281 -0
  961. package/dist/types/foundations/icons/icon.types.d.ts +21 -0
  962. package/dist/types/foundations/icons/index.d.ts +5 -0
  963. package/dist/types/foundations/icons/mdi-map.d.ts +92 -0
  964. package/dist/types/foundations/icons/register-lucide-icons.d.ts +14 -0
  965. package/dist/types/foundations/themes/theme.d.ts +68 -0
  966. package/dist/types/foundations/tokens/index.d.ts +4 -0
  967. package/dist/types/foundations/tokens/tokens.generated.d.mts +199 -0
  968. package/dist/types/index.d.ts +3 -0
  969. package/dist/types/integrations/basics/index.d.ts +2 -0
  970. package/dist/types/integrations/basics/is-plain-object.d.ts +1 -0
  971. package/dist/types/integrations/flux/index.d.ts +2 -0
  972. package/dist/types/integrations/flux/loader.d.ts +21 -0
  973. package/dist/types/integrations/flux/provide.d.ts +12 -0
  974. package/dist/types/integrations/flux/registry.d.ts +25 -0
  975. package/dist/types/shared/anchored/anchor-position.d.ts +43 -0
  976. package/dist/types/shared/anchored/js-positioning.d.ts +36 -0
  977. package/dist/types/shared/anchored/popover-support.d.ts +15 -0
  978. package/dist/types/shared/clipboard/clipboard.d.ts +13 -0
  979. package/dist/types/shared/clipboard/copy-procedure.d.ts +17 -0
  980. package/dist/types/shared/clipboard/copy-types.d.ts +33 -0
  981. package/dist/types/shared/focus/deep-active-element.d.ts +2 -0
  982. package/dist/types/shared/focus/index.d.ts +1 -0
  983. package/dist/types/shared/form-control/attributes.d.ts +11 -0
  984. package/dist/types/shared/form-control/checkable.d.ts +5 -0
  985. package/dist/types/shared/form-control/control-id.d.ts +7 -0
  986. package/dist/types/shared/form-control/described-by.d.ts +2 -0
  987. package/dist/types/shared/form-control/form-control-controller.d.ts +40 -0
  988. package/dist/types/shared/form-control/group-validity.d.ts +5 -0
  989. package/dist/types/shared/form-control/host-events.d.ts +13 -0
  990. package/dist/types/shared/form-control/index.d.ts +11 -0
  991. package/dist/types/shared/form-control/initial-value.d.ts +5 -0
  992. package/dist/types/shared/form-control/restore.d.ts +4 -0
  993. package/dist/types/shared/form-control/validation-message.d.ts +11 -0
  994. package/dist/types/shared/live-announcer/announce-queue.d.ts +51 -0
  995. package/dist/types/shared/live-announcer/announce-timing.d.ts +12 -0
  996. package/dist/types/shared/live-announcer/index.d.ts +2 -0
  997. package/dist/types/shared/live-announcer/live-announcer.d.ts +31 -0
  998. package/dist/types/shared/live-announcer/public.d.ts +7 -0
  999. package/dist/types/shared/modal-placement.d.ts +14 -0
  1000. package/dist/types/shared/modal-target.d.ts +22 -0
  1001. package/dist/types/shared/navigation/index.d.ts +4 -0
  1002. package/dist/types/shared/navigation/link-state.d.ts +34 -0
  1003. package/dist/types/shared/navigation/navigation.d.ts +28 -0
  1004. package/dist/types/shared/observers/index.d.ts +42 -0
  1005. package/dist/types/shared/roving-focus/index.d.ts +3 -0
  1006. package/dist/types/shared/roving-focus/item-update.d.ts +8 -0
  1007. package/dist/types/shared/roving-focus/roving.d.ts +22 -0
  1008. package/dist/types/shared/warn-once.d.ts +5 -0
  1009. package/dist/types/stencil-public-runtime.d.ts +1879 -0
  1010. package/dist/types/vue.d.ts +68 -0
  1011. package/dist/utilities/base.css +3160 -0
  1012. package/dist/utilities/responsive.css +11165 -0
  1013. package/dist/utilities.css +14326 -0
  1014. package/loader/cdn.js +1 -0
  1015. package/loader/index.cjs.js +1 -0
  1016. package/loader/index.d.ts +24 -0
  1017. package/loader/index.es2017.js +1 -0
  1018. package/loader/index.js +2 -0
  1019. package/package.json +493 -4
@@ -0,0 +1,1165 @@
1
+ import { Host, h, } from "@stencil/core";
2
+ import { COMBOBOX_FILTER, COMBOBOX_SIZE, isComboboxFilter, isComboboxSize, } from "./au-combobox.constants.js";
3
+ import { JsPositioner } from "../../../shared/anchored/js-positioning.js";
4
+ import { getPopoverSupport } from "../../../shared/anchored/popover-support.js";
5
+ import { FormControlController, controlDescriptionIds, createControlId, dispatchHostChange, joinIdRefs, omitUndefinedAttributes, requiredSelectionFlags, restoredText, syncSpellcheckAttribute, } from "../../../shared/form-control/index.js";
6
+ import { announce } from "../../../shared/live-announcer/index.js";
7
+ import { warnOncePerDocument } from "../../../shared/warn-once.js";
8
+ import { filterOptions, loadingText, normalizeOptions, resultsText } from "../internal/combobox.js";
9
+ export class AuCombobox {
10
+ host;
11
+ internals;
12
+ /** Form field name. The host participates in the surrounding form. */
13
+ name;
14
+ /** Associates this form control with a form by ID when it is not nested inside that form. */
15
+ form;
16
+ /** Visible label, a native `<label for>` in this component's Shadow DOM. */
17
+ label;
18
+ /** Placeholder of the input. */
19
+ placeholder;
20
+ /** The `value` of the selected option. `''` means no selection. It is never normalized against `options`. */
21
+ value = '';
22
+ /** The text in the input. */
23
+ query = '';
24
+ /** JS only. The options to list. Set a new array to re-render (a mutated array is not observed). */
25
+ options = [];
26
+ /** How `query` filters the options. An invalid value falls back to `contains`. */
27
+ filter = COMBOBOX_FILTER.contains;
28
+ /** Whether the popup is open. Setting it opens or closes the popup and dispatches nothing. */
29
+ open = false;
30
+ /** Marks the listbox busy and shows the loading text. */
31
+ loading = false;
32
+ /** A selection is required: an empty value is a constraint violation. */
33
+ required = false;
34
+ /** Disables the control and excludes it from form submission. */
35
+ disabled = false;
36
+ /** The input cannot be edited and the popup never opens. */
37
+ readonly = false;
38
+ /** Exposes an invalid state even when the selection is valid. */
39
+ invalid = false;
40
+ /** Supporting text displayed below the control. */
41
+ hint;
42
+ /** Error text displayed below the control and exposed to assistive technology. */
43
+ error;
44
+ /**
45
+ * Fallback message for the custom invalid state, exposed through constraint validation only.
46
+ * It is not rendered; use `error` for visible text.
47
+ */
48
+ invalidMessage;
49
+ /** Accessible name used when no visible label is provided. */
50
+ ariaLabel;
51
+ /** Announced count for several results. `{count}` is replaced by the localized number. */
52
+ resultsLabel;
53
+ /** Announced count for exactly one result. */
54
+ oneResultLabel;
55
+ /** Shown and announced when no option matches. */
56
+ noResultsLabel;
57
+ /** Shown and announced while `loading` is true. */
58
+ loadingLabel;
59
+ /** Control density. Unknown values fall back to `medium`. */
60
+ size = COMBOBOX_SIZE.medium;
61
+ items = [];
62
+ /** The `value` of the active option. `undefined` means the first enabled one. */
63
+ activeValue;
64
+ formDisabled = false;
65
+ focused = false;
66
+ nativeInvalid = false;
67
+ hasInteracted = false;
68
+ /** CX-D3: the user edited the text since the last commit, revert or programmatic write of `query`. */
69
+ queryEdited = false;
70
+ baseId = createControlId('combobox');
71
+ inputId = this.baseId;
72
+ labelId = `${this.baseId}-label`;
73
+ listboxId = `${this.baseId}-listbox`;
74
+ hintId = controlDescriptionIds(this.baseId).hint;
75
+ errorId = controlDescriptionIds(this.baseId).error;
76
+ formControl = new FormControlController(() => this.internals);
77
+ support = { popover: false, hint: false, anchor: false };
78
+ initialValue = '';
79
+ inputElement;
80
+ fieldElement;
81
+ popupElement;
82
+ nativeOpen = false;
83
+ positioner;
84
+ documentListening = false;
85
+ /** The count (or `'loading'`) announced since the popup opened. */
86
+ announced;
87
+ /** An ArrowUp open chose the active option, so the `open` watcher must not reset it. */
88
+ keepActive = false;
89
+ /** The label of the last committed value, for a value whose option is not loaded. */
90
+ rememberedValue;
91
+ rememberedLabel = '';
92
+ textAtFocus = '';
93
+ /** True only while `handleInput` writes `query`, so the `query` watcher can tell a user edit apart. */
94
+ writingFromInput = false;
95
+ lastActive;
96
+ loaded = false;
97
+ connectedCallback() {
98
+ if (this.loaded) {
99
+ // A reconnected host lost its top-layer state with the removal.
100
+ this.nativeOpen = false;
101
+ this.syncPopup();
102
+ }
103
+ }
104
+ disconnectedCallback() {
105
+ this.removeDocumentListener();
106
+ this.positioner?.stop();
107
+ this.nativeOpen = false;
108
+ }
109
+ componentWillLoad() {
110
+ this.support = getPopoverSupport(this.host.ownerDocument);
111
+ if (!this.support.popover) {
112
+ warnOncePerDocument(this.host.ownerDocument, 'au-combobox:popover', '[au-combobox] The Popover API is not available in this browser. The options list renders in normal flow under the field.');
113
+ }
114
+ this.refreshItems();
115
+ this.initialValue = this.value;
116
+ this.syncQueryFromValue();
117
+ if (this.open && !this.canOpen)
118
+ this.open = false;
119
+ }
120
+ componentDidLoad() {
121
+ this.loaded = true;
122
+ }
123
+ componentDidRender() {
124
+ this.syncInputValue();
125
+ this.syncFormState();
126
+ this.syncPopup();
127
+ this.syncDocumentListener();
128
+ this.announceState();
129
+ this.revealActive();
130
+ }
131
+ /** Native form-associated custom element callback. */
132
+ formDisabledCallback(disabled) {
133
+ this.formDisabled = disabled;
134
+ if (disabled)
135
+ this.open = false;
136
+ this.syncFormState();
137
+ }
138
+ /** Restores the initial value (and its label) when the containing form is reset. */
139
+ formResetCallback() {
140
+ this.hasInteracted = false;
141
+ this.focused = false;
142
+ this.value = this.initialValue;
143
+ this.queryEdited = false;
144
+ this.query = this.labelFor(this.value) ?? '';
145
+ this.open = false;
146
+ this.syncFormState();
147
+ }
148
+ /** Restores a value supplied by browser form-state restoration or autofill. */
149
+ formStateRestoreCallback(state, _mode) {
150
+ const restored = restoredText(state);
151
+ if (restored === undefined)
152
+ return;
153
+ this.hasInteracted = false;
154
+ this.value = restored;
155
+ this.syncQueryFromValue();
156
+ this.syncFormState();
157
+ }
158
+ /** Focuses the input without exposing the Shadow DOM implementation. */
159
+ async setFocus(options) {
160
+ this.inputElement?.focus(options);
161
+ }
162
+ optionsChanged() {
163
+ this.refreshItems();
164
+ this.activeValue = undefined;
165
+ this.syncQueryFromValue();
166
+ }
167
+ valueChanged() {
168
+ this.syncQueryFromValue();
169
+ }
170
+ resultsChanged() {
171
+ if (!this.writingFromInput)
172
+ this.queryEdited = false;
173
+ this.activeValue = undefined;
174
+ }
175
+ openChanged(open) {
176
+ if (open && !this.canOpen) {
177
+ this.open = false;
178
+ return;
179
+ }
180
+ if (!open)
181
+ return;
182
+ if (this.keepActive) {
183
+ this.keepActive = false;
184
+ return;
185
+ }
186
+ this.activeValue = this.value !== '' ? this.value : undefined;
187
+ }
188
+ handleInvalidEvent() {
189
+ this.hasInteracted = true;
190
+ }
191
+ get safeFilter() {
192
+ return isComboboxFilter(this.filter) ? this.filter : COMBOBOX_FILTER.contains;
193
+ }
194
+ get safeSize() {
195
+ return isComboboxSize(this.size) ? this.size : COMBOBOX_SIZE.medium;
196
+ }
197
+ get isDisabled() {
198
+ return this.disabled || this.formDisabled;
199
+ }
200
+ get canOpen() {
201
+ return !this.isDisabled && !this.readonly;
202
+ }
203
+ get isOpen() {
204
+ return this.open && this.canOpen;
205
+ }
206
+ get errorText() {
207
+ return this.error?.trim() || undefined;
208
+ }
209
+ get hintText() {
210
+ return this.hint?.trim() || undefined;
211
+ }
212
+ get hasCustomInvalidState() {
213
+ return this.invalid || Boolean(this.errorText);
214
+ }
215
+ get isInvalid() {
216
+ return (!this.isDisabled && (this.hasCustomInvalidState || (this.nativeInvalid && this.hasInteracted)));
217
+ }
218
+ get descriptionIds() {
219
+ return joinIdRefs(this.hintText ? this.hintId : undefined, this.errorText ? this.errorId : undefined);
220
+ }
221
+ get locale() {
222
+ const doc = this.host.ownerDocument;
223
+ const lang = this.host.closest('[lang]')?.getAttribute('lang') ?? doc.documentElement.getAttribute('lang');
224
+ return lang?.trim() || undefined;
225
+ }
226
+ get resultLabels() {
227
+ return {
228
+ results: this.resultsLabel,
229
+ oneResult: this.oneResultLabel,
230
+ noResults: this.noResultsLabel,
231
+ loading: this.loadingLabel,
232
+ };
233
+ }
234
+ /** The rendered options: the filter applied to the valid options. */
235
+ get visibleOptions() {
236
+ return filterOptions(this.items, this.filterText, this.safeFilter, this.locale);
237
+ }
238
+ /**
239
+ * CX-D3: the text the filter uses. While `query` is the selected option's label and the user has
240
+ * not edited it, it is empty, so the popup lists every option (the selected one is active).
241
+ */
242
+ get filterText() {
243
+ if (this.queryEdited || this.value === '')
244
+ return this.query;
245
+ return this.query === this.labelFor(this.value) ? '' : this.query;
246
+ }
247
+ /** The active option of `visible`: the remembered one when it is still enabled, else the first enabled. */
248
+ activeOf(visible) {
249
+ const enabled = visible.filter((option) => !option.disabled);
250
+ return enabled.find((option) => option.value === this.activeValue) ?? enabled[0];
251
+ }
252
+ optionId(index) {
253
+ return `${this.baseId}-option-${index}`;
254
+ }
255
+ refreshItems() {
256
+ const { options, dropped } = normalizeOptions(this.options);
257
+ this.items = options;
258
+ if (dropped > 0) {
259
+ warnOncePerDocument(this.host.ownerDocument, 'au-combobox:option', `[au-combobox] ${dropped} entr${dropped === 1 ? 'y' : 'ies'} of "options" ${dropped === 1 ? 'was' : 'were'} ignored: each option needs a string "value" and a non-blank "label".`);
260
+ }
261
+ }
262
+ labelFor(value) {
263
+ if (value === '')
264
+ return undefined;
265
+ const option = this.items.find((candidate) => candidate.value === value);
266
+ if (option)
267
+ return option.label;
268
+ return this.rememberedValue === value ? this.rememberedLabel : undefined;
269
+ }
270
+ /** CX-D4: while the input is not focused, the text follows the selected option's label. */
271
+ syncQueryFromValue() {
272
+ if (this.focused)
273
+ return;
274
+ const label = this.labelFor(this.value);
275
+ if (label !== undefined && this.query !== label)
276
+ this.query = label;
277
+ }
278
+ openPopup() {
279
+ if (!this.canOpen)
280
+ return;
281
+ this.open = true;
282
+ }
283
+ closePopup() {
284
+ if (this.open)
285
+ this.open = false;
286
+ }
287
+ commit(option) {
288
+ const changed = this.value !== option.value;
289
+ this.rememberedValue = option.value;
290
+ this.rememberedLabel = option.label;
291
+ this.hasInteracted = true;
292
+ this.value = option.value;
293
+ this.queryEdited = false;
294
+ this.query = option.label;
295
+ this.closePopup();
296
+ this.syncFormState();
297
+ if (changed)
298
+ dispatchHostChange(this.host);
299
+ }
300
+ clearSelection() {
301
+ this.queryEdited = false;
302
+ this.query = '';
303
+ if (this.value === '')
304
+ return;
305
+ this.value = '';
306
+ this.syncFormState();
307
+ dispatchHostChange(this.host);
308
+ }
309
+ /** CX-D5: an emptied input clears the value; any other text reverts to the selected label. */
310
+ settleText() {
311
+ this.queryEdited = false;
312
+ if (this.query.trim() === '') {
313
+ this.clearSelection();
314
+ return;
315
+ }
316
+ const label = this.labelFor(this.value);
317
+ this.query = label ?? (this.value === '' ? '' : this.textAtFocus);
318
+ }
319
+ moveActive(direction) {
320
+ const enabled = this.visibleOptions.filter((option) => !option.disabled);
321
+ if (enabled.length === 0)
322
+ return;
323
+ const current = enabled.findIndex((option) => option.value === this.activeOf(this.visibleOptions)?.value);
324
+ const next = current === -1
325
+ ? direction === 1
326
+ ? 0
327
+ : enabled.length - 1
328
+ : (current + direction + enabled.length) % enabled.length;
329
+ this.activeValue = enabled[next]?.value;
330
+ }
331
+ handleInput = (event) => {
332
+ const input = event.currentTarget;
333
+ this.hasInteracted = true;
334
+ this.writingFromInput = true;
335
+ this.query = input.value;
336
+ this.writingFromInput = false;
337
+ this.queryEdited = true;
338
+ this.openPopup();
339
+ };
340
+ handleKeyDown = (event) => {
341
+ if (event.key === 'Tab') {
342
+ this.closePopup();
343
+ return;
344
+ }
345
+ if (event.ctrlKey || event.metaKey || event.shiftKey)
346
+ return;
347
+ switch (event.key) {
348
+ case 'ArrowDown': {
349
+ if (!this.canOpen)
350
+ return;
351
+ event.preventDefault();
352
+ if (!this.isOpen)
353
+ this.openPopup();
354
+ else if (!event.altKey)
355
+ this.moveActive(1);
356
+ return;
357
+ }
358
+ case 'ArrowUp': {
359
+ if (!this.canOpen)
360
+ return;
361
+ event.preventDefault();
362
+ if (event.altKey) {
363
+ this.closePopup();
364
+ }
365
+ else if (!this.isOpen) {
366
+ const enabled = this.visibleOptions.filter((option) => !option.disabled);
367
+ this.activeValue = enabled.at(-1)?.value;
368
+ this.keepActive = true;
369
+ this.openPopup();
370
+ }
371
+ else {
372
+ this.moveActive(-1);
373
+ }
374
+ return;
375
+ }
376
+ case 'Enter': {
377
+ // An input the user emptied clears the selection, even while the popup lists every option.
378
+ if (this.query.trim() === '' && this.value !== '') {
379
+ if (this.isOpen)
380
+ event.preventDefault();
381
+ this.closePopup();
382
+ this.clearSelection();
383
+ return;
384
+ }
385
+ if (this.isOpen) {
386
+ event.preventDefault();
387
+ const active = this.activeOf(this.visibleOptions);
388
+ if (active)
389
+ this.commit(active);
390
+ else
391
+ this.closePopup();
392
+ }
393
+ return;
394
+ }
395
+ case 'Escape': {
396
+ if (!this.isOpen)
397
+ return;
398
+ // Prevented so that an enclosing modal dialog keeps its own Escape for the next press.
399
+ event.preventDefault();
400
+ this.closePopup();
401
+ return;
402
+ }
403
+ default:
404
+ }
405
+ };
406
+ handleFieldClick = (event) => {
407
+ if (!this.canOpen)
408
+ return;
409
+ if (event.target !== this.inputElement)
410
+ this.inputElement?.focus();
411
+ this.openPopup();
412
+ };
413
+ handleFocus = () => {
414
+ this.focused = true;
415
+ this.textAtFocus = this.query;
416
+ };
417
+ handleBlur = () => {
418
+ this.focused = false;
419
+ this.hasInteracted = true;
420
+ this.closePopup();
421
+ this.settleText();
422
+ this.syncFormState();
423
+ };
424
+ handlePopupPointerDown = (event) => {
425
+ // Keep the focus in the input, so a click on an option or the scrollbar does not blur it.
426
+ event.preventDefault();
427
+ };
428
+ handleDocumentPointerDown = (event) => {
429
+ if (event.composedPath().includes(this.host))
430
+ return;
431
+ this.closePopup();
432
+ };
433
+ syncDocumentListener() {
434
+ const doc = this.host.ownerDocument;
435
+ if (this.isOpen && !this.documentListening) {
436
+ doc.addEventListener('pointerdown', this.handleDocumentPointerDown, true);
437
+ this.documentListening = true;
438
+ }
439
+ else if (!this.isOpen) {
440
+ this.removeDocumentListener();
441
+ }
442
+ }
443
+ removeDocumentListener() {
444
+ if (!this.documentListening)
445
+ return;
446
+ this.host.ownerDocument.removeEventListener('pointerdown', this.handleDocumentPointerDown, true);
447
+ this.documentListening = false;
448
+ }
449
+ /**
450
+ * The input text is `query`, but the vdom only writes it when its last rendered value differs. A
451
+ * fast keystroke followed by a blur can change `query` back before a render ran, which would leave
452
+ * the typed text on screen, so the native value is reconciled after every render.
453
+ */
454
+ syncInputValue() {
455
+ const input = this.inputElement;
456
+ if (input && input.value !== this.query)
457
+ input.value = this.query;
458
+ }
459
+ /** CX-D10: show and hide the manual popover, anchored to the field, with the script fallback. */
460
+ syncPopup() {
461
+ const popup = this.popupElement;
462
+ if (!popup || !this.support.popover)
463
+ return;
464
+ const shouldShow = this.isOpen && this.host.isConnected;
465
+ if (shouldShow && !this.nativeOpen) {
466
+ try {
467
+ popup.showPopover(this.fieldElement ? { source: this.fieldElement } : {});
468
+ }
469
+ catch {
470
+ return;
471
+ }
472
+ this.nativeOpen = true;
473
+ this.startPositioning();
474
+ }
475
+ else if (!shouldShow && this.nativeOpen) {
476
+ this.nativeOpen = false;
477
+ this.positioner?.stop();
478
+ try {
479
+ popup.hidePopover();
480
+ }
481
+ catch {
482
+ // Already closed by the platform.
483
+ }
484
+ }
485
+ }
486
+ startPositioning() {
487
+ const popup = this.popupElement;
488
+ const field = this.fieldElement;
489
+ if (!popup || !field || this.support.anchor)
490
+ return;
491
+ popup.style.setProperty('--_au-min-size', `${field.getBoundingClientRect().width}px`);
492
+ this.positioner ??= new JsPositioner(popup, {
493
+ placement: () => 'bottom-start',
494
+ offsetProperty: '--aurora-combobox-popup-offset',
495
+ defaultOffset: '0.25rem',
496
+ });
497
+ this.positioner.start(field);
498
+ }
499
+ /** CX-D11: polite counts while open, the loading text while loading, nothing while closed. */
500
+ announceState() {
501
+ if (!this.isOpen) {
502
+ this.announced = undefined;
503
+ return;
504
+ }
505
+ const key = `au-combobox:${this.baseId}`;
506
+ const doc = this.host.ownerDocument;
507
+ if (this.loading) {
508
+ if (this.announced === 'loading')
509
+ return;
510
+ this.announced = 'loading';
511
+ announce(loadingText(this.resultLabels), { politeness: 'polite', key }, doc);
512
+ return;
513
+ }
514
+ const count = this.visibleOptions.length;
515
+ if (this.announced === count)
516
+ return;
517
+ this.announced = count;
518
+ announce(resultsText({ count, labels: this.resultLabels, locale: this.locale }), { politeness: 'polite', key }, doc);
519
+ }
520
+ /** CX-D7: the active option stays in view. */
521
+ revealActive() {
522
+ const active = this.activeOf(this.visibleOptions)?.value;
523
+ if (!this.isOpen) {
524
+ this.lastActive = undefined;
525
+ return;
526
+ }
527
+ if (active === this.lastActive)
528
+ return;
529
+ this.lastActive = active;
530
+ const id = this.inputElement?.getAttribute('aria-activedescendant');
531
+ const element = id ? this.host.shadowRoot?.getElementById(id) : null;
532
+ if (element && typeof element.scrollIntoView === 'function') {
533
+ element.scrollIntoView({ block: 'nearest' });
534
+ }
535
+ }
536
+ syncFormState() {
537
+ const errorText = this.errorText;
538
+ const hasValue = this.value !== '';
539
+ const { nativeInvalid } = this.formControl.sync({
540
+ value: hasValue ? this.value : null,
541
+ disabled: this.isDisabled,
542
+ barred: this.readonly,
543
+ customInvalid: this.hasCustomInvalidState,
544
+ ...(errorText !== undefined && { error: errorText }),
545
+ ...(this.invalidMessage !== undefined && { invalidMessage: this.invalidMessage }),
546
+ computed: {
547
+ flags: requiredSelectionFlags(this.required, hasValue),
548
+ ...(this.inputElement && { anchor: this.inputElement }),
549
+ },
550
+ });
551
+ if (nativeInvalid !== undefined)
552
+ this.nativeInvalid = nativeInvalid;
553
+ }
554
+ renderOption(option, index, active) {
555
+ const isActive = active?.value === option.value;
556
+ const isSelected = this.value !== '' && option.value === this.value;
557
+ const parts = ['option', isActive && 'active', isSelected && 'selected']
558
+ .filter(Boolean)
559
+ .join(' ');
560
+ return (h("div", { key: option.value, id: this.optionId(index), class: {
561
+ combobox__option: true,
562
+ 'combobox__option--active': isActive,
563
+ 'combobox__option--selected': isSelected,
564
+ 'combobox__option--disabled': Boolean(option.disabled),
565
+ }, part: parts, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": option.disabled ? 'true' : undefined, "data-active": isActive ? '' : undefined, onClick: () => {
566
+ if (!option.disabled)
567
+ this.commit(option);
568
+ } }, h("span", { class: "combobox__option-label", part: "option-label" }, option.label), option.description ? (h("span", { class: "combobox__option-description", part: "option-description" }, option.description)) : null));
569
+ }
570
+ render() {
571
+ const labelText = this.label?.trim();
572
+ const hintText = this.hintText;
573
+ const errorText = this.errorText;
574
+ const disabled = this.isDisabled;
575
+ const isOpen = this.isOpen;
576
+ const visible = this.visibleOptions;
577
+ const active = isOpen ? this.activeOf(visible) : undefined;
578
+ const activeIndex = active ? visible.findIndex((option) => option.value === active.value) : -1;
579
+ const ariaName = !labelText ? this.ariaLabel?.trim() || undefined : undefined;
580
+ const statusText = this.loading
581
+ ? loadingText(this.resultLabels)
582
+ : visible.length === 0
583
+ ? resultsText({ count: 0, labels: this.resultLabels, locale: this.locale })
584
+ : '';
585
+ const inputAttributes = omitUndefinedAttributes({
586
+ 'aria-label': ariaName,
587
+ 'aria-invalid': this.isInvalid ? 'true' : undefined,
588
+ 'aria-describedby': this.descriptionIds,
589
+ 'aria-required': this.required ? 'true' : undefined,
590
+ 'aria-activedescendant': activeIndex >= 0 ? this.optionId(activeIndex) : undefined,
591
+ placeholder: this.placeholder,
592
+ });
593
+ return (h(Host, { key: '29821c887fa6f83d77f7776d5520babed29b5461', class: {
594
+ 'combobox-host--disabled': disabled,
595
+ 'combobox-host--invalid': this.isInvalid,
596
+ } }, h("div", { key: '1379a9516f09edd43d99a22e84f2f708ee6239e0', class: {
597
+ combobox: true,
598
+ [`combobox--${this.safeSize}`]: true,
599
+ 'combobox--disabled': disabled,
600
+ 'combobox--focused': this.focused,
601
+ 'combobox--invalid': this.isInvalid,
602
+ 'combobox--open': isOpen,
603
+ } }, labelText ? (h("label", { class: "combobox__label", part: "label", id: this.labelId, htmlFor: this.inputId }, h("span", null, labelText), this.required ? (h("span", { class: "combobox__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'd7d9da7c5a7d5c659039ddabf05a299c58ab3bc9', class: "combobox__field", part: "field", ref: (element) => {
604
+ this.fieldElement = element;
605
+ }, onClick: this.handleFieldClick }, h("input", { key: 'bc183465ee678698b368d34ba829baf2fdc9bf07', ref: (element) => {
606
+ this.inputElement = element;
607
+ syncSpellcheckAttribute(element, false);
608
+ }, id: this.inputId, class: "combobox__input", part: "input", type: "text", role: "combobox", "aria-expanded": isOpen ? 'true' : 'false', "aria-controls": this.listboxId, "aria-autocomplete": "list", autocomplete: "off", disabled: disabled, readOnly: this.readonly, value: this.query, ...inputAttributes, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("span", { key: 'a3020e82fe574266bbe2ec0dac7b71981f9fb146', class: "combobox__chevron", part: "chevron", "aria-hidden": "true" })), h("div", { key: '3e72774caa04f7ba7c72ea3eec16871a127dd949', class: "combobox__popup", part: "popup", popover: "manual", hidden: !this.support.popover && !isOpen, ref: (element) => {
609
+ this.popupElement = element;
610
+ }, onPointerDown: this.handlePopupPointerDown }, h("div", { key: '20482a4b40b7d51505a5fa8a634df6a51bd40513', class: "combobox__listbox", part: "listbox", id: this.listboxId, role: "listbox", "aria-labelledby": labelText ? this.labelId : undefined, "aria-label": ariaName, "aria-busy": this.loading ? 'true' : undefined }, visible.map((option, index) => this.renderOption(option, index, active))), h("div", { key: 'afd9339131570e1c26513b9cb97f41293823a8a7', class: "combobox__status", part: "status" }, statusText)), hintText ? (h("p", { class: "combobox__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "combobox__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
611
+ }
612
+ static get is() { return "au-combobox"; }
613
+ static get encapsulation() { return "shadow"; }
614
+ static get formAssociated() { return true; }
615
+ static get originalStyleUrls() {
616
+ return {
617
+ "$": ["au-combobox.scss"]
618
+ };
619
+ }
620
+ static get styleUrls() {
621
+ return {
622
+ "$": ["au-combobox.css"]
623
+ };
624
+ }
625
+ static get properties() {
626
+ return {
627
+ "name": {
628
+ "type": "string",
629
+ "mutable": false,
630
+ "complexType": {
631
+ "original": "string",
632
+ "resolved": "string | undefined",
633
+ "references": {}
634
+ },
635
+ "required": false,
636
+ "optional": true,
637
+ "docs": {
638
+ "tags": [],
639
+ "text": "Form field name. The host participates in the surrounding form."
640
+ },
641
+ "getter": false,
642
+ "setter": false,
643
+ "reflect": true,
644
+ "attribute": "name"
645
+ },
646
+ "form": {
647
+ "type": "string",
648
+ "mutable": false,
649
+ "complexType": {
650
+ "original": "string",
651
+ "resolved": "string | undefined",
652
+ "references": {}
653
+ },
654
+ "required": false,
655
+ "optional": true,
656
+ "docs": {
657
+ "tags": [],
658
+ "text": "Associates this form control with a form by ID when it is not nested inside that form."
659
+ },
660
+ "getter": false,
661
+ "setter": false,
662
+ "reflect": true,
663
+ "attribute": "form"
664
+ },
665
+ "label": {
666
+ "type": "string",
667
+ "mutable": false,
668
+ "complexType": {
669
+ "original": "string",
670
+ "resolved": "string | undefined",
671
+ "references": {}
672
+ },
673
+ "required": false,
674
+ "optional": true,
675
+ "docs": {
676
+ "tags": [],
677
+ "text": "Visible label, a native `<label for>` in this component's Shadow DOM."
678
+ },
679
+ "getter": false,
680
+ "setter": false,
681
+ "reflect": false,
682
+ "attribute": "label"
683
+ },
684
+ "placeholder": {
685
+ "type": "string",
686
+ "mutable": false,
687
+ "complexType": {
688
+ "original": "string",
689
+ "resolved": "string | undefined",
690
+ "references": {}
691
+ },
692
+ "required": false,
693
+ "optional": true,
694
+ "docs": {
695
+ "tags": [],
696
+ "text": "Placeholder of the input."
697
+ },
698
+ "getter": false,
699
+ "setter": false,
700
+ "reflect": false,
701
+ "attribute": "placeholder"
702
+ },
703
+ "value": {
704
+ "type": "string",
705
+ "mutable": true,
706
+ "complexType": {
707
+ "original": "string",
708
+ "resolved": "string",
709
+ "references": {}
710
+ },
711
+ "required": false,
712
+ "optional": false,
713
+ "docs": {
714
+ "tags": [],
715
+ "text": "The `value` of the selected option. `''` means no selection. It is never normalized against `options`."
716
+ },
717
+ "getter": false,
718
+ "setter": false,
719
+ "reflect": false,
720
+ "attribute": "value",
721
+ "defaultValue": "''"
722
+ },
723
+ "query": {
724
+ "type": "string",
725
+ "mutable": true,
726
+ "complexType": {
727
+ "original": "string",
728
+ "resolved": "string",
729
+ "references": {}
730
+ },
731
+ "required": false,
732
+ "optional": false,
733
+ "docs": {
734
+ "tags": [],
735
+ "text": "The text in the input."
736
+ },
737
+ "getter": false,
738
+ "setter": false,
739
+ "reflect": false,
740
+ "attribute": "query",
741
+ "defaultValue": "''"
742
+ },
743
+ "options": {
744
+ "type": "unknown",
745
+ "mutable": false,
746
+ "complexType": {
747
+ "original": "ComboboxOption[]",
748
+ "resolved": "ComboboxOption[]",
749
+ "references": {
750
+ "ComboboxOption": {
751
+ "location": "import",
752
+ "path": "./au-combobox.types",
753
+ "id": "src/components/forms/au-combobox/au-combobox.types.ts::ComboboxOption",
754
+ "referenceLocation": "ComboboxOption"
755
+ }
756
+ }
757
+ },
758
+ "required": false,
759
+ "optional": false,
760
+ "docs": {
761
+ "tags": [],
762
+ "text": "JS only. The options to list. Set a new array to re-render (a mutated array is not observed)."
763
+ },
764
+ "getter": false,
765
+ "setter": false,
766
+ "defaultValue": "[]"
767
+ },
768
+ "filter": {
769
+ "type": "string",
770
+ "mutable": false,
771
+ "complexType": {
772
+ "original": "ComboboxFilter",
773
+ "resolved": "\"contains\" | \"none\" | \"starts-with\"",
774
+ "references": {
775
+ "ComboboxFilter": {
776
+ "location": "import",
777
+ "path": "./au-combobox.constants",
778
+ "id": "src/components/forms/au-combobox/au-combobox.constants.ts::ComboboxFilter",
779
+ "referenceLocation": "ComboboxFilter"
780
+ }
781
+ }
782
+ },
783
+ "required": false,
784
+ "optional": false,
785
+ "docs": {
786
+ "tags": [],
787
+ "text": "How `query` filters the options. An invalid value falls back to `contains`."
788
+ },
789
+ "getter": false,
790
+ "setter": false,
791
+ "reflect": true,
792
+ "attribute": "filter",
793
+ "defaultValue": "'contains'"
794
+ },
795
+ "open": {
796
+ "type": "boolean",
797
+ "mutable": true,
798
+ "complexType": {
799
+ "original": "boolean",
800
+ "resolved": "boolean",
801
+ "references": {}
802
+ },
803
+ "required": false,
804
+ "optional": false,
805
+ "docs": {
806
+ "tags": [],
807
+ "text": "Whether the popup is open. Setting it opens or closes the popup and dispatches nothing."
808
+ },
809
+ "getter": false,
810
+ "setter": false,
811
+ "reflect": true,
812
+ "attribute": "open",
813
+ "defaultValue": "false"
814
+ },
815
+ "loading": {
816
+ "type": "boolean",
817
+ "mutable": false,
818
+ "complexType": {
819
+ "original": "boolean",
820
+ "resolved": "boolean",
821
+ "references": {}
822
+ },
823
+ "required": false,
824
+ "optional": false,
825
+ "docs": {
826
+ "tags": [],
827
+ "text": "Marks the listbox busy and shows the loading text."
828
+ },
829
+ "getter": false,
830
+ "setter": false,
831
+ "reflect": true,
832
+ "attribute": "loading",
833
+ "defaultValue": "false"
834
+ },
835
+ "required": {
836
+ "type": "boolean",
837
+ "mutable": false,
838
+ "complexType": {
839
+ "original": "boolean",
840
+ "resolved": "boolean",
841
+ "references": {}
842
+ },
843
+ "required": false,
844
+ "optional": false,
845
+ "docs": {
846
+ "tags": [],
847
+ "text": "A selection is required: an empty value is a constraint violation."
848
+ },
849
+ "getter": false,
850
+ "setter": false,
851
+ "reflect": true,
852
+ "attribute": "required",
853
+ "defaultValue": "false"
854
+ },
855
+ "disabled": {
856
+ "type": "boolean",
857
+ "mutable": false,
858
+ "complexType": {
859
+ "original": "boolean",
860
+ "resolved": "boolean",
861
+ "references": {}
862
+ },
863
+ "required": false,
864
+ "optional": false,
865
+ "docs": {
866
+ "tags": [],
867
+ "text": "Disables the control and excludes it from form submission."
868
+ },
869
+ "getter": false,
870
+ "setter": false,
871
+ "reflect": true,
872
+ "attribute": "disabled",
873
+ "defaultValue": "false"
874
+ },
875
+ "readonly": {
876
+ "type": "boolean",
877
+ "mutable": false,
878
+ "complexType": {
879
+ "original": "boolean",
880
+ "resolved": "boolean",
881
+ "references": {}
882
+ },
883
+ "required": false,
884
+ "optional": false,
885
+ "docs": {
886
+ "tags": [],
887
+ "text": "The input cannot be edited and the popup never opens."
888
+ },
889
+ "getter": false,
890
+ "setter": false,
891
+ "reflect": true,
892
+ "attribute": "readonly",
893
+ "defaultValue": "false"
894
+ },
895
+ "invalid": {
896
+ "type": "boolean",
897
+ "mutable": false,
898
+ "complexType": {
899
+ "original": "boolean",
900
+ "resolved": "boolean",
901
+ "references": {}
902
+ },
903
+ "required": false,
904
+ "optional": false,
905
+ "docs": {
906
+ "tags": [],
907
+ "text": "Exposes an invalid state even when the selection is valid."
908
+ },
909
+ "getter": false,
910
+ "setter": false,
911
+ "reflect": true,
912
+ "attribute": "invalid",
913
+ "defaultValue": "false"
914
+ },
915
+ "hint": {
916
+ "type": "string",
917
+ "mutable": false,
918
+ "complexType": {
919
+ "original": "string",
920
+ "resolved": "string | undefined",
921
+ "references": {}
922
+ },
923
+ "required": false,
924
+ "optional": true,
925
+ "docs": {
926
+ "tags": [],
927
+ "text": "Supporting text displayed below the control."
928
+ },
929
+ "getter": false,
930
+ "setter": false,
931
+ "reflect": false,
932
+ "attribute": "hint"
933
+ },
934
+ "error": {
935
+ "type": "string",
936
+ "mutable": false,
937
+ "complexType": {
938
+ "original": "string",
939
+ "resolved": "string | undefined",
940
+ "references": {}
941
+ },
942
+ "required": false,
943
+ "optional": true,
944
+ "docs": {
945
+ "tags": [],
946
+ "text": "Error text displayed below the control and exposed to assistive technology."
947
+ },
948
+ "getter": false,
949
+ "setter": false,
950
+ "reflect": false,
951
+ "attribute": "error"
952
+ },
953
+ "invalidMessage": {
954
+ "type": "string",
955
+ "mutable": false,
956
+ "complexType": {
957
+ "original": "string",
958
+ "resolved": "string | undefined",
959
+ "references": {}
960
+ },
961
+ "required": false,
962
+ "optional": true,
963
+ "docs": {
964
+ "tags": [],
965
+ "text": "Fallback message for the custom invalid state, exposed through constraint validation only.\nIt is not rendered; use `error` for visible text."
966
+ },
967
+ "getter": false,
968
+ "setter": false,
969
+ "reflect": false,
970
+ "attribute": "invalid-message"
971
+ },
972
+ "ariaLabel": {
973
+ "type": "string",
974
+ "mutable": false,
975
+ "complexType": {
976
+ "original": "string",
977
+ "resolved": "string | undefined",
978
+ "references": {}
979
+ },
980
+ "required": false,
981
+ "optional": true,
982
+ "docs": {
983
+ "tags": [],
984
+ "text": "Accessible name used when no visible label is provided."
985
+ },
986
+ "getter": false,
987
+ "setter": false,
988
+ "reflect": false,
989
+ "attribute": "aria-label"
990
+ },
991
+ "resultsLabel": {
992
+ "type": "string",
993
+ "mutable": false,
994
+ "complexType": {
995
+ "original": "string",
996
+ "resolved": "string | undefined",
997
+ "references": {}
998
+ },
999
+ "required": false,
1000
+ "optional": true,
1001
+ "docs": {
1002
+ "tags": [],
1003
+ "text": "Announced count for several results. `{count}` is replaced by the localized number."
1004
+ },
1005
+ "getter": false,
1006
+ "setter": false,
1007
+ "reflect": false,
1008
+ "attribute": "results-label"
1009
+ },
1010
+ "oneResultLabel": {
1011
+ "type": "string",
1012
+ "mutable": false,
1013
+ "complexType": {
1014
+ "original": "string",
1015
+ "resolved": "string | undefined",
1016
+ "references": {}
1017
+ },
1018
+ "required": false,
1019
+ "optional": true,
1020
+ "docs": {
1021
+ "tags": [],
1022
+ "text": "Announced count for exactly one result."
1023
+ },
1024
+ "getter": false,
1025
+ "setter": false,
1026
+ "reflect": false,
1027
+ "attribute": "one-result-label"
1028
+ },
1029
+ "noResultsLabel": {
1030
+ "type": "string",
1031
+ "mutable": false,
1032
+ "complexType": {
1033
+ "original": "string",
1034
+ "resolved": "string | undefined",
1035
+ "references": {}
1036
+ },
1037
+ "required": false,
1038
+ "optional": true,
1039
+ "docs": {
1040
+ "tags": [],
1041
+ "text": "Shown and announced when no option matches."
1042
+ },
1043
+ "getter": false,
1044
+ "setter": false,
1045
+ "reflect": false,
1046
+ "attribute": "no-results-label"
1047
+ },
1048
+ "loadingLabel": {
1049
+ "type": "string",
1050
+ "mutable": false,
1051
+ "complexType": {
1052
+ "original": "string",
1053
+ "resolved": "string | undefined",
1054
+ "references": {}
1055
+ },
1056
+ "required": false,
1057
+ "optional": true,
1058
+ "docs": {
1059
+ "tags": [],
1060
+ "text": "Shown and announced while `loading` is true."
1061
+ },
1062
+ "getter": false,
1063
+ "setter": false,
1064
+ "reflect": false,
1065
+ "attribute": "loading-label"
1066
+ },
1067
+ "size": {
1068
+ "type": "string",
1069
+ "mutable": false,
1070
+ "complexType": {
1071
+ "original": "ComboboxSize",
1072
+ "resolved": "\"large\" | \"medium\" | \"small\"",
1073
+ "references": {
1074
+ "ComboboxSize": {
1075
+ "location": "import",
1076
+ "path": "./au-combobox.constants",
1077
+ "id": "src/components/forms/au-combobox/au-combobox.constants.ts::ComboboxSize",
1078
+ "referenceLocation": "ComboboxSize"
1079
+ }
1080
+ }
1081
+ },
1082
+ "required": false,
1083
+ "optional": false,
1084
+ "docs": {
1085
+ "tags": [],
1086
+ "text": "Control density. Unknown values fall back to `medium`."
1087
+ },
1088
+ "getter": false,
1089
+ "setter": false,
1090
+ "reflect": true,
1091
+ "attribute": "size",
1092
+ "defaultValue": "'medium'"
1093
+ }
1094
+ };
1095
+ }
1096
+ static get states() {
1097
+ return {
1098
+ "items": {},
1099
+ "activeValue": {},
1100
+ "formDisabled": {},
1101
+ "focused": {},
1102
+ "nativeInvalid": {},
1103
+ "hasInteracted": {},
1104
+ "queryEdited": {}
1105
+ };
1106
+ }
1107
+ static get methods() {
1108
+ return {
1109
+ "setFocus": {
1110
+ "complexType": {
1111
+ "signature": "(options?: FocusOptions) => Promise<void>",
1112
+ "parameters": [{
1113
+ "name": "options",
1114
+ "type": "FocusOptions | undefined",
1115
+ "docs": ""
1116
+ }],
1117
+ "references": {
1118
+ "Promise": {
1119
+ "location": "global",
1120
+ "id": "global::Promise"
1121
+ },
1122
+ "FocusOptions": {
1123
+ "location": "global",
1124
+ "id": "global::FocusOptions"
1125
+ }
1126
+ },
1127
+ "return": "Promise<void>"
1128
+ },
1129
+ "docs": {
1130
+ "text": "Focuses the input without exposing the Shadow DOM implementation.",
1131
+ "tags": []
1132
+ }
1133
+ }
1134
+ };
1135
+ }
1136
+ static get elementRef() { return "host"; }
1137
+ static get watchers() {
1138
+ return [{
1139
+ "propName": "options",
1140
+ "methodName": "optionsChanged"
1141
+ }, {
1142
+ "propName": "value",
1143
+ "methodName": "valueChanged"
1144
+ }, {
1145
+ "propName": "query",
1146
+ "methodName": "resultsChanged"
1147
+ }, {
1148
+ "propName": "filter",
1149
+ "methodName": "resultsChanged"
1150
+ }, {
1151
+ "propName": "open",
1152
+ "methodName": "openChanged"
1153
+ }];
1154
+ }
1155
+ static get listeners() {
1156
+ return [{
1157
+ "name": "invalid",
1158
+ "method": "handleInvalidEvent",
1159
+ "target": undefined,
1160
+ "capture": false,
1161
+ "passive": false
1162
+ }];
1163
+ }
1164
+ static get attachInternalsMemberName() { return "internals"; }
1165
+ }