@ptcwebops/ptcw-design 6.2.14 → 6.2.15-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 (278) 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-35540bfb.js → component-4dd13907.js} +2643 -832
  5. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +1369 -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-card_2.cjs.entry.js +1 -13
  19. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +15 -20
  21. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  22. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  25. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +788 -6
  26. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  29. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  34. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  42. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -7
  45. package/dist/cjs/ptcw-design.cjs.js +1 -1
  46. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  47. package/dist/collection/collection-manifest.json +1 -0
  48. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  49. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
  50. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
  51. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +31 -17
  52. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +48 -8
  53. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  54. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  55. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -5
  56. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  57. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +16 -0
  58. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -0
  59. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
  60. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +50 -19
  61. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
  62. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
  63. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  64. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  65. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  66. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
  67. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  68. package/dist/collection/components/ptc-link/ptc-link.js +4 -12
  69. package/dist/collection/components/ptc-modal/ptc-modal.css +66 -0
  70. package/dist/collection/components/ptc-modal/ptc-modal.js +81 -4
  71. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  72. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  73. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
  74. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -680
  75. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +0 -12
  76. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  77. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  78. package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
  79. package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
  80. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
  81. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
  82. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
  83. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +94 -3
  84. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  85. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  86. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  87. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
  88. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
  89. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
  90. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +0 -6
  91. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  92. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  93. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  94. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  95. package/dist/collection/utils/utils.js +8 -0
  96. package/dist/custom-elements/index.d.ts +6 -0
  97. package/dist/custom-elements/index.js +269 -100
  98. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  99. package/dist/esm/blog-detail-layout.entry.js +1 -1
  100. package/dist/esm/blogs-search-section.entry.js +1 -1
  101. package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
  102. package/dist/esm/event-jumbotron-example_15.entry.js +1351 -0
  103. package/dist/esm/featured-list.entry.js +1 -1
  104. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  105. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  106. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/modal-form-example.entry.js +90 -0
  109. package/dist/esm/most-popular-news.entry.js +1 -1
  110. package/dist/esm/my-component.entry.js +1 -1
  111. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  112. package/dist/esm/ptc-background-video.entry.js +1 -1
  113. package/dist/esm/ptc-bio-card.entry.js +1 -1
  114. package/dist/esm/ptc-card-bottom.entry.js +42 -0
  115. package/dist/esm/ptc-card_2.entry.js +1 -13
  116. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  117. package/dist/esm/ptc-collapse-list.entry.js +15 -20
  118. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  119. package/dist/esm/ptc-featured-list.entry.js +1 -1
  120. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  121. package/dist/esm/ptc-footer.entry.js +1 -1
  122. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  123. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  124. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  125. package/dist/esm/ptc-icon-card.entry.js +9 -3
  126. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  127. package/dist/esm/ptc-media-card.entry.js +1 -1
  128. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  129. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  130. package/dist/esm/ptc-previous-url.entry.js +10 -2
  131. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  132. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  133. package/dist/esm/ptc-product-card.entry.js +1 -1
  134. package/dist/esm/ptc-product-category.entry.js +1 -1
  135. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  136. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  137. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  138. package/dist/esm/ptc-social-icons-footer.entry.js +7 -2
  139. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  140. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  141. package/dist/esm/ptc-white-paper.entry.js +1 -7
  142. package/dist/esm/ptcw-design.js +1 -1
  143. package/dist/esm/{utils-1bbe0c30.js → utils-ff65c75b.js} +9 -1
  144. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  145. package/dist/ptcw-design/{p-1cff585f.entry.js → p-0d806031.entry.js} +1 -1
  146. package/dist/ptcw-design/{p-4fc9c83b.entry.js → p-11e0edaf.entry.js} +1 -1
  147. package/dist/ptcw-design/p-1b257420.entry.js +1 -0
  148. package/dist/ptcw-design/p-257deac0.entry.js +1 -0
  149. package/dist/ptcw-design/{p-fce2bd81.entry.js → p-2749c178.entry.js} +1 -1
  150. package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
  151. package/dist/ptcw-design/{p-942850e0.entry.js → p-2c6fc745.entry.js} +1 -1
  152. package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
  153. package/dist/ptcw-design/p-36007a57.entry.js +1 -0
  154. package/dist/ptcw-design/p-50d68602.entry.js +1 -0
  155. package/dist/ptcw-design/p-56a2a9dc.entry.js +1 -0
  156. package/dist/ptcw-design/p-58f138a3.entry.js +1 -0
  157. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  158. package/dist/ptcw-design/{p-f07e64f2.entry.js → p-6d3326da.entry.js} +1 -1
  159. package/dist/ptcw-design/p-72df6678.entry.js +1 -0
  160. package/dist/ptcw-design/{p-d1857ada.entry.js → p-77cad16c.entry.js} +1 -1
  161. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  162. package/dist/ptcw-design/{p-990bcbc4.entry.js → p-7a9611b4.entry.js} +1 -1
  163. package/dist/ptcw-design/{p-2ac7e3ce.entry.js → p-808ec62a.entry.js} +1 -1
  164. package/dist/ptcw-design/p-8872161f.js +1 -0
  165. package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
  166. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  167. package/dist/ptcw-design/p-9e915e82.entry.js +1 -0
  168. package/dist/ptcw-design/p-a2caf246.entry.js +68 -0
  169. package/dist/ptcw-design/p-a2d9831c.entry.js +1 -0
  170. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  171. package/dist/ptcw-design/{p-65f19054.entry.js → p-ae970a60.entry.js} +1 -1
  172. package/dist/ptcw-design/p-b1ebac6f.entry.js +1 -0
  173. package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
  174. package/dist/ptcw-design/{p-a3a04f4e.entry.js → p-bb902570.entry.js} +1 -1
  175. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  176. package/dist/ptcw-design/{p-4036055e.entry.js → p-c37a3bd2.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-717d3a75.entry.js → p-c66b8926.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-56a4c6d4.entry.js → p-c95f423e.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-dee4bb6c.entry.js → p-d10cb999.entry.js} +1 -1
  180. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  181. package/dist/ptcw-design/{p-48183365.entry.js → p-d756db27.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-873c711b.entry.js → p-d9abe7e8.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-53f49500.entry.js → p-da82dc93.entry.js} +1 -1
  184. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  185. package/dist/ptcw-design/{p-deebd138.entry.js → p-e3f8e5d5.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-b4564411.entry.js → p-e4000363.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-d3e5b65c.entry.js → p-ea7369e9.entry.js} +1 -1
  188. package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
  189. package/dist/ptcw-design/ptcw-design.css +2 -2
  190. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  191. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +5 -3
  192. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  193. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  194. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
  195. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +3 -2
  196. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  197. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  198. package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -1
  199. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  200. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  201. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +12 -0
  202. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  203. package/dist/types/components.d.ts +60 -4
  204. package/dist/types/utils/utils.d.ts +1 -0
  205. package/package.json +1 -1
  206. package/readme.md +5 -1
  207. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  208. package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -127
  209. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  210. package/dist/cjs/list-item.cjs.entry.js +0 -48
  211. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  212. package/dist/cjs/ptc-button.cjs.entry.js +0 -84
  213. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -132
  214. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
  215. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -213
  216. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  217. package/dist/cjs/ptc-link.cjs.entry.js +0 -95
  218. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  219. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  220. package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -84
  221. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  222. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  223. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  224. package/dist/esm/component-9beac35b.js +0 -1802
  225. package/dist/esm/event-jumbotron-example.entry.js +0 -123
  226. package/dist/esm/icon-asset.entry.js +0 -61
  227. package/dist/esm/list-item.entry.js +0 -44
  228. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  229. package/dist/esm/ptc-button.entry.js +0 -80
  230. package/dist/esm/ptc-card-bottom_2.entry.js +0 -127
  231. package/dist/esm/ptc-card-content.entry.js +0 -64
  232. package/dist/esm/ptc-close-icon_2.entry.js +0 -208
  233. package/dist/esm/ptc-img.entry.js +0 -129
  234. package/dist/esm/ptc-link.entry.js +0 -91
  235. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  236. package/dist/esm/ptc-para.entry.js +0 -123
  237. package/dist/esm/ptc-scroll-button.entry.js +0 -80
  238. package/dist/esm/ptc-spacer.entry.js +0 -34
  239. package/dist/esm/ptc-title.entry.js +0 -148
  240. package/dist/esm/validation-messages-adbb6518.js +0 -124
  241. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  242. package/dist/ptcw-design/p-0b8a73e1.entry.js +0 -68
  243. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  244. package/dist/ptcw-design/p-1022ad8b.entry.js +0 -1
  245. package/dist/ptcw-design/p-136a91bf.entry.js +0 -1
  246. package/dist/ptcw-design/p-18a5a338.js +0 -1
  247. package/dist/ptcw-design/p-18f59395.entry.js +0 -1
  248. package/dist/ptcw-design/p-1b7087e7.entry.js +0 -1
  249. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  250. package/dist/ptcw-design/p-2a672c0e.entry.js +0 -1
  251. package/dist/ptcw-design/p-2cfcba27.entry.js +0 -1
  252. package/dist/ptcw-design/p-2e19248b.entry.js +0 -1
  253. package/dist/ptcw-design/p-2e8f7a08.entry.js +0 -1
  254. package/dist/ptcw-design/p-3f71553e.entry.js +0 -1
  255. package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
  256. package/dist/ptcw-design/p-583608d9.entry.js +0 -1
  257. package/dist/ptcw-design/p-5d885144.entry.js +0 -1
  258. package/dist/ptcw-design/p-5dae4f30.entry.js +0 -1
  259. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  260. package/dist/ptcw-design/p-8daf00ae.entry.js +0 -1
  261. package/dist/ptcw-design/p-98426799.js +0 -203
  262. package/dist/ptcw-design/p-98844b50.js +0 -134
  263. package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
  264. package/dist/ptcw-design/p-a870cd4a.entry.js +0 -1
  265. package/dist/ptcw-design/p-ad87bdab.js +0 -1
  266. package/dist/ptcw-design/p-b35ad9ee.entry.js +0 -1
  267. package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
  268. package/dist/ptcw-design/p-b6e5379a.entry.js +0 -1
  269. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  270. package/dist/ptcw-design/p-bb15d7e5.entry.js +0 -1
  271. package/dist/ptcw-design/p-cbfe46ce.entry.js +0 -1
  272. package/dist/ptcw-design/p-d734b373.entry.js +0 -1
  273. package/dist/ptcw-design/p-dc488936.entry.js +0 -1
  274. package/dist/ptcw-design/p-dd73c4d1.entry.js +0 -1
  275. package/dist/ptcw-design/p-e614999d.entry.js +0 -1
  276. package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
  277. package/dist/ptcw-design/p-e9a7475b.entry.js +0 -1
  278. package/dist/ptcw-design/p-fcad5568.entry.js +0 -1
@@ -42,12 +42,6 @@ export class PtcPreloaderSection {
42
42
  case 'blogs-listing': {
43
43
  return (h("div", { class: "is-grid has-col-1 has-col-2-md has-col-3-xl has-col-gap-md has-row-gap-md cards-preload-min-height" }, Array.from({ length: this.numberOfCards }).map(() => (h("div", { class: "is-col-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-card-media" }), h("div", { class: "skeleton-text" }, h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }))))))));
44
44
  }
45
- case 'blogs-listing-page': {
46
- return (h("div", { class: "preloader-wrapper preloader-blogs-listing-page" }, h("div", { class: "ptc-container" }, h("div", { class: "is-grid has-no-row-gap" }, h("div", { class: "is-col-12" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block block-heading" }), h("div", { class: "skeleton-block block-para" }), h("div", { class: "skeleton-block topsection-block" })))), h("div", { class: "is-grid has-col-gap-md has-row-gap-md mobile-block" }, h("div", { class: "is-col-9" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" }))), h("div", { class: "is-col-3" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" })))), h("div", { class: "is-grid has-col-1 has-col-2-md has-col-3-xl cards-preload-min-height mobile-cards" }, Array.from({ length: 7 }).map(() => (h("div", { class: "is-col-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))), h("div", { class: "is-grid mobile-cards is-centered" }, h("div", { class: "is-col-12 pagination-block skeleton" }, h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }))), h("div", { class: "is-grid ipad-cards has-no-row-gap" }, h("div", { class: "skeleton is-col-12" }, h("div", { class: "skeleton-block thin narrow" })), h("div", { class: "is-col-12-xs is-col-4-lg filter-div" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick filter-top" }), h("div", { class: "skeleton-block filter-block" }))), h("div", { class: "is-col-12-xs is-col-8-lg" }, h("div", { class: "is-grid" }, Array.from({ length: 14 }).map(() => (h("div", { class: "is-col-6" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))), h("div", { class: "is-grid is-centered" }, h("div", { class: "is-col-12 pagination-block skeleton" }, h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }))))), h("div", { class: "is-grid desktop-cards has-no-row-gap" }, h("div", { class: "skeleton is-col-12" }, h("div", { class: "skeleton-block thin narrow" })), h("div", { class: "is-col-12-xs is-col-3-lg" }, h("div", { class: "skeleton filter-top" }, h("div", { class: "skeleton-block thick filter-top" }), h("div", { class: "skeleton-block filter-block" }))), h("div", { class: "is-col-12-xs is-col-9-lg" }, h("div", { class: "is-grid" }, Array.from({ length: 15 }).map(() => (h("div", { class: "is-col-4" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))), h("div", { class: "is-grid is-centered" }, h("div", { class: "is-col-12 pagination-block skeleton" }, h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }), h("div", { class: "skeleton-block page-block" }))))))));
47
- }
48
- case 'case-studies-listing-page': {
49
- return (h("div", { class: "preloader-wrapper preloader-cs-listing-page" }, h("div", { class: "jumbotron-img" }), h("div", { class: "jumbotron" }, h("div", { class: "skeleton-jumbotron ptc-container" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg jumbotron-content" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }), h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "is-grid has-row-gap-md mobile-block" }, h("div", { class: "is-col-12" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin narrow narrow-1" }), h("div", { class: "skeleton-block bold bold-1" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" })))), h("div", { class: "is-grid has-col-1 has-col-2-md has-col-3-xl cards-preload-min-height mobile-cards" }, Array.from({ length: 4 }).map(() => (h("div", { class: "is-col-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))), h("div", { class: "is-grid ipad-cards has-no-row-gap" }, h("div", { class: "is-col-12-xs is-col-4-lg filter-div" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin narrow narrow-1" }), h("div", { class: "skeleton-block bold bold-1" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }))), h("div", { class: "is-col-12-xs is-col-8-lg" }, h("div", { class: "is-grid" }, Array.from({ length: 8 }).map(() => (h("div", { class: "is-col-6" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))))), h("div", { class: "is-grid desktop-cards has-no-row-gap" }, h("div", { class: "is-col-12-xs is-col-3-lg" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin narrow narrow-1" }), h("div", { class: "skeleton-block bold bold-1" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }), h("div", { class: "skeleton-block bold bold-2" }))), h("div", { class: "is-col-12-xs is-col-9-lg" }, h("div", { class: "is-grid" }, Array.from({ length: 12 }).map(() => (h("div", { class: "is-col-4" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block card-block" })))))))))));
50
- }
51
45
  case 'blog-detail': {
52
46
  return (h("div", { class: "preloader-wrapper" }, h("div", { class: "skeleton-blog-detail" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg is-rtl-lg" }, h("div", { class: "is-col-12 is-col-6-lg" }, h("div", { class: "skeleton-jumbotron-image" })), h("div", { class: "is-col-12 is-col-6-lg is-ltr" }, h("div", { class: "skeleton-block wide-sm h-xx-small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("div", { class: "skeleton-block h-medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block wide h-medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "xx-large" }), h("ptc-spacer", { breakpoint: "small", size: "x-large" }), h("div", { class: "skeleton-block date" }), h("ptc-spacer", { breakpoint: "x-small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "is-centered-vertically" }, h("div", { class: "skeleton-block circle" }), h("div", { class: "skeleton-block author" })), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "large", size: "small" }), h("div", { class: "flex-container" }, h("div", { class: "skeleton-block button-1" }), h("div", { class: "skeleton-block button-2" }))))), h("div", { class: "ptc-container" }, h("div", { class: "is-grid" }, h("div", { class: "is-desktop is-col-3-lg" }, h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large wide" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large short" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "flex-container" }, h("div", { class: "skeleton-block social-share" }), h("div", { class: "skeleton-block social-share" }), h("div", { class: "skeleton-block social-share" }), h("div", { class: "skeleton-block social-share" }))), h("div", { class: "is-col-12 is-col-7-lg" }, h("div", { class: "is-mobile" }, h("div", { class: "skeleton-block h-xx-large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("div", { class: "skeleton-block h-medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block medium h-medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-1" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-small" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-small text-line-2" })), h("div", { class: "is-desktop" }, h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xxxx-large" }), h("div", { class: "skeleton-block h-x-large" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-x-large medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("div", { class: "skeleton-block h-x-large short" }), h("ptc-spacer", { breakpoint: "small", size: "x-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-1" }), h("ptc-spacer", { breakpoint: "small", size: "xx-small" }), h("div", { class: "skeleton-block h-large text-line-2" }), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" }), h("div", { class: "skeleton-cta" }, h("div", { class: "skeleton-block cta-image" }), h("div", { class: "skeleton-block cta-body" })), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" }))))))));
53
47
  }
@@ -69,15 +63,9 @@ export class PtcPreloaderSection {
69
63
  case 'generic-form-with-image': {
70
64
  return (h("div", { class: "preloader-wrapper preloader-generic-form" }, h("div", { class: "jumbotron" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }), h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "is-grid block form-block-1" }, h("div", { class: "is-col-12" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))), h("div", { class: "is-grid block grid-1" }, h("div", { class: "is-col-12-xs is-col-12-sm is-col-10-md is-col-7-lg" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin line-1" }), h("div", { class: "skeleton-block thin line-2" }), h("div", { class: "skeleton-block thin line-3" }), h("div", { class: "skeleton-block thin line-4" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin line-6" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" })), h("div", { class: "skeleton-block block-2" }))), h("div", { class: "is-col-1-lg" }), h("div", { class: "is-col-12-xs is-col-12-sm is-col-4-lg form-block-2" }, Array.from({ length: 7 }).map(() => (h("div", { class: "skeleton form-block-skeleton" }, h("div", { class: "skeleton-block bold" })))), h("div", { class: "skeleton" }, h("div", { class: "skeleton-block very-bold" })))))));
71
65
  }
72
- case 'events-listing': {
73
- return (h("div", { class: "preloader-wrapper preloader-events-listing" }, h("div", { class: "jumbotron " }, h("div", { class: "jumbotron-bg" }, h("div", { class: "ptc-container" }, h("div", { class: "is-grid has-no-row-gap" }, h("div", { class: "is-col-12" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thin short-1" }), h("div", { class: "skeleton-block thin short-2" }), h("div", { class: "skeleton-block bold short-3" }), h("div", { class: "skeleton-block thin short-4" }), h("div", { class: "skeleton-block thin short-5" }), h("div", { class: "skeleton-block thin short-6" }), h("div", { class: "skeleton-block thin short-7" }), h("div", { class: "skeleton-block thin short-8" }), h("div", { class: "skeleton-block thin short-9" }), h("div", { class: "skeleton-block thick short-10" }))))), h("div", { class: "grid-cards-div" }, h("div", { class: "skeleton grid-cards" }, h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" })), h("div", { class: "skeleton grid-cards-desktop ptc-container" }, h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" }), h("div", { class: "skeleton-block short-17" }))), h("div", { class: "white-placeholder" }))), h("div", { class: "ptc-container grid-2" }, h("div", { class: "is-grid has-no-row-gap" }, h("div", { class: "is-col-12" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick short-16" }), h("div", { class: "skeleton-block thin short-11" }), h("div", { class: "skeleton-block thin short-12" }))))), h("div", { class: "is-grid has-no-row-gap" }, h("div", { class: "is-col-12" }, h("div", { class: "ptc-container skeleton" }, h("div", { class: "grid-long-cards-mobile " }, h("div", { class: "skeleton-block short-13" }))), h("div", { class: "skeleton" }, h("div", { class: "grid-long-cards" }, h("div", { class: "skeleton-block short-13" }), h("div", { class: "skeleton-block short-14" })), h("div", { class: "skeleton-block bold short-15" }))))));
74
- }
75
66
  case 'pdf-skeleton': {
76
67
  return (h("div", { class: "preloader-wrapper pdf-skeleton-preloader" }, h("div", { class: "jumbotron-sec" }, h("div", { class: "ptc-container skeleton-jumbotron" }, h("div", { class: "is-grid has-no-row-gap has-col-gap-lg" }, h("div", { class: "is-col-12 is-col-8-lg" }, h("div", { class: "sekleton" }, h("div", { class: "skeleton-block thin short" }), h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "cta-wrap" }, h("div", { class: "skeleton-block cta" }))))))), h("div", { class: "ptc-container" }, h("div", { class: "section-1" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block line-1" }), h("div", { class: "skeleton-block line-2 thin" }), h("div", { class: "skeleton-block line-3 thin" }), h("div", { class: "skeleton-block line-4 thin" }))), h("div", { class: "pdf-area" }, h("div", { class: "pdf-section" }, h("div", { class: "top-border" }), h("div", { class: "pdf-body" }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-block thick" }), h("div", { class: "skeleton-block thick" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block thick-block" }), h("div", { class: "skeleton-block thin" }), h("div", { class: "skeleton-block thin medium" }))))))));
77
68
  }
78
- case 'ppc-skeleton': {
79
- return (h("div", { class: "preloader-wrapper" }, h("div", { class: "ppc-skeleton-preloader" }, h("div", { class: "ptc-container " }, h("div", { class: "dots-loader" })))));
80
- }
81
69
  default:
82
70
  return (h("div", { class: "ptc-section-standard preload-min-height" }, h("div", { class: "ptc-container" }, h("max-width-container", { "max-width": "960", breakpoint: 1200 }, h("div", { class: "skeleton" }, h("div", { class: "skeleton-header" }, h("div", { class: "skeleton-block bold" }), h("div", { class: "skeleton-block wide bold" }), h("ptc-spacer", { breakpoint: "small", size: "large" }), h("ptc-spacer", { breakpoint: "x-small", size: "x-large" }), h("div", { class: "skeleton-block medium" }), h("div", { class: "skeleton-block narrow" }), h("div", { class: "skeleton-block short" })), h("div", { class: "skeleton-image" }), h("div", { class: "skeleton-text" }, h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block narrow" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block long" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block short bold" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block wide" }), h("ptc-spacer", { breakpoint: "small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "large" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block" }), h("div", { class: "skeleton-block medium" })))))));
83
71
  }
@@ -82,4 +82,20 @@ ptc-link, ptc-square-card,
82
82
  text-decoration: underline;
83
83
  text-decoration-color: var(--color-green-07);
84
84
  outline: none;
85
+ }
86
+
87
+ .light {
88
+ display: inline-block;
89
+ background: rgba(0, 0, 0, 0.54);
90
+ border-radius: 4px;
91
+ padding: 0.5rem 0.75rem;
92
+ padding: 0.25rem 1rem 0.5rem 0.75rem;
93
+ cursor: pointer;
94
+ position: relative;
95
+ display: block;
96
+ }
97
+ .light:hover span {
98
+ text-decoration: underline;
99
+ text-decoration-color: var(--color-green-07);
100
+ outline: none;
85
101
  }
@@ -3,10 +3,18 @@ export class PtcPreviousUrl {
3
3
  constructor() {
4
4
  this.href = undefined;
5
5
  this.text = undefined;
6
+ this.theme = 'standard';
6
7
  this.styles = undefined;
7
8
  }
8
9
  render() {
9
- return (h(Host, null, this.styles && h("style", null, this.styles), h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)), h("slot", null)));
10
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, this.theme == 'light' ?
11
+ (h("a", { class: this.getCssClassMap() }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("span", { class: "back-to-videos" }, this.text))) :
12
+ [h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)]), h("slot", null)));
13
+ }
14
+ getCssClassMap() {
15
+ return {
16
+ [this.theme]: true
17
+ };
10
18
  }
11
19
  static get is() { return "ptc-previous-url"; }
12
20
  static get encapsulation() { return "shadow"; }
@@ -56,6 +64,24 @@ export class PtcPreviousUrl {
56
64
  "attribute": "text",
57
65
  "reflect": false
58
66
  },
67
+ "theme": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "'standard' | 'light'",
72
+ "resolved": "\"light\" | \"standard\"",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": ""
80
+ },
81
+ "attribute": "theme",
82
+ "reflect": false,
83
+ "defaultValue": "'standard'"
84
+ },
59
85
  "styles": {
60
86
  "type": "string",
61
87
  "mutable": false,
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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,6 +1,35 @@
1
1
  import { Host, h } from '@stencil/core';
2
2
  export class PtcScrollButton {
3
3
  constructor() {
4
+ //slider!: HTMLElement;
5
+ this.startX = 0;
6
+ this.scrollLeft = 0;
7
+ this.startDragging = (e) => {
8
+ this.isMouseDown = true;
9
+ this.isDragging = false;
10
+ this.containerCards.forEach((card) => {
11
+ card.disabled = false;
12
+ });
13
+ this.startX = e.pageX;
14
+ this.scrollLeft = this.scrollContainer.scrollLeft;
15
+ };
16
+ this.performDragging = (e) => {
17
+ if (!this.isMouseDown)
18
+ return;
19
+ const x = e.pageX - this.scrollContainer.offsetLeft;
20
+ const walk = x - this.startX;
21
+ this.isDragging = Math.abs(walk) > 5;
22
+ this.scrollContainer.scrollLeft = this.scrollLeft - walk;
23
+ this.containerCards.forEach((card) => {
24
+ card.disabled = true;
25
+ });
26
+ };
27
+ this.stopDragging = () => {
28
+ this.isMouseDown = false;
29
+ this.containerCards.forEach((card) => {
30
+ card.disabled = false;
31
+ });
32
+ };
4
33
  this.handleScroll = () => {
5
34
  this.updateVisibility();
6
35
  };
@@ -29,6 +58,8 @@ export class PtcScrollButton {
29
58
  this.trackerId = undefined;
30
59
  this.styles = undefined;
31
60
  this.isVisible = true;
61
+ this.isDragging = false;
62
+ this.isMouseDown = false;
32
63
  }
33
64
  componentWillLoad() {
34
65
  this.scrollContainer = document.querySelector(`.${this.scrollContainerClass}`);
@@ -41,11 +72,31 @@ export class PtcScrollButton {
41
72
  console.error('scrollContainer ele not found');
42
73
  }
43
74
  }
75
+ componentDidLoad() {
76
+ this.containerCards = document.querySelectorAll(`.${this.scrollContainerClass} ptc-card-wrapper`);
77
+ if (this.scrollContainer) {
78
+ this.enableDragging();
79
+ }
80
+ }
44
81
  disconnectedCallback() {
45
82
  if (this.scrollContainer) {
46
83
  this.scrollContainer.removeEventListener('scroll', this.handleScroll);
84
+ this.disableDragging();
47
85
  }
48
86
  }
87
+ async initVisibility() {
88
+ this.updateVisibility();
89
+ }
90
+ enableDragging() {
91
+ this.scrollContainer.addEventListener('mousedown', this.startDragging);
92
+ this.scrollContainer.addEventListener('mousemove', this.performDragging);
93
+ ['mouseup', 'mouseleave'].forEach(event => this.scrollContainer.addEventListener(event, this.stopDragging));
94
+ }
95
+ disableDragging() {
96
+ this.scrollContainer.removeEventListener('mousedown', this.startDragging);
97
+ this.scrollContainer.removeEventListener('mousemove', this.performDragging);
98
+ ['mouseup', 'mouseleave'].forEach(event => this.scrollContainer.removeEventListener(event, this.stopDragging));
99
+ }
49
100
  updateVisibility() {
50
101
  if (!this.scrollContainer)
51
102
  return;
@@ -55,7 +106,8 @@ export class PtcScrollButton {
55
106
  this.isVisible = scrollLeft > 0;
56
107
  }
57
108
  else if (this.direction === 'right') {
58
- this.isVisible = scrollLeft + clientWidth < scrollWidth;
109
+ this.isVisible = scrollLeft + clientWidth + 1 < scrollWidth; // "+1" adjustments after adding margin-right 40px
110
+ // console.log('scorllLeft: ' + scrollLeft + ", scrollWidth: " + scrollWidth + ", clientWidth: " + clientWidth);
59
111
  }
60
112
  }
61
113
  else if (this.orientation === 'vertical') {
@@ -68,7 +120,7 @@ export class PtcScrollButton {
68
120
  }
69
121
  }
70
122
  render() {
71
- return (h(Host, null, this.styles && h("style", null, this.styles), this.isVisible && (h("button", { id: this.trackerId, onClick: this.handleClick, class: `scroll-btn ${this.direction}`, "aria-label": this.direction, tabindex: "0" }, this.direction === 'left' && h("icon-asset", { name: "left-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'right' && h("icon-asset", { name: "right-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'up' && '▲', this.direction === 'down' && '▼'))));
123
+ return (h(Host, { "is-dragging": this.isDragging }, this.styles && h("style", null, this.styles), this.isVisible && (h("button", { id: this.trackerId, onClick: this.handleClick, class: `scroll-btn ${this.direction}`, "aria-label": this.direction, tabindex: "0" }, this.direction === 'left' && h("icon-asset", { name: "left-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'right' && h("icon-asset", { name: "right-scroll-arrow", size: "small", color: "white", type: "ptc", "injected-style": "svg:focus{outline:none;}" }), this.direction === 'up' && '▲', this.direction === 'down' && '▼'))));
72
124
  }
73
125
  static get is() { return "ptc-scroll-button"; }
74
126
  static get encapsulation() { return "shadow"; }
@@ -187,12 +239,51 @@ export class PtcScrollButton {
187
239
  },
188
240
  "attribute": "styles",
189
241
  "reflect": false
242
+ },
243
+ "isDragging": {
244
+ "type": "boolean",
245
+ "mutable": true,
246
+ "complexType": {
247
+ "original": "boolean",
248
+ "resolved": "boolean",
249
+ "references": {}
250
+ },
251
+ "required": false,
252
+ "optional": false,
253
+ "docs": {
254
+ "tags": [],
255
+ "text": ""
256
+ },
257
+ "attribute": "is-dragging",
258
+ "reflect": false,
259
+ "defaultValue": "false"
190
260
  }
191
261
  };
192
262
  }
193
263
  static get states() {
194
264
  return {
195
- "isVisible": {}
265
+ "isVisible": {},
266
+ "isMouseDown": {}
267
+ };
268
+ }
269
+ static get methods() {
270
+ return {
271
+ "initVisibility": {
272
+ "complexType": {
273
+ "signature": "() => Promise<void>",
274
+ "parameters": [],
275
+ "references": {
276
+ "Promise": {
277
+ "location": "global"
278
+ }
279
+ },
280
+ "return": "Promise<void>"
281
+ },
282
+ "docs": {
283
+ "text": "",
284
+ "tags": []
285
+ }
286
+ }
196
287
  };
197
288
  }
198
289
  }
@@ -109,10 +109,20 @@ ptc-link, ptc-square-card,
109
109
  background-color: var(--color-gray-09);
110
110
  transition: none;
111
111
  }
112
+ :host ul li 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
+ }
112
117
  @media only screen and (min-width: 992px) {
113
118
  :host ul li a {
114
119
  padding: 4px;
115
120
  width: 36px;
116
121
  height: 36px;
117
122
  }
123
+ }
124
+ :host ul.dark-bg a:focus-visible {
125
+ border-radius: var(--ptc-border-radius-standard);
126
+ border: 2px solid white;
127
+ outline: 5px solid var(--keyboard-nav-outline);
118
128
  }