@tet/tet-components 1.4.25-testing → 1.4.26-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/dist/cjs/{address-656e77f6.js → address-f852270f.js} +1 -1
  2. package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
  3. package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
  4. package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
  5. package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
  6. package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +5 -5
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
  9. package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
  10. package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
  11. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  12. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  13. package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
  14. package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
  19. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  20. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
  21. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  22. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
  24. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
  27. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-button.cjs.entry.js +2 -2
  29. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  30. package/dist/cjs/tet-carousel.cjs.entry.js +178 -45
  31. package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
  32. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  33. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  34. package/dist/cjs/tet-colors.cjs.entry.js +5 -5
  35. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  36. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  37. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  38. package/dist/cjs/tet-components.cjs.js +2 -2
  39. package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
  40. package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
  44. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
  45. package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
  46. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  47. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-dropdown_2.cjs.entry.js +2 -2
  50. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
  53. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  54. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
  57. package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
  58. package/dist/cjs/tet-grid.cjs.entry.js +2 -2
  59. package/dist/cjs/tet-icon.cjs.entry.js +3 -3
  60. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  61. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  62. package/dist/cjs/tet-label.cjs.entry.js +5 -5
  63. package/dist/cjs/tet-layout.cjs.entry.js +2 -2
  64. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-link.cjs.entry.js +2 -2
  66. package/dist/cjs/tet-loader.cjs.entry.js +2 -2
  67. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  68. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  71. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  72. package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
  73. package/dist/cjs/tet-notification.cjs.entry.js +2 -2
  74. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
  76. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
  80. package/dist/cjs/tet-referral.cjs.entry.js +5 -5
  81. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
  84. package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
  85. package/dist/cjs/tet-stepper-input.cjs.entry.js +75 -53
  86. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  89. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  90. package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
  91. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  92. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  93. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  94. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  95. package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
  96. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
  97. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  98. package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
  99. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
  100. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
  101. package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
  102. package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
  103. package/dist/collection/components/basic/buttons/tet-button/tet-button.css +2 -0
  104. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.css +38 -75
  105. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +199 -43
  106. package/dist/collection/components/basic/icon/tet-icon.js +1 -1
  107. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  108. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  109. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  110. package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
  111. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  112. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  113. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  114. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  115. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  116. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  117. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.css +40 -67
  118. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +172 -79
  119. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  120. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  121. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  122. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
  123. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  124. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  125. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  126. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  127. package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
  128. package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
  129. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  130. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  131. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  132. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  133. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  134. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  135. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  136. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  137. package/dist/components/index.js +1 -1
  138. package/dist/components/{p-e30431fd.js → p-09e12e32.js} +4 -4
  139. package/dist/components/{p-cfd5023a.js → p-0af4c96a.js} +4 -4
  140. package/dist/components/{p-3872e105.js → p-0d4040e8.js} +5 -5
  141. package/dist/components/{p-3096b932.js → p-11700d82.js} +11 -11
  142. package/dist/components/{p-e9414745.js → p-13296f85.js} +2 -2
  143. package/dist/components/{p-ef6e73e5.js → p-1469ed4f.js} +3 -3
  144. package/dist/components/{p-82a49157.js → p-164c4f08.js} +4 -4
  145. package/dist/components/{p-855e42f7.js → p-19f32f2a.js} +2 -2
  146. package/dist/components/{p-e54fd2f8.js → p-1fe9d8a5.js} +10 -11
  147. package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
  148. package/dist/components/{p-a6be19f9.js → p-29aa33c8.js} +1 -1
  149. package/dist/components/{p-6ad26440.js → p-2a189a6b.js} +2 -2
  150. package/dist/components/{p-3b8e4380.js → p-308ed708.js} +2 -2
  151. package/dist/components/{p-29756311.js → p-3447cfe2.js} +1 -1
  152. package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
  153. package/dist/components/{p-caaa2258.js → p-3cf8ea69.js} +14 -14
  154. package/dist/components/{p-4f20d266.js → p-3d4fecca.js} +9 -9
  155. package/dist/components/{p-a93c0563.js → p-40893ddd.js} +3 -3
  156. package/dist/components/{p-15a22b5e.js → p-41b79a2e.js} +6 -6
  157. package/dist/components/{p-c1699d44.js → p-464c7198.js} +1 -1
  158. package/dist/components/{p-3f8c8b14.js → p-4db83698.js} +7 -7
  159. package/dist/components/{p-1eccdae0.js → p-5a3da1ac.js} +1 -1
  160. package/dist/components/{p-04f53f4e.js → p-5b460f62.js} +2 -2
  161. package/dist/components/{p-7d2d4b42.js → p-65a05865.js} +2 -2
  162. package/dist/components/{p-cc73e2ac.js → p-6e9df8dd.js} +2 -2
  163. package/dist/components/{p-4bfb71e5.js → p-75612e20.js} +3 -3
  164. package/dist/components/{p-f43af9a3.js → p-8921cb9c.js} +2 -2
  165. package/dist/components/p-8bbea05f.js +153 -0
  166. package/dist/components/{p-44bcedca.js → p-92423544.js} +2 -2
  167. package/dist/components/{p-dc1f5043.js → p-95722fb3.js} +2 -2
  168. package/dist/components/{p-2b5669f6.js → p-99746f8e.js} +1 -1
  169. package/dist/components/{p-733ef05a.js → p-9b4b062e.js} +7 -7
  170. package/dist/components/{p-a81878c9.js → p-a0f69423.js} +2 -2
  171. package/dist/components/{p-c11a2525.js → p-a1135d10.js} +2 -2
  172. package/dist/components/{p-36208112.js → p-a25b08b6.js} +7 -7
  173. package/dist/components/{p-461e1a38.js → p-a2c27d73.js} +1 -1
  174. package/dist/components/{p-a9f2bc99.js → p-a31e7e42.js} +3 -3
  175. package/dist/components/{p-4f89f22a.js → p-a3b7c408.js} +3 -3
  176. package/dist/components/{p-270c8032.js → p-a830ca83.js} +3 -3
  177. package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
  178. package/dist/components/{p-e808ca9d.js → p-aedb4093.js} +1 -1
  179. package/dist/components/{p-44201f97.js → p-b6841a9b.js} +1 -1
  180. package/dist/components/{p-c88f1bfe.js → p-bac1705f.js} +3 -3
  181. package/dist/components/{p-0dc71304.js → p-c29a45f3.js} +10 -10
  182. package/dist/components/{p-f7fedf70.js → p-c2ea4c67.js} +3 -3
  183. package/dist/components/{p-385320e5.js → p-c4f77126.js} +3 -3
  184. package/dist/components/{p-ebae7914.js → p-c6284dbe.js} +14 -9
  185. package/dist/components/{p-0f23d911.js → p-c9cc0a5b.js} +6 -6
  186. package/dist/components/{p-821f17ff.js → p-d21c7be3.js} +1 -1
  187. package/dist/components/{p-4f2ae6bc.js → p-d298006c.js} +1 -1
  188. package/dist/components/{p-11d7e1f9.js → p-d2a4570d.js} +18 -5
  189. package/dist/components/{p-0c695d78.js → p-d2c3076d.js} +2 -2
  190. package/dist/components/{p-6d1d2938.js → p-e9cec2be.js} +1 -1
  191. package/dist/components/{p-3b54553d.js → p-ec4cea27.js} +89 -57
  192. package/dist/components/{p-758be5ce.js → p-f2402ed7.js} +2 -2
  193. package/dist/components/{p-814f84c9.js → p-f259ef5f.js} +13 -8
  194. package/dist/components/{p-00489f30.js → p-f4c5337a.js} +2 -2
  195. package/dist/components/{p-cabfa2a5.js → p-f5f56fe1.js} +8 -8
  196. package/dist/components/tet-accordion.js +1 -1
  197. package/dist/components/tet-address-offers-filters-products.js +1 -1
  198. package/dist/components/tet-address-offers-filters.js +1 -1
  199. package/dist/components/tet-address-offers-view.js +25 -25
  200. package/dist/components/tet-address-offers.js +1 -1
  201. package/dist/components/tet-address-search.js +1 -1
  202. package/dist/components/tet-asset-addresses.js +13 -13
  203. package/dist/components/tet-asset-availability-addresses.js +1 -1
  204. package/dist/components/tet-autocomplete-dropdown.js +5 -5
  205. package/dist/components/tet-autocomplete.js +1 -1
  206. package/dist/components/tet-availability-contact-form.js +1 -1
  207. package/dist/components/tet-b2b-check-out-form.js +1 -1
  208. package/dist/components/tet-b2b-compare-card.js +1 -1
  209. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  210. package/dist/components/tet-b2b-configurator.js +20 -20
  211. package/dist/components/tet-b2b-service-calculator.js +9 -9
  212. package/dist/components/tet-banner-nav.js +3 -3
  213. package/dist/components/tet-bar-graph.js +1 -1
  214. package/dist/components/tet-border-radius.js +2 -2
  215. package/dist/components/tet-business-card.js +1 -1
  216. package/dist/components/tet-business-compare-card.js +3 -3
  217. package/dist/components/tet-business-lines.js +6 -6
  218. package/dist/components/tet-business-navigation.js +1 -1
  219. package/dist/components/tet-business-round-stepper.js +2 -2
  220. package/dist/components/tet-business-summary-card.js +1 -1
  221. package/dist/components/tet-button.js +1 -1
  222. package/dist/components/tet-card-list.js +1 -1
  223. package/dist/components/tet-carousel.js +185 -48
  224. package/dist/components/tet-checkbox.js +1 -1
  225. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  226. package/dist/components/tet-cloud-configurator.js +20 -14
  227. package/dist/components/tet-colors.js +5 -5
  228. package/dist/components/tet-compare-card-v2.js +9 -9
  229. package/dist/components/tet-compare-card.js +1 -1
  230. package/dist/components/tet-compare-cards-tab.js +16 -16
  231. package/dist/components/tet-compare-cards.js +1 -1
  232. package/dist/components/tet-contact-form.js +9 -9
  233. package/dist/components/tet-contact-info.js +1 -1
  234. package/dist/components/tet-container.js +1 -1
  235. package/dist/components/tet-counter.js +1 -1
  236. package/dist/components/tet-customer-assets.js +9 -9
  237. package/dist/components/tet-datepicker-header.js +1 -1
  238. package/dist/components/tet-datepicker-month-view.js +1 -1
  239. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  240. package/dist/components/tet-datepicker-year-view.js +1 -1
  241. package/dist/components/tet-datepicker.js +10 -10
  242. package/dist/components/tet-dialog.js +1 -1
  243. package/dist/components/tet-display.js +8 -8
  244. package/dist/components/tet-divider.js +7 -7
  245. package/dist/components/tet-dropdown.js +1 -1
  246. package/dist/components/tet-dynamic-card.js +4 -4
  247. package/dist/components/tet-expandable-input.js +3 -3
  248. package/dist/components/tet-expansion-panel.js +2 -2
  249. package/dist/components/tet-feedback-form.js +7 -7
  250. package/dist/components/tet-filter.js +4 -4
  251. package/dist/components/tet-floating-block.js +3 -3
  252. package/dist/components/tet-font-weight.js +2 -2
  253. package/dist/components/tet-fonts.js +2 -2
  254. package/dist/components/tet-grid.js +2 -2
  255. package/dist/components/tet-icon.js +1 -1
  256. package/dist/components/tet-inline-message.js +2 -2
  257. package/dist/components/tet-input.js +1 -1
  258. package/dist/components/tet-label.js +5 -5
  259. package/dist/components/tet-layout.js +2 -2
  260. package/dist/components/tet-link-card-list.js +3 -3
  261. package/dist/components/tet-link.js +2 -2
  262. package/dist/components/tet-loader.js +1 -1
  263. package/dist/components/tet-macd-view.js +10 -10
  264. package/dist/components/tet-menu-mobile.js +2 -2
  265. package/dist/components/tet-menu.js +2 -2
  266. package/dist/components/tet-multi-step-dialog.js +5 -5
  267. package/dist/components/tet-navigation-mobile.js +5 -5
  268. package/dist/components/tet-news-card-list.js +5 -5
  269. package/dist/components/tet-notification.js +1 -1
  270. package/dist/components/tet-number-input.js +1 -1
  271. package/dist/components/tet-placeholder.js +1 -1
  272. package/dist/components/tet-position.js +7 -7
  273. package/dist/components/tet-price-view.js +1 -1
  274. package/dist/components/tet-radio.js +1 -1
  275. package/dist/components/tet-range-slider.js +1 -1
  276. package/dist/components/tet-referral.js +6 -6
  277. package/dist/components/tet-round-stepper.js +2 -2
  278. package/dist/components/tet-selection-list.js +1 -1
  279. package/dist/components/tet-snicker-card-badge.js +1 -1
  280. package/dist/components/tet-spacing.js +2 -2
  281. package/dist/components/tet-spinner.js +1 -1
  282. package/dist/components/tet-stepper-input.js +1 -1
  283. package/dist/components/tet-stepper-v2.js +1 -1
  284. package/dist/components/tet-stepper-v3.js +1 -1
  285. package/dist/components/tet-stepper.js +1 -1
  286. package/dist/components/tet-switch.js +1 -1
  287. package/dist/components/tet-tab-content.js +1 -1
  288. package/dist/components/tet-tab-header.js +1 -1
  289. package/dist/components/tet-table.js +3 -3
  290. package/dist/components/tet-tag-group.js +1 -1
  291. package/dist/components/tet-tag.js +1 -1
  292. package/dist/components/tet-text-list.js +1 -1
  293. package/dist/components/tet-text.js +7 -7
  294. package/dist/components/tet-textarea.js +1 -1
  295. package/dist/components/tet-thank-you-view-v2.js +5 -5
  296. package/dist/components/tet-thank-you-view-v3.js +5 -5
  297. package/dist/components/tet-thank-you-view.js +4 -4
  298. package/dist/components/tet-tooltip.js +1 -1
  299. package/dist/components/tet-tv-gift-block.js +1 -1
  300. package/dist/components/tet-tv-gift-list.js +2 -2
  301. package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
  302. package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
  303. package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
  304. package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
  305. package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
  306. package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +5 -5
  307. package/dist/esm/loader.js +3 -3
  308. package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
  309. package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
  310. package/dist/esm/tet-accordion.entry.js +7 -7
  311. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  312. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  313. package/dist/esm/tet-address-offers_4.entry.js +7 -7
  314. package/dist/esm/tet-address-search.entry.js +4 -4
  315. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  316. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  317. package/dist/esm/tet-autocomplete.entry.js +1 -1
  318. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  319. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  320. package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
  321. package/dist/esm/tet-banner-nav.entry.js +3 -3
  322. package/dist/esm/tet-bar-graph.entry.js +1 -1
  323. package/dist/esm/tet-border-radius.entry.js +2 -2
  324. package/dist/esm/tet-business-card.entry.js +1 -1
  325. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  326. package/dist/esm/tet-business-lines.entry.js +5 -5
  327. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  328. package/dist/esm/tet-button.entry.js +2 -2
  329. package/dist/esm/tet-card-list.entry.js +1 -1
  330. package/dist/esm/tet-carousel.entry.js +178 -45
  331. package/dist/esm/tet-checkbox.entry.js +1 -1
  332. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  333. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  334. package/dist/esm/tet-colors.entry.js +5 -5
  335. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  336. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  337. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  338. package/dist/esm/tet-components.js +3 -3
  339. package/dist/esm/tet-contact-form.entry.js +5 -5
  340. package/dist/esm/tet-contact-info.entry.js +1 -1
  341. package/dist/esm/tet-container_2.entry.js +1 -1
  342. package/dist/esm/tet-counter.entry.js +1 -1
  343. package/dist/esm/tet-customer-assets.entry.js +3 -3
  344. package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
  345. package/dist/esm/tet-datepicker.entry.js +5 -5
  346. package/dist/esm/tet-dialog.entry.js +3 -3
  347. package/dist/esm/tet-display.entry.js +1 -1
  348. package/dist/esm/tet-divider.entry.js +1 -1
  349. package/dist/esm/tet-dropdown_2.entry.js +2 -2
  350. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  351. package/dist/esm/tet-expandable-input.entry.js +1 -1
  352. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  353. package/dist/esm/tet-feedback-form.entry.js +3 -3
  354. package/dist/esm/tet-filter.entry.js +1 -1
  355. package/dist/esm/tet-floating-block.entry.js +1 -1
  356. package/dist/esm/tet-font-weight.entry.js +2 -2
  357. package/dist/esm/tet-fonts.entry.js +2 -2
  358. package/dist/esm/tet-grid.entry.js +2 -2
  359. package/dist/esm/tet-icon.entry.js +3 -3
  360. package/dist/esm/tet-inline-message.entry.js +1 -1
  361. package/dist/esm/tet-input.entry.js +3 -3
  362. package/dist/esm/tet-label.entry.js +5 -5
  363. package/dist/esm/tet-layout.entry.js +2 -2
  364. package/dist/esm/tet-link-card-list.entry.js +1 -1
  365. package/dist/esm/tet-link.entry.js +2 -2
  366. package/dist/esm/tet-loader.entry.js +2 -2
  367. package/dist/esm/tet-macd-view.entry.js +6 -6
  368. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  369. package/dist/esm/tet-menu.entry.js +1 -1
  370. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  371. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  372. package/dist/esm/tet-news-card-list.entry.js +2 -2
  373. package/dist/esm/tet-notification.entry.js +2 -2
  374. package/dist/esm/tet-number-input.entry.js +1 -1
  375. package/dist/esm/tet-placeholder.entry.js +2 -2
  376. package/dist/esm/tet-position.entry.js +1 -1
  377. package/dist/esm/tet-price-view.entry.js +1 -1
  378. package/dist/esm/tet-radio.entry.js +1 -1
  379. package/dist/esm/tet-range-slider.entry.js +8 -8
  380. package/dist/esm/tet-referral.entry.js +5 -5
  381. package/dist/esm/tet-round-stepper.entry.js +1 -1
  382. package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
  383. package/dist/esm/tet-spacing.entry.js +2 -2
  384. package/dist/esm/tet-spinner.entry.js +4 -4
  385. package/dist/esm/tet-stepper-input.entry.js +75 -53
  386. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  387. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  388. package/dist/esm/tet-stepper.entry.js +1 -1
  389. package/dist/esm/tet-switch.entry.js +1 -1
  390. package/dist/esm/tet-tab-header.entry.js +1 -1
  391. package/dist/esm/tet-table.entry.js +1 -1
  392. package/dist/esm/tet-tag_2.entry.js +3 -3
  393. package/dist/esm/tet-text-list.entry.js +1 -1
  394. package/dist/esm/tet-text.entry.js +1 -1
  395. package/dist/esm/tet-textarea.entry.js +3 -3
  396. package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
  397. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  398. package/dist/esm/tet-thank-you-view.entry.js +1 -1
  399. package/dist/esm/tet-tv-gift-block.entry.js +1 -1
  400. package/dist/esm/tet-tv-gift-list.entry.js +1 -1
  401. package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
  402. package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
  403. package/dist/tet-components/{p-55be4b32.entry.js → p-01cbb74c.entry.js} +1 -1
  404. package/dist/tet-components/{p-dc5b2828.entry.js → p-0614c980.entry.js} +1 -1
  405. package/dist/tet-components/{p-4967b041.entry.js → p-08569f07.entry.js} +1 -1
  406. package/dist/tet-components/{p-79700f85.entry.js → p-0bda3eeb.entry.js} +1 -1
  407. package/dist/tet-components/{p-5391d594.entry.js → p-0bf60061.entry.js} +1 -1
  408. package/dist/tet-components/{p-03159225.entry.js → p-0d2c26f6.entry.js} +1 -1
  409. package/dist/tet-components/{p-7a3c1254.entry.js → p-127b2895.entry.js} +1 -1
  410. package/dist/tet-components/{p-26b112a2.entry.js → p-12f975ff.entry.js} +1 -1
  411. package/dist/tet-components/{p-2a43ccef.entry.js → p-14c15a69.entry.js} +1 -1
  412. package/dist/tet-components/{p-c13b2ba7.entry.js → p-1765c8c5.entry.js} +1 -1
  413. package/dist/tet-components/{p-040c0f07.entry.js → p-1a05c222.entry.js} +1 -1
  414. package/dist/tet-components/p-1ab14ba0.entry.js +1 -0
  415. package/dist/tet-components/{p-4e58c5e2.entry.js → p-1b976fcb.entry.js} +1 -1
  416. package/dist/tet-components/{p-1024ee6b.entry.js → p-1ea5d4bf.entry.js} +1 -1
  417. package/dist/tet-components/{p-bcca51cc.entry.js → p-1f5ed76c.entry.js} +1 -1
  418. package/dist/tet-components/{p-5ce2274d.entry.js → p-22c2b9f8.entry.js} +1 -1
  419. package/dist/tet-components/{p-6297692b.entry.js → p-239fa72a.entry.js} +1 -1
  420. package/dist/tet-components/{p-0690732e.entry.js → p-23f3b153.entry.js} +1 -1
  421. package/dist/tet-components/{p-be3a10d0.entry.js → p-24df18b9.entry.js} +1 -1
  422. package/dist/tet-components/{p-d9560c74.entry.js → p-24e724eb.entry.js} +1 -1
  423. package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
  424. package/dist/tet-components/p-27a27a6f.entry.js +1 -0
  425. package/dist/tet-components/{p-b0fc3440.entry.js → p-2a558830.entry.js} +1 -1
  426. package/dist/tet-components/{p-04f6f0c8.entry.js → p-2a973b3c.entry.js} +1 -1
  427. package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
  428. package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
  429. package/dist/tet-components/{p-629a9a5d.entry.js → p-32488c4e.entry.js} +1 -1
  430. package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
  431. package/dist/tet-components/{p-0c85ece1.entry.js → p-3b3fdcb0.entry.js} +1 -1
  432. package/dist/tet-components/{p-3fc6a020.entry.js → p-3b5e9fed.entry.js} +1 -1
  433. package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
  434. package/dist/tet-components/{p-ee3604eb.entry.js → p-43eff59d.entry.js} +1 -1
  435. package/dist/tet-components/{p-991f4f18.entry.js → p-49779ee5.entry.js} +1 -1
  436. package/dist/tet-components/{p-7b8a1e9e.entry.js → p-49da8f23.entry.js} +1 -1
  437. package/dist/tet-components/{p-81db4c30.entry.js → p-4d7f1c6e.entry.js} +1 -1
  438. package/dist/tet-components/{p-7c7fb42f.entry.js → p-4d935fc8.entry.js} +1 -1
  439. package/dist/tet-components/{p-73411459.entry.js → p-4fc641da.entry.js} +1 -1
  440. package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
  441. package/dist/tet-components/{p-eb814bc7.entry.js → p-54cc6dd2.entry.js} +1 -1
  442. package/dist/tet-components/{p-f63abf74.entry.js → p-55ded3a8.entry.js} +1 -1
  443. package/dist/tet-components/{p-71018cb8.entry.js → p-581b1f01.entry.js} +1 -1
  444. package/dist/tet-components/{p-ce850061.entry.js → p-589e8e4b.entry.js} +1 -1
  445. package/dist/tet-components/{p-5845a3dc.entry.js → p-59007fe7.entry.js} +1 -1
  446. package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
  447. package/dist/tet-components/{p-5a6fc34c.entry.js → p-5d56e074.entry.js} +1 -1
  448. package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
  449. package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
  450. package/dist/tet-components/p-660bdc27.js +1 -0
  451. package/dist/tet-components/{p-4fec6598.entry.js → p-687e922e.entry.js} +1 -1
  452. package/dist/tet-components/{p-c10d5369.entry.js → p-6c6cd148.entry.js} +1 -1
  453. package/dist/tet-components/{p-cf11c4cd.entry.js → p-6c6fe82b.entry.js} +1 -1
  454. package/dist/tet-components/{p-ae8ff573.entry.js → p-6cf6894d.entry.js} +1 -1
  455. package/dist/tet-components/p-6e06eb15.entry.js +1 -0
  456. package/dist/tet-components/{p-76526271.entry.js → p-6fb8c506.entry.js} +1 -1
  457. package/dist/tet-components/{p-32ece6e1.entry.js → p-6ffacde3.entry.js} +1 -1
  458. package/dist/tet-components/{p-fcd61f09.entry.js → p-70bdb222.entry.js} +1 -1
  459. package/dist/tet-components/{p-fa446e53.entry.js → p-70cec2eb.entry.js} +1 -1
  460. package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
  461. package/dist/tet-components/{p-46975ec4.entry.js → p-73c190a2.entry.js} +1 -1
  462. package/dist/tet-components/{p-ed044f47.entry.js → p-79ee95e0.entry.js} +1 -1
  463. package/dist/tet-components/{p-22e89e25.entry.js → p-7a9db071.entry.js} +1 -1
  464. package/dist/tet-components/{p-b822a377.entry.js → p-7bd6f009.entry.js} +1 -1
  465. package/dist/tet-components/{p-c66f4833.entry.js → p-835c7ee4.entry.js} +1 -1
  466. package/dist/tet-components/{p-3a3fd77f.entry.js → p-839ae15f.entry.js} +1 -1
  467. package/dist/tet-components/{p-f207db98.entry.js → p-8574b729.entry.js} +1 -1
  468. package/dist/tet-components/{p-25f6d66d.entry.js → p-86b8ce79.entry.js} +1 -1
  469. package/dist/tet-components/{p-10e72480.entry.js → p-8b93b91f.entry.js} +1 -1
  470. package/dist/tet-components/{p-f5d4d8c8.entry.js → p-8fae4e03.entry.js} +1 -1
  471. package/dist/tet-components/{p-f16514db.entry.js → p-9bd457d2.entry.js} +1 -1
  472. package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
  473. package/dist/tet-components/{p-565e9d34.entry.js → p-a64706a6.entry.js} +1 -1
  474. package/dist/tet-components/{p-0d5562a1.entry.js → p-af86e2dc.entry.js} +1 -1
  475. package/dist/tet-components/{p-f68450a4.entry.js → p-b22de340.entry.js} +1 -1
  476. package/dist/tet-components/{p-6b4c6447.entry.js → p-b29111f0.entry.js} +1 -1
  477. package/dist/tet-components/{p-ce4b6943.entry.js → p-b2c138f0.entry.js} +1 -1
  478. package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
  479. package/dist/tet-components/{p-872bbccf.entry.js → p-b468a922.entry.js} +1 -1
  480. package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
  481. package/dist/tet-components/{p-7de684c1.entry.js → p-b61304cf.entry.js} +1 -1
  482. package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
  483. package/dist/tet-components/{p-23130318.entry.js → p-c094dfd6.entry.js} +1 -1
  484. package/dist/tet-components/{p-fdc09ded.entry.js → p-c1b9f3f1.entry.js} +1 -1
  485. package/dist/tet-components/{p-9c36ecbd.entry.js → p-c76a4457.entry.js} +1 -1
  486. package/dist/tet-components/{p-62eb3efd.entry.js → p-c87aa965.entry.js} +1 -1
  487. package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
  488. package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
  489. package/dist/tet-components/p-cc99e827.entry.js +1 -0
  490. package/dist/tet-components/{p-b4ecbc40.entry.js → p-d028d7c4.entry.js} +1 -1
  491. package/dist/tet-components/{p-39796998.entry.js → p-d3db997e.entry.js} +1 -1
  492. package/dist/tet-components/{p-27f8f84e.entry.js → p-d76479dc.entry.js} +1 -1
  493. package/dist/tet-components/{p-62bcf382.entry.js → p-df99dc91.entry.js} +1 -1
  494. package/dist/tet-components/{p-a64e3e96.entry.js → p-e74416dc.entry.js} +1 -1
  495. package/dist/tet-components/{p-0256e74f.entry.js → p-ec1e970f.entry.js} +1 -1
  496. package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
  497. package/dist/tet-components/{p-1d0c3563.entry.js → p-ef84df23.entry.js} +1 -1
  498. package/dist/tet-components/{p-2738fbb7.entry.js → p-efc8d952.entry.js} +1 -1
  499. package/dist/tet-components/{p-2328b1d4.entry.js → p-f9c98275.entry.js} +1 -1
  500. package/dist/tet-components/{p-acd8d8bd.entry.js → p-fa67ec09.entry.js} +1 -1
  501. package/dist/tet-components/{p-26eb119d.entry.js → p-fdd44094.entry.js} +1 -1
  502. package/dist/tet-components/p-fe7dab47.entry.js +1 -0
  503. package/dist/tet-components/tet-components.esm.js +1 -1
  504. package/dist/types/components/basic/carousel/tet-carousel/tet-carousel.d.ts +39 -10
  505. package/dist/types/components/simple/inputs/tet-stepper-input/tet-stepper-input.d.ts +32 -54
  506. package/dist/types/components.d.ts +50 -26
  507. package/package.json +1 -1
  508. package/dist/components/p-533388cb.js +0 -153
  509. package/dist/components/p-713fff27.js +0 -15
  510. package/dist/tet-components/p-10d6af5d.entry.js +0 -1
  511. package/dist/tet-components/p-35114d81.entry.js +0 -1
  512. package/dist/tet-components/p-6d58ffac.entry.js +0 -1
  513. package/dist/tet-components/p-ec10d364.entry.js +0 -1
  514. package/dist/tet-components/p-ed28b055.entry.js +0 -1
  515. package/dist/tet-components/p-f81d95ae.js +0 -1
@@ -6,30 +6,76 @@ export class TetCarousel {
6
6
  this.dotCount = 0;
7
7
  this.totalItems = 0;
8
8
  this.activeItem = 0;
9
- this.theme = 'light';
10
9
  this.isDragging = false;
11
10
  this.dragOffset = 0;
11
+ this.isNudgeAnimating = false;
12
+ this.theme = 'light';
12
13
  this.showDots = true;
13
14
  this.showGradient = false;
14
15
  this.showButtons = true;
15
16
  this.transitionDuration = 500;
16
17
  this.swipeThreshold = 32;
17
- this.transitionTiming = 'cubic-bezier(0.77,0,0.175,1)';
18
+ this.transitionTiming = 'ease-out';
18
19
  this.buttonIconLeft = 'arrow-left';
19
20
  this.buttonIconRight = 'arrow-right';
20
21
  this.maxDots = 8;
21
22
  this.label = undefined;
23
+ this.nudgeAnimationInterval = 0;
22
24
  this.language = 'lv';
23
25
  }
26
+ static NUDGE_DISTANCE_PX = 16;
27
+ static NUDGE_IDLE_THRESHOLD_MS = 1500;
28
+ static GRADIENT_VISIBILITY_THRESHOLD_PX = 1;
24
29
  draggedAnchor = null;
25
30
  dragMoved = false;
26
31
  dragPointerStartX = 0;
32
+ dragStartX = 0;
33
+ nudgeTimeoutId;
34
+ nudgeGradientRafId;
35
+ lastInteractionAt = 0;
27
36
  trackElement = null;
37
+ trackContentElement = null;
28
38
  container;
29
- dragStartX = 0;
39
+ leftGradientRef;
40
+ rightGradientRef;
41
+ slotObserver;
30
42
  async onLanguageChange(language) {
31
43
  processTranslations('tet-components', language).then(() => forceUpdate(this));
32
44
  }
45
+ checkGradient() {
46
+ if (this.showGradient) {
47
+ const absOffset = Math.abs(this.getRealDragOffset());
48
+ const wrapperWidth = this.getViewportWidth();
49
+ const totalWidth = this.getSlotClientWidth();
50
+ const rightEdgeDistance = totalWidth - absOffset - wrapperWidth;
51
+ if (rightEdgeDistance >= 0) {
52
+ const rightEdge = rightEdgeDistance < TetCarousel.GRADIENT_VISIBILITY_THRESHOLD_PX;
53
+ if (absOffset < TetCarousel.GRADIENT_VISIBILITY_THRESHOLD_PX) {
54
+ this.leftGradientRef.style.opacity = '0';
55
+ this.rightGradientRef.style.opacity = '1';
56
+ }
57
+ else if (rightEdge) {
58
+ this.leftGradientRef.style.opacity = '1';
59
+ this.rightGradientRef.style.opacity = '0';
60
+ }
61
+ else {
62
+ this.leftGradientRef.style.opacity = '1';
63
+ this.rightGradientRef.style.opacity = '1';
64
+ }
65
+ }
66
+ }
67
+ else {
68
+ this.leftGradientRef.style.opacity = '0';
69
+ this.rightGradientRef.style.opacity = '0';
70
+ }
71
+ }
72
+ onNudgeAnimIntervalChange() {
73
+ this.syncNudgeSchedule();
74
+ }
75
+ onNudgeAnimationStateChange() {
76
+ this.syncNudgeGradientLoop();
77
+ this.checkGradient();
78
+ }
33
79
  componentWillLoad() {
34
80
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
35
81
  }
@@ -94,33 +140,20 @@ export class TetCarousel {
94
140
  }
95
141
  return count;
96
142
  }
97
- leftGradientRef;
98
- rightGradientRef;
99
- checkGradient() {
100
- if (this.showGradient) {
101
- const absOffset = Math.abs(this.dragOffset);
102
- const wrapperWidth = this.getViewportWidth();
103
- const totalWidth = this.getSlotClientWidth();
104
- const rightEdgeDistance = totalWidth - absOffset - wrapperWidth;
105
- if (rightEdgeDistance >= 0) {
106
- const rightEdge = rightEdgeDistance < 16;
107
- if (absOffset < 16) {
108
- this.leftGradientRef.style.opacity = '0';
109
- this.rightGradientRef.style.opacity = '1';
110
- }
111
- else if (rightEdge) {
112
- this.leftGradientRef.style.opacity = '1';
113
- this.rightGradientRef.style.opacity = '0';
114
- }
115
- else {
116
- this.leftGradientRef.style.opacity = '1';
117
- this.rightGradientRef.style.opacity = '1';
118
- }
119
- }
143
+ getRealDragOffset() {
144
+ return this.dragOffset + this.getCurrentNudgeTranslateX();
145
+ }
146
+ getCurrentNudgeTranslateX() {
147
+ if (!this.isNudgeAnimating || !this.trackContentElement)
148
+ return 0;
149
+ const transform = getComputedStyle(this.trackContentElement).transform;
150
+ if (!transform || transform === 'none')
151
+ return 0;
152
+ try {
153
+ return new DOMMatrixReadOnly(transform).m41 || 0;
120
154
  }
121
- else {
122
- this.leftGradientRef.style.opacity = '0';
123
- this.rightGradientRef.style.opacity = '0';
155
+ catch {
156
+ return 0;
124
157
  }
125
158
  }
126
159
  getDotCount() {
@@ -147,6 +180,7 @@ export class TetCarousel {
147
180
  }
148
181
  };
149
182
  handlePrev = () => {
183
+ this.registerUserInteraction();
150
184
  if (this.activeItem <= 0)
151
185
  return;
152
186
  this.afterLayout(() => {
@@ -161,6 +195,7 @@ export class TetCarousel {
161
195
  });
162
196
  };
163
197
  handleNext = () => {
198
+ this.registerUserInteraction();
164
199
  if (this.activeItem >= this.totalItems - 1)
165
200
  return;
166
201
  this.afterLayout(() => {
@@ -205,6 +240,7 @@ export class TetCarousel {
205
240
  return { item: assigned[0], index: 0 };
206
241
  };
207
242
  handleDotClick = (idx) => {
243
+ this.registerUserInteraction();
208
244
  this.activeDotIndex = idx;
209
245
  const totalWidth = this.getSlotClientWidth();
210
246
  let targetDragOffset = 0;
@@ -229,6 +265,7 @@ export class TetCarousel {
229
265
  }
230
266
  };
231
267
  onPointerDown = (e) => {
268
+ this.registerUserInteraction();
232
269
  e.preventDefault();
233
270
  e.stopPropagation();
234
271
  e.stopImmediatePropagation();
@@ -252,6 +289,7 @@ export class TetCarousel {
252
289
  onPointerMove = (e) => {
253
290
  if (!this.isDragging)
254
291
  return;
292
+ this.registerUserInteraction();
255
293
  // Only consider this a move (and prevent clicks) when movement exceeds a small threshold.
256
294
  const moveDistanceFromStart = Math.abs(e.screenX - this.dragPointerStartX);
257
295
  if (!this.dragMoved && moveDistanceFromStart > 5) {
@@ -275,6 +313,9 @@ export class TetCarousel {
275
313
  }
276
314
  };
277
315
  onPointerUp = (e) => {
316
+ if (!this.isDragging)
317
+ return;
318
+ this.registerUserInteraction();
278
319
  if (this.trackElement) {
279
320
  try {
280
321
  this.trackElement.releasePointerCapture?.(e.pointerId);
@@ -331,8 +372,8 @@ export class TetCarousel {
331
372
  this.addAnchorFocusListeners();
332
373
  this.checkGradient();
333
374
  this.initSlotListeners();
375
+ this.syncNudgeSchedule();
334
376
  }
335
- slotObserver;
336
377
  handleSlotChange() {
337
378
  this.getDotCount();
338
379
  this.checkGradient();
@@ -379,10 +420,95 @@ export class TetCarousel {
379
420
  });
380
421
  anchors.forEach((a, index) => {
381
422
  a.addEventListener('focus', () => {
423
+ this.registerUserInteraction();
382
424
  this.moveToItem(a, index);
383
425
  });
384
426
  });
385
427
  }
428
+ startNudgeGradientLoop() {
429
+ if (this.nudgeGradientRafId)
430
+ return;
431
+ const step = () => {
432
+ this.checkGradient();
433
+ if (!this.isNudgeAnimating) {
434
+ this.nudgeGradientRafId = undefined;
435
+ return;
436
+ }
437
+ this.nudgeGradientRafId = requestAnimationFrame(step);
438
+ };
439
+ this.nudgeGradientRafId = requestAnimationFrame(step);
440
+ }
441
+ stopNudgeGradientLoop() {
442
+ if (!this.nudgeGradientRafId)
443
+ return;
444
+ cancelAnimationFrame(this.nudgeGradientRafId);
445
+ this.nudgeGradientRafId = undefined;
446
+ }
447
+ syncNudgeGradientLoop() {
448
+ if (this.isNudgeAnimating) {
449
+ this.startNudgeGradientLoop();
450
+ }
451
+ else {
452
+ this.stopNudgeGradientLoop();
453
+ }
454
+ }
455
+ registerUserInteraction() {
456
+ this.lastInteractionAt = Date.now();
457
+ if (this.stopNudgeAnimation()) {
458
+ this.scheduleNextNudge();
459
+ }
460
+ }
461
+ hasRecentInteraction() {
462
+ if (!this.lastInteractionAt)
463
+ return false;
464
+ return Date.now() - this.lastInteractionAt < TetCarousel.NUDGE_IDLE_THRESHOLD_MS;
465
+ }
466
+ isRightNavigationDisabled() {
467
+ return this.dotCount <= 1 || this.activeItem === this.totalItems - 1 || this.isLastViewport(-this.dragOffset);
468
+ }
469
+ isNudgeEligible() {
470
+ return !!this.trackElement && !this.isDragging && !this.isNudgeAnimating && !this.hasRecentInteraction() && !this.isRightNavigationDisabled();
471
+ }
472
+ scheduleNextNudge() {
473
+ if (this.nudgeAnimationInterval <= 0)
474
+ return;
475
+ this.clearNudgeTimeout();
476
+ this.nudgeTimeoutId = setTimeout(() => {
477
+ this.nudgeTimeoutId = undefined;
478
+ if (this.isNudgeEligible()) {
479
+ this.isNudgeAnimating = true;
480
+ return;
481
+ }
482
+ this.scheduleNextNudge();
483
+ }, this.nudgeAnimationInterval);
484
+ }
485
+ onNudgeAnimationEnd = (event) => {
486
+ if (event.animationName === 'tet-carousel-nudge') {
487
+ this.stopNudgeAnimation();
488
+ this.scheduleNextNudge();
489
+ }
490
+ };
491
+ stopNudgeAnimation() {
492
+ const wasAnimating = this.isNudgeAnimating;
493
+ if (wasAnimating) {
494
+ this.isNudgeAnimating = false;
495
+ }
496
+ return wasAnimating;
497
+ }
498
+ clearNudgeTimeout() {
499
+ if (this.nudgeTimeoutId) {
500
+ clearTimeout(this.nudgeTimeoutId);
501
+ this.nudgeTimeoutId = undefined;
502
+ }
503
+ }
504
+ stopNudgeSchedule() {
505
+ this.clearNudgeTimeout();
506
+ this.stopNudgeAnimation();
507
+ }
508
+ syncNudgeSchedule() {
509
+ this.stopNudgeSchedule();
510
+ this.scheduleNextNudge();
511
+ }
386
512
  clampDotIndex(dotIndex) {
387
513
  return Math.max(0, Math.min(dotIndex, this.dotCount - 1));
388
514
  }
@@ -414,6 +540,8 @@ export class TetCarousel {
414
540
  }
415
541
  }
416
542
  disconnectedCallback() {
543
+ this.stopNudgeSchedule();
544
+ this.stopNudgeGradientLoop();
417
545
  window.removeEventListener('resize', this.getDotCount.bind(this));
418
546
  const slot = this.container?.querySelector('slot');
419
547
  if (slot) {
@@ -427,28 +555,31 @@ export class TetCarousel {
427
555
  document.removeEventListener('pointerup', this.onPointerUp);
428
556
  }
429
557
  render() {
430
- return (h(Host, { key: '55e4a6d72e8d743d4292bf7b13099ba8ec78568f' }, h("div", { key: '690baf14fa0111a48e986f9bb6b46f5e1316532f', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '11c23723dddb8c2b5056d350f4cb38bbae992db5', class: "tet-carousel__container" }, h("div", { key: '16efc588fc8e3ae7e8f574ca9c181a88006a9604', class: "tet-carousel__gradient-left", ref: (el) => {
558
+ return (h(Host, { key: '3a7b181e4c8a1d19777a39ca77197199452e12b5' }, h("div", { key: 'f5830e6a8158c0ae5ffddd3cde678223b8e1b51a', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '77031caf2348f1a06e757096192cdaa7cadaf3cc', class: "tet-carousel__container" }, h("div", { key: 'd514790264ef2b4a7faf66ef9932871525db053a', class: "tet-carousel__gradient-left", ref: (el) => {
431
559
  this.leftGradientRef = el;
432
- } }), h("div", { key: '21e25113788756b2a50ea2753112946d53e38acf', class: "tet-carousel__gradient-right", ref: (el) => {
560
+ } }), h("div", { key: 'ced61d4ccfcc5de268ba1da71bccff32ad8ec9f6', class: "tet-carousel__gradient-right", ref: (el) => {
433
561
  this.rightGradientRef = el;
434
- } }), h("div", { key: 'd73ce24292dd07dc8f1be3c332d806e2f786ecc4', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
562
+ } }), h("div", { key: 'd76b0c1211165a3ee32adfec02cc109b7d296307', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
435
563
  transform: `translateX(${this.dragOffset}px)`,
436
564
  transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
437
- }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '732eaa7e833adb12c9c6519f29f7070bbd991262' }))), !!this.label && h("div", { key: 'e214ba6831574ac4bc97305e4c6167ff339c6956', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: '88282e7940bdb9208cbf681e9b9db4eafdc1231e', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '7824de4ac68ccfd30aff1386265ad3ebfa473517', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: 'b871785466eda2bfd76226748789cb9a82ecc3cd', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
565
+ }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("div", { key: '874945906359997e34b179988f05b33d4300b4ae', class: {
566
+ 'tet-carousel__track-content': true,
567
+ 'tet-carousel__track-content--nudge': this.isNudgeAnimating
568
+ }, ref: (el) => (this.trackContentElement = el), style: {
569
+ '--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
570
+ }, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: 'c714dd8072438aae03661de4d3dc689fb471e412' })))), !!this.label && h("div", { key: '28a233d7c5c7799b0dc505e83616da798deb970c', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: 'e84c35e48571aa85420686a5e608135610103571', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '3222b45cfd3a37deb7a4a572d0523044be1eb1f5', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: 'a296a74cbbecb955d378de5e9ba04c6ef1a4a74f', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
438
571
  if (!this.isDragging)
439
572
  this.handlePrev();
440
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '1956610f0ae3ef7caa86345eea1ea8d9c8cdb624', 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, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
573
+ }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: 'e205c6a0354ab7a66985759dd95f6f0aa086bba0', 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, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
441
574
  if (!this.isDragging)
442
575
  this.handleDotClick(idx);
443
- }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '7e827860320c5a25ddbee8ff43a416b212a5405f', class: "tet-carousel__buttons " }, h("tet-button", { key: 'd02e07f42cba8277c166404837518c5af32fc0c7', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
576
+ }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: 'ff9081c15d417e870db6e5e82f030bc031310027', class: "tet-carousel__buttons" }, h("tet-button", { key: '279bac2814813a2ce35308d556bca341f1b4a3bb', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
444
577
  if (!this.isDragging)
445
578
  this.handlePrev();
446
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '17d47bbfcbf6bd2a9240c74804a33f0e07e15252', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
579
+ }, accessibilityLabel: t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '320adc13d425ca84c26ef2d1cc7001220ce7d9c4', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
447
580
  if (!this.isDragging)
448
581
  this.handleNext();
449
- }, "aria-label": t('components-carousel-next'), disabled: this.dotCount <= 1 ||
450
- this.activeItem === this.totalItems - 1 ||
451
- this.isLastViewport(-this.dragOffset) }))))))));
582
+ }, accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
452
583
  }
453
584
  static get is() { return "tet-carousel"; }
454
585
  static get encapsulation() { return "shadow"; }
@@ -588,7 +719,7 @@ export class TetCarousel {
588
719
  },
589
720
  "attribute": "transition-timing",
590
721
  "reflect": false,
591
- "defaultValue": "'cubic-bezier(0.77,0,0.175,1)'"
722
+ "defaultValue": "'ease-out'"
592
723
  },
593
724
  "buttonIconLeft": {
594
725
  "type": "string",
@@ -656,11 +787,29 @@ export class TetCarousel {
656
787
  "optional": true,
657
788
  "docs": {
658
789
  "tags": [],
659
- "text": "Maximum number of dots."
790
+ "text": "Label for the carousel."
660
791
  },
661
792
  "attribute": "label",
662
793
  "reflect": false
663
794
  },
795
+ "nudgeAnimationInterval": {
796
+ "type": "number",
797
+ "mutable": false,
798
+ "complexType": {
799
+ "original": "number",
800
+ "resolved": "number",
801
+ "references": {}
802
+ },
803
+ "required": false,
804
+ "optional": false,
805
+ "docs": {
806
+ "tags": [],
807
+ "text": "Interval for the nudge animation in milliseconds."
808
+ },
809
+ "attribute": "nudge-animation-interval",
810
+ "reflect": false,
811
+ "defaultValue": "0"
812
+ },
664
813
  "language": {
665
814
  "type": "string",
666
815
  "mutable": false,
@@ -694,7 +843,8 @@ export class TetCarousel {
694
843
  "totalItems": {},
695
844
  "activeItem": {},
696
845
  "isDragging": {},
697
- "dragOffset": {}
846
+ "dragOffset": {},
847
+ "isNudgeAnimating": {}
698
848
  };
699
849
  }
700
850
  static get watchers() {
@@ -707,6 +857,12 @@ export class TetCarousel {
707
857
  }, {
708
858
  "propName": "dragOffset",
709
859
  "methodName": "checkGradient"
860
+ }, {
861
+ "propName": "nudgeAnimationInterval",
862
+ "methodName": "onNudgeAnimIntervalChange"
863
+ }, {
864
+ "propName": "isNudgeAnimating",
865
+ "methodName": "onNudgeAnimationStateChange"
710
866
  }];
711
867
  }
712
868
  }
@@ -50,7 +50,7 @@ export class TetIcon {
50
50
  };
51
51
  shouldUseDefaultColor = () => (this.useDefaultColor || defaultColorIcons.includes(this.name));
52
52
  render() {
53
- return (h("span", { key: 'c5ddca646b87554822b4c175bd7139af80cb3995', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '4d992df15ab7e5342a224e489ac3267664f3f239', class: {
53
+ return (h("span", { key: 'ed320686c17d5866f26d5f418f328c6948d3640f', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '8d5eb263eba6ce33576caff437625d5f021f9b19', class: {
54
54
  'icon-container': true,
55
55
  'default-color': this.shouldUseDefaultColor(),
56
56
  [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: '797bebccd24b1d5ec737d614e0446ed93fb529d1', class: "loader" }, h("div", { key: '7950251f3a7f7677cd9303f69eeac54f00e7dcac', class: "loader-inner" })));
7
+ return (h("div", { key: '85b2d0e291d3ef70af1e83c6adba5ace485b9010', class: "loader" }, h("div", { key: '962714060397a7dec7af28e046e5cd6533ed4505', 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: 'd235e9e033631259c071d46e1e84ca969baa01ca', style: { width: this.width, height: this.height } }, h("div", { key: '178d0f8bcd2b2478f15519c2174eac61669f566d', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '44ccf3ad5e6cd034affc7a1cce60ac76d62b6508', class: "placeholder", style: { height: this.height } }))));
12
+ return (h(Host, { key: 'f9c9d1dfed194378e90fe06171441b0db34111cd', style: { width: this.width, height: this.height } }, h("div", { key: 'd1f3b190ecfae5bfbb58a4a84901bf6ff7da64dd', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '79e229334a49b944ef89c27e3aefbcd053f2dc9d', class: "placeholder", style: { height: this.height } }))));
13
13
  }
14
14
  static get is() { return "tet-placeholder"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -48,13 +48,13 @@ export class TetSpinner {
48
48
  foreignObject.setAttribute('clip-path', 'url(#clip)');
49
49
  };
50
50
  render() {
51
- return (h("div", { key: '34ae4e1b54605bcc6a35cf6c34c3d81912278e1d', ref: element => (this.spinner = element), class: {
51
+ return (h("div", { key: 'c5de3ff62bae17c64468e3406729a4c4a3a587f8', ref: element => (this.spinner = element), class: {
52
52
  spinner: true,
53
53
  [`${this.theme}-theme`]: true,
54
54
  [`size--${this.size}`]: true,
55
55
  [`spinner--${this.type}`]: true,
56
- } }, h("svg", { key: '6c5b50e4478f8317e694c9588eb13751e4567eb8', viewBox: "0 0 40 40" }, h("clipPath", { key: 'd261977216b2654cd4349be63d18ba71020500a4', id: "clip" }, h("path", { key: '374f5619c2f98434f72fbc6929d7fd6629273a36', 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
57
- 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: 'c987af39f6844eb7950ca327808e6b4dd0ad21c4' }, h("div", { key: 'a5900c0eca56f75f6dfdbb1f3c004510109b3bb4', class: "spinner__gradient" })))));
56
+ } }, h("svg", { key: 'acb4ecdbf2a75a47aae09a18a1fa44d8f942b6c5', viewBox: "0 0 40 40" }, h("clipPath", { key: 'f45be4277077512749cd357ec78146d2d180cf46', id: "clip" }, h("path", { key: '4d82466e60d835501e4622ae28e6cc3b90229c33', 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
57
+ 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: '62877b47af730b01ec32cb094b24445c0a4fa328' }, h("div", { key: 'b09da6b267c7dcfee4e17bedd0bc297ffea54ace', class: "spinner__gradient" })))));
58
58
  }
59
59
  static get is() { return "tet-spinner"; }
60
60
  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: 'c77468e7d0e8cf9309be371a5228820e78016d11' }, h("div", { key: '0893759ac35c617c8832f8cda94f22df4980ce17', class: {
16
+ return (h(Host, { key: 'e126e5919f6be51dc62a20027556a7c0e803f9a4' }, h("div", { key: '08ce2538f49bb446d065eb7e1ca22e43ae732d3d', 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: '357088a0ed3815c89d0004a8fe9626749c2e987f', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'c783b3a210a19fa191927f7ec4ae0e6eadcc3111', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
21
+ } }, this.labelTitle && h("p", { key: '7ebcaf67ad4fe0fa7fbab9956bbe5cbe7fc1016c', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'bcc130874d361d1765c5a0c6b2478e79435f2a63', 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"; }
@@ -55,9 +55,9 @@ export class TetDatepickerHeader {
55
55
  this.datepickerViewChanged.emit(view);
56
56
  };
57
57
  render() {
58
- return (h("div", { key: '680ac39611eaeff615289e20b845fa484613f300', class: "header" }, this.datepickerView !== 'year'
58
+ return (h("div", { key: 'eabd0fd41ab5d16da4c28f953b040a628c472825', class: "header" }, this.datepickerView !== 'year'
59
59
  ? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
60
- : h("div", null), h("div", { key: '370eadab0ce764da8252c38f5c27eada0a97cd79', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'eb1797ccea14f21a193ca5e9cbe3de263fab42a5', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
60
+ : h("div", null), h("div", { key: 'a41aabaa5e06a7632874ea12e33ace557989594f', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '6765d3880b0fa9dd11582d4109104d75c8e735e9', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
61
61
  ? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
62
62
  : h("div", null)));
63
63
  }
@@ -159,7 +159,7 @@ export class TetDatepickerMonthView {
159
159
  };
160
160
  };
161
161
  render() {
162
- return (h(Host, { key: 'fca8cb8d45578ec0c8608da8ce323420644faad9' }, h("div", { key: '74cac3ff3a471c08931b46db322a0e0e4e40b125', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: '72e847b71935b87986f2b356adfe29758e1361fa', 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))))));
162
+ return (h(Host, { key: '5006dcdcb3b2fb73458d2570ee3e5868e9746bad' }, h("div", { key: '397d63b6868d5f0bf83d78fe0281921b8eff9d3f', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'cb15ac94b2e1500655d0a98216d99b899da83b83', 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))))));
163
163
  }
164
164
  static get is() { return "tet-datepicker-month-view"; }
165
165
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class TetDatepickerMultiYearView {
32
32
  return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
33
33
  };
34
34
  render() {
35
- return (h("div", { key: '15883bca1e32241d0d9622e2792bf784608cb1ed', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
35
+ return (h("div", { key: '1015708cc1361091f9cd7e96c771c6d9f14053b3', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
36
36
  }
37
37
  static get is() { return "tet-datepicker-multi-year-view"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class TetDatepickerYearView {
39
39
  };
40
40
  };
41
41
  render() {
42
- return (h("div", { key: '6c53c78d86fae911b7dab4ace3d7c49f191d4ec5', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
42
+ return (h("div", { key: 'c6cebcc616dc7ad4ebe644c37aafd1379ee86867', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
43
43
  }
44
44
  static get is() { return "tet-datepicker-year-view"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -100,10 +100,10 @@ export class TetDatepicker {
100
100
  return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
101
101
  };
102
102
  render() {
103
- return (h("div", { key: '636e956c0abe1c6b98ce50163680dec31d78a7c2', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '2e9cea1ac3c2fca14fed89b97bd38acb36105699', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '78eb3d79204d9a605cda3d08273b95efda75bdd8', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
104
- h("tet-datepicker-month-view", { key: 'a3153cabfd2f9970a691dfeb76c2a28cc5748d37', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
105
- h("tet-datepicker-multi-year-view", { key: 'eaa1a0714135ea4d5e7544fdfb8c49775b650335', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
106
- h("tet-datepicker-year-view", { key: '6af6afa0d4672bf7954420836d6a2beb349093f2', selectedDate: this.date, internalDate: this.internalDate }))));
103
+ return (h("div", { key: '86dabe383b21b6fda3d4ee7de596c1eb90dcca8f', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: 'd6ab55b8985e2a392f5f3ffbdce0cb53c5a48477', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '179b9fcceddfcfcdaac97b6def9d33d9746c3139', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
104
+ h("tet-datepicker-month-view", { key: '9c9e0046ca5b1f287cc8464eb01d6a02c19596cf', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
105
+ h("tet-datepicker-multi-year-view", { key: '378525502835c38a657722116e9d87ce3b649815', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
106
+ h("tet-datepicker-year-view", { key: '5ad09fb548685b6cd3942d84ed687f848cb03130', selectedDate: this.date, internalDate: this.internalDate }))));
107
107
  }
108
108
  static get is() { return "tet-datepicker"; }
109
109
  static get encapsulation() { return "shadow"; }
@@ -760,31 +760,31 @@ export class TetRangeSlider {
760
760
  return dataListItem;
761
761
  };
762
762
  render() {
763
- return (h(Host, { key: 'c8e35c143a6be1b172d63fae08d5bb248773ad9a' }, h("div", { key: 'ad0451e17d38d08f28875e53138ad77c3142ec0b', class: {
763
+ return (h(Host, { key: 'ebafef0764cad521f4d0a1ad04bd14ea4b33fc34' }, h("div", { key: 'ac62632dd6025bf34344c97002cfda4435031826', class: {
764
764
  'range-slider': true,
765
765
  [`range-slider--${this.containerSize}`]: true,
766
766
  [`range-slider--${this.type}`]: true,
767
767
  'range-slider--no-controls': !this.withControls,
768
768
  'range-slider--no-input': !this.withInput,
769
769
  [this.theme]: true,
770
- } }, h("div", { key: '3f99b104e645bab2d8e3c9c43fb2f7e0b8f1ffe1', class: {
770
+ } }, h("div", { key: '203a318df8a5f2dcf15fc9b47d5b865ef777ead6', class: {
771
771
  'range-slider__input-container': true,
772
772
  'hidden': !this.withInput,
773
- } }, h("tet-input", { key: '8f0914d7daf2ca75ef15062357ebc61703e800a7', "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: 'c84209a7974376535239e801ff34f2fb7e9a6239', class: "range-slider__container" }, h("tet-button", { key: 'e4575713db819b214b90eac76f3f2caa084dd1a8', theme: this.theme, iconMode: true, class: {
773
+ } }, h("tet-input", { key: '4cd2625ce22bfd189607958ad04b88fa0d2201cb', "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: 'acc67a500cd277551c6647dbd2c869ce14791bff', class: "range-slider__container" }, h("tet-button", { key: 'cb81687a384812615e63bbe81836a73b6ebbc113', theme: this.theme, iconMode: true, class: {
774
774
  'range-slider__control': true,
775
775
  'range-slider__control--left': true,
776
776
  'hidden': !this.withControls,
777
- }, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: '161f612a4d88f0567b22dfa2d81d3f49471ca893', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '35f9d67d11383538944ae64a14ffef539c223de3', 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: '958c36eb8dca4510923ec6fa762a6fa408e64bed', class: "range-slider__slider-wrapper" }, h("input", { key: '0b62e5d99d2be52351c01dfe0565e5ac1e86cdfe', 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: '03730d339ffd756348777c9836213944341c1f6a', class: "range-slider__track range-slider__track--background" }), h("div", { key: 'a3cd5c83d1b43dc1dab2fab272cb71892542f9eb', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '4371c05d040b41f55628dc48912ad025b4df3c83', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '44452760584d6d2e642ad32d324ac932a8581ef5', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
777
+ }, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: 'be6a56e0ff20488516c1c1ab1ebf094efd9b0bb1', name: "remove", class: "range-slider__control--icon" })), h("div", { key: 'eb3ec7776668b7ebeaa0d99bf2f59a76f0d939a5', 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: '3e5164c4b8ca9d9a3d911545b18525263fd5c078', class: "range-slider__slider-wrapper" }, h("input", { key: '717cb69fb664957a5867ab55da46371bafa2ad71', 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: '8e7e077417277d080e38f377c5527a88d9c942b0', class: "range-slider__track range-slider__track--background" }), h("div", { key: 'e2a1e570cbcf97c8cf0b1fd4ce855adde8096cf6', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: 'fddc819a7f3106dfc5e432c2063f9955aecb1de1', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '991b98aa20fbffb3528a32647dabab94d22a1a6b', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
778
778
  'range-slider__data-label-container': true,
779
779
  'hidden': this.type === 'secondary' && this.containerSize === 'small',
780
- } })), h("div", { key: '088a8e3000f577eb1af4709299660228ec60884e', class: {
780
+ } })), h("div", { key: '86daa095139cc87d7e99a40d5c37f3d4da43dac1', class: {
781
781
  'range-slider__current-step-container': true,
782
782
  'hidden': !this.withCurrentStepCounter,
783
- } }, h("div", { key: '281d1bcfde25f0a4dd6d4d0587cd9fced09005a7', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '59ccd4b546d5a8ccf875c0a097a325ac9cc95603', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '8031a4502185007da20bf6c321249772206d73b1', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", { key: 'eca48c3c4384bdf17cc87a5fc9873c71b0251265', theme: this.theme, iconMode: true, class: {
783
+ } }, h("div", { key: 'a6c111fcd16cad59b77830825cb59619968181f0', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: '2b48c092b79f16721d6d83bd2b3a4d6a7c3ddc58', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: '158b1e8dec1254680235b2f332d60f2cc78c1dda', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", { key: '2e442cc696fba3bbc9143531ecead99dfdec6cb2', theme: this.theme, iconMode: true, class: {
784
784
  'range-slider__control': true,
785
785
  'range-slider__control--right': true,
786
786
  'hidden': !this.withControls,
787
- }, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: 'cc3eb3b278138a756126bdd74398caddb89dba91', name: "add", class: "range-slider__control--icon" }))))));
787
+ }, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: 'f8639052793ebc0ce28bc9b05634571ea3755e07', name: "add", class: "range-slider__control--icon" }))))));
788
788
  }
789
789
  static get is() { return "tet-range-slider"; }
790
790
  static get encapsulation() { return "shadow"; }