genesys-spark-components 4.57.0 → 4.59.0
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/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/{gux-form-field-error-d11bcc8b.js → gux-form-field-error-4e1d6772.js} +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +91 -0
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +12 -7
- package/dist/cjs/gux-form-field-range.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-search.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-select.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
- package/dist/cjs/index-7fb02c8c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-088b9526.js → usage-e56cf78b.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +1 -1
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +51 -6
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.css +163 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +128 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.e2e.js +213 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/tests/gux-form-field-radio-group.spec.js +128 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +2 -2
- package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +3 -3
- package/dist/esm/gux-form-field-dropdown.entry.js +3 -3
- package/dist/esm/{gux-form-field-error-f48e2125.js → gux-form-field-error-4d654b58.js} +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-number_3.entry.js +6 -6
- package/dist/esm/gux-form-field-phone.entry.js +3 -3
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +87 -0
- package/dist/esm/gux-form-field-radio.entry.js +12 -7
- package/dist/esm/gux-form-field-range.entry.js +5 -5
- package/dist/esm/gux-form-field-search.entry.js +6 -6
- package/dist/esm/gux-form-field-select.entry.js +6 -6
- package/dist/esm/gux-form-field-text-like.entry.js +3 -3
- package/dist/esm/gux-form-field-textarea.entry.js +5 -5
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-selector-card-beta.entry.js +1 -1
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +4 -4
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker.entry.js +2 -2
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip.entry.js +3 -3
- package/dist/esm/gux-truncate.entry.js +3 -3
- package/dist/esm/index-da21b737.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-a8abbb98.js → usage-3f863b2c.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-06ad5b91.entry.js → p-02d9dde3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9e20fe9.entry.js → p-04fbe432.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fa0d679.entry.js → p-05fb33d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14a4990c.entry.js → p-0e1ef004.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-105eda34.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-87118f41.entry.js → p-11f0e6a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51ca4611.entry.js → p-1303aef4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-13e61fd9.entry.js +1 -0
- package/dist/genesys-webcomponents/p-166b86b5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1b8873a5.entry.js → p-16f5354a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d38f8cd1.entry.js → p-199645ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a67ffe36.entry.js → p-1c95dfc6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29331c79.entry.js → p-249fdd65.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-25716d98.entry.js +1 -0
- package/dist/genesys-webcomponents/p-265b0b57.js +1 -0
- package/dist/genesys-webcomponents/{p-378efbdd.entry.js → p-2d3d0cf3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad82b20a.entry.js → p-2ed226fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-141f4c32.entry.js → p-30c9791a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8303129.entry.js → p-350b986d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e368be38.entry.js → p-351fbf86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ec91016.entry.js → p-399a16ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1070d8c0.entry.js → p-3cf5c0fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a209b728.entry.js → p-3f77ccab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3406eabd.entry.js → p-4453640f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-463994a1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-95e90209.entry.js → p-4c0aa945.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a69f598.entry.js → p-56a1a7a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-584611b6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-679c6f05.entry.js → p-5d0a8156.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97c78cb3.entry.js → p-5f77e362.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5fed9dc0.entry.js +1 -0
- package/dist/genesys-webcomponents/p-62aef525.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-69a6d7b1.entry.js → p-63eb8e88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebdc3ff6.entry.js → p-68fd77de.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fa64eb6.entry.js → p-72d5452a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b699cb12.entry.js → p-73665a54.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5785da2.entry.js → p-73958a04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e07f7fe.entry.js → p-76e60cb3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a528f0c4.entry.js → p-794f6435.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64d58b11.entry.js → p-798737c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7635bed1.entry.js → p-7be0a366.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1e49fd8.js → p-7cdd331f.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f42a9f4.entry.js → p-7d125c69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c140c29.entry.js → p-7e1c2f72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad2bfeaf.entry.js → p-831cfb60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5eb5331c.entry.js → p-8a8e8a28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50024935.entry.js → p-8c87358e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74fcbf78.entry.js → p-8e67ed93.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8e6d397c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-84580940.entry.js → p-9389a4b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7392ab59.entry.js → p-94dd2863.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4751f92.entry.js → p-9878898a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d23b49d.entry.js → p-9b7f03e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42d09654.entry.js → p-9dd5e69a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e696128.entry.js → p-9e6adb40.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8539585.entry.js → p-a24dc667.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3f09ed1.entry.js → p-a2c85a9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-679889d5.entry.js → p-a6dae158.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1fbfe25f.entry.js → p-a6f281c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a7823c90.entry.js +1 -0
- package/dist/genesys-webcomponents/p-aa2dba78.entry.js +1 -0
- package/dist/genesys-webcomponents/p-affee11d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a1eef259.entry.js → p-b05def78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5071b6ff.entry.js → p-b0bee03f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2ca8188.entry.js → p-b1d2de1c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10682d93.entry.js → p-b8605826.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75100006.entry.js → p-b98766aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5d3f1b6.entry.js → p-bbaa8cd1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d7e66ba.entry.js → p-bd19a366.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-be4e45a9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a37414fb.entry.js → p-c41f28ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15578fb4.entry.js → p-c5c74fd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1dddb131.entry.js → p-c75de6ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31f03ac9.entry.js → p-c78b28c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b359bf67.entry.js → p-c80fbb51.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c8c8aaf6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7e56b3b2.entry.js → p-ca8fd375.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cc5e4282.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-651a1d18.entry.js → p-cc6452da.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0b0831db.entry.js → p-ce88bc20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e818368.entry.js → p-d26b43d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-135ba497.entry.js → p-d2743d2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eae2c1a4.entry.js → p-d38aa038.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad43ad0a.entry.js → p-d960fb26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3af38412.entry.js → p-dac3eaba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f36b3a12.entry.js → p-db1376b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-df12ef2c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-44ca1a07.entry.js → p-e14c36a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c14f88c.entry.js → p-e1f26240.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90145e6a.entry.js → p-e2649d36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d8e4dc5.entry.js → p-e3248c05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3726226.entry.js → p-e3b977e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f20fd74.entry.js → p-e47ebecc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4cbc5aae.entry.js → p-e72ea20d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4b249ed.entry.js → p-e8cfeda4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fe0f4eb.entry.js → p-ec116f01.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef17876a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-54a1868e.entry.js → p-f4d93bb8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d79a374f.entry.js → p-f64d7837.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-440eec7b.entry.js → p-f6b8197c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a508f81.entry.js → p-f80b6217.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc7d7f32.entry.js → p-f831b011.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98137b55.entry.js → p-f93901db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aeeda818.entry.js → p-f99755d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fab418bd.entry.js +1 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.d.ts +3 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.d.ts +32 -0
- package/dist/types/components.d.ts +25 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-0398f476.entry.js +0 -1
- package/dist/genesys-webcomponents/p-276cf7f6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3b645161.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d308602.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ed61122.js +0 -1
- package/dist/genesys-webcomponents/p-66dd3854.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6deabd05.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95b547f1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a5a6525.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9b8ecd72.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a82885c8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-af811cd9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b7e12c93.entry.js +0 -1
- package/dist/genesys-webcomponents/p-be70389e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d3b558a5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-db39874f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dda332d5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f69b2ef3.entry.js +0 -1
@@ -0,0 +1,91 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-7fb02c8c.js');
|
6
|
+
const onMutation = require('./on-mutation-3d294d15.js');
|
7
|
+
const hasSlot = require('./has-slot-3edae188.js');
|
8
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
9
|
+
const guxFormFieldFieldsetContainer = require('./gux-form-field-fieldset-container-366ae678.js');
|
10
|
+
const getSlotTextContent = require('./get-slot-text-content-83cb3c6d.js');
|
11
|
+
const usage = require('./usage-e56cf78b.js');
|
12
|
+
|
13
|
+
const guxFormFieldRadioGroupCss = ".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label ::slotted(label){white-space:nowrap}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";
|
14
|
+
const GuxFormFieldRadioGroupBetaStyle0 = guxFormFieldRadioGroupCss;
|
15
|
+
|
16
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
17
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
19
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
20
|
+
else
|
21
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
22
|
+
if (d = decorators[i])
|
23
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
25
|
+
};
|
26
|
+
const GuxFormFieldRadioGroupBeta = class {
|
27
|
+
constructor(hostRef) {
|
28
|
+
index.registerInstance(this, hostRef);
|
29
|
+
this.hasGroupError = false;
|
30
|
+
this.hasGroupHelp = false;
|
31
|
+
this.disabled = false;
|
32
|
+
}
|
33
|
+
watchGroupError(hasGroupError) {
|
34
|
+
const radioSlots = this.root.querySelectorAll('gux-form-field-radio');
|
35
|
+
if (radioSlots) {
|
36
|
+
radioSlots.forEach(item => {
|
37
|
+
item.hasGroupError = hasGroupError;
|
38
|
+
});
|
39
|
+
}
|
40
|
+
}
|
41
|
+
watchDisabled() {
|
42
|
+
this.setDisabledRadio();
|
43
|
+
}
|
44
|
+
onMutation() {
|
45
|
+
this.hasGroupError = hasSlot.hasSlot(this.root, 'group-error');
|
46
|
+
this.hasGroupHelp = hasSlot.hasSlot(this.root, 'group-help');
|
47
|
+
}
|
48
|
+
componentWillLoad() {
|
49
|
+
this.hasGroupError = hasSlot.hasSlot(this.root, 'group-error');
|
50
|
+
this.hasGroupHelp = hasSlot.hasSlot(this.root, 'group-help');
|
51
|
+
this.setLabel();
|
52
|
+
this.setDisabledRadio();
|
53
|
+
usage.trackComponent(this.root);
|
54
|
+
}
|
55
|
+
disconnectedCallback() {
|
56
|
+
if (this.disabledObserver) {
|
57
|
+
this.disabledObserver.disconnect();
|
58
|
+
}
|
59
|
+
}
|
60
|
+
setDisabledRadio() {
|
61
|
+
const radioSlots = this.root.querySelectorAll('gux-form-field-radio');
|
62
|
+
if (radioSlots) {
|
63
|
+
radioSlots.forEach(item => {
|
64
|
+
item.hasGroupDisabled = this.disabled;
|
65
|
+
});
|
66
|
+
}
|
67
|
+
}
|
68
|
+
renderScreenReaderText(text, condition = false) {
|
69
|
+
if (condition) {
|
70
|
+
return (index.h("gux-screen-reader-beta", null, text));
|
71
|
+
}
|
72
|
+
}
|
73
|
+
render() {
|
74
|
+
var _a;
|
75
|
+
return (index.h(guxFormFieldFieldsetContainer.GuxFormFieldFieldsetContainer, { key: 'a343c90310cf28500ed7af2a5d3a825f3be74b4f', labelPosition: "above" }, index.h(guxFormFieldFieldsetContainer.GuxFormFieldLegendLabel, { key: 'a9256282d2effa1a337bbd59c96cbe066a390af7', position: "above", required: false, labelText: (_a = this.label) === null || _a === void 0 ? void 0 : _a.textContent }, index.h("slot", { key: 'c08396feebf1cde91f19b6d8bc5b399976301c45', name: "group-label", onSlotchange: () => this.setLabel() }), this.renderScreenReaderText(getSlotTextContent.getSlotTextContent(this.root, 'group-error'), this.hasGroupError), this.renderScreenReaderText(getSlotTextContent.getSlotTextContent(this.root, 'group-help'), this.hasGroupHelp)), index.h("slot", { key: '20d0194275ab1a61b042169b344210bc0f816930' }), index.h(guxFormFieldError.GuxFormFieldError, { key: '9e9e3a9607c3762e1c937bbe9e02f659b53a93f1', show: this.hasGroupError }, index.h("slot", { key: 'd43287ea4f5b354ac51b791b693cd8806552595b', name: "group-error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '382f3c667023926fa717b3c4371234249759906d', show: !this.hasGroupError && this.hasGroupHelp }, index.h("slot", { key: '69c18b00b4290b1c2ec478ba066e9a2894d18d1e', name: "group-help" }))));
|
76
|
+
}
|
77
|
+
setLabel() {
|
78
|
+
this.label = this.root.querySelector('label[slot="label"]');
|
79
|
+
}
|
80
|
+
get root() { return index.getElement(this); }
|
81
|
+
static get watchers() { return {
|
82
|
+
"hasGroupError": ["watchGroupError"],
|
83
|
+
"disabled": ["watchDisabled"]
|
84
|
+
}; }
|
85
|
+
};
|
86
|
+
__decorate([
|
87
|
+
onMutation.OnMutation({ childList: true, subtree: true })
|
88
|
+
], GuxFormFieldRadioGroupBeta.prototype, "onMutation", null);
|
89
|
+
GuxFormFieldRadioGroupBeta.style = GuxFormFieldRadioGroupBetaStyle0;
|
90
|
+
|
91
|
+
exports.gux_form_field_radio_group_beta = GuxFormFieldRadioGroupBeta;
|
@@ -7,14 +7,14 @@ const onInputDisabledStateChange = require('./on-input-disabled-state-change-660
|
|
7
7
|
const onMutation = require('./on-mutation-3d294d15.js');
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
9
9
|
const hasSlot = require('./has-slot-3edae188.js');
|
10
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
10
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
11
11
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
12
|
-
const usage = require('./usage-
|
12
|
+
const usage = require('./usage-e56cf78b.js');
|
13
13
|
require('./random-html-id-71c43d5a.js');
|
14
14
|
require('./log-error-7b9d4b57.js');
|
15
15
|
require('./simulate-native-event-e88bf64f.js');
|
16
16
|
|
17
|
-
const guxFormFieldRadioCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
17
|
+
const guxFormFieldRadioCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap);padding-top:4px}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;width:var(--gse-ui-radioButton-icon-width);height:var(--gse-ui-radioButton-icon-height);margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";
|
18
18
|
const GuxFormFieldRadioStyle0 = guxFormFieldRadioCss;
|
19
19
|
|
20
20
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -31,8 +31,10 @@ const GuxFormFieldRadio = class {
|
|
31
31
|
constructor(hostRef) {
|
32
32
|
index.registerInstance(this, hostRef);
|
33
33
|
this.disabled = undefined;
|
34
|
-
this.hasError = false;
|
35
34
|
this.hasHelp = false;
|
35
|
+
this.hasError = false;
|
36
|
+
this.hasGroupError = false;
|
37
|
+
this.hasGroupDisabled = false;
|
36
38
|
}
|
37
39
|
onMutation() {
|
38
40
|
this.hasError = hasSlot.hasSlot(this.root, 'error');
|
@@ -50,13 +52,16 @@ const GuxFormFieldRadio = class {
|
|
50
52
|
}
|
51
53
|
}
|
52
54
|
render() {
|
53
|
-
return (index.h(index.Host, { key: '
|
54
|
-
'gux-input-error': this.hasError,
|
55
|
+
return (index.h(index.Host, { key: 'b335309d70bc8ab06267c50f4c623ca519238199', class: {
|
56
|
+
'gux-input-error': this.hasError || this.hasGroupError,
|
55
57
|
'gux-disabled': this.disabled
|
56
|
-
} }, index.h("div", { key: '
|
58
|
+
} }, index.h("div", { key: '97e99ea3fa5d83000ea819cd1713800f4a96e4f9', class: "gux-form-field-container" }, index.h("div", { key: '15a44ed431873990b2aa9209979b6dd2951ba042', class: "gux-input-label" }, index.h("div", { key: 'e9e37654772a1b0e365903bdf7f5eab42b620c8e', class: "gux-input" }, index.h("slot", { key: '6ea9b85433af15c9f0a527fcff3460f529322507', name: "input", onSlotchange: () => this.setInput() })), index.h("div", { key: '7b10f8f0a65b77d793fb7ff14ccaae564340e394', class: "gux-label", "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("slot", { key: '5794f7de875016c01c815f6a54a851d1df6e3e34', name: "label" }), index.h(guxFormFieldError.GuxFormFieldError, { key: '35f92edfc585f98332726aefcde59f5a48dab422', show: this.hasError }, index.h("slot", { key: '857177e5d2dc47933e268e0e63cbb2a83def05e2', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '41e71c3fb43f56bb8bff20476e690a342c0a02f5', show: !this.hasError && this.hasHelp }, index.h("slot", { key: '044b3a68741d85c3bcab3ab247257fc551fc9bf4', name: "help" })))))));
|
57
59
|
}
|
58
60
|
setInput() {
|
59
61
|
this.input = guxFormField_service.getSlottedInput(this.root, 'input[type="radio"][slot="input"]');
|
62
|
+
if (this.hasGroupDisabled) {
|
63
|
+
this.input.disabled = true;
|
64
|
+
}
|
60
65
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
61
66
|
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
62
67
|
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
@@ -8,16 +8,16 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
10
10
|
const hasSlot = require('./has-slot-3edae188.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldContainer = require('./gux-form-field-container-51849136.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
const onResize = require('./on-resize-da1477df.js');
|
16
16
|
require('./random-html-id-71c43d5a.js');
|
17
17
|
require('./log-error-7b9d4b57.js');
|
18
18
|
require('./simulate-native-event-e88bf64f.js');
|
19
19
|
|
20
|
-
const guxFormFieldRangeCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
20
|
+
const guxFormFieldRangeCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;width:100%;width:100%;height:var(--gse-ui-slider-bar-height);margin:calc(var(--gse-ui-slider-handle-width) / 2) 0;margin-top:calc(-1 * (var(--gse-ui-slider-handle-width) / 2 + var(--gse-ui-slider-bar-height)));-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-slider-gap);place-content:stretch flex-start;align-items:center;height:32px;font-size:var(--gse-ui-slider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-slider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:var(--gse-ui-slider-bar-height);margin:6px 0;background:var(--gse-ui-slider-bar-default-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:var(--gse-ui-slider-bar-height);background-color:var(--gse-ui-slider-bar-selected-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin:0 0 0 var(--gux-spacing-medium);font-family:var(--gse-ui-slider-label-text-fontFamily);font-size:var(--gse-ui-slider-label-text-fontSize);font-weight:var(--gse-ui-slider-label-text-fontWeight);line-height:var(--gse-ui-slider-label-text-lineHeight);text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}";
|
21
21
|
const GuxFormFieldRangeStyle0 = guxFormFieldRangeCss;
|
22
22
|
|
23
23
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -88,9 +88,9 @@ const GuxFormField = class {
|
|
88
88
|
clearInterval(this.valueWatcherId);
|
89
89
|
}
|
90
90
|
render() {
|
91
|
-
return (index.h(index.Host, { key: '
|
91
|
+
return (index.h(index.Host, { key: '452a88b472a77083f5878406b9b1f84a54e2941b', class: {
|
92
92
|
'gux-active': this.active
|
93
|
-
} }, index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
93
|
+
} }, index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '4ca11339451208acf905fd0f2c7a4e8551b04c18', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: '5d17e46afa81209b5e3c60ff94e8dd546fb631b3', position: this.computedLabelPosition, required: this.required }, index.h("slot", { key: '00115f8167fde4e5631dda50554fb86b75b82149', name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { key: 'bf6f36a21065b4c932f1efd32d06c62c9f284534', class: "gux-input-and-error-container" }, this.renderRangeInput(), index.h(guxFormFieldError.GuxFormFieldError, { key: 'bf91840ef34f3e67ea38000a21956c0bafa4d7f6', show: this.hasError }, index.h("slot", { key: '0c7ce3f52902ec67d64efc1b804640abef240b72', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: 'a90199cbc3cf58b7c5693dc9fe98342867cf134b', show: !this.hasError && this.hasHelp }, index.h("slot", { key: 'a63394f60f0820320b89e61b2d856bf6b068b61b', name: "help" }))))));
|
94
94
|
}
|
95
95
|
get variant() {
|
96
96
|
return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';
|
@@ -8,15 +8,15 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
10
10
|
const hasSlot = require('./has-slot-3edae188.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldContainer = require('./gux-form-field-container-51849136.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./random-html-id-71c43d5a.js');
|
16
16
|
require('./log-error-7b9d4b57.js');
|
17
17
|
require('./simulate-native-event-e88bf64f.js');
|
18
18
|
|
19
|
-
const guxFormFieldSearchCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
19
|
+
const guxFormFieldSearchCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";
|
20
20
|
const GuxFormFieldSearchStyle0 = guxFormFieldSearchCss;
|
21
21
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -68,13 +68,13 @@ const GuxFormFieldSearch = class {
|
|
68
68
|
}
|
69
69
|
}
|
70
70
|
render() {
|
71
|
-
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
71
|
+
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: 'eae9c8659ddb5471f4cc13d8033ebce2e159efdb', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: '7e5d682b6952513634bc8789ade7630f012b6bce', position: this.computedLabelPosition, required: this.required }, index.h("slot", { key: 'eb6428c53a2c5f8a3159c925fd6e3797473987aa', name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { key: '0ad6c809bcd37ca397cce65ef7a38c2567b7d12f', class: "gux-input-and-error-container" }, index.h("div", { key: '78b59a3f13a75474f930587c8bb5c309e3b96ace', class: {
|
72
72
|
'gux-input': true,
|
73
73
|
'gux-input-error': this.hasError
|
74
|
-
} }, index.h("div", { key: '
|
74
|
+
} }, index.h("div", { key: '915b59490d2c95d8276f43b6087a01be58c52cd3', class: {
|
75
75
|
'gux-input-container': true,
|
76
76
|
'gux-disabled': this.disabled
|
77
|
-
} }, index.h("gux-icon", { key: '
|
77
|
+
} }, index.h("gux-icon", { key: '9d9e1565619b3902931afcba8bbff66c99e32015', "icon-name": "fa/magnifying-glass-regular", decorative: true }), index.h("slot", { key: 'ecc5fe01557818ae02c52dd9b4beb9e2eb474cb8', name: "input" }), this.clearable && this.hasContent && !this.disabled && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) })))), index.h(guxFormFieldError.GuxFormFieldError, { key: 'e74de993184468a668f9d7f087980582dd13b53a', show: this.hasError }, index.h("slot", { key: '20277ecb11cf72797d0dc8d8457be3324e200b33', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: 'd1a78b8009dfab3af50999a38a4cfd276106b6c5', show: !this.hasError && this.hasHelp }, index.h("slot", { key: 'c938fc9efec79d50f30dcd139ec344dfbf4743e7', name: "help" })))));
|
78
78
|
}
|
79
79
|
get variant() {
|
80
80
|
const labelPositionVariant = this.labelPosition
|
@@ -8,15 +8,15 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
10
10
|
const hasSlot = require('./has-slot-3edae188.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldContainer = require('./gux-form-field-container-51849136.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./random-html-id-71c43d5a.js');
|
16
16
|
require('./log-error-7b9d4b57.js');
|
17
17
|
require('./simulate-native-event-e88bf64f.js');
|
18
18
|
|
19
|
-
const guxFormFieldSelectCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
19
|
+
const guxFormFieldSelectCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;width:100%;margin-left:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);margin-right:var(--gse-ui-formControl-input-gap);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";
|
20
20
|
const GuxFormFieldSelectStyle0 = guxFormFieldSelectCss;
|
21
21
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -59,13 +59,13 @@ const GuxFormFieldSelect = class {
|
|
59
59
|
}
|
60
60
|
}
|
61
61
|
render() {
|
62
|
-
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
62
|
+
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '72ea38787283ae092e18b7f48e004024a1e59b98', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: 'bc46f96bcd85b45f328618c329b800a728404f96', position: this.computedLabelPosition, required: this.required }, index.h("slot", { key: '11cced80844a01b95f6dc2120d9a925af876bb58', name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { key: '61840cecfc4e0ca4b656af5da003d5590c54f906', class: "gux-input-and-error-container" }, index.h("div", { key: '822f2f358003f14cab79ae3f76ab18987827fdce', class: {
|
63
63
|
'gux-input': true,
|
64
64
|
'gux-input-error': this.hasError
|
65
|
-
} }, index.h("div", { key: '
|
65
|
+
} }, index.h("div", { key: '6874351a8b3c91b08c96c77aff17b97c38dc38ae', class: {
|
66
66
|
'gux-input-container': true,
|
67
67
|
'gux-disabled': this.disabled
|
68
|
-
} }, index.h("slot", { key: '
|
68
|
+
} }, index.h("slot", { key: 'a367d5f06134d52039267207ee9d5e234c9a4572', name: "input" }), index.h("gux-icon", { key: '516bf6ba0bbedf4a0ef93ffd4ac360a7163b7340', "icon-name": "custom/chevron-down-small-regular", decorative: true }))), index.h(guxFormFieldError.GuxFormFieldError, { key: '3f2921b59ed462110f8e62e427165cd7e7269961', show: this.hasError }, index.h("slot", { key: 'eb50d621311828cf4536957cac6dbebd6ffd1ff3', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '48675c384e89c5201f85beecf80d4cb7a36069fd', show: !this.hasError && this.hasHelp }, index.h("slot", { key: '4a09eb9739507a5b98fe7405dcba1d389a2106ea', name: "help" })))));
|
69
69
|
}
|
70
70
|
get variant() {
|
71
71
|
const labelPositionVariant = this.labelPosition
|
@@ -8,15 +8,15 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
10
10
|
const hasSlot = require('./has-slot-3edae188.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldContainer = require('./gux-form-field-container-51849136.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./random-html-id-71c43d5a.js');
|
16
16
|
require('./log-error-7b9d4b57.js');
|
17
17
|
require('./simulate-native-event-e88bf64f.js');
|
18
18
|
|
19
|
-
const guxFormFieldTextLikeCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
19
|
+
const guxFormFieldTextLikeCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";
|
20
20
|
const GuxFormFieldTextLikeStyle0 = guxFormFieldTextLikeCss;
|
21
21
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -8,15 +8,15 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-132644ad.js');
|
10
10
|
const hasSlot = require('./has-slot-3edae188.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldContainer = require('./gux-form-field-container-51849136.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./random-html-id-71c43d5a.js');
|
16
16
|
require('./log-error-7b9d4b57.js');
|
17
17
|
require('./simulate-native-event-e88bf64f.js');
|
18
18
|
|
19
|
-
const guxFormFieldTextareaCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
19
|
+
const guxFormFieldTextareaCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}.gux-input-and-error-container .gux-input:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) \" \";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}";
|
20
20
|
const GuxFormFieldTextareaStyle0 = guxFormFieldTextareaCss;
|
21
21
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -63,12 +63,12 @@ const GuxFormFieldTextarea = class {
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
render() {
|
66
|
-
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
66
|
+
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: 'e979a94377785246cdb54e0c02c9d353bdfb951c', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: 'ed29b2893a7146495d708a652c461a172d11de01', position: this.computedLabelPosition, required: this.required }, index.h("slot", { key: 'e59b2d31b8c5c27894ee08adeafdf04500b31664', name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { key: 'c3ec954743e260c59c2812b6d4a908cea3022b93', class: "gux-input-and-error-container" }, index.h("div", { key: '4367a234eb8ce018f492ca654144dcddf522c5fa', ref: el => (this.textareaContainerElement = el), class: {
|
67
67
|
'gux-input': true,
|
68
68
|
[`gux-resize-${this.resize}`]: true,
|
69
69
|
'gux-disabled': this.disabled,
|
70
70
|
'gux-input-error': this.hasError
|
71
|
-
} }, index.h("slot", { key: '
|
71
|
+
} }, index.h("slot", { key: '817d605e6e4a6b3eecb982462a499cd0841f9a92', name: "input" })), index.h(guxFormFieldError.GuxFormFieldError, { key: 'c8cb6c4de92e4525ccee2240806653d8a3cda6a9', show: this.hasError }, index.h("slot", { key: '7bfe9951e9ca42702f0ebb46750b8b447e3de122', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '57fc8d15edb3faccbc3f3f15cb5fad38d7d67285', show: !this.hasError && this.hasHelp }, index.h("slot", { key: 'd0545ec9191cd249ef6465a0b48258140cfa8bbb', name: "help" })))));
|
72
72
|
}
|
73
73
|
get variant() {
|
74
74
|
const labelPositionVariant = this.labelPosition
|
@@ -8,10 +8,10 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const hasSlot = require('./has-slot-3edae188.js');
|
10
10
|
const getSlotTextContent = require('./get-slot-text-content-83cb3c6d.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldFieldsetContainer = require('./gux-form-field-fieldset-container-366ae678.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./get-closest-element-9e41d6b9.js');
|
16
16
|
require('./random-html-id-71c43d5a.js');
|
17
17
|
require('./log-error-7b9d4b57.js');
|
@@ -22,7 +22,7 @@ const componentResources = {
|
|
22
22
|
required: required
|
23
23
|
};
|
24
24
|
|
25
|
-
const guxFormFieldTimePickerCss = ".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
25
|
+
const guxFormFieldTimePickerCss = ".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label ::slotted(label){white-space:nowrap}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";
|
26
26
|
const GuxFormFieldTimePickerStyle0 = guxFormFieldTimePickerCss;
|
27
27
|
|
28
28
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -73,13 +73,13 @@ const GuxFormFieldTimePicker = class {
|
|
73
73
|
}
|
74
74
|
render() {
|
75
75
|
var _a;
|
76
|
-
return (index.h(guxFormFieldFieldsetContainer.GuxFormFieldFieldsetContainer, { key: '
|
76
|
+
return (index.h(guxFormFieldFieldsetContainer.GuxFormFieldFieldsetContainer, { key: 'd9f56ba03fb8bb91c762ac534d2b2c0c830eb617', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldFieldsetContainer.GuxFormFieldLegendLabel, { key: '66bb27dd485a699b7556d69d73590b1f72bd6dde', position: this.computedLabelPosition, required: this.required, labelText: (_a = this.label) === null || _a === void 0 ? void 0 : _a.textContent }, index.h("slot", { key: 'e8d11ad28178d7897e47f11bdce14ebcc7b95769', name: "label", onSlotchange: () => this.setLabel() }), this.renderScreenReaderText(this.getI18nValue('required'), this.required), this.renderScreenReaderText(getSlotTextContent.getSlotTextContent(this.root, 'error'), this.hasError)), index.h("div", { key: 'f38261ee3eae550224508fa1147938bd36a7ac55', class: "gux-input-and-error-container" }, index.h("div", { key: 'f1d0954da1b5ffca1fc9ce1e5482d545f5d56199', class: {
|
77
77
|
'gux-input': true,
|
78
78
|
'gux-input-error': this.hasError
|
79
|
-
} }, index.h("div", { key: '
|
79
|
+
} }, index.h("div", { key: '62e1515b202fb7d6804ebf86b7ec1ac9122d45ae', class: {
|
80
80
|
'gux-time-picker-container': true,
|
81
81
|
'gux-disabled': this.disabled
|
82
|
-
} }, index.h("slot", { key: '
|
82
|
+
} }, index.h("slot", { key: '6943949cb8010d2385acc6e6da2c4a7be8061a3c' }))), index.h(guxFormFieldError.GuxFormFieldError, { key: '2118d51bc453b2185792b24b54c84a2f617d7d95', show: this.hasError }, index.h("slot", { key: '13fc21b1f8e93e5ff3291b2733361988dc474f5c', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '0a3044bae2f160f11bda134af97c6ced67cafcd9', show: !this.hasError && this.hasHelp }, index.h("slot", { key: '36a334b034afa7e68c1a66353fccc62ee7c42462', name: "help" })))));
|
83
83
|
}
|
84
84
|
renderScreenReaderText(text, condition = true) {
|
85
85
|
if (condition) {
|
@@ -8,10 +8,10 @@ const onMutation = require('./on-mutation-3d294d15.js');
|
|
8
8
|
const onAttributeChange = require('./on-attribute-change-321d434b.js');
|
9
9
|
const hasSlot = require('./has-slot-3edae188.js');
|
10
10
|
const getSlotTextContent = require('./get-slot-text-content-83cb3c6d.js');
|
11
|
-
const guxFormFieldError = require('./gux-form-field-error-
|
11
|
+
const guxFormFieldError = require('./gux-form-field-error-4e1d6772.js');
|
12
12
|
const guxFormFieldFieldsetContainer = require('./gux-form-field-fieldset-container-366ae678.js');
|
13
13
|
const guxFormField_service = require('./gux-form-field.service-f5697509.js');
|
14
|
-
const usage = require('./usage-
|
14
|
+
const usage = require('./usage-e56cf78b.js');
|
15
15
|
require('./get-closest-element-9e41d6b9.js');
|
16
16
|
require('./random-html-id-71c43d5a.js');
|
17
17
|
require('./log-error-7b9d4b57.js');
|
@@ -22,7 +22,7 @@ const componentResources = {
|
|
22
22
|
required: required
|
23
23
|
};
|
24
24
|
|
25
|
-
const guxFormFieldTimeZonePickerCss = ".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:
|
25
|
+
const guxFormFieldTimeZonePickerCss = ".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label ::slotted(label){white-space:nowrap}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:\" *\"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";
|
26
26
|
const GuxFormFieldTimeZonePickerStyle0 = guxFormFieldTimeZonePickerCss;
|
27
27
|
|
28
28
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
@@ -73,12 +73,12 @@ const GuxFormFieldTimeZonePicker = class {
|
|
73
73
|
}
|
74
74
|
render() {
|
75
75
|
var _a;
|
76
|
-
return (index.h(guxFormFieldFieldsetContainer.GuxFormFieldFieldsetContainer, { key: '
|
76
|
+
return (index.h(guxFormFieldFieldsetContainer.GuxFormFieldFieldsetContainer, { key: 'a261e4a0dfef65293bab43cb0b24b8046a049e24', labelPosition: this.computedLabelPosition }, index.h(guxFormFieldFieldsetContainer.GuxFormFieldLegendLabel, { key: '51a8a9c6415a8558ff16b0a806f5398581d6238b', position: this.computedLabelPosition, required: this.required, labelText: (_a = this.label) === null || _a === void 0 ? void 0 : _a.textContent }, index.h("slot", { key: 'df1aa773111f8c9177f8f1eede33f456834bcea3', name: "label", onSlotchange: () => this.setLabel() }), this.renderScreenReaderText(this.getI18nValue('required'), this.required), this.renderScreenReaderText(getSlotTextContent.getSlotTextContent(this.root, 'error'), this.hasError)), index.h("div", { key: '68962311832bc62a7e8356c03e64ff7f2e12e96b', class: "gux-input-and-error-container" }, index.h("div", { key: '4248ebb1c03f89a5b2deb652ebe69353cfd9999c', class: {
|
77
77
|
'gux-input': true,
|
78
78
|
'gux-input-error': this.hasError,
|
79
79
|
'gux-time-zone-picker-container': true,
|
80
80
|
'gux-disabled': this.disabled
|
81
|
-
} }, index.h("slot", { key: '
|
81
|
+
} }, index.h("slot", { key: '3db291ff951e407a0d1da4363594688a45ea5364' })), index.h(guxFormFieldError.GuxFormFieldError, { key: '422f599fc666a2c1a98e3b2672d07eb97024ced1', show: this.hasError }, index.h("slot", { key: '7131273984482a30e9741ab33b91b9cc2f3061a1', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '01463b42824158972a53ea3505fc7274c9ab7939', show: !this.hasError && this.hasHelp }, index.h("slot", { key: '00137dbca755e504388e378deed7f52ccb05b773', name: "help" })))));
|
82
82
|
}
|
83
83
|
renderScreenReaderText(text, condition = true) {
|
84
84
|
if (condition) {
|