@tet/tet-components 1.3.46-testing → 1.3.47-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-41ac19c2.js → address-1674aa2d.js} +1 -1
- package/dist/cjs/{assets-0bdcfba7.js → assets-a459d319.js} +1 -1
- package/dist/cjs/{async-request-42567909.js → async-request-e8810b2c.js} +1 -1
- package/dist/cjs/{http-codes-bec9330b.js → http-codes-12b2b47b.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +9 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-fd3038e0.js → old-utils-873287df.js} +1 -1
- package/dist/cjs/{phone-96a87ac9.js → phone-c79e43f4.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.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 +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +8 -8
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.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 +42 -0
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +92 -0
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-d753e207.js} +2 -2
- package/dist/cjs/{translations-9c00ed63.js → translations-51ad8d5d.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/basic/steppers/tet-stepper-v3/test/tet-stepper-v3.spec.js +135 -0
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.css +486 -0
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +89 -0
- 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-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-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- 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/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-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v3/test/tet-thank-you-view-v3.spec.js +175 -0
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.css +469 -0
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +357 -0
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +3 -3
- 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 +5 -1
- package/dist/components/{p-6d2030bc.js → p-286d8b73.js} +2 -2
- package/dist/components/{p-e5133638.js → p-2b82aa91.js} +1 -1
- package/dist/components/{p-f621eb12.js → p-2d83db4f.js} +5 -5
- package/dist/components/{p-e9d40651.js → p-3063e838.js} +1 -1
- package/dist/components/{p-f16e7053.js → p-344b2af5.js} +3 -3
- package/dist/components/{p-65d16157.js → p-3765bba5.js} +2 -2
- package/dist/components/{p-b7cc14fe.js → p-382e40d4.js} +3 -3
- package/dist/components/{p-459a0e98.js → p-3aa8cd2f.js} +9 -9
- package/dist/components/{p-a20987a3.js → p-3ad6e868.js} +3 -3
- package/dist/components/{p-1276b898.js → p-3ae2fe44.js} +7 -7
- package/dist/components/{p-7c6f8ba6.js → p-474bc2fb.js} +3 -3
- package/dist/components/{p-b52d5454.js → p-4a79b002.js} +2 -2
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-a548d0c5.js → p-51ef91f4.js} +1 -1
- package/dist/components/{p-7fa5304b.js → p-5296e0ca.js} +1 -1
- package/dist/components/{p-470276e6.js → p-52a4005a.js} +1 -1
- package/dist/components/{p-39e60f54.js → p-52e27ed1.js} +2 -2
- package/dist/components/p-540d1493.js +62 -0
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-bd462b2b.js → p-5ce6c66a.js} +11 -11
- package/dist/components/{p-b8bea208.js → p-6031cfa6.js} +7 -7
- package/dist/components/{p-b215fe36.js → p-680ce735.js} +1 -1
- package/dist/components/{p-7ffb7b91.js → p-68ec1fbe.js} +4 -4
- package/dist/components/{p-a63d3582.js → p-6cc02895.js} +2 -2
- package/dist/components/{p-870d5c08.js → p-6fc0acad.js} +2 -2
- package/dist/components/{p-76d08ef5.js → p-81149c2b.js} +4 -4
- package/dist/components/{p-30b1d207.js → p-87d27caa.js} +2 -2
- package/dist/components/{p-74ff4f72.js → p-92365b7e.js} +1 -1
- package/dist/components/{p-46ebf818.js → p-93118f3d.js} +2 -2
- package/dist/components/{p-426f3a4a.js → p-957b3ade.js} +1 -1
- package/dist/components/{p-ef2c876b.js → p-959ca030.js} +3 -3
- package/dist/components/{p-3c6af8ca.js → p-9aba6523.js} +9 -9
- package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
- package/dist/components/{p-0e5c2c19.js → p-a50af1b7.js} +2 -2
- package/dist/components/{p-b0544371.js → p-a5560987.js} +1 -1
- package/dist/components/{p-118b3e7a.js → p-a8cbea9b.js} +3 -3
- package/dist/components/{p-72b8586b.js → p-ad2c1218.js} +1 -1
- package/dist/components/{p-7b41b783.js → p-b659f0fe.js} +1 -1
- package/dist/components/{p-73d74c2f.js → p-b7c1a42f.js} +3 -3
- package/dist/components/{p-ac554404.js → p-b8a1d447.js} +7 -7
- package/dist/components/{p-ae1f41ee.js → p-bdb032c1.js} +1 -1
- package/dist/components/{p-25ea3385.js → p-c4a43c6f.js} +3 -3
- package/dist/components/{p-6f457b76.js → p-c753ab82.js} +1 -1
- package/dist/components/{p-4837068d.js → p-d7e26cb4.js} +2 -2
- package/dist/components/{p-87413ec0.js → p-dcba7ff7.js} +3 -3
- package/dist/components/{p-65b7340e.js → p-e363d8ba.js} +1 -1
- package/dist/components/{p-4276ec1a.js → p-e8f47502.js} +11 -11
- package/dist/components/{p-df47c3c2.js → p-f8340c57.js} +2 -2
- package/dist/components/{p-a3af821a.js → p-fc910554.js} +2 -2
- package/dist/components/tet-accordion.js +8 -8
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +26 -26
- 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 +12 -12
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +2 -2
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +6 -6
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +4 -4
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +10 -10
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +8 -8
- 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 +10 -10
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +2 -2
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +7 -7
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +2 -2
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.d.ts +11 -0
- package/dist/components/tet-stepper-v3.js +6 -0
- package/dist/components/tet-stepper.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 +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +3 -3
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.d.ts +11 -0
- package/dist/components/tet-thank-you-view-v3.js +137 -0
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-9dfd3c9e.js → address-18c4b9dc.js} +1 -1
- package/dist/esm/{assets-c074d2b9.js → assets-b258bac4.js} +1 -1
- package/dist/esm/{async-request-754d6810.js → async-request-f3a79721.js} +1 -1
- package/dist/esm/{http-codes-42779195.js → http-codes-3253f363.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +9 -1
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-a5a07afa.js → old-utils-6d7940a9.js} +1 -1
- package/dist/esm/{phone-66ff151d.js → phone-56c1d5c3.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +1 -1
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-checkbox.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +4 -4
- package/dist/esm/tet-compare-card_4.entry.js +1 -1
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.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 +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input_2.entry.js +4 -4
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider_2.entry.js +8 -8
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +38 -0
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +88 -0
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-bf063190.js} +2 -2
- package/dist/esm/{translations-5c723a5f.js → translations-9e12c95e.js} +1 -1
- package/dist/tet-components/{p-71cc2017.entry.js → p-04da9b5b.entry.js} +1 -1
- package/dist/tet-components/{p-6adc54b2.entry.js → p-09c013d2.entry.js} +1 -1
- package/dist/tet-components/{p-f4786b25.entry.js → p-0d4bafff.entry.js} +1 -1
- package/dist/tet-components/{p-3fbd5ca2.entry.js → p-11d5a35c.entry.js} +1 -1
- package/dist/tet-components/{p-a9a113e1.entry.js → p-160e9869.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-c34b6de0.entry.js → p-23bb9ebc.entry.js} +1 -1
- package/dist/tet-components/{p-a7461fc5.entry.js → p-249bf5c8.entry.js} +1 -1
- package/dist/tet-components/{p-87506dbc.entry.js → p-2c2e7ce8.entry.js} +1 -1
- package/dist/tet-components/{p-46a33f5c.entry.js → p-2c5f342f.entry.js} +1 -1
- package/dist/tet-components/{p-bf3e7f72.entry.js → p-2d99749e.entry.js} +1 -1
- package/dist/tet-components/{p-a96ad9aa.entry.js → p-30c078c5.entry.js} +1 -1
- package/dist/tet-components/{p-6e4be4a3.entry.js → p-333cc51a.entry.js} +1 -1
- package/dist/tet-components/{p-41c25541.js → p-3569a18c.js} +1 -1
- package/dist/tet-components/{p-dacff13f.entry.js → p-3819d28c.entry.js} +1 -1
- package/dist/tet-components/{p-5d224249.entry.js → p-3ad833c9.entry.js} +1 -1
- package/dist/tet-components/{p-0a750c4f.entry.js → p-3dd2ef8f.entry.js} +1 -1
- package/dist/tet-components/{p-97d17e43.entry.js → p-419ba4e5.entry.js} +1 -1
- package/dist/tet-components/{p-8971f30a.entry.js → p-429c72a6.entry.js} +1 -1
- package/dist/tet-components/{p-1b2509c8.entry.js → p-43739c87.entry.js} +1 -1
- package/dist/tet-components/{p-f4465153.entry.js → p-49005682.entry.js} +1 -1
- package/dist/tet-components/{p-b627310b.entry.js → p-54750791.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-5478765f.entry.js} +1 -1
- package/dist/tet-components/p-59d58a43.entry.js +1 -0
- package/dist/tet-components/{p-b4e98d75.entry.js → p-5c9247a2.entry.js} +1 -1
- package/dist/tet-components/{p-138065a5.entry.js → p-616daa7e.entry.js} +1 -1
- package/dist/tet-components/{p-010608e8.js → p-676cb76a.js} +1 -1
- package/dist/tet-components/{p-99dfcd9d.entry.js → p-683df0c1.entry.js} +1 -1
- package/dist/tet-components/{p-25498380.entry.js → p-6a8ebb69.entry.js} +1 -1
- package/dist/tet-components/{p-07081ea1.entry.js → p-6e008132.entry.js} +1 -1
- package/dist/tet-components/{p-6282db79.entry.js → p-75e8434f.entry.js} +1 -1
- package/dist/tet-components/{p-f6e0cac3.entry.js → p-7683b245.entry.js} +1 -1
- package/dist/tet-components/{p-ce643f1e.entry.js → p-78a26c3f.entry.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-7c3a56ca.js} +1 -1
- package/dist/tet-components/{p-c47d4570.entry.js → p-7d2dc52d.entry.js} +1 -1
- package/dist/tet-components/{p-075a2c0d.entry.js → p-8046fc9b.entry.js} +1 -1
- package/dist/tet-components/{p-9c54e24e.entry.js → p-8451363e.entry.js} +1 -1
- package/dist/tet-components/p-8b9f2ed6.js +1 -0
- package/dist/tet-components/{p-ffe3a10a.entry.js → p-8e8ddc22.entry.js} +1 -1
- package/dist/tet-components/{p-10271e23.entry.js → p-8fd66a80.entry.js} +1 -1
- package/dist/tet-components/{p-061c267a.entry.js → p-93bee800.entry.js} +1 -1
- package/dist/tet-components/{p-77a33dca.entry.js → p-95a38694.entry.js} +1 -1
- package/dist/tet-components/{p-d5556174.entry.js → p-95c2f9d2.entry.js} +1 -1
- package/dist/tet-components/{p-520c7411.entry.js → p-9c6ee0d1.entry.js} +1 -1
- package/dist/tet-components/{p-c11d8027.entry.js → p-9cd6ab26.entry.js} +1 -1
- package/dist/tet-components/{p-1479c97e.entry.js → p-a0a9ab35.entry.js} +1 -1
- package/dist/tet-components/{p-4b9d2f1e.js → p-a15f30a7.js} +1 -1
- package/dist/tet-components/{p-33b50262.entry.js → p-a1aeb828.entry.js} +1 -1
- package/dist/tet-components/{p-ea1afab6.entry.js → p-a4d755b2.entry.js} +1 -1
- package/dist/tet-components/{p-7047a0fd.entry.js → p-a5546585.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-84b9ec15.entry.js → p-ae41cba0.entry.js} +1 -1
- package/dist/tet-components/{p-2bce11d6.entry.js → p-aecd68fb.entry.js} +1 -1
- package/dist/tet-components/{p-adc24a53.entry.js → p-afcf362f.entry.js} +1 -1
- package/dist/tet-components/{p-b119d561.entry.js → p-b10fc34b.entry.js} +1 -1
- package/dist/tet-components/{p-d8851106.entry.js → p-b7dc88d7.entry.js} +1 -1
- package/dist/tet-components/{p-771146d4.entry.js → p-bd19cb33.entry.js} +1 -1
- package/dist/tet-components/{p-3b5a822d.entry.js → p-c3934b44.entry.js} +1 -1
- package/dist/tet-components/{p-2c4ff0e0.entry.js → p-c40cba34.entry.js} +1 -1
- package/dist/tet-components/{p-5f74e092.entry.js → p-c4dec1d3.entry.js} +1 -1
- package/dist/tet-components/{p-9eafff73.entry.js → p-c892bc9f.entry.js} +1 -1
- package/dist/tet-components/{p-f46011ad.entry.js → p-ca46856d.entry.js} +1 -1
- package/dist/tet-components/{p-b2c90933.entry.js → p-cb3ef8ed.entry.js} +1 -1
- package/dist/tet-components/{p-7b7b84bc.entry.js → p-cb773d29.entry.js} +1 -1
- package/dist/tet-components/{p-dd24cb08.entry.js → p-d839d154.entry.js} +1 -1
- package/dist/tet-components/{p-56ba2009.entry.js → p-d8abdf8e.entry.js} +1 -1
- package/dist/tet-components/{p-7fa88539.entry.js → p-d9bc88c6.entry.js} +1 -1
- package/dist/tet-components/p-dace6aeb.js +1 -0
- package/dist/tet-components/{p-ff769397.entry.js → p-decb5ec7.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-e06817f1.js} +1 -1
- package/dist/tet-components/{p-9e4a722d.entry.js → p-e13b8ae3.entry.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-e340aec2.js} +1 -1
- package/dist/tet-components/{p-e5a15112.entry.js → p-eab907b1.entry.js} +1 -1
- package/dist/tet-components/{p-f90db0fe.entry.js → p-eee8f6f2.entry.js} +1 -1
- package/dist/tet-components/{p-17b4104b.entry.js → p-f2005c54.entry.js} +1 -1
- package/dist/tet-components/p-f2fdf72f.entry.js +1 -0
- package/dist/tet-components/{p-29b4d2a1.entry.js → p-f33dd705.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-f53247e0.entry.js} +1 -1
- package/dist/tet-components/{p-3b6f1fec.entry.js → p-f9123a1e.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.d.ts +22 -0
- package/dist/types/components.d.ts +185 -0
- package/package.json +1 -1
- package/dist/tet-components/p-1ae8df7d.js +0 -1
- package/dist/tet-components/p-1ec7f341.js +0 -2
- package/dist/tet-components/p-b2b384d2.js +0 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* A simple stepper component.
|
|
4
|
+
*/
|
|
5
|
+
export class TetStepperV3 {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.renderStep = (step, index) => {
|
|
8
|
+
var _a;
|
|
9
|
+
const nextStepActive = (_a = this.stepperData[index + 1]) === null || _a === void 0 ? void 0 : _a.active;
|
|
10
|
+
return (h("li", { class: "step" }, h("div", { class: { 'status-wrapper': true, 'active': step.active } }, h("div", { class: "line top" }), h("div", { class: { 'line': true, 'bottom': true, 'next-step-active': nextStepActive } }), this.renderStepIcon(step.icon)), h("div", { class: "content" }, this.renderStepTitle(step === null || step === void 0 ? void 0 : step.title), this.renderStepDescription(step === null || step === void 0 ? void 0 : step.description))));
|
|
11
|
+
};
|
|
12
|
+
this.renderStepIcon = (icon) => {
|
|
13
|
+
if (icon === 'check') {
|
|
14
|
+
return (h("div", { class: "check-icon" }, h("tet-icon", { class: "check", name: "check" })));
|
|
15
|
+
}
|
|
16
|
+
return h("div", { class: "circle" });
|
|
17
|
+
};
|
|
18
|
+
this.renderStepTitle = (title) => {
|
|
19
|
+
return title ? h("div", { class: "content-title", innerHTML: title }) : null;
|
|
20
|
+
};
|
|
21
|
+
this.renderStepDescription = (description) => {
|
|
22
|
+
return description ? h("div", { class: "content-description", innerHTML: description }) : null;
|
|
23
|
+
};
|
|
24
|
+
this.stepperData = [];
|
|
25
|
+
this.theme = 'light';
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (h(Host, { key: 'dece3c166882cf3b80550bf563c240a74873dcae' }, h("ol", { key: '91bfd3c1f28dae1ae4b56721a0d695b250ed2f94', class: {
|
|
29
|
+
stepper: true,
|
|
30
|
+
[this.theme]: true
|
|
31
|
+
} }, this.stepperData.map(this.renderStep.bind(this)))));
|
|
32
|
+
}
|
|
33
|
+
static get is() { return "tet-stepper-v3"; }
|
|
34
|
+
static get encapsulation() { return "shadow"; }
|
|
35
|
+
static get originalStyleUrls() {
|
|
36
|
+
return {
|
|
37
|
+
"$": ["tet-stepper-v3.scss"]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static get styleUrls() {
|
|
41
|
+
return {
|
|
42
|
+
"$": ["tet-stepper-v3.css"]
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static get properties() {
|
|
46
|
+
return {
|
|
47
|
+
"stepperData": {
|
|
48
|
+
"type": "unknown",
|
|
49
|
+
"mutable": false,
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "StepperV3StepInterface[]",
|
|
52
|
+
"resolved": "StepperV3StepInterface[]",
|
|
53
|
+
"references": {
|
|
54
|
+
"StepperV3StepInterface": {
|
|
55
|
+
"location": "local",
|
|
56
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.tsx",
|
|
57
|
+
"id": "src/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.tsx::StepperV3StepInterface"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"required": false,
|
|
62
|
+
"optional": false,
|
|
63
|
+
"docs": {
|
|
64
|
+
"tags": [],
|
|
65
|
+
"text": "An array of data to show in the stepper"
|
|
66
|
+
},
|
|
67
|
+
"defaultValue": "[]"
|
|
68
|
+
},
|
|
69
|
+
"theme": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "'light' | 'dark'",
|
|
74
|
+
"resolved": "\"dark\" | \"light\"",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "The theme of the component."
|
|
82
|
+
},
|
|
83
|
+
"attribute": "theme",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "'light'"
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -51,9 +51,9 @@ export class TetDatepickerHeader {
|
|
|
51
51
|
this.internalDateChanged.emit(newDate);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'e7ba3f37861a2885daa91d83931f54806d35e5d9', class: "header" }, this.datepickerView !== 'year'
|
|
55
55
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
56
|
-
: h("div", null), h("div", { key: '
|
|
56
|
+
: h("div", null), h("div", { key: '42893ca05833946f33455cba0b28689d9dfb1fee', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'a9b275586ae2e30c678bbfd73ed291a4a950e1eb', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
57
57
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
58
58
|
: h("div", null)));
|
|
59
59
|
}
|
|
@@ -156,7 +156,7 @@ export class TetDatepickerMonthView {
|
|
|
156
156
|
return date.toDateString() === this.currentDate.toDateString();
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: 'fe427edbdc99dd540cc676934c15af21ecd63448' }, h("div", { key: '6f79b0b63d2feaa82b03c87458ff56513eda24e0', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'b0c9afeb4a4002af751575d4a4e17c2ca775df1a', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "tet-datepicker-month-view"; }
|
|
162
162
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class TetDatepickerMultiYearView {
|
|
|
29
29
|
this.years = this.getYears(this.internalDate);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '5d44d96f15909feb53a1d47e65abbfcbe0113fff', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class TetDatepickerYearView {
|
|
|
34
34
|
return this.todayDate.getMonth() === monthIndex;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '1b139e987779fb41d1aa70bcfc66e993527d1dcb', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tet-datepicker-year-view"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class TetDatepicker {
|
|
|
94
94
|
this.rangeDatesChanged.emit(newDates);
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h("div", { key: '
|
|
98
|
-
h("tet-datepicker-month-view", { key: '
|
|
99
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
100
|
-
h("tet-datepicker-year-view", { key: '
|
|
97
|
+
return (h("div", { key: 'ec1cfcb4cb61607d6fde08d72f5d8ec67960e2fd', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '380dd06ac2eef3763d487f1f3402d5aa319152f2', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '829dfca521223b2a7295af97c8b5a1a0415a24bb', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: '07570e6f6a97936ab39254f7b7abc4102a709dec', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: 'e3341301d62e62f2ab41e1c65a0500cf531cddd9', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: '2c4ce88a9b0130530ede910d4499d4682cc00f01', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "tet-datepicker"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -747,31 +747,31 @@ export class TetRangeSlider {
|
|
|
747
747
|
this.updateProgress();
|
|
748
748
|
}
|
|
749
749
|
render() {
|
|
750
|
-
return (h(Host, { key: '
|
|
750
|
+
return (h(Host, { key: '76cadf4c30e046936d1103a8ec3be587301fa2e5' }, h("div", { key: '14a5b23d881f9eea91d36dac4033ae716ec74b95', class: {
|
|
751
751
|
'range-slider': true,
|
|
752
752
|
[`range-slider--${this.containerSize}`]: true,
|
|
753
753
|
[`range-slider--${this.type}`]: true,
|
|
754
754
|
'range-slider--no-controls': !this.withControls,
|
|
755
755
|
'range-slider--no-input': !this.withInput,
|
|
756
756
|
[this.theme]: true,
|
|
757
|
-
} }, h("div", { key: '
|
|
757
|
+
} }, h("div", { key: '3deb90476beaba909352d3e373261d445987161c', class: {
|
|
758
758
|
'range-slider__input-container': true,
|
|
759
759
|
'hidden': !this.withInput,
|
|
760
|
-
} }, h("tet-input", Object.assign({ key: '
|
|
760
|
+
} }, h("tet-input", Object.assign({ key: '71b554750afb371a9b9d6d4301d70e9903b81b71', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel }, (this.containerSize !== 'large' ? { inputTabindex: 3 } : {})))), h("div", { key: '940c744414295ecbe9395e51d193ec234929e4bc', class: "range-slider__container" }, h("tet-button", Object.assign({ key: '41d4a79a194a643b57a7fafe267ea1fd6bc85659', theme: this.theme, iconMode: true, class: {
|
|
761
761
|
'range-slider__control': true,
|
|
762
762
|
'range-slider__control--left': true,
|
|
763
763
|
'hidden': !this.withControls,
|
|
764
|
-
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '
|
|
764
|
+
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '9fb67d645785bf8e19216ef6cfb7f25d3cdd2b05', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '7bd9584baf224e8b32643c01f9482405ccdd0b73', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: '58594cf3c4c7faefdd7e1fd60fc16e85b4165860', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: 'b91c6f5c4be9d49ab30021478d9d08aade4429ae', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider" }, (this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 1 } : {})))), h("div", { key: '6569ccb69b5db541bb0f59e5c26d9892b7b7bf1f', class: "range-slider__track range-slider__track--background" }), h("div", { key: 'ac951e15df9660b44f23c2a3ac6140074bfee08f', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '110050353c13290324668064cecfc57745aedb9b', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '6852068928121c4b4c4fec2cc55c574b4654eb06', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
|
|
765
765
|
'range-slider__data-label-container': true,
|
|
766
766
|
'hidden': this.type === 'secondary' && this.containerSize === 'small',
|
|
767
|
-
} })), h("div", { key: '
|
|
767
|
+
} })), h("div", { key: 'a5d78efeeb02a3e168f56bd6d5e5f42e5719a703', class: {
|
|
768
768
|
'range-slider__current-step-container': true,
|
|
769
769
|
'hidden': !this.withCurrentStepCounter,
|
|
770
|
-
} }, h("div", { key: '
|
|
770
|
+
} }, h("div", { key: '054dc3008e90133e00edbdca4c98bdcb55a7db1f', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '0c305adacd23d17ca2323848d05874cdaebc7f17', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '93d40d8b94c508a176bdcead35f72662a4ac6ca0', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: '5fad29d0e1df28073d1e6e05b4a2fc085721f46d', theme: this.theme, iconMode: true, class: {
|
|
771
771
|
'range-slider__control': true,
|
|
772
772
|
'range-slider__control--right': true,
|
|
773
773
|
'hidden': !this.withControls,
|
|
774
|
-
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '
|
|
774
|
+
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '623fa80cff859e6b95284a1e3bd3077e54a78805', name: "add", class: "range-slider__control--icon" }))))));
|
|
775
775
|
}
|
|
776
776
|
static get is() { return "tet-range-slider"; }
|
|
777
777
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class TetStepperInput {
|
|
|
121
121
|
*/
|
|
122
122
|
render() {
|
|
123
123
|
const { onMinusClick, value, onPlusClick } = this;
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: 'e0d5f6335a018289de417ef8429e9721b322b254', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: 'b0cf8e4764ef907d8131429d8142453c86b70991', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: 'fab8bf2e83054bd219cb8a599a9e885871003be2', name: "remove", onClick: onMinusClick })), h("input", Object.assign({ key: '32dc412f591c027a01b47a700ef6656c9251e300', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'bb7ef44dd5b96cf4790fb7fe7ddbd1d79e95e299', type: "secondary", iconMode: true, theme: this.theme, size: 'small', "aria-label": t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '9b8bb509a7bdbec818705d7a073b80d34d5eaa4c', name: "add", onClick: onPlusClick }))));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "tet-stepper-input"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,8 +50,8 @@ export class TetTextarea {
|
|
|
50
50
|
'error': (errorMessages.length > 0),
|
|
51
51
|
'keyboard-focus': this.focusVisible,
|
|
52
52
|
};
|
|
53
|
-
return (h(Host, { key: '
|
|
54
|
-
h("span", { key: '
|
|
53
|
+
return (h(Host, { key: '28bf5cfd5f3867f508dce68066f106e5592d52c7' }, h("label", { key: 'fb89908d3d13a78d102f499d861638391360538a', class: { [`${theme}`]: true } }, label &&
|
|
54
|
+
h("span", { key: '81666647b11d90ebf318d9ab61c0d1744916439f', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '9702343afd9cdaa3209d4e8d92077d6f388340ad', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: 'e4925894380d6b2e303ebf82ae9a520df33bdab6', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off" }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "tet-textarea"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class TetNewsCardList {
|
|
|
65
65
|
scrollFullWidth,
|
|
66
66
|
controlScrollAmount,
|
|
67
67
|
};
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'eb67f9ed052ece63eae8a3c62de1046d48c11d0a' }, h("tet-card-list", Object.assign({ key: '1e6c3844d003a156216b8825e9b642dc3ab8b077', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true }, props), this.items.map((item, index) => this.renderListCard(item, index)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "tet-news-card-list"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js
CHANGED
|
@@ -54,13 +54,13 @@ export class TetNavigationMobile {
|
|
|
54
54
|
this.mainDropdownToggle.emit(isTogglerExpanded);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'af6c79548d6485a9d58c5d80d7dfb5b37e043d13' }, h("navigation", { key: '6488df2c7585f8b9abdb8df0bacee585b11a24ae', class: {
|
|
58
58
|
'navigation': true,
|
|
59
59
|
'navigation--dark': this.darkMode
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'f436c49f377e85d2ee28975de8d74a9352c6b36d', class: "navigation__nav-bar" }, h("slot", { key: '00369719e17b78dac10342ac3cbe85f3de5f3a62' })), this.isTogglerVisible && (h("span", { key: '2f083b097d13e75444a393d38c53794d8a44ec5d', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, !this.isTogglerExpanded && h("tet-icon", { key: 'ea89d24f6505dff0be6586a1434fad2bf61ead37', class: "navigation__toggler navigation__toggler--burger", name: "burger" }), this.isTogglerExpanded && h("tet-icon", { key: 'bd4f487e345d714af1c61cf6925b08157cb9d975', class: "navigation__toggler navigation__toggler--close", name: "close" }))), h("div", { key: '00b6d30fbab39f40a7b6c998664a80842bf40e1e', class: {
|
|
61
61
|
'navigation__dropdown': true,
|
|
62
62
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: 'afaee2dcda1306c0c66477c82de4cec7398e6c21', name: "dropdown" })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "tet-navigation-mobile"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,22 +107,22 @@ export class TetAccordion {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '22f614b05425d827ab0291dc8e909ee2305a4b24' }, h("div", { key: '6934bfe52243c5511ae0614a7f87c2aeded1193e', class: {
|
|
111
111
|
'tet-accordion': true,
|
|
112
112
|
'tet-accordion--border': this.withBorder,
|
|
113
113
|
[`${this.theme}-theme`]: true,
|
|
114
114
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
115
115
|
'transparent-bg': this.transparentBackground,
|
|
116
|
-
} }, h("div", { key: '
|
|
117
|
-
h("img", { key: '
|
|
116
|
+
} }, h("div", { key: '41a21eb1771f0d46b6ab25bd8920d5ed4afc4b07', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, this.headerImageSrc && this.headerImageSrc !== '' &&
|
|
117
|
+
h("img", { key: '9c68453e65ab6c7f33a4e90e2e79439b5dacf8e4', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" }), this.renderHeading(), h("tet-icon", { key: '015014ccf317e2e96cd62387e58d765e02081218', name: "chevron-down", class: {
|
|
118
118
|
'tet-accordion__icon': true,
|
|
119
119
|
'open': this.isOpen
|
|
120
|
-
} })), h("div", { key: '
|
|
120
|
+
} })), h("div", { key: '2bc9512a21706383fbe66b6c394a3189719bf8d2', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
121
121
|
'tet-accordion__content-wrapper': true,
|
|
122
122
|
'visible': this.isOpen
|
|
123
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
123
|
+
}, inert: !this.isOpen }, h("div", { key: '656b232c7288dc19b2afdc8409589d2d1e8530af', ref: (element) => (this.contentElement = element), class: {
|
|
124
124
|
'tet-accordion__content': true
|
|
125
|
-
} }, h("slot", { key: '
|
|
125
|
+
} }, h("slot", { key: '252e86d4b56b5732b298064ac5b65fc9fc93f351' }))))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "tet-accordion"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TetExpansionPanel {
|
|
|
63
63
|
return this.state;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h("div", { key: '
|
|
66
|
+
return (h("div", { key: '3973c801ae3263f2b80443bf95d9b95b0bf42828', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: '45aefcd2caf2b753a0202fd5a973cdc16d87e03d', class: "tet-expansion-panel-content" }, h("slot", { key: '04d3e119069ecc5252a22100951aa88272ee072e' }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "tet-expansion-panel"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -116,7 +116,7 @@ export class TetNotification {
|
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
118
|
const { headerTitle, content } = this;
|
|
119
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: 'ea68910ea921dcba94876825c2dd40ab4bb28e8b' }, h("div", { key: 'a88679392d728d7ac8e72c75aa2ea2adfe6ad50c', class: { notification: true, [this.theme]: true } }, h("div", { key: '53107485961bba50156440e9fe40ffd4e62a0c10', class: { item: true, [this.type]: true } }, h("div", { key: '2c89c4727d0573de9c3aab088f2d183be29aa78d', class: "header" }, this.renderTypeIcon(), h("div", { key: '40d008233eb2485e9cb79920724c7cc42dce656a', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '616a22392fb38522845a92912879478e28903563', class: "content" }, h("span", { key: '7e9d4fb1f2ac2149730aef2f4cf8def11e5cecfa', innerHTML: content }), h("div", { key: '4ccc156029288222be0662ba3a0944ac1468970a' }, h("slot", { key: 'b62acbd076c74470c120037848dba7b9624daf9c', name: "button" })))))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "tet-notification"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -351,7 +351,7 @@ export class TetTooltip {
|
|
|
351
351
|
return isTooltipOutOfBounds;
|
|
352
352
|
}
|
|
353
353
|
render() {
|
|
354
|
-
return h(Host, { key: '
|
|
354
|
+
return h(Host, { key: '6f2107dbd51105a5724c4624d0459736544779dd', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
355
355
|
}
|
|
356
356
|
static get is() { return "tet-tooltip"; }
|
|
357
357
|
static get encapsulation() { return "shadow"; }
|
|
@@ -129,7 +129,7 @@ export class TetAddressOffersView {
|
|
|
129
129
|
return h(Fragment, null);
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'eb7b887a1fca3a0600f1cbedf988da5358240e9b' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
133
133
|
}
|
|
134
134
|
static get is() { return "tet-address-offers-view"; }
|
|
135
135
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js
CHANGED
|
@@ -51,7 +51,7 @@ export class TetB2bServiceCalculator {
|
|
|
51
51
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("section", { key: '
|
|
54
|
+
return (h("section", { key: '4a0cae9a6c92e56daab2179816535f626b6b91e4', class: "container" }, h("div", { key: '74ac98a2c919c61486ffa561d765c7851e416498', class: "title-block" }, t('components-b2b-calculator-title')), h("div", { key: '93422557e4cfa64b108af608d973976e17bdf4df', class: "calculator-block" }, h("p", { key: '02641f328325cd750435da8fe52f298f64fde409', class: "slider-title" }, t('components-b2b-calculator-computer-count')), h("tet-range-slider", { key: '8c91d0070d7c2e3909f85ddd964e232cbdde1723', class: "slider", size: "large", type: "primary", defaultValue: 75, maxValue: 100, withControls: false, withInput: false, dataPoints: [1, 20, 40, 60, 80, 100], displayDataPoints: [1, 20, 40, 60, 80, 100], lockToDataPoint: false }), h("div", { key: '0b97bb2ab85d823b8dfacea52af226fb8d2dc939', class: "control-container" }, h("div", { key: '0650a9f5be57662c6f2d285565aa6cfddd93f5c7', class: "control" }, h("tet-checkbox", { key: '14a580ad3ae90dcd782e5587a2b88fb5620840c7', class: "it-admin-checkbox", checked: this.withItAdmin, onCheck: this.handleWithItAdminValueChange }, t('components-b2b-calculator-it-admin-checkbox-label'))), h("div", { key: '768d6a300bdd9d087dc0d0108c88bd5f0ae25a51', class: "control" }, h("tet-switch", { key: '954efdd4249c798f81f4d74610e8ab9a86657bf1', class: "in-person-support-switch", checked: this.withInPersonServiceSupport, onCheck: this.handleInPersonServiceSupportValueChange }, t('components-b2b-calculator-in-person-support-switch-label')))), h("div", { key: '7902cf23ad4cdcc8233c1f08c03a55c0dbca15db', class: "monthly-payment-block" }, h("p", { key: 'e9db88a81af29275364d5ace234f38c6d1804624', class: "title" }, t('components-b2b-calculator-potential-monthly-payment')), h("p", { key: '4585df1658a18717d640583cb8a56e475af3d7b3' }, h("span", { key: '9c3fdefe74748100dc7d6dffa0eb3e0276565804', class: "price" }, this.totalPrice), h("span", { key: 'f5e4c952bf64b0dc7e58fbb23fd8a5a3c306d6f8', class: "currency" }, t('components-euro-per-month')))))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "tet-b2b-service-calculator"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class TetBusinessLines {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'cef949ef5ed1b55e430413bc9ac8f2780723fde0', class: "container" }, this.showHeadings && this.renderHeadings(), h("div", { key: '3aa8858a5a3f621aa9b9be5bac9abd496581a8db', class: "business-line-wrapper" }, (_a = this.businessLines) === null || _a === void 0 ? void 0 : _a.map(this.renderBusinessLineItem))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "tet-business-lines"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/views/tet-thank-you-view-v3/test/tet-thank-you-view-v3.spec.js
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
3
|
+
import { TetStepperV3 } from "../../../basic/steppers/tet-stepper-v3/tet-stepper-v3";
|
|
4
|
+
import { TetThankYouViewV3 } from "../tet-thank-you-view-v3";
|
|
5
|
+
describe('tet-thank-you-view-v3', () => {
|
|
6
|
+
it('renders an empty thank you view when no data provided', async () => {
|
|
7
|
+
const page = await newSpecPage({
|
|
8
|
+
components: [TetThankYouViewV3],
|
|
9
|
+
template: () => h("tet-thank-you-view-v3", null)
|
|
10
|
+
});
|
|
11
|
+
expect(page.root).toEqualHtml(`
|
|
12
|
+
<tet-thank-you-view-v3>
|
|
13
|
+
<mock:shadow-root>
|
|
14
|
+
<div class="thank-you-view-v3 light">
|
|
15
|
+
<div class="thank-you-view-v3-info-block">
|
|
16
|
+
<tet-icon aria-hidden="true" class="thank-you-view-v3-icon" name="check"></tet-icon>
|
|
17
|
+
<div class="thank-you-view-v3-info-block-text">
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</mock:shadow-root>
|
|
22
|
+
</tet-thank-you-view-v3>
|
|
23
|
+
`);
|
|
24
|
+
});
|
|
25
|
+
it('renders the thank you view without icon', async () => {
|
|
26
|
+
const page = await newSpecPage({
|
|
27
|
+
components: [TetThankYouViewV3],
|
|
28
|
+
template: () => h("tet-thank-you-view-v3", { icon: "none" })
|
|
29
|
+
});
|
|
30
|
+
expect(page.root).toEqualHtml(`
|
|
31
|
+
<tet-thank-you-view-v3>
|
|
32
|
+
<mock:shadow-root>
|
|
33
|
+
<div class="thank-you-view-v3 light">
|
|
34
|
+
<div class="thank-you-view-v3-info-block">
|
|
35
|
+
<div class="thank-you-view-v3-info-block-text">
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</mock:shadow-root>
|
|
40
|
+
</tet-thank-you-view-v3>
|
|
41
|
+
`);
|
|
42
|
+
});
|
|
43
|
+
it('renders the thank you view with description', async () => {
|
|
44
|
+
const props = {
|
|
45
|
+
mainBlockTitle: 'mainBlockTitle',
|
|
46
|
+
mainBlockDescription: 'mainBlockDescription'
|
|
47
|
+
};
|
|
48
|
+
const page = await newSpecPage({
|
|
49
|
+
components: [TetThankYouViewV3],
|
|
50
|
+
template: () => h("tet-thank-you-view-v3", Object.assign({}, props))
|
|
51
|
+
});
|
|
52
|
+
expect(page.root).toEqualHtml(`
|
|
53
|
+
<tet-thank-you-view-v3>
|
|
54
|
+
<mock:shadow-root>
|
|
55
|
+
<div class="thank-you-view-v3 light">
|
|
56
|
+
<div class="thank-you-view-v3-info-block">
|
|
57
|
+
<tet-icon aria-hidden="true" class="thank-you-view-v3-icon" name="check"></tet-icon>
|
|
58
|
+
<div class="thank-you-view-v3-info-block-text">
|
|
59
|
+
<h1 class="thank-you-view-v3-info-block-title">
|
|
60
|
+
mainBlockTitle
|
|
61
|
+
</h1>
|
|
62
|
+
<div class="thank-you-view-v3-info-block-description">
|
|
63
|
+
mainBlockDescription
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</mock:shadow-root>
|
|
69
|
+
</tet-thank-you-view-v3>
|
|
70
|
+
`);
|
|
71
|
+
});
|
|
72
|
+
it.skip('renders the thank you view with stepper', async () => {
|
|
73
|
+
const props = {
|
|
74
|
+
stepperData: [
|
|
75
|
+
{
|
|
76
|
+
icon: 'check',
|
|
77
|
+
active: true,
|
|
78
|
+
title: 'Tikko',
|
|
79
|
+
description: 'Pieteikums nosūtīts'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
icon: 'check',
|
|
83
|
+
active: true,
|
|
84
|
+
title: 'Tikko',
|
|
85
|
+
description: 'Pieteikums Saņemts'
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
icon: 'check'
|
|
89
|
+
};
|
|
90
|
+
const page = await newSpecPage({
|
|
91
|
+
components: [TetThankYouViewV3, TetStepperV3],
|
|
92
|
+
template: () => h("tet-thank-you-view-v3", Object.assign({}, props))
|
|
93
|
+
});
|
|
94
|
+
expect(page.root).toEqualHtml(`
|
|
95
|
+
<tet-thank-you-view-v3>
|
|
96
|
+
<mock:shadow-root>
|
|
97
|
+
<div class="thank-you-view-v3">
|
|
98
|
+
<div class="thank-you-view-v3-info-block">
|
|
99
|
+
<tet-icon class="thank-you-view-v3-icon" name="check"></tet-icon>
|
|
100
|
+
<div class="thank-you-view-v3-info-block-text">
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="thank-you-view-v3-stepper">
|
|
104
|
+
<tet-stepper-v3>
|
|
105
|
+
<mock:shadow-root>
|
|
106
|
+
<ol class="stepper">
|
|
107
|
+
<li class="stepper-step">
|
|
108
|
+
<li class="active stepper-line"></li>
|
|
109
|
+
<div class="stepper-step-wrapper">
|
|
110
|
+
<div class="stepper-step-wrapper-icon">
|
|
111
|
+
<div class="check-icon">
|
|
112
|
+
<tet-icon class="check" name="check"></tet-icon>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="stepper-step-wrapper-content">
|
|
116
|
+
<div class="stepper-step-wrapper-content-title">
|
|
117
|
+
Tikko
|
|
118
|
+
</div>
|
|
119
|
+
<div class="stepper-step-wrapper-content-description">
|
|
120
|
+
Pieteikums nosūtīts
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</li>
|
|
125
|
+
<li class="stepper-step">
|
|
126
|
+
<div class="stepper-step-wrapper">
|
|
127
|
+
<div class="stepper-step-wrapper-icon">
|
|
128
|
+
<div class="check-icon">
|
|
129
|
+
<tet-icon class="check" name="check"></tet-icon>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="stepper-step-wrapper-content">
|
|
133
|
+
<div class="stepper-step-wrapper-content-title">
|
|
134
|
+
Tikko
|
|
135
|
+
</div>
|
|
136
|
+
<div class="stepper-step-wrapper-content-description">
|
|
137
|
+
Pieteikums Saņemts
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</li>
|
|
142
|
+
</ol>
|
|
143
|
+
</mock:shadow-root>
|
|
144
|
+
</tet-stepper-v3>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</mock:shadow-root>
|
|
148
|
+
</tet-thank-you-view-v3>
|
|
149
|
+
`);
|
|
150
|
+
});
|
|
151
|
+
it('renders the thank you view with cta button and dark theme', async () => {
|
|
152
|
+
const page = await newSpecPage({
|
|
153
|
+
components: [TetThankYouViewV3],
|
|
154
|
+
template: () => h("tet-thank-you-view-v3", { ctaButtonLabel: "ctaButtonLabel", theme: "dark" })
|
|
155
|
+
});
|
|
156
|
+
expect(page.root).toEqualHtml(`
|
|
157
|
+
<tet-thank-you-view-v3>
|
|
158
|
+
<mock:shadow-root>
|
|
159
|
+
<div class="thank-you-view-v3 dark">
|
|
160
|
+
<div class="thank-you-view-v3-info-block">
|
|
161
|
+
<tet-icon aria-hidden="true" class="thank-you-view-v3-icon" name="check"></tet-icon>
|
|
162
|
+
<div class="thank-you-view-v3-info-block-text">
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<nav class="thank-you-view-v3-cta-button" aria-label="CTA">
|
|
166
|
+
<tet-button accessibilitylabel="ctaButtonLabel" element-id="thankYouBackButton" size="large" theme="dark" type="primary">
|
|
167
|
+
ctaButtonLabel
|
|
168
|
+
</tet-button>
|
|
169
|
+
</nav>
|
|
170
|
+
</div>
|
|
171
|
+
</mock:shadow-root>
|
|
172
|
+
</tet-thank-you-view-v3>
|
|
173
|
+
`);
|
|
174
|
+
});
|
|
175
|
+
});
|