@helixui/library 0.3.4 → 1.0.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 +13562 -12579
- package/dist/components/hx-accordion/hx-accordion-item.d.ts +2 -0
- package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
- package/dist/components/hx-accordion/hx-accordion.d.ts +8 -0
- package/dist/components/hx-accordion/hx-accordion.d.ts.map +1 -1
- package/dist/components/hx-accordion/index.js +1 -1
- package/dist/components/hx-action-bar/hx-action-bar.d.ts.map +1 -1
- package/dist/components/hx-action-bar/index.js +1 -1
- package/dist/components/hx-alert/hx-alert.d.ts +2 -5
- package/dist/components/hx-alert/hx-alert.d.ts.map +1 -1
- package/dist/components/hx-alert/index.js +1 -1
- package/dist/components/hx-avatar/hx-avatar.d.ts.map +1 -1
- package/dist/components/hx-avatar/index.js +1 -1
- package/dist/components/hx-banner/hx-banner.d.ts +99 -0
- package/dist/components/hx-banner/hx-banner.d.ts.map +1 -0
- package/dist/components/hx-banner/hx-banner.styles.d.ts +2 -0
- package/dist/components/hx-banner/hx-banner.styles.d.ts.map +1 -0
- package/dist/components/hx-banner/index.d.ts +3 -0
- package/dist/components/hx-banner/index.d.ts.map +1 -0
- package/dist/components/hx-banner/index.js +5 -0
- package/dist/components/hx-banner/index.js.map +1 -0
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts +5 -0
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/index.js +1 -1
- package/dist/components/hx-button/hx-button.d.ts +17 -0
- package/dist/components/hx-button/hx-button.d.ts.map +1 -1
- package/dist/components/hx-button/hx-button.styles.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 +8 -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 +16 -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-carousel/hx-carousel.d.ts +122 -0
- package/dist/components/hx-carousel/hx-carousel.d.ts.map +1 -1
- package/dist/components/hx-carousel/index.js +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts +3 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts.map +1 -1
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts +5 -1
- 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-code-snippet/hx-code-snippet.d.ts +21 -6
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/index.js +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.d.ts +13 -0
- 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 +24 -0
- package/dist/components/hx-combobox/hx-combobox.d.ts.map +1 -1
- package/dist/components/hx-combobox/hx-combobox.styles.d.ts.map +1 -1
- package/dist/components/hx-combobox/index.js +1 -1
- package/dist/components/hx-container/hx-container.d.ts +3 -1
- package/dist/components/hx-container/hx-container.d.ts.map +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.d.ts +6 -0
- package/dist/components/hx-copy-button/hx-copy-button.d.ts.map +1 -1
- package/dist/components/hx-copy-button/index.js +1 -1
- package/dist/components/hx-counter/hx-counter.d.ts +79 -0
- package/dist/components/hx-counter/hx-counter.d.ts.map +1 -0
- package/dist/components/hx-counter/hx-counter.styles.d.ts +2 -0
- package/dist/components/hx-counter/hx-counter.styles.d.ts.map +1 -0
- package/dist/components/hx-counter/index.d.ts +3 -0
- package/dist/components/hx-counter/index.d.ts.map +1 -0
- package/dist/components/hx-counter/index.js +5 -0
- package/dist/components/hx-counter/index.js.map +1 -0
- package/dist/components/hx-data-table/hx-data-table.d.ts +6 -0
- package/dist/components/hx-data-table/hx-data-table.d.ts.map +1 -1
- package/dist/components/hx-data-table/hx-data-table.styles.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 +124 -0
- package/dist/components/hx-date-picker/hx-date-picker.d.ts.map +1 -1
- package/dist/components/hx-date-picker/index.js +1 -1
- 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-divider/hx-divider.d.ts +3 -0
- package/dist/components/hx-divider/hx-divider.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +54 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts.map +1 -1
- package/dist/components/hx-drawer/index.js +1 -1
- package/dist/components/hx-dropdown/hx-dropdown.d.ts +5 -0
- package/dist/components/hx-dropdown/hx-dropdown.d.ts.map +1 -1
- package/dist/components/hx-field/hx-field.d.ts +31 -1
- 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-file-upload/hx-file-upload.d.ts +12 -0
- package/dist/components/hx-file-upload/hx-file-upload.d.ts.map +1 -1
- package/dist/components/hx-file-upload/index.js +1 -1
- package/dist/components/hx-form/hx-form.d.ts +24 -0
- package/dist/components/hx-form/hx-form.d.ts.map +1 -1
- package/dist/components/hx-form/index.js +1 -1
- package/dist/components/hx-help-text/hx-help-text.d.ts +3 -0
- package/dist/components/hx-help-text/hx-help-text.d.ts.map +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -1
- package/dist/components/hx-icon-button/index.js +1 -1
- 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.d.ts +12 -0
- 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 +2 -0
- package/dist/components/hx-meter/hx-meter.d.ts.map +1 -1
- package/dist/components/hx-meter/index.js +1 -1
- package/dist/components/hx-nav/hx-nav.d.ts +15 -1
- package/dist/components/hx-nav/hx-nav.d.ts.map +1 -1
- package/dist/components/hx-nav/index.js +1 -1
- package/dist/components/hx-number-input/hx-number-input.d.ts +2 -0
- package/dist/components/hx-number-input/hx-number-input.d.ts.map +1 -1
- package/dist/components/hx-number-input/index.js +1 -1
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts +14 -0
- 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-pagination/hx-pagination.d.ts +5 -0
- package/dist/components/hx-pagination/hx-pagination.d.ts.map +1 -1
- package/dist/components/hx-pagination/index.js +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +10 -38
- 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 +10 -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-progress-ring/hx-progress-ring.d.ts.map +1 -1
- package/dist/components/hx-progress-ring/index.js +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts +75 -3
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.d.ts +3 -1
- 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-rating/hx-rating.d.ts +18 -3
- package/dist/components/hx-rating/hx-rating.d.ts.map +1 -1
- package/dist/components/hx-rating/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +9 -0
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- package/dist/components/hx-select/index.js +1 -1
- package/dist/components/hx-side-nav/hx-side-nav.d.ts.map +1 -1
- package/dist/components/hx-side-nav/index.js +1 -1
- package/dist/components/hx-slider/hx-slider.d.ts +2 -0
- package/dist/components/hx-slider/hx-slider.d.ts.map +1 -1
- package/dist/components/hx-slider/index.js +1 -1
- package/dist/components/hx-split-button/hx-split-button.d.ts +16 -0
- 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-split-panel/hx-split-panel.d.ts +11 -0
- package/dist/components/hx-split-panel/hx-split-panel.d.ts.map +1 -1
- package/dist/components/hx-stat/hx-stat.d.ts +71 -0
- package/dist/components/hx-stat/hx-stat.d.ts.map +1 -0
- package/dist/components/hx-stat/hx-stat.styles.d.ts +2 -0
- package/dist/components/hx-stat/hx-stat.styles.d.ts.map +1 -0
- package/dist/components/hx-stat/index.d.ts +3 -0
- package/dist/components/hx-stat/index.d.ts.map +1 -0
- package/dist/components/hx-stat/index.js +5 -0
- package/dist/components/hx-stat/index.js.map +1 -0
- package/dist/components/hx-steps/hx-steps.d.ts +5 -0
- package/dist/components/hx-steps/hx-steps.d.ts.map +1 -1
- package/dist/components/hx-steps/index.js +1 -1
- package/dist/components/hx-structured-list/hx-structured-list.d.ts +2 -0
- package/dist/components/hx-structured-list/hx-structured-list.d.ts.map +1 -1
- package/dist/components/hx-structured-list/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +2 -0
- package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
- package/dist/components/hx-switch/index.js +1 -1
- package/dist/components/hx-table/hx-table.d.ts +60 -0
- package/dist/components/hx-table/hx-table.d.ts.map +1 -0
- package/dist/components/hx-table/hx-table.styles.d.ts +9 -0
- package/dist/components/hx-table/hx-table.styles.d.ts.map +1 -0
- package/dist/components/hx-table/hx-tbody.d.ts +23 -0
- package/dist/components/hx-table/hx-tbody.d.ts.map +1 -0
- package/dist/components/hx-table/hx-td.d.ts +46 -0
- package/dist/components/hx-table/hx-td.d.ts.map +1 -0
- package/dist/components/hx-table/hx-tfoot.d.ts +23 -0
- package/dist/components/hx-table/hx-tfoot.d.ts.map +1 -0
- package/dist/components/hx-table/hx-th.d.ts +61 -0
- package/dist/components/hx-table/hx-th.d.ts.map +1 -0
- package/dist/components/hx-table/hx-thead.d.ts +23 -0
- package/dist/components/hx-table/hx-thead.d.ts.map +1 -0
- package/dist/components/hx-table/hx-tr.d.ts +33 -0
- package/dist/components/hx-table/hx-tr.d.ts.map +1 -0
- package/dist/components/hx-table/index.d.ts +9 -0
- package/dist/components/hx-table/index.d.ts.map +1 -0
- package/dist/components/hx-table/index.js +11 -0
- package/dist/components/hx-table/index.js.map +1 -0
- 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-text-input/hx-text-input.d.ts +1 -0
- package/dist/components/hx-text-input/hx-text-input.d.ts.map +1 -1
- package/dist/components/hx-text-input/index.js +1 -1
- package/dist/components/hx-textarea/hx-textarea.d.ts +14 -0
- package/dist/components/hx-textarea/hx-textarea.d.ts.map +1 -1
- package/dist/components/hx-textarea/hx-textarea.styles.d.ts.map +1 -1
- package/dist/components/hx-textarea/index.js +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.d.ts +22 -1
- package/dist/components/hx-time-picker/hx-time-picker.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 +36 -0
- package/dist/components/hx-toast/hx-toast-stack.d.ts.map +1 -0
- package/dist/components/hx-toast/hx-toast.d.ts +0 -52
- package/dist/components/hx-toast/hx-toast.d.ts.map +1 -1
- package/dist/components/hx-toast/index.d.ts +6 -2
- package/dist/components/hx-toast/index.d.ts.map +1 -1
- package/dist/components/hx-toast/index.js +1 -1
- package/dist/components/hx-toast/toast-factory.d.ts +25 -0
- package/dist/components/hx-toast/toast-factory.d.ts.map +1 -0
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts +1 -0
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.d.ts +1 -45
- 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-top-nav/hx-top-nav.d.ts.map +1 -1
- package/dist/components/hx-top-nav/index.js +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.d.ts +50 -0
- 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 +15 -0
- 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/index.d.ts +20 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +168 -154
- package/dist/index.js.map +1 -1
- package/dist/shared/body-scroll-lock-VBa5TFP-.js +12 -0
- package/dist/shared/body-scroll-lock-VBa5TFP-.js.map +1 -0
- package/dist/shared/dev-warn-YlwPHjtX.js +6 -0
- package/dist/shared/dev-warn-YlwPHjtX.js.map +1 -0
- package/dist/shared/{hx-accordion-D95XSAft.js → hx-accordion-Cyswa6J3.js} +46 -43
- package/dist/shared/hx-accordion-Cyswa6J3.js.map +1 -0
- package/dist/shared/{hx-action-bar-B4i9tBCP.js → hx-action-bar-we_WJety.js} +41 -40
- package/dist/shared/hx-action-bar-we_WJety.js.map +1 -0
- package/dist/shared/{hx-alert-BQpT4gL3.js → hx-alert-Cg-zxRiU.js} +2 -2
- package/dist/shared/hx-alert-Cg-zxRiU.js.map +1 -0
- package/dist/shared/{hx-avatar-yHjmNdtf.js → hx-avatar-Cep6Urm3.js} +62 -65
- package/dist/shared/hx-avatar-Cep6Urm3.js.map +1 -0
- package/dist/shared/hx-banner-lxAIJ2kR.js +349 -0
- package/dist/shared/hx-banner-lxAIJ2kR.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-DtSxRZ_W.js → hx-breadcrumb-item-C0rz0fzV.js} +46 -44
- package/dist/shared/hx-breadcrumb-item-C0rz0fzV.js.map +1 -0
- package/dist/shared/{hx-button-CtiJsmOg.js → hx-button-Cbhqpm5i.js} +111 -28
- package/dist/shared/hx-button-Cbhqpm5i.js.map +1 -0
- package/dist/shared/{hx-button-group-BMV5qFs4.js → hx-button-group-CWjWv-wS.js} +10 -10
- package/dist/shared/hx-button-group-CWjWv-wS.js.map +1 -0
- package/dist/shared/{hx-card-DAkEfpJd.js → hx-card-Bg4W4uXC.js} +16 -16
- package/dist/shared/hx-card-Bg4W4uXC.js.map +1 -0
- package/dist/shared/{hx-carousel-item-C2yBnM0r.js → hx-carousel-item-BKpmFbUT.js} +101 -63
- package/dist/shared/hx-carousel-item-BKpmFbUT.js.map +1 -0
- package/dist/shared/hx-checkbox-BMayOpAM.js.map +1 -1
- package/dist/shared/{hx-checkbox-group-DTS9iT4b.js → hx-checkbox-group-ydUdV9Sx.js} +7 -7
- package/dist/shared/hx-checkbox-group-ydUdV9Sx.js.map +1 -0
- package/dist/shared/{hx-code-snippet-DdEqy-1B.js → hx-code-snippet-B4hV7rWG.js} +65 -53
- package/dist/shared/hx-code-snippet-B4hV7rWG.js.map +1 -0
- package/dist/shared/{hx-color-picker-K2x_dyeG.js → hx-color-picker-BvfJ_h16.js} +100 -90
- package/dist/shared/hx-color-picker-BvfJ_h16.js.map +1 -0
- package/dist/shared/{hx-combobox-DjMigccw.js → hx-combobox-BBi3izKJ.js} +80 -44
- package/dist/shared/hx-combobox-BBi3izKJ.js.map +1 -0
- package/dist/shared/hx-container-DLUKnTi9.js.map +1 -1
- package/dist/shared/{hx-copy-button-BXL1xkxb.js → hx-copy-button-CLBA31to.js} +45 -50
- package/dist/shared/hx-copy-button-CLBA31to.js.map +1 -0
- package/dist/shared/hx-counter-D-1NXzGs.js +138 -0
- package/dist/shared/hx-counter-D-1NXzGs.js.map +1 -0
- package/dist/shared/{hx-data-table-D3NZvc3P.js → hx-data-table-DNiDVWR2.js} +100 -95
- package/dist/shared/hx-data-table-DNiDVWR2.js.map +1 -0
- package/dist/shared/{hx-date-picker-CIHwx9b3.js → hx-date-picker-D7yCK0nk.js} +17 -12
- package/dist/shared/hx-date-picker-D7yCK0nk.js.map +1 -0
- package/dist/shared/{hx-dialog-e4CSD8xX.js → hx-dialog-Z7Ou_AZ9.js} +37 -36
- package/dist/shared/hx-dialog-Z7Ou_AZ9.js.map +1 -0
- package/dist/shared/hx-divider-XgWIz4Mr.js.map +1 -1
- package/dist/shared/{hx-drawer-bTF0nbrg.js → hx-drawer-Dk-_xzy0.js} +59 -58
- package/dist/shared/hx-drawer-Dk-_xzy0.js.map +1 -0
- package/dist/shared/hx-dropdown-DnjLnkTj.js.map +1 -1
- package/dist/shared/{hx-field-Dz-7M_SC.js → hx-field-CDP8EXuj.js} +22 -19
- package/dist/shared/hx-field-CDP8EXuj.js.map +1 -0
- package/dist/shared/{hx-file-upload-DnYiIhyN.js → hx-file-upload-CUORgnKc.js} +17 -14
- package/dist/shared/hx-file-upload-CUORgnKc.js.map +1 -0
- package/dist/shared/{hx-form-BJeLK34m.js → hx-form-BFv_N1dm.js} +9 -1
- package/dist/shared/{hx-form-BJeLK34m.js.map → hx-form-BFv_N1dm.js.map} +1 -1
- package/dist/shared/hx-help-text-DaOPN1iB.js.map +1 -1
- package/dist/shared/{hx-icon-button-C_fsUJW4.js → hx-icon-button-C83bCR0K.js} +2 -4
- package/dist/shared/hx-icon-button-C83bCR0K.js.map +1 -0
- package/dist/shared/{hx-list-CF-AAnp-.js → hx-list-CdRNgeoP.js} +7 -9
- package/dist/shared/{hx-list-CF-AAnp-.js.map → hx-list-CdRNgeoP.js.map} +1 -1
- package/dist/shared/{hx-menu-divider-Buc5XA9E.js → hx-menu-divider-11Dp2VfM.js} +50 -48
- package/dist/shared/hx-menu-divider-11Dp2VfM.js.map +1 -0
- package/dist/shared/{hx-meter-qcXl0zCL.js → hx-meter-UinDQjl6.js} +43 -37
- package/dist/shared/hx-meter-UinDQjl6.js.map +1 -0
- package/dist/shared/{hx-nav-CWwByFdq.js → hx-nav-DSpwWYUX.js} +81 -81
- package/dist/shared/hx-nav-DSpwWYUX.js.map +1 -0
- package/dist/shared/{hx-nav-item-DItaMWl0.js → hx-nav-item-D54-5eUM.js} +12 -12
- package/dist/shared/hx-nav-item-D54-5eUM.js.map +1 -0
- package/dist/shared/{hx-number-input-CS6_w1lT.js → hx-number-input-BP6TIA92.js} +5 -1
- package/dist/shared/hx-number-input-BP6TIA92.js.map +1 -0
- package/dist/shared/{hx-overflow-menu-CAS1Mlus.js → hx-overflow-menu-C7k5wlZy.js} +39 -34
- package/dist/shared/hx-overflow-menu-C7k5wlZy.js.map +1 -0
- package/dist/shared/{hx-pagination-DNFgXQm3.js → hx-pagination-BQ0cLTuB.js} +65 -62
- package/dist/shared/hx-pagination-BQ0cLTuB.js.map +1 -0
- package/dist/shared/{hx-popover-BjAyLbzp.js → hx-popover-BQsgrJCW.js} +7 -7
- package/dist/shared/hx-popover-BQsgrJCW.js.map +1 -0
- package/dist/shared/{hx-progress-bar-b3_m1hna.js → hx-progress-bar-C_mdPVF-.js} +61 -52
- package/dist/shared/hx-progress-bar-C_mdPVF-.js.map +1 -0
- package/dist/shared/{hx-progress-ring-wOSv2y_I.js → hx-progress-ring-BHJBaXNk.js} +2 -4
- package/dist/shared/hx-progress-ring-BHJBaXNk.js.map +1 -0
- package/dist/shared/{hx-radio-CGtFKls2.js → hx-radio-Bqyi8re3.js} +44 -12
- package/dist/shared/hx-radio-Bqyi8re3.js.map +1 -0
- package/dist/shared/{hx-rating-C4kTOyHF.js → hx-rating-Y_t7Z4qb.js} +104 -67
- package/dist/shared/hx-rating-Y_t7Z4qb.js.map +1 -0
- package/dist/shared/{hx-select-D9bYJcDv.js → hx-select-BBae2LqN.js} +16 -10
- package/dist/shared/hx-select-BBae2LqN.js.map +1 -0
- package/dist/shared/{hx-slider-Duzmuid9.js → hx-slider-CpnxH2UP.js} +9 -5
- package/dist/shared/{hx-slider-Duzmuid9.js.map → hx-slider-CpnxH2UP.js.map} +1 -1
- package/dist/shared/{hx-split-button-DhncgAtZ.js → hx-split-button-BvwoG8h2.js} +14 -13
- package/dist/shared/hx-split-button-BvwoG8h2.js.map +1 -0
- package/dist/shared/hx-split-panel-Cxkeauwe.js.map +1 -1
- package/dist/shared/hx-stat-C2wfph8W.js +212 -0
- package/dist/shared/hx-stat-C2wfph8W.js.map +1 -0
- package/dist/shared/{hx-step-nMT0fHEn.js → hx-step-DYoIumpR.js} +29 -29
- package/dist/shared/hx-step-DYoIumpR.js.map +1 -0
- package/dist/shared/{hx-structured-list-CMja1VXz.js → hx-structured-list-CMWllxGg.js} +23 -17
- package/dist/shared/{hx-structured-list-CMja1VXz.js.map → hx-structured-list-CMWllxGg.js.map} +1 -1
- package/dist/shared/{hx-switch-BPvIcDpM.js → hx-switch-DkKchcuP.js} +8 -3
- package/dist/shared/{hx-switch-BPvIcDpM.js.map → hx-switch-DkKchcuP.js.map} +1 -1
- package/dist/shared/{hx-tab-panel-C7h5lRpw.js → hx-tab-panel-CHB0u1zF.js} +91 -85
- package/dist/shared/hx-tab-panel-CHB0u1zF.js.map +1 -0
- package/dist/shared/hx-td-CVwCGBYf.js +604 -0
- package/dist/shared/hx-td-CVwCGBYf.js.map +1 -0
- package/dist/shared/{hx-text-input-BUMgOQHX.js → hx-text-input-BrCjo4fJ.js} +5 -1
- package/dist/shared/hx-text-input-BrCjo4fJ.js.map +1 -0
- package/dist/shared/{hx-textarea-B_nmxzhC.js → hx-textarea-BsQdB1Rk.js} +51 -18
- package/dist/shared/hx-textarea-BsQdB1Rk.js.map +1 -0
- package/dist/shared/{hx-time-picker-a-BCkecJ.js → hx-time-picker-DRRAFuVd.js} +62 -54
- package/dist/shared/hx-time-picker-DRRAFuVd.js.map +1 -0
- package/dist/shared/{hx-toggle-button--xCXWRJW.js → hx-toggle-button-D4F1soEM.js} +34 -22
- package/dist/shared/{hx-toggle-button--xCXWRJW.js.map → hx-toggle-button-D4F1soEM.js.map} +1 -1
- package/dist/shared/{hx-tooltip-DN6lMlP5.js → hx-tooltip-Bk1iQRHs.js} +23 -23
- package/dist/shared/hx-tooltip-Bk1iQRHs.js.map +1 -0
- package/dist/shared/{hx-top-nav-8lDKNZUj.js → hx-top-nav-DzW7XLv-.js} +42 -29
- package/dist/shared/{hx-top-nav-8lDKNZUj.js.map → hx-top-nav-DzW7XLv-.js.map} +1 -1
- package/dist/shared/{hx-tree-item-Cesh_du5.js → hx-tree-item-DdH6RbMs.js} +170 -111
- package/dist/shared/hx-tree-item-DdH6RbMs.js.map +1 -0
- package/dist/shared/{hx-toast-ikwh9Y03.js → toast-factory-B8jicczW.js} +69 -66
- package/dist/shared/toast-factory-B8jicczW.js.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/aria-analyzer.d.ts +12 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/aria-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/focus-analyzer.d.ts +13 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/focus-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/form-analyzer.d.ts +13 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/form-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/keyboard-analyzer.d.ts +12 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/keyboard-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/label-analyzer.d.ts +13 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/label-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/motion-analyzer.d.ts +12 -0
- package/dist/tools/cem-a11y-analyzer/analyzers/motion-analyzer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/index.d.ts +14 -0
- package/dist/tools/cem-a11y-analyzer/index.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/reporter.d.ts +6 -0
- package/dist/tools/cem-a11y-analyzer/reporter.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/scorer.d.ts +22 -0
- package/dist/tools/cem-a11y-analyzer/scorer.d.ts.map +1 -0
- package/dist/tools/cem-a11y-analyzer/types.d.ts +171 -0
- package/dist/tools/cem-a11y-analyzer/types.d.ts.map +1 -0
- package/dist/utils/body-scroll-lock.d.ts +34 -0
- package/dist/utils/body-scroll-lock.d.ts.map +1 -0
- package/dist/utils/dev-warn.d.ts +19 -0
- package/dist/utils/dev-warn.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/shared/hx-accordion-D95XSAft.js.map +0 -1
- package/dist/shared/hx-action-bar-B4i9tBCP.js.map +0 -1
- package/dist/shared/hx-alert-BQpT4gL3.js.map +0 -1
- package/dist/shared/hx-avatar-yHjmNdtf.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-DtSxRZ_W.js.map +0 -1
- package/dist/shared/hx-button-CtiJsmOg.js.map +0 -1
- package/dist/shared/hx-button-group-BMV5qFs4.js.map +0 -1
- package/dist/shared/hx-card-DAkEfpJd.js.map +0 -1
- package/dist/shared/hx-carousel-item-C2yBnM0r.js.map +0 -1
- package/dist/shared/hx-checkbox-group-DTS9iT4b.js.map +0 -1
- package/dist/shared/hx-code-snippet-DdEqy-1B.js.map +0 -1
- package/dist/shared/hx-color-picker-K2x_dyeG.js.map +0 -1
- package/dist/shared/hx-combobox-DjMigccw.js.map +0 -1
- package/dist/shared/hx-copy-button-BXL1xkxb.js.map +0 -1
- package/dist/shared/hx-data-table-D3NZvc3P.js.map +0 -1
- package/dist/shared/hx-date-picker-CIHwx9b3.js.map +0 -1
- package/dist/shared/hx-dialog-e4CSD8xX.js.map +0 -1
- package/dist/shared/hx-drawer-bTF0nbrg.js.map +0 -1
- package/dist/shared/hx-field-Dz-7M_SC.js.map +0 -1
- package/dist/shared/hx-file-upload-DnYiIhyN.js.map +0 -1
- package/dist/shared/hx-icon-button-C_fsUJW4.js.map +0 -1
- package/dist/shared/hx-menu-divider-Buc5XA9E.js.map +0 -1
- package/dist/shared/hx-meter-qcXl0zCL.js.map +0 -1
- package/dist/shared/hx-nav-CWwByFdq.js.map +0 -1
- package/dist/shared/hx-nav-item-DItaMWl0.js.map +0 -1
- package/dist/shared/hx-number-input-CS6_w1lT.js.map +0 -1
- package/dist/shared/hx-overflow-menu-CAS1Mlus.js.map +0 -1
- package/dist/shared/hx-pagination-DNFgXQm3.js.map +0 -1
- package/dist/shared/hx-popover-BjAyLbzp.js.map +0 -1
- package/dist/shared/hx-progress-bar-b3_m1hna.js.map +0 -1
- package/dist/shared/hx-progress-ring-wOSv2y_I.js.map +0 -1
- package/dist/shared/hx-radio-CGtFKls2.js.map +0 -1
- package/dist/shared/hx-rating-C4kTOyHF.js.map +0 -1
- package/dist/shared/hx-select-D9bYJcDv.js.map +0 -1
- package/dist/shared/hx-split-button-DhncgAtZ.js.map +0 -1
- package/dist/shared/hx-step-nMT0fHEn.js.map +0 -1
- package/dist/shared/hx-tab-panel-C7h5lRpw.js.map +0 -1
- package/dist/shared/hx-text-input-BUMgOQHX.js.map +0 -1
- package/dist/shared/hx-textarea-B_nmxzhC.js.map +0 -1
- package/dist/shared/hx-time-picker-a-BCkecJ.js.map +0 -1
- package/dist/shared/hx-toast-ikwh9Y03.js.map +0 -1
- package/dist/shared/hx-tooltip-DN6lMlP5.js.map +0 -1
- package/dist/shared/hx-tree-item-Cesh_du5.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,76 +1,80 @@
|
|
|
1
|
-
import { H as r, a as x } from "./shared/hx-accordion-
|
|
2
|
-
import { H as a } from "./shared/hx-action-bar-
|
|
3
|
-
import { H as i } from "./shared/hx-alert-
|
|
4
|
-
import { H as s } from "./shared/hx-avatar-
|
|
1
|
+
import { H as r, a as x } from "./shared/hx-accordion-Cyswa6J3.js";
|
|
2
|
+
import { H as a } from "./shared/hx-action-bar-we_WJety.js";
|
|
3
|
+
import { H as i } from "./shared/hx-alert-Cg-zxRiU.js";
|
|
4
|
+
import { H as s } from "./shared/hx-avatar-Cep6Urm3.js";
|
|
5
5
|
import { H as m } from "./shared/hx-badge-CjT0d8NK.js";
|
|
6
|
-
import { H as n
|
|
7
|
-
import { H as
|
|
8
|
-
import { H as
|
|
9
|
-
import { H as I } from "./shared/hx-
|
|
10
|
-
import { H as
|
|
11
|
-
import { H as k } from "./shared/hx-
|
|
12
|
-
import { H as D } from "./shared/hx-checkbox-
|
|
13
|
-
import { H as
|
|
14
|
-
import { H as
|
|
15
|
-
import { H as
|
|
16
|
-
import { H as
|
|
17
|
-
import { H as y } from "./shared/hx-
|
|
18
|
-
import { H as O } from "./shared/hx-
|
|
19
|
-
import { H as j } from "./shared/hx-
|
|
20
|
-
import { H as z } from "./shared/hx-
|
|
21
|
-
import { H as J } from "./shared/hx-
|
|
22
|
-
import { H as Q } from "./shared/hx-
|
|
23
|
-
import { H as X } from "./shared/hx-
|
|
24
|
-
import { H as Z } from "./shared/hx-
|
|
25
|
-
import { H as $ } from "./shared/hx-
|
|
26
|
-
import { H as oe } from "./shared/hx-
|
|
27
|
-
import { H as xe } from "./shared/hx-
|
|
28
|
-
import { H as ae } from "./shared/hx-
|
|
29
|
-
import { H as ie
|
|
30
|
-
import { H as
|
|
31
|
-
import { H as fe } from "./shared/hx-
|
|
32
|
-
import { H as
|
|
33
|
-
import { H as
|
|
34
|
-
import { H as
|
|
35
|
-
import { H as Ie
|
|
36
|
-
import { H as
|
|
37
|
-
import { H as
|
|
38
|
-
import { H as
|
|
39
|
-
import { H as
|
|
40
|
-
import { H as
|
|
41
|
-
import { H as
|
|
42
|
-
import { H as ye } from "./shared/hx-
|
|
43
|
-
import { H as Oe } from "./shared/hx-
|
|
44
|
-
import { H as je } from "./shared/hx-
|
|
45
|
-
import { H as ze } from "./shared/hx-
|
|
46
|
-
import { H as Je } from "./shared/hx-
|
|
47
|
-
import { H as Qe
|
|
48
|
-
import { H as
|
|
49
|
-
import { H as _e } from "./shared/hx-
|
|
50
|
-
import { H as eo
|
|
51
|
-
import { H as
|
|
52
|
-
import { H as ao } from "./shared/hx-
|
|
53
|
-
import { H as io } from "./shared/hx-
|
|
54
|
-
import { H as so } from "./shared/hx-
|
|
55
|
-
import { H as mo } from "./shared/hx-
|
|
56
|
-
import { H as no } from "./shared/hx-
|
|
57
|
-
import { H as
|
|
58
|
-
import { H as
|
|
59
|
-
import { H as
|
|
60
|
-
import { H as Co } from "./shared/hx-
|
|
61
|
-
import { H as
|
|
62
|
-
import { H as
|
|
63
|
-
import { H as
|
|
64
|
-
import { H as No } from "./shared/hx-
|
|
65
|
-
import { H as
|
|
66
|
-
import { H as
|
|
67
|
-
import { H as
|
|
68
|
-
import { H as
|
|
69
|
-
import { H as
|
|
70
|
-
import { H as
|
|
71
|
-
import { H as
|
|
72
|
-
import { H as
|
|
73
|
-
import { H as
|
|
6
|
+
import { H as n } from "./shared/hx-banner-lxAIJ2kR.js";
|
|
7
|
+
import { H as u, a as T } from "./shared/hx-breadcrumb-item-C0rz0fzV.js";
|
|
8
|
+
import { H as c } from "./shared/hx-button-Cbhqpm5i.js";
|
|
9
|
+
import { H as I } from "./shared/hx-button-group-CWjWv-wS.js";
|
|
10
|
+
import { H as C } from "./shared/hx-card-Bg4W4uXC.js";
|
|
11
|
+
import { H as P, a as k } from "./shared/hx-carousel-item-BKpmFbUT.js";
|
|
12
|
+
import { H as D } from "./shared/hx-checkbox-BMayOpAM.js";
|
|
13
|
+
import { H as F } from "./shared/hx-checkbox-group-ydUdV9Sx.js";
|
|
14
|
+
import { H as R } from "./shared/hx-code-snippet-B4hV7rWG.js";
|
|
15
|
+
import { H as G } from "./shared/hx-color-picker-BvfJ_h16.js";
|
|
16
|
+
import { H as N } from "./shared/hx-combobox-BBi3izKJ.js";
|
|
17
|
+
import { H as y } from "./shared/hx-container-DLUKnTi9.js";
|
|
18
|
+
import { H as O } from "./shared/hx-copy-button-CLBA31to.js";
|
|
19
|
+
import { H as j } from "./shared/hx-counter-D-1NXzGs.js";
|
|
20
|
+
import { H as z } from "./shared/hx-data-table-DNiDVWR2.js";
|
|
21
|
+
import { H as J } from "./shared/hx-date-picker-D7yCK0nk.js";
|
|
22
|
+
import { H as Q } from "./shared/hx-dialog-Z7Ou_AZ9.js";
|
|
23
|
+
import { H as X } from "./shared/hx-divider-XgWIz4Mr.js";
|
|
24
|
+
import { H as Z } from "./shared/hx-drawer-Dk-_xzy0.js";
|
|
25
|
+
import { H as $ } from "./shared/hx-dropdown-DnjLnkTj.js";
|
|
26
|
+
import { H as oe } from "./shared/hx-field-CDP8EXuj.js";
|
|
27
|
+
import { H as xe } from "./shared/hx-field-label-Bg-EWvqF.js";
|
|
28
|
+
import { H as ae } from "./shared/hx-file-upload-CUORgnKc.js";
|
|
29
|
+
import { H as ie } from "./shared/hx-form-BFv_N1dm.js";
|
|
30
|
+
import { H as se } from "./shared/hx-format-date-BsVr8gpD.js";
|
|
31
|
+
import { H as me, a as fe } from "./shared/hx-grid-BsDBCTbt.js";
|
|
32
|
+
import { H as de } from "./shared/hx-help-text-DaOPN1iB.js";
|
|
33
|
+
import { H as Te } from "./shared/hx-icon--xsJztDh.js";
|
|
34
|
+
import { H as ce } from "./shared/hx-icon-button-C83bCR0K.js";
|
|
35
|
+
import { H as Ie } from "./shared/hx-image-xyb_tHCR.js";
|
|
36
|
+
import { H as Ce } from "./shared/hx-link-DfNy_UU8.js";
|
|
37
|
+
import { H as Pe, a as ke } from "./shared/hx-list-CdRNgeoP.js";
|
|
38
|
+
import { H as De, a as we, b as Fe } from "./shared/hx-menu-divider-11Dp2VfM.js";
|
|
39
|
+
import { H as Re } from "./shared/hx-meter-UinDQjl6.js";
|
|
40
|
+
import { H as Ge } from "./shared/hx-nav-DSpwWYUX.js";
|
|
41
|
+
import { H as Ne } from "./shared/hx-number-input-BP6TIA92.js";
|
|
42
|
+
import { H as ye } from "./shared/hx-overflow-menu-C7k5wlZy.js";
|
|
43
|
+
import { H as Oe } from "./shared/hx-pagination-BQ0cLTuB.js";
|
|
44
|
+
import { H as je } from "./shared/hx-popover-BQsgrJCW.js";
|
|
45
|
+
import { H as ze } from "./shared/hx-popup-CYf9Q5sj.js";
|
|
46
|
+
import { H as Je } from "./shared/hx-progress-bar-C_mdPVF-.js";
|
|
47
|
+
import { H as Qe } from "./shared/hx-progress-ring-BHJBaXNk.js";
|
|
48
|
+
import { H as Xe } from "./shared/hx-prose-DZh2KrMb.js";
|
|
49
|
+
import { H as Ze, a as _e } from "./shared/hx-radio-Bqyi8re3.js";
|
|
50
|
+
import { H as eo } from "./shared/hx-rating-Y_t7Z4qb.js";
|
|
51
|
+
import { H as ro } from "./shared/hx-select-BBae2LqN.js";
|
|
52
|
+
import { H as Ho, a as ao } from "./shared/hx-nav-item-D54-5eUM.js";
|
|
53
|
+
import { H as io } from "./shared/hx-skeleton-BHvALyd7.js";
|
|
54
|
+
import { H as so } from "./shared/hx-slider-CpnxH2UP.js";
|
|
55
|
+
import { H as mo } from "./shared/hx-spinner-BOApJ-g9.js";
|
|
56
|
+
import { H as no } from "./shared/hx-split-button-BvwoG8h2.js";
|
|
57
|
+
import { H as To } from "./shared/hx-split-panel-Cxkeauwe.js";
|
|
58
|
+
import { H as co } from "./shared/hx-stack-CfoW7jU7.js";
|
|
59
|
+
import { H as Io } from "./shared/hx-stat-C2wfph8W.js";
|
|
60
|
+
import { H as Co } from "./shared/hx-status-indicator-oYWOkWlD.js";
|
|
61
|
+
import { H as Po, a as ko } from "./shared/hx-step-DYoIumpR.js";
|
|
62
|
+
import { H as Do, a as wo } from "./shared/hx-structured-list-CMWllxGg.js";
|
|
63
|
+
import { H as Lo } from "./shared/hx-switch-DkKchcuP.js";
|
|
64
|
+
import { H as Ao, a as Go, b as Mo, c as No, d as ho, e as yo, f as Vo } from "./shared/hx-td-CVwCGBYf.js";
|
|
65
|
+
import { H as Uo, a as jo, b as qo } from "./shared/hx-tab-panel-CHB0u1zF.js";
|
|
66
|
+
import { H as Eo } from "./shared/hx-tag-SJJtMlOS.js";
|
|
67
|
+
import { H as Ko } from "./shared/hx-text-NjKoQATI.js";
|
|
68
|
+
import { H as Wo } from "./shared/hx-text-input-BrCjo4fJ.js";
|
|
69
|
+
import { H as Yo } from "./shared/hx-textarea-BsQdB1Rk.js";
|
|
70
|
+
import { H as _o } from "./shared/hx-theme-6GDoUG8j.js";
|
|
71
|
+
import { H as er } from "./shared/hx-time-picker-DRRAFuVd.js";
|
|
72
|
+
import { H as rr, a as xr, t as Hr } from "./shared/toast-factory-B8jicczW.js";
|
|
73
|
+
import { H as tr } from "./shared/hx-toggle-button-D4F1soEM.js";
|
|
74
|
+
import { H as lr } from "./shared/hx-tooltip-Bk1iQRHs.js";
|
|
75
|
+
import { H as pr } from "./shared/hx-top-nav-DzW7XLv-.js";
|
|
76
|
+
import { H as fr, a as nr } from "./shared/hx-tree-item-DdH6RbMs.js";
|
|
77
|
+
import { H as ur } from "./shared/hx-visually-hidden-CCTQTjbR.js";
|
|
74
78
|
export {
|
|
75
79
|
r as HelixAccordion,
|
|
76
80
|
x as HelixAccordionItem,
|
|
@@ -78,88 +82,98 @@ export {
|
|
|
78
82
|
i as HelixAlert,
|
|
79
83
|
s as HelixAvatar,
|
|
80
84
|
m as HelixBadge,
|
|
81
|
-
n as
|
|
82
|
-
u as
|
|
85
|
+
n as HelixBanner,
|
|
86
|
+
u as HelixBreadcrumb,
|
|
87
|
+
T as HelixBreadcrumbItem,
|
|
83
88
|
c as HelixButton,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
ce as
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
co as
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
89
|
+
I as HelixButtonGroup,
|
|
90
|
+
C as HelixCard,
|
|
91
|
+
P as HelixCarousel,
|
|
92
|
+
k as HelixCarouselItem,
|
|
93
|
+
D as HelixCheckbox,
|
|
94
|
+
F as HelixCheckboxGroup,
|
|
95
|
+
R as HelixCodeSnippet,
|
|
96
|
+
G as HelixColorPicker,
|
|
97
|
+
N as HelixCombobox,
|
|
98
|
+
y as HelixContainer,
|
|
99
|
+
O as HelixCopyButton,
|
|
100
|
+
j as HelixCounter,
|
|
101
|
+
z as HelixDataTable,
|
|
102
|
+
J as HelixDatePicker,
|
|
103
|
+
Q as HelixDialog,
|
|
104
|
+
X as HelixDivider,
|
|
105
|
+
Z as HelixDrawer,
|
|
106
|
+
$ as HelixDropdown,
|
|
107
|
+
oe as HelixField,
|
|
108
|
+
xe as HelixFieldLabel,
|
|
109
|
+
ae as HelixFileUpload,
|
|
110
|
+
ie as HelixForm,
|
|
111
|
+
se as HelixFormatDate,
|
|
112
|
+
me as HelixGrid,
|
|
113
|
+
fe as HelixGridItem,
|
|
114
|
+
de as HelixHelpText,
|
|
115
|
+
Te as HelixIcon,
|
|
116
|
+
ce as HelixIconButton,
|
|
117
|
+
Ie as HelixImage,
|
|
118
|
+
Ce as HelixLink,
|
|
119
|
+
Pe as HelixList,
|
|
120
|
+
ke as HelixListItem,
|
|
121
|
+
De as HelixMenu,
|
|
122
|
+
we as HelixMenuDivider,
|
|
123
|
+
Fe as HelixMenuItem,
|
|
124
|
+
Re as HelixMeter,
|
|
125
|
+
Ge as HelixNav,
|
|
126
|
+
Ho as HelixNavItem,
|
|
127
|
+
Ne as HelixNumberInput,
|
|
128
|
+
ye as HelixOverflowMenu,
|
|
129
|
+
Oe as HelixPagination,
|
|
130
|
+
je as HelixPopover,
|
|
131
|
+
ze as HelixPopup,
|
|
132
|
+
Je as HelixProgressBar,
|
|
133
|
+
Qe as HelixProgressRing,
|
|
134
|
+
Xe as HelixProse,
|
|
135
|
+
Ze as HelixRadio,
|
|
136
|
+
_e as HelixRadioGroup,
|
|
137
|
+
eo as HelixRating,
|
|
138
|
+
ro as HelixSelect,
|
|
139
|
+
ao as HelixSideNav,
|
|
140
|
+
io as HelixSkeleton,
|
|
141
|
+
so as HelixSlider,
|
|
142
|
+
mo as HelixSpinner,
|
|
143
|
+
no as HelixSplitButton,
|
|
144
|
+
To as HelixSplitPanel,
|
|
145
|
+
co as HelixStack,
|
|
146
|
+
Io as HelixStat,
|
|
147
|
+
Co as HelixStatusIndicator,
|
|
148
|
+
Po as HelixStep,
|
|
149
|
+
ko as HelixSteps,
|
|
150
|
+
Do as HelixStructuredList,
|
|
151
|
+
wo as HelixStructuredListRow,
|
|
152
|
+
Lo as HelixSwitch,
|
|
153
|
+
Uo as HelixTab,
|
|
154
|
+
jo as HelixTabPanel,
|
|
155
|
+
Ao as HelixTable,
|
|
156
|
+
Go as HelixTableBody,
|
|
157
|
+
Mo as HelixTableCell,
|
|
158
|
+
No as HelixTableFoot,
|
|
159
|
+
ho as HelixTableHead,
|
|
160
|
+
yo as HelixTableHeader,
|
|
161
|
+
Vo as HelixTableRow,
|
|
162
|
+
qo as HelixTabs,
|
|
163
|
+
Eo as HelixTag,
|
|
164
|
+
Ko as HelixText,
|
|
165
|
+
Wo as HelixTextInput,
|
|
166
|
+
Yo as HelixTextarea,
|
|
167
|
+
_o as HelixTheme,
|
|
168
|
+
er as HelixTimePicker,
|
|
169
|
+
rr as HelixToast,
|
|
170
|
+
xr as HelixToastStack,
|
|
171
|
+
tr as HelixToggleButton,
|
|
172
|
+
lr as HelixTooltip,
|
|
173
|
+
pr as HelixTopNav,
|
|
174
|
+
fr as HelixTreeItem,
|
|
175
|
+
nr as HelixTreeView,
|
|
176
|
+
ur as HelixVisuallyHidden,
|
|
177
|
+
Hr as toast
|
|
164
178
|
};
|
|
165
179
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
let o = 0, l = "";
|
|
2
|
+
function e() {
|
|
3
|
+
o === 0 && (l = document.body.style.overflow, document.body.style.overflow = "hidden"), o += 1;
|
|
4
|
+
}
|
|
5
|
+
function t() {
|
|
6
|
+
o <= 0 || (o -= 1, o === 0 && (document.body.style.overflow = l, l = ""));
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
e as l,
|
|
10
|
+
t as u
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=body-scroll-lock-VBa5TFP-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body-scroll-lock-VBa5TFP-.js","sources":["../../src/utils/body-scroll-lock.ts"],"sourcesContent":["/**\n * Shared body-scroll-lock utility for overlay components (hx-dialog, hx-drawer).\n *\n * Problem: Multiple overlays each calling `document.body.style.overflow = 'hidden'`\n * and then restoring it independently creates a race condition. When two overlays are\n * open simultaneously, the first one to close sets `overflow = ''`, immediately\n * re-enabling scroll even though the second overlay is still open.\n *\n * Solution: A module-level reference-counted stack. The counter tracks how many\n * overlays are currently requesting scroll lock. Body overflow is set to 'hidden'\n * only when the counter transitions from 0 → 1 (first locker). It is restored\n * only when the counter transitions from 1 → 0 (last locker releases). All\n * intermediate increments / decrements are no-ops against the DOM.\n *\n * The previous `overflow` value is captured once on first lock and restored exactly\n * once on final unlock, preserving any pre-existing overflow setting on the host page.\n */\n\n/** Number of active overlay components holding a body-scroll lock. */\nlet _lockCount = 0;\n\n/** The overflow value captured before the first lock was applied. */\nlet _savedOverflow = '';\n\n/**\n * Increment the scroll-lock counter. Sets `document.body.style.overflow = 'hidden'`\n * only on the 0 → 1 transition (i.e., the first overlay to request a lock).\n */\nexport function lockBodyScroll(): void {\n if (_lockCount === 0) {\n _savedOverflow = document.body.style.overflow;\n document.body.style.overflow = 'hidden';\n }\n _lockCount += 1;\n}\n\n/**\n * Decrement the scroll-lock counter. Restores `document.body.style.overflow` to its\n * pre-lock value only on the 1 → 0 transition (i.e., the last overlay releasing its lock).\n *\n * Safe to call even if no lock is currently held — the counter will not go below zero.\n */\nexport function unlockBodyScroll(): void {\n if (_lockCount <= 0) return;\n _lockCount -= 1;\n if (_lockCount === 0) {\n document.body.style.overflow = _savedOverflow;\n _savedOverflow = '';\n }\n}\n\n/**\n * Returns the current number of active scroll locks. Primarily useful for testing.\n */\nexport function getBodyScrollLockCount(): number {\n return _lockCount;\n}\n"],"names":["_lockCount","_savedOverflow","lockBodyScroll","unlockBodyScroll"],"mappings":"AAmBA,IAAIA,IAAa,GAGbC,IAAiB;AAMd,SAASC,IAAuB;AACrC,EAAIF,MAAe,MACjBC,IAAiB,SAAS,KAAK,MAAM,UACrC,SAAS,KAAK,MAAM,WAAW,WAEjCD,KAAc;AAChB;AAQO,SAASG,IAAyB;AACvC,EAAIH,KAAc,MAClBA,KAAc,GACVA,MAAe,MACjB,SAAS,KAAK,MAAM,WAAWC,GAC/BA,IAAiB;AAErB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev-warn-YlwPHjtX.js","sources":["../../src/utils/dev-warn.ts"],"sourcesContent":["/**\n * Development-only warning utility for HELiX components.\n *\n * Uses Vite's `import.meta.env.DEV` flag which is statically replaced at\n * build time. In production builds Vite sets this to `false`, so the branch\n * is dead code that tree-shaking eliminates entirely. In development and test\n * environments the flag is `true`, so warnings surface in the browser console.\n *\n * Usage:\n * ```ts\n * import { devWarn } from '../../utils/dev-warn.js';\n * devWarn('hx-button', 'The `foo` attribute is deprecated. Use `bar` instead.');\n * ```\n *\n * @param component - The component tag name used as the log prefix (e.g. `'hx-button'`).\n * @param message - Human-readable warning message for the developer.\n */\nexport function devWarn(component: string, message: string): void {\n if (import.meta.env.DEV === true) {\n console.warn(`[${component}] ${message}`);\n }\n}\n"],"names":["devWarn","component","message"],"mappings":"AAiBO,SAASA,EAAQC,GAAmBC,GAAuB;AAIlE;"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { css as b, svg as
|
|
1
|
+
import { css as b, svg as C, LitElement as w, nothing as S, html as _ } from "lit";
|
|
2
2
|
import { property as m, customElement as E } from "lit/decorators.js";
|
|
3
3
|
import { tokenStyles as k } from "@helixui/tokens/lit";
|
|
4
|
-
import { classMap as
|
|
5
|
-
|
|
4
|
+
import { classMap as D } from "lit/directives/class-map.js";
|
|
5
|
+
import { d as A } from "./dev-warn-YlwPHjtX.js";
|
|
6
|
+
const I = b`
|
|
6
7
|
:host {
|
|
7
8
|
display: block;
|
|
8
9
|
font-family: var(--hx-font-family-sans, sans-serif);
|
|
@@ -12,7 +13,7 @@ const A = b`
|
|
|
12
13
|
border-radius: var(--hx-accordion-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
13
14
|
overflow: hidden;
|
|
14
15
|
}
|
|
15
|
-
`,
|
|
16
|
+
`, O = b`
|
|
16
17
|
:host {
|
|
17
18
|
display: block;
|
|
18
19
|
}
|
|
@@ -133,12 +134,12 @@ const A = b`
|
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
`;
|
|
136
|
-
var
|
|
137
|
-
for (var n = t > 1 ? void 0 : t ?
|
|
137
|
+
var P = Object.defineProperty, j = Object.getOwnPropertyDescriptor, g = (e, r, o, t) => {
|
|
138
|
+
for (var n = t > 1 ? void 0 : t ? j(r, o) : r, i = e.length - 1, a; i >= 0; i--)
|
|
138
139
|
(a = e[i]) && (n = (t ? a(r, o, n) : a(n)) || n);
|
|
139
|
-
return t && n &&
|
|
140
|
+
return t && n && P(r, o, n), n;
|
|
140
141
|
};
|
|
141
|
-
const
|
|
142
|
+
const L = C`
|
|
142
143
|
<svg
|
|
143
144
|
xmlns="http://www.w3.org/2000/svg"
|
|
144
145
|
width="16"
|
|
@@ -154,9 +155,9 @@ const j = S`
|
|
|
154
155
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
155
156
|
</svg>
|
|
156
157
|
`;
|
|
157
|
-
let
|
|
158
|
+
let s = class extends w {
|
|
158
159
|
constructor() {
|
|
159
|
-
super(...arguments), this.expanded = !1, this.disabled = !1;
|
|
160
|
+
super(...arguments), this._uid = `hx-accordion-item-${++s._counter}`, this.expanded = !1, this.disabled = !1;
|
|
160
161
|
}
|
|
161
162
|
// ─── Toggle Logic ───
|
|
162
163
|
_toggle() {
|
|
@@ -183,30 +184,30 @@ let l = class extends w {
|
|
|
183
184
|
"item--disabled": this.disabled
|
|
184
185
|
};
|
|
185
186
|
return _`
|
|
186
|
-
<details part="item" class=${
|
|
187
|
+
<details part="item" class=${D(e)} ?open=${this.expanded}>
|
|
187
188
|
<summary
|
|
188
|
-
id
|
|
189
|
+
id=${`${this._uid}-trigger`}
|
|
189
190
|
part="trigger"
|
|
190
191
|
class="trigger"
|
|
191
192
|
tabindex=${this.disabled ? "-1" : "0"}
|
|
192
193
|
aria-expanded=${this.expanded ? "true" : "false"}
|
|
193
194
|
aria-disabled=${this.disabled ? "true" : "false"}
|
|
194
|
-
aria-controls
|
|
195
|
+
aria-controls=${`${this._uid}-content`}
|
|
195
196
|
@click=${this._handleSummaryClick}
|
|
196
197
|
@keydown=${this._handleKeyDown}
|
|
197
198
|
>
|
|
198
199
|
<slot name="trigger"></slot>
|
|
199
|
-
<span part="icon" class="icon">${
|
|
200
|
+
<span part="icon" class="icon">${L}</span>
|
|
200
201
|
</summary>
|
|
201
202
|
<div class="content-wrapper">
|
|
202
203
|
<div class="content-inner">
|
|
203
204
|
<div
|
|
204
|
-
id
|
|
205
|
+
id=${`${this._uid}-content`}
|
|
205
206
|
part="content"
|
|
206
207
|
class="content"
|
|
207
208
|
role="region"
|
|
208
|
-
aria-labelledby
|
|
209
|
-
aria-hidden=${this.expanded ?
|
|
209
|
+
aria-labelledby=${`${this._uid}-trigger`}
|
|
210
|
+
aria-hidden=${this.expanded ? S : "true"}
|
|
210
211
|
>
|
|
211
212
|
<slot></slot>
|
|
212
213
|
</div>
|
|
@@ -216,20 +217,21 @@ let l = class extends w {
|
|
|
216
217
|
`;
|
|
217
218
|
}
|
|
218
219
|
};
|
|
219
|
-
|
|
220
|
+
s.styles = [k, O];
|
|
221
|
+
s._counter = 0;
|
|
220
222
|
g([
|
|
221
223
|
m({ type: Boolean, reflect: !0 })
|
|
222
|
-
],
|
|
224
|
+
], s.prototype, "expanded", 2);
|
|
223
225
|
g([
|
|
224
226
|
m({ type: Boolean, reflect: !0 })
|
|
225
|
-
],
|
|
226
|
-
|
|
227
|
+
], s.prototype, "disabled", 2);
|
|
228
|
+
s = g([
|
|
227
229
|
E("hx-accordion-item")
|
|
228
|
-
],
|
|
229
|
-
var
|
|
230
|
-
for (var n = t > 1 ? void 0 : t ?
|
|
230
|
+
], s);
|
|
231
|
+
var q = Object.defineProperty, R = Object.getOwnPropertyDescriptor, $ = (e, r, o, t) => {
|
|
232
|
+
for (var n = t > 1 ? void 0 : t ? R(r, o) : r, i = e.length - 1, a; i >= 0; i--)
|
|
231
233
|
(a = e[i]) && (n = (t ? a(r, o, n) : a(n)) || n);
|
|
232
|
-
return t && n &&
|
|
234
|
+
return t && n && q(r, o, n), n;
|
|
233
235
|
};
|
|
234
236
|
let c = class extends w {
|
|
235
237
|
constructor() {
|
|
@@ -245,35 +247,35 @@ let c = class extends w {
|
|
|
245
247
|
const o = ((f = this.shadowRoot) == null ? void 0 : f.activeElement) ?? document.activeElement;
|
|
246
248
|
let t = null;
|
|
247
249
|
const n = Array.from(this.querySelectorAll("hx-accordion-item"));
|
|
248
|
-
for (const
|
|
249
|
-
const y = (u =
|
|
250
|
-
if (y === o || ((x =
|
|
251
|
-
t =
|
|
250
|
+
for (const l of n) {
|
|
251
|
+
const y = (u = l.shadowRoot) == null ? void 0 : u.querySelector("summary");
|
|
252
|
+
if (y === o || ((x = l.shadowRoot) == null ? void 0 : x.activeElement) === y) {
|
|
253
|
+
t = l;
|
|
252
254
|
break;
|
|
253
255
|
}
|
|
254
256
|
}
|
|
255
257
|
if (!t) return;
|
|
256
|
-
const i = n.filter((
|
|
258
|
+
const i = n.filter((l) => !l.disabled), a = i.indexOf(t);
|
|
257
259
|
if (a === -1) return;
|
|
258
|
-
let
|
|
260
|
+
let d = -1;
|
|
259
261
|
switch (e.key) {
|
|
260
262
|
case "ArrowDown":
|
|
261
|
-
|
|
263
|
+
d = (a + 1) % i.length;
|
|
262
264
|
break;
|
|
263
265
|
case "ArrowUp":
|
|
264
|
-
|
|
266
|
+
d = (a - 1 + i.length) % i.length;
|
|
265
267
|
break;
|
|
266
268
|
case "Home":
|
|
267
|
-
|
|
269
|
+
d = 0;
|
|
268
270
|
break;
|
|
269
271
|
case "End":
|
|
270
|
-
|
|
272
|
+
d = i.length - 1;
|
|
271
273
|
break;
|
|
272
274
|
default:
|
|
273
275
|
return;
|
|
274
276
|
}
|
|
275
277
|
e.preventDefault();
|
|
276
|
-
const h = i[
|
|
278
|
+
const h = i[d], p = (v = h == null ? void 0 : h.shadowRoot) == null ? void 0 : v.querySelector("summary");
|
|
277
279
|
p == null || p.focus();
|
|
278
280
|
};
|
|
279
281
|
}
|
|
@@ -309,8 +311,9 @@ let c = class extends w {
|
|
|
309
311
|
const r = e.target;
|
|
310
312
|
if (!(r instanceof HTMLSlotElement)) return;
|
|
311
313
|
const o = r.assignedElements().filter((t) => t.tagName.toLowerCase() !== "hx-accordion-item");
|
|
312
|
-
o.length > 0 &&
|
|
313
|
-
|
|
314
|
+
o.length > 0 && A(
|
|
315
|
+
"hx-accordion",
|
|
316
|
+
`Default slot expects <hx-accordion-item> elements. Found unexpected: ${o.map((t) => `<${t.tagName.toLowerCase()}>`).join(", ")}`
|
|
314
317
|
);
|
|
315
318
|
}
|
|
316
319
|
// ─── Render ───
|
|
@@ -322,15 +325,15 @@ let c = class extends w {
|
|
|
322
325
|
`;
|
|
323
326
|
}
|
|
324
327
|
};
|
|
325
|
-
c.styles = [k,
|
|
326
|
-
|
|
328
|
+
c.styles = [k, I];
|
|
329
|
+
$([
|
|
327
330
|
m({ type: String, reflect: !0 })
|
|
328
331
|
], c.prototype, "mode", 2);
|
|
329
|
-
c =
|
|
332
|
+
c = $([
|
|
330
333
|
E("hx-accordion")
|
|
331
334
|
], c);
|
|
332
335
|
export {
|
|
333
336
|
c as H,
|
|
334
|
-
|
|
337
|
+
s as a
|
|
335
338
|
};
|
|
336
|
-
//# sourceMappingURL=hx-accordion-
|
|
339
|
+
//# sourceMappingURL=hx-accordion-Cyswa6J3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hx-accordion-Cyswa6J3.js","sources":["../../src/components/hx-accordion/hx-accordion.styles.ts","../../src/components/hx-accordion/hx-accordion-item.styles.ts","../../src/components/hx-accordion/hx-accordion-item.ts","../../src/components/hx-accordion/hx-accordion.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const helixAccordionStyles = css`\n :host {\n display: block;\n font-family: var(--hx-font-family-sans, sans-serif);\n }\n\n .accordion {\n border-radius: var(--hx-accordion-border-radius, var(--hx-border-radius-md, 0.375rem));\n overflow: hidden;\n }\n`;\n","import { css } from 'lit';\n\nexport const helixAccordionItemStyles = css`\n :host {\n display: block;\n }\n\n .item {\n border-bottom: var(--hx-border-width-thin, 1px) solid\n var(--hx-accordion-border-color, var(--hx-color-neutral-200, #dee2e6));\n font-family: var(--hx-font-family-sans, sans-serif);\n }\n\n :host(:first-child) .item {\n border-top: var(--hx-border-width-thin, 1px) solid\n var(--hx-accordion-border-color, var(--hx-color-neutral-200, #dee2e6));\n }\n\n /* Remove native details marker */\n .trigger {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--hx-space-3, 0.75rem);\n padding: var(--hx-accordion-trigger-padding, var(--hx-space-4, 1rem));\n cursor: pointer;\n list-style: none;\n font-size: var(--hx-font-size-md, 1rem);\n font-weight: var(--hx-font-weight-semibold, 600);\n color: var(--hx-accordion-trigger-color, var(--hx-color-neutral-800, #212529));\n background-color: var(--hx-accordion-trigger-bg, transparent);\n user-select: none;\n transition: background-color var(--hx-transition-fast, 150ms ease);\n }\n\n /* Hide the native details disclosure triangle */\n .trigger::-webkit-details-marker {\n display: none;\n }\n\n .trigger::marker {\n display: none;\n }\n\n .item--disabled .trigger {\n cursor: not-allowed;\n }\n\n :host(:not([disabled])) .trigger:hover {\n background-color: var(--hx-accordion-trigger-hover-bg, var(--hx-color-neutral-50, #f8f9fa));\n }\n\n .trigger:focus-visible {\n outline: var(--hx-focus-ring-width, 2px) solid\n var(--hx-focus-ring-color, var(--hx-color-primary-500, #2563eb));\n outline-offset: var(--hx-focus-ring-offset, -2px);\n }\n\n /* ─── Icon ─── */\n\n .icon {\n flex-shrink: 0;\n width: 1.25rem;\n height: 1.25rem;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--hx-accordion-icon-color, var(--hx-color-neutral-500, #6c757d));\n transition: transform var(--hx-transition-normal, 250ms ease);\n }\n\n .item--expanded .icon {\n transform: rotate(180deg);\n }\n\n /* ─── Content animation via CSS grid trick ─── */\n\n .content-wrapper {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows var(--hx-transition-normal, 250ms ease);\n overflow: hidden;\n }\n\n .item--expanded .content-wrapper,\n details[open]:not(.item--expanded) .content-wrapper {\n grid-template-rows: 1fr;\n }\n\n .content-inner {\n overflow: hidden;\n }\n\n .content {\n padding: var(--hx-accordion-content-padding, 0 var(--hx-space-4, 1rem) var(--hx-space-4, 1rem));\n font-size: var(--hx-font-size-md, 1rem);\n line-height: var(--hx-line-height-normal, 1.5);\n color: var(--hx-accordion-content-color, var(--hx-color-neutral-600, #495057));\n }\n\n /* ─── Disabled host ─── */\n\n :host([disabled]) {\n pointer-events: none;\n opacity: 0.5;\n }\n\n /* ─── Reduced motion ─── */\n\n @media (prefers-reduced-motion: reduce) {\n .trigger {\n transition: none;\n }\n\n .icon {\n transition: none;\n }\n\n .content-wrapper {\n transition: none;\n }\n }\n`;\n","import { LitElement, html, svg, nothing } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { tokenStyles } from '@helixui/tokens/lit';\nimport { helixAccordionItemStyles } from './hx-accordion-item.styles.js';\n\nconst chevronIcon = svg`\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <polyline points=\"6 9 12 15 18 9\"></polyline>\n </svg>\n`;\n\n/**\n * An individual accordion item with collapsible content.\n *\n * @summary Collapsible panel that can be expanded or collapsed.\n *\n * @tag hx-accordion-item\n *\n * @slot trigger - The heading/trigger content for this item.\n * @slot - Default slot for the collapsible body content.\n *\n * @fires {CustomEvent<{expanded: boolean, itemId: string}>} hx-expand - Dispatched when the item is expanded.\n * @fires {CustomEvent<{expanded: boolean, itemId: string}>} hx-collapse - Dispatched when the item is collapsed.\n *\n * @csspart item - The outer details element container.\n * @csspart trigger - The summary/trigger element.\n * @csspart content - The collapsible content area.\n * @csspart icon - The expand/collapse icon.\n *\n * @cssprop [--hx-accordion-border-color=var(--hx-color-neutral-200)] - Border color between items.\n * @cssprop [--hx-accordion-trigger-padding=var(--hx-space-4)] - Trigger padding.\n * @cssprop [--hx-accordion-trigger-color=var(--hx-color-neutral-800)] - Trigger text color.\n * @cssprop [--hx-accordion-trigger-bg=transparent] - Trigger background color.\n * @cssprop [--hx-accordion-trigger-hover-bg=var(--hx-color-neutral-50)] - Trigger hover background.\n * @cssprop [--hx-accordion-icon-color=var(--hx-color-neutral-500)] - Icon color.\n * @cssprop [--hx-accordion-content-padding=0 var(--hx-space-4) var(--hx-space-4)] - Content padding.\n * @cssprop [--hx-accordion-content-color=var(--hx-color-neutral-600)] - Content text color.\n */\n@customElement('hx-accordion-item')\nexport class HelixAccordionItem extends LitElement {\n static override styles = [tokenStyles, helixAccordionItemStyles];\n\n private static _counter = 0;\n private _uid = `hx-accordion-item-${++HelixAccordionItem._counter}`;\n\n /**\n * Whether this item is expanded.\n * @attr expanded\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * Whether this item is disabled (cannot be toggled).\n * @attr disabled\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n // ─── Toggle Logic ───\n\n private _toggle(): void {\n if (this.disabled) return;\n\n const willExpand = !this.expanded;\n this.expanded = willExpand;\n\n this._dispatchToggleEvent(willExpand);\n }\n\n _dispatchToggleEvent(expanded: boolean): void {\n const detail = { expanded, itemId: this.id || '' };\n const options = { bubbles: true, composed: true, detail };\n\n if (expanded) {\n this.dispatchEvent(new CustomEvent('hx-expand', options));\n } else {\n this.dispatchEvent(new CustomEvent('hx-collapse', options));\n }\n }\n\n // ─── Event Handlers ───\n\n private _handleSummaryClick(e: MouseEvent): void {\n e.preventDefault();\n this._toggle();\n }\n\n private _handleKeyDown(e: KeyboardEvent): void {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n this._toggle();\n }\n }\n\n // ─── Render ───\n\n override render() {\n const itemClasses = {\n item: true,\n 'item--expanded': this.expanded,\n 'item--disabled': this.disabled,\n };\n\n return html`\n <details part=\"item\" class=${classMap(itemClasses)} ?open=${this.expanded}>\n <summary\n id=${`${this._uid}-trigger`}\n part=\"trigger\"\n class=\"trigger\"\n tabindex=${this.disabled ? '-1' : '0'}\n aria-expanded=${this.expanded ? 'true' : 'false'}\n aria-disabled=${this.disabled ? 'true' : 'false'}\n aria-controls=${`${this._uid}-content`}\n @click=${this._handleSummaryClick}\n @keydown=${this._handleKeyDown}\n >\n <slot name=\"trigger\"></slot>\n <span part=\"icon\" class=\"icon\">${chevronIcon}</span>\n </summary>\n <div class=\"content-wrapper\">\n <div class=\"content-inner\">\n <div\n id=${`${this._uid}-content`}\n part=\"content\"\n class=\"content\"\n role=\"region\"\n aria-labelledby=${`${this._uid}-trigger`}\n aria-hidden=${this.expanded ? nothing : 'true'}\n >\n <slot></slot>\n </div>\n </div>\n </div>\n </details>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'hx-accordion-item': HelixAccordionItem;\n }\n}\n","import { LitElement, html } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { tokenStyles } from '@helixui/tokens/lit';\nimport { helixAccordionStyles } from './hx-accordion.styles.js';\nimport './hx-accordion-item.js';\nimport type { HelixAccordionItem } from './hx-accordion-item.js';\nimport { devWarn } from '../../utils/dev-warn.js';\n\n/**\n * An accordion container that manages collapsible content sections.\n *\n * @summary Collapsible content sections with single or multi-expand modes.\n *\n * @tag hx-accordion\n *\n * @slot - Default slot for hx-accordion-item elements.\n *\n * @csspart accordion - The outer container wrapping all accordion items.\n *\n * @cssprop [--hx-accordion-border-radius=var(--hx-border-radius-md)] - Outer border radius.\n *\n * @example\n * ```html\n * <hx-accordion mode=\"single\">\n * <hx-accordion-item>\n * <span slot=\"trigger\">What is this?</span>\n * <p>Answer content here.</p>\n * </hx-accordion-item>\n * </hx-accordion>\n * ```\n */\n@customElement('hx-accordion')\nexport class HelixAccordion extends LitElement {\n static override styles = [tokenStyles, helixAccordionStyles];\n\n /**\n * Expansion mode: 'single' collapses all other items when one expands.\n * 'multi' allows multiple items open simultaneously.\n * @attr mode\n */\n @property({ type: String, reflect: true })\n mode: 'single' | 'multi' = 'single';\n\n // ─── Lifecycle ───\n\n override connectedCallback(): void {\n super.connectedCallback();\n this.addEventListener('hx-expand', this._handleChildExpand);\n this.addEventListener('keydown', this._handleKeyDown);\n }\n\n override disconnectedCallback(): void {\n super.disconnectedCallback();\n this.removeEventListener('hx-expand', this._handleChildExpand);\n this.removeEventListener('keydown', this._handleKeyDown);\n }\n\n protected override firstUpdated(): void {\n this._enforceSingleMode();\n }\n\n // ─── Single-expand coordination ───\n\n private _enforceSingleMode(): void {\n if (this.mode !== 'single') return;\n\n const items = this.querySelectorAll<HelixAccordionItem>('hx-accordion-item');\n let foundExpanded = false;\n\n items.forEach((item) => {\n if (item.expanded) {\n if (foundExpanded) {\n item.expanded = false;\n } else {\n foundExpanded = true;\n }\n }\n });\n }\n\n /**\n * Handles expand events from child accordion items to enforce single-expand mode.\n * @internal\n */\n private _handleChildExpand = (e: Event): void => {\n if (this.mode !== 'single') return;\n\n const expandedItem = e.composedPath()[0] as HelixAccordionItem;\n const items = this.querySelectorAll<HelixAccordionItem>('hx-accordion-item');\n\n items.forEach((item) => {\n if (item !== expandedItem && item.expanded) {\n item.expanded = false;\n item._dispatchToggleEvent(false);\n }\n });\n };\n\n // ─── Arrow key navigation (ARIA APG Accordion pattern) ───\n\n /**\n * Handles keyboard navigation between accordion triggers using arrow, Home, and End keys.\n * @internal\n */\n private _handleKeyDown = (e: KeyboardEvent): void => {\n const triggers = this._getTriggers();\n if (triggers.length === 0) return;\n\n const activeEl = this.shadowRoot?.activeElement ?? document.activeElement;\n let currentItem: HelixAccordionItem | null = null;\n\n const items = Array.from(this.querySelectorAll<HelixAccordionItem>('hx-accordion-item'));\n for (const item of items) {\n const summary = item.shadowRoot?.querySelector('summary');\n if (summary === activeEl || item.shadowRoot?.activeElement === summary) {\n currentItem = item;\n break;\n }\n }\n\n if (!currentItem) return;\n\n const enabledItems = items.filter((item) => !item.disabled);\n const currentIndex = enabledItems.indexOf(currentItem);\n if (currentIndex === -1) return;\n\n let targetIndex = -1;\n\n switch (e.key) {\n case 'ArrowDown':\n targetIndex = (currentIndex + 1) % enabledItems.length;\n break;\n case 'ArrowUp':\n targetIndex = (currentIndex - 1 + enabledItems.length) % enabledItems.length;\n break;\n case 'Home':\n targetIndex = 0;\n break;\n case 'End':\n targetIndex = enabledItems.length - 1;\n break;\n default:\n return;\n }\n\n e.preventDefault();\n const targetItem = enabledItems[targetIndex];\n const targetSummary = targetItem?.shadowRoot?.querySelector('summary');\n targetSummary?.focus();\n };\n\n private _getTriggers(): HTMLElement[] {\n const items = this.querySelectorAll<HelixAccordionItem>('hx-accordion-item');\n const triggers: HTMLElement[] = [];\n items.forEach((item) => {\n const summary = item.shadowRoot?.querySelector<HTMLElement>('summary');\n if (summary) triggers.push(summary);\n });\n return triggers;\n }\n\n // ─── Slot validation ───\n\n private _handleSlotChange(e: Event): void {\n const slot = e.target;\n if (!(slot instanceof HTMLSlotElement)) return;\n const invalid = slot\n .assignedElements()\n .filter((el) => el.tagName.toLowerCase() !== 'hx-accordion-item');\n if (invalid.length > 0) {\n devWarn(\n 'hx-accordion',\n `Default slot expects <hx-accordion-item> elements. Found unexpected: ${invalid.map((el) => `<${el.tagName.toLowerCase()}>`).join(', ')}`,\n );\n }\n }\n\n // ─── Render ───\n\n override render() {\n return html`\n <div part=\"accordion\" class=\"accordion\">\n <slot @slotchange=${this._handleSlotChange}></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'hx-accordion': HelixAccordion;\n }\n}\n"],"names":["helixAccordionStyles","css","helixAccordionItemStyles","chevronIcon","svg","HelixAccordionItem","LitElement","willExpand","expanded","options","itemClasses","html","classMap","nothing","tokenStyles","__decorateClass","property","customElement","HelixAccordion","expandedItem","item","activeEl","_a","currentItem","items","summary","_b","_c","enabledItems","currentIndex","targetIndex","targetItem","targetSummary","_d","foundExpanded","triggers","slot","invalid","el","devWarn"],"mappings":";;;;;AAEO,MAAMA,IAAuBC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCAvBC,IAA2BD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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