genesys-spark-components 4.5.0 → 4.6.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/en-66d2b744.js +26 -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 +2 -2
- 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-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 +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +13 -12
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +3 -13
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-phone.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 +8 -2
- 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-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-inline-alert.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 -2
- package/dist/cjs/{gux-listbox.service-9bcd72cb.js → gux-listbox.service-e1b0f291.js} +37 -41
- 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-calendar.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-group-beta.cjs.entry.js +23 -0
- package/dist/cjs/gux-option-icon.cjs.entry.js +10 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +10 -3
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +8 -4
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popup.cjs.entry.js +2 -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-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-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-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.cjs.entry.js +1 -1
- package/dist/cjs/index-75c9f0d9.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-0771d1fa.js → usage-ea342b1c.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +0 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.css +3 -3
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +2 -2
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +5 -5
- package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +3 -3
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +3 -3
- package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +0 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +1 -13
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +5 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +8 -8
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +25 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +27 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +20 -0
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-icon/icons/fa/arrow-down-left-and-arrow-up-right-to-center-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/arrow-right-to-bracket-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/arrow-up-right-and-arrow-down-left-from-center-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/arrows-down-to-people-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/arrows-rotate-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/display-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/file-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/regular-display-slash.svg +1 -0
- package/dist/collection/components/stable/gux-listbox/gux-listbox.js +2 -8
- package/dist/collection/components/stable/gux-listbox/gux-listbox.service.js +37 -41
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.css +26 -0
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +48 -0
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +17 -0
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +15 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +17 -0
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +15 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +16 -0
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +15 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +7 -3
- package/dist/collection/components/stable/gux-popup/gux-popup.js +26 -1
- package/dist/component-specs.json +10 -1
- package/dist/deploy-info.json +3 -3
- package/dist/esm/en-25a315a0.js +24 -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 +2 -2
- 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-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 +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +13 -12
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +3 -13
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +2 -2
- package/dist/esm/gux-form-field-phone.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 +8 -2
- 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-icon.entry.js +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +2 -2
- package/dist/esm/{gux-listbox.service-0f180d8a.js → gux-listbox.service-8ccb2f73.js} +37 -41
- 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-calendar.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-group-beta.entry.js +19 -0
- package/dist/esm/gux-option-icon.entry.js +10 -3
- package/dist/esm/gux-option-multi.entry.js +10 -3
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-buttons_2.entry.js +8 -4
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popup.entry.js +2 -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-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-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-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.entry.js +1 -1
- package/dist/esm/index-39e65a0a.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-ec7c6ed2.js → usage-a9b5d490.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
- package/dist/genesys-webcomponents/icons/fa/arrow-down-left-and-arrow-up-right-to-center-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/arrow-right-to-bracket-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/arrow-up-right-and-arrow-down-left-from-center-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/arrows-down-to-people-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/arrows-rotate-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/display-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/file-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/regular-display-slash.svg +1 -0
- package/dist/genesys-webcomponents/{p-32cc860b.entry.js → p-0194b96a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06141ff6.entry.js → p-02435eba.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-02dbb0ac.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-debe59a7.entry.js → p-057b7c6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-086bfffd.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0aa02a8c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bff96f01.entry.js → p-0f71fbb4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-111b0115.entry.js → p-13ad4f42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e80594cc.entry.js → p-13b33671.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c20850a.entry.js → p-1a47a637.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80047812.entry.js → p-1e122371.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a28864cf.entry.js → p-1e2c26d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1f0f3f12.entry.js +1 -0
- package/dist/genesys-webcomponents/p-1f5e0cf6.entry.js +1 -0
- package/dist/genesys-webcomponents/p-209db079.entry.js +1 -0
- package/dist/genesys-webcomponents/p-20fbe34f.js +1 -0
- package/dist/genesys-webcomponents/{p-4fbf392c.entry.js → p-22d9bd86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b052ecd1.entry.js → p-24fecfa2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc5d554d.entry.js → p-28884f46.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6722d319.entry.js → p-29b6eee9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2abbbf05.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b798430c.entry.js → p-2efe0fba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74756166.entry.js → p-35537f4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3a90466e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-448dd098.entry.js → p-3ba45599.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0b5b1a3.entry.js → p-46ce101a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-47cdc1ca.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f8a21f5b.entry.js → p-4b3db04a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04be66ee.entry.js → p-4d8c4597.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-989753ad.entry.js → p-5304b139.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cda77f0e.entry.js → p-564d3a74.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb99c173.entry.js → p-56ec20c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41c3b361.entry.js → p-5bcf168f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec539ee9.entry.js → p-5cac8417.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4733570b.entry.js → p-5f2c267a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-660e6ffe.entry.js → p-644077a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c5c7fb3.entry.js → p-65149af5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24d7f83b.entry.js → p-658b2769.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2b6e407.entry.js → p-66d05c52.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f600322.entry.js → p-66da0b69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e09de68a.entry.js → p-66f52ef4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-958b9cf3.entry.js → p-676a7808.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9bca384a.entry.js → p-6ad8ec99.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6d764dde.js +1 -0
- package/dist/genesys-webcomponents/{p-ddeabb06.entry.js → p-7167b83d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5f6a094.entry.js → p-72d4dc2b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5dde382c.entry.js → p-754c1424.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a1a70966.entry.js → p-76fc42e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8de1d5df.entry.js → p-77a34cdc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ef94751.entry.js → p-79aa97dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd775b1c.entry.js → p-7c8b1fd7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2c226a9.entry.js → p-7c9e7e91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a9a5052.entry.js → p-80746489.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-845fed4c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3324b97d.entry.js → p-84dff70e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-916883d1.entry.js → p-87f2a656.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-67cb7eda.entry.js → p-8a2d0702.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc417cf4.entry.js → p-8faf6f75.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68b8a54d.entry.js → p-90abae17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9ccf117.entry.js → p-9428689a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-698b1208.entry.js → p-9a8632b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9d5acac3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9ec956d3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8b5ad7d2.entry.js → p-9fd526e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8be97f54.entry.js → p-a0052b72.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a48f72ed.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b7e6056d.entry.js → p-acaaa493.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b3885745.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-efc27dab.entry.js → p-ba2855b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d880fa4b.entry.js → p-bbf199ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-be722202.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-24c9a100.entry.js → p-c237adac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f56d9d37.entry.js → p-c6b2cea0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c7305a50.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fcd4c634.entry.js → p-c7c4457e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9291d78a.entry.js → p-cc5ca3c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b835f28f.entry.js → p-d490ecd9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e03c60db.entry.js → p-d4bd7289.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf7633bb.entry.js → p-d6442d74.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d75e53c6.entry.js +1 -0
- package/dist/genesys-webcomponents/p-ddfcd695.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ba9d6ea8.entry.js → p-df96a16b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b77132e2.entry.js → p-e6623114.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f98fac7.js → p-e8e87ffb.js} +1 -1
- package/dist/genesys-webcomponents/{p-1bdc0669.entry.js → p-f06d1bfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3dfc79fb.entry.js → p-f129f0e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02087595.entry.js → p-f7691f80.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ee5f9af.entry.js → p-f940bf51.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4979d690.entry.js → p-fbd4ce7f.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +0 -2
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +2 -0
- package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
- package/dist/types/components/stable/gux-listbox/gux-listbox.service.d.ts +3 -0
- package/dist/types/components/stable/gux-listbox/option-group/gux-option-group.d.ts +8 -0
- package/dist/types/components/stable/gux-listbox/options/gux-option/gux-option.d.ts +3 -0
- package/dist/types/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.d.ts +3 -0
- package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +3 -0
- package/dist/types/components/stable/gux-popup/gux-popup.d.ts +5 -0
- package/dist/types/components.d.ts +25 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/en-f88c1935.js +0 -22
- package/dist/esm/en-98371f99.js +0 -20
- package/dist/genesys-webcomponents/p-3b3e4c5d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-43557c1f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-460a4982.entry.js +0 -1
- package/dist/genesys-webcomponents/p-65b03df8.js +0 -1
- package/dist/genesys-webcomponents/p-84cc916b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-87bf41a0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8abeb43f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aaa59fd3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aee137e6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bf961d61.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c7328d42.js +0 -1
- package/dist/genesys-webcomponents/p-cab88e9d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d9b474b8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e208feb4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e566718d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f06c026b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f50889cd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f56a4664.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f8f6fbb5.entry.js +0 -1
@@ -0,0 +1,48 @@
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
2
|
+
/**
|
3
|
+
* @slot - collection of elements conforming to the ListboxOptionElement interface
|
4
|
+
*/
|
5
|
+
export class GuxOptionGroup {
|
6
|
+
constructor() {
|
7
|
+
this.label = undefined;
|
8
|
+
}
|
9
|
+
// @Prop()
|
10
|
+
// disabled: boolean;
|
11
|
+
// TOOD: Add disabled state once design work is complete
|
12
|
+
render() {
|
13
|
+
return (h(Host, null, h("div", { class: "gux-option-group" }, h("div", { class: "gux-option-group-label", role: "presentation" }, this.label), h("div", { role: "group" }, h("slot", null)), h("gux-list-divider", null))));
|
14
|
+
}
|
15
|
+
static get is() { return "gux-option-group-beta"; }
|
16
|
+
static get encapsulation() { return "shadow"; }
|
17
|
+
static get originalStyleUrls() {
|
18
|
+
return {
|
19
|
+
"$": ["gux-option-group.scss"]
|
20
|
+
};
|
21
|
+
}
|
22
|
+
static get styleUrls() {
|
23
|
+
return {
|
24
|
+
"$": ["gux-option-group.css"]
|
25
|
+
};
|
26
|
+
}
|
27
|
+
static get properties() {
|
28
|
+
return {
|
29
|
+
"label": {
|
30
|
+
"type": "string",
|
31
|
+
"mutable": false,
|
32
|
+
"complexType": {
|
33
|
+
"original": "string",
|
34
|
+
"resolved": "string",
|
35
|
+
"references": {}
|
36
|
+
},
|
37
|
+
"required": true,
|
38
|
+
"optional": false,
|
39
|
+
"docs": {
|
40
|
+
"tags": [],
|
41
|
+
"text": ""
|
42
|
+
},
|
43
|
+
"attribute": "label",
|
44
|
+
"reflect": false
|
45
|
+
}
|
46
|
+
};
|
47
|
+
}
|
48
|
+
}
|
@@ -16,6 +16,9 @@
|
|
16
16
|
word-wrap: break-word;
|
17
17
|
cursor: pointer;
|
18
18
|
}
|
19
|
+
:host .gux-option-wrapper {
|
20
|
+
width: 100%;
|
21
|
+
}
|
19
22
|
:host .gux-slot-container {
|
20
23
|
overflow: hidden;
|
21
24
|
text-overflow: ellipsis;
|
@@ -49,6 +52,20 @@
|
|
49
52
|
outline-offset: -2px;
|
50
53
|
}
|
51
54
|
|
55
|
+
:host(.gux-show-subtext) {
|
56
|
+
place-content: stretch flex-start;
|
57
|
+
height: auto;
|
58
|
+
}
|
59
|
+
:host(.gux-show-subtext) .gux-option-wrapper {
|
60
|
+
display: flex;
|
61
|
+
flex-direction: column;
|
62
|
+
}
|
63
|
+
:host(.gux-show-subtext) slot[name=subtext]::slotted(*) {
|
64
|
+
height: var(--gse-ui-groupedMenu-subtext-height);
|
65
|
+
font-weight: var(--gse-ui-menu-option-label-default-text-fontWeight);
|
66
|
+
color: var(--gse-ui-menu-groupedMenu-subtext-foregroundColor);
|
67
|
+
}
|
68
|
+
|
52
69
|
:host(:hover:not(:disabled)) {
|
53
70
|
background: var(--gse-ui-menu-option-hover-backgroundColor);
|
54
71
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
import { randomHTMLId } from "../../../../../utils/dom/random-html-";
|
3
|
+
import { hasSlot } from "../../../../../utils/dom/has-slot";
|
3
4
|
/**
|
4
5
|
* @slot - text
|
6
|
+
* @slot subtext - Optional slot for subtext
|
5
7
|
*/
|
6
8
|
export class GuxOption {
|
7
9
|
constructor() {
|
@@ -10,6 +12,7 @@ export class GuxOption {
|
|
10
12
|
this.selected = false;
|
11
13
|
this.disabled = false;
|
12
14
|
this.filtered = false;
|
15
|
+
this.hasSubtext = false;
|
13
16
|
}
|
14
17
|
handleActive(active) {
|
15
18
|
var _a, _b;
|
@@ -22,6 +25,10 @@ export class GuxOption {
|
|
22
25
|
}
|
23
26
|
componentWillLoad() {
|
24
27
|
this.root.id = this.root.id || randomHTMLId('gux-option');
|
28
|
+
this.onSubtextChange();
|
29
|
+
}
|
30
|
+
onSubtextChange() {
|
31
|
+
this.hasSubtext = hasSlot(this.root, 'subtext');
|
25
32
|
}
|
26
33
|
getAriaSelected() {
|
27
34
|
if (this.disabled) {
|
@@ -34,8 +41,9 @@ export class GuxOption {
|
|
34
41
|
'gux-active': this.active,
|
35
42
|
'gux-disabled': this.disabled,
|
36
43
|
'gux-filtered': this.filtered,
|
37
|
-
'gux-selected': this.selected
|
38
|
-
|
44
|
+
'gux-selected': this.selected,
|
45
|
+
'gux-show-subtext': this.hasSubtext
|
46
|
+
}, "aria-selected": this.getAriaSelected(), "aria-disabled": this.disabled.toString() }, h("div", { class: "gux-option-wrapper" }, h("gux-truncate", { ref: el => (this.truncateElement = el) }, h("slot", null)), h("slot", { onSlotchange: () => this.onSubtextChange(), name: "subtext" }))));
|
39
47
|
}
|
40
48
|
static get is() { return "gux-option"; }
|
41
49
|
static get encapsulation() { return "shadow"; }
|
@@ -142,6 +150,11 @@ export class GuxOption {
|
|
142
150
|
}
|
143
151
|
};
|
144
152
|
}
|
153
|
+
static get states() {
|
154
|
+
return {
|
155
|
+
"hasSubtext": {}
|
156
|
+
};
|
157
|
+
}
|
145
158
|
static get elementRef() { return "root"; }
|
146
159
|
static get watchers() {
|
147
160
|
return [{
|
package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css
CHANGED
@@ -16,6 +16,9 @@
|
|
16
16
|
word-wrap: break-word;
|
17
17
|
cursor: pointer;
|
18
18
|
}
|
19
|
+
:host .gux-option-wrapper {
|
20
|
+
width: 100%;
|
21
|
+
}
|
19
22
|
:host .gux-slot-container {
|
20
23
|
overflow: hidden;
|
21
24
|
text-overflow: ellipsis;
|
@@ -49,6 +52,20 @@
|
|
49
52
|
outline-offset: -2px;
|
50
53
|
}
|
51
54
|
|
55
|
+
:host(.gux-show-subtext) {
|
56
|
+
place-content: stretch flex-start;
|
57
|
+
height: auto;
|
58
|
+
}
|
59
|
+
:host(.gux-show-subtext) .gux-option-wrapper {
|
60
|
+
display: flex;
|
61
|
+
flex-direction: column;
|
62
|
+
}
|
63
|
+
:host(.gux-show-subtext) slot[name=subtext]::slotted(*) {
|
64
|
+
height: var(--gse-ui-groupedMenu-subtext-height);
|
65
|
+
font-weight: var(--gse-ui-menu-option-label-default-text-fontWeight);
|
66
|
+
color: var(--gse-ui-menu-groupedMenu-subtext-foregroundColor);
|
67
|
+
}
|
68
|
+
|
52
69
|
:host(:hover:not(:disabled)) {
|
53
70
|
background: var(--gse-ui-menu-option-hover-backgroundColor);
|
54
71
|
}
|
package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
2
|
import { randomHTMLId } from "../../../../../utils/dom/random-html-";
|
3
|
+
import { hasSlot } from "../../../../../utils/dom/has-slot";
|
3
4
|
/**
|
4
5
|
* @slot - text
|
6
|
+
* @slot subtext - Optional slot for subtext
|
5
7
|
*/
|
6
8
|
export class GuxOptionIcon {
|
7
9
|
constructor() {
|
@@ -14,6 +16,7 @@ export class GuxOptionIcon {
|
|
14
16
|
this.disabled = false;
|
15
17
|
this.filtered = false;
|
16
18
|
this.hovered = false;
|
19
|
+
this.hasSubtext = false;
|
17
20
|
}
|
18
21
|
onmouseenter() {
|
19
22
|
this.hovered = true;
|
@@ -32,6 +35,10 @@ export class GuxOptionIcon {
|
|
32
35
|
}
|
33
36
|
componentWillLoad() {
|
34
37
|
this.root.id = this.root.id || randomHTMLId('gux-option-icon');
|
38
|
+
this.onSubtextChange();
|
39
|
+
}
|
40
|
+
onSubtextChange() {
|
41
|
+
this.hasSubtext = hasSlot(this.root, 'subtext');
|
35
42
|
}
|
36
43
|
getAriaSelected() {
|
37
44
|
if (this.disabled) {
|
@@ -51,8 +58,9 @@ export class GuxOptionIcon {
|
|
51
58
|
'gux-disabled': this.disabled,
|
52
59
|
'gux-filtered': this.filtered,
|
53
60
|
'gux-hovered': this.hovered,
|
54
|
-
'gux-selected': this.selected
|
55
|
-
|
61
|
+
'gux-selected': this.selected,
|
62
|
+
'gux-show-subtext': this.hasSubtext
|
63
|
+
}, "aria-selected": this.getAriaSelected(), "aria-disabled": this.disabled.toString() }, h("gux-icon", { decorative: this.iconSrText == null, "screenreader-text": this.iconSrText, "icon-name": this.iconName, style: iconStyle }), h("div", { class: "gux-option-wrapper" }, h("gux-truncate", { ref: el => (this.truncateElement = el) }, h("slot", null)), h("slot", { onSlotchange: () => this.onSubtextChange(), name: "subtext" }))));
|
56
64
|
}
|
57
65
|
static get is() { return "gux-option-icon"; }
|
58
66
|
static get encapsulation() { return "shadow"; }
|
@@ -228,6 +236,11 @@ export class GuxOptionIcon {
|
|
228
236
|
}
|
229
237
|
};
|
230
238
|
}
|
239
|
+
static get states() {
|
240
|
+
return {
|
241
|
+
"hasSubtext": {}
|
242
|
+
};
|
243
|
+
}
|
231
244
|
static get elementRef() { return "root"; }
|
232
245
|
static get watchers() {
|
233
246
|
return [{
|
package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css
CHANGED
@@ -16,6 +16,9 @@
|
|
16
16
|
word-wrap: break-word;
|
17
17
|
cursor: pointer;
|
18
18
|
}
|
19
|
+
:host .gux-option-wrapper {
|
20
|
+
width: 100%;
|
21
|
+
}
|
19
22
|
:host .gux-checkbox-container {
|
20
23
|
position: relative;
|
21
24
|
display: inline-block;
|
@@ -53,6 +56,19 @@
|
|
53
56
|
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);
|
54
57
|
outline-offset: -2px;
|
55
58
|
}
|
59
|
+
:host:host(.gux-show-subtext) {
|
60
|
+
place-content: stretch flex-start;
|
61
|
+
height: auto;
|
62
|
+
}
|
63
|
+
:host:host(.gux-show-subtext) .gux-option-wrapper {
|
64
|
+
display: flex;
|
65
|
+
flex-direction: column;
|
66
|
+
}
|
67
|
+
:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*) {
|
68
|
+
height: var(--gse-ui-groupedMenu-subtext-height);
|
69
|
+
font-weight: var(--gse-ui-menu-option-label-default-text-fontWeight);
|
70
|
+
color: var(--gse-ui-menu-groupedMenu-subtext-foregroundColor);
|
71
|
+
}
|
56
72
|
:host:host(:hover:not([disabled])) {
|
57
73
|
background-color: var(--gse-ui-menu-option-hover-backgroundColor);
|
58
74
|
}
|
package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js
CHANGED
@@ -2,8 +2,10 @@ import { h, Host } from "@stencil/core";
|
|
2
2
|
import { randomHTMLId } from "../../../../utils/dom/random-html-";
|
3
3
|
import { buildI18nForComponent } from "../../../../i18n";
|
4
4
|
import translationResources from "./i18n/en.json";
|
5
|
+
import { hasSlot } from "../../../../utils/dom/has-slot";
|
5
6
|
/**
|
6
7
|
* @slot - text
|
8
|
+
* @slot subtext - Optional slot for subtext
|
7
9
|
*/
|
8
10
|
export class GuxOptionMulti {
|
9
11
|
constructor() {
|
@@ -13,6 +15,7 @@ export class GuxOptionMulti {
|
|
13
15
|
this.disabled = false;
|
14
16
|
this.filtered = false;
|
15
17
|
this.custom = false;
|
18
|
+
this.hasSubtext = false;
|
16
19
|
}
|
17
20
|
emitRemoveCustomOption() {
|
18
21
|
if (!this.selected && this.custom) {
|
@@ -34,6 +37,10 @@ export class GuxOptionMulti {
|
|
34
37
|
if (this.custom) {
|
35
38
|
this.internalselectcustomoption.emit(this.value);
|
36
39
|
}
|
40
|
+
this.onSubtextChange();
|
41
|
+
}
|
42
|
+
onSubtextChange() {
|
43
|
+
this.hasSubtext = hasSlot(this.root, 'subtext');
|
37
44
|
}
|
38
45
|
// SVGs must be in DOM for tokenization to work
|
39
46
|
renderSVGCheckbox() {
|
@@ -51,8 +58,9 @@ export class GuxOptionMulti {
|
|
51
58
|
'gux-active': this.active,
|
52
59
|
'gux-disabled': this.disabled,
|
53
60
|
'gux-filtered': this.filtered,
|
54
|
-
'gux-selected': this.selected
|
55
|
-
|
61
|
+
'gux-selected': this.selected,
|
62
|
+
'gux-show-subtext': this.hasSubtext
|
63
|
+
}, "aria-selected": this.selected.toString(), "aria-disabled": this.disabled.toString() }, this.renderSVGCheckbox(), h("div", { class: "gux-option-wrapper" }, h("gux-truncate", { ref: el => (this.truncateElement = el) }, h("slot", null)), h("slot", { onSlotchange: () => this.onSubtextChange(), name: "subtext" })), this.renderCustomOptionInstructions()));
|
56
64
|
}
|
57
65
|
static get is() { return "gux-option-multi"; }
|
58
66
|
static get encapsulation() { return "shadow"; }
|
@@ -177,6 +185,11 @@ export class GuxOptionMulti {
|
|
177
185
|
}
|
178
186
|
};
|
179
187
|
}
|
188
|
+
static get states() {
|
189
|
+
return {
|
190
|
+
"hasSubtext": {}
|
191
|
+
};
|
192
|
+
}
|
180
193
|
static get events() {
|
181
194
|
return [{
|
182
195
|
"method": "guxremovecustomoption",
|
@@ -40,12 +40,16 @@ export class GuxPaginationButtons {
|
|
40
40
|
getPageListEnteries(currentPage, totalPages, layout) {
|
41
41
|
return GuxPaginationButtonsService.displayAllPageButtons(currentPage, totalPages, layout).reduce((acc, cv) => {
|
42
42
|
if (cv.current) {
|
43
|
-
return acc.concat((h("button", { ref: el => (this.currentElement = el), class: "gux-pagination-buttons-list-current"
|
43
|
+
return acc.concat((h("button", { ref: el => (this.currentElement = el), class: "gux-pagination-buttons-list-current", "aria-label": this.i18n('pageSelected', {
|
44
|
+
pageSelected: cv.pageNumber
|
45
|
+
}) }, cv.display)));
|
44
46
|
}
|
45
47
|
if (cv.display == '...') {
|
46
48
|
return acc.concat((h("gux-pagination-ellipsis-button", { totalPages: this.totalPages })));
|
47
49
|
}
|
48
|
-
return acc.concat((h("button", { class: "gux-pagination-buttons-list-target", onClick: () => this.handlePageChange(cv.pageNumber)
|
50
|
+
return acc.concat((h("button", { class: "gux-pagination-buttons-list-target", onClick: () => this.handlePageChange(cv.pageNumber), "aria-label": this.i18n('pageNumber', {
|
51
|
+
pageNumber: cv.pageNumber
|
52
|
+
}) }, cv.display)));
|
49
53
|
}, []);
|
50
54
|
}
|
51
55
|
getPageNavigation() {
|
@@ -55,7 +59,7 @@ export class GuxPaginationButtons {
|
|
55
59
|
this.i18n = await buildI18nForComponent(this.root, paginationResources);
|
56
60
|
}
|
57
61
|
render() {
|
58
|
-
return (h("div", { class: `gux-pagination-buttons-container gux-${this.layout}` }, h("div", { class: "gux-pagination-buttons-group" }, h("gux-button-slot", { accent: "ghost" }, h("button", { title: this.i18n('
|
62
|
+
return (h("div", { class: `gux-pagination-buttons-container gux-${this.layout}` }, h("div", { class: "gux-pagination-buttons-group" }, h("gux-button-slot", { accent: "ghost" }, h("button", { title: this.i18n('firstPage'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-double-left" }))), h("gux-button-slot", { accent: "ghost" }, h("button", { title: this.i18n('previousPage'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-small-left" })))), this.getPageNavigation(), h("div", { class: "gux-pagination-buttons-group" }, h("gux-button-slot", { accent: "ghost" }, h("button", { title: this.i18n('nextPage'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-small-right" }))), h("gux-button-slot", { accent: "ghost" }, h("button", { title: this.i18n('lastPage'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) }, h("gux-icon", { decorative: true, "icon-name": "chevron-double-right" }))))));
|
59
63
|
}
|
60
64
|
static get is() { return "gux-pagination-buttons"; }
|
61
65
|
static get originalStyleUrls() {
|
@@ -6,6 +6,7 @@ import { autoUpdate, computePosition, flip, offset, size, shift, hide } from "@f
|
|
6
6
|
*/
|
7
7
|
export class GuxPopup {
|
8
8
|
constructor() {
|
9
|
+
this.placement = 'bottom-start';
|
9
10
|
this.expanded = false;
|
10
11
|
this.disabled = false;
|
11
12
|
this.offset = 2;
|
@@ -24,7 +25,7 @@ export class GuxPopup {
|
|
24
25
|
const exceedTargetWidth = this.exceedTargetWidth;
|
25
26
|
void computePosition(this.targetElementContainer, this.popupElementContainer, {
|
26
27
|
strategy: 'fixed',
|
27
|
-
placement:
|
28
|
+
placement: this.placement,
|
28
29
|
middleware: [
|
29
30
|
offset(this.offset),
|
30
31
|
flip(),
|
@@ -110,6 +111,30 @@ export class GuxPopup {
|
|
110
111
|
}
|
111
112
|
static get properties() {
|
112
113
|
return {
|
114
|
+
"placement": {
|
115
|
+
"type": "string",
|
116
|
+
"mutable": false,
|
117
|
+
"complexType": {
|
118
|
+
"original": "Placement",
|
119
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
120
|
+
"references": {
|
121
|
+
"Placement": {
|
122
|
+
"location": "import",
|
123
|
+
"path": "@floating-ui/dom",
|
124
|
+
"id": "../../node_modules/@floating-ui/dom/index.d.ts::Placement"
|
125
|
+
}
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"required": false,
|
129
|
+
"optional": false,
|
130
|
+
"docs": {
|
131
|
+
"tags": [],
|
132
|
+
"text": "Placement of the popup. Default is bottom-start"
|
133
|
+
},
|
134
|
+
"attribute": "placement",
|
135
|
+
"reflect": false,
|
136
|
+
"defaultValue": "'bottom-start'"
|
137
|
+
},
|
113
138
|
"expanded": {
|
114
139
|
"type": "boolean",
|
115
140
|
"mutable": false,
|
@@ -560,10 +560,15 @@
|
|
560
560
|
"fa/align-justify-regular",
|
561
561
|
"fa/align-left-regular",
|
562
562
|
"fa/align-right-regular",
|
563
|
+
"fa/arrow-down-left-and-arrow-up-right-to-center-regular",
|
563
564
|
"fa/arrow-down-wide-short-regular",
|
564
565
|
"fa/arrow-left-to-line-solid",
|
566
|
+
"fa/arrow-right-to-bracket-regular",
|
565
567
|
"fa/arrow-right-to-line-solid",
|
566
568
|
"fa/arrow-turn-down-right-regular",
|
569
|
+
"fa/arrow-up-right-and-arrow-down-left-from-center-regular",
|
570
|
+
"fa/arrows-down-to-people-regular",
|
571
|
+
"fa/arrows-rotate-regular",
|
567
572
|
"fa/arrows-rotate-solid",
|
568
573
|
"fa/arrows-to-circle-regular",
|
569
574
|
"fa/asterix-regular",
|
@@ -602,6 +607,7 @@
|
|
602
607
|
"fa/diagram-project-gear-regular",
|
603
608
|
"fa/diagram-project-regular",
|
604
609
|
"fa/diamond-regular",
|
610
|
+
"fa/display-regular",
|
605
611
|
"fa/draw-circle-solid",
|
606
612
|
"fa/eye-regular",
|
607
613
|
"fa/eye-slash-regular",
|
@@ -611,6 +617,7 @@
|
|
611
617
|
"fa/face-laugh-solid",
|
612
618
|
"fa/file-chart-pie-regular",
|
613
619
|
"fa/file-exclamation-regular",
|
620
|
+
"fa/file-regular",
|
614
621
|
"fa/file-zip-regular",
|
615
622
|
"fa/film-solid",
|
616
623
|
"fa/filter-solid",
|
@@ -655,6 +662,7 @@
|
|
655
662
|
"fa/question-solid",
|
656
663
|
"fa/ranking-star-regular",
|
657
664
|
"fa/rectangle-list-regular",
|
665
|
+
"fa/regular-display-slash",
|
658
666
|
"fa/regular-user-circle-arrow-left",
|
659
667
|
"fa/reply-regular",
|
660
668
|
"fa/right-to-bracket-regular",
|
@@ -979,7 +987,8 @@
|
|
979
987
|
"above",
|
980
988
|
"beside",
|
981
989
|
"screenreader"
|
982
|
-
]
|
990
|
+
],
|
991
|
+
"loading": "checkbox"
|
983
992
|
},
|
984
993
|
"events": []
|
985
994
|
},
|
package/dist/deploy-info.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "spark-components",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.6.0",
|
4
4
|
"ecosystem": "pc",
|
5
5
|
"team": "Core UI",
|
6
6
|
"indexFiles": [],
|
7
|
-
"build": "
|
8
|
-
"buildDate": "
|
7
|
+
"build": "71",
|
8
|
+
"buildDate": "2024-01-19T10:52:50.210703Z"
|
9
9
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
const page = "Page";
|
2
|
+
const totalPages = " of {totalPages, number}";
|
3
|
+
const firstPage = "First page";
|
4
|
+
const previousPage = "Previous page";
|
5
|
+
const nextPage = "Next page";
|
6
|
+
const lastPage = "Last page";
|
7
|
+
const pageInputLabel = "Page {currentPage, number} of {totalPages, number}";
|
8
|
+
const goToPage = "Go to page";
|
9
|
+
const pageNumber = "Page {pageNumber}";
|
10
|
+
const pageSelected = "Page {pageSelected} selected";
|
11
|
+
const translationResources = {
|
12
|
+
page: page,
|
13
|
+
totalPages: totalPages,
|
14
|
+
firstPage: firstPage,
|
15
|
+
previousPage: previousPage,
|
16
|
+
nextPage: nextPage,
|
17
|
+
lastPage: lastPage,
|
18
|
+
pageInputLabel: pageInputLabel,
|
19
|
+
goToPage: goToPage,
|
20
|
+
pageNumber: pageNumber,
|
21
|
+
pageSelected: pageSelected
|
22
|
+
};
|
23
|
+
|
24
|
+
export { translationResources as t };
|