@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.
- 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 +1 -1
- 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
|
@@ -16,6 +16,9 @@ declare const HelixColorPicker_base: typeof HelixElement & (new (...args: any[])
|
|
|
16
16
|
* @tag hx-color-picker
|
|
17
17
|
*
|
|
18
18
|
* @slot trigger - Custom trigger element. Default: a color swatch button.
|
|
19
|
+
* @slot label - Visible label projected above the trigger; aggregated text contributes to the host's accessible name when no stronger naming source (aria-labelledby/aria-label/accessible-label/label) is supplied.
|
|
20
|
+
* @slot help-text - Help text rendered below the trigger and joined into the host's announced description channel.
|
|
21
|
+
* @slot error - Error message rendered below help text. When present, marks the trigger as aria-invalid and is announced via a polite live region.
|
|
19
22
|
*
|
|
20
23
|
* @fires {CustomEvent<{value: string}>} hx-input - Dispatched while dragging sliders or grid.
|
|
21
24
|
* @fires {CustomEvent<{value: string}>} hx-change - Dispatched when a color is committed.
|
|
@@ -27,6 +30,9 @@ declare const HelixColorPicker_base: typeof HelixElement & (new (...args: any[])
|
|
|
27
30
|
* @csspart hue-slider - The hue slider track.
|
|
28
31
|
* @csspart opacity-slider - The alpha/opacity slider track.
|
|
29
32
|
* @csspart input - The text input area.
|
|
33
|
+
* @csspart label - The visible label container above the trigger.
|
|
34
|
+
* @csspart help-text - The help-text container rendered below the trigger.
|
|
35
|
+
* @csspart error - The error-message container rendered below help text.
|
|
30
36
|
*
|
|
31
37
|
* @cssprop [--hx-color-picker-z-index=1000] - z-index of the popover panel.
|
|
32
38
|
* @cssprop [--hx-color-picker-width=260px] - Width of the picker panel.
|
|
@@ -162,7 +168,34 @@ export declare class HelixColorPicker extends HelixColorPicker_base {
|
|
|
162
168
|
/** Accessible label for the color picker dialog/panel. */
|
|
163
169
|
labelPicker: string;
|
|
164
170
|
/**
|
|
165
|
-
*
|
|
171
|
+
* Visible label rendered above the trigger. When set this becomes the
|
|
172
|
+
* announced name of the trigger surface unless a stronger source
|
|
173
|
+
* (`aria-labelledby`, `aria-label`, or `accessible-label`) is supplied.
|
|
174
|
+
* @attr label
|
|
175
|
+
*/
|
|
176
|
+
label: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Visually-hidden accessible name. Highest-priority self-naming source —
|
|
179
|
+
* outranks `label`, slotted label content, and the generated trigger label,
|
|
180
|
+
* but defers to consumer `aria-labelledby` (effective) and `aria-label`.
|
|
181
|
+
* @attr accessible-label
|
|
182
|
+
*/
|
|
183
|
+
accessibleLabel: string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* Help text rendered below the trigger and joined into the host's
|
|
186
|
+
* announced description channel.
|
|
187
|
+
* @attr help-text
|
|
188
|
+
*/
|
|
189
|
+
helpText: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Error message. When non-empty, marks the trigger surface as `aria-invalid`
|
|
192
|
+
* and joins the host's announced description channel via a live alert.
|
|
193
|
+
* @attr error
|
|
194
|
+
*/
|
|
195
|
+
error: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Generates the accessible label for the trigger button when no other
|
|
198
|
+
* naming source is provided.
|
|
166
199
|
* @param color - current color value string
|
|
167
200
|
*/
|
|
168
201
|
labelTrigger: (color: string) => string;
|
|
@@ -181,6 +214,55 @@ export declare class HelixColorPicker extends HelixColorPicker_base {
|
|
|
181
214
|
* @internal
|
|
182
215
|
*/
|
|
183
216
|
private _inputValue;
|
|
217
|
+
/**
|
|
218
|
+
* Whether the platform supports the IDL element-references API on
|
|
219
|
+
* `ElementInternals` (`ariaLabelledByElements` / `ariaDescribedByElements`).
|
|
220
|
+
* Drives the modern (host-canonical) vs. fallback (mirror onto trigger)
|
|
221
|
+
* branches in `_syncHostAriaSemantics()`.
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
private _supportsIdrefRefs;
|
|
225
|
+
/**
|
|
226
|
+
* Test seam for forcing the no-IDL-ref path in synthetic environments.
|
|
227
|
+
* Production code MUST NOT touch this. `null` = use platform detection;
|
|
228
|
+
* `true`/`false` = force the corresponding branch on connect.
|
|
229
|
+
* @internal
|
|
230
|
+
*/
|
|
231
|
+
static __testSupportsIdrefRefsOverride: boolean | null;
|
|
232
|
+
/** Slotted label elements (multi-node aggregation). @internal */
|
|
233
|
+
private _slottedLabelEls;
|
|
234
|
+
/** Aggregated text from slotted label, AccName-flattened. @internal */
|
|
235
|
+
private _labelSlotText;
|
|
236
|
+
/** True when the label slot carries useful text. @internal */
|
|
237
|
+
private _hasLabelSlot;
|
|
238
|
+
/** Aggregated text from slotted help-text, AccName-flattened. @internal */
|
|
239
|
+
private _helpSlotText;
|
|
240
|
+
/** Aggregated text from slotted error, AccName-flattened. @internal */
|
|
241
|
+
private _errorSlotText;
|
|
242
|
+
/** Effective error text exposed in the live region. @internal */
|
|
243
|
+
private _announcedError;
|
|
244
|
+
/** Stable IDs for inner help / error elements. @internal */
|
|
245
|
+
private readonly _instanceId;
|
|
246
|
+
/** @internal */ private readonly _helpId;
|
|
247
|
+
/** @internal */ private readonly _errorId;
|
|
248
|
+
/** Hidden host-level description span ID (synthesized aria-description channel). @internal */
|
|
249
|
+
private readonly _hostDescId;
|
|
250
|
+
/** Fallback aria-* for the trigger button when IDL refs are unsupported. @internal */
|
|
251
|
+
private _fallbackTriggerAriaLabelledBy;
|
|
252
|
+
/** @internal */ private _fallbackTriggerAriaDescribedBy;
|
|
253
|
+
/** @internal */ private _fallbackTriggerAriaLabel;
|
|
254
|
+
/** Cached resolved external description text for the synthesized host span. @internal */
|
|
255
|
+
private _externalDescText;
|
|
256
|
+
/** Handle for the shared IDREF observer. @internal */
|
|
257
|
+
private _ariaMirror;
|
|
258
|
+
/** Mutation observer over the label-slot assigned-node text. @internal */
|
|
259
|
+
private _labelSlotTextObserver;
|
|
260
|
+
/** Mutation observer over the help-slot assigned-node text. @internal */
|
|
261
|
+
private _helpSlotTextObserver;
|
|
262
|
+
/** Mutation observer over the error-slot assigned-node text. @internal */
|
|
263
|
+
private _errorSlotTextObserver;
|
|
264
|
+
/** Mutation observer over external aria-labelledby / aria-describedby targets. @internal */
|
|
265
|
+
private _externalRefsObserver;
|
|
184
266
|
/** Cached reference to the gradient grid element. @internal */
|
|
185
267
|
private _gridEl;
|
|
186
268
|
/** Cached reference to the hue slider element. @internal */
|
|
@@ -225,8 +307,72 @@ export declare class HelixColorPicker extends HelixColorPicker_base {
|
|
|
225
307
|
connectedCallback(): void;
|
|
226
308
|
disconnectedCallback(): void;
|
|
227
309
|
willUpdate(changedProperties: PropertyValues<this>): void;
|
|
310
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
311
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
228
312
|
/** @internal */
|
|
229
313
|
private _syncFromValue;
|
|
314
|
+
/**
|
|
315
|
+
* Synchronous slot-state seed. Mirrors the side effects of the slotchange
|
|
316
|
+
* handlers but is driven by direct `slot.assignedNodes()` reads so we can
|
|
317
|
+
* populate state BEFORE the microtask `slotchange` events fire after the
|
|
318
|
+
* first render.
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
private _seedSlotStateSync;
|
|
322
|
+
/** @internal */
|
|
323
|
+
private _captureLabelSlot;
|
|
324
|
+
/** @internal */
|
|
325
|
+
private _captureHelpSlot;
|
|
326
|
+
/** @internal */
|
|
327
|
+
private _captureErrorSlot;
|
|
328
|
+
/** @internal */
|
|
329
|
+
private _handleLabelSlotChange;
|
|
330
|
+
/** @internal */
|
|
331
|
+
private _handleHelpSlotChange;
|
|
332
|
+
/** @internal */
|
|
333
|
+
private _handleErrorSlotChange;
|
|
334
|
+
/** @internal */
|
|
335
|
+
private _installLabelSlotTextObserver;
|
|
336
|
+
/** @internal */
|
|
337
|
+
private _installHelpSlotTextObserver;
|
|
338
|
+
/** @internal */
|
|
339
|
+
private _installErrorSlotTextObserver;
|
|
340
|
+
/**
|
|
341
|
+
* Watches the elements referenced by `aria-labelledby` / `aria-describedby`
|
|
342
|
+
* for in-place text mutations so the announced name/description stays
|
|
343
|
+
* accurate when consumers rewrite external label text without swapping the
|
|
344
|
+
* referenced node.
|
|
345
|
+
* @internal
|
|
346
|
+
*/
|
|
347
|
+
private _installExternalRefsObserver;
|
|
348
|
+
/**
|
|
349
|
+
* Compute and apply the cross-shadow ARIA contract for the trigger surface.
|
|
350
|
+
*
|
|
351
|
+
* Naming precedence (highest first):
|
|
352
|
+
* 1. consumer `aria-labelledby` (when at least one IDREF resolves)
|
|
353
|
+
* 2. consumer `aria-label`
|
|
354
|
+
* 3. `accessible-label` property
|
|
355
|
+
* 4. `label` property
|
|
356
|
+
* 5. slotted `<slot name="label">` text
|
|
357
|
+
* 6. `labelTrigger(value)` (default)
|
|
358
|
+
*
|
|
359
|
+
* Description channel (joined, deduped):
|
|
360
|
+
* - consumer `aria-describedby` resolved text
|
|
361
|
+
* - `help-text` property + slotted help-text
|
|
362
|
+
* - `error` property + slotted error (when present)
|
|
363
|
+
*
|
|
364
|
+
* Modern path (`_supportsIdrefRefs === true`): host owns the announced
|
|
365
|
+
* surface via `internals.aria*` + IDL refs. Trigger button mirrors only.
|
|
366
|
+
*
|
|
367
|
+
* Fallback path (`_supportsIdrefRefs === false`): trigger button carries
|
|
368
|
+
* the full aria contract via attribute mirrors.
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
private _syncHostAriaSemantics;
|
|
372
|
+
/** @internal */
|
|
373
|
+
private _effectiveHelpText;
|
|
374
|
+
/** @internal */
|
|
375
|
+
private _effectiveErrorText;
|
|
230
376
|
/** @internal */
|
|
231
377
|
protected _onFormDisabled(disabled: boolean): void;
|
|
232
378
|
/** @internal */
|
|
@@ -293,6 +439,22 @@ export declare class HelixColorPicker extends HelixColorPicker_base {
|
|
|
293
439
|
private _renderInput;
|
|
294
440
|
/** @internal */
|
|
295
441
|
private _renderPanel;
|
|
442
|
+
/**
|
|
443
|
+
* Builds the synthesized host-level description span text by joining the
|
|
444
|
+
* external (consumer-resolved) description text with help and error text.
|
|
445
|
+
* The hidden span lives in the shadow root so AT can resolve a single
|
|
446
|
+
* `aria-describedby` token to it without leaving the host's name surface.
|
|
447
|
+
* @internal
|
|
448
|
+
*/
|
|
449
|
+
private _hostDescriptionText;
|
|
450
|
+
/** @internal */
|
|
451
|
+
private _renderHostDescriptionSpan;
|
|
452
|
+
/** @internal */
|
|
453
|
+
private _renderLabelSlot;
|
|
454
|
+
/** @internal */
|
|
455
|
+
private _renderHelpSlot;
|
|
456
|
+
/** @internal */
|
|
457
|
+
private _renderErrorSlot;
|
|
296
458
|
render(): import('lit').TemplateResult<1>;
|
|
297
459
|
}
|
|
298
460
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-color-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-color-picker/hx-color-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-color-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-color-picker/hx-color-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAcnD,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,kB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AC,gBAAgB;IAYxB,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAU1B,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAU1B,gBAAgB;IAChB,OAAO,CAAC,SAAS;IAIjB,gBAAgB;IAChB,OAAO,CAAC,aAAa;IAUrB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAqCnB,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IA6BxB,gBAAgB;IAChB,OAAO,CAAC,oBAAoB;IAiC5B,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAoBvB,gBAAgB;IAChB,OAAO,CAAC,YAAY;IA+BpB,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAwBpB;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAS5B,gBAAgB;IAChB,OAAO,CAAC,0BAA0B;IAalC,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAYxB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAYvB,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAmBf,MAAM;CA0DhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,gBAAgB,CAAC;KACrC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-color-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-color-picker/hx-color-picker.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"hx-color-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-color-picker/hx-color-picker.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBAqTlC,CAAC"}
|
|
@@ -110,6 +110,19 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
110
110
|
static styles: import('lit').CSSResult[];
|
|
111
111
|
/** Marks this element as form-associated for ElementInternals support. @internal */
|
|
112
112
|
static formAssociated: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Test seam (round-3 finding 4): when set to `true` or `false`, overrides
|
|
115
|
+
* the platform `supportsIdrefElementReferences` probe before
|
|
116
|
+
* `connectedCallback` seeds `_supportsIdrefRefs`. Mid-life flag flips on a
|
|
117
|
+
* connected instance allowed stale modern internals (set during connect)
|
|
118
|
+
* to leak into the fallback branch — tests must select the path BEFORE
|
|
119
|
+
* the host connects so the synthetic environment matches a legacy engine.
|
|
120
|
+
*
|
|
121
|
+
* Production code MUST NOT touch this field. It is a `static` so the test
|
|
122
|
+
* stub cleanup is global and obvious.
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
static __testSupportsIdrefRefsOverride: boolean | null;
|
|
113
126
|
/** @internal */
|
|
114
127
|
private _id;
|
|
115
128
|
/** @internal */
|
|
@@ -122,6 +135,16 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
122
135
|
private _labelId;
|
|
123
136
|
/** @internal */
|
|
124
137
|
private _liveRegionId;
|
|
138
|
+
/**
|
|
139
|
+
* Round-5 F1 (P1): id of the synthesized in-shadow span that mirrors the
|
|
140
|
+
* consumer-resolved description text. This id is appended to the inner
|
|
141
|
+
* input's `aria-describedby` so AT picks the consumer description up
|
|
142
|
+
* through the standard described-by channel — `aria-description` is
|
|
143
|
+
* intentionally NOT written, because the W3C AccName algorithm ignores
|
|
144
|
+
* `aria-description` whenever `aria-describedby` is also present.
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
private _consumerDescId;
|
|
125
148
|
/**
|
|
126
149
|
* The visible label text for the combobox.
|
|
127
150
|
* @attr label
|
|
@@ -196,7 +219,7 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
196
219
|
* inputs with associated labels delegate accessible naming via `<label>`
|
|
197
220
|
* association and `aria-labelledby`, not host-level ARIA delegation. The
|
|
198
221
|
* `accessible-label` attribute is a fallback for label-free usage. The value is forwarded to the
|
|
199
|
-
*
|
|
222
|
+
* host's `internals.ariaLabel` on the modern path.
|
|
200
223
|
* @attr accessible-label
|
|
201
224
|
*/
|
|
202
225
|
accessibleLabel: string | null;
|
|
@@ -225,8 +248,61 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
225
248
|
private _focusedOptionIndex;
|
|
226
249
|
/** Whether the named error slot contains projected content. @internal */
|
|
227
250
|
private _hasErrorSlot;
|
|
251
|
+
/** Whether the named help-text slot contains projected content. @internal */
|
|
252
|
+
private _hasHelpSlot;
|
|
228
253
|
/** Live-region announcement text describing the current number of filtered options. @internal */
|
|
229
254
|
private _filterAnnouncement;
|
|
255
|
+
/**
|
|
256
|
+
* Source of the accessible name. Discriminated union replaces the magic
|
|
257
|
+
* `'*slotted*'` sentinel so a future caller setting `label="*slotted*"`
|
|
258
|
+
* literally cannot be confused with a slotted label.
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
private _labelSource;
|
|
262
|
+
/**
|
|
263
|
+
* Flattened, trimmed text content of any text nodes in the label slot —
|
|
264
|
+
* used to drive `internals.ariaLabel` when the consumer projects only a
|
|
265
|
+
* text node (no element to add to `labelEls`).
|
|
266
|
+
* @internal
|
|
267
|
+
*/
|
|
268
|
+
private _labelSlotText;
|
|
269
|
+
/**
|
|
270
|
+
* Whether the named label slot contributes a useful name. Requires either
|
|
271
|
+
* a labellable element OR non-empty trimmed text content (whitespace-only
|
|
272
|
+
* does NOT count).
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
private _hasLabelSlot;
|
|
276
|
+
/**
|
|
277
|
+
* Whether the platform supports IDL element references on `ElementInternals`.
|
|
278
|
+
* Drives the cross-shadow naming strategy for the inner `<input>`: modern
|
|
279
|
+
* path resolves consumer light-DOM IDREFs and writes them as cloned/proxied
|
|
280
|
+
* ids into the inner input's `aria-labelledby` / `aria-describedby`;
|
|
281
|
+
* fallback path mirrors only consumer `aria-labelledby` / `aria-describedby`
|
|
282
|
+
* tokens (resolved through the IDREF resolver) onto the inner input.
|
|
283
|
+
*
|
|
284
|
+
* ARCHITECTURE — W3C APG editable combobox (option I):
|
|
285
|
+
* `role="combobox"` lives on the inner `<input>` (replaces the implicit
|
|
286
|
+
* textbox role). All combobox state ARIA — `aria-expanded`, `aria-controls`,
|
|
287
|
+
* `aria-activedescendant`, `aria-autocomplete`, `aria-haspopup`,
|
|
288
|
+
* `aria-required`, `aria-invalid`, `aria-disabled`, `aria-busy` — lives on
|
|
289
|
+
* the inner input. The host carries no role and no tabindex; it is not a
|
|
290
|
+
* tab stop and not an announced AT surface.
|
|
291
|
+
* @internal
|
|
292
|
+
*/
|
|
293
|
+
private _supportsIdrefRefs;
|
|
294
|
+
/**
|
|
295
|
+
* Cached invalidity flag derived from `internals.validity.valid` after the
|
|
296
|
+
* latest `setValidity()` call. Drives the inner input's `aria-invalid`.
|
|
297
|
+
* @internal
|
|
298
|
+
*/
|
|
299
|
+
private _invalid;
|
|
300
|
+
/**
|
|
301
|
+
* Deferred copy of `error` driven through reactive state so the persistent
|
|
302
|
+
* live region can re-announce on transitions without direct DOM mutation.
|
|
303
|
+
* @internal
|
|
304
|
+
*/
|
|
305
|
+
private _announcedError;
|
|
230
306
|
/** Reference to the native text input element inside the shadow DOM. @internal */
|
|
231
307
|
private _input;
|
|
232
308
|
/** @internal */
|
|
@@ -235,8 +311,205 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
235
311
|
private get _selectedValuesSet();
|
|
236
312
|
/** @internal */
|
|
237
313
|
private get _filteredOptions();
|
|
314
|
+
/**
|
|
315
|
+
* Handle for the shared IDREF observer. See `installAriaIdrefMirror()`.
|
|
316
|
+
* @internal
|
|
317
|
+
*/
|
|
318
|
+
private _ariaMirror;
|
|
319
|
+
/**
|
|
320
|
+
* Watches assigned `<slot name="help-text">` nodes for in-place text
|
|
321
|
+
* mutations so the no-IDL-ref fallback `internals.ariaDescription` stays in sync.
|
|
322
|
+
* @internal
|
|
323
|
+
*/
|
|
324
|
+
private _helpSlotTextObserver;
|
|
325
|
+
/**
|
|
326
|
+
* Watches assigned `<slot name="error">` nodes for in-place text mutations.
|
|
327
|
+
* @internal
|
|
328
|
+
*/
|
|
329
|
+
private _errorSlotTextObserver;
|
|
330
|
+
/**
|
|
331
|
+
* Round-10 finding 1: dedicated host observer scoped to `aria-describedby`
|
|
332
|
+
* with `attributeOldValue: true`. Governed by the disconnect-during-strip
|
|
333
|
+
* discipline. See `_syncHostAriaSemantics` fallback branch.
|
|
334
|
+
* @internal
|
|
335
|
+
*/
|
|
336
|
+
private _hostDescribedByObserver;
|
|
337
|
+
/**
|
|
338
|
+
* Most recently observed *consumer-supplied* `aria-labelledby` baseline.
|
|
339
|
+
* Refreshed only when the host attribute changes via an external write.
|
|
340
|
+
* On the modern path the host attribute is preserved; on the legacy
|
|
341
|
+
* fallback the attribute is stripped during sync, so this baseline is the
|
|
342
|
+
* only durable record of what the consumer asked for.
|
|
343
|
+
* @internal
|
|
344
|
+
*/
|
|
345
|
+
private _consumerLabelledBy;
|
|
346
|
+
/** @internal — see `_consumerLabelledBy`. */
|
|
347
|
+
private _consumerDescribedBy;
|
|
348
|
+
/**
|
|
349
|
+
* Direct references to ALL labellable elements projected into
|
|
350
|
+
* `<slot name="label">`. Round-4 F1 (P2): aggregating every assigned element
|
|
351
|
+
* — not just the first — preserves composed labels such as
|
|
352
|
+
* `<svg slot="label" aria-hidden="true">…</svg><span slot="label">Patient</span>`
|
|
353
|
+
* or `<span slot="label">First</span><span slot="label">name</span>`. The
|
|
354
|
+
* modern path passes the full array to `internals.ariaLabelledByElements`
|
|
355
|
+
* and the fallback path text-flattens every node into `_labelSlotText` per
|
|
356
|
+
* AccName 1.2. Avoids mutating consumer light-DOM and survives nested
|
|
357
|
+
* shadow roots without fragile getElementById chains.
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
private _slottedLabelEls;
|
|
361
|
+
/**
|
|
362
|
+
* Round-4 F2 (P2): observes in-place text mutations on the assigned slotted
|
|
363
|
+
* label nodes (e.g. consumer i18n re-renders that mutate the same
|
|
364
|
+
* `<span slot="label">` `textContent` instead of replacing it). Mirrors the
|
|
365
|
+
* round-23 P2 pattern from `_helpSlotTextObserver` / `_errorSlotTextObserver`.
|
|
366
|
+
* `slotchange` does NOT fire when only the descendant text mutates, so this
|
|
367
|
+
* observer is the only signal that keeps the no-IDL-ref fallback
|
|
368
|
+
* `aria-label` and the announced name in sync with the visible label.
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
private _labelSlotTextObserver;
|
|
372
|
+
/**
|
|
373
|
+
* Round-7 F1 (P2): observes in-place text mutations on consumer light-DOM
|
|
374
|
+
* elements resolved from host `aria-labelledby` / `aria-describedby`. When a
|
|
375
|
+
* consumer keeps the same `<label id="...">` but mutates its `textContent`
|
|
376
|
+
* (e.g. an i18n rerender), `slotchange` does not fire and the host
|
|
377
|
+
* attribute does not change — so without this observer the inner input's
|
|
378
|
+
* `aria-label` and the synthesized description span keep announcing the
|
|
379
|
+
* old flattened text indefinitely. Reinstalled on every sync against the
|
|
380
|
+
* deduped union of resolved label/desc elements; disconnects automatically
|
|
381
|
+
* when the consumer retracts both attribute chains.
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
private _externalRefsObserver;
|
|
385
|
+
connectedCallback(): void;
|
|
238
386
|
disconnectedCallback(): void;
|
|
239
387
|
updated(changedProperties: PropertyValues<this>): void;
|
|
388
|
+
willUpdate(changedProperties: PropertyValues<this>): void;
|
|
389
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
390
|
+
/**
|
|
391
|
+
* Round-5 F2 (P2): synchronous slot-state seed. Mirrors the side effects of
|
|
392
|
+
* the three `_handle*SlotChange` handlers (label / help-text / error) but
|
|
393
|
+
* is driven by direct `slot.assignedNodes()` reads so we can populate the
|
|
394
|
+
* state BEFORE the microtask `slotchange` events fire after the first
|
|
395
|
+
* render. Idempotent — calling it later is a no-op when state already
|
|
396
|
+
* matches the slot contents.
|
|
397
|
+
*
|
|
398
|
+
* Also installs the label slot text observer so consumer in-place text
|
|
399
|
+
* mutations on slotted label nodes are tracked even if the slotchange
|
|
400
|
+
* event has not yet fired.
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
private _seedSlotStateSync;
|
|
404
|
+
/**
|
|
405
|
+
* Reads the label slot's assigned nodes and computes the discriminated
|
|
406
|
+
* naming state. An empty whitespace-only slot does NOT count as a useful
|
|
407
|
+
* name.
|
|
408
|
+
*
|
|
409
|
+
* Round-4 F1 (P2): aggregates ALL assigned elements (not just the first) and
|
|
410
|
+
* concatenates `textContent` from every assigned node — element OR text —
|
|
411
|
+
* trimmed and space-joined per AccName 1.2 text-flatten rules. This preserves
|
|
412
|
+
* composed labels such as
|
|
413
|
+
* `<svg slot="label" aria-hidden="true">…</svg><span slot="label">Patient</span>`
|
|
414
|
+
* or `<span slot="label">First</span><span slot="label">name</span>` on both
|
|
415
|
+
* the modern (`internals.ariaLabelledByElements`) path and the no-IDL-ref
|
|
416
|
+
* fallback (`aria-label`) path.
|
|
417
|
+
*
|
|
418
|
+
* Round-6 F2 (P2): per AccName 1.2 §4.3.10, `aria-hidden="true"` elements
|
|
419
|
+
* contribute zero to the accessible name. They are still tracked in
|
|
420
|
+
* `elements` (so the modern `internals.ariaLabelledByElements` path projects
|
|
421
|
+
* the FULL visible label — icon + text — for AT that walks IDL refs), but
|
|
422
|
+
* they are skipped during text flattening. `hasUsefulName` is gated on the
|
|
423
|
+
* flattened text length, so a slot containing ONLY decorative elements (or
|
|
424
|
+
* empty wrappers) is NOT considered usable: `_labelSource` falls through to
|
|
425
|
+
* the next naming source and the firstUpdated() devWarn fires for unnamed
|
|
426
|
+
* controls. A composed `<svg aria-hidden><span>Patient</span>` slot still
|
|
427
|
+
* resolves: text = "Patient" → usable; both elements still project on the
|
|
428
|
+
* modern path.
|
|
429
|
+
* @internal
|
|
430
|
+
*/
|
|
431
|
+
private _readLabelSlotState;
|
|
432
|
+
/**
|
|
433
|
+
* Round-6 F1 (P2): re-evaluate the help-text slot's "has meaningful content"
|
|
434
|
+
* state from its current effective text. Mirrors the slotchange-handler
|
|
435
|
+
* logic but is invocable from the in-place mutation observer so that
|
|
436
|
+
* clearing `textContent` on the same slotted node flips `_hasHelpSlot`
|
|
437
|
+
* back to `false` (without this, the help wrapper stays visible, the help
|
|
438
|
+
* id stays in the inner input's `aria-describedby`, and AT keeps announcing
|
|
439
|
+
* stale guidance).
|
|
440
|
+
* @internal
|
|
441
|
+
*/
|
|
442
|
+
private _readHelpSlotStateSync;
|
|
443
|
+
/**
|
|
444
|
+
* Round-6 F1 (P2): re-evaluate the error slot's "has meaningful content"
|
|
445
|
+
* state from its current effective text. Mirrors the slotchange-handler
|
|
446
|
+
* logic but is invocable from the in-place mutation observer so that
|
|
447
|
+
* clearing `textContent` on the same slotted node flips `_hasErrorSlot`
|
|
448
|
+
* back to `false` (without this, the combobox stays in its error state
|
|
449
|
+
* indefinitely: `aria-invalid` stays `true`, the error id stays in
|
|
450
|
+
* `aria-describedby`, and help text stays hidden).
|
|
451
|
+
* @internal
|
|
452
|
+
*/
|
|
453
|
+
private _readErrorSlotStateSync;
|
|
454
|
+
/**
|
|
455
|
+
* Resolves consumer-supplied label/description IDREFs on the host and
|
|
456
|
+
* writes the canonical combobox ARIA onto the **inner `<input>`** per W3C
|
|
457
|
+
* APG editable combobox pattern. The inner input owns `role="combobox"`
|
|
458
|
+
* (replacing its implicit textbox role) and all combobox state ARIA so
|
|
459
|
+
* AT sees a single announced + focused surface.
|
|
460
|
+
*
|
|
461
|
+
* Cross-shadow naming uses a belt-and-suspenders strategy:
|
|
462
|
+
*
|
|
463
|
+
* 1. **Modern path** (`_supportsIdrefRefs === true`): consumer-resolved
|
|
464
|
+
* label/description elements are written onto
|
|
465
|
+
* `internals.ariaLabelledByElements` / `internals.ariaDescribedByElements`
|
|
466
|
+
* on the host. AT that walks up from the focused inner input for naming
|
|
467
|
+
* finds them through ElementInternals. Host-level `aria-labelledby` /
|
|
468
|
+
* `aria-describedby` attributes are LEFT IN PLACE so AT walking up the
|
|
469
|
+
* DOM also sees them. The text content of the resolved elements is also
|
|
470
|
+
* flattened onto the inner input as `aria-label` / `aria-description`
|
|
471
|
+
* so AT that does not walk up still announces the right name.
|
|
472
|
+
*
|
|
473
|
+
* 2. **Legacy fallback** (`_supportsIdrefRefs === false`): host attrs are
|
|
474
|
+
* stripped (AccName precedence cleanup) and the resolved-element text
|
|
475
|
+
* is flattened onto the inner input as `aria-label` /
|
|
476
|
+
* `aria-description`. Live updates to the consumer-referenced elements
|
|
477
|
+
* do not propagate, but the initial accessible name resolves on every
|
|
478
|
+
* AT — closing the cross-shadow naming gap that broke this on engines
|
|
479
|
+
* without IDL element references.
|
|
480
|
+
*
|
|
481
|
+
* Writing `aria-labelledby="<light-DOM id>"` directly on the shadow-DOM
|
|
482
|
+
* inner input is INTENTIONALLY avoided: light-DOM ids do not resolve from
|
|
483
|
+
* inside a shadow root, so that pattern leaves the control AT-anonymous.
|
|
484
|
+
* Internal label ids (in the same shadow root) ARE written via
|
|
485
|
+
* `aria-labelledby`.
|
|
486
|
+
* @internal
|
|
487
|
+
*/
|
|
488
|
+
/**
|
|
489
|
+
* Round-7 F1 (P2): (re)install a `MutationObserver` against the deduped
|
|
490
|
+
* union of consumer-resolved label/description elements. Watches
|
|
491
|
+
* `characterData`, `childList`, and `subtree` so any in-place text
|
|
492
|
+
* mutation on the referenced light-DOM nodes triggers a fresh sync —
|
|
493
|
+
* keeping the inner input's flattened `aria-label` and the synthesized
|
|
494
|
+
* description span aligned with the live consumer text. Blanket
|
|
495
|
+
* disconnect-and-reinstall on every sync; if the consumer retracts both
|
|
496
|
+
* IDREF chains the union is empty and the observer is disconnected.
|
|
497
|
+
* @internal
|
|
498
|
+
*/
|
|
499
|
+
private _installExternalRefsObserver;
|
|
500
|
+
private _syncHostAriaSemantics;
|
|
501
|
+
/**
|
|
502
|
+
* (Re-)installs the mutation observer over the current set of assigned
|
|
503
|
+
* help-text-slot nodes.
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
506
|
+
private _installHelpSlotTextObserver;
|
|
507
|
+
/**
|
|
508
|
+
* (Re-)installs the mutation observer over the current set of assigned
|
|
509
|
+
* error-slot nodes.
|
|
510
|
+
* @internal
|
|
511
|
+
*/
|
|
512
|
+
private _installErrorSlotTextObserver;
|
|
240
513
|
/** @internal */
|
|
241
514
|
private _updateFormValue;
|
|
242
515
|
/** @internal */
|
|
@@ -253,9 +526,32 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
253
526
|
private _parseOption;
|
|
254
527
|
/** @internal */
|
|
255
528
|
private _readOptions;
|
|
529
|
+
/**
|
|
530
|
+
* Tracks the slotted label so projected `<span slot="label">` content joins
|
|
531
|
+
* the accessible-name chain.
|
|
532
|
+
* @internal
|
|
533
|
+
*/
|
|
534
|
+
private _handleLabelSlotChange;
|
|
535
|
+
/**
|
|
536
|
+
* (Re-)installs the mutation observer over the current set of slotted label
|
|
537
|
+
* elements. Round-4 F2 (P2): mirrors the round-23 P2 pattern from
|
|
538
|
+
* `_helpSlotTextObserver` / `_errorSlotTextObserver`. On any descendant text
|
|
539
|
+
* change we re-read the slot state (to refresh `_labelSlotText` and the
|
|
540
|
+
* element list) and re-sync host ARIA so the inner input's `aria-label`
|
|
541
|
+
* tracks the live label text.
|
|
542
|
+
* @internal
|
|
543
|
+
*/
|
|
544
|
+
private _installLabelSlotTextObserver;
|
|
545
|
+
/**
|
|
546
|
+
* Recomputes the discriminated label source.
|
|
547
|
+
* @internal
|
|
548
|
+
*/
|
|
549
|
+
private _refreshLabelSource;
|
|
256
550
|
/** @internal */
|
|
257
551
|
private _handleErrorSlotChange;
|
|
258
552
|
/** @internal */
|
|
553
|
+
private _handleHelpSlotChange;
|
|
554
|
+
/** @internal */
|
|
259
555
|
private _openDropdown;
|
|
260
556
|
/** @internal */
|
|
261
557
|
private _closeDropdown;
|
|
@@ -279,7 +575,14 @@ export declare class HelixCombobox extends HelixCombobox_base {
|
|
|
279
575
|
private _dispatchChange;
|
|
280
576
|
/** @internal */
|
|
281
577
|
private _handleOutsideClick;
|
|
282
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* Routes programmatic focus to the inner text input. Per W3C APG editable
|
|
580
|
+
* combobox pattern, the inner `<input>` carries `role="combobox"` (replacing
|
|
581
|
+
* its implicit textbox role) so it IS the canonical announced + focused
|
|
582
|
+
* surface. Shadow DOM focus causes `document.activeElement` to report the
|
|
583
|
+
* host externally, but the input retains focus inside the shadow root and
|
|
584
|
+
* AT announces its role/state.
|
|
585
|
+
*/
|
|
283
586
|
focus(options?: FocusOptions): void;
|
|
284
587
|
/** @internal */
|
|
285
588
|
private _optionId;
|
|
@@ -312,6 +615,12 @@ declare global {
|
|
|
312
615
|
'hx-input': CustomEvent<{
|
|
313
616
|
value: string;
|
|
314
617
|
}>;
|
|
618
|
+
'hx-change': CustomEvent<{
|
|
619
|
+
value: string;
|
|
620
|
+
} | {
|
|
621
|
+
checked: boolean;
|
|
622
|
+
value: string;
|
|
623
|
+
}>;
|
|
315
624
|
'hx-clear': CustomEvent<void>;
|
|
316
625
|
'hx-show': CustomEvent<void>;
|
|
317
626
|
'hx-hide': CustomEvent<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-combobox.d.ts","sourceRoot":"","sources":["../../../src/components/hx-combobox/hx-combobox.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-combobox.d.ts","sourceRoot":"","sources":["../../../src/components/hx-combobox/hx-combobox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAoBpE,MAA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mB,CAAM;IAE1C;;;;;;OAMG;IACM,OAAO,CAAC,gBAAgB,CAA2B;IAE5D;;;;OAIG;IACM,OAAO,CAAC,aAAa,CAAiC;IAItD,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IA0D/C,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAYrD,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAcnB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAUvB,gBAAgB;IAChB,OAAO,CAAC,aAAa;IAWrB,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAKxB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAChB,OAAO,CAAC,cAAc;IAyEtB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAyBvB;;;OAGG;IACH,OAAO,KAAK,gBAAgB,GAK3B;IAED;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAgD5B,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAkExB,gBAAgB;IAChB,OAAO,CAAC,mBAAmB;IAsB3B,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAWvB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAgEd,MAAM;
|
|
1
|
+
{"version":3,"file":"hx-data-table.d.ts","sourceRoot":"","sources":["../../../src/components/hx-data-table/hx-data-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WA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