@helixui/library 3.3.1 → 3.4.0-next.123
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 +22 -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-card/hx-card.d.ts +68 -0
- package/dist/components/hx-card/hx-card.d.ts.map +1 -1
- package/dist/components/hx-card/hx-card.styles.d.ts.map +1 -1
- package/dist/components/hx-card/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 +48 -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 +235 -2
- package/dist/css/helix-core.css +95 -1
- 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-card.css +14 -1
- 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 +39 -39
- package/dist/shared/aria-flatten-DY6v2vah.js +22 -0
- package/dist/shared/aria-flatten-DY6v2vah.js.map +1 -0
- package/dist/shared/aria-idref-DCuEaknC.js +131 -0
- package/dist/shared/aria-idref-DCuEaknC.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-4NUBpkyC.js} +22 -23
- package/dist/shared/{hx-button-group-BI-QBqmO.js.map → hx-button-group-4NUBpkyC.js.map} +1 -1
- package/dist/shared/{hx-card-qNAM2QNV.js → hx-card-CswtnYvj.js} +142 -85
- package/dist/shared/hx-card-CswtnYvj.js.map +1 -0
- package/dist/shared/hx-checkbox-CYd0YV_u.js +696 -0
- package/dist/shared/hx-checkbox-CYd0YV_u.js.map +1 -0
- package/dist/shared/hx-checkbox-group-D5piJLY8.js +496 -0
- package/dist/shared/hx-checkbox-group-D5piJLY8.js.map +1 -0
- package/dist/shared/hx-color-picker-DBwJzT5f.js +1221 -0
- package/dist/shared/hx-color-picker-DBwJzT5f.js.map +1 -0
- package/dist/shared/hx-combobox-NgJaLbs2.js +1359 -0
- package/dist/shared/hx-combobox-NgJaLbs2.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-B49yo4Vm.js} +542 -206
- package/dist/shared/hx-date-picker-B49yo4Vm.js.map +1 -0
- package/dist/shared/hx-dialog-B4weoj_1.js +717 -0
- package/dist/shared/hx-dialog-B4weoj_1.js.map +1 -0
- package/dist/shared/{hx-drawer-Y1Ui2IWJ.js → hx-drawer-D81tb4BD.js} +300 -98
- package/dist/shared/hx-drawer-D81tb4BD.js.map +1 -0
- package/dist/shared/hx-dropdown-D626S2ZG.js +401 -0
- package/dist/shared/hx-dropdown-D626S2ZG.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-Bp8HeLHh.js} +163 -107
- package/dist/shared/hx-list-Bp8HeLHh.js.map +1 -0
- package/dist/shared/hx-menu-divider-A6Guuzi_.js +797 -0
- package/dist/shared/hx-menu-divider-A6Guuzi_.js.map +1 -0
- package/dist/shared/hx-meter-BnpmF3Vx.js +316 -0
- package/dist/shared/hx-meter-BnpmF3Vx.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-DFjJAziP.js +492 -0
- package/dist/shared/hx-overflow-menu-DFjJAziP.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-BAlAFOH9.js} +123 -66
- package/dist/shared/hx-popover-BAlAFOH9.js.map +1 -0
- package/dist/shared/hx-progress-bar-CYz9U721.js +290 -0
- package/dist/shared/hx-progress-bar-CYz9U721.js.map +1 -0
- package/dist/shared/hx-radio-C7eTj5YI.js +822 -0
- package/dist/shared/hx-radio-C7eTj5YI.js.map +1 -0
- package/dist/shared/hx-select-DahFehiZ.js +1089 -0
- package/dist/shared/hx-select-DahFehiZ.js.map +1 -0
- package/dist/shared/{hx-spinner-DL5AYr16.js → hx-spinner-3qBp4jeN.js} +58 -30
- package/dist/shared/hx-spinner-3qBp4jeN.js.map +1 -0
- package/dist/shared/{hx-split-button-Djnc5Aeg.js → hx-split-button-Ddle8iVx.js} +153 -82
- package/dist/shared/hx-split-button-Ddle8iVx.js.map +1 -0
- package/dist/shared/{hx-stat-WOcNV1Ry.js → hx-stat-Gtw_SpK8.js} +77 -47
- package/dist/shared/hx-stat-Gtw_SpK8.js.map +1 -0
- package/dist/shared/hx-switch-TvKGvZJz.js +540 -0
- package/dist/shared/hx-switch-TvKGvZJz.js.map +1 -0
- package/dist/shared/{hx-tab-panel-DspCrKqo.js → hx-tab-panel-Cu--8psg.js} +255 -131
- package/dist/shared/hx-tab-panel-Cu--8psg.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-BPsb6OaG.js} +249 -102
- package/dist/shared/hx-td-BPsb6OaG.js.map +1 -0
- package/dist/shared/hx-theme-BsefFWTO.js.map +1 -1
- package/dist/shared/hx-time-picker-Bo7FWzmf.js +1038 -0
- package/dist/shared/hx-time-picker-Bo7FWzmf.js.map +1 -0
- package/dist/shared/{hx-toggle-button-iLiYrMbD.js → hx-toggle-button-DwBers3A.js} +226 -65
- package/dist/shared/hx-toggle-button-DwBers3A.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-CXyspGxI.js +925 -0
- package/dist/shared/hx-tree-item-CXyspGxI.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-card-qNAM2QNV.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 +0 -254
- 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
|
@@ -7,6 +7,41 @@ export interface HxAccordionToggleDetail {
|
|
|
7
7
|
/**
|
|
8
8
|
* An individual accordion item with collapsible content.
|
|
9
9
|
*
|
|
10
|
+
* ## Architecture Note: Slot Projection vs. Host-Canonical (group-4 round-1)
|
|
11
|
+
*
|
|
12
|
+
* `hx-accordion-item` deliberately does NOT participate in the
|
|
13
|
+
* host-canonical / `internals.ariaLabelledByElements` pattern used by every
|
|
14
|
+
* other group-2/3/4 component. Rationale:
|
|
15
|
+
*
|
|
16
|
+
* 1. The trigger label comes from `<slot name="trigger">` — consumer
|
|
17
|
+
* light-DOM projected directly into the `<summary>` element. AT reads
|
|
18
|
+
* the slot-projected text natively because slot projection preserves
|
|
19
|
+
* accessible name (the `<summary>` IS the heading and consumes the
|
|
20
|
+
* slotted text in its own accessible name computation).
|
|
21
|
+
* 2. `aria-labelledby="${_uid}-trigger"` on the inner content region and
|
|
22
|
+
* `aria-controls="${_uid}-content"` on the summary BOTH resolve
|
|
23
|
+
* same-shadow-root, which works correctly across every AT — these
|
|
24
|
+
* IDREFs never cross a shadow boundary.
|
|
25
|
+
* 3. Pushing these ids through `internals.ariaLabelledByElements` would
|
|
26
|
+
* either duplicate the wiring (heading announced twice) or break the
|
|
27
|
+
* native `<details>/<summary>` toggle semantics (the host carrying
|
|
28
|
+
* `role="heading"` would shadow the summary's own heading projection).
|
|
29
|
+
*
|
|
30
|
+
* `role="heading"` on `<summary>` (with `aria-level=N`) is the APG-canonical
|
|
31
|
+
* Accordion pattern. Per the APG note, `<summary>` MUST be a direct child
|
|
32
|
+
* of `<details>` for the native toggle to function — wrapping it in an
|
|
33
|
+
* `<h3>` would forfeit native disclosure. The role-on-summary approach is
|
|
34
|
+
* the authoritative compromise. NVDA, JAWS, and VoiceOver all announce the
|
|
35
|
+
* summary as a heading at the configured level when this pattern is used.
|
|
36
|
+
*
|
|
37
|
+
* `aria-controls` on the summary points at the shadow-internal content
|
|
38
|
+
* region; APG marks the relationship as implicit via the heading + region
|
|
39
|
+
* structure, so AT not following the IDREF still announces correctly. The
|
|
40
|
+
* IDREF is a hint, not a requirement — and because both ids are in the
|
|
41
|
+
* same shadow root, it resolves cleanly when AT does follow it. This
|
|
42
|
+
* matches the popover/dropdown intentional `aria-controls` omission for
|
|
43
|
+
* the cross-shadow case (see those components' code comments).
|
|
44
|
+
*
|
|
10
45
|
* @summary Collapsible panel that can be expanded or collapsed.
|
|
11
46
|
*
|
|
12
47
|
* @tag hx-accordion-item
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-accordion-item.d.ts","sourceRoot":"","sources":["../../../src/components/hx-accordion/hx-accordion-item.ts"],"names":[],"mappings":"AACA,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAwBpE,mFAAmF;AACnF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED
|
|
1
|
+
{"version":3,"file":"hx-accordion-item.d.ts","sourceRoot":"","sources":["../../../src/components/hx-accordion/hx-accordion-item.ts"],"names":[],"mappings":"AACA,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAwBpE,mFAAmF;AACnF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,qBACa,kBAAmB,SAAQ,YAAY;IAClD,OAAgB,MAAM,4BAAuD;IAE7E,gBAAgB;IAChB,OAAO,CAAC,IAAI,CAA0B;IAEtC;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;;;OAKG;IAEH,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAK;IAIxB,iBAAiB,IAAI,IAAI;IAYlC,gBAAgB;IAChB,OAAO,CAAC,wBAAwB;IAahC;;;;;;;OAOG;IACH,gBAAgB;IAChB,OAAO,KAAK,aAAa,GAExB;IAID,gBAAgB;IAChB,OAAO,CAAC,OAAO;IASf,gBAAgB;IAChB,oBAAoB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAiB7C,gBAAgB;IAChB,OAAO,CAAC,mBAAmB;IAK3B,gBAAgB;IAChB,OAAO,CAAC,cAAc;IASb,MAAM;CA0ChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,kBAAkB,CAAC;KACzC;CACF"}
|
|
@@ -141,6 +141,17 @@ export declare class HelixAlert extends HelixElement {
|
|
|
141
141
|
private _actionsSlotChangeHandler;
|
|
142
142
|
/** @internal */
|
|
143
143
|
private _titleSlotChangeHandler;
|
|
144
|
+
/**
|
|
145
|
+
* (group-6 §5.4) Race-guard counter for the sr-only announcer microtask
|
|
146
|
+
* dance. Each open=false→true transition increments this; the deferred
|
|
147
|
+
* text-clear + re-inject only writes to the announcer when the counter
|
|
148
|
+
* matches the value captured at scheduling time. Rapid open/close cycles
|
|
149
|
+
* therefore collapse to a single announcement on the final settled state
|
|
150
|
+
* rather than leaking stale text from earlier cycles.
|
|
151
|
+
*
|
|
152
|
+
* @internal
|
|
153
|
+
*/
|
|
154
|
+
private _announcerCycle;
|
|
144
155
|
/** @internal */
|
|
145
156
|
private _defaultSeverityLabel;
|
|
146
157
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-alert.d.ts","sourceRoot":"","sources":["../../../src/components/hx-alert/hx-alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAInD,kEAAkE;AAClE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpE,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,qBACa,UAAW,SAAQ,YAAY;IAC1C,OAAgB,MAAM,4BAA2C;IAIjE;;;OAGG;IAEH,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAU;IAE3D;;;OAGG;IAEH,WAAW,UAAS;IAEpB;;;;;OAKG;IAEH,OAAO,SAAM;IAEb;;;O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@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-alert.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-alert/hx-alert.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"hx-alert.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-alert/hx-alert.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,yBAoP5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-badge/hx-badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"hx-badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-badge/hx-badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAiP5B,CAAC"}
|
|
@@ -120,7 +120,15 @@ export declare class HelixBanner extends HelixElement {
|
|
|
120
120
|
private _defaultSeverityLabel;
|
|
121
121
|
/** Returns the effective severity label, using the override if provided. */
|
|
122
122
|
private get _effectiveSeverityLabel();
|
|
123
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Returns true when the variant requires assertive announcement.
|
|
125
|
+
*
|
|
126
|
+
* (group-6) Harmonized with `hx-alert` and `hx-toast`: only `error` is
|
|
127
|
+
* assertive. Previous behavior also escalated `warning` to assertive on
|
|
128
|
+
* `hx-banner`, which diverged from the rest of the live-region surface.
|
|
129
|
+
* Warnings are non-urgent and use a polite live region (role="status").
|
|
130
|
+
* Critical/error messages remain assertive (role="alert").
|
|
131
|
+
*/
|
|
124
132
|
/** @internal */
|
|
125
133
|
private get _isAssertive();
|
|
126
134
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-banner.d.ts","sourceRoot":"","sources":["../../../src/components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OAIG;IAEH,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAIlC,0EAA0E;IAC1E,OAAO,CAAC,qBAAqB;IAU7B,4EAA4E;IAC5E,OAAO,KAAK,uBAAuB,GAElC;IAED;;;;;;;;OAQG;IACH,gBAAgB;IAChB,OAAO,KAAK,YAAY,GAEvB;IAED;;;;OAIG;IACH,gBAAgB;IAChB,OAAO,KAAK,KAAK,GAEhB;IAIQ,iBAAiB,IAAI,IAAI;cAkBf,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAqBzE,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAQvB,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAQ1B,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAQ1B,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAQxB,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAc1B,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAUxB;;OAEG;IACH,OAAO,IAAI,IAAI;IAMf,gBAAgB;IAChB,OAAO,CAAC,cAAc;IAkBb,MAAM;CAkDhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,WAAW,CAAC;KAC1B;CACF;AAED,YAAY,EAAE,WAAW,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -153,7 +153,17 @@ export declare class HelixButton extends HelixButton_base {
|
|
|
153
153
|
accessibleLabel: string;
|
|
154
154
|
/**
|
|
155
155
|
* Returns the effective label for the button, checking accessible-label first,
|
|
156
|
-
* then the aria-label attribute
|
|
156
|
+
* then the consumer-set aria-label attribute (read via data-aria-label which
|
|
157
|
+
* mixinDelegatesAria writes when consumers set the host's `aria-label`),
|
|
158
|
+
* then the still-pending `aria-label` attribute (in case the mixin has not
|
|
159
|
+
* yet processed it), falling back to empty string.
|
|
160
|
+
*
|
|
161
|
+
* HX-015 migration: never read `this.ariaLabel` (the native HTMLElement IDL
|
|
162
|
+
* property). The mixin overrides `ariaLabel` to read `data-aria-label` in
|
|
163
|
+
* modern browsers, but the IDL fallback path breaks in fallback browsers and
|
|
164
|
+
* confuses consumers who follow the v3 upgrade guide. Read the attribute
|
|
165
|
+
* storage directly so the source-of-truth is unambiguous.
|
|
166
|
+
*
|
|
157
167
|
* @internal
|
|
158
168
|
*/
|
|
159
169
|
private get _effectiveLabel();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-button.d.ts","sourceRoot":"","sources":["../../../src/components/hx-button/hx-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAC9E,OAAO,4CAA4C,CAAC;AAIpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD,6DAA6D;AAC7D,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,UAAU,CAAC;CAC3B;;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,qBACa,WAAY,SAAQ,gBAAgC;IAM/D,OAAgB,MAAM,4BAAuB;IAI7C,gBAAgB;IAChB,OAAgB,cAAc,UAAQ;IAItC;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAa;IAE3F;;;OAGG;IAEH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEhC;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,OAAO,UAAS;IAEhB;;;OAGG;IAEH,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IAE/C;;;OAGG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC;;;OAGG;IAEH,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;I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AE,MAAM,GAAG,SAAS,CAAa;IAErC;;;OAGG;IAEH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IAEtC;;;;OAIG;IAEH,IAAI,UAAS;IAEb;;;;;;;;;;;;;;OAcG;IAEH,QAAQ,UAAS;IAEjB;;;;;;;;OAQG;IAEH,eAAe,EAAE,MAAM,CAAM;IAE7B;;;;;;;;;;;;;;OAcG;IACH,OAAO,KAAK,eAAe,GAO1B;cAIkB,eAAe,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAM3D,gBAAgB;IAChB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAO5B;IAGX,OAAO,CAAC,qBAAqB,CAAS;IAE7B,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAe3D,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAgB/D,gBAAgB;IAChB,OAAO,CAAC,wBAAwB;IAoBhC;;;OAGG;IACH,OAAO,CAAC,YAAY;IAgCpB;;;OAGG;IACH,OAAO,CAAC,cAAc;IA6BtB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAiBX,MAAM;CAoEhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,WAAW,CAAC;KAC1B;IACD,UAAU,mBAAmB;QAC3B,UAAU,EAAE,WAAW,CAAC;YAAE,aAAa,EAAE,UAAU,CAAA;SAAE,CAAC,CAAC;KACxD;CACF"}
|
|
@@ -47,6 +47,28 @@ export declare class HelixButtonGroup extends HelixElement {
|
|
|
47
47
|
* @attr label
|
|
48
48
|
*/
|
|
49
49
|
label: string;
|
|
50
|
+
/**
|
|
51
|
+
* Tracks whether the consumer set `aria-label` directly as an HTML attribute
|
|
52
|
+
* BEFORE the `label` property fired. Used to avoid clobbering consumer-set
|
|
53
|
+
* aria-label when `label` is empty.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
private _consumerAriaLabel;
|
|
57
|
+
/**
|
|
58
|
+
* Snapshot of the consumer-set `role` attribute taken at connect time.
|
|
59
|
+
* When non-null, the consumer has explicitly set a role (e.g. `toolbar`,
|
|
60
|
+
* `radiogroup`) and the host-canonical mirror MUST defer to that role
|
|
61
|
+
* rather than overwriting `internals.role` with the default `"group"`.
|
|
62
|
+
* Mirrors the `_consumerAriaLabel` snapshot pattern above.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
private _consumerRole;
|
|
66
|
+
/**
|
|
67
|
+
* Tracks whether the no-label devWarn has already fired for this instance,
|
|
68
|
+
* so disconnect/reconnect cycles do not spam the console.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private _emptyLabelWarnEmitted;
|
|
50
72
|
updated(changedProperties: PropertyValues<this>): void;
|
|
51
73
|
connectedCallback(): void;
|
|
52
74
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-button-group.d.ts","sourceRoot":"","sources":["../../../src/components/hx-button-group/hx-button-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAAqD;IAE3E;;;OAGG;IACH,IACI,WAAW,IAAI,YAAY,GAAG,UAAU,CAE3C;IACD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAM5B;IACD;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA2C;IAE/D;;;;OAIG;IAEH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEhC;;;;;;OAMG;IAEH,KAAK,EAAE,MAAM,CAAM;
|
|
1
|
+
{"version":3,"file":"hx-button-group.d.ts","sourceRoot":"","sources":["../../../src/components/hx-button-group/hx-button-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAAqD;IAE3E;;;OAGG;IACH,IACI,WAAW,IAAI,YAAY,GAAG,UAAU,CAE3C;IACD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAM5B;IACD;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA2C;IAE/D;;;;OAIG;IAEH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEhC;;;;;;OAMG;IAEH,KAAK,EAAE,MAAM,CAAM;IAInB;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB,CAAuB;IAEjD;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa,CAAuB;IAE5C;;;;OAIG;IACH,OAAO,CAAC,sBAAsB,CAAS;IAE9B,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAsBtD,iBAAiB,IAAI,IAAI;IA0CzB,MAAM;CAchB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,gBAAgB,CAAC;KACrC;CACF"}
|
|
@@ -7,6 +7,25 @@ import { HelixElement } from '../../base/index.js';
|
|
|
7
7
|
*
|
|
8
8
|
* @tag hx-card
|
|
9
9
|
*
|
|
10
|
+
* Group 10 host-canonical: when a card carries an accessible name (consumer
|
|
11
|
+
* `aria-label` / `aria-labelledby`, the `hx-label` property, or slotted
|
|
12
|
+
* heading text on the interactive variant) the announced role is written
|
|
13
|
+
* to the host via `_internals.role`. The mapping is:
|
|
14
|
+
* - `hx-href` set -> host role="link" + tabindex="0"
|
|
15
|
+
* - non-interactive named -> host role="region"
|
|
16
|
+
* - non-interactive plain -> no host role (generic container)
|
|
17
|
+
*
|
|
18
|
+
* `delegatesFocus: true` is preserved so that focusable descendants
|
|
19
|
+
* slotted inside the card still receive Tab focus first; the host itself
|
|
20
|
+
* is only focusable when it carries `role="link"`.
|
|
21
|
+
*
|
|
22
|
+
* On the legacy fallback path (engines without IDL element-references on
|
|
23
|
+
* `ElementInternals`) the inner `[part="card"]` element keeps the role +
|
|
24
|
+
* tabindex + aria-label so a single announced surface remains, and the
|
|
25
|
+
* host writes are suppressed to avoid a duplicate-treeitem-style
|
|
26
|
+
* problem. The resolved accessible name is mirrored onto the inner
|
|
27
|
+
* element via `aria-label` for parity with the modern path.
|
|
28
|
+
*
|
|
10
29
|
* @slot image - Optional image or media content at the top of the card.
|
|
11
30
|
* @slot heading - The card heading/title content. Use a semantic heading element (h2, h3, etc.) for proper accessibility.
|
|
12
31
|
* @slot - Default slot for the card body content.
|
|
@@ -69,6 +88,18 @@ export declare class HelixCard extends HelixElement {
|
|
|
69
88
|
slotAssignment?: SlotAssignmentMode;
|
|
70
89
|
};
|
|
71
90
|
static styles: import('lit').CSSResult[];
|
|
91
|
+
/**
|
|
92
|
+
* Test seam (codex push-gate round-1 lift): when set to `true` or
|
|
93
|
+
* `false`, overrides the platform `supportsIdrefElementReferences`
|
|
94
|
+
* probe before `connectedCallback` seeds `_supportsIdrefRefs`. Mirrors
|
|
95
|
+
* the hx-menu-item / hx-tree-item / hx-select seam — required so tests
|
|
96
|
+
* can deterministically exercise the legacy fallback render branch.
|
|
97
|
+
*
|
|
98
|
+
* Production code MUST NOT touch this field. It is `static` so the
|
|
99
|
+
* test stub cleanup is global and obvious.
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
static __testSupportsIdrefRefsOverride: boolean | null;
|
|
72
103
|
/**
|
|
73
104
|
* Visual style variant of the card.
|
|
74
105
|
* @attr variant
|
|
@@ -130,6 +161,25 @@ export declare class HelixCard extends HelixElement {
|
|
|
130
161
|
*/
|
|
131
162
|
private _headingId;
|
|
132
163
|
/** @internal */
|
|
164
|
+
private _supportsIdrefRefs;
|
|
165
|
+
/** @internal */
|
|
166
|
+
private _ariaMirror;
|
|
167
|
+
/**
|
|
168
|
+
* Resolved accessible name for the card — read by both
|
|
169
|
+
* `_syncHostAriaSemantics()` (modern path: host `internals.ariaLabel`)
|
|
170
|
+
* and the fallback `render()` branch (legacy path: inner
|
|
171
|
+
* `[part="card"]` `aria-label`). Empty string means "no override" —
|
|
172
|
+
* for the interactive variant slotted heading text provides the
|
|
173
|
+
* implicit name through the announced surface (host on modern; inner
|
|
174
|
+
* div on fallback).
|
|
175
|
+
*
|
|
176
|
+
* AccName 1.2 §4.3.1 precedence: consumer host `aria-labelledby`
|
|
177
|
+
* (flattened) > consumer host `aria-label` > component `hx-label`
|
|
178
|
+
* property > implicit slotted heading text.
|
|
179
|
+
* @internal
|
|
180
|
+
*/
|
|
181
|
+
private _resolvedAccessibleName;
|
|
182
|
+
/** @internal */
|
|
133
183
|
private _onImageSlotChange;
|
|
134
184
|
/** @internal */
|
|
135
185
|
private _onHeadingSlotChange;
|
|
@@ -137,7 +187,25 @@ export declare class HelixCard extends HelixElement {
|
|
|
137
187
|
private _onFooterSlotChange;
|
|
138
188
|
/** @internal */
|
|
139
189
|
private _onActionsSlotChange;
|
|
190
|
+
connectedCallback(): void;
|
|
191
|
+
disconnectedCallback(): void;
|
|
140
192
|
updated(changedProperties: PropertyValues<this>): void;
|
|
193
|
+
/**
|
|
194
|
+
* Mirror card semantics onto the host via ElementInternals so
|
|
195
|
+
* consumer-supplied `aria-label` / `aria-labelledby` reaches the
|
|
196
|
+
* announced surface and the role honours the link / region / generic
|
|
197
|
+
* mapping.
|
|
198
|
+
*
|
|
199
|
+
* Suppression rule: on the legacy fallback path the inner
|
|
200
|
+
* `[part="card"]` element already exposes role + aria-label via the
|
|
201
|
+
* template. Writing the same fields on the host's ElementInternals
|
|
202
|
+
* would surface TWO announced controls for one logical card, so all
|
|
203
|
+
* host writes are cleared on the fallback path; the inner element is
|
|
204
|
+
* the canonical announced surface and `_resolvedAccessibleName` is
|
|
205
|
+
* mirrored onto it via the render branch.
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
private _syncHostAriaSemantics;
|
|
141
209
|
/** @internal */
|
|
142
210
|
private _dispatchCardClick;
|
|
143
211
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-card.d.ts","sourceRoot":"","sources":["../../../src/components/hx-card/hx-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-card.d.ts","sourceRoot":"","sources":["../../../src/components/hx-card/hx-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4CAA4C,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAcpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,qBACa,SAAU,SAAQ,YAAY;IACzC,gBAAgB;IAChB,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF,OAAgB,MAAM,4BAA0C;IAEhE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,+BAA+B,EAAE,OAAO,GAAG,IAAI,CAAQ;IAE9D;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAa;IAExD;;;OAGG;IAEH,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAU;IAEnD;;;;;OAKG;IAEH,IAAI,EAAE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les.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"hx-card.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-card/hx-card.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,yBAqM3B,CAAC"}
|
|
@@ -151,6 +151,28 @@ export declare class HelixCheckbox extends HelixCheckbox_base {
|
|
|
151
151
|
private _inputEl;
|
|
152
152
|
/** @internal */
|
|
153
153
|
private _hasErrorSlot;
|
|
154
|
+
/** @internal */
|
|
155
|
+
private _hasHelpTextSlot;
|
|
156
|
+
/** @internal */
|
|
157
|
+
private _hasLabelSlot;
|
|
158
|
+
/**
|
|
159
|
+
* Set by `hx-checkbox-group` to mark this child as group-managed. While
|
|
160
|
+
* truthy, `_updateFormValue()` short-circuits to `setFormValue(null)`
|
|
161
|
+
* regardless of `name`, so the child does NOT participate in form submission
|
|
162
|
+
* — only the group does. This is durable against post-attach mutations to
|
|
163
|
+
* `cb.name` by consumers/frameworks (which would otherwise re-arm
|
|
164
|
+
* `_updateFormValue()` via the `name` setter and cause double-submission).
|
|
165
|
+
* Codex round-3 finding #1.
|
|
166
|
+
*
|
|
167
|
+
* Public via accessor for the group's exclusive use; the underscore prefix
|
|
168
|
+
* marks it as group-internal (not consumer API). The group sets it during
|
|
169
|
+
* `slotchange` and clears it (via the same setter) when a child is removed.
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
set _groupedSuppress(value: boolean);
|
|
173
|
+
get _groupedSuppress(): boolean;
|
|
174
|
+
/** @internal */
|
|
175
|
+
private __groupedSuppress;
|
|
154
176
|
/**
|
|
155
177
|
* Deferred copy of this.error used inside the live region. Injected after
|
|
156
178
|
* the region is visible (via requestAnimationFrame) so screen readers
|
|
@@ -161,8 +183,38 @@ export declare class HelixCheckbox extends HelixCheckbox_base {
|
|
|
161
183
|
private _announcedError;
|
|
162
184
|
/** @internal */
|
|
163
185
|
private _hasWarnedLabelConflict;
|
|
186
|
+
/**
|
|
187
|
+
* Handle for the shared IDREF observer. Installed in `connectedCallback()`
|
|
188
|
+
* so late-mutated `aria-labelledby`/`aria-describedby` and late-inserted
|
|
189
|
+
* IDREF targets are picked up. See `installAriaIdrefMirror()`.
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
private _ariaMirror;
|
|
164
193
|
/** @internal */
|
|
165
194
|
private _handleErrorSlotChange;
|
|
195
|
+
/** @internal */
|
|
196
|
+
private _handleHelpTextSlotChange;
|
|
197
|
+
/** @internal */
|
|
198
|
+
private _handleLabelSlotChange;
|
|
199
|
+
connectedCallback(): void;
|
|
200
|
+
disconnectedCallback(): void;
|
|
201
|
+
/**
|
|
202
|
+
* Host-level keydown handler. Space toggles per ARIA APG checkbox pattern
|
|
203
|
+
* — but only on the modern path where the host is the announced focus
|
|
204
|
+
* surface. On the no-IDL-ref fallback (round-2 finding #2), the inner
|
|
205
|
+
* `<input>` owns focus + native Space activation, so the host stays out
|
|
206
|
+
* of the activation pipeline to avoid double-toggle.
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
private _handleHostKeyDown;
|
|
210
|
+
/**
|
|
211
|
+
* Host-level click handler. Routes clicks on the host (e.g. via assistive
|
|
212
|
+
* tech activation) to the change handler — only on the modern path. On the
|
|
213
|
+
* fallback path the inner input is the announced surface and natively
|
|
214
|
+
* receives clicks/AT activation.
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
private _handleHostClick;
|
|
166
218
|
updated(changedProperties: PropertyValues<this>): void;
|
|
167
219
|
/** Returns the associated form element, if any. */
|
|
168
220
|
get form(): HTMLFormElement | null;
|
|
@@ -175,12 +227,112 @@ export declare class HelixCheckbox extends HelixCheckbox_base {
|
|
|
175
227
|
protected _onFormReset(): void;
|
|
176
228
|
protected _onFormStateRestore(state: File | string | FormData | null, _mode: 'restore' | 'autocomplete'): void;
|
|
177
229
|
protected _onFormDisabled(disabled: boolean): void;
|
|
230
|
+
/**
|
|
231
|
+
* Writes the checkbox value to ElementInternals' form value. Suppressed when
|
|
232
|
+
* the checkbox is grouped — `hx-checkbox-group` flips `_groupedSuppress` on
|
|
233
|
+
* children so the group is the sole form participant.
|
|
234
|
+
*
|
|
235
|
+
* Codex round-3 finding #1: round-2 used `cb.name = ''` as the suppression
|
|
236
|
+
* signal, but a consumer (or framework binding) that re-set `cb.name = 'foo'`
|
|
237
|
+
* after attach regained form participation through the `name` setter. The
|
|
238
|
+
* `_groupedSuppress` flag is a durable, name-independent kill switch.
|
|
239
|
+
* Stand-alone checkboxes (no parent group) are unaffected.
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
private _updateFormValue;
|
|
178
243
|
/** @internal */
|
|
179
244
|
private _handleChange;
|
|
245
|
+
/**
|
|
246
|
+
* Handles native `change` events from the inner `<input type=checkbox>` on
|
|
247
|
+
* the no-IDL-ref fallback path. On that path the inner input is the
|
|
248
|
+
* announced surface (no `aria-hidden`, `tabindex=0`) and AT activates it
|
|
249
|
+
* directly — pointer/keyboard activation flips `input.checked` natively.
|
|
250
|
+
* We mirror the input's state onto the host, dispatch `hx-change`, and
|
|
251
|
+
* update form participation.
|
|
252
|
+
*
|
|
253
|
+
* Codex round-3 finding #2: round-2 left the inner input click suppressed
|
|
254
|
+
* on both paths, so on no-IDL-ref browsers AT activation could not toggle
|
|
255
|
+
* the control. The fix is to NOT suppress click on the fallback path and
|
|
256
|
+
* to honor the resulting `change` event here.
|
|
257
|
+
* @internal
|
|
258
|
+
*/
|
|
259
|
+
private _handleInternalChange;
|
|
180
260
|
/** @internal */
|
|
181
261
|
private _handleKeyDown;
|
|
182
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Stable inner-input click suppressor for the modern (announced-host) path.
|
|
264
|
+
* Hoisted to a class field so Lit sees a stable listener identity across
|
|
265
|
+
* renders; previously inline arrows were re-allocated each render and
|
|
266
|
+
* caused listener detach/re-attach churn (codex round-4 F3 — performance).
|
|
267
|
+
* @internal
|
|
268
|
+
*/
|
|
269
|
+
private _suppressInnerClick;
|
|
270
|
+
/**
|
|
271
|
+
* Stable inner-input change suppressor for the modern (announced-host) path.
|
|
272
|
+
* Mirrors the click suppressor above — stable identity across renders so
|
|
273
|
+
* Lit's event-listener cache keeps a single registration (codex round-4 F3).
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
private _suppressInnerChange;
|
|
277
|
+
/**
|
|
278
|
+
* Moves focus to the announced checkbox surface. Codex round-1 finding #1
|
|
279
|
+
* relocated the focus target from the inner `<input>` to the host on
|
|
280
|
+
* modern engines so AT only sees one announced widget. Round-7 finding #3
|
|
281
|
+
* extends that contract to the no-IDL-ref fallback: when the host is
|
|
282
|
+
* demoted (`tabindex=-1`, role/state cleared on `internals`) the inner
|
|
283
|
+
* `<input>` owns the announced semantics and tab order, so programmatic
|
|
284
|
+
* `focus()` must redirect there — otherwise scripted focus and error
|
|
285
|
+
* recovery land on the demoted host on unsupported engines.
|
|
286
|
+
*/
|
|
183
287
|
focus(options?: FocusOptions): void;
|
|
288
|
+
/**
|
|
289
|
+
* Mirrors checkbox semantics onto the host via ElementInternals so that
|
|
290
|
+
* consumer-supplied `aria-label`, `aria-labelledby`, and `aria-describedby`
|
|
291
|
+
* on `<hx-checkbox>` reach the announced control. Without this, those
|
|
292
|
+
* attributes — intercepted by `mixinDelegatesAria` and stored on the host —
|
|
293
|
+
* would not propagate through to the inner shadow `<input>`.
|
|
294
|
+
*
|
|
295
|
+
* Codex finding (aria-delegation, severity high): the announced semantic
|
|
296
|
+
* node was the inner `<input>` and the host's labelled-by tokens could not
|
|
297
|
+
* cross the shadow boundary.
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
private _syncHostAriaSemantics;
|
|
301
|
+
/**
|
|
302
|
+
* Fallback `aria-labelledby` token list applied to the inner input on
|
|
303
|
+
* browsers that lack IDL element references. Tracked as a reactive state
|
|
304
|
+
* so the value flows through the next `render()` call.
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
private _fallbackAriaLabelledBy;
|
|
308
|
+
/**
|
|
309
|
+
* Fallback `aria-describedby` token list applied to the inner input on
|
|
310
|
+
* browsers that lack IDL element references.
|
|
311
|
+
* @internal
|
|
312
|
+
*/
|
|
313
|
+
private _fallbackAriaDescribedBy;
|
|
314
|
+
/**
|
|
315
|
+
* Whether the platform supports IDL element references on `ElementInternals`.
|
|
316
|
+
* Drives the render-time branch between the modern path (host is the
|
|
317
|
+
* announced surface, inner input is `aria-hidden + tabindex=-1`) and the
|
|
318
|
+
* fallback path (inner input is the announced surface, host is demoted).
|
|
319
|
+
*
|
|
320
|
+
* Round-2 finding #2: the previous fallback mirrored `aria-labelledby` /
|
|
321
|
+
* `aria-describedby` onto an `aria-hidden` inner input, leaving older
|
|
322
|
+
* browsers with no accessible name. The fallback now keeps the inner input
|
|
323
|
+
* in the a11y tree so AT can name and activate it natively.
|
|
324
|
+
* @internal
|
|
325
|
+
*/
|
|
326
|
+
private _supportsIdrefRefs;
|
|
327
|
+
/**
|
|
328
|
+
* Tracks whether the host's `tabindex` is managed by the component itself
|
|
329
|
+
* (vs. set explicitly by a consumer). Codex round-14 P2: a consumer-supplied
|
|
330
|
+
* `tabindex` (e.g. roving-tabindex toolbar pattern with `tabindex="-1"`)
|
|
331
|
+
* must survive disabled flips and re-renders. Only re-assert tabindex in
|
|
332
|
+
* `updated()` when the component originally claimed it.
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
private _internalTabindexManaged;
|
|
184
336
|
/** @internal */
|
|
185
337
|
private _id;
|
|
186
338
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/hx-checkbox/hx-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,4C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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-checkbox/hx-checkbox.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"hx-checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-checkbox/hx-checkbox.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,yBA4S/B,CAAC"}
|