@tet/tet-components 1.4.77-staging → 1.4.78-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/loader.cjs.js +1 -1
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +2 -2
- package/dist/cjs/tet-address-search.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +2 -2
- package/dist/cjs/tet-card-list.cjs.entry.js +4 -4
- package/dist/cjs/tet-carousel.cjs.entry.js +6 -6
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-components.cjs.js +1 -1
- package/dist/cjs/tet-contact-form.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +72 -18
- package/dist/cjs/tet-inline-message.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.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 +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +7 -7
- package/dist/cjs/tet-referral.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/tet-switch.cjs.entry.js +3 -3
- package/dist/cjs/tet-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +1 -1
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-snicker-card/partials/tet-snicker-card-badge/tet-snicker-card-badge.js +1 -1
- package/dist/collection/components/advanced/cards/tet-snicker-card/tet-snicker-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-snicker-card-group/tet-snicker-card-group.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.js +3 -3
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +7 -7
- package/dist/collection/components/basic/buttons/tet-radio-blocks/tet-radio-blocks.js +1 -1
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +3 -3
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
- package/dist/collection/components/basic/icon/default-color-icons.js +43 -7
- package/dist/collection/components/basic/icon/tet-icon.js +40 -14
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/lists/tet-link-card-list/tet-link-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +2 -2
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
- package/dist/components/{p-88a9deb8.js → p-02f8a79e.js} +2 -2
- package/dist/components/{p-0c4dbefb.js → p-0a0f927a.js} +4 -4
- package/dist/components/{p-8e749973.js → p-0ec3c4b6.js} +1 -1
- package/dist/components/{p-5242a102.js → p-0fb109a0.js} +1 -1
- package/dist/components/{p-29f2cbbf.js → p-10234199.js} +6 -6
- package/dist/components/{p-d848c015.js → p-16a1d990.js} +5 -5
- package/dist/components/{p-6630bca1.js → p-25702426.js} +1 -1
- package/dist/components/{p-9be69f40.js → p-2868a41b.js} +1 -1
- package/dist/components/{p-952a14e2.js → p-32da0edf.js} +1 -1
- package/dist/components/{p-4eaabfdc.js → p-36b9f13e.js} +3 -3
- package/dist/components/{p-60d85e2f.js → p-3d072a1e.js} +11 -11
- package/dist/components/{p-7e21e309.js → p-3d1e5c8b.js} +3 -3
- package/dist/components/{p-46ba4306.js → p-3e829123.js} +1 -1
- package/dist/components/{p-33c09254.js → p-44e627f3.js} +6 -6
- package/dist/components/{p-c0f5914e.js → p-47c688d7.js} +1 -1
- package/dist/components/{p-faff7c5a.js → p-4b880173.js} +4 -4
- package/dist/components/{p-59ac0863.js → p-57bf2153.js} +2 -2
- package/dist/components/{p-066c3480.js → p-5cd25a54.js} +3 -3
- package/dist/components/{p-7c65df67.js → p-5eb7612d.js} +2 -2
- package/dist/components/{p-2daea550.js → p-5ec89db9.js} +8 -8
- package/dist/components/{p-b98923ac.js → p-6d948564.js} +4 -4
- package/dist/components/{p-1ef2f956.js → p-70aea86a.js} +6 -6
- package/dist/components/{p-53c45209.js → p-70b1c0e6.js} +4 -4
- package/dist/components/{p-4b12ba8e.js → p-73ed8265.js} +2 -2
- package/dist/components/{p-95de1bf2.js → p-768c57df.js} +2 -2
- package/dist/components/{p-68f63949.js → p-889ee44d.js} +1 -1
- package/dist/components/{p-0ec0fbc2.js → p-8ba4c534.js} +2 -2
- package/dist/components/{p-457f3fe1.js → p-8e2c8ceb.js} +74 -19
- package/dist/components/{p-7a5555cb.js → p-93829d11.js} +10 -10
- package/dist/components/{p-dfdeddc1.js → p-9792bb4a.js} +1 -1
- package/dist/components/{p-bc338fa8.js → p-a3501717.js} +4 -4
- package/dist/components/{p-32b2d297.js → p-a5ef7d31.js} +2 -2
- package/dist/components/{p-7b772623.js → p-a64a60c6.js} +2 -2
- package/dist/components/{p-d62321ac.js → p-b01c3df5.js} +1 -1
- package/dist/components/{p-10f42886.js → p-bfa25b5d.js} +1 -1
- package/dist/components/{p-f041d8b9.js → p-c0051694.js} +2 -2
- package/dist/components/{p-e6063900.js → p-c12be03b.js} +3 -3
- package/dist/components/{p-c7dc82e7.js → p-c16c6a3a.js} +8 -8
- package/dist/components/{p-e0ef2923.js → p-c873ad30.js} +7 -7
- package/dist/components/{p-5a6323ed.js → p-d51430ba.js} +2 -2
- package/dist/components/{p-26cb11bc.js → p-e0a0e9f2.js} +1 -1
- package/dist/components/{p-fd53c0b5.js → p-ecac2c7f.js} +2 -2
- package/dist/components/{p-55faf9b2.js → p-eef25840.js} +1 -1
- package/dist/components/{p-7fb0ac83.js → p-f131c903.js} +9 -9
- package/dist/components/{p-2392c9a3.js → p-f9f40f9a.js} +4 -4
- package/dist/components/{p-417077a1.js → p-fa71b3da.js} +1 -1
- package/dist/components/{p-b4713aad.js → p-fd4948a2.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 +17 -17
- 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 +7 -7
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +4 -4
- 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 +16 -16
- package/dist/components/tet-b2b-service-calculator.js +7 -7
- package/dist/components/tet-banner-nav.js +2 -2
- package/dist/components/tet-business-compare-card.js +4 -4
- package/dist/components/tet-business-lines.js +4 -4
- 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 +9 -9
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +6 -6
- package/dist/components/tet-cloud-configurator.js +10 -10
- package/dist/components/tet-compare-card-v2.js +7 -7
- package/dist/components/tet-compare-card-v3.js +9 -9
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +13 -13
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +7 -7
- package/dist/components/tet-customer-assets.js +5 -5
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker.js +2 -2
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +6 -6
- package/dist/components/tet-divider.js +5 -5
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +2 -2
- package/dist/components/tet-expandable-input.js +2 -2
- package/dist/components/tet-feedback-form.js +5 -5
- package/dist/components/tet-filter.js +3 -3
- package/dist/components/tet-floating-block.js +2 -2
- 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 +2 -2
- package/dist/components/tet-link-card-list.js +2 -2
- package/dist/components/tet-macd-view.js +9 -9
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-mini-compare-card.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +3 -3
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-position.js +5 -5
- package/dist/components/tet-radio-blocks.js +2 -2
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +12 -12
- package/dist/components/tet-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 +2 -2
- 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 +5 -5
- 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-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tet-address-offers_4.entry.js +2 -2
- package/dist/esm/tet-address-search.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-business-compare-card.entry.js +2 -2
- package/dist/esm/tet-card-list.entry.js +4 -4
- package/dist/esm/tet-carousel.entry.js +6 -6
- package/dist/esm/tet-compare-card-v3.entry.js +1 -1
- package/dist/esm/tet-compare-cards_2.entry.js +2 -2
- package/dist/esm/tet-components.js +1 -1
- package/dist/esm/tet-contact-form.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +72 -18
- package/dist/esm/tet-inline-message.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-macd-view.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 +1 -1
- package/dist/esm/tet-number-input.entry.js +2 -2
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +7 -7
- package/dist/esm/tet-referral.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/tet-switch.entry.js +3 -3
- package/dist/esm/tet-tab-header.entry.js +2 -2
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +2 -2
- package/dist/esm/tet-thank-you-view-v2.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v3.entry.js +1 -1
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +2 -2
- package/dist/tet-components/{p-091ba284.entry.js → p-0494758f.entry.js} +1 -1
- package/dist/tet-components/{p-fc81fb8e.entry.js → p-09c021c8.entry.js} +1 -1
- package/dist/tet-components/{p-8998d112.entry.js → p-0bf01622.entry.js} +1 -1
- package/dist/tet-components/{p-c1955aa6.entry.js → p-0db6cda4.entry.js} +1 -1
- package/dist/tet-components/{p-0c6c7605.entry.js → p-13d9047a.entry.js} +1 -1
- package/dist/tet-components/p-1df796d2.entry.js +1 -0
- package/dist/tet-components/{p-47a897c5.entry.js → p-1f517933.entry.js} +1 -1
- package/dist/tet-components/{p-f17a4724.entry.js → p-3121f99e.entry.js} +1 -1
- package/dist/tet-components/{p-0f8cdb24.entry.js → p-3b2a93d8.entry.js} +1 -1
- package/dist/tet-components/{p-9c34400c.entry.js → p-3c26e420.entry.js} +1 -1
- package/dist/tet-components/{p-707604af.entry.js → p-45f88bdd.entry.js} +1 -1
- package/dist/tet-components/{p-87248982.entry.js → p-4b2cf489.entry.js} +1 -1
- package/dist/tet-components/{p-dcfc2639.entry.js → p-4c61c483.entry.js} +1 -1
- package/dist/tet-components/{p-26147420.entry.js → p-51b81485.entry.js} +1 -1
- package/dist/tet-components/{p-3251b52b.entry.js → p-54e467e7.entry.js} +1 -1
- package/dist/tet-components/{p-7c7330ad.entry.js → p-561b7c6e.entry.js} +1 -1
- package/dist/tet-components/{p-c7e67378.entry.js → p-56a1754b.entry.js} +1 -1
- package/dist/tet-components/{p-e36809cc.entry.js → p-57324858.entry.js} +1 -1
- package/dist/tet-components/{p-a80fa7d0.entry.js → p-65bad6be.entry.js} +1 -1
- package/dist/tet-components/{p-8e72a5cb.entry.js → p-65c9b474.entry.js} +1 -1
- package/dist/tet-components/{p-89d2d3d9.entry.js → p-68308502.entry.js} +1 -1
- package/dist/tet-components/{p-d6c00f5e.entry.js → p-6c2fefcf.entry.js} +1 -1
- package/dist/tet-components/{p-5ec1a6cf.entry.js → p-714aae02.entry.js} +1 -1
- package/dist/tet-components/{p-8ac7782f.entry.js → p-75eeb228.entry.js} +1 -1
- package/dist/tet-components/{p-738c3987.entry.js → p-7cc14730.entry.js} +1 -1
- package/dist/tet-components/p-7e1fc07a.entry.js +1 -0
- package/dist/tet-components/{p-928c38da.entry.js → p-813096f3.entry.js} +1 -1
- package/dist/tet-components/{p-ddecaef0.entry.js → p-8a4cdc70.entry.js} +1 -1
- package/dist/tet-components/{p-70448ec8.entry.js → p-92da37bf.entry.js} +1 -1
- package/dist/tet-components/{p-6e16e0ee.entry.js → p-b3d46f0e.entry.js} +1 -1
- package/dist/tet-components/{p-58313d11.entry.js → p-bbfed22a.entry.js} +1 -1
- package/dist/tet-components/{p-7e2c854a.entry.js → p-bddb0206.entry.js} +1 -1
- package/dist/tet-components/{p-4babd7b2.entry.js → p-bf647eed.entry.js} +1 -1
- package/dist/tet-components/{p-e70a8127.entry.js → p-c7b9de9c.entry.js} +1 -1
- package/dist/tet-components/{p-5527dd96.entry.js → p-cf152377.entry.js} +1 -1
- package/dist/tet-components/{p-e8ec9d1c.entry.js → p-d45c30e4.entry.js} +1 -1
- package/dist/tet-components/{p-b4fb5193.entry.js → p-e1c459aa.entry.js} +1 -1
- package/dist/tet-components/{p-27a33156.entry.js → p-e6fa8816.entry.js} +1 -1
- package/dist/tet-components/{p-69c178e7.entry.js → p-fb9b1969.entry.js} +1 -1
- package/dist/tet-components/{p-ceff5b1f.entry.js → p-ff83fefa.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/icon/default-color-icons.d.ts +7 -0
- package/dist/types/components/basic/icon/tet-icon.d.ts +6 -4
- package/dist/types/components.d.ts +4 -2
- package/package.json +1 -1
- package/dist/tet-components/p-66f98081.entry.js +0 -1
- package/dist/tet-components/p-8093385f.entry.js +0 -1
package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js
CHANGED
|
@@ -122,7 +122,7 @@ export class TetCustomerAssets {
|
|
|
122
122
|
return (h("tet-selection-list", { items: assets, itemRenderFunction: assetRenderFunction, multipleSelections: false, class: "item", exportparts: "label", onItemSelected: this.selectAsset }));
|
|
123
123
|
};
|
|
124
124
|
render() {
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'c87c43d040d35222ec935502295088a506dd2f20' }, h("div", { key: '59caf6a026dbe8fe9f99f8b7cc87a3e1f2f7e984', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
|
|
126
126
|
? h("tet-loader", { class: "loader-single" })
|
|
127
127
|
: this.showLoader ? this.renderLoader() : this.renderAssetsList())));
|
|
128
128
|
}
|
|
@@ -47,9 +47,9 @@ export class TetReferral {
|
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '55f58599d7125f501d66705e5f7f0425b6531b8e' }, h("div", { key: 'bc4423e40796dace04b134cad8ca2b451911f721', class: "wrapper" }, h(ThemeWrapper, { key: 'b99fcc6759b15396ba22859f819b4630acc10d5b', theme: this.theme }, h("div", { key: '44dce854eb98dd1bc4fd0090159afb6021495107', class: "image-container" }, h("img", { key: '6894f4487f0b2346b0ab8aff9618f55b9c5d31c2', src: t('components-referral-image-url'), alt: "" })), h("div", { key: 'ecb59af265ca1517a773a4fc6794a60c8d35a044', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: 'bb17040ff6c8d282cd3b9f098c4375e45555ae32', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: 'd249a460fcd390194587734ef8d55e98c8c43c0c', class: "referral-block" }, h("div", { key: 'cd55f4949ed881165a89889a282cf46231e448ed', class: "url-wrapper" }, h("div", { key: '5e50cc955cd0d8d2e5d861bc21efc763c4f92f15', class: "referral-url" }, this.getReferralUrl()), h("div", { key: '46e2ed6a662e3f8215237b6b121a2a3d6ac470f9' }, h("div", { key: 'f4eacaced162f3c4e4d0c0d2dc2edc27bf99e2dd', class: "button-wrapper" }, h("tet-tooltip", { key: '8c90f19385d93f255e2f7c11f04413a487b0e973', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
|
|
51
51
|
this.tooltip = el;
|
|
52
|
-
} }, t('components-referral-tooltip')), h("tet-button", { key: '
|
|
52
|
+
} }, t('components-referral-tooltip')), h("tet-button", { key: 'fc22001bc82c9ba2d4fa9912a95f12f41651e349', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "tet-referral"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -130,7 +130,7 @@ export class TetMultiStepDialog {
|
|
|
130
130
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '6974a29a9202ee1b3bbc74d44a15b9e5b1d6c286', class: "multi-step-dialog" }, h("tet-dialog", { key: '7ad7a8c7dc5dd341a2a64072635850bf66a012a2', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el, theme: this.theme, onCloseDialog: this.handleCloseDialog, onOpenDialog: this.handleOpenDialog }, h("div", { key: '35955785c286b01daeb2502d017186e054258adb', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: 'c3b77136e307b7c4955d38fcaecc48ef18ab2818', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: 'c619f159322f97864f8c2c017ec9086e5c93b3f3', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "tet-multi-step-dialog"; }
|
|
136
136
|
static get properties() {
|
|
@@ -132,7 +132,7 @@ export class TetAvailabilityContactForm {
|
|
|
132
132
|
return (h("div", null, h("tet-dialog", { ref: (element) => this.dialogElement = element, "footer-display": "hidden", "is-open": this.showAvailabilityContactForm, closeOnEscape: true, closeOnOverlayClick: true }, h("div", { class: "form-container" }, h("tet-icon", { name: "confirm-md", class: "icon icon-success icon-size" }), this.showTitle && h("h2", { class: "form-title" }, t('components-availability-contact-form-success-title')), h("p", { class: "form-subtitle" }, t('components-availability-contact-form-success-subtitle')), h("tet-button", { class: "form-container-close", clickCallback: this.closeDialogElement, size: "medium", type: "primary", theme: "light" }, h("span", null, t('components-availability-contact-form-success-close')))))));
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h("div", { key: '
|
|
135
|
+
return (h("div", { key: 'b5c12345967c9a638bba6fa29fc46e6eff823ef5', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tet-availability-contact-form"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js
CHANGED
|
@@ -150,11 +150,11 @@ export class TetAvailabilityContactForm {
|
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
152
|
const { theme } = this;
|
|
153
|
-
return (h("tet-dialog", { key: '
|
|
153
|
+
return (h("tet-dialog", { key: '5a98aca1defb7a61cd73df904b4b22cf50b3638d', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
|
|
154
154
|
this.dialogElement = el;
|
|
155
|
-
} }, h("div", { key: '
|
|
155
|
+
} }, h("div", { key: '6c9202360928ea75cf50849c6f7e470e0ae3e381', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '52e5ca8510f7b94e872a0d6ba98f187d7f92bb5f', class: "modal-form-card-content-header" }, h("div", { key: 'f5368ce3d26e6bdcead33fb731f12f9f3dceee58', class: "icon-wrapper" }, h("tet-icon", { key: '9d3f65705a55f4b21e4bac893ba6339656396806', class: "icon", name: "tc-company-1" })), h("span", { key: 'a1b9dce49604b8cfcfb75b7fc86b137466584727', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: '2a15be2f14b5a98901e615deb72e7e20dd0bb31e', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: '643d118e656fd2fb6e8dd8752224fa93db49ab73', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: 'b41c07d6b1ef7e170e206ea5826a1ce77d309333', name: "cart" })), h("form", { key: '6a7ac8bf285b6e7342bfbe8cf870c5e6bac36a90', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '7b207c2104fb9e4a7180234fd270324d6b015c15', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001', 'company-reg', '11'), this.renderInput('companyName', t('components-b2b-check-out-form-company-name-input-label'))), this.renderInput('address', t('components-b2b-check-out-form-address-input-label'), t('components-b2b-check-out-form-address-input-placeholder')), this.renderInput('nameSurname', t('components-b2b-check-out-form-name-input-label'), '', 'name'), h("div", { key: 'f7f640b22c12fde5b0ff65dadc081b8f1cedc297', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com', 'email'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '22222222', 'phone', '8')), h("tet-checkbox", { key: 'cfe27a69af1c66a516e2324d9d13eaf04d5f2812', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: 'b084d5003b67bc31411f143a117f39b8a1341aa7', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: '53d2910fb46aebc0c7a367ef1373e4dfbe288638', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: 'd040fbbcd473f4e4ff8f4c99f3c4db1e61fd1db9', type: "secondary", size: "medium", theme: theme, onClick: () => {
|
|
156
156
|
this.dialogElement.close();
|
|
157
|
-
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '
|
|
157
|
+
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '5238fcce9b89a66455dbe79a0bd108f3519e7116', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "tet-b2b-check-out-form"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,7 +73,7 @@ export class TetContactForm {
|
|
|
73
73
|
return (h("div", { class: "loader-overlay" }, h("tet-loader", { class: "loader" })));
|
|
74
74
|
};
|
|
75
75
|
render() {
|
|
76
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'a0c020b86a94fc5b99c98f8baed7dbda79579557', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: 'd0e2aab66f7d03b761f79ebbde1fb342ede2d822', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: '38859cbea3cb0be297e4e8c91a9ed5ba711fea88', class: "form-container" }, this.showTitle && h("h2", { key: '4d3d959d87e4b0fde072825fdce7dd28e4d9c973', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '284d22412766506f72997bf32a334a22fb823cc3', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '2b9df8681526664f516fd6b1694647173ad2a4f0', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", { key: 'd6c97afe0b92b8af78a2dc64c4705db640545d70', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit'), ...this.submitButtonProps })))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "tet-contact-form"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class TetTvGiftBlock {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '5f4d12b9858d5ea9fd7dd50af290cf6ab80e2fe3' }, h("div", { key: 'bfd12dd2ccf1e82ece175a7fda93d77249a80120', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '034e114ce23693aff060376c1f4fe52695ba7366', class: "tv-gift__header" }, h("slot", { key: '61a3e08b8584724745aa2dd8a73b85f17ed5ca05', name: "header" }, this.headerImageSrc && h("img", { key: '0f2b6fdc324b0d4df303dbbe894daadbc2d9f581', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: 'c5a456a191b95577d239401f4694dd175592170f', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: 'c15d9be9a6092d53dfb4e7b4b2e41a4f7a39550e', class: "tv-gift__content" }, h("slot", { key: 'fc28b5d9308cc1c660f3ab23e3afd4595b41f60e' })), h("div", { key: '63a406ac5dee59d580f4ef3d7c187ff77f79d48a', class: "tv-gift__footer" }, h("slot", { key: '5dd45fa821af3419a7090b5fd1e694d6cf2ded95', name: "footer" }, h("span", { key: '00ad84b88d4703b2f53775fbd9519abb406d2b16', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: 'f80c37b12ae88904746d068c04b93dd681efeaf8', class: "tv-gift__footer__text" }, this.footerText))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "tet-tv-gift-block"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js
CHANGED
|
@@ -36,11 +36,11 @@ export class TetTvGiftList {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'a6d8a66cd075b0b0b5285c68fee73fd88a23f248' }, h("div", { key: '76c94baee584506ccd58c353f55fb77fae353f07', class: {
|
|
40
40
|
'tv-gift-list': true,
|
|
41
41
|
[`tv-gift-list--${this.containerSize}`]: true,
|
|
42
42
|
'tv-gift-list--image-list': Boolean(this.imageSource),
|
|
43
|
-
} }, this.imageSource && (h("div", { key: '
|
|
43
|
+
} }, this.imageSource && (h("div", { key: '28523a1b56614c42364a17cebca9f0be08fa9525', class: "tv-gift-list__image__wrapper" }, h("img", { key: 'c606c750f665667de2fd2c7bc843abfc22120f04', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'dbf6e20339b21358b0ae74025d7b1b13daf27fb1', class: "tv-gift-list__list__wrapper" }, h("span", { key: '2275a2c2f809cbcb0ec53e9cee0ba281820d92ab', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: 'ac543851aab4e3f415e9bbf22ff7a030c1b98da7', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "tet-tv-gift-list"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -204,11 +204,11 @@ export class TetSupportSearch {
|
|
|
204
204
|
])))))));
|
|
205
205
|
}
|
|
206
206
|
render() {
|
|
207
|
-
return (h(Host, { key: '
|
|
207
|
+
return (h(Host, { key: '32364479316d62e81690b621a4acedd40dd1fc38', class: {
|
|
208
208
|
"search-container": true,
|
|
209
209
|
[this.theme]: true,
|
|
210
|
-
} }, h("div", { key: '
|
|
211
|
-
h("tet-spinner", { key: '
|
|
210
|
+
} }, h("div", { key: 'cd40bc32315ff4fcaaeaa29f825dc4944fb25970', class: "search-container__inner-wrapper" }, h("tet-autocomplete", { key: 'a32ad83f7c04379e2a49c1f50058c308805616fa', optionsFilterAction: this.debounceOptionsFilter, onOptionSelected: this.boundHandleAutocompleteOptionSelection, onSearchTextSubmitted: this.boundHandleAutocompleteSearchSubmit, noOptionsMessage: this.labels.notFoundMessage, customOptionRenderFunction: this.boundRenderOption, finishedLoading: this.boundFinishedLoadingFunction, clearCallback: () => this.resetInputState(), darkTheme: this.theme === 'dark', newStyle: true, ref: (el) => (this.autocompleteComponent = el) }, h("tet-input", { key: '17281abfdc74d1f5a36e8fcb43700b119384b659', class: "search-container__input", "input-class": `autocomplete-input search-container__input ${this.isLoading ? 'with-loader' : ''}`, "input-placeholder": this.labels.placeholder, "input-disabled": this.disabled, label: this.showInputLabel ? this.labels.label : undefined, accessibilityLabel: this.showInputLabel ? undefined : this.labels.label, iconLeft: "tc-search-short", iconRight: this.inputIconRight, iconRightClickCallback: this.boundHandleClearInput, iconRightAccessibilityLabel: this.labels.clearButtonLabel, theme: this.theme, ref: (el) => (this.inputComponent = el), autocomplete: "off", "input-value": this.inputValue }, this.isLoading &&
|
|
211
|
+
h("tet-spinner", { key: '8e47e53d0a79d79d3d595d36336f1cbd4a10273e', theme: this.theme, class: "search-container__spinner", size: "small" }))), h("tet-button", { key: '84a123d25d4138bcc450a8c9b23dec8f07b08c9c', class: "search-container__button search-container__button--mobile", theme: this.theme, size: "small", "accessibility-label": this.labels.searchButtonLabel, iconName: "tc-arrow-right", iconMode: true, disabled: this.disabled, onClick: this.boundHandleSearchSubmit }), h("tet-button", { key: '1ea0d5ecbc0a25c46a791fd07ae5e23aa87e1ad4', class: "search-container__button search-container__button--desktop", theme: this.theme, size: "medium", disabled: this.disabled, onClick: this.boundHandleSearchSubmit }, this.labels.searchButtonLabel))));
|
|
212
212
|
}
|
|
213
213
|
static get is() { return "tet-support-search"; }
|
|
214
214
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,24 +99,24 @@ export class TetRadio {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const { id, disabled, value, checked, name, label, accessibilityLabel, error, inputAutofocus, iconName, labelFont, alignCenter, hasSlotIcon, unavailable, iconType } = this;
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'cc6a38f0ff6e6f621d84d7a0aa138f0247339d4c' }, h("div", { key: 'd20939f68533b48b2c31e4b0eb659525af9890c4', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '025bb3340129c1e98dccfa00ddfc27ea02781d8b', class: {
|
|
103
103
|
'radio__container': true,
|
|
104
104
|
'radio__container--focus-style': this.focusStyleOnContainer,
|
|
105
105
|
'radio__container--align-center': alignCenter,
|
|
106
|
-
}, htmlFor: id }, h("input", { key: '
|
|
106
|
+
}, htmlFor: id }, h("input", { key: 'cb922a4faa5020961c10e7779e1287cc35754d22', class: {
|
|
107
107
|
"radio__html-input": true,
|
|
108
108
|
'radio__html-input--unavailable': unavailable,
|
|
109
|
-
}, id: id, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: '
|
|
109
|
+
}, id: id, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: '5fae2a40c089d837b4a4d3fe3ad5bbaa6775bc8f', class: {
|
|
110
110
|
'radio__input-background': true,
|
|
111
111
|
'radio__input-background--has-label-prop': !!label,
|
|
112
112
|
...(labelFont ? { [`radio__input-background--${labelFont}`]: true } : {}),
|
|
113
|
-
} }), h("span", { key: '
|
|
113
|
+
} }), h("span", { key: '3e51966fd96918ccab87c5c4e1acf83924981af6', class: {
|
|
114
114
|
'radio__input': true,
|
|
115
115
|
'radio__input--error': error,
|
|
116
116
|
'radio__input--hide-focus-style': this.focusStyleOnContainer,
|
|
117
117
|
'radio__input--has-label-prop': !!label,
|
|
118
118
|
...(labelFont ? { [`radio__input--${labelFont}`]: true } : {}),
|
|
119
|
-
} }), h("div", { key: '
|
|
119
|
+
} }), h("div", { key: '36e5ff1a8ad69885c06fd5ec8b22f9473f09bb68', class: {
|
|
120
120
|
'radio__label-container': true,
|
|
121
121
|
'radio__label-container--line-height': hasSlotIcon || !!iconName,
|
|
122
122
|
} }, iconName ? (h("tet-icon", { theme: ['classic', 'light'].includes(this.theme) ? 'light' : 'dark', name: iconName, type: iconType, class: {
|
|
@@ -127,11 +127,11 @@ export class TetRadio {
|
|
|
127
127
|
'radio__label-slot-icon': true,
|
|
128
128
|
'radio__label-slot-icon--hidden': !hasSlotIcon,
|
|
129
129
|
...(labelFont ? { [`radio__label-slot-icon--${labelFont}`]: true } : {}),
|
|
130
|
-
} }, h("slot", { name: "label-icon" }))), h("span", { key: '
|
|
130
|
+
} }, h("slot", { name: "label-icon" }))), h("span", { key: 'afd33d235ce4da70ead28064c0050d87d4d5267e', class: {
|
|
131
131
|
'radio__label': true,
|
|
132
132
|
'radio__label--has-slot-icon': hasSlotIcon,
|
|
133
133
|
...(labelFont ? { [`radio__label--${labelFont}`]: true } : {}),
|
|
134
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
134
|
+
}, innerHTML: label }, h("slot", { key: '40bd8276842d053aa8fe15db8fc7fd8ae6ff37b4' })))))));
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "tet-radio"; }
|
|
137
137
|
static get encapsulation() { return "scoped"; }
|
|
@@ -54,7 +54,7 @@ export class TetRadioBlocks {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const { theme, blocks } = this;
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '9bb3fedf592bb7f6969cc8fbbdc2501bcee7d53c' }, h("div", { key: 'cfe058ce308279c6a6cac27afa86e443defb4adb', class: {
|
|
58
58
|
'radio-block__container': true,
|
|
59
59
|
[`radio-block-${theme}-theme`]: true,
|
|
60
60
|
[`row-of-${this.blocksPerRow}`]: !!this.blocksPerRow
|
|
@@ -46,16 +46,16 @@ export class TetSwitch {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const { label, name, theme, disabled, checked, accessibilityLabel, labelFont, alignCenter, labelPosition } = this;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '7a31117829112cff55129d5617bbafc2ca4721a4' }, h("div", { key: '898da66df6ea8ee8fe0c89ee452765802e78c57a', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '1b7faefa98214c87c46da85e026410c545af793a', class: {
|
|
50
50
|
'switch__container': true,
|
|
51
51
|
'switch__container--align-start': !alignCenter,
|
|
52
52
|
[`switch__container--${labelFont}`]: true,
|
|
53
53
|
'switch__container--focus-style': this.focusStyleOnContainer,
|
|
54
|
-
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '
|
|
54
|
+
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: 'a40a381b83d5670ece28fe35eb418f7cce475eca', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), labelPosition === 'right' && this.renderSwitch(), h("span", { key: '1d1c4e9007990cae7eed3b9c9b71e81e20b278e5', class: {
|
|
55
55
|
'switch__label': true,
|
|
56
56
|
...(labelPosition === 'left' ? { 'switch__label--left': true } : {}),
|
|
57
57
|
...(labelFont ? { [`switch__label--${labelFont}`]: true } : {}),
|
|
58
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
58
|
+
}, innerHTML: label }, h("slot", { key: '99f744ccdbc394e533b4c1c0797332a014c3bcaf' })), labelPosition === 'left' && this.renderSwitch()))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "tet-switch"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -161,11 +161,11 @@ export class TetTabContent {
|
|
|
161
161
|
this.selectedId = id;
|
|
162
162
|
}
|
|
163
163
|
render() {
|
|
164
|
-
return (h(Host, { key: '
|
|
164
|
+
return (h(Host, { key: 'fe2baea131bd3e55fba3005815dc03cd979f20a7' }, h("div", { key: '5599ab7347b9c62e8e3e29d8670a186e051b4b4d', class: {
|
|
165
165
|
'tet-tab-content': true,
|
|
166
166
|
'use-visibility': this.useVisibility,
|
|
167
167
|
[this.theme]: true
|
|
168
|
-
} }, h("slot", { key: '
|
|
168
|
+
} }, h("slot", { key: '3d94212149590d16fe83a0fc594ea9aa8500bcc2' }))));
|
|
169
169
|
}
|
|
170
170
|
static get is() { return "tet-tab-content"; }
|
|
171
171
|
static get encapsulation() { return "shadow"; }
|
|
@@ -622,7 +622,7 @@ export class TetTabHeader {
|
|
|
622
622
|
}
|
|
623
623
|
render() {
|
|
624
624
|
const shouldRenderOverflowGradients = this.showOverflowGradients;
|
|
625
|
-
return (h(Host, { key: '
|
|
625
|
+
return (h(Host, { key: 'd738348ceda38cea0637a5a9d070cc02299d74ac', "data-id-suffix": this.idSuffix }, h("div", { key: '5dbec586ef2dc5ca02a50e7fc9a3fb6b1c40d718', class: {
|
|
626
626
|
'tabs': true,
|
|
627
627
|
'tabs--segmented': this.segmented,
|
|
628
628
|
'tabs--overflow-left': this.hasOverflowLeft,
|
|
@@ -631,7 +631,7 @@ export class TetTabHeader {
|
|
|
631
631
|
[this.theme]: true,
|
|
632
632
|
[this.sizing]: true,
|
|
633
633
|
[this.type]: !!this.type
|
|
634
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, shouldRenderOverflowGradients && h("div", { key: '
|
|
634
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, shouldRenderOverflowGradients && h("div", { key: '351a5e0b90dc55cfe78d3a9d6190174a475fb9c5', class: "tabs-gradient tabs-gradient-left", "aria-hidden": "true" }), h("slot", { key: 'd435a1171b3686b3e89f474e17d7c4347653a41d', onSlotchange: () => this.updatePositionClass(), ref: (slot) => (this.tabContainer = slot) }), shouldRenderOverflowGradients && h("div", { key: 'bbc30244bd24a81ddcc305b03b319eb75422d6da', class: "tabs-gradient tabs-gradient-right", "aria-hidden": "true" })), h("div", { key: '3353d81d38b63c218b088f5eeef60b6da86beec3', class: {
|
|
635
635
|
'tabs-line': !this.segmented,
|
|
636
636
|
'no-underline': this.hideHeaderUnderline || this.isScrollableType,
|
|
637
637
|
[this.theme]: true
|
|
@@ -20,12 +20,12 @@ export class TetTag {
|
|
|
20
20
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: 'b9efc4b31a46da0a2dab1157e794df89be922de0' }, h("button", { key: 'df0dc8ca80d130af0ef62c314f4405814e885362', class: {
|
|
24
24
|
tag: true,
|
|
25
25
|
'tag-active': this.active,
|
|
26
26
|
'tag--icon': this.showIcon,
|
|
27
27
|
[`theme-${this.theme}`]: true,
|
|
28
|
-
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '
|
|
28
|
+
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '658ddd41fd31faa7e7b091714d6660afddfeed1b', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'b44abf5fb9c1426098ecfd382b7a64ecd78eda38', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '65f0d865ecb21c939f66317771551488b5bd4ca2', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "tet-tag"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -934,22 +934,22 @@ export class TetCarousel {
|
|
|
934
934
|
trackTransition = 'none';
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
|
-
return (h(Host, { key: '
|
|
937
|
+
return (h(Host, { key: 'f607ba5117a17732869d23ccf22231ccd1f1998b' }, h("div", { key: '4e280a5c39949520cdb0ae153545885d0643b46c', class: { 'tet-carousel': true, [`${this.theme}`]: true, 'tet-carousel--unified-buttons': this.unifiedButtons }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: 'b9ae432da599cb72b46a50f0a7d570fb1e7d531d', class: "tet-carousel__container" }, h("div", { key: '971c588b65a2030a3305bdb8af808ab90a578339', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
938
938
|
this.leftGradientRef = el;
|
|
939
|
-
} }), h("div", { key: '
|
|
939
|
+
} }), h("div", { key: 'c4d0e72a2caf44c326878e6404b896b4abd7cdae', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
940
940
|
this.rightGradientRef = el;
|
|
941
|
-
} }), h("div", { key: '
|
|
941
|
+
} }), h("div", { key: '859f2d2e388a5765114f871ff52c978a9eb6110b', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
|
|
942
942
|
transform: `translate3d(${this.dragOffset}px, 0, 0)`,
|
|
943
943
|
transition: trackTransition,
|
|
944
944
|
willChange: 'transform'
|
|
945
|
-
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '
|
|
945
|
+
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '86ae2b3ce9614abb97884b43927d9d003b3052a3', class: {
|
|
946
946
|
'tet-carousel__track-content': true,
|
|
947
947
|
'tet-carousel__track-content--nudge': this.isNudgeAnimating
|
|
948
948
|
}, ref: (el) => (this.trackContentElement = el), style: {
|
|
949
949
|
'--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
|
|
950
|
-
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '
|
|
950
|
+
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '43c014dbc3579e333f70dc5551c8b4397e37b2a7' })))), !!this.label && h("div", { key: '111d8ce1e3370a67a2caf2db08f0f905a7858605', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: '922ffc32a7682f25e0e5d1f6962ba339ba647565', class: "tet-carousel__controls" }, showButtons && (h("div", { key: 'dfeebfaca79c5a2bd0b44e47539d4b27f2d431f1', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: '1bd3959425d80bb335648c706357c84881376294', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }))), showDots && (h("div", { key: 'e529840c10048982cdf62c158c3b6c0f1d79bd03', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: idx === this.activeDotIndex ? 0 : -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, "aria-label": `${idx === this.activeDotIndex
|
|
951
951
|
? t('components-carousel-indicator-button-active')
|
|
952
|
-
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: '
|
|
952
|
+
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: 'ea277ef2e29151e285d38f8e29e9010dec515c99', class: "tet-carousel__buttons" }, h("tet-button", { key: 'a8b437f424e78c060baafba6384054c7a85cf265', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }), h("tet-button", { key: '71bc427e5d4d11a314675e90854ff153745abf50', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handleNext(), accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
|
|
953
953
|
}
|
|
954
954
|
static get is() { return "tet-carousel"; }
|
|
955
955
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,12 +1,48 @@
|
|
|
1
|
+
/* Icons with separate SVG assets to support switching icons when the theme changes. */
|
|
2
|
+
const themedDefaultColorIcons = [
|
|
3
|
+
{
|
|
4
|
+
name: 'tc-go3-films',
|
|
5
|
+
light: 'tc-go3-films-light',
|
|
6
|
+
dark: 'tc-go3-films-dark',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
name: 'tc-go3-sport',
|
|
10
|
+
light: 'tc-go3-sport-light',
|
|
11
|
+
dark: 'tc-go3-sport-dark',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'tc-go3',
|
|
15
|
+
light: 'tc-go3-light',
|
|
16
|
+
dark: 'tc-go3-dark',
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
const themedIconsByName = new Map(themedDefaultColorIcons.flatMap((icon) => [
|
|
20
|
+
[icon.name, icon],
|
|
21
|
+
[icon.light, icon],
|
|
22
|
+
[icon.dark, icon],
|
|
23
|
+
]));
|
|
1
24
|
/* Icons in this list use their own colors defined in the SVG file and
|
|
2
|
-
cannot be
|
|
25
|
+
cannot be colored via the icon type prop. */
|
|
3
26
|
export const defaultColorIcons = [
|
|
4
|
-
|
|
5
|
-
'tc-go3-films-light',
|
|
6
|
-
'tc-go3-sport-dark',
|
|
7
|
-
'tc-go3-sport-light',
|
|
27
|
+
...themedDefaultColorIcons.flatMap(({ light, dark }) => [light, dark]),
|
|
8
28
|
'tc-netflix',
|
|
9
29
|
'tc-popcorn',
|
|
10
|
-
'tc-go3-light',
|
|
11
|
-
'tc-go3-dark',
|
|
12
30
|
];
|
|
31
|
+
export const getThemedDefaultColorIconNames = (name) => {
|
|
32
|
+
const icon = themedIconsByName.get(name);
|
|
33
|
+
return icon ? [icon.light, icon.dark] : [];
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Resolves a themed default-color icon to its corresponding SVG asset.
|
|
37
|
+
* Classic keeps explicit light/dark icon names unchanged for backwards compatibility.
|
|
38
|
+
*/
|
|
39
|
+
export const resolveDefaultColorIconName = (name, theme) => {
|
|
40
|
+
const icon = themedIconsByName.get(name);
|
|
41
|
+
if (!icon) {
|
|
42
|
+
return name;
|
|
43
|
+
}
|
|
44
|
+
if (theme === 'classic') {
|
|
45
|
+
return name === icon.name ? icon.light : name;
|
|
46
|
+
}
|
|
47
|
+
return icon[theme];
|
|
48
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAssetPath, h } from "@stencil/core";
|
|
2
2
|
import { iconStore } from "./icon-cache.store";
|
|
3
|
-
import { defaultColorIcons } from "./default-color-icons";
|
|
3
|
+
import { defaultColorIcons, getThemedDefaultColorIconNames, resolveDefaultColorIconName, } from "./default-color-icons";
|
|
4
4
|
/**
|
|
5
5
|
* A component that renders an icon.
|
|
6
6
|
*/
|
|
@@ -14,21 +14,34 @@ export class TetIcon {
|
|
|
14
14
|
this.focusable = false;
|
|
15
15
|
}
|
|
16
16
|
iconContainer;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
iconRequestId = 0;
|
|
18
|
+
/** Watcher that detects an icon source prop change and initiates the icon change. */
|
|
19
|
+
onIconSourceChange() {
|
|
20
|
+
this.setIcon();
|
|
20
21
|
}
|
|
21
22
|
componentDidLoad() {
|
|
22
|
-
this.setIcon(
|
|
23
|
+
this.setIcon();
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* Loads the passed icon asynchronously and sets the component's inner HTML to acquired result.
|
|
26
27
|
*
|
|
27
|
-
* @param name The name of the icon to load.
|
|
28
28
|
*/
|
|
29
|
-
setIcon(
|
|
30
|
-
this.
|
|
31
|
-
|
|
29
|
+
setIcon() {
|
|
30
|
+
const requestId = ++this.iconRequestId;
|
|
31
|
+
const iconName = resolveDefaultColorIconName(this.name, this.theme);
|
|
32
|
+
const icon = this.getIcon(iconName);
|
|
33
|
+
this.preloadThemedIconVariants(iconName);
|
|
34
|
+
icon.then((svgHtml) => {
|
|
35
|
+
if (requestId === this.iconRequestId && svgHtml) {
|
|
36
|
+
this.iconContainer.innerHTML = svgHtml;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
preloadThemedIconVariants(currentIconName) {
|
|
41
|
+
getThemedDefaultColorIconNames(this.name)
|
|
42
|
+
.filter((iconName) => iconName !== currentIconName)
|
|
43
|
+
.forEach((iconName) => {
|
|
44
|
+
void this.getIcon(iconName).catch(() => undefined);
|
|
32
45
|
});
|
|
33
46
|
}
|
|
34
47
|
getIconMap = () => {
|
|
@@ -48,9 +61,13 @@ export class TetIcon {
|
|
|
48
61
|
}
|
|
49
62
|
return iconStore.icons[name];
|
|
50
63
|
};
|
|
51
|
-
shouldUseDefaultColor
|
|
64
|
+
shouldUseDefaultColor() {
|
|
65
|
+
const iconName = resolveDefaultColorIconName(this.name, this.theme);
|
|
66
|
+
return this.useDefaultColor || defaultColorIcons.includes(iconName);
|
|
67
|
+
}
|
|
68
|
+
;
|
|
52
69
|
render() {
|
|
53
|
-
return (h("span", { key: '
|
|
70
|
+
return (h("span", { key: '1285b963444d429c7d447a71e5e567133b78ff89', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: 'bd0339179af2fcbf9688f2f92b752f662316ec6e', class: {
|
|
54
71
|
'icon-container': true,
|
|
55
72
|
'default-color': this.shouldUseDefaultColor(),
|
|
56
73
|
[this.theme]: true,
|
|
@@ -96,9 +113,15 @@ export class TetIcon {
|
|
|
96
113
|
"type": "string",
|
|
97
114
|
"mutable": false,
|
|
98
115
|
"complexType": {
|
|
99
|
-
"original": "
|
|
116
|
+
"original": "IconTheme",
|
|
100
117
|
"resolved": "\"classic\" | \"dark\" | \"light\"",
|
|
101
|
-
"references": {
|
|
118
|
+
"references": {
|
|
119
|
+
"IconTheme": {
|
|
120
|
+
"location": "local",
|
|
121
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/basic/icon/tet-icon.tsx",
|
|
122
|
+
"id": "src/components/basic/icon/tet-icon.tsx::IconTheme"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
102
125
|
},
|
|
103
126
|
"required": false,
|
|
104
127
|
"optional": false,
|
|
@@ -187,7 +210,10 @@ export class TetIcon {
|
|
|
187
210
|
static get watchers() {
|
|
188
211
|
return [{
|
|
189
212
|
"propName": "name",
|
|
190
|
-
"methodName": "
|
|
213
|
+
"methodName": "onIconSourceChange"
|
|
214
|
+
}, {
|
|
215
|
+
"propName": "theme",
|
|
216
|
+
"methodName": "onIconSourceChange"
|
|
191
217
|
}];
|
|
192
218
|
}
|
|
193
219
|
}
|
|
@@ -73,7 +73,7 @@ export class TetRoundStepper {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '3dd00b8455492d9ee833eec87b0eb6137be01c8e' }, h("div", { key: 'f3579c1947f9e79bd9f34272de05c068d9aa078a', class: {
|
|
77
77
|
'round-stepper': true,
|
|
78
78
|
'with-background-gradient': this.layout === 'withBackgroundGradient',
|
|
79
79
|
'column': this.forcedColumn,
|
|
@@ -75,7 +75,7 @@ export class TetStepper {
|
|
|
75
75
|
return this.stepperData.length - 1 > index ? h("li", { class: lineClasses }) : null;
|
|
76
76
|
};
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: 'b8f41b440fc5da27179ae6c0c1900fc9e3694c3a' }, h("ol", { key: '4c1897d3c3f3fe946a66ed10950bd534b0491656', class: "stepper" }, this.stepperData.map(this.renderStep))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "tet-stepper"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class TetStepperV2 {
|
|
|
35
35
|
return isLastStep ? h("div", { class: { 'stepper-line': true, active } }) : null;
|
|
36
36
|
};
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '1360f373a96321baac4c744c06278efee959b419' }, h("ol", { key: 'fdfac2b6087e3f5c16921a428f659e2d920cdb65', class: {
|
|
39
39
|
'stepper': true,
|
|
40
40
|
[this.theme]: true,
|
|
41
41
|
} }, this.stepperData.map(this.renderStep.bind(this)))));
|
|
@@ -27,7 +27,7 @@ export class TetStepperV3 {
|
|
|
27
27
|
return description ? h("div", { class: "content-description", innerHTML: description }) : null;
|
|
28
28
|
};
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '09cd03470c914c66a43cb686e7ec3ad3ca2d55f0' }, h("ol", { key: '351cc88af0e61f486fa63d99590b74ada91eebc0', class: {
|
|
31
31
|
stepper: true,
|
|
32
32
|
[this.theme]: true
|
|
33
33
|
} }, this.stepperData.map(this.renderStep.bind(this)))));
|
|
@@ -271,8 +271,8 @@ export class TetInput {
|
|
|
271
271
|
*/
|
|
272
272
|
render() {
|
|
273
273
|
const { label, helperText, value, disabled, error, completed, isOpen, suffix } = this;
|
|
274
|
-
return (h("div", { key: '
|
|
275
|
-
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '
|
|
274
|
+
return (h("div", { key: 'f753cc779ea9081d980c8efe566259eb660a8cea', class: { 'number-input': true, [this.theme]: !!this.theme,
|
|
275
|
+
'disabled': disabled, 'error': error, 'completed': completed } }, !!label && (h("label", { key: '4b16ebb17632a28590c46e40440e0953a715ac0b', class: "number-input__label", htmlFor: "number-input" }, label)), h("div", { key: 'ac09c8e38c9901a05eaa43f57e1ae08869c995a6', class: "number-input__input-container", onKeyDown: this.handleContainerKeydown, ref: (divElement) => (this.inputWrapperElement = divElement) }, h("input", { key: '021e3a9d2dfef1a06e2bd189c252f38da4e55148', onFocusin: () => this.toggleKeyboardFocus(true), onFocusout: () => this.toggleKeyboardFocus(false), ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: { 'number-input__input': true, 'number-input__input--hidden': this.isValueHidden }, disabled: disabled, value: value, type: "number", id: "number-input", ...(this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}) }), h("div", { key: 'd3661a48b131f2477c9907a724f8b41549cb30f4', ref: (htmlInputElement) => (this.inputElementHidden = htmlInputElement), class: "number-input__input-invisible" }, value), !!suffix && h("div", { key: '55a0222685d07aee65b3c753ad998fcd4dfbbdaf', class: "number-input__input-suffix" }, suffix.name), !!this.suffixes && this.suffixes.length > 1 && (h("tet-button", { key: '01e5fe8f9a38a6d61931bfa9c0f55f35dbdb4d3b', type: "ghost", size: "small", ref: (element) => (this.chevronElement = element), class: { 'number-input__cheveron': true }, onClick: this.onChevronClick, "accessibility-label": this.buttonAccessibilityLabel, tabindex: "-1" }, !isOpen && h("tet-icon", { key: '905e5a183daf1ff77c8826d56f3c765364c70922', name: "chevron-down" }), isOpen && h("tet-icon", { key: 'eaf480eb9210ebcd9fc979ac32f497c170c2e9f9', name: "chevron-up" }))), isOpen && (h("div", { key: '2c3a4da23ef6314b2cc0057d87301ea35191175c', class: "number-input__dropdown", ref: (htmlDivElement) => (this.dropdownElement = htmlDivElement) }, this.renderDropdownContent()))), !!helperText && h("div", { key: '674a7ca4ab2bcefb8e2ef47dc9c296615d926b31', class: "number-input__helper-text" }, helperText)));
|
|
276
276
|
}
|
|
277
277
|
static get is() { return "tet-number-input"; }
|
|
278
278
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class TetLinkCardList {
|
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
63
|
const { theme, layout, items } = this;
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: 'a64792db4eeec8f40bbc0826dfa742f8d3c36cae' }, h("ul", { key: '8dfb9b4bdb8987ffb8337d0078e3d62a1d2bd99e', class: `link-card-list link-card-list--${theme} link-card-list--${layout}` }, items?.length
|
|
65
65
|
? items.map(this.renderListItem.bind(this))
|
|
66
66
|
: this.renderPlaceholders())));
|
|
67
67
|
}
|
|
@@ -515,7 +515,7 @@ export class TetMenu {
|
|
|
515
515
|
}
|
|
516
516
|
render() {
|
|
517
517
|
const { type } = this;
|
|
518
|
-
return (h(Host, { key: '
|
|
518
|
+
return (h(Host, { key: 'f9c2b215eb78f136c446617dcb90ae6919646a55' }, h("div", { key: '1d4c050680582b4b61259a666121dbd4def3cb05', class: {
|
|
519
519
|
menu: true,
|
|
520
520
|
menu__main: type === 'main',
|
|
521
521
|
menu__language: type === 'language',
|
|
@@ -178,7 +178,7 @@ export class TetMenuMobile {
|
|
|
178
178
|
return (h("tet-icon", { class: "menu__chevron", name: this.subMenuState.includes(key) ? "chevron-up" : "chevron-down", theme: this.darkMode ? "dark" : "light", type: useSecondaryType ? "secondary" : "primary" }));
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: 'eaa3ef2ea5fbfa90304c29197051fea1e8002fa6' }, h("div", { key: '70aed251f8f506a29e521068083f0078e1626d11', class: {
|
|
182
182
|
'menu': true,
|
|
183
183
|
'menu--expanded': this.isExpanded,
|
|
184
184
|
'menu--active': this.isActive,
|