@helixui/library 3.1.0 → 3.2.0-next.76
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 +6810 -579
- package/dist/components/hx-accordion/hx-accordion-item.d.ts.map +1 -1
- package/dist/components/hx-accordion/hx-accordion.d.ts +3 -0
- package/dist/components/hx-accordion/hx-accordion.d.ts.map +1 -1
- package/dist/components/hx-accordion/index.js +1 -1
- package/dist/components/hx-action-bar/hx-action-bar.d.ts +14 -0
- 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 +36 -0
- package/dist/components/hx-alert/hx-alert.d.ts.map +1 -1
- package/dist/components/hx-alert/hx-alert.styles.d.ts +12 -0
- 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 +17 -0
- 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 +35 -0
- package/dist/components/hx-badge/hx-badge.d.ts.map +1 -1
- package/dist/components/hx-badge/index.js +1 -1
- package/dist/components/hx-banner/hx-banner.d.ts +34 -0
- package/dist/components/hx-banner/hx-banner.d.ts.map +1 -1
- package/dist/components/hx-banner/hx-banner.styles.d.ts +12 -0
- 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.d.ts +3 -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 +42 -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 +2 -0
- package/dist/components/hx-button-group/hx-button-group.d.ts.map +1 -1
- package/dist/components/hx-button-group/hx-button-group.styles.d.ts.map +1 -1
- package/dist/components/hx-button-group/index.js +1 -1
- package/dist/components/hx-card/hx-card.d.ts +28 -0
- package/dist/components/hx-card/hx-card.d.ts.map +1 -1
- package/dist/components/hx-card/hx-card.styles.d.ts +9 -0
- package/dist/components/hx-card/hx-card.styles.d.ts.map +1 -1
- package/dist/components/hx-card/index.js +1 -1
- package/dist/components/hx-carousel/hx-carousel.d.ts +25 -0
- package/dist/components/hx-carousel/hx-carousel.d.ts.map +1 -1
- package/dist/components/hx-carousel/hx-carousel.styles.d.ts.map +1 -1
- package/dist/components/hx-carousel/index.js +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts +38 -7
- package/dist/components/hx-checkbox/hx-checkbox.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 +16 -2
- 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 +37 -0
- package/dist/components/hx-clinical-status/hx-clinical-status.d.ts.map +1 -1
- package/dist/components/hx-clinical-status/index.js +1 -1
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts +35 -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/hx-color-picker.d.ts +29 -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 +49 -0
- package/dist/components/hx-combobox/hx-combobox.d.ts.map +1 -1
- package/dist/components/hx-combobox/index.js +1 -1
- package/dist/components/hx-container/hx-container.d.ts +5 -0
- package/dist/components/hx-container/hx-container.d.ts.map +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.d.ts +24 -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-counter/hx-counter.d.ts +7 -0
- package/dist/components/hx-counter/hx-counter.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 +29 -0
- package/dist/components/hx-data-table/hx-data-table.d.ts.map +1 -1
- package/dist/components/hx-data-table/hx-data-table.styles.d.ts.map +1 -1
- package/dist/components/hx-data-table/index.js +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.d.ts +44 -0
- package/dist/components/hx-date-picker/hx-date-picker.d.ts.map +1 -1
- package/dist/components/hx-date-picker/index.js +1 -1
- package/dist/components/hx-dialog/hx-dialog.d.ts +31 -0
- package/dist/components/hx-dialog/hx-dialog.d.ts.map +1 -1
- package/dist/components/hx-dialog/hx-dialog.styles.d.ts +10 -0
- 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 +9 -0
- 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 +30 -0
- package/dist/components/hx-drawer/hx-drawer.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.styles.d.ts +10 -0
- 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 +6 -0
- package/dist/components/hx-dropdown/hx-dropdown.d.ts.map +1 -1
- package/dist/components/hx-dropdown/index.js +1 -1
- package/dist/components/hx-field/hx-field.d.ts +15 -0
- 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.d.ts +11 -0
- package/dist/components/hx-field-label/hx-field-label.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 +35 -0
- package/dist/components/hx-file-upload/hx-file-upload.d.ts.map +1 -1
- package/dist/components/hx-file-upload/index.js +1 -1
- package/dist/components/hx-form/index.js +1 -1
- package/dist/components/hx-grid/hx-grid.d.ts +5 -0
- package/dist/components/hx-grid/hx-grid.d.ts.map +1 -1
- package/dist/components/hx-help-text/hx-help-text.d.ts +8 -0
- package/dist/components/hx-help-text/hx-help-text.d.ts.map +1 -1
- package/dist/components/hx-help-text/index.js +1 -1
- package/dist/components/hx-icon/hx-icon.d.ts +5 -0
- 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 +27 -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-image/hx-image.d.ts +4 -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 +15 -0
- package/dist/components/hx-link/hx-link.d.ts.map +1 -1
- package/dist/components/hx-link/index.js +1 -1
- package/dist/components/hx-list/hx-list-item.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list.d.ts +3 -0
- 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-divider.d.ts.map +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 +6 -0
- package/dist/components/hx-menu/hx-menu.d.ts.map +1 -1
- package/dist/components/hx-menu/index.js +1 -1
- package/dist/components/hx-meter/hx-meter.d.ts +23 -0
- package/dist/components/hx-meter/hx-meter.d.ts.map +1 -1
- package/dist/components/hx-meter/hx-meter.styles.d.ts.map +1 -1
- package/dist/components/hx-meter/index.js +1 -1
- package/dist/components/hx-nav/hx-nav.d.ts +29 -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 +34 -0
- package/dist/components/hx-number-input/hx-number-input.d.ts.map +1 -1
- package/dist/components/hx-number-input/index.js +1 -1
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts +26 -0
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts.map +1 -1
- package/dist/components/hx-overflow-menu/hx-overflow-menu.styles.d.ts.map +1 -1
- package/dist/components/hx-overflow-menu/index.js +1 -1
- package/dist/components/hx-pagination/hx-pagination.d.ts +21 -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 +23 -0
- package/dist/components/hx-patient-banner/hx-patient-banner.d.ts.map +1 -1
- package/dist/components/hx-patient-banner/hx-patient-banner.styles.d.ts.map +1 -1
- package/dist/components/hx-patient-banner/index.js +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.d.ts +19 -5
- package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -1
- package/dist/components/hx-phi-field/index.js +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +15 -0
- package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
- package/dist/components/hx-popover/hx-popover.styles.d.ts +9 -0
- 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 +1 -0
- package/dist/components/hx-popup/hx-popup.d.ts.map +1 -1
- package/dist/components/hx-popup/hx-popup.styles.d.ts +9 -0
- 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 +17 -0
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts.map +1 -1
- package/dist/components/hx-progress-bar/index.js +1 -1
- package/dist/components/hx-progress-ring/hx-progress-ring.d.ts +15 -0
- 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 +2 -0
- 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 +17 -3
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.d.ts +5 -5
- package/dist/components/hx-radio-group/hx-radio.d.ts.map +1 -1
- package/dist/components/hx-radio-group/index.js +1 -1
- package/dist/components/hx-rating/hx-rating.d.ts +13 -0
- package/dist/components/hx-rating/hx-rating.d.ts.map +1 -1
- package/dist/components/hx-rating/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +43 -0
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- package/dist/components/hx-select/hx-select.styles.d.ts.map +1 -1
- package/dist/components/hx-select/index.js +1 -1
- package/dist/components/hx-side-nav/hx-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 +19 -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-skeleton/hx-skeleton.d.ts +5 -0
- package/dist/components/hx-skeleton/hx-skeleton.d.ts.map +1 -1
- package/dist/components/hx-skeleton/index.js +1 -1
- package/dist/components/hx-slider/hx-slider.d.ts +38 -0
- 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 +10 -0
- package/dist/components/hx-spinner/hx-spinner.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 +39 -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-split-panel/hx-split-panel.d.ts +12 -0
- package/dist/components/hx-split-panel/hx-split-panel.d.ts.map +1 -1
- package/dist/components/hx-split-panel/hx-split-panel.styles.d.ts.map +1 -1
- package/dist/components/hx-split-panel/index.js +1 -1
- package/dist/components/hx-stack/hx-stack.d.ts +5 -0
- package/dist/components/hx-stack/hx-stack.d.ts.map +1 -1
- package/dist/components/hx-stat/hx-stat.d.ts +24 -0
- 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 +13 -0
- 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.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 +15 -0
- package/dist/components/hx-steps/hx-steps.d.ts.map +1 -1
- package/dist/components/hx-steps/index.js +1 -1
- package/dist/components/hx-structured-list/hx-structured-list.d.ts +7 -0
- package/dist/components/hx-structured-list/hx-structured-list.d.ts.map +1 -1
- package/dist/components/hx-structured-list/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +42 -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-table/hx-table.d.ts +20 -6
- package/dist/components/hx-table/hx-table.d.ts.map +1 -1
- package/dist/components/hx-table/hx-td.d.ts +1 -1
- package/dist/components/hx-table/index.js +1 -1
- package/dist/components/hx-tabs/hx-tab-panel.d.ts +2 -2
- package/dist/components/hx-tabs/hx-tab-panel.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tab.d.ts +6 -6
- package/dist/components/hx-tabs/hx-tab.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tabs.d.ts +12 -8
- 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 +36 -0
- package/dist/components/hx-tag/hx-tag.d.ts.map +1 -1
- package/dist/components/hx-tag/index.js +1 -1
- package/dist/components/hx-text/hx-text.d.ts +22 -0
- package/dist/components/hx-text/hx-text.d.ts.map +1 -1
- package/dist/components/hx-text/hx-text.styles.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 +30 -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 +12 -0
- 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 +27 -0
- package/dist/components/hx-textarea/hx-textarea.d.ts.map +1 -1
- package/dist/components/hx-textarea/hx-textarea.styles.d.ts.map +1 -1
- package/dist/components/hx-textarea/index.js +1 -1
- package/dist/components/hx-theme/hx-theme.d.ts +3 -0
- 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 +32 -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 +24 -0
- package/dist/components/hx-toast/hx-toast.d.ts.map +1 -1
- package/dist/components/hx-toast/hx-toast.styles.d.ts +10 -0
- 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 +35 -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 +13 -0
- package/dist/components/hx-tooltip/hx-tooltip.d.ts.map +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.styles.d.ts +8 -0
- 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 +21 -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/hx-tree-view.d.ts +6 -0
- package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/css/helix-all.css +1173 -828
- package/dist/css/helix-core.css +215 -154
- package/dist/css/helix-data.css +58 -45
- package/dist/css/helix-feedback.css +119 -92
- package/dist/css/helix-forms.css +502 -332
- package/dist/css/helix-layout.css +9 -6
- package/dist/css/helix-media.css +13 -9
- package/dist/css/helix-navigation.css +86 -59
- package/dist/css/helix-overlay.css +65 -50
- package/dist/css/helix-tokens.css +113 -101
- package/dist/css/helix-utility.css +57 -40
- package/dist/css/hx-action-bar.css +5 -5
- package/dist/css/hx-alert.css +27 -23
- package/dist/css/hx-avatar.css +3 -3
- package/dist/css/hx-badge.css +22 -22
- package/dist/css/hx-banner.css +31 -24
- package/dist/css/hx-button-group.css +31 -14
- package/dist/css/hx-button.css +38 -21
- package/dist/css/hx-card.css +26 -12
- package/dist/css/hx-carousel.css +13 -9
- package/dist/css/hx-checkbox-group.css +5 -5
- package/dist/css/hx-checkbox.css +19 -19
- package/dist/css/hx-clinical-status.css +28 -28
- package/dist/css/hx-code-snippet.css +24 -18
- package/dist/css/hx-color-picker.css +30 -13
- package/dist/css/hx-combobox.css +28 -28
- package/dist/css/hx-copy-button.css +6 -3
- package/dist/css/hx-counter.css +1 -1
- package/dist/css/hx-data-table.css +22 -15
- package/dist/css/hx-date-picker.css +34 -34
- package/dist/css/hx-dialog.css +31 -24
- package/dist/css/hx-divider.css +2 -2
- package/dist/css/hx-drawer.css +18 -15
- package/dist/css/hx-dropdown.css +2 -2
- package/dist/css/hx-field-label.css +3 -3
- package/dist/css/hx-field.css +6 -6
- package/dist/css/hx-file-upload.css +18 -18
- package/dist/css/hx-help-text.css +5 -5
- package/dist/css/hx-icon-button.css +49 -38
- package/dist/css/hx-image.css +3 -3
- package/dist/css/hx-link.css +9 -9
- package/dist/css/hx-list.css +1 -1
- package/dist/css/hx-menu.css +2 -2
- package/dist/css/hx-meter.css +11 -10
- package/dist/css/hx-nav.css +17 -11
- package/dist/css/hx-number-input.css +18 -18
- package/dist/css/hx-overflow-menu.css +18 -9
- package/dist/css/hx-pagination.css +21 -15
- package/dist/css/hx-patient-banner.css +17 -9
- package/dist/css/hx-phi-field.css +4 -4
- package/dist/css/hx-popover.css +10 -6
- package/dist/css/hx-progress-bar.css +7 -7
- package/dist/css/hx-progress-ring.css +6 -6
- package/dist/css/hx-radio-group.css +5 -5
- package/dist/css/hx-rating.css +5 -5
- package/dist/css/hx-select.css +17 -14
- package/dist/css/hx-side-nav.css +13 -10
- package/dist/css/hx-skeleton.css +1 -1
- package/dist/css/hx-slider.css +15 -12
- package/dist/css/hx-spinner.css +4 -4
- package/dist/css/hx-split-button.css +45 -31
- package/dist/css/hx-split-panel.css +9 -6
- package/dist/css/hx-stat.css +8 -8
- package/dist/css/hx-status-indicator.css +7 -7
- package/dist/css/hx-structured-list.css +5 -5
- package/dist/css/hx-switch.css +16 -8
- package/dist/css/hx-table.css +6 -6
- package/dist/css/hx-tabs.css +3 -3
- package/dist/css/hx-tag.css +18 -18
- package/dist/css/hx-text-input.css +139 -61
- package/dist/css/hx-text.css +9 -7
- package/dist/css/hx-textarea.css +66 -27
- package/dist/css/hx-time-picker.css +27 -21
- package/dist/css/hx-toast.css +22 -7
- package/dist/css/hx-toggle-button.css +46 -30
- package/dist/css/hx-tooltip.css +4 -3
- package/dist/css/hx-top-nav.css +11 -8
- package/dist/css/hx-tree-view.css +1 -1
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +280 -194
- package/dist/index.js +75 -75
- package/dist/shared/forced-colors-CTEDFRGa.js +117 -0
- package/dist/shared/forced-colors-CTEDFRGa.js.map +1 -0
- package/dist/shared/{hx-accordion-Wt52OOZD.js → hx-accordion-cnKg4_la.js} +31 -30
- package/dist/shared/hx-accordion-cnKg4_la.js.map +1 -0
- package/dist/shared/{hx-action-bar-BKMADbHj.js → hx-action-bar-CitgcpGv.js} +38 -37
- package/dist/shared/hx-action-bar-CitgcpGv.js.map +1 -0
- package/dist/shared/{hx-alert-D7n94HwI.js → hx-alert-BZH8iHQf.js} +36 -31
- package/dist/shared/hx-alert-BZH8iHQf.js.map +1 -0
- package/dist/shared/{hx-avatar-iLYzu8MJ.js → hx-avatar-C9hOmlAb.js} +19 -18
- package/dist/shared/hx-avatar-C9hOmlAb.js.map +1 -0
- package/dist/shared/{hx-badge-CVCmMPyW.js → hx-badge-CQXgOXJM.js} +65 -64
- package/dist/shared/hx-badge-CQXgOXJM.js.map +1 -0
- package/dist/shared/{hx-banner-C_He7Tr4.js → hx-banner-DT7Zn9Bo.js} +43 -35
- package/dist/shared/hx-banner-DT7Zn9Bo.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-CldCwD1d.js → hx-breadcrumb-item-COeYcB2x.js} +24 -23
- package/dist/shared/hx-breadcrumb-item-COeYcB2x.js.map +1 -0
- package/dist/shared/{hx-button-group-BJOGWoMa.js → hx-button-group-BI-QBqmO.js} +45 -27
- package/dist/shared/hx-button-group-BI-QBqmO.js.map +1 -0
- package/dist/shared/{hx-button-Ddl-T6T-.js → hx-button-modUSOpY.js} +50 -32
- package/dist/shared/hx-button-modUSOpY.js.map +1 -0
- package/dist/shared/{hx-card-ycveujjL.js → hx-card-CU1QnjNb.js} +54 -39
- package/dist/shared/hx-card-CU1QnjNb.js.map +1 -0
- package/dist/shared/{hx-carousel-item-D_dCv61-.js → hx-carousel-item-BaE4hpLl.js} +38 -33
- package/dist/shared/hx-carousel-item-BaE4hpLl.js.map +1 -0
- package/dist/shared/{hx-checkbox-DkkoWoye.js → hx-checkbox-C46TyXhM.js} +42 -41
- package/dist/shared/hx-checkbox-C46TyXhM.js.map +1 -0
- package/dist/shared/{hx-checkbox-group-C3poJ-Zw.js → hx-checkbox-group-C9n315Ju.js} +20 -19
- package/dist/shared/hx-checkbox-group-C9n315Ju.js.map +1 -0
- package/dist/shared/{hx-clinical-status-BS5lcddT.js → hx-clinical-status-BmSjfSEN.js} +55 -54
- package/dist/shared/hx-clinical-status-BmSjfSEN.js.map +1 -0
- package/dist/shared/{hx-code-snippet-B7wUKzyb.js → hx-code-snippet-CJ0FbQYG.js} +39 -32
- package/dist/shared/hx-code-snippet-CJ0FbQYG.js.map +1 -0
- package/dist/shared/{hx-color-picker-DBaKTVLr.js → hx-color-picker-DiDLZyvK.js} +74 -56
- package/dist/shared/hx-color-picker-DiDLZyvK.js.map +1 -0
- package/dist/shared/{hx-combobox-BmgYT7Ar.js → hx-combobox-DaA5dBC4.js} +43 -42
- package/dist/shared/hx-combobox-DaA5dBC4.js.map +1 -0
- package/dist/shared/hx-container-DVI7sxfX.js.map +1 -1
- package/dist/shared/{hx-copy-button-8deNUdwP.js → hx-copy-button-sUVuikyH.js} +23 -19
- package/dist/shared/hx-copy-button-sUVuikyH.js.map +1 -0
- package/dist/shared/{hx-counter-CKfl_g8K.js → hx-counter-0zYapFhf.js} +10 -9
- package/dist/shared/hx-counter-0zYapFhf.js.map +1 -0
- package/dist/shared/{hx-data-table-B6h0RPn0.js → hx-data-table-Cq3t86Ic.js} +55 -47
- package/dist/shared/hx-data-table-Cq3t86Ic.js.map +1 -0
- package/dist/shared/{hx-date-picker-Dq2Nb68_.js → hx-date-picker-DMqRQNSB.js} +45 -44
- package/dist/shared/hx-date-picker-DMqRQNSB.js.map +1 -0
- package/dist/shared/{hx-dialog-CvIlY0Tc.js → hx-dialog-eIS8tcDm.js} +68 -60
- package/dist/shared/hx-dialog-eIS8tcDm.js.map +1 -0
- package/dist/shared/{hx-divider-DwpOrzMW.js → hx-divider-CYfcUjcr.js} +18 -17
- package/dist/shared/hx-divider-CYfcUjcr.js.map +1 -0
- package/dist/shared/{hx-drawer-Cx2ZJhBe.js → hx-drawer-DDhDz7RI.js} +31 -27
- package/dist/shared/hx-drawer-DDhDz7RI.js.map +1 -0
- package/dist/shared/{hx-dropdown-BjDrPUq5.js → hx-dropdown-LyaRc8Rf.js} +16 -15
- package/dist/shared/hx-dropdown-LyaRc8Rf.js.map +1 -0
- package/dist/shared/{hx-field-Dp3qQMut.js → hx-field-B3Qo8OLS.js} +15 -15
- package/dist/shared/hx-field-B3Qo8OLS.js.map +1 -0
- package/dist/shared/{hx-field-label-BC8QViXv.js → hx-field-label-BVRyyKeh.js} +8 -7
- package/dist/shared/hx-field-label-BVRyyKeh.js.map +1 -0
- package/dist/shared/{hx-file-upload-B6Yl1u0i.js → hx-file-upload-zTDbjsRw.js} +42 -41
- package/dist/shared/hx-file-upload-zTDbjsRw.js.map +1 -0
- package/dist/shared/hx-form-CkChEATa.js +257 -0
- package/dist/shared/hx-form-CkChEATa.js.map +1 -0
- package/dist/shared/hx-grid-CXZf3jeK.js.map +1 -1
- package/dist/shared/{hx-help-text-D7eytSim.js → hx-help-text-Xb2Yr8x2.js} +30 -29
- package/dist/shared/hx-help-text-Xb2Yr8x2.js.map +1 -0
- package/dist/shared/{hx-icon-button-BHneqPCU.js → hx-icon-button-BmV97nqz.js} +81 -69
- package/dist/shared/hx-icon-button-BmV97nqz.js.map +1 -0
- package/dist/shared/{hx-icon-CcyDPDYY.js → hx-icon-fuVm4-bk.js} +15 -14
- package/dist/shared/hx-icon-fuVm4-bk.js.map +1 -0
- package/dist/shared/{hx-image-2gt14zZd.js → hx-image-Ben_4yM5.js} +18 -17
- package/dist/shared/hx-image-Ben_4yM5.js.map +1 -0
- package/dist/shared/{hx-link-BESrWK8M.js → hx-link-DmiV-mPw.js} +21 -20
- package/dist/shared/hx-link-DmiV-mPw.js.map +1 -0
- package/dist/shared/{hx-list-_9qVv02L.js → hx-list-CkphGi9T.js} +22 -21
- package/dist/shared/hx-list-CkphGi9T.js.map +1 -0
- package/dist/shared/{hx-menu-divider-Ck-9Os1t.js → hx-menu-divider-j__TZjH2.js} +53 -49
- package/dist/shared/hx-menu-divider-j__TZjH2.js.map +1 -0
- package/dist/shared/{hx-meter-TbROk-dw.js → hx-meter-Cm7k_Ro8.js} +42 -40
- package/dist/shared/hx-meter-Cm7k_Ro8.js.map +1 -0
- package/dist/shared/{hx-nav-BcYDmjf7.js → hx-nav-LoyEKZQC.js} +30 -23
- package/dist/shared/hx-nav-LoyEKZQC.js.map +1 -0
- package/dist/shared/{hx-nav-item-pqPasRUm.js → hx-nav-item-D8xHLVOs.js} +89 -77
- package/dist/shared/hx-nav-item-D8xHLVOs.js.map +1 -0
- package/dist/shared/{hx-number-input-mOIZ3-46.js → hx-number-input-yUzFOSC1.js} +68 -67
- package/dist/shared/hx-number-input-yUzFOSC1.js.map +1 -0
- package/dist/shared/{hx-overflow-menu-Dprb9lnT.js → hx-overflow-menu-BmKyAp5D.js} +33 -23
- package/dist/shared/hx-overflow-menu-BmKyAp5D.js.map +1 -0
- package/dist/shared/{hx-pagination-AguTQjYC.js → hx-pagination-Dqw5dorC.js} +72 -65
- package/dist/shared/hx-pagination-Dqw5dorC.js.map +1 -0
- package/dist/shared/{hx-patient-banner-uE6gqLpT.js → hx-patient-banner-CkS-Lmj4.js} +29 -20
- package/dist/shared/hx-patient-banner-CkS-Lmj4.js.map +1 -0
- package/dist/shared/{hx-phi-field-BC_XowhC.js → hx-phi-field-Bf9TdtC1.js} +13 -12
- package/dist/shared/hx-phi-field-Bf9TdtC1.js.map +1 -0
- package/dist/shared/{hx-popover-B2_203ct.js → hx-popover-B93rTAfr.js} +29 -24
- package/dist/shared/hx-popover-B93rTAfr.js.map +1 -0
- package/dist/shared/{hx-popup-DZXpsJ1R.js → hx-popup-COUXXZ9X.js} +8 -7
- package/dist/shared/hx-popup-COUXXZ9X.js.map +1 -0
- package/dist/shared/{hx-progress-bar-KjEkEJLy.js → hx-progress-bar-Bn3JEPUf.js} +28 -27
- package/dist/shared/hx-progress-bar-Bn3JEPUf.js.map +1 -0
- package/dist/shared/{hx-progress-ring-3zMwvrwD.js → hx-progress-ring-TwHyXeEp.js} +15 -14
- package/dist/shared/hx-progress-ring-TwHyXeEp.js.map +1 -0
- package/dist/shared/{hx-prose-BCtK7YL6.js → hx-prose-BThYcASV.js} +12 -12
- package/dist/shared/{hx-prose-BCtK7YL6.js.map → hx-prose-BThYcASV.js.map} +1 -1
- package/dist/shared/{hx-radio-BBC5qZgE.js → hx-radio-N8xgDd_5.js} +38 -37
- package/dist/shared/hx-radio-N8xgDd_5.js.map +1 -0
- package/dist/shared/{hx-rating-C3E3ENJb.js → hx-rating-i2FL1WUN.js} +38 -37
- package/dist/shared/hx-rating-i2FL1WUN.js.map +1 -0
- package/dist/shared/{hx-select-CixTo7jp.js → hx-select-vgaBo1Ai.js} +63 -59
- package/dist/shared/hx-select-vgaBo1Ai.js.map +1 -0
- package/dist/shared/{hx-skeleton-LxkI0pxr.js → hx-skeleton-Cnieh5Uc.js} +14 -13
- package/dist/shared/hx-skeleton-Cnieh5Uc.js.map +1 -0
- package/dist/shared/{hx-slider-DFHuzF3N.js → hx-slider-ydBamYhd.js} +83 -79
- package/dist/shared/hx-slider-ydBamYhd.js.map +1 -0
- package/dist/shared/{hx-spinner-BKjuCdZB.js → hx-spinner-DL5AYr16.js} +18 -17
- package/dist/shared/hx-spinner-DL5AYr16.js.map +1 -0
- package/dist/shared/{hx-split-button-CGcJMmCG.js → hx-split-button-BeMsmS6N.js} +74 -59
- package/dist/shared/hx-split-button-BeMsmS6N.js.map +1 -0
- package/dist/shared/{hx-split-panel-C-1R10Mc.js → hx-split-panel-BVG1VWNT.js} +16 -12
- package/dist/shared/hx-split-panel-BVG1VWNT.js.map +1 -0
- package/dist/shared/hx-stack-DGfcOfWJ.js.map +1 -1
- package/dist/shared/{hx-stat-BTpykQAt.js → hx-stat-WOcNV1Ry.js} +16 -15
- package/dist/shared/hx-stat-WOcNV1Ry.js.map +1 -0
- package/dist/shared/{hx-status-indicator-X2QEWNFt.js → hx-status-indicator-BlQyen43.js} +17 -16
- package/dist/shared/hx-status-indicator-BlQyen43.js.map +1 -0
- package/dist/shared/{hx-step-CRNQlmSo.js → hx-step-DL3PbOzm.js} +63 -50
- package/dist/shared/hx-step-DL3PbOzm.js.map +1 -0
- package/dist/shared/{hx-structured-list-CqNbaEXg.js → hx-structured-list-m_-dMJbC.js} +18 -17
- package/dist/shared/hx-structured-list-m_-dMJbC.js.map +1 -0
- package/dist/shared/{hx-switch-DqOD9JR7.js → hx-switch-Dougzsgp.js} +29 -20
- package/dist/shared/hx-switch-Dougzsgp.js.map +1 -0
- package/dist/shared/{hx-tab-panel-BIzKfW5i.js → hx-tab-panel-CbkO9VKu.js} +45 -44
- package/dist/shared/hx-tab-panel-CbkO9VKu.js.map +1 -0
- package/dist/shared/{hx-tag-CgnrNnte.js → hx-tag-CNSmdyaK.js} +63 -62
- package/dist/shared/hx-tag-CNSmdyaK.js.map +1 -0
- package/dist/shared/{hx-td-Bra35cH4.js → hx-td-1zwTFLRw.js} +62 -61
- package/dist/shared/hx-td-1zwTFLRw.js.map +1 -0
- package/dist/shared/{hx-text-DMC2CPlL.js → hx-text-Bz_9fJ3J.js} +28 -25
- package/dist/shared/hx-text-Bz_9fJ3J.js.map +1 -0
- package/dist/shared/{hx-text-input--q0GH78x.js → hx-text-input-B-caO5fI.js} +159 -80
- package/dist/shared/hx-text-input-B-caO5fI.js.map +1 -0
- package/dist/shared/{hx-textarea-CK621vSL.js → hx-textarea-D9O4U8cb.js} +110 -70
- package/dist/shared/hx-textarea-D9O4U8cb.js.map +1 -0
- package/dist/shared/{hx-theme-DfEy-SJA.js → hx-theme-BiyQ7UUK.js} +46 -35
- package/dist/shared/hx-theme-BiyQ7UUK.js.map +1 -0
- package/dist/shared/{hx-time-picker-tPUfgElQ.js → hx-time-picker-m0z4nFB-.js} +59 -52
- package/dist/shared/hx-time-picker-m0z4nFB-.js.map +1 -0
- package/dist/shared/{hx-toggle-button-L-uBJr-a.js → hx-toggle-button-Dd8clXB4.js} +75 -58
- package/dist/shared/hx-toggle-button-Dd8clXB4.js.map +1 -0
- package/dist/shared/{hx-tooltip-B_zfKvwc.js → hx-tooltip-nYOv9OLu.js} +18 -16
- package/dist/shared/hx-tooltip-nYOv9OLu.js.map +1 -0
- package/dist/shared/{hx-top-nav-CATbRvIv.js → hx-top-nav-CchPYaiV.js} +36 -32
- package/dist/shared/hx-top-nav-CchPYaiV.js.map +1 -0
- package/dist/shared/{hx-tree-item-A45WCiBu.js → hx-tree-item-DtMC3DTa.js} +35 -28
- package/dist/shared/hx-tree-item-DtMC3DTa.js.map +1 -0
- package/dist/shared/{toast-factory-BPPnG3mM.js → toast-factory-DvDRAh0l.js} +77 -61
- package/dist/shared/toast-factory-DvDRAh0l.js.map +1 -0
- package/dist/styles/forced-colors.d.ts +60 -0
- package/dist/styles/forced-colors.d.ts.map +1 -0
- package/figma-inventory.json +8606 -591
- package/package.json +2 -2
- package/dist/shared/hx-accordion-Wt52OOZD.js.map +0 -1
- package/dist/shared/hx-action-bar-BKMADbHj.js.map +0 -1
- package/dist/shared/hx-alert-D7n94HwI.js.map +0 -1
- package/dist/shared/hx-avatar-iLYzu8MJ.js.map +0 -1
- package/dist/shared/hx-badge-CVCmMPyW.js.map +0 -1
- package/dist/shared/hx-banner-C_He7Tr4.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-CldCwD1d.js.map +0 -1
- package/dist/shared/hx-button-Ddl-T6T-.js.map +0 -1
- package/dist/shared/hx-button-group-BJOGWoMa.js.map +0 -1
- package/dist/shared/hx-card-ycveujjL.js.map +0 -1
- package/dist/shared/hx-carousel-item-D_dCv61-.js.map +0 -1
- package/dist/shared/hx-checkbox-DkkoWoye.js.map +0 -1
- package/dist/shared/hx-checkbox-group-C3poJ-Zw.js.map +0 -1
- package/dist/shared/hx-clinical-status-BS5lcddT.js.map +0 -1
- package/dist/shared/hx-code-snippet-B7wUKzyb.js.map +0 -1
- package/dist/shared/hx-color-picker-DBaKTVLr.js.map +0 -1
- package/dist/shared/hx-combobox-BmgYT7Ar.js.map +0 -1
- package/dist/shared/hx-copy-button-8deNUdwP.js.map +0 -1
- package/dist/shared/hx-counter-CKfl_g8K.js.map +0 -1
- package/dist/shared/hx-data-table-B6h0RPn0.js.map +0 -1
- package/dist/shared/hx-date-picker-Dq2Nb68_.js.map +0 -1
- package/dist/shared/hx-dialog-CvIlY0Tc.js.map +0 -1
- package/dist/shared/hx-divider-DwpOrzMW.js.map +0 -1
- package/dist/shared/hx-drawer-Cx2ZJhBe.js.map +0 -1
- package/dist/shared/hx-dropdown-BjDrPUq5.js.map +0 -1
- package/dist/shared/hx-field-Dp3qQMut.js.map +0 -1
- package/dist/shared/hx-field-label-BC8QViXv.js.map +0 -1
- package/dist/shared/hx-file-upload-B6Yl1u0i.js.map +0 -1
- package/dist/shared/hx-form-ButQFt9A.js +0 -257
- package/dist/shared/hx-form-ButQFt9A.js.map +0 -1
- package/dist/shared/hx-help-text-D7eytSim.js.map +0 -1
- package/dist/shared/hx-icon-CcyDPDYY.js.map +0 -1
- package/dist/shared/hx-icon-button-BHneqPCU.js.map +0 -1
- package/dist/shared/hx-image-2gt14zZd.js.map +0 -1
- package/dist/shared/hx-link-BESrWK8M.js.map +0 -1
- package/dist/shared/hx-list-_9qVv02L.js.map +0 -1
- package/dist/shared/hx-menu-divider-Ck-9Os1t.js.map +0 -1
- package/dist/shared/hx-meter-TbROk-dw.js.map +0 -1
- package/dist/shared/hx-nav-BcYDmjf7.js.map +0 -1
- package/dist/shared/hx-nav-item-pqPasRUm.js.map +0 -1
- package/dist/shared/hx-number-input-mOIZ3-46.js.map +0 -1
- package/dist/shared/hx-overflow-menu-Dprb9lnT.js.map +0 -1
- package/dist/shared/hx-pagination-AguTQjYC.js.map +0 -1
- package/dist/shared/hx-patient-banner-uE6gqLpT.js.map +0 -1
- package/dist/shared/hx-phi-field-BC_XowhC.js.map +0 -1
- package/dist/shared/hx-popover-B2_203ct.js.map +0 -1
- package/dist/shared/hx-popup-DZXpsJ1R.js.map +0 -1
- package/dist/shared/hx-progress-bar-KjEkEJLy.js.map +0 -1
- package/dist/shared/hx-progress-ring-3zMwvrwD.js.map +0 -1
- package/dist/shared/hx-radio-BBC5qZgE.js.map +0 -1
- package/dist/shared/hx-rating-C3E3ENJb.js.map +0 -1
- package/dist/shared/hx-select-CixTo7jp.js.map +0 -1
- package/dist/shared/hx-skeleton-LxkI0pxr.js.map +0 -1
- package/dist/shared/hx-slider-DFHuzF3N.js.map +0 -1
- package/dist/shared/hx-spinner-BKjuCdZB.js.map +0 -1
- package/dist/shared/hx-split-button-CGcJMmCG.js.map +0 -1
- package/dist/shared/hx-split-panel-C-1R10Mc.js.map +0 -1
- package/dist/shared/hx-stat-BTpykQAt.js.map +0 -1
- package/dist/shared/hx-status-indicator-X2QEWNFt.js.map +0 -1
- package/dist/shared/hx-step-CRNQlmSo.js.map +0 -1
- package/dist/shared/hx-structured-list-CqNbaEXg.js.map +0 -1
- package/dist/shared/hx-switch-DqOD9JR7.js.map +0 -1
- package/dist/shared/hx-tab-panel-BIzKfW5i.js.map +0 -1
- package/dist/shared/hx-tag-CgnrNnte.js.map +0 -1
- package/dist/shared/hx-td-Bra35cH4.js.map +0 -1
- package/dist/shared/hx-text-DMC2CPlL.js.map +0 -1
- package/dist/shared/hx-text-input--q0GH78x.js.map +0 -1
- package/dist/shared/hx-textarea-CK621vSL.js.map +0 -1
- package/dist/shared/hx-theme-DfEy-SJA.js.map +0 -1
- package/dist/shared/hx-time-picker-tPUfgElQ.js.map +0 -1
- package/dist/shared/hx-toggle-button-L-uBJr-a.js.map +0 -1
- package/dist/shared/hx-tooltip-B_zfKvwc.js.map +0 -1
- package/dist/shared/hx-top-nav-CATbRvIv.js.map +0 -1
- package/dist/shared/hx-tree-item-A45WCiBu.js.map +0 -1
- package/dist/shared/toast-factory-BPPnG3mM.js.map +0 -1
package/dist/css/hx-switch.css
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
border: none;
|
|
42
42
|
padding: 0;
|
|
43
43
|
border-radius: var(--hx-border-radius-full, 9999px);
|
|
44
|
-
background-color: var(--hx-switch-track-bg, var(--hx-color-
|
|
44
|
+
background-color: var(--hx-switch-track-bg, var(--hx-color-border-strong, #8e9c98));
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
transition: background-color var(--hx-transition-fast, 150ms ease);
|
|
47
47
|
outline: none;
|
|
@@ -53,13 +53,21 @@
|
|
|
53
53
|
outline: var(--hx-focus-ring-width, 2px) solid
|
|
54
54
|
var(
|
|
55
55
|
--hx-switch-focus-ring-color,
|
|
56
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #
|
|
56
|
+
var(--hx-focus-ring-color, var(--hx-color-primary-400, #6ab1b1))
|
|
57
57
|
);
|
|
58
58
|
outline-offset: var(--hx-focus-ring-offset, 2px);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.switch--checked .switch__track {
|
|
62
|
-
background-color: var(--hx-switch-track-checked-bg, var(--hx-color-primary-500, #
|
|
62
|
+
background-color: var(--hx-switch-track-checked-bg, var(--hx-color-primary-500, #429797));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.switch:not(.switch--checked) .switch__track:hover {
|
|
66
|
+
background-color: var(--hx-switch-track-hover-bg, var(--hx-color-border-strong, #8e9c98));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.switch--checked .switch__track:hover {
|
|
70
|
+
background-color: var(--hx-switch-track-checked-hover-bg, var(--hx-color-primary-600, #0f7078));
|
|
63
71
|
}
|
|
64
72
|
|
|
65
73
|
/* --- Thumb --- */
|
|
@@ -67,7 +75,7 @@
|
|
|
67
75
|
.switch__thumb {
|
|
68
76
|
position: absolute;
|
|
69
77
|
border-radius: var(--hx-border-radius-full, 9999px);
|
|
70
|
-
background-color: var(--hx-switch-thumb-bg, var(--hx-color-
|
|
78
|
+
background-color: var(--hx-switch-thumb-bg, var(--hx-color-surface-default, #ffffff));
|
|
71
79
|
box-shadow: var(--hx-switch-thumb-shadow, var(--hx-shadow-sm, 0 1px 2px 0 rgb(0 0 0 / 0.05)));
|
|
72
80
|
transition: transform var(--hx-transition-fast, 150ms ease);
|
|
73
81
|
}
|
|
@@ -137,7 +145,7 @@
|
|
|
137
145
|
.switch__label {
|
|
138
146
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
139
147
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
140
|
-
color: var(--hx-switch-label-color, var(--hx-color-
|
|
148
|
+
color: var(--hx-switch-label-color, var(--hx-color-text-strong, #202b39));
|
|
141
149
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
142
150
|
cursor: pointer;
|
|
143
151
|
user-select: none;
|
|
@@ -145,7 +153,7 @@
|
|
|
145
153
|
}
|
|
146
154
|
|
|
147
155
|
.switch__required-marker {
|
|
148
|
-
color: var(--hx-switch-error-color, var(--hx-color-error-text, #
|
|
156
|
+
color: var(--hx-switch-error-color, var(--hx-color-error-text, #c92a2a));
|
|
149
157
|
font-weight: var(--hx-font-weight-bold, 700);
|
|
150
158
|
}
|
|
151
159
|
|
|
@@ -153,13 +161,13 @@
|
|
|
153
161
|
|
|
154
162
|
.switch__help-text {
|
|
155
163
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
156
|
-
color: var(--hx-switch-help-text-color, var(--hx-color-
|
|
164
|
+
color: var(--hx-switch-help-text-color, var(--hx-color-text-muted, #4a5362));
|
|
157
165
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
158
166
|
}
|
|
159
167
|
|
|
160
168
|
.switch__error {
|
|
161
169
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
162
|
-
color: var(--hx-switch-error-color, var(--hx-color-error-text, #
|
|
170
|
+
color: var(--hx-switch-error-color, var(--hx-color-error-text, #c92a2a));
|
|
163
171
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
164
172
|
}
|
|
165
173
|
|
package/dist/css/hx-table.css
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
text-align: start;
|
|
32
32
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
33
33
|
font-weight: var(--hx-font-weight-semibold, 600);
|
|
34
|
-
color: var(--hx-table-header-color, var(--hx-color-
|
|
34
|
+
color: var(--hx-table-header-color, var(--hx-color-text-strong, #202b39));
|
|
35
35
|
font-size: var(--hx-font-size-md, 1rem);
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
|
|
48
48
|
/* Header background via CSS vars that cascade through display:contents */
|
|
49
49
|
::slotted(hx-thead) {
|
|
50
|
-
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
50
|
+
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f5f8f3));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/* Striped variant: set stripe signal on hx-tbody (direct slotted child) so hx-tbody can apply to even rows */
|
|
54
54
|
:host([variant='striped']) ::slotted(hx-tbody) {
|
|
55
|
-
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-
|
|
55
|
+
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-surface-raised, #f5f8f3));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* Hover variant: set hover bg variable on direct slotted section elements */
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
:host([variant='striped']) ::slotted(hx-thead),
|
|
63
63
|
:host([variant='default']) ::slotted(hx-tbody),
|
|
64
64
|
:host([variant='default']) ::slotted(hx-thead) {
|
|
65
|
-
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-
|
|
65
|
+
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-surface-raised, #f5f8f3));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* Compact variant: reduced padding signal set on section elements that cascade to cells */
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
--_hx-table-th-position: sticky;
|
|
79
79
|
--_hx-table-th-top: 0;
|
|
80
80
|
--_hx-table-th-z-index: 1;
|
|
81
|
-
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
81
|
+
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f5f8f3));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
/* ─── Focus ─── */
|
|
85
85
|
|
|
86
86
|
::slotted(:focus-visible) {
|
|
87
87
|
outline: var(--hx-focus-ring-width, 2px) solid
|
|
88
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-500, #
|
|
88
|
+
var(--hx-focus-ring-color, var(--hx-color-primary-500, #429797));
|
|
89
89
|
outline-offset: var(--hx-focus-ring-offset, -2px);
|
|
90
90
|
}
|
|
91
91
|
|
package/dist/css/hx-tabs.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
flex-wrap: nowrap;
|
|
29
29
|
gap: 0;
|
|
30
30
|
border-bottom: var(--hx-tabs-border-width, 1px) solid
|
|
31
|
-
var(--hx-tabs-border-color, var(--hx-color-neutral-200, #
|
|
31
|
+
var(--hx-tabs-border-color, var(--hx-color-neutral-200, #d6dbd5));
|
|
32
32
|
overflow-x: auto;
|
|
33
33
|
scrollbar-width: none;
|
|
34
34
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
--_tab-indicator-bottom-color: transparent;
|
|
46
46
|
--_tab-indicator-end-color: var(
|
|
47
47
|
--hx-tabs-indicator-color,
|
|
48
|
-
var(--hx-color-primary-500, #
|
|
48
|
+
var(--hx-color-primary-500, #429797)
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
border-bottom: none;
|
|
55
55
|
border-inline-end: var(--hx-tabs-border-width, 1px) solid
|
|
56
|
-
var(--hx-tabs-border-color, var(--hx-color-neutral-200, #
|
|
56
|
+
var(--hx-tabs-border-color, var(--hx-color-neutral-200, #d6dbd5));
|
|
57
57
|
overflow-x: visible;
|
|
58
58
|
overflow-y: auto;
|
|
59
59
|
min-width: var(--hx-tabs-vertical-width, 12rem);
|
package/dist/css/hx-tag.css
CHANGED
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
align-items: center;
|
|
15
15
|
gap: var(--hx-space-1, 0.25rem);
|
|
16
16
|
border-radius: var(--hx-tag-border-radius, var(--hx-border-radius-sm, 0.25rem));
|
|
17
|
-
background-color: var(--hx-tag-bg, var(--hx-color-neutral-100, #
|
|
18
|
-
color: var(--hx-tag-color, var(--hx-color-neutral-700, #
|
|
17
|
+
background-color: var(--hx-tag-bg, var(--hx-color-neutral-100, #ebeee9));
|
|
18
|
+
color: var(--hx-tag-color, var(--hx-color-neutral-700, #313e4b));
|
|
19
19
|
font-family: var(--hx-tag-font-family, var(--hx-font-family-sans, sans-serif));
|
|
20
20
|
font-weight: var(--hx-tag-font-weight, var(--hx-font-weight-medium, 500));
|
|
21
21
|
line-height: var(--hx-line-height-tight, 1.25);
|
|
22
22
|
white-space: nowrap;
|
|
23
23
|
vertical-align: middle;
|
|
24
24
|
border: var(--hx-border-width-thin, 1px) solid
|
|
25
|
-
var(--hx-tag-border-color, var(--hx-color-neutral-200, #
|
|
25
|
+
var(--hx-tag-border-color, var(--hx-color-neutral-200, #d6dbd5));
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* ─── Size Variants ─── */
|
|
@@ -48,33 +48,33 @@
|
|
|
48
48
|
/* ─── Color Variants ─── */
|
|
49
49
|
|
|
50
50
|
.tag--default {
|
|
51
|
-
--hx-tag-bg: var(--hx-color-neutral-100, #
|
|
52
|
-
--hx-tag-color: var(--hx-color-neutral-700, #
|
|
53
|
-
--hx-tag-border-color: var(--hx-color-neutral-200, #
|
|
51
|
+
--hx-tag-bg: var(--hx-tag-default-bg, var(--hx-color-neutral-100, #ebeee9));
|
|
52
|
+
--hx-tag-color: var(--hx-tag-default-color, var(--hx-color-neutral-700, #313e4b));
|
|
53
|
+
--hx-tag-border-color: var(--hx-tag-default-border-color, var(--hx-color-neutral-200, #d6dbd5));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.tag--primary {
|
|
57
|
-
--hx-tag-bg: var(--hx-color-primary-50, #
|
|
58
|
-
--hx-tag-color: var(--hx-color-primary-700, #
|
|
59
|
-
--hx-tag-border-color: var(--hx-color-primary-200, #
|
|
57
|
+
--hx-tag-bg: var(--hx-tag-primary-bg, var(--hx-color-primary-50, #ebf8f8));
|
|
58
|
+
--hx-tag-color: var(--hx-tag-primary-color, var(--hx-color-primary-700, #0f6363));
|
|
59
|
+
--hx-tag-border-color: var(--hx-tag-primary-border-color, var(--hx-color-primary-200, #bce1e1));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.tag--success {
|
|
63
|
-
--hx-tag-bg: var(--hx-color-success-50, #
|
|
64
|
-
--hx-tag-color: var(--hx-color-success-700, #
|
|
65
|
-
--hx-tag-border-color: var(--hx-color-success-200, #
|
|
63
|
+
--hx-tag-bg: var(--hx-tag-success-bg, var(--hx-color-success-50, #eafaec));
|
|
64
|
+
--hx-tag-color: var(--hx-tag-success-color, var(--hx-color-success-700, #146831));
|
|
65
|
+
--hx-tag-border-color: var(--hx-tag-success-border-color, var(--hx-color-success-200, #bae6c2));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.tag--warning {
|
|
69
|
-
--hx-tag-bg: var(--hx-color-warning-50, #
|
|
70
|
-
--hx-tag-color: var(--hx-color-warning-700, #
|
|
71
|
-
--hx-tag-border-color: var(--hx-color-warning-200, #
|
|
69
|
+
--hx-tag-bg: var(--hx-tag-warning-bg, var(--hx-color-warning-50, #fff3ea));
|
|
70
|
+
--hx-tag-color: var(--hx-tag-warning-color, var(--hx-color-warning-700, #804605));
|
|
71
|
+
--hx-tag-border-color: var(--hx-tag-warning-border-color, var(--hx-color-warning-200, #facfae));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.tag--danger {
|
|
75
|
-
--hx-tag-bg: var(--hx-color-error-50, #
|
|
76
|
-
--hx-tag-color: var(--hx-color-error-700, #
|
|
77
|
-
--hx-tag-border-color: var(--hx-color-error-200, #
|
|
75
|
+
--hx-tag-bg: var(--hx-tag-danger-bg, var(--hx-color-error-50, #fff2f0));
|
|
76
|
+
--hx-tag-color: var(--hx-tag-danger-color, var(--hx-color-error-700, #a21312));
|
|
77
|
+
--hx-tag-border-color: var(--hx-tag-danger-border-color, var(--hx-color-error-200, #fccbc4));
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/* ─── Semantic Variant Label (WCAG 1.4.1) ─── */
|
|
@@ -1,6 +1,100 @@
|
|
|
1
1
|
/* hx-text-input — extracted from Shadow DOM styles */
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
|
+
|
|
5
|
+
/* ─── Component tokens (3.2.0) ──────────────────────────────────── */
|
|
6
|
+
|
|
7
|
+
/* Surface */
|
|
8
|
+
--_text-input-bg: var(
|
|
9
|
+
--hx-text-input-bg,
|
|
10
|
+
var(--hx-input-bg, var(--hx-color-surface-default, #ffffff))
|
|
11
|
+
);
|
|
12
|
+
--_text-input-color: var(
|
|
13
|
+
--hx-text-input-color,
|
|
14
|
+
var(--hx-input-color, var(--hx-color-text-strong, #202b39))
|
|
15
|
+
);
|
|
16
|
+
--_text-input-placeholder-color: var(
|
|
17
|
+
--hx-text-input-placeholder-color,
|
|
18
|
+
var(--hx-color-text-placeholder, #66787b)
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
/* Border */
|
|
22
|
+
--_text-input-border-color: var(
|
|
23
|
+
--hx-text-input-border-color,
|
|
24
|
+
var(--hx-input-border-color, var(--hx-color-border-strong, #8e9c98))
|
|
25
|
+
);
|
|
26
|
+
--_text-input-border-color-hover: var(
|
|
27
|
+
--hx-text-input-border-color-hover,
|
|
28
|
+
var(--hx-color-border-strong, #8e9c98)
|
|
29
|
+
);
|
|
30
|
+
--_text-input-border-color-focus: var(
|
|
31
|
+
--hx-text-input-border-color-focus,
|
|
32
|
+
var(
|
|
33
|
+
--hx-input-focus-ring-color,
|
|
34
|
+
var(--hx-focus-ring-color, var(--hx-color-primary-400, #6ab1b1))
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
--_text-input-border-color-invalid: var(
|
|
38
|
+
--hx-text-input-border-color-invalid,
|
|
39
|
+
var(--hx-input-error-color, var(--hx-color-error-600, #c92a2a))
|
|
40
|
+
);
|
|
41
|
+
--_text-input-border-width: var(--hx-text-input-border-width, var(--hx-border-width-thin, 1px));
|
|
42
|
+
--_text-input-border-radius: var(
|
|
43
|
+
--hx-text-input-border-radius,
|
|
44
|
+
var(--hx-input-border-radius, var(--hx-border-radius-md, 0.375rem))
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
/* Spacing */
|
|
48
|
+
--_text-input-padding-x: var(--hx-text-input-padding-x, var(--hx-space-3, 0.75rem));
|
|
49
|
+
--_text-input-padding-y: var(--hx-text-input-padding-y, var(--hx-space-2, 0.5rem));
|
|
50
|
+
|
|
51
|
+
/* Typography */
|
|
52
|
+
--_text-input-font-family: var(
|
|
53
|
+
--hx-text-input-font-family,
|
|
54
|
+
var(--hx-input-font-family, var(--hx-font-family-sans, sans-serif))
|
|
55
|
+
);
|
|
56
|
+
--_text-input-font-size: var(--hx-text-input-font-size, var(--hx-font-size-md, 1rem));
|
|
57
|
+
|
|
58
|
+
/* Focus ring */
|
|
59
|
+
--_text-input-focus-ring-color: var(
|
|
60
|
+
--hx-text-input-focus-ring-color,
|
|
61
|
+
var(
|
|
62
|
+
--hx-input-focus-ring-color,
|
|
63
|
+
var(--hx-focus-ring-color, var(--hx-color-primary-400, #6ab1b1))
|
|
64
|
+
)
|
|
65
|
+
);
|
|
66
|
+
--_text-input-focus-ring-width: var(
|
|
67
|
+
--hx-text-input-focus-ring-width,
|
|
68
|
+
var(--hx-focus-ring-width, 2px)
|
|
69
|
+
);
|
|
70
|
+
--_text-input-focus-ring-offset: var(
|
|
71
|
+
--hx-text-input-focus-ring-offset,
|
|
72
|
+
var(--hx-focus-ring-offset, 0px)
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
/* Disabled */
|
|
76
|
+
--_text-input-disabled-bg: var(
|
|
77
|
+
--hx-text-input-disabled-bg,
|
|
78
|
+
var(--hx-color-surface-sunken, #ebeee9)
|
|
79
|
+
);
|
|
80
|
+
--_text-input-disabled-color: var(
|
|
81
|
+
--hx-text-input-disabled-color,
|
|
82
|
+
var(--hx-color-text-disabled, #8e9c98)
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
/* Label / help / error */
|
|
86
|
+
--_text-input-label-color: var(
|
|
87
|
+
--hx-text-input-label-color,
|
|
88
|
+
var(--hx-input-label-color, var(--hx-color-text-strong, #202b39))
|
|
89
|
+
);
|
|
90
|
+
--_text-input-help-text-color: var(
|
|
91
|
+
--hx-text-input-help-text-color,
|
|
92
|
+
var(--hx-color-text-muted, #4a5362)
|
|
93
|
+
);
|
|
94
|
+
--_text-input-error-color: var(
|
|
95
|
+
--hx-text-input-error-color,
|
|
96
|
+
var(--hx-input-error-color, var(--hx-color-error-text, #c92a2a))
|
|
97
|
+
);
|
|
4
98
|
}
|
|
5
99
|
|
|
6
100
|
:host([disabled]) {
|
|
@@ -15,36 +109,13 @@
|
|
|
15
109
|
* These complement the :focus-within rules on .field__input-wrapper and are
|
|
16
110
|
* exposed as theming hooks for consumers who target the host element.
|
|
17
111
|
*/
|
|
18
|
-
:host([focused]) .field__input-wrapper
|
|
19
|
-
border-color: var(
|
|
20
|
-
--hx-input-focus-ring-color,
|
|
21
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
22
|
-
);
|
|
23
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
24
|
-
color-mix(
|
|
25
|
-
in srgb,
|
|
26
|
-
var(
|
|
27
|
-
--hx-input-focus-ring-color,
|
|
28
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
29
|
-
)
|
|
30
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
31
|
-
transparent
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
|
|
112
|
+
:host([focused]) .field__input-wrapper,
|
|
35
113
|
:host([focused-visible]) .field__input-wrapper {
|
|
36
|
-
border-color: var(
|
|
37
|
-
|
|
38
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
39
|
-
);
|
|
40
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
114
|
+
border-color: var(--_text-input-border-color-focus);
|
|
115
|
+
box-shadow: 0 0 0 var(--_text-input-focus-ring-width)
|
|
41
116
|
color-mix(
|
|
42
117
|
in srgb,
|
|
43
|
-
var(
|
|
44
|
-
--hx-input-focus-ring-color,
|
|
45
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
46
|
-
)
|
|
47
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
118
|
+
var(--_text-input-border-color-focus) calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
48
119
|
transparent
|
|
49
120
|
);
|
|
50
121
|
}
|
|
@@ -57,7 +128,7 @@
|
|
|
57
128
|
display: flex;
|
|
58
129
|
flex-direction: column;
|
|
59
130
|
gap: var(--hx-space-1, 0.25rem);
|
|
60
|
-
font-family: var(--
|
|
131
|
+
font-family: var(--_text-input-font-family);
|
|
61
132
|
}
|
|
62
133
|
|
|
63
134
|
/* ─── Label ─── */
|
|
@@ -72,12 +143,12 @@
|
|
|
72
143
|
gap: var(--hx-space-1, 0.25rem);
|
|
73
144
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
74
145
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
75
|
-
color: var(--
|
|
146
|
+
color: var(--_text-input-label-color);
|
|
76
147
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
77
148
|
}
|
|
78
149
|
|
|
79
150
|
.field__required-marker {
|
|
80
|
-
color: var(--
|
|
151
|
+
color: var(--_text-input-error-color);
|
|
81
152
|
font-weight: var(--hx-font-weight-bold, 700);
|
|
82
153
|
}
|
|
83
154
|
|
|
@@ -86,29 +157,25 @@
|
|
|
86
157
|
.field__input-wrapper {
|
|
87
158
|
display: flex;
|
|
88
159
|
align-items: center;
|
|
89
|
-
border: var(--
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
background-color: var(--hx-input-bg, var(--hx-color-neutral-0, #ffffff));
|
|
160
|
+
border: var(--_text-input-border-width) solid var(--_text-input-border-color);
|
|
161
|
+
border-radius: var(--_text-input-border-radius);
|
|
162
|
+
background-color: var(--_text-input-bg);
|
|
93
163
|
transition:
|
|
94
164
|
border-color var(--hx-transition-fast, 150ms ease),
|
|
95
165
|
box-shadow var(--hx-transition-fast, 150ms ease);
|
|
96
166
|
overflow: hidden;
|
|
97
167
|
}
|
|
98
168
|
|
|
169
|
+
.field__input-wrapper:hover {
|
|
170
|
+
border-color: var(--_text-input-border-color-hover);
|
|
171
|
+
}
|
|
172
|
+
|
|
99
173
|
.field__input-wrapper:focus-within {
|
|
100
|
-
border-color: var(
|
|
101
|
-
|
|
102
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
103
|
-
);
|
|
104
|
-
box-shadow: 0 0 0 var(--hx-focus-ring-width, 2px)
|
|
174
|
+
border-color: var(--_text-input-border-color-focus);
|
|
175
|
+
box-shadow: 0 0 0 var(--_text-input-focus-ring-width)
|
|
105
176
|
color-mix(
|
|
106
177
|
in srgb,
|
|
107
|
-
var(
|
|
108
|
-
--hx-input-focus-ring-color,
|
|
109
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-400, #60a5fa))
|
|
110
|
-
)
|
|
111
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
178
|
+
var(--_text-input-border-color-focus) calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
112
179
|
transparent
|
|
113
180
|
);
|
|
114
181
|
}
|
|
@@ -116,16 +183,15 @@
|
|
|
116
183
|
/* ─── Error State ─── */
|
|
117
184
|
|
|
118
185
|
.field--error .field__input-wrapper {
|
|
119
|
-
border-color: var(--
|
|
186
|
+
border-color: var(--_text-input-border-color-invalid);
|
|
120
187
|
}
|
|
121
188
|
|
|
122
189
|
.field--error .field__input-wrapper:focus-within {
|
|
123
|
-
border-color: var(--
|
|
124
|
-
box-shadow: 0 0 0 var(--
|
|
190
|
+
border-color: var(--_text-input-border-color-invalid);
|
|
191
|
+
box-shadow: 0 0 0 var(--_text-input-focus-ring-width)
|
|
125
192
|
color-mix(
|
|
126
193
|
in srgb,
|
|
127
|
-
var(--
|
|
128
|
-
calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
194
|
+
var(--_text-input-border-color-invalid) calc(var(--hx-focus-ring-opacity, 0.25) * 100%),
|
|
129
195
|
transparent
|
|
130
196
|
);
|
|
131
197
|
}
|
|
@@ -136,17 +202,17 @@
|
|
|
136
202
|
.field__suffix {
|
|
137
203
|
display: flex;
|
|
138
204
|
align-items: center;
|
|
139
|
-
color: var(--hx-color-
|
|
205
|
+
color: var(--hx-color-text-muted, #4a5362);
|
|
140
206
|
flex-shrink: 0;
|
|
141
207
|
}
|
|
142
208
|
|
|
143
209
|
/* Only add padding when slot has content — avoids phantom space on empty slots */
|
|
144
210
|
.field__prefix--filled {
|
|
145
|
-
padding: 0 var(--
|
|
211
|
+
padding: 0 var(--_text-input-padding-x);
|
|
146
212
|
}
|
|
147
213
|
|
|
148
214
|
.field__suffix--filled {
|
|
149
|
-
padding: 0 var(--
|
|
215
|
+
padding: 0 var(--_text-input-padding-x);
|
|
150
216
|
}
|
|
151
217
|
|
|
152
218
|
/* ─── Native Input ─── */
|
|
@@ -156,17 +222,17 @@
|
|
|
156
222
|
border: none;
|
|
157
223
|
outline: none;
|
|
158
224
|
background: transparent;
|
|
159
|
-
padding: var(--
|
|
225
|
+
padding: var(--_text-input-padding-y) var(--_text-input-padding-x);
|
|
160
226
|
font-family: inherit;
|
|
161
|
-
font-size: var(--
|
|
162
|
-
color: var(--
|
|
227
|
+
font-size: var(--_text-input-font-size);
|
|
228
|
+
color: var(--_text-input-color);
|
|
163
229
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
164
230
|
min-height: var(--hx-size-10, 2.5rem);
|
|
165
231
|
width: 100%;
|
|
166
232
|
}
|
|
167
233
|
|
|
168
234
|
.field__input::placeholder {
|
|
169
|
-
color: var(--
|
|
235
|
+
color: var(--_text-input-placeholder-color);
|
|
170
236
|
}
|
|
171
237
|
|
|
172
238
|
.field__input:focus-visible {
|
|
@@ -175,6 +241,12 @@
|
|
|
175
241
|
|
|
176
242
|
.field__input:disabled {
|
|
177
243
|
cursor: not-allowed;
|
|
244
|
+
background-color: var(--_text-input-disabled-bg);
|
|
245
|
+
color: var(--_text-input-disabled-color);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host([disabled]) .field__input-wrapper {
|
|
249
|
+
background-color: var(--_text-input-disabled-bg);
|
|
178
250
|
}
|
|
179
251
|
|
|
180
252
|
/* ─── Size Variants ─── */
|
|
@@ -182,7 +254,7 @@
|
|
|
182
254
|
.field--size-sm .field__input {
|
|
183
255
|
padding: var(--hx-space-1, 0.25rem) var(--hx-space-2, 0.5rem);
|
|
184
256
|
min-height: var(--hx-size-8, 2rem);
|
|
185
|
-
font-size: var(--hx-input-sm-font-size, 0.875rem);
|
|
257
|
+
font-size: var(--hx-text-input-sm-font-size, var(--hx-input-sm-font-size, 0.875rem));
|
|
186
258
|
}
|
|
187
259
|
|
|
188
260
|
.field--size-md .field__input {
|
|
@@ -192,20 +264,20 @@
|
|
|
192
264
|
.field--size-lg .field__input {
|
|
193
265
|
padding: var(--hx-space-3, 0.75rem) var(--hx-space-4, 1rem);
|
|
194
266
|
min-height: var(--hx-size-12, 3rem);
|
|
195
|
-
font-size: var(--hx-input-lg-font-size, 1.125rem);
|
|
267
|
+
font-size: var(--hx-text-input-lg-font-size, var(--hx-input-lg-font-size, 1.125rem));
|
|
196
268
|
}
|
|
197
269
|
|
|
198
270
|
/* ─── Help Text & Error Messages ─── */
|
|
199
271
|
|
|
200
272
|
.field__help-text {
|
|
201
273
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
202
|
-
color: var(--
|
|
274
|
+
color: var(--_text-input-help-text-color);
|
|
203
275
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
204
276
|
}
|
|
205
277
|
|
|
206
278
|
.field__error {
|
|
207
279
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
208
|
-
color: var(--
|
|
280
|
+
color: var(--_text-input-error-color);
|
|
209
281
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
210
282
|
}
|
|
211
283
|
|
|
@@ -217,7 +289,13 @@
|
|
|
217
289
|
}
|
|
218
290
|
}
|
|
219
291
|
|
|
220
|
-
/* ─── High Contrast Mode (forced-colors) ───
|
|
292
|
+
/* ─── High Contrast Mode (forced-colors) ───
|
|
293
|
+
*
|
|
294
|
+
* Component-specific overrides that complement the shared forcedColorsField
|
|
295
|
+
* mixin (composed in static styles). The mixin handles the input/wrapper
|
|
296
|
+
* core; the rules below extend it to the label / error / help-text /
|
|
297
|
+
* disabled-host surfaces unique to hx-text-input.
|
|
298
|
+
*/
|
|
221
299
|
|
|
222
300
|
@media (forced-colors: active) {
|
|
223
301
|
.field__input-wrapper {
|
package/dist/css/hx-text.css
CHANGED
|
@@ -80,31 +80,33 @@
|
|
|
80
80
|
/* ─── Colors ─── */
|
|
81
81
|
|
|
82
82
|
.text--color-default {
|
|
83
|
-
--hx-text-color: var(--hx-color-neutral-900, #
|
|
83
|
+
--hx-text-color: var(--hx-text-default-color, var(--hx-color-neutral-900, #0d1825));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.text--color-subtle {
|
|
87
|
-
--hx-text-color: var(--hx-color-neutral-500, #
|
|
87
|
+
--hx-text-color: var(--hx-text-subtle-color, var(--hx-color-neutral-500, #66787b));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.text--color-disabled {
|
|
91
|
-
--hx-text-color: var(--hx-color-neutral-400, #
|
|
91
|
+
--hx-text-color: var(--hx-text-disabled-color, var(--hx-color-neutral-400, #8e9c98));
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.text--color-inverse {
|
|
95
|
-
--hx-text-color: var(--hx-color-neutral-0, #ffffff);
|
|
95
|
+
--hx-text-color: var(--hx-text-inverse-color, var(--hx-color-neutral-0, #ffffff));
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.text--color-danger {
|
|
99
|
-
--hx-text-color: var(--hx-color-error-600, #
|
|
99
|
+
--hx-text-color: var(--hx-text-danger-color, var(--hx-color-error-600, #c92a2a));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.text--color-success {
|
|
103
|
-
--hx-text-color: var(--hx-color-success-
|
|
103
|
+
--hx-text-color: var(--hx-text-success-color, var(--hx-color-success-700, #146831));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.text--color-warning {
|
|
107
|
-
|
|
107
|
+
/* warning-600 (#B8650E) on white = 4.28:1 — fails AA body text in the
|
|
108
|
+
precision-cool palette. warning-700 (#804605) on white = 7.06:1 — AA pass. */
|
|
109
|
+
--hx-text-color: var(--hx-text-warning-color, var(--hx-color-warning-700, #804605));
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
/* ─── Weight Overrides ─── */
|