@ptcwebops/ptcw-design 2.3.0 → 2.3.2

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 (634) 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 +31 -31
  4. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
  5. package/dist/cjs/{core-332e5461.js → core-1951cc85.js} +91 -29
  6. package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
  7. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +26 -26
  8. package/dist/cjs/featured-list.cjs.entry.js +84 -84
  9. package/dist/cjs/fl-tab-content_3.cjs.entry.js +41 -41
  10. package/dist/cjs/icon-asset.cjs.entry.js +43 -43
  11. package/dist/cjs/{index-1662de74.js → index-dddc2aea.js} +72 -1
  12. package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
  13. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  14. package/dist/cjs/list-item.cjs.entry.js +23 -23
  15. package/dist/cjs/loader.cjs.js +3 -3
  16. package/dist/cjs/max-width-container.cjs.entry.js +44 -44
  17. package/dist/cjs/my-component.cjs.entry.js +16 -16
  18. package/dist/cjs/{pagination-8d9d474d.js → pagination-d20b7968.js} +24 -6
  19. package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
  20. package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
  21. package/dist/cjs/ptc-announcement.cjs.entry.js +53 -53
  22. package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
  23. package/dist/cjs/ptc-background-video.cjs.entry.js +58 -58
  24. package/dist/cjs/ptc-bio-card.cjs.entry.js +25 -25
  25. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +121 -121
  26. package/dist/cjs/ptc-button.cjs.entry.js +40 -40
  27. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +124 -124
  28. package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
  29. package/dist/cjs/ptc-card.cjs.entry.js +73 -73
  30. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +92 -83
  31. package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
  32. package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
  33. package/dist/cjs/ptc-container.cjs.entry.js +34 -34
  34. package/dist/cjs/ptc-date.cjs.entry.js +51 -51
  35. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  36. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  37. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
  38. package/dist/cjs/ptc-featured-list.cjs.entry.js +83 -83
  39. package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
  40. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
  41. package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
  42. package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
  43. package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
  44. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
  45. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
  46. package/dist/cjs/ptc-img.cjs.entry.js +123 -123
  47. package/dist/cjs/ptc-link.cjs.entry.js +34 -34
  48. package/dist/cjs/ptc-list.cjs.entry.js +50 -50
  49. package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
  50. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +13 -13
  51. package/dist/cjs/ptc-mobile-select.cjs.entry.js +157 -139
  52. package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
  53. package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
  54. package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
  55. package/dist/cjs/ptc-nav-pills.cjs.entry.js +9 -9
  56. package/dist/cjs/ptc-nav-slider.cjs.entry.js +91 -91
  57. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +38 -38
  58. package/dist/cjs/ptc-news.cjs.entry.js +18 -18
  59. package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
  60. package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
  61. package/dist/cjs/ptc-para.cjs.entry.js +52 -52
  62. package/dist/cjs/ptc-picture.cjs.entry.js +153 -153
  63. package/dist/cjs/ptc-podcast-card.cjs.entry.js +12 -12
  64. package/dist/cjs/ptc-previous-url.cjs.entry.js +12 -12
  65. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
  66. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +40 -40
  67. package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
  68. package/dist/cjs/ptc-pricing-table.cjs.entry.js +427 -427
  69. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
  70. package/dist/cjs/ptc-product-card.cjs.entry.js +23 -23
  71. package/dist/cjs/ptc-product-category.cjs.entry.js +11 -11
  72. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +70 -70
  73. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +13 -13
  74. package/dist/cjs/ptc-product-list.cjs.entry.js +141 -141
  75. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +129 -129
  76. package/dist/cjs/ptc-progress-bar.cjs.entry.js +17 -17
  77. package/dist/cjs/ptc-quiz.cjs.entry.js +83 -0
  78. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  79. package/dist/cjs/ptc-readmore-char.cjs.entry.js +25 -25
  80. package/dist/cjs/ptc-readmore.cjs.entry.js +78 -78
  81. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +150 -150
  82. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
  83. package/dist/cjs/ptc-search-field.cjs.entry.js +72 -72
  84. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
  85. package/dist/cjs/ptc-slit-card.cjs.entry.js +26 -26
  86. package/dist/cjs/ptc-social-share.cjs.entry.js +70 -70
  87. package/dist/cjs/ptc-spacer.cjs.entry.js +28 -28
  88. package/dist/cjs/ptc-span.cjs.entry.js +21 -21
  89. package/dist/cjs/ptc-square-card.cjs.entry.js +11 -11
  90. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
  91. package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
  92. package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
  93. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  94. package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
  95. package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
  96. package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
  97. package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
  98. package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
  99. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  100. package/dist/cjs/ptc-title.cjs.entry.js +68 -68
  101. package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
  102. package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
  103. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
  104. package/dist/cjs/ptcw-design.cjs.js +3 -3
  105. package/dist/cjs/sequential-bundle-example.cjs.entry.js +110 -110
  106. package/dist/cjs/sequential-bundle.cjs.entry.js +90 -90
  107. package/dist/cjs/tab-content.cjs.entry.js +28 -28
  108. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  109. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  110. package/dist/collection/collection-manifest.json +2 -1
  111. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  112. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  113. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  114. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  115. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  116. package/dist/collection/components/icon-asset/media/designer.svg +489 -482
  117. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  118. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3013
  119. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  120. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  121. package/dist/collection/components/list-item/list-item.js +144 -144
  122. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  123. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  124. package/dist/collection/components/my-component/my-component.css +3 -3
  125. package/dist/collection/components/my-component/my-component.js +82 -82
  126. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  127. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +281 -281
  128. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  129. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
  130. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
  131. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
  132. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  133. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  134. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  135. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
  136. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  137. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  138. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  139. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  140. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  141. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  142. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  143. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  144. package/dist/collection/components/ptc-button/ptc-button.js +304 -304
  145. package/dist/collection/components/ptc-card/ptc-card.js +419 -419
  146. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  147. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  148. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +232 -232
  149. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
  150. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  151. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  152. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  153. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  154. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  155. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  156. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  157. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  158. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  159. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  160. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
  161. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  162. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
  163. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  164. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  165. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  166. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
  167. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  168. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  169. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  170. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  171. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  172. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
  173. package/dist/collection/components/ptc-link/ptc-link.js +207 -207
  174. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  175. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  176. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  177. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
  178. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  179. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  180. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  181. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  182. package/dist/collection/components/ptc-news/ptc-news.js +169 -169
  183. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  184. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  185. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  186. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  187. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  188. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  189. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
  190. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
  191. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  192. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -581
  193. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  194. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  195. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  196. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  197. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  198. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  199. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  200. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  201. package/dist/collection/components/ptc-quiz/ptc-quiz.css +215 -0
  202. package/dist/collection/components/ptc-quiz/ptc-quiz.js +92 -0
  203. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  204. package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
  205. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  206. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  207. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  208. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  209. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  210. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  211. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  212. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  213. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  214. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  215. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  216. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  217. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  218. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  219. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  220. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  221. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  222. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
  223. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  224. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  225. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
  226. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  227. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  228. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  229. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +135 -135
  230. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
  231. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  232. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  233. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
  234. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  235. package/dist/collection/components/tab-content/tab-content.js +84 -84
  236. package/dist/collection/components/tab-header/tab-header.js +182 -182
  237. package/dist/collection/index.js +1 -1
  238. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  239. package/dist/collection/media/svg-imgs/close.svg +10 -10
  240. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  241. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  242. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  243. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  244. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  245. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  246. package/dist/collection/media/svg-imgs/union.svg +3 -3
  247. package/dist/collection/stories/Accordian.stories.js +205 -205
  248. package/dist/collection/stories/Announcement.stories.js +64 -64
  249. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  250. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  251. package/dist/collection/stories/Button.stories.js +119 -119
  252. package/dist/collection/stories/Card.stories.js +234 -234
  253. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  254. package/dist/collection/stories/Checkbox.stories.js +52 -52
  255. package/dist/collection/stories/Date.stories.js +81 -81
  256. package/dist/collection/stories/Dropdown.stories.js +48 -48
  257. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  258. package/dist/collection/stories/FilterTag.stories.js +73 -73
  259. package/dist/collection/stories/Hero.stories.js +119 -119
  260. package/dist/collection/stories/Icon.stories.js +71 -71
  261. package/dist/collection/stories/IconList.stories.js +114 -114
  262. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  263. package/dist/collection/stories/Link.stories.js +101 -101
  264. package/dist/collection/stories/ListItem.stories.js +59 -59
  265. package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
  266. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  267. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  268. package/dist/collection/stories/Modal.stories.js +105 -105
  269. package/dist/collection/stories/Overlay.stories.js +48 -48
  270. package/dist/collection/stories/Pagination.stories.js +101 -101
  271. package/dist/collection/stories/Paragraph.stories.js +95 -95
  272. package/dist/collection/stories/Picture.stories.js +139 -139
  273. package/dist/collection/stories/Quote.stories.js +107 -107
  274. package/dist/collection/stories/ReadMore.stories.js +100 -100
  275. package/dist/collection/stories/SocialShare.stories.js +66 -66
  276. package/dist/collection/stories/Spacer.stories.js +48 -48
  277. package/dist/collection/stories/Span.stories.js +57 -57
  278. package/dist/collection/stories/SvgButton.stories.js +34 -34
  279. package/dist/collection/stories/Tabs.stories.js +213 -213
  280. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  281. package/dist/collection/stories/Title.stories.js +115 -115
  282. package/dist/collection/stories/Tooltip.stories.js +112 -112
  283. package/dist/collection/utils/component.js +3 -3
  284. package/dist/collection/utils/interfaces.js +11 -11
  285. package/dist/collection/utils/utils.js +92 -92
  286. package/dist/custom-elements/index.d.ts +6 -0
  287. package/dist/custom-elements/index.js +6830 -6643
  288. package/dist/esm/author-listing-example.entry.js +232 -232
  289. package/dist/esm/bundle-example.entry.js +31 -31
  290. package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
  291. package/dist/esm/{core-73ab4867.js → core-209a2c67.js} +91 -29
  292. package/dist/esm/dropdown-item.entry.js +11 -11
  293. package/dist/esm/dynamic-box-bundle.entry.js +26 -26
  294. package/dist/esm/featured-list.entry.js +84 -84
  295. package/dist/esm/fl-tab-content_3.entry.js +41 -41
  296. package/dist/esm/icon-asset.entry.js +43 -43
  297. package/dist/esm/{index-22a84644.js → index-8db28d54.js} +72 -1
  298. package/dist/esm/innovator-toggle-container.entry.js +22 -22
  299. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  300. package/dist/esm/list-item.entry.js +23 -23
  301. package/dist/esm/loader.js +4 -4
  302. package/dist/esm/max-width-container.entry.js +44 -44
  303. package/dist/esm/my-component.entry.js +16 -16
  304. package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
  305. package/dist/esm/polyfills/core-js.js +0 -0
  306. package/dist/esm/polyfills/dom.js +0 -0
  307. package/dist/esm/polyfills/es5-html-element.js +0 -0
  308. package/dist/esm/polyfills/index.js +0 -0
  309. package/dist/esm/polyfills/system.js +0 -0
  310. package/dist/esm/ptc-accordion-item.entry.js +85 -85
  311. package/dist/esm/ptc-accordion.entry.js +40 -40
  312. package/dist/esm/ptc-announcement.entry.js +53 -53
  313. package/dist/esm/ptc-back-to-top.entry.js +36 -36
  314. package/dist/esm/ptc-background-video.entry.js +58 -58
  315. package/dist/esm/ptc-bio-card.entry.js +25 -25
  316. package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
  317. package/dist/esm/ptc-button.entry.js +40 -40
  318. package/dist/esm/ptc-card-bottom_3.entry.js +124 -124
  319. package/dist/esm/ptc-card-content.entry.js +58 -58
  320. package/dist/esm/ptc-card.entry.js +73 -73
  321. package/dist/esm/ptc-case-studies-slider.entry.js +92 -83
  322. package/dist/esm/ptc-checkbox.entry.js +51 -51
  323. package/dist/esm/ptc-collapse-list.entry.js +398 -398
  324. package/dist/esm/ptc-container.entry.js +34 -34
  325. package/dist/esm/ptc-date.entry.js +51 -51
  326. package/dist/esm/ptc-dropdown.entry.js +65 -65
  327. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  328. package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
  329. package/dist/esm/ptc-featured-list.entry.js +83 -83
  330. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  331. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  332. package/dist/esm/ptc-hero.entry.js +19 -19
  333. package/dist/esm/ptc-icon-component.entry.js +63 -63
  334. package/dist/esm/ptc-icon-list.entry.js +22 -22
  335. package/dist/esm/ptc-icon-minimize.entry.js +44 -44
  336. package/dist/esm/ptc-image-download-strip.entry.js +19 -19
  337. package/dist/esm/ptc-img.entry.js +123 -123
  338. package/dist/esm/ptc-link.entry.js +34 -34
  339. package/dist/esm/ptc-list.entry.js +50 -50
  340. package/dist/esm/ptc-media-card.entry.js +59 -59
  341. package/dist/esm/ptc-minimized-nav.entry.js +13 -13
  342. package/dist/esm/ptc-mobile-select.entry.js +157 -139
  343. package/dist/esm/ptc-modal.entry.js +151 -151
  344. package/dist/esm/ptc-nav-card.entry.js +37 -37
  345. package/dist/esm/ptc-nav-link.entry.js +37 -37
  346. package/dist/esm/ptc-nav-pills.entry.js +9 -9
  347. package/dist/esm/ptc-nav-slider.entry.js +91 -91
  348. package/dist/esm/ptc-nav-submenu.entry.js +38 -38
  349. package/dist/esm/ptc-news.entry.js +18 -18
  350. package/dist/esm/ptc-overlay.entry.js +24 -24
  351. package/dist/esm/ptc-pagenation.entry.js +307 -307
  352. package/dist/esm/ptc-para.entry.js +52 -52
  353. package/dist/esm/ptc-picture.entry.js +153 -153
  354. package/dist/esm/ptc-podcast-card.entry.js +12 -12
  355. package/dist/esm/ptc-previous-url.entry.js +12 -12
  356. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  357. package/dist/esm/ptc-pricing-add-on-section.entry.js +40 -40
  358. package/dist/esm/ptc-pricing-block.entry.js +21 -21
  359. package/dist/esm/ptc-pricing-table.entry.js +427 -427
  360. package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
  361. package/dist/esm/ptc-product-card.entry.js +23 -23
  362. package/dist/esm/ptc-product-category.entry.js +11 -11
  363. package/dist/esm/ptc-product-dropdown.entry.js +70 -70
  364. package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
  365. package/dist/esm/ptc-product-list.entry.js +141 -141
  366. package/dist/esm/ptc-product-sidebar.entry.js +129 -129
  367. package/dist/esm/ptc-progress-bar.entry.js +17 -17
  368. package/dist/esm/ptc-quiz.entry.js +79 -0
  369. package/dist/esm/ptc-quote.entry.js +24 -24
  370. package/dist/esm/ptc-readmore-char.entry.js +25 -25
  371. package/dist/esm/ptc-readmore.entry.js +78 -78
  372. package/dist/esm/ptc-related-card-rail.entry.js +150 -150
  373. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  374. package/dist/esm/ptc-search-field.entry.js +72 -72
  375. package/dist/esm/ptc-shopping-cart.entry.js +51 -51
  376. package/dist/esm/ptc-slit-card.entry.js +26 -26
  377. package/dist/esm/ptc-social-share.entry.js +70 -70
  378. package/dist/esm/ptc-spacer.entry.js +28 -28
  379. package/dist/esm/ptc-span.entry.js +21 -21
  380. package/dist/esm/ptc-square-card.entry.js +11 -11
  381. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  382. package/dist/esm/ptc-sticky-section.entry.js +31 -31
  383. package/dist/esm/ptc-sticky-title.entry.js +24 -24
  384. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  385. package/dist/esm/ptc-subnav.entry.js +23 -23
  386. package/dist/esm/ptc-svg-btn.entry.js +96 -96
  387. package/dist/esm/ptc-tab-list.entry.js +142 -142
  388. package/dist/esm/ptc-tab.entry.js +21 -21
  389. package/dist/esm/ptc-tabs.entry.js +48 -48
  390. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  391. package/dist/esm/ptc-title.entry.js +68 -68
  392. package/dist/esm/ptc-tooltip.entry.js +96 -96
  393. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  394. package/dist/esm/ptc-value-prop-card.entry.js +15 -15
  395. package/dist/esm/ptcw-design.js +4 -4
  396. package/dist/esm/sequential-bundle-example.entry.js +110 -110
  397. package/dist/esm/sequential-bundle.entry.js +90 -90
  398. package/dist/esm/tab-content.entry.js +28 -28
  399. package/dist/esm/tab-header.entry.js +65 -65
  400. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  401. package/dist/ptcw-design/media/brands.svg +1381 -1381
  402. package/dist/ptcw-design/media/designer.svg +489 -482
  403. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  404. package/dist/ptcw-design/media/regular.svg +463 -463
  405. package/dist/ptcw-design/media/solid.svg +3016 -3013
  406. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  407. package/dist/ptcw-design/{p-15e08cba.entry.js → p-019ee040.entry.js} +1 -1
  408. package/dist/ptcw-design/{p-17fd5641.entry.js → p-066dc775.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-1b972064.entry.js → p-06b9d7b1.entry.js} +1 -1
  410. package/dist/ptcw-design/{p-c5df36ad.entry.js → p-06c13601.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-bd470a7a.entry.js → p-079b6721.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-7b34bb69.entry.js → p-0ae005de.entry.js} +1 -1
  413. package/dist/ptcw-design/p-0fc282f5.js +1 -0
  414. package/dist/ptcw-design/{p-ca9b1705.entry.js → p-101c17f4.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-689f0741.entry.js → p-10371e08.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-f8eacbd8.entry.js → p-180f20e0.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-59c62f17.entry.js → p-1cf8088d.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-072887b7.entry.js → p-2282217b.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-06f99e11.entry.js → p-22e77c7c.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-dc5e5116.entry.js → p-25195807.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-66fcd7b2.entry.js → p-255674e8.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-4097a036.entry.js → p-288cb98d.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-0532c37c.entry.js → p-298fd719.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-1fc3d43a.entry.js → p-2dcdfa2e.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-3192a7e8.entry.js → p-2fcfa760.entry.js} +1 -1
  426. package/dist/ptcw-design/{p-1c631848.entry.js → p-34764ee6.entry.js} +1 -1
  427. package/dist/ptcw-design/{p-2893f405.entry.js → p-38bee38d.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-e8cd5994.entry.js → p-38fb1625.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-59ac682d.entry.js → p-39bf1649.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-bf47669c.entry.js → p-3d14bf07.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-cf1005f9.entry.js → p-3e5fb8c3.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-3ed0384d.entry.js → p-3fb0f45c.entry.js} +1 -1
  433. package/dist/ptcw-design/p-4329b9c8.entry.js +1 -0
  434. package/dist/ptcw-design/{p-12acb46f.entry.js → p-445c9b3d.entry.js} +1 -1
  435. package/dist/ptcw-design/{p-362ec391.entry.js → p-447ad4f8.entry.js} +1 -1
  436. package/dist/ptcw-design/{p-9e4260bc.entry.js → p-4d38bd16.entry.js} +1 -1
  437. package/dist/ptcw-design/{p-75b17a66.entry.js → p-4eeafd49.entry.js} +1 -1
  438. package/dist/ptcw-design/{p-bf808180.entry.js → p-4f82a06c.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-27807bb0.entry.js → p-4feef7ca.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-7aa8af29.entry.js → p-55292c78.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-6e11536e.entry.js → p-57085c86.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-6449418a.entry.js → p-60618056.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-58291e3a.entry.js → p-62d3f225.entry.js} +1 -1
  444. package/dist/ptcw-design/{p-56da9ecd.entry.js → p-635dbbec.entry.js} +1 -1
  445. package/dist/ptcw-design/{p-95198d5f.entry.js → p-674aef18.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-61197714.entry.js → p-67974679.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-98b6cb94.entry.js → p-6c09bbbc.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-05cc800d.entry.js → p-6e172c5a.entry.js} +1 -1
  449. package/dist/ptcw-design/{p-9d681abc.entry.js → p-6f8455b5.entry.js} +1 -1
  450. package/dist/ptcw-design/{p-a417df03.entry.js → p-7192afeb.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-a42feab1.entry.js → p-72fe6dcb.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-84d3f4fa.entry.js → p-75247100.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-836d499e.entry.js → p-756357b7.entry.js} +1 -1
  454. package/dist/ptcw-design/{p-0074d97c.entry.js → p-75b447c8.entry.js} +1 -1
  455. package/dist/ptcw-design/{p-85145672.entry.js → p-7e9e0d37.entry.js} +1 -1
  456. package/dist/ptcw-design/{p-df0aa310.entry.js → p-7ff45a5c.entry.js} +1 -1
  457. package/dist/ptcw-design/{p-6aba5f8f.entry.js → p-808544d7.entry.js} +1 -1
  458. package/dist/ptcw-design/p-813a2a19.entry.js +1 -0
  459. package/dist/ptcw-design/{p-9817c40a.entry.js → p-82b05238.entry.js} +1 -1
  460. package/dist/ptcw-design/{p-77f5cf02.entry.js → p-8a1a1bfb.entry.js} +1 -1
  461. package/dist/ptcw-design/{p-cda3854b.entry.js → p-8a9d1f65.entry.js} +1 -1
  462. package/dist/ptcw-design/p-8ae8454b.entry.js +1 -0
  463. package/dist/ptcw-design/{p-4c4f8cc6.entry.js → p-905bc1a6.entry.js} +1 -1
  464. package/dist/ptcw-design/{p-515f4332.entry.js → p-968bbb76.entry.js} +1 -1
  465. package/dist/ptcw-design/{p-9e3b390e.entry.js → p-97384e6a.entry.js} +1 -1
  466. package/dist/ptcw-design/{p-ad401696.entry.js → p-97bf50a0.entry.js} +1 -1
  467. package/dist/ptcw-design/{p-a04e0ded.entry.js → p-9991c4bf.entry.js} +1 -1
  468. package/dist/ptcw-design/{p-ac63caae.entry.js → p-9ca64d6f.entry.js} +1 -1
  469. package/dist/ptcw-design/{p-eb65dacf.entry.js → p-9d477cbd.entry.js} +1 -1
  470. package/dist/ptcw-design/{p-fe85ac05.entry.js → p-9f014fd3.entry.js} +1 -1
  471. package/dist/ptcw-design/{p-9efd9a5b.entry.js → p-a42f8bf2.entry.js} +1 -1
  472. package/dist/ptcw-design/{p-214278c3.entry.js → p-a438d150.entry.js} +1 -1
  473. package/dist/ptcw-design/{p-3f368d6d.entry.js → p-a454efc5.entry.js} +1 -1
  474. package/dist/ptcw-design/{p-dc748f00.entry.js → p-a6c1acb8.entry.js} +1 -1
  475. package/dist/ptcw-design/{p-056b652a.entry.js → p-af7e6116.entry.js} +1 -1
  476. package/dist/ptcw-design/{p-6a5bc275.entry.js → p-b4602b1d.entry.js} +1 -1
  477. package/dist/ptcw-design/{p-e8ba44ba.entry.js → p-b4f034ff.entry.js} +1 -1
  478. package/dist/ptcw-design/{p-ca877fea.entry.js → p-b63e7023.entry.js} +1 -1
  479. package/dist/ptcw-design/{p-5c47361e.entry.js → p-b9b30024.entry.js} +1 -1
  480. package/dist/ptcw-design/{p-f97fc3fd.entry.js → p-bae3e7df.entry.js} +1 -1
  481. package/dist/ptcw-design/{p-26f31be6.entry.js → p-bb3cc915.entry.js} +1 -1
  482. package/dist/ptcw-design/{p-ee20170a.entry.js → p-bbc6cb14.entry.js} +1 -1
  483. package/dist/ptcw-design/{p-0f3f83d3.entry.js → p-bd3b4619.entry.js} +1 -1
  484. package/dist/ptcw-design/{p-7ea29d34.entry.js → p-bdfc9555.entry.js} +1 -1
  485. package/dist/ptcw-design/p-be157856.entry.js +1 -0
  486. package/dist/ptcw-design/{p-e8d9a19f.entry.js → p-c07609da.entry.js} +1 -1
  487. package/dist/ptcw-design/{p-ad234f99.entry.js → p-c1025cf9.entry.js} +1 -1
  488. package/dist/ptcw-design/{p-63f811ec.entry.js → p-c20bea66.entry.js} +1 -1
  489. package/dist/ptcw-design/{p-cef9cf82.entry.js → p-ce9fbcda.entry.js} +1 -1
  490. package/dist/ptcw-design/{p-2254e000.entry.js → p-d260581f.entry.js} +1 -1
  491. package/dist/ptcw-design/{p-0290031e.entry.js → p-d332e427.entry.js} +1 -1
  492. package/dist/ptcw-design/{p-31c33a18.entry.js → p-d67d6edd.entry.js} +1 -1
  493. package/dist/ptcw-design/{p-c4e1b619.entry.js → p-d9c6c833.entry.js} +1 -1
  494. package/dist/ptcw-design/{p-6b1d18b1.entry.js → p-dbb7b2a3.entry.js} +1 -1
  495. package/dist/ptcw-design/{p-777fb495.entry.js → p-dda9d065.entry.js} +1 -1
  496. package/dist/ptcw-design/{p-f6dfc55e.entry.js → p-e24f0892.entry.js} +1 -1
  497. package/dist/ptcw-design/p-e428e6d9.js +1 -0
  498. package/dist/ptcw-design/{p-2ba6bbbe.entry.js → p-e54969bf.entry.js} +1 -1
  499. package/dist/ptcw-design/{p-e312626a.entry.js → p-e9635f81.entry.js} +1 -1
  500. package/dist/ptcw-design/{p-99457ebb.entry.js → p-ec0873bd.entry.js} +1 -1
  501. package/dist/ptcw-design/{p-2fed7a6f.entry.js → p-f1b1f381.entry.js} +1 -1
  502. package/dist/ptcw-design/{p-cf7dc448.entry.js → p-f31d817a.entry.js} +1 -1
  503. package/dist/ptcw-design/p-f42ef4c9.entry.js +1 -0
  504. package/dist/ptcw-design/{p-6a4bb3e8.entry.js → p-f4b66bf5.entry.js} +1 -1
  505. package/dist/ptcw-design/{p-7a3cf557.entry.js → p-f540748a.entry.js} +1 -1
  506. package/dist/ptcw-design/{p-10254985.entry.js → p-f5d52d72.entry.js} +1 -1
  507. package/dist/ptcw-design/{p-e1dd94a9.entry.js → p-f8b1f507.entry.js} +1 -1
  508. package/dist/ptcw-design/{p-507ab0b3.entry.js → p-fac62124.entry.js} +1 -1
  509. package/dist/ptcw-design/{p-3b8731e6.entry.js → p-fad09b46.entry.js} +1 -1
  510. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  511. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  512. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  513. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  514. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  515. package/dist/types/components/list-item/list-item.d.ts +16 -16
  516. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  517. package/dist/types/components/my-component/my-component.d.ts +16 -16
  518. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  519. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  520. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  521. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  522. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  523. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  524. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  525. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  526. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  527. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  528. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  529. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  530. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  531. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  532. package/dist/types/components/ptc-card/ptc-card.d.ts +83 -83
  533. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  534. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  535. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
  536. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  537. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  538. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  539. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  540. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  541. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  542. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  543. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  544. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  545. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
  546. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  547. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  548. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  549. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  550. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  551. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  552. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  553. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  554. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  555. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  556. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
  557. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  558. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  559. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  560. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  561. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  562. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  563. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  564. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  565. package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
  566. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  567. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  568. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  569. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  570. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  571. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  572. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
  573. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
  574. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  575. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -101
  576. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  577. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  578. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  579. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  580. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  581. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  582. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  583. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  584. package/dist/types/components/ptc-quiz/ptc-quiz.d.ts +21 -0
  585. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  586. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  587. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  588. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  589. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  590. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  591. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  592. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  593. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  594. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  595. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  596. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  597. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  598. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  599. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  600. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  601. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  602. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
  603. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  604. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  605. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
  606. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  607. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  608. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  609. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +27 -27
  610. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
  611. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  612. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  613. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
  614. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  615. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  616. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  617. package/dist/types/components.d.ts +147 -134
  618. package/dist/types/global.d.ts +1072 -1072
  619. package/dist/types/index.d.ts +1 -1
  620. package/dist/types/stencil-public-runtime.d.ts +11 -0
  621. package/dist/types/utils/component.d.ts +1 -1
  622. package/dist/types/utils/interfaces.d.ts +31 -31
  623. package/dist/types/utils/utils.d.ts +5 -5
  624. package/package.json +82 -82
  625. package/readme.md +18 -18
  626. package/dist/ptcw-design/p-1c743207.entry.js +0 -1
  627. package/dist/ptcw-design/p-4aaa6290.entry.js +0 -1
  628. package/dist/ptcw-design/p-553d840a.js +0 -1
  629. package/dist/ptcw-design/p-be8db2b7.entry.js +0 -1
  630. package/dist/ptcw-design/p-d100f115.js +0 -1
  631. package/dist/ptcw-design/p-dee888f5.entry.js +0 -1
  632. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  633. /package/dist/ptcw-design/{p-ce0e4c5c.js → p-dc4da4a5.js} +0 -0
  634. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -408,7 +408,7 @@ function calcSupport() {
408
408
  const window = getWindow();
409
409
  const document = getDocument();
410
410
  return {
411
- smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,
411
+ smoothScroll: document.documentElement && document.documentElement.style && 'scrollBehavior' in document.documentElement.style,
412
412
  touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch)
413
413
  };
414
414
  }
@@ -816,6 +816,8 @@ function updateSlides() {
816
816
  }
817
817
  if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
818
818
  spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;
819
+ } else if (typeof spaceBetween === 'string') {
820
+ spaceBetween = parseFloat(spaceBetween);
819
821
  }
820
822
  swiper.virtualSize = -spaceBetween;
821
823
 
@@ -925,10 +927,10 @@ function updateSlides() {
925
927
  }
926
928
  swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;
927
929
  if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {
928
- wrapperEl.style.width = `${swiper.virtualSize + params.spaceBetween}px`;
930
+ wrapperEl.style.width = `${swiper.virtualSize + spaceBetween}px`;
929
931
  }
930
932
  if (params.setWrapperSize) {
931
- wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + params.spaceBetween}px`;
933
+ wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + spaceBetween}px`;
932
934
  }
933
935
  if (gridEnabled) {
934
936
  swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);
@@ -967,7 +969,7 @@ function updateSlides() {
967
969
  }
968
970
  }
969
971
  if (snapGrid.length === 0) snapGrid = [0];
970
- if (params.spaceBetween !== 0) {
972
+ if (spaceBetween !== 0) {
971
973
  const key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');
972
974
  slides.filter((_, slideIndex) => {
973
975
  if (!params.cssMode || params.loop) return true;
@@ -982,9 +984,9 @@ function updateSlides() {
982
984
  if (params.centeredSlides && params.centeredSlidesBounds) {
983
985
  let allSlidesSize = 0;
984
986
  slidesSizesGrid.forEach(slideSizeValue => {
985
- allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
987
+ allSlidesSize += slideSizeValue + (spaceBetween || 0);
986
988
  });
987
- allSlidesSize -= params.spaceBetween;
989
+ allSlidesSize -= spaceBetween;
988
990
  const maxSnap = allSlidesSize - swiperSize;
989
991
  snapGrid = snapGrid.map(snap => {
990
992
  if (snap < 0) return -offsetBefore;
@@ -995,9 +997,9 @@ function updateSlides() {
995
997
  if (params.centerInsufficientSlides) {
996
998
  let allSlidesSize = 0;
997
999
  slidesSizesGrid.forEach(slideSizeValue => {
998
- allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
1000
+ allSlidesSize += slideSizeValue + (spaceBetween || 0);
999
1001
  });
1000
- allSlidesSize -= params.spaceBetween;
1002
+ allSlidesSize -= spaceBetween;
1001
1003
  if (allSlidesSize < swiperSize) {
1002
1004
  const allSlidesOffset = (swiperSize - allSlidesSize) / 2;
1003
1005
  snapGrid.forEach((snap, snapIndex) => {
@@ -1059,7 +1061,7 @@ function updateAutoHeight(speed) {
1059
1061
  }
1060
1062
  const getSlideByIndex = index => {
1061
1063
  if (isVirtual) {
1062
- return swiper.getSlideIndexByData(index);
1064
+ return swiper.slides[swiper.getSlideIndexByData(index)];
1063
1065
  }
1064
1066
  return swiper.slides[index];
1065
1067
  };
@@ -1098,7 +1100,7 @@ function updateSlidesOffset() {
1098
1100
  // eslint-disable-next-line
1099
1101
  const minusOffset = swiper.isElement ? swiper.isHorizontal() ? swiper.wrapperEl.offsetLeft : swiper.wrapperEl.offsetTop : 0;
1100
1102
  for (let i = 0; i < slides.length; i += 1) {
1101
- slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset;
1103
+ slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset - swiper.cssOverflowAdjustment();
1102
1104
  }
1103
1105
  }
1104
1106
 
@@ -1121,14 +1123,20 @@ function updateSlidesProgress(translate = this && this.translate || 0) {
1121
1123
  });
1122
1124
  swiper.visibleSlidesIndexes = [];
1123
1125
  swiper.visibleSlides = [];
1126
+ let spaceBetween = params.spaceBetween;
1127
+ if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
1128
+ spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiper.size;
1129
+ } else if (typeof spaceBetween === 'string') {
1130
+ spaceBetween = parseFloat(spaceBetween);
1131
+ }
1124
1132
  for (let i = 0; i < slides.length; i += 1) {
1125
1133
  const slide = slides[i];
1126
1134
  let slideOffset = slide.swiperSlideOffset;
1127
1135
  if (params.cssMode && params.centeredSlides) {
1128
1136
  slideOffset -= slides[0].swiperSlideOffset;
1129
1137
  }
1130
- const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
1131
- const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
1138
+ const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
1139
+ const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
1132
1140
  const slideBefore = -(offsetCenter - slideOffset);
1133
1141
  const slideAfter = slideBefore + swiper.slidesSizesGrid[i];
1134
1142
  const isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;
@@ -1257,6 +1265,41 @@ function updateSlidesClasses() {
1257
1265
  swiper.emitSlidesClasses();
1258
1266
  }
1259
1267
 
1268
+ const processLazyPreloader = (swiper, imageEl) => {
1269
+ if (!swiper || swiper.destroyed || !swiper.params) return;
1270
+ const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
1271
+ const slideEl = imageEl.closest(slideSelector());
1272
+ if (slideEl) {
1273
+ const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
1274
+ if (lazyEl) lazyEl.remove();
1275
+ }
1276
+ };
1277
+ const unlazy = (swiper, index) => {
1278
+ if (!swiper.slides[index]) return;
1279
+ const imageEl = swiper.slides[index].querySelector('[loading="lazy"]');
1280
+ if (imageEl) imageEl.removeAttribute('loading');
1281
+ };
1282
+ const preload = swiper => {
1283
+ if (!swiper || swiper.destroyed || !swiper.params) return;
1284
+ let amount = swiper.params.lazyPreloadPrevNext;
1285
+ const len = swiper.slides.length;
1286
+ if (!len || !amount || amount < 0) return;
1287
+ amount = Math.min(amount, len);
1288
+ const slidesPerView = swiper.params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : Math.ceil(swiper.params.slidesPerView);
1289
+ const activeIndex = swiper.activeIndex;
1290
+ const slideIndexLastInView = activeIndex + slidesPerView - 1;
1291
+ if (swiper.params.rewind) {
1292
+ for (let i = activeIndex - amount; i <= slideIndexLastInView + amount; i += 1) {
1293
+ const realIndex = (i % len + len) % len;
1294
+ if (realIndex !== activeIndex && realIndex > slideIndexLastInView) unlazy(swiper, realIndex);
1295
+ }
1296
+ } else {
1297
+ for (let i = Math.max(slideIndexLastInView - amount, 0); i <= Math.min(slideIndexLastInView + amount, len - 1); i += 1) {
1298
+ if (i !== activeIndex && i > slideIndexLastInView) unlazy(swiper, i);
1299
+ }
1300
+ }
1301
+ };
1302
+
1260
1303
  function getActiveIndexByTranslate(swiper) {
1261
1304
  const {
1262
1305
  slidesGrid,
@@ -1333,11 +1376,16 @@ function updateActiveIndex(newActiveIndex) {
1333
1376
  realIndex = activeIndex;
1334
1377
  }
1335
1378
  Object.assign(swiper, {
1379
+ previousSnapIndex,
1336
1380
  snapIndex,
1381
+ previousRealIndex,
1337
1382
  realIndex,
1338
1383
  previousIndex,
1339
1384
  activeIndex
1340
1385
  });
1386
+ if (swiper.initialized) {
1387
+ preload(swiper);
1388
+ }
1341
1389
  swiper.emit('activeIndexChange');
1342
1390
  swiper.emit('snapIndexChange');
1343
1391
  if (previousRealIndex !== realIndex) {
@@ -1407,6 +1455,7 @@ function getSwiperTranslate(axis = this.isHorizontal() ? 'x' : 'y') {
1407
1455
  return translate;
1408
1456
  }
1409
1457
  let currentTranslate = getTranslate(wrapperEl, axis);
1458
+ currentTranslate += swiper.cssOverflowAdjustment();
1410
1459
  if (rtl) currentTranslate = -currentTranslate;
1411
1460
  return currentTranslate || 0;
1412
1461
  }
@@ -1431,13 +1480,18 @@ function setTranslate(translate, byController) {
1431
1480
  x = Math.floor(x);
1432
1481
  y = Math.floor(y);
1433
1482
  }
1483
+ swiper.previousTranslate = swiper.translate;
1484
+ swiper.translate = swiper.isHorizontal() ? x : y;
1434
1485
  if (params.cssMode) {
1435
1486
  wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;
1436
1487
  } else if (!params.virtualTranslate) {
1488
+ if (swiper.isHorizontal()) {
1489
+ x -= swiper.cssOverflowAdjustment();
1490
+ } else {
1491
+ y -= swiper.cssOverflowAdjustment();
1492
+ }
1437
1493
  wrapperEl.style.transform = `translate3d(${x}px, ${y}px, ${z}px)`;
1438
1494
  }
1439
- swiper.previousTranslate = swiper.translate;
1440
- swiper.translate = swiper.isHorizontal() ? x : y;
1441
1495
 
1442
1496
  // Check if we need to update progress
1443
1497
  let newProgress;
@@ -2030,15 +2084,22 @@ function loopFix({
2030
2084
  }
2031
2085
  if (isPrev) {
2032
2086
  prependSlidesIndexes.forEach(index => {
2087
+ swiper.slides[index].swiperLoopMoveDOM = true;
2033
2088
  slidesEl.prepend(swiper.slides[index]);
2089
+ swiper.slides[index].swiperLoopMoveDOM = false;
2034
2090
  });
2035
2091
  }
2036
2092
  if (isNext) {
2037
2093
  appendSlidesIndexes.forEach(index => {
2094
+ swiper.slides[index].swiperLoopMoveDOM = true;
2038
2095
  slidesEl.append(swiper.slides[index]);
2096
+ swiper.slides[index].swiperLoopMoveDOM = false;
2039
2097
  });
2040
2098
  }
2041
2099
  swiper.recalcSlides();
2100
+ if (params.slidesPerView === 'auto') {
2101
+ swiper.updateSlides();
2102
+ }
2042
2103
  if (params.watchSlidesProgress) {
2043
2104
  swiper.updateSlidesOffset();
2044
2105
  }
@@ -2667,7 +2728,6 @@ function onTouchEnd(event) {
2667
2728
  }
2668
2729
  }
2669
2730
 
2670
- let timeout;
2671
2731
  function onResize() {
2672
2732
  const swiper = this;
2673
2733
  const {
@@ -2706,8 +2766,8 @@ function onResize() {
2706
2766
  }
2707
2767
  }
2708
2768
  if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
2709
- clearTimeout(timeout);
2710
- timeout = setTimeout(() => {
2769
+ clearTimeout(swiper.autoplay.resizeTimeout);
2770
+ swiper.autoplay.resizeTimeout = setTimeout(() => {
2711
2771
  if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
2712
2772
  swiper.autoplay.resume();
2713
2773
  }
@@ -2764,19 +2824,12 @@ function onScroll() {
2764
2824
  swiper.emit('setTranslate', swiper.translate, false);
2765
2825
  }
2766
2826
 
2767
- const processLazyPreloader = (swiper, imageEl) => {
2768
- if (!swiper || swiper.destroyed || !swiper.params) return;
2769
- const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
2770
- const slideEl = imageEl.closest(slideSelector());
2771
- if (slideEl) {
2772
- const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
2773
- if (lazyEl) lazyEl.remove();
2774
- }
2775
- };
2776
-
2777
2827
  function onLoad(e) {
2778
2828
  const swiper = this;
2779
2829
  processLazyPreloader(swiper, e.target);
2830
+ if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
2831
+ return;
2832
+ }
2780
2833
  swiper.update();
2781
2834
  }
2782
2835
 
@@ -3186,6 +3239,7 @@ const defaults = {
3186
3239
  slidePrevClass: 'swiper-slide-prev',
3187
3240
  wrapperClass: 'swiper-wrapper',
3188
3241
  lazyPreloaderClass: 'swiper-lazy-preloader',
3242
+ lazyPreloadPrevNext: 0,
3189
3243
  // Callbacks
3190
3244
  runCallbacksOnInit: true,
3191
3245
  // Internals
@@ -3339,6 +3393,11 @@ class Swiper {
3339
3393
  progress: 0,
3340
3394
  velocity: 0,
3341
3395
  animating: false,
3396
+ cssOverflowAdjustment() {
3397
+ // Returns 0 unless `translate` is > 2**23
3398
+ // Should be subtracted from css values to prevent overflow
3399
+ return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
3400
+ },
3342
3401
  // Locks
3343
3402
  allowSlideNext: swiper.params.allowSlideNext,
3344
3403
  allowSlidePrev: swiper.params.allowSlidePrev,
@@ -3355,7 +3414,7 @@ class Swiper {
3355
3414
  // Form elements to match
3356
3415
  focusableElements: swiper.params.focusableElements,
3357
3416
  // Last click time
3358
- lastClickTime: now(),
3417
+ lastClickTime: 0,
3359
3418
  clickTimeout: undefined,
3360
3419
  // Velocities
3361
3420
  velocities: [],
@@ -3550,7 +3609,8 @@ class Swiper {
3550
3609
  }
3551
3610
  } else {
3552
3611
  if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {
3553
- translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);
3612
+ const slides = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides : swiper.slides;
3613
+ translated = swiper.slideTo(slides.length - 1, 0, false, true);
3554
3614
  } else {
3555
3615
  translated = swiper.slideTo(swiper.activeIndex, 0, false, true);
3556
3616
  }
@@ -3702,9 +3762,11 @@ class Swiper {
3702
3762
  });
3703
3763
  }
3704
3764
  });
3765
+ preload(swiper);
3705
3766
 
3706
3767
  // Init Flag
3707
3768
  swiper.initialized = true;
3769
+ preload(swiper);
3708
3770
 
3709
3771
  // Emit
3710
3772
  swiper.emit('init');
@@ -1,17 +1,17 @@
1
- import { r as registerInstance, h } from './index-22a84644.js';
1
+ import { r as registerInstance, h } from './index-8db28d54.js';
2
2
 
3
3
  const dropdownItemCss = ".dropdown-item{transition:background-color ease-out 250ms;max-width:240px}@media only screen and (min-width: 480px){.dropdown-item{max-width:400px}}@media only screen and (min-width: 992px){.dropdown-item{max-width:650px}}.dropdown-item:hover,.dropdown-item:active,.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--color-gray-02)}.dropdown-item span{display:block;padding:0.75rem 1.5rem;font-family:\"Raleway\";font-style:normal;font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);color:var(--color-gray-12);text-decoration:none}.dropdown-item span:hover,.dropdown-item span:visited,.dropdown-item span:active,.dropdown-item span:focus,.dropdown-item span:focus-visible{color:var(--color-gray-12)}";
4
4
 
5
- const DropdownItem = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.linkHref = undefined;
9
- this.linkTarget = '_self';
10
- }
11
- render() {
12
- return (h("div", { class: "dropdown-item" }, h("slot", null)));
13
- }
14
- };
5
+ const DropdownItem = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.linkHref = undefined;
9
+ this.linkTarget = '_self';
10
+ }
11
+ render() {
12
+ return (h("div", { class: "dropdown-item" }, h("slot", null)));
13
+ }
14
+ };
15
15
  DropdownItem.style = dropdownItemCss;
16
16
 
17
17
  export { DropdownItem as dropdown_item };
@@ -1,32 +1,32 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-22a84644.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-8db28d54.js';
2
2
 
3
3
  const dynamicBoxBundleCss = ":host{display:block}:host .d-box{width:100%;height:550px;position:relative}:host .d-box.hovering .top-image{background-image:linear-gradient(0deg, rgba(242, 242, 242, 0), #f3f3f3)}:host .d-box.hovering .content{height:100%}:host .top-image{position:relative;display:flex;justify-content:center;align-items:center;height:50%;z-index:99}:host .top-image img{width:405px;height:40px;transform:translateY(-64px)}@media only screen and (min-width: 992px){:host .top-image img{height:35px;transform:translateY(-88px)}}:host .content{height:80%;box-shadow:0 0 0 1px #f3f3f3;width:100%;position:absolute;bottom:0px;left:0px}:host p{font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p);margin:0px;padding:40px;box-sizing:border-box}@media only screen and (min-width: 1200px){:host p{padding:40px}}";
4
4
 
5
- const DynamicBoxBundle = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.topImgSrc = 'https://www.ptc.com/-/media/Images/new-org/logos/PTC-logo.svg';
9
- this.topImgAlt = 'image';
10
- this.boxHeight = undefined;
11
- this.isHovering = false;
12
- }
13
- handleMouseOver() {
14
- if (window.innerWidth >= 1200) {
15
- this.isHovering = true;
16
- //this.el.style.height = `${this.el.offsetHeight + 50}px`;
17
- }
18
- }
19
- handleMouseOut() {
20
- if (window.innerWidth >= 1200) {
21
- this.isHovering = false;
22
- //this.el.style.height = '';
23
- }
24
- }
25
- render() {
26
- return (h(Host, null, h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200 ? 'hovering' : ''}` }, h("div", { class: "top-image" }, h("img", { src: this.topImgSrc, alt: this.topImgAlt })), h("div", { class: "content" }, h("slot", { name: "media" }))), h("p", null, h("slot", null))));
27
- }
28
- get el() { return getElement(this); }
29
- };
5
+ const DynamicBoxBundle = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.topImgSrc = 'https://www.ptc.com/-/media/Images/new-org/logos/PTC-logo.svg';
9
+ this.topImgAlt = 'image';
10
+ this.boxHeight = undefined;
11
+ this.isHovering = false;
12
+ }
13
+ handleMouseOver() {
14
+ if (window.innerWidth >= 1200) {
15
+ this.isHovering = true;
16
+ //this.el.style.height = `${this.el.offsetHeight + 50}px`;
17
+ }
18
+ }
19
+ handleMouseOut() {
20
+ if (window.innerWidth >= 1200) {
21
+ this.isHovering = false;
22
+ //this.el.style.height = '';
23
+ }
24
+ }
25
+ render() {
26
+ return (h(Host, null, h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200 ? 'hovering' : ''}` }, h("div", { class: "top-image" }, h("img", { src: this.topImgSrc, alt: this.topImgAlt })), h("div", { class: "content" }, h("slot", { name: "media" }))), h("p", null, h("slot", null))));
27
+ }
28
+ get el() { return getElement(this); }
29
+ };
30
30
  DynamicBoxBundle.style = dynamicBoxBundleCss;
31
31
 
32
32
  export { DynamicBoxBundle as dynamic_box_bundle };
@@ -1,89 +1,89 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-22a84644.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-8db28d54.js';
2
2
 
3
- const featuredListCss = "a {\r\n font-family: var(--ptc-font-latin);\r\n font-style: var(--ptc-font-style-normal);\r\n text-decoration-line: underline;\r\n color: var(--color-blue-07);\r\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\r\n font-weight: var(--ptc-font-weight-bold);\r\n\r\n &:visited {\r\n color: var(--color-blue-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-09);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-08);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n}\r\n\r\n.light-links,.background-grey-10,.background-plm-grey {\r\n a, a.light-link {\r\n color: var(--color-blue-04);\r\n\r\n &:visited {\r\n color: var(--color-blue-06);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-07);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-05);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n }\r\n}\r\n\r\n.ptc-link {\r\n color: var(--color-gray-10);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-gray-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n}\r\n\r\n.ptc-link-dark {\r\n color: var(--color-white);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-white);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n}\r\n :host {\r\n\t display: block;\r\n\t box-sizing: border-box;\r\n}\r\n :host ptc-background-video {\r\n\t height: 240px;\r\n}\r\n @media (min-width: 480px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 320px;\r\n\t}\r\n}\r\n @media (min-width: 768px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 450px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 500px;\r\n\t}\r\n}\r\n :host .fl-header {\r\n\t cursor: pointer;\r\n}\r\n :host .non-mobile-wrapper {\r\n\t box-sizing: border-box;\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper {\r\n\t\t max-width: 1078px;\r\n\t\t margin: -75px auto 0 auto;\r\n\t\t display: flex;\r\n\t\t align-items: center;\r\n\t\t width: 100%;\r\n\t\t background: var(--color-white);\r\n\t\t box-shadow: var(--ptc-shadow-small);\r\n\t\t padding: 24px 32px;\r\n\t\t z-index: 1;\r\n\t\t position: relative;\r\n\t\t min-height: 350px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .header-list-wrap {\r\n\t\t padding-right: 16px;\r\n\t\t margin-right: 64px;\r\n\t\t min-width: 270px;\r\n\t\t max-width: 270px;\r\n\t\t box-sizing: border-box;\r\n\t\t display: flex;\r\n\t\t flex-direction: column;\r\n\t\t align-items: baseline;\r\n\t}\r\n\t :host .non-mobile-wrapper .header-list-wrap::after {\r\n\t\t content: \"\";\r\n\t\t width: 1px;\r\n\t\t height: calc(100% - 48px);\r\n\t\t background-color: var(--color-gray-05);\r\n\t\t position: absolute;\r\n\t\t left: 297px;\r\n\t\t top: 24px;\r\n\t\t bottom: 24px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .content-wrap {\r\n\t\t padding-right: 72px;\r\n\t}\r\n}\r\n :host .non-mobile-wrapper .fl-header {\r\n\t border-radius: 4px;\r\n\t margin: 12px 0;\r\n\t padding: 4px 8px;\r\n}\r\n :host .non-mobile-wrapper .fl-header:hover {\r\n\t background-color: var(--color-gray-02);\r\n}\r\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\r\n\t background-color: var(--color-gray-03);\r\n}\r\n :host .mobile-wrapper .acc-item {\r\n\t border-bottom: 1px solid var(--color-gray-03);\r\n\t padding: 14px 30px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header {\r\n\t padding-left: 34px;\r\n\t position: relative;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header::before {\r\n\t content: '';\r\n\t display: inline-block;\r\n\t width: 16px;\r\n\t height: 16px;\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\r\n\t vertical-align: middle;\r\n\t position: absolute;\r\n\t left: 0;\r\n\t top: 4.5px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-content {\r\n\t padding-left: 34px;\r\n\t padding-bottom: 18px;\r\n}\r\n";
3
+ const featuredListCss = "a {\n font-family: var(--ptc-font-latin);\n font-style: var(--ptc-font-style-normal);\n text-decoration-line: underline;\n color: var(--color-blue-07);\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\n font-weight: var(--ptc-font-weight-bold);\n\n &:visited {\n color: var(--color-blue-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-09);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-08);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n}\n\n.light-links,.background-grey-10,.background-plm-grey {\n a, a.light-link {\n color: var(--color-blue-04);\n\n &:visited {\n color: var(--color-blue-06);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-07);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-05);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n }\n}\n\n.ptc-link {\n color: var(--color-gray-10);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-gray-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n}\n\n.ptc-link-dark {\n color: var(--color-white);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-white);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n\n}\n :host {\n\t display: block;\n\t box-sizing: border-box;\n}\n :host ptc-background-video {\n\t height: 240px;\n}\n @media (min-width: 480px) {\n\t :host ptc-background-video {\n\t\t height: 320px;\n\t}\n}\n @media (min-width: 768px) {\n\t :host ptc-background-video {\n\t\t height: 450px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host ptc-background-video {\n\t\t height: 500px;\n\t}\n}\n :host .fl-header {\n\t cursor: pointer;\n}\n :host .non-mobile-wrapper {\n\t box-sizing: border-box;\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper {\n\t\t max-width: 1078px;\n\t\t margin: -75px auto 0 auto;\n\t\t display: flex;\n\t\t align-items: center;\n\t\t width: 100%;\n\t\t background: var(--color-white);\n\t\t box-shadow: var(--ptc-shadow-small);\n\t\t padding: 24px 32px;\n\t\t z-index: 1;\n\t\t position: relative;\n\t\t min-height: 350px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .header-list-wrap {\n\t\t padding-right: 16px;\n\t\t margin-right: 64px;\n\t\t min-width: 270px;\n\t\t max-width: 270px;\n\t\t box-sizing: border-box;\n\t\t display: flex;\n\t\t flex-direction: column;\n\t\t align-items: baseline;\n\t}\n\t :host .non-mobile-wrapper .header-list-wrap::after {\n\t\t content: \"\";\n\t\t width: 1px;\n\t\t height: calc(100% - 48px);\n\t\t background-color: var(--color-gray-05);\n\t\t position: absolute;\n\t\t left: 297px;\n\t\t top: 24px;\n\t\t bottom: 24px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .content-wrap {\n\t\t padding-right: 72px;\n\t}\n}\n :host .non-mobile-wrapper .fl-header {\n\t border-radius: 4px;\n\t margin: 12px 0;\n\t padding: 4px 8px;\n}\n :host .non-mobile-wrapper .fl-header:hover {\n\t background-color: var(--color-gray-02);\n}\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\n\t background-color: var(--color-gray-03);\n}\n :host .mobile-wrapper .acc-item {\n\t border-bottom: 1px solid var(--color-gray-03);\n\t padding: 14px 30px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header {\n\t padding-left: 34px;\n\t position: relative;\n}\n :host .mobile-wrapper .acc-item fl-tab-header::before {\n\t content: '';\n\t display: inline-block;\n\t width: 16px;\n\t height: 16px;\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\n\t vertical-align: middle;\n\t position: absolute;\n\t left: 0;\n\t top: 4.5px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\n}\n :host .mobile-wrapper .acc-item fl-tab-content {\n\t padding-left: 34px;\n\t padding-bottom: 18px;\n}\n";
4
4
 
5
- const FeaturedList = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.isMobile = undefined;
9
- this.selectedTabGloble = 'tab-01';
10
- }
11
- handleResize() {
12
- this.isMobile = window.innerWidth < 992;
13
- this.holdTabOnResize(this.selectedTabGloble);
14
- }
15
- componentWillLoad() {
16
- this.isMobile = window.innerWidth < 992;
17
- }
18
- handleflTabClicked(event) {
19
- this.selectedTabGloble = event.detail.name;
20
- this.selectTab(this.selectedTabGloble);
21
- }
22
- holdTabOnResize(name) {
23
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
24
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
25
- contentBlocks.forEach(content => {
26
- if (content.classList.contains("init-active")) {
27
- content.classList.remove("init-active");
28
- }
29
- content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
30
- });
31
- headerBlocks.forEach(header => {
32
- if (header.classList.contains("init-active")) {
33
- header.classList.remove("init-active");
34
- }
35
- header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
36
- });
37
- }
38
- selectTab(name) {
39
- const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
40
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
41
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
42
- featuredImages.forEach(image => {
43
- if (image.classList.contains("init-active")) {
44
- image.classList.remove("init-active");
45
- }
46
- image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
47
- });
48
- contentBlocks.forEach(content => {
49
- this.updateActiveTab(name, content);
50
- });
51
- headerBlocks.forEach(header => {
52
- this.updateActiveTab(name, header);
53
- });
54
- }
55
- updateActiveTab(name, tabName) {
56
- if (this.isMobile) {
57
- if (tabName.getAttribute('name-key') === name) {
58
- if (tabName.classList.contains("init-active")) {
59
- tabName.removeAttribute('selected');
60
- }
61
- else {
62
- tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
63
- }
64
- }
65
- else {
66
- tabName.removeAttribute('selected');
67
- }
68
- }
69
- else {
70
- tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
71
- }
72
- if (tabName.classList.contains("init-active")) {
73
- tabName.classList.remove("init-active");
74
- }
75
- }
76
- render() {
77
- return (h(Host, null, h("div", { class: "featured-image-wrap" }, h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h("fl-tab-image", { "name-key": "tab-02" }, h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), h("fl-tab-image", { "name-key": "tab-03" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), h("fl-tab-image", { "name-key": "tab-04" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
78
- // Code for mobile only
79
- h("div", { class: "mobile-wrapper" }, h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))
80
- :
81
- (
82
- // Code for Desktop only
83
- h("div", { class: "non-mobile-wrapper" }, h("div", { class: "header-list-wrap" }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h("div", { class: "content-wrap" }, h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
84
- }
85
- get hostElement() { return getElement(this); }
86
- };
5
+ const FeaturedList = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.isMobile = undefined;
9
+ this.selectedTabGloble = 'tab-01';
10
+ }
11
+ handleResize() {
12
+ this.isMobile = window.innerWidth < 992;
13
+ this.holdTabOnResize(this.selectedTabGloble);
14
+ }
15
+ componentWillLoad() {
16
+ this.isMobile = window.innerWidth < 992;
17
+ }
18
+ handleflTabClicked(event) {
19
+ this.selectedTabGloble = event.detail.name;
20
+ this.selectTab(this.selectedTabGloble);
21
+ }
22
+ holdTabOnResize(name) {
23
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
24
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
25
+ contentBlocks.forEach(content => {
26
+ if (content.classList.contains("init-active")) {
27
+ content.classList.remove("init-active");
28
+ }
29
+ content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
30
+ });
31
+ headerBlocks.forEach(header => {
32
+ if (header.classList.contains("init-active")) {
33
+ header.classList.remove("init-active");
34
+ }
35
+ header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
36
+ });
37
+ }
38
+ selectTab(name) {
39
+ const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
40
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
41
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
42
+ featuredImages.forEach(image => {
43
+ if (image.classList.contains("init-active")) {
44
+ image.classList.remove("init-active");
45
+ }
46
+ image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
47
+ });
48
+ contentBlocks.forEach(content => {
49
+ this.updateActiveTab(name, content);
50
+ });
51
+ headerBlocks.forEach(header => {
52
+ this.updateActiveTab(name, header);
53
+ });
54
+ }
55
+ updateActiveTab(name, tabName) {
56
+ if (this.isMobile) {
57
+ if (tabName.getAttribute('name-key') === name) {
58
+ if (tabName.classList.contains("init-active")) {
59
+ tabName.removeAttribute('selected');
60
+ }
61
+ else {
62
+ tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
63
+ }
64
+ }
65
+ else {
66
+ tabName.removeAttribute('selected');
67
+ }
68
+ }
69
+ else {
70
+ tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
71
+ }
72
+ if (tabName.classList.contains("init-active")) {
73
+ tabName.classList.remove("init-active");
74
+ }
75
+ }
76
+ render() {
77
+ return (h(Host, null, h("div", { class: "featured-image-wrap" }, h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h("fl-tab-image", { "name-key": "tab-02" }, h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), h("fl-tab-image", { "name-key": "tab-03" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), h("fl-tab-image", { "name-key": "tab-04" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
78
+ // Code for mobile only
79
+ h("div", { class: "mobile-wrapper" }, h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))
80
+ :
81
+ (
82
+ // Code for Desktop only
83
+ h("div", { class: "non-mobile-wrapper" }, h("div", { class: "header-list-wrap" }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h("div", { class: "content-wrap" }, h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
84
+ }
85
+ get hostElement() { return getElement(this); }
86
+ };
87
87
  FeaturedList.style = featuredListCss;
88
88
 
89
89
  export { FeaturedList as featured_list };