genesys-spark-components 4.0.0-beta.38 → 4.0.0-beta.39
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-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumb-item.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 +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 +1 -1
- package/dist/cjs/gux-dropdown_3.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 +1 -1
- 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 +1 -1
- 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 +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-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 +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +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-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-region-icon.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-tab-advanced-list.cjs.entry.js +3038 -19
- 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-39160f18.js +4 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-e3bd3a49.js → usage-2ce57ba4.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -4
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +31 -31
- package/dist/collection/components/stable/gux-button/gux-button.css +4 -4
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +4 -4
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-icon/icons/fa/eye-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/eye-slash-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/laptop-slash-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/message-bot-regular.svg +1 -0
- package/dist/collection/components/stable/gux-modal/gux-modal.css +1 -1
- package/dist/component-specs.json +4 -9
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-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-breadcrumb-item.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 +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 +1 -1
- package/dist/esm/gux-dropdown_3.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 +1 -1
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +1 -1
- 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 +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-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 +1 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +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-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-region-icon.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-tab-advanced-list.entry.js +3020 -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-a0eec33a.js +4 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-b07ae52b.js → usage-b87fd180.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/icons/fa/eye-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/eye-slash-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/laptop-slash-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/message-bot-regular.svg +1 -0
- package/dist/genesys-webcomponents/{p-19a9db01.entry.js → p-004e23db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60ebc711.entry.js → p-05ef8928.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f547b824.entry.js → p-06126ae7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c985f02.entry.js → p-06a66c14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fce9287.entry.js → p-12328ac7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86c1ef95.entry.js → p-13469f27.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83002b2b.entry.js → p-15e2b136.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83c5cea8.entry.js → p-16e3230c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-732b7805.entry.js → p-17a69995.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb41a068.entry.js → p-182557c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a639f412.entry.js → p-1fe5cedc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e722ea1f.entry.js → p-20fcaa12.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-21e688a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3d2d0752.entry.js → p-2730f018.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac9d21bc.entry.js → p-2858df24.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46ea8df0.entry.js → p-28665401.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7162d9d4.entry.js → p-2910e18c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dae170d5.entry.js → p-2ac021cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61883ab2.entry.js → p-2bf6faa3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed1ff63d.entry.js → p-2e05dde3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a8d14c27.entry.js → p-347abe5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8998cdf1.entry.js → p-3a2cebaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-848d0eb5.entry.js → p-3cc54e8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40efc785.entry.js → p-3d91f060.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d887d62.entry.js → p-43f34ba2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f5d768f.entry.js → p-46e1ce79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15acb5ec.entry.js → p-4c398f43.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-776430a5.entry.js → p-4d58d798.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-923df337.entry.js → p-4d5aae91.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c79b9786.entry.js → p-4df3d0fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b2e8e46.entry.js → p-53e47d10.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-518bcd20.entry.js → p-561a63aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2b4586a.entry.js → p-575c6d23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-539183e5.entry.js → p-5b4a402d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30165eab.entry.js → p-6114bb74.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-080d4597.entry.js → p-633f03b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-65cf4c58.entry.js +7 -0
- package/dist/genesys-webcomponents/{p-5e481cc4.entry.js → p-664266fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a7d5a47.entry.js → p-679f1b15.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6aee4b77.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-36fcc285.entry.js → p-6de4fd79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dec8f70a.entry.js → p-6ea8918f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64802789.entry.js → p-76d70fe8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-89cedebd.entry.js → p-78a234a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fe06f7e.entry.js → p-7bca36b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-030952f7.entry.js → p-7c073ff3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-868ca192.entry.js → p-81a95b8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a87afe08.entry.js → p-82fc4cbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6acdb4c4.entry.js → p-88cff9d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33dd7381.entry.js → p-8d6256cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23f1fb74.entry.js → p-8d8500ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7186c235.entry.js → p-8f731a36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16ce6203.entry.js → p-8fd503b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10086026.entry.js → p-91a50e2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-893c9a4c.entry.js → p-91be3acf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bacb0948.entry.js → p-98cf7f13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae34e14f.entry.js → p-9bf98889.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-abc49c2f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a2957183.entry.js → p-ade08f16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b94ec518.entry.js → p-b5293bdb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebfb4620.entry.js → p-b8c97d62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fadb2649.entry.js → p-b9bd1aa0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a18d3675.entry.js → p-c027647a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4d6bbd65.entry.js → p-c39b6dd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b90c0281.entry.js → p-c56b2a96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32b28c93.entry.js → p-c963637a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa7f9b5c.entry.js → p-ca2bc125.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06f88950.entry.js → p-ce09a0c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4e3cf40.entry.js → p-ced0ce28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c06cb3d.entry.js → p-d0913f6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b7baab0c.js → p-d12602d6.js} +1 -1
- package/dist/genesys-webcomponents/{p-27ba0d5f.entry.js → p-d7b3bc8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-35b5bb1d.entry.js → p-e36a3384.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec132ce7.entry.js → p-e4a50387.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dfa50b16.entry.js → p-e8ef27c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-687eccc3.entry.js → p-ec0814f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70b882db.entry.js → p-ecfb44b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5dbeb4fc.entry.js → p-f7e75e45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4e1fd1f.entry.js → p-f9c135c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f5640e3.entry.js → p-fb91923a.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
- package/dist/types/components.d.ts +0 -132
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/en-5507bf0d.js +0 -24
- package/dist/cjs/gux-tab-advanced-legacy.cjs.entry.js +0 -157
- package/dist/cjs/gux-tab-advanced-list-legacy.cjs.entry.js +0 -470
- package/dist/cjs/gux-tab-advanced-panel-legacy.cjs.entry.js +0 -34
- package/dist/cjs/gux-tabs-advanced-legacy.cjs.entry.js +0 -63
- package/dist/cjs/sortable.esm-73cf219b.js +0 -3023
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.css +0 -117
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.js +0 -320
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.css +0 -127
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.js +0 -624
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.css +0 -7
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.js +0 -107
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.css +0 -3
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.js +0 -148
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.e2e.js +0 -216
- package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.spec.js +0 -73
- package/dist/esm/en-b0526f2a.js +0 -22
- package/dist/esm/gux-tab-advanced-legacy.entry.js +0 -153
- package/dist/esm/gux-tab-advanced-list-legacy.entry.js +0 -466
- package/dist/esm/gux-tab-advanced-panel-legacy.entry.js +0 -30
- package/dist/esm/gux-tabs-advanced-legacy.entry.js +0 -59
- package/dist/esm/sortable.esm-8c3d5856.js +0 -3021
- package/dist/genesys-webcomponents/p-0e1a0eef.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1309484b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1486d7ea.js +0 -7
- package/dist/genesys-webcomponents/p-5844e8c2.js +0 -1
- package/dist/genesys-webcomponents/p-58c27578.entry.js +0 -1
- package/dist/genesys-webcomponents/p-77db656b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9cc0c717.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c4a77eda.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c7a90b16.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d5292338.entry.js +0 -1
- package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.d.ts +0 -45
- package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +0 -82
- package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.d.ts +0 -12
- package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.d.ts +0 -25
@@ -1,153 +0,0 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, w as writeTask, h, g as getElement } from './index-a0eec33a.js';
|
2
|
-
import { e as eventIsFrom } from './event-is-from-e25c5a22.js';
|
3
|
-
import { r as randomHTMLId } from './random-html-id-3354d85c.js';
|
4
|
-
import { a as afterNextRenderTimeout } from './after-next-render-84ec18ad.js';
|
5
|
-
import { b as buildI18nForComponent } from './index-e5ccc024.js';
|
6
|
-
import { t as tabsResources } from './en-b0526f2a.js';
|
7
|
-
import './get-closest-element-66f63212.js';
|
8
|
-
|
9
|
-
const guxTabAdvancedCss = ".gux-tab-sorting :focus-within{margin-bottom:4px}gux-tab-advanced-legacy:not(:last-child) .gux-tab:not(.gux-dropdown-options) .gux-tab-button{border-right:1px solid #d7dce5}gux-tab-advanced-legacy:not(:last-child) .gux-dropdown-options .gux-tab-options-button{border-right:1px solid #d7dce5}gux-tab-advanced-legacy .gux-tab{display:flex;align-items:center;width:126px;height:50px;padding-bottom:2px;overflow:hidden;border-radius:4px 4px 0 0;transition:width 0.4s ease-out}gux-tab-advanced-legacy .gux-tab .gux-tab-button{display:flex;align-items:center;width:100%;width:125px;height:50px;padding-right:0;padding-left:16px;color:#000;background-color:#f6f7f9;border:none}gux-tab-advanced-legacy .gux-tab .gux-tab-button:focus-visible{height:90%;border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-legacy .gux-tab.gux-show{width:160px}gux-tab-advanced-legacy .gux-tab.gux-show.gux-disabled .gux-tab-button{color:rgba(0, 0, 0, 0.5)}gux-tab-advanced-legacy .gux-tab.gux-show.gux-disabled .gux-tab-options-button{color:rgba(46, 57, 76, 0.5);pointer-events:none;cursor:default}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button{z-index:1;align-items:center;justify-content:center;width:35px;height:30px;padding:0;cursor:pointer;background-color:#f6f7f9;border:none}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button:focus-visible{outline:none}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button:focus-visible gux-icon{padding-right:0;padding-left:0;border:3px solid #aac9ff;border-radius:5px}gux-tab-advanced-legacy .gux-tab .gux-tab-options-button gux-icon{width:16px;height:16px;padding-right:16px;padding-left:8px;transition:color 0.25s}gux-tab-advanced-legacy .gux-tab:not(.gux-dropdown-options) .gux-tab-button{width:160px;height:30px;padding-right:16px}gux-tab-advanced-legacy .gux-tab:not(.gux-dropdown-options) .gux-tab-button:focus-visible{height:90%;border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-legacy .gux-tab .tab-icon-container{display:flex;flex:0 0 16px;align-items:center;justify-content:center;height:14px;margin-right:8px}gux-tab-advanced-legacy .gux-tab .tab-icon-container gux-icon{width:100%}gux-tab-advanced-legacy .gux-tab.gux-selected{padding-bottom:0;background-color:#fdfdfd;border-bottom:2px solid #2a60c8}gux-tab-advanced-legacy .gux-tab.gux-selected .gux-tab-button{background-color:#fdfdfd}gux-tab-advanced-legacy .gux-tab.gux-selected .gux-tab-options-button{background-color:#fdfdfd}gux-tab-advanced-legacy .gux-tab:hover:not(.gux-selected):not(.gux-disabled){padding-bottom:0;border-bottom:2px solid #8a97ad}gux-tab-advanced-legacy .gux-tab gux-tooltip-title{font-size:14px;white-space:nowrap}";
|
10
|
-
|
11
|
-
const GuxTabAdvancedLegacy = class {
|
12
|
-
constructor(hostRef) {
|
13
|
-
registerInstance(this, hostRef);
|
14
|
-
this.internalactivatetabpanel = createEvent(this, "internalactivatetabpanel", 7);
|
15
|
-
this.dropdownOptionsButtonId = randomHTMLId();
|
16
|
-
this.tabTitle = '';
|
17
|
-
this.focusinFromClick = false;
|
18
|
-
this.tabId = undefined;
|
19
|
-
this.active = false;
|
20
|
-
this.guxDisabled = false;
|
21
|
-
this.popoverHidden = true;
|
22
|
-
this.hasAnimated = false;
|
23
|
-
}
|
24
|
-
onFocusin(event) {
|
25
|
-
if (!this.focusinFromClick &&
|
26
|
-
event.target.classList.contains('gux-tab-button')) {
|
27
|
-
void this.tooltipTitleElement.setShowTooltip();
|
28
|
-
}
|
29
|
-
}
|
30
|
-
onFocusout(event) {
|
31
|
-
if (!this.root.querySelector('.gux-tab').contains(event.relatedTarget)) {
|
32
|
-
this.popoverHidden = true;
|
33
|
-
}
|
34
|
-
if (event.target.classList.contains('gux-tab-button')) {
|
35
|
-
void this.tooltipTitleElement.setHideTooltip();
|
36
|
-
}
|
37
|
-
this.focusinFromClick = false;
|
38
|
-
}
|
39
|
-
onKeydown(event) {
|
40
|
-
switch (event.key) {
|
41
|
-
case 'ArrowDown':
|
42
|
-
case 'Enter':
|
43
|
-
if (eventIsFrom('.gux-tab-options-button', event)) {
|
44
|
-
event.preventDefault();
|
45
|
-
this.popoverHidden = false;
|
46
|
-
this.focusFirstItemInPopupList();
|
47
|
-
}
|
48
|
-
break;
|
49
|
-
case 'Escape':
|
50
|
-
if (eventIsFrom('gux-list[slot="dropdown-options"]', event)) {
|
51
|
-
event.stopPropagation();
|
52
|
-
this.popoverHidden = true;
|
53
|
-
afterNextRenderTimeout(() => {
|
54
|
-
var _a;
|
55
|
-
(_a = this.tabOptionsButtonElement) === null || _a === void 0 ? void 0 : _a.focus();
|
56
|
-
});
|
57
|
-
}
|
58
|
-
break;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
onKeyup(event) {
|
62
|
-
switch (event.key) {
|
63
|
-
case ' ':
|
64
|
-
if (eventIsFrom('.gux-tab-options-button', event)) {
|
65
|
-
this.focusFirstItemInPopupList();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
onClick(event) {
|
70
|
-
if (eventIsFrom('.gux-tab-options-button', event)) {
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
if (!this.active && !this.guxDisabled) {
|
74
|
-
this.internalactivatetabpanel.emit(this.tabId);
|
75
|
-
}
|
76
|
-
}
|
77
|
-
onMouseDown() {
|
78
|
-
this.focusinFromClick = true;
|
79
|
-
}
|
80
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
81
|
-
async guxSetActive(active) {
|
82
|
-
this.active = active;
|
83
|
-
}
|
84
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
85
|
-
async guxGetActive() {
|
86
|
-
return this.active;
|
87
|
-
}
|
88
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
89
|
-
async guxFocus() {
|
90
|
-
this.buttonElement.focus();
|
91
|
-
}
|
92
|
-
get hasDropdownOptions() {
|
93
|
-
return Boolean(this.root.querySelector('gux-list[slot="dropdown-options"]'));
|
94
|
-
}
|
95
|
-
focusFirstItemInPopupList() {
|
96
|
-
const listElement = this.root.querySelector('gux-list[slot="dropdown-options"]');
|
97
|
-
afterNextRenderTimeout(() => {
|
98
|
-
void (listElement === null || listElement === void 0 ? void 0 : listElement.guxFocusFirstItem());
|
99
|
-
});
|
100
|
-
}
|
101
|
-
toggleOptions() {
|
102
|
-
this.popoverHidden = !this.popoverHidden;
|
103
|
-
}
|
104
|
-
onSelectDropdownOption(e) {
|
105
|
-
this.popoverHidden = true;
|
106
|
-
e.stopPropagation();
|
107
|
-
afterNextRenderTimeout(() => {
|
108
|
-
this.tabOptionsButtonElement.focus();
|
109
|
-
});
|
110
|
-
}
|
111
|
-
async componentWillLoad() {
|
112
|
-
this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
|
113
|
-
}
|
114
|
-
componentDidLoad() {
|
115
|
-
this.tabTitle = this.root
|
116
|
-
.querySelector('gux-tooltip-title')
|
117
|
-
.textContent.trim();
|
118
|
-
if (!this.hasAnimated) {
|
119
|
-
writeTask(() => {
|
120
|
-
this.root.querySelector('.gux-tab').classList.add('gux-show');
|
121
|
-
this.hasAnimated = true;
|
122
|
-
});
|
123
|
-
}
|
124
|
-
}
|
125
|
-
popoverOnClick(e) {
|
126
|
-
e.stopPropagation();
|
127
|
-
}
|
128
|
-
getDropdownOptions() {
|
129
|
-
if (this.hasDropdownOptions) {
|
130
|
-
return [
|
131
|
-
h("button", { id: this.dropdownOptionsButtonId, "aria-expanded": (!this.popoverHidden).toString(), type: "button", class: "gux-tab-options-button", ref: el => (this.tabOptionsButtonElement = el), onClick: () => this.toggleOptions(), tabIndex: this.active ? 0 : -1, disabled: this.guxDisabled }, h("gux-icon", { "icon-name": "menu-kebab-vertical", "screenreader-text": this.i18n('options', {
|
132
|
-
tabTitle: this.tabTitle
|
133
|
-
}) })),
|
134
|
-
h("gux-popover-list", { position: "top-end", for: this.dropdownOptionsButtonId, displayDismissButton: false, hidden: this.popoverHidden, closeOnClickOutside: true, onGuxdismiss: () => (this.popoverHidden = true), onClick: (e) => this.popoverOnClick(e), onFocusout: e => e.stopImmediatePropagation() }, h("div", { class: "gux-dropdown-option-container", onClick: (e) => this.onSelectDropdownOption(e) }, h("slot", { name: "dropdown-options" })))
|
135
|
-
];
|
136
|
-
}
|
137
|
-
return null;
|
138
|
-
}
|
139
|
-
render() {
|
140
|
-
return [
|
141
|
-
h("div", { class: {
|
142
|
-
'gux-tab': true,
|
143
|
-
'gux-selected': this.active,
|
144
|
-
'gux-dropdown-options': this.hasDropdownOptions,
|
145
|
-
'gux-disabled': this.guxDisabled
|
146
|
-
} }, h("button", { class: "gux-tab-button", type: "button", role: "tab", "aria-selected": this.active.toString(), "aria-disabled": this.guxDisabled.toString(), "aria-controls": `gux-${this.tabId}-panel`, ref: el => (this.buttonElement = el), tabIndex: this.active ? 0 : -1, id: `gux-${this.tabId}-tab` }, h("gux-tooltip-title", { ref: el => (this.tooltipTitleElement = el) }, h("span", null, h("slot", null)))), this.getDropdownOptions())
|
147
|
-
];
|
148
|
-
}
|
149
|
-
get root() { return getElement(this); }
|
150
|
-
};
|
151
|
-
GuxTabAdvancedLegacy.style = guxTabAdvancedCss;
|
152
|
-
|
153
|
-
export { GuxTabAdvancedLegacy as gux_tab_advanced_legacy };
|
@@ -1,466 +0,0 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, d as readTask, w as writeTask, h, g as getElement } from './index-a0eec33a.js';
|
2
|
-
import { S as Sortable } from './sortable.esm-8c3d5856.js';
|
3
|
-
import { O as OnMutation } from './on-mutation-c1be3c74.js';
|
4
|
-
import { e as eventIsFrom } from './event-is-from-e25c5a22.js';
|
5
|
-
import { a as afterNextRenderTimeout } from './after-next-render-84ec18ad.js';
|
6
|
-
import { b as buildI18nForComponent } from './index-e5ccc024.js';
|
7
|
-
import { t as tabsResources } from './en-b0526f2a.js';
|
8
|
-
import './get-closest-element-66f63212.js';
|
9
|
-
|
10
|
-
const guxTabAdvancedListCss = "gux-tab-advanced-list-legacy .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button [slot=add-tab]{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-bold)}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button [slot=add-tab] gux-icon{padding-right:8px}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list-legacy .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}gux-tab-advanced-list-legacy .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list-legacy .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list-legacy .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";
|
11
|
-
|
12
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
13
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
14
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
15
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
16
|
-
else
|
17
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
18
|
-
if (d = decorators[i])
|
19
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
20
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
21
|
-
};
|
22
|
-
const GuxTabAdvancedListLegacy = class {
|
23
|
-
constructor(hostRef) {
|
24
|
-
registerInstance(this, hostRef);
|
25
|
-
this.newTab = createEvent(this, "newTab", 7);
|
26
|
-
this.sortChanged = createEvent(this, "sortChanged", 7);
|
27
|
-
this.showNewTabButton = true;
|
28
|
-
this.tabLimit = Infinity;
|
29
|
-
this.allowSort = true;
|
30
|
-
this.focused = 0;
|
31
|
-
this.disableAddTabButton = false;
|
32
|
-
this.tabTriggers = undefined;
|
33
|
-
this.hasScrollbar = false;
|
34
|
-
this.keyboardSort = false;
|
35
|
-
this.initialSortIndex = 0;
|
36
|
-
this.sortTarget = undefined;
|
37
|
-
this.ariaLiveAlert = '';
|
38
|
-
}
|
39
|
-
onFocusin(event) {
|
40
|
-
if (this.allowSort &&
|
41
|
-
eventIsFrom('.gux-scrollable-section', event) &&
|
42
|
-
!this.keyboardSort) {
|
43
|
-
this.ariaLiveAlert = 'toggleSort';
|
44
|
-
}
|
45
|
-
}
|
46
|
-
onFocusout(event) {
|
47
|
-
if (!this.root
|
48
|
-
.querySelector('.gux-scrollable-section')
|
49
|
-
.contains(event.relatedTarget)) {
|
50
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
51
|
-
void tabTrigger.guxGetActive().then(activeElement => {
|
52
|
-
if (activeElement) {
|
53
|
-
this.focused = index;
|
54
|
-
}
|
55
|
-
else {
|
56
|
-
tabTrigger
|
57
|
-
.querySelector('.gux-tab-button')
|
58
|
-
.setAttribute('tabindex', '-1');
|
59
|
-
if (tabTrigger.querySelector('.gux-tab-options-button')) {
|
60
|
-
tabTrigger
|
61
|
-
.querySelector('.gux-tab-options-button')
|
62
|
-
.setAttribute('tabindex', '-1');
|
63
|
-
}
|
64
|
-
}
|
65
|
-
});
|
66
|
-
});
|
67
|
-
}
|
68
|
-
}
|
69
|
-
watchAllowSort(allowSort) {
|
70
|
-
if (allowSort) {
|
71
|
-
this.validateSortableInstance();
|
72
|
-
}
|
73
|
-
else {
|
74
|
-
this.destroySortable();
|
75
|
-
}
|
76
|
-
}
|
77
|
-
onMutation() {
|
78
|
-
this.setTabTriggers();
|
79
|
-
}
|
80
|
-
onKeydown(event) {
|
81
|
-
switch (event.key) {
|
82
|
-
case 'ArrowRight':
|
83
|
-
case 'ArrowDown':
|
84
|
-
event.preventDefault();
|
85
|
-
if (this.keyboardSort &&
|
86
|
-
!eventIsFrom('.gux-tab-options-button', event)) {
|
87
|
-
this.ariaLiveAlert = '';
|
88
|
-
const parentNode = this.root.querySelector('.gux-scrollable-section');
|
89
|
-
const allNodes = parentNode.querySelectorAll('gux-tab-advanced-legacy');
|
90
|
-
const targetNodeIndex = Array.prototype.indexOf.call(allNodes, this.sortTarget);
|
91
|
-
let insertBeforeTab;
|
92
|
-
if (targetNodeIndex === allNodes.length - 1) {
|
93
|
-
insertBeforeTab = allNodes[0];
|
94
|
-
}
|
95
|
-
else {
|
96
|
-
insertBeforeTab = allNodes[targetNodeIndex + 2];
|
97
|
-
}
|
98
|
-
parentNode.insertBefore(this.sortTarget, insertBeforeTab);
|
99
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
100
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
101
|
-
var _a;
|
102
|
-
const active = tabTrigger.tabId ===
|
103
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
104
|
-
if (active) {
|
105
|
-
this.focused = index;
|
106
|
-
}
|
107
|
-
});
|
108
|
-
this.focusTab(this.focused);
|
109
|
-
}
|
110
|
-
else if (!eventIsFrom('.gux-tab-options-button', event) &&
|
111
|
-
!eventIsFrom('.gux-dropdown-option-container', event)) {
|
112
|
-
this.handleKeyboardScroll('forward');
|
113
|
-
}
|
114
|
-
break;
|
115
|
-
case 'ArrowLeft':
|
116
|
-
case 'ArrowUp':
|
117
|
-
event.preventDefault();
|
118
|
-
if (this.keyboardSort &&
|
119
|
-
!eventIsFrom('.gux-tab-options-button', event)) {
|
120
|
-
this.ariaLiveAlert = '';
|
121
|
-
const parentNode = this.root.querySelector('.gux-scrollable-section');
|
122
|
-
const allNodes = parentNode.querySelectorAll('gux-tab-advanced-legacy');
|
123
|
-
const targetNodeIndex = Array.prototype.indexOf.call(allNodes, this.sortTarget);
|
124
|
-
const insertBeforeTab = allNodes[targetNodeIndex - 1] || null;
|
125
|
-
parentNode.insertBefore(this.sortTarget, insertBeforeTab);
|
126
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
127
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
128
|
-
var _a;
|
129
|
-
const active = tabTrigger.tabId ===
|
130
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
131
|
-
if (active) {
|
132
|
-
this.focused = index;
|
133
|
-
}
|
134
|
-
});
|
135
|
-
this.focusTab(this.focused);
|
136
|
-
}
|
137
|
-
else if (!eventIsFrom('.gux-tab-options-button', event) &&
|
138
|
-
!eventIsFrom('.gux-dropdown-option-container', event)) {
|
139
|
-
this.handleKeyboardScroll('backward');
|
140
|
-
}
|
141
|
-
break;
|
142
|
-
case 'Escape':
|
143
|
-
event.preventDefault();
|
144
|
-
if (this.keyboardSort && this.allowSort) {
|
145
|
-
this.keyboardSort = false;
|
146
|
-
this.ariaLiveAlert = 'sortCancelled';
|
147
|
-
const parentNode = this.root.querySelector('.gux-scrollable-section');
|
148
|
-
const allNodes = this.tabTriggers;
|
149
|
-
const targetNodeIndex = this.initialSortIndex;
|
150
|
-
const insertBeforeTab = allNodes[targetNodeIndex] || null;
|
151
|
-
parentNode.insertBefore(this.sortTarget, insertBeforeTab);
|
152
|
-
}
|
153
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
154
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
155
|
-
var _a;
|
156
|
-
const active = tabTrigger.tabId ===
|
157
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
158
|
-
if (active) {
|
159
|
-
this.focused = index;
|
160
|
-
}
|
161
|
-
});
|
162
|
-
this.focusTab(this.initialSortIndex);
|
163
|
-
afterNextRenderTimeout(() => {
|
164
|
-
this.focusTab(this.initialSortIndex);
|
165
|
-
});
|
166
|
-
break;
|
167
|
-
case 'Enter':
|
168
|
-
if (this.keyboardSort) {
|
169
|
-
event.preventDefault();
|
170
|
-
this.keyboardSort = false;
|
171
|
-
this.ariaLiveAlert = 'sortComplete';
|
172
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
173
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
174
|
-
var _a;
|
175
|
-
const active = tabTrigger.tabId ===
|
176
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
177
|
-
if (active) {
|
178
|
-
this.focused = index;
|
179
|
-
}
|
180
|
-
});
|
181
|
-
this.emitSortChanged();
|
182
|
-
}
|
183
|
-
break;
|
184
|
-
case 'Tab':
|
185
|
-
if (this.keyboardSort) {
|
186
|
-
this.keyboardSort = false;
|
187
|
-
this.ariaLiveAlert = 'sortCancelled';
|
188
|
-
}
|
189
|
-
break;
|
190
|
-
case 'Home':
|
191
|
-
event.preventDefault();
|
192
|
-
this.focusTab(0);
|
193
|
-
break;
|
194
|
-
case 'End':
|
195
|
-
event.preventDefault();
|
196
|
-
this.focusTab(this.tabTriggers.length - 1);
|
197
|
-
break;
|
198
|
-
}
|
199
|
-
}
|
200
|
-
onKeyup(event) {
|
201
|
-
switch (event.key) {
|
202
|
-
case ' ':
|
203
|
-
if (eventIsFrom('.gux-tab', event) &&
|
204
|
-
!eventIsFrom('.gux-tab-options-button', event) &&
|
205
|
-
!eventIsFrom('gux-popover-list', event) &&
|
206
|
-
this.allowSort) {
|
207
|
-
event.preventDefault();
|
208
|
-
if (this.keyboardSort === true) {
|
209
|
-
this.keyboardSort = false;
|
210
|
-
this.ariaLiveAlert = 'sortComplete';
|
211
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
212
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
213
|
-
var _a;
|
214
|
-
const active = tabTrigger.tabId ===
|
215
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
216
|
-
if (active) {
|
217
|
-
this.focused = index;
|
218
|
-
}
|
219
|
-
});
|
220
|
-
this.focusTab(this.focused);
|
221
|
-
this.emitSortChanged();
|
222
|
-
}
|
223
|
-
else {
|
224
|
-
this.keyboardSort = true;
|
225
|
-
this.sortTarget = event.target.parentNode.parentNode;
|
226
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
227
|
-
var _a;
|
228
|
-
const active = tabTrigger.tabId ===
|
229
|
-
((_a = this.sortTarget) === null || _a === void 0 ? void 0 : _a.getAttribute('tab-id'));
|
230
|
-
if (active) {
|
231
|
-
this.initialSortIndex = index;
|
232
|
-
}
|
233
|
-
});
|
234
|
-
this.ariaLiveAlert = 'sortModeOn';
|
235
|
-
}
|
236
|
-
}
|
237
|
-
}
|
238
|
-
}
|
239
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
240
|
-
async guxSetActive(activeTab) {
|
241
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
242
|
-
const active = tabTrigger.tabId === activeTab;
|
243
|
-
void tabTrigger.guxSetActive(active);
|
244
|
-
if (active) {
|
245
|
-
this.focused = index;
|
246
|
-
}
|
247
|
-
});
|
248
|
-
}
|
249
|
-
focusTab(tabIndex) {
|
250
|
-
this.focused = tabIndex;
|
251
|
-
this.tabTriggers.forEach((tabTrigger, index) => {
|
252
|
-
void tabTrigger.guxGetActive().then(activeElement => {
|
253
|
-
if (this.focused !== index && !activeElement) {
|
254
|
-
tabTrigger
|
255
|
-
.querySelector('.gux-tab-button')
|
256
|
-
.setAttribute('tabindex', '-1');
|
257
|
-
if (tabTrigger.querySelector('.gux-tab-options-button')) {
|
258
|
-
tabTrigger
|
259
|
-
.querySelector('.gux-tab-options-button')
|
260
|
-
.setAttribute('tabindex', '-1');
|
261
|
-
}
|
262
|
-
}
|
263
|
-
});
|
264
|
-
});
|
265
|
-
this.tabTriggers[this.focused]
|
266
|
-
.querySelector('button')
|
267
|
-
.setAttribute('tabindex', '0');
|
268
|
-
if (this.tabTriggers[this.focused].querySelector('.gux-tab-options-button')) {
|
269
|
-
this.tabTriggers[this.focused]
|
270
|
-
.querySelector('.gux-tab-options-button')
|
271
|
-
.setAttribute('tabindex', '0');
|
272
|
-
}
|
273
|
-
void this.tabTriggers[this.focused].guxFocus();
|
274
|
-
}
|
275
|
-
setTabTriggers() {
|
276
|
-
this.tabTriggers = this.root.querySelectorAll('gux-tab-advanced-legacy');
|
277
|
-
if (this.tabTriggers) {
|
278
|
-
this.triggerIds = Array.from(this.tabTriggers)
|
279
|
-
.map(trigger => `gux-${trigger.getAttribute('tab-id')}-tab`)
|
280
|
-
.join(' ');
|
281
|
-
}
|
282
|
-
else {
|
283
|
-
this.triggerIds = '';
|
284
|
-
}
|
285
|
-
}
|
286
|
-
createSortable() {
|
287
|
-
this.sortableInstance = new Sortable(this.root.querySelector('.gux-scrollable-section'), {
|
288
|
-
animation: 250,
|
289
|
-
draggable: 'gux-tab-advanced-legacy',
|
290
|
-
filter: '.ignore-sort',
|
291
|
-
onMove: (event) => {
|
292
|
-
return !event.related.classList.contains('ignore-sort');
|
293
|
-
},
|
294
|
-
onUpdate: () => {
|
295
|
-
this.emitSortChanged();
|
296
|
-
}
|
297
|
-
});
|
298
|
-
}
|
299
|
-
destroySortable() {
|
300
|
-
if (this.sortableInstance) {
|
301
|
-
this.sortableInstance.destroy();
|
302
|
-
this.sortableInstance = null;
|
303
|
-
}
|
304
|
-
}
|
305
|
-
emitSortChanged() {
|
306
|
-
const tabIds = Array.from(this.root.querySelectorAll('gux-tab-advanced-legacy')).map(tabElement => tabElement.tabId);
|
307
|
-
this.sortChanged.emit(tabIds);
|
308
|
-
}
|
309
|
-
checkForScrollbarHideOrShow() {
|
310
|
-
readTask(() => {
|
311
|
-
const el = this.root.querySelector('.gux-scrollable-section');
|
312
|
-
const hasScrollbar = el.clientWidth < el.scrollWidth;
|
313
|
-
if (hasScrollbar !== this.hasScrollbar) {
|
314
|
-
this.hasScrollbar = hasScrollbar;
|
315
|
-
}
|
316
|
-
});
|
317
|
-
}
|
318
|
-
handleKeyboardScroll(direction) {
|
319
|
-
if (direction === 'forward') {
|
320
|
-
if (this.focused < this.tabTriggers.length - 1) {
|
321
|
-
if (this.hasScrollbar) {
|
322
|
-
this.scrollRight();
|
323
|
-
}
|
324
|
-
this.focusTab(this.focused + 1);
|
325
|
-
}
|
326
|
-
else {
|
327
|
-
if (this.hasScrollbar) {
|
328
|
-
this.scrollToStart();
|
329
|
-
}
|
330
|
-
this.focusTab(0);
|
331
|
-
}
|
332
|
-
}
|
333
|
-
else if (direction === 'backward') {
|
334
|
-
if (this.focused > 0) {
|
335
|
-
if (this.hasScrollbar) {
|
336
|
-
this.scrollLeft();
|
337
|
-
}
|
338
|
-
this.focusTab(this.focused - 1);
|
339
|
-
}
|
340
|
-
else {
|
341
|
-
if (this.hasScrollbar) {
|
342
|
-
this.scrollToEnd();
|
343
|
-
}
|
344
|
-
this.focusTab(this.tabTriggers.length - 1);
|
345
|
-
}
|
346
|
-
}
|
347
|
-
}
|
348
|
-
disconnectedCallback() {
|
349
|
-
if (this.sortableInstance) {
|
350
|
-
this.destroySortable();
|
351
|
-
}
|
352
|
-
if (this.resizeObserver) {
|
353
|
-
this.resizeObserver.unobserve(this.root.querySelector('.gux-tab-container'));
|
354
|
-
}
|
355
|
-
if (this.domObserver) {
|
356
|
-
this.domObserver.disconnect();
|
357
|
-
}
|
358
|
-
}
|
359
|
-
async componentWillLoad() {
|
360
|
-
this.setTabTriggers();
|
361
|
-
this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
|
362
|
-
}
|
363
|
-
validateSortableInstance() {
|
364
|
-
if (this.allowSort && !this.sortableInstance) {
|
365
|
-
this.createSortable();
|
366
|
-
}
|
367
|
-
}
|
368
|
-
componentDidLoad() {
|
369
|
-
this.validateSortableInstance();
|
370
|
-
if (!this.resizeObserver && window.ResizeObserver) {
|
371
|
-
this.resizeObserver = new ResizeObserver(() => this.checkForScrollbarHideOrShow());
|
372
|
-
}
|
373
|
-
if (this.resizeObserver) {
|
374
|
-
this.resizeObserver.observe(this.root.querySelector('.gux-scrollable-section'));
|
375
|
-
}
|
376
|
-
if (!this.domObserver && window.MutationObserver) {
|
377
|
-
this.domObserver = new MutationObserver(() => this.checkForScrollbarHideOrShow());
|
378
|
-
}
|
379
|
-
if (this.domObserver) {
|
380
|
-
this.domObserver.observe(this.root, {
|
381
|
-
childList: true,
|
382
|
-
attributes: false,
|
383
|
-
subtree: true
|
384
|
-
});
|
385
|
-
}
|
386
|
-
afterNextRenderTimeout(() => {
|
387
|
-
this.checkForScrollbarHideOrShow();
|
388
|
-
}, 500);
|
389
|
-
}
|
390
|
-
scrollLeft() {
|
391
|
-
writeTask(() => {
|
392
|
-
var _a;
|
393
|
-
this.root
|
394
|
-
.querySelector('.gux-scrollable-section')
|
395
|
-
.scrollBy(-((_a = this.root.querySelector('gux-tab-advanced-legacy')) === null || _a === void 0 ? void 0 : _a.scrollWidth), 0);
|
396
|
-
});
|
397
|
-
}
|
398
|
-
scrollRight() {
|
399
|
-
writeTask(() => {
|
400
|
-
var _a;
|
401
|
-
this.root
|
402
|
-
.querySelector('.gux-scrollable-section')
|
403
|
-
.scrollBy((_a = this.root.querySelector('gux-tab-advanced-legacy')) === null || _a === void 0 ? void 0 : _a.scrollWidth, 0);
|
404
|
-
});
|
405
|
-
}
|
406
|
-
scrollToStart() {
|
407
|
-
const scrollableSection = this.root.querySelector('.gux-scrollable-section');
|
408
|
-
writeTask(() => {
|
409
|
-
scrollableSection === null || scrollableSection === void 0 ? void 0 : scrollableSection.scrollBy(-(scrollableSection === null || scrollableSection === void 0 ? void 0 : scrollableSection.scrollWidth), 0);
|
410
|
-
});
|
411
|
-
}
|
412
|
-
scrollToEnd() {
|
413
|
-
const scrollableSection = this.root.querySelector('.gux-scrollable-section');
|
414
|
-
writeTask(() => {
|
415
|
-
scrollableSection.scrollBy(scrollableSection === null || scrollableSection === void 0 ? void 0 : scrollableSection.scrollWidth, 0);
|
416
|
-
});
|
417
|
-
}
|
418
|
-
componentWillRender() {
|
419
|
-
const tabs = Array.from(this.root.querySelectorAll('gux-tab-advanced-legacy'));
|
420
|
-
this.disableAddTabButton = tabs.length >= this.tabLimit;
|
421
|
-
}
|
422
|
-
render() {
|
423
|
-
const AddNewTabButton = (props) => {
|
424
|
-
return (h("button", { title: this.disableAddTabButton
|
425
|
-
? this.i18n('disableNewTab')
|
426
|
-
: this.root.querySelector('[slot="add-tab"]')
|
427
|
-
? this.root.querySelector('[slot="add-tab"]').textContent.trim()
|
428
|
-
: this.i18n('createNewTab'), class: "add-tab-button", onClick: () => props.onClick(), disabled: this.disableAddTabButton }, h("slot", { name: "add-tab" }, h("gux-icon", { "icon-name": "add", decorative: true }))));
|
429
|
-
};
|
430
|
-
return [
|
431
|
-
h("span", { class: "gux-sr-only gux-aria-live-region", "aria-live": "polite" }, this.ariaLiveAlert ? this.i18n(this.ariaLiveAlert) : ''),
|
432
|
-
h("div", { class: "gux-tab-container" }, h("div", { class: "action-button-container" }, this.renderScrollButton('scrollLeft')), h("div", { role: "tablist", class: `gux-scrollable-section ${this.keyboardSort ? 'gux-tab-sorting' : ''}`, "aria-owns": this.triggerIds }, h("slot", null)), h("div", { class: "action-button-container" }, this.renderScrollButton('scrollRight'), this.showNewTabButton ? (h(AddNewTabButton, { onClick: () => this.newTab.emit() })) : null))
|
433
|
-
];
|
434
|
-
}
|
435
|
-
renderScrollButton(direction) {
|
436
|
-
return (h("div", { class: "gux-scroll-button-container" }, this.hasScrollbar ? (h("button", { tabindex: "-1", title: this.i18n(direction), "aria-label": this.i18n(direction), class: "gux-scroll-button", onDragOver: () => this.getScrollDirection(direction), onClick: () => this.getScrollDirection(direction) }, h("gux-icon", { "icon-name": this.getChevronIconName(direction), decorative: true }))) : null));
|
437
|
-
}
|
438
|
-
getScrollDirection(direction) {
|
439
|
-
switch (direction) {
|
440
|
-
case 'scrollLeft':
|
441
|
-
this.scrollLeft();
|
442
|
-
break;
|
443
|
-
case 'scrollRight':
|
444
|
-
this.scrollRight();
|
445
|
-
break;
|
446
|
-
}
|
447
|
-
}
|
448
|
-
getChevronIconName(direction) {
|
449
|
-
switch (direction) {
|
450
|
-
case 'scrollLeft':
|
451
|
-
return 'chevron-left';
|
452
|
-
case 'scrollRight':
|
453
|
-
return 'chevron-right';
|
454
|
-
}
|
455
|
-
}
|
456
|
-
get root() { return getElement(this); }
|
457
|
-
static get watchers() { return {
|
458
|
-
"allowSort": ["watchAllowSort"]
|
459
|
-
}; }
|
460
|
-
};
|
461
|
-
__decorate([
|
462
|
-
OnMutation({ childList: true, subtree: true })
|
463
|
-
], GuxTabAdvancedListLegacy.prototype, "onMutation", null);
|
464
|
-
GuxTabAdvancedListLegacy.style = guxTabAdvancedListCss;
|
465
|
-
|
466
|
-
export { GuxTabAdvancedListLegacy as gux_tab_advanced_list_legacy };
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-a0eec33a.js';
|
2
|
-
|
3
|
-
const guxTabAdvancedPanelCss = "gux-tab-advanced-panel-legacy div[role=tabpanel]:focus{outline:none}gux-tab-advanced-panel-legacy div[role=tabpanel]:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}";
|
4
|
-
|
5
|
-
const GuxTabAdvancedPanelLegacy = class {
|
6
|
-
constructor(hostRef) {
|
7
|
-
registerInstance(this, hostRef);
|
8
|
-
this.guxactivepanelchange = createEvent(this, "guxactivepanelchange", 7);
|
9
|
-
this.tabId = undefined;
|
10
|
-
this.active = false;
|
11
|
-
}
|
12
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
13
|
-
async guxSetActive(active) {
|
14
|
-
this.active = active;
|
15
|
-
}
|
16
|
-
watchActivePanel() {
|
17
|
-
if (this.active === true) {
|
18
|
-
this.guxactivepanelchange.emit(this.tabId);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
render() {
|
22
|
-
return (h("div", { id: `gux-${this.tabId}-panel`, role: "tabpanel", "aria-labelledby": `gux-${this.tabId}-tab`, tabIndex: 0, hidden: !this.active, "aria-live": "assertive" }, h("slot", null)));
|
23
|
-
}
|
24
|
-
static get watchers() { return {
|
25
|
-
"active": ["watchActivePanel"]
|
26
|
-
}; }
|
27
|
-
};
|
28
|
-
GuxTabAdvancedPanelLegacy.style = guxTabAdvancedPanelCss;
|
29
|
-
|
30
|
-
export { GuxTabAdvancedPanelLegacy as gux_tab_advanced_panel_legacy };
|