genesys-spark-components 3.28.0 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast.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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot-beta.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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard-beta.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 +69 -57
- package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-legacy.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-error-message-beta.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-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number.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-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +8 -51
- package/dist/cjs/gux-list.service-59f2b3e7.js +51 -0
- 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-calendar.cjs.entry.js +137 -0
- package/dist/cjs/gux-month-list_2.cjs.entry.js +89 -0
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +222 -0
- package/dist/cjs/gux-notification-toast.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-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover.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-side-panel-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast.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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-legacy.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-text-label-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker-beta.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/gux-visualization-beta.cjs.entry.js +1 -1
- package/dist/cjs/index-262c2e3a.js +16 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-tracking-8a0a56ad.js → usage-tracking-a1b34de9.js} +1 -1
- package/dist/cjs/year-month-values-080373aa.js +24 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +78 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +237 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +52 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +110 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.css +8 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +80 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +58 -0
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +313 -0
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +5 -0
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +70 -76
- package/dist/collection/components/stable/gux-list/gux-list.js +6 -5
- package/dist/collection/components/stable/gux-list/gux-list.service.js +19 -20
- package/dist/collection/utils/date/year-month-values.js +13 -0
- package/dist/collection/utils/dom/after-render.js +3 -0
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-legacy.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button-legacy.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-list-legacy.entry.js +1 -1
- package/dist/esm/gux-action-toast.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-beta.entry.js +1 -1
- package/dist/esm/gux-blank-state-beta.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot-beta.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-beta.entry.js +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard-beta.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 +69 -57
- package/dist/esm/gux-disclosure-button.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-legacy.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-error-message-beta.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-legacy.entry.js +1 -1
- package/dist/esm/gux-form-field-number.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-icon.entry.js +1 -1
- package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +8 -51
- package/dist/esm/gux-list.service-66b8540f.js +45 -0
- 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-calendar.entry.js +133 -0
- package/dist/esm/gux-month-list_2.entry.js +84 -0
- package/dist/esm/gux-month-picker-beta.entry.js +218 -0
- package/dist/esm/gux-notification-toast.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-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popover.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-side-panel-legacy.entry.js +1 -1
- package/dist/esm/gux-simple-toast.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-beta.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs-legacy.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-text-label-legacy.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker-beta.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/gux-visualization-beta.entry.js +1 -1
- package/dist/esm/index-74e605ae.js +16 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-tracking-3d95bf43.js → usage-tracking-3a58b2cb.js} +1 -1
- package/dist/esm/year-month-values-8f78277c.js +19 -0
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
- package/dist/genesys-webcomponents/{p-c2f5b66a.entry.js → p-0309337a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-822f8307.entry.js → p-05d8867d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e0fa72e.entry.js → p-097ebac8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-34781a4f.entry.js → p-0ac85f85.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f9f2533.entry.js → p-0f3b197c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c1bcb81.entry.js → p-1193eea0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ff9b746.entry.js → p-14252d82.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-810975bf.entry.js → p-147f5ce5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-837ea1c7.entry.js → p-155a7a20.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-62bcdee5.entry.js → p-1665f72d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1046fc7a.entry.js → p-1717f300.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2146baf.entry.js → p-186ab617.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a058d86c.entry.js → p-1bab4f2d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07ce561d.entry.js → p-22c9f5fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-25ea189a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1ab4904a.entry.js → p-26fd3d6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bc907d4.entry.js → p-3110951a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2a740bf.entry.js → p-321ef965.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3834e291.js +1 -0
- package/dist/genesys-webcomponents/{p-18ef9c4e.entry.js → p-41627e97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8fdf5e4f.entry.js → p-43d4998c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8da6820a.entry.js → p-45b2e9ab.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-48ba3e1f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a8fe0379.entry.js → p-4a276707.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60e959f5.entry.js → p-4aed9d1d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc20e015.entry.js → p-4d0dfe2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-993b8f68.entry.js → p-4d0fab65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74e58da4.entry.js → p-4f514bc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cb525f80.entry.js → p-50c1f2be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10b92544.entry.js → p-52c0ef2c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b94f03eb.entry.js → p-5563cdd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3990f966.entry.js → p-5669156b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9466559c.entry.js → p-598a1c4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-076be569.entry.js → p-5aab9b69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2e7e448e.entry.js → p-5bd6e8e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-15351905.entry.js → p-6029a142.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d7a43fbb.entry.js → p-669a61ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70e587ff.entry.js → p-6bf45984.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d0d3a6e.entry.js → p-6e435cd2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-56a38cf7.entry.js → p-6f42eb51.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-604af472.entry.js → p-6f4bd858.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c1c3ea0.entry.js → p-714f65a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f94f4dd9.entry.js → p-71ea36d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-522c74ec.entry.js → p-74ee2e23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ce593131.entry.js → p-76ea901a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ba094ac.entry.js → p-7789513a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-79a47484.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ca461392.entry.js → p-7effb09b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebff89b2.entry.js → p-8009fdc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-813cb992.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f8c4e528.entry.js → p-83cc0e17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e48d3310.entry.js → p-8b1a96cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8d32b63a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-49c15d86.entry.js → p-8da54237.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d26c660.entry.js → p-8e106004.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2117da6e.js → p-967a5d2e.js} +1 -1
- package/dist/genesys-webcomponents/{p-2eec7bb3.entry.js → p-99898e32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86613e69.entry.js → p-9b2607c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d85e0ef6.entry.js → p-a6466fec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f338c957.entry.js → p-b0b469b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc813cdd.entry.js → p-b1a0e8f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6b2b359.entry.js → p-b3fc31d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b08472d5.entry.js → p-b5ff9be4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30a2191b.entry.js → p-b6db9f14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a512fad8.entry.js → p-b72ece98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b418d99.entry.js → p-bd5c79d9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80b9fb4f.entry.js → p-c136bc23.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e018abd.entry.js → p-c5ab5608.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec64efaf.entry.js → p-cb53f5b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81e83db1.entry.js → p-cbad82d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fe117b7f.entry.js → p-ccb85246.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-db4ad4a2.entry.js → p-cfc03ea4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d8f6b2d.entry.js → p-d0d09c10.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc6633ac.entry.js → p-d695f246.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5154e024.entry.js → p-de6ad54f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64788936.entry.js → p-df4c45b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d517313.entry.js → p-e6eba280.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed9247cf.entry.js → p-e84f7077.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ea91ae27.js +1 -0
- package/dist/genesys-webcomponents/{p-797be44d.entry.js → p-eab68d2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3da8813c.entry.js → p-eb9310a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8facd0ec.entry.js → p-ee80c3b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31540340.entry.js → p-f0b4112d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c64137d.entry.js → p-f4450927.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-97afe8f5.entry.js → p-f858d163.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24b58841.entry.js → p-fb9ae052.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5876605.entry.js → p-ffe85168.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.d.ts +45 -0
- package/dist/types/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.d.ts +12 -0
- package/dist/types/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.d.ts +8 -0
- package/dist/types/components/beta/gux-month-picker/gux-month-picker.d.ts +49 -0
- package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +19 -9
- package/dist/types/components/stable/gux-list/gux-list.service.d.ts +5 -4
- package/dist/types/components.d.ts +116 -2
- package/dist/types/utils/date/year-month-values.d.ts +8 -0
- package/dist/types/utils/dom/after-render.d.ts +1 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-559635b7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-99374ffa.entry.js +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function getRootChildren(root) {
|
|
2
|
+
const slot = root.querySelector('slot');
|
|
3
|
+
return slot ? slot.assignedElements() : Array.from(root.children);
|
|
4
|
+
}
|
|
5
|
+
function getGuxListFocusableItems(root, validFocusableItems) {
|
|
6
|
+
return getRootChildren(root).filter(cv => {
|
|
7
|
+
if (validFocusableItems.includes(cv.tagName.toLowerCase())) {
|
|
8
|
+
return !cv.disabled;
|
|
9
|
+
}
|
|
10
|
+
return false;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function getCurrentFocusIndex(root, validFocusableItems) {
|
|
14
|
+
return getGuxListFocusableItems(root, validFocusableItems).findIndex(cv => cv.matches(':focus-within'));
|
|
15
|
+
}
|
|
16
|
+
function focusMove(root, validFocusableItems, delta) {
|
|
17
|
+
const currentFocusIndex = getCurrentFocusIndex(root, validFocusableItems);
|
|
18
|
+
const maxIndex = getGuxListFocusableItems(root, validFocusableItems).length;
|
|
19
|
+
focusIndex(root, validFocusableItems, (currentFocusIndex + delta) % maxIndex);
|
|
20
|
+
}
|
|
21
|
+
function focusIndex(root, validFocusableItems, focusIndex) {
|
|
22
|
+
var _a;
|
|
23
|
+
const items = getGuxListFocusableItems(root, validFocusableItems);
|
|
24
|
+
while (focusIndex < 0) {
|
|
25
|
+
focusIndex += items.length;
|
|
26
|
+
}
|
|
27
|
+
(_a = items[focusIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
28
|
+
}
|
|
29
|
+
function getLastChildIndex(root, validFocusableItems) {
|
|
30
|
+
return getGuxListFocusableItems(root, validFocusableItems).length - 1;
|
|
31
|
+
}
|
|
32
|
+
function first(root, validFocusableItems) {
|
|
33
|
+
focusIndex(root, validFocusableItems, 0);
|
|
34
|
+
}
|
|
35
|
+
function last(root, validFocusableItems) {
|
|
36
|
+
focusIndex(root, validFocusableItems, getLastChildIndex(root, validFocusableItems));
|
|
37
|
+
}
|
|
38
|
+
function next(root, validFocusableItems) {
|
|
39
|
+
focusMove(root, validFocusableItems, 1);
|
|
40
|
+
}
|
|
41
|
+
function previous(root, validFocusableItems) {
|
|
42
|
+
focusMove(root, validFocusableItems, -1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { focusMove as a, first as f, last as l, next as n, previous as p };
|
|
@@ -3,7 +3,7 @@ import { s as setInitialActiveOption, c as clearActiveOptions, a as setLastOptio
|
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
5
5
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
6
|
-
import { t as trackComponent } from './usage-tracking-
|
|
6
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
7
7
|
import './get-closest-element-1597503c.js';
|
|
8
8
|
|
|
9
9
|
const noMatches = "No matches";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, d as readTask, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Below are the max-widths for the loading component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxModalCss = ":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left: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{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);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}: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%}}";
|
|
5
5
|
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
+
import { b as buildI18nForComponent, g as getDesiredLocale } from './index-b8a25b60.js';
|
|
3
|
+
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
4
|
+
import { g as getYearMonthObject, c as getCurrentISOYearMonth, a as afterRender, b as getISOYearMonth } from './year-month-values-8f78277c.js';
|
|
5
|
+
import './get-closest-element-1597503c.js';
|
|
6
|
+
|
|
7
|
+
const changeYear = "Current year is {currentYear}, Click to change year to {changeYear}";
|
|
8
|
+
const translationResources = {
|
|
9
|
+
changeYear: changeYear
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const guxMonthCalendarCss = ".gux-month-calendar{flex-wrap:wrap;width:255px;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;height:16px;padding:16px;color:#fdfdfd;background-color:#2a60c8;border-top-left-radius:3px;border-top-right-radius:3px}.gux-month-calendar .gux-year-header button{color:#fdfdfd;cursor:pointer;background:none;border:none;outline:none}.gux-month-calendar .gux-year-header button:focus{border-radius:4px;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:0.5}.gux-month-calendar .gux-year-header button gux-icon{width:16px;height:16px;pointer-events:none}.gux-month-calendar .gux-year-header .gux-year{font-family:Roboto, sans-serif;font-weight:400;font-weight:700}.gux-month-calendar .gux-months{padding:24px;background-color:#fdfdfd}.gux-month-calendar .gux-months button{width:65px;height:50px;margin:2px;text-align:center;cursor:pointer;background:none;border:none;border-radius:4px;outline:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-month-calendar .gux-months button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-month-calendar .gux-months button.gux-selected,.gux-month-calendar .gux-months button:hover{color:#fdfdfd;background-color:#2a60c8}.gux-month-calendar .gux-months button:disabled{color:#596373;pointer-events:none;background-color:#fdfdfd}";
|
|
13
|
+
|
|
14
|
+
const GuxMonthCalendar = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
registerInstance(this, hostRef);
|
|
17
|
+
}
|
|
18
|
+
onValueUpdate(newValue) {
|
|
19
|
+
const { year } = getYearMonthObject(newValue);
|
|
20
|
+
this.year = year;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Focus a month
|
|
24
|
+
*/
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/require-await
|
|
26
|
+
async guxFocus(iSOYearMonth) {
|
|
27
|
+
iSOYearMonth = iSOYearMonth || getCurrentISOYearMonth();
|
|
28
|
+
const { year } = getYearMonthObject(iSOYearMonth);
|
|
29
|
+
this.year = year;
|
|
30
|
+
afterRender(() => {
|
|
31
|
+
const target = this.root.shadowRoot.querySelector(`gux-month-list-item[value="${iSOYearMonth}"]`);
|
|
32
|
+
console.log({ target });
|
|
33
|
+
if (target) {
|
|
34
|
+
target.focus();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
async componentWillLoad() {
|
|
39
|
+
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
|
40
|
+
this.locale = getDesiredLocale(this.root);
|
|
41
|
+
if (this.value) {
|
|
42
|
+
this.year = getYearMonthObject(this.value).year;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
this.year = getYearMonthObject(getCurrentISOYearMonth()).year;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
updateValue(value) {
|
|
49
|
+
this.value = value;
|
|
50
|
+
simulateNativeEvent(this.root, 'input');
|
|
51
|
+
simulateNativeEvent(this.root, 'change');
|
|
52
|
+
}
|
|
53
|
+
isOutOfBounds(value) {
|
|
54
|
+
return (this.max && this.max < value) || (this.min && this.min > value);
|
|
55
|
+
}
|
|
56
|
+
onMonthClick(value) {
|
|
57
|
+
if (this.isOutOfBounds(value)) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
this.updateValue(value);
|
|
61
|
+
}
|
|
62
|
+
getMonthAriaLabel(value) {
|
|
63
|
+
const { year, month } = getYearMonthObject(value);
|
|
64
|
+
return new Date(Number(year), Number(month) - 1).toLocaleDateString(this.locale, { year: 'numeric', month: 'long' });
|
|
65
|
+
}
|
|
66
|
+
getYearLabel(year) {
|
|
67
|
+
return new Date(Number(year), 5).toLocaleDateString(this.locale, {
|
|
68
|
+
year: 'numeric'
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
isSelectedMonth(value) {
|
|
72
|
+
return value === this.value;
|
|
73
|
+
}
|
|
74
|
+
isAriaSelectedMonth(value) {
|
|
75
|
+
if (this.isSelectedMonth(value)) {
|
|
76
|
+
return 'true';
|
|
77
|
+
}
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
changeYear(increment) {
|
|
81
|
+
this.year = (parseInt(this.year) + increment).toString();
|
|
82
|
+
}
|
|
83
|
+
isPreviousYearLessThanMinYear(year, minISOYearMonth) {
|
|
84
|
+
return ((parseInt(year) - 1).toString() <
|
|
85
|
+
(minISOYearMonth && getYearMonthObject(minISOYearMonth).year));
|
|
86
|
+
}
|
|
87
|
+
isNextYearGreaterThanMaxYear(year, maxISOYearMonth) {
|
|
88
|
+
return ((parseInt(year) + 1).toString() >
|
|
89
|
+
(maxISOYearMonth && getYearMonthObject(maxISOYearMonth).year));
|
|
90
|
+
}
|
|
91
|
+
getMonthShortName(year, month) {
|
|
92
|
+
return new Date(Number(year), Number(month) - 1).toLocaleDateString(this.locale, { month: 'short' });
|
|
93
|
+
}
|
|
94
|
+
doFocusTrap() {
|
|
95
|
+
if (!this.previousYearElement.disabled) {
|
|
96
|
+
this.previousYearElement.focus();
|
|
97
|
+
}
|
|
98
|
+
if (!this.nextYearElement.disabled) {
|
|
99
|
+
this.nextYearElement.focus();
|
|
100
|
+
}
|
|
101
|
+
this.monthListElement.focus();
|
|
102
|
+
}
|
|
103
|
+
renderHeader() {
|
|
104
|
+
return (h("div", { class: "gux-year-header" }, h("button", { type: "button", class: "gux-year-change", onClick: () => this.changeYear(-1), disabled: this.isPreviousYearLessThanMinYear(this.year, this.min), ref: (el) => (this.previousYearElement = el) }, h("gux-icon", { "icon-name": "chevron-small-left", "screenreader-text": this.i18n('changeYear', {
|
|
105
|
+
currentYear: parseInt(this.year),
|
|
106
|
+
changeYear: parseInt(this.year) - 1
|
|
107
|
+
}) })), h("div", { class: "gux-year" }, this.getYearLabel(this.year)), h("button", { type: "button", class: "gux-year-change", onClick: () => this.changeYear(1), disabled: this.isNextYearGreaterThanMaxYear(this.year, this.max), ref: (el) => (this.nextYearElement = el) }, h("gux-icon", { "icon-name": "chevron-small-right", "screenreader-text": this.i18n('changeYear', {
|
|
108
|
+
currentYear: parseInt(this.year),
|
|
109
|
+
changeYear: parseInt(this.year) + 1
|
|
110
|
+
}) }))));
|
|
111
|
+
}
|
|
112
|
+
renderMonths() {
|
|
113
|
+
const monthButtons = Array.from(new Array(12), (_, i) => String(i + 1).padStart(2, '0')).map(month => {
|
|
114
|
+
const value = getISOYearMonth(this.year, month);
|
|
115
|
+
return (h("gux-month-list-item", { value: value, selected: this.isSelectedMonth(value), "aria-selected": this.isAriaSelectedMonth(value), "aria-label": this.getMonthAriaLabel(value), onClick: () => this.onMonthClick(value), disabled: this.isOutOfBounds(value) }, this.getMonthShortName(this.year, month)));
|
|
116
|
+
});
|
|
117
|
+
return (h("gux-month-list", { tabIndex: 1, ref: (el) => (this.monthListElement = el) }, monthButtons));
|
|
118
|
+
}
|
|
119
|
+
renderTrapFocusEl() {
|
|
120
|
+
return (h("span", { onFocus: () => this.doFocusTrap(), tabindex: "0" }));
|
|
121
|
+
}
|
|
122
|
+
render() {
|
|
123
|
+
return (h("div", { class: "gux-month-calendar" }, this.renderHeader(), this.renderMonths(), this.renderTrapFocusEl()));
|
|
124
|
+
}
|
|
125
|
+
static get delegatesFocus() { return true; }
|
|
126
|
+
get root() { return getElement(this); }
|
|
127
|
+
static get watchers() { return {
|
|
128
|
+
"value": ["onValueUpdate"]
|
|
129
|
+
}; }
|
|
130
|
+
};
|
|
131
|
+
GuxMonthCalendar.style = guxMonthCalendarCss;
|
|
132
|
+
|
|
133
|
+
export { GuxMonthCalendar as gux_month_calendar };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
+
import { l as last, f as first, n as next, p as previous, a as focusMove } from './gux-list.service-66b8540f.js';
|
|
3
|
+
import { g as getClosestElement } from './get-closest-element-1597503c.js';
|
|
4
|
+
|
|
5
|
+
const guxMonthListCss = ":host{display:flex;flex-direction:row;flex-wrap:wrap;padding:12px 16px;background-color:#fdfdfd;border:1px solid #b4bccb}";
|
|
6
|
+
|
|
7
|
+
const validFocusableItems = ['gux-month-list-item'];
|
|
8
|
+
const GuxMonthList = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
}
|
|
12
|
+
onKeyDown(event) {
|
|
13
|
+
switch (event.key) {
|
|
14
|
+
case 'ArrowUp':
|
|
15
|
+
event.preventDefault();
|
|
16
|
+
focusMove(this.root, validFocusableItems, -3);
|
|
17
|
+
break;
|
|
18
|
+
case 'ArrowDown':
|
|
19
|
+
event.preventDefault();
|
|
20
|
+
focusMove(this.root, validFocusableItems, 3);
|
|
21
|
+
break;
|
|
22
|
+
case 'ArrowLeft':
|
|
23
|
+
event.preventDefault();
|
|
24
|
+
previous(this.root, validFocusableItems);
|
|
25
|
+
break;
|
|
26
|
+
case 'ArrowRight':
|
|
27
|
+
event.preventDefault();
|
|
28
|
+
next(this.root, validFocusableItems);
|
|
29
|
+
break;
|
|
30
|
+
case 'Home':
|
|
31
|
+
event.preventDefault();
|
|
32
|
+
first(this.root, validFocusableItems);
|
|
33
|
+
break;
|
|
34
|
+
case 'End':
|
|
35
|
+
event.preventDefault();
|
|
36
|
+
last(this.root, validFocusableItems);
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/require-await
|
|
41
|
+
async guxFocusFirstItem() {
|
|
42
|
+
first(this.root, validFocusableItems);
|
|
43
|
+
}
|
|
44
|
+
renderFocusTarget() {
|
|
45
|
+
return (h("span", { tabindex: "1" }));
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return (h(Host, { role: "list" }, this.renderFocusTarget(), h("slot", null)));
|
|
49
|
+
}
|
|
50
|
+
static get delegatesFocus() { return true; }
|
|
51
|
+
get root() { return getElement(this); }
|
|
52
|
+
};
|
|
53
|
+
GuxMonthList.style = guxMonthListCss;
|
|
54
|
+
|
|
55
|
+
const guxMonthListItemCss = ":host{flex:0 0 33.3%}:host([disabled]){pointer-events:none}:host([disabled='false']){pointer-events:auto}::slotted(gux-icon){width:16px;height:16px;margin-right:8px;vertical-align:middle}.gux-container{padding:4px}.gux-container button{all:unset;box-sizing:border-box;width:100%;height:49px;padding:8px 0;color:#2e394c;text-align:center;word-wrap:break-word;cursor:pointer;border:none;border-radius:4px;outline:none}.gux-container button.gux-selected{color:#fdfdfd;background:#2a60c8}.gux-container button:focus:not(:disabled){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-container button:hover:not(:disabled){color:#fdfdfd;background:#2a60c8}.gux-container button:active:not(:disabled){color:#fdfdfd;background:#2a60c8}.gux-container button:disabled{color:rgba(46, 57, 76, 0.5);cursor:default}";
|
|
56
|
+
|
|
57
|
+
const GuxMonthListItem = class {
|
|
58
|
+
constructor(hostRef) {
|
|
59
|
+
registerInstance(this, hostRef);
|
|
60
|
+
this.disabled = false;
|
|
61
|
+
this.selected = false;
|
|
62
|
+
}
|
|
63
|
+
onMouseup() {
|
|
64
|
+
this.focusParentList();
|
|
65
|
+
}
|
|
66
|
+
onMouseover() {
|
|
67
|
+
this.focusParentList();
|
|
68
|
+
}
|
|
69
|
+
focusParentList() {
|
|
70
|
+
const parentList = getClosestElement('gux-month-list', this.root);
|
|
71
|
+
if (parentList && parentList.shadowRoot.activeElement === null) {
|
|
72
|
+
this.root.blur();
|
|
73
|
+
parentList.focus();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
render() {
|
|
77
|
+
return (h(Host, { role: "listitem", value: this.value }, h("div", { class: "gux-container" }, h("button", { class: { 'gux-selected': this.selected }, type: "button", tabIndex: -1, disabled: this.disabled }, h("slot", null)))));
|
|
78
|
+
}
|
|
79
|
+
static get delegatesFocus() { return true; }
|
|
80
|
+
get root() { return getElement(this); }
|
|
81
|
+
};
|
|
82
|
+
GuxMonthListItem.style = guxMonthListItemCss;
|
|
83
|
+
|
|
84
|
+
export { GuxMonthList as gux_month_list, GuxMonthListItem as gux_month_list_item };
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
|
+
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
4
|
+
import { b as buildI18nForComponent, g as getDesiredLocale } from './index-b8a25b60.js';
|
|
5
|
+
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
6
|
+
import { a as afterRender, g as getYearMonthObject, b as getISOYearMonth, c as getCurrentISOYearMonth } from './year-month-values-8f78277c.js';
|
|
7
|
+
import './get-closest-element-1597503c.js';
|
|
8
|
+
|
|
9
|
+
const toggleCalendar = "Toggle month calendar view";
|
|
10
|
+
const month = "Month";
|
|
11
|
+
const year = "Year";
|
|
12
|
+
const unset = "Unset";
|
|
13
|
+
const translationResources = {
|
|
14
|
+
toggleCalendar: toggleCalendar,
|
|
15
|
+
month: month,
|
|
16
|
+
year: year,
|
|
17
|
+
unset: unset
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const guxMonthPickerCss = ":host{display:inline-block}.gux-target{display:inline-flex;padding:4px 8px 4px 12px;cursor:pointer;background-color:#f6f7f9;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target .gux-display{display:inline-flex;min-width:100px;padding-right:8px;color:#2e394c}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-left:4px}.gux-target .gux-display .gux-spinner:focus{background:#deeaff}.gux-target .gux-display .gux-spinner.gux-empty{color:#596373}.gux-target .gux-popup-toggle{justify-content:right;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}.gux-target .gux-popup-toggle:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target .gux-popup-toggle:not(:disabled):focus,.gux-target .gux-popup-toggle:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-target .gux-popup-toggle gux-icon{width:16px;height:16px}.gux-target .gux-popup-toggle.gux-expanded{color:#2a60c8}.gux-target .gux-popup-toggle.gux-expanded:not(:disabled):focus,.gux-target .gux-popup-toggle.gux-expanded:not(:disabled):hover{color:#2a60c8}";
|
|
21
|
+
|
|
22
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
25
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
26
|
+
else
|
|
27
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
28
|
+
if (d = decorators[i])
|
|
29
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
30
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31
|
+
};
|
|
32
|
+
const DateTimeFormats = { year: 'numeric', month: 'long' };
|
|
33
|
+
const YearFirstLocales = ['ar', 'he', 'ja', 'ko', 'zh-cn', 'zh-tw'];
|
|
34
|
+
const GuxMonthPicker = class {
|
|
35
|
+
constructor(hostRef) {
|
|
36
|
+
registerInstance(this, hostRef);
|
|
37
|
+
this.disabled = false;
|
|
38
|
+
this.expanded = false;
|
|
39
|
+
}
|
|
40
|
+
onKeyDown(event) {
|
|
41
|
+
switch (event.key) {
|
|
42
|
+
case 'Escape':
|
|
43
|
+
this.expanded = false;
|
|
44
|
+
this.calendarToggleButtonElement.focus();
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
onValueUpdate(newValue) {
|
|
49
|
+
if (this.isOutOfBounds(newValue)) {
|
|
50
|
+
if (this.isBeforeMin(newValue)) {
|
|
51
|
+
this.value = this.min;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this.value = this.max;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.value = newValue;
|
|
59
|
+
}
|
|
60
|
+
simulateNativeEvent(this.root, 'input');
|
|
61
|
+
simulateNativeEvent(this.root, 'change');
|
|
62
|
+
}
|
|
63
|
+
onClickOutside() {
|
|
64
|
+
this.expanded = false;
|
|
65
|
+
}
|
|
66
|
+
async componentWillLoad() {
|
|
67
|
+
trackComponent(this.root);
|
|
68
|
+
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
|
69
|
+
this.locale = getDesiredLocale(this.root);
|
|
70
|
+
}
|
|
71
|
+
isOutOfBounds(value) {
|
|
72
|
+
return this.isBeforeMin(value) || this.isAfterMax(value);
|
|
73
|
+
}
|
|
74
|
+
isBeforeMin(value) {
|
|
75
|
+
return this.min && this.min > value;
|
|
76
|
+
}
|
|
77
|
+
isAfterMax(value) {
|
|
78
|
+
return this.max && this.max < value;
|
|
79
|
+
}
|
|
80
|
+
toggleCalendar() {
|
|
81
|
+
this.expanded = !this.expanded;
|
|
82
|
+
if (this.expanded) {
|
|
83
|
+
afterRender(() => {
|
|
84
|
+
void this.monthCalendarElement.guxFocus(this.value);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
onMonthCalendarInput() {
|
|
89
|
+
this.value = this.monthCalendarElement.value;
|
|
90
|
+
this.expanded = false;
|
|
91
|
+
this.calendarToggleButtonElement.focus();
|
|
92
|
+
}
|
|
93
|
+
incrementMonth(delta) {
|
|
94
|
+
if (this.value) {
|
|
95
|
+
const { year: currentYear, month: currentMonth } = getYearMonthObject(this.value);
|
|
96
|
+
const newMonth = (((parseInt(currentMonth) + 11 + delta) % 12) + 1)
|
|
97
|
+
.toString()
|
|
98
|
+
.padStart(2, '0');
|
|
99
|
+
this.value = getISOYearMonth(currentYear, newMonth);
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.value = getCurrentISOYearMonth();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
incrementYear(delta) {
|
|
106
|
+
if (this.value) {
|
|
107
|
+
const { year: currentYear, month: currentMonth } = getYearMonthObject(this.value);
|
|
108
|
+
const newYear = Math.max(Number(currentYear) + delta, 0).toString();
|
|
109
|
+
this.value = getISOYearMonth(newYear, currentMonth);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
this.value = getCurrentISOYearMonth();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
onSpinnerKeyDown(event, incrementor, nextFocusElement) {
|
|
116
|
+
switch (event.key) {
|
|
117
|
+
case 'ArrowDown':
|
|
118
|
+
event.preventDefault();
|
|
119
|
+
incrementor(-1);
|
|
120
|
+
break;
|
|
121
|
+
case 'ArrowUp':
|
|
122
|
+
event.preventDefault();
|
|
123
|
+
incrementor(1);
|
|
124
|
+
break;
|
|
125
|
+
case 'ArrowLeft':
|
|
126
|
+
case 'ArrowRight':
|
|
127
|
+
event.preventDefault();
|
|
128
|
+
nextFocusElement.focus();
|
|
129
|
+
break;
|
|
130
|
+
case 'Enter':
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
this.expanded = true;
|
|
133
|
+
afterRender(() => {
|
|
134
|
+
void this.monthCalendarElement.guxFocus(this.value);
|
|
135
|
+
});
|
|
136
|
+
break;
|
|
137
|
+
case ' ':
|
|
138
|
+
event.preventDefault();
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
onSpinnerKeyUp(event) {
|
|
143
|
+
event.stopPropagation();
|
|
144
|
+
switch (event.key) {
|
|
145
|
+
case ' ':
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
this.expanded = true;
|
|
148
|
+
afterRender(() => {
|
|
149
|
+
void this.monthCalendarElement.guxFocus(this.value);
|
|
150
|
+
});
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
onSpinnerClick() {
|
|
155
|
+
console.log('onSpinnerClick');
|
|
156
|
+
this.expanded = true;
|
|
157
|
+
}
|
|
158
|
+
getSpinnerLabel(period) {
|
|
159
|
+
if (this.value) {
|
|
160
|
+
const { year, month } = getYearMonthObject(this.value);
|
|
161
|
+
return new Date(Number(year), Number(month) - 1).toLocaleDateString(this.locale, { [period]: DateTimeFormats[period] });
|
|
162
|
+
}
|
|
163
|
+
return this.i18n(period);
|
|
164
|
+
}
|
|
165
|
+
getSpinnerValueNow(period) {
|
|
166
|
+
return this.value ? getYearMonthObject(this.value)[period] : '0';
|
|
167
|
+
}
|
|
168
|
+
getSpinnerValueText() {
|
|
169
|
+
if (this.value) {
|
|
170
|
+
const { year, month } = getYearMonthObject(this.value);
|
|
171
|
+
return new Date(Number(year), Number(month) - 1).toLocaleDateString(this.locale, { year: 'numeric', month: 'long' });
|
|
172
|
+
}
|
|
173
|
+
return this.i18n('unset');
|
|
174
|
+
}
|
|
175
|
+
renderMonthSpinnerButton() {
|
|
176
|
+
return (h("div", { role: "spinbutton", class: {
|
|
177
|
+
'gux-spinner': true,
|
|
178
|
+
'gux-empty': Boolean(!this.value)
|
|
179
|
+
}, tabIndex: this.disabled ? -1 : 0, onKeyDown: (e) => this.onSpinnerKeyDown(e, d => this.incrementMonth(d), this.yearSpinnerElement), onKeyUp: (e) => this.onSpinnerKeyUp(e), onClick: () => this.onSpinnerClick(), ref: (el) => (this.monthSpinnerElement = el), "aria-valuenow": this.getSpinnerValueNow('month'), "aria-valuetext": this.getSpinnerValueText(), "aria-valuemin": "1", "aria-valuemax": "12", "aria-label": this.i18n('month') }, this.getSpinnerLabel('month')));
|
|
180
|
+
}
|
|
181
|
+
renderYearSpinnerButton() {
|
|
182
|
+
return (h("div", { role: "spinbutton", class: {
|
|
183
|
+
'gux-spinner': true,
|
|
184
|
+
'gux-empty': Boolean(!this.value)
|
|
185
|
+
}, tabIndex: this.disabled ? -1 : 0, onKeyDown: (e) => this.onSpinnerKeyDown(e, d => this.incrementYear(d), this.monthSpinnerElement), onKeyUp: (e) => this.onSpinnerKeyUp(e), onClick: () => this.onSpinnerClick(), ref: (el) => (this.yearSpinnerElement = el), "aria-valuenow": this.getSpinnerValueNow('year'), "aria-valuetext": this.getSpinnerValueText(), "aria-valuemin": "0", "aria-label": this.i18n('year') }, this.getSpinnerLabel('year')));
|
|
186
|
+
}
|
|
187
|
+
renderSpinnerButtons() {
|
|
188
|
+
if (YearFirstLocales.includes(this.locale)) {
|
|
189
|
+
return (h("span", { class: "gux-display" }, this.renderYearSpinnerButton(), this.renderMonthSpinnerButton()));
|
|
190
|
+
}
|
|
191
|
+
return (h("span", { class: "gux-display" }, this.renderMonthSpinnerButton(), this.renderYearSpinnerButton()));
|
|
192
|
+
}
|
|
193
|
+
renderCalendarToggleButton() {
|
|
194
|
+
return (h("button", { class: {
|
|
195
|
+
'gux-popup-toggle': true,
|
|
196
|
+
'gux-expanded': this.expanded
|
|
197
|
+
}, ref: (el) => (this.calendarToggleButtonElement = el), type: "button", onClick: () => this.toggleCalendar(), disabled: this.disabled }, h("gux-icon", { "icon-name": "calendar", "screenreader-text": this.i18n('toggleCalendar') })));
|
|
198
|
+
}
|
|
199
|
+
renderTarget() {
|
|
200
|
+
return (h("div", { class: "gux-target", slot: "target" }, this.renderSpinnerButtons(), this.renderCalendarToggleButton()));
|
|
201
|
+
}
|
|
202
|
+
renderPopup() {
|
|
203
|
+
return (h("gux-month-calendar", { slot: "popup", ref: (el) => (this.monthCalendarElement = el), onInput: () => this.onMonthCalendarInput(), value: this.value, min: this.min, max: this.max }));
|
|
204
|
+
}
|
|
205
|
+
render() {
|
|
206
|
+
return (h("gux-popup", { expanded: this.expanded, disabled: this.disabled }, this.renderTarget(), this.renderPopup()));
|
|
207
|
+
}
|
|
208
|
+
get root() { return getElement(this); }
|
|
209
|
+
static get watchers() { return {
|
|
210
|
+
"value": ["onValueUpdate"]
|
|
211
|
+
}; }
|
|
212
|
+
};
|
|
213
|
+
__decorate([
|
|
214
|
+
OnClickOutside({ triggerEvents: 'mousedown' })
|
|
215
|
+
], GuxMonthPicker.prototype, "onClickOutside", null);
|
|
216
|
+
GuxMonthPicker.style = guxMonthPickerCss;
|
|
217
|
+
|
|
218
|
+
export { GuxMonthPicker as gux_month_picker_beta };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxNotificationToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, d as readTask, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxPaginationBetaCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
function hasSlot(element, slotName) {
|
|
5
5
|
return Boolean(element.querySelector(`[slot=${slotName}]`));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
3
3
|
import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
5
5
|
import { c as createPopper } from './popper-f860750c.js';
|
|
6
6
|
|
|
7
7
|
const guxPopoverListCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
3
3
|
import { b as onHiddenChange } from './on-attribute-change-2b01c315.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
5
5
|
import { c as createPopper } from './popper-f860750c.js';
|
|
6
6
|
|
|
7
7
|
const guxPopoverCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:16px;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const loading = "Loading";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
5
5
|
import { c as clamp } from './clamp-6bdb0367.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
3
3
|
import { c as clamp } from './clamp-6bdb0367.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
5
5
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
6
6
|
|
|
7
7
|
const guxRatingCss = ":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxSidePanelCss = "gux-side-panel-legacy aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#2e394c;background-color:#fdfdfd}gux-side-panel-legacy aside.gux-left{flex-direction:row}gux-side-panel-legacy aside.gux-left .gux-panel-content{left:49px}gux-side-panel-legacy aside.gux-right .gux-panel-content{right:49px}gux-side-panel-legacy aside .gux-panel-icons{border:1px solid #e2e6ee}gux-side-panel-legacy aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-legacy aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-legacy aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-legacy aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#2e394c}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-dark-theme gux-side-panel-legacy{color:#fdfdfd}.gux-dark-theme gux-side-panel-legacy aside{background-color:#2e394c}.gux-dark-theme gux-side-panel-legacy aside .gux-panel-icons{border-color:#202937}gux-side-panel-legacy.gux-dark-theme{color:#fdfdfd}gux-side-panel-legacy.gux-dark-theme aside{background-color:#2e394c}gux-side-panel-legacy.gux-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-side-panel-light-theme{color:#2e394c}.gux-light-theme gux-side-panel-legacy{color:#2e394c}gux-side-panel-legacy.gux-light-theme{color:#2e394c}gux-side-panel-legacy{color:#2e394c}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-3a58b2cb.js';
|
|
3
3
|
|
|
4
4
|
const guxSimpleToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:6px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon gux-icon{width:12px;height:12px}.gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
5
5
|
|