@tet/tet-components 1.3.55-testing → 1.3.56-production
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/{address-41ac19c2.js → address-1674aa2d.js} +1 -1
- package/dist/cjs/{assets-0bdcfba7.js → assets-a459d319.js} +1 -1
- package/dist/cjs/{async-request-42567909.js → async-request-e8810b2c.js} +1 -1
- package/dist/cjs/{http-codes-bec9330b.js → http-codes-12b2b47b.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-fd3038e0.js → old-utils-873287df.js} +1 -1
- package/dist/cjs/{phone-96a87ac9.js → phone-c79e43f4.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +63 -10
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +14 -9
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +1 -1
- package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +2 -2
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-d753e207.js} +2 -2
- package/dist/cjs/{translations-9c00ed63.js → translations-51ad8d5d.js} +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.css +179 -0
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +139 -6
- package/dist/collection/components/advanced/address/tet-autocomplete/test/tet-autocomplete.spec.js +2 -2
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.css +28 -0
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +30 -7
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-472fec84.js → p-02398831.js} +82 -17
- package/dist/components/{p-85d185f0.js → p-023b81b5.js} +7 -7
- package/dist/components/{p-7946e55f.js → p-07b069e4.js} +2 -2
- package/dist/components/{p-72dc8bb7.js → p-084b6798.js} +1 -1
- package/dist/components/{p-4b8bad8e.js → p-0d21018f.js} +2 -2
- package/dist/components/{p-aea191fd.js → p-0eccdffc.js} +1 -1
- package/dist/components/{p-75d7d143.js → p-22cb1f7f.js} +2 -2
- package/dist/components/{p-e5133638.js → p-2b82aa91.js} +1 -1
- package/dist/components/{p-40db2d91.js → p-36c9f1d9.js} +1 -1
- package/dist/components/{p-8caa2e3e.js → p-49a77bc8.js} +1 -1
- package/dist/components/{p-276e9c7a.js → p-4c3e79ef.js} +5 -5
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-defca9b5.js → p-4fcfb70c.js} +2 -2
- package/dist/components/{p-c8e40647.js → p-50e215cb.js} +3 -3
- package/dist/components/{p-470276e6.js → p-52a4005a.js} +1 -1
- package/dist/components/{p-39e60f54.js → p-52e27ed1.js} +2 -2
- package/dist/components/{p-c4cf94bd.js → p-54ad46b7.js} +3 -3
- package/dist/components/{p-c810109b.js → p-5749d732.js} +2 -2
- package/dist/components/{p-e51cbb09.js → p-5816d282.js} +1 -1
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-142c6e59.js → p-5ff2c9a6.js} +7 -7
- package/dist/components/{p-8bf4c1bc.js → p-66f8e5a7.js} +1 -1
- package/dist/components/{p-b215fe36.js → p-680ce735.js} +1 -1
- package/dist/components/{p-a63d3582.js → p-6cc02895.js} +2 -2
- package/dist/components/{p-4bad6736.js → p-7a6d9284.js} +3 -3
- package/dist/components/{p-4c25d5fb.js → p-859cac6e.js} +1 -1
- package/dist/components/{p-7ff9e3c0.js → p-8889e632.js} +3 -3
- package/dist/components/{p-74ff4f72.js → p-92365b7e.js} +1 -1
- package/dist/components/{p-f7de89c3.js → p-92fec3e8.js} +1 -1
- package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
- package/dist/components/{p-1dc0f0d8.js → p-9c6ff494.js} +2 -2
- package/dist/components/{p-d0ec7607.js → p-9cc6fc7e.js} +2 -2
- package/dist/components/{p-008a3a69.js → p-a6dc47ea.js} +9 -9
- package/dist/components/{p-90d4dc6a.js → p-a6e5bb84.js} +2 -2
- package/dist/components/{p-72b8586b.js → p-ad2c1218.js} +1 -1
- package/dist/components/{p-dc5ae0d0.js → p-b38b166a.js} +3 -3
- package/dist/components/{p-1c3075c7.js → p-b46ff825.js} +1 -1
- package/dist/components/{p-be7a6a03.js → p-b6faa15e.js} +7 -7
- package/dist/components/{p-ef82b2a2.js → p-bb8c7be0.js} +3 -3
- package/dist/components/{p-ae1f41ee.js → p-bdb032c1.js} +1 -1
- package/dist/components/{p-6f457b76.js → p-c753ab82.js} +1 -1
- package/dist/components/{p-59004e15.js → p-d277ab21.js} +1 -1
- package/dist/components/{p-f8040432.js → p-d43dea39.js} +17 -11
- package/dist/components/{p-088032c4.js → p-d7ab9d5c.js} +11 -11
- package/dist/components/{p-2aa42ba2.js → p-d9cdab92.js} +1 -1
- package/dist/components/{p-98921a5e.js → p-eb200efc.js} +4 -4
- package/dist/components/{p-b80b0166.js → p-ec8d7490.js} +2 -2
- package/dist/components/{p-cb15f433.js → p-ee0821aa.js} +4 -4
- package/dist/components/{p-46b7cc51.js → p-f026cae7.js} +3 -3
- package/dist/components/tet-accordion.js +2 -2
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +25 -25
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +20 -14
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +3 -3
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +10 -10
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +8 -8
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +2 -2
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +7 -7
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-9dfd3c9e.js → address-18c4b9dc.js} +1 -1
- package/dist/esm/{assets-c074d2b9.js → assets-b258bac4.js} +1 -1
- package/dist/esm/{async-request-754d6810.js → async-request-f3a79721.js} +1 -1
- package/dist/esm/{http-codes-42779195.js → http-codes-3253f363.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +1 -1
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-a5a07afa.js → old-utils-6d7940a9.js} +1 -1
- package/dist/esm/{phone-66ff151d.js → phone-56c1d5c3.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +63 -10
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +14 -9
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +1 -1
- package/dist/esm/tet-checkbox.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card_4.entry.js +2 -2
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input_2.entry.js +3 -3
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider_2.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-bf063190.js} +2 -2
- package/dist/esm/{translations-5c723a5f.js → translations-9e12c95e.js} +1 -1
- package/dist/tet-components/{p-d7b12aa8.entry.js → p-05126596.entry.js} +1 -1
- package/dist/tet-components/{p-b0161172.entry.js → p-08572659.entry.js} +1 -1
- package/dist/tet-components/{p-f4786b25.entry.js → p-0d4bafff.entry.js} +1 -1
- package/dist/tet-components/{p-faaf4f9e.entry.js → p-0e9714d1.entry.js} +1 -1
- package/dist/tet-components/{p-6b022547.entry.js → p-15f53169.entry.js} +1 -1
- package/dist/tet-components/{p-d2545e5f.entry.js → p-1c772799.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-3287547c.entry.js → p-20d5a05d.entry.js} +1 -1
- package/dist/tet-components/{p-3b2ef09a.entry.js → p-242385cf.entry.js} +1 -1
- package/dist/tet-components/{p-aad624d0.entry.js → p-25ec7752.entry.js} +1 -1
- package/dist/tet-components/{p-ac290b65.entry.js → p-2becbebf.entry.js} +1 -1
- package/dist/tet-components/{p-46a33f5c.entry.js → p-2c5f342f.entry.js} +1 -1
- package/dist/tet-components/{p-121d2baf.entry.js → p-30514436.entry.js} +1 -1
- package/dist/tet-components/{p-a96ad9aa.entry.js → p-30c078c5.entry.js} +1 -1
- package/dist/tet-components/{p-f1f7b256.entry.js → p-315342d8.entry.js} +1 -1
- package/dist/tet-components/{p-41c25541.js → p-3569a18c.js} +1 -1
- package/dist/tet-components/{p-c47d5e36.entry.js → p-37821809.entry.js} +1 -1
- package/dist/tet-components/{p-dacff13f.entry.js → p-3819d28c.entry.js} +1 -1
- package/dist/tet-components/{p-01d2c9b2.entry.js → p-3cfd9d56.entry.js} +1 -1
- package/dist/tet-components/{p-0bf1c6ad.entry.js → p-3d664b04.entry.js} +1 -1
- package/dist/tet-components/{p-1b2509c8.entry.js → p-43739c87.entry.js} +1 -1
- package/dist/tet-components/{p-78b2deb2.entry.js → p-46dfca3e.entry.js} +1 -1
- package/dist/tet-components/{p-008d3812.entry.js → p-479280dd.entry.js} +1 -1
- package/dist/tet-components/{p-f4465153.entry.js → p-49005682.entry.js} +1 -1
- package/dist/tet-components/{p-4ff3f495.entry.js → p-4be935e7.entry.js} +1 -1
- package/dist/tet-components/{p-b9b3fae3.entry.js → p-5096cdd8.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-5478765f.entry.js} +1 -1
- package/dist/tet-components/{p-95877586.entry.js → p-590be092.entry.js} +1 -1
- package/dist/tet-components/{p-325515ed.entry.js → p-5ff250bd.entry.js} +1 -1
- package/dist/tet-components/{p-138065a5.entry.js → p-616daa7e.entry.js} +1 -1
- package/dist/tet-components/{p-010608e8.js → p-676cb76a.js} +1 -1
- package/dist/tet-components/{p-99dfcd9d.entry.js → p-683df0c1.entry.js} +1 -1
- package/dist/tet-components/{p-25498380.entry.js → p-6a8ebb69.entry.js} +1 -1
- package/dist/tet-components/{p-07081ea1.entry.js → p-6e008132.entry.js} +1 -1
- package/dist/tet-components/{p-ca27b8cd.entry.js → p-73316969.entry.js} +1 -1
- package/dist/tet-components/{p-0c199f19.entry.js → p-75010137.entry.js} +1 -1
- package/dist/tet-components/{p-c4ba2330.entry.js → p-75824c29.entry.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-7c3a56ca.js} +1 -1
- package/dist/tet-components/{p-fe5d035f.entry.js → p-8060aa10.entry.js} +1 -1
- package/dist/tet-components/{p-f52944ee.entry.js → p-81c87b9a.entry.js} +1 -1
- package/dist/tet-components/{p-5d02dddb.entry.js → p-89fc1125.entry.js} +1 -1
- package/dist/tet-components/p-8b9f2ed6.js +1 -0
- package/dist/tet-components/{p-ffe3a10a.entry.js → p-8e8ddc22.entry.js} +1 -1
- package/dist/tet-components/{p-10271e23.entry.js → p-8fd66a80.entry.js} +1 -1
- package/dist/tet-components/{p-8cadf068.entry.js → p-936e5f8c.entry.js} +1 -1
- package/dist/tet-components/{p-514a4361.entry.js → p-945195c6.entry.js} +1 -1
- package/dist/tet-components/{p-d6c31a48.entry.js → p-97eb0f7e.entry.js} +1 -1
- package/dist/tet-components/{p-520c7411.entry.js → p-9c6ee0d1.entry.js} +1 -1
- package/dist/tet-components/{p-c11d8027.entry.js → p-9cd6ab26.entry.js} +1 -1
- package/dist/tet-components/{p-aa37343d.entry.js → p-9d976959.entry.js} +1 -1
- package/dist/tet-components/{p-5320b4ff.entry.js → p-9e207dba.entry.js} +1 -1
- package/dist/tet-components/{p-4b9d2f1e.js → p-a15f30a7.js} +1 -1
- package/dist/tet-components/{p-33b50262.entry.js → p-a1aeb828.entry.js} +1 -1
- package/dist/tet-components/p-a7e282ed.entry.js +1 -0
- package/dist/tet-components/{p-600889ce.entry.js → p-a88ada98.entry.js} +1 -1
- package/dist/tet-components/{p-845a3e40.entry.js → p-aa8c2b71.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-2bce11d6.entry.js → p-aecd68fb.entry.js} +1 -1
- package/dist/tet-components/{p-76fc9aa4.entry.js → p-b38f7d3f.entry.js} +1 -1
- package/dist/tet-components/{p-6b6bf1f4.entry.js → p-b56d9e19.entry.js} +1 -1
- package/dist/tet-components/{p-747b417e.entry.js → p-b8158138.entry.js} +1 -1
- package/dist/tet-components/{p-771146d4.entry.js → p-bd19cb33.entry.js} +1 -1
- package/dist/tet-components/{p-3b5a822d.entry.js → p-c3934b44.entry.js} +1 -1
- package/dist/tet-components/{p-9eafff73.entry.js → p-c892bc9f.entry.js} +1 -1
- package/dist/tet-components/{p-fd545c5a.entry.js → p-c8b387e5.entry.js} +1 -1
- package/dist/tet-components/{p-24777ec4.entry.js → p-c918cd3e.entry.js} +1 -1
- package/dist/tet-components/{p-13834305.entry.js → p-ce5c927c.entry.js} +1 -1
- package/dist/tet-components/{p-3dd44730.entry.js → p-d15daa7a.entry.js} +1 -1
- package/dist/tet-components/{p-c316ffe5.entry.js → p-d19c0066.entry.js} +1 -1
- package/dist/tet-components/{p-82f39730.entry.js → p-d38474cb.entry.js} +1 -1
- package/dist/tet-components/p-dace6aeb.js +1 -0
- package/dist/tet-components/{p-ff769397.entry.js → p-decb5ec7.entry.js} +1 -1
- package/dist/tet-components/{p-4026fd82.entry.js → p-df1daf00.entry.js} +1 -1
- package/dist/tet-components/{p-e0bb4410.entry.js → p-dfe62910.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-e06817f1.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-e340aec2.js} +1 -1
- package/dist/tet-components/{p-e77bcad8.entry.js → p-e5ebf041.entry.js} +1 -1
- package/dist/tet-components/p-e873cbd3.entry.js +1 -0
- package/dist/tet-components/{p-e5a15112.entry.js → p-eab907b1.entry.js} +1 -1
- package/dist/tet-components/{p-e2617184.entry.js → p-efcbd8d3.entry.js} +1 -1
- package/dist/tet-components/{p-4b3fc9e2.entry.js → p-f1bdb246.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-f53247e0.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/address/tet-address-search/tet-address-search.d.ts +25 -0
- package/dist/types/components/advanced/address/tet-autocomplete/tet-autocomplete.d.ts +2 -0
- package/dist/types/components.d.ts +37 -0
- package/package.json +1 -1
- package/dist/tet-components/p-1ae8df7d.js +0 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-5592fd53.entry.js +0 -1
- package/dist/tet-components/p-928b9af2.entry.js +0 -1
- package/dist/tet-components/p-b2b384d2.js +0 -1
package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js
CHANGED
|
@@ -13,6 +13,18 @@ import { a11yBtnClick } from "../../../../services/utils/a11y";
|
|
|
13
13
|
*/
|
|
14
14
|
export class TetAddressSearch {
|
|
15
15
|
constructor() {
|
|
16
|
+
this.handleClick = () => {
|
|
17
|
+
this.elementActive = true;
|
|
18
|
+
this.focusVisible = false;
|
|
19
|
+
};
|
|
20
|
+
this.handleInputTyping = (event) => {
|
|
21
|
+
if (event === null || event === void 0 ? void 0 : event.data) {
|
|
22
|
+
this.focusVisible = false;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.handleActiveStateChange = (event) => {
|
|
26
|
+
this.elementActive = event.detail !== null;
|
|
27
|
+
};
|
|
16
28
|
/**
|
|
17
29
|
* Toggles the icon on the right side of the input based on the current input value.
|
|
18
30
|
*
|
|
@@ -124,6 +136,13 @@ export class TetAddressSearch {
|
|
|
124
136
|
postalCode: event.detail.value.postalCode
|
|
125
137
|
});
|
|
126
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Handles the search button click.
|
|
141
|
+
*/
|
|
142
|
+
this.handleSearchSubmit = () => {
|
|
143
|
+
var _a;
|
|
144
|
+
this.searchSubmitted.emit((_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.value);
|
|
145
|
+
};
|
|
127
146
|
/**
|
|
128
147
|
* Renders the content that is shown when there are no matching addresses.
|
|
129
148
|
*/
|
|
@@ -138,6 +157,7 @@ export class TetAddressSearch {
|
|
|
138
157
|
this.addressKey = '';
|
|
139
158
|
this.newStyle = false;
|
|
140
159
|
this.newFormsStyle = false;
|
|
160
|
+
this.redesignedStyle = false;
|
|
141
161
|
this.theme = 'classic';
|
|
142
162
|
this.manualAddressTriggers = false;
|
|
143
163
|
this.isInputInvalid = false;
|
|
@@ -145,6 +165,11 @@ export class TetAddressSearch {
|
|
|
145
165
|
this.inputIconRight = '';
|
|
146
166
|
this.inputValueLength = 0;
|
|
147
167
|
this.isLoading = false;
|
|
168
|
+
this.isKeyboardFocus = true;
|
|
169
|
+
this.focusVisible = false;
|
|
170
|
+
this.elementActive = false;
|
|
171
|
+
this.searchButtonText = 'Parbaudīt';
|
|
172
|
+
this.closeButtonText = 'Aizvert';
|
|
148
173
|
}
|
|
149
174
|
onLanguageChanged(language) {
|
|
150
175
|
processTranslations('tet-components', language).then(() => forceUpdate(this));
|
|
@@ -177,16 +202,31 @@ export class TetAddressSearch {
|
|
|
177
202
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
178
203
|
}
|
|
179
204
|
async componentDidLoad() {
|
|
180
|
-
var _a, _b;
|
|
205
|
+
var _a, _b, _c, _d, _e;
|
|
181
206
|
this.nativeInput = await ((_a = this.inputComponent) === null || _a === void 0 ? void 0 : _a.getInputHtmlElement());
|
|
182
207
|
(_b = this.nativeInput) === null || _b === void 0 ? void 0 : _b.addEventListener('input', this.toggleInputClearIcon);
|
|
208
|
+
(_c = this.nativeInput) === null || _c === void 0 ? void 0 : _c.addEventListener('input', this.handleInputTyping);
|
|
209
|
+
(_d = this.nativeInput) === null || _d === void 0 ? void 0 : _d.addEventListener('click', this.handleClick);
|
|
210
|
+
(_e = this.autocomplete) === null || _e === void 0 ? void 0 : _e.addEventListener('activeComponentStateChanged', this.handleActiveStateChange);
|
|
183
211
|
if (this.addressKey) {
|
|
184
212
|
await this.searchByAddressKey();
|
|
185
213
|
}
|
|
186
214
|
}
|
|
187
215
|
disconnectedCallback() {
|
|
188
|
-
var _a;
|
|
216
|
+
var _a, _b, _c, _d;
|
|
189
217
|
(_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.removeEventListener('input', this.toggleInputClearIcon);
|
|
218
|
+
(_b = this.nativeInput) === null || _b === void 0 ? void 0 : _b.removeEventListener('input', this.handleInputTyping);
|
|
219
|
+
(_c = this.nativeInput) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.handleClick);
|
|
220
|
+
(_d = this.autocomplete) === null || _d === void 0 ? void 0 : _d.removeEventListener('activeComponentStateChanged', this.handleActiveStateChange);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Listen for Tab key event.
|
|
224
|
+
*/
|
|
225
|
+
onKeyDown(event) {
|
|
226
|
+
var _a;
|
|
227
|
+
if (event.key === 'Tab' && !((_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.value)) {
|
|
228
|
+
this.focusVisible = true;
|
|
229
|
+
}
|
|
190
230
|
}
|
|
191
231
|
/**
|
|
192
232
|
* Initiates the address search by the address key and sets the value of the input field.
|
|
@@ -212,17 +252,29 @@ export class TetAddressSearch {
|
|
|
212
252
|
}
|
|
213
253
|
render() {
|
|
214
254
|
const inputClasses = ['autocomplete-input'];
|
|
255
|
+
if (this.redesignedStyle) {
|
|
256
|
+
inputClasses.push('address-search--redesigned__input-field');
|
|
257
|
+
}
|
|
215
258
|
if (this.newStyle) {
|
|
216
259
|
inputClasses.push('address-search__input--rounded');
|
|
217
260
|
}
|
|
218
261
|
if (this.newFormsStyle) {
|
|
219
262
|
inputClasses.push('address-search__input--forms');
|
|
220
263
|
}
|
|
221
|
-
return (h(Host, { key: '
|
|
264
|
+
return (h(Host, { key: '8759d0569a75559a9e9bf5f6124aa5f1b0d8e90c', class: {
|
|
222
265
|
"address-search": true,
|
|
266
|
+
"address-search--redesigned": this.redesignedStyle,
|
|
267
|
+
"keyboard-focus": this.focusVisible,
|
|
268
|
+
"active": this.elementActive,
|
|
223
269
|
[this.theme]: true,
|
|
224
|
-
} }, h("tet-autocomplete", { key: '
|
|
225
|
-
|
|
270
|
+
} }, h("tet-autocomplete", { key: 'b13a385aee69b5bc67122d13f63be394d8ad6df7', class: `address-search--redesigned__autocomplete
|
|
271
|
+
${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}
|
|
272
|
+
`, part: "autocomplete", optionsFilterAction: this.debounceAddressFilter, onOptionSelected: this.handleAutocompleteOptionSelection, noOptionsMessage: t('components-address-search-not-found-message'), noOptionsRenderFunction: this.manualAddressTriggers ? this.renderManualAddressInputNoOptionsMessage : undefined, clearCallback: this.autocompleteClearInputCallback, finishedLoading: this.finishedLoading, darkTheme: this.theme === 'dark' || this.theme === 'mint-original', newStyle: this.newStyle, ref: (el) => (this.autocomplete = el), optionsIcon: "location", redesignedStyle: this.redesignedStyle }, this.redesignedStyle ? (h("div", { class: "address-search--redesigned__autocomplete-content" }, h("div", { class: `address-search--redesigned__input-wrapper
|
|
273
|
+
${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}` }, h("tet-input", { class: `address-search__input address-search--redesigned__input
|
|
274
|
+
${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}`, part: "input", "input-class": inputClasses.join(' '), "input-placeholder": this.placeholder, "input-disabled": this.inputDisabled, label: this.label, accessibilityLabel: this.accessibilityLabel, iconLeft: this.newFormsStyle ? '' : 'search', iconRight: this.inputIconRight, iconRightClickCallback: this.clearInputAction, ref: (el) => (this.inputComponent = el), error: this.isInputInvalid, autocomplete: "off" }, this.isLoading &&
|
|
275
|
+
h("tet-spinner", { theme: this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : 'light', class: "address-search__spinner", size: "small" }))), h("div", { class: `address-search--redesigned__button-wrapper
|
|
276
|
+
${this.theme === 'dark' || this.theme === 'mint-original' ? 'dark' : ''}` }, h("tet-button", { class: "submit-address js-button-mobile button-icon", type: "primary", "accessibility-label": t('components-address-search-search'), iconName: "arrow-right", iconMode: true, onClick: this.handleSearchSubmit }), h("tet-button", { class: "submit-address button js-button", type: "primary", size: "medium", onClick: this.handleSearchSubmit }, this.searchButtonText)))) : (h("tet-input", { class: "address-search__input", part: "input", "input-class": inputClasses.join(' '), "input-placeholder": this.placeholder, "input-disabled": this.inputDisabled, label: this.label, accessibilityLabel: this.accessibilityLabel, iconLeft: this.newFormsStyle ? '' : 'search', iconRight: this.inputIconRight, iconRightClickCallback: this.clearInputAction, theme: this.theme, ref: (el) => (this.inputComponent = el), error: this.isInputInvalid, autocomplete: "off" }, this.isLoading &&
|
|
277
|
+
h("tet-spinner", { theme: this.theme === 'dark' ? 'dark' : 'light', class: "address-search__spinner", size: "small" })))), this.redesignedStyle && (h("div", { key: '96f244673d34ff30d5f6ad8ae1b7e3627795994c', class: "address-search--redesigned__close-button" }, h("tet-button", { key: '4f611ef81d01191839b6e601e76b798414c8a061', type: "link", iconName: "close", theme: "dark" }, this.closeButtonText)))));
|
|
226
278
|
}
|
|
227
279
|
static get is() { return "tet-address-search"; }
|
|
228
280
|
static get encapsulation() { return "shadow"; }
|
|
@@ -388,6 +440,24 @@ export class TetAddressSearch {
|
|
|
388
440
|
"reflect": false,
|
|
389
441
|
"defaultValue": "false"
|
|
390
442
|
},
|
|
443
|
+
"redesignedStyle": {
|
|
444
|
+
"type": "boolean",
|
|
445
|
+
"mutable": false,
|
|
446
|
+
"complexType": {
|
|
447
|
+
"original": "boolean",
|
|
448
|
+
"resolved": "boolean",
|
|
449
|
+
"references": {}
|
|
450
|
+
},
|
|
451
|
+
"required": false,
|
|
452
|
+
"optional": false,
|
|
453
|
+
"docs": {
|
|
454
|
+
"tags": [],
|
|
455
|
+
"text": "Toggles the redesigned style."
|
|
456
|
+
},
|
|
457
|
+
"attribute": "redesigned-style",
|
|
458
|
+
"reflect": false,
|
|
459
|
+
"defaultValue": "false"
|
|
460
|
+
},
|
|
391
461
|
"theme": {
|
|
392
462
|
"type": "string",
|
|
393
463
|
"mutable": false,
|
|
@@ -459,6 +529,42 @@ export class TetAddressSearch {
|
|
|
459
529
|
"attribute": "input-disabled",
|
|
460
530
|
"reflect": false,
|
|
461
531
|
"defaultValue": "false"
|
|
532
|
+
},
|
|
533
|
+
"searchButtonText": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"mutable": false,
|
|
536
|
+
"complexType": {
|
|
537
|
+
"original": "string",
|
|
538
|
+
"resolved": "string",
|
|
539
|
+
"references": {}
|
|
540
|
+
},
|
|
541
|
+
"required": false,
|
|
542
|
+
"optional": false,
|
|
543
|
+
"docs": {
|
|
544
|
+
"tags": [],
|
|
545
|
+
"text": "The text for the search button. Defaults to \"Parbaud\u012Bt\"."
|
|
546
|
+
},
|
|
547
|
+
"attribute": "search-button-text",
|
|
548
|
+
"reflect": false,
|
|
549
|
+
"defaultValue": "'Parbaud\u012Bt'"
|
|
550
|
+
},
|
|
551
|
+
"closeButtonText": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"mutable": false,
|
|
554
|
+
"complexType": {
|
|
555
|
+
"original": "string",
|
|
556
|
+
"resolved": "string",
|
|
557
|
+
"references": {}
|
|
558
|
+
},
|
|
559
|
+
"required": false,
|
|
560
|
+
"optional": false,
|
|
561
|
+
"docs": {
|
|
562
|
+
"tags": [],
|
|
563
|
+
"text": "The text for the close button. Defaults to \"Aizvert\"."
|
|
564
|
+
},
|
|
565
|
+
"attribute": "close-button-text",
|
|
566
|
+
"reflect": false,
|
|
567
|
+
"defaultValue": "'Aizvert'"
|
|
462
568
|
}
|
|
463
569
|
};
|
|
464
570
|
}
|
|
@@ -466,7 +572,10 @@ export class TetAddressSearch {
|
|
|
466
572
|
return {
|
|
467
573
|
"inputIconRight": {},
|
|
468
574
|
"inputValueLength": {},
|
|
469
|
-
"isLoading": {}
|
|
575
|
+
"isLoading": {},
|
|
576
|
+
"isKeyboardFocus": {},
|
|
577
|
+
"focusVisible": {},
|
|
578
|
+
"elementActive": {}
|
|
470
579
|
};
|
|
471
580
|
}
|
|
472
581
|
static get events() {
|
|
@@ -521,6 +630,21 @@ export class TetAddressSearch {
|
|
|
521
630
|
"resolved": "any",
|
|
522
631
|
"references": {}
|
|
523
632
|
}
|
|
633
|
+
}, {
|
|
634
|
+
"method": "searchSubmitted",
|
|
635
|
+
"name": "searchSubmitted",
|
|
636
|
+
"bubbles": true,
|
|
637
|
+
"cancelable": true,
|
|
638
|
+
"composed": true,
|
|
639
|
+
"docs": {
|
|
640
|
+
"tags": [],
|
|
641
|
+
"text": "The event that is emitted when the user clicks the search button."
|
|
642
|
+
},
|
|
643
|
+
"complexType": {
|
|
644
|
+
"original": "string",
|
|
645
|
+
"resolved": "string",
|
|
646
|
+
"references": {}
|
|
647
|
+
}
|
|
524
648
|
}];
|
|
525
649
|
}
|
|
526
650
|
static get methods() {
|
|
@@ -556,4 +680,13 @@ export class TetAddressSearch {
|
|
|
556
680
|
"methodName": "onInputDisabledStateChange"
|
|
557
681
|
}];
|
|
558
682
|
}
|
|
683
|
+
static get listeners() {
|
|
684
|
+
return [{
|
|
685
|
+
"name": "keydown",
|
|
686
|
+
"method": "onKeyDown",
|
|
687
|
+
"target": "window",
|
|
688
|
+
"capture": false,
|
|
689
|
+
"passive": false
|
|
690
|
+
}];
|
|
691
|
+
}
|
|
559
692
|
}
|
package/dist/collection/components/advanced/address/tet-autocomplete/test/tet-autocomplete.spec.js
CHANGED
|
@@ -69,7 +69,7 @@ describe('tet-autocomplete', () => {
|
|
|
69
69
|
<tet-autocomplete class="autocomplete">
|
|
70
70
|
<mock:shadow-root>
|
|
71
71
|
<slot></slot>
|
|
72
|
-
<div class="autocomplete-options-container" role="combobox" aria-expanded>
|
|
72
|
+
<div class="autocomplete-options-container" role="combobox" aria-expanded part="autocomplete-options-container">
|
|
73
73
|
<ul class="autocomplete-options" role="listbox" tabindex="-1">
|
|
74
74
|
<li class="autocomplete-options-item" id="randomString-0" role="option"><span>Test Value</span></li>
|
|
75
75
|
<li class="autocomplete-options-item" id="randomString-1" role="option"><span>test value</span></li>
|
|
@@ -96,7 +96,7 @@ describe('tet-autocomplete', () => {
|
|
|
96
96
|
<tet-autocomplete class="autocomplete">
|
|
97
97
|
<mock:shadow-root>
|
|
98
98
|
<slot></slot>
|
|
99
|
-
<div class="autocomplete-options-container" role="combobox" aria-expanded>
|
|
99
|
+
<div class="autocomplete-options-container" role="combobox" aria-expanded part="autocomplete-options-container">
|
|
100
100
|
<ul class="autocomplete-options" role="listbox" tabindex="-1">
|
|
101
101
|
<li class="autocomplete-options-item" id="randomString-0" role="option"><span>This is the first label</span></li>
|
|
102
102
|
<li class="autocomplete-options-item" id="randomString-1" role="option"><span>THIS IS ALSO A LABEL</span></li>
|
|
@@ -492,6 +492,34 @@
|
|
|
492
492
|
padding-bottom: 0;
|
|
493
493
|
margin-bottom: 0.375rem;
|
|
494
494
|
}
|
|
495
|
+
.autocomplete-options-container.redesigned-style .autocomplete-options {
|
|
496
|
+
margin-right: 0.25rem;
|
|
497
|
+
}
|
|
498
|
+
.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar {
|
|
499
|
+
width: 0.5rem;
|
|
500
|
+
height: 0.5rem;
|
|
501
|
+
}
|
|
502
|
+
.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar-thumb {
|
|
503
|
+
background: var(--tc-border-quaternary);
|
|
504
|
+
border-radius: 0.5rem;
|
|
505
|
+
}
|
|
506
|
+
.autocomplete-options-container.redesigned-style .autocomplete-options::-webkit-scrollbar-track {
|
|
507
|
+
background: var(--tc-layer-primary);
|
|
508
|
+
}
|
|
509
|
+
.autocomplete-options-container.redesigned-style.dark .autocomplete-options {
|
|
510
|
+
margin-right: 0.25rem;
|
|
511
|
+
}
|
|
512
|
+
.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar {
|
|
513
|
+
width: 0.5rem;
|
|
514
|
+
height: 0.5rem;
|
|
515
|
+
}
|
|
516
|
+
.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar-thumb {
|
|
517
|
+
background: var(--tc-border-quaternary-dark);
|
|
518
|
+
border-radius: 0.5rem;
|
|
519
|
+
}
|
|
520
|
+
.autocomplete-options-container.redesigned-style.dark .autocomplete-options::-webkit-scrollbar-track {
|
|
521
|
+
background: var(--tc-layer-primary-dark);
|
|
522
|
+
}
|
|
495
523
|
.autocomplete-options-container .autocomplete-options-item {
|
|
496
524
|
margin: 0 0.375rem;
|
|
497
525
|
}
|
|
@@ -120,7 +120,7 @@ export class TetAutocomplete {
|
|
|
120
120
|
return this.noOptionsMessage;
|
|
121
121
|
};
|
|
122
122
|
this.renderOptionsLoader = () => {
|
|
123
|
-
if (!this.showLoader || this.newStyle) {
|
|
123
|
+
if (!this.showLoader || this.newStyle || this.redesignedStyle) {
|
|
124
124
|
return;
|
|
125
125
|
}
|
|
126
126
|
return (h("ul", { class: "autocomplete-options" }, h("li", { class: { 'autocomplete-options-loader': true, 'dark': this.darkTheme } }, h("tet-loader", null))));
|
|
@@ -156,10 +156,13 @@ export class TetAutocomplete {
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
return (h("li", { class: { 'autocomplete-options-item': true,
|
|
159
|
-
'active': option === this.activeOption, 'dark': this.darkTheme, 'focus-visible': (option === this.activeOption && this.isKeyboardFocus) }, part: cssPart, onClick: onClickAction,
|
|
159
|
+
'active': option === this.activeOption, 'dark': this.darkTheme, 'focus-visible': (option === this.activeOption && this.isKeyboardFocus) }, part: cssPart, onClick: onClickAction, onKeyDown: (event) => {
|
|
160
|
+
if (event.key === 'Enter')
|
|
161
|
+
onClickAction(option);
|
|
162
|
+
}, ref: (element) => option === this.activeOption && (this.activeOptionElement = element), id: `${this.internalUniqueId}-${idx}`, role: "option" }, option.value === 'manual-input'
|
|
160
163
|
? h("a", { class: { 'tet-link': true, 'dark': this.darkTheme, 'manual-input': true }, innerHTML: optionLabel })
|
|
161
164
|
: [
|
|
162
|
-
this.optionsIcon && this.newStyle && (h("tet-icon", { class: "icon", name: this.optionsIcon })),
|
|
165
|
+
this.optionsIcon && (this.newStyle || this.redesignedStyle) && (h("tet-icon", { class: "icon", name: this.optionsIcon })),
|
|
163
166
|
h("span", { innerHTML: optionLabel })
|
|
164
167
|
]));
|
|
165
168
|
};
|
|
@@ -176,8 +179,9 @@ export class TetAutocomplete {
|
|
|
176
179
|
return (h("div", { class: {
|
|
177
180
|
'autocomplete-options-container': true,
|
|
178
181
|
'dark': this.darkTheme,
|
|
179
|
-
'new-style': this.newStyle,
|
|
180
|
-
|
|
182
|
+
'new-style': this.newStyle || this.redesignedStyle,
|
|
183
|
+
'redesigned-style': this.redesignedStyle,
|
|
184
|
+
}, part: "autocomplete-options-container", role: "combobox", "aria-expanded": this.showOptions, "aria-activedescendant": this.activeOption ? `${this.internalUniqueId}-${this.filteredOptions.indexOf(this.activeOption)}` : undefined }, h("ul", { class: "autocomplete-options", ref: (el) => (this.optionsContainer = el), role: "listbox", tabindex: "-1" }, showNoOptionsMessage && this.renderNoOptionsMessage(), options.map(this.renderOption))));
|
|
181
185
|
};
|
|
182
186
|
this.showOptionsOnEscapeClear = false;
|
|
183
187
|
this.defaultOptions = [];
|
|
@@ -191,6 +195,7 @@ export class TetAutocomplete {
|
|
|
191
195
|
this.highlightOptionsKeyword = true;
|
|
192
196
|
this.darkTheme = false;
|
|
193
197
|
this.optionsIcon = '';
|
|
198
|
+
this.redesignedStyle = false;
|
|
194
199
|
this.filteredOptions = [];
|
|
195
200
|
this.activeOption = undefined;
|
|
196
201
|
this.showOptions = false;
|
|
@@ -373,10 +378,10 @@ export class TetAutocomplete {
|
|
|
373
378
|
}
|
|
374
379
|
}
|
|
375
380
|
render() {
|
|
376
|
-
return (h(Host, { key: '
|
|
381
|
+
return (h(Host, { key: '32cf8dabcce07274ae091b07fcc4baaf6f5d34cd', class: {
|
|
377
382
|
'autocomplete': true,
|
|
378
383
|
'dark': this.darkTheme,
|
|
379
|
-
} }, h("slot", { key: '
|
|
384
|
+
} }, h("slot", { key: '08720835a9b06a1196d11e5734a1d1a8a43fa192' }), this.renderOptionsLoader(), this.renderOptions(this.filteredOptions)));
|
|
380
385
|
}
|
|
381
386
|
static get is() { return "tet-autocomplete"; }
|
|
382
387
|
static get encapsulation() { return "shadow"; }
|
|
@@ -610,6 +615,24 @@ export class TetAutocomplete {
|
|
|
610
615
|
"attribute": "options-icon",
|
|
611
616
|
"reflect": false,
|
|
612
617
|
"defaultValue": "''"
|
|
618
|
+
},
|
|
619
|
+
"redesignedStyle": {
|
|
620
|
+
"type": "boolean",
|
|
621
|
+
"mutable": false,
|
|
622
|
+
"complexType": {
|
|
623
|
+
"original": "boolean",
|
|
624
|
+
"resolved": "boolean",
|
|
625
|
+
"references": {}
|
|
626
|
+
},
|
|
627
|
+
"required": false,
|
|
628
|
+
"optional": false,
|
|
629
|
+
"docs": {
|
|
630
|
+
"tags": [],
|
|
631
|
+
"text": "Toggles the redesigned style."
|
|
632
|
+
},
|
|
633
|
+
"attribute": "redesigned-style",
|
|
634
|
+
"reflect": false,
|
|
635
|
+
"defaultValue": "false"
|
|
613
636
|
}
|
|
614
637
|
};
|
|
615
638
|
}
|
|
@@ -212,7 +212,7 @@ export class TetCompareCard {
|
|
|
212
212
|
*/
|
|
213
213
|
renderCard() {
|
|
214
214
|
var _a, _b, _c, _d;
|
|
215
|
-
return (h("div", { onClick: this.clickCallback, class: {
|
|
215
|
+
return (h("div", { onClick: this.clickCallback, onKeyDown: () => { }, class: {
|
|
216
216
|
'card': true,
|
|
217
217
|
[`${this.currentCardType}`]: true,
|
|
218
218
|
[`${this.theme}`]: true,
|
package/dist/components/index.js
CHANGED
|
@@ -84,7 +84,7 @@ import { TetThankYouViewV3 } from './tet-thank-you-view-v3.js';
|
|
|
84
84
|
import { TetTooltip } from './tet-tooltip.js';
|
|
85
85
|
import { TetTvGiftBlock } from './tet-tv-gift-block.js';
|
|
86
86
|
import { TetTvGiftList } from './tet-tv-gift-list.js';
|
|
87
|
-
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
87
|
+
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-599035b8.js';
|
|
88
88
|
|
|
89
89
|
const defineCustomElements = (opts) => {
|
|
90
90
|
if (typeof customElements !== 'undefined') {
|