@ptcwebops/ptcw-design 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (634) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
  3. package/dist/cjs/bundle-example.cjs.entry.js +31 -31
  4. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
  5. package/dist/cjs/{core-332e5461.js → core-1951cc85.js} +91 -29
  6. package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
  7. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +26 -26
  8. package/dist/cjs/featured-list.cjs.entry.js +84 -84
  9. package/dist/cjs/fl-tab-content_3.cjs.entry.js +41 -41
  10. package/dist/cjs/icon-asset.cjs.entry.js +43 -43
  11. package/dist/cjs/{index-1662de74.js → index-dddc2aea.js} +72 -1
  12. package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
  13. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  14. package/dist/cjs/list-item.cjs.entry.js +23 -23
  15. package/dist/cjs/loader.cjs.js +3 -3
  16. package/dist/cjs/max-width-container.cjs.entry.js +44 -44
  17. package/dist/cjs/my-component.cjs.entry.js +16 -16
  18. package/dist/cjs/{pagination-8d9d474d.js → pagination-d20b7968.js} +24 -6
  19. package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
  20. package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
  21. package/dist/cjs/ptc-announcement.cjs.entry.js +53 -53
  22. package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
  23. package/dist/cjs/ptc-background-video.cjs.entry.js +58 -58
  24. package/dist/cjs/ptc-bio-card.cjs.entry.js +25 -25
  25. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +121 -121
  26. package/dist/cjs/ptc-button.cjs.entry.js +40 -40
  27. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +124 -124
  28. package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
  29. package/dist/cjs/ptc-card.cjs.entry.js +73 -73
  30. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +92 -83
  31. package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
  32. package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
  33. package/dist/cjs/ptc-container.cjs.entry.js +34 -34
  34. package/dist/cjs/ptc-date.cjs.entry.js +51 -51
  35. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  36. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  37. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
  38. package/dist/cjs/ptc-featured-list.cjs.entry.js +83 -83
  39. package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
  40. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
  41. package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
  42. package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
  43. package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
  44. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
  45. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
  46. package/dist/cjs/ptc-img.cjs.entry.js +123 -123
  47. package/dist/cjs/ptc-link.cjs.entry.js +34 -34
  48. package/dist/cjs/ptc-list.cjs.entry.js +50 -50
  49. package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
  50. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +13 -13
  51. package/dist/cjs/ptc-mobile-select.cjs.entry.js +157 -139
  52. package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
  53. package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
  54. package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
  55. package/dist/cjs/ptc-nav-pills.cjs.entry.js +9 -9
  56. package/dist/cjs/ptc-nav-slider.cjs.entry.js +91 -91
  57. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +38 -38
  58. package/dist/cjs/ptc-news.cjs.entry.js +18 -18
  59. package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
  60. package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
  61. package/dist/cjs/ptc-para.cjs.entry.js +52 -52
  62. package/dist/cjs/ptc-picture.cjs.entry.js +153 -153
  63. package/dist/cjs/ptc-podcast-card.cjs.entry.js +12 -12
  64. package/dist/cjs/ptc-previous-url.cjs.entry.js +12 -12
  65. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
  66. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +40 -40
  67. package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
  68. package/dist/cjs/ptc-pricing-table.cjs.entry.js +427 -427
  69. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
  70. package/dist/cjs/ptc-product-card.cjs.entry.js +23 -23
  71. package/dist/cjs/ptc-product-category.cjs.entry.js +11 -11
  72. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +70 -70
  73. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +13 -13
  74. package/dist/cjs/ptc-product-list.cjs.entry.js +141 -141
  75. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +129 -129
  76. package/dist/cjs/ptc-progress-bar.cjs.entry.js +17 -17
  77. package/dist/cjs/ptc-quiz.cjs.entry.js +83 -0
  78. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  79. package/dist/cjs/ptc-readmore-char.cjs.entry.js +25 -25
  80. package/dist/cjs/ptc-readmore.cjs.entry.js +78 -78
  81. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +150 -150
  82. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
  83. package/dist/cjs/ptc-search-field.cjs.entry.js +72 -72
  84. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
  85. package/dist/cjs/ptc-slit-card.cjs.entry.js +26 -26
  86. package/dist/cjs/ptc-social-share.cjs.entry.js +70 -70
  87. package/dist/cjs/ptc-spacer.cjs.entry.js +28 -28
  88. package/dist/cjs/ptc-span.cjs.entry.js +21 -21
  89. package/dist/cjs/ptc-square-card.cjs.entry.js +11 -11
  90. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
  91. package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
  92. package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
  93. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  94. package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
  95. package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
  96. package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
  97. package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
  98. package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
  99. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  100. package/dist/cjs/ptc-title.cjs.entry.js +68 -68
  101. package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
  102. package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
  103. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
  104. package/dist/cjs/ptcw-design.cjs.js +3 -3
  105. package/dist/cjs/sequential-bundle-example.cjs.entry.js +110 -110
  106. package/dist/cjs/sequential-bundle.cjs.entry.js +90 -90
  107. package/dist/cjs/tab-content.cjs.entry.js +28 -28
  108. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  109. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  110. package/dist/collection/collection-manifest.json +2 -1
  111. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  112. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  113. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  114. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  115. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  116. package/dist/collection/components/icon-asset/media/designer.svg +489 -482
  117. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  118. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3013
  119. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  120. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  121. package/dist/collection/components/list-item/list-item.js +144 -144
  122. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  123. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  124. package/dist/collection/components/my-component/my-component.css +3 -3
  125. package/dist/collection/components/my-component/my-component.js +82 -82
  126. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  127. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +281 -281
  128. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  129. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
  130. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
  131. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
  132. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  133. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  134. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  135. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
  136. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  137. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  138. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  139. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  140. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
  141. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  142. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  143. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  144. package/dist/collection/components/ptc-button/ptc-button.js +304 -304
  145. package/dist/collection/components/ptc-card/ptc-card.js +419 -419
  146. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  147. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  148. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +232 -232
  149. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
  150. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  151. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  152. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  153. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  154. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  155. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  156. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  157. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  158. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  159. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  160. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
  161. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  162. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
  163. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  164. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  165. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  166. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
  167. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  168. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  169. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  170. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  171. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  172. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
  173. package/dist/collection/components/ptc-link/ptc-link.js +207 -207
  174. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  175. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  176. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  177. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
  178. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  179. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  180. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  181. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  182. package/dist/collection/components/ptc-news/ptc-news.js +169 -169
  183. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  184. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  185. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  186. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  187. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  188. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  189. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
  190. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
  191. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  192. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -581
  193. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  194. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  195. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  196. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  197. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  198. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  199. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  200. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  201. package/dist/collection/components/ptc-quiz/ptc-quiz.css +215 -0
  202. package/dist/collection/components/ptc-quiz/ptc-quiz.js +92 -0
  203. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  204. package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
  205. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  206. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  207. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  208. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  209. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  210. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  211. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  212. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  213. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  214. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  215. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  216. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  217. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  218. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  219. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  220. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  221. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  222. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
  223. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  224. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  225. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
  226. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  227. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  228. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  229. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +135 -135
  230. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
  231. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  232. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  233. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
  234. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  235. package/dist/collection/components/tab-content/tab-content.js +84 -84
  236. package/dist/collection/components/tab-header/tab-header.js +182 -182
  237. package/dist/collection/index.js +1 -1
  238. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  239. package/dist/collection/media/svg-imgs/close.svg +10 -10
  240. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  241. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  242. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  243. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  244. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  245. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  246. package/dist/collection/media/svg-imgs/union.svg +3 -3
  247. package/dist/collection/stories/Accordian.stories.js +205 -205
  248. package/dist/collection/stories/Announcement.stories.js +64 -64
  249. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  250. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  251. package/dist/collection/stories/Button.stories.js +119 -119
  252. package/dist/collection/stories/Card.stories.js +234 -234
  253. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  254. package/dist/collection/stories/Checkbox.stories.js +52 -52
  255. package/dist/collection/stories/Date.stories.js +81 -81
  256. package/dist/collection/stories/Dropdown.stories.js +48 -48
  257. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  258. package/dist/collection/stories/FilterTag.stories.js +73 -73
  259. package/dist/collection/stories/Hero.stories.js +119 -119
  260. package/dist/collection/stories/Icon.stories.js +71 -71
  261. package/dist/collection/stories/IconList.stories.js +114 -114
  262. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  263. package/dist/collection/stories/Link.stories.js +101 -101
  264. package/dist/collection/stories/ListItem.stories.js +59 -59
  265. package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
  266. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  267. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  268. package/dist/collection/stories/Modal.stories.js +105 -105
  269. package/dist/collection/stories/Overlay.stories.js +48 -48
  270. package/dist/collection/stories/Pagination.stories.js +101 -101
  271. package/dist/collection/stories/Paragraph.stories.js +95 -95
  272. package/dist/collection/stories/Picture.stories.js +139 -139
  273. package/dist/collection/stories/Quote.stories.js +107 -107
  274. package/dist/collection/stories/ReadMore.stories.js +100 -100
  275. package/dist/collection/stories/SocialShare.stories.js +66 -66
  276. package/dist/collection/stories/Spacer.stories.js +48 -48
  277. package/dist/collection/stories/Span.stories.js +57 -57
  278. package/dist/collection/stories/SvgButton.stories.js +34 -34
  279. package/dist/collection/stories/Tabs.stories.js +213 -213
  280. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  281. package/dist/collection/stories/Title.stories.js +115 -115
  282. package/dist/collection/stories/Tooltip.stories.js +112 -112
  283. package/dist/collection/utils/component.js +3 -3
  284. package/dist/collection/utils/interfaces.js +11 -11
  285. package/dist/collection/utils/utils.js +92 -92
  286. package/dist/custom-elements/index.d.ts +6 -0
  287. package/dist/custom-elements/index.js +6830 -6643
  288. package/dist/esm/author-listing-example.entry.js +232 -232
  289. package/dist/esm/bundle-example.entry.js +31 -31
  290. package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
  291. package/dist/esm/{core-73ab4867.js → core-209a2c67.js} +91 -29
  292. package/dist/esm/dropdown-item.entry.js +11 -11
  293. package/dist/esm/dynamic-box-bundle.entry.js +26 -26
  294. package/dist/esm/featured-list.entry.js +84 -84
  295. package/dist/esm/fl-tab-content_3.entry.js +41 -41
  296. package/dist/esm/icon-asset.entry.js +43 -43
  297. package/dist/esm/{index-22a84644.js → index-8db28d54.js} +72 -1
  298. package/dist/esm/innovator-toggle-container.entry.js +22 -22
  299. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  300. package/dist/esm/list-item.entry.js +23 -23
  301. package/dist/esm/loader.js +4 -4
  302. package/dist/esm/max-width-container.entry.js +44 -44
  303. package/dist/esm/my-component.entry.js +16 -16
  304. package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
  305. package/dist/esm/polyfills/core-js.js +0 -0
  306. package/dist/esm/polyfills/dom.js +0 -0
  307. package/dist/esm/polyfills/es5-html-element.js +0 -0
  308. package/dist/esm/polyfills/index.js +0 -0
  309. package/dist/esm/polyfills/system.js +0 -0
  310. package/dist/esm/ptc-accordion-item.entry.js +85 -85
  311. package/dist/esm/ptc-accordion.entry.js +40 -40
  312. package/dist/esm/ptc-announcement.entry.js +53 -53
  313. package/dist/esm/ptc-back-to-top.entry.js +36 -36
  314. package/dist/esm/ptc-background-video.entry.js +58 -58
  315. package/dist/esm/ptc-bio-card.entry.js +25 -25
  316. package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
  317. package/dist/esm/ptc-button.entry.js +40 -40
  318. package/dist/esm/ptc-card-bottom_3.entry.js +124 -124
  319. package/dist/esm/ptc-card-content.entry.js +58 -58
  320. package/dist/esm/ptc-card.entry.js +73 -73
  321. package/dist/esm/ptc-case-studies-slider.entry.js +92 -83
  322. package/dist/esm/ptc-checkbox.entry.js +51 -51
  323. package/dist/esm/ptc-collapse-list.entry.js +398 -398
  324. package/dist/esm/ptc-container.entry.js +34 -34
  325. package/dist/esm/ptc-date.entry.js +51 -51
  326. package/dist/esm/ptc-dropdown.entry.js +65 -65
  327. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  328. package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
  329. package/dist/esm/ptc-featured-list.entry.js +83 -83
  330. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  331. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  332. package/dist/esm/ptc-hero.entry.js +19 -19
  333. package/dist/esm/ptc-icon-component.entry.js +63 -63
  334. package/dist/esm/ptc-icon-list.entry.js +22 -22
  335. package/dist/esm/ptc-icon-minimize.entry.js +44 -44
  336. package/dist/esm/ptc-image-download-strip.entry.js +19 -19
  337. package/dist/esm/ptc-img.entry.js +123 -123
  338. package/dist/esm/ptc-link.entry.js +34 -34
  339. package/dist/esm/ptc-list.entry.js +50 -50
  340. package/dist/esm/ptc-media-card.entry.js +59 -59
  341. package/dist/esm/ptc-minimized-nav.entry.js +13 -13
  342. package/dist/esm/ptc-mobile-select.entry.js +157 -139
  343. package/dist/esm/ptc-modal.entry.js +151 -151
  344. package/dist/esm/ptc-nav-card.entry.js +37 -37
  345. package/dist/esm/ptc-nav-link.entry.js +37 -37
  346. package/dist/esm/ptc-nav-pills.entry.js +9 -9
  347. package/dist/esm/ptc-nav-slider.entry.js +91 -91
  348. package/dist/esm/ptc-nav-submenu.entry.js +38 -38
  349. package/dist/esm/ptc-news.entry.js +18 -18
  350. package/dist/esm/ptc-overlay.entry.js +24 -24
  351. package/dist/esm/ptc-pagenation.entry.js +307 -307
  352. package/dist/esm/ptc-para.entry.js +52 -52
  353. package/dist/esm/ptc-picture.entry.js +153 -153
  354. package/dist/esm/ptc-podcast-card.entry.js +12 -12
  355. package/dist/esm/ptc-previous-url.entry.js +12 -12
  356. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  357. package/dist/esm/ptc-pricing-add-on-section.entry.js +40 -40
  358. package/dist/esm/ptc-pricing-block.entry.js +21 -21
  359. package/dist/esm/ptc-pricing-table.entry.js +427 -427
  360. package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
  361. package/dist/esm/ptc-product-card.entry.js +23 -23
  362. package/dist/esm/ptc-product-category.entry.js +11 -11
  363. package/dist/esm/ptc-product-dropdown.entry.js +70 -70
  364. package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
  365. package/dist/esm/ptc-product-list.entry.js +141 -141
  366. package/dist/esm/ptc-product-sidebar.entry.js +129 -129
  367. package/dist/esm/ptc-progress-bar.entry.js +17 -17
  368. package/dist/esm/ptc-quiz.entry.js +79 -0
  369. package/dist/esm/ptc-quote.entry.js +24 -24
  370. package/dist/esm/ptc-readmore-char.entry.js +25 -25
  371. package/dist/esm/ptc-readmore.entry.js +78 -78
  372. package/dist/esm/ptc-related-card-rail.entry.js +150 -150
  373. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  374. package/dist/esm/ptc-search-field.entry.js +72 -72
  375. package/dist/esm/ptc-shopping-cart.entry.js +51 -51
  376. package/dist/esm/ptc-slit-card.entry.js +26 -26
  377. package/dist/esm/ptc-social-share.entry.js +70 -70
  378. package/dist/esm/ptc-spacer.entry.js +28 -28
  379. package/dist/esm/ptc-span.entry.js +21 -21
  380. package/dist/esm/ptc-square-card.entry.js +11 -11
  381. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  382. package/dist/esm/ptc-sticky-section.entry.js +31 -31
  383. package/dist/esm/ptc-sticky-title.entry.js +24 -24
  384. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  385. package/dist/esm/ptc-subnav.entry.js +23 -23
  386. package/dist/esm/ptc-svg-btn.entry.js +96 -96
  387. package/dist/esm/ptc-tab-list.entry.js +142 -142
  388. package/dist/esm/ptc-tab.entry.js +21 -21
  389. package/dist/esm/ptc-tabs.entry.js +48 -48
  390. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  391. package/dist/esm/ptc-title.entry.js +68 -68
  392. package/dist/esm/ptc-tooltip.entry.js +96 -96
  393. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  394. package/dist/esm/ptc-value-prop-card.entry.js +15 -15
  395. package/dist/esm/ptcw-design.js +4 -4
  396. package/dist/esm/sequential-bundle-example.entry.js +110 -110
  397. package/dist/esm/sequential-bundle.entry.js +90 -90
  398. package/dist/esm/tab-content.entry.js +28 -28
  399. package/dist/esm/tab-header.entry.js +65 -65
  400. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  401. package/dist/ptcw-design/media/brands.svg +1381 -1381
  402. package/dist/ptcw-design/media/designer.svg +489 -482
  403. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  404. package/dist/ptcw-design/media/regular.svg +463 -463
  405. package/dist/ptcw-design/media/solid.svg +3016 -3013
  406. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  407. package/dist/ptcw-design/{p-15e08cba.entry.js → p-019ee040.entry.js} +1 -1
  408. package/dist/ptcw-design/{p-17fd5641.entry.js → p-066dc775.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-1b972064.entry.js → p-06b9d7b1.entry.js} +1 -1
  410. package/dist/ptcw-design/{p-c5df36ad.entry.js → p-06c13601.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-bd470a7a.entry.js → p-079b6721.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-7b34bb69.entry.js → p-0ae005de.entry.js} +1 -1
  413. package/dist/ptcw-design/p-0fc282f5.js +1 -0
  414. package/dist/ptcw-design/{p-ca9b1705.entry.js → p-101c17f4.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-689f0741.entry.js → p-10371e08.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-f8eacbd8.entry.js → p-180f20e0.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-59c62f17.entry.js → p-1cf8088d.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-072887b7.entry.js → p-2282217b.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-06f99e11.entry.js → p-22e77c7c.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-dc5e5116.entry.js → p-25195807.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-66fcd7b2.entry.js → p-255674e8.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-4097a036.entry.js → p-288cb98d.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-0532c37c.entry.js → p-298fd719.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-1fc3d43a.entry.js → p-2dcdfa2e.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-3192a7e8.entry.js → p-2fcfa760.entry.js} +1 -1
  426. package/dist/ptcw-design/{p-1c631848.entry.js → p-34764ee6.entry.js} +1 -1
  427. package/dist/ptcw-design/{p-2893f405.entry.js → p-38bee38d.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-e8cd5994.entry.js → p-38fb1625.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-59ac682d.entry.js → p-39bf1649.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-bf47669c.entry.js → p-3d14bf07.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-cf1005f9.entry.js → p-3e5fb8c3.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-3ed0384d.entry.js → p-3fb0f45c.entry.js} +1 -1
  433. package/dist/ptcw-design/p-4329b9c8.entry.js +1 -0
  434. package/dist/ptcw-design/{p-12acb46f.entry.js → p-445c9b3d.entry.js} +1 -1
  435. package/dist/ptcw-design/{p-362ec391.entry.js → p-447ad4f8.entry.js} +1 -1
  436. package/dist/ptcw-design/{p-9e4260bc.entry.js → p-4d38bd16.entry.js} +1 -1
  437. package/dist/ptcw-design/{p-75b17a66.entry.js → p-4eeafd49.entry.js} +1 -1
  438. package/dist/ptcw-design/{p-bf808180.entry.js → p-4f82a06c.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-27807bb0.entry.js → p-4feef7ca.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-7aa8af29.entry.js → p-55292c78.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-6e11536e.entry.js → p-57085c86.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-6449418a.entry.js → p-60618056.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-58291e3a.entry.js → p-62d3f225.entry.js} +1 -1
  444. package/dist/ptcw-design/{p-56da9ecd.entry.js → p-635dbbec.entry.js} +1 -1
  445. package/dist/ptcw-design/{p-95198d5f.entry.js → p-674aef18.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-61197714.entry.js → p-67974679.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-98b6cb94.entry.js → p-6c09bbbc.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-05cc800d.entry.js → p-6e172c5a.entry.js} +1 -1
  449. package/dist/ptcw-design/{p-9d681abc.entry.js → p-6f8455b5.entry.js} +1 -1
  450. package/dist/ptcw-design/{p-a417df03.entry.js → p-7192afeb.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-a42feab1.entry.js → p-72fe6dcb.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-84d3f4fa.entry.js → p-75247100.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-836d499e.entry.js → p-756357b7.entry.js} +1 -1
  454. package/dist/ptcw-design/{p-0074d97c.entry.js → p-75b447c8.entry.js} +1 -1
  455. package/dist/ptcw-design/{p-85145672.entry.js → p-7e9e0d37.entry.js} +1 -1
  456. package/dist/ptcw-design/{p-df0aa310.entry.js → p-7ff45a5c.entry.js} +1 -1
  457. package/dist/ptcw-design/{p-6aba5f8f.entry.js → p-808544d7.entry.js} +1 -1
  458. package/dist/ptcw-design/p-813a2a19.entry.js +1 -0
  459. package/dist/ptcw-design/{p-9817c40a.entry.js → p-82b05238.entry.js} +1 -1
  460. package/dist/ptcw-design/{p-77f5cf02.entry.js → p-8a1a1bfb.entry.js} +1 -1
  461. package/dist/ptcw-design/{p-cda3854b.entry.js → p-8a9d1f65.entry.js} +1 -1
  462. package/dist/ptcw-design/p-8ae8454b.entry.js +1 -0
  463. package/dist/ptcw-design/{p-4c4f8cc6.entry.js → p-905bc1a6.entry.js} +1 -1
  464. package/dist/ptcw-design/{p-515f4332.entry.js → p-968bbb76.entry.js} +1 -1
  465. package/dist/ptcw-design/{p-9e3b390e.entry.js → p-97384e6a.entry.js} +1 -1
  466. package/dist/ptcw-design/{p-ad401696.entry.js → p-97bf50a0.entry.js} +1 -1
  467. package/dist/ptcw-design/{p-a04e0ded.entry.js → p-9991c4bf.entry.js} +1 -1
  468. package/dist/ptcw-design/{p-ac63caae.entry.js → p-9ca64d6f.entry.js} +1 -1
  469. package/dist/ptcw-design/{p-eb65dacf.entry.js → p-9d477cbd.entry.js} +1 -1
  470. package/dist/ptcw-design/{p-fe85ac05.entry.js → p-9f014fd3.entry.js} +1 -1
  471. package/dist/ptcw-design/{p-9efd9a5b.entry.js → p-a42f8bf2.entry.js} +1 -1
  472. package/dist/ptcw-design/{p-214278c3.entry.js → p-a438d150.entry.js} +1 -1
  473. package/dist/ptcw-design/{p-3f368d6d.entry.js → p-a454efc5.entry.js} +1 -1
  474. package/dist/ptcw-design/{p-dc748f00.entry.js → p-a6c1acb8.entry.js} +1 -1
  475. package/dist/ptcw-design/{p-056b652a.entry.js → p-af7e6116.entry.js} +1 -1
  476. package/dist/ptcw-design/{p-6a5bc275.entry.js → p-b4602b1d.entry.js} +1 -1
  477. package/dist/ptcw-design/{p-e8ba44ba.entry.js → p-b4f034ff.entry.js} +1 -1
  478. package/dist/ptcw-design/{p-ca877fea.entry.js → p-b63e7023.entry.js} +1 -1
  479. package/dist/ptcw-design/{p-5c47361e.entry.js → p-b9b30024.entry.js} +1 -1
  480. package/dist/ptcw-design/{p-f97fc3fd.entry.js → p-bae3e7df.entry.js} +1 -1
  481. package/dist/ptcw-design/{p-26f31be6.entry.js → p-bb3cc915.entry.js} +1 -1
  482. package/dist/ptcw-design/{p-ee20170a.entry.js → p-bbc6cb14.entry.js} +1 -1
  483. package/dist/ptcw-design/{p-0f3f83d3.entry.js → p-bd3b4619.entry.js} +1 -1
  484. package/dist/ptcw-design/{p-7ea29d34.entry.js → p-bdfc9555.entry.js} +1 -1
  485. package/dist/ptcw-design/p-be157856.entry.js +1 -0
  486. package/dist/ptcw-design/{p-e8d9a19f.entry.js → p-c07609da.entry.js} +1 -1
  487. package/dist/ptcw-design/{p-ad234f99.entry.js → p-c1025cf9.entry.js} +1 -1
  488. package/dist/ptcw-design/{p-63f811ec.entry.js → p-c20bea66.entry.js} +1 -1
  489. package/dist/ptcw-design/{p-cef9cf82.entry.js → p-ce9fbcda.entry.js} +1 -1
  490. package/dist/ptcw-design/{p-2254e000.entry.js → p-d260581f.entry.js} +1 -1
  491. package/dist/ptcw-design/{p-0290031e.entry.js → p-d332e427.entry.js} +1 -1
  492. package/dist/ptcw-design/{p-31c33a18.entry.js → p-d67d6edd.entry.js} +1 -1
  493. package/dist/ptcw-design/{p-c4e1b619.entry.js → p-d9c6c833.entry.js} +1 -1
  494. package/dist/ptcw-design/{p-6b1d18b1.entry.js → p-dbb7b2a3.entry.js} +1 -1
  495. package/dist/ptcw-design/{p-777fb495.entry.js → p-dda9d065.entry.js} +1 -1
  496. package/dist/ptcw-design/{p-f6dfc55e.entry.js → p-e24f0892.entry.js} +1 -1
  497. package/dist/ptcw-design/p-e428e6d9.js +1 -0
  498. package/dist/ptcw-design/{p-2ba6bbbe.entry.js → p-e54969bf.entry.js} +1 -1
  499. package/dist/ptcw-design/{p-e312626a.entry.js → p-e9635f81.entry.js} +1 -1
  500. package/dist/ptcw-design/{p-99457ebb.entry.js → p-ec0873bd.entry.js} +1 -1
  501. package/dist/ptcw-design/{p-2fed7a6f.entry.js → p-f1b1f381.entry.js} +1 -1
  502. package/dist/ptcw-design/{p-cf7dc448.entry.js → p-f31d817a.entry.js} +1 -1
  503. package/dist/ptcw-design/p-f42ef4c9.entry.js +1 -0
  504. package/dist/ptcw-design/{p-6a4bb3e8.entry.js → p-f4b66bf5.entry.js} +1 -1
  505. package/dist/ptcw-design/{p-7a3cf557.entry.js → p-f540748a.entry.js} +1 -1
  506. package/dist/ptcw-design/{p-10254985.entry.js → p-f5d52d72.entry.js} +1 -1
  507. package/dist/ptcw-design/{p-e1dd94a9.entry.js → p-f8b1f507.entry.js} +1 -1
  508. package/dist/ptcw-design/{p-507ab0b3.entry.js → p-fac62124.entry.js} +1 -1
  509. package/dist/ptcw-design/{p-3b8731e6.entry.js → p-fad09b46.entry.js} +1 -1
  510. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  511. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  512. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  513. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  514. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  515. package/dist/types/components/list-item/list-item.d.ts +16 -16
  516. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  517. package/dist/types/components/my-component/my-component.d.ts +16 -16
  518. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  519. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  520. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  521. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  522. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  523. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  524. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  525. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  526. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  527. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  528. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  529. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  530. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  531. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  532. package/dist/types/components/ptc-card/ptc-card.d.ts +83 -83
  533. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  534. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  535. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
  536. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  537. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  538. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  539. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  540. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  541. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  542. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  543. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  544. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  545. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
  546. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  547. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  548. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  549. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  550. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  551. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  552. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  553. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  554. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  555. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  556. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
  557. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  558. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  559. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  560. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  561. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  562. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  563. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  564. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  565. package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
  566. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  567. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  568. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  569. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  570. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  571. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  572. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
  573. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
  574. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  575. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -101
  576. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  577. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  578. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  579. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  580. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  581. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  582. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  583. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  584. package/dist/types/components/ptc-quiz/ptc-quiz.d.ts +21 -0
  585. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  586. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  587. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  588. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  589. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  590. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  591. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  592. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  593. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  594. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  595. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  596. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  597. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  598. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  599. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  600. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  601. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  602. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
  603. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  604. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  605. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
  606. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  607. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  608. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  609. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +27 -27
  610. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
  611. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  612. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  613. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
  614. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  615. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  616. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  617. package/dist/types/components.d.ts +147 -134
  618. package/dist/types/global.d.ts +1072 -1072
  619. package/dist/types/index.d.ts +1 -1
  620. package/dist/types/stencil-public-runtime.d.ts +11 -0
  621. package/dist/types/utils/component.d.ts +1 -1
  622. package/dist/types/utils/interfaces.d.ts +31 -31
  623. package/dist/types/utils/utils.d.ts +5 -5
  624. package/package.json +82 -82
  625. package/readme.md +18 -18
  626. package/dist/ptcw-design/p-1c743207.entry.js +0 -1
  627. package/dist/ptcw-design/p-4aaa6290.entry.js +0 -1
  628. package/dist/ptcw-design/p-553d840a.js +0 -1
  629. package/dist/ptcw-design/p-be8db2b7.entry.js +0 -1
  630. package/dist/ptcw-design/p-d100f115.js +0 -1
  631. package/dist/ptcw-design/p-dee888f5.entry.js +0 -1
  632. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  633. /package/dist/ptcw-design/{p-ce0e4c5c.js → p-dc4da4a5.js} +0 -0
  634. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -1,252 +1,252 @@
1
- import { Host, h } from '@stencil/core';
2
- export class PtcProductSidebar {
3
- constructor() {
4
- this.searchTerm = '';
5
- this.suggestions = [];
6
- this.suggestionList = [];
7
- }
8
- componentWillLoad() {
9
- this.getDomData();
10
- }
11
- componentDidLoad() {
12
- this.productListWrap = this.hostElement.shadowRoot.querySelector('.product-list-wrap');
13
- this.clearBtn = this.hostElement.shadowRoot.querySelector('.clear-cta');
14
- }
15
- // Getting category title and products list
16
- getDomData() {
17
- const categoryList = document.querySelectorAll('ptc-product-category');
18
- categoryList.forEach(category => {
19
- let categoryTitle = category.getAttribute('category-title');
20
- let categoryObject = { categoryName: categoryTitle, products: [] };
21
- this.suggestionList.push(categoryObject);
22
- let productList = category.querySelectorAll('ptc-product-card');
23
- productList.forEach(product => {
24
- let productTitle = product.getAttribute('card-title');
25
- categoryObject.products.push(productTitle);
26
- });
27
- });
28
- }
29
- handleInputChange(event) {
30
- const inputElement = event.target;
31
- this.searchTerm = inputElement.value.toLocaleLowerCase();
32
- this.clearBtn.classList.add('show');
33
- this.getSuggestions();
34
- this.inputChanged.emit({
35
- 'sender': this,
36
- 'event': event,
37
- });
38
- }
39
- getSuggestions() {
40
- const searchTerm = this.searchTerm.toLowerCase();
41
- const suggestions = this.suggestionList.reduce((acc, item) => {
42
- if (item.categoryName.toLowerCase().includes(searchTerm)) {
43
- acc.push(item.categoryName); // Include the category if it matches the search term
44
- }
45
- const matchedProducts = item.products.filter((product) => product.toLowerCase().includes(searchTerm));
46
- if (matchedProducts.length > 0) {
47
- acc.push(...matchedProducts); // Include the matching products
48
- }
49
- return acc;
50
- }, []);
51
- this.suggestions = suggestions;
52
- }
53
- handleSelectSuggestion(suggestion, event) {
54
- this.searchTerm = suggestion;
55
- this.productListWrap.classList.add('hide');
56
- this.selectedResult.emit({
57
- 'sender': this,
58
- 'event': event,
59
- 'searchTerm': this.searchTerm
60
- });
61
- }
62
- handleKeyUp(e) {
63
- const inputElement = e.target;
64
- this.searchTerm = inputElement.value.toLocaleLowerCase();
65
- if (e.keyCode === 13 && this.suggestions.length == 0) {
66
- this.emptyResult.emit({
67
- 'sender': this,
68
- 'event': e,
69
- });
70
- }
71
- }
72
- clearSearch(event) {
73
- let input = this.hostElement.shadowRoot.querySelector('input');
74
- this.productListWrap.classList.remove('hide');
75
- this.clearBtn.classList.remove('show');
76
- if (input) {
77
- input.value = "";
78
- }
79
- this.suggestions = [];
80
- this.clearsearch.emit({
81
- 'sender': this,
82
- 'event': event,
83
- 'searchTerm': input.value
84
- });
85
- }
86
- handleDropdownTouched(event) {
87
- const { sender, isOpen } = event.detail;
88
- if (sender) {
89
- if (isOpen) {
90
- let input = this.hostElement.shadowRoot.querySelector('input');
91
- if (input) {
92
- input.value = "";
93
- }
94
- }
95
- }
96
- }
97
- handleClick() {
98
- this.suggestions = [];
99
- }
100
- handleclearCtaClicked(event) {
101
- const { sender, event: mouseEvent, } = event.detail;
102
- if (sender) {
103
- this.clearSearch(mouseEvent);
104
- }
105
- }
106
- handleSelectedValues(event) {
107
- const { sender, selectedOptions } = event.detail;
108
- if (sender) {
109
- if (selectedOptions.length > 0) {
110
- this.clearBtn.classList.add('show');
111
- this.productListWrap.classList.add('hide');
112
- }
113
- else {
114
- this.clearBtn.classList.remove('show');
115
- this.productListWrap.classList.remove('hide');
116
- }
117
- }
118
- }
119
- render() {
120
- return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Filter Results"), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e) }, "Clear")), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, "Filter"), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
121
- h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, "Technology"), h("ptc-product-dropdown", { placeholder: "Select a technology", id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Jump to Product"), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
122
- }
123
- static get is() { return "ptc-product-sidebar"; }
124
- static get encapsulation() { return "shadow"; }
125
- static get originalStyleUrls() {
126
- return {
127
- "$": ["ptc-product-sidebar.scss"]
128
- };
129
- }
130
- static get styleUrls() {
131
- return {
132
- "$": ["ptc-product-sidebar.css"]
133
- };
134
- }
135
- static get properties() {
136
- return {
137
- "suggestionList": {
138
- "type": "unknown",
139
- "mutable": false,
140
- "complexType": {
141
- "original": "{ categoryName: string, products: string[] }[]",
142
- "resolved": "{ categoryName: string; products: string[]; }[]",
143
- "references": {}
144
- },
145
- "required": false,
146
- "optional": false,
147
- "docs": {
148
- "tags": [],
149
- "text": ""
150
- },
151
- "defaultValue": "[]"
152
- }
153
- };
154
- }
155
- static get states() {
156
- return {
157
- "searchTerm": {},
158
- "suggestions": {}
159
- };
160
- }
161
- static get events() {
162
- return [{
163
- "method": "selectedResult",
164
- "name": "selectedResult",
165
- "bubbles": true,
166
- "cancelable": true,
167
- "composed": true,
168
- "docs": {
169
- "tags": [],
170
- "text": ""
171
- },
172
- "complexType": {
173
- "original": "any",
174
- "resolved": "any",
175
- "references": {}
176
- }
177
- }, {
178
- "method": "clearsearch",
179
- "name": "clearsearch",
180
- "bubbles": true,
181
- "cancelable": true,
182
- "composed": true,
183
- "docs": {
184
- "tags": [],
185
- "text": ""
186
- },
187
- "complexType": {
188
- "original": "any",
189
- "resolved": "any",
190
- "references": {}
191
- }
192
- }, {
193
- "method": "inputChanged",
194
- "name": "inputChanged",
195
- "bubbles": true,
196
- "cancelable": true,
197
- "composed": true,
198
- "docs": {
199
- "tags": [],
200
- "text": ""
201
- },
202
- "complexType": {
203
- "original": "any",
204
- "resolved": "any",
205
- "references": {}
206
- }
207
- }, {
208
- "method": "emptyResult",
209
- "name": "emptyResult",
210
- "bubbles": true,
211
- "cancelable": true,
212
- "composed": true,
213
- "docs": {
214
- "tags": [],
215
- "text": ""
216
- },
217
- "complexType": {
218
- "original": "any",
219
- "resolved": "any",
220
- "references": {}
221
- }
222
- }];
223
- }
224
- static get elementRef() { return "hostElement"; }
225
- static get listeners() {
226
- return [{
227
- "name": "dropdownTouched",
228
- "method": "handleDropdownTouched",
229
- "target": "document",
230
- "capture": false,
231
- "passive": false
232
- }, {
233
- "name": "click",
234
- "method": "handleClick",
235
- "target": undefined,
236
- "capture": false,
237
- "passive": false
238
- }, {
239
- "name": "clearCtaClicked",
240
- "method": "handleclearCtaClicked",
241
- "target": "document",
242
- "capture": false,
243
- "passive": false
244
- }, {
245
- "name": "selectedValues",
246
- "method": "handleSelectedValues",
247
- "target": "document",
248
- "capture": false,
249
- "passive": false
250
- }];
251
- }
252
- }
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcProductSidebar {
3
+ constructor() {
4
+ this.searchTerm = '';
5
+ this.suggestions = [];
6
+ this.suggestionList = [];
7
+ }
8
+ componentWillLoad() {
9
+ this.getDomData();
10
+ }
11
+ componentDidLoad() {
12
+ this.productListWrap = this.hostElement.shadowRoot.querySelector('.product-list-wrap');
13
+ this.clearBtn = this.hostElement.shadowRoot.querySelector('.clear-cta');
14
+ }
15
+ // Getting category title and products list
16
+ getDomData() {
17
+ const categoryList = document.querySelectorAll('ptc-product-category');
18
+ categoryList.forEach(category => {
19
+ let categoryTitle = category.getAttribute('category-title');
20
+ let categoryObject = { categoryName: categoryTitle, products: [] };
21
+ this.suggestionList.push(categoryObject);
22
+ let productList = category.querySelectorAll('ptc-product-card');
23
+ productList.forEach(product => {
24
+ let productTitle = product.getAttribute('card-title');
25
+ categoryObject.products.push(productTitle);
26
+ });
27
+ });
28
+ }
29
+ handleInputChange(event) {
30
+ const inputElement = event.target;
31
+ this.searchTerm = inputElement.value.toLocaleLowerCase();
32
+ this.clearBtn.classList.add('show');
33
+ this.getSuggestions();
34
+ this.inputChanged.emit({
35
+ 'sender': this,
36
+ 'event': event,
37
+ });
38
+ }
39
+ getSuggestions() {
40
+ const searchTerm = this.searchTerm.toLowerCase();
41
+ const suggestions = this.suggestionList.reduce((acc, item) => {
42
+ if (item.categoryName.toLowerCase().includes(searchTerm)) {
43
+ acc.push(item.categoryName); // Include the category if it matches the search term
44
+ }
45
+ const matchedProducts = item.products.filter((product) => product.toLowerCase().includes(searchTerm));
46
+ if (matchedProducts.length > 0) {
47
+ acc.push(...matchedProducts); // Include the matching products
48
+ }
49
+ return acc;
50
+ }, []);
51
+ this.suggestions = suggestions;
52
+ }
53
+ handleSelectSuggestion(suggestion, event) {
54
+ this.searchTerm = suggestion;
55
+ this.productListWrap.classList.add('hide');
56
+ this.selectedResult.emit({
57
+ 'sender': this,
58
+ 'event': event,
59
+ 'searchTerm': this.searchTerm
60
+ });
61
+ }
62
+ handleKeyUp(e) {
63
+ const inputElement = e.target;
64
+ this.searchTerm = inputElement.value.toLocaleLowerCase();
65
+ if (e.keyCode === 13 && this.suggestions.length == 0) {
66
+ this.emptyResult.emit({
67
+ 'sender': this,
68
+ 'event': e,
69
+ });
70
+ }
71
+ }
72
+ clearSearch(event) {
73
+ let input = this.hostElement.shadowRoot.querySelector('input');
74
+ this.productListWrap.classList.remove('hide');
75
+ this.clearBtn.classList.remove('show');
76
+ if (input) {
77
+ input.value = "";
78
+ }
79
+ this.suggestions = [];
80
+ this.clearsearch.emit({
81
+ 'sender': this,
82
+ 'event': event,
83
+ 'searchTerm': input.value
84
+ });
85
+ }
86
+ handleDropdownTouched(event) {
87
+ const { sender, isOpen } = event.detail;
88
+ if (sender) {
89
+ if (isOpen) {
90
+ let input = this.hostElement.shadowRoot.querySelector('input');
91
+ if (input) {
92
+ input.value = "";
93
+ }
94
+ }
95
+ }
96
+ }
97
+ handleClick() {
98
+ this.suggestions = [];
99
+ }
100
+ handleclearCtaClicked(event) {
101
+ const { sender, event: mouseEvent, } = event.detail;
102
+ if (sender) {
103
+ this.clearSearch(mouseEvent);
104
+ }
105
+ }
106
+ handleSelectedValues(event) {
107
+ const { sender, selectedOptions } = event.detail;
108
+ if (sender) {
109
+ if (selectedOptions.length > 0) {
110
+ this.clearBtn.classList.add('show');
111
+ this.productListWrap.classList.add('hide');
112
+ }
113
+ else {
114
+ this.clearBtn.classList.remove('show');
115
+ this.productListWrap.classList.remove('hide');
116
+ }
117
+ }
118
+ }
119
+ render() {
120
+ return (h(Host, { class: 'search-box' }, h("div", { class: "filter-result-wrap white-box" }, h("div", { class: "result-header" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Filter Results"), h("span", { class: "clear-cta", onClick: (e) => this.clearSearch(e) }, "Clear")), h("div", { class: "sort-wrap" }, h("div", { class: "typeahead-input" }, h("label", { htmlFor: "searchBox" }, "Filter"), h("div", { class: "input-wrap" }, h("svg", { width: "19", height: "18", viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z", fill: "#323B42" })), h("input", { type: "text", value: this.searchTerm, onInput: (event) => this.handleInputChange(event), onKeyUp: (e) => this.handleKeyUp(e), id: 'searchBox' })), this.suggestions.length > 0 &&
121
+ h("div", { class: "suggestion-wrap" }, h("ul", { class: "suggestions" }, this.suggestions.map((suggestion) => (h("li", { onClick: (e) => this.handleSelectSuggestion(suggestion, e) }, suggestion)))))), h("div", { class: "dropdwon-filter" }, h("label", { htmlFor: "tech-dropdown" }, "Technology"), h("ptc-product-dropdown", { placeholder: "Select a technology", id: "tech-dropdown" }, this.suggestionList.map((item) => (h("span", null, item.categoryName))))))), h("ptc-spacer", { size: "large" }), h("ptc-spacer", { size: "large" }), h("div", { class: "product-list-wrap white-box" }, h("ptc-title", { type: "h3", "title-margin": "margin-flush", upperline: "no-upperline", "title-size": "medium", "title-height": "densest" }, "Jump to Product"), this.suggestionList.map((item) => (h("div", { class: "category-list" }, h("ptc-para", { "font-size": 'x-small', "font-weight": 'w-7', "para-line-h": "line-height-densest", "para-margin": 'margin-flush' }, h("list-item", { "list-type": "list-underline", "link-href": '#' + item.categoryName }, h("ptc-tooltip", { "text-display": "inline", "text-lines": "4", "z-index": "z-2", description: item.categoryName, position: "bottom" }))), h("div", { class: "product-list" }, h("ul", null, item.products.map((product) => (h("list-item", { "list-type": "list-underline", "link-href": '#' + product }, product)))))))))));
122
+ }
123
+ static get is() { return "ptc-product-sidebar"; }
124
+ static get encapsulation() { return "shadow"; }
125
+ static get originalStyleUrls() {
126
+ return {
127
+ "$": ["ptc-product-sidebar.scss"]
128
+ };
129
+ }
130
+ static get styleUrls() {
131
+ return {
132
+ "$": ["ptc-product-sidebar.css"]
133
+ };
134
+ }
135
+ static get properties() {
136
+ return {
137
+ "suggestionList": {
138
+ "type": "unknown",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "{ categoryName: string, products: string[] }[]",
142
+ "resolved": "{ categoryName: string; products: string[]; }[]",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": false,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": ""
150
+ },
151
+ "defaultValue": "[]"
152
+ }
153
+ };
154
+ }
155
+ static get states() {
156
+ return {
157
+ "searchTerm": {},
158
+ "suggestions": {}
159
+ };
160
+ }
161
+ static get events() {
162
+ return [{
163
+ "method": "selectedResult",
164
+ "name": "selectedResult",
165
+ "bubbles": true,
166
+ "cancelable": true,
167
+ "composed": true,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": ""
171
+ },
172
+ "complexType": {
173
+ "original": "any",
174
+ "resolved": "any",
175
+ "references": {}
176
+ }
177
+ }, {
178
+ "method": "clearsearch",
179
+ "name": "clearsearch",
180
+ "bubbles": true,
181
+ "cancelable": true,
182
+ "composed": true,
183
+ "docs": {
184
+ "tags": [],
185
+ "text": ""
186
+ },
187
+ "complexType": {
188
+ "original": "any",
189
+ "resolved": "any",
190
+ "references": {}
191
+ }
192
+ }, {
193
+ "method": "inputChanged",
194
+ "name": "inputChanged",
195
+ "bubbles": true,
196
+ "cancelable": true,
197
+ "composed": true,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": ""
201
+ },
202
+ "complexType": {
203
+ "original": "any",
204
+ "resolved": "any",
205
+ "references": {}
206
+ }
207
+ }, {
208
+ "method": "emptyResult",
209
+ "name": "emptyResult",
210
+ "bubbles": true,
211
+ "cancelable": true,
212
+ "composed": true,
213
+ "docs": {
214
+ "tags": [],
215
+ "text": ""
216
+ },
217
+ "complexType": {
218
+ "original": "any",
219
+ "resolved": "any",
220
+ "references": {}
221
+ }
222
+ }];
223
+ }
224
+ static get elementRef() { return "hostElement"; }
225
+ static get listeners() {
226
+ return [{
227
+ "name": "dropdownTouched",
228
+ "method": "handleDropdownTouched",
229
+ "target": "document",
230
+ "capture": false,
231
+ "passive": false
232
+ }, {
233
+ "name": "click",
234
+ "method": "handleClick",
235
+ "target": undefined,
236
+ "capture": false,
237
+ "passive": false
238
+ }, {
239
+ "name": "clearCtaClicked",
240
+ "method": "handleclearCtaClicked",
241
+ "target": "document",
242
+ "capture": false,
243
+ "passive": false
244
+ }, {
245
+ "name": "selectedValues",
246
+ "method": "handleSelectedValues",
247
+ "target": "document",
248
+ "capture": false,
249
+ "passive": false
250
+ }];
251
+ }
252
+ }
@@ -1,42 +1,42 @@
1
- import { Host, h } from '@stencil/core';
2
- export class PtcProgressBar {
3
- constructor() {
4
- this.scrollPercentage = 0;
5
- }
6
- handleScroll() {
7
- const scrollTop = document.documentElement.scrollTop;
8
- const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
9
- console.log('scrollTop: ' + scrollTop + '; scorllHeight: ' + scrollHeight);
10
- const percentage = (scrollTop / scrollHeight) * 100;
11
- this.scrollPercentage = percentage;
12
- }
13
- render() {
14
- return (h(Host, null, h("div", { class: "progress-bar-container" }, h("div", { class: "progress-bar", style: { width: `${this.scrollPercentage}%` } }))));
15
- }
16
- static get is() { return "ptc-progress-bar"; }
17
- static get encapsulation() { return "shadow"; }
18
- static get originalStyleUrls() {
19
- return {
20
- "$": ["ptc-progress-bar.scss"]
21
- };
22
- }
23
- static get styleUrls() {
24
- return {
25
- "$": ["ptc-progress-bar.css"]
26
- };
27
- }
28
- static get states() {
29
- return {
30
- "scrollPercentage": {}
31
- };
32
- }
33
- static get listeners() {
34
- return [{
35
- "name": "scroll",
36
- "method": "handleScroll",
37
- "target": "window",
38
- "capture": false,
39
- "passive": true
40
- }];
41
- }
42
- }
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcProgressBar {
3
+ constructor() {
4
+ this.scrollPercentage = 0;
5
+ }
6
+ handleScroll() {
7
+ const scrollTop = document.documentElement.scrollTop;
8
+ const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
9
+ console.log('scrollTop: ' + scrollTop + '; scorllHeight: ' + scrollHeight);
10
+ const percentage = (scrollTop / scrollHeight) * 100;
11
+ this.scrollPercentage = percentage;
12
+ }
13
+ render() {
14
+ return (h(Host, null, h("div", { class: "progress-bar-container" }, h("div", { class: "progress-bar", style: { width: `${this.scrollPercentage}%` } }))));
15
+ }
16
+ static get is() { return "ptc-progress-bar"; }
17
+ static get encapsulation() { return "shadow"; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["ptc-progress-bar.scss"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["ptc-progress-bar.css"]
26
+ };
27
+ }
28
+ static get states() {
29
+ return {
30
+ "scrollPercentage": {}
31
+ };
32
+ }
33
+ static get listeners() {
34
+ return [{
35
+ "name": "scroll",
36
+ "method": "handleScroll",
37
+ "target": "window",
38
+ "capture": false,
39
+ "passive": true
40
+ }];
41
+ }
42
+ }