@ptcwebops/ptcw-design 6.3.66-beta → 6.3.68-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 (872) hide show
  1. package/dist/cjs/academic-form-test.cjs.entry.js +24 -24
  2. package/dist/cjs/author-listing-example.cjs.entry.js +31 -29
  3. package/dist/cjs/blog-detail-content_2.cjs.entry.js +66 -61
  4. package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
  5. package/dist/cjs/blogs-search-section.cjs.entry.js +59 -48
  6. package/dist/cjs/bundle-example.cjs.entry.js +3 -2
  7. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +23 -10
  8. package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
  9. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +5 -3
  10. package/dist/cjs/embedded-form.cjs.entry.js +27 -27
  11. package/dist/cjs/event-jumbotron-example.cjs.entry.js +53 -46
  12. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +4 -4
  13. package/dist/cjs/featured-events-slider-example.cjs.entry.js +6 -6
  14. package/dist/cjs/featured-list.cjs.entry.js +30 -22
  15. package/dist/cjs/fl-tab-content_3.cjs.entry.js +19 -16
  16. package/dist/cjs/footer-form.cjs.entry.js +9 -9
  17. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +23 -8
  18. package/dist/cjs/homepage-jumbotron.cjs.entry.js +28 -17
  19. package/dist/cjs/homepage-toggled-content.cjs.entry.js +44 -21
  20. package/dist/cjs/icon-asset.cjs.entry.js +18 -18
  21. package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -4
  22. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +3 -3
  24. package/dist/cjs/list-item.cjs.entry.js +12 -8
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/cjs/max-width-container.cjs.entry.js +4 -4
  27. package/dist/cjs/modal-form-example.cjs.entry.js +43 -28
  28. package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
  29. package/dist/cjs/ptc-accordion-item.cjs.entry.js +25 -17
  30. package/dist/cjs/ptc-accordion.cjs.entry.js +13 -10
  31. package/dist/cjs/ptc-announcement.cjs.entry.js +18 -15
  32. package/dist/cjs/ptc-back-to-top.cjs.entry.js +29 -27
  33. package/dist/cjs/ptc-background-video.cjs.entry.js +14 -12
  34. package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
  35. package/dist/cjs/ptc-bio-card.cjs.entry.js +13 -9
  36. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +14 -8
  37. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-button.cjs.entry.js +48 -20
  39. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +59 -31
  40. package/dist/cjs/ptc-card-content.cjs.entry.js +35 -25
  41. package/dist/cjs/ptc-card_2.cjs.entry.js +112 -62
  42. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +43 -35
  43. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +4 -4
  44. package/dist/cjs/ptc-checkbox.cjs.entry.js +12 -12
  45. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +63 -50
  46. package/dist/cjs/ptc-collapse-list.cjs.entry.js +88 -57
  47. package/dist/cjs/ptc-container.cjs.entry.js +10 -10
  48. package/dist/cjs/ptc-countdown.cjs.entry.js +65 -65
  49. package/dist/cjs/ptc-data-lookup.cjs.entry.js +61 -25
  50. package/dist/cjs/ptc-date.cjs.entry.js +4 -4
  51. package/dist/cjs/ptc-dropdown.cjs.entry.js +22 -19
  52. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +14 -9
  53. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +40 -27
  54. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +29 -20
  55. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +14 -7
  56. package/dist/cjs/ptc-featured-list.cjs.entry.js +9 -11
  57. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +110 -73
  58. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +128 -31
  59. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +57 -32
  60. package/dist/cjs/ptc-footer.cjs.entry.js +12 -10
  61. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +526 -438
  62. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +6 -6
  63. package/dist/cjs/ptc-form-radio-group.cjs.entry.js +7 -7
  64. package/dist/cjs/ptc-form.cjs.entry.js +95 -35
  65. package/dist/cjs/ptc-hero.cjs.entry.js +5 -2
  66. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +4 -2
  67. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +69 -42
  68. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
  69. package/dist/cjs/ptc-icon-card.cjs.entry.js +4 -2
  70. package/dist/cjs/ptc-icon-component.cjs.entry.js +17 -11
  71. package/dist/cjs/ptc-icon-list.cjs.entry.js +7 -8
  72. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +42 -27
  73. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +6 -4
  74. package/dist/cjs/ptc-img.cjs.entry.js +56 -49
  75. package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -6
  76. package/dist/cjs/ptc-inline-cta.cjs.entry.js +40 -31
  77. package/dist/cjs/ptc-jumbotron.cjs.entry.js +90 -56
  78. package/dist/cjs/ptc-link.cjs.entry.js +29 -25
  79. package/dist/cjs/ptc-list.cjs.entry.js +9 -9
  80. package/dist/cjs/ptc-media-card.cjs.entry.js +31 -13
  81. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
  82. package/dist/cjs/ptc-mobile-select.cjs.entry.js +22 -16
  83. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +44 -20
  84. package/dist/cjs/ptc-nav-card.cjs.entry.js +6 -12
  85. package/dist/cjs/ptc-nav-link.cjs.entry.js +6 -6
  86. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +10 -10
  87. package/dist/cjs/ptc-nav-slider.cjs.entry.js +36 -18
  88. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +4 -7
  89. package/dist/cjs/ptc-news.cjs.entry.js +1 -1
  90. package/dist/cjs/ptc-office-location-card.cjs.entry.js +7 -7
  91. package/dist/cjs/ptc-office-locations.cjs.entry.js +104 -71
  92. package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
  93. package/dist/cjs/ptc-para.cjs.entry.js +38 -26
  94. package/dist/cjs/ptc-picture.cjs.entry.js +39 -33
  95. package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
  96. package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +9 -5
  97. package/dist/cjs/ptc-preloader.cjs.entry.js +22 -0
  98. package/dist/cjs/ptc-previous-url.cjs.entry.js +6 -5
  99. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +3 -3
  100. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +3 -3
  101. package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -3
  102. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +162 -107
  103. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +10 -8
  104. package/dist/cjs/ptc-product-card.cjs.entry.js +14 -15
  105. package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
  106. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +10 -8
  107. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
  108. package/dist/cjs/ptc-product-list.cjs.entry.js +64 -56
  109. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +39 -38
  110. package/dist/cjs/ptc-progress-bar.cjs.entry.js +2 -1
  111. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +13 -11
  112. package/dist/cjs/ptc-quote.cjs.entry.js +6 -4
  113. package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
  114. package/dist/cjs/ptc-readmore-new.cjs.entry.js +17 -19
  115. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
  116. package/dist/cjs/ptc-readmore.cjs.entry.js +48 -42
  117. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +45 -40
  118. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
  119. package/dist/cjs/ptc-scroll-button.cjs.entry.js +25 -24
  120. package/dist/cjs/ptc-search-field.cjs.entry.js +29 -18
  121. package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
  122. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +34 -32
  123. package/dist/cjs/ptc-skeleton.cjs.entry.js +8 -3
  124. package/dist/cjs/ptc-slit-card.cjs.entry.js +10 -6
  125. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +12 -2
  126. package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
  127. package/dist/cjs/ptc-spacer.cjs.entry.js +14 -14
  128. package/dist/cjs/ptc-span.cjs.entry.js +3 -3
  129. package/dist/cjs/ptc-square-card.cjs.entry.js +5 -1
  130. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +4 -2
  131. package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
  132. package/dist/cjs/ptc-sticky-title.cjs.entry.js +8 -7
  133. package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
  134. package/dist/cjs/ptc-subnav.cjs.entry.js +4 -4
  135. package/dist/cjs/ptc-svg-btn.cjs.entry.js +5 -3
  136. package/dist/cjs/ptc-tab-list.cjs.entry.js +65 -57
  137. package/dist/cjs/ptc-tab.cjs.entry.js +2 -2
  138. package/dist/cjs/ptc-tabs.cjs.entry.js +6 -6
  139. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +11 -15
  140. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +21 -13
  141. package/dist/cjs/ptc-title.cjs.entry.js +49 -40
  142. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +28 -22
  143. package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +24 -19
  144. package/dist/cjs/ptc-tooltip.cjs.entry.js +29 -23
  145. package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
  146. package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
  147. package/dist/cjs/ptc-value-led-content.cjs.entry.js +1 -2
  148. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
  149. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +79 -49
  150. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +9 -6
  151. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +2 -2
  152. package/dist/cjs/ptc-video-embed.cjs.entry.js +19 -19
  153. package/dist/cjs/ptc-white-paper.cjs.entry.js +22 -9
  154. package/dist/cjs/ptcw-design.cjs.js +1 -1
  155. package/dist/cjs/sequential-bundle-example.cjs.entry.js +20 -15
  156. package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
  157. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +6 -6
  158. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +6 -6
  159. package/dist/cjs/tab-content.cjs.entry.js +10 -8
  160. package/dist/cjs/tab-header.cjs.entry.js +5 -5
  161. package/dist/collection/collection-manifest.json +1 -0
  162. package/dist/collection/components/dropdown-item/dropdown-item.css +8 -4
  163. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  164. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +8 -4
  165. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +8 -6
  166. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +16 -12
  167. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +24 -9
  168. package/dist/collection/components/icon-asset/icon-asset.css +26 -10
  169. package/dist/collection/components/icon-asset/icon-asset.js +29 -29
  170. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +133 -13
  171. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +4 -5
  172. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +8 -4
  173. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
  174. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +16 -8
  175. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
  176. package/dist/collection/components/list-item/list-item.css +8 -4
  177. package/dist/collection/components/list-item/list-item.js +18 -14
  178. package/dist/collection/components/max-width-container/max-width-container.js +7 -7
  179. package/dist/collection/components/my-component/my-component.js +2 -2
  180. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +32 -30
  181. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +10 -6
  182. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +58 -49
  183. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +8 -4
  184. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +14 -14
  185. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +8 -4
  186. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +61 -50
  187. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +4 -3
  188. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +148 -138
  189. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +30 -22
  190. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +25 -12
  191. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +9 -5
  192. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +56 -49
  193. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +14 -10
  194. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +5 -5
  195. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +8 -4
  196. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +8 -8
  197. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +9 -5
  198. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +24 -24
  199. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +10 -6
  200. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +27 -27
  201. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +10 -6
  202. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +9 -9
  203. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +44 -29
  204. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +96 -36
  205. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +8 -4
  206. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +37 -26
  207. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +12 -8
  208. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +45 -22
  209. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +9 -5
  210. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +6 -6
  211. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +8 -4
  212. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -1
  213. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +10 -6
  214. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +5 -5
  215. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +8 -4
  216. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +4 -4
  217. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +23 -18
  218. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +7 -7
  219. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +54 -29
  220. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +7 -7
  221. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +8 -4
  222. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +29 -21
  223. package/dist/collection/components/ptc-accordion/ptc-accordion.css +14 -9
  224. package/dist/collection/components/ptc-accordion/ptc-accordion.js +18 -15
  225. package/dist/collection/components/ptc-announcement/ptc-announcement.css +8 -4
  226. package/dist/collection/components/ptc-announcement/ptc-announcement.js +23 -20
  227. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +8 -4
  228. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +30 -28
  229. package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -4
  230. package/dist/collection/components/ptc-background-video/ptc-background-video.js +22 -20
  231. package/dist/collection/components/ptc-badge/ptc-badge.css +10 -5
  232. package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
  233. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +135 -14
  234. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +13 -9
  235. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +8 -4
  236. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +18 -12
  237. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +8 -4
  238. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
  239. package/dist/collection/components/ptc-button/ptc-button.css +10 -6
  240. package/dist/collection/components/ptc-button/ptc-button.js +63 -35
  241. package/dist/collection/components/ptc-card/ptc-card.css +11 -5
  242. package/dist/collection/components/ptc-card/ptc-card.js +81 -34
  243. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +8 -4
  244. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +20 -14
  245. package/dist/collection/components/ptc-card-content/ptc-card-content.css +8 -4
  246. package/dist/collection/components/ptc-card-content/ptc-card-content.js +38 -28
  247. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +9 -5
  248. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +43 -21
  249. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +133 -14
  250. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +44 -36
  251. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +8 -4
  252. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
  253. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +8 -4
  254. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
  255. package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +8 -4
  256. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
  257. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +46 -13
  258. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +92 -61
  259. package/dist/collection/components/ptc-container/ptc-container.css +8 -4
  260. package/dist/collection/components/ptc-container/ptc-container.js +19 -19
  261. package/dist/collection/components/ptc-countdown/ptc-countdown.css +8 -4
  262. package/dist/collection/components/ptc-countdown/ptc-countdown.js +76 -76
  263. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +8 -4
  264. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +68 -32
  265. package/dist/collection/components/ptc-date/ptc-date.css +8 -4
  266. package/dist/collection/components/ptc-date/ptc-date.js +9 -9
  267. package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +8 -4
  268. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +25 -22
  269. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +22 -11
  270. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +20 -15
  271. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +8 -4
  272. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +42 -29
  273. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +8 -4
  274. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +32 -22
  275. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +11 -7
  276. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +16 -9
  277. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +8 -4
  278. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +5 -2
  279. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +8 -4
  280. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +15 -15
  281. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +8 -4
  282. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +2 -2
  283. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +133 -13
  284. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +9 -11
  285. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +8 -4
  286. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +30 -21
  287. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +145 -25
  288. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +129 -32
  289. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +8 -4
  290. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
  291. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +26 -13
  292. package/dist/collection/components/ptc-footer/ptc-footer.js +13 -11
  293. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +10 -6
  294. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +21 -17
  295. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +8 -4
  296. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +7 -7
  297. package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +8 -4
  298. package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
  299. package/dist/collection/components/ptc-hero/ptc-hero.css +8 -4
  300. package/dist/collection/components/ptc-hero/ptc-hero.js +8 -5
  301. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +10 -5
  302. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
  303. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +8 -4
  304. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +6 -4
  305. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +16 -8
  306. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +72 -45
  307. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +8 -4
  308. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +6 -4
  309. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +8 -4
  310. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +19 -14
  311. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +8 -4
  312. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +13 -14
  313. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -4
  314. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +43 -28
  315. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +8 -4
  316. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +7 -5
  317. package/dist/collection/components/ptc-img/ptc-img.css +37 -4
  318. package/dist/collection/components/ptc-img/ptc-img.js +67 -60
  319. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +16 -8
  320. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -7
  321. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +9 -5
  322. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +42 -33
  323. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +134 -14
  324. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +93 -59
  325. package/dist/collection/components/ptc-link/ptc-link.css +16 -9
  326. package/dist/collection/components/ptc-link/ptc-link.js +37 -33
  327. package/dist/collection/components/ptc-list/ptc-list.css +8 -4
  328. package/dist/collection/components/ptc-list/ptc-list.js +12 -12
  329. package/dist/collection/components/ptc-media-card/ptc-media-card.css +9 -5
  330. package/dist/collection/components/ptc-media-card/ptc-media-card.js +37 -19
  331. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +8 -4
  332. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
  333. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +12 -6
  334. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +27 -21
  335. package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
  336. package/dist/collection/components/ptc-modal/ptc-modal.js +71 -58
  337. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +8 -4
  338. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +45 -21
  339. package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +11 -7
  340. package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +105 -50
  341. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +8 -4
  342. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +9 -15
  343. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +8 -4
  344. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +1 -1
  345. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +10 -6
  346. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +10 -10
  347. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +8 -4
  348. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
  349. package/dist/collection/components/ptc-news/ptc-news.css +8 -4
  350. package/dist/collection/components/ptc-news/ptc-news.js +2 -2
  351. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +8 -4
  352. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +12 -12
  353. package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +8 -4
  354. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +114 -81
  355. package/dist/collection/components/ptc-overlay/ptc-overlay.css +12 -8
  356. package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
  357. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +25 -12
  358. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +45 -20
  359. package/dist/collection/components/ptc-para/ptc-para.css +8 -4
  360. package/dist/collection/components/ptc-para/ptc-para.js +60 -49
  361. package/dist/collection/components/ptc-picture/ptc-picture.css +8 -4
  362. package/dist/collection/components/ptc-picture/ptc-picture.js +55 -49
  363. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +133 -13
  364. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +2 -2
  365. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +8 -4
  366. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +10 -6
  367. package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -0
  368. package/dist/collection/components/ptc-preloader/ptc-preloader.js +62 -0
  369. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +29 -23
  370. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +39 -36
  371. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +8 -4
  372. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +9 -8
  373. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +8 -4
  374. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +4 -4
  375. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +8 -4
  376. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +4 -4
  377. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +8 -4
  378. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +4 -4
  379. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +8 -4
  380. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +166 -110
  381. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +8 -4
  382. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +12 -10
  383. package/dist/collection/components/ptc-product-card/ptc-product-card.css +133 -13
  384. package/dist/collection/components/ptc-product-card/ptc-product-card.js +14 -15
  385. package/dist/collection/components/ptc-product-category/ptc-product-category.css +133 -13
  386. package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
  387. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -4
  388. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +11 -9
  389. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +133 -13
  390. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +7 -7
  391. package/dist/collection/components/ptc-product-list/ptc-product-list.css +8 -4
  392. package/dist/collection/components/ptc-product-list/ptc-product-list.js +65 -57
  393. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +8 -4
  394. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +41 -40
  395. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +8 -4
  396. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +3 -2
  397. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +8 -4
  398. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +16 -14
  399. package/dist/collection/components/ptc-quote/ptc-quote.css +10 -5
  400. package/dist/collection/components/ptc-quote/ptc-quote.js +10 -8
  401. package/dist/collection/components/ptc-readmore/ptc-readmore.css +8 -4
  402. package/dist/collection/components/ptc-readmore/ptc-readmore.js +62 -56
  403. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +133 -13
  404. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
  405. package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +8 -4
  406. package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +18 -20
  407. package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +8 -4
  408. package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +10 -14
  409. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +133 -13
  410. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +24 -24
  411. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +9 -4
  412. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +47 -42
  413. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
  414. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +8 -4
  415. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +29 -28
  416. package/dist/collection/components/ptc-search-field/ptc-search-field.css +8 -4
  417. package/dist/collection/components/ptc-search-field/ptc-search-field.js +32 -22
  418. package/dist/collection/components/ptc-select/ptc-select.css +12 -8
  419. package/dist/collection/components/ptc-select/ptc-select.js +292 -290
  420. package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +8 -4
  421. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
  422. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +8 -4
  423. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +40 -38
  424. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +8 -4
  425. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
  426. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +8 -4
  427. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +10 -5
  428. package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +8 -4
  429. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +13 -9
  430. package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +8 -4
  431. package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +10 -10
  432. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +8 -4
  433. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +22 -12
  434. package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -4
  435. package/dist/collection/components/ptc-social-share/ptc-social-share.js +54 -35
  436. package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
  437. package/dist/collection/components/ptc-span/ptc-span.css +8 -4
  438. package/dist/collection/components/ptc-span/ptc-span.js +10 -10
  439. package/dist/collection/components/ptc-square-card/ptc-square-card.css +8 -4
  440. package/dist/collection/components/ptc-square-card/ptc-square-card.js +7 -3
  441. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +8 -4
  442. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +5 -3
  443. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +8 -4
  444. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
  445. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +8 -4
  446. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +11 -10
  447. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -4
  448. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +14 -12
  449. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +8 -4
  450. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +67 -59
  451. package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
  452. package/dist/collection/components/ptc-tabs/ptc-tabs.css +8 -4
  453. package/dist/collection/components/ptc-tabs/ptc-tabs.js +7 -7
  454. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +8 -4
  455. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -20
  456. package/dist/collection/components/ptc-textfield/ptc-textfield.css +13 -9
  457. package/dist/collection/components/ptc-textfield/ptc-textfield.js +141 -113
  458. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +10 -6
  459. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +7 -7
  460. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +8 -4
  461. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +23 -15
  462. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +8 -4
  463. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +36 -27
  464. package/dist/collection/components/ptc-title/ptc-title.css +8 -4
  465. package/dist/collection/components/ptc-title/ptc-title.js +73 -64
  466. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +8 -4
  467. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +43 -37
  468. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +133 -13
  469. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +34 -28
  470. package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +8 -4
  471. package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +32 -27
  472. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +8 -4
  473. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +3 -3
  474. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +8 -4
  475. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +2 -2
  476. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +8 -4
  477. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +2 -3
  478. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +8 -4
  479. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
  480. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +8 -4
  481. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +2 -2
  482. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +8 -4
  483. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +80 -50
  484. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +133 -13
  485. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +9 -6
  486. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +8 -4
  487. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +4 -4
  488. package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +8 -4
  489. package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
  490. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +150 -20
  491. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +22 -9
  492. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +8 -4
  493. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +8 -8
  494. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -4
  495. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +37 -19
  496. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +8 -4
  497. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +5 -8
  498. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +8 -4
  499. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
  500. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +8 -4
  501. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
  502. package/dist/collection/components/tab-content/tab-content.css +18 -5
  503. package/dist/collection/components/tab-content/tab-content.js +11 -9
  504. package/dist/collection/components/tab-header/tab-header.css +10 -5
  505. package/dist/collection/components/tab-header/tab-header.js +6 -6
  506. package/dist/collection/stories/Accordian.stories.js +32 -18
  507. package/dist/collection/stories/Announcement.stories.js +29 -1
  508. package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
  509. package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
  510. package/dist/collection/stories/Button.stories.js +150 -66
  511. package/dist/collection/stories/Checkbox.stories.js +13 -45
  512. package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
  513. package/dist/collection/stories/CloseIcon.stories.js +10 -0
  514. package/dist/collection/stories/CollapseList.stories.js +14 -0
  515. package/dist/collection/stories/Countdown.stories.js +10 -0
  516. package/dist/collection/stories/DataLookup.stories.js +21 -0
  517. package/dist/collection/stories/Date.stories.js +70 -75
  518. package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
  519. package/dist/collection/stories/Hero.stories.js +22 -107
  520. package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
  521. package/dist/collection/stories/ListItem.stories.js +20 -46
  522. package/dist/collection/stories/MultiSelect.stories.js +10 -0
  523. package/dist/collection/stories/ScrollButton.stories.js +14 -0
  524. package/dist/collection/stories/SearchField.stories.js +21 -0
  525. package/dist/collection/stories/Select.stories.js +17 -68
  526. package/dist/collection/stories/SocialShare.stories.js +67 -51
  527. package/dist/collection/stories/Span.stories.js +45 -51
  528. package/dist/collection/stories/SvgBtn.stories.js +36 -0
  529. package/dist/collection/stories/TextCopyWithBackground.stories.js +78 -220
  530. package/dist/collection/stories/TheaterVideo.stories.js +21 -0
  531. package/dist/collection/stories/VideoEmbed.stories.js +10 -0
  532. package/dist/collection/stories/backToTop.stories.js +10 -0
  533. package/dist/collection/stories/backgroundVideo.stories.js +115 -0
  534. package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
  535. package/dist/collection/stories/ptcLink2.stories.js +142 -0
  536. package/dist/custom-elements/index.d.ts +6 -0
  537. package/dist/custom-elements/index.js +4219 -3068
  538. package/dist/esm/academic-form-test.entry.js +24 -24
  539. package/dist/esm/author-listing-example.entry.js +31 -29
  540. package/dist/esm/blog-detail-content_2.entry.js +66 -61
  541. package/dist/esm/blog-detail-layout.entry.js +12 -12
  542. package/dist/esm/blogs-search-section.entry.js +59 -48
  543. package/dist/esm/bundle-example.entry.js +3 -2
  544. package/dist/esm/bundle-jumbotron-example.entry.js +23 -10
  545. package/dist/esm/dropdown-item.entry.js +1 -1
  546. package/dist/esm/dynamic-box-bundle.entry.js +5 -3
  547. package/dist/esm/embedded-form.entry.js +27 -27
  548. package/dist/esm/event-jumbotron-example.entry.js +53 -46
  549. package/dist/esm/event-podcast-slider-example.entry.js +4 -4
  550. package/dist/esm/featured-events-slider-example.entry.js +6 -6
  551. package/dist/esm/featured-list.entry.js +30 -22
  552. package/dist/esm/fl-tab-content_3.entry.js +19 -16
  553. package/dist/esm/footer-form.entry.js +9 -9
  554. package/dist/esm/homepage-clickable-tab.entry.js +23 -8
  555. package/dist/esm/homepage-jumbotron.entry.js +28 -17
  556. package/dist/esm/homepage-toggled-content.entry.js +44 -21
  557. package/dist/esm/icon-asset.entry.js +18 -18
  558. package/dist/esm/innovator-toggle-container.entry.js +4 -4
  559. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  560. package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
  561. package/dist/esm/list-item.entry.js +12 -8
  562. package/dist/esm/loader.js +1 -1
  563. package/dist/esm/max-width-container.entry.js +4 -4
  564. package/dist/esm/modal-form-example.entry.js +43 -28
  565. package/dist/esm/most-popular-news.entry.js +2 -2
  566. package/dist/esm/ptc-accordion-item.entry.js +25 -17
  567. package/dist/esm/ptc-accordion.entry.js +13 -10
  568. package/dist/esm/ptc-announcement.entry.js +18 -15
  569. package/dist/esm/ptc-back-to-top.entry.js +29 -27
  570. package/dist/esm/ptc-background-video.entry.js +14 -12
  571. package/dist/esm/ptc-badge.entry.js +3 -3
  572. package/dist/esm/ptc-bio-card.entry.js +13 -9
  573. package/dist/esm/ptc-breadcrumb.entry.js +14 -8
  574. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  575. package/dist/esm/ptc-button.entry.js +48 -20
  576. package/dist/esm/ptc-card-bottom_2.entry.js +59 -31
  577. package/dist/esm/ptc-card-content.entry.js +35 -25
  578. package/dist/esm/ptc-card_2.entry.js +112 -62
  579. package/dist/esm/ptc-case-studies-slider.entry.js +43 -35
  580. package/dist/esm/ptc-checkbox-group.entry.js +4 -4
  581. package/dist/esm/ptc-checkbox.entry.js +12 -12
  582. package/dist/esm/ptc-close-icon_2.entry.js +63 -50
  583. package/dist/esm/ptc-collapse-list.entry.js +88 -57
  584. package/dist/esm/ptc-container.entry.js +10 -10
  585. package/dist/esm/ptc-countdown.entry.js +65 -65
  586. package/dist/esm/ptc-data-lookup.entry.js +61 -25
  587. package/dist/esm/ptc-date.entry.js +4 -4
  588. package/dist/esm/ptc-dropdown.entry.js +22 -19
  589. package/dist/esm/ptc-dynamic-card.entry.js +14 -9
  590. package/dist/esm/ptc-ellipsis-dropdown.entry.js +40 -27
  591. package/dist/esm/ptc-embedded-quiz.entry.js +29 -20
  592. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +14 -7
  593. package/dist/esm/ptc-featured-list.entry.js +9 -11
  594. package/dist/esm/ptc-filter-dropdown_4.entry.js +110 -73
  595. package/dist/esm/ptc-filter-level-theater.entry.js +128 -31
  596. package/dist/esm/ptc-filter-tag_2.entry.js +57 -32
  597. package/dist/esm/ptc-footer.entry.js +12 -10
  598. package/dist/esm/ptc-form-checkbox_4.entry.js +526 -438
  599. package/dist/esm/ptc-form-radio-button.entry.js +6 -6
  600. package/dist/esm/ptc-form-radio-group.entry.js +7 -7
  601. package/dist/esm/ptc-form.entry.js +95 -35
  602. package/dist/esm/ptc-hero.entry.js +5 -2
  603. package/dist/esm/ptc-homepage-image-feature.entry.js +4 -2
  604. package/dist/esm/ptc-homepage-video-background.entry.js +69 -42
  605. package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
  606. package/dist/esm/ptc-icon-card.entry.js +4 -2
  607. package/dist/esm/ptc-icon-component.entry.js +17 -11
  608. package/dist/esm/ptc-icon-list.entry.js +7 -8
  609. package/dist/esm/ptc-icon-minimize.entry.js +42 -27
  610. package/dist/esm/ptc-image-download-strip.entry.js +6 -4
  611. package/dist/esm/ptc-img.entry.js +56 -49
  612. package/dist/esm/ptc-info-tile.entry.js +6 -6
  613. package/dist/esm/ptc-inline-cta.entry.js +40 -31
  614. package/dist/esm/ptc-jumbotron.entry.js +90 -56
  615. package/dist/esm/ptc-link.entry.js +29 -25
  616. package/dist/esm/ptc-list.entry.js +9 -9
  617. package/dist/esm/ptc-media-card.entry.js +31 -13
  618. package/dist/esm/ptc-minimized-nav.entry.js +5 -5
  619. package/dist/esm/ptc-mobile-select.entry.js +22 -16
  620. package/dist/esm/ptc-modal-quiz.entry.js +44 -20
  621. package/dist/esm/ptc-nav-card.entry.js +6 -12
  622. package/dist/esm/ptc-nav-link.entry.js +6 -6
  623. package/dist/esm/ptc-nav-skip-to-content.entry.js +10 -10
  624. package/dist/esm/ptc-nav-slider.entry.js +36 -18
  625. package/dist/esm/ptc-nav-submenu.entry.js +4 -7
  626. package/dist/esm/ptc-news.entry.js +1 -1
  627. package/dist/esm/ptc-office-location-card.entry.js +7 -7
  628. package/dist/esm/ptc-office-locations.entry.js +104 -71
  629. package/dist/esm/ptc-overlay.entry.js +2 -2
  630. package/dist/esm/ptc-para.entry.js +38 -26
  631. package/dist/esm/ptc-picture.entry.js +39 -33
  632. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  633. package/dist/esm/ptc-preferance-center-form.entry.js +9 -5
  634. package/dist/esm/ptc-preloader.entry.js +18 -0
  635. package/dist/esm/ptc-previous-url.entry.js +6 -5
  636. package/dist/esm/ptc-pricing-add-on-card.entry.js +3 -3
  637. package/dist/esm/ptc-pricing-add-on-section.entry.js +3 -3
  638. package/dist/esm/ptc-pricing-block.entry.js +3 -3
  639. package/dist/esm/ptc-pricing-packaging-table.entry.js +162 -107
  640. package/dist/esm/ptc-pricing-tabs.entry.js +10 -8
  641. package/dist/esm/ptc-product-card.entry.js +14 -15
  642. package/dist/esm/ptc-product-category.entry.js +2 -2
  643. package/dist/esm/ptc-product-dropdown.entry.js +10 -8
  644. package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
  645. package/dist/esm/ptc-product-list.entry.js +64 -56
  646. package/dist/esm/ptc-product-sidebar.entry.js +39 -38
  647. package/dist/esm/ptc-progress-bar.entry.js +2 -1
  648. package/dist/esm/ptc-quantity-counter.entry.js +13 -11
  649. package/dist/esm/ptc-quote.entry.js +6 -4
  650. package/dist/esm/ptc-readmore-char.entry.js +7 -7
  651. package/dist/esm/ptc-readmore-new.entry.js +17 -19
  652. package/dist/esm/ptc-readmore-v3.entry.js +22 -22
  653. package/dist/esm/ptc-readmore.entry.js +48 -42
  654. package/dist/esm/ptc-related-card-rail.entry.js +45 -40
  655. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  656. package/dist/esm/ptc-scroll-button.entry.js +25 -24
  657. package/dist/esm/ptc-search-field.entry.js +29 -18
  658. package/dist/esm/ptc-seo-title.entry.js +8 -8
  659. package/dist/esm/ptc-shopping-cart.entry.js +34 -32
  660. package/dist/esm/ptc-skeleton.entry.js +8 -3
  661. package/dist/esm/ptc-slit-card.entry.js +10 -6
  662. package/dist/esm/ptc-social-icons-footer.entry.js +12 -2
  663. package/dist/esm/ptc-social-icons.entry.js +3 -3
  664. package/dist/esm/ptc-spacer.entry.js +14 -14
  665. package/dist/esm/ptc-span.entry.js +3 -3
  666. package/dist/esm/ptc-square-card.entry.js +5 -1
  667. package/dist/esm/ptc-sticky-icons.entry.js +4 -2
  668. package/dist/esm/ptc-sticky-section.entry.js +13 -13
  669. package/dist/esm/ptc-sticky-title.entry.js +8 -7
  670. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  671. package/dist/esm/ptc-subnav.entry.js +4 -4
  672. package/dist/esm/ptc-svg-btn.entry.js +5 -3
  673. package/dist/esm/ptc-tab-list.entry.js +65 -57
  674. package/dist/esm/ptc-tab.entry.js +2 -2
  675. package/dist/esm/ptc-tabs.entry.js +6 -6
  676. package/dist/esm/ptc-text-copy-with-background.entry.js +11 -15
  677. package/dist/esm/ptc-theater-video-modal.entry.js +21 -13
  678. package/dist/esm/ptc-title.entry.js +49 -40
  679. package/dist/esm/ptc-tooltip-v2.entry.js +28 -22
  680. package/dist/esm/ptc-tooltip-v3.entry.js +24 -19
  681. package/dist/esm/ptc-tooltip.entry.js +29 -23
  682. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  683. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  684. package/dist/esm/ptc-value-led-content.entry.js +1 -2
  685. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  686. package/dist/esm/ptc-value-led-layout.entry.js +79 -49
  687. package/dist/esm/ptc-value-led-speed-bump.entry.js +9 -6
  688. package/dist/esm/ptc-value-prop-card.entry.js +2 -2
  689. package/dist/esm/ptc-video-embed.entry.js +19 -19
  690. package/dist/esm/ptc-white-paper.entry.js +22 -9
  691. package/dist/esm/ptcw-design.js +1 -1
  692. package/dist/esm/sequential-bundle-example.entry.js +20 -15
  693. package/dist/esm/sequential-bundle.entry.js +1 -1
  694. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +6 -6
  695. package/dist/esm/storefront-enhanced-product-list-example.entry.js +6 -6
  696. package/dist/esm/tab-content.entry.js +10 -8
  697. package/dist/esm/tab-header.entry.js +5 -5
  698. package/dist/ptcw-design/{p-1feb2812.entry.js → p-056748b3.entry.js} +1 -1
  699. package/dist/ptcw-design/{p-dfb400ed.entry.js → p-1bffeaed.entry.js} +1 -1
  700. package/dist/ptcw-design/{p-9501995f.entry.js → p-21db0a85.entry.js} +1 -1
  701. package/dist/ptcw-design/{p-5311c6e1.entry.js → p-2670ac97.entry.js} +1 -1
  702. package/dist/ptcw-design/p-2c287230.entry.js +1 -0
  703. package/dist/ptcw-design/{p-e43c30c9.entry.js → p-2c8faf9a.entry.js} +1 -1
  704. package/dist/ptcw-design/{p-fed61f9b.entry.js → p-312c41b8.entry.js} +1 -1
  705. package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
  706. package/dist/ptcw-design/{p-8521fdd4.entry.js → p-36ee2e12.entry.js} +1 -1
  707. package/dist/ptcw-design/{p-32f64f48.entry.js → p-390c0dee.entry.js} +1 -1
  708. package/dist/ptcw-design/p-3a40c41f.entry.js +1 -0
  709. package/dist/ptcw-design/{p-c82eaf9d.entry.js → p-4d11aafc.entry.js} +1 -1
  710. package/dist/ptcw-design/{p-b6255525.entry.js → p-4f0b8ca2.entry.js} +1 -1
  711. package/dist/ptcw-design/{p-c8f68292.entry.js → p-4f4f97a6.entry.js} +1 -1
  712. package/dist/ptcw-design/{p-7f9ad266.entry.js → p-50308f02.entry.js} +1 -1
  713. package/dist/ptcw-design/{p-4702c233.entry.js → p-54f5a5be.entry.js} +1 -1
  714. package/dist/ptcw-design/{p-b49245ed.entry.js → p-5c81c755.entry.js} +1 -1
  715. package/dist/ptcw-design/{p-b863b296.entry.js → p-5e4c1edf.entry.js} +1 -1
  716. package/dist/ptcw-design/p-63b3bcbe.entry.js +1 -0
  717. package/dist/ptcw-design/p-656e8773.entry.js +1 -0
  718. package/dist/ptcw-design/{p-e6a272d9.entry.js → p-684ef1e5.entry.js} +1 -1
  719. package/dist/ptcw-design/p-6f9f55b3.entry.js +1 -0
  720. package/dist/ptcw-design/{p-d73cc053.entry.js → p-7235425a.entry.js} +1 -1
  721. package/dist/ptcw-design/{p-baff4d44.entry.js → p-74097f89.entry.js} +1 -1
  722. package/dist/ptcw-design/{p-0b515839.entry.js → p-81bcde85.entry.js} +1 -1
  723. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-8b480abd.entry.js} +1 -1
  724. package/dist/ptcw-design/{p-68ed2afe.entry.js → p-9354b7fd.entry.js} +1 -1
  725. package/dist/ptcw-design/{p-8e42a22d.entry.js → p-9f01419b.entry.js} +1 -1
  726. package/dist/ptcw-design/{p-14b7693f.entry.js → p-abadbe5b.entry.js} +1 -1
  727. package/dist/ptcw-design/{p-d66debb3.entry.js → p-ac766cb3.entry.js} +1 -1
  728. package/dist/ptcw-design/{p-0c4918f5.entry.js → p-af831c13.entry.js} +1 -1
  729. package/dist/ptcw-design/{p-75390f63.entry.js → p-b684ca9d.entry.js} +1 -1
  730. package/dist/ptcw-design/{p-845d10b5.entry.js → p-c09a8288.entry.js} +1 -1
  731. package/dist/ptcw-design/{p-b647f7a1.entry.js → p-c3022c48.entry.js} +1 -1
  732. package/dist/ptcw-design/{p-539639ff.entry.js → p-c6431ebc.entry.js} +1 -1
  733. package/dist/ptcw-design/{p-fe40421e.entry.js → p-cb0e3ec2.entry.js} +1 -1
  734. package/dist/ptcw-design/{p-cc677723.entry.js → p-ce121fb3.entry.js} +1 -1
  735. package/dist/ptcw-design/p-d0fb9bfb.entry.js +1 -0
  736. package/dist/ptcw-design/{p-65efd5b2.entry.js → p-d4af87ae.entry.js} +2 -2
  737. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-d77531c8.entry.js} +1 -1
  738. package/dist/ptcw-design/{p-297a14cb.entry.js → p-d875f96d.entry.js} +1 -1
  739. package/dist/ptcw-design/{p-bf56d5a3.entry.js → p-e01173ca.entry.js} +1 -1
  740. package/dist/ptcw-design/{p-9d3a7f36.entry.js → p-e03d7060.entry.js} +1 -1
  741. package/dist/ptcw-design/{p-008307a6.entry.js → p-e93714e9.entry.js} +1 -1
  742. package/dist/ptcw-design/{p-a2c7df64.entry.js → p-ee91170c.entry.js} +1 -1
  743. package/dist/ptcw-design/p-f57f32ee.entry.js +1 -0
  744. package/dist/ptcw-design/{p-e94353a4.entry.js → p-fa4a494e.entry.js} +1 -1
  745. package/dist/ptcw-design/ptcw-design.css +9 -2
  746. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  747. package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +1 -1
  748. package/dist/types/components/icon-asset/icon-asset.d.ts +6 -6
  749. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +2 -2
  750. package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -1
  751. package/dist/types/components/list-item/list-item.d.ts +2 -2
  752. package/dist/types/components/max-width-container/max-width-container.d.ts +1 -1
  753. package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +1 -1
  754. package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +1 -1
  755. package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
  756. package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -1
  757. package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +1 -1
  758. package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +2 -2
  759. package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +1 -1
  760. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +2 -2
  761. package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +1 -1
  762. package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +1 -1
  763. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -1
  764. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +2 -2
  765. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -3
  766. package/dist/types/components/ptc-badge/ptc-badge.d.ts +1 -1
  767. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +2 -2
  768. package/dist/types/components/ptc-button/ptc-button.d.ts +12 -12
  769. package/dist/types/components/ptc-card/ptc-card.d.ts +3 -3
  770. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +2 -2
  771. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +3 -3
  772. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -2
  773. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +1 -1
  774. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +2 -2
  775. package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +1 -1
  776. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +1 -1
  777. package/dist/types/components/ptc-container/ptc-container.d.ts +4 -4
  778. package/dist/types/components/ptc-date/ptc-date.d.ts +2 -2
  779. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +2 -2
  780. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +3 -3
  781. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +1 -1
  782. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +5 -5
  783. package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +2 -2
  784. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +1 -1
  785. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -1
  786. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +1 -1
  787. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -4
  788. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +3 -3
  789. package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +1 -1
  790. package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +1 -1
  791. package/dist/types/components/ptc-hero/ptc-hero.d.ts +2 -2
  792. package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +1 -1
  793. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +1 -1
  794. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +9 -9
  795. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -4
  796. package/dist/types/components/ptc-img/ptc-img.d.ts +7 -7
  797. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -2
  798. package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +1 -1
  799. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -1
  800. package/dist/types/components/ptc-link/ptc-link.d.ts +4 -4
  801. package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
  802. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -2
  803. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +2 -2
  804. package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -5
  805. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +3 -3
  806. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
  807. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +11 -11
  808. package/dist/types/components/ptc-news/ptc-news.d.ts +6 -6
  809. package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
  810. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -3
  811. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +2 -2
  812. package/dist/types/components/ptc-para/ptc-para.d.ts +13 -13
  813. package/dist/types/components/ptc-picture/ptc-picture.d.ts +7 -7
  814. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +4 -4
  815. package/dist/types/components/ptc-preloader/ptc-preloader.d.ts +5 -0
  816. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +1 -1
  817. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +2 -2
  818. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -4
  819. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +2 -2
  820. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +2 -2
  821. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +9 -9
  822. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +1 -1
  823. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +10 -10
  824. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  825. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +1 -1
  826. package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +1 -1
  827. package/dist/types/components/ptc-quote/ptc-quote.d.ts +1 -1
  828. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +23 -23
  829. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +1 -1
  830. package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +1 -1
  831. package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +1 -1
  832. package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +1 -1
  833. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +1 -1
  834. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +2 -2
  835. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +2 -2
  836. package/dist/types/components/ptc-select/ptc-select.d.ts +3 -3
  837. package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +10 -10
  838. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -1
  839. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +8 -8
  840. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +11 -11
  841. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +3 -3
  842. package/dist/types/components/ptc-span/ptc-span.d.ts +3 -3
  843. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +1 -1
  844. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +1 -1
  845. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +3 -3
  846. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +1 -1
  847. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +19 -19
  848. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +3 -3
  849. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +2 -2
  850. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -1
  851. package/dist/types/components/ptc-title/ptc-title.d.ts +15 -15
  852. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +6 -6
  853. package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +3 -3
  854. package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +7 -7
  855. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +1 -1
  856. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +2 -2
  857. package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +1 -1
  858. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
  859. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +1 -1
  860. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -1
  861. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +6 -6
  862. package/dist/types/components/tab-header/tab-header.d.ts +3 -3
  863. package/dist/types/components.d.ts +1107 -590
  864. package/package.json +4 -2
  865. package/readme.md +1 -1
  866. package/dist/ptcw-design/p-02822616.entry.js +0 -1
  867. package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
  868. package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
  869. package/dist/ptcw-design/p-3dd0ded9.entry.js +0 -1
  870. package/dist/ptcw-design/p-410f98c6.entry.js +0 -1
  871. package/dist/ptcw-design/p-7588b226.entry.js +0 -1
  872. package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
@@ -13,7 +13,7 @@ const PtcProductSidebar = class {
13
13
  this.clearsearch = index.createEvent(this, "clearsearch", 7);
14
14
  this.inputChanged = index.createEvent(this, "inputChanged", 7);
15
15
  this.emptyResult = index.createEvent(this, "emptyResult", 7);
16
- this.searchTerm = '';
16
+ this.searchTerm = "";
17
17
  this.suggestions = [];
18
18
  this.filterResults = "Filter Results";
19
19
  this.filterText = "Filter";
@@ -27,20 +27,20 @@ const PtcProductSidebar = class {
27
27
  this.getDomData();
28
28
  }
29
29
  componentDidLoad() {
30
- this.productListWrap = this.hostElement.shadowRoot.querySelector('.product-list-wrap');
31
- this.clearBtn = this.hostElement.shadowRoot.querySelector('.clear-cta');
32
- this.inputBox = this.hostElement.shadowRoot.querySelector('#searchBox');
30
+ this.productListWrap = this.hostElement.shadowRoot.querySelector(".product-list-wrap");
31
+ this.clearBtn = this.hostElement.shadowRoot.querySelector(".clear-cta");
32
+ this.inputBox = this.hostElement.shadowRoot.querySelector("#searchBox");
33
33
  }
34
34
  // Getting category title and products list
35
35
  getDomData() {
36
- const categoryList = document.querySelectorAll('ptc-product-category');
37
- categoryList.forEach(category => {
38
- let categoryTitle = category.getAttribute('category-title');
36
+ const categoryList = document.querySelectorAll("ptc-product-category");
37
+ categoryList.forEach((category) => {
38
+ let categoryTitle = category.getAttribute("category-title");
39
39
  let categoryObject = { categoryName: categoryTitle, products: [] };
40
40
  this.suggestionList.push(categoryObject);
41
- let productList = category.querySelectorAll('ptc-product-card');
42
- productList.forEach(product => {
43
- let productTitle = product.getAttribute('card-title');
41
+ let productList = category.querySelectorAll("ptc-product-card");
42
+ productList.forEach((product) => {
43
+ let productTitle = product.getAttribute("card-title");
44
44
  categoryObject.products.push(productTitle);
45
45
  });
46
46
  });
@@ -48,11 +48,11 @@ const PtcProductSidebar = class {
48
48
  handleInputChange(event) {
49
49
  const inputElement = event.target;
50
50
  this.searchTerm = inputElement.value.toLocaleLowerCase();
51
- this.clearBtn.classList.add('show');
51
+ this.clearBtn.classList.add("show");
52
52
  this.getSuggestions();
53
53
  this.inputChanged.emit({
54
- 'sender': this,
55
- 'event': event,
54
+ sender: this,
55
+ event: event,
56
56
  });
57
57
  }
58
58
  getSuggestions() {
@@ -71,11 +71,11 @@ const PtcProductSidebar = class {
71
71
  }
72
72
  handleSelectSuggestion(suggestion, event) {
73
73
  this.searchTerm = suggestion;
74
- this.productListWrap.classList.add('hide');
74
+ this.productListWrap.classList.add("hide");
75
75
  this.selectedResult.emit({
76
- 'sender': this,
77
- 'event': event,
78
- 'searchTerm': this.searchTerm
76
+ sender: this,
77
+ event: event,
78
+ searchTerm: this.searchTerm,
79
79
  });
80
80
  }
81
81
  handleKeyUp(e) {
@@ -83,39 +83,39 @@ const PtcProductSidebar = class {
83
83
  this.searchTerm = inputElement.value.toLocaleLowerCase();
84
84
  if (e.keyCode === 13 && this.suggestions.length == 0) {
85
85
  this.emptyResult.emit({
86
- 'sender': this,
87
- 'event': e,
86
+ sender: this,
87
+ event: e,
88
88
  });
89
89
  }
90
- else if (e.key === 'Escape') {
90
+ else if (e.key === "Escape") {
91
91
  this.clearSearch(e);
92
92
  this.inputBox.focus();
93
93
  }
94
94
  }
95
95
  handleKeyDownClearCta(e) {
96
- if (e.key === 'Enter') {
96
+ if (e.key === "Enter") {
97
97
  this.clearSearch(e);
98
98
  }
99
99
  }
100
100
  clearSearch(event) {
101
- let input = this.hostElement.shadowRoot.querySelector('input');
102
- this.productListWrap.classList.remove('hide');
103
- this.clearBtn.classList.remove('show');
101
+ let input = this.hostElement.shadowRoot.querySelector("input");
102
+ this.productListWrap.classList.remove("hide");
103
+ this.clearBtn.classList.remove("show");
104
104
  if (input) {
105
105
  input.value = "";
106
106
  }
107
107
  this.suggestions = [];
108
108
  this.clearsearch.emit({
109
- 'sender': this,
110
- 'event': event,
111
- 'searchTerm': input.value
109
+ sender: this,
110
+ event: event,
111
+ searchTerm: input.value,
112
112
  });
113
113
  }
114
114
  handleDropdownTouched(event) {
115
115
  const { sender, isOpen } = event.detail;
116
116
  if (sender) {
117
117
  if (isOpen) {
118
- let input = this.hostElement.shadowRoot.querySelector('input');
118
+ let input = this.hostElement.shadowRoot.querySelector("input");
119
119
  if (input) {
120
120
  input.value = "";
121
121
  }
@@ -135,25 +135,25 @@ const PtcProductSidebar = class {
135
135
  const { sender, selectedOptions } = event.detail;
136
136
  if (sender) {
137
137
  if (selectedOptions.length > 0) {
138
- this.clearBtn.classList.add('show');
139
- this.productListWrap.classList.add('hide');
138
+ this.clearBtn.classList.add("show");
139
+ this.productListWrap.classList.add("hide");
140
140
  }
141
141
  else {
142
- this.clearBtn.classList.remove('show');
143
- this.productListWrap.classList.remove('hide');
142
+ this.clearBtn.classList.remove("show");
143
+ this.productListWrap.classList.remove("hide");
144
144
  }
145
145
  }
146
146
  }
147
147
  handleSuggestionKeyDown(e, index, suggestion) {
148
148
  var _a;
149
- const listItems = (_a = e.currentTarget.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('li');
149
+ const listItems = (_a = e.currentTarget.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll("li");
150
150
  if (!listItems)
151
151
  return;
152
- if (e.key === 'Enter') {
152
+ if (e.key === "Enter") {
153
153
  this.handleSelectSuggestion(suggestion, e);
154
154
  this.suggestions = [];
155
155
  }
156
- else if (e.key === 'Tab') {
156
+ else if (e.key === "Tab") {
157
157
  e.preventDefault();
158
158
  const isShift = e.shiftKey;
159
159
  const nextIndex = isShift
@@ -161,14 +161,15 @@ const PtcProductSidebar = class {
161
161
  : (index + 1) % listItems.length;
162
162
  listItems[nextIndex].focus();
163
163
  }
164
- else if (e.key === 'Escape') {
164
+ else if (e.key === "Escape") {
165
165
  this.clearSearch(e);
166
166
  this.inputBox.focus();
167
167
  }
168
168
  }
169
169
  render() {
170
- return (index.h(index.Host, { class: 'search-box' }, index.h("div", { class: "filter-result-wrap white-box" }, index.h("div", { class: "result-header" }, index.h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.filterResults), index.h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e), tabIndex: 0, onKeyDown: (e) => { this.handleKeyDownClearCta(e); } }, this.clearText)), index.h("div", { class: "sort-wrap" }, index.h("div", { class: "typeahead-input" }, index.h("label", { htmlFor: "searchBox" }, this.filterText), index.h("div", { class: "input-wrap" }, index.h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), index.h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
171
- index.h("div", { class: "suggestion-wrap" }, index.h("ul", { class: "suggestions" }, this.suggestions.map((suggestion, index$1) => (index.h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e), tabIndex: 0, onKeyDown: (e) => this.handleSuggestionKeyDown(e, index$1, suggestion) }, suggestion)))))), index.h("div", { class: "dropdwon-filter" }, index.h("label", { htmlFor: "tech-dropdown" }, this.technologyText), index.h("ptc-product-dropdown", { placeholder: this.selectTechnology, id: "tech-dropdown" }, this.suggestionList.map((item) => (index.h("span", null, item.categoryName))))))), index.h("ptc-spacer", { size: "large" }), index.h("ptc-spacer", { size: "large" }), index.h("div", { class: "product-list-wrap white-box" }, index.h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.jumpToProduct), this.suggestionList.map((item) => (index.h("div", { class: "category-list" }, index.h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, index.h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), index.h("div", { class: "product-list" }, index.h("ul", null, item.products.map((product) => (index.h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
170
+ return (index.h(index.Host, { class: "search-box" }, index.h("div", { class: "filter-result-wrap white-box" }, index.h("div", { class: "result-header" }, index.h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.filterResults), index.h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e), tabIndex: 0, onKeyDown: (e) => {
171
+ this.handleKeyDownClearCta(e);
172
+ } }, this.clearText)), index.h("div", { class: "sort-wrap" }, index.h("div", { class: "typeahead-input" }, index.h("label", { htmlFor: "searchBox" }, this.filterText), index.h("div", { class: "input-wrap" }, index.h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), index.h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: "searchBox" })), this.suggestions.length > 0 && (index.h("div", { class: "suggestion-wrap" }, index.h("ul", { class: "suggestions" }, this.suggestions.map((suggestion, index$1) => (index.h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e), tabIndex: 0, onKeyDown: (e) => this.handleSuggestionKeyDown(e, index$1, suggestion) }, suggestion))))))), index.h("div", { class: "dropdwon-filter" }, index.h("label", { htmlFor: "tech-dropdown" }, this.technologyText), index.h("ptc-product-dropdown", { placeholder: this.selectTechnology, id: "tech-dropdown" }, this.suggestionList.map((item) => (index.h("span", null, item.categoryName))))))), index.h("ptc-spacer", { size: "large" }), index.h("ptc-spacer", { size: "large" }), index.h("div", { class: "product-list-wrap white-box" }, index.h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.jumpToProduct), this.suggestionList.map((item) => (index.h("div", { class: "category-list" }, index.h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-densest", "para-margin": "margin-flush" }, index.h("list-item", { "list-type": "list-underline", "link-href": "#" + item.categoryName }, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), index.h("div", { class: "product-list" }, index.h("ul", null, item.products.map((product) => (index.h("list-item", { "list-type": "list-underline", "link-href": "#" + product }, product)))))))))));
172
173
  }
173
174
  get hostElement() { return index.getElement(this); }
174
175
  };
@@ -13,7 +13,8 @@ const PtcProgressBar = class {
13
13
  }
14
14
  handleScroll() {
15
15
  const scrollTop = document.documentElement.scrollTop;
16
- const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
16
+ const scrollHeight = document.documentElement.scrollHeight -
17
+ document.documentElement.clientHeight;
17
18
  const percentage = (scrollTop / scrollHeight) * 100;
18
19
  this.scrollPercentage = percentage;
19
20
  }
@@ -10,7 +10,7 @@ const PtcQuantityCounter = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.addToCartClicked = index.createEvent(this, "addToCartClicked", 7);
13
- this.defaultStyles = '.ptc-quaternary{width: 100%; border-radius: 0px 0px 4px 4px !important;} .tracker-div { display: block !important}';
13
+ this.defaultStyles = ".ptc-quaternary{width: 100%; border-radius: 0px 0px 4px 4px !important;} .tracker-div { display: block !important}";
14
14
  this.handleDecrement = () => {
15
15
  if (this.count > 1) {
16
16
  this.count -= 1;
@@ -26,11 +26,11 @@ const PtcQuantityCounter = class {
26
26
  const value = parseInt(input.value);
27
27
  if (!isNaN(value)) {
28
28
  if (value < 1) {
29
- input.value = '1';
29
+ input.value = "1";
30
30
  this.count = 1;
31
31
  }
32
32
  else if (value > 999) {
33
- input.value = '999';
33
+ input.value = "999";
34
34
  this.count = 999;
35
35
  }
36
36
  else {
@@ -54,13 +54,15 @@ const PtcQuantityCounter = class {
54
54
  }
55
55
  this.addToCartClicked.emit({
56
56
  sender: this,
57
- itemCount: (_a = this.itemCountInput) === null || _a === void 0 ? void 0 : _a.value
57
+ itemCount: (_a = this.itemCountInput) === null || _a === void 0 ? void 0 : _a.value,
58
58
  });
59
59
  if (this.addToCartCta) {
60
60
  try {
61
- let width = this.addToCartCta.offsetWidth > 50 ? this.addToCartCta.offsetWidth : this.addToCartCta.clientWidth;
61
+ let width = this.addToCartCta.offsetWidth > 50
62
+ ? this.addToCartCta.offsetWidth
63
+ : this.addToCartCta.clientWidth;
62
64
  if (width < 50) {
63
- let button = this.addToCartCta.shadowRoot.querySelector('button');
65
+ let button = this.addToCartCta.shadowRoot.querySelector("button");
64
66
  width = button.getBoundingClientRect().width;
65
67
  }
66
68
  if (width > 50) {
@@ -70,26 +72,26 @@ const PtcQuantityCounter = class {
70
72
  catch (e) {
71
73
  console.log(e);
72
74
  }
73
- this.addToCartCta.classList.add('added');
75
+ this.addToCartCta.classList.add("added");
74
76
  this.addToCartCta.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 16 12" fill="none">
75
77
  <path d="M1.71436 4.92857L6.28578 9.5L14.2858 1.5" stroke="white" stroke-width="3" stroke-linecap="round"/>
76
78
  </svg>${this.addedLabel}`;
77
79
  }
78
80
  setTimeout(() => {
79
81
  if (this.addToCartCta) {
80
- this.addToCartCta.classList.remove('added');
82
+ this.addToCartCta.classList.remove("added");
81
83
  this.addToCartCta.innerHTML = this.addToCartLabel;
82
84
  this.addToCartCta.styles = this.defaultStyles;
83
85
  }
84
86
  }, 3000);
85
87
  };
86
88
  this.count = 1;
87
- this.addToCartLabel = 'Add to Cart';
88
- this.addedLabel = 'Added';
89
+ this.addToCartLabel = "Add to Cart";
90
+ this.addedLabel = "Added";
89
91
  this.disabled = false;
90
92
  }
91
93
  render() {
92
- return (index.h(index.Host, null, index.h("div", { class: "quantity-counter" }, index.h("button", { class: "decrement mf-listen", onClick: this.handleDecrement, disabled: this.disabled, tabindex: "-1" }, index.h("span", { tabindex: "0" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, index.h("path", { d: "M0 3.15039V4.85039H8V3.15039H0Z", fill: "#20262A" })))), index.h("input", { type: "number", onInput: this.handleInputChange, onClick: this.selectText, min: "1", max: "999", value: this.count, ref: el => (this.itemCountInput = el), disabled: this.disabled, class: "mf-listen" }), index.h("button", { class: "increment mf-listen", onClick: this.handleIncrement, disabled: this.disabled, tabindex: "-1" }, index.h("span", { tabindex: "0" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_2974_659)" }, index.h("path", { d: "M7.95006 3.14981H4.85005V0.0498047H3.15005V3.14981H0.0500488V4.84981H3.15005V7.9498H4.85005V4.84981H7.95006V3.14981Z", fill: "#20262A" })), index.h("defs", null, index.h("clipPath", { id: "clip0_2974_659" }, index.h("rect", { width: "8", height: "8", fill: "white" }))))))), index.h("ptc-button", { disabled: this.disabled, type: "button", color: "ptc-quaternary", onClick: this.addToCart, ref: el => (this.addToCartCta = el), styles: this.defaultStyles }, this.addToCartLabel)));
94
+ return (index.h(index.Host, null, index.h("div", { class: "quantity-counter" }, index.h("button", { class: "decrement mf-listen", onClick: this.handleDecrement, disabled: this.disabled, tabindex: "-1" }, index.h("span", { tabindex: "0" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, index.h("path", { d: "M0 3.15039V4.85039H8V3.15039H0Z", fill: "#20262A" })))), index.h("input", { type: "number", onInput: this.handleInputChange, onClick: this.selectText, min: "1", max: "999", value: this.count, ref: (el) => (this.itemCountInput = el), disabled: this.disabled, class: "mf-listen" }), index.h("button", { class: "increment mf-listen", onClick: this.handleIncrement, disabled: this.disabled, tabindex: "-1" }, index.h("span", { tabindex: "0" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_2974_659)" }, index.h("path", { d: "M7.95006 3.14981H4.85005V0.0498047H3.15005V3.14981H0.0500488V4.84981H3.15005V7.9498H4.85005V4.84981H7.95006V3.14981Z", fill: "#20262A" })), index.h("defs", null, index.h("clipPath", { id: "clip0_2974_659" }, index.h("rect", { width: "8", height: "8", fill: "white" }))))))), index.h("ptc-button", { disabled: this.disabled, type: "button", color: "ptc-quaternary", onClick: this.addToCart, ref: (el) => (this.addToCartCta = el), styles: this.defaultStyles }, this.addToCartLabel)));
93
95
  }
94
96
  };
95
97
  PtcQuantityCounter.style = ptcQuantityCounterCss;
@@ -12,7 +12,7 @@ const PtcQuote = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
14
  this.quoteType = "image-quote";
15
- this.quoteName = 'John Smith';
15
+ this.quoteName = "John Smith";
16
16
  this.ctaText = undefined;
17
17
  this.ctaUrl = undefined;
18
18
  this.imgSrc = undefined;
@@ -24,12 +24,14 @@ const PtcQuote = class {
24
24
  }
25
25
  render() {
26
26
  const classMap = this.getCssClassMap();
27
- return (index.h(index.Host, { class: classMap }, this.imgSrc ? (index.h("div", { class: "quote-media" }, this.imgSrc ? index.h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, index.h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? index.h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, index.h("blockquote", null, this.quoteType == 'value-led-quote' && this.quoteImage &&
28
- index.h("ptc-picture", { alt: "quote", src: this.quoteImage }), index.h("p", null, index.h("slot", null)), index.h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (index.h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
27
+ return (index.h(index.Host, { class: classMap }, this.imgSrc ? (index.h("div", { class: "quote-media" }, this.imgSrc ? (index.h("img", { src: this.imgSrc, alt: this.imgTitle
28
+ ? this.imgTitle
29
+ : "quote Image" })) : null, this.imgTitle ? this.getImageTitle() : null)) : null, index.h("div", { class: "quote-content" }, this.quoteType == "image-quote" ? (index.h("div", { class: "quotemarks", innerHTML: QuotationMark })) : null, index.h("blockquote", null, this.quoteType == "value-led-quote" &&
30
+ this.quoteImage && (index.h("ptc-picture", { alt: "quote", src: this.quoteImage })), index.h("p", null, index.h("slot", null)), index.h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (index.h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
29
31
  }
30
32
  getCssClassMap() {
31
33
  return {
32
- [this.quoteType]: true
34
+ [this.quoteType]: true,
33
35
  };
34
36
  }
35
37
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
- const ptcReadmoreCharCss = "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{display:block}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:\"\";padding-left:8px}:host .truncated-label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .tracker-div{display:inline;display:inline-block}";
7
+ const ptcReadmoreCharCss = "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{display:block}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:\"\";padding-left:8px}:host .truncated-label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .tracker-div{display:inline;display:inline-block}";
8
8
 
9
9
  const PtcReadmoreChar = class {
10
10
  constructor(hostRef) {
@@ -26,13 +26,13 @@ const PtcReadmoreChar = class {
26
26
  this.readMoreClicked.emit(this.expanded);
27
27
  }
28
28
  render() {
29
- const contentText = this.description
30
- ? this.description.trim()
31
- : '';
32
- const truncatedContent = contentText.length > this.maxCharacters ? contentText.substring(0, this.maxCharacters) + '...' : contentText;
29
+ const contentText = this.description ? this.description.trim() : "";
30
+ const truncatedContent = contentText.length > this.maxCharacters
31
+ ? contentText.substring(0, this.maxCharacters) + "..."
32
+ : contentText;
33
33
  const label = this.expanded ? this.readLessText : this.readMoreText;
34
- return (index.h(index.Host, null, index.h("p", { class: "description" }, this.expanded ? (this.description) : (truncatedContent)), contentText.length > this.maxCharacters && (index.h("div", { id: this.trackerId, class: 'tracker-div' }, index.h("label", { class: "truncated-label mf-listen", onClick: () => this.toggleExpand(), onKeyDown: (e) => {
35
- if (e.key === 'Enter') {
34
+ return (index.h(index.Host, null, index.h("p", { class: "description" }, this.expanded ? this.description : truncatedContent), contentText.length > this.maxCharacters && (index.h("div", { id: this.trackerId, class: "tracker-div" }, index.h("label", { class: "truncated-label mf-listen", onClick: () => this.toggleExpand(), onKeyDown: (e) => {
35
+ if (e.key === "Enter") {
36
36
  this.toggleExpand();
37
37
  }
38
38
  }, tabIndex: 0 }, label)))));
@@ -16,12 +16,12 @@ const PtcReadmoreNew = class {
16
16
  this.readLessText = "Read Less";
17
17
  this.maxLines = undefined;
18
18
  this.expanded = false;
19
- this.fullText = '';
19
+ this.fullText = "";
20
20
  this.truncated = false;
21
21
  }
22
22
  componentWillLoad() {
23
23
  requestAnimationFrame(() => {
24
- let slot = this.el.shadowRoot.querySelector('slot');
24
+ let slot = this.el.shadowRoot.querySelector("slot");
25
25
  this.processText(slot);
26
26
  });
27
27
  }
@@ -33,8 +33,8 @@ const PtcReadmoreNew = class {
33
33
  if (slot) {
34
34
  const nodes = slot.assignedNodes({ flatten: true });
35
35
  this.fullText = nodes
36
- .map(node => node.textContent)
37
- .join('')
36
+ .map((node) => node.textContent)
37
+ .join("")
38
38
  .trim();
39
39
  if (this.maxLines) {
40
40
  this.truncateByLines();
@@ -46,15 +46,15 @@ const PtcReadmoreNew = class {
46
46
  this.displayText.emit(this.truncated);
47
47
  }
48
48
  truncateByLines() {
49
- const paragraph = document.createElement('p');
50
- paragraph.style.visibility = 'hidden';
51
- paragraph.style.position = 'fixed';
49
+ const paragraph = document.createElement("p");
50
+ paragraph.style.visibility = "hidden";
51
+ paragraph.style.position = "fixed";
52
52
  paragraph.innerText = this.fullText;
53
53
  document.body.appendChild(paragraph);
54
54
  const lineHeight = parseInt(window.getComputedStyle(paragraph).lineHeight, 10);
55
55
  const maxHeight = lineHeight * this.maxLines;
56
56
  paragraph.style.maxHeight = `${maxHeight}px`;
57
- paragraph.style.overflow = 'hidden';
57
+ paragraph.style.overflow = "hidden";
58
58
  if (paragraph.scrollHeight > maxHeight) {
59
59
  this.truncated = true;
60
60
  }
@@ -65,20 +65,20 @@ const PtcReadmoreNew = class {
65
65
  return this.fullText;
66
66
  }
67
67
  else if (this.maxLines) {
68
- const paragraph = document.createElement('p');
69
- paragraph.style.visibility = 'hidden';
70
- paragraph.style.position = 'fixed';
68
+ const paragraph = document.createElement("p");
69
+ paragraph.style.visibility = "hidden";
70
+ paragraph.style.position = "fixed";
71
71
  paragraph.innerText = this.fullText;
72
72
  document.body.appendChild(paragraph);
73
73
  const lineHeight = parseInt(window.getComputedStyle(paragraph).lineHeight, 10);
74
74
  const maxHeight = lineHeight * this.maxLines;
75
75
  paragraph.style.maxHeight = `${maxHeight}px`;
76
- paragraph.style.overflow = 'hidden';
77
- let truncatedText = '';
76
+ paragraph.style.overflow = "hidden";
77
+ let truncatedText = "";
78
78
  for (let i = 0; i < this.fullText.length; i++) {
79
- paragraph.innerText = this.fullText.slice(0, i) + '...';
79
+ paragraph.innerText = this.fullText.slice(0, i) + "...";
80
80
  if (paragraph.scrollHeight > maxHeight) {
81
- truncatedText = this.fullText.slice(0, i - 1) + '...';
81
+ truncatedText = this.fullText.slice(0, i - 1) + "...";
82
82
  break;
83
83
  }
84
84
  }
@@ -86,7 +86,7 @@ const PtcReadmoreNew = class {
86
86
  return truncatedText;
87
87
  }
88
88
  else {
89
- return this.fullText.substring(0, this.maxCharacters) + '...';
89
+ return this.fullText.substring(0, this.maxCharacters) + "...";
90
90
  }
91
91
  }
92
92
  getLabel() {
@@ -97,9 +97,7 @@ const PtcReadmoreNew = class {
97
97
  this.readMoreTrigger.emit(this.expanded);
98
98
  }
99
99
  render() {
100
- return (index.h(index.Host, null, index.h("p", { class: "description" }, this.truncated ? this.getContent() : index.h("slot", null)), this.truncated ?
101
- index.h("label", { class: "label", onClick: () => this.toggleExpand() }, this.getLabel())
102
- : null));
100
+ return (index.h(index.Host, null, index.h("p", { class: "description" }, this.truncated ? this.getContent() : index.h("slot", null)), this.truncated ? (index.h("label", { class: "label", onClick: () => this.toggleExpand() }, this.getLabel())) : null));
103
101
  }
104
102
  get el() { return index.getElement(this); }
105
103
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
- const ptcReadmoreV3Css = "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{display:block}:host .description{display:inline}:host .label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .label::before{content:\"\";padding-left:8px}:host .label:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
7
+ const ptcReadmoreV3Css = "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{display:block}:host .description{display:inline}:host .label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .label::before{content:\"\";padding-left:8px}:host .label:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
8
8
 
9
9
  const PtcReadmoreV3 = class {
10
10
  constructor(hostRef) {
@@ -12,18 +12,18 @@ const PtcReadmoreV3 = class {
12
12
  this.readMoreTrigger = index.createEvent(this, "readMoreTrigger", 7);
13
13
  this.displayText = index.createEvent(this, "displayText", 7);
14
14
  this.maxCharacters = 100;
15
- this.readMoreText = 'Read More';
16
- this.readLessText = 'Read Less';
15
+ this.readMoreText = "Read More";
16
+ this.readLessText = "Read Less";
17
17
  this.maxLines = undefined;
18
18
  this.contentStyles = undefined;
19
19
  this.trackerId = "";
20
20
  this.expanded = false;
21
- this.fullText = '';
21
+ this.fullText = "";
22
22
  this.truncated = false;
23
23
  }
24
24
  componentWillLoad() {
25
25
  requestAnimationFrame(() => {
26
- let slot = this.el.shadowRoot.querySelector('slot');
26
+ let slot = this.el.shadowRoot.querySelector("slot");
27
27
  this.processText(slot);
28
28
  });
29
29
  }
@@ -33,8 +33,8 @@ const PtcReadmoreV3 = class {
33
33
  }
34
34
  // Helper method to parse the style string into an object
35
35
  parseStyles(styleString) {
36
- return styleString.split(';').reduce((styleObj, style) => {
37
- const [key, value] = style.split(':').map(item => item.trim());
36
+ return styleString.split(";").reduce((styleObj, style) => {
37
+ const [key, value] = style.split(":").map((item) => item.trim());
38
38
  if (key && value) {
39
39
  styleObj[key] = value;
40
40
  }
@@ -45,8 +45,8 @@ const PtcReadmoreV3 = class {
45
45
  if (slot) {
46
46
  const nodes = slot.assignedNodes({ flatten: true });
47
47
  this.fullText = nodes
48
- .map(node => node.textContent)
49
- .join('')
48
+ .map((node) => node.textContent)
49
+ .join("")
50
50
  .trim();
51
51
  if (this.maxLines) {
52
52
  this.truncateByLines();
@@ -58,15 +58,15 @@ const PtcReadmoreV3 = class {
58
58
  this.displayText.emit(this.truncated);
59
59
  }
60
60
  truncateByLines() {
61
- const paragraph = document.createElement('p');
62
- paragraph.style.visibility = 'hidden';
63
- paragraph.style.position = 'fixed';
61
+ const paragraph = document.createElement("p");
62
+ paragraph.style.visibility = "hidden";
63
+ paragraph.style.position = "fixed";
64
64
  paragraph.innerText = this.fullText;
65
65
  document.body.appendChild(paragraph);
66
66
  const lineHeight = parseFloat(window.getComputedStyle(paragraph).lineHeight);
67
67
  const maxHeight = lineHeight * this.maxLines;
68
68
  paragraph.style.maxHeight = `${maxHeight}px`;
69
- paragraph.style.overflow = 'hidden';
69
+ paragraph.style.overflow = "hidden";
70
70
  if (paragraph.scrollHeight > maxHeight) {
71
71
  this.truncated = true;
72
72
  }
@@ -78,9 +78,9 @@ const PtcReadmoreV3 = class {
78
78
  return this.fullText;
79
79
  }
80
80
  else if (this.maxLines) {
81
- const paragraph = document.createElement('p');
82
- paragraph.style.visibility = 'hidden';
83
- paragraph.style.position = 'fixed';
81
+ const paragraph = document.createElement("p");
82
+ paragraph.style.visibility = "hidden";
83
+ paragraph.style.position = "fixed";
84
84
  // Apply parsed styles dynamically
85
85
  //Object.assign(paragraph.style, parsedStyles);
86
86
  paragraph.innerText = this.fullText;
@@ -88,12 +88,12 @@ const PtcReadmoreV3 = class {
88
88
  const lineHeight = parseFloat(window.getComputedStyle(paragraph).lineHeight);
89
89
  const maxHeight = lineHeight * this.maxLines;
90
90
  paragraph.style.maxHeight = `${maxHeight}px`;
91
- paragraph.style.overflow = 'hidden';
92
- let truncatedText = '';
91
+ paragraph.style.overflow = "hidden";
92
+ let truncatedText = "";
93
93
  for (let i = 0; i < this.fullText.length; i++) {
94
- paragraph.innerText = this.fullText.slice(0, i) + '...';
94
+ paragraph.innerText = this.fullText.slice(0, i) + "...";
95
95
  if (paragraph.scrollHeight > maxHeight) {
96
- truncatedText = this.fullText.slice(0, i - 1) + '...';
96
+ truncatedText = this.fullText.slice(0, i - 1) + "...";
97
97
  break;
98
98
  }
99
99
  }
@@ -101,7 +101,7 @@ const PtcReadmoreV3 = class {
101
101
  return truncatedText;
102
102
  }
103
103
  else {
104
- return this.fullText.substring(0, this.maxCharacters) + '...';
104
+ return this.fullText.substring(0, this.maxCharacters) + "...";
105
105
  }
106
106
  }
107
107
  getLabel() {
@@ -112,7 +112,7 @@ const PtcReadmoreV3 = class {
112
112
  this.readMoreTrigger.emit(this.expanded);
113
113
  }
114
114
  handleKeyDown(event) {
115
- if (event.key === 'Enter') {
115
+ if (event.key === "Enter") {
116
116
  this.toggleExpand();
117
117
  }
118
118
  }