@ptcwebops/ptcw-design 6.3.36 → 6.3.37-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 (459) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  2. package/dist/cjs/embedded-form.cjs.entry.js +1 -1
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/icon-asset.cjs.entry.js +1 -1
  5. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  6. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -3
  8. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  9. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  11. package/dist/cjs/ptc-card_2.cjs.entry.js +7 -10
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
  13. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  14. package/dist/cjs/ptc-countdown.cjs.entry.js +10 -7
  15. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  16. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +9 -40
  20. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +3 -18
  21. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +803 -39
  22. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
  23. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -4
  24. package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
  26. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  27. package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
  28. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  30. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -4
  36. package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +38 -42
  40. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  41. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -9
  42. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -15
  43. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +8 -42
  44. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  45. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-white-paper.cjs.entry.js +14 -15
  48. package/dist/cjs/ptcw-design.cjs.js +1 -3
  49. package/dist/collection/collection-manifest.json +2 -2
  50. package/dist/collection/components/icon-asset/icon-asset.js +1 -1
  51. package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  52. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  53. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
  54. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  55. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +1 -1
  56. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  57. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  58. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  59. package/dist/collection/components/ptc-button/ptc-button.css +0 -100
  60. package/dist/collection/components/ptc-button/ptc-button.js +4 -24
  61. package/dist/collection/components/ptc-card/ptc-card.js +2 -21
  62. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  63. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
  64. package/dist/collection/components/ptc-countdown/ptc-countdown.js +10 -7
  65. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
  66. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
  67. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  68. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -12
  69. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +3 -29
  70. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -34
  71. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +2 -17
  72. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
  73. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  74. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +0 -3
  75. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  76. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  77. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
  78. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
  79. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  80. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  81. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  82. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -109
  83. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -6
  84. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  85. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  86. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +2 -2
  87. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  88. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  89. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  90. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  91. package/dist/collection/components/ptc-product-list/ptc-product-list.js +0 -4
  92. package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
  93. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  94. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  95. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +38 -63
  96. package/dist/collection/components/ptc-select/ptc-select.js +4 -8
  97. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -9
  98. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -15
  99. package/dist/collection/components/ptc-textfield/ptc-textfield.css +4 -69
  100. package/dist/collection/components/ptc-textfield/ptc-textfield.js +19 -59
  101. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -6
  102. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
  103. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +0 -15
  104. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +9 -67
  105. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +3 -8
  106. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  107. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  108. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  109. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +13 -14
  110. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
  111. package/dist/collection/stories/Checkbox.stories.js +53 -21
  112. package/dist/collection/stories/Hero.stories.js +120 -35
  113. package/dist/collection/stories/Jumbotron.stories.js +306 -665
  114. package/dist/collection/stories/Link.stories.js +13 -25
  115. package/dist/collection/stories/Paragraph.stories.js +10 -18
  116. package/dist/collection/stories/Select.stories.js +78 -27
  117. package/dist/collection/stories/SocialShare.stories.js +67 -83
  118. package/dist/collection/stories/TextCopyWithBackground.stories.js +242 -100
  119. package/dist/collection/stories/Title.stories.js +16 -28
  120. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  121. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  122. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  123. package/dist/collection/utils/validation-messages.js +2 -49
  124. package/dist/custom-elements/index.d.ts +6 -0
  125. package/dist/custom-elements/index.js +401 -539
  126. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  127. package/dist/esm/blog-detail-layout.entry.js +1 -1
  128. package/dist/esm/blogs-search-section.entry.js +1 -1
  129. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  130. package/dist/esm/embedded-form.entry.js +1 -1
  131. package/dist/esm/featured-list.entry.js +1 -1
  132. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  133. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  134. package/dist/esm/icon-asset.entry.js +1 -1
  135. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  136. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  137. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  138. package/dist/esm/loader.js +1 -3
  139. package/dist/esm/modal-form-example.entry.js +90 -0
  140. package/dist/esm/most-popular-news.entry.js +1 -1
  141. package/dist/esm/my-component.entry.js +1 -1
  142. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  143. package/dist/esm/ptc-background-video.entry.js +1 -1
  144. package/dist/esm/ptc-bio-card.entry.js +1 -1
  145. package/dist/esm/ptc-button.entry.js +83 -0
  146. package/dist/esm/ptc-card_2.entry.js +7 -10
  147. package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
  148. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  149. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  150. package/dist/esm/ptc-countdown.entry.js +10 -7
  151. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  152. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  153. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  154. package/dist/esm/ptc-featured-list.entry.js +1 -1
  155. package/dist/esm/ptc-filter-dropdown_4.entry.js +9 -40
  156. package/dist/esm/ptc-filter-level-theater.entry.js +3 -18
  157. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +802 -40
  158. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  159. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  160. package/dist/esm/ptc-icon-card.entry.js +1 -1
  161. package/dist/esm/ptc-img.entry.js +1 -1
  162. package/dist/esm/ptc-info-tile.entry.js +1 -2
  163. package/dist/esm/ptc-jumbotron.entry.js +1 -4
  164. package/dist/esm/ptc-link.entry.js +1 -1
  165. package/dist/esm/ptc-media-card.entry.js +1 -1
  166. package/dist/esm/ptc-nav-link.entry.js +1 -1
  167. package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
  168. package/dist/esm/ptc-para.entry.js +123 -0
  169. package/dist/esm/ptc-picture.entry.js +158 -0
  170. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  171. package/dist/esm/ptc-previous-url.entry.js +10 -2
  172. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  173. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  174. package/dist/esm/ptc-product-card.entry.js +1 -1
  175. package/dist/esm/ptc-product-category.entry.js +1 -1
  176. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  177. package/dist/esm/ptc-product-list.entry.js +0 -4
  178. package/dist/esm/ptc-quote.entry.js +1 -1
  179. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  180. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  181. package/dist/esm/ptc-related-card-rail.entry.js +38 -42
  182. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  183. package/dist/esm/ptc-spacer.entry.js +34 -0
  184. package/dist/esm/ptc-sticky-icons.entry.js +0 -9
  185. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -16
  186. package/dist/esm/ptc-theater-video-modal.entry.js +9 -43
  187. package/dist/esm/ptc-title.entry.js +148 -0
  188. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  190. package/dist/esm/ptc-white-paper.entry.js +14 -15
  191. package/dist/esm/ptcw-design.js +1 -3
  192. package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
  193. package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  194. package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
  195. package/dist/ptcw-design/p-077839d5.entry.js +1 -0
  196. package/dist/ptcw-design/p-092e50c9.entry.js +1 -0
  197. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  198. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  199. package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
  200. package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
  201. package/dist/ptcw-design/{p-dffcfa42.entry.js → p-14b7693f.entry.js} +1 -1
  202. package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
  203. package/dist/ptcw-design/{p-30bfb2f9.entry.js → p-1eb40265.entry.js} +1 -1
  204. package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
  205. package/dist/ptcw-design/{p-673cfd2e.entry.js → p-257267e3.entry.js} +1 -1
  206. package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
  207. package/dist/ptcw-design/{p-4056c365.entry.js → p-297a14cb.entry.js} +1 -1
  208. package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
  209. package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
  210. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  211. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-5ca42138.entry.js → p-3ed4a7ed.entry.js} +1 -1
  213. package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
  214. package/dist/ptcw-design/p-445329ed.entry.js +1 -0
  215. package/dist/ptcw-design/{p-16d47ac5.entry.js → p-45b1f3fc.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-81e65926.entry.js → p-4702c233.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-1c99b808.entry.js → p-4ca956c1.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-55e344bc.entry.js → p-52e17d34.entry.js} +1 -1
  219. package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
  220. package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
  221. package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
  222. package/dist/ptcw-design/p-672a349f.js +336 -0
  223. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  224. package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
  225. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  226. package/dist/ptcw-design/{p-e813ea2b.entry.js → p-76dab076.entry.js} +1 -1
  227. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  228. package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
  229. package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
  230. package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
  231. package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
  232. package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
  233. package/dist/ptcw-design/{p-a5ad0eff.entry.js → p-8c121480.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-5bd8b4be.entry.js → p-8cea8943.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-757e3edb.entry.js → p-8e42a22d.entry.js} +1 -1
  236. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  237. package/dist/ptcw-design/{p-0252726c.entry.js → p-901c31b3.entry.js} +1 -1
  238. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  239. package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
  240. package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-2ba1ef9d.entry.js → p-9dbcfcee.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-27c26d50.entry.js → p-9df7489b.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-24a6eefa.entry.js → p-a5fc048f.entry.js} +1 -1
  244. package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
  245. package/dist/ptcw-design/{p-50770cc0.entry.js → p-b647f7a1.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
  247. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  248. package/dist/ptcw-design/{p-80588c84.entry.js → p-d51438de.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  250. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  251. package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
  252. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  253. package/dist/ptcw-design/p-f1734520.entry.js +1 -0
  254. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-b863b296.entry.js → p-fd87fcd5.entry.js} +1 -1
  256. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  257. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  258. package/dist/ptcw-design/ptcw-design.css +2 -2
  259. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  260. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  261. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -2
  262. package/dist/types/components/ptc-card/ptc-card.d.ts +0 -1
  263. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
  264. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -2
  265. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
  266. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
  267. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  268. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  269. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
  270. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
  271. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  272. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  273. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +0 -3
  274. package/dist/types/components/ptc-select/ptc-select.d.ts +1 -2
  275. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +0 -2
  276. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +4 -4
  277. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
  278. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
  279. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
  280. package/dist/types/components.d.ts +24 -29
  281. package/dist/types/utils/validation-messages.d.ts +123 -4
  282. package/package.json +1 -1
  283. package/readme.md +5 -1
  284. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  285. package/dist/cjs/global-418c14b4.js +0 -33
  286. package/dist/cjs/ptc-button_5.cjs.entry.js +0 -542
  287. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -674
  288. package/dist/cjs/validation-messages-f1d373e7.js +0 -172
  289. package/dist/collection/global/global.js +0 -7
  290. package/dist/collection/stories/Breadcrumb2.stories.js +0 -62
  291. package/dist/collection/stories/BrightcovVideo.stories.js +0 -21
  292. package/dist/collection/stories/CheckboxGroup.stories.js +0 -27
  293. package/dist/collection/stories/CloseIcon.stories.js +0 -10
  294. package/dist/collection/stories/CollapseList.stories.js +0 -14
  295. package/dist/collection/stories/Countdown.stories.js +0 -10
  296. package/dist/collection/stories/DataLookup.stories.js +0 -21
  297. package/dist/collection/stories/EllipsisDropdown.stories.js +0 -14
  298. package/dist/collection/stories/HeroFooterCTA.stories.js +0 -21
  299. package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
  300. package/dist/collection/stories/MultiSelect.stories.js +0 -10
  301. package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
  302. package/dist/collection/stories/ScrollButton.stories.js +0 -14
  303. package/dist/collection/stories/SearchField.stories.js +0 -21
  304. package/dist/collection/stories/SvgBtn.stories.js +0 -36
  305. package/dist/collection/stories/TheaterVideo.stories.js +0 -21
  306. package/dist/collection/stories/VideoEmbed.stories.js +0 -10
  307. package/dist/collection/stories/backToTop.stories.js +0 -10
  308. package/dist/collection/stories/backgroundVideo.stories.js +0 -115
  309. package/dist/collection/stories/jumbotronSubMenu.stories.js +0 -14
  310. package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
  311. package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
  312. package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
  313. package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
  314. package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
  315. package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
  316. package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
  317. package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
  318. package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
  319. package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
  320. package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
  321. package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
  322. package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
  323. package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
  324. package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
  325. package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
  326. package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
  327. package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
  328. package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
  329. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
  330. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
  331. package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
  332. package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
  333. package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
  334. package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
  335. package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
  336. package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
  337. package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
  338. package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
  339. package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
  340. package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
  341. package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
  342. package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
  343. package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
  344. package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
  345. package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
  346. package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
  347. package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
  348. package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
  349. package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
  350. package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
  351. package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
  352. package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
  353. package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
  354. package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
  355. package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
  356. package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
  357. package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
  358. package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
  359. package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
  360. package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
  361. package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
  362. package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
  363. package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
  364. package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
  365. package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
  366. package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
  367. package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
  368. package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
  369. package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
  370. package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
  371. package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
  372. package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
  373. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
  374. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
  375. package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
  376. package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
  377. package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
  378. package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
  379. package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
  380. package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
  381. package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
  382. package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
  383. package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
  384. package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
  385. package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
  386. package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
  387. package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
  388. package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
  389. package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
  390. package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
  391. package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
  392. package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
  393. package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
  394. package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
  395. package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
  396. package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
  397. package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
  398. package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
  399. package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
  400. package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
  401. package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
  402. package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
  403. package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
  404. package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
  405. package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
  406. package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
  407. package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
  408. package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
  409. package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
  410. package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
  411. package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
  412. package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
  413. package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
  414. package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
  415. package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
  416. package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
  417. package/dist/collection/stories/ptcLink2.stories.js +0 -142
  418. package/dist/collection/utils/fef-logger.js +0 -23
  419. package/dist/esm/component-9beac35b.js +0 -1802
  420. package/dist/esm/global-1a5f28d5.js +0 -31
  421. package/dist/esm/ptc-button_5.entry.js +0 -534
  422. package/dist/esm/ptc-multi-select_2.entry.js +0 -669
  423. package/dist/esm/validation-messages-1379b825.js +0 -169
  424. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  425. package/dist/ptcw-design/p-02822616.entry.js +0 -1
  426. package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
  427. package/dist/ptcw-design/p-0efedf59.js +0 -1
  428. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  429. package/dist/ptcw-design/p-15a40f78.entry.js +0 -1
  430. package/dist/ptcw-design/p-18851303.entry.js +0 -1
  431. package/dist/ptcw-design/p-1feb2812.entry.js +0 -1
  432. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  433. package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
  434. package/dist/ptcw-design/p-3e4ec8ef.entry.js +0 -1
  435. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  436. package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
  437. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  438. package/dist/ptcw-design/p-78370e3d.entry.js +0 -1
  439. package/dist/ptcw-design/p-829855f5.entry.js +0 -1
  440. package/dist/ptcw-design/p-98426799.js +0 -203
  441. package/dist/ptcw-design/p-98844b50.js +0 -134
  442. package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
  443. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  444. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  445. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  446. package/dist/ptcw-design/p-b6255525.entry.js +0 -1
  447. package/dist/ptcw-design/p-bc146844.entry.js +0 -1
  448. package/dist/ptcw-design/p-bcc6712c.entry.js +0 -68
  449. package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
  450. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  451. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  452. package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
  453. package/dist/ptcw-design/p-e3867512.entry.js +0 -1
  454. package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
  455. package/dist/ptcw-design/p-eaa0597a.entry.js +0 -1
  456. package/dist/ptcw-design/p-f377006c.entry.js +0 -1
  457. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  458. package/dist/types/global/global.d.ts +0 -4
  459. package/dist/types/utils/fef-logger.d.ts +0 -10
@@ -1,280 +1,155 @@
1
1
  import { html } from 'lit';
2
- import { unsafeHTML } from 'lit/directives/unsafe-html.js';
3
2
 
4
3
  export default {
5
4
  title: 'Molecules/ptc-jumbotron',
6
5
  tags: ['autodocs'],
7
- };
8
-
9
- //Light jumbotron story
10
- const LightJumbotronTemplate = args => {
11
- return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
12
- <ptc-jumbotron
13
- jumbotron-type=${args.jumbotronType}
14
- has-countdown=${args.hasCountdown}
15
- sub-title=${args.subTitle}
16
- bg-src=${args.bgSrc}
17
- logo=${args.logo}
18
- bg-video-src=${args.bgVideoSrc}
19
- play-button-title=${args.playButtonTitle}
20
- pause-button-title=${args.pauseButtonTitle}
21
- >
22
- has-popup-video=${args.hasPopupVideo}> ${unsafeHTML(args.slotContent)}
23
- </ptc-jumbotron>`;
24
- };
25
- export const Light = LightJumbotronTemplate.bind({});
26
- Light.args = {
27
- bgSrc:
28
- 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
29
- jumbotronType: 'light',
30
- hasCountdown: 'false',
31
- logo: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/4699dab90e6f476b8a70902b58d7d3db?h=827&w=1550&la=en',
32
- styles: 'undefined',
33
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
34
- slotContent: `<ptc-breadcrumb slot="breadcrumb" color="primary-gray">
35
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
36
- <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
37
- </ptc-breadcrumb>
38
- <ptc-title
39
- slot="main-title"
40
- type="h1"
41
- upperline="no-upperline"
42
- title-size="xxxx-large"
43
- title-height="densest"
44
- title-weight="w-8"
45
- title-margin="margin-flush"
46
- text-align="left"
47
- title-color="gray"
48
- >
49
- Sed ut perspiciatis unde omnis iste natus
50
- </ptc-title>
51
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
52
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>`,
53
- };
54
- Light.argTypes = {
55
- bgSrc: {
56
- control: 'text',
57
- description: 'Set this value when the jubmotron type is dark or light',
58
- defaultValue: { summary: '' },
59
- },
60
- hasCountdown: {
61
- control: 'boolean',
62
- description: `
63
- To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons. Countdown slot code:
64
- <ptc-countdown slot="countdown"
65
- countdown-title="Boston Event"
66
- event-time="2/19/2026 20:00:00">
67
- </ptc-countdown>`,
68
- defaultValue: { summary: 'false' },
69
- },
70
- jumbotronType: {
71
- control: 'text',
72
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
73
- defaultValue: { summary: 'light' },
74
- },
75
- logo: {
76
- control: 'text',
77
- description: 'Optional - set a logo by adding an URL to this property',
78
- },
79
- styles: {
80
- control: 'text',
81
- description: '(optional) Injected CSS styles',
82
- defaultValue: { summary: 'undefined' },
83
- },
84
- subTitle: {
85
- control: 'text',
86
- description: 'Set the sub title',
87
- defaultValue: {
88
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
6
+ argTypes: {
7
+ bgSrc: {
8
+ control: 'text',
9
+ description: 'Set this value when the jubmotron type is dark or light',
10
+ defaultValue: { summary: '' },
89
11
  },
90
- },
91
- slotContent: {
92
- name: 'Default Slot',
93
- description: 'Text Content between the <ptc-link> tags.',
94
- control: 'text',
95
- table: {
96
- category: 'Default Slot',
97
- type: {
98
- summary: 'html',
99
- },
12
+ bgVideoPosterSrc: {
13
+ control: 'text',
14
+ description: '',
15
+ defaultValue: { summary: '' },
100
16
  },
101
- },
102
- };
103
-
104
- //Dark jumbotron story
105
- const DarkJumbotronTemplate = args => {
106
- return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
107
- <ptc-jumbotron jumbotron-type=${args.jumbotronType} has-countdown=${args.hasCountdown} sub-title=${args.subTitle} bg-src=${args.bgSrc} logo=${args.logo}>
108
- ${unsafeHTML(args.slotContent)}
109
- </ptc-jumbotron>`;
110
- };
111
- export const Dark = DarkJumbotronTemplate.bind({});
112
- Dark.args = {
113
- bgSrc:
114
- 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
115
- hasCountdown: 'false',
116
- jumbotronType: 'dark',
117
- logo: '',
118
- styles: 'undefined',
119
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
120
- slotContent: `
121
- <ptc-breadcrumb slot="breadcrumb" color="white">
122
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
123
- <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
124
- </ptc-breadcrumb>
125
- <ptc-title
126
- slot="main-title"
127
- type="h1"
128
- upperline="no-upperline"
129
- title-size="xxxx-large"
130
- title-height="densest"
131
- title-weight="w-8"
132
- title-margin="margin-flush"
133
- text-align="left"
134
- title-color="gray-1"
135
- >Sed ut perspiciatis unde omnis iste natus
136
- </ptc-title>
137
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
138
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
139
- `,
140
- };
141
- Dark.argTypes = {
142
- bgSrc: {
143
- control: 'text',
144
- description: 'Set this value when the jubmotron type is dark or light',
145
- defaultValue: { summary: '' },
146
- },
147
- hasCountdown: {
148
- control: 'boolean',
149
- description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
150
- defaultValue: { summary: 'false' },
151
- },
152
- jumbotronType: {
153
- control: 'text',
154
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
155
- defaultValue: { summary: 'light' },
156
- },
157
- logo: {
158
- control: 'text',
159
- description: 'Optional - set a logo by adding an URL to this property',
160
- },
161
- styles: {
162
- control: 'text',
163
- description: '(optional) Injected CSS styles',
164
- defaultValue: { summary: 'undefined' },
165
- },
166
- subTitle: {
167
- control: 'text',
168
- description: 'Set the sub title',
169
- defaultValue: {
170
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
17
+ bgVideoSrc: {
18
+ control: 'text',
19
+ description: 'Set this value when the jumbotron type is dark-video or light-video',
20
+ defaultValue: { summary: '' },
171
21
  },
172
- },
173
- slotContent: {
174
- name: 'Default Slot',
175
- description: 'Text Content between the <ptc-link> tags.',
176
- control: 'text',
177
- table: {
178
- category: 'Default Slot',
179
- type: {
180
- summary: 'html',
181
- },
22
+ blogAuthorImage: {
23
+ control: 'text',
24
+ description: '',
25
+ defaultValue: { summary: "''" },
182
26
  },
183
- },
184
- };
185
-
186
- //Text jumbotron story
187
- const TextJumbotronTemplate = args => {
188
- return html` <ptc-jumbotron jumbotron-type=${args.jumbotronType} sub-title=${args.subTitle}> ${unsafeHTML(args.slotContent)} </ptc-jumbotron>`;
189
- };
190
- export const Text = TextJumbotronTemplate.bind({});
191
- Text.args = {
192
- jumbotronType: 'text',
193
- styles: 'undefined',
194
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
195
- slotContent: `
196
- <ptc-breadcrumb slot="breadcrumb" color="primary-gray" position="center" styles=":host{margin-top: var(--ptc-element-spacing-06)!important;align-items: baseline;}">
197
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray" styles=":host(.breadcrumb) li{text-transform: uppercase;}">
198
- PLM TEst
199
- </list-item>
200
- <list-item list-type="breadcrumb" color="primary-gray" styles=":host(.breadcrumb) li{ text-transform: uppercase;}"> Connecting Engineering and Manufacturing PPC </list-item>
201
- </ptc-breadcrumb>
202
- <ptc-title
203
- slot="main-title"
204
- type="h1"
205
- upperline="no-upperline"
206
- title-size="xxxx-large"
207
- title-height="densest"
208
- title-weight="w-8"
209
- title-margin="margin-flush"
210
- text-align="center"
211
- title-color="gray"
212
- >
213
- <!-- test align = center for text -->
214
- Sed ut perspiciatis unde omnis iste natus totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et
215
- </ptc-title>
216
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
217
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
218
- `,
219
- };
220
- Text.argTypes = {
221
- subTitle: {
222
- control: 'text',
223
- description: 'Set the sub title',
224
- defaultValue: {
225
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
27
+ blogAuthorImageAlt: {
28
+ control: 'text',
29
+ description: '',
30
+ defaultValue: { summary: "''" },
226
31
  },
227
- },
228
- jumbotronType: {
229
- control: 'text',
230
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
231
- defaultValue: { summary: 'light' },
232
- },
233
- styles: {
234
- control: 'text',
235
- description: '(optional) Injected CSS styles',
236
- defaultValue: { summary: 'undefined' },
237
- },
238
- slotContent: {
239
- name: 'Default Slot',
240
- description: 'Text Content between the <ptc-link> tags.',
241
- control: 'text',
242
- table: {
243
- category: 'Default Slot',
244
- type: {
245
- summary: 'html',
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
+ buttonLocation: {
48
+ 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: '',
91
+ defaultValue: { summary: 'undefined' },
92
+ },
93
+ jumbotronType: {
94
+ control: 'text',
95
+ description: '',
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: '',
130
+ defaultValue: {
131
+ summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
246
132
  },
247
133
  },
248
134
  },
249
135
  };
250
136
 
251
- // Dark Video jumbotron story
252
- const VideoJumbotronTemplate = args => {
253
- return html` <ptc-jumbotron
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
254
140
  jumbotron-type=${args.jumbotronType}
141
+ has-countdown=${args.hasCountdown}
255
142
  sub-title=${args.subTitle}
143
+ bg-src=${args.bgSrc}
144
+ logo=${args.logo}
256
145
  bg-video-src=${args.bgVideoSrc}
257
146
  play-button-title=${args.playButtonTitle}
258
- pause-button-title=${args.pauseButtonTitle}
147
+ pause-button-title=${args.pauseButtonTitle}>
148
+ has-popup-video=${args.hasPopupVideo}
259
149
  >
260
- ${unsafeHTML(args.slotContent)}
261
- </ptc-jumbotron>`;
262
- };
263
- export const DarkVideo = VideoJumbotronTemplate.bind({});
264
- DarkVideo.args = {
265
- bgVideoPosterSrc: 'undefined',
266
- bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
267
- buttonLocation: 'undefined',
268
- buttonTabIndex: '0',
269
- jumbotronType: 'dark-video',
270
- pauseButtonTitle: 'pause text',
271
- playButtonTitle: 'play text',
272
- styles: 'undefined',
273
- subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
274
- slotContent: `
275
- <ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
276
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray"> PLM Video Hub </list-item>
277
- <list-item list-type="breadcrumb" color="light-gray"> Current Page </list-item>
150
+ <ptc-breadcrumb slot="breadcrumb" color="primary-gray">
151
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
152
+ <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
278
153
  </ptc-breadcrumb>
279
154
  <ptc-title
280
155
  slot="main-title"
@@ -285,443 +160,209 @@ DarkVideo.args = {
285
160
  title-weight="w-8"
286
161
  title-margin="margin-flush"
287
162
  text-align="left"
288
- title-color="gray-1"
289
- >Sed ut perspiciatis unde omnis iste natus
163
+ title-color="gray"
164
+ >
165
+ Sed ut perspiciatis unde omnis iste natus
290
166
  </ptc-title>
291
- <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>
292
- <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>
293
- `,
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>
169
+ </ptc-jumbotron>`;
294
170
  };
295
- DarkVideo.argTypes = {
296
- bgVideoPosterSrc: {
297
- control: 'text',
298
- description: 'Set this value when you need a poster for the background video',
299
- defaultValue: { summary: '' },
300
- },
301
- bgVideoSrc: {
302
- control: 'text',
303
- description: 'Set this value when the jumbotron type is dark-video or light-video',
304
- defaultValue: { summary: '' },
305
- },
306
- buttonLocation: {
307
- control: 'text',
308
- description:
309
- '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',
310
- defaultValue: { summary: 'undefined' },
311
- },
312
- buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
313
171
 
314
- jumbotronType: {
315
- control: 'text',
316
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
317
- defaultValue: { summary: 'light' },
318
- },
319
- pauseButtonTitle: {
320
- control: 'text',
321
- description: 'paly button text when bg-video-src has a value',
322
- defaultValue: { summary: 'undefined' },
323
- },
324
- playButtonTitle: {
325
- control: 'text',
326
- description: 'paly button text when bg-video-src has a value',
327
- defaultValue: { summary: 'undefined' },
328
- },
329
- styles: {
330
- control: 'text',
331
- description: '(optional) Injected CSS styles',
332
- defaultValue: { summary: 'undefined' },
333
- },
334
- subTitle: {
335
- control: 'text',
336
- description: 'Set the sub title',
337
- defaultValue: {
338
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
339
- },
340
- },
341
- slotContent: {
342
- name: 'Default Slot',
343
- description: 'Text Content between the <ptc-link> tags.',
344
- control: 'text',
345
- table: {
346
- category: 'Default Slot',
347
- type: {
348
- summary: 'html',
349
- },
350
- },
351
- },
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: "''",
183
+ buttonLocation: 'undefined',
184
+ 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',
199
+ styles: 'undefined',
200
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
352
201
  };
353
202
 
354
- // Light Video jumbotron story
355
- const LVideoJumbotronTemplate = args => {
356
- return html` <ptc-jumbotron
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
357
206
  jumbotron-type=${args.jumbotronType}
207
+ has-countdown=${args.hasCountdown}
358
208
  sub-title=${args.subTitle}
359
- bg-video-src=${args.bgVideoSrc}
360
- play-button-title=${args.playButtonTitle}
361
- pause-button-title=${args.pauseButtonTitle}
209
+ bg-src=${args.bgSrc}
210
+ logo=${args.logo}
362
211
  >
363
- ${unsafeHTML(args.slotContent)}
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>
364
221
  </ptc-jumbotron>`;
365
222
  };
366
- export const LightVideo = LVideoJumbotronTemplate.bind({});
367
- LightVideo.args = {
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',
368
228
  bgVideoPosterSrc: 'undefined',
369
- bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
229
+ bgVideoSrc: 'undefined',
230
+ blogAuthorImage: "''",
231
+ blogAuthorImageAlt: "''",
232
+ blogAuthorName: "''",
233
+ blogAuthorQueryHref: "''",
234
+ blogAuthorQueryTarget: "''",
370
235
  buttonLocation: 'undefined',
371
236
  buttonTabIndex: '0',
372
- jumbotronType: 'light-video',
373
- pauseButtonTitle: 'pause text',
374
- playButtonTitle: 'play text',
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',
375
251
  styles: 'undefined',
376
252
  subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
377
- slotContent: `
378
- <ptc-breadcrumb slot="breadcrumb" color="primary-gray" is-dark-mode>
379
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
380
- <list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
381
- </ptc-breadcrumb>
382
- <ptc-title
383
- slot="main-title"
384
- type="h1"
385
- upperline="no-upperline"
386
- title-size="xxxx-large"
387
- title-height="densest"
388
- title-weight="w-8"
389
- title-margin="margin-flush"
390
- text-align="left"
391
- title-color="gray"
392
- >Sed ut perspiciatis unde omnis iste natus
393
- </ptc-title>
394
- <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>
395
- <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>
396
- `,
397
- };
398
- LightVideo.argTypes = {
399
- bgVideoPosterSrc: {
400
- control: 'text',
401
- description: 'Set this value when you need a poster for the background video',
402
- defaultValue: { summary: '' },
403
- },
404
- bgVideoSrc: {
405
- control: 'text',
406
- description: 'Set this value when the jumbotron type is dark-video or light-video',
407
- defaultValue: { summary: '' },
408
- },
409
- buttonLocation: {
410
- control: 'text',
411
- description:
412
- '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',
413
- defaultValue: { summary: 'undefined' },
414
- },
415
- buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
416
-
417
- jumbotronType: {
418
- control: 'text',
419
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
420
- defaultValue: { summary: 'light' },
421
- },
422
- pauseButtonTitle: {
423
- control: 'text',
424
- description: 'paly button text when bg-video-src has a value',
425
- defaultValue: { summary: 'undefined' },
426
- },
427
- playButtonTitle: {
428
- control: 'text',
429
- description: 'paly button text when bg-video-src has a value',
430
- defaultValue: { summary: 'undefined' },
431
- },
432
- styles: {
433
- control: 'text',
434
- description: '(optional) Injected CSS styles',
435
- defaultValue: { summary: 'undefined' },
436
- },
437
- subTitle: {
438
- control: 'text',
439
- description: 'Set the sub title',
440
- defaultValue: {
441
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
442
- },
443
- },
444
- slotContent: {
445
- name: 'Default Slot',
446
- description: 'Text Content between the <ptc-link> tags.',
447
- control: 'text',
448
- table: {
449
- category: 'Default Slot',
450
- type: {
451
- summary: 'html',
452
- },
453
- },
454
- },
455
253
  };
456
254
 
457
- // Blog jumbotron story
458
- const BlogJumbotronTemplate = args => {
255
+ const TextJumbotronTemplate = args => {
459
256
  return html`
460
257
  <ptc-jumbotron jumbotron-type=${args.jumbotronType}
461
- sub-title=""
462
- png-src=${args.pngSrc}
463
- has-popup-video="false"
464
- blog-author-image=${args.blogAuthorImage}
465
- blog-author-image-alt=${args.blogAuthorImageAlt}
466
- blog-author-name=${args.blogAuthorName}
467
- blog-author-query-href=${args.blogAuthorQueryHref}
468
- blog-author-query-target=${args.blogAuthorQueryTarget}
469
- >
470
- ${unsafeHTML(args.slotContent)}
471
- </ptc-jumbotron>`;
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>
278
+ </ptc-jumbotron>`;
472
279
  };
473
- export const BlogVideo = BlogJumbotronTemplate.bind({});
474
- BlogVideo.args = {
475
- pngSrc: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5fbb90c52ab7431c89df5eea5ef9fe25?v=6e1b1318',
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: "''",
476
292
  buttonLocation: 'undefined',
477
293
  buttonTabIndex: '0',
478
- jumbotronType: 'blog',
479
- blogAuthorImage: 'https://www.ptc.com/-/media/Images/blog/Authors/MaleDefaultImage.jpg',
480
- blogAuthorImageAlt: 'blog-author-image',
481
- blogAuthorName: 'Simone Biles',
482
- blogAuthorQueryHref: 'https://www.ptc.com/blogs',
483
- blogAuthorQueryTarget: '_blank',
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',
484
308
  styles: 'undefined',
485
- slotContent: `
486
- <ptc-breadcrumb slot="breadcrumb" color="primary-gray" remove-top-margin="true">
487
- <list-item list-type="breadcrumb" link-href="https://www-dev.ptc.com/blogs" color="primary-gray">Blogs</list-item>
488
- <list-item list-type="breadcrumb" color="primary-gray">The Key to Using AI to Enhance IoT Security</list-item>
489
- </ptc-breadcrumb>
490
- <ptc-title
491
- slot="main-title"
492
- type="h1"
493
- upperline="no-upperline"
494
- title-size="xxxx-large"
495
- title-height="densest"
496
- title-weight="w-8"
497
- title-margin="margin-flush"
498
- text-align="left"
499
- title-color="gray"
500
- >
501
- The Key to Using AI to Enhance IoT Security
502
- </ptc-title>
503
- <span slot="blog-date">April 4, 2024</span>
504
- <ptc-button slot="j-cta" type="link" color="ptc-quaternary" link-href="https://www.ptc.com" target="_blank">
505
- Request Free Trial
506
- </ptc-button>
507
- <ptc-button slot="j-cta" type="link" color="ptc-tertiary" link-href="https://www.ptc.com" target="_blank">
508
- Speaking of Service Podcast
509
- </ptc-button>
510
- `
309
+ subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
511
310
  };
512
- BlogVideo.argTypes = {
513
- pngSrc: {
514
- control: 'text',
515
- description: '',
516
- defaultValue: { summary: 'undefined' },
517
- },
518
- blogAuthorImage: {
519
- control: 'text',
520
- description: 'Set this value when you need a blog author',
521
- defaultValue: { summary: "''" },
522
- },
523
- blogAuthorImageAlt: {
524
- control: 'text',
525
- description: 'Set this value when you need a blog author',
526
- defaultValue: { summary: "''" },
527
- },
528
- blogAuthorName: {
529
- control: 'text',
530
- description: 'Set this value when you need a blog author',
531
- defaultValue: { summary: "''" },
532
- },
533
- blogAuthorQueryHref: {
534
- control: 'text',
535
- description: 'Set this value when you need a blog author',
536
- defaultValue: { summary: "''" },
537
- },
538
- blogAuthorQueryTarget: {
539
- control: 'text',
540
- description: 'Set this value when you need a blog author',
541
- defaultValue: { summary: "''" },
542
- },
543
- buttonLocation: {
544
- control: 'text',
545
- description:
546
- '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',
547
- defaultValue: { summary: 'undefined' },
548
- },
549
- buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
550
311
 
551
- jumbotronType: {
552
- control: 'text',
553
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
554
- defaultValue: { summary: 'light' },
555
- },
556
- styles: {
557
- control: 'text',
558
- description: '(optional) Injected CSS styles',
559
- defaultValue: { summary: 'undefined' },
560
- },
561
- slotContent: {
562
- name: 'Default Slot',
563
- description: 'Text Content between the <ptc-link> tags.',
564
- control: 'text',
565
- table: {
566
- category: 'Default Slot',
567
- type: {
568
- summary: 'html',
569
- },
570
- },
571
- },
312
+ const VideoJumbotronTemplate = args => {
313
+ 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>
320
+ <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray">
321
+ PLM Video Hub
322
+ </list-item>
323
+ <list-item list-type="breadcrumb" color="light-gray">
324
+ Current Page
325
+ </list-item>
326
+ </ptc-breadcrumb>
327
+ <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
329
+ </ptc-title>
330
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state>
331
+ CTA 1
332
+ </ptc-button>
333
+ <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state>
334
+ CTA 2
335
+ </ptc-button>
336
+ </ptc-jumbotron>`;
572
337
  };
573
338
 
574
- // Popup Video jumbotron story
575
- const PopupJumbotronTemplate = args => {
576
- return html` <style>
577
- ptc-svg-btn {
578
- position: absolute;
579
- left: 50%;
580
- top: 0%;
581
- transform: translate(-50%, -200%);
582
- }
583
-
584
- @media screen and (min-width: 480px) {
585
- ptc-svg-btn {
586
- transform: translate(-50%, -260%);
587
- }
588
- }
589
-
590
- @media screen and (min-width: 550px) {
591
- ptc-svg-btn {
592
- transform: translate(-50%, -235%);
593
- }
594
- }
595
-
596
- @media screen and (min-width: 768px) {
597
- ptc-svg-btn {
598
- transform: translate(-50%, -306%);
599
- }
600
- }
339
+ export const Example4 = VideoJumbotronTemplate.bind({});
601
340
 
602
- @media screen and (min-width: 992px) {
603
- ptc-svg-btn {
604
- top: 50%;
605
- left: 75%;
606
- transform: translate(-50%, -50%);
607
- }
608
- }
609
- </style>
610
- <ptc-jumbotron jumbotron-type=${args.jumbotronType} sub-title=${args.subTitle} bg-src=${args.bgSrc} has-popup-video=${args.hasPopupVideo}>
611
- ${unsafeHTML(args.slotContent)}
612
- </ptc-jumbotron>
613
- <!-- for popup video -->
614
- <script>
615
- let videoBtn = document.querySelector('#j-modal-btn');
616
- let modal = document.querySelector('#popup-modal');
617
-
618
- if (videoBtn && modal) {
619
- videoBtn.addEventListener('click', function () {
620
- modal.show = true;
621
- });
622
- videojs.getPlayer('bcPlayer').ready(function () {
623
- var bcPlayer = this;
624
- modal.addEventListener('closed', function () {
625
- bcPlayer.pause();
626
- });
627
- });
628
- }
629
- </script>`;
630
- };
631
- export const PopupVideo = PopupJumbotronTemplate.bind({});
632
- PopupVideo.args = {
633
- bgSrc:
634
- 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
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',
635
351
  buttonTabIndex: '0',
636
- jumbotronType: 'dark',
637
- hasPopupVideo: true,
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',
638
366
  styles: 'undefined',
639
367
  subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
640
- slotContent: `
641
- <ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
642
- <list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray"> PLM Video Hub </list-item>
643
- <list-item list-type="breadcrumb" color="light-gray"> Current Page </list-item>
644
- </ptc-breadcrumb>
645
- <ptc-title
646
- slot="main-title"
647
- type="h1"
648
- upperline="no-upperline"
649
- title-size="xxxx-large"
650
- title-height="densest"
651
- title-weight="w-8"
652
- title-margin="margin-flush"
653
- text-align="left"
654
- title-color="gray-1"
655
- ellipsis-line-cutoff="3"
656
- >
657
- <ptc-tooltip text-lines="3" description="Sed ut perspiciatis unde omnis iste natus" position="right"></ptc-tooltip>
658
- </ptc-title>
659
- <ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" dark-focus-state target="_blank"> CTA 1 </ptc-button>
660
- <ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" dark-focus-state target="_blank"> CTA 2 </ptc-button>
661
- <ptc-svg-btn id="j-modal-btn" slot="video" svg-name="play" display="block" z-index="2"></ptc-svg-btn>
662
- <ptc-modal id="popup-modal" slot="video" show="false" size="xl" fixed styles=".overlay{backdrop-filter: blur(10px);}" close-on-blur="true">
663
- <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">
664
- <div class="is-col-6 is-col-12-xs grid-order-1-md">
665
- <div style="position: relative;">
666
- <div style="padding-top: 56.25%;">
667
- <video-js
668
- id="bcPlayer"
669
- data-account="1532789042001"
670
- data-player="dNyUv9zZ6"
671
- data-embed="default"
672
- data-video-id="6307196876112"
673
- controls=""
674
- data-application-id=""
675
- class="vjs-fill"
676
- style="top:0; position:absolute;"
677
- >
678
- </video-js>
679
- </div>
680
- <script src="//players.brightcove.net/1532789042001/dNyUv9zZ6_default/index.min.js"></script>
681
- </div>
682
- </div>
683
- </div>
684
- </ptc-modal>
685
- `
686
- };
687
- PopupVideo.argTypes = {
688
- bgSrc: {
689
- control: 'text',
690
- description: 'Set this value when the jubmotron type is dark or light',
691
- defaultValue: { summary: '' },
692
- },
693
- buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
694
- jumbotronType: {
695
- control: 'text',
696
- description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
697
- defaultValue: { summary: 'light' },
698
- },
699
- hasPopupVideo: {
700
- control: 'boolean',
701
- 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',
702
- defaultValue: { summary: 'false' },
703
- },
704
- subTitle: {
705
- control: 'text',
706
- description: 'Set the sub title',
707
- defaultValue: {
708
- summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
709
- },
710
- },
711
- styles: {
712
- control: 'text',
713
- description: '(optional) Injected CSS styles',
714
- defaultValue: { summary: 'undefined' },
715
- },
716
- slotContent: {
717
- name: 'Default Slot',
718
- description: 'Text Content between the <ptc-link> tags.',
719
- control: 'text',
720
- table: {
721
- category: 'Default Slot',
722
- type: {
723
- summary: 'html',
724
- },
725
- },
726
- },
727
368
  };