@tet/tet-components 1.4.9-testing → 1.4.10-production

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/dist/cjs/{address-252a4d62.js → address-ac89cbf7.js} +1 -1
  2. package/dist/cjs/{assets-b16e97be.js → assets-d8d3b4a0.js} +1 -1
  3. package/dist/cjs/{async-request-d67fb591.js → async-request-5585e750.js} +1 -1
  4. package/dist/cjs/{http-codes-633d9222.js → http-codes-910040e7.js} +1 -1
  5. package/dist/cjs/{index-d4d9f14a.js → index-4daaccaa.js} +19 -11
  6. package/dist/cjs/{index-1127ff0d.js → index-f89f05b8.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/{phone-47292459.js → phone-afd7e7c6.js} +2 -2
  9. package/dist/cjs/{product-comparison-2e8e7d4c.js → product-comparison-e7afcafb.js} +1 -1
  10. package/dist/cjs/tet-accordion.cjs.entry.js +165 -0
  11. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
  12. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  13. package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
  14. package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
  15. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  17. package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
  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 +3 -3
  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 +1 -1
  29. package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
  30. package/dist/cjs/tet-carousel.cjs.entry.js +10 -10
  31. package/dist/cjs/tet-checkbox.cjs.entry.js +11 -3
  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 +4 -4
  36. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  37. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
  38. package/dist/cjs/tet-components.cjs.js +2 -2
  39. package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
  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-customer-assets.cjs.entry.js +4 -4
  43. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
  44. package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
  45. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  46. package/dist/cjs/tet-dropdown_2.cjs.entry.js +3 -3
  47. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
  50. package/dist/cjs/tet-feedback-form.cjs.entry.js +229 -0
  51. package/dist/cjs/tet-filter.cjs.entry.js +3 -3
  52. package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
  53. package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
  54. package/dist/cjs/tet-grid.cjs.entry.js +2 -2
  55. package/dist/cjs/tet-icon.cjs.entry.js +3 -3
  56. package/dist/cjs/tet-inline-message.cjs.entry.js +3 -3
  57. package/dist/cjs/tet-input.cjs.entry.js +4 -4
  58. package/dist/cjs/tet-label.cjs.entry.js +5 -5
  59. package/dist/cjs/tet-layout.cjs.entry.js +2 -2
  60. package/dist/cjs/tet-link-card-list.cjs.entry.js +2 -2
  61. package/dist/cjs/tet-link.cjs.entry.js +2 -2
  62. package/dist/cjs/tet-loader.cjs.entry.js +2 -2
  63. package/dist/cjs/tet-macd-view.cjs.entry.js +7 -7
  64. package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
  65. package/dist/cjs/tet-menu.cjs.entry.js +2 -2
  66. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  67. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
  68. package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
  69. package/dist/cjs/{tet-accordion_2.cjs.entry.js → tet-notification.cjs.entry.js} +2 -152
  70. package/dist/cjs/tet-number-input.cjs.entry.js +3 -3
  71. package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-radio.cjs.entry.js +2 -2
  74. package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
  75. package/dist/cjs/tet-referral.cjs.entry.js +7 -7
  76. package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
  77. package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
  78. package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
  79. package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
  80. package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
  81. package/dist/cjs/tet-stepper-v3.cjs.entry.js +2 -2
  82. package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
  83. package/dist/cjs/tet-switch.cjs.entry.js +2 -2
  84. package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
  85. package/dist/cjs/tet-table.cjs.entry.js +2 -2
  86. package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
  87. package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
  88. package/dist/cjs/tet-textarea.cjs.entry.js +14 -5
  89. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
  90. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
  91. package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
  92. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
  93. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
  94. package/dist/cjs/{theme-wrapper-ba04df0a.js → theme-wrapper-3f7c73ee.js} +2 -2
  95. package/dist/cjs/{translations-a3267ac8.js → translations-62fb6b1c.js} +1 -1
  96. package/dist/collection/assets/icons/icon-map.json +1 -1
  97. package/dist/collection/assets/icons/tc/tc-bubbles.svg +3 -0
  98. package/dist/collection/collection-manifest.json +1 -0
  99. package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
  100. package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
  101. package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
  102. package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
  103. package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
  104. package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +2 -1
  105. package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +2 -1
  106. package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
  107. package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
  108. package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
  109. package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
  110. package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
  111. package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
  112. package/dist/collection/components/advanced/forms/tet-feedback-form/tet-feedback-form.css +777 -0
  113. package/dist/collection/components/advanced/forms/tet-feedback-form/tet-feedback-form.js +329 -0
  114. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
  115. package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
  116. package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.css +17 -0
  117. package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +27 -1
  118. package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +1 -1
  119. package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +1 -1
  120. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  121. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  122. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
  123. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +7 -7
  124. package/dist/collection/components/basic/icon/tet-icon.js +1 -1
  125. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  126. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  127. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  128. package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
  129. package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
  130. package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
  131. package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
  132. package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
  133. package/dist/collection/components/simple/filter/tet-filter/tet-filter.js +2 -2
  134. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  135. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  136. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  137. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  138. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  139. package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.css +2 -1
  140. package/dist/collection/components/simple/inputs/tet-input/tet-input.css +2 -1
  141. package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
  142. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  143. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  144. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.css +3 -1
  145. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +51 -3
  146. package/dist/collection/components/simple/lists/tet-link-card-list/tet-link-card-list.js +1 -1
  147. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  148. package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +2 -1
  149. package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
  150. package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +1 -1
  151. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  152. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +3 -0
  153. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +32 -5
  154. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  155. package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
  156. package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +2 -2
  157. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  158. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  159. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  160. package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
  161. package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
  162. package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
  163. package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
  164. package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
  165. package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
  166. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  167. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  168. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  169. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  170. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  171. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  172. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  173. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  174. package/dist/components/assets/icons/icon-map.json +1 -1
  175. package/dist/components/assets/icons/tc/tc-bubbles.svg +3 -0
  176. package/dist/components/index.js +3 -1
  177. package/dist/components/{p-133a5329.js → p-0bc8f271.js} +7 -7
  178. package/dist/components/{p-4997eb6a.js → p-0c468958.js} +2 -2
  179. package/dist/components/{p-f81f3b8a.js → p-1790dbb6.js} +2 -2
  180. package/dist/components/{p-3e7c1149.js → p-19c1818f.js} +10 -10
  181. package/dist/components/{p-18ea47ca.js → p-1c466832.js} +1 -1
  182. package/dist/components/{p-d0c701e2.js → p-1c7c39e3.js} +3 -3
  183. package/dist/components/{p-ee1d939a.js → p-220f3eef.js} +1 -1
  184. package/dist/components/{p-ccd4e8a3.js → p-2627300f.js} +1 -1
  185. package/dist/components/{p-01f3f689.js → p-2a1f3779.js} +5 -5
  186. package/dist/components/{p-aaefac33.js → p-31662bf6.js} +1 -1
  187. package/dist/components/{p-6cf7bbb6.js → p-323ad3ad.js} +4 -4
  188. package/dist/components/{p-2468a358.js → p-35228b24.js} +2 -2
  189. package/dist/components/{p-8b60f0d6.js → p-355a2513.js} +3 -3
  190. package/dist/components/{p-76f77f88.js → p-365bd14f.js} +2 -2
  191. package/dist/components/{p-062b9078.js → p-38f60b37.js} +2 -2
  192. package/dist/components/{p-0fa6d576.js → p-3f08bb9f.js} +2 -2
  193. package/dist/components/{p-1c2dfe56.js → p-429b72d5.js} +1 -1
  194. package/dist/components/{p-cc6c2e3f.js → p-4a5ad708.js} +3 -3
  195. package/dist/components/{p-e54ff1e9.js → p-4c5fdbae.js} +3 -3
  196. package/dist/components/{p-1a05cff4.js → p-535e5e0f.js} +2 -2
  197. package/dist/components/{p-21c643fd.js → p-54bd66a7.js} +6 -6
  198. package/dist/components/{p-224df714.js → p-56f2b572.js} +10 -10
  199. package/dist/components/{p-9b1f8067.js → p-57f8ba03.js} +3 -3
  200. package/dist/components/{p-63404e57.js → p-581edb37.js} +1 -1
  201. package/dist/components/{p-a8f6912f.js → p-652bf1d3.js} +3 -3
  202. package/dist/components/{p-ae808f30.js → p-66cd9c5e.js} +13 -4
  203. package/dist/components/{p-afb40afd.js → p-6817045a.js} +5 -5
  204. package/dist/components/{p-56690079.js → p-84f94c19.js} +5 -5
  205. package/dist/components/{p-e1639033.js → p-88af3744.js} +1 -1
  206. package/dist/components/{p-d04f645b.js → p-945a21e9.js} +3 -3
  207. package/dist/components/{p-8633b584.js → p-977ae11e.js} +4 -4
  208. package/dist/components/{p-2a0fc928.js → p-a268bed7.js} +4 -4
  209. package/dist/components/{p-44301cce.js → p-a5cfbf0e.js} +14 -14
  210. package/dist/components/{p-9adf59c1.js → p-a6866b89.js} +8 -8
  211. package/dist/components/{p-0a31936f.js → p-b19fd5b3.js} +6 -6
  212. package/dist/components/{p-7cdac5d6.js → p-b728afb9.js} +10 -10
  213. package/dist/components/{p-e8649be7.js → p-bcf37b89.js} +2 -2
  214. package/dist/components/{p-ca74db2c.js → p-bd9f0ad1.js} +2 -2
  215. package/dist/components/{p-2e20db77.js → p-bf555b5b.js} +7 -7
  216. package/dist/components/{p-62c19c57.js → p-bfd8f44d.js} +3 -3
  217. package/dist/components/{p-21e917bf.js → p-c1f5b99f.js} +2 -2
  218. package/dist/components/{p-73b73702.js → p-c747ef5e.js} +7 -7
  219. package/dist/components/{p-d54b4e27.js → p-c7971733.js} +5 -5
  220. package/dist/components/{p-4ab0f603.js → p-c7c47790.js} +1 -1
  221. package/dist/components/{p-ee3f205f.js → p-c899f7af.js} +1 -1
  222. package/dist/components/{p-d4e53824.js → p-c9264c04.js} +18 -8
  223. package/dist/components/{p-b78b4924.js → p-ca4fdcbd.js} +11 -11
  224. package/dist/components/{p-845ded9d.js → p-cb246127.js} +2 -2
  225. package/dist/components/{p-d8921683.js → p-cd651081.js} +2 -2
  226. package/dist/components/p-ce645b64.js +96 -0
  227. package/dist/components/{p-f7b7d9f6.js → p-d13622ee.js} +4 -4
  228. package/dist/components/{p-341663ab.js → p-d4192716.js} +1 -1
  229. package/dist/components/{p-6211f6bc.js → p-d9488717.js} +2 -2
  230. package/dist/components/{p-9fa32f6e.js → p-dc3626ac.js} +5 -5
  231. package/dist/components/{p-31a13ae5.js → p-debe311c.js} +3 -3
  232. package/dist/components/{p-92ed933f.js → p-ea2373bf.js} +2 -2
  233. package/dist/components/{p-9dcc547a.js → p-f8ac52c6.js} +1 -1
  234. package/dist/components/{p-a79147be.js → p-fb1c7049.js} +3 -3
  235. package/dist/components/{p-e701ab2a.js → p-fd4d6614.js} +13 -13
  236. package/dist/components/tet-accordion.js +1 -1
  237. package/dist/components/tet-address-offers-filters-products.js +1 -1
  238. package/dist/components/tet-address-offers-filters.js +1 -1
  239. package/dist/components/tet-address-offers-view.js +26 -26
  240. package/dist/components/tet-address-offers.js +1 -1
  241. package/dist/components/tet-address-search.js +1 -1
  242. package/dist/components/tet-asset-addresses.js +13 -13
  243. package/dist/components/tet-asset-availability-addresses.js +1 -1
  244. package/dist/components/tet-autocomplete-dropdown.js +6 -6
  245. package/dist/components/tet-autocomplete.js +1 -1
  246. package/dist/components/tet-availability-contact-form.js +1 -1
  247. package/dist/components/tet-b2b-check-out-form.js +1 -1
  248. package/dist/components/tet-b2b-compare-card.js +1 -1
  249. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  250. package/dist/components/tet-b2b-configurator.js +19 -19
  251. package/dist/components/tet-b2b-service-calculator.js +9 -9
  252. package/dist/components/tet-banner-nav.js +3 -3
  253. package/dist/components/tet-bar-graph.js +1 -1
  254. package/dist/components/tet-border-radius.js +2 -2
  255. package/dist/components/tet-business-card.js +1 -1
  256. package/dist/components/tet-business-compare-card.js +5 -5
  257. package/dist/components/tet-business-lines.js +6 -6
  258. package/dist/components/tet-business-navigation.js +1 -1
  259. package/dist/components/tet-business-round-stepper.js +2 -2
  260. package/dist/components/tet-business-summary-card.js +1 -1
  261. package/dist/components/tet-button.js +1 -1
  262. package/dist/components/tet-card-list.js +1 -1
  263. package/dist/components/tet-carousel.js +11 -11
  264. package/dist/components/tet-checkbox.js +1 -1
  265. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  266. package/dist/components/tet-cloud-configurator.js +11 -11
  267. package/dist/components/tet-colors.js +5 -5
  268. package/dist/components/tet-compare-card-v2.js +10 -10
  269. package/dist/components/tet-compare-card.js +1 -1
  270. package/dist/components/tet-compare-cards-tab.js +16 -16
  271. package/dist/components/tet-compare-cards.js +1 -1
  272. package/dist/components/tet-contact-form.js +10 -10
  273. package/dist/components/tet-contact-info.js +1 -1
  274. package/dist/components/tet-container.js +1 -1
  275. package/dist/components/tet-customer-assets.js +9 -9
  276. package/dist/components/tet-datepicker-header.js +1 -1
  277. package/dist/components/tet-datepicker-month-view.js +1 -1
  278. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  279. package/dist/components/tet-datepicker-year-view.js +1 -1
  280. package/dist/components/tet-datepicker.js +10 -10
  281. package/dist/components/tet-dialog.js +1 -1
  282. package/dist/components/tet-dropdown.js +1 -1
  283. package/dist/components/tet-dynamic-card.js +4 -4
  284. package/dist/components/tet-expandable-input.js +3 -3
  285. package/dist/components/tet-expansion-panel.js +2 -2
  286. package/dist/components/tet-feedback-form.d.ts +11 -0
  287. package/dist/components/tet-feedback-form.js +282 -0
  288. package/dist/components/tet-filter.js +6 -6
  289. package/dist/components/tet-font-weight.js +2 -2
  290. package/dist/components/tet-fonts.js +2 -2
  291. package/dist/components/tet-grid.js +2 -2
  292. package/dist/components/tet-icon.js +1 -1
  293. package/dist/components/tet-inline-message.js +4 -4
  294. package/dist/components/tet-input.js +1 -1
  295. package/dist/components/tet-label.js +5 -5
  296. package/dist/components/tet-layout.js +2 -2
  297. package/dist/components/tet-link-card-list.js +4 -4
  298. package/dist/components/tet-link.js +2 -2
  299. package/dist/components/tet-loader.js +1 -1
  300. package/dist/components/tet-macd-view.js +12 -12
  301. package/dist/components/tet-menu-mobile.js +3 -3
  302. package/dist/components/tet-menu.js +3 -3
  303. package/dist/components/tet-multi-step-dialog.js +6 -6
  304. package/dist/components/tet-navigation-mobile.js +5 -5
  305. package/dist/components/tet-news-card-list.js +5 -5
  306. package/dist/components/tet-notification.js +1 -1
  307. package/dist/components/tet-number-input.js +1 -1
  308. package/dist/components/tet-placeholder.js +1 -1
  309. package/dist/components/tet-price-view.js +1 -1
  310. package/dist/components/tet-radio.js +1 -1
  311. package/dist/components/tet-range-slider.js +1 -1
  312. package/dist/components/tet-referral.js +9 -9
  313. package/dist/components/tet-round-stepper.js +3 -3
  314. package/dist/components/tet-selection-list.js +1 -1
  315. package/dist/components/tet-spacing.js +2 -2
  316. package/dist/components/tet-spinner.js +1 -1
  317. package/dist/components/tet-stepper-input.js +1 -1
  318. package/dist/components/tet-stepper-v2.js +1 -1
  319. package/dist/components/tet-stepper-v3.js +1 -1
  320. package/dist/components/tet-stepper.js +1 -1
  321. package/dist/components/tet-switch.js +1 -1
  322. package/dist/components/tet-tab-content.js +1 -1
  323. package/dist/components/tet-tab-header.js +1 -1
  324. package/dist/components/tet-table.js +4 -4
  325. package/dist/components/tet-tag-group.js +1 -1
  326. package/dist/components/tet-tag.js +1 -1
  327. package/dist/components/tet-text-list.js +1 -1
  328. package/dist/components/tet-textarea.js +1 -83
  329. package/dist/components/tet-thank-you-view-v2.js +6 -6
  330. package/dist/components/tet-thank-you-view-v3.js +6 -6
  331. package/dist/components/tet-thank-you-view.js +5 -5
  332. package/dist/components/tet-tooltip.js +1 -1
  333. package/dist/components/tet-tv-gift-block.js +2 -2
  334. package/dist/components/tet-tv-gift-list.js +4 -4
  335. package/dist/esm/{address-1450f031.js → address-483cfa2e.js} +1 -1
  336. package/dist/esm/{assets-2c6a61a5.js → assets-d6147258.js} +1 -1
  337. package/dist/esm/{async-request-99d44c50.js → async-request-21a65bdc.js} +1 -1
  338. package/dist/esm/{http-codes-53c8d512.js → http-codes-c2e180c8.js} +1 -1
  339. package/dist/esm/{index-3e01408d.js → index-0c5fef2e.js} +1 -1
  340. package/dist/esm/{index-a59c9de7.js → index-209dece3.js} +19 -11
  341. package/dist/esm/loader.js +3 -3
  342. package/dist/esm/{phone-1c67bd7f.js → phone-4452d476.js} +2 -2
  343. package/dist/esm/{product-comparison-1937b6e6.js → product-comparison-41b334ab.js} +1 -1
  344. package/dist/esm/tet-accordion.entry.js +161 -0
  345. package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
  346. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  347. package/dist/esm/tet-address-offers_4.entry.js +9 -9
  348. package/dist/esm/tet-address-search.entry.js +7 -7
  349. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  350. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  351. package/dist/esm/tet-autocomplete.entry.js +1 -1
  352. package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
  353. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  354. package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
  355. package/dist/esm/tet-banner-nav.entry.js +3 -3
  356. package/dist/esm/tet-bar-graph.entry.js +1 -1
  357. package/dist/esm/tet-border-radius.entry.js +2 -2
  358. package/dist/esm/tet-business-card.entry.js +1 -1
  359. package/dist/esm/tet-business-compare-card.entry.js +3 -3
  360. package/dist/esm/tet-business-lines.entry.js +5 -5
  361. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  362. package/dist/esm/tet-button.entry.js +1 -1
  363. package/dist/esm/tet-card-list.entry.js +5 -5
  364. package/dist/esm/tet-carousel.entry.js +10 -10
  365. package/dist/esm/tet-checkbox.entry.js +11 -3
  366. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  367. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  368. package/dist/esm/tet-colors.entry.js +5 -5
  369. package/dist/esm/tet-compare-card-v2.entry.js +4 -4
  370. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  371. package/dist/esm/tet-compare-cards_2.entry.js +5 -5
  372. package/dist/esm/tet-components.js +3 -3
  373. package/dist/esm/tet-contact-form.entry.js +6 -6
  374. package/dist/esm/tet-contact-info.entry.js +1 -1
  375. package/dist/esm/tet-container_2.entry.js +1 -1
  376. package/dist/esm/tet-customer-assets.entry.js +4 -4
  377. package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
  378. package/dist/esm/tet-datepicker.entry.js +5 -5
  379. package/dist/esm/tet-dialog.entry.js +3 -3
  380. package/dist/esm/tet-dropdown_2.entry.js +3 -3
  381. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  382. package/dist/esm/tet-expandable-input.entry.js +1 -1
  383. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  384. package/dist/esm/tet-feedback-form.entry.js +225 -0
  385. package/dist/esm/tet-filter.entry.js +3 -3
  386. package/dist/esm/tet-font-weight.entry.js +2 -2
  387. package/dist/esm/tet-fonts.entry.js +2 -2
  388. package/dist/esm/tet-grid.entry.js +2 -2
  389. package/dist/esm/tet-icon.entry.js +3 -3
  390. package/dist/esm/tet-inline-message.entry.js +3 -3
  391. package/dist/esm/tet-input.entry.js +4 -4
  392. package/dist/esm/tet-label.entry.js +5 -5
  393. package/dist/esm/tet-layout.entry.js +2 -2
  394. package/dist/esm/tet-link-card-list.entry.js +2 -2
  395. package/dist/esm/tet-link.entry.js +2 -2
  396. package/dist/esm/tet-loader.entry.js +2 -2
  397. package/dist/esm/tet-macd-view.entry.js +7 -7
  398. package/dist/esm/tet-menu-mobile.entry.js +2 -2
  399. package/dist/esm/tet-menu.entry.js +2 -2
  400. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  401. package/dist/esm/tet-navigation-mobile.entry.js +4 -4
  402. package/dist/esm/tet-news-card-list.entry.js +2 -2
  403. package/dist/esm/{tet-accordion_2.entry.js → tet-notification.entry.js} +3 -152
  404. package/dist/esm/tet-number-input.entry.js +3 -3
  405. package/dist/esm/tet-placeholder.entry.js +2 -2
  406. package/dist/esm/tet-price-view.entry.js +1 -1
  407. package/dist/esm/tet-radio.entry.js +2 -2
  408. package/dist/esm/tet-range-slider.entry.js +8 -8
  409. package/dist/esm/tet-referral.entry.js +7 -7
  410. package/dist/esm/tet-round-stepper.entry.js +2 -2
  411. package/dist/esm/tet-spacing.entry.js +2 -2
  412. package/dist/esm/tet-spinner.entry.js +4 -4
  413. package/dist/esm/tet-stepper-input.entry.js +4 -4
  414. package/dist/esm/tet-stepper-v2.entry.js +2 -2
  415. package/dist/esm/tet-stepper-v3.entry.js +2 -2
  416. package/dist/esm/tet-stepper.entry.js +2 -2
  417. package/dist/esm/tet-switch.entry.js +2 -2
  418. package/dist/esm/tet-tab-header.entry.js +3 -3
  419. package/dist/esm/tet-table.entry.js +2 -2
  420. package/dist/esm/tet-tag_2.entry.js +5 -5
  421. package/dist/esm/tet-text-list.entry.js +2 -2
  422. package/dist/esm/tet-textarea.entry.js +14 -5
  423. package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
  424. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  425. package/dist/esm/tet-thank-you-view.entry.js +2 -2
  426. package/dist/esm/tet-tv-gift-block.entry.js +2 -2
  427. package/dist/esm/tet-tv-gift-list.entry.js +3 -3
  428. package/dist/esm/{theme-wrapper-4e6b2b05.js → theme-wrapper-58ce8dca.js} +2 -2
  429. package/dist/esm/{translations-a33e8a2e.js → translations-ff21fc65.js} +1 -1
  430. package/dist/tet-components/assets/icons/icon-map.json +1 -1
  431. package/dist/tet-components/assets/icons/tc/tc-bubbles.svg +3 -0
  432. package/dist/tet-components/{p-2b1e998e.entry.js → p-01dfd324.entry.js} +1 -1
  433. package/dist/tet-components/{p-fca94c5c.js → p-0449b998.js} +1 -1
  434. package/dist/tet-components/{p-d92b24f0.entry.js → p-0ca2a56d.entry.js} +1 -1
  435. package/dist/tet-components/{p-96d79e87.entry.js → p-1648389a.entry.js} +1 -1
  436. package/dist/tet-components/p-18121aff.entry.js +1 -0
  437. package/dist/tet-components/{p-dea4fa54.entry.js → p-190345a1.entry.js} +1 -1
  438. package/dist/tet-components/{p-4d0291a3.entry.js → p-1e0cc45f.entry.js} +1 -1
  439. package/dist/tet-components/{p-947de891.entry.js → p-1e1923e0.entry.js} +1 -1
  440. package/dist/tet-components/{p-ad6011e1.entry.js → p-22cbd7b5.entry.js} +1 -1
  441. package/dist/tet-components/p-251e19de.entry.js +1 -0
  442. package/dist/tet-components/{p-56618995.entry.js → p-2813884f.entry.js} +1 -1
  443. package/dist/tet-components/{p-7889d0ae.entry.js → p-29a179e7.entry.js} +1 -1
  444. package/dist/tet-components/{p-973779bd.entry.js → p-2c539c79.entry.js} +1 -1
  445. package/dist/tet-components/{p-840db8ad.entry.js → p-2cd1a4f9.entry.js} +1 -1
  446. package/dist/tet-components/{p-ad4e24c1.entry.js → p-2e1cfe60.entry.js} +1 -1
  447. package/dist/tet-components/{p-6bfee6d7.entry.js → p-300de460.entry.js} +1 -1
  448. package/dist/tet-components/{p-b38c1945.entry.js → p-31748907.entry.js} +1 -1
  449. package/dist/tet-components/{p-db97dcc0.entry.js → p-344a3be8.entry.js} +1 -1
  450. package/dist/tet-components/{p-4d614cc4.entry.js → p-356c3561.entry.js} +1 -1
  451. package/dist/tet-components/{p-1e992b39.entry.js → p-3a274e99.entry.js} +1 -1
  452. package/dist/tet-components/{p-4dbfc05f.entry.js → p-3b82937c.entry.js} +1 -1
  453. package/dist/tet-components/{p-af1d9a81.js → p-3deb6f3c.js} +1 -1
  454. package/dist/tet-components/{p-80b930da.entry.js → p-416456d1.entry.js} +1 -1
  455. package/dist/tet-components/p-42bd6c73.entry.js +1 -0
  456. package/dist/tet-components/{p-5eefb349.entry.js → p-441349b1.entry.js} +1 -1
  457. package/dist/tet-components/{p-31e722e9.entry.js → p-446ae6ef.entry.js} +1 -1
  458. package/dist/tet-components/{p-754c4aad.entry.js → p-451b2a49.entry.js} +1 -1
  459. package/dist/tet-components/{p-40c084e4.entry.js → p-4c64992e.entry.js} +1 -1
  460. package/dist/tet-components/{p-13e8a445.entry.js → p-55edf062.entry.js} +1 -1
  461. package/dist/tet-components/{p-1182034b.js → p-56bfd2a5.js} +1 -1
  462. package/dist/tet-components/{p-a518f521.entry.js → p-575ebf63.entry.js} +1 -1
  463. package/dist/tet-components/{p-d42a2844.entry.js → p-595280d6.entry.js} +1 -1
  464. package/dist/tet-components/p-6251c886.entry.js +1 -0
  465. package/dist/tet-components/{p-67fc6ef4.entry.js → p-63c1058d.entry.js} +1 -1
  466. package/dist/tet-components/{p-e85f5e2f.entry.js → p-63cc142d.entry.js} +1 -1
  467. package/dist/tet-components/{p-980d48ac.entry.js → p-658cb760.entry.js} +1 -1
  468. package/dist/tet-components/p-6604a21c.entry.js +1 -0
  469. package/dist/tet-components/{p-cfce3266.entry.js → p-6656ca63.entry.js} +1 -1
  470. package/dist/tet-components/{p-2c6e5a24.entry.js → p-6774786e.entry.js} +1 -1
  471. package/dist/tet-components/{p-5d8313d2.entry.js → p-68709390.entry.js} +1 -1
  472. package/dist/tet-components/{p-03f9e262.js → p-6a185f76.js} +1 -1
  473. package/dist/tet-components/{p-96f1a83f.entry.js → p-6f476508.entry.js} +1 -1
  474. package/dist/tet-components/{p-66e858ee.entry.js → p-70d11130.entry.js} +1 -1
  475. package/dist/tet-components/{p-5f750abb.entry.js → p-7145ca73.entry.js} +1 -1
  476. package/dist/tet-components/{p-ea211ac8.js → p-77d941d8.js} +1 -1
  477. package/dist/tet-components/{p-9c106b2e.entry.js → p-7ae725e1.entry.js} +1 -1
  478. package/dist/tet-components/{p-3174827c.entry.js → p-7b86e14f.entry.js} +1 -1
  479. package/dist/tet-components/{p-ab705953.entry.js → p-7edc8afa.entry.js} +1 -1
  480. package/dist/tet-components/{p-ebeda1cc.entry.js → p-7edf0fe4.entry.js} +1 -1
  481. package/dist/tet-components/{p-d7b41404.entry.js → p-8593d213.entry.js} +1 -1
  482. package/dist/tet-components/{p-317ba450.entry.js → p-8622e131.entry.js} +1 -1
  483. package/dist/tet-components/{p-39609fb1.entry.js → p-89c50edc.entry.js} +1 -1
  484. package/dist/tet-components/{p-b84607f3.entry.js → p-8b53e08c.entry.js} +1 -1
  485. package/dist/tet-components/{p-67e1a210.entry.js → p-8cda794b.entry.js} +1 -1
  486. package/dist/tet-components/{p-f99e7577.entry.js → p-8f7629ca.entry.js} +1 -1
  487. package/dist/tet-components/{p-4b90dabc.js → p-94e9a944.js} +1 -1
  488. package/dist/tet-components/{p-4d53681e.entry.js → p-96870201.entry.js} +1 -1
  489. package/dist/tet-components/p-9b5cf49f.js +2 -0
  490. package/dist/tet-components/{p-3e9322a0.entry.js → p-9daca141.entry.js} +1 -1
  491. package/dist/tet-components/{p-ed462633.entry.js → p-9dca5c29.entry.js} +1 -1
  492. package/dist/tet-components/{p-a0bb7090.entry.js → p-9f2b1c8f.entry.js} +1 -1
  493. package/dist/tet-components/{p-7d2ec154.entry.js → p-a20af775.entry.js} +1 -1
  494. package/dist/tet-components/{p-e6b214f5.entry.js → p-a41a07f1.entry.js} +1 -1
  495. package/dist/tet-components/{p-bf159a0e.entry.js → p-a73d3984.entry.js} +1 -1
  496. package/dist/tet-components/{p-854874fc.entry.js → p-aff1c2c6.entry.js} +1 -1
  497. package/dist/tet-components/{p-f31c15eb.entry.js → p-b4f7ad9d.entry.js} +1 -1
  498. package/dist/tet-components/{p-32bd0e18.entry.js → p-b7d43b49.entry.js} +1 -1
  499. package/dist/tet-components/{p-32901a27.js → p-ba5ebe5a.js} +1 -1
  500. package/dist/tet-components/{p-77fcc923.entry.js → p-c07c5b84.entry.js} +1 -1
  501. package/dist/tet-components/{p-236b09e1.entry.js → p-c24c48e4.entry.js} +1 -1
  502. package/dist/tet-components/{p-fc8f4da5.entry.js → p-c3b99e7a.entry.js} +1 -1
  503. package/dist/tet-components/{p-d865906c.js → p-c4fc2dd6.js} +1 -1
  504. package/dist/tet-components/{p-566b16ff.entry.js → p-c887b848.entry.js} +1 -1
  505. package/dist/tet-components/{p-9ae88a93.entry.js → p-cc1a64a0.entry.js} +1 -1
  506. package/dist/tet-components/{p-7a73acdc.entry.js → p-ce74a144.entry.js} +1 -1
  507. package/dist/tet-components/{p-1826442b.entry.js → p-d0b75b9a.entry.js} +1 -1
  508. package/dist/tet-components/p-d1af931f.entry.js +1 -0
  509. package/dist/tet-components/{p-e2b4633f.entry.js → p-d4b6b480.entry.js} +1 -1
  510. package/dist/tet-components/{p-050b9d63.entry.js → p-d8bebee4.entry.js} +1 -1
  511. package/dist/tet-components/{p-2600468d.js → p-d9a826c2.js} +1 -1
  512. package/dist/tet-components/{p-f8b49339.entry.js → p-dd6c7252.entry.js} +1 -1
  513. package/dist/tet-components/{p-2b65a26b.entry.js → p-e0c2f3c7.entry.js} +1 -1
  514. package/dist/tet-components/{p-4be13d3e.entry.js → p-e2c427f7.entry.js} +1 -1
  515. package/dist/tet-components/{p-bc95d21f.entry.js → p-e2e74966.entry.js} +1 -1
  516. package/dist/tet-components/{p-111f80d9.entry.js → p-e437ff51.entry.js} +1 -1
  517. package/dist/tet-components/{p-aa9aa588.entry.js → p-e4523a6a.entry.js} +1 -1
  518. package/dist/tet-components/{p-cb38ba75.entry.js → p-e8743c14.entry.js} +1 -1
  519. package/dist/tet-components/{p-ca98aa2e.entry.js → p-eb1bd839.entry.js} +1 -1
  520. package/dist/tet-components/{p-ab1e8cc4.entry.js → p-ebfb7964.entry.js} +1 -1
  521. package/dist/tet-components/{p-e66583a2.entry.js → p-eeb9d7f5.entry.js} +1 -1
  522. package/dist/tet-components/{p-7b412a8f.entry.js → p-f615c5ec.entry.js} +1 -1
  523. package/dist/tet-components/{p-2422d833.entry.js → p-f7083c79.entry.js} +1 -1
  524. package/dist/tet-components/{p-398e81de.entry.js → p-fa11d75e.entry.js} +1 -1
  525. package/dist/tet-components/tet-components.css +1 -1
  526. package/dist/tet-components/tet-components.esm.js +1 -1
  527. package/dist/types/components/advanced/forms/tet-feedback-form/tet-feedback-form.d.ts +102 -0
  528. package/dist/types/components/basic/buttons/tet-checkbox/tet-checkbox.d.ts +2 -0
  529. package/dist/types/components/simple/inputs/tet-textarea/tet-textarea.d.ts +8 -0
  530. package/dist/types/components/simple/structural/tet-accordion/tet-accordion.d.ts +4 -0
  531. package/dist/types/components.d.ts +102 -0
  532. package/package.json +4 -1
  533. package/dist/tet-components/p-085ebb93.entry.js +0 -1
  534. package/dist/tet-components/p-8594f223.entry.js +0 -1
  535. package/dist/tet-components/p-8b763a4f.entry.js +0 -1
  536. package/dist/tet-components/p-9d9b2579.entry.js +0 -1
  537. package/dist/tet-components/p-c2d4b54d.js +0 -2
@@ -0,0 +1,329 @@
1
+ import { h, Host, forceUpdate } from "@stencil/core";
2
+ import { processTranslations, t } from "../../../../services/translations/index";
3
+ ;
4
+ /**
5
+ * A customizable feedback form component with accordion layout.
6
+ *
7
+ * Checkbox option IDs must follow **valid JavaScript identifier** patterns.
8
+ */
9
+ export class TetFeedbackForm {
10
+ constructor() {
11
+ this.theme = 'light';
12
+ this.language = 'lv';
13
+ this.data = undefined;
14
+ this.expanded = false;
15
+ this.formError = false;
16
+ this.characterCount = 0;
17
+ this.submissionData = {
18
+ helpful: true,
19
+ options: {},
20
+ comment: '',
21
+ };
22
+ this.submitted = false;
23
+ }
24
+ /** The event that is emitted when user submits the form. */
25
+ feedbackSubmitted;
26
+ /** Watches for changes in the language prop to update translations and force component update. */
27
+ onLanguageChange(language) {
28
+ processTranslations('tet-components', language).then(() => forceUpdate(this));
29
+ }
30
+ /** Processes translations and merges data with defaults. */
31
+ async componentWillLoad() {
32
+ await processTranslations('tet-components', this.language);
33
+ forceUpdate(this);
34
+ }
35
+ /** Reference to the tet-accordion element. */
36
+ accordionRef;
37
+ /** Reference to the tet-textarea element. */
38
+ textareaRef;
39
+ /** References to the tet-checkbox elements. */
40
+ checkboxRefs = new Map();
41
+ /** Returns default values as a fallback when not provided in the data prop. */
42
+ getDefaultValues() {
43
+ return {
44
+ label: t('components-feedback-form-label'),
45
+ labelTag: 'h2',
46
+ okButtonLabel: t('components-button-label-yes'),
47
+ okButtonIconName: 'tc-check',
48
+ nokButtonLabel: t('components-button-label-no'),
49
+ nokButtonIconName: 'tc-close',
50
+ formTitle: t('components-feedback-form-title'),
51
+ formDescription: t('components-feedback-form-description'),
52
+ checkboxOptions: [],
53
+ showTextarea: true,
54
+ textareaLabel: t('components-feedback-form-textarea-label'),
55
+ textareaPlaceholder: t('components-feedback-form-textarea-placeholder'),
56
+ textareaMaxLength: 500,
57
+ footerText: t('components-feedback-form-footer-text'),
58
+ footerIconName: 'tc-bubbles',
59
+ submitButtonLabel: t('components-feedback-form-submit-button-label'),
60
+ submitButtonIconName: 'tc-arrow-right',
61
+ thankYouIconName: 'tc-check-circle',
62
+ thankYouTitle: t('components-feedback-form-thank-you-title'),
63
+ thankYouDescription: t('components-feedback-form-thank-you-description'),
64
+ };
65
+ }
66
+ /** Returns user-provided data merged with defaults. */
67
+ get mergedData() {
68
+ return {
69
+ ...this.getDefaultValues(),
70
+ ...this.data,
71
+ };
72
+ }
73
+ /** Toggles the accordion state and resets the form error state if it is set. */
74
+ toggleAccordion() {
75
+ if (this.accordionRef) {
76
+ this.accordionRef.toggle();
77
+ if (this.formError) {
78
+ this.setFormError(false);
79
+ }
80
+ }
81
+ }
82
+ /**
83
+ * Handles click on a checkbox list item to update the submission data with the selected options.
84
+ * Resets form error state if it was set.
85
+ */
86
+ onListItemClick(event, id) {
87
+ const isChecked = !!event.detail.checked;
88
+ if (this.formError) {
89
+ this.setFormError(false);
90
+ }
91
+ if (isChecked) {
92
+ this.submissionData = {
93
+ ...this.submissionData,
94
+ options: {
95
+ ...this.submissionData.options,
96
+ [id]: true,
97
+ }
98
+ };
99
+ }
100
+ else {
101
+ const { [id]: _, ...rest } = this.submissionData.options;
102
+ this.submissionData = {
103
+ ...this.submissionData,
104
+ options: rest
105
+ };
106
+ }
107
+ }
108
+ /** Handles input event on the textarea to update the character count and submission data. */
109
+ async onTextInput() {
110
+ if (!this.textareaRef) {
111
+ return;
112
+ }
113
+ const value = await this.textareaRef.getValue();
114
+ this.characterCount = value.length;
115
+ this.submissionData = {
116
+ ...this.submissionData,
117
+ comment: value
118
+ };
119
+ }
120
+ /**
121
+ * Emits the feedbackSubmitted event with the current submission data
122
+ * or sets form error state if the feedback is negative and no options are selected.
123
+ */
124
+ submitFeedback(helpful) {
125
+ this.submissionData.helpful = helpful;
126
+ if (helpful) {
127
+ this.submissionData.options = {};
128
+ this.submissionData.comment = '';
129
+ }
130
+ else if (!Object.keys(this.submissionData.options).length) {
131
+ this.setFormError(true);
132
+ return;
133
+ }
134
+ this.feedbackSubmitted.emit(this.submissionData);
135
+ this.submitted = true;
136
+ }
137
+ /** Sets the form error state and updates the checkbox error states. */
138
+ setFormError(value) {
139
+ for (const checkbox of this.checkboxRefs.values()) {
140
+ checkbox.setError(value);
141
+ }
142
+ this.formError = value;
143
+ }
144
+ /** Gets the next heading level (one level deeper). */
145
+ getSubheadingTag() {
146
+ const { labelTag } = this.mergedData;
147
+ const headingMap = {
148
+ 'h1': 'h2',
149
+ 'h2': 'h3',
150
+ 'h3': 'h4',
151
+ 'h4': 'h5',
152
+ 'h5': 'h6',
153
+ };
154
+ return headingMap[labelTag];
155
+ }
156
+ renderAccordionHeader() {
157
+ const { theme, mergedData, expanded } = this;
158
+ const { label, labelTag, okButtonLabel, nokButtonLabel, okButtonIconName, nokButtonIconName } = mergedData;
159
+ const HeadingTag = labelTag;
160
+ return (h("div", { slot: "header", class: {
161
+ 'feedback-form__header': true,
162
+ 'feedback-form__header--expanded': expanded
163
+ } }, h(HeadingTag, { class: "feedback-form__title" }, label), h("div", { class: "feedback-form__button-container" }, h("tet-button", { class: "button", iconName: okButtonIconName, iconPosition: 'left', theme: theme, type: "secondary", onClick: () => this.submitFeedback(true), "data-testid": "feedback-ok-button" }, okButtonLabel), h("tet-button", { class: "button", iconName: nokButtonIconName, iconPosition: 'left', theme: theme, type: "secondary", onClick: () => this.toggleAccordion(), "data-testid": "feedback-nok-button" }, nokButtonLabel))));
164
+ }
165
+ renderFormContentHeader() {
166
+ const { theme, mergedData } = this;
167
+ const { formTitle, formDescription } = mergedData;
168
+ const HeadingTag = this.getSubheadingTag();
169
+ return (h("div", { class: "main__header" }, h("div", { class: "main__header--left" }, h(HeadingTag, { id: "form-content-title", class: "title" }, formTitle), h("p", { id: "form-content-description", class: "subtitle" }, formDescription)), h("button", { class: "main__header-close-btn", onClick: () => this.toggleAccordion(), "aria-label": t('components-availability-close'), type: "button", "data-testid": "feedback-close-button" }, h("tet-icon", { theme: theme, class: "icon", name: "tc-close" }))));
170
+ }
171
+ renderFormCheckboxOptions() {
172
+ const { theme, mergedData } = this;
173
+ const { checkboxOptions } = mergedData;
174
+ if (!checkboxOptions.length) {
175
+ return null;
176
+ }
177
+ return (h("ul", { class: "main__option-list" }, checkboxOptions.map(({ id, label }) => (h("li", { key: id, class: { "checkbox-wrapper": true, 'checkbox-wrapper--error': this.formError } }, h("tet-checkbox", { ref: el => {
178
+ if (el)
179
+ this.checkboxRefs.set(id, el);
180
+ }, class: "checkbox", theme: theme, checked: !!this.submissionData?.options?.[id], focusStyleOnContainer: true, onCheck: (event) => this.onListItemClick(event, id) }, label))))));
181
+ }
182
+ renderFormTextArea() {
183
+ const { theme, mergedData } = this;
184
+ const { showTextarea, textareaLabel, textareaPlaceholder, textareaMaxLength } = mergedData;
185
+ if (!showTextarea) {
186
+ return null;
187
+ }
188
+ return (h("div", { class: "main__text-input" }, h("tet-textarea", { label: textareaLabel, class: "textarea", theme: theme, value: this.submissionData.comment, onInput: () => this.onTextInput(), ref: el => this.textareaRef = el, placeholder: textareaPlaceholder, maxLength: textareaMaxLength }), h("div", { class: "counter" }, this.characterCount, "/", textareaMaxLength)));
189
+ }
190
+ renderFormFooter() {
191
+ const { theme, mergedData } = this;
192
+ const { footerText, footerIconName } = mergedData;
193
+ const footerTextParts = footerText.split(/\{\{\s*([+0-9][0-9 ]{0,20})\s*\}\}/g);
194
+ const trim = (part) => part.trim();
195
+ const content = footerTextParts.map((part, i) => ((i % 2 === 0) ? part : (h("a", { href: `tel:${trim(part)}`, class: { 'tet-link': true, [theme]: true, 'tet-link--secondary': true } }, trim(part)))));
196
+ return (h("footer", { class: "feedback-form__form--footer" }, h("div", { class: "footer-icon-block" }, h("tet-icon", { theme: theme, class: "footer-icon", name: footerIconName })), h("div", { class: "footer-text" }, content)));
197
+ }
198
+ renderSubmitButton() {
199
+ const { theme, mergedData } = this;
200
+ const { submitButtonLabel, submitButtonIconName } = mergedData;
201
+ return (h("tet-button", { class: "main__submit-button", iconName: submitButtonIconName, theme: theme, type: "primary", onClick: () => this.submitFeedback(false), "data-testid": "feedback-submit-button" }, submitButtonLabel));
202
+ }
203
+ renderAccordionContent() {
204
+ return (h("form", { class: "feedback-form__form", "aria-labelledby": "form-content-title", "aria-describedby": "form-content-description" }, h("div", { class: "feedback-form__form--main" }, this.renderFormContentHeader(), this.renderFormCheckboxOptions(), this.renderFormTextArea(), this.renderSubmitButton()), this.renderFormFooter()));
205
+ }
206
+ renderAccordionComponent() {
207
+ return (h("tet-accordion", { class: "feedback-form__accordion", theme: this.theme, isHeaderInteractive: false, transparentBackground: true, ref: (el) => (this.accordionRef = el), onOpenChanged: (e) => { this.expanded = e.detail; } }, this.renderAccordionHeader(), this.renderAccordionContent()));
208
+ }
209
+ renderThankYouComponent() {
210
+ const { labelTag, thankYouIconName, thankYouTitle, thankYouDescription } = this.mergedData;
211
+ const HeadingTag = labelTag;
212
+ return (h("div", { class: "feedback-form__thank-you", "aria-live": "polite" }, h("tet-icon", { class: "icon", name: thankYouIconName }), h("div", { class: "text-block" }, h(HeadingTag, { class: "title" }, thankYouTitle), h("p", { class: "description" }, thankYouDescription))));
213
+ }
214
+ render() {
215
+ return (h(Host, { key: '6e974c9c8f1ffd16416d89a89bd0beb3949f90a3' }, h("section", { key: 'c8223e88595b2ae02b5146d88841d187d2c812a1', class: "feedback-form" }, this.submitted ? this.renderThankYouComponent() : this.renderAccordionComponent())));
216
+ }
217
+ static get is() { return "tet-feedback-form"; }
218
+ static get encapsulation() { return "shadow"; }
219
+ static get originalStyleUrls() {
220
+ return {
221
+ "$": ["tet-feedback-form.scss"]
222
+ };
223
+ }
224
+ static get styleUrls() {
225
+ return {
226
+ "$": ["tet-feedback-form.css"]
227
+ };
228
+ }
229
+ static get properties() {
230
+ return {
231
+ "theme": {
232
+ "type": "string",
233
+ "mutable": false,
234
+ "complexType": {
235
+ "original": "'light' | 'dark'",
236
+ "resolved": "\"dark\" | \"light\"",
237
+ "references": {}
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "The theme of the component."
244
+ },
245
+ "attribute": "theme",
246
+ "reflect": false,
247
+ "defaultValue": "'light'"
248
+ },
249
+ "language": {
250
+ "type": "string",
251
+ "mutable": false,
252
+ "complexType": {
253
+ "original": "string",
254
+ "resolved": "string",
255
+ "references": {}
256
+ },
257
+ "required": false,
258
+ "optional": false,
259
+ "docs": {
260
+ "tags": [],
261
+ "text": "The translation language."
262
+ },
263
+ "attribute": "language",
264
+ "reflect": false,
265
+ "defaultValue": "'lv'"
266
+ },
267
+ "data": {
268
+ "type": "unknown",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "FeedbackFormData",
272
+ "resolved": "FeedbackFormData",
273
+ "references": {
274
+ "FeedbackFormData": {
275
+ "location": "local",
276
+ "path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/forms/tet-feedback-form/tet-feedback-form.tsx",
277
+ "id": "src/components/advanced/forms/tet-feedback-form/tet-feedback-form.tsx::FeedbackFormData"
278
+ }
279
+ }
280
+ },
281
+ "required": false,
282
+ "optional": true,
283
+ "docs": {
284
+ "tags": [],
285
+ "text": "The data for the component."
286
+ }
287
+ }
288
+ };
289
+ }
290
+ static get states() {
291
+ return {
292
+ "expanded": {},
293
+ "formError": {},
294
+ "characterCount": {},
295
+ "submissionData": {},
296
+ "submitted": {}
297
+ };
298
+ }
299
+ static get events() {
300
+ return [{
301
+ "method": "feedbackSubmitted",
302
+ "name": "feedbackSubmitted",
303
+ "bubbles": true,
304
+ "cancelable": true,
305
+ "composed": true,
306
+ "docs": {
307
+ "tags": [],
308
+ "text": "The event that is emitted when user submits the form."
309
+ },
310
+ "complexType": {
311
+ "original": "FeedbackFormSubmissionData",
312
+ "resolved": "{ helpful: boolean; options: { [id: string]: boolean; }; comment: string; }",
313
+ "references": {
314
+ "FeedbackFormSubmissionData": {
315
+ "location": "local",
316
+ "path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/forms/tet-feedback-form/tet-feedback-form.tsx",
317
+ "id": "src/components/advanced/forms/tet-feedback-form/tet-feedback-form.tsx::FeedbackFormSubmissionData"
318
+ }
319
+ }
320
+ }
321
+ }];
322
+ }
323
+ static get watchers() {
324
+ return [{
325
+ "propName": "language",
326
+ "methodName": "onLanguageChange"
327
+ }];
328
+ }
329
+ }
@@ -33,7 +33,7 @@ export class TetTvGiftBlock {
33
33
  }
34
34
  };
35
35
  render() {
36
- return (h(Host, { key: '659f534771e2ec28f80756e197af0d75871109fd' }, h("div", { key: '5d9dffd01eddd41beb2c28b0264b411fc6b39592', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: 'b41e8a5d2d252febc134777efc5a7f193a995694', class: "tv-gift__header" }, h("slot", { key: '2188a1b102191345da25e95065c5e544749a6232', name: "header" }, this.headerImageSrc && h("img", { key: '13aa7bad99aaca12e742ef2472da8bba3755bce3', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '432e8d04c77161bba2d08aee3bc8b16ac95731a4', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '55c0db093f3c9de9eee36252252f5f1f02f37274', class: "tv-gift__content" }, h("slot", { key: 'c02e4fd274c18c91c4f2da42c7772208d6edf136' })), h("div", { key: 'ae44305548573c02135a93fd39815fc217729677', class: "tv-gift__footer" }, h("slot", { key: 'bbcb142e2458ec2a7c7d6a59c65125ee84b912c6', name: "footer" }, h("span", { key: '484307d6cb087dc819e183d866b841ab1006b36b', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '08eafd915b20c0edcce942c2920c504751748972', class: "tv-gift__footer__text" }, this.footerText))))));
36
+ return (h(Host, { key: '897f23f87a68c2b2af46bf65456a7f11325deab3' }, h("div", { key: 'bd9eda1afd8a194cd7c004413f229926ca33e20d', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '505c15b6c8430fded765a2fe754548e76fb780c1', class: "tv-gift__header" }, h("slot", { key: '00e2e7d1b4e998696175d3d8413b9508d6695117', name: "header" }, this.headerImageSrc && h("img", { key: '4e003772606714723d7646a59c38541dc3592993', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: 'ee152d23f19056b8f80dcebda2fe8182a7b11c52', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: 'ae59e0d2f78391b984c175924e0940c887605b20', class: "tv-gift__content" }, h("slot", { key: '52698a9be6a9daa3c62553668c6fe7105a54c2f3' })), h("div", { key: 'a453548305225ce2629b6ef71a7cf3b20cc1e988', class: "tv-gift__footer" }, h("slot", { key: 'edd958bc67ab30b08e1cb70ac8b1ca29a615fac1', name: "footer" }, h("span", { key: '597f9451fb6ac6a44a92ab7825e043635dc93dfa', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: 'df8b6a40e64e1f6038d753ab7a4c1eef0f092b46', class: "tv-gift__footer__text" }, this.footerText))))));
37
37
  }
38
38
  static get is() { return "tet-tv-gift-block"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -36,11 +36,11 @@ export class TetTvGiftList {
36
36
  }
37
37
  };
38
38
  render() {
39
- return (h(Host, { key: 'df609c3024a455746289bc9eaf2a09602d763185' }, h("div", { key: 'e6ed87432a4ec536c4231d135b63f6e1e150128b', class: {
39
+ return (h(Host, { key: '709d8b2605b1bb7011229abbba1551c842b39e0d' }, h("div", { key: '81cf090e004da33e97cce16cd7abdc615749a258', class: {
40
40
  'tv-gift-list': true,
41
41
  [`tv-gift-list--${this.containerSize}`]: true,
42
42
  'tv-gift-list--image-list': Boolean(this.imageSource),
43
- } }, this.imageSource && (h("div", { key: 'abdb68f90099e187b1ac1553ea40d99ee19beb75', class: "tv-gift-list__image__wrapper" }, h("img", { key: 'ea215435405462d30730bdb767b0a955e8dc019c', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: 'c595c8cfb4bdf5f7500b091699f146357b9e45de', class: "tv-gift-list__list__wrapper" }, h("span", { key: '0f25ad63d5eb246cec785f2928f8f7c189abd7f7', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '5e4189f6ecbf9ac9aa52c62886a497e31b7f21b0', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
43
+ } }, this.imageSource && (h("div", { key: '7c021e2f2b20b54ccd3b193fd2ae72f6ece17690', class: "tv-gift-list__image__wrapper" }, h("img", { key: '0d27d612194d221b01de9d60a1be94acd12e21c8', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '75a21a5e8aaf8acfc5af2024fcf47ebc4c262226', class: "tv-gift-list__list__wrapper" }, h("span", { key: '314173ac2e7d8e344e84efc3904517b203fcacc4', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: 'f125acb4961ba78988e242cf17b74429f93f39ba', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
44
44
  }
45
45
  static get is() { return "tet-tv-gift-list"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -462,6 +462,8 @@
462
462
  * @prop --checkbox-justify-content: The justify-content style for the checkbox container.
463
463
  * @prop --checkbox-alignment: The alignment of the items - checkbox, label.
464
464
  * @prop --checkbox-gap: The gap property checkbox container.
465
+ * @prop --checkbox-container-outline-offset: The outline offset for the container on keyboard focus.
466
+
465
467
 
466
468
  * @prop --checkbox-hover-border-color: The border color of the checkbox on hover.
467
469
  * @prop --checkbox-hover-background-color: The background color of the checkbox on hover.
@@ -490,12 +492,14 @@
490
492
  --checkbox-justify-content: normal;
491
493
  --checkbox-alignment: center;
492
494
  --checkbox-gap: 0.625rem;
495
+ --checkbox-container-outline-offset: 0.125rem;
493
496
  --checkbox-hover-border-color: var(--tc-border-secondary);
494
497
  --checkbox-hover-background-color: var(--tc-checkbox-hover);
495
498
  --checkbox-checked-hover-background-color: var(--tc-checkbox-active-hover);
496
499
  --checkbox-checked-pressed-background-color: var(--tc-checkbox-active-pressed);
497
500
  --checkbox-focus-background-color: transparent;
498
501
  --checkbox-focus-shadow-color: var(--tc-checkbox-active-focus);
502
+ --checkbox-outline-focus-color: var(--tc-blue-40);
499
503
  --checkbox-disabled-border-color: var(--tc-border-quaternary);
500
504
  --checkbox-disabled-background-color: var(--tc-checkbox-disabled);
501
505
  --checkbox-disabled-checked-background-color: var(--tc-checkbox-active-disabled);
@@ -517,6 +521,7 @@
517
521
  --checkbox-checked-pressed-background-color: var(--tc-checkbox-active-pressed-dark);
518
522
  --checkbox-focus-background-color: transparent;
519
523
  --checkbox-focus-shadow-color: var(--tc-checkbox-active-focus-dark);
524
+ --checkbox-outline-focus-color: var(--tc-blue-40-dark);
520
525
  --checkbox-disabled-border-color: var(--tc-border-quaternary-dark);
521
526
  --checkbox-disabled-background-color: var(--tc-checkbox-disabled-dark);
522
527
  --checkbox-disabled-checked-background-color: var(--tc-checkbox-active-disabled-dark);
@@ -529,6 +534,9 @@
529
534
  outline-offset: 0.125rem;
530
535
  transition: outline 0s;
531
536
  }
537
+ .checkbox.dark .checkbox__html-input:focus-visible ~ .checkbox__input--hide-focus-style, .checkbox.mint .checkbox__html-input:focus-visible ~ .checkbox__input--hide-focus-style {
538
+ outline: none;
539
+ }
532
540
  .checkbox.mint {
533
541
  --checkbox-checked-background-color: rgb(31, 208, 214);
534
542
  --checkbox-hover-background-color: rgba(31, 208, 214, 0.16);
@@ -548,6 +556,11 @@
548
556
  color: var(--checkbox-text-color);
549
557
  font-size: var(--checkbox-text-size);
550
558
  }
559
+ .checkbox__container--focus-style:has(.checkbox__html-input:focus-visible) {
560
+ outline: 0.125rem solid var(--checkbox-outline-focus-color);
561
+ outline-offset: var(--checkbox-container-outline-offset);
562
+ border-radius: 0.125rem;
563
+ }
551
564
  .checkbox__container:hover .checkbox__input {
552
565
  border-color: var(--checkbox-hover-border-color);
553
566
  background-color: var(--checkbox-hover-background-color);
@@ -590,6 +603,10 @@
590
603
  outline-offset: 0.125rem;
591
604
  transition: outline 0s;
592
605
  }
606
+ .checkbox__html-input:focus-visible ~ .checkbox__input--hide-focus-style {
607
+ outline: none;
608
+ border-color: var(--checkbox-border-color);
609
+ }
593
610
  .checkbox__html-input:focus-visible ~ .checkbox__input--error {
594
611
  border-color: var(--checkbox-error-border-color);
595
612
  }
@@ -14,6 +14,7 @@ export class TetCheckbox {
14
14
  this.checked = false;
15
15
  this.error = false;
16
16
  this.indeterminate = false;
17
+ this.focusStyleOnContainer = false;
17
18
  }
18
19
  /** The HTML input element. */
19
20
  inputEl;
@@ -61,7 +62,14 @@ export class TetCheckbox {
61
62
  }
62
63
  render() {
63
64
  const { label, name, checked, value, disabled, error } = this;
64
- return (h(Host, { key: '3c8b35516298fcebea4cd04d41b4405f325336f6' }, h("div", { key: '2a2819cbc81adb8a3fc652cc286083e557079379', class: { checkbox: true, [`${this.theme}`]: true } }, h("label", { key: '3866e69318e438f37e62f52156c4b216697390d2', class: "checkbox__container", part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: 'e18d1c68248939b02d689df414272b4a85258a30', ref: (el) => (this.inputEl = el), class: "checkbox__html-input", id: "tet-checkbox", type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: this.handleChange }), h("span", { key: 'ddc461af258ceaf8ab134656b308cd9d6edb8bc3', class: { 'checkbox__input': true, 'checkbox__input--error': error } }, h("tet-icon", { key: '068556b47563dd0e29e993d6d114e3b7583e98e7', name: "remove", class: "checkbox__icon checkbox__icon--indeterminate indicator" }), h("tet-icon", { key: 'ed4a8fdd9408a57a54428c6637fc22647d9f1eee', name: "check", class: "checkbox__icon" })), label ? (h("span", { class: "checkbox__label", innerHTML: label })) : (h("span", { class: "checkbox__label" }, h("slot", null)))))));
65
+ return (h(Host, { key: '4994fd34f7d6bd6c8ecd455901af830a3aff2da9' }, h("div", { key: '145d350427b8b39fcb4eec64cc2831bd8a591102', class: { checkbox: true, [`${this.theme}`]: true } }, h("label", { key: '2997be88ae2f9c5e47acd57451319af53d16d03c', class: {
66
+ 'checkbox__container': true,
67
+ 'checkbox__container--focus-style': this.focusStyleOnContainer,
68
+ }, part: "checkbox-container", htmlFor: "tet-checkbox" }, h("input", { key: '7b5939ba0c313e826c87afdd34ab6fe53a02d771', ref: (el) => (this.inputEl = el), class: "checkbox__html-input", id: "tet-checkbox", type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: this.handleChange }), h("span", { key: '830ff2dc0d3578358eec875ef82eec88bad5425d', class: {
69
+ 'checkbox__input': true,
70
+ 'checkbox__input--error': error,
71
+ 'checkbox__input--hide-focus-style': this.focusStyleOnContainer,
72
+ } }, h("tet-icon", { key: '9d765bfbec5c97c00d6fa3c4d2292844a2ec3afb', name: "remove", class: "checkbox__icon checkbox__icon--indeterminate indicator" }), h("tet-icon", { key: '20a7ca36f8603038529cec3bcaf5120a0557679a', name: "check", class: "checkbox__icon" })), label ? (h("span", { class: "checkbox__label", innerHTML: label })) : (h("span", { class: "checkbox__label" }, h("slot", null)))))));
65
73
  }
66
74
  static get is() { return "tet-checkbox"; }
67
75
  static get encapsulation() { return "shadow"; }
@@ -218,6 +226,24 @@ export class TetCheckbox {
218
226
  "attribute": "indeterminate",
219
227
  "reflect": true,
220
228
  "defaultValue": "false"
229
+ },
230
+ "focusStyleOnContainer": {
231
+ "type": "boolean",
232
+ "mutable": false,
233
+ "complexType": {
234
+ "original": "boolean",
235
+ "resolved": "boolean",
236
+ "references": {}
237
+ },
238
+ "required": false,
239
+ "optional": false,
240
+ "docs": {
241
+ "tags": [],
242
+ "text": "Determines whether the focus style is applied to the checkbox or the container."
243
+ },
244
+ "attribute": "focus-style-on-container",
245
+ "reflect": false,
246
+ "defaultValue": "false"
221
247
  }
222
248
  };
223
249
  }
@@ -49,7 +49,7 @@ export class TetRadio {
49
49
  }
50
50
  render() {
51
51
  const { id, disabled, value, checked, name, label, handleInputChange, accessibilityLabel, inputAutofocus } = this;
52
- return (h(Host, { key: '4d46b895ff12f76856a250ea053d7b4a3c4282a9' }, h("div", { key: 'a96d49ad006ff378b3347a3b40272d296e45dcb7', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '873faff70f00256da0843c3571d708f9aa492460', class: "radio__container", htmlFor: id }, h("input", { key: 'e709e0b7bcc7cbb14dec03c1c9e0818c32a98c57', class: "radio__html-input", id: id, name: name, type: "radio", value: value, disabled: disabled, checked: checked, onChange: handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), tabindex: this.checked ? '0' : '-1', role: "radio", "aria-checked": this.checked ? 'true' : 'false' }), h("span", { key: '878306599f70b32d9298dd8a8efcc9759ae5cd27', class: "radio__input" }), label ? (h("span", { class: "radio__label", innerHTML: label })) : (h("span", { class: "radio__label" }, h("slot", null)))))));
52
+ return (h(Host, { key: '5ce2ebb64805cede6f46fe8f1e11669755e02269' }, h("div", { key: 'acdcfd4aabc23020d21407d2a171fe6c9c003a9f', class: { radio: true, [`radio-${this.theme}-theme`]: true } }, h("label", { key: '09bbc949154be7e9c6c49bde03dc986349b9cf65', class: "radio__container", htmlFor: id }, h("input", { key: '75a9a0a0a2eec79370fe8e890dd32b632020ccfb', class: "radio__html-input", id: id, name: name, type: "radio", value: value, disabled: disabled, checked: checked, onChange: handleInputChange, autofocus: inputAutofocus, ...(accessibilityLabel ? { 'aria-label': accessibilityLabel } : {}), tabindex: this.checked ? '0' : '-1', role: "radio", "aria-checked": this.checked ? 'true' : 'false' }), h("span", { key: 'ee687e1378ebe5f4161a704fe930e879ba619069', class: "radio__input" }), label ? (h("span", { class: "radio__label", innerHTML: label })) : (h("span", { class: "radio__label" }, h("slot", null)))))));
53
53
  }
54
54
  static get is() { return "tet-radio"; }
55
55
  static get encapsulation() { return "scoped"; }
@@ -33,7 +33,7 @@ export class TetSwitch {
33
33
  }
34
34
  render() {
35
35
  const { label, name, theme, disabled, checked, accessibilityLabel } = this;
36
- return (h(Host, { key: 'f25d9a0bbe9c3c187e093f574ab75178b140b129' }, h("div", { key: 'ebb6c9971dfd699a0b5e4ba51928ed331bbf6fed', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '0efd583b6acb294c72dd589e4fe629055d7e6498', class: "switch__container", part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: 'a843923da4bd8983d9f27ad8cf5f5e51beded623', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), h("span", { key: '94655befa0d5ee135fa700a03629fd2f5c3850f0', class: { "switch__input": true, [this.theme]: true } }, h("span", { key: 'f8422247725dfe25ab18107fbc5a9e26c606018d', class: "switch__state" })), label
36
+ return (h(Host, { key: '28ae0b65de9b35494421f26de6ba070251c513e9' }, h("div", { key: '960e76423a8248c07d1a4e4734dc37ea8c909902', class: { 'switch': true, [`${theme}`]: true } }, h("label", { key: '9d4e2a4aae217a034ac4e0f18fe72e617c6d8c91', class: "switch__container", part: "switch-container", htmlFor: "tet-switch" }, h("input", { key: '628be8bcab2d85054b1baadca3d97bce6af7ad65', class: "switch__html-input", name: name, id: "tet-switch", type: "checkbox", disabled: disabled, checked: checked, onChange: this.handleChange.bind(this), ...(accessibilityLabel ? { "aria-label": accessibilityLabel } : {}) }), h("span", { key: '29221d1549c061f895fa0a766079b587b39ab0c0', class: { "switch__input": true, [this.theme]: true } }, h("span", { key: '7d8fef451f65fdd4029721e02ea3f2a36d7c6730', class: "switch__state" })), label
37
37
  ? h("span", { class: "switch__label", innerHTML: label })
38
38
  : h("span", { class: "switch__label" }, h("slot", null))))));
39
39
  }
@@ -161,11 +161,11 @@ export class TetTabContent {
161
161
  this.selectedId = id;
162
162
  }
163
163
  render() {
164
- return (h(Host, { key: 'e433dc27a020345e535a33ec9a444233ddf480a5' }, h("div", { key: 'ac4f0414541d509d3ddf33302008963e54e5e6c4', class: {
164
+ return (h(Host, { key: '3d707413b1e43dceb5d9dfa3426e104b704d0c4f' }, h("div", { key: 'ca9eeb6d0a4837a34db06a35f9bbc3d891e35f63', class: {
165
165
  'tet-tab-content': true,
166
166
  'use-visibility': this.useVisibility,
167
167
  [this.theme]: true
168
- } }, h("slot", { key: '7f2a47a5a27189b21c0718be768541989528d516' }))));
168
+ } }, h("slot", { key: '55910073183c867ff37d5af21e69f39b420d3b12' }))));
169
169
  }
170
170
  static get is() { return "tet-tab-content"; }
171
171
  static get encapsulation() { return "shadow"; }
@@ -471,14 +471,14 @@ export class TetTabHeader {
471
471
  return {};
472
472
  }
473
473
  render() {
474
- return (h(Host, { key: '225e99ead3163ce7201b511a79426aa568ad0ba9', "data-id-suffix": this.idSuffix }, h("div", { key: '575aa5c8526ee4ce7b8adc1ecc30845491f93237', class: {
474
+ return (h(Host, { key: '47f617655b7afbe1929de6f04fcc0ad9b17aae4b', "data-id-suffix": this.idSuffix }, h("div", { key: 'b71ccfd86728c6088cf44e5751c9951bfb010cb5', class: {
475
475
  'tabs': true,
476
476
  'tabs--segmented': this.segmented,
477
477
  [this.position]: true,
478
478
  [this.theme]: true,
479
479
  [this.sizing]: true,
480
480
  [this.type]: !!this.type
481
- }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '27327d44b7718ac33b04b6aae944ab4b0dcb1ce4', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '57a1a4ea3076805b66eee05962493653694ac333', class: {
481
+ }, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: 'a7e7099543ff2c2aee1ff7147599f58f53d3ac5f', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: '800e8fc3c243ac5c6979df035c84b68cb51a4363', class: {
482
482
  'tabs-line': !this.segmented,
483
483
  'no-underline': this.hideHeaderUnderline,
484
484
  [this.theme]: true,
@@ -20,12 +20,12 @@ export class TetTag {
20
20
  processTranslations('tet-components', this.language).then(() => forceUpdate(this));
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'cf9794b8105f790f7bee7b4ccb87b2ac799a919d' }, h("button", { key: '1da586be1d852269b6b821a6aeb0e76f3934ace7', class: {
23
+ return (h(Host, { key: '086f951b5334e7710fea561343f937a675585b4d' }, h("button", { key: '8a812ee34727e53455e5006ca45d9cedae50b9ab', class: {
24
24
  tag: true,
25
25
  'tag-active': this.active,
26
26
  'tag--icon': this.showIcon,
27
27
  [`theme-${this.theme}`]: true,
28
- }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '366753a6c9d7e540228db9f1ee465af9359dab53', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'a31fa5ca439775d452881b42df7d171a2d980fc5', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'd7e31d59eabc0dd67aea20d87e2c1cb8b910abda', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
28
+ }, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '4952d4e5fe00ae88d5d115cb72aba8d65c1d3980', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: '0858222d5874927006a5e5e3f8f4d429527e95a5', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'ae4fe91de2d2833b2635e3208f9830da61cb7d0b', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
29
29
  }
30
30
  static get is() { return "tet-tag"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -427,23 +427,23 @@ export class TetCarousel {
427
427
  document.removeEventListener('pointerup', this.onPointerUp);
428
428
  }
429
429
  render() {
430
- return (h(Host, { key: 'aa17a576d566861cb87cd037f44ab4c02b642c90' }, h("div", { key: '022b4afb52e1f1c7c520159bca8c305d8e5927b4', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '47d03841a067ace013a9e8e50f39badb4ad2e3dc', class: "tet-carousel__container" }, h("div", { key: 'b840f3d9cafa6ca0de8df665ef97ccd4f7d70757', class: "tet-carousel__gradient-left", ref: (el) => {
430
+ return (h(Host, { key: 'ccdb2a82e8f762b784f88fe8fc8411c7f58db6c4' }, h("div", { key: '3518075a77f61caa6b37830c8185f430552fa54c', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '0793973e111c0c94ef35829434c67d48e30fae5e', class: "tet-carousel__container" }, h("div", { key: 'a677bf936f443d3f131b7016a1bedd8db7cf8ef7', class: "tet-carousel__gradient-left", ref: (el) => {
431
431
  this.leftGradientRef = el;
432
- } }), h("div", { key: '84c8726f2ae119483f9179d7719bf11aca8b33a6', class: "tet-carousel__gradient-right", ref: (el) => {
432
+ } }), h("div", { key: '70a30ed0b05f8ed166e470aecae900b249e20ce8', class: "tet-carousel__gradient-right", ref: (el) => {
433
433
  this.rightGradientRef = el;
434
- } }), h("div", { key: 'bf1bd992edbc54d73e1d451602ab6c7264f19c31', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
434
+ } }), h("div", { key: '5fc2677a52b16c824cab54f1df2e866188b2ffe1', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
435
435
  transform: `translateX(${this.dragOffset}px)`,
436
436
  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: '92a952a6792c2ad3f7821cd56b5ab552c928d74d' }))), !!this.label && h("div", { key: '10f33991895223dbaa752a8ae85a90ad8d71ed90', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: 'd1cd5c5206d1614ab878976f59b943fd3546927f', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '9fe4e73fdac18dfd24e900d00b51c53b91ff6036', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '9797f863559f9a97d765b3ef8880142b7df2c6a2', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
437
+ }, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: 'f02701f2504108cf7987031e215a55d6c1927fc4' }))), !!this.label && h("div", { key: '76f95a115dc457824566a4fab63a102b55296a2f', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: 'd05e1798f83404fabdec0692a31d09ad1bfa32f0', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '53ab7e4c45d1582b00da881a3f69d7a0a9bf221f', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '5b68295b535ffb4d8eec6c029352d0ed533fb56b', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
438
438
  if (!this.isDragging)
439
439
  this.handlePrev();
440
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '9492a728a0001fb7fdfb29bb34ecf2d98dd2f1ba', 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: () => {
440
+ }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '770af8e5ad30fbc098392b4ba6225f4d51a7bd93', 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
441
  if (!this.isDragging)
442
442
  this.handleDotClick(idx);
443
- }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '9a041ab328480d1f2fed8a431244e171febdd266', class: "tet-carousel__buttons " }, h("tet-button", { key: '418905b6251aa28bb3c744290efec6b5af99ab73', 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: () => {
443
+ }, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '5862d85a1ae5b7e85594d848a91f77e0df442c00', class: "tet-carousel__buttons " }, h("tet-button", { key: '92ec06d94bcdf4070197b5a6134e8950a02205af', 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: () => {
444
444
  if (!this.isDragging)
445
445
  this.handlePrev();
446
- }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '21b0dd0f54f07765e5dbb7da2ae1bc1e62edc5fa', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
446
+ }, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '4bd7318167e6ff71f465c159e48bc1e545390438', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
447
447
  if (!this.isDragging)
448
448
  this.handleNext();
449
449
  }, "aria-label": t('components-carousel-next'), disabled: this.dotCount <= 1 ||
@@ -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: '7af8d4aa2f4f35ab90c0f37c5b1db6984ca2e1df', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: '99d35d51b355eb7d2afa3b809401d117a753f4c4', class: {
53
+ return (h("span", { key: '08af7fe1ad185044243ba310dff631fc1683d4b0', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", { key: 'b869128d153e2e75cabf554394e4eb46c6a5c93c', 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: 'f235e148763d56dc63d1e7c144be6e4ee4b024a2', class: "loader" }, h("div", { key: '4064d7882524324ae0afdbcab645e87156f1128d', class: "loader-inner" })));
7
+ return (h("div", { key: '59434ea760f5de340ec4fd12b253451ec5fc5533', class: "loader" }, h("div", { key: 'ebf5b5a69db8f8a31921b4d7fa2cb478836aaff3', 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: '10c954f06449fb1481f56d56169f388cc89e6f34', style: { width: this.width, height: this.height } }, h("div", { key: '35757dd39dd6a927c3535b4ce3b907c725156428', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '2ba1f7e5e928934c99bd1be2e1124dbc249a7fda', class: "placeholder", style: { height: this.height } }))));
12
+ return (h(Host, { key: 'e01223a7679078444091fc6a9cb4446a925edc7e', style: { width: this.width, height: this.height } }, h("div", { key: 'bf0eb67ae8a97f23cd93000400c03b44ae1e05e8', class: { 'dark-theme': this.darkTheme } }, h("div", { key: '3a92b993704bd8893407bd1162d8d49347253054', class: "placeholder", style: { height: this.height } }))));
13
13
  }
14
14
  static get is() { return "tet-placeholder"; }
15
15
  static get encapsulation() { return "shadow"; }