@helixui/library 1.0.1 → 1.1.2
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 +2936 -9700
- package/dist/components/hx-accordion/hx-accordion-item.d.ts +7 -0
- 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 +13 -3
- 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 +23 -0
- package/dist/components/hx-alert/hx-alert.d.ts.map +1 -1
- package/dist/components/hx-alert/hx-alert.styles.d.ts.map +1 -1
- package/dist/components/hx-alert/index.js +1 -1
- package/dist/components/hx-avatar/hx-avatar.d.ts +8 -1
- package/dist/components/hx-avatar/hx-avatar.d.ts.map +1 -1
- package/dist/components/hx-avatar/index.js +1 -1
- package/dist/components/hx-badge/hx-badge.d.ts +8 -1
- package/dist/components/hx-badge/hx-badge.d.ts.map +1 -1
- package/dist/components/hx-badge/index.js +1 -1
- package/dist/components/hx-banner/hx-banner.d.ts +11 -0
- package/dist/components/hx-banner/hx-banner.d.ts.map +1 -1
- package/dist/components/hx-banner/index.js +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts +17 -2
- 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 +6 -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-card/hx-card.d.ts +7 -0
- package/dist/components/hx-card/hx-card.d.ts.map +1 -1
- package/dist/components/hx-card/index.js +1 -1
- package/dist/components/hx-carousel/hx-carousel-item.d.ts +2 -0
- package/dist/components/hx-carousel/hx-carousel-item.d.ts.map +1 -1
- package/dist/components/hx-carousel/hx-carousel-item.styles.d.ts +2 -0
- package/dist/components/hx-carousel/hx-carousel-item.styles.d.ts.map +1 -0
- package/dist/components/hx-carousel/hx-carousel.d.ts +27 -0
- package/dist/components/hx-carousel/hx-carousel.d.ts.map +1 -1
- package/dist/components/hx-carousel/index.js +1 -1
- package/dist/components/hx-checkbox/hx-checkbox.d.ts +18 -2
- 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 +20 -4
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts.map +1 -1
- package/dist/components/hx-checkbox-group/index.js +1 -1
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts +10 -0
- package/dist/components/hx-code-snippet/hx-code-snippet.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/hx-code-snippet.styles.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/index.js +1 -1
- package/dist/components/hx-color-picker/hx-color-picker.d.ts +70 -2
- 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 +37 -2
- 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 +11 -0
- package/dist/components/hx-copy-button/hx-copy-button.d.ts.map +1 -1
- package/dist/components/hx-copy-button/index.js +1 -1
- package/dist/components/hx-counter/hx-counter.d.ts +12 -3
- 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 +19 -2
- package/dist/components/hx-data-table/hx-data-table.d.ts.map +1 -1
- package/dist/components/hx-data-table/hx-data-table.styles.d.ts.map +1 -1
- package/dist/components/hx-data-table/index.js +1 -1
- package/dist/components/hx-date-picker/hx-date-picker.d.ts +62 -3
- 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 +31 -4
- package/dist/components/hx-dialog/hx-dialog.d.ts.map +1 -1
- package/dist/components/hx-dialog/hx-dialog.styles.d.ts.map +1 -1
- package/dist/components/hx-dialog/index.js +1 -1
- package/dist/components/hx-divider/hx-divider.d.ts +4 -1
- package/dist/components/hx-divider/hx-divider.d.ts.map +1 -1
- package/dist/components/hx-divider/index.js +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +25 -3
- 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 +15 -2
- 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 +10 -2
- package/dist/components/hx-field/hx-field.d.ts.map +1 -1
- package/dist/components/hx-field/index.js +1 -1
- package/dist/components/hx-file-upload/hx-file-upload.d.ts +39 -2
- package/dist/components/hx-file-upload/hx-file-upload.d.ts.map +1 -1
- package/dist/components/hx-file-upload/hx-file-upload.styles.d.ts.map +1 -1
- package/dist/components/hx-file-upload/index.js +1 -1
- package/dist/components/hx-form/hx-form.d.ts.map +1 -1
- package/dist/components/hx-form/index.js +1 -1
- package/dist/components/hx-format-date/hx-format-date.d.ts +8 -0
- package/dist/components/hx-format-date/hx-format-date.d.ts.map +1 -1
- package/dist/components/hx-format-date/index.js +1 -1
- package/dist/components/hx-grid/hx-grid.d.ts +9 -3
- package/dist/components/hx-grid/hx-grid.d.ts.map +1 -1
- package/dist/components/hx-grid/index.js +1 -1
- package/dist/components/hx-help-text/index.js +1 -1
- package/dist/components/hx-icon/hx-icon.d.ts +10 -2
- package/dist/components/hx-icon/hx-icon.d.ts.map +1 -1
- package/dist/components/hx-icon/index.js +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.d.ts +11 -0
- package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -1
- package/dist/components/hx-icon-button/index.js +1 -1
- package/dist/components/hx-image/hx-image.d.ts +8 -0
- package/dist/components/hx-image/hx-image.d.ts.map +1 -1
- package/dist/components/hx-image/index.js +1 -1
- package/dist/components/hx-link/hx-link.d.ts +3 -0
- package/dist/components/hx-link/hx-link.d.ts.map +1 -1
- package/dist/components/hx-link/hx-link.styles.d.ts.map +1 -1
- package/dist/components/hx-link/index.js +1 -1
- package/dist/components/hx-list/hx-list-item.d.ts +8 -2
- package/dist/components/hx-list/hx-list-item.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list-item.styles.d.ts.map +1 -1
- package/dist/components/hx-list/hx-list.d.ts +6 -2
- package/dist/components/hx-list/hx-list.d.ts.map +1 -1
- package/dist/components/hx-list/index.js +1 -1
- package/dist/components/hx-menu/hx-menu-item.d.ts +11 -0
- package/dist/components/hx-menu/hx-menu-item.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu-item.styles.d.ts.map +1 -1
- package/dist/components/hx-menu/hx-menu.d.ts +10 -1
- package/dist/components/hx-menu/hx-menu.d.ts.map +1 -1
- package/dist/components/hx-menu/index.js +1 -1
- package/dist/components/hx-meter/hx-meter.d.ts +8 -0
- package/dist/components/hx-meter/hx-meter.d.ts.map +1 -1
- package/dist/components/hx-meter/hx-meter.styles.d.ts.map +1 -1
- package/dist/components/hx-meter/index.js +1 -1
- package/dist/components/hx-nav/hx-nav.d.ts +15 -0
- package/dist/components/hx-nav/hx-nav.d.ts.map +1 -1
- package/dist/components/hx-nav/index.js +1 -1
- package/dist/components/hx-number-input/hx-number-input.d.ts +47 -1
- 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 +15 -0
- package/dist/components/hx-overflow-menu/hx-overflow-menu.d.ts.map +1 -1
- package/dist/components/hx-overflow-menu/index.js +1 -1
- package/dist/components/hx-pagination/hx-pagination.d.ts +30 -0
- package/dist/components/hx-pagination/hx-pagination.d.ts.map +1 -1
- package/dist/components/hx-pagination/index.js +1 -1
- package/dist/components/hx-popover/hx-popover.d.ts +53 -2
- package/dist/components/hx-popover/hx-popover.d.ts.map +1 -1
- package/dist/components/hx-popover/index.js +1 -1
- package/dist/components/hx-popup/hx-popup.d.ts +8 -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-progress-bar/hx-progress-bar.d.ts +8 -2
- package/dist/components/hx-progress-bar/hx-progress-bar.d.ts.map +1 -1
- package/dist/components/hx-progress-bar/hx-progress-bar.styles.d.ts.map +1 -1
- package/dist/components/hx-progress-bar/index.js +1 -1
- package/dist/components/hx-progress-ring/hx-progress-ring.d.ts +8 -2
- package/dist/components/hx-progress-ring/hx-progress-ring.d.ts.map +1 -1
- package/dist/components/hx-progress-ring/index.js +1 -1
- package/dist/components/hx-prose/hx-prose.d.ts +5 -3
- package/dist/components/hx-prose/hx-prose.d.ts.map +1 -1
- package/dist/components/hx-prose/index.js +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.d.ts +4 -2
- package/dist/components/hx-radio-group/hx-radio.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.styles.d.ts.map +1 -1
- package/dist/components/hx-radio-group/index.js +1 -1
- package/dist/components/hx-rating/hx-rating.d.ts +54 -2
- package/dist/components/hx-rating/hx-rating.d.ts.map +1 -1
- package/dist/components/hx-rating/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +22 -2
- 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 +6 -0
- package/dist/components/hx-side-nav/hx-nav-item.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-nav-item.styles.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-side-nav.d.ts +6 -1
- package/dist/components/hx-side-nav/hx-side-nav.d.ts.map +1 -1
- package/dist/components/hx-side-nav/hx-side-nav.styles.d.ts.map +1 -1
- package/dist/components/hx-side-nav/index.js +1 -1
- package/dist/components/hx-slider/hx-slider.d.ts +22 -1
- 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 +3 -1
- 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 +12 -0
- package/dist/components/hx-split-button/hx-split-button.d.ts.map +1 -1
- package/dist/components/hx-split-button/index.js +1 -1
- package/dist/components/hx-split-panel/hx-split-panel.d.ts +32 -2
- package/dist/components/hx-split-panel/hx-split-panel.d.ts.map +1 -1
- package/dist/components/hx-split-panel/hx-split-panel.styles.d.ts.map +1 -1
- package/dist/components/hx-split-panel/index.js +1 -1
- package/dist/components/hx-stack/index.js +1 -1
- package/dist/components/hx-stat/hx-stat.d.ts +5 -1
- 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 -12
- package/dist/components/hx-status-indicator/hx-status-indicator.d.ts.map +1 -1
- package/dist/components/hx-status-indicator/index.js +1 -1
- package/dist/components/hx-steps/hx-step.d.ts +7 -9
- package/dist/components/hx-steps/hx-step.d.ts.map +1 -1
- package/dist/components/hx-steps/hx-step.styles.d.ts.map +1 -1
- package/dist/components/hx-steps/hx-steps.d.ts +3 -3
- package/dist/components/hx-steps/hx-steps.d.ts.map +1 -1
- package/dist/components/hx-steps/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +21 -1
- package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
- package/dist/components/hx-switch/index.js +1 -1
- package/dist/components/hx-table/hx-table.d.ts +7 -2
- package/dist/components/hx-table/hx-table.d.ts.map +1 -1
- package/dist/components/hx-table/hx-table.styles.d.ts.map +1 -1
- package/dist/components/hx-table/hx-th.d.ts +4 -0
- package/dist/components/hx-table/hx-th.d.ts.map +1 -1
- package/dist/components/hx-table/index.js +1 -1
- package/dist/components/hx-tabs/hx-tab.d.ts +3 -0
- package/dist/components/hx-tabs/hx-tab.d.ts.map +1 -1
- package/dist/components/hx-tabs/hx-tabs.d.ts +6 -0
- package/dist/components/hx-tabs/hx-tabs.d.ts.map +1 -1
- package/dist/components/hx-tabs/index.js +1 -1
- package/dist/components/hx-tag/hx-tag.d.ts +2 -0
- package/dist/components/hx-tag/hx-tag.d.ts.map +1 -1
- package/dist/components/hx-tag/index.js +1 -1
- package/dist/components/hx-text/hx-text.d.ts +1 -0
- package/dist/components/hx-text/hx-text.d.ts.map +1 -1
- package/dist/components/hx-text/index.js +1 -1
- package/dist/components/hx-text-input/hx-text-input.d.ts +8 -3
- package/dist/components/hx-text-input/hx-text-input.d.ts.map +1 -1
- package/dist/components/hx-text-input/index.js +1 -1
- package/dist/components/hx-textarea/hx-textarea.d.ts +9 -3
- 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 +2 -2
- package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.d.ts +22 -3
- package/dist/components/hx-time-picker/hx-time-picker.d.ts.map +1 -1
- package/dist/components/hx-time-picker/hx-time-picker.styles.d.ts.map +1 -1
- package/dist/components/hx-time-picker/index.js +1 -1
- package/dist/components/hx-toast/hx-toast.d.ts +8 -0
- 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 +23 -0
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tooltip/hx-tooltip.d.ts +57 -0
- package/dist/components/hx-tooltip/hx-tooltip.d.ts.map +1 -1
- package/dist/components/hx-tooltip/index.js +1 -1
- package/dist/components/hx-top-nav/hx-top-nav.d.ts +4 -0
- package/dist/components/hx-top-nav/hx-top-nav.d.ts.map +1 -1
- package/dist/components/hx-top-nav/index.js +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.d.ts +2 -0
- package/dist/components/hx-tree-view/hx-tree-item.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.d.ts +11 -0
- package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/index.js +70 -70
- package/dist/shared/{hx-accordion-DT8qHOay.js → hx-accordion-D1kFhdeQ.js} +15 -3
- package/dist/shared/hx-accordion-D1kFhdeQ.js.map +1 -0
- package/dist/shared/{hx-action-bar-we_WJety.js → hx-action-bar-D4bulGQP.js} +38 -31
- package/dist/shared/hx-action-bar-D4bulGQP.js.map +1 -0
- package/dist/shared/{hx-alert-D6uok29t.js → hx-alert-CSxCF2rr.js} +74 -53
- package/dist/shared/hx-alert-CSxCF2rr.js.map +1 -0
- package/dist/shared/{hx-avatar-Cep6Urm3.js → hx-avatar-Cun-O99h.js} +5 -1
- package/dist/shared/hx-avatar-Cun-O99h.js.map +1 -0
- package/dist/shared/{hx-badge-BeuWuUj_.js → hx-badge-CsFd2xtw.js} +53 -43
- package/dist/shared/hx-badge-CsFd2xtw.js.map +1 -0
- package/dist/shared/{hx-banner-DnCBJtRR.js → hx-banner-BTV-X2xF.js} +55 -43
- package/dist/shared/{hx-banner-DnCBJtRR.js.map → hx-banner-BTV-X2xF.js.map} +1 -1
- package/dist/shared/{hx-breadcrumb-item-Bj2UqhzR.js → hx-breadcrumb-item-4IwaLgaO.js} +34 -22
- package/dist/shared/hx-breadcrumb-item-4IwaLgaO.js.map +1 -0
- package/dist/shared/{hx-button-Cbhqpm5i.js → hx-button-7k-KeCYU.js} +29 -15
- package/dist/shared/hx-button-7k-KeCYU.js.map +1 -0
- package/dist/shared/{hx-card-B9j2SHyI.js → hx-card-0hT3G5hi.js} +10 -3
- package/dist/shared/hx-card-0hT3G5hi.js.map +1 -0
- package/dist/shared/{hx-carousel-item-Be0bC-7o.js → hx-carousel-item-DgeYyYZJ.js} +106 -89
- package/dist/shared/hx-carousel-item-DgeYyYZJ.js.map +1 -0
- package/dist/shared/{hx-checkbox-CuaJqEo7.js → hx-checkbox-BvjO-O41.js} +13 -6
- package/dist/shared/hx-checkbox-BvjO-O41.js.map +1 -0
- package/dist/shared/{hx-checkbox-group-ydUdV9Sx.js → hx-checkbox-group-Z5VvWzcj.js} +50 -37
- package/dist/shared/hx-checkbox-group-Z5VvWzcj.js.map +1 -0
- package/dist/shared/{hx-code-snippet-DBwIjl5p.js → hx-code-snippet-DqzPkH4K.js} +17 -1
- package/dist/shared/hx-code-snippet-DqzPkH4K.js.map +1 -0
- package/dist/shared/hx-color-picker-Da8z6AlQ.js +596 -0
- package/dist/shared/hx-color-picker-Da8z6AlQ.js.map +1 -0
- package/dist/shared/{hx-combobox-CNvY-es8.js → hx-combobox-CivfelTS.js} +93 -459
- package/dist/shared/hx-combobox-CivfelTS.js.map +1 -0
- package/dist/shared/{hx-copy-button-CLBA31to.js → hx-copy-button--0dymSvw.js} +9 -1
- package/dist/shared/{hx-copy-button-CLBA31to.js.map → hx-copy-button--0dymSvw.js.map} +1 -1
- package/dist/shared/{hx-counter-D-1NXzGs.js → hx-counter-Duf00H7p.js} +58 -49
- package/dist/shared/hx-counter-Duf00H7p.js.map +1 -0
- package/dist/shared/{hx-data-table-BwoJCFgs.js → hx-data-table-BWvd5NNx.js} +123 -89
- package/dist/shared/hx-data-table-BWvd5NNx.js.map +1 -0
- package/dist/shared/{hx-date-picker-DDcIBJir.js → hx-date-picker-6voxxxNE.js} +119 -485
- package/dist/shared/hx-date-picker-6voxxxNE.js.map +1 -0
- package/dist/shared/{hx-dialog-M7so0sRT.js → hx-dialog-DkUSnVgw.js} +72 -52
- package/dist/shared/hx-dialog-DkUSnVgw.js.map +1 -0
- package/dist/shared/{hx-divider-XgWIz4Mr.js → hx-divider-DNNs4e8q.js} +2 -1
- package/dist/shared/{hx-divider-XgWIz4Mr.js.map → hx-divider-DNNs4e8q.js.map} +1 -1
- package/dist/shared/{hx-drawer-CYxuhIQ0.js → hx-drawer-CJcRZcns.js} +85 -56
- package/dist/shared/hx-drawer-CJcRZcns.js.map +1 -0
- package/dist/shared/{hx-dropdown-7cfowTWv.js → hx-dropdown-Bo0KTM1A.js} +29 -20
- package/dist/shared/hx-dropdown-Bo0KTM1A.js.map +1 -0
- package/dist/shared/{hx-field-CDP8EXuj.js → hx-field-3MmzJ4kZ.js} +21 -13
- package/dist/shared/hx-field-3MmzJ4kZ.js.map +1 -0
- package/dist/shared/{hx-file-upload-9HbONfqt.js → hx-file-upload-ByjAgfNy.js} +103 -64
- package/dist/shared/hx-file-upload-ByjAgfNy.js.map +1 -0
- package/dist/shared/hx-form-BpS6v3Iu.js +258 -0
- package/dist/shared/hx-form-BpS6v3Iu.js.map +1 -0
- package/dist/shared/{hx-format-date-BsVr8gpD.js → hx-format-date-BdnWV2kX.js} +7 -1
- package/dist/shared/hx-format-date-BdnWV2kX.js.map +1 -0
- package/dist/shared/{hx-grid-BsDBCTbt.js → hx-grid-gEjuF0cR.js} +25 -18
- package/dist/shared/hx-grid-gEjuF0cR.js.map +1 -0
- package/dist/shared/{hx-help-text-DaOPN1iB.js → hx-help-text-BAcEGRUE.js} +2 -2
- package/dist/shared/{hx-help-text-DaOPN1iB.js.map → hx-help-text-BAcEGRUE.js.map} +1 -1
- package/dist/shared/{hx-icon--xsJztDh.js → hx-icon-CP6OnLoM.js} +6 -1
- package/dist/shared/hx-icon-CP6OnLoM.js.map +1 -0
- package/dist/shared/{hx-icon-button-iu0i_faq.js → hx-icon-button-DzH_bRtC.js} +15 -1
- package/dist/shared/{hx-icon-button-iu0i_faq.js.map → hx-icon-button-DzH_bRtC.js.map} +1 -1
- package/dist/shared/{hx-image-xyb_tHCR.js → hx-image-C6pGiI6c.js} +6 -1
- package/dist/shared/hx-image-C6pGiI6c.js.map +1 -0
- package/dist/shared/{hx-link-DfNy_UU8.js → hx-link-Tmk_YPvW.js} +46 -37
- package/dist/shared/hx-link-Tmk_YPvW.js.map +1 -0
- package/dist/shared/{hx-list-CdRNgeoP.js → hx-list-DwInEX2H.js} +63 -37
- package/dist/shared/hx-list-DwInEX2H.js.map +1 -0
- package/dist/shared/{hx-menu-divider-DR8klkFT.js → hx-menu-divider-DR4G_rqw.js} +71 -40
- package/dist/shared/hx-menu-divider-DR4G_rqw.js.map +1 -0
- package/dist/shared/{hx-meter-CZ7lnMra.js → hx-meter-uXkTZq-W.js} +77 -61
- package/dist/shared/hx-meter-uXkTZq-W.js.map +1 -0
- package/dist/shared/{hx-nav-DM6-cGKF.js → hx-nav-3JsN2Oak.js} +64 -47
- package/dist/shared/hx-nav-3JsN2Oak.js.map +1 -0
- package/dist/shared/{hx-nav-item-D54-5eUM.js → hx-nav-item-D3EJatzc.js} +40 -16
- package/dist/shared/hx-nav-item-D3EJatzc.js.map +1 -0
- package/dist/shared/{hx-number-input-BP6TIA92.js → hx-number-input-CIpL2BEh.js} +65 -34
- package/dist/shared/hx-number-input-CIpL2BEh.js.map +1 -0
- package/dist/shared/{hx-overflow-menu-CobkjAb8.js → hx-overflow-menu-2kgOJ_ht.js} +76 -64
- package/dist/shared/hx-overflow-menu-2kgOJ_ht.js.map +1 -0
- package/dist/shared/{hx-pagination-10dpXS95.js → hx-pagination-Blt-fFqV.js} +113 -94
- package/dist/shared/hx-pagination-Blt-fFqV.js.map +1 -0
- package/dist/shared/{hx-popover-ULjonbaO.js → hx-popover-DxE67miP.js} +71 -66
- package/dist/shared/hx-popover-DxE67miP.js.map +1 -0
- package/dist/shared/{hx-popup-CYf9Q5sj.js → hx-popup-Dg6n_PbY.js} +13 -1
- package/dist/shared/hx-popup-Dg6n_PbY.js.map +1 -0
- package/dist/shared/{hx-progress-bar-CnTibV63.js → hx-progress-bar-Dm_EHyng.js} +65 -47
- package/dist/shared/hx-progress-bar-Dm_EHyng.js.map +1 -0
- package/dist/shared/{hx-progress-ring-BHJBaXNk.js → hx-progress-ring-DpxBDD5d.js} +35 -28
- package/dist/shared/hx-progress-ring-DpxBDD5d.js.map +1 -0
- package/dist/shared/hx-prose-Ml_L2zje.js +59 -0
- package/dist/shared/hx-prose-Ml_L2zje.js.map +1 -0
- package/dist/shared/{hx-radio-BnKcRuQu.js → hx-radio-BywgVSEu.js} +7 -8
- package/dist/shared/hx-radio-BywgVSEu.js.map +1 -0
- package/dist/shared/{hx-rating-Y_t7Z4qb.js → hx-rating-CUWBQ0fZ.js} +131 -64
- package/dist/shared/hx-rating-CUWBQ0fZ.js.map +1 -0
- package/dist/shared/{hx-select-C50lD7NS.js → hx-select-BwDwxk-M.js} +107 -169
- package/dist/shared/hx-select-BwDwxk-M.js.map +1 -0
- package/dist/shared/hx-skeleton-BHvALyd7.js.map +1 -1
- package/dist/shared/{hx-slider-CprSNrRi.js → hx-slider-D_0EKJyk.js} +23 -7
- package/dist/shared/hx-slider-D_0EKJyk.js.map +1 -0
- package/dist/shared/{hx-spinner-BOApJ-g9.js → hx-spinner-DMn4SChS.js} +35 -28
- package/dist/shared/hx-spinner-DMn4SChS.js.map +1 -0
- package/dist/shared/{hx-split-button-CHGy4FUc.js → hx-split-button-CypgLXw1.js} +14 -3
- package/dist/shared/{hx-split-button-CHGy4FUc.js.map → hx-split-button-CypgLXw1.js.map} +1 -1
- package/dist/shared/{hx-split-panel-DYtB45Tr.js → hx-split-panel-CV_Kr4EK.js} +58 -37
- package/dist/shared/hx-split-panel-CV_Kr4EK.js.map +1 -0
- package/dist/shared/{hx-stack-CfoW7jU7.js → hx-stack-BStY1RmV.js} +29 -29
- package/dist/shared/hx-stack-BStY1RmV.js.map +1 -0
- package/dist/shared/{hx-stat-C2wfph8W.js → hx-stat-CHntLHJM.js} +18 -10
- package/dist/shared/hx-stat-CHntLHJM.js.map +1 -0
- package/dist/shared/{hx-status-indicator-oYWOkWlD.js → hx-status-indicator-C1BwEvUw.js} +15 -12
- package/dist/shared/hx-status-indicator-C1BwEvUw.js.map +1 -0
- package/dist/shared/{hx-step-DYoIumpR.js → hx-step-BIVWSPxd.js} +45 -33
- package/dist/shared/hx-step-BIVWSPxd.js.map +1 -0
- package/dist/shared/{hx-switch-DkKchcuP.js → hx-switch-BgX8kuWt.js} +12 -3
- package/dist/shared/hx-switch-BgX8kuWt.js.map +1 -0
- package/dist/shared/{hx-tab-panel-BRNcLICw.js → hx-tab-panel-DhOq67jj.js} +11 -2
- package/dist/shared/hx-tab-panel-DhOq67jj.js.map +1 -0
- package/dist/shared/{hx-tag-B3N-vZ6B.js → hx-tag-CzOTDcXI.js} +2 -1
- package/dist/shared/{hx-tag-B3N-vZ6B.js.map → hx-tag-CzOTDcXI.js.map} +1 -1
- package/dist/shared/{hx-td-CVwCGBYf.js → hx-td-h6oeW6YC.js} +43 -41
- package/dist/shared/hx-td-h6oeW6YC.js.map +1 -0
- package/dist/shared/{hx-text-NjKoQATI.js → hx-text-DTXjiviE.js} +2 -1
- package/dist/shared/{hx-text-NjKoQATI.js.map → hx-text-DTXjiviE.js.map} +1 -1
- package/dist/shared/{hx-text-input-CCZZbWQ9.js → hx-text-input-CqEdDHMU.js} +82 -65
- package/dist/shared/hx-text-input-CqEdDHMU.js.map +1 -0
- package/dist/shared/{hx-textarea-BsQdB1Rk.js → hx-textarea-BgX7rxyo.js} +21 -12
- package/dist/shared/hx-textarea-BgX7rxyo.js.map +1 -0
- package/dist/shared/hx-theme-6GDoUG8j.js.map +1 -1
- package/dist/shared/{hx-time-picker-CJcIjH3C.js → hx-time-picker-DmLu7WUC.js} +73 -273
- package/dist/shared/hx-time-picker-DmLu7WUC.js.map +1 -0
- package/dist/shared/{hx-toggle-button-D4F1soEM.js → hx-toggle-button-D1jpDvSA.js} +75 -38
- package/dist/shared/hx-toggle-button-D1jpDvSA.js.map +1 -0
- package/dist/shared/{hx-tooltip-Bk1iQRHs.js → hx-tooltip-kh7QFPKu.js} +66 -49
- package/dist/shared/hx-tooltip-kh7QFPKu.js.map +1 -0
- package/dist/shared/{hx-top-nav-D2bQpns3.js → hx-top-nav-DYlnzDaU.js} +3 -1
- package/dist/shared/{hx-top-nav-D2bQpns3.js.map → hx-top-nav-DYlnzDaU.js.map} +1 -1
- package/dist/shared/{hx-tree-item-BobGN76x.js → hx-tree-item-BP6UF_H1.js} +29 -16
- package/dist/shared/hx-tree-item-BP6UF_H1.js.map +1 -0
- package/dist/shared/{toast-factory-MvMMreTu.js → toast-factory-DTy-qN8r.js} +70 -59
- package/dist/shared/toast-factory-DTy-qN8r.js.map +1 -0
- package/dist/styles/shared-field.styles.d.ts +6 -0
- package/dist/styles/shared-field.styles.d.ts.map +1 -0
- package/package.json +2 -5
- package/dist/shared/hx-accordion-DT8qHOay.js.map +0 -1
- package/dist/shared/hx-action-bar-we_WJety.js.map +0 -1
- package/dist/shared/hx-alert-D6uok29t.js.map +0 -1
- package/dist/shared/hx-avatar-Cep6Urm3.js.map +0 -1
- package/dist/shared/hx-badge-BeuWuUj_.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-Bj2UqhzR.js.map +0 -1
- package/dist/shared/hx-button-Cbhqpm5i.js.map +0 -1
- package/dist/shared/hx-card-B9j2SHyI.js.map +0 -1
- package/dist/shared/hx-carousel-item-Be0bC-7o.js.map +0 -1
- package/dist/shared/hx-checkbox-CuaJqEo7.js.map +0 -1
- package/dist/shared/hx-checkbox-group-ydUdV9Sx.js.map +0 -1
- package/dist/shared/hx-code-snippet-DBwIjl5p.js.map +0 -1
- package/dist/shared/hx-color-picker-Bb2UPVc3.js +0 -803
- package/dist/shared/hx-color-picker-Bb2UPVc3.js.map +0 -1
- package/dist/shared/hx-combobox-CNvY-es8.js.map +0 -1
- package/dist/shared/hx-counter-D-1NXzGs.js.map +0 -1
- package/dist/shared/hx-data-table-BwoJCFgs.js.map +0 -1
- package/dist/shared/hx-date-picker-DDcIBJir.js.map +0 -1
- package/dist/shared/hx-dialog-M7so0sRT.js.map +0 -1
- package/dist/shared/hx-drawer-CYxuhIQ0.js.map +0 -1
- package/dist/shared/hx-dropdown-7cfowTWv.js.map +0 -1
- package/dist/shared/hx-field-CDP8EXuj.js.map +0 -1
- package/dist/shared/hx-file-upload-9HbONfqt.js.map +0 -1
- package/dist/shared/hx-form-BFv_N1dm.js +0 -1272
- package/dist/shared/hx-form-BFv_N1dm.js.map +0 -1
- package/dist/shared/hx-format-date-BsVr8gpD.js.map +0 -1
- package/dist/shared/hx-grid-BsDBCTbt.js.map +0 -1
- package/dist/shared/hx-icon--xsJztDh.js.map +0 -1
- package/dist/shared/hx-image-xyb_tHCR.js.map +0 -1
- package/dist/shared/hx-link-DfNy_UU8.js.map +0 -1
- package/dist/shared/hx-list-CdRNgeoP.js.map +0 -1
- package/dist/shared/hx-menu-divider-DR8klkFT.js.map +0 -1
- package/dist/shared/hx-meter-CZ7lnMra.js.map +0 -1
- package/dist/shared/hx-nav-DM6-cGKF.js.map +0 -1
- package/dist/shared/hx-nav-item-D54-5eUM.js.map +0 -1
- package/dist/shared/hx-number-input-BP6TIA92.js.map +0 -1
- package/dist/shared/hx-overflow-menu-CobkjAb8.js.map +0 -1
- package/dist/shared/hx-pagination-10dpXS95.js.map +0 -1
- package/dist/shared/hx-popover-ULjonbaO.js.map +0 -1
- package/dist/shared/hx-popup-CYf9Q5sj.js.map +0 -1
- package/dist/shared/hx-progress-bar-CnTibV63.js.map +0 -1
- package/dist/shared/hx-progress-ring-BHJBaXNk.js.map +0 -1
- package/dist/shared/hx-prose-DZh2KrMb.js +0 -876
- package/dist/shared/hx-prose-DZh2KrMb.js.map +0 -1
- package/dist/shared/hx-radio-BnKcRuQu.js.map +0 -1
- package/dist/shared/hx-rating-Y_t7Z4qb.js.map +0 -1
- package/dist/shared/hx-select-C50lD7NS.js.map +0 -1
- package/dist/shared/hx-slider-CprSNrRi.js.map +0 -1
- package/dist/shared/hx-spinner-BOApJ-g9.js.map +0 -1
- package/dist/shared/hx-split-panel-DYtB45Tr.js.map +0 -1
- package/dist/shared/hx-stack-CfoW7jU7.js.map +0 -1
- package/dist/shared/hx-stat-C2wfph8W.js.map +0 -1
- package/dist/shared/hx-status-indicator-oYWOkWlD.js.map +0 -1
- package/dist/shared/hx-step-DYoIumpR.js.map +0 -1
- package/dist/shared/hx-switch-DkKchcuP.js.map +0 -1
- package/dist/shared/hx-tab-panel-BRNcLICw.js.map +0 -1
- package/dist/shared/hx-td-CVwCGBYf.js.map +0 -1
- package/dist/shared/hx-text-input-CCZZbWQ9.js.map +0 -1
- package/dist/shared/hx-textarea-BsQdB1Rk.js.map +0 -1
- package/dist/shared/hx-time-picker-CJcIjH3C.js.map +0 -1
- package/dist/shared/hx-toggle-button-D4F1soEM.js.map +0 -1
- package/dist/shared/hx-tooltip-Bk1iQRHs.js.map +0 -1
- package/dist/shared/hx-tree-item-BobGN76x.js.map +0 -1
- package/dist/shared/toast-factory-MvMMreTu.js.map +0 -1
|
@@ -1,876 +0,0 @@
|
|
|
1
|
-
import { LitElement as x, html as p } from "lit";
|
|
2
|
-
import { property as l, customElement as d } from "lit/decorators.js";
|
|
3
|
-
import { A as c } from "./adopted-stylesheets-BZZnCSAs.js";
|
|
4
|
-
const m = `/* ==========================================================================
|
|
5
|
-
Prose — Scoped Barrel File
|
|
6
|
-
All prose styles with selectors scoped to the \`hx-prose\` wrapper.
|
|
7
|
-
Prevents styles from leaking outside the <hx-prose> component.
|
|
8
|
-
|
|
9
|
-
Usage:
|
|
10
|
-
@import '@wc-2026/library/styles/prose/prose.scoped.css';
|
|
11
|
-
|
|
12
|
-
<hx-prose>
|
|
13
|
-
<h1>My heading</h1>
|
|
14
|
-
<p>My content from CKEditor...</p>
|
|
15
|
-
</hx-prose>
|
|
16
|
-
|
|
17
|
-
Override prose custom properties on the hx-prose element or any ancestor:
|
|
18
|
-
hx-prose {
|
|
19
|
-
--hx-prose-max-width: 720px;
|
|
20
|
-
--hx-prose-font-size: var(--hx-font-size-md, 1rem);
|
|
21
|
-
--hx-prose-line-height: var(--hx-line-height-relaxed, 1.75);
|
|
22
|
-
--hx-prose-color: var(--hx-color-neutral-700, #343a40);
|
|
23
|
-
--hx-prose-heading-color: var(--hx-color-neutral-900, #111827);
|
|
24
|
-
--hx-prose-link-color: var(--hx-color-primary-500, #2563EB);
|
|
25
|
-
}
|
|
26
|
-
========================================================================== */
|
|
27
|
-
|
|
28
|
-
/* ==========================================================================
|
|
29
|
-
Container Base
|
|
30
|
-
Sets display:block declaratively to prevent FOUC before JS lifecycle fires.
|
|
31
|
-
Establishes font-family baseline so prose is not affected by ancestor fonts.
|
|
32
|
-
========================================================================== */
|
|
33
|
-
|
|
34
|
-
hx-prose {
|
|
35
|
-
display: block;
|
|
36
|
-
font-family: var(--hx-font-family-sans, sans-serif);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* ==========================================================================
|
|
40
|
-
Headings
|
|
41
|
-
========================================================================== */
|
|
42
|
-
|
|
43
|
-
hx-prose h1,
|
|
44
|
-
hx-prose h2,
|
|
45
|
-
hx-prose h3,
|
|
46
|
-
hx-prose h4,
|
|
47
|
-
hx-prose h5,
|
|
48
|
-
hx-prose h6 {
|
|
49
|
-
font-family: var(
|
|
50
|
-
--hx-prose-heading-font-family,
|
|
51
|
-
var(--hx-heading-font-family, var(--hx-font-family-sans, sans-serif))
|
|
52
|
-
);
|
|
53
|
-
font-weight: var(
|
|
54
|
-
--hx-prose-heading-font-weight,
|
|
55
|
-
var(--hx-heading-font-weight, var(--hx-font-weight-bold, 700))
|
|
56
|
-
);
|
|
57
|
-
line-height: var(
|
|
58
|
-
--hx-prose-heading-line-height,
|
|
59
|
-
var(--hx-heading-line-height, var(--hx-line-height-tight, 1.25))
|
|
60
|
-
);
|
|
61
|
-
letter-spacing: var(
|
|
62
|
-
--hx-prose-heading-letter-spacing,
|
|
63
|
-
var(--hx-heading-letter-spacing, var(--hx-letter-spacing-tight, -0.025em))
|
|
64
|
-
);
|
|
65
|
-
color: var(--hx-prose-heading-color, var(--hx-color-neutral-900, #111827));
|
|
66
|
-
margin-top: 0;
|
|
67
|
-
scroll-margin-top: var(--hx-space-8, 2rem);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
hx-prose h1 {
|
|
71
|
-
font-size: var(--hx-prose-h1-font-size, var(--hx-font-size-4xl, 2.25rem));
|
|
72
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
hx-prose h2 {
|
|
76
|
-
font-size: var(--hx-prose-h2-font-size, var(--hx-font-size-3xl, 1.875rem));
|
|
77
|
-
margin-bottom: var(--hx-space-5, 1.25rem);
|
|
78
|
-
padding-bottom: var(--hx-space-3, 0.75rem);
|
|
79
|
-
border-bottom: var(--hx-border-width-thin, 1px) solid
|
|
80
|
-
var(--hx-color-border-subtle, var(--hx-color-neutral-100, #e9ecef));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
hx-prose h3 {
|
|
84
|
-
font-size: var(--hx-prose-h3-font-size, var(--hx-font-size-2xl, 1.5rem));
|
|
85
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
hx-prose h4 {
|
|
89
|
-
font-size: var(--hx-prose-h4-font-size, var(--hx-font-size-xl, 1.25rem));
|
|
90
|
-
margin-bottom: var(--hx-space-3, 0.75rem);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
hx-prose h5 {
|
|
94
|
-
font-size: var(--hx-prose-h5-font-size, var(--hx-font-size-lg, 1.125rem));
|
|
95
|
-
margin-bottom: var(--hx-space-3, 0.75rem);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
hx-prose h6 {
|
|
99
|
-
font-size: var(--hx-prose-h6-font-size, var(--hx-font-size-md, 1rem));
|
|
100
|
-
font-weight: var(--hx-font-weight-semibold, 600);
|
|
101
|
-
text-transform: uppercase;
|
|
102
|
-
letter-spacing: var(--hx-letter-spacing-wide, 0.025em);
|
|
103
|
-
margin-bottom: var(--hx-space-3, 0.75rem);
|
|
104
|
-
color: var(--hx-color-text-secondary, var(--hx-color-neutral-600, #495057));
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Adjacent heading spacing */
|
|
108
|
-
hx-prose h1 + h2,
|
|
109
|
-
hx-prose h2 + h3,
|
|
110
|
-
hx-prose h3 + h4,
|
|
111
|
-
hx-prose h4 + h5,
|
|
112
|
-
hx-prose h5 + h6 {
|
|
113
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* Spacing above headings when preceded by content */
|
|
117
|
-
hx-prose * + h1 {
|
|
118
|
-
margin-top: var(--hx-space-12, 3rem);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
hx-prose * + h2 {
|
|
122
|
-
margin-top: var(--hx-space-10, 2.5rem);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
hx-prose * + h3 {
|
|
126
|
-
margin-top: var(--hx-space-8, 2rem);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
hx-prose * + h4,
|
|
130
|
-
hx-prose * + h5,
|
|
131
|
-
hx-prose * + h6 {
|
|
132
|
-
margin-top: var(--hx-space-6, 1.5rem);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* ==========================================================================
|
|
136
|
-
Body Text
|
|
137
|
-
========================================================================== */
|
|
138
|
-
|
|
139
|
-
hx-prose p {
|
|
140
|
-
margin-top: 0;
|
|
141
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
142
|
-
font-size: var(--hx-prose-font-size, var(--hx-font-size-md, 1rem));
|
|
143
|
-
line-height: var(--hx-prose-line-height, var(--hx-line-height-relaxed, 1.75));
|
|
144
|
-
color: var(--hx-prose-color, var(--hx-color-neutral-700, #343a40));
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* Lead paragraph — opt-in via .lead class only.
|
|
148
|
-
Removed p:first-child because CKEditor/Drupal output always starts with a <p>
|
|
149
|
-
and promoting every first paragraph to lead styling is semantically incorrect
|
|
150
|
-
for healthcare content (medication instructions, care plans, clinical protocols). */
|
|
151
|
-
hx-prose p.lead {
|
|
152
|
-
font-size: var(--hx-prose-lead-font-size, var(--hx-font-size-lg, 1.125rem));
|
|
153
|
-
color: var(--hx-prose-lead-color, var(--hx-color-neutral-600, #495057));
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/* Blockquote */
|
|
157
|
-
hx-prose blockquote {
|
|
158
|
-
margin-top: 0;
|
|
159
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
160
|
-
margin-left: 0;
|
|
161
|
-
margin-right: 0;
|
|
162
|
-
padding: var(--hx-space-4, 1rem) var(--hx-space-6, 1.5rem);
|
|
163
|
-
border-left: var(--hx-border-width-thick, 3px) solid var(--hx-color-primary-500, #2563eb);
|
|
164
|
-
background-color: var(--hx-color-surface-raised, var(--hx-color-neutral-50, #f8f9fa));
|
|
165
|
-
border-radius: 0 var(--hx-border-radius-sm, 0.25rem) var(--hx-border-radius-sm, 0.25rem) 0;
|
|
166
|
-
font-style: italic;
|
|
167
|
-
color: var(--hx-color-text-secondary, var(--hx-color-neutral-600, #495057));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
hx-prose blockquote p {
|
|
171
|
-
color: inherit;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
hx-prose blockquote p:last-child {
|
|
175
|
-
margin-bottom: 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
hx-prose blockquote cite {
|
|
179
|
-
display: block;
|
|
180
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
181
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
182
|
-
font-style: normal;
|
|
183
|
-
font-weight: var(--hx-font-weight-medium, 500);
|
|
184
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
hx-prose blockquote cite::before {
|
|
188
|
-
content: '\\2014\\00A0';
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/* Horizontal Rule */
|
|
192
|
-
hx-prose hr {
|
|
193
|
-
border: 0;
|
|
194
|
-
border-top: var(--hx-divider-width, var(--hx-border-width-thin, 1px)) solid
|
|
195
|
-
var(--hx-divider-color, var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6)));
|
|
196
|
-
margin-top: var(--hx-space-8, 2rem);
|
|
197
|
-
margin-bottom: var(--hx-space-8, 2rem);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/* Inline Text Elements */
|
|
201
|
-
hx-prose strong,
|
|
202
|
-
hx-prose b {
|
|
203
|
-
font-weight: var(--hx-font-weight-semibold, 600);
|
|
204
|
-
color: var(--hx-prose-heading-color, var(--hx-color-neutral-900, #111827));
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
hx-prose em,
|
|
208
|
-
hx-prose i {
|
|
209
|
-
font-style: italic;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
hx-prose small {
|
|
213
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
214
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
hx-prose mark {
|
|
218
|
-
background-color: var(--hx-color-warning-100, #fff3cd);
|
|
219
|
-
color: var(--hx-color-neutral-900, #0d1117);
|
|
220
|
-
padding: var(--hx-space-0, 0) var(--hx-space-1, 0.25rem);
|
|
221
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
hx-prose del,
|
|
225
|
-
hx-prose s {
|
|
226
|
-
text-decoration: line-through;
|
|
227
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
hx-prose ins {
|
|
231
|
-
text-decoration: underline;
|
|
232
|
-
text-decoration-color: var(--hx-color-success-300, #75b798);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
hx-prose abbr[title] {
|
|
236
|
-
text-decoration: underline dotted;
|
|
237
|
-
text-decoration-color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
238
|
-
cursor: help;
|
|
239
|
-
text-underline-offset: 0.15em;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
hx-prose sub,
|
|
243
|
-
hx-prose sup {
|
|
244
|
-
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
245
|
-
line-height: 0;
|
|
246
|
-
position: relative;
|
|
247
|
-
vertical-align: baseline;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
hx-prose sup {
|
|
251
|
-
top: -0.5em;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
hx-prose sub {
|
|
255
|
-
bottom: -0.25em;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/* Links */
|
|
259
|
-
hx-prose a {
|
|
260
|
-
color: var(
|
|
261
|
-
--hx-prose-link-color,
|
|
262
|
-
var(--hx-color-text-link, var(--hx-color-primary-600, #006868))
|
|
263
|
-
);
|
|
264
|
-
text-decoration: underline;
|
|
265
|
-
text-decoration-color: var(--hx-color-primary-200, #80c2c2);
|
|
266
|
-
text-underline-offset: 0.15em;
|
|
267
|
-
transition:
|
|
268
|
-
color var(--hx-transition-fast, 150ms ease),
|
|
269
|
-
text-decoration-color var(--hx-transition-fast, 150ms ease);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
hx-prose a:hover {
|
|
273
|
-
color: var(--hx-color-text-link-hover, var(--hx-color-primary-700, #005252));
|
|
274
|
-
text-decoration-color: currentColor;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
hx-prose a:visited {
|
|
278
|
-
color: var(--hx-color-text-link-visited, var(--hx-color-secondary-600, #4f46e5));
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
hx-prose a:active {
|
|
282
|
-
color: var(--hx-color-text-link-active, var(--hx-color-primary-800, #003c3c));
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
hx-prose a:focus-visible {
|
|
286
|
-
outline: var(--hx-focus-ring-width, 2px) solid
|
|
287
|
-
var(--hx-focus-ring-color, var(--hx-color-primary-500, #2563eb));
|
|
288
|
-
outline-offset: var(--hx-focus-ring-offset, 2px);
|
|
289
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/* ==========================================================================
|
|
293
|
-
Lists
|
|
294
|
-
========================================================================== */
|
|
295
|
-
|
|
296
|
-
hx-prose ul,
|
|
297
|
-
hx-prose ol {
|
|
298
|
-
margin-top: 0;
|
|
299
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
300
|
-
padding-left: var(--hx-space-6, 1.5rem);
|
|
301
|
-
color: var(--hx-prose-color, var(--hx-color-neutral-700, #343a40));
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
hx-prose ul {
|
|
305
|
-
list-style-type: disc;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
hx-prose ol {
|
|
309
|
-
list-style-type: decimal;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
hx-prose li {
|
|
313
|
-
margin-bottom: var(--hx-space-2, 0.5rem);
|
|
314
|
-
font-size: var(--hx-prose-font-size, var(--hx-font-size-md, 1rem));
|
|
315
|
-
line-height: var(--hx-prose-line-height, var(--hx-line-height-relaxed, 1.75));
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
hx-prose li:last-child {
|
|
319
|
-
margin-bottom: 0;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/* Paragraph inside a list item */
|
|
323
|
-
hx-prose li > p {
|
|
324
|
-
margin-bottom: var(--hx-space-2, 0.5rem);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
hx-prose li > p:last-child {
|
|
328
|
-
margin-bottom: 0;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/* Nested Lists */
|
|
332
|
-
hx-prose ul ul,
|
|
333
|
-
hx-prose ol ul {
|
|
334
|
-
list-style-type: circle;
|
|
335
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
336
|
-
margin-bottom: var(--hx-space-2, 0.5rem);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
hx-prose ul ul ul,
|
|
340
|
-
hx-prose ol ul ul,
|
|
341
|
-
hx-prose ul ol ul,
|
|
342
|
-
hx-prose ol ol ul {
|
|
343
|
-
list-style-type: square;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
hx-prose ol ol,
|
|
347
|
-
hx-prose ul ol {
|
|
348
|
-
list-style-type: lower-alpha;
|
|
349
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
350
|
-
margin-bottom: var(--hx-space-2, 0.5rem);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
hx-prose ol ol ol,
|
|
354
|
-
hx-prose ul ol ol,
|
|
355
|
-
hx-prose ol ul ol,
|
|
356
|
-
hx-prose ul ul ol {
|
|
357
|
-
list-style-type: lower-roman;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/* List Marker Color */
|
|
361
|
-
hx-prose ul ::marker,
|
|
362
|
-
hx-prose ol ::marker {
|
|
363
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/* Definition Lists */
|
|
367
|
-
hx-prose dl {
|
|
368
|
-
margin-top: 0;
|
|
369
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
hx-prose dt {
|
|
373
|
-
font-weight: var(--hx-font-weight-semibold, 600);
|
|
374
|
-
color: var(--hx-prose-heading-color, var(--hx-color-neutral-900, #111827));
|
|
375
|
-
margin-bottom: var(--hx-space-1, 0.25rem);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
hx-prose dt + dt {
|
|
379
|
-
margin-top: var(--hx-space-4, 1rem);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
hx-prose dd {
|
|
383
|
-
margin-left: var(--hx-space-6, 1.5rem);
|
|
384
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
385
|
-
color: var(--hx-prose-color, var(--hx-color-neutral-700, #343a40));
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
hx-prose dd:last-child {
|
|
389
|
-
margin-bottom: 0;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
/* ==========================================================================
|
|
393
|
-
Tables
|
|
394
|
-
========================================================================== */
|
|
395
|
-
|
|
396
|
-
hx-prose table {
|
|
397
|
-
width: 100%;
|
|
398
|
-
border-collapse: collapse;
|
|
399
|
-
border-spacing: 0;
|
|
400
|
-
margin-top: 0;
|
|
401
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
402
|
-
font-size: var(--hx-prose-font-size, var(--hx-font-size-md, 1rem));
|
|
403
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
404
|
-
color: var(--hx-prose-color, var(--hx-color-neutral-700, #343a40));
|
|
405
|
-
overflow-x: auto;
|
|
406
|
-
display: block;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
@media (min-width: 640px) {
|
|
410
|
-
hx-prose table {
|
|
411
|
-
display: table;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
hx-prose caption {
|
|
416
|
-
padding-top: var(--hx-space-3, 0.75rem);
|
|
417
|
-
padding-bottom: var(--hx-space-3, 0.75rem);
|
|
418
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
419
|
-
font-weight: var(--hx-font-weight-medium, 500);
|
|
420
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
421
|
-
text-align: left;
|
|
422
|
-
/* caption-side:top matches DOM order — WAI-ARIA authoring practices recommend
|
|
423
|
-
caption at top for data tables so screen reader announcement aligns with
|
|
424
|
-
visual placement. caption-side:bottom creates AT/visual mismatch (WCAG H39). */
|
|
425
|
-
caption-side: top;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
hx-prose thead {
|
|
429
|
-
border-bottom: var(--hx-border-width-medium, 2px) solid
|
|
430
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
hx-prose tfoot {
|
|
434
|
-
border-top: var(--hx-border-width-medium, 2px) solid
|
|
435
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
hx-prose th {
|
|
439
|
-
padding: var(--hx-space-3, 0.75rem) var(--hx-space-4, 1rem);
|
|
440
|
-
font-weight: var(--hx-font-weight-semibold, 600);
|
|
441
|
-
color: var(--hx-prose-heading-color, var(--hx-color-neutral-900, #111827));
|
|
442
|
-
text-align: left;
|
|
443
|
-
/* Removed white-space:nowrap — long clinical header text (e.g. "Prescribing Physician")
|
|
444
|
-
causes horizontal overflow on mobile viewports and forces table width to be
|
|
445
|
-
determined by longest header rather than content. */
|
|
446
|
-
background-color: var(--hx-color-surface-raised, var(--hx-color-neutral-50, #f8f9fa));
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
hx-prose td {
|
|
450
|
-
padding: var(--hx-space-3, 0.75rem) var(--hx-space-4, 1rem);
|
|
451
|
-
border-bottom: var(--hx-border-width-thin, 1px) solid
|
|
452
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
453
|
-
vertical-align: top;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/* Zebra Striping */
|
|
457
|
-
hx-prose tbody tr:nth-child(even) {
|
|
458
|
-
background-color: var(--hx-color-surface-raised, var(--hx-color-neutral-50, #f8f9fa));
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
/* Row Hover */
|
|
462
|
-
hx-prose tbody tr:hover {
|
|
463
|
-
background-color: var(--hx-color-primary-50, #e6f3f3);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/* Alignment Helpers — Drupal CKEditor compatibility shims.
|
|
467
|
-
The HTML \`align\` attribute is deprecated in HTML5 but CKEditor may still
|
|
468
|
-
emit it. These selectors normalize deprecated presentational markup.
|
|
469
|
-
Note: [align='left'] is intentionally omitted since left-align is the default. */
|
|
470
|
-
hx-prose th[align='center'],
|
|
471
|
-
hx-prose td[align='center'] {
|
|
472
|
-
text-align: center;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
hx-prose th[align='right'],
|
|
476
|
-
hx-prose td[align='right'] {
|
|
477
|
-
text-align: right;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/* ==========================================================================
|
|
481
|
-
Code
|
|
482
|
-
========================================================================== */
|
|
483
|
-
|
|
484
|
-
/* Inline Code */
|
|
485
|
-
hx-prose code {
|
|
486
|
-
font-family: var(
|
|
487
|
-
--hx-font-family-mono,
|
|
488
|
-
'JetBrains Mono',
|
|
489
|
-
ui-monospace,
|
|
490
|
-
'Cascadia Code',
|
|
491
|
-
monospace
|
|
492
|
-
);
|
|
493
|
-
font-size: var(--hx-font-size-sm, 0.875em);
|
|
494
|
-
font-weight: var(--hx-font-weight-normal, 400);
|
|
495
|
-
background-color: var(--hx-color-surface-sunken, var(--hx-color-neutral-100, #e9ecef));
|
|
496
|
-
color: var(--hx-color-error-600, #b02a37);
|
|
497
|
-
padding: var(--hx-prose-code-padding-v, 0.125em) var(--hx-space-1, 0.25rem);
|
|
498
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
499
|
-
word-break: break-word;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
/* Code Blocks */
|
|
503
|
-
hx-prose pre {
|
|
504
|
-
margin-top: 0;
|
|
505
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
506
|
-
padding: var(--hx-space-4, 1rem) var(--hx-space-5, 1.25rem);
|
|
507
|
-
overflow-x: auto;
|
|
508
|
-
font-family: var(
|
|
509
|
-
--hx-font-family-mono,
|
|
510
|
-
'JetBrains Mono',
|
|
511
|
-
ui-monospace,
|
|
512
|
-
'Cascadia Code',
|
|
513
|
-
monospace
|
|
514
|
-
);
|
|
515
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
516
|
-
line-height: var(--hx-line-height-relaxed, 1.75);
|
|
517
|
-
color: var(--hx-color-neutral-800, #212529);
|
|
518
|
-
background-color: var(--hx-color-surface-sunken, var(--hx-color-neutral-100, #e9ecef));
|
|
519
|
-
border: var(--hx-border-width-thin, 1px) solid
|
|
520
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
521
|
-
border-radius: var(--hx-border-radius-md, 0.375rem);
|
|
522
|
-
-webkit-overflow-scrolling: touch;
|
|
523
|
-
tab-size: 2;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/* Reset inline code styles inside pre */
|
|
527
|
-
hx-prose pre code {
|
|
528
|
-
background-color: transparent;
|
|
529
|
-
color: inherit;
|
|
530
|
-
padding: 0;
|
|
531
|
-
border-radius: 0;
|
|
532
|
-
font-size: inherit;
|
|
533
|
-
font-weight: inherit;
|
|
534
|
-
word-break: normal;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/* Keyboard Input */
|
|
538
|
-
hx-prose kbd {
|
|
539
|
-
font-family: var(
|
|
540
|
-
--hx-font-family-mono,
|
|
541
|
-
'JetBrains Mono',
|
|
542
|
-
ui-monospace,
|
|
543
|
-
'Cascadia Code',
|
|
544
|
-
monospace
|
|
545
|
-
);
|
|
546
|
-
font-size: var(--hx-font-size-sm, 0.875em);
|
|
547
|
-
padding: var(--hx-prose-code-padding-v, 0.125em) var(--hx-space-2, 0.5rem);
|
|
548
|
-
background-color: var(--hx-color-neutral-800, #212529);
|
|
549
|
-
color: var(--hx-color-neutral-0, #ffffff);
|
|
550
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
551
|
-
box-shadow: var(--hx-shadow-inset-sm, inset 0 -1px 0 rgba(0, 0, 0, 0.25));
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
/* Sample Output */
|
|
555
|
-
hx-prose samp {
|
|
556
|
-
font-family: var(
|
|
557
|
-
--hx-font-family-mono,
|
|
558
|
-
'JetBrains Mono',
|
|
559
|
-
ui-monospace,
|
|
560
|
-
'Cascadia Code',
|
|
561
|
-
monospace
|
|
562
|
-
);
|
|
563
|
-
font-size: var(--hx-font-size-sm, 0.875em);
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/* Variable */
|
|
567
|
-
hx-prose var {
|
|
568
|
-
font-style: italic;
|
|
569
|
-
color: var(--hx-color-secondary-600, #4f46e5);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/* ==========================================================================
|
|
573
|
-
Media
|
|
574
|
-
========================================================================== */
|
|
575
|
-
|
|
576
|
-
/* Images */
|
|
577
|
-
hx-prose img {
|
|
578
|
-
max-width: 100%;
|
|
579
|
-
height: auto;
|
|
580
|
-
display: block;
|
|
581
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/* Figure */
|
|
585
|
-
hx-prose figure {
|
|
586
|
-
margin: 0;
|
|
587
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
hx-prose figure img {
|
|
591
|
-
margin-bottom: 0;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
hx-prose figure > a {
|
|
595
|
-
display: block;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
hx-prose figure > a img {
|
|
599
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
hx-prose figcaption {
|
|
603
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
604
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
605
|
-
line-height: var(--hx-line-height-normal, 1.5);
|
|
606
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
607
|
-
font-style: italic;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/* Video */
|
|
611
|
-
hx-prose video {
|
|
612
|
-
max-width: 100%;
|
|
613
|
-
height: auto;
|
|
614
|
-
display: block;
|
|
615
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
616
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/* Iframes */
|
|
620
|
-
hx-prose iframe {
|
|
621
|
-
max-width: 100%;
|
|
622
|
-
border: 0;
|
|
623
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
624
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/* Responsive Embed Wrapper */
|
|
628
|
-
hx-prose .embed-responsive,
|
|
629
|
-
hx-prose .video-embed,
|
|
630
|
-
hx-prose .media-oembed {
|
|
631
|
-
position: relative;
|
|
632
|
-
width: 100%;
|
|
633
|
-
padding-bottom: 56.25%;
|
|
634
|
-
height: 0;
|
|
635
|
-
overflow: hidden;
|
|
636
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
637
|
-
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
hx-prose .embed-responsive iframe,
|
|
641
|
-
hx-prose .embed-responsive video,
|
|
642
|
-
hx-prose .video-embed iframe,
|
|
643
|
-
hx-prose .video-embed video,
|
|
644
|
-
hx-prose .media-oembed iframe,
|
|
645
|
-
hx-prose .media-oembed video {
|
|
646
|
-
position: absolute;
|
|
647
|
-
top: 0;
|
|
648
|
-
left: 0;
|
|
649
|
-
width: 100%;
|
|
650
|
-
height: 100%;
|
|
651
|
-
margin-bottom: 0;
|
|
652
|
-
border-radius: 0;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
/* Audio */
|
|
656
|
-
hx-prose audio {
|
|
657
|
-
width: 100%;
|
|
658
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/* Object / Embed */
|
|
662
|
-
hx-prose object,
|
|
663
|
-
hx-prose embed {
|
|
664
|
-
max-width: 100%;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
/* ==========================================================================
|
|
668
|
-
Drupal
|
|
669
|
-
========================================================================== */
|
|
670
|
-
|
|
671
|
-
/* Drupal Field Wrappers */
|
|
672
|
-
hx-prose .field {
|
|
673
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
hx-prose .field:last-child {
|
|
677
|
-
margin-bottom: 0;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
hx-prose .field__label {
|
|
681
|
-
font-weight: var(--hx-font-weight-semibold, 600);
|
|
682
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
683
|
-
color: var(--hx-color-text-secondary, var(--hx-color-neutral-600, #495057));
|
|
684
|
-
margin-bottom: var(--hx-space-1, 0.25rem);
|
|
685
|
-
text-transform: uppercase;
|
|
686
|
-
letter-spacing: var(--hx-letter-spacing-wide, 0.025em);
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
hx-prose .field__item {
|
|
690
|
-
margin-bottom: var(--hx-space-2, 0.5rem);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
hx-prose .field__item:last-child {
|
|
694
|
-
margin-bottom: 0;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
hx-prose .field__items {
|
|
698
|
-
list-style: none;
|
|
699
|
-
padding-left: 0;
|
|
700
|
-
margin: 0;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
/* Text Formatted (CKEditor wrapper) */
|
|
704
|
-
hx-prose .text-formatted > *:last-child {
|
|
705
|
-
margin-bottom: 0;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/* Drupal Media Embeds */
|
|
709
|
-
hx-prose .media-embed,
|
|
710
|
-
hx-prose .embedded-entity,
|
|
711
|
-
hx-prose .media--type-image,
|
|
712
|
-
hx-prose .media--type-remote-video {
|
|
713
|
-
margin-top: var(--hx-space-4, 1rem);
|
|
714
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
hx-prose .media-embed img,
|
|
718
|
-
hx-prose .embedded-entity img {
|
|
719
|
-
max-width: 100%;
|
|
720
|
-
height: auto;
|
|
721
|
-
display: block;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
/* CKEditor Alignment Classes */
|
|
725
|
-
hx-prose .align-left {
|
|
726
|
-
float: left;
|
|
727
|
-
margin-right: var(--hx-space-6, 1.5rem);
|
|
728
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
729
|
-
max-width: 50%;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
hx-prose .align-right {
|
|
733
|
-
float: right;
|
|
734
|
-
margin-left: var(--hx-space-6, 1.5rem);
|
|
735
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
736
|
-
max-width: 50%;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
hx-prose .align-center {
|
|
740
|
-
display: block;
|
|
741
|
-
margin-left: auto;
|
|
742
|
-
margin-right: auto;
|
|
743
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
744
|
-
text-align: center;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/* Reset float on alignment images */
|
|
748
|
-
hx-prose .align-left img,
|
|
749
|
-
hx-prose .align-right img {
|
|
750
|
-
display: block;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
/* Clear floats after aligned elements so block-level content (headings,
|
|
754
|
-
paragraphs) starts below floated images rather than wrapping beside them.
|
|
755
|
-
Consumers who want wrap-around behavior can override with clear: none. */
|
|
756
|
-
hx-prose .align-left + *,
|
|
757
|
-
hx-prose .align-right + * {
|
|
758
|
-
clear: both;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
/* CKEditor Caption */
|
|
762
|
-
hx-prose .caption {
|
|
763
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
hx-prose .caption figcaption,
|
|
767
|
-
hx-prose .caption .caption-text {
|
|
768
|
-
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
769
|
-
color: var(--hx-color-text-muted, var(--hx-color-neutral-500, #6c757d));
|
|
770
|
-
font-style: italic;
|
|
771
|
-
margin-top: var(--hx-space-2, 0.5rem);
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/* Drupal Table Classes */
|
|
775
|
-
hx-prose .table-responsive {
|
|
776
|
-
overflow-x: auto;
|
|
777
|
-
-webkit-overflow-scrolling: touch;
|
|
778
|
-
margin-bottom: var(--hx-space-6, 1.5rem);
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
hx-prose .table-responsive table {
|
|
782
|
-
margin-bottom: 0;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/* Drupal Messages / Callouts */
|
|
786
|
-
hx-prose .messages,
|
|
787
|
-
hx-prose .callout {
|
|
788
|
-
padding: var(--hx-space-4, 1rem) var(--hx-space-5, 1.25rem);
|
|
789
|
-
margin-bottom: var(--hx-space-4, 1rem);
|
|
790
|
-
border: var(--hx-border-width-thin, 1px) solid
|
|
791
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
792
|
-
border-radius: var(--hx-border-radius-md, 0.375rem);
|
|
793
|
-
border-left-width: var(--hx-border-width-thick, 3px);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
hx-prose .messages--status {
|
|
797
|
-
border-left-color: var(--hx-color-success-500, #198754);
|
|
798
|
-
background-color: var(--hx-color-success-50, #f0fdf4);
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
hx-prose .messages--warning {
|
|
802
|
-
border-left-color: var(--hx-color-warning-500, #ffc107);
|
|
803
|
-
background-color: var(--hx-color-warning-50, #fffbeb);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
hx-prose .messages--error {
|
|
807
|
-
border-left-color: var(--hx-color-error-500, #dc3545);
|
|
808
|
-
background-color: var(--hx-color-error-50, #fef2f2);
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/* CKEditor Content Separator */
|
|
812
|
-
hx-prose .page-break {
|
|
813
|
-
border: 0;
|
|
814
|
-
border-top: var(--hx-border-width-thin, 1px) dashed
|
|
815
|
-
var(--hx-color-border-default, var(--hx-color-neutral-200, #dee2e6));
|
|
816
|
-
margin-top: var(--hx-space-8, 2rem);
|
|
817
|
-
margin-bottom: var(--hx-space-8, 2rem);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/* Clear Floats */
|
|
821
|
-
hx-prose .clearfix::after {
|
|
822
|
-
content: '';
|
|
823
|
-
display: table;
|
|
824
|
-
clear: both;
|
|
825
|
-
}
|
|
826
|
-
`, v = m;
|
|
827
|
-
var g = Object.defineProperty, f = Object.getOwnPropertyDescriptor, h = (r, n, t, o) => {
|
|
828
|
-
for (var e = o > 1 ? void 0 : o ? f(n, t) : n, s = r.length - 1, i; s >= 0; s--)
|
|
829
|
-
(i = r[s]) && (e = (o ? i(n, t, e) : i(e)) || e);
|
|
830
|
-
return o && e && g(n, t, e), e;
|
|
831
|
-
};
|
|
832
|
-
let a = class extends x {
|
|
833
|
-
constructor() {
|
|
834
|
-
super(...arguments), this.adoptedStyles = new c(this, v, document), this.size = "base", this.maxWidth = "";
|
|
835
|
-
}
|
|
836
|
-
// ─── Light DOM ───
|
|
837
|
-
createRenderRoot() {
|
|
838
|
-
return this;
|
|
839
|
-
}
|
|
840
|
-
// ─── Lifecycle ───
|
|
841
|
-
connectedCallback() {
|
|
842
|
-
super.connectedCallback(), this.style.display = "block", this._applyMaxWidth(), this._applySize();
|
|
843
|
-
}
|
|
844
|
-
updated(r) {
|
|
845
|
-
r.has("maxWidth") && this._applyMaxWidth(), r.has("size") && this._applySize();
|
|
846
|
-
}
|
|
847
|
-
// ─── Private ───
|
|
848
|
-
_applyMaxWidth() {
|
|
849
|
-
this.maxWidth ? this.style.maxWidth = this.maxWidth : this.style.maxWidth = "";
|
|
850
|
-
}
|
|
851
|
-
_applySize() {
|
|
852
|
-
const n = {
|
|
853
|
-
sm: "var(--hx-font-size-sm, 0.875rem)",
|
|
854
|
-
base: "",
|
|
855
|
-
lg: "var(--hx-font-size-lg, 1.125rem)"
|
|
856
|
-
}[this.size];
|
|
857
|
-
n ? this.style.setProperty("--hx-prose-font-size", n) : this.style.removeProperty("--hx-prose-font-size");
|
|
858
|
-
}
|
|
859
|
-
// ─── Render ───
|
|
860
|
-
render() {
|
|
861
|
-
return p`<slot></slot>`;
|
|
862
|
-
}
|
|
863
|
-
};
|
|
864
|
-
h([
|
|
865
|
-
l({ type: String, reflect: !0 })
|
|
866
|
-
], a.prototype, "size", 2);
|
|
867
|
-
h([
|
|
868
|
-
l({ type: String, reflect: !0, attribute: "max-width" })
|
|
869
|
-
], a.prototype, "maxWidth", 2);
|
|
870
|
-
a = h([
|
|
871
|
-
d("hx-prose")
|
|
872
|
-
], a);
|
|
873
|
-
export {
|
|
874
|
-
a as H
|
|
875
|
-
};
|
|
876
|
-
//# sourceMappingURL=hx-prose-DZh2KrMb.js.map
|