@ptcwebops/ptcw-design 6.2.8 → 6.2.9-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 (267) 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-4dd13907.js} +2643 -832
  5. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +1349 -0
  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/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  12. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  13. package/dist/cjs/my-component.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-card-bottom.cjs.entry.js +46 -0
  18. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  21. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  24. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +795 -10
  25. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  28. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  33. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  41. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  44. package/dist/cjs/ptcw-design.cjs.js +1 -1
  45. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  46. package/dist/collection/collection-manifest.json +1 -0
  47. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +48 -2
  48. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
  49. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
  50. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +26 -0
  51. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +23 -1
  52. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  53. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  54. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -5
  55. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  56. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
  57. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
  58. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
  59. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  60. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  61. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  62. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
  63. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  64. package/dist/collection/components/ptc-link/ptc-link.js +4 -1
  65. package/dist/collection/components/ptc-modal/ptc-modal.css +94 -0
  66. package/dist/collection/components/ptc-modal/ptc-modal.js +104 -7
  67. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  68. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  69. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
  70. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  71. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  72. package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
  73. package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
  74. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
  75. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
  76. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
  77. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +20 -1
  78. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +79 -2
  79. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  80. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  81. package/dist/collection/components/ptc-textfield/ptc-textfield.css +51 -0
  82. package/dist/collection/components/ptc-textfield/ptc-textfield.js +59 -4
  83. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
  84. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
  85. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
  86. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  87. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  88. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  89. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  90. package/dist/collection/utils/utils.js +8 -0
  91. package/dist/custom-elements/index.d.ts +6 -0
  92. package/dist/custom-elements/index.js +227 -47
  93. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  94. package/dist/esm/blog-detail-layout.entry.js +1 -1
  95. package/dist/esm/blogs-search-section.entry.js +1 -1
  96. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  97. package/dist/esm/event-jumbotron-example_15.entry.js +1331 -0
  98. package/dist/esm/featured-list.entry.js +1 -1
  99. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  100. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  101. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/esm/modal-form-example.entry.js +90 -0
  104. package/dist/esm/most-popular-news.entry.js +1 -1
  105. package/dist/esm/my-component.entry.js +1 -1
  106. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  107. package/dist/esm/ptc-background-video.entry.js +1 -1
  108. package/dist/esm/ptc-bio-card.entry.js +1 -1
  109. package/dist/esm/ptc-card-bottom.entry.js +42 -0
  110. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  111. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  112. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  113. package/dist/esm/ptc-featured-list.entry.js +1 -1
  114. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  115. package/dist/esm/ptc-footer.entry.js +1 -1
  116. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +792 -9
  117. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  118. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  119. package/dist/esm/ptc-icon-card.entry.js +9 -3
  120. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  121. package/dist/esm/ptc-media-card.entry.js +1 -1
  122. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  123. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  124. package/dist/esm/ptc-previous-url.entry.js +10 -2
  125. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  126. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  127. package/dist/esm/ptc-product-card.entry.js +1 -1
  128. package/dist/esm/ptc-product-category.entry.js +1 -1
  129. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  130. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  131. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  132. package/dist/esm/ptc-social-icons-footer.entry.js +7 -2
  133. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  134. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  135. package/dist/esm/ptc-white-paper.entry.js +1 -1
  136. package/dist/esm/ptcw-design.js +1 -1
  137. package/dist/esm/{utils-1bbe0c30.js → utils-ff65c75b.js} +9 -1
  138. package/dist/ptcw-design/media/designer-v6.0.6.svg +48 -2
  139. package/dist/ptcw-design/{p-1cff585f.entry.js → p-0d806031.entry.js} +1 -1
  140. package/dist/ptcw-design/{p-4fc9c83b.entry.js → p-11e0edaf.entry.js} +1 -1
  141. package/dist/ptcw-design/p-1b257420.entry.js +1 -0
  142. package/dist/ptcw-design/p-1f62e213.entry.js +1 -0
  143. package/dist/ptcw-design/p-257deac0.entry.js +1 -0
  144. package/dist/ptcw-design/{p-fce2bd81.entry.js → p-2749c178.entry.js} +1 -1
  145. package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
  146. package/dist/ptcw-design/{p-942850e0.entry.js → p-2c6fc745.entry.js} +1 -1
  147. package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
  148. package/dist/ptcw-design/p-36007a57.entry.js +1 -0
  149. package/dist/ptcw-design/p-50d68602.entry.js +1 -0
  150. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  151. package/dist/ptcw-design/{p-5602ffb4.entry.js → p-5ef88025.entry.js} +1 -1
  152. package/dist/ptcw-design/p-6c2b4fb8.entry.js +1 -0
  153. package/dist/ptcw-design/{p-f07e64f2.entry.js → p-6d3326da.entry.js} +1 -1
  154. package/dist/ptcw-design/{p-085e82b8.entry.js → p-72df6678.entry.js} +1 -1
  155. package/dist/ptcw-design/p-77b8ce07.entry.js +68 -0
  156. package/dist/ptcw-design/{p-d1857ada.entry.js → p-77cad16c.entry.js} +1 -1
  157. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  158. package/dist/ptcw-design/{p-990bcbc4.entry.js → p-7a9611b4.entry.js} +1 -1
  159. package/dist/ptcw-design/{p-2ac7e3ce.entry.js → p-808ec62a.entry.js} +1 -1
  160. package/dist/ptcw-design/p-8872161f.js +1 -0
  161. package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
  162. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  163. package/dist/ptcw-design/p-a2d9831c.entry.js +1 -0
  164. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  165. package/dist/ptcw-design/{p-65f19054.entry.js → p-ae970a60.entry.js} +1 -1
  166. package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
  167. package/dist/ptcw-design/{p-a3a04f4e.entry.js → p-bb902570.entry.js} +1 -1
  168. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  169. package/dist/ptcw-design/{p-4036055e.entry.js → p-c37a3bd2.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-717d3a75.entry.js → p-c66b8926.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-56a4c6d4.entry.js → p-c95f423e.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-dee4bb6c.entry.js → p-d10cb999.entry.js} +1 -1
  173. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  174. package/dist/ptcw-design/{p-48183365.entry.js → p-d756db27.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-873c711b.entry.js → p-d9abe7e8.entry.js} +1 -1
  176. package/dist/ptcw-design/{p-53f49500.entry.js → p-da82dc93.entry.js} +1 -1
  177. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  178. package/dist/ptcw-design/{p-deebd138.entry.js → p-e3f8e5d5.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-b4564411.entry.js → p-e4000363.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-d3e5b65c.entry.js → p-ea7369e9.entry.js} +1 -1
  181. package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
  182. package/dist/ptcw-design/ptcw-design.css +2 -2
  183. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  184. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +1 -0
  185. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  186. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  187. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  188. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  189. package/dist/types/components/ptc-modal/ptc-modal.d.ts +7 -2
  190. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  191. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  192. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +12 -0
  193. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  194. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +3 -0
  195. package/dist/types/components.d.ts +59 -6
  196. package/dist/types/utils/utils.d.ts +1 -0
  197. package/package.json +1 -1
  198. package/readme.md +5 -1
  199. package/dist/cjs/component-5b5b6a98.js +0 -1819
  200. package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -127
  201. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  202. package/dist/cjs/list-item.cjs.entry.js +0 -48
  203. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  204. package/dist/cjs/ptc-button.cjs.entry.js +0 -84
  205. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -132
  206. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
  207. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -211
  208. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  209. package/dist/cjs/ptc-link.cjs.entry.js +0 -95
  210. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  211. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  212. package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -81
  213. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  214. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  215. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  216. package/dist/esm/component-341e4eaa.js +0 -1802
  217. package/dist/esm/event-jumbotron-example.entry.js +0 -123
  218. package/dist/esm/icon-asset.entry.js +0 -61
  219. package/dist/esm/list-item.entry.js +0 -44
  220. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  221. package/dist/esm/ptc-button.entry.js +0 -80
  222. package/dist/esm/ptc-card-bottom_2.entry.js +0 -127
  223. package/dist/esm/ptc-card-content.entry.js +0 -64
  224. package/dist/esm/ptc-close-icon_2.entry.js +0 -206
  225. package/dist/esm/ptc-img.entry.js +0 -129
  226. package/dist/esm/ptc-link.entry.js +0 -91
  227. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  228. package/dist/esm/ptc-para.entry.js +0 -123
  229. package/dist/esm/ptc-scroll-button.entry.js +0 -77
  230. package/dist/esm/ptc-spacer.entry.js +0 -34
  231. package/dist/esm/ptc-title.entry.js +0 -148
  232. package/dist/esm/validation-messages-adbb6518.js +0 -124
  233. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  234. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  235. package/dist/ptcw-design/p-136a91bf.entry.js +0 -1
  236. package/dist/ptcw-design/p-18a5a338.js +0 -1
  237. package/dist/ptcw-design/p-18f59395.entry.js +0 -1
  238. package/dist/ptcw-design/p-1b7087e7.entry.js +0 -1
  239. package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
  240. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  241. package/dist/ptcw-design/p-2e19248b.entry.js +0 -1
  242. package/dist/ptcw-design/p-3f71553e.entry.js +0 -1
  243. package/dist/ptcw-design/p-453aee98.entry.js +0 -1
  244. package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
  245. package/dist/ptcw-design/p-583608d9.entry.js +0 -1
  246. package/dist/ptcw-design/p-5d885144.entry.js +0 -1
  247. package/dist/ptcw-design/p-71d73712.entry.js +0 -1
  248. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  249. package/dist/ptcw-design/p-78be481f.entry.js +0 -1
  250. package/dist/ptcw-design/p-8b3ebdff.entry.js +0 -1
  251. package/dist/ptcw-design/p-8daf00ae.entry.js +0 -1
  252. package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
  253. package/dist/ptcw-design/p-ad87bdab.js +0 -1
  254. package/dist/ptcw-design/p-b35ad9ee.entry.js +0 -1
  255. package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
  256. package/dist/ptcw-design/p-b6e5379a.entry.js +0 -1
  257. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  258. package/dist/ptcw-design/p-be533f0d.js +0 -134
  259. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  260. package/dist/ptcw-design/p-d734b373.entry.js +0 -1
  261. package/dist/ptcw-design/p-dc488936.entry.js +0 -1
  262. package/dist/ptcw-design/p-dd73c4d1.entry.js +0 -1
  263. package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
  264. package/dist/ptcw-design/p-e9403129.entry.js +0 -68
  265. package/dist/ptcw-design/p-e9a7475b.entry.js +0 -1
  266. package/dist/ptcw-design/p-f65adb71.entry.js +0 -1
  267. package/dist/ptcw-design/p-fcad5568.entry.js +0 -1
@@ -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
+ }
@@ -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);
@@ -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);
@@ -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");