@ptcwebops/ptcw-design 6.2.11 → 6.2.12-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 (500) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
  4. package/dist/cjs/{component-06dda623.js → component-6a178a16.js} +2643 -832
  5. package/dist/cjs/event-jumbotron-example.cjs.entry.js +6 -2
  6. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  7. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  8. package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
  9. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  10. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  11. package/dist/cjs/interfaces-574e6df7.js +15 -0
  12. package/dist/cjs/list-item.cjs.entry.js +48 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  15. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  16. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  17. package/dist/cjs/my-component.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-background-video.cjs.entry.js +102 -0
  20. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  22. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  23. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +12 -3
  25. package/dist/cjs/ptc-collapse-list.cjs.entry.js +14 -1
  26. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  27. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
  31. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  34. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  35. package/dist/cjs/ptc-jumbotron.cjs.entry.js +151 -0
  36. package/dist/cjs/ptc-link.cjs.entry.js +5 -2
  37. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  40. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  41. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  43. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-scroll-button.cjs.entry.js +38 -0
  51. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  52. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  53. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  54. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
  56. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  57. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  58. package/dist/cjs/ptcw-design.cjs.js +1 -1
  59. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  60. package/dist/collection/collection-manifest.json +1 -0
  61. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  62. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
  63. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
  64. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +21 -0
  65. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +23 -1
  66. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  67. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  68. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -9
  69. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  70. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
  71. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +31 -0
  72. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
  73. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
  74. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  75. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  76. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  77. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
  78. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  79. package/dist/collection/components/ptc-link/ptc-link.js +4 -1
  80. package/dist/collection/components/ptc-modal/ptc-modal.css +66 -0
  81. package/dist/collection/components/ptc-modal/ptc-modal.js +81 -4
  82. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  83. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  84. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
  85. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  86. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  87. package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
  88. package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
  89. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
  90. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
  91. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
  92. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +41 -1
  93. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  94. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  95. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
  96. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
  97. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
  98. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  99. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  100. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  101. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  102. package/dist/collection/utils/utils.js +8 -0
  103. package/dist/custom-elements/index.d.ts +6 -0
  104. package/dist/custom-elements/index.js +225 -40
  105. package/dist/esm/academic-form-test.entry.js +1 -1
  106. package/dist/esm/author-listing-example.entry.js +1 -1
  107. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  108. package/dist/esm/blog-detail-layout.entry.js +2 -2
  109. package/dist/esm/blogs-search-section.entry.js +2 -2
  110. package/dist/esm/bundle-example.entry.js +1 -1
  111. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  112. package/dist/esm/{component-274da230.js → component-80f298b4.js} +2592 -793
  113. package/dist/esm/dropdown-item.entry.js +1 -1
  114. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  115. package/dist/esm/embedded-form.entry.js +1 -1
  116. package/dist/esm/event-jumbotron-example.entry.js +7 -3
  117. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  118. package/dist/esm/featured-list.entry.js +2 -2
  119. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  120. package/dist/esm/footer-form.entry.js +1 -1
  121. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  122. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  123. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  124. package/dist/esm/icon-asset.entry.js +61 -0
  125. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  126. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  127. package/dist/esm/interfaces-4caedd26.js +12 -0
  128. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  129. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  130. package/dist/esm/list-item.entry.js +44 -0
  131. package/dist/esm/loader.js +3 -3
  132. package/dist/esm/max-width-container.entry.js +50 -0
  133. package/dist/esm/modal-form-example.entry.js +90 -0
  134. package/dist/esm/most-popular-news.entry.js +2 -2
  135. package/dist/esm/my-component.entry.js +2 -2
  136. package/dist/esm/news-search-result.entry.js +1 -1
  137. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  138. package/dist/esm/ptc-accordion.entry.js +1 -1
  139. package/dist/esm/ptc-announcement.entry.js +1 -1
  140. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  141. package/dist/esm/ptc-background-video.entry.js +98 -0
  142. package/dist/esm/ptc-badge.entry.js +1 -1
  143. package/dist/esm/ptc-bio-card.entry.js +2 -2
  144. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  145. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  146. package/dist/esm/ptc-button.entry.js +83 -0
  147. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  148. package/dist/esm/ptc-card-content.entry.js +1 -1
  149. package/dist/esm/ptc-card_2.entry.js +1 -1
  150. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  151. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  152. package/dist/esm/ptc-checkbox.entry.js +1 -1
  153. package/dist/esm/ptc-close-icon_2.entry.js +13 -4
  154. package/dist/esm/ptc-collapse-list.entry.js +15 -2
  155. package/dist/esm/ptc-container.entry.js +1 -1
  156. package/dist/esm/ptc-countdown.entry.js +1 -1
  157. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  158. package/dist/esm/ptc-date.entry.js +1 -1
  159. package/dist/esm/ptc-dropdown.entry.js +1 -1
  160. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  161. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  162. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  163. package/dist/esm/ptc-featured-list.entry.js +2 -2
  164. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  165. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  166. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  167. package/dist/esm/ptc-footer.entry.js +2 -2
  168. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  169. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  170. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  171. package/dist/esm/ptc-form.entry.js +1 -1
  172. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  173. package/dist/esm/ptc-hero.entry.js +1 -1
  174. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  175. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  176. package/dist/esm/ptc-icon-card.entry.js +9 -3
  177. package/dist/esm/ptc-icon-component.entry.js +1 -1
  178. package/dist/esm/ptc-icon-list.entry.js +1 -1
  179. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  180. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  181. package/dist/esm/ptc-img.entry.js +129 -0
  182. package/dist/esm/ptc-info-tile.entry.js +1 -1
  183. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  184. package/dist/esm/ptc-jumbotron.entry.js +147 -0
  185. package/dist/esm/ptc-link.entry.js +6 -3
  186. package/dist/esm/ptc-list.entry.js +1 -1
  187. package/dist/esm/ptc-media-card.entry.js +2 -2
  188. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  189. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  190. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  191. package/dist/esm/ptc-nav-card.entry.js +1 -1
  192. package/dist/esm/ptc-nav-link.entry.js +1 -1
  193. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  194. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  195. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  196. package/dist/esm/ptc-nav-submenu.entry.js +2 -2
  197. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  198. package/dist/esm/ptc-news.entry.js +1 -1
  199. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  200. package/dist/esm/ptc-office-locations.entry.js +1 -1
  201. package/dist/esm/ptc-overlay.entry.js +1 -1
  202. package/dist/esm/ptc-para.entry.js +123 -0
  203. package/dist/esm/ptc-picture.entry.js +159 -0
  204. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  205. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  206. package/dist/esm/ptc-previous-url.entry.js +11 -3
  207. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  208. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  209. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  210. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  211. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  212. package/dist/esm/ptc-product-card.entry.js +2 -2
  213. package/dist/esm/ptc-product-category.entry.js +2 -2
  214. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  215. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  216. package/dist/esm/ptc-product-list.entry.js +1 -1
  217. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  218. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  219. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  220. package/dist/esm/ptc-quote.entry.js +1 -1
  221. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  222. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  223. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  224. package/dist/esm/ptc-readmore.entry.js +1 -1
  225. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  226. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  227. package/dist/esm/ptc-scroll-button.entry.js +39 -1
  228. package/dist/esm/ptc-search-field.entry.js +1 -1
  229. package/dist/esm/ptc-seo-title.entry.js +1 -1
  230. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  231. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  232. package/dist/esm/ptc-skeleton.entry.js +1 -1
  233. package/dist/esm/ptc-slit-card.entry.js +1 -1
  234. package/dist/esm/ptc-social-icons-footer.entry.js +8 -3
  235. package/dist/esm/ptc-social-icons.entry.js +1 -1
  236. package/dist/esm/ptc-spacer.entry.js +34 -0
  237. package/dist/esm/ptc-span.entry.js +1 -1
  238. package/dist/esm/ptc-square-card.entry.js +1 -1
  239. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  240. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  241. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  242. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  243. package/dist/esm/ptc-subnav.entry.js +1 -1
  244. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  245. package/dist/esm/ptc-tab-list.entry.js +1 -1
  246. package/dist/esm/ptc-tab.entry.js +1 -1
  247. package/dist/esm/ptc-tabs.entry.js +1 -1
  248. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  249. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  250. package/dist/esm/ptc-title.entry.js +148 -0
  251. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  252. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  253. package/dist/esm/ptc-tooltip.entry.js +103 -0
  254. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  255. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  256. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  257. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  258. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  259. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  260. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  261. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  262. package/dist/esm/ptc-video-embed.entry.js +1 -1
  263. package/dist/esm/ptc-white-paper.entry.js +2 -2
  264. package/dist/esm/ptcw-design.js +3 -3
  265. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  266. package/dist/esm/sequential-bundle.entry.js +1 -1
  267. package/dist/esm/tab-content.entry.js +1 -1
  268. package/dist/esm/tab-header.entry.js +1 -1
  269. package/dist/esm/{utils-b7c6422e.js → utils-63eab4bd.js} +9 -1
  270. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  271. package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-ef0079b0.entry.js → p-071a6109.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
  276. package/dist/ptcw-design/p-0968cadd.entry.js +1 -0
  277. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  278. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  279. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  280. package/dist/ptcw-design/p-0d806031.entry.js +1 -0
  281. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-d5fbe774.entry.js → p-0ee01112.entry.js} +1 -1
  283. package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
  284. package/dist/ptcw-design/{p-f64fadad.entry.js → p-139a02e6.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-d955c44f.entry.js → p-158f6d50.entry.js} +1 -1
  286. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  287. package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  290. package/dist/ptcw-design/p-257deac0.entry.js +1 -0
  291. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  292. package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
  293. package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-d574d14a.entry.js → p-2749c178.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-eef5d58b.entry.js → p-27a4ee73.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-f7ff8ee1.entry.js → p-28be539b.entry.js} +1 -1
  299. package/dist/ptcw-design/p-291072b4.entry.js +1 -0
  300. package/dist/ptcw-design/p-29240ef8.entry.js +1 -0
  301. package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
  302. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  303. package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
  304. package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
  305. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-986be938.entry.js → p-40b8c884.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-0596f764.entry.js → p-48c33817.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-4f959e8f.entry.js → p-49e54079.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
  316. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  317. package/dist/ptcw-design/p-4ee98a3e.entry.js +1 -0
  318. package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
  319. package/dist/ptcw-design/p-50d68602.entry.js +1 -0
  320. package/dist/ptcw-design/{p-5588653b.entry.js → p-56a2a9dc.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  324. package/dist/ptcw-design/p-5c97ee54.entry.js +1 -0
  325. package/dist/ptcw-design/{p-f457709f.entry.js → p-5d885144.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  327. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  328. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  329. package/dist/ptcw-design/p-627103d8.entry.js +1 -0
  330. package/dist/ptcw-design/p-672a349f.js +336 -0
  331. package/dist/ptcw-design/{p-ea8e0b2e.entry.js → p-6a3caf2b.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
  333. package/dist/ptcw-design/p-6f3ac999.entry.js +1 -0
  334. package/dist/ptcw-design/{p-d2ed7e48.entry.js → p-6f5fecae.entry.js} +1 -1
  335. package/dist/ptcw-design/p-711bcdad.js +1 -0
  336. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-5c7faf2d.entry.js → p-72df6678.entry.js} +1 -1
  338. package/dist/ptcw-design/p-743e3cf5.entry.js +68 -0
  339. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  340. package/dist/ptcw-design/p-7793babb.entry.js +1 -0
  341. package/dist/ptcw-design/p-77b1221e.js +1 -0
  342. package/dist/ptcw-design/{p-9fa81b74.entry.js → p-77cad16c.entry.js} +1 -1
  343. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  344. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-94c59fac.entry.js → p-7b71abaf.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
  348. package/dist/ptcw-design/{p-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-5db96118.entry.js → p-821f0ff9.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-b5d0e4a2.entry.js → p-85c29073.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-3b6c2a79.entry.js → p-867a808f.entry.js} +1 -1
  355. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  358. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  359. package/dist/ptcw-design/p-8e297cd7.entry.js +1 -0
  360. package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
  361. package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
  362. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  363. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  364. package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
  365. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  366. package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
  367. package/dist/ptcw-design/p-99daf693.entry.js +1 -0
  368. package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  370. package/dist/ptcw-design/p-9a6bd91f.entry.js +1 -0
  371. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  374. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  375. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  376. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  377. package/dist/ptcw-design/p-9e9ae28c.entry.js +1 -0
  378. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  381. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  382. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  384. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  385. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  386. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-1e44cf5e.entry.js → p-b3bbd17d.entry.js} +1 -1
  388. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  389. package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
  390. package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
  391. package/dist/ptcw-design/{p-0151c2ee.entry.js → p-bb902570.entry.js} +1 -1
  392. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  393. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  395. package/dist/ptcw-design/p-c01ea76f.entry.js +1 -0
  396. package/dist/ptcw-design/{p-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
  397. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  398. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  399. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  400. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  401. package/dist/ptcw-design/p-cbee4653.entry.js +1 -0
  402. package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
  403. package/dist/ptcw-design/{p-ace3e87f.entry.js → p-d2825140.entry.js} +1 -1
  404. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  405. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  406. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  407. package/dist/ptcw-design/{p-e1242dd4.entry.js → p-d7275289.entry.js} +1 -1
  408. package/dist/ptcw-design/p-d756db27.entry.js +1 -0
  409. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  410. package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
  413. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  414. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-4464123f.entry.js → p-e577ad62.entry.js} +1 -1
  416. package/dist/ptcw-design/p-e89ce54f.entry.js +1 -0
  417. package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-9db0897a.entry.js → p-e9f12e0d.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-7267b11d.entry.js → p-ea7369e9.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-ade21638.entry.js → p-eec2f3da.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-70a5f144.entry.js → p-f4699d4e.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  426. package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
  427. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  428. package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
  429. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  430. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-4335d7f3.entry.js → p-fe907670.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-5b0bc600.entry.js → p-fec1acdf.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.entry.js} +1 -1
  434. package/dist/ptcw-design/ptcw-design.css +2 -2
  435. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  436. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +1 -0
  437. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  438. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  439. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +2 -0
  440. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  441. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  442. package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -1
  443. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  444. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  445. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +10 -0
  446. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  447. package/dist/types/components.d.ts +47 -4
  448. package/dist/types/utils/utils.d.ts +1 -0
  449. package/package.json +1 -1
  450. package/readme.md +5 -1
  451. package/dist/cjs/component-5b5b6a98.js +0 -1819
  452. package/dist/cjs/icon-asset_13.cjs.entry.js +0 -1205
  453. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  454. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  455. package/dist/esm/component-341e4eaa.js +0 -1802
  456. package/dist/esm/icon-asset_13.entry.js +0 -1189
  457. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  458. package/dist/esm/validation-messages-adbb6518.js +0 -124
  459. package/dist/ptcw-design/p-031ee788.entry.js +0 -1
  460. package/dist/ptcw-design/p-03e0fa1d.entry.js +0 -1
  461. package/dist/ptcw-design/p-07c2bdae.entry.js +0 -1
  462. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  463. package/dist/ptcw-design/p-18a5a338.js +0 -1
  464. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  465. package/dist/ptcw-design/p-2aa419ae.entry.js +0 -1
  466. package/dist/ptcw-design/p-2ead689e.entry.js +0 -1
  467. package/dist/ptcw-design/p-32243b95.entry.js +0 -1
  468. package/dist/ptcw-design/p-36b5cea1.entry.js +0 -1
  469. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  470. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  471. package/dist/ptcw-design/p-3e06f959.entry.js +0 -1
  472. package/dist/ptcw-design/p-437cee5b.entry.js +0 -1
  473. package/dist/ptcw-design/p-4819422a.entry.js +0 -1
  474. package/dist/ptcw-design/p-520542e2.entry.js +0 -1
  475. package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
  476. package/dist/ptcw-design/p-5be9d20c.entry.js +0 -1
  477. package/dist/ptcw-design/p-6b4c37a1.entry.js +0 -1
  478. package/dist/ptcw-design/p-6f9b7842.entry.js +0 -1
  479. package/dist/ptcw-design/p-72681e91.entry.js +0 -1
  480. package/dist/ptcw-design/p-7c416916.entry.js +0 -1
  481. package/dist/ptcw-design/p-841b807d.js +0 -1
  482. package/dist/ptcw-design/p-899a1931.entry.js +0 -1
  483. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  484. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  485. package/dist/ptcw-design/p-9ae901e2.entry.js +0 -1
  486. package/dist/ptcw-design/p-a14ef9c4.entry.js +0 -1
  487. package/dist/ptcw-design/p-a2e0ebdf.entry.js +0 -1
  488. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  489. package/dist/ptcw-design/p-ac860994.entry.js +0 -1
  490. package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
  491. package/dist/ptcw-design/p-be533f0d.js +0 -134
  492. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  493. package/dist/ptcw-design/p-cc62e907.entry.js +0 -1
  494. package/dist/ptcw-design/p-cd4ab396.entry.js +0 -68
  495. package/dist/ptcw-design/p-ce6349f1.entry.js +0 -1
  496. package/dist/ptcw-design/p-d1d01eb7.entry.js +0 -1
  497. package/dist/ptcw-design/p-dd978236.entry.js +0 -1
  498. package/dist/ptcw-design/p-e4c56952.entry.js +0 -1
  499. package/dist/ptcw-design/p-f5dd551a.entry.js +0 -1
  500. package/dist/ptcw-design/p-f6c3ae79.entry.js +0 -1
@@ -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
+ }
@@ -82,23 +82,38 @@ 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), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .background-plm-grey a.light-link {
86
86
  color: var(--color-blue-04);
87
+ margin: -2px;
88
+ border: 2px solid transparent;
87
89
  }
88
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):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):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):visited, .background-plm-grey a.light-link:visited {
89
91
  color: var(--color-blue-06);
90
92
  }
91
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
92
94
  transition: none;
93
95
  color: var(--color-blue-07);
94
96
  }
95
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
96
98
  color: var(--color-blue-05);
97
99
  }
98
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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).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).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).disabled, .background-plm-grey a.light-link.disabled {
99
101
  color: var(--color-gray-04) !important;
100
102
  cursor: not-allowed;
101
103
  }
104
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
105
+ border-radius: var(--ptc-border-radius-standard);
106
+ border: 2px solid white;
107
+ outline: 5px solid var(--keyboard-nav-outline);
108
+ }
109
+ .light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
110
+ border: 2px solid transparent;
111
+ }
112
+ .light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
113
+ border-radius: var(--ptc-border-radius-standard);
114
+ border: 2px solid white;
115
+ outline: 5px solid var(--keyboard-nav-outline);
116
+ }
102
117
 
103
118
  .ptc-link {
104
119
  color: var(--color-gray-10);
@@ -284,7 +299,6 @@ a:focus-visible {
284
299
  }
285
300
  :host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon {
286
301
  margin-bottom: 10px;
287
- z-index: 99999999;
288
302
  }
289
303
  :host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child {
290
304
  margin-bottom: 0;
@@ -375,9 +389,6 @@ a:focus-visible {
375
389
  background: var(--color-gray-10);
376
390
  border-radius: 2rem;
377
391
  }
378
- :host .social-icon {
379
- z-index: 99999999;
380
- }
381
392
  :host .social-icon .cls-1 {
382
393
  transition: all ease-in 250ms;
383
394
  }
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from '@stencil/core';
2
- import { getSeoTagType } from '../../utils/utils';
2
+ import { getSeoTagType, CheckDarkFocusState } from '../../utils/utils';
3
3
  export class PtcButton {
4
4
  constructor() {
5
5
  this.disabled = false;
@@ -27,6 +27,9 @@ export class PtcButton {
27
27
  clickEventHandler() {
28
28
  this.clickEvent.emit();
29
29
  }
30
+ componentWillLoad() {
31
+ CheckDarkFocusState(this, this.el);
32
+ }
30
33
  seoCompRender() {
31
34
  const classMap = this.getCssClassMap();
32
35
  const Tag = !!this.linkHref ? 'a' : 'button';
@@ -781,23 +781,38 @@ a:focus-visible {
781
781
  border-radius: var(--ptc-border-radius-standard);
782
782
  }
783
783
 
784
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
784
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .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), .background-plm-grey a.light-link {
785
785
  color: var(--color-blue-04);
786
+ margin: -2px;
787
+ border: 2px solid transparent;
786
788
  }
787
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
789
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):visited, .background-plm-grey a.light-link:visited {
788
790
  color: var(--color-blue-06);
789
791
  }
790
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
792
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
791
793
  transition: none;
792
794
  color: var(--color-blue-07);
793
795
  }
794
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
796
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
795
797
  color: var(--color-blue-05);
796
798
  }
797
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
799
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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).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).disabled, .background-plm-grey a.light-link.disabled {
798
800
  color: var(--color-gray-04) !important;
799
801
  cursor: not-allowed;
800
802
  }
803
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
804
+ border-radius: var(--ptc-border-radius-standard);
805
+ border: 2px solid white;
806
+ outline: 5px solid var(--keyboard-nav-outline);
807
+ }
808
+ .light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
809
+ border: 2px solid transparent;
810
+ }
811
+ .light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
812
+ border-radius: var(--ptc-border-radius-standard);
813
+ border: 2px solid white;
814
+ outline: 5px solid var(--keyboard-nav-outline);
815
+ }
801
816
 
802
817
  .ptc-link {
803
818
  color: var(--color-gray-10);
@@ -21,6 +21,7 @@ export class PtcCollapseList {
21
21
  this.placeholderText = undefined;
22
22
  this.debounceUpdateDelay = undefined;
23
23
  this.allowMultiSelect = true;
24
+ this.expandFirstItem = false;
24
25
  }
25
26
  componentWillLoad() {
26
27
  this.loadListItems();
@@ -41,6 +42,18 @@ export class PtcCollapseList {
41
42
  });
42
43
  };
43
44
  this.debouncedUpdatedEvent = debounce(event, this.debounceUpdateDelay, this);
45
+ if (this.expandFirstItem) {
46
+ this.firstItemExpand();
47
+ }
48
+ }
49
+ firstItemExpand() {
50
+ var _a;
51
+ const firstItem = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.level-1');
52
+ firstItem === null || firstItem === void 0 ? void 0 : firstItem.classList.add('expanded');
53
+ const ulElement = firstItem === null || firstItem === void 0 ? void 0 : firstItem.querySelector('ul');
54
+ if (ulElement) {
55
+ ulElement.style.maxHeight = `${ulElement.scrollHeight}px`;
56
+ }
44
57
  }
45
58
  componentDidUpdate() {
46
59
  this.viewUpdated.emit({
@@ -592,6 +605,24 @@ export class PtcCollapseList {
592
605
  "attribute": "allow-multi-select",
593
606
  "reflect": false,
594
607
  "defaultValue": "true"
608
+ },
609
+ "expandFirstItem": {
610
+ "type": "boolean",
611
+ "mutable": false,
612
+ "complexType": {
613
+ "original": "boolean",
614
+ "resolved": "boolean",
615
+ "references": {}
616
+ },
617
+ "required": false,
618
+ "optional": false,
619
+ "docs": {
620
+ "tags": [],
621
+ "text": ""
622
+ },
623
+ "attribute": "expand-first-item",
624
+ "reflect": false,
625
+ "defaultValue": "false"
595
626
  }
596
627
  };
597
628
  }
@@ -82,23 +82,38 @@ 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), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .background-plm-grey a.light-link {
86
86
  color: var(--color-blue-04);
87
+ margin: -2px;
88
+ border: 2px solid transparent;
87
89
  }
88
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):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):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):visited, .background-plm-grey a.light-link:visited {
89
91
  color: var(--color-blue-06);
90
92
  }
91
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
92
94
  transition: none;
93
95
  color: var(--color-blue-07);
94
96
  }
95
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
96
98
  color: var(--color-blue-05);
97
99
  }
98
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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).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).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).disabled, .background-plm-grey a.light-link.disabled {
99
101
  color: var(--color-gray-04) !important;
100
102
  cursor: not-allowed;
101
103
  }
104
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
105
+ border-radius: var(--ptc-border-radius-standard);
106
+ border: 2px solid white;
107
+ outline: 5px solid var(--keyboard-nav-outline);
108
+ }
109
+ .light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
110
+ border: 2px solid transparent;
111
+ }
112
+ .light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
113
+ border-radius: var(--ptc-border-radius-standard);
114
+ border: 2px solid white;
115
+ outline: 5px solid var(--keyboard-nav-outline);
116
+ }
102
117
 
103
118
  .ptc-link {
104
119
  color: var(--color-gray-10);
@@ -139,23 +139,38 @@ a:focus-visible {
139
139
  border-radius: var(--ptc-border-radius-standard);
140
140
  }
141
141
 
142
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
142
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .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), .background-plm-grey a.light-link {
143
143
  color: var(--color-blue-04);
144
+ margin: -2px;
145
+ border: 2px solid transparent;
144
146
  }
145
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
147
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):visited, .background-plm-grey a.light-link:visited {
146
148
  color: var(--color-blue-06);
147
149
  }
148
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
150
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
149
151
  transition: none;
150
152
  color: var(--color-blue-07);
151
153
  }
152
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
154
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
153
155
  color: var(--color-blue-05);
154
156
  }
155
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
157
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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).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).disabled, .background-plm-grey a.light-link.disabled {
156
158
  color: var(--color-gray-04) !important;
157
159
  cursor: not-allowed;
158
160
  }
161
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
162
+ border-radius: var(--ptc-border-radius-standard);
163
+ border: 2px solid white;
164
+ outline: 5px solid var(--keyboard-nav-outline);
165
+ }
166
+ .light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
167
+ border: 2px solid transparent;
168
+ }
169
+ .light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
170
+ border-radius: var(--ptc-border-radius-standard);
171
+ border: 2px solid white;
172
+ outline: 5px solid var(--keyboard-nav-outline);
173
+ }
159
174
 
160
175
  .ptc-link {
161
176
  color: var(--color-gray-10);
@@ -67,11 +67,12 @@ ptc-footer ul {
67
67
  list-style: none;
68
68
  }
69
69
  ptc-footer ul li a {
70
+ margin: -2px;
71
+ border: 2px solid transparent;
70
72
  text-decoration: underline;
71
73
  text-underline-offset: 6px;
72
74
  text-decoration-thickness: 1px;
73
75
  text-decoration-color: transparent;
74
- border-bottom: none;
75
76
  transition: text-decoration var(--ptc-transition-medium) var(--ptc-ease-inout);
76
77
  color: var(--color-white) !important;
77
78
  }
@@ -87,6 +88,11 @@ ptc-footer ul li a:active {
87
88
  transition: none;
88
89
  text-decoration-color: var(--color-gray-04);
89
90
  }
91
+ ptc-footer ul li a:focus-visible {
92
+ border-radius: var(--ptc-border-radius-standard);
93
+ border: 2px solid white;
94
+ outline: 5px solid var(--keyboard-nav-outline);
95
+ }
90
96
  ptc-footer .gap-20 {
91
97
  grid-column-gap: 20px;
92
98
  grid-row-gap: 20px;
@@ -237,11 +243,18 @@ ptc-footer .footer-bottom ul li, ptc-footer .footer-bottom ol li {
237
243
  font-size: var(--ptc-font-size-xx-small);
238
244
  }
239
245
  ptc-footer .footer-bottom .logo {
246
+ margin: -2px;
240
247
  margin-bottom: var(--ptc-element-spacing-06);
241
248
  }
242
249
  ptc-footer .footer-bottom .logo a {
250
+ border: 2px solid transparent;
243
251
  display: inline-block;
244
252
  }
253
+ ptc-footer .footer-bottom .logo a:focus-visible {
254
+ border-radius: var(--ptc-border-radius-standard);
255
+ border: 2px solid white;
256
+ outline: 5px solid var(--keyboard-nav-outline);
257
+ }
245
258
  ptc-footer .footer-bottom .logo .footer-ptc-logo {
246
259
  width: 78px;
247
260
  height: 28px;
@@ -71,6 +71,7 @@ ptc-link, ptc-square-card,
71
71
  padding: 20px;
72
72
  background-color: var(--color-gray-10);
73
73
  border-radius: var(--ptc-border-radius-standard);
74
+ border: 2px solid transparent;
74
75
  align-items: center;
75
76
  text-decoration: none;
76
77
  text-align: center;
@@ -109,6 +110,15 @@ ptc-link, ptc-square-card,
109
110
  :host a span {
110
111
  display: block;
111
112
  }
113
+ :host a:focus-visible {
114
+ border-radius: var(--ptc-border-radius-standard);
115
+ outline: 5px solid var(--keyboard-nav-outline);
116
+ }
117
+ :host .dark-bg a:focus-visible {
118
+ border-radius: var(--ptc-border-radius-standard);
119
+ border: 2px solid white;
120
+ outline: 5px solid var(--keyboard-nav-outline);
121
+ }
112
122
  :host .card-icon {
113
123
  width: 2rem;
114
124
  height: 2rem;
@@ -1,12 +1,17 @@
1
1
  import { Host, h } from '@stencil/core';
2
+ import { CheckDarkFocusState } from '../../utils/utils';
2
3
  export class PtcIconCard {
3
4
  constructor() {
4
5
  this.cardHref = undefined;
5
6
  this.target = undefined;
6
7
  this.trackerId = undefined;
8
+ this.darkFocusState = false;
9
+ }
10
+ componentWillLoad() {
11
+ CheckDarkFocusState(this, this.el, '.light-links,ptc-footer');
7
12
  }
8
13
  render() {
9
- return (h(Host, null, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("a", { href: this.cardHref, target: this.target }, h("div", null, h("span", { class: 'card-icon' }, h("slot", null)), h("div", { class: 'card-title' }, h("slot", { name: 'card-title' })))))));
14
+ return (h(Host, null, h("div", { id: this.trackerId, class: this.darkFocusState ? `tracker-div mf-listen dark-bg` : `tracker-div mf-listenstandard-bg` }, h("a", { href: this.cardHref, target: this.target }, h("div", null, h("span", { class: 'card-icon' }, h("slot", null)), h("div", { class: 'card-title' }, h("slot", { name: 'card-title' })))))));
10
15
  }
11
16
  static get is() { return "ptc-icon-card"; }
12
17
  static get encapsulation() { return "shadow"; }
@@ -72,7 +77,26 @@ export class PtcIconCard {
72
77
  },
73
78
  "attribute": "tracker-id",
74
79
  "reflect": false
80
+ },
81
+ "darkFocusState": {
82
+ "type": "boolean",
83
+ "mutable": false,
84
+ "complexType": {
85
+ "original": "boolean",
86
+ "resolved": "boolean",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": "Add dark-focus-state property where button is present on dark backgrounds"
94
+ },
95
+ "attribute": "dark-focus-state",
96
+ "reflect": false,
97
+ "defaultValue": "false"
75
98
  }
76
99
  };
77
100
  }
101
+ static get elementRef() { return "el"; }
78
102
  }
@@ -1178,23 +1178,38 @@ a:focus-visible {
1178
1178
  border-radius: var(--ptc-border-radius-standard);
1179
1179
  }
1180
1180
 
1181
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
1181
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .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), .background-plm-grey a.light-link {
1182
1182
  color: var(--color-blue-04);
1183
+ margin: -2px;
1184
+ border: 2px solid transparent;
1183
1185
  }
1184
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
1186
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):visited, .background-plm-grey a.light-link:visited {
1185
1187
  color: var(--color-blue-06);
1186
1188
  }
1187
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
1189
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
1188
1190
  transition: none;
1189
1191
  color: var(--color-blue-07);
1190
1192
  }
1191
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
1193
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
1192
1194
  color: var(--color-blue-05);
1193
1195
  }
1194
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
1196
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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).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).disabled, .background-plm-grey a.light-link.disabled {
1195
1197
  color: var(--color-gray-04) !important;
1196
1198
  cursor: not-allowed;
1197
1199
  }
1200
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
1201
+ border-radius: var(--ptc-border-radius-standard);
1202
+ border: 2px solid white;
1203
+ outline: 5px solid var(--keyboard-nav-outline);
1204
+ }
1205
+ .light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
1206
+ border: 2px solid transparent;
1207
+ }
1208
+ .light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
1209
+ border-radius: var(--ptc-border-radius-standard);
1210
+ border: 2px solid white;
1211
+ outline: 5px solid var(--keyboard-nav-outline);
1212
+ }
1198
1213
 
1199
1214
  .ptc-link {
1200
1215
  color: var(--color-gray-10);
@@ -74,6 +74,10 @@ ptc-link, ptc-square-card,
74
74
  text-decoration: none;
75
75
  transition: color var(--ptc-transition-fast) var(--ptc-ease-inout);
76
76
  }
77
+ .ptc-link.focus-state-dark-background {
78
+ border: 2px solid transparent;
79
+ margin: -2px;
80
+ }
77
81
  .ptc-link:active {
78
82
  transition: none;
79
83
  }
@@ -96,6 +100,10 @@ ptc-link, ptc-square-card,
96
100
  text-decoration-thickness: 2px;
97
101
  transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
98
102
  }
103
+ .simple.focus-state-dark-background {
104
+ border: 2px solid transparent;
105
+ margin: -2px;
106
+ }
99
107
  .simple:hover {
100
108
  color: var(--color-green-06);
101
109
  transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from '@stencil/core';
2
- import { getSeoTagType } from '../../utils/utils';
2
+ import { getSeoTagType, CheckDarkFocusState } from '../../utils/utils';
3
3
  export class PtcLink {
4
4
  constructor() {
5
5
  this.disabled = false;
@@ -17,6 +17,9 @@ export class PtcLink {
17
17
  this.tabNav = 0;
18
18
  this.darkFocusState = false;
19
19
  }
20
+ componentWillLoad() {
21
+ CheckDarkFocusState(this, this.el);
22
+ }
20
23
  seoCompRender() {
21
24
  const classMap = this.getCssClassMap();
22
25
  const [TagType, firstChild] = getSeoTagType(this.el, "a");