@tet/tet-components 1.4.71-testing → 1.4.72-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-656e77f6.js → address-f852270f.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +17 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.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 +4 -4
- 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-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_3.cjs.entry.js → tet-checkbox_2.cjs.entry.js} +1 -375
- 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 +4 -4
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +360 -0
- 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 +2 -2
- 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 +7 -5
- package/dist/cjs/tet-menu.cjs.entry.js +397 -92
- 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 +2 -2
- 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.cjs.entry.js +13 -11
- 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 +2 -2
- 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 +2 -2
- 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-tooltip.cjs.entry.js +380 -0
- 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-03c9de64.js → translations-89a0ec3d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +34 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +34 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/test/comparison-response.mock.js +463 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.css +868 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +699 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.css +3 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +11 -9
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.css +3 -0
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.css +23 -7
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +34 -0
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.css +819 -39
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +464 -95
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.css +56 -36
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +23 -3
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.css +17 -3
- package/dist/components/index.js +3 -1
- package/dist/components/{p-8803338b.js → p-05f9e34d.js} +1 -1
- package/dist/components/{p-42d78188.js → p-08612744.js} +7 -7
- package/dist/components/{p-22b05881.js → p-0c48b91d.js} +3 -3
- package/dist/components/{p-a57638be.js → p-0dc23dbb.js} +1 -1
- package/dist/components/{p-61ba5ba1.js → p-1585767d.js} +1 -1
- package/dist/components/{p-1942f0f5.js → p-1a0a5e0b.js} +3 -3
- package/dist/components/{p-d840d114.js → p-1bfee463.js} +1 -1
- package/dist/components/{p-c7f783f8.js → p-1c324769.js} +7 -7
- package/dist/components/{p-4d181fc9.js → p-25538d98.js} +5 -5
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-dab4d025.js → p-3794206a.js} +1 -1
- package/dist/components/{p-5a41a155.js → p-3e36e361.js} +4 -4
- package/dist/components/{p-05a4a88a.js → p-3f70a86a.js} +2 -2
- package/dist/components/{p-72215a89.js → p-3fef4912.js} +2 -2
- package/dist/components/{p-de671173.js → p-43ae78c6.js} +1 -1
- package/dist/components/{p-734f67c5.js → p-446fe76d.js} +1 -1
- package/dist/components/{p-a46ed058.js → p-4606f4f9.js} +1 -1
- package/dist/components/{p-70a6ba6c.js → p-464941c1.js} +14 -14
- package/dist/components/{p-7cd73a11.js → p-4ca8db20.js} +3 -3
- package/dist/components/{p-789bee5f.js → p-503abf7a.js} +1 -1
- package/dist/components/{p-b63a7833.js → p-538a0e87.js} +3 -3
- package/dist/components/{p-8cd5cc24.js → p-57b59a16.js} +2 -2
- package/dist/components/{p-eabd73fc.js → p-5c4dbc29.js} +3 -3
- package/dist/components/{p-f6c678ae.js → p-5f9d5d42.js} +2 -2
- package/dist/components/{p-69ddd50b.js → p-65955941.js} +6 -6
- package/dist/components/{p-d659d0dc.js → p-6d79283f.js} +1 -1
- package/dist/components/{p-f6e855a8.js → p-6e8583d1.js} +7 -7
- package/dist/components/{p-2f7b2d35.js → p-72ab8bd5.js} +1 -1
- package/dist/components/{p-68c6a6d2.js → p-785629c2.js} +1 -1
- package/dist/components/{p-6e273f47.js → p-79241ad5.js} +1 -1
- package/dist/components/{p-e8595e06.js → p-7e14c59f.js} +14 -12
- package/dist/components/{p-ecb62209.js → p-7e21e309.js} +2 -2
- package/dist/components/{p-6b6e4f80.js → p-7f14c72a.js} +1 -1
- package/dist/components/{p-efa3ec10.js → p-89110d69.js} +2 -2
- package/dist/components/{p-a6c51126.js → p-8a9be4ba.js} +2 -2
- package/dist/components/{p-d2906f29.js → p-8e3c606a.js} +3 -3
- package/dist/components/{p-b7eb822d.js → p-926949eb.js} +1 -1
- package/dist/components/{p-8f9ff447.js → p-9568c281.js} +2 -2
- package/dist/components/{p-d5d6ad18.js → p-95b43510.js} +2 -2
- package/dist/components/{p-454eccfc.js → p-9972183e.js} +3 -3
- package/dist/components/{p-e72337be.js → p-9e4881fa.js} +1 -1
- package/dist/components/{p-25ea4db6.js → p-a2b1a79a.js} +1 -1
- package/dist/components/{p-806583bf.js → p-a40527e5.js} +4 -4
- package/dist/components/{p-411270c6.js → p-a4099430.js} +2 -2
- package/dist/components/{p-23f7b264.js → p-a4c4d2c3.js} +7 -7
- package/dist/components/{p-b51591ec.js → p-a79cb5c9.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-189a37d2.js → p-b4ccc509.js} +5 -5
- package/dist/components/{p-1a84e464.js → p-b520b98a.js} +6 -6
- package/dist/components/{p-d6c8d210.js → p-c9d8d5c6.js} +10 -10
- package/dist/components/{p-3c404244.js → p-d0df24b6.js} +1 -1
- package/dist/components/{p-70507bfc.js → p-d2a24b94.js} +1 -1
- package/dist/components/{p-79e64e7a.js → p-d65f79c8.js} +3 -3
- package/dist/components/{p-a004fba4.js → p-d8eb751f.js} +2 -2
- package/dist/components/{p-2be031c9.js → p-d9008657.js} +9 -9
- package/dist/components/{p-1281b61e.js → p-d92091d6.js} +2 -2
- package/dist/components/{p-8f3097ac.js → p-e7e499ef.js} +10 -10
- package/dist/components/{p-cd88c18e.js → p-f2443ea9.js} +7 -7
- package/dist/components/{p-809b2c68.js → p-fcf4aad0.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-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 +10 -10
- package/dist/components/tet-compare-card-v3.d.ts +11 -0
- package/dist/components/tet-compare-card-v3.js +440 -0
- 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 +4 -4
- 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 +9 -6
- package/dist/components/tet-menu.js +405 -95
- 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.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 +11 -11
- 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-1e0810e7.js → address-20e2d850.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +17 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- 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-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_3.entry.js → tet-checkbox_2.entry.js} +2 -375
- 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 +4 -4
- package/dist/esm/tet-compare-card-v3.entry.js +356 -0
- 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 +2 -2
- 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 +7 -5
- package/dist/esm/tet-menu.entry.js +397 -92
- 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 +2 -2
- 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.entry.js +13 -11
- 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 +2 -2
- 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 +2 -2
- 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-tooltip.entry.js +376 -0
- 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-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-805fb580.entry.js → p-0416fa6c.entry.js} +1 -1
- package/dist/tet-components/{p-25bb7d4f.entry.js → p-08aeaafd.entry.js} +1 -1
- package/dist/tet-components/{p-84322a3d.entry.js → p-091ba284.entry.js} +1 -1
- package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
- package/dist/tet-components/{p-b01405f8.entry.js → p-0e6d4a8f.entry.js} +1 -1
- package/dist/tet-components/{p-e93ab3e8.entry.js → p-0f8cdb24.entry.js} +1 -1
- package/dist/tet-components/{p-1080e977.entry.js → p-18c74666.entry.js} +1 -1
- package/dist/tet-components/{p-697d23d7.entry.js → p-1beb018b.entry.js} +1 -1
- package/dist/tet-components/{p-97cff839.entry.js → p-1d7b8a14.entry.js} +1 -1
- package/dist/tet-components/p-1deaa34b.entry.js +1 -0
- package/dist/tet-components/{p-edd42275.entry.js → p-1ff90a2c.entry.js} +1 -1
- package/dist/tet-components/{p-6693715e.entry.js → p-25d4852b.entry.js} +1 -1
- package/dist/tet-components/{p-e290c65d.entry.js → p-26147420.entry.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
- package/dist/tet-components/{p-7f18c74c.entry.js → p-278f1d5e.entry.js} +1 -1
- package/dist/tet-components/{p-d06f8b4e.entry.js → p-27a33156.entry.js} +1 -1
- package/dist/tet-components/{p-52949a88.entry.js → p-2bf6d5b3.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
- package/dist/tet-components/{p-64e277c1.entry.js → p-3251b52b.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-fc88ce77.entry.js → p-40ed3be9.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-2b5b2c71.entry.js → p-47a897c5.entry.js} +1 -1
- package/dist/tet-components/p-4a86dd2b.entry.js +1 -0
- package/dist/tet-components/{p-6be0549b.entry.js → p-4babd7b2.entry.js} +1 -1
- package/dist/tet-components/{p-d778c1fe.entry.js → p-4e21dd2f.entry.js} +1 -1
- package/dist/tet-components/{p-900bd4e1.entry.js → p-4e9f66a8.entry.js} +1 -1
- package/dist/tet-components/{p-cf3456e2.entry.js → p-51dfe68c.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/{p-1393ed60.entry.js → p-5527dd96.entry.js} +1 -1
- package/dist/tet-components/{p-003e17a0.entry.js → p-58313d11.entry.js} +1 -1
- package/dist/tet-components/{p-38be49a6.entry.js → p-592f0674.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
- package/dist/tet-components/{p-d5b36540.entry.js → p-5ec1a6cf.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-480ca12a.entry.js → p-60ef69f6.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/{p-39ae25f5.entry.js → p-65644d7a.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/p-6c468fef.entry.js +1 -0
- package/dist/tet-components/{p-401e736e.entry.js → p-70448ec8.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-b31168fc.entry.js → p-738c3987.entry.js} +1 -1
- package/dist/tet-components/{p-e13c62c8.entry.js → p-78ec990b.entry.js} +1 -1
- package/dist/tet-components/{p-ff291490.entry.js → p-7c7330ad.entry.js} +1 -1
- package/dist/tet-components/{p-b10165d6.entry.js → p-7e2c854a.entry.js} +1 -1
- package/dist/tet-components/{p-78d6f52c.entry.js → p-812e4964.entry.js} +1 -1
- package/dist/tet-components/{p-69c58fc4.entry.js → p-81cabfb1.entry.js} +1 -1
- package/dist/tet-components/{p-5fb62a1b.entry.js → p-85fffa05.entry.js} +1 -1
- package/dist/tet-components/p-87248982.entry.js +1 -0
- package/dist/tet-components/{p-949d0eaf.entry.js → p-8998d112.entry.js} +1 -1
- package/dist/tet-components/{p-ba8c6a1c.entry.js → p-89d2d3d9.entry.js} +1 -1
- package/dist/tet-components/{p-46b3fc7f.entry.js → p-8ac7782f.entry.js} +1 -1
- package/dist/tet-components/{p-3324b31a.entry.js → p-8e72a5cb.entry.js} +1 -1
- package/dist/tet-components/{p-be3cb49b.entry.js → p-90d2e87a.entry.js} +1 -1
- package/dist/tet-components/p-928c38da.entry.js +1 -0
- package/dist/tet-components/{p-b98f7254.entry.js → p-9c0a5507.entry.js} +1 -1
- package/dist/tet-components/{p-d1035694.entry.js → p-9c34400c.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
- package/dist/tet-components/{p-331e7bf2.entry.js → p-a28e087f.entry.js} +1 -1
- package/dist/tet-components/{p-83e4ae9f.entry.js → p-a3b09130.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-c711cd66.entry.js → p-a80fa7d0.entry.js} +1 -1
- package/dist/tet-components/{p-7fc933fe.entry.js → p-aa09ca5f.entry.js} +1 -1
- package/dist/tet-components/{p-9a75ed39.entry.js → p-aba71e2d.entry.js} +1 -1
- package/dist/tet-components/{p-cd86d0b1.entry.js → p-ad38e14e.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-93820289.entry.js → p-b4fb5193.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-e6aab016.entry.js → p-bb0dd139.entry.js} +1 -1
- package/dist/tet-components/{p-2c92d701.entry.js → p-bea999e0.entry.js} +1 -1
- package/dist/tet-components/{p-2fb8ea65.entry.js → p-bf61c059.entry.js} +1 -1
- package/dist/tet-components/{p-f58bb61e.entry.js → p-c07ad1c3.entry.js} +1 -1
- package/dist/tet-components/{p-75bbc14a.entry.js → p-c1955aa6.entry.js} +1 -1
- package/dist/tet-components/{p-f93ab9f3.entry.js → p-c7e67378.entry.js} +1 -1
- package/dist/tet-components/{p-ed07c65a.entry.js → p-c82904b9.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-1ff1f044.entry.js → p-ceff5b1f.entry.js} +1 -1
- package/dist/tet-components/{p-5c821eef.entry.js → p-cf362ecc.entry.js} +1 -1
- package/dist/tet-components/{p-85f3f726.entry.js → p-d811ee75.entry.js} +1 -1
- package/dist/tet-components/{p-a0baf31a.entry.js → p-db46f3c9.entry.js} +1 -1
- package/dist/tet-components/{p-8fa0be45.entry.js → p-dcfc2639.entry.js} +1 -1
- package/dist/tet-components/{p-689e9d36.entry.js → p-e1aa6a4d.entry.js} +1 -1
- package/dist/tet-components/{p-b5315830.entry.js → p-e1bba17c.entry.js} +1 -1
- package/dist/tet-components/{p-5b5001cf.entry.js → p-e1ce8689.entry.js} +1 -1
- package/dist/tet-components/{p-6b088283.entry.js → p-e30eca37.entry.js} +1 -1
- package/dist/tet-components/{p-876009b7.entry.js → p-e3f93dd7.entry.js} +1 -1
- package/dist/tet-components/{p-f9c69d39.entry.js → p-e70a8127.entry.js} +1 -1
- package/dist/tet-components/{p-fa259a3d.entry.js → p-e8ec9d1c.entry.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/p-ecfd2169.entry.js +1 -0
- package/dist/tet-components/{p-e17d0862.entry.js → p-f1771c69.entry.js} +1 -1
- package/dist/tet-components/{p-4b84438a.entry.js → p-f17a4724.entry.js} +1 -1
- package/dist/tet-components/{p-b44083d7.entry.js → p-f63082c7.entry.js} +1 -1
- package/dist/tet-components/{p-bd9f9dea.entry.js → p-fada27ab.entry.js} +1 -1
- package/dist/tet-components/{p-255cd889.entry.js → p-fbc6cc0a.entry.js} +1 -1
- package/dist/tet-components/{p-7e7068af.entry.js → p-fbe053de.entry.js} +1 -1
- package/dist/tet-components/{p-6babde37.entry.js → p-fc81fb8e.entry.js} +1 -1
- package/dist/tet-components/{p-25e48d9f.entry.js → p-fcbb1ac6.entry.js} +1 -1
- package/dist/tet-components/{p-ddce536f.entry.js → p-fd682dea.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- 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 +169 -0
- package/dist/types/components/simple/menu/tet-menu/tet-menu.d.ts +111 -1
- package/dist/types/components/simple/menu/tet-menu-mobile/tet-menu-mobile.d.ts +4 -0
- package/dist/types/components.d.ts +186 -3
- package/dist/types/services/api/services/catalog/product-comparison.d.ts +3 -3
- package/package.json +1 -1
- package/dist/tet-components/p-1fbb7d96.entry.js +0 -1
- package/dist/tet-components/p-b0688983.entry.js +0 -1
- package/dist/tet-components/p-cac7dbf9.entry.js +0 -1
- package/dist/tet-components/p-d091fa60.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-e933a7d2.js';
|
|
2
|
+
import { T as TooltipPosition } from './TooltipPosition-3ad27783.js';
|
|
3
|
+
|
|
4
|
+
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)}}";
|
|
5
|
+
const TetTooltipStyle0 = tetTooltipCss;
|
|
6
|
+
|
|
7
|
+
const TetTooltip = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.theme = 'classic';
|
|
11
|
+
this.targetElementSelector = undefined;
|
|
12
|
+
this.hoverElement = undefined;
|
|
13
|
+
this.doNotShowOnHover = false;
|
|
14
|
+
this.position = TooltipPosition.BOTTOM;
|
|
15
|
+
this.positionState = TooltipPosition.BOTTOM;
|
|
16
|
+
this.showTooltip = false;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The HTML element that should trigger the tooltip.
|
|
20
|
+
*/
|
|
21
|
+
targetElement;
|
|
22
|
+
/**
|
|
23
|
+
* The pointer element of the tooltip.
|
|
24
|
+
*/
|
|
25
|
+
tooltipPointer;
|
|
26
|
+
/**
|
|
27
|
+
* The minimum spacing in pixels from the sides of the window and the target element for the tooltip.
|
|
28
|
+
*/
|
|
29
|
+
margin = 8;
|
|
30
|
+
/**
|
|
31
|
+
* The time in seconds of how long should the hover should happen before the tooltip should play the fade-out animation.
|
|
32
|
+
* This should match CSS --tooltip-delay-show property value.
|
|
33
|
+
*/
|
|
34
|
+
tooltipTimeThreshold = 0.25;
|
|
35
|
+
/**
|
|
36
|
+
* The properties of keeping track when the mouse entered or exited the target element.
|
|
37
|
+
*/
|
|
38
|
+
tooltipStartTime;
|
|
39
|
+
tooltipEndTime;
|
|
40
|
+
resizeObserver;
|
|
41
|
+
get element() { return getElement(this); }
|
|
42
|
+
/**
|
|
43
|
+
* Listen for the `touchmove` event and hide the tooltip if visible.
|
|
44
|
+
* This will handle the mobile device events.
|
|
45
|
+
*/
|
|
46
|
+
handleTouchmove() {
|
|
47
|
+
this.hideQuick();
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Listen for the `wheel` event and hide the tooltip if visible.
|
|
51
|
+
* The `wheel` event is intentionally preferred instead of `scroll`.
|
|
52
|
+
*/
|
|
53
|
+
handleWheel() {
|
|
54
|
+
this.hideQuick();
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Listen for the `Escape` keydown event and hide the tooltip if visible.
|
|
58
|
+
*/
|
|
59
|
+
onKeydown(event) {
|
|
60
|
+
if (event.code === 'Escape') {
|
|
61
|
+
this.hideQuick();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Listen for the window to resize and reset the `positionState` to the original default value.
|
|
66
|
+
*/
|
|
67
|
+
handleResize() {
|
|
68
|
+
this.positionState = this.position;
|
|
69
|
+
}
|
|
70
|
+
handlePositionChange(position) {
|
|
71
|
+
this.positionState = position;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Hide the tooltip quickly and ignore the time the tooltip has been visible for on screen.
|
|
75
|
+
*/
|
|
76
|
+
hideQuick = () => {
|
|
77
|
+
if (this.showTooltip) {
|
|
78
|
+
this.tooltipStartTime = Date.now();
|
|
79
|
+
this.hide();
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
onShowTooltipChange(value) {
|
|
83
|
+
// The "fade-out" is watched separately for changes to avoid the animation on the initial page load.
|
|
84
|
+
if (!value) {
|
|
85
|
+
// The time spent on showing the tooltip in seconds.
|
|
86
|
+
const tooltipTime = this.tooltipEndTime / 1000 - this.tooltipStartTime / 1000;
|
|
87
|
+
// This avoids playing the "fade-out" animation when the mouse is quickly moved over tooltip target element.
|
|
88
|
+
// Otherwise, the tooltips would pop up and play the fade-out animation each time.
|
|
89
|
+
this.element.classList.add(tooltipTime > this.tooltipTimeThreshold ? 'hidden' : 'hidden-quick');
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.element.classList.remove('hidden', 'hidden-quick');
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async componentWillLoad() {
|
|
96
|
+
if (this.targetElementSelector) {
|
|
97
|
+
this.targetElement = document.querySelector(this.targetElementSelector);
|
|
98
|
+
}
|
|
99
|
+
else if (this.hoverElement) {
|
|
100
|
+
this.targetElement = this.hoverElement;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
this.targetElement = this.element.parentElement;
|
|
104
|
+
}
|
|
105
|
+
if (!this.targetElement) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (!this.doNotShowOnHover) {
|
|
109
|
+
this.targetElement?.addEventListener('mouseenter', this.show.bind(this));
|
|
110
|
+
this.targetElement?.addEventListener('mouseleave', this.hide.bind(this));
|
|
111
|
+
}
|
|
112
|
+
this.targetElement?.addEventListener('focusin', this.show.bind(this));
|
|
113
|
+
this.targetElement?.addEventListener('focusout', this.hide.bind(this));
|
|
114
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
115
|
+
if (!this.targetElement?.offsetHeight) {
|
|
116
|
+
this.element.classList.remove('hidden');
|
|
117
|
+
this.element.classList.add('hidden-quick');
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
this.resizeObserver.observe(this.targetElement);
|
|
121
|
+
this.positionState = this.position;
|
|
122
|
+
// By default, set tooltip to be hidden.
|
|
123
|
+
this.element.style.display = 'none';
|
|
124
|
+
}
|
|
125
|
+
componentDidLoad() {
|
|
126
|
+
// Delay the visibility for a moment to avoid the blinking effect of the tooltips shortly after the load.
|
|
127
|
+
setTimeout(() => {
|
|
128
|
+
this.element.style.display = 'inline-block';
|
|
129
|
+
if (!this.doNotShowOnHover && this.targetElement?.matches(':hover')) {
|
|
130
|
+
this.show().then();
|
|
131
|
+
}
|
|
132
|
+
}, 100);
|
|
133
|
+
}
|
|
134
|
+
async disconnectedCallback() {
|
|
135
|
+
if (!this.targetElement) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
this.targetElement?.removeEventListener('mouseenter', this.show.bind(this));
|
|
139
|
+
this.targetElement?.removeEventListener('mouseleave', this.hide.bind(this));
|
|
140
|
+
this.resizeObserver?.unobserve(this.targetElement);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Show the tooltip.
|
|
144
|
+
*/
|
|
145
|
+
async show() {
|
|
146
|
+
this.tooltipStartTime = Date.now();
|
|
147
|
+
this.showTooltip = true;
|
|
148
|
+
this.positionTooltip();
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Hide the tooltip.
|
|
152
|
+
*/
|
|
153
|
+
async hide() {
|
|
154
|
+
this.tooltipEndTime = Date.now();
|
|
155
|
+
this.showTooltip = false;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Toggle the tooltip.
|
|
159
|
+
*/
|
|
160
|
+
async toggle() {
|
|
161
|
+
if (this.showTooltip) {
|
|
162
|
+
await this.hide();
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
await this.show();
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Positions the tooltip corresponding to the target element.
|
|
170
|
+
*/
|
|
171
|
+
positionTooltip = () => {
|
|
172
|
+
const targetBoundaries = this.targetElement.getBoundingClientRect();
|
|
173
|
+
/**
|
|
174
|
+
* Check whether the tooltip can be placed on either side of the element
|
|
175
|
+
* when either the left or the right position is set by default.
|
|
176
|
+
*/
|
|
177
|
+
if ([TooltipPosition.LEFT, TooltipPosition.RIGHT].includes(this.positionState)) {
|
|
178
|
+
const canPositionRight = window.innerWidth > targetBoundaries.right + this.margin + this.element.offsetWidth;
|
|
179
|
+
const canPositionLeft = this.element.offsetWidth + this.margin < targetBoundaries.left;
|
|
180
|
+
// Change positioning if it cannot.
|
|
181
|
+
if (!canPositionLeft && !canPositionRight) {
|
|
182
|
+
this.positionState = TooltipPosition.BOTTOM;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
const isTooltipOutOfVerticalBounds = this.positionTooltipVertically(targetBoundaries);
|
|
186
|
+
const isTooltipOutOfHorizontalBounds = this.positionTooltipHorizontally(targetBoundaries);
|
|
187
|
+
// Applies a margin for spacing purposes.
|
|
188
|
+
// This is done via JS as the margin values are needed for position calculations as well.
|
|
189
|
+
this.element.style.margin = `${this.margin}px`;
|
|
190
|
+
// Position the pointer (caret) element after the tooltip as the main tooltip position is required for calculations.
|
|
191
|
+
const isTooltipOutOfBounds = isTooltipOutOfVerticalBounds || isTooltipOutOfHorizontalBounds;
|
|
192
|
+
const actualTooltipPosition = this.getTooltipPosition(isTooltipOutOfBounds);
|
|
193
|
+
this.positionTooltipPointer(actualTooltipPosition);
|
|
194
|
+
};
|
|
195
|
+
getTooltipPosition(isTooltipOutOfBounds) {
|
|
196
|
+
switch (this.positionState) {
|
|
197
|
+
case TooltipPosition.TOP:
|
|
198
|
+
if (isTooltipOutOfBounds) {
|
|
199
|
+
return TooltipPosition.BOTTOM;
|
|
200
|
+
}
|
|
201
|
+
return TooltipPosition.TOP;
|
|
202
|
+
case TooltipPosition.BOTTOM:
|
|
203
|
+
if (isTooltipOutOfBounds) {
|
|
204
|
+
return TooltipPosition.TOP;
|
|
205
|
+
}
|
|
206
|
+
return TooltipPosition.BOTTOM;
|
|
207
|
+
case TooltipPosition.LEFT:
|
|
208
|
+
if (isTooltipOutOfBounds) {
|
|
209
|
+
return TooltipPosition.RIGHT;
|
|
210
|
+
}
|
|
211
|
+
return TooltipPosition.LEFT;
|
|
212
|
+
case TooltipPosition.RIGHT:
|
|
213
|
+
if (isTooltipOutOfBounds) {
|
|
214
|
+
return TooltipPosition.LEFT;
|
|
215
|
+
}
|
|
216
|
+
return TooltipPosition.RIGHT;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
positionTooltipVertically(targetBoundaries) {
|
|
220
|
+
let isTooltipOutOfBounds = false;
|
|
221
|
+
switch (this.positionState) {
|
|
222
|
+
case TooltipPosition.BOTTOM:
|
|
223
|
+
if (targetBoundaries.bottom + this.element.offsetHeight + this.margin > window.innerHeight) {
|
|
224
|
+
// When the tooltip would be outside the screen on the bottom side.
|
|
225
|
+
this.element.style.top = null;
|
|
226
|
+
this.element.style.bottom = `${window.innerHeight - targetBoundaries.top}px`;
|
|
227
|
+
isTooltipOutOfBounds = true;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
// When the tooltip is within the screen boundaries.
|
|
231
|
+
this.element.style.top = `${targetBoundaries.bottom}px`;
|
|
232
|
+
this.element.style.bottom = null;
|
|
233
|
+
}
|
|
234
|
+
break;
|
|
235
|
+
case TooltipPosition.TOP:
|
|
236
|
+
if (targetBoundaries.top - this.element.offsetHeight < 0) {
|
|
237
|
+
// When the tooltip would be outside the screen on the top side.
|
|
238
|
+
this.element.style.top = `${targetBoundaries.bottom}px`;
|
|
239
|
+
this.element.style.bottom = null;
|
|
240
|
+
isTooltipOutOfBounds = true;
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
// When the tooltip is within the screen boundaries.
|
|
244
|
+
this.element.style.top = null;
|
|
245
|
+
this.element.style.bottom = `${window.innerHeight - targetBoundaries.top}px`;
|
|
246
|
+
}
|
|
247
|
+
break;
|
|
248
|
+
default:
|
|
249
|
+
const targetElementCenterPostion = targetBoundaries.top + targetBoundaries.height / 2;
|
|
250
|
+
const tooltipCenterWidth = this.element.offsetHeight / 2 + this.margin;
|
|
251
|
+
const tooltipTopPosition = targetElementCenterPostion - tooltipCenterWidth;
|
|
252
|
+
if (tooltipTopPosition < 0) {
|
|
253
|
+
// When the tooltip would be outside the screen on the top side.
|
|
254
|
+
this.element.style.top = '0';
|
|
255
|
+
this.element.style.bottom = null;
|
|
256
|
+
}
|
|
257
|
+
else if (tooltipTopPosition + this.element.offsetHeight + this.margin > window.innerHeight) {
|
|
258
|
+
// When the tooltip would be outside the screen on the bottom side.
|
|
259
|
+
this.element.style.top = null;
|
|
260
|
+
this.element.style.bottom = '0';
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
// When the tooltip is within the screen boundaries.
|
|
264
|
+
this.element.style.top = `${tooltipTopPosition}px`;
|
|
265
|
+
this.element.style.bottom = null;
|
|
266
|
+
}
|
|
267
|
+
break;
|
|
268
|
+
}
|
|
269
|
+
return isTooltipOutOfBounds;
|
|
270
|
+
}
|
|
271
|
+
positionTooltipHorizontally(targetBoundaries) {
|
|
272
|
+
let isTooltipOutOfBounds = false;
|
|
273
|
+
switch (this.positionState) {
|
|
274
|
+
case TooltipPosition.LEFT:
|
|
275
|
+
if (this.element.offsetWidth + this.margin > targetBoundaries.left) {
|
|
276
|
+
this.element.style.left = `${targetBoundaries.right}px`;
|
|
277
|
+
this.element.style.right = null;
|
|
278
|
+
isTooltipOutOfBounds = true;
|
|
279
|
+
}
|
|
280
|
+
else {
|
|
281
|
+
this.element.style.left = null;
|
|
282
|
+
this.element.style.right = `${window.innerWidth - targetBoundaries.left}px`;
|
|
283
|
+
}
|
|
284
|
+
break;
|
|
285
|
+
case TooltipPosition.RIGHT:
|
|
286
|
+
if (window.innerWidth < targetBoundaries.right + this.margin + this.element.offsetWidth) {
|
|
287
|
+
this.element.style.left = null;
|
|
288
|
+
this.element.style.right = `${window.innerWidth - targetBoundaries.left}px`;
|
|
289
|
+
isTooltipOutOfBounds = true;
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
this.element.style.left = `${targetBoundaries.right}px`;
|
|
293
|
+
this.element.style.right = null;
|
|
294
|
+
}
|
|
295
|
+
break;
|
|
296
|
+
default:
|
|
297
|
+
const targetElementCenterPostion = targetBoundaries.left + targetBoundaries.width / 2;
|
|
298
|
+
const tooltipCenterWidth = this.element.offsetWidth / 2 - this.margin;
|
|
299
|
+
const tooltipLeftPosition = targetElementCenterPostion - tooltipCenterWidth;
|
|
300
|
+
if (tooltipLeftPosition < 0) {
|
|
301
|
+
// When the tooltip would be outside the screen on the left side.
|
|
302
|
+
this.element.style.left = '0';
|
|
303
|
+
this.element.style.right = null;
|
|
304
|
+
}
|
|
305
|
+
else if (tooltipLeftPosition + this.element.offsetWidth + this.margin > window.innerWidth) {
|
|
306
|
+
// When the tooltip would be outside the screen on the right side.
|
|
307
|
+
this.element.style.left = null;
|
|
308
|
+
this.element.style.right = '0';
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
// When the tooltip is within the screen boundaries.
|
|
312
|
+
this.element.style.left = `${tooltipLeftPosition}px`;
|
|
313
|
+
this.element.style.right = null;
|
|
314
|
+
}
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
return isTooltipOutOfBounds;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Position the tooltip pointer (caret) element.
|
|
321
|
+
*/
|
|
322
|
+
positionTooltipPointer = (position) => {
|
|
323
|
+
const target = this.targetElement.getBoundingClientRect();
|
|
324
|
+
const tooltip = this.element.getBoundingClientRect();
|
|
325
|
+
if ([TooltipPosition.TOP, TooltipPosition.BOTTOM].includes(position)) {
|
|
326
|
+
// Get the boundaries of the overlapping target element and the tooltip area on X axis.
|
|
327
|
+
const max = Math.min(target.right, tooltip.left + this.element.offsetWidth);
|
|
328
|
+
const min = Math.max(target.left, tooltip.left);
|
|
329
|
+
const overlapAreaMiddle = (max + min) / 2;
|
|
330
|
+
this.tooltipPointer.style.left = `${overlapAreaMiddle - tooltip.left - this.tooltipPointer.offsetWidth / 2}px`;
|
|
331
|
+
if (position === TooltipPosition.BOTTOM) {
|
|
332
|
+
this.tooltipPointer.style.top = `-6px`;
|
|
333
|
+
this.tooltipPointer.style.bottom = null;
|
|
334
|
+
this.tooltipPointer.style.transform = 'rotate(0deg)';
|
|
335
|
+
}
|
|
336
|
+
if (position === TooltipPosition.TOP) {
|
|
337
|
+
this.tooltipPointer.style.top = null;
|
|
338
|
+
this.tooltipPointer.style.bottom = `-6px`;
|
|
339
|
+
this.tooltipPointer.style.transform = 'rotate(180deg)';
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
if ([TooltipPosition.LEFT, TooltipPosition.RIGHT].includes(position)) {
|
|
343
|
+
// Get the boundaries of the overlapping target element and the tooltip area on Y axis.
|
|
344
|
+
const max = Math.min(target.bottom, tooltip.top + this.element.offsetHeight);
|
|
345
|
+
const min = Math.max(target.top, tooltip.top);
|
|
346
|
+
const overlapAreaMiddle = (max + min) / 2;
|
|
347
|
+
this.tooltipPointer.style.top = `${overlapAreaMiddle - tooltip.top - this.tooltipPointer.offsetHeight / 2}px`;
|
|
348
|
+
if (position === TooltipPosition.RIGHT) {
|
|
349
|
+
this.tooltipPointer.style.left = `-12px`;
|
|
350
|
+
this.tooltipPointer.style.right = null;
|
|
351
|
+
this.tooltipPointer.style.transform = 'rotate(270deg)';
|
|
352
|
+
}
|
|
353
|
+
if (position === TooltipPosition.LEFT) {
|
|
354
|
+
this.tooltipPointer.style.left = null;
|
|
355
|
+
this.tooltipPointer.style.right = `-12px`;
|
|
356
|
+
this.tooltipPointer.style.transform = 'rotate(90deg)';
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Renders the tooltip.
|
|
362
|
+
*/
|
|
363
|
+
renderTooltip = () => {
|
|
364
|
+
return (h("div", { class: { tooltip: true, [`${this.theme}`]: true }, role: "tooltip", "aria-hidden": this.showTooltip ? 'false' : 'true', "aria-live": this.showTooltip ? 'polite' : undefined }, h("div", { class: "tooltip-pointer", ref: (el) => (this.tooltipPointer = el) }), h("slot", null)));
|
|
365
|
+
};
|
|
366
|
+
render() {
|
|
367
|
+
return h(Host, { key: '015a0d906536d919d2f7d5c83cab5e533542be7e', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
368
|
+
}
|
|
369
|
+
static get watchers() { return {
|
|
370
|
+
"position": ["handlePositionChange"],
|
|
371
|
+
"showTooltip": ["onShowTooltipChange"]
|
|
372
|
+
}; }
|
|
373
|
+
};
|
|
374
|
+
TetTooltip.style = TetTooltipStyle0;
|
|
375
|
+
|
|
376
|
+
export { TetTooltip as tet_tooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-e933a7d2.js';
|
|
2
2
|
|
|
3
3
|
const tetTvGiftBlockCss = "@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{display:block}.tv-gift{padding:3.5rem 1rem 2rem}.tv-gift--medium{padding:3.5rem 1.5rem 2.5rem}.tv-gift--large{padding:3.5rem}.tv-gift__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";display:flex;justify-content:center;flex-direction:column;text-align:center;padding-bottom:2rem;gap:1.5rem}.tv-gift--medium .tv-gift__header{font:600 2rem/2.25rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift--large .tv-gift__header{font:600 2.5rem/3rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";padding-bottom:2.5rem}.tv-gift__header__image{height:2.125rem;margin:0 auto}.tv-gift__content{--icon-size:1.25rem;--accordion-background-color:transparent}.tv-gift--large .tv-gift__content{--icon-size:1.5rem}.tv-gift__footer{font:400 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";text-align:center;display:flex;flex-direction:column;margin-top:2rem}.tv-gift--large .tv-gift__footer{margin-top:2.5rem}.tv-gift__footer__title{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem;margin-bottom:1rem}@media screen and (min-width: 31.25rem){.tv-gift__footer__title{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:2rem}}.tv-gift__footer__text{line-height:1.25rem}";
|
|
4
4
|
const TetTvGiftBlockStyle0 = tetTvGiftBlockCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-e933a7d2.js';
|
|
2
2
|
|
|
3
3
|
const tetTvGiftListCss = "@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{display:block}.tv-gift-list{display:block}.tv-gift-list--image-list{display:grid;gap:2rem}.tv-gift-list--medium,.tv-gift-list--large{grid-template-columns:repeat(12, 1fr)}.tv-gift-list__list{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-direction:column;gap:0.5rem}.tv-gift-list__list__wrapper{display:flex;flex-direction:column;justify-content:center}.tv-gift-list--medium .tv-gift-list__list__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__list__wrapper{grid-column:span 7}.tv-gift-list__list__header{font:600 1.25rem/1.5rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--medium .tv-gift-list__list__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--large .tv-gift-list__list__header{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list__list__item{font:400 1rem/1.5rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:flex;gap:0.5rem;line-height:1.5rem}.tv-gift-list--large .tv-gift-list__list__item{font:400 1.125rem/1.75rem \"Inter\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem}.tv-gift-list__list__item tet-icon{--icon-size:1.25rem;--icon-container-display:flex;padding-top:0.175rem}.tv-gift-list__image{width:100%;height:auto;border-radius:0.75rem}.tv-gift-list--medium .tv-gift-list__image__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__image__wrapper{grid-column:span 5}";
|
|
4
4
|
const TetTvGiftListStyle0 = tetTvGiftListCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as o,H as t}from"./p-83f43fdd.js";const a=class{constructor(o){e(this,o)}render(){return o(t,{key:"17e289f5edb6a89416195b4a3a7338e99f2d5208"},o("div",{key:"9a7c7a69c991c4157a92193fdf06f3e4469293a9",class:"variable-container"},o("div",{key:"ba87027977ae9780191b66f5a182c809c64ef43a",class:"container-title main"},"Border rādiusa klase"),o("div",{key:"1494f6b8b1d8fc7533bdff632e62919a49a40351",class:"container-section"},o("div",{key:"ac5a2e0bf94a5bdd744a3920586990bed974e09c",class:"variable-name"},o("div",{key:"93efd3537da317dd39540b3861aeb59757734d12",class:"variable-part"},"tet"),o("div",{key:"936a13a39ddfd0a9c354db56edeebf7efe315551",class:"variable-part"},"-border"),o("div",{key:"1af168b3a1cc53bdfe5b478c29428ec20498f2f1",class:"variable-part variable variable-type"},"-radius"),o("div",{key:"c606262273c264af2d728b1bc357868c90980d18",class:"variable-part variable variable-size"},"--md")))),o("div",{key:"3e224d4340550d195a2124ddb1dc33bda61c3636",class:"tet-fonts-container"},o("div",{key:"5102b6ca57ad56d3f2a7cb993ae60ff00691d27f",class:"container-title"},"Rādiusa izmēri"),o("div",{key:"b1ca54338f176e7019c14f1cd4208e67a780304b",class:"section"},o("div",{key:"6101f3c66bf1135571fdde1e78185ff67158dbe5",class:"section-variable"},o("div",{key:"08b49169697b45c191b03449e3f42c74c11adcdc",class:"border tet-border-radius--xs"}),o("div",{key:"f600021b058806e9e52054eae77623d955d829bf",class:"section-font-class"},"klase: tet-border-radius--xs"),o("div",{key:"679d0a62a5fe4b2930fc382e3eb82636c261ac85",class:"section-font-size"},"border radius: 0.25rem / 4px")),o("div",{key:"b8e9b34545469973781e599dc475a34eeafdfa19",class:"section-variable"},o("div",{key:"151accedd875ca434f0788cfb000e8f8eabb9424",class:"border tet-border-radius--sm"}),o("div",{key:"bc5e6be89b2fc8353c91f47fd1223b34dc8d7b56",class:"section-font-class"},"klase: tet-border-radius--sm"),o("div",{key:"7efcd7fc88579a94bc105badc8d6725930a2e32d",class:"section-font-size"},"border radius: 0.5rem / 8px")),o("div",{key:"cbd2b07d5d08da862c0dcf16841383aa57f3d691",class:"section-variable"},o("div",{key:"6e82253050115282d58dbd559e5c2c5bd949fa64",class:"border tet-border-radius--md"}),o("div",{key:"e6cd310003a48c397acbb3e8af8f1bd2b34b3e0c",class:"section-font-class"},"klase: tet-border-radius--md"),o("div",{key:"e9adfe25a62892e94ebe6adde8f00733e1e61073",class:"section-font-size"},"border radius: 1rem / 16px")),o("div",{key:"d88c9b00a4f3e3a656da47cbb35caee2fe157e5e",class:"section-variable"},o("div",{key:"86e560af9b70b38ba9ea9171453a4de5a4078368",class:"border tet-border-radius--lg"}),o("div",{key:"df20e8526a9d492dd0eda8c27f317a14edf77276",class:"section-font-class"},"klase: tet-border-radius--lg"),o("div",{key:"082e965fea9e9dba88728c8eb35de0b09b90a13e",class:"section-font-size"},"border radius: 1.5rem / 24px"),o("div",{key:"c236917099e7b64888b4e760df4ff2212a3fa214",class:"section-font-size"})),o("div",{key:"5833cf498d886880b08bb87812d44ec29b5707e2",class:"section-variable"},o("div",{key:"d57058915bb711081278fd6fd1fafc7207f8abe5",class:"border tet-border-radius--xl"}),o("div",{key:"2e17f209db58d64898c8fd9b8589c7157d14e88f",class:"section-font-class"},"klase: tet-border-radius--xl"),o("div",{key:"e9dc585ea30e90fa6af1d974ff47350da0ea1d98",class:"section-font-size"},"border radius: 2rem / 32px")))))}};a.style='@charset "UTF-8";: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)}.tet-border-radius--xs{border-radius:0.25rem}.tet-border-radius--sm{border-radius:0.5rem}.tet-border-radius--md{border-radius:1rem}.tet-border-radius--lg{border-radius:1.5rem}.tet-border-radius--xl{border-radius:2rem}.container-title{background:rgb(235, 237, 239);padding:2rem 0;margin:0.25rem 0;text-align:center;font-size:1.5rem;border-radius:1.5rem}.container-title.main{font-weight:600}.container-section{display:flex;flex-direction:column;flex-wrap:wrap;border:0.0625rem gray solid;border-radius:2rem;padding:1rem;gap:5rem;justify-content:center;height:12.5rem}.variable-name{display:flex;flex-direction:row;justify-content:center;font-size:1.75rem}.variable-part{position:relative;font-size:1.75rem;align-self:center}.variable-type:after{display:none;border-top:0.125rem solid #779af5;content:"tips";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.variable-size:after{border-top:0.125rem solid #779af5;content:"izmērs";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.section{display:flex;flex-direction:column}.section-variable{border:0.0625rem solid gray;padding:1rem 2rem;border-radius:2rem}.section-title{font-size:1rem;margin-top:1rem;padding-bottom:2rem;padding-top:1rem;text-align:center}.section-font-class{padding-top:1rem;font-size:1rem;color:black}.border{margin:auto;height:4.375rem;width:5.625rem;background-color:rgb(52, 132, 244)}';export{a as tet_border_radius}
|
|
1
|
+
import{r as e,h as o,H as t}from"./p-5abb3bea.js";const a=class{constructor(o){e(this,o)}render(){return o(t,{key:"17e289f5edb6a89416195b4a3a7338e99f2d5208"},o("div",{key:"9a7c7a69c991c4157a92193fdf06f3e4469293a9",class:"variable-container"},o("div",{key:"ba87027977ae9780191b66f5a182c809c64ef43a",class:"container-title main"},"Border rādiusa klase"),o("div",{key:"1494f6b8b1d8fc7533bdff632e62919a49a40351",class:"container-section"},o("div",{key:"ac5a2e0bf94a5bdd744a3920586990bed974e09c",class:"variable-name"},o("div",{key:"93efd3537da317dd39540b3861aeb59757734d12",class:"variable-part"},"tet"),o("div",{key:"936a13a39ddfd0a9c354db56edeebf7efe315551",class:"variable-part"},"-border"),o("div",{key:"1af168b3a1cc53bdfe5b478c29428ec20498f2f1",class:"variable-part variable variable-type"},"-radius"),o("div",{key:"c606262273c264af2d728b1bc357868c90980d18",class:"variable-part variable variable-size"},"--md")))),o("div",{key:"3e224d4340550d195a2124ddb1dc33bda61c3636",class:"tet-fonts-container"},o("div",{key:"5102b6ca57ad56d3f2a7cb993ae60ff00691d27f",class:"container-title"},"Rādiusa izmēri"),o("div",{key:"b1ca54338f176e7019c14f1cd4208e67a780304b",class:"section"},o("div",{key:"6101f3c66bf1135571fdde1e78185ff67158dbe5",class:"section-variable"},o("div",{key:"08b49169697b45c191b03449e3f42c74c11adcdc",class:"border tet-border-radius--xs"}),o("div",{key:"f600021b058806e9e52054eae77623d955d829bf",class:"section-font-class"},"klase: tet-border-radius--xs"),o("div",{key:"679d0a62a5fe4b2930fc382e3eb82636c261ac85",class:"section-font-size"},"border radius: 0.25rem / 4px")),o("div",{key:"b8e9b34545469973781e599dc475a34eeafdfa19",class:"section-variable"},o("div",{key:"151accedd875ca434f0788cfb000e8f8eabb9424",class:"border tet-border-radius--sm"}),o("div",{key:"bc5e6be89b2fc8353c91f47fd1223b34dc8d7b56",class:"section-font-class"},"klase: tet-border-radius--sm"),o("div",{key:"7efcd7fc88579a94bc105badc8d6725930a2e32d",class:"section-font-size"},"border radius: 0.5rem / 8px")),o("div",{key:"cbd2b07d5d08da862c0dcf16841383aa57f3d691",class:"section-variable"},o("div",{key:"6e82253050115282d58dbd559e5c2c5bd949fa64",class:"border tet-border-radius--md"}),o("div",{key:"e6cd310003a48c397acbb3e8af8f1bd2b34b3e0c",class:"section-font-class"},"klase: tet-border-radius--md"),o("div",{key:"e9adfe25a62892e94ebe6adde8f00733e1e61073",class:"section-font-size"},"border radius: 1rem / 16px")),o("div",{key:"d88c9b00a4f3e3a656da47cbb35caee2fe157e5e",class:"section-variable"},o("div",{key:"86e560af9b70b38ba9ea9171453a4de5a4078368",class:"border tet-border-radius--lg"}),o("div",{key:"df20e8526a9d492dd0eda8c27f317a14edf77276",class:"section-font-class"},"klase: tet-border-radius--lg"),o("div",{key:"082e965fea9e9dba88728c8eb35de0b09b90a13e",class:"section-font-size"},"border radius: 1.5rem / 24px"),o("div",{key:"c236917099e7b64888b4e760df4ff2212a3fa214",class:"section-font-size"})),o("div",{key:"5833cf498d886880b08bb87812d44ec29b5707e2",class:"section-variable"},o("div",{key:"d57058915bb711081278fd6fd1fafc7207f8abe5",class:"border tet-border-radius--xl"}),o("div",{key:"2e17f209db58d64898c8fd9b8589c7157d14e88f",class:"section-font-class"},"klase: tet-border-radius--xl"),o("div",{key:"e9dc585ea30e90fa6af1d974ff47350da0ea1d98",class:"section-font-size"},"border radius: 2rem / 32px")))))}};a.style='@charset "UTF-8";: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)}.tet-border-radius--xs{border-radius:0.25rem}.tet-border-radius--sm{border-radius:0.5rem}.tet-border-radius--md{border-radius:1rem}.tet-border-radius--lg{border-radius:1.5rem}.tet-border-radius--xl{border-radius:2rem}.container-title{background:rgb(235, 237, 239);padding:2rem 0;margin:0.25rem 0;text-align:center;font-size:1.5rem;border-radius:1.5rem}.container-title.main{font-weight:600}.container-section{display:flex;flex-direction:column;flex-wrap:wrap;border:0.0625rem gray solid;border-radius:2rem;padding:1rem;gap:5rem;justify-content:center;height:12.5rem}.variable-name{display:flex;flex-direction:row;justify-content:center;font-size:1.75rem}.variable-part{position:relative;font-size:1.75rem;align-self:center}.variable-type:after{display:none;border-top:0.125rem solid #779af5;content:"tips";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.variable-size:after{border-top:0.125rem solid #779af5;content:"izmērs";position:absolute;top:2.5rem;font-size:1rem;left:5%;width:90%;text-align:center}.section{display:flex;flex-direction:column}.section-variable{border:0.0625rem solid gray;padding:1rem 2rem;border-radius:2rem}.section-title{font-size:1rem;margin-top:1rem;padding-bottom:2rem;padding-top:1rem;text-align:center}.section-font-class{padding-top:1rem;font-size:1rem;color:black}.border{margin:auto;height:4.375rem;width:5.625rem;background-color:rgb(52, 132, 244)}';export{a as tet_border_radius}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,f as s,h as o}from"./p-
|
|
1
|
+
import{r as t,c as e,f as s,h as o}from"./p-5abb3bea.js";import{p as n,t as a}from"./p-a476fd02.js";import"./p-9a2b6ee2.js";import"./p-726651bc.js";const f=class{constructor(s){t(this,s),this.inputValueChanged=e(this,"inputValueChanged",7),this.theme="light",this.value=0,this.min=0,this.max=999,this.step=1,this.size="large",this.disabled=!1,this.label="",this.displayMode="input",this.selectOnFocus=!1,this.accessibilityLabel="",this.language="lv"}inputElement;tetInputElement;inputId=`tet-stepper-input-${globalThis.crypto.randomUUID()}`;inputValueChanged;async onLanguageChange(t){n("tet-components",t).then((()=>s(this)))}async componentWillLoad(){n("tet-components",this.language).then((()=>s(this)))}async componentDidLoad(){await this.syncInputElement()}async getValue(){return this.value}onValueChange(){this.inputValueChanged.emit(this.value)}onKeydown(t){["-","+","."].includes(t.key)&&t.preventDefault()}onFocus(){this.selectOnFocus&&this.inputElement?.select()}inputChangeHandler(){if(!this.inputElement)return;const t=this.inputElement,e=parseInt(t.value);if(isNaN(e)||e<0)return t.value=`${this.min}`,void(this.value=this.min);this.value=e<this.min?this.min:e>this.max?this.max:e,t.value=`${this.value}`}async syncInputElement(){const t=this.tetInputElement;if(!t||"input"!==this.displayMode)return void(this.inputElement=void 0);const e=await t.getInputHtmlElement();e&&this.tetInputElement===t&&"input"===this.displayMode&&(this.inputElement=e,this.inputElement.id=this.inputId)}onStepClick(t){const{value:e,step:s,min:o,max:n}=this,a=e+s*("decrement"===t?-1:1);this.value=a<o?o:a>n?n:a}renderLabel(){if(!this.label)return;const{disabled:t,inputId:e,label:s}=this;return o("label",{class:{"stepper-input__label":!0,"stepper-input__label--disabled":t},htmlFor:e},s)}renderButton(t){const e="decrement"===t;return o("tet-button",{type:"secondary",size:"large"===this.size?"medium":"small",disabled:this.disabled,iconMode:!0,iconName:e?"tc-remove":"tc-add",theme:this.theme,accessibilityLabel:a(e?"components-number-input-decrease":"components-number-input-increase"),clickCallback:()=>this.onStepClick(t)})}renderValueDisplay(){const{theme:t,disabled:e,value:s,accessibilityLabel:n,displayMode:a}=this;return"text"===a?o("span",{part:"value",class:{"stepper-input__value":!0,"stepper-input__value--disabled":e}},s):o("tet-input",{ref:t=>{this.tetInputElement=t,this.syncInputElement()},class:"stepper-input__input",type:"number",value:String(s??""),disabled:e,theme:t,...n?{accessibilityLabel:n}:{}})}render(){return o("div",{key:"739679bf028cd3515d906e0c8b67a804249b0d7e",class:`stepper-input ${this.theme}`},this.renderLabel(),o("div",{key:"55c6ed6852c310b29164d642a485c29ab49cea69",class:"stepper-input__inner-wrapper"},this.renderButton("decrement"),this.renderValueDisplay(),this.renderButton("increment")))}static get watchers(){return{language:["onLanguageChange"],value:["onValueChange"]}}};f.style='@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{display:inline-flex;--stepper-label-text-align:left;--stepper-input-gap:0.5rem;--stepper-text-color:var(--tc-text-primary);--stepper-label-disabled-color:var(--tc-text-secondary);--stepper-value-disabled-color:var(--tc-button-text-inverse-disabled)}.stepper-input{display:flex;flex-direction:column;color:var(--stepper-text-color)}.stepper-input.dark{--stepper-text-color:var(--tc-text-primary-dark);--stepper-label-disabled-color:var(--tc-text-secondary-dark);--stepper-value-disabled-color:var(--tc-button-text-inverse-disabled-dark)}.stepper-input__inner-wrapper{justify-content:center;align-items:center;gap:var(--stepper-input-gap);display:inline-flex}.stepper-input__label{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";margin:0 0.25rem 0.25rem;text-align:var(--stepper-label-text-align)}.stepper-input__label--disabled{color:var(--stepper-label-disabled-color)}.stepper-input__value{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";width:1.9375rem;text-align:center;overflow:hidden}.stepper-input__value--disabled{color:var(--stepper-value-disabled-color)}.stepper-input__input{--input-border-radius:0.625rem;--input-font-size:0.875rem;--input-padding:0;width:3.125rem}.stepper-input__input .sc-tet-input{text-align:center}.stepper-input__input .sc-tet-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}';export{f as tet_stepper_input}
|