@ptcwebops/ptcw-design 6.4.13 → 6.4.14-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 (520) hide show
  1. package/dist/cjs/blogs-search-section.cjs.entry.js +4 -1
  2. package/dist/cjs/buying-option-card.cjs.entry.js +1 -1
  3. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +15 -8
  4. package/dist/cjs/{component-06dda623.js → component-6a178a16.js} +2643 -832
  5. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
  6. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  7. package/dist/cjs/homepage-toggled-content.cjs.entry.js +3 -1
  8. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/interfaces-574e6df7.js +15 -0
  11. package/dist/cjs/list-item.cjs.entry.js +52 -0
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  14. package/dist/cjs/modal-form-example.cjs.entry.js +109 -0
  15. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
  16. package/dist/cjs/ptc-background-video.cjs.entry.js +152 -0
  17. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +53 -0
  19. package/dist/cjs/ptc-button_5.cjs.entry.js +597 -0
  20. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -17
  21. package/dist/cjs/ptc-card-content.cjs.entry.js +1 -7
  22. package/dist/cjs/ptc-card_2.cjs.entry.js +6 -5
  23. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  25. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  26. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  29. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +724 -6
  30. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-img.cjs.entry.js +216 -0
  33. package/dist/cjs/ptc-jumbotron.cjs.entry.js +190 -0
  34. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
  35. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
  39. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +37 -21
  40. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +433 -0
  47. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-tooltip.cjs.entry.js +113 -0
  49. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -9
  52. package/dist/cjs/ptcw-design.cjs.js +1 -1
  53. package/dist/collection/collection-manifest.json +1 -0
  54. package/dist/collection/components/buying-option-card/buying-option-card.css +2 -0
  55. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +9 -35
  56. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +14 -7
  57. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
  58. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
  59. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +28 -2
  60. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
  61. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +24 -0
  62. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  63. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +114 -0
  64. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
  65. package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
  66. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -0
  67. package/dist/collection/components/ptc-button/ptc-button.css +0 -2
  68. package/dist/collection/components/ptc-card/ptc-card.css +15 -1
  69. package/dist/collection/components/ptc-card-content/ptc-card-content.css +3 -45
  70. package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -26
  71. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -17
  72. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +24 -0
  73. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -0
  74. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +1 -0
  75. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -0
  76. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +2 -1
  77. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +2 -1
  78. package/dist/collection/components/ptc-img/ptc-img.css +76 -0
  79. package/dist/collection/components/ptc-img/ptc-img.js +132 -7
  80. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +26 -3
  81. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
  82. package/dist/collection/components/ptc-modal/ptc-modal.css +5 -0
  83. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  84. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
  85. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +5 -2
  86. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  87. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  88. package/dist/collection/components/ptc-picture/ptc-picture.js +0 -40
  89. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +24 -0
  90. package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
  91. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  92. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +1 -2
  93. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
  94. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  95. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
  96. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +37 -21
  97. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  98. package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -0
  99. package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -0
  100. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -0
  101. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -0
  102. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -0
  103. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +110 -115
  104. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +150 -249
  105. package/dist/collection/components/ptc-textfield/ptc-textfield.css +1 -1
  106. package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
  107. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -0
  108. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -0
  109. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +2 -1
  110. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +29 -4
  111. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
  112. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  113. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  114. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  115. package/dist/collection/stories/organisms/ptc/Subanv New/preview.stories.js +338 -0
  116. package/dist/custom-elements/index.d.ts +6 -0
  117. package/dist/custom-elements/index.js +516 -411
  118. package/dist/esm/academic-form-test.entry.js +1 -1
  119. package/dist/esm/author-listing-example.entry.js +1 -1
  120. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  121. package/dist/esm/blog-detail-layout.entry.js +1 -1
  122. package/dist/esm/blogs-search-section.entry.js +5 -2
  123. package/dist/esm/bundle-example.entry.js +1 -1
  124. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  125. package/dist/esm/buying-option-card.entry.js +2 -2
  126. package/dist/esm/buying-option-cards-slider.entry.js +16 -9
  127. package/dist/esm/{component-274da230.js → component-80f298b4.js} +2592 -793
  128. package/dist/esm/dropdown-item.entry.js +1 -1
  129. package/dist/esm/dynamic-box-bundle.entry.js +4 -2
  130. package/dist/esm/embedded-form.entry.js +1 -1
  131. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  132. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  133. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  134. package/dist/esm/featured-list.entry.js +2 -2
  135. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  136. package/dist/esm/footer-form.entry.js +1 -1
  137. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  138. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  139. package/dist/esm/homepage-toggled-content.entry.js +4 -2
  140. package/dist/esm/icon-asset.entry.js +61 -0
  141. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  142. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  143. package/dist/esm/interfaces-7c0243be.js +12 -0
  144. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  145. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  146. package/dist/esm/list-item.entry.js +48 -0
  147. package/dist/esm/loader.js +3 -3
  148. package/dist/esm/max-width-container.entry.js +50 -0
  149. package/dist/esm/modal-form-example.entry.js +105 -0
  150. package/dist/esm/most-popular-news.entry.js +1 -1
  151. package/dist/esm/my-component.entry.js +1 -1
  152. package/dist/esm/news-search-result.entry.js +1 -1
  153. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  154. package/dist/esm/ptc-accordion.entry.js +1 -1
  155. package/dist/esm/ptc-announcement.entry.js +3 -2
  156. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  157. package/dist/esm/ptc-background-video.entry.js +148 -0
  158. package/dist/esm/ptc-badge.entry.js +1 -1
  159. package/dist/esm/ptc-bio-card.entry.js +2 -2
  160. package/dist/esm/ptc-breadcrumb.entry.js +49 -0
  161. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  162. package/dist/esm/ptc-button_5.entry.js +589 -0
  163. package/dist/esm/ptc-card-bottom_2.entry.js +4 -18
  164. package/dist/esm/ptc-card-content.entry.js +2 -8
  165. package/dist/esm/ptc-card_2.entry.js +7 -6
  166. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  167. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  168. package/dist/esm/ptc-checkbox.entry.js +1 -1
  169. package/dist/esm/ptc-close-icon_2.entry.js +25 -25
  170. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  171. package/dist/esm/ptc-container.entry.js +1 -1
  172. package/dist/esm/ptc-countdown.entry.js +1 -1
  173. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  174. package/dist/esm/ptc-date.entry.js +1 -1
  175. package/dist/esm/ptc-dropdown.entry.js +1 -1
  176. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  177. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  178. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  179. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  180. package/dist/esm/ptc-featured-list.entry.js +2 -2
  181. package/dist/esm/ptc-filter-dropdown_4.entry.js +2 -2
  182. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  183. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  184. package/dist/esm/ptc-footer.entry.js +1 -1
  185. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +724 -8
  186. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  187. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  188. package/dist/esm/ptc-form.entry.js +1 -1
  189. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  190. package/dist/esm/ptc-hero.entry.js +1 -1
  191. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  192. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  193. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  194. package/dist/esm/ptc-icon-card.entry.js +1 -1
  195. package/dist/esm/ptc-icon-component.entry.js +1 -1
  196. package/dist/esm/ptc-icon-list.entry.js +1 -1
  197. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  198. package/dist/esm/ptc-image-download-strip.entry.js +2 -2
  199. package/dist/esm/ptc-img.entry.js +212 -0
  200. package/dist/esm/ptc-info-tile.entry.js +1 -1
  201. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  202. package/dist/esm/ptc-jumbotron.entry.js +186 -0
  203. package/dist/esm/ptc-link.entry.js +1 -1
  204. package/dist/esm/ptc-list.entry.js +1 -1
  205. package/dist/esm/ptc-media-card.entry.js +1 -1
  206. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  207. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  208. package/dist/esm/ptc-modal-quiz.entry.js +5 -2
  209. package/dist/esm/ptc-nav-card.entry.js +2 -2
  210. package/dist/esm/ptc-nav-link.entry.js +1 -1
  211. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  212. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  213. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  214. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  215. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  216. package/dist/esm/ptc-news.entry.js +1 -1
  217. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  218. package/dist/esm/ptc-office-locations.entry.js +1 -1
  219. package/dist/esm/ptc-overlay.entry.js +1 -1
  220. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  221. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  222. package/dist/esm/ptc-preloader.entry.js +2 -2
  223. package/dist/esm/ptc-previous-url.entry.js +12 -3
  224. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  225. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  226. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  227. package/dist/esm/ptc-pricing-packaging-table.entry.js +38 -22
  228. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  229. package/dist/esm/ptc-product-card.entry.js +2 -2
  230. package/dist/esm/ptc-product-category.entry.js +2 -2
  231. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  232. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  233. package/dist/esm/ptc-product-list.entry.js +1 -1
  234. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  235. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  236. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  237. package/dist/esm/ptc-quote.entry.js +1 -1
  238. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  239. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  240. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  241. package/dist/esm/ptc-readmore.entry.js +1 -1
  242. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  243. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  244. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  245. package/dist/esm/ptc-search-field.entry.js +1 -1
  246. package/dist/esm/ptc-seo-title.entry.js +1 -1
  247. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  248. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  249. package/dist/esm/ptc-skeleton.entry.js +1 -1
  250. package/dist/esm/ptc-slit-card.entry.js +1 -1
  251. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  252. package/dist/esm/ptc-social-icons.entry.js +1 -1
  253. package/dist/esm/ptc-span.entry.js +1 -1
  254. package/dist/esm/ptc-square-card.entry.js +1 -1
  255. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  256. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  257. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  258. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  259. package/dist/esm/ptc-subnav-v2.entry.js +429 -0
  260. package/dist/esm/ptc-subnav.entry.js +1 -1
  261. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  262. package/dist/esm/ptc-tab-list.entry.js +1 -1
  263. package/dist/esm/ptc-tab.entry.js +1 -1
  264. package/dist/esm/ptc-tabs.entry.js +1 -1
  265. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  266. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  267. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  268. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  269. package/dist/esm/ptc-tooltip.entry.js +109 -0
  270. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  271. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  272. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  273. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  274. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  275. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  276. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  277. package/dist/esm/ptc-value-prop-card.entry.js +2 -2
  278. package/dist/esm/ptc-video-embed.entry.js +1 -1
  279. package/dist/esm/ptc-white-paper.entry.js +20 -10
  280. package/dist/esm/ptcw-design.js +3 -3
  281. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  282. package/dist/esm/sequential-bundle.entry.js +1 -1
  283. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  284. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  285. package/dist/esm/tab-content.entry.js +1 -1
  286. package/dist/esm/tab-header.entry.js +1 -1
  287. package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
  288. package/dist/ptcw-design/{p-8b6d2c59.entry.js → p-02622aa7.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-a0d6fc14.entry.js → p-0451b768.entry.js} +1 -1
  290. package/dist/ptcw-design/p-04891836.entry.js +1 -0
  291. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  293. package/dist/ptcw-design/p-086ab73a.entry.js +1 -0
  294. package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
  295. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-c80265d9.entry.js → p-0c914932.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-f004e5de.entry.js → p-0ddf2a09.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-a31f22a1.entry.js → p-0df868d2.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-36d6e662.entry.js → p-13e338a5.entry.js} +1 -1
  300. package/dist/ptcw-design/p-1519b36f.entry.js +1 -0
  301. package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
  302. package/dist/ptcw-design/p-17b8281a.entry.js +1 -0
  303. package/dist/ptcw-design/{p-f418ef26.entry.js → p-18d699f0.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-7815e38b.entry.js → p-1bffeaed.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-908ad455.entry.js → p-1c26f390.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-83632220.entry.js → p-1e32a493.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-d428ba40.entry.js → p-1f0daed2.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-c9762c88.entry.js → p-23cb5b5b.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  311. package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
  312. package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
  313. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-f20e4230.entry.js → p-2a22123e.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-f4ae5a99.entry.js → p-2b08a37d.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-315b7885.entry.js → p-2c287230.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  318. package/dist/ptcw-design/p-2c8faf9a.entry.js +1 -0
  319. package/dist/ptcw-design/p-2d00fefd.entry.js +1 -0
  320. package/dist/ptcw-design/p-32bec5ef.entry.js +1 -0
  321. package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
  322. package/dist/ptcw-design/p-3572eccc.entry.js +1 -0
  323. package/dist/ptcw-design/p-36a3eb03.entry.js +68 -0
  324. package/dist/ptcw-design/p-37f92bb4.entry.js +1 -0
  325. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  326. package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
  327. package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
  328. package/dist/ptcw-design/p-456c5cbb.entry.js +1 -0
  329. package/dist/ptcw-design/p-46b47ed7.entry.js +1 -0
  330. package/dist/ptcw-design/{p-068b64a1.entry.js → p-46c518c8.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-ed5a467e.entry.js → p-4f4f97a6.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-2f82de8f.entry.js → p-50569afd.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-91e5c8d4.entry.js → p-506dac1f.entry.js} +1 -1
  336. package/dist/ptcw-design/p-53a96796.entry.js +1 -0
  337. package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
  338. package/dist/ptcw-design/p-567535fb.entry.js +1 -0
  339. package/dist/ptcw-design/{p-c8de7309.entry.js → p-575861b3.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-ec395ae9.entry.js → p-5877f093.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-07b46e6e.entry.js → p-58909b95.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  344. package/dist/ptcw-design/p-5cf5b9f8.entry.js +1 -0
  345. package/dist/ptcw-design/{p-7c6d6a5e.entry.js → p-5dd538c4.entry.js} +1 -1
  346. package/dist/ptcw-design/p-5e4c1edf.entry.js +1 -0
  347. package/dist/ptcw-design/p-5ec17b43.entry.js +1 -0
  348. package/dist/ptcw-design/p-60d001c8.entry.js +1 -0
  349. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-fa045097.entry.js → p-62e3cd51.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-3e13f29c.entry.js → p-66ecd7b9.entry.js} +1 -1
  352. package/dist/ptcw-design/p-672a349f.js +336 -0
  353. package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-eabf87be.entry.js → p-6ac4cfab.entry.js} +1 -1
  355. package/dist/ptcw-design/p-6b9d075f.entry.js +1 -0
  356. package/dist/ptcw-design/{p-7a9288d1.entry.js → p-7235425a.entry.js} +1 -1
  357. package/dist/ptcw-design/p-74097f89.entry.js +1 -0
  358. package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
  359. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  360. package/dist/ptcw-design/{p-2fdd81d4.entry.js → p-7714bbaf.entry.js} +1 -1
  361. package/dist/ptcw-design/p-7834cfee.entry.js +1 -0
  362. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  363. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
  365. package/dist/ptcw-design/p-7fe4d383.entry.js +1 -0
  366. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  367. package/dist/ptcw-design/p-82f766d2.entry.js +1 -0
  368. package/dist/ptcw-design/{p-ff369ed7.entry.js → p-84c15835.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  370. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  371. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-d0013567.entry.js → p-8b480abd.entry.js} +1 -1
  373. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  374. package/dist/ptcw-design/p-9063956c.entry.js +1 -0
  375. package/dist/ptcw-design/p-90f1a7af.entry.js +1 -0
  376. package/dist/ptcw-design/{p-cf0f6559.entry.js → p-927373d4.entry.js} +1 -1
  377. package/dist/ptcw-design/{p-2fa5814b.entry.js → p-92ad78c5.entry.js} +1 -1
  378. package/dist/ptcw-design/{p-e1bd2c43.entry.js → p-92e76318.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-2ba77e9d.entry.js → p-9354b7fd.entry.js} +1 -1
  381. package/dist/ptcw-design/p-96f346c4.entry.js +1 -0
  382. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  383. package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
  384. package/dist/ptcw-design/p-99daf693.entry.js +1 -0
  385. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  386. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  388. package/dist/ptcw-design/{p-681d26ef.entry.js → p-9ca635fa.entry.js} +1 -1
  389. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  390. package/dist/ptcw-design/{p-6251a6d6.entry.js → p-9e4e21a4.entry.js} +1 -1
  391. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-9ef2b1e7.entry.js} +1 -1
  392. package/dist/ptcw-design/{p-3596ce5a.entry.js → p-9fb21bdf.entry.js} +1 -1
  393. package/dist/ptcw-design/{p-afb5bdb9.entry.js → p-a04bedc2.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  395. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  396. package/dist/ptcw-design/{p-b6cc4c2a.entry.js → p-a41c7e39.entry.js} +1 -1
  397. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  398. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  399. package/dist/ptcw-design/{p-ed53cb3a.entry.js → p-a8304a3e.entry.js} +1 -1
  400. package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
  401. package/dist/ptcw-design/{p-e50a5a46.entry.js → p-a993c0a6.entry.js} +1 -1
  402. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  403. package/dist/ptcw-design/{p-6f1cc5e5.entry.js → p-ab4906a7.entry.js} +1 -1
  404. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  405. package/dist/ptcw-design/{p-e249cd90.entry.js → p-ac7b2779.entry.js} +1 -1
  406. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  407. package/dist/ptcw-design/p-b06bc0a1.entry.js +1 -0
  408. package/dist/ptcw-design/{p-b82dd7f9.entry.js → p-b19cda95.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
  410. package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
  411. package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
  412. package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
  413. package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
  414. package/dist/ptcw-design/{p-e1373325.entry.js → p-bd3d71f1.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-73293d32.entry.js → p-bf84ecc0.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-fb0c3eeb.entry.js → p-c061b32d.entry.js} +1 -1
  418. package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
  419. package/dist/ptcw-design/{p-b9966f20.entry.js → p-c160bda4.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-5344a1f4.entry.js → p-c4674bc8.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  425. package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
  426. package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
  427. package/dist/ptcw-design/{p-384548ef.entry.js → p-cc652ebe.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-d8c1a14a.entry.js → p-cc7d5eb7.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-89da867f.entry.js → p-d391c01b.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-81736d6a.entry.js → p-d77531c8.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-f5665cfe.entry.js → p-d8b2466d.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-e880b556.entry.js → p-db0fc94d.entry.js} +1 -1
  434. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  435. package/dist/ptcw-design/p-df66407c.entry.js +1 -0
  436. package/dist/ptcw-design/p-e01173ca.entry.js +1 -0
  437. package/dist/ptcw-design/p-e0e87d61.entry.js +1 -0
  438. package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-53d2547b.entry.js → p-e3867512.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  441. package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
  442. package/dist/ptcw-design/{p-b1053240.entry.js → p-e73a1a0b.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-1b3394a7.entry.js → p-e7c00e48.entry.js} +1 -1
  444. package/dist/ptcw-design/p-ee1183b2.js +1 -0
  445. package/dist/ptcw-design/{p-fe56e336.entry.js → p-ee91170c.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-03e33d4a.entry.js → p-f010c07f.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-e2da8109.entry.js → p-f2675bb0.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  449. package/dist/ptcw-design/{p-d6271974.entry.js → p-f5d8a3b1.entry.js} +1 -1
  450. package/dist/ptcw-design/p-f6b70f68.entry.js +1 -0
  451. package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.entry.js} +1 -1
  452. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  453. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  454. package/dist/ptcw-design/p-ff66587b.entry.js +1 -0
  455. package/dist/ptcw-design/ptcw-design.css +4 -3
  456. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  457. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  458. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -2
  459. package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
  460. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
  461. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  462. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  463. package/dist/types/components/ptc-picture/ptc-picture.d.ts +0 -2
  464. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  465. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +0 -1
  466. package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +6 -32
  467. package/dist/types/components.d.ts +53 -11
  468. package/package.json +1 -1
  469. package/readme.md +5 -1
  470. package/dist/cjs/component-5b5b6a98.js +0 -1819
  471. package/dist/cjs/icon-asset_14.cjs.entry.js +0 -1911
  472. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  473. package/dist/collection/stories/organisms/ptc/Subnav New/preview.stories.js +0 -360
  474. package/dist/esm/component-341e4eaa.js +0 -1802
  475. package/dist/esm/icon-asset_14.entry.js +0 -1894
  476. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  477. package/dist/ptcw-design/p-023bfe37.entry.js +0 -1
  478. package/dist/ptcw-design/p-0824f503.entry.js +0 -1
  479. package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
  480. package/dist/ptcw-design/p-11e86045.entry.js +0 -1
  481. package/dist/ptcw-design/p-140c134e.entry.js +0 -1
  482. package/dist/ptcw-design/p-167380fc.entry.js +0 -1
  483. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  484. package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
  485. package/dist/ptcw-design/p-32bbcb5a.entry.js +0 -1
  486. package/dist/ptcw-design/p-33ead201.entry.js +0 -1
  487. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  488. package/dist/ptcw-design/p-3b481342.entry.js +0 -1
  489. package/dist/ptcw-design/p-3c941935.entry.js +0 -1
  490. package/dist/ptcw-design/p-46e31e30.entry.js +0 -1
  491. package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
  492. package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
  493. package/dist/ptcw-design/p-60688db7.entry.js +0 -1
  494. package/dist/ptcw-design/p-60b45ae0.entry.js +0 -1
  495. package/dist/ptcw-design/p-63fc38cb.entry.js +0 -1
  496. package/dist/ptcw-design/p-6f0dc158.entry.js +0 -1
  497. package/dist/ptcw-design/p-752159e2.entry.js +0 -1
  498. package/dist/ptcw-design/p-7524411a.entry.js +0 -1
  499. package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
  500. package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
  501. package/dist/ptcw-design/p-809f3878.entry.js +0 -1
  502. package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
  503. package/dist/ptcw-design/p-87a9a028.entry.js +0 -1
  504. package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
  505. package/dist/ptcw-design/p-92ef47ef.entry.js +0 -1
  506. package/dist/ptcw-design/p-933ddad2.entry.js +0 -1
  507. package/dist/ptcw-design/p-9461c4eb.entry.js +0 -1
  508. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  509. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  510. package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
  511. package/dist/ptcw-design/p-bdb2e42c.entry.js +0 -1
  512. package/dist/ptcw-design/p-be533f0d.js +0 -134
  513. package/dist/ptcw-design/p-bf15988f.entry.js +0 -68
  514. package/dist/ptcw-design/p-c1302aea.entry.js +0 -1
  515. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  516. package/dist/ptcw-design/p-c7a2088b.entry.js +0 -1
  517. package/dist/ptcw-design/p-e51bb274.entry.js +0 -1
  518. package/dist/ptcw-design/p-ed16b8c9.entry.js +0 -1
  519. package/dist/ptcw-design/p-edaf241d.entry.js +0 -1
  520. package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
@@ -3,33 +3,19 @@ import { createFocusTrap } from "focus-trap";
3
3
  export class PtcModal {
4
4
  constructor() {
5
5
  this.setReturnFocus = () => {
6
- var _a, _b;
7
- if (!this.lastFocusElement)
8
- return;
9
- // Try focusing the last focused element directly
10
- if (this.lastFocusElement.tabIndex === 0) {
6
+ if (this.lastFocusElement instanceof HTMLElement) {
11
7
  this.lastFocusElement.focus();
12
- return;
13
- }
14
- // If it's inside a shadow DOM, try finding a focusable child
15
- const shadowRoot = this.lastFocusElement.shadowRoot;
16
- if (shadowRoot) {
17
- const focusableElementList = shadowRoot.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');
18
- if (focusableElementList) {
19
- let focusableElement = focusableElementList[focusableElementList.length - 1];
20
- focusableElement.focus();
21
- return;
22
- }
23
- }
24
- // As a fallback, try to find a focusable child within the element
25
- const fallbackElement = (_b = (_a = this.lastFocusElement).querySelector) === null || _b === void 0 ? void 0 : _b.call(_a, 'button, [tabindex]:not([tabindex="-1"])');
26
- if (fallbackElement instanceof HTMLElement) {
27
- fallbackElement.focus();
28
8
  }
29
9
  };
30
10
  this.handleKeyPress = (event) => {
31
11
  if (event.key === "Enter" || event.key === " " || event.key === "Tab") {
32
12
  this.openedByKeyboard = true;
13
+ // if (event.key === 'Enter') {
14
+ // if (!this.show) {
15
+ // const id= (event.target as HTMLElement).getAttribute('id');
16
+ // localStorage.setItem('modalId', id);
17
+ // }
18
+ // }
33
19
  }
34
20
  };
35
21
  this.handleMouseDown = () => {
@@ -62,7 +48,7 @@ export class PtcModal {
62
48
  }
63
49
  onShowChange(newValue) {
64
50
  if (newValue) {
65
- this.lastFocusElement = document.activeElement;
51
+ // this.lastFocusElement = document.activeElement as HTMLElement;
66
52
  this.fireOnOpened(this);
67
53
  }
68
54
  else {
@@ -159,7 +145,7 @@ export class PtcModal {
159
145
  }
160
146
  componentDidLoad() {
161
147
  if (this.show) {
162
- this.lastFocusElement = document.activeElement;
148
+ // this.lastFocusElement = document.activeElement as HTMLElement;
163
149
  this.fireOnOpened(this);
164
150
  }
165
151
  if (this.showHeaderFooter) {
@@ -240,6 +226,20 @@ export class PtcModal {
240
226
  if (this.trap) {
241
227
  this.trap.deactivate();
242
228
  }
229
+ // // Code for returning the focus to the element which opened the modal
230
+ // const modalId = localStorage.getItem('modalId');
231
+ // if (!modalId) return;
232
+ // const focusItem = document.querySelector<HTMLElement>(`#${modalId}`);
233
+ // if (!focusItem || focusItem.id !== modalId) return;
234
+ // // Focus the host element
235
+ // focusItem.focus();
236
+ // // If it's a PTC-BUTTON, try focusing the internal native <button>
237
+ // if (focusItem.tagName === 'PTC-BUTTON' && focusItem.shadowRoot) {
238
+ // const innerButton = focusItem.shadowRoot.querySelector<HTMLElement>('button');
239
+ // innerButton?.focus();
240
+ // }
241
+ // // Clean up localStorage
242
+ // localStorage.removeItem('modalId');
243
243
  } })));
244
244
  let bottomCloseBtnEle = (h("div", { tabindex: "0", class: "bottom-close", id: "modal-bottom-close", onClick: (e) => {
245
245
  e.preventDefault();
@@ -355,8 +355,8 @@ export class PtcModal {
355
355
  "type": "string",
356
356
  "mutable": true,
357
357
  "complexType": {
358
- "original": "| \"sm\"\r\n\t\t| \"md\"\r\n\t\t| \"lg\"\r\n\t\t| \"xl\"\r\n\t\t| \"max\"\r\n\t\t| \"sm-modal\"",
359
- "resolved": "\"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
358
+ "original": "| \"sm\"\r\n\t\t| \"md\"\r\n\t\t| \"lg\"\r\n\t\t| \"xl\"\r\n\t\t| \"fit-content\"\r\n\t\t| \"max\"\r\n\t\t| \"sm-modal\"",
359
+ "resolved": "\"fit-content\" | \"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
360
360
  "references": {}
361
361
  },
362
362
  "required": false,
@@ -144,7 +144,10 @@ export class PtcModalQuiz {
144
144
  render() {
145
145
  const ProgressDots = () => {
146
146
  return (h("div", { class: "dot-progress-bar" }, [...Array(this.totalQuestions).keys()].map((questionNumber) => {
147
- return (h("div", null, h("div", { class: `dot-progress-circle ${questionNumber === this.currentQuestion - 1 ? "active" : ""}` }), questionNumber <
147
+ return (h("div", null, h("div", { class: `dot-progress-circle ${questionNumber ===
148
+ this.currentQuestion - 1
149
+ ? "active"
150
+ : ""}` }), questionNumber <
148
151
  this.totalQuestions - 1 ? (h("div", { class: "dot-progress-dash" }, h("div", { class: "dashed-line" }))) : null));
149
152
  })));
150
153
  };
@@ -206,13 +206,15 @@ ptc-footer {
206
206
  line-height: 24px;
207
207
  text-align: left;
208
208
  word-break: break-word;
209
- hyphens: auto;
209
+ -webkit-hyphens: auto;
210
+ hyphens: auto;
210
211
  margin-bottom: 2px;
211
212
  }
212
213
  @media only screen and (min-width: 1200px) {
213
214
  :host(.media-card) .nav-card-wrap .media-card-wrap h4 {
214
215
  font-size: 12px;
215
- hyphens: auto;
216
+ -webkit-hyphens: auto;
217
+ hyphens: auto;
216
218
  line-height: 18px;
217
219
  text-align: left;
218
220
  margin-bottom: 2px;
@@ -226,6 +228,7 @@ ptc-footer {
226
228
  font-stretch: normal;
227
229
  font-style: normal;
228
230
  font-weight: 400;
231
+ -webkit-hyphens: auto;
229
232
  hyphens: auto;
230
233
  letter-spacing: normal;
231
234
  line-height: 21px;
@@ -108,6 +108,9 @@ p.main {
108
108
  p.primary-grey {
109
109
  color: var(--color-gray-10);
110
110
  }
111
+ p.primary-green {
112
+ color: var(--color-green-06);
113
+ }
111
114
  p.gray-darker {
112
115
  color: var(--color-gray-11);
113
116
  }
@@ -196,8 +196,8 @@ export class PtcPara {
196
196
  "type": "string",
197
197
  "mutable": false,
198
198
  "complexType": {
199
- "original": "\"primary-grey\" | \"white\" | \"gray-darker\"",
200
- "resolved": "\"gray-darker\" | \"primary-grey\" | \"white\"",
199
+ "original": "| \"primary-grey\"\r\n\t\t| \"primary-green\"\r\n\t\t| \"white\"\r\n\t\t| \"gray-darker\"",
200
+ "resolved": "\"gray-darker\" | \"primary-green\" | \"primary-grey\" | \"white\"",
201
201
  "references": {}
202
202
  },
203
203
  "required": false,
@@ -61,7 +61,6 @@ export class PtcPicture {
61
61
  if (tempImg) {
62
62
  lazyLoadImages.observe(tempImg);
63
63
  }
64
- this.observer = lazyLoadImages;
65
64
  }
66
65
  else {
67
66
  // fall back to setTimeout for Safari and IE
@@ -96,22 +95,6 @@ export class PtcPicture {
96
95
  }
97
96
  }
98
97
  }
99
- //manually load image
100
- async LoadImage() {
101
- const image = this.el.shadowRoot.querySelector("img");
102
- if (!image) {
103
- return;
104
- }
105
- if (!image.src) {
106
- image.src = this.setResponsiveBg();
107
- image.onload = () => {
108
- image.removeAttribute("data-src");
109
- };
110
- }
111
- if (this.observer) {
112
- this.observer.unobserve(image);
113
- }
114
- }
115
98
  render() {
116
99
  const classMap = this.getCssClassMap();
117
100
  const classMapHost = this.getCssClassMapHost();
@@ -509,29 +492,6 @@ export class PtcPicture {
509
492
  "oldSrc": {}
510
493
  };
511
494
  }
512
- static get methods() {
513
- return {
514
- "LoadImage": {
515
- "complexType": {
516
- "signature": "() => Promise<void>",
517
- "parameters": [],
518
- "references": {
519
- "Promise": {
520
- "location": "global"
521
- },
522
- "HTMLImageElement": {
523
- "location": "global"
524
- }
525
- },
526
- "return": "Promise<void>"
527
- },
528
- "docs": {
529
- "text": "",
530
- "tags": []
531
- }
532
- }
533
- };
534
- }
535
495
  static get elementRef() { return "el"; }
536
496
  static get listeners() {
537
497
  return [{
@@ -5583,14 +5583,17 @@ a:focus-visible {
5583
5583
 
5584
5584
  .light-links a:not(.hero-footer-form-wrapper a,
5585
5585
  ptc-modal inline-form a,
5586
+ .podcast-cta-section a,
5586
5587
  .vjs-social-share-links a),
5587
5588
  .light-links a.light-link,
5588
5589
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5589
5590
  ptc-modal inline-form a,
5591
+ .podcast-cta-section a,
5590
5592
  .vjs-social-share-links a),
5591
5593
  .background-grey-10 a.light-link,
5592
5594
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5593
5595
  ptc-modal inline-form a,
5596
+ .podcast-cta-section a,
5594
5597
  .vjs-social-share-links a),
5595
5598
  .background-plm-grey a.light-link {
5596
5599
  color: var(--color-blue-04);
@@ -5599,38 +5602,47 @@ ptc-modal inline-form a,
5599
5602
  }
5600
5603
  .light-links a:not(.hero-footer-form-wrapper a,
5601
5604
  ptc-modal inline-form a,
5605
+ .podcast-cta-section a,
5602
5606
  .vjs-social-share-links a):visited,
5603
5607
  .light-links a.light-link:visited,
5604
5608
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5605
5609
  ptc-modal inline-form a,
5610
+ .podcast-cta-section a,
5606
5611
  .vjs-social-share-links a):visited,
5607
5612
  .background-grey-10 a.light-link:visited,
5608
5613
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5609
5614
  ptc-modal inline-form a,
5615
+ .podcast-cta-section a,
5610
5616
  .vjs-social-share-links a):visited,
5611
5617
  .background-plm-grey a.light-link:visited {
5612
5618
  color: var(--color-blue-06);
5613
5619
  }
5614
5620
  .light-links a:not(.hero-footer-form-wrapper a,
5615
5621
  ptc-modal inline-form a,
5622
+ .podcast-cta-section a,
5616
5623
  .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a,
5617
5624
  ptc-modal inline-form a,
5625
+ .podcast-cta-section a,
5618
5626
  .vjs-social-share-links a):visited:active,
5619
5627
  .light-links a.light-link:active,
5620
5628
  .light-links a.light-link:visited:active,
5621
5629
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5622
5630
  ptc-modal inline-form a,
5631
+ .podcast-cta-section a,
5623
5632
  .vjs-social-share-links a):active,
5624
5633
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5625
5634
  ptc-modal inline-form a,
5635
+ .podcast-cta-section a,
5626
5636
  .vjs-social-share-links a):visited:active,
5627
5637
  .background-grey-10 a.light-link:active,
5628
5638
  .background-grey-10 a.light-link:visited:active,
5629
5639
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5630
5640
  ptc-modal inline-form a,
5641
+ .podcast-cta-section a,
5631
5642
  .vjs-social-share-links a):active,
5632
5643
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5633
5644
  ptc-modal inline-form a,
5645
+ .podcast-cta-section a,
5634
5646
  .vjs-social-share-links a):visited:active,
5635
5647
  .background-plm-grey a.light-link:active,
5636
5648
  .background-plm-grey a.light-link:visited:active {
@@ -5639,24 +5651,30 @@ ptc-modal inline-form a,
5639
5651
  }
5640
5652
  .light-links a:not(.hero-footer-form-wrapper a,
5641
5653
  ptc-modal inline-form a,
5654
+ .podcast-cta-section a,
5642
5655
  .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a,
5643
5656
  ptc-modal inline-form a,
5657
+ .podcast-cta-section a,
5644
5658
  .vjs-social-share-links a):visited:hover,
5645
5659
  .light-links a.light-link:hover,
5646
5660
  .light-links a.light-link:visited:hover,
5647
5661
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5648
5662
  ptc-modal inline-form a,
5663
+ .podcast-cta-section a,
5649
5664
  .vjs-social-share-links a):hover,
5650
5665
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5651
5666
  ptc-modal inline-form a,
5667
+ .podcast-cta-section a,
5652
5668
  .vjs-social-share-links a):visited:hover,
5653
5669
  .background-grey-10 a.light-link:hover,
5654
5670
  .background-grey-10 a.light-link:visited:hover,
5655
5671
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5656
5672
  ptc-modal inline-form a,
5673
+ .podcast-cta-section a,
5657
5674
  .vjs-social-share-links a):hover,
5658
5675
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5659
5676
  ptc-modal inline-form a,
5677
+ .podcast-cta-section a,
5660
5678
  .vjs-social-share-links a):visited:hover,
5661
5679
  .background-plm-grey a.light-link:hover,
5662
5680
  .background-plm-grey a.light-link:visited:hover {
@@ -5664,14 +5682,17 @@ ptc-modal inline-form a,
5664
5682
  }
5665
5683
  .light-links a:not(.hero-footer-form-wrapper a,
5666
5684
  ptc-modal inline-form a,
5685
+ .podcast-cta-section a,
5667
5686
  .vjs-social-share-links a).disabled,
5668
5687
  .light-links a.light-link.disabled,
5669
5688
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5670
5689
  ptc-modal inline-form a,
5690
+ .podcast-cta-section a,
5671
5691
  .vjs-social-share-links a).disabled,
5672
5692
  .background-grey-10 a.light-link.disabled,
5673
5693
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5674
5694
  ptc-modal inline-form a,
5695
+ .podcast-cta-section a,
5675
5696
  .vjs-social-share-links a).disabled,
5676
5697
  .background-plm-grey a.light-link.disabled {
5677
5698
  color: var(--color-gray-04) !important;
@@ -5679,14 +5700,17 @@ ptc-modal inline-form a,
5679
5700
  }
5680
5701
  .light-links a:not(.hero-footer-form-wrapper a,
5681
5702
  ptc-modal inline-form a,
5703
+ .podcast-cta-section a,
5682
5704
  .vjs-social-share-links a):focus-visible,
5683
5705
  .light-links a.light-link:focus-visible,
5684
5706
  .background-grey-10 a:not(.hero-footer-form-wrapper a,
5685
5707
  ptc-modal inline-form a,
5708
+ .podcast-cta-section a,
5686
5709
  .vjs-social-share-links a):focus-visible,
5687
5710
  .background-grey-10 a.light-link:focus-visible,
5688
5711
  .background-plm-grey a:not(.hero-footer-form-wrapper a,
5689
5712
  ptc-modal inline-form a,
5713
+ .podcast-cta-section a,
5690
5714
  .vjs-social-share-links a):focus-visible,
5691
5715
  .background-plm-grey a.light-link:focus-visible {
5692
5716
  border-radius: var(--ptc-border-radius-standard);
@@ -1,111 +1,147 @@
1
- :host {
2
- display: block;
3
- }
4
-
5
- .skeleton {
6
- display: flex;
7
- flex-direction: column;
8
- &.centered {
9
- justify-content: center;
10
- }
11
-
12
- &.padding-left-sm {
13
- padding-left: 14px;
14
- }
15
- }
16
-
17
- .skeleton-block {
18
- height: 24px;
19
- background: linear-gradient(
20
- to right,
21
- #f6f6f6 25%,
22
- #e4e7e9 50%,
23
- #f6f6f6 75%
24
- );
25
- background-size: 200% 100%;
26
- margin-bottom: 8px;
27
- border-radius: 4px;
28
- animation: loading 2.5s ease-in-out infinite;
29
- width: 100%;
30
- }
31
-
32
- .skeleton-block {
33
- &.long {
34
- width: 80%;
35
- }
36
-
37
- &.wide {
38
- width: 70%;
39
- }
40
-
41
- &.wide-sm {
42
- width: 60%;
43
- }
44
-
45
- &.medium {
46
- width: 50%;
47
- }
48
-
49
- /* &.medium-md {
50
- @include screen-md {
51
- width: 50%;
52
- }
53
- } */
54
-
55
- &.short {
56
- width: 30%;
57
- }
58
-
59
- &.narrow {
60
- width: 20%;
61
- }
62
-
63
- &.center {
64
- margin-left: auto;
65
- margin-right: auto;
66
- }
67
-
68
- &.left {
69
- margin-right: auto;
70
- }
71
-
72
- &.right {
73
- margin-left: auto;
74
- }
75
-
76
- &.caption {
77
- height: 32px;
78
- }
79
-
80
- &.para {
81
- height: 96px;
82
- }
83
-
84
- &.text-body {
85
- height: 192px;
86
- }
87
-
88
- &.button {
89
- height: 48px;
90
- }
91
-
92
- &.small-para {
93
- height: 40px;
94
- }
95
-
96
- &.divider {
97
- height: 1px;
98
- }
99
-
100
- &.multi-line{
101
- height: 24px;
102
- }
103
-
104
- &.title {
105
- height: 16px;
106
- }
107
-
108
- &.line {
109
- height: 8px;
110
- }
111
- }
1
+ h1,
2
+ h2,
3
+ h3,
4
+ h4,
5
+ h5,
6
+ h6,
7
+ p,
8
+ ul,
9
+ li,
10
+ ptc-subnav,
11
+ ptc-tab-list,
12
+ ptc-link,
13
+ ptc-square-card,
14
+ .hyphenate-text,
15
+ ptc-footer {
16
+ word-break: break-word;
17
+ hyphens: manual;
18
+ -webkit-hyphens: manual;
19
+ -moz-hyphens: manual;
20
+ -ms-hyphens: manual;
21
+ }
22
+ @supports (hyphenate-limit-chars: 12 3 3) {
23
+ h1,
24
+ h2,
25
+ h3,
26
+ h4,
27
+ h5,
28
+ h6,
29
+ p,
30
+ ul,
31
+ li,
32
+ ptc-subnav,
33
+ ptc-tab-list,
34
+ ptc-link,
35
+ ptc-square-card,
36
+ .hyphenate-text,
37
+ ptc-footer {
38
+ hyphens: auto;
39
+ -webkit-hyphenate-limit-before: 3;
40
+ /* For Safari */
41
+ -webkit-hyphenate-limit-after: 3;
42
+ /* For Safari */
43
+ hyphenate-limit-chars: 12 3 3;
44
+ hyphenate-limit-lines: 2;
45
+ hyphenate-limit-last: always;
46
+ hyphenate-limit-zone: 6%;
47
+ -webkit-hyphens: auto;
48
+ -webkit-hyphenate-limit-before: 3;
49
+ -webkit-hyphenate-limit-after: 3;
50
+ -webkit-hyphenate-limit-chars: 12 3 3;
51
+ -webkit-hyphenate-limit-lines: 2;
52
+ -moz-hyphens: auto;
53
+ -moz-hyphenate-limit-chars: 12 3 3;
54
+ -moz-hyphenate-limit-lines: 2;
55
+ -ms-hyphens: auto;
56
+ -ms-hyphenate-limit-chars: 12 3 3;
57
+ -ms-hyphenate-limit-lines: 2;
58
+ }
59
+ }
60
+
61
+ :host {
62
+ display: block;
63
+ }
64
+
65
+ .skeleton {
66
+ display: flex;
67
+ flex-direction: column;
68
+ }
69
+ .skeleton.centered {
70
+ justify-content: center;
71
+ }
72
+ .skeleton.padding-left-sm {
73
+ padding-left: 14px;
74
+ }
75
+
76
+ .skeleton-block {
77
+ height: 24px;
78
+ background: linear-gradient(to right, #f6f6f6 25%, #e4e7e9 50%, #f6f6f6 75%);
79
+ background-size: 200% 100%;
80
+ margin-bottom: 8px;
81
+ border-radius: 4px;
82
+ animation: loading 2.5s ease-in-out infinite;
83
+ width: 100%;
84
+ }
85
+
86
+ .skeleton-block {
87
+ /* &.medium-md {
88
+ @include screen-md {
89
+ width: 50%;
90
+ }
91
+ } */
92
+ }
93
+ .skeleton-block.long {
94
+ width: 80%;
95
+ }
96
+ .skeleton-block.wide {
97
+ width: 70%;
98
+ }
99
+ .skeleton-block.wide-sm {
100
+ width: 60%;
101
+ }
102
+ .skeleton-block.medium {
103
+ width: 50%;
104
+ }
105
+ .skeleton-block.short {
106
+ width: 30%;
107
+ }
108
+ .skeleton-block.narrow {
109
+ width: 20%;
110
+ }
111
+ .skeleton-block.center {
112
+ margin-left: auto;
113
+ margin-right: auto;
114
+ }
115
+ .skeleton-block.left {
116
+ margin-right: auto;
117
+ }
118
+ .skeleton-block.right {
119
+ margin-left: auto;
120
+ }
121
+ .skeleton-block.caption {
122
+ height: 32px;
123
+ }
124
+ .skeleton-block.para {
125
+ height: 96px;
126
+ }
127
+ .skeleton-block.text-body {
128
+ height: 192px;
129
+ }
130
+ .skeleton-block.button {
131
+ height: 48px;
132
+ }
133
+ .skeleton-block.small-para {
134
+ height: 40px;
135
+ }
136
+ .skeleton-block.divider {
137
+ height: 1px;
138
+ }
139
+ .skeleton-block.multi-line {
140
+ height: 24px;
141
+ }
142
+ .skeleton-block.title {
143
+ height: 16px;
144
+ }
145
+ .skeleton-block.line {
146
+ height: 8px;
147
+ }
@@ -12,7 +12,7 @@ export class PtcPreloader {
12
12
  static get encapsulation() { return "shadow"; }
13
13
  static get originalStyleUrls() {
14
14
  return {
15
- "$": ["ptc-preloader.css"]
15
+ "$": ["ptc-preloader.scss"]
16
16
  };
17
17
  }
18
18
  static get styleUrls() {
@@ -3720,8 +3720,7 @@ ptc-footer {
3720
3720
  .skeleton-homepage-toggle .block,
3721
3721
  .skeleton-blog-detail .skeleton-block,
3722
3722
  .skeleton-blog-detail .skeleton-jumbotron .skeleton-jumbotron-image,
3723
- .skeleton-on-demand .skeleton-block,
3724
- .ppc-skeleton-preloader .dots-loader {
3723
+ .skeleton-on-demand .skeleton-block {
3725
3724
  animation: none;
3726
3725
  }
3727
3726
  }