@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
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
import { css as x, LitElement as w, html as _, nothing as p } from "lit";
|
|
2
|
+
import { property as d, state as v, query as m, customElement as D } from "lit/decorators.js";
|
|
3
|
+
import { classMap as g } from "lit/directives/class-map.js";
|
|
4
|
+
import { ifDefined as y } from "lit/directives/if-defined.js";
|
|
5
|
+
import { tokenStyles as k } from "@helixui/tokens/lit";
|
|
6
|
+
const $ = x`: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-date-picker-font-family, var(--hx-font-family-sans, sans-serif));position:relative}.field__label-wrapper{display:contents}.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-date-picker-label-color, var(--hx-color-neutral-700, #343a40));line-height:var(--hx-line-height-normal, 1.5)}.field__required-marker{color:var(--hx-date-picker-error-color, var(--hx-color-error-text, #b91c1c));font-weight:var(--hx-font-weight-bold, 700)}.field__input-wrapper{display:flex;align-items:stretch;border:var(--hx-border-width-thin, 1px) solid var(--hx-date-picker-border-color, var(--hx-color-neutral-300, #ced4da));border-radius:var(--hx-date-picker-border-radius, var(--hx-border-radius-md, .375rem));background-color:var(--hx-date-picker-bg, var(--hx-color-neutral-0, #ffffff));transition:border-color var(--hx-transition-fast, .15s ease),box-shadow var(--hx-transition-fast, .15s ease);overflow:hidden}.field__input-wrapper:focus-within{border-color:var(--hx-date-picker-focus-ring-color, var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa)));box-shadow:0 0 0 var(--hx-focus-ring-width, 2px) color-mix(in srgb,var(--hx-date-picker-focus-ring-color, var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))) calc(var(--hx-focus-ring-opacity, .25) * 100%),transparent)}.field--error .field__input-wrapper{border-color:var(--hx-date-picker-error-color, var(--hx-color-error-500, #dc3545))}.field--error .field__input-wrapper:focus-within{border-color:var(--hx-date-picker-error-color, var(--hx-color-error-500, #dc3545));box-shadow:0 0 0 var(--hx-focus-ring-width, 2px) color-mix(in srgb,var(--hx-date-picker-error-color, var(--hx-color-error-500, #dc3545)) 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-date-picker-color, var(--hx-color-neutral-800, #212529));line-height:var(--hx-line-height-normal, 1.5);min-height:var(--hx-size-10, 2.5rem);width:100%;cursor:default}.field__input::placeholder{color:var(--hx-color-neutral-400, #adb5bd)}.field__input:disabled{cursor:not-allowed}.field__trigger{display:flex;align-items:center;justify-content:center;padding:0 var(--hx-space-3, .75rem);border:none;border-left:var(--hx-border-width-thin, 1px) solid var(--hx-date-picker-border-color, var(--hx-color-neutral-300, #ced4da));background:transparent;color:var(--hx-date-picker-trigger-color, var(--hx-color-neutral-500, #6c757d));cursor:pointer;flex-shrink:0;transition:color var(--hx-transition-fast, .15s ease);outline:none}.field__trigger:focus-visible{color:var(--hx-date-picker-focus-ring-color, var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa)));background-color:color-mix(in srgb,var(--hx-date-picker-focus-ring-color, var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))) 8%,transparent)}.field__trigger:hover:not(:disabled){color:var(--hx-date-picker-trigger-hover-color, var(--hx-color-neutral-700, #343a40));background-color:color-mix(in srgb,var(--hx-color-neutral-900, #212529) 4%,transparent)}.field__trigger:disabled{cursor:not-allowed}.calendar{position:absolute;top:calc(100% + var(--hx-space-1, .25rem));left:0;z-index:var(--hx-z-index-dropdown, 1000);min-width:var(--hx-date-picker-calendar-min-width, 18rem);background-color:var(--hx-date-picker-calendar-bg, var(--hx-color-neutral-0, #ffffff));border:var(--hx-border-width-thin, 1px) solid var(--hx-date-picker-calendar-border-color, var(--hx-color-neutral-200, #e9ecef));border-radius:var(--hx-date-picker-calendar-border-radius, var(--hx-border-radius-lg, .5rem));box-shadow:var( --hx-date-picker-calendar-shadow, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) );padding:var(--hx-space-3, .75rem);outline:none}@media(prefers-reduced-motion:no-preference){.calendar{animation:calendar-appear var(--hx-transition-fast, .15s ease) forwards}}@keyframes calendar-appear{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}.calendar__nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--hx-space-3, .75rem)}:is(.calendar__nav-btn,.calendar__day,.calendar__day-cell,.calendar__weekday){display:flex;align-items:center;justify-content:center}:is(.calendar__nav-btn,.calendar__day){width:var(--hx-touch-target-min, 2.75rem);height:var(--hx-touch-target-min, 2.75rem);border:none;border-radius:var(--hx-border-radius-sm, .25rem);background:transparent;cursor:pointer;outline:none;transition:background-color var(--hx-transition-fast, .15s ease),color var(--hx-transition-fast, .15s ease)}.calendar__nav-btn{color:var(--hx-color-neutral-600, #495057);font-size:var(--hx-font-size-lg, 1.125rem);line-height:1}.calendar__nav-btn:hover{background-color:var(--hx-color-neutral-100, #f8f9fa);color:var(--hx-color-neutral-900, #212529)}:is(.calendar__nav-btn,.calendar__day):focus-visible{box-shadow:0 0 0 var(--hx-focus-ring-width, 2px) var(--hx-date-picker-focus-ring-color, var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa)));z-index:1}.calendar__nav-btn:disabled{opacity:var(--hx-opacity-disabled, .4);cursor:not-allowed;pointer-events:none}.calendar__month-label{font-size:var(--hx-font-size-sm, .875rem);font-weight:var(--hx-font-weight-semibold, 600);color:var(--hx-color-neutral-800, #212529);flex:1;text-align:center}.calendar__grid{display:flex;flex-direction:column;gap:var(--hx-space-1, .25rem)}.calendar__row{display:grid;grid-template-columns:repeat(7,1fr);gap:var(--hx-space-1, .25rem)}.calendar__weekday{height:var(--hx-size-8, 2rem);font-size:var(--hx-font-size-xs, .75rem);font-weight:var(--hx-font-weight-semibold, 600);color:var(--hx-color-neutral-500, #6c757d);text-transform:uppercase;letter-spacing:.05em}.calendar__day{color:var(--hx-color-neutral-800, #212529);font-size:var(--hx-font-size-sm, .875rem);font-family:inherit;position:relative}.calendar__day:hover:not(.calendar__day--disabled):not(.calendar__day--selected){background-color:var(--hx-color-neutral-100, #f8f9fa);color:var(--hx-color-neutral-900, #212529)}.calendar__day--selected{background-color:var(--hx-date-picker-selected-bg, var(--hx-color-primary-500, #2563eb));color:var(--hx-date-picker-selected-color, var(--hx-color-neutral-0, #ffffff));font-weight:var(--hx-font-weight-semibold, 600)}.calendar__day--selected:hover{background-color:var(--hx-date-picker-selected-hover-bg, var(--hx-color-primary-600, #1d4ed8))}.calendar__day--today:not(.calendar__day--selected){font-weight:var(--hx-font-weight-bold, 700);color:var(--hx-date-picker-today-color, var(--hx-color-primary-600, #1d4ed8))}.calendar__day--today:not(.calendar__day--selected):after{content:"";position:absolute;bottom:.2rem;left:50%;transform:translate(-50%);width:.25rem;height:.25rem;border-radius:50%;background-color:currentColor}.calendar__day--disabled{opacity:var(--hx-opacity-disabled, .4);cursor:not-allowed;pointer-events:none}.calendar__live-region{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.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, #6c757d)}.field__error{color:var(--hx-date-picker-error-color, var(--hx-color-error-text, #b91c1c))}@media(prefers-reduced-motion:reduce){.field__input-wrapper,.field__trigger,.calendar__nav-btn,.calendar__day{transition:none}}@media(forced-colors:active){.field__input-wrapper{border:1px solid ButtonText}.field__input-wrapper:focus-within{outline:2px solid Highlight;outline-offset:1px;box-shadow:none}:is(.calendar__day:focus-visible,.calendar__nav-btn:focus-visible){outline:2px solid Highlight;box-shadow:none}.calendar__day--selected{background-color:Highlight;color:HighlightText;border:1px solid Highlight}.calendar__day--today:not(.calendar__day--selected){border:2px solid LinkText}.calendar__day--today:not(.calendar__day--selected):after{display:none}.calendar__day--disabled{color:GrayText}.field--error .field__input-wrapper{border-color:LinkText}}`;
|
|
7
|
+
var M = Object.defineProperty, C = Object.getOwnPropertyDescriptor, n = (t, e, r, a) => {
|
|
8
|
+
for (var o = a > 1 ? void 0 : a ? C(e, r) : e, i = t.length - 1, l; i >= 0; i--)
|
|
9
|
+
(l = t[i]) && (o = (a ? l(e, r, o) : l(o)) || o);
|
|
10
|
+
return a && o && M(e, r, o), o;
|
|
11
|
+
};
|
|
12
|
+
let S = 0, s = class extends w {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(), this.name = "", this.value = "", this.min = "", this.max = "", this.label = "", this.required = !1, this.disabled = !1, this.error = "", this.helpText = "", this.format = "MM/DD/YYYY", this.locale = "en-US", this.requiredMessage = "This field is required.", this.chooseDateLabel = "Choose a date", this.openCalendarLabel = "Open calendar", this.closeCalendarLabel = "Close calendar", this.previousMonthLabel = "Previous month", this.nextMonthLabel = "Next month", this._isOpen = !1, this._viewYear = (/* @__PURE__ */ new Date()).getFullYear(), this._viewMonth = (/* @__PURE__ */ new Date()).getMonth(), this._focusedDay = null, this._liveMessage = "", this._weekdayFormatter = null, this._monthFormatter = null, this._formatterLocale = "", this._cachedWeekdayNames = null, this._id = `hx-date-picker-${++S}`, this._inputId = `${this._id}-input`, this._helpTextId = `${this._id}-help`, this._errorId = `${this._id}-error`, this._calendarId = `${this._id}-calendar`, this._liveRegionId = `${this._id}-live`, this._hasLabelSlot = !1, this._hasErrorSlot = !1, this._boundHandleOutsideClick = (t) => this._handleOutsideClick(t), this._boundHandleDocumentKeydown = (t) => this._handleDocumentKeydown(t), this._internals = this.attachInternals();
|
|
15
|
+
}
|
|
16
|
+
/** @internal */
|
|
17
|
+
_handleLabelSlotChange(t) {
|
|
18
|
+
const e = t.target;
|
|
19
|
+
if (this._hasLabelSlot = e.assignedElements().length > 0, this._hasLabelSlot) {
|
|
20
|
+
const r = e.assignedElements()[0];
|
|
21
|
+
r && !r.id && (r.id = `${this._inputId}-slotted-label`);
|
|
22
|
+
}
|
|
23
|
+
this.requestUpdate();
|
|
24
|
+
}
|
|
25
|
+
/** @internal */
|
|
26
|
+
_handleErrorSlotChange(t) {
|
|
27
|
+
const e = t.target;
|
|
28
|
+
this._hasErrorSlot = e.assignedElements().length > 0, this.requestUpdate();
|
|
29
|
+
}
|
|
30
|
+
// ─── Lifecycle ───
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
super.connectedCallback();
|
|
33
|
+
}
|
|
34
|
+
disconnectedCallback() {
|
|
35
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._boundHandleOutsideClick), document.removeEventListener("keydown", this._boundHandleDocumentKeydown);
|
|
36
|
+
}
|
|
37
|
+
updated(t) {
|
|
38
|
+
if (super.updated(t), t.has("value") && (this._internals.setFormValue(this.value), this._updateValidity()), t.has("_isOpen"))
|
|
39
|
+
if (this._isOpen) {
|
|
40
|
+
const e = this._parseISODate(this.value);
|
|
41
|
+
e && (this._viewYear = e.getFullYear(), this._viewMonth = e.getMonth()), document.addEventListener("click", this._boundHandleOutsideClick), document.addEventListener("keydown", this._boundHandleDocumentKeydown), this.updateComplete.then(() => {
|
|
42
|
+
this._focusActiveDay();
|
|
43
|
+
});
|
|
44
|
+
} else
|
|
45
|
+
document.removeEventListener("click", this._boundHandleOutsideClick), document.removeEventListener("keydown", this._boundHandleDocumentKeydown), this._focusedDay = null;
|
|
46
|
+
if ((t.has("_viewMonth") || t.has("_viewYear")) && this._isOpen) {
|
|
47
|
+
const e = this._getMonthName(this._viewMonth);
|
|
48
|
+
this._liveMessage = `${e} ${this._viewYear}`, this.updateComplete.then(() => {
|
|
49
|
+
this._focusActiveDay();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/** @internal */
|
|
54
|
+
_handleOutsideClick(t) {
|
|
55
|
+
t.composedPath().includes(this) || this._closeCalendar();
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
_handleDocumentKeydown(t) {
|
|
59
|
+
t.key === "Escape" && this._isOpen && this._closeCalendar();
|
|
60
|
+
}
|
|
61
|
+
// ─── Form Integration ───
|
|
62
|
+
/** The form element associated with this component, or null if not in a form. */
|
|
63
|
+
get form() {
|
|
64
|
+
return this._internals.form;
|
|
65
|
+
}
|
|
66
|
+
/** The current validation message, or an empty string if the field is valid. */
|
|
67
|
+
get validationMessage() {
|
|
68
|
+
return this._internals.validationMessage;
|
|
69
|
+
}
|
|
70
|
+
/** The current validity state of the field. */
|
|
71
|
+
get validity() {
|
|
72
|
+
return this._internals.validity;
|
|
73
|
+
}
|
|
74
|
+
checkValidity() {
|
|
75
|
+
return this._internals.checkValidity();
|
|
76
|
+
}
|
|
77
|
+
reportValidity() {
|
|
78
|
+
return this._internals.reportValidity();
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
_updateValidity() {
|
|
82
|
+
this.required && !this.value ? this._internals.setValidity(
|
|
83
|
+
{ valueMissing: !0 },
|
|
84
|
+
this.error || this.requiredMessage,
|
|
85
|
+
this._input
|
|
86
|
+
) : this._internals.setValidity({});
|
|
87
|
+
}
|
|
88
|
+
/** @internal */
|
|
89
|
+
formResetCallback() {
|
|
90
|
+
this.value = "", this._internals.setFormValue(null), this._isOpen = !1;
|
|
91
|
+
}
|
|
92
|
+
/** @internal */
|
|
93
|
+
formStateRestoreCallback(t, e) {
|
|
94
|
+
typeof t == "string" && (this.value = t);
|
|
95
|
+
}
|
|
96
|
+
/** @internal */
|
|
97
|
+
formDisabledCallback(t) {
|
|
98
|
+
this.disabled = t;
|
|
99
|
+
}
|
|
100
|
+
// ─── Public Methods ───
|
|
101
|
+
focus(t) {
|
|
102
|
+
var e;
|
|
103
|
+
(e = this._trigger) == null || e.focus(t);
|
|
104
|
+
}
|
|
105
|
+
// ─── Date Utilities ───
|
|
106
|
+
/** @internal */
|
|
107
|
+
_parseISODate(t) {
|
|
108
|
+
if (!t) return null;
|
|
109
|
+
const e = /* @__PURE__ */ new Date(t + "T00:00:00");
|
|
110
|
+
return isNaN(e.getTime()) ? null : e;
|
|
111
|
+
}
|
|
112
|
+
/** @internal */
|
|
113
|
+
_toISO(t) {
|
|
114
|
+
const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0");
|
|
115
|
+
return `${e}-${r}-${a}`;
|
|
116
|
+
}
|
|
117
|
+
/** @internal */
|
|
118
|
+
_formatForDisplay(t) {
|
|
119
|
+
const e = this._parseISODate(t);
|
|
120
|
+
return e ? e.toLocaleDateString(this.locale, {
|
|
121
|
+
year: "numeric",
|
|
122
|
+
month: "2-digit",
|
|
123
|
+
day: "2-digit"
|
|
124
|
+
}) : "";
|
|
125
|
+
}
|
|
126
|
+
/** @internal */
|
|
127
|
+
_isDateDisabled(t) {
|
|
128
|
+
const e = this._toISO(t);
|
|
129
|
+
return !!(this.min && e < this.min || this.max && e > this.max);
|
|
130
|
+
}
|
|
131
|
+
/** @internal */
|
|
132
|
+
_isSameDay(t, e) {
|
|
133
|
+
return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth() && t.getDate() === e.getDate();
|
|
134
|
+
}
|
|
135
|
+
/** @internal */
|
|
136
|
+
_isToday(t) {
|
|
137
|
+
return this._isSameDay(t, /* @__PURE__ */ new Date());
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Ensure memoized Intl.DateTimeFormat instances exist and match the current locale.
|
|
141
|
+
* Rebuilds only when locale changes; also clears the cached weekday names.
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
_ensureFormatters() {
|
|
145
|
+
this._formatterLocale === this.locale && this._weekdayFormatter && this._monthFormatter || (this._weekdayFormatter = new Intl.DateTimeFormat(this.locale, { weekday: "short" }), this._monthFormatter = new Intl.DateTimeFormat(this.locale, { month: "long" }), this._formatterLocale = this.locale, this._cachedWeekdayNames = null);
|
|
146
|
+
}
|
|
147
|
+
/** @internal */
|
|
148
|
+
_getMonthName(t) {
|
|
149
|
+
return this._ensureFormatters(), (this._monthFormatter ?? new Intl.DateTimeFormat(this.locale, { month: "long" })).format(new Date(2e3, t, 1));
|
|
150
|
+
}
|
|
151
|
+
/** @internal */
|
|
152
|
+
_getDayName(t) {
|
|
153
|
+
return this._ensureFormatters(), (this._weekdayFormatter ?? new Intl.DateTimeFormat(this.locale, { weekday: "short" })).format(new Date(2e3, 0, 2 + t));
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Returns the 7 cached weekday header strings for the current locale.
|
|
157
|
+
* Computed once per locale and reused across all renders.
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
_getWeekdayNames() {
|
|
161
|
+
return this._ensureFormatters(), this._cachedWeekdayNames || (this._cachedWeekdayNames = Array.from({ length: 7 }, (t, e) => this._getDayName(e))), this._cachedWeekdayNames;
|
|
162
|
+
}
|
|
163
|
+
// ─── Calendar Grid ───
|
|
164
|
+
/**
|
|
165
|
+
* Returns an array of Date objects (or null for padding cells) representing
|
|
166
|
+
* the 6-week grid for the current view month.
|
|
167
|
+
*/
|
|
168
|
+
/** @internal */
|
|
169
|
+
_getDaysInGrid() {
|
|
170
|
+
const e = new Date(this._viewYear, this._viewMonth, 1).getDay(), r = new Date(this._viewYear, this._viewMonth + 1, 0).getDate(), a = [];
|
|
171
|
+
for (let i = 0; i < e; i++)
|
|
172
|
+
a.push(null);
|
|
173
|
+
for (let i = 1; i <= r; i++)
|
|
174
|
+
a.push(new Date(this._viewYear, this._viewMonth, i));
|
|
175
|
+
const o = a.length % 7;
|
|
176
|
+
if (o !== 0)
|
|
177
|
+
for (let i = 0; i < 7 - o; i++)
|
|
178
|
+
a.push(null);
|
|
179
|
+
return a;
|
|
180
|
+
}
|
|
181
|
+
// ─── Calendar Open/Close ───
|
|
182
|
+
/** @internal */
|
|
183
|
+
_openCalendar() {
|
|
184
|
+
this.disabled || (this._isOpen = !0);
|
|
185
|
+
}
|
|
186
|
+
/** @internal */
|
|
187
|
+
_closeCalendar() {
|
|
188
|
+
this._isOpen = !1, this.updateComplete.then(() => {
|
|
189
|
+
var t;
|
|
190
|
+
(t = this._trigger) == null || t.focus();
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/** @internal */
|
|
194
|
+
_toggleCalendar() {
|
|
195
|
+
this._isOpen ? this._closeCalendar() : this._openCalendar();
|
|
196
|
+
}
|
|
197
|
+
// ─── Focus Management ───
|
|
198
|
+
/** @internal */
|
|
199
|
+
_focusActiveDay() {
|
|
200
|
+
if (!this._calendar) return;
|
|
201
|
+
const t = this.value, e = this._parseISODate(t);
|
|
202
|
+
let r = null;
|
|
203
|
+
if (e && e.getFullYear() === this._viewYear && e.getMonth() === this._viewMonth)
|
|
204
|
+
r = e.getDate();
|
|
205
|
+
else {
|
|
206
|
+
const a = /* @__PURE__ */ new Date();
|
|
207
|
+
if (a.getFullYear() === this._viewYear && a.getMonth() === this._viewMonth) {
|
|
208
|
+
const o = new Date(this._viewYear, this._viewMonth, a.getDate());
|
|
209
|
+
this._isDateDisabled(o) || (r = a.getDate());
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
if (r === null) {
|
|
213
|
+
const a = new Date(this._viewYear, this._viewMonth + 1, 0).getDate();
|
|
214
|
+
for (let o = 1; o <= a; o++) {
|
|
215
|
+
const i = new Date(this._viewYear, this._viewMonth, o);
|
|
216
|
+
if (!this._isDateDisabled(i)) {
|
|
217
|
+
r = o;
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
r !== null && (this._focusedDay = r, this.updateComplete.then(() => {
|
|
223
|
+
var o;
|
|
224
|
+
const a = (o = this._calendar) == null ? void 0 : o.querySelector(`[data-day="${r}"]`);
|
|
225
|
+
a == null || a.focus();
|
|
226
|
+
}));
|
|
227
|
+
}
|
|
228
|
+
// ─── Month Navigation ───
|
|
229
|
+
/** @internal */
|
|
230
|
+
_prevMonth() {
|
|
231
|
+
this._viewMonth === 0 ? (this._viewMonth = 11, this._viewYear = this._viewYear - 1) : this._viewMonth = this._viewMonth - 1;
|
|
232
|
+
}
|
|
233
|
+
/** @internal */
|
|
234
|
+
_nextMonth() {
|
|
235
|
+
this._viewMonth === 11 ? (this._viewMonth = 0, this._viewYear = this._viewYear + 1) : this._viewMonth = this._viewMonth + 1;
|
|
236
|
+
}
|
|
237
|
+
// ─── Day Selection ───
|
|
238
|
+
/** @internal */
|
|
239
|
+
_selectDay(t) {
|
|
240
|
+
if (this._isDateDisabled(t)) return;
|
|
241
|
+
const e = this._toISO(t);
|
|
242
|
+
this.value = e, this._internals.setFormValue(e), this._updateValidity(), this.dispatchEvent(
|
|
243
|
+
new CustomEvent("hx-change", {
|
|
244
|
+
bubbles: !0,
|
|
245
|
+
composed: !0,
|
|
246
|
+
detail: { value: e, date: t }
|
|
247
|
+
})
|
|
248
|
+
), this._closeCalendar();
|
|
249
|
+
}
|
|
250
|
+
// ─── Calendar Keyboard Navigation ───
|
|
251
|
+
/** @internal */
|
|
252
|
+
_handleCalendarKeydown(t) {
|
|
253
|
+
const { key: e } = t;
|
|
254
|
+
if (e === "Tab") {
|
|
255
|
+
this._handleCalendarTab(t);
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
if (e === "Escape") {
|
|
259
|
+
t.stopPropagation(), this._closeCalendar();
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
if (e !== "ArrowLeft" && e !== "ArrowRight" && e !== "ArrowUp" && e !== "ArrowDown" && e !== "Enter" && e !== " " && e !== "Home" && e !== "End" && e !== "PageUp" && e !== "PageDown")
|
|
263
|
+
return;
|
|
264
|
+
t.preventDefault();
|
|
265
|
+
const r = this._focusedDay ?? 1, a = new Date(this._viewYear, this._viewMonth + 1, 0).getDate();
|
|
266
|
+
if (e === "Enter" || e === " ") {
|
|
267
|
+
const i = new Date(this._viewYear, this._viewMonth, r);
|
|
268
|
+
this._isDateDisabled(i) || this._selectDay(i);
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
if (e === "PageUp") {
|
|
272
|
+
this._prevMonth();
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (e === "PageDown") {
|
|
276
|
+
this._nextMonth();
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
if (e === "Home") {
|
|
280
|
+
const l = new Date(this._viewYear, this._viewMonth, r).getDay(), c = r - l;
|
|
281
|
+
c >= 1 && (this._focusedDay = c, this.updateComplete.then(() => {
|
|
282
|
+
var h, u;
|
|
283
|
+
(u = (h = this._calendar) == null ? void 0 : h.querySelector(`[data-day="${c}"]`)) == null || u.focus();
|
|
284
|
+
}));
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
if (e === "End") {
|
|
288
|
+
const c = 6 - new Date(this._viewYear, this._viewMonth, r).getDay(), h = r + c;
|
|
289
|
+
h <= a && (this._focusedDay = h, this.updateComplete.then(() => {
|
|
290
|
+
var u, f;
|
|
291
|
+
(f = (u = this._calendar) == null ? void 0 : u.querySelector(`[data-day="${h}"]`)) == null || f.focus();
|
|
292
|
+
}));
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
let o = r;
|
|
296
|
+
if (e === "ArrowLeft" && (o = r - 1), e === "ArrowRight" && (o = r + 1), e === "ArrowUp" && (o = r - 7), e === "ArrowDown" && (o = r + 7), o < 1) {
|
|
297
|
+
this._prevMonth();
|
|
298
|
+
const i = new Date(this._viewYear, this._viewMonth + 1, 0).getDate();
|
|
299
|
+
this._focusedDay = i + o, this.updateComplete.then(() => {
|
|
300
|
+
var c, h;
|
|
301
|
+
const l = this._focusedDay;
|
|
302
|
+
(h = (c = this._calendar) == null ? void 0 : c.querySelector(`[data-day="${l}"]`)) == null || h.focus();
|
|
303
|
+
});
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
if (o > a) {
|
|
307
|
+
const i = o - a;
|
|
308
|
+
this._nextMonth(), this._focusedDay = i, this.updateComplete.then(() => {
|
|
309
|
+
var c, h;
|
|
310
|
+
const l = this._focusedDay;
|
|
311
|
+
(h = (c = this._calendar) == null ? void 0 : c.querySelector(`[data-day="${l}"]`)) == null || h.focus();
|
|
312
|
+
});
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
this._focusedDay = o, this.updateComplete.then(() => {
|
|
316
|
+
var i, l;
|
|
317
|
+
(l = (i = this._calendar) == null ? void 0 : i.querySelector(`[data-day="${o}"]`)) == null || l.focus();
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
// ─── Navigation Boundary Checks ───
|
|
321
|
+
/** @internal */
|
|
322
|
+
_isPrevMonthDisabled() {
|
|
323
|
+
if (!this.min) return !1;
|
|
324
|
+
const t = new Date(this._viewYear, this._viewMonth, 1), e = this._parseISODate(this.min);
|
|
325
|
+
return e ? t <= e : !1;
|
|
326
|
+
}
|
|
327
|
+
/** @internal */
|
|
328
|
+
_isNextMonthDisabled() {
|
|
329
|
+
if (!this.max) return !1;
|
|
330
|
+
const t = new Date(this._viewYear, this._viewMonth + 1, 0), e = this._parseISODate(this.max);
|
|
331
|
+
return e ? t >= e : !1;
|
|
332
|
+
}
|
|
333
|
+
// ─── Focus Trap ───
|
|
334
|
+
/** @internal */
|
|
335
|
+
_handleCalendarTab(t) {
|
|
336
|
+
var i, l;
|
|
337
|
+
if (t.key !== "Tab" || !this._isOpen) return;
|
|
338
|
+
const e = (i = this._calendar) == null ? void 0 : i.querySelectorAll(
|
|
339
|
+
'button:not([disabled]), [tabindex="0"]'
|
|
340
|
+
);
|
|
341
|
+
if (!e || e.length === 0) return;
|
|
342
|
+
const r = e[0], a = e[e.length - 1], o = (l = this.shadowRoot) == null ? void 0 : l.activeElement;
|
|
343
|
+
t.shiftKey ? o === r && (t.preventDefault(), a == null || a.focus()) : o === a && (t.preventDefault(), r == null || r.focus());
|
|
344
|
+
}
|
|
345
|
+
// ─── Render Helpers ───
|
|
346
|
+
/** @internal */
|
|
347
|
+
_renderWeekdayHeaders() {
|
|
348
|
+
const e = this._getWeekdayNames().map(
|
|
349
|
+
(r) => _`<div class="calendar__weekday" role="columnheader" aria-label=${r}>
|
|
350
|
+
${r.slice(0, 2)}
|
|
351
|
+
</div>`
|
|
352
|
+
);
|
|
353
|
+
return _`<div class="calendar__row" role="row">${e}</div>`;
|
|
354
|
+
}
|
|
355
|
+
/** @internal */
|
|
356
|
+
_renderDayGrid() {
|
|
357
|
+
const t = this._getDaysInGrid(), e = this._parseISODate(this.value), r = [];
|
|
358
|
+
for (let a = 0; a < t.length; a += 7) {
|
|
359
|
+
const o = t.slice(a, a + 7).map((i) => {
|
|
360
|
+
if (i === null)
|
|
361
|
+
return _`<div class="calendar__day-cell" role="gridcell" aria-hidden="true"></div>`;
|
|
362
|
+
const l = e ? this._isSameDay(i, e) : !1, c = this._isToday(i), h = this._isDateDisabled(i), u = this._focusedDay === i.getDate(), f = i.getDate(), b = i.toLocaleDateString(this.locale, {
|
|
363
|
+
weekday: "long",
|
|
364
|
+
year: "numeric",
|
|
365
|
+
month: "long",
|
|
366
|
+
day: "numeric"
|
|
367
|
+
});
|
|
368
|
+
return _`<div class="calendar__day-cell">
|
|
369
|
+
<button
|
|
370
|
+
part="day"
|
|
371
|
+
class=${g({
|
|
372
|
+
calendar__day: !0,
|
|
373
|
+
"calendar__day--selected": l,
|
|
374
|
+
"calendar__day--today": c,
|
|
375
|
+
"calendar__day--disabled": h
|
|
376
|
+
})}
|
|
377
|
+
type="button"
|
|
378
|
+
role="gridcell"
|
|
379
|
+
data-day=${f}
|
|
380
|
+
aria-label=${b}
|
|
381
|
+
aria-selected=${l ? "true" : "false"}
|
|
382
|
+
aria-disabled=${h ? "true" : p}
|
|
383
|
+
aria-current=${c ? "date" : p}
|
|
384
|
+
tabindex=${u ? "0" : "-1"}
|
|
385
|
+
?disabled=${h}
|
|
386
|
+
@click=${() => {
|
|
387
|
+
this._selectDay(i);
|
|
388
|
+
}}
|
|
389
|
+
>
|
|
390
|
+
${f}
|
|
391
|
+
</button>
|
|
392
|
+
</div>`;
|
|
393
|
+
});
|
|
394
|
+
r.push(_`<div class="calendar__row" role="row">${o}</div>`);
|
|
395
|
+
}
|
|
396
|
+
return r;
|
|
397
|
+
}
|
|
398
|
+
// ─── Render ───
|
|
399
|
+
render() {
|
|
400
|
+
const t = !!this.error || this._hasErrorSlot, e = this._formatForDisplay(this.value), r = this._getMonthName(this._viewMonth), a = {
|
|
401
|
+
field: !0,
|
|
402
|
+
"field--error": t,
|
|
403
|
+
"field--disabled": this.disabled,
|
|
404
|
+
"field--required": this.required
|
|
405
|
+
}, o = [t ? this._errorId : null, this.helpText ? this._helpTextId : null].filter(Boolean).join(" ") || void 0;
|
|
406
|
+
return _`
|
|
407
|
+
<div part="field" class=${g(a)}>
|
|
408
|
+
<!-- Label -->
|
|
409
|
+
<div class="field__label-wrapper">
|
|
410
|
+
<slot name="label" @slotchange=${this._handleLabelSlotChange}>
|
|
411
|
+
${this.label ? _`
|
|
412
|
+
<label part="label" class="field__label" for=${this._inputId}>
|
|
413
|
+
${this.label}
|
|
414
|
+
${this.required ? _`<span class="field__required-marker" aria-hidden="true">*</span>` : p}
|
|
415
|
+
</label>
|
|
416
|
+
` : p}
|
|
417
|
+
</slot>
|
|
418
|
+
</div>
|
|
419
|
+
|
|
420
|
+
<!-- Input + Trigger -->
|
|
421
|
+
<div part="input-wrapper" class="field__input-wrapper">
|
|
422
|
+
<input
|
|
423
|
+
part="input"
|
|
424
|
+
class="field__input"
|
|
425
|
+
id=${this._inputId}
|
|
426
|
+
type="text"
|
|
427
|
+
readonly
|
|
428
|
+
.value=${e}
|
|
429
|
+
placeholder=${y(this.format || void 0)}
|
|
430
|
+
?disabled=${this.disabled}
|
|
431
|
+
aria-labelledby=${y(
|
|
432
|
+
this._hasLabelSlot ? `${this._inputId}-slotted-label` : void 0
|
|
433
|
+
)}
|
|
434
|
+
aria-invalid=${t ? "true" : p}
|
|
435
|
+
aria-describedby=${y(o)}
|
|
436
|
+
aria-required=${this.required ? "true" : p}
|
|
437
|
+
aria-haspopup="dialog"
|
|
438
|
+
@click=${this._openCalendar}
|
|
439
|
+
/>
|
|
440
|
+
<button
|
|
441
|
+
part="trigger"
|
|
442
|
+
class="field__trigger"
|
|
443
|
+
type="button"
|
|
444
|
+
aria-label=${this._isOpen ? this.closeCalendarLabel : this.openCalendarLabel}
|
|
445
|
+
aria-haspopup="dialog"
|
|
446
|
+
aria-expanded=${this._isOpen ? "true" : "false"}
|
|
447
|
+
aria-controls=${this._calendarId}
|
|
448
|
+
?disabled=${this.disabled}
|
|
449
|
+
@click=${this._toggleCalendar}
|
|
450
|
+
>
|
|
451
|
+
<svg
|
|
452
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
453
|
+
width="16"
|
|
454
|
+
height="16"
|
|
455
|
+
viewBox="0 0 24 24"
|
|
456
|
+
fill="none"
|
|
457
|
+
stroke="currentColor"
|
|
458
|
+
stroke-width="2"
|
|
459
|
+
stroke-linecap="round"
|
|
460
|
+
stroke-linejoin="round"
|
|
461
|
+
aria-hidden="true"
|
|
462
|
+
focusable="false"
|
|
463
|
+
>
|
|
464
|
+
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
|
465
|
+
<line x1="16" y1="2" x2="16" y2="6"></line>
|
|
466
|
+
<line x1="8" y1="2" x2="8" y2="6"></line>
|
|
467
|
+
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
468
|
+
</svg>
|
|
469
|
+
</button>
|
|
470
|
+
</div>
|
|
471
|
+
|
|
472
|
+
<!-- Calendar Popup -->
|
|
473
|
+
${this._isOpen ? _`
|
|
474
|
+
<div
|
|
475
|
+
part="calendar"
|
|
476
|
+
class="calendar"
|
|
477
|
+
id=${this._calendarId}
|
|
478
|
+
role="dialog"
|
|
479
|
+
aria-modal="true"
|
|
480
|
+
aria-label=${this.chooseDateLabel}
|
|
481
|
+
@keydown=${this._handleCalendarKeydown}
|
|
482
|
+
>
|
|
483
|
+
<!-- Screen reader live region -->
|
|
484
|
+
<div
|
|
485
|
+
id=${this._liveRegionId}
|
|
486
|
+
class="calendar__live-region"
|
|
487
|
+
aria-live="polite"
|
|
488
|
+
aria-atomic="true"
|
|
489
|
+
>
|
|
490
|
+
${this._liveMessage}
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
<!-- Month Navigation -->
|
|
494
|
+
<div part="month-nav" class="calendar__nav">
|
|
495
|
+
<button
|
|
496
|
+
class="calendar__nav-btn"
|
|
497
|
+
type="button"
|
|
498
|
+
aria-label=${this.previousMonthLabel}
|
|
499
|
+
?disabled=${this._isPrevMonthDisabled()}
|
|
500
|
+
@click=${this._prevMonth}
|
|
501
|
+
>
|
|
502
|
+
‹
|
|
503
|
+
</button>
|
|
504
|
+
<span class="calendar__month-label" aria-hidden="true">
|
|
505
|
+
${r} ${this._viewYear}
|
|
506
|
+
</span>
|
|
507
|
+
<button
|
|
508
|
+
class="calendar__nav-btn"
|
|
509
|
+
type="button"
|
|
510
|
+
aria-label=${this.nextMonthLabel}
|
|
511
|
+
?disabled=${this._isNextMonthDisabled()}
|
|
512
|
+
@click=${this._nextMonth}
|
|
513
|
+
>
|
|
514
|
+
›
|
|
515
|
+
</button>
|
|
516
|
+
</div>
|
|
517
|
+
|
|
518
|
+
<!-- Day Grid -->
|
|
519
|
+
<div class="calendar__grid" role="grid" aria-label="${r} ${this._viewYear}">
|
|
520
|
+
${this._renderWeekdayHeaders()} ${this._renderDayGrid()}
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
` : p}
|
|
524
|
+
|
|
525
|
+
<!-- Error -->
|
|
526
|
+
<slot name="error" @slotchange=${this._handleErrorSlotChange}>
|
|
527
|
+
${this.error ? _`
|
|
528
|
+
<div part="error" class="field__error" id=${this._errorId} role="alert">
|
|
529
|
+
${this.error}
|
|
530
|
+
</div>
|
|
531
|
+
` : p}
|
|
532
|
+
</slot>
|
|
533
|
+
|
|
534
|
+
<!-- Help Text -->
|
|
535
|
+
${this.helpText && !t ? _`
|
|
536
|
+
<div part="help-text" class="field__help-text" id=${this._helpTextId}>
|
|
537
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
538
|
+
</div>
|
|
539
|
+
` : p}
|
|
540
|
+
</div>
|
|
541
|
+
`;
|
|
542
|
+
}
|
|
543
|
+
};
|
|
544
|
+
s.styles = [k, $];
|
|
545
|
+
s.formAssociated = !0;
|
|
546
|
+
n([
|
|
547
|
+
d({ type: String })
|
|
548
|
+
], s.prototype, "name", 2);
|
|
549
|
+
n([
|
|
550
|
+
d({ type: String })
|
|
551
|
+
], s.prototype, "value", 2);
|
|
552
|
+
n([
|
|
553
|
+
d({ type: String })
|
|
554
|
+
], s.prototype, "min", 2);
|
|
555
|
+
n([
|
|
556
|
+
d({ type: String })
|
|
557
|
+
], s.prototype, "max", 2);
|
|
558
|
+
n([
|
|
559
|
+
d({ type: String })
|
|
560
|
+
], s.prototype, "label", 2);
|
|
561
|
+
n([
|
|
562
|
+
d({ type: Boolean, reflect: !0 })
|
|
563
|
+
], s.prototype, "required", 2);
|
|
564
|
+
n([
|
|
565
|
+
d({ type: Boolean, reflect: !0 })
|
|
566
|
+
], s.prototype, "disabled", 2);
|
|
567
|
+
n([
|
|
568
|
+
d({ type: String })
|
|
569
|
+
], s.prototype, "error", 2);
|
|
570
|
+
n([
|
|
571
|
+
d({ type: String, attribute: "help-text" })
|
|
572
|
+
], s.prototype, "helpText", 2);
|
|
573
|
+
n([
|
|
574
|
+
d({ type: String })
|
|
575
|
+
], s.prototype, "format", 2);
|
|
576
|
+
n([
|
|
577
|
+
d({ type: String })
|
|
578
|
+
], s.prototype, "locale", 2);
|
|
579
|
+
n([
|
|
580
|
+
d({ attribute: "required-message" })
|
|
581
|
+
], s.prototype, "requiredMessage", 2);
|
|
582
|
+
n([
|
|
583
|
+
d({ attribute: "choose-date-label" })
|
|
584
|
+
], s.prototype, "chooseDateLabel", 2);
|
|
585
|
+
n([
|
|
586
|
+
d({ attribute: "open-calendar-label" })
|
|
587
|
+
], s.prototype, "openCalendarLabel", 2);
|
|
588
|
+
n([
|
|
589
|
+
d({ attribute: "close-calendar-label" })
|
|
590
|
+
], s.prototype, "closeCalendarLabel", 2);
|
|
591
|
+
n([
|
|
592
|
+
d({ attribute: "previous-month-label" })
|
|
593
|
+
], s.prototype, "previousMonthLabel", 2);
|
|
594
|
+
n([
|
|
595
|
+
d({ attribute: "next-month-label" })
|
|
596
|
+
], s.prototype, "nextMonthLabel", 2);
|
|
597
|
+
n([
|
|
598
|
+
v()
|
|
599
|
+
], s.prototype, "_isOpen", 2);
|
|
600
|
+
n([
|
|
601
|
+
v()
|
|
602
|
+
], s.prototype, "_viewYear", 2);
|
|
603
|
+
n([
|
|
604
|
+
v()
|
|
605
|
+
], s.prototype, "_viewMonth", 2);
|
|
606
|
+
n([
|
|
607
|
+
v()
|
|
608
|
+
], s.prototype, "_focusedDay", 2);
|
|
609
|
+
n([
|
|
610
|
+
v()
|
|
611
|
+
], s.prototype, "_liveMessage", 2);
|
|
612
|
+
n([
|
|
613
|
+
m(".field__input")
|
|
614
|
+
], s.prototype, "_input", 2);
|
|
615
|
+
n([
|
|
616
|
+
m(".field__trigger")
|
|
617
|
+
], s.prototype, "_trigger", 2);
|
|
618
|
+
n([
|
|
619
|
+
m(".calendar")
|
|
620
|
+
], s.prototype, "_calendar", 2);
|
|
621
|
+
s = n([
|
|
622
|
+
D("hx-date-picker")
|
|
623
|
+
], s);
|
|
624
|
+
export {
|
|
625
|
+
s as H
|
|
626
|
+
};
|
|
627
|
+
//# sourceMappingURL=hx-date-picker-R-0kWFwr.js.map
|