@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,159 @@
1
+ import { h } from "@stencil/core";
2
+ import { warnOncePerDocument } from "../../../shared/warn-once.js";
3
+ import { SKELETON_ANIMATION, SKELETON_SHAPE, isSkeletonAnimation, isSkeletonShape, normalizeSkeletonLines, } from "./au-skeleton.constants.js";
4
+ /**
5
+ * A decorative placeholder for content that is still loading: text bars (`lines`), a circle or a
6
+ * rectangle, with a shimmer that is static under reduced motion. It is hidden from assistive
7
+ * technology (the host always carries `aria-hidden="true"`, and never a role): the loading
8
+ * semantics belong to the consumer's region (`aria-busy`) and to a message through `announce()`.
9
+ */
10
+ export class AuSkeleton {
11
+ host;
12
+ /** What the placeholder stands in for: `text` (lines), `circle` (an avatar) or `rect` (media or a card block). An unsupported value renders `text` and warns once. */
13
+ shape = SKELETON_SHAPE.text;
14
+ /** The number of lines of a `text` skeleton, from 1 to 20; the last of several is shorter. Ignored for `circle` and `rect`. An invalid value renders one line (or twenty when too large) and warns once. */
15
+ lines = 1;
16
+ /** `shimmer` moves a highlight across the bars; `none` is static. Reduced motion is always static. An unsupported value renders `shimmer` and warns once. */
17
+ animation = SKELETON_ANIMATION.shimmer;
18
+ componentWillLoad() {
19
+ this.syncHidden();
20
+ }
21
+ componentWillRender() {
22
+ this.warnAboutProperties();
23
+ }
24
+ /**
25
+ * The host is always decorative (SK-D2). Stencil diffs against the previous vnode, not the live
26
+ * DOM, so `<Host aria-hidden>` would not undo a later consumer write; the attribute is written
27
+ * imperatively after every render instead.
28
+ */
29
+ componentDidRender() {
30
+ this.syncHidden();
31
+ }
32
+ syncHidden() {
33
+ this.host.setAttribute('aria-hidden', 'true');
34
+ }
35
+ get safeShape() {
36
+ return isSkeletonShape(this.shape) ? this.shape : SKELETON_SHAPE.text;
37
+ }
38
+ get safeAnimation() {
39
+ return isSkeletonAnimation(this.animation) ? this.animation : SKELETON_ANIMATION.shimmer;
40
+ }
41
+ warn(key, message) {
42
+ warnOncePerDocument(this.host.ownerDocument, `au-skeleton:${key}`, `[au-skeleton] ${message}`);
43
+ }
44
+ warnAboutProperties() {
45
+ if (!isSkeletonShape(this.shape)) {
46
+ this.warn('shape', `Unsupported shape ${JSON.stringify(this.shape)}; it renders as "text". Use "text", "circle" or "rect".`);
47
+ }
48
+ if (!isSkeletonAnimation(this.animation)) {
49
+ this.warn('animation', `Unsupported animation ${JSON.stringify(this.animation)}; it renders as "shimmer". Use "shimmer" or "none".`);
50
+ }
51
+ // `lines` only means something for a text skeleton (SK-D4).
52
+ if (this.safeShape === SKELETON_SHAPE.text && normalizeSkeletonLines(this.lines).invalid) {
53
+ this.warn('lines', `Unsupported lines ${JSON.stringify(this.lines)}; use an integer from 1 to 20. It renders as one line, or twenty when larger.`);
54
+ }
55
+ }
56
+ renderLines() {
57
+ const { lines } = normalizeSkeletonLines(this.lines);
58
+ return Array.from({ length: lines }, (_, index) => {
59
+ const last = lines > 1 && index === lines - 1;
60
+ return (h("span", { part: last ? 'line line-last' : 'line', class: `skeleton__line${last ? ' skeleton__line--last' : ''}` }));
61
+ });
62
+ }
63
+ render() {
64
+ const shape = this.safeShape;
65
+ const motion = this.safeAnimation === SKELETON_ANIMATION.none ? 'static' : 'shimmer';
66
+ return (h("span", { key: '6a0924fdece21086972f228c24f5ae36a751ae46', part: "base", class: `skeleton skeleton--${shape} skeleton--${motion}` }, shape === SKELETON_SHAPE.text && this.renderLines()));
67
+ }
68
+ static get is() { return "au-skeleton"; }
69
+ static get encapsulation() { return "shadow"; }
70
+ static get originalStyleUrls() {
71
+ return {
72
+ "$": ["au-skeleton.scss"]
73
+ };
74
+ }
75
+ static get styleUrls() {
76
+ return {
77
+ "$": ["au-skeleton.css"]
78
+ };
79
+ }
80
+ static get properties() {
81
+ return {
82
+ "shape": {
83
+ "type": "string",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "SkeletonShape",
87
+ "resolved": "\"circle\" | \"rect\" | \"text\"",
88
+ "references": {
89
+ "SkeletonShape": {
90
+ "location": "import",
91
+ "path": "./au-skeleton.constants",
92
+ "id": "src/components/feedback/au-skeleton/au-skeleton.constants.ts::SkeletonShape",
93
+ "referenceLocation": "SkeletonShape"
94
+ }
95
+ }
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": "What the placeholder stands in for: `text` (lines), `circle` (an avatar) or `rect` (media or a card block). An unsupported value renders `text` and warns once."
102
+ },
103
+ "getter": false,
104
+ "setter": false,
105
+ "reflect": true,
106
+ "attribute": "shape",
107
+ "defaultValue": "'text'"
108
+ },
109
+ "lines": {
110
+ "type": "number",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "number",
114
+ "resolved": "number",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "The number of lines of a `text` skeleton, from 1 to 20; the last of several is shorter. Ignored for `circle` and `rect`. An invalid value renders one line (or twenty when too large) and warns once."
122
+ },
123
+ "getter": false,
124
+ "setter": false,
125
+ "reflect": false,
126
+ "attribute": "lines",
127
+ "defaultValue": "1"
128
+ },
129
+ "animation": {
130
+ "type": "string",
131
+ "mutable": false,
132
+ "complexType": {
133
+ "original": "SkeletonAnimation",
134
+ "resolved": "\"none\" | \"shimmer\"",
135
+ "references": {
136
+ "SkeletonAnimation": {
137
+ "location": "import",
138
+ "path": "./au-skeleton.constants",
139
+ "id": "src/components/feedback/au-skeleton/au-skeleton.constants.ts::SkeletonAnimation",
140
+ "referenceLocation": "SkeletonAnimation"
141
+ }
142
+ }
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "`shimmer` moves a highlight across the bars; `none` is static. Reduced motion is always static. An unsupported value renders `shimmer` and warns once."
149
+ },
150
+ "getter": false,
151
+ "setter": false,
152
+ "reflect": true,
153
+ "attribute": "animation",
154
+ "defaultValue": "'shimmer'"
155
+ }
156
+ };
157
+ }
158
+ static get elementRef() { return "host"; }
159
+ }
@@ -0,0 +1,2 @@
1
+ export { AuSkeleton } from './au-skeleton.js';
2
+ export { SKELETON_ANIMATION, SKELETON_MAX_LINES, SKELETON_SHAPE } from './au-skeleton.constants.js';
@@ -52,7 +52,7 @@ export class AuToast {
52
52
  render() {
53
53
  const variant = this.safeVariant;
54
54
  const actionLabel = this.safeActionLabel;
55
- return (h("div", { key: 'fd004918aa02fa3d68709ced0d109414e91502d4', class: `toast toast--${variant}${this.hasTitle ? '' : ' toast--no-title'}`, part: "toast" }, h("span", { key: '0760139e4dad5ff7026342ff3905a0730bf80155', class: "toast__icon", part: "icon" }, h("au-icon", { key: '92de1e863c66ec9fe97d4cbe4ed7dabe32e6dcc6', icon: DEFAULT_ICONS[variant], decorative: true })), h("div", { key: '8eaba92967aef9b92c5176c357d1015b492896e0', class: "toast__content", part: "content" }, h("div", { key: '6e609bd345d14776cd92bcfc4ddd6c64d61f9003', class: "toast__title", part: "title" }, h("slot", { key: '31a58ae6c7b86a6bcf93cddcbc29d4975f8f970c', name: "title", onSlotchange: this.syncContent })), h("div", { key: '824655fe26f63469ff6d6b94c3b8bdbae6cf932a', class: "toast__message", part: "message" }, h("slot", { key: '5650e799ce113d56a34bba4515d0230029ef3ddc' }))), actionLabel && (h("button", { key: '15d8e05afae18bf3bfa8e8c56b3adb76711752e9', class: "toast__action", part: "action", type: "button", onClick: () => this.request('action') }, actionLabel)), h("button", { key: 'b7713b43d054e258b13c0ee74ba5a2e138ecc4ed', class: "toast__dismiss", part: "dismiss", type: "button", "aria-label": this.safeDismissLabel, onClick: () => this.request('dismiss-button') }, h("au-icon", { key: '1ae98b15dbaa6d83cfc556ea0cbbf3f9f6f4d13b', icon: CLOSE_ICON, decorative: true }))));
55
+ return (h("div", { key: '99d925db568adcd8b5556e30667753d3b7c0761a', class: `toast toast--${variant}${this.hasTitle ? '' : ' toast--no-title'}`, part: "toast" }, h("span", { key: '718123753578ce2909feee6d33044f0b51313505', class: "toast__icon", part: "icon" }, h("au-icon", { key: '5ad01963f50686948531f741aef9c286f1a73741', icon: DEFAULT_ICONS[variant], decorative: true })), h("div", { key: 'dcfa1d813f7edbdd804aa03dfd9bd40101e8d608', class: "toast__content", part: "content" }, h("div", { key: '2eb86d0a6075b83c26a8eaad026b4e5e8498cef8', class: "toast__title", part: "title" }, h("slot", { key: '28c3ef59cc4c3b4fc2c0e9f40a1fce808444d22b', name: "title", onSlotchange: this.syncContent })), h("div", { key: '1581406905e9a921154edbc14ea2d05f0e7a8367', class: "toast__message", part: "message" }, h("slot", { key: '27c1a7ba23a163be9901dbe23a61cee6e3eb1e75' }))), actionLabel && (h("button", { key: '353aa231aeb8538d31e616d85c0370c6ad485411', class: "toast__action", part: "action", type: "button", onClick: () => this.request('action') }, actionLabel)), h("button", { key: 'f0bc3d546d36c6fe9571c1cfbe3abcec58bdf79f', class: "toast__dismiss", part: "dismiss", type: "button", "aria-label": this.safeDismissLabel, onClick: () => this.request('dismiss-button') }, h("au-icon", { key: 'd47926560c6765105d4f84127a336329b6168823', icon: CLOSE_ICON, decorative: true }))));
56
56
  }
57
57
  static get is() { return "au-toast"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -429,7 +429,7 @@ export class AuToastRegion {
429
429
  }
430
430
  render() {
431
431
  const visible = this.queue.visible;
432
- return (h(Host, { key: '0f7ab33a6b4e5479b9f50b91ea45974e83879902' }, h("section", { key: 'd9de6e2e1ab2b25e6c9640deaac90aca1a7e9871', part: "stack", role: "region", "aria-label": this.safeLabel, hidden: visible.length === 0 }, visible.map((id) => {
432
+ return (h(Host, { key: '1ff9325b9484acfe0e500eb8feb094ddd665140f' }, h("section", { key: 'e914a9bcb25e211eb107eb78ce31abae5e46b9e7', part: "stack", role: "region", "aria-label": this.safeLabel, hidden: visible.length === 0 }, visible.map((id) => {
433
433
  const entry = this.queue.get(id);
434
434
  if (!entry)
435
435
  return null;
@@ -136,20 +136,20 @@ export class AuCheckbox {
136
136
  'aria-invalid': this.isInvalid ? 'true' : undefined,
137
137
  'aria-describedby': this.descriptionIds,
138
138
  });
139
- return (h(Host, { key: '98089b3dcee0484fa7ddba27750c3063052548b1', class: {
139
+ return (h(Host, { key: '4327d2c1afda0d8104dd03c47f0720b8a34426f0', class: {
140
140
  'checkbox-host--disabled': this.isDisabled,
141
141
  'checkbox-host--invalid': this.isInvalid,
142
- } }, h("div", { key: '4aebad634ef70eeaf7c3f17496e2a472b79c15a5', class: {
142
+ } }, h("div", { key: 'c881aa8e15f1f02ffe3e13dcdebb28de433db173', class: {
143
143
  checkbox: true,
144
144
  'checkbox--checked': this.checked,
145
145
  'checkbox--indeterminate': this.indeterminate,
146
146
  'checkbox--disabled': this.isDisabled,
147
147
  'checkbox--invalid': this.isInvalid,
148
- } }, h("label", { key: '9bd7e05758b67da986b88398842d41e39d50aaf9', class: "checkbox__label", part: "label" }, h("input", { key: '9ed2673b9d6a1ce0970f320c6fb1bb4c499c6858', ref: (element) => {
148
+ } }, h("label", { key: 'f20d816c4673c63e72070f3f708e23f734fe8240', class: "checkbox__label", part: "label" }, h("input", { key: '819b78d513821b4176637369cd170e095685bb75', ref: (element) => {
149
149
  this.inputElement = element;
150
150
  if (element && element.checked !== this.checked)
151
151
  element.checked = this.checked;
152
- }, id: this.checkboxId, class: "checkbox__control", part: "control", type: "checkbox", checked: this.checked, required: this.required, disabled: this.isDisabled, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange }), h("span", { key: '247a69410948dd28d55c587bbd574dd3bd8ed37d', class: "checkbox__indicator", part: "indicator", "aria-hidden": "true" }), h("span", { key: 'e8077a941716f521bc4858d28c3ac1fbca25f880', class: "checkbox__text", part: "text" }, h("slot", { key: 'd9e5f00e29b31190c19d4d80fdaa7552fcd8922c' }, labelText)), this.required ? (h("span", { class: "checkbox__required", "aria-hidden": "true" }, "*")) : null), hintText ? (h("p", { class: "checkbox__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "checkbox__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
152
+ }, id: this.checkboxId, class: "checkbox__control", part: "control", type: "checkbox", checked: this.checked, required: this.required, disabled: this.isDisabled, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange }), h("span", { key: 'e25134bba61c0481a5b273f1e8e58739bf5f2dd2', class: "checkbox__indicator", part: "indicator", "aria-hidden": "true" }), h("span", { key: 'e83d85f447c9b0dfa66d070e33d934cd7dcf4e8c', class: "checkbox__text", part: "text" }, h("slot", { key: '2ededa56a79de7deb14262804650ab3373fa850d' }, labelText)), this.required ? (h("span", { class: "checkbox__required", "aria-hidden": "true" }, "*")) : null), hintText ? (h("p", { class: "checkbox__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "checkbox__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
153
153
  }
154
154
  static get is() { return "au-checkbox"; }
155
155
  static get encapsulation() { return "shadow"; }
@@ -590,24 +590,24 @@ export class AuCombobox {
590
590
  'aria-activedescendant': activeIndex >= 0 ? this.optionId(activeIndex) : undefined,
591
591
  placeholder: this.placeholder,
592
592
  });
593
- return (h(Host, { key: '29821c887fa6f83d77f7776d5520babed29b5461', class: {
593
+ return (h(Host, { key: '07722eeb261d637f5eeaad4710fae7776025ba07', class: {
594
594
  'combobox-host--disabled': disabled,
595
595
  'combobox-host--invalid': this.isInvalid,
596
- } }, h("div", { key: '1379a9516f09edd43d99a22e84f2f708ee6239e0', class: {
596
+ } }, h("div", { key: 'f89a686ea4dae61260ee70a90dbdda5602e8cf15', class: {
597
597
  combobox: true,
598
598
  [`combobox--${this.safeSize}`]: true,
599
599
  'combobox--disabled': disabled,
600
600
  'combobox--focused': this.focused,
601
601
  'combobox--invalid': this.isInvalid,
602
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) => {
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: 'e586a620e7489d31f3c7d5520b0e05b8317749b2', class: "combobox__field", part: "field", ref: (element) => {
604
604
  this.fieldElement = element;
605
- }, onClick: this.handleFieldClick }, h("input", { key: 'bc183465ee678698b368d34ba829baf2fdc9bf07', ref: (element) => {
605
+ }, onClick: this.handleFieldClick }, h("input", { key: '0fa18903fbdd8327d1f81144a4371ec036de3480', ref: (element) => {
606
606
  this.inputElement = element;
607
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) => {
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: 'ec98ee0748f13d274ab382ad7f88b3f1ee2622d6', class: "combobox__chevron", part: "chevron", "aria-hidden": "true" })), h("div", { key: '4e369fec3287550623935db90f48bf20e3c403cb', class: "combobox__popup", part: "popup", popover: "manual", hidden: !this.support.popover && !isOpen, ref: (element) => {
609
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)));
610
+ }, onPointerDown: this.handlePopupPointerDown }, h("div", { key: '132b183f3d97285b4cc3e5ac83b68242c69ba318', 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: '2ac72729768f1f4f1b4eeab9071b7011d819c9b7', 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
611
  }
612
612
  static get is() { return "au-combobox"; }
613
613
  static get encapsulation() { return "shadow"; }
@@ -169,7 +169,7 @@ export class AuField {
169
169
  }
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: 'b0fe1cc92c04accaad1df65998dd4a328a3bd458' }, h("div", { key: '0ee20167af7e7fb6ad4a7390f8a6505f1b813a07', class: "field", part: "base" }, h("div", { key: '2fa5e4d72a955f358d53286adf17c5c8c83dbe0f', class: { field__label: true, 'field__label--empty': !this.hasLabel }, part: "label" }, h("slot", { key: '6c9f0f4348572ea55f198d1c9826f59378d342cf', name: "label", onSlotchange: this.wire }), this.required ? (h("span", { class: "field__required", part: "required", "aria-hidden": "true" }, "*")) : null), h("div", { key: '1e62e851174ec4c15fefa841af156b1e703c2854', class: "field__control", part: "control" }, h("slot", { key: 'db33b8d295e4dcf2483819e392d89d82477f8cd3', onSlotchange: this.wire })), h("div", { key: 'bea2d9501ba61522ac2750272e2b322e72bc395c', class: { field__hint: true, 'field__hint--empty': !this.hasHint }, part: "hint" }, h("slot", { key: 'ff767bd1bf5fdbc5700328f67838018d9b2c757b', name: "hint", onSlotchange: this.wire })), h("div", { key: 'cd04ea8f3680ab2dd272f9223589b9fec8d385f0', class: { field__error: true, 'field__error--empty': !this.hasError }, part: "error", "aria-live": "polite" }, h("slot", { key: '1bc303cf7ed96138ea930d99fd93f770b4748d6c', name: "error", onSlotchange: this.wire })))));
172
+ return (h(Host, { key: '0d62d37b31c5b4cf9e571987c754bed309dbeffb' }, h("div", { key: '99892cec930c17de3c5bb712b0c71f23383691b4', class: "field", part: "base" }, h("div", { key: '12a8a21c1007bb7ad755908aac9abad3119075bc', class: { field__label: true, 'field__label--empty': !this.hasLabel }, part: "label" }, h("slot", { key: '677ad49abc0357b91d3544cf54a23c1455d3f36b', name: "label", onSlotchange: this.wire }), this.required ? (h("span", { class: "field__required", part: "required", "aria-hidden": "true" }, "*")) : null), h("div", { key: 'fcab1f09379c31688e53298bc7b65d0d73d473f9', class: "field__control", part: "control" }, h("slot", { key: 'dc96e0df3dabb372073e19b1cd5a7952ea22e0f0', onSlotchange: this.wire })), h("div", { key: 'ac5da48c9dadade0114aeb302e95564a78826d5b', class: { field__hint: true, 'field__hint--empty': !this.hasHint }, part: "hint" }, h("slot", { key: 'dcb4424d83ff22d31fb7b8262f169d0629787169', name: "hint", onSlotchange: this.wire })), h("div", { key: '73476068614c0636cfc7c0f63fb66d8105446abb', class: { field__error: true, 'field__error--empty': !this.hasError }, part: "error", "aria-live": "polite" }, h("slot", { key: '1b7fc34d908f6fc605c108f0851db167121a809f', name: "error", onSlotchange: this.wire })))));
173
173
  }
174
174
  static get is() { return "au-field"; }
175
175
  static get encapsulation() { return "shadow"; }
@@ -219,32 +219,32 @@ export class AuInput {
219
219
  'aria-invalid': this.isInvalid ? 'true' : undefined,
220
220
  'aria-describedby': this.descriptionIds,
221
221
  });
222
- return (h(Host, { key: '41dac397338dedc74e601fbaca78845a0de1d408', class: {
222
+ return (h(Host, { key: '314d770ba3953f7291f88ad3fd5747915e80f3b1', class: {
223
223
  'input-host--disabled': inputDisabled,
224
224
  'input-host--invalid': this.isInvalid,
225
225
  'input-host--readonly': this.readOnly,
226
- } }, h("div", { key: 'd14b8143ca822d1ee049d61d488e983bdf378a56', class: {
226
+ } }, h("div", { key: 'dbebef58831082651f00a76af8cfd970857a9e56', class: {
227
227
  input: true,
228
228
  [`input--${this.safeSize}`]: true,
229
229
  'input--disabled': inputDisabled,
230
230
  'input--focused': this.focused,
231
231
  'input--invalid': this.isInvalid,
232
232
  'input--readonly': this.readOnly,
233
- } }, labelText ? (h("label", { class: "input__label", part: "label", htmlFor: this.inputId }, h("span", null, labelText), this.required ? (h("span", { class: "input__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: '99c995393ee232ef2dbcb9e2b13dab52c5302498', class: "input__control-wrap", part: "control-wrap" }, h("span", { key: '2e777965fe84d385ae1adf220b33ff29d0f1e136', class: {
233
+ } }, labelText ? (h("label", { class: "input__label", part: "label", htmlFor: this.inputId }, h("span", null, labelText), this.required ? (h("span", { class: "input__required", "aria-hidden": "true" }, "*")) : null)) : null, h("div", { key: 'cd626c8e1cf6d3e1cbba975b0ddaeff248237fc8', class: "input__control-wrap", part: "control-wrap" }, h("span", { key: '461602ccac8386bed55d309f2d6b3a4dfae5ccf7', class: {
234
234
  input__adornment: true,
235
235
  'input__adornment--prefix': true,
236
236
  'input__adornment--empty': !this.hasPrefix,
237
- }, part: "prefix" }, h("slot", { key: '627066b9e7f2ecce30483dc5e95ae4f0b9b5d88c', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: 'd02902a1a410bb109f5a484905307d2a58c85780', ref: (element) => {
237
+ }, part: "prefix" }, h("slot", { key: '21a3247f8679ac6de0f4d3f99bfbb57b18f047d6', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: 'f3a5c5693ff0aaabf1416a2c57c2bcdf483b2659', ref: (element) => {
238
238
  this.inputElement = element;
239
239
  if (!element)
240
240
  return;
241
241
  if (element.value !== this.value)
242
242
  element.value = this.value;
243
- }, id: this.inputId, class: "input__control", part: "control", type: this.safeType, required: this.required, disabled: inputDisabled, readOnly: this.readOnly, ...nativeInputAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("span", { key: '8c29412e20b688a9b60cf949c26611efefe19723', class: {
243
+ }, id: this.inputId, class: "input__control", part: "control", type: this.safeType, required: this.required, disabled: inputDisabled, readOnly: this.readOnly, ...nativeInputAttributes, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("span", { key: '7bc9b902935dbf50beaa5189546111c0b016be74', class: {
244
244
  input__adornment: true,
245
245
  'input__adornment--suffix': true,
246
246
  'input__adornment--empty': !this.hasSuffix,
247
- }, part: "suffix" }, h("slot", { key: '3c4b4f1894069f52189a13d897079c7480e85417', name: "suffix", onSlotchange: this.handleSuffixSlotChange }))), hintText ? (h("p", { class: "input__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "input__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
247
+ }, part: "suffix" }, h("slot", { key: 'e65f06941e0e7b316717d881246ba21a56caebc6', name: "suffix", onSlotchange: this.handleSuffixSlotChange }))), hintText ? (h("p", { class: "input__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "input__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
248
248
  }
249
249
  static get is() { return "au-input"; }
250
250
  static get encapsulation() { return "shadow"; }
@@ -232,24 +232,24 @@ export class AuNumberInput {
232
232
  'aria-invalid': this.isInvalid ? 'true' : undefined,
233
233
  'aria-describedby': this.descriptionIds,
234
234
  });
235
- return (h(Host, { key: 'a0d4add84d104d616715f398a64826bc195af1c4', class: {
235
+ return (h(Host, { key: '1266ef5d5f56ca8d16e058ccfc3ccaeff827ba9d', class: {
236
236
  'number-input-host--disabled': disabled,
237
237
  'number-input-host--invalid': this.isInvalid,
238
238
  'number-input-host--readonly': this.readOnly,
239
- } }, h("div", { key: '2e565a53ee46d6d5f308d2a97e6fc6a9c175a434', class: {
239
+ } }, h("div", { key: 'c532f5dfb264a026d1e3624a26d93f95805a1273', class: {
240
240
  'number-input': true,
241
241
  [`number-input--${this.safeSize}`]: true,
242
242
  'number-input--disabled': disabled,
243
243
  'number-input--focused': this.focused,
244
244
  'number-input--invalid': this.isInvalid,
245
245
  'number-input--readonly': this.readOnly,
246
- } }, 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) => {
246
+ } }, 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) => {
247
247
  this.inputElement = element;
248
248
  if (!element)
249
249
  return;
250
250
  if (element.value !== this.currentText)
251
251
  element.value = this.currentText;
252
- }, 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)));
252
+ }, 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)));
253
253
  }
254
254
  static get is() { return "au-number-input"; }
255
255
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class AuRadio {
16
16
  dispatchItemUpdate(this.host);
17
17
  }
18
18
  render() {
19
- 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()))));
19
+ 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()))));
20
20
  }
21
21
  static get is() { return "au-radio"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -290,16 +290,16 @@ export class AuRadioGroup {
290
290
  'aria-invalid': this.isInvalid ? 'true' : undefined,
291
291
  'aria-disabled': this.isDisabled ? 'true' : undefined,
292
292
  });
293
- return (h(Host, { key: '41bb79026260a5e3b7792eaeb81a2836195ff502', class: {
293
+ return (h(Host, { key: 'e5b2a4c3849afe2edd0e4768630b228297d8f44b', class: {
294
294
  'radio-group-host--disabled': this.isDisabled,
295
295
  'radio-group-host--invalid': this.isInvalid,
296
- } }, h("div", { key: '867b0dd6d264013f13fd62574316e5a96c111454', part: "base", class: {
296
+ } }, h("div", { key: 'e9ed2d9d75da34c027abf39ce7bba644cb7d29e0', part: "base", class: {
297
297
  'radio-group': true,
298
298
  'radio-group--vertical': this.safeOrientation === RADIO_GROUP_ORIENTATIONS.vertical,
299
299
  'radio-group--horizontal': this.safeOrientation === RADIO_GROUP_ORIENTATIONS.horizontal,
300
300
  'radio-group--disabled': this.isDisabled,
301
301
  'radio-group--invalid': this.isInvalid,
302
- } }, 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) => {
302
+ } }, 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) => {
303
303
  this.slotElement = element;
304
304
  }, 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)));
305
305
  }
@@ -482,10 +482,10 @@ export class AuSegmentedControl {
482
482
  });
483
483
  const orientation = this.safeOrientation;
484
484
  const size = this.safeSize;
485
- return (h(Host, { key: 'fca5f3c084138258e44da923aad272912de60569', class: {
485
+ return (h(Host, { key: 'd219d8f355112113f72810ffe7ddb31d7e724091', class: {
486
486
  'segmented-control-host--disabled': this.isDisabled,
487
487
  'segmented-control-host--invalid': this.isInvalid,
488
- } }, h("div", { key: '86b2b1d5d27f2bb8ba36df7ce36ea310e5cc6a04', part: "base", class: {
488
+ } }, h("div", { key: '643e72d2f954391d3f520d355a6e31c62eb942bf', part: "base", class: {
489
489
  'segmented-control': true,
490
490
  'segmented-control--horizontal': orientation === SEGMENTED_CONTROL_ORIENTATION.horizontal,
491
491
  'segmented-control--vertical': orientation === SEGMENTED_CONTROL_ORIENTATION.vertical,
@@ -495,7 +495,7 @@ export class AuSegmentedControl {
495
495
  'segmented-control--multiple': this.multiple,
496
496
  'segmented-control--disabled': this.isDisabled,
497
497
  'segmented-control--invalid': this.isInvalid,
498
- } }, 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) => {
498
+ } }, 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) => {
499
499
  this.slotElement = element;
500
500
  }, 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)));
501
501
  }
@@ -45,7 +45,7 @@ export class AuSegmentedOption {
45
45
  render() {
46
46
  const toggle = this.mode === SEGMENTED_OPTION_MODE.toggle && isSegmentedOptionMode(this.mode);
47
47
  const state = this.selected ? 'true' : 'false';
48
- 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())))));
48
+ 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())))));
49
49
  }
50
50
  static get is() { return "au-segmented-option"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -242,18 +242,18 @@ export class AuSelect {
242
242
  'aria-invalid': this.isInvalid ? 'true' : undefined,
243
243
  'aria-describedby': this.descriptionIds,
244
244
  });
245
- return (h(Host, { key: 'd7060b3db5be1fe65b3bb192a362811bbf21b5b0', class: {
245
+ return (h(Host, { key: 'cf28532c53752b1aafe83e1f621c4d3cb41dc88d', class: {
246
246
  'select-host--disabled': selectDisabled,
247
247
  'select-host--invalid': this.isInvalid,
248
- } }, h("div", { key: '61527b4144b84015cfd337c48062119246a2dded', class: {
248
+ } }, h("div", { key: 'c6791c4a7d9f04c74186ef73a54e60a6fd9c0061', class: {
249
249
  select: true,
250
250
  [`select--${this.safeSize}`]: true,
251
251
  'select--disabled': selectDisabled,
252
252
  'select--focused': this.focused,
253
253
  'select--invalid': this.isInvalid,
254
- } }, 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) => {
254
+ } }, 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) => {
255
255
  this.selectElement = element;
256
- }, 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)));
256
+ }, 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)));
257
257
  }
258
258
  static get is() { return "au-select"; }
259
259
  static get encapsulation() { return "shadow"; }
@@ -217,15 +217,15 @@ export class AuSlider {
217
217
  'aria-describedby': this.descriptionIds,
218
218
  'aria-valuetext': formatted ? formatted : undefined,
219
219
  });
220
- return (h(Host, { key: '8c2a74bddcb70265f42a27f60010e46192189c95', class: {
220
+ return (h(Host, { key: '3af341a80f2156043f60a881455ac37e819c5350', class: {
221
221
  'slider-host--disabled': disabled,
222
222
  'slider-host--invalid': this.isInvalid,
223
- } }, h("div", { key: '68270bb7896eb92341cb3e01d55645e15673cfb0', class: {
223
+ } }, h("div", { key: 'caaf6394be09f8527ff72478d3679a7293c6954e', class: {
224
224
  slider: true,
225
225
  [`slider--${orientation}`]: true,
226
226
  'slider--disabled': disabled,
227
227
  'slider--invalid': this.isInvalid,
228
- } }, labelText || this.showValue ? (h("div", { class: "slider__header" }, labelText ? (h("label", { class: "slider__label", part: "label", htmlFor: this.inputId }, labelText)) : null, this.showValue ? (h("span", { class: "slider__value", part: "value", "aria-hidden": "true" }, valueText)) : null)) : null, h("div", { key: '1eca73deac89f91b411f7b136e56ac15559b26b8', class: "slider__track-wrap" }, h("input", { key: '27e3773e3eac13cd3d201728a966c15c5fd536c7', ref: (element) => {
228
+ } }, labelText || this.showValue ? (h("div", { class: "slider__header" }, labelText ? (h("label", { class: "slider__label", part: "label", htmlFor: this.inputId }, labelText)) : null, this.showValue ? (h("span", { class: "slider__value", part: "value", "aria-hidden": "true" }, valueText)) : null)) : null, h("div", { key: 'ee0900e9e07879e2c1b25af558291abaa50c9e88', class: "slider__track-wrap" }, h("input", { key: '64c5276b4f488d5920c5a8f1db60da4f1537cf80', ref: (element) => {
229
229
  this.inputElement = element;
230
230
  if (!element)
231
231
  return;
@@ -129,19 +129,19 @@ export class AuSwitch {
129
129
  'aria-invalid': this.isInvalid ? 'true' : undefined,
130
130
  'aria-describedby': this.descriptionIds,
131
131
  });
132
- return (h(Host, { key: 'af11f50803ea3391eb7ebca8e19b66c2db1e9b9a', class: {
132
+ return (h(Host, { key: '4986a8a1ca543e107da7949efa307113cff87714', class: {
133
133
  'switch-host--disabled': this.isDisabled,
134
134
  'switch-host--invalid': this.isInvalid,
135
- } }, h("div", { key: '2e852670debd36f113019774f4cbe0021f26bf7e', class: {
135
+ } }, h("div", { key: 'b4685afda1ab303b7e859b15eab4474ea3038b58', class: {
136
136
  switch: true,
137
137
  'switch--checked': this.checked,
138
138
  'switch--disabled': this.isDisabled,
139
139
  'switch--invalid': this.isInvalid,
140
- } }, h("label", { key: '5a765566de71b3e00c874781a4414b9b89dd6bf1', class: "switch__label", part: "label" }, h("input", { key: 'baaefa8a8e26b0024048a10fadf3f169194fcb34', ref: (element) => {
140
+ } }, h("label", { key: '82d61c4d8050875627631463c74061e21b02129d', class: "switch__label", part: "label" }, h("input", { key: 'c78c494a5e3beae2e1dcc194779519e01247ba10', ref: (element) => {
141
141
  this.inputElement = element;
142
142
  if (element && element.checked !== this.checked)
143
143
  element.checked = this.checked;
144
- }, id: this.switchId, class: "switch__control", part: "control", type: "checkbox", role: "switch", checked: this.checked, required: this.required, disabled: this.isDisabled, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange }), h("span", { key: '9e6eb12b79176641f1e29b26e5c42726c291968e', class: "switch__track", part: "track", "aria-hidden": "true" }, h("span", { key: 'bee6b287d8cb053e1c4960fb5dbf6d47d463b59b', class: "switch__thumb", part: "thumb", "aria-hidden": "true" })), h("span", { key: '5025add0f4aeaf17fafd6582796ca6f87bd95561', class: "switch__text", part: "text" }, h("slot", { key: '434f47fd8b440e8f2f3d41913f1711016a464121' }, labelText)), this.required ? (h("span", { class: "switch__required", "aria-hidden": "true" }, "*")) : null), hintText ? (h("p", { class: "switch__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "switch__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
144
+ }, id: this.switchId, class: "switch__control", part: "control", type: "checkbox", role: "switch", checked: this.checked, required: this.required, disabled: this.isDisabled, ...nativeAttributes, onInput: this.handleInput, onChange: this.handleChange }), h("span", { key: '5d03f1208c81f04e545ce652133a9b2ad228ed45', class: "switch__track", part: "track", "aria-hidden": "true" }, h("span", { key: '336873aa45d649424ccd7bbb7c6644dbe9213062', class: "switch__thumb", part: "thumb", "aria-hidden": "true" })), h("span", { key: '82d7210ec03b2e04ea9e1850f5cbca09b011a30a', class: "switch__text", part: "text" }, h("slot", { key: '9023a1158a19815b43a72e74162c9fb9e4194313' }, labelText)), this.required ? (h("span", { class: "switch__required", "aria-hidden": "true" }, "*")) : null), hintText ? (h("p", { class: "switch__hint", id: this.hintId, part: "hint" }, hintText)) : null, errorText ? (h("p", { class: "switch__error", id: this.errorId, part: "error", "aria-live": "polite" }, errorText)) : null)));
145
145
  }
146
146
  static get is() { return "au-switch"; }
147
147
  static get encapsulation() { return "shadow"; }
@@ -177,18 +177,18 @@ export class AuTextarea {
177
177
  'aria-invalid': this.isInvalid ? 'true' : undefined,
178
178
  'aria-describedby': this.descriptionIds,
179
179
  });
180
- return (h(Host, { key: 'd5f56035ec7b62bc432dccf89aac04a97b272acb', class: {
180
+ return (h(Host, { key: '9929d10379e7d9b6428da28b6457c3bc41c53429', class: {
181
181
  'textarea-host--disabled': textareaDisabled,
182
182
  'textarea-host--invalid': this.isInvalid,
183
183
  'textarea-host--readonly': this.readOnly,
184
- } }, h("div", { key: '89fdb0ae2a0d914e8d5a195f3dbd8e4900b19fd6', class: {
184
+ } }, h("div", { key: '195423b1e4e9f186e01e55af368dd902081839a4', class: {
185
185
  textarea: true,
186
186
  [`textarea--${this.safeSize}`]: true,
187
187
  'textarea--disabled': textareaDisabled,
188
188
  'textarea--focused': this.focused,
189
189
  'textarea--invalid': this.isInvalid,
190
190
  'textarea--readonly': this.readOnly,
191
- } }, labelText ? (h("label", { class: "textarea__label", part: "label", htmlFor: this.textareaId }, h("span", null, labelText), this.required ? (h("span", { class: "textarea__required", "aria-hidden": "true" }, "*")) : null)) : null, h("textarea", { key: '5b179859724c670163052a04b65db3737189e28c', ref: (element) => {
191
+ } }, labelText ? (h("label", { class: "textarea__label", part: "label", htmlFor: this.textareaId }, h("span", null, labelText), this.required ? (h("span", { class: "textarea__required", "aria-hidden": "true" }, "*")) : null)) : null, h("textarea", { key: 'ea94e9815bddbbfe8aacadab0c788ae1068f762e', ref: (element) => {
192
192
  this.textareaElement = element;
193
193
  if (!element)
194
194
  return;
@@ -22,7 +22,7 @@ export class AuContainer {
22
22
  render() {
23
23
  const gutterClass = toContainerSpacingClass(this.safeGutter);
24
24
  const marginClass = toContainerSpacingClass(this.safeMargin);
25
- return (h("div", { key: 'f4157c235917f4d7cd0acbf41982d8ad50b0b646', class: `container container--size-${this.safeSize} container--gutter-${gutterClass} container--margin-${marginClass}${this.centered ? ' container--centered' : ' container--start'}`, part: "container" }, h("slot", { key: 'b6759fe90995867455ca314a48503239e1aa6ed7' })));
25
+ return (h("div", { key: '521f81fd6be31554b5bc30290f59fc8359d21b0f', class: `container container--size-${this.safeSize} container--gutter-${gutterClass} container--margin-${marginClass}${this.centered ? ' container--centered' : ' container--start'}`, part: "container" }, h("slot", { key: 'ef5c4501f3664d887f59e1f917fe59e1d396fb64' })));
26
26
  }
27
27
  static get is() { return "au-container"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class AuDivider {
67
67
  ...(labelled ? { 'aria-labelledby': LABEL_ID } : {}),
68
68
  }
69
69
  : {};
70
- return (h(Host, { key: '4842c60764450c1dda1b4045e6e18c2c1e1b3f8a', ...(labelled ? { labelled: '' } : {}) }, h("div", { key: '4b835ac3f05f18cb1a9d5649e4cdf94000b52d63', part: "base", class: "divider", ...baseAttributes }, h("span", { key: '8157a3d392e0f4c68ec495be8dab3eeb48a14fb0', part: "line line-start", class: "line line--start", "aria-hidden": "true" }), h("span", { key: 'a5173be84cebe3293dbb74b33757ec60aba8ff43', part: "label", class: "label", id: LABEL_ID, hidden: !labelled }, h("slot", { key: '26ab7d65b55da30d568f2ac49907c85473f91615', onSlotchange: this.syncLabel })), h("span", { key: '056cc69c588b4463da8a8a716e98adcfa3a74a9b', part: "line line-end", class: "line line--end", "aria-hidden": "true" }))));
70
+ return (h(Host, { key: '99b6380e6d998c314d3d97420883db05b682f0fb', ...(labelled ? { labelled: '' } : {}) }, h("div", { key: 'd2f518003b8dcc9dbb24a1ffb94d7d775eef7082', part: "base", class: "divider", ...baseAttributes }, h("span", { key: 'd4364aa76836585129f9c00a72db212462a30bcd', part: "line line-start", class: "line line--start", "aria-hidden": "true" }), h("span", { key: '3e75061a7313266c34be023352055d84cce30df5', part: "label", class: "label", id: LABEL_ID, hidden: !labelled }, h("slot", { key: '94d24e3d2ef655603f7ffb59e15f09c78498ea21', onSlotchange: this.syncLabel })), h("span", { key: '33b382f35dd82cf6dafc10d7617768fb634beea7', part: "line line-end", class: "line line--end", "aria-hidden": "true" }))));
71
71
  }
72
72
  static get is() { return "au-divider"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -175,9 +175,9 @@ export class AuSplitter {
175
175
  const separatorAttributes = this.disabled
176
176
  ? { 'aria-disabled': 'true' }
177
177
  : { tabindex: '0' };
178
- return (h(Host, { key: 'b2cf534121186b429ce279cc24287255732ca637' }, h("div", { key: '0fc4f662ef2c3ac2c2543d6f477a259426f40ce2', part: "base", class: "base", "data-dragging": this.dragging ? '' : undefined, style: { '--_aurora-splitter-start': `${value}%` }, ref: (element) => {
178
+ return (h(Host, { key: '983ad617dcebff258fe3690c3d6615379521a37e' }, h("div", { key: '6367c20784ee1990408a1c12e4829cd9fb09d55c', part: "base", class: "base", "data-dragging": this.dragging ? '' : undefined, style: { '--_aurora-splitter-start': `${value}%` }, ref: (element) => {
179
179
  this.baseElement = element;
180
- } }, h("div", { key: 'cef644d14fc8d7064210cc430f9c3e88bf4f1378', part: "start", class: "pane pane--start", id: START_ID }, h("slot", { key: '8a9a215e2aeb917c814bd5d1f967e2f8fabbe8bb', name: "start" })), h("div", { key: '55d2b21daf6d95db1f59c1f19a6a30558f441870', part: "separator", class: "separator", role: "separator", "aria-orientation": orientation === SPLITTER_ORIENTATION.horizontal ? 'vertical' : 'horizontal', "aria-valuenow": String(Math.round(value)), "aria-valuemin": String(min), "aria-valuemax": String(max), "aria-controls": START_ID, "aria-label": label === '' ? SPLITTER_DEFAULT_LABEL : label, ...separatorAttributes, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.endDrag, onPointerCancel: this.endDrag }), h("div", { key: '1cb174ecafd9693bb870d3d187bd8c6cbb97f11b', part: "end", class: "pane pane--end" }, h("slot", { key: 'd03fbbf6033aeb0a2e3303c4eb5fd16b45645d00', name: "end" })))));
180
+ } }, h("div", { key: 'f0d80ab760c8d26d988700ea697f66a15afbd68c', part: "start", class: "pane pane--start", id: START_ID }, h("slot", { key: 'b813d5a0794bb8c922542714356b0cea0850dc70', name: "start" })), h("div", { key: '2592541654155cfccabee2660dceec3d6d20d9f6', part: "separator", class: "separator", role: "separator", "aria-orientation": orientation === SPLITTER_ORIENTATION.horizontal ? 'vertical' : 'horizontal', "aria-valuenow": String(Math.round(value)), "aria-valuemin": String(min), "aria-valuemax": String(max), "aria-controls": START_ID, "aria-label": label === '' ? SPLITTER_DEFAULT_LABEL : label, ...separatorAttributes, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.endDrag, onPointerCancel: this.endDrag }), h("div", { key: 'cb1db61e78ada8d6acbda286ca850fbbb2d753d6', part: "end", class: "pane pane--end" }, h("slot", { key: 'f8cd2c712d462ff45cc30f05a665eeb86e138b12', name: "end" })))));
181
181
  }
182
182
  static get is() { return "au-splitter"; }
183
183
  static get encapsulation() { return "shadow"; }
@@ -58,7 +58,7 @@ export class AuBreadcrumb {
58
58
  }
59
59
  render() {
60
60
  const label = this.label?.trim() || BREADCRUMB_DEFAULT_LABEL;
61
- return (h("nav", { key: '08d5ffd9c15c512e4585f6612c8649bbfa47752d', part: "nav", class: "breadcrumb", "aria-label": label }, h("ol", { key: '2fd8ff549008c7e495f8bd987760a5d53046c826', part: "list", class: "breadcrumb__list" }, h("slot", { key: 'e77dcc3929a55bf511cf21688200eb1083fdb589', onSlotchange: this.handleSlotChange, ref: (element) => {
61
+ return (h("nav", { key: '868345a9015016c337224d491764ae8840bb6d2c', part: "nav", class: "breadcrumb", "aria-label": label }, h("ol", { key: '822bea9b13bcf2fd6489eae370e2df0c944452ed', part: "list", class: "breadcrumb__list" }, h("slot", { key: 'a1358a4ed6493eaacca55dc3b46bff183bbe7410', onSlotchange: this.handleSlotChange, ref: (element) => {
62
62
  this.slotElement = element;
63
63
  } }))));
64
64
  }