genesys-spark-components 4.0.0-beta.55 → 4.0.0-beta.56
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-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +2 -2
- 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-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-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 +23 -18
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +35 -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 +2 -5
- 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 +4 -33
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-de19c7d1.js → usage-93fb6f10.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +1 -1
- package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.e2e.js +18 -0
- package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/tests/gux-inline-alert.spec.js +5 -9
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +47 -102
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +36 -21
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +22 -101
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +22 -17
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -11
- package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +6 -6
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +0 -39
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +3 -50
- package/dist/component-specs.json +12 -13
- 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-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +2 -2
- 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-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-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 +23 -18
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +36 -20
- 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 +2 -5
- 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 +5 -34
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-5d945cf3.js → usage-25ad0e05.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/{p-652dcfc8.entry.js → p-05cf477e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc7b94b9.entry.js → p-0b6ca6a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d30ace8.entry.js → p-0cf1420d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f503b621.entry.js → p-0dbcb834.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87750911.entry.js → p-0efd4184.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1353d8b9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2570721c.entry.js → p-14c5b529.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87d2a371.entry.js → p-16efe865.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ddfe604.entry.js → p-185d3a8c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe17d61b.entry.js → p-1997df50.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1a0145c.entry.js → p-1faa8c4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-926f2ba1.entry.js → p-20ea10f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62087587.entry.js → p-21a98b33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97484217.entry.js → p-22fbdd62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e34231e7.entry.js → p-23d337a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe68167c.entry.js → p-2a04c911.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cb642a1e.entry.js → p-30d1a9e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f5aa797.entry.js → p-36b75440.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77e78b68.entry.js → p-36c64208.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-096d2c24.entry.js → p-38effa65.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3b8ede0f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b6f4ed81.entry.js → p-3bf5bc3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-697bc4c7.js → p-3dc4aa8e.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddc2f814.entry.js → p-46e4970e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14ac77a1.entry.js → p-48338425.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50de1c55.entry.js → p-499fe630.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd6d54a1.entry.js → p-517973ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-54bbb104.entry.js +7 -0
- package/dist/genesys-webcomponents/{p-78856a39.entry.js → p-5f12418d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-354e67d9.entry.js → p-5f746805.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff9d4496.entry.js → p-61c0784d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07420078.entry.js → p-67901b42.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edbd8137.entry.js → p-6c91bd4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3585b234.entry.js → p-7583cf3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bea4fbfa.entry.js → p-7a6f7000.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7bf47f91.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a3586b89.entry.js → p-7f997821.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d9df49c.entry.js → p-813f829d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee92b11b.entry.js → p-82e1514c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e37f488.entry.js → p-83afdd02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fb8e411.entry.js → p-8496091c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78610c49.entry.js → p-8cce63c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-999958a0.entry.js → p-8fc08d3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68fd1f13.entry.js → p-905d7130.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e2d294fd.entry.js → p-9108c339.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1a5a609.entry.js → p-93e60785.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59973c05.entry.js → p-9716f5e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e07f4305.entry.js → p-a07188ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a3a8bb3.entry.js → p-a1f9d8f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be258ead.entry.js → p-a7e4e19c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ad5e518a.entry.js → p-ab1aae8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23a1f62c.entry.js → p-b3bdffdc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d822a1d1.entry.js → p-b5a006fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0dacb411.entry.js → p-b7a3543c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b033d3e.entry.js → p-b80e5b86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d42c5870.entry.js → p-b8b64f63.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5f8fd38.entry.js → p-bed96e98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1216e21.entry.js → p-c07d1c6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c22245b9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-462c9f42.entry.js → p-c37c28b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-041fa54f.entry.js → p-c6eee5ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e99ee3d.entry.js → p-c963f4f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3571644b.entry.js → p-ceae04a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b069308b.entry.js → p-d75d5bd8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b0915c2.entry.js → p-d77171b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0363e5e5.entry.js → p-d9ded811.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3427902.entry.js → p-dad13a8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-606aab89.entry.js → p-dafdc915.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a13a0a0.entry.js → p-db136063.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6757ccd.entry.js → p-e2689c06.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c31f38b2.entry.js → p-e50be340.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5209331.entry.js → p-e5431907.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19241bf7.entry.js → p-e612a7c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-eb095687.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-40c857d3.entry.js → p-ed304c3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ae8f137.entry.js → p-ed52b4ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f58eea4e.entry.js → p-ef5f63a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5091290.entry.js → p-f2a4ea61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5576a5c.entry.js → p-f522add7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2a8f6dbf.entry.js → p-f9814c62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd71c27d.entry.js → p-fc625a20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5526a82.entry.js → p-fdbcd119.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02cf0337.entry.js → p-fddbad81.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.d.ts +2 -2
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +2 -0
- package/dist/types/components/stable/gux-tooltip/gux-tooltip.d.ts +0 -3
- package/dist/types/components.d.ts +2 -4
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.e2e.js +0 -22
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.css +0 -3
- package/dist/genesys-webcomponents/p-3678ceb3.entry.js +0 -7
- package/dist/genesys-webcomponents/p-5c8d13dd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-71802b6c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-71c8b450.entry.js +0 -1
- package/dist/genesys-webcomponents/p-909eaf4e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b9e89fbb.entry.js +0 -1
- /package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.css +0 -0
- /package/dist/collection/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.types.js +0 -0
- /package/dist/types/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.d.ts +0 -0
- /package/dist/types/components/stable/{gux-alert → gux-inline-alert}/gux-inline-alert.types.d.ts +0 -0
@@ -4,119 +4,40 @@
|
|
4
4
|
/* Headings */
|
5
5
|
/* Body Copy */
|
6
6
|
/* Anchor */
|
7
|
-
|
7
|
+
.gux-tab-container {
|
8
8
|
display: flex;
|
9
|
-
|
9
|
+
flex-direction: row;
|
10
|
+
flex-wrap: nowrap;
|
11
|
+
align-items: center;
|
12
|
+
justify-content: flex-start;
|
10
13
|
width: 100%;
|
11
|
-
height: 50px;
|
12
14
|
margin-bottom: 16px;
|
13
|
-
|
14
|
-
background-color: #f6f7f9;
|
15
|
-
border-bottom: 1px solid #d7dce5;
|
16
|
-
border-radius: 4px 4px 0 0;
|
15
|
+
background-color: var(--gse-ui-advancedTabs-set-backgroundColor);
|
17
16
|
}
|
18
|
-
|
17
|
+
.gux-tab-container .gux-scrollable-section {
|
19
18
|
display: flex;
|
20
|
-
|
21
|
-
|
22
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button {
|
23
|
-
min-width: 35px;
|
24
|
-
height: 50px;
|
25
|
-
padding: 0;
|
26
|
-
margin-left: 2px;
|
27
|
-
color: #2e394c;
|
28
|
-
background-color: #e2e6ee;
|
29
|
-
border: none;
|
30
|
-
border-radius: 4px;
|
31
|
-
transition: color 0.25s;
|
32
|
-
}
|
33
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot=add-tab] {
|
34
|
-
display: inline-flex;
|
19
|
+
flex-direction: row;
|
20
|
+
flex-wrap: nowrap;
|
35
21
|
align-items: center;
|
36
|
-
|
37
|
-
|
38
|
-
font-family: var(--gse-core-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;
|
39
|
-
font-size: var(--gse-core-typography-body-sm-fontSize);
|
40
|
-
line-height: var(--gse-core-typography-body-sm-lineHeight);
|
41
|
-
font-weight: var(--gse-core-fontWeight-bold);
|
42
|
-
}
|
43
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot=add-tab] gux-icon {
|
44
|
-
padding-right: 8px;
|
45
|
-
}
|
46
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled {
|
47
|
-
opacity: 0.5;
|
48
|
-
}
|
49
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover {
|
50
|
-
background-color: #d7dce5;
|
51
|
-
}
|
52
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active {
|
53
|
-
background-color: #c8cfda;
|
54
|
-
}
|
55
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible {
|
56
|
-
outline: none;
|
57
|
-
box-shadow: inset 0 0 0 3px #aac9ff;
|
58
|
-
}
|
59
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible {
|
60
|
-
border-radius: 5px;
|
61
|
-
outline: none;
|
62
|
-
box-shadow: inset 0 0 0 3px #aac9ff;
|
63
|
-
}
|
64
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon {
|
65
|
-
width: 16px;
|
66
|
-
height: 16px;
|
67
|
-
}
|
68
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container {
|
69
|
-
display: flex;
|
70
|
-
border-radius: 4px;
|
71
|
-
}
|
72
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button {
|
73
|
-
display: flex;
|
74
|
-
align-items: center;
|
75
|
-
justify-content: center;
|
76
|
-
width: 28px;
|
77
|
-
height: 50px;
|
78
|
-
padding: 0;
|
79
|
-
color: #2e394c;
|
80
|
-
background-color: #e2e6ee;
|
81
|
-
border: none;
|
82
|
-
border-radius: 4px;
|
83
|
-
transition: color 0.25s;
|
84
|
-
}
|
85
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible {
|
86
|
-
border: 3px solid #aac9ff;
|
87
|
-
border-radius: 5px;
|
88
|
-
outline: none;
|
89
|
-
}
|
90
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon {
|
91
|
-
width: 16px;
|
92
|
-
height: 16px;
|
93
|
-
}
|
94
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible {
|
95
|
-
border: 3px solid #aac9ff;
|
96
|
-
outline: none;
|
97
|
-
}
|
98
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover {
|
99
|
-
background-color: #d7dce5;
|
100
|
-
}
|
101
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active {
|
102
|
-
background-color: #c8cfda;
|
103
|
-
}
|
104
|
-
gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible {
|
105
|
-
outline: var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);
|
106
|
-
outline-offset: var(--gse-semantic-focusRing-offset);
|
107
|
-
}
|
108
|
-
gux-tab-advanced-list .gux-tab-container .gux-scrollable-section {
|
109
|
-
display: flex;
|
110
|
-
align-items: flex-end;
|
111
|
-
height: 50px;
|
22
|
+
justify-content: flex-start;
|
23
|
+
width: 100%;
|
112
24
|
overflow-x: auto;
|
25
|
+
border-bottom: 1px solid var(--gse-ui-advancedTabs-divider-dividerColor);
|
113
26
|
scroll-behavior: smooth;
|
114
27
|
scrollbar-width: none;
|
115
28
|
}
|
116
|
-
|
29
|
+
.gux-tab-container .gux-scrollable-section::-webkit-scrollbar {
|
117
30
|
height: 0;
|
118
31
|
}
|
119
|
-
gux-tab-
|
32
|
+
.gux-tab-container .gux-scrollable-section .gux-tablist {
|
33
|
+
display: flex;
|
34
|
+
flex-direction: row;
|
35
|
+
flex-wrap: nowrap;
|
36
|
+
align-items: center;
|
37
|
+
justify-content: flex-start;
|
38
|
+
}
|
39
|
+
|
40
|
+
.gux-sr-only {
|
120
41
|
position: absolute;
|
121
42
|
top: auto;
|
122
43
|
left: -10000px;
|
@@ -31,14 +31,14 @@ export class GuxTabAdvancedList {
|
|
31
31
|
}
|
32
32
|
onFocusin(event) {
|
33
33
|
if (this.allowSort &&
|
34
|
-
eventIsFrom('.gux-
|
34
|
+
eventIsFrom('.gux-tablist', event) &&
|
35
35
|
!this.keyboardSort) {
|
36
36
|
this.ariaLiveAlert = 'toggleSort';
|
37
37
|
}
|
38
38
|
}
|
39
39
|
onFocusout(event) {
|
40
40
|
if (!this.root
|
41
|
-
.querySelector('.gux-
|
41
|
+
.querySelector('.gux-tablist')
|
42
42
|
.contains(event.relatedTarget)) {
|
43
43
|
this.tabTriggers.forEach((tabTrigger, index) => {
|
44
44
|
void tabTrigger.guxGetActive().then(activeElement => {
|
@@ -78,7 +78,7 @@ export class GuxTabAdvancedList {
|
|
78
78
|
if (this.keyboardSort &&
|
79
79
|
!eventIsFrom('.gux-tab-options-button', event)) {
|
80
80
|
this.ariaLiveAlert = '';
|
81
|
-
const parentNode = this.root.querySelector('.gux-
|
81
|
+
const parentNode = this.root.querySelector('.gux-tablist');
|
82
82
|
const allNodes = parentNode.querySelectorAll('gux-tab-advanced');
|
83
83
|
const targetNodeIndex = Array.prototype.indexOf.call(allNodes, this.sortTarget);
|
84
84
|
let insertBeforeTab;
|
@@ -111,7 +111,7 @@ export class GuxTabAdvancedList {
|
|
111
111
|
if (this.keyboardSort &&
|
112
112
|
!eventIsFrom('.gux-tab-options-button', event)) {
|
113
113
|
this.ariaLiveAlert = '';
|
114
|
-
const parentNode = this.root.querySelector('.gux-
|
114
|
+
const parentNode = this.root.querySelector('.gux-tablist');
|
115
115
|
const allNodes = parentNode.querySelectorAll('gux-tab-advanced');
|
116
116
|
const targetNodeIndex = Array.prototype.indexOf.call(allNodes, this.sortTarget);
|
117
117
|
const insertBeforeTab = allNodes[targetNodeIndex - 1] || null;
|
@@ -137,7 +137,7 @@ export class GuxTabAdvancedList {
|
|
137
137
|
if (this.keyboardSort && this.allowSort) {
|
138
138
|
this.keyboardSort = false;
|
139
139
|
this.ariaLiveAlert = 'sortCancelled';
|
140
|
-
const parentNode = this.root.querySelector('.gux-
|
140
|
+
const parentNode = this.root.querySelector('.gux-tablist');
|
141
141
|
const allNodes = this.tabTriggers;
|
142
142
|
const targetNodeIndex = this.initialSortIndex;
|
143
143
|
const insertBeforeTab = allNodes[targetNodeIndex] || null;
|
@@ -215,7 +215,7 @@ export class GuxTabAdvancedList {
|
|
215
215
|
}
|
216
216
|
else {
|
217
217
|
this.keyboardSort = true;
|
218
|
-
this.sortTarget = event.target.
|
218
|
+
this.sortTarget = event.target.closest('gux-tab-advanced');
|
219
219
|
this.tabTriggers.forEach((tabTrigger, index) => {
|
220
220
|
var _a;
|
221
221
|
const active = tabTrigger.tabId ===
|
@@ -277,7 +277,7 @@ export class GuxTabAdvancedList {
|
|
277
277
|
}
|
278
278
|
}
|
279
279
|
createSortable() {
|
280
|
-
this.sortableInstance = new Sortable(this.root.querySelector('.gux-
|
280
|
+
this.sortableInstance = new Sortable(this.root.querySelector('.gux-tablist'), {
|
281
281
|
animation: 250,
|
282
282
|
draggable: 'gux-tab-advanced',
|
283
283
|
filter: '.ignore-sort',
|
@@ -413,20 +413,25 @@ export class GuxTabAdvancedList {
|
|
413
413
|
this.disableAddTabButton = tabs.length >= this.tabLimit;
|
414
414
|
}
|
415
415
|
render() {
|
416
|
-
const AddNewTabButton = (props) => {
|
417
|
-
return (h("button", { title: this.disableAddTabButton
|
418
|
-
? this.i18n('disableNewTab')
|
419
|
-
: this.root.querySelector('[slot="add-tab"]')
|
420
|
-
? this.root.querySelector('[slot="add-tab"]').textContent.trim()
|
421
|
-
: 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 }))));
|
422
|
-
};
|
423
416
|
return [
|
424
|
-
|
425
|
-
h("div", { class: "gux-tab-container" }, h("div", { class: "
|
417
|
+
this.renderAlert(),
|
418
|
+
h("div", { class: "gux-tab-container" }, this.renderScrollButton('scrollLeft'), h("div", { class: "gux-scrollable-section" }, h("div", { class: "gux-tablist", role: "tablist", "data-gux-tab-sorting": this.keyboardSort, "aria-owns": this.triggerIds }, h("slot", null)), this.renderAddButton()), this.renderScrollButton('scrollRight'))
|
426
419
|
];
|
427
420
|
}
|
421
|
+
renderAlert() {
|
422
|
+
return (h("div", { class: "gux-sr-only gux-aria-live-region", "aria-live": "polite" }, this.ariaLiveAlert ? this.i18n(this.ariaLiveAlert) : ''));
|
423
|
+
}
|
424
|
+
renderAddButton() {
|
425
|
+
return (h("div", null, this.showNewTabButton ? (h("gux-button-slot", { class: "gux-add-button", accent: "ghost" }, h("button", { onClick: () => this.newTab.emit(), disabled: this.disableAddTabButton }, h("slot", { name: "add-tab" }, h("gux-icon", { "icon-name": "add", "screenreader-text": this.disableAddTabButton
|
426
|
+
? this.i18n('disableNewTab')
|
427
|
+
: this.root.querySelector('[slot="add-tab"]')
|
428
|
+
? this.root
|
429
|
+
.querySelector('[slot="add-tab"]')
|
430
|
+
.textContent.trim()
|
431
|
+
: this.i18n('createNewTab') }))))) : null));
|
432
|
+
}
|
428
433
|
renderScrollButton(direction) {
|
429
|
-
return (h("div",
|
434
|
+
return (h("div", null, this.hasScrollbar ? (h("gux-button-slot", { class: "gux-scroll-button", accent: "ghost" }, h("button", { tabindex: "-1", onDragOver: () => this.getScrollDirection(direction), onClick: () => this.getScrollDirection(direction) }, h("gux-icon", { "icon-name": this.getChevronIconName(direction), "screenreader-text": this.i18n(direction) })))) : null));
|
430
435
|
}
|
431
436
|
getScrollDirection(direction) {
|
432
437
|
switch (direction) {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
gux-tab-advanced-panel
|
1
|
+
gux-tab-advanced-panel .gux-tabpanel:focus {
|
2
2
|
outline: none;
|
3
3
|
}
|
4
|
-
gux-tab-advanced-panel
|
4
|
+
gux-tab-advanced-panel .gux-tabpanel:focus-visible {
|
5
5
|
outline: var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);
|
6
6
|
outline-offset: var(--gse-semantic-focusRing-offset);
|
7
7
|
}
|
@@ -17,7 +17,7 @@ export class GuxTabAdvancedPanel {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
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)));
|
20
|
+
return (h("div", { id: `gux-${this.tabId}-panel`, class: "gux-tabpanel", role: "tabpanel", "aria-labelledby": `gux-${this.tabId}-tab`, tabIndex: 0, hidden: !this.active, "aria-live": "assertive" }, h("slot", null)));
|
21
21
|
}
|
22
22
|
static get is() { return "gux-tab-advanced-panel"; }
|
23
23
|
static get originalStyleUrls() {
|
@@ -46,20 +46,10 @@ export class GuxTabsAdvanced {
|
|
46
46
|
trackComponent(this.root);
|
47
47
|
}
|
48
48
|
render() {
|
49
|
-
return (h(Host, null, h("
|
49
|
+
return (h(Host, null, h("slot", { name: "tab-list" }), h("slot", { onSlotchange: this.onSlotchange.bind(this) })));
|
50
50
|
}
|
51
51
|
static get is() { return "gux-tabs-advanced"; }
|
52
52
|
static get encapsulation() { return "shadow"; }
|
53
|
-
static get originalStyleUrls() {
|
54
|
-
return {
|
55
|
-
"$": ["gux-tabs-advanced.scss"]
|
56
|
-
};
|
57
|
-
}
|
58
|
-
static get styleUrls() {
|
59
|
-
return {
|
60
|
-
"$": ["gux-tabs-advanced.css"]
|
61
|
-
};
|
62
|
-
}
|
63
53
|
static get properties() {
|
64
54
|
return {
|
65
55
|
"activeTab": {
|
@@ -11,7 +11,7 @@ const axeExclusions = [
|
|
11
11
|
},
|
12
12
|
{
|
13
13
|
issueId: 'aria-required-children',
|
14
|
-
target: '.gux-
|
14
|
+
target: '.gux-tablist',
|
15
15
|
exclusionReason: 'To be addressed in COMUI-2392. New violation picked up after upgrading from axe-core v4.4.2 to v4.8.2'
|
16
16
|
}
|
17
17
|
];
|
@@ -206,17 +206,17 @@ describe('gux-tabs-advanced', () => {
|
|
206
206
|
});
|
207
207
|
it('should open and close options popup on click', async () => {
|
208
208
|
const page = await newNonrandomE2EPage({ html: htmlExample1 });
|
209
|
-
const optionPopoverTarget = await page.find('gux-tab-advanced[tab-id="1-1"] .gux-tab-options-
|
209
|
+
const optionPopoverTarget = await page.find('gux-tab-advanced[tab-id="1-1"] .gux-tab-options-trigger');
|
210
210
|
await optionPopoverTarget.click();
|
211
211
|
await page.waitForChanges();
|
212
212
|
await a11yCheck(page, axeExclusions, 'options popover expanded');
|
213
213
|
const optionPopover = await page.find('gux-tab-advanced[tab-id="1-1"] gux-popover-list');
|
214
|
-
let
|
215
|
-
expect(
|
214
|
+
let optionPopoverOpen = optionPopover.getAttribute('is-open');
|
215
|
+
expect(optionPopoverOpen).toBe('');
|
216
216
|
await optionPopoverTarget.click();
|
217
217
|
await page.waitForChanges();
|
218
|
-
|
219
|
-
expect(
|
218
|
+
optionPopoverOpen = optionPopover.getAttribute('is-open');
|
219
|
+
expect(optionPopoverOpen).toBe(null);
|
220
220
|
});
|
221
221
|
});
|
222
222
|
});
|
@@ -61,29 +61,6 @@
|
|
61
61
|
border: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
62
62
|
border-radius: var(--gse-ui-tooltip-borderRadius);
|
63
63
|
}
|
64
|
-
.gux-container[data-placement=bottom] .gux-arrow, .gux-container[data-placement=bottom-start] .gux-arrow, .gux-container[data-placement=bottom-end] .gux-arrow {
|
65
|
-
border-top: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
66
|
-
border-left: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
67
|
-
}
|
68
|
-
.gux-container[data-placement=top] .gux-arrow, .gux-container[data-placement=top-start] .gux-arrow, .gux-container[data-placement=top-end] .gux-arrow {
|
69
|
-
border-right: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
70
|
-
border-bottom: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
71
|
-
}
|
72
|
-
.gux-container[data-placement=left] .gux-arrow, .gux-container[data-placement=left-start] .gux-arrow, .gux-container[data-placement=left-end] .gux-arrow {
|
73
|
-
border-top: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
74
|
-
border-right: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
75
|
-
}
|
76
|
-
.gux-container[data-placement=right] .gux-arrow, .gux-container[data-placement=right-start] .gux-arrow, .gux-container[data-placement=right-end] .gux-arrow {
|
77
|
-
border-bottom: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
78
|
-
border-left: var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);
|
79
|
-
}
|
80
|
-
.gux-container .gux-arrow {
|
81
|
-
position: absolute;
|
82
|
-
width: 13px;
|
83
|
-
height: 13px;
|
84
|
-
background: inherit;
|
85
|
-
border-radius: var(--gse-ui-tooltip-borderRadius);
|
86
|
-
}
|
87
64
|
.gux-container ::slotted(gux-icon) {
|
88
65
|
align-self: center;
|
89
66
|
width: var(--gse-ui-icon-size-sm);
|
@@ -95,22 +72,6 @@
|
|
95
72
|
background-color: var(--gse-ui-tooltip-dark-backgroundColor);
|
96
73
|
border-color: var(--gse-ui-tooltip-dark-border-color);
|
97
74
|
}
|
98
|
-
.gux-container.gux-dark[data-placement=bottom] .gux-arrow, .gux-container.gux-dark[data-placement=bottom-start] .gux-arrow, .gux-container.gux-dark[data-placement=bottom-end] .gux-arrow {
|
99
|
-
border-top: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
100
|
-
border-left: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
101
|
-
}
|
102
|
-
.gux-container.gux-dark[data-placement=top] .gux-arrow, .gux-container.gux-dark[data-placement=top-start] .gux-arrow, .gux-container.gux-dark[data-placement=top-end] .gux-arrow {
|
103
|
-
border-right: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
104
|
-
border-bottom: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
105
|
-
}
|
106
|
-
.gux-container.gux-dark[data-placement=left] .gux-arrow, .gux-container.gux-dark[data-placement=left-start] .gux-arrow, .gux-container.gux-dark[data-placement=left-end] .gux-arrow {
|
107
|
-
border-top: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
108
|
-
border-right: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
109
|
-
}
|
110
|
-
.gux-container.gux-dark[data-placement=right] .gux-arrow, .gux-container.gux-dark[data-placement=right-start] .gux-arrow, .gux-container.gux-dark[data-placement=right-end] .gux-arrow {
|
111
|
-
border-bottom: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
112
|
-
border-left: var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color);
|
113
|
-
}
|
114
75
|
.gux-container.gux-dark ::slotted(gux-icon) {
|
115
76
|
align-self: center;
|
116
77
|
width: var(--gse-ui-icon-size-sm);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
2
|
-
import { autoUpdate, computePosition, flip, hide, offset, shift
|
2
|
+
import { autoUpdate, computePosition, flip, hide, offset, shift } from "@floating-ui/dom";
|
3
3
|
import { randomHTMLId } from "../../../utils/dom/random-html-";
|
4
4
|
import { trackComponent } from "../../../utils/tracking/usage";
|
5
5
|
import { findElementById } from "../../../utils/dom/find-element-by-";
|
@@ -17,7 +17,6 @@ export class GuxTooltip {
|
|
17
17
|
this.for = undefined;
|
18
18
|
this.placement = 'bottom-start';
|
19
19
|
this.accent = 'light';
|
20
|
-
this.anchor = false;
|
21
20
|
this.isShown = false;
|
22
21
|
}
|
23
22
|
handleKeyDown(event) {
|
@@ -49,14 +48,11 @@ export class GuxTooltip {
|
|
49
48
|
}
|
50
49
|
updatePosition() {
|
51
50
|
const middleware = [offset(16), flip(), shift(), hide()];
|
52
|
-
if (this.anchor) {
|
53
|
-
middleware.push(arrow({ element: this.arrowElement }));
|
54
|
-
}
|
55
51
|
void computePosition(this.forElement, this.root, {
|
56
52
|
placement: this.placement,
|
57
53
|
strategy: 'fixed',
|
58
54
|
middleware: middleware
|
59
|
-
}).then(({ x, y, middlewareData
|
55
|
+
}).then(({ x, y, middlewareData }) => {
|
60
56
|
var _a;
|
61
57
|
Object.assign(this.root.style, {
|
62
58
|
left: `${x}px`,
|
@@ -65,26 +61,6 @@ export class GuxTooltip {
|
|
65
61
|
});
|
66
62
|
//data-placement needed on the for e2e tests.
|
67
63
|
this.root.setAttribute('data-placement', this.placement);
|
68
|
-
const side = placement.split('-')[0];
|
69
|
-
const staticSide = {
|
70
|
-
top: 'bottom',
|
71
|
-
right: 'left',
|
72
|
-
bottom: 'top',
|
73
|
-
left: 'right'
|
74
|
-
}[side];
|
75
|
-
if (middlewareData.arrow) {
|
76
|
-
//This is 13 because this makes the arrow look aligned.
|
77
|
-
const arrowLen = 13;
|
78
|
-
const { x, y } = middlewareData.arrow;
|
79
|
-
Object.assign(this.arrowElement.style, {
|
80
|
-
left: x != null ? `${x}px` : '',
|
81
|
-
top: y != null ? `${y}px` : '',
|
82
|
-
right: '',
|
83
|
-
bottom: '',
|
84
|
-
[staticSide]: `${-arrowLen / 2}px`,
|
85
|
-
transform: 'rotate(45deg)'
|
86
|
-
});
|
87
|
-
}
|
88
64
|
});
|
89
65
|
}
|
90
66
|
show() {
|
@@ -112,11 +88,6 @@ export class GuxTooltip {
|
|
112
88
|
console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`);
|
113
89
|
}
|
114
90
|
}
|
115
|
-
renderAnchor() {
|
116
|
-
if (this.anchor) {
|
117
|
-
return (h("div", { ref: (el) => (this.arrowElement = el), class: "gux-arrow" }));
|
118
|
-
}
|
119
|
-
}
|
120
91
|
connectedCallback() {
|
121
92
|
this.getForElement();
|
122
93
|
if (this.forElement) {
|
@@ -148,7 +119,7 @@ export class GuxTooltip {
|
|
148
119
|
return (h(Host, { id: this.id, class: { 'gux-show': this.isShown }, role: "tooltip" }, h("div", { class: {
|
149
120
|
'gux-container': true,
|
150
121
|
[`gux-${this.accent}`]: true
|
151
|
-
}, "data-placement": this.placement }, h("slot", null)
|
122
|
+
}, "data-placement": this.placement }, h("slot", null))));
|
152
123
|
}
|
153
124
|
static get is() { return "gux-tooltip"; }
|
154
125
|
static get encapsulation() { return "shadow"; }
|
@@ -228,24 +199,6 @@ export class GuxTooltip {
|
|
228
199
|
"attribute": "accent",
|
229
200
|
"reflect": false,
|
230
201
|
"defaultValue": "'light'"
|
231
|
-
},
|
232
|
-
"anchor": {
|
233
|
-
"type": "boolean",
|
234
|
-
"mutable": false,
|
235
|
-
"complexType": {
|
236
|
-
"original": "boolean",
|
237
|
-
"resolved": "boolean",
|
238
|
-
"references": {}
|
239
|
-
},
|
240
|
-
"required": false,
|
241
|
-
"optional": false,
|
242
|
-
"docs": {
|
243
|
-
"tags": [],
|
244
|
-
"text": ""
|
245
|
-
},
|
246
|
-
"attribute": "anchor",
|
247
|
-
"reflect": false,
|
248
|
-
"defaultValue": "false"
|
249
202
|
}
|
250
203
|
};
|
251
204
|
}
|
@@ -13,7 +13,6 @@
|
|
13
13
|
"dark",
|
14
14
|
"light"
|
15
15
|
],
|
16
|
-
"anchor": "checkbox",
|
17
16
|
"for": "text",
|
18
17
|
"placement": [
|
19
18
|
"bottom",
|
@@ -356,6 +355,18 @@
|
|
356
355
|
"attributes": [],
|
357
356
|
"events": []
|
358
357
|
},
|
358
|
+
"gux-inline-alert": {
|
359
|
+
"beta": false,
|
360
|
+
"attributes": {
|
361
|
+
"accent": [
|
362
|
+
"error",
|
363
|
+
"info",
|
364
|
+
"success",
|
365
|
+
"warning"
|
366
|
+
]
|
367
|
+
},
|
368
|
+
"events": []
|
369
|
+
},
|
359
370
|
"gux-icon": {
|
360
371
|
"beta": false,
|
361
372
|
"attributes": {
|
@@ -1277,18 +1288,6 @@
|
|
1277
1288
|
},
|
1278
1289
|
"events": []
|
1279
1290
|
},
|
1280
|
-
"gux-alert": {
|
1281
|
-
"beta": false,
|
1282
|
-
"attributes": {
|
1283
|
-
"accent": [
|
1284
|
-
"error",
|
1285
|
-
"info",
|
1286
|
-
"success",
|
1287
|
-
"warning"
|
1288
|
-
]
|
1289
|
-
},
|
1290
|
-
"events": []
|
1291
|
-
},
|
1292
1291
|
"gux-action-button": {
|
1293
1292
|
"beta": false,
|
1294
1293
|
"attributes": {
|
package/dist/deploy-info.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "spark-components",
|
3
|
-
"version": "4.0.0-beta.
|
3
|
+
"version": "4.0.0-beta.56",
|
4
4
|
"ecosystem": "pc",
|
5
5
|
"team": "Core UI",
|
6
6
|
"indexFiles": [],
|
7
|
-
"build": "
|
8
|
-
"buildDate": "2023-11-
|
7
|
+
"build": "88",
|
8
|
+
"buildDate": "2023-11-07T14:50:58.719488Z"
|
9
9
|
}
|