@ptcwebops/ptcw-design 6.3.21 → 6.3.22-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 (244) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  3. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  4. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  5. package/dist/cjs/list-item.cjs.entry.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  8. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -16
  9. package/dist/cjs/ptc-bio-card.cjs.entry.js +5 -20
  10. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -10
  11. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
  12. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +17 -32
  13. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  14. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  18. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
  19. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
  21. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
  23. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  26. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +11 -9
  27. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
  29. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
  31. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-list.cjs.entry.js +1 -7
  33. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
  34. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +32 -90
  37. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -6
  40. package/dist/cjs/ptcw-design.cjs.js +1 -1
  41. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  42. package/dist/collection/collection-manifest.json +1 -0
  43. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  44. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  45. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
  46. package/dist/collection/components/list-item/list-item.css +0 -4
  47. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  48. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  49. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  50. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -4
  51. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -15
  52. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
  53. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +4 -19
  54. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  55. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
  56. package/dist/collection/components/ptc-container/ptc-container.js +2 -2
  57. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
  58. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +0 -16
  59. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  60. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  61. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -3
  62. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
  63. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  64. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  65. package/dist/collection/components/ptc-modal/ptc-modal.js +18 -50
  66. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
  67. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
  68. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  69. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  70. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  71. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -419
  72. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -9
  73. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  74. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  75. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +11 -9
  76. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  77. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -10
  78. package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
  79. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  80. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +0 -8
  81. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
  82. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  83. package/dist/collection/components/ptc-product-list/ptc-product-list.js +1 -7
  84. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -12
  85. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
  86. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  87. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  88. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
  89. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +33 -113
  90. package/dist/collection/components/ptc-textfield/ptc-textfield.js +19 -19
  91. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  92. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  93. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  94. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -5
  95. package/dist/collection/components/tab-header/tab-header.js +1 -1
  96. package/dist/collection/stories/Card.stories.js +148 -3
  97. package/dist/collection/stories/Link.stories.js +13 -25
  98. package/dist/collection/stories/Paragraph.stories.js +10 -18
  99. package/dist/collection/stories/Select.stories.js +8 -5
  100. package/dist/collection/stories/Textfield.stories.js +28 -71
  101. package/dist/collection/stories/Title.stories.js +16 -28
  102. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  103. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  104. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  105. package/dist/custom-elements/index.d.ts +6 -0
  106. package/dist/custom-elements/index.js +230 -293
  107. package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
  108. package/dist/esm/featured-list.entry.js +1 -1
  109. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  110. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  111. package/dist/esm/list-item.entry.js +1 -1
  112. package/dist/esm/loader.js +1 -1
  113. package/dist/esm/modal-form-example.entry.js +90 -0
  114. package/dist/esm/ptc-back-to-top.entry.js +1 -16
  115. package/dist/esm/ptc-bio-card.entry.js +5 -20
  116. package/dist/esm/ptc-card_2.entry.js +5 -10
  117. package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
  118. package/dist/esm/ptc-close-icon_2.entry.js +17 -32
  119. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  120. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  121. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  122. package/dist/esm/ptc-featured-list.entry.js +1 -1
  123. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  124. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +784 -4
  125. package/dist/esm/ptc-icon-list.entry.js +1 -1
  126. package/dist/esm/ptc-info-tile.entry.js +1 -2
  127. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  128. package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
  129. package/dist/esm/ptc-para.entry.js +1 -1
  130. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  131. package/dist/esm/ptc-previous-url.entry.js +10 -2
  132. package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -9
  133. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  134. package/dist/esm/ptc-product-card.entry.js +2 -2
  135. package/dist/esm/ptc-product-category.entry.js +1 -1
  136. package/dist/esm/ptc-product-dropdown.entry.js +2 -2
  137. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  138. package/dist/esm/ptc-product-list.entry.js +1 -7
  139. package/dist/esm/ptc-product-sidebar.entry.js +6 -38
  140. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  141. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  142. package/dist/esm/ptc-related-card-rail.entry.js +32 -90
  143. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  144. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  145. package/dist/esm/ptc-white-paper.entry.js +10 -6
  146. package/dist/esm/ptcw-design.js +1 -1
  147. package/dist/esm/tab-header.entry.js +1 -1
  148. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  149. package/dist/ptcw-design/{p-752bba1c.entry.js → p-0529caaa.entry.js} +1 -1
  150. package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
  151. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  152. package/dist/ptcw-design/p-0d223232.entry.js +1 -0
  153. package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
  154. package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
  155. package/dist/ptcw-design/{p-24776ca2.entry.js → p-2cc7e2a8.entry.js} +1 -1
  156. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  157. package/dist/ptcw-design/p-3dac861d.entry.js +1 -0
  158. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  159. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
  160. package/dist/ptcw-design/{p-68ed2afe.entry.js → p-48c5eab8.entry.js} +1 -1
  161. package/dist/ptcw-design/p-4b192f5e.entry.js +1 -0
  162. package/dist/ptcw-design/p-4f93c631.entry.js +1 -0
  163. package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
  164. package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
  165. package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
  166. package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
  167. package/dist/ptcw-design/p-71fbb799.entry.js +1 -0
  168. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  169. package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-7793babb.entry.js} +1 -1
  170. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  171. package/dist/ptcw-design/p-8038bf31.entry.js +1 -0
  172. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  173. package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
  174. package/dist/ptcw-design/p-99ee8a0e.entry.js +1 -0
  175. package/dist/ptcw-design/p-9d612f1f.entry.js +1 -0
  176. package/dist/ptcw-design/p-a89b986a.entry.js +68 -0
  177. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  178. package/dist/ptcw-design/{p-757954b2.entry.js → p-b570e9a5.entry.js} +1 -1
  179. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  180. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  181. package/dist/ptcw-design/p-c788f16f.entry.js +1 -0
  182. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  183. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  184. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  185. package/dist/ptcw-design/p-f1734520.entry.js +1 -0
  186. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
  187. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  188. package/dist/ptcw-design/ptcw-design.css +2 -2
  189. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  190. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  191. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
  192. package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
  193. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
  194. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +209 -0
  195. package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -2
  196. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
  197. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  198. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  199. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  200. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
  201. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +5 -12
  202. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -54
  203. package/dist/types/components.d.ts +21 -126
  204. package/dist/types/utils/eloqua.d.ts +9 -0
  205. package/package.json +2 -6
  206. package/readme.md +5 -1
  207. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  208. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  209. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  210. package/dist/collection/stories/Jumbotron.stories.js +0 -763
  211. package/dist/esm/component-9beac35b.js +0 -1802
  212. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  213. package/dist/esm/validation-messages-adbb6518.js +0 -124
  214. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  215. package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
  216. package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
  217. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  218. package/dist/ptcw-design/p-18a5a338.js +0 -1
  219. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  220. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  221. package/dist/ptcw-design/p-4737a0f6.entry.js +0 -1
  222. package/dist/ptcw-design/p-4ca956c1.entry.js +0 -1
  223. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  224. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  225. package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
  226. package/dist/ptcw-design/p-98426799.js +0 -203
  227. package/dist/ptcw-design/p-98844b50.js +0 -134
  228. package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
  229. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  230. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  231. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  232. package/dist/ptcw-design/p-b6255525.entry.js +0 -1
  233. package/dist/ptcw-design/p-b7fa9f2c.entry.js +0 -1
  234. package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
  235. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  236. package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
  237. package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
  238. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  239. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  240. package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
  241. package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
  242. package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
  243. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  244. package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
@@ -1,40 +1,12 @@
1
1
  import { Host, h } from '@stencil/core';
2
- import { createFocusTrap } from 'focus-trap';
3
2
  export class PtcRelatedCardRail {
4
3
  constructor() {
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
4
  this.setScreenBasedProps = () => {
33
5
  let windowWidth = window.innerWidth;
34
6
  let props = {
35
7
  contentContainerMargin: undefined,
36
8
  contentCards: undefined,
37
- parahFontSize: undefined,
9
+ parahFontSize: undefined
38
10
  };
39
11
  if (windowWidth >= 2600) {
40
12
  props.contentCards = 3;
@@ -77,7 +49,7 @@ export class PtcRelatedCardRail {
77
49
  const content = contentCards[this.cardInView];
78
50
  contentContainer.scrollTo({
79
51
  left: content.offsetLeft - contentContainerMarginLeft,
80
- behavior: 'smooth',
52
+ behavior: "smooth"
81
53
  });
82
54
  }
83
55
  };
@@ -87,12 +59,12 @@ export class PtcRelatedCardRail {
87
59
  let contentContainerMarginLeftString = window.getComputedStyle(contentContainer).marginLeft;
88
60
  let contentContainerMarginLeft = Number(contentContainerMarginLeftString.substring(0, contentContainerMarginLeftString.length - 2));
89
61
  let contentCards = (_b = this.el) === null || _b === void 0 ? void 0 : _b.shadowRoot.querySelectorAll('.content');
90
- if (this.cardInView < contentCards.length - this.screenBasedProps.contentCards) {
62
+ if (this.cardInView < (contentCards.length - this.screenBasedProps.contentCards)) {
91
63
  this.cardInView += 1;
92
64
  const content = contentCards[this.cardInView];
93
65
  contentContainer.scrollTo({
94
66
  left: content.offsetLeft - contentContainerMarginLeft,
95
- behavior: 'smooth',
67
+ behavior: "smooth"
96
68
  });
97
69
  }
98
70
  };
@@ -102,18 +74,12 @@ export class PtcRelatedCardRail {
102
74
  let documentHeight = Math.max(document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, document.documentElement.clientHeight);
103
75
  let scrollTop = window.scrollY || (document.documentElement || document.body).scrollTop;
104
76
  let trackLength = documentHeight - windowHeight;
105
- let percentageSrolled = Math.floor((scrollTop / trackLength) * 100);
77
+ let percentageSrolled = Math.floor(scrollTop / trackLength * 100);
106
78
  if (percentageSrolled >= 50) {
107
79
  this.el.style.display = 'block';
108
- this.isVisible = true;
109
80
  }
110
81
  else {
111
- if (this.focusTrap && this.closed === true) {
112
- this.focusTrap.deactivate();
113
- this.focusTrap = undefined;
114
- }
115
82
  this.el.style.display = 'none';
116
- this.isVisible = false;
117
83
  }
118
84
  let cardRailContainer = this.el.shadowRoot.querySelector('.card-rail-container');
119
85
  let pageFooter = document.querySelector(this.footerQuerySelector);
@@ -126,12 +92,6 @@ export class PtcRelatedCardRail {
126
92
  }
127
93
  }
128
94
  }
129
- else {
130
- if (this.focusTrap) {
131
- this.focusTrap.deactivate();
132
- this.focusTrap = undefined;
133
- }
134
- }
135
95
  };
136
96
  this.handleOnResizeBehaviour = () => {
137
97
  var _a, _b;
@@ -145,47 +105,44 @@ export class PtcRelatedCardRail {
145
105
  });
146
106
  this.cardInView = 0;
147
107
  };
148
- this.handleKeyPress = (event) => {
149
- if (event.key === 'Enter' || event.key === ' ' || event.key === 'Tab') {
150
- this.openedByKeyboard = true;
151
- if (this.focusTrap && this.closed === true) {
152
- this.focusTrap.deactivate();
153
- this.focusTrap = undefined;
154
- //console.log('flag');
108
+ // Redirect focus to the target element
109
+ this.redirectFocus = (event) => {
110
+ if (event.key === 'Tab' && !event.shiftKey) {
111
+ const marker = document.getElementById('hidden-rail-marker');
112
+ const activeElement = document.activeElement;
113
+ if (marker && activeElement === marker) {
114
+ event.preventDefault();
115
+ setTimeout(() => {
116
+ if (this.targetElement) {
117
+ this.targetElement.focus();
118
+ }
119
+ else {
120
+ console.log('target ele reference not found');
121
+ }
122
+ }, 100);
155
123
  }
156
124
  }
157
125
  };
158
- this.handleMouseDown = () => {
159
- this.openedByKeyboard = false;
160
- };
161
126
  this.footerQuerySelector = undefined;
162
- this.railTitle = 'Read More Case Studies';
163
- this.isVisible = false;
127
+ this.railTitle = "Read More Case Studies";
164
128
  this.closed = false;
165
129
  this.cardInView = 0;
166
130
  this.data = [];
167
131
  this.screenBasedProps = {
168
132
  contentContainerMargin: undefined,
169
133
  contentCards: undefined,
170
- parahFontSize: undefined,
134
+ parahFontSize: undefined
171
135
  };
172
- this.openedByKeyboard = false;
173
- }
174
- onVisibleChanged(newValue) {
175
- if (newValue) {
176
- this.setFocusTrap();
177
- //console.log('isVisible: ' + this.isVisible);
178
- }
179
136
  }
180
137
  handleKeyClose(event) {
181
- if (event.key === 'Enter' || event.key === 'Esc') {
138
+ if (event.key === 'Enter') {
182
139
  event.preventDefault();
183
140
  this.closed = true;
184
141
  }
185
142
  }
186
143
  connectedCallback() {
187
- document.addEventListener('keydown', this.handleKeyPress, true);
188
- document.addEventListener('mousedown', this.handleMouseDown, true);
144
+ // Attach event listener to the marker
145
+ document.addEventListener('keydown', this.redirectFocus);
189
146
  }
190
147
  componentWillLoad() {
191
148
  const relatedCards = this.el.querySelectorAll('[slot^="related-card-"]');
@@ -196,7 +153,7 @@ export class PtcRelatedCardRail {
196
153
  image: undefined,
197
154
  text: undefined,
198
155
  href: undefined,
199
- altText: undefined,
156
+ altText: undefined
200
157
  };
201
158
  let cardImage = card.querySelector('img');
202
159
  let cardLink = card.querySelector('a');
@@ -209,31 +166,19 @@ export class PtcRelatedCardRail {
209
166
  }
210
167
  }
211
168
  this.handleOnScrollBehaviour();
212
- this.setScreenBasedProps();
213
169
  }
214
170
  componentDidLoad() {
171
+ this.setScreenBasedProps();
215
172
  window.addEventListener('scroll', this.handleOnScrollBehaviour);
216
173
  window.addEventListener('resize', this.handleOnResizeBehaviour);
217
174
  }
218
175
  disconnectedCallback() {
219
- document.removeEventListener('keydown', this.handleKeyPress, true);
220
- document.removeEventListener('mousedown', this.handleMouseDown, true);
221
- if (this.focusTrap) {
222
- this.focusTrap.deactivate();
223
- this.focusTrap = undefined;
224
- }
176
+ // Clean up the event listener when the component is removed
177
+ document.removeEventListener('keydown', this.redirectFocus);
225
178
  }
226
179
  render() {
227
- return this.closed ? null : (h(Host, null, h("div", { class: "card-rail-container", id: "card-rail-reveal-tag" }, h("div", { class: "card-rail-header" }, h("div", { class: "card-rail-heading" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-7", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-normal", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.railTitle)), h("div", { ref: el => (this.targetElement = el), id: "card-rail-close", class: "card-rail-close mf-listen", onKeyDown: event => this.handleKeyClose(event), onClick: () => {
228
- if (this.focusTrap) {
229
- this.focusTrap.deactivate();
230
- }
231
- this.closed = true;
232
- }, 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
- event.key === 'Enter' && window.open(item.href);
234
- }, onClick: () => {
235
- window.open(item.href);
236
- }, tabindex: "0" }, h("div", { class: "content-image" }, h("img", { alt: item.altText, src: item.image })), h("div", { class: "content-text" }, h("ptc-para", { "ellipsis-line-cutoff": "3", "font-size": this.screenBasedProps.parahFontSize, "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, item.text))))))))));
180
+ return (this.closed ? null :
181
+ h(Host, null, h("div", { class: "card-rail-container", id: "card-rail-reveal-tag" }, h("div", { class: "card-rail-header" }, h("div", { class: "card-rail-heading" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-7", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-normal", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.railTitle)), h("div", { ref: (el) => (this.targetElement = el), id: "card-rail-close", class: "card-rail-close mf-listen", onKeyDown: (event) => this.handleKeyClose(event), onClick: () => { this.closed = true; }, 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) => { event.key === 'Enter' && window.open(item.href); }, onClick: () => { window.open(item.href); }, tabindex: "0" }, h("div", { class: "content-image" }, h("img", { alt: item.altText, src: item.image })), h("div", { class: "content-text" }, h("ptc-para", { "ellipsis-line-cutoff": "3", "font-size": this.screenBasedProps.parahFontSize, "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, item.text)))))))));
237
182
  }
238
183
  static get is() { return "ptc-related-card-rail"; }
239
184
  static get encapsulation() { return "shadow"; }
@@ -282,25 +227,7 @@ export class PtcRelatedCardRail {
282
227
  },
283
228
  "attribute": "rail-title",
284
229
  "reflect": false,
285
- "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"
230
+ "defaultValue": "\"Read More Case Studies\""
304
231
  }
305
232
  };
306
233
  }
@@ -309,15 +236,8 @@ export class PtcRelatedCardRail {
309
236
  "closed": {},
310
237
  "cardInView": {},
311
238
  "data": {},
312
- "screenBasedProps": {},
313
- "openedByKeyboard": {}
239
+ "screenBasedProps": {}
314
240
  };
315
241
  }
316
242
  static get elementRef() { return "el"; }
317
- static get watchers() {
318
- return [{
319
- "propName": "isVisible",
320
- "methodName": "onVisibleChanged"
321
- }];
322
- }
323
243
  }
@@ -249,7 +249,7 @@ export class PtcTextfield {
249
249
  h("div", { class: `mdc-text-field mdc-text-field--outlined mdc-text-field--no-label
250
250
  ${this.fieldId === 'contact-phone' ? 'intl-phone-adjustments' : ''}`, ref: mdcTextfield => {
251
251
  this.mdcTextfield = mdcTextfield;
252
- } }, h("span", { class: "mdc-notched-outline ptc-textfield-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })), h("input", Object.assign({ ref: customInput => {
252
+ } }, h("span", { class: "mdc-notched-outline ptc-textfield-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })), h("input", Object.assign({}, (this.disabled ? { disabled: true } : null), { ref: customInput => {
253
253
  this.customInput = customInput;
254
254
  }, id: this.fieldId }, (this.getInputClassName() ? { class: this.getInputClassName() } : null), { type: this.type }, (this.required ? { required: true } : null), (this.ptcMaxLength ? { maxlength: this.ptcMaxLength } : null), { "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName, value: this.inputValue, name: this.fieldName }, (this.getValidationPattern() ? { pattern: this.getValidationPattern() } : null), (this.ignoreBlindSubmit ? { ignoreBlindSubmit: true } : null), { placeholder: this.placeholderText }))),
255
255
  h("div", { class: `mdc-text-field-helper-line
@@ -283,7 +283,7 @@ export class PtcTextfield {
283
283
  "optional": false,
284
284
  "docs": {
285
285
  "tags": [],
286
- "text": "ID"
286
+ "text": ""
287
287
  },
288
288
  "attribute": "field-id",
289
289
  "reflect": false
@@ -300,7 +300,7 @@ export class PtcTextfield {
300
300
  "optional": false,
301
301
  "docs": {
302
302
  "tags": [],
303
- "text": "text, button, email, file and etc. This value triggers different validation"
303
+ "text": ""
304
304
  },
305
305
  "attribute": "type",
306
306
  "reflect": false,
@@ -318,7 +318,7 @@ export class PtcTextfield {
318
318
  "optional": false,
319
319
  "docs": {
320
320
  "tags": [],
321
- "text": "Is this a mandatory field?"
321
+ "text": ""
322
322
  },
323
323
  "attribute": "required",
324
324
  "reflect": false,
@@ -336,7 +336,7 @@ export class PtcTextfield {
336
336
  "optional": true,
337
337
  "docs": {
338
338
  "tags": [],
339
- "text": "Text counter limit"
339
+ "text": ""
340
340
  },
341
341
  "attribute": "ptc-max-length",
342
342
  "reflect": false
@@ -353,7 +353,7 @@ export class PtcTextfield {
353
353
  "optional": false,
354
354
  "docs": {
355
355
  "tags": [],
356
- "text": "Label Text"
356
+ "text": ""
357
357
  },
358
358
  "attribute": "label-text",
359
359
  "reflect": false,
@@ -371,7 +371,7 @@ export class PtcTextfield {
371
371
  "optional": false,
372
372
  "docs": {
373
373
  "tags": [],
374
- "text": "Validation text (red)"
374
+ "text": ""
375
375
  },
376
376
  "attribute": "helpertext",
377
377
  "reflect": false,
@@ -389,7 +389,7 @@ export class PtcTextfield {
389
389
  "optional": false,
390
390
  "docs": {
391
391
  "tags": [],
392
- "text": "Info Text (black)"
392
+ "text": ""
393
393
  },
394
394
  "attribute": "info-text",
395
395
  "reflect": false
@@ -406,7 +406,7 @@ export class PtcTextfield {
406
406
  "optional": false,
407
407
  "docs": {
408
408
  "tags": [],
409
- "text": "Alert Text"
409
+ "text": ""
410
410
  },
411
411
  "attribute": "alert-text",
412
412
  "reflect": false
@@ -423,7 +423,7 @@ export class PtcTextfield {
423
423
  "optional": false,
424
424
  "docs": {
425
425
  "tags": [],
426
- "text": "Alert Text Content"
426
+ "text": ""
427
427
  },
428
428
  "attribute": "alert-text-content",
429
429
  "reflect": false
@@ -440,7 +440,7 @@ export class PtcTextfield {
440
440
  "optional": false,
441
441
  "docs": {
442
442
  "tags": [],
443
- "text": "Disable the field"
443
+ "text": ""
444
444
  },
445
445
  "attribute": "disabled",
446
446
  "reflect": false,
@@ -458,7 +458,7 @@ export class PtcTextfield {
458
458
  "optional": false,
459
459
  "docs": {
460
460
  "tags": [],
461
- "text": "input \"name\" value. e.g.: 'phone', 'email', 'firstname', 'lastname'"
461
+ "text": ""
462
462
  },
463
463
  "attribute": "field-name",
464
464
  "reflect": false,
@@ -476,7 +476,7 @@ export class PtcTextfield {
476
476
  "optional": false,
477
477
  "docs": {
478
478
  "tags": [],
479
- "text": "Eloqua Data Name (for the eloqua)"
479
+ "text": ""
480
480
  },
481
481
  "attribute": "ptc-data-eloqua-name",
482
482
  "reflect": false
@@ -493,7 +493,7 @@ export class PtcTextfield {
493
493
  "optional": false,
494
494
  "docs": {
495
495
  "tags": [],
496
- "text": "Eloqua Target Data Name (for the eloqua)"
496
+ "text": ""
497
497
  },
498
498
  "attribute": "ptc-data-target-eloqua-name",
499
499
  "reflect": false
@@ -532,7 +532,7 @@ export class PtcTextfield {
532
532
  "optional": false,
533
533
  "docs": {
534
534
  "tags": [],
535
- "text": "Custom Validation - String"
535
+ "text": ""
536
536
  }
537
537
  },
538
538
  "ignoreBlindSubmit": {
@@ -547,7 +547,7 @@ export class PtcTextfield {
547
547
  "optional": false,
548
548
  "docs": {
549
549
  "tags": [],
550
- "text": "Ignore Blind Submit?"
550
+ "text": ""
551
551
  },
552
552
  "attribute": "ignore-blind-submit",
553
553
  "reflect": false,
@@ -565,7 +565,7 @@ export class PtcTextfield {
565
565
  "optional": false,
566
566
  "docs": {
567
567
  "tags": [],
568
- "text": "Place holder Text"
568
+ "text": ""
569
569
  },
570
570
  "attribute": "placeholder-text",
571
571
  "reflect": false
@@ -582,7 +582,7 @@ export class PtcTextfield {
582
582
  "optional": false,
583
583
  "docs": {
584
584
  "tags": [],
585
- "text": "Inject styles for customization"
585
+ "text": ""
586
586
  },
587
587
  "attribute": "styles",
588
588
  "reflect": false
@@ -599,7 +599,7 @@ export class PtcTextfield {
599
599
  "optional": false,
600
600
  "docs": {
601
601
  "tags": [],
602
- "text": "Text Field Form"
602
+ "text": ""
603
603
  },
604
604
  "attribute": "textfield-form",
605
605
  "reflect": false,
@@ -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);
@@ -5659,26 +5659,26 @@ a:focus-visible {
5659
5659
  border-radius: var(--ptc-border-radius-standard);
5660
5660
  }
5661
5661
 
5662
- .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 {
5662
+ .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 {
5663
5663
  color: var(--color-blue-04);
5664
5664
  margin: -2px;
5665
5665
  border: 2px solid transparent;
5666
5666
  }
5667
- .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 {
5667
+ .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 {
5668
5668
  color: var(--color-blue-06);
5669
5669
  }
5670
- .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 {
5670
+ .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 {
5671
5671
  transition: none;
5672
5672
  color: var(--color-blue-07);
5673
5673
  }
5674
- .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 {
5674
+ .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 {
5675
5675
  color: var(--color-blue-05);
5676
5676
  }
5677
- .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 {
5677
+ .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 {
5678
5678
  color: var(--color-gray-04) !important;
5679
5679
  cursor: not-allowed;
5680
5680
  }
5681
- .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 {
5681
+ .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 {
5682
5682
  border-radius: var(--ptc-border-radius-standard);
5683
5683
  border: 2px solid white;
5684
5684
  outline: 5px solid var(--keyboard-nav-outline);
@@ -28,7 +28,6 @@ export class PtcWhitePaper {
28
28
  window.scrollTo(0, 0);
29
29
  if (newPage == 2) {
30
30
  let modalForm = document.querySelector("#modal-form");
31
- modalForm.focusBackElement = this.el.shadowRoot.querySelectorAll('.pagination button')[2];
32
31
  if (modalForm) {
33
32
  modalForm.setAttribute("show", "true");
34
33
  setTimeout(() => {
@@ -84,9 +83,14 @@ export class PtcWhitePaper {
84
83
  }
85
84
  renderContent(item, index) {
86
85
  const components = Object.values(item);
87
- return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) => (h("div", { key: i }, (comp.heading && comp.heading.trim() !== '') ? (this.currentPage == 1
88
- ? (h("ptc-title", { type: "h1", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, comp.heading, h("ptc-spacer", { size: "large" })))
89
- : (h("ptc-title", { type: "h2", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, comp.heading, h("ptc-spacer", { size: "large" })))) : "", (comp.subHeading && comp.subHeading.trim() !== '') ? (h("div", { class: "sub-heading rich-content-text-editor", innerHTML: comp.subHeading })) : '', comp.componentType === 'two-column-with-text-media' && this.renderTwoColumnText(comp, i), comp.componentType === 'fullspan-media' && this.renderfullspanMedia(comp, i), comp.componentType === 'fullspan-text' && this.renderFullspanText(comp, i))))));
86
+ return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) => {
87
+ var _a, _b;
88
+ let heading = this.el.querySelector(`[slot="heading-page${this.currentPage}-comp${i + 1}"]`);
89
+ let subHeading = this.el.querySelector(`[slot="subheading-page${this.currentPage}-comp${i + 1}"]`);
90
+ return h("div", { key: i }, (heading && heading.innerText && ((_a = heading.innerText) === null || _a === void 0 ? void 0 : _a.trim()) !== '') ? (this.currentPage == 1
91
+ ? (h("ptc-title", { type: "h1", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))
92
+ : (h("ptc-title", { type: "h2", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))) : "", (subHeading && subHeading.innerText && ((_b = subHeading.innerText) === null || _b === void 0 ? void 0 : _b.trim()) !== '') ? (h("div", { class: "sub-heading rich-content-text-editor" }, h("slot", { name: `subheading-page${this.currentPage}-comp${i + 1}` }))) : '', comp.componentType === 'two-column-with-text-media' && this.renderTwoColumnText(comp, i), comp.componentType === 'fullspan-media' && this.renderfullspanMedia(comp, i), comp.componentType === 'fullspan-text' && this.renderFullspanText(comp, i));
93
+ })));
90
94
  }
91
95
  renderTwoColumnText(comp, index) {
92
96
  return (h("div", null, comp.leftColumnContent && (h("div", { class: "is-grid has-col-gap-xl has-row-gap-sm wp-component", key: index }, h("div", { class: "is-col-6-md" }, h("div", { class: "left-content", innerHTML: comp.leftColumnContent })), h("div", { class: "is-col-6-md" }, h("div", { class: "right-content", innerHTML: comp.rightColumnContent }))))));
@@ -106,7 +110,7 @@ export class PtcWhitePaper {
106
110
  const startIndex = (this.currentPage - 1) * this.itemsPerPage;
107
111
  const endIndex = startIndex + this.itemsPerPage;
108
112
  const currentItems = JSON.parse(this.items).slice(startIndex, endIndex);
109
- return (h(Host, null, h("div", { class: "hero-image" }, h("ptc-img", { "image-type": "smart-bg", "img-url": this.topBackgroundImage, "load-mode": "lazy-bg", styles: "" })), h("div", { class: "ptc-container " }, h("div", { class: "content-container" }, h("div", { class: "pagination-wrap" }, h("div", { class: "pagination" }, h("button", { class: "mf-listen", id: "prevPageBtnID", onClick: () => this.handlePrevPage(), onKeyPress: () => this.handlePrevPage(), tabIndex: 0, disabled: this.currentPage === 1 }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_left_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_left_mini" }, h("path", { d: "M12 12.833L8.304 9 12 5.167 10.821 4 6 9l4.821 5L12 12.833z", class: "icon_chevron_left" }))))), this.renderPaginationButtons(), h("button", { class: "mf-listen", id: "nextPageBtnID", onClick: () => this.handleNextPage(), onKeyPress: () => this.handleNextPage(), tabIndex: 0, disabled: this.currentPage === this.totalPages }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_right_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_right_mini" }, h("path", { d: "M6 5.167L9.696 9 6 12.833 7.179 14 12 9 7.179 4 6 5.167z", class: "icon_chevron_right" })))))), h("div", { class: "mf-listen dl-btn-wrapper", id: "downloadBtnID" }, h("a", { class: "dl-btn", tabindex: 0, onKeyPress: (e) => this.downloadCtaClicked.emit(e), onClick: (e) => { this.downloadCtaClicked.emit(e); } }, h("span", { class: "dl-text" }, "Download"), h("img", { src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" })))), h("div", null, currentItems.map((item, index) => this.renderContent(item, index)))))));
113
+ return (h(Host, null, h("div", { class: "hero-image" }, h("ptc-img", { "image-type": "smart-bg", "img-url": this.topBackgroundImage, "load-mode": "lazy-bg", styles: "" })), h("div", { class: "ptc-container " }, h("div", { class: "content-container" }, h("div", { class: "pagination-wrap" }, h("div", { class: "pagination" }, h("button", { class: "mf-listen", id: "prevPageBtnID", onClick: () => this.handlePrevPage(), onKeyPress: () => this.handlePrevPage(), tabIndex: 0, disabled: this.currentPage === 1 }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_left_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_left_mini" }, h("path", { d: "M12 12.833L8.304 9 12 5.167 10.821 4 6 9l4.821 5L12 12.833z", class: "icon_chevron_left" }))))), this.renderPaginationButtons(), h("button", { class: "mf-listen", id: "nextPageBtnID", onClick: () => this.handleNextPage(), onKeyPress: () => this.handleNextPage(), tabIndex: 0, disabled: this.currentPage === this.totalPages }, h("svg", { preserveAspectRatio: "xMidYMid meet", focusable: "false", viewBox: "0 0 18 18" }, h("g", { id: "icon_chevron_right_mini", viewBox: "0 0 18 18" }, h("g", { class: "icon_chevron_right_mini" }, h("path", { d: "M6 5.167L9.696 9 6 12.833 7.179 14 12 9 7.179 4 6 5.167z", class: "icon_chevron_right" })))))), h("div", { class: "mf-listen dl-btn-wrapper", id: "downloadBtnID" }, h("a", { class: "dl-btn", tabindex: 0, onKeyPress: () => this.downloadCtaClicked.emit(), onClick: () => { this.downloadCtaClicked.emit(); } }, h("span", { class: "dl-text" }, "Download"), h("img", { src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" })))), h("div", null, currentItems.map((item, index) => this.renderContent(item, index)))))));
110
114
  }
111
115
  static get is() { return "ptc-white-paper"; }
112
116
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class TabHeader {
63
63
  'tab-header-selected': this.isSelected
64
64
  };
65
65
  return [
66
- h("div", { class: classes, onClick: this.onClick.bind(this) }, h("slot", { name: "seo-content" }), h("span", { class: "header-content" }, h("span", { class: "text-cont" }, this.tabHeaderText))),
66
+ h("h2", { class: classes, onClick: this.onClick.bind(this) }, h("slot", { name: "seo-content" }), h("span", { class: "header-content" }, h("span", { class: "text-cont" }, this.tabHeaderText))),
67
67
  ];
68
68
  }
69
69
  static get is() { return "tab-header"; }