@ptcwebops/ptcw-design 2.2.9 → 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 (635) 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 +49 -49
  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.css +1 -1
  158. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
  159. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  160. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  161. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
  162. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  163. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
  164. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  165. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  166. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  167. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
  168. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  169. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  170. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  171. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  172. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  173. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
  174. package/dist/collection/components/ptc-link/ptc-link.js +207 -207
  175. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  176. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  177. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  178. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
  179. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  180. package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
  181. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  182. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  183. package/dist/collection/components/ptc-news/ptc-news.js +169 -169
  184. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  185. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  186. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  187. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  188. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  189. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  190. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
  191. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
  192. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  193. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -581
  194. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  195. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  196. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  197. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  198. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  199. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  200. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  201. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  202. package/dist/collection/components/ptc-quiz/ptc-quiz.css +215 -0
  203. package/dist/collection/components/ptc-quiz/ptc-quiz.js +92 -0
  204. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  205. package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
  206. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  207. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  208. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  209. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  210. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  211. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  212. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  213. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  214. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  215. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  216. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  217. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  218. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  219. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  220. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  221. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  222. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  223. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
  224. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  225. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  226. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
  227. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  228. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  229. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  230. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +135 -135
  231. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
  232. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  233. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  234. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
  235. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
  236. package/dist/collection/components/tab-content/tab-content.js +84 -84
  237. package/dist/collection/components/tab-header/tab-header.js +182 -182
  238. package/dist/collection/index.js +1 -1
  239. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  240. package/dist/collection/media/svg-imgs/close.svg +10 -10
  241. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  242. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  243. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  244. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  245. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  246. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  247. package/dist/collection/media/svg-imgs/union.svg +3 -3
  248. package/dist/collection/stories/Accordian.stories.js +205 -205
  249. package/dist/collection/stories/Announcement.stories.js +64 -64
  250. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  251. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  252. package/dist/collection/stories/Button.stories.js +119 -119
  253. package/dist/collection/stories/Card.stories.js +234 -234
  254. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  255. package/dist/collection/stories/Checkbox.stories.js +52 -52
  256. package/dist/collection/stories/Date.stories.js +81 -81
  257. package/dist/collection/stories/Dropdown.stories.js +48 -48
  258. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  259. package/dist/collection/stories/FilterTag.stories.js +73 -73
  260. package/dist/collection/stories/Hero.stories.js +119 -119
  261. package/dist/collection/stories/Icon.stories.js +71 -71
  262. package/dist/collection/stories/IconList.stories.js +114 -114
  263. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  264. package/dist/collection/stories/Link.stories.js +101 -101
  265. package/dist/collection/stories/ListItem.stories.js +59 -59
  266. package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
  267. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  268. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  269. package/dist/collection/stories/Modal.stories.js +105 -105
  270. package/dist/collection/stories/Overlay.stories.js +48 -48
  271. package/dist/collection/stories/Pagination.stories.js +101 -101
  272. package/dist/collection/stories/Paragraph.stories.js +95 -95
  273. package/dist/collection/stories/Picture.stories.js +139 -139
  274. package/dist/collection/stories/Quote.stories.js +107 -107
  275. package/dist/collection/stories/ReadMore.stories.js +100 -100
  276. package/dist/collection/stories/SocialShare.stories.js +66 -66
  277. package/dist/collection/stories/Spacer.stories.js +48 -48
  278. package/dist/collection/stories/Span.stories.js +57 -57
  279. package/dist/collection/stories/SvgButton.stories.js +34 -34
  280. package/dist/collection/stories/Tabs.stories.js +213 -213
  281. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  282. package/dist/collection/stories/Title.stories.js +115 -115
  283. package/dist/collection/stories/Tooltip.stories.js +112 -112
  284. package/dist/collection/utils/component.js +3 -3
  285. package/dist/collection/utils/interfaces.js +11 -11
  286. package/dist/collection/utils/utils.js +92 -92
  287. package/dist/custom-elements/index.d.ts +6 -0
  288. package/dist/custom-elements/index.js +6833 -6646
  289. package/dist/esm/author-listing-example.entry.js +232 -232
  290. package/dist/esm/bundle-example.entry.js +31 -31
  291. package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
  292. package/dist/esm/{core-73ab4867.js → core-209a2c67.js} +91 -29
  293. package/dist/esm/dropdown-item.entry.js +11 -11
  294. package/dist/esm/dynamic-box-bundle.entry.js +26 -26
  295. package/dist/esm/featured-list.entry.js +84 -84
  296. package/dist/esm/fl-tab-content_3.entry.js +41 -41
  297. package/dist/esm/icon-asset.entry.js +43 -43
  298. package/dist/esm/{index-22a84644.js → index-8db28d54.js} +72 -1
  299. package/dist/esm/innovator-toggle-container.entry.js +22 -22
  300. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  301. package/dist/esm/list-item.entry.js +23 -23
  302. package/dist/esm/loader.js +4 -4
  303. package/dist/esm/max-width-container.entry.js +44 -44
  304. package/dist/esm/my-component.entry.js +16 -16
  305. package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
  306. package/dist/esm/polyfills/core-js.js +0 -0
  307. package/dist/esm/polyfills/dom.js +0 -0
  308. package/dist/esm/polyfills/es5-html-element.js +0 -0
  309. package/dist/esm/polyfills/index.js +0 -0
  310. package/dist/esm/polyfills/system.js +0 -0
  311. package/dist/esm/ptc-accordion-item.entry.js +85 -85
  312. package/dist/esm/ptc-accordion.entry.js +40 -40
  313. package/dist/esm/ptc-announcement.entry.js +53 -53
  314. package/dist/esm/ptc-back-to-top.entry.js +36 -36
  315. package/dist/esm/ptc-background-video.entry.js +58 -58
  316. package/dist/esm/ptc-bio-card.entry.js +25 -25
  317. package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
  318. package/dist/esm/ptc-button.entry.js +40 -40
  319. package/dist/esm/ptc-card-bottom_3.entry.js +124 -124
  320. package/dist/esm/ptc-card-content.entry.js +58 -58
  321. package/dist/esm/ptc-card.entry.js +73 -73
  322. package/dist/esm/ptc-case-studies-slider.entry.js +92 -83
  323. package/dist/esm/ptc-checkbox.entry.js +51 -51
  324. package/dist/esm/ptc-collapse-list.entry.js +398 -398
  325. package/dist/esm/ptc-container.entry.js +34 -34
  326. package/dist/esm/ptc-date.entry.js +51 -51
  327. package/dist/esm/ptc-dropdown.entry.js +65 -65
  328. package/dist/esm/ptc-dynamic-card.entry.js +49 -49
  329. package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
  330. package/dist/esm/ptc-featured-list.entry.js +83 -83
  331. package/dist/esm/ptc-filter-tag.entry.js +58 -58
  332. package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
  333. package/dist/esm/ptc-hero.entry.js +19 -19
  334. package/dist/esm/ptc-icon-component.entry.js +63 -63
  335. package/dist/esm/ptc-icon-list.entry.js +22 -22
  336. package/dist/esm/ptc-icon-minimize.entry.js +44 -44
  337. package/dist/esm/ptc-image-download-strip.entry.js +19 -19
  338. package/dist/esm/ptc-img.entry.js +123 -123
  339. package/dist/esm/ptc-link.entry.js +34 -34
  340. package/dist/esm/ptc-list.entry.js +50 -50
  341. package/dist/esm/ptc-media-card.entry.js +59 -59
  342. package/dist/esm/ptc-minimized-nav.entry.js +13 -13
  343. package/dist/esm/ptc-mobile-select.entry.js +157 -139
  344. package/dist/esm/ptc-modal.entry.js +151 -151
  345. package/dist/esm/ptc-nav-card.entry.js +37 -37
  346. package/dist/esm/ptc-nav-link.entry.js +37 -37
  347. package/dist/esm/ptc-nav-pills.entry.js +9 -9
  348. package/dist/esm/ptc-nav-slider.entry.js +91 -91
  349. package/dist/esm/ptc-nav-submenu.entry.js +38 -38
  350. package/dist/esm/ptc-news.entry.js +18 -18
  351. package/dist/esm/ptc-overlay.entry.js +24 -24
  352. package/dist/esm/ptc-pagenation.entry.js +307 -307
  353. package/dist/esm/ptc-para.entry.js +52 -52
  354. package/dist/esm/ptc-picture.entry.js +153 -153
  355. package/dist/esm/ptc-podcast-card.entry.js +12 -12
  356. package/dist/esm/ptc-previous-url.entry.js +12 -12
  357. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  358. package/dist/esm/ptc-pricing-add-on-section.entry.js +40 -40
  359. package/dist/esm/ptc-pricing-block.entry.js +21 -21
  360. package/dist/esm/ptc-pricing-table.entry.js +427 -427
  361. package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
  362. package/dist/esm/ptc-product-card.entry.js +23 -23
  363. package/dist/esm/ptc-product-category.entry.js +11 -11
  364. package/dist/esm/ptc-product-dropdown.entry.js +70 -70
  365. package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
  366. package/dist/esm/ptc-product-list.entry.js +141 -141
  367. package/dist/esm/ptc-product-sidebar.entry.js +129 -129
  368. package/dist/esm/ptc-progress-bar.entry.js +17 -17
  369. package/dist/esm/ptc-quiz.entry.js +79 -0
  370. package/dist/esm/ptc-quote.entry.js +24 -24
  371. package/dist/esm/ptc-readmore-char.entry.js +25 -25
  372. package/dist/esm/ptc-readmore.entry.js +78 -78
  373. package/dist/esm/ptc-related-card-rail.entry.js +150 -150
  374. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  375. package/dist/esm/ptc-search-field.entry.js +72 -72
  376. package/dist/esm/ptc-shopping-cart.entry.js +51 -51
  377. package/dist/esm/ptc-slit-card.entry.js +26 -26
  378. package/dist/esm/ptc-social-share.entry.js +70 -70
  379. package/dist/esm/ptc-spacer.entry.js +28 -28
  380. package/dist/esm/ptc-span.entry.js +21 -21
  381. package/dist/esm/ptc-square-card.entry.js +11 -11
  382. package/dist/esm/ptc-sticky-icons.entry.js +33 -33
  383. package/dist/esm/ptc-sticky-section.entry.js +31 -31
  384. package/dist/esm/ptc-sticky-title.entry.js +24 -24
  385. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  386. package/dist/esm/ptc-subnav.entry.js +23 -23
  387. package/dist/esm/ptc-svg-btn.entry.js +96 -96
  388. package/dist/esm/ptc-tab-list.entry.js +142 -142
  389. package/dist/esm/ptc-tab.entry.js +21 -21
  390. package/dist/esm/ptc-tabs.entry.js +48 -48
  391. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  392. package/dist/esm/ptc-title.entry.js +68 -68
  393. package/dist/esm/ptc-tooltip.entry.js +96 -96
  394. package/dist/esm/ptc-two-column-media.entry.js +16 -16
  395. package/dist/esm/ptc-value-prop-card.entry.js +15 -15
  396. package/dist/esm/ptcw-design.js +4 -4
  397. package/dist/esm/sequential-bundle-example.entry.js +110 -110
  398. package/dist/esm/sequential-bundle.entry.js +90 -90
  399. package/dist/esm/tab-content.entry.js +28 -28
  400. package/dist/esm/tab-header.entry.js +65 -65
  401. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  402. package/dist/ptcw-design/media/brands.svg +1381 -1381
  403. package/dist/ptcw-design/media/designer.svg +489 -482
  404. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  405. package/dist/ptcw-design/media/regular.svg +463 -463
  406. package/dist/ptcw-design/media/solid.svg +3016 -3013
  407. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  408. package/dist/ptcw-design/{p-15e08cba.entry.js → p-019ee040.entry.js} +1 -1
  409. package/dist/ptcw-design/{p-17fd5641.entry.js → p-066dc775.entry.js} +1 -1
  410. package/dist/ptcw-design/{p-1b972064.entry.js → p-06b9d7b1.entry.js} +1 -1
  411. package/dist/ptcw-design/{p-c5df36ad.entry.js → p-06c13601.entry.js} +1 -1
  412. package/dist/ptcw-design/{p-bd470a7a.entry.js → p-079b6721.entry.js} +1 -1
  413. package/dist/ptcw-design/{p-7b34bb69.entry.js → p-0ae005de.entry.js} +1 -1
  414. package/dist/ptcw-design/p-0fc282f5.js +1 -0
  415. package/dist/ptcw-design/{p-ca9b1705.entry.js → p-101c17f4.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-689f0741.entry.js → p-10371e08.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-f8eacbd8.entry.js → p-180f20e0.entry.js} +1 -1
  418. package/dist/ptcw-design/{p-59c62f17.entry.js → p-1cf8088d.entry.js} +1 -1
  419. package/dist/ptcw-design/{p-072887b7.entry.js → p-2282217b.entry.js} +1 -1
  420. package/dist/ptcw-design/{p-06f99e11.entry.js → p-22e77c7c.entry.js} +1 -1
  421. package/dist/ptcw-design/{p-dc5e5116.entry.js → p-25195807.entry.js} +1 -1
  422. package/dist/ptcw-design/{p-66fcd7b2.entry.js → p-255674e8.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-4097a036.entry.js → p-288cb98d.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-0532c37c.entry.js → p-298fd719.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-1fc3d43a.entry.js → p-2dcdfa2e.entry.js} +1 -1
  426. package/dist/ptcw-design/{p-3192a7e8.entry.js → p-2fcfa760.entry.js} +1 -1
  427. package/dist/ptcw-design/{p-1c631848.entry.js → p-34764ee6.entry.js} +1 -1
  428. package/dist/ptcw-design/{p-2893f405.entry.js → p-38bee38d.entry.js} +1 -1
  429. package/dist/ptcw-design/{p-e8cd5994.entry.js → p-38fb1625.entry.js} +1 -1
  430. package/dist/ptcw-design/{p-59ac682d.entry.js → p-39bf1649.entry.js} +1 -1
  431. package/dist/ptcw-design/{p-bf47669c.entry.js → p-3d14bf07.entry.js} +1 -1
  432. package/dist/ptcw-design/{p-cf1005f9.entry.js → p-3e5fb8c3.entry.js} +1 -1
  433. package/dist/ptcw-design/{p-3ed0384d.entry.js → p-3fb0f45c.entry.js} +1 -1
  434. package/dist/ptcw-design/p-4329b9c8.entry.js +1 -0
  435. package/dist/ptcw-design/{p-12acb46f.entry.js → p-445c9b3d.entry.js} +1 -1
  436. package/dist/ptcw-design/{p-362ec391.entry.js → p-447ad4f8.entry.js} +1 -1
  437. package/dist/ptcw-design/{p-9e4260bc.entry.js → p-4d38bd16.entry.js} +1 -1
  438. package/dist/ptcw-design/{p-75b17a66.entry.js → p-4eeafd49.entry.js} +1 -1
  439. package/dist/ptcw-design/{p-bf808180.entry.js → p-4f82a06c.entry.js} +1 -1
  440. package/dist/ptcw-design/{p-27807bb0.entry.js → p-4feef7ca.entry.js} +1 -1
  441. package/dist/ptcw-design/{p-7aa8af29.entry.js → p-55292c78.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-6e11536e.entry.js → p-57085c86.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-6449418a.entry.js → p-60618056.entry.js} +1 -1
  444. package/dist/ptcw-design/{p-58291e3a.entry.js → p-62d3f225.entry.js} +1 -1
  445. package/dist/ptcw-design/{p-56da9ecd.entry.js → p-635dbbec.entry.js} +1 -1
  446. package/dist/ptcw-design/{p-95198d5f.entry.js → p-674aef18.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-61197714.entry.js → p-67974679.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-98b6cb94.entry.js → p-6c09bbbc.entry.js} +1 -1
  449. package/dist/ptcw-design/{p-05cc800d.entry.js → p-6e172c5a.entry.js} +1 -1
  450. package/dist/ptcw-design/{p-9d681abc.entry.js → p-6f8455b5.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-a417df03.entry.js → p-7192afeb.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-a42feab1.entry.js → p-72fe6dcb.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-84d3f4fa.entry.js → p-75247100.entry.js} +1 -1
  454. package/dist/ptcw-design/{p-836d499e.entry.js → p-756357b7.entry.js} +1 -1
  455. package/dist/ptcw-design/{p-0074d97c.entry.js → p-75b447c8.entry.js} +1 -1
  456. package/dist/ptcw-design/{p-85145672.entry.js → p-7e9e0d37.entry.js} +1 -1
  457. package/dist/ptcw-design/{p-df0aa310.entry.js → p-7ff45a5c.entry.js} +1 -1
  458. package/dist/ptcw-design/{p-6aba5f8f.entry.js → p-808544d7.entry.js} +1 -1
  459. package/dist/ptcw-design/p-813a2a19.entry.js +1 -0
  460. package/dist/ptcw-design/{p-9817c40a.entry.js → p-82b05238.entry.js} +1 -1
  461. package/dist/ptcw-design/{p-77f5cf02.entry.js → p-8a1a1bfb.entry.js} +1 -1
  462. package/dist/ptcw-design/{p-cda3854b.entry.js → p-8a9d1f65.entry.js} +1 -1
  463. package/dist/ptcw-design/p-8ae8454b.entry.js +1 -0
  464. package/dist/ptcw-design/{p-cca3696a.entry.js → p-905bc1a6.entry.js} +1 -1
  465. package/dist/ptcw-design/{p-515f4332.entry.js → p-968bbb76.entry.js} +1 -1
  466. package/dist/ptcw-design/{p-9e3b390e.entry.js → p-97384e6a.entry.js} +1 -1
  467. package/dist/ptcw-design/{p-ad401696.entry.js → p-97bf50a0.entry.js} +1 -1
  468. package/dist/ptcw-design/{p-a04e0ded.entry.js → p-9991c4bf.entry.js} +1 -1
  469. package/dist/ptcw-design/{p-ac63caae.entry.js → p-9ca64d6f.entry.js} +1 -1
  470. package/dist/ptcw-design/{p-eb65dacf.entry.js → p-9d477cbd.entry.js} +1 -1
  471. package/dist/ptcw-design/{p-fe85ac05.entry.js → p-9f014fd3.entry.js} +1 -1
  472. package/dist/ptcw-design/{p-9efd9a5b.entry.js → p-a42f8bf2.entry.js} +1 -1
  473. package/dist/ptcw-design/{p-214278c3.entry.js → p-a438d150.entry.js} +1 -1
  474. package/dist/ptcw-design/{p-3f368d6d.entry.js → p-a454efc5.entry.js} +1 -1
  475. package/dist/ptcw-design/{p-dc748f00.entry.js → p-a6c1acb8.entry.js} +1 -1
  476. package/dist/ptcw-design/{p-056b652a.entry.js → p-af7e6116.entry.js} +1 -1
  477. package/dist/ptcw-design/{p-6a5bc275.entry.js → p-b4602b1d.entry.js} +1 -1
  478. package/dist/ptcw-design/{p-e8ba44ba.entry.js → p-b4f034ff.entry.js} +1 -1
  479. package/dist/ptcw-design/{p-ca877fea.entry.js → p-b63e7023.entry.js} +1 -1
  480. package/dist/ptcw-design/{p-5c47361e.entry.js → p-b9b30024.entry.js} +1 -1
  481. package/dist/ptcw-design/{p-f97fc3fd.entry.js → p-bae3e7df.entry.js} +1 -1
  482. package/dist/ptcw-design/{p-26f31be6.entry.js → p-bb3cc915.entry.js} +1 -1
  483. package/dist/ptcw-design/{p-ee20170a.entry.js → p-bbc6cb14.entry.js} +1 -1
  484. package/dist/ptcw-design/{p-0f3f83d3.entry.js → p-bd3b4619.entry.js} +1 -1
  485. package/dist/ptcw-design/{p-7ea29d34.entry.js → p-bdfc9555.entry.js} +1 -1
  486. package/dist/ptcw-design/p-be157856.entry.js +1 -0
  487. package/dist/ptcw-design/{p-e8d9a19f.entry.js → p-c07609da.entry.js} +1 -1
  488. package/dist/ptcw-design/{p-ad234f99.entry.js → p-c1025cf9.entry.js} +1 -1
  489. package/dist/ptcw-design/{p-63f811ec.entry.js → p-c20bea66.entry.js} +1 -1
  490. package/dist/ptcw-design/{p-cef9cf82.entry.js → p-ce9fbcda.entry.js} +1 -1
  491. package/dist/ptcw-design/{p-2254e000.entry.js → p-d260581f.entry.js} +1 -1
  492. package/dist/ptcw-design/{p-0290031e.entry.js → p-d332e427.entry.js} +1 -1
  493. package/dist/ptcw-design/{p-31c33a18.entry.js → p-d67d6edd.entry.js} +1 -1
  494. package/dist/ptcw-design/{p-c4e1b619.entry.js → p-d9c6c833.entry.js} +1 -1
  495. package/dist/ptcw-design/{p-6b1d18b1.entry.js → p-dbb7b2a3.entry.js} +1 -1
  496. package/dist/ptcw-design/{p-777fb495.entry.js → p-dda9d065.entry.js} +1 -1
  497. package/dist/ptcw-design/{p-f6dfc55e.entry.js → p-e24f0892.entry.js} +1 -1
  498. package/dist/ptcw-design/p-e428e6d9.js +1 -0
  499. package/dist/ptcw-design/{p-2ba6bbbe.entry.js → p-e54969bf.entry.js} +1 -1
  500. package/dist/ptcw-design/{p-e312626a.entry.js → p-e9635f81.entry.js} +1 -1
  501. package/dist/ptcw-design/{p-99457ebb.entry.js → p-ec0873bd.entry.js} +1 -1
  502. package/dist/ptcw-design/{p-2fed7a6f.entry.js → p-f1b1f381.entry.js} +1 -1
  503. package/dist/ptcw-design/{p-cf7dc448.entry.js → p-f31d817a.entry.js} +1 -1
  504. package/dist/ptcw-design/p-f42ef4c9.entry.js +1 -0
  505. package/dist/ptcw-design/{p-6a4bb3e8.entry.js → p-f4b66bf5.entry.js} +1 -1
  506. package/dist/ptcw-design/{p-7a3cf557.entry.js → p-f540748a.entry.js} +1 -1
  507. package/dist/ptcw-design/{p-10254985.entry.js → p-f5d52d72.entry.js} +1 -1
  508. package/dist/ptcw-design/{p-e1dd94a9.entry.js → p-f8b1f507.entry.js} +1 -1
  509. package/dist/ptcw-design/{p-507ab0b3.entry.js → p-fac62124.entry.js} +1 -1
  510. package/dist/ptcw-design/{p-3b8731e6.entry.js → p-fad09b46.entry.js} +1 -1
  511. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  512. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  513. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  514. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  515. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  516. package/dist/types/components/list-item/list-item.d.ts +16 -16
  517. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  518. package/dist/types/components/my-component/my-component.d.ts +16 -16
  519. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  520. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
  521. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  522. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  523. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  524. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  525. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  526. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  527. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  528. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
  529. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  530. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  531. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  532. package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
  533. package/dist/types/components/ptc-card/ptc-card.d.ts +83 -83
  534. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  535. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  536. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
  537. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  538. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  539. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  540. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  541. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  542. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  543. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
  544. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  545. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  546. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
  547. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  548. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  549. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  550. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  551. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  552. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  553. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  554. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  555. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  556. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  557. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
  558. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  559. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  560. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  561. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  562. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  563. package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
  564. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  565. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  566. package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
  567. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  568. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  569. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  570. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  571. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  572. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  573. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
  574. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
  575. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  576. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -101
  577. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  578. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  579. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  580. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  581. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  582. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  583. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  584. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  585. package/dist/types/components/ptc-quiz/ptc-quiz.d.ts +21 -0
  586. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  587. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  588. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  589. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  590. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  591. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  592. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  593. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  594. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  595. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  596. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  597. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  598. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  599. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  600. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  601. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  602. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  603. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
  604. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  605. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  606. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
  607. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  608. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  609. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  610. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +27 -27
  611. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
  612. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  613. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  614. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
  615. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
  616. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  617. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  618. package/dist/types/components.d.ts +147 -134
  619. package/dist/types/global.d.ts +1072 -1072
  620. package/dist/types/index.d.ts +1 -1
  621. package/dist/types/stencil-public-runtime.d.ts +11 -0
  622. package/dist/types/utils/component.d.ts +1 -1
  623. package/dist/types/utils/interfaces.d.ts +31 -31
  624. package/dist/types/utils/utils.d.ts +5 -5
  625. package/package.json +82 -82
  626. package/readme.md +18 -18
  627. package/dist/ptcw-design/p-1c743207.entry.js +0 -1
  628. package/dist/ptcw-design/p-4aaa6290.entry.js +0 -1
  629. package/dist/ptcw-design/p-553d840a.js +0 -1
  630. package/dist/ptcw-design/p-be8db2b7.entry.js +0 -1
  631. package/dist/ptcw-design/p-d100f115.js +0 -1
  632. package/dist/ptcw-design/p-dee888f5.entry.js +0 -1
  633. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  634. /package/dist/ptcw-design/{p-ce0e4c5c.js → p-dc4da4a5.js} +0 -0
  635. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -0,0 +1,215 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+ @media only screen and (min-width: 360px) {
5
+ :host .quiz-slide-container {
6
+ position: relative;
7
+ width: 100%;
8
+ border: 1px solid var(--color-gray-12);
9
+ }
10
+ :host .quiz-slide-container .quiz-slide-text-container {
11
+ max-width: calc(24 * var(--ptc-element-spacing-07));
12
+ }
13
+ :host .quiz-slide-background {
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100%;
18
+ height: 100%;
19
+ background: url("https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg");
20
+ background-size: cover;
21
+ background-position: center;
22
+ opacity: 0.25;
23
+ z-index: -1;
24
+ }
25
+ :host .quiz-slide-initial {
26
+ padding: var(--ptc-element-spacing-08);
27
+ display: flex;
28
+ justify-content: center;
29
+ }
30
+ :host .quiz-slide-initial #initial-quiz-p {
31
+ padding: 0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0;
32
+ }
33
+ :host .quiz-slide-result .cta-container {
34
+ display: flex;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ }
38
+ :host .quiz-slide-result .cta-container ptc-button {
39
+ flex: 1 0 100%;
40
+ margin: 0 0 var(--ptc-element-spacing-05) 0;
41
+ }
42
+ :host .right-button-container {
43
+ display: flex;
44
+ justify-content: right;
45
+ }
46
+ :host .right-button-container .restart-quiz-button {
47
+ display: flex;
48
+ margin: var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;
49
+ transition: var(--ptc-transition-slow);
50
+ }
51
+ :host .right-button-container .restart-quiz-button #restart-arrow {
52
+ display: flex;
53
+ align-items: center;
54
+ }
55
+ :host .right-button-container .restart-quiz-button #restart-arrow svg {
56
+ margin-right: var(--ptc-element-spacing-03);
57
+ }
58
+ :host .right-button-container .restart-quiz-button:hover {
59
+ cursor: pointer;
60
+ }
61
+ :host .right-button-container .restart-quiz-button:hover #restart-arrow svg {
62
+ transform: rotate(270deg);
63
+ }
64
+ :host .right-button-container .restart-quiz-button:hover ptc-para {
65
+ opacity: 0.7;
66
+ }
67
+ :host .center-button-container {
68
+ display: flex;
69
+ justify-content: center;
70
+ }
71
+ :host .previous-slide-button {
72
+ display: flex;
73
+ align-items: center;
74
+ margin: 0 0 var(--ptc-element-spacing-06) 0;
75
+ transition: var(--ptc-transition-slow);
76
+ }
77
+ :host .previous-slide-button icon-asset {
78
+ display: flex;
79
+ align-items: center;
80
+ margin-right: var(--ptc-element-spacing-03);
81
+ }
82
+ :host .previous-slide-button:hover {
83
+ cursor: pointer;
84
+ }
85
+ :host .previous-slide-button:hover icon-asset svg {
86
+ transform: translateX(-8px);
87
+ }
88
+ :host .previous-slide-button:hover ptc-para {
89
+ opacity: 0.7;
90
+ }
91
+ :host .quiz-slide-dual-layout .image-container {
92
+ padding-top: var(--ptc-element-spacing-06);
93
+ display: flex;
94
+ justify-content: center;
95
+ height: calc(4 * var(--ptc-element-spacing-08));
96
+ width: 100%;
97
+ }
98
+ :host .quiz-slide-dual-layout .image-container img {
99
+ height: 100%;
100
+ width: 100%;
101
+ }
102
+ :host .quiz-slide-dual-layout .content-container {
103
+ margin: var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08);
104
+ }
105
+ :host .quiz-slide-dual-layout .content-container .options-container {
106
+ padding-left: var(--ptc-element-spacing-05);
107
+ display: flex;
108
+ flex-wrap: wrap;
109
+ }
110
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input {
111
+ flex: 1 0 100%;
112
+ margin-bottom: var(--ptc-element-spacing-06);
113
+ display: flex;
114
+ align-items: start;
115
+ }
116
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio] {
117
+ width: 16px;
118
+ height: 16px;
119
+ }
120
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:hover {
121
+ cursor: pointer;
122
+ }
123
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:hover:before {
124
+ box-shadow: 0px 0px 0px 2px var(--color-gray-05);
125
+ border-radius: 50%;
126
+ opacity: 0.7;
127
+ }
128
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:before {
129
+ content: "";
130
+ display: block;
131
+ width: 60%;
132
+ height: 60%;
133
+ margin: 10%;
134
+ padding: 10%;
135
+ border-radius: 50%;
136
+ }
137
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:checked:before {
138
+ background: inherit;
139
+ }
140
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input .option-label {
141
+ padding: 0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03);
142
+ }
143
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input .option-label:hover {
144
+ cursor: pointer;
145
+ }
146
+ }
147
+ @media only screen and (min-width: 768px) {
148
+ :host .quiz-slide-initial #initial-quiz-p {
149
+ padding: 0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0;
150
+ }
151
+ :host .quiz-slide-dual-layout {
152
+ margin: 0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06);
153
+ }
154
+ :host .quiz-slide-dual-layout .image-container {
155
+ height: calc(9 * var(--ptc-element-spacing-06));
156
+ width: 100%;
157
+ }
158
+ :host .quiz-slide-dual-layout .image-container img {
159
+ height: 100%;
160
+ width: auto;
161
+ }
162
+ :host .quiz-slide-dual-layout .content-container {
163
+ margin: var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06);
164
+ }
165
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input {
166
+ flex: 1 0 48%;
167
+ }
168
+ }
169
+ @media only screen and (min-width: 992px) {
170
+ :host .quiz-slide-initial #initial-quiz-p {
171
+ padding: 0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0;
172
+ }
173
+ :host .quiz-slide-dual-layout .image-container {
174
+ height: calc(8 * var(--ptc-element-spacing-07));
175
+ width: auto;
176
+ }
177
+ }
178
+ @media only screen and (min-width: 1200px) {
179
+ :host .quiz-slide-initial #initial-quiz-p {
180
+ padding: 0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0;
181
+ }
182
+ :host .quiz-slide-result .cta-container {
183
+ flex-direction: row;
184
+ }
185
+ :host .quiz-slide-result .cta-container ptc-button {
186
+ flex: none;
187
+ margin: 0 var(--ptc-element-spacing-05) 0 0;
188
+ }
189
+ :host .quiz-slide-dual-layout {
190
+ display: flex;
191
+ margin-bottom: var(--ptc-element-spacing-08);
192
+ }
193
+ :host .quiz-slide-dual-layout .image-container {
194
+ display: flex;
195
+ align-items: center;
196
+ height: calc(7 * var(--ptc-element-spacing-07));
197
+ width: calc(15 * var(--ptc-element-spacing-07));
198
+ }
199
+ :host .quiz-slide-dual-layout .image-container img {
200
+ height: 100%;
201
+ max-height: calc(7 * var(--ptc-element-spacing-07));
202
+ max-width: calc(15 * var(--ptc-element-spacing-07));
203
+ }
204
+ :host .quiz-slide-dual-layout .content-container .options-container {
205
+ padding-left: 0;
206
+ }
207
+ :host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd) {
208
+ margin-right: 4%;
209
+ }
210
+ }
211
+ @media only screen and (min-width: 1440px) {
212
+ :host .quiz-slide-initial #initial-quiz-p {
213
+ padding: 0 0 var(--ptc-element-spacing-07) 0;
214
+ }
215
+ }
@@ -0,0 +1,92 @@
1
+ import { Host, h, Fragment } from '@stencil/core';
2
+ export class PtcQuiz {
3
+ constructor() {
4
+ this.quiz = window.GetQuiz && window.GetQuiz();
5
+ this.additionalOptionOnClick = window.AdditionalOptionOnClick && window.AdditionalOptionOnClick();
6
+ this.slide = this.quiz;
7
+ this.traversal = [];
8
+ }
9
+ handleStartButtonClick() {
10
+ this.slide = this.slide["next"];
11
+ this.traversal.push("next");
12
+ }
13
+ handleRestartButtonClick() {
14
+ this.slide = this.quiz;
15
+ this.traversal = [];
16
+ }
17
+ handlePreviousButtonClick() {
18
+ let previousSlide = this.quiz;
19
+ for (let step of this.traversal.slice(0, this.traversal.length - 3)) {
20
+ previousSlide = previousSlide[step];
21
+ }
22
+ this.slide = previousSlide;
23
+ this.traversal = this.traversal.slice(0, this.traversal.length - 3);
24
+ }
25
+ handleQuestionOptionClick(dataModelId) {
26
+ let [option, optionInd] = [null, null];
27
+ let currentSlideOptions = this.slide["options"];
28
+ for (let ind in currentSlideOptions) {
29
+ if (currentSlideOptions[ind]["data-model-id"] === dataModelId) {
30
+ option = currentSlideOptions[ind];
31
+ optionInd = ind;
32
+ break;
33
+ }
34
+ }
35
+ this.additionalOptionOnClick(dataModelId);
36
+ this.traversal = [...this.traversal, "options", optionInd, "next"];
37
+ let nextImage = new Image();
38
+ nextImage.src = option["next"]["image"];
39
+ nextImage.onload = () => {
40
+ this.slide = option["next"];
41
+ };
42
+ }
43
+ render() {
44
+ const QuizSlideRestartButton = () => {
45
+ return h("div", { class: "right-button-container" }, h("div", { class: "restart-quiz-button", onClick: () => this.handleRestartButtonClick() }, h("icon-asset", { id: "restart-arrow", type: "ptc", size: "small", name: "quiz-arrow-restart" }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Restart")));
46
+ };
47
+ const QuizSlidePreviousButton = () => {
48
+ return h("div", { class: "center-button-container" }, h("div", { class: "previous-slide-button", onClick: () => this.handlePreviousButtonClick() }, h("icon-asset", { id: "left-arrow", type: "ptc", size: "medium", name: "quiz-arrow-left", onClick: () => { } }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Previous")));
49
+ };
50
+ const QuizInitialSlide = () => {
51
+ return (h("div", { class: "quiz-slide-initial" }, h("div", { class: "quiz-slide-content" }, h("div", { id: "initial-quiz-h2", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-8", "is-plm-hub": "false" }, this.slide["h2"])), h("ptc-spacer", { size: 'medium', breakpoint: 'small' }), h("ptc-spacer", { size: 'large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-h3", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h3", "text-align": "center", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["h3"])), h("ptc-spacer", { size: 'x-large', breakpoint: 'small' }), h("ptc-spacer", { size: 'xx-large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-p", class: "quiz-slide-text-container" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-5", "para-align": "center", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["p"])), h("div", { class: "center-button-container" }, h("div", { id: "quiz-start-button", onClick: () => this.handleStartButtonClick() }, h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": "", target: "_blank" }, "Start"))))));
52
+ };
53
+ const QuizQuestionSlide = () => {
54
+ return (h("div", { class: "quiz-slide-question" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide["image"] })), h("div", { class: "content-container" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "medium", "font-weight": "w-7", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-denser", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["question"]), h("div", { class: "options-container" }, this.slide["options"].map(option => {
55
+ return h("div", { class: "radio-input" }, h("input", { type: "radio", name: "test", id: `${option["data-value"]}`, onClick: () => this.handleQuestionOptionClick(option["data-model-id"]), "data-model-id": `${option["data-model-id"]}` }), h("label", { class: "option-label", htmlFor: `${option["data-value"]}` }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, option["data-value"])));
56
+ })))))));
57
+ };
58
+ const QuizResultSlide = () => {
59
+ return (h("div", { class: "quiz-slide-result" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide["image"] })), h("div", { class: "content-container" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "medium", "font-weight": "w-7", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-denser", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["title"]), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-5", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["description"]), h("div", { class: "cta-container" }, this.slide["cta-quaternary"] && h("ptc-button", { type: "link", color: "ptc-quaternary", "link-href": this.slide["cta-quaternary"]["href"], target: "_blank" }, this.slide["cta-quaternary"]["text"]), this.slide["cta-tertiary"] && h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": this.slide["cta-tertiary"]["href"], target: "_blank" }, this.slide["cta-tertiary"]["text"])))))));
60
+ };
61
+ const getQuizSlide = () => {
62
+ switch (this.slide["slide-type"]) {
63
+ case "initial": return h(QuizInitialSlide, null);
64
+ case "question": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizQuestionSlide, null), (this.traversal.length > 1) ? h(QuizSlidePreviousButton, null) : null);
65
+ case "result": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizResultSlide, null), h(QuizSlidePreviousButton, null));
66
+ default: return null;
67
+ }
68
+ };
69
+ return (h(Host, null, h("div", { class: "quiz-slide-container" }, h("div", { class: "quiz-slide-background" }), getQuizSlide())));
70
+ }
71
+ static get is() { return "ptc-quiz"; }
72
+ static get encapsulation() { return "shadow"; }
73
+ static get originalStyleUrls() {
74
+ return {
75
+ "$": ["ptc-quiz.scss"]
76
+ };
77
+ }
78
+ static get styleUrls() {
79
+ return {
80
+ "$": ["ptc-quiz.css"]
81
+ };
82
+ }
83
+ static get states() {
84
+ return {
85
+ "quiz": {},
86
+ "additionalOptionOnClick": {},
87
+ "slide": {},
88
+ "traversal": {}
89
+ };
90
+ }
91
+ static get elementRef() { return "el"; }
92
+ }
@@ -1,144 +1,144 @@
1
- import { Host, h } from '@stencil/core';
2
- import QuotationMark from '../../media/svg-imgs/quotation-mark.svg';
3
- export class PtcQuote {
4
- constructor() {
5
- this.quoteType = "image-quote";
6
- this.quoteName = 'John Smith';
7
- this.ctaText = undefined;
8
- this.ctaUrl = undefined;
9
- this.imgSrc = undefined;
10
- this.imgTitle = undefined;
11
- }
12
- getImageTitle() {
13
- return (h("div", { class: "our-leadership" }, h("div", { class: "line" }, h("div", { class: "green-line" }), h("div", { class: "grey-line" })), h("p", null, this.imgTitle)));
14
- }
15
- render() {
16
- const classMap = this.getCssClassMap();
17
- return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
18
- }
19
- getCssClassMap() {
20
- return {
21
- [this.quoteType]: true
22
- };
23
- }
24
- static get is() { return "ptc-quote"; }
25
- static get encapsulation() { return "shadow"; }
26
- static get originalStyleUrls() {
27
- return {
28
- "$": ["ptc-quote.scss"]
29
- };
30
- }
31
- static get styleUrls() {
32
- return {
33
- "$": ["ptc-quote.css"]
34
- };
35
- }
36
- static get properties() {
37
- return {
38
- "quoteType": {
39
- "type": "string",
40
- "mutable": true,
41
- "complexType": {
42
- "original": "\"image-quote\" | \"plain-quote\"",
43
- "resolved": "\"image-quote\" | \"plain-quote\"",
44
- "references": {}
45
- },
46
- "required": false,
47
- "optional": false,
48
- "docs": {
49
- "tags": [],
50
- "text": "Quote Type"
51
- },
52
- "attribute": "quote-type",
53
- "reflect": false,
54
- "defaultValue": "\"image-quote\""
55
- },
56
- "quoteName": {
57
- "type": "string",
58
- "mutable": true,
59
- "complexType": {
60
- "original": "string",
61
- "resolved": "string",
62
- "references": {}
63
- },
64
- "required": false,
65
- "optional": false,
66
- "docs": {
67
- "tags": [],
68
- "text": "Quote Name"
69
- },
70
- "attribute": "quote-name",
71
- "reflect": false,
72
- "defaultValue": "'John Smith'"
73
- },
74
- "ctaText": {
75
- "type": "string",
76
- "mutable": false,
77
- "complexType": {
78
- "original": "string",
79
- "resolved": "string",
80
- "references": {}
81
- },
82
- "required": false,
83
- "optional": true,
84
- "docs": {
85
- "tags": [],
86
- "text": "Button CTA Text"
87
- },
88
- "attribute": "cta-text",
89
- "reflect": false
90
- },
91
- "ctaUrl": {
92
- "type": "string",
93
- "mutable": false,
94
- "complexType": {
95
- "original": "string",
96
- "resolved": "string",
97
- "references": {}
98
- },
99
- "required": false,
100
- "optional": true,
101
- "docs": {
102
- "tags": [],
103
- "text": "CTA Url"
104
- },
105
- "attribute": "cta-url",
106
- "reflect": false
107
- },
108
- "imgSrc": {
109
- "type": "string",
110
- "mutable": false,
111
- "complexType": {
112
- "original": "string",
113
- "resolved": "string",
114
- "references": {}
115
- },
116
- "required": false,
117
- "optional": true,
118
- "docs": {
119
- "tags": [],
120
- "text": "Image Src"
121
- },
122
- "attribute": "img-src",
123
- "reflect": false
124
- },
125
- "imgTitle": {
126
- "type": "string",
127
- "mutable": false,
128
- "complexType": {
129
- "original": "string",
130
- "resolved": "string",
131
- "references": {}
132
- },
133
- "required": false,
134
- "optional": true,
135
- "docs": {
136
- "tags": [],
137
- "text": "Image Title"
138
- },
139
- "attribute": "img-title",
140
- "reflect": false
141
- }
142
- };
143
- }
144
- }
1
+ import { Host, h } from '@stencil/core';
2
+ import QuotationMark from '../../media/svg-imgs/quotation-mark.svg';
3
+ export class PtcQuote {
4
+ constructor() {
5
+ this.quoteType = "image-quote";
6
+ this.quoteName = 'John Smith';
7
+ this.ctaText = undefined;
8
+ this.ctaUrl = undefined;
9
+ this.imgSrc = undefined;
10
+ this.imgTitle = undefined;
11
+ }
12
+ getImageTitle() {
13
+ return (h("div", { class: "our-leadership" }, h("div", { class: "line" }, h("div", { class: "green-line" }), h("div", { class: "grey-line" })), h("p", null, this.imgTitle)));
14
+ }
15
+ render() {
16
+ const classMap = this.getCssClassMap();
17
+ return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
18
+ }
19
+ getCssClassMap() {
20
+ return {
21
+ [this.quoteType]: true
22
+ };
23
+ }
24
+ static get is() { return "ptc-quote"; }
25
+ static get encapsulation() { return "shadow"; }
26
+ static get originalStyleUrls() {
27
+ return {
28
+ "$": ["ptc-quote.scss"]
29
+ };
30
+ }
31
+ static get styleUrls() {
32
+ return {
33
+ "$": ["ptc-quote.css"]
34
+ };
35
+ }
36
+ static get properties() {
37
+ return {
38
+ "quoteType": {
39
+ "type": "string",
40
+ "mutable": true,
41
+ "complexType": {
42
+ "original": "\"image-quote\" | \"plain-quote\"",
43
+ "resolved": "\"image-quote\" | \"plain-quote\"",
44
+ "references": {}
45
+ },
46
+ "required": false,
47
+ "optional": false,
48
+ "docs": {
49
+ "tags": [],
50
+ "text": "Quote Type"
51
+ },
52
+ "attribute": "quote-type",
53
+ "reflect": false,
54
+ "defaultValue": "\"image-quote\""
55
+ },
56
+ "quoteName": {
57
+ "type": "string",
58
+ "mutable": true,
59
+ "complexType": {
60
+ "original": "string",
61
+ "resolved": "string",
62
+ "references": {}
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": "Quote Name"
69
+ },
70
+ "attribute": "quote-name",
71
+ "reflect": false,
72
+ "defaultValue": "'John Smith'"
73
+ },
74
+ "ctaText": {
75
+ "type": "string",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "string",
79
+ "resolved": "string",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": true,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": "Button CTA Text"
87
+ },
88
+ "attribute": "cta-text",
89
+ "reflect": false
90
+ },
91
+ "ctaUrl": {
92
+ "type": "string",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "string",
96
+ "resolved": "string",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": true,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": "CTA Url"
104
+ },
105
+ "attribute": "cta-url",
106
+ "reflect": false
107
+ },
108
+ "imgSrc": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "string",
113
+ "resolved": "string",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": true,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "Image Src"
121
+ },
122
+ "attribute": "img-src",
123
+ "reflect": false
124
+ },
125
+ "imgTitle": {
126
+ "type": "string",
127
+ "mutable": false,
128
+ "complexType": {
129
+ "original": "string",
130
+ "resolved": "string",
131
+ "references": {}
132
+ },
133
+ "required": false,
134
+ "optional": true,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": "Image Title"
138
+ },
139
+ "attribute": "img-title",
140
+ "reflect": false
141
+ }
142
+ };
143
+ }
144
+ }