@ptcwebops/ptcw-design 6.2.34-beta → 6.2.35-beta

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 (381) hide show
  1. package/dist/cjs/{component-4dd13907.js → component-6a178a16.js} +1 -1
  2. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ptc-announcement.cjs.entry.js +74 -0
  5. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-icon-component.cjs.entry.js +8 -2
  10. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
  11. package/dist/cjs/ptc-news.cjs.entry.js +2 -3
  12. package/dist/cjs/ptc-readmore.cjs.entry.js +180 -0
  13. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +91 -0
  14. package/dist/cjs/ptcw-design.cjs.js +1 -1
  15. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
  16. package/dist/collection/components/ptc-date/ptc-date.css +4 -0
  17. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +8 -2
  18. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
  19. package/dist/collection/components/ptc-news/ptc-news.css +5 -0
  20. package/dist/collection/components/ptc-news/ptc-news.js +1 -19
  21. package/dist/custom-elements/index.js +17 -11
  22. package/dist/esm/academic-form-test.entry.js +1 -1
  23. package/dist/esm/author-listing-example.entry.js +1 -1
  24. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  25. package/dist/esm/blog-detail-layout.entry.js +1 -1
  26. package/dist/esm/blogs-search-section.entry.js +1 -1
  27. package/dist/esm/bundle-example.entry.js +1 -1
  28. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  29. package/dist/esm/{component-9c921cc6.js → component-80f298b4.js} +1 -1
  30. package/dist/esm/dropdown-item.entry.js +1 -1
  31. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  32. package/dist/esm/embedded-form.entry.js +1 -1
  33. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  34. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  35. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  36. package/dist/esm/featured-list.entry.js +1 -1
  37. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  38. package/dist/esm/footer-form.entry.js +1 -1
  39. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  40. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  41. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  42. package/dist/esm/icon-asset.entry.js +61 -0
  43. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  44. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  45. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  46. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  47. package/dist/esm/list-item.entry.js +1 -1
  48. package/dist/esm/loader.js +3 -3
  49. package/dist/esm/max-width-container.entry.js +1 -1
  50. package/dist/esm/modal-form-example.entry.js +1 -1
  51. package/dist/esm/most-popular-news.entry.js +1 -1
  52. package/dist/esm/my-component.entry.js +1 -1
  53. package/dist/esm/news-search-result.entry.js +1 -1
  54. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  55. package/dist/esm/ptc-accordion.entry.js +1 -1
  56. package/dist/esm/ptc-announcement.entry.js +70 -0
  57. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  58. package/dist/esm/ptc-background-video.entry.js +1 -1
  59. package/dist/esm/ptc-badge.entry.js +1 -1
  60. package/dist/esm/ptc-bio-card.entry.js +1 -1
  61. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  62. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  63. package/dist/esm/ptc-button.entry.js +1 -1
  64. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  65. package/dist/esm/ptc-card-content.entry.js +1 -1
  66. package/dist/esm/ptc-card_2.entry.js +1 -1
  67. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  68. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  69. package/dist/esm/ptc-checkbox.entry.js +1 -1
  70. package/dist/esm/ptc-close-icon_2.entry.js +2 -2
  71. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  72. package/dist/esm/ptc-container.entry.js +1 -1
  73. package/dist/esm/ptc-countdown.entry.js +1 -1
  74. package/dist/esm/ptc-data-lookup.entry.js +2 -2
  75. package/dist/esm/ptc-date.entry.js +2 -2
  76. package/dist/esm/ptc-dropdown.entry.js +1 -1
  77. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  78. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  79. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  80. package/dist/esm/ptc-featured-list.entry.js +1 -1
  81. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  82. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  83. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  84. package/dist/esm/ptc-footer.entry.js +1 -1
  85. package/dist/esm/ptc-form-checkbox_4.entry.js +2 -2
  86. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  87. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  88. package/dist/esm/ptc-form.entry.js +1 -1
  89. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  90. package/dist/esm/ptc-hero.entry.js +1 -1
  91. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  92. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  93. package/dist/esm/ptc-icon-card.entry.js +1 -1
  94. package/dist/esm/ptc-icon-component.entry.js +9 -3
  95. package/dist/esm/ptc-icon-list.entry.js +1 -1
  96. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  97. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  98. package/dist/esm/ptc-img.entry.js +1 -1
  99. package/dist/esm/ptc-info-tile.entry.js +1 -1
  100. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  101. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  102. package/dist/esm/ptc-link.entry.js +1 -1
  103. package/dist/esm/ptc-list.entry.js +1 -1
  104. package/dist/esm/ptc-media-card.entry.js +1 -1
  105. package/dist/esm/ptc-minimized-nav.entry.js +3 -2
  106. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  107. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  108. package/dist/esm/ptc-nav-card.entry.js +1 -1
  109. package/dist/esm/ptc-nav-link.entry.js +1 -1
  110. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  111. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  112. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  113. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  114. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  115. package/dist/esm/ptc-news.entry.js +3 -4
  116. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  117. package/dist/esm/ptc-office-locations.entry.js +1 -1
  118. package/dist/esm/ptc-overlay.entry.js +1 -1
  119. package/dist/esm/ptc-para.entry.js +1 -1
  120. package/dist/esm/ptc-picture.entry.js +1 -1
  121. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  122. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  123. package/dist/esm/ptc-previous-url.entry.js +1 -1
  124. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  125. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  126. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  127. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  128. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  129. package/dist/esm/ptc-product-card.entry.js +1 -1
  130. package/dist/esm/ptc-product-category.entry.js +1 -1
  131. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  132. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  133. package/dist/esm/ptc-product-list.entry.js +1 -1
  134. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  135. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  136. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  137. package/dist/esm/ptc-quote.entry.js +1 -1
  138. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  139. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  140. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  141. package/dist/esm/ptc-readmore.entry.js +176 -0
  142. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  143. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  144. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  145. package/dist/esm/ptc-search-field.entry.js +1 -1
  146. package/dist/esm/ptc-seo-title.entry.js +1 -1
  147. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  148. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  149. package/dist/esm/ptc-skeleton.entry.js +1 -1
  150. package/dist/esm/ptc-slit-card.entry.js +1 -1
  151. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  152. package/dist/esm/ptc-social-icons.entry.js +1 -1
  153. package/dist/esm/ptc-spacer.entry.js +1 -1
  154. package/dist/esm/ptc-span.entry.js +1 -1
  155. package/dist/esm/ptc-square-card.entry.js +1 -1
  156. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  157. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  158. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  159. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  160. package/dist/esm/ptc-subnav.entry.js +1 -1
  161. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  162. package/dist/esm/ptc-tab-list.entry.js +1 -1
  163. package/dist/esm/ptc-tab.entry.js +1 -1
  164. package/dist/esm/ptc-tabs.entry.js +1 -1
  165. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  166. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  167. package/dist/esm/ptc-title.entry.js +1 -1
  168. package/dist/esm/ptc-tooltip-v2.entry.js +87 -0
  169. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  170. package/dist/esm/ptc-tooltip.entry.js +1 -1
  171. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  172. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  173. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  174. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  175. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  176. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  177. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  178. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  179. package/dist/esm/ptc-video-embed.entry.js +1 -1
  180. package/dist/esm/ptc-white-paper.entry.js +1 -1
  181. package/dist/esm/ptcw-design.js +3 -3
  182. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  183. package/dist/esm/sequential-bundle.entry.js +1 -1
  184. package/dist/esm/tab-content.entry.js +1 -1
  185. package/dist/esm/tab-header.entry.js +1 -1
  186. package/dist/ptcw-design/{p-39ec04d4.entry.js → p-01075feb.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
  188. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
  191. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  192. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-2b583ae1.entry.js → p-0b515839.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-ec22d0b8.entry.js → p-0c69ea52.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-a7e67938.entry.js → p-0d223232.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  197. package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
  198. package/dist/ptcw-design/{p-b4015d90.entry.js → p-16e70f20.entry.js} +1 -1
  199. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  200. package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-6dc78042.entry.js → p-21aa746d.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  204. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  205. package/dist/ptcw-design/{p-d9ec506c.entry.js → p-260ecfef.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-eef5d58b.entry.js → p-27a4ee73.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-14565e90.entry.js → p-28be539b.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-4e8c87e1.entry.js → p-291072b4.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-caac157f.entry.js → p-32f64f48.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-794eebdb.entry.js → p-3738a01f.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-38a1425c.entry.js → p-3dd0ded9.entry.js} +1 -1
  219. package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
  220. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-a4c78993.entry.js → p-4055f4f7.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-43471fbf.entry.js → p-43532800.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-9d386f08.entry.js → p-445329ed.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-5429a6c0.entry.js → p-48c33817.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-8b37d3ac.entry.js → p-49e54079.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-a4c68b6d.entry.js → p-4a7505ba.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
  231. package/dist/ptcw-design/p-4b7f6258.entry.js +1 -0
  232. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  233. package/dist/ptcw-design/p-4ee98a3e.entry.js +1 -0
  234. package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  240. package/dist/ptcw-design/p-627103d8.entry.js +1 -0
  241. package/dist/ptcw-design/{p-31e03c00.entry.js → p-67c248ec.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-9b354870.entry.js → p-6a3caf2b.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-379fcc72.entry.js → p-6e8ed2ee.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-6a561285.entry.js → p-6f5fecae.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-d21cf742.entry.js → p-72825cf6.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-c73eb535.entry.js → p-75390f63.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-770b269c.entry.js → p-759f6457.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-ffd5c822.entry.js → p-7793babb.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-3ada2482.entry.js → p-799afee5.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  256. package/dist/ptcw-design/p-7d29a418.entry.js +1 -0
  257. package/dist/ptcw-design/{p-29ae44dd.entry.js → p-7fe4d383.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-0cc79610.entry.js → p-821f0ff9.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-3b6c2a79.entry.js → p-867a808f.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  267. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  268. package/dist/ptcw-design/{p-f983f6cc.entry.js → p-92d22c78.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-072969cf.entry.js → p-94b8b3fe.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-094f5dec.entry.js → p-9501995f.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-e77d2204.entry.js → p-95187918.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
  274. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  275. package/dist/ptcw-design/p-99355e65.entry.js +1 -0
  276. package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  283. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  284. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-d4207d86.entry.js → p-9df7489b.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  290. package/dist/ptcw-design/p-a412ff0a.entry.js +1 -0
  291. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  292. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  296. package/dist/ptcw-design/{p-bf04c250.entry.js → p-ad718ee1.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  298. package/dist/ptcw-design/p-b209c116.entry.js +1 -0
  299. package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
  300. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  301. package/dist/ptcw-design/{p-29223a86.entry.js → p-b651c1cb.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-07b1afd5.entry.js → p-b8ee8699.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-50582650.entry.js → p-baff4d44.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-1e85cb97.entry.js → p-bd6af63e.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-05b950aa.entry.js → p-bf18b622.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-685f2375.entry.js → p-c01ea76f.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  314. package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
  315. package/dist/ptcw-design/{p-cbc6661e.entry.js → p-cbee4653.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
  317. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  318. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  319. package/dist/ptcw-design/{p-bd76f5c5.entry.js → p-d361afd1.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-ef0079b0.entry.js → p-d3ac3758.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-e487b592.entry.js → p-d3e2a446.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-485cb0c8.entry.js → p-d73cc053.entry.js} +1 -1
  323. package/dist/ptcw-design/p-d74ccb19.entry.js +1 -0
  324. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-ef55ab3c.entry.js → p-de960790.entry.js} +1 -1
  329. package/dist/ptcw-design/p-e2abc077.entry.js +1 -0
  330. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-81700a7e.entry.js → p-e577ad62.entry.js} +1 -1
  332. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  333. package/dist/ptcw-design/{p-f26707a6.entry.js → p-e8e39b10.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-610b5620.entry.js → p-eec2f3da.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  341. package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
  342. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  343. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  344. package/dist/ptcw-design/{p-9be9f585.entry.js → p-fe40421e.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-4335d7f3.entry.js → p-fe907670.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.entry.js} +1 -1
  347. package/dist/ptcw-design/ptcw-design.css +1 -1
  348. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  349. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
  350. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +209 -0
  351. package/dist/types/components/ptc-news/ptc-news.d.ts +0 -4
  352. package/dist/types/components.d.ts +2 -8
  353. package/dist/types/utils/eloqua.d.ts +9 -0
  354. package/package.json +1 -1
  355. package/readme.md +1 -1
  356. package/dist/cjs/icon-asset_4.cjs.entry.js +0 -392
  357. package/dist/esm/icon-asset_4.entry.js +0 -385
  358. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  359. package/dist/ptcw-design/p-202b0d92.entry.js +0 -1
  360. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  361. package/dist/ptcw-design/p-36bf97c9.entry.js +0 -1
  362. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  363. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  364. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  365. package/dist/ptcw-design/p-3ae14b03.entry.js +0 -1
  366. package/dist/ptcw-design/p-4601ce02.entry.js +0 -1
  367. package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
  368. package/dist/ptcw-design/p-67a32576.entry.js +0 -1
  369. package/dist/ptcw-design/p-72681e91.entry.js +0 -1
  370. package/dist/ptcw-design/p-7ffd4808.entry.js +0 -1
  371. package/dist/ptcw-design/p-815a1a62.entry.js +0 -1
  372. package/dist/ptcw-design/p-88ff7bc5.entry.js +0 -1
  373. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  374. package/dist/ptcw-design/p-986be938.entry.js +0 -1
  375. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  376. package/dist/ptcw-design/p-9ae901e2.entry.js +0 -1
  377. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  378. package/dist/ptcw-design/p-caaa5e6a.entry.js +0 -1
  379. package/dist/ptcw-design/p-cadbf4a0.entry.js +0 -1
  380. package/dist/ptcw-design/p-e1242dd4.entry.js +0 -1
  381. /package/dist/ptcw-design/{p-bcab66bf.js → p-672a349f.js} +0 -0
@@ -4,19 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
- const ptcNewsCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .news-container{max-width:990px;padding:30px 0;margin:auto}:host .news-tag{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);display:inline-block}:host .news-date{margin-bottom:20px;display:inline-block;font-size:var(--ptc-font-size-small)}:host .news-content{padding-top:var(--ptc-element-spacing-08)}:host ptc-sticky-icons{display:none}@media only screen and (min-width: 992px){:host ptc-sticky-icons{display:block}}";
7
+ const ptcNewsCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .news-container{max-width:990px;padding:30px 0;margin:auto}:host .news-tag{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);display:inline-block}:host .news-date{margin-bottom:20px;display:inline-block;font-size:var(--ptc-font-size-small)}:host .news-content{padding-top:var(--ptc-element-spacing-08)}:host ptc-sticky-icons{display:none}@media only screen and (min-width: 992px){:host ptc-sticky-icons{display:block}}ptc-news .news-date{font-size:var(--ptc-font-size-small);color:var(--color-gray-10)}";
8
8
 
9
9
  const PtcNews = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.newsTag = undefined;
13
- this.newsDate = undefined;
14
13
  this.newsImage = undefined;
15
14
  this.newsImageAlt = undefined;
16
15
  this.newsDownloadUrl = undefined;
17
16
  }
18
17
  render() {
19
- return (index.h(index.Host, null, index.h("div", { class: "news-container" }, this.newsTag && index.h("span", { class: "news-tag" }, this.newsTag), index.h("slot", { name: "news-title" }), index.h("slot", { name: "news-secondary-title" }), this.newsDate && index.h("span", { class: "news-date" }, this.newsDate), index.h("slot", { name: "news-summary" }), this.getArticleImage(), index.h("div", { class: "news-content" }, index.h("slot", { name: "share-icons" }), index.h("slot", null)))));
18
+ return (index.h(index.Host, null, index.h("div", { class: "news-container" }, this.newsTag && index.h("span", { class: "news-tag" }, this.newsTag), index.h("slot", { name: "news-title" }), index.h("slot", { name: "news-secondary-title" }), index.h("slot", { name: "news-date" }), index.h("slot", { name: "news-summary" }), this.getArticleImage(), index.h("div", { class: "news-content" }, index.h("slot", { name: "share-icons" }), index.h("slot", null)))));
20
19
  }
21
20
  getArticleImage() {
22
21
  if (this.newsImage && this.newsDownloadUrl) {
@@ -0,0 +1,180 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ const ptcReadmoreCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.box input{opacity:0;position:absolute;pointer-events:none}.box .read-more-text{display:-webkit-box;-webkit-box-orient:vertical;margin:0;overflow:hidden;word-wrap:break-word}.box .line1{-webkit-line-clamp:1}.box .line2{-webkit-line-clamp:2}.box .line3{-webkit-line-clamp:3}.box .line4{-webkit-line-clamp:4}.box .line5{-webkit-line-clamp:5}.box .line10{-webkit-line-clamp:10}.box input~label{display:block;position:relative;cursor:pointer;right:0;margin-top:var(--ptc-element-spacing-02);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);text-decoration-line:underline;color:var(--color-hyperlink);text-align:right;margin-right:var(--ptc-element-spacing-07)}.box input~label.left{text-align:left}.box input~label.right{text-align:right}.box input~label.center{text-align:center;margin-right:0}.box label:focus-visible{outline:none}.box label:focus-visible span{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.box .z-auto{z-index:auto}.box .z-1{z-index:1}.box .z-2{z-index:2}.box .z-3{z-index:3}.box .z-999{z-index:999}.box input:checked+.read-more-text{-webkit-line-clamp:unset !important}.box .read-more-text:not(.truncated)~label{display:none}.box .show-less-cta{display:block !important}:host .box.add-icon .read-more-cta-label span{display:inline-block;position:relative;padding-right:var(--ptc-element-spacing-03)}:host .box.add-icon .read-more-cta-label span::after{content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300890B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E\");width:10px;height:7px;background-size:cover;position:absolute;right:-5px;bottom:7px}:host .box.add-icon .read-more-cta-label.show-less-cta span::after{transform:rotate(180deg)}:host .box.blue .read-more-cta-label{color:var(--color-hyperlink)}:host .box.gray .read-more-cta-label{color:var(--color-gray-10)}:host .box.green .read-more-cta-label{color:var(--color-green-07)}:host .box.initial .read-more-cta-label{color:initial}:host .box.small .read-more-cta-label{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}:host .box.medium .read-more-cta-label{font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p)}:host .box.large .read-more-cta-label{font-size:var(--ptc-font-size-large);line-height:var(--ptc-line-height-p)}:host .box.large.add-icon .read-more-cta-label span{padding-right:var(--ptc-element-spacing-04)}:host .box.large.add-icon .read-more-cta-label span::after{width:15px;height:10px}";
8
+
9
+ const PtcReadmore = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.readmoreToggle = index.createEvent(this, "readmoreToggle", 7);
13
+ /**
14
+ * Handle keyboard interactions
15
+ */
16
+ this.handleKeyDown = (event) => {
17
+ if (event.key !== 'Enter')
18
+ return;
19
+ const checkBoxEl = this.el.shadowRoot.querySelector('#expanded');
20
+ const cta = this.el.shadowRoot.querySelector('.read-more-cta-label');
21
+ if (!checkBoxEl || !cta)
22
+ return;
23
+ checkBoxEl.checked = !checkBoxEl.checked;
24
+ const isExpanded = checkBoxEl.checked;
25
+ cta.innerHTML = `<span>${isExpanded ? this.lessText || '' : this.moreText || ''}</span>`;
26
+ cta.classList.toggle('show-less-cta', isExpanded);
27
+ if (isExpanded) {
28
+ // Focus on the first element with tabindex="-1" within 'ptc-readmore'
29
+ const firstTabIndexMinusOne = this.el.querySelector('[tabindex="-1"]');
30
+ firstTabIndexMinusOne === null || firstTabIndexMinusOne === void 0 ? void 0 : firstTabIndexMinusOne.focus();
31
+ }
32
+ else {
33
+ cta.focus();
34
+ const readMoreText = this.el.shadowRoot.querySelector('.read-more-text');
35
+ readMoreText === null || readMoreText === void 0 ? void 0 : readMoreText.classList.add('truncated');
36
+ }
37
+ this.setTabIndex();
38
+ // if lessText content is not present then add tabindex=-1 to the more/less label
39
+ if (cta.textContent == '') {
40
+ cta.setAttribute('tabindex', '-1');
41
+ }
42
+ };
43
+ this.moreText = 'read more';
44
+ this.lessText = undefined;
45
+ this.readMorePosition = 'right';
46
+ this.display = 'inline';
47
+ this.visibleLines = 'line2';
48
+ this.visibleLinesCustom = undefined;
49
+ this.zIndex = 'z-auto';
50
+ this.checked = false;
51
+ this.size = 'small';
52
+ this.isIcon = false;
53
+ this.color = 'blue';
54
+ this.isContentSlotted = false;
55
+ }
56
+ async updateReadmoreStatus() {
57
+ setTimeout(() => {
58
+ this.addBtnTruncated();
59
+ }, 100);
60
+ }
61
+ addBtnTruncated() {
62
+ const appRoot = this.el.shadowRoot;
63
+ const ps = appRoot.querySelectorAll('.read-more-text');
64
+ ps.forEach(p => {
65
+ // if (this.visibleCharacters){
66
+ // const truncatedText = p.textContent.slice(0, this.visibleCharacters);
67
+ // p.textContent = truncatedText;
68
+ // }
69
+ p.classList[p.scrollHeight > p.clientHeight ? 'add' : 'remove']('truncated');
70
+ });
71
+ }
72
+ // Created this function to initialize the truncate function on specific elements like tabs
73
+ enableAddTruncatedClass(element) {
74
+ const allTabHeaders = document.querySelectorAll(element);
75
+ for (const element of Array.from(allTabHeaders)) {
76
+ let tabHeader = element;
77
+ if (tabHeader) {
78
+ tabHeader.addEventListener('click', () => {
79
+ setTimeout(() => {
80
+ this.addBtnTruncated();
81
+ }, 100);
82
+ });
83
+ }
84
+ }
85
+ }
86
+ componentDidLoad() {
87
+ this.addBtnTruncated();
88
+ document.addEventListener("readystatechange", () => {
89
+ if (document.readyState === "complete") {
90
+ this.addBtnTruncated();
91
+ }
92
+ });
93
+ this.enableAddTruncatedClass('tab-header');
94
+ this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
95
+ this.enableAddTruncatedClass('ptc-product-card');
96
+ // added code for tabnavigation
97
+ setTimeout(() => {
98
+ this.setTabIndex();
99
+ }, 400);
100
+ }
101
+ setTabIndex() {
102
+ var _a, _b, _c;
103
+ //debugger
104
+ let links;
105
+ if (!this.isContentSlotted) {
106
+ links = (_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
107
+ }
108
+ else {
109
+ let slot = (_b = this.el) === null || _b === void 0 ? void 0 : _b.querySelector('slot').assignedNodes();
110
+ links = (slot[0] instanceof HTMLElement)
111
+ ? slot[0].querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')
112
+ : null;
113
+ }
114
+ let bottom = 999999;
115
+ let rects = (_c = this.el.shadowRoot.querySelector('.read-more-text')) === null || _c === void 0 ? void 0 : _c.getClientRects();
116
+ if (rects && rects.length > 0) {
117
+ bottom = rects[0].bottom;
118
+ }
119
+ if (links) {
120
+ links.forEach(link => {
121
+ let linkRects = link.getClientRects();
122
+ if (linkRects && linkRects.length > 0) {
123
+ if (linkRects[0].top < bottom) {
124
+ link.setAttribute('tabindex', '0');
125
+ }
126
+ else {
127
+ link.setAttribute('tabindex', '-1');
128
+ }
129
+ }
130
+ });
131
+ }
132
+ }
133
+ // click event handler
134
+ handleClick(event) {
135
+ var _a;
136
+ let links = (_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
137
+ this.addBtnTruncated();
138
+ // check if the input box is checked
139
+ this.checked = event.target.checked;
140
+ // Getting cta element
141
+ const cta = this.el.shadowRoot.querySelector('.read-more-cta-label');
142
+ // Updating the cta text
143
+ this.checked
144
+ ? cta.innerHTML = `<span> ${this.lessText ? this.lessText : ''} </span>`
145
+ : cta.innerHTML = `<span> ${this.moreText ? this.moreText : ''}</span>`;
146
+ this.checked ? cta.classList.add('show-less-cta') : cta.classList.remove('show-less-cta');
147
+ // Emit the state change event
148
+ this.readmoreToggle.emit({
149
+ event: event,
150
+ sender: this.el,
151
+ isExpanded: this.checked,
152
+ });
153
+ if (links) {
154
+ if (this.checked) {
155
+ links.forEach(link => {
156
+ link.setAttribute('tabindex', '0');
157
+ });
158
+ }
159
+ else {
160
+ this.setTabIndex();
161
+ }
162
+ }
163
+ }
164
+ render() {
165
+ const classMap = this.getCssClassMap();
166
+ return (index.h(index.Host, { class: this.display }, index.h("div", { class: classMap }, index.h("input", { type: "checkbox", id: "expanded", onClick: (e) => this.handleClick(e), tabIndex: -1 }), !!this.visibleLines || !!this.visibleLinesCustom ? index.h("p", { class: `read-more-text ${this.visibleLines}`, style: { WebkitLineClamp: `${this.visibleLinesCustom}` } }, index.h("slot", null)) : null, index.h("label", { onKeyDown: this.handleKeyDown, htmlFor: "expanded", role: "button", class: `${this.zIndex + ' ' + this.readMorePosition} read-more-cta-label mf-listen`, tabIndex: 0 }, index.h("span", null, this.moreText)))));
167
+ }
168
+ getCssClassMap() {
169
+ return {
170
+ ['box']: true,
171
+ [this.color]: true,
172
+ [this.size]: true,
173
+ ['add-icon']: this.isIcon
174
+ };
175
+ }
176
+ get el() { return index.getElement(this); }
177
+ };
178
+ PtcReadmore.style = ptcReadmoreCss;
179
+
180
+ exports.ptc_readmore = PtcReadmore;
@@ -0,0 +1,91 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ const ptcTooltipV2Css = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host(.block){display:block}:host(.inline-block){display:inline-block}:host(.inline){display:inline}.tooltip-container{display:inherit;position:relative}.tooltip-text{width:100%}.description{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.tooltip-content{display:none;position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:fit-content;text-align:left;text-shadow:none;white-space:normal}@media only screen and (min-width: 480px){.tooltip-content{width:273px}}.tooltip-content::after{content:\" \";position:absolute;top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip-content.bottom{transform:translate(50%, 12px)}.tooltip-content.top{transform:translate(-50%, 0%);top:-70%;left:50%}.tooltip-content.top::after{top:auto;bottom:0;left:50%;transform:translate(-50%, 100%);border-top:8px solid var(--color-gray-09);border-bottom:unset}.tooltip-content.left{transform:translate(95%, 12px)}.tooltip-content.left::after{left:5%}.tooltip-content.right{bottom:-12px;transform:translateY(100%);right:0px}.tooltip-container.with-tip:hover .tooltip-content{display:block}@media (max-width: 767px){.hide-on-mobile .tooltip-content{display:none !important}}";
8
+
9
+ const PtcTooltipV2 = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.elementDisplay = 'block';
13
+ this.maxLength = 45;
14
+ this.maxLines = undefined;
15
+ this.zIndex = 1000;
16
+ this.width = 'default';
17
+ this.position = 'bottom';
18
+ this.hideOnMobile = false;
19
+ this.fullText = '';
20
+ this.displayText = '';
21
+ this.showTip = false;
22
+ this.styles = undefined;
23
+ }
24
+ slotChangeHandler(event) {
25
+ const slot = event.target;
26
+ const nodes = slot.assignedNodes({ flatten: true });
27
+ this.fullText = nodes.map(node => node.textContent).join('');
28
+ this.processText();
29
+ }
30
+ componentWillLoad() {
31
+ // Process text initially in case slotchange does not fire on load
32
+ requestAnimationFrame(() => {
33
+ this.processText(true);
34
+ });
35
+ }
36
+ // componentDidLoad(){
37
+ // this.checkTextLinesOverflow();
38
+ // }
39
+ // checkTextLinesOverflow(){
40
+ // const container = this.el.shadowRoot.querySelector('.tooltip-container') as HTMLElement;
41
+ // if (container && this.maxLines !== undefined) {
42
+ // // Check if the actual height is greater than the maximum height allowed by line clamp
43
+ // const lineHeight = parseInt(window.getComputedStyle(container).lineHeight);
44
+ // //const maxLines = parseInt(container.style.webkitLineClamp);
45
+ // const maxHeight = lineHeight * this.maxLines;
46
+ // this.showTip = container.scrollHeight > maxHeight;
47
+ // console.log('maxHeight ' + maxHeight + ' clinetHeight: ' + container.clientHeight)
48
+ // }
49
+ // }
50
+ processText(initial = false) {
51
+ if (initial) {
52
+ const slot = this.el.shadowRoot.querySelector('slot');
53
+ if (slot) {
54
+ const nodes = slot.assignedNodes({ flatten: true });
55
+ this.fullText = nodes
56
+ .map(node => node.textContent)
57
+ .join('')
58
+ .trim();
59
+ //console.log('fulltext: ' + this.fullText)
60
+ }
61
+ }
62
+ this.displayText = this.fullText;
63
+ if (this.fullText.length > this.maxLength && this.maxLines === undefined) {
64
+ const trimmedText = this.fullText.substring(0, this.maxLength).trim();
65
+ // console.log('trimmedText if fullText is longer: ' + trimmedText)
66
+ const lastSpace = trimmedText.lastIndexOf(' ');
67
+ this.displayText = trimmedText.substring(0, lastSpace) + '...';
68
+ // console.log('displayText: ' + this.displayText)
69
+ this.showTip = true;
70
+ }
71
+ }
72
+ render() {
73
+ const style = {
74
+ zIndex: this.zIndex.toString(),
75
+ width: this.width === 'full-width' ? '100%' : 'auto',
76
+ overflow: 'hidden',
77
+ display: this.maxLines ? '-webkit-box !important' : 'inherit',
78
+ WebkitBoxOrient: 'vertical',
79
+ WebkitLineClamp: this.maxLines ? this.maxLines.toString() : 'none',
80
+ };
81
+ const tooltipClass = {
82
+ 'tooltip-container': true,
83
+ 'with-tip': this.showTip, // Conditionally applying the 'with-tip' class
84
+ };
85
+ return (index.h(index.Host, { class: this.elementDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: tooltipClass, style: { zIndex: this.zIndex.toString(), width: this.width === 'full-width' ? '100%' : 'auto' } }, index.h("div", { class: "tooltip-text", style: style }, this.displayText), index.h("div", { class: `tooltip-content ${this.position}` }, index.h("slot", null)))));
86
+ }
87
+ get el() { return index.getElement(this); }
88
+ };
89
+ PtcTooltipV2.style = ptcTooltipV2Css;
90
+
91
+ exports.ptc_tooltip_v2 = PtcTooltipV2;