@tet/tet-components 1.3.54-testing → 1.3.55-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} +5 -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 +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +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-carousel.cjs.entry.js +124 -0
- 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 +3 -3
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/cjs/tet-price-view.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 +1 -1
- 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 +3 -3
- 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 +1 -0
- package/dist/collection/components/basic/carousel/tet-carousel/test/tet-carousel.spec.js +45 -0
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.css +497 -0
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +335 -0
- 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-label/tet-label.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-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.css +15 -0
- 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/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 +3 -1
- package/dist/components/{p-65b0ab06.js → p-023b81b5.js} +7 -7
- package/dist/components/{p-f09eadd2.js → p-07b069e4.js} +2 -2
- package/dist/components/{p-72dc8bb7.js → p-084b6798.js} +1 -1
- package/dist/components/{p-b12bd2f2.js → p-0d21018f.js} +2 -2
- package/dist/components/{p-3734e5da.js → p-0eccdffc.js} +2 -2
- package/dist/components/{p-121c4ccd.js → p-22cb1f7f.js} +2 -2
- package/dist/components/{p-e5133638.js → p-2b82aa91.js} +1 -1
- package/dist/components/{p-26b0ae88.js → p-311a65bf.js} +3 -3
- package/dist/components/{p-21667ac9.js → p-36c9f1d9.js} +1 -1
- package/dist/components/{p-7935fc08.js → p-49a77bc8.js} +2 -2
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-8dbb024e.js → p-4fcfb70c.js} +2 -2
- package/dist/components/{p-56174806.js → p-50e215cb.js} +3 -3
- 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-6b1ec34a.js → p-54ad46b7.js} +3 -3
- package/dist/components/{p-df02e0a6.js → p-5749d732.js} +2 -2
- package/dist/components/{p-3cdcf903.js → p-5816d282.js} +2 -2
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-719438b2.js → p-66f8e5a7.js} +2 -2
- package/dist/components/{p-b215fe36.js → p-680ce735.js} +1 -1
- package/dist/components/{p-a63d3582.js → p-6cc02895.js} +2 -2
- package/dist/components/{p-7c013a29.js → p-7a6d9284.js} +3 -3
- package/dist/components/{p-6ac1d4b9.js → p-7a98a10e.js} +7 -7
- package/dist/components/{p-4c25d5fb.js → p-859cac6e.js} +1 -1
- package/dist/components/{p-8d19211e.js → p-8889e632.js} +3 -3
- package/dist/components/{p-74ff4f72.js → p-92365b7e.js} +1 -1
- package/dist/components/{p-f7de89c3.js → p-92fec3e8.js} +1 -1
- package/dist/components/{p-c41e50a9.js → p-93f6fa24.js} +11 -11
- package/dist/components/{p-8c37c237.js → p-9bc13031.js} +1 -1
- package/dist/components/{p-ff30d599.js → p-9c6ff494.js} +3 -3
- package/dist/components/{p-7605b972.js → p-9cc6fc7e.js} +2 -2
- package/dist/components/{p-781183d0.js → p-9e4e4b86.js} +9 -9
- package/dist/components/{p-e2b66f7e.js → p-a6dc47ea.js} +9 -9
- package/dist/components/{p-a2bec763.js → p-a6e5bb84.js} +3 -3
- package/dist/components/{p-72b8586b.js → p-ad2c1218.js} +1 -1
- package/dist/components/{p-46839fc1.js → p-b38b166a.js} +3 -3
- package/dist/components/{p-3858c2ef.js → p-b46ff825.js} +2 -2
- package/dist/components/{p-dc40f2ee.js → p-b5d3aafa.js} +4 -4
- package/dist/components/{p-04ee81de.js → p-b6faa15e.js} +7 -7
- package/dist/components/{p-e66a19c3.js → p-bb8c7be0.js} +3 -3
- package/dist/components/{p-ae1f41ee.js → p-bdb032c1.js} +1 -1
- package/dist/components/{p-6f457b76.js → p-c753ab82.js} +1 -1
- package/dist/components/{p-61cb90b5.js → p-d277ab21.js} +4 -4
- package/dist/components/{p-e9eec6af.js → p-d9cdab92.js} +2 -2
- package/dist/components/{p-4ebac8e6.js → p-eb200efc.js} +11 -11
- package/dist/components/{p-3595bd2f.js → p-ec8d7490.js} +4 -4
- package/dist/components/{p-37d71ac9.js → p-ee0821aa.js} +5 -5
- package/dist/components/{p-9e36bb02.js → p-f026cae7.js} +3 -3
- 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-banner-nav.js +3 -3
- 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-carousel.d.ts +11 -0
- package/dist/components/tet-carousel.js +167 -0
- 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 +5 -5
- 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 +6 -6
- 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-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +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.js +1 -1
- 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.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-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} +5 -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 +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +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-carousel.entry.js +120 -0
- 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 +3 -3
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/tet-price-view.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 +1 -1
- 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 +3 -3
- 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-0689c00c.entry.js → p-05126596.entry.js} +1 -1
- package/dist/tet-components/{p-b0161172.entry.js → p-08572659.entry.js} +1 -1
- package/dist/tet-components/{p-f4786b25.entry.js → p-0d4bafff.entry.js} +1 -1
- package/dist/tet-components/{p-faaf4f9e.entry.js → p-0e9714d1.entry.js} +1 -1
- package/dist/tet-components/{p-6b022547.entry.js → p-15f53169.entry.js} +1 -1
- package/dist/tet-components/{p-0eb04a55.entry.js → p-1985994b.entry.js} +1 -1
- package/dist/tet-components/{p-962a8531.entry.js → p-1c772799.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-3287547c.entry.js → p-20d5a05d.entry.js} +1 -1
- package/dist/tet-components/{p-deb15b17.entry.js → p-242385cf.entry.js} +1 -1
- package/dist/tet-components/{p-f2c22d88.entry.js → p-25ec7752.entry.js} +1 -1
- package/dist/tet-components/{p-b0b35cc1.entry.js → p-2becbebf.entry.js} +1 -1
- package/dist/tet-components/{p-46a33f5c.entry.js → p-2c5f342f.entry.js} +1 -1
- package/dist/tet-components/{p-121d2baf.entry.js → p-30514436.entry.js} +1 -1
- package/dist/tet-components/{p-a96ad9aa.entry.js → p-30c078c5.entry.js} +1 -1
- package/dist/tet-components/{p-0b54af69.entry.js → p-315342d8.entry.js} +1 -1
- package/dist/tet-components/{p-41c25541.js → p-3569a18c.js} +1 -1
- package/dist/tet-components/{p-5592fd53.entry.js → p-37026da8.entry.js} +1 -1
- package/dist/tet-components/{p-0adb3727.entry.js → p-37821809.entry.js} +1 -1
- package/dist/tet-components/{p-dacff13f.entry.js → p-3819d28c.entry.js} +1 -1
- package/dist/tet-components/{p-01d2c9b2.entry.js → p-3cfd9d56.entry.js} +1 -1
- package/dist/tet-components/{p-390dae53.entry.js → p-3d664b04.entry.js} +1 -1
- package/dist/tet-components/{p-1b2509c8.entry.js → p-43739c87.entry.js} +1 -1
- package/dist/tet-components/{p-c7c13d6f.entry.js → p-46dfca3e.entry.js} +1 -1
- package/dist/tet-components/{p-95636edc.entry.js → p-479280dd.entry.js} +1 -1
- package/dist/tet-components/{p-f4465153.entry.js → p-49005682.entry.js} +1 -1
- package/dist/tet-components/{p-4ff3f495.entry.js → p-4be935e7.entry.js} +1 -1
- package/dist/tet-components/{p-67ec9240.entry.js → p-5096cdd8.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-5478765f.entry.js} +1 -1
- package/dist/tet-components/{p-d3942c05.entry.js → p-590be092.entry.js} +1 -1
- package/dist/tet-components/{p-325515ed.entry.js → p-5ff250bd.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-ca27b8cd.entry.js → p-73316969.entry.js} +1 -1
- package/dist/tet-components/{p-ca9f5abc.entry.js → p-75010137.entry.js} +1 -1
- package/dist/tet-components/{p-fbba6158.entry.js → p-75824c29.entry.js} +1 -1
- package/dist/tet-components/{p-7123c8cb.js → p-7c3a56ca.js} +1 -1
- package/dist/tet-components/{p-fe5d035f.entry.js → p-8060aa10.entry.js} +1 -1
- package/dist/tet-components/{p-f52944ee.entry.js → p-81c87b9a.entry.js} +1 -1
- package/dist/tet-components/{p-5d02dddb.entry.js → p-89fc1125.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-8cadf068.entry.js → p-936e5f8c.entry.js} +1 -1
- package/dist/tet-components/{p-9dc1225b.entry.js → p-945195c6.entry.js} +1 -1
- package/dist/tet-components/{p-d6c31a48.entry.js → p-97eb0f7e.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-d4099361.entry.js → p-9d976959.entry.js} +1 -1
- package/dist/tet-components/{p-5320b4ff.entry.js → p-9e207dba.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-14398114.entry.js → p-a88ada98.entry.js} +1 -1
- package/dist/tet-components/{p-d9677b1a.entry.js → p-aa8c2b71.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-2bce11d6.entry.js → p-aecd68fb.entry.js} +1 -1
- package/dist/tet-components/{p-76fc9aa4.entry.js → p-b38f7d3f.entry.js} +1 -1
- package/dist/tet-components/{p-535aa0e6.entry.js → p-b56d9e19.entry.js} +1 -1
- package/dist/tet-components/{p-948edd76.entry.js → p-b8158138.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-9eafff73.entry.js → p-c892bc9f.entry.js} +1 -1
- package/dist/tet-components/{p-7c4f96e7.entry.js → p-c8b387e5.entry.js} +1 -1
- package/dist/tet-components/p-c918cd3e.entry.js +1 -0
- package/dist/tet-components/{p-13834305.entry.js → p-ce5c927c.entry.js} +1 -1
- package/dist/tet-components/{p-797ed993.entry.js → p-d15daa7a.entry.js} +1 -1
- package/dist/tet-components/{p-41fc2b1b.entry.js → p-d38474cb.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-17b64c90.entry.js → p-df1daf00.entry.js} +1 -1
- package/dist/tet-components/{p-e0bb4410.entry.js → p-dfe62910.entry.js} +1 -1
- package/dist/tet-components/{p-17219f8f.js → p-e06817f1.js} +1 -1
- package/dist/tet-components/{p-39de75af.js → p-e340aec2.js} +1 -1
- package/dist/tet-components/{p-85746897.entry.js → p-e5ebf041.entry.js} +1 -1
- package/dist/tet-components/{p-c316ffe5.entry.js → p-e696a2c6.entry.js} +1 -1
- package/dist/tet-components/{p-e5a15112.entry.js → p-eab907b1.entry.js} +1 -1
- package/dist/tet-components/{p-ab67c8ec.entry.js → p-efcbd8d3.entry.js} +1 -1
- package/dist/tet-components/{p-4b3fc9e2.entry.js → p-f1bdb246.entry.js} +1 -1
- package/dist/tet-components/{p-433fa62c.entry.js → p-f53247e0.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/carousel/tet-carousel/tet-carousel.d.ts +68 -0
- package/dist/types/components.d.ts +101 -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,335 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class TetCarousel {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.trackElement = null;
|
|
5
|
+
this.dragStartX = 0;
|
|
6
|
+
this.dragOffset = 0;
|
|
7
|
+
this.handlePrev = () => {
|
|
8
|
+
if (this.activeIndex > 0) {
|
|
9
|
+
this.activeIndex -= 1;
|
|
10
|
+
}
|
|
11
|
+
this.dragOffset = -(this.activeIndex * window.innerWidth);
|
|
12
|
+
};
|
|
13
|
+
this.handleNext = () => {
|
|
14
|
+
var _a, _b, _c;
|
|
15
|
+
if (this.activeIndex < this.screenCount - 1) {
|
|
16
|
+
this.activeIndex += 1;
|
|
17
|
+
}
|
|
18
|
+
this.dragOffset = -(this.activeIndex * window.innerWidth);
|
|
19
|
+
if (this.screenCount - 1 === this.activeIndex && !this.isDragging) {
|
|
20
|
+
const wrapperWidth = ((_a = this.container) === null || _a === void 0 ? void 0 : _a.offsetWidth) || window.innerWidth;
|
|
21
|
+
const totalWidth = ((_c = (_b = this.trackElement) === null || _b === void 0 ? void 0 : _b.querySelector('slot')) === null || _c === void 0 ? void 0 : _c.offsetWidth) || window.innerWidth;
|
|
22
|
+
this.dragOffset = -(totalWidth - wrapperWidth);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.handleDotClick = (idx) => {
|
|
26
|
+
this.activeIndex = idx;
|
|
27
|
+
this.dragOffset = -(idx * window.innerWidth);
|
|
28
|
+
};
|
|
29
|
+
this.onPointerDown = (e) => {
|
|
30
|
+
this.isDragging = true;
|
|
31
|
+
this.dragStartX = e.screenX;
|
|
32
|
+
};
|
|
33
|
+
this.onPointerMove = (e) => {
|
|
34
|
+
var _a, _b, _c;
|
|
35
|
+
if (!this.isDragging)
|
|
36
|
+
return;
|
|
37
|
+
const delta = e.screenX - this.dragStartX;
|
|
38
|
+
let _dragOffset = this.dragOffset;
|
|
39
|
+
_dragOffset += delta;
|
|
40
|
+
this.dragStartX = e.screenX;
|
|
41
|
+
const wrapperWidth = ((_a = this.container) === null || _a === void 0 ? void 0 : _a.offsetWidth) || window.innerWidth;
|
|
42
|
+
const totalWidth = ((_c = (_b = this.trackElement) === null || _b === void 0 ? void 0 : _b.querySelector('slot')) === null || _c === void 0 ? void 0 : _c.offsetWidth) || window.innerWidth;
|
|
43
|
+
const totalScrollableWidth = -(totalWidth - wrapperWidth);
|
|
44
|
+
if (totalScrollableWidth < _dragOffset && _dragOffset < 0) {
|
|
45
|
+
this.dragOffset = _dragOffset;
|
|
46
|
+
}
|
|
47
|
+
// calculations for active index/dots
|
|
48
|
+
const screenWidth = window.innerWidth;
|
|
49
|
+
let index = Math.round(-this.dragOffset / screenWidth);
|
|
50
|
+
index = Math.max(0, Math.min(index, this.screenCount - 1));
|
|
51
|
+
const offset = 50;
|
|
52
|
+
this.activeIndex = totalScrollableWidth + offset > this.dragOffset ? this.screenCount - 1 : index;
|
|
53
|
+
if (this.trackElement) {
|
|
54
|
+
this.trackElement.style.transform = `translateX(${this.dragOffset}px)`;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
this.onPointerUp = () => {
|
|
58
|
+
if (!this.isDragging)
|
|
59
|
+
return;
|
|
60
|
+
this.isDragging = false;
|
|
61
|
+
};
|
|
62
|
+
this.activeIndex = 0;
|
|
63
|
+
this.screenCount = 0;
|
|
64
|
+
this.totalItems = 0;
|
|
65
|
+
this.items = [];
|
|
66
|
+
this.theme = 'light';
|
|
67
|
+
this.isDragging = false;
|
|
68
|
+
this.showDots = true;
|
|
69
|
+
this.showButtons = true;
|
|
70
|
+
this.transitionDuration = 500;
|
|
71
|
+
this.transitionTiming = 'cubic-bezier(0.77,0,0.175,1)';
|
|
72
|
+
this.buttonIconLeft = 'arrow-left';
|
|
73
|
+
this.buttonIconRight = 'arrow-right';
|
|
74
|
+
this.containerClass = '';
|
|
75
|
+
this.trackClass = '';
|
|
76
|
+
this.buttonClass = '';
|
|
77
|
+
this.dotClass = '';
|
|
78
|
+
}
|
|
79
|
+
getScreenCount() {
|
|
80
|
+
var _a;
|
|
81
|
+
const slot = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelector('slot');
|
|
82
|
+
if (!slot)
|
|
83
|
+
return 1;
|
|
84
|
+
const assigned = slot.assignedElements ? slot.assignedElements() : [];
|
|
85
|
+
if (assigned.length === 0)
|
|
86
|
+
return 1;
|
|
87
|
+
let totalWidth = 0;
|
|
88
|
+
assigned.forEach((el, index) => {
|
|
89
|
+
totalWidth += el.offsetWidth || 0;
|
|
90
|
+
this.items.push({ id: index, width: el.offsetWidth || 0 });
|
|
91
|
+
});
|
|
92
|
+
if (totalWidth === 0) {
|
|
93
|
+
totalWidth = assigned.length * window.innerWidth;
|
|
94
|
+
}
|
|
95
|
+
const screenWidth = window.innerWidth;
|
|
96
|
+
this.totalItems = assigned.length;
|
|
97
|
+
this.screenCount = Math.ceil(totalWidth / screenWidth);
|
|
98
|
+
}
|
|
99
|
+
componentDidLoad() {
|
|
100
|
+
this.getScreenCount();
|
|
101
|
+
window.addEventListener('resize', this.getScreenCount.bind(this));
|
|
102
|
+
}
|
|
103
|
+
disconnectedCallback() {
|
|
104
|
+
window.removeEventListener('resize', this.getScreenCount.bind(this));
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
return (h(Host, { key: 'c0c5a431f27cfc26b6d536365ae51d616a0db671' }, h("div", { key: '08eebeca44555015b022532ca62641131e8c3923', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el) }, h("div", { key: 'b6f277f138b8b17daf11f8d0e1cad3eaa4b927e4', class: "tet-carousel__container" }, h("div", { key: '23afda42a98b42f7af2e8758ae4599a5c4634f58', class: "tet-carousel__track", ref: (el) => (this.trackElement = el), style: {
|
|
108
|
+
transform: `translateX(${this.dragOffset}px)`,
|
|
109
|
+
transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
|
|
110
|
+
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp }, h("slot", { key: 'dda3676774a5230b4b30f1bb512a319c1eb73b08' }))), h("div", { key: 'db5950e3b194eb339554cab693630d0324298cd5', class: "tet-carousel__controls" }, this.showButtons && (h("div", { key: 'f76009ce91bbaba5898bfe0f21e668c8294be4e0', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: 'b9b8e019bbfa432344e6bfd341c0920eed1c8fc8', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }))), this.showDots && (h("div", { key: '327741bae737ea4aaa3007f636d7635666b64b10', class: "tet-carousel__dots" }, Array.from({ length: this.screenCount }).map((_, idx) => (h("span", { class: `tet-carousel__dot${idx === this.activeIndex ? ' active' : ''}`, key: idx, onClick: () => this.handleDotClick(idx) }))))), this.showButtons && (h("div", { key: '92c494d5d1b69ec29c4fbb741c4f5f93978a8c37', class: "tet-carousel__buttons " }, h("tet-button", { key: '8caabcdfce3ca5a3df187caca214376a2ad633fb', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, onClick: this.handlePrev, "aria-label": "Previous", disabled: this.screenCount <= 1 || this.activeIndex === 0 }), h("tet-button", { key: 'cdc69b9ea0f4c65f6095ae577ed1a8846e7f810e', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, onClick: this.handleNext, "aria-label": "Next", disabled: this.screenCount <= 1 || this.activeIndex === this.screenCount - 1 })))))));
|
|
111
|
+
}
|
|
112
|
+
static get is() { return "tet-carousel"; }
|
|
113
|
+
static get encapsulation() { return "shadow"; }
|
|
114
|
+
static get originalStyleUrls() {
|
|
115
|
+
return {
|
|
116
|
+
"$": ["tet-carousel.scss"]
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
static get styleUrls() {
|
|
120
|
+
return {
|
|
121
|
+
"$": ["tet-carousel.css"]
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
static get properties() {
|
|
125
|
+
return {
|
|
126
|
+
"theme": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "'light' | 'dark' | 'mint'",
|
|
131
|
+
"resolved": "\"dark\" | \"light\" | \"mint\"",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Theme for the carousel ('light', 'dark', 'mint')."
|
|
139
|
+
},
|
|
140
|
+
"attribute": "theme",
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"defaultValue": "'light'"
|
|
143
|
+
},
|
|
144
|
+
"showDots": {
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"mutable": false,
|
|
147
|
+
"complexType": {
|
|
148
|
+
"original": "boolean",
|
|
149
|
+
"resolved": "boolean",
|
|
150
|
+
"references": {}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Show navigation dots below the carousel."
|
|
157
|
+
},
|
|
158
|
+
"attribute": "show-dots",
|
|
159
|
+
"reflect": false,
|
|
160
|
+
"defaultValue": "true"
|
|
161
|
+
},
|
|
162
|
+
"showButtons": {
|
|
163
|
+
"type": "boolean",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "boolean",
|
|
167
|
+
"resolved": "boolean",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "Show navigation buttons on the carousel."
|
|
175
|
+
},
|
|
176
|
+
"attribute": "show-buttons",
|
|
177
|
+
"reflect": false,
|
|
178
|
+
"defaultValue": "true"
|
|
179
|
+
},
|
|
180
|
+
"transitionDuration": {
|
|
181
|
+
"type": "number",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "number",
|
|
185
|
+
"resolved": "number",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "Duration of the carousel transition in milliseconds."
|
|
193
|
+
},
|
|
194
|
+
"attribute": "transition-duration",
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"defaultValue": "500"
|
|
197
|
+
},
|
|
198
|
+
"transitionTiming": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "string",
|
|
203
|
+
"resolved": "string",
|
|
204
|
+
"references": {}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": false,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "CSS timing function for carousel transition."
|
|
211
|
+
},
|
|
212
|
+
"attribute": "transition-timing",
|
|
213
|
+
"reflect": false,
|
|
214
|
+
"defaultValue": "'cubic-bezier(0.77,0,0.175,1)'"
|
|
215
|
+
},
|
|
216
|
+
"buttonIconLeft": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "string",
|
|
221
|
+
"resolved": "string",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": false,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "Icon name for the left navigation button."
|
|
229
|
+
},
|
|
230
|
+
"attribute": "button-icon-left",
|
|
231
|
+
"reflect": false,
|
|
232
|
+
"defaultValue": "'arrow-left'"
|
|
233
|
+
},
|
|
234
|
+
"buttonIconRight": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"mutable": false,
|
|
237
|
+
"complexType": {
|
|
238
|
+
"original": "string",
|
|
239
|
+
"resolved": "string",
|
|
240
|
+
"references": {}
|
|
241
|
+
},
|
|
242
|
+
"required": false,
|
|
243
|
+
"optional": false,
|
|
244
|
+
"docs": {
|
|
245
|
+
"tags": [],
|
|
246
|
+
"text": "Icon name for the right navigation button."
|
|
247
|
+
},
|
|
248
|
+
"attribute": "button-icon-right",
|
|
249
|
+
"reflect": false,
|
|
250
|
+
"defaultValue": "'arrow-right'"
|
|
251
|
+
},
|
|
252
|
+
"containerClass": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"mutable": false,
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "string",
|
|
257
|
+
"resolved": "string",
|
|
258
|
+
"references": {}
|
|
259
|
+
},
|
|
260
|
+
"required": false,
|
|
261
|
+
"optional": false,
|
|
262
|
+
"docs": {
|
|
263
|
+
"tags": [],
|
|
264
|
+
"text": "Additional CSS class for the carousel container."
|
|
265
|
+
},
|
|
266
|
+
"attribute": "container-class",
|
|
267
|
+
"reflect": false,
|
|
268
|
+
"defaultValue": "''"
|
|
269
|
+
},
|
|
270
|
+
"trackClass": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"mutable": false,
|
|
273
|
+
"complexType": {
|
|
274
|
+
"original": "string",
|
|
275
|
+
"resolved": "string",
|
|
276
|
+
"references": {}
|
|
277
|
+
},
|
|
278
|
+
"required": false,
|
|
279
|
+
"optional": false,
|
|
280
|
+
"docs": {
|
|
281
|
+
"tags": [],
|
|
282
|
+
"text": "Additional CSS class for the carousel track."
|
|
283
|
+
},
|
|
284
|
+
"attribute": "track-class",
|
|
285
|
+
"reflect": false,
|
|
286
|
+
"defaultValue": "''"
|
|
287
|
+
},
|
|
288
|
+
"buttonClass": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "string",
|
|
293
|
+
"resolved": "string",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Additional CSS class for the navigation buttons."
|
|
301
|
+
},
|
|
302
|
+
"attribute": "button-class",
|
|
303
|
+
"reflect": false,
|
|
304
|
+
"defaultValue": "''"
|
|
305
|
+
},
|
|
306
|
+
"dotClass": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"mutable": false,
|
|
309
|
+
"complexType": {
|
|
310
|
+
"original": "string",
|
|
311
|
+
"resolved": "string",
|
|
312
|
+
"references": {}
|
|
313
|
+
},
|
|
314
|
+
"required": false,
|
|
315
|
+
"optional": false,
|
|
316
|
+
"docs": {
|
|
317
|
+
"tags": [],
|
|
318
|
+
"text": "Additional CSS class for the navigation dots."
|
|
319
|
+
},
|
|
320
|
+
"attribute": "dot-class",
|
|
321
|
+
"reflect": false,
|
|
322
|
+
"defaultValue": "''"
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
static get states() {
|
|
327
|
+
return {
|
|
328
|
+
"activeIndex": {},
|
|
329
|
+
"screenCount": {},
|
|
330
|
+
"totalItems": {},
|
|
331
|
+
"items": {},
|
|
332
|
+
"isDragging": {}
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
}
|
|
@@ -49,7 +49,7 @@ export class TetIcon {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("span", { key: '
|
|
52
|
+
return (h("span", { key: 'e47c43c9f7f34509d2ff94952816fee1ea2f6171', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: 'ef866c1d70124e2e49297bac720cc1ea188fe899', class: {
|
|
53
53
|
'icon-container': true,
|
|
54
54
|
'default-color': this.shouldUseDefaultColor(),
|
|
55
55
|
[this.theme]: true,
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TetLoader {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '5693ed0c4c1f558b9aba3745ab82c65bce5e130e', class: "loader" }, h("div", { key: '0700c43da2dfad6d1b78bc7e0b7b6f00b84214d8', class: "loader-inner" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tet-loader"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class TetPlaceholder {
|
|
|
9
9
|
this.darkTheme = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'eb34706a5b84908ce5944ec5427e4da45dabcd75', style: { width: this.width, height: this.height } }, h("div", { key: 'ff19c33b66e5193fa5e429beb5c1bcf7925872c9', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '00564017cae2f1cb5c88f77be25ea3b3f97f0c68', class: "placeholder", style: { height: this.height } }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tet-placeholder"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,13 +47,13 @@ export class TetSpinner {
|
|
|
47
47
|
this.setForeignObjectAttributes();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: '0e6f1c47d0d4dba39875cadabde07933f630b1d3', ref: element => (this.spinner = element), class: {
|
|
51
51
|
spinner: true,
|
|
52
52
|
[`${this.theme}-theme`]: true,
|
|
53
53
|
[`size--${this.size}`]: true,
|
|
54
54
|
[`spinner--${this.type}`]: true,
|
|
55
|
-
} }, h("svg", { key: '
|
|
56
|
-
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '
|
|
55
|
+
} }, h("svg", { key: '59f6d71fd5bf7f7d965ae4546abd5e6c3443d58f', viewBox: "0 0 40 40" }, h("clipPath", { key: 'c310667c7df01877207e0410ba55987ca818ebf5', id: "clip" }, h("path", { key: '5d849693e8a48939af24fdb2cbd387bbd7e80fde', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
|
|
56
|
+
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '0caa0ba10c998fa4252b1976c61dc7c00fb900e0' }, h("div", { key: 'c1f779b1af599ae0d412c0ea5bd1553de7180a59', class: "spinner__gradient" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "tet-spinner"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,12 +13,12 @@ export class TetLabel {
|
|
|
13
13
|
this.showIcon = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'c79b013da76bbd3f5706270beedf30cb5deb9843' }, h("div", { key: 'ed67d61ed71db156f4d9852ffe4f7f43995fbd70', class: {
|
|
17
17
|
label: true,
|
|
18
18
|
'label-active': this.active,
|
|
19
19
|
[`label-type-${this.type}`]: true,
|
|
20
20
|
[`theme-${this.theme}`]: true,
|
|
21
|
-
} }, this.labelTitle && h("p", { key: '
|
|
21
|
+
} }, this.labelTitle && h("p", { key: 'f01967001f2e3b8e027f4649a285666973ab7fae', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '6af9e12aec914a5085be6d393121fa22d0a1e79a', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "tet-label"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'dd3d6df1e9b81bb1c93d0e47c7f0547827808999', 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: '19a65e793cbbfc23184949d27b2e7127f44b1c72', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'aa8d4e36c4e96d039af7bc7b6c21ac2506e679c4', 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: '161c33bae077116524b26fa98b7cf294be9c1da3' }, h("div", { key: 'e7202e836e839c7470aa05e9ce8937ce108b96f7', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'eeff6f84cb624a4916579a35158209d1d60099f7', 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: 'ea0e5082cffd00156222d81bdbc752696b890485', 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: '76092f42ae165a9310c5e003faa830152b761de9', 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: '184e120f94c40e0e527f3c99df5e9f3b4e7a7d1e', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'b9533f8a8e9e9f34f4c5989906d86b3e69a114de', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '16c2e07f3101b65ac161d1626a55516cf32f3291', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: 'deb2f731cc3ce945847f887086557fc16a15a38a', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: '49b2301cb5679e34b67d0593920e899406ca3f84', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: '554e91aac2540ea427cfbdc2b51b093ca022f625', 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: '00b1d50e4efd941c00a1e26cf0ae86c2abb82ba8' }, h("div", { key: '3c8acba2b662d2d5fbb9414a1623297a4c635715', 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: 'c7281e985791429ba0e3f5aaebe57b6e128dae3d', 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: '4193750e115da835f1b6c67d7ce16d031ab35477', "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: '959d63200eb12edad3f455b1a31f096cc5111e76', class: "range-slider__container" }, h("tet-button", Object.assign({ key: '609ec7359cc4f42fd9fd3d18186924f38c81d58e', 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: '891a98217af7d7ebe3ce1ad4b332ec5486149855', name: "remove", class: "range-slider__control--icon" })), h("div", { key: 'cba5f5f60367c390d87200953a9f70f99535ecec', 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: '2fe229a0a5923fc27a33197ddf03b193c5baad77', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: '203aad232871a2c95c1ad670928a3b617f6486ac', 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: 'b834cd04623d365d3d46d426be42639b764d59db', class: "range-slider__track range-slider__track--background" }), h("div", { key: '722378e4e5873ff8450b4a359260959a92750cd5', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '3297735fb9477c4eb48d1e0746ecd019e564113f', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: 'e661fa058fccee09e2343f9217abe6eb64d42c0a', 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: 'dcc1f95cd851cd11c15542fcbfa34ead9d2edf2d', class: {
|
|
768
768
|
'range-slider__current-step-container': true,
|
|
769
769
|
'hidden': !this.withCurrentStepCounter,
|
|
770
|
-
} }, h("div", { key: '
|
|
770
|
+
} }, h("div", { key: 'd93ac01ff89b0bc5e821e74a12ac90afd3976f16', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '427fff99516fafbf11c2514ae4ae27c92df58145', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: 'bc0cdbca927170428a76f041b5157a67d96b140e', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: 'e0ae5a0da6f6a3db3c77344b6b95610124526b3f', 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: '2c71e19bf86c9b96e223bbf817bc71a67af697a8', 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: '184c36865414e31df862009ff5e7abbd6ae26e0c', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: '36e1b4addf474e1cdf323fed2500845c3b13768e', 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: '88800837a233e0654bfd7d5b472975f0012f4498', name: "remove", onClick: onMinusClick })), h("input", Object.assign({ key: '9efc8bb47dd6ccbfe9823b9db117587c4bc8e896', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'b5b0d843e49bf1f77f5094ed94b53824fb057509', 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: '7475cf843ee7e5ea01c3d9a303315647f8a49066', 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: 'c7cc598ae4a16df6b9b588b50dae729f29274a35' }, h("label", { key: '15a1f6195900b3ef41b198d444bfd0cd9c664e24', class: { [`${theme}`]: true } }, label &&
|
|
54
|
+
h("span", { key: 'c5603b52cfae4d18a55dc9091db0b3d0c9d273db', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '557e680c5f6f0112f9df6efe8c535dafddacb4ea', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '3afeec5b2a464bc39991e8cfcc86dfe729979044', 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"; }
|
|
@@ -391,6 +391,7 @@ tet-card-list {
|
|
|
391
391
|
isolation: isolate;
|
|
392
392
|
padding: 0;
|
|
393
393
|
width: var(--news-card-width);
|
|
394
|
+
margin: 0.25rem 0;
|
|
394
395
|
}
|
|
395
396
|
.tet-news-card.dark {
|
|
396
397
|
--news-card-primary-text-color: var(--tc-text-primary-dark);
|
|
@@ -399,6 +400,12 @@ tet-card-list {
|
|
|
399
400
|
--news-card-link-hover-text-color: var(--tc-text-primary-dark);
|
|
400
401
|
--news-card-link-icon-color: var(--tc-icon-secondary-dark);
|
|
401
402
|
}
|
|
403
|
+
.tet-news-card.dark .tet-news-card__link-container:focus-visible {
|
|
404
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
405
|
+
outline: 0.125rem solid var(--tc-blue-40-dark);
|
|
406
|
+
outline-offset: 0.125rem;
|
|
407
|
+
transition: outline 0s;
|
|
408
|
+
}
|
|
402
409
|
.tet-news-card__image__container {
|
|
403
410
|
box-sizing: border-box;
|
|
404
411
|
overflow: hidden;
|
|
@@ -456,6 +463,14 @@ tet-card-list {
|
|
|
456
463
|
.hover .tet-news-card__link {
|
|
457
464
|
color: var(--news-card-link-hover-text-color);
|
|
458
465
|
}
|
|
466
|
+
.tet-news-card__link-container {
|
|
467
|
+
border-radius: 0.125rem;
|
|
468
|
+
}
|
|
469
|
+
.tet-news-card__link-container:focus-visible {
|
|
470
|
+
outline: 0.125rem solid var(--tc-blue-40);
|
|
471
|
+
outline-offset: 0.125rem;
|
|
472
|
+
transition: outline 0s;
|
|
473
|
+
}
|
|
459
474
|
.tet-news-card__link-container {
|
|
460
475
|
font: 400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
461
476
|
display: flex;
|
|
@@ -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: '4e53233579e9c1b0bdc21c96087e565b1d9dcf12' }, h("tet-card-list", Object.assign({ key: 'a7a6fc30a743edd3561ebb720f789c48ffb6802b', 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: '5e70f2cdbaac7eb99c995088aef8becae914d5e4' }, h("navigation", { key: 'bed2326b739f0e98783a5a08b3da99af90fa1c10', class: {
|
|
58
58
|
'navigation': true,
|
|
59
59
|
'navigation--dark': this.darkMode
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'bd24e59627eeb6e76b5124892a15f8829d3a99ef', class: "navigation__nav-bar" }, h("slot", { key: '3217b90dea79143f536d1fb5910d29a484f84f85' })), this.isTogglerVisible && (h("span", { key: '47776d13e6603cda7e023fd62477de41ac14527c', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, !this.isTogglerExpanded && h("tet-icon", { key: '85741ffeedc31868150069698576e92b81cf717d', class: "navigation__toggler navigation__toggler--burger", name: "burger" }), this.isTogglerExpanded && h("tet-icon", { key: '38700243c97c06c015d9a863de9e7d8cbf8c50fe', class: "navigation__toggler navigation__toggler--close", name: "close" }))), h("div", { key: 'cd0e738e48b84c3658657c4d5fbb17717c8f7778', class: {
|
|
61
61
|
'navigation__dropdown': true,
|
|
62
62
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: '7c08e3190af5aa75aaeb1831f5617c6b6f22431f', name: "dropdown" })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "tet-navigation-mobile"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|