@tet/tet-components 1.4.147-testing → 1.4.148-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 +2 -2
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +11 -11
- package/dist/cjs/tet-assembler.cjs.entry.js +5 -5
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +16 -16
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +4 -4
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-button.cjs.entry.js +3 -3
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +10 -10
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +5 -5
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +2 -2
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +5 -5
- 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 +4 -4
- package/dist/cjs/tet-expandable-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
- package/dist/cjs/tet-filter.cjs.entry.js +3 -3
- package/dist/cjs/tet-floating-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +3 -3
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu.cjs.entry.js +2 -2
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +2 -2
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +6 -6
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card.cjs.entry.js +65 -4
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-paginator.cjs.entry.js +4 -4
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio_2.cjs.entry.js +10 -10
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card.cjs.entry.js +5 -5
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +2 -2
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-switch.cjs.entry.js +4 -4
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +27 -8
- 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 +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers/tet-address-offers.js +1 -1
- 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-offers-filters-products/tet-address-offers-filters-products.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/tet-autocomplete.js +2 -2
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.js +2 -2
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js +6 -6
- package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +1 -1
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +3 -3
- package/dist/collection/components/advanced/cards/tet-mini-compare-card/tet-mini-compare-card.js +1 -1
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.css +10 -5
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +107 -3
- 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-asset-availability-addresses/tet-asset-availability-addresses.js +1 -1
- 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-feedback-form/tet-feedback-form.js +1 -1
- package/dist/collection/components/advanced/search/tet-support-search/tet-support-search.js +3 -3
- package/dist/collection/components/basic/buttons/tet-button/tet-button.css +1 -1
- package/dist/collection/components/basic/buttons/tet-button/tet-button.js +1 -1
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +7 -7
- 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.css +7 -6
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag-group/tet-tag-group.css +93 -0
- package/dist/collection/components/basic/buttons/tet-tag-group/tet-tag-group.js +80 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
- package/dist/collection/components/basic/container/tet-container/tet-container.js +2 -2
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
- package/dist/collection/components/basic/misc/tet-counter/tet-counter.js +1 -1
- package/dist/collection/components/basic/steppers/tet-business-round-stepper/tet-business-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
- package/dist/collection/components/simple/filter/tet-filter/tet-filter.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.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/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/lists/tet-selection-list/tet-selection-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.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/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +1 -1
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/structural/tet-floating-block/tet-floating-block.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-bar-graph/tet-bar-graph.js +3 -3
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.js +2 -2
- package/dist/collection/components/views/tet-b2b-configurator/tet-b2b-configurator.js +1 -1
- package/dist/collection/components/views/tet-price-view/tet-price-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CB1m5Ebj.js → p--oNUVPhE.js} +1 -1
- package/dist/components/{p-C31HYpo5.js → p-4Ucu3g0C.js} +1 -1
- package/dist/components/{p-DFHgDjnN.js → p-B2LOw9U1.js} +1 -1
- package/dist/components/{p-DwPzW_m-.js → p-B3AKEjT3.js} +1 -1
- package/dist/components/{p-DPdP5QhI.js → p-B4JYI6Da.js} +1 -1
- package/dist/components/{p-Dv-K1v7S.js → p-BQr7oJlo.js} +1 -1
- package/dist/components/{p-KagFBuv9.js → p-BSySZotX.js} +1 -1
- package/dist/components/{p-BY4VWk_A.js → p-BcXV5sQw.js} +1 -1
- package/dist/components/{p-By8M4pFQ.js → p-BcYT5W0z.js} +1 -1
- package/dist/components/{p-PSR1xW7v.js → p-BfZ1ZZj-.js} +1 -1
- package/dist/components/{p-DMCkEiqA.js → p-BpLcsV2G.js} +1 -1
- package/dist/components/{p-CbQZIRAD.js → p-C454nOI2.js} +1 -1
- package/dist/components/{p-DmcwSMKT.js → p-CE7FqWIM.js} +1 -1
- package/dist/components/{p-CvEtynfp.js → p-CEYVXw4e.js} +1 -1
- package/dist/components/p-CHcqkxJU.js +1 -0
- package/dist/components/{p-BjXnxWQk.js → p-CHlBG23-.js} +1 -1
- package/dist/components/{p-BbBdkh-D.js → p-CNKJVbUM.js} +1 -1
- package/dist/components/{p-CH-xdXgt.js → p-CP7MSCkE.js} +1 -1
- package/dist/components/{p-iHKXtjot.js → p-CRZv6j3q.js} +1 -1
- package/dist/components/{p-o_Cndv_i.js → p-CUH6nkd0.js} +1 -1
- package/dist/components/{p-BE5oKUK2.js → p-CUh5CugC.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
- package/dist/components/{p-JZAHJ9gF.js → p-CaHY4mtM.js} +1 -1
- package/dist/components/{p-Davu0rDl.js → p-CacSARKA.js} +1 -1
- package/dist/components/{p-BrKbily6.js → p-CcHWhQDQ.js} +1 -1
- package/dist/components/{p-q5iBnsrT.js → p-Cd3Z_t0V.js} +1 -1
- package/dist/components/{p-B8EFThRR.js → p-ClGG1pz8.js} +1 -1
- package/dist/components/{p-D0AbpZgI.js → p-CmVD5led.js} +1 -1
- package/dist/components/{p-4YOaRXva.js → p-CtmqySxU.js} +1 -1
- package/dist/components/{p-ButNvAJi.js → p-Cum9fClO.js} +1 -1
- package/dist/components/{p-COq83XRF.js → p-D1EcTfyQ.js} +1 -1
- package/dist/components/{p-DxAY-rJv.js → p-D6H-KF7Z.js} +1 -1
- package/dist/components/{p-3RQUdjaQ.js → p-DA3S_mkH.js} +1 -1
- package/dist/components/{p-D2tHcEOV.js → p-DAobsjqJ.js} +1 -1
- package/dist/{tet-components/p-8eed24d3.entry.js → components/p-DDd2g7kx.js} +1 -1
- package/dist/components/{p-D2_9OESM.js → p-DIZ1sqcq.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/{p-BgBzyAKE.js → p-DJCg82sx.js} +1 -1
- package/dist/components/{p-2LJ-K9Ib.js → p-DMpg_LPb.js} +1 -1
- package/dist/components/{p-CQgfsvLI.js → p-DQGFuy6Q.js} +1 -1
- package/dist/components/{p-CZJ6tlb7.js → p-DQQL2xNs.js} +1 -1
- package/dist/components/{p-EUz3vQxl.js → p-DTp3hskI.js} +1 -1
- package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
- package/dist/components/{p-CxsYILUV.js → p-DZfyLZam.js} +1 -1
- package/dist/components/{p-CGlmweAm.js → p-Dcd_eoCQ.js} +1 -1
- package/dist/components/{p-zlTCVETS.js → p-DwORkzrS.js} +1 -1
- package/dist/components/{p-D2T_SK5_.js → p-Kwq6MnqR.js} +1 -1
- package/dist/components/{p-BlGdGOSN.js → p-NcCsJO5d.js} +1 -1
- package/dist/components/{p-of8Eb9zl.js → p-T3h_f03k.js} +1 -1
- package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
- package/dist/components/{p-DLnmlQXs.js → p-vj6Nk2Ur.js} +1 -1
- package/dist/components/{p-Bz4RotUp.js → p-zciSG6rO.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 +3 -3
- package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-CBuVYKp-.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_5.entry.js +11 -11
- package/dist/esm/tet-assembler.entry.js +5 -5
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +4 -4
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +16 -16
- package/dist/esm/tet-b2b-configurator.entry.js +5 -5
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +4 -4
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +3 -3
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-round-stepper.entry.js +2 -2
- package/dist/esm/tet-button.entry.js +3 -3
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +9 -9
- package/dist/esm/tet-checkbox_3.entry.js +10 -10
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +5 -5
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +4 -4
- package/dist/esm/tet-compare-card-v3.entry.js +4 -4
- package/dist/esm/tet-compare-cards-tab.entry.js +4 -4
- package/dist/esm/tet-compare-cards_2.entry.js +6 -6
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +4 -4
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +2 -2
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/tet-expandable-input.entry.js +3 -3
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +4 -4
- package/dist/esm/tet-filter.entry.js +3 -3
- package/dist/esm/tet-floating-block.entry.js +2 -2
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +3 -3
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-menu-mobile.entry.js +2 -2
- package/dist/esm/tet-menu.entry.js +2 -2
- package/dist/esm/tet-mini-compare-card.entry.js +2 -2
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +6 -6
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-news-card.entry.js +65 -4
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +3 -3
- package/dist/esm/tet-paginator.entry.js +4 -4
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +2 -2
- package/dist/esm/tet-radio-blocks.entry.js +2 -2
- package/dist/esm/tet-radio_2.entry.js +10 -10
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-snicker-card-group.entry.js +2 -2
- package/dist/esm/tet-snicker-card.entry.js +5 -5
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +2 -2
- package/dist/esm/tet-sticky-offer.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +4 -4
- package/dist/esm/tet-switch.entry.js +4 -4
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +27 -8
- 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 +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
- package/dist/esm/{translations-Dc2OQnbI.js → translations-BxuQY6H_.js} +1 -1
- package/dist/tet-components/{p-7f542b9e.entry.js → p-0821f339.entry.js} +1 -1
- package/dist/tet-components/{p-a74562c2.entry.js → p-11bb38bc.entry.js} +1 -1
- package/dist/tet-components/{p-6d38bd8e.entry.js → p-132da9f3.entry.js} +1 -1
- package/dist/tet-components/{p-b9246ea8.entry.js → p-14fa05f5.entry.js} +1 -1
- package/dist/tet-components/{p-a3845326.entry.js → p-15df2f2b.entry.js} +1 -1
- package/dist/tet-components/{p-3996e0b7.entry.js → p-1a24d6bb.entry.js} +1 -1
- package/dist/tet-components/{p-d7984c5e.entry.js → p-1bb794e8.entry.js} +1 -1
- package/dist/tet-components/{p-915b2507.entry.js → p-1c58ffe4.entry.js} +1 -1
- package/dist/tet-components/{p-2977b126.entry.js → p-1dc250ec.entry.js} +1 -1
- package/dist/tet-components/{p-b47087ed.entry.js → p-1dfbd098.entry.js} +1 -1
- package/dist/tet-components/{p-085ec974.entry.js → p-2538d199.entry.js} +1 -1
- package/dist/tet-components/{p-7bccaeee.entry.js → p-2a96f73a.entry.js} +1 -1
- package/dist/tet-components/{p-02b0f976.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-b7263345.entry.js → p-376e55d2.entry.js} +1 -1
- package/dist/tet-components/{p-2776efa6.entry.js → p-38192518.entry.js} +1 -1
- package/dist/tet-components/{p-b4f3985e.entry.js → p-3b186178.entry.js} +1 -1
- package/dist/tet-components/{p-20f6ad3e.entry.js → p-3bbf937c.entry.js} +1 -1
- package/dist/tet-components/{p-6eb089d0.entry.js → p-3c232c0d.entry.js} +1 -1
- package/dist/tet-components/{p-1acca6d9.entry.js → p-3c489f4d.entry.js} +1 -1
- package/dist/tet-components/{p-28537257.entry.js → p-4187e993.entry.js} +1 -1
- package/dist/tet-components/{p-72da2061.entry.js → p-425c5f1c.entry.js} +1 -1
- package/dist/tet-components/{p-33ebd5e8.entry.js → p-43bd87cf.entry.js} +1 -1
- package/dist/tet-components/{p-83be5dad.entry.js → p-4a6bf53c.entry.js} +1 -1
- package/dist/tet-components/{p-c541b10f.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-c9f14568.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-e0220102.entry.js → p-5317947b.entry.js} +1 -1
- package/dist/tet-components/{p-acd84450.entry.js → p-57d267fa.entry.js} +1 -1
- package/dist/tet-components/{p-a3ae72e2.entry.js → p-59a4500c.entry.js} +1 -1
- package/dist/tet-components/{p-1be85243.entry.js → p-5d2b1316.entry.js} +1 -1
- package/dist/tet-components/{p-8ecbef90.entry.js → p-61a9bc72.entry.js} +1 -1
- package/dist/tet-components/{p-b86022d7.entry.js → p-64b9b07d.entry.js} +1 -1
- package/dist/tet-components/{p-d2bb410e.entry.js → p-6ca9f8e7.entry.js} +1 -1
- package/dist/tet-components/{p-37c83d33.entry.js → p-6fd37205.entry.js} +1 -1
- package/dist/tet-components/{p-e564d494.entry.js → p-70af2afa.entry.js} +1 -1
- package/dist/tet-components/p-71f9504c.entry.js +1 -0
- package/dist/tet-components/{p-a39e355c.entry.js → p-73f3d6e1.entry.js} +1 -1
- package/dist/tet-components/{p-5e458bfa.entry.js → p-77ef94a7.entry.js} +1 -1
- package/dist/tet-components/{p-597ccbc1.entry.js → p-78fe0d42.entry.js} +1 -1
- package/dist/tet-components/{p-973193d0.entry.js → p-7c4ef1a9.entry.js} +1 -1
- package/dist/tet-components/{p-93a2f061.entry.js → p-7fac3d04.entry.js} +1 -1
- package/dist/tet-components/{p-67bb4d53.entry.js → p-82d5f453.entry.js} +1 -1
- package/dist/tet-components/{p-16f02936.entry.js → p-8903db67.entry.js} +1 -1
- package/dist/tet-components/{p-ad20fa10.entry.js → p-94c9fce7.entry.js} +1 -1
- package/dist/tet-components/{p-40247469.entry.js → p-96f0eff9.entry.js} +1 -1
- package/dist/tet-components/{p-19525e17.entry.js → p-9988e041.entry.js} +1 -1
- package/dist/tet-components/{p-9ef7101c.entry.js → p-9af88202.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-1be8a5bc.entry.js → p-a178ca0d.entry.js} +1 -1
- package/dist/tet-components/p-a5e44414.entry.js +1 -0
- package/dist/tet-components/{p-c9bb560d.entry.js → p-a7d8477f.entry.js} +1 -1
- package/dist/tet-components/{p-6c28d6ac.entry.js → p-a9d5bc77.entry.js} +1 -1
- package/dist/tet-components/{p-7c80bb38.entry.js → p-b1ad17b9.entry.js} +1 -1
- package/dist/tet-components/{p-cfdad238.entry.js → p-b2c85619.entry.js} +1 -1
- package/dist/tet-components/{p-06d237de.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-0ced71dc.entry.js → p-b98a8b9e.entry.js} +1 -1
- package/dist/tet-components/{p-a88df5df.entry.js → p-bd5b5ee8.entry.js} +1 -1
- package/dist/tet-components/p-c3455ad8.entry.js +1 -0
- package/dist/tet-components/{p-fd0b95aa.entry.js → p-c6419606.entry.js} +1 -1
- package/dist/tet-components/{p-cdb8c877.entry.js → p-c7473b74.entry.js} +1 -1
- package/dist/tet-components/{p-499bf719.entry.js → p-cad7f27d.entry.js} +1 -1
- package/dist/tet-components/p-cafa7f45.entry.js +1 -0
- package/dist/tet-components/{p-cd7efc99.entry.js → p-d2179734.entry.js} +1 -1
- package/dist/tet-components/{p-c9e434c1.entry.js → p-d64c6445.entry.js} +1 -1
- package/dist/tet-components/{p-4215dec8.entry.js → p-d9b9bae7.entry.js} +1 -1
- package/dist/tet-components/{p-01336e7a.entry.js → p-dfe40a38.entry.js} +1 -1
- package/dist/tet-components/{p-825fea89.entry.js → p-e0aacafc.entry.js} +1 -1
- package/dist/tet-components/{p-9a3da4c6.entry.js → p-e362d48f.entry.js} +1 -1
- package/dist/tet-components/{p-5785e646.entry.js → p-e4cc950c.entry.js} +1 -1
- package/dist/tet-components/{p-df68eb4e.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-3ce7cda9.entry.js → p-ef27c46b.entry.js} +1 -1
- package/dist/tet-components/{p-f21e5e14.entry.js → p-f0a12cbd.entry.js} +1 -1
- package/dist/tet-components/{p-f8c3e566.entry.js → p-f3baa590.entry.js} +1 -1
- package/dist/tet-components/{p-7578b668.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-f78dd5fe.entry.js +1 -0
- package/dist/tet-components/p-f7b720ca.entry.js +1 -0
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-news-card/tet-news-card.d.ts +12 -0
- package/dist/types/components/basic/buttons/tet-tag-group/tet-tag-group.d.ts +9 -0
- package/dist/types/components.d.ts +63 -0
- package/package.json +1 -1
- package/dist/components/p-DA1ugqxb.js +0 -1
- package/dist/components/p-DSiKytlO.js +0 -1
- package/dist/tet-components/p-17e4fa12.entry.js +0 -1
- package/dist/tet-components/p-8ba1c2bf.entry.js +0 -1
- package/dist/tet-components/p-BzLFf73g.js +0 -1
- package/dist/tet-components/p-C1XJmhDH.js +0 -1
- package/dist/tet-components/p-b56d2a8b.entry.js +0 -1
- package/dist/tet-components/p-d260427a.entry.js +0 -1
- package/dist/tet-components/p-fc52e75a.entry.js +0 -1
|
@@ -144,7 +144,7 @@ export class TetAvailabilityContactForm {
|
|
|
144
144
|
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')))))));
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h("div", { key: '
|
|
147
|
+
return (h("div", { key: '7869d7307048eadcf6b7adabef418ac1becfc63c', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
148
148
|
}
|
|
149
149
|
static get is() { return "tet-availability-contact-form"; }
|
|
150
150
|
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: '94e88482306312d72d60d1ec675983adfe941351', 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: '458e4af6d6486afced1aa787a50b86c1b2dde518', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: 'c60382d0554ab3655007175208d784239d3a73d1', class: "modal-form-card-content-header" }, h("div", { key: '63b9b341c426d6283f28e41f0070f46fef971410', class: "icon-wrapper" }, h("tet-icon", { key: '90fe1eae5df48eaa2c44b26287108a520795d6d4', class: "icon", name: "tc-company-1" })), h("span", { key: 'a775b1a491ec681c7414ad695d364e0496caaf2e', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'c75bfebba97314c1d96949099feb58185cdd4adf', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: 'c115cfd3a0678b18b90219942da94f0e74240149', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: '5c059a6eed96872a8430c0f5fed89848e757bbeb', name: "cart" })), h("form", { key: '020b5d36bbe3484244f530bba40f7b08899b9c44', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: 'ead1a153af05ac88607a32c8d4fd87ce6d0f077f', 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: 'c0ece9709e34bb8071f2da8ce039b53be6b4f381', 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: '97dfffa720470c223bacf2cd7fa77e6b2a8d946e', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: 'c338e409c6d3953e3952fa762b4256ca18b1d60e', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: '9ae8a408e01e8a90de701e3a8518c90dfac69f27', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '6484cd1e82f65cfb3c52fa3a701b9454790f372d', 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: 'f633f38afaf249479b74b371560dc935fa584f8e', 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"; }
|
|
@@ -260,7 +260,7 @@ export class TetFeedbackForm {
|
|
|
260
260
|
return (h("div", { class: "feedback-form__thank-you", "aria-live": "polite" }, h("tet-icon", { class: "icon", name: thankYouIconName }), h("div", { class: "text-block" }, h(HeadingTag, { class: "title" }, thankYouTitle), h("p", { class: "description" }, thankYouDescription))));
|
|
261
261
|
}
|
|
262
262
|
render() {
|
|
263
|
-
return (h(Host, { key: '
|
|
263
|
+
return (h(Host, { key: 'a17945343ef2a5dff92c70c53eb7bcd27a0fc646' }, h("section", { key: '3a10ebb50bfc97aa0962ee205bd31b7b301f97a9', class: "feedback-form" }, this.submitted ? this.renderThankYouComponent() : this.renderAccordionComponent())));
|
|
264
264
|
}
|
|
265
265
|
static get is() { return "tet-feedback-form"; }
|
|
266
266
|
static get encapsulation() { return "shadow"; }
|
|
@@ -216,11 +216,11 @@ export class TetSupportSearch {
|
|
|
216
216
|
])))))));
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
|
-
return (h(Host, { key: '
|
|
219
|
+
return (h(Host, { key: 'f13d8b03dea1c3567b27498e990bfa85c601894a', class: {
|
|
220
220
|
"search-container": true,
|
|
221
221
|
[this.theme]: true,
|
|
222
|
-
} }, h("div", { key: '
|
|
223
|
-
h("tet-spinner", { key: '
|
|
222
|
+
} }, h("div", { key: '6e1668d0d5cc9d9aba9fa8d23b04a649a0ab4a7a', class: "search-container__inner-wrapper" }, h("tet-autocomplete", { key: 'e23eaf7d20052ccc73b327b9db348e1d83b02e67', 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: 'dc9261692dd5577faf3121c87e4c48c2d95de418', 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 &&
|
|
223
|
+
h("tet-spinner", { key: '6511be5cb8d1895419e4d29e9526b69318c24fa8', theme: this.theme, class: "search-container__spinner", size: "small" }))), h("tet-button", { key: '624c8535309ce58cf62944409e9f35a99805e90e', 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: '717239ba1a3eb3c97f4643b8c3345aa6b67161be', class: "search-container__button search-container__button--desktop", theme: this.theme, size: "medium", disabled: this.disabled, onClick: this.boundHandleSearchSubmit }, this.labels.searchButtonLabel))));
|
|
224
224
|
}
|
|
225
225
|
static get is() { return "tet-support-search"; }
|
|
226
226
|
static get encapsulation() { return "shadow"; }
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
--button-font-weight: 500;
|
|
370
370
|
--button-gap: 0.25rem;
|
|
371
371
|
--button-icon-size: 1.25rem;
|
|
372
|
-
--button-content-gap: 0.
|
|
372
|
+
--button-content-gap: 0.25rem;
|
|
373
373
|
--button-font-size-small: 0.875rem;
|
|
374
374
|
--button-padding-small: 0.375rem 0.875rem;
|
|
375
375
|
--button-font-size-medium: 1rem;
|
|
@@ -167,7 +167,7 @@ export class TetButton {
|
|
|
167
167
|
'button--with-icon': !!iconName,
|
|
168
168
|
};
|
|
169
169
|
const buttonStyle = this.customColorCode ? { '--button-custom-color': this.customColorCode } : undefined;
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'e4b89acbdf28b4af3f754b69273a770ff13b972d' }, this.url
|
|
171
171
|
? h("a", { part: "button", onClick: this.handleClick, id: this.elementId, style: buttonStyle, class: buttonClass, href: this.url, target: this.urlTarget, rel: this.urlTarget === '_blank' ? 'noopener noreferrer' : undefined, "aria-label": accessibilityLabel || undefined, tabindex: 0 }, buttonContent)
|
|
172
172
|
: h("button", { part: "button", onClick: this.handleClick, id: this.elementId, style: buttonStyle, class: buttonClass, disabled: this.disabled, "aria-label": accessibilityLabel || undefined, tabindex: 0 }, buttonContent)));
|
|
173
173
|
}
|
|
@@ -96,22 +96,22 @@ export class TetCheckbox {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
const { label, name, checked, value, disabled, error, iconName, labelFont, alignCenter, hasSlotIcon, accessibilityLabel, unavailable, iconType } = this;
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: 'ec3de0f2af0b8485daf484d93ce1f47a26d95286' }, h("div", { key: '30c99c77026d923fe94acf2ca296aa9aa05a1f0b', class: { checkbox: true, [`${this.theme}`]: true } }, h("label", { key: 'f1974c14dcf1072a5e9db59658da14a7bf5c2e20', class: {
|
|
100
100
|
'checkbox__container': true,
|
|
101
101
|
'checkbox__container--focus-style': this.focusStyleOnContainer,
|
|
102
102
|
'checkbox__container--align-start': !alignCenter,
|
|
103
|
-
}, part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: '
|
|
103
|
+
}, part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: 'e33d9d5e5edd7fc9e59928692ed3ba80abafb1da', ref: (el) => (this.inputEl = el), class: {
|
|
104
104
|
"checkbox__html-input": true,
|
|
105
105
|
'checkbox__html-input--unavailable': unavailable,
|
|
106
|
-
}, id: "tet-checkbox", type: "checkbox", name: name, value: value, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), disabled: disabled || unavailable, checked: checked, onChange: this.handleChange }), h("span", { key: '
|
|
106
|
+
}, id: "tet-checkbox", type: "checkbox", name: name, value: value, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), disabled: disabled || unavailable, checked: checked, onChange: this.handleChange }), h("span", { key: 'f7fe83d1fc10349e1d9fda3ccb3e271db0e079bd', class: {
|
|
107
107
|
'checkbox__input-background': true,
|
|
108
108
|
...(labelFont ? { [`checkbox__input-background--${labelFont}`]: true } : {}),
|
|
109
|
-
} }), h("span", { key: '
|
|
109
|
+
} }), h("span", { key: '10de8980b97aba5de42e434d50f0608a94e211f3', class: {
|
|
110
110
|
'checkbox__input': true,
|
|
111
111
|
'checkbox__input--error': error,
|
|
112
112
|
'checkbox__input--hide-focus-style': this.focusStyleOnContainer,
|
|
113
113
|
...(labelFont ? { [`checkbox__input--${labelFont}`]: true } : {}),
|
|
114
|
-
} }, h("tet-icon", { key: '
|
|
114
|
+
} }, h("tet-icon", { key: '670309997ed76db2dda9b5da93f0263a3ee9ade7', name: "tc-remove", class: "checkbox__icon checkbox__icon--indeterminate indicator" }), h("tet-icon", { key: '032367064c6d9509b0ea478662f9da8f351bea36', name: "tc-check", class: "checkbox__icon" })), h("div", { key: '143d8b114965502be51e5e458b99441ca72b2e0e', class: "checkbox__label-container" }, iconName ? (h("tet-icon", { theme: this.theme === 'light' ? 'light' : 'dark', name: iconName, type: iconType, class: {
|
|
115
115
|
'checkbox__label-icon': true,
|
|
116
116
|
[`checkbox__label-icon--${iconName}`]: true,
|
|
117
117
|
...(labelFont ? { [`checkbox__label-icon--${labelFont}`]: true } : {}),
|
|
@@ -119,10 +119,10 @@ export class TetCheckbox {
|
|
|
119
119
|
'checkbox__label-slot-icon': true,
|
|
120
120
|
'checkbox__label-slot-icon--hidden': !hasSlotIcon,
|
|
121
121
|
...(labelFont ? { [`checkbox__label-slot-icon--${labelFont}`]: true } : {}),
|
|
122
|
-
} }, h("slot", { name: "label-icon", onSlotchange: this.onIconSlotChange }))), h("span", { key: '
|
|
122
|
+
} }, h("slot", { name: "label-icon", onSlotchange: this.onIconSlotChange }))), h("span", { key: '2486847419ae630332d579523f7b9936bdaf6861', class: {
|
|
123
123
|
'checkbox__label': true,
|
|
124
124
|
...(labelFont ? { [`checkbox__label--${labelFont}`]: true } : {}),
|
|
125
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
125
|
+
}, innerHTML: label }, h("slot", { key: '4a29303f27b89171e3c5ab2f7d7f1354122758b7' })))))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "tet-checkbox"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -112,24 +112,24 @@ export class TetRadio {
|
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
114
|
const { inputId, disabled, value, checked, name, label, accessibilityLabel, error, inputAutofocus, iconName, labelFont, alignCenter, hasSlotIcon, unavailable, iconType } = this;
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '89fde06f45c6f529bb873821ac34a22e9f6e7dd7' }, h("div", { key: '16f662a038f8db04b4c84103c1948c4759e0915a', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '756a6f58b7c113cdbfb6c5b8f8e70b00e8d400a4', class: {
|
|
116
116
|
'radio__container': true,
|
|
117
117
|
'radio__container--focus-style': this.focusStyleOnContainer,
|
|
118
118
|
'radio__container--align-center': alignCenter,
|
|
119
|
-
}, htmlFor: inputId }, h("input", { key: '
|
|
119
|
+
}, htmlFor: inputId }, h("input", { key: '7290dc88d93a982c0147bc223c144a2b510660cf', class: {
|
|
120
120
|
"radio__html-input": true,
|
|
121
121
|
'radio__html-input--unavailable': unavailable,
|
|
122
|
-
}, id: inputId, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: '
|
|
122
|
+
}, id: inputId, name: name, type: "radio", value: value, disabled: disabled || unavailable, checked: checked, onChange: this.handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}) }), h("span", { key: '561f21c963b6bc2e83cecd6ceb9cc22df584936f', class: {
|
|
123
123
|
'radio__input-background': true,
|
|
124
124
|
'radio__input-background--has-label-prop': !!label,
|
|
125
125
|
...(labelFont ? { [`radio__input-background--${labelFont}`]: true } : {}),
|
|
126
|
-
} }), h("span", { key: '
|
|
126
|
+
} }), h("span", { key: '67e138b5dbca75857110a5b9312f76d771215a03', class: {
|
|
127
127
|
'radio__input': true,
|
|
128
128
|
'radio__input--error': error,
|
|
129
129
|
'radio__input--hide-focus-style': this.focusStyleOnContainer,
|
|
130
130
|
'radio__input--has-label-prop': !!label,
|
|
131
131
|
...(labelFont ? { [`radio__input--${labelFont}`]: true } : {}),
|
|
132
|
-
} }), h("div", { key: '
|
|
132
|
+
} }), h("div", { key: 'dbe5c4ff4f23841e6dfbe2b5ae3e83f2ff1e7c77', class: {
|
|
133
133
|
'radio__label-container': true,
|
|
134
134
|
'radio__label-container--line-height': hasSlotIcon || !!iconName,
|
|
135
135
|
} }, iconName ? (h("tet-icon", { theme: ['classic', 'light'].includes(this.theme) ? 'light' : 'dark', name: iconName, type: iconType, class: {
|
|
@@ -140,11 +140,11 @@ export class TetRadio {
|
|
|
140
140
|
'radio__label-slot-icon': true,
|
|
141
141
|
'radio__label-slot-icon--hidden': !hasSlotIcon,
|
|
142
142
|
...(labelFont ? { [`radio__label-slot-icon--${labelFont}`]: true } : {}),
|
|
143
|
-
} }, h("slot", { name: "label-icon", onSlotchange: this.checkIconSlot }))), h("span", { key: '
|
|
143
|
+
} }, h("slot", { name: "label-icon", onSlotchange: this.checkIconSlot }))), h("span", { key: '5e9eefe0174267c509da801d2addfce4c378ea79', class: {
|
|
144
144
|
'radio__label': true,
|
|
145
145
|
'radio__label--has-slot-icon': hasSlotIcon,
|
|
146
146
|
...(labelFont ? { [`radio__label--${labelFont}`]: true } : {}),
|
|
147
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
147
|
+
}, innerHTML: label }, h("slot", { key: 'bdc259f59bcc4da5452ea5a898364f6ad145f995' })))))));
|
|
148
148
|
}
|
|
149
149
|
static get is() { return "tet-radio"; }
|
|
150
150
|
static get encapsulation() { return "scoped"; }
|
|
@@ -60,7 +60,7 @@ export class TetRadioBlocks {
|
|
|
60
60
|
return (h("label", { class: { 'radio-block': true, 'checked': this.checkedBlockId === id } }, h("input", { class: "radio-block__input", type: "radio", name: this.radioGroupName, value: value, checked: this.checkedBlockId === id, "aria-labelledby": labelId, "aria-describedby": hasDescription ? descriptionId : undefined, onChange: () => this.setChecked(id, value) }), this.renderIcon(iconName), h("span", { class: "radio-block__label", id: labelId }, label), this.renderDescription(description, secondaryDescription, descriptionId)));
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '9d032a5735a0abf28a7fe0d18255e4dea926911e' }, h("div", { key: '3b6ecdf28e04554157979fd017d2cdcc5c2f42d5', role: "radiogroup", "aria-label": this.accessibilityLabel || undefined, class: {
|
|
64
64
|
'radio-block__container': true,
|
|
65
65
|
[this.blockType]: true,
|
|
66
66
|
[`row-of-${this.blocksPerRow}`]: !!this.blocksPerRow
|
|
@@ -55,16 +55,16 @@ export class TetSwitch {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const { label, name, theme, disabled, checked, accessibilityLabel, labelFont, alignCenter, labelPosition } = this;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '1db35b610f40a3a3e7429a914c6972ad2005620d' }, h("div", { key: '3cf35816bc181a3f1dae7ca708e4100ca2dc9d9a', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '903908439448bc531f5590a48f8ed9b758d8f41d', class: {
|
|
59
59
|
'switch__container': true,
|
|
60
60
|
'switch__container--align-start': !alignCenter,
|
|
61
61
|
[`switch__container--${labelFont}`]: true,
|
|
62
62
|
'switch__container--focus-style': this.focusStyleOnContainer,
|
|
63
|
-
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '
|
|
63
|
+
}, part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '6ce43ca3f2b2d1f8fdb2a39607a4aff55a0c38f3', 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: 'f3a0c90a9891f1bd52634cbdfe0f1c68c8b832ef', class: {
|
|
64
64
|
'switch__label': true,
|
|
65
65
|
...(labelPosition === 'left' ? { 'switch__label--left': true } : {}),
|
|
66
66
|
...(labelFont ? { [`switch__label--${labelFont}`]: true } : {}),
|
|
67
|
-
}, innerHTML: label }, h("slot", { key: '
|
|
67
|
+
}, innerHTML: label }, h("slot", { key: 'bdd3849c03294fd8358e67549964e09b7890f52c' })), labelPosition === 'left' && this.renderSwitch()))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-switch"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -172,11 +172,11 @@ export class TetTabContent {
|
|
|
172
172
|
this.selectedId = id;
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '59a43548b6b1baff7e4312e8ab626167730d0954' }, h("div", { key: 'bfbf407d3c51f9f96ecbe331a3aedde750549c86', class: {
|
|
176
176
|
'tet-tab-content': true,
|
|
177
177
|
'use-visibility': this.useVisibility,
|
|
178
178
|
[this.theme]: true
|
|
179
|
-
} }, h("slot", { key: '
|
|
179
|
+
} }, h("slot", { key: '0c4e2af8ce91149d95c2d3741cbb4ebd44b7c5ed', onSlotchange: this.onSlotChange }))));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "tet-tab-content"; }
|
|
182
182
|
static get encapsulation() { return "shadow"; }
|
|
@@ -699,7 +699,7 @@ export class TetTabHeader {
|
|
|
699
699
|
}
|
|
700
700
|
render() {
|
|
701
701
|
const shouldRenderOverflowGradients = this.showOverflowGradients;
|
|
702
|
-
return (h(Host, { key: '
|
|
702
|
+
return (h(Host, { key: 'f450e69109f9e6c946abd3a82fb0b9c2d3d7a5f3', "data-id-suffix": this.idSuffix }, h("div", { key: '306205260e2e0caeb11ba0cd448bb33c7b278dca', class: {
|
|
703
703
|
'tabs': true,
|
|
704
704
|
'tabs--segmented': this.segmented,
|
|
705
705
|
'tabs--disabled': this.isSwitchDisabled,
|
|
@@ -709,7 +709,7 @@ export class TetTabHeader {
|
|
|
709
709
|
[this.theme]: true,
|
|
710
710
|
[this.sizing]: true,
|
|
711
711
|
[this.type]: !!this.type
|
|
712
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: this.isSwitchMode ? 'radiogroup' : 'tablist', "aria-label": this.isSwitchMode && this.accessibilityLabel ? this.accessibilityLabel : undefined, "aria-orientation": this.isSwitchMode ? 'horizontal' : undefined, "aria-disabled": this.isSwitchDisabled ? 'true' : undefined }, shouldRenderOverflowGradients && h("div", { key: '
|
|
712
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: this.isSwitchMode ? 'radiogroup' : 'tablist', "aria-label": this.isSwitchMode && this.accessibilityLabel ? this.accessibilityLabel : undefined, "aria-orientation": this.isSwitchMode ? 'horizontal' : undefined, "aria-disabled": this.isSwitchDisabled ? 'true' : undefined }, shouldRenderOverflowGradients && h("div", { key: '71f3a64d047d38b3e0cf9b1bd4a0d7aeb3a3c87a', class: "tabs-gradient tabs-gradient-left", "aria-hidden": "true" }), h("slot", { key: '6f88cda884b2ce39355a64d31ce3abeab6867e44', onSlotchange: this.onSlotChange, ref: (slot) => (this.tabContainer = slot) }), shouldRenderOverflowGradients && h("div", { key: '7eccdeabb079e034ce79cfd2c14de553642659a3', class: "tabs-gradient tabs-gradient-right", "aria-hidden": "true" })), h("div", { key: 'f26678c17989668436fdb7d284f004149b0eeca8', class: {
|
|
713
713
|
'tabs-line': !this.segmented,
|
|
714
714
|
'no-underline': this.hideHeaderUnderline || this.isScrollableType,
|
|
715
715
|
[this.theme]: true
|
|
@@ -366,14 +366,15 @@
|
|
|
366
366
|
*/
|
|
367
367
|
display: inline-block;
|
|
368
368
|
--tag-background-color: rgb(255, 255, 255);
|
|
369
|
-
--tag-hover-background-color: linear-gradient(rgba(88, 99, 116, 0.08), rgba(88, 99, 116, 0.08)),
|
|
369
|
+
--tag-hover-background-color: linear-gradient(rgba(88, 99, 116, 0.08), rgba(88, 99, 116, 0.08)),
|
|
370
|
+
linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));
|
|
370
371
|
--tag-active-background-color: rgb(10, 11, 13);
|
|
371
372
|
--tag-border-color: rgb(153, 160, 174);
|
|
372
373
|
--tag-active-border-color: rgb(10, 11, 13);
|
|
373
374
|
--tag-disabled-border-color: var(--tc-button-border-disabled);
|
|
374
375
|
--tag-text-color: rgb(10, 11, 13);
|
|
375
376
|
--tag-active-text-color: rgb(255, 255, 255);
|
|
376
|
-
--tag-focus-outline-color:var(--tc-blue-40);
|
|
377
|
+
--tag-focus-outline-color: var(--tc-blue-40);
|
|
377
378
|
--tag-disabled-text-color: var(--tc-button-text-secondary-disabled);
|
|
378
379
|
--tag-padding: 0.375rem 0.75rem;
|
|
379
380
|
}
|
|
@@ -388,7 +389,6 @@
|
|
|
388
389
|
color: var(--tag-text-color);
|
|
389
390
|
border-radius: 0.625rem;
|
|
390
391
|
background: var(--tag-background-color);
|
|
391
|
-
border-color: var(--tag-border-color);
|
|
392
392
|
border: 0.0625rem solid var(--tag-border-color);
|
|
393
393
|
}
|
|
394
394
|
.tag:hover:not(:disabled) {
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
--tag-active-background-color: var(--tc-layer-inverse-primary);
|
|
425
425
|
--tag-border-color: var(--tc-border-secondary);
|
|
426
426
|
--tag-active-border-color: var(--tc-button-primary-background-default);
|
|
427
|
-
--tag-focus-outline-color:var(--tc-blue-40);
|
|
427
|
+
--tag-focus-outline-color: var(--tc-blue-40);
|
|
428
428
|
--tag-disabled-border-color: var(--tc-button-border-disabled);
|
|
429
429
|
--tag-text-color: var(--tc-button-text-secondary);
|
|
430
430
|
--tag-active-text-color: var(--tc-button-text-primary);
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
--tag-active-background-color: var(--tc-layer-inverse-primary-dark);
|
|
437
437
|
--tag-border-color: var(--tc-border-secondary-dark);
|
|
438
438
|
--tag-active-border-color: var(--tc-button-primary-background-default-dark);
|
|
439
|
-
--tag-focus-outline-color:var(--tc-blue-40-dark);
|
|
439
|
+
--tag-focus-outline-color: var(--tc-blue-40-dark);
|
|
440
440
|
--tag-disabled-border-color: var(--tc-button-border-disabled-dark);
|
|
441
441
|
--tag-text-color: var(--tc-button-text-secondary-dark);
|
|
442
442
|
--tag-active-text-color: var(--tc-button-text-primary-dark);
|
|
@@ -444,7 +444,8 @@
|
|
|
444
444
|
}
|
|
445
445
|
.tag.theme-mint {
|
|
446
446
|
--tag-background-color: rgb(35, 40, 46);
|
|
447
|
-
--tag-hover-background-color: linear-gradient(rgba(26, 213, 219, 0.08), rgba(26, 213, 219, 0.08)),
|
|
447
|
+
--tag-hover-background-color: linear-gradient(rgba(26, 213, 219, 0.08), rgba(26, 213, 219, 0.08)),
|
|
448
|
+
linear-gradient(rgb(35, 40, 46), rgb(35, 40, 46));
|
|
448
449
|
--tag-active-background-color: rgb(26, 213, 219);
|
|
449
450
|
--tag-border-color: rgb(26, 213, 219);
|
|
450
451
|
--tag-active-border-color: rgb(26, 213, 219);
|
|
@@ -26,12 +26,12 @@ export class TetTag {
|
|
|
26
26
|
await processTranslations('tet-components', this.language);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'deaba4d31150b00a2e2ea30f8fbc7b4042afdaed' }, h("button", { key: '5dc2aa8ae57a2cf220c9a639486ef4970509b6c3', class: {
|
|
30
30
|
tag: true,
|
|
31
31
|
'tag-active': this.active,
|
|
32
32
|
'tag--icon': this.showIcon,
|
|
33
33
|
[`theme-${this.theme}`]: true,
|
|
34
|
-
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '
|
|
34
|
+
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: 'aede4c290d9d9fedd2ce1a790f9b3743cc9bae23', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'c233dc741ace55c0906725f4fc6c4f0e545ac2e5', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'b98f3ef2a0a237d7123f0dd18ef927cbe37790cb', class: "tag-icon", name: "tc-close-circle", part: "icon-selected" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tet-tag"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -362,4 +362,97 @@
|
|
|
362
362
|
gap: 0.5em;
|
|
363
363
|
row-gap: 0.75em;
|
|
364
364
|
justify-content: var(--tag-group-align);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.clear-button {
|
|
368
|
+
--tag-background-color: rgb(255, 255, 255);
|
|
369
|
+
--tag-hover-background-color: linear-gradient(rgba(88, 99, 116, 0.08), rgba(88, 99, 116, 0.08)),
|
|
370
|
+
linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));
|
|
371
|
+
--tag-active-background-color: rgb(10, 11, 13);
|
|
372
|
+
--tag-border-color: rgb(153, 160, 174);
|
|
373
|
+
--tag-active-border-color: rgb(10, 11, 13);
|
|
374
|
+
--tag-disabled-border-color: var(--tc-button-border-disabled);
|
|
375
|
+
--tag-text-color: rgb(10, 11, 13);
|
|
376
|
+
--tag-active-text-color: rgb(255, 255, 255);
|
|
377
|
+
--tag-focus-outline-color: var(--tc-blue-40);
|
|
378
|
+
--tag-disabled-text-color: var(--tc-button-text-secondary-disabled);
|
|
379
|
+
--tag-padding: 0.375rem 0.75rem;
|
|
380
|
+
font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
381
|
+
cursor: pointer;
|
|
382
|
+
display: flex;
|
|
383
|
+
align-items: center;
|
|
384
|
+
gap: 0.25rem;
|
|
385
|
+
padding: var(--tag-padding);
|
|
386
|
+
color: var(--tag-text-color);
|
|
387
|
+
border-radius: 0.625rem;
|
|
388
|
+
background: var(--tag-background-color);
|
|
389
|
+
border: 0.0625rem solid var(--tag-border-color);
|
|
390
|
+
margin-left: 0.5rem;
|
|
391
|
+
--tag-border-color: var(--tc-border-primary);
|
|
392
|
+
}
|
|
393
|
+
.clear-button:hover:not(:disabled) {
|
|
394
|
+
background: var(--tag-hover-background-color);
|
|
395
|
+
}
|
|
396
|
+
.clear-button:focus-visible {
|
|
397
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
398
|
+
outline-offset: 0rem;
|
|
399
|
+
transition: outline 0s;
|
|
400
|
+
outline-color: var(--tag-focus-outline-color);
|
|
401
|
+
border-color: transparent;
|
|
402
|
+
}
|
|
403
|
+
.clear-button.theme-light {
|
|
404
|
+
--tag-background-color: var(--tc-layer-primary);
|
|
405
|
+
--tag-hover-background-color: var(--tc-button-primary-background-inverse-hover);
|
|
406
|
+
--tag-active-background-color: var(--tc-layer-inverse-primary);
|
|
407
|
+
--tag-border-color: var(--tc-border-secondary);
|
|
408
|
+
--tag-active-border-color: var(--tc-button-primary-background-default);
|
|
409
|
+
--tag-focus-outline-color: var(--tc-blue-40);
|
|
410
|
+
--tag-disabled-border-color: var(--tc-button-border-disabled);
|
|
411
|
+
--tag-text-color: var(--tc-button-text-secondary);
|
|
412
|
+
--tag-active-text-color: var(--tc-button-text-primary);
|
|
413
|
+
--tag-disabled-text-color: var(--tc-button-text-secondary-disabled);
|
|
414
|
+
}
|
|
415
|
+
.clear-button.theme-dark {
|
|
416
|
+
--tag-background-color: var(--tc-layer-primary-dark);
|
|
417
|
+
--tag-hover-background-color: var(--tc-button-primary-background-inverse-hover-dark);
|
|
418
|
+
--tag-active-background-color: var(--tc-layer-inverse-primary-dark);
|
|
419
|
+
--tag-border-color: var(--tc-border-secondary-dark);
|
|
420
|
+
--tag-active-border-color: var(--tc-button-primary-background-default-dark);
|
|
421
|
+
--tag-focus-outline-color: var(--tc-blue-40-dark);
|
|
422
|
+
--tag-disabled-border-color: var(--tc-button-border-disabled-dark);
|
|
423
|
+
--tag-text-color: var(--tc-button-text-secondary-dark);
|
|
424
|
+
--tag-active-text-color: var(--tc-button-text-primary-dark);
|
|
425
|
+
--tag-disabled-text-color: var(--tc-button-text-secondary-disabled-dark);
|
|
426
|
+
}
|
|
427
|
+
.clear-button.theme-mint {
|
|
428
|
+
--tag-background-color: rgb(35, 40, 46);
|
|
429
|
+
--tag-hover-background-color: linear-gradient(rgba(26, 213, 219, 0.08), rgba(26, 213, 219, 0.08)),
|
|
430
|
+
linear-gradient(rgb(35, 40, 46), rgb(35, 40, 46));
|
|
431
|
+
--tag-active-background-color: rgb(26, 213, 219);
|
|
432
|
+
--tag-border-color: rgb(26, 213, 219);
|
|
433
|
+
--tag-active-border-color: rgb(26, 213, 219);
|
|
434
|
+
--tag-disabled-border-color: var(--tc-button-border-disabled-dark);
|
|
435
|
+
--tag-text-color: rgb(255, 255, 255);
|
|
436
|
+
--tag-active-text-color: rgb(10, 11, 13);
|
|
437
|
+
--tag-disabled-text-color: var(--tc-button-text-secondary-disabled-dark);
|
|
438
|
+
}
|
|
439
|
+
.clear-button:disabled {
|
|
440
|
+
border-color: var(--tag-disabled-border-color);
|
|
441
|
+
color: var(--tag-disabled-text-color);
|
|
442
|
+
cursor: not-allowed;
|
|
443
|
+
background: transparent;
|
|
444
|
+
}
|
|
445
|
+
.clear-button.theme-dark {
|
|
446
|
+
--tag-border-color: var(--tc-border-primary-dark);
|
|
447
|
+
}
|
|
448
|
+
.clear-button.theme-light, .clear-button.theme-mint {
|
|
449
|
+
--tag-border-color: var(--tc-border-primary);
|
|
450
|
+
}
|
|
451
|
+
.clear-button tet-icon {
|
|
452
|
+
--icon-size: 1rem;
|
|
453
|
+
--icon-color: var(--tag-text-color);
|
|
454
|
+
--icon-container-display: flex;
|
|
455
|
+
}
|
|
456
|
+
.clear-button:disabled tet-icon {
|
|
457
|
+
--icon-color: var(--tag-disabled-text-color);
|
|
365
458
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
1
|
+
import { forceUpdate, h } from "@stencil/core";
|
|
2
2
|
import { isFunction } from "../../../../services/utils/index";
|
|
3
|
+
import { processTranslations, t } from "../../../../services/translations/index";
|
|
3
4
|
/**
|
|
4
5
|
* A group of tags. Adjust the input data to display the current state of the tags.
|
|
5
6
|
*
|
|
@@ -12,6 +13,19 @@ export class TetTagGroup {
|
|
|
12
13
|
tags = [];
|
|
13
14
|
/** The theme of the tag component. */
|
|
14
15
|
theme = 'classic';
|
|
16
|
+
/** Whether to show the clear filters button when at least one enabled tag is active. */
|
|
17
|
+
clearFilterButton = false;
|
|
18
|
+
/** Disables the clear filters button without disabling individual tags. */
|
|
19
|
+
clearFilterButtonDisabled = false;
|
|
20
|
+
/** Requests that the parent clear its filters and update the supplied tags. */
|
|
21
|
+
clearFilters;
|
|
22
|
+
async componentWillLoad() {
|
|
23
|
+
await processTranslations('tet-components', this.language);
|
|
24
|
+
}
|
|
25
|
+
async onLanguageChange(language) {
|
|
26
|
+
await processTranslations('tet-components', language);
|
|
27
|
+
forceUpdate(this);
|
|
28
|
+
}
|
|
15
29
|
/**
|
|
16
30
|
* Renders a single tag.
|
|
17
31
|
*
|
|
@@ -21,7 +35,7 @@ export class TetTagGroup {
|
|
|
21
35
|
return (h("tet-tag", { class: "single-tag", part: "tag", tagTitle: tag.title, count: tag.count, active: tag.active, showIcon: tag.showIcon, language: this.language, theme: this.theme, disabled: tag.disabled, onClick: () => isFunction(tag.clickAction) ? tag.clickAction(tag) : null }));
|
|
22
36
|
};
|
|
23
37
|
render() {
|
|
24
|
-
return h("div", { key: '
|
|
38
|
+
return (h("div", { key: '6f44ca02f07ca3e60474beded965aeeaaa8c901d', class: "tags" }, this.tags.map(this.renderTag), this.clearFilterButton && this.tags.some(tag => tag.active) && (h("button", { key: '19faba0db9455944225c0c1b3a64c8929e519d69', type: "button", disabled: this.clearFilterButtonDisabled, class: { 'clear-button': true, [`theme-${this.theme}`]: true }, onClick: () => this.clearFilters.emit() }, h("tet-icon", { key: '53cb112717aa298b39d2c63a5ce82e7e0f8d9239', name: "tc-reload" }), t('components-tag-group-filters-clear-btn')))));
|
|
25
39
|
}
|
|
26
40
|
static get is() { return "tet-tag-group"; }
|
|
27
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,7 +121,71 @@ export class TetTagGroup {
|
|
|
107
121
|
"reflect": false,
|
|
108
122
|
"attribute": "theme",
|
|
109
123
|
"defaultValue": "'classic'"
|
|
124
|
+
},
|
|
125
|
+
"clearFilterButton": {
|
|
126
|
+
"type": "boolean",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "boolean",
|
|
130
|
+
"resolved": "boolean",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "Whether to show the clear filters button when at least one enabled tag is active."
|
|
138
|
+
},
|
|
139
|
+
"getter": false,
|
|
140
|
+
"setter": false,
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"attribute": "clear-filter-button",
|
|
143
|
+
"defaultValue": "false"
|
|
144
|
+
},
|
|
145
|
+
"clearFilterButtonDisabled": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "boolean",
|
|
150
|
+
"resolved": "boolean",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": "Disables the clear filters button without disabling individual tags."
|
|
158
|
+
},
|
|
159
|
+
"getter": false,
|
|
160
|
+
"setter": false,
|
|
161
|
+
"reflect": false,
|
|
162
|
+
"attribute": "clear-filter-button-disabled",
|
|
163
|
+
"defaultValue": "false"
|
|
110
164
|
}
|
|
111
165
|
};
|
|
112
166
|
}
|
|
167
|
+
static get events() {
|
|
168
|
+
return [{
|
|
169
|
+
"method": "clearFilters",
|
|
170
|
+
"name": "clearFilters",
|
|
171
|
+
"bubbles": true,
|
|
172
|
+
"cancelable": true,
|
|
173
|
+
"composed": true,
|
|
174
|
+
"docs": {
|
|
175
|
+
"tags": [],
|
|
176
|
+
"text": "Requests that the parent clear its filters and update the supplied tags."
|
|
177
|
+
},
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "void",
|
|
180
|
+
"resolved": "void",
|
|
181
|
+
"references": {}
|
|
182
|
+
}
|
|
183
|
+
}];
|
|
184
|
+
}
|
|
185
|
+
static get watchers() {
|
|
186
|
+
return [{
|
|
187
|
+
"propName": "language",
|
|
188
|
+
"methodName": "onLanguageChange"
|
|
189
|
+
}];
|
|
190
|
+
}
|
|
113
191
|
}
|
|
@@ -997,22 +997,22 @@ export class TetCarousel {
|
|
|
997
997
|
trackTransition = 'none';
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
return (h(Host, { key: '
|
|
1000
|
+
return (h(Host, { key: 'c57fa0858eda9f7654af7ded42c274529066ff6a' }, h("div", { key: '73c7715e4dfcdd1063d9d9605524b2928d06dfef', class: { 'tet-carousel': true, [`${this.theme}`]: true, 'tet-carousel--unified-buttons': this.unifiedButtons }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '9e0806955100a923000e6ff42e5886ad4f08bca6', class: "tet-carousel__container" }, h("div", { key: '94063f1e3c0ede436e83f41da888d05e7741db2d', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
1001
1001
|
this.leftGradientRef = el;
|
|
1002
|
-
} }), h("div", { key: '
|
|
1002
|
+
} }), h("div", { key: 'a279a34c136999e2299d64eab371a8cc8574039d', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
1003
1003
|
this.rightGradientRef = el;
|
|
1004
|
-
} }), h("div", { key: '
|
|
1004
|
+
} }), h("div", { key: 'ae0117d7e454e03a39380c19d1e3e9b006931e12', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
|
|
1005
1005
|
transform: `translate3d(${this.dragOffset}px, 0, 0)`,
|
|
1006
1006
|
transition: trackTransition,
|
|
1007
1007
|
willChange: 'transform'
|
|
1008
|
-
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '
|
|
1008
|
+
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '1250e56aa441900d31f35731e7ba9ee3e744a56b', class: {
|
|
1009
1009
|
'tet-carousel__track-content': true,
|
|
1010
1010
|
'tet-carousel__track-content--nudge': this.isNudgeAnimating
|
|
1011
1011
|
}, ref: (el) => (this.trackContentElement = el), style: {
|
|
1012
1012
|
'--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
|
|
1013
|
-
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '
|
|
1013
|
+
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: 'a7e67de7cf6582f02c9c300abca9c54cc333cad4' })))), !!this.label && h("div", { key: '5f6c64af28a2fa44b90ae2c1477e578b052a68c8', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: 'a89a1ebb25cbb1a8e2388bb37b893af2acc92efe', class: "tet-carousel__controls" }, showButtons && (h("div", { key: '838b26370d3f50744277409409c33cc11029de68', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: '5e26c61a894b794a5ff90dfe7e81eb5c4de7589e', 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: '9089f8aa5c67aebf48f30359dbedf827891641b5', 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
|
|
1014
1014
|
? t('components-carousel-indicator-button-active')
|
|
1015
|
-
: 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: '
|
|
1015
|
+
: 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: '8d468a40ef5be14ed0b74c9f392e7b5064b3e37e', class: "tet-carousel__buttons" }, h("tet-button", { key: '334d519b934c5211bcfcec8d166496f83d33b1bb', 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: '519e1063ff82574ca296ba191bde6abc736f7df4', 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() }))))))));
|
|
1016
1016
|
}
|
|
1017
1017
|
static get is() { return "tet-carousel"; }
|
|
1018
1018
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,12 +12,12 @@ export class TetContainer {
|
|
|
12
12
|
/** Specifies the theming of the container. */
|
|
13
13
|
theme = 'classic';
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '4036e572ce0d0ccd94d607e23d53124c4d6670ed', class: {
|
|
16
16
|
'container': true,
|
|
17
17
|
'container--highlightable': this.highlightable,
|
|
18
18
|
'container--selected': this.selected,
|
|
19
19
|
[`container--${this.theme}`]: this.theme !== 'classic',
|
|
20
|
-
}, part: "container" }, h("slot", { key: '
|
|
20
|
+
}, part: "container" }, h("slot", { key: 'fc20a7bc3f5e6c11fce3957fe0f243cc3ce20fe3' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "tet-container"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -114,7 +114,7 @@ export class TetIcon {
|
|
|
114
114
|
render() {
|
|
115
115
|
const iconName = this.getIconName();
|
|
116
116
|
const tcIconSvg = getTcIconSvg(iconName);
|
|
117
|
-
return (h("span", { key: '
|
|
117
|
+
return (h("span", { key: '9513857ea30f8d37fbb113134ac9cc4afc0e39b5', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: tcIconSvg ? 'bundled-tc-icon' : 'fetched-icon', class: {
|
|
118
118
|
'icon-container': true,
|
|
119
119
|
'default-color': this.shouldUseDefaultColor(),
|
|
120
120
|
[this.theme]: true,
|