@ptcwebops/ptcw-design 6.3.16 → 6.3.17-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 (390) hide show
  1. package/dist/cjs/academic-form-test.cjs.entry.js +7 -0
  2. package/dist/cjs/blog-detail-content_2.cjs.entry.js +2 -1
  3. package/dist/cjs/blog-detail-layout.cjs.entry.js +2 -1
  4. package/dist/cjs/blogs-search-section.cjs.entry.js +3 -1
  5. package/dist/cjs/bundle-example.cjs.entry.js +2 -0
  6. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  7. package/dist/cjs/embedded-form.cjs.entry.js +10 -1
  8. package/dist/cjs/event-jumbotron-example.cjs.entry.js +3 -0
  9. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  10. package/dist/cjs/footer-form.cjs.entry.js +2 -0
  11. package/dist/cjs/homepage-jumbotron.cjs.entry.js +3 -1
  12. package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
  13. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  14. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -0
  15. package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +1 -0
  16. package/dist/cjs/loader.cjs.js +1 -1
  17. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  18. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  19. package/dist/cjs/my-component.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-background-video.cjs.entry.js +24 -1
  22. package/dist/cjs/ptc-bio-card.cjs.entry.js +5 -20
  23. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +33 -0
  24. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -0
  26. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -10
  27. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +17 -32
  29. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-countdown.cjs.entry.js +16 -19
  31. package/dist/cjs/ptc-data-lookup.cjs.entry.js +30 -27
  32. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +2 -2
  33. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +10 -0
  35. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  36. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +800 -6
  37. package/dist/cjs/ptc-form.cjs.entry.js +7 -0
  38. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +11 -1
  41. package/dist/cjs/ptc-icon-card.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-icon-component.cjs.entry.js +13 -0
  43. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-img.cjs.entry.js +1 -0
  45. package/dist/cjs/ptc-jumbotron.cjs.entry.js +2 -3
  46. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-media-card.cjs.entry.js +9 -2
  48. package/dist/cjs/ptc-mobile-select.cjs.entry.js +11 -1
  49. package/dist/cjs/ptc-nav-slider.cjs.entry.js +9 -0
  50. package/dist/cjs/ptc-office-locations.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-para.cjs.entry.js +2 -2
  52. package/dist/cjs/ptc-picture.cjs.entry.js +1 -0
  53. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  56. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +12 -10
  57. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  58. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  59. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  60. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -0
  61. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  62. package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -0
  63. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  64. package/dist/cjs/ptc-readmore-new.cjs.entry.js +1 -0
  65. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +4 -1
  66. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +34 -86
  67. package/dist/cjs/ptc-scroll-button.cjs.entry.js +2 -0
  68. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
  69. package/dist/cjs/ptc-subnav.cjs.entry.js +1 -0
  70. package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -0
  71. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +13 -0
  72. package/dist/cjs/ptc-title.cjs.entry.js +1 -1
  73. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +18 -1
  74. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +1 -0
  75. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  76. package/dist/cjs/ptc-white-paper.cjs.entry.js +11 -6
  77. package/dist/cjs/ptcw-design.cjs.js +1 -1
  78. package/dist/cjs/sequential-bundle-example.cjs.entry.js +12 -0
  79. package/dist/cjs/sequential-bundle.cjs.entry.js +1 -0
  80. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  81. package/dist/cjs/{utils-b63aef52.js → utils-ad441b07.js} +1 -1
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  84. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  85. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +1 -0
  86. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +1 -0
  87. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +1 -0
  88. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +1 -0
  89. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +2 -0
  90. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +2 -0
  91. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  92. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +3 -0
  93. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +7 -0
  94. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +10 -1
  95. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +2 -0
  96. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  97. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  98. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +7 -0
  99. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +2 -0
  100. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +0 -4
  101. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +10 -0
  102. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +1 -0
  103. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +12 -0
  104. package/dist/collection/components/ptc-background-video/ptc-background-video.js +23 -0
  105. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
  106. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +4 -19
  107. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +33 -0
  108. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +1 -0
  109. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  110. package/dist/collection/components/ptc-container/ptc-container.js +2 -2
  111. package/dist/collection/components/ptc-countdown/ptc-countdown.js +16 -19
  112. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +2 -0
  113. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +1 -22
  114. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +1 -1
  115. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  116. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +1 -0
  117. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  118. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +2 -0
  119. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +13 -0
  120. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -32
  121. package/dist/collection/components/ptc-img/ptc-img.js +1 -0
  122. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -24
  123. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -20
  124. package/dist/collection/components/ptc-media-card/ptc-media-card.js +8 -1
  125. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +12 -2
  126. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  127. package/dist/collection/components/ptc-modal/ptc-modal.js +18 -50
  128. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +1 -1
  129. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  130. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  131. package/dist/collection/components/ptc-picture/ptc-picture.js +1 -0
  132. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  133. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +1 -1
  134. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -419
  135. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -9
  136. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  137. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  138. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +11 -9
  139. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  140. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  141. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +2 -0
  142. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  143. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +1 -0
  144. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  145. package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +1 -0
  146. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  147. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +3 -0
  148. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
  149. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +35 -88
  150. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +2 -0
  151. package/dist/collection/components/ptc-select/ptc-select.js +2 -0
  152. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +1 -0
  153. package/dist/collection/components/ptc-textfield/ptc-textfield.js +9 -1
  154. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +13 -0
  155. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +9 -0
  156. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  157. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +17 -0
  158. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +1 -0
  159. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  160. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  161. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +10 -5
  162. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +9 -0
  163. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +1 -0
  164. package/dist/collection/components/tab-header/tab-header.js +1 -1
  165. package/dist/collection/stories/BackgroundImage.stories.js +42 -20
  166. package/dist/collection/stories/MobileSelect.stories.js +21 -11
  167. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  168. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  169. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  170. package/dist/collection/utils/elq-lib.js +25 -25
  171. package/dist/collection/utils/utils.js +1 -1
  172. package/dist/custom-elements/index.d.ts +6 -0
  173. package/dist/custom-elements/index.js +484 -242
  174. package/dist/esm/academic-form-test.entry.js +7 -0
  175. package/dist/esm/blog-detail-content_2.entry.js +2 -1
  176. package/dist/esm/blog-detail-layout.entry.js +2 -1
  177. package/dist/esm/blogs-search-section.entry.js +3 -1
  178. package/dist/esm/bundle-example.entry.js +2 -0
  179. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  180. package/dist/esm/embedded-form.entry.js +10 -1
  181. package/dist/esm/event-jumbotron-example.entry.js +3 -0
  182. package/dist/esm/featured-list.entry.js +1 -1
  183. package/dist/esm/footer-form.entry.js +2 -0
  184. package/dist/esm/homepage-jumbotron.entry.js +3 -1
  185. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  186. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  187. package/dist/esm/jumbotron-sub-menu.entry.js +1 -0
  188. package/dist/esm/jumbotron-sub-mune.entry.js +1 -0
  189. package/dist/esm/loader.js +1 -1
  190. package/dist/esm/modal-form-example.entry.js +90 -0
  191. package/dist/esm/most-popular-news.entry.js +1 -1
  192. package/dist/esm/my-component.entry.js +1 -1
  193. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  194. package/dist/esm/ptc-background-video.entry.js +24 -1
  195. package/dist/esm/ptc-bio-card.entry.js +5 -20
  196. package/dist/esm/ptc-brightcov-video.entry.js +33 -0
  197. package/dist/esm/ptc-button.entry.js +1 -1
  198. package/dist/esm/ptc-card-bottom_2.entry.js +1 -0
  199. package/dist/esm/ptc-card_2.entry.js +5 -10
  200. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  201. package/dist/esm/ptc-close-icon_2.entry.js +17 -32
  202. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  203. package/dist/esm/ptc-countdown.entry.js +16 -19
  204. package/dist/esm/ptc-data-lookup.entry.js +30 -27
  205. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +2 -2
  206. package/dist/esm/ptc-featured-list.entry.js +1 -1
  207. package/dist/esm/ptc-filter-dropdown_4.entry.js +10 -0
  208. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  209. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +797 -5
  210. package/dist/esm/ptc-form.entry.js +7 -0
  211. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  212. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  213. package/dist/esm/ptc-icon-card-slider-example.entry.js +11 -1
  214. package/dist/esm/ptc-icon-card.entry.js +1 -1
  215. package/dist/esm/ptc-icon-component.entry.js +13 -0
  216. package/dist/esm/ptc-icon-list.entry.js +1 -1
  217. package/dist/esm/ptc-img.entry.js +1 -0
  218. package/dist/esm/ptc-jumbotron.entry.js +2 -3
  219. package/dist/esm/ptc-link.entry.js +1 -1
  220. package/dist/esm/ptc-media-card.entry.js +9 -2
  221. package/dist/esm/ptc-mobile-select.entry.js +11 -1
  222. package/dist/esm/ptc-nav-slider.entry.js +9 -0
  223. package/dist/esm/ptc-office-locations.entry.js +1 -1
  224. package/dist/esm/ptc-para.entry.js +2 -2
  225. package/dist/esm/ptc-picture.entry.js +1 -0
  226. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  227. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  228. package/dist/esm/ptc-previous-url.entry.js +10 -2
  229. package/dist/esm/ptc-pricing-packaging-table.entry.js +12 -10
  230. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  231. package/dist/esm/ptc-product-card.entry.js +1 -1
  232. package/dist/esm/ptc-product-category.entry.js +1 -1
  233. package/dist/esm/ptc-product-dropdown.entry.js +2 -0
  234. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  235. package/dist/esm/ptc-progress-bar.entry.js +1 -0
  236. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  237. package/dist/esm/ptc-readmore-new.entry.js +1 -0
  238. package/dist/esm/ptc-readmore-v3.entry.js +4 -1
  239. package/dist/esm/ptc-related-card-rail.entry.js +34 -86
  240. package/dist/esm/ptc-scroll-button.entry.js +2 -0
  241. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  242. package/dist/esm/ptc-subnav.entry.js +1 -0
  243. package/dist/esm/ptc-tab-list.entry.js +1 -0
  244. package/dist/esm/ptc-theater-video-modal.entry.js +13 -0
  245. package/dist/esm/ptc-title.entry.js +1 -1
  246. package/dist/esm/ptc-tooltip-v2.entry.js +18 -1
  247. package/dist/esm/ptc-value-led-layout.entry.js +1 -0
  248. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  249. package/dist/esm/ptc-white-paper.entry.js +11 -6
  250. package/dist/esm/ptcw-design.js +1 -1
  251. package/dist/esm/sequential-bundle-example.entry.js +12 -0
  252. package/dist/esm/sequential-bundle.entry.js +1 -0
  253. package/dist/esm/tab-header.entry.js +1 -1
  254. package/dist/esm/{utils-2f12c081.js → utils-63eab4bd.js} +1 -1
  255. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  256. package/dist/ptcw-design/p-01075feb.entry.js +1 -0
  257. package/dist/ptcw-design/p-03a917f8.entry.js +1 -0
  258. package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
  259. package/dist/ptcw-design/p-072aa896.entry.js +1 -0
  260. package/dist/ptcw-design/p-081e969d.entry.js +1 -0
  261. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  262. package/dist/ptcw-design/p-0d223232.entry.js +1 -0
  263. package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
  264. package/dist/ptcw-design/p-14e3b502.entry.js +1 -0
  265. package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-16e70f20.entry.js} +1 -1
  266. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  267. package/dist/ptcw-design/{p-9f194554.entry.js → p-21aa746d.entry.js} +1 -1
  268. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  269. package/dist/ptcw-design/{p-8cea8943.entry.js → p-28be539b.entry.js} +1 -1
  270. package/dist/ptcw-design/p-291072b4.entry.js +1 -0
  271. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  272. package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
  273. package/dist/ptcw-design/p-3c3a7b54.entry.js +1 -0
  274. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-8e42a22d.entry.js → p-48c33817.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-8c121480.entry.js → p-49e54079.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-1eb40265.entry.js → p-4ee98a3e.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-297a14cb.entry.js → p-627103d8.entry.js} +1 -1
  280. package/dist/ptcw-design/p-672a349f.js +336 -0
  281. package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
  282. package/dist/ptcw-design/p-6a3caf2b.entry.js +1 -0
  283. package/dist/ptcw-design/p-6b32020a.entry.js +1 -0
  284. package/dist/ptcw-design/p-6f5fecae.entry.js +1 -0
  285. package/dist/ptcw-design/p-721edfda.entry.js +1 -0
  286. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  287. package/dist/ptcw-design/p-77b1221e.js +1 -0
  288. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  289. package/dist/ptcw-design/p-8038bf31.entry.js +1 -0
  290. package/dist/ptcw-design/p-821f0ff9.entry.js +1 -0
  291. package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-867a808f.entry.js} +1 -1
  292. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  293. package/dist/ptcw-design/p-8e8c7a3a.entry.js +1 -0
  294. package/dist/ptcw-design/{p-077839d5.entry.js → p-92d22c78.entry.js} +1 -1
  295. package/dist/ptcw-design/p-94f99d2d.entry.js +1 -0
  296. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  297. package/dist/ptcw-design/p-99b45d23.entry.js +1 -0
  298. package/dist/ptcw-design/p-9d612f1f.entry.js +1 -0
  299. package/dist/ptcw-design/{p-bab5bb88.entry.js → p-9fa958b9.entry.js} +1 -1
  300. package/dist/ptcw-design/p-a412ff0a.entry.js +1 -0
  301. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  302. package/dist/ptcw-design/{p-38e5e590.entry.js → p-b52301e2.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-14b7693f.entry.js → p-b651c1cb.entry.js} +1 -1
  304. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  305. package/dist/ptcw-design/p-bd6af63e.entry.js +1 -0
  306. package/dist/ptcw-design/{p-a8872ce3.entry.js → p-bf18b622.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-257267e3.entry.js → p-c01ea76f.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-d66debb3.entry.js → p-c1aab261.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-d51438de.entry.js → p-cbee4653.entry.js} +1 -1
  310. package/dist/ptcw-design/p-d0581b07.entry.js +68 -0
  311. package/dist/ptcw-design/p-d20cf3c5.entry.js +1 -0
  312. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  313. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-baeee2b4.entry.js → p-dc8c0a06.entry.js} +1 -1
  315. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  316. package/dist/ptcw-design/{p-757954b2.entry.js → p-e508d118.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-52e17d34.entry.js → p-e577ad62.entry.js} +1 -1
  318. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  319. package/dist/ptcw-design/p-ee534211.entry.js +1 -0
  320. package/dist/ptcw-design/{p-b647f7a1.entry.js → p-eec2f3da.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-fd394e84.entry.js} +1 -1
  322. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  323. package/dist/ptcw-design/p-feecf6b5.entry.js +1 -0
  324. package/dist/ptcw-design/p-ffb0ff97.entry.js +1 -0
  325. package/dist/ptcw-design/ptcw-design.css +2 -2
  326. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  327. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  328. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
  329. package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
  330. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  331. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +1 -1
  332. package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -2
  333. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  334. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  335. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +5 -9
  336. package/dist/types/components.d.ts +23 -12
  337. package/package.json +2 -6
  338. package/readme.md +5 -1
  339. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  340. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  341. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  342. package/dist/esm/component-9beac35b.js +0 -1802
  343. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  344. package/dist/esm/validation-messages-adbb6518.js +0 -124
  345. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  346. package/dist/ptcw-design/p-092e50c9.entry.js +0 -1
  347. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  348. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  349. package/dist/ptcw-design/p-18a5a338.js +0 -1
  350. package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
  351. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  352. package/dist/ptcw-design/p-36abe396.entry.js +0 -1
  353. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  354. package/dist/ptcw-design/p-4702c233.entry.js +0 -1
  355. package/dist/ptcw-design/p-4737a0f6.entry.js +0 -1
  356. package/dist/ptcw-design/p-4ca956c1.entry.js +0 -1
  357. package/dist/ptcw-design/p-4f3dea53.entry.js +0 -1
  358. package/dist/ptcw-design/p-560b05a5.entry.js +0 -1
  359. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  360. package/dist/ptcw-design/p-68ed2afe.entry.js +0 -1
  361. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  362. package/dist/ptcw-design/p-752bba1c.entry.js +0 -1
  363. package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
  364. package/dist/ptcw-design/p-761a31f8.entry.js +0 -1
  365. package/dist/ptcw-design/p-76dab076.entry.js +0 -1
  366. package/dist/ptcw-design/p-7bdf1e64.entry.js +0 -1
  367. package/dist/ptcw-design/p-80122e26.js +0 -1
  368. package/dist/ptcw-design/p-89f0cf12.entry.js +0 -1
  369. package/dist/ptcw-design/p-901c31b3.entry.js +0 -1
  370. package/dist/ptcw-design/p-98426799.js +0 -203
  371. package/dist/ptcw-design/p-98610430.entry.js +0 -1
  372. package/dist/ptcw-design/p-98844b50.js +0 -134
  373. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  374. package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
  375. package/dist/ptcw-design/p-a5fc048f.entry.js +0 -1
  376. package/dist/ptcw-design/p-a8504f11.entry.js +0 -1
  377. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  378. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  379. package/dist/ptcw-design/p-b7fa9f2c.entry.js +0 -1
  380. package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
  381. package/dist/ptcw-design/p-bf56d5a3.entry.js +0 -1
  382. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  383. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  384. package/dist/ptcw-design/p-dfb400ed.entry.js +0 -1
  385. package/dist/ptcw-design/p-e43c30c9.entry.js +0 -1
  386. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  387. package/dist/ptcw-design/p-e5369c4d.entry.js +0 -1
  388. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  389. package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
  390. package/dist/ptcw-design/p-fd87fcd5.entry.js +0 -1
@@ -13,6 +13,7 @@ export class BundleExample {
13
13
  this.updateMaxHeight();
14
14
  }
15
15
  squareHeightChangedHandler(event) {
16
+ //console.log('Received the height:', event.detail); // Here you get the height
16
17
  this.cardHeights = [...this.cardHeights, event.detail];
17
18
  this.updateMaxHeight();
18
19
  }
@@ -25,6 +26,7 @@ export class BundleExample {
25
26
  }
26
27
  updateMaxHeight() {
27
28
  this.maxCardHeight = Math.max(...this.cardHeights, 0); // Update maxHeight based on the current cardHeights
29
+ console.log('cardheights: ' + this.cardHeights);
28
30
  }
29
31
  render() {
30
32
  return (h(Host, null, h("div", { class: "is-grid has-col-2 has-col-2-sm has-col-3-md has-col-4-lg has-col-5-xl has-col-gap-md has-row-gap-md" }, h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))))));
@@ -34,7 +34,7 @@ a {
34
34
  }
35
35
 
36
36
  .light-links,.background-grey-10,.background-plm-grey {
37
- a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), a.light-link {
37
+ a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), a.light-link {
38
38
  color: var(--color-blue-04);
39
39
  margin: -2px;
40
40
  border: 2px solid transparent;
@@ -61,7 +61,7 @@ a {
61
61
  }
62
62
 
63
63
  &:focus-visible {
64
- border-radius: var(--ptc-border-radius-standard);
64
+ border-radius: var(--ptc-border-radius-standard);
65
65
  border: 2px solid rgb(255, 255, 255);
66
66
  outline: 5px solid var(--keyboard-nav-outline);
67
67
  }
@@ -71,7 +71,7 @@ a {
71
71
  border: 2px solid transparent;
72
72
 
73
73
  &:focus-visible {
74
- border-radius: var(--ptc-border-radius-standard);
74
+ border-radius: var(--ptc-border-radius-standard);
75
75
  border: 2px solid rgb(255, 255, 255);
76
76
  outline: 5px solid var(--keyboard-nav-outline);
77
77
  }
@@ -87,6 +87,7 @@ export class EventJumbotronExample {
87
87
  else if (!this.isDesktop) {
88
88
  if (!this.isDragging) {
89
89
  const modal = document.getElementById(`modal-${cardIndex}`);
90
+ // console.log('open: ' + modal.id);
90
91
  modal.show = true;
91
92
  }
92
93
  }
@@ -114,6 +115,7 @@ export class EventJumbotronExample {
114
115
  const card = panel.querySelector('.no-content-card');
115
116
  if (card) {
116
117
  const button = card.querySelector('ptc-button');
118
+ // console.log('button: ' + button.innerHTML);
117
119
  if (button) {
118
120
  const link = button.shadowRoot.querySelector('a');
119
121
  if (link) {
@@ -190,6 +192,7 @@ export class EventJumbotronExample {
190
192
  document.addEventListener('keydown', event => {
191
193
  if (event.key === 'Tab' || event.key === 'Enter' || event.key === ' ') {
192
194
  this.openedWithKeyboard = true;
195
+ // console.log('keyboard status: ' + this.openedWithKeyboard);
193
196
  }
194
197
  });
195
198
  document.addEventListener('mousedown', () => {
@@ -39,20 +39,27 @@ export class AcademicForm {
39
39
  this.formData.lastName = this.lastNameEle.inputValue;
40
40
  this.formData.company = this.companyEle.inputValue;
41
41
  this.formData.phone = this.phoneEle.inputValue;
42
+ // this.formData.country = this.countryEle.inputValue;
43
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
+ // console.log("get form Data: " + this.formData.email)
42
46
  if (this.isValid()) {
43
47
  const formSubmitEvent = new CustomEvent('formSubmit', {
44
48
  detail: this.formData,
45
49
  bubbles: true,
46
50
  });
47
51
  this.el.dispatchEvent(formSubmitEvent);
52
+ console.log('Form Submitted: ' + this.formData);
48
53
  }
49
54
  else {
50
55
  console.log('Form validation failed');
56
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
51
57
  }
52
58
  }
53
59
  isValid() {
54
60
  const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
55
61
  const invalidLength = document.querySelectorAll('.invalid-field').length;
62
+ // console.log('invalid fields length: ' + invalidLength), check the select field
56
63
  return (email !== '' &&
57
64
  phone !== '' &&
58
65
  firstName !== '' &&
@@ -33,13 +33,20 @@ export class EmbeddedForm {
33
33
  onDataLookup() {
34
34
  const dataLookupElement = this.el.closest('ptc-data-lookup');
35
35
  if (dataLookupElement) {
36
- // console.log('Perform Data Lookup...');
36
+ console.log('Perform Data Lookup...');
37
37
  dataLookupElement.performDataLookup();
38
38
  }
39
39
  else {
40
40
  console.log('No Data Lookup...');
41
41
  }
42
42
  }
43
+ // private init_notme(): void{
44
+ // const topAdditional = document.getElementById('not-me-additional-top');
45
+ // const bottomAdditional = document.getElementById('not-me-additional-bottom');
46
+ // console.log("top: " + topAdditional)
47
+ // if(topAdditional) topAdditional.style.display = 'none';
48
+ // if(bottomAdditional) bottomAdditional.style.display = 'none';
49
+ // }
43
50
  handleInputChange(field, value) {
44
51
  this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
45
52
  }
@@ -62,6 +69,7 @@ export class EmbeddedForm {
62
69
  });
63
70
  this.el.dispatchEvent(formSubmitEvent);
64
71
  this.isSubmitted = true;
72
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone, this.formData.country, this.formData.inquiryReason, this.formData.howhearselfreport, this.formData.policyChecked);
65
73
  }
66
74
  else {
67
75
  console.log('Form validation failed');
@@ -75,6 +83,7 @@ export class EmbeddedForm {
75
83
  isValid() {
76
84
  const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
77
85
  const invalidLength = document.querySelectorAll('.invalid-field').length;
86
+ // console.log('invalid fields length: ' + invalidLength), check the select field
78
87
  return (email !== '' &&
79
88
  phone !== '' &&
80
89
  firstName !== '' &&
@@ -36,9 +36,11 @@ export class FooterForm {
36
36
  bubbles: true,
37
37
  });
38
38
  this.el.dispatchEvent(formSubmitEvent);
39
+ console.log('Form Submitted: ' + this.formData);
39
40
  }
40
41
  else {
41
42
  console.log('Form validation failed');
43
+ console.log('Form Submitted: ' + this.formData.email);
42
44
  }
43
45
  }
44
46
  isValid() {
@@ -0,0 +1,26 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .form-wrapper {
6
+ width: 371px;
7
+ display: flex;
8
+ border-radius: 3px;
9
+ background: #FFF;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ padding: 0px 32px;
13
+
14
+ @media only screen and (min-width: 360px) and (max-width: 479.55px) {
15
+ max-width: 360px;
16
+ width: 360px;
17
+ }
18
+
19
+ .button-wrapper {
20
+ display: flex;
21
+ justify-content: flex-end;
22
+ gap: 20px;
23
+ margin-top: 48px;
24
+ flex-wrap: wrap;
25
+ }
26
+ }
@@ -0,0 +1,99 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcForm {
3
+ constructor() {
4
+ this.formData = {
5
+ email: '',
6
+ firstName: '',
7
+ lastName: '',
8
+ company: '',
9
+ country: '',
10
+ phone: '',
11
+ inquiryReason: '',
12
+ howhearselfreport: '',
13
+ policyChecked: false,
14
+ };
15
+ }
16
+ // private countryEle: HTMLPtcSelectElement;
17
+ // private inquiryreasonEle: HTMLPtcTextfieldElement;
18
+ // private howhearselfreport: HTMLPtcTextfieldElement;
19
+ componentDidLoad() {
20
+ this.formButton = this.el.querySelector('.form-submit');
21
+ this.formButton.addEventListener('click', this.handleSubmit.bind(this));
22
+ //get Email
23
+ this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
24
+ this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
25
+ this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
26
+ this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
27
+ this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
28
+ // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
29
+ // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
30
+ // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
31
+ }
32
+ handleInputChange(field, value) {
33
+ this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
34
+ }
35
+ handleSubmit(event) {
36
+ event.preventDefault();
37
+ this.formData.email = this.emailEle.inputValue;
38
+ this.formData.firstName = this.firstNameEle.inputValue;
39
+ this.formData.lastName = this.lastNameEle.inputValue;
40
+ this.formData.company = this.companyEle.inputValue;
41
+ this.formData.phone = this.phoneEle.inputValue;
42
+ // this.formData.country = this.countryEle.inputValue;
43
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
+ // console.log("get form Data: " + this.formData.email)
46
+ if (this.isValid()) {
47
+ const formSubmitEvent = new CustomEvent('formSubmit', {
48
+ detail: this.formData,
49
+ bubbles: true,
50
+ });
51
+ this.el.dispatchEvent(formSubmitEvent);
52
+ console.log('Form Submitted: ' + this.formData);
53
+ }
54
+ else {
55
+ console.log('Form validation failed');
56
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
57
+ }
58
+ }
59
+ isValid() {
60
+ const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
61
+ const invalidLength = document.querySelectorAll('.invalid-field').length;
62
+ // console.log('invalid fields length: ' + invalidLength), check the select field
63
+ return (email !== '' &&
64
+ phone !== '' &&
65
+ firstName !== '' &&
66
+ lastName !== '' &&
67
+ company !== '' &&
68
+ country !== '' &&
69
+ inquiryReason !== '' &&
70
+ howhearselfreport != '' &&
71
+ policyChecked &&
72
+ invalidLength === 0);
73
+ }
74
+ render() {
75
+ const multiSelectItems = [
76
+ { text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
77
+ { text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
78
+ { text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
79
+ ];
80
+ return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
81
+ }
82
+ static get is() { return "modal-form-example"; }
83
+ static get originalStyleUrls() {
84
+ return {
85
+ "$": ["modal-form-example.css"]
86
+ };
87
+ }
88
+ static get styleUrls() {
89
+ return {
90
+ "$": ["modal-form-example.css"]
91
+ };
92
+ }
93
+ static get states() {
94
+ return {
95
+ "formData": {}
96
+ };
97
+ }
98
+ static get elementRef() { return "el"; }
99
+ }
@@ -39,20 +39,27 @@ export class PtcForm {
39
39
  this.formData.lastName = this.lastNameEle.inputValue;
40
40
  this.formData.company = this.companyEle.inputValue;
41
41
  this.formData.phone = this.phoneEle.inputValue;
42
+ // this.formData.country = this.countryEle.inputValue;
43
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
+ // console.log("get form Data: " + this.formData.email)
42
46
  if (this.isValid()) {
43
47
  const formSubmitEvent = new CustomEvent('formSubmit', {
44
48
  detail: this.formData,
45
49
  bubbles: true,
46
50
  });
47
51
  this.el.dispatchEvent(formSubmitEvent);
52
+ console.log('Form Submitted: ' + this.formData);
48
53
  }
49
54
  else {
50
55
  console.log('Form validation failed');
56
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
51
57
  }
52
58
  }
53
59
  isValid() {
54
60
  const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
55
61
  const invalidLength = document.querySelectorAll('.invalid-field').length;
62
+ // console.log('invalid fields length: ' + invalidLength), check the select field
56
63
  return (email !== '' &&
57
64
  phone !== '' &&
58
65
  firstName !== '' &&
@@ -57,6 +57,7 @@ export class HomepageJumbotron {
57
57
  },
58
58
  },
59
59
  });
60
+ console.log('running swiper');
60
61
  }
61
62
  }
62
63
  destroySlider() {
@@ -90,6 +91,7 @@ export class HomepageJumbotron {
90
91
  updateTileElements() {
91
92
  const tiles = Array.from(this.el.querySelectorAll(`[slot^="jumbotron-tile-${this.activeTab}"]`));
92
93
  this.tileElements = tiles;
94
+ //console.log('tile check: ' + tiles[0].outerHTML);
93
95
  }
94
96
  onItemSelected(event) {
95
97
  this.isTransitioning = true;
@@ -1136,8 +1136,4 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
1136
1136
  }
1137
1137
  .ptc-icon-card-slider-wrapper .swiper-container {
1138
1138
  clip-path: inset(0px -10px 0px -10px);
1139
- padding-left: 24px;
1140
- padding-right: 24px;
1141
- margin-left: -24px;
1142
- margin-right: -24px;
1143
1139
  }
@@ -4,6 +4,16 @@ export class PtcIconCardSliderExample {
4
4
  componentDidLoad() {
5
5
  setTimeout(() => {
6
6
  let list = this.el.querySelector('.ptc-icon-slider-cards');
7
+ // let slides = list.querySelectorAll('.swiper-wrapper .swiper-slide');
8
+ // const marginRight = 40; // Margin-right in pixels
9
+ // const totalMargins = (slides.length) * marginRight; // Total margin space for all slides
10
+ // const containerWidth = list.clientWidth - totalMargins; // Available width after margins
11
+ // if (slides.length < 4) {
12
+ // console.log('Less than 4 slides detected. Adjusting widths...');
13
+ // slides.forEach((slide) => {
14
+ // (slide as HTMLElement).style.flex = `1 0 ${containerWidth / Math.min(3, slides.length)}px`;
15
+ // });
16
+ // }
7
17
  this.listSwp = new Swiper(list, {
8
18
  modules: [Navigation, Pagination, Scrollbar, Mousewheel],
9
19
  slidesPerView: 'auto',
@@ -83,6 +83,7 @@ export class SequentialBundle {
83
83
  loop: true,
84
84
  slidesPerView: 1,
85
85
  });
86
+ console.log("running swiper");
86
87
  }
87
88
  }
88
89
  }
@@ -11,12 +11,17 @@ export class SequentialBundleExample {
11
11
  }
12
12
  handleResize() {
13
13
  this.updateIsMobile();
14
+ // console.log('handleResize: isMobile: ' + this.isMobile);
14
15
  }
15
16
  watchStateHandler() {
17
+ console.log('Runing Watch/ismobilechange: isMobile updated and Start handleIsMobileChange');
18
+ console.log('Start Watch: isMobile: ' + this.isMobile);
16
19
  if (this.isMobile && !this.mySwiper && this.isConnected) {
20
+ console.log('watch/ismobileChange condition1: Run swiper');
17
21
  let that = this;
18
22
  const createSwiper = () => {
19
23
  let tempSwiperContainer = that.el.shadowRoot.querySelector('.swiper-container');
24
+ console.log("find container: " + tempSwiperContainer);
20
25
  if (tempSwiperContainer) {
21
26
  that.mySwiper = new Swiper(tempSwiperContainer, {
22
27
  slidesPerView: "auto",
@@ -42,19 +47,25 @@ export class SequentialBundleExample {
42
47
  createSwiper();
43
48
  }
44
49
  else if (!this.isMobile && this.mySwiper) {
50
+ console.log("watch/ismobileChange condition2: it's not swiper and remove it");
45
51
  this.mySwiper.destroy(true, true);
46
52
  this.mySwiper = null;
47
53
  }
48
54
  }
49
55
  connectedCallback() {
56
+ console.log('START! isMobile: ' + this.isMobile);
50
57
  //if screen is mobile when first load
51
58
  this.updateIsMobile();
59
+ console.log("ConnectedCallback: isMobile: " + this.isMobile);
52
60
  this.isConnected = true;
53
61
  }
54
62
  componentDidLoad() {
63
+ console.log('Component Did Load');
55
64
  this.watchStateHandler();
56
65
  }
57
66
  disconnectedCallback() {
67
+ console.log("Running disconnectedCb");
68
+ //window.removeEventListener('resize', this.handleResize);
58
69
  if (this.mySwiper) {
59
70
  this.mySwiper.destroy(true, true);
60
71
  this.mySwiper = null;
@@ -95,6 +106,7 @@ export class SequentialBundleExample {
95
106
  ])));
96
107
  }
97
108
  updateIsMobile() {
109
+ // console.log("Checking isMobile...")
98
110
  this.isMobile = window.innerWidth < 1200;
99
111
  }
100
112
  static get is() { return "sequential-bundle-example"; }
@@ -17,6 +17,29 @@ export class PtcBackgroundVideo {
17
17
  this.isIframe = false;
18
18
  this.loadedTrue = false;
19
19
  }
20
+ // componentDidLoad() {
21
+ // if(this.isIframe){
22
+ // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
23
+ // const iframeDoc = iframe.contentDocument
24
+ // const iframeVideo = iframeDoc.querySelector('video');
25
+ // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
26
+ // iframeVideo.style.objectFit = 'cover';
27
+ // }
28
+ // }
29
+ // @Method()
30
+ // async toggleVideo() {
31
+ // // show a prompt
32
+ // this.paused = !this.paused;
33
+ // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
34
+ // if (video) {
35
+ // if (this.paused) {
36
+ // video.pause();
37
+ // } else {
38
+ // video.play().catch(z => console.error(z));
39
+ // }
40
+ // }
41
+ // console.log('Hello, I am a publish method from ptc-background-video!');
42
+ // }
20
43
  componentDidLoad() {
21
44
  if (this.defer) {
22
45
  nextUserInteractionEvent(this).then(() => {
@@ -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);
@@ -181,10 +181,6 @@ a:focus-visible {
181
181
  transition: box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;
182
182
  background-color: var(--color-white);
183
183
  }
184
- :host .bio-card:focus-visible {
185
- border-radius: var(--ptc-border-radius-standard);
186
- outline: 5px solid var(--keyboard-nav-outline);
187
- }
188
184
  :host .bio-card .bio-card__image {
189
185
  max-width: 150px;
190
186
  min-width: 100px;
@@ -9,11 +9,8 @@ export class PtcBioCard {
9
9
  this.twitter = undefined;
10
10
  this.isModal = true;
11
11
  }
12
- openModal(e) {
12
+ openModal() {
13
13
  if (this.isModal) {
14
- //seting up the focus element when modal closed
15
- let modalRefFocus = this.el.shadowRoot.querySelector("#bio-modal");
16
- modalRefFocus.focusBackElement = e.target;
17
14
  this.showModal = true;
18
15
  }
19
16
  }
@@ -24,23 +21,11 @@ export class PtcBioCard {
24
21
  this.showModal = false;
25
22
  });
26
23
  }
27
- // Code for to stop opening the modal when clicked on social icons
28
- const socialIcons = this.el.shadowRoot.querySelectorAll('.bio-card__social-links .social-icon');
29
- const stopClickPropagation = (e) => {
30
- e.stopPropagation();
31
- };
32
- const stopEnterKeyPropagation = (e) => {
33
- if (e.key === 'Enter') {
34
- e.stopPropagation();
35
- }
36
- };
37
- socialIcons.forEach(icon => {
38
- icon.addEventListener('click', stopClickPropagation);
39
- icon.addEventListener('keydown', stopEnterKeyPropagation);
40
- });
41
24
  }
42
25
  render() {
43
- return (h(Host, { type: "button", class: this.isModal ? 'card-with-modal' : '' }, h("div", { class: "bio-card mf-listen", onClick: (e) => { this.openModal(e); }, tabIndex: 0, onKeyDown: (e) => { e.key === 'Enter' ? this.openModal(e) : null; } }, h("slot", { name: "seo-content" }), h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon mf-listen", "aria-label": "linkedin", title: "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon mf-listen", "aria-label": "X", title: "X" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" }))))))))), this.isModal && (h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" })))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null))))))));
26
+ return (h(Host, { onClick: () => {
27
+ this.openModal();
28
+ }, type: "button", class: this.isModal ? 'card-with-modal' : '' }, h("div", { class: "bio-card" }, h("slot", { name: "seo-content" }), h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin", title: "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "X", title: "X" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" }))))))))), this.isModal && (h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" })))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null))))))));
44
29
  }
45
30
  static get is() { return "ptc-bio-card"; }
46
31
  static get encapsulation() { return "shadow"; }