@ptcwebops/ptcw-design 0.9.1 → 0.9.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 (316) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/bundle-example.cjs.entry.js +26 -0
  3. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  4. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  5. package/dist/cjs/list-item.cjs.entry.js +19 -19
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  8. package/dist/cjs/max-width-container.cjs.entry.js +29 -29
  9. package/dist/cjs/my-component.cjs.entry.js +15 -15
  10. package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
  11. package/dist/cjs/ptc-accordion.cjs.entry.js +35 -35
  12. package/dist/cjs/ptc-announcement.cjs.entry.js +50 -50
  13. package/dist/cjs/ptc-background-video.cjs.entry.js +16 -16
  14. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
  15. package/dist/cjs/ptc-button.cjs.entry.js +35 -35
  16. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +151 -0
  17. package/dist/cjs/ptc-card-content.cjs.entry.js +50 -50
  18. package/dist/cjs/ptc-card_6.cjs.entry.js +442 -442
  19. package/dist/cjs/ptc-checkbox.cjs.entry.js +33 -33
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +346 -346
  21. package/dist/cjs/ptc-container.cjs.entry.js +32 -32
  22. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  23. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +46 -46
  24. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +38 -38
  25. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  26. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  27. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  28. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  29. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +36 -36
  30. package/dist/cjs/ptc-link.cjs.entry.js +28 -28
  31. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  32. package/dist/cjs/ptc-lottie.cjs.entry.js +10 -10
  33. package/dist/cjs/ptc-media-card.cjs.entry.js +24 -24
  34. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  35. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  36. package/dist/cjs/ptc-mobile-select.cjs.entry.js +53 -53
  37. package/dist/cjs/ptc-modal.cjs.entry.js +143 -143
  38. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  39. package/dist/cjs/ptc-pagenation.cjs.entry.js +105 -105
  40. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -10
  41. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  42. package/dist/cjs/ptc-pricing-options-component.cjs.entry.js +22 -22
  43. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  44. package/dist/cjs/ptc-readmore_2.cjs.entry.js +109 -109
  45. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  46. package/dist/cjs/ptc-search-field.cjs.entry.js +43 -36
  47. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  48. package/dist/cjs/ptc-social-share.cjs.entry.js +59 -59
  49. package/dist/cjs/ptc-span.cjs.entry.js +18 -18
  50. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  51. package/dist/cjs/ptc-svg-btn.cjs.entry.js +73 -73
  52. package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
  53. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  54. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  55. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +27 -27
  56. package/dist/cjs/ptc-title.cjs.entry.js +67 -67
  57. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  58. package/dist/cjs/ptcw-design.cjs.js +1 -1
  59. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  60. package/dist/cjs/tab-header.cjs.entry.js +45 -45
  61. package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
  62. package/dist/collection/collection-manifest.json +2 -0
  63. package/dist/collection/components/bundle-example/bundle-example.css +6 -0
  64. package/dist/collection/components/bundle-example/bundle-example.js +32 -0
  65. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  66. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  67. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  68. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  69. package/dist/collection/components/icon-asset/media/designer.svg +387 -387
  70. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  71. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  72. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  73. package/dist/collection/components/list-item/list-item.js +107 -107
  74. package/dist/collection/components/max-width-container/max-width-container.css +7 -7
  75. package/dist/collection/components/max-width-container/max-width-container.js +80 -80
  76. package/dist/collection/components/my-component/my-component.css +3 -3
  77. package/dist/collection/components/my-component/my-component.js +82 -82
  78. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +2 -5
  79. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
  80. package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
  81. package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -238
  82. package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -102
  83. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +22 -22
  84. package/dist/collection/components/ptc-button/ptc-button.js +283 -283
  85. package/dist/collection/components/ptc-card/ptc-card.css +20 -20
  86. package/dist/collection/components/ptc-card/ptc-card.js +344 -344
  87. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  88. package/dist/collection/components/ptc-card-content/ptc-card-content.js +187 -187
  89. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +197 -197
  90. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +118 -118
  91. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
  92. package/dist/collection/components/ptc-container/ptc-container.js +120 -120
  93. package/dist/collection/components/ptc-date/ptc-date.js +190 -190
  94. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  95. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  96. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +182 -182
  97. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
  98. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  99. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  100. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  101. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  102. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
  103. package/dist/collection/components/ptc-img/ptc-img.js +293 -293
  104. package/dist/collection/components/ptc-link/ptc-link.js +203 -203
  105. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  106. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  107. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  108. package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
  109. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  110. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  111. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  112. package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
  113. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  114. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +322 -322
  115. package/dist/collection/components/ptc-para/ptc-para.js +224 -224
  116. package/dist/collection/components/ptc-picture/ptc-picture.js +450 -450
  117. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +60 -60
  118. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  119. package/dist/collection/components/ptc-pricing-options-component/ptc-pricing-options-component.js +39 -39
  120. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  121. package/dist/collection/components/ptc-readmore/ptc-readmore.js +277 -277
  122. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  123. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  124. package/dist/collection/components/ptc-search-field/ptc-search-field.css +17 -0
  125. package/dist/collection/components/ptc-search-field/ptc-search-field.js +140 -116
  126. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  127. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +34 -0
  128. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +146 -0
  129. package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
  130. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  131. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  132. package/dist/collection/components/ptc-span/ptc-span.js +87 -87
  133. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  134. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +72 -72
  135. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
  136. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  137. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  138. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +166 -166
  139. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  140. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +228 -228
  141. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  142. package/dist/collection/components/tab-content/tab-content.js +84 -84
  143. package/dist/collection/components/tab-header/tab-header.js +136 -136
  144. package/dist/collection/index.js +1 -1
  145. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  146. package/dist/collection/media/svg-imgs/close.svg +10 -10
  147. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  148. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  149. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  150. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  151. package/dist/collection/media/svg-imgs/union.svg +3 -3
  152. package/dist/collection/utils/component.js +3 -3
  153. package/dist/collection/utils/interfaces.js +11 -11
  154. package/dist/collection/utils/utils.js +92 -92
  155. package/dist/custom-elements/index.d.ts +12 -0
  156. package/dist/custom-elements/index.js +3624 -3563
  157. package/dist/esm/bundle-example.entry.js +22 -0
  158. package/dist/esm/dropdown-item.entry.js +10 -10
  159. package/dist/esm/icon-asset.entry.js +42 -42
  160. package/dist/esm/list-item.entry.js +19 -19
  161. package/dist/esm/loader.js +1 -1
  162. package/dist/esm/lottie-player.entry.js +354 -354
  163. package/dist/esm/max-width-container.entry.js +29 -29
  164. package/dist/esm/my-component.entry.js +15 -15
  165. package/dist/esm/polyfills/core-js.js +0 -0
  166. package/dist/esm/polyfills/dom.js +0 -0
  167. package/dist/esm/polyfills/es5-html-element.js +0 -0
  168. package/dist/esm/polyfills/index.js +0 -0
  169. package/dist/esm/polyfills/system.js +0 -0
  170. package/dist/esm/ptc-accordion-item.entry.js +84 -84
  171. package/dist/esm/ptc-accordion.entry.js +35 -35
  172. package/dist/esm/ptc-announcement.entry.js +50 -50
  173. package/dist/esm/ptc-background-video.entry.js +16 -16
  174. package/dist/esm/ptc-breadcrumb.entry.js +12 -12
  175. package/dist/esm/ptc-button.entry.js +35 -35
  176. package/dist/esm/ptc-card-bottom_3.entry.js +145 -0
  177. package/dist/esm/ptc-card-content.entry.js +50 -50
  178. package/dist/esm/ptc-card_6.entry.js +442 -442
  179. package/dist/esm/ptc-checkbox.entry.js +33 -33
  180. package/dist/esm/ptc-collapse-list.entry.js +346 -346
  181. package/dist/esm/ptc-container.entry.js +32 -32
  182. package/dist/esm/ptc-dropdown.entry.js +64 -64
  183. package/dist/esm/ptc-dynamic-card.entry.js +46 -46
  184. package/dist/esm/ptc-ellipsis-dropdown.entry.js +38 -38
  185. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  186. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  187. package/dist/esm/ptc-hero.entry.js +18 -18
  188. package/dist/esm/ptc-icon-list.entry.js +21 -21
  189. package/dist/esm/ptc-icon-minimize.entry.js +36 -36
  190. package/dist/esm/ptc-link.entry.js +28 -28
  191. package/dist/esm/ptc-list.entry.js +49 -49
  192. package/dist/esm/ptc-lottie.entry.js +10 -10
  193. package/dist/esm/ptc-media-card.entry.js +24 -24
  194. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  195. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  196. package/dist/esm/ptc-mobile-select.entry.js +53 -53
  197. package/dist/esm/ptc-modal.entry.js +143 -143
  198. package/dist/esm/ptc-overlay.entry.js +23 -23
  199. package/dist/esm/ptc-pagenation.entry.js +105 -105
  200. package/dist/esm/ptc-previous-url.entry.js +10 -10
  201. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  202. package/dist/esm/ptc-pricing-options-component.entry.js +22 -22
  203. package/dist/esm/ptc-quote.entry.js +23 -23
  204. package/dist/esm/ptc-readmore_2.entry.js +109 -109
  205. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  206. package/dist/esm/ptc-search-field.entry.js +44 -37
  207. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  208. package/dist/esm/ptc-social-share.entry.js +59 -59
  209. package/dist/esm/ptc-span.entry.js +18 -18
  210. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  211. package/dist/esm/ptc-svg-btn.entry.js +73 -73
  212. package/dist/esm/ptc-tab-list.entry.js +125 -125
  213. package/dist/esm/ptc-tab.entry.js +20 -20
  214. package/dist/esm/ptc-tabs.entry.js +47 -47
  215. package/dist/esm/ptc-text-copy-with-background.entry.js +27 -27
  216. package/dist/esm/ptc-title.entry.js +67 -67
  217. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  218. package/dist/esm/ptcw-design.js +1 -1
  219. package/dist/esm/tab-content.entry.js +27 -27
  220. package/dist/esm/tab-header.entry.js +45 -45
  221. package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
  222. package/dist/ptcw-design/media/brands.svg +1381 -1381
  223. package/dist/ptcw-design/media/designer.svg +387 -387
  224. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  225. package/dist/ptcw-design/media/regular.svg +463 -463
  226. package/dist/ptcw-design/media/solid.svg +3013 -3013
  227. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  228. package/dist/ptcw-design/p-294df3ac.entry.js +1 -0
  229. package/dist/ptcw-design/{p-163fcfc1.entry.js → p-4882c5fc.entry.js} +1 -1
  230. package/dist/ptcw-design/p-631238df.entry.js +1 -0
  231. package/dist/ptcw-design/{p-32b81dde.entry.js → p-8bcb2fab.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-45c0076d.entry.js → p-b48a3e6f.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-049964f4.entry.js → p-bbeb95bd.entry.js} +1 -1
  234. package/dist/ptcw-design/p-c177667e.entry.js +1 -0
  235. package/dist/ptcw-design/{p-8d210676.entry.js → p-fa17a02e.entry.js} +1 -1
  236. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  237. package/dist/types/components/bundle-example/bundle-example.d.ts +5 -0
  238. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  239. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  240. package/dist/types/components/list-item/list-item.d.ts +8 -8
  241. package/dist/types/components/max-width-container/max-width-container.d.ts +9 -9
  242. package/dist/types/components/my-component/my-component.d.ts +16 -16
  243. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  244. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  245. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
  246. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -26
  247. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  248. package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
  249. package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
  250. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  251. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +18 -18
  252. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +23 -23
  253. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +11 -11
  254. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
  255. package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
  256. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  257. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  258. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
  259. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  260. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  261. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  262. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  263. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  264. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
  265. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  266. package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
  267. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  268. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  269. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
  270. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  271. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  272. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  273. package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
  274. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  275. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +27 -27
  276. package/dist/types/components/ptc-para/ptc-para.d.ts +43 -43
  277. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  278. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
  279. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  280. package/dist/types/components/ptc-pricing-options-component/ptc-pricing-options-component.d.ts +6 -6
  281. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  282. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +56 -56
  283. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  284. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +14 -12
  285. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  286. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -0
  287. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
  288. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  289. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  290. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  291. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  292. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
  293. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  294. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  295. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -33
  296. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  297. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +42 -42
  298. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  299. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  300. package/dist/types/components/tab-header/tab-header.d.ts +14 -14
  301. package/dist/types/components.d.ts +148 -108
  302. package/dist/types/global.d.ts +1072 -1072
  303. package/dist/types/index.d.ts +1 -1
  304. package/dist/types/utils/component.d.ts +1 -1
  305. package/dist/types/utils/interfaces.d.ts +31 -31
  306. package/dist/types/utils/utils.d.ts +5 -5
  307. package/package.json +61 -61
  308. package/readme.md +18 -18
  309. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -46
  310. package/dist/cjs/ptc-card-wrapper.cjs.entry.js +0 -83
  311. package/dist/esm/ptc-card-bottom.entry.js +0 -42
  312. package/dist/esm/ptc-card-wrapper.entry.js +0 -79
  313. package/dist/ptcw-design/p-20cc9c39.entry.js +0 -1
  314. package/dist/ptcw-design/p-5f20876d.entry.js +0 -1
  315. package/dist/ptcw-design/p-a5f20c41.entry.js +0 -1
  316. /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
@@ -1,104 +1,104 @@
1
- import { h } from '@stencil/core';
2
- export class Tabs {
3
- constructor() {
4
- this.tabs = [];
5
- }
6
- componentWillLoad() {
7
- // Grab tabs from this component
8
- this.tabs = Array.from(this.el.querySelectorAll('ptc-tab'));
9
- if (this.tabs.length === 0) {
10
- throw new Error('[ptc-tabs] Must have at least one tab');
11
- }
12
- }
13
- async openTab(index) {
14
- //Loops through tabs
15
- if (index >= this.tabs.length) {
16
- throw new Error(`[ptc-tabs] Index ${index} is out of bounds of tabs length`);
17
- }
18
- if (!this.tabs[index].disabled) {
19
- this.tabs = this.tabs.map((tab, i) => {
20
- tab.active = i === index;
21
- return tab;
22
- });
23
- // How they react to change
24
- this.tabChange.emit({ tabId: index });
25
- }
26
- }
27
- render() {
28
- const classMap = this.getCssClassMap();
29
- return (h("div", { class: classMap }, this.tabs.map((tab, index) => {
30
- const tabClassMap = {
31
- 'tab-button': true,
32
- active: tab.active
33
- };
34
- return [
35
- // assigned properties
36
- h("div", { role: "tab", class: tabClassMap, onClick: () => this.openTab(index) }, tab.label, tab.price, h("div", { class: classMap }, h("span", { class: "left-text" }, h("slot", { name: "right-text" })), h("span", { class: "right-text" }, h("slot", { name: "right-text" }))))
37
- ];
38
- })));
39
- }
40
- getCssClassMap() {
41
- return {
42
- 'tabs-list': true
43
- };
44
- }
45
- static get is() { return "ptc-tabs"; }
46
- static get encapsulation() { return "shadow"; }
47
- static get originalStyleUrls() {
48
- return {
49
- "$": ["ptc-tabs.scss"]
50
- };
51
- }
52
- static get styleUrls() {
53
- return {
54
- "$": ["ptc-tabs.css"]
55
- };
56
- }
57
- static get states() {
58
- return {
59
- "tabs": {}
60
- };
61
- }
62
- static get events() {
63
- return [{
64
- "method": "tabChange",
65
- "name": "tabChange",
66
- "bubbles": true,
67
- "cancelable": true,
68
- "composed": true,
69
- "docs": {
70
- "tags": [],
71
- "text": ""
72
- },
73
- "complexType": {
74
- "original": "any",
75
- "resolved": "any",
76
- "references": {}
77
- }
78
- }];
79
- }
80
- static get methods() {
81
- return {
82
- "openTab": {
83
- "complexType": {
84
- "signature": "(index: number) => Promise<void>",
85
- "parameters": [{
86
- "tags": [],
87
- "text": ""
88
- }],
89
- "references": {
90
- "Promise": {
91
- "location": "global"
92
- }
93
- },
94
- "return": "Promise<void>"
95
- },
96
- "docs": {
97
- "text": "",
98
- "tags": []
99
- }
100
- }
101
- };
102
- }
103
- static get elementRef() { return "el"; }
104
- }
1
+ import { h } from '@stencil/core';
2
+ export class Tabs {
3
+ constructor() {
4
+ this.tabs = [];
5
+ }
6
+ componentWillLoad() {
7
+ // Grab tabs from this component
8
+ this.tabs = Array.from(this.el.querySelectorAll('ptc-tab'));
9
+ if (this.tabs.length === 0) {
10
+ throw new Error('[ptc-tabs] Must have at least one tab');
11
+ }
12
+ }
13
+ async openTab(index) {
14
+ //Loops through tabs
15
+ if (index >= this.tabs.length) {
16
+ throw new Error(`[ptc-tabs] Index ${index} is out of bounds of tabs length`);
17
+ }
18
+ if (!this.tabs[index].disabled) {
19
+ this.tabs = this.tabs.map((tab, i) => {
20
+ tab.active = i === index;
21
+ return tab;
22
+ });
23
+ // How they react to change
24
+ this.tabChange.emit({ tabId: index });
25
+ }
26
+ }
27
+ render() {
28
+ const classMap = this.getCssClassMap();
29
+ return (h("div", { class: classMap }, this.tabs.map((tab, index) => {
30
+ const tabClassMap = {
31
+ 'tab-button': true,
32
+ active: tab.active
33
+ };
34
+ return [
35
+ // assigned properties
36
+ h("div", { role: "tab", class: tabClassMap, onClick: () => this.openTab(index) }, tab.label, tab.price, h("div", { class: classMap }, h("span", { class: "left-text" }, h("slot", { name: "right-text" })), h("span", { class: "right-text" }, h("slot", { name: "right-text" }))))
37
+ ];
38
+ })));
39
+ }
40
+ getCssClassMap() {
41
+ return {
42
+ 'tabs-list': true
43
+ };
44
+ }
45
+ static get is() { return "ptc-tabs"; }
46
+ static get encapsulation() { return "shadow"; }
47
+ static get originalStyleUrls() {
48
+ return {
49
+ "$": ["ptc-tabs.scss"]
50
+ };
51
+ }
52
+ static get styleUrls() {
53
+ return {
54
+ "$": ["ptc-tabs.css"]
55
+ };
56
+ }
57
+ static get states() {
58
+ return {
59
+ "tabs": {}
60
+ };
61
+ }
62
+ static get events() {
63
+ return [{
64
+ "method": "tabChange",
65
+ "name": "tabChange",
66
+ "bubbles": true,
67
+ "cancelable": true,
68
+ "composed": true,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": ""
72
+ },
73
+ "complexType": {
74
+ "original": "any",
75
+ "resolved": "any",
76
+ "references": {}
77
+ }
78
+ }];
79
+ }
80
+ static get methods() {
81
+ return {
82
+ "openTab": {
83
+ "complexType": {
84
+ "signature": "(index: number) => Promise<void>",
85
+ "parameters": [{
86
+ "tags": [],
87
+ "text": ""
88
+ }],
89
+ "references": {
90
+ "Promise": {
91
+ "location": "global"
92
+ }
93
+ },
94
+ "return": "Promise<void>"
95
+ },
96
+ "docs": {
97
+ "text": "",
98
+ "tags": []
99
+ }
100
+ }
101
+ };
102
+ }
103
+ static get elementRef() { return "el"; }
104
+ }
@@ -1,166 +1,166 @@
1
- import { Host, h } from '@stencil/core';
2
- export class PtcTextCopyWithBackground {
3
- constructor() {
4
- this.type = 'text-copy-with-background';
5
- this.backgroundImage = undefined;
6
- this.ImageAltText = undefined;
7
- this.topSlitBackgroundColor = undefined;
8
- this.slitPosition = 'top-right';
9
- this.isBackgroundBlur = false;
10
- this.overlay = true;
11
- }
12
- render() {
13
- const classMap = this.getCssClassMap();
14
- return (h(Host, { class: classMap }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "tcb-top-slit", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179", style: { fill: this.topSlitBackgroundColor } }, h("path", { id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "tcb-top-slit-cls-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), this.backgroundImage ?
15
- h("div", { class: "" }, h("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur &&
16
- h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage }))
17
- : null, this.overlay &&
18
- h("div", { class: "copy-bg-overlay-layer" }), h("div", { class: "content-wrap" }, this.type == "case-studies" &&
19
- h("div", { class: "ptc-container-lg" }, h("div", { class: "card-wrap" }, h("div", { class: "card-animated-border" }), h("div", { class: "card-content" }, h("div", { class: "card-layout" }, h("slot", { name: 'card-content' }))))), h("slot", null))));
20
- }
21
- getCssClassMap() {
22
- return {
23
- [this.type]: true,
24
- [this.slitPosition]: true
25
- };
26
- }
27
- static get is() { return "ptc-text-copy-with-background"; }
28
- static get encapsulation() { return "shadow"; }
29
- static get originalStyleUrls() {
30
- return {
31
- "$": ["ptc-text-copy-with-background.scss"]
32
- };
33
- }
34
- static get styleUrls() {
35
- return {
36
- "$": ["ptc-text-copy-with-background.css"]
37
- };
38
- }
39
- static get properties() {
40
- return {
41
- "type": {
42
- "type": "string",
43
- "mutable": false,
44
- "complexType": {
45
- "original": "'text-copy-with-background' | 'hero-footer-cta' | 'tab-cta-with-background' | 'case-studies'",
46
- "resolved": "\"case-studies\" | \"hero-footer-cta\" | \"tab-cta-with-background\" | \"text-copy-with-background\"",
47
- "references": {}
48
- },
49
- "required": false,
50
- "optional": false,
51
- "docs": {
52
- "tags": [],
53
- "text": "Type\nSpecify Type, default is text-copy-with-background"
54
- },
55
- "attribute": "type",
56
- "reflect": false,
57
- "defaultValue": "'text-copy-with-background'"
58
- },
59
- "backgroundImage": {
60
- "type": "string",
61
- "mutable": false,
62
- "complexType": {
63
- "original": "string",
64
- "resolved": "string",
65
- "references": {}
66
- },
67
- "required": false,
68
- "optional": false,
69
- "docs": {
70
- "tags": [],
71
- "text": "Background image"
72
- },
73
- "attribute": "background-image",
74
- "reflect": false
75
- },
76
- "ImageAltText": {
77
- "type": "string",
78
- "mutable": false,
79
- "complexType": {
80
- "original": "string",
81
- "resolved": "string",
82
- "references": {}
83
- },
84
- "required": false,
85
- "optional": true,
86
- "docs": {
87
- "tags": [],
88
- "text": "(optional) Image alt text"
89
- },
90
- "attribute": "image-alt-text",
91
- "reflect": false
92
- },
93
- "topSlitBackgroundColor": {
94
- "type": "string",
95
- "mutable": false,
96
- "complexType": {
97
- "original": "string",
98
- "resolved": "string",
99
- "references": {}
100
- },
101
- "required": false,
102
- "optional": true,
103
- "docs": {
104
- "tags": [],
105
- "text": "(optional) topSlitBackgroundColor: It will be color value which should match the background of the body."
106
- },
107
- "attribute": "top-slit-background-color",
108
- "reflect": false
109
- },
110
- "slitPosition": {
111
- "type": "string",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'",
115
- "resolved": "\"bottom-left\" | \"bottom-right\" | \"top-left\" | \"top-right\"",
116
- "references": {}
117
- },
118
- "required": false,
119
- "optional": true,
120
- "docs": {
121
- "tags": [],
122
- "text": "(optional) topSlitPosition: It will decide the position of ."
123
- },
124
- "attribute": "slit-position",
125
- "reflect": false,
126
- "defaultValue": "'top-right'"
127
- },
128
- "isBackgroundBlur": {
129
- "type": "boolean",
130
- "mutable": false,
131
- "complexType": {
132
- "original": "boolean",
133
- "resolved": "boolean",
134
- "references": {}
135
- },
136
- "required": false,
137
- "optional": true,
138
- "docs": {
139
- "tags": [],
140
- "text": "(optional) isBackgroundBlur: If true,it will add background blur image effect"
141
- },
142
- "attribute": "is-background-blur",
143
- "reflect": false,
144
- "defaultValue": "false"
145
- },
146
- "overlay": {
147
- "type": "boolean",
148
- "mutable": false,
149
- "complexType": {
150
- "original": "boolean",
151
- "resolved": "boolean",
152
- "references": {}
153
- },
154
- "required": false,
155
- "optional": true,
156
- "docs": {
157
- "tags": [],
158
- "text": "(optional) overlay: If true,it will add black overlay with 0.55 opacity"
159
- },
160
- "attribute": "overlay",
161
- "reflect": false,
162
- "defaultValue": "true"
163
- }
164
- };
165
- }
166
- }
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcTextCopyWithBackground {
3
+ constructor() {
4
+ this.type = 'text-copy-with-background';
5
+ this.backgroundImage = undefined;
6
+ this.ImageAltText = undefined;
7
+ this.topSlitBackgroundColor = undefined;
8
+ this.slitPosition = 'top-right';
9
+ this.isBackgroundBlur = false;
10
+ this.overlay = true;
11
+ }
12
+ render() {
13
+ const classMap = this.getCssClassMap();
14
+ return (h(Host, { class: classMap }, h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "tcb-top-slit", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179", style: { fill: this.topSlitBackgroundColor } }, h("path", { id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "tcb-top-slit-cls-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), this.backgroundImage ?
15
+ h("div", { class: "" }, h("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur &&
16
+ h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage }))
17
+ : null, this.overlay &&
18
+ h("div", { class: "copy-bg-overlay-layer" }), h("div", { class: "content-wrap" }, this.type == "case-studies" &&
19
+ h("div", { class: "ptc-container-lg" }, h("div", { class: "card-wrap" }, h("div", { class: "card-animated-border" }), h("div", { class: "card-content" }, h("div", { class: "card-layout" }, h("slot", { name: 'card-content' }))))), h("slot", null))));
20
+ }
21
+ getCssClassMap() {
22
+ return {
23
+ [this.type]: true,
24
+ [this.slitPosition]: true
25
+ };
26
+ }
27
+ static get is() { return "ptc-text-copy-with-background"; }
28
+ static get encapsulation() { return "shadow"; }
29
+ static get originalStyleUrls() {
30
+ return {
31
+ "$": ["ptc-text-copy-with-background.scss"]
32
+ };
33
+ }
34
+ static get styleUrls() {
35
+ return {
36
+ "$": ["ptc-text-copy-with-background.css"]
37
+ };
38
+ }
39
+ static get properties() {
40
+ return {
41
+ "type": {
42
+ "type": "string",
43
+ "mutable": false,
44
+ "complexType": {
45
+ "original": "'text-copy-with-background' | 'hero-footer-cta' | 'tab-cta-with-background' | 'case-studies'",
46
+ "resolved": "\"case-studies\" | \"hero-footer-cta\" | \"tab-cta-with-background\" | \"text-copy-with-background\"",
47
+ "references": {}
48
+ },
49
+ "required": false,
50
+ "optional": false,
51
+ "docs": {
52
+ "tags": [],
53
+ "text": "Type\r\nSpecify Type, default is text-copy-with-background"
54
+ },
55
+ "attribute": "type",
56
+ "reflect": false,
57
+ "defaultValue": "'text-copy-with-background'"
58
+ },
59
+ "backgroundImage": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "string",
64
+ "resolved": "string",
65
+ "references": {}
66
+ },
67
+ "required": false,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "Background image"
72
+ },
73
+ "attribute": "background-image",
74
+ "reflect": false
75
+ },
76
+ "ImageAltText": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": true,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": "(optional) Image alt text"
89
+ },
90
+ "attribute": "image-alt-text",
91
+ "reflect": false
92
+ },
93
+ "topSlitBackgroundColor": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string",
98
+ "resolved": "string",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": true,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": "(optional) topSlitBackgroundColor: It will be color value which should match the background of the body."
106
+ },
107
+ "attribute": "top-slit-background-color",
108
+ "reflect": false
109
+ },
110
+ "slitPosition": {
111
+ "type": "string",
112
+ "mutable": false,
113
+ "complexType": {
114
+ "original": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'",
115
+ "resolved": "\"bottom-left\" | \"bottom-right\" | \"top-left\" | \"top-right\"",
116
+ "references": {}
117
+ },
118
+ "required": false,
119
+ "optional": true,
120
+ "docs": {
121
+ "tags": [],
122
+ "text": "(optional) topSlitPosition: It will decide the position of ."
123
+ },
124
+ "attribute": "slit-position",
125
+ "reflect": false,
126
+ "defaultValue": "'top-right'"
127
+ },
128
+ "isBackgroundBlur": {
129
+ "type": "boolean",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "boolean",
133
+ "resolved": "boolean",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": true,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": "(optional) isBackgroundBlur: If true,it will add background blur image effect"
141
+ },
142
+ "attribute": "is-background-blur",
143
+ "reflect": false,
144
+ "defaultValue": "false"
145
+ },
146
+ "overlay": {
147
+ "type": "boolean",
148
+ "mutable": false,
149
+ "complexType": {
150
+ "original": "boolean",
151
+ "resolved": "boolean",
152
+ "references": {}
153
+ },
154
+ "required": false,
155
+ "optional": true,
156
+ "docs": {
157
+ "tags": [],
158
+ "text": "(optional) overlay: If true,it will add black overlay with 0.55 opacity"
159
+ },
160
+ "attribute": "overlay",
161
+ "reflect": false,
162
+ "defaultValue": "true"
163
+ }
164
+ };
165
+ }
166
+ }