@re-code/aurora 0.2.0 → 0.3.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 (320) hide show
  1. package/README.md +1 -1
  2. package/dist/aurora/aurora.esm.js +1 -1
  3. package/dist/aurora/{p-8ed72e5b.entry.js → p-01ff4d34.entry.js} +1 -1
  4. package/dist/aurora/{p-c3668073.entry.js → p-0554ffea.entry.js} +1 -1
  5. package/dist/aurora/{p-278d3434.entry.js → p-0a0a2bfe.entry.js} +1 -1
  6. package/dist/aurora/{p-e1c97234.entry.js → p-0a7e9e8e.entry.js} +1 -1
  7. package/dist/aurora/{p-c330982c.entry.js → p-1670a9bd.entry.js} +1 -1
  8. package/dist/aurora/{p-efd60427.entry.js → p-17c6de2c.entry.js} +1 -1
  9. package/dist/aurora/{p-a87dc1d3.entry.js → p-24ff90e0.entry.js} +1 -1
  10. package/dist/aurora/p-27da7b8a.entry.js +1 -0
  11. package/dist/aurora/p-380d8ebe.entry.js +1 -0
  12. package/dist/aurora/{p-a1e257c7.entry.js → p-3cfccef1.entry.js} +1 -1
  13. package/dist/aurora/{p-e72126a2.entry.js → p-4fd71d14.entry.js} +1 -1
  14. package/dist/aurora/{p-89b66c7a.entry.js → p-5606ed9c.entry.js} +1 -1
  15. package/dist/aurora/p-56fc4315.entry.js +1 -0
  16. package/dist/aurora/{p-685b9e53.entry.js → p-5a027df1.entry.js} +1 -1
  17. package/dist/aurora/{p-487df7d8.entry.js → p-5dd73182.entry.js} +1 -1
  18. package/dist/aurora/{p-17e65032.entry.js → p-62d79933.entry.js} +1 -1
  19. package/dist/aurora/p-6a1363da.entry.js +1 -0
  20. package/dist/aurora/{p-fd4e9cdd.entry.js → p-6e9c8e27.entry.js} +1 -1
  21. package/dist/aurora/{p-31a86367.entry.js → p-742abb2c.entry.js} +1 -1
  22. package/dist/aurora/{p-40bb52c3.entry.js → p-7a9bc20f.entry.js} +1 -1
  23. package/dist/aurora/{p-35edd036.entry.js → p-7cc6bb71.entry.js} +1 -1
  24. package/dist/aurora/{p-689f37db.entry.js → p-7fa0ee48.entry.js} +1 -1
  25. package/dist/aurora/{p-ee2ea46e.entry.js → p-815611f9.entry.js} +1 -1
  26. package/dist/aurora/{p-a8e984e1.entry.js → p-8800c466.entry.js} +1 -1
  27. package/dist/aurora/{p-5d2a88ca.entry.js → p-9e9377b5.entry.js} +1 -1
  28. package/dist/aurora/p-DMeUBbqF.js +7 -0
  29. package/dist/aurora/{p-DXbj-yic.js → p-DNpzZvak.js} +1 -1
  30. package/dist/aurora/p-DjW6oMgu.js +7 -0
  31. package/dist/aurora/{p-DzNA1eDU.js → p-DqAwSryz.js} +1 -1
  32. package/dist/aurora/p-NvNa2Iiu.js +1 -0
  33. package/dist/aurora/p-a376a248.entry.js +1 -0
  34. package/dist/aurora/{p-0608e910.entry.js → p-a63d1f80.entry.js} +1 -1
  35. package/dist/aurora/p-b0ebcc51.entry.js +1 -0
  36. package/dist/aurora/p-be98a1d7.entry.js +1 -0
  37. package/dist/aurora/{p-ed998b0c.entry.js → p-bf922703.entry.js} +1 -1
  38. package/dist/aurora/{p-ee4475a6.entry.js → p-c1422894.entry.js} +1 -1
  39. package/dist/aurora/{p-372a3416.entry.js → p-c2164ffe.entry.js} +1 -1
  40. package/dist/aurora/{p-2a16d544.entry.js → p-cb63ca43.entry.js} +1 -1
  41. package/dist/aurora/p-cc1015fe.entry.js +1 -0
  42. package/dist/aurora/{p-88b72de7.entry.js → p-cf16464e.entry.js} +1 -1
  43. package/dist/aurora/p-cfa0166b.entry.js +1 -0
  44. package/dist/aurora/{p-e7c81a6b.entry.js → p-d85e1d60.entry.js} +1 -1
  45. package/dist/aurora/{p-64229ad2.entry.js → p-f176be8b.entry.js} +1 -1
  46. package/dist/aurora/{p-bd1f6486.entry.js → p-f3383f3c.entry.js} +1 -1
  47. package/dist/aurora/p-f5d3aefa.entry.js +1 -0
  48. package/dist/aurora/{p-038b2190.entry.js → p-f85687a5.entry.js} +1 -1
  49. package/dist/aurora/{p-546a2f69.entry.js → p-fe143404.entry.js} +1 -1
  50. package/dist/cjs/au-alert.cjs.entry.js +1 -1
  51. package/dist/cjs/au-breadcrumb-item.cjs.entry.js +1 -1
  52. package/dist/cjs/au-breadcrumb.cjs.entry.js +1 -1
  53. package/dist/cjs/au-checkbox.cjs.entry.js +4 -4
  54. package/dist/cjs/au-combobox.cjs.entry.js +6 -6
  55. package/dist/cjs/au-container.cjs.entry.js +1 -1
  56. package/dist/cjs/au-dialog.cjs.entry.js +4 -4
  57. package/dist/cjs/au-divider.cjs.entry.js +1 -1
  58. package/dist/cjs/au-field.cjs.entry.js +1 -1
  59. package/dist/cjs/{au-icon-D0L9Wwy0.js → au-icon-0-khGfX2.js} +1 -1
  60. package/dist/cjs/au-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/au-input.cjs.entry.js +6 -6
  62. package/dist/cjs/au-kbd.cjs.entry.js +355 -0
  63. package/dist/cjs/au-list-item.cjs.entry.js +195 -0
  64. package/dist/cjs/au-list.cjs.entry.js +78 -0
  65. package/dist/cjs/au-menu-item.cjs.entry.js +1 -1
  66. package/dist/cjs/au-menu.cjs.entry.js +1 -1
  67. package/dist/cjs/au-nav-link.cjs.entry.js +1 -1
  68. package/dist/cjs/au-navbar.cjs.entry.js +4 -4
  69. package/dist/cjs/au-number-input.cjs.entry.js +4 -4
  70. package/dist/cjs/au-popover.cjs.entry.js +1 -1
  71. package/dist/cjs/au-progress.cjs.entry.js +107 -0
  72. package/dist/cjs/au-radio-group.cjs.entry.js +3 -3
  73. package/dist/cjs/au-radio.cjs.entry.js +1 -1
  74. package/dist/cjs/au-segmented-control.cjs.entry.js +3 -3
  75. package/dist/cjs/au-segmented-option.cjs.entry.js +1 -1
  76. package/dist/cjs/au-select.cjs.entry.js +4 -4
  77. package/dist/cjs/au-sidebar-nav.cjs.entry.js +1 -1
  78. package/dist/cjs/au-skeleton.cjs.entry.js +106 -0
  79. package/dist/cjs/au-slider.cjs.entry.js +3 -3
  80. package/dist/cjs/au-splitter.cjs.entry.js +2 -2
  81. package/dist/cjs/au-stat.cjs.entry.js +262 -0
  82. package/dist/cjs/au-switch.cjs.entry.js +4 -4
  83. package/dist/cjs/au-tab-panel.cjs.entry.js +1 -1
  84. package/dist/cjs/au-tab.cjs.entry.js +1 -1
  85. package/dist/cjs/au-table.cjs.entry.js +337 -0
  86. package/dist/cjs/au-tabs.cjs.entry.js +4 -4
  87. package/dist/cjs/au-textarea.cjs.entry.js +3 -3
  88. package/dist/cjs/au-toast-region.cjs.entry.js +1 -1
  89. package/dist/cjs/au-toast.cjs.entry.js +1 -1
  90. package/dist/cjs/au-toc.cjs.entry.js +1 -1
  91. package/dist/cjs/au-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/aurora.cjs.js +1 -1
  93. package/dist/cjs/{icon-loader-DyRasOnf.js → icon-loader-Dij7pYkP.js} +3 -1
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/trending-down-BKjmYE1H.js +19 -0
  96. package/dist/cjs/trending-up-CoWuXxqz.js +19 -0
  97. package/dist/collection/collection-manifest.json +7 -0
  98. package/dist/collection/components/data-display/au-kbd/au-kbd.constants.js +85 -0
  99. package/dist/collection/components/data-display/au-kbd/au-kbd.css +98 -0
  100. package/dist/collection/components/data-display/au-kbd/au-kbd.js +189 -0
  101. package/dist/collection/components/data-display/au-kbd/au-kbd.types.js +1 -0
  102. package/dist/collection/components/data-display/au-kbd/index.js +2 -0
  103. package/dist/collection/components/data-display/au-kbd/internal/describe.js +67 -0
  104. package/dist/collection/components/data-display/au-kbd/internal/parse.js +85 -0
  105. package/dist/collection/components/data-display/au-kbd/internal/platform.js +19 -0
  106. package/dist/collection/components/data-display/au-list/au-list.constants.js +8 -0
  107. package/dist/collection/components/data-display/au-list/au-list.css +30 -0
  108. package/dist/collection/components/data-display/au-list/au-list.js +132 -0
  109. package/dist/collection/components/data-display/au-list/au-list.types.js +1 -0
  110. package/dist/collection/components/data-display/au-list/index.js +2 -0
  111. package/dist/collection/components/data-display/au-list-item/au-list-item.css +196 -0
  112. package/dist/collection/components/data-display/au-list-item/au-list-item.js +305 -0
  113. package/dist/collection/components/data-display/au-list-item/index.js +1 -0
  114. package/dist/collection/components/data-display/au-list-item/internal/interactive-content.js +29 -0
  115. package/dist/collection/components/data-display/au-stat/au-stat.constants.js +44 -0
  116. package/dist/collection/components/data-display/au-stat/au-stat.css +139 -0
  117. package/dist/collection/components/data-display/au-stat/au-stat.js +491 -0
  118. package/dist/collection/components/data-display/au-stat/au-stat.types.js +1 -0
  119. package/dist/collection/components/data-display/au-stat/index.js +2 -0
  120. package/dist/collection/components/data-display/au-stat/internal/announcement.js +13 -0
  121. package/dist/collection/components/data-display/au-table/au-table.constants.js +21 -0
  122. package/dist/collection/components/data-display/au-table/au-table.css +20 -0
  123. package/dist/collection/components/data-display/au-table/au-table.js +482 -0
  124. package/dist/collection/components/data-display/au-table/au-table.types.js +1 -0
  125. package/dist/collection/components/data-display/au-table/index.js +2 -0
  126. package/dist/collection/components/data-display/au-table/internal/scroller-label.js +11 -0
  127. package/dist/collection/components/data-display/au-table/internal/sort.js +17 -0
  128. package/dist/collection/components/feedback/au-alert/au-alert.js +1 -1
  129. package/dist/collection/components/feedback/au-progress/au-progress.constants.js +38 -0
  130. package/dist/collection/components/feedback/au-progress/au-progress.css +201 -0
  131. package/dist/collection/components/feedback/au-progress/au-progress.js +226 -0
  132. package/dist/collection/components/feedback/au-progress/au-progress.types.js +1 -0
  133. package/dist/collection/components/feedback/au-progress/index.js +2 -0
  134. package/dist/collection/components/feedback/au-skeleton/au-skeleton.constants.js +33 -0
  135. package/dist/collection/components/feedback/au-skeleton/au-skeleton.css +108 -0
  136. package/dist/collection/components/feedback/au-skeleton/au-skeleton.js +159 -0
  137. package/dist/collection/components/feedback/au-skeleton/au-skeleton.types.js +1 -0
  138. package/dist/collection/components/feedback/au-skeleton/index.js +2 -0
  139. package/dist/collection/components/feedback/au-toast/au-toast.js +1 -1
  140. package/dist/collection/components/feedback/au-toast-region/au-toast-region.js +1 -1
  141. package/dist/collection/components/forms/au-checkbox/au-checkbox.js +4 -4
  142. package/dist/collection/components/forms/au-combobox/au-combobox.js +6 -6
  143. package/dist/collection/components/forms/au-field/au-field.js +1 -1
  144. package/dist/collection/components/forms/au-input/au-input.js +6 -6
  145. package/dist/collection/components/forms/au-number-input/au-number-input.js +4 -4
  146. package/dist/collection/components/forms/au-radio/au-radio.js +1 -1
  147. package/dist/collection/components/forms/au-radio-group/au-radio-group.js +3 -3
  148. package/dist/collection/components/forms/au-segmented-control/au-segmented-control.js +3 -3
  149. package/dist/collection/components/forms/au-segmented-option/au-segmented-option.js +1 -1
  150. package/dist/collection/components/forms/au-select/au-select.js +4 -4
  151. package/dist/collection/components/forms/au-slider/au-slider.js +3 -3
  152. package/dist/collection/components/forms/au-switch/au-switch.js +4 -4
  153. package/dist/collection/components/forms/au-textarea/au-textarea.js +3 -3
  154. package/dist/collection/components/layout/au-container/au-container.js +1 -1
  155. package/dist/collection/components/layout/au-divider/au-divider.js +1 -1
  156. package/dist/collection/components/layout/au-splitter/au-splitter.js +2 -2
  157. package/dist/collection/components/navigation/au-breadcrumb/au-breadcrumb.js +1 -1
  158. package/dist/collection/components/navigation/au-breadcrumb-item/au-breadcrumb-item.js +1 -1
  159. package/dist/collection/components/navigation/au-nav-link/au-nav-link.js +1 -1
  160. package/dist/collection/components/navigation/au-navbar/au-navbar.js +4 -4
  161. package/dist/collection/components/navigation/au-sidebar-nav/au-sidebar-nav.js +1 -1
  162. package/dist/collection/components/navigation/au-tab/au-tab.js +1 -1
  163. package/dist/collection/components/navigation/au-tab-panel/au-tab-panel.js +1 -1
  164. package/dist/collection/components/navigation/au-tabs/au-tabs.js +4 -4
  165. package/dist/collection/components/navigation/au-toc/au-toc.js +1 -1
  166. package/dist/collection/components/overlays/au-dialog/au-dialog.js +4 -4
  167. package/dist/collection/components/overlays/au-menu/au-menu.js +1 -1
  168. package/dist/collection/components/overlays/au-menu-item/au-menu-item.js +1 -1
  169. package/dist/collection/components/overlays/au-popover/au-popover.js +1 -1
  170. package/dist/collection/components/overlays/au-tooltip/au-tooltip.js +1 -1
  171. package/dist/collection/components/primitives/au-icon/core-icons.js +2 -0
  172. package/dist/components/au-alert.js +1 -1
  173. package/dist/components/au-avatar.js +1 -1
  174. package/dist/components/au-breadcrumb-item.js +1 -1
  175. package/dist/components/au-breadcrumb.js +1 -1
  176. package/dist/components/au-checkbox.js +1 -1
  177. package/dist/components/au-chip.js +1 -1
  178. package/dist/components/au-code-block.js +1 -1
  179. package/dist/components/au-combobox.js +1 -1
  180. package/dist/components/au-container.js +1 -1
  181. package/dist/components/au-dialog.js +1 -1
  182. package/dist/components/au-divider.js +1 -1
  183. package/dist/components/au-field.js +1 -1
  184. package/dist/components/au-icon.js +1 -1
  185. package/dist/components/au-input.js +1 -1
  186. package/dist/components/au-kbd.d.ts +11 -0
  187. package/dist/components/au-kbd.js +1 -0
  188. package/dist/components/au-list-item.d.ts +11 -0
  189. package/dist/components/au-list-item.js +1 -0
  190. package/dist/components/au-list.d.ts +11 -0
  191. package/dist/components/au-list.js +1 -0
  192. package/dist/components/au-menu-item.js +1 -1
  193. package/dist/components/au-menu.js +1 -1
  194. package/dist/components/au-nav-link.js +1 -1
  195. package/dist/components/au-navbar.js +1 -1
  196. package/dist/components/au-number-input.js +1 -1
  197. package/dist/components/au-popover.js +1 -1
  198. package/dist/components/au-progress.d.ts +11 -0
  199. package/dist/components/au-progress.js +1 -0
  200. package/dist/components/au-radio-group.js +1 -1
  201. package/dist/components/au-radio.js +1 -1
  202. package/dist/components/au-segmented-control.js +1 -1
  203. package/dist/components/au-segmented-option.js +1 -1
  204. package/dist/components/au-select.js +1 -1
  205. package/dist/components/au-sidebar-nav.js +1 -1
  206. package/dist/components/au-skeleton.d.ts +11 -0
  207. package/dist/components/au-skeleton.js +1 -0
  208. package/dist/components/au-slider.js +1 -1
  209. package/dist/components/au-splitter.js +1 -1
  210. package/dist/components/au-stat.d.ts +11 -0
  211. package/dist/components/au-stat.js +1 -0
  212. package/dist/components/au-switch.js +1 -1
  213. package/dist/components/au-tab-panel.js +1 -1
  214. package/dist/components/au-tab.js +1 -1
  215. package/dist/components/au-table.d.ts +11 -0
  216. package/dist/components/au-table.js +1 -0
  217. package/dist/components/au-tabs.js +1 -1
  218. package/dist/components/au-textarea.js +1 -1
  219. package/dist/components/au-toast-region.js +1 -1
  220. package/dist/components/au-toast.js +1 -1
  221. package/dist/components/au-toc.js +1 -1
  222. package/dist/components/au-tooltip.js +1 -1
  223. package/dist/components/p-B5BhPkwP.js +1 -0
  224. package/dist/components/p-DMeUBbqF.js +7 -0
  225. package/dist/components/p-DjW6oMgu.js +7 -0
  226. package/dist/components/{p-DzNA1eDU.js → p-DqAwSryz.js} +1 -1
  227. package/dist/components/{p-DAqsVCAy.js → p-Dw0zb4x_.js} +1 -1
  228. package/dist/components/{p-DIL-tsh4.js → p-ZpauIcNt.js} +1 -1
  229. package/dist/custom-elements.json +1338 -66
  230. package/dist/esm/au-alert.entry.js +1 -1
  231. package/dist/esm/au-breadcrumb-item.entry.js +1 -1
  232. package/dist/esm/au-breadcrumb.entry.js +1 -1
  233. package/dist/esm/au-checkbox.entry.js +4 -4
  234. package/dist/esm/au-code-block.entry.js +1 -1
  235. package/dist/esm/au-combobox.entry.js +7 -7
  236. package/dist/esm/au-container.entry.js +1 -1
  237. package/dist/esm/au-dialog.entry.js +4 -4
  238. package/dist/esm/au-divider.entry.js +1 -1
  239. package/dist/esm/au-field.entry.js +1 -1
  240. package/dist/esm/{au-icon-B17psn7x.js → au-icon-6iJTkDID.js} +1 -1
  241. package/dist/esm/au-icon.entry.js +1 -1
  242. package/dist/esm/au-input.entry.js +6 -6
  243. package/dist/esm/au-kbd.entry.js +353 -0
  244. package/dist/esm/au-list-item.entry.js +193 -0
  245. package/dist/esm/au-list.entry.js +76 -0
  246. package/dist/esm/au-menu-item.entry.js +1 -1
  247. package/dist/esm/au-menu.entry.js +1 -1
  248. package/dist/esm/au-nav-link.entry.js +1 -1
  249. package/dist/esm/au-navbar.entry.js +4 -4
  250. package/dist/esm/au-number-input.entry.js +4 -4
  251. package/dist/esm/au-popover.entry.js +1 -1
  252. package/dist/esm/au-progress.entry.js +105 -0
  253. package/dist/esm/au-radio-group.entry.js +3 -3
  254. package/dist/esm/au-radio.entry.js +1 -1
  255. package/dist/esm/au-segmented-control.entry.js +3 -3
  256. package/dist/esm/au-segmented-option.entry.js +1 -1
  257. package/dist/esm/au-select.entry.js +4 -4
  258. package/dist/esm/au-sidebar-nav.entry.js +1 -1
  259. package/dist/esm/au-skeleton.entry.js +104 -0
  260. package/dist/esm/au-slider.entry.js +3 -3
  261. package/dist/esm/au-splitter.entry.js +2 -2
  262. package/dist/esm/au-stat.entry.js +260 -0
  263. package/dist/esm/au-switch.entry.js +4 -4
  264. package/dist/esm/au-tab-panel.entry.js +1 -1
  265. package/dist/esm/au-tab.entry.js +1 -1
  266. package/dist/esm/au-table.entry.js +335 -0
  267. package/dist/esm/au-tabs.entry.js +4 -4
  268. package/dist/esm/au-textarea.entry.js +3 -3
  269. package/dist/esm/au-toast-region.entry.js +2 -2
  270. package/dist/esm/au-toast.entry.js +1 -1
  271. package/dist/esm/au-toc.entry.js +1 -1
  272. package/dist/esm/au-tooltip.entry.js +1 -1
  273. package/dist/esm/aurora.js +1 -1
  274. package/dist/esm/{icon-loader-CqLCmu4h.js → icon-loader-B2WSNZ27.js} +3 -1
  275. package/dist/esm/{live-announcer-CXd2OhYs.js → live-announcer-IAjNBWYI.js} +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/trending-down-DjW6oMgu.js +17 -0
  278. package/dist/esm/trending-up-DMeUBbqF.js +17 -0
  279. package/dist/styles.css +139 -0
  280. package/dist/types/components/data-display/au-kbd/au-kbd.constants.d.ts +41 -0
  281. package/dist/types/components/data-display/au-kbd/au-kbd.d.ts +36 -0
  282. package/dist/types/components/data-display/au-kbd/au-kbd.types.d.ts +1 -0
  283. package/dist/types/components/data-display/au-kbd/index.d.ts +3 -0
  284. package/dist/types/components/data-display/au-kbd/internal/describe.d.ts +13 -0
  285. package/dist/types/components/data-display/au-kbd/internal/parse.d.ts +18 -0
  286. package/dist/types/components/data-display/au-kbd/internal/platform.d.ts +13 -0
  287. package/dist/types/components/data-display/au-list/au-list.constants.d.ts +8 -0
  288. package/dist/types/components/data-display/au-list/au-list.d.ts +29 -0
  289. package/dist/types/components/data-display/au-list/au-list.types.d.ts +1 -0
  290. package/dist/types/components/data-display/au-list/index.d.ts +3 -0
  291. package/dist/types/components/data-display/au-list-item/au-list-item.d.ts +61 -0
  292. package/dist/types/components/data-display/au-list-item/index.d.ts +1 -0
  293. package/dist/types/components/data-display/au-list-item/internal/interactive-content.d.ts +2 -0
  294. package/dist/types/components/data-display/au-stat/au-stat.constants.d.ts +44 -0
  295. package/dist/types/components/data-display/au-stat/au-stat.d.ts +67 -0
  296. package/dist/types/components/data-display/au-stat/au-stat.types.d.ts +1 -0
  297. package/dist/types/components/data-display/au-stat/index.d.ts +3 -0
  298. package/dist/types/components/data-display/au-stat/internal/announcement.d.ts +16 -0
  299. package/dist/types/components/data-display/au-table/au-table.constants.d.ts +26 -0
  300. package/dist/types/components/data-display/au-table/au-table.d.ts +86 -0
  301. package/dist/types/components/data-display/au-table/au-table.types.d.ts +1 -0
  302. package/dist/types/components/data-display/au-table/index.d.ts +3 -0
  303. package/dist/types/components/data-display/au-table/internal/scroller-label.d.ts +9 -0
  304. package/dist/types/components/data-display/au-table/internal/sort.d.ts +11 -0
  305. package/dist/types/components/feedback/au-progress/au-progress.constants.d.ts +31 -0
  306. package/dist/types/components/feedback/au-progress/au-progress.d.ts +32 -0
  307. package/dist/types/components/feedback/au-progress/au-progress.types.d.ts +1 -0
  308. package/dist/types/components/feedback/au-progress/index.d.ts +3 -0
  309. package/dist/types/components/feedback/au-skeleton/au-skeleton.constants.d.ts +27 -0
  310. package/dist/types/components/feedback/au-skeleton/au-skeleton.d.ts +31 -0
  311. package/dist/types/components/feedback/au-skeleton/au-skeleton.types.d.ts +1 -0
  312. package/dist/types/components/feedback/au-skeleton/index.d.ts +3 -0
  313. package/dist/types/components.d.ts +712 -0
  314. package/dist/types/vue.d.ts +7 -0
  315. package/package.json +53 -1
  316. package/dist/aurora/p-746825ce.entry.js +0 -1
  317. package/dist/aurora/p-CoyAdNcI.js +0 -1
  318. package/dist/aurora/p-b2feddb2.entry.js +0 -1
  319. package/dist/aurora/p-f89bde2b.entry.js +0 -1
  320. package/dist/components/p-M21eKzKU.js +0 -1
@@ -0,0 +1,193 @@
1
+ import { r as registerInstance, g as getElement, h, H as Host } from './index-KLUZmSN-.js';
2
+ import { n as normalizeAriaCurrent } from './navigation-TdUs41zm.js';
3
+ import { r as resolveLinkState, N as NEW_TAB_ICON_PATHS } from './link-state-DhPKwPml.js';
4
+ import { w as warnOncePerDocument } from './warn-once-Ci-XzGE3.js';
5
+
6
+ /**
7
+ * Elements that take focus or activation of their own. Inside a link row they would sit under the
8
+ * stretched link overlay and add a second tab stop (spec phase5-step9-list, LS-D6).
9
+ */
10
+ const INTERACTIVE_SELECTOR = [
11
+ 'a[href]',
12
+ 'button',
13
+ 'input',
14
+ 'select',
15
+ 'textarea',
16
+ 'summary',
17
+ 'iframe',
18
+ '[contenteditable]:not([contenteditable="false"])',
19
+ '[tabindex]:not([tabindex="-1"])',
20
+ 'au-button',
21
+ 'au-chip',
22
+ 'au-nav-link',
23
+ 'au-input',
24
+ 'au-checkbox',
25
+ 'au-switch',
26
+ 'au-select',
27
+ 'au-combobox',
28
+ 'au-segmented-control',
29
+ 'au-slider',
30
+ ].join(',');
31
+ /** True when an element, or one of its descendants, is interactive content. */
32
+ function hasInteractiveContent(elements) {
33
+ return elements.some((element) => element.matches(INTERACTIVE_SELECTOR) || element.querySelector(INTERACTIVE_SELECTOR) !== null);
34
+ }
35
+
36
+ const auListItemCss = () => `:host{--_item-color:var(--aurora-list-item-color, var(--aurora-color-text, #202733));--_item-description-color:var( --aurora-list-item-description-color, var(--aurora-color-text-muted, #566273) );--_item-hover-background:var( --aurora-list-item-hover-background, var(--aurora-color-surface-muted, rgba(127, 127, 127, 0.12)) );--_item-radius:var(--aurora-list-item-radius, var(--aurora-radius-md, 0.5rem));--_item-indicator-color:var( --aurora-list-item-current-indicator-color, var(--aurora-color-primary, #0b5cad) );--_item-thickness:var(--aurora-list-item-current-indicator-thickness, 3px);--_item-padding-inline:var( --aurora-list-item-padding-inline, var(--aurora-spacing-medium, 1rem) );--_item-gap:var(--aurora-list-item-gap, var(--aurora-spacing-small, 0.5rem));--_item-focus-ring:var( --aurora-list-item-focus-ring-color, var(--aurora-focus-ring-color, var(--aurora-color-focus, Highlight)) );--_item-transition-duration:var( --aurora-list-item-transition-duration, var(--aurora-motion-duration-fast, 120ms) );border-block-start:var(--_aurora-list-divider-width, 0) solid var(--aurora-list-divider-color, var(--aurora-color-border, #d4d9e1));display:block}:host(:first-child){border-block-start-width:0}.item{align-items:center;border-inline-start:var(--_item-thickness) solid transparent;border-radius:var(--_item-radius);box-sizing:border-box;color:var(--_item-color);display:flex;font-family:var(--aurora-font-family, inherit);font-size:var(--_aurora-list-item-font-size, var(--aurora-font-size-md, 1rem));gap:var(--_item-gap);isolation:isolate;line-height:var(--aurora-line-height-normal, 1.5);padding-block:var(--_aurora-list-item-padding-block, var(--aurora-spacing-small, 0.5rem));padding-inline-end:var(--_item-padding-inline);padding-inline-start:calc(var(--_item-padding-inline) - var(--_item-thickness));position:relative;transition-duration:var(--_item-transition-duration);transition-property:background-color;transition-timing-function:var(--aurora-motion-easing-standard, ease)}:host(:not([has-leading])) .item__leading,:host(:not([has-description])) .item__description,:host(:not([has-trailing])) .item__trailing{display:none}.item__leading,.item__trailing{align-items:center;display:inline-flex;flex:none}.item__trailing{color:var(--_item-description-color)}.item__content{display:flex;flex:1 1 auto;flex-direction:column;min-inline-size:0}.item__label,.item__link{min-inline-size:0;overflow-wrap:anywhere}.item__description{color:var(--_item-description-color);font-size:0.875em}.item--link{cursor:pointer}.item--link:hover{background:var(--_item-hover-background)}.item__link{color:var(--_item-color);cursor:inherit;font-weight:var(--aurora-font-weight-medium, 500);text-decoration:none;transition-duration:var(--_item-transition-duration);transition-property:color;transition-timing-function:var(--aurora-motion-easing-standard, ease)}.item__link::after{border-radius:var(--_item-radius);content:"";inset:0;position:absolute;z-index:1}.item__link:focus-visible{outline:none}.item__link:focus-visible::after{outline:var(--aurora-focus-ring-width, 2px) solid var(--_item-focus-ring);outline-offset:calc(-1 * var(--aurora-focus-ring-width, 2px))}.item--current{border-inline-start-color:var(--_item-indicator-color)}.item--current .item__link,.item--current .item__label{font-weight:var(--aurora-font-weight-semibold, 600)}.item__link[aria-disabled=true]{cursor:var(--aurora-disabled-cursor, not-allowed);opacity:var(--aurora-disabled-opacity, 0.58)}.item__new-tab-icon{block-size:0.875em;flex:none;inline-size:0.875em;margin-inline-start:0.25em;vertical-align:-0.1em}.item__visually-hidden{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@media (prefers-reduced-motion: reduce){.item,.item__link{transition-duration:0s}}@media (forced-colors: active){:host{border-block-start-color:CanvasText}.item,.item__description,.item__trailing,.item__label{color:CanvasText}.item--link:hover{background:transparent}.item--current{border-inline-start-color:Highlight}.item__link{color:LinkText}.item__link[aria-disabled=true]{color:GrayText;opacity:1}.item__link:focus-visible::after{outline-color:Highlight}}`;
37
+
38
+ const LIST_TAG = 'au-list';
39
+ const SLOT_NAMES = ['default', 'leading', 'description', 'trailing'];
40
+ const AuListItem = class {
41
+ constructor(hostRef) {
42
+ registerInstance(this, hostRef);
43
+ }
44
+ get host() { return getElement(this); }
45
+ /** Destination. A non-blank value turns the row into a link. Rendered as written. Not reflected. */
46
+ href;
47
+ /** Link target. `_blank` adds `rel` tokens and the new-tab indicator. Not reflected. */
48
+ target;
49
+ /** Link `rel` tokens. Merged with `noopener noreferrer` for `_blank`. Not reflected. */
50
+ rel;
51
+ /** Visually hidden text that tells a screen reader a link opens a new tab. Localizable. */
52
+ newTabLabel;
53
+ /**
54
+ * The current item: `page`, `step`, `location`, `date`, `time` or `true`. `false` is omitted. Set
55
+ * by the consumer or router. On a link it is `aria-current` of the inner link; on a static item
56
+ * it is `aria-current` of the host. Never reflected.
57
+ */
58
+ current;
59
+ /** Makes a link row unavailable (not focusable, click canceled). Ignored on a static item. */
60
+ disabled = false;
61
+ /** True while the slot holds an element or non-blank text. Written to `has-*` host attributes. */
62
+ hasLeading = false;
63
+ hasDescription = false;
64
+ hasTrailing = false;
65
+ slots = {};
66
+ hrefChanged() {
67
+ this.inspectInteractiveContent();
68
+ }
69
+ componentWillLoad() {
70
+ const doc = this.host.ownerDocument;
71
+ if (this.host.hasAttribute('aria-current')) {
72
+ warnOncePerDocument(doc, 'au-list-item:aria-current', 'au-list-item: aria-current on the host is not supported and was removed. Use the current attribute: the item writes aria-current on its link, or on itself when it is static.');
73
+ }
74
+ if (this.host.parentElement?.localName !== LIST_TAG) {
75
+ warnOncePerDocument(doc, 'au-list-item:no-parent', 'au-list-item: this item is not a child of au-list, so it is a listitem without a list.');
76
+ }
77
+ this.measure();
78
+ }
79
+ componentWillRender() {
80
+ if (normalizeAriaCurrent(this.current).invalid) {
81
+ warnOncePerDocument(this.host.ownerDocument, 'au-list-item:current', `au-list-item: current="${this.current}" is not supported and was not rendered. Use page, step, location, date, time or true.`);
82
+ }
83
+ }
84
+ componentDidLoad() {
85
+ this.inspectInteractiveContent();
86
+ }
87
+ componentDidRender() {
88
+ this.enforceHostCurrent();
89
+ }
90
+ linkInput() {
91
+ return {
92
+ href: this.href,
93
+ target: this.target,
94
+ rel: this.rel,
95
+ newTabLabel: this.newTabLabel,
96
+ unavailable: this.disabled,
97
+ };
98
+ }
99
+ get isLink() {
100
+ return resolveLinkState(this.linkInput()).isLink;
101
+ }
102
+ /** Only a static item has `aria-current` on its host (LS-D7). */
103
+ get hostCurrent() {
104
+ return this.isLink ? null : normalizeAriaCurrent(this.current).value;
105
+ }
106
+ /**
107
+ * Stencil only removes attributes it rendered, so a consumer's host `aria-current` would
108
+ * survive. The item is its one writer: make the attribute match what it renders.
109
+ */
110
+ enforceHostCurrent() {
111
+ const expected = this.hostCurrent;
112
+ if (this.host.getAttribute('aria-current') === expected)
113
+ return;
114
+ if (expected)
115
+ this.host.setAttribute('aria-current', expected);
116
+ else
117
+ this.host.removeAttribute('aria-current');
118
+ }
119
+ /** The nodes in a slot: the assigned ones once rendered, else the matching light-DOM children. */
120
+ nodesIn(name) {
121
+ const slot = this.slots[name];
122
+ if (slot)
123
+ return slot.assignedNodes({ flatten: true });
124
+ return Array.from(this.host.childNodes).filter((node) => {
125
+ if (node.nodeType !== 1)
126
+ return name === 'default';
127
+ const slotName = node.getAttribute('slot');
128
+ return name === 'default' ? !slotName : slotName === name;
129
+ });
130
+ }
131
+ has(name) {
132
+ return this.nodesIn(name).some((node) => node.nodeType === 1 || (node.nodeType === 3 && (node.textContent ?? '').trim() !== ''));
133
+ }
134
+ measure() {
135
+ this.hasLeading = this.has('leading');
136
+ this.hasDescription = this.has('description');
137
+ this.hasTrailing = this.has('trailing');
138
+ }
139
+ /** A link row is one tab stop: a control in a slot would sit under the overlay (LS-D6). */
140
+ inspectInteractiveContent() {
141
+ if (!this.isLink)
142
+ return;
143
+ const elements = SLOT_NAMES.flatMap((name) => this.nodesIn(name)).filter((node) => node.nodeType === 1);
144
+ if (!hasInteractiveContent(elements))
145
+ return;
146
+ warnOncePerDocument(this.host.ownerDocument, 'au-list-item:interactive-content', 'au-list-item: a link row holds interactive content (a link, button or form control) in a slot. The row is already one link, so it would sit under the link overlay and add a tab stop. Keep the slots to phrasing content, or use a static item.');
147
+ }
148
+ handleSlotChange = () => {
149
+ this.measure();
150
+ this.inspectInteractiveContent();
151
+ };
152
+ handleClick = (event) => {
153
+ // An <a> without href still fires click, unlike a disabled <button>: stop it here.
154
+ if (!this.isLink || !this.disabled)
155
+ return;
156
+ event.preventDefault();
157
+ event.stopPropagation();
158
+ };
159
+ slotRef(name) {
160
+ return (element) => {
161
+ if (element)
162
+ this.slots[name] = element;
163
+ else
164
+ delete this.slots[name];
165
+ };
166
+ }
167
+ baseClasses() {
168
+ const link = resolveLinkState(this.linkInput());
169
+ return {
170
+ item: true,
171
+ 'item--link': link.isLink && !this.disabled,
172
+ 'item--current': normalizeAriaCurrent(this.current).value !== null,
173
+ };
174
+ }
175
+ renderLink() {
176
+ const link = resolveLinkState(this.linkInput());
177
+ const current = normalizeAriaCurrent(this.current).value;
178
+ return (h("a", { part: "link", class: "item__link", ...link.attributes, ...(current ? { 'aria-current': current } : {}), ...(this.hasDescription ? { 'aria-describedby': 'description' } : {}), onClick: this.handleClick }, h("slot", { onSlotchange: this.handleSlotChange, ref: this.slotRef('default') }), link.opensNewTab ? h("span", { class: "item__visually-hidden" }, link.newTabText) : null, link.opensNewTab ? (h("svg", { class: "item__new-tab-icon", part: "new-tab-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true", focusable: "false" }, NEW_TAB_ICON_PATHS.map((d) => (h("path", { d: d }))))) : null));
179
+ }
180
+ render() {
181
+ const hostCurrent = this.hostCurrent;
182
+ return (h(Host, { key: '6f9fad5b74348be1b065d3edd9d78f5961408377', role: "listitem", ...(hostCurrent ? { 'aria-current': hostCurrent } : {}), ...(this.hasLeading ? { 'has-leading': '' } : {}), ...(this.hasDescription ? { 'has-description': '' } : {}), ...(this.hasTrailing ? { 'has-trailing': '' } : {}) }, h("div", { key: '1f7d7ccc9155bc777d7b4eeb6e5a182c3f069212', part: "base", class: this.baseClasses() }, h("span", { key: '72bb82751fc36d3a9fddc452524e94edac0f17f6', part: "leading", class: "item__leading" }, h("slot", { key: 'd9f12466ee4509954993b56bc14cf60a7ba461a2', name: "leading", onSlotchange: this.handleSlotChange, ref: this.slotRef('leading') })), h("span", { key: 'e47c1e2bf2155f1d65b23794ce232e064a40d754', part: "content", class: "item__content" }, this.isLink ? (this.renderLink()) : (h("span", { part: "label", class: "item__label" }, h("slot", { onSlotchange: this.handleSlotChange, ref: this.slotRef('default') }))), h("span", { key: '96800d9596606c096b5db5d0f804d020fe464cfa', part: "description", class: "item__description", id: "description" }, h("slot", { key: 'ab490cb957be7bbfd37a474d11b684b3121ab83d', name: "description", onSlotchange: this.handleSlotChange, ref: this.slotRef('description') }))), h("span", { key: '751e0323c390abfc10fd8f5085fcb30ba732b9ca', part: "trailing", class: "item__trailing" }, h("slot", { key: 'fe96baeb9ec8f2d647763441c7d48bdb244f0e74', name: "trailing", onSlotchange: this.handleSlotChange, ref: this.slotRef('trailing') })))));
183
+ }
184
+ static get delegatesFocus() { return true; }
185
+ static get watchers() { return {
186
+ "href": [{
187
+ "hrefChanged": 0
188
+ }]
189
+ }; }
190
+ };
191
+ AuListItem.style = auListItemCss();
192
+
193
+ export { AuListItem as au_list_item };
@@ -0,0 +1,76 @@
1
+ import { r as registerInstance, g as getElement, h, H as Host } from './index-KLUZmSN-.js';
2
+ import { w as warnOncePerDocument } from './warn-once-Ci-XzGE3.js';
3
+
4
+ /** Literals only: no import from the foundations, so the `/constants` subpath stays standalone. */
5
+ /** Row density. `small` is the compact density, `medium` the default. */
6
+ const LIST_SIZE = {
7
+ small: 'small',
8
+ medium: 'medium',
9
+ };
10
+ const sizes = new Set(Object.values(LIST_SIZE));
11
+ const isListSize = (value) => typeof value === 'string' && sizes.has(value);
12
+
13
+ const auListCss = () => `:host{--_aurora-list-item-padding-block:var( --aurora-list-item-padding-block-medium, var(--aurora-spacing-small, 0.5rem) );--_aurora-list-item-font-size:var( --aurora-list-item-font-size-medium, var(--aurora-font-size-md, 1rem) );display:block}:host([size=small]){--_aurora-list-item-padding-block:var( --aurora-list-item-padding-block-small, var(--aurora-spacing-extra-small, 0.25rem) );--_aurora-list-item-font-size:var( --aurora-list-item-font-size-small, var(--aurora-font-size-sm, 0.875rem) )}:host([dividers]){--_aurora-list-divider-width:1px}.list{display:block}`;
14
+
15
+ const ITEM_TAG = 'au-list-item';
16
+ /** Elements that render nothing and so never count as a foreign child. */
17
+ const IGNORED_TAGS = new Set(['template', 'script', 'style']);
18
+ const AuList = class {
19
+ constructor(hostRef) {
20
+ registerInstance(this, hostRef);
21
+ }
22
+ get host() { return getElement(this); }
23
+ /** Row density: `small` or `medium`. Unsupported values render `medium` and warn once. */
24
+ size = LIST_SIZE.medium;
25
+ /** Draws a divider between rows (a border above every item but the first). */
26
+ dividers = false;
27
+ slotElement;
28
+ sizeChanged() {
29
+ this.normalizeSize();
30
+ }
31
+ componentWillLoad() {
32
+ this.normalizeSize();
33
+ }
34
+ componentDidLoad() {
35
+ this.warnAboutChildren();
36
+ }
37
+ componentDidRender() {
38
+ this.enforceRole();
39
+ }
40
+ /** The component is the one writer of `role`: a consumer value (`log`, `menu`) is put back. */
41
+ enforceRole() {
42
+ if (this.host.getAttribute('role') !== 'list')
43
+ this.host.setAttribute('role', 'list');
44
+ }
45
+ /** An unsupported size renders `medium` (also on the reflected attribute) and warns once. */
46
+ normalizeSize() {
47
+ if (isListSize(this.size))
48
+ return;
49
+ warnOncePerDocument(this.host.ownerDocument, 'au-list:size', `au-list: size=${JSON.stringify(this.size)} is not supported and renders "medium". Use "small" or "medium".`);
50
+ this.size = LIST_SIZE.medium;
51
+ }
52
+ handleSlotChange = () => {
53
+ this.warnAboutChildren();
54
+ };
55
+ /** Discovery is only used to warn: the list writes nothing on its items. */
56
+ warnAboutChildren() {
57
+ const nodes = this.slotElement?.assignedElements({ flatten: true }) ?? [];
58
+ const foreign = nodes.find((element) => element.localName !== ITEM_TAG && !IGNORED_TAGS.has(element.localName));
59
+ if (!foreign)
60
+ return;
61
+ warnOncePerDocument(this.host.ownerDocument, 'au-list:foreign-child', `au-list: <${foreign.localName}> is not an ${ITEM_TAG}. It would be a child of the list that is not a listitem. Only ${ITEM_TAG} belongs in the default slot.`);
62
+ }
63
+ render() {
64
+ return (h(Host, { key: '6931b6bf4cb4dc1ac4972fd9faf6f07df4e20098', role: "list" }, h("div", { key: '3459c848d615a5936c3e5167b43a9473803dc4ff', part: "base", class: "list" }, h("slot", { key: '41fe35d5b1fca2b3731140b474199950f0a177f4', onSlotchange: this.handleSlotChange, ref: (element) => {
65
+ this.slotElement = element;
66
+ } }))));
67
+ }
68
+ static get watchers() { return {
69
+ "size": [{
70
+ "sizeChanged": 0
71
+ }]
72
+ }; }
73
+ };
74
+ AuList.style = auListCss();
75
+
76
+ export { AuList as au_list };
@@ -45,7 +45,7 @@ const AuMenuItem = class {
45
45
  const type = isMenuItemType(this.type) ? this.type : MENU_ITEM_TYPE.item;
46
46
  const checkable = type !== MENU_ITEM_TYPE.item;
47
47
  const checked = this.checked ? 'true' : 'false';
48
- return (h(Host, { key: '551ef4f0bfb1487124a809c13d31def75ad3200e', role: ROLES[type], "aria-checked": checkable ? checked : undefined }, checkable ? (h("span", { class: { 'menu-item__check': true, 'menu-item__check--checked': this.checked }, part: "check", "aria-hidden": "true" }, type === MENU_ITEM_TYPE.checkbox ? (h("au-icon", { icon: CHECK_ICON, decorative: true })) : (h("span", { class: "menu-item__dot" })))) : null, h("span", { key: '92ab01db27e8a50860a921446f2b8e61d2028712', class: "menu-item__start", part: "start" }, h("slot", { key: '532ea0d07edc53324d65fff7d1ade3d34b6862ef', name: "start" })), h("span", { key: 'e79a9e4b4f81a9d6297157bd32181b2d6cc18760', class: "menu-item__label", part: "label" }, h("slot", { key: 'a3c14e647e7265e03f496fead950cf86792c6825' })), h("span", { key: 'f3d1a3af0d12b0dc89aa222d743557fb999bf420', class: "menu-item__end", part: "end" }, h("slot", { key: '2a26fa39b87c5c75f54533e5e36e3b2bfd54e8fb', name: "end" }))));
48
+ return (h(Host, { key: '302594dae0faaf04de310a413158e21b640e180b', role: ROLES[type], "aria-checked": checkable ? checked : undefined }, checkable ? (h("span", { class: { 'menu-item__check': true, 'menu-item__check--checked': this.checked }, part: "check", "aria-hidden": "true" }, type === MENU_ITEM_TYPE.checkbox ? (h("au-icon", { icon: CHECK_ICON, decorative: true })) : (h("span", { class: "menu-item__dot" })))) : null, h("span", { key: '73a3647747511daa9ffb69aa74b2336ed4fe360e', class: "menu-item__start", part: "start" }, h("slot", { key: '80b94cec1bff4f73749412de57ec4786f22acc26', name: "start" })), h("span", { key: '1e66b31f6f82d2a8ccf6941d5a3750e334b8c318', class: "menu-item__label", part: "label" }, h("slot", { key: '51c62164283a6ae3473cee06b6b9b14878ecb6bb' })), h("span", { key: 'c0cd49c5725d4c8545716fb54d4bfff018bc99a5', class: "menu-item__end", part: "end" }, h("slot", { key: '606cbef7c5bc7ec4ce41802cebf399f075992956', name: "end" }))));
49
49
  }
50
50
  static get watchers() { return {
51
51
  "type": [{
@@ -330,7 +330,7 @@ const AuMenu = class {
330
330
  console.warn(message);
331
331
  }
332
332
  render() {
333
- return (h(Host, { key: '32c04d53decde148d3438e55a10713673199f127', role: "menu", tabindex: this.itemCount === 0 ? '-1' : undefined }, h("slot", { key: '8232feaa883927d1987dfbb588b8162aea520ddf', ref: (element) => {
333
+ return (h(Host, { key: 'd796cdb364ae4229ecc4c53f69b3fb19ee0e4f85', role: "menu", tabindex: this.itemCount === 0 ? '-1' : undefined }, h("slot", { key: '3b3cb26ef1ebbcbbd56f4c05a67cf784cbf38ab3', ref: (element) => {
334
334
  this.slotElement = element;
335
335
  }, onSlotchange: this.handleSlotChange })));
336
336
  }
@@ -63,7 +63,7 @@ const AuNavLink = class {
63
63
  unavailable: this.disabled,
64
64
  });
65
65
  const current = normalizeAriaCurrent(this.ariaCurrent).value;
66
- return (h("a", { key: '72602b3da4dd25e292b37a1d7a08dfed71ea76bf', class: "link", part: "link", ...link.attributes, "aria-current": current ?? undefined, onClick: this.handleClick }, h("slot", { key: '025d70ae486585521d0262de0503914330b0843b', name: "start" }), h("span", { key: '530b839955d6c57182fde21a4cd4bd73c26ac25b', class: "link__content", part: "content" }, h("slot", { key: '9157cfcb17cfed254f938b4628b3739b4705b6bf' })), h("slot", { key: 'a2cdb649ae095c5ec4917265945546fa65e42108', name: "end" }), link.opensNewTab ? h("span", { class: "link__visually-hidden" }, link.newTabText) : null, link.opensNewTab ? (h("svg", { class: "link__new-tab-icon", part: "new-tab-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true", focusable: "false" }, NEW_TAB_ICON_PATHS.map((d) => (h("path", { d: d }))))) : null));
66
+ return (h("a", { key: '60de85503288ab2067258f4826546adc5fd27c77', class: "link", part: "link", ...link.attributes, "aria-current": current ?? undefined, onClick: this.handleClick }, h("slot", { key: 'dfd3dd880ad5c807c613a5b45bcb080c66062db2', name: "start" }), h("span", { key: '8ba064fec0cf317c8802c91fb479035613d35d1e', class: "link__content", part: "content" }, h("slot", { key: '151ef5d2c5a0999cbb271d11ffe1b8234a373eea' })), h("slot", { key: 'f94c092b165fd4e6db2db36ef888e587e7995225', name: "end" }), link.opensNewTab ? h("span", { class: "link__visually-hidden" }, link.newTabText) : null, link.opensNewTab ? (h("svg", { class: "link__new-tab-icon", part: "new-tab-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true", focusable: "false" }, NEW_TAB_ICON_PATHS.map((d) => (h("path", { d: d }))))) : null));
67
67
  }
68
68
  static get watchers() { return {
69
69
  "ariaCurrent": [{
@@ -282,13 +282,13 @@ const AuNavbar = class {
282
282
  const expanded = collapsed && this.open;
283
283
  const label = this.label?.trim() || NAVBAR_DEFAULT_LABEL;
284
284
  const menuLabel = this.menuLabel?.trim() || NAVBAR_DEFAULT_MENU_LABEL;
285
- return (h(Host, { key: 'e92bd179e07b36dbae7e36683f19091cabdf4f0a', collapsed: collapsed }, h("div", { key: 'f5378a3ccdfd0d5ab99d48d3b8e91a95ee85cbbb', part: "base", class: "navbar" }, h("div", { key: '8cb835d7cd4ef9be978785e4f9a28113ca5c3ed0', part: "brand", class: "navbar__brand" }, h("slot", { key: '3b75f17b6b48c41900faa45a487a8d7b2a13960b', name: "brand" })), h("nav", { key: '4c7712666dbce67a0fe0af6a8c52b14a0b6edebe', part: "nav", class: "navbar__nav", "aria-label": label, tabindex: "-1", onKeyDown: this.handleNavKeyDown, ref: (element) => {
285
+ return (h(Host, { key: 'd075c258e79914082706ddcd7c7059b0d906d506', collapsed: collapsed }, h("div", { key: 'd870650bd410589ea9dd72a8e2412813a03b96c8', part: "base", class: "navbar" }, h("div", { key: 'c15e5495ed7b1bf89d88014427cfb051de0a3a43', part: "brand", class: "navbar__brand" }, h("slot", { key: '1fb0747cd0ec6368637c45ee37ea74e41b75843a', name: "brand" })), h("nav", { key: 'aa1f7cdfee0ac312882f0122371fbfbddc2c0b19', part: "nav", class: "navbar__nav", "aria-label": label, tabindex: "-1", onKeyDown: this.handleNavKeyDown, ref: (element) => {
286
286
  this.navElement = element;
287
- } }, h("button", { key: '71e8cf47f169280020528825ca718bf251d00f89', part: "menu-button", class: "navbar__menu-button", type: "button", "aria-expanded": expanded ? 'true' : 'false', "aria-controls": LINKS_ID, hidden: !collapsed, onClick: this.handleMenuButtonClick, ref: (element) => {
287
+ } }, h("button", { key: 'f1e225f261a566fd5513b389180b235215164f01', part: "menu-button", class: "navbar__menu-button", type: "button", "aria-expanded": expanded ? 'true' : 'false', "aria-controls": LINKS_ID, hidden: !collapsed, onClick: this.handleMenuButtonClick, ref: (element) => {
288
288
  this.menuButtonElement = element;
289
- } }, h("svg", { key: '073ea3e28530ff82a333639e4106bc9edcc2614a', part: "menu-icon", class: "navbar__menu-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true", focusable: "false" }, h("path", { key: '5e58e0e080044b2a5398a6a158c9ec268aad34e3', d: "M4 6h16" }), h("path", { key: '5630503b42b9e662095ce5a2e06222efce87e471', d: "M4 12h16" }), h("path", { key: '568413ec2ceff1013f2dacacc49334ca444ce7a7', d: "M4 18h16" })), h("span", { key: 'bce3edb6cd4e144bb327c72aa75493407e511cb3', class: "navbar__visually-hidden" }, menuLabel)), h("div", { key: '3b131b3fa3d2a05e0657552891397432277e2594', part: "links", id: LINKS_ID, class: "navbar__links", hidden: collapsed && !this.open, ref: (element) => {
289
+ } }, h("svg", { key: '2829e50182b8ade50524ff99e22c9471d0969d80', part: "menu-icon", class: "navbar__menu-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true", focusable: "false" }, h("path", { key: '5bbd0beb07e10de01d98d2b432c1a201ebdc99de', d: "M4 6h16" }), h("path", { key: '468fbcc63fff3a49e63212ac8bbf096f2e6821a3', d: "M4 12h16" }), h("path", { key: 'e9d1de17b681d136383887f865581a4b8496a1a4', d: "M4 18h16" })), h("span", { key: '3ab1a693692d4bd3d578221e64ddf8596dc6bac7', class: "navbar__visually-hidden" }, menuLabel)), h("div", { key: '400a513647ee160cbe5898947973a9d662bdb5d4', part: "links", id: LINKS_ID, class: "navbar__links", hidden: collapsed && !this.open, ref: (element) => {
290
290
  this.linksElement = element;
291
- } }, h("slot", { key: '9f17147b6ec38d1e422c87f7009645d5660f12d2', name: "links" }))), h("div", { key: 'e5daaf88afcd8793018c1cfae60c575c5daaebc6', part: "actions", class: "navbar__actions" }, h("slot", { key: 'a0b4effbbc2d28376ea52fa0bb5244f30e2094ad', name: "actions" })))));
291
+ } }, h("slot", { key: 'a4709987399e4258c7edcb492041be0a010ef667', name: "links" }))), h("div", { key: '9a7f6a0cb9211c9648c7b47c1621031611574701', part: "actions", class: "navbar__actions" }, h("slot", { key: 'e88cf385a9c4048dd0a0fed9791233cccbccac34', name: "actions" })))));
292
292
  }
293
293
  static get watchers() { return {
294
294
  "open": [{
@@ -317,24 +317,24 @@ const AuNumberInput = class {
317
317
  'aria-invalid': this.isInvalid ? 'true' : undefined,
318
318
  'aria-describedby': this.descriptionIds,
319
319
  });
320
- return (h(Host, { key: 'a0d4add84d104d616715f398a64826bc195af1c4', class: {
320
+ return (h(Host, { key: '1266ef5d5f56ca8d16e058ccfc3ccaeff827ba9d', class: {
321
321
  'number-input-host--disabled': disabled,
322
322
  'number-input-host--invalid': this.isInvalid,
323
323
  'number-input-host--readonly': this.readOnly,
324
- } }, h("div", { key: '2e565a53ee46d6d5f308d2a97e6fc6a9c175a434', class: {
324
+ } }, h("div", { key: 'c532f5dfb264a026d1e3624a26d93f95805a1273', class: {
325
325
  'number-input': true,
326
326
  [`number-input--${this.safeSize}`]: true,
327
327
  'number-input--disabled': disabled,
328
328
  'number-input--focused': this.focused,
329
329
  'number-input--invalid': this.isInvalid,
330
330
  'number-input--readonly': this.readOnly,
331
- } }, labelText ? (h("label", { class: "number-input__label", part: "label", htmlFor: this.inputId }, h("span", null, labelText), this.required ? (h("span", { class: "number-input__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'be1cc8ce1852b9ba6e4c63438b7fb4ae3ff8485e', class: "number-input__field", part: "field" }, h("button", { key: 'c7deb0f7f0f65f77049f64abeed2fecc13c77c8b', class: "number-input__stepper number-input__stepper--decrement", part: "decrement", type: "button", tabindex: "-1", "aria-label": decrementName, disabled: locked || this.atMin, onPointerDown: this.handleStepperPointerDown, onClick: this.handleDecrement }, h("au-icon", { key: 'd348e05494a108c17a24ce8ba0ca67903dafd927', icon: DECREMENT_ICON, decorative: true })), h("input", { key: '3df6cc19442010270f2c3762de657da6bd2baed2', ref: (element) => {
331
+ } }, labelText ? (h("label", { class: "number-input__label", part: "label", htmlFor: this.inputId }, h("span", null, labelText), this.required ? (h("span", { class: "number-input__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'e20ebabd1caaf48b21e6c0621305b2fbbe150a9d', class: "number-input__field", part: "field" }, h("button", { key: '1ff36d3ee710b9572972eef8217e9d5b44a787b9', class: "number-input__stepper number-input__stepper--decrement", part: "decrement", type: "button", tabindex: "-1", "aria-label": decrementName, disabled: locked || this.atMin, onPointerDown: this.handleStepperPointerDown, onClick: this.handleDecrement }, h("au-icon", { key: 'fb8d234565e9eaa35e90209fa9d49a933b31c6c6', icon: DECREMENT_ICON, decorative: true })), h("input", { key: '0f39a61cdb7dbb0a289af55ca7ca354c9c953870', ref: (element) => {
332
332
  this.inputElement = element;
333
333
  if (!element)
334
334
  return;
335
335
  if (element.value !== this.currentText)
336
336
  element.value = this.currentText;
337
- }, id: this.inputId, class: "number-input__control", part: "control", type: "number", inputMode: "decimal", required: this.required, disabled: disabled, readOnly: this.readOnly, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("button", { key: 'b79a1ff1586a00b07ab4058195fc7567c6e002bb', class: "number-input__stepper number-input__stepper--increment", part: "increment", type: "button", tabindex: "-1", "aria-label": incrementName, disabled: locked || this.atMax, onPointerDown: this.handleStepperPointerDown, onClick: this.handleIncrement }, h("au-icon", { key: '5a6890d22510cbf9745949b74b163bd56da7b90f', icon: INCREMENT_ICON, decorative: true }))), hintText ? (h("p", { class: "number-input__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "number-input__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
337
+ }, id: this.inputId, class: "number-input__control", part: "control", type: "number", inputMode: "decimal", required: this.required, disabled: disabled, readOnly: this.readOnly, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("button", { key: '60d843a7b54dc8c54574d3e8b73038ec160265a7', class: "number-input__stepper number-input__stepper--increment", part: "increment", type: "button", tabindex: "-1", "aria-label": incrementName, disabled: locked || this.atMax, onPointerDown: this.handleStepperPointerDown, onClick: this.handleIncrement }, h("au-icon", { key: '92b819d6da0aba2499994121565180ca21338d3d', icon: INCREMENT_ICON, decorative: true }))), hintText ? (h("p", { class: "number-input__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "number-input__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
338
338
  }
339
339
  static get formAssociated() { return true; }
340
340
  static get watchers() { return {
@@ -115,7 +115,7 @@ const AuPopover = class {
115
115
  }));
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: 'b138689be544a9aea28515d96b13779e35e18cfd' }, h("slot", { key: 'dfbf31a0f1c6846375914670a1db0dd4019e8d5e' })));
118
+ return (h(Host, { key: '11b4a0bafeeb5b2a78d245ff9e508bd6875aeeb4' }, h("slot", { key: '209693fd006ad62c59d08b66fb268447d1f1022d' })));
119
119
  }
120
120
  static get watchers() { return {
121
121
  "open": [{
@@ -0,0 +1,105 @@
1
+ import { r as registerInstance, g as getElement, h, H as Host } from './index-KLUZmSN-.js';
2
+ import { w as warnOncePerDocument } from './warn-once-Ci-XzGE3.js';
3
+
4
+ /** Literals only: no import from the foundations, so the `/constants` subpath stays standalone. */
5
+ /** `small` is a 0.25rem bar and `medium` a 0.5rem bar; any other thickness is `--aurora-progress-block-size`. */
6
+ const PROGRESS_SIZE = {
7
+ small: 'small',
8
+ medium: 'medium',
9
+ };
10
+ /** The maximum of a bar when `max` is unset or invalid. */
11
+ const PROGRESS_DEFAULT_MAX = 100;
12
+ const sizes = new Set(Object.values(PROGRESS_SIZE));
13
+ const isProgressSize = (value) => typeof value === 'string' && sizes.has(value);
14
+ /**
15
+ * Resolves `value` and `max` the way the native element would, except that an invalid `max` becomes
16
+ * 100 (the native element treats it as 1, which would turn `value="40"` into a full bar). `undefined`
17
+ * and `null` (a removed attribute) mean "unset": `max` is 100 with no warning, `value` is indeterminate.
18
+ */
19
+ function resolveProgress(value, max) {
20
+ const unsetMax = max === undefined || max === null;
21
+ const parsedMax = unsetMax ? PROGRESS_DEFAULT_MAX : Number(max);
22
+ const invalidMax = !unsetMax && (!Number.isFinite(parsedMax) || parsedMax <= 0);
23
+ const usableMax = unsetMax || invalidMax ? PROGRESS_DEFAULT_MAX : parsedMax;
24
+ const unsetValue = value === undefined || value === null || value === '';
25
+ const parsedValue = unsetValue ? Number.NaN : Number(value);
26
+ if (!Number.isFinite(parsedValue)) {
27
+ return { indeterminate: true, value: null, max: usableMax, ratio: null, invalidMax };
28
+ }
29
+ const clamped = Math.min(Math.max(parsedValue, 0), usableMax);
30
+ return {
31
+ indeterminate: false,
32
+ value: clamped,
33
+ max: usableMax,
34
+ ratio: clamped / usableMax,
35
+ invalidMax,
36
+ };
37
+ }
38
+ /** A whole localized percent of `ratio` (0 to 1), for example `41%` in `en`. */
39
+ function formatProgressPercent(ratio, locale) {
40
+ return new Intl.NumberFormat(locale, { style: 'percent', maximumFractionDigits: 0 }).format(ratio);
41
+ }
42
+
43
+ const auProgressCss = () => `:host{display:block}:host([hidden]){display:none}.progress{display:flex;flex-direction:column;gap:var(--aurora-progress-gap, 0.375rem)}.progress__header{align-items:baseline;display:flex;gap:0.75rem;justify-content:space-between}.progress__label,.progress__value{font-family:var(--aurora-font-family-body, inherit);font-size:var(--aurora-progress-font-size, var(--aurora-font-size-sm, 0.875rem));line-height:1.4}.progress__label{color:var(--aurora-progress-label-color, var(--aurora-color-text, #202733));font-weight:var(--aurora-font-weight-medium, 500)}.progress__value{color:var(--aurora-progress-value-color, var(--aurora-color-text-muted, #566273));font-variant-numeric:tabular-nums;margin-inline-start:auto}progress{--_fill:var(--aurora-progress-fill, var(--aurora-color-primary, #3157a4));--_track:var( --aurora-progress-track, color-mix(in srgb, var(--aurora-color-text, #202733) 12%, var(--aurora-color-canvas, #ffffff)) );--_radius:var(--aurora-progress-radius, var(--aurora-radius-pill, 999px));--_duration:var( --aurora-progress-transition-duration, var(--aurora-motion-duration-normal, 180ms) );appearance:none;background-color:var(--_track);block-size:var(--aurora-progress-block-size, 0.5rem);border:0;border-radius:var(--_radius);box-sizing:border-box;color:var(--_fill);display:block;inline-size:100%;overflow:hidden}.progress--small progress{block-size:var(--aurora-progress-block-size, 0.25rem)}progress::-webkit-progress-bar{background-color:var(--_track);border-radius:var(--_radius)}progress::-webkit-progress-value{background-color:var(--_fill);border-radius:var(--_radius);transition-duration:var(--_duration);transition-property:inline-size;transition-timing-function:ease}progress::-moz-progress-bar{background-color:var(--_fill);border-radius:var(--_radius);transition-duration:var(--_duration);transition-property:inline-size;transition-timing-function:ease}progress:indeterminate::-webkit-progress-bar{animation-duration:var(--aurora-progress-indeterminate-duration, 1.5s);animation-iteration-count:infinite;animation-name:au-progress-slide;animation-timing-function:ease-in-out;background-image:linear-gradient(var(--_fill), var(--_fill));background-repeat:no-repeat;background-size:40% 100%}progress:indeterminate::-moz-progress-bar{animation-duration:var(--aurora-progress-indeterminate-duration, 1.5s);animation-iteration-count:infinite;animation-name:au-progress-slide;animation-timing-function:ease-in-out;background-color:transparent;background-image:linear-gradient(var(--_fill), var(--_fill));background-repeat:no-repeat;background-size:40% 100%}progress:indeterminate:dir(rtl)::-webkit-progress-bar{animation-name:au-progress-slide-rtl}progress:indeterminate:dir(rtl)::-moz-progress-bar{animation-name:au-progress-slide-rtl}@keyframes au-progress-slide{from{background-position-x:-66.67%}to{background-position-x:166.67%}}@keyframes au-progress-slide-rtl{from{background-position-x:166.67%}to{background-position-x:-66.67%}}@media (prefers-reduced-motion: reduce){progress::-webkit-progress-value{transition-duration:0s}progress::-moz-progress-bar{transition-duration:0s}progress:indeterminate::-webkit-progress-bar{animation-name:none;background-image:repeating-linear-gradient(45deg, var(--_fill) 0 0.25rem, transparent 0.25rem 0.5rem);background-position:0 0;background-repeat:repeat;background-size:auto}progress:indeterminate::-moz-progress-bar{animation-name:none;background-image:repeating-linear-gradient(45deg, var(--_fill) 0 0.25rem, transparent 0.25rem 0.5rem);background-position:0 0;background-repeat:repeat;background-size:auto}progress:indeterminate:dir(rtl)::-webkit-progress-bar{animation-name:none}progress:indeterminate:dir(rtl)::-moz-progress-bar{animation-name:none}}@media (forced-colors: active){progress{--_fill:Highlight;--_track:Canvas;border:1px solid CanvasText;forced-color-adjust:none}}`;
44
+
45
+ const AuProgress = class {
46
+ constructor(hostRef) {
47
+ registerInstance(this, hostRef);
48
+ }
49
+ get host() { return getElement(this); }
50
+ /** The accessible name (required). Shown above the bar, or kept as the bar's `aria-label` with `hide-label`. A host `aria-label` is not forwarded. */
51
+ label;
52
+ /** Hides the visible label; the name stays on the bar as `aria-label`. */
53
+ hideLabel = false;
54
+ /** The current value, clamped to `[0, max]`. Unset, empty or not a finite number is indeterminate (no value). */
55
+ value;
56
+ /** The maximum, 100 by default. A value that is not a number above zero renders 100 and warns once. */
57
+ max = 100;
58
+ /** Text for `aria-valuetext` and for the visible readout (for example `2 of 5 steps`). Blank means none. */
59
+ valueText;
60
+ /** Shows a visible, `aria-hidden` readout: `value-text` when set, else the localized percent. */
61
+ showValue = false;
62
+ /** `small` (0.25rem) or `medium` (0.5rem); any other thickness is `--aurora-progress-block-size`. */
63
+ size = PROGRESS_SIZE.medium;
64
+ componentWillRender() {
65
+ this.warnAboutProperties();
66
+ }
67
+ warn(key, message) {
68
+ warnOncePerDocument(this.host.ownerDocument, `au-progress:${key}`, `[au-progress] ${message}`);
69
+ }
70
+ warnAboutProperties() {
71
+ if ((this.label ?? '').trim() === '') {
72
+ this.warn('missing-label', 'A progress bar needs an accessible name. Set the "label" attribute (add "hide-label" to keep it invisible); a host aria-label is not forwarded.');
73
+ }
74
+ if (!isProgressSize(this.size)) {
75
+ this.warn('size', `Unsupported size ${JSON.stringify(this.size)}; it renders as "medium". Use "small" or "medium".`);
76
+ }
77
+ if (resolveProgress(this.value, this.max).invalidMax) {
78
+ this.warn('max', `Unsupported max ${JSON.stringify(this.max)}; it renders as ${PROGRESS_DEFAULT_MAX}. Use a number above zero.`);
79
+ }
80
+ }
81
+ get safeSize() {
82
+ return isProgressSize(this.size) ? this.size : PROGRESS_SIZE.medium;
83
+ }
84
+ /** The `lang` of the nearest ancestor that has one, else the runtime default. */
85
+ get locale() {
86
+ return this.host.closest('[lang]')?.getAttribute('lang') || undefined;
87
+ }
88
+ render() {
89
+ const state = resolveProgress(this.value, this.max);
90
+ const label = (this.label ?? '').trim();
91
+ const valueText = (this.valueText ?? '').trim();
92
+ const visibleLabel = !this.hideLabel && label !== '';
93
+ let readout = '';
94
+ if (this.showValue) {
95
+ if (valueText !== '')
96
+ readout = valueText;
97
+ else if (state.ratio !== null)
98
+ readout = formatProgressPercent(state.ratio, this.locale);
99
+ }
100
+ return (h(Host, { key: '1e08b9730fd3d94b0c79dfe52d12631db83b1909' }, h("span", { key: 'a6f42c6ed4f6b3dc985c6805bcb823a87edf535e', part: "base", class: `progress progress--${this.safeSize}${state.indeterminate ? ' progress--indeterminate' : ''}` }, (visibleLabel || readout !== '') && (h("span", { key: 'ef416abfa75e9adcb98752018e65432aad663f36', part: "header", class: "progress__header" }, visibleLabel && (h("label", { key: '62d95f5d78a069e41d37891406381d3ea534ec19', part: "label", class: "progress__label", htmlFor: "progress" }, label)), readout !== '' && (h("span", { key: 'e7cd0f6c8d8b868511745b2e87f42b1165a38e70', part: "value", class: "progress__value", "aria-hidden": "true" }, readout)))), h("progress", { key: '4c25bf50028817550e8b988b4ec32b7c4ba30224', part: "progress", id: "progress", max: state.max, ...(state.value !== null ? { value: state.value } : {}), ...(this.hideLabel && label !== '' ? { 'aria-label': label } : {}), ...(valueText !== '' ? { 'aria-valuetext': valueText } : {}) }))));
101
+ }
102
+ };
103
+ AuProgress.style = auProgressCss();
104
+
105
+ export { AuProgress as au_progress };
@@ -312,16 +312,16 @@ const AuRadioGroup = class {
312
312
  'aria-invalid': this.isInvalid ? 'true' : undefined,
313
313
  'aria-disabled': this.isDisabled ? 'true' : undefined,
314
314
  });
315
- return (h(Host, { key: '41bb79026260a5e3b7792eaeb81a2836195ff502', class: {
315
+ return (h(Host, { key: 'e5b2a4c3849afe2edd0e4768630b228297d8f44b', class: {
316
316
  'radio-group-host--disabled': this.isDisabled,
317
317
  'radio-group-host--invalid': this.isInvalid,
318
- } }, h("div", { key: '867b0dd6d264013f13fd62574316e5a96c111454', part: "base", class: {
318
+ } }, h("div", { key: 'e9ed2d9d75da34c027abf39ce7bba644cb7d29e0', part: "base", class: {
319
319
  'radio-group': true,
320
320
  'radio-group--vertical': this.safeOrientation === RADIO_GROUP_ORIENTATIONS.vertical,
321
321
  'radio-group--horizontal': this.safeOrientation === RADIO_GROUP_ORIENTATIONS.horizontal,
322
322
  'radio-group--disabled': this.isDisabled,
323
323
  'radio-group--invalid': this.isInvalid,
324
- } }, labelText ? (h("span", { class: "radio-group__label", part: "label", id: this.labelId }, labelText, this.required ? (h("span", { class: "radio-group__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: '0c1ddc73fdfe2bfabd71702b3e9cd39f16ec652f', class: "radio-group__items", part: "group", role: "radiogroup", ...groupAttributes }, h("slot", { key: 'ada66eafe4fda076041d180d49b8b106718fc2b9', ref: (element) => {
324
+ } }, labelText ? (h("span", { class: "radio-group__label", part: "label", id: this.labelId }, labelText, this.required ? (h("span", { class: "radio-group__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'b57af36d4562ca05e3191be1e709546a367e2a40', class: "radio-group__items", part: "group", role: "radiogroup", ...groupAttributes }, h("slot", { key: '68cd16e19fe0e236d172bba442dd21f6c3cebf01', ref: (element) => {
325
325
  this.slotElement = element;
326
326
  }, onSlotchange: this.handleSlotChange })), hintText ? (h("p", { class: "radio-group__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "radio-group__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
327
327
  }
@@ -24,7 +24,7 @@ const AuRadio = class {
24
24
  dispatchItemUpdate(this.host);
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '7096091ee923ec5c4e4efd8ffc5a09b108c72863', role: "radio", "aria-checked": this.checked ? 'true' : 'false' }, h("span", { key: '5230967d5606eb10ce31ec6edbed6f700d3d0042', class: "radio__indicator", part: "indicator", "aria-hidden": "true" }), h("span", { key: '1cf56f5756ed76eab1aaf407f7814d8cc4133e63', class: "radio__text", part: "text" }, h("slot", { key: 'aff47d4318e253c9a8fe3291aa193dad864620e2' }, this.label?.trim()))));
27
+ return (h(Host, { key: 'dfba44e0d18c95c11b1d7543c94000a4d398ec9a', role: "radio", "aria-checked": this.checked ? 'true' : 'false' }, h("span", { key: '31e017244bfece35e6f8d8740f38e4801c6271b2', class: "radio__indicator", part: "indicator", "aria-hidden": "true" }), h("span", { key: '023774ef3aac9b82994757416b4057c9af45bc84', class: "radio__text", part: "text" }, h("slot", { key: 'ad4cd149fe9c93f8db8ca0fe100e4c274f5650ca' }, this.label?.trim()))));
28
28
  }
29
29
  static get watchers() { return {
30
30
  "value": [{
@@ -498,10 +498,10 @@ const AuSegmentedControl = class {
498
498
  });
499
499
  const orientation = this.safeOrientation;
500
500
  const size = this.safeSize;
501
- return (h(Host, { key: 'fca5f3c084138258e44da923aad272912de60569', class: {
501
+ return (h(Host, { key: 'd219d8f355112113f72810ffe7ddb31d7e724091', class: {
502
502
  'segmented-control-host--disabled': this.isDisabled,
503
503
  'segmented-control-host--invalid': this.isInvalid,
504
- } }, h("div", { key: '86b2b1d5d27f2bb8ba36df7ce36ea310e5cc6a04', part: "base", class: {
504
+ } }, h("div", { key: '643e72d2f954391d3f520d355a6e31c62eb942bf', part: "base", class: {
505
505
  'segmented-control': true,
506
506
  'segmented-control--horizontal': orientation === SEGMENTED_CONTROL_ORIENTATION.horizontal,
507
507
  'segmented-control--vertical': orientation === SEGMENTED_CONTROL_ORIENTATION.vertical,
@@ -511,7 +511,7 @@ const AuSegmentedControl = class {
511
511
  'segmented-control--multiple': this.multiple,
512
512
  'segmented-control--disabled': this.isDisabled,
513
513
  'segmented-control--invalid': this.isInvalid,
514
- } }, labelText ? (h("span", { class: "segmented-control__label", part: "label", id: this.labelId }, labelText, radioMode && this.required ? (h("span", { class: "segmented-control__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'bcd79028fe51f7669ea9e47a96092c1ebc573a88', class: "segmented-control__items", part: "group", role: radioMode ? 'radiogroup' : 'group', ...groupAttributes }, h("slot", { key: '496dc2bc7b92b654238c943b3113ab066e35f195', ref: (element) => {
514
+ } }, labelText ? (h("span", { class: "segmented-control__label", part: "label", id: this.labelId }, labelText, radioMode && this.required ? (h("span", { class: "segmented-control__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'c5b49155cb91b99ae50a703018d71295ae7b9dba', class: "segmented-control__items", part: "group", role: radioMode ? 'radiogroup' : 'group', ...groupAttributes }, h("slot", { key: '839030d95f260f9fdb804c9382806c23997f4867', ref: (element) => {
515
515
  this.slotElement = element;
516
516
  }, onSlotchange: this.handleSlotChange })), hintText ? (h("p", { class: "segmented-control__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "segmented-control__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
517
517
  }
@@ -51,7 +51,7 @@ const AuSegmentedOption = class {
51
51
  render() {
52
52
  const toggle = this.mode === SEGMENTED_OPTION_MODE.toggle && isSegmentedOptionMode(this.mode);
53
53
  const state = this.selected ? 'true' : 'false';
54
- return (h(Host, { key: '07da9cdfa022e9cb1a481853e43af3d2e77beffe', role: toggle ? 'button' : 'radio', "aria-checked": toggle ? undefined : state, "aria-pressed": toggle ? state : undefined }, h("span", { key: '0b42fc22e1b781fe91ac046b7214b5203e931dc8', class: "segmented-option__content", part: "content" }, h("span", { key: 'd2075aee6ea038946bd8990a0bdd900532267c5a', class: "segmented-option__start", part: "start" }, h("slot", { key: '1c963c194970808cd6ea61d933a376e286994dce', name: "start" })), h("span", { key: 'a65012ae58c1e8e8ba245eb285755cc017af7d99', class: "segmented-option__label", part: "label" }, h("slot", { key: 'a631b53000ae4eb4bac14201891314c3f647a52e', onSlotchange: this.handleSlotChange }, this.label?.trim())))));
54
+ return (h(Host, { key: '3a54770a2c3750bba62c7aaf873506cff3a4ff09', role: toggle ? 'button' : 'radio', "aria-checked": toggle ? undefined : state, "aria-pressed": toggle ? state : undefined }, h("span", { key: '30595b6f64d71f74e65bc5d6a6d80a91dd680b93', class: "segmented-option__content", part: "content" }, h("span", { key: '439234c1130f99e754c83868c88b270cc6f37438', class: "segmented-option__start", part: "start" }, h("slot", { key: 'b60e9d2bade3674fefb61b4c31a49b5d7fb9a801', name: "start" })), h("span", { key: 'bf942ceccb6eda637e599d75645a04e66032fa24', class: "segmented-option__label", part: "label" }, h("slot", { key: '9c6fe9870cd11ecc089f4b8e53a114c82439d056', onSlotchange: this.handleSlotChange }, this.label?.trim())))));
55
55
  }
56
56
  static get watchers() { return {
57
57
  "value": [{
@@ -309,18 +309,18 @@ const AuSelect = class {
309
309
  'aria-invalid': this.isInvalid ? 'true' : undefined,
310
310
  'aria-describedby': this.descriptionIds,
311
311
  });
312
- return (h(Host, { key: 'd7060b3db5be1fe65b3bb192a362811bbf21b5b0', class: {
312
+ return (h(Host, { key: 'cf28532c53752b1aafe83e1f621c4d3cb41dc88d', class: {
313
313
  'select-host--disabled': selectDisabled,
314
314
  'select-host--invalid': this.isInvalid,
315
- } }, h("div", { key: '61527b4144b84015cfd337c48062119246a2dded', class: {
315
+ } }, h("div", { key: 'c6791c4a7d9f04c74186ef73a54e60a6fd9c0061', class: {
316
316
  select: true,
317
317
  [`select--${this.safeSize}`]: true,
318
318
  'select--disabled': selectDisabled,
319
319
  'select--focused': this.focused,
320
320
  'select--invalid': this.isInvalid,
321
- } }, labelText ? (h("label", { class: "select__label", part: "label", htmlFor: this.selectId }, h("span", null, labelText), this.required ? (h("span", { class: "select__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'bb559af9b14ae571ede937ff91dd3dce6e60f316', class: "select__field" }, h("select", { key: 'a4c6f485b77ca7d1915f3832d5545141c001ea31', ref: (element) => {
321
+ } }, labelText ? (h("label", { class: "select__label", part: "label", htmlFor: this.selectId }, h("span", null, labelText), this.required ? (h("span", { class: "select__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: '0d82e0b4497ae4b7840bd873cef079ddac5c6b72', class: "select__field" }, h("select", { key: '4e29398fda698a0e1b0f178357c56a2c63aa6dfc', ref: (element) => {
322
322
  this.selectElement = element;
323
- }, id: this.selectId, class: "select__control", part: "control", required: this.required, disabled: selectDisabled, ...nativeSelectAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }, this.options.map((node, index) => this.renderOption(node, index))), h("span", { key: 'c848a9b7c7535c2e8ddcc911cdc592e1b28a0290', class: "select__chevron", part: "chevron", "aria-hidden": "true" })), hintText ? (h("p", { class: "select__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "select__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
323
+ }, id: this.selectId, class: "select__control", part: "control", required: this.required, disabled: selectDisabled, ...nativeSelectAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }, this.options.map((node, index) => this.renderOption(node, index))), h("span", { key: '0386dd0e8ac9ba6a824e9087df3ddb33ec1fefc2', class: "select__chevron", part: "chevron", "aria-hidden": "true" })), hintText ? (h("p", { class: "select__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "select__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
324
324
  }
325
325
  static get formAssociated() { return true; }
326
326
  static get watchers() { return {
@@ -168,7 +168,7 @@ const AuSidebarNav = class {
168
168
  }
169
169
  render() {
170
170
  const label = this.label?.trim() || SIDEBAR_NAV_DEFAULT_LABEL;
171
- return (h("nav", { key: 'bdd456480888e7a79a943a3b4a340975df89cdca', part: "nav", class: "sidebar", "aria-label": label }, h("div", { key: '7dd84b056f7dd47414db948aff4459fff4c227a7', part: "items", class: "sidebar__items" }, h("slot", { key: '63100e3f5f55ce47279e67426e2b4a56c32ce5e0' }))));
171
+ return (h("nav", { key: '8ec85d86ab710d75144ca718e7071724ef0812cd', part: "nav", class: "sidebar", "aria-label": label }, h("div", { key: 'd413b8af9075975327703a1870eb404967d8df92', part: "items", class: "sidebar__items" }, h("slot", { key: 'd0f0e8a97f9425f8024d0ba3349f5c342a3f6a56' }))));
172
172
  }
173
173
  };
174
174
  AuSidebarNav.style = auSidebarNavCss();