@helixui/library 1.0.1 → 1.1.2-next.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 +6013 -11864
- package/dist/base/helix-element.d.ts +134 -0
- package/dist/base/helix-element.d.ts.map +1 -0
- package/dist/base/id-counter.d.ts +32 -0
- package/dist/base/id-counter.d.ts.map +1 -0
- package/dist/base/index.d.ts +4 -0
- package/dist/base/index.d.ts.map +1 -0
- package/dist/base/styles.d.ts +19 -0
- package/dist/base/styles.d.ts.map +1 -0
- package/dist/components/hx-accordion/hx-accordion-item.d.ts +10 -0
- package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
- package/dist/components/hx-accordion/hx-accordion.d.ts +7 -1
- 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 +12 -2
- 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 +31 -3
- 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 +8 -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 +8 -1
- 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 +25 -4
- package/dist/components/hx-banner/hx-banner.d.ts.map +1 -1
- package/dist/components/hx-banner/hx-banner.styles.d.ts.map +1 -1
- package/dist/components/hx-banner/index.js +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts +24 -4
- 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 +16 -7
- 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 +3 -6
- 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 +14 -7
- package/dist/components/hx-card/hx-card.d.ts.map +1 -1
- package/dist/components/hx-card/index.js +1 -1
- package/dist/components/hx-carousel/hx-carousel-item.d.ts +2 -0
- package/dist/components/hx-carousel/hx-carousel-item.d.ts.map +1 -1
- package/dist/components/hx-carousel/hx-carousel-item.styles.d.ts +2 -0
- package/dist/components/hx-carousel/hx-carousel-item.styles.d.ts.map +1 -0
- package/dist/components/hx-carousel/hx-carousel.d.ts +29 -2
- 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 +34 -18
- 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 +27 -6
- 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-clinical-status/hx-clinical-status.d.ts +126 -0
- package/dist/components/hx-clinical-status/hx-clinical-status.d.ts.map +1 -0
- package/dist/components/hx-clinical-status/hx-clinical-status.styles.d.ts +2 -0
- package/dist/components/hx-clinical-status/hx-clinical-status.styles.d.ts.map +1 -0
- package/dist/components/hx-clinical-status/index.d.ts +3 -0
- package/dist/components/hx-clinical-status/index.d.ts.map +1 -0
- package/dist/components/hx-clinical-status/index.js +5 -0
- package/dist/components/hx-clinical-status/index.js.map +1 -0
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts +10 -0
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/hx-code-snippet.styles.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/index.js +1 -1
- package/dist/components/hx-color-picker/color-utils.d.ts +27 -0
- package/dist/components/hx-color-picker/color-utils.d.ts.map +1 -0
- package/dist/components/hx-color-picker/hx-color-picker.d.ts +84 -4
- 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 +41 -6
- 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/index.js +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.d.ts +17 -1
- 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 +32 -6
- package/dist/components/hx-counter/hx-counter.d.ts.map +1 -1
- package/dist/components/hx-counter/hx-counter.styles.d.ts.map +1 -1
- package/dist/components/hx-counter/index.js +1 -1
- package/dist/components/hx-data-table/hx-data-table.d.ts +27 -2
- 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 +101 -5
- 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 +34 -4
- 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 +4 -1
- package/dist/components/hx-divider/hx-divider.d.ts.map +1 -1
- package/dist/components/hx-divider/index.js +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +28 -10
- 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 +29 -3
- 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 +11 -3
- 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-field-label/hx-field-label.styles.d.ts.map +1 -1
- package/dist/components/hx-field-label/index.js +1 -1
- package/dist/components/hx-file-upload/hx-file-upload.d.ts +39 -3
- 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.map +1 -1
- package/dist/components/hx-form/index.js +1 -1
- package/dist/components/hx-format-date/hx-format-date.d.ts +8 -0
- package/dist/components/hx-format-date/hx-format-date.d.ts.map +1 -1
- package/dist/components/hx-format-date/index.js +1 -1
- package/dist/components/hx-grid/hx-grid.d.ts +14 -12
- package/dist/components/hx-grid/hx-grid.d.ts.map +1 -1
- package/dist/components/hx-grid/index.js +1 -1
- package/dist/components/hx-help-text/index.js +1 -1
- package/dist/components/hx-icon/hx-icon.d.ts +10 -2
- package/dist/components/hx-icon/hx-icon.d.ts.map +1 -1
- package/dist/components/hx-icon/index.js +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.d.ts +12 -0
- 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-image/hx-image.d.ts +8 -0
- package/dist/components/hx-image/hx-image.d.ts.map +1 -1
- package/dist/components/hx-image/index.js +1 -1
- package/dist/components/hx-link/hx-link.d.ts +4 -1
- package/dist/components/hx-link/hx-link.d.ts.map +1 -1
- package/dist/components/hx-link/hx-link.styles.d.ts.map +1 -1
- package/dist/components/hx-link/index.js +1 -1
- package/dist/components/hx-list/hx-list-item.d.ts +8 -2
- package/dist/components/hx-list/hx-list-item.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list-item.styles.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list.d.ts +6 -2
- 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 +11 -0
- package/dist/components/hx-menu/hx-menu-item.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu-item.styles.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu.d.ts +10 -1
- 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 +10 -2
- 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 -0
- 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 +51 -4
- 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 +18 -3
- 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 +38 -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-patient-banner/hx-patient-banner.d.ts +105 -0
- package/dist/components/hx-patient-banner/hx-patient-banner.d.ts.map +1 -0
- package/dist/components/hx-patient-banner/hx-patient-banner.styles.d.ts +2 -0
- package/dist/components/hx-patient-banner/hx-patient-banner.styles.d.ts.map +1 -0
- package/dist/components/hx-patient-banner/index.d.ts +3 -0
- package/dist/components/hx-patient-banner/index.d.ts.map +1 -0
- package/dist/components/hx-patient-banner/index.js +5 -0
- package/dist/components/hx-patient-banner/index.js.map +1 -0
- package/dist/components/hx-phi-field/hx-phi-field.d.ts +72 -0
- package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -0
- package/dist/components/hx-phi-field/hx-phi-field.styles.d.ts +2 -0
- package/dist/components/hx-phi-field/hx-phi-field.styles.d.ts.map +1 -0
- package/dist/components/hx-phi-field/index.d.ts +3 -0
- package/dist/components/hx-phi-field/index.d.ts.map +1 -0
- package/dist/components/hx-phi-field/index.js +5 -0
- package/dist/components/hx-phi-field/index.js.map +1 -0
- package/dist/components/hx-popover/hx-popover.d.ts +77 -10
- 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-popup/hx-popup.d.ts +13 -8
- package/dist/components/hx-popup/hx-popup.d.ts.map +1 -1
- package/dist/components/hx-popup/hx-popup.styles.d.ts.map +1 -1
- package/dist/components/hx-popup/index.js +1 -1
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts +10 -2
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts.map +1 -1
- package/dist/components/hx-progress-bar/hx-progress-bar.styles.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 +8 -2
- 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-prose/hx-prose.d.ts +6 -3
- package/dist/components/hx-prose/hx-prose.d.ts.map +1 -1
- package/dist/components/hx-prose/index.js +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts +3 -7
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.d.ts +4 -2
- 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 +54 -2
- package/dist/components/hx-rating/hx-rating.d.ts.map +1 -1
- package/dist/components/hx-rating/hx-rating.styles.d.ts.map +1 -1
- package/dist/components/hx-rating/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +37 -12
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- package/dist/components/hx-select/hx-select.styles.d.ts.map +1 -1
- package/dist/components/hx-select/index.js +1 -1
- package/dist/components/hx-side-nav/hx-nav-item.d.ts +13 -0
- package/dist/components/hx-side-nav/hx-nav-item.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-nav-item.styles.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-side-nav.d.ts +6 -1
- package/dist/components/hx-side-nav/hx-side-nav.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-side-nav.styles.d.ts.map +1 -1
- package/dist/components/hx-side-nav/index.js +1 -1
- package/dist/components/hx-skeleton/hx-skeleton.d.ts +2 -2
- package/dist/components/hx-skeleton/hx-skeleton.d.ts.map +1 -1
- package/dist/components/hx-slider/hx-slider.d.ts +26 -9
- package/dist/components/hx-slider/hx-slider.d.ts.map +1 -1
- package/dist/components/hx-slider/hx-slider.styles.d.ts.map +1 -1
- package/dist/components/hx-slider/index.js +1 -1
- package/dist/components/hx-spinner/hx-spinner.d.ts +17 -2
- package/dist/components/hx-spinner/hx-spinner.d.ts.map +1 -1
- package/dist/components/hx-spinner/hx-spinner.styles.d.ts.map +1 -1
- package/dist/components/hx-spinner/index.js +1 -1
- package/dist/components/hx-split-button/hx-split-button.d.ts +22 -4
- package/dist/components/hx-split-button/hx-split-button.d.ts.map +1 -1
- package/dist/components/hx-split-button/hx-split-button.styles.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 +32 -2
- 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-stack/index.js +1 -1
- package/dist/components/hx-stat/hx-stat.d.ts +12 -3
- package/dist/components/hx-stat/hx-stat.d.ts.map +1 -1
- package/dist/components/hx-stat/index.js +1 -1
- package/dist/components/hx-status-indicator/hx-status-indicator.d.ts +15 -14
- package/dist/components/hx-status-indicator/hx-status-indicator.d.ts.map +1 -1
- package/dist/components/hx-status-indicator/index.js +1 -1
- package/dist/components/hx-steps/hx-step.d.ts +7 -9
- package/dist/components/hx-steps/hx-step.d.ts.map +1 -1
- package/dist/components/hx-steps/hx-step.styles.d.ts.map +1 -1
- package/dist/components/hx-steps/hx-steps.d.ts +3 -3
- 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 +10 -3
- 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-style-scope/hx-style-scope.d.ts +71 -0
- package/dist/components/hx-style-scope/hx-style-scope.d.ts.map +1 -0
- package/dist/components/hx-style-scope/hx-style-scope.styles.d.ts +10 -0
- package/dist/components/hx-style-scope/hx-style-scope.styles.d.ts.map +1 -0
- package/dist/components/hx-style-scope/index.d.ts +2 -0
- package/dist/components/hx-style-scope/index.d.ts.map +1 -0
- package/dist/components/hx-style-scope/index.js +5 -0
- package/dist/components/hx-style-scope/index.js.map +1 -0
- package/dist/components/hx-switch/hx-switch.d.ts +25 -5
- package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
- package/dist/components/hx-switch/hx-switch.styles.d.ts.map +1 -1
- package/dist/components/hx-switch/index.js +1 -1
- package/dist/components/hx-table/hx-table.d.ts +8 -2
- package/dist/components/hx-table/hx-table.d.ts.map +1 -1
- package/dist/components/hx-table/hx-table.styles.d.ts.map +1 -1
- package/dist/components/hx-table/hx-th.d.ts +4 -0
- package/dist/components/hx-table/hx-th.d.ts.map +1 -1
- package/dist/components/hx-table/index.js +1 -1
- package/dist/components/hx-tabs/hx-tab-panel.styles.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tab.d.ts +4 -0
- package/dist/components/hx-tabs/hx-tab.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tab.styles.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tabs.d.ts +8 -2
- package/dist/components/hx-tabs/hx-tabs.d.ts.map +1 -1
- package/dist/components/hx-tabs/index.js +1 -1
- package/dist/components/hx-tag/hx-tag.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/hx-text.d.ts +1 -0
- package/dist/components/hx-text/hx-text.d.ts.map +1 -1
- package/dist/components/hx-text/index.js +1 -1
- package/dist/components/hx-text-input/hx-text-input.d.ts +22 -16
- package/dist/components/hx-text-input/hx-text-input.d.ts.map +1 -1
- package/dist/components/hx-text-input/hx-text-input.styles.d.ts.map +1 -1
- package/dist/components/hx-text-input/index.js +1 -1
- package/dist/components/hx-textarea/hx-textarea.d.ts +13 -7
- 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-theme/hx-theme.d.ts +84 -5
- package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
- package/dist/components/hx-theme/index.js +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.d.ts +24 -3
- package/dist/components/hx-time-picker/hx-time-picker.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-time-picker/index.js +1 -1
- package/dist/components/hx-toast/hx-toast-stack.d.ts +1 -1
- package/dist/components/hx-toast/hx-toast-stack.d.ts.map +1 -1
- package/dist/components/hx-toast/hx-toast.d.ts +17 -5
- 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.js +1 -1
- package/dist/components/hx-toast/toast-factory.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts +26 -2
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.styles.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.d.ts +58 -2
- 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 +4 -0
- 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 +9 -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 +32 -2
- package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.styles.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/controllers/helix-audit-controller.d.ts +71 -0
- package/dist/controllers/helix-audit-controller.d.ts.map +1 -0
- package/dist/css/helix-all.css +9581 -0
- package/dist/css/helix-core.css +1784 -0
- package/dist/css/helix-data.css +639 -0
- package/dist/css/helix-feedback.css +1239 -0
- package/dist/css/helix-forms.css +2498 -0
- package/dist/css/helix-layout.css +380 -0
- package/dist/css/helix-media.css +213 -0
- package/dist/css/helix-navigation.css +1122 -0
- package/dist/css/helix-overlay.css +643 -0
- package/dist/css/helix-tokens.css +432 -0
- package/dist/css/helix-utility.css +633 -0
- package/dist/css/hx-accordion.css +10 -0
- package/dist/css/hx-action-bar.css +117 -0
- package/dist/css/hx-alert.css +213 -0
- package/dist/css/hx-avatar.css +117 -0
- package/dist/css/hx-badge.css +174 -0
- package/dist/css/hx-banner.css +203 -0
- package/dist/css/hx-breadcrumb.css +36 -0
- package/dist/css/hx-button-group.css +91 -0
- package/dist/css/hx-button.css +262 -0
- package/dist/css/hx-card.css +161 -0
- package/dist/css/hx-carousel.css +211 -0
- package/dist/css/hx-checkbox-group.css +77 -0
- package/dist/css/hx-checkbox.css +219 -0
- package/dist/css/hx-clinical-status.css +246 -0
- package/dist/css/hx-code-snippet.css +179 -0
- package/dist/css/hx-color-picker.css +2 -0
- package/dist/css/hx-combobox.css +2 -0
- package/dist/css/hx-container.css +82 -0
- package/dist/css/hx-copy-button.css +121 -0
- package/dist/css/hx-counter.css +51 -0
- package/dist/css/hx-data-table.css +207 -0
- package/dist/css/hx-date-picker.css +2 -0
- package/dist/css/hx-dialog.css +190 -0
- package/dist/css/hx-divider.css +87 -0
- package/dist/css/hx-drawer.css +262 -0
- package/dist/css/hx-dropdown.css +46 -0
- package/dist/css/hx-field-label.css +38 -0
- package/dist/css/hx-field.css +119 -0
- package/dist/css/hx-file-upload.css +241 -0
- package/dist/css/hx-form.css +2 -0
- package/dist/css/hx-format-date.css +10 -0
- package/dist/css/hx-grid.css +14 -0
- package/dist/css/hx-help-text.css +50 -0
- package/dist/css/hx-icon-button.css +152 -0
- package/dist/css/hx-icon.css +73 -0
- package/dist/css/hx-image.css +41 -0
- package/dist/css/hx-link.css +105 -0
- package/dist/css/hx-list.css +48 -0
- package/dist/css/hx-menu.css +21 -0
- package/dist/css/hx-meter.css +113 -0
- package/dist/css/hx-nav.css +242 -0
- package/dist/css/hx-number-input.css +246 -0
- package/dist/css/hx-overflow-menu.css +133 -0
- package/dist/css/hx-pagination.css +193 -0
- package/dist/css/hx-patient-banner.css +111 -0
- package/dist/css/hx-phi-field.css +85 -0
- package/dist/css/hx-popover.css +61 -0
- package/dist/css/hx-popup.css +31 -0
- package/dist/css/hx-progress-bar.css +133 -0
- package/dist/css/hx-progress-ring.css +142 -0
- package/dist/css/hx-prose.css +2 -0
- package/dist/css/hx-radio-group.css +77 -0
- package/dist/css/hx-rating.css +96 -0
- package/dist/css/hx-select.css +268 -0
- package/dist/css/hx-side-nav.css +142 -0
- package/dist/css/hx-skeleton.css +82 -0
- package/dist/css/hx-slider.css +287 -0
- package/dist/css/hx-spinner.css +116 -0
- package/dist/css/hx-split-button.css +309 -0
- package/dist/css/hx-split-panel.css +168 -0
- package/dist/css/hx-stack.css +104 -0
- package/dist/css/hx-stat.css +106 -0
- package/dist/css/hx-status-indicator.css +97 -0
- package/dist/css/hx-steps.css +52 -0
- package/dist/css/hx-structured-list.css +75 -0
- package/dist/css/hx-style-scope.css +4 -0
- package/dist/css/hx-switch.css +169 -0
- package/dist/css/hx-table.css +128 -0
- package/dist/css/hx-tabs.css +76 -0
- package/dist/css/hx-tag.css +146 -0
- package/dist/css/hx-text-input.css +214 -0
- package/dist/css/hx-text.css +149 -0
- package/dist/css/hx-textarea.css +180 -0
- package/dist/css/hx-theme.css +23 -0
- package/dist/css/hx-time-picker.css +2 -0
- package/dist/css/hx-toast.css +230 -0
- package/dist/css/hx-toggle-button.css +207 -0
- package/dist/css/hx-tooltip.css +51 -0
- package/dist/css/hx-top-nav.css +203 -0
- package/dist/css/hx-tree-view.css +22 -0
- package/dist/css/hx-visually-hidden.css +26 -0
- package/dist/css/index.css +84 -0
- package/dist/css/manifest.json +2696 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +266 -176
- package/dist/index.js.map +1 -1
- package/dist/mixins/FocusMixin.d.ts +49 -0
- package/dist/mixins/FocusMixin.d.ts.map +1 -0
- package/dist/mixins/FormMixin.d.ts +69 -0
- package/dist/mixins/FormMixin.d.ts.map +1 -0
- package/dist/mixins/aria-delegation.d.ts +97 -0
- package/dist/mixins/aria-delegation.d.ts.map +1 -0
- package/dist/mixins/index.d.ts +5 -0
- package/dist/mixins/index.d.ts.map +1 -0
- package/dist/shared/FormMixin-Bjvw20G5.js +88 -0
- package/dist/shared/FormMixin-Bjvw20G5.js.map +1 -0
- package/dist/shared/aria-delegation-CBP9eQ0M.js +107 -0
- package/dist/shared/aria-delegation-CBP9eQ0M.js.map +1 -0
- package/dist/shared/{hx-accordion-DT8qHOay.js → hx-accordion-_KeulaQR.js} +97 -57
- package/dist/shared/hx-accordion-_KeulaQR.js.map +1 -0
- package/dist/shared/{hx-action-bar-we_WJety.js → hx-action-bar-D4bulGQP.js} +38 -31
- package/dist/shared/hx-action-bar-D4bulGQP.js.map +1 -0
- package/dist/shared/{hx-alert-D6uok29t.js → hx-alert-DRZYP0Oo.js} +77 -52
- package/dist/shared/hx-alert-DRZYP0Oo.js.map +1 -0
- package/dist/shared/{hx-avatar-Cep6Urm3.js → hx-avatar-7p1cj3lG.js} +6 -2
- package/dist/shared/hx-avatar-7p1cj3lG.js.map +1 -0
- package/dist/shared/{hx-badge-BeuWuUj_.js → hx-badge-DCxvskdw.js} +60 -45
- package/dist/shared/hx-badge-DCxvskdw.js.map +1 -0
- package/dist/shared/{hx-banner-DnCBJtRR.js → hx-banner-2RS7Nux4.js} +102 -55
- package/dist/shared/hx-banner-2RS7Nux4.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-Bj2UqhzR.js → hx-breadcrumb-item-B2rjepqy.js} +85 -72
- package/dist/shared/hx-breadcrumb-item-B2rjepqy.js.map +1 -0
- package/dist/shared/{hx-button-Cbhqpm5i.js → hx-button-6S3DwuIj.js} +96 -57
- package/dist/shared/hx-button-6S3DwuIj.js.map +1 -0
- package/dist/shared/{hx-button-group-CWjWv-wS.js → hx-button-group-ChTQsnQj.js} +10 -10
- package/dist/shared/hx-button-group-ChTQsnQj.js.map +1 -0
- package/dist/shared/{hx-card-B9j2SHyI.js → hx-card-dIKdcMhr.js} +41 -34
- package/dist/shared/hx-card-dIKdcMhr.js.map +1 -0
- package/dist/shared/{hx-carousel-item-Be0bC-7o.js → hx-carousel-item-Cm8a1nAi.js} +108 -91
- package/dist/shared/hx-carousel-item-Cm8a1nAi.js.map +1 -0
- package/dist/shared/{hx-checkbox-CuaJqEo7.js → hx-checkbox-_WUiuTo9.js} +75 -71
- package/dist/shared/hx-checkbox-_WUiuTo9.js.map +1 -0
- package/dist/shared/{hx-checkbox-group-ydUdV9Sx.js → hx-checkbox-group-B-ci-dxp.js} +62 -43
- package/dist/shared/hx-checkbox-group-B-ci-dxp.js.map +1 -0
- package/dist/shared/hx-clinical-status-De8yrA5I.js +467 -0
- package/dist/shared/hx-clinical-status-De8yrA5I.js.map +1 -0
- package/dist/shared/{hx-code-snippet-DBwIjl5p.js → hx-code-snippet-CQsyvthi.js} +72 -47
- package/dist/shared/hx-code-snippet-CQsyvthi.js.map +1 -0
- package/dist/shared/hx-color-picker-Dk2Myvaf.js +612 -0
- package/dist/shared/hx-color-picker-Dk2Myvaf.js.map +1 -0
- package/dist/shared/{hx-combobox-CNvY-es8.js → hx-combobox-CNAJXIxo.js} +100 -466
- package/dist/shared/hx-combobox-CNAJXIxo.js.map +1 -0
- package/dist/shared/{hx-container-DLUKnTi9.js → hx-container-7j16VuQE.js} +16 -16
- package/dist/shared/hx-container-7j16VuQE.js.map +1 -0
- package/dist/shared/{hx-copy-button-CLBA31to.js → hx-copy-button-B_ZHYO7_.js} +55 -40
- package/dist/shared/hx-copy-button-B_ZHYO7_.js.map +1 -0
- package/dist/shared/hx-counter-D_B7L9Pi.js +185 -0
- package/dist/shared/hx-counter-D_B7L9Pi.js.map +1 -0
- package/dist/shared/{hx-data-table-BwoJCFgs.js → hx-data-table-B1j4n4bm.js} +160 -90
- package/dist/shared/hx-data-table-B1j4n4bm.js.map +1 -0
- package/dist/shared/hx-date-picker-R-0kWFwr.js +627 -0
- package/dist/shared/hx-date-picker-R-0kWFwr.js.map +1 -0
- package/dist/shared/{hx-dialog-M7so0sRT.js → hx-dialog-U5d3s0Ps.js} +137 -108
- package/dist/shared/hx-dialog-U5d3s0Ps.js.map +1 -0
- package/dist/shared/{hx-divider-XgWIz4Mr.js → hx-divider-DdAN-_jB.js} +6 -5
- package/dist/shared/hx-divider-DdAN-_jB.js.map +1 -0
- package/dist/shared/{hx-drawer-CYxuhIQ0.js → hx-drawer-e0qeGxAD.js} +162 -93
- package/dist/shared/hx-drawer-e0qeGxAD.js.map +1 -0
- package/dist/shared/{hx-dropdown-7cfowTWv.js → hx-dropdown-DP_DNpEb.js} +71 -47
- package/dist/shared/hx-dropdown-DP_DNpEb.js.map +1 -0
- package/dist/shared/{hx-field-CDP8EXuj.js → hx-field-COM4KvMQ.js} +29 -21
- package/dist/shared/hx-field-COM4KvMQ.js.map +1 -0
- package/dist/shared/{hx-field-label-Bg-EWvqF.js → hx-field-label-BtZ9H9Yy.js} +8 -11
- package/dist/shared/hx-field-label-BtZ9H9Yy.js.map +1 -0
- package/dist/shared/{hx-file-upload-9HbONfqt.js → hx-file-upload-DbECypLe.js} +121 -91
- package/dist/shared/hx-file-upload-DbECypLe.js.map +1 -0
- package/dist/shared/hx-form-fJE-FJQV.js +262 -0
- package/dist/shared/hx-form-fJE-FJQV.js.map +1 -0
- package/dist/shared/{hx-format-date-BsVr8gpD.js → hx-format-date-C030ThSm.js} +20 -12
- package/dist/shared/hx-format-date-C030ThSm.js.map +1 -0
- package/dist/shared/{hx-grid-BsDBCTbt.js → hx-grid-DE8KM5Gf.js} +29 -22
- package/dist/shared/hx-grid-DE8KM5Gf.js.map +1 -0
- package/dist/shared/{hx-help-text-DaOPN1iB.js → hx-help-text-BAcEGRUE.js} +2 -2
- package/dist/shared/{hx-help-text-DaOPN1iB.js.map → hx-help-text-BAcEGRUE.js.map} +1 -1
- package/dist/shared/{hx-icon-button-iu0i_faq.js → hx-icon-button-Et9wq79n.js} +15 -1
- package/dist/shared/{hx-icon-button-iu0i_faq.js.map → hx-icon-button-Et9wq79n.js.map} +1 -1
- package/dist/shared/{hx-icon--xsJztDh.js → hx-icon-dYvrzvsO.js} +12 -7
- package/dist/shared/hx-icon-dYvrzvsO.js.map +1 -0
- package/dist/shared/{hx-image-xyb_tHCR.js → hx-image-DUsEi-oN.js} +20 -15
- package/dist/shared/hx-image-DUsEi-oN.js.map +1 -0
- package/dist/shared/{hx-link-DfNy_UU8.js → hx-link-Peg2LzOD.js} +19 -8
- package/dist/shared/hx-link-Peg2LzOD.js.map +1 -0
- package/dist/shared/{hx-list-CdRNgeoP.js → hx-list-DwInEX2H.js} +63 -37
- package/dist/shared/hx-list-DwInEX2H.js.map +1 -0
- package/dist/shared/{hx-menu-divider-DR8klkFT.js → hx-menu-divider-DR4G_rqw.js} +71 -40
- package/dist/shared/hx-menu-divider-DR4G_rqw.js.map +1 -0
- package/dist/shared/{hx-meter-CZ7lnMra.js → hx-meter-CVs4A649.js} +83 -67
- package/dist/shared/hx-meter-CVs4A649.js.map +1 -0
- package/dist/shared/{hx-nav-DM6-cGKF.js → hx-nav-D377Ngz4.js} +70 -54
- package/dist/shared/hx-nav-D377Ngz4.js.map +1 -0
- package/dist/shared/{hx-nav-item-D54-5eUM.js → hx-nav-item-ByU2N921.js} +84 -48
- package/dist/shared/hx-nav-item-ByU2N921.js.map +1 -0
- package/dist/shared/{hx-number-input-BP6TIA92.js → hx-number-input-BPgrlMLN.js} +97 -65
- package/dist/shared/hx-number-input-BPgrlMLN.js.map +1 -0
- package/dist/shared/{hx-overflow-menu-CobkjAb8.js → hx-overflow-menu-Bz02LPPk.js} +83 -67
- package/dist/shared/hx-overflow-menu-Bz02LPPk.js.map +1 -0
- package/dist/shared/{hx-pagination-10dpXS95.js → hx-pagination-DYhYPqDn.js} +119 -92
- package/dist/shared/hx-pagination-DYhYPqDn.js.map +1 -0
- package/dist/shared/hx-patient-banner-BoJHddAL.js +256 -0
- package/dist/shared/hx-patient-banner-BoJHddAL.js.map +1 -0
- package/dist/shared/hx-phi-field-EDWna59z.js +261 -0
- package/dist/shared/hx-phi-field-EDWna59z.js.map +1 -0
- package/dist/shared/{hx-popover-ULjonbaO.js → hx-popover-D6kYQkt3.js} +121 -89
- package/dist/shared/hx-popover-D6kYQkt3.js.map +1 -0
- package/dist/shared/{hx-popup-CYf9Q5sj.js → hx-popup-RQb6HUXc.js} +14 -2
- package/dist/shared/hx-popup-RQb6HUXc.js.map +1 -0
- package/dist/shared/{hx-progress-bar-CnTibV63.js → hx-progress-bar-ByEmxq1V.js} +77 -57
- package/dist/shared/hx-progress-bar-ByEmxq1V.js.map +1 -0
- package/dist/shared/{hx-progress-ring-BHJBaXNk.js → hx-progress-ring-CtVnNRQx.js} +36 -29
- package/dist/shared/hx-progress-ring-CtVnNRQx.js.map +1 -0
- package/dist/shared/hx-prose-Ml_L2zje.js +59 -0
- package/dist/shared/hx-prose-Ml_L2zje.js.map +1 -0
- package/dist/shared/{hx-radio-BnKcRuQu.js → hx-radio-jgeW92SV.js} +34 -34
- package/dist/shared/hx-radio-jgeW92SV.js.map +1 -0
- package/dist/shared/{hx-rating-Y_t7Z4qb.js → hx-rating-g_iy-DW_.js} +144 -81
- package/dist/shared/hx-rating-g_iy-DW_.js.map +1 -0
- package/dist/shared/{hx-select-C50lD7NS.js → hx-select-4-nHL0vd.js} +158 -208
- package/dist/shared/hx-select-4-nHL0vd.js.map +1 -0
- package/dist/shared/hx-skeleton-BHvALyd7.js.map +1 -1
- package/dist/shared/{hx-slider-CprSNrRi.js → hx-slider-7Q-e0_pc.js} +49 -28
- package/dist/shared/hx-slider-7Q-e0_pc.js.map +1 -0
- package/dist/shared/{hx-spinner-BOApJ-g9.js → hx-spinner-DEgrKsUo.js} +36 -28
- package/dist/shared/hx-spinner-DEgrKsUo.js.map +1 -0
- package/dist/shared/{hx-split-button-CHGy4FUc.js → hx-split-button-BA7P_ly5.js} +51 -31
- package/dist/shared/hx-split-button-BA7P_ly5.js.map +1 -0
- package/dist/shared/{hx-split-panel-DYtB45Tr.js → hx-split-panel-Bss54UN8.js} +68 -44
- package/dist/shared/hx-split-panel-Bss54UN8.js.map +1 -0
- package/dist/shared/{hx-stack-CfoW7jU7.js → hx-stack-BStY1RmV.js} +29 -29
- package/dist/shared/hx-stack-BStY1RmV.js.map +1 -0
- package/dist/shared/{hx-stat-C2wfph8W.js → hx-stat-CmkCUI8v.js} +49 -33
- package/dist/shared/hx-stat-CmkCUI8v.js.map +1 -0
- package/dist/shared/{hx-status-indicator-oYWOkWlD.js → hx-status-indicator-4ClvA5mU.js} +22 -19
- package/dist/shared/hx-status-indicator-4ClvA5mU.js.map +1 -0
- package/dist/shared/{hx-step-DYoIumpR.js → hx-step-DlANlr2A.js} +61 -89
- package/dist/shared/hx-step-DlANlr2A.js.map +1 -0
- package/dist/shared/{hx-structured-list-CMWllxGg.js → hx-structured-list-Db9rwLI_.js} +26 -23
- package/dist/shared/hx-structured-list-Db9rwLI_.js.map +1 -0
- package/dist/shared/hx-style-scope-BroUu83L.js +125 -0
- package/dist/shared/hx-style-scope-BroUu83L.js.map +1 -0
- package/dist/shared/{hx-switch-DkKchcuP.js → hx-switch-C0Lp5RGy.js} +19 -7
- package/dist/shared/hx-switch-C0Lp5RGy.js.map +1 -0
- package/dist/shared/{hx-tab-panel-BRNcLICw.js → hx-tab-panel-GGjk6Qg4.js} +139 -119
- package/dist/shared/hx-tab-panel-GGjk6Qg4.js.map +1 -0
- package/dist/shared/{hx-tag-B3N-vZ6B.js → hx-tag-K5fCjfqQ.js} +16 -14
- package/dist/shared/hx-tag-K5fCjfqQ.js.map +1 -0
- package/dist/shared/{hx-td-CVwCGBYf.js → hx-td-DZuILY3s.js} +64 -59
- package/dist/shared/hx-td-DZuILY3s.js.map +1 -0
- package/dist/shared/{hx-text-NjKoQATI.js → hx-text-DoEVOf47.js} +30 -29
- package/dist/shared/hx-text-DoEVOf47.js.map +1 -0
- package/dist/shared/{hx-text-input-CCZZbWQ9.js → hx-text-input-DTKWPVdy.js} +218 -86
- package/dist/shared/hx-text-input-DTKWPVdy.js.map +1 -0
- package/dist/shared/{hx-textarea-BsQdB1Rk.js → hx-textarea-BkSiU8oM.js} +35 -26
- package/dist/shared/hx-textarea-BkSiU8oM.js.map +1 -0
- package/dist/shared/hx-theme-Aag8QJvT.js +299 -0
- package/dist/shared/hx-theme-Aag8QJvT.js.map +1 -0
- package/dist/shared/{hx-time-picker-CJcIjH3C.js → hx-time-picker-BpCRsh_z.js} +101 -300
- package/dist/shared/hx-time-picker-BpCRsh_z.js.map +1 -0
- package/dist/shared/{hx-toggle-button-D4F1soEM.js → hx-toggle-button-CPFqs3eQ.js} +81 -41
- package/dist/shared/hx-toggle-button-CPFqs3eQ.js.map +1 -0
- package/dist/shared/{hx-tooltip-Bk1iQRHs.js → hx-tooltip-CrO4vzeX.js} +75 -53
- package/dist/shared/hx-tooltip-CrO4vzeX.js.map +1 -0
- package/dist/shared/{hx-top-nav-D2bQpns3.js → hx-top-nav-DYlnzDaU.js} +3 -1
- package/dist/shared/{hx-top-nav-D2bQpns3.js.map → hx-top-nav-DYlnzDaU.js.map} +1 -1
- package/dist/shared/{hx-tree-item-BobGN76x.js → hx-tree-item-DTDIBRrI.js} +140 -94
- package/dist/shared/hx-tree-item-DTDIBRrI.js.map +1 -0
- package/dist/shared/id-counter-JhvVCnjh.js +143 -0
- package/dist/shared/id-counter-JhvVCnjh.js.map +1 -0
- package/dist/shared/{toast-factory-MvMMreTu.js → toast-factory-f184Gi70.js} +96 -73
- package/dist/shared/toast-factory-f184Gi70.js.map +1 -0
- package/dist/styles/shared-field.styles.d.ts +6 -0
- package/dist/styles/shared-field.styles.d.ts.map +1 -0
- package/dist/utilities/adoptedStylesheetRegistry.d.ts +47 -0
- package/dist/utilities/adoptedStylesheetRegistry.d.ts.map +1 -0
- package/dist/utilities/generateScopedSelectors.d.ts +30 -0
- package/dist/utilities/generateScopedSelectors.d.ts.map +1 -0
- package/dist/utilities/injectLightStyles.d.ts +37 -0
- package/dist/utilities/injectLightStyles.d.ts.map +1 -0
- package/dist/utilities/lightStyleRegistry.d.ts +41 -0
- package/dist/utilities/lightStyleRegistry.d.ts.map +1 -0
- package/dist/utilities/sheetManager.d.ts +62 -0
- package/dist/utilities/sheetManager.d.ts.map +1 -0
- package/dist/utils/contrast-checker.d.ts +86 -0
- package/dist/utils/contrast-checker.d.ts.map +1 -0
- package/dist/utils/token-merger.d.ts +24 -0
- package/dist/utils/token-merger.d.ts.map +1 -0
- package/fouc.css +37 -0
- package/package.json +26 -9
- package/dist/shared/hx-accordion-DT8qHOay.js.map +0 -1
- package/dist/shared/hx-action-bar-we_WJety.js.map +0 -1
- package/dist/shared/hx-alert-D6uok29t.js.map +0 -1
- package/dist/shared/hx-avatar-Cep6Urm3.js.map +0 -1
- package/dist/shared/hx-badge-BeuWuUj_.js.map +0 -1
- package/dist/shared/hx-banner-DnCBJtRR.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-Bj2UqhzR.js.map +0 -1
- package/dist/shared/hx-button-Cbhqpm5i.js.map +0 -1
- package/dist/shared/hx-button-group-CWjWv-wS.js.map +0 -1
- package/dist/shared/hx-card-B9j2SHyI.js.map +0 -1
- package/dist/shared/hx-carousel-item-Be0bC-7o.js.map +0 -1
- package/dist/shared/hx-checkbox-CuaJqEo7.js.map +0 -1
- package/dist/shared/hx-checkbox-group-ydUdV9Sx.js.map +0 -1
- package/dist/shared/hx-code-snippet-DBwIjl5p.js.map +0 -1
- package/dist/shared/hx-color-picker-Bb2UPVc3.js +0 -803
- package/dist/shared/hx-color-picker-Bb2UPVc3.js.map +0 -1
- package/dist/shared/hx-combobox-CNvY-es8.js.map +0 -1
- package/dist/shared/hx-container-DLUKnTi9.js.map +0 -1
- package/dist/shared/hx-copy-button-CLBA31to.js.map +0 -1
- package/dist/shared/hx-counter-D-1NXzGs.js +0 -138
- package/dist/shared/hx-counter-D-1NXzGs.js.map +0 -1
- package/dist/shared/hx-data-table-BwoJCFgs.js.map +0 -1
- package/dist/shared/hx-date-picker-DDcIBJir.js +0 -980
- package/dist/shared/hx-date-picker-DDcIBJir.js.map +0 -1
- package/dist/shared/hx-dialog-M7so0sRT.js.map +0 -1
- package/dist/shared/hx-divider-XgWIz4Mr.js.map +0 -1
- package/dist/shared/hx-drawer-CYxuhIQ0.js.map +0 -1
- package/dist/shared/hx-dropdown-7cfowTWv.js.map +0 -1
- package/dist/shared/hx-field-CDP8EXuj.js.map +0 -1
- package/dist/shared/hx-field-label-Bg-EWvqF.js.map +0 -1
- package/dist/shared/hx-file-upload-9HbONfqt.js.map +0 -1
- package/dist/shared/hx-form-BFv_N1dm.js +0 -1272
- package/dist/shared/hx-form-BFv_N1dm.js.map +0 -1
- package/dist/shared/hx-format-date-BsVr8gpD.js.map +0 -1
- package/dist/shared/hx-grid-BsDBCTbt.js.map +0 -1
- package/dist/shared/hx-icon--xsJztDh.js.map +0 -1
- package/dist/shared/hx-image-xyb_tHCR.js.map +0 -1
- package/dist/shared/hx-link-DfNy_UU8.js.map +0 -1
- package/dist/shared/hx-list-CdRNgeoP.js.map +0 -1
- package/dist/shared/hx-menu-divider-DR8klkFT.js.map +0 -1
- package/dist/shared/hx-meter-CZ7lnMra.js.map +0 -1
- package/dist/shared/hx-nav-DM6-cGKF.js.map +0 -1
- package/dist/shared/hx-nav-item-D54-5eUM.js.map +0 -1
- package/dist/shared/hx-number-input-BP6TIA92.js.map +0 -1
- package/dist/shared/hx-overflow-menu-CobkjAb8.js.map +0 -1
- package/dist/shared/hx-pagination-10dpXS95.js.map +0 -1
- package/dist/shared/hx-popover-ULjonbaO.js.map +0 -1
- package/dist/shared/hx-popup-CYf9Q5sj.js.map +0 -1
- package/dist/shared/hx-progress-bar-CnTibV63.js.map +0 -1
- package/dist/shared/hx-progress-ring-BHJBaXNk.js.map +0 -1
- package/dist/shared/hx-prose-DZh2KrMb.js +0 -876
- package/dist/shared/hx-prose-DZh2KrMb.js.map +0 -1
- package/dist/shared/hx-radio-BnKcRuQu.js.map +0 -1
- package/dist/shared/hx-rating-Y_t7Z4qb.js.map +0 -1
- package/dist/shared/hx-select-C50lD7NS.js.map +0 -1
- package/dist/shared/hx-slider-CprSNrRi.js.map +0 -1
- package/dist/shared/hx-spinner-BOApJ-g9.js.map +0 -1
- package/dist/shared/hx-split-button-CHGy4FUc.js.map +0 -1
- package/dist/shared/hx-split-panel-DYtB45Tr.js.map +0 -1
- package/dist/shared/hx-stack-CfoW7jU7.js.map +0 -1
- package/dist/shared/hx-stat-C2wfph8W.js.map +0 -1
- package/dist/shared/hx-status-indicator-oYWOkWlD.js.map +0 -1
- package/dist/shared/hx-step-DYoIumpR.js.map +0 -1
- package/dist/shared/hx-structured-list-CMWllxGg.js.map +0 -1
- package/dist/shared/hx-switch-DkKchcuP.js.map +0 -1
- package/dist/shared/hx-tab-panel-BRNcLICw.js.map +0 -1
- package/dist/shared/hx-tag-B3N-vZ6B.js.map +0 -1
- package/dist/shared/hx-td-CVwCGBYf.js.map +0 -1
- package/dist/shared/hx-text-NjKoQATI.js.map +0 -1
- package/dist/shared/hx-text-input-CCZZbWQ9.js.map +0 -1
- package/dist/shared/hx-textarea-BsQdB1Rk.js.map +0 -1
- package/dist/shared/hx-theme-6GDoUG8j.js +0 -176
- package/dist/shared/hx-theme-6GDoUG8j.js.map +0 -1
- package/dist/shared/hx-time-picker-CJcIjH3C.js.map +0 -1
- package/dist/shared/hx-toggle-button-D4F1soEM.js.map +0 -1
- package/dist/shared/hx-tooltip-Bk1iQRHs.js.map +0 -1
- package/dist/shared/hx-tree-item-BobGN76x.js.map +0 -1
- package/dist/shared/toast-factory-MvMMreTu.js.map +0 -1
|
@@ -1,235 +1,14 @@
|
|
|
1
1
|
import { css as C, LitElement as E, nothing as _, html as x } from "lit";
|
|
2
|
-
import { property as h, state as p, query as
|
|
3
|
-
import { classMap as
|
|
4
|
-
import { ifDefined as
|
|
2
|
+
import { property as h, state as p, query as w, customElement as L } from "lit/decorators.js";
|
|
3
|
+
import { classMap as $ } from "lit/directives/class-map.js";
|
|
4
|
+
import { ifDefined as b } from "lit/directives/if-defined.js";
|
|
5
5
|
import { live as V } from "lit/directives/live.js";
|
|
6
6
|
import { repeat as D } from "lit/directives/repeat.js";
|
|
7
7
|
import { tokenStyles as M } from "@helixui/tokens/lit";
|
|
8
|
-
const O = C
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:host([disabled]) {
|
|
15
|
-
opacity: var(--hx-opacity-disabled, 0.5);
|
|
16
|
-
pointer-events: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
* {
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.field {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
gap: var(--hx-space-1, 0.25rem);
|
|
27
|
-
font-family: var(--hx-time-picker-font-family, var(--hx-font-family-sans, sans-serif));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/* ─── Label ─── */
|
|
31
|
-
|
|
32
|
-
.field__label {
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: baseline;
|
|
35
|
-
gap: var(--hx-space-1, 0.25rem);
|
|
36
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
37
|
-
font-weight: var(--hx-font-weight-medium, 500);
|
|
38
|
-
color: var(--hx-time-picker-label-color, var(--hx-color-neutral-700));
|
|
39
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.field__required-marker {
|
|
43
|
-
color: var(--hx-time-picker-error-color, var(--hx-color-error-text, #b91c1c));
|
|
44
|
-
font-weight: var(--hx-font-weight-bold, 700);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* ─── Combobox Wrapper ─── */
|
|
48
|
-
|
|
49
|
-
.field__combobox {
|
|
50
|
-
position: relative;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
border: var(--hx-border-width-thin, 1px) solid
|
|
54
|
-
var(--hx-time-picker-border-color, var(--hx-color-neutral-300));
|
|
55
|
-
border-radius: var(--hx-time-picker-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
56
|
-
background-color: var(--hx-time-picker-bg, var(--hx-color-neutral-0));
|
|
57
|
-
transition:
|
|
58
|
-
border-color var(--hx-transition-fast, 150ms ease),
|
|
59
|
-
box-shadow var(--hx-transition-fast, 150ms ease);
|
|
60
|
-
overflow: visible;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.field__combobox:focus-within {
|
|
64
|
-
border-color: var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color));
|
|
65
|
-
/* Fallback for Safari < 16.2 (no color-mix support) */
|
|
66
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
67
|
-
var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color));
|
|
68
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
69
|
-
color-mix(
|
|
70
|
-
in srgb,
|
|
71
|
-
var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color))
|
|
72
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
73
|
-
transparent
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* ─── Error State ─── */
|
|
78
|
-
|
|
79
|
-
.field--error .field__combobox {
|
|
80
|
-
border-color: var(--hx-time-picker-error-color, var(--hx-color-error-500));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.field--error .field__combobox:focus-within {
|
|
84
|
-
border-color: var(--hx-time-picker-error-color, var(--hx-color-error-500));
|
|
85
|
-
/* Fallback for Safari < 16.2 (no color-mix support) */
|
|
86
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
87
|
-
var(--hx-time-picker-error-color, var(--hx-color-error-500));
|
|
88
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
89
|
-
color-mix(
|
|
90
|
-
in srgb,
|
|
91
|
-
var(--hx-time-picker-error-color, var(--hx-color-error-500))
|
|
92
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
93
|
-
transparent
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* ─── Native Input ─── */
|
|
98
|
-
|
|
99
|
-
.field__input {
|
|
100
|
-
flex: 1;
|
|
101
|
-
border: none;
|
|
102
|
-
outline: none;
|
|
103
|
-
background: transparent;
|
|
104
|
-
padding: var(--hx-space-2, 0.5rem) var(--hx-space-3, 0.75rem);
|
|
105
|
-
font-family: inherit;
|
|
106
|
-
font-size: var(--hx-font-size-md, 1rem);
|
|
107
|
-
color: var(--hx-time-picker-color, var(--hx-color-neutral-800));
|
|
108
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
109
|
-
min-height: var(--hx-size-10, 2.5rem);
|
|
110
|
-
width: 100%;
|
|
111
|
-
cursor: text;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.field__input::placeholder {
|
|
115
|
-
color: var(--hx-color-neutral-400);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.field__input:disabled {
|
|
119
|
-
cursor: not-allowed;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/* ─── Toggle Button ─── */
|
|
123
|
-
|
|
124
|
-
.field__toggle {
|
|
125
|
-
display: flex;
|
|
126
|
-
align-items: center;
|
|
127
|
-
justify-content: center;
|
|
128
|
-
border: none;
|
|
129
|
-
background: transparent;
|
|
130
|
-
padding: 0 var(--hx-space-3, 0.75rem);
|
|
131
|
-
color: var(--hx-time-picker-chevron-color, var(--hx-color-neutral-500));
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
height: 100%;
|
|
134
|
-
min-height: var(--hx-size-10, 2.5rem);
|
|
135
|
-
flex-shrink: 0;
|
|
136
|
-
border-inline-start: var(--hx-border-width-thin, 1px) solid
|
|
137
|
-
var(--hx-time-picker-border-color, var(--hx-color-neutral-300));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.field__toggle:focus-visible {
|
|
141
|
-
outline: var(--hx-focus-ring-width, 2px) solid
|
|
142
|
-
var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color));
|
|
143
|
-
outline-offset: -2px;
|
|
144
|
-
border-radius: 0 var(--hx-time-picker-border-radius, var(--hx-border-radius-md, 0.375rem))
|
|
145
|
-
var(--hx-time-picker-border-radius, var(--hx-border-radius-md, 0.375rem)) 0;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/* ─── Listbox Dropdown ─── */
|
|
149
|
-
|
|
150
|
-
.field__listbox {
|
|
151
|
-
position: absolute;
|
|
152
|
-
top: calc(100% + var(--hx-space-1, 0.25rem));
|
|
153
|
-
inset-inline-start: 0;
|
|
154
|
-
inset-inline-end: 0;
|
|
155
|
-
z-index: var(--hx-z-index-dropdown, 1000);
|
|
156
|
-
background-color: var(--hx-time-picker-listbox-bg, var(--hx-color-neutral-0));
|
|
157
|
-
border: var(--hx-border-width-thin, 1px) solid
|
|
158
|
-
var(--hx-time-picker-border-color, var(--hx-color-neutral-300));
|
|
159
|
-
border-radius: var(--hx-time-picker-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
160
|
-
box-shadow: var(
|
|
161
|
-
--hx-time-picker-listbox-shadow,
|
|
162
|
-
0 4px 16px color-mix(in srgb, var(--hx-color-neutral-900) 12%, transparent)
|
|
163
|
-
);
|
|
164
|
-
max-height: var(--hx-time-picker-listbox-max-height, 16rem);
|
|
165
|
-
overflow-y: auto;
|
|
166
|
-
padding: var(--hx-space-1, 0.25rem) 0;
|
|
167
|
-
list-style: none;
|
|
168
|
-
margin: 0;
|
|
169
|
-
|
|
170
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
171
|
-
animation: hx-listbox-enter var(--hx-transition-fast, 150ms ease) forwards;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@keyframes hx-listbox-enter {
|
|
176
|
-
from {
|
|
177
|
-
opacity: 0;
|
|
178
|
-
transform: translateY(calc(-1 * var(--hx-space-1, 0.25rem)));
|
|
179
|
-
}
|
|
180
|
-
to {
|
|
181
|
-
opacity: 1;
|
|
182
|
-
transform: translateY(0);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* ─── Option Items ─── */
|
|
187
|
-
|
|
188
|
-
.field__option {
|
|
189
|
-
display: flex;
|
|
190
|
-
align-items: center;
|
|
191
|
-
padding: var(--hx-space-2, 0.5rem) var(--hx-space-3, 0.75rem);
|
|
192
|
-
font-size: var(--hx-font-size-md, 1rem);
|
|
193
|
-
font-family: inherit;
|
|
194
|
-
color: var(--hx-time-picker-option-color, var(--hx-color-neutral-800));
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
transition: background-color var(--hx-transition-fast, 150ms ease);
|
|
197
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.field__option:hover,
|
|
201
|
-
.field__option--active {
|
|
202
|
-
background-color: var(--hx-time-picker-option-hover-bg, var(--hx-color-primary-50));
|
|
203
|
-
color: var(--hx-time-picker-option-hover-color, var(--hx-color-primary-700));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.field__option--selected {
|
|
207
|
-
background-color: var(--hx-time-picker-option-selected-bg, var(--hx-color-primary-100));
|
|
208
|
-
color: var(--hx-time-picker-option-selected-color, var(--hx-color-primary-800));
|
|
209
|
-
font-weight: var(--hx-font-weight-medium, 500);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.field__option--selected.field__option--active {
|
|
213
|
-
background-color: var(--hx-time-picker-option-selected-bg, var(--hx-color-primary-100));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* ─── Help Text & Error Messages ─── */
|
|
217
|
-
|
|
218
|
-
.field__help-text {
|
|
219
|
-
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
220
|
-
color: var(--hx-color-neutral-500);
|
|
221
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.field__error {
|
|
225
|
-
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
226
|
-
color: var(--hx-time-picker-error-color, var(--hx-color-error-text, #b91c1c));
|
|
227
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
228
|
-
}
|
|
229
|
-
`;
|
|
230
|
-
var A = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (e, t, o, i) => {
|
|
231
|
-
for (var r = i > 1 ? void 0 : i ? P(t, o) : t, l = e.length - 1, n; l >= 0; l--)
|
|
232
|
-
(n = e[l]) && (r = (i ? n(t, o, r) : n(r)) || r);
|
|
8
|
+
const O = C`:host{display:block;position:relative}:host([disabled]){opacity:var(--hx-opacity-disabled, .5);pointer-events:none}*{box-sizing:border-box}.field{display:flex;flex-direction:column;gap:var(--hx-space-1, .25rem);font-family:var(--hx-time-picker-font-family, var(--hx-font-family-sans, sans-serif))}.field__label{display:flex;align-items:baseline;gap:var(--hx-space-1, .25rem);font-size:var(--hx-font-size-sm, .875rem);font-weight:var(--hx-font-weight-medium, 500);color:var(--hx-time-picker-label-color, var(--hx-color-neutral-700));line-height:var(--hx-line-height-normal, 1.5)}.field__required-marker{color:var(--hx-time-picker-error-color, var(--hx-color-error-text, #b91c1c));font-weight:var(--hx-font-weight-bold, 700)}.field__combobox{position:relative;display:flex;align-items:center;border:var(--hx-border-width-thin, 1px) solid var(--hx-time-picker-border-color, var(--hx-color-neutral-300));border-radius:var(--hx-time-picker-border-radius, var(--hx-border-radius-md, .375rem));background-color:var(--hx-time-picker-bg, var(--hx-color-neutral-0));transition:border-color var(--hx-transition-fast, .15s ease),box-shadow var(--hx-transition-fast, .15s ease);overflow:visible}.field__combobox:focus-within{border-color:var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color));box-shadow:0 0 0 var(--hx-focus-ring-width, 2px) color-mix(in srgb,var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color)) calc(var(--hx-focus-ring-opacity, .25) * 100%),transparent)}.field--error .field__combobox{border-color:var(--hx-time-picker-error-color, var(--hx-color-error-500))}.field--error .field__combobox:focus-within{border-color:var(--hx-time-picker-error-color, var(--hx-color-error-500));box-shadow:0 0 0 var(--hx-focus-ring-width, 2px) color-mix(in srgb,var(--hx-time-picker-error-color, var(--hx-color-error-500)) calc(var(--hx-focus-ring-opacity, .25) * 100%),transparent)}.field__input{flex:1;border:none;outline:none;background:transparent;padding:var(--hx-space-2, .5rem) var(--hx-space-3, .75rem);font-family:inherit;font-size:var(--hx-font-size-md, 1rem);color:var(--hx-time-picker-color, var(--hx-color-neutral-800));line-height:var(--hx-line-height-normal, 1.5);min-height:var(--hx-size-10, 2.5rem);width:100%;cursor:text}.field__input::placeholder{color:var(--hx-color-neutral-400)}.field__input:disabled{cursor:not-allowed}.field__toggle{display:flex;align-items:center;justify-content:center;border:none;background:transparent;padding:0 var(--hx-space-3, .75rem);color:var(--hx-time-picker-chevron-color, var(--hx-color-neutral-500));cursor:pointer;height:100%;min-height:var(--hx-size-10, 2.5rem);flex-shrink:0;border-inline-start:var(--hx-border-width-thin, 1px) solid var(--hx-time-picker-border-color, var(--hx-color-neutral-300))}.field__toggle:focus-visible{outline:var(--hx-focus-ring-width, 2px) solid var(--hx-time-picker-focus-ring-color, var(--hx-focus-ring-color));outline-offset:-2px;border-radius:0 var(--hx-time-picker-border-radius, var(--hx-border-radius-md, .375rem))}.field__listbox{position:absolute;top:calc(100% + var(--hx-space-1, .25rem));inset-inline-start:0;inset-inline-end:0;z-index:var(--hx-z-index-dropdown, 1000);background-color:var(--hx-time-picker-listbox-bg, var(--hx-color-neutral-0));border:var(--hx-border-width-thin, 1px) solid var(--hx-time-picker-border-color, var(--hx-color-neutral-300));border-radius:var(--hx-time-picker-border-radius, var(--hx-border-radius-md, .375rem));box-shadow:var( --hx-time-picker-listbox-shadow, 0 4px 16px color-mix(in srgb, var(--hx-color-neutral-900) 12%, transparent) );max-height:var(--hx-time-picker-listbox-max-height, 16rem);overflow-y:auto;padding:var(--hx-space-1, .25rem) 0;list-style:none;margin:0}@media(prefers-reduced-motion:no-preference){.field__listbox{animation:hx-listbox-enter var(--hx-transition-fast, .15s ease) forwards}}@keyframes hx-listbox-enter{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}.field__option{display:flex;align-items:center;padding:var(--hx-space-2, .5rem) var(--hx-space-3, .75rem);font-size:var(--hx-font-size-md, 1rem);font-family:inherit;color:var(--hx-time-picker-option-color, var(--hx-color-neutral-800));cursor:pointer;transition:background-color var(--hx-transition-fast, .15s ease);line-height:var(--hx-line-height-normal, 1.5)}.field__option:hover,.field__option--active{background-color:var(--hx-time-picker-option-hover-bg, var(--hx-color-primary-50));color:var(--hx-time-picker-option-hover-color, var(--hx-color-primary-700))}.field__option--selected{background-color:var(--hx-time-picker-option-selected-bg, var(--hx-color-primary-100));color:var(--hx-time-picker-option-selected-color, var(--hx-color-primary-800));font-weight:var(--hx-font-weight-medium, 500)}.field__option--selected.field__option--active{background-color:var(--hx-time-picker-option-selected-bg, var(--hx-color-primary-100))}@media(prefers-reduced-motion:reduce){.field__combobox,.field__option{transition:none}}.field__help-text,.field__error{font-size:var(--hx-font-size-xs, .75rem);line-height:var(--hx-line-height-normal, 1.5)}.field__help-text{color:var(--hx-color-neutral-500)}.field__error{color:var(--hx-time-picker-error-color, var(--hx-color-error-text, #b91c1c))}`;
|
|
9
|
+
var A = Object.defineProperty, P = Object.getOwnPropertyDescriptor, l = (e, t, o, i) => {
|
|
10
|
+
for (var r = i > 1 ? void 0 : i ? P(t, o) : t, a = e.length - 1, n; a >= 0; a--)
|
|
11
|
+
(n = e[a]) && (r = (i ? n(t, o, r) : n(r)) || r);
|
|
233
12
|
return i && r && A(t, o, r), r;
|
|
234
13
|
};
|
|
235
14
|
function d(e) {
|
|
@@ -244,26 +23,26 @@ function m(e, t) {
|
|
|
244
23
|
function k(e) {
|
|
245
24
|
const t = d(e);
|
|
246
25
|
if (!t) return e;
|
|
247
|
-
const { hours: o, minutes: i } = t, r = o < 12 ? "AM" : "PM",
|
|
248
|
-
return `${String(
|
|
26
|
+
const { hours: o, minutes: i } = t, r = o < 12 ? "AM" : "PM", a = o % 12 === 0 ? 12 : o % 12;
|
|
27
|
+
return `${String(a).padStart(2, "0")}:${String(i).padStart(2, "0")} ${r}`;
|
|
249
28
|
}
|
|
250
|
-
function
|
|
251
|
-
const r = d(e) ?? { hours: 0, minutes: 0 },
|
|
252
|
-
for (let
|
|
253
|
-
const I = Math.floor(
|
|
254
|
-
|
|
29
|
+
function q(e, t, o, i) {
|
|
30
|
+
const r = d(e) ?? { hours: 0, minutes: 0 }, a = d(t) ?? { hours: 23, minutes: 59 }, n = r.hours * 60 + r.minutes, c = a.hours * 60 + a.minutes, u = Math.max(1, Math.round(o)), f = [];
|
|
31
|
+
for (let v = n; v <= c; v += u) {
|
|
32
|
+
const I = Math.floor(v / 60) % 24, S = v % 60, g = m(I, S);
|
|
33
|
+
f.push({
|
|
255
34
|
value: g,
|
|
256
35
|
label: i === "12h" ? k(g) : g
|
|
257
36
|
});
|
|
258
37
|
}
|
|
259
|
-
return
|
|
38
|
+
return f;
|
|
260
39
|
}
|
|
261
40
|
function y(e, t, o) {
|
|
262
41
|
if (!e) return "";
|
|
263
42
|
const i = d(e);
|
|
264
43
|
if (!i) return "";
|
|
265
|
-
const r = i.hours * 60 + i.minutes,
|
|
266
|
-
return r < c ? m(
|
|
44
|
+
const r = i.hours * 60 + i.minutes, a = d(t) ?? { hours: 0, minutes: 0 }, n = d(o) ?? { hours: 23, minutes: 59 }, c = a.hours * 60 + a.minutes, u = n.hours * 60 + n.minutes;
|
|
45
|
+
return r < c ? m(a.hours, a.minutes) : r > u ? m(n.hours, n.minutes) : m(i.hours, i.minutes);
|
|
267
46
|
}
|
|
268
47
|
function H(e) {
|
|
269
48
|
const t = e.trim().toUpperCase(), o = d(t);
|
|
@@ -271,8 +50,8 @@ function H(e) {
|
|
|
271
50
|
const i = /^(\d{1,2})(?::(\d{2}))?\s*(AM|PM)$/.exec(t) ?? /^(\d{1,2})(\d{2})\s*(AM|PM)$/.exec(t);
|
|
272
51
|
if (i) {
|
|
273
52
|
let r = parseInt(i[1] ?? "0", 10);
|
|
274
|
-
const
|
|
275
|
-
return r < 1 || r > 12 ||
|
|
53
|
+
const a = i[2] !== void 0 ? parseInt(i[2], 10) : 0, n = i[3] ?? "";
|
|
54
|
+
return r < 1 || r > 12 || a < 0 || a > 59 ? null : (n === "AM" ? r = r === 12 ? 0 : r : r = r === 12 ? 12 : r + 12, m(r, a));
|
|
276
55
|
}
|
|
277
56
|
return null;
|
|
278
57
|
}
|
|
@@ -280,7 +59,7 @@ let s = class extends E {
|
|
|
280
59
|
constructor() {
|
|
281
60
|
super(), this.name = "", this.value = "", this.min = "00:00", this.max = "23:59", this.step = 30, this.label = "", this.required = !1, this.disabled = !1, this.error = "", this.format = "12h", this._open = !1, this._activeIndex = -1, this._inputDisplayValue = "", this._hasLabelSlot = !1, this._hasErrorSlot = !1, this._hasHelpSlot = !1, this._slottedLabelId = "", this._id = `hx-time-picker-${++s._instanceCount}`, this._listboxId = `${this._id}-listbox`, this._errorId = `${this._id}-error`, this._helpId = `${this._id}-help`, this._cachedSlots = null, this._slotsKey = "", this._handleOutsideClick = (e) => {
|
|
282
61
|
var t;
|
|
283
|
-
!this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && this._closeListbox();
|
|
62
|
+
this.isConnected && !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && this._closeListbox();
|
|
284
63
|
}, this._internals = this.attachInternals();
|
|
285
64
|
}
|
|
286
65
|
/**
|
|
@@ -289,7 +68,7 @@ let s = class extends E {
|
|
|
289
68
|
*/
|
|
290
69
|
get _slots() {
|
|
291
70
|
const e = `${this.min}|${this.max}|${this.step}|${this.format}`;
|
|
292
|
-
return (this._cachedSlots === null || e !== this._slotsKey) && (this._slotsKey = e, this._cachedSlots =
|
|
71
|
+
return (this._cachedSlots === null || e !== this._slotsKey) && (this._slotsKey = e, this._cachedSlots = q(this.min, this.max, this.step, this.format)), this._cachedSlots;
|
|
293
72
|
}
|
|
294
73
|
// ─── Lifecycle ───
|
|
295
74
|
connectedCallback() {
|
|
@@ -325,6 +104,7 @@ let s = class extends E {
|
|
|
325
104
|
reportValidity() {
|
|
326
105
|
return this._internals.reportValidity();
|
|
327
106
|
}
|
|
107
|
+
/** @internal */
|
|
328
108
|
_updateValidity() {
|
|
329
109
|
this.required && !this.value ? this._internals.setValidity(
|
|
330
110
|
{ valueMissing: !0 },
|
|
@@ -332,33 +112,44 @@ let s = class extends E {
|
|
|
332
112
|
this._inputEl ?? void 0
|
|
333
113
|
) : this._internals.setValidity({});
|
|
334
114
|
}
|
|
115
|
+
/** @internal */
|
|
335
116
|
formResetCallback() {
|
|
336
117
|
this.value = "", this._inputDisplayValue = "", this._internals.setFormValue(null), this._closeListbox();
|
|
337
118
|
}
|
|
119
|
+
/** @internal */
|
|
338
120
|
formStateRestoreCallback(e, t = "restore") {
|
|
339
121
|
if (typeof e != "string") return;
|
|
340
122
|
const o = y(e, this.min, this.max);
|
|
341
123
|
this.value = o;
|
|
342
124
|
}
|
|
125
|
+
/** @internal */
|
|
126
|
+
formDisabledCallback(e) {
|
|
127
|
+
this.disabled = e;
|
|
128
|
+
}
|
|
343
129
|
// ─── Listbox helpers ───
|
|
130
|
+
/** @internal */
|
|
344
131
|
_openListbox() {
|
|
345
132
|
if (this._open) return;
|
|
346
133
|
const e = this._slots.findIndex((t) => t.value === this.value);
|
|
347
134
|
this._activeIndex = e >= 0 ? e : 0, this._open = !0;
|
|
348
135
|
}
|
|
136
|
+
/** @internal */
|
|
349
137
|
_closeListbox() {
|
|
350
138
|
this._open && (this._open = !1, this._activeIndex = -1);
|
|
351
139
|
}
|
|
140
|
+
/** @internal */
|
|
352
141
|
_scrollActiveOptionIntoView() {
|
|
353
142
|
if (!this._listboxEl) return;
|
|
354
143
|
const e = this._listboxEl.querySelector(".field__option--active");
|
|
355
144
|
e == null || e.scrollIntoView({ block: "nearest" });
|
|
356
145
|
}
|
|
146
|
+
/** @internal */
|
|
357
147
|
_selectSlot(e) {
|
|
358
148
|
const t = y(e.value, this.min, this.max);
|
|
359
149
|
this.value = t, this._closeListbox(), this._dispatchChange(t);
|
|
360
150
|
}
|
|
361
151
|
// ─── Slot tracking ───
|
|
152
|
+
/** @internal */
|
|
362
153
|
_handleLabelSlotChange(e) {
|
|
363
154
|
const o = e.target.assignedNodes({ flatten: !0 });
|
|
364
155
|
if (this._hasLabelSlot = o.length > 0, this._hasLabelSlot) {
|
|
@@ -367,15 +158,18 @@ let s = class extends E {
|
|
|
367
158
|
} else
|
|
368
159
|
this._slottedLabelId = "";
|
|
369
160
|
}
|
|
161
|
+
/** @internal */
|
|
370
162
|
_handleErrorSlotChange(e) {
|
|
371
163
|
const t = e.target;
|
|
372
164
|
this._hasErrorSlot = t.assignedNodes({ flatten: !0 }).length > 0;
|
|
373
165
|
}
|
|
166
|
+
/** @internal */
|
|
374
167
|
_handleHelpSlotChange(e) {
|
|
375
168
|
const t = e.target;
|
|
376
169
|
this._hasHelpSlot = t.assignedNodes({ flatten: !0 }).length > 0;
|
|
377
170
|
}
|
|
378
171
|
// ─── Event Dispatch ───
|
|
172
|
+
/** @internal */
|
|
379
173
|
_dispatchChange(e) {
|
|
380
174
|
this.dispatchEvent(
|
|
381
175
|
new CustomEvent("hx-change", {
|
|
@@ -386,17 +180,21 @@ let s = class extends E {
|
|
|
386
180
|
);
|
|
387
181
|
}
|
|
388
182
|
// ─── Input Handlers ───
|
|
183
|
+
/** @internal */
|
|
389
184
|
_handleInputClick() {
|
|
390
185
|
this.disabled || this._openListbox();
|
|
391
186
|
}
|
|
187
|
+
/** @internal */
|
|
392
188
|
_handleToggleClick(e) {
|
|
393
189
|
var t;
|
|
394
190
|
e.stopPropagation(), !this.disabled && (this._open ? this._closeListbox() : (this._openListbox(), (t = this._inputEl) == null || t.focus()));
|
|
395
191
|
}
|
|
192
|
+
/** @internal */
|
|
396
193
|
_handleInputInput(e) {
|
|
397
194
|
const t = e.target;
|
|
398
195
|
this._inputDisplayValue = t.value, this._open || this._openListbox();
|
|
399
196
|
}
|
|
197
|
+
/** @internal */
|
|
400
198
|
_handleInputChange(e) {
|
|
401
199
|
const o = e.target.value.trim();
|
|
402
200
|
if (!o) {
|
|
@@ -410,6 +208,7 @@ let s = class extends E {
|
|
|
410
208
|
} else
|
|
411
209
|
this._inputDisplayValue = this.value ? this.format === "12h" ? k(this.value) : this.value : "";
|
|
412
210
|
}
|
|
211
|
+
/** @internal */
|
|
413
212
|
_handleInputKeyDown(e) {
|
|
414
213
|
switch (e.key) {
|
|
415
214
|
case "ArrowDown":
|
|
@@ -439,13 +238,16 @@ let s = class extends E {
|
|
|
439
238
|
break;
|
|
440
239
|
}
|
|
441
240
|
}
|
|
241
|
+
/** @internal */
|
|
442
242
|
_handleOptionPointerDown(e) {
|
|
443
243
|
e.preventDefault();
|
|
444
244
|
}
|
|
245
|
+
/** @internal */
|
|
445
246
|
_handleOptionClick(e) {
|
|
446
247
|
var t;
|
|
447
248
|
this._selectSlot(e), (t = this._inputEl) == null || t.focus();
|
|
448
249
|
}
|
|
250
|
+
/** @internal */
|
|
449
251
|
_handleOptionMouseEnter(e) {
|
|
450
252
|
this._activeIndex = e;
|
|
451
253
|
}
|
|
@@ -462,9 +264,9 @@ let s = class extends E {
|
|
|
462
264
|
"field--error": e,
|
|
463
265
|
"field--disabled": this.disabled,
|
|
464
266
|
"field--required": this.required
|
|
465
|
-
}, i = this._open && this._activeIndex >= 0 ? `${this._listboxId}-option-${this._activeIndex}` : void 0, r = this.format === "12h" ? "hh:mm AM" : "hh:mm",
|
|
267
|
+
}, i = this._open && this._activeIndex >= 0 ? `${this._listboxId}-option-${this._activeIndex}` : void 0, r = this.format === "12h" ? "hh:mm AM" : "hh:mm", a = [e ? this._errorId : null, this._helpId].filter(Boolean).join(" ") || void 0;
|
|
466
268
|
return x`
|
|
467
|
-
<div part="field" class=${
|
|
269
|
+
<div part="field" class=${$(o)}>
|
|
468
270
|
<!-- Label -->
|
|
469
271
|
<slot name="label" @slotchange=${this._handleLabelSlotChange}>
|
|
470
272
|
${this.label ? x`
|
|
@@ -492,14 +294,14 @@ let s = class extends E {
|
|
|
492
294
|
placeholder=${r}
|
|
493
295
|
?required=${this.required}
|
|
494
296
|
?disabled=${this.disabled}
|
|
495
|
-
name=${
|
|
297
|
+
name=${b(this.name || void 0)}
|
|
496
298
|
aria-autocomplete="list"
|
|
497
|
-
aria-controls=${
|
|
498
|
-
aria-activedescendant=${
|
|
299
|
+
aria-controls=${this._listboxId}
|
|
300
|
+
aria-activedescendant=${b(i)}
|
|
499
301
|
aria-invalid=${e ? "true" : _}
|
|
500
|
-
aria-describedby=${
|
|
302
|
+
aria-describedby=${b(a)}
|
|
501
303
|
aria-required=${this.required ? "true" : _}
|
|
502
|
-
aria-labelledby=${
|
|
304
|
+
aria-labelledby=${b(
|
|
503
305
|
this._hasLabelSlot && this._slottedLabelId ? this._slottedLabelId : void 0
|
|
504
306
|
)}
|
|
505
307
|
@click=${this._handleInputClick}
|
|
@@ -538,42 +340,41 @@ let s = class extends E {
|
|
|
538
340
|
</svg>
|
|
539
341
|
</button>
|
|
540
342
|
|
|
541
|
-
<!-- Dropdown listbox -->
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
343
|
+
<!-- Dropdown listbox: always in DOM so aria-controls is never a dangling reference (WCAG 4.1.2). Hidden via the boolean hidden attribute when closed. -->
|
|
344
|
+
<ul
|
|
345
|
+
part="listbox"
|
|
346
|
+
class="field__listbox"
|
|
347
|
+
id=${this._listboxId}
|
|
348
|
+
role="listbox"
|
|
349
|
+
aria-label=${this.label || "Time options"}
|
|
350
|
+
?hidden=${!this._open}
|
|
351
|
+
>
|
|
352
|
+
${this._open ? D(
|
|
551
353
|
t,
|
|
552
354
|
(n) => n.value,
|
|
553
355
|
(n, c) => {
|
|
554
|
-
const u = n.value === this.value,
|
|
356
|
+
const u = n.value === this.value, f = c === this._activeIndex;
|
|
555
357
|
return x`
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
358
|
+
<li
|
|
359
|
+
part="option"
|
|
360
|
+
class=${$({
|
|
559
361
|
field__option: !0,
|
|
560
362
|
"field__option--selected": u,
|
|
561
|
-
"field__option--active":
|
|
363
|
+
"field__option--active": f
|
|
562
364
|
})}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
365
|
+
id="${this._listboxId}-option-${c}"
|
|
366
|
+
role="option"
|
|
367
|
+
aria-selected=${u ? "true" : "false"}
|
|
368
|
+
@pointerdown=${this._handleOptionPointerDown}
|
|
369
|
+
@click=${() => this._handleOptionClick(n)}
|
|
370
|
+
@mouseenter=${() => this._handleOptionMouseEnter(c)}
|
|
371
|
+
>
|
|
372
|
+
${n.label}
|
|
373
|
+
</li>
|
|
374
|
+
`;
|
|
573
375
|
}
|
|
574
|
-
)}
|
|
575
|
-
|
|
576
|
-
` : _}
|
|
376
|
+
) : _}
|
|
377
|
+
</ul>
|
|
577
378
|
</div>
|
|
578
379
|
|
|
579
380
|
<!-- Error slot / property -->
|
|
@@ -596,67 +397,67 @@ let s = class extends E {
|
|
|
596
397
|
s.styles = [M, O];
|
|
597
398
|
s.formAssociated = !0;
|
|
598
399
|
s._instanceCount = 0;
|
|
599
|
-
|
|
400
|
+
l([
|
|
600
401
|
h({ type: String })
|
|
601
402
|
], s.prototype, "name", 2);
|
|
602
|
-
|
|
403
|
+
l([
|
|
603
404
|
h({ type: String, reflect: !0 })
|
|
604
405
|
], s.prototype, "value", 2);
|
|
605
|
-
|
|
406
|
+
l([
|
|
606
407
|
h({ type: String })
|
|
607
408
|
], s.prototype, "min", 2);
|
|
608
|
-
|
|
409
|
+
l([
|
|
609
410
|
h({ type: String })
|
|
610
411
|
], s.prototype, "max", 2);
|
|
611
|
-
|
|
412
|
+
l([
|
|
612
413
|
h({ type: Number })
|
|
613
414
|
], s.prototype, "step", 2);
|
|
614
|
-
|
|
415
|
+
l([
|
|
615
416
|
h({ type: String })
|
|
616
417
|
], s.prototype, "label", 2);
|
|
617
|
-
|
|
418
|
+
l([
|
|
618
419
|
h({ type: Boolean, reflect: !0 })
|
|
619
420
|
], s.prototype, "required", 2);
|
|
620
|
-
|
|
421
|
+
l([
|
|
621
422
|
h({ type: Boolean, reflect: !0 })
|
|
622
423
|
], s.prototype, "disabled", 2);
|
|
623
|
-
|
|
424
|
+
l([
|
|
624
425
|
h({ type: String })
|
|
625
426
|
], s.prototype, "error", 2);
|
|
626
|
-
|
|
427
|
+
l([
|
|
627
428
|
h({ type: String, reflect: !0 })
|
|
628
429
|
], s.prototype, "format", 2);
|
|
629
|
-
|
|
430
|
+
l([
|
|
630
431
|
p()
|
|
631
432
|
], s.prototype, "_open", 2);
|
|
632
|
-
|
|
433
|
+
l([
|
|
633
434
|
p()
|
|
634
435
|
], s.prototype, "_activeIndex", 2);
|
|
635
|
-
|
|
436
|
+
l([
|
|
636
437
|
p()
|
|
637
438
|
], s.prototype, "_inputDisplayValue", 2);
|
|
638
|
-
|
|
439
|
+
l([
|
|
639
440
|
p()
|
|
640
441
|
], s.prototype, "_hasLabelSlot", 2);
|
|
641
|
-
|
|
442
|
+
l([
|
|
642
443
|
p()
|
|
643
444
|
], s.prototype, "_hasErrorSlot", 2);
|
|
644
|
-
|
|
445
|
+
l([
|
|
645
446
|
p()
|
|
646
447
|
], s.prototype, "_hasHelpSlot", 2);
|
|
647
|
-
|
|
448
|
+
l([
|
|
648
449
|
p()
|
|
649
450
|
], s.prototype, "_slottedLabelId", 2);
|
|
650
|
-
|
|
651
|
-
|
|
451
|
+
l([
|
|
452
|
+
w(".field__input")
|
|
652
453
|
], s.prototype, "_inputEl", 2);
|
|
653
|
-
|
|
654
|
-
|
|
454
|
+
l([
|
|
455
|
+
w(".field__listbox")
|
|
655
456
|
], s.prototype, "_listboxEl", 2);
|
|
656
|
-
s =
|
|
457
|
+
s = l([
|
|
657
458
|
L("hx-time-picker")
|
|
658
459
|
], s);
|
|
659
460
|
export {
|
|
660
461
|
s as H
|
|
661
462
|
};
|
|
662
|
-
//# sourceMappingURL=hx-time-picker-
|
|
463
|
+
//# sourceMappingURL=hx-time-picker-BpCRsh_z.js.map
|