@ptcwebops/ptcw-design 1.9.1 → 1.9.3

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 (571) 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/icon-asset_5.cjs.entry.js +189 -189
  8. package/dist/cjs/{index-88135a6b.js → index-266d5edd.js} +72 -1
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
  10. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  11. package/dist/cjs/loader.cjs.js +3 -3
  12. package/dist/cjs/lottie-player.cjs.entry.js +3073 -2826
  13. package/dist/cjs/max-width-container_3.cjs.entry.js +217 -217
  14. package/dist/cjs/my-component.cjs.entry.js +16 -16
  15. package/dist/cjs/{pagination-8d9d474d.js → pagination-d20b7968.js} +24 -6
  16. package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
  17. package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
  18. package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
  19. package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
  20. package/dist/cjs/ptc-bio-card.cjs.entry.js +25 -25
  21. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
  22. package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
  23. package/dist/cjs/ptc-card.cjs.entry.js +67 -67
  24. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +93 -84
  25. package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
  26. package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
  27. package/dist/cjs/ptc-container.cjs.entry.js +34 -34
  28. package/dist/cjs/ptc-date.cjs.entry.js +51 -51
  29. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  30. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  31. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
  32. package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
  33. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
  34. package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
  35. package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
  36. package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
  37. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
  38. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
  39. package/dist/cjs/ptc-jumbotron.cjs.entry.js +111 -111
  40. package/dist/cjs/ptc-link.cjs.entry.js +34 -34
  41. package/dist/cjs/ptc-list.cjs.entry.js +50 -50
  42. package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
  43. package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
  44. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +9 -9
  45. package/dist/cjs/ptc-minimized-header.cjs.entry.js +12 -12
  46. package/dist/cjs/ptc-mobile-select.cjs.entry.js +157 -139
  47. package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
  48. package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
  49. package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
  50. package/dist/cjs/ptc-nav-pills.cjs.entry.js +19 -0
  51. package/dist/cjs/ptc-nav-slider.cjs.entry.js +84 -84
  52. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +22 -22
  53. package/dist/cjs/ptc-news.cjs.entry.js +19 -19
  54. package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
  55. package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
  56. package/dist/cjs/ptc-para_2.cjs.entry.js +79 -79
  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 +126 -126
  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 +23 -23
  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-span.cjs.entry.js +21 -21
  77. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
  78. package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
  79. package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
  80. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  81. package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
  82. package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
  83. package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
  84. package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
  85. package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
  86. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +44 -44
  87. package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
  88. package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
  89. package/dist/cjs/ptcw-design.cjs.js +3 -3
  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 +2 -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-jumbotron-example/bundle-jumbotron-example.css +3 -3
  114. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  115. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  116. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
  117. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  118. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  119. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  120. package/dist/collection/components/ptc-announcement/ptc-announcement.js +256 -256
  121. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  122. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  123. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  124. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  125. package/dist/collection/components/ptc-button/ptc-button.js +302 -302
  126. package/dist/collection/components/ptc-card/ptc-card.js +362 -362
  127. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  128. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  129. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
  130. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +23 -2
  131. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  132. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  133. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  134. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  135. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  136. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  137. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  138. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  139. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  140. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  141. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  142. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  143. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
  144. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  145. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  146. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  147. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  148. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  149. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +0 -122
  150. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +334 -334
  151. package/dist/collection/components/ptc-link/ptc-link.js +207 -207
  152. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  153. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  154. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  155. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  156. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  157. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  158. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
  159. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  160. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  161. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  162. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +25 -0
  163. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -0
  164. package/dist/collection/components/ptc-news/ptc-news.css +7 -2
  165. package/dist/collection/components/ptc-news/ptc-news.js +169 -169
  166. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  167. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  168. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  169. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  170. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  171. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  172. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +0 -122
  173. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  174. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  175. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  176. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  177. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  178. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  179. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  180. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  181. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  182. package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
  183. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +114 -114
  184. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  185. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  186. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  187. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  188. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  189. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  190. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  191. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  192. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  193. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  194. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  195. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  196. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  197. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  198. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
  199. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  200. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  201. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +14 -22
  202. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
  203. package/dist/collection/components/ptc-title/ptc-title.css +14 -1
  204. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  205. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  206. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  207. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
  208. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +126 -126
  209. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +105 -105
  210. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
  211. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  212. package/dist/collection/components/tab-content/tab-content.js +84 -84
  213. package/dist/collection/components/tab-header/tab-header.js +182 -182
  214. package/dist/collection/index.js +1 -1
  215. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  216. package/dist/collection/media/svg-imgs/close.svg +10 -10
  217. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +15 -15
  218. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  219. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  220. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  221. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  222. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  223. package/dist/collection/media/svg-imgs/union.svg +3 -3
  224. package/dist/collection/stories/Accordian.stories.js +205 -205
  225. package/dist/collection/stories/Announcement.stories.js +64 -64
  226. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  227. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  228. package/dist/collection/stories/Button.stories.js +43 -43
  229. package/dist/collection/stories/Card.stories.js +234 -234
  230. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  231. package/dist/collection/stories/Checkbox.stories.js +52 -52
  232. package/dist/collection/stories/Date.stories.js +81 -81
  233. package/dist/collection/stories/Dropdown.stories.js +48 -48
  234. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  235. package/dist/collection/stories/FilterTag.stories.js +73 -73
  236. package/dist/collection/stories/Hero.stories.js +119 -119
  237. package/dist/collection/stories/Icon.stories.js +71 -71
  238. package/dist/collection/stories/IconList.stories.js +114 -114
  239. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  240. package/dist/collection/stories/Link.stories.js +101 -101
  241. package/dist/collection/stories/ListItem.stories.js +59 -59
  242. package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
  243. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  244. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  245. package/dist/collection/stories/Modal.stories.js +105 -105
  246. package/dist/collection/stories/Overlay.stories.js +48 -48
  247. package/dist/collection/stories/Pagination.stories.js +101 -101
  248. package/dist/collection/stories/Paragraph.stories.js +95 -95
  249. package/dist/collection/stories/Picture.stories.js +139 -139
  250. package/dist/collection/stories/Quote.stories.js +107 -107
  251. package/dist/collection/stories/ReadMore.stories.js +100 -100
  252. package/dist/collection/stories/SocialShare.stories.js +66 -66
  253. package/dist/collection/stories/Spacer.stories.js +48 -48
  254. package/dist/collection/stories/Span.stories.js +57 -57
  255. package/dist/collection/stories/SvgButton.stories.js +34 -34
  256. package/dist/collection/stories/Tabs.stories.js +213 -213
  257. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  258. package/dist/collection/stories/Title.stories.js +115 -115
  259. package/dist/collection/stories/Tooltip.stories.js +112 -112
  260. package/dist/collection/utils/component.js +3 -3
  261. package/dist/collection/utils/interfaces.js +11 -11
  262. package/dist/collection/utils/utils.js +92 -92
  263. package/dist/custom-elements/index.d.ts +6 -0
  264. package/dist/custom-elements/index.js +8665 -8295
  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/icon-asset_5.entry.js +189 -189
  271. package/dist/esm/{index-8e63c32d.js → index-521c9253.js} +72 -1
  272. package/dist/esm/innovator-toggle-container.entry.js +22 -22
  273. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  274. package/dist/esm/loader.js +4 -4
  275. package/dist/esm/lottie-player.entry.js +3073 -2826
  276. package/dist/esm/max-width-container_3.entry.js +217 -217
  277. package/dist/esm/my-component.entry.js +16 -16
  278. package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
  279. package/dist/esm/polyfills/core-js.js +0 -0
  280. package/dist/esm/polyfills/dom.js +0 -0
  281. package/dist/esm/polyfills/es5-html-element.js +0 -0
  282. package/dist/esm/polyfills/index.js +0 -0
  283. package/dist/esm/polyfills/system.js +0 -0
  284. package/dist/esm/ptc-accordion-item.entry.js +85 -85
  285. package/dist/esm/ptc-accordion.entry.js +40 -40
  286. package/dist/esm/ptc-announcement.entry.js +52 -52
  287. package/dist/esm/ptc-back-to-top.entry.js +36 -36
  288. package/dist/esm/ptc-bio-card.entry.js +25 -25
  289. package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
  290. package/dist/esm/ptc-card-content.entry.js +58 -58
  291. package/dist/esm/ptc-card.entry.js +67 -67
  292. package/dist/esm/ptc-case-studies-slider.entry.js +93 -84
  293. package/dist/esm/ptc-checkbox.entry.js +51 -51
  294. package/dist/esm/ptc-collapse-list.entry.js +398 -398
  295. package/dist/esm/ptc-container.entry.js +34 -34
  296. package/dist/esm/ptc-date.entry.js +51 -51
  297. package/dist/esm/ptc-dropdown.entry.js +65 -65
  298. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  299. package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
  300. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  301. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  302. package/dist/esm/ptc-hero.entry.js +19 -19
  303. package/dist/esm/ptc-icon-component.entry.js +63 -63
  304. package/dist/esm/ptc-icon-list.entry.js +22 -22
  305. package/dist/esm/ptc-icon-minimize.entry.js +44 -44
  306. package/dist/esm/ptc-image-download-strip.entry.js +19 -19
  307. package/dist/esm/ptc-jumbotron.entry.js +111 -111
  308. package/dist/esm/ptc-link.entry.js +34 -34
  309. package/dist/esm/ptc-list.entry.js +50 -50
  310. package/dist/esm/ptc-lottie.entry.js +11 -11
  311. package/dist/esm/ptc-media-card.entry.js +59 -59
  312. package/dist/esm/ptc-minimized-footer.entry.js +9 -9
  313. package/dist/esm/ptc-minimized-header.entry.js +12 -12
  314. package/dist/esm/ptc-mobile-select.entry.js +157 -139
  315. package/dist/esm/ptc-modal.entry.js +151 -151
  316. package/dist/esm/ptc-nav-card.entry.js +37 -37
  317. package/dist/esm/ptc-nav-link.entry.js +37 -37
  318. package/dist/esm/ptc-nav-pills.entry.js +15 -0
  319. package/dist/esm/ptc-nav-slider.entry.js +84 -84
  320. package/dist/esm/ptc-nav-submenu.entry.js +22 -22
  321. package/dist/esm/ptc-news.entry.js +19 -19
  322. package/dist/esm/ptc-overlay.entry.js +24 -24
  323. package/dist/esm/ptc-pagenation.entry.js +307 -307
  324. package/dist/esm/ptc-para_2.entry.js +79 -79
  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 +126 -126
  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 +23 -23
  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-span.entry.js +21 -21
  345. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  346. package/dist/esm/ptc-sticky-section.entry.js +31 -31
  347. package/dist/esm/ptc-sticky-title.entry.js +24 -24
  348. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  349. package/dist/esm/ptc-subnav.entry.js +23 -23
  350. package/dist/esm/ptc-svg-btn.entry.js +96 -96
  351. package/dist/esm/ptc-tab-list.entry.js +142 -142
  352. package/dist/esm/ptc-tab.entry.js +21 -21
  353. package/dist/esm/ptc-tabs.entry.js +48 -48
  354. package/dist/esm/ptc-text-copy-with-background.entry.js +44 -44
  355. package/dist/esm/ptc-tooltip.entry.js +96 -96
  356. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  357. package/dist/esm/ptcw-design.js +4 -4
  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-77d49d3d.entry.js → p-0241e8b6.entry.js} +1 -1
  370. package/dist/ptcw-design/{p-976b3b0c.entry.js → p-02cecca4.entry.js} +1 -1
  371. package/dist/ptcw-design/{p-49dc9b68.entry.js → p-037436f9.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-73ea7065.entry.js → p-04d4bfc4.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-baabdb8a.entry.js → p-0a400bd4.entry.js} +1 -1
  374. package/dist/ptcw-design/{p-ba213813.entry.js → p-0e630350.entry.js} +1 -1
  375. package/dist/ptcw-design/p-0fc282f5.js +1 -0
  376. package/dist/ptcw-design/{p-15af7aee.entry.js → p-142cdd0c.entry.js} +1 -1
  377. package/dist/ptcw-design/{p-55d298f5.entry.js → p-14d31733.entry.js} +1 -1
  378. package/dist/ptcw-design/{p-9672d409.entry.js → p-17a161cd.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-938eb938.entry.js → p-1fce8a92.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-2d69f408.entry.js → p-24ca90e7.entry.js} +1 -1
  381. package/dist/ptcw-design/{p-c3b7c168.entry.js → p-2763af9e.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-e93dcf82.entry.js → p-28bcb69e.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-12780f09.entry.js → p-2af2c990.entry.js} +1 -1
  384. package/dist/ptcw-design/p-2dbc2fd0.entry.js +1 -0
  385. package/dist/ptcw-design/{p-57fa9836.entry.js → p-2e0d9d7f.entry.js} +1 -1
  386. package/dist/ptcw-design/{p-e6fa27fb.entry.js → p-31e0ed8e.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-4977dc6d.entry.js → p-34aef911.entry.js} +1 -1
  388. package/dist/ptcw-design/{p-366528df.entry.js → p-356a8a49.entry.js} +1 -1
  389. package/dist/ptcw-design/{p-54ca3d2a.entry.js → p-387068d6.entry.js} +1 -1
  390. package/dist/ptcw-design/{p-d49d8875.entry.js → p-3cddd372.entry.js} +1 -1
  391. package/dist/ptcw-design/{p-462567d1.entry.js → p-3f5ad479.entry.js} +1 -1
  392. package/dist/ptcw-design/{p-c005febf.entry.js → p-4206b5f8.entry.js} +1 -1
  393. package/dist/ptcw-design/{p-40adeccf.entry.js → p-43b653e8.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-250b3ea1.entry.js → p-50ec5021.entry.js} +1 -1
  395. package/dist/ptcw-design/{p-37513881.entry.js → p-52b1c325.entry.js} +1 -1
  396. package/dist/ptcw-design/{p-af3a4142.entry.js → p-5355df5f.entry.js} +1 -1
  397. package/dist/ptcw-design/{p-b9bbe5d9.entry.js → p-5a914ce0.entry.js} +1 -1
  398. package/dist/ptcw-design/{p-ba3372d4.entry.js → p-5bdb4d6b.entry.js} +1 -1
  399. package/dist/ptcw-design/{p-26880c78.entry.js → p-6107436a.entry.js} +1 -1
  400. package/dist/ptcw-design/{p-9a5ee2d5.entry.js → p-62bacdde.entry.js} +1 -1
  401. package/dist/ptcw-design/{p-4f465dd3.entry.js → p-661ca851.entry.js} +1 -1
  402. package/dist/ptcw-design/{p-fe0928c0.entry.js → p-6763bb12.entry.js} +1 -1
  403. package/dist/ptcw-design/p-67a19e42.entry.js +1 -0
  404. package/dist/ptcw-design/p-6b8f2a2a.entry.js +1 -0
  405. package/dist/ptcw-design/{p-dd6501a8.entry.js → p-6eaeb9d0.entry.js} +1 -1
  406. package/dist/ptcw-design/p-6ec5167f.entry.js +1 -0
  407. package/dist/ptcw-design/{p-f24c57cf.entry.js → p-6f564063.entry.js} +1 -1
  408. package/dist/ptcw-design/{p-8030db10.entry.js → p-70f3caa1.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-fa58bf5f.entry.js → p-73b54b2b.entry.js} +1 -1
  410. package/dist/ptcw-design/{p-564f58cf.entry.js → p-785edd90.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-8bf9e0af.entry.js → p-842ee53f.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-97587e57.entry.js → p-86a41d2b.entry.js} +1 -1
  413. package/dist/ptcw-design/{p-d7d6eff1.entry.js → p-8896e8e8.entry.js} +1 -1
  414. package/dist/ptcw-design/{p-4702f4e4.entry.js → p-88d78c75.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-e71c4b6b.entry.js → p-89bdbdb0.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-99b10f83.entry.js → p-8ec1379c.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-3cf1f951.entry.js → p-90f5ddf3.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-e2b29e4b.entry.js → p-91cfefa9.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-08658fa3.entry.js → p-91e4c693.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-a9eaabae.entry.js → p-92ca1c90.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-469482ba.entry.js → p-9a2e1d68.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-3bb54c51.entry.js → p-9e710bd9.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-4983e571.entry.js → p-9f86b7c0.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-cd2461c0.entry.js → p-a0673848.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-fb4779ce.entry.js → p-a21e700b.entry.js} +1 -1
  426. package/dist/ptcw-design/{p-c2c85e61.entry.js → p-a9e8d6ae.entry.js} +1 -1
  427. package/dist/ptcw-design/{p-b922e3a5.entry.js → p-aa9e455f.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-f74283c6.entry.js → p-ae8db021.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-d7232d12.entry.js → p-aebf5905.entry.js} +1 -1
  430. package/dist/ptcw-design/p-b16d2156.entry.js +1 -0
  431. package/dist/ptcw-design/{p-3938292d.entry.js → p-b1b2c9f4.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-cdff68d4.entry.js → p-baf37894.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-5e08dc82.entry.js → p-bee618f0.entry.js} +1 -1
  434. package/dist/ptcw-design/{p-8c6b069b.entry.js → p-c24ba553.entry.js} +1 -1
  435. package/dist/ptcw-design/{p-4783fc15.entry.js → p-c7a7c315.entry.js} +1 -1
  436. package/dist/ptcw-design/{p-e66e3791.entry.js → p-c8cd200f.entry.js} +1 -1
  437. package/dist/ptcw-design/{p-51bfb258.entry.js → p-c919eaa2.entry.js} +1 -1
  438. package/dist/ptcw-design/{p-eed3687b.entry.js → p-ca846daf.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-cd6b8c27.entry.js → p-cbcdde15.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-49b5abe9.entry.js → p-cdef3085.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-46afd828.entry.js → p-cff4b6f8.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-cd55eba0.entry.js → p-d1e884e8.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-c5ede527.entry.js → p-d459e4e8.entry.js} +1 -1
  444. package/dist/ptcw-design/{p-561d7a5c.entry.js → p-d7856156.entry.js} +1 -1
  445. package/dist/ptcw-design/{p-a24ecd75.entry.js → p-d8be1ada.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-2318d652.entry.js → p-dbc3591d.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-e550725e.entry.js → p-e29c1d79.entry.js} +1 -1
  448. package/dist/ptcw-design/p-e428e6d9.js +1 -0
  449. package/dist/ptcw-design/{p-af3d5be7.entry.js → p-ea2f7967.entry.js} +1 -1
  450. package/dist/ptcw-design/{p-c5fadad0.entry.js → p-f152aa1a.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-574680c3.entry.js → p-f4bfdb6c.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-2181c8c7.entry.js → p-f77048a0.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-59058faa.entry.js → p-f7d9d8d6.entry.js} +1 -1
  454. package/dist/ptcw-design/p-f88a54ac.entry.js +1 -0
  455. package/dist/ptcw-design/{p-b99f5093.entry.js → p-fdcb9df4.entry.js} +1 -1
  456. package/dist/ptcw-design/{p-718d6ae8.entry.js → p-fef6f882.entry.js} +1 -1
  457. package/dist/ptcw-design/ptcw-design.css +1 -1
  458. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  459. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  460. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  461. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  462. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  463. package/dist/types/components/list-item/list-item.d.ts +16 -16
  464. package/dist/types/components/max-width-container/max-width-container.d.ts +15 -15
  465. package/dist/types/components/my-component/my-component.d.ts +16 -16
  466. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  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 +55 -55
  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-filter-tag/ptc-filter-tag.d.ts +17 -17
  491. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  492. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  493. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  494. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  495. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  496. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  497. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  498. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +25 -25
  499. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  500. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  501. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  502. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  503. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  504. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  505. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  506. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  507. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  508. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -0
  509. package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
  510. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  511. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  512. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  513. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  514. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  515. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  516. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  517. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  518. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  519. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  520. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  521. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  522. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  523. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  524. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  525. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  526. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +28 -28
  527. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  528. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  529. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  530. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  531. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  532. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  533. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  534. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  535. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  536. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  537. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  538. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  539. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
  540. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  541. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  542. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
  543. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  544. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  545. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  546. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
  547. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  548. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +22 -22
  549. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
  550. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  551. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  552. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  553. package/dist/types/components.d.ts +143 -130
  554. package/dist/types/global.d.ts +1072 -1072
  555. package/dist/types/index.d.ts +1 -1
  556. package/dist/types/stencil-public-runtime.d.ts +11 -0
  557. package/dist/types/utils/component.d.ts +1 -1
  558. package/dist/types/utils/interfaces.d.ts +31 -31
  559. package/dist/types/utils/utils.d.ts +5 -5
  560. package/package.json +81 -81
  561. package/readme.md +18 -18
  562. package/dist/ptcw-design/p-202dbd93.entry.js +0 -1
  563. package/dist/ptcw-design/p-553d840a.js +0 -1
  564. package/dist/ptcw-design/p-8a1c2577.entry.js +0 -1
  565. package/dist/ptcw-design/p-9379f3b6.entry.js +0 -1
  566. package/dist/ptcw-design/p-c7bd4d99.entry.js +0 -1
  567. package/dist/ptcw-design/p-d100f115.js +0 -1
  568. package/dist/ptcw-design/p-dc36292a.entry.js +0 -1
  569. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  570. /package/dist/ptcw-design/{p-63c06667.js → p-92141eb1.js} +0 -0
  571. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -1,61 +1,61 @@
1
- import { r as registerInstance, h, a as getElement } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-521c9253.js';
2
2
 
3
3
  const ptcResponsiveWrapperCss = ":host{display:block}";
4
4
 
5
- const PtcResponsiveWrapper = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- componentDidLoad() {
10
- this.ro = new ResizeObserver(entries => {
11
- for (const entry of entries) {
12
- this.applySizeClasses(entry.contentRect.width);
13
- }
14
- });
15
- this.ro.observe(this.element);
16
- }
17
- disconnectedCallback() {
18
- this.ro.disconnect();
19
- }
20
- applySizeClasses(size) {
21
- let xsmall = false;
22
- let small = false;
23
- let medium = false;
24
- let large = false;
25
- let xlarge = false;
26
- let xxlarge = false;
27
- let large2k = false;
28
- let large4k = false;
29
- if (size >= 2600)
30
- large4k = true;
31
- else if (size >= 1980)
32
- large2k = true;
33
- else if (size >= 1600)
34
- xxlarge = true;
35
- else if (size >= 1440)
36
- xlarge = true;
37
- else if (size >= 1200)
38
- large = true;
39
- else if (size >= 992)
40
- medium = true;
41
- else if (size >= 768)
42
- small = true;
43
- else
44
- xsmall = true;
45
- this.element.classList.toggle("xsmall", xsmall);
46
- this.element.classList.toggle("small", small);
47
- this.element.classList.toggle("medium", medium);
48
- this.element.classList.toggle("large", large);
49
- this.element.classList.toggle("xlarge", xlarge);
50
- this.element.classList.toggle("xxlarge", xxlarge);
51
- this.element.classList.toggle("large2k", large2k);
52
- this.element.classList.toggle("large4k", large4k);
53
- }
54
- render() {
55
- return (h("div", null, h("slot", null)));
56
- }
57
- get element() { return getElement(this); }
58
- };
5
+ const PtcResponsiveWrapper = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ componentDidLoad() {
10
+ this.ro = new ResizeObserver(entries => {
11
+ for (const entry of entries) {
12
+ this.applySizeClasses(entry.contentRect.width);
13
+ }
14
+ });
15
+ this.ro.observe(this.element);
16
+ }
17
+ disconnectedCallback() {
18
+ this.ro.disconnect();
19
+ }
20
+ applySizeClasses(size) {
21
+ let xsmall = false;
22
+ let small = false;
23
+ let medium = false;
24
+ let large = false;
25
+ let xlarge = false;
26
+ let xxlarge = false;
27
+ let large2k = false;
28
+ let large4k = false;
29
+ if (size >= 2600)
30
+ large4k = true;
31
+ else if (size >= 1980)
32
+ large2k = true;
33
+ else if (size >= 1600)
34
+ xxlarge = true;
35
+ else if (size >= 1440)
36
+ xlarge = true;
37
+ else if (size >= 1200)
38
+ large = true;
39
+ else if (size >= 992)
40
+ medium = true;
41
+ else if (size >= 768)
42
+ small = true;
43
+ else
44
+ xsmall = true;
45
+ this.element.classList.toggle("xsmall", xsmall);
46
+ this.element.classList.toggle("small", small);
47
+ this.element.classList.toggle("medium", medium);
48
+ this.element.classList.toggle("large", large);
49
+ this.element.classList.toggle("xlarge", xlarge);
50
+ this.element.classList.toggle("xxlarge", xxlarge);
51
+ this.element.classList.toggle("large2k", large2k);
52
+ this.element.classList.toggle("large4k", large4k);
53
+ }
54
+ render() {
55
+ return (h("div", null, h("slot", null)));
56
+ }
57
+ get element() { return getElement(this); }
58
+ };
59
59
  PtcResponsiveWrapper.style = ptcResponsiveWrapperCss;
60
60
 
61
61
  export { PtcResponsiveWrapper as ptc_responsive_wrapper };
@@ -1,78 +1,78 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-8e63c32d.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-521c9253.js';
2
2
 
3
3
  const ptcSearchFieldCss = ":host .search-div{position:relative;display:flex;align-items:stretch;height:51px;border-radius:var(--ptc-border-radius-standard)}:host .search-div .input-wrap{position:relative;width:100%;box-sizing:border-box;display:flex}:host .search-div .input-wrap input{height:100%}:host .search-div input{background-color:var(--color-white);height:-webkit-fill-available;border:0 solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);flex-grow:2;padding-left:var(--ptc-element-spacing-04);line-height:var(--ptc-line-height-loose);padding-right:54px;width:100%;box-sizing:border-box;margin-right:0px}:host .search-div input:focus-visible{border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);outline:none}:host .search-div input::placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div .search-btn{cursor:pointer;height:51px;min-width:51px;border-radius:0 var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0;background-color:var(--color-gray-12);border:0 solid var(--color-gray-12);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);margin:0}:host .search-div .search-btn:active{background-color:var(--color-black)}:host .search-div .search-btn:hover{background-color:var(--color-gray-10)}:host .search-div .search-btn:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}:host(.dark){z-index:999;position:relative;margin-top:20px}:host(.dark) .search-div{height:43px;width:208px}@media (max-width: 480px){:host(.dark) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.dark) .search-div{width:246px}}:host(.dark) .search-div input{background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);color:var(--color-white);padding-left:unset;text-indent:var(--ptc-element-spacing-04);padding-right:2px}:host(.dark) .search-div input::placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div .search-btn{height:43px;width:43px;background-color:var(--color-gray-10);border:1px solid var(--color-gray-08);border-left:0}:host(.dark) .search-div .search-btn:hover{background-color:var(--color-gray-08)}:host(.x-small) .search-div{box-shadow:var(--ptc-shadow-x-small)}:host(.small) .search-div{box-shadow:var(--ptc-shadow-small)}:host(.medium) .search-div{box-shadow:var(--ptc-shadow-medium)}:host(.large) .search-div{box-shadow:var(--ptc-shadow-large)}:host(.x-large) .search-div{box-shadow:var(--ptc-shadow-x-large)}@media (max-width: 480px){input{width:75%}}.icon-wrapper{padding:16px 20px 0;background-color:var(--color-white);position:absolute;right:0;top:0;height:100%;box-sizing:border-box}.icon-wrapper .cls{cursor:pointer;display:block}:host(.dark) .icon-wrapper{padding:12px 20px 0;background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);border-left-width:0;position:initial;right:auto;top:auto}:host(.dark):host(.enable-clear) input{border-right-width:0}@media only screen and (min-width: 992px){.cls{display:none}}";
4
4
 
5
- const PtcSearchField = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.valueChanged = createEvent(this, "valueChanged", 7);
9
- this.clicked = createEvent(this, "clicked", 7);
10
- this.textValue = undefined;
11
- this.placeholderLabel = undefined;
12
- this.darkTheme = undefined;
13
- this.elevation = 'small';
14
- this.enableClear = false;
15
- this.styles = undefined;
16
- }
17
- textChangedHandler(event) {
18
- this.valueChanged.emit({
19
- 'sender': this,
20
- 'event': event,
21
- 'searchTerm': this.getSearchValue()
22
- });
23
- }
24
- buttonClickHandler(event) {
25
- this.clicked.emit({
26
- 'sender': this,
27
- 'event': event,
28
- 'searchTerm': this.getSearchValue()
29
- });
30
- }
31
- keyDownHandler(event) {
32
- if (event.key == 'Enter') {
33
- this.clicked.emit({
34
- 'sender': this,
35
- 'event': event,
36
- 'searchTerm': this.getSearchValue()
37
- });
38
- }
39
- if (this.getSearchValue() && this.enableClear) ;
40
- }
41
- keyUpHandler() {
42
- if (!this.darkTheme) {
43
- this.enableClear = !(this.getSearchValue() == "");
44
- }
45
- }
46
- getSearchValue() {
47
- let result = '';
48
- let input = this.el.shadowRoot.querySelector('input');
49
- if (input) {
50
- result = input.value;
51
- }
52
- return result;
53
- }
54
- async clearSearchValue() {
55
- this.textValue = "";
56
- let input = this.el.shadowRoot.querySelector('input');
57
- if (input) {
58
- input.value = "";
59
- this.enableClear = false;
60
- }
61
- }
62
- render() {
63
- const classMap = this.getCssClassMap();
64
- const clearIconColor = this.darkTheme ? "white" : "black";
65
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: "search-div" }, h("div", { class: 'input-wrap' }, h("input", { type: "text", value: this.textValue, placeholder: this.placeholderLabel, onKeyDown: (e) => { this.keyDownHandler(e); }, onKeyUp: () => { this.keyUpHandler(); }, onChange: (e) => { this.textChangedHandler(e); } }), this.enableClear && h("div", { class: "icon-wrapper" }, h("icon-asset", { class: "cls", type: "ptc", color: clearIconColor, name: "times", size: "xxx-small", onClick: (e) => { this.clearSearchValue(); this.buttonClickHandler(e); } }))), h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => { this.buttonClickHandler(e); } }, h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" })))));
66
- }
67
- getCssClassMap() {
68
- return {
69
- ['dark']: this.darkTheme ? true : false,
70
- [this.elevation]: true,
71
- ['enable-clear']: this.enableClear
72
- };
73
- }
74
- get el() { return getElement(this); }
75
- };
5
+ const PtcSearchField = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.valueChanged = createEvent(this, "valueChanged", 7);
9
+ this.clicked = createEvent(this, "clicked", 7);
10
+ this.textValue = undefined;
11
+ this.placeholderLabel = undefined;
12
+ this.darkTheme = undefined;
13
+ this.elevation = 'small';
14
+ this.enableClear = false;
15
+ this.styles = undefined;
16
+ }
17
+ textChangedHandler(event) {
18
+ this.valueChanged.emit({
19
+ 'sender': this,
20
+ 'event': event,
21
+ 'searchTerm': this.getSearchValue()
22
+ });
23
+ }
24
+ buttonClickHandler(event) {
25
+ this.clicked.emit({
26
+ 'sender': this,
27
+ 'event': event,
28
+ 'searchTerm': this.getSearchValue()
29
+ });
30
+ }
31
+ keyDownHandler(event) {
32
+ if (event.key == 'Enter') {
33
+ this.clicked.emit({
34
+ 'sender': this,
35
+ 'event': event,
36
+ 'searchTerm': this.getSearchValue()
37
+ });
38
+ }
39
+ if (this.getSearchValue() && this.enableClear) ;
40
+ }
41
+ keyUpHandler() {
42
+ if (!this.darkTheme) {
43
+ this.enableClear = !(this.getSearchValue() == "");
44
+ }
45
+ }
46
+ getSearchValue() {
47
+ let result = '';
48
+ let input = this.el.shadowRoot.querySelector('input');
49
+ if (input) {
50
+ result = input.value;
51
+ }
52
+ return result;
53
+ }
54
+ async clearSearchValue() {
55
+ this.textValue = "";
56
+ let input = this.el.shadowRoot.querySelector('input');
57
+ if (input) {
58
+ input.value = "";
59
+ this.enableClear = false;
60
+ }
61
+ }
62
+ render() {
63
+ const classMap = this.getCssClassMap();
64
+ const clearIconColor = this.darkTheme ? "white" : "black";
65
+ return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: "search-div" }, h("div", { class: 'input-wrap' }, h("input", { type: "text", value: this.textValue, placeholder: this.placeholderLabel, onKeyDown: (e) => { this.keyDownHandler(e); }, onKeyUp: () => { this.keyUpHandler(); }, onChange: (e) => { this.textChangedHandler(e); } }), this.enableClear && h("div", { class: "icon-wrapper" }, h("icon-asset", { class: "cls", type: "ptc", color: clearIconColor, name: "times", size: "xxx-small", onClick: (e) => { this.clearSearchValue(); this.buttonClickHandler(e); } }))), h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => { this.buttonClickHandler(e); } }, h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" })))));
66
+ }
67
+ getCssClassMap() {
68
+ return {
69
+ ['dark']: this.darkTheme ? true : false,
70
+ [this.elevation]: true,
71
+ ['enable-clear']: this.enableClear
72
+ };
73
+ }
74
+ get el() { return getElement(this); }
75
+ };
76
76
  PtcSearchField.style = ptcSearchFieldCss;
77
77
 
78
78
  export { PtcSearchField as ptc_search_field };
@@ -1,61 +1,61 @@
1
- import { r as registerInstance, h, H as Host } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h, H as Host } from './index-521c9253.js';
2
2
 
3
- const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
5
- </svg>
3
+ const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
5
+ </svg>
6
6
  `;
7
7
 
8
- const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
9
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
10
- </svg>
8
+ const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
9
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
10
+ </svg>
11
11
  `;
12
12
 
13
13
  const ptcShoppingCartCss = ":host{height:20px}:host .cart{border-radius:4px;display:inline-block;padding:0.45rem;max-height:28px}:host .cart .cart__count{position:relative;background:#D33E3E;height:20px;width:20px;text-align:center;border-radius:50%;color:white;left:18px;bottom:38px;vertical-align:middle;display:flex;justify-content:center;align-items:center;text-align:center;font-family:Raleway;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0em}:host .cart.black-background{background:rgba(0, 0, 0, 0.54)}:host .cart.clear-background{background:rgba(0, 0, 0, 0)}";
14
14
 
15
- const PtcShoppingCart = class {
16
- constructor(hostRef) {
17
- registerInstance(this, hostRef);
18
- this.cartCount = undefined;
19
- this.color = 'white';
20
- }
21
- render() {
22
- const classMap = this.getCssClassMap();
23
- const svg = this.color == 'black' ? ShoppingCartBlack : ShoppingCartWhite;
24
- const svgClass = this.color == 'black' ? "cart clear-background" : "cart black-background";
25
- return (h(Host, { class: classMap }, this.cartCount ? (h("div", { class: svgClass, innerHTML: svg }, h("div", { class: "cart__count" }, this.cartCount))) : (h("div", { class: svgClass, innerHTML: svg }))));
26
- /*
27
- if(this.color == 'black'){
28
- return (
29
- <Host class={classMap}>
30
- {this.cartCount ? (
31
- <div class="cart" innerHTML={ShoppingCartBlack}>
32
- <div class="cart__count">{this.cartCount}</div>
33
- </div>
34
- ) : (
35
- <div innerHTML={ShoppingCartBlack}></div>)
36
- }
37
- </Host>
38
- );
39
- } else if(this.color == 'white'){
40
- return(
41
- <Host class={classMap}>
42
- {this.cartCount ? (
43
- <div class="cart black-background" innerHTML={ShoppingCartWhite}>
44
- <div class="cart__count">{this.cartCount}</div>
45
- </div>
46
- ) : (
47
- <div innerHTML={ShoppingCartWhite} class="black-background"></div>)
48
- }
49
- </Host>
50
- );
51
- }*/
52
- }
53
- getCssClassMap() {
54
- return {
55
- ['ptc-shopping-cart']: true,
56
- };
57
- }
58
- };
15
+ const PtcShoppingCart = class {
16
+ constructor(hostRef) {
17
+ registerInstance(this, hostRef);
18
+ this.cartCount = undefined;
19
+ this.color = 'white';
20
+ }
21
+ render() {
22
+ const classMap = this.getCssClassMap();
23
+ const svg = this.color == 'black' ? ShoppingCartBlack : ShoppingCartWhite;
24
+ const svgClass = this.color == 'black' ? "cart clear-background" : "cart black-background";
25
+ return (h(Host, { class: classMap }, this.cartCount ? (h("div", { class: svgClass, innerHTML: svg }, h("div", { class: "cart__count" }, this.cartCount))) : (h("div", { class: svgClass, innerHTML: svg }))));
26
+ /*
27
+ if(this.color == 'black'){
28
+ return (
29
+ <Host class={classMap}>
30
+ {this.cartCount ? (
31
+ <div class="cart" innerHTML={ShoppingCartBlack}>
32
+ <div class="cart__count">{this.cartCount}</div>
33
+ </div>
34
+ ) : (
35
+ <div innerHTML={ShoppingCartBlack}></div>)
36
+ }
37
+ </Host>
38
+ );
39
+ } else if(this.color == 'white'){
40
+ return(
41
+ <Host class={classMap}>
42
+ {this.cartCount ? (
43
+ <div class="cart black-background" innerHTML={ShoppingCartWhite}>
44
+ <div class="cart__count">{this.cartCount}</div>
45
+ </div>
46
+ ) : (
47
+ <div innerHTML={ShoppingCartWhite} class="black-background"></div>)
48
+ }
49
+ </Host>
50
+ );
51
+ }*/
52
+ }
53
+ getCssClassMap() {
54
+ return {
55
+ ['ptc-shopping-cart']: true,
56
+ };
57
+ }
58
+ };
59
59
  PtcShoppingCart.style = ptcShoppingCartCss;
60
60
 
61
61
  export { PtcShoppingCart as ptc_shopping_cart };
@@ -1,32 +1,32 @@
1
- import { r as registerInstance, h, H as Host } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h, H as Host } from './index-521c9253.js';
2
2
 
3
3
  const ptcSlitCardCss = ":host{display:block}:host(.sim-card){display:block;height:100%}:host(.sim-card) .card-link{display:flex;flex-direction:column;outline:none;text-decoration:none;height:100%}:host(.sim-card) .card-link .card-heading{display:block;background-color:var(--color-gray-10);clip-path:polygon(0% 0%, calc(100% - 35px) 0%, 100% 45%, 100% 100%, 0% 100%)}:host(.sim-card) .card-link .card-heading .card-heading-div{max-width:75%;margin:15px 0px 15px 15px}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper{color:var(--color-green-14);display:inline;margin-bottom:2rem;white-space:nowrap}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper .sim-arrow{background:transparent url(https://www.ptc.com/images/right-arrow.svg) no-repeat 100%;display:inline-block;height:10px;margin-left:5px;-webkit-transition:-webkit-transform 0.15s ease-in-out;transition:-webkit-transform 0.15s ease-in-out;-o-transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;vertical-align:middle;width:10px}:host(.sim-card) .card-link .card-heading .ptc-h3{color:var(--color-white);font-family:var(--ptc-font-secondary-latin);font-size:14px;font-weight:900;line-height:2.17;position:relative}:host(.sim-card) .card-link .card-heading .ptc-h3::after{background-color:var(--color-green-14);bottom:-5px;content:\"\";height:2px;left:0;position:absolute;-webkit-transition:width 0.2s ease-in-out;-o-transition:width 0.2s ease-in-out;transition:width 0.2s ease-in-out;width:30px}:host(.sim-card) .card-link .card-body{background:var(--color-white);box-shadow:0 3px 25px 0 rgba(0, 0, 0, 0.16);padding:20px 15px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;height:100%}:host(.sim-card) .card-link:hover{outline:none;text-decoration:none}:host(.sim-card) .card-link:hover .card-heading{display:block}:host(.sim-card) .card-link:hover .card-heading .ptc-h3::after{width:100%}:host(.sim-card) .card-link:hover .card-heading .sim-arrow{-ms-transform:translateX(20px);-webkit-transform:translateX(20px);transform:translateX(20px)}:host(.sim-card) .card-link:hover .card-body{box-shadow:0 10px 30px 0 rgba(0, 0, 0, 0.3)}:host(.sim-card) .card-link:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.sim-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}";
4
4
 
5
- const PtcSlitCard = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.cardType = 'sim-card';
9
- this.cardHref = undefined;
10
- this.target = '_self';
11
- this.rel = undefined;
12
- this.heading = undefined;
13
- this.content = undefined;
14
- this.styles = undefined;
15
- this.cardImage = undefined;
16
- }
17
- render() {
18
- const Tag = !!this.cardHref ? 'a' : 'div';
19
- return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), h(Tag, Object.assign({}, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {}), (!!this.cardImage ? { dataImage: this.cardImage } : {}), { class: "card-link" }), h("slot", { name: "slot-before-heading" }), !!this.heading
20
- ? [
21
- h("div", { class: "card-heading" }, h("div", { class: "card-heading-div" }, h("span", { class: "ptc-h3" }, this.heading), h("div", { class: "sim-arrow-wrapper" }, h("div", { class: "sim-arrow" }))))
22
- ]
23
- : null, !!this.content
24
- ? [
25
- h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" }, this.content))
26
- ]
27
- : null)));
28
- }
29
- };
5
+ const PtcSlitCard = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.cardType = 'sim-card';
9
+ this.cardHref = undefined;
10
+ this.target = '_self';
11
+ this.rel = undefined;
12
+ this.heading = undefined;
13
+ this.content = undefined;
14
+ this.styles = undefined;
15
+ this.cardImage = undefined;
16
+ }
17
+ render() {
18
+ const Tag = !!this.cardHref ? 'a' : 'div';
19
+ return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), h(Tag, Object.assign({}, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {}), (!!this.cardImage ? { dataImage: this.cardImage } : {}), { class: "card-link" }), h("slot", { name: "slot-before-heading" }), !!this.heading
20
+ ? [
21
+ h("div", { class: "card-heading" }, h("div", { class: "card-heading-div" }, h("span", { class: "ptc-h3" }, this.heading), h("div", { class: "sim-arrow-wrapper" }, h("div", { class: "sim-arrow" }))))
22
+ ]
23
+ : null, !!this.content
24
+ ? [
25
+ h("div", { class: "card-body" }, h("ptc-para", { "font-size": "xx-small", "font-weight": "w-6", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-dense" }, this.content))
26
+ ]
27
+ : null)));
28
+ }
29
+ };
30
30
  PtcSlitCard.style = ptcSlitCardCss;
31
31
 
32
32
  export { PtcSlitCard as ptc_slit_card };
@@ -1,76 +1,76 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-8e63c32d.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-521c9253.js';
2
2
 
3
3
  const ptcSocialShareCss = ":host(.inline-block){display:inline-block}:host(.block){display:block}:host(.inline){display:inline}:host(.flex){display:flex}:host(.ptc-social-share){cursor:pointer}@media only screen and (min-width: 1200px){:host(.ptc-social-m-left){margin-left:var(--ptc-element-spacing-04)}}";
4
4
 
5
- const PtcSocialShare = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.display = 'inline-block';
9
- this.shareType = 'twitter';
10
- this.shareTitle = undefined;
11
- this.text = undefined;
12
- this.url = undefined;
13
- this.source = '';
14
- this.recipient = '';
15
- this.iconColor = 'white';
16
- this.iconHoverColor = 'gray';
17
- this.isHover = false;
18
- this.iconSize = 'large';
19
- }
20
- render() {
21
- const classMap = this.getCssClassMap();
22
- return (h(Host, { class: classMap }, h("div", { onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle() }, this.shareType == 'mail' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-mail" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-linkedin" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-twitter" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-fb" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-mail' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "mail-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "linkedin-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "twitter-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "facebook-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'share-api' ? h("icon-asset", Object.assign({ type: "solid", size: this.iconSize, name: "share-square" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'download' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "download-arrow-news", color: "inherit" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null), this.shareType == 'download' &&
23
- h("ptc-modal", { id: "download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { type: 'h2', "text-align": 'center', "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading"))));
24
- }
25
- getCssClassMap() {
26
- return {
27
- ['ptc-social-share']: true,
28
- [this.display]: true,
29
- };
30
- }
31
- hoverToggle() {
32
- this.isHover = !this.isHover;
33
- }
34
- share() {
35
- if (this.shareType == 'twitter' || this.shareType == "blog-twitter") {
36
- window.open(`https://twitter.com/share?text=${this.text}&url=${this.url}`);
37
- }
38
- if (this.shareType == 'facebook' || this.shareType == "blog-facebook") {
39
- window.open(`https://www.facebook.com/sharer/sharer.php?u=${this.url}`);
40
- }
41
- if (this.shareType == 'linkedin' || this.shareType == "blog-linkedin") {
42
- window.open(`https://www.linkedin.com/shareArticle?mini=true&url=${this.url}&title=${this.shareTitle}&summary=${this.text}&source=${this.source}`);
43
- }
44
- if (this.shareType == 'mail' || this.shareType == "blog-mail") {
45
- window.open(`mailto:${this.recipient}?subject=${this.text}&body=${this.url}`);
46
- }
47
- if (this.shareType == 'share-api') {
48
- if (navigator.share) {
49
- navigator
50
- .share({
51
- title: this.shareTitle,
52
- text: this.text,
53
- url: this.url,
54
- })
55
- .then(() => console.log('Successful share'))
56
- .catch(error => console.log('Error sharing', error));
57
- }
58
- else {
59
- // fallback to sharing to twitter
60
- window.open(`http://twitter.com/share?text=${this.text}&url=${this.url}`);
61
- }
62
- }
63
- if (this.shareType == 'download') {
64
- let modal = this.el.shadowRoot.querySelector('#download-modal');
65
- modal.setAttribute('show', 'true');
66
- setTimeout(() => {
67
- modal.setAttribute('show', 'false');
68
- window.open(`${this.url}`, "_self");
69
- }, 1000);
70
- }
71
- }
72
- get el() { return getElement(this); }
73
- };
5
+ const PtcSocialShare = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.display = 'inline-block';
9
+ this.shareType = 'twitter';
10
+ this.shareTitle = undefined;
11
+ this.text = undefined;
12
+ this.url = undefined;
13
+ this.source = '';
14
+ this.recipient = '';
15
+ this.iconColor = 'white';
16
+ this.iconHoverColor = 'gray';
17
+ this.isHover = false;
18
+ this.iconSize = 'large';
19
+ }
20
+ render() {
21
+ const classMap = this.getCssClassMap();
22
+ return (h(Host, { class: classMap }, h("div", { onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle() }, this.shareType == 'mail' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-mail" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-linkedin" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-twitter" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "plm-fb" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-mail' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "mail-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "linkedin-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "twitter-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'blog-facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "facebook-blogs-icon" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'share-api' ? h("icon-asset", Object.assign({ type: "solid", size: this.iconSize, name: "share-square" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null, this.shareType == 'download' ? h("icon-asset", Object.assign({ type: "ptc", size: this.iconSize, name: "download-arrow-news", color: "inherit" }, (this.isHover ? { color: this.iconHoverColor } : { color: this.iconColor }))) : null), this.shareType == 'download' &&
23
+ h("ptc-modal", { id: "download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, h("ptc-title", { type: 'h2', "text-align": 'center', "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading"))));
24
+ }
25
+ getCssClassMap() {
26
+ return {
27
+ ['ptc-social-share']: true,
28
+ [this.display]: true,
29
+ };
30
+ }
31
+ hoverToggle() {
32
+ this.isHover = !this.isHover;
33
+ }
34
+ share() {
35
+ if (this.shareType == 'twitter' || this.shareType == "blog-twitter") {
36
+ window.open(`https://twitter.com/share?text=${this.text}&url=${this.url}`);
37
+ }
38
+ if (this.shareType == 'facebook' || this.shareType == "blog-facebook") {
39
+ window.open(`https://www.facebook.com/sharer/sharer.php?u=${this.url}`);
40
+ }
41
+ if (this.shareType == 'linkedin' || this.shareType == "blog-linkedin") {
42
+ window.open(`https://www.linkedin.com/shareArticle?mini=true&url=${this.url}&title=${this.shareTitle}&summary=${this.text}&source=${this.source}`);
43
+ }
44
+ if (this.shareType == 'mail' || this.shareType == "blog-mail") {
45
+ window.open(`mailto:${this.recipient}?subject=${this.text}&body=${this.url}`);
46
+ }
47
+ if (this.shareType == 'share-api') {
48
+ if (navigator.share) {
49
+ navigator
50
+ .share({
51
+ title: this.shareTitle,
52
+ text: this.text,
53
+ url: this.url,
54
+ })
55
+ .then(() => console.log('Successful share'))
56
+ .catch(error => console.log('Error sharing', error));
57
+ }
58
+ else {
59
+ // fallback to sharing to twitter
60
+ window.open(`http://twitter.com/share?text=${this.text}&url=${this.url}`);
61
+ }
62
+ }
63
+ if (this.shareType == 'download') {
64
+ let modal = this.el.shadowRoot.querySelector('#download-modal');
65
+ modal.setAttribute('show', 'true');
66
+ setTimeout(() => {
67
+ modal.setAttribute('show', 'false');
68
+ window.open(`${this.url}`, "_self");
69
+ }, 1000);
70
+ }
71
+ }
72
+ get el() { return getElement(this); }
73
+ };
74
74
  PtcSocialShare.style = ptcSocialShareCss;
75
75
 
76
76
  export { PtcSocialShare as ptc_social_share };