@tet/tet-components 1.4.151-testing → 1.4.152-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/{http-codes-D7ffzpYW.js → http-codes-Dr-iFaJ9.js} +1 -1
- package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +4 -4
- package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +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-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-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 +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
- 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 +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-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-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-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card.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-paginator.cjs.entry.js +3 -3
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-round-stepper.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-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.css +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-ESamOnQ2.js → p-0PX5nk1X.js} +1 -1
- package/dist/components/{p-C2DTM2HW.js → p-0qq5uELr.js} +1 -1
- package/dist/components/{p-B5Dk5hzj.js → p-4Ucu3g0C.js} +1 -1
- package/dist/components/{p-Fk_hC9CA.js → p-8QZBQTma.js} +1 -1
- package/dist/components/{p-CBb4GHQC.js → p-BPRnaH-D.js} +1 -1
- package/dist/components/{p-CMxcvnRv.js → p-BSySZotX.js} +1 -1
- package/dist/components/{p-BE5N-nLS.js → p-BXJwrtLu.js} +1 -1
- package/dist/components/{p-BsJwZVh1.js → p-Bbhz0UNp.js} +1 -1
- package/dist/components/{p-DN2JwXg9.js → p-BcXV5sQw.js} +1 -1
- package/dist/components/{p-B0WxHzd1.js → p-BcYT5W0z.js} +1 -1
- package/dist/components/{p-dtbMtDdl.js → p-BebHcWaL.js} +1 -1
- package/dist/components/{p-BvvGlT5o.js → p-BnzqqZDS.js} +1 -1
- package/dist/components/{p-DtM2mOxR.js → p-Bov6nq6f.js} +1 -1
- package/dist/components/{p-CSFy0ZOg.js → p-C454nOI2.js} +1 -1
- package/dist/components/{p-DaMPfj1b.js → p-C94J04Wg.js} +1 -1
- package/dist/components/{p-CjJ54ElJ.js → p-CBmkUr0M.js} +1 -1
- package/dist/components/{p-DsRgePgU.js → p-CEYVXw4e.js} +1 -1
- package/dist/components/{p-Cor3VECP.js → p-CHlBG23-.js} +1 -1
- package/dist/components/{p-2fJciHNA.js → p-COfoXlBj.js} +1 -1
- package/dist/components/{p-Bc8kT-EY.js → p-CPdE-zs6.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
- package/dist/components/{p-CoG_ec37.js → p-C_1yVJZZ.js} +1 -1
- package/dist/components/{p-Bw-D7nPx.js → p-CaHY4mtM.js} +1 -1
- package/dist/components/{p-DesVo0z4.js → p-CacSARKA.js} +1 -1
- package/dist/components/{p-BvWhh2Zj.js → p-CcHWhQDQ.js} +1 -1
- package/dist/components/{p-DOXOGqV4.js → p-ChDnLPLv.js} +1 -1
- package/dist/components/{p-CXef17B1.js → p-CmVD5led.js} +1 -1
- package/dist/components/{p-Wb7j-Dvl.js → p-CmhCewEq.js} +1 -1
- package/dist/components/{p-CgNeAUdj.js → p-D3G2xHnR.js} +1 -1
- package/dist/components/{p-CPDaFkP-.js → p-D9UuThqv.js} +1 -1
- package/dist/components/{p-CNQaGCyw.js → p-DAE2dfpm.js} +1 -1
- package/dist/components/{p-D8Xy3-us.js → p-DAobsjqJ.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/{p-BylUquPs.js → p-DNGRW8sq.js} +1 -1
- package/dist/components/{p-vFpexPNc.js → p-DON0EmPP.js} +1 -1
- package/dist/components/{p-1Lj0lmvD.js → p-DU6sXFDp.js} +1 -1
- package/dist/components/{p-BGwyieba.js → p-DUWGLKGq.js} +1 -1
- package/dist/components/{p-aQbsBsGW.js → p-DY9AGL2E.js} +1 -1
- package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
- package/dist/components/{p-ByJZSc7q.js → p-DbjCkR5X.js} +1 -1
- package/dist/components/{p-CfYnDxZ4.js → p-DeSOi5-4.js} +1 -1
- package/dist/components/{p-Ai62-8P7.js → p-DwVbCksK.js} +1 -1
- package/dist/components/{p-ByNp0BYK.js → p-DxKM3sMP.js} +1 -1
- package/dist/components/{p-BSsLvAZT.js → p-DzbNwr9t.js} +1 -1
- package/dist/components/{p-CxbnslX3.js → p-NcCsJO5d.js} +1 -1
- package/dist/components/{p-BxaWrbxY.js → p-UO88cSzg.js} +1 -1
- package/dist/components/{p-BQIpVQJs.js → p-V21Y2OUl.js} +1 -1
- package/dist/components/{p-DxuP_qv-.js → p-bxWDROdu.js} +1 -1
- package/dist/components/{p-BHVdJuNW.js → p-clMNLRy7.js} +1 -1
- package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
- package/dist/components/{p-DwUP6x7E.js → p-kOvOo8dW.js} +1 -1
- package/dist/components/{p-BxVNmeaS.js → p-mUmKjzJ5.js} +1 -1
- 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 +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- 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 +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- 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 +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- 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 +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.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-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 +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +1 -1
- 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 +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/{http-codes-BQGPgOl6.js → http-codes-DP6cQyLI.js} +1 -1
- package/dist/esm/{index-DScZlZas.js → index-BTdj-C2n.js} +1 -1
- package/dist/esm/{index-BGB6gNkz.js → index-BWP8psSS.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-CBuVYKp-.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_5.entry.js +4 -4
- package/dist/esm/tet-assembler.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.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-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-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 +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-card-v3.entry.js +3 -3
- 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 +2 -2
- 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-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-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-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-news-card.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-paginator.entry.js +3 -3
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +2 -2
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-round-stepper.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-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/{translations-Dc2OQnbI.js → translations-BxuQY6H_.js} +1 -1
- package/dist/tet-components/{p-7cc6b959.entry.js → p-0821f339.entry.js} +1 -1
- package/dist/tet-components/{p-2c84bff1.entry.js → p-11bb38bc.entry.js} +1 -1
- package/dist/tet-components/{p-92340a39.entry.js → p-132da9f3.entry.js} +1 -1
- package/dist/tet-components/{p-ecdaf331.entry.js → p-14fa05f5.entry.js} +1 -1
- package/dist/tet-components/{p-9ca86779.entry.js → p-15bd70e7.entry.js} +1 -1
- package/dist/tet-components/{p-30523176.entry.js → p-15df2f2b.entry.js} +1 -1
- package/dist/tet-components/{p-1b29e5f2.entry.js → p-1a24d6bb.entry.js} +1 -1
- package/dist/tet-components/{p-6146284d.entry.js → p-1bb794e8.entry.js} +1 -1
- package/dist/tet-components/{p-01577a41.entry.js → p-1c58ffe4.entry.js} +1 -1
- package/dist/tet-components/{p-bb16b0e5.entry.js → p-1dc250ec.entry.js} +1 -1
- package/dist/tet-components/{p-a579df12.entry.js → p-1dfbd098.entry.js} +1 -1
- package/dist/tet-components/{p-9cee887f.entry.js → p-2538d199.entry.js} +1 -1
- package/dist/tet-components/{p-380c13f1.entry.js → p-2a96f73a.entry.js} +1 -1
- package/dist/tet-components/{p-a240b7c2.entry.js → p-315b6aac.entry.js} +1 -1
- package/dist/tet-components/{p-49ba40a1.entry.js → p-34a661a6.entry.js} +1 -1
- package/dist/tet-components/{p-c9c4656e.entry.js → p-376e55d2.entry.js} +1 -1
- package/dist/tet-components/{p-87675c65.entry.js → p-38192518.entry.js} +1 -1
- package/dist/tet-components/{p-9d103705.entry.js → p-3b186178.entry.js} +1 -1
- package/dist/tet-components/{p-0c0dec4c.entry.js → p-3bbf937c.entry.js} +1 -1
- package/dist/tet-components/{p-0996dd5a.entry.js → p-3c232c0d.entry.js} +1 -1
- package/dist/tet-components/{p-f23fbdab.entry.js → p-3c489f4d.entry.js} +1 -1
- package/dist/tet-components/{p-de8125d5.entry.js → p-4187e993.entry.js} +1 -1
- package/dist/tet-components/{p-b31a3fa1.entry.js → p-43bd87cf.entry.js} +1 -1
- package/dist/tet-components/{p-fbb45705.entry.js → p-4a6bf53c.entry.js} +1 -1
- package/dist/tet-components/{p-6bc9b958.entry.js → p-4d985d70.entry.js} +1 -1
- package/dist/tet-components/{p-e2d4e5c3.entry.js → p-4f339642.entry.js} +1 -1
- package/dist/tet-components/{p-129027b6.entry.js → p-51fccc0d.entry.js} +1 -1
- package/dist/tet-components/{p-3af65955.entry.js → p-52cc694d.entry.js} +1 -1
- package/dist/tet-components/{p-0386aeb9.entry.js → p-5317947b.entry.js} +1 -1
- package/dist/tet-components/{p-ec596eb2.entry.js → p-59a4500c.entry.js} +1 -1
- package/dist/tet-components/{p-512e516b.entry.js → p-5a3ca73d.entry.js} +1 -1
- package/dist/tet-components/{p-185e98b4.entry.js → p-5d2b1316.entry.js} +1 -1
- package/dist/tet-components/{p-c6dc0917.entry.js → p-61a9bc72.entry.js} +1 -1
- package/dist/tet-components/{p-ad0b78d5.entry.js → p-64b9b07d.entry.js} +1 -1
- package/dist/tet-components/{p-38459b69.entry.js → p-6ca9f8e7.entry.js} +1 -1
- package/dist/tet-components/{p-45c01709.entry.js → p-6fd37205.entry.js} +1 -1
- package/dist/tet-components/{p-c97d7c52.entry.js → p-70af2afa.entry.js} +1 -1
- package/dist/tet-components/{p-7dcb307f.entry.js → p-71f9504c.entry.js} +1 -1
- package/dist/tet-components/{p-5e237b6d.entry.js → p-73f3d6e1.entry.js} +1 -1
- package/dist/tet-components/{p-830e4fe6.entry.js → p-77ef94a7.entry.js} +1 -1
- package/dist/tet-components/{p-b3acb430.entry.js → p-78fe0d42.entry.js} +1 -1
- package/dist/tet-components/{p-386be2d5.entry.js → p-7c4ef1a9.entry.js} +1 -1
- package/dist/tet-components/{p-47b65d11.entry.js → p-7fac3d04.entry.js} +1 -1
- package/dist/tet-components/{p-4b92e8e6.entry.js → p-82d5f453.entry.js} +1 -1
- package/dist/tet-components/{p-b8b2a9f5.entry.js → p-8903db67.entry.js} +1 -1
- package/dist/tet-components/{p-4db60df6.entry.js → p-94c9fce7.entry.js} +1 -1
- package/dist/tet-components/{p-f5cf45c1.entry.js → p-96f0eff9.entry.js} +1 -1
- package/dist/tet-components/{p-11ed5b55.entry.js → p-9988e041.entry.js} +1 -1
- package/dist/tet-components/{p-BGB6gNkz.js → p-BWP8psSS.js} +1 -1
- package/dist/tet-components/p-Bi5WA4Eb.js +1 -0
- package/dist/tet-components/{p-DX1IQAn5.js → p-CEkiSmjX.js} +1 -1
- package/dist/tet-components/p-D5A3ic42.js +1 -0
- package/dist/tet-components/{p-DbJll7nz.js → p-Ojgt8vhK.js} +1 -1
- package/dist/tet-components/{p-c96c5b96.entry.js → p-a178ca0d.entry.js} +1 -1
- package/dist/tet-components/{p-b82a4ea3.entry.js → p-a5e44414.entry.js} +1 -1
- package/dist/tet-components/{p-51e6df01.entry.js → p-a7d8477f.entry.js} +1 -1
- package/dist/tet-components/{p-6a8f5935.entry.js → p-a9d5bc77.entry.js} +1 -1
- package/dist/tet-components/{p-db2a72c7.entry.js → p-b2c85619.entry.js} +1 -1
- package/dist/tet-components/{p-c2d6ac75.entry.js → p-b49ea768.entry.js} +1 -1
- package/dist/tet-components/{p-632d382c.entry.js → p-b64f4147.entry.js} +1 -1
- package/dist/tet-components/{p-78975957.entry.js → p-b98a8b9e.entry.js} +1 -1
- package/dist/tet-components/{p-ea9d92f6.entry.js → p-c3455ad8.entry.js} +1 -1
- package/dist/tet-components/{p-74ccd606.entry.js → p-c6419606.entry.js} +1 -1
- package/dist/tet-components/{p-37c3f4c6.entry.js → p-c7473b74.entry.js} +1 -1
- package/dist/tet-components/{p-acdbec26.entry.js → p-cad7f27d.entry.js} +1 -1
- package/dist/tet-components/{p-4804006b.entry.js → p-cafa7f45.entry.js} +1 -1
- package/dist/tet-components/{p-cd7efc99.entry.js → p-d2179734.entry.js} +1 -1
- package/dist/tet-components/{p-3ae8cca8.entry.js → p-d64c6445.entry.js} +1 -1
- package/dist/tet-components/{p-5ec6552c.entry.js → p-d91b13fe.entry.js} +1 -1
- package/dist/tet-components/{p-cc3e87fe.entry.js → p-d9b9bae7.entry.js} +1 -1
- package/dist/tet-components/{p-ad8622a2.entry.js → p-daa0867b.entry.js} +1 -1
- package/dist/tet-components/{p-a96d7e90.entry.js → p-dfe40a38.entry.js} +1 -1
- package/dist/tet-components/{p-7338bab9.entry.js → p-e0aacafc.entry.js} +1 -1
- package/dist/tet-components/{p-2ac83b4c.entry.js → p-e362d48f.entry.js} +1 -1
- package/dist/tet-components/{p-a4d98d8f.entry.js → p-e4cc950c.entry.js} +1 -1
- package/dist/tet-components/{p-41763924.entry.js → p-eab06d8d.entry.js} +1 -1
- package/dist/tet-components/{p-e7e18cc4.entry.js → p-eb219b3a.entry.js} +1 -1
- package/dist/tet-components/{p-6ec585b8.entry.js → p-ef09f495.entry.js} +1 -1
- package/dist/tet-components/{p-e0752dc6.entry.js → p-ef27c46b.entry.js} +1 -1
- package/dist/tet-components/{p-8310d42d.entry.js → p-f0a12cbd.entry.js} +1 -1
- package/dist/tet-components/{p-1c254d23.entry.js → p-f3baa590.entry.js} +1 -1
- package/dist/tet-components/{p-119e349d.entry.js → p-f63194a6.entry.js} +1 -1
- package/dist/tet-components/{p-24058988.entry.js → p-f6d3abd5.entry.js} +1 -1
- package/dist/tet-components/{p-a560fec1.entry.js → p-f6f7436d.entry.js} +1 -1
- package/dist/tet-components/{p-0e32545c.entry.js → p-f78dd5fe.entry.js} +1 -1
- package/dist/tet-components/{p-4a39f6bc.entry.js → p-f7b720ca.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/tet-components/p-BzLFf73g.js +0 -1
- package/dist/tet-components/p-C1XJmhDH.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as r}from"./p-BGB6gNkz.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent")}theme="light";onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}size="S";onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}sizeChangeBreakpoint="None";isInCarousel=!1;pictureLayoutShiftPosition="left";cardTitle;subtitle;tags;dateTag;dateTagColorLight="black";dateTagColorDark="white";priceTagOptions={show:!1,background:"white"};linkHref;linkText;linkNewTab=!1;index;buttonColorTheme;buttonCustomColorCode;buttonCustomColorContentTone="light";tetDynamicCardClickEvent;isFocused=!1;originalSize=null;currentSize=null;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"9cfe72778dfaf7f44e796b0f1e41d8df1a9fe1f8",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"2cd33e638a62cd75bbd5f9138d0e77f1e5543255",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"056b9dcfd8edacd3983c49005fd22433e764b3e2",class:"image",part:"image"},i("slot",{key:"f52a2c79285fba66aad95cb495ba6c0083bc1bd8",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"dbdf37d7141c0b2f0b8c1a40c823dc7484ba45a2",class:"content-container"},i("div",{key:"64f160389fc01119f4992329c15a02297c5d965e",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"ca864db8b53d4515dc4d262b1ee88e6f5215b9d0",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"4ec676735fda2e89c457f27099d99a3c9c67cfe6",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:[{onThemeChanged:0}],size:[{onSizeChange:0}]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
|
|
1
|
+
import{r as t,c as e,h as i,H as r}from"./p-BWP8psSS.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent")}theme="light";onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}size="S";onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}sizeChangeBreakpoint="None";isInCarousel=!1;pictureLayoutShiftPosition="left";cardTitle;subtitle;tags;dateTag;dateTagColorLight="black";dateTagColorDark="white";priceTagOptions={show:!1,background:"white"};linkHref;linkText;linkNewTab=!1;index;buttonColorTheme;buttonCustomColorCode;buttonCustomColorContentTone="light";tetDynamicCardClickEvent;isFocused=!1;originalSize=null;currentSize=null;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return this.isInCarousel?"S":t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile) - 2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet) - 2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,"color-theme":this.buttonColorTheme,"custom-color-code":this.buttonCustomColorCode,"custom-color-content-tone":this.buttonCustomColorContentTone,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"9cfe72778dfaf7f44e796b0f1e41d8df1a9fe1f8",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"2cd33e638a62cd75bbd5f9138d0e77f1e5543255",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"056b9dcfd8edacd3983c49005fd22433e764b3e2",class:"image",part:"image"},i("slot",{key:"f52a2c79285fba66aad95cb495ba6c0083bc1bd8",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"dbdf37d7141c0b2f0b8c1a40c823dc7484ba45a2",class:"content-container"},i("div",{key:"64f160389fc01119f4992329c15a02297c5d965e",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"ca864db8b53d4515dc4d262b1ee88e6f5215b9d0",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"4ec676735fda2e89c457f27099d99a3c9c67cfe6",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:[{onThemeChanged:0}],size:[{onSizeChange:0}]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,H as i}from"./p-
|
|
1
|
+
import{r as t,c as e,h as s,H as i}from"./p-BWP8psSS.js";import{p as o,t as a}from"./p-Bi5WA4Eb.js";import"./p-Ojgt8vhK.js";import"./p-Bvqcvhjw.js";const n=class{constructor(s){t(this,s),this.closeDialog=e(this,"closeDialog"),this.openDialog=e(this,"openDialog")}stepBlocks=[];prevButton;nextButton;tetDialog;content="";steps=[];isOpen=!1;dialogDataScreenKey="";tetDialogClass="";language="lv";isKeydownFocus=!1;theme="light";closeDialog;openDialog;async componentWillLoad(){await o("tet-components",this.language)}componentDidLoad(){this.setActive(!1),this.prevButton.addEventListener("click",(()=>{this.setActive(!0),this.prevButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.prevButton.style.display?this.prevButton.focus():this.nextButton.focus())})),this.nextButton.addEventListener("click",(()=>{this.setActive(!1),this.nextButton.shadowRoot.querySelector("button")?.blur(),this.isKeydownFocus&&("none"!==this.nextButton.style.display?this.nextButton.focus():this.prevButton.focus())}))}setStepBlocks=t=>{t&&this.stepBlocks.push(t)};setActive=t=>{const e=Array.from(this.stepBlocks).find((t=>t.classList.contains("active"))),s=e?Number(e.getAttribute("data-step")):0,i=t?s-1:s+1,o=Array.from(this.stepBlocks),a=o.find((t=>Number(t.getAttribute("data-step"))===i));a&&(this.stepBlocks.forEach((t=>{t.style.display="none",t.classList.remove("active")})),a.classList.add("active"),a.style.display="block",this.updateButtonVisibility(i,o))};updateButtonVisibility=(t,e)=>{const s=e.find((e=>Number(e.getAttribute("data-step"))===t+1)),i=e.find((e=>Number(e.getAttribute("data-step"))===t-1));this.nextButton.style.display=s?"block":"none",this.prevButton.style.display=i?"block":"none",this.tetDialog.setAttribute("footer-display",s?i?"between":"right":"left")};handleKeydownEvent=t=>{["Enter"," "].includes(t.key)&&(this.isKeydownFocus=!0)};handleCloseDialog=t=>{t.stopPropagation(),this.closeDialog.emit(t.detail)};handleOpenDialog=t=>{t.stopPropagation(),this.openDialog.emit(t.detail)};renderStep(t,e){return s("div",{innerHTML:t,"data-step":Number(e)+1,class:"multi-step-dialog__step",ref:this.setStepBlocks})}render(){return s(i,{key:"e96889d646e2275058bb4718876972cea8c86ad4",class:"multi-step-dialog"},s("tet-dialog",{key:"bf35ef6e8ea7450ca6880f236c4e4d36cf52f4cd",class:this.tetDialogClass,"is-open":this.isOpen,"data-screen-key":this.dialogDataScreenKey,"footer-display":"right",ref:t=>this.tetDialog=t,theme:this.theme,onCloseDialog:this.handleCloseDialog,onOpenDialog:this.handleOpenDialog},s("div",{key:"91b6f323f2015195f3c1d683fa563713bc39d8c9",innerHTML:this.content}),this.steps.map(((t,e)=>this.renderStep(t,e))),s("tet-button",{key:"cc316e8a51130f3b682d9f4063c80bd337987568",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,type:"secondary",ref:t=>this.prevButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-go-back")),s("tet-button",{key:"1ca71d384b7936c5a129cb07a88fadf5278009b6",class:"footer-button",slot:"footer",size:"medium",theme:this.theme,ref:t=>this.nextButton=t,onKeyDown:t=>this.handleKeydownEvent(t)},a("components-next-step"))))}};export{n as tet_multi_step_dialog}
|