@helixui/library 3.3.1 → 3.4.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 (321) hide show
  1. package/custom-elements.json +340 -71
  2. package/dist/components/hx-accordion/hx-accordion-item.d.ts +35 -0
  3. package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
  4. package/dist/components/hx-alert/hx-alert.d.ts +11 -0
  5. package/dist/components/hx-alert/hx-alert.d.ts.map +1 -1
  6. package/dist/components/hx-alert/hx-alert.styles.d.ts.map +1 -1
  7. package/dist/components/hx-alert/index.js +1 -1
  8. package/dist/components/hx-badge/hx-badge.styles.d.ts.map +1 -1
  9. package/dist/components/hx-badge/index.js +1 -1
  10. package/dist/components/hx-banner/hx-banner.d.ts +9 -1
  11. package/dist/components/hx-banner/hx-banner.d.ts.map +1 -1
  12. package/dist/components/hx-banner/index.js +1 -1
  13. package/dist/components/hx-button/hx-button.d.ts +11 -1
  14. package/dist/components/hx-button/hx-button.d.ts.map +1 -1
  15. package/dist/components/hx-button/index.js +1 -1
  16. package/dist/components/hx-button-group/hx-button-group.d.ts +13 -0
  17. package/dist/components/hx-button-group/hx-button-group.d.ts.map +1 -1
  18. package/dist/components/hx-button-group/index.js +1 -1
  19. package/dist/components/hx-checkbox/hx-checkbox.d.ts +153 -1
  20. package/dist/components/hx-checkbox/hx-checkbox.d.ts.map +1 -1
  21. package/dist/components/hx-checkbox/hx-checkbox.styles.d.ts.map +1 -1
  22. package/dist/components/hx-checkbox/index.js +1 -1
  23. package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts +151 -2
  24. package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts.map +1 -1
  25. package/dist/components/hx-checkbox-group/index.js +1 -1
  26. package/dist/components/hx-color-picker/hx-color-picker.d.ts +163 -1
  27. package/dist/components/hx-color-picker/hx-color-picker.d.ts.map +1 -1
  28. package/dist/components/hx-color-picker/hx-color-picker.styles.d.ts.map +1 -1
  29. package/dist/components/hx-color-picker/index.js +1 -1
  30. package/dist/components/hx-combobox/hx-combobox.d.ts +311 -2
  31. package/dist/components/hx-combobox/hx-combobox.d.ts.map +1 -1
  32. package/dist/components/hx-combobox/index.js +1 -1
  33. package/dist/components/hx-data-table/hx-data-table.d.ts.map +1 -1
  34. package/dist/components/hx-data-table/index.js +1 -1
  35. package/dist/components/hx-date-picker/hx-date-picker.d.ts +182 -56
  36. package/dist/components/hx-date-picker/hx-date-picker.d.ts.map +1 -1
  37. package/dist/components/hx-date-picker/hx-date-picker.styles.d.ts.map +1 -1
  38. package/dist/components/hx-date-picker/index.js +1 -1
  39. package/dist/components/hx-dialog/hx-dialog.d.ts +240 -0
  40. package/dist/components/hx-dialog/hx-dialog.d.ts.map +1 -1
  41. package/dist/components/hx-dialog/index.js +1 -1
  42. package/dist/components/hx-drawer/hx-drawer.d.ts +201 -0
  43. package/dist/components/hx-drawer/hx-drawer.d.ts.map +1 -1
  44. package/dist/components/hx-drawer/hx-drawer.styles.d.ts.map +1 -1
  45. package/dist/components/hx-drawer/index.js +1 -1
  46. package/dist/components/hx-dropdown/hx-dropdown.d.ts +168 -0
  47. package/dist/components/hx-dropdown/hx-dropdown.d.ts.map +1 -1
  48. package/dist/components/hx-dropdown/index.js +1 -1
  49. package/dist/components/hx-field/hx-field.d.ts +109 -0
  50. package/dist/components/hx-field/hx-field.d.ts.map +1 -1
  51. package/dist/components/hx-field/index.js +1 -1
  52. package/dist/components/hx-icon-button/hx-icon-button.d.ts +16 -3
  53. package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -1
  54. package/dist/components/hx-icon-button/hx-icon-button.styles.d.ts.map +1 -1
  55. package/dist/components/hx-icon-button/index.js +1 -1
  56. package/dist/components/hx-link/hx-link.d.ts +10 -1
  57. package/dist/components/hx-link/hx-link.d.ts.map +1 -1
  58. package/dist/components/hx-link/index.js +1 -1
  59. package/dist/components/hx-list/hx-list-item.d.ts +27 -1
  60. package/dist/components/hx-list/hx-list-item.d.ts.map +1 -1
  61. package/dist/components/hx-list/hx-list.d.ts +28 -0
  62. package/dist/components/hx-list/hx-list.d.ts.map +1 -1
  63. package/dist/components/hx-list/index.js +1 -1
  64. package/dist/components/hx-menu/hx-menu-divider.d.ts +10 -0
  65. package/dist/components/hx-menu/hx-menu-divider.d.ts.map +1 -1
  66. package/dist/components/hx-menu/hx-menu-item.d.ts +99 -2
  67. package/dist/components/hx-menu/hx-menu-item.d.ts.map +1 -1
  68. package/dist/components/hx-menu/hx-menu-item.styles.d.ts.map +1 -1
  69. package/dist/components/hx-menu/hx-menu.d.ts +117 -2
  70. package/dist/components/hx-menu/hx-menu.d.ts.map +1 -1
  71. package/dist/components/hx-menu/index.js +1 -1
  72. package/dist/components/hx-meter/hx-meter.d.ts +39 -0
  73. package/dist/components/hx-meter/hx-meter.d.ts.map +1 -1
  74. package/dist/components/hx-meter/hx-meter.styles.d.ts.map +1 -1
  75. package/dist/components/hx-meter/index.js +1 -1
  76. package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts +132 -1
  77. package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts.map +1 -1
  78. package/dist/components/hx-overflow-menu/index.js +1 -1
  79. package/dist/components/hx-phi-field/hx-phi-field.d.ts +0 -1
  80. package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -1
  81. package/dist/components/hx-popover/hx-popover.d.ts +91 -0
  82. package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
  83. package/dist/components/hx-popover/index.js +1 -1
  84. package/dist/components/hx-progress-bar/hx-progress-bar.d.ts +33 -0
  85. package/dist/components/hx-progress-bar/hx-progress-bar.d.ts.map +1 -1
  86. package/dist/components/hx-progress-bar/index.js +1 -1
  87. package/dist/components/hx-radio-group/hx-radio-group.d.ts +152 -1
  88. package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
  89. package/dist/components/hx-radio-group/hx-radio.d.ts +14 -0
  90. package/dist/components/hx-radio-group/hx-radio.d.ts.map +1 -1
  91. package/dist/components/hx-radio-group/index.js +1 -1
  92. package/dist/components/hx-select/hx-select.d.ts +304 -2
  93. package/dist/components/hx-select/hx-select.d.ts.map +1 -1
  94. package/dist/components/hx-select/hx-select.styles.d.ts.map +1 -1
  95. package/dist/components/hx-select/index.js +1 -1
  96. package/dist/components/hx-side-nav/hx-nav-item.styles.d.ts.map +1 -1
  97. package/dist/components/hx-side-nav/index.js +1 -1
  98. package/dist/components/hx-spinner/hx-spinner.d.ts +14 -0
  99. package/dist/components/hx-spinner/hx-spinner.d.ts.map +1 -1
  100. package/dist/components/hx-spinner/index.js +1 -1
  101. package/dist/components/hx-split-button/hx-split-button.d.ts +94 -7
  102. package/dist/components/hx-split-button/hx-split-button.d.ts.map +1 -1
  103. package/dist/components/hx-split-button/index.js +1 -1
  104. package/dist/components/hx-stat/hx-stat.d.ts +28 -0
  105. package/dist/components/hx-stat/hx-stat.d.ts.map +1 -1
  106. package/dist/components/hx-stat/index.js +1 -1
  107. package/dist/components/hx-switch/hx-switch.d.ts +78 -1
  108. package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
  109. package/dist/components/hx-switch/hx-switch.styles.d.ts.map +1 -1
  110. package/dist/components/hx-switch/index.js +1 -1
  111. package/dist/components/hx-table/hx-td.d.ts +30 -3
  112. package/dist/components/hx-table/hx-td.d.ts.map +1 -1
  113. package/dist/components/hx-table/hx-th.d.ts +39 -3
  114. package/dist/components/hx-table/hx-th.d.ts.map +1 -1
  115. package/dist/components/hx-table/hx-tr.d.ts +26 -0
  116. package/dist/components/hx-table/hx-tr.d.ts.map +1 -1
  117. package/dist/components/hx-table/index.js +1 -1
  118. package/dist/components/hx-tabs/hx-tab-panel.d.ts +34 -0
  119. package/dist/components/hx-tabs/hx-tab-panel.d.ts.map +1 -1
  120. package/dist/components/hx-tabs/hx-tab.d.ts +45 -2
  121. package/dist/components/hx-tabs/hx-tab.d.ts.map +1 -1
  122. package/dist/components/hx-tabs/hx-tab.styles.d.ts.map +1 -1
  123. package/dist/components/hx-tabs/hx-tabs.d.ts +32 -2
  124. package/dist/components/hx-tabs/hx-tabs.d.ts.map +1 -1
  125. package/dist/components/hx-tabs/index.js +1 -1
  126. package/dist/components/hx-tag/hx-tag.styles.d.ts.map +1 -1
  127. package/dist/components/hx-tag/index.js +1 -1
  128. package/dist/components/hx-theme/hx-theme.d.ts +10 -5
  129. package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
  130. package/dist/components/hx-time-picker/hx-time-picker.d.ts +210 -2
  131. package/dist/components/hx-time-picker/hx-time-picker.d.ts.map +1 -1
  132. package/dist/components/hx-time-picker/hx-time-picker.styles.d.ts.map +1 -1
  133. package/dist/components/hx-time-picker/index.js +1 -1
  134. package/dist/components/hx-toast/hx-toast-stack.d.ts +14 -0
  135. package/dist/components/hx-toast/hx-toast-stack.d.ts.map +1 -1
  136. package/dist/components/hx-toast/hx-toast.d.ts +22 -3
  137. package/dist/components/hx-toast/hx-toast.d.ts.map +1 -1
  138. package/dist/components/hx-toast/index.js +1 -1
  139. package/dist/components/hx-toast/toast-factory.d.ts.map +1 -1
  140. package/dist/components/hx-toggle-button/hx-toggle-button.d.ts +110 -0
  141. package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
  142. package/dist/components/hx-toggle-button/hx-toggle-button.styles.d.ts.map +1 -1
  143. package/dist/components/hx-toggle-button/index.js +1 -1
  144. package/dist/components/hx-tooltip/hx-tooltip.d.ts +52 -0
  145. package/dist/components/hx-tooltip/hx-tooltip.d.ts.map +1 -1
  146. package/dist/components/hx-tooltip/index.js +1 -1
  147. package/dist/components/hx-tree-view/hx-tree-item.d.ts +117 -12
  148. package/dist/components/hx-tree-view/hx-tree-item.d.ts.map +1 -1
  149. package/dist/components/hx-tree-view/hx-tree-view.d.ts +87 -7
  150. package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
  151. package/dist/components/hx-tree-view/index.js +1 -1
  152. package/dist/css/helix-all.css +221 -1
  153. package/dist/css/helix-core.css +81 -0
  154. package/dist/css/helix-feedback.css +14 -0
  155. package/dist/css/helix-forms.css +109 -1
  156. package/dist/css/helix-overlay.css +17 -0
  157. package/dist/css/hx-alert.css +9 -0
  158. package/dist/css/hx-badge.css +28 -0
  159. package/dist/css/hx-checkbox.css +18 -0
  160. package/dist/css/hx-color-picker.css +25 -0
  161. package/dist/css/hx-date-picker.css +2 -1
  162. package/dist/css/hx-drawer.css +17 -0
  163. package/dist/css/hx-icon-button.css +30 -0
  164. package/dist/css/hx-meter.css +5 -0
  165. package/dist/css/hx-select.css +19 -0
  166. package/dist/css/hx-switch.css +17 -0
  167. package/dist/css/hx-tag.css +23 -0
  168. package/dist/css/hx-time-picker.css +11 -0
  169. package/dist/css/hx-toggle-button.css +17 -0
  170. package/dist/css/index.css +1 -1
  171. package/dist/css/manifest.json +4 -1
  172. package/dist/index.js +38 -38
  173. package/dist/shared/aria-flatten-DY6v2vah.js +22 -0
  174. package/dist/shared/aria-flatten-DY6v2vah.js.map +1 -0
  175. package/dist/shared/aria-idref-CxvyzfQS.js +126 -0
  176. package/dist/shared/aria-idref-CxvyzfQS.js.map +1 -0
  177. package/dist/shared/hx-accordion-ZVzgDzTG.js.map +1 -1
  178. package/dist/shared/{hx-alert-CLn7CstP.js → hx-alert-Bto8-TIi.js} +55 -37
  179. package/dist/shared/hx-alert-Bto8-TIi.js.map +1 -0
  180. package/dist/shared/{hx-badge-CQXgOXJM.js → hx-badge-JlFtAdxS.js} +37 -9
  181. package/dist/shared/hx-badge-JlFtAdxS.js.map +1 -0
  182. package/dist/shared/{hx-banner-D3DzpfcP.js → hx-banner-fpRnciIO.js} +13 -5
  183. package/dist/shared/hx-banner-fpRnciIO.js.map +1 -0
  184. package/dist/shared/{hx-button-DPY6SPVT.js → hx-button-BOwAEcF1.js} +108 -85
  185. package/dist/shared/{hx-button-DPY6SPVT.js.map → hx-button-BOwAEcF1.js.map} +1 -1
  186. package/dist/shared/{hx-button-group-BI-QBqmO.js → hx-button-group-DcHP5MBv.js} +15 -16
  187. package/dist/shared/{hx-button-group-BI-QBqmO.js.map → hx-button-group-DcHP5MBv.js.map} +1 -1
  188. package/dist/shared/hx-checkbox-C48KYKFq.js +696 -0
  189. package/dist/shared/hx-checkbox-C48KYKFq.js.map +1 -0
  190. package/dist/shared/hx-checkbox-group-BJIAX3zU.js +496 -0
  191. package/dist/shared/hx-checkbox-group-BJIAX3zU.js.map +1 -0
  192. package/dist/shared/hx-color-picker-Dk4cBwYQ.js +1221 -0
  193. package/dist/shared/hx-color-picker-Dk4cBwYQ.js.map +1 -0
  194. package/dist/shared/hx-combobox-BTLO9qiK.js +1359 -0
  195. package/dist/shared/hx-combobox-BTLO9qiK.js.map +1 -0
  196. package/dist/shared/{hx-data-table-CLqVqdxr.js → hx-data-table-Ct3gQ6ya.js} +3 -2
  197. package/dist/shared/{hx-data-table-CLqVqdxr.js.map → hx-data-table-Ct3gQ6ya.js.map} +1 -1
  198. package/dist/shared/{hx-date-picker-2iRG1p74.js → hx-date-picker-CiR7FVnR.js} +542 -206
  199. package/dist/shared/hx-date-picker-CiR7FVnR.js.map +1 -0
  200. package/dist/shared/hx-dialog-AOZpHSuF.js +717 -0
  201. package/dist/shared/hx-dialog-AOZpHSuF.js.map +1 -0
  202. package/dist/shared/{hx-drawer-Y1Ui2IWJ.js → hx-drawer-DH6CdAN1.js} +300 -98
  203. package/dist/shared/hx-drawer-DH6CdAN1.js.map +1 -0
  204. package/dist/shared/hx-dropdown-DiLd40Lm.js +401 -0
  205. package/dist/shared/hx-dropdown-DiLd40Lm.js.map +1 -0
  206. package/dist/shared/{hx-field-B3Qo8OLS.js → hx-field-zw0U1KVi.js} +99 -38
  207. package/dist/shared/hx-field-zw0U1KVi.js.map +1 -0
  208. package/dist/shared/{hx-icon-button-CGNdQSFM.js → hx-icon-button-a6OpeQz5.js} +149 -68
  209. package/dist/shared/hx-icon-button-a6OpeQz5.js.map +1 -0
  210. package/dist/shared/{hx-link-C-O6vq0Q.js → hx-link-CMnZRUtQ.js} +55 -43
  211. package/dist/shared/hx-link-CMnZRUtQ.js.map +1 -0
  212. package/dist/shared/{hx-list-MyEhh8c7.js → hx-list-De66EtAP.js} +163 -107
  213. package/dist/shared/hx-list-De66EtAP.js.map +1 -0
  214. package/dist/shared/hx-menu-divider-BjiRIWKq.js +797 -0
  215. package/dist/shared/hx-menu-divider-BjiRIWKq.js.map +1 -0
  216. package/dist/shared/{hx-meter-BPscsw5t.js → hx-meter-BJdh6nrF.js} +105 -64
  217. package/dist/shared/hx-meter-BJdh6nrF.js.map +1 -0
  218. package/dist/shared/{hx-nav-item-xqRPOCWX.js → hx-nav-item-CODtUlew.js} +13 -9
  219. package/dist/shared/{hx-nav-item-xqRPOCWX.js.map → hx-nav-item-CODtUlew.js.map} +1 -1
  220. package/dist/shared/hx-overflow-menu-BQ4fiMYu.js +492 -0
  221. package/dist/shared/hx-overflow-menu-BQ4fiMYu.js.map +1 -0
  222. package/dist/shared/hx-phi-field-C19oxlrr.js.map +1 -1
  223. package/dist/shared/{hx-popover-B-FP3-wW.js → hx-popover-B9W8-tC0.js} +123 -66
  224. package/dist/shared/hx-popover-B9W8-tC0.js.map +1 -0
  225. package/dist/shared/hx-progress-bar-C8nDMdYa.js +290 -0
  226. package/dist/shared/hx-progress-bar-C8nDMdYa.js.map +1 -0
  227. package/dist/shared/hx-radio-Z1lV1zTO.js +822 -0
  228. package/dist/shared/hx-radio-Z1lV1zTO.js.map +1 -0
  229. package/dist/shared/hx-select-D18CnJ0e.js +1089 -0
  230. package/dist/shared/hx-select-D18CnJ0e.js.map +1 -0
  231. package/dist/shared/{hx-spinner-DL5AYr16.js → hx-spinner-BB0h2hKZ.js} +62 -34
  232. package/dist/shared/hx-spinner-BB0h2hKZ.js.map +1 -0
  233. package/dist/shared/{hx-split-button-Djnc5Aeg.js → hx-split-button-BoABoEm5.js} +153 -82
  234. package/dist/shared/hx-split-button-BoABoEm5.js.map +1 -0
  235. package/dist/shared/{hx-stat-WOcNV1Ry.js → hx-stat-Dtf9lz-O.js} +77 -47
  236. package/dist/shared/hx-stat-Dtf9lz-O.js.map +1 -0
  237. package/dist/shared/hx-switch-B6kr-EwE.js +540 -0
  238. package/dist/shared/hx-switch-B6kr-EwE.js.map +1 -0
  239. package/dist/shared/{hx-tab-panel-DspCrKqo.js → hx-tab-panel-BQtBXKLD.js} +255 -131
  240. package/dist/shared/hx-tab-panel-BQtBXKLD.js.map +1 -0
  241. package/dist/shared/{hx-tag-CNSmdyaK.js → hx-tag-C5aCUpVi.js} +63 -40
  242. package/dist/shared/hx-tag-C5aCUpVi.js.map +1 -0
  243. package/dist/shared/{hx-td-DnnEMIuA.js → hx-td-BGkFOJEK.js} +267 -123
  244. package/dist/shared/hx-td-BGkFOJEK.js.map +1 -0
  245. package/dist/shared/hx-theme-BsefFWTO.js.map +1 -1
  246. package/dist/shared/hx-time-picker-iwCD7rzW.js +1038 -0
  247. package/dist/shared/hx-time-picker-iwCD7rzW.js.map +1 -0
  248. package/dist/shared/{hx-toggle-button-iLiYrMbD.js → hx-toggle-button-BQ81EDkl.js} +226 -65
  249. package/dist/shared/hx-toggle-button-BQ81EDkl.js.map +1 -0
  250. package/dist/shared/{hx-tooltip-nYOv9OLu.js → hx-tooltip-DVqtKPCD.js} +68 -46
  251. package/dist/shared/hx-tooltip-DVqtKPCD.js.map +1 -0
  252. package/dist/shared/hx-tree-item-CHrUhuZL.js +925 -0
  253. package/dist/shared/hx-tree-item-CHrUhuZL.js.map +1 -0
  254. package/dist/shared/menu-roving-DmMnzJhn.js +14 -0
  255. package/dist/shared/menu-roving-DmMnzJhn.js.map +1 -0
  256. package/dist/shared/menu-tree-BNM0SYYq.js +42 -0
  257. package/dist/shared/menu-tree-BNM0SYYq.js.map +1 -0
  258. package/dist/shared/{toast-factory-YSznocIV.js → toast-factory-CL2BzdSB.js} +128 -77
  259. package/dist/shared/toast-factory-CL2BzdSB.js.map +1 -0
  260. package/dist/utils/aria-flatten.d.ts +56 -0
  261. package/dist/utils/aria-flatten.d.ts.map +1 -0
  262. package/dist/utils/aria-idref.d.ts +127 -0
  263. package/dist/utils/aria-idref.d.ts.map +1 -0
  264. package/dist/utils/menu-label.d.ts +18 -0
  265. package/dist/utils/menu-label.d.ts.map +1 -0
  266. package/dist/utils/menu-roving.d.ts +28 -0
  267. package/dist/utils/menu-roving.d.ts.map +1 -0
  268. package/dist/utils/menu-tree.d.ts +41 -0
  269. package/dist/utils/menu-tree.d.ts.map +1 -0
  270. package/dist/utils/tree-walk.d.ts +53 -0
  271. package/dist/utils/tree-walk.d.ts.map +1 -0
  272. package/figma-inventory.json +132 -20
  273. package/package.json +1 -1
  274. package/dist/shared/hx-alert-CLn7CstP.js.map +0 -1
  275. package/dist/shared/hx-badge-CQXgOXJM.js.map +0 -1
  276. package/dist/shared/hx-banner-D3DzpfcP.js.map +0 -1
  277. package/dist/shared/hx-checkbox-D7xma9YH.js +0 -524
  278. package/dist/shared/hx-checkbox-D7xma9YH.js.map +0 -1
  279. package/dist/shared/hx-checkbox-group-C9n315Ju.js +0 -323
  280. package/dist/shared/hx-checkbox-group-C9n315Ju.js.map +0 -1
  281. package/dist/shared/hx-color-picker-uRc865FJ.js +0 -882
  282. package/dist/shared/hx-color-picker-uRc865FJ.js.map +0 -1
  283. package/dist/shared/hx-combobox-DDzqNKEW.js +0 -924
  284. package/dist/shared/hx-combobox-DDzqNKEW.js.map +0 -1
  285. package/dist/shared/hx-date-picker-2iRG1p74.js.map +0 -1
  286. package/dist/shared/hx-dialog-DRN_1-Y-.js +0 -514
  287. package/dist/shared/hx-dialog-DRN_1-Y-.js.map +0 -1
  288. package/dist/shared/hx-drawer-Y1Ui2IWJ.js.map +0 -1
  289. package/dist/shared/hx-dropdown-LyaRc8Rf.js +0 -263
  290. package/dist/shared/hx-dropdown-LyaRc8Rf.js.map +0 -1
  291. package/dist/shared/hx-field-B3Qo8OLS.js.map +0 -1
  292. package/dist/shared/hx-icon-button-CGNdQSFM.js.map +0 -1
  293. package/dist/shared/hx-link-C-O6vq0Q.js.map +0 -1
  294. package/dist/shared/hx-list-MyEhh8c7.js.map +0 -1
  295. package/dist/shared/hx-menu-divider-C2omnPtj.js +0 -558
  296. package/dist/shared/hx-menu-divider-C2omnPtj.js.map +0 -1
  297. package/dist/shared/hx-meter-BPscsw5t.js.map +0 -1
  298. package/dist/shared/hx-overflow-menu-DCLsdIBy.js +0 -374
  299. package/dist/shared/hx-overflow-menu-DCLsdIBy.js.map +0 -1
  300. package/dist/shared/hx-popover-B-FP3-wW.js.map +0 -1
  301. package/dist/shared/hx-progress-bar-Bn3JEPUf.js +0 -258
  302. package/dist/shared/hx-progress-bar-Bn3JEPUf.js.map +0 -1
  303. package/dist/shared/hx-radio-CJvNU2yP.js +0 -621
  304. package/dist/shared/hx-radio-CJvNU2yP.js.map +0 -1
  305. package/dist/shared/hx-select-C8fEHQhC.js +0 -807
  306. package/dist/shared/hx-select-C8fEHQhC.js.map +0 -1
  307. package/dist/shared/hx-spinner-DL5AYr16.js.map +0 -1
  308. package/dist/shared/hx-split-button-Djnc5Aeg.js.map +0 -1
  309. package/dist/shared/hx-stat-WOcNV1Ry.js.map +0 -1
  310. package/dist/shared/hx-switch-BrZFaRue.js +0 -420
  311. package/dist/shared/hx-switch-BrZFaRue.js.map +0 -1
  312. package/dist/shared/hx-tab-panel-DspCrKqo.js.map +0 -1
  313. package/dist/shared/hx-tag-CNSmdyaK.js.map +0 -1
  314. package/dist/shared/hx-td-DnnEMIuA.js.map +0 -1
  315. package/dist/shared/hx-time-picker-BoEIZwzv.js +0 -688
  316. package/dist/shared/hx-time-picker-BoEIZwzv.js.map +0 -1
  317. package/dist/shared/hx-toggle-button-iLiYrMbD.js.map +0 -1
  318. package/dist/shared/hx-tooltip-nYOv9OLu.js.map +0 -1
  319. package/dist/shared/hx-tree-item-C2CiWuDE.js +0 -703
  320. package/dist/shared/hx-tree-item-C2CiWuDE.js.map +0 -1
  321. package/dist/shared/toast-factory-YSznocIV.js.map +0 -1
@@ -1,12 +1,13 @@
1
- import { css as b, html as h, nothing as v } from "lit";
2
- import { query as m, state as c, property as d, customElement as w } from "lit/decorators.js";
3
- import { classMap as x } from "lit/directives/class-map.js";
4
- import { ifDefined as p } from "lit/directives/if-defined.js";
5
- import { l as y, u as _ } from "./body-scroll-lock-VBa5TFP-.js";
6
- import { a as g } from "./forced-colors-CTEDFRGa.js";
7
- import { H as E } from "./helix-element-BNEYeiys.js";
8
- import { c as S } from "./id-counter-DuX8vsui.js";
9
- const k = b`
1
+ import { css as O, html as m, nothing as C } from "lit";
2
+ import { query as k, state as f, property as u, customElement as D } from "lit/decorators.js";
3
+ import { classMap as B } from "lit/directives/class-map.js";
4
+ import { l as F, u as H } from "./body-scroll-lock-VBa5TFP-.js";
5
+ import { a as R } from "./forced-colors-CTEDFRGa.js";
6
+ import { f as x } from "./aria-flatten-DY6v2vah.js";
7
+ import { s as z, i as I, r as L } from "./aria-idref-CxvyzfQS.js";
8
+ import { H as $ } from "./helix-element-BNEYeiys.js";
9
+ import { c as M } from "./id-counter-DuX8vsui.js";
10
+ const N = O`
10
11
  /* P2-03: Explicit [hidden] rule to survive CSS resets that may override the UA stylesheet. */
11
12
  [hidden] {
12
13
  display: none !important;
@@ -247,6 +248,23 @@ const k = b`
247
248
  margin: 0;
248
249
  }
249
250
 
251
+ /* ─── Synthesized consumer-description span ─── */
252
+ /* Visually hidden mirror of consumer-resolved aria-describedby text used by */
253
+ /* the host-canonical ARIA pipeline. Always present in the shadow tree so AT */
254
+ /* can resolve the same-root id even when the description is currently empty. */
255
+
256
+ .drawer-sr-only {
257
+ position: absolute;
258
+ width: 1px;
259
+ height: 1px;
260
+ padding: 0;
261
+ margin: -1px;
262
+ overflow: hidden;
263
+ clip: rect(0, 0, 0, 0);
264
+ white-space: nowrap;
265
+ border: 0;
266
+ }
267
+
250
268
  /* ─── Body ─── */
251
269
 
252
270
  .drawer-body {
@@ -290,17 +308,17 @@ const k = b`
290
308
  }
291
309
  }
292
310
  `;
293
- var C = Object.defineProperty, A = Object.getOwnPropertyDescriptor, a = (e, t, r, i) => {
294
- for (var s = i > 1 ? void 0 : i ? A(t, r) : t, n = e.length - 1, l; n >= 0; n--)
295
- (l = e[n]) && (s = (i ? l(t, r, s) : l(s)) || s);
296
- return i && s && C(t, r, s), s;
311
+ var P = Object.defineProperty, V = Object.getOwnPropertyDescriptor, d = (e, t, r, s) => {
312
+ for (var i = s > 1 ? void 0 : s ? V(t, r) : t, a = e.length - 1, o; a >= 0; a--)
313
+ (o = e[a]) && (i = (s ? o(t, r, i) : o(i)) || i);
314
+ return s && i && P(t, r, i), i;
297
315
  };
298
- const T = S("hx-drawer"), F = {
316
+ const j = M("hx-drawer"), U = {
299
317
  sm: "20rem",
300
318
  md: "30rem",
301
319
  lg: "40rem",
302
320
  full: "100%"
303
- }, u = [
321
+ }, g = [
304
322
  "a[href]",
305
323
  "area[href]",
306
324
  "button:not([disabled])",
@@ -310,9 +328,9 @@ const T = S("hx-drawer"), F = {
310
328
  '[tabindex]:not([tabindex="-1"])',
311
329
  "details > summary"
312
330
  ].join(",");
313
- let o = class extends E {
331
+ let l = class extends $ {
314
332
  constructor() {
315
- super(...arguments), this._isOpen = !1, this._hasHeaderActionsSlot = !1, this._hasFooterSlot = !1, this._hasLabelSlot = !1, this._cachedFocusableElements = [], this._triggerElement = null, this._animationTimeout = null, this._hasScrollLock = !1, this._siblingAriaHiddenElements = [], this._titleId = `${T()}-title`, this.open = !1, this.placement = "end", this.size = "md", this.contained = !1, this.noHeader = !1, this.noFooter = !1, this.label = "", this.labelClose = "Close drawer", this._handleKeyDown = (e) => {
333
+ super(...arguments), this._isOpen = !1, this._hasHeaderActionsSlot = !1, this._hasFooterSlot = !1, this._hasLabelSlot = !1, this._cachedFocusableElements = [], this._triggerElement = null, this._animationTimeout = null, this._hasScrollLock = !1, this._siblingAriaHiddenElements = [], this._id = j(), this._titleId = `${this._id}-title`, this._consumerDescId = `${this._id}-consumer-desc`, this._supportsIdrefRefs = !0, this._slottedLabelEls = [], this._labelSlotText = "", this._consumerLabelledBy = null, this._consumerDescribedBy = null, this._ariaMirror = null, this._labelSlotTextObserver = null, this._externalRefsObserver = null, this._hostDescribedByObserver = null, this.open = !1, this.placement = "end", this.size = "md", this.contained = !1, this.noHeader = !1, this.noFooter = !1, this.label = "", this.labelClose = "Close drawer", this._handleKeyDown = (e) => {
316
334
  if (this._isOpen) {
317
335
  if (e.key === "Escape") {
318
336
  e.preventDefault(), this.open = !1;
@@ -330,12 +348,32 @@ let o = class extends E {
330
348
  super.connectedCallback();
331
349
  const e = this.getAttribute("size");
332
350
  e !== null && !this.hasAttribute("hx-size") && (this.size = e);
351
+ const t = this.constructor;
352
+ this._supportsIdrefRefs = t.__testSupportsIdrefRefsOverride !== null ? t.__testSupportsIdrefRefsOverride : z(this._internals), this._internals.role = "dialog", this._internals.ariaModal = "true", this._hostDescribedByObserver = new MutationObserver((r) => {
353
+ let s = !1;
354
+ for (const i of r) {
355
+ if (i.attributeName !== "aria-describedby") continue;
356
+ const a = i.oldValue, o = this.getAttribute("aria-describedby");
357
+ a !== null && o === null && (this._consumerDescribedBy = null, s = !0);
358
+ }
359
+ s && this._syncHostAriaSemantics();
360
+ }), this._hostDescribedByObserver.observe(this, {
361
+ attributes: !0,
362
+ attributeFilter: ["aria-describedby"],
363
+ attributeOldValue: !0
364
+ }), this._syncHostAriaSemantics(), this._ariaMirror = I(this, () => {
365
+ this._syncHostAriaSemantics();
366
+ });
333
367
  }
334
368
  disconnectedCallback() {
335
- super.disconnectedCallback(), this._removeListeners(), this._animationTimeout !== null && clearTimeout(this._animationTimeout), this._restoreBodyScroll();
369
+ var e, t, r, s;
370
+ super.disconnectedCallback(), this._removeListeners(), this._animationTimeout !== null && clearTimeout(this._animationTimeout), this._restoreBodyScroll(), (e = this._ariaMirror) == null || e.disconnect(), this._ariaMirror = null, (t = this._labelSlotTextObserver) == null || t.disconnect(), this._labelSlotTextObserver = null, (r = this._externalRefsObserver) == null || r.disconnect(), this._externalRefsObserver = null, (s = this._hostDescribedByObserver) == null || s.disconnect(), this._hostDescribedByObserver = null;
336
371
  }
337
372
  updated(e) {
338
- super.updated(e), e.has("open") && (this.open ? this._openDrawer() : this._closeDrawer()), e.has("size") && this._applySizeVar();
373
+ super.updated(e), e.has("open") && (this.open ? this._openDrawer() : this._closeDrawer()), e.has("size") && this._applySizeVar(), this._syncHostAriaSemantics();
374
+ }
375
+ firstUpdated(e) {
376
+ super.firstUpdated(e);
339
377
  }
340
378
  // ─── Public Methods ───
341
379
  /** Opens the drawer. */
@@ -349,17 +387,17 @@ let o = class extends E {
349
387
  // ─── Private: Size CSS variable ───
350
388
  /** @internal */
351
389
  _applySizeVar() {
352
- const e = F[this.size] ?? this.size;
390
+ const e = U[this.size] ?? this.size;
353
391
  this.style.setProperty("--_drawer-size", e);
354
392
  }
355
393
  // ─── Private: Open / Close ───
356
394
  /** @internal */
357
395
  _lockBodyScroll() {
358
- this.contained || this._hasScrollLock || (y(), this._hasScrollLock = !0);
396
+ this.contained || this._hasScrollLock || (F(), this._hasScrollLock = !0);
359
397
  }
360
398
  /** @internal */
361
399
  _restoreBodyScroll() {
362
- this._hasScrollLock && (_(), this._hasScrollLock = !1);
400
+ this._hasScrollLock && (H(), this._hasScrollLock = !1);
363
401
  }
364
402
  /** @internal */
365
403
  _openDrawer() {
@@ -372,12 +410,12 @@ let o = class extends E {
372
410
  new CustomEvent("hx-after-show", { bubbles: !0, composed: !0 })
373
411
  );
374
412
  else {
375
- const i = () => {
413
+ const s = () => {
376
414
  this._animationTimeout !== null && (clearTimeout(this._animationTimeout), this._animationTimeout = null), this.dispatchEvent(
377
415
  new CustomEvent("hx-after-show", { bubbles: !0, composed: !0 })
378
416
  );
379
417
  };
380
- r.addEventListener("transitionend", i, { once: !0 }), this._animationTimeout = setTimeout(i, t + 50);
418
+ r.addEventListener("transitionend", s, { once: !0 }), this._animationTimeout = setTimeout(s, t + 50);
381
419
  }
382
420
  }).catch(console.error);
383
421
  }
@@ -443,18 +481,18 @@ let o = class extends E {
443
481
  }
444
482
  /** @internal */
445
483
  _getFocusableElements() {
446
- var i, s;
484
+ var s, i;
447
485
  const e = Array.from(
448
- ((i = this.shadowRoot) == null ? void 0 : i.querySelectorAll(u)) ?? []
449
- ), t = ((s = this.shadowRoot) == null ? void 0 : s.querySelectorAll("slot")) ?? [], r = [];
450
- return t.forEach((n) => {
451
- n.assignedElements({ flatten: !0 }).forEach((l) => {
452
- l instanceof HTMLElement && (l.matches(u) && r.push(l), l.querySelectorAll(u).forEach((f) => {
453
- r.push(f);
486
+ ((s = this.shadowRoot) == null ? void 0 : s.querySelectorAll(g)) ?? []
487
+ ), t = ((i = this.shadowRoot) == null ? void 0 : i.querySelectorAll("slot")) ?? [], r = [];
488
+ return t.forEach((a) => {
489
+ a.assignedElements({ flatten: !0 }).forEach((o) => {
490
+ o instanceof HTMLElement && (o.matches(g) && r.push(o), o.querySelectorAll(g).forEach((b) => {
491
+ r.push(b);
454
492
  }));
455
493
  });
456
494
  }), [...e, ...r].filter(
457
- (n) => !n.hasAttribute("disabled") && n.getAttribute("tabindex") !== "-1"
495
+ (a) => !a.hasAttribute("disabled") && a.getAttribute("tabindex") !== "-1"
458
496
  );
459
497
  }
460
498
  /** @internal */
@@ -464,10 +502,10 @@ let o = class extends E {
464
502
  e.preventDefault();
465
503
  return;
466
504
  }
467
- const [r, ...i] = t, s = i.length > 0 ? i[i.length - 1] : r;
468
- if (!r || !s) return;
469
- const n = document.activeElement;
470
- e.shiftKey ? n === r && (e.preventDefault(), s.focus()) : n === s && (e.preventDefault(), r.focus());
505
+ const [r, ...s] = t, i = s.length > 0 ? s[s.length - 1] : r;
506
+ if (!r || !i) return;
507
+ const a = document.activeElement;
508
+ e.shiftKey ? a === r && (e.preventDefault(), i.focus()) : a === i && (e.preventDefault(), r.focus());
471
509
  }
472
510
  // ─── Slot change handlers ───
473
511
  /** @internal */
@@ -482,13 +520,164 @@ let o = class extends E {
482
520
  }
483
521
  /** @internal */
484
522
  _handleLabelSlotChange(e) {
485
- const t = e.target;
486
- this._hasLabelSlot = t.assignedNodes({ flatten: !0 }).length > 0;
523
+ if (!(e.target instanceof HTMLSlotElement)) return;
524
+ const t = this._readLabelSlotState(e.target);
525
+ this._hasLabelSlot = t.hasUsefulName, this._slottedLabelEls = t.elements, this._labelSlotText = t.text, this._installLabelSlotTextObserver(t.elements), this._syncHostAriaSemantics();
526
+ }
527
+ // ─── Host-canonical ARIA helpers ───
528
+ /**
529
+ * Reads the label slot's assigned nodes and computes the discriminated
530
+ * naming state. Aggregates ALL assigned elements (not just the first) so
531
+ * composed labels project the FULL visible label via
532
+ * `internals.ariaLabelledByElements`. Per AccName 1.2 §4.3.10,
533
+ * `aria-hidden="true"` / `[hidden]` elements contribute zero to the
534
+ * accessible name but stay in `elements` so AT walking IDL refs sees the
535
+ * full visible group. `hasUsefulName` is gated on the flattened text
536
+ * length: a slot containing only decorative wrappers does NOT name the
537
+ * dialog, and the host falls through to the next naming source.
538
+ * @internal
539
+ */
540
+ _readLabelSlotState(e) {
541
+ const t = e.assignedNodes({ flatten: !0 }), r = [], s = [];
542
+ for (const a of t)
543
+ if (a.nodeType === Node.ELEMENT_NODE) {
544
+ const o = a;
545
+ if (r.push(o), o.getAttribute("aria-hidden") === "true") continue;
546
+ const b = x(o);
547
+ b && s.push(b);
548
+ } else if (a.nodeType === Node.TEXT_NODE) {
549
+ const o = (a.textContent ?? "").trim();
550
+ o && s.push(o);
551
+ }
552
+ const i = s.join(" ").replace(/\s+/g, " ").trim();
553
+ return {
554
+ hasUsefulName: i.length > 0,
555
+ elements: r,
556
+ text: i
557
+ };
558
+ }
559
+ /**
560
+ * (Re-)installs the mutation observer over the current set of slotted label
561
+ * elements. On any descendant text/visibility mutation we re-flatten and
562
+ * re-sync so the host's accessible name tracks the visible label.
563
+ * @internal
564
+ */
565
+ _installLabelSlotTextObserver(e) {
566
+ var r;
567
+ if ((r = this._labelSlotTextObserver) == null || r.disconnect(), e.length === 0) {
568
+ this._labelSlotTextObserver = null;
569
+ return;
570
+ }
571
+ const t = new MutationObserver(() => {
572
+ const s = [];
573
+ for (const a of e) {
574
+ if (a.getAttribute("aria-hidden") === "true") continue;
575
+ const o = x(a);
576
+ o && s.push(o);
577
+ }
578
+ const i = s.join(" ").replace(/\s+/g, " ").trim();
579
+ this._labelSlotText = i, this._hasLabelSlot = i.length > 0, this._syncHostAriaSemantics();
580
+ });
581
+ for (const s of e)
582
+ t.observe(s, {
583
+ characterData: !0,
584
+ childList: !0,
585
+ subtree: !0,
586
+ attributes: !0,
587
+ attributeFilter: ["aria-hidden", "hidden"]
588
+ });
589
+ this._labelSlotTextObserver = t;
590
+ }
591
+ /**
592
+ * (Re-)installs a `MutationObserver` against the deduped union of
593
+ * consumer-resolved label/description elements. Watches `characterData`,
594
+ * `childList`, `subtree`, and `aria-hidden` / `hidden` attributes so any
595
+ * in-place mutation on the referenced light-DOM nodes triggers a fresh
596
+ * sync — keeping the modern-path IDL refs and the fallback-path text
597
+ * flatten aligned with the live consumer text.
598
+ * @internal
599
+ */
600
+ _installExternalRefsObserver(e) {
601
+ if (this._externalRefsObserver && (this._externalRefsObserver.disconnect(), this._externalRefsObserver = null), e.length === 0) return;
602
+ const t = new Set(e), r = new MutationObserver(() => {
603
+ this._syncHostAriaSemantics();
604
+ });
605
+ for (const s of t)
606
+ r.observe(s, {
607
+ characterData: !0,
608
+ subtree: !0,
609
+ childList: !0,
610
+ attributes: !0,
611
+ attributeFilter: ["aria-hidden", "hidden"]
612
+ });
613
+ this._externalRefsObserver = r;
614
+ }
615
+ /**
616
+ * Resolves consumer-supplied label/description IDREFs on the host and
617
+ * projects the canonical dialog ARIA onto the **host** via
618
+ * `ElementInternals` (modern path) and onto the inner overlay via attribute
619
+ * writes (fallback path).
620
+ *
621
+ * Cross-shadow naming is belt-and-suspenders:
622
+ *
623
+ * 1. **Modern path** (`_supportsIdrefRefs === true`): consumer-resolved
624
+ * label/description elements are written onto
625
+ * `internals.ariaLabelledByElements` / `internals.ariaDescribedByElements`
626
+ * on the host. AT walking the host's accessibility tree finds them
627
+ * across the shadow boundary. `internals.ariaLabel` carries the
628
+ * flattened text fallback (only when no labelledby resolves) so AT
629
+ * that does not walk IDL refs still announces a name.
630
+ * 2. **Fallback path** (`_supportsIdrefRefs === false`): the resolved
631
+ * element text is flattened and written to `internals.ariaLabel` AND
632
+ * mirrored to the inner overlay's `aria-label`.
633
+ *
634
+ * The synthesized `<span id="${_consumerDescId}">` mirrors the resolved
635
+ * description text on every sync. The inner overlay's `aria-describedby`
636
+ * chains the in-shadow span. `aria-description` is intentionally NEVER
637
+ * written — W3C AccName ignores it whenever `aria-describedby` is set.
638
+ *
639
+ * Naming precedence (W3C AccName 1.2 §4.3.1):
640
+ * 1. Consumer `aria-labelledby` (resolved IDREFs, text-flattened)
641
+ * 2. Consumer `aria-label`
642
+ * 3. Slotted `<slot name="label">` text
643
+ * 4. `label` property
644
+ * 5. Hard-coded `"Drawer"`
645
+ * @internal
646
+ */
647
+ _syncHostAriaSemantics() {
648
+ var A;
649
+ const e = this._internals, t = this.getAttribute("aria-labelledby");
650
+ this._consumerLabelledBy = t;
651
+ const r = this.getAttribute("aria-describedby");
652
+ this._consumerDescribedBy = r;
653
+ const s = L(this, this._consumerLabelledBy), i = s.length > 0, a = L(this, this._consumerDescribedBy);
654
+ this._installExternalRefsObserver([...s, ...a]);
655
+ const o = (c) => c.getAttribute("aria-hidden") !== "true" && !c.hasAttribute("hidden"), b = this.getAttribute("aria-label"), y = b !== null ? b.trim() : "", v = [];
656
+ v.push(...s.filter(o)), !i && !y && this._hasLabelSlot && v.push(...this._slottedLabelEls.filter(o));
657
+ const S = [...a.filter(o)], E = (c) => c.filter(o).map((p) => x(p)).filter((p) => p.length > 0).join(" ");
658
+ let h = "";
659
+ if (i && (h = E(s)), !h && y && (h = y), !h && this._hasLabelSlot && this._labelSlotText && (h = this._labelSlotText), !h && this.label && (h = this.label), h || (h = "Drawer"), this._supportsIdrefRefs) {
660
+ const c = e;
661
+ c.ariaLabelledByElements = v.length > 0 ? v : null, c.ariaDescribedByElements = S.length > 0 ? S : null, i ? e.ariaLabel = null : e.ariaLabel = h;
662
+ } else
663
+ e.ariaLabel = h;
664
+ const _ = ((A = this.shadowRoot) == null ? void 0 : A.getElementById(this._consumerDescId)) ?? null, w = E(a);
665
+ _ && _.textContent !== w && (_.textContent = w);
666
+ const n = this._overlayEl ?? null;
667
+ if (n) {
668
+ n.hasAttribute("role") && n.removeAttribute("role"), n.hasAttribute("aria-modal") && n.removeAttribute("aria-modal");
669
+ const c = !this._supportsIdrefRefs && this._hasLabelSlot ? this._titleId : null, p = !this._supportsIdrefRefs && !c ? h : null;
670
+ if (c ? n.getAttribute("aria-labelledby") !== c && n.setAttribute("aria-labelledby", c) : n.hasAttribute("aria-labelledby") && n.removeAttribute("aria-labelledby"), p ? n.getAttribute("aria-label") !== p && n.setAttribute("aria-label", p) : n.hasAttribute("aria-label") && n.removeAttribute("aria-label"), w && _) {
671
+ const T = this._consumerDescId;
672
+ n.getAttribute("aria-describedby") !== T && n.setAttribute("aria-describedby", T);
673
+ } else n.hasAttribute("aria-describedby") && n.removeAttribute("aria-describedby");
674
+ }
675
+ n && n.hasAttribute("aria-description") && n.removeAttribute("aria-description");
487
676
  }
488
677
  // ─── Render Helpers ───
489
678
  /** @internal */
490
679
  _renderHeader() {
491
- return this.noHeader ? h`
680
+ return this.noHeader ? m`
492
681
  <button
493
682
  part="close-btn"
494
683
  class="drawer-close-button drawer-close-button--sr-only"
@@ -497,16 +686,16 @@ let o = class extends E {
497
686
  this.open = !1;
498
687
  }}
499
688
  ></button>
500
- ` : h`
689
+ ` : m`
501
690
  <div part="header" class="drawer-header">
502
691
  <h2 part="title" id=${this._titleId} class="drawer-title">
503
692
  <slot name="label" @slotchange=${this._handleLabelSlotChange}></slot>
504
693
  </h2>
505
694
  <div class="drawer-header-actions">
506
- ${this._hasHeaderActionsSlot ? h`<slot
695
+ ${this._hasHeaderActionsSlot ? m`<slot
507
696
  name="header-actions"
508
697
  @slotchange=${this._handleHeaderActionsSlotChange}
509
- ></slot>` : h`<slot
698
+ ></slot>` : m`<slot
510
699
  name="header-actions"
511
700
  @slotchange=${this._handleHeaderActionsSlotChange}
512
701
  style="display:none"
@@ -541,7 +730,7 @@ let o = class extends E {
541
730
  }
542
731
  /** @internal */
543
732
  _renderFooter() {
544
- return this.noFooter ? v : h`
733
+ return this.noFooter ? C : m`
545
734
  <div part="footer" class="drawer-footer" ?hidden=${!this._hasFooterSlot}>
546
735
  <slot name="footer" @slotchange=${this._handleFooterSlotChange}></slot>
547
736
  </div>
@@ -552,15 +741,11 @@ let o = class extends E {
552
741
  const e = {
553
742
  "drawer-overlay": !0,
554
743
  "is-open": this._isOpen
555
- }, t = this._hasLabelSlot ? this._titleId : void 0, r = this._hasLabelSlot ? void 0 : this.label || "Drawer";
556
- return h`
744
+ };
745
+ return m`
557
746
  <div
558
747
  part="overlay"
559
- class=${x(e)}
560
- role="dialog"
561
- aria-modal="true"
562
- aria-labelledby=${p(t)}
563
- aria-label=${p(r)}
748
+ class=${B(e)}
564
749
  tabindex="-1"
565
750
  @click=${this._handleOverlayClick}
566
751
  >
@@ -572,57 +757,74 @@ let o = class extends E {
572
757
  </div>
573
758
  ${this._renderFooter()}
574
759
  </div>
760
+ <!--
761
+ Synthesized in-shadow span carrying consumer-resolved description
762
+ text. Updated imperatively on every sync. The inner overlay's
763
+ \`aria-describedby\` references this span so cross-shadow consumer
764
+ descriptions resolve through the standard described-by channel
765
+ without writing light-DOM ids that cannot resolve from inside a
766
+ shadow root. \`aria-description\` is intentionally NEVER written —
767
+ AccName ignores it whenever \`aria-describedby\` is present.
768
+ -->
769
+ <span id=${this._consumerDescId} class="drawer-sr-only" aria-hidden="false"></span>
575
770
  </div>
576
771
  `;
577
772
  }
578
773
  };
579
- o.styles = [k, g];
580
- a([
581
- m(".drawer-overlay")
582
- ], o.prototype, "_overlayEl", 2);
583
- a([
584
- m(".drawer-panel")
585
- ], o.prototype, "_panelEl", 2);
586
- a([
587
- c()
588
- ], o.prototype, "_isOpen", 2);
589
- a([
590
- c()
591
- ], o.prototype, "_hasHeaderActionsSlot", 2);
592
- a([
593
- c()
594
- ], o.prototype, "_hasFooterSlot", 2);
595
- a([
596
- c()
597
- ], o.prototype, "_hasLabelSlot", 2);
598
- a([
599
- d({ type: Boolean, reflect: !0 })
600
- ], o.prototype, "open", 2);
601
- a([
602
- d({ type: String, reflect: !0 })
603
- ], o.prototype, "placement", 2);
604
- a([
605
- d({ type: String, reflect: !0, attribute: "hx-size" })
606
- ], o.prototype, "size", 2);
607
- a([
608
- d({ type: Boolean, reflect: !0 })
609
- ], o.prototype, "contained", 2);
610
- a([
611
- d({ type: Boolean, reflect: !0, attribute: "no-header" })
612
- ], o.prototype, "noHeader", 2);
613
- a([
614
- d({ type: Boolean, reflect: !0, attribute: "no-footer" })
615
- ], o.prototype, "noFooter", 2);
616
- a([
617
- d({ type: String })
618
- ], o.prototype, "label", 2);
619
- a([
620
- d({ type: String, attribute: "label-close" })
621
- ], o.prototype, "labelClose", 2);
622
- o = a([
623
- w("hx-drawer")
624
- ], o);
774
+ l.styles = [N, R];
775
+ l.__testSupportsIdrefRefsOverride = null;
776
+ d([
777
+ k(".drawer-overlay")
778
+ ], l.prototype, "_overlayEl", 2);
779
+ d([
780
+ k(".drawer-panel")
781
+ ], l.prototype, "_panelEl", 2);
782
+ d([
783
+ f()
784
+ ], l.prototype, "_isOpen", 2);
785
+ d([
786
+ f()
787
+ ], l.prototype, "_hasHeaderActionsSlot", 2);
788
+ d([
789
+ f()
790
+ ], l.prototype, "_hasFooterSlot", 2);
791
+ d([
792
+ f()
793
+ ], l.prototype, "_hasLabelSlot", 2);
794
+ d([
795
+ f()
796
+ ], l.prototype, "_supportsIdrefRefs", 2);
797
+ d([
798
+ f()
799
+ ], l.prototype, "_labelSlotText", 2);
800
+ d([
801
+ u({ type: Boolean, reflect: !0 })
802
+ ], l.prototype, "open", 2);
803
+ d([
804
+ u({ type: String, reflect: !0 })
805
+ ], l.prototype, "placement", 2);
806
+ d([
807
+ u({ type: String, reflect: !0, attribute: "hx-size" })
808
+ ], l.prototype, "size", 2);
809
+ d([
810
+ u({ type: Boolean, reflect: !0 })
811
+ ], l.prototype, "contained", 2);
812
+ d([
813
+ u({ type: Boolean, reflect: !0, attribute: "no-header" })
814
+ ], l.prototype, "noHeader", 2);
815
+ d([
816
+ u({ type: Boolean, reflect: !0, attribute: "no-footer" })
817
+ ], l.prototype, "noFooter", 2);
818
+ d([
819
+ u({ type: String })
820
+ ], l.prototype, "label", 2);
821
+ d([
822
+ u({ type: String, attribute: "label-close" })
823
+ ], l.prototype, "labelClose", 2);
824
+ l = d([
825
+ D("hx-drawer")
826
+ ], l);
625
827
  export {
626
- o as H
828
+ l as H
627
829
  };
628
- //# sourceMappingURL=hx-drawer-Y1Ui2IWJ.js.map
830
+ //# sourceMappingURL=hx-drawer-DH6CdAN1.js.map