@ptcwebops/ptcw-design 2.7.9 → 2.7.10

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 (566) 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 +43 -43
  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-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  13. package/dist/cjs/list-item.cjs.entry.js +22 -22
  14. package/dist/cjs/max-width-container.cjs.entry.js +43 -43
  15. package/dist/cjs/my-component.cjs.entry.js +15 -15
  16. package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
  17. package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
  18. package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
  19. package/dist/cjs/ptc-back-to-top.cjs.entry.js +35 -35
  20. package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
  21. package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
  22. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +132 -132
  23. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +46 -46
  24. package/dist/cjs/ptc-button.cjs.entry.js +39 -39
  25. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +130 -130
  26. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
  27. package/dist/cjs/ptc-card.cjs.entry.js +74 -74
  28. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
  29. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  30. package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
  31. package/dist/cjs/ptc-container.cjs.entry.js +33 -33
  32. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  33. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  34. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +47 -47
  35. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
  36. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +89 -89
  37. package/dist/cjs/ptc-featured-list.cjs.entry.js +95 -95
  38. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +223 -223
  39. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +52 -52
  40. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  41. package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +220 -220
  42. package/dist/cjs/ptc-form.cjs.entry.js +78 -78
  43. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  44. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  45. package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
  46. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  47. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
  48. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
  49. package/dist/cjs/ptc-img.cjs.entry.js +122 -122
  50. package/dist/cjs/ptc-link.cjs.entry.js +48 -48
  51. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  52. package/dist/cjs/ptc-media-card.cjs.entry.js +58 -58
  53. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
  54. package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
  55. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +116 -107
  56. package/dist/cjs/ptc-modal.cjs.entry.js +150 -150
  57. package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
  58. package/dist/cjs/ptc-nav-link.cjs.entry.js +40 -40
  59. package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
  60. package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
  61. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
  62. package/dist/cjs/ptc-news.cjs.entry.js +24 -24
  63. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  64. package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
  65. package/dist/cjs/ptc-para.cjs.entry.js +51 -51
  66. package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
  67. package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
  68. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  69. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
  70. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +38 -38
  71. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  72. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +330 -330
  73. package/dist/cjs/ptc-pricing-table.cjs.entry.js +525 -525
  74. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
  75. package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
  76. package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
  77. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
  78. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
  79. package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
  80. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
  81. package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
  82. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  83. package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
  84. package/dist/cjs/ptc-readmore.cjs.entry.js +82 -82
  85. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
  86. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  87. package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
  88. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  89. package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
  90. package/dist/cjs/ptc-spacer.cjs.entry.js +27 -27
  91. package/dist/cjs/ptc-span.cjs.entry.js +20 -20
  92. package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
  93. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  94. package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
  95. package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
  96. package/dist/cjs/ptc-subnav-card.cjs.entry.js +15 -15
  97. package/dist/cjs/ptc-subnav.cjs.entry.js +24 -24
  98. package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
  99. package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
  100. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  101. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  102. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  103. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +77 -77
  104. package/dist/cjs/ptc-title.cjs.entry.js +67 -67
  105. package/dist/cjs/ptc-tooltip.cjs.entry.js +95 -95
  106. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  107. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
  108. package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
  109. package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
  110. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  111. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  112. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  113. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  114. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  115. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  116. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  117. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  118. package/dist/collection/components/icon-asset/media/designer.svg +489 -489
  119. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  120. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
  121. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  122. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  123. package/dist/collection/components/list-item/list-item.js +144 -144
  124. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  125. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  126. package/dist/collection/components/my-component/my-component.css +3 -3
  127. package/dist/collection/components/my-component/my-component.js +82 -82
  128. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  129. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
  130. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  131. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +79 -79
  132. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
  133. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
  134. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  135. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  136. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +98 -98
  137. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
  138. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
  139. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  140. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +90 -90
  141. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  142. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  143. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  144. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  145. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  146. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  147. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  148. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  149. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
  150. package/dist/collection/components/ptc-button/ptc-button.js +304 -304
  151. package/dist/collection/components/ptc-card/ptc-card.js +439 -439
  152. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  153. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  154. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +253 -253
  155. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  156. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  157. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  158. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  159. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  160. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  161. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  162. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  163. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  164. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
  165. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  166. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
  167. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  168. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
  169. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +134 -134
  170. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +98 -98
  171. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  172. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +209 -209
  173. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  174. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  175. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  176. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  177. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  178. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  179. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  180. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
  181. package/dist/collection/components/ptc-link/ptc-link.js +239 -239
  182. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  183. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  184. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  185. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
  186. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  187. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +1 -0
  188. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -182
  189. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  190. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  191. package/dist/collection/components/ptc-news/ptc-news.js +176 -176
  192. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  193. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  194. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  195. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  196. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  197. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  198. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -139
  199. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +75 -75
  200. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  201. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +471 -471
  202. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +680 -680
  203. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  204. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  205. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  206. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  207. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  208. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  209. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  210. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  211. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  212. package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
  213. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  214. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  215. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  216. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  217. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  218. package/dist/collection/components/ptc-select/ptc-select.js +190 -190
  219. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  220. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  221. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  222. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  223. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  224. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  225. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  226. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  227. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  228. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  229. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  230. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  231. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
  232. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  233. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  234. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +199 -199
  235. package/dist/collection/components/ptc-textfield/ptc-textfield.js +351 -351
  236. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +140 -140
  237. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +123 -123
  238. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +99 -99
  239. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  240. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  241. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  242. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
  243. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +135 -135
  244. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  245. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  246. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
  247. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  248. package/dist/collection/components/tab-content/tab-content.js +84 -84
  249. package/dist/collection/components/tab-header/tab-header.js +183 -183
  250. package/dist/collection/index.js +1 -1
  251. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  252. package/dist/collection/media/svg-imgs/close.svg +10 -10
  253. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  254. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  255. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  256. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  257. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  258. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  259. package/dist/collection/media/svg-imgs/union.svg +3 -3
  260. package/dist/collection/stories/Accordian.stories.js +205 -205
  261. package/dist/collection/stories/Announcement.stories.js +64 -64
  262. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  263. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  264. package/dist/collection/stories/Button.stories.js +119 -119
  265. package/dist/collection/stories/Card.stories.js +234 -234
  266. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  267. package/dist/collection/stories/Checkbox.stories.js +52 -52
  268. package/dist/collection/stories/Date.stories.js +81 -81
  269. package/dist/collection/stories/Dropdown.stories.js +48 -48
  270. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  271. package/dist/collection/stories/FilterTag.stories.js +73 -73
  272. package/dist/collection/stories/FormCheckbox.stories.js +57 -57
  273. package/dist/collection/stories/Hero.stories.js +119 -119
  274. package/dist/collection/stories/Icon.stories.js +71 -71
  275. package/dist/collection/stories/IconList.stories.js +114 -114
  276. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  277. package/dist/collection/stories/Link.stories.js +101 -101
  278. package/dist/collection/stories/ListItem.stories.js +59 -59
  279. package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
  280. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  281. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  282. package/dist/collection/stories/Modal.stories.js +105 -105
  283. package/dist/collection/stories/Overlay.stories.js +48 -48
  284. package/dist/collection/stories/Pagination.stories.js +101 -101
  285. package/dist/collection/stories/Paragraph.stories.js +95 -95
  286. package/dist/collection/stories/Picture.stories.js +139 -139
  287. package/dist/collection/stories/Quote.stories.js +107 -107
  288. package/dist/collection/stories/ReadMore.stories.js +100 -100
  289. package/dist/collection/stories/Select.stories.js +81 -81
  290. package/dist/collection/stories/SocialShare.stories.js +66 -66
  291. package/dist/collection/stories/Spacer.stories.js +48 -48
  292. package/dist/collection/stories/Span.stories.js +57 -57
  293. package/dist/collection/stories/SvgButton.stories.js +34 -34
  294. package/dist/collection/stories/Tabs.stories.js +213 -213
  295. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  296. package/dist/collection/stories/Textfield.stories.js +81 -81
  297. package/dist/collection/stories/Title.stories.js +115 -115
  298. package/dist/collection/stories/Tooltip.stories.js +112 -112
  299. package/dist/collection/utils/component.js +3 -3
  300. package/dist/collection/utils/interfaces.js +11 -11
  301. package/dist/collection/utils/utils.js +92 -92
  302. package/dist/custom-elements/index.js +7970 -7961
  303. package/dist/esm/author-listing-example.entry.js +232 -232
  304. package/dist/esm/bundle-example.entry.js +43 -43
  305. package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
  306. package/dist/esm/dropdown-item.entry.js +10 -10
  307. package/dist/esm/dynamic-box-bundle.entry.js +25 -25
  308. package/dist/esm/embedded-form.entry.js +82 -82
  309. package/dist/esm/featured-list.entry.js +90 -90
  310. package/dist/esm/fl-tab-content_3.entry.js +44 -44
  311. package/dist/esm/icon-asset.entry.js +42 -42
  312. package/dist/esm/innovator-toggle-container.entry.js +21 -21
  313. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  314. package/dist/esm/list-item.entry.js +22 -22
  315. package/dist/esm/max-width-container.entry.js +43 -43
  316. package/dist/esm/my-component.entry.js +15 -15
  317. package/dist/esm/polyfills/core-js.js +0 -0
  318. package/dist/esm/polyfills/dom.js +0 -0
  319. package/dist/esm/polyfills/es5-html-element.js +0 -0
  320. package/dist/esm/polyfills/index.js +0 -0
  321. package/dist/esm/polyfills/system.js +0 -0
  322. package/dist/esm/ptc-accordion-item.entry.js +84 -84
  323. package/dist/esm/ptc-accordion.entry.js +39 -39
  324. package/dist/esm/ptc-announcement.entry.js +52 -52
  325. package/dist/esm/ptc-back-to-top.entry.js +35 -35
  326. package/dist/esm/ptc-background-video.entry.js +57 -57
  327. package/dist/esm/ptc-bio-card.entry.js +24 -24
  328. package/dist/esm/ptc-breadcrumb_2.entry.js +132 -132
  329. package/dist/esm/ptc-brightcov-video.entry.js +46 -46
  330. package/dist/esm/ptc-button.entry.js +39 -39
  331. package/dist/esm/ptc-card-bottom_3.entry.js +130 -130
  332. package/dist/esm/ptc-card-content.entry.js +57 -57
  333. package/dist/esm/ptc-card.entry.js +74 -74
  334. package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
  335. package/dist/esm/ptc-checkbox.entry.js +50 -50
  336. package/dist/esm/ptc-collapse-list.entry.js +397 -397
  337. package/dist/esm/ptc-container.entry.js +33 -33
  338. package/dist/esm/ptc-date.entry.js +50 -50
  339. package/dist/esm/ptc-dropdown.entry.js +64 -64
  340. package/dist/esm/ptc-dynamic-card.entry.js +47 -47
  341. package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
  342. package/dist/esm/ptc-embedded-quiz.entry.js +89 -89
  343. package/dist/esm/ptc-featured-list.entry.js +95 -95
  344. package/dist/esm/ptc-filter-dropdown_4.entry.js +223 -223
  345. package/dist/esm/ptc-filter-level-theater.entry.js +52 -52
  346. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  347. package/dist/esm/ptc-form-checkbox_3.entry.js +220 -220
  348. package/dist/esm/ptc-form.entry.js +78 -78
  349. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  350. package/dist/esm/ptc-hero.entry.js +18 -18
  351. package/dist/esm/ptc-icon-component.entry.js +60 -60
  352. package/dist/esm/ptc-icon-list.entry.js +21 -21
  353. package/dist/esm/ptc-icon-minimize.entry.js +43 -43
  354. package/dist/esm/ptc-image-download-strip.entry.js +18 -18
  355. package/dist/esm/ptc-img.entry.js +122 -122
  356. package/dist/esm/ptc-link.entry.js +48 -48
  357. package/dist/esm/ptc-list.entry.js +49 -49
  358. package/dist/esm/ptc-media-card.entry.js +58 -58
  359. package/dist/esm/ptc-minimized-nav.entry.js +12 -12
  360. package/dist/esm/ptc-mobile-select.entry.js +62 -62
  361. package/dist/esm/ptc-modal-quiz.entry.js +116 -107
  362. package/dist/esm/ptc-modal.entry.js +150 -150
  363. package/dist/esm/ptc-nav-card.entry.js +36 -36
  364. package/dist/esm/ptc-nav-link.entry.js +40 -40
  365. package/dist/esm/ptc-nav-pills.entry.js +8 -8
  366. package/dist/esm/ptc-nav-slider.entry.js +90 -90
  367. package/dist/esm/ptc-nav-submenu.entry.js +37 -37
  368. package/dist/esm/ptc-news.entry.js +24 -24
  369. package/dist/esm/ptc-overlay.entry.js +23 -23
  370. package/dist/esm/ptc-pagenation.entry.js +306 -306
  371. package/dist/esm/ptc-para.entry.js +51 -51
  372. package/dist/esm/ptc-picture.entry.js +152 -152
  373. package/dist/esm/ptc-podcast-card.entry.js +11 -11
  374. package/dist/esm/ptc-previous-url.entry.js +11 -11
  375. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  376. package/dist/esm/ptc-pricing-add-on-section.entry.js +38 -38
  377. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  378. package/dist/esm/ptc-pricing-packaging-table.entry.js +330 -330
  379. package/dist/esm/ptc-pricing-table.entry.js +525 -525
  380. package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
  381. package/dist/esm/ptc-product-card.entry.js +22 -22
  382. package/dist/esm/ptc-product-category.entry.js +10 -10
  383. package/dist/esm/ptc-product-dropdown.entry.js +69 -69
  384. package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
  385. package/dist/esm/ptc-product-list.entry.js +140 -140
  386. package/dist/esm/ptc-product-sidebar.entry.js +128 -128
  387. package/dist/esm/ptc-progress-bar.entry.js +16 -16
  388. package/dist/esm/ptc-quote.entry.js +23 -23
  389. package/dist/esm/ptc-readmore-char.entry.js +24 -24
  390. package/dist/esm/ptc-readmore.entry.js +82 -82
  391. package/dist/esm/ptc-related-card-rail.entry.js +149 -149
  392. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  393. package/dist/esm/ptc-search-field.entry.js +71 -71
  394. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  395. package/dist/esm/ptc-slit-card.entry.js +25 -25
  396. package/dist/esm/ptc-spacer.entry.js +27 -27
  397. package/dist/esm/ptc-span.entry.js +20 -20
  398. package/dist/esm/ptc-square-card.entry.js +10 -10
  399. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  400. package/dist/esm/ptc-sticky-section.entry.js +30 -30
  401. package/dist/esm/ptc-sticky-title.entry.js +23 -23
  402. package/dist/esm/ptc-subnav-card.entry.js +15 -15
  403. package/dist/esm/ptc-subnav.entry.js +24 -24
  404. package/dist/esm/ptc-svg-btn.entry.js +95 -95
  405. package/dist/esm/ptc-tab-list.entry.js +143 -143
  406. package/dist/esm/ptc-tab.entry.js +20 -20
  407. package/dist/esm/ptc-tabs.entry.js +47 -47
  408. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  409. package/dist/esm/ptc-theater-video-modal.entry.js +77 -77
  410. package/dist/esm/ptc-title.entry.js +67 -67
  411. package/dist/esm/ptc-tooltip.entry.js +95 -95
  412. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  413. package/dist/esm/ptc-value-prop-card.entry.js +13 -13
  414. package/dist/esm/sequential-bundle-example.entry.js +108 -108
  415. package/dist/esm/sequential-bundle.entry.js +88 -88
  416. package/dist/esm/tab-content.entry.js +27 -27
  417. package/dist/esm/tab-header.entry.js +65 -65
  418. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  419. package/dist/ptcw-design/media/brands.svg +1381 -1381
  420. package/dist/ptcw-design/media/designer.svg +489 -489
  421. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  422. package/dist/ptcw-design/media/regular.svg +463 -463
  423. package/dist/ptcw-design/media/solid.svg +3016 -3016
  424. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  425. package/dist/ptcw-design/{p-cffa0871.entry.js → p-0ba60789.entry.js} +1 -1
  426. package/dist/ptcw-design/p-28f642a0.entry.js +1 -0
  427. package/dist/ptcw-design/{p-003e61e7.entry.js → p-3e52fe43.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-40a6e32d.entry.js → p-5893a183.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-1aec473a.entry.js → p-86130704.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-1eafcbf6.entry.js → p-91523059.entry.js} +1 -1
  431. package/dist/ptcw-design/p-e21c0fa1.entry.js +1 -0
  432. package/dist/ptcw-design/{p-3aa32e28.entry.js → p-ee7854e1.entry.js} +1 -1
  433. package/dist/ptcw-design/p-f00b4b73.entry.js +1 -0
  434. package/dist/ptcw-design/{p-d8fbe29e.entry.js → p-f69859ae.entry.js} +1 -1
  435. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  436. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  437. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  438. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  439. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  440. package/dist/types/components/list-item/list-item.d.ts +16 -16
  441. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  442. package/dist/types/components/my-component/my-component.d.ts +16 -16
  443. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  444. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +14 -14
  445. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  446. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  447. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +29 -29
  448. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
  449. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  450. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  451. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  452. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  453. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  454. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  455. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  456. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  457. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  458. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
  459. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  460. package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
  461. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  462. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  463. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +30 -30
  464. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  465. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  466. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  467. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  468. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  469. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  470. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  471. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  472. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
  473. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  474. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
  475. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  476. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  477. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +24 -24
  478. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +14 -14
  479. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  480. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +20 -20
  481. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  482. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  483. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  484. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  485. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  486. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  487. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  488. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
  489. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  490. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  491. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  492. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  493. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  494. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  495. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +36 -35
  496. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  497. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  498. package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
  499. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  500. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  501. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  502. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  503. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  504. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  505. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -31
  506. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +22 -22
  507. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  508. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +78 -78
  509. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +110 -110
  510. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  511. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  512. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  513. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  514. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  515. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  516. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  517. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  518. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  519. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
  520. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  521. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  522. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  523. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  524. package/dist/types/components/ptc-select/ptc-select.d.ts +18 -18
  525. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  526. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  527. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  528. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  529. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  530. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  531. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  532. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  533. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  534. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  535. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  536. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
  537. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  538. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  539. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +38 -38
  540. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +27 -27
  541. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +11 -11
  542. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +15 -15
  543. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +12 -12
  544. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  545. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  546. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  547. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
  548. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
  549. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  550. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  551. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
  552. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  553. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  554. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  555. package/dist/types/components.d.ts +186 -186
  556. package/dist/types/index.d.ts +1 -1
  557. package/dist/types/utils/component.d.ts +1 -1
  558. package/dist/types/utils/interfaces.d.ts +32 -32
  559. package/dist/types/utils/utils.d.ts +5 -5
  560. package/package.json +88 -88
  561. package/readme.md +19 -19
  562. package/dist/ptcw-design/p-03d6c8f4.entry.js +0 -1
  563. package/dist/ptcw-design/p-d6645d4e.entry.js +0 -1
  564. package/dist/ptcw-design/p-f363d813.entry.js +0 -1
  565. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  566. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2018
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2018
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -6,238 +6,238 @@ const index = require('./index-cd9a1b1a.js');
6
6
 
7
7
  const authorListingExampleCss = ":host{display:block}:host .loader{margin:5rem auto;max-width:45px;position:relative;width:100%}:host .author-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:2rem;grid-column-gap:2rem;justify-content:center}:host .author-grid .author-col{width:100%}@media (min-width: 768px){:host .author-grid .author-col{width:calc(50% - 21.3333333px)}}@media (min-width: 992px){:host .author-grid .author-col{width:calc(33.333333333333% - 21.3333333px)}}";
8
8
 
9
- const AuthorListingExample = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.defaultAuthorImage = undefined;
13
- this.isLoading = false;
14
- this.loadedCardCount = 0;
15
- this.cardsPerLoad = 9;
16
- this.cardData = [
17
- {
18
- id: 1,
19
- authorName: "Aaron Shaw",
20
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
21
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
22
- description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
23
- },
24
- {
25
- id: 2,
26
- authorName: "Abby Eon",
27
- imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
28
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
29
- description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
30
- },
31
- {
32
- id: 3,
33
- authorName: "Catherine Kniker",
34
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
35
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
36
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
37
- },
38
- {
39
- id: 4,
40
- authorName: "Maria Lowry, Manager, Kalypso",
41
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
42
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
43
- description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
44
- },
45
- {
46
- id: 5,
47
- authorName: "Author name",
48
- imageUrl: "",
49
- DetailPagelink: "#",
50
- description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
51
- },
52
- {
53
- id: 1,
54
- authorName: "Aaron Shaw",
55
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
56
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
57
- description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
58
- },
59
- {
60
- id: 2,
61
- authorName: "Abby Eon",
62
- imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
63
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
64
- description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
65
- },
66
- {
67
- id: 3,
68
- authorName: "Catherine Kniker",
69
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
70
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
71
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
72
- },
73
- {
74
- id: 4,
75
- authorName: "Maria Lowry, Manager, Kalypso",
76
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
77
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
78
- description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
79
- },
80
- {
81
- id: 5,
82
- authorName: "Author name",
83
- imageUrl: "",
84
- DetailPagelink: "#",
85
- description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
86
- }, {
87
- id: 6,
88
- authorName: "Aaron Shaw",
89
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
90
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
91
- description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
92
- },
93
- {
94
- id: 7,
95
- authorName: "Abby Eon",
96
- imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
97
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
98
- description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
99
- },
100
- {
101
- id: 8,
102
- authorName: "Catherine Kniker",
103
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
104
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
105
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
106
- },
107
- {
108
- id: 9,
109
- authorName: "Maria Lowry, Manager, Kalypso",
110
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
111
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
112
- description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
113
- },
114
- {
115
- id: 10,
116
- authorName: "Author name",
117
- imageUrl: "",
118
- DetailPagelink: "#",
119
- description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
120
- }, {
121
- id: 11,
122
- authorName: "Aaron Shaw",
123
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
124
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
125
- description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
126
- },
127
- {
128
- id: 12,
129
- authorName: "Abby Eon",
130
- imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
131
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
132
- description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
133
- },
134
- {
135
- id: 13,
136
- authorName: "Catherine Kniker",
137
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
138
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
139
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
140
- },
141
- {
142
- id: 14,
143
- authorName: "Maria Lowry, Manager, Kalypso",
144
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
145
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
146
- description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
147
- },
148
- {
149
- id: 15,
150
- authorName: "Author name",
151
- imageUrl: "",
152
- DetailPagelink: "#",
153
- description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
154
- },
155
- {
156
- id: 16,
157
- authorName: "Aaron Shaw",
158
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
159
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
160
- description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
161
- },
162
- {
163
- id: 17,
164
- authorName: "Abby Eon",
165
- imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
166
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
167
- description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
168
- },
169
- {
170
- id: 18,
171
- authorName: "Catherine Kniker",
172
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
173
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
174
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
175
- },
176
- {
177
- id: 19,
178
- authorName: "Maria Lowry, Manager, Kalypso",
179
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
180
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
181
- description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
182
- },
183
- {
184
- id: 20,
185
- authorName: "Author name",
186
- imageUrl: "",
187
- DetailPagelink: "#",
188
- description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
189
- },
190
- {
191
- id: 21,
192
- authorName: "Catherine Kniker",
193
- imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
194
- DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
195
- description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
196
- },
197
- ];
198
- }
199
- componentWillLoad() {
200
- this.loadMoreCards();
201
- }
202
- handleScroll() {
203
- const windowHeight = window.innerHeight;
204
- const documentHeight = document.documentElement.scrollHeight;
205
- const scrollTop = window.scrollY || document.documentElement.scrollTop;
206
- const scrollBottom = scrollTop + windowHeight;
207
- const threshold = 5;
208
- if (!this.isLoading && scrollBottom + threshold >= documentHeight) {
209
- this.loadMoreCards();
210
- }
211
- }
212
- async loadMoreCards() {
213
- if (this.loadedCardCount < this.cardData.length) {
214
- this.isLoading = true;
215
- const visibleCardData = this.cardData.slice(this.loadedCardCount, this.loadedCardCount + this.cardsPerLoad);
216
- const promises = visibleCardData.map((card) => {
217
- return new Promise((resolve) => {
218
- const image = new Image();
219
- image.src = card.imageUrl;
220
- image.onload = () => {
221
- resolve();
222
- };
223
- image.onerror = () => {
224
- // Load a dummy image in case of error
225
- card.imageUrl = this.defaultAuthorImage;
226
- resolve();
227
- };
228
- });
229
- });
230
- await Promise.all(promises);
231
- this.loadedCardCount += this.cardsPerLoad;
232
- this.isLoading = false;
233
- }
234
- }
235
- render() {
236
- const visibleCards = this.cardData.slice(0, this.loadedCardCount);
237
- return (index.h("div", null, index.h("div", { class: "author-grid" }, visibleCards.map((card, index$1) => (index.h("div", { class: "author-col", key: index$1 }, index.h("ptc-card", { "has-image": "true", "card-type": "related-card", "card-href": card.DetailPagelink, heading: card.authorName }, index.h("ptc-img", { slot: "slot-image", "img-url": card.imageUrl, "image-type": "smart-img", "load-mode": "lazy-bg" }), index.h("div", { slot: "slot-description" }, index.h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-auto" }, index.h("ptc-tooltip", { description: card.description, "text-lines": "4", "z-index": "z-auto" })))))))), this.isLoading && index.h("div", { class: "loader" }, index.h("svg", { preserveAspectRatio: "xMinYMin meet", fill: "#3CC73D", x: "0px", y: "0px", version: "1.1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 182.1 210.2" }, index.h("title", null, "list-loading"), index.h("path", { d: "M91,21.2l72.6,41.9v83.9L91,189l-72.6-41.9V63.2L91,21.2 M91,0L0,52.6v105.1l91,52.6l91-52.6V52.6L91,0L91,0z" }), index.h("g", null, index.h("polygon", { points: "67.5,105.5 67.5,163.1 67.5,165.4 43.9,151.8 43.9,149.4 43.9,100" }), index.h("polygon", { opacity: "0.7", points: "43.6,100.1 43.8,100 43.9,100 43.9,149.4 43.9,149.4 43.9,151.8 30.3,144 30.3,141.6 30.3,106.6" }), index.h("animate", { attributeName: "fill-opacity", begin: "100ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), index.h("g", null, index.h("polygon", { points: "109.6,88.6 109.6,166.2 109.6,168.3 91,179 81.1,173.3 81.1,170.9 81.1,84.2" }), index.h("polygon", { opacity: "0.7", points: "81.1,84.2 81.1,170.9 81.1,173.3 67.5,165.4 67.5,163.1 67.5,105.5" }), index.h("animate", { attributeName: "fill-opacity", begin: "300ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), index.h("g", null, index.h("polygon", { points: "154,70.2 154,70.2 154,142.7 122.9,160.5 122.9,158.5 122.9,65.8" }), index.h("polygon", { opacity: "0.7", points: "122.9,65.8 122.9,158.5 122.9,160.5 109.6,168.3 109.6,168.3 109.6,166.2 109.6,88.6" }), index.h("animate", { attributeName: "fill-opacity", begin: "500ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" }))))));
238
- }
239
- get el() { return index.getElement(this); }
240
- };
9
+ const AuthorListingExample = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.defaultAuthorImage = undefined;
13
+ this.isLoading = false;
14
+ this.loadedCardCount = 0;
15
+ this.cardsPerLoad = 9;
16
+ this.cardData = [
17
+ {
18
+ id: 1,
19
+ authorName: "Aaron Shaw",
20
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
21
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
22
+ description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
23
+ },
24
+ {
25
+ id: 2,
26
+ authorName: "Abby Eon",
27
+ imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
28
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
29
+ description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
30
+ },
31
+ {
32
+ id: 3,
33
+ authorName: "Catherine Kniker",
34
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
35
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
36
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
37
+ },
38
+ {
39
+ id: 4,
40
+ authorName: "Maria Lowry, Manager, Kalypso",
41
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
42
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
43
+ description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
44
+ },
45
+ {
46
+ id: 5,
47
+ authorName: "Author name",
48
+ imageUrl: "",
49
+ DetailPagelink: "#",
50
+ description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
51
+ },
52
+ {
53
+ id: 1,
54
+ authorName: "Aaron Shaw",
55
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
56
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
57
+ description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
58
+ },
59
+ {
60
+ id: 2,
61
+ authorName: "Abby Eon",
62
+ imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
63
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
64
+ description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
65
+ },
66
+ {
67
+ id: 3,
68
+ authorName: "Catherine Kniker",
69
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
70
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
71
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
72
+ },
73
+ {
74
+ id: 4,
75
+ authorName: "Maria Lowry, Manager, Kalypso",
76
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
77
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
78
+ description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
79
+ },
80
+ {
81
+ id: 5,
82
+ authorName: "Author name",
83
+ imageUrl: "",
84
+ DetailPagelink: "#",
85
+ description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
86
+ }, {
87
+ id: 6,
88
+ authorName: "Aaron Shaw",
89
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
90
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
91
+ description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
92
+ },
93
+ {
94
+ id: 7,
95
+ authorName: "Abby Eon",
96
+ imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
97
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
98
+ description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
99
+ },
100
+ {
101
+ id: 8,
102
+ authorName: "Catherine Kniker",
103
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
104
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
105
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
106
+ },
107
+ {
108
+ id: 9,
109
+ authorName: "Maria Lowry, Manager, Kalypso",
110
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
111
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
112
+ description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
113
+ },
114
+ {
115
+ id: 10,
116
+ authorName: "Author name",
117
+ imageUrl: "",
118
+ DetailPagelink: "#",
119
+ description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
120
+ }, {
121
+ id: 11,
122
+ authorName: "Aaron Shaw",
123
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
124
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
125
+ description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
126
+ },
127
+ {
128
+ id: 12,
129
+ authorName: "Abby Eon",
130
+ imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
131
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
132
+ description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
133
+ },
134
+ {
135
+ id: 13,
136
+ authorName: "Catherine Kniker",
137
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
138
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
139
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
140
+ },
141
+ {
142
+ id: 14,
143
+ authorName: "Maria Lowry, Manager, Kalypso",
144
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
145
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
146
+ description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
147
+ },
148
+ {
149
+ id: 15,
150
+ authorName: "Author name",
151
+ imageUrl: "",
152
+ DetailPagelink: "#",
153
+ description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
154
+ },
155
+ {
156
+ id: 16,
157
+ authorName: "Aaron Shaw",
158
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
159
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
160
+ description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
161
+ },
162
+ {
163
+ id: 17,
164
+ authorName: "Abby Eon",
165
+ imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
166
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
167
+ description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
168
+ },
169
+ {
170
+ id: 18,
171
+ authorName: "Catherine Kniker",
172
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
173
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
174
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
175
+ },
176
+ {
177
+ id: 19,
178
+ authorName: "Maria Lowry, Manager, Kalypso",
179
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
180
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
181
+ description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
182
+ },
183
+ {
184
+ id: 20,
185
+ authorName: "Author name",
186
+ imageUrl: "",
187
+ DetailPagelink: "#",
188
+ description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
189
+ },
190
+ {
191
+ id: 21,
192
+ authorName: "Catherine Kniker",
193
+ imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
194
+ DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
195
+ description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
196
+ },
197
+ ];
198
+ }
199
+ componentWillLoad() {
200
+ this.loadMoreCards();
201
+ }
202
+ handleScroll() {
203
+ const windowHeight = window.innerHeight;
204
+ const documentHeight = document.documentElement.scrollHeight;
205
+ const scrollTop = window.scrollY || document.documentElement.scrollTop;
206
+ const scrollBottom = scrollTop + windowHeight;
207
+ const threshold = 5;
208
+ if (!this.isLoading && scrollBottom + threshold >= documentHeight) {
209
+ this.loadMoreCards();
210
+ }
211
+ }
212
+ async loadMoreCards() {
213
+ if (this.loadedCardCount < this.cardData.length) {
214
+ this.isLoading = true;
215
+ const visibleCardData = this.cardData.slice(this.loadedCardCount, this.loadedCardCount + this.cardsPerLoad);
216
+ const promises = visibleCardData.map((card) => {
217
+ return new Promise((resolve) => {
218
+ const image = new Image();
219
+ image.src = card.imageUrl;
220
+ image.onload = () => {
221
+ resolve();
222
+ };
223
+ image.onerror = () => {
224
+ // Load a dummy image in case of error
225
+ card.imageUrl = this.defaultAuthorImage;
226
+ resolve();
227
+ };
228
+ });
229
+ });
230
+ await Promise.all(promises);
231
+ this.loadedCardCount += this.cardsPerLoad;
232
+ this.isLoading = false;
233
+ }
234
+ }
235
+ render() {
236
+ const visibleCards = this.cardData.slice(0, this.loadedCardCount);
237
+ return (index.h("div", null, index.h("div", { class: "author-grid" }, visibleCards.map((card, index$1) => (index.h("div", { class: "author-col", key: index$1 }, index.h("ptc-card", { "has-image": "true", "card-type": "related-card", "card-href": card.DetailPagelink, heading: card.authorName }, index.h("ptc-img", { slot: "slot-image", "img-url": card.imageUrl, "image-type": "smart-img", "load-mode": "lazy-bg" }), index.h("div", { slot: "slot-description" }, index.h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-auto" }, index.h("ptc-tooltip", { description: card.description, "text-lines": "4", "z-index": "z-auto" })))))))), this.isLoading && index.h("div", { class: "loader" }, index.h("svg", { preserveAspectRatio: "xMinYMin meet", fill: "#3CC73D", x: "0px", y: "0px", version: "1.1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 182.1 210.2" }, index.h("title", null, "list-loading"), index.h("path", { d: "M91,21.2l72.6,41.9v83.9L91,189l-72.6-41.9V63.2L91,21.2 M91,0L0,52.6v105.1l91,52.6l91-52.6V52.6L91,0L91,0z" }), index.h("g", null, index.h("polygon", { points: "67.5,105.5 67.5,163.1 67.5,165.4 43.9,151.8 43.9,149.4 43.9,100" }), index.h("polygon", { opacity: "0.7", points: "43.6,100.1 43.8,100 43.9,100 43.9,149.4 43.9,149.4 43.9,151.8 30.3,144 30.3,141.6 30.3,106.6" }), index.h("animate", { attributeName: "fill-opacity", begin: "100ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), index.h("g", null, index.h("polygon", { points: "109.6,88.6 109.6,166.2 109.6,168.3 91,179 81.1,173.3 81.1,170.9 81.1,84.2" }), index.h("polygon", { opacity: "0.7", points: "81.1,84.2 81.1,170.9 81.1,173.3 67.5,165.4 67.5,163.1 67.5,105.5" }), index.h("animate", { attributeName: "fill-opacity", begin: "300ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), index.h("g", null, index.h("polygon", { points: "154,70.2 154,70.2 154,142.7 122.9,160.5 122.9,158.5 122.9,65.8" }), index.h("polygon", { opacity: "0.7", points: "122.9,65.8 122.9,158.5 122.9,160.5 109.6,168.3 109.6,168.3 109.6,166.2 109.6,88.6" }), index.h("animate", { attributeName: "fill-opacity", begin: "500ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" }))))));
238
+ }
239
+ get el() { return index.getElement(this); }
240
+ };
241
241
  AuthorListingExample.style = authorListingExampleCss;
242
242
 
243
243
  exports.author_listing_example = AuthorListingExample;