genesys-spark-components 4.0.0-beta.23 → 4.0.0-beta.25
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 +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +68 -0
- package/dist/cjs/gux-blank-state.cjs.entry.js +24 -0
- 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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-context-menu-beta.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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
- package/dist/cjs/{gux-pagination-buttons_3.cjs.entry.js → gux-pagination-buttons-legacy_3.cjs.entry.js} +9 -9
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/{gux-pagination.cjs.entry.js → gux-pagination-legacy.cjs.entry.js} +7 -7
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popup.cjs.entry.js +19 -9
- 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-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag-beta.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-0d0fdb85.js +12 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-4c4b807b.js → usage-a9283e9a.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +2 -2
- package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-buttons.js +2 -2
- package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
- package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.js +5 -5
- package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -0
- package/dist/collection/components/stable/gux-badge/gux-badge.css +97 -0
- package/dist/collection/components/{beta → stable}/gux-badge/gux-badge.js +3 -28
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +98 -0
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +29 -0
- package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
- package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -1
- package/dist/collection/components/stable/gux-popup/gux-popup.js +14 -8
- package/dist/collection/utils/dom/has-parent-element.js +4 -0
- package/dist/component-specs.json +40 -47
- 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 +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +64 -0
- package/dist/esm/gux-blank-state.entry.js +20 -0
- 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-beta.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-context-menu-beta.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-beta.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
- package/dist/esm/gux-form-field-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-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-beta.entry.js +1 -1
- package/dist/esm/{gux-pagination-buttons_3.entry.js → gux-pagination-buttons-legacy_3.entry.js} +7 -7
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/{gux-pagination.entry.js → gux-pagination-legacy.entry.js} +7 -7
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popup.entry.js +20 -10
- 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-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag-beta.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-0b66fe2c.js +12 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-9ca50bf0.js → usage-56d9b306.js} +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-fc2a0c5e.entry.js → p-010ba18c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db42a7bf.entry.js → p-0c4dbc9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d9ec2d1.entry.js → p-0cb3fdb4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f191d17.entry.js → p-0e44c5e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b938e322.entry.js → p-15bf191f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1661e5b6.entry.js → p-163cb6ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da061d56.entry.js → p-17413280.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2873e1ad.entry.js → p-18619dff.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1a83ae15.entry.js +1 -0
- package/dist/genesys-webcomponents/p-1b35958d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-16b8dd4e.entry.js → p-1b69fe00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd486f21.entry.js → p-1c1dfe12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f283002.entry.js → p-1c2cd19b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-240eeb1b.entry.js → p-1e0926b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c3aae28.entry.js → p-216d896e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b28f6e5.entry.js → p-23554f30.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d58c9460.entry.js → p-2513aa6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-178b38f9.entry.js → p-30cb1c85.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f11bc2b4.entry.js → p-34a80ac0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbd24ad9.entry.js → p-35fc63f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-37b49558.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3f3c6c2a.entry.js → p-411b9844.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-95b41d1b.entry.js → p-44732864.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19480ff9.entry.js → p-44c6e065.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f13d871.entry.js → p-48a59b0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4da16ea2.entry.js → p-57064c62.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edae4d63.entry.js → p-5e9e91e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f7f3443e.js → p-5eb7f3d1.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c74c4a6.entry.js → p-5fc405db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-09c7bd7d.entry.js → p-62843655.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c10fc14.entry.js → p-65ce0e37.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f349619.entry.js → p-6632856a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf271c9a.entry.js → p-6a14e935.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e01c28fb.entry.js → p-6a2f0c03.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38c0fd4a.entry.js → p-6b0599d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7e96d41.entry.js → p-6cb7b586.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4693bc7.entry.js → p-6ebd0ea7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee832fca.entry.js → p-6f66080e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-84a5cc38.entry.js → p-777bc704.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3031b43.entry.js → p-779f1537.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97b6a427.entry.js → p-786897e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7a1ef948.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d3660752.entry.js → p-83c88e1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e183299b.entry.js → p-87d88b64.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88382b4f.entry.js → p-8ac51be5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-594b1278.entry.js → p-8e7d8b79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc52401d.entry.js → p-8f7c29ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3be60800.entry.js → p-95a48f31.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b99d7b24.entry.js → p-9d5716fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e21c88c6.entry.js → p-9e3342cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22a997cc.entry.js → p-a0a96990.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f619019.entry.js → p-ac512b71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8634ab05.entry.js → p-ace78667.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe1f8064.entry.js → p-ae58a16c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e243ca18.entry.js → p-aef9e7cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a1cc19f6.entry.js → p-b0865e45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec8f3ed6.entry.js → p-b2567220.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9dab5671.entry.js → p-b2a503ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-255828b2.entry.js → p-b3bbe6e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b027844.entry.js → p-b9534538.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-462c9fec.entry.js → p-ba78e7c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42d1b629.entry.js → p-beb58f04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0dbe2bda.entry.js → p-c28759cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d62084d4.entry.js → p-c4545cf8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c55d47dd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-79ae493b.entry.js → p-d72445e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff22af71.entry.js → p-d93654eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c99e8934.entry.js → p-dc58438a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e03f3c2d.entry.js → p-dc7c5910.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-416f5a28.entry.js → p-df87a33e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f7700f8.entry.js → p-e2af859e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a986247.entry.js → p-e54dac3e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e97693fd.entry.js → p-e5d488d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-402f9293.entry.js → p-e8c84c88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc151bf0.entry.js → p-f3aa76a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dad21962.entry.js → p-f551e81b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edc3984d.entry.js → p-f554c073.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-699ef85a.entry.js → p-f912829e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50f614f4.entry.js → p-f9609d1c.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.d.ts +1 -1
- package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-buttons.d.ts +1 -1
- package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-item-counts/gux-pagination-item-counts.d.ts +1 -1
- package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-items-per-page/gux-pagination-items-per-page.d.ts +1 -1
- package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.d.ts +1 -1
- package/dist/types/components/{beta → stable}/gux-badge/gux-badge.d.ts +1 -2
- package/dist/types/components/{beta → stable}/gux-badge/gux-badge.types.d.ts +0 -1
- package/dist/types/components/{beta → stable}/gux-blank-state/gux-blank-state.d.ts +0 -8
- package/dist/types/components/stable/gux-pagination-cursor/gux-pagination-cursor.d.ts +1 -1
- package/dist/types/components/stable/gux-popup/gux-popup.d.ts +1 -0
- package/dist/types/components.d.ts +126 -128
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/dom/has-parent-element.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/gux-badge-beta.cjs.entry.js +0 -70
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +0 -68
- package/dist/collection/components/beta/gux-badge/gux-badge.css +0 -83
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state-constants.js +0 -5
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.css +0 -61
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.js +0 -75
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.types.js +0 -1
- package/dist/esm/gux-badge-beta.entry.js +0 -66
- package/dist/esm/gux-blank-state-beta.entry.js +0 -64
- package/dist/genesys-webcomponents/p-1e4d9d6a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d288a53.entry.js +0 -1
- package/dist/genesys-webcomponents/p-716b25a2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-81697e5d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c68e0fbf.entry.js +0 -1
- package/dist/types/components/beta/gux-blank-state/gux-blank-state-constants.d.ts +0 -5
- package/dist/types/components/beta/gux-blank-state/gux-blank-state.types.d.ts +0 -1
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-button.service.js +0 -0
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-buttons.css +0 -0
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-item-counts/gux-pagination-item-counts.css +0 -0
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-items-per-page/gux-pagination-items-per-page.css +0 -0
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.css +0 -0
- /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.types.js +0 -0
- /package/dist/collection/components/{beta → stable}/gux-badge/gux-badge.types.js +0 -0
- /package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-button.service.d.ts +0 -0
- /package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.types.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as o,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-
|
1
|
+
import{r as t,h as o,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-5eb7f3d1.js";const n=class{constructor(o){t(this,o),this.singleOpenSection=!1}handleInternalsectionopened(t){t.stopImmediatePropagation(),this.singleOpenSection&&this.getAccordionSections().forEach((o=>{o!==t.target&&this.closeSection(o)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((t,o)=>(t&&this.closeSection(o),t||o.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(t){t.disabled||(t.open=!1)}render(){return o("slot",null)}get root(){return s(this)}};n.style="gux-accordion{-custom-noop:noop}";export{n as gux_accordion}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-
|
1
|
+
import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-5eb7f3d1.js";const e=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){s(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,a;const i=this.getInitialFocusElement();i?null===(t=i.focus)||void 0===t||t.call(i):this.dismissButton&&(null===(a=(o=this.dismissButton).focus)||void 0===a||a.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons(),i=n();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":t?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),t&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},a("p",null,a("slot",{name:"content"}))),o&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return i(this)}};e.style=":host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 8px 24px rgba(32, 41, 55, 0.4)}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{e as gux_modal}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,c as n,h as i,g as a}from"./p-7d26b2e1.js";import{b as e}from"./p-deee079e.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}const r=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}getPageListEnteries(t,n){return s.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-input-container"},i("div",null,this.i18n("page")),i("div",{class:"gux-pagination-buttons-input"},i("gux-form-field-text-like",{"label-position":"screenreader"},i("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),i("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),i("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};r.style="gux-pagination-buttons{color:#2e394c}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding:0 4px;margin:0 4px;background:inherit;border:none;border-radius:2px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:12px}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,g)}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),i("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return a(this)}};u.style="gux-pagination-item-counts{color:#2e394c}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};c.style="gux-pagination-items-per-page{color:#2e394c}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}";export{r as
|
1
|
+
import{r as t,c as n,h as i,g as a}from"./p-7d26b2e1.js";import{b as e}from"./p-deee079e.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}const r=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}getPageListEnteries(t,n){return s.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-input-container"},i("div",null,this.i18n("page")),i("div",{class:"gux-pagination-buttons-input"},i("gux-form-field-text-like",{"label-position":"screenreader"},i("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),i("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),i("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};r.style="gux-pagination-buttons{color:#2e394c}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding:0 4px;margin:0 4px;background:inherit;border:none;border-radius:2px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:12px}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(n){t(this,n),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await e(this.root,g)}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),i("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return a(this)}};u.style="gux-pagination-item-counts{color:#2e394c}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};c.style="gux-pagination-items-per-page{color:#2e394c}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}";export{r as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as r,g as o}from"./p-7d26b2e1.js";import{t as a}from"./p-5eb7f3d1.js";import{b as g}from"./p-deee079e.js";import"./p-8a133b9b.js";const i={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error error",inherit:"badge with label: {label}"},l=class{constructor(r){e(this,r),this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",null,r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,i)}render(){return r("div",{class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};l.style=":host{display:inline-block;height:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;justify-content:center;align-items:center;height:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);border-radius:var(--gse-ui-badge-borderRadius);gap:var(--gse-ui-badge-gap);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight, 600);line-height:var(--gse-ui-badge-text-lineHeight)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge gux-tooltip-title ::slotted(gux-icon){height:16px;font-size:16px}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{l as gux_badge}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-7d26b2e1.js";import{a as n,c as o,o as a,f as r,d as p,s as h,h as c}from"./p-4e2b5bcf.js";import{g as d}from"./p-8a133b9b.js";const l=class{constructor(e){t(this,e),this.internalexpanded=i(this,"internalexpanded",7),this.internalcollapsed=i(this,"internalcollapsed",7),this.expanded=!1,this.disabled=!1}runUpdatePosition(){this.cleanupUpdatePosition=n(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.popupElementContainer,i=this.root;o(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:"bottom-start",middleware:[a(2),r(),p({apply({rects:e}){!function(t,i=this){return Boolean(d("gux-action-button, gux-button-multi",i))}(0,i)?Object.assign(t.style,{width:`${e.reference.width}px`}):Object.assign(t.style,{minWidth:`${e.reference.width}px`})}}),h(),c()]}).then((({x:t,y:i,middlewareData:e})=>{const{referenceHidden:s}=e.hide;Object.assign(this.popupElementContainer.style,{left:`${t}px`,top:`${i}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e("div",{class:{"gux-target-container":!0,"gux-disabled":this.disabled},ref:t=>this.targetElementContainer=t},e("slot",{name:"target"}),e("div",{class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},e("slot",{name:"popup"})))}get root(){return s(this)}static get watchers(){return{expanded:["onExpandedChange"]}}};l.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;background-color:white;width:max-content;visibility:hidden}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{l as gux_popup}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,h as t,g as i}from"./p-7d26b2e1.js";import{b as r}from"./p-deee079e.js";import{O as s}from"./p-f34ce7dc.js";import{a as o,o as n}from"./p-3701eff0.js";import{h as a}from"./p-08bc2e6b.js";import{g as l}from"./p-aa2f9991.js";import{G as h,a as f,v as p,b as d}from"./p-b3c9fd06.js";import{G as g,a as x}from"./p-211cc1db.js";import{t as u}from"./p-
|
1
|
+
import{r as e,h as t,g as i}from"./p-7d26b2e1.js";import{b as r}from"./p-deee079e.js";import{O as s}from"./p-f34ce7dc.js";import{a as o,o as n}from"./p-3701eff0.js";import{h as a}from"./p-08bc2e6b.js";import{g as l}from"./p-aa2f9991.js";import{G as h,a as f,v as p,b as d}from"./p-b3c9fd06.js";import{G as g,a as x}from"./p-211cc1db.js";import{t as u}from"./p-5eb7f3d1.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const c={required:"Required"};const m=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-time-picker");t&&(t.hasError=e)}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}async componentWillLoad(){this.getI18nValue=await r(this.root,c),this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),u(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(x,{labelPosition:this.computedLabelPosition},t(g,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(l(this.root,"error"),this.hasError)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},t("slot",null))),t(h,{show:this.hasError},t("slot",{name:"error"})),t(f,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}renderScreenReaderText(e,i=!0){if(i)return t("gux-screen-reader-beta",null,e)}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.timePickerElement=this.root.querySelector("gux-time-picker"),this.disabled=this.timePickerElement.disabled,this.required=this.timePickerElement.required,this.disabledObserver=o(this.timePickerElement,(e=>{this.disabled=e})),this.requiredObserver=n(this.timePickerElement,(e=>{this.required=e})),p(this.root,this.timePickerElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);o>3&&n&&Object.defineProperty(t,i,n)})([s({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:var(--gux-form-field-fieldset-container-margin-top, 16px) 0 var(--gux-form-field-fieldset-container-margin-bottom, 16px) 0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_time_picker}
|