@ptcwebops/ptcw-design 6.3.25 → 6.3.26-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 (282) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  3. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  4. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  5. package/dist/cjs/list-item.cjs.entry.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -2
  7. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  8. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -16
  9. package/dist/cjs/ptc-bio-card.cjs.entry.js +3 -20
  10. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -13
  11. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
  12. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +17 -32
  13. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  14. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +9 -40
  18. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +3 -18
  19. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
  20. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
  22. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
  24. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  27. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
  29. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
  31. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-list.cjs.entry.js +1 -11
  33. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
  34. package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +32 -90
  38. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -9
  39. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -7
  40. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +8 -42
  41. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -6
  44. package/dist/cjs/ptcw-design.cjs.js +1 -2
  45. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  46. package/dist/collection/collection-manifest.json +2 -2
  47. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  48. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  49. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
  50. package/dist/collection/components/list-item/list-item.css +0 -4
  51. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  52. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  53. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  54. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -4
  55. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -15
  56. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
  57. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +2 -19
  58. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  59. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
  60. package/dist/collection/components/ptc-container/ptc-container.js +2 -2
  61. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
  62. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +2 -13
  63. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +2 -2
  64. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  65. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -12
  66. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +3 -29
  67. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -34
  68. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +2 -17
  69. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -3
  70. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
  71. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  72. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  73. package/dist/collection/components/ptc-modal/ptc-modal.js +18 -50
  74. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
  75. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
  76. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  77. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  78. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  79. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -528
  80. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -12
  81. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  82. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  83. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  84. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -10
  85. package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
  86. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  87. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +0 -8
  88. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
  89. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  90. package/dist/collection/components/ptc-product-list/ptc-product-list.js +1 -11
  91. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -12
  92. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
  93. package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
  94. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  95. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  96. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
  97. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +33 -113
  98. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -9
  99. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -7
  100. package/dist/collection/components/ptc-textfield/ptc-textfield.js +19 -19
  101. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -6
  102. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
  103. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +0 -15
  104. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +9 -67
  105. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +3 -8
  106. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  107. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  108. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  109. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -5
  110. package/dist/collection/components/tab-header/tab-header.js +1 -1
  111. package/dist/collection/stories/Card.stories.js +148 -3
  112. package/dist/collection/stories/Link.stories.js +13 -25
  113. package/dist/collection/stories/Paragraph.stories.js +10 -18
  114. package/dist/collection/stories/Select.stories.js +8 -5
  115. package/dist/collection/stories/Textfield.stories.js +28 -71
  116. package/dist/collection/stories/Title.stories.js +16 -28
  117. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  118. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  119. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  120. package/dist/custom-elements/index.d.ts +6 -0
  121. package/dist/custom-elements/index.js +238 -434
  122. package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
  123. package/dist/esm/featured-list.entry.js +1 -1
  124. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  125. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  126. package/dist/esm/list-item.entry.js +1 -1
  127. package/dist/esm/loader.js +1 -2
  128. package/dist/esm/modal-form-example.entry.js +90 -0
  129. package/dist/esm/ptc-back-to-top.entry.js +1 -16
  130. package/dist/esm/ptc-bio-card.entry.js +3 -20
  131. package/dist/esm/ptc-card_2.entry.js +5 -13
  132. package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
  133. package/dist/esm/ptc-close-icon_2.entry.js +17 -32
  134. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  135. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  136. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  137. package/dist/esm/ptc-featured-list.entry.js +1 -1
  138. package/dist/esm/ptc-filter-dropdown_4.entry.js +9 -40
  139. package/dist/esm/ptc-filter-level-theater.entry.js +3 -18
  140. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +784 -4
  141. package/dist/esm/ptc-icon-list.entry.js +1 -1
  142. package/dist/esm/ptc-info-tile.entry.js +1 -2
  143. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  144. package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
  145. package/dist/esm/ptc-para.entry.js +1 -1
  146. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  147. package/dist/esm/ptc-previous-url.entry.js +10 -2
  148. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  149. package/dist/esm/ptc-product-card.entry.js +2 -2
  150. package/dist/esm/ptc-product-category.entry.js +1 -1
  151. package/dist/esm/ptc-product-dropdown.entry.js +2 -2
  152. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  153. package/dist/esm/ptc-product-list.entry.js +1 -11
  154. package/dist/esm/ptc-product-sidebar.entry.js +6 -38
  155. package/dist/esm/ptc-quote.entry.js +1 -1
  156. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  157. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  158. package/dist/esm/ptc-related-card-rail.entry.js +32 -90
  159. package/dist/esm/ptc-sticky-icons.entry.js +0 -9
  160. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -8
  161. package/dist/esm/ptc-theater-video-modal.entry.js +9 -43
  162. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  163. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  164. package/dist/esm/ptc-white-paper.entry.js +10 -6
  165. package/dist/esm/ptcw-design.js +1 -2
  166. package/dist/esm/tab-header.entry.js +1 -1
  167. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  168. package/dist/ptcw-design/{p-752bba1c.entry.js → p-0529caaa.entry.js} +1 -1
  169. package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
  170. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  171. package/dist/ptcw-design/p-0d223232.entry.js +1 -0
  172. package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
  173. package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
  174. package/dist/ptcw-design/{p-68ed2afe.entry.js → p-1570353c.entry.js} +1 -1
  175. package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
  176. package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
  177. package/dist/ptcw-design/{p-24776ca2.entry.js → p-2cc7e2a8.entry.js} +1 -1
  178. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  179. package/dist/ptcw-design/p-3dac861d.entry.js +1 -0
  180. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  181. package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
  182. package/dist/ptcw-design/p-445329ed.entry.js +1 -0
  183. package/dist/ptcw-design/p-4b192f5e.entry.js +1 -0
  184. package/dist/ptcw-design/p-4f93c631.entry.js +1 -0
  185. package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
  186. package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
  187. package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
  188. package/dist/ptcw-design/p-71fbb799.entry.js +1 -0
  189. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  190. package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-7793babb.entry.js} +1 -1
  191. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  192. package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
  193. package/dist/ptcw-design/p-8038bf31.entry.js +1 -0
  194. package/dist/ptcw-design/p-85b3ca2b.entry.js +1 -0
  195. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  196. package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
  197. package/dist/ptcw-design/p-99ee8a0e.entry.js +1 -0
  198. package/dist/ptcw-design/p-9d612f1f.entry.js +1 -0
  199. package/dist/ptcw-design/p-a89b986a.entry.js +68 -0
  200. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  201. package/dist/ptcw-design/{p-757954b2.entry.js → p-b570e9a5.entry.js} +1 -1
  202. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  203. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  204. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  205. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  206. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  207. package/dist/ptcw-design/p-f1734520.entry.js +1 -0
  208. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
  209. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  210. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  211. package/dist/ptcw-design/ptcw-design.css +2 -2
  212. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  213. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  214. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
  215. package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
  216. package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +1 -1
  217. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -2
  218. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
  219. package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -2
  220. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
  221. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  222. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  223. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  224. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
  225. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +5 -12
  226. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +0 -2
  227. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -54
  228. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
  229. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
  230. package/dist/types/components.d.ts +24 -134
  231. package/package.json +2 -6
  232. package/readme.md +5 -1
  233. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  234. package/dist/cjs/global-92142fb4.js +0 -28
  235. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  236. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  237. package/dist/collection/global/global.js +0 -3
  238. package/dist/collection/stories/Jumbotron.stories.js +0 -727
  239. package/dist/collection/utils/fef-logger.js +0 -23
  240. package/dist/esm/component-9beac35b.js +0 -1802
  241. package/dist/esm/global-c58db4a9.js +0 -26
  242. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  243. package/dist/esm/validation-messages-adbb6518.js +0 -124
  244. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  245. package/dist/ptcw-design/p-02822616.entry.js +0 -1
  246. package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
  247. package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
  248. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  249. package/dist/ptcw-design/p-18851303.entry.js +0 -1
  250. package/dist/ptcw-design/p-18a5a338.js +0 -1
  251. package/dist/ptcw-design/p-1feb2812.entry.js +0 -1
  252. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  253. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  254. package/dist/ptcw-design/p-4737a0f6.entry.js +0 -1
  255. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  256. package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
  257. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  258. package/dist/ptcw-design/p-77fb3a86.entry.js +0 -1
  259. package/dist/ptcw-design/p-98426799.js +0 -203
  260. package/dist/ptcw-design/p-98844b50.js +0 -134
  261. package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
  262. package/dist/ptcw-design/p-a36f147a.js +0 -1
  263. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  264. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  265. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  266. package/dist/ptcw-design/p-b6255525.entry.js +0 -1
  267. package/dist/ptcw-design/p-b7fa9f2c.entry.js +0 -1
  268. package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
  269. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  270. package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
  271. package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
  272. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  273. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  274. package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
  275. package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
  276. package/dist/ptcw-design/p-e3867512.entry.js +0 -1
  277. package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
  278. package/dist/ptcw-design/p-e8c275a1.entry.js +0 -1
  279. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  280. package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
  281. package/dist/types/global/global.d.ts +0 -4
  282. package/dist/types/utils/fef-logger.d.ts +0 -10
@@ -1,5 +1,4 @@
1
1
  import { Host, h } from '@stencil/core';
2
- import { createFocusTrap } from 'focus-trap';
3
2
  export class PtcTheaterVideoModal {
4
3
  constructor() {
5
4
  this.cards = undefined;
@@ -7,48 +6,22 @@ export class PtcTheaterVideoModal {
7
6
  this.currentCardIndex = 0;
8
7
  this.filteredTagName = undefined;
9
8
  this.modalType = undefined;
10
- this.focusCardElement = undefined;
11
9
  }
12
- async updateData(data, currentModalIndex, cardElement) {
10
+ // @Listen('filterCliked', { target: 'document' })
11
+ // handleFilterClick(event: CustomEvent) {
12
+ // const filters = event.detail;
13
+ // this.filteredTagName = filters['selected-tag'].trim();
14
+ // }
15
+ async updateData(data, currentModalIndex) {
13
16
  // debugger
14
17
  this.cards = data;
15
- this.focusCardElement = cardElement;
16
18
  this.currentCardIndex = currentModalIndex;
17
19
  this.modalType = this.cards[this.currentCardIndex].modalType;
18
20
  this.showModal = true;
19
- setTimeout(() => {
20
- const closebtn = this.hostEl.querySelector('.vm-close');
21
- closebtn === null || closebtn === void 0 ? void 0 : closebtn.focus();
22
- const modalDescWrap = this.hostEl.querySelector('.video-modal-description');
23
- if (modalDescWrap) {
24
- modalDescWrap.scrollHeight > modalDescWrap.clientHeight
25
- ? modalDescWrap.setAttribute('tabindex', '0')
26
- : modalDescWrap.removeAttribute('tabindex');
27
- }
28
- }, 200);
29
- setTimeout(() => {
30
- this.trap = createFocusTrap(this.modalPopUpRef, {
31
- escapeDeactivates: true,
32
- clickOutsideDeactivates: true,
33
- returnFocusOnDeactivate: true,
34
- onActivate: () => {
35
- this.trap.pause();
36
- },
37
- onDeactivate: () => {
38
- this.closeCardModal();
39
- this.trap.deactivate();
40
- }
41
- });
42
- this.trap.activate();
43
- }, 200);
44
21
  }
45
22
  closeCardModal() {
46
23
  this.showModal = false;
47
24
  this.cards = [];
48
- setTimeout(() => {
49
- let focusDiv = this.focusCardElement.querySelector('.img-wrap');
50
- focusDiv === null || focusDiv === void 0 ? void 0 : focusDiv.focus();
51
- }, 200);
52
25
  }
53
26
  showNextCard() {
54
27
  if (this.currentCardIndex < this.cards.length - 1) {
@@ -89,13 +62,7 @@ export class PtcTheaterVideoModal {
89
62
  }
90
63
  render() {
91
64
  return (h(Host, null, h("slot", null), this.showModal &&
92
- (this.modalType != 'only-video' ? (h("div", { class: "modal", ref: el => (this.modalPopUpRef = el) }, h("div", { class: "modal-container ptc-container" }, h("div", { class: "vm-close-container" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close mf-listen', tabIndex: 0, onKeyDown: (e) => {
93
- if (e.key === 'Enter')
94
- this.closeCardModal();
95
- } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" })))))), h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, h("div", { class: 'is-col is-col-7-lg' }, h("div", { class: "v-modal-left" }, h("div", { class: 'v-nav' }, h("button", { onClick: () => this.showPrevCard(), disabled: this.currentCardIndex === 0 }, "Previous Video"), h("div", { class: 'v-number' }, ' ', this.currentCardIndex + 1, " of ", this.cards.length), h("button", { onClick: () => this.showNextCard(), disabled: this.currentCardIndex === this.cards.length - 1 }, "Next Video")), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` }))), h("div", { class: "card-description-content" }, h("ptc-title", { type: "h3", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", styles: ".is-standard{margin-top:14px !important}" }, this.cards[this.currentCardIndex].title), h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-color": "white", "para-margin": "margin-3", "para-line-h": "line-height-p", innerHTML: this.cards[this.currentCardIndex].cardDescription })))), h("div", { class: 'is-col is-col-5-lg' }, h("div", { class: "video-modal-description" }, h("div", { innerHTML: this.cards[this.currentCardIndex].descriptionModal }))))))) : (h("div", { class: "modal modal-only-video", ref: el => (this.modalPopUpRef = el) }, h("div", { class: "modal-wrapper" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close mf-listen', tabIndex: 0, onKeyDown: (e) => {
96
- if (e.key === 'Enter')
97
- this.closeCardModal();
98
- } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" }))))), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` })))))))));
65
+ (this.modalType != 'only-video' ? (h("div", { class: "modal" }, h("div", { class: "modal-container ptc-container" }, h("div", { class: "vm-close-container" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" })))))), h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, h("div", { class: 'is-col is-col-7-lg' }, h("div", { class: "v-modal-left" }, h("div", { class: 'v-nav' }, h("button", { onClick: () => this.showPrevCard(), disabled: this.currentCardIndex === 0 }, "Previous Video"), h("div", { class: 'v-number' }, ' ', this.currentCardIndex + 1, " of ", this.cards.length), h("button", { onClick: () => this.showNextCard(), disabled: this.currentCardIndex === this.cards.length - 1 }, "Next Video")), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` }))), h("div", { class: "card-description-content" }, h("ptc-title", { type: "h3", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", styles: ".is-standard{margin-top:14px !important}" }, this.cards[this.currentCardIndex].title), h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-color": "white", "para-margin": "margin-3", "para-line-h": "line-height-p", innerHTML: this.cards[this.currentCardIndex].cardDescription })))), h("div", { class: 'is-col is-col-5-lg' }, h("div", { class: "video-modal-description" }, h("div", { innerHTML: this.cards[this.currentCardIndex].descriptionModal }))))))) : (h("div", { class: "modal modal-only-video" }, h("div", { class: "modal-wrapper" }, h("div", { onClick: () => this.closeCardModal(), class: 'vm-close' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, h("g", { "clip-path": "url(#clip0_214_927)" }, h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), h("defs", null, h("clipPath", { id: "clip0_214_927" }, h("rect", { width: "18", height: "18", fill: "white" }))))), h("div", { class: 'aspect-ratio-container ' }, h("div", { class: 'video-container' }, h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` })))))))));
99
66
  }
100
67
  static get is() { return "ptc-theater-video-modal"; }
101
68
  static get encapsulation() { return "scoped"; }
@@ -115,49 +82,24 @@ export class PtcTheaterVideoModal {
115
82
  "showModal": {},
116
83
  "currentCardIndex": {},
117
84
  "filteredTagName": {},
118
- "modalType": {},
119
- "focusCardElement": {}
85
+ "modalType": {}
120
86
  };
121
87
  }
122
- static get events() {
123
- return [{
124
- "method": "modalClosed",
125
- "name": "modalClosed",
126
- "bubbles": true,
127
- "cancelable": true,
128
- "composed": true,
129
- "docs": {
130
- "tags": [],
131
- "text": ""
132
- },
133
- "complexType": {
134
- "original": "any",
135
- "resolved": "any",
136
- "references": {}
137
- }
138
- }];
139
- }
140
88
  static get methods() {
141
89
  return {
142
90
  "updateData": {
143
91
  "complexType": {
144
- "signature": "(data: any, currentModalIndex: any, cardElement?: HTMLElement) => Promise<void>",
92
+ "signature": "(data: any, currentModalIndex: any) => Promise<void>",
145
93
  "parameters": [{
146
94
  "tags": [],
147
95
  "text": ""
148
96
  }, {
149
97
  "tags": [],
150
98
  "text": ""
151
- }, {
152
- "tags": [],
153
- "text": ""
154
99
  }],
155
100
  "references": {
156
101
  "Promise": {
157
102
  "location": "global"
158
- },
159
- "HTMLElement": {
160
- "location": "global"
161
103
  }
162
104
  },
163
105
  "return": "Promise<void>"
@@ -52,12 +52,7 @@ export class PtcTheaterVideoPlaylist {
52
52
  this.cardElements.forEach((cardElement, index) => {
53
53
  this.cards.push(this.setCardData(cardElement, index));
54
54
  cardElement.addEventListener('click', () => {
55
- this.showCardDetails(index, cardElement);
56
- });
57
- cardElement.addEventListener('keydown', (e) => {
58
- if (e.key === 'Enter') {
59
- this.showCardDetails(index, cardElement);
60
- }
55
+ this.showCardDetails(index);
61
56
  });
62
57
  });
63
58
  }
@@ -92,12 +87,12 @@ export class PtcTheaterVideoPlaylist {
92
87
  };
93
88
  return cardData;
94
89
  }
95
- showCardDetails(index, cardElement) {
90
+ showCardDetails(index) {
96
91
  this.currentCardIndex = index;
97
92
  // this.showModal = true;
98
93
  const modalElement = document.querySelector('ptc-theater-video-modal');
99
94
  if (modalElement) {
100
- modalElement.updateData(this.cards, this.currentCardIndex, cardElement);
95
+ modalElement.updateData(this.cards, this.currentCardIndex);
101
96
  }
102
97
  }
103
98
  render() {
@@ -82,26 +82,26 @@ a:focus-visible {
82
82
  border-radius: var(--ptc-border-radius-standard);
83
83
  }
84
84
 
85
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a), .background-plm-grey a.light-link {
85
+ .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 {
86
86
  color: var(--color-blue-04);
87
87
  margin: -2px;
88
88
  border: 2px solid transparent;
89
89
  }
90
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
90
+ .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 {
91
91
  color: var(--color-blue-06);
92
92
  }
93
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
93
+ .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 {
94
94
  transition: none;
95
95
  color: var(--color-blue-07);
96
96
  }
97
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
97
+ .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 {
98
98
  color: var(--color-blue-05);
99
99
  }
100
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
100
+ .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 {
101
101
  color: var(--color-gray-04) !important;
102
102
  cursor: not-allowed;
103
103
  }
104
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
104
+ .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 {
105
105
  border-radius: var(--ptc-border-radius-standard);
106
106
  border: 2px solid white;
107
107
  outline: 5px solid var(--keyboard-nav-outline);
@@ -82,26 +82,26 @@ a:focus-visible {
82
82
  border-radius: var(--ptc-border-radius-standard);
83
83
  }
84
84
 
85
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a), .background-plm-grey a.light-link {
85
+ .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 {
86
86
  color: var(--color-blue-04);
87
87
  margin: -2px;
88
88
  border: 2px solid transparent;
89
89
  }
90
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
90
+ .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 {
91
91
  color: var(--color-blue-06);
92
92
  }
93
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
93
+ .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 {
94
94
  transition: none;
95
95
  color: var(--color-blue-07);
96
96
  }
97
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
97
+ .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 {
98
98
  color: var(--color-blue-05);
99
99
  }
100
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
100
+ .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 {
101
101
  color: var(--color-gray-04) !important;
102
102
  cursor: not-allowed;
103
103
  }
104
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
104
+ .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 {
105
105
  border-radius: var(--ptc-border-radius-standard);
106
106
  border: 2px solid white;
107
107
  outline: 5px solid var(--keyboard-nav-outline);
@@ -5659,26 +5659,26 @@ a:focus-visible {
5659
5659
  border-radius: var(--ptc-border-radius-standard);
5660
5660
  }
5661
5661
 
5662
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a), .background-plm-grey a.light-link {
5662
+ .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 {
5663
5663
  color: var(--color-blue-04);
5664
5664
  margin: -2px;
5665
5665
  border: 2px solid transparent;
5666
5666
  }
5667
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
5667
+ .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 {
5668
5668
  color: var(--color-blue-06);
5669
5669
  }
5670
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
5670
+ .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 {
5671
5671
  transition: none;
5672
5672
  color: var(--color-blue-07);
5673
5673
  }
5674
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
5674
+ .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 {
5675
5675
  color: var(--color-blue-05);
5676
5676
  }
5677
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
5677
+ .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 {
5678
5678
  color: var(--color-gray-04) !important;
5679
5679
  cursor: not-allowed;
5680
5680
  }
5681
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
5681
+ .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 {
5682
5682
  border-radius: var(--ptc-border-radius-standard);
5683
5683
  border: 2px solid white;
5684
5684
  outline: 5px solid var(--keyboard-nav-outline);
@@ -28,7 +28,6 @@ export class PtcWhitePaper {
28
28
  window.scrollTo(0, 0);
29
29
  if (newPage == 2) {
30
30
  let modalForm = document.querySelector("#modal-form");
31
- modalForm.focusBackElement = this.el.shadowRoot.querySelectorAll('.pagination button')[2];
32
31
  if (modalForm) {
33
32
  modalForm.setAttribute("show", "true");
34
33
  setTimeout(() => {
@@ -84,9 +83,14 @@ export class PtcWhitePaper {
84
83
  }
85
84
  renderContent(item, index) {
86
85
  const components = Object.values(item);
87
- return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) => (h("div", { key: i }, (comp.heading && comp.heading.trim() !== '') ? (this.currentPage == 1
88
- ? (h("ptc-title", { type: "h1", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, comp.heading, h("ptc-spacer", { size: "large" })))
89
- : (h("ptc-title", { type: "h2", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, comp.heading, h("ptc-spacer", { size: "large" })))) : "", (comp.subHeading && comp.subHeading.trim() !== '') ? (h("div", { class: "sub-heading rich-content-text-editor", innerHTML: comp.subHeading })) : '', comp.componentType === 'two-column-with-text-media' && this.renderTwoColumnText(comp, i), comp.componentType === 'fullspan-media' && this.renderfullspanMedia(comp, i), comp.componentType === 'fullspan-text' && this.renderFullspanText(comp, i))))));
86
+ return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) => {
87
+ var _a, _b;
88
+ let heading = this.el.querySelector(`[slot="heading-page${this.currentPage}-comp${i + 1}"]`);
89
+ let subHeading = this.el.querySelector(`[slot="subheading-page${this.currentPage}-comp${i + 1}"]`);
90
+ return h("div", { key: i }, (heading && heading.innerText && ((_a = heading.innerText) === null || _a === void 0 ? void 0 : _a.trim()) !== '') ? (this.currentPage == 1
91
+ ? (h("ptc-title", { type: "h1", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))
92
+ : (h("ptc-title", { type: "h2", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))) : "", (subHeading && subHeading.innerText && ((_b = subHeading.innerText) === null || _b === void 0 ? void 0 : _b.trim()) !== '') ? (h("div", { class: "sub-heading rich-content-text-editor" }, h("slot", { name: `subheading-page${this.currentPage}-comp${i + 1}` }))) : '', comp.componentType === 'two-column-with-text-media' && this.renderTwoColumnText(comp, i), comp.componentType === 'fullspan-media' && this.renderfullspanMedia(comp, i), comp.componentType === 'fullspan-text' && this.renderFullspanText(comp, i));
93
+ })));
90
94
  }
91
95
  renderTwoColumnText(comp, index) {
92
96
  return (h("div", null, comp.leftColumnContent && (h("div", { class: "is-grid has-col-gap-xl has-row-gap-sm wp-component", key: index }, h("div", { class: "is-col-6-md" }, h("div", { class: "left-content", innerHTML: comp.leftColumnContent })), h("div", { class: "is-col-6-md" }, h("div", { class: "right-content", innerHTML: comp.rightColumnContent }))))));
@@ -106,7 +110,7 @@ export class PtcWhitePaper {
106
110
  const startIndex = (this.currentPage - 1) * this.itemsPerPage;
107
111
  const endIndex = startIndex + this.itemsPerPage;
108
112
  const currentItems = JSON.parse(this.items).slice(startIndex, endIndex);
109
- return (h(Host, null, h("div", { class: "hero-image" }, h("ptc-img", { "image-type": "smart-bg", "img-url": this.topBackgroundImage, "load-mode": "lazy-bg", styles: "" })), h("div", { class: "ptc-container " }, h("div", { class: "content-container" }, h("div", { class: "pagination-wrap" }, h("div", { class: "pagination" }, h("button", { class: "mf-listen", id: "prevPageBtnID", onClick: () => this.handlePrevPage(), onKeyPress: () => this.handlePrevPage(), tabIndex: 0, disabled: this.currentPage === 1 }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_left_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_left_mini" }, h("path", { d: "M12 12.833L8.304 9 12 5.167 10.821 4 6 9l4.821 5L12 12.833z", class: "icon_chevron_left" }))))), this.renderPaginationButtons(), h("button", { class: "mf-listen", id: "nextPageBtnID", onClick: () => this.handleNextPage(), onKeyPress: () => this.handleNextPage(), tabIndex: 0, disabled: this.currentPage === this.totalPages }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_right_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_right_mini" }, h("path", { d: "M6 5.167L9.696 9 6 12.833 7.179 14 12 9 7.179 4 6 5.167z", class: "icon_chevron_right" })))))), h("div", { class: "mf-listen dl-btn-wrapper", id: "downloadBtnID" }, h("a", { class: "dl-btn", tabindex: 0, onKeyPress: (e) => this.downloadCtaClicked.emit(e), onClick: (e) => { this.downloadCtaClicked.emit(e); } }, h("span", { class: "dl-text" }, "Download"), h("img", { src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" })))), h("div", null, currentItems.map((item, index) => this.renderContent(item, index)))))));
113
+ return (h(Host, null, h("div", { class: "hero-image" }, h("ptc-img", { "image-type": "smart-bg", "img-url": this.topBackgroundImage, "load-mode": "lazy-bg", styles: "" })), h("div", { class: "ptc-container " }, h("div", { class: "content-container" }, h("div", { class: "pagination-wrap" }, h("div", { class: "pagination" }, h("button", { class: "mf-listen", id: "prevPageBtnID", onClick: () => this.handlePrevPage(), onKeyPress: () => this.handlePrevPage(), tabIndex: 0, disabled: this.currentPage === 1 }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_left_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_left_mini" }, h("path", { d: "M12 12.833L8.304 9 12 5.167 10.821 4 6 9l4.821 5L12 12.833z", class: "icon_chevron_left" }))))), this.renderPaginationButtons(), h("button", { class: "mf-listen", id: "nextPageBtnID", onClick: () => this.handleNextPage(), onKeyPress: () => this.handleNextPage(), tabIndex: 0, disabled: this.currentPage === this.totalPages }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_right_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_right_mini" }, h("path", { d: "M6 5.167L9.696 9 6 12.833 7.179 14 12 9 7.179 4 6 5.167z", class: "icon_chevron_right" })))))), h("div", { class: "mf-listen dl-btn-wrapper", id: "downloadBtnID" }, h("a", { class: "dl-btn", tabindex: 0, onKeyPress: () => this.downloadCtaClicked.emit(), onClick: () => { this.downloadCtaClicked.emit(); } }, h("span", { class: "dl-text" }, "Download"), h("img", { src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" })))), h("div", null, currentItems.map((item, index) => this.renderContent(item, index)))))));
110
114
  }
111
115
  static get is() { return "ptc-white-paper"; }
112
116
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class TabHeader {
63
63
  'tab-header-selected': this.isSelected
64
64
  };
65
65
  return [
66
- h("div", { class: classes, onClick: this.onClick.bind(this) }, h("slot", { name: "seo-content" }), h("span", { class: "header-content" }, h("span", { class: "text-cont" }, this.tabHeaderText))),
66
+ h("h2", { class: classes, onClick: this.onClick.bind(this) }, h("slot", { name: "seo-content" }), h("span", { class: "header-content" }, h("span", { class: "text-cont" }, this.tabHeaderText))),
67
67
  ];
68
68
  }
69
69
  static get is() { return "tab-header"; }
@@ -14,17 +14,42 @@ export default {
14
14
  description: 'Card Link URL (Optional)',
15
15
  defaultValue: { summary: 'undefined' }
16
16
  },
17
+ // cardLogo: {
18
+ // control: '',
19
+ // description: 'Card Logo',
20
+ // defaultValue: { summary: 'undefined' }
21
+ // },
17
22
  cardType: {
18
23
  control: 'select',
19
24
  options: ["hightlight-card", "horizontal-card", "listing-card"],
20
25
  description: 'Card Type Specify Card Type, default to simple card',
21
26
  defaultValue: { summary: 'custom-card' }
22
27
  },
28
+ // country: {
29
+ // control: 'text',
30
+ // description: 'Card Date',
31
+ // defaultValue: { summary: 'undefined' }
32
+ // },
33
+ // eventType: {
34
+ // control: '',
35
+ // description: 'Event Type',
36
+ // defaultValue: { summary: 'undefined' }
37
+ // },
23
38
  hasImage: {
24
39
  control: 'boolean',
25
40
  description: 'If this card has Image',
26
41
  defaultValue: { summary: 'false' }
27
42
  },
43
+ // hasLottie: {
44
+ // control: '',
45
+ // description: 'If this card has Lottie Image',
46
+ // defaultValue: { summary: 'false' }
47
+ // },
48
+ // hasVideo: {
49
+ // control: '',
50
+ // description: 'If this card has Video',
51
+ // defaultValue: { summary: 'false' }
52
+ // },
28
53
  heading: {
29
54
  control: 'text',
30
55
  description: 'Card heading',
@@ -36,24 +61,144 @@ export default {
36
61
  description: 'Card heading text transform',
37
62
  defaultValue: { summary: 'none' }
38
63
  },
64
+ // rel: {
65
+ // control: '',
66
+ // description: '(optional) Link card rel',
67
+ // defaultValue: { summary: 'undefined' }
68
+ // },
39
69
  ribbonText: {
40
70
  control: 'text',
41
71
  description: 'Ribbon will show on listing card if this field has any value',
42
72
  defaultValue: { summary: 'undefined' }
43
73
  },
74
+ // styles: {
75
+ // control: '',
76
+ // description: '(optional) Injected CSS styles',
77
+ // defaultValue: { summary: 'undefined' }
78
+ // },
44
79
  target: {
45
80
  control: '',
46
81
  description: '(optional) Link card target',
47
82
  defaultValue: { summary: '_self' }
48
83
  },
84
+ // titleLineCutOff: {
85
+ // control: 'number',
86
+ // description: 'Title Line Cut off',
87
+ // defaultValue: { summary: 'undefined' }
88
+ // }
49
89
  }
50
90
  };
51
91
 
92
+ // const Template = args => { return html `<ptc-card
93
+ // card-date=${args.cardDate}
94
+ // card-href=${args.cardHref}
95
+ // card-logo=${args.cardLogo}
96
+ // card-type=${args.cardType}
97
+ // country=${args.country}
98
+ // event-type=${args.eventType}
99
+ // has-image=${args.hasImage}
100
+ // has-lottie=${args.hasLottie}
101
+ // has-video=${args.hasVideo}
102
+ // heading=${args.heading}
103
+ // heading-transform=${args.headingTransform}
104
+ // rel=${args.rel}
105
+ // ribbon-text=${args.ribbonText}
106
+ // styles=${args.styles}
107
+ // target=${args.target}
108
+ // title-line-cut-off=${args.titleLineCutOff}
109
+ // ></ptc-card>`;}
110
+
111
+ // Example.args = {
112
+ // cardDate: 'undefined',
113
+ // cardHref: 'undefined',
114
+ // cardLogo: 'undefined',
115
+ // cardType: 'custom-card',
116
+ // country: 'undefined',
117
+ // eventType: 'undefined',
118
+ // hasImage: 'false',
119
+ // hasLottie: 'false',
120
+ // hasVideo: 'false',
121
+ // heading: 'undefined',
122
+ // headingTransform: 'none',
123
+ // rel: 'undefined',
124
+ // ribbonText: 'undefined',
125
+ // styles: 'undefined',
126
+ // target: '_self',
127
+ // titleLineCutOff: 'undefined',
128
+ // }
129
+
130
+ // ** Highlight Card **
131
+
132
+ const HighlightCardTemplate = args => { return html `
133
+ <div class="is-grid">
134
+ <div class="is-col-8">
135
+ <ptc-card
136
+ card-date=${args.cardDate}
137
+ card-href=${args.cardHref}
138
+ card-type=${args.cardType}
139
+ has-image=${args.hasImage}
140
+ heading=${args.heading}
141
+ heading-transform=${args.headingTransform}
142
+ target=${args.target}
143
+ >
144
+ <ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
145
+ <ptc-span slot="slot-before-heading" styles="::part(part-ptc-span){font-size:18px!important}" span-style="tag-style" display="block">Augmented Reality</ptc-span>
146
+ <div slot="slot-description">
147
+ <ptc-para font-size="xx-small" font-weight="w-6" para-line-h="line-height-dense">
148
+ Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing.
149
+ </ptc-para>
150
+ </div>
151
+ </ptc-card>
152
+ </div>
153
+ </div>
154
+ `;}
155
+
156
+ export const HighlightCard = HighlightCardTemplate.bind({});
157
+
158
+ HighlightCard.args = {
159
+ cardDate: '2022-1-2',
160
+ cardHref: 'http://www.ptc.com',
161
+ cardType: 'hightlight-card',
162
+ hasImage: true,
163
+ heading: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
164
+ headingTransform: 'none',
165
+ target: '_blank',
166
+ }
167
+
168
+ // ** Horizontal Card **
169
+
170
+ const HorizontalCardTemplate = args => { return html `
171
+ <ptc-card
172
+ card-href=${args.cardHref}
173
+ card-type=${args.cardType}
174
+ has-image=${args.hasImage}
175
+ heading=${args.heading}
176
+ heading-transform=${args.headingTransform}
177
+ target=${args.target}
178
+ >
179
+ <ptc-picture slot="slot-image" alt="image-test" is-full-width="true" src="https://www.ptc.com/-/media/Images/new-org/510x340/PLM/BOM-Management.jpg"></ptc-picture>
180
+ <div class="" slot="slot-description">
181
+ <ptc-para font-size="xx-small" para-line-h="line-height-dense" para-margin="margin-flush">Get full digital associativity across engineering, supply chain, manufacturing, sales, and service.</ptc-para>
182
+ </div>
183
+ </ptc-card>
184
+ `; }
185
+
186
+ export const HorizontalCard = HorizontalCardTemplate.bind({});
187
+
188
+ HorizontalCard.args = {
189
+ cardHref: 'https://www.ptc.com/en/technologies/plm/bill-of-materials',
190
+ cardType: 'horizontal-card',
191
+ hasImage: true,
192
+ heading: 'BOM management',
193
+ headingTransform: 'none',
194
+ target: '_blank',
195
+ }
196
+
52
197
  // ** Listing Card **
53
198
 
54
199
  const ListingCardTemplate = args => { return html `
55
200
  <div class="is-grid">
56
- <div class="is-col-4">
201
+ <div class="is-col-3">
57
202
  <ptc-card
58
203
  card-date=${args.cardDate}
59
204
  card-href=${args.cardHref}
@@ -66,7 +211,7 @@ const ListingCardTemplate = args => { return html `
66
211
  >
67
212
  <ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
68
213
  <div slot="slot-description">
69
- <ptc-para font-size="x-small" font-weight="w-4" para-line-h="line-height-19">
214
+ <ptc-para font-size="medium" font-weight="w-4" para-line-h="line-height-19">
70
215
  Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.
71
216
  </ptc-para>
72
217
  </div>
@@ -86,4 +231,4 @@ ListingCard.args = {
86
231
  headingTransform: 'none',
87
232
  ribbonText: 'eBook',
88
233
  target: '_blank',
89
- }
234
+ }
@@ -74,33 +74,22 @@ export default {
74
74
  'underline',
75
75
  ],
76
76
  },
77
- slotContent: {
78
- name: 'Default Slot',
79
- description: 'Text Content between the <ptc-link> tags.',
80
- control: 'text',
81
- table: {
82
- category: 'Default Slot',
83
- type: {
84
- summary: 'plain text',
85
- },
86
- }
87
- }
88
77
  },
89
78
  };
90
79
 
91
- const Template = args => { return html`<ptc-link
92
- disabled=${args.disabled}
93
- external=${args.external}
94
- font-size=${args.fontSize}
95
- font-weight=${args.fontWeight}
96
- href=${args.href}
97
- link-area=${args.linkArea}
98
- link-title=${args.linkTitle}
99
- target=${args.target}
100
- theme=${args.theme}
101
- >
102
- ${args.slotContent}
103
- </ptc-link>`;
80
+ const Template = args => {
81
+ return html`<ptc-link
82
+ disabled=${args.disabled}
83
+ external=${args.external}
84
+ font-size=${args.fontSize}
85
+ font-weight=${args.fontWeight}
86
+ href=${args.href}
87
+ link-area=${args.linkArea}
88
+ link-title=${args.linkTitle}
89
+ target=${args.target}
90
+ theme=${args.theme}
91
+ >Link Text</ptc-link
92
+ >`;
104
93
  };
105
94
 
106
95
  export const Example = Template.bind({});
@@ -115,5 +104,4 @@ Example.args = {
115
104
  linkTitle: 'Title attribute goes here',
116
105
  target: '_blank',
117
106
  theme: 'simple',
118
- slotContent:'Link text goes here',
119
107
  };