@ptcwebops/ptcw-design 6.2.14 → 6.2.15-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 (278) 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 +1 -1
  4. package/dist/cjs/{component-35540bfb.js → component-4dd13907.js} +2643 -832
  5. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +1369 -0
  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 +1 -1
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  12. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  13. package/dist/cjs/my-component.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-card-bottom.cjs.entry.js +46 -0
  18. package/dist/cjs/ptc-card_2.cjs.entry.js +1 -13
  19. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +15 -20
  21. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  22. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  25. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +788 -6
  26. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  29. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  34. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  42. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -7
  45. package/dist/cjs/ptcw-design.cjs.js +1 -1
  46. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  47. package/dist/collection/collection-manifest.json +1 -0
  48. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  49. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
  50. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
  51. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +31 -17
  52. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +48 -8
  53. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  54. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  55. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -5
  56. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  57. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +16 -0
  58. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -0
  59. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
  60. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +50 -19
  61. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
  62. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
  63. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  64. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  65. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  66. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
  67. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  68. package/dist/collection/components/ptc-link/ptc-link.js +4 -12
  69. package/dist/collection/components/ptc-modal/ptc-modal.css +66 -0
  70. package/dist/collection/components/ptc-modal/ptc-modal.js +81 -4
  71. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  72. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  73. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
  74. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -680
  75. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +0 -12
  76. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  77. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  78. package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
  79. package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
  80. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
  81. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
  82. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
  83. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +94 -3
  84. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  85. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  86. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  87. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
  88. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
  89. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
  90. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +0 -6
  91. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  92. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  93. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  94. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  95. package/dist/collection/utils/utils.js +8 -0
  96. package/dist/custom-elements/index.d.ts +6 -0
  97. package/dist/custom-elements/index.js +269 -100
  98. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  99. package/dist/esm/blog-detail-layout.entry.js +1 -1
  100. package/dist/esm/blogs-search-section.entry.js +1 -1
  101. package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
  102. package/dist/esm/event-jumbotron-example_15.entry.js +1351 -0
  103. package/dist/esm/featured-list.entry.js +1 -1
  104. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  105. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  106. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/modal-form-example.entry.js +90 -0
  109. package/dist/esm/most-popular-news.entry.js +1 -1
  110. package/dist/esm/my-component.entry.js +1 -1
  111. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  112. package/dist/esm/ptc-background-video.entry.js +1 -1
  113. package/dist/esm/ptc-bio-card.entry.js +1 -1
  114. package/dist/esm/ptc-card-bottom.entry.js +42 -0
  115. package/dist/esm/ptc-card_2.entry.js +1 -13
  116. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  117. package/dist/esm/ptc-collapse-list.entry.js +15 -20
  118. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  119. package/dist/esm/ptc-featured-list.entry.js +1 -1
  120. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  121. package/dist/esm/ptc-footer.entry.js +1 -1
  122. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  123. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  124. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  125. package/dist/esm/ptc-icon-card.entry.js +9 -3
  126. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  127. package/dist/esm/ptc-media-card.entry.js +1 -1
  128. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  129. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  130. package/dist/esm/ptc-previous-url.entry.js +10 -2
  131. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  132. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  133. package/dist/esm/ptc-product-card.entry.js +1 -1
  134. package/dist/esm/ptc-product-category.entry.js +1 -1
  135. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  136. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  137. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  138. package/dist/esm/ptc-social-icons-footer.entry.js +7 -2
  139. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  140. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  141. package/dist/esm/ptc-white-paper.entry.js +1 -7
  142. package/dist/esm/ptcw-design.js +1 -1
  143. package/dist/esm/{utils-1bbe0c30.js → utils-ff65c75b.js} +9 -1
  144. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  145. package/dist/ptcw-design/{p-1cff585f.entry.js → p-0d806031.entry.js} +1 -1
  146. package/dist/ptcw-design/{p-4fc9c83b.entry.js → p-11e0edaf.entry.js} +1 -1
  147. package/dist/ptcw-design/p-1b257420.entry.js +1 -0
  148. package/dist/ptcw-design/p-257deac0.entry.js +1 -0
  149. package/dist/ptcw-design/{p-fce2bd81.entry.js → p-2749c178.entry.js} +1 -1
  150. package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
  151. package/dist/ptcw-design/{p-942850e0.entry.js → p-2c6fc745.entry.js} +1 -1
  152. package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
  153. package/dist/ptcw-design/p-36007a57.entry.js +1 -0
  154. package/dist/ptcw-design/p-50d68602.entry.js +1 -0
  155. package/dist/ptcw-design/p-56a2a9dc.entry.js +1 -0
  156. package/dist/ptcw-design/p-58f138a3.entry.js +1 -0
  157. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  158. package/dist/ptcw-design/{p-f07e64f2.entry.js → p-6d3326da.entry.js} +1 -1
  159. package/dist/ptcw-design/p-72df6678.entry.js +1 -0
  160. package/dist/ptcw-design/{p-d1857ada.entry.js → p-77cad16c.entry.js} +1 -1
  161. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  162. package/dist/ptcw-design/{p-990bcbc4.entry.js → p-7a9611b4.entry.js} +1 -1
  163. package/dist/ptcw-design/{p-2ac7e3ce.entry.js → p-808ec62a.entry.js} +1 -1
  164. package/dist/ptcw-design/p-8872161f.js +1 -0
  165. package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
  166. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  167. package/dist/ptcw-design/p-9e915e82.entry.js +1 -0
  168. package/dist/ptcw-design/p-a2caf246.entry.js +68 -0
  169. package/dist/ptcw-design/p-a2d9831c.entry.js +1 -0
  170. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  171. package/dist/ptcw-design/{p-65f19054.entry.js → p-ae970a60.entry.js} +1 -1
  172. package/dist/ptcw-design/p-b1ebac6f.entry.js +1 -0
  173. package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
  174. package/dist/ptcw-design/{p-a3a04f4e.entry.js → p-bb902570.entry.js} +1 -1
  175. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  176. package/dist/ptcw-design/{p-4036055e.entry.js → p-c37a3bd2.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-717d3a75.entry.js → p-c66b8926.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-56a4c6d4.entry.js → p-c95f423e.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-dee4bb6c.entry.js → p-d10cb999.entry.js} +1 -1
  180. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  181. package/dist/ptcw-design/{p-48183365.entry.js → p-d756db27.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-873c711b.entry.js → p-d9abe7e8.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-53f49500.entry.js → p-da82dc93.entry.js} +1 -1
  184. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  185. package/dist/ptcw-design/{p-deebd138.entry.js → p-e3f8e5d5.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-b4564411.entry.js → p-e4000363.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-d3e5b65c.entry.js → p-ea7369e9.entry.js} +1 -1
  188. package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
  189. package/dist/ptcw-design/ptcw-design.css +2 -2
  190. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  191. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +5 -3
  192. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  193. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  194. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
  195. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +3 -2
  196. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  197. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  198. package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -1
  199. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  200. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  201. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +12 -0
  202. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  203. package/dist/types/components.d.ts +60 -4
  204. package/dist/types/utils/utils.d.ts +1 -0
  205. package/package.json +1 -1
  206. package/readme.md +5 -1
  207. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  208. package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -127
  209. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  210. package/dist/cjs/list-item.cjs.entry.js +0 -48
  211. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  212. package/dist/cjs/ptc-button.cjs.entry.js +0 -84
  213. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -132
  214. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
  215. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -213
  216. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  217. package/dist/cjs/ptc-link.cjs.entry.js +0 -95
  218. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  219. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  220. package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -84
  221. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  222. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  223. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  224. package/dist/esm/component-9beac35b.js +0 -1802
  225. package/dist/esm/event-jumbotron-example.entry.js +0 -123
  226. package/dist/esm/icon-asset.entry.js +0 -61
  227. package/dist/esm/list-item.entry.js +0 -44
  228. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  229. package/dist/esm/ptc-button.entry.js +0 -80
  230. package/dist/esm/ptc-card-bottom_2.entry.js +0 -127
  231. package/dist/esm/ptc-card-content.entry.js +0 -64
  232. package/dist/esm/ptc-close-icon_2.entry.js +0 -208
  233. package/dist/esm/ptc-img.entry.js +0 -129
  234. package/dist/esm/ptc-link.entry.js +0 -91
  235. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  236. package/dist/esm/ptc-para.entry.js +0 -123
  237. package/dist/esm/ptc-scroll-button.entry.js +0 -80
  238. package/dist/esm/ptc-spacer.entry.js +0 -34
  239. package/dist/esm/ptc-title.entry.js +0 -148
  240. package/dist/esm/validation-messages-adbb6518.js +0 -124
  241. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  242. package/dist/ptcw-design/p-0b8a73e1.entry.js +0 -68
  243. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  244. package/dist/ptcw-design/p-1022ad8b.entry.js +0 -1
  245. package/dist/ptcw-design/p-136a91bf.entry.js +0 -1
  246. package/dist/ptcw-design/p-18a5a338.js +0 -1
  247. package/dist/ptcw-design/p-18f59395.entry.js +0 -1
  248. package/dist/ptcw-design/p-1b7087e7.entry.js +0 -1
  249. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  250. package/dist/ptcw-design/p-2a672c0e.entry.js +0 -1
  251. package/dist/ptcw-design/p-2cfcba27.entry.js +0 -1
  252. package/dist/ptcw-design/p-2e19248b.entry.js +0 -1
  253. package/dist/ptcw-design/p-2e8f7a08.entry.js +0 -1
  254. package/dist/ptcw-design/p-3f71553e.entry.js +0 -1
  255. package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
  256. package/dist/ptcw-design/p-583608d9.entry.js +0 -1
  257. package/dist/ptcw-design/p-5d885144.entry.js +0 -1
  258. package/dist/ptcw-design/p-5dae4f30.entry.js +0 -1
  259. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  260. package/dist/ptcw-design/p-8daf00ae.entry.js +0 -1
  261. package/dist/ptcw-design/p-98426799.js +0 -203
  262. package/dist/ptcw-design/p-98844b50.js +0 -134
  263. package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
  264. package/dist/ptcw-design/p-a870cd4a.entry.js +0 -1
  265. package/dist/ptcw-design/p-ad87bdab.js +0 -1
  266. package/dist/ptcw-design/p-b35ad9ee.entry.js +0 -1
  267. package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
  268. package/dist/ptcw-design/p-b6e5379a.entry.js +0 -1
  269. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  270. package/dist/ptcw-design/p-bb15d7e5.entry.js +0 -1
  271. package/dist/ptcw-design/p-cbfe46ce.entry.js +0 -1
  272. package/dist/ptcw-design/p-d734b373.entry.js +0 -1
  273. package/dist/ptcw-design/p-dc488936.entry.js +0 -1
  274. package/dist/ptcw-design/p-dd73c4d1.entry.js +0 -1
  275. package/dist/ptcw-design/p-e614999d.entry.js +0 -1
  276. package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
  277. package/dist/ptcw-design/p-e9a7475b.entry.js +0 -1
  278. package/dist/ptcw-design/p-fcad5568.entry.js +0 -1
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
8
+
9
+ const PtcForm = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.formData = {
13
+ email: '',
14
+ firstName: '',
15
+ lastName: '',
16
+ company: '',
17
+ country: '',
18
+ phone: '',
19
+ inquiryReason: '',
20
+ howhearselfreport: '',
21
+ policyChecked: false,
22
+ };
23
+ }
24
+ // private countryEle: HTMLPtcSelectElement;
25
+ // private inquiryreasonEle: HTMLPtcTextfieldElement;
26
+ // private howhearselfreport: HTMLPtcTextfieldElement;
27
+ componentDidLoad() {
28
+ this.formButton = this.el.querySelector('.form-submit');
29
+ this.formButton.addEventListener('click', this.handleSubmit.bind(this));
30
+ //get Email
31
+ this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
32
+ this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
33
+ this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
34
+ this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
35
+ this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
36
+ // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
37
+ // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
38
+ // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
39
+ }
40
+ handleInputChange(field, value) {
41
+ this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
42
+ }
43
+ handleSubmit(event) {
44
+ event.preventDefault();
45
+ this.formData.email = this.emailEle.inputValue;
46
+ this.formData.firstName = this.firstNameEle.inputValue;
47
+ this.formData.lastName = this.lastNameEle.inputValue;
48
+ this.formData.company = this.companyEle.inputValue;
49
+ this.formData.phone = this.phoneEle.inputValue;
50
+ // this.formData.country = this.countryEle.inputValue;
51
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
52
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
53
+ // console.log("get form Data: " + this.formData.email)
54
+ if (this.isValid()) {
55
+ const formSubmitEvent = new CustomEvent('formSubmit', {
56
+ detail: this.formData,
57
+ bubbles: true,
58
+ });
59
+ this.el.dispatchEvent(formSubmitEvent);
60
+ console.log('Form Submitted: ' + this.formData);
61
+ }
62
+ else {
63
+ console.log('Form validation failed');
64
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
65
+ }
66
+ }
67
+ isValid() {
68
+ const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
69
+ const invalidLength = document.querySelectorAll('.invalid-field').length;
70
+ // console.log('invalid fields length: ' + invalidLength), check the select field
71
+ return (email !== '' &&
72
+ phone !== '' &&
73
+ firstName !== '' &&
74
+ lastName !== '' &&
75
+ company !== '' &&
76
+ country !== '' &&
77
+ inquiryReason !== '' &&
78
+ howhearselfreport != '' &&
79
+ policyChecked &&
80
+ invalidLength === 0);
81
+ }
82
+ render() {
83
+ const multiSelectItems = [
84
+ { text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
85
+ { text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
86
+ { text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
87
+ ];
88
+ return (index.h(index.Host, null, index.h("div", { class: "ptc-container u-flex u-flex-justify-center" }, index.h("div", { class: "form-wrapper" }, index.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" }, index.h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.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:"), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.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."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: event => this.handleSubmit(event) }, index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), index.h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Select a country")), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), index.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" }), index.h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), index.h("div", { class: "button-wrapper" }, index.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"), index.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")))))));
89
+ }
90
+ get el() { return index.getElement(this); }
91
+ };
92
+ PtcForm.style = modalFormExampleCss;
93
+
94
+ exports.modal_form_example = PtcForm;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-87d7b99f.js');
6
+ const utils = require('./utils-ad441b07.js');
7
7
 
8
8
  const numberOneSvg = `<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
9
9
  <circle cx="17.5" cy="17.5" r="17.5" fill="#006E09"/>
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-87d7b99f.js');
6
+ const utils = require('./utils-ad441b07.js');
7
7
 
8
8
  const myComponentCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-87d7b99f.js');
6
+ const utils = require('./utils-ad441b07.js');
7
7
 
8
8
  const hasSlot = (parentEl, slotName) => {
9
9
  return !!parentEl.querySelector(':scope > [slot="' + slotName + '"'); // cast boolean
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-87d7b99f.js');
6
+ const utils = require('./utils-ad441b07.js');
7
7
 
8
8
  const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}";
9
9
 
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
- const ptcBioCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block;color:var(--color-gray-10);height:100%}:host ::slotted([slot=seo-content]){display:none}:host .bio-card{height:100%;display:flex;box-shadow:var(--ptc-shadow-small);transition:box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;background-color:var(--color-white)}:host .bio-card .bio-card__image{max-width:150px;min-width:100px;width:100px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image{min-width:140px}}@media only screen and (min-width: 768px){:host .bio-card .bio-card__image{width:35%}}:host .bio-card .bio-card__image img{max-width:100%;display:block;max-height:fit-content;height:100%;object-fit:cover;width:100%}:host .bio-card .bio-card__content{padding:12px 12px 1px 12px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;align-content:space-between}@media only screen and (min-width: 768px){:host .bio-card .bio-card__content{width:65%;padding:16px 16px 1px 16px}}:host .bio-card .bio-card__content .bio-card__name{display:inline-block;margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-denser);letter-spacing:0.031rem;border-bottom:1px solid transparent}:host .bio-card .bio-card__content .bio-card__name a{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__name{font-size:var(--ptc-font-size-xx-small)}}:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-p);letter-spacing:0.031rem;margin:2px 0 0 0}@media only screen and (min-width: 480px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-x-small)}}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small)}}:host .bio-card .bio-card__content .bio-card__social-links{border-top:1px solid var(--color-gray-03);padding-top:12px}:host .bio-card .bio-card__content .bio-card__social-links .social-icon{margin-right:20px;display:inline-block;line-height:var(--ptc-line-height-denser);z-index:99999999}:host .bio-card .bio-card__content .bio-card__social-links .social-icon svg{max-width:27px;max-height:44px}:host .modal-wrap{display:flex;height:100%}@media only screen and (min-width: 768px){:host .modal-wrap{height:auto}}@media (max-height: 450px){:host .modal-wrap{height:100%}}:host .modal-wrap .bio-modal-left{width:140px;max-height:208px;display:none}:host .modal-wrap .bio-modal-left .bio-modal__image{margin-bottom:35px}:host .modal-wrap .bio-modal-left .bio-modal__image img{max-width:100%;display:block;min-width:140px}@media (max-height: 450px){:host .modal-wrap .bio-modal-left .bio-modal__image img{min-width:110px}}:host .modal-wrap .bio-modal-left .bio-card__social-links{display:flex;flex-direction:column;justify-content:center;align-items:center}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon{margin-bottom:10px;z-index:99999999}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child{margin-bottom:0}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-left{display:block}}:host .modal-wrap .bio-modal-right{padding-left:30px;padding-right:15px}:host .modal-wrap .bio-modal-right .bio-modal-header{position:relative;width:95%}@media only screen and (min-width: 992px){:host .modal-wrap .bio-modal-right .bio-modal-header::after{content:\"\";position:absolute;width:100%;height:100%;background-image:url(\"https://www.ptc.com/dist/ptc/images/Exec-Leadership/Card-Decoration.svg\");background-size:340px;transform:rotate(180deg);z-index:-1;background-repeat:no-repeat;top:-20px;right:5%;opacity:0.4}}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__name{margin:0 0 4px 0;font-weight:var(--ptc-font-weight-black);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-denser)}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__job-title{margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium)}:host .modal-wrap .bio-modal-right .bio-modal-description{margin-top:40px;overflow-y:auto;padding-right:8%;max-height:calc(100% - 120px)}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:500px}}@media (max-height: 450px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:calc(100% - 110px)}}:host .modal-wrap .bio-modal-right .bio-modal-description::before{background:var(--color-white);background:linear-gradient(0deg, var(--color-white), rgba(255, 255, 255, 0));bottom:0;content:\"\";display:block;height:25%;left:0;position:absolute;right:1rem;width:100%;border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host .modal-wrap .bio-modal-right .bio-modal-description::after{content:\" \";width:10px;height:120px;display:block}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar{width:0.188rem}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-track{background:var(--color-gray-03)}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-thumb{background:var(--color-gray-10);border-radius:2rem}:host .social-icon{z-index:99999999}:host .social-icon .cls-1{transition:all ease-in 250ms}:host .social-icon .cls-3,:host .social-icon .cls-4{stroke:none}:host .social-icon .cls-4{transition:all ease-in 250ms;fill:var(--color-gray-03)}:host .social-icon .cls-x-1{fill:var(--color-gray-10)}:host .social-icon .cls-x-2{fill:none}:host .social-icon:hover .cls-1{transition:all ease-in 250ms;fill:var(--color-white)}:host .social-icon:hover .cls-2{fill:var(--color-green-14)}:host .social-icon:hover .cls-4,:host .social-icon:hover .cls-x-1{fill:var(--color-green-14)}:host(.card-with-modal) .bio-card{transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card .bio-card__name{transition:border-bottom-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card:hover{box-shadow:var(--ptc-shadow-x-large);cursor:pointer}:host(.card-with-modal) .bio-card:hover .bio-card__name{border-bottom-color:var(--color-green-07)}";
7
+ const ptcBioCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block;color:var(--color-gray-10);height:100%}:host ::slotted([slot=seo-content]){display:none}:host .bio-card{height:100%;display:flex;box-shadow:var(--ptc-shadow-small);transition:box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;background-color:var(--color-white)}:host .bio-card .bio-card__image{max-width:150px;min-width:100px;width:100px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image{min-width:140px}}@media only screen and (min-width: 768px){:host .bio-card .bio-card__image{width:35%}}:host .bio-card .bio-card__image img{max-width:100%;display:block;max-height:fit-content;height:100%;object-fit:cover;width:100%}:host .bio-card .bio-card__content{padding:12px 12px 1px 12px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;align-content:space-between}@media only screen and (min-width: 768px){:host .bio-card .bio-card__content{width:65%;padding:16px 16px 1px 16px}}:host .bio-card .bio-card__content .bio-card__name{display:inline-block;margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-denser);letter-spacing:0.031rem;border-bottom:1px solid transparent}:host .bio-card .bio-card__content .bio-card__name a{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__name{font-size:var(--ptc-font-size-xx-small)}}:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-p);letter-spacing:0.031rem;margin:2px 0 0 0}@media only screen and (min-width: 480px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-x-small)}}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small)}}:host .bio-card .bio-card__content .bio-card__social-links{border-top:1px solid var(--color-gray-03);padding-top:12px}:host .bio-card .bio-card__content .bio-card__social-links .social-icon{margin-right:20px;display:inline-block;line-height:var(--ptc-line-height-denser);z-index:99999999}:host .bio-card .bio-card__content .bio-card__social-links .social-icon svg{max-width:27px;max-height:44px}:host .modal-wrap{display:flex;height:100%}@media only screen and (min-width: 768px){:host .modal-wrap{height:auto}}@media (max-height: 450px){:host .modal-wrap{height:100%}}:host .modal-wrap .bio-modal-left{width:140px;max-height:208px;display:none}:host .modal-wrap .bio-modal-left .bio-modal__image{margin-bottom:35px}:host .modal-wrap .bio-modal-left .bio-modal__image img{max-width:100%;display:block;min-width:140px}@media (max-height: 450px){:host .modal-wrap .bio-modal-left .bio-modal__image img{min-width:110px}}:host .modal-wrap .bio-modal-left .bio-card__social-links{display:flex;flex-direction:column;justify-content:center;align-items:center}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon{margin-bottom:10px;z-index:99999999}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child{margin-bottom:0}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-left{display:block}}:host .modal-wrap .bio-modal-right{padding-left:30px;padding-right:15px}:host .modal-wrap .bio-modal-right .bio-modal-header{position:relative;width:95%}@media only screen and (min-width: 992px){:host .modal-wrap .bio-modal-right .bio-modal-header::after{content:\"\";position:absolute;width:100%;height:100%;background-image:url(\"https://www.ptc.com/dist/ptc/images/Exec-Leadership/Card-Decoration.svg\");background-size:340px;transform:rotate(180deg);z-index:-1;background-repeat:no-repeat;top:-20px;right:5%;opacity:0.4}}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__name{margin:0 0 4px 0;font-weight:var(--ptc-font-weight-black);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-denser)}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__job-title{margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium)}:host .modal-wrap .bio-modal-right .bio-modal-description{margin-top:40px;overflow-y:auto;padding-right:8%;max-height:calc(100% - 120px)}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:500px}}@media (max-height: 450px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:calc(100% - 110px)}}:host .modal-wrap .bio-modal-right .bio-modal-description::before{background:var(--color-white);background:linear-gradient(0deg, var(--color-white), rgba(255, 255, 255, 0));bottom:0;content:\"\";display:block;height:25%;left:0;position:absolute;right:1rem;width:100%;border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host .modal-wrap .bio-modal-right .bio-modal-description::after{content:\" \";width:10px;height:120px;display:block}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar{width:0.188rem}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-track{background:var(--color-gray-03)}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-thumb{background:var(--color-gray-10);border-radius:2rem}:host .social-icon{z-index:99999999}:host .social-icon .cls-1{transition:all ease-in 250ms}:host .social-icon .cls-3,:host .social-icon .cls-4{stroke:none}:host .social-icon .cls-4{transition:all ease-in 250ms;fill:var(--color-gray-03)}:host .social-icon .cls-x-1{fill:var(--color-gray-10)}:host .social-icon .cls-x-2{fill:none}:host .social-icon:hover .cls-1{transition:all ease-in 250ms;fill:var(--color-white)}:host .social-icon:hover .cls-2{fill:var(--color-green-14)}:host .social-icon:hover .cls-4,:host .social-icon:hover .cls-x-1{fill:var(--color-green-14)}:host(.card-with-modal) .bio-card{transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card .bio-card__name{transition:border-bottom-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card:hover{box-shadow:var(--ptc-shadow-x-large);cursor:pointer}:host(.card-with-modal) .bio-card:hover .bio-card__name{border-bottom-color:var(--color-green-07)}";
8
8
 
9
9
  const PtcBioCard = class {
10
10
  constructor(hostRef) {
@@ -0,0 +1,46 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ const ptcCardBottomCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host ::slotted([slot=seo-content]){display:none}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}:host(.most-popular){padding:0 16px 14px 16px}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
8
+
9
+ const PtcCardBottom = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
13
+ this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
14
+ this.cardType = undefined;
15
+ this.styles = undefined;
16
+ }
17
+ hoverEventHandler() {
18
+ this.hoverEvent.emit();
19
+ //if statement: the card type that doesn't need a hover event
20
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
21
+ this.el.previousElementSibling.classList.add('mouse-hover');
22
+ this.el.classList.add('mouse-hover-card-bottom');
23
+ }
24
+ }
25
+ leaveEventHandler() {
26
+ this.hoverEvent.emit();
27
+ //if statement: the card type that doesn't need a hover event
28
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
29
+ this.el.previousElementSibling.classList.remove('mouse-hover');
30
+ this.el.classList.remove('mouse-hover-card-bottom');
31
+ }
32
+ }
33
+ render() {
34
+ const classMap = this.getCssClassMap();
35
+ return (index.h(index.Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && index.h("style", null, this.styles), index.h("slot", { name: "slot-content" }), index.h("div", { class: "ptc-card-bottom-wrapper" }, index.h("slot", null))));
36
+ }
37
+ getCssClassMap() {
38
+ return {
39
+ [this.cardType]: this.cardType ? true : false,
40
+ };
41
+ }
42
+ get el() { return index.getElement(this); }
43
+ };
44
+ PtcCardBottom.style = ptcCardBottomCss;
45
+
46
+ exports.ptc_card_bottom = PtcCardBottom;