@helixui/library 3.6.0 → 3.8.0-next.145
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/README.md +41 -0
- package/aaa-verdicts.json +2036 -0
- package/custom-elements.json +3045 -1254
- package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
- package/dist/components/hx-accordion/hx-accordion-item.styles.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 +18 -0
- package/dist/components/hx-action-bar/hx-action-bar.d.ts.map +1 -1
- package/dist/components/hx-action-bar/hx-action-bar.styles.d.ts.map +1 -1
- package/dist/components/hx-action-bar/index.js +1 -1
- package/dist/components/hx-alert/hx-alert.d.ts +18 -8
- 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 +4 -1
- package/dist/components/hx-avatar/hx-avatar.d.ts.map +1 -1
- package/dist/components/hx-avatar/hx-avatar.styles.d.ts.map +1 -1
- package/dist/components/hx-avatar/index.js +1 -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 +19 -8
- 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-item.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb-item.styles.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts +18 -0
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/index.js +1 -1
- package/dist/components/hx-button/hx-button.d.ts +18 -0
- package/dist/components/hx-button/hx-button.d.ts.map +1 -1
- package/dist/components/hx-button/hx-button.styles.d.ts.map +1 -1
- package/dist/components/hx-button/index.js +1 -1
- package/dist/components/hx-button-group/hx-button-group.d.ts +47 -0
- package/dist/components/hx-button-group/hx-button-group.d.ts.map +1 -1
- package/dist/components/hx-button-group/index.js +1 -1
- package/dist/components/hx-carousel/hx-carousel.d.ts.map +1 -1
- package/dist/components/hx-carousel/hx-carousel.styles.d.ts.map +1 -1
- package/dist/components/hx-carousel/index.js +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts +18 -0
- 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 +36 -0
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts.map +1 -1
- package/dist/components/hx-checkbox-group/hx-checkbox-group.styles.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 +26 -9
- package/dist/components/hx-clinical-status/hx-clinical-status.d.ts.map +1 -1
- package/dist/components/hx-clinical-status/hx-clinical-status.styles.d.ts.map +1 -1
- package/dist/components/hx-clinical-status/index.js +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.d.ts +18 -0
- package/dist/components/hx-color-picker/hx-color-picker.d.ts.map +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-color-picker/index.js +1 -1
- package/dist/components/hx-combobox/hx-combobox.d.ts +18 -0
- package/dist/components/hx-combobox/hx-combobox.d.ts.map +1 -1
- package/dist/components/hx-combobox/hx-combobox.styles.d.ts.map +1 -1
- package/dist/components/hx-combobox/index.js +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.d.ts +18 -0
- package/dist/components/hx-copy-button/hx-copy-button.d.ts.map +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.styles.d.ts.map +1 -1
- package/dist/components/hx-copy-button/index.js +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.d.ts +18 -0
- package/dist/components/hx-date-picker/hx-date-picker.d.ts.map +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-date-picker/index.js +1 -1
- package/dist/components/hx-dialog/hx-dialog.d.ts +18 -0
- package/dist/components/hx-dialog/hx-dialog.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +18 -0
- package/dist/components/hx-drawer/hx-drawer.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.styles.d.ts.map +1 -1
- package/dist/components/hx-drawer/index.js +1 -1
- package/dist/components/hx-dropdown/hx-dropdown.d.ts +18 -0
- package/dist/components/hx-dropdown/hx-dropdown.d.ts.map +1 -1
- package/dist/components/hx-dropdown/hx-dropdown.styles.d.ts.map +1 -1
- package/dist/components/hx-dropdown/index.js +1 -1
- package/dist/components/hx-field/hx-field.d.ts +17 -0
- package/dist/components/hx-field/hx-field.d.ts.map +1 -1
- package/dist/components/hx-field-label/hx-field-label.d.ts +17 -0
- package/dist/components/hx-field-label/hx-field-label.d.ts.map +1 -1
- package/dist/components/hx-file-upload/hx-file-upload.d.ts +46 -0
- package/dist/components/hx-file-upload/hx-file-upload.d.ts.map +1 -1
- package/dist/components/hx-file-upload/hx-file-upload.styles.d.ts.map +1 -1
- package/dist/components/hx-file-upload/index.js +1 -1
- package/dist/components/hx-form/hx-form.d.ts +19 -0
- package/dist/components/hx-form/hx-form.d.ts.map +1 -1
- package/dist/components/hx-help-text/hx-help-text.d.ts +17 -0
- package/dist/components/hx-help-text/hx-help-text.d.ts.map +1 -1
- package/dist/components/hx-help-text/hx-help-text.styles.d.ts.map +1 -1
- package/dist/components/hx-help-text/index.js +1 -1
- package/dist/components/hx-icon/hx-icon.d.ts +108 -12
- package/dist/components/hx-icon/hx-icon.d.ts.map +1 -1
- package/dist/components/hx-icon/hx-icon.styles.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 +18 -0
- package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.styles.d.ts.map +1 -1
- package/dist/components/hx-icon-button/index.js +1 -1
- package/dist/components/hx-link/hx-link.d.ts.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-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 +18 -0
- package/dist/components/hx-menu/hx-menu.d.ts.map +1 -1
- package/dist/components/hx-menu/index.js +1 -1
- package/dist/components/hx-nav/hx-nav.d.ts +18 -0
- package/dist/components/hx-nav/hx-nav.d.ts.map +1 -1
- package/dist/components/hx-nav/hx-nav.styles.d.ts.map +1 -1
- package/dist/components/hx-nav/index.js +1 -1
- package/dist/components/hx-number-input/hx-number-input.d.ts +18 -0
- package/dist/components/hx-number-input/hx-number-input.d.ts.map +1 -1
- package/dist/components/hx-number-input/hx-number-input.styles.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 +23 -1
- 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.styles.d.ts.map +1 -1
- package/dist/components/hx-pagination/index.js +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.styles.d.ts.map +1 -1
- package/dist/components/hx-phi-field/index.js +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +18 -0
- package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
- package/dist/components/hx-popover/hx-popover.styles.d.ts.map +1 -1
- package/dist/components/hx-popover/index.js +1 -1
- package/dist/components/hx-popup/hx-popup.d.ts +18 -0
- 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-radio-group/hx-radio-group.d.ts +18 -0
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.styles.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 +19 -0
- 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 +18 -0
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- 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 +18 -0
- 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-slider/hx-slider.d.ts +47 -0
- package/dist/components/hx-slider/hx-slider.d.ts.map +1 -1
- package/dist/components/hx-slider/index.js +1 -1
- package/dist/components/hx-split-button/hx-split-button.d.ts +18 -0
- 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-stat/hx-stat.d.ts.map +1 -1
- package/dist/components/hx-stat/hx-stat.styles.d.ts.map +1 -1
- package/dist/components/hx-stat/index.js +1 -1
- 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/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +18 -0
- 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-tabs/hx-tab.styles.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tabs.d.ts +18 -0
- package/dist/components/hx-tabs/hx-tabs.d.ts.map +1 -1
- package/dist/components/hx-tabs/index.js +1 -1
- package/dist/components/hx-tag/hx-tag.d.ts.map +1 -1
- package/dist/components/hx-tag/hx-tag.styles.d.ts.map +1 -1
- package/dist/components/hx-tag/index.js +1 -1
- package/dist/components/hx-text-input/hx-text-input.d.ts +18 -0
- 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 +18 -0
- package/dist/components/hx-textarea/hx-textarea.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.d.ts +18 -0
- 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.d.ts +19 -8
- 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-toggle-button/hx-toggle-button.d.ts +18 -0
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.styles.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.d.ts +18 -0
- package/dist/components/hx-tooltip/hx-tooltip.d.ts.map +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.styles.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 +18 -0
- package/dist/components/hx-top-nav/hx-top-nav.d.ts.map +1 -1
- package/dist/components/hx-top-nav/hx-top-nav.styles.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.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.styles.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/css/helix-all.css +414 -118
- package/dist/css/helix-core.css +43 -19
- package/dist/css/helix-feedback.css +15 -18
- package/dist/css/helix-forms.css +172 -44
- package/dist/css/helix-media.css +6 -3
- package/dist/css/helix-navigation.css +65 -12
- package/dist/css/helix-overlay.css +63 -0
- package/dist/css/helix-tokens.css +18 -15
- package/dist/css/helix-utility.css +44 -12
- package/dist/css/hx-action-bar.css +12 -0
- package/dist/css/hx-alert.css +4 -8
- package/dist/css/hx-avatar.css +1 -2
- package/dist/css/hx-badge.css +10 -5
- package/dist/css/hx-banner.css +4 -8
- package/dist/css/hx-button.css +15 -5
- package/dist/css/hx-carousel.css +6 -3
- package/dist/css/hx-checkbox-group.css +11 -0
- package/dist/css/hx-checkbox.css +24 -13
- package/dist/css/hx-clinical-status.css +4 -7
- package/dist/css/hx-color-picker.css +14 -1
- package/dist/css/hx-combobox.css +8 -0
- package/dist/css/hx-copy-button.css +5 -2
- package/dist/css/hx-date-picker.css +16 -3
- package/dist/css/hx-drawer.css +5 -0
- package/dist/css/hx-dropdown.css +18 -0
- package/dist/css/hx-file-upload.css +4 -0
- package/dist/css/hx-help-text.css +5 -0
- package/dist/css/hx-icon-button.css +4 -5
- package/dist/css/hx-icon.css +7 -0
- package/dist/css/hx-link.css +1 -2
- package/dist/css/hx-nav.css +31 -2
- package/dist/css/hx-number-input.css +10 -11
- package/dist/css/hx-overflow-menu.css +5 -0
- package/dist/css/hx-pagination.css +6 -3
- package/dist/css/hx-phi-field.css +2 -3
- package/dist/css/hx-popover.css +13 -0
- package/dist/css/hx-popup.css +14 -0
- package/dist/css/hx-radio-group.css +10 -0
- package/dist/css/hx-rating.css +6 -0
- package/dist/css/hx-side-nav.css +10 -5
- package/dist/css/hx-split-button.css +27 -10
- package/dist/css/hx-stat.css +1 -2
- package/dist/css/hx-switch.css +19 -1
- package/dist/css/hx-tag.css +5 -0
- package/dist/css/hx-text-input.css +4 -1
- package/dist/css/hx-time-picker.css +12 -2
- package/dist/css/hx-toast.css +6 -0
- package/dist/css/hx-toggle-button.css +29 -12
- package/dist/css/hx-tooltip.css +13 -0
- package/dist/css/hx-top-nav.css +13 -2
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +60 -20
- package/dist/index.js +49 -49
- package/dist/shared/{hx-accordion-ZVzgDzTG.js → hx-accordion-DR--Ev4t.js} +48 -54
- package/dist/shared/hx-accordion-DR--Ev4t.js.map +1 -0
- package/dist/shared/{hx-action-bar-CitgcpGv.js → hx-action-bar-BlEG4aZv.js} +41 -29
- package/dist/shared/hx-action-bar-BlEG4aZv.js.map +1 -0
- package/dist/shared/{hx-alert-Bto8-TIi.js → hx-alert-C0axS32J.js} +40 -79
- package/dist/shared/hx-alert-C0axS32J.js.map +1 -0
- package/dist/shared/{hx-avatar-C9hOmlAb.js → hx-avatar-ChAYWnK8.js} +22 -24
- package/dist/shared/hx-avatar-ChAYWnK8.js.map +1 -0
- package/dist/shared/{hx-badge-JlFtAdxS.js → hx-badge-vX-1cuLA.js} +25 -20
- package/dist/shared/hx-badge-vX-1cuLA.js.map +1 -0
- package/dist/shared/{hx-banner-fpRnciIO.js → hx-banner-PbHwFNSb.js} +51 -90
- package/dist/shared/hx-banner-PbHwFNSb.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-3tKppF9h.js → hx-breadcrumb-item-D8xYqe3s.js} +56 -43
- package/dist/shared/hx-breadcrumb-item-D8xYqe3s.js.map +1 -0
- package/dist/shared/{hx-button-BOwAEcF1.js → hx-button-DOZTZnz-.js} +29 -19
- package/dist/shared/hx-button-DOZTZnz-.js.map +1 -0
- package/dist/shared/hx-button-group-D3QUmSzl.js +248 -0
- package/dist/shared/hx-button-group-D3QUmSzl.js.map +1 -0
- package/dist/shared/{hx-carousel-item-z1Lc24op.js → hx-carousel-item-BVIKgQ4i.js} +72 -102
- package/dist/shared/hx-carousel-item-BVIKgQ4i.js.map +1 -0
- package/dist/shared/{hx-checkbox-CYd0YV_u.js → hx-checkbox-DDSXXhps.js} +56 -47
- package/dist/shared/hx-checkbox-DDSXXhps.js.map +1 -0
- package/dist/shared/{hx-checkbox-group-D5piJLY8.js → hx-checkbox-group-C0q6HDqn.js} +101 -58
- package/dist/shared/hx-checkbox-group-C0q6HDqn.js.map +1 -0
- package/dist/shared/{hx-clinical-status-D3XQIOqX.js → hx-clinical-status-ZSVEc3Qg.js} +68 -87
- package/dist/shared/hx-clinical-status-ZSVEc3Qg.js.map +1 -0
- package/dist/shared/{hx-color-picker-DBwJzT5f.js → hx-color-picker-CYjx8i8R.js} +97 -84
- package/dist/shared/hx-color-picker-CYjx8i8R.js.map +1 -0
- package/dist/shared/{hx-combobox-NgJaLbs2.js → hx-combobox-Be-mqOv4.js} +35 -45
- package/dist/shared/hx-combobox-Be-mqOv4.js.map +1 -0
- package/dist/shared/{hx-copy-button-sUVuikyH.js → hx-copy-button-DJirFCUL.js} +18 -15
- package/dist/shared/hx-copy-button-DJirFCUL.js.map +1 -0
- package/dist/shared/{hx-date-picker-B49yo4Vm.js → hx-date-picker-CziP3Hm1.js} +85 -84
- package/dist/shared/hx-date-picker-CziP3Hm1.js.map +1 -0
- package/dist/shared/hx-dialog-B4weoj_1.js.map +1 -1
- package/dist/shared/{hx-drawer-CM_upadk.js → hx-drawer-BlU2oX8-.js} +32 -36
- package/dist/shared/hx-drawer-BlU2oX8-.js.map +1 -0
- package/dist/shared/{hx-dropdown-D626S2ZG.js → hx-dropdown-DREqpIpm.js} +51 -33
- package/dist/shared/hx-dropdown-DREqpIpm.js.map +1 -0
- package/dist/shared/hx-field-label-BVRyyKeh.js.map +1 -1
- package/dist/shared/hx-field-zw0U1KVi.js.map +1 -1
- package/dist/shared/{hx-file-upload-D3rKROK5.js → hx-file-upload-CU5QGZSP.js} +137 -80
- package/dist/shared/hx-file-upload-CU5QGZSP.js.map +1 -0
- package/dist/shared/hx-form-CkChEATa.js.map +1 -1
- package/dist/shared/hx-help-text-CNaZ82LT.js +137 -0
- package/dist/shared/hx-help-text-CNaZ82LT.js.map +1 -0
- package/dist/shared/{hx-icon-button-a6OpeQz5.js → hx-icon-button-B2BdVdyK.js} +10 -11
- package/dist/shared/hx-icon-button-B2BdVdyK.js.map +1 -0
- package/dist/shared/hx-icon-bxz9eB9a.js +386 -0
- package/dist/shared/hx-icon-bxz9eB9a.js.map +1 -0
- package/dist/shared/{hx-link-CMnZRUtQ.js → hx-link-BURSdYLp.js} +19 -26
- package/dist/shared/hx-link-BURSdYLp.js.map +1 -0
- package/dist/shared/{hx-menu-divider-A6Guuzi_.js → hx-menu-divider-g0grbWV9.js} +19 -31
- package/dist/shared/hx-menu-divider-g0grbWV9.js.map +1 -0
- package/dist/shared/{hx-nav-ldFM3Fle.js → hx-nav-GTsAZGOx.js} +94 -85
- package/dist/shared/hx-nav-GTsAZGOx.js.map +1 -0
- package/dist/shared/{hx-nav-item-CODtUlew.js → hx-nav-item-CxE7Mp3M.js} +46 -41
- package/dist/shared/hx-nav-item-CxE7Mp3M.js.map +1 -0
- package/dist/shared/{hx-number-input-yUzFOSC1.js → hx-number-input-Bvyc9kOi.js} +59 -64
- package/dist/shared/hx-number-input-Bvyc9kOi.js.map +1 -0
- package/dist/shared/{hx-overflow-menu-DFjJAziP.js → hx-overflow-menu-LrTteeR1.js} +32 -39
- package/dist/shared/{hx-overflow-menu-DFjJAziP.js.map → hx-overflow-menu-LrTteeR1.js.map} +1 -1
- package/dist/shared/{hx-pagination-C7y8GVyU.js → hx-pagination-D726PyTM.js} +7 -4
- package/dist/shared/hx-pagination-D726PyTM.js.map +1 -0
- package/dist/shared/{hx-phi-field-C19oxlrr.js → hx-phi-field-sZt_rYIL.js} +46 -66
- package/dist/shared/hx-phi-field-sZt_rYIL.js.map +1 -0
- package/dist/shared/{hx-popover-BAlAFOH9.js → hx-popover-BjB0nkcq.js} +51 -38
- package/dist/shared/hx-popover-BjB0nkcq.js.map +1 -0
- package/dist/shared/{hx-popup-COUXXZ9X.js → hx-popup-BiV_2evC.js} +59 -45
- package/dist/shared/hx-popup-BiV_2evC.js.map +1 -0
- package/dist/shared/{hx-radio-C7eTj5YI.js → hx-radio-BD_c9NJy.js} +52 -39
- package/dist/shared/hx-radio-BD_c9NJy.js.map +1 -0
- package/dist/shared/{hx-rating-C3QP53k9.js → hx-rating-BGK4AxvI.js} +45 -71
- package/dist/shared/hx-rating-BGK4AxvI.js.map +1 -0
- package/dist/shared/hx-select-DahFehiZ.js.map +1 -1
- package/dist/shared/{hx-slider-Blmv_rwS.js → hx-slider-CkOk5BCY.js} +83 -23
- package/dist/shared/hx-slider-CkOk5BCY.js.map +1 -0
- package/dist/shared/{hx-split-button-Ddle8iVx.js → hx-split-button-Bg9FHrFK.js} +73 -65
- package/dist/shared/hx-split-button-Bg9FHrFK.js.map +1 -0
- package/dist/shared/{hx-stat-Gtw_SpK8.js → hx-stat-wKxbyep6.js} +22 -55
- package/dist/shared/hx-stat-wKxbyep6.js.map +1 -0
- package/dist/shared/{hx-step-R2rjp1fT.js → hx-step-CyGQAuiB.js} +7 -27
- package/dist/shared/hx-step-CyGQAuiB.js.map +1 -0
- package/dist/shared/{hx-switch-TvKGvZJz.js → hx-switch-BCXuNxEH.js} +42 -24
- package/dist/shared/hx-switch-BCXuNxEH.js.map +1 -0
- package/dist/shared/{hx-tab-panel-DzsX8BHV.js → hx-tab-panel-BfisavKo.js} +47 -32
- package/dist/shared/hx-tab-panel-BfisavKo.js.map +1 -0
- package/dist/shared/{hx-tag-C5aCUpVi.js → hx-tag-BqO6HY6V.js} +26 -21
- package/dist/shared/hx-tag-BqO6HY6V.js.map +1 -0
- package/dist/shared/{hx-text-input-D6FlOZM-.js → hx-text-input-V5sQOpDh.js} +5 -2
- package/dist/shared/hx-text-input-V5sQOpDh.js.map +1 -0
- package/dist/shared/hx-textarea-CNG590KY.js.map +1 -1
- package/dist/shared/{hx-time-picker-Bo7FWzmf.js → hx-time-picker-if5Cl0Ei.js} +42 -43
- package/dist/shared/hx-time-picker-if5Cl0Ei.js.map +1 -0
- package/dist/shared/{hx-toggle-button-DwBers3A.js → hx-toggle-button-xNVYeA3X.js} +64 -47
- package/dist/shared/hx-toggle-button-xNVYeA3X.js.map +1 -0
- package/dist/shared/{hx-tooltip-DVqtKPCD.js → hx-tooltip-CamO-9nd.js} +24 -11
- package/dist/shared/hx-tooltip-CamO-9nd.js.map +1 -0
- package/dist/shared/{hx-top-nav-DP6OFS8C.js → hx-top-nav-vP6oDWMV.js} +42 -44
- package/dist/shared/hx-top-nav-vP6oDWMV.js.map +1 -0
- package/dist/shared/{hx-tree-item-CXyspGxI.js → hx-tree-item-D8hwKd5m.js} +54 -57
- package/dist/shared/hx-tree-item-D8hwKd5m.js.map +1 -0
- package/dist/shared/{toast-factory-Dht3pVsw.js → toast-factory-DgnbFxVs.js} +127 -153
- package/dist/shared/toast-factory-DgnbFxVs.js.map +1 -0
- package/figma-inventory.json +1280 -429
- package/package.json +8 -4
- package/dist/shared/hx-accordion-ZVzgDzTG.js.map +0 -1
- package/dist/shared/hx-action-bar-CitgcpGv.js.map +0 -1
- package/dist/shared/hx-alert-Bto8-TIi.js.map +0 -1
- package/dist/shared/hx-avatar-C9hOmlAb.js.map +0 -1
- package/dist/shared/hx-badge-JlFtAdxS.js.map +0 -1
- package/dist/shared/hx-banner-fpRnciIO.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-3tKppF9h.js.map +0 -1
- package/dist/shared/hx-button-BOwAEcF1.js.map +0 -1
- package/dist/shared/hx-button-group-4NUBpkyC.js +0 -181
- package/dist/shared/hx-button-group-4NUBpkyC.js.map +0 -1
- package/dist/shared/hx-carousel-item-z1Lc24op.js.map +0 -1
- package/dist/shared/hx-checkbox-CYd0YV_u.js.map +0 -1
- package/dist/shared/hx-checkbox-group-D5piJLY8.js.map +0 -1
- package/dist/shared/hx-clinical-status-D3XQIOqX.js.map +0 -1
- package/dist/shared/hx-color-picker-DBwJzT5f.js.map +0 -1
- package/dist/shared/hx-combobox-NgJaLbs2.js.map +0 -1
- package/dist/shared/hx-copy-button-sUVuikyH.js.map +0 -1
- package/dist/shared/hx-date-picker-B49yo4Vm.js.map +0 -1
- package/dist/shared/hx-drawer-CM_upadk.js.map +0 -1
- package/dist/shared/hx-dropdown-D626S2ZG.js.map +0 -1
- package/dist/shared/hx-file-upload-D3rKROK5.js.map +0 -1
- package/dist/shared/hx-help-text-Xb2Yr8x2.js +0 -156
- package/dist/shared/hx-help-text-Xb2Yr8x2.js.map +0 -1
- package/dist/shared/hx-icon-button-a6OpeQz5.js.map +0 -1
- package/dist/shared/hx-icon-fuVm4-bk.js +0 -283
- package/dist/shared/hx-icon-fuVm4-bk.js.map +0 -1
- package/dist/shared/hx-link-CMnZRUtQ.js.map +0 -1
- package/dist/shared/hx-menu-divider-A6Guuzi_.js.map +0 -1
- package/dist/shared/hx-nav-item-CODtUlew.js.map +0 -1
- package/dist/shared/hx-nav-ldFM3Fle.js.map +0 -1
- package/dist/shared/hx-number-input-yUzFOSC1.js.map +0 -1
- package/dist/shared/hx-pagination-C7y8GVyU.js.map +0 -1
- package/dist/shared/hx-phi-field-C19oxlrr.js.map +0 -1
- package/dist/shared/hx-popover-BAlAFOH9.js.map +0 -1
- package/dist/shared/hx-popup-COUXXZ9X.js.map +0 -1
- package/dist/shared/hx-radio-C7eTj5YI.js.map +0 -1
- package/dist/shared/hx-rating-C3QP53k9.js.map +0 -1
- package/dist/shared/hx-slider-Blmv_rwS.js.map +0 -1
- package/dist/shared/hx-split-button-Ddle8iVx.js.map +0 -1
- package/dist/shared/hx-stat-Gtw_SpK8.js.map +0 -1
- package/dist/shared/hx-step-R2rjp1fT.js.map +0 -1
- package/dist/shared/hx-switch-TvKGvZJz.js.map +0 -1
- package/dist/shared/hx-tab-panel-DzsX8BHV.js.map +0 -1
- package/dist/shared/hx-tag-C5aCUpVi.js.map +0 -1
- package/dist/shared/hx-text-input-D6FlOZM-.js.map +0 -1
- package/dist/shared/hx-time-picker-Bo7FWzmf.js.map +0 -1
- package/dist/shared/hx-toggle-button-DwBers3A.js.map +0 -1
- package/dist/shared/hx-tooltip-DVqtKPCD.js.map +0 -1
- package/dist/shared/hx-top-nav-DP6OFS8C.js.map +0 -1
- package/dist/shared/hx-tree-item-CXyspGxI.js.map +0 -1
- package/dist/shared/toast-factory-Dht3pVsw.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { css as z, html as
|
|
2
|
-
import { property as
|
|
1
|
+
import { css as z, html as m, nothing as D } from "lit";
|
|
2
|
+
import { property as d, state as _, query as N, customElement as W } from "lit/decorators.js";
|
|
3
3
|
import { F as G } from "./FormMixin-B8PXk5RQ.js";
|
|
4
4
|
import { classMap as B } from "lit/directives/class-map.js";
|
|
5
|
-
import { ifDefined as
|
|
6
|
-
import { b as
|
|
5
|
+
import { ifDefined as V } from "lit/directives/if-defined.js";
|
|
6
|
+
import { b as U } from "./forced-colors-CTEDFRGa.js";
|
|
7
7
|
import { s as j, i as P, r as q } from "./aria-idref-DCuEaknC.js";
|
|
8
8
|
import { f as k } from "./aria-flatten-DY6v2vah.js";
|
|
9
9
|
import { H as K } from "./helix-element-BNEYeiys.js";
|
|
@@ -115,7 +115,8 @@ const J = z`
|
|
|
115
115
|
font-size: var(--hx-font-size-md, 1rem);
|
|
116
116
|
color: var(--hx-date-picker-color, var(--hx-color-text-strong, #202b39));
|
|
117
117
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
118
|
-
|
|
118
|
+
/* WCAG 2.5.5 (Enhanced) AAA — primary input surface must meet 44×44. */
|
|
119
|
+
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
119
120
|
width: 100%;
|
|
120
121
|
cursor: default;
|
|
121
122
|
}
|
|
@@ -136,6 +137,10 @@ const J = z`
|
|
|
136
137
|
display: flex;
|
|
137
138
|
align-items: center;
|
|
138
139
|
justify-content: center;
|
|
140
|
+
/* WCAG 2.5.5 (Enhanced) AAA — calendar trigger must clear 44×44.
|
|
141
|
+
Without min-width the icon button collapses to ~41 px wide. */
|
|
142
|
+
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
143
|
+
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
139
144
|
padding: 0 var(--hx-space-3, 0.75rem);
|
|
140
145
|
border: none;
|
|
141
146
|
border-left: var(--hx-border-width-thin, 1px) solid
|
|
@@ -309,13 +314,16 @@ const J = z`
|
|
|
309
314
|
}
|
|
310
315
|
|
|
311
316
|
.calendar__day--selected {
|
|
312
|
-
background-color: var(--hx-date-picker-selected-bg, var(--hx-color-primary-
|
|
317
|
+
background-color: var(--hx-date-picker-selected-bg, var(--hx-color-action-primary-bg, #0f7078));
|
|
313
318
|
color: var(--hx-date-picker-selected-color, var(--hx-color-text-on-primary, #ffffff));
|
|
314
319
|
font-weight: var(--hx-font-weight-semibold, 600);
|
|
315
320
|
}
|
|
316
321
|
|
|
317
322
|
.calendar__day--selected:hover {
|
|
318
|
-
background-color: var(
|
|
323
|
+
background-color: var(
|
|
324
|
+
--hx-date-picker-selected-hover-bg,
|
|
325
|
+
var(--hx-color-action-primary-bg-hover, #0f6363)
|
|
326
|
+
);
|
|
319
327
|
}
|
|
320
328
|
|
|
321
329
|
.calendar__day--today:not(.calendar__day--selected) {
|
|
@@ -431,6 +439,11 @@ const J = z`
|
|
|
431
439
|
border-color: LinkText;
|
|
432
440
|
}
|
|
433
441
|
}
|
|
442
|
+
|
|
443
|
+
/* hx-icon glyph sizing for the migrated calendar trigger SVG. */
|
|
444
|
+
.field__trigger-glyph {
|
|
445
|
+
--hx-icon-size: 16px;
|
|
446
|
+
}
|
|
434
447
|
`;
|
|
435
448
|
var Q = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, n = (t, e, r, a) => {
|
|
436
449
|
for (var i = a > 1 ? void 0 : a ? Z(e, r) : e, s = t.length - 1, o; s >= 0; s--)
|
|
@@ -545,8 +558,8 @@ let l = class extends G(K) {
|
|
|
545
558
|
if (s.nodeType === Node.ELEMENT_NODE) {
|
|
546
559
|
const o = s;
|
|
547
560
|
if (r.push(o), o.getAttribute("aria-hidden") === "true") continue;
|
|
548
|
-
const
|
|
549
|
-
|
|
561
|
+
const h = k(o);
|
|
562
|
+
h && a.push(h);
|
|
550
563
|
} else if (s.nodeType === Node.TEXT_NODE) {
|
|
551
564
|
const o = (s.textContent ?? "").trim();
|
|
552
565
|
o && a.push(o);
|
|
@@ -657,42 +670,42 @@ let l = class extends G(K) {
|
|
|
657
670
|
this._invalid !== u && (this._invalid = u);
|
|
658
671
|
return;
|
|
659
672
|
}
|
|
660
|
-
const r = this.getAttribute("aria-label"), a = r !== null && r.trim() || "", i = ((H = this.shadowRoot) == null ? void 0 : H.getElementById(this._labelId)) ?? null, s = this._slottedLabelEls, o = ((F = this.shadowRoot) == null ? void 0 : F.getElementById(this._helpTextId)) ?? null,
|
|
673
|
+
const r = this.getAttribute("aria-label"), a = r !== null && r.trim() || "", i = ((H = this.shadowRoot) == null ? void 0 : H.getElementById(this._labelId)) ?? null, s = this._slottedLabelEls, o = ((F = this.shadowRoot) == null ? void 0 : F.getElementById(this._helpTextId)) ?? null, h = ((Y = this.shadowRoot) == null ? void 0 : Y.getElementById(this._errorId)) ?? null, c = this.getAttribute("aria-labelledby");
|
|
661
674
|
this._consumerLabelledBy = c;
|
|
662
675
|
const p = this.getAttribute("aria-describedby");
|
|
663
676
|
this._consumerDescribedBy = p;
|
|
664
|
-
const f = q(this, this._consumerLabelledBy), w = f.length > 0,
|
|
665
|
-
this._installExternalRefsObserver([...f, ...
|
|
677
|
+
const f = q(this, this._consumerLabelledBy), w = f.length > 0, y = q(this, this._consumerDescribedBy);
|
|
678
|
+
this._installExternalRefsObserver([...f, ...y]);
|
|
666
679
|
const v = !!(this.error || this._hasErrorSlot), L = !t.validity.valid || v;
|
|
667
680
|
this._invalid !== L && (this._invalid = L);
|
|
668
681
|
const x = typeof this.accessibleLabel == "string" && this.accessibleLabel.trim().length > 0 ? this.accessibleLabel : null, O = (u) => u.getAttribute("aria-hidden") !== "true" && !u.hasAttribute("hidden"), S = [];
|
|
669
682
|
x || (S.push(...f.filter(O)), !w && !a && (this._labelSource === "slot" && s.length > 0 ? S.push(...s.filter(O)) : this._labelSource === "string" && i && S.push(i)));
|
|
670
|
-
const
|
|
671
|
-
if (o && !v && this._hasHelpSlot &&
|
|
683
|
+
const E = [...y.filter(O)];
|
|
684
|
+
if (o && !v && this._hasHelpSlot && E.push(o), h && v && E.push(h), this._supportsIdrefRefs) {
|
|
672
685
|
const u = t;
|
|
673
|
-
u.ariaLabelledByElements = S.length > 0 ? S : null, u.ariaDescribedByElements =
|
|
686
|
+
u.ariaLabelledByElements = S.length > 0 ? S : null, u.ariaDescribedByElements = E.length > 0 ? E : null, x ? t.ariaLabel = x : t.ariaLabel = null;
|
|
674
687
|
}
|
|
675
|
-
const
|
|
676
|
-
let b = null,
|
|
677
|
-
if (!x && w && (
|
|
688
|
+
const A = (u) => u.filter(O).map((C) => k(C)).filter((C) => C.length > 0).join(" ");
|
|
689
|
+
let b = null, M = null, I = "";
|
|
690
|
+
if (!x && w && (I = A(f)), x)
|
|
678
691
|
b = x;
|
|
679
|
-
else if (
|
|
680
|
-
b =
|
|
692
|
+
else if (I)
|
|
693
|
+
b = I;
|
|
681
694
|
else if (a)
|
|
682
695
|
b = a;
|
|
683
696
|
else if (this._labelSource === "slot") {
|
|
684
697
|
if (this._labelSlotText)
|
|
685
698
|
b = this._labelSlotText;
|
|
686
699
|
else if (s.length > 0) {
|
|
687
|
-
const u =
|
|
700
|
+
const u = A(s);
|
|
688
701
|
u && (b = u);
|
|
689
702
|
}
|
|
690
|
-
} else this._labelSource === "string" && (i != null && i.id ?
|
|
691
|
-
|
|
692
|
-
const
|
|
693
|
-
|
|
703
|
+
} else this._labelSource === "string" && (i != null && i.id ? M = i.id : this.label && (b = this.label));
|
|
704
|
+
M ? (e.getAttribute("aria-labelledby") !== M && e.setAttribute("aria-labelledby", M), e.hasAttribute("aria-label") && e.removeAttribute("aria-label")) : b ? (e.getAttribute("aria-label") !== b && e.setAttribute("aria-label", b), e.hasAttribute("aria-labelledby") && e.removeAttribute("aria-labelledby")) : (e.hasAttribute("aria-label") && e.removeAttribute("aria-label"), e.hasAttribute("aria-labelledby") && e.removeAttribute("aria-labelledby"));
|
|
705
|
+
const T = ((R = this.shadowRoot) == null ? void 0 : R.getElementById(this._consumerDescId)) ?? null, $ = A(y);
|
|
706
|
+
T && T.textContent !== $ && (T.textContent = $);
|
|
694
707
|
const g = [];
|
|
695
|
-
if (
|
|
708
|
+
if ($ && T && g.push(this._consumerDescId), o && !v && this._hasHelpSlot && g.push(this._helpTextId), h && v && g.push(this._errorId), !this._hasHelpSlot && this.helpText && !v && o && !g.includes(this._helpTextId) && g.push(this._helpTextId), g.length > 0) {
|
|
696
709
|
const u = g.join(" ");
|
|
697
710
|
e.getAttribute("aria-describedby") !== u && e.setAttribute("aria-describedby", u);
|
|
698
711
|
} else e.hasAttribute("aria-describedby") && e.removeAttribute("aria-describedby");
|
|
@@ -999,15 +1012,15 @@ let l = class extends G(K) {
|
|
|
999
1012
|
return;
|
|
1000
1013
|
}
|
|
1001
1014
|
if (e === "Home") {
|
|
1002
|
-
const o = new Date(this._viewYear, this._viewMonth, r).getDay(),
|
|
1003
|
-
|
|
1015
|
+
const o = new Date(this._viewYear, this._viewMonth, r).getDay(), h = r - o;
|
|
1016
|
+
h >= 1 && (this._focusedDay = h, this.updateComplete.then(() => {
|
|
1004
1017
|
var c, p;
|
|
1005
|
-
(p = (c = this._calendar) == null ? void 0 : c.querySelector(`[data-day="${
|
|
1018
|
+
(p = (c = this._calendar) == null ? void 0 : c.querySelector(`[data-day="${h}"]`)) == null || p.focus();
|
|
1006
1019
|
}));
|
|
1007
1020
|
return;
|
|
1008
1021
|
}
|
|
1009
1022
|
if (e === "End") {
|
|
1010
|
-
const
|
|
1023
|
+
const h = 6 - new Date(this._viewYear, this._viewMonth, r).getDay(), c = r + h;
|
|
1011
1024
|
c <= a && (this._focusedDay = c, this.updateComplete.then(() => {
|
|
1012
1025
|
var p, f;
|
|
1013
1026
|
(f = (p = this._calendar) == null ? void 0 : p.querySelector(`[data-day="${c}"]`)) == null || f.focus();
|
|
@@ -1019,18 +1032,18 @@ let l = class extends G(K) {
|
|
|
1019
1032
|
this._prevMonth();
|
|
1020
1033
|
const s = new Date(this._viewYear, this._viewMonth + 1, 0).getDate();
|
|
1021
1034
|
this._focusedDay = s + i, this.updateComplete.then(() => {
|
|
1022
|
-
var
|
|
1035
|
+
var h, c;
|
|
1023
1036
|
const o = this._focusedDay;
|
|
1024
|
-
(c = (
|
|
1037
|
+
(c = (h = this._calendar) == null ? void 0 : h.querySelector(`[data-day="${o}"]`)) == null || c.focus();
|
|
1025
1038
|
});
|
|
1026
1039
|
return;
|
|
1027
1040
|
}
|
|
1028
1041
|
if (i > a) {
|
|
1029
1042
|
const s = i - a;
|
|
1030
1043
|
this._nextMonth(), this._focusedDay = s, this.updateComplete.then(() => {
|
|
1031
|
-
var
|
|
1044
|
+
var h, c;
|
|
1032
1045
|
const o = this._focusedDay;
|
|
1033
|
-
(c = (
|
|
1046
|
+
(c = (h = this._calendar) == null ? void 0 : h.querySelector(`[data-day="${o}"]`)) == null || c.focus();
|
|
1034
1047
|
});
|
|
1035
1048
|
return;
|
|
1036
1049
|
}
|
|
@@ -1068,11 +1081,11 @@ let l = class extends G(K) {
|
|
|
1068
1081
|
/** @internal */
|
|
1069
1082
|
_renderWeekdayHeaders() {
|
|
1070
1083
|
const e = this._getWeekdayNames().map(
|
|
1071
|
-
(r) =>
|
|
1084
|
+
(r) => m`<div class="calendar__weekday" role="columnheader" aria-label=${r}>
|
|
1072
1085
|
${r.slice(0, 2)}
|
|
1073
1086
|
</div>`
|
|
1074
1087
|
);
|
|
1075
|
-
return
|
|
1088
|
+
return m`<div class="calendar__row" role="row">${e}</div>`;
|
|
1076
1089
|
}
|
|
1077
1090
|
/** @internal */
|
|
1078
1091
|
_renderDayGrid() {
|
|
@@ -1080,12 +1093,12 @@ let l = class extends G(K) {
|
|
|
1080
1093
|
for (let i = 0; i < t.length; i += 7) {
|
|
1081
1094
|
const s = t.slice(i, i + 7).map((o) => {
|
|
1082
1095
|
if (o === null)
|
|
1083
|
-
return
|
|
1084
|
-
const
|
|
1085
|
-
return
|
|
1096
|
+
return m`<div class="calendar__day-cell" role="gridcell" aria-hidden="true"></div>`;
|
|
1097
|
+
const h = e ? this._isSameDay(o, e) : !1, c = this._isSameDay(o, r), p = this._isDateDisabled(o), f = this._focusedDay === o.getDate(), w = o.getDate(), y = this._toISO(o), v = this._dayAriaLabels.get(y) ?? y;
|
|
1098
|
+
return m`<div
|
|
1086
1099
|
class="calendar__day-cell"
|
|
1087
1100
|
role="gridcell"
|
|
1088
|
-
aria-selected=${
|
|
1101
|
+
aria-selected=${h ? "true" : "false"}
|
|
1089
1102
|
aria-disabled=${p ? "true" : D}
|
|
1090
1103
|
aria-current=${c ? "date" : D}
|
|
1091
1104
|
>
|
|
@@ -1093,13 +1106,13 @@ let l = class extends G(K) {
|
|
|
1093
1106
|
part="day"
|
|
1094
1107
|
class=${B({
|
|
1095
1108
|
calendar__day: !0,
|
|
1096
|
-
"calendar__day--selected":
|
|
1109
|
+
"calendar__day--selected": h,
|
|
1097
1110
|
"calendar__day--today": c,
|
|
1098
1111
|
"calendar__day--disabled": p
|
|
1099
1112
|
})}
|
|
1100
1113
|
type="button"
|
|
1101
1114
|
data-day=${w}
|
|
1102
|
-
data-date=${
|
|
1115
|
+
data-date=${y}
|
|
1103
1116
|
aria-label=${v}
|
|
1104
1117
|
tabindex=${f ? "0" : "-1"}
|
|
1105
1118
|
?disabled=${p}
|
|
@@ -1108,7 +1121,7 @@ let l = class extends G(K) {
|
|
|
1108
1121
|
</button>
|
|
1109
1122
|
</div>`;
|
|
1110
1123
|
});
|
|
1111
|
-
a.push(
|
|
1124
|
+
a.push(m`<div class="calendar__row" role="row">${s}</div>`);
|
|
1112
1125
|
}
|
|
1113
1126
|
return a;
|
|
1114
1127
|
}
|
|
@@ -1120,15 +1133,15 @@ let l = class extends G(K) {
|
|
|
1120
1133
|
"field--disabled": this.disabled,
|
|
1121
1134
|
"field--required": this.required
|
|
1122
1135
|
};
|
|
1123
|
-
return
|
|
1136
|
+
return m`
|
|
1124
1137
|
<div part="field" class=${B(a)}>
|
|
1125
1138
|
<!-- Label -->
|
|
1126
1139
|
<div class="field__label-wrapper">
|
|
1127
1140
|
<slot name="label" @slotchange=${this._handleLabelSlotChange}>
|
|
1128
|
-
${this.label ?
|
|
1141
|
+
${this.label ? m`
|
|
1129
1142
|
<label part="label" id=${this._labelId} class="field__label" for=${this._inputId}>
|
|
1130
1143
|
${this.label}
|
|
1131
|
-
${this.required ?
|
|
1144
|
+
${this.required ? m`<span class="field__required-marker" aria-hidden="true">*</span>` : D}
|
|
1132
1145
|
</label>
|
|
1133
1146
|
` : D}
|
|
1134
1147
|
</slot>
|
|
@@ -1152,7 +1165,7 @@ let l = class extends G(K) {
|
|
|
1152
1165
|
type="text"
|
|
1153
1166
|
readonly
|
|
1154
1167
|
.value=${e}
|
|
1155
|
-
placeholder=${
|
|
1168
|
+
placeholder=${V(this.format || void 0)}
|
|
1156
1169
|
?disabled=${this.disabled}
|
|
1157
1170
|
aria-invalid=${this._invalid ? "true" : "false"}
|
|
1158
1171
|
aria-required=${this.required ? "true" : "false"}
|
|
@@ -1171,24 +1184,12 @@ let l = class extends G(K) {
|
|
|
1171
1184
|
?disabled=${this.disabled}
|
|
1172
1185
|
@click=${this._toggleCalendar}
|
|
1173
1186
|
>
|
|
1174
|
-
<
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
viewBox="0 0 24 24"
|
|
1179
|
-
fill="none"
|
|
1180
|
-
stroke="currentColor"
|
|
1181
|
-
stroke-width="2"
|
|
1182
|
-
stroke-linecap="round"
|
|
1183
|
-
stroke-linejoin="round"
|
|
1187
|
+
<hx-icon
|
|
1188
|
+
class="field__trigger-glyph"
|
|
1189
|
+
library="helix"
|
|
1190
|
+
name="calendar"
|
|
1184
1191
|
aria-hidden="true"
|
|
1185
|
-
|
|
1186
|
-
>
|
|
1187
|
-
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
|
1188
|
-
<line x1="16" y1="2" x2="16" y2="6"></line>
|
|
1189
|
-
<line x1="8" y1="2" x2="8" y2="6"></line>
|
|
1190
|
-
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
1191
|
-
</svg>
|
|
1192
|
+
></hx-icon>
|
|
1192
1193
|
</button>
|
|
1193
1194
|
</div>
|
|
1194
1195
|
|
|
@@ -1284,62 +1285,62 @@ let l = class extends G(K) {
|
|
|
1284
1285
|
`;
|
|
1285
1286
|
}
|
|
1286
1287
|
};
|
|
1287
|
-
l.styles = [J,
|
|
1288
|
+
l.styles = [J, U];
|
|
1288
1289
|
l.formAssociated = !0;
|
|
1289
1290
|
l.__testSupportsIdrefRefsOverride = null;
|
|
1290
1291
|
n([
|
|
1291
|
-
|
|
1292
|
+
d({ type: String, reflect: !0 })
|
|
1292
1293
|
], l.prototype, "name", 2);
|
|
1293
1294
|
n([
|
|
1294
|
-
|
|
1295
|
+
d({ type: String })
|
|
1295
1296
|
], l.prototype, "value", 2);
|
|
1296
1297
|
n([
|
|
1297
|
-
|
|
1298
|
+
d({ type: String })
|
|
1298
1299
|
], l.prototype, "min", 2);
|
|
1299
1300
|
n([
|
|
1300
|
-
|
|
1301
|
+
d({ type: String })
|
|
1301
1302
|
], l.prototype, "max", 2);
|
|
1302
1303
|
n([
|
|
1303
|
-
|
|
1304
|
+
d({ type: String })
|
|
1304
1305
|
], l.prototype, "label", 2);
|
|
1305
1306
|
n([
|
|
1306
|
-
|
|
1307
|
+
d({ type: Boolean, reflect: !0 })
|
|
1307
1308
|
], l.prototype, "required", 2);
|
|
1308
1309
|
n([
|
|
1309
|
-
|
|
1310
|
+
d({ type: Boolean, reflect: !0 })
|
|
1310
1311
|
], l.prototype, "disabled", 2);
|
|
1311
1312
|
n([
|
|
1312
|
-
|
|
1313
|
+
d({ type: String })
|
|
1313
1314
|
], l.prototype, "error", 2);
|
|
1314
1315
|
n([
|
|
1315
|
-
|
|
1316
|
+
d({ type: String, attribute: "help-text" })
|
|
1316
1317
|
], l.prototype, "helpText", 2);
|
|
1317
1318
|
n([
|
|
1318
|
-
|
|
1319
|
+
d({ type: String })
|
|
1319
1320
|
], l.prototype, "format", 2);
|
|
1320
1321
|
n([
|
|
1321
|
-
|
|
1322
|
+
d({ type: String })
|
|
1322
1323
|
], l.prototype, "locale", 2);
|
|
1323
1324
|
n([
|
|
1324
|
-
|
|
1325
|
+
d({ type: String, attribute: "required-message" })
|
|
1325
1326
|
], l.prototype, "requiredMessage", 2);
|
|
1326
1327
|
n([
|
|
1327
|
-
|
|
1328
|
+
d({ type: String, attribute: "choose-date-label" })
|
|
1328
1329
|
], l.prototype, "chooseDateLabel", 2);
|
|
1329
1330
|
n([
|
|
1330
|
-
|
|
1331
|
+
d({ type: String, attribute: "open-calendar-label" })
|
|
1331
1332
|
], l.prototype, "openCalendarLabel", 2);
|
|
1332
1333
|
n([
|
|
1333
|
-
|
|
1334
|
+
d({ type: String, attribute: "close-calendar-label" })
|
|
1334
1335
|
], l.prototype, "closeCalendarLabel", 2);
|
|
1335
1336
|
n([
|
|
1336
|
-
|
|
1337
|
+
d({ type: String, attribute: "previous-month-label" })
|
|
1337
1338
|
], l.prototype, "previousMonthLabel", 2);
|
|
1338
1339
|
n([
|
|
1339
|
-
|
|
1340
|
+
d({ type: String, attribute: "next-month-label" })
|
|
1340
1341
|
], l.prototype, "nextMonthLabel", 2);
|
|
1341
1342
|
n([
|
|
1342
|
-
|
|
1343
|
+
d({ type: String, attribute: "accessible-label" })
|
|
1343
1344
|
], l.prototype, "accessibleLabel", 2);
|
|
1344
1345
|
n([
|
|
1345
1346
|
_()
|
|
@@ -1395,4 +1396,4 @@ l = n([
|
|
|
1395
1396
|
export {
|
|
1396
1397
|
l as H
|
|
1397
1398
|
};
|
|
1398
|
-
//# sourceMappingURL=hx-date-picker-
|
|
1399
|
+
//# sourceMappingURL=hx-date-picker-CziP3Hm1.js.map
|