@tet/tet-components 1.3.137-testing → 1.3.138-testing
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator-cart.cjs.entry.js +2 -2
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-navigation.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +6 -5
- package/dist/cjs/tet-colors.cjs.entry.js +4 -4
- package/dist/cjs/tet-components.cjs.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +5 -5
- package/dist/cjs/tet-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/tet-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +1 -1
- package/dist/cjs/tet-label.cjs.entry.js +2 -2
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +2 -2
- package/dist/collection/components/advanced/address/tet-address-offers/tet-address-offers.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.css +31 -3
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +22 -4
- 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.js +1 -1
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +5 -5
- 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-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.js +2 -2
- 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 +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/{p-cbb5f612.js → p-0245ca71.js} +1 -1
- package/dist/components/{p-2424c4f1.js → p-079ec3dc.js} +5 -5
- package/dist/components/{p-d516dff5.js → p-08cb8e8b.js} +6 -6
- package/dist/components/{p-21be0dd0.js → p-0d9ded0d.js} +1 -1
- package/dist/components/{p-8802f7f7.js → p-0da60e27.js} +1 -1
- package/dist/components/{p-eac684d6.js → p-17b6782b.js} +1 -1
- package/dist/components/{p-397c69b3.js → p-28849564.js} +2 -2
- package/dist/components/{p-5ace687b.js → p-290a7505.js} +5 -5
- package/dist/components/{p-c9491692.js → p-4108736e.js} +1 -1
- package/dist/components/{p-76c723b4.js → p-4d7abf55.js} +2 -2
- package/dist/components/{p-ac5522f7.js → p-52235a3c.js} +2 -2
- package/dist/components/{p-000ae991.js → p-5b46f625.js} +6 -6
- package/dist/components/{p-8a924999.js → p-63b1a813.js} +3 -3
- package/dist/components/{p-c8a0b770.js → p-63fff216.js} +1 -1
- package/dist/components/{p-c2bfa12c.js → p-6834e2c1.js} +1 -1
- package/dist/components/{p-bc9edad9.js → p-6aec415f.js} +1 -1
- package/dist/components/{p-ff31e014.js → p-82036dec.js} +1 -1
- package/dist/components/{p-c97b2c87.js → p-89f0a85b.js} +2 -2
- package/dist/components/{p-be78bde3.js → p-8c1b81ba.js} +1 -1
- package/dist/components/{p-758e222f.js → p-8d133fe1.js} +7 -7
- package/dist/components/{p-14534acc.js → p-9da9a443.js} +1 -1
- package/dist/components/{p-8ff3e337.js → p-a213c941.js} +3 -3
- package/dist/components/{p-290f2855.js → p-a34ed479.js} +5 -5
- package/dist/components/{p-fe95d572.js → p-a394a313.js} +1 -1
- package/dist/components/{p-bddae715.js → p-b2d2b9f2.js} +2 -2
- package/dist/components/{p-88eed449.js → p-bd3b2f42.js} +1 -1
- package/dist/components/{p-decd8ddd.js → p-bdad9437.js} +4 -4
- package/dist/components/{p-12e123f3.js → p-c15aec6f.js} +1 -1
- package/dist/components/{p-5b5ea55f.js → p-c235588b.js} +10 -10
- package/dist/components/{p-ba6768ef.js → p-c606b690.js} +2 -2
- package/dist/components/{p-90a15cb2.js → p-c7c49aad.js} +1 -1
- package/dist/components/{p-70ca1b23.js → p-d00de500.js} +1 -1
- package/dist/components/{p-7fa87e91.js → p-d20591c6.js} +1 -1
- package/dist/components/{p-4688b69d.js → p-e4200c06.js} +13 -13
- package/dist/components/{p-92f3f562.js → p-fdeaa7ba.js} +3 -3
- package/dist/components/{p-daa34847.js → p-fec35773.js} +2 -2
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +21 -21
- 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 +8 -8
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +4 -4
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +5 -5
- package/dist/components/tet-b2b-compare-card.js +4 -4
- package/dist/components/tet-b2b-configurator-cart.js +5 -5
- package/dist/components/tet-b2b-service-calculator.js +6 -6
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-compare-card.js +2 -2
- package/dist/components/tet-business-lines.js +2 -2
- package/dist/components/tet-business-navigation.js +2 -2
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +3 -3
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +9 -7
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +6 -6
- package/dist/components/tet-cloud-configurator.js +6 -6
- package/dist/components/tet-colors.js +4 -4
- package/dist/components/tet-compare-card-v2.js +5 -5
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +11 -11
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +4 -4
- package/dist/components/tet-customer-assets.js +2 -2
- 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 +9 -9
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +2 -2
- package/dist/components/tet-expandable-input.js +2 -2
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-filter.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +6 -6
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +3 -3
- package/dist/components/tet-navigation-mobile.js +4 -4
- package/dist/components/tet-news-card-list.js +4 -4
- 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-range-slider.js +1 -1
- package/dist/components/tet-referral.js +4 -4
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-table.js +2 -2
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +2 -2
- package/dist/components/tet-thank-you-view-v2.js +3 -3
- package/dist/components/tet-thank-you-view-v3.js +3 -3
- package/dist/components/tet-thank-you-view.js +2 -2
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-list.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tet-accordion.entry.js +5 -5
- package/dist/esm/tet-address-offers-view.entry.js +1 -1
- package/dist/esm/tet-address-offers_4.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator-cart.entry.js +2 -2
- package/dist/esm/tet-b2b-service-calculator.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +1 -1
- package/dist/esm/tet-business-navigation.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +6 -5
- package/dist/esm/tet-colors.entry.js +4 -4
- package/dist/esm/tet-components.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +5 -5
- package/dist/esm/tet-datepicker.entry.js +4 -4
- package/dist/esm/tet-dropdown_2.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +1 -1
- package/dist/esm/tet-label.entry.js +2 -2
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +7 -7
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +2 -2
- package/dist/tet-components/{p-67515e73.entry.js → p-0121cef5.entry.js} +1 -1
- package/dist/tet-components/{p-afbe6509.entry.js → p-1ac2736c.entry.js} +1 -1
- package/dist/tet-components/{p-3c03dea3.entry.js → p-1ddb9e3c.entry.js} +1 -1
- package/dist/tet-components/{p-624ae17b.entry.js → p-265ac4ba.entry.js} +1 -1
- package/dist/tet-components/{p-32c31441.entry.js → p-31746283.entry.js} +1 -1
- package/dist/tet-components/{p-018123d1.entry.js → p-319c29e9.entry.js} +1 -1
- package/dist/tet-components/{p-00370414.entry.js → p-37259e51.entry.js} +1 -1
- package/dist/tet-components/{p-72c5f6fd.entry.js → p-38c3b247.entry.js} +1 -1
- package/dist/tet-components/{p-89cbd0f4.entry.js → p-4838a00a.entry.js} +1 -1
- package/dist/tet-components/{p-77dc69df.entry.js → p-4eb386f5.entry.js} +1 -1
- package/dist/tet-components/{p-d56b4142.entry.js → p-643c2378.entry.js} +1 -1
- package/dist/tet-components/{p-3a68d8ee.entry.js → p-65a928aa.entry.js} +1 -1
- package/dist/tet-components/{p-10d6590a.entry.js → p-6782340f.entry.js} +1 -1
- package/dist/tet-components/{p-02381ade.entry.js → p-7dea8123.entry.js} +1 -1
- package/dist/tet-components/{p-b3ce0d6f.entry.js → p-7f00f463.entry.js} +1 -1
- package/dist/tet-components/{p-db3d023a.entry.js → p-837b0ee6.entry.js} +1 -1
- package/dist/tet-components/p-8c63b964.entry.js +1 -0
- package/dist/tet-components/{p-efbe281d.entry.js → p-8fd47633.entry.js} +1 -1
- package/dist/tet-components/{p-ab41a3f8.entry.js → p-98d6a381.entry.js} +1 -1
- package/dist/tet-components/{p-79567d7c.entry.js → p-9bfcf2cc.entry.js} +1 -1
- package/dist/tet-components/{p-4cac1c11.entry.js → p-9c274191.entry.js} +1 -1
- package/dist/tet-components/p-a69c14f1.entry.js +1 -0
- package/dist/tet-components/{p-8c802a0a.entry.js → p-a9499bbb.entry.js} +1 -1
- package/dist/tet-components/{p-7d1d0c36.entry.js → p-b989c3e1.entry.js} +1 -1
- package/dist/tet-components/{p-e73e4e79.entry.js → p-bd8a0449.entry.js} +1 -1
- package/dist/tet-components/{p-382034f9.entry.js → p-d0d39e88.entry.js} +1 -1
- package/dist/tet-components/{p-ef1bcb5f.entry.js → p-f1ee7e86.entry.js} +1 -1
- package/dist/tet-components/{p-584850c4.entry.js → p-f476f61c.entry.js} +1 -1
- package/dist/tet-components/{p-100a2a00.entry.js → p-f7b3eab0.entry.js} +1 -1
- package/dist/tet-components/{p-ea0186d6.entry.js → p-ff09e3df.entry.js} +1 -1
- package/dist/tet-components/{p-223f4ca1.entry.js → p-ff5dba0e.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 +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/tet-components/p-37d9b1c5.entry.js +0 -1
- package/dist/tet-components/p-3adb8b02.entry.js +0 -1
|
@@ -366,7 +366,8 @@
|
|
|
366
366
|
--carousel-dot-background: transparent;
|
|
367
367
|
--carousel-dot-border: 1px solid var(--tc-grey-70);
|
|
368
368
|
--carousel-dot-border: 0.0625rem solid var(--tc-grey-70);
|
|
369
|
-
--carousel-dot-margin:
|
|
369
|
+
--carousel-dot-margin: 0;
|
|
370
|
+
--carousel-dot-margin-mobile: 1rem;
|
|
370
371
|
--carousel-dot-active-background: var(--tc-layer-inverse-primary);
|
|
371
372
|
--carousel-dot-hover-background: var(--tc-button-secondary-outline-background-hover);
|
|
372
373
|
--carousel-dot-active-hover-background: var(--tc-grey-80);
|
|
@@ -413,7 +414,7 @@
|
|
|
413
414
|
max-width: var(--carousel-item-width);
|
|
414
415
|
height: var(--carousel-track-height);
|
|
415
416
|
position: relative;
|
|
416
|
-
margin-bottom: var(--carousel-dot-margin);
|
|
417
|
+
margin-bottom: var(--carousel-dot-margin-mobile);
|
|
417
418
|
}
|
|
418
419
|
.tet-carousel__controls {
|
|
419
420
|
position: relative;
|
|
@@ -421,9 +422,22 @@
|
|
|
421
422
|
align-items: center;
|
|
422
423
|
justify-content: center;
|
|
423
424
|
height: fit-content;
|
|
424
|
-
margin-bottom: var(--carousel-dot-margin);
|
|
425
|
+
margin-bottom: var(--carousel-dot-margin-mobile);
|
|
425
426
|
min-height: var(--carousel-button-size);
|
|
426
427
|
}
|
|
428
|
+
.tet-carousel__label {
|
|
429
|
+
color: var(--tc-text-secondary);
|
|
430
|
+
margin-left: auto;
|
|
431
|
+
margin-right: auto;
|
|
432
|
+
margin-bottom: 1rem;
|
|
433
|
+
text-align: center;
|
|
434
|
+
font-family: var(--font-family-content);
|
|
435
|
+
font-size: 0.875rem;
|
|
436
|
+
font-style: normal;
|
|
437
|
+
font-weight: 400;
|
|
438
|
+
line-height: 1.25rem;
|
|
439
|
+
letter-spacing: -0.003125rem;
|
|
440
|
+
}
|
|
427
441
|
.tet-carousel__track {
|
|
428
442
|
touch-action: pan-y;
|
|
429
443
|
display: flex;
|
|
@@ -552,6 +566,14 @@
|
|
|
552
566
|
}
|
|
553
567
|
|
|
554
568
|
@media all and (min-width: 46.25rem) {
|
|
569
|
+
.tet-carousel__controls {
|
|
570
|
+
margin-bottom: var(--carousel-dot-margin);
|
|
571
|
+
}
|
|
572
|
+
.tet-carousel__label {
|
|
573
|
+
font-size: 1rem;
|
|
574
|
+
line-height: 1.5rem;
|
|
575
|
+
letter-spacing: -0.00625rem;
|
|
576
|
+
}
|
|
555
577
|
.tet-carousel__buttons {
|
|
556
578
|
right: 0.25rem;
|
|
557
579
|
}
|
|
@@ -565,4 +587,10 @@
|
|
|
565
587
|
width: var(--carousel-button-size);
|
|
566
588
|
height: var(--carousel-button-size);
|
|
567
589
|
}
|
|
590
|
+
}
|
|
591
|
+
@media all and (min-width: 90rem) {
|
|
592
|
+
.tet-carousel__label {
|
|
593
|
+
font-size: 1.125rem;
|
|
594
|
+
line-height: 1.75rem;
|
|
595
|
+
}
|
|
568
596
|
}
|
|
@@ -181,6 +181,7 @@ export class TetCarousel {
|
|
|
181
181
|
this.buttonIconLeft = 'arrow-left';
|
|
182
182
|
this.buttonIconRight = 'arrow-right';
|
|
183
183
|
this.maxDots = 8;
|
|
184
|
+
this.label = undefined;
|
|
184
185
|
this.language = 'lv';
|
|
185
186
|
}
|
|
186
187
|
async onLanguageChange(language) {
|
|
@@ -394,14 +395,14 @@ export class TetCarousel {
|
|
|
394
395
|
window.removeEventListener('resize', this.getDotCount.bind(this));
|
|
395
396
|
}
|
|
396
397
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: '71a0b7f39d55e022a0646ba2a586b07ba590ae9d' }, h("div", { key: '6f567a313b02369a9ca486fc583efdc7e6820c1f', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '9ffaf184ed4ca4ef0c56502943cfcdf47ba8dbe5', class: "tet-carousel__container" }, h("div", { key: '821b70a0e30c12eb6d64a134df6bd6372ca3d999', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
398
399
|
this.leftGradientRef = el;
|
|
399
|
-
} }), h("div", { key: '
|
|
400
|
+
} }), h("div", { key: 'a7fa5348f7f15ba9edcb564f08403fd19ee26f0b', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
400
401
|
this.rightGradientRef = el;
|
|
401
|
-
} }), h("div", { key: '
|
|
402
|
+
} }), h("div", { key: 'f8716aed8e953dafb0c27930fdd3e5f94a29752f', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
|
|
402
403
|
transform: `translateX(${this.dragOffset}px)`,
|
|
403
404
|
transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
|
|
404
|
-
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '
|
|
405
|
+
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '714502ea4951f03c3947cec2afa0f9faf50cade1' }))), !!this.label && h("div", { key: '9e137341a37ed611c0785daeeef731dfc98c0544', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: '39131c97b2c0fc5d937d1a833e106953e246d997', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '45a6420ed242a548c06faa9a3cd35ddf6350272e', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '869b953e1661259a920be0b76cbdcefe7fb70b27', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onClick: this.handlePrev, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '5f903248f59ab2ce820cadb0bf9a145c07d0d664', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '79b9f28b7a6194f941ee7b445dd9d87215a8ee90', class: "tet-carousel__buttons " }, h("tet-button", { key: '73bb323e028ea7b24b8e82c3b5430666eb73eff4', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onClick: this.handlePrev, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '93afc2e6bbfdff90eb248905d722bbcc34a17ac7', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onClick: this.handleNext, "aria-label": t('components-carousel-next'), disabled: this.dotCount <= 1 ||
|
|
405
406
|
this.activeItem === this.totalItems - 1 ||
|
|
406
407
|
this.isLastViewport(-this.dragOffset) }))))))));
|
|
407
408
|
}
|
|
@@ -599,6 +600,23 @@ export class TetCarousel {
|
|
|
599
600
|
"reflect": false,
|
|
600
601
|
"defaultValue": "8"
|
|
601
602
|
},
|
|
603
|
+
"label": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"mutable": false,
|
|
606
|
+
"complexType": {
|
|
607
|
+
"original": "string",
|
|
608
|
+
"resolved": "string",
|
|
609
|
+
"references": {}
|
|
610
|
+
},
|
|
611
|
+
"required": false,
|
|
612
|
+
"optional": true,
|
|
613
|
+
"docs": {
|
|
614
|
+
"tags": [],
|
|
615
|
+
"text": "Maximum number of dots."
|
|
616
|
+
},
|
|
617
|
+
"attribute": "label",
|
|
618
|
+
"reflect": false
|
|
619
|
+
},
|
|
602
620
|
"language": {
|
|
603
621
|
"type": "string",
|
|
604
622
|
"mutable": false,
|
|
@@ -49,7 +49,7 @@ export class TetIcon {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("span", { key: '
|
|
52
|
+
return (h("span", { key: 'b458d963f0f86157257a01b600af41cc579be5ca', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: 'ac157e0ee214c0a818d67f361246ea7cb72942f5', 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: '14fe6af3ed72264df7e56b9f9917b5534637ef51', class: "loader" }, h("div", { key: 'f4c31bd589b426b6e4dd16e5ea42ecc9dfb79d9c', 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: '7e0dfe974305bc773c69c93e662515d3a68e6be4', style: { width: this.width, height: this.height } }, h("div", { key: 'f15bb524ccfdb8085628e72c738c5b539907f47e', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '54986daf86d9d5c3c6eb779d13e2ba7a5606dd81', 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: '6700ed743adb73ad21bbb7eba4c593f78aa7be73', 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: '95c55e994caa2cb7fdc0f3e743ead7085fd8406e', viewBox: "0 0 40 40" }, h("clipPath", { key: '337f95d860f1a27284ee0134e785aff287187b29', id: "clip" }, h("path", { key: '880422c680560d58f7527c6353f4e234c0c1d11f', 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: 'ea78a1e04a9ab23ee66cb68bb72cc2b49928a1e7' }, h("div", { key: '7b9d99801d5b97e4a44c439fb779d4ec7400fa45', 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: '79b12c6cd48a68cc878e336227b29bbb10f69c99' }, h("div", { key: '9d34f474b24523550f603e5c0dd2b385cdb9b893', 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: 'b101e1595fb33e9af35eb55c2c32338d074f3085', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'd5c943fb5a571cbb5ee1cfec5ef1fa4fe199006a', 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: 'b45a4b4676bc7b8c735ca45e5067d799eb7dda58', 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: 'b9c6818f3582a4627262405f781c4b2a4b439a99', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '040988e761fe3ac28ff59d2108343358867278ff', 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: '9938f81c023c0a78b24862282b72dccb1e544a45' }, h("div", { key: '03c0022ecbccb5b2b0197ab4f2f4431d79a35944', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: '8f1a5e99a7cf67caf3db2b0dc95087965bbcf1cd', 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: 'd6092a99da16905b3219bc57eec53d12afb0ddd3', 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: 'cdd31b03e4606c17528f12766852b6459ea29339', 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: 'dc2747c18605e233b3706e63d3fec629e92c571d', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '2a037da3e6d2a15d1df4cec0885c7b9babdb7b6e', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: 'ec5e7a951981802163bfdbd34e9a743d91d384fd', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: '94d0df64f1651025a1a3b8b89dc763d3cd5f1b42', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: '96d25875caee051a45a4fc79451785b71fe61a90', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: 'e160d8fab5e54bde32718444f5fe50c73763063d', 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: 'ed39e9adfd7d8502539e355fe950b4c83c262512' }, h("div", { key: '613c54d91625fb37ac80987dd7ac244817585736', 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: '2f522ca48013d0022bcdf83a3c73d0dc16937900', 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: '44fe830f3cef1086273ab82fae3f50aef6147d40', "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: '993227ff886add036d0a0905876d390b9eba5ab7', class: "range-slider__container" }, h("tet-button", Object.assign({ key: 'afad663b668c50c3de6ab8f2e8e7cc09a6edf6aa', 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: '1565634ecaf9b67a6d68707f1330fa35d26cf14e', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '52aceabff4528db102fcd70cf265aa772e0c76a1', 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: 'dc8c9e65665cdb458a89a6003e67d2d31ad3ec50', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: 'd5dda90241d79127e8691f9bb365c4f956a35b28', 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: '85d2e4c9782a026889a11503573c16c161da03a4', class: "range-slider__track range-slider__track--background" }), h("div", { key: '00fcb8fd228970096cada56550b61b9c440b2732', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '4221ba778c0dab593ab9f5f49bbafc6981fa893b', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '2d3b55e7a232b89ef176d92f44af92b4b5e93b64', 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: '1050c1680ff0413a42e2267e2d1b513c1bda6c91', class: {
|
|
768
768
|
'range-slider__current-step-container': true,
|
|
769
769
|
'hidden': !this.withCurrentStepCounter,
|
|
770
|
-
} }, h("div", { key: '
|
|
770
|
+
} }, h("div", { key: 'a0002465828c51e82ed1ad295e2d814e23de7742', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '7858d37c0a9b36240c641c25d9912ee2cbffe555', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '87e61716026059495c870bdb535238348d2735f4', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: '9918f6fcf115eb6e9d200ed266167cefb3cbb6af', 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: '4efff5a40e57423bf94095e6230b8580609aa65e', 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"; }
|
|
@@ -123,7 +123,7 @@ export class TetStepperInput {
|
|
|
123
123
|
*/
|
|
124
124
|
render() {
|
|
125
125
|
const { onMinusClick, value, onPlusClick } = this;
|
|
126
|
-
return (h("div", { key: '
|
|
126
|
+
return (h("div", { key: 'e54d94ef2f7ac44fb73674cde7a2e0d1275ec1a5', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: '9a0bbc9a7d7777a5b3b7d97cfc320d8dd3390865', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: '1bcebf77f2e415334ec6bd6d2e2aeb74419e0299', name: "remove" })), h("input", Object.assign({ key: '655f01a4ba18a3bef14ab43950dd26db95ef16d0', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'd3feab3dfae84182dd135db073504a8c82ca69b4', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '4d2216e0506685e55bcbd5d5d51ee7e4b4ba2152', name: "add" }))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "tet-stepper-input"; }
|
|
129
129
|
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: '35d6c7f56baf110a6fdd040e9afc92ab67444b89' }, h("label", { key: '9b54f030e31710f7b5dd6f004ef026d2bc3dfe5e', class: { [`${theme}`]: true } }, label &&
|
|
54
|
+
h("span", { key: '908d7c15be79dbda56b8ee5f60944200800800c2', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '210c1cf1c9a5d15487bc6fd751c390112a36f8d3', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '5190d423928960cdbdd1c8e2730b9c0530a62ce6', 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: '1ad59fa4cbe7588545306586c21f24ead28d5f76' }, h("tet-card-list", Object.assign({ key: 'a2f8c39ae5d6a8625bc0adc00827e0a6fffd1c98', 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-business-navigation/tet-business-navigation.js
CHANGED
|
@@ -64,7 +64,7 @@ export class TetBusinessNavigation {
|
|
|
64
64
|
/** Render Functional Component*/
|
|
65
65
|
render() {
|
|
66
66
|
const { menuItems, theme } = this;
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '5b448df37d5a11aba72e7239def7adc97b090af9', class: { 'business-navigation': true, [`${theme}`]: true }, role: "group", onMouseDown: this.onContainerMouseDown, ref: (ref) => (this.navigationContainer = ref) }, menuItems && menuItems.map(this.renderMenuItem)));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-business-navigation"; }
|
|
70
70
|
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: 'ef6dc99c4251442a4937906f52ece28e85f07c96' }, h("navigation", { key: 'cc0ad116aa1b2a5d60512efa2e61281073d46229', class: {
|
|
58
58
|
'navigation': true,
|
|
59
59
|
'navigation--dark': this.darkMode
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'e77b3c8d7165750a38d204d881aa7a3a217127b7', class: "navigation__nav-bar" }, h("slot", { key: '8dc8612fb45a90cf855526516652ce021cefe06a' })), this.isTogglerVisible && (h("span", { key: '463c08152394fa17f04b49d02ad771e03bcc4427', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, h("tet-icon", { key: '8494d8ac098b12f148c0d7564886215d7c8e085c', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "close" : "burger" }))), h("div", { key: '1fffba7adaf87f4d78b9ba109d17002fb6689982', class: {
|
|
61
61
|
'navigation__dropdown': true,
|
|
62
62
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
63
|
-
}, inert: !this.isTogglerExpanded }, h("slot", { key: '
|
|
63
|
+
}, inert: !this.isTogglerExpanded }, h("slot", { key: 'd28605389281b87071d63bd5dacb691d23b0ca22', name: "dropdown" })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "tet-navigation-mobile"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,21 +108,21 @@ export class TetAccordion {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '93af25b751c375647eb3673e7aab363b1bd7c972' }, h("div", { key: '782024544ebac81f5bd31eb6a500e53de1cafffa', class: {
|
|
112
112
|
'tet-accordion': true,
|
|
113
113
|
'tet-accordion--border': this.withBorder,
|
|
114
114
|
[`${this.theme}-theme`]: true,
|
|
115
115
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
116
116
|
'transparent-bg': this.transparentBackground,
|
|
117
|
-
} }, h("div", { key: '
|
|
117
|
+
} }, h("div", { key: '0451dbea3ef15894ac95bec86d96f013fd54a05c', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, h("slot", { key: '6771b3db92f1530c2f781a938c7fff1bc171bdd5', name: "header" }, this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: '305cbdcfa5d367be95940d3573e0a8613fe39d98', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" })), this.renderHeading(), h("tet-icon", { key: '52fdf914f99ac4975585063b18089de9bd55ca43', name: "chevron-down", class: {
|
|
118
118
|
'tet-accordion__icon': true,
|
|
119
119
|
'open': this.isOpen
|
|
120
|
-
} }))), h("div", { key: '
|
|
120
|
+
} }))), h("div", { key: '3c51960b4c4eadda218eb02eb0deb09edd5f97c9', 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: 'dca02521e71fc5769b14c48e76758f2359121917', ref: (element) => (this.contentElement = element), class: {
|
|
124
124
|
'tet-accordion__content': true
|
|
125
|
-
} }, h("slot", { key: '
|
|
125
|
+
} }, h("slot", { key: '9d400fbffaaea4a08b8d6da791267bf600542fa0' }))))));
|
|
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: '20f9f38cfde2f4525f6fce83102426930672897a', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: 'c1057f4819895ed1b91a849cb3e3cd629c513296', class: "tet-expansion-panel-content" }, h("slot", { key: '4bf5c2f44d8cc01b2fc9703d15eb93cd8d107196' }))));
|
|
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: 'dd7b34c1876cdd0071cba8249b11c6626681ac17' }, h("div", { key: '5fbab6c4da6b0e2c771e9c856cfc4079a49d573e', class: { notification: true, [this.theme]: true } }, h("div", { key: 'f6056a79c36501247b1c3e10454820043cd746c6', class: { item: true, [this.type]: true } }, h("div", { key: 'b83e4721c71d745f84c5ed88b462f0be20920179', class: "header" }, this.renderTypeIcon(), h("div", { key: '676660840eb2627c868a511e45ca46ded0abd28b', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '5eb936458597042616a77c3c12e00b7090a7646c', class: "content" }, h("span", { key: 'd9d1b1445f6b53e03b32bb8d1e0c9766ea9f5c57', innerHTML: content }), h("div", { key: '063cb95afef71efd2c6faf446085826c175744ab' }, h("slot", { key: '1336a9162c18090bea48d5362f774e12a5172066', 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: '9eba348a363d166e53197a01506c863cdf1a4a20', 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: '5c6a1884ad7507298d938a9a7f636a41add6a256' }, 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"; }
|
|
@@ -103,11 +103,11 @@ export class TetB2bConfiguratorCart {
|
|
|
103
103
|
const isEditMode = this.context === 'edit';
|
|
104
104
|
const isCheckoutMode = this.context === 'checkout';
|
|
105
105
|
const showSummary = !this.isCartEmpty && (isEditMode || (isCheckoutMode && this.isAccordionOpen));
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: '93e2d13d305c2d6ddfec3105ed0775ae3c057d92' }, h("div", { key: '563e968522292ef43b859361647545bbc375e30a', class: { cart: true, [`${this.theme}`]: true, [`${this.context}`]: true } }, h("tet-accordion", { key: 'dabb165e6dcffcbc3258929c559010ad9c8ac1d9', ref: (el) => (this.accordionEl = el), class: {
|
|
107
107
|
'cart__accordion': true,
|
|
108
108
|
[`cart__accordion--${this.context}`]: true,
|
|
109
109
|
'cart__accordion--rounded': this.isCartEmpty || (isCheckoutMode && !this.isAccordionOpen)
|
|
110
|
-
}, isOpen: this.isAccordionOpen, onOpenChanged: this.handleAccordionChanged, header: cartTitle, withBorder: true, theme: this.theme, transparentBackground: true }, h("div", { key: '
|
|
110
|
+
}, isOpen: this.isAccordionOpen, onOpenChanged: this.handleAccordionChanged, header: cartTitle, withBorder: true, theme: this.theme, transparentBackground: true }, h("div", { key: '10fd1d316bea9ae9e1251f8605e18759cdf77c4f', class: `cart__title--${this.context}` }, cartTitle), h("div", { key: '1df2c1b5dc98399bd194f4782ad0ec22074eb2a4', class: "cart__content" }, this.isCartEmpty ? this.renderEmptyContent() : [this.renderContent()])), showSummary && this.renderSummary())));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "tet-b2b-configurator-cart"; }
|
|
113
113
|
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: '7249b0c2f37af39e860637cfe416182c5227c6d2', class: "container" }, h("div", { key: '89565a9f35411aa6a542582b77df0b9b9da03e0e', class: "title-block" }, t('components-b2b-calculator-title')), h("div", { key: '433eff5a8e863475880f8cf0216d1f604b7f74ce', class: "calculator-block" }, h("p", { key: '1b81e92aa9b7c58543257ea906c2177108b5c3e5', class: "slider-title" }, t('components-b2b-calculator-computer-count')), h("tet-range-slider", { key: 'c5ce8ce5c73329b07f9df3b22aa2f243c56ca1e9', 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: '69d35eac4899ba24153253d1a70984c60de6ee4f', class: "control-container" }, h("div", { key: '53f8d6355652051ca9e455769a32b1ee127a1a7d', class: "control" }, h("tet-checkbox", { key: 'adfd75a801a68e6ba794d27735d595dddfc9c901', class: "it-admin-checkbox", checked: this.withItAdmin, onCheck: this.handleWithItAdminValueChange }, t('components-b2b-calculator-it-admin-checkbox-label'))), h("div", { key: '000d314c262c7688e1ca5aed97dc84d0c72955e2', class: "control" }, h("tet-switch", { key: '8a423a478675117419a6c2ce02dd37962d4741e0', class: "in-person-support-switch", checked: this.withInPersonServiceSupport, onCheck: this.handleInPersonServiceSupportValueChange }, t('components-b2b-calculator-in-person-support-switch-label')))), h("div", { key: '9d869285131a855b2b9caf6d8ffe6100ab09df8f', class: "monthly-payment-block" }, h("p", { key: '08248a6283d71227e0350b4c0ff092993c86aa56', class: "title" }, t('components-b2b-calculator-potential-monthly-payment')), h("p", { key: 'cf137d3eed20a677c934f1dacdf8624bce437d70' }, h("span", { key: '070d5c3458a67c444c779e62fe522f3cda3dbb2a', class: "price" }, this.totalPrice), h("span", { key: 'f176b1e11123c143f0c63267256ec1484df38eec', 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: '662ada195159db350c1c297f8c07a0e344d45cb2', class: "container" }, this.showHeadings && this.renderHeadings(), h("div", { key: 'ae66eb988b9c4f8b78ca265bb30b853cda6b6993', 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"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TetBorderRadius {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '824695af0bdc8618a5e13312583d930394edc062' }, h("div", { key: '4e31fd7b1c02f20521dcaa12e4865d7c24396901', class: "variable-container" }, h("div", { key: 'e0d904db4a4c55f1a1d3bd7f38e85978b649335d', class: "container-title main" }, "Border r\u0101diusa klase"), h("div", { key: 'c47184e263ee3c30b9610706ec6c01f57fd1652f', class: "container-section" }, h("div", { key: '180d3bd4ee52825beae42d95f940dc274eb2aad9', class: "variable-name" }, h("div", { key: '562879900d54b23f887693c42d117f00e2ae7875', class: "variable-part" }, "tet"), h("div", { key: '292ca9d4d99a3b25627f32d6e9b2faae80c677eb', class: "variable-part" }, "-border"), h("div", { key: '5039dae824531f3bcfd7445e703184be18652fd4', class: "variable-part variable variable-type" }, "-radius"), h("div", { key: '109b76eb35e05e3ff8f6dab3624e4e60d46d959b', class: "variable-part variable variable-size" }, "--md")))), h("div", { key: '74579cdac69de91f4046335008b3b713ebfc133e', class: "tet-fonts-container" }, h("div", { key: 'f220407e26557e647534797a68fadc222289cb22', class: "container-title" }, "R\u0101diusa izm\u0113ri"), h("div", { key: 'f35b2dc9ac52b8d3a57e97604c0b738de16bb804', class: "section" }, h("div", { key: '6f8db5b529707d796f13d1bcaff5790ba81ce1fd', class: "section-variable" }, h("div", { key: '8a2a872d7d70b63ba56e8d73f0e5e7933689c1e5', class: "border tet-border-radius--xs" }), h("div", { key: 'bf83b4833fe57bb5dd482aa0675a076935899207', class: "section-font-class" }, "klase: tet-border-radius--xs"), h("div", { key: '4af7748836ce92d5e036cdb8fc7299d3af1d1660', class: "section-font-size" }, "border radius: 0.25rem / 4px")), h("div", { key: '1b56a0e9bb9af0fe97ef722e9b9f6c3dd76ad07a', class: "section-variable" }, h("div", { key: '5306079890e8227554c7ba9786f5f43dd66049d7', class: "border tet-border-radius--sm" }), h("div", { key: 'f127eceacf5c5f9e1deab915633c974ea3de290b', class: "section-font-class" }, "klase: tet-border-radius--sm"), h("div", { key: 'cea678272d74df702dea10996a800d521feaede7', class: "section-font-size" }, "border radius: 0.5rem / 8px")), h("div", { key: '1f97acd42cac01d8fb04fc4a2c67cbfd4035b585', class: "section-variable" }, h("div", { key: '052b51da4fa0ef6be8c32f8a530c473260807f4b', class: "border tet-border-radius--md" }), h("div", { key: 'd7090e283161c6b6a038afe526913fa4f0dd26da', class: "section-font-class" }, "klase: tet-border-radius--md"), h("div", { key: 'c481386916cb419d593fbfa7550b3606e9148902', class: "section-font-size" }, "border radius: 1rem / 16px")), h("div", { key: 'e970f004eb83f1834d59f1fda7646b90cf7dcad9', class: "section-variable" }, h("div", { key: 'c0bea393cff284d5809e8121cd1a815050622deb', class: "border tet-border-radius--lg" }), h("div", { key: '77ace4611d911356a5d0a33c0e51c392f369665c', class: "section-font-class" }, "klase: tet-border-radius--lg"), h("div", { key: 'e97f9d8e7f79ec085259b4f9614a730557e3ea13', class: "section-font-size" }, "border radius: 1.5rem / 24px"), h("div", { key: '01940f7bbadc90c5ab5257cc0a297ce726303642', class: "section-font-size" })), h("div", { key: '3493b74fe5050e5c8fda7e2eec7d5debdfde295c', class: "section-variable" }, h("div", { key: '130f8eb3c9f40b0fa7f314658f15309b58d7ffc7', class: "border tet-border-radius--xl" }), h("div", { key: '94aba6bdcf8bea0942efa3d123c59a7b58eaac8a', class: "section-font-class" }, "klase: tet-border-radius--xl"), h("div", { key: '5cab0eecd699064182b7ebf755ff82ceff103a97', class: "section-font-size" }, "border radius: 2rem / 32px"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "tet-border-radius"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|