@ptcwebops/ptcw-design 6.2.4 → 6.2.5-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 (406) hide show
  1. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  5. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  6. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  7. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +211 -0
  8. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  9. package/dist/cjs/ptc-footer.cjs.entry.js +66 -0
  10. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +786 -4
  11. package/dist/cjs/ptc-icon-card.cjs.entry.js +28 -0
  12. package/dist/cjs/ptc-link.cjs.entry.js +98 -0
  13. package/dist/cjs/ptc-mobile-select.cjs.entry.js +570 -0
  14. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  15. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  16. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  17. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +82 -0
  18. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  19. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +56 -0
  20. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  21. package/dist/cjs/ptcw-design.cjs.js +1 -1
  22. package/dist/collection/collection-manifest.json +1 -0
  23. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  24. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  25. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  26. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  27. package/dist/collection/components/ptc-modal/ptc-modal.js +2 -2
  28. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  29. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  30. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  31. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  32. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  33. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  34. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  35. package/dist/custom-elements/index.d.ts +6 -0
  36. package/dist/custom-elements/index.js +104 -6
  37. package/dist/esm/academic-form-test.entry.js +1 -1
  38. package/dist/esm/author-listing-example.entry.js +1 -1
  39. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  40. package/dist/esm/blog-detail-layout.entry.js +2 -2
  41. package/dist/esm/blogs-search-section.entry.js +2 -2
  42. package/dist/esm/bundle-example.entry.js +1 -1
  43. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  44. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  45. package/dist/esm/dropdown-item.entry.js +1 -1
  46. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  47. package/dist/esm/embedded-form.entry.js +1 -1
  48. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  49. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  50. package/dist/esm/featured-list.entry.js +1 -1
  51. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  52. package/dist/esm/footer-form.entry.js +1 -1
  53. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  54. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  55. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  56. package/dist/esm/icon-asset.entry.js +61 -0
  57. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  58. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  59. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  60. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  61. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  62. package/dist/esm/list-item.entry.js +1 -1
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/max-width-container.entry.js +50 -0
  65. package/dist/esm/modal-form-example.entry.js +90 -0
  66. package/dist/esm/most-popular-news.entry.js +2 -2
  67. package/dist/esm/my-component.entry.js +2 -2
  68. package/dist/esm/news-search-result.entry.js +1 -1
  69. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  70. package/dist/esm/ptc-accordion.entry.js +1 -1
  71. package/dist/esm/ptc-announcement.entry.js +1 -1
  72. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  73. package/dist/esm/ptc-background-video.entry.js +2 -2
  74. package/dist/esm/ptc-badge.entry.js +1 -1
  75. package/dist/esm/ptc-bio-card.entry.js +1 -1
  76. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  77. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  78. package/dist/esm/ptc-button.entry.js +83 -0
  79. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  80. package/dist/esm/ptc-card-content.entry.js +1 -1
  81. package/dist/esm/ptc-card_2.entry.js +1 -1
  82. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  83. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  84. package/dist/esm/ptc-checkbox.entry.js +1 -1
  85. package/dist/esm/ptc-close-icon_2.entry.js +206 -0
  86. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  87. package/dist/esm/ptc-container.entry.js +1 -1
  88. package/dist/esm/ptc-countdown.entry.js +1 -1
  89. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  90. package/dist/esm/ptc-date.entry.js +1 -1
  91. package/dist/esm/ptc-dropdown.entry.js +1 -1
  92. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  93. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  94. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  95. package/dist/esm/ptc-featured-list.entry.js +1 -1
  96. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  97. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  98. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  99. package/dist/esm/ptc-footer.entry.js +62 -0
  100. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  101. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  102. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  103. package/dist/esm/ptc-form.entry.js +1 -1
  104. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  105. package/dist/esm/ptc-hero.entry.js +1 -1
  106. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  107. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  108. package/dist/esm/ptc-icon-card.entry.js +24 -0
  109. package/dist/esm/ptc-icon-component.entry.js +1 -1
  110. package/dist/esm/ptc-icon-list.entry.js +1 -1
  111. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  112. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  113. package/dist/esm/ptc-img.entry.js +2 -2
  114. package/dist/esm/ptc-info-tile.entry.js +1 -1
  115. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  116. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  117. package/dist/esm/ptc-link.entry.js +94 -0
  118. package/dist/esm/ptc-list.entry.js +1 -1
  119. package/dist/esm/ptc-media-card.entry.js +2 -2
  120. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  121. package/dist/esm/ptc-mobile-select.entry.js +566 -0
  122. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  123. package/dist/esm/ptc-nav-card.entry.js +1 -1
  124. package/dist/esm/ptc-nav-link.entry.js +1 -1
  125. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  126. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  127. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  128. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  129. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  130. package/dist/esm/ptc-news.entry.js +1 -1
  131. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  132. package/dist/esm/ptc-office-locations.entry.js +1 -1
  133. package/dist/esm/ptc-overlay.entry.js +1 -1
  134. package/dist/esm/ptc-para.entry.js +123 -0
  135. package/dist/esm/ptc-picture.entry.js +159 -0
  136. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  137. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  138. package/dist/esm/ptc-previous-url.entry.js +11 -3
  139. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  141. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  142. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  143. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  144. package/dist/esm/ptc-product-card.entry.js +1 -1
  145. package/dist/esm/ptc-product-category.entry.js +1 -1
  146. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  147. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  148. package/dist/esm/ptc-product-list.entry.js +1 -1
  149. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  150. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  151. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  152. package/dist/esm/ptc-quote.entry.js +1 -1
  153. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  154. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  155. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  156. package/dist/esm/ptc-readmore.entry.js +1 -1
  157. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  158. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  159. package/dist/esm/ptc-search-field.entry.js +1 -1
  160. package/dist/esm/ptc-seo-title.entry.js +1 -1
  161. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  162. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  163. package/dist/esm/ptc-skeleton.entry.js +1 -1
  164. package/dist/esm/ptc-slit-card.entry.js +1 -1
  165. package/dist/esm/ptc-social-icons-footer.entry.js +78 -0
  166. package/dist/esm/ptc-social-icons.entry.js +1 -1
  167. package/dist/esm/ptc-spacer.entry.js +34 -0
  168. package/dist/esm/ptc-span.entry.js +1 -1
  169. package/dist/esm/ptc-square-card.entry.js +1 -1
  170. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  171. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  172. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  173. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  174. package/dist/esm/ptc-subnav.entry.js +1 -1
  175. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  176. package/dist/esm/ptc-tab-list.entry.js +1 -1
  177. package/dist/esm/ptc-tab.entry.js +1 -1
  178. package/dist/esm/ptc-tabs.entry.js +1 -1
  179. package/dist/esm/ptc-text-copy-with-background.entry.js +52 -0
  180. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  181. package/dist/esm/ptc-title.entry.js +148 -0
  182. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  183. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  184. package/dist/esm/ptc-tooltip.entry.js +1 -1
  185. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  190. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  191. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  192. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  193. package/dist/esm/ptc-video-embed.entry.js +1 -1
  194. package/dist/esm/ptc-white-paper.entry.js +1 -1
  195. package/dist/esm/ptcw-design.js +3 -3
  196. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  197. package/dist/esm/sequential-bundle.entry.js +1 -1
  198. package/dist/esm/tab-content.entry.js +1 -1
  199. package/dist/esm/tab-header.entry.js +1 -1
  200. package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
  201. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  202. package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-ef0079b0.entry.js → p-071a6109.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
  207. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  208. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  209. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  210. package/dist/ptcw-design/{p-af9bb288.entry.js → p-0d806031.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-d5fbe774.entry.js → p-0ee01112.entry.js} +1 -1
  213. package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
  214. package/dist/ptcw-design/{p-f64fadad.entry.js → p-139a02e6.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-d955c44f.entry.js → p-158f6d50.entry.js} +1 -1
  216. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  217. package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
  218. package/dist/ptcw-design/p-1d068cc2.entry.js +68 -0
  219. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-aba549b7.entry.js → p-257deac0.entry.js} +1 -1
  222. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  223. package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
  224. package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-c9518684.entry.js → p-2749c178.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-0c862dbd.entry.js → p-28be539b.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-9350450b.entry.js → p-2a70a438.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-20670bc5.entry.js → p-2ac5ed9c.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-6a79e68e.entry.js → p-34c50b3e.entry.js} +1 -1
  233. package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
  234. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  238. package/dist/ptcw-design/p-40160817.entry.js +1 -0
  239. package/dist/ptcw-design/{p-986be938.entry.js → p-40b8c884.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-b1c1de30.entry.js → p-48c33817.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-b4ba719a.entry.js → p-49e54079.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
  246. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  247. package/dist/ptcw-design/p-4ee98a3e.entry.js +1 -0
  248. package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-20d837a9.entry.js → p-50d68602.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-5588653b.entry.js → p-56a2a9dc.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-0554d900.entry.js → p-577dad08.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-f457709f.entry.js → p-5d885144.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  257. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  258. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  259. package/dist/ptcw-design/p-627103d8.entry.js +1 -0
  260. package/dist/ptcw-design/{p-fc0d9251.entry.js → p-6a3caf2b.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-c2e7fec4.entry.js → p-6c2b4fb8.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-2a255901.entry.js → p-6f5fecae.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  265. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-fe72010d.entry.js → p-72df6678.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-ffd5c822.entry.js → p-7793babb.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
  270. package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
  271. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  272. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-94c59fac.entry.js → p-7b71abaf.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-affe4655.entry.js → p-8193a2ae.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-a560e839.entry.js → p-821f0ff9.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-b5d0e4a2.entry.js → p-85c29073.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  282. package/dist/ptcw-design/p-867a808f.entry.js +1 -0
  283. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  286. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  287. package/dist/ptcw-design/{p-5ae21271.entry.js → p-90c4f08b.entry.js} +1 -1
  288. package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
  289. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  290. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  291. package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
  292. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  293. package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  297. package/dist/ptcw-design/p-9a6bd91f.entry.js +1 -0
  298. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  301. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  302. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  304. package/dist/ptcw-design/p-9e9ae28c.entry.js +1 -0
  305. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  308. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  309. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  310. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  314. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-1e44cf5e.entry.js → p-b3bbd17d.entry.js} +1 -1
  316. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  317. package/dist/ptcw-design/{p-07b1afd5.entry.js → p-b8ee8699.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-ca268a17.entry.js → p-ba8c58a7.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-1d00a43a.entry.js → p-bb28bbad.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-907727fd.entry.js → p-bb902570.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-0bc848ef.entry.js → p-bbc706df.entry.js} +1 -1
  322. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  323. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  324. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  326. package/dist/ptcw-design/p-c01ea76f.entry.js +1 -0
  327. package/dist/ptcw-design/{p-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  330. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-6bd26096.entry.js → p-cbee4653.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-e895bf99.entry.js → p-d2825140.entry.js} +1 -1
  335. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  336. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  337. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  338. package/dist/ptcw-design/{p-e1242dd4.entry.js → p-d7275289.entry.js} +1 -1
  339. package/dist/ptcw-design/p-d756db27.entry.js +1 -0
  340. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
  344. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  345. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-d871e7f7.entry.js → p-e577ad62.entry.js} +1 -1
  347. package/dist/ptcw-design/p-e89ce54f.entry.js +1 -0
  348. package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-bf076b87.entry.js → p-ea7369e9.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-d3087f34.entry.js → p-ecd86dfe.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-9b60270e.entry.js → p-eec2f3da.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  355. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-fb2e4612.entry.js → p-f8512dc9.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  358. package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
  359. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  360. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  361. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  362. package/dist/ptcw-design/{p-5b0bc600.entry.js → p-fec1acdf.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.entry.js} +1 -1
  364. package/dist/ptcw-design/ptcw-design.css +1 -1
  365. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  366. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  367. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  368. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  369. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  370. package/dist/types/components.d.ts +19 -4
  371. package/package.json +1 -1
  372. package/readme.md +1 -1
  373. package/dist/cjs/component-5b5b6a98.js +0 -1819
  374. package/dist/cjs/icon-asset_15.cjs.entry.js +0 -1714
  375. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  376. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  377. package/dist/esm/component-341e4eaa.js +0 -1802
  378. package/dist/esm/icon-asset_15.entry.js +0 -1696
  379. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  380. package/dist/esm/validation-messages-adbb6518.js +0 -124
  381. package/dist/ptcw-design/p-051ba8f9.entry.js +0 -1
  382. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  383. package/dist/ptcw-design/p-169fdc62.entry.js +0 -1
  384. package/dist/ptcw-design/p-18a5a338.js +0 -1
  385. package/dist/ptcw-design/p-19a9ada3.entry.js +0 -68
  386. package/dist/ptcw-design/p-1eb92079.entry.js +0 -1
  387. package/dist/ptcw-design/p-208ca9de.entry.js +0 -1
  388. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  389. package/dist/ptcw-design/p-2ee3a32b.entry.js +0 -1
  390. package/dist/ptcw-design/p-330e1a36.entry.js +0 -1
  391. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  392. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  393. package/dist/ptcw-design/p-3a7c5330.entry.js +0 -1
  394. package/dist/ptcw-design/p-520542e2.entry.js +0 -1
  395. package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
  396. package/dist/ptcw-design/p-70ac8aa5.entry.js +0 -1
  397. package/dist/ptcw-design/p-72681e91.entry.js +0 -1
  398. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  399. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  400. package/dist/ptcw-design/p-9ae901e2.entry.js +0 -1
  401. package/dist/ptcw-design/p-9e6fb4ba.entry.js +0 -1
  402. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  403. package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
  404. package/dist/ptcw-design/p-be533f0d.js +0 -134
  405. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  406. package/dist/ptcw-design/p-ce6d1c5f.entry.js +0 -1
@@ -0,0 +1,99 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcForm {
3
+ constructor() {
4
+ this.formData = {
5
+ email: '',
6
+ firstName: '',
7
+ lastName: '',
8
+ company: '',
9
+ country: '',
10
+ phone: '',
11
+ inquiryReason: '',
12
+ howhearselfreport: '',
13
+ policyChecked: false,
14
+ };
15
+ }
16
+ // private countryEle: HTMLPtcSelectElement;
17
+ // private inquiryreasonEle: HTMLPtcTextfieldElement;
18
+ // private howhearselfreport: HTMLPtcTextfieldElement;
19
+ componentDidLoad() {
20
+ this.formButton = this.el.querySelector('.form-submit');
21
+ this.formButton.addEventListener('click', this.handleSubmit.bind(this));
22
+ //get Email
23
+ this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
24
+ this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
25
+ this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
26
+ this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
27
+ this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
28
+ // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
29
+ // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
30
+ // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
31
+ }
32
+ handleInputChange(field, value) {
33
+ this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
34
+ }
35
+ handleSubmit(event) {
36
+ event.preventDefault();
37
+ this.formData.email = this.emailEle.inputValue;
38
+ this.formData.firstName = this.firstNameEle.inputValue;
39
+ this.formData.lastName = this.lastNameEle.inputValue;
40
+ this.formData.company = this.companyEle.inputValue;
41
+ this.formData.phone = this.phoneEle.inputValue;
42
+ // this.formData.country = this.countryEle.inputValue;
43
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
+ // console.log("get form Data: " + this.formData.email)
46
+ if (this.isValid()) {
47
+ const formSubmitEvent = new CustomEvent('formSubmit', {
48
+ detail: this.formData,
49
+ bubbles: true,
50
+ });
51
+ this.el.dispatchEvent(formSubmitEvent);
52
+ console.log('Form Submitted: ' + this.formData);
53
+ }
54
+ else {
55
+ console.log('Form validation failed');
56
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
57
+ }
58
+ }
59
+ isValid() {
60
+ const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
61
+ const invalidLength = document.querySelectorAll('.invalid-field').length;
62
+ // console.log('invalid fields length: ' + invalidLength), check the select field
63
+ return (email !== '' &&
64
+ phone !== '' &&
65
+ firstName !== '' &&
66
+ lastName !== '' &&
67
+ company !== '' &&
68
+ country !== '' &&
69
+ inquiryReason !== '' &&
70
+ howhearselfreport != '' &&
71
+ policyChecked &&
72
+ invalidLength === 0);
73
+ }
74
+ render() {
75
+ const multiSelectItems = [
76
+ { text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
77
+ { text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
78
+ { text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
79
+ ];
80
+ return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
81
+ }
82
+ static get is() { return "modal-form-example"; }
83
+ static get originalStyleUrls() {
84
+ return {
85
+ "$": ["modal-form-example.css"]
86
+ };
87
+ }
88
+ static get styleUrls() {
89
+ return {
90
+ "$": ["modal-form-example.css"]
91
+ };
92
+ }
93
+ static get states() {
94
+ return {
95
+ "formData": {}
96
+ };
97
+ }
98
+ static get elementRef() { return "el"; }
99
+ }
@@ -82,6 +82,7 @@ ptc-link, ptc-square-card,
82
82
  align-content: flex-end;
83
83
  z-index: 50020;
84
84
  transform: translateY(-100%);
85
+ position: relative;
85
86
  }
86
87
  @media only screen and (min-width: 992px) {
87
88
  .wrapper .modal-popup {
@@ -97,6 +98,9 @@ ptc-link, ptc-square-card,
97
98
  .wrapper .modal-popup.xl {
98
99
  max-width: 64.0625rem;
99
100
  }
101
+ .wrapper .modal-popup.fit-content {
102
+ max-width: fit-content;
103
+ }
100
104
  .wrapper .modal-popup.max {
101
105
  width: calc(100% - 4rem);
102
106
  max-width: 75rem;
@@ -216,8 +216,8 @@ export class PtcModal {
216
216
  "type": "string",
217
217
  "mutable": true,
218
218
  "complexType": {
219
- "original": "'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal'",
220
- "resolved": "\"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
219
+ "original": "'sm' | 'md' | 'lg' | 'xl' | 'fit-content' | 'max'| 'sm-modal'",
220
+ "resolved": "\"fit-content\" | \"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
221
221
  "references": {}
222
222
  },
223
223
  "required": false,
@@ -104,6 +104,9 @@ p.main {
104
104
  p.primary-grey {
105
105
  color: var(--color-gray-10);
106
106
  }
107
+ p.primary-green {
108
+ color: var(--color-green-06);
109
+ }
107
110
  p.gray-darker {
108
111
  color: var(--color-gray-11);
109
112
  }
@@ -185,8 +185,8 @@ export class PtcPara {
185
185
  "type": "string",
186
186
  "mutable": false,
187
187
  "complexType": {
188
- "original": "'primary-grey' | 'white' | 'gray-darker'",
189
- "resolved": "\"gray-darker\" | \"primary-grey\" | \"white\"",
188
+ "original": "'primary-grey' | 'primary-green' | 'white' | 'gray-darker'",
189
+ "resolved": "\"gray-darker\" | \"primary-green\" | \"primary-grey\" | \"white\"",
190
190
  "references": {}
191
191
  },
192
192
  "required": false,
@@ -82,4 +82,20 @@ ptc-link, ptc-square-card,
82
82
  text-decoration: underline;
83
83
  text-decoration-color: var(--color-green-07);
84
84
  outline: none;
85
+ }
86
+
87
+ .light {
88
+ display: inline-block;
89
+ background: rgba(0, 0, 0, 0.54);
90
+ border-radius: 4px;
91
+ padding: 0.5rem 0.75rem;
92
+ padding: 0.25rem 1rem 0.5rem 0.75rem;
93
+ cursor: pointer;
94
+ position: relative;
95
+ display: block;
96
+ }
97
+ .light:hover span {
98
+ text-decoration: underline;
99
+ text-decoration-color: var(--color-green-07);
100
+ outline: none;
85
101
  }
@@ -3,10 +3,18 @@ export class PtcPreviousUrl {
3
3
  constructor() {
4
4
  this.href = undefined;
5
5
  this.text = undefined;
6
+ this.theme = 'standard';
6
7
  this.styles = undefined;
7
8
  }
8
9
  render() {
9
- return (h(Host, null, this.styles && h("style", null, this.styles), h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)), h("slot", null)));
10
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, this.theme == 'light' ?
11
+ (h("a", { class: this.getCssClassMap() }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("span", { class: "back-to-videos" }, this.text))) :
12
+ [h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)]), h("slot", null)));
13
+ }
14
+ getCssClassMap() {
15
+ return {
16
+ [this.theme]: true
17
+ };
10
18
  }
11
19
  static get is() { return "ptc-previous-url"; }
12
20
  static get encapsulation() { return "shadow"; }
@@ -56,6 +64,24 @@ export class PtcPreviousUrl {
56
64
  "attribute": "text",
57
65
  "reflect": false
58
66
  },
67
+ "theme": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "'standard' | 'light'",
72
+ "resolved": "\"light\" | \"standard\"",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": ""
80
+ },
81
+ "attribute": "theme",
82
+ "reflect": false,
83
+ "defaultValue": "'standard'"
84
+ },
59
85
  "styles": {
60
86
  "type": "string",
61
87
  "mutable": false,
@@ -0,0 +1,45 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Case Tracker'
5
+
6
+ }
7
+ const CaseTracker = args => {
8
+ return html `
9
+
10
+ <ptc-spacer></ptc-spacer>
11
+ <ptc-spacer></ptc-spacer>
12
+ <ptc-spacer></ptc-spacer>
13
+ <div class="ptc-container is-grid">
14
+ <div class="is-col-12 is-col-6-md">
15
+ <ptc-title upperline="none">Case Tracker - Authorized Use Only</ptc-title>
16
+ <ptc-spacer></ptc-spacer>
17
+ <ptc-spacer></ptc-spacer>
18
+ <ptc-para>If you want to use this application on behalf of a customer use this search from to lookup the customer record. When you have found the customer hit the Next > button</ptc-para>
19
+ <ptc-textfield field-id="contact-email" label-text="Customer Name" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
20
+ <ptc-textfield field-id="contact-email" label-text="Customer Number" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
21
+ <ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Search</ptc-button>
22
+ <ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Next</ptc-button>
23
+ </div>
24
+ <div class="is-col-12 is-col-2-md">
25
+
26
+ </div>
27
+ <div class="is-col-12 is-col-3-md">
28
+ <ptc-spacer></ptc-spacer>
29
+ <ptc-spacer></ptc-spacer>
30
+ <ptc-spacer></ptc-spacer>
31
+ <ptc-spacer></ptc-spacer>
32
+ <div style="border: solid; padding: 5px;">
33
+ <ptc-title upperline="none" type="h3">search tips</ptc-title>
34
+ <ul>
35
+ <li>You can use this search form to use this application on behalf of a customer.</li>
36
+ <li>You can use this search form to use this application on behalf of a customer.</li>
37
+ </ul>
38
+ </div>
39
+ </div>
40
+
41
+
42
+ </div>
43
+ `;}
44
+
45
+ export const Preview = CaseTracker.bind();
@@ -0,0 +1,47 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Support Article'
5
+
6
+ }
7
+ const ArticlePage = args => {
8
+ return html `
9
+
10
+ <div class="ptc-container">
11
+
12
+ <ptc-title upperline="" type="h4" title-color="grey">How to run Apache, Tomcat, Windchill Directory Server </ptc-title>
13
+ <ptc-para>Modified: 23-Nov-2023 | LastSeen: 17-Jun-2024
14
+ <ptc-dropdown label="Available in:" listitems="" theme="support">
15
+ <item selected="" label="English"></item>
16
+ <item label="English"></item>
17
+ <item label="English"></item>
18
+
19
+ </ptc-dropdown>
20
+
21
+ </ptc-para>
22
+
23
+ <div style="background-color: rgb(238, 238, 238);; padding:2px">
24
+ <ptc-title type="h5" upperline="">Public</ptc-title>
25
+ <ptc-para >
26
+ Created by Steven Jin and improved by Mi Yeon Grace Jin, Amit Deshpande, Hideyuki Akiyama, Lily Liu, Arshad Imam, Luis Barbosa, Feng Xiang Cliff Tian, Swapnil Deshmukh, Kellan Chen, Teresa Man, Chao Max Wang, Saurabh Ghewande, Mahesh Lomate, Aditya Chaure, Tsutomu Seki, Salesforce Data Manipulation User, Steven Jin, Shirley Yang
27
+ Customer Views: 24559 | Useful Ratings (Customers): 118 | Useful Ratings (PTC): 45 | Cases Solved: 154
28
+ </ptc-para>
29
+
30
+ </div>
31
+ <ptc-spacer></ptc-spacer>
32
+ <ptc-spacer></ptc-spacer>
33
+ <div>
34
+ <ptc-title upperline="" type="h4">Description</ptc-title>
35
+ <hr style="color:green">
36
+ <ptc-para>
37
+ <ul>
38
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
39
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
40
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
41
+ </ul>
42
+ </ptc-para>
43
+ </div>
44
+ </div>
45
+ `;}
46
+
47
+ export const Preview = ArticlePage.bind();
@@ -0,0 +1,157 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Support Page'
5
+
6
+ }
7
+ const SupportPage = args => {
8
+ return html `
9
+
10
+ <ptc-spacer></ptc-spacer>
11
+ <ptc-spacer></ptc-spacer>
12
+ <ptc-spacer></ptc-spacer>
13
+ <ptc-spacer></ptc-spacer>
14
+ <div class="ptc-container is-grid has-col-gap green-container">
15
+ <div class="is-col-12 is-col-7-md search-container">
16
+
17
+ <ptc-spacer></ptc-spacer>
18
+ <ptc-spacer></ptc-spacer>
19
+ <ptc-spacer></ptc-spacer>
20
+ <ptc-title type="h2" text-align="center" title-size="x-large" title-color="white" upperline="no-upperline" title-display="inline-block" title-shadow="" title-height="densest" title-margin="margin-3" title-weight="w-8" is-plm-hub="false">
21
+ Search the Knowledge Base
22
+ </ptc-title>
23
+ <ptc-search-field placeholder-label="Search Technical Support Documentation and Articles" ></ptc-search-field>
24
+ </div>
25
+ <div class="is-col-12 is-col-5-md form-section">
26
+ <ptc-title upperline="none">Popular Tasks</ptc-title>
27
+ <!-- <ul> -->
28
+ <ptc-link>Product Pages</ptc-link>
29
+ <ptc-link>Product Pages</ptc-link>
30
+ <ptc-link>Product Pages</ptc-link>
31
+ <ptc-link>Product Pages</ptc-link>
32
+
33
+ </div>
34
+ </div>
35
+
36
+ <ptc-spacer></ptc-spacer>
37
+ <ptc-spacer></ptc-spacer>
38
+
39
+ <div class="ptc-container is-grid has-col-gap link-container ">
40
+ <div class="is-col-1"></div>
41
+ <div class="is-col-2 links"><ptc-link>Support</ptc-link>
42
+ <button class="btn" role="button" >
43
+ <span class="arrow">
44
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
45
+ </span>
46
+ </button>
47
+ </div>
48
+ <div class="is-col-2 llinks"><ptc-link>Manage and monitor software</ptc-link>
49
+ <button class="btn" role="button" >
50
+ <span class="arrow">
51
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
52
+ </span>
53
+ </button>
54
+ </div>
55
+ <div class="is-col-2 llinks"><ptc-link>Learn</ptc-link>
56
+ <button class="btn" role="button" >
57
+ <span class="arrow">
58
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
59
+ </span>
60
+ </button>
61
+ </div>
62
+ <div class="is-col-2 llinks"><ptc-link>Service and Expertise</ptc-link>
63
+ <button class="btn" role="button" >
64
+ <span class="arrow">
65
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
66
+ </span>
67
+ </button>
68
+ </div>
69
+ <div class="is-col-2 llinks"><ptc-link>PTC Partner Network</ptc-link>
70
+ <button class="btn" role="button" >
71
+ <span class="arrow">
72
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
73
+ </span>
74
+ </button>
75
+ </div>
76
+ <div class="is-col-1 links"></div>
77
+ </div>
78
+ <style>
79
+
80
+
81
+ .btn {
82
+ display: none;
83
+ padding: 10px;
84
+ font-size: 16px;
85
+ font-weight: 500;
86
+ border: none;
87
+ background-color: transparent;
88
+ cursor: pointer;
89
+ align-items: center;
90
+ span {
91
+ margin-right: 8px;
92
+ align-items: center;
93
+ }
94
+
95
+
96
+
97
+ }
98
+
99
+ .llinks:hover .btn {
100
+ display: block;
101
+
102
+
103
+ }
104
+
105
+ .links:hover .btn {
106
+ display: flex;
107
+ }
108
+ .green-container {
109
+ background-color:#b3dda4 ;
110
+ padding: 10px;
111
+ .search-container{
112
+ background-color: #00890B;
113
+ padding:10px;
114
+ align-items: center;
115
+ }
116
+ .form-section {
117
+ background-color: white;
118
+ padding: 10px;
119
+
120
+ ptc-link {
121
+ padding: 5px;
122
+ }
123
+ }
124
+ }
125
+ .links {
126
+ align-content: center;
127
+ text-align: center;
128
+ padding-bottom: 16px;
129
+ align-items: center;
130
+ display: flex;
131
+ flex-direction: column;
132
+ align-items: center;
133
+ justify-content: space-between;
134
+ }
135
+
136
+ .llinks {
137
+ align-content: center;
138
+ text-align: center;
139
+ padding-bottom: 16px;
140
+ border-left: solid 2px #b3dda4;
141
+ padding: 10px;
142
+ display: flex;
143
+ flex-direction: column;
144
+ align-items: center;
145
+ justify-content: space-between;
146
+
147
+ }
148
+ .link-container {
149
+ border-bottom: solid 2px #b3dda4;
150
+ /* margin: 15px; */
151
+ }
152
+
153
+
154
+ </style>
155
+ `;}
156
+
157
+ export const Preview = SupportPage.bind();
@@ -158,6 +158,12 @@ export const MaxWidthContainer: {
158
158
  new (): MaxWidthContainer;
159
159
  };
160
160
 
161
+ interface ModalFormExample extends Components.ModalFormExample, HTMLElement {}
162
+ export const ModalFormExample: {
163
+ prototype: ModalFormExample;
164
+ new (): ModalFormExample;
165
+ };
166
+
161
167
  interface MostPopularNews extends Components.MostPopularNews, HTMLElement {}
162
168
  export const MostPopularNews: {
163
169
  prototype: MostPopularNews;