@ptcwebops/ptcw-design 2.7.7 → 2.7.8

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 (572) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
  3. package/dist/cjs/bundle-example.cjs.entry.js +30 -30
  4. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +39 -39
  5. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  6. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +25 -25
  7. package/dist/cjs/embedded-form.cjs.entry.js +82 -82
  8. package/dist/cjs/featured-list.cjs.entry.js +90 -90
  9. package/dist/cjs/fl-tab-content_3.cjs.entry.js +44 -44
  10. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  11. package/dist/cjs/innovator-toggle-container.cjs.entry.js +21 -21
  12. package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
  13. package/dist/cjs/list-item.cjs.entry.js +22 -22
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/max-width-container.cjs.entry.js +43 -43
  16. package/dist/cjs/my-component.cjs.entry.js +15 -15
  17. package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
  18. package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
  19. package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
  20. package/dist/cjs/ptc-back-to-top.cjs.entry.js +35 -35
  21. package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
  22. package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
  23. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +132 -132
  24. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +46 -46
  25. package/dist/cjs/ptc-button.cjs.entry.js +39 -39
  26. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
  27. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
  28. package/dist/cjs/ptc-card.cjs.entry.js +74 -74
  29. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
  30. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  31. package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
  32. package/dist/cjs/ptc-container.cjs.entry.js +33 -33
  33. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  34. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  35. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +47 -47
  36. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
  37. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +89 -89
  38. package/dist/cjs/ptc-featured-list.cjs.entry.js +95 -95
  39. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +223 -223
  40. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +52 -52
  41. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  42. package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +220 -220
  43. package/dist/cjs/ptc-form.cjs.entry.js +78 -78
  44. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  45. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  46. package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
  47. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  48. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
  49. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
  50. package/dist/cjs/ptc-img.cjs.entry.js +122 -122
  51. package/dist/cjs/ptc-link.cjs.entry.js +48 -48
  52. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  53. package/dist/cjs/ptc-media-card.cjs.entry.js +58 -58
  54. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
  55. package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
  56. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +82 -82
  57. package/dist/cjs/ptc-modal.cjs.entry.js +150 -150
  58. package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
  59. package/dist/cjs/ptc-nav-link.cjs.entry.js +40 -40
  60. package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
  61. package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
  62. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
  63. package/dist/cjs/ptc-news.cjs.entry.js +24 -24
  64. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  65. package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
  66. package/dist/cjs/ptc-para.cjs.entry.js +51 -51
  67. package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
  68. package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
  69. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  70. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +18 -17
  71. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +38 -39
  72. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  73. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +341 -0
  74. package/dist/cjs/ptc-pricing-table.cjs.entry.js +525 -525
  75. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
  76. package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
  77. package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
  78. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
  79. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
  80. package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
  81. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
  82. package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
  83. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  84. package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
  85. package/dist/cjs/ptc-readmore.cjs.entry.js +82 -82
  86. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
  87. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  88. package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
  89. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  90. package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
  91. package/dist/cjs/ptc-spacer.cjs.entry.js +27 -27
  92. package/dist/cjs/ptc-span.cjs.entry.js +20 -20
  93. package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
  94. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  95. package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
  96. package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
  97. package/dist/cjs/ptc-subnav-card.cjs.entry.js +15 -15
  98. package/dist/cjs/ptc-subnav.cjs.entry.js +24 -24
  99. package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
  100. package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
  101. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  102. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  103. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  104. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +77 -77
  105. package/dist/cjs/ptc-title.cjs.entry.js +67 -67
  106. package/dist/cjs/ptc-tooltip.cjs.entry.js +95 -95
  107. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  108. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
  109. package/dist/cjs/ptcw-design.cjs.js +1 -1
  110. package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
  111. package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
  112. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  113. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  114. package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
  115. package/dist/collection/collection-manifest.json +1 -0
  116. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  117. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  118. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  119. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  120. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  121. package/dist/collection/components/icon-asset/media/designer.svg +489 -489
  122. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  123. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
  124. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  125. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  126. package/dist/collection/components/list-item/list-item.js +144 -144
  127. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  128. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  129. package/dist/collection/components/my-component/my-component.css +3 -3
  130. package/dist/collection/components/my-component/my-component.js +82 -82
  131. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  132. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
  133. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  134. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
  135. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
  136. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
  137. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  138. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  139. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +98 -98
  140. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
  141. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
  142. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  143. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +90 -90
  144. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  145. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  146. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  147. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  148. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  149. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  150. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  151. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  152. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
  153. package/dist/collection/components/ptc-button/ptc-button.js +304 -304
  154. package/dist/collection/components/ptc-card/ptc-card.js +439 -439
  155. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  156. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  157. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +232 -232
  158. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  159. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  160. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  161. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  162. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  163. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  164. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  165. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  166. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  167. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
  168. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  169. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
  170. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  171. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
  172. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +134 -134
  173. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +98 -98
  174. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  175. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +209 -209
  176. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  177. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  178. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  179. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  180. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  181. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  182. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  183. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
  184. package/dist/collection/components/ptc-link/ptc-link.js +239 -239
  185. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  186. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  187. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  188. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
  189. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  190. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +157 -157
  191. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  192. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  193. package/dist/collection/components/ptc-news/ptc-news.js +176 -176
  194. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  195. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  196. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  197. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  198. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  199. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  200. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +1 -0
  201. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -120
  202. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +75 -76
  203. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  204. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +317 -0
  205. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +471 -0
  206. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +680 -680
  207. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  208. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  209. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  210. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  211. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  212. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  213. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  214. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  215. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  216. package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
  217. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  218. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  219. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  220. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  221. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  222. package/dist/collection/components/ptc-select/ptc-select.js +190 -190
  223. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  224. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  225. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  226. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  227. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  228. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  229. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  230. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  231. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  232. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  233. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  234. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  235. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
  236. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  237. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  238. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +199 -199
  239. package/dist/collection/components/ptc-textfield/ptc-textfield.js +351 -351
  240. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +140 -140
  241. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +123 -123
  242. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +99 -99
  243. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  244. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  245. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  246. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
  247. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +135 -135
  248. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  249. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  250. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
  251. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  252. package/dist/collection/components/tab-content/tab-content.js +84 -84
  253. package/dist/collection/components/tab-header/tab-header.js +183 -183
  254. package/dist/collection/index.js +1 -1
  255. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  256. package/dist/collection/media/svg-imgs/close.svg +10 -10
  257. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  258. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  259. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  260. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  261. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  262. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  263. package/dist/collection/media/svg-imgs/union.svg +3 -3
  264. package/dist/collection/stories/Accordian.stories.js +205 -205
  265. package/dist/collection/stories/Announcement.stories.js +64 -64
  266. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  267. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  268. package/dist/collection/stories/Button.stories.js +119 -119
  269. package/dist/collection/stories/Card.stories.js +234 -234
  270. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  271. package/dist/collection/stories/Checkbox.stories.js +52 -52
  272. package/dist/collection/stories/Date.stories.js +81 -81
  273. package/dist/collection/stories/Dropdown.stories.js +48 -48
  274. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  275. package/dist/collection/stories/FilterTag.stories.js +73 -73
  276. package/dist/collection/stories/FormCheckbox.stories.js +57 -57
  277. package/dist/collection/stories/Hero.stories.js +119 -119
  278. package/dist/collection/stories/Icon.stories.js +71 -71
  279. package/dist/collection/stories/IconList.stories.js +114 -114
  280. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  281. package/dist/collection/stories/Link.stories.js +101 -101
  282. package/dist/collection/stories/ListItem.stories.js +59 -59
  283. package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
  284. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  285. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  286. package/dist/collection/stories/Modal.stories.js +105 -105
  287. package/dist/collection/stories/Overlay.stories.js +48 -48
  288. package/dist/collection/stories/Pagination.stories.js +101 -101
  289. package/dist/collection/stories/Paragraph.stories.js +95 -95
  290. package/dist/collection/stories/Picture.stories.js +139 -139
  291. package/dist/collection/stories/Quote.stories.js +107 -107
  292. package/dist/collection/stories/ReadMore.stories.js +100 -100
  293. package/dist/collection/stories/Select.stories.js +81 -81
  294. package/dist/collection/stories/SocialShare.stories.js +66 -66
  295. package/dist/collection/stories/Spacer.stories.js +48 -48
  296. package/dist/collection/stories/Span.stories.js +57 -57
  297. package/dist/collection/stories/SvgButton.stories.js +34 -34
  298. package/dist/collection/stories/Tabs.stories.js +213 -213
  299. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  300. package/dist/collection/stories/Textfield.stories.js +81 -81
  301. package/dist/collection/stories/Title.stories.js +115 -115
  302. package/dist/collection/stories/Tooltip.stories.js +112 -112
  303. package/dist/collection/utils/component.js +3 -3
  304. package/dist/collection/utils/interfaces.js +11 -11
  305. package/dist/collection/utils/utils.js +92 -92
  306. package/dist/custom-elements/index.d.ts +6 -0
  307. package/dist/custom-elements/index.js +7915 -7577
  308. package/dist/esm/author-listing-example.entry.js +232 -232
  309. package/dist/esm/bundle-example.entry.js +30 -30
  310. package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
  311. package/dist/esm/dropdown-item.entry.js +10 -10
  312. package/dist/esm/dynamic-box-bundle.entry.js +25 -25
  313. package/dist/esm/embedded-form.entry.js +82 -82
  314. package/dist/esm/featured-list.entry.js +90 -90
  315. package/dist/esm/fl-tab-content_3.entry.js +44 -44
  316. package/dist/esm/icon-asset.entry.js +42 -42
  317. package/dist/esm/innovator-toggle-container.entry.js +21 -21
  318. package/dist/esm/{interfaces-3cb94654.js → interfaces-4caedd26.js} +9 -9
  319. package/dist/esm/list-item.entry.js +22 -22
  320. package/dist/esm/loader.js +1 -1
  321. package/dist/esm/max-width-container.entry.js +43 -43
  322. package/dist/esm/my-component.entry.js +15 -15
  323. package/dist/esm/polyfills/core-js.js +0 -0
  324. package/dist/esm/polyfills/dom.js +0 -0
  325. package/dist/esm/polyfills/es5-html-element.js +0 -0
  326. package/dist/esm/polyfills/index.js +0 -0
  327. package/dist/esm/polyfills/system.js +0 -0
  328. package/dist/esm/ptc-accordion-item.entry.js +84 -84
  329. package/dist/esm/ptc-accordion.entry.js +39 -39
  330. package/dist/esm/ptc-announcement.entry.js +52 -52
  331. package/dist/esm/ptc-back-to-top.entry.js +35 -35
  332. package/dist/esm/ptc-background-video.entry.js +57 -57
  333. package/dist/esm/ptc-bio-card.entry.js +24 -24
  334. package/dist/esm/ptc-breadcrumb_2.entry.js +132 -132
  335. package/dist/esm/ptc-brightcov-video.entry.js +46 -46
  336. package/dist/esm/ptc-button.entry.js +39 -39
  337. package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
  338. package/dist/esm/ptc-card-content.entry.js +57 -57
  339. package/dist/esm/ptc-card.entry.js +74 -74
  340. package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
  341. package/dist/esm/ptc-checkbox.entry.js +50 -50
  342. package/dist/esm/ptc-collapse-list.entry.js +397 -397
  343. package/dist/esm/ptc-container.entry.js +33 -33
  344. package/dist/esm/ptc-date.entry.js +50 -50
  345. package/dist/esm/ptc-dropdown.entry.js +64 -64
  346. package/dist/esm/ptc-dynamic-card.entry.js +47 -47
  347. package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
  348. package/dist/esm/ptc-embedded-quiz.entry.js +89 -89
  349. package/dist/esm/ptc-featured-list.entry.js +95 -95
  350. package/dist/esm/ptc-filter-dropdown_4.entry.js +223 -223
  351. package/dist/esm/ptc-filter-level-theater.entry.js +52 -52
  352. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  353. package/dist/esm/ptc-form-checkbox_3.entry.js +220 -220
  354. package/dist/esm/ptc-form.entry.js +78 -78
  355. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  356. package/dist/esm/ptc-hero.entry.js +18 -18
  357. package/dist/esm/ptc-icon-component.entry.js +60 -60
  358. package/dist/esm/ptc-icon-list.entry.js +21 -21
  359. package/dist/esm/ptc-icon-minimize.entry.js +43 -43
  360. package/dist/esm/ptc-image-download-strip.entry.js +18 -18
  361. package/dist/esm/ptc-img.entry.js +122 -122
  362. package/dist/esm/ptc-link.entry.js +48 -48
  363. package/dist/esm/ptc-list.entry.js +49 -49
  364. package/dist/esm/ptc-media-card.entry.js +58 -58
  365. package/dist/esm/ptc-minimized-nav.entry.js +12 -12
  366. package/dist/esm/ptc-mobile-select.entry.js +62 -62
  367. package/dist/esm/ptc-modal-quiz.entry.js +82 -82
  368. package/dist/esm/ptc-modal.entry.js +150 -150
  369. package/dist/esm/ptc-nav-card.entry.js +36 -36
  370. package/dist/esm/ptc-nav-link.entry.js +40 -40
  371. package/dist/esm/ptc-nav-pills.entry.js +8 -8
  372. package/dist/esm/ptc-nav-slider.entry.js +90 -90
  373. package/dist/esm/ptc-nav-submenu.entry.js +37 -37
  374. package/dist/esm/ptc-news.entry.js +24 -24
  375. package/dist/esm/ptc-overlay.entry.js +23 -23
  376. package/dist/esm/ptc-pagenation.entry.js +306 -306
  377. package/dist/esm/ptc-para.entry.js +51 -51
  378. package/dist/esm/ptc-picture.entry.js +152 -152
  379. package/dist/esm/ptc-podcast-card.entry.js +11 -11
  380. package/dist/esm/ptc-previous-url.entry.js +11 -11
  381. package/dist/esm/ptc-pricing-add-on-card.entry.js +18 -17
  382. package/dist/esm/ptc-pricing-add-on-section.entry.js +38 -39
  383. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  384. package/dist/esm/ptc-pricing-packaging-table.entry.js +337 -0
  385. package/dist/esm/ptc-pricing-table.entry.js +525 -525
  386. package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
  387. package/dist/esm/ptc-product-card.entry.js +22 -22
  388. package/dist/esm/ptc-product-category.entry.js +10 -10
  389. package/dist/esm/ptc-product-dropdown.entry.js +69 -69
  390. package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
  391. package/dist/esm/ptc-product-list.entry.js +140 -140
  392. package/dist/esm/ptc-product-sidebar.entry.js +128 -128
  393. package/dist/esm/ptc-progress-bar.entry.js +16 -16
  394. package/dist/esm/ptc-quote.entry.js +23 -23
  395. package/dist/esm/ptc-readmore-char.entry.js +24 -24
  396. package/dist/esm/ptc-readmore.entry.js +82 -82
  397. package/dist/esm/ptc-related-card-rail.entry.js +149 -149
  398. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  399. package/dist/esm/ptc-search-field.entry.js +71 -71
  400. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  401. package/dist/esm/ptc-slit-card.entry.js +25 -25
  402. package/dist/esm/ptc-spacer.entry.js +27 -27
  403. package/dist/esm/ptc-span.entry.js +20 -20
  404. package/dist/esm/ptc-square-card.entry.js +10 -10
  405. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  406. package/dist/esm/ptc-sticky-section.entry.js +30 -30
  407. package/dist/esm/ptc-sticky-title.entry.js +23 -23
  408. package/dist/esm/ptc-subnav-card.entry.js +15 -15
  409. package/dist/esm/ptc-subnav.entry.js +24 -24
  410. package/dist/esm/ptc-svg-btn.entry.js +95 -95
  411. package/dist/esm/ptc-tab-list.entry.js +143 -143
  412. package/dist/esm/ptc-tab.entry.js +20 -20
  413. package/dist/esm/ptc-tabs.entry.js +47 -47
  414. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  415. package/dist/esm/ptc-theater-video-modal.entry.js +77 -77
  416. package/dist/esm/ptc-title.entry.js +67 -67
  417. package/dist/esm/ptc-tooltip.entry.js +95 -95
  418. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  419. package/dist/esm/ptc-value-prop-card.entry.js +13 -13
  420. package/dist/esm/ptcw-design.js +1 -1
  421. package/dist/esm/sequential-bundle-example.entry.js +108 -108
  422. package/dist/esm/sequential-bundle.entry.js +88 -88
  423. package/dist/esm/tab-content.entry.js +27 -27
  424. package/dist/esm/tab-header.entry.js +65 -65
  425. package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
  426. package/dist/ptcw-design/media/brands.svg +1381 -1381
  427. package/dist/ptcw-design/media/designer.svg +489 -489
  428. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  429. package/dist/ptcw-design/media/regular.svg +463 -463
  430. package/dist/ptcw-design/media/solid.svg +3016 -3016
  431. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  432. package/dist/ptcw-design/{p-63147b0a.entry.js → p-0f3f83d3.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-804fa554.entry.js → p-1c631848.entry.js} +1 -1
  434. package/dist/ptcw-design/p-3eff9a34.entry.js +1 -0
  435. package/dist/ptcw-design/{p-c49293f0.entry.js → p-7b34bb69.entry.js} +1 -1
  436. package/dist/ptcw-design/p-8536da5d.entry.js +1 -0
  437. package/dist/ptcw-design/{p-d72c0973.entry.js → p-8bf3dad0.entry.js} +1 -1
  438. package/dist/ptcw-design/p-93222081.entry.js +1 -0
  439. package/dist/ptcw-design/{p-d3c22e96.entry.js → p-b036ef99.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-726a8b6f.entry.js → p-cf7dc448.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-92695049.entry.js → p-e8a993bc.entry.js} +1 -1
  442. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  443. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  444. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  445. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  446. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  447. package/dist/types/components/list-item/list-item.d.ts +16 -16
  448. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  449. package/dist/types/components/my-component/my-component.d.ts +16 -16
  450. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  451. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  452. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  453. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  454. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +29 -29
  455. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
  456. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  457. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  458. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  459. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  460. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  461. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  462. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  463. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  464. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  465. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
  466. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  467. package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
  468. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  469. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  470. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
  471. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  472. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  473. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  474. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  475. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  476. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  477. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  478. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  479. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
  480. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  481. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
  482. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  483. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  484. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +24 -24
  485. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +14 -14
  486. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  487. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +20 -20
  488. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  489. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  490. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  491. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  492. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  493. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  494. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  495. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
  496. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  497. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  498. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  499. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  500. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  501. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  502. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +34 -34
  503. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  504. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  505. package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
  506. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  507. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  508. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  509. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  510. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  511. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  512. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -27
  513. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +22 -21
  514. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  515. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +78 -0
  516. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +110 -110
  517. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  518. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  519. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  520. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  521. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  522. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  523. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  524. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  525. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  526. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
  527. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  528. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  529. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  530. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  531. package/dist/types/components/ptc-select/ptc-select.d.ts +18 -18
  532. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  533. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  534. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  535. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  536. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  537. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  538. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  539. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  540. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  541. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  542. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  543. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
  544. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  545. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  546. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +38 -38
  547. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +27 -27
  548. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +11 -11
  549. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +15 -15
  550. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +12 -12
  551. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  552. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  553. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  554. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
  555. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
  556. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  557. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  558. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
  559. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  560. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  561. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  562. package/dist/types/components.d.ts +255 -186
  563. package/dist/types/index.d.ts +1 -1
  564. package/dist/types/utils/component.d.ts +1 -1
  565. package/dist/types/utils/interfaces.d.ts +32 -32
  566. package/dist/types/utils/utils.d.ts +5 -5
  567. package/package.json +88 -88
  568. package/readme.md +19 -19
  569. package/dist/ptcw-design/p-6e11536e.entry.js +0 -1
  570. package/dist/ptcw-design/p-f6cf3eea.entry.js +0 -1
  571. /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
  572. /package/dist/ptcw-design/{p-240733ce.js → p-711bcdad.js} +0 -0
@@ -2,45 +2,45 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-2
2
2
 
3
3
  const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus,.icon-toggle:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";
4
4
 
5
- const PtcButton = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.clickEvent = createEvent(this, "clickEvent", 7);
9
- this.disabled = false;
10
- this.active = false;
11
- this.type = 'button';
12
- this.color = 'ptc-primary';
13
- this.iconAnimation = '';
14
- this.iconPosition = 'icon-right';
15
- this.linkHref = undefined;
16
- this.linkTitle = undefined;
17
- this.target = '_self';
18
- this.rel = undefined;
19
- this.tabNav = 0;
20
- this.styles = undefined;
21
- this.textAlign = undefined;
22
- }
23
- clickEventHandler() {
24
- this.clickEvent.emit();
25
- }
26
- render() {
27
- const classMap = this.getCssClassMap();
28
- const Tag = !!this.linkHref ? 'a' : 'button';
29
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), this.iconAnimation == 'reveal-down' ?
30
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
31
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
32
- }
33
- getCssClassMap() {
34
- return {
35
- [this.color]: true,
36
- [this.iconAnimation]: true,
37
- [this.iconPosition]: true,
38
- ['disabled']: this.disabled ? true : false,
39
- ['active']: this.active ? true : false,
40
- [this.textAlign]: true
41
- };
42
- }
43
- };
5
+ const PtcButton = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.clickEvent = createEvent(this, "clickEvent", 7);
9
+ this.disabled = false;
10
+ this.active = false;
11
+ this.type = 'button';
12
+ this.color = 'ptc-primary';
13
+ this.iconAnimation = '';
14
+ this.iconPosition = 'icon-right';
15
+ this.linkHref = undefined;
16
+ this.linkTitle = undefined;
17
+ this.target = '_self';
18
+ this.rel = undefined;
19
+ this.tabNav = 0;
20
+ this.styles = undefined;
21
+ this.textAlign = undefined;
22
+ }
23
+ clickEventHandler() {
24
+ this.clickEvent.emit();
25
+ }
26
+ render() {
27
+ const classMap = this.getCssClassMap();
28
+ const Tag = !!this.linkHref ? 'a' : 'button';
29
+ return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), this.iconAnimation == 'reveal-down' ?
30
+ h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
31
+ h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
32
+ }
33
+ getCssClassMap() {
34
+ return {
35
+ [this.color]: true,
36
+ [this.iconAnimation]: true,
37
+ [this.iconPosition]: true,
38
+ ['disabled']: this.disabled ? true : false,
39
+ ['active']: this.active ? true : false,
40
+ [this.textAlign]: true
41
+ };
42
+ }
43
+ };
44
44
  PtcButton.style = ptcButtonCss;
45
45
 
46
46
  export { PtcButton as ptc_button };
@@ -2,137 +2,137 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
 
3
3
  const ptcCardBottomCss = ":host{display:block}: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)}@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%}}";
4
4
 
5
- const PtcCardBottom = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
- this.cardType = undefined;
11
- this.styles = undefined;
12
- }
13
- hoverEventHandler() {
14
- this.hoverEvent.emit();
15
- //if statement: the card type that doesn't need a hover event
16
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
17
- this.el.previousElementSibling.classList.add('mouse-hover');
18
- this.el.classList.add('mouse-hover-card-bottom');
19
- }
20
- }
21
- leaveEventHandler() {
22
- this.hoverEvent.emit();
23
- //if statement: the card type that doesn't need a hover event
24
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
25
- this.el.previousElementSibling.classList.remove('mouse-hover');
26
- this.el.classList.remove('mouse-hover-card-bottom');
27
- }
28
- }
29
- render() {
30
- const classMap = this.getCssClassMap();
31
- return (h(Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
32
- }
33
- getCssClassMap() {
34
- return {
35
- [this.cardType]: this.cardType ? true : false,
36
- };
37
- }
38
- get el() { return getElement(this); }
39
- };
5
+ const PtcCardBottom = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
+ this.cardType = undefined;
11
+ this.styles = undefined;
12
+ }
13
+ hoverEventHandler() {
14
+ this.hoverEvent.emit();
15
+ //if statement: the card type that doesn't need a hover event
16
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
17
+ this.el.previousElementSibling.classList.add('mouse-hover');
18
+ this.el.classList.add('mouse-hover-card-bottom');
19
+ }
20
+ }
21
+ leaveEventHandler() {
22
+ this.hoverEvent.emit();
23
+ //if statement: the card type that doesn't need a hover event
24
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
25
+ this.el.previousElementSibling.classList.remove('mouse-hover');
26
+ this.el.classList.remove('mouse-hover-card-bottom');
27
+ }
28
+ }
29
+ render() {
30
+ const classMap = this.getCssClassMap();
31
+ return (h(Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
32
+ }
33
+ getCssClassMap() {
34
+ return {
35
+ [this.cardType]: this.cardType ? true : false,
36
+ };
37
+ }
38
+ get el() { return getElement(this); }
39
+ };
40
40
  PtcCardBottom.style = ptcCardBottomCss;
41
41
 
42
42
  const ptcCardWrapperCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.extra-tall) a::after{content:\"\";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0);bottom:0;left:0;border-radius:var(--ptc-border-radius-large);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{background:rgba(0, 0, 0, 0.6)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}:host(.result-box){width:505px;border:1px solid #6A6A6A;padding-top:56px;padding-bottom:56px;border-radius:var(--ptc-border-radius-large)}:host(.result-box) div{display:flex;justify-content:center;align-items:center;flex-direction:column}:host(.simple-card){border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);box-shadow:var(--ptc-shadow-small);padding:var(--ptc-layout-spacing-03)}:host(.simple-card) a{text-decoration:none}:host(.simple-card) a:hover{text-decoration:none}";
43
43
 
44
- const PtcCardPlm = class {
45
- constructor(hostRef) {
46
- registerInstance(this, hostRef);
47
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
48
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
49
- this.cardType = undefined;
50
- this.cardLink = undefined;
51
- this.linkTitle = undefined;
52
- this.linkTarget = '_self';
53
- this.isLoading = false;
54
- this.styles = undefined;
55
- }
56
- handleResize() {
57
- this.checkScreenSize();
58
- }
59
- hoverEventHandler() {
60
- if (this.el.classList.contains('extra-tall')) {
61
- this.hoverEvent.emit();
62
- this.el.classList.add('extraT-overlay');
63
- }
64
- if (this.el.classList.contains('color-outlined')) {
65
- this.hoverEvent.emit();
66
- const cardOverlay = this.el.querySelector('ptc-overlay');
67
- cardOverlay.setOverlay('black-5');
68
- }
69
- }
70
- leaveEventHandler() {
71
- if (this.el.classList.contains('extra-tall')) {
72
- this.hoverEvent.emit();
73
- this.el.classList.remove('extraT-overlay');
74
- }
75
- if (this.el.classList.contains('color-outlined')) {
76
- this.hoverEvent.emit();
77
- const cardOverlay = this.el.querySelector('ptc-overlay');
78
- cardOverlay.setOverlay('black-4');
79
- }
80
- }
81
- componentDidLoad() {
82
- this.checkScreenSize();
83
- }
84
- render() {
85
- const classMap = this.getCssClassMap();
86
- const Tag = !!this.cardLink ? 'a' : 'div';
87
- return (h(Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h(Tag, Object.assign({}, (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
88
- }
89
- getCssClassMap() {
90
- return {
91
- [this.cardType]: this.cardType ? true : false,
92
- };
93
- }
94
- getBtmContentHeight() {
95
- const bottomContent = this.el.querySelector('ptc-card-bottom');
96
- return bottomContent.offsetHeight;
97
- }
98
- checkScreenSize() {
99
- if (this.cardType === 'extra-tall') {
100
- if (window.innerWidth < 768) {
101
- const cardContent = this.el.querySelector('ptc-card-content');
102
- if (cardContent) {
103
- cardContent.setHeight(this.getBtmContentHeight());
104
- }
105
- }
106
- else {
107
- const cardContent = this.el.querySelector('ptc-card-content');
108
- if (cardContent) {
109
- cardContent.removeInlineHeight();
110
- }
111
- }
112
- }
113
- }
114
- get el() { return getElement(this); }
115
- };
44
+ const PtcCardPlm = class {
45
+ constructor(hostRef) {
46
+ registerInstance(this, hostRef);
47
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
48
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
49
+ this.cardType = undefined;
50
+ this.cardLink = undefined;
51
+ this.linkTitle = undefined;
52
+ this.linkTarget = '_self';
53
+ this.isLoading = false;
54
+ this.styles = undefined;
55
+ }
56
+ handleResize() {
57
+ this.checkScreenSize();
58
+ }
59
+ hoverEventHandler() {
60
+ if (this.el.classList.contains('extra-tall')) {
61
+ this.hoverEvent.emit();
62
+ this.el.classList.add('extraT-overlay');
63
+ }
64
+ if (this.el.classList.contains('color-outlined')) {
65
+ this.hoverEvent.emit();
66
+ const cardOverlay = this.el.querySelector('ptc-overlay');
67
+ cardOverlay.setOverlay('black-5');
68
+ }
69
+ }
70
+ leaveEventHandler() {
71
+ if (this.el.classList.contains('extra-tall')) {
72
+ this.hoverEvent.emit();
73
+ this.el.classList.remove('extraT-overlay');
74
+ }
75
+ if (this.el.classList.contains('color-outlined')) {
76
+ this.hoverEvent.emit();
77
+ const cardOverlay = this.el.querySelector('ptc-overlay');
78
+ cardOverlay.setOverlay('black-4');
79
+ }
80
+ }
81
+ componentDidLoad() {
82
+ this.checkScreenSize();
83
+ }
84
+ render() {
85
+ const classMap = this.getCssClassMap();
86
+ const Tag = !!this.cardLink ? 'a' : 'div';
87
+ return (h(Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h(Tag, Object.assign({}, (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
88
+ }
89
+ getCssClassMap() {
90
+ return {
91
+ [this.cardType]: this.cardType ? true : false,
92
+ };
93
+ }
94
+ getBtmContentHeight() {
95
+ const bottomContent = this.el.querySelector('ptc-card-bottom');
96
+ return bottomContent.offsetHeight;
97
+ }
98
+ checkScreenSize() {
99
+ if (this.cardType === 'extra-tall') {
100
+ if (window.innerWidth < 768) {
101
+ const cardContent = this.el.querySelector('ptc-card-content');
102
+ if (cardContent) {
103
+ cardContent.setHeight(this.getBtmContentHeight());
104
+ }
105
+ }
106
+ else {
107
+ const cardContent = this.el.querySelector('ptc-card-content');
108
+ if (cardContent) {
109
+ cardContent.removeInlineHeight();
110
+ }
111
+ }
112
+ }
113
+ }
114
+ get el() { return getElement(this); }
115
+ };
116
116
  PtcCardPlm.style = ptcCardWrapperCss;
117
117
 
118
118
  const ptcSkeletonCss = ".content{display:flex;align-items:center;justify-content:center;height:100%;}.placeholder{width:100%;height:100%;min-height:1em;background:linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.08) 100%);background-size:400% 100%}@keyframes loading{0%{background-position:200% 0}100%{background-position:-200% 0}}.animated .placeholder{animation:loading 2.5s ease-in-out infinite}";
119
119
 
120
- const PtcSkeleton = class {
121
- constructor(hostRef) {
122
- registerInstance(this, hostRef);
123
- this.isLoading = true;
124
- this.animated = false;
125
- this.width = '100%';
126
- this.borderRadius = undefined;
127
- this.topMargin = "0px";
128
- this.btmMargin = "0px";
129
- }
130
- render() {
131
- const borderRadiusValue = this.borderRadius || getComputedStyle(document.documentElement).getPropertyValue('--ptc-border-radius-large');
132
- return (h("div", { class: `content ${this.animated && this.isLoading ? 'animated' : ''}`, style: { width: this.width, marginTop: this.topMargin, marginBottom: this.btmMargin } }, this.isLoading ? h("div", { class: "placeholder", style: { borderRadius: borderRadiusValue } }) : h("slot", null)));
133
- }
134
- get el() { return getElement(this); }
135
- };
120
+ const PtcSkeleton = class {
121
+ constructor(hostRef) {
122
+ registerInstance(this, hostRef);
123
+ this.isLoading = true;
124
+ this.animated = false;
125
+ this.width = '100%';
126
+ this.borderRadius = undefined;
127
+ this.topMargin = "0px";
128
+ this.btmMargin = "0px";
129
+ }
130
+ render() {
131
+ const borderRadiusValue = this.borderRadius || getComputedStyle(document.documentElement).getPropertyValue('--ptc-border-radius-large');
132
+ return (h("div", { class: `content ${this.animated && this.isLoading ? 'animated' : ''}`, style: { width: this.width, marginTop: this.topMargin, marginBottom: this.btmMargin } }, this.isLoading ? h("div", { class: "placeholder", style: { borderRadius: borderRadiusValue } }) : h("slot", null)));
133
+ }
134
+ get el() { return getElement(this); }
135
+ };
136
136
  PtcSkeleton.style = ptcSkeletonCss;
137
137
 
138
138
  export { PtcCardBottom as ptc_card_bottom, PtcCardPlm as ptc_card_wrapper, PtcSkeleton as ptc_skeleton };
@@ -2,63 +2,63 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
 
3
3
  const ptcCardContentCss = ":host{display:block;height:100%}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}";
4
4
 
5
- const PtcCardContent = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
- this.cardType = undefined;
11
- this.outlineColor = undefined;
12
- this.styles = undefined;
13
- this.isLoading = false;
14
- }
15
- hoverEventHandler() {
16
- if (!this.el.classList.contains('speed-bump') &&
17
- !this.el.classList.contains('card-video-intro') &&
18
- !this.el.classList.contains('card-dynamic') &&
19
- !this.el.classList.contains('extra-tall')) {
20
- this.hoverEvent.emit();
21
- this.el.classList.add('mouse-hover');
22
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
23
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
24
- }
25
- }
26
- }
27
- leaveEventHandler() {
28
- if (!this.el.classList.contains('speed-bump') &&
29
- !this.el.classList.contains('card-video-intro') &&
30
- !this.el.classList.contains('card-dynamic') &&
31
- !this.el.classList.contains('extra-tall')) {
32
- this.hoverEvent.emit();
33
- this.el.classList.remove('mouse-hover');
34
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
35
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
36
- }
37
- }
38
- }
39
- async setHeight(height) {
40
- this.el.style.height = height + 'px';
41
- const image = this.el.querySelector('ptc-picture');
42
- image.style.height = height + 'px';
43
- }
44
- async removeInlineHeight() {
45
- this.el.style.removeProperty('height');
46
- const image = this.el.querySelector('ptc-picture');
47
- if (image)
48
- image.style.removeProperty('height');
49
- }
50
- render() {
51
- const classMap = this.getCssClassMap();
52
- return (h(Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
53
- }
54
- getCssClassMap() {
55
- return {
56
- [this.cardType]: !!this.cardType ? true : false,
57
- [this.outlineColor]: !!this.outlineColor ? true : false,
58
- };
59
- }
60
- get el() { return getElement(this); }
61
- };
5
+ const PtcCardContent = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
+ this.cardType = undefined;
11
+ this.outlineColor = undefined;
12
+ this.styles = undefined;
13
+ this.isLoading = false;
14
+ }
15
+ hoverEventHandler() {
16
+ if (!this.el.classList.contains('speed-bump') &&
17
+ !this.el.classList.contains('card-video-intro') &&
18
+ !this.el.classList.contains('card-dynamic') &&
19
+ !this.el.classList.contains('extra-tall')) {
20
+ this.hoverEvent.emit();
21
+ this.el.classList.add('mouse-hover');
22
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
23
+ this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
24
+ }
25
+ }
26
+ }
27
+ leaveEventHandler() {
28
+ if (!this.el.classList.contains('speed-bump') &&
29
+ !this.el.classList.contains('card-video-intro') &&
30
+ !this.el.classList.contains('card-dynamic') &&
31
+ !this.el.classList.contains('extra-tall')) {
32
+ this.hoverEvent.emit();
33
+ this.el.classList.remove('mouse-hover');
34
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
35
+ this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
36
+ }
37
+ }
38
+ }
39
+ async setHeight(height) {
40
+ this.el.style.height = height + 'px';
41
+ const image = this.el.querySelector('ptc-picture');
42
+ image.style.height = height + 'px';
43
+ }
44
+ async removeInlineHeight() {
45
+ this.el.style.removeProperty('height');
46
+ const image = this.el.querySelector('ptc-picture');
47
+ if (image)
48
+ image.style.removeProperty('height');
49
+ }
50
+ render() {
51
+ const classMap = this.getCssClassMap();
52
+ return (h(Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
53
+ }
54
+ getCssClassMap() {
55
+ return {
56
+ [this.cardType]: !!this.cardType ? true : false,
57
+ [this.outlineColor]: !!this.outlineColor ? true : false,
58
+ };
59
+ }
60
+ get el() { return getElement(this); }
61
+ };
62
62
  PtcCardContent.style = ptcCardContentCss;
63
63
 
64
64
  export { PtcCardContent as ptc_card_content };