genesys-spark-components 4.71.1 → 4.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +2 -2
- package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
- package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +56 -0
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +11 -7666
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
- package/dist/cjs/index-7fb02c8c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/time-zone-72675c4e.js +7661 -0
- package/dist/cjs/{usage-17692cb5.js → usage-1a09f0a1.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +117 -0
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.service.js +11 -0
- package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.service.spec.js +24 -0
- package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.spec.js +24 -0
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +5 -2
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-section.entry.js +5 -5
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +2 -2
- package/dist/esm/gux-blank-state.entry.js +2 -2
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi.entry.js +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button.entry.js +3 -3
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +3 -3
- package/dist/esm/gux-column-manager-item.entry.js +3 -3
- package/dist/esm/gux-column-manager.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +3 -3
- package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
- package/dist/esm/gux-create-option.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +2 -2
- package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +2 -2
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +4 -4
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +4 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_3.entry.js +8 -8
- package/dist/esm/gux-form-field-phone.entry.js +5 -5
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +3 -3
- package/dist/esm/gux-form-field-search.entry.js +4 -4
- package/dist/esm/gux-form-field-select.entry.js +4 -4
- package/dist/esm/gux-form-field-text-like.entry.js +4 -4
- package/dist/esm/gux-form-field-textarea.entry.js +3 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +2 -2
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
- package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta_2.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-selector-card-beta.entry.js +1 -1
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +4 -4
- package/dist/esm/gux-submenu.entry.js +3 -3
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/gux-time-zone-beta.entry.js +52 -0
- package/dist/esm/gux-time-zone-picker-beta.entry.js +4 -7659
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta.entry.js +3 -3
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip.entry.js +3 -3
- package/dist/esm/gux-truncate.entry.js +3 -3
- package/dist/esm/index-da21b737.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/time-zone-49d54a2b.js +7657 -0
- package/dist/esm/{usage-754af9c6.js → usage-cefcd8a7.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-9074b8c3.entry.js → p-0070b91c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-932f72d9.entry.js → p-00b51e67.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-738bc18d.entry.js → p-015ba6c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5dfee03.entry.js → p-043b47f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7110e2e5.entry.js → p-08945bb7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a198ba2.entry.js → p-0f64584e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d08d094c.entry.js → p-0fc47868.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e17baf47.entry.js → p-0ffd7e1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50404f29.entry.js → p-10603d7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40c8eff4.entry.js → p-11e617c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2cda33c7.entry.js → p-1350bbfb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c2e929e.entry.js → p-135393b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-136cb67a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0010b29a.entry.js → p-17af2f7e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-701383c6.entry.js → p-1d4d3e08.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1bed39df.entry.js → p-1eb7929a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b648403.entry.js → p-202d8e02.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-89d22a34.entry.js → p-20c6a057.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fc5af80.entry.js → p-210fc5a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e79a314.entry.js → p-22cc59ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-23207af6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bdd3e64a.entry.js → p-24360aff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a159f63c.entry.js → p-27ac0861.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-282651c5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-89c6211a.entry.js → p-288156e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63eb34eb.entry.js → p-2a91090d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d139d0d.entry.js → p-2cf9cc85.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-648b7228.entry.js → p-2dce8f62.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2ea2e927.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a4da7492.entry.js → p-2f85635f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-01a3b6f0.entry.js → p-32a55544.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a36868ce.entry.js → p-32cf534e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7ec6b7c.entry.js → p-391de3a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-faed7322.entry.js → p-392bd896.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45302703.entry.js → p-3b223133.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b6fa4aa.entry.js → p-3b5f8cb2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3e4e16db.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dbbc6add.entry.js → p-3ec605e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53d21a37.entry.js → p-3f3f8de8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-42a4a814.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4d8c8489.entry.js → p-43b69b39.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e5371b8.entry.js → p-45fbbf0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4fbaeab.entry.js → p-49042143.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f62da98.entry.js → p-4ecdbd68.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b21c1f11.entry.js → p-4f1b9acb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7187d254.entry.js → p-4f495072.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-12b03016.entry.js → p-4f81b5dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-517be33a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c41228d4.entry.js → p-53200064.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ebe6cad.entry.js → p-53ed5d56.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6c4c160.entry.js → p-5420b80d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1bd904f.entry.js → p-5b548ede.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ec1cae1.entry.js → p-5bcc81a6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-341424dc.entry.js → p-5c5bca83.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5c6239a8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e637e262.entry.js → p-61bbdf15.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-66a92305.entry.js → p-66ccb04b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50923f62.entry.js → p-67d68554.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-680095e7.entry.js → p-68268852.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-68a3ce56.js +1 -0
- package/dist/genesys-webcomponents/p-69e0a0c1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b91cdfa1.entry.js → p-6b688128.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-baf3e3cc.entry.js → p-6d8ce079.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9bd76038.entry.js → p-6df452fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-99c09496.entry.js → p-6ef23b98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9411c32c.entry.js → p-72e102a3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5ee8dde.entry.js → p-73d1848a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f98c3a8a.entry.js → p-756d1945.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c93b6c2.entry.js → p-765b748d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edbfd057.entry.js → p-79f9a9c6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e0d11ab.entry.js → p-7d47ec5a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22572f0e.entry.js → p-7f1efb9f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddc55e54.entry.js → p-7f22ae96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab493f11.entry.js → p-7f5c0d4e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93e225d3.entry.js → p-7fe1ff05.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2e9b079d.entry.js → p-842cff65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b0d1f809.entry.js → p-8b7dc8ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45ac424b.entry.js → p-8c27b1bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-684cb665.entry.js → p-8e1e96c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-90f03893.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-aecf0ca0.entry.js → p-92fbe699.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-105b9424.entry.js → p-951867c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8e0105e3.entry.js → p-960ba3ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f61d561.entry.js → p-96726525.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7255674f.entry.js → p-97a0642e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6ef912b.entry.js → p-9884984c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d34e2d20.entry.js → p-9b5200cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2abaf03.entry.js → p-9b9e50cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9d14849b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c0ff07ca.entry.js → p-a25f848f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4005404.entry.js → p-a84a1d0e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64e63b03.entry.js → p-a88349c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5a1207b.js → p-a9a860e1.js} +1 -1
- package/dist/genesys-webcomponents/{p-49a1c24f.entry.js → p-ac1d0f30.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd5d2345.entry.js → p-ad0bbff9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e9819a8.entry.js → p-afc0a78e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5477090.entry.js → p-b468da5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50784423.entry.js → p-b788d73a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fd70b53.entry.js → p-bafe1b71.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bd8f52f1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3a67fd90.entry.js → p-bf3f1e65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4dc7b9d.entry.js → p-c1568759.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0e87fef6.entry.js → p-c1de8ad4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24885aa4.entry.js → p-c263f856.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80c6ff75.entry.js → p-c2ab0235.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-566aece9.entry.js → p-cc0f8a99.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-670489f5.entry.js → p-ce4cb1d0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9771cf6e.entry.js → p-d09c48cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6e97ba2.entry.js → p-d2d33a6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d7ae8598.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-cef459e4.entry.js → p-d7f74483.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1cc32ffd.entry.js → p-db850e5a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a7ae43a.entry.js → p-dc63d3bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45e2c1c6.entry.js → p-e047f9ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c0295b69.entry.js → p-ec5733a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e3a97ee9.entry.js → p-eda0f074.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7838a695.entry.js → p-edd2fe93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ff8d682.entry.js → p-ef69a86d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43acd5f3.entry.js → p-f04898bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9eb60e41.entry.js → p-f1b4d6fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f6a535ba.entry.js +1 -0
- package/dist/genesys-webcomponents/p-f96d2d38.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-cbd98118.entry.js → p-fbf4569d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4c10871.entry.js → p-fd8316fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07ab4beb.entry.js → p-fdd0da67.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9311bdf7.entry.js → p-ff13363a.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-time-zone/gux-time-zone.d.ts +28 -0
- package/dist/types/components/beta/gux-time-zone/gux-time-zone.service.d.ts +3 -0
- package/dist/types/components.d.ts +45 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-000546e7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-08f5ebf9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-11335b9d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-32ea3520.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3817eed4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-61b8dfee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-72d7a903.entry.js +0 -1
- package/dist/genesys-webcomponents/p-91c9d868.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a40f7d99.entry.js +0 -1
- package/dist/genesys-webcomponents/p-becf393f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e00aa6ad.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e3606344.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f07cb132.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f3cd8a99.entry.js +0 -1
@@ -27,6 +27,7 @@
|
|
27
27
|
"components/beta/gux-selector-cards/gux-selector-cards.js",
|
28
28
|
"components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js",
|
29
29
|
"components/beta/gux-time/gux-time.js",
|
30
|
+
"components/beta/gux-time-zone/gux-time-zone.js",
|
30
31
|
"components/beta/gux-time-zone-picker/gux-time-zone-picker.js",
|
31
32
|
"components/beta/gux-tooltip-base/gux-tooltip-base.js",
|
32
33
|
"components/beta/gux-tooltip-beta/gux-tooltip.js",
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
2
|
+
import { trackComponent } from "../../../utils/tracking/usage";
|
3
|
+
import { buildI18nForComponent } from "../../../i18n";
|
4
|
+
import translationResources from "../gux-time-zone-picker/i18n/en.json";
|
5
|
+
import { getLocalizedOffset, shortenZone } from "./gux-time-zone.service";
|
6
|
+
export class GuxTimeZoneBeta {
|
7
|
+
constructor() {
|
8
|
+
this.timeZoneId = undefined;
|
9
|
+
this.offset = undefined;
|
10
|
+
this.surroundOffset = undefined;
|
11
|
+
this.shorten = undefined;
|
12
|
+
}
|
13
|
+
renderZoneDisplay() {
|
14
|
+
let localizedZone = this.i18n(this.timeZoneId);
|
15
|
+
if (this.shorten) {
|
16
|
+
localizedZone = shortenZone(localizedZone);
|
17
|
+
}
|
18
|
+
let displayText = localizedZone;
|
19
|
+
if (this.offset) {
|
20
|
+
const localizedUTC = this.i18n('UTC');
|
21
|
+
const localizedOffset = getLocalizedOffset(localizedUTC, this.timeZoneId);
|
22
|
+
displayText = `${localizedZone} ${localizedOffset}`;
|
23
|
+
if (this.surroundOffset) {
|
24
|
+
displayText = `${localizedZone} (${localizedOffset})`;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return (h("span", null, displayText));
|
28
|
+
}
|
29
|
+
async componentWillLoad() {
|
30
|
+
trackComponent(this.root);
|
31
|
+
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
32
|
+
}
|
33
|
+
render() {
|
34
|
+
return (h(Host, { key: '6ccc0cce8b25630b3a1264a2d6ed37b5bd413ae5' }, this.renderZoneDisplay()));
|
35
|
+
}
|
36
|
+
static get is() { return "gux-time-zone-beta"; }
|
37
|
+
static get encapsulation() { return "shadow"; }
|
38
|
+
static get properties() {
|
39
|
+
return {
|
40
|
+
"timeZoneId": {
|
41
|
+
"type": "string",
|
42
|
+
"mutable": false,
|
43
|
+
"complexType": {
|
44
|
+
"original": "GuxTimeZoneIdentifier",
|
45
|
+
"resolved": "\"Africa/Abidjan\" | \"Africa/Accra\" | \"Africa/Addis_Ababa\" | \"Africa/Algiers\" | \"Africa/Asmara\" | \"Africa/Bamako\" | \"Africa/Bangui\" | \"Africa/Banjul\" | \"Africa/Bissau\" | \"Africa/Blantyre\" | \"Africa/Brazzaville\" | \"Africa/Bujumbura\" | \"Africa/Cairo\" | \"Africa/Casablanca\" | \"Africa/Ceuta\" | \"Africa/Conakry\" | \"Africa/Dakar\" | \"Africa/Dar_es_Salaam\" | \"Africa/Djibouti\" | \"Africa/Douala\" | \"Africa/El_Aaiun\" | \"Africa/Freetown\" | \"Africa/Gaborone\" | \"Africa/Harare\" | \"Africa/Johannesburg\" | \"Africa/Juba\" | \"Africa/Kampala\" | \"Africa/Khartoum\" | \"Africa/Kigali\" | \"Africa/Kinshasa\" | \"Africa/Lagos\" | \"Africa/Libreville\" | \"Africa/Lome\" | \"Africa/Luanda\" | \"Africa/Lubumbashi\" | \"Africa/Lusaka\" | \"Africa/Malabo\" | \"Africa/Maputo\" | \"Africa/Maseru\" | \"Africa/Mbabane\" | \"Africa/Mogadishu\" | \"Africa/Monrovia\" | \"Africa/Nairobi\" | \"Africa/Ndjamena\" | \"Africa/Niamey\" | \"Africa/Nouakchott\" | \"Africa/Ouagadougou\" | \"Africa/Porto-Novo\" | \"Africa/Sao_Tome\" | \"Africa/Tripoli\" | \"Africa/Tunis\" | \"Africa/Windhoek\" | \"America/Adak\" | \"America/Anchorage\" | \"America/Anguilla\" | \"America/Antigua\" | \"America/Araguaina\" | \"America/Argentina/Buenos_Aires\" | \"America/Argentina/Catamarca\" | \"America/Argentina/Cordoba\" | \"America/Argentina/Jujuy\" | \"America/Argentina/La_Rioja\" | \"America/Argentina/Mendoza\" | \"America/Argentina/Rio_Gallegos\" | \"America/Argentina/Salta\" | \"America/Argentina/San_Juan\" | \"America/Argentina/San_Luis\" | \"America/Argentina/Tucuman\" | \"America/Argentina/Ushuaia\" | \"America/Aruba\" | \"America/Asuncion\" | \"America/Atikokan\" | \"America/Bahia\" | \"America/Bahia_Banderas\" | \"America/Barbados\" | \"America/Belem\" | \"America/Belize\" | \"America/Blanc-Sablon\" | \"America/Boa_Vista\" | \"America/Bogota\" | \"America/Boise\" | \"America/Cambridge_Bay\" | \"America/Campo_Grande\" | \"America/Cancun\" | \"America/Caracas\" | \"America/Cayenne\" | \"America/Cayman\" | \"America/Chicago\" | \"America/Chihuahua\" | \"America/Costa_Rica\" | \"America/Creston\" | \"America/Cuiaba\" | \"America/Curacao\" | \"America/Danmarkshavn\" | \"America/Dawson\" | \"America/Dawson_Creek\" | \"America/Denver\" | \"America/Detroit\" | \"America/Dominica\" | \"America/Edmonton\" | \"America/Eirunepe\" | \"America/El_Salvador\" | \"America/Fort_Nelson\" | \"America/Fortaleza\" | \"America/Glace_Bay\" | \"America/Goose_Bay\" | \"America/Grand_Turk\" | \"America/Grenada\" | \"America/Guadeloupe\" | \"America/Guatemala\" | \"America/Guayaquil\" | \"America/Guyana\" | \"America/Halifax\" | \"America/Havana\" | \"America/Hermosillo\" | \"America/Indiana/Indianapolis\" | \"America/Indiana/Knox\" | \"America/Indiana/Marengo\" | \"America/Indiana/Petersburg\" | \"America/Indiana/Tell_City\" | \"America/Indiana/Vevay\" | \"America/Indiana/Vincennes\" | \"America/Indiana/Winamac\" | \"America/Inuvik\" | \"America/Iqaluit\" | \"America/Jamaica\" | \"America/Juneau\" | \"America/Kentucky/Louisville\" | \"America/Kentucky/Monticello\" | \"America/Kralendijk\" | \"America/La_Paz\" | \"America/Lima\" | \"America/Los_Angeles\" | \"America/Lower_Princes\" | \"America/Maceio\" | \"America/Managua\" | \"America/Manaus\" | \"America/Marigot\" | \"America/Martinique\" | \"America/Matamoros\" | \"America/Mazatlan\" | \"America/Menominee\" | \"America/Merida\" | \"America/Metlakatla\" | \"America/Mexico_City\" | \"America/Miquelon\" | \"America/Moncton\" | \"America/Monterrey\" | \"America/Montevideo\" | \"America/Montserrat\" | \"America/Nassau\" | \"America/New_York\" | \"America/Nome\" | \"America/Noronha\" | \"America/North_Dakota/Beulah\" | \"America/North_Dakota/Center\" | \"America/North_Dakota/New_Salem\" | \"America/Nuuk\" | \"America/Ojinaga\" | \"America/Panama\" | \"America/Paramaribo\" | \"America/Phoenix\" | \"America/Port-au-Prince\" | \"America/Port_of_Spain\" | \"America/Porto_Velho\" | \"America/Puerto_Rico\" | \"America/Punta_Arenas\" | \"America/Rankin_Inlet\" | \"America/Recife\" | \"America/Regina\" | \"America/Resolute\" | \"America/Rio_Branco\" | \"America/Santarem\" | \"America/Santiago\" | \"America/Santo_Domingo\" | \"America/Sao_Paulo\" | \"America/Scoresbysund\" | \"America/Sitka\" | \"America/St_Barthelemy\" | \"America/St_Johns\" | \"America/St_Kitts\" | \"America/St_Lucia\" | \"America/St_Thomas\" | \"America/St_Vincent\" | \"America/Swift_Current\" | \"America/Tegucigalpa\" | \"America/Thule\" | \"America/Tijuana\" | \"America/Toronto\" | \"America/Tortola\" | \"America/Vancouver\" | \"America/Whitehorse\" | \"America/Winnipeg\" | \"America/Yakutat\" | \"Antarctica/Casey\" | \"Antarctica/Davis\" | \"Antarctica/DumontDUrville\" | \"Antarctica/Macquarie\" | \"Antarctica/Mawson\" | \"Antarctica/McMurdo\" | \"Antarctica/Palmer\" | \"Antarctica/Rothera\" | \"Antarctica/Syowa\" | \"Antarctica/Troll\" | \"Antarctica/Vostok\" | \"Arctic/Longyearbyen\" | \"Asia/Aden\" | \"Asia/Almaty\" | \"Asia/Amman\" | \"Asia/Anadyr\" | \"Asia/Aqtau\" | \"Asia/Aqtobe\" | \"Asia/Ashgabat\" | \"Asia/Atyrau\" | \"Asia/Baghdad\" | \"Asia/Bahrain\" | \"Asia/Baku\" | \"Asia/Bangkok\" | \"Asia/Barnaul\" | \"Asia/Beirut\" | \"Asia/Bishkek\" | \"Asia/Brunei\" | \"Asia/Chita\" | \"Asia/Choibalsan\" | \"Asia/Colombo\" | \"Asia/Damascus\" | \"Asia/Dhaka\" | \"Asia/Dili\" | \"Asia/Dubai\" | \"Asia/Dushanbe\" | \"Asia/Famagusta\" | \"Asia/Gaza\" | \"Asia/Hebron\" | \"Asia/Ho_Chi_Minh\" | \"Asia/Hong_Kong\" | \"Asia/Hovd\" | \"Asia/Irkutsk\" | \"Asia/Jakarta\" | \"Asia/Jayapura\" | \"Asia/Jerusalem\" | \"Asia/Kabul\" | \"Asia/Kamchatka\" | \"Asia/Karachi\" | \"Asia/Kathmandu\" | \"Asia/Khandyga\" | \"Asia/Kolkata\" | \"Asia/Krasnoyarsk\" | \"Asia/Kuala_Lumpur\" | \"Asia/Kuching\" | \"Asia/Kuwait\" | \"Asia/Macau\" | \"Asia/Magadan\" | \"Asia/Makassar\" | \"Asia/Manila\" | \"Asia/Muscat\" | \"Asia/Nicosia\" | \"Asia/Novokuznetsk\" | \"Asia/Novosibirsk\" | \"Asia/Omsk\" | \"Asia/Oral\" | \"Asia/Phnom_Penh\" | \"Asia/Pontianak\" | \"Asia/Pyongyang\" | \"Asia/Qatar\" | \"Asia/Qostanay\" | \"Asia/Qyzylorda\" | \"Asia/Riyadh\" | \"Asia/Sakhalin\" | \"Asia/Samarkand\" | \"Asia/Seoul\" | \"Asia/Shanghai\" | \"Asia/Singapore\" | \"Asia/Srednekolymsk\" | \"Asia/Taipei\" | \"Asia/Tashkent\" | \"Asia/Tbilisi\" | \"Asia/Tehran\" | \"Asia/Thimphu\" | \"Asia/Tokyo\" | \"Asia/Tomsk\" | \"Asia/Ulaanbaatar\" | \"Asia/Urumqi\" | \"Asia/Ust-Nera\" | \"Asia/Vientiane\" | \"Asia/Vladivostok\" | \"Asia/Yakutsk\" | \"Asia/Yangon\" | \"Asia/Yekaterinburg\" | \"Asia/Yerevan\" | \"Atlantic/Azores\" | \"Atlantic/Bermuda\" | \"Atlantic/Canary\" | \"Atlantic/Cape_Verde\" | \"Atlantic/Faroe\" | \"Atlantic/Madeira\" | \"Atlantic/Reykjavik\" | \"Atlantic/South_Georgia\" | \"Atlantic/St_Helena\" | \"Atlantic/Stanley\" | \"Australia/Adelaide\" | \"Australia/Brisbane\" | \"Australia/Broken_Hill\" | \"Australia/Darwin\" | \"Australia/Eucla\" | \"Australia/Hobart\" | \"Australia/Lindeman\" | \"Australia/Lord_Howe\" | \"Australia/Melbourne\" | \"Australia/Perth\" | \"Australia/Sydney\" | \"CET\" | \"CST6CDT\" | \"EET\" | \"EST\" | \"EST5EDT\" | \"Etc/GMT\" | \"Etc/GMT+1\" | \"Etc/GMT+10\" | \"Etc/GMT+11\" | \"Etc/GMT+12\" | \"Etc/GMT+2\" | \"Etc/GMT+3\" | \"Etc/GMT+4\" | \"Etc/GMT+5\" | \"Etc/GMT+6\" | \"Etc/GMT+7\" | \"Etc/GMT+8\" | \"Etc/GMT+9\" | \"Etc/GMT-1\" | \"Etc/GMT-10\" | \"Etc/GMT-11\" | \"Etc/GMT-12\" | \"Etc/GMT-13\" | \"Etc/GMT-14\" | \"Etc/GMT-2\" | \"Etc/GMT-3\" | \"Etc/GMT-4\" | \"Etc/GMT-5\" | \"Etc/GMT-6\" | \"Etc/GMT-7\" | \"Etc/GMT-8\" | \"Etc/GMT-9\" | \"Etc/UTC\" | \"Europe/Amsterdam\" | \"Europe/Andorra\" | \"Europe/Astrakhan\" | \"Europe/Athens\" | \"Europe/Belgrade\" | \"Europe/Berlin\" | \"Europe/Bratislava\" | \"Europe/Brussels\" | \"Europe/Bucharest\" | \"Europe/Budapest\" | \"Europe/Busingen\" | \"Europe/Chisinau\" | \"Europe/Copenhagen\" | \"Europe/Dublin\" | \"Europe/Gibraltar\" | \"Europe/Guernsey\" | \"Europe/Helsinki\" | \"Europe/Isle_of_Man\" | \"Europe/Istanbul\" | \"Europe/Jersey\" | \"Europe/Kaliningrad\" | \"Europe/Kirov\" | \"Europe/Kyiv\" | \"Europe/Lisbon\" | \"Europe/Ljubljana\" | \"Europe/London\" | \"Europe/Luxembourg\" | \"Europe/Madrid\" | \"Europe/Malta\" | \"Europe/Mariehamn\" | \"Europe/Minsk\" | \"Europe/Monaco\" | \"Europe/Moscow\" | \"Europe/Oslo\" | \"Europe/Paris\" | \"Europe/Podgorica\" | \"Europe/Prague\" | \"Europe/Riga\" | \"Europe/Rome\" | \"Europe/Samara\" | \"Europe/San_Marino\" | \"Europe/Sarajevo\" | \"Europe/Saratov\" | \"Europe/Simferopol\" | \"Europe/Skopje\" | \"Europe/Sofia\" | \"Europe/Stockholm\" | \"Europe/Tallinn\" | \"Europe/Tirane\" | \"Europe/Ulyanovsk\" | \"Europe/Vaduz\" | \"Europe/Vatican\" | \"Europe/Vienna\" | \"Europe/Vilnius\" | \"Europe/Volgograd\" | \"Europe/Warsaw\" | \"Europe/Zagreb\" | \"Europe/Zurich\" | \"HST\" | \"Indian/Antananarivo\" | \"Indian/Chagos\" | \"Indian/Christmas\" | \"Indian/Cocos\" | \"Indian/Comoro\" | \"Indian/Kerguelen\" | \"Indian/Mahe\" | \"Indian/Maldives\" | \"Indian/Mauritius\" | \"Indian/Mayotte\" | \"Indian/Reunion\" | \"MET\" | \"MST\" | \"MST7MDT\" | \"PST8PDT\" | \"Pacific/Apia\" | \"Pacific/Auckland\" | \"Pacific/Bougainville\" | \"Pacific/Chatham\" | \"Pacific/Chuuk\" | \"Pacific/Easter\" | \"Pacific/Efate\" | \"Pacific/Fakaofo\" | \"Pacific/Fiji\" | \"Pacific/Funafuti\" | \"Pacific/Galapagos\" | \"Pacific/Gambier\" | \"Pacific/Guadalcanal\" | \"Pacific/Guam\" | \"Pacific/Honolulu\" | \"Pacific/Kanton\" | \"Pacific/Kiritimati\" | \"Pacific/Kosrae\" | \"Pacific/Kwajalein\" | \"Pacific/Majuro\" | \"Pacific/Marquesas\" | \"Pacific/Midway\" | \"Pacific/Nauru\" | \"Pacific/Niue\" | \"Pacific/Norfolk\" | \"Pacific/Noumea\" | \"Pacific/Pago_Pago\" | \"Pacific/Palau\" | \"Pacific/Pitcairn\" | \"Pacific/Pohnpei\" | \"Pacific/Port_Moresby\" | \"Pacific/Rarotonga\" | \"Pacific/Saipan\" | \"Pacific/Tahiti\" | \"Pacific/Tarawa\" | \"Pacific/Tongatapu\" | \"Pacific/Wake\" | \"Pacific/Wallis\" | \"UTC\" | \"WET\"",
|
46
|
+
"references": {
|
47
|
+
"GuxTimeZoneIdentifier": {
|
48
|
+
"location": "import",
|
49
|
+
"path": "../../../i18n/time-zone/types",
|
50
|
+
"id": "src/i18n/time-zone/types.ts::GuxTimeZoneIdentifier"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"required": false,
|
55
|
+
"optional": false,
|
56
|
+
"docs": {
|
57
|
+
"tags": [],
|
58
|
+
"text": "The id of the time zone to display"
|
59
|
+
},
|
60
|
+
"attribute": "time-zone-id",
|
61
|
+
"reflect": false
|
62
|
+
},
|
63
|
+
"offset": {
|
64
|
+
"type": "boolean",
|
65
|
+
"mutable": false,
|
66
|
+
"complexType": {
|
67
|
+
"original": "boolean",
|
68
|
+
"resolved": "boolean",
|
69
|
+
"references": {}
|
70
|
+
},
|
71
|
+
"required": false,
|
72
|
+
"optional": false,
|
73
|
+
"docs": {
|
74
|
+
"tags": [],
|
75
|
+
"text": "True to display the zone's offset from UTC"
|
76
|
+
},
|
77
|
+
"attribute": "offset",
|
78
|
+
"reflect": false
|
79
|
+
},
|
80
|
+
"surroundOffset": {
|
81
|
+
"type": "boolean",
|
82
|
+
"mutable": false,
|
83
|
+
"complexType": {
|
84
|
+
"original": "boolean",
|
85
|
+
"resolved": "boolean",
|
86
|
+
"references": {}
|
87
|
+
},
|
88
|
+
"required": false,
|
89
|
+
"optional": false,
|
90
|
+
"docs": {
|
91
|
+
"tags": [],
|
92
|
+
"text": "True to display surround the offset with parentheses"
|
93
|
+
},
|
94
|
+
"attribute": "surround-offset",
|
95
|
+
"reflect": false
|
96
|
+
},
|
97
|
+
"shorten": {
|
98
|
+
"type": "boolean",
|
99
|
+
"mutable": false,
|
100
|
+
"complexType": {
|
101
|
+
"original": "boolean",
|
102
|
+
"resolved": "boolean",
|
103
|
+
"references": {}
|
104
|
+
},
|
105
|
+
"required": false,
|
106
|
+
"optional": false,
|
107
|
+
"docs": {
|
108
|
+
"tags": [],
|
109
|
+
"text": "True to shorten the displayed zone name: 'Europe/London' -> 'London'"
|
110
|
+
},
|
111
|
+
"attribute": "shorten",
|
112
|
+
"reflect": false
|
113
|
+
}
|
114
|
+
};
|
115
|
+
}
|
116
|
+
static get elementRef() { return "root"; }
|
117
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { getTimeZoneList, formatOffset } from "../../../utils/date/time-zone";
|
2
|
+
export function shortenZone(zone) {
|
3
|
+
const sections = zone.split('/');
|
4
|
+
return (sections === null || sections === void 0 ? void 0 : sections.pop()) || zone;
|
5
|
+
}
|
6
|
+
export function getLocalizedOffset(localizedUTC, timeZoneId) {
|
7
|
+
const zoneList = getTimeZoneList();
|
8
|
+
const timeZone = zoneList.find(zone => zone.name === timeZoneId);
|
9
|
+
const formattedOffset = formatOffset(timeZone === null || timeZone === void 0 ? void 0 : timeZone.currentTimeOffsetInMinutes);
|
10
|
+
return `${localizedUTC}${formattedOffset}`;
|
11
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { getLocalizedOffset, shortenZone } from "../gux-time-zone.service";
|
2
|
+
describe('gux-time-zone.service', () => {
|
3
|
+
describe('#getLocalizedOffset', () => {
|
4
|
+
const cases = [
|
5
|
+
{ timeZoneId: 'Etc/GMT', expectedOutput: 'UTC+00:00' },
|
6
|
+
{ timeZoneId: 'Etc/GMT-1', expectedOutput: 'UTC+01:00' }
|
7
|
+
];
|
8
|
+
cases.forEach(({ timeZoneId, expectedOutput }) => {
|
9
|
+
it(`should work as expected for "${timeZoneId}"`, async () => {
|
10
|
+
expect(getLocalizedOffset('UTC', timeZoneId)).toBe(expectedOutput);
|
11
|
+
});
|
12
|
+
});
|
13
|
+
});
|
14
|
+
describe('#shortenZone', () => {
|
15
|
+
[
|
16
|
+
{ timeZone: 'Etc/GMT', expectedOutput: 'GMT' },
|
17
|
+
{ timeZone: 'Europe/London', expectedOutput: 'London' }
|
18
|
+
].forEach(({ timeZone, expectedOutput }) => {
|
19
|
+
it(`should work as expected for "${timeZone}"`, async () => {
|
20
|
+
expect(shortenZone(timeZone)).toBe(expectedOutput);
|
21
|
+
});
|
22
|
+
});
|
23
|
+
});
|
24
|
+
});
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { getLocalizedOffset, shortenZone } from "../gux-time-zone.service";
|
2
|
+
describe('gux-time-zone.service', () => {
|
3
|
+
describe('#getLocalizedOffset', () => {
|
4
|
+
const cases = [
|
5
|
+
{ timeZoneId: 'Etc/GMT', expectedOutput: 'UTC+00:00' },
|
6
|
+
{ timeZoneId: 'Etc/GMT-1', expectedOutput: 'UTC+01:00' }
|
7
|
+
];
|
8
|
+
cases.forEach(({ timeZoneId, expectedOutput }) => {
|
9
|
+
it(`should work as expected for "${timeZoneId}"`, async () => {
|
10
|
+
expect(getLocalizedOffset('UTC', timeZoneId)).toBe(expectedOutput);
|
11
|
+
});
|
12
|
+
});
|
13
|
+
});
|
14
|
+
describe('#shortenZone', () => {
|
15
|
+
[
|
16
|
+
{ timeZone: 'Etc/GMT', expectedOutput: 'GMT' },
|
17
|
+
{ timeZone: 'Europe/London', expectedOutput: 'London' }
|
18
|
+
].forEach(({ timeZone, expectedOutput }) => {
|
19
|
+
it(`should work as expected for "${timeZone}"`, async () => {
|
20
|
+
expect(shortenZone(timeZone)).toBe(expectedOutput);
|
21
|
+
});
|
22
|
+
});
|
23
|
+
});
|
24
|
+
});
|
@@ -149,11 +149,11 @@ export class GuxTimeZonePickerBeta {
|
|
149
149
|
return (h("gux-option-group-beta", { label: this.i18n('all') }, this.timeZoneOptionElements));
|
150
150
|
}
|
151
151
|
render() {
|
152
|
-
return (h("gux-dropdown", { key: '
|
152
|
+
return (h("gux-dropdown", { key: 'e7269ca7f2756dc8554b5898c2ef9a0d10def291', class: {
|
153
153
|
'has-defaults': !!this.workspaceDefault ||
|
154
154
|
!!this.localDefault ||
|
155
155
|
!!this.customDefault
|
156
|
-
}, "filter-type": "custom", placeholder: this.i18n('selectZone'), value: this.value, hasError: this.hasError, disabled: this.disabled }, h("gux-listbox", { key: '
|
156
|
+
}, "filter-type": "custom", placeholder: this.i18n('selectZone'), value: this.value, hasError: this.hasError, disabled: this.disabled }, h("gux-listbox", { key: 'e67ad005d7ad2979ce77604bcbe9a37af551cf3a', "aria-label": this.i18n('timeZones') }, this.renderDefaultsList(), this.renderAllTimeZoneOptionsList())));
|
157
157
|
}
|
158
158
|
static get is() { return "gux-time-zone-picker-beta"; }
|
159
159
|
static get encapsulation() { return "shadow"; }
|
@@ -113,10 +113,10 @@ export class GuxTooltipBase {
|
|
113
113
|
this.disconnectForElement();
|
114
114
|
}
|
115
115
|
render() {
|
116
|
-
return (h(Host, { key: '
|
116
|
+
return (h(Host, { key: '5d604f035ff09b11a9988fb2cd07f64295bb5f2e', id: this.tooltipId ? undefined : this.id, role: this.tooltipId ? undefined : 'tooltip', class: { 'gux-show': this.isShown } }, h("div", { key: 'eda79ee14789a5f853a24fe5d78d79e1c603bf96', class: {
|
117
117
|
'gux-container': true,
|
118
118
|
[`gux-${this.accent}`]: true
|
119
|
-
}, "data-placement": this.placement }, h("slot", { key: '
|
119
|
+
}, "data-placement": this.placement }, h("slot", { key: '288d540686ffdc316efc1cfc8888a5c8c4857569', name: "content" }))));
|
120
120
|
}
|
121
121
|
static get is() { return "gux-tooltip-base-beta"; }
|
122
122
|
static get encapsulation() { return "shadow"; }
|
@@ -52,7 +52,7 @@ export class GuxTooltip {
|
|
52
52
|
}
|
53
53
|
}
|
54
54
|
render() {
|
55
|
-
return (h(Host, { key: '
|
55
|
+
return (h(Host, { key: 'b5178ebf17e5693ab8db31a7f28b4fbe52bd22b9', id: this.id, role: "tooltip" }, h("gux-tooltip-base-beta", { key: 'b02dc1fdf2963b08dc9c62367dc9256527c0b93d', forElement: this.forElement, placement: this.placement, accent: this.accent, tooltipId: this.id, ref: el => (this.baseTooltip = el) }, h("span", { key: '11dbf20035dc599ab12b7ee8b511077c254f244d', slot: "content" }, h("slot", { key: '3d97868478eae5d2f8737df2f7eac3ce4e509c22', name: "content" }, h("slot", { key: 'c56094a3a632234f557e6fb571e6082e1faeb550' }))))));
|
56
56
|
}
|
57
57
|
static get is() { return "gux-tooltip-beta"; }
|
58
58
|
static get encapsulation() { return "shadow"; }
|
@@ -12,7 +12,7 @@ export class GuxActionToast {
|
|
12
12
|
trackComponent(this.root);
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: 'af136a9885999cccdbdc8690c7c02b797ca5dcd4' }, h("div", { key: '9c7299137339a879a0554755c8dc6d6b68bb221d', class: "gux-header" }, h("div", { key: '9b5b6bb50e40351bc501c9c51cc3b85f3e3d9710', class: "gux-icon" }, h("slot", { key: 'efe924bd541c04b47229797f4a2ae473dcb9309e', name: "icon" })), h("div", { key: 'b61a8cf1bf34249e2923dbd0f76526fc65cbdd45', class: "gux-title" }, h("slot", { key: 'd06a69056f2ef93fc5fae29f6029b671334db287', name: "title" }))), h("div", { key: '2e3a6ffc37a21eafe2f1b2c1bdc07150a5f88404', class: "gux-message" }, h("slot", { key: '2ccdc460690d19b5f6cba599e263cb492beab9a4', name: "message" })), h("div", { key: 'f0c9f0279cb97b0e275e055dc519396cf0d8f4e3', class: "gux-action-buttons" }, h("div", { key: '7c0c0fe61ce1326b504e51e53ef2adb117bb2bd3', class: "gux-positive-button" }, h("slot", { key: '854221d761125bb2ec95ab790da675c82901b99f', name: "positive-button" })), h("div", { key: 'a26a8e9733ebc110ce8474247deae91c9f8e855b', class: "gux-negative-button" }, h("slot", { key: '74198f3fa2448029ee7da523c3ae247a731cbe4d', name: "negative-button" })))));
|
16
16
|
}
|
17
17
|
static get is() { return "gux-action-toast-legacy"; }
|
18
18
|
static get encapsulation() { return "shadow"; }
|
@@ -58,7 +58,7 @@ export class GuxDropdownOption {
|
|
58
58
|
};
|
59
59
|
}
|
60
60
|
render() {
|
61
|
-
return (h("div", { key: '
|
61
|
+
return (h("div", { key: '08a4fc54561065af5a7771536dd940997acf4724', class: "gux-dropdown-option", title: this.text }, this.textWithHighlights()));
|
62
62
|
}
|
63
63
|
textWithHighlights() {
|
64
64
|
if (!this.highlight || !this.text) {
|
package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js
CHANGED
@@ -70,9 +70,9 @@ export class GuxAdvancedDropdownLegacy {
|
|
70
70
|
}
|
71
71
|
}
|
72
72
|
render() {
|
73
|
-
return (h("gux-popup", { key: '
|
73
|
+
return (h("gux-popup", { key: 'b1ed0d948a717023a174fce66eb8e7ab956fda9e', expanded: this.opened, disabled: this.disabled }, h("div", { key: '7713343b259cb9055a7d01c5221ba19de782f62d', slot: "target", class: "gux-select-field", onMouseDown: () => this.inputMouseDown() }, h("a", { key: '7451633bff5436adf1b96603e499ac92c5457176', ref: el => (this.inputBox = el), class: "gux-select-input", "aria-labelledby": this.srLabelledby, tabindex: "0", onKeyDown: e => this.inputKeyDown(e) }, this.placeholder && !this.value && (h("span", { class: "gux-select-placeholder", title: this.placeholder }, this.placeholder)), this.value && (h("span", { class: "gux-select-value", title: this.value }, this.value))), h("div", { key: 'b28b98cf45eb39d24d89ff7453924bb74874e87f', class: "gux-icon-wrapper" }, h("gux-icon", { key: 'e37cd0b8b8abb85c2a3be120895c60dcb00cea82', decorative: true, "icon-name": "custom/chevron-down-small-regular" }))), h("div", { key: 'c7dbe1e09bcf01c93aba4d9e050cf434e18424c0', slot: "popup", class: "gux-advanced-dropdown-menu" }, h("div", { key: '6d92efdd680103ebf1be0d4518add7e826f06d91', class: "gux-dropdown-menu-container" }, h("gux-form-field-search", { key: '4ec46eff060a1bf1f32d3679c7cd48ba95de12ae', "label-position": "screenreader" }, h("label", { key: '21d53aa47bc183e2c0858e6f983eb6dbec8fdbd5', slot: "label" }, this.i18n('searchAria')), h("input", { key: '86d847f7ef985cdc2b0a3beddad4a956c9eb16c5', slot: "input", type: "search", onInput: (event) => {
|
74
74
|
this.handleSearchInput(event);
|
75
|
-
}, ref: el => (this.searchInput = el) })), h("div", { key: '
|
75
|
+
}, ref: el => (this.searchInput = el) })), h("div", { key: 'fe2a51e57e14bb2273ce26ab2d6b219b79382a52', class: "gux-dropdown-options", style: { maxHeight: this.dropdownHeight }, onKeyDown: e => this.optionsKeyDown(e) }, h("slot", { key: 'f861237c880630e2db9539a2e6a42453571875d4' }))))));
|
76
76
|
}
|
77
77
|
updateSelectionState() {
|
78
78
|
this.selectionOptions = this.getSelectionOptions();
|
package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js
CHANGED
@@ -38,10 +38,10 @@ export class GuxDisclosureButtonLegacy {
|
|
38
38
|
this.updateIcon();
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (h("div", { key: '
|
41
|
+
return (h("div", { key: 'ffc8f32169a0a4c4728950839c51d7a2561d934d', class: `gux-disclosure-button-container gux-${this.position}` }, h("button", { key: '94f3e64b73b606200397245a5b17702f4347ba47', class: "gux-disclosure-button", onClick: () => this.changeState(), "aria-controls": this.panelId, "aria-expanded": this.isOpen.toString(), "aria-label": this.label || this.i18n('defaultLabel') }, h("gux-icon", { key: '5aa898ae60e866e699ab7ac10114c46feefe179c', "icon-name": `${this.icon}`, decorative: true })), h("div", { key: '149f1d381c3cef6a2be96c120144c259b6612256', id: this.panelId, class: {
|
42
42
|
'gux-disclosure-panel': true,
|
43
43
|
'gux-active': this.isOpen
|
44
|
-
}, role: "region" }, h("slot", { key: '
|
44
|
+
}, role: "region" }, h("slot", { key: 'e6f5aa81b7b9cf488aba2a4caf6e191a39b353d6', name: "panel-content" }))));
|
45
45
|
}
|
46
46
|
static get is() { return "gux-disclosure-button-legacy"; }
|
47
47
|
static get encapsulation() { return "shadow"; }
|
@@ -42,10 +42,10 @@ export class GuxModalLegacy {
|
|
42
42
|
const hasModalTitleSlot = this.hasModalTitleSlot();
|
43
43
|
const hasFooterButtons = this.hasFooterButtons();
|
44
44
|
const titleID = randomHTMLId();
|
45
|
-
return (h("div", { key: '
|
45
|
+
return (h("div", { key: '9a16807e6e0c105a71d9a6beae23f0b6cf8562ab', class: "gux-modal", role: "dialog", "aria-modal": "true", "aria-labelledby": hasModalTitleSlot ? titleID : null }, h("div", { key: '9bffe5f595358ea8b8d2ba6da3d395b79bffb540', class: `gux-modal-container gux-${this.size}` }, this.renderModalTrapFocusEl(), hasModalTitleSlot && (h("h1", { class: "gux-modal-header", id: titleID }, h("slot", { name: "title" }))), h("gux-dismiss-button", { key: 'e3c64ff9a89bd4d4aa0bb9fb23f829c2ef4acb62', onClick: this.onDismissHandler.bind(this), ref: el => (this.dismissButton = el) }), h("div", { key: '8b087f57d3d764b90e51cded53d9b664e5cdf144', class: {
|
46
46
|
'gux-modal-content': true,
|
47
47
|
'gux-no-buttons': !hasFooterButtons
|
48
|
-
} }, h("p", { key: '
|
48
|
+
} }, h("p", { key: 'adbb48bc1fad4234f0e537cd5ef56d13ee003081' }, h("slot", { key: 'e38a4dc040385ad162ce8a79e04c8b69dd98968a', name: "content" }))), hasFooterButtons && (h("div", { class: "gux-button-footer" }, h("div", { class: "gux-left-align-buttons" }, h("slot", { name: "left-align-buttons" })), h("div", { class: "gux-right-align-buttons" }, h("slot", { name: "right-align-buttons" })))), this.renderModalTrapFocusEl())));
|
49
49
|
}
|
50
50
|
// When trap-focus is enabled, focusing this element
|
51
51
|
// will immediately redirect focus back to the dismiss button at the top of the modal.
|
package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js
CHANGED
@@ -13,7 +13,7 @@ export class GuxNotificationToast {
|
|
13
13
|
trackComponent(this.root, { variant: this.accent });
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h(Host, { key: '
|
16
|
+
return (h(Host, { key: '978b1d23bcd30f574551b2e58b63cccfffc097d3' }, h("div", { key: '7f5dfd3ee78527cb320bcdde8fec800f0127a5fa', class: `gux-icon gux-${this.accent}` }, h("slot", { key: '8a0f5e9e1551804fe77405705f5c4f88d9b2c58a', name: "icon" })), h("div", { key: '97ca93fc9cdc7381c86f43b92b3628e353158886', class: "gux-content" }, h("gux-truncate", { key: 'abd6c01f9bf95b85b0f7dc21bcbd4511cbc8a85c', class: "gux-title", "max-lines": 1 }, h("slot", { key: '139d028b7826aba19a05df7894234879ef8469de', name: "title" })), h("gux-truncate", { key: '47a96015b193db99af78974cc072d21c38b86eac', class: "gux-message", "max-lines": 2 }, h("slot", { key: '7368f74d15255824fcd7cb8ea547d08a8ac808c4', name: "message" }))), h("gux-dismiss-button", { key: '21088f5d0d3bcfd8510ae85b268c2b46ad749f7a', onClick: this.onDismissClickHandler.bind(this) })));
|
17
17
|
}
|
18
18
|
onDismissClickHandler(event) {
|
19
19
|
event.stopPropagation();
|
@@ -71,7 +71,7 @@ export class GuxPaginationButtonsLegacy {
|
|
71
71
|
this.i18n = await buildI18nForComponent(this.root, paginationResources);
|
72
72
|
}
|
73
73
|
render() {
|
74
|
-
return (h("div", { key: '
|
74
|
+
return (h("div", { key: '1ba9d8787e480c7021c17300467bd8439cfaebb2', class: `gux-pagination-buttons-container gux-${this.layout}` }, h("div", { key: '1ee5bb3e2077867292f78d04a62fa9e1e7a31305', class: "gux-pagination-buttons-group" }, h("gux-button-slot", { key: '45ceb944e2c801b924c83e10ff9877cf7656278f', accent: "ghost" }, h("button", { key: '4abc9326de1c1ee2e61425a6c7af95812d1e0f99', title: this.i18n('first'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) }, h("gux-icon", { key: 'bd76234d0a1624fad7f573aef2db43a7080ef810', decorative: true, "icon-name": "fa/chevrons-left-regular" }))), h("gux-button-slot", { key: 'ddda5017fa14cab941d75134a7b9afba2151173f', accent: "ghost" }, h("button", { key: '641d7f306ce8a1b6a4ec27a98c46cbc5db21ac11', title: this.i18n('previous'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) }, h("gux-icon", { key: 'd1dd39d206038d611a4c3ddc4ad057f9a2544964', decorative: true, "icon-name": "custom/chevron-left-small-regular" })))), this.getPagePicker(this.layout), h("div", { key: '940f377147a7e686d497145caacff2bc8230deec', class: "gux-pagination-buttons-group" }, h("gux-button-slot", { key: '7014ee3ca1e09d9e696f933559d4b392dc396733', accent: "ghost" }, h("button", { key: 'b49f45246377101d3a2cd8bafb5aa81791ac296c', title: this.i18n('next'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) }, h("gux-icon", { key: '6e865485f7294c4514ac0acdb0f466af1f333029', decorative: true, "icon-name": "custom/chevron-right-small-regular" }))), h("gux-button-slot", { key: 'b54fe3061e234266558b6819bb0f46ccd23988d6', accent: "ghost" }, h("button", { key: '049fbe63c206697a3d963229260d36672b5c3e1c', title: this.i18n('last'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) }, h("gux-icon", { key: 'efa7910f4c07919e48505d8f3fbf97dd60591790', decorative: true, "icon-name": "fa/chevrons-right-regular" }))))));
|
75
75
|
}
|
76
76
|
static get is() { return "gux-pagination-buttons-legacy"; }
|
77
77
|
static get originalStyleUrls() {
|
@@ -23,10 +23,10 @@ export class GuxPaginationItemCountsLegacy {
|
|
23
23
|
this.i18n = await buildI18nForComponent(this.root, paginationResources);
|
24
24
|
}
|
25
25
|
render() {
|
26
|
-
return (h("div", { key: '
|
26
|
+
return (h("div", { key: '9304ff0a9db8b65d2511944cad916bcba67d4376', class: "gux-pagination-item-counts-container" }, h("span", { key: '3da01bf6c035582d09f55a8d92d00da25ce4d175', class: "gux-pagination-item-counts-range" }, this.i18n('itemCountDisplay', {
|
27
27
|
firstItem: this.firstItem,
|
28
28
|
lastItem: this.lastItem
|
29
|
-
})), h("span", { key: '
|
29
|
+
})), h("span", { key: '1350e0c3bd2a3511794bd2deca9d7a028406a09f' }, this.i18n('totalItems', { totalItems: this.totalItems }))));
|
30
30
|
}
|
31
31
|
static get is() { return "gux-pagination-item-counts-legacy"; }
|
32
32
|
static get originalStyleUrls() {
|
@@ -19,7 +19,7 @@ export class GuxPaginationItemsPerPageLegacy {
|
|
19
19
|
}) }, h("gux-listbox", { "aria-label": this.i18n('itemsPerPage') }, h("gux-option", { value: "25" }, "25"), h("gux-option", { value: "50" }, "50"), h("gux-option", { value: "75" }, "75"), h("gux-option", { value: "100" }, "100"))));
|
20
20
|
}
|
21
21
|
render() {
|
22
|
-
return (h("div", { key: '
|
22
|
+
return (h("div", { key: 'c3377da39459bbc3d6004183e9d89440da52cc9f', class: "gux-pagination-items-per-page-container" }, h("div", { key: '0b78effdcc262e2a36ed9329f704e2166dfe2197', class: "gux-pagination-items-per-page-picker" }, this.getDropdown()), h("div", { key: '481648a816b2fb47f80c3991e1937141e06b2965', class: "gux-pagination-per-page" }, this.i18n('perPage'))));
|
23
23
|
}
|
24
24
|
static get is() { return "gux-pagination-items-per-page-legacy"; }
|
25
25
|
static get originalStyleUrls() {
|
@@ -58,7 +58,7 @@ export class GuxPaginationLegacy {
|
|
58
58
|
this.currentPage = this.calculateCurrentPage();
|
59
59
|
}
|
60
60
|
render() {
|
61
|
-
return (h("div", { key: '
|
61
|
+
return (h("div", { key: '3abd9cd00f35121bb9d6b54830ad8d022fdc585e', class: "gux-pagination-container" }, this.getPaginationInfoElement(this.layout), h("div", { key: '61b560aeaba8051bd9db516307751245a58dd9ba', class: "gux-pagination-change" }, h("gux-pagination-buttons-legacy", { key: 'eb450dcca3fda823374277c3e0f93c25fa36ac39', layout: this.layout, "current-page": this.currentPage, "total-pages": this.totalPages, onInternalcurrentpagechange: this.handleInternalcurrentpagechange.bind(this) }))));
|
62
62
|
}
|
63
63
|
static get is() { return "gux-pagination-legacy"; }
|
64
64
|
static get encapsulation() { return "shadow"; }
|
@@ -12,7 +12,7 @@ export class GuxSimpleToast {
|
|
12
12
|
trackComponent(this.root, { variant: this.accent });
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: '552a467ee600a8568d77cf04a85c88bb6617197b' }, h("div", { key: '03a52eb88b0d2c301b6d3305cc79e25a3a65683d', class: `gux-icon gux-${this.accent}` }, h("slot", { key: '73eee5be7add47429c4b602121807e37249f6e1b', name: "icon" })), h("gux-truncate", { key: '14799c29f059d238523c8d938912f80ff2c51d4c', class: "gux-message", "max-lines": 2 }, h("slot", { key: 'd247671efca8f06989f6effded3878ec93db7d48', name: "message" })), h("gux-dismiss-button", { key: 'c8f2b116e2d53355ac89e54f80e8dc0c98538bac', class: "gux-dismiss", position: "inherit", onClick: this.onDismissClickHandler.bind(this) })));
|
16
16
|
}
|
17
17
|
onDismissClickHandler(event) {
|
18
18
|
event.stopPropagation();
|
package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js
CHANGED
@@ -14,7 +14,7 @@ export class GuxSwitchItem {
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return (h(Host, { key: '
|
17
|
+
return (h(Host, { key: '00fb2c57bc8aac76293178267566815ca424a46d', class: { 'gux-selected': this.selected } }, h("button", { key: '1253f3f431a9e8a7aebfe33bd803850253d9ce7f', type: "button", class: "gux-switch-item", disabled: this.disabled }, h("slot", { key: '3a24e458b5f97833060acaf6c9b0d22c7997fca0' }))));
|
18
18
|
}
|
19
19
|
static get is() { return "gux-switch-item"; }
|
20
20
|
static get originalStyleUrls() {
|
@@ -31,7 +31,7 @@ export class GuxSwitch {
|
|
31
31
|
});
|
32
32
|
}
|
33
33
|
render() {
|
34
|
-
return (h(Host, { key: '
|
34
|
+
return (h(Host, { key: 'b22773f53c2513d1bee2211386c042013a7050bc', role: "group", class: `gux-${this.layout}` }, h("slot", { key: '69c6fe16985e36c683e3af75c414078719bc0664', onSlotchange: this.slotChanged.bind(this) })));
|
35
35
|
}
|
36
36
|
static get is() { return "gux-switch-legacy"; }
|
37
37
|
static get encapsulation() { return "shadow"; }
|
@@ -44,20 +44,20 @@ export class GuxAccordionSection {
|
|
44
44
|
this.hasIconSlot = !!this.root.querySelector('[slot="icon"]');
|
45
45
|
}
|
46
46
|
render() {
|
47
|
-
return (h("section", { key: '
|
47
|
+
return (h("section", { key: 'e17ac6e3946d8140a03bdbb1639297f0d1ec0a7f', class: { 'gux-disabled': this.disabled } }, h("div", { key: '7a9a8f7cb7a21180f86ff8b09eab6010656bf340', id: this.headerId, role: "heading", "aria-level": this.headingLevel }, h("button", { key: 'e0d8c0b268c2b1f4c45987d482b31560a16a26f9', class: {
|
48
48
|
'gux-header': true,
|
49
49
|
'gux-reverse-headings': this.reverseHeadings
|
50
|
-
}, type: "button", "aria-expanded": this.open.toString(), "aria-controls": this.sectionId, disabled: this.disabled, onClick: this.toggle.bind(this) }, this.hasIconSlot && h("slot", { name: "icon" }), h("div", { key: '
|
50
|
+
}, type: "button", "aria-expanded": this.open.toString(), "aria-controls": this.sectionId, disabled: this.disabled, onClick: this.toggle.bind(this) }, this.hasIconSlot && h("slot", { name: "icon" }), h("div", { key: '93a5cac45edac5440d775e0b1a14fd9a53dd2907', class: {
|
51
51
|
'gux-header-text': true
|
52
|
-
} }, h("slot", { key: '
|
52
|
+
} }, h("slot", { key: '0c134faac685c4a31515e5080547adef9ae3bb89', onSlotchange: () => this.handleSlotChange('header'), name: "header" }), h("slot", { key: '0e50e6b248a2b7365d179af6e47126e7fe7db4f2', onSlotchange: () => this.handleSlotChange('subheader'), name: "subheader" })), h("div", { key: 'c929a69cb3740070fa8f8bf55057deda84dbaa7d', class: {
|
53
53
|
'gux-header-icon': true,
|
54
54
|
'gux-expanded': this.open,
|
55
55
|
'gux-arrow-position-start': this.isArrowPositionBeforeText()
|
56
|
-
} }, h("gux-icon", { key: '
|
56
|
+
} }, h("gux-icon", { key: 'c31848c13ad3db2d95e6b9e0929d1707341ab031', decorative: true, "icon-name": "custom/chevron-down-small-regular" })))), h("div", { key: 'cd1f4e7025c55c3cf5462645073bd59e2e79349c', id: this.sectionId, role: "region", "aria-labelledby": this.headerId, class: {
|
57
57
|
'gux-content': true,
|
58
58
|
'gux-expanded': this.open,
|
59
59
|
'gux-text-content-layout': this.contentLayout === 'text'
|
60
|
-
} }, h("slot", { key: '
|
60
|
+
} }, h("slot", { key: 'd7f195a2f41508999deec8ec6a546676756c115f', name: "content" }))));
|
61
61
|
}
|
62
62
|
static get is() { return "gux-accordion-section"; }
|
63
63
|
static get encapsulation() { return "shadow"; }
|
@@ -36,7 +36,7 @@ export class GuxAccordion {
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
render() {
|
39
|
-
return (h("slot", { key: '
|
39
|
+
return (h("slot", { key: 'dc56ec212bd493738002e610fbf5f69d4a84a321' }));
|
40
40
|
}
|
41
41
|
static get is() { return "gux-accordion"; }
|
42
42
|
static get encapsulation() { return "shadow"; }
|
@@ -115,7 +115,7 @@ export class GuxActionButton {
|
|
115
115
|
this.i18n = await buildI18nForComponent(this.root, defaultResources);
|
116
116
|
}
|
117
117
|
render() {
|
118
|
-
return (h("div", { key: '
|
118
|
+
return (h("div", { key: '35db406944257d9340a622c522875b119289b0f5', class: "gux-action-button-container" }, h("gux-popup", { key: 'aef35b2f588303b5859b277f50b997e8b5d170ca', expanded: this.isOpen, disabled: this.disabled, placement: "bottom-end", "exceed-target-width": true }, h("div", { key: 'cf506b4a4495f7b65526bac7793c489effa95acb', slot: "target", class: "gux-action-button-container" }, h("gux-button-slot", { key: 'e0d60e8c889dcb1c28425f9bb894a25e6b398ec0', class: "gux-action-button", accent: getGuxActionButtonAccent(this.accent) }, h("button", { key: '201d9670313375712594981c6bb5fbef1e82bf9b', type: this.type, disabled: this.disabled, onClick: () => this.onActionClick() }, h("slot", { key: '81653cae34cc63a6830390d30b187680db9b3abb', name: "title" }))), h("gux-button-slot", { key: 'e8ef9c8caacbc3f8077609ab6b6ad15ad89c69c8', class: "gux-dropdown-button", accent: getGuxActionButtonAccent(this.accent) }, h("button", { key: 'a4edbc69d58db50934dfe4e841d82d48c9d7034b', type: "button", disabled: this.disabled, ref: el => (this.dropdownButton = el), onMouseUp: () => this.toggle(), "aria-haspopup": "true", "aria-expanded": this.isOpen.toString(), "aria-label": this.i18n('moreOptions') }, h("gux-icon", { key: '47c76dd50e8659d6cd31c6102631d3b25a9b8bde', decorative: true, "icon-name": "custom/chevron-down-small-regular" })))), h("div", { key: 'e3b47b5109fbf0baeaaa5bd483b1e673778f4509', class: "gux-list-container", slot: "popup" }, h("gux-list", { key: '85a72141778c8cb50986822cdf15980bd649b3ef', onClick: (e) => this.onListClick(e), ref: el => (this.listElement = el) }, h("slot", { key: '95c2763f828efbc74ec33a8ca25581a461bd98fa' }))))));
|
119
119
|
}
|
120
120
|
static get is() { return "gux-action-button"; }
|
121
121
|
static get encapsulation() { return "shadow"; }
|
@@ -33,7 +33,7 @@ export class GuxBadge {
|
|
33
33
|
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
34
34
|
}
|
35
35
|
render() {
|
36
|
-
return (h("div", { key: '
|
36
|
+
return (h("div", { key: '8686dd40d813d74bfc362e442fe3621040b1142c', class: {
|
37
37
|
'gux-badge': true,
|
38
38
|
[`gux-${this.accent}`]: true,
|
39
39
|
'gux-bold': this.bold
|
@@ -35,7 +35,7 @@ export class GuxBlankState {
|
|
35
35
|
this.hasCallToAction = hasSlot(this.root, 'call-to-action');
|
36
36
|
}
|
37
37
|
render() {
|
38
|
-
return (h("div", { key: '
|
38
|
+
return (h("div", { key: '7e514e368c4267dafeeb7f1c6da8db6dd496ffd1', class: "gux-container" }, h("div", { key: '40b07cb4856fe789cb2f004cdaa94bee58ec9470', class: "gux-image" }, h("slot", { key: '34c73b345f050cf759202b45bffb2517aec83f4b', name: "image" })), h("div", { key: 'c13519b747979f6a449750896991e492948c57e8', class: "gux-message" }, h("slot", { key: '9265e265ff286653cd0205f2222d0859a131787e', name: "primary-message" })), h("div", { key: '329205bee7cf4be7315ec6f7ac63ee43285b30b6', class: "gux-guidance" }, h("slot", { key: 'e0a927b555b4b079fb927925bb5756c6ba93e300', name: "additional-guidance" })), this.renderCallToActionSlot()));
|
39
39
|
}
|
40
40
|
static get is() { return "gux-blank-state"; }
|
41
41
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js
CHANGED
@@ -38,7 +38,7 @@ export class GuxBreadcrumbItem {
|
|
38
38
|
}
|
39
39
|
render() {
|
40
40
|
const accent = this.getAccent();
|
41
|
-
return (h(Host, { key: '
|
41
|
+
return (h(Host, { key: 'bbc8f9fdbeb85138ed1127c77c8132d6d93134a6', role: "listitem" }, h("span", { key: 'a021d9e878b526c243d52adcaecd6dfc477fef6c', class: `gux-breadcrumb-generation gux-${accent}` }, this.getBreadcrumb(), this.getSeparatorIcon())));
|
42
42
|
}
|
43
43
|
static get is() { return "gux-breadcrumb-item"; }
|
44
44
|
static get encapsulation() { return "shadow"; }
|
@@ -19,7 +19,7 @@ export class GuxBreadcrumbs {
|
|
19
19
|
Array.from(this.root.children).forEach(child => forceUpdate(child));
|
20
20
|
}
|
21
21
|
render() {
|
22
|
-
return (h("nav", { key: '
|
22
|
+
return (h("nav", { key: 'cd80398b510699e4106c23d9ff371d6cb1ccd7cc', "aria-label": this.i18n('breadcrumbs') }, h("ol", { key: 'fc9defd6e0b44c64c2d42646a01f5e6a8ab0f2c5' }, h("slot", { key: 'f7c68255a50ce75964be0e7ad9b3ff79f655a606', onSlotchange: this.onSlotChange.bind(this) }))));
|
23
23
|
}
|
24
24
|
static get is() { return "gux-breadcrumbs"; }
|
25
25
|
static get encapsulation() { return "shadow"; }
|
@@ -18,10 +18,10 @@ export class GuxButton {
|
|
18
18
|
trackComponent(this.root, { variant: this.accent });
|
19
19
|
}
|
20
20
|
render() {
|
21
|
-
return (h("button", { key: '
|
21
|
+
return (h("button", { key: '3022bc5ad8034a69266e8fccbac8a0415574cdba', type: this.type, title: this.guxTitle, disabled: this.disabled, class: {
|
22
22
|
[`gux-${this.accent}`]: true,
|
23
23
|
'gux-icon-only': this.iconOnly
|
24
|
-
} }, h("slot", { key: '
|
24
|
+
} }, h("slot", { key: '02525623e91c00c0a57c3261e5f01854e4f4ecb5', onSlotchange: this.slotChanged.bind(this) })));
|
25
25
|
}
|
26
26
|
stopEventIfDisabled(event) {
|
27
27
|
if (this.disabled) {
|