@ptcwebops/ptcw-design 6.4.3 → 6.4.4-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 (353) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +5 -2
  4. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  5. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
  6. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  7. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  8. package/dist/cjs/homepage-toggled-content.cjs.entry.js +4 -2
  9. package/dist/cjs/icon-asset.cjs.entry.js +1 -1
  10. package/dist/cjs/innovator-toggle-container.cjs.entry.js +40 -4
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/modal-form-example.cjs.entry.js +109 -0
  13. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  14. package/dist/cjs/my-component.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
  17. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-background-video.cjs.entry.js +92 -28
  19. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-button_5.cjs.entry.js +597 -0
  21. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -1
  22. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -4
  23. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  25. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  27. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  30. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +724 -6
  31. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +0 -13
  32. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-icon-card.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-img.cjs.entry.js +87 -7
  36. package/dist/cjs/ptc-jumbotron.cjs.entry.js +11 -5
  37. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-media-card.cjs.entry.js +74 -6
  39. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
  40. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
  43. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +27 -11
  44. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  45. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-skeleton.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  53. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -9
  56. package/dist/cjs/ptcw-design.cjs.js +1 -1
  57. package/dist/cjs/{utils-b63aef52.js → utils-0ff09a53.js} +13 -0
  58. package/dist/collection/collection-manifest.json +1 -2
  59. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
  60. package/dist/collection/components/icon-asset/icon-asset.css +0 -8
  61. package/dist/collection/components/icon-asset/icon-asset.js +2 -2
  62. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
  63. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +24 -0
  64. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +39 -3
  65. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
  66. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +5 -4
  67. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  68. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +114 -0
  69. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
  70. package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
  71. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -1
  72. package/dist/collection/components/ptc-background-video/ptc-background-video.css +21 -0
  73. package/dist/collection/components/ptc-background-video/ptc-background-video.js +103 -43
  74. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -0
  75. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -1
  76. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +24 -0
  77. package/dist/collection/components/ptc-date/ptc-date.js +2 -2
  78. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -0
  79. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -0
  80. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +2 -18
  81. package/dist/collection/components/ptc-img/ptc-img.css +76 -0
  82. package/dist/collection/components/ptc-img/ptc-img.js +132 -7
  83. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +24 -0
  84. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
  85. package/dist/collection/components/ptc-media-card/ptc-media-card.js +78 -7
  86. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  87. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  88. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
  89. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  90. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  91. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +24 -0
  92. package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
  93. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  94. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +14 -0
  95. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
  96. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  97. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
  98. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +26 -10
  99. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  100. package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -0
  101. package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -0
  102. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -0
  103. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -0
  104. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -0
  105. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  106. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +6 -0
  107. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +19 -0
  108. package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
  109. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -0
  110. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -0
  111. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +27 -3
  112. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
  113. package/dist/collection/stories/Announcement.stories.js +7 -0
  114. package/dist/collection/stories/BackgroundImage.stories.js +7 -0
  115. package/dist/collection/stories/Breadcrumb.stories.js +37 -44
  116. package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
  117. package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
  118. package/dist/collection/stories/Button.stories.js +204 -0
  119. package/dist/collection/stories/CardWrapper.stories.js +32 -0
  120. package/dist/collection/stories/Checkbox.stories.js +21 -0
  121. package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
  122. package/dist/collection/stories/CloseIcon.stories.js +10 -0
  123. package/dist/collection/stories/CollapseList.stories.js +14 -0
  124. package/dist/collection/stories/Countdown.stories.js +6 -67
  125. package/dist/collection/stories/DataLookup.stories.js +21 -0
  126. package/dist/collection/stories/Date.stories.js +42 -26
  127. package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
  128. package/dist/collection/stories/FormCheckbox.stories.js +3 -3
  129. package/dist/collection/stories/FormRadioButton.stories.js +3 -3
  130. package/dist/collection/stories/Hero.stories.js +35 -0
  131. package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
  132. package/dist/collection/stories/Icon.stories.js +30 -6
  133. package/dist/collection/stories/Jumbotron.stories.js +36 -0
  134. package/dist/collection/stories/Link.stories.js +3 -3
  135. package/dist/collection/stories/ListItem.stories.js +7 -1
  136. package/dist/collection/stories/MinimizedFooter.stories.js +18 -0
  137. package/dist/collection/stories/MinimizedHeader.stories.js +37 -0
  138. package/dist/collection/stories/MobileSelect.stories.js +1 -1
  139. package/dist/collection/stories/MultiSelect.stories.js +10 -0
  140. package/dist/collection/stories/Paragraph.stories.js +104 -0
  141. package/dist/collection/stories/ReadMore.stories.js +100 -0
  142. package/dist/collection/stories/ReadmoreV2.stories.js +37 -0
  143. package/dist/collection/stories/ScrollButton.stories.js +14 -0
  144. package/dist/collection/stories/SearchField.stories.js +21 -0
  145. package/dist/collection/stories/Select.stories.js +21 -33
  146. package/dist/collection/stories/SocialShare.stories.js +83 -0
  147. package/dist/collection/stories/Span.stories.js +10 -4
  148. package/dist/collection/stories/SvgBtn.stories.js +36 -0
  149. package/dist/collection/stories/SvgButton.stories.js +1 -1
  150. package/dist/collection/stories/TextCopyWithBackground.stories.js +100 -0
  151. package/dist/collection/stories/Textfield.stories.js +14 -0
  152. package/dist/collection/stories/TheaterVideo.stories.js +21 -0
  153. package/dist/collection/stories/Title.stories.js +127 -0
  154. package/dist/collection/stories/Tooltip.stories.js +112 -0
  155. package/dist/collection/stories/VideoEmbed.stories.js +10 -0
  156. package/dist/collection/stories/backToTop.stories.js +10 -0
  157. package/dist/collection/stories/backgroundVideo.stories.js +115 -0
  158. package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
  159. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  160. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  161. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  162. package/dist/collection/stories/ptcLink2.stories.js +142 -0
  163. package/dist/collection/utils/utils.js +11 -0
  164. package/dist/custom-elements/index.d.ts +6 -12
  165. package/dist/custom-elements/index.js +8043 -7952
  166. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  167. package/dist/esm/blog-detail-layout.entry.js +1 -1
  168. package/dist/esm/blogs-search-section.entry.js +5 -2
  169. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  170. package/dist/esm/dynamic-box-bundle.entry.js +3 -1
  171. package/dist/esm/featured-list.entry.js +1 -1
  172. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  173. package/dist/esm/homepage-toggled-content.entry.js +4 -2
  174. package/dist/esm/icon-asset.entry.js +1 -1
  175. package/dist/esm/innovator-toggle-container.entry.js +40 -4
  176. package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
  177. package/dist/esm/loader.js +1 -1
  178. package/dist/esm/modal-form-example.entry.js +105 -0
  179. package/dist/esm/most-popular-news.entry.js +1 -1
  180. package/dist/esm/my-component.entry.js +1 -1
  181. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  182. package/dist/esm/ptc-announcement.entry.js +2 -1
  183. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  184. package/dist/esm/ptc-background-video.entry.js +92 -28
  185. package/dist/esm/ptc-bio-card.entry.js +1 -1
  186. package/dist/esm/ptc-button_5.entry.js +589 -0
  187. package/dist/esm/ptc-card-bottom_2.entry.js +3 -1
  188. package/dist/esm/ptc-card_2.entry.js +5 -4
  189. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  190. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  191. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  192. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  193. package/dist/esm/ptc-date.entry.js +1 -1
  194. package/dist/esm/ptc-featured-list.entry.js +1 -1
  195. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  196. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +723 -7
  197. package/dist/esm/ptc-form-radio-button.entry.js +0 -13
  198. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  199. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  200. package/dist/esm/ptc-icon-card.entry.js +1 -1
  201. package/dist/esm/ptc-img.entry.js +88 -8
  202. package/dist/esm/ptc-jumbotron.entry.js +11 -5
  203. package/dist/esm/ptc-link.entry.js +1 -1
  204. package/dist/esm/ptc-media-card.entry.js +74 -6
  205. package/dist/esm/ptc-modal-quiz.entry.js +4 -1
  206. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  207. package/dist/esm/ptc-preloader.entry.js +1 -1
  208. package/dist/esm/ptc-previous-url.entry.js +11 -2
  209. package/dist/esm/ptc-pricing-packaging-table.entry.js +27 -11
  210. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  211. package/dist/esm/ptc-product-card.entry.js +1 -1
  212. package/dist/esm/ptc-product-category.entry.js +1 -1
  213. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  214. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  215. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  216. package/dist/esm/ptc-skeleton.entry.js +1 -1
  217. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  218. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  219. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  220. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  221. package/dist/esm/ptc-white-paper.entry.js +19 -9
  222. package/dist/esm/ptcw-design.js +1 -1
  223. package/dist/esm/{utils-2f12c081.js → utils-a64ba942.js} +12 -1
  224. package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
  225. package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-01497d7a.entry.js} +1 -1
  226. package/dist/ptcw-design/p-043be054.entry.js +1 -0
  227. package/dist/ptcw-design/{p-257267e3.entry.js → p-0df868d2.entry.js} +1 -1
  228. package/dist/ptcw-design/p-1519b36f.entry.js +1 -0
  229. package/dist/ptcw-design/{p-fe8392c4.entry.js → p-1c52250d.entry.js} +1 -1
  230. package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
  231. package/dist/ptcw-design/p-22cf00e7.js +1 -0
  232. package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
  233. package/dist/ptcw-design/p-2b89cc16.entry.js +1 -0
  234. package/dist/ptcw-design/{p-d0fb9bfb.entry.js → p-2f21b69b.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-4b41fe4e.entry.js → p-312c41b8.entry.js} +1 -1
  236. package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
  237. package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
  238. package/dist/ptcw-design/{p-a3868e6a.entry.js → p-3a40c41f.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-456c5cbb.entry.js} +1 -1
  240. package/dist/ptcw-design/p-4c852c9c.entry.js +1 -0
  241. package/dist/ptcw-design/p-50308f02.entry.js +1 -0
  242. package/dist/ptcw-design/{p-c3022c48.entry.js → p-54b589a6.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-9b0df204.entry.js → p-5877f093.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-78370e3d.entry.js → p-5a8e7557.entry.js} +1 -1
  245. package/dist/ptcw-design/p-5c81c755.entry.js +1 -0
  246. package/dist/ptcw-design/{p-901c31b3.entry.js → p-5cf5b9f8.entry.js} +1 -1
  247. package/dist/ptcw-design/p-672a349f.js +336 -0
  248. package/dist/ptcw-design/p-684ef1e5.entry.js +1 -0
  249. package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-7235425a.entry.js} +1 -1
  250. package/dist/ptcw-design/p-74097f89.entry.js +1 -0
  251. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  252. package/dist/ptcw-design/{p-f7c47857.entry.js → p-81bcde85.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-a5fc048f.entry.js → p-82f766d2.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-37f92bb4.entry.js → p-884c335c.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-76dab076.entry.js → p-8aca7181.entry.js} +1 -1
  256. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  257. package/dist/ptcw-design/{p-52e17d34.entry.js → p-92ad78c5.entry.js} +1 -1
  258. package/dist/ptcw-design/p-938db2fd.entry.js +68 -0
  259. package/dist/ptcw-design/p-af831c13.entry.js +1 -0
  260. package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
  261. package/dist/ptcw-design/{p-abadbe5b.entry.js → p-bd9d995b.entry.js} +1 -1
  262. package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
  263. package/dist/ptcw-design/{p-8c121480.entry.js → p-c160bda4.entry.js} +1 -1
  264. package/dist/ptcw-design/p-c555a45c.entry.js +1 -0
  265. package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
  266. package/dist/ptcw-design/{p-db0fc94d.entry.js → p-d3ac3758.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-23cb5b5b.entry.js → p-db1dcce0.entry.js} +1 -1
  268. package/dist/ptcw-design/p-dc85c302.entry.js +1 -0
  269. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  270. package/dist/ptcw-design/p-dec9c2a0.entry.js +1 -0
  271. package/dist/ptcw-design/p-e196f008.entry.js +1 -0
  272. package/dist/ptcw-design/{p-54f5a5be.entry.js → p-e23bc4a1.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-81e5fa38.entry.js → p-e784a338.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
  275. package/dist/ptcw-design/{p-9f01419b.entry.js → p-f2675bb0.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-5dec76bd.entry.js → p-f57f32ee.entry.js} +1 -1
  277. package/dist/ptcw-design/ptcw-design.css +4 -3
  278. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  279. package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
  280. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +3 -0
  281. package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
  282. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  283. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +31 -47
  284. package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +0 -2
  285. package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
  286. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
  287. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +8 -2
  288. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  289. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +1 -1
  290. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  291. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  292. package/dist/types/components.d.ts +139 -130
  293. package/dist/types/utils/utils.d.ts +2 -0
  294. package/package.json +1 -1
  295. package/readme.md +5 -1
  296. package/dist/cjs/buying-option-card.cjs.entry.js +0 -184
  297. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +0 -140
  298. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  299. package/dist/cjs/ptc-button.cjs.entry.js +0 -117
  300. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  301. package/dist/cjs/ptc-para.cjs.entry.js +0 -139
  302. package/dist/cjs/ptc-picture.cjs.entry.js +0 -168
  303. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  304. package/dist/cjs/ptc-title.cjs.entry.js +0 -161
  305. package/dist/collection/components/buying-option-card/buying-option-card.css +0 -124
  306. package/dist/collection/components/buying-option-card/buying-option-card.js +0 -227
  307. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +0 -1148
  308. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +0 -135
  309. package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +0 -264
  310. package/dist/esm/buying-option-card.entry.js +0 -180
  311. package/dist/esm/buying-option-cards-slider.entry.js +0 -136
  312. package/dist/esm/component-9beac35b.js +0 -1802
  313. package/dist/esm/ptc-button.entry.js +0 -113
  314. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  315. package/dist/esm/ptc-para.entry.js +0 -135
  316. package/dist/esm/ptc-picture.entry.js +0 -164
  317. package/dist/esm/ptc-spacer.entry.js +0 -34
  318. package/dist/esm/ptc-title.entry.js +0 -157
  319. package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
  320. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  321. package/dist/ptcw-design/p-0a7cc9e4.entry.js +0 -1
  322. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  323. package/dist/ptcw-design/p-19a407ff.entry.js +0 -68
  324. package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
  325. package/dist/ptcw-design/p-214d9da6.entry.js +0 -1
  326. package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
  327. package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
  328. package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
  329. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  330. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  331. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  332. package/dist/ptcw-design/p-56a73429.entry.js +0 -1
  333. package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
  334. package/dist/ptcw-design/p-64026649.entry.js +0 -1
  335. package/dist/ptcw-design/p-80122e26.js +0 -1
  336. package/dist/ptcw-design/p-8cea8943.entry.js +0 -1
  337. package/dist/ptcw-design/p-9493dfa0.entry.js +0 -1
  338. package/dist/ptcw-design/p-96163196.entry.js +0 -1
  339. package/dist/ptcw-design/p-9681188f.entry.js +0 -1
  340. package/dist/ptcw-design/p-98426799.js +0 -203
  341. package/dist/ptcw-design/p-98844b50.js +0 -134
  342. package/dist/ptcw-design/p-a7ac0ecb.entry.js +0 -1
  343. package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
  344. package/dist/ptcw-design/p-abca6130.entry.js +0 -1
  345. package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
  346. package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
  347. package/dist/ptcw-design/p-c6431ebc.entry.js +0 -1
  348. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  349. package/dist/ptcw-design/p-d51438de.entry.js +0 -1
  350. package/dist/ptcw-design/p-d875f96d.entry.js +0 -1
  351. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  352. package/dist/types/components/buying-option-card/buying-option-card.d.ts +0 -44
  353. package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +0 -10
@@ -0,0 +1,21 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'New/ptc-search-field',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ styles: {
8
+ description: ' (optional) Injected CSS styles ',
9
+ defaultValue: { summary: '' },
10
+ control: 'text'
11
+ }
12
+ }
13
+ };
14
+ const Template = (args) => {
15
+ return html`<ptc-search-field
16
+ styles=${args.styles}
17
+ >
18
+ </ptc-search-field>`;
19
+ };
20
+ export const Example = Template.bind({});
21
+ Example.args = { styles: '' };
@@ -1,39 +1,27 @@
1
- import { html } from "lit";
2
- import { unsafeHTML } from "lit/directives/unsafe-html.js";
1
+ import { html } from 'lit';
3
2
 
4
3
  export default {
5
- title: "Atoms/ptc-select",
6
- tags: ["autodocs"],
7
- argTypes: {
8
- ptcDataEloquaName: {
9
- description: " Eloqua Data. Please open the editor to see the changes.",
10
- defaultValue: { summary: "" },
11
- control: "text",
12
- },
13
- },
4
+ title: 'New/ptc-select',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ ptcDataEloquaName: {
8
+ description: ' Eloqua Data',
9
+ defaultValue: { summary: '' },
10
+ control: 'text'
11
+ },
12
+ default: {
13
+ description: 'Default slot content',
14
+ control: 'text',
15
+ table: { category: 'slots' }
16
+ }
17
+ }
14
18
  };
15
19
  const Template = (args) => {
16
- return html`<ptc-select
17
- field-id="contact-country"
18
- label="Country*"
19
- field-name="country"
20
- default-value="USA"
21
- ptcDataEloquaName=${args.ptcDataEloquaName}
22
- >
23
- <ul class="mdc-list">
24
- <li class="mdc-list-item" data-value="">
25
- <span class="mdc-list-item__ripple"></span>
26
- </li>
27
- <li class="mdc-list-item" data-value="USA">
28
- <span class="mdc-list-item__ripple"></span>
29
- <span class="mdc-list-item__text"> USA </span>
30
- </li>
31
- <li class="mdc-list-item" data-value="Canada">
32
- <span class="mdc-list-item__ripple"></span>
33
- <span class="mdc-list-item__text"> Canada </span>
34
- </li>
35
- </ul>
36
- </ptc-select>`;
20
+ return html`<ptc-select
21
+ ptcDataEloquaName=${args.ptcDataEloquaName}
22
+ >
23
+ ${args.default}
24
+ </ptc-select>`;
37
25
  };
38
26
  export const Example = Template.bind({});
39
- Example.args = { ptcDataEloquaName: "C_Country" };
27
+ Example.args = { ptcDataEloquaName: '', default: 'Lorem ipsum text' };
@@ -0,0 +1,83 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'New/ptc-social-share',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ source: {
8
+ description: ' Optional - source for linkedin',
9
+ defaultValue: { summary: '' },
10
+ control: 'text'
11
+ },
12
+ recipient: {
13
+ description: ' Email recipient. If you want to use mail share, you need to use this property',
14
+ defaultValue: { summary: '' },
15
+ control: 'text'
16
+ },
17
+ iconColor: {
18
+ description: ' Icon asset color',
19
+ defaultValue: { summary: 'white' },
20
+ control: 'select',
21
+ options: [
22
+ 'black',
23
+ 'white',
24
+ 'ptc-green',
25
+ 'gray',
26
+ 'primary-gray',
27
+ 'inherit'
28
+ ]
29
+ },
30
+ iconHoverColor: {
31
+ description: ' Icon asset hover color',
32
+ defaultValue: { summary: 'gray' },
33
+ control: 'select',
34
+ options: [
35
+ 'black',
36
+ 'white',
37
+ 'ptc-green',
38
+ 'gray',
39
+ 'primary-gray',
40
+ 'inherit'
41
+ ]
42
+ },
43
+ iconSize: {
44
+ description: ' is hover or not / @State() isHover: boolean = false; / Icon Size',
45
+ defaultValue: { summary: 'large' },
46
+ control: 'select',
47
+ options: [
48
+ 'small',
49
+ 'medium',
50
+ 'large',
51
+ 'x-large',
52
+ 'xx-large',
53
+ 'xxx-large',
54
+ 'xxxx-large'
55
+ ]
56
+ },
57
+ darkFocusState: {
58
+ description: ' darkFocusState for dark background',
59
+ defaultValue: { summary: 'false' },
60
+ control: 'boolean'
61
+ }
62
+ }
63
+ };
64
+ const Template = (args) => {
65
+ return html`<ptc-social-share
66
+ source=${args.source}
67
+ recipient=${args.recipient}
68
+ iconColor=${args.iconColor}
69
+ iconHoverColor=${args.iconHoverColor}
70
+ iconSize=${args.iconSize}
71
+ darkFocusState=${args.darkFocusState}
72
+ >
73
+ </ptc-social-share>`;
74
+ };
75
+ export const Example = Template.bind({});
76
+ Example.args = {
77
+ source: '',
78
+ recipient: '',
79
+ iconColor: 'white',
80
+ iconHoverColor: 'gray',
81
+ iconSize: 'large',
82
+ darkFocusState: 'false'
83
+ };
@@ -5,7 +5,7 @@ export default {
5
5
  tags: [ 'autodocs' ],
6
6
  argTypes: {
7
7
  display: {
8
- description: "Display, please open the code editor to see the changes",
8
+ description: "Display",
9
9
  defaultValue: { summary: 'inline' },
10
10
  control: 'select',
11
11
  options: [ 'block', 'inline-block', 'inline' ]
@@ -21,6 +21,11 @@ export default {
21
21
  'w-9'
22
22
  ]
23
23
  },
24
+ styles: {
25
+ description: ' Injected Styles',
26
+ defaultValue: { summary: '' },
27
+ control: 'text'
28
+ },
24
29
  default: {
25
30
  description: 'Default slot content',
26
31
  control: 'text',
@@ -30,9 +35,9 @@ export default {
30
35
  };
31
36
  const Template = (args) => {
32
37
  return html`<ptc-span
33
- .key=${args.fontWeight}
34
- display= "${args.display}"
35
- font-weight= "${args.fontWeight}"
38
+ display=${args.display}
39
+ fontWeight=${args.fontWeight}
40
+ styles=${args.styles}
36
41
  >
37
42
  ${args.default}
38
43
  </ptc-span>`;
@@ -41,5 +46,6 @@ export const Example = Template.bind({});
41
46
  Example.args = {
42
47
  display: 'inline',
43
48
  fontWeight: 'w-4',
49
+ styles: '',
44
50
  default: 'Lorem ipsum text'
45
51
  };
@@ -0,0 +1,36 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'New/ptc-svg-btn',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ svgName: {
8
+ description: ' Options: "close", "slider-left", "slider-right", "back-arrow"',
9
+ defaultValue: { summary: 'close' },
10
+ control: 'text'
11
+ },
12
+ display: {
13
+ description: ' Display',
14
+ defaultValue: { summary: 'block' },
15
+ control: 'select',
16
+ options: [ 'block', 'inline', 'inline-block', 'flex' ]
17
+ },
18
+ zIndex: {
19
+ description: ' Z-Index',
20
+ defaultValue: { summary: '' },
21
+ control: 'text'
22
+ },
23
+ styles: { description: ' Injected Styles', defaultValue: { summary: '' } }
24
+ }
25
+ };
26
+ const Template = (args) => {
27
+ return html`<ptc-svg-btn
28
+ svgName=${args.svgName}
29
+ display=${args.display}
30
+ zIndex=${args.zIndex}
31
+ styles=${args.styles}
32
+ >
33
+ </ptc-svg-btn>`;
34
+ };
35
+ export const Example = Template.bind({});
36
+ Example.args = { svgName: 'close', display: 'block', zIndex: '', styles: '' };
@@ -8,7 +8,7 @@ export default {
8
8
  display: {
9
9
  control: { type: 'select' },
10
10
  options: ["block", "flex", "inline", "inline-block"],
11
- description: 'Display, please open the editor to see the difference',
11
+ description: 'Display',
12
12
  defaultValue: { summary: "block" },
13
13
  },
14
14
  svgName: {
@@ -0,0 +1,100 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'New/ptc-text-copy-with-background',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ type: {
8
+ description: ' Type Specify Type, default is text-copy-with-background',
9
+ defaultValue: { summary: 'text-copy-with-background' },
10
+ control: 'select',
11
+ options: [
12
+ 'text-copy-with-background',
13
+ 'hero-footer-cta',
14
+ 'tab-cta-with-background',
15
+ 'case-studies'
16
+ ]
17
+ },
18
+ backgroundImage: {
19
+ description: ' Background image',
20
+ defaultValue: { summary: '' },
21
+ control: 'text'
22
+ },
23
+ ImageAltText: {
24
+ description: ' (optional) Image alt text',
25
+ defaultValue: { summary: '' },
26
+ control: 'text'
27
+ },
28
+ topSlitBackgroundColor: {
29
+ description: ' (optional) topSlitBackgroundColor: It will be color value which should match the background of the body. Entering in "auto" will grab the background color of the body on page load.',
30
+ defaultValue: { summary: '' },
31
+ control: 'text'
32
+ },
33
+ slitPosition: {
34
+ description: ' (optional) topSlitPosition: It will decide the position of .',
35
+ defaultValue: { summary: 'top-right' },
36
+ control: 'select',
37
+ options: [ 'top-left', 'top-right', 'bottom-left', 'bottom-right' ]
38
+ },
39
+ isBackgroundBlur: {
40
+ description: ' (optional) isBackgroundBlur: If true,it will add background blur image effect',
41
+ defaultValue: { summary: 'false' },
42
+ control: 'boolean'
43
+ },
44
+ overlay: {
45
+ description: ' (optional) overlay: If true,it will add black overlay with 0.55 opacity',
46
+ defaultValue: { summary: 'true' },
47
+ control: 'boolean'
48
+ },
49
+ disableLightLinks: {
50
+ description: ' (optional) disableLightLinks: If true, it will not add class for links to be lighter for ADA compliance',
51
+ defaultValue: { summary: 'false' },
52
+ control: 'boolean'
53
+ },
54
+ styles: {
55
+ description: ' (optional) Injected CSS Styles',
56
+ defaultValue: { summary: '' },
57
+ control: 'text'
58
+ },
59
+ default: {
60
+ description: 'Default slot content',
61
+ control: 'text',
62
+ table: { category: 'slots' }
63
+ },
64
+ 'card-content': {
65
+ description: 'Slot: card-content',
66
+ control: 'text',
67
+ table: { category: 'slots' }
68
+ }
69
+ }
70
+ };
71
+ const Template = (args) => {
72
+ return html`<ptc-text-copy-with-background
73
+ type=${args.type}
74
+ backgroundImage=${args.backgroundImage}
75
+ ImageAltText=${args.ImageAltText}
76
+ topSlitBackgroundColor=${args.topSlitBackgroundColor}
77
+ slitPosition=${args.slitPosition}
78
+ isBackgroundBlur=${args.isBackgroundBlur}
79
+ overlay=${args.overlay}
80
+ disableLightLinks=${args.disableLightLinks}
81
+ styles=${args.styles}
82
+ >
83
+ ${args.default}
84
+ <span slot="card-content">${args.card-content}</span>
85
+ </ptc-text-copy-with-background>`;
86
+ };
87
+ export const Example = Template.bind({});
88
+ Example.args = {
89
+ type: 'text-copy-with-background',
90
+ backgroundImage: '',
91
+ ImageAltText: '',
92
+ topSlitBackgroundColor: '',
93
+ slitPosition: 'top-right',
94
+ isBackgroundBlur: 'false',
95
+ overlay: 'true',
96
+ disableLightLinks: 'false',
97
+ styles: '',
98
+ default: 'Lorem ipsum text',
99
+ 'card-content': 'Lorem for card-content'
100
+ };
@@ -14,6 +14,11 @@ export default {
14
14
  description: 'Alert text content - below alert text (grey)',
15
15
  defaultValue: { summary: '' }
16
16
  },
17
+ disabled: {
18
+ control: 'boolean',
19
+ description: 'Disable the field?',
20
+ defaultValue: { summary: 'false' }
21
+ },
17
22
  fieldId: {
18
23
  control: 'text',
19
24
  description: 'ID',
@@ -66,6 +71,11 @@ export default {
66
71
  description: 'Is this a mandatory field?',
67
72
  defaultValue: { summary: 'true' }
68
73
  },
74
+ styles: {
75
+ control: 'text',
76
+ description: 'Inject styles for customization',
77
+ defaultValue: { summary: '' }
78
+ },
69
79
  type: {
70
80
  control: 'text',
71
81
  description: 'text, button, email, file and etc. This value triggers different validation',
@@ -77,6 +87,7 @@ export default {
77
87
  const Template = args => { return html `<ptc-textfield
78
88
  alert-text=${args.alertText}
79
89
  alert-text-content=${args.alertTextContent}
90
+ disabled=${args.disabled}
80
91
  field-id=${args.fieldId}
81
92
  field-name=${args.fieldName}
82
93
  helpertext=${args.helpertext}
@@ -88,6 +99,7 @@ const Template = args => { return html `<ptc-textfield
88
99
  ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
89
100
  ptc-max-length=${args.ptcMaxLength}
90
101
  required=${args.required}
102
+ styles=${args.styles}
91
103
  type=${args.type}
92
104
  ></ptc-textfield>`;}
93
105
 
@@ -96,6 +108,7 @@ export const Example = Template.bind({});
96
108
  Example.args = {
97
109
  alertText: 'Alert text',
98
110
  alertTextContent: 'Alert text content',
111
+ disabled: 'false',
99
112
  fieldId: 'ID',
100
113
  fieldName: 'company field',
101
114
  helpertext: 'Helper text',
@@ -107,5 +120,6 @@ Example.args = {
107
120
  ptcDataTargetEloquaName: '',
108
121
  ptcMaxLength: '',
109
122
  required: 'true',
123
+ styles: '',
110
124
  type: 'text'
111
125
  }
@@ -0,0 +1,21 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'New/ptc-theater-video',
5
+ tags: [ 'autodocs' ],
6
+ argTypes: {
7
+ default: {
8
+ description: 'Default slot content',
9
+ control: 'text',
10
+ table: { category: 'slots' }
11
+ }
12
+ }
13
+ };
14
+ const Template = (args) => {
15
+ return html`<ptc-theater-video
16
+ >
17
+ ${args.default}
18
+ </ptc-theater-video>`;
19
+ };
20
+ export const Example = Template.bind({});
21
+ Example.args = { default: 'Lorem ipsum text' };
@@ -0,0 +1,127 @@
1
+ import { html } from 'lit';
2
+ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
3
+
4
+ export default {
5
+ title: 'Atoms/ptc-title',
6
+ tags: ['autodocs'],
7
+
8
+ argTypes: {
9
+ type: {
10
+ control: { type: 'inline-radio' },
11
+ options: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
12
+ description: 'H tag',
13
+ defaultValue: { summary: 'h2' },
14
+ },
15
+ textAlign: {
16
+ control: { type: 'inline-radio' },
17
+ options: ['left', 'center', 'right', 'inherit'],
18
+ description: 'Title alignment',
19
+ },
20
+ titleDisplay: {
21
+ control: { type: 'select' },
22
+ options: ['block', 'inline-block'],
23
+ description: 'Title heading display',
24
+ defaultValue: { summary: 'inline-block' },
25
+ },
26
+ titleSize: {
27
+ control: { type: 'select' },
28
+ options: [
29
+ 'xx-small',
30
+ 'x-small',
31
+ 'small',
32
+ 'medium',
33
+ 'large',
34
+ 'x-large',
35
+ 'xx-large',
36
+ 'xxx-large',
37
+ 'xxxx-large',
38
+ 'xxxx-large-allbp',
39
+ 'xx-large-allbp',
40
+ 'xxxx-large-desktop',
41
+ 'xxxx-large-store',
42
+ ],
43
+ description: 'Title size',
44
+ },
45
+ titleColor: {
46
+ control: { type: 'select' },
47
+ options: ['black', 'white', 'gray', 'gray-darker', 'gray-1'],
48
+ description: 'Title color',
49
+ defaultValue: { summary: 'gray' },
50
+ },
51
+ upperline: {
52
+ control: { type: 'inline-radio' },
53
+ options: ['dotted', 'solid', 'no-upperline'],
54
+ description: 'The style of the decorative upperline',
55
+ defaultValue: { summary: 'dotted' },
56
+ },
57
+ titleShadow: {
58
+ control: { type: 'inline-radio' },
59
+ options: ['blue', 'red', 'green', 'orange', 'slate-grey'],
60
+ description: 'Shadow Color',
61
+ },
62
+ titleHeight: {
63
+ control: { type: 'select' },
64
+ options: ['densest', 'denser', 'dense', 'normal', 'loose', 'looser', 'paragraph'],
65
+ description: 'Title Height',
66
+ defaultValue: { summary: 'paragraph' },
67
+ },
68
+ titleWeight: {
69
+ control: { type: 'select' },
70
+ options: ['w-3', 'w-4', 'w-5', 'w-6', 'w-7', 'w-8', 'w-9'],
71
+ description: 'Title Weight',
72
+ },
73
+ titleMargin: {
74
+ control: {type: 'select'},
75
+ options: ['margin-flush' ,'margin-top-3', 'margin-top-4', 'margin-top-5', 'margin-top-6', 'margin-bottom-3', 'margin-bottom-4', 'margin-bottom-5', 'margin-bottom-6', 'margin-3', 'margin-4', 'margin-5', 'margin-6'],
76
+ description: 'title margins'
77
+ },
78
+ isPlmHub: {
79
+ description: "is it a title for PLM Hub page?",
80
+ defaultValue: {summary: false}
81
+ },
82
+ slotContent: {
83
+ name: 'Default Slot',
84
+ description: 'Text Content between the <ptc-title> tags.',
85
+ control: 'text',
86
+ table: {
87
+ category: 'Default Slot',
88
+ type: {
89
+ summary: 'html',
90
+ },
91
+ }
92
+ }
93
+ },
94
+ };
95
+
96
+ const Template = args => {return html`<ptc-title
97
+ type="${args.type}"
98
+ text-align="${args.textAlign}"
99
+ title-size="${args.titleSize}"
100
+ title-color="${args.titleColor}"
101
+ upperline="${args.upperline}"
102
+ title-display="${args.titleDisplay}"
103
+ title-shadow="${args.titleShadow}"
104
+ title-height="${args.titleHeight}"
105
+ title-margin="${args.titleMargin}"
106
+ title-weight="${args.titleWeight}"
107
+ is-plm-hub="${args.isPlmHub}"
108
+ >
109
+ ${unsafeHTML(args.slotContent)}
110
+ </ptc-title>`;
111
+ };
112
+
113
+ export const Example = Template.bind({});
114
+ Example.args = {
115
+ type: 'h2',
116
+ titleDisplay: 'inline-block',
117
+ titleSize: 'x-large',
118
+ textAlign: 'center',
119
+ titleHeight: 'densest',
120
+ titleMargin: 'margin-3',
121
+ titleColor: 'gray',
122
+ upperline: 'no-upperline',
123
+ titleWeight: 'w-8',
124
+ titleShadow: '',
125
+ isPlmHub: false,
126
+ slotContent:'Lorem ipsum',
127
+ };
@@ -0,0 +1,112 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Atoms/ptc-tooltip',
5
+ tags: ['autodocs'],
6
+ argTypes: {
7
+ textLines: {
8
+ name: 'Maximum lines',
9
+ description: "Set maximum length in lines of content",
10
+
11
+ },
12
+ maxLength: {
13
+ name: 'Maximum chars',
14
+ description: "Set maximum length in chars of content",
15
+ defaultValue: { summary: 45 }
16
+ },
17
+ position: {
18
+ name: 'Position',
19
+ description: "Set position of the the tooltip box",
20
+ control: { type: 'select' },
21
+ options: ['left', 'right', 'bottom', 'bottom-right', 'top'],
22
+ defaultValue: { summary: 'bottom' }
23
+ },
24
+ width: {
25
+ name: 'width',
26
+ description: "Fill-width will make the tooltip box full-width relative to its parent",
27
+ control: { type: 'select' },
28
+ options: ['full-width', 'default'],
29
+ defaultValue: { summary: 'default' }
30
+
31
+ },
32
+ theme: {
33
+ name: 'Theme',
34
+ description: "Set the theme",
35
+ control: { type: 'select' },
36
+ options: ['standard', 'danger'],
37
+ defaultValue: { summary: 'standard' },
38
+ },
39
+ zIndex: {
40
+ name: 'zIndex',
41
+ description: "Set the zIndex of tooltip box",
42
+ control: { type: 'select' },
43
+ options: ['z-auto', 'z-1', 'z-2', 'z-3', 'z-999'],
44
+ defaultValue: { summary: 'z-auto' },
45
+ },
46
+ hideOnMobile: {
47
+ name: 'Hide tooltip box on mobile',
48
+ description: "Set true to hide the tooltip on mobile",
49
+ control: { type: 'boolean' },
50
+ defaultValue: { summary: false },
51
+ },
52
+ textDisplay: {
53
+ name: 'Text Display css property',
54
+ description: "Set textDisplay propety inline or block for tooltip text",
55
+ control: { type: 'select' },
56
+ options: ['inline', 'block'],
57
+ defaultValue: { summary: 'inline' },
58
+ },
59
+ description: {
60
+ name: 'Tooltip content',
61
+ description: "Set content in the follwing textarea",
62
+ defaultValue: { summary: 'This is a tooltip text placeholder' },
63
+ },
64
+
65
+ }
66
+ };
67
+
68
+ const Template = args => {
69
+ return html `<ptc-tooltip
70
+ text-display="${args.textDisplay}"
71
+ text-lines="${args.textLines}"
72
+ max-length="${args.maxLength}"
73
+ description="${args.description}"
74
+ position="${args.position}"
75
+ width="${args.width}"
76
+ zIndex="${args.zIndex}"
77
+ theme="${args.theme}"
78
+ hide-on-mobile="${args.hideOnMobile}"
79
+ ></ptc-tooltip>`
80
+ };
81
+
82
+
83
+ export const TooltipWithLinesLimit = Template.bind({});
84
+ TooltipWithLinesLimit.args = {
85
+ textLines: 2,
86
+ position: 'bottom',
87
+ width: "default",
88
+ theme: "standard",
89
+ hideOnMobile: false,
90
+ zIndex: "z-auto",
91
+ textDisplay: "inline",
92
+ description: "Nulla ut nunc id nulla aliquam feugiat. Maecenas quis dui rhoncus, mattis risus ac, tincidunt massa. Cras dictum aliquet eleifend. Etiam condimentum suscipit vulputate. In tempus ante at eros elementum volutpat. Ut aliquam mattis velit, sed malesuada lorem. Donec eu posuere nisl, eget scelerisque lectus. Donec id nibh quis lectus euismod semper eget in sem. Ut vulputate cursus libero ut pharetra. Aliquam convallis vulputate dignissim. Mauris vel elit sit amet nibh porta cursus eu id urna.",
93
+
94
+ }
95
+
96
+
97
+ export const TooltipWithCharLimit = Template.bind({});
98
+ TooltipWithCharLimit.args = {
99
+ maxLength: 45,
100
+ position: 'bottom',
101
+ width: "default",
102
+ theme: "standard",
103
+ hideOnMobile: false,
104
+ zIndex: "z-auto",
105
+ textDisplay: "inline",
106
+ description: "Nulla ut nunc id nulla aliquam feugiat. Maecenas quis dui rhoncus, mattis risus ac, tincidunt massa. Cras dictum ",
107
+
108
+ }
109
+
110
+
111
+
112
+
@@ -0,0 +1,10 @@
1
+ import { html } from 'lit';
2
+
3
+ export default { title: 'New/ptc-video-embed', tags: [ 'autodocs' ], argTypes: {} };
4
+ const Template = (args) => {
5
+ return html`<ptc-video-embed
6
+ >
7
+ </ptc-video-embed>`;
8
+ };
9
+ export const Example = Template.bind({});
10
+ Example.args = {};