@tet/tet-components 1.4.123-testing → 1.4.124-staging
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-d3d97441.js → address-db3de695.js} +1 -1
- package/dist/cjs/{assets-f0cfef4d.js → assets-294836fa.js} +1 -1
- package/dist/cjs/{async-request-fca2a0f5.js → async-request-f54455d3.js} +1 -1
- package/dist/cjs/{http-codes-0eae7bd3.js → http-codes-3b8718ff.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +3 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-fae66deb.js → phone-e6a926f8.js} +2 -2
- package/dist/cjs/{product-comparison-fd3cbd23.js → product-comparison-1b20429d.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- 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 +4 -4
- package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
- 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.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/{tet-checkbox_2.cjs.entry.js → tet-checkbox_3.cjs.entry.js} +427 -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-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +15 -11
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.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-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.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-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- 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-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.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-card-list.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-mini-compare-card.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 +3 -3
- 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.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.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-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- 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-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.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-text.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-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-66880718.js → theme-wrapper-46514846.js} +2 -2
- package/dist/cjs/{translations-20eeca73.js → translations-ccafaff5.js} +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.css +26 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +11 -7
- package/dist/components/index.js +1 -1
- package/dist/components/{p-ed08f5c9.js → p-04fcd75f.js} +1 -1
- package/dist/components/{p-8bad92bf.js → p-0a2fb652.js} +2 -2
- package/dist/components/{p-029c98e2.js → p-0ce42ec4.js} +1 -1
- package/dist/components/{p-849e2a9a.js → p-10507f54.js} +9 -9
- package/dist/components/{p-cdd02862.js → p-13bee4eb.js} +3 -3
- package/dist/components/{p-7e747abe.js → p-1613e55f.js} +4 -4
- package/dist/components/{p-cc5641ba.js → p-19014c27.js} +1 -1
- package/dist/components/{p-e2dfc149.js → p-1b43d459.js} +1 -1
- package/dist/components/{p-f7f459ce.js → p-242b5e16.js} +1 -1
- package/dist/components/{p-7f056917.js → p-2c004f75.js} +2 -2
- package/dist/components/{p-05beb82a.js → p-2c208bd2.js} +10 -10
- package/dist/components/{p-e946b11b.js → p-2c72589f.js} +1 -1
- package/dist/components/{p-01048231.js → p-2e3012bb.js} +2 -2
- package/dist/components/{p-5f555c17.js → p-3829b6a4.js} +1 -1
- package/dist/components/{p-56c7fd5c.js → p-41b4663e.js} +2 -2
- package/dist/components/{p-486d6dab.js → p-45a93f15.js} +1 -1
- package/dist/components/{p-f37a0079.js → p-47722833.js} +1 -1
- package/dist/components/{p-5e4e4b9f.js → p-48565b95.js} +3 -3
- package/dist/components/{p-2676699a.js → p-4e505241.js} +7 -7
- package/dist/components/{p-43f43609.js → p-4f4248f8.js} +1 -1
- package/dist/components/{p-3c710544.js → p-536b817f.js} +2 -2
- package/dist/components/{p-11313fde.js → p-6008f83a.js} +1 -1
- package/dist/components/{p-68df3d2c.js → p-629de1ae.js} +6 -6
- package/dist/components/{p-82112990.js → p-6791a5ff.js} +2 -2
- package/dist/components/{p-aa9f7897.js → p-6b725284.js} +1 -1
- package/dist/components/{p-e90bb529.js → p-6df71b61.js} +2 -2
- package/dist/components/{p-e296086b.js → p-6f4c6246.js} +1 -1
- package/dist/components/{p-b96c5daa.js → p-708bc9d5.js} +7 -7
- package/dist/components/{p-829b8a7b.js → p-788aeadf.js} +2 -2
- package/dist/components/{p-69f883e8.js → p-7932405a.js} +3 -3
- package/dist/components/{p-14be0c26.js → p-88972714.js} +6 -6
- package/dist/components/{p-a22e765e.js → p-9a56b02e.js} +2 -2
- package/dist/components/{p-985511b1.js → p-a0ed1450.js} +1 -1
- package/dist/components/{p-804c736f.js → p-a2da176b.js} +2 -2
- package/dist/components/{p-a256bd7b.js → p-a4596688.js} +1 -1
- package/dist/components/{p-1e8d0b49.js → p-a4bc8db2.js} +3 -3
- package/dist/components/{p-eb5f341d.js → p-a81a9b6e.js} +2 -2
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-611594b8.js → p-ac88556b.js} +4 -4
- package/dist/components/{p-de831036.js → p-ad5993f4.js} +1 -1
- package/dist/components/{p-e973b0a1.js → p-ae154918.js} +5 -5
- package/dist/components/{p-060ce29b.js → p-afdf9b0b.js} +2 -2
- package/dist/components/{p-17f3bde6.js → p-b707483c.js} +6 -6
- package/dist/components/{p-6c05c6b9.js → p-b76f25f6.js} +1 -1
- package/dist/components/{p-868e0223.js → p-bdf3dbb9.js} +7 -7
- package/dist/components/{p-13e4af07.js → p-c4d1919d.js} +1 -1
- package/dist/components/{p-2de8a27c.js → p-ca0556c0.js} +3 -3
- package/dist/components/{p-c3d58e64.js → p-cbc644bb.js} +14 -14
- package/dist/components/{p-368c3ffc.js → p-d7223d71.js} +3 -3
- package/dist/components/{p-d7aae75d.js → p-d8b5fd75.js} +5 -5
- package/dist/components/{p-68089f23.js → p-e2cd2c47.js} +3 -3
- package/dist/components/{p-f33b757a.js → p-e46361b7.js} +1 -1
- package/dist/components/{p-5e218113.js → p-e54c80f6.js} +2 -2
- package/dist/components/{p-967f609b.js → p-e94bafaa.js} +10 -10
- package/dist/components/{p-dc944c98.js → p-eb25ebda.js} +1 -1
- package/dist/components/{p-5fb8f171.js → p-eee64d85.js} +7 -7
- package/dist/components/{p-9e7ca7ed.js → p-f7053d58.js} +1 -1
- package/dist/components/{p-af9fcd59.js → p-f7495045.js} +1 -1
- package/dist/components/{p-f1ca6eda.js → p-f77af2bf.js} +3 -3
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +7 -7
- package/dist/components/tet-asset-addresses.js +13 -13
- 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-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- 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-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- 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 +12 -12
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card-v3.js +37 -27
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- 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-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- 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-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- 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 +1 -1
- 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-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-mini-compare-card.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +3 -3
- 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-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +2 -2
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +12 -12
- 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-support-search.js +7 -7
- 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-text.js +7 -7
- 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-a5f65679.js → address-804b2fd3.js} +1 -1
- package/dist/esm/{assets-785095c4.js → assets-d337f5e7.js} +1 -1
- package/dist/esm/{async-request-ec12f1d7.js → async-request-913220a7.js} +1 -1
- package/dist/esm/{http-codes-9125ce84.js → http-codes-8100f4ea.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +3 -7
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-928c53a8.js → phone-1ea88ee5.js} +2 -2
- package/dist/esm/{product-comparison-fdb9b9cc.js → product-comparison-7fa9705a.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- 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 +4 -4
- package/dist/esm/tet-assembler.entry.js +3 -3
- 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.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/{tet-checkbox_2.entry.js → tet-checkbox_3.entry.js} +427 -2
- 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-v2.entry.js +3 -3
- package/dist/esm/tet-compare-card-v3.entry.js +15 -11
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.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-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.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-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.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-card-list.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-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- 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.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider.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-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- 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-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.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-text.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-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-1f757aa7.js → translations-d3e380cf.js} +1 -1
- package/dist/tet-components/{p-b1222ff6.entry.js → p-000577f5.entry.js} +1 -1
- package/dist/tet-components/{p-5be49fe9.entry.js → p-004a4b0e.entry.js} +1 -1
- package/dist/tet-components/{p-2e2b413d.entry.js → p-015d561d.entry.js} +1 -1
- package/dist/tet-components/{p-d313e630.entry.js → p-0161caae.entry.js} +1 -1
- package/dist/tet-components/{p-e2b55e84.js → p-0190b524.js} +1 -1
- package/dist/tet-components/{p-6bfeebe9.entry.js → p-05254539.entry.js} +1 -1
- package/dist/tet-components/{p-3652e5a8.entry.js → p-0792fe7a.entry.js} +1 -1
- package/dist/tet-components/{p-57937881.entry.js → p-095c8410.entry.js} +1 -1
- package/dist/tet-components/{p-09fb2c4b.entry.js → p-095da4ac.entry.js} +1 -1
- package/dist/tet-components/{p-7e04d367.entry.js → p-0c24779b.entry.js} +1 -1
- package/dist/tet-components/{p-a91b95f0.entry.js → p-0e5baceb.entry.js} +1 -1
- package/dist/tet-components/{p-e9eac283.js → p-156b79d8.js} +1 -1
- package/dist/tet-components/{p-14fb76f8.entry.js → p-16a14b12.entry.js} +1 -1
- package/dist/tet-components/{p-282e1de2.entry.js → p-17e20a98.entry.js} +1 -1
- package/dist/tet-components/{p-9fee1e91.entry.js → p-1a229af9.entry.js} +1 -1
- package/dist/tet-components/{p-aa33b2e8.entry.js → p-1a77a9b6.entry.js} +1 -1
- package/dist/tet-components/{p-0c02ac35.entry.js → p-1d397ef3.entry.js} +1 -1
- package/dist/tet-components/{p-c43ee172.entry.js → p-1ef0e2bc.entry.js} +1 -1
- package/dist/tet-components/{p-ff5fb9e4.entry.js → p-1f72c21b.entry.js} +1 -1
- package/dist/tet-components/{p-e6d6744b.entry.js → p-1fc8e776.entry.js} +1 -1
- package/dist/tet-components/{p-cdf24c83.entry.js → p-1fcd5b09.entry.js} +1 -1
- package/dist/tet-components/{p-350f0cc8.entry.js → p-27599139.entry.js} +1 -1
- package/dist/tet-components/{p-3d73a4e3.entry.js → p-27c58e75.entry.js} +1 -1
- package/dist/tet-components/{p-73971e4d.entry.js → p-287d20d4.entry.js} +1 -1
- package/dist/tet-components/{p-981111e0.entry.js → p-2bade8dc.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-cb6df953.entry.js → p-2ed0da53.entry.js} +1 -1
- package/dist/tet-components/{p-c0363485.entry.js → p-2f484973.entry.js} +1 -1
- package/dist/tet-components/{p-e420e72d.entry.js → p-30eab483.entry.js} +1 -1
- package/dist/tet-components/{p-f6474f11.entry.js → p-32847323.entry.js} +1 -1
- package/dist/tet-components/{p-b47c0736.entry.js → p-3cbd86e4.entry.js} +1 -1
- package/dist/tet-components/{p-7dbf302e.entry.js → p-3ff9eb4f.entry.js} +1 -1
- package/dist/tet-components/{p-8d1c958e.entry.js → p-47752849.entry.js} +1 -1
- package/dist/tet-components/{p-eaded8bd.entry.js → p-495d0f4d.entry.js} +1 -1
- package/dist/tet-components/{p-1099b8fa.entry.js → p-4964cbd9.entry.js} +1 -1
- package/dist/tet-components/{p-f072aa97.entry.js → p-4b1affb0.entry.js} +1 -1
- package/dist/tet-components/{p-82a18864.entry.js → p-4cf440ee.entry.js} +1 -1
- package/dist/tet-components/{p-edd2b9f5.entry.js → p-537a3452.entry.js} +1 -1
- package/dist/tet-components/{p-6b5169bf.entry.js → p-56e0181f.entry.js} +1 -1
- package/dist/tet-components/{p-63d74d15.entry.js → p-5911bb84.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-9302af3a.entry.js → p-5b94cd7d.entry.js} +1 -1
- package/dist/tet-components/{p-d688fdca.entry.js → p-5d02314b.entry.js} +1 -1
- package/dist/tet-components/{p-98ba6f5d.entry.js → p-5d911ff8.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-d2f35322.entry.js → p-6725544c.entry.js} +1 -1
- package/dist/tet-components/p-6bc23a0b.entry.js +1 -0
- package/dist/tet-components/{p-b152fc68.entry.js → p-706552fe.entry.js} +1 -1
- package/dist/tet-components/{p-b6bfdd4e.entry.js → p-70e766f8.entry.js} +1 -1
- package/dist/tet-components/{p-c8fb3098.entry.js → p-72d7cf6d.entry.js} +1 -1
- package/dist/tet-components/{p-8f4ff4bd.entry.js → p-73841b71.entry.js} +1 -1
- package/dist/tet-components/{p-662ef913.entry.js → p-73a2d403.entry.js} +1 -1
- package/dist/tet-components/{p-372f452b.entry.js → p-746d41eb.entry.js} +1 -1
- package/dist/tet-components/{p-d951657c.entry.js → p-75d79a8b.entry.js} +1 -1
- package/dist/tet-components/{p-87a2809b.entry.js → p-793b0428.entry.js} +1 -1
- package/dist/tet-components/{p-1bd93ad3.entry.js → p-7aba2238.entry.js} +1 -1
- package/dist/tet-components/{p-54e73905.entry.js → p-7b7b9e6a.entry.js} +1 -1
- package/dist/tet-components/{p-77bec9a6.entry.js → p-7bac49d9.entry.js} +1 -1
- package/dist/tet-components/{p-811658a5.entry.js → p-7ffd2532.entry.js} +1 -1
- package/dist/tet-components/{p-01a45267.entry.js → p-805b7ea4.entry.js} +1 -1
- package/dist/tet-components/{p-4e643503.entry.js → p-84dca941.entry.js} +1 -1
- package/dist/tet-components/{p-44215fbb.entry.js → p-88da153c.entry.js} +1 -1
- package/dist/tet-components/{p-4330c786.js → p-894e34a9.js} +1 -1
- package/dist/tet-components/{p-4948b331.entry.js → p-8e6b042b.entry.js} +1 -1
- package/dist/tet-components/{p-258f63dc.entry.js → p-9c297f57.entry.js} +1 -1
- package/dist/tet-components/{p-e695fe7c.entry.js → p-9dd0f7ab.entry.js} +1 -1
- package/dist/tet-components/{p-44b986af.entry.js → p-9f30d309.entry.js} +1 -1
- package/dist/tet-components/{p-025ffb5a.entry.js → p-9fecf04b.entry.js} +1 -1
- package/dist/tet-components/{p-0864ff90.entry.js → p-a05739a9.entry.js} +1 -1
- package/dist/tet-components/{p-bc91e97f.entry.js → p-a20dfa4b.entry.js} +1 -1
- package/dist/tet-components/{p-6f6432a6.entry.js → p-a4188d81.entry.js} +1 -1
- package/dist/tet-components/{p-77bd8e7d.entry.js → p-a90c335e.entry.js} +1 -1
- package/dist/tet-components/p-ab13f036.entry.js +1 -0
- package/dist/tet-components/{p-5ba9e9d8.js → p-aca88f25.js} +1 -1
- package/dist/tet-components/{p-a6d7c907.entry.js → p-b11d351c.entry.js} +1 -1
- package/dist/tet-components/{p-dcf3b911.entry.js → p-b474e15d.entry.js} +1 -1
- package/dist/tet-components/{p-b9356bd0.entry.js → p-b47a4b1c.entry.js} +1 -1
- package/dist/tet-components/{p-03a4eed1.entry.js → p-b664e6cc.entry.js} +1 -1
- package/dist/tet-components/{p-ee3a7ea7.entry.js → p-b7df4462.entry.js} +1 -1
- package/dist/tet-components/{p-e9fdafc0.entry.js → p-b8e2d20f.entry.js} +1 -1
- package/dist/tet-components/{p-4c074b0b.entry.js → p-b8f1f856.entry.js} +1 -1
- package/dist/tet-components/{p-bcdb7766.entry.js → p-bca053cb.entry.js} +1 -1
- package/dist/tet-components/{p-43fb9369.entry.js → p-bde831e7.entry.js} +1 -1
- package/dist/tet-components/{p-efbf6f12.entry.js → p-be3cc237.entry.js} +1 -1
- package/dist/tet-components/{p-2da19afb.entry.js → p-bed205ab.entry.js} +1 -1
- package/dist/tet-components/{p-7319e21f.entry.js → p-c8a13404.entry.js} +1 -1
- package/dist/tet-components/{p-3f2e515f.entry.js → p-cf25c04c.entry.js} +1 -1
- package/dist/tet-components/{p-c4c62bcf.entry.js → p-cf2cc85f.entry.js} +1 -1
- package/dist/tet-components/{p-75dda1fd.entry.js → p-d0c5c962.entry.js} +1 -1
- package/dist/tet-components/{p-5810a3a6.js → p-d1d433a5.js} +1 -1
- package/dist/tet-components/{p-5fa05a92.entry.js → p-d354a35f.entry.js} +1 -1
- package/dist/tet-components/{p-40533c87.entry.js → p-d451901f.entry.js} +1 -1
- package/dist/tet-components/{p-575eecc3.entry.js → p-d591a4c1.entry.js} +1 -1
- package/dist/tet-components/{p-a94d9361.js → p-d5c28336.js} +1 -1
- package/dist/tet-components/{p-0bd5adcf.entry.js → p-d8ca57bf.entry.js} +1 -1
- package/dist/tet-components/{p-5de41c5d.entry.js → p-de73cfe0.entry.js} +1 -1
- package/dist/tet-components/{p-460c39a5.entry.js → p-e0e92522.entry.js} +1 -1
- package/dist/tet-components/{p-6eb72733.entry.js → p-e30fa532.entry.js} +1 -1
- package/dist/tet-components/{p-5d7cd8e2.entry.js → p-f14dfc87.entry.js} +1 -1
- package/dist/tet-components/{p-908ab540.entry.js → p-f45ff6f2.entry.js} +1 -1
- package/dist/tet-components/{p-2d904f12.entry.js → p-f58b267f.entry.js} +1 -1
- package/dist/tet-components/{p-f4df5d30.entry.js → p-f72bba9f.entry.js} +1 -1
- package/dist/tet-components/{p-20aca81b.entry.js → p-f8f23e91.entry.js} +1 -1
- package/dist/tet-components/{p-f55a404a.entry.js → p-fa323f16.entry.js} +1 -1
- package/dist/tet-components/{p-3e60d61c.js → p-fa674b43.js} +1 -1
- package/dist/tet-components/{p-4737a17f.entry.js → p-fb13ad14.entry.js} +1 -1
- package/dist/tet-components/{p-fe46ae1e.entry.js → p-fd092a06.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +0 -432
- package/dist/esm/tet-tooltip.entry.js +0 -428
- package/dist/tet-components/p-3016e7c8.entry.js +0 -1
- package/dist/tet-components/p-768c00d1.entry.js +0 -1
- package/dist/tet-components/p-e60a18af.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -1,432 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-3242ff3f.js');
|
|
6
|
-
const TooltipPosition = require('./TooltipPosition-03ffa8a1.js');
|
|
7
|
-
|
|
8
|
-
const tetTooltipCss = ":host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:\"\\e86e\"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:\"\\e85a\"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:\"\\e85b\"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:\"\\e86c\"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:\"\\e855\"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:\"\\e859\"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:\"\\e856\"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:\"\\e86a\"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:\"\\e81d\"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:\"\\e867\"}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--tooltip-background-color:var(--tc-tooltip-layer-secondary);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary);--tooltip-padding:1em;--tooltip-display-speed:.2s;--tooltip-delay-show:0s;--tooltip-delay-hide:.25s;--tooltip-max-width:18.75rem;--tooltip-border-radius:0.3125rem;--tooltip-font-weight:400;position:fixed;display:inline-block;width:max-content;max-width:min(var(--tooltip-max-width), 100%);z-index:100;pointer-events:none;opacity:0}:host(.hidden){visibility:hidden;opacity:0;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear}:host(.hidden-quick){opacity:0;visibility:hidden;transform:scale(0)}:host(.visible){visibility:visible;opacity:1;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear;transition-delay:var(--tooltip-delay-show)}.light-inverse{--tooltip-background-color:var(--tc-tooltip-layer-primary);--tooltip-text-color:var(--tc-tooltip-text-primary)}.dark{--tooltip-background-color:var(--tc-tooltip-layer-primary-dark);--tooltip-text-color:var(--tc-tooltip-text-primary-dark)}.dark-inverse{--tooltip-background-color:var(--tc-tooltip-layer-secondary-dark);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary-dark)}.tooltip{position:relative;background:var(--tooltip-background-color);color:var(--tooltip-text-color);border-radius:var(--tooltip-border-radius);padding:var(--tooltip-padding);font-family:var(--font-family-content);font-weight:var(--tooltip-font-weight);font-size:0.875rem;white-space:normal;line-height:1.5em}.tooltip-pointer{position:absolute;width:0;height:0;border-left:0.5rem solid transparent;border-right:0.5rem solid transparent;border-bottom:0.5rem solid var(--tooltip-background-color)}@keyframes fadeIn{0%{opacity:0;transform:scale(0)}100%{opacity:1;visibility:visible;transform:scale(1)}}@keyframes fadeOut{0%{opacity:1;visibility:visible;transform:scale(1)}100%{opacity:0;visibility:hidden;transform:scale(0)}}";
|
|
9
|
-
const TetTooltipStyle0 = tetTooltipCss;
|
|
10
|
-
|
|
11
|
-
const TetTooltip = class {
|
|
12
|
-
constructor(hostRef) {
|
|
13
|
-
index.registerInstance(this, hostRef);
|
|
14
|
-
this.theme = 'classic';
|
|
15
|
-
this.targetElementSelector = undefined;
|
|
16
|
-
this.hoverElement = undefined;
|
|
17
|
-
this.doNotShowOnHover = false;
|
|
18
|
-
this.position = TooltipPosition.TooltipPosition.BOTTOM;
|
|
19
|
-
this.positionState = TooltipPosition.TooltipPosition.BOTTOM;
|
|
20
|
-
this.showTooltip = false;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* The HTML element that should trigger the tooltip.
|
|
24
|
-
*/
|
|
25
|
-
targetElement = null;
|
|
26
|
-
/**
|
|
27
|
-
* The pointer element of the tooltip.
|
|
28
|
-
*/
|
|
29
|
-
tooltipPointer;
|
|
30
|
-
/**
|
|
31
|
-
* The minimum spacing in pixels from the sides of the window and the target element for the tooltip.
|
|
32
|
-
*/
|
|
33
|
-
margin = 8;
|
|
34
|
-
/**
|
|
35
|
-
* The time in seconds of how long should the hover should happen before the tooltip should play the fade-out animation.
|
|
36
|
-
* This should match CSS --tooltip-delay-show property value.
|
|
37
|
-
*/
|
|
38
|
-
tooltipTimeThreshold = 0.25;
|
|
39
|
-
/**
|
|
40
|
-
* The properties of keeping track when the mouse entered or exited the target element.
|
|
41
|
-
*/
|
|
42
|
-
tooltipStartTime = 0;
|
|
43
|
-
tooltipEndTime = 0;
|
|
44
|
-
resizeObserver;
|
|
45
|
-
displayTimeout;
|
|
46
|
-
listenersAttached = false;
|
|
47
|
-
showHandler = this.show.bind(this);
|
|
48
|
-
hideHandler = this.hide.bind(this);
|
|
49
|
-
get element() { return index.getElement(this); }
|
|
50
|
-
/**
|
|
51
|
-
* Listen for the `touchmove` event and hide the tooltip if visible.
|
|
52
|
-
* This will handle the mobile device events.
|
|
53
|
-
*/
|
|
54
|
-
handleTouchmove() {
|
|
55
|
-
this.hideQuick();
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Listen for the `wheel` event and hide the tooltip if visible.
|
|
59
|
-
* The `wheel` event is intentionally preferred instead of `scroll`.
|
|
60
|
-
*/
|
|
61
|
-
handleWheel() {
|
|
62
|
-
this.hideQuick();
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Listen for the `Escape` keydown event and hide the tooltip if visible.
|
|
66
|
-
*/
|
|
67
|
-
onKeydown(event) {
|
|
68
|
-
if (event.code === 'Escape') {
|
|
69
|
-
this.hideQuick();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Listen for the window to resize and reset the `positionState` to the original default value.
|
|
74
|
-
*/
|
|
75
|
-
handleResize() {
|
|
76
|
-
this.positionState = this.position;
|
|
77
|
-
}
|
|
78
|
-
handlePositionChange(position) {
|
|
79
|
-
this.positionState = position;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Hide the tooltip quickly and ignore the time the tooltip has been visible for on screen.
|
|
83
|
-
*/
|
|
84
|
-
hideQuick = () => {
|
|
85
|
-
if (this.showTooltip) {
|
|
86
|
-
this.tooltipStartTime = Date.now();
|
|
87
|
-
this.hide();
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
onShowTooltipChange(value) {
|
|
91
|
-
// The "fade-out" is watched separately for changes to avoid the animation on the initial page load.
|
|
92
|
-
if (!value) {
|
|
93
|
-
// The time spent on showing the tooltip in seconds.
|
|
94
|
-
const tooltipTime = this.tooltipEndTime / 1000 - this.tooltipStartTime / 1000;
|
|
95
|
-
// This avoids playing the "fade-out" animation when the mouse is quickly moved over tooltip target element.
|
|
96
|
-
// Otherwise, the tooltips would pop up and play the fade-out animation each time.
|
|
97
|
-
this.element.classList.add(tooltipTime > this.tooltipTimeThreshold ? 'hidden' : 'hidden-quick');
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
this.element.classList.remove('hidden', 'hidden-quick');
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
componentWillLoad() {
|
|
104
|
-
this.positionState = this.position;
|
|
105
|
-
// By default, set tooltip to be hidden.
|
|
106
|
-
this.element.style.display = 'none';
|
|
107
|
-
}
|
|
108
|
-
resolveTarget() {
|
|
109
|
-
if (this.hoverElement) {
|
|
110
|
-
return this.hoverElement;
|
|
111
|
-
}
|
|
112
|
-
if (this.targetElementSelector) {
|
|
113
|
-
return (this.element.closest(this.targetElementSelector) ??
|
|
114
|
-
document.querySelector(this.targetElementSelector));
|
|
115
|
-
}
|
|
116
|
-
return this.element.parentElement;
|
|
117
|
-
}
|
|
118
|
-
bindTarget() {
|
|
119
|
-
const target = this.resolveTarget();
|
|
120
|
-
const element = this.element;
|
|
121
|
-
if (this.listenersAttached && target === this.targetElement) {
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
this.unbindTarget();
|
|
125
|
-
this.targetElement = target;
|
|
126
|
-
if (!target) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
if (!this.doNotShowOnHover) {
|
|
130
|
-
target.addEventListener('mouseenter', this.showHandler);
|
|
131
|
-
target.addEventListener('mouseleave', this.hideHandler);
|
|
132
|
-
}
|
|
133
|
-
target.addEventListener('focusin', this.showHandler);
|
|
134
|
-
target.addEventListener('focusout', this.hideHandler);
|
|
135
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
136
|
-
if (!target.offsetHeight) {
|
|
137
|
-
element.classList.remove('hidden');
|
|
138
|
-
element.classList.add('hidden-quick');
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
this.resizeObserver.observe(target);
|
|
142
|
-
this.listenersAttached = true;
|
|
143
|
-
}
|
|
144
|
-
unbindTarget() {
|
|
145
|
-
if (this.targetElement && this.listenersAttached) {
|
|
146
|
-
this.targetElement.removeEventListener('mouseenter', this.showHandler);
|
|
147
|
-
this.targetElement.removeEventListener('mouseleave', this.hideHandler);
|
|
148
|
-
this.targetElement.removeEventListener('focusin', this.showHandler);
|
|
149
|
-
this.targetElement.removeEventListener('focusout', this.hideHandler);
|
|
150
|
-
}
|
|
151
|
-
this.resizeObserver?.disconnect();
|
|
152
|
-
this.resizeObserver = undefined;
|
|
153
|
-
this.listenersAttached = false;
|
|
154
|
-
}
|
|
155
|
-
scheduleDisplay() {
|
|
156
|
-
// Delay the visibility for a moment to avoid the blinking effect of the tooltips shortly after the load.
|
|
157
|
-
const element = this.element;
|
|
158
|
-
const shouldShowOnHover = !this.doNotShowOnHover;
|
|
159
|
-
const targetElement = this.targetElement;
|
|
160
|
-
clearTimeout(this.displayTimeout);
|
|
161
|
-
this.displayTimeout = setTimeout(() => {
|
|
162
|
-
this.displayTimeout = undefined;
|
|
163
|
-
if (!element.isConnected)
|
|
164
|
-
return;
|
|
165
|
-
element.style.display = 'inline-block';
|
|
166
|
-
if (shouldShowOnHover && targetElement?.matches(':hover')) {
|
|
167
|
-
void this.show();
|
|
168
|
-
}
|
|
169
|
-
}, 100);
|
|
170
|
-
}
|
|
171
|
-
componentDidLoad() {
|
|
172
|
-
this.bindTarget();
|
|
173
|
-
this.scheduleDisplay();
|
|
174
|
-
}
|
|
175
|
-
connectedCallback() {
|
|
176
|
-
const element = this.element;
|
|
177
|
-
queueMicrotask(() => {
|
|
178
|
-
if (!element.isConnected) {
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
this.bindTarget();
|
|
182
|
-
this.scheduleDisplay();
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
disconnectedCallback() {
|
|
186
|
-
clearTimeout(this.displayTimeout);
|
|
187
|
-
this.displayTimeout = undefined;
|
|
188
|
-
this.unbindTarget();
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Show the tooltip.
|
|
192
|
-
*/
|
|
193
|
-
async show() {
|
|
194
|
-
this.tooltipStartTime = Date.now();
|
|
195
|
-
this.showTooltip = true;
|
|
196
|
-
this.positionTooltip();
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Hide the tooltip.
|
|
200
|
-
*/
|
|
201
|
-
async hide() {
|
|
202
|
-
this.tooltipEndTime = Date.now();
|
|
203
|
-
this.showTooltip = false;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Toggle the tooltip.
|
|
207
|
-
*/
|
|
208
|
-
async toggle() {
|
|
209
|
-
if (this.showTooltip) {
|
|
210
|
-
await this.hide();
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
await this.show();
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Positions the tooltip corresponding to the target element.
|
|
218
|
-
*/
|
|
219
|
-
positionTooltip = () => {
|
|
220
|
-
const targetElement = this.targetElement;
|
|
221
|
-
if (!targetElement) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
const targetBoundaries = targetElement.getBoundingClientRect();
|
|
225
|
-
/**
|
|
226
|
-
* Check whether the tooltip can be placed on either side of the element
|
|
227
|
-
* when either the left or the right position is set by default.
|
|
228
|
-
*/
|
|
229
|
-
if ([TooltipPosition.TooltipPosition.LEFT, TooltipPosition.TooltipPosition.RIGHT].includes(this.positionState)) {
|
|
230
|
-
const canPositionRight = window.innerWidth > targetBoundaries.right + this.margin + this.element.offsetWidth;
|
|
231
|
-
const canPositionLeft = this.element.offsetWidth + this.margin < targetBoundaries.left;
|
|
232
|
-
// Change positioning if it cannot.
|
|
233
|
-
if (!canPositionLeft && !canPositionRight) {
|
|
234
|
-
this.positionState = TooltipPosition.TooltipPosition.BOTTOM;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
const isTooltipOutOfVerticalBounds = this.positionTooltipVertically(targetBoundaries);
|
|
238
|
-
const isTooltipOutOfHorizontalBounds = this.positionTooltipHorizontally(targetBoundaries);
|
|
239
|
-
// Applies a margin for spacing purposes.
|
|
240
|
-
// This is done via JS as the margin values are needed for position calculations as well.
|
|
241
|
-
this.element.style.margin = `${this.margin}px`;
|
|
242
|
-
// Position the pointer (caret) element after the tooltip as the main tooltip position is required for calculations.
|
|
243
|
-
const isTooltipOutOfBounds = isTooltipOutOfVerticalBounds || isTooltipOutOfHorizontalBounds;
|
|
244
|
-
const actualTooltipPosition = this.getTooltipPosition(isTooltipOutOfBounds);
|
|
245
|
-
this.positionTooltipPointer(actualTooltipPosition);
|
|
246
|
-
};
|
|
247
|
-
getTooltipPosition(isTooltipOutOfBounds) {
|
|
248
|
-
switch (this.positionState) {
|
|
249
|
-
case TooltipPosition.TooltipPosition.TOP:
|
|
250
|
-
if (isTooltipOutOfBounds) {
|
|
251
|
-
return TooltipPosition.TooltipPosition.BOTTOM;
|
|
252
|
-
}
|
|
253
|
-
return TooltipPosition.TooltipPosition.TOP;
|
|
254
|
-
case TooltipPosition.TooltipPosition.BOTTOM:
|
|
255
|
-
if (isTooltipOutOfBounds) {
|
|
256
|
-
return TooltipPosition.TooltipPosition.TOP;
|
|
257
|
-
}
|
|
258
|
-
return TooltipPosition.TooltipPosition.BOTTOM;
|
|
259
|
-
case TooltipPosition.TooltipPosition.LEFT:
|
|
260
|
-
if (isTooltipOutOfBounds) {
|
|
261
|
-
return TooltipPosition.TooltipPosition.RIGHT;
|
|
262
|
-
}
|
|
263
|
-
return TooltipPosition.TooltipPosition.LEFT;
|
|
264
|
-
case TooltipPosition.TooltipPosition.RIGHT:
|
|
265
|
-
if (isTooltipOutOfBounds) {
|
|
266
|
-
return TooltipPosition.TooltipPosition.LEFT;
|
|
267
|
-
}
|
|
268
|
-
return TooltipPosition.TooltipPosition.RIGHT;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
positionTooltipVertically(targetBoundaries) {
|
|
272
|
-
let isTooltipOutOfBounds = false;
|
|
273
|
-
switch (this.positionState) {
|
|
274
|
-
case TooltipPosition.TooltipPosition.BOTTOM:
|
|
275
|
-
if (targetBoundaries.bottom + this.element.offsetHeight + this.margin > window.innerHeight) {
|
|
276
|
-
// When the tooltip would be outside the screen on the bottom side.
|
|
277
|
-
this.element.style.top = '';
|
|
278
|
-
this.element.style.bottom = `${window.innerHeight - targetBoundaries.top}px`;
|
|
279
|
-
isTooltipOutOfBounds = true;
|
|
280
|
-
}
|
|
281
|
-
else {
|
|
282
|
-
// When the tooltip is within the screen boundaries.
|
|
283
|
-
this.element.style.top = `${targetBoundaries.bottom}px`;
|
|
284
|
-
this.element.style.bottom = '';
|
|
285
|
-
}
|
|
286
|
-
break;
|
|
287
|
-
case TooltipPosition.TooltipPosition.TOP:
|
|
288
|
-
if (targetBoundaries.top - this.element.offsetHeight < 0) {
|
|
289
|
-
// When the tooltip would be outside the screen on the top side.
|
|
290
|
-
this.element.style.top = `${targetBoundaries.bottom}px`;
|
|
291
|
-
this.element.style.bottom = '';
|
|
292
|
-
isTooltipOutOfBounds = true;
|
|
293
|
-
}
|
|
294
|
-
else {
|
|
295
|
-
// When the tooltip is within the screen boundaries.
|
|
296
|
-
this.element.style.top = '';
|
|
297
|
-
this.element.style.bottom = `${window.innerHeight - targetBoundaries.top}px`;
|
|
298
|
-
}
|
|
299
|
-
break;
|
|
300
|
-
default:
|
|
301
|
-
const targetElementCenterPostion = targetBoundaries.top + targetBoundaries.height / 2;
|
|
302
|
-
const tooltipCenterWidth = this.element.offsetHeight / 2 + this.margin;
|
|
303
|
-
const tooltipTopPosition = targetElementCenterPostion - tooltipCenterWidth;
|
|
304
|
-
if (tooltipTopPosition < 0) {
|
|
305
|
-
// When the tooltip would be outside the screen on the top side.
|
|
306
|
-
this.element.style.top = '0';
|
|
307
|
-
this.element.style.bottom = '';
|
|
308
|
-
}
|
|
309
|
-
else if (tooltipTopPosition + this.element.offsetHeight + this.margin > window.innerHeight) {
|
|
310
|
-
// When the tooltip would be outside the screen on the bottom side.
|
|
311
|
-
this.element.style.top = '';
|
|
312
|
-
this.element.style.bottom = '0';
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
// When the tooltip is within the screen boundaries.
|
|
316
|
-
this.element.style.top = `${tooltipTopPosition}px`;
|
|
317
|
-
this.element.style.bottom = '';
|
|
318
|
-
}
|
|
319
|
-
break;
|
|
320
|
-
}
|
|
321
|
-
return isTooltipOutOfBounds;
|
|
322
|
-
}
|
|
323
|
-
positionTooltipHorizontally(targetBoundaries) {
|
|
324
|
-
let isTooltipOutOfBounds = false;
|
|
325
|
-
switch (this.positionState) {
|
|
326
|
-
case TooltipPosition.TooltipPosition.LEFT:
|
|
327
|
-
if (this.element.offsetWidth + this.margin > targetBoundaries.left) {
|
|
328
|
-
this.element.style.left = `${targetBoundaries.right}px`;
|
|
329
|
-
this.element.style.right = '';
|
|
330
|
-
isTooltipOutOfBounds = true;
|
|
331
|
-
}
|
|
332
|
-
else {
|
|
333
|
-
this.element.style.left = '';
|
|
334
|
-
this.element.style.right = `${window.innerWidth - targetBoundaries.left}px`;
|
|
335
|
-
}
|
|
336
|
-
break;
|
|
337
|
-
case TooltipPosition.TooltipPosition.RIGHT:
|
|
338
|
-
if (window.innerWidth < targetBoundaries.right + this.margin + this.element.offsetWidth) {
|
|
339
|
-
this.element.style.left = '';
|
|
340
|
-
this.element.style.right = `${window.innerWidth - targetBoundaries.left}px`;
|
|
341
|
-
isTooltipOutOfBounds = true;
|
|
342
|
-
}
|
|
343
|
-
else {
|
|
344
|
-
this.element.style.left = `${targetBoundaries.right}px`;
|
|
345
|
-
this.element.style.right = '';
|
|
346
|
-
}
|
|
347
|
-
break;
|
|
348
|
-
default:
|
|
349
|
-
const targetElementCenterPostion = targetBoundaries.left + targetBoundaries.width / 2;
|
|
350
|
-
const tooltipCenterWidth = this.element.offsetWidth / 2 - this.margin;
|
|
351
|
-
const tooltipLeftPosition = targetElementCenterPostion - tooltipCenterWidth;
|
|
352
|
-
if (tooltipLeftPosition < 0) {
|
|
353
|
-
// When the tooltip would be outside the screen on the left side.
|
|
354
|
-
this.element.style.left = '0';
|
|
355
|
-
this.element.style.right = '';
|
|
356
|
-
}
|
|
357
|
-
else if (tooltipLeftPosition + this.element.offsetWidth + this.margin > window.innerWidth) {
|
|
358
|
-
// When the tooltip would be outside the screen on the right side.
|
|
359
|
-
this.element.style.left = '';
|
|
360
|
-
this.element.style.right = '0';
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
// When the tooltip is within the screen boundaries.
|
|
364
|
-
this.element.style.left = `${tooltipLeftPosition}px`;
|
|
365
|
-
this.element.style.right = '';
|
|
366
|
-
}
|
|
367
|
-
break;
|
|
368
|
-
}
|
|
369
|
-
return isTooltipOutOfBounds;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Position the tooltip pointer (caret) element.
|
|
373
|
-
*/
|
|
374
|
-
positionTooltipPointer = (position) => {
|
|
375
|
-
const targetElement = this.targetElement;
|
|
376
|
-
if (!targetElement) {
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
const target = targetElement.getBoundingClientRect();
|
|
380
|
-
const tooltip = this.element.getBoundingClientRect();
|
|
381
|
-
if ([TooltipPosition.TooltipPosition.TOP, TooltipPosition.TooltipPosition.BOTTOM].includes(position)) {
|
|
382
|
-
// Get the boundaries of the overlapping target element and the tooltip area on X axis.
|
|
383
|
-
const max = Math.min(target.right, tooltip.left + this.element.offsetWidth);
|
|
384
|
-
const min = Math.max(target.left, tooltip.left);
|
|
385
|
-
const overlapAreaMiddle = (max + min) / 2;
|
|
386
|
-
this.tooltipPointer.style.left = `${overlapAreaMiddle - tooltip.left - this.tooltipPointer.offsetWidth / 2}px`;
|
|
387
|
-
if (position === TooltipPosition.TooltipPosition.BOTTOM) {
|
|
388
|
-
this.tooltipPointer.style.top = `-6px`;
|
|
389
|
-
this.tooltipPointer.style.bottom = '';
|
|
390
|
-
this.tooltipPointer.style.transform = 'rotate(0deg)';
|
|
391
|
-
}
|
|
392
|
-
if (position === TooltipPosition.TooltipPosition.TOP) {
|
|
393
|
-
this.tooltipPointer.style.top = '';
|
|
394
|
-
this.tooltipPointer.style.bottom = `-6px`;
|
|
395
|
-
this.tooltipPointer.style.transform = 'rotate(180deg)';
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
if ([TooltipPosition.TooltipPosition.LEFT, TooltipPosition.TooltipPosition.RIGHT].includes(position)) {
|
|
399
|
-
// Get the boundaries of the overlapping target element and the tooltip area on Y axis.
|
|
400
|
-
const max = Math.min(target.bottom, tooltip.top + this.element.offsetHeight);
|
|
401
|
-
const min = Math.max(target.top, tooltip.top);
|
|
402
|
-
const overlapAreaMiddle = (max + min) / 2;
|
|
403
|
-
this.tooltipPointer.style.top = `${overlapAreaMiddle - tooltip.top - this.tooltipPointer.offsetHeight / 2}px`;
|
|
404
|
-
if (position === TooltipPosition.TooltipPosition.RIGHT) {
|
|
405
|
-
this.tooltipPointer.style.left = `-12px`;
|
|
406
|
-
this.tooltipPointer.style.right = '';
|
|
407
|
-
this.tooltipPointer.style.transform = 'rotate(270deg)';
|
|
408
|
-
}
|
|
409
|
-
if (position === TooltipPosition.TooltipPosition.LEFT) {
|
|
410
|
-
this.tooltipPointer.style.left = '';
|
|
411
|
-
this.tooltipPointer.style.right = `-12px`;
|
|
412
|
-
this.tooltipPointer.style.transform = 'rotate(90deg)';
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
/**
|
|
417
|
-
* Renders the tooltip.
|
|
418
|
-
*/
|
|
419
|
-
renderTooltip = () => {
|
|
420
|
-
return (index.h("div", { class: { tooltip: true, [`${this.theme}`]: true }, role: "tooltip", "aria-hidden": this.showTooltip ? 'false' : 'true', "aria-live": this.showTooltip ? 'polite' : undefined }, index.h("div", { class: "tooltip-pointer", ref: (el) => (this.tooltipPointer = el) }), index.h("slot", null)));
|
|
421
|
-
};
|
|
422
|
-
render() {
|
|
423
|
-
return index.h(index.Host, { key: '8ec5e15fbd0522e11d2c313c282b3a8d86a91ffc', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
424
|
-
}
|
|
425
|
-
static get watchers() { return {
|
|
426
|
-
"position": ["handlePositionChange"],
|
|
427
|
-
"showTooltip": ["onShowTooltipChange"]
|
|
428
|
-
}; }
|
|
429
|
-
};
|
|
430
|
-
TetTooltip.style = TetTooltipStyle0;
|
|
431
|
-
|
|
432
|
-
exports.tet_tooltip = TetTooltip;
|