@helixui/library 3.3.1 → 3.4.0-next.121
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.
- package/custom-elements.json +340 -71
- package/dist/components/hx-accordion/hx-accordion-item.d.ts +35 -0
- package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
- package/dist/components/hx-alert/hx-alert.d.ts +11 -0
- package/dist/components/hx-alert/hx-alert.d.ts.map +1 -1
- package/dist/components/hx-alert/hx-alert.styles.d.ts.map +1 -1
- package/dist/components/hx-alert/index.js +1 -1
- package/dist/components/hx-badge/hx-badge.styles.d.ts.map +1 -1
- package/dist/components/hx-badge/index.js +1 -1
- package/dist/components/hx-banner/hx-banner.d.ts +9 -1
- package/dist/components/hx-banner/hx-banner.d.ts.map +1 -1
- package/dist/components/hx-banner/index.js +1 -1
- package/dist/components/hx-button/hx-button.d.ts +11 -1
- package/dist/components/hx-button/hx-button.d.ts.map +1 -1
- package/dist/components/hx-button/index.js +1 -1
- package/dist/components/hx-button-group/hx-button-group.d.ts +13 -0
- package/dist/components/hx-button-group/hx-button-group.d.ts.map +1 -1
- package/dist/components/hx-button-group/index.js +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts +153 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts.map +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.styles.d.ts.map +1 -1
- package/dist/components/hx-checkbox/index.js +1 -1
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts +151 -2
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts.map +1 -1
- package/dist/components/hx-checkbox-group/index.js +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.d.ts +163 -1
- package/dist/components/hx-color-picker/hx-color-picker.d.ts.map +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-color-picker/index.js +1 -1
- package/dist/components/hx-combobox/hx-combobox.d.ts +311 -2
- package/dist/components/hx-combobox/hx-combobox.d.ts.map +1 -1
- package/dist/components/hx-combobox/index.js +1 -1
- package/dist/components/hx-data-table/hx-data-table.d.ts.map +1 -1
- package/dist/components/hx-data-table/index.js +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.d.ts +182 -56
- package/dist/components/hx-date-picker/hx-date-picker.d.ts.map +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-date-picker/index.js +1 -1
- package/dist/components/hx-dialog/hx-dialog.d.ts +240 -0
- package/dist/components/hx-dialog/hx-dialog.d.ts.map +1 -1
- package/dist/components/hx-dialog/index.js +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +201 -0
- package/dist/components/hx-drawer/hx-drawer.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.styles.d.ts.map +1 -1
- package/dist/components/hx-drawer/index.js +1 -1
- package/dist/components/hx-dropdown/hx-dropdown.d.ts +168 -0
- package/dist/components/hx-dropdown/hx-dropdown.d.ts.map +1 -1
- package/dist/components/hx-dropdown/index.js +1 -1
- package/dist/components/hx-field/hx-field.d.ts +109 -0
- package/dist/components/hx-field/hx-field.d.ts.map +1 -1
- package/dist/components/hx-field/index.js +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.d.ts +16 -3
- package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.styles.d.ts.map +1 -1
- package/dist/components/hx-icon-button/index.js +1 -1
- package/dist/components/hx-link/hx-link.d.ts +10 -1
- package/dist/components/hx-link/hx-link.d.ts.map +1 -1
- package/dist/components/hx-link/index.js +1 -1
- package/dist/components/hx-list/hx-list-item.d.ts +27 -1
- package/dist/components/hx-list/hx-list-item.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list.d.ts +28 -0
- package/dist/components/hx-list/hx-list.d.ts.map +1 -1
- package/dist/components/hx-list/index.js +1 -1
- package/dist/components/hx-menu/hx-menu-divider.d.ts +10 -0
- package/dist/components/hx-menu/hx-menu-divider.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu-item.d.ts +99 -2
- package/dist/components/hx-menu/hx-menu-item.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu-item.styles.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu.d.ts +117 -2
- package/dist/components/hx-menu/hx-menu.d.ts.map +1 -1
- package/dist/components/hx-menu/index.js +1 -1
- package/dist/components/hx-meter/hx-meter.d.ts +39 -0
- package/dist/components/hx-meter/hx-meter.d.ts.map +1 -1
- package/dist/components/hx-meter/hx-meter.styles.d.ts.map +1 -1
- package/dist/components/hx-meter/index.js +1 -1
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts +132 -1
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts.map +1 -1
- package/dist/components/hx-overflow-menu/index.js +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.d.ts +0 -1
- package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +91 -0
- package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
- package/dist/components/hx-popover/index.js +1 -1
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts +33 -0
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts.map +1 -1
- package/dist/components/hx-progress-bar/index.js +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts +152 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.d.ts +14 -0
- package/dist/components/hx-radio-group/hx-radio.d.ts.map +1 -1
- package/dist/components/hx-radio-group/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +304 -2
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- package/dist/components/hx-select/hx-select.styles.d.ts.map +1 -1
- package/dist/components/hx-select/index.js +1 -1
- package/dist/components/hx-side-nav/hx-nav-item.styles.d.ts.map +1 -1
- package/dist/components/hx-side-nav/index.js +1 -1
- package/dist/components/hx-spinner/hx-spinner.d.ts +14 -0
- package/dist/components/hx-spinner/hx-spinner.d.ts.map +1 -1
- package/dist/components/hx-spinner/index.js +1 -1
- package/dist/components/hx-split-button/hx-split-button.d.ts +94 -7
- package/dist/components/hx-split-button/hx-split-button.d.ts.map +1 -1
- package/dist/components/hx-split-button/index.js +1 -1
- package/dist/components/hx-stat/hx-stat.d.ts +28 -0
- package/dist/components/hx-stat/hx-stat.d.ts.map +1 -1
- package/dist/components/hx-stat/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +78 -1
- package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
- package/dist/components/hx-switch/hx-switch.styles.d.ts.map +1 -1
- package/dist/components/hx-switch/index.js +1 -1
- package/dist/components/hx-table/hx-td.d.ts +30 -3
- package/dist/components/hx-table/hx-td.d.ts.map +1 -1
- package/dist/components/hx-table/hx-th.d.ts +39 -3
- package/dist/components/hx-table/hx-th.d.ts.map +1 -1
- package/dist/components/hx-table/hx-tr.d.ts +26 -0
- package/dist/components/hx-table/hx-tr.d.ts.map +1 -1
- package/dist/components/hx-table/index.js +1 -1
- package/dist/components/hx-tabs/hx-tab-panel.d.ts +34 -0
- package/dist/components/hx-tabs/hx-tab-panel.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tab.d.ts +45 -2
- package/dist/components/hx-tabs/hx-tab.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tab.styles.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tabs.d.ts +32 -2
- package/dist/components/hx-tabs/hx-tabs.d.ts.map +1 -1
- package/dist/components/hx-tabs/index.js +1 -1
- package/dist/components/hx-tag/hx-tag.styles.d.ts.map +1 -1
- package/dist/components/hx-tag/index.js +1 -1
- package/dist/components/hx-theme/hx-theme.d.ts +10 -5
- package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.d.ts +210 -2
- package/dist/components/hx-time-picker/hx-time-picker.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-time-picker/index.js +1 -1
- package/dist/components/hx-toast/hx-toast-stack.d.ts +14 -0
- package/dist/components/hx-toast/hx-toast-stack.d.ts.map +1 -1
- package/dist/components/hx-toast/hx-toast.d.ts +22 -3
- package/dist/components/hx-toast/hx-toast.d.ts.map +1 -1
- package/dist/components/hx-toast/index.js +1 -1
- package/dist/components/hx-toast/toast-factory.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts +110 -0
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.styles.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.d.ts +52 -0
- package/dist/components/hx-tooltip/hx-tooltip.d.ts.map +1 -1
- package/dist/components/hx-tooltip/index.js +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.d.ts +117 -12
- package/dist/components/hx-tree-view/hx-tree-item.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.d.ts +87 -7
- package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/css/helix-all.css +221 -1
- package/dist/css/helix-core.css +81 -0
- package/dist/css/helix-feedback.css +14 -0
- package/dist/css/helix-forms.css +109 -1
- package/dist/css/helix-overlay.css +17 -0
- package/dist/css/hx-alert.css +9 -0
- package/dist/css/hx-badge.css +28 -0
- package/dist/css/hx-checkbox.css +18 -0
- package/dist/css/hx-color-picker.css +25 -0
- package/dist/css/hx-date-picker.css +2 -1
- package/dist/css/hx-drawer.css +17 -0
- package/dist/css/hx-icon-button.css +30 -0
- package/dist/css/hx-meter.css +5 -0
- package/dist/css/hx-select.css +19 -0
- package/dist/css/hx-switch.css +17 -0
- package/dist/css/hx-tag.css +23 -0
- package/dist/css/hx-time-picker.css +11 -0
- package/dist/css/hx-toggle-button.css +17 -0
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +4 -1
- package/dist/index.js +38 -38
- package/dist/shared/aria-flatten-DY6v2vah.js +22 -0
- package/dist/shared/aria-flatten-DY6v2vah.js.map +1 -0
- package/dist/shared/aria-idref-CxvyzfQS.js +126 -0
- package/dist/shared/aria-idref-CxvyzfQS.js.map +1 -0
- package/dist/shared/hx-accordion-ZVzgDzTG.js.map +1 -1
- package/dist/shared/{hx-alert-CLn7CstP.js → hx-alert-Bto8-TIi.js} +55 -37
- package/dist/shared/hx-alert-Bto8-TIi.js.map +1 -0
- package/dist/shared/{hx-badge-CQXgOXJM.js → hx-badge-JlFtAdxS.js} +37 -9
- package/dist/shared/hx-badge-JlFtAdxS.js.map +1 -0
- package/dist/shared/{hx-banner-D3DzpfcP.js → hx-banner-fpRnciIO.js} +13 -5
- package/dist/shared/hx-banner-fpRnciIO.js.map +1 -0
- package/dist/shared/{hx-button-DPY6SPVT.js → hx-button-BOwAEcF1.js} +108 -85
- package/dist/shared/{hx-button-DPY6SPVT.js.map → hx-button-BOwAEcF1.js.map} +1 -1
- package/dist/shared/{hx-button-group-BI-QBqmO.js → hx-button-group-DcHP5MBv.js} +15 -16
- package/dist/shared/{hx-button-group-BI-QBqmO.js.map → hx-button-group-DcHP5MBv.js.map} +1 -1
- package/dist/shared/hx-checkbox-C48KYKFq.js +696 -0
- package/dist/shared/hx-checkbox-C48KYKFq.js.map +1 -0
- package/dist/shared/hx-checkbox-group-BJIAX3zU.js +496 -0
- package/dist/shared/hx-checkbox-group-BJIAX3zU.js.map +1 -0
- package/dist/shared/hx-color-picker-Dk4cBwYQ.js +1221 -0
- package/dist/shared/hx-color-picker-Dk4cBwYQ.js.map +1 -0
- package/dist/shared/hx-combobox-BTLO9qiK.js +1359 -0
- package/dist/shared/hx-combobox-BTLO9qiK.js.map +1 -0
- package/dist/shared/{hx-data-table-CLqVqdxr.js → hx-data-table-Ct3gQ6ya.js} +3 -2
- package/dist/shared/{hx-data-table-CLqVqdxr.js.map → hx-data-table-Ct3gQ6ya.js.map} +1 -1
- package/dist/shared/{hx-date-picker-2iRG1p74.js → hx-date-picker-CiR7FVnR.js} +542 -206
- package/dist/shared/hx-date-picker-CiR7FVnR.js.map +1 -0
- package/dist/shared/hx-dialog-AOZpHSuF.js +717 -0
- package/dist/shared/hx-dialog-AOZpHSuF.js.map +1 -0
- package/dist/shared/{hx-drawer-Y1Ui2IWJ.js → hx-drawer-DH6CdAN1.js} +300 -98
- package/dist/shared/hx-drawer-DH6CdAN1.js.map +1 -0
- package/dist/shared/hx-dropdown-DiLd40Lm.js +401 -0
- package/dist/shared/hx-dropdown-DiLd40Lm.js.map +1 -0
- package/dist/shared/{hx-field-B3Qo8OLS.js → hx-field-zw0U1KVi.js} +99 -38
- package/dist/shared/hx-field-zw0U1KVi.js.map +1 -0
- package/dist/shared/{hx-icon-button-CGNdQSFM.js → hx-icon-button-a6OpeQz5.js} +149 -68
- package/dist/shared/hx-icon-button-a6OpeQz5.js.map +1 -0
- package/dist/shared/{hx-link-C-O6vq0Q.js → hx-link-CMnZRUtQ.js} +55 -43
- package/dist/shared/hx-link-CMnZRUtQ.js.map +1 -0
- package/dist/shared/{hx-list-MyEhh8c7.js → hx-list-De66EtAP.js} +163 -107
- package/dist/shared/hx-list-De66EtAP.js.map +1 -0
- package/dist/shared/hx-menu-divider-BjiRIWKq.js +797 -0
- package/dist/shared/hx-menu-divider-BjiRIWKq.js.map +1 -0
- package/dist/shared/{hx-meter-BPscsw5t.js → hx-meter-BJdh6nrF.js} +105 -64
- package/dist/shared/hx-meter-BJdh6nrF.js.map +1 -0
- package/dist/shared/{hx-nav-item-xqRPOCWX.js → hx-nav-item-CODtUlew.js} +13 -9
- package/dist/shared/{hx-nav-item-xqRPOCWX.js.map → hx-nav-item-CODtUlew.js.map} +1 -1
- package/dist/shared/hx-overflow-menu-BQ4fiMYu.js +492 -0
- package/dist/shared/hx-overflow-menu-BQ4fiMYu.js.map +1 -0
- package/dist/shared/hx-phi-field-C19oxlrr.js.map +1 -1
- package/dist/shared/{hx-popover-B-FP3-wW.js → hx-popover-B9W8-tC0.js} +123 -66
- package/dist/shared/hx-popover-B9W8-tC0.js.map +1 -0
- package/dist/shared/hx-progress-bar-C8nDMdYa.js +290 -0
- package/dist/shared/hx-progress-bar-C8nDMdYa.js.map +1 -0
- package/dist/shared/hx-radio-Z1lV1zTO.js +822 -0
- package/dist/shared/hx-radio-Z1lV1zTO.js.map +1 -0
- package/dist/shared/hx-select-D18CnJ0e.js +1089 -0
- package/dist/shared/hx-select-D18CnJ0e.js.map +1 -0
- package/dist/shared/{hx-spinner-DL5AYr16.js → hx-spinner-BB0h2hKZ.js} +62 -34
- package/dist/shared/hx-spinner-BB0h2hKZ.js.map +1 -0
- package/dist/shared/{hx-split-button-Djnc5Aeg.js → hx-split-button-BoABoEm5.js} +153 -82
- package/dist/shared/hx-split-button-BoABoEm5.js.map +1 -0
- package/dist/shared/{hx-stat-WOcNV1Ry.js → hx-stat-Dtf9lz-O.js} +77 -47
- package/dist/shared/hx-stat-Dtf9lz-O.js.map +1 -0
- package/dist/shared/hx-switch-B6kr-EwE.js +540 -0
- package/dist/shared/hx-switch-B6kr-EwE.js.map +1 -0
- package/dist/shared/{hx-tab-panel-DspCrKqo.js → hx-tab-panel-BQtBXKLD.js} +255 -131
- package/dist/shared/hx-tab-panel-BQtBXKLD.js.map +1 -0
- package/dist/shared/{hx-tag-CNSmdyaK.js → hx-tag-C5aCUpVi.js} +63 -40
- package/dist/shared/hx-tag-C5aCUpVi.js.map +1 -0
- package/dist/shared/{hx-td-DnnEMIuA.js → hx-td-BGkFOJEK.js} +267 -123
- package/dist/shared/hx-td-BGkFOJEK.js.map +1 -0
- package/dist/shared/hx-theme-BsefFWTO.js.map +1 -1
- package/dist/shared/hx-time-picker-iwCD7rzW.js +1038 -0
- package/dist/shared/hx-time-picker-iwCD7rzW.js.map +1 -0
- package/dist/shared/{hx-toggle-button-iLiYrMbD.js → hx-toggle-button-BQ81EDkl.js} +226 -65
- package/dist/shared/hx-toggle-button-BQ81EDkl.js.map +1 -0
- package/dist/shared/{hx-tooltip-nYOv9OLu.js → hx-tooltip-DVqtKPCD.js} +68 -46
- package/dist/shared/hx-tooltip-DVqtKPCD.js.map +1 -0
- package/dist/shared/hx-tree-item-CHrUhuZL.js +925 -0
- package/dist/shared/hx-tree-item-CHrUhuZL.js.map +1 -0
- package/dist/shared/menu-roving-DmMnzJhn.js +14 -0
- package/dist/shared/menu-roving-DmMnzJhn.js.map +1 -0
- package/dist/shared/menu-tree-BNM0SYYq.js +42 -0
- package/dist/shared/menu-tree-BNM0SYYq.js.map +1 -0
- package/dist/shared/{toast-factory-YSznocIV.js → toast-factory-CL2BzdSB.js} +128 -77
- package/dist/shared/toast-factory-CL2BzdSB.js.map +1 -0
- package/dist/utils/aria-flatten.d.ts +56 -0
- package/dist/utils/aria-flatten.d.ts.map +1 -0
- package/dist/utils/aria-idref.d.ts +127 -0
- package/dist/utils/aria-idref.d.ts.map +1 -0
- package/dist/utils/menu-label.d.ts +18 -0
- package/dist/utils/menu-label.d.ts.map +1 -0
- package/dist/utils/menu-roving.d.ts +28 -0
- package/dist/utils/menu-roving.d.ts.map +1 -0
- package/dist/utils/menu-tree.d.ts +41 -0
- package/dist/utils/menu-tree.d.ts.map +1 -0
- package/dist/utils/tree-walk.d.ts +53 -0
- package/dist/utils/tree-walk.d.ts.map +1 -0
- package/figma-inventory.json +132 -20
- package/package.json +2 -2
- package/dist/shared/hx-alert-CLn7CstP.js.map +0 -1
- package/dist/shared/hx-badge-CQXgOXJM.js.map +0 -1
- package/dist/shared/hx-banner-D3DzpfcP.js.map +0 -1
- package/dist/shared/hx-checkbox-D7xma9YH.js +0 -524
- package/dist/shared/hx-checkbox-D7xma9YH.js.map +0 -1
- package/dist/shared/hx-checkbox-group-C9n315Ju.js +0 -323
- package/dist/shared/hx-checkbox-group-C9n315Ju.js.map +0 -1
- package/dist/shared/hx-color-picker-uRc865FJ.js +0 -882
- package/dist/shared/hx-color-picker-uRc865FJ.js.map +0 -1
- package/dist/shared/hx-combobox-DDzqNKEW.js +0 -924
- package/dist/shared/hx-combobox-DDzqNKEW.js.map +0 -1
- package/dist/shared/hx-date-picker-2iRG1p74.js.map +0 -1
- package/dist/shared/hx-dialog-DRN_1-Y-.js +0 -514
- package/dist/shared/hx-dialog-DRN_1-Y-.js.map +0 -1
- package/dist/shared/hx-drawer-Y1Ui2IWJ.js.map +0 -1
- package/dist/shared/hx-dropdown-LyaRc8Rf.js +0 -263
- package/dist/shared/hx-dropdown-LyaRc8Rf.js.map +0 -1
- package/dist/shared/hx-field-B3Qo8OLS.js.map +0 -1
- package/dist/shared/hx-icon-button-CGNdQSFM.js.map +0 -1
- package/dist/shared/hx-link-C-O6vq0Q.js.map +0 -1
- package/dist/shared/hx-list-MyEhh8c7.js.map +0 -1
- package/dist/shared/hx-menu-divider-C2omnPtj.js +0 -558
- package/dist/shared/hx-menu-divider-C2omnPtj.js.map +0 -1
- package/dist/shared/hx-meter-BPscsw5t.js.map +0 -1
- package/dist/shared/hx-overflow-menu-DCLsdIBy.js +0 -374
- package/dist/shared/hx-overflow-menu-DCLsdIBy.js.map +0 -1
- package/dist/shared/hx-popover-B-FP3-wW.js.map +0 -1
- package/dist/shared/hx-progress-bar-Bn3JEPUf.js +0 -258
- package/dist/shared/hx-progress-bar-Bn3JEPUf.js.map +0 -1
- package/dist/shared/hx-radio-CJvNU2yP.js +0 -621
- package/dist/shared/hx-radio-CJvNU2yP.js.map +0 -1
- package/dist/shared/hx-select-C8fEHQhC.js +0 -807
- package/dist/shared/hx-select-C8fEHQhC.js.map +0 -1
- package/dist/shared/hx-spinner-DL5AYr16.js.map +0 -1
- package/dist/shared/hx-split-button-Djnc5Aeg.js.map +0 -1
- package/dist/shared/hx-stat-WOcNV1Ry.js.map +0 -1
- package/dist/shared/hx-switch-BrZFaRue.js +0 -420
- package/dist/shared/hx-switch-BrZFaRue.js.map +0 -1
- package/dist/shared/hx-tab-panel-DspCrKqo.js.map +0 -1
- package/dist/shared/hx-tag-CNSmdyaK.js.map +0 -1
- package/dist/shared/hx-td-DnnEMIuA.js.map +0 -1
- package/dist/shared/hx-time-picker-BoEIZwzv.js +0 -688
- package/dist/shared/hx-time-picker-BoEIZwzv.js.map +0 -1
- package/dist/shared/hx-toggle-button-iLiYrMbD.js.map +0 -1
- package/dist/shared/hx-tooltip-nYOv9OLu.js.map +0 -1
- package/dist/shared/hx-tree-item-C2CiWuDE.js +0 -703
- package/dist/shared/hx-tree-item-C2CiWuDE.js.map +0 -1
- package/dist/shared/toast-factory-YSznocIV.js.map +0 -1
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
1
2
|
import { HelixElement } from '../../base/index.js';
|
|
2
3
|
/**
|
|
3
4
|
* An individual tab button, designed to be used inside an `<hx-tabs>` container.
|
|
4
5
|
* Must be placed in the `tab` named slot of `<hx-tabs>`.
|
|
5
6
|
*
|
|
7
|
+
* Group 5a host-canonical: `role="tab"` lives on the **host** via
|
|
8
|
+
* `_internals.role`. The host is the focusable surface (carries the roving
|
|
9
|
+
* tabindex); the inner `<button>` retains click activation semantics
|
|
10
|
+
* (Enter/Space and pointer events) but is no longer the AT-announced surface
|
|
11
|
+
* — its role and ARIA state are stripped on the modern path so the host's
|
|
12
|
+
* canonical surface wins. `internals.ariaSelected`, `ariaDisabled`, and
|
|
13
|
+
* `ariaControlsElements` mirror reactive state. The host `aria-label` /
|
|
14
|
+
* `aria-labelledby` resolved via the shared IDREF mirror name the tab
|
|
15
|
+
* cross-shadow.
|
|
16
|
+
*
|
|
6
17
|
* @summary Presentational tab button that activates a corresponding panel.
|
|
7
18
|
*
|
|
8
19
|
* @tag hx-tab
|
|
@@ -47,12 +58,44 @@ export declare class HelixTab extends HelixElement {
|
|
|
47
58
|
*/
|
|
48
59
|
disabled: boolean;
|
|
49
60
|
/**
|
|
50
|
-
* The id of the panel this tab controls. Set by the parent `<hx-tabs>` to
|
|
51
|
-
* aria-controls relationship
|
|
61
|
+
* The id of the panel this tab controls. Set by the parent `<hx-tabs>` to
|
|
62
|
+
* establish the aria-controls relationship via element references on the
|
|
63
|
+
* host (modern path) or as a string fallback (legacy path).
|
|
52
64
|
* @internal
|
|
53
65
|
*/
|
|
54
66
|
controls: string;
|
|
67
|
+
/** @internal */
|
|
68
|
+
private _supportsIdrefRefs;
|
|
69
|
+
/** @internal */
|
|
70
|
+
private _ariaMirror;
|
|
71
|
+
/**
|
|
72
|
+
* Element reference for the controlled `<hx-tab-panel>` host. Set by the
|
|
73
|
+
* parent `<hx-tabs>` via `setControlsPanel()` and projected onto
|
|
74
|
+
* `internals.ariaControlsElements` so cross-shadow controls resolution
|
|
75
|
+
* works via IDL element references. Falls through to the `controls`
|
|
76
|
+
* string property on the legacy path.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private _controlledPanel;
|
|
55
80
|
connectedCallback(): void;
|
|
81
|
+
disconnectedCallback(): void;
|
|
82
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
83
|
+
/**
|
|
84
|
+
* Set by `<hx-tabs>` whenever the tab→panel relationship is recomputed.
|
|
85
|
+
* Drives `internals.ariaControlsElements` (modern path) so AT walks across
|
|
86
|
+
* the shadow boundary to the controlled panel by element reference.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
setControlsPanel(panel: Element | null): void;
|
|
90
|
+
/**
|
|
91
|
+
* Mirror reactive ARIA state onto ElementInternals on the **host**. The
|
|
92
|
+
* inner `<button>` no longer carries role/aria-* on the modern path — the
|
|
93
|
+
* host is the canonical AT-announced surface. The button stays as the
|
|
94
|
+
* activation surface (Enter/Space/click) but is `tabindex=-1` and
|
|
95
|
+
* presentational from AT's perspective.
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private _syncHostAriaSemantics;
|
|
56
99
|
/** @internal */
|
|
57
100
|
private _hasPrefixSlot;
|
|
58
101
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tab.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tab.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hx-tab.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAYnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBACa,QAAS,SAAQ,YAAY;IACxC,OAAgB,MAAM,4BAA6C;IAInE;;;;OAIG;IAEH,KAAK,SAAM;IAEX;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;;;OAKG;IAEH,QAAQ,SAAM;IAId,gBAAgB;IACP,OAAO,CAAC,kBAAkB,CAAQ;IAE3C,gBAAgB;IAChB,OAAO,CAAC,WAAW,CAAsC;IAEzD;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB,CAAwB;IAIvC,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;IAM5B,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAY/D;;;;;OAKG;IACH,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI;IAK7C;;;;;;;OAOG;IACH,OAAO,CAAC,sBAAsB;IAmD9B,gBAAgB;IACP,OAAO,CAAC,cAAc,CAAS;IACxC,gBAAgB;IACP,OAAO,CAAC,cAAc,CAAS;IAIxC,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAkBpB,gBAAgB;IAChB,OAAO,CAAC,uBAAuB;IAK/B,gBAAgB;IAChB,OAAO,CAAC,uBAAuB;IAOtB,MAAM;CA6EhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,EAAE,QAAQ,CAAC;KACpB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tab.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tab.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"hx-tab.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tab.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAsI1B,CAAC"}
|
|
@@ -10,6 +10,16 @@ export interface HxTabChangeDetail {
|
|
|
10
10
|
* Supports horizontal and vertical orientations, automatic and manual activation modes,
|
|
11
11
|
* and full keyboard navigation per the ARIA Authoring Practices Guide.
|
|
12
12
|
*
|
|
13
|
+
* Group 5a host-canonical: `role="tablist"` lives on the host via
|
|
14
|
+
* `_internals.role`. `aria-orientation`, `aria-label`, and consumer
|
|
15
|
+
* `aria-labelledby` resolve through the host. Per-tab `role="tab"` and
|
|
16
|
+
* per-panel `role="tabpanel"` likewise live on their respective hosts.
|
|
17
|
+
*
|
|
18
|
+
* Activation defaults to **manual** per healthcare patterns — keyboard arrow
|
|
19
|
+
* keys move focus only; Enter/Space activates. APG explicitly allows both
|
|
20
|
+
* automatic and manual activation; manual is safer when panels are heavy or
|
|
21
|
+
* announce changes via live regions.
|
|
22
|
+
*
|
|
13
23
|
* @summary Tab container that organizes content into selectable panels.
|
|
14
24
|
*
|
|
15
25
|
* @tag hx-tabs
|
|
@@ -58,18 +68,30 @@ export declare class HelixTabs extends HelixElement {
|
|
|
58
68
|
* Controls how keyboard navigation activates tabs.
|
|
59
69
|
* In `automatic` mode, focus also activates the tab.
|
|
60
70
|
* In `manual` mode, focus moves independently; Space or Enter activates.
|
|
71
|
+
*
|
|
72
|
+
* Group 5a default: `manual` — safer for healthcare patterns where panel
|
|
73
|
+
* content may be heavy or announce updates via live regions. APG explicitly
|
|
74
|
+
* allows both modes; manual avoids disorienting auto-activation when users
|
|
75
|
+
* scan tabs with arrow keys.
|
|
76
|
+
*
|
|
61
77
|
* @attr activation
|
|
62
78
|
*/
|
|
63
79
|
activation: 'manual' | 'automatic';
|
|
64
80
|
/**
|
|
65
|
-
* Accessible label for the tablist.
|
|
66
|
-
* Provide a brief description of what the tabs represent (e.g., "Patient
|
|
81
|
+
* Accessible label for the tablist. Drives the host `internals.ariaLabel`.
|
|
82
|
+
* Provide a brief description of what the tabs represent (e.g., "Patient
|
|
83
|
+
* record sections"). Consumer `aria-label` / `aria-labelledby` on the host
|
|
84
|
+
* override this property when present.
|
|
67
85
|
* @attr label
|
|
68
86
|
*/
|
|
69
87
|
label: string;
|
|
70
88
|
/** @internal */
|
|
71
89
|
private _activePanel;
|
|
72
90
|
/** @internal */
|
|
91
|
+
private _supportsIdrefRefs;
|
|
92
|
+
/** @internal */
|
|
93
|
+
private _ariaMirror;
|
|
94
|
+
/** @internal */
|
|
73
95
|
private _cachedTabs;
|
|
74
96
|
/** @internal */
|
|
75
97
|
private _cachedPanels;
|
|
@@ -101,6 +123,14 @@ export declare class HelixTabs extends HelixElement {
|
|
|
101
123
|
disconnectedCallback(): void;
|
|
102
124
|
firstUpdated(): void;
|
|
103
125
|
updated(changedProperties: PropertyValues<this>): void;
|
|
126
|
+
/**
|
|
127
|
+
* Mirror tablist semantics onto the host via ElementInternals so consumer-
|
|
128
|
+
* supplied `aria-label`, `aria-labelledby`, and the `label` property all
|
|
129
|
+
* reach the announced control. The host carries `role="tablist"` and the
|
|
130
|
+
* orientation reflects the `orientation` property reactively.
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
private _syncHostAriaSemantics;
|
|
104
134
|
/** @internal */
|
|
105
135
|
private _syncTabsAndPanels;
|
|
106
136
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tabs.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-tabs.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tabs/hx-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAgBpE,gEAAgE;AAChE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,qBACa,SAAU,SAAQ,YAAY;IACzC,OAAgB,MAAM,4BAA8C;IAIpE,gBAAgB;IAChB,OAAO,CAAC,GAAG,CAAiB;IAI5B;;;OAGG;IAEH,WAAW,EAAE,YAAY,GAAG,UAAU,CAAgB;IAEtD;;;;;;;;;;;OAWG;IAEH,UAAU,EAAE,QAAQ,GAAG,WAAW,CAAY;IAE9C;;;;;;OAMG;IAEH,KAAK,SAAM;IAIX,gBAAgB;IACP,OAAO,CAAC,YAAY,CAAM;IAEnC,gBAAgB;IACP,OAAO,CAAC,kBAAkB,CAAQ;IAI3C,gBAAgB;IAChB,OAAO,CAAC,WAAW,CAAsC;IAIzD,gBAAgB;IAChB,OAAO,CAAC,WAAW,CAA2B;IAC9C,gBAAgB;IAChB,OAAO,CAAC,aAAa,CAAgC;IACrD,gBAAgB;IAChB,OAAO,CAAC,SAAS,CAAiC;IAClD;;;;OAIG;IACH,OAAO,CAAC,aAAa,CAAuB;IAI5C,WA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ag/hx-tag.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"hx-tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tag/hx-tag.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAqL1B,CAAC"}
|
|
@@ -50,8 +50,9 @@ export type ThemeName = 'light' | 'dark' | 'high-contrast' | 'auto';
|
|
|
50
50
|
*
|
|
51
51
|
* @csspart base - The inner slot wrapper element. `display: contents` — no layout effect.
|
|
52
52
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Theme-injected CSS custom properties (semantic surface — full token catalog
|
|
54
|
+
* lives in `@helixui/tokens`; the wildcard `--hx-*` was previously documented
|
|
55
|
+
* here but the CEM cssProperties[] surface requires explicit names).
|
|
55
56
|
*
|
|
56
57
|
* @example Drupal Twig — wrap a region with a dark theme:
|
|
57
58
|
* ```twig
|
|
@@ -76,9 +77,13 @@ export type ThemeName = 'light' | 'dark' | 'high-contrast' | 'auto';
|
|
|
76
77
|
* <!-- Clinical dashboard content -->
|
|
77
78
|
* </hx-theme>
|
|
78
79
|
* ```
|
|
79
|
-
* @cssprop [--hx-color-text-primary] -
|
|
80
|
-
* @cssprop [--hx-
|
|
81
|
-
* @cssprop [--hx-
|
|
80
|
+
* @cssprop [--hx-color-text-primary] - Primary text color (theme-injected).
|
|
81
|
+
* @cssprop [--hx-color-surface-base] - Base surface background (theme-injected).
|
|
82
|
+
* @cssprop [--hx-color-border-default] - Default border color (theme-injected).
|
|
83
|
+
* @cssprop [--hx-space-4] - Spacing token (theme-injected).
|
|
84
|
+
* @cssprop [--hx-duration-fast] - Animation duration (theme-injected).
|
|
85
|
+
* @cssprop [--hx-radius-md] - Medium border-radius (theme-injected).
|
|
86
|
+
* @cssprop [--hx-font-family-body] - Body font family (theme-injected).
|
|
82
87
|
*/
|
|
83
88
|
export declare class HelixTheme extends HelixElement {
|
|
84
89
|
static styles: import('lit').CSSResult[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-theme.d.ts","sourceRoot":"","sources":["../../../src/components/hx-theme/hx-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAUnD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAAC;AA+HpE
|
|
1
|
+
{"version":3,"file":"hx-theme.d.ts","sourceRoot":"","sources":["../../../src/components/hx-theme/hx-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAUnD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAAC;AA+HpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAoB;IAgE5B,gBAAgB;IAChB,OAAO,CAAC,aAAa;IAcZ,MAAM;CAQhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,UAAU,CAAC;KACxB;CACF;AAED,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC"}
|
|
@@ -85,6 +85,14 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
87
87
|
static formAssociated: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Test seam: when set to `true` or `false`, overrides the platform
|
|
90
|
+
* `supportsIdrefElementReferences` probe before `connectedCallback` seeds
|
|
91
|
+
* `_supportsIdrefRefs`. Production code MUST NOT touch this field. It is a
|
|
92
|
+
* `static` so the test stub cleanup is global and obvious.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
static __testSupportsIdrefRefsOverride: boolean | null;
|
|
88
96
|
/**
|
|
89
97
|
* The name submitted with the form. Value is always HH:MM (24-hour).
|
|
90
98
|
* @attr name
|
|
@@ -135,6 +143,13 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
135
143
|
* @attr format
|
|
136
144
|
*/
|
|
137
145
|
format: '12h' | '24h';
|
|
146
|
+
/**
|
|
147
|
+
* Accessible name for screen readers, if different from the visible label.
|
|
148
|
+
* Uses `accessible-label` attribute instead of `aria-label` to avoid
|
|
149
|
+
* ARIAMixin shadowing on the host element. Highest-precedence naming source.
|
|
150
|
+
* @attr accessible-label
|
|
151
|
+
*/
|
|
152
|
+
accessibleLabel: string | null;
|
|
138
153
|
/**
|
|
139
154
|
* Whether the dropdown listbox is currently open.
|
|
140
155
|
* @internal
|
|
@@ -166,10 +181,36 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
166
181
|
*/
|
|
167
182
|
private _hasHelpSlot;
|
|
168
183
|
/**
|
|
169
|
-
*
|
|
184
|
+
* Source of the accessible name. Discriminated union avoids string sentinels.
|
|
170
185
|
* @internal
|
|
171
186
|
*/
|
|
172
|
-
private
|
|
187
|
+
private _labelSource;
|
|
188
|
+
/**
|
|
189
|
+
* Flattened, trimmed text content from all label-slot nodes — used to drive
|
|
190
|
+
* the inner input's `aria-label` on the no-IDL-ref fallback path and to
|
|
191
|
+
* gate `_hasLabelSlot` per AccName 1.2.
|
|
192
|
+
* @internal
|
|
193
|
+
*/
|
|
194
|
+
private _labelSlotText;
|
|
195
|
+
/**
|
|
196
|
+
* Whether the platform supports IDL element references on `ElementInternals`.
|
|
197
|
+
* Drives the cross-shadow naming strategy for the inner `<input>`.
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
private _supportsIdrefRefs;
|
|
201
|
+
/**
|
|
202
|
+
* Cached invalidity flag derived from `internals.validity.valid`, the
|
|
203
|
+
* `error` property, and the slotted error content. Drives `aria-invalid`
|
|
204
|
+
* on the inner input.
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
private _invalid;
|
|
208
|
+
/**
|
|
209
|
+
* Deferred copy of `error` driven through reactive state so the persistent
|
|
210
|
+
* live region can re-announce on transitions without direct DOM mutation.
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
private _announcedError;
|
|
173
214
|
private readonly _id;
|
|
174
215
|
/**
|
|
175
216
|
* Unique ID for the listbox element, referenced by `aria-controls` on the combobox input.
|
|
@@ -186,6 +227,22 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
186
227
|
* @internal
|
|
187
228
|
*/
|
|
188
229
|
private readonly _helpId;
|
|
230
|
+
/**
|
|
231
|
+
* Unique ID for the internal `<label>` element, referenced by inner input
|
|
232
|
+
* `aria-labelledby` when the `label` property names the field.
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
private readonly _labelId;
|
|
236
|
+
/**
|
|
237
|
+
* Id of the synthesized in-shadow span that mirrors the consumer-resolved
|
|
238
|
+
* description text. Appended to the inner input's `aria-describedby` so AT
|
|
239
|
+
* picks the consumer description up through the standard described-by
|
|
240
|
+
* channel — `aria-description` is intentionally NOT written, because the
|
|
241
|
+
* W3C AccName algorithm ignores `aria-description` whenever
|
|
242
|
+
* `aria-describedby` is also present.
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
private readonly _consumerDescId;
|
|
189
246
|
/**
|
|
190
247
|
* Reference to the text input element inside the shadow DOM.
|
|
191
248
|
* @internal
|
|
@@ -211,6 +268,64 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
211
268
|
* @internal
|
|
212
269
|
*/
|
|
213
270
|
private get _slots();
|
|
271
|
+
/** Handle for the shared IDREF observer. @internal */
|
|
272
|
+
private _ariaMirror;
|
|
273
|
+
/**
|
|
274
|
+
* Watches assigned `<slot name="help-text">` nodes for in-place text
|
|
275
|
+
* mutations so help-text effective state stays in sync with consumer
|
|
276
|
+
* `textContent` writes that don't trigger a `slotchange` event.
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
private _helpSlotTextObserver;
|
|
280
|
+
/**
|
|
281
|
+
* Watches assigned `<slot name="error">` nodes for in-place text mutations.
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
private _errorSlotTextObserver;
|
|
285
|
+
/**
|
|
286
|
+
* Dedicated host observer scoped to `aria-describedby` with
|
|
287
|
+
* `attributeOldValue: true`. Governed by the disconnect-during-strip
|
|
288
|
+
* discipline.
|
|
289
|
+
* @internal
|
|
290
|
+
*/
|
|
291
|
+
private _hostDescribedByObserver;
|
|
292
|
+
/**
|
|
293
|
+
* Most recently observed *consumer-supplied* `aria-labelledby` baseline.
|
|
294
|
+
* Refreshed on every sync. Modern + legacy paths leave the host attribute
|
|
295
|
+
* in place, so the live attribute IS the cache.
|
|
296
|
+
* @internal
|
|
297
|
+
*/
|
|
298
|
+
private _consumerLabelledBy;
|
|
299
|
+
/** @internal — see `_consumerLabelledBy`. */
|
|
300
|
+
private _consumerDescribedBy;
|
|
301
|
+
/**
|
|
302
|
+
* Direct references to ALL labellable elements projected into
|
|
303
|
+
* `<slot name="label">`. Aggregating every assigned element preserves
|
|
304
|
+
* composed labels such as
|
|
305
|
+
* `<svg slot="label" aria-hidden="true">…</svg><span slot="label">Time</span>`.
|
|
306
|
+
* The modern path passes the visible subset to
|
|
307
|
+
* `internals.ariaLabelledByElements`; the fallback path text-flattens every
|
|
308
|
+
* non-hidden node into `_labelSlotText` per AccName 1.2.
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
private _slottedLabelEls;
|
|
312
|
+
/**
|
|
313
|
+
* Watches in-place text mutations on the assigned slotted label nodes. The
|
|
314
|
+
* `slotchange` event covers add/remove/replace; this MO covers
|
|
315
|
+
* `node.textContent = '…'` updates on an unchanged node (consumer i18n
|
|
316
|
+
* re-renders) and `aria-hidden` / `hidden` toggles per AccName 1.2 §4.3.10.
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
private _labelSlotTextObserver;
|
|
320
|
+
/**
|
|
321
|
+
* Watches in-place text mutations on consumer light-DOM elements resolved
|
|
322
|
+
* from host `aria-labelledby` / `aria-describedby`. Without this, a consumer
|
|
323
|
+
* keeping the same `<label id="…">` but mutating its `textContent` (e.g.
|
|
324
|
+
* i18n re-render) would leave the inner input's `aria-label` and
|
|
325
|
+
* synthesized description span stale indefinitely.
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
private _externalRefsObserver;
|
|
214
329
|
/**
|
|
215
330
|
* Closes the listbox when a click is detected outside the component; bound for stable add/removeEventListener calls.
|
|
216
331
|
* @internal
|
|
@@ -220,6 +335,99 @@ export declare class HelixTimePicker extends HelixTimePicker_base {
|
|
|
220
335
|
disconnectedCallback(): void;
|
|
221
336
|
willUpdate(changed: PropertyValues<this>): void;
|
|
222
337
|
updated(changed: PropertyValues<this>): void;
|
|
338
|
+
firstUpdated(changed: PropertyValues<this>): void;
|
|
339
|
+
/**
|
|
340
|
+
* Synchronous slot-state seed. Mirrors the side effects of the three
|
|
341
|
+
* `_handle*SlotChange` handlers (label / help-text / error) but is driven by
|
|
342
|
+
* direct `slot.assignedNodes()` reads so we can populate state BEFORE the
|
|
343
|
+
* microtask `slotchange` events fire after the first render.
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
346
|
+
private _seedSlotStateSync;
|
|
347
|
+
/**
|
|
348
|
+
* Reads the label slot's assigned nodes and computes the discriminated
|
|
349
|
+
* naming state. An empty whitespace-only slot does NOT count as a useful
|
|
350
|
+
* name. Aggregates ALL assigned elements (not just the first); per AccName
|
|
351
|
+
* 1.2 §4.3.10, `aria-hidden="true"` and `[hidden]` elements contribute zero
|
|
352
|
+
* to the accessible name (their text is skipped during flattening).
|
|
353
|
+
* @internal
|
|
354
|
+
*/
|
|
355
|
+
private _readLabelSlotState;
|
|
356
|
+
/**
|
|
357
|
+
* Re-evaluate the help-text slot's "has meaningful content" state from its
|
|
358
|
+
* current effective text. Mirrors the slotchange-handler logic but is
|
|
359
|
+
* invocable from the in-place mutation observer so that clearing
|
|
360
|
+
* `textContent` on the same slotted node flips `_hasHelpSlot` back to
|
|
361
|
+
* `false`. Uses AccName-aware flatten so descendants carrying
|
|
362
|
+
* `aria-hidden="true"` or `hidden` do NOT count toward "has meaningful
|
|
363
|
+
* content".
|
|
364
|
+
* @internal
|
|
365
|
+
*/
|
|
366
|
+
private _readHelpSlotStateSync;
|
|
367
|
+
/**
|
|
368
|
+
* Re-evaluate the error slot's "has meaningful content" state from its
|
|
369
|
+
* current effective text. AccName-aware so visibility-suppressed roots /
|
|
370
|
+
* descendants don't keep the field stuck in error state.
|
|
371
|
+
* @internal
|
|
372
|
+
*/
|
|
373
|
+
private _readErrorSlotStateSync;
|
|
374
|
+
/**
|
|
375
|
+
* (Re-)installs a `MutationObserver` against the deduped union of
|
|
376
|
+
* consumer-resolved label/description elements. Watches `characterData`,
|
|
377
|
+
* `childList`, `subtree`, and aria-hidden/hidden attribute toggles so any
|
|
378
|
+
* in-place text or visibility mutation triggers a fresh sync.
|
|
379
|
+
* @internal
|
|
380
|
+
*/
|
|
381
|
+
private _installExternalRefsObserver;
|
|
382
|
+
/**
|
|
383
|
+
* Resolves consumer-supplied label/description IDREFs on the host and writes
|
|
384
|
+
* the canonical combobox ARIA onto the **inner `<input>`** per W3C APG
|
|
385
|
+
* editable combobox pattern. The inner input owns `role="combobox"`
|
|
386
|
+
* (replacing its implicit textbox role) and all combobox state ARIA so AT
|
|
387
|
+
* sees a single announced + focused surface.
|
|
388
|
+
*
|
|
389
|
+
* Cross-shadow naming uses a belt-and-suspenders strategy:
|
|
390
|
+
*
|
|
391
|
+
* 1. **Modern path** (`_supportsIdrefRefs === true`): consumer-resolved
|
|
392
|
+
* label/description elements are written onto
|
|
393
|
+
* `internals.ariaLabelledByElements` / `internals.ariaDescribedByElements`
|
|
394
|
+
* on the host. Host-level `aria-labelledby` / `aria-describedby`
|
|
395
|
+
* attributes are LEFT IN PLACE so AT walking up the DOM also sees them.
|
|
396
|
+
* The text content of the resolved elements is also flattened onto the
|
|
397
|
+
* inner input as `aria-label` so AT that does not walk up still
|
|
398
|
+
* announces the right name.
|
|
399
|
+
*
|
|
400
|
+
* 2. **Legacy fallback** (`_supportsIdrefRefs === false`): the resolved-
|
|
401
|
+
* element text is flattened onto the inner input as `aria-label` and
|
|
402
|
+
* mirrored into a synthesized in-shadow span pointed at by the inner
|
|
403
|
+
* input's `aria-describedby`.
|
|
404
|
+
*
|
|
405
|
+
* Writing `aria-labelledby="<light-DOM id>"` directly on the shadow-DOM
|
|
406
|
+
* inner input is INTENTIONALLY avoided: light-DOM ids do not resolve from
|
|
407
|
+
* inside a shadow root.
|
|
408
|
+
* @internal
|
|
409
|
+
*/
|
|
410
|
+
private _syncHostAriaSemantics;
|
|
411
|
+
/**
|
|
412
|
+
* (Re-)installs the help-text slot text/visibility observer.
|
|
413
|
+
* @internal
|
|
414
|
+
*/
|
|
415
|
+
private _installHelpSlotTextObserver;
|
|
416
|
+
/**
|
|
417
|
+
* (Re-)installs the error slot text/visibility observer.
|
|
418
|
+
* @internal
|
|
419
|
+
*/
|
|
420
|
+
private _installErrorSlotTextObserver;
|
|
421
|
+
/**
|
|
422
|
+
* (Re-)installs the label slot text/visibility observer over the current
|
|
423
|
+
* set of slotted label elements.
|
|
424
|
+
* @internal
|
|
425
|
+
*/
|
|
426
|
+
private _installLabelSlotTextObserver;
|
|
427
|
+
/**
|
|
428
|
+
* Recomputes the discriminated label source. @internal
|
|
429
|
+
*/
|
|
430
|
+
private _refreshLabelSource;
|
|
223
431
|
/** @internal */
|
|
224
432
|
_updateValidity(): void;
|
|
225
433
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAsLpE,mEAAmE;AACnE,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,qBACa,eAAgB,SAAQ,oBAAuB;IAC1D,OAAgB,MAAM,4BAA8C;IAIpE;;;OAGG;IACH,OAAgB,cAAc,UAAQ;IAEtC;;;;;;OAMG;IACH,MAAM,C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AO,CAAC,uBAAuB;IAM/B,6CAA6C;IACpC,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAMnC,MAAM;CAkLhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,eAAe,CAAC;KACnC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-time-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"hx-time-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,yBAkPjC,CAAC"}
|
|
@@ -13,6 +13,20 @@ export type ToastStackPlacement = 'top-start' | 'top-center' | 'top-end' | 'bott
|
|
|
13
13
|
* @csspart base - The inner stack container div.
|
|
14
14
|
*
|
|
15
15
|
* @cssprop [--hx-z-index-toast=9000] - Z-index for the fixed stack.
|
|
16
|
+
*
|
|
17
|
+
* ─── ARIA scope (group-6 §3.2 / §5.9) ─────────────────────────────────────
|
|
18
|
+
*
|
|
19
|
+
* `hx-toast-stack` deliberately has NO `role`, `aria-live`, `aria-atomic`,
|
|
20
|
+
* or `aria-relevant` on its host or inner container. Each child `hx-toast`
|
|
21
|
+
* is its own live region (role=alert/status via ElementInternals). Wrapping
|
|
22
|
+
* those toasts in a second live region (e.g. `role="log"` on the stack)
|
|
23
|
+
* would create nested live regions, which causes older NVDA/JAWS to
|
|
24
|
+
* announce every toast TWICE — once for the toast's own role, once for the
|
|
25
|
+
* surrounding log region.
|
|
26
|
+
*
|
|
27
|
+
* The stack is purely a positional/z-index container; it is invisible to
|
|
28
|
+
* the AT tree. Do NOT add a container role unless this entire architecture
|
|
29
|
+
* is rewritten so individual toasts no longer carry their own roles.
|
|
16
30
|
*/
|
|
17
31
|
export declare class HelixToastStack extends HelixElement {
|
|
18
32
|
static styles: import('lit').CSSResult[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-toast-stack.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast-stack.ts"],"names":[],"mappings":"AACA,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,MAAM,MAAM,mBAAmB,GAC3B,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,CAAC;AAEjB
|
|
1
|
+
{"version":3,"file":"hx-toast-stack.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast-stack.ts"],"names":[],"mappings":"AACA,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,MAAM,MAAM,mBAAmB,GAC3B,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,eAAgB,SAAQ,YAAY;IAC/C,OAAgB,MAAM,4BAA2B;IAEjD;;;OAGG;IAEH,SAAS,EACL,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,CAAgB;IAEhC;;;OAGG;IAEH,UAAU,SAAK;IAEN,MAAM;CAahB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,eAAe,CAAC;KACnC;CACF"}
|
|
@@ -97,8 +97,22 @@ export declare class HelixToast extends HelixElement {
|
|
|
97
97
|
private _timerStartedAt;
|
|
98
98
|
/** @internal */
|
|
99
99
|
private _timerRemaining;
|
|
100
|
+
connectedCallback(): void;
|
|
100
101
|
updated(changedProperties: PropertyValues<this>): void;
|
|
101
102
|
disconnectedCallback(): void;
|
|
103
|
+
/**
|
|
104
|
+
* (group-6 §5.3) WCAG 2.2.3 (Level AA — No Time Limits) audit. When
|
|
105
|
+
* `duration` is shorter than the role-implied minimum-display-time for the
|
|
106
|
+
* current variant, surface a developer warning recommending a longer
|
|
107
|
+
* duration or `duration=0` for persistent toasts. Danger toasts in
|
|
108
|
+
* particular are safety-critical and routinely need more than 5 seconds
|
|
109
|
+
* for screen readers to finish reading.
|
|
110
|
+
*
|
|
111
|
+
* Fires only in DEV builds (Vite tree-shakes the call in production).
|
|
112
|
+
*
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private _auditWcag223;
|
|
102
116
|
/** Show the toast. */
|
|
103
117
|
show(): void;
|
|
104
118
|
/** Hide the toast. */
|
|
@@ -127,11 +141,16 @@ export declare class HelixToast extends HelixElement {
|
|
|
127
141
|
private _handleClose;
|
|
128
142
|
/** @internal */
|
|
129
143
|
private _handleActionSlotChange;
|
|
130
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
* Variant→role mapping (harmonized with hx-alert/hx-banner per group-6):
|
|
147
|
+
* only `danger` is assertive (role=alert); all other variants are polite
|
|
148
|
+
* (role=status). role implies aria-live, so we do NOT also expose an
|
|
149
|
+
* `_ariaLive` getter — that path was removed when the inner div stopped
|
|
150
|
+
* carrying explicit aria-live (§5.1 double-announce mitigation).
|
|
151
|
+
*/
|
|
131
152
|
private get _role();
|
|
132
153
|
/** @internal */
|
|
133
|
-
private get _ariaLive();
|
|
134
|
-
/** @internal */
|
|
135
154
|
private _renderSuccessIcon;
|
|
136
155
|
/** @internal */
|
|
137
156
|
private _renderWarningIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-toast.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,E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tB,IAAI,IAAI,IAAI;IAQZ,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAUnB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IASnB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAOzB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAMnB,gBAAgB;IAChB,OAAO,CAAC,SAAS;IAIjB,gBAAgB;IAChB,OAAO,CAAC,SAAS;IAsBjB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAIzB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAMzB,gBAAgB;IAChB,OAAO,CAAC,cAAc;IAItB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAMvB,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAIpB,gBAAgB;IAChB,OAAO,CAAC,uBAAuB;IAU/B;;;;;;;OAOG;IACH,OAAO,KAAK,KAAK,GAEhB;IAMD,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAS1B,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAS1B,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IASzB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IASvB,4FAA4F;IAC5F,OAAO,KAAK,YAAY,GAavB;IAID,gBAAgB;IAChB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAKtC;IAEF,gBAAgB;IAChB,OAAO,KAAK,cAAc,GAEzB;IAYQ,MAAM;CA0DhB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,UAAU,CAAC;KACxB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-factory.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/toast-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;
|
|
1
|
+
{"version":3,"file":"toast-factory.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/toast-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;AA6BD;;;;;;;;;;GAUG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CA4EvD"}
|