@ptcwebops/ptcw-design 6.3.37-beta → 6.3.38-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 (389) hide show
  1. package/dist/cjs/{component-6a178a16.js → component-4dd13907.js} +1 -1
  2. package/dist/cjs/icon-asset_18.cjs.entry.js +1602 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  5. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
  6. package/dist/cjs/ptcw-design.cjs.js +1 -1
  7. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +7 -0
  8. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +78 -2
  9. package/dist/collection/stories/Jumbotron.stories.js +659 -264
  10. package/dist/custom-elements/index.js +30 -5
  11. package/dist/esm/academic-form-test.entry.js +1 -1
  12. package/dist/esm/author-listing-example.entry.js +1 -1
  13. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  14. package/dist/esm/blog-detail-layout.entry.js +2 -2
  15. package/dist/esm/blogs-search-section.entry.js +2 -2
  16. package/dist/esm/bundle-example.entry.js +1 -1
  17. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  18. package/dist/esm/{component-80f298b4.js → component-9c921cc6.js} +1 -1
  19. package/dist/esm/dropdown-item.entry.js +1 -1
  20. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  21. package/dist/esm/embedded-form.entry.js +1 -1
  22. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  23. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  24. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  25. package/dist/esm/featured-list.entry.js +1 -1
  26. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  27. package/dist/esm/footer-form.entry.js +1 -1
  28. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  29. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  30. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  31. package/dist/esm/icon-asset_18.entry.js +1581 -0
  32. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  33. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  34. package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
  35. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  36. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  37. package/dist/esm/loader.js +3 -3
  38. package/dist/esm/max-width-container.entry.js +1 -1
  39. package/dist/esm/modal-form-example.entry.js +1 -1
  40. package/dist/esm/most-popular-news.entry.js +2 -2
  41. package/dist/esm/my-component.entry.js +2 -2
  42. package/dist/esm/news-search-result.entry.js +1 -1
  43. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  44. package/dist/esm/ptc-accordion.entry.js +1 -1
  45. package/dist/esm/ptc-announcement.entry.js +1 -1
  46. package/dist/esm/ptc-background-video.entry.js +2 -2
  47. package/dist/esm/ptc-badge.entry.js +1 -1
  48. package/dist/esm/ptc-bio-card.entry.js +1 -1
  49. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  50. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  51. package/dist/esm/ptc-card-content.entry.js +1 -1
  52. package/dist/esm/ptc-card_2.entry.js +1 -1
  53. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  54. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  55. package/dist/esm/ptc-checkbox.entry.js +1 -1
  56. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  57. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  58. package/dist/esm/ptc-container.entry.js +1 -1
  59. package/dist/esm/ptc-countdown.entry.js +1 -1
  60. package/dist/esm/ptc-data-lookup.entry.js +2 -2
  61. package/dist/esm/ptc-date.entry.js +1 -1
  62. package/dist/esm/ptc-dropdown.entry.js +1 -1
  63. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  64. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  65. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  66. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  67. package/dist/esm/ptc-featured-list.entry.js +1 -1
  68. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  69. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  70. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  71. package/dist/esm/ptc-footer.entry.js +1 -1
  72. package/dist/esm/ptc-form-checkbox_4.entry.js +3 -3
  73. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  74. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  75. package/dist/esm/ptc-form.entry.js +1 -1
  76. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  77. package/dist/esm/ptc-hero.entry.js +1 -1
  78. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  79. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  80. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  81. package/dist/esm/ptc-icon-card.entry.js +2 -2
  82. package/dist/esm/ptc-icon-component.entry.js +1 -1
  83. package/dist/esm/ptc-icon-list.entry.js +1 -1
  84. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  85. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  86. package/dist/esm/ptc-img.entry.js +2 -2
  87. package/dist/esm/ptc-info-tile.entry.js +1 -1
  88. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  89. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  90. package/dist/esm/ptc-link.entry.js +2 -2
  91. package/dist/esm/ptc-list.entry.js +1 -1
  92. package/dist/esm/ptc-media-card.entry.js +2 -2
  93. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  94. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  95. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  96. package/dist/esm/ptc-nav-card.entry.js +1 -1
  97. package/dist/esm/ptc-nav-link.entry.js +1 -1
  98. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  99. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  100. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  101. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  102. package/dist/esm/ptc-news.entry.js +1 -1
  103. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  104. package/dist/esm/ptc-office-locations.entry.js +1 -1
  105. package/dist/esm/ptc-overlay.entry.js +1 -1
  106. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  107. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  108. package/dist/esm/ptc-previous-url.entry.js +1 -1
  109. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  110. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  111. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  112. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  113. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  114. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  115. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  116. package/dist/esm/ptc-quote.entry.js +1 -1
  117. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  118. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  119. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  120. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  121. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  122. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  123. package/dist/esm/ptc-search-field.entry.js +1 -1
  124. package/dist/esm/ptc-seo-title.entry.js +1 -1
  125. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  126. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  127. package/dist/esm/ptc-skeleton.entry.js +1 -1
  128. package/dist/esm/ptc-slit-card.entry.js +1 -1
  129. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  130. package/dist/esm/ptc-social-icons.entry.js +1 -1
  131. package/dist/esm/ptc-span.entry.js +1 -1
  132. package/dist/esm/ptc-square-card.entry.js +1 -1
  133. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  134. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  135. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  136. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  137. package/dist/esm/ptc-subnav.entry.js +1 -1
  138. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  139. package/dist/esm/ptc-tab-list.entry.js +1 -1
  140. package/dist/esm/ptc-tab.entry.js +1 -1
  141. package/dist/esm/ptc-tabs.entry.js +1 -1
  142. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  143. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  144. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  145. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  146. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  147. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  148. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  149. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  150. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  151. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  152. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  153. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  154. package/dist/esm/ptc-video-embed.entry.js +1 -1
  155. package/dist/esm/ptc-white-paper.entry.js +1 -1
  156. package/dist/esm/ptcw-design.js +3 -3
  157. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  158. package/dist/esm/sequential-bundle.entry.js +1 -1
  159. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  160. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  161. package/dist/esm/tab-content.entry.js +1 -1
  162. package/dist/esm/tab-header.entry.js +1 -1
  163. package/dist/esm/{utils-2f12c081.js → utils-7c68b88a.js} +1 -1
  164. package/dist/ptcw-design/{p-36abe396.entry.js → p-0261e249.entry.js} +1 -1
  165. package/dist/ptcw-design/{p-9501995f.entry.js → p-094f5dec.entry.js} +1 -1
  166. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  167. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  168. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  169. package/dist/ptcw-design/{p-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-dfb400ed.entry.js → p-0d2f10cf.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-14b7693f.entry.js → p-0e6b14a6.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  173. package/dist/ptcw-design/p-10413689.entry.js +1 -0
  174. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  175. package/dist/ptcw-design/{p-04ff81ef.entry.js → p-135191ce.entry.js} +1 -1
  176. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-68ed2afe.entry.js → p-17a4d9d0.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-8521fdd4.entry.js → p-1948b914.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-77cad16c.entry.js → p-1adea6a5.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-d3ac3758.entry.js → p-1b2ff400.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  184. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  185. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  186. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-7bdf1e64.entry.js → p-25dd15af.entry.js} +1 -1
  188. package/dist/ptcw-design/{p-2a20d4a6.entry.js → p-2647fbe3.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-b647f7a1.entry.js → p-27b8457b.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  191. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-7fe4d383.entry.js → p-29ae44dd.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-0b515839.entry.js → p-2b583ae1.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-e5369c4d.entry.js → p-2fa28be9.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  197. package/dist/ptcw-design/{p-a59c9cdc.entry.js → p-3411ac77.entry.js} +1 -1
  198. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  199. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  200. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-3dd0ded9.entry.js → p-38a1425c.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-257267e3.entry.js → p-38e43284.entry.js} +1 -1
  203. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  204. package/dist/ptcw-design/{p-799afee5.entry.js → p-3ada2482.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  209. package/dist/ptcw-design/p-3f669e89.entry.js +1 -0
  210. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-f867ebe6.entry.js → p-44e72b9d.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-89f0cf12.entry.js → p-472579ea.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-d73cc053.entry.js → p-485cb0c8.entry.js} +1 -1
  215. package/dist/ptcw-design/p-4c1451df.entry.js +1 -0
  216. package/dist/ptcw-design/{p-baff4d44.entry.js → p-50582650.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-757954b2.entry.js → p-522cb451.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-575c7fc0.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-5311c6e1.entry.js → p-58d4b008.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-8c121480.entry.js → p-5f2a4384.entry.js} +1 -1
  223. package/dist/ptcw-design/p-5f98dec1.entry.js +1 -0
  224. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-bab5bb88.entry.js → p-666cdec9.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-76dab076.entry.js → p-68955802.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-21aa746d.entry.js → p-6dc78042.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-b209c116.entry.js → p-6f8858c3.entry.js} +1 -1
  231. package/dist/ptcw-design/p-6ffcd96c.entry.js +1 -0
  232. package/dist/ptcw-design/{p-85bdb2d5.entry.js → p-712f1336.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-8e42a22d.entry.js → p-726dab37.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-d74ccb19.entry.js → p-75d8b6ec.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-4ca956c1.entry.js → p-79c2e0fb.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-80122e26.js → p-826c17e8.js} +1 -1
  243. package/dist/ptcw-design/{p-d51438de.entry.js → p-8771d448.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-7a3e9ecd.entry.js → p-8a452c0b.entry.js} +1 -1
  245. package/dist/ptcw-design/p-8c25a821.entry.js +1 -0
  246. package/dist/ptcw-design/{p-15e36f30.entry.js → p-8cdcfb51.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-761a31f8.entry.js → p-8ffdd794.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-8fb48953.entry.js → p-91dcdd86.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-2aa19c11.entry.js → p-9292844e.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  252. package/dist/ptcw-design/{p-cc677723.entry.js → p-958e1559.entry.js} +1 -1
  253. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  254. package/dist/ptcw-design/{p-fbd9c8fc.entry.js → p-973c69d8.entry.js} +1 -1
  255. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  256. package/dist/ptcw-design/{p-0529caaa.entry.js → p-9a1922ba.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-fe40421e.entry.js → p-9be9f585.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-445329ed.entry.js → p-9d386f08.entry.js} +1 -1
  261. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  262. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-8cea8943.entry.js → p-9ea0d71c.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-4f3dea53.entry.js → p-a1dc7ae5.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-c8f68292.entry.js → p-a2f25add.entry.js} +1 -1
  268. package/dist/ptcw-design/p-a3f9e4ba.entry.js +1 -0
  269. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-7f9ad266.entry.js → p-ace1ea79.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-0ef61b44.entry.js → p-b3ea58b7.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-560b05a5.entry.js → p-bca81995.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-52e17d34.entry.js → p-bd9705c4.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-baeee2b4.entry.js → p-ca039722.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-d66debb3.entry.js → p-ca5763d0.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-cc691b14.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-98610430.entry.js → p-ce125ef2.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-9df7489b.entry.js → p-d4207d86.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-a8504f11.entry.js → p-de663192.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-092e50c9.entry.js → p-e0c44285.entry.js} +1 -1
  295. package/dist/ptcw-design/p-e1692ed6.entry.js +1 -0
  296. package/dist/ptcw-design/{p-1e3bf09c.entry.js → p-e28d0816.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-f1734520.entry.js → p-e9f65e9a.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-e6a272d9.entry.js → p-ed71521c.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
  307. package/dist/ptcw-design/{p-de960790.entry.js → p-ef55ab3c.entry.js} +1 -1
  308. package/dist/ptcw-design/p-ef8f24e6.entry.js +1 -0
  309. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-e43c30c9.entry.js → p-f3db0dc6.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-008307a6.entry.js → p-f69df077.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-4702c233.entry.js → p-fa99b158.entry.js} +1 -1
  314. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  315. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +6 -0
  316. package/dist/types/components.d.ts +6 -0
  317. package/package.json +1 -1
  318. package/readme.md +1 -1
  319. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  320. package/dist/cjs/list-item.cjs.entry.js +0 -48
  321. package/dist/cjs/ptc-back-to-top.cjs.entry.js +0 -98
  322. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  323. package/dist/cjs/ptc-button.cjs.entry.js +0 -87
  324. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +0 -45
  325. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  326. package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
  327. package/dist/cjs/ptc-product-card.cjs.entry.js +0 -62
  328. package/dist/cjs/ptc-product-category.cjs.entry.js +0 -20
  329. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +0 -78
  330. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +0 -28
  331. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -160
  332. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +0 -177
  333. package/dist/cjs/ptc-readmore.cjs.entry.js +0 -180
  334. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  335. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  336. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  337. package/dist/esm/icon-asset.entry.js +0 -61
  338. package/dist/esm/list-item.entry.js +0 -44
  339. package/dist/esm/ptc-back-to-top.entry.js +0 -94
  340. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  341. package/dist/esm/ptc-button.entry.js +0 -83
  342. package/dist/esm/ptc-nav-skip-to-content.entry.js +0 -41
  343. package/dist/esm/ptc-para.entry.js +0 -123
  344. package/dist/esm/ptc-picture.entry.js +0 -158
  345. package/dist/esm/ptc-product-card.entry.js +0 -58
  346. package/dist/esm/ptc-product-category.entry.js +0 -16
  347. package/dist/esm/ptc-product-dropdown.entry.js +0 -74
  348. package/dist/esm/ptc-product-highlight-card.entry.js +0 -24
  349. package/dist/esm/ptc-product-list.entry.js +0 -156
  350. package/dist/esm/ptc-product-sidebar.entry.js +0 -173
  351. package/dist/esm/ptc-readmore.entry.js +0 -176
  352. package/dist/esm/ptc-spacer.entry.js +0 -34
  353. package/dist/esm/ptc-title.entry.js +0 -148
  354. package/dist/esm/ptc-tooltip.entry.js +0 -103
  355. package/dist/ptcw-design/p-077839d5.entry.js +0 -1
  356. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  357. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  358. package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
  359. package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
  360. package/dist/ptcw-design/p-297a14cb.entry.js +0 -1
  361. package/dist/ptcw-design/p-2cc7e2a8.entry.js +0 -1
  362. package/dist/ptcw-design/p-32f64f48.entry.js +0 -1
  363. package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
  364. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  365. package/dist/ptcw-design/p-45b1f3fc.entry.js +0 -1
  366. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  367. package/dist/ptcw-design/p-75390f63.entry.js +0 -1
  368. package/dist/ptcw-design/p-7d29a418.entry.js +0 -1
  369. package/dist/ptcw-design/p-845d10b5.entry.js +0 -1
  370. package/dist/ptcw-design/p-901c31b3.entry.js +0 -1
  371. package/dist/ptcw-design/p-97b9f41b.entry.js +0 -1
  372. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  373. package/dist/ptcw-design/p-99355e65.entry.js +0 -1
  374. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  375. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  376. package/dist/ptcw-design/p-a5fc048f.entry.js +0 -1
  377. package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
  378. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  379. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  380. package/dist/ptcw-design/p-bf56d5a3.entry.js +0 -1
  381. package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
  382. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  383. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  384. package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
  385. package/dist/ptcw-design/p-e3b1af2b.entry.js +0 -1
  386. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  387. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
  388. package/dist/ptcw-design/p-fd87fcd5.entry.js +0 -1
  389. /package/dist/ptcw-design/{p-672a349f.js → p-bcab66bf.js} +0 -0
@@ -3,15 +3,383 @@ import { html } from 'lit';
3
3
  export default {
4
4
  title: 'Molecules/ptc-jumbotron',
5
5
  tags: ['autodocs'],
6
- argTypes: {
7
- bgSrc: {
8
- control: 'text',
9
- description: 'Set this value when the jubmotron type is dark or light',
10
- defaultValue: { summary: '' },
6
+ // argTypes: {
7
+ // bgSrc: {
8
+ // control: 'text',
9
+ // description: 'Set this value when the jubmotron type is dark or light',
10
+ // defaultValue: { summary: '' },
11
+ // },
12
+ // bgVideoPosterSrc: {
13
+ // control: 'text',
14
+ // description: 'Set this value when you need a poster for the background video',
15
+ // defaultValue: { summary: '' },
16
+ // },
17
+ // bgVideoSrc: {
18
+ // control: 'text',
19
+ // description: 'Set this value when the jumbotron type is dark-video or light-video',
20
+ // defaultValue: { summary: '' },
21
+ // },
22
+ // blogAuthorImage: {
23
+ // control: 'text',
24
+ // description: 'Set this value when you need a blog author',
25
+ // defaultValue: { summary: "''" },
26
+ // },
27
+ // blogAuthorImageAlt: {
28
+ // control: 'text',
29
+ // description: 'Set this value when you need a blog author',
30
+ // defaultValue: { summary: "''" },
31
+ // },
32
+ // blogAuthorName: {
33
+ // control: 'text',
34
+ // description: 'Set this value when you need a blog author',
35
+ // defaultValue: { summary: "''" },
36
+ // },
37
+ // blogAuthorQueryHref: {
38
+ // control: 'text',
39
+ // description: 'Set this value when you need a blog author',
40
+ // defaultValue: { summary: "''" },
41
+ // },
42
+ // blogAuthorQueryTarget: {
43
+ // control: 'text',
44
+ // description: 'Set this value when you need a blog author',
45
+ // defaultValue: { summary: "''" },
46
+ // },
47
+ // buttonLocation: {
48
+ // control: 'text',
49
+ // description: 'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
50
+ // defaultValue: { summary: 'undefined' },
51
+ // },
52
+ // buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
53
+ // defer: {
54
+ // control: 'boolean',
55
+ // description: 'delay loading of video to improve perfomance',
56
+ // defaultValue: { summary: 'undefined' },
57
+ // },
58
+ // gifSrc: {
59
+ // control: 'text',
60
+ // description: 'set this value when you need a gif on the right side',
61
+ // defaultValue: { summary: 'undefined' },
62
+ // },
63
+ // hasCountdown: {
64
+ // control: 'boolean',
65
+ // description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
66
+ // defaultValue: { summary: 'false' },
67
+ // },
68
+ // hasCtaSlot: {
69
+ // control: 'boolean',
70
+ // description: 'Checking if the cta slot is empty',
71
+ // defaultValue: { summary: 'undefined' },
72
+ // },
73
+ // hasPopupVideo: {
74
+ // control: 'boolean',
75
+ // description: 'Set this value to true when you need a pop up video on the right side, add ptc-svg-btn & ptc-modal for the play button and video',
76
+ // defaultValue: { summary: 'false' },
77
+ // },
78
+ // isHomepage: {
79
+ // control: 'boolean',
80
+ // description: 'Is it on a homepage?',
81
+ // defaultValue: { summary: 'false' },
82
+ // },
83
+ // isIframe: {
84
+ // control: 'boolean',
85
+ // description: '',
86
+ // defaultValue: { summary: 'false' },
87
+ // },
88
+ // isTransitioning: {
89
+ // control: 'boolean',
90
+ // description: '',
91
+ // defaultValue: { summary: 'undefined' },
92
+ // },
93
+ // jumbotronType: {
94
+ // control: 'text',
95
+ // description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
96
+ // defaultValue: { summary: 'light' },
97
+ // },
98
+ // logo: {
99
+ // control: 'text',
100
+ // description: 'Optional - set a logo by adding an URL to this property',
101
+ // },
102
+ // pauseButtonTitle: {
103
+ // control: 'text',
104
+ // description: 'paly button text when bg-video-src has a value',
105
+ // defaultValue: { summary: 'undefined' },
106
+ // },
107
+ // playButtonTitle: {
108
+ // control: 'text',
109
+ // description: 'paly button text when bg-video-src has a value',
110
+ // defaultValue: { summary: 'undefined' },
111
+ // },
112
+ // pngImgStyles: {
113
+ // control: 'text',
114
+ // description: '',
115
+ // defaultValue: { summary: "''" },
116
+ // },
117
+ // pngSrc: {
118
+ // control: 'text',
119
+ // description: '',
120
+ // defaultValue: { summary: 'undefined' },
121
+ // },
122
+ // styles: {
123
+ // control: 'text',
124
+ // description: '(optional) Injected CSS styles',
125
+ // defaultValue: { summary: 'undefined' },
126
+ // },
127
+ // subTitle: {
128
+ // control: 'text',
129
+ // description: 'Set the sub title',
130
+ // defaultValue: {
131
+ // summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
132
+ // },
133
+ // },
134
+ // },
135
+ };
136
+
137
+ //Light jumbotron story
138
+ const LightJumbotronTemplate = args => {
139
+ return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
140
+ <ptc-jumbotron
141
+ jumbotron-type=${args.jumbotronType}
142
+ has-countdown=${args.hasCountdown}
143
+ sub-title=${args.subTitle}
144
+ bg-src=${args.bgSrc}
145
+ logo=${args.logo}
146
+ bg-video-src=${args.bgVideoSrc}
147
+ play-button-title=${args.playButtonTitle}
148
+ pause-button-title=${args.pauseButtonTitle}
149
+ >
150
+ has-popup-video=${args.hasPopupVideo} >
151
+ <ptc-breadcrumb slot="breadcrumb" color="primary-gray">
152
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
153
+ <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
154
+ </ptc-breadcrumb>
155
+ <ptc-title
156
+ slot="main-title"
157
+ type="h1"
158
+ upperline="no-upperline"
159
+ title-size="xxxx-large"
160
+ title-height="densest"
161
+ title-weight="w-8"
162
+ title-margin="margin-flush"
163
+ text-align="left"
164
+ title-color="gray"
165
+ >
166
+ Sed ut perspiciatis unde omnis iste natus
167
+ </ptc-title>
168
+ <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
169
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
170
+ </ptc-jumbotron>`;
171
+ };
172
+ export const Light = LightJumbotronTemplate.bind({});
173
+ Light.args = {
174
+ bgSrc:
175
+ 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
176
+ jumbotronType: 'light',
177
+ hasCountdown: 'false',
178
+ logo: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/4699dab90e6f476b8a70902b58d7d3db?h=827&w=1550&la=en',
179
+ styles: 'undefined',
180
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
181
+ };
182
+ Light.argTypes = {
183
+ bgSrc: {
184
+ control: 'text',
185
+ description: 'Set this value when the jubmotron type is dark or light',
186
+ defaultValue: { summary: '' },
187
+ },
188
+ hasCountdown: {
189
+ control: 'boolean',
190
+ description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
191
+ defaultValue: { summary: 'false' },
192
+ },
193
+ jumbotronType: {
194
+ control: 'text',
195
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
196
+ defaultValue: { summary: 'light' },
197
+ },
198
+ logo: {
199
+ control: 'text',
200
+ description: 'Optional - set a logo by adding an URL to this property',
201
+ },
202
+ styles: {
203
+ control: 'text',
204
+ description: '(optional) Injected CSS styles',
205
+ defaultValue: { summary: 'undefined' },
206
+ },
207
+ subTitle: {
208
+ control: 'text',
209
+ description: 'Set the sub title',
210
+ defaultValue: {
211
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
212
+ },
213
+ },
214
+ };
215
+
216
+ //Dark jumbotron story
217
+ const DarkJumbotronTemplate = args => {
218
+ return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
219
+ <ptc-jumbotron jumbotron-type=${args.jumbotronType} has-countdown=${args.hasCountdown} sub-title=${args.subTitle} bg-src=${args.bgSrc} logo=${args.logo}>
220
+ <ptc-breadcrumb slot="breadcrumb" color="white">
221
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
222
+ <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
223
+ </ptc-breadcrumb>
224
+ <ptc-title
225
+ slot="main-title"
226
+ type="h1"
227
+ upperline="no-upperline"
228
+ title-size="xxxx-large"
229
+ title-height="densest"
230
+ title-weight="w-8"
231
+ title-margin="margin-flush"
232
+ text-align="left"
233
+ title-color="gray-1"
234
+ >Sed ut perspiciatis unde omnis iste natus
235
+ </ptc-title>
236
+ <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
237
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
238
+ </ptc-jumbotron>`;
239
+ };
240
+ export const Dark = DarkJumbotronTemplate.bind({});
241
+ Dark.args = {
242
+ bgSrc:
243
+ 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
244
+ hasCountdown: 'false',
245
+ jumbotronType: 'dark',
246
+ logo: '',
247
+ styles: 'undefined',
248
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
249
+ };
250
+ Dark.argTypes = {
251
+ bgSrc: {
252
+ control: 'text',
253
+ description: 'Set this value when the jubmotron type is dark or light',
254
+ defaultValue: { summary: '' },
255
+ },
256
+ hasCountdown: {
257
+ control: 'boolean',
258
+ description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
259
+ defaultValue: { summary: 'false' },
260
+ },
261
+ jumbotronType: {
262
+ control: 'text',
263
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
264
+ defaultValue: { summary: 'light' },
265
+ },
266
+ logo: {
267
+ control: 'text',
268
+ description: 'Optional - set a logo by adding an URL to this property',
269
+ },
270
+ styles: {
271
+ control: 'text',
272
+ description: '(optional) Injected CSS styles',
273
+ defaultValue: { summary: 'undefined' },
274
+ },
275
+ subTitle: {
276
+ control: 'text',
277
+ description: 'Set the sub title',
278
+ defaultValue: {
279
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
280
+ },
281
+ },
282
+ };
283
+
284
+ //Text jumbotron story
285
+ const TextJumbotronTemplate = args => {
286
+ return html` <ptc-jumbotron jumbotron-type=${args.jumbotronType} sub-title=${args.subTitle}>
287
+ <ptc-breadcrumb slot="breadcrumb" color="primary-gray" position="center" styles=":host{margin-top: var(--ptc-element-spacing-06)!important;align-items: baseline;}">
288
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray" styles=":host(.breadcrumb) li{text-transform: uppercase;}">
289
+ PLM TEst
290
+ </list-item>
291
+ <list-item list-type="breadcrumb" color="primary-gray" styles=":host(.breadcrumb) li{ text-transform: uppercase;}"> Connecting Engineering and Manufacturing PPC </list-item>
292
+ </ptc-breadcrumb>
293
+ <ptc-title
294
+ slot="main-title"
295
+ type="h1"
296
+ upperline="no-upperline"
297
+ title-size="xxxx-large"
298
+ title-height="densest"
299
+ title-weight="w-8"
300
+ title-margin="margin-flush"
301
+ text-align="center"
302
+ title-color="gray"
303
+ >
304
+ <!-- test align = center for text -->
305
+ Sed ut perspiciatis unde omnis iste natus totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et
306
+ </ptc-title>
307
+ <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
308
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
309
+ </ptc-jumbotron>`;
310
+ };
311
+ export const Text = TextJumbotronTemplate.bind({});
312
+ Text.args = {
313
+ jumbotronType: 'text',
314
+ styles: 'undefined',
315
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
316
+ };
317
+ Text.argTypes = {
318
+ subTitle: {
319
+ control: 'text',
320
+ description: 'Set the sub title',
321
+ defaultValue: {
322
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
11
323
  },
324
+ },
325
+ jumbotronType: {
326
+ control: 'text',
327
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
328
+ defaultValue: { summary: 'light' },
329
+ },
330
+ styles: {
331
+ control: 'text',
332
+ description: '(optional) Injected CSS styles',
333
+ defaultValue: { summary: 'undefined' },
334
+ },
335
+ };
336
+
337
+ // Dark Video jumbotron story
338
+ const VideoJumbotronTemplate = args => {
339
+ return html` <ptc-jumbotron
340
+ jumbotron-type=${args.jumbotronType}
341
+ sub-title=${args.subTitle}
342
+ bg-video-src=${args.bgVideoSrc}
343
+ play-button-title=${args.playButtonTitle}
344
+ pause-button-title=${args.pauseButtonTitle}
345
+ >
346
+ <ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
347
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray"> PLM Video Hub </list-item>
348
+ <list-item list-type="breadcrumb" color="light-gray"> Current Page </list-item>
349
+ </ptc-breadcrumb>
350
+ <ptc-title
351
+ slot="main-title"
352
+ type="h1"
353
+ upperline="no-upperline"
354
+ title-size="xxxx-large"
355
+ title-height="densest"
356
+ title-weight="w-8"
357
+ title-margin="margin-flush"
358
+ text-align="left"
359
+ title-color="gray-1"
360
+ >Sed ut perspiciatis unde omnis iste natus
361
+ </ptc-title>
362
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 1 </ptc-button>
363
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 2 </ptc-button>
364
+ </ptc-jumbotron>`;
365
+ };
366
+ export const DarkVideo = VideoJumbotronTemplate.bind({});
367
+ DarkVideo.args = {
368
+ bgVideoPosterSrc: 'undefined',
369
+ bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
370
+ buttonLocation: 'undefined',
371
+ buttonTabIndex: '0',
372
+ jumbotronType: 'dark-video',
373
+ pauseButtonTitle: 'pause text',
374
+ playButtonTitle: 'play text',
375
+ styles: 'undefined',
376
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
377
+ };
378
+ DarkVideo.argTypes = {
379
+ argTypes: {
12
380
  bgVideoPosterSrc: {
13
381
  control: 'text',
14
- description: '',
382
+ description: 'Set this value when you need a poster for the background video',
15
383
  defaultValue: { summary: '' },
16
384
  },
17
385
  bgVideoSrc: {
@@ -19,86 +387,19 @@ export default {
19
387
  description: 'Set this value when the jumbotron type is dark-video or light-video',
20
388
  defaultValue: { summary: '' },
21
389
  },
22
- blogAuthorImage: {
23
- control: 'text',
24
- description: '',
25
- defaultValue: { summary: "''" },
26
- },
27
- blogAuthorImageAlt: {
28
- control: 'text',
29
- description: '',
30
- defaultValue: { summary: "''" },
31
- },
32
- blogAuthorName: {
33
- control: 'text',
34
- description: '',
35
- defaultValue: { summary: "''" },
36
- },
37
- blogAuthorQueryHref: {
38
- control: 'text',
39
- description: '',
40
- defaultValue: { summary: "''" },
41
- },
42
- blogAuthorQueryTarget: {
43
- control: 'text',
44
- description: '',
45
- defaultValue: { summary: "''" },
46
- },
47
390
  buttonLocation: {
48
391
  control: 'text',
49
- description: '',
50
- defaultValue: { summary: 'undefined' },
51
- },
52
- buttonTabIndex: { control: '', description: '', defaultValue: { summary: '0' } },
53
- defer: {
54
- control: 'boolean',
55
- description: 'delay loading of video to improve perfomance',
56
- defaultValue: { summary: 'undefined' },
57
- },
58
- gifSrc: {
59
- control: 'text',
60
- description: 'set this value when you need a gif on the right side',
61
- defaultValue: { summary: 'undefined' },
62
- },
63
- hasCountdown: {
64
- control: 'boolean',
65
- description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
66
- defaultValue: { summary: 'false' },
67
- },
68
- hasCtaSlot: {
69
- control: 'boolean',
70
- description: '',
71
- defaultValue: { summary: 'undefined' },
72
- },
73
- hasPopupVideo: {
74
- control: 'boolean',
75
- description: 'Set this value to true when you need a pop up video on the right side, add ptc-svg-btn & ptc-modal for the play button and video',
76
- defaultValue: { summary: 'false' },
77
- },
78
- isHomepage: {
79
- control: 'boolean',
80
- description: '',
81
- defaultValue: { summary: 'false' },
82
- },
83
- isIframe: {
84
- control: 'boolean',
85
- description: '',
86
- defaultValue: { summary: 'false' },
87
- },
88
- isTransitioning: {
89
- control: 'boolean',
90
- description: '',
392
+ description:
393
+ 'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
91
394
  defaultValue: { summary: 'undefined' },
92
395
  },
396
+ buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
397
+
93
398
  jumbotronType: {
94
399
  control: 'text',
95
- description: '',
400
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
96
401
  defaultValue: { summary: 'light' },
97
402
  },
98
- logo: {
99
- control: 'text',
100
- description: 'Optional - set a logo by adding an URL to this property',
101
- },
102
403
  pauseButtonTitle: {
103
404
  control: 'text',
104
405
  description: 'paly button text when bg-video-src has a value',
@@ -109,16 +410,6 @@ export default {
109
410
  description: 'paly button text when bg-video-src has a value',
110
411
  defaultValue: { summary: 'undefined' },
111
412
  },
112
- pngImgStyles: {
113
- control: 'text',
114
- description: '',
115
- defaultValue: { summary: "''" },
116
- },
117
- pngSrc: {
118
- control: 'text',
119
- description: '',
120
- defaultValue: { summary: 'undefined' },
121
- },
122
413
  styles: {
123
414
  control: 'text',
124
415
  description: '(optional) Injected CSS styles',
@@ -126,7 +417,7 @@ export default {
126
417
  },
127
418
  subTitle: {
128
419
  control: 'text',
129
- description: '',
420
+ description: 'Set the sub title',
130
421
  defaultValue: {
131
422
  summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
132
423
  },
@@ -134,20 +425,16 @@ export default {
134
425
  },
135
426
  };
136
427
 
137
- const LightJumbotronTemplate = args => {
138
- return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
139
- <ptc-jumbotron
428
+ // Light Video jumbotron story
429
+ const LVideoJumbotronTemplate = args => {
430
+ return html` <ptc-jumbotron
140
431
  jumbotron-type=${args.jumbotronType}
141
- has-countdown=${args.hasCountdown}
142
432
  sub-title=${args.subTitle}
143
- bg-src=${args.bgSrc}
144
- logo=${args.logo}
145
433
  bg-video-src=${args.bgVideoSrc}
146
434
  play-button-title=${args.playButtonTitle}
147
- pause-button-title=${args.pauseButtonTitle}>
148
- has-popup-video=${args.hasPopupVideo}
435
+ pause-button-title=${args.pauseButtonTitle}
149
436
  >
150
- <ptc-breadcrumb slot="breadcrumb" color="primary-gray">
437
+ <ptc-breadcrumb slot="breadcrumb" color="primary-gray" is-dark-mode>
151
438
  <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
152
439
  <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
153
440
  </ptc-breadcrumb>
@@ -161,162 +448,223 @@ const LightJumbotronTemplate = args => {
161
448
  title-margin="margin-flush"
162
449
  text-align="left"
163
450
  title-color="gray"
164
- >
165
- Sed ut perspiciatis unde omnis iste natus
451
+ >Sed ut perspiciatis unde omnis iste natus
166
452
  </ptc-title>
167
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
168
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
453
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 1 </ptc-button>
454
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 2 </ptc-button>
169
455
  </ptc-jumbotron>`;
170
456
  };
171
-
172
- export const Example1 = LightJumbotronTemplate.bind({});
173
-
174
- Example1.args = {
175
- bgSrc: 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
176
- bgVideoPosterSrc: '',
177
- bgVideoSrc: '',
178
- blogAuthorImage: "''",
179
- blogAuthorImageAlt: "''",
180
- blogAuthorName: "''",
181
- blogAuthorQueryHref: "''",
182
- blogAuthorQueryTarget: "''",
457
+ export const LightVideo = LVideoJumbotronTemplate.bind({});
458
+ LightVideo.args = {
459
+ bgVideoPosterSrc: 'undefined',
460
+ bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
183
461
  buttonLocation: 'undefined',
184
462
  buttonTabIndex: '0',
185
- defer: 'undefined',
186
- gifSrc: 'undefined',
187
- hasCountdown: 'false',
188
- hasCtaSlot: 'undefined',
189
- hasPopupVideo: 'false',
190
- isHomepage: 'false',
191
- isIframe: 'false',
192
- isTransitioning: 'undefined',
193
- jumbotronType: 'light',
194
- logo: "https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/4699dab90e6f476b8a70902b58d7d3db?h=827&w=1550&la=en",
195
- pauseButtonTitle: '',
196
- playButtonTitle: '',
197
- pngImgStyles: "''",
198
- pngSrc: 'undefined',
463
+ jumbotronType: 'light-video',
464
+ pauseButtonTitle: 'pause text',
465
+ playButtonTitle: 'play text',
199
466
  styles: 'undefined',
200
467
  subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
201
468
  };
469
+ LightVideo.argTypes = {
470
+ argTypes: {
471
+ bgVideoPosterSrc: {
472
+ control: 'text',
473
+ description: 'Set this value when you need a poster for the background video',
474
+ defaultValue: { summary: '' },
475
+ },
476
+ bgVideoSrc: {
477
+ control: 'text',
478
+ description: 'Set this value when the jumbotron type is dark-video or light-video',
479
+ defaultValue: { summary: '' },
480
+ },
481
+ buttonLocation: {
482
+ control: 'text',
483
+ description:
484
+ 'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
485
+ defaultValue: { summary: 'undefined' },
486
+ },
487
+ buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
202
488
 
203
- const DarkJumbotronTemplate = args => {
204
- return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
205
- <ptc-jumbotron
206
- jumbotron-type=${args.jumbotronType}
207
- has-countdown=${args.hasCountdown}
208
- sub-title=${args.subTitle}
209
- bg-src=${args.bgSrc}
210
- logo=${args.logo}
211
- >
212
- <ptc-breadcrumb slot="breadcrumb" color="white">
213
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
214
- <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
215
- </ptc-breadcrumb>
216
- <ptc-title slot="main-title" type="h1" upperline="no-upperline" title-size="xxxx-large" title-height="densest"
217
- title-weight="w-8" title-margin="margin-flush" text-align="left" title-color="gray-1">Sed ut perspiciatis unde omnis iste natus
218
- </ptc-title>
219
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
220
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
221
- </ptc-jumbotron>`;
222
- };
223
-
224
- export const Example2 = DarkJumbotronTemplate.bind({});
225
-
226
- Example2.args = {
227
- bgSrc: 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
228
- bgVideoPosterSrc: 'undefined',
229
- bgVideoSrc: 'undefined',
230
- blogAuthorImage: "''",
231
- blogAuthorImageAlt: "''",
232
- blogAuthorName: "''",
233
- blogAuthorQueryHref: "''",
234
- blogAuthorQueryTarget: "''",
235
- buttonLocation: 'undefined',
236
- buttonTabIndex: '0',
237
- defer: 'undefined',
238
- gifSrc: 'undefined',
239
- hasCountdown: 'false',
240
- hasCtaSlot: 'undefined',
241
- hasPopupVideo: 'false',
242
- isHomepage: 'false',
243
- isIframe: 'false',
244
- isTransitioning: 'undefined',
245
- jumbotronType: 'dark',
246
- logo: "",
247
- pauseButtonTitle: 'undefined',
248
- playButtonTitle: 'undefined',
249
- pngImgStyles: "''",
250
- pngSrc: 'undefined',
251
- styles: 'undefined',
252
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
489
+ jumbotronType: {
490
+ control: 'text',
491
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
492
+ defaultValue: { summary: 'light' },
493
+ },
494
+ pauseButtonTitle: {
495
+ control: 'text',
496
+ description: 'paly button text when bg-video-src has a value',
497
+ defaultValue: { summary: 'undefined' },
498
+ },
499
+ playButtonTitle: {
500
+ control: 'text',
501
+ description: 'paly button text when bg-video-src has a value',
502
+ defaultValue: { summary: 'undefined' },
503
+ },
504
+ styles: {
505
+ control: 'text',
506
+ description: '(optional) Injected CSS styles',
507
+ defaultValue: { summary: 'undefined' },
508
+ },
509
+ subTitle: {
510
+ control: 'text',
511
+ description: 'Set the sub title',
512
+ defaultValue: {
513
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
514
+ },
515
+ },
516
+ },
253
517
  };
254
518
 
255
- const TextJumbotronTemplate = args => {
519
+ // Blog jumbotron story
520
+ const BlogJumbotronTemplate = args => {
256
521
  return html`
257
522
  <ptc-jumbotron jumbotron-type=${args.jumbotronType}
258
- sub-title=${args.subTitle}>
259
- <ptc-breadcrumb slot="breadcrumb" color="primary-gray" position="center" styles=":host{margin-top: var(--ptc-element-spacing-06)!important;align-items: baseline;}">
260
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray" styles=":host(.breadcrumb) li{text-transform: uppercase;}">
261
- PLM TEst
262
- </list-item>
263
- <list-item list-type="breadcrumb" color="primary-gray" styles=":host(.breadcrumb) li{ text-transform: uppercase;}">
264
- Connecting Engineering and Manufacturing PPC
265
- </list-item>
266
- </ptc-breadcrumb>
267
- <ptc-title slot="main-title" type="h1" upperline="no-upperline" title-size="xxxx-large" title-height="densest"
268
- title-weight="w-8" title-margin="margin-flush" text-align="center" title-color="gray">
269
- <!-- test align = center for text -->
270
- Sed ut perspiciatis unde omnis iste natus totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et
271
- </ptc-title>
272
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank">
273
- CTA 1
274
- </ptc-button>
275
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank">
276
- CTA 2
277
- </ptc-button>
523
+ sub-title=""
524
+ png-src=${args.pngSrc}
525
+ has-popup-video="false"
526
+ blog-author-image=${args.blogAuthorImage}
527
+ blog-author-image-alt=${args.blogAuthorImageAlt}
528
+ blog-author-name=${args.blogAuthorName}
529
+ blog-author-query-href=${args.blogAuthorQueryHref}
530
+ blog-author-query-target=${args.blogAuthorQueryTarget}
531
+
532
+ <ptc-breadcrumb slot="breadcrumb" color="primary-gray" remove-top-margin="true">
533
+ <list-item list-type="breadcrumb" link-href="https://www-dev.ptc.com/blogs" color="primary-gray">Blogs</list-item>
534
+ <list-item list-type="breadcrumb" color="primary-gray">The Key to Using AI to Enhance IoT Security</list-item>
535
+ </ptc-breadcrumb>
536
+ <ptc-title
537
+ slot="main-title"
538
+ type="h1"
539
+ upperline="no-upperline"
540
+ title-size="xxxx-large"
541
+ title-height="densest"
542
+ title-weight="w-8"
543
+ title-margin="margin-flush"
544
+ text-align="left"
545
+ title-color="gray"
546
+ >
547
+ The Key to Using AI to Enhance IoT Security
548
+ </ptc-title>
549
+ <span slot="blog-date">April 4, 2024</span>
550
+ <ptc-button slot="j-cta" type="link" color="ptc-quaternary" link-href="https://www.ptc.com" target="_blank">
551
+ Request Free Trial
552
+ </ptc-button>
553
+ <ptc-button slot="j-cta" type="link" color="ptc-tertiary" link-href="https://www.ptc.com" target="_blank">
554
+ Speaking of Service Podcast
555
+ </ptc-button>
278
556
  </ptc-jumbotron>`;
279
557
  };
280
-
281
- export const Example3 = TextJumbotronTemplate.bind({});
282
-
283
- Example3.args = {
284
- bgSrc: 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
285
- bgVideoPosterSrc: 'undefined',
286
- bgVideoSrc: 'undefined',
287
- blogAuthorImage: "''",
288
- blogAuthorImageAlt: "''",
289
- blogAuthorName: "''",
290
- blogAuthorQueryHref: "''",
291
- blogAuthorQueryTarget: "''",
558
+ export const BlogVideo = BlogJumbotronTemplate.bind({});
559
+ BlogVideo.args = {
560
+ pngSrc: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5fbb90c52ab7431c89df5eea5ef9fe25?v=6e1b1318',
292
561
  buttonLocation: 'undefined',
293
562
  buttonTabIndex: '0',
294
- defer: 'undefined',
295
- gifSrc: 'undefined',
296
- hasCountdown: 'false',
297
- hasCtaSlot: 'undefined',
298
- hasPopupVideo: 'false',
299
- isHomepage: 'false',
300
- isIframe: 'false',
301
- isTransitioning: 'undefined',
302
- jumbotronType: 'text',
303
- logo: "''",
304
- pauseButtonTitle: 'undefined',
305
- playButtonTitle: 'undefined',
306
- pngImgStyles: "''",
307
- pngSrc: 'undefined',
563
+ jumbotronType: 'blog',
564
+ blogAuthorImage: 'https://www.ptc.com/-/media/Images/blog/Authors/MaleDefaultImage.jpg',
565
+ blogAuthorImageAlt: 'blog-author-image',
566
+ blogAuthorName: 'Simone Biles',
567
+ blogAuthorQueryHref: 'https://www.ptc.com/blogs',
568
+ blogAuthorQueryTarget: '_blank',
308
569
  styles: 'undefined',
309
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
310
570
  };
571
+ BlogVideo.argTypes = {
572
+ argTypes: {
573
+ pngSrc: {
574
+ control: 'text',
575
+ description: '',
576
+ defaultValue: { summary: 'undefined' },
577
+ },
578
+ blogAuthorImage: {
579
+ control: 'text',
580
+ description: 'Set this value when you need a blog author',
581
+ defaultValue: { summary: "''" },
582
+ },
583
+ blogAuthorImageAlt: {
584
+ control: 'text',
585
+ description: 'Set this value when you need a blog author',
586
+ defaultValue: { summary: "''" },
587
+ },
588
+ blogAuthorName: {
589
+ control: 'text',
590
+ description: 'Set this value when you need a blog author',
591
+ defaultValue: { summary: "''" },
592
+ },
593
+ blogAuthorQueryHref: {
594
+ control: 'text',
595
+ description: 'Set this value when you need a blog author',
596
+ defaultValue: { summary: "''" },
597
+ },
598
+ blogAuthorQueryTarget: {
599
+ control: 'text',
600
+ description: 'Set this value when you need a blog author',
601
+ defaultValue: { summary: "''" },
602
+ },
603
+ buttonLocation: {
604
+ control: 'text',
605
+ description:
606
+ 'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
607
+ defaultValue: { summary: 'undefined' },
608
+ },
609
+ buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
311
610
 
312
- const VideoJumbotronTemplate = args => {
611
+ jumbotronType: {
612
+ control: 'text',
613
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
614
+ defaultValue: { summary: 'light' },
615
+ },
616
+ styles: {
617
+ control: 'text',
618
+ description: '(optional) Injected CSS styles',
619
+ defaultValue: { summary: 'undefined' },
620
+ },
621
+ },
622
+ };
623
+
624
+ // Popup Video jumbotron story
625
+ const PopupJumbotronTemplate = args => {
313
626
  return html`
314
- <ptc-jumbotron jumbotron-type=${args.jumbotronType}
315
- sub-title=${args.subTitle}
316
- bg-video-src=${args.bgVideoSrc} play-button-title=${args.playButtonTitle}
317
- pause-button-title=${args.pauseButtonTitle}>
318
-
319
- <ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
627
+ <style>
628
+ ptc-svg-btn {
629
+ position: absolute;
630
+ left: 50%;
631
+ top: 0%;
632
+ transform: translate(-50%, -200%);
633
+ }
634
+
635
+ @media screen and (min-width: 480px) {
636
+ ptc-svg-btn {
637
+ transform: translate(-50%, -260%);
638
+ }
639
+ }
640
+
641
+ @media screen and (min-width: 550px) {
642
+ ptc-svg-btn {
643
+ transform: translate(-50%, -235%);
644
+ }
645
+ }
646
+
647
+ @media screen and (min-width: 768px) {
648
+ ptc-svg-btn {
649
+ transform: translate(-50%, -306%);
650
+ }
651
+ }
652
+
653
+ @media screen and (min-width: 992px) {
654
+ ptc-svg-btn {
655
+ top: 50%;
656
+ left: 75%;
657
+ transform: translate(-50%, -50%);
658
+ }
659
+ }
660
+ </style>
661
+ <ptc-jumbotron
662
+ jumbotron-type=${args.jumbotronType}
663
+ sub-title=${args.subTitle}
664
+ bg-src=${args.bgSrc}
665
+ has-popup-video=${args.hasPopupVideo}
666
+ >
667
+ <ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
320
668
  <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray">
321
669
  PLM Video Hub
322
670
  </list-item>
@@ -325,44 +673,91 @@ const VideoJumbotronTemplate = args => {
325
673
  </list-item>
326
674
  </ptc-breadcrumb>
327
675
  <ptc-title slot="main-title" type="h1" upperline="no-upperline" title-size="xxxx-large" title-height="densest"
328
- title-weight="w-8" title-margin="margin-flush" text-align="left" title-color="gray-1">Sed ut perspiciatis unde omnis iste natus
676
+ title-weight="w-8" title-margin="margin-flush" text-align="left" title-color="gray-1"
677
+ ellipsis-line-cutoff="3">
678
+ <ptc-tooltip text-lines="3" description="Sed ut perspiciatis unde omnis iste natus"
679
+ position="right"></ptc-tooltip>
329
680
  </ptc-title>
330
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state>
681
+ <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" dark-focus-state target="_blank">
331
682
  CTA 1
332
683
  </ptc-button>
333
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state>
684
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" dark-focus-state target="_blank">
334
685
  CTA 2
335
686
  </ptc-button>
336
- </ptc-jumbotron>`;
337
- };
687
+ <ptc-svg-btn id="j-modal-btn" slot="video" svg-name="play" display="block" z-index="2"></ptc-svg-btn>
688
+ <ptc-modal id="popup-modal" slot="video" show="false" size="xl" fixed styles=".overlay{backdrop-filter: blur(10px);}" close-on-blur="true">
689
+ <div class="is-grid has-col-6 has-col-12-xs has-col-gap-lg has-row-gap-md has-m has-p has-col-gap-lg">
690
+ <div class="is-col-6 is-col-12-xs grid-order-1-md">
691
+ <div style="position: relative;">
692
+ <div style="padding-top: 56.25%;">
693
+ <video-js id="bcPlayer" data-account="1532789042001" data-player="dNyUv9zZ6"
694
+ data-embed="default" data-video-id="6307196876112" controls="" data-application-id=""
695
+ class="vjs-fill" style="top:0; position:absolute;">
696
+ </video-js>
697
+ </div>
698
+ <script src="//players.brightcove.net/1532789042001/dNyUv9zZ6_default/index.min.js">
699
+ </script>
700
+ </div>
701
+ </div>
702
+ </div>
703
+ </ptc-modal>
704
+ </ptc-jumbotron>
705
+ <!-- for popup video -->
706
+ <script>
707
+ let videoBtn = document.querySelector('#j-modal-btn');
708
+ let modal = document.querySelector('#popup-modal');
338
709
 
339
- export const Example4 = VideoJumbotronTemplate.bind({});
340
-
341
- Example4.args = {
342
- bgSrc: 'undefined',
343
- bgVideoPosterSrc: 'undefined',
344
- bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
345
- blogAuthorImage: "''",
346
- blogAuthorImageAlt: "''",
347
- blogAuthorName: "''",
348
- blogAuthorQueryHref: "''",
349
- blogAuthorQueryTarget: "''",
350
- buttonLocation: 'undefined',
710
+ if (videoBtn && modal) {
711
+ videoBtn.addEventListener('click', function () {
712
+ modal.show = true;
713
+ });
714
+ videojs.getPlayer('bcPlayer').ready(function () {
715
+ var bcPlayer = this;
716
+ modal.addEventListener('closed', function () {
717
+ bcPlayer.pause();
718
+ });
719
+ });
720
+ }
721
+ </script>`;
722
+ };
723
+ export const PopupVideo = PopupJumbotronTemplate.bind({});
724
+ PopupVideo.args = {
725
+ bgSrc: 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
351
726
  buttonTabIndex: '0',
352
- defer: 'undefined',
353
- gifSrc: 'undefined',
354
- hasCountdown: 'false',
355
- hasCtaSlot: 'undefined',
356
- hasPopupVideo: 'false',
357
- isHomepage: 'false',
358
- isIframe: 'false',
359
- isTransitioning: 'undefined',
360
- jumbotronType: 'dark-video',
361
- logo: "",
362
- pauseButtonTitle: 'pause text',
363
- playButtonTitle: 'play text',
364
- pngImgStyles: "''",
365
- pngSrc: 'undefined',
727
+ jumbotronType: 'dark',
728
+ hasPopupVideo: true,
366
729
  styles: 'undefined',
367
730
  subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
368
731
  };
732
+ PopupVideo.argTypes = {
733
+ argTypes: {
734
+ bgSrc: {
735
+ control: 'text',
736
+ description: 'Set this value when the jubmotron type is dark or light',
737
+ defaultValue: { summary: '' },
738
+ },
739
+ buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
740
+ jumbotronType: {
741
+ control: 'text',
742
+ description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
743
+ defaultValue: { summary: 'light' },
744
+ },
745
+ hasPopupVideo: {
746
+ control: 'boolean',
747
+ description: 'Set this value to true when you need a pop up video on the right side, add ptc-svg-btn & ptc-modal for the play button and video',
748
+ defaultValue: { summary: 'false' },
749
+ },
750
+ subTitle: {
751
+ control: 'text',
752
+ description: 'Set the sub title',
753
+ defaultValue: {
754
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
755
+ },
756
+ },
757
+ styles: {
758
+ control: 'text',
759
+ description: '(optional) Injected CSS styles',
760
+ defaultValue: { summary: 'undefined' },
761
+ },
762
+ },
763
+ };