@ptcwebops/ptcw-design 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/bundle-example.cjs.entry.js +31 -31
  3. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
  4. package/dist/cjs/{core-332e5461.js → core-1951cc85.js} +91 -29
  5. package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
  6. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +26 -26
  7. package/dist/cjs/featured-list.cjs.entry.js +84 -84
  8. package/dist/cjs/fl-tab-content_11.cjs.entry.js +594 -594
  9. package/dist/cjs/{index-88135a6b.js → index-266d5edd.js} +72 -1
  10. package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
  11. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  12. package/dist/cjs/list-item.cjs.entry.js +23 -23
  13. package/dist/cjs/loader.cjs.js +2 -2
  14. package/dist/cjs/lottie-player.cjs.entry.js +3073 -2826
  15. package/dist/cjs/max-width-container.cjs.entry.js +38 -38
  16. package/dist/cjs/my-component.cjs.entry.js +16 -16
  17. package/dist/cjs/{pagination-8d9d474d.js → pagination-d20b7968.js} +24 -6
  18. package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
  19. package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
  20. package/dist/cjs/ptc-announcement.cjs.entry.js +53 -53
  21. package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
  22. package/dist/cjs/ptc-bio-card.cjs.entry.js +26 -26
  23. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +121 -121
  24. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
  25. package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
  26. package/dist/cjs/ptc-card.cjs.entry.js +67 -67
  27. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +92 -83
  28. package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
  29. package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
  30. package/dist/cjs/ptc-container.cjs.entry.js +34 -34
  31. package/dist/cjs/ptc-date.cjs.entry.js +51 -51
  32. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  33. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  34. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
  35. package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
  36. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
  37. package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
  38. package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
  39. package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
  40. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
  41. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
  42. package/dist/cjs/ptc-link.cjs.entry.js +34 -34
  43. package/dist/cjs/ptc-list.cjs.entry.js +50 -50
  44. package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
  45. package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
  46. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +13 -13
  47. package/dist/cjs/ptc-mobile-select.cjs.entry.js +157 -139
  48. package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
  49. package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
  50. package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
  51. package/dist/cjs/ptc-nav-pills.cjs.entry.js +9 -9
  52. package/dist/cjs/ptc-nav-slider.cjs.entry.js +91 -91
  53. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +38 -38
  54. package/dist/cjs/ptc-news.cjs.entry.js +18 -18
  55. package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
  56. package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
  57. package/dist/cjs/ptc-picture.cjs.entry.js +153 -153
  58. package/dist/cjs/ptc-previous-url.cjs.entry.js +12 -12
  59. package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
  60. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
  61. package/dist/cjs/ptc-product-card.cjs.entry.js +23 -23
  62. package/dist/cjs/ptc-product-category.cjs.entry.js +11 -11
  63. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +70 -70
  64. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +13 -13
  65. package/dist/cjs/ptc-product-list.cjs.entry.js +141 -141
  66. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +129 -129
  67. package/dist/cjs/ptc-progress-bar.cjs.entry.js +17 -17
  68. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  69. package/dist/cjs/ptc-readmore-char.cjs.entry.js +25 -25
  70. package/dist/cjs/ptc-readmore.cjs.entry.js +78 -78
  71. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
  72. package/dist/cjs/ptc-search-field.cjs.entry.js +72 -72
  73. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
  74. package/dist/cjs/ptc-slit-card.cjs.entry.js +26 -26
  75. package/dist/cjs/ptc-social-share.cjs.entry.js +70 -70
  76. package/dist/cjs/ptc-spacer.cjs.entry.js +28 -28
  77. package/dist/cjs/ptc-span.cjs.entry.js +22 -22
  78. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
  79. package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
  80. package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
  81. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  82. package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
  83. package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
  84. package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
  85. package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
  86. package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
  87. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  88. package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
  89. package/dist/cjs/ptcw-design.cjs.js +2 -2
  90. package/dist/cjs/sequential-bundle-example.cjs.entry.js +110 -110
  91. package/dist/cjs/sequential-bundle.cjs.entry.js +90 -90
  92. package/dist/cjs/tab-content.cjs.entry.js +28 -28
  93. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  94. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  95. package/dist/collection/collection-manifest.json +1 -1
  96. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  97. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  98. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  99. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  100. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  101. package/dist/collection/components/icon-asset/media/designer.svg +464 -464
  102. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  103. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  104. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  105. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  106. package/dist/collection/components/list-item/list-item.js +144 -144
  107. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  108. package/dist/collection/components/max-width-container/max-width-container.js +123 -123
  109. package/dist/collection/components/my-component/my-component.css +3 -3
  110. package/dist/collection/components/my-component/my-component.js +82 -82
  111. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  112. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
  113. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
  114. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
  115. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  116. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  117. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  118. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
  119. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  120. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  121. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  122. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  123. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  124. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  125. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +1 -0
  126. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  127. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  128. package/dist/collection/components/ptc-button/ptc-button.js +302 -302
  129. package/dist/collection/components/ptc-card/ptc-card.js +362 -362
  130. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  131. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  132. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
  133. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
  134. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  135. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  136. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  137. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  138. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  139. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  140. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  141. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  142. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  143. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  144. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
  145. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  146. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
  147. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  148. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  149. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  150. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
  151. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  152. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  153. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  154. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  155. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  156. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
  157. package/dist/collection/components/ptc-link/ptc-link.js +207 -207
  158. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  159. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  160. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  161. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  162. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  163. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
  164. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  165. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  166. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  167. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  168. package/dist/collection/components/ptc-news/ptc-news.js +169 -169
  169. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  170. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  171. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  172. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  173. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  174. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  175. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  176. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  177. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  178. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  179. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  180. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  181. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  182. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  183. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  184. package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
  185. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  186. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  187. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  188. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  189. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  190. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  191. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  192. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  193. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  194. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  195. package/dist/collection/components/ptc-span/ptc-span.css +10 -0
  196. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  197. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  198. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  199. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  200. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  201. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
  202. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  203. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  204. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
  205. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  206. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  207. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  208. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
  209. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  210. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  211. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
  212. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  213. package/dist/collection/components/tab-content/tab-content.js +84 -84
  214. package/dist/collection/components/tab-header/tab-header.js +182 -182
  215. package/dist/collection/index.js +1 -1
  216. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  217. package/dist/collection/media/svg-imgs/close.svg +10 -10
  218. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  219. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  220. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  221. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  222. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  223. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  224. package/dist/collection/media/svg-imgs/union.svg +3 -3
  225. package/dist/collection/stories/Accordian.stories.js +205 -205
  226. package/dist/collection/stories/Announcement.stories.js +64 -64
  227. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  228. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  229. package/dist/collection/stories/Button.stories.js +43 -43
  230. package/dist/collection/stories/Card.stories.js +234 -234
  231. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  232. package/dist/collection/stories/Checkbox.stories.js +52 -52
  233. package/dist/collection/stories/Date.stories.js +81 -81
  234. package/dist/collection/stories/Dropdown.stories.js +48 -48
  235. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  236. package/dist/collection/stories/FilterTag.stories.js +73 -73
  237. package/dist/collection/stories/Hero.stories.js +119 -119
  238. package/dist/collection/stories/Icon.stories.js +71 -71
  239. package/dist/collection/stories/IconList.stories.js +114 -114
  240. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  241. package/dist/collection/stories/Link.stories.js +101 -101
  242. package/dist/collection/stories/ListItem.stories.js +59 -59
  243. package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
  244. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  245. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  246. package/dist/collection/stories/Modal.stories.js +105 -105
  247. package/dist/collection/stories/Overlay.stories.js +48 -48
  248. package/dist/collection/stories/Pagination.stories.js +101 -101
  249. package/dist/collection/stories/Paragraph.stories.js +95 -95
  250. package/dist/collection/stories/Picture.stories.js +139 -139
  251. package/dist/collection/stories/Quote.stories.js +107 -107
  252. package/dist/collection/stories/ReadMore.stories.js +100 -100
  253. package/dist/collection/stories/SocialShare.stories.js +66 -66
  254. package/dist/collection/stories/Spacer.stories.js +48 -48
  255. package/dist/collection/stories/Span.stories.js +57 -57
  256. package/dist/collection/stories/SvgButton.stories.js +34 -34
  257. package/dist/collection/stories/Tabs.stories.js +213 -213
  258. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  259. package/dist/collection/stories/Title.stories.js +115 -115
  260. package/dist/collection/stories/Tooltip.stories.js +112 -112
  261. package/dist/collection/utils/component.js +3 -3
  262. package/dist/collection/utils/interfaces.js +11 -11
  263. package/dist/collection/utils/utils.js +92 -92
  264. package/dist/custom-elements/index.js +8914 -8560
  265. package/dist/esm/bundle-example.entry.js +31 -31
  266. package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
  267. package/dist/esm/{core-73ab4867.js → core-209a2c67.js} +91 -29
  268. package/dist/esm/dropdown-item.entry.js +11 -11
  269. package/dist/esm/dynamic-box-bundle.entry.js +26 -26
  270. package/dist/esm/featured-list.entry.js +84 -84
  271. package/dist/esm/fl-tab-content_11.entry.js +594 -594
  272. package/dist/esm/{index-4afc9d28.js → index-21391103.js} +72 -1
  273. package/dist/esm/innovator-toggle-container.entry.js +22 -22
  274. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  275. package/dist/esm/list-item.entry.js +23 -23
  276. package/dist/esm/loader.js +3 -3
  277. package/dist/esm/lottie-player.entry.js +3073 -2826
  278. package/dist/esm/max-width-container.entry.js +38 -38
  279. package/dist/esm/my-component.entry.js +16 -16
  280. package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
  281. package/dist/esm/polyfills/core-js.js +0 -0
  282. package/dist/esm/polyfills/dom.js +0 -0
  283. package/dist/esm/polyfills/es5-html-element.js +0 -0
  284. package/dist/esm/polyfills/index.js +0 -0
  285. package/dist/esm/polyfills/system.js +0 -0
  286. package/dist/esm/ptc-accordion-item.entry.js +85 -85
  287. package/dist/esm/ptc-accordion.entry.js +40 -40
  288. package/dist/esm/ptc-announcement.entry.js +53 -53
  289. package/dist/esm/ptc-back-to-top.entry.js +36 -36
  290. package/dist/esm/ptc-bio-card.entry.js +26 -26
  291. package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
  292. package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
  293. package/dist/esm/ptc-card-content.entry.js +58 -58
  294. package/dist/esm/ptc-card.entry.js +67 -67
  295. package/dist/esm/ptc-case-studies-slider.entry.js +92 -83
  296. package/dist/esm/ptc-checkbox.entry.js +51 -51
  297. package/dist/esm/ptc-collapse-list.entry.js +398 -398
  298. package/dist/esm/ptc-container.entry.js +34 -34
  299. package/dist/esm/ptc-date.entry.js +51 -51
  300. package/dist/esm/ptc-dropdown.entry.js +65 -65
  301. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  302. package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
  303. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  304. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  305. package/dist/esm/ptc-hero.entry.js +19 -19
  306. package/dist/esm/ptc-icon-component.entry.js +63 -63
  307. package/dist/esm/ptc-icon-list.entry.js +22 -22
  308. package/dist/esm/ptc-icon-minimize.entry.js +44 -44
  309. package/dist/esm/ptc-image-download-strip.entry.js +19 -19
  310. package/dist/esm/ptc-link.entry.js +34 -34
  311. package/dist/esm/ptc-list.entry.js +50 -50
  312. package/dist/esm/ptc-lottie.entry.js +11 -11
  313. package/dist/esm/ptc-media-card.entry.js +59 -59
  314. package/dist/esm/ptc-minimized-nav.entry.js +13 -13
  315. package/dist/esm/ptc-mobile-select.entry.js +157 -139
  316. package/dist/esm/ptc-modal.entry.js +151 -151
  317. package/dist/esm/ptc-nav-card.entry.js +37 -37
  318. package/dist/esm/ptc-nav-link.entry.js +37 -37
  319. package/dist/esm/ptc-nav-pills.entry.js +9 -9
  320. package/dist/esm/ptc-nav-slider.entry.js +91 -91
  321. package/dist/esm/ptc-nav-submenu.entry.js +38 -38
  322. package/dist/esm/ptc-news.entry.js +18 -18
  323. package/dist/esm/ptc-overlay.entry.js +24 -24
  324. package/dist/esm/ptc-pagenation.entry.js +307 -307
  325. package/dist/esm/ptc-picture.entry.js +153 -153
  326. package/dist/esm/ptc-previous-url.entry.js +12 -12
  327. package/dist/esm/ptc-pricing-block.entry.js +21 -21
  328. package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
  329. package/dist/esm/ptc-product-card.entry.js +23 -23
  330. package/dist/esm/ptc-product-category.entry.js +11 -11
  331. package/dist/esm/ptc-product-dropdown.entry.js +70 -70
  332. package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
  333. package/dist/esm/ptc-product-list.entry.js +141 -141
  334. package/dist/esm/ptc-product-sidebar.entry.js +129 -129
  335. package/dist/esm/ptc-progress-bar.entry.js +17 -17
  336. package/dist/esm/ptc-quote.entry.js +24 -24
  337. package/dist/esm/ptc-readmore-char.entry.js +25 -25
  338. package/dist/esm/ptc-readmore.entry.js +78 -78
  339. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  340. package/dist/esm/ptc-search-field.entry.js +72 -72
  341. package/dist/esm/ptc-shopping-cart.entry.js +51 -51
  342. package/dist/esm/ptc-slit-card.entry.js +26 -26
  343. package/dist/esm/ptc-social-share.entry.js +70 -70
  344. package/dist/esm/ptc-spacer.entry.js +28 -28
  345. package/dist/esm/ptc-span.entry.js +22 -22
  346. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  347. package/dist/esm/ptc-sticky-section.entry.js +31 -31
  348. package/dist/esm/ptc-sticky-title.entry.js +24 -24
  349. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  350. package/dist/esm/ptc-subnav.entry.js +23 -23
  351. package/dist/esm/ptc-svg-btn.entry.js +96 -96
  352. package/dist/esm/ptc-tab-list.entry.js +142 -142
  353. package/dist/esm/ptc-tab.entry.js +21 -21
  354. package/dist/esm/ptc-tabs.entry.js +48 -48
  355. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  356. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  357. package/dist/esm/ptcw-design.js +3 -3
  358. package/dist/esm/sequential-bundle-example.entry.js +110 -110
  359. package/dist/esm/sequential-bundle.entry.js +90 -90
  360. package/dist/esm/tab-content.entry.js +28 -28
  361. package/dist/esm/tab-header.entry.js +65 -65
  362. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  363. package/dist/ptcw-design/media/brands.svg +1381 -1381
  364. package/dist/ptcw-design/media/designer.svg +464 -464
  365. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  366. package/dist/ptcw-design/media/regular.svg +463 -463
  367. package/dist/ptcw-design/media/solid.svg +3013 -3013
  368. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  369. package/dist/ptcw-design/{p-ad924207.entry.js → p-028409cd.entry.js} +1 -1
  370. package/dist/ptcw-design/p-06262b44.entry.js +1 -0
  371. package/dist/ptcw-design/{p-0fec8647.entry.js → p-080cbd2d.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-9bbfeec6.entry.js → p-08437727.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-c9ded71b.entry.js → p-08733d19.entry.js} +1 -1
  374. package/dist/ptcw-design/{p-799bbd3a.entry.js → p-08cab079.entry.js} +1 -1
  375. package/dist/ptcw-design/{p-c6f0e262.entry.js → p-0ca86436.entry.js} +1 -1
  376. package/dist/ptcw-design/{p-da15fae5.entry.js → p-0eefc76d.entry.js} +1 -1
  377. package/dist/ptcw-design/p-0fc282f5.js +1 -0
  378. package/dist/ptcw-design/{p-c83efab5.entry.js → p-122bc62a.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-2ac4eb02.entry.js → p-13006914.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-e8127819.entry.js → p-1465e04b.entry.js} +1 -1
  381. package/dist/ptcw-design/{p-04549d19.entry.js → p-15ee1d41.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-f4479b50.entry.js → p-170a4520.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-7698cc75.entry.js → p-17846304.entry.js} +1 -1
  384. package/dist/ptcw-design/{p-4f93dac7.entry.js → p-183afcaa.entry.js} +1 -1
  385. package/dist/ptcw-design/{p-64691ccb.entry.js → p-199299c1.entry.js} +1 -1
  386. package/dist/ptcw-design/{p-5854b9b4.entry.js → p-1ba081ce.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-07059441.entry.js → p-231278be.entry.js} +1 -1
  388. package/dist/ptcw-design/{p-00b2c937.entry.js → p-23946151.entry.js} +1 -1
  389. package/dist/ptcw-design/{p-c326164f.entry.js → p-23ed5ea6.entry.js} +1 -1
  390. package/dist/ptcw-design/{p-82295854.entry.js → p-244f83f3.entry.js} +1 -1
  391. package/dist/ptcw-design/{p-35b3d9a8.entry.js → p-25167d45.entry.js} +1 -1
  392. package/dist/ptcw-design/{p-77d3b816.entry.js → p-25db5b96.entry.js} +1 -1
  393. package/dist/ptcw-design/{p-c05218ed.entry.js → p-278bc921.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-a924d029.entry.js → p-2b749bdc.entry.js} +1 -1
  395. package/dist/ptcw-design/{p-42424ba0.entry.js → p-2c5601e6.entry.js} +1 -1
  396. package/dist/ptcw-design/{p-e2be8313.entry.js → p-2ef9daf2.entry.js} +1 -1
  397. package/dist/ptcw-design/{p-deed8ef6.entry.js → p-3d48eee9.entry.js} +1 -1
  398. package/dist/ptcw-design/{p-68543211.entry.js → p-41fde8fa.entry.js} +1 -1
  399. package/dist/ptcw-design/{p-c1d75020.entry.js → p-43507764.entry.js} +1 -1
  400. package/dist/ptcw-design/{p-9805a542.entry.js → p-45c2cbae.entry.js} +1 -1
  401. package/dist/ptcw-design/{p-bdfd42d2.entry.js → p-45cacac0.entry.js} +1 -1
  402. package/dist/ptcw-design/{p-cff0b2b0.entry.js → p-4b34acee.entry.js} +1 -1
  403. package/dist/ptcw-design/{p-d275759d.entry.js → p-4d29d44f.entry.js} +1 -1
  404. package/dist/ptcw-design/{p-effa1f41.entry.js → p-505fefa8.entry.js} +1 -1
  405. package/dist/ptcw-design/{p-7097ec55.entry.js → p-565d1a43.entry.js} +1 -1
  406. package/dist/ptcw-design/{p-b2afe3a3.entry.js → p-5b4b7f58.entry.js} +1 -1
  407. package/dist/ptcw-design/{p-2a959ce3.entry.js → p-5c9ec3bd.entry.js} +1 -1
  408. package/dist/ptcw-design/{p-87ccd549.entry.js → p-609c22ad.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-08f40716.entry.js → p-6173728b.entry.js} +1 -1
  410. package/dist/ptcw-design/p-6af962e5.entry.js +1 -0
  411. package/dist/ptcw-design/{p-fbf6f66c.entry.js → p-6f84bb3d.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-edc34ad7.entry.js → p-72b4a490.entry.js} +1 -1
  413. package/dist/ptcw-design/{p-47ee06af.entry.js → p-73d928ed.entry.js} +1 -1
  414. package/dist/ptcw-design/{p-1a346da4.entry.js → p-747335ac.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-f67dc72c.entry.js → p-8122add2.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-20500bc0.entry.js → p-8b573d00.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-ddf7819e.entry.js → p-943b5303.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-6a0b0d0e.entry.js → p-97609fca.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-7650e042.entry.js → p-9d1d6809.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-07b6676a.entry.js → p-a35463bb.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-a49ba579.entry.js → p-a5ac7c04.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-7c49a1f7.entry.js → p-a8a8d2ca.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-09a6b0a7.entry.js → p-a95f280e.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-dc64e2d4.entry.js → p-a95ff28e.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-a5e92df6.entry.js → p-ab0d4194.entry.js} +1 -1
  426. package/dist/ptcw-design/{p-b64cd689.entry.js → p-b38a0226.entry.js} +1 -1
  427. package/dist/ptcw-design/{p-a532ea92.entry.js → p-b4671b5a.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-a6ebedfd.entry.js → p-b516596d.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-08f17ab6.entry.js → p-bfbf37a8.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-a1f30323.entry.js → p-c110ab42.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-a7eb1503.entry.js → p-c23b2193.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-c852499f.entry.js → p-c882578e.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-a4c49997.entry.js → p-c8b928c7.entry.js} +1 -1
  434. package/dist/ptcw-design/{p-f927e1f9.entry.js → p-c9ce035d.entry.js} +1 -1
  435. package/dist/ptcw-design/{p-2d138e91.entry.js → p-cd1d29c5.entry.js} +1 -1
  436. package/dist/ptcw-design/p-cd367142.entry.js +1 -0
  437. package/dist/ptcw-design/{p-90143d7c.entry.js → p-ceedd42f.entry.js} +1 -1
  438. package/dist/ptcw-design/{p-e329399d.entry.js → p-d128370d.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-0974caa3.entry.js → p-d321c138.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-d94d1fa5.entry.js → p-d3a1bccb.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-7e978dd7.entry.js → p-d5238ca8.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-c9342bd2.entry.js → p-d799256c.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-8116452c.entry.js → p-da0e545b.entry.js} +1 -1
  444. package/dist/ptcw-design/{p-d7e11aad.entry.js → p-dafe2a9c.entry.js} +1 -1
  445. package/dist/ptcw-design/{p-dea73da3.entry.js → p-db293da6.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-372a6bb1.entry.js → p-dde97cd2.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-5c9d254c.entry.js → p-ded150bd.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-1aaaefc2.entry.js → p-e091a5a4.entry.js} +1 -1
  449. package/dist/ptcw-design/p-e428e6d9.js +1 -0
  450. package/dist/ptcw-design/{p-ab2a2d1a.entry.js → p-eaaff93a.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-c43f4e1a.entry.js → p-eea6675f.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-009f76ac.entry.js → p-f0ca9ea8.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-8c212875.entry.js → p-f3be6ce6.entry.js} +1 -1
  454. package/dist/ptcw-design/{p-b73ea53a.entry.js → p-f52101a5.entry.js} +1 -1
  455. package/dist/ptcw-design/{p-10555016.entry.js → p-f8b136d2.entry.js} +1 -1
  456. package/dist/ptcw-design/{p-1905e99d.entry.js → p-fc268696.entry.js} +1 -1
  457. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  458. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  459. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  460. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  461. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  462. package/dist/types/components/list-item/list-item.d.ts +16 -16
  463. package/dist/types/components/max-width-container/max-width-container.d.ts +15 -15
  464. package/dist/types/components/my-component/my-component.d.ts +16 -16
  465. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  466. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  467. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  468. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  469. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  470. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  471. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  472. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  473. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  474. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  475. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  476. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  477. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  478. package/dist/types/components/ptc-card/ptc-card.d.ts +71 -71
  479. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  480. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  481. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -24
  482. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  483. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  484. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  485. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  486. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  487. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  488. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  489. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  490. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  491. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
  492. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  493. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  494. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  495. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  496. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  497. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  498. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  499. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  500. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  501. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  502. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
  503. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  504. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  505. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  506. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  507. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  508. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  509. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  510. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  511. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  512. package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
  513. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  514. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  515. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  516. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  517. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  518. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  519. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  520. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  521. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  522. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  523. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  524. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  525. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  526. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  527. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  528. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  529. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  530. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  531. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  532. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  533. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  534. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  535. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  536. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  537. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  538. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  539. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  540. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  541. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  542. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
  543. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  544. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  545. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
  546. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  547. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  548. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  549. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
  550. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  551. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  552. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
  553. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  554. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  555. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  556. package/dist/types/components.d.ts +130 -130
  557. package/dist/types/global.d.ts +1072 -1072
  558. package/dist/types/index.d.ts +1 -1
  559. package/dist/types/stencil-public-runtime.d.ts +11 -0
  560. package/dist/types/utils/component.d.ts +1 -1
  561. package/dist/types/utils/interfaces.d.ts +31 -31
  562. package/dist/types/utils/utils.d.ts +5 -5
  563. package/package.json +81 -81
  564. package/readme.md +18 -18
  565. package/dist/ptcw-design/p-553d840a.js +0 -1
  566. package/dist/ptcw-design/p-6acd380a.entry.js +0 -1
  567. package/dist/ptcw-design/p-908b08d5.entry.js +0 -1
  568. package/dist/ptcw-design/p-d100f115.js +0 -1
  569. package/dist/ptcw-design/p-e282af3d.entry.js +0 -1
  570. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  571. /package/dist/ptcw-design/{p-9dd25c18.js → p-bd1f5fd2.js} +0 -0
  572. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -410,7 +410,7 @@ function calcSupport() {
410
410
  const window = getWindow();
411
411
  const document = getDocument();
412
412
  return {
413
- smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,
413
+ smoothScroll: document.documentElement && document.documentElement.style && 'scrollBehavior' in document.documentElement.style,
414
414
  touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch)
415
415
  };
416
416
  }
@@ -818,6 +818,8 @@ function updateSlides() {
818
818
  }
819
819
  if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
820
820
  spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;
821
+ } else if (typeof spaceBetween === 'string') {
822
+ spaceBetween = parseFloat(spaceBetween);
821
823
  }
822
824
  swiper.virtualSize = -spaceBetween;
823
825
 
@@ -927,10 +929,10 @@ function updateSlides() {
927
929
  }
928
930
  swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;
929
931
  if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {
930
- wrapperEl.style.width = `${swiper.virtualSize + params.spaceBetween}px`;
932
+ wrapperEl.style.width = `${swiper.virtualSize + spaceBetween}px`;
931
933
  }
932
934
  if (params.setWrapperSize) {
933
- wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + params.spaceBetween}px`;
935
+ wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + spaceBetween}px`;
934
936
  }
935
937
  if (gridEnabled) {
936
938
  swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);
@@ -969,7 +971,7 @@ function updateSlides() {
969
971
  }
970
972
  }
971
973
  if (snapGrid.length === 0) snapGrid = [0];
972
- if (params.spaceBetween !== 0) {
974
+ if (spaceBetween !== 0) {
973
975
  const key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');
974
976
  slides.filter((_, slideIndex) => {
975
977
  if (!params.cssMode || params.loop) return true;
@@ -984,9 +986,9 @@ function updateSlides() {
984
986
  if (params.centeredSlides && params.centeredSlidesBounds) {
985
987
  let allSlidesSize = 0;
986
988
  slidesSizesGrid.forEach(slideSizeValue => {
987
- allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
989
+ allSlidesSize += slideSizeValue + (spaceBetween || 0);
988
990
  });
989
- allSlidesSize -= params.spaceBetween;
991
+ allSlidesSize -= spaceBetween;
990
992
  const maxSnap = allSlidesSize - swiperSize;
991
993
  snapGrid = snapGrid.map(snap => {
992
994
  if (snap < 0) return -offsetBefore;
@@ -997,9 +999,9 @@ function updateSlides() {
997
999
  if (params.centerInsufficientSlides) {
998
1000
  let allSlidesSize = 0;
999
1001
  slidesSizesGrid.forEach(slideSizeValue => {
1000
- allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
1002
+ allSlidesSize += slideSizeValue + (spaceBetween || 0);
1001
1003
  });
1002
- allSlidesSize -= params.spaceBetween;
1004
+ allSlidesSize -= spaceBetween;
1003
1005
  if (allSlidesSize < swiperSize) {
1004
1006
  const allSlidesOffset = (swiperSize - allSlidesSize) / 2;
1005
1007
  snapGrid.forEach((snap, snapIndex) => {
@@ -1061,7 +1063,7 @@ function updateAutoHeight(speed) {
1061
1063
  }
1062
1064
  const getSlideByIndex = index => {
1063
1065
  if (isVirtual) {
1064
- return swiper.getSlideIndexByData(index);
1066
+ return swiper.slides[swiper.getSlideIndexByData(index)];
1065
1067
  }
1066
1068
  return swiper.slides[index];
1067
1069
  };
@@ -1100,7 +1102,7 @@ function updateSlidesOffset() {
1100
1102
  // eslint-disable-next-line
1101
1103
  const minusOffset = swiper.isElement ? swiper.isHorizontal() ? swiper.wrapperEl.offsetLeft : swiper.wrapperEl.offsetTop : 0;
1102
1104
  for (let i = 0; i < slides.length; i += 1) {
1103
- slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset;
1105
+ slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset - swiper.cssOverflowAdjustment();
1104
1106
  }
1105
1107
  }
1106
1108
 
@@ -1123,14 +1125,20 @@ function updateSlidesProgress(translate = this && this.translate || 0) {
1123
1125
  });
1124
1126
  swiper.visibleSlidesIndexes = [];
1125
1127
  swiper.visibleSlides = [];
1128
+ let spaceBetween = params.spaceBetween;
1129
+ if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
1130
+ spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiper.size;
1131
+ } else if (typeof spaceBetween === 'string') {
1132
+ spaceBetween = parseFloat(spaceBetween);
1133
+ }
1126
1134
  for (let i = 0; i < slides.length; i += 1) {
1127
1135
  const slide = slides[i];
1128
1136
  let slideOffset = slide.swiperSlideOffset;
1129
1137
  if (params.cssMode && params.centeredSlides) {
1130
1138
  slideOffset -= slides[0].swiperSlideOffset;
1131
1139
  }
1132
- const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
1133
- const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
1140
+ const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
1141
+ const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
1134
1142
  const slideBefore = -(offsetCenter - slideOffset);
1135
1143
  const slideAfter = slideBefore + swiper.slidesSizesGrid[i];
1136
1144
  const isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;
@@ -1259,6 +1267,41 @@ function updateSlidesClasses() {
1259
1267
  swiper.emitSlidesClasses();
1260
1268
  }
1261
1269
 
1270
+ const processLazyPreloader = (swiper, imageEl) => {
1271
+ if (!swiper || swiper.destroyed || !swiper.params) return;
1272
+ const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
1273
+ const slideEl = imageEl.closest(slideSelector());
1274
+ if (slideEl) {
1275
+ const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
1276
+ if (lazyEl) lazyEl.remove();
1277
+ }
1278
+ };
1279
+ const unlazy = (swiper, index) => {
1280
+ if (!swiper.slides[index]) return;
1281
+ const imageEl = swiper.slides[index].querySelector('[loading="lazy"]');
1282
+ if (imageEl) imageEl.removeAttribute('loading');
1283
+ };
1284
+ const preload = swiper => {
1285
+ if (!swiper || swiper.destroyed || !swiper.params) return;
1286
+ let amount = swiper.params.lazyPreloadPrevNext;
1287
+ const len = swiper.slides.length;
1288
+ if (!len || !amount || amount < 0) return;
1289
+ amount = Math.min(amount, len);
1290
+ const slidesPerView = swiper.params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : Math.ceil(swiper.params.slidesPerView);
1291
+ const activeIndex = swiper.activeIndex;
1292
+ const slideIndexLastInView = activeIndex + slidesPerView - 1;
1293
+ if (swiper.params.rewind) {
1294
+ for (let i = activeIndex - amount; i <= slideIndexLastInView + amount; i += 1) {
1295
+ const realIndex = (i % len + len) % len;
1296
+ if (realIndex !== activeIndex && realIndex > slideIndexLastInView) unlazy(swiper, realIndex);
1297
+ }
1298
+ } else {
1299
+ for (let i = Math.max(slideIndexLastInView - amount, 0); i <= Math.min(slideIndexLastInView + amount, len - 1); i += 1) {
1300
+ if (i !== activeIndex && i > slideIndexLastInView) unlazy(swiper, i);
1301
+ }
1302
+ }
1303
+ };
1304
+
1262
1305
  function getActiveIndexByTranslate(swiper) {
1263
1306
  const {
1264
1307
  slidesGrid,
@@ -1335,11 +1378,16 @@ function updateActiveIndex(newActiveIndex) {
1335
1378
  realIndex = activeIndex;
1336
1379
  }
1337
1380
  Object.assign(swiper, {
1381
+ previousSnapIndex,
1338
1382
  snapIndex,
1383
+ previousRealIndex,
1339
1384
  realIndex,
1340
1385
  previousIndex,
1341
1386
  activeIndex
1342
1387
  });
1388
+ if (swiper.initialized) {
1389
+ preload(swiper);
1390
+ }
1343
1391
  swiper.emit('activeIndexChange');
1344
1392
  swiper.emit('snapIndexChange');
1345
1393
  if (previousRealIndex !== realIndex) {
@@ -1409,6 +1457,7 @@ function getSwiperTranslate(axis = this.isHorizontal() ? 'x' : 'y') {
1409
1457
  return translate;
1410
1458
  }
1411
1459
  let currentTranslate = getTranslate(wrapperEl, axis);
1460
+ currentTranslate += swiper.cssOverflowAdjustment();
1412
1461
  if (rtl) currentTranslate = -currentTranslate;
1413
1462
  return currentTranslate || 0;
1414
1463
  }
@@ -1433,13 +1482,18 @@ function setTranslate(translate, byController) {
1433
1482
  x = Math.floor(x);
1434
1483
  y = Math.floor(y);
1435
1484
  }
1485
+ swiper.previousTranslate = swiper.translate;
1486
+ swiper.translate = swiper.isHorizontal() ? x : y;
1436
1487
  if (params.cssMode) {
1437
1488
  wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;
1438
1489
  } else if (!params.virtualTranslate) {
1490
+ if (swiper.isHorizontal()) {
1491
+ x -= swiper.cssOverflowAdjustment();
1492
+ } else {
1493
+ y -= swiper.cssOverflowAdjustment();
1494
+ }
1439
1495
  wrapperEl.style.transform = `translate3d(${x}px, ${y}px, ${z}px)`;
1440
1496
  }
1441
- swiper.previousTranslate = swiper.translate;
1442
- swiper.translate = swiper.isHorizontal() ? x : y;
1443
1497
 
1444
1498
  // Check if we need to update progress
1445
1499
  let newProgress;
@@ -2032,15 +2086,22 @@ function loopFix({
2032
2086
  }
2033
2087
  if (isPrev) {
2034
2088
  prependSlidesIndexes.forEach(index => {
2089
+ swiper.slides[index].swiperLoopMoveDOM = true;
2035
2090
  slidesEl.prepend(swiper.slides[index]);
2091
+ swiper.slides[index].swiperLoopMoveDOM = false;
2036
2092
  });
2037
2093
  }
2038
2094
  if (isNext) {
2039
2095
  appendSlidesIndexes.forEach(index => {
2096
+ swiper.slides[index].swiperLoopMoveDOM = true;
2040
2097
  slidesEl.append(swiper.slides[index]);
2098
+ swiper.slides[index].swiperLoopMoveDOM = false;
2041
2099
  });
2042
2100
  }
2043
2101
  swiper.recalcSlides();
2102
+ if (params.slidesPerView === 'auto') {
2103
+ swiper.updateSlides();
2104
+ }
2044
2105
  if (params.watchSlidesProgress) {
2045
2106
  swiper.updateSlidesOffset();
2046
2107
  }
@@ -2669,7 +2730,6 @@ function onTouchEnd(event) {
2669
2730
  }
2670
2731
  }
2671
2732
 
2672
- let timeout;
2673
2733
  function onResize() {
2674
2734
  const swiper = this;
2675
2735
  const {
@@ -2708,8 +2768,8 @@ function onResize() {
2708
2768
  }
2709
2769
  }
2710
2770
  if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
2711
- clearTimeout(timeout);
2712
- timeout = setTimeout(() => {
2771
+ clearTimeout(swiper.autoplay.resizeTimeout);
2772
+ swiper.autoplay.resizeTimeout = setTimeout(() => {
2713
2773
  if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
2714
2774
  swiper.autoplay.resume();
2715
2775
  }
@@ -2766,19 +2826,12 @@ function onScroll() {
2766
2826
  swiper.emit('setTranslate', swiper.translate, false);
2767
2827
  }
2768
2828
 
2769
- const processLazyPreloader = (swiper, imageEl) => {
2770
- if (!swiper || swiper.destroyed || !swiper.params) return;
2771
- const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
2772
- const slideEl = imageEl.closest(slideSelector());
2773
- if (slideEl) {
2774
- const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
2775
- if (lazyEl) lazyEl.remove();
2776
- }
2777
- };
2778
-
2779
2829
  function onLoad(e) {
2780
2830
  const swiper = this;
2781
2831
  processLazyPreloader(swiper, e.target);
2832
+ if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
2833
+ return;
2834
+ }
2782
2835
  swiper.update();
2783
2836
  }
2784
2837
 
@@ -3188,6 +3241,7 @@ const defaults = {
3188
3241
  slidePrevClass: 'swiper-slide-prev',
3189
3242
  wrapperClass: 'swiper-wrapper',
3190
3243
  lazyPreloaderClass: 'swiper-lazy-preloader',
3244
+ lazyPreloadPrevNext: 0,
3191
3245
  // Callbacks
3192
3246
  runCallbacksOnInit: true,
3193
3247
  // Internals
@@ -3341,6 +3395,11 @@ class Swiper {
3341
3395
  progress: 0,
3342
3396
  velocity: 0,
3343
3397
  animating: false,
3398
+ cssOverflowAdjustment() {
3399
+ // Returns 0 unless `translate` is > 2**23
3400
+ // Should be subtracted from css values to prevent overflow
3401
+ return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
3402
+ },
3344
3403
  // Locks
3345
3404
  allowSlideNext: swiper.params.allowSlideNext,
3346
3405
  allowSlidePrev: swiper.params.allowSlidePrev,
@@ -3357,7 +3416,7 @@ class Swiper {
3357
3416
  // Form elements to match
3358
3417
  focusableElements: swiper.params.focusableElements,
3359
3418
  // Last click time
3360
- lastClickTime: now(),
3419
+ lastClickTime: 0,
3361
3420
  clickTimeout: undefined,
3362
3421
  // Velocities
3363
3422
  velocities: [],
@@ -3552,7 +3611,8 @@ class Swiper {
3552
3611
  }
3553
3612
  } else {
3554
3613
  if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {
3555
- translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);
3614
+ const slides = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides : swiper.slides;
3615
+ translated = swiper.slideTo(slides.length - 1, 0, false, true);
3556
3616
  } else {
3557
3617
  translated = swiper.slideTo(swiper.activeIndex, 0, false, true);
3558
3618
  }
@@ -3704,9 +3764,11 @@ class Swiper {
3704
3764
  });
3705
3765
  }
3706
3766
  });
3767
+ preload(swiper);
3707
3768
 
3708
3769
  // Init Flag
3709
3770
  swiper.initialized = true;
3771
+ preload(swiper);
3710
3772
 
3711
3773
  // Emit
3712
3774
  swiper.emit('init');
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-88135a6b.js');
5
+ const index = require('./index-266d5edd.js');
6
6
 
7
7
  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)}";
8
8
 
9
- const DropdownItem = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.linkHref = undefined;
13
- this.linkTarget = '_self';
14
- }
15
- render() {
16
- return (index.h("div", { class: "dropdown-item" }, index.h("slot", null)));
17
- }
18
- };
9
+ const DropdownItem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.linkHref = undefined;
13
+ this.linkTarget = '_self';
14
+ }
15
+ render() {
16
+ return (index.h("div", { class: "dropdown-item" }, index.h("slot", null)));
17
+ }
18
+ };
19
19
  DropdownItem.style = dropdownItemCss;
20
20
 
21
21
  exports.dropdown_item = DropdownItem;
@@ -2,35 +2,35 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-88135a6b.js');
5
+ const index = require('./index-266d5edd.js');
6
6
 
7
7
  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}}";
8
8
 
9
- const DynamicBoxBundle = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.topImgSrc = 'https://www.ptc.com/-/media/Images/new-org/logos/PTC-logo.svg';
13
- this.topImgAlt = 'image';
14
- this.boxHeight = undefined;
15
- this.isHovering = false;
16
- }
17
- handleMouseOver() {
18
- if (window.innerWidth >= 1200) {
19
- this.isHovering = true;
20
- //this.el.style.height = `${this.el.offsetHeight + 50}px`;
21
- }
22
- }
23
- handleMouseOut() {
24
- if (window.innerWidth >= 1200) {
25
- this.isHovering = false;
26
- //this.el.style.height = '';
27
- }
28
- }
29
- render() {
30
- return (index.h(index.Host, null, index.h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200 ? 'hovering' : ''}` }, index.h("div", { class: "top-image" }, index.h("img", { src: this.topImgSrc, alt: this.topImgAlt })), index.h("div", { class: "content" }, index.h("slot", { name: "media" }))), index.h("p", null, index.h("slot", null))));
31
- }
32
- get el() { return index.getElement(this); }
33
- };
9
+ const DynamicBoxBundle = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.topImgSrc = 'https://www.ptc.com/-/media/Images/new-org/logos/PTC-logo.svg';
13
+ this.topImgAlt = 'image';
14
+ this.boxHeight = undefined;
15
+ this.isHovering = false;
16
+ }
17
+ handleMouseOver() {
18
+ if (window.innerWidth >= 1200) {
19
+ this.isHovering = true;
20
+ //this.el.style.height = `${this.el.offsetHeight + 50}px`;
21
+ }
22
+ }
23
+ handleMouseOut() {
24
+ if (window.innerWidth >= 1200) {
25
+ this.isHovering = false;
26
+ //this.el.style.height = '';
27
+ }
28
+ }
29
+ render() {
30
+ return (index.h(index.Host, null, index.h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200 ? 'hovering' : ''}` }, index.h("div", { class: "top-image" }, index.h("img", { src: this.topImgSrc, alt: this.topImgAlt })), index.h("div", { class: "content" }, index.h("slot", { name: "media" }))), index.h("p", null, index.h("slot", null))));
31
+ }
32
+ get el() { return index.getElement(this); }
33
+ };
34
34
  DynamicBoxBundle.style = dynamicBoxBundleCss;
35
35
 
36
36
  exports.dynamic_box_bundle = DynamicBoxBundle;
@@ -2,92 +2,92 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-88135a6b.js');
5
+ const index = require('./index-266d5edd.js');
6
6
 
7
- 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";
7
+ 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";
8
8
 
9
- const FeaturedList = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.isMobile = undefined;
13
- this.selectedTabGloble = 'tab-01';
14
- }
15
- handleResize() {
16
- this.isMobile = window.innerWidth < 992;
17
- this.holdTabOnResize(this.selectedTabGloble);
18
- }
19
- componentWillLoad() {
20
- this.isMobile = window.innerWidth < 992;
21
- }
22
- handleflTabClicked(event) {
23
- this.selectedTabGloble = event.detail.name;
24
- this.selectTab(this.selectedTabGloble);
25
- }
26
- holdTabOnResize(name) {
27
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
28
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
29
- contentBlocks.forEach(content => {
30
- if (content.classList.contains("init-active")) {
31
- content.classList.remove("init-active");
32
- }
33
- content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
34
- });
35
- headerBlocks.forEach(header => {
36
- if (header.classList.contains("init-active")) {
37
- header.classList.remove("init-active");
38
- }
39
- header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
40
- });
41
- }
42
- selectTab(name) {
43
- const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
44
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
45
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
46
- featuredImages.forEach(image => {
47
- if (image.classList.contains("init-active")) {
48
- image.classList.remove("init-active");
49
- }
50
- image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
51
- });
52
- contentBlocks.forEach(content => {
53
- this.updateActiveTab(name, content);
54
- });
55
- headerBlocks.forEach(header => {
56
- this.updateActiveTab(name, header);
57
- });
58
- }
59
- updateActiveTab(name, tabName) {
60
- if (this.isMobile) {
61
- if (tabName.getAttribute('name-key') === name) {
62
- if (tabName.classList.contains("init-active")) {
63
- tabName.removeAttribute('selected');
64
- }
65
- else {
66
- tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
67
- }
68
- }
69
- else {
70
- tabName.removeAttribute('selected');
71
- }
72
- }
73
- else {
74
- tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
75
- }
76
- if (tabName.classList.contains("init-active")) {
77
- tabName.classList.remove("init-active");
78
- }
79
- }
80
- render() {
81
- return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.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" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.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" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.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 ? (
82
- // Code for mobile only
83
- index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
84
- :
85
- (
86
- // Code for Desktop only
87
- index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
88
- }
89
- get hostElement() { return index.getElement(this); }
90
- };
9
+ const FeaturedList = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.isMobile = undefined;
13
+ this.selectedTabGloble = 'tab-01';
14
+ }
15
+ handleResize() {
16
+ this.isMobile = window.innerWidth < 992;
17
+ this.holdTabOnResize(this.selectedTabGloble);
18
+ }
19
+ componentWillLoad() {
20
+ this.isMobile = window.innerWidth < 992;
21
+ }
22
+ handleflTabClicked(event) {
23
+ this.selectedTabGloble = event.detail.name;
24
+ this.selectTab(this.selectedTabGloble);
25
+ }
26
+ holdTabOnResize(name) {
27
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
28
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
29
+ contentBlocks.forEach(content => {
30
+ if (content.classList.contains("init-active")) {
31
+ content.classList.remove("init-active");
32
+ }
33
+ content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
34
+ });
35
+ headerBlocks.forEach(header => {
36
+ if (header.classList.contains("init-active")) {
37
+ header.classList.remove("init-active");
38
+ }
39
+ header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
40
+ });
41
+ }
42
+ selectTab(name) {
43
+ const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
44
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
45
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
46
+ featuredImages.forEach(image => {
47
+ if (image.classList.contains("init-active")) {
48
+ image.classList.remove("init-active");
49
+ }
50
+ image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
51
+ });
52
+ contentBlocks.forEach(content => {
53
+ this.updateActiveTab(name, content);
54
+ });
55
+ headerBlocks.forEach(header => {
56
+ this.updateActiveTab(name, header);
57
+ });
58
+ }
59
+ updateActiveTab(name, tabName) {
60
+ if (this.isMobile) {
61
+ if (tabName.getAttribute('name-key') === name) {
62
+ if (tabName.classList.contains("init-active")) {
63
+ tabName.removeAttribute('selected');
64
+ }
65
+ else {
66
+ tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
67
+ }
68
+ }
69
+ else {
70
+ tabName.removeAttribute('selected');
71
+ }
72
+ }
73
+ else {
74
+ tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
75
+ }
76
+ if (tabName.classList.contains("init-active")) {
77
+ tabName.classList.remove("init-active");
78
+ }
79
+ }
80
+ render() {
81
+ return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.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" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.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" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.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 ? (
82
+ // Code for mobile only
83
+ index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
84
+ :
85
+ (
86
+ // Code for Desktop only
87
+ index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.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."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
88
+ }
89
+ get hostElement() { return index.getElement(this); }
90
+ };
91
91
  FeaturedList.style = featuredListCss;
92
92
 
93
93
  exports.featured_list = FeaturedList;