genesys-spark-components 4.232.2 → 4.233.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/en-CEsbEfLT.js +22 -0
- 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-actionable-inline-alert-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-ai-spinner-loader-beta.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-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state-beta.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_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +12 -3
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-cloud-logomark-beta.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-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 +17 -4
- 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 +2 -10
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +3 -8
- package/dist/cjs/gux-file-list-item.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-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +20 -8
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +23 -27
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +57 -6
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-indicator-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 +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +6 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-beta.cjs.entry.js +18 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +18 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-list.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-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
- package/dist/cjs/gux-step.cjs.entry.js +1 -1
- package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +9 -3
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +10 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -6
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tree-beta.cjs.entry.js +25 -3
- package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +24 -6
- package/dist/cjs/index-npRUdf7N.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-DMoI1xj1.js → usage-BbRm9v_K.js} +1 -1
- package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.common.js +28 -6
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +17 -2
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +17 -2
- package/dist/collection/components/beta/gux-tree/gux-tree.js +30 -2
- package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +29 -5
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +11 -2
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +22 -3
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -7
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -9
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +22 -10
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +97 -7
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.common.js +50 -1
- package/dist/collection/components/stable/gux-modal/tests/gux-modal.common.js +13 -0
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +19 -7
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +5 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +8 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +9 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +5 -6
- package/dist/esm/en-DdUnetf3.js +19 -0
- 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-actionable-inline-alert-beta.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-ai-indicator-beta.entry.js +1 -1
- package/dist/esm/gux-ai-powered-badge-beta.entry.js +1 -1
- package/dist/esm/gux-ai-spinner-loader-beta.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-avatar-group-add-item-beta_3.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state-beta.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_2.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +12 -3
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
- package/dist/esm/gux-cloud-logomark-beta.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-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +17 -4
- 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 +2 -10
- package/dist/esm/gux-dropdown_3.entry.js +3 -8
- package/dist/esm/gux-file-list-item.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-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +2 -2
- package/dist/esm/gux-form-field-color.entry.js +2 -2
- package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
- package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +21 -9
- package/dist/esm/gux-form-field-phone.entry.js +2 -2
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +2 -2
- package/dist/esm/gux-form-field-range.entry.js +2 -2
- package/dist/esm/gux-form-field-search.entry.js +2 -2
- package/dist/esm/gux-form-field-select.entry.js +2 -2
- package/dist/esm/gux-form-field-text-like.entry.js +24 -28
- package/dist/esm/gux-form-field-textarea.entry.js +59 -8
- package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +2 -2
- package/dist/esm/{gux-form-field.service-C8ZnDb1J.js → gux-form-field.service-sLFedBTg.js} +1 -1
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-illustration-beta.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-link-beta.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/gux-logo-beta.entry.js +1 -1
- package/dist/esm/gux-logomark-beta.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-indicator-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 +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +6 -2
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-beta.entry.js +18 -3
- package/dist/esm/gux-popover-list-beta.entry.js +18 -3
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
- package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-list.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 +2 -2
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-header-mini.entry.js +1 -1
- package/dist/esm/gux-side-panel-header.entry.js +1 -1
- package/dist/esm/gux-side-panel-heading.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
- package/dist/esm/gux-step-title.entry.js +1 -1
- package/dist/esm/gux-step.entry.js +1 -1
- package/dist/esm/gux-stepper-beta.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +9 -3
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/gux-time-zone-beta.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +10 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
- package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip-title.entry.js +5 -6
- package/dist/esm/gux-tooltip_2.entry.js +1 -1
- package/dist/esm/gux-tree-beta.entry.js +25 -3
- package/dist/esm/gux-tree-multi-beta.entry.js +24 -6
- package/dist/esm/index-CW7z6RPd.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-ByN57IpV.js → usage-DfUlhgkE.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-02361c47.entry.js → p-04719870.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c6c4817d.entry.js → p-0645b675.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-098ef6f2.entry.js → p-06b7430f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4460d5e.entry.js → p-071cb03d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78222786.entry.js → p-0a7bb229.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f1ce7e9.entry.js → p-0a8eca3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5bab871.entry.js → p-0acf6f8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d38465d.entry.js → p-0adc907c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7b17ea8.entry.js → p-0cbe8afe.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0ea578d5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0985c326.entry.js → p-0edc4350.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0f03a32d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d15a411d.entry.js → p-128f200c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3458dbee.entry.js → p-12aa75e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e6d5dc4.entry.js → p-145773b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d6f8894.entry.js → p-1862b6af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca887f39.entry.js → p-1b293906.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f238f4c.entry.js → p-1fee393a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d526c31.entry.js → p-2315121f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b51e47a7.entry.js → p-234a9f8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ffdea10.entry.js → p-278bb520.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15c8dc7f.entry.js → p-29d296e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd23c685.entry.js → p-2a77bfb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-727d6414.entry.js → p-2b534d4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2b63d4dc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fa5c6a09.entry.js → p-2d7baec9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1356762.entry.js → p-2e495996.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f323ef9.entry.js → p-2e4bd740.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2f50c518.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f46a4e3a.entry.js → p-3109ac8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ca599774.entry.js → p-32c9be2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-099ec737.entry.js → p-33fba8c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0cb9662e.entry.js → p-3680f954.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61a2db98.entry.js → p-3a18b5a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a8b7889.entry.js → p-3b02aacf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a084778.entry.js → p-3d4133f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45a0d6fd.entry.js → p-3e63fd30.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c539ed9.entry.js → p-430662f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1eff229.entry.js → p-453f3d12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d205ce35.entry.js → p-4bc2bd7f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4d51bf14.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-691b1bcc.entry.js → p-4e693326.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4314a614.entry.js → p-51d25e14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-436bd268.entry.js → p-5584e7f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a5d27f2.entry.js → p-5b6b5f7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bb67ae0.entry.js → p-5c7e39d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5da46ea3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4e8e836c.entry.js → p-5e84d30c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88b388da.entry.js → p-5eac08d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-728062f3.entry.js → p-5eea5813.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14b86086.entry.js → p-6121c82a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bb51834.entry.js → p-64912f7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4faf66b2.entry.js → p-690ecf83.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dce99245.entry.js → p-6a9b2eda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b81ac826.entry.js → p-713fdb58.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c55e7c55.entry.js → p-7362a8e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29ba38ff.entry.js → p-77228b58.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ba6948a.entry.js → p-7832b9e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a482fc0.entry.js → p-79e95ae2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66dfc0c6.entry.js → p-7c15e19c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b2618f0.entry.js → p-7c812071.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b975fbf2.entry.js → p-7d0aa64b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34e45384.entry.js → p-7eb65071.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-57a92ea6.entry.js → p-85b501d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8a0997f8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1c680637.entry.js → p-8a72aa5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-553c836b.entry.js → p-8accd068.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8afe553b.entry.js → p-90e5840f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cadd5957.entry.js → p-9726df01.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a1153b2.entry.js → p-9b02cb1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2532d0cc.entry.js → p-9b587053.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f01f159.entry.js → p-9d6fb7ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3296a04b.entry.js → p-9eaf0ef2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-B6WAsigp.js +1 -0
- package/dist/genesys-webcomponents/{p-ByN57IpV.js → p-DfUlhgkE.js} +1 -1
- package/dist/genesys-webcomponents/{p-7Jfa0k54.js → p-KdigjDpl.js} +1 -1
- package/dist/genesys-webcomponents/p-a229a1c4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d927d275.entry.js → p-a26d2174.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fea3d9b0.entry.js → p-a7535c62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c07befcc.entry.js → p-a7e1cba1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-151aec2a.entry.js → p-a962614c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54ee0950.entry.js → p-ab4d6751.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-aca1eaac.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8805d2c8.entry.js → p-acab9968.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98058e58.entry.js → p-acae1f81.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62dbf47f.entry.js → p-acc0348a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-514e4a53.entry.js → p-ae4440e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ad79502.entry.js → p-b1830d23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1394376a.entry.js → p-b1d1e33c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-504318a5.entry.js → p-b2e06812.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef07ae93.entry.js → p-b4ed9f43.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c13316b.entry.js → p-b6fcb406.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-754ed872.entry.js → p-be2b897c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95ccb5f4.entry.js → p-be3a4f6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-141b1067.entry.js → p-be3bd92f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bea830d6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4bdfbbc5.entry.js → p-bed807b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-134d85be.entry.js → p-c1ab3609.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f9e9a05.entry.js → p-c5b410ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf58f1a2.entry.js → p-c9c1a672.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-85b1bccf.entry.js → p-cb40033a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e41d9a44.entry.js → p-cbf24588.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30de22f9.entry.js → p-d2c076d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c150b385.entry.js → p-d3aeb84f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ef0fd78.entry.js → p-d559de47.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a65a5796.entry.js → p-d5dd075c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95c3f74b.entry.js → p-d5f3c933.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d75e0dbc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fc151df5.entry.js → p-d94d4094.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-543d6f42.entry.js → p-daeb237c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0606fd6f.entry.js → p-ddac1570.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8156ce05.entry.js → p-de9525b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f71af6a1.entry.js → p-df046c41.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c6af619.entry.js → p-df557e1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1b3009c.entry.js → p-dfc98dab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06e90b84.entry.js → p-e113ae45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb83d98c.entry.js → p-e18bf7b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0cf04166.entry.js → p-e1b689a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c0ab40d8.entry.js → p-e34f3916.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26233913.entry.js → p-e3c08e4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e42233ec.entry.js +1 -0
- package/dist/genesys-webcomponents/p-e498bb5f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c43c986e.entry.js → p-e5c4bf56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-56b52d65.entry.js → p-e9c68dfd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e5f58bf.entry.js → p-ebb20d18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54eb410a.entry.js → p-ed557eda.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c4ac516.entry.js → p-eef6f265.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef2f0321.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d14fdcd1.entry.js → p-f5e9f927.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf60c394.entry.js → p-f776ab65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39700ceb.entry.js → p-f9b9c46a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f29231bc.entry.js → p-fa0ca677.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69408f1a.entry.js → p-fc404b1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17c19bce.entry.js → p-fd5703b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fe780836.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9670baf9.entry.js → p-ff339015.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d28b084e.entry.js → p-ff661751.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-popover-beta/gux-popover.d.ts +1 -0
- package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list.d.ts +1 -0
- package/dist/types/components/beta/gux-tree/gux-tree.d.ts +1 -0
- package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +1 -0
- package/dist/types/components/stable/gux-calendar/gux-calendar.d.ts +1 -0
- package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -0
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +4 -2
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.d.ts +13 -2
- package/dist/types/components/stable/gux-toggle/gux-toggle.d.ts +1 -0
- package/dist/types/components/stable/gux-tooltip-title/gux-tooltip-title.d.ts +0 -1
- package/dist/types/components.d.ts +29 -2
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-071a69ab.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1381c88f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1c3289c2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-26655b22.entry.js +0 -1
- package/dist/genesys-webcomponents/p-384917c5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4b81700e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5a985eb1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5bdf4479.entry.js +0 -1
- package/dist/genesys-webcomponents/p-847e9218.entry.js +0 -1
- package/dist/genesys-webcomponents/p-97260bce.entry.js +0 -1
- package/dist/genesys-webcomponents/p-98ab0940.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b55819db.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c5a10f6f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-db503cad.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f0383931.entry.js +0 -1
|
@@ -9,30 +9,15 @@ var hasSlot = require('./has-slot-BFTyqu_U.js');
|
|
|
9
9
|
var guxFormFieldError = require('./gux-form-field-error-Csxri5IS.js');
|
|
10
10
|
var guxFormFieldContainer = require('./gux-form-field-container-hTZqdcZZ.js');
|
|
11
11
|
var guxFormField_service = require('./gux-form-field.service-BiSsTyYc.js');
|
|
12
|
-
var usage = require('./usage-
|
|
12
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
13
13
|
var focusInputElement = require('./focus-input-element-DmhIgp7F.js');
|
|
14
|
+
var en = require('./en-CEsbEfLT.js');
|
|
14
15
|
var index$1 = require('./index-D5gbJ1qH.js');
|
|
15
16
|
require('./random-html-id-DH9-ntZu.js');
|
|
16
17
|
require('./log-error-nWO_o1C3.js');
|
|
17
18
|
require('./simulate-native-event-_MPnVmRN.js');
|
|
18
19
|
require('./get-closest-element-CfyZl7i7.js');
|
|
19
20
|
|
|
20
|
-
const GuxFormFieldCharacterCount = ({ characterLimit, characterCount, labelPosition, i18n }) => {
|
|
21
|
-
return (index.h("div", { class: {
|
|
22
|
-
'gux-form-field-character-count': true,
|
|
23
|
-
'gux-label-above': labelPosition === 'above',
|
|
24
|
-
'gux-exceeded': characterCount > characterLimit
|
|
25
|
-
}, "data-testid": "gux-form-field-character-count" }, index.h("span", { "aria-hidden": "true", "data-testid": "gux-form-field-character-count-display" }, characterCount + '/' + characterLimit), index.h("gux-screen-reader-beta", { "aria-live": "polite" }, i18n('charactersRemaining', {
|
|
26
|
-
characterCount: characterCount,
|
|
27
|
-
characterLimit: characterLimit
|
|
28
|
-
}))));
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const charactersRemaining = "{characterCount, number} of {characterLimit, number} characters remaining";
|
|
32
|
-
var translationResources = {
|
|
33
|
-
charactersRemaining: charactersRemaining
|
|
34
|
-
};
|
|
35
|
-
|
|
36
21
|
const guxFormFieldTextLikeCss = () => `.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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 0 auto;order:0;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{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.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-block-start:var(--gse-ui-formControl-formField-gap);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-character-count{display:flex;justify-content:flex-end;padding-block-end:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);font-weight:var(--gse-ui-formControl-helper-helperText-fontWeight);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-character-count.gux-exceeded{color:var(--gse-ui-formControl-helper-errorColor)}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border: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;white-space:nowrap;text-decoration:none}.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;inline-size:100%;block-size: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);cursor:text;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:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{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-focusOutline-offset);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)}.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)}`;
|
|
37
22
|
|
|
38
23
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -48,7 +33,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
48
33
|
const GuxFormFieldTextLike = class {
|
|
49
34
|
constructor(hostRef) {
|
|
50
35
|
index.registerInstance(this, hostRef);
|
|
51
|
-
this.
|
|
36
|
+
this.guxcharacterlimitexceeded = index.createEvent(this, "guxcharacterlimitexceeded", 7);
|
|
52
37
|
this.loading = false;
|
|
53
38
|
/**
|
|
54
39
|
* Field indicator mark which can show *, (optional) or blank
|
|
@@ -101,6 +86,11 @@ const GuxFormFieldTextLike = class {
|
|
|
101
86
|
void ((_a = this.labelInfo) === null || _a === void 0 ? void 0 : _a.hideTooltip());
|
|
102
87
|
clearTimeout(this.hideLabelInfoTimeout);
|
|
103
88
|
}
|
|
89
|
+
handleCharacterLimitChange(newValue) {
|
|
90
|
+
if (newValue > 0) {
|
|
91
|
+
guxFormField_service.setCharacterCountAriaDescribedBy(this.root, this.input);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
104
94
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
105
95
|
async guxForceUpdate() {
|
|
106
96
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
@@ -130,12 +120,14 @@ const GuxFormFieldTextLike = class {
|
|
|
130
120
|
if (this.hasSuffix) {
|
|
131
121
|
guxFormField_service.setSlotAriaDescribedby(this.root, this.input, 'suffix');
|
|
132
122
|
}
|
|
123
|
+
this.checkCharacterLimitExceeded();
|
|
124
|
+
this.i18n = await index$1.buildI18nForComponent(this.root, en.translationResources);
|
|
125
|
+
usage.trackComponent(this.root, { variant: this.variant });
|
|
126
|
+
}
|
|
127
|
+
componentDidLoad() {
|
|
133
128
|
if (this.characterLimit > 0) {
|
|
134
129
|
guxFormField_service.setCharacterCountAriaDescribedBy(this.root, this.input);
|
|
135
130
|
}
|
|
136
|
-
this.checkCharacterLimitExceeded();
|
|
137
|
-
this.i18n = await index$1.buildI18nForComponent(this.root, translationResources);
|
|
138
|
-
usage.trackComponent(this.root, { variant: this.variant });
|
|
139
131
|
}
|
|
140
132
|
connectedCallback() {
|
|
141
133
|
this.hasError = hasSlot.hasSlot(this.root, 'error');
|
|
@@ -161,19 +153,19 @@ const GuxFormFieldTextLike = class {
|
|
|
161
153
|
}
|
|
162
154
|
renderCharacterCount() {
|
|
163
155
|
if (this.characterLimit > 0) {
|
|
164
|
-
return (index.h(GuxFormFieldCharacterCount, { i18n: this.i18n, characterCount: this.characterCount, characterLimit: this.characterLimit, labelPosition: this.computedLabelPosition }));
|
|
156
|
+
return (index.h(en.GuxFormFieldCharacterCount, { i18n: this.i18n, characterCount: this.characterCount, characterLimit: this.characterLimit, labelPosition: this.computedLabelPosition }));
|
|
165
157
|
}
|
|
166
158
|
}
|
|
167
159
|
render() {
|
|
168
|
-
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
|
160
|
+
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: 'b2ed2e7d4c7fff9893d6dee379080ca52d031ef1', labelPosition: this.computedLabelPosition, characterLimit: this.characterLimit }, this.renderCharacterCount(), index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: '122783f3db7cd87ccb0d2f80980a430585a671a4', required: this.required, position: this.computedLabelPosition }, index.h("slot", { key: 'f76fe506ce23fc3122d15c407d82157052c409d8', name: "label", onSlotchange: () => this.setLabel() }), index.h("gux-form-field-label-indicator", { key: '94f07e7a96d9fcdee42392b5752a93ceeac7c9f8', variant: this.indicatorMark, required: this.required }), index.h("slot", { key: '895956e8428af1323048ea607a87c4473c8f2420', name: "label-info" })), index.h("div", { key: '3cf5758f17af06b5153f8ea1a6c664780d0836b4', class: "gux-input-and-error-container" }, index.h("div", { key: '0680bba11cd441fe0cd0d07843c78b4513e5729b', class: {
|
|
169
161
|
'gux-input': true,
|
|
170
162
|
'gux-input-error': this.hasError || this.charactersExceeding
|
|
171
|
-
} }, index.h("div", { key: '
|
|
163
|
+
} }, index.h("div", { key: 'fb969700f0ed4b2142624f87192c343d1b913f3e', class: {
|
|
172
164
|
'gux-input-container': true,
|
|
173
165
|
'gux-disabled': this.disabled,
|
|
174
166
|
'gux-has-prefix': this.hasPrefix,
|
|
175
167
|
'gux-has-suffix': this.hasSuffix
|
|
176
|
-
}, onClick: () => focusInputElement.focusInputElement(this.input) }, index.h("slot", { key: '
|
|
168
|
+
}, onClick: () => focusInputElement.focusInputElement(this.input) }, index.h("slot", { key: '4350d6a1831572318816f3c0c6a7b2142737a6f9', name: "prefix" }), index.h("slot", { key: 'ba4a8b2e0b36baced2c3f2e98fb12a6a633af9de', name: "input" }), this.renderRadialLoading(), index.h("slot", { key: '88171a8cc0200335928f8c541a149ff194d29b5b', name: "suffix" }), this.clearable && this.hasContent && !this.disabled && (index.h("gux-form-field-input-clear-button", { key: 'cf7723e5f7aca860cb410ea83967846a9b122fbc', onClick: () => guxFormField_service.clearInput(this.input) })))), index.h(guxFormFieldError.GuxFormFieldError, { key: 'bdf9693fb9636c8c8a9957b579eca0ad9a4a6144', show: this.hasError }, index.h("slot", { key: '4cb5a1a5e0957119cee638e1536243bf4bc8bc16', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '473f71b6d52d7b777d8d13877fca55cc1c6dd14b', show: !this.hasError && this.hasHelp }, index.h("slot", { key: 'fcbfc494952b6fd1b1438e723e2c743880d0fa23', name: "help" })))));
|
|
177
169
|
}
|
|
178
170
|
get variant() {
|
|
179
171
|
const labelPositionVariant = this.labelPosition
|
|
@@ -192,12 +184,11 @@ const GuxFormFieldTextLike = class {
|
|
|
192
184
|
if (isExceeding !== this.charactersExceeding) {
|
|
193
185
|
if (isExceeding) {
|
|
194
186
|
this.input.setAttribute('aria-invalid', 'true');
|
|
195
|
-
this.characterLimitChange.emit(isExceeding);
|
|
196
187
|
}
|
|
197
188
|
else {
|
|
198
189
|
this.input.removeAttribute('aria-invalid');
|
|
199
|
-
this.characterLimitChange.emit(isExceeding);
|
|
200
190
|
}
|
|
191
|
+
this.guxcharacterlimitexceeded.emit(isExceeding);
|
|
201
192
|
this.charactersExceeding = isExceeding;
|
|
202
193
|
}
|
|
203
194
|
}
|
|
@@ -225,6 +216,11 @@ const GuxFormFieldTextLike = class {
|
|
|
225
216
|
this.computedLabelPosition = guxFormField_service.getComputedLabelPosition(this.label, this.labelPosition);
|
|
226
217
|
}
|
|
227
218
|
get root() { return index.getElement(this); }
|
|
219
|
+
static get watchers() { return {
|
|
220
|
+
"characterLimit": [{
|
|
221
|
+
"handleCharacterLimitChange": 0
|
|
222
|
+
}]
|
|
223
|
+
}; }
|
|
228
224
|
};
|
|
229
225
|
__decorate([
|
|
230
226
|
onMutation.OnMutation({ childList: true, subtree: true })
|
|
@@ -9,12 +9,15 @@ var hasSlot = require('./has-slot-BFTyqu_U.js');
|
|
|
9
9
|
var guxFormFieldError = require('./gux-form-field-error-Csxri5IS.js');
|
|
10
10
|
var guxFormFieldContainer = require('./gux-form-field-container-hTZqdcZZ.js');
|
|
11
11
|
var guxFormField_service = require('./gux-form-field.service-BiSsTyYc.js');
|
|
12
|
-
var usage = require('./usage-
|
|
12
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
13
|
+
var en = require('./en-CEsbEfLT.js');
|
|
14
|
+
var index$1 = require('./index-D5gbJ1qH.js');
|
|
13
15
|
require('./random-html-id-DH9-ntZu.js');
|
|
14
16
|
require('./log-error-nWO_o1C3.js');
|
|
15
17
|
require('./simulate-native-event-_MPnVmRN.js');
|
|
18
|
+
require('./get-closest-element-CfyZl7i7.js');
|
|
16
19
|
|
|
17
|
-
const guxFormFieldTextareaCss = () => `.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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 0 auto;order:0;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{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.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-block-start:var(--gse-ui-formControl-formField-gap);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-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-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;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);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;outline: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:focus-within{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-focusOutline-offset);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)}.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{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;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
|
+
const guxFormFieldTextareaCss = () => `.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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 0 auto;order:0;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{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.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-block-start:var(--gse-ui-formControl-formField-gap);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-character-count{display:flex;justify-content:flex-end;padding-block-end:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);font-weight:var(--gse-ui-formControl-helper-helperText-fontWeight);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-character-count.gux-exceeded{color:var(--gse-ui-formControl-helper-errorColor)}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-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;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);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;outline: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:focus-within{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-focusOutline-offset);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)}.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{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;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}`;
|
|
18
21
|
|
|
19
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20
23
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -29,16 +32,22 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
29
32
|
const GuxFormFieldTextarea = class {
|
|
30
33
|
constructor(hostRef) {
|
|
31
34
|
index.registerInstance(this, hostRef);
|
|
35
|
+
this.guxcharacterlimitexceeded = index.createEvent(this, "guxcharacterlimitexceeded", 7);
|
|
32
36
|
/**
|
|
33
37
|
* Field indicator mark which can show *, (optional) or blank
|
|
34
38
|
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
|
35
39
|
* When set to optional, the component will display (optional) for optional and blank for required.
|
|
36
40
|
*/
|
|
37
41
|
this.indicatorMark = 'required';
|
|
42
|
+
/**
|
|
43
|
+
* The characterLimit property defines the max character limit for the textarea.
|
|
44
|
+
*/
|
|
45
|
+
this.characterLimit = 0;
|
|
38
46
|
this.computedLabelPosition = 'above';
|
|
39
47
|
this.required = true;
|
|
40
48
|
this.hasError = false;
|
|
41
49
|
this.hasHelp = false;
|
|
50
|
+
this.charactersExceeding = false;
|
|
42
51
|
}
|
|
43
52
|
onMutation() {
|
|
44
53
|
this.labelInfo = this.root.querySelector('[slot=label-info]');
|
|
@@ -75,16 +84,26 @@ const GuxFormFieldTextarea = class {
|
|
|
75
84
|
void ((_a = this.labelInfo) === null || _a === void 0 ? void 0 : _a.hideTooltip());
|
|
76
85
|
clearTimeout(this.hideLabelInfoTimeout);
|
|
77
86
|
}
|
|
78
|
-
|
|
87
|
+
handleCharacterLimitChange(newValue) {
|
|
88
|
+
if (newValue > 0) {
|
|
89
|
+
guxFormField_service.setCharacterCountAriaDescribedBy(this.root, this.input);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
async componentWillLoad() {
|
|
79
93
|
this.setInput();
|
|
80
94
|
this.setLabel();
|
|
81
95
|
this.labelInfo = this.root.querySelector('[slot=label-info]');
|
|
82
96
|
this.hasError = hasSlot.hasSlot(this.root, 'error');
|
|
83
97
|
this.hasHelp = hasSlot.hasSlot(this.root, 'help');
|
|
98
|
+
this.checkCharacterLimitExceeded();
|
|
99
|
+
this.i18n = await index$1.buildI18nForComponent(this.root, en.translationResources);
|
|
84
100
|
usage.trackComponent(this.root, { variant: this.variant });
|
|
85
101
|
}
|
|
86
102
|
componentDidLoad() {
|
|
87
103
|
this.updateHeight(this.textareaContainerElement, this.input, this.resize);
|
|
104
|
+
if (this.characterLimit > 0) {
|
|
105
|
+
guxFormField_service.setCharacterCountAriaDescribedBy(this.root, this.input);
|
|
106
|
+
}
|
|
88
107
|
}
|
|
89
108
|
connectedCallback() {
|
|
90
109
|
this.hasError = hasSlot.hasSlot(this.root, 'error');
|
|
@@ -99,12 +118,12 @@ const GuxFormFieldTextarea = class {
|
|
|
99
118
|
}
|
|
100
119
|
}
|
|
101
120
|
render() {
|
|
102
|
-
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '
|
|
121
|
+
return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { key: '966d5f51f4a532fa66595c58c849bb376c182561', labelPosition: this.computedLabelPosition, characterLimit: this.characterLimit }, this.renderCharacterCount(), index.h(guxFormFieldContainer.GuxFormFieldLabel, { key: 'ef89834d796dc504a4c4bd33c10e07530fcd3a52', required: this.required, position: this.computedLabelPosition }, index.h("slot", { key: '7138084d4eaa129dfa43e9cf921118d47fda9349', name: "label", onSlotchange: () => this.setLabel() }), index.h("gux-form-field-label-indicator", { key: 'fb4573bb813fcb0561c4101d929ab556c0e84405', variant: this.indicatorMark, required: this.required }), index.h("slot", { key: '47ee46d298e0a78c9d727c6259c4d3986de2a172', name: "label-info" })), index.h("div", { key: '641c6eda7d57fdb238f5d1051251f7478fc608bb', class: "gux-input-and-error-container" }, index.h("div", { key: 'c8cef431082346b5baa14045bca7610ec07ac0ee', ref: el => (this.textareaContainerElement = el), class: {
|
|
103
122
|
'gux-input': true,
|
|
104
123
|
[`gux-resize-${this.resize}`]: true,
|
|
105
124
|
'gux-disabled': this.disabled,
|
|
106
|
-
'gux-input-error': this.hasError
|
|
107
|
-
} }, index.h("slot", { key: '
|
|
125
|
+
'gux-input-error': this.hasError || this.charactersExceeding
|
|
126
|
+
} }, index.h("slot", { key: 'e248eb1d2d6ae1b247a79f0e6459592bc6f274f9', name: "input" })), index.h(guxFormFieldError.GuxFormFieldError, { key: '23d512884a5eb6c3219fb61675cf473725e9fa3b', show: this.hasError }, index.h("slot", { key: 'a7288182fef55fe7fe90e65069c9755e67ae3600', name: "error" })), index.h(guxFormFieldError.GuxFormFieldHelp, { key: '3613542fb4ecd45db886a0d8fa9cde94198e5cdb', show: !this.hasError && this.hasHelp }, index.h("slot", { key: 'f65391fd86031e21b9c93b711507aafda1254c73', name: "help" })))));
|
|
108
127
|
}
|
|
109
128
|
get variant() {
|
|
110
129
|
const labelPositionVariant = this.labelPosition
|
|
@@ -112,12 +131,39 @@ const GuxFormFieldTextarea = class {
|
|
|
112
131
|
: 'none';
|
|
113
132
|
return `${this.resize}-${labelPositionVariant}`;
|
|
114
133
|
}
|
|
134
|
+
get characterCount() {
|
|
135
|
+
var _a, _b;
|
|
136
|
+
return (_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length;
|
|
137
|
+
}
|
|
138
|
+
renderCharacterCount() {
|
|
139
|
+
if (this.characterLimit > 0) {
|
|
140
|
+
return (index.h(en.GuxFormFieldCharacterCount, { i18n: this.i18n, characterCount: this.characterCount, characterLimit: this.characterLimit, labelPosition: this.computedLabelPosition }));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
checkCharacterLimitExceeded() {
|
|
144
|
+
if (this.characterLimit <= 0) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
const isExceeding = this.characterCount > this.characterLimit;
|
|
148
|
+
if (isExceeding !== this.charactersExceeding) {
|
|
149
|
+
if (isExceeding) {
|
|
150
|
+
this.input.setAttribute('aria-invalid', 'true');
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
this.input.removeAttribute('aria-invalid');
|
|
154
|
+
}
|
|
155
|
+
this.guxcharacterlimitexceeded.emit(isExceeding);
|
|
156
|
+
this.charactersExceeding = isExceeding;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
115
159
|
setInput() {
|
|
116
160
|
this.input = this.root.querySelector('textarea[slot="input"]');
|
|
117
161
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
118
162
|
this.updateHeight(this.textareaContainerElement, this.input, this.resize);
|
|
119
163
|
this.input.addEventListener('input', () => {
|
|
120
164
|
this.updateHeight(this.textareaContainerElement, this.input, this.resize);
|
|
165
|
+
this.checkCharacterLimitExceeded();
|
|
166
|
+
index.forceUpdate(this.root);
|
|
121
167
|
});
|
|
122
168
|
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
123
169
|
this.required = this.input.required;
|
|
@@ -142,6 +188,11 @@ const GuxFormFieldTextarea = class {
|
|
|
142
188
|
}
|
|
143
189
|
}
|
|
144
190
|
get root() { return index.getElement(this); }
|
|
191
|
+
static get watchers() { return {
|
|
192
|
+
"characterLimit": [{
|
|
193
|
+
"handleCharacterLimitChange": 0
|
|
194
|
+
}]
|
|
195
|
+
}; }
|
|
145
196
|
};
|
|
146
197
|
__decorate([
|
|
147
198
|
onMutation.OnMutation({ childList: true, subtree: true })
|
|
@@ -9,7 +9,7 @@ var getSlotTextContent = require('./get-slot-text-content-DZwcXMIm.js');
|
|
|
9
9
|
var guxFormFieldError = require('./gux-form-field-error-Csxri5IS.js');
|
|
10
10
|
var guxFormFieldFieldsetContainer = require('./gux-form-field-fieldset-container-C0ViaU--.js');
|
|
11
11
|
var guxFormField_service = require('./gux-form-field.service-BiSsTyYc.js');
|
|
12
|
-
var usage = require('./usage-
|
|
12
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
13
13
|
require('./get-closest-element-CfyZl7i7.js');
|
|
14
14
|
require('./random-html-id-DH9-ntZu.js');
|
|
15
15
|
require('./log-error-nWO_o1C3.js');
|
|
@@ -9,7 +9,7 @@ var getSlotTextContent = require('./get-slot-text-content-DZwcXMIm.js');
|
|
|
9
9
|
var guxFormFieldError = require('./gux-form-field-error-Csxri5IS.js');
|
|
10
10
|
var guxFormFieldFieldsetContainer = require('./gux-form-field-fieldset-container-C0ViaU--.js');
|
|
11
11
|
var guxFormField_service = require('./gux-form-field.service-BiSsTyYc.js');
|
|
12
|
-
var usage = require('./usage-
|
|
12
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
13
13
|
require('./get-closest-element-CfyZl7i7.js');
|
|
14
14
|
require('./random-html-id-DH9-ntZu.js');
|
|
15
15
|
require('./log-error-nWO_o1C3.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
|
|
6
6
|
const guxFormFooterCss = () => `:host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}`;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
|
|
6
6
|
const guxIconTooltipCss = () => `:host{display:contents}.gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip-beta{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}`;
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
4
|
var index$1 = require('./index-D5gbJ1qH.js');
|
|
5
|
-
var usage = require('./usage-
|
|
5
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
6
6
|
require('./get-closest-element-CfyZl7i7.js');
|
|
7
7
|
|
|
8
8
|
const info = "Information alert with message";
|
|
@@ -6,7 +6,7 @@ var index$1 = require('./index-D5gbJ1qH.js');
|
|
|
6
6
|
var simulateNativeEvent = require('./simulate-native-event-_MPnVmRN.js');
|
|
7
7
|
var onInputDisabledStateChange = require('./on-input-disabled-state-change-CSLxaSas.js');
|
|
8
8
|
var afterNextRender = require('./after-next-render-CeY_1Kbz.js');
|
|
9
|
-
var usage = require('./usage-
|
|
9
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
10
10
|
var onMutation = require('./on-mutation-BW38lSRA.js');
|
|
11
11
|
var guxListbox_service = require('./gux-listbox.service-FoCeSxM9.js');
|
|
12
12
|
var hasSlot = require('./has-slot-BFTyqu_U.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
var getSlotTextContent = require('./get-slot-text-content-DZwcXMIm.js');
|
|
6
6
|
|
|
7
7
|
const guxLabelInfoCss = () => `.gux-label-info{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-label-info gux-tooltip{padding-inline-start:0}.gux-label-info gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
var getClosestElement = require('./get-closest-element-CfyZl7i7.js');
|
|
6
6
|
|
|
7
7
|
const guxLinkCss = () => `:host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}`;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
4
|
var guxList_service = require('./gux-list.service-CecJpxVa.js');
|
|
5
|
-
var usage = require('./usage-
|
|
5
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
6
6
|
|
|
7
7
|
const guxListCss = () => `:host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}`;
|
|
8
8
|
|
|
@@ -5,7 +5,7 @@ var guxListbox_service = require('./gux-listbox.service-FoCeSxM9.js');
|
|
|
5
5
|
var index$1 = require('./index-D5gbJ1qH.js');
|
|
6
6
|
var whenEventIsFrom = require('./when-event-is-from-C6TjNoqM.js');
|
|
7
7
|
var simulateNativeEvent = require('./simulate-native-event-_MPnVmRN.js');
|
|
8
|
-
var usage = require('./usage-
|
|
8
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
9
9
|
var afterNextRender = require('./after-next-render-CeY_1Kbz.js');
|
|
10
10
|
var onMutation = require('./on-mutation-BW38lSRA.js');
|
|
11
11
|
require('./get-text-content-from-nodes-CKOr9B5M.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
|
|
6
6
|
const guxLoadingMessageCss = () => `:host{display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:inline-size}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center;max-inline-size:var(--gse-ui-progressAndLoading-loadingState-large-width);color:var(--gse-ui-progressAndLoading-textColor);text-align:center}@container (width > 400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-large-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-large-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight)}}@container (width > 200px) and (width <=400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-medium-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-medium-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight)}}@container (width <=200px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-small-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-small-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight)}}`;
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
4
|
var randomHtmlId = require('./random-html-id-DH9-ntZu.js');
|
|
5
|
-
var usage = require('./usage-
|
|
5
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
6
6
|
|
|
7
7
|
const guxModalLegacyCss = () => `::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:var(--gse-semantic-foreground-container-highEmphasis);background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}`;
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
4
|
var randomHtmlId = require('./random-html-id-DH9-ntZu.js');
|
|
5
|
-
var usage = require('./usage-
|
|
5
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
6
6
|
|
|
7
7
|
const guxModalSidePanelCss = () => `dialog{inset-inline-start:auto;display:flex;flex-direction:column;block-size:100%;min-block-size:100%;padding:0;margin:unset;overflow:hidden;color:inherit;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog>gux-side-panel-beta{min-block-size:0;overflow:hidden}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}`;
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
4
|
var randomHtmlId = require('./random-html-id-DH9-ntZu.js');
|
|
5
|
-
var usage = require('./usage-
|
|
5
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
6
6
|
var hasSlot = require('./has-slot-BFTyqu_U.js');
|
|
7
7
|
|
|
8
8
|
const guxModalCss = () => `::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
var onClickOutside = require('./on-click-outside-JPx_Y2im.js');
|
|
6
6
|
var index$1 = require('./index-D5gbJ1qH.js');
|
|
7
7
|
var sparkIntl = require('./spark-intl-cfvEjiOP.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
|
|
6
6
|
const guxNotificationToastCss = () => `:host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:var(--gse-ui-toast-error-iconColor)}.gux-icon.gux-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-icon.gux-positive{color:var(--gse-ui-toast-success-iconColor)}.gux-icon.gux-neutral{color:var(--gse-ui-toast-info-iconColor)}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:var(--gse-ui-toast-success-foregroundColor)}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}`;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-npRUdf7N.js');
|
|
4
|
-
var usage = require('./usage-
|
|
4
|
+
var usage = require('./usage-BbRm9v_K.js');
|
|
5
5
|
|
|
6
6
|
const guxPaginationLegacyCss = () => `:host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}`;
|
|
7
7
|
|