@helixui/library 0.3.4 → 1.0.1
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 +7076 -5902
- package/dist/components/hx-accordion/hx-accordion-item.d.ts +22 -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 +12 -5
- 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-avatar/hx-avatar.d.ts.map +1 -1
- package/dist/components/hx-avatar/index.js +1 -1
- package/dist/components/hx-badge/hx-badge.d.ts +2 -0
- package/dist/components/hx-badge/hx-badge.d.ts.map +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 +105 -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-item.styles.d.ts.map +1 -1
- 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 +17 -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/hx-carousel.styles.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/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 +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 +47 -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/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.map +1 -1
- package/dist/components/hx-dialog/hx-dialog.styles.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/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 +20 -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 +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/hx-file-upload.styles.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/hx-icon-button.styles.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-item.d.ts +1 -0
- package/dist/components/hx-menu/hx-menu-item.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu.d.ts +13 -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 +3 -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-nav/hx-nav.d.ts +15 -1
- package/dist/components/hx-nav/hx-nav.d.ts.map +1 -1
- package/dist/components/hx-nav/hx-nav.styles.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/hx-overflow-menu.styles.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/hx-pagination.styles.d.ts.map +1 -1
- package/dist/components/hx-pagination/index.js +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +43 -39
- package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
- package/dist/components/hx-popover/hx-popover.styles.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 +12 -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/hx-radio.styles.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/hx-select.styles.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 +44 -0
- package/dist/components/hx-split-panel/hx-split-panel.d.ts.map +1 -1
- package/dist/components/hx-split-panel/hx-split-panel.styles.d.ts.map +1 -1
- package/dist/components/hx-split-panel/index.js +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-tag/hx-tag.d.ts +2 -0
- package/dist/components/hx-tag/hx-tag.d.ts.map +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-text-input/hx-text-input.d.ts +2 -1
- 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 +83 -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 +10 -52
- package/dist/components/hx-toast/hx-toast.d.ts.map +1 -1
- package/dist/components/hx-toast/hx-toast.styles.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 +61 -1
- package/dist/components/hx-tree-view/hx-tree-item.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.styles.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.d.ts +16 -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 +169 -155
- 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-DT8qHOay.js} +73 -53
- package/dist/shared/hx-accordion-DT8qHOay.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-D6uok29t.js} +95 -28
- package/dist/shared/hx-alert-D6uok29t.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-badge-CjT0d8NK.js → hx-badge-BeuWuUj_.js} +57 -31
- package/dist/shared/hx-badge-BeuWuUj_.js.map +1 -0
- package/dist/shared/hx-banner-DnCBJtRR.js +353 -0
- package/dist/shared/hx-banner-DnCBJtRR.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-DtSxRZ_W.js → hx-breadcrumb-item-Bj2UqhzR.js} +54 -48
- package/dist/shared/hx-breadcrumb-item-Bj2UqhzR.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-B9j2SHyI.js} +26 -22
- package/dist/shared/hx-card-B9j2SHyI.js.map +1 -0
- package/dist/shared/{hx-carousel-item-C2yBnM0r.js → hx-carousel-item-Be0bC-7o.js} +150 -98
- package/dist/shared/hx-carousel-item-Be0bC-7o.js.map +1 -0
- package/dist/shared/{hx-checkbox-BMayOpAM.js → hx-checkbox-CuaJqEo7.js} +3 -1
- package/dist/shared/hx-checkbox-CuaJqEo7.js.map +1 -0
- 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-DBwIjl5p.js} +71 -59
- package/dist/shared/hx-code-snippet-DBwIjl5p.js.map +1 -0
- package/dist/shared/{hx-color-picker-K2x_dyeG.js → hx-color-picker-Bb2UPVc3.js} +101 -91
- package/dist/shared/hx-color-picker-Bb2UPVc3.js.map +1 -0
- package/dist/shared/{hx-combobox-DjMigccw.js → hx-combobox-CNvY-es8.js} +104 -65
- package/dist/shared/hx-combobox-CNvY-es8.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-BwoJCFgs.js} +102 -96
- package/dist/shared/hx-data-table-BwoJCFgs.js.map +1 -0
- package/dist/shared/{hx-date-picker-CIHwx9b3.js → hx-date-picker-DDcIBJir.js} +58 -47
- package/dist/shared/hx-date-picker-DDcIBJir.js.map +1 -0
- package/dist/shared/{hx-dialog-e4CSD8xX.js → hx-dialog-M7so0sRT.js} +33 -25
- package/dist/shared/hx-dialog-M7so0sRT.js.map +1 -0
- package/dist/shared/hx-divider-XgWIz4Mr.js.map +1 -1
- package/dist/shared/{hx-drawer-bTF0nbrg.js → hx-drawer-CYxuhIQ0.js} +53 -45
- package/dist/shared/hx-drawer-CYxuhIQ0.js.map +1 -0
- package/dist/shared/{hx-dropdown-DnjLnkTj.js → hx-dropdown-7cfowTWv.js} +30 -30
- package/dist/shared/hx-dropdown-7cfowTWv.js.map +1 -0
- 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-9HbONfqt.js} +63 -54
- package/dist/shared/hx-file-upload-9HbONfqt.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-iu0i_faq.js} +40 -32
- package/dist/shared/hx-icon-button-iu0i_faq.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-DR8klkFT.js} +46 -38
- package/dist/shared/hx-menu-divider-DR8klkFT.js.map +1 -0
- package/dist/shared/{hx-meter-qcXl0zCL.js → hx-meter-CZ7lnMra.js} +87 -49
- package/dist/shared/hx-meter-CZ7lnMra.js.map +1 -0
- package/dist/shared/{hx-nav-CWwByFdq.js → hx-nav-DM6-cGKF.js} +97 -95
- package/dist/shared/hx-nav-DM6-cGKF.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-CobkjAb8.js} +50 -37
- package/dist/shared/hx-overflow-menu-CobkjAb8.js.map +1 -0
- package/dist/shared/{hx-pagination-DNFgXQm3.js → hx-pagination-10dpXS95.js} +74 -69
- package/dist/shared/hx-pagination-10dpXS95.js.map +1 -0
- package/dist/shared/hx-popover-ULjonbaO.js +269 -0
- package/dist/shared/hx-popover-ULjonbaO.js.map +1 -0
- package/dist/shared/{hx-progress-bar-b3_m1hna.js → hx-progress-bar-CnTibV63.js} +69 -50
- package/dist/shared/hx-progress-bar-CnTibV63.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-BnKcRuQu.js} +46 -12
- package/dist/shared/hx-radio-BnKcRuQu.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-C50lD7NS.js} +19 -12
- package/dist/shared/hx-select-C50lD7NS.js.map +1 -0
- package/dist/shared/{hx-slider-Duzmuid9.js → hx-slider-CprSNrRi.js} +11 -6
- package/dist/shared/hx-slider-CprSNrRi.js.map +1 -0
- package/dist/shared/{hx-split-button-DhncgAtZ.js → hx-split-button-CHGy4FUc.js} +19 -18
- package/dist/shared/hx-split-button-CHGy4FUc.js.map +1 -0
- package/dist/shared/{hx-split-panel-Cxkeauwe.js → hx-split-panel-DYtB45Tr.js} +16 -8
- package/dist/shared/hx-split-panel-DYtB45Tr.js.map +1 -0
- 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-BRNcLICw.js} +129 -120
- package/dist/shared/hx-tab-panel-BRNcLICw.js.map +1 -0
- package/dist/shared/{hx-tag-SJJtMlOS.js → hx-tag-B3N-vZ6B.js} +80 -55
- package/dist/shared/hx-tag-B3N-vZ6B.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-CCZZbWQ9.js} +10 -6
- package/dist/shared/hx-text-input-CCZZbWQ9.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-CJcIjH3C.js} +65 -54
- package/dist/shared/hx-time-picker-CJcIjH3C.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-D2bQpns3.js} +43 -30
- package/dist/shared/{hx-top-nav-8lDKNZUj.js.map → hx-top-nav-D2bQpns3.js.map} +1 -1
- package/dist/shared/{hx-tree-item-Cesh_du5.js → hx-tree-item-BobGN76x.js} +202 -120
- package/dist/shared/hx-tree-item-BobGN76x.js.map +1 -0
- package/dist/shared/{hx-toast-ikwh9Y03.js → toast-factory-MvMMreTu.js} +181 -94
- package/dist/shared/toast-factory-MvMMreTu.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-badge-CjT0d8NK.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-BMayOpAM.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-dropdown-DnjLnkTj.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 +0 -226
- 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-slider-Duzmuid9.js.map +0 -1
- package/dist/shared/hx-split-button-DhncgAtZ.js.map +0 -1
- package/dist/shared/hx-split-panel-Cxkeauwe.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-tag-SJJtMlOS.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
|
@@ -8,7 +8,7 @@ import { LitElement } from 'lit';
|
|
|
8
8
|
* @tag hx-time-picker
|
|
9
9
|
*
|
|
10
10
|
* @slot label - Custom label content; overrides the rendered label element when used.
|
|
11
|
-
* @slot help - Help text displayed below the field.
|
|
11
|
+
* @slot help-text - Help text displayed below the field.
|
|
12
12
|
* @slot error - Custom error content; overrides the `error` property.
|
|
13
13
|
*
|
|
14
14
|
* @fires {CustomEvent<{value: string}>} hx-change - Dispatched when the selected time changes. Detail value is HH:MM (24h).
|
|
@@ -39,7 +39,15 @@ import { LitElement } from 'lit';
|
|
|
39
39
|
*/
|
|
40
40
|
export declare class HelixTimePicker extends LitElement {
|
|
41
41
|
static styles: import('lit').CSSResult[];
|
|
42
|
+
/**
|
|
43
|
+
* Declares this element as form-associated so it participates in native form submission.
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
42
46
|
static formAssociated: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* ElementInternals instance used for form participation and constraint validation.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
43
51
|
private readonly _internals;
|
|
44
52
|
constructor();
|
|
45
53
|
/**
|
|
@@ -92,22 +100,95 @@ export declare class HelixTimePicker extends LitElement {
|
|
|
92
100
|
* @attr format
|
|
93
101
|
*/
|
|
94
102
|
format: '12h' | '24h';
|
|
103
|
+
/**
|
|
104
|
+
* Whether the dropdown listbox is currently open.
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
95
107
|
private _open;
|
|
108
|
+
/**
|
|
109
|
+
* Index of the currently keyboard-active option in the listbox; -1 when none is active.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
96
112
|
private _activeIndex;
|
|
113
|
+
/**
|
|
114
|
+
* The display string shown in the text input, formatted according to the current `format` property.
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
97
117
|
private _inputDisplayValue;
|
|
118
|
+
/**
|
|
119
|
+
* Whether the label slot has slotted content assigned to it.
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
98
122
|
private _hasLabelSlot;
|
|
123
|
+
/**
|
|
124
|
+
* Whether the error slot has slotted content assigned to it.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
99
127
|
private _hasErrorSlot;
|
|
128
|
+
/**
|
|
129
|
+
* Whether the help-text slot has slotted content assigned to it.
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
private _hasHelpSlot;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the slotted label element, used for aria-labelledby cross-root linking.
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
100
137
|
private _slottedLabelId;
|
|
138
|
+
/**
|
|
139
|
+
* Monotonically incrementing counter used to generate unique element IDs across instances.
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
101
142
|
private static _instanceCount;
|
|
143
|
+
/**
|
|
144
|
+
* Unique ID for this component instance, used as the input element's `id` attribute.
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
102
147
|
private readonly _id;
|
|
148
|
+
/**
|
|
149
|
+
* Unique ID for the listbox element, referenced by `aria-controls` on the combobox input.
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
103
152
|
private readonly _listboxId;
|
|
153
|
+
/**
|
|
154
|
+
* Unique ID for the error message element, referenced by `aria-describedby` on the input.
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
104
157
|
private readonly _errorId;
|
|
158
|
+
/**
|
|
159
|
+
* Unique ID for the help text element, referenced by `aria-describedby` on the input.
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
105
162
|
private readonly _helpId;
|
|
163
|
+
/**
|
|
164
|
+
* Reference to the text input element inside the shadow DOM.
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
106
167
|
private _inputEl;
|
|
168
|
+
/**
|
|
169
|
+
* Reference to the listbox `<ul>` element inside the shadow DOM.
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
107
172
|
private _listboxEl;
|
|
173
|
+
/**
|
|
174
|
+
* Memoized array of generated time slots; null until first access.
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
108
177
|
private _cachedSlots;
|
|
178
|
+
/**
|
|
179
|
+
* Cache key composed of min, max, step, and format; used to detect when slots must be regenerated.
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
109
182
|
private _slotsKey;
|
|
183
|
+
/**
|
|
184
|
+
* Lazily generates and caches the list of time slots based on current min, max, step, and format.
|
|
185
|
+
* @internal
|
|
186
|
+
*/
|
|
110
187
|
private get _slots();
|
|
188
|
+
/**
|
|
189
|
+
* Closes the listbox when a click is detected outside the component; bound for stable add/removeEventListener calls.
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
111
192
|
private readonly _handleOutsideClick;
|
|
112
193
|
connectedCallback(): void;
|
|
113
194
|
disconnectedCallback(): void;
|
|
@@ -132,6 +213,7 @@ export declare class HelixTimePicker extends LitElement {
|
|
|
132
213
|
private _selectSlot;
|
|
133
214
|
private _handleLabelSlotChange;
|
|
134
215
|
private _handleErrorSlotChange;
|
|
216
|
+
private _handleHelpSlotChange;
|
|
135
217
|
private _dispatchChange;
|
|
136
218
|
private _handleInputClick;
|
|
137
219
|
private _handleToggleClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAiIhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBACa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,MAAM,4BAAwC;IAI9D,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;;IAS9C;;;OAGG;IAEH,IAAI,SAAM;IAEV;;;OAGG;IAEH,KAAK,SAAM;IAEX;;;OAGG;IAEH,GAAG,SAAW;IAEd;;;OAGG;IAEH,GAAG,SAAW;IAEd;;;OAGG;IAEH,IAAI,SAAM;IAEV;;;OAGG;IAEH,KAAK,SAAM;IAEX;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,KAAK,SAAM;IAEX;;;OAGG;IAEH,MAAM,EAAE,KAAK,GAAG,KAAK,CAAS;
|
|
1
|
+
{"version":3,"file":"hx-time-picker.d.ts","sourceRoot":"","sources":["../../../src/components/hx-time-picker/hx-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAiIhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBACa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,MAAM,4BAAwC;IAI9D;;;OAGG;IACH,MAAM,CAAC,cAAc,UAAQ;IAE7B;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;;IAS9C;;;OAGG;IAEH,IAAI,SAAM;IAEV;;;OAGG;IAEH,KAAK,SAAM;IAEX;;;OAGG;IAEH,GAAG,SAAW;IAEd;;;OAGG;IAEH,GAAG,SAAW;IAEd;;;OAGG;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| 'bottom-center' | 'bottom-end';
|
|
3
|
+
/**
|
|
4
|
+
* A fixed-position container that stacks `hx-toast` elements at the specified
|
|
5
|
+
* corner of the viewport. Enforces a maximum visible toast count via `stack-limit`.
|
|
6
|
+
*
|
|
7
|
+
* @summary Toast stack container managing position and count limits.
|
|
8
|
+
*
|
|
9
|
+
* @tag hx-toast-stack
|
|
10
|
+
*
|
|
11
|
+
* @slot - Accepts `hx-toast` elements.
|
|
12
|
+
*
|
|
13
|
+
* @csspart base - The inner stack container div.
|
|
14
|
+
*
|
|
15
|
+
* @cssprop [--hx-z-index-toast=9000] - Z-index for the fixed stack.
|
|
16
|
+
*/
|
|
17
|
+
export declare class HelixToastStack extends LitElement {
|
|
18
|
+
static styles: import('lit').CSSResult[];
|
|
19
|
+
/**
|
|
20
|
+
* Corner of the viewport where toasts appear.
|
|
21
|
+
* @attr placement
|
|
22
|
+
*/
|
|
23
|
+
placement: ToastStackPlacement;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum number of simultaneously visible toasts. 0 = unlimited.
|
|
26
|
+
* @attr stack-limit
|
|
27
|
+
*/
|
|
28
|
+
stackLimit: number;
|
|
29
|
+
render(): import('lit').TemplateResult<1>;
|
|
30
|
+
}
|
|
31
|
+
declare global {
|
|
32
|
+
interface HTMLElementTagNameMap {
|
|
33
|
+
'hx-toast-stack': HelixToastStack;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=hx-toast-stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hx-toast-stack.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast-stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,MAAM,MAAM,mBAAmB,GAC3B,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,CAAC;AAEjB;;;;;;;;;;;;;GAaG;AACH,qBACa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,MAAM,4BAAwC;IAE9D;;;OAGG;IAEH,SAAS,EAAE,mBAAmB,CAAgB;IAE9C;;;OAGG;IAEH,UAAU,SAAK;IAEN,MAAM;CAahB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,eAAe,CAAC;KACnC;CACF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
export type ToastVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
-
export type ToastStackPlacement = 'top-start' | 'top-center' | 'top-end' | 'bottom-start' | 'bottom-center' | 'bottom-end';
|
|
4
3
|
/**
|
|
5
4
|
* A transient notification message that auto-dismisses after a configurable duration.
|
|
6
5
|
* Supports multiple visual variants, a closable button, icon/action slots, and full
|
|
@@ -59,6 +58,8 @@ export declare class HelixToast extends LitElement {
|
|
|
59
58
|
closeLabel: string;
|
|
60
59
|
/** @internal */
|
|
61
60
|
private _timer;
|
|
61
|
+
/** @internal Returns true when the user has opted into reduced motion. */
|
|
62
|
+
private get _reducedMotion();
|
|
62
63
|
/** @internal */
|
|
63
64
|
private _timerStartedAt;
|
|
64
65
|
/** @internal */
|
|
@@ -95,62 +96,19 @@ export declare class HelixToast extends LitElement {
|
|
|
95
96
|
private get _role();
|
|
96
97
|
/** @internal */
|
|
97
98
|
private get _ariaLive();
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
* @tag hx-toast-stack
|
|
107
|
-
*
|
|
108
|
-
* @slot - Accepts `hx-toast` elements.
|
|
109
|
-
*
|
|
110
|
-
* @csspart base - The inner stack container div.
|
|
111
|
-
*
|
|
112
|
-
* @cssprop [--hx-z-index-toast=9000] - Z-index for the fixed stack.
|
|
113
|
-
*/
|
|
114
|
-
export declare class HelixToastStack extends LitElement {
|
|
115
|
-
static styles: import('lit').CSSResult[];
|
|
116
|
-
/**
|
|
117
|
-
* Corner of the viewport where toasts appear.
|
|
118
|
-
* @attr placement
|
|
119
|
-
*/
|
|
120
|
-
placement: ToastStackPlacement;
|
|
121
|
-
/**
|
|
122
|
-
* Maximum number of simultaneously visible toasts. 0 = unlimited.
|
|
123
|
-
* @attr stack-limit
|
|
124
|
-
*/
|
|
125
|
-
stackLimit: number;
|
|
99
|
+
private _renderSuccessIcon;
|
|
100
|
+
private _renderWarningIcon;
|
|
101
|
+
private _renderDangerIcon;
|
|
102
|
+
private _renderInfoIcon;
|
|
103
|
+
/** @internal Returns the default icon for the current variant, or nothing for 'default'. */
|
|
104
|
+
private get _defaultIcon();
|
|
105
|
+
private static readonly _SEVERITY_LABELS;
|
|
106
|
+
private get _severityLabel();
|
|
126
107
|
render(): import('lit').TemplateResult<1>;
|
|
127
108
|
}
|
|
128
109
|
declare global {
|
|
129
110
|
interface HTMLElementTagNameMap {
|
|
130
111
|
'hx-toast': HelixToast;
|
|
131
|
-
'hx-toast-stack': HelixToastStack;
|
|
132
112
|
}
|
|
133
113
|
}
|
|
134
|
-
export interface ToastOptions {
|
|
135
|
-
/** The notification message text. */
|
|
136
|
-
message: string;
|
|
137
|
-
/** Visual variant. Defaults to 'default'. */
|
|
138
|
-
variant?: ToastVariant;
|
|
139
|
-
/** Auto-dismiss duration in ms. 0 = persistent. Defaults to 3000. */
|
|
140
|
-
duration?: number;
|
|
141
|
-
/** Placement of the shared stack. Defaults to 'bottom-end'. */
|
|
142
|
-
placement?: ToastStackPlacement;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Imperatively create and display a toast notification.
|
|
146
|
-
*
|
|
147
|
-
* Creates a shared `hx-toast-stack` on `document.body` if one does not exist,
|
|
148
|
-
* then appends a new `hx-toast` with the given options. Respects the stack's
|
|
149
|
-
* `stackLimit` by hiding the oldest visible toast when the limit is exceeded.
|
|
150
|
-
*
|
|
151
|
-
* @example
|
|
152
|
-
* import { toast } from '@helixui/library/components/hx-toast/index.js';
|
|
153
|
-
* toast({ message: 'Patient record saved.', variant: 'success' });
|
|
154
|
-
*/
|
|
155
|
-
export declare function toast(options: ToastOptions): HelixToast;
|
|
156
114
|
//# sourceMappingURL=hx-toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-toast.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAMhD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-toast.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAMhD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBACa,UAAW,SAAQ,UAAU;IACxC,OAAgB,MAAM,4BAAmC;IAIzD;;;OAGG;IAEH,OAAO,EAAE,YAAY,CAAa;IAElC;;;OAGG;IAEH,QAAQ,SAAQ;IAEhB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,IAAI,UAAS;IAEb;;;OAGG;IAEH,UAAU,SAA0B;IAIpC,gBAAgB;IAChB,OAAO,CAAC,MAAM,CAA8C;IAI5D,0EAA0E;IAC1E,OAAO,KAAK,cAAc,GAEzB;IAED,gBAAgB;IAChB,OAAO,CAAC,eAAe,CAAuB;IAE9C,gBAAgB;IAChB,OAAO,CAAC,eAAe,CAAuB;IAIrC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,IAAI;IAgB3D,oBAAoB,IAAI,IAAI;IAOrC,sBAAsB;IACtB,IAAI,IAAI,IAAI;IAMZ,sBAAsB;IACtB,IAAI,IAAI,IAAI;IAQZ,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAUnB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IASnB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAOzB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAMnB,gBAAgB;IAChB,OAAO,CAAC,SAAS;IAIjB,gBAAgB;IAChB,OAAO,CAAC,SAAS;IAsBjB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAIzB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAMzB,gBAAgB;IAChB,OAAO,CAAC,cAAc;IAItB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAMvB,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAMpB,gBAAgB;IAChB,OAAO,KAAK,KAAK,GAEhB;IAED,gBAAgB;IAChB,OAAO,KAAK,SAAS,GAEpB;IAMD,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,eAAe;IASvB,4FAA4F;IAC5F,OAAO,KAAK,YAAY,GAavB;IAID,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAKtC;IAEF,OAAO,KAAK,cAAc,GAEzB;IAIQ,MAAM;CA6DhB;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,UAAU,CAAC;KACxB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-toast.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"hx-toast.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/hx-toast.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAoJ5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,yBAyEjC,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export { HelixToast
|
|
2
|
-
export type { ToastVariant
|
|
1
|
+
export { HelixToast } from './hx-toast.js';
|
|
2
|
+
export type { ToastVariant } from './hx-toast.js';
|
|
3
|
+
export { HelixToastStack } from './hx-toast-stack.js';
|
|
4
|
+
export type { ToastStackPlacement } from './hx-toast-stack.js';
|
|
5
|
+
export { toast } from './toast-factory.js';
|
|
6
|
+
export type { ToastOptions } from './toast-factory.js';
|
|
3
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HelixToast, ToastVariant } from './hx-toast.js';
|
|
2
|
+
import { ToastStackPlacement } from './hx-toast-stack.js';
|
|
3
|
+
export interface ToastOptions {
|
|
4
|
+
/** The notification message text. */
|
|
5
|
+
message: string;
|
|
6
|
+
/** Visual variant. Defaults to 'default'. */
|
|
7
|
+
variant?: ToastVariant;
|
|
8
|
+
/** Auto-dismiss duration in ms. 0 = persistent. Defaults to 3000. */
|
|
9
|
+
duration?: number;
|
|
10
|
+
/** Placement of the shared stack. Defaults to 'bottom-end'. */
|
|
11
|
+
placement?: ToastStackPlacement;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Imperatively create and display a toast notification.
|
|
15
|
+
*
|
|
16
|
+
* Creates a shared `hx-toast-stack` on `document.body` if one does not exist,
|
|
17
|
+
* then appends a new `hx-toast` with the given options. Respects the stack's
|
|
18
|
+
* `stackLimit` by hiding the oldest visible toast when the limit is exceeded.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* import { toast } from '@helixui/library/components/hx-toast/index.js';
|
|
22
|
+
* toast({ message: 'Patient record saved.', variant: 'success' });
|
|
23
|
+
*/
|
|
24
|
+
export declare function toast(options: ToastOptions): HelixToast;
|
|
25
|
+
//# sourceMappingURL=toast-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-factory.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toast/toast-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CA4CvD"}
|
|
@@ -75,6 +75,7 @@ export declare class HelixToggleButton extends LitElement {
|
|
|
75
75
|
label: string | undefined;
|
|
76
76
|
/** Returns the associated form element, if any. */
|
|
77
77
|
get form(): HTMLFormElement | null;
|
|
78
|
+
firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
78
79
|
updated(changedProperties: PropertyValues<this>): void;
|
|
79
80
|
/** Called by the browser when the associated form is reset. */
|
|
80
81
|
formResetCallback(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-toggle-button.d.ts","sourceRoot":"","sources":["../../../src/components/hx-toggle-button/hx-toggle-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAMrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,4BAA0C;IAIhE,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAO,CAAC,UAAU,CAAmB;;IASrC;;;;OAIG;IAEH,OAAO,UAAS;IAEhB;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAAe;IAElF;;;OAGG;IAEH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEhC;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC;;;OAGG;IAEH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IAEtC;;;;OAIG;IAEH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAa;IAItC,mDAAmD;IACnD,IAAI,IAAI,IAAI,eAAe,GAAG,IAAI,CAEjC;IAIQ,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQ/D,+DAA+D;IAC/D,iBAAiB,IAAI,IAAI;IAIzB,sEAAsE;IACtE,wBAAwB,CACtB,KAAK,EAAE,MAA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AAG,IAAI;IAQ/D,+DAA+D;IAC/D,iBAAiB,IAAI,IAAI;IAIzB,sEAAsE;IACtE,wBAAwB,CACtB,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,EACtC,KAAK,EAAE,SAAS,GAAG,cAAc,GAChC,IAAI;IAMP,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAyBpB,OAAO,CAAC,YAAY;IAgBX,MAAM;CAsBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,iBAAiB,CAAC;KACvC;CACF"}
|
|
@@ -1,45 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { Placement } from '@floating-ui/dom';
|
|
3
|
-
/**
|
|
4
|
-
* A tooltip that displays contextual help text on hover or focus.
|
|
5
|
-
*
|
|
6
|
-
* @summary Contextual help text and abbreviations with smart positioning.
|
|
7
|
-
*
|
|
8
|
-
* @tag hx-tooltip
|
|
9
|
-
*
|
|
10
|
-
* @slot - Default slot for the trigger element.
|
|
11
|
-
* @slot content - Tooltip content to display.
|
|
12
|
-
*
|
|
13
|
-
* @csspart tooltip - The tooltip container element.
|
|
14
|
-
* @csspart arrow - The arrow indicator element.
|
|
15
|
-
*
|
|
16
|
-
* @cssprop [--hx-tooltip-bg=var(--hx-color-neutral-900)] - Tooltip background color.
|
|
17
|
-
* @cssprop [--hx-tooltip-color=var(--hx-color-neutral-50)] - Tooltip text color.
|
|
18
|
-
* @cssprop [--hx-tooltip-font-size=var(--hx-font-size-xs)] - Tooltip font size.
|
|
19
|
-
* @cssprop [--hx-tooltip-max-width=280px] - Maximum tooltip width.
|
|
20
|
-
* @cssprop [--hx-tooltip-padding] - Tooltip padding.
|
|
21
|
-
* @cssprop [--hx-tooltip-border-radius=var(--hx-border-radius-sm)] - Tooltip border radius.
|
|
22
|
-
* @cssprop [--hx-tooltip-shadow] - Tooltip box shadow.
|
|
23
|
-
* @cssprop [--hx-tooltip-z-index=9999] - Tooltip z-index.
|
|
24
|
-
* @cssprop [--hx-tooltip-transition-duration=0.15s] - Show/hide transition duration.
|
|
25
|
-
* @cssprop [--hx-tooltip-arrow-size=8px] - Size of the arrow indicator.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```html
|
|
29
|
-
* <hx-tooltip>
|
|
30
|
-
* <button>Hover me</button>
|
|
31
|
-
* <span slot="content">Helpful context here</span>
|
|
32
|
-
* </hx-tooltip>
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @example Drupal/Twig usage
|
|
36
|
-
* ```twig
|
|
37
|
-
* <hx-tooltip>
|
|
38
|
-
* <button type="button">{{ trigger_label }}</button>
|
|
39
|
-
* <span slot="content">{{ tooltip_text }}</span>
|
|
40
|
-
* </hx-tooltip>
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
3
|
export declare class HelixTooltip extends LitElement {
|
|
44
4
|
static styles: import('lit').CSSResult[];
|
|
45
5
|
/**
|
|
@@ -65,11 +25,7 @@ export declare class HelixTooltip extends LitElement {
|
|
|
65
25
|
private _showTimer;
|
|
66
26
|
/** @internal */
|
|
67
27
|
private _hideTimer;
|
|
68
|
-
/**
|
|
69
|
-
* Unique ID for this tooltip instance.
|
|
70
|
-
* Uses crypto.randomUUID() to prevent SSR hydration ID collisions.
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
28
|
+
/** @internal */
|
|
73
29
|
private readonly _tooltipId;
|
|
74
30
|
/**
|
|
75
31
|
* Visually-hidden description element in light DOM.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tooltip/hx-tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAA+C,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tooltip/hx-tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAA+C,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AA6C/F,qBACa,YAAa,SAAQ,UAAU;IAC1C,OAAgB,MAAM,4BAAqC;IAE3D;;;;;OAKG;IAEH,SAAS,EAAE,SAAS,CAAS;IAE7B;;;OAGG;IAEH,SAAS,SAAO;IAEhB;;;OAGG;IAEH,SAAS,SAAO;IAEhB,gBAAgB;IACP,OAAO,CAAC,QAAQ,CAAS;IAElC,gBAAgB;IAChB,OAAO,CAAC,UAAU,CAA8C;IAChE,gBAAgB;IAChB,OAAO,CAAC,UAAU,CAA8C;IAEhE,gBAAgB;IAChB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqC;IAEhE;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB,CAAgC;IAInD,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAQ5B,YAAY,IAAI,IAAI;IAM7B,OAAO,CAAC,iBAAiB;IAmCzB,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,aAAa;YAOP,KAAK;IAMnB,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,YAAY;YAaN,eAAe;IAsC7B,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAMpB;IAEF;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IAcvB,MAAM;CAyBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,YAAY,CAAC;KAC5B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-top-nav.d.ts","sourceRoot":"","sources":["../../../src/components/hx-top-nav/hx-top-nav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,OAAgB,MAAM,4BAAoC;IAI1D;;;OAGG;IAEH,MAAM,UAAS;IAEf;;;OAGG;IAEH,KAAK,SAAqB;IAI1B,6DAA6D;IACpD,OAAO,CAAC,WAAW,CAAS;IAI5B,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAOrC,OAAO,CAAC,mBAAmB;
|
|
1
|
+
{"version":3,"file":"hx-top-nav.d.ts","sourceRoot":"","sources":["../../../src/components/hx-top-nav/hx-top-nav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,OAAgB,MAAM,4BAAoC;IAI1D;;;OAGG;IAEH,MAAM,UAAS;IAEf;;;OAGG;IAEH,KAAK,SAAqB;IAI1B,6DAA6D;IACpD,OAAO,CAAC,WAAW,CAAS;IAI5B,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAOrC,OAAO,CAAC,mBAAmB;IAyC3B,OAAO,CAAC,cAAc,CAapB;IAIF,OAAO,CAAC,oBAAoB;IA4BnB,MAAM;CAwChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,WAAW,CAAC;KAC3B;CACF"}
|
|
@@ -12,7 +12,7 @@ export interface HxTreeItemSelectDetail {
|
|
|
12
12
|
*
|
|
13
13
|
* @tag hx-tree-item
|
|
14
14
|
*
|
|
15
|
-
* @slot - Default slot for the item label content.
|
|
15
|
+
* @slot - Default slot for the item label content. This text is also used to label the children group.
|
|
16
16
|
* @slot icon - Custom icon shown before the label.
|
|
17
17
|
* @slot children - Nested hx-tree-item elements for sub-tree.
|
|
18
18
|
*
|
|
@@ -49,14 +49,41 @@ export declare class HelixTreeItem extends LitElement {
|
|
|
49
49
|
* @attr disabled
|
|
50
50
|
*/
|
|
51
51
|
disabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Tracks whether any elements are assigned to the children slot, controlling expand icon visibility.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
52
56
|
private _hasChildren;
|
|
57
|
+
/**
|
|
58
|
+
* Whether this item is the roving-tabindex active item in the tree.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
private _rovingActive;
|
|
62
|
+
/**
|
|
63
|
+
* Text content from the default slot, used to label the children group for screen readers.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
private _labelText;
|
|
53
67
|
/**
|
|
54
68
|
* Cached ARIA position metadata. Computed once on connect and on slotchange
|
|
55
69
|
* of the parent container, avoiding repeated DOM traversal on every render.
|
|
70
|
+
* @internal
|
|
56
71
|
*/
|
|
57
72
|
private _level;
|
|
73
|
+
/**
|
|
74
|
+
* One-based position of this item within its sibling set, set as aria-posinset.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
58
77
|
private _posInSet;
|
|
78
|
+
/**
|
|
79
|
+
* Total count of sibling hx-tree-item elements at the same level, set as aria-setsize.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
59
82
|
private _setSize;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the owning hx-tree-view supports item selection (single or multiple mode).
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
60
87
|
private _selectable;
|
|
61
88
|
/**
|
|
62
89
|
* Whether this item has slotted children.
|
|
@@ -66,15 +93,48 @@ export declare class HelixTreeItem extends LitElement {
|
|
|
66
93
|
/**
|
|
67
94
|
* Recompute all cached ARIA metadata in a single DOM pass.
|
|
68
95
|
* Called on connect, slotchange, and whenever structural context may change.
|
|
96
|
+
* @internal
|
|
69
97
|
*/
|
|
70
98
|
private _updateAriaMetadata;
|
|
71
99
|
connectedCallback(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Updates _hasChildren and recomputes ARIA metadata when the children slot assignment changes.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
72
104
|
private _handleChildrenSlotChange;
|
|
105
|
+
/**
|
|
106
|
+
* Captures the text content from the default (label) slot for use on the children group label.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private _handleLabelSlotChange;
|
|
110
|
+
/**
|
|
111
|
+
* Toggles the expanded state when the expand/collapse button is clicked, stopping event propagation.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
73
114
|
private _handleExpandClick;
|
|
115
|
+
/**
|
|
116
|
+
* Dispatches the hx-tree-item-select event when the item is activated via click or keyboard.
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
74
119
|
private _handleRowClick;
|
|
120
|
+
/**
|
|
121
|
+
* Handles keyboard interaction for the tree item, including expand/collapse, activation, and delegation of list-navigation keys to the parent tree.
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
75
124
|
private _handleKeyDown;
|
|
125
|
+
/**
|
|
126
|
+
* Sets the roving tabindex state for this item.
|
|
127
|
+
* When `active` is true, the item row gets `tabindex="0"` making it the
|
|
128
|
+
* Tab-reachable item in the tree. All other items should be set to false.
|
|
129
|
+
* Called by the parent hx-tree-view to manage the roving tabindex pattern.
|
|
130
|
+
*/
|
|
131
|
+
setRovingActive(active: boolean): void;
|
|
76
132
|
/** Focus this item's interactive row element. */
|
|
77
133
|
focus(): void;
|
|
134
|
+
/**
|
|
135
|
+
* Renders the expand/collapse chevron button, or a placeholder span when the item has no children.
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
78
138
|
private _renderExpandIcon;
|
|
79
139
|
render(): import('lit').TemplateResult<1>;
|
|
80
140
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tree-item.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tree-view/hx-tree-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MA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yBAAyB;IAMjC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAW9B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAM1B;;;OAGG;IACH,OAAO,CAAC,eAAe;IAWvB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAgCtB;;;;;OAKG;IACH,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAItC,iDAAiD;IACxC,KAAK,IAAI,IAAI;IAOtB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAmBhB,MAAM;CAyChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,aAAa,CAAC;KAC/B;CACF;AAED,oGAAoG;AACpG,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AAEvC,kGAAkG;AAClG,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tree-item.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tree-view/hx-tree-item.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"hx-tree-item.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tree-view/hx-tree-item.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,yBAiL/B,CAAC"}
|
|
@@ -56,6 +56,8 @@ export declare class HelixTreeView extends LitElement {
|
|
|
56
56
|
*/
|
|
57
57
|
selection: TreeSelection;
|
|
58
58
|
private _currentIndex;
|
|
59
|
+
/** Tracks whether the tree has any visible items, to decide the container tabindex. */
|
|
60
|
+
private _hasVisibleItems;
|
|
59
61
|
/**
|
|
60
62
|
* Returns a flat ordered list of all visible (not inside a collapsed item) hx-tree-items
|
|
61
63
|
* in depth-first order.
|
|
@@ -63,10 +65,24 @@ export declare class HelixTreeView extends LitElement {
|
|
|
63
65
|
private _getVisibleItems;
|
|
64
66
|
private _collectVisibleItems;
|
|
65
67
|
private _getSelectedItems;
|
|
68
|
+
/**
|
|
69
|
+
* Updates the roving tabindex across all visible items so that only the
|
|
70
|
+
* item at `activeIndex` has `tabindex="0"`. All others receive `tabindex="-1"`.
|
|
71
|
+
* This is called whenever the active item changes (navigation, initial render).
|
|
72
|
+
*/
|
|
73
|
+
private _updateRovingTabindex;
|
|
66
74
|
private _focusItem;
|
|
67
75
|
private _handleTreeItemSelect;
|
|
68
76
|
private _handleKeyDown;
|
|
69
77
|
private _handleFocusIn;
|
|
78
|
+
/**
|
|
79
|
+
* Initializes the roving tabindex after items are first slotted in.
|
|
80
|
+
* Ensures the active item (index 0 by default) has tabindex="0" from the start,
|
|
81
|
+
* so a Tab into the tree lands directly on the first item without a redirect.
|
|
82
|
+
* Also updates `_hasVisibleItems` so the container tabindex re-renders correctly.
|
|
83
|
+
*/
|
|
84
|
+
private _handleSlotChange;
|
|
85
|
+
firstUpdated(): void;
|
|
70
86
|
render(): import('lit').TemplateResult<1>;
|
|
71
87
|
}
|
|
72
88
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-tree-view.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tree-view/hx-tree-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"hx-tree-view.d.ts","sourceRoot":"","sources":["../../../src/components/hx-tree-view/hx-tree-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,mBAAmB,CAAC;AAG/E,mCAAmC;AACnC,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE3D,6CAA6C;AAC7C,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,IAAI,EAAE,aAAa,CAAC;IACpB,wCAAwC;IACxC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;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