genesys-spark-components 4.99.0 → 4.100.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-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_4.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-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 +10 -5
- 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.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-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 +1 -1
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
- 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-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-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 +2 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.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-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +8 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +8 -4
- 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 +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.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-text-editor-action-group.cjs.entry.js +3 -9
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -2
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +19 -15
- 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-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.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 +1 -1
- 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 +1 -1
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-4c66c07b.js → usage-62c2ce66.js} +8 -8
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.css +0 -4
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +2 -8
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +10 -10
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.css +5 -2
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +7 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +18 -19
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +20 -1
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +19 -0
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +8 -3
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +8 -3
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +19 -0
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +8 -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-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_4.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-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 +10 -5
- 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 +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
- package/dist/esm/gux-form-field-file.entry.js +1 -1
- 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-phone.entry.js +1 -1
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +1 -1
- package/dist/esm/gux-form-field-search.entry.js +1 -1
- package/dist/esm/gux-form-field-select.entry.js +1 -1
- package/dist/esm/gux-form-field-text-like.entry.js +1 -1
- package/dist/esm/gux-form-field-textarea.entry.js +1 -1
- package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
- package/dist/esm/gux-form-field-time-zone-picker.entry.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-inline-alert.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +2 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.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-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +8 -3
- package/dist/esm/gux-option-multi.entry.js +8 -4
- 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 +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.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-text-editor-action-group.entry.js +3 -9
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -2
- package/dist/esm/gux-segmented-control-item.entry.js +19 -15
- 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-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.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 +1 -1
- 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 +1 -1
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-73738884.js → usage-d0d62e3d.js} +8 -8
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-b13d813a.entry.js → p-03a532d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6814a0e3.entry.js → p-0494c90b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0bdfdcb3.entry.js → p-064d3e89.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8e33821.entry.js → p-072791af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a4696420.entry.js → p-07a0e8d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15525646.entry.js → p-0d22138b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c85984c.entry.js → p-0f5bb7d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3592458d.entry.js → p-169ce0f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63032de1.entry.js → p-18a17c33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33068e18.entry.js → p-1b1ac265.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21f31cf2.entry.js → p-1cd8c792.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ef0c32e.entry.js → p-1e9c8bf9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00211fef.entry.js → p-1fe93d7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3fe6d324.entry.js → p-247ebe5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd9684a3.entry.js → p-2496fbed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b6c6d29.entry.js → p-294e663e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f1575bb.entry.js → p-29ddac06.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0350e10d.entry.js → p-29ee080b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d5b303f.entry.js → p-2cbfeae8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e0d5380.entry.js → p-2fcb900c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-731a3414.entry.js → p-339f00e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c19b69e9.entry.js → p-3a2325ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31b89d94.entry.js → p-3aa1765b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2b298d5.entry.js → p-3ab4a432.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-721a913f.entry.js → p-414c4e59.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-20fb4455.entry.js → p-42253791.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-44dc2a8e.entry.js → p-43263962.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddfcafee.entry.js → p-43dd7717.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-358de58a.entry.js → p-44403d89.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecac4f2a.entry.js → p-44968b96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe3f1c1e.entry.js → p-44f309a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da09cce4.entry.js → p-452236e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-45433952.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e07f3408.entry.js → p-4ba6098d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61a63670.entry.js → p-4e1226bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ff99922.entry.js → p-546964b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8242b51b.entry.js → p-55b4b75f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5b290873.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5e6cd14e.entry.js → p-5c7359e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-023ce609.entry.js → p-5dc9d648.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c70882d8.entry.js → p-5df05eea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c35e0c48.entry.js → p-69bfe233.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-629b1fdc.entry.js → p-6a9b6532.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ad59708.entry.js → p-6b99af8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d39d2760.entry.js → p-6bf55936.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fdbfe9dc.entry.js → p-6c368bd8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27ff496f.entry.js → p-6c844c5a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c61c07bf.entry.js → p-7266e85e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c89ee9d.entry.js → p-7574adb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-76c32b2d.js +1 -0
- package/dist/genesys-webcomponents/{p-983871be.entry.js → p-7bfbe4cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffda4d12.entry.js → p-7e2f207d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-39fd065c.entry.js → p-7ea4fa0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-611d619f.entry.js → p-7fc5dfe0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2cf08e66.entry.js → p-831eea35.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84d3fe22.entry.js → p-86137289.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-88e63b55.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ea152600.entry.js → p-89adf88f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5be81464.entry.js → p-8abd04d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ccea4464.entry.js → p-8c5c9d60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b7825b6c.entry.js → p-925808ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9ca405d8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-740a8e71.entry.js → p-9d93bcf6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9de8194a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6f3c065f.entry.js → p-a103ebb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b30a46e.entry.js → p-a2208757.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69bcba9b.entry.js → p-a6ca5e0c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffc46303.entry.js → p-a749f933.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-beea7bca.entry.js → p-a9c924fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6dd96d2b.entry.js → p-a9d4c524.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af5d0dc4.entry.js → p-aafe9702.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72f4ecbb.entry.js → p-af71478b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-159257f0.entry.js → p-b098c7e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e5081c2.entry.js → p-b0fb7a4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ce00c162.entry.js → p-b2cba57f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0001e3b5.entry.js → p-b40c01bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bbbffcf7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d0206932.entry.js → p-bc60ddd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bd8b04e5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-15ac70aa.entry.js → p-bf196bf4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e8bfef2a.entry.js → p-bfb4158e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8c85d45.entry.js → p-c44105a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8ada58d.entry.js → p-c7ea05af.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cd20bbf3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-95dfe63f.entry.js → p-d096f502.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d23c5225.entry.js → p-d3ae8b2c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-20bbd29b.entry.js → p-daa061ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f455b3b.entry.js → p-ddfbda3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ca527a8.entry.js → p-e0ea644e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c3ca77f7.entry.js → p-e7275c05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d43dc84f.entry.js → p-ea2097b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c61c15dc.entry.js → p-ea809c11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-03a851a2.entry.js → p-ed0ace99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70a40ad2.entry.js → p-f0970636.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-babcecb3.entry.js → p-f1182baa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-03c7a6af.entry.js → p-f218319d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41a00f0d.entry.js → p-f3d3e81d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c7ddb21e.entry.js → p-f5c61215.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31ca2b14.entry.js → p-ff7d96bd.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.d.ts +0 -2
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.d.ts +7 -7
- package/dist/types/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.d.ts +1 -2
- package/dist/types/components/beta/gux-segmented-control/gux-segmented-control.d.ts +1 -0
- package/dist/types/components/stable/gux-listbox/gux-listbox.d.ts +1 -0
- package/dist/types/components/stable/gux-listbox/options/gux-option/gux-option.d.ts +1 -0
- package/dist/types/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.d.ts +1 -0
- package/dist/types/components/stable/gux-listbox-multi/gux-listbox-multi.d.ts +1 -0
- package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +1 -0
- package/dist/types/components.d.ts +6 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +8 -8
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.types.js +0 -1
- package/dist/genesys-webcomponents/p-037fe133.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4f90f37c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-70699191.entry.js +0 -1
- package/dist/genesys-webcomponents/p-70bea77f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7a58cc3e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-84b01502.js +0 -1
- package/dist/genesys-webcomponents/p-a3b77ca5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ca429bb3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-eea3f017.entry.js +0 -1
- package/dist/types/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.types.d.ts +0 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.
|
1
|
+
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.100.0-450/genesys-webcomponents/";
|
2
2
|
export declare function registerElements(): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "genesys-spark-components",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.100.0",
|
4
4
|
"description": "Common webcomponents",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "dist/stencil-wrapper.js",
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"svgo": "find ./src/components/stable/gux-icon/icons/**/*.svg -type f ! -path '*/legacy/*' -exec svgo {} +",
|
42
42
|
"test": "TZ=UTC stencil test --spec --e2e",
|
43
43
|
"test.ci": "TZ=UTC npm run test.ci.spec",
|
44
|
-
"test.ci.e2e": "TZ=UTC stencil test --e2e --maxWorkers=1",
|
45
|
-
"test.ci.spec": "TZ=UTC stencil test --spec --maxWorkers=1",
|
44
|
+
"test.ci.e2e": "TZ=UTC stencil test --e2e --maxWorkers=1 --workerIdleMemoryLimit=500MB",
|
45
|
+
"test.ci.spec": "TZ=UTC stencil test --spec --maxWorkers=1 --workerIdleMemoryLimit=500MB",
|
46
46
|
"test.e2e": "TZ=UTC stencil test --e2e",
|
47
47
|
"test.e2e.update-snapshot": "TZ=UTC stencil test --e2e --updateSnapshot",
|
48
48
|
"test.screenshot": "TZ=UTC stencil test --e2e --screenshot",
|
@@ -81,14 +81,14 @@
|
|
81
81
|
"@types/sortablejs": "^1.15.8",
|
82
82
|
"axe-core": "^4.10.2",
|
83
83
|
"axe-live": "^1.0.1",
|
84
|
-
"eslint": "^9.
|
84
|
+
"eslint": "^9.15.0",
|
85
85
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
86
86
|
"file-loader": "^6.2.0",
|
87
87
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
88
88
|
"glob": "^11.0.0",
|
89
|
-
"globals": "^15.
|
89
|
+
"globals": "^15.12.0",
|
90
90
|
"handlebars": "^4.7.8",
|
91
|
-
"inquirer": "^12.0
|
91
|
+
"inquirer": "^12.1.0",
|
92
92
|
"jest": "^29.7.0",
|
93
93
|
"jest-cli": "^29.7.0",
|
94
94
|
"jest-config": "^29.7.0",
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"jest-silent-reporter": "^0.6.0",
|
98
98
|
"jsdom": "^25.0.1",
|
99
99
|
"lint-staged": "^15.2.10",
|
100
|
-
"marked": "^14.1.
|
100
|
+
"marked": "^14.1.4",
|
101
101
|
"mutation-observer": "^1.0.3",
|
102
102
|
"node-fetch": "^3.3.2",
|
103
103
|
"npm-run-all": "^4.1.5",
|
@@ -119,7 +119,7 @@
|
|
119
119
|
"stylelint-config-html": "^1.1.0",
|
120
120
|
"stylelint-config-recess-order": "^5.1.1",
|
121
121
|
"stylelint-config-standard": "^36.0.1",
|
122
|
-
"stylelint-scss": "^6.
|
122
|
+
"stylelint-scss": "^6.10.0",
|
123
123
|
"stylelint-use-logical": "^2.1.2",
|
124
124
|
"stylelint-use-logical-spec": "^5.0.1",
|
125
125
|
"svgo": "^3.3.2",
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as r,g as t}from"./p-6e010355.js";import{h as i}from"./p-6d8b4027.js";const n=class{constructor(r){e(this,r),this.disabled=!1}renderSlot(e,t){return i(this.root,e)?r("div",{class:t},r("slot",{name:e})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalActions(){return this.renderSlot("global-actions","gux-global-actions-container")}render(){return r("div",{key:"a707ab0a85c67bc2245bcee09abeca4ab75ba206",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled}},r("div",{key:"bc377de5f4ec9c4877b26fc3c29acd74b7b29c0f",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderGlobalActions()),r("slot",{key:"f9f932c875385e22be1f9e6b7779fc2153132f52",name:"editor"}))}get root(){return t(this)}};n.style=":host{display:block}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:fit-content;max-inline-size:100%;padding:var(--gse-ui-rte-padding);overflow:auto;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{n as gux_rich_text_editor_beta}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,f as i,h as o,g as s,H as n}from"./p-6e010355.js";import{O as r}from"./p-b0758688.js";import{b as u}from"./p-a82e4a04.js";import{s as a}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as h}from"./p-cf0e7d3b.js";import{t as c}from"./p-84b01502.js";import{O as g}from"./p-e720c07a.js";import{s as f,l as p,g as x,c as b,h as v,a as m,b as w,d as C,e as y,f as z,i as k,j as F,k as S,m as O,o as T}from"./p-787c5373.js";import{h as j}from"./p-6d8b4027.js";import{w as E}from"./p-e97879b4.js";import{r as I}from"./p-0934300e.js";import"./p-4202e9f2.js";const L={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var W=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(s=t[u])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const H=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&h((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){c(this.root),this.i18n=await u(this.root,L),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType)return i.textContent.trim().substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(j(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),o("span",{class:"gux-selected-icon"},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"c28981951152a2a85876cfb8ba57aa0ba30e4d54",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};W([r({triggerEvents:"mousedown"})],H.prototype,"onClickOutside",null),W([g({childList:!0,subtree:!0})],H.prototype,"onMutation",null),H.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size: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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{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-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-inputIcon-size);block-size:var(--gse-ui-formControl-input-inputIcon-size);padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{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-input-borderRadius)}.gux-target-container-expanded:focus-visible{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)}.gux-target-container-expanded:focus-within:has(:focus-visible){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)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{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-target-container-collapsed .gux-field-button:focus-visible{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)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){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)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-selected-icon{display:flex;align-items:center}.gux-selected-icon gux-icon{inline-size:var(--gse-ui-formControl-input-inputIcon-size);block-size:var(--gse-ui-formControl-input-inputIcon-size);padding-inline-end:var(--gse-ui-dropdown-gap)}";const R=["gux-option","gux-option-icon"].join(","),A={noMatches:"No matches",loading:"Loading..."},D=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}onBlur(){b(this.root)}onKeydown(t){if(!v(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void F(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"ArrowUp":return t.preventDefault(),void(C(this.root)?(t.stopPropagation(),y(this.root)):m(this.root));case"Home":return t.preventDefault(),void w(this.root);case"End":return t.preventDefault(),void m(this.root);case" ":return void t.preventDefault()}1!==t.key.length||S(this.root,t.key)}onKeyup(t){" "!==t.key||F(this.root,(t=>this.updateValue(t)))}onMousemove(){b(this.root)}onClick(t){E(R,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){F(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){c(this.root),this.i18n=await u(this.root,A),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&(t.filtered=!O(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(n,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return s(this)}};D.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";const B=class{constructor(e){t(this,e),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||I("gux-option"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=j(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return o(n,{key:"170011806d8c88a675587ace38864d79da56f616",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},o("div",{key:"69cbd72768050cfacbc8f9fb088ee3aeeaba2935",class:"gux-option-wrapper"},o("gux-truncate",{key:"efc98d466ea0e02656790fa8ba234f2afcba1f10",ref:t=>this.truncateElement=t},o("slot",{key:"19e2190fb17267a61518329cd757e9a69334d46a"})),o("slot",{key:"60b30554cad9f900d32acb45e587e03edadd9dbe",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return s(this)}static get watchers(){return{active:["handleActive"]}}};B.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{H as gux_dropdown,D as gux_listbox,B as gux_option}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,h as t,H as e,g as r}from"./p-6e010355.js";const o=class{constructor(t){i(this,t),this.hideActionDivider=!1}shouldHideDivider(){return this.hideActionDivider||this.isGlobalActionsSlot()}isGlobalActionsSlot(){return"global-actions"===this.root.getAttribute("slot")}renderActionGroupDivider(){if(!this.shouldHideDivider())return t("div",{class:"gux-divider"})}render(){return t(e,{key:"29d64c58d7e555806180d8c7d20e0717cf05827b"},t("div",{key:"f131ab79c23520a9b3f511441cd5eca694f3ced4",class:"gux-action-group-container"},t("slot",{key:"893be82e57ba153e8f9bac66f323bf5035da9fae"})),this.renderActionGroupDivider())}get root(){return r(this)}};o.style=":host{display:flex;flex-direction:row}:host([slot=global-actions]) ::slotted(gux-rich-text-editor-action:last-child){margin-inline-start:83px}.gux-action-group-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:4px;align-items:flex-start;justify-content:flex-start}.gux-divider{inline-size:var(--gse-ui-rte-divider-width);block-size:var(--gse-ui-rte-divider-height);margin-block:6px;margin-inline:4px;background-color:#c6c8ce}";export{o as gux_rich_text_editor_action_group}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as t,H as i,g as o}from"./p-6e010355.js";import{r as s}from"./p-0934300e.js";import{h as n}from"./p-6d8b4027.js";const a=class{constructor(t){e(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=n(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let e=null;return null===this.iconColor||this.hovered||this.active||(e={color:this.iconColor}),t(i,{key:"a37e3996a0fa02f68489f926398a01eed55609e5",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{key:"e6356601e53a460710e05c22420a7bdc31e7a433",decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:e}),t("div",{key:"439607ae1ae29d6dd9dbfbc53264cf822e55ebf6",class:"gux-option-wrapper"},t("gux-truncate",{key:"82327ab30a57aede195a602576795a36e9f5e6c0",ref:e=>this.truncateElement=e},t("slot",{key:"590e99a33093f775534f22373b2568c6eb5f14f0"})),t("slot",{key:"3a181be71c319f20fad3795545bda8946ab95b71",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};a.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0;inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height)}";export{a as gux_option_icon}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,c as t,h as o,H as i,g as s}from"./p-6e010355.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-a82e4a04.js";import{h as r}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const u={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},l=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await a(this.root,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=r(this.root,"subtext")}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"eec6051043d8db73046c348c835f0d57c4979bd7",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"859f0f20db170430d32d7bc84ef7b4fd13a449ab",class:"gux-option-wrapper"},o("gux-truncate",{key:"92f8ba55177ed5bc575e63eabcfea64117ffac49",ref:e=>this.truncateElement=e},o("slot",{key:"d79b47e5e65e9eae9ef9e7ed75b02cc97abf653d"})),o("slot",{key:"336241daab41a6e206c0f645a56f9547aeed9773",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};l.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{l as gux_option_multi}
|
@@ -1 +0,0 @@
|
|
1
|
-
const t="4.99.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function c(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{c as t}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as o,g as t}from"./p-6e010355.js";import{g as r}from"./p-4202e9f2.js";import{g as n}from"./p-0268a3e8.js";import{h as i}from"./p-6d8b4027.js";const s=class{constructor(o){e(this,o),this.value=void 0,this.selected=!1,this.disabled=!1,this.iconOnly=!1,this.position=void 0}onClick(e){this.disabled&&e.stopPropagation()}isInStartPosition(e){const o=r("gux-segmented-control-beta",e);return 0===Array.from(o.children).findIndex((o=>o===e))}isInEndPosition(e){const o=r("gux-segmented-control-beta",e),t=Array.from(o.children);return t.findIndex((o=>o===e))===t.length-1}renderTooltip(){if(this.iconOnly)return o("gux-tooltip",null,o("div",{slot:"content"},n(this.root,"text")))}renderIconSlot(){if(i(this.root,"icon"))return o("div",{class:{"gux-icon":!0,"gux-icon-only":this.iconOnly}},o("slot",{name:"icon"}))}render(){return o("div",{key:"a9dc97e25ba6133cff59915908c5c61d40c124d3",class:{"gux-container":!0,"gux-start":this.isInStartPosition(this.root),"gux-end":this.isInEndPosition(this.root)}},o("button",{key:"2c758555f67c8dca28dc293122ab5a0440efbc42",class:{"gux-segmented-control-item":!0,"gux-icon-only":this.iconOnly,"gux-selected":this.selected},type:"button",disabled:this.disabled},this.renderIconSlot(),o("div",{key:"060a4eadf013f71c03bb75788c7dd3e55b235064",class:{"gux-text":!0,"gux-icon-only":this.iconOnly}},o("slot",{key:"984c41d166ee7a8b9e8a50a84a8eb7dfa7e077c9",name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{all:unset}.gux-container{block-size:var(--gse-ui-segmentedControl-height);cursor:pointer;border-color:var(--gse-ui-segmentedControl-divider-color);border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end:none;border-radius:var(--gse-ui-segmentedControl-button-middle-borderRadius)}.gux-container.gux-start{border-inline-start-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-start-borderRadius)}.gux-container.gux-end{border-style:var(--gse-ui-segmentedControl-divider-style);border-width:var(--gse-ui-segmentedControl-divider-width);border-inline-end-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-button-end-borderRadius)}.gux-container.gux-start.gux-end{border-radius:var(--gse-ui-segmentedControl-borderRadius)}.gux-container .gux-segmented-control-item{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-segmentedControl-button-gap);place-content:stretch flex-start;align-items:center;block-size:100%;padding:var(--gse-ui-segmentedControl-button-padding);line-height:0;color:var(--gse-ui-segmentedControl-button-default-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-default-backgroundColor)}.gux-container .gux-segmented-control-item.gux-icon-only{padding:var(--gse-ui-segmentedControl-iconOnly-padding)}.gux-container .gux-segmented-control-item.gux-icon-only .gux-text.gux-icon-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-container .gux-segmented-control-item:hover{color:var(--gse-ui-segmentedControl-button-hover-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-hover-backgroundColor)}.gux-container .gux-segmented-control-item[disabled]{color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor);pointer-events:none;background-color:var(--gse-ui-segmentedControl-button-disabled-backgroundColor);opacity:var(--gse-ui-segmentedControl-button-disabled-opacity)}.gux-container .gux-segmented-control-item.gux-selected{color:var(--gse-ui-segmentedControl-button-active-foregroundColor);background-color:var(--gse-ui-segmentedControl-button-active-backgroundColor)}.gux-container .gux-segmented-control-item:focus-visible{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);border-radius:var(--gse-ui-segmentedControl-borderRadius);outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-md-borderWidth);outline-offset:var(--gse-semantic-focusOutline-offset);outline-offset:var(--gse-ui-segmentedControl-focus-offset)}.gux-container .gux-segmented-control-item .gux-icon slot[name=icon]::slotted(gux-icon){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}";export{s as gux_segmented_control_item}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,h as s,H as i,g as o}from"./p-6e010355.js";import{c as r,h as a,s as n,a as h,b as u,d,e as l,f as c,i as m,j as g,k as p,o as v}from"./p-787c5373.js";import{b}from"./p-a82e4a04.js";import{w as x}from"./p-e97879b4.js";import{s as f}from"./p-2c25e2f2.js";import{t as w}from"./p-84b01502.js";import{b as S}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const y={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},O=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var e;if(!a(this.root))return t.preventDefault(),void n(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),m(this.root)):u(this.root));case"ArrowUp":return t.preventDefault(),void(d(this.root)?(t.stopPropagation(),l(this.root)):h(this.root));case"Home":return t.preventDefault(),void u(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||p(this.root,t.key)}onKeyup(t){var e;" "!==t.key||((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):g(this.root,(t=>this.updateValue(t))))}onMousemove(){r(this.root)}onClick(t){x("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((e=>{var s,i;(null===(i=null===(s=e.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((e=>e!==t)).join(",");else{const e=[...this.getSelectedValues(),t];this.value=e.join(",")}f(this.root,"input"),f(this.root,"change")}async componentWillLoad(){w(this.root),this.i18n=await b(this.root,y),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(i,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};O.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow-y:auto;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";export{O as gux_listbox_multi}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as s,H as e,g as o}from"./p-6e010355.js";import{s as i}from"./p-2c25e2f2.js";import{t as a}from"./p-84b01502.js";const r=class{constructor(s){t(this,s),this.value=void 0,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,i(this.root,"input"),i(this.root,"change"))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){a(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(e,{key:"e716082dfafef434da5976ce6b92d24a52ebc13a",role:"group"},s("slot",{key:"f1aae22a88628ab70dfcb4ea13a84dc0650aa442",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};r.style=":host{display:inline-flex}";export{r as gux_segmented_control_beta}
|
@@ -1 +0,0 @@
|
|
1
|
-
export type GuxSegmentedControlItemPosition = 'start' | 'middle' | 'end';
|