@ptcwebops/ptcw-design 6.3.33 → 6.3.34-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 (401) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  2. package/dist/cjs/embedded-form.cjs.entry.js +1 -1
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/icon-asset.cjs.entry.js +1 -1
  5. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  6. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -3
  8. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  9. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-button.cjs.entry.js +3 -5
  12. package/dist/cjs/ptc-card_2.cjs.entry.js +7 -10
  13. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
  14. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +28 -29
  15. package/dist/cjs/ptc-countdown.cjs.entry.js +10 -7
  16. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  17. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +9 -40
  21. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +3 -18
  22. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +803 -39
  23. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
  24. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -4
  25. package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
  27. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  30. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -4
  36. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
  37. package/dist/cjs/ptc-quote.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-related-card-rail.cjs.entry.js +38 -42
  41. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -9
  42. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -7
  43. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +8 -42
  44. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-white-paper.cjs.entry.js +14 -15
  47. package/dist/cjs/ptcw-design.cjs.js +1 -3
  48. package/dist/collection/collection-manifest.json +2 -2
  49. package/dist/collection/components/icon-asset/icon-asset.js +1 -1
  50. package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  51. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  52. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
  53. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  54. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +1 -1
  55. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  56. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  57. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +1 -1
  58. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  59. package/dist/collection/components/ptc-button/ptc-button.css +0 -100
  60. package/dist/collection/components/ptc-button/ptc-button.js +4 -24
  61. package/dist/collection/components/ptc-card/ptc-card.js +2 -21
  62. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  63. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
  64. package/dist/collection/components/ptc-countdown/ptc-countdown.js +10 -7
  65. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
  66. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
  67. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  68. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -12
  69. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +3 -29
  70. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -34
  71. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +2 -17
  72. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
  73. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  74. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +0 -3
  75. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  76. package/dist/collection/components/ptc-modal/ptc-modal.js +29 -30
  77. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
  78. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
  79. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  80. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  81. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  82. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -109
  83. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -6
  84. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  85. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  86. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +2 -2
  87. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  88. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  89. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  90. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  91. package/dist/collection/components/ptc-product-list/ptc-product-list.js +0 -4
  92. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -8
  93. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
  94. package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
  95. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  96. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  97. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +38 -63
  98. package/dist/collection/components/ptc-select/ptc-select.js +4 -8
  99. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -9
  100. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -7
  101. package/dist/collection/components/ptc-textfield/ptc-textfield.css +4 -69
  102. package/dist/collection/components/ptc-textfield/ptc-textfield.js +37 -77
  103. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -6
  104. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
  105. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +0 -15
  106. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +9 -67
  107. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +3 -8
  108. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  109. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  110. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  111. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +13 -14
  112. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
  113. package/dist/collection/stories/Card.stories.js +148 -3
  114. package/dist/collection/stories/Link.stories.js +13 -25
  115. package/dist/collection/stories/Paragraph.stories.js +10 -18
  116. package/dist/collection/stories/Select.stories.js +8 -5
  117. package/dist/collection/stories/Textfield.stories.js +28 -71
  118. package/dist/collection/stories/Title.stories.js +16 -28
  119. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  120. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  121. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  122. package/dist/collection/utils/validation-messages.js +2 -49
  123. package/dist/custom-elements/index.d.ts +6 -0
  124. package/dist/custom-elements/index.js +412 -575
  125. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  126. package/dist/esm/embedded-form.entry.js +1 -1
  127. package/dist/esm/featured-list.entry.js +1 -1
  128. package/dist/esm/icon-asset.entry.js +1 -1
  129. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  130. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  131. package/dist/esm/loader.js +1 -3
  132. package/dist/esm/modal-form-example.entry.js +90 -0
  133. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  134. package/dist/esm/ptc-bio-card.entry.js +1 -1
  135. package/dist/esm/ptc-button.entry.js +3 -5
  136. package/dist/esm/ptc-card_2.entry.js +7 -10
  137. package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
  138. package/dist/esm/ptc-close-icon_2.entry.js +28 -29
  139. package/dist/esm/ptc-countdown.entry.js +10 -7
  140. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  141. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  142. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  143. package/dist/esm/ptc-featured-list.entry.js +1 -1
  144. package/dist/esm/ptc-filter-dropdown_4.entry.js +9 -40
  145. package/dist/esm/ptc-filter-level-theater.entry.js +3 -18
  146. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +801 -39
  147. package/dist/esm/ptc-info-tile.entry.js +1 -2
  148. package/dist/esm/ptc-jumbotron.entry.js +1 -4
  149. package/dist/esm/ptc-nav-link.entry.js +1 -1
  150. package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
  151. package/dist/esm/ptc-para.entry.js +1 -1
  152. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  153. package/dist/esm/ptc-previous-url.entry.js +10 -2
  154. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  155. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  156. package/dist/esm/ptc-product-card.entry.js +1 -1
  157. package/dist/esm/ptc-product-category.entry.js +1 -1
  158. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  159. package/dist/esm/ptc-product-list.entry.js +0 -4
  160. package/dist/esm/ptc-product-sidebar.entry.js +6 -38
  161. package/dist/esm/ptc-quote.entry.js +1 -1
  162. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  163. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  164. package/dist/esm/ptc-related-card-rail.entry.js +38 -42
  165. package/dist/esm/ptc-sticky-icons.entry.js +0 -9
  166. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -8
  167. package/dist/esm/ptc-theater-video-modal.entry.js +9 -43
  168. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  169. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  170. package/dist/esm/ptc-white-paper.entry.js +14 -15
  171. package/dist/esm/ptcw-design.js +1 -3
  172. package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  173. package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
  174. package/dist/ptcw-design/p-077839d5.entry.js +1 -0
  175. package/dist/ptcw-design/p-092e50c9.entry.js +1 -0
  176. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  177. package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
  178. package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
  179. package/dist/ptcw-design/p-1616a1f7.entry.js +1 -0
  180. package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
  181. package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
  182. package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
  183. package/dist/ptcw-design/{p-24776ca2.entry.js → p-2cc7e2a8.entry.js} +1 -1
  184. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  185. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  186. package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
  187. package/dist/ptcw-design/p-445329ed.entry.js +1 -0
  188. package/dist/ptcw-design/{p-260e573b.entry.js → p-4ca956c1.entry.js} +1 -1
  189. package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
  190. package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
  191. package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
  192. package/dist/ptcw-design/p-672a349f.js +336 -0
  193. package/dist/ptcw-design/{p-db1dcce0.entry.js → p-6d0ea48d.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
  195. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  196. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  197. package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
  198. package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
  199. package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
  200. package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
  201. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  202. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  203. package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
  204. package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-27c26d50.entry.js → p-9df7489b.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
  207. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  208. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  209. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  210. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  211. package/dist/ptcw-design/p-f0abe922.entry.js +1 -0
  212. package/dist/ptcw-design/p-f1734520.entry.js +1 -0
  213. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-b863b296.entry.js → p-fd87fcd5.entry.js} +1 -1
  215. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  216. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  217. package/dist/ptcw-design/ptcw-design.css +2 -2
  218. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  219. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  220. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -2
  221. package/dist/types/components/ptc-card/ptc-card.d.ts +0 -1
  222. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
  223. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -2
  224. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
  225. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
  226. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  227. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  228. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
  229. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
  230. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  231. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  232. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  233. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
  234. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +0 -3
  235. package/dist/types/components/ptc-select/ptc-select.d.ts +1 -2
  236. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +0 -2
  237. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +4 -58
  238. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
  239. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
  240. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
  241. package/dist/types/components.d.ts +24 -137
  242. package/dist/types/utils/validation-messages.d.ts +123 -4
  243. package/package.json +1 -1
  244. package/readme.md +5 -1
  245. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  246. package/dist/cjs/global-418c14b4.js +0 -33
  247. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -674
  248. package/dist/cjs/validation-messages-f1d373e7.js +0 -172
  249. package/dist/collection/global/global.js +0 -7
  250. package/dist/collection/stories/Jumbotron.stories.js +0 -727
  251. package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
  252. package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
  253. package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
  254. package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
  255. package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
  256. package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
  257. package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
  258. package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
  259. package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
  260. package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
  261. package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
  262. package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
  263. package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
  264. package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
  265. package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
  266. package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
  267. package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
  268. package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
  269. package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
  270. package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
  271. package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
  272. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
  273. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
  274. package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
  275. package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
  276. package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
  277. package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
  278. package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
  279. package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
  280. package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
  281. package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
  282. package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
  283. package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
  284. package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
  285. package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
  286. package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
  287. package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
  288. package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
  289. package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
  290. package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
  291. package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
  292. package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
  293. package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
  294. package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
  295. package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
  296. package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
  297. package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
  298. package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
  299. package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
  300. package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
  301. package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
  302. package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
  303. package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
  304. package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
  305. package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
  306. package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
  307. package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
  308. package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
  309. package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
  310. package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
  311. package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
  312. package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
  313. package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
  314. package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
  315. package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
  316. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
  317. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
  318. package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
  319. package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
  320. package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
  321. package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
  322. package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
  323. package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
  324. package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
  325. package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
  326. package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
  327. package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
  328. package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
  329. package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
  330. package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
  331. package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
  332. package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
  333. package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
  334. package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
  335. package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
  336. package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
  337. package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
  338. package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
  339. package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
  340. package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
  341. package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
  342. package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
  343. package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
  344. package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
  345. package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
  346. package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
  347. package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
  348. package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
  349. package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
  350. package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
  351. package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
  352. package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
  353. package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
  354. package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
  355. package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
  356. package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
  357. package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
  358. package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
  359. package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
  360. package/dist/collection/utils/fef-logger.js +0 -23
  361. package/dist/esm/component-9beac35b.js +0 -1802
  362. package/dist/esm/global-1a5f28d5.js +0 -31
  363. package/dist/esm/ptc-multi-select_2.entry.js +0 -669
  364. package/dist/esm/validation-messages-1379b825.js +0 -169
  365. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  366. package/dist/ptcw-design/p-02822616.entry.js +0 -1
  367. package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
  368. package/dist/ptcw-design/p-0efedf59.js +0 -1
  369. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  370. package/dist/ptcw-design/p-15a40f78.entry.js +0 -1
  371. package/dist/ptcw-design/p-18851303.entry.js +0 -1
  372. package/dist/ptcw-design/p-1feb2812.entry.js +0 -1
  373. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  374. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  375. package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
  376. package/dist/ptcw-design/p-3e4ec8ef.entry.js +0 -1
  377. package/dist/ptcw-design/p-539639ff.entry.js +0 -1
  378. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  379. package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
  380. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  381. package/dist/ptcw-design/p-7e8daa35.entry.js +0 -1
  382. package/dist/ptcw-design/p-98426799.js +0 -203
  383. package/dist/ptcw-design/p-98844b50.js +0 -134
  384. package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
  385. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  386. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  387. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  388. package/dist/ptcw-design/p-b6255525.entry.js +0 -1
  389. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  390. package/dist/ptcw-design/p-bc146844.entry.js +0 -1
  391. package/dist/ptcw-design/p-c5f9bafe.entry.js +0 -68
  392. package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
  393. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  394. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  395. package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
  396. package/dist/ptcw-design/p-e3867512.entry.js +0 -1
  397. package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
  398. package/dist/ptcw-design/p-e8c275a1.entry.js +0 -1
  399. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  400. package/dist/types/global/global.d.ts +0 -4
  401. package/dist/types/utils/fef-logger.d.ts +0 -10
@@ -107,10 +107,6 @@ ptc-link, ptc-square-card,
107
107
  font-size: var(--ptc-font-size-x-small);
108
108
  text-decoration: underline;
109
109
  }
110
- :host .filter-result-wrap .result-header .clear-cta:focus-visible {
111
- border-radius: var(--ptc-border-radius-standard);
112
- outline: 5px solid var(--keyboard-nav-outline);
113
- }
114
110
  :host .filter-result-wrap .result-header .clear-cta.show {
115
111
  display: block;
116
112
  }
@@ -186,10 +182,6 @@ ptc-link, ptc-square-card,
186
182
  display: block;
187
183
  font-size: 14px;
188
184
  }
189
- :host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:focus-visible {
190
- border-radius: var(--ptc-border-radius-standard);
191
- outline: 5px solid var(--keyboard-nav-outline);
192
- }
193
185
  :host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:first-child {
194
186
  padding-top: 20px;
195
187
  }
@@ -17,7 +17,6 @@ export class PtcProductSidebar {
17
17
  componentDidLoad() {
18
18
  this.productListWrap = this.hostElement.shadowRoot.querySelector('.product-list-wrap');
19
19
  this.clearBtn = this.hostElement.shadowRoot.querySelector('.clear-cta');
20
- this.inputBox = this.hostElement.shadowRoot.querySelector('#searchBox');
21
20
  }
22
21
  // Getting category title and products list
23
22
  getDomData() {
@@ -75,15 +74,6 @@ export class PtcProductSidebar {
75
74
  'event': e,
76
75
  });
77
76
  }
78
- else if (e.key === 'Escape') {
79
- this.clearSearch(e);
80
- this.inputBox.focus();
81
- }
82
- }
83
- handleKeyDownClearCta(e) {
84
- if (e.key === 'Enter') {
85
- this.clearSearch(e);
86
- }
87
77
  }
88
78
  clearSearch(event) {
89
79
  let input = this.hostElement.shadowRoot.querySelector('input');
@@ -113,10 +103,10 @@ export class PtcProductSidebar {
113
103
  handleClick() {
114
104
  this.suggestions = [];
115
105
  }
116
- handleclearCtaClicked(eve) {
117
- const { sender, event } = eve.detail;
106
+ handleclearCtaClicked(event) {
107
+ const { sender, event: mouseEvent, } = event.detail;
118
108
  if (sender) {
119
- this.clearSearch(event);
109
+ this.clearSearch(mouseEvent);
120
110
  }
121
111
  }
122
112
  handleSelectedValues(event) {
@@ -132,31 +122,9 @@ export class PtcProductSidebar {
132
122
  }
133
123
  }
134
124
  }
135
- handleSuggestionKeyDown(e, index, suggestion) {
136
- var _a;
137
- const listItems = (_a = e.currentTarget.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('li');
138
- if (!listItems)
139
- return;
140
- if (e.key === 'Enter') {
141
- this.handleSelectSuggestion(suggestion, e);
142
- this.suggestions = [];
143
- }
144
- else if (e.key === 'Tab') {
145
- e.preventDefault();
146
- const isShift = e.shiftKey;
147
- const nextIndex = isShift
148
- ? (index - 1 + listItems.length) % listItems.length
149
- : (index + 1) % listItems.length;
150
- listItems[nextIndex].focus();
151
- }
152
- else if (e.key === 'Escape') {
153
- this.clearSearch(e);
154
- this.inputBox.focus();
155
- }
156
- }
157
125
  render() {
158
- return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.filterResults), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e), tabIndex: 0, onKeyDown: (e) => { this.handleKeyDownClearCta(e); } }, this.clearText)), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, this.filterText), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
159
- h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion, index) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e), tabIndex: 0, onKeyDown: (e) => this.handleSuggestionKeyDown(e, index, suggestion) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, this.technologyText), h("ptc-product-dropdown", { placeholder: this.selectTechnology, id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.jumpToProduct), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
126
+ return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.filterResults), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e) }, this.clearText)), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, this.filterText), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
127
+ h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, this.technologyText), h("ptc-product-dropdown", { placeholder: this.selectTechnology, id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, this.jumpToProduct), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
160
128
  }
161
129
  static get is() { return "ptc-product-sidebar"; }
162
130
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class PtcQuote {
15
15
  }
16
16
  render() {
17
17
  const classMap = this.getCssClassMap();
18
- return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, this.quoteType == 'value-led-quote' && this.quoteImage &&
18
+ return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, this.quoteType == 'value-led-quote' &&
19
19
  h("ptc-picture", { alt: "quote", src: this.quoteImage }), h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
20
20
  }
21
21
  getCssClassMap() {
@@ -82,26 +82,26 @@ a:focus-visible {
82
82
  border-radius: var(--ptc-border-radius-standard);
83
83
  }
84
84
 
85
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
85
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-plm-grey a.light-link {
86
86
  color: var(--color-blue-04);
87
87
  margin: -2px;
88
88
  border: 2px solid transparent;
89
89
  }
90
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
90
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
91
91
  color: var(--color-blue-06);
92
92
  }
93
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
93
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
94
94
  transition: none;
95
95
  color: var(--color-blue-07);
96
96
  }
97
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
97
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
98
98
  color: var(--color-blue-05);
99
99
  }
100
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
100
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
101
101
  color: var(--color-gray-04) !important;
102
102
  cursor: not-allowed;
103
103
  }
104
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
104
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
105
105
  border-radius: var(--ptc-border-radius-standard);
106
106
  border: 2px solid white;
107
107
  outline: 5px solid var(--keyboard-nav-outline);
@@ -82,26 +82,26 @@ a:focus-visible {
82
82
  border-radius: var(--ptc-border-radius-standard);
83
83
  }
84
84
 
85
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
85
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-plm-grey a.light-link {
86
86
  color: var(--color-blue-04);
87
87
  margin: -2px;
88
88
  border: 2px solid transparent;
89
89
  }
90
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
90
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
91
91
  color: var(--color-blue-06);
92
92
  }
93
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
93
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
94
94
  transition: none;
95
95
  color: var(--color-blue-07);
96
96
  }
97
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
97
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
98
98
  color: var(--color-blue-05);
99
99
  }
100
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
100
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
101
101
  color: var(--color-gray-04) !important;
102
102
  cursor: not-allowed;
103
103
  }
104
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
104
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
105
105
  border-radius: var(--ptc-border-radius-standard);
106
106
  border: 2px solid white;
107
107
  outline: 5px solid var(--keyboard-nav-outline);
@@ -3,32 +3,6 @@ import { createFocusTrap } from 'focus-trap';
3
3
  export class PtcRelatedCardRail {
4
4
  constructor() {
5
5
  //lastFocusElement: HTMLElement;
6
- this.setFocusTrap = () => {
7
- //console.log('this.focusTrap: ' + this.focusTrap)
8
- if (!this.focusTrap) {
9
- this.focusTrap = createFocusTrap(this.el, {
10
- escapeDeactivates: true,
11
- returnFocusOnDeactivate: true,
12
- onActivate: () => {
13
- if (!this.openedByKeyboard) {
14
- this.focusTrap.pause(); // If opened by mouse, prevent immediate focus trapping
15
- }
16
- },
17
- onDeactivate: () => {
18
- setTimeout(() => {
19
- this.closed = true;
20
- }, 0);
21
- },
22
- tabbableOptions: {
23
- getShadowRoot: true,
24
- },
25
- });
26
- }
27
- if (this.isVisible === true && this.openedByKeyboard === true) {
28
- this.focusTrap && this.focusTrap.activate();
29
- //console.log('activate focus trap');
30
- }
31
- };
32
6
  this.setScreenBasedProps = () => {
33
7
  let windowWidth = window.innerWidth;
34
8
  let props = {
@@ -105,7 +79,33 @@ export class PtcRelatedCardRail {
105
79
  let percentageSrolled = Math.floor((scrollTop / trackLength) * 100);
106
80
  if (percentageSrolled >= 50) {
107
81
  this.el.style.display = 'block';
108
- this.isVisible = true;
82
+ if (!this.focusTrap) {
83
+ this.focusTrap = createFocusTrap(this.el, {
84
+ escapeDeactivates: true,
85
+ returnFocusOnDeactivate: true,
86
+ // setReturnFocus:"#last-focus",
87
+ onActivate: () => {
88
+ if (!this.openedByKeyboard) {
89
+ this.focusTrap.pause(); // If opened by mouse, prevent immediate focus trapping
90
+ }
91
+ },
92
+ onDeactivate: () => {
93
+ // this.focusTrap?.deactivate();
94
+ // this.focusTrap = undefined;
95
+ console.log('Hello~~~ onDeactivate');
96
+ setTimeout(() => {
97
+ this.closed = true;
98
+ }, 0);
99
+ //this.setReturnFocus();
100
+ },
101
+ tabbableOptions: {
102
+ getShadowRoot: true,
103
+ },
104
+ });
105
+ if (this.openedByKeyboard && this.closed === false) {
106
+ this.focusTrap.activate();
107
+ }
108
+ }
109
109
  }
110
110
  else {
111
111
  if (this.focusTrap && this.closed === true) {
@@ -113,7 +113,6 @@ export class PtcRelatedCardRail {
113
113
  this.focusTrap = undefined;
114
114
  }
115
115
  this.el.style.display = 'none';
116
- this.isVisible = false;
117
116
  }
118
117
  let cardRailContainer = this.el.shadowRoot.querySelector('.card-rail-container');
119
118
  let pageFooter = document.querySelector(this.footerQuerySelector);
@@ -151,7 +150,7 @@ export class PtcRelatedCardRail {
151
150
  if (this.focusTrap && this.closed === true) {
152
151
  this.focusTrap.deactivate();
153
152
  this.focusTrap = undefined;
154
- //console.log('flag');
153
+ console.log("flag");
155
154
  }
156
155
  }
157
156
  };
@@ -160,7 +159,6 @@ export class PtcRelatedCardRail {
160
159
  };
161
160
  this.footerQuerySelector = undefined;
162
161
  this.railTitle = 'Read More Case Studies';
163
- this.isVisible = false;
164
162
  this.closed = false;
165
163
  this.cardInView = 0;
166
164
  this.data = [];
@@ -171,16 +169,15 @@ export class PtcRelatedCardRail {
171
169
  };
172
170
  this.openedByKeyboard = false;
173
171
  }
174
- onVisibleChanged(newValue) {
175
- if (newValue) {
176
- this.setFocusTrap();
177
- //console.log('isVisible: ' + this.isVisible);
178
- }
179
- }
180
172
  handleKeyClose(event) {
181
173
  if (event.key === 'Enter' || event.key === 'Esc') {
182
174
  event.preventDefault();
183
- this.closed = true;
175
+ if (this.focusTrap) {
176
+ this.focusTrap.deactivate();
177
+ }
178
+ else {
179
+ this.closed = true;
180
+ }
184
181
  }
185
182
  }
186
183
  connectedCallback() {
@@ -209,9 +206,9 @@ export class PtcRelatedCardRail {
209
206
  }
210
207
  }
211
208
  this.handleOnScrollBehaviour();
212
- this.setScreenBasedProps();
213
209
  }
214
210
  componentDidLoad() {
211
+ this.setScreenBasedProps();
215
212
  window.addEventListener('scroll', this.handleOnScrollBehaviour);
216
213
  window.addEventListener('resize', this.handleOnResizeBehaviour);
217
214
  }
@@ -228,7 +225,9 @@ export class PtcRelatedCardRail {
228
225
  if (this.focusTrap) {
229
226
  this.focusTrap.deactivate();
230
227
  }
231
- this.closed = true;
228
+ else {
229
+ this.closed = true;
230
+ }
232
231
  }, tabindex: "0" }, h("icon-asset", { type: "ptc", size: "xx-small", name: "times", color: "gray" }))), h("div", { class: "card-rail-content" }, h("icon-asset", { id: "left-arrow", class: "mf-listen", type: "ptc", size: "small", name: "previous_button_arrow", color: "gray", onClick: this.handlePrevClick }), h("icon-asset", { id: "right-arrow", class: "mf-listen", type: "ptc", size: "small", name: "next_button_arrow", color: "gray", onClick: this.handleNextClick }), h("div", { class: "content-container" }, this.data.map((item, index) => (h("div", { class: "content mf-listen", id: `card-rail-content-${index}`, onKeyDown: (event) => {
233
232
  event.key === 'Enter' && window.open(item.href);
234
233
  }, onClick: () => {
@@ -283,24 +282,6 @@ export class PtcRelatedCardRail {
283
282
  "attribute": "rail-title",
284
283
  "reflect": false,
285
284
  "defaultValue": "'Read More Case Studies'"
286
- },
287
- "isVisible": {
288
- "type": "boolean",
289
- "mutable": true,
290
- "complexType": {
291
- "original": "boolean",
292
- "resolved": "boolean",
293
- "references": {}
294
- },
295
- "required": false,
296
- "optional": false,
297
- "docs": {
298
- "tags": [],
299
- "text": ""
300
- },
301
- "attribute": "is-visible",
302
- "reflect": false,
303
- "defaultValue": "false"
304
285
  }
305
286
  };
306
287
  }
@@ -314,10 +295,4 @@ export class PtcRelatedCardRail {
314
295
  };
315
296
  }
316
297
  static get elementRef() { return "el"; }
317
- static get watchers() {
318
- return [{
319
- "propName": "isVisible",
320
- "methodName": "onVisibleChanged"
321
- }];
322
- }
323
298
  }
@@ -277,9 +277,10 @@ export class PtcSelect {
277
277
  if (this.defaultValue)
278
278
  this.setValue();
279
279
  this.defaultSelect.listen('MDCSelect:change', () => {
280
- if (this.selectedValue !== this.defaultSelect.value) {
281
- this.valueChange.emit(this.defaultSelect.value);
282
- this.selectedValue = this.defaultSelect.value;
280
+ const select = new MDCSelect(this.el.querySelector('.mdc-select'));
281
+ if (this.selectedValue !== select.value) {
282
+ this.valueChange.emit(select.value);
283
+ this.selectedValue = select.value;
283
284
  if (this.fieldId === 'contact-country') {
284
285
  const countryCode = this.selectedValue ? this.map[this.selectedValue] : '';
285
286
  const telField = document.querySelector('ptc-textfield[field-id="contact-phone"]');
@@ -292,11 +293,6 @@ export class PtcSelect {
292
293
  this.addKeyboardAccessibility();
293
294
  this.setupFocusHandlers();
294
295
  }
295
- disconnectedCallback() {
296
- if (this.defaultSelect) {
297
- this.defaultSelect.destroy();
298
- }
299
- }
300
296
  addKeyboardAccessibility() {
301
297
  const selectAnchor = this.el.querySelector('.mdc-select__anchor');
302
298
  const menu = this.el.querySelector('.mdc-select__menu');
@@ -11,7 +11,6 @@ export class PtcStickyIcons {
11
11
  }
12
12
  setHostLocation() {
13
13
  let width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
14
- const detailSection = document.querySelector(".cs-detail-section");
15
14
  let currEle = this.el;
16
15
  // get the element
17
16
  const element = document.querySelector("ptc-sticky-icons");
@@ -20,14 +19,6 @@ export class PtcStickyIcons {
20
19
  if (width < 992) {
21
20
  currEle.parentElement.appendChild(currEle);
22
21
  currEle.parentElement.style.paddingRight = "0px";
23
- // Code for case study page only
24
- // Moving sticky icon in the last ptc-section div
25
- if (detailSection) {
26
- const lastSection = detailSection.querySelectorAll('.content-section section.ptc-section').length ? detailSection.querySelectorAll('section.ptc-section')[detailSection.querySelectorAll('section.ptc-section').length - 1] : null;
27
- if (lastSection && !lastSection.contains(element)) {
28
- lastSection.appendChild(currEle);
29
- }
30
- }
31
22
  }
32
23
  else {
33
24
  currEle.parentElement.prepend(currEle);
@@ -11,12 +11,6 @@ export class PtcTextCopyWithBackground {
11
11
  this.disableLightLinks = false;
12
12
  this.styles = undefined;
13
13
  }
14
- componentDidLoad() {
15
- var _a;
16
- if (this.hostEle.getAttribute('type') === 'hero-footer-cta') {
17
- (_a = this.hostEle.parentElement) === null || _a === void 0 ? void 0 : _a.classList.add('text-copy-footer-cta');
18
- }
19
- }
20
14
  render() {
21
15
  const classMap = this.getCssClassMap();
22
16
  const slitFill = this.getSlitFillColor();
@@ -222,5 +216,4 @@ export class PtcTextCopyWithBackground {
222
216
  }
223
217
  };
224
218
  }
225
- static get elementRef() { return "hostEle"; }
226
219
  }
@@ -3634,28 +3634,20 @@ ptc-link, ptc-square-card,
3634
3634
  }
3635
3635
  .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.mouse-focus .mdc-notched-outline__leading,
3636
3636
  .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.mouse-focus .mdc-notched-outline__notch,
3637
- .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.mouse-focus .mdc-notched-outline__trailing,
3638
- .ptc-text-field .mdc-text-field--outlined.mouse-focus .mdc-notched-outline__leading,
3639
- .ptc-text-field .mdc-text-field--outlined.mouse-focus .mdc-notched-outline__notch,
3640
- .ptc-text-field .mdc-text-field--outlined.mouse-focus .mdc-notched-outline__trailing {
3637
+ .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.mouse-focus .mdc-notched-outline__trailing {
3641
3638
  border-color: var(--color-blue-07);
3642
3639
  }
3643
3640
  .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__leading,
3644
3641
  .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__notch,
3645
- .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__trailing,
3646
- .ptc-text-field .mdc-text-field--outlined.keyboard-focus .mdc-notched-outline__leading,
3647
- .ptc-text-field .mdc-text-field--outlined.keyboard-focus .mdc-notched-outline__notch,
3648
- .ptc-text-field .mdc-text-field--outlined.keyboard-focus .mdc-notched-outline__trailing {
3642
+ .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__trailing {
3649
3643
  border-color: var(--keyboard-nav-outline);
3650
3644
  border-width: 5px;
3651
3645
  }
3652
- .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__leading,
3653
- .ptc-text-field .mdc-text-field--outlined.keyboard-focus .mdc-notched-outline__leading {
3646
+ .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__leading {
3654
3647
  border-top-left-radius: var(--ptc-border-radius-standard) !important;
3655
3648
  border-bottom-left-radius: var(--ptc-border-radius-standard) !important;
3656
3649
  }
3657
- .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__trailing,
3658
- .ptc-text-field .mdc-text-field--outlined.keyboard-focus .mdc-notched-outline__trailing {
3650
+ .ptc-text-field .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused.keyboard-focus .mdc-notched-outline__trailing {
3659
3651
  border-top-right-radius: var(--ptc-border-radius-standard) !important;
3660
3652
  border-bottom-right-radius: var(--ptc-border-radius-standard) !important;
3661
3653
  }
@@ -3818,61 +3810,4 @@ ptc-link, ptc-square-card,
3818
3810
  }
3819
3811
  .ptc-text-field.email-signup .mdc-text-field__input::placeholder {
3820
3812
  font-size: var(--ptc-font-size-small);
3821
- }
3822
- .ptc-text-field textarea.mdc-text-field__input {
3823
- min-height: 56px;
3824
- max-height: 200px;
3825
- overflow-y: auto;
3826
- font-size: var(--ptc-font-size-xx-small);
3827
- width: 100%;
3828
- box-sizing: border-box;
3829
- resize: vertical;
3830
- display: block;
3831
- margin: 0;
3832
- position: static;
3833
- padding-right: 8px;
3834
- padding-top: 8px;
3835
- padding-bottom: 8px;
3836
- line-height: var(--ptc-font-size-small);
3837
- }
3838
- .ptc-text-field .mdc-text-field--outlined {
3839
- height: 34px;
3840
- width: 273px;
3841
- padding-left: 8px;
3842
- padding-right: 8px;
3843
- }
3844
- .ptc-text-field .mdc-text-field--outlined .mdc-notched-outline__trailing {
3845
- border-radius: 0px !important;
3846
- }
3847
- .ptc-text-field .mdc-text-field--outlined .mdc-notched-outline__leading {
3848
- border-radius: 0px !important;
3849
- }
3850
- .ptc-text-field .mdc-text-field--outlined:has(textarea.mdc-text-field__input) {
3851
- min-height: 34px;
3852
- height: auto;
3853
- display: flex;
3854
- flex-direction: column;
3855
- align-items: stretch;
3856
- }
3857
- .ptc-text-field .mdc-text-field:has(textarea.mdc-text-field__input) {
3858
- padding-right: 8px;
3859
- padding-top: 2px;
3860
- padding-bottom: 8px;
3861
- }
3862
- .ptc-text-field .mdc-text-field--with-internal-counter textarea.mdc-text-field__input {
3863
- padding-bottom: 32px;
3864
- overflow-y: auto;
3865
- word-break: break-word;
3866
- }
3867
- .ptc-text-field .textarea-wrapper {
3868
- position: relative;
3869
- z-index: 9;
3870
- padding-bottom: 20px;
3871
- }
3872
- .ptc-text-field .textarea-wrapper .mdc-text-field-character-counter {
3873
- position: absolute;
3874
- top: unset;
3875
- bottom: -28px;
3876
- right: 0;
3877
- z-index: 9;
3878
3813
  }