@ptcwebops/ptcw-design 1.1.6 → 1.1.8

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 (311) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/bundle-example.cjs.entry.js +30 -30
  3. package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +1034 -1034
  4. package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  7. package/dist/cjs/my-component.cjs.entry.js +15 -15
  8. package/dist/cjs/ptc-accordion-item.cjs.entry.js +83 -83
  9. package/dist/cjs/ptc-accordion.cjs.entry.js +35 -35
  10. package/dist/cjs/ptc-announcement.cjs.entry.js +50 -50
  11. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +122 -122
  12. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
  13. package/dist/cjs/ptc-card.cjs.entry.js +65 -65
  14. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  15. package/dist/cjs/ptc-collapse-list.cjs.entry.js +346 -346
  16. package/dist/cjs/ptc-container.cjs.entry.js +32 -32
  17. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  18. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  19. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +46 -46
  20. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +39 -39
  21. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  22. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  23. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  24. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  25. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +36 -36
  26. package/dist/cjs/ptc-link.cjs.entry.js +30 -30
  27. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  28. package/dist/cjs/ptc-lottie.cjs.entry.js +10 -10
  29. package/dist/cjs/ptc-media-card.cjs.entry.js +24 -24
  30. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  31. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  32. package/dist/cjs/ptc-mobile-select.cjs.entry.js +53 -53
  33. package/dist/cjs/ptc-nav-card.cjs.entry.js +41 -40
  34. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  35. package/dist/cjs/ptc-pagenation.cjs.entry.js +210 -210
  36. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  37. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  38. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -123
  39. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  40. package/dist/cjs/ptc-readmore.cjs.entry.js +73 -73
  41. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  42. package/dist/cjs/ptc-search-field.cjs.entry.js +59 -59
  43. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  44. package/dist/cjs/ptc-social-share.cjs.entry.js +59 -59
  45. package/dist/cjs/ptc-span.cjs.entry.js +18 -18
  46. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  47. package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
  48. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  49. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  50. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +28 -28
  51. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  52. package/dist/cjs/ptcw-design.cjs.js +1 -1
  53. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  54. package/dist/cjs/tab-header.cjs.entry.js +64 -64
  55. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  56. package/dist/collection/components/bundle-example/bundle-example.css +15 -15
  57. package/dist/collection/components/bundle-example/bundle-example.js +58 -58
  58. package/dist/collection/components/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  59. package/dist/collection/components/bundle-jumbotron-example/bundle-jumbotron-example.js +66 -66
  60. package/dist/collection/components/dropdown-item/dropdown-item.css +2 -2
  61. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  62. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  63. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  64. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  65. package/dist/collection/components/icon-asset/media/designer.svg +387 -387
  66. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  67. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  68. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  69. package/dist/collection/components/list-item/list-item.js +144 -144
  70. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  71. package/dist/collection/components/max-width-container/max-width-container.js +105 -105
  72. package/dist/collection/components/my-component/my-component.css +3 -3
  73. package/dist/collection/components/my-component/my-component.js +82 -82
  74. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
  75. package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
  76. package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -238
  77. package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -102
  78. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  79. package/dist/collection/components/ptc-button/ptc-button.js +283 -283
  80. package/dist/collection/components/ptc-card/ptc-card.js +344 -344
  81. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  82. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  83. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -214
  84. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  85. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
  86. package/dist/collection/components/ptc-container/ptc-container.js +120 -120
  87. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  88. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  89. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  90. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +182 -182
  91. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +1 -1
  92. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
  93. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  94. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  95. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  96. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  97. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
  98. package/dist/collection/components/ptc-img/ptc-img.js +293 -293
  99. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +25 -0
  100. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +274 -274
  101. package/dist/collection/components/ptc-link/ptc-link.js +222 -222
  102. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  103. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  104. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  105. package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
  106. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  107. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  108. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  109. package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
  110. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +48 -34
  111. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +228 -227
  112. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  113. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +465 -465
  114. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  115. package/dist/collection/components/ptc-picture/ptc-picture.js +450 -450
  116. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  117. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  118. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +37 -3
  119. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -269
  120. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  121. package/dist/collection/components/ptc-readmore/ptc-readmore.js +298 -298
  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.js +197 -197
  125. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  126. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  127. package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
  128. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  129. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  130. package/dist/collection/components/ptc-span/ptc-span.js +87 -87
  131. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  132. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  133. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
  134. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  135. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  136. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +2 -1
  137. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +166 -166
  138. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  139. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +267 -267
  140. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  141. package/dist/collection/components/tab-content/tab-content.js +84 -84
  142. package/dist/collection/components/tab-header/tab-header.js +182 -182
  143. package/dist/collection/index.js +1 -1
  144. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  145. package/dist/collection/media/svg-imgs/close.svg +10 -10
  146. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  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.js +4160 -4157
  156. package/dist/esm/bundle-example.entry.js +30 -30
  157. package/dist/esm/bundle-jumbotron-example_16.entry.js +1034 -1034
  158. package/dist/esm/dropdown-item.entry.js +11 -11
  159. package/dist/esm/loader.js +1 -1
  160. package/dist/esm/lottie-player.entry.js +354 -354
  161. package/dist/esm/my-component.entry.js +15 -15
  162. package/dist/esm/polyfills/core-js.js +0 -0
  163. package/dist/esm/polyfills/dom.js +0 -0
  164. package/dist/esm/polyfills/es5-html-element.js +0 -0
  165. package/dist/esm/polyfills/index.js +0 -0
  166. package/dist/esm/polyfills/system.js +0 -0
  167. package/dist/esm/ptc-accordion-item.entry.js +83 -83
  168. package/dist/esm/ptc-accordion.entry.js +35 -35
  169. package/dist/esm/ptc-announcement.entry.js +50 -50
  170. package/dist/esm/ptc-card-bottom_3.entry.js +122 -122
  171. package/dist/esm/ptc-card-content.entry.js +57 -57
  172. package/dist/esm/ptc-card.entry.js +65 -65
  173. package/dist/esm/ptc-checkbox.entry.js +50 -50
  174. package/dist/esm/ptc-collapse-list.entry.js +346 -346
  175. package/dist/esm/ptc-container.entry.js +32 -32
  176. package/dist/esm/ptc-date.entry.js +50 -50
  177. package/dist/esm/ptc-dropdown.entry.js +64 -64
  178. package/dist/esm/ptc-dynamic-card.entry.js +46 -46
  179. package/dist/esm/ptc-ellipsis-dropdown.entry.js +39 -39
  180. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  181. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  182. package/dist/esm/ptc-hero.entry.js +18 -18
  183. package/dist/esm/ptc-icon-list.entry.js +21 -21
  184. package/dist/esm/ptc-icon-minimize.entry.js +36 -36
  185. package/dist/esm/ptc-link.entry.js +30 -30
  186. package/dist/esm/ptc-list.entry.js +49 -49
  187. package/dist/esm/ptc-lottie.entry.js +10 -10
  188. package/dist/esm/ptc-media-card.entry.js +24 -24
  189. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  190. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  191. package/dist/esm/ptc-mobile-select.entry.js +53 -53
  192. package/dist/esm/ptc-nav-card.entry.js +41 -40
  193. package/dist/esm/ptc-overlay.entry.js +23 -23
  194. package/dist/esm/ptc-pagenation.entry.js +210 -210
  195. package/dist/esm/ptc-previous-url.entry.js +11 -11
  196. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  197. package/dist/esm/ptc-pricing-tabs.entry.js +125 -123
  198. package/dist/esm/ptc-quote.entry.js +23 -23
  199. package/dist/esm/ptc-readmore.entry.js +73 -73
  200. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  201. package/dist/esm/ptc-search-field.entry.js +59 -59
  202. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  203. package/dist/esm/ptc-social-share.entry.js +59 -59
  204. package/dist/esm/ptc-span.entry.js +18 -18
  205. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  206. package/dist/esm/ptc-tab-list.entry.js +125 -125
  207. package/dist/esm/ptc-tab.entry.js +20 -20
  208. package/dist/esm/ptc-tabs.entry.js +47 -47
  209. package/dist/esm/ptc-text-copy-with-background.entry.js +28 -28
  210. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  211. package/dist/esm/ptcw-design.js +1 -1
  212. package/dist/esm/tab-content.entry.js +27 -27
  213. package/dist/esm/tab-header.entry.js +64 -64
  214. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  215. package/dist/ptcw-design/media/brands.svg +1381 -1381
  216. package/dist/ptcw-design/media/designer.svg +387 -387
  217. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  218. package/dist/ptcw-design/media/regular.svg +463 -463
  219. package/dist/ptcw-design/media/solid.svg +3013 -3013
  220. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  221. package/dist/ptcw-design/{p-1bd6ad59.entry.js → p-2ae39c65.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-3bbd8add.entry.js → p-343f216f.entry.js} +1 -1
  223. package/dist/ptcw-design/p-598d16e5.entry.js +1 -0
  224. package/dist/ptcw-design/p-61d91a69.entry.js +1 -0
  225. package/dist/ptcw-design/p-6872e11b.entry.js +1 -0
  226. package/dist/ptcw-design/{p-4702f4e4.entry.js → p-8a6acf0d.entry.js} +1 -1
  227. package/dist/ptcw-design/p-a4e1afa5.entry.js +1 -0
  228. package/dist/ptcw-design/{p-472b984f.entry.js → p-d7d6eff1.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-744986fa.entry.js → p-f958e8c7.entry.js} +1 -1
  230. package/dist/ptcw-design/ptcw-design.css +1 -1
  231. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  232. package/dist/types/components/bundle-example/bundle-example.d.ts +10 -10
  233. package/dist/types/components/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +4 -4
  234. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  235. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  236. package/dist/types/components/list-item/list-item.d.ts +16 -16
  237. package/dist/types/components/max-width-container/max-width-container.d.ts +11 -11
  238. package/dist/types/components/my-component/my-component.d.ts +16 -16
  239. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  240. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  241. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
  242. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -26
  243. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  244. package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
  245. package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
  246. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  247. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  248. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -24
  249. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  250. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
  251. package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
  252. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  253. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  254. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
  255. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  256. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  257. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  258. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  259. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  260. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
  261. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  262. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +20 -20
  263. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  264. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  265. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  266. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
  267. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  268. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  269. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  270. package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
  271. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  272. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  273. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +35 -35
  274. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  275. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  276. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  277. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  278. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -51
  279. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  280. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  281. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  282. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +20 -20
  283. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  284. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  285. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
  286. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  287. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  288. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  289. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  290. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
  291. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  292. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  293. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -33
  294. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  295. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +47 -47
  296. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  297. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  298. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  299. package/dist/types/components.d.ts +130 -130
  300. package/dist/types/global.d.ts +1072 -1072
  301. package/dist/types/index.d.ts +1 -1
  302. package/dist/types/utils/component.d.ts +1 -1
  303. package/dist/types/utils/interfaces.d.ts +31 -31
  304. package/dist/types/utils/utils.d.ts +5 -5
  305. package/package.json +61 -61
  306. package/readme.md +18 -18
  307. package/dist/ptcw-design/p-37c015b5.entry.js +0 -1
  308. package/dist/ptcw-design/p-58ebad36.entry.js +0 -1
  309. package/dist/ptcw-design/p-bc34ac01.entry.js +0 -1
  310. package/dist/ptcw-design/p-e4cd7ef5.entry.js +0 -1
  311. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -11,6 +11,9 @@
11
11
  border-radius: var(--ptc-border-radius-standard);
12
12
  background-color: var(--color-gray-12);
13
13
  }
14
+ :host .nav-card-wrap:hover {
15
+ background-color: var(--color-gray-08);
16
+ }
14
17
  @media only screen and (min-width: 1200px) {
15
18
  :host .nav-card-wrap {
16
19
  background-color: var(--color-gray-10);
@@ -27,15 +30,20 @@
27
30
  text-decoration: none;
28
31
  }
29
32
  :host .nav-card-wrap .media-card-wrap {
30
- padding: 1rem;
33
+ padding: 1rem 1.5rem 1.125rem 1.5rem;
31
34
  width: 100%;
32
35
  height: 100%;
33
36
  display: flex;
34
37
  align-items: center;
35
38
  }
39
+ @media only screen and (min-width: 1200px) {
40
+ :host .nav-card-wrap .media-card-wrap {
41
+ padding: 1rem;
42
+ }
43
+ }
36
44
  :host .nav-card-wrap .media-card-wrap h4 {
37
45
  margin-bottom: 0.25rem;
38
- font-weight: 600;
46
+ font-weight: 800;
39
47
  display: flex;
40
48
  align-items: center;
41
49
  font-size: var(--ptc-font-size-medium);
@@ -44,7 +52,6 @@
44
52
  @media only screen and (min-width: 1200px) {
45
53
  :host .nav-card-wrap .media-card-wrap h4 {
46
54
  font-size: var(--ptc-font-size-xxx-small);
47
- font-weight: 800;
48
55
  }
49
56
  }
50
57
  :host .nav-card-wrap .media-card-wrap p {
@@ -60,17 +67,25 @@
60
67
  }
61
68
  :host .nav-card-wrap .media-card-wrap .card-logo img {
62
69
  width: 100%;
63
- max-width: 1.5rem;
64
- min-width: 1.5rem;
70
+ max-width: 2rem;
71
+ min-width: 2rem;
72
+ }
73
+ @media only screen and (min-width: 1200px) {
74
+ :host .nav-card-wrap .media-card-wrap .card-logo img {
75
+ max-width: 1.5rem;
76
+ min-width: 1.5rem;
77
+ }
65
78
  }
66
79
 
67
80
  :host(.cta-card) .nav-card-wrap {
68
81
  border: 1px solid var(--color-gray-10);
69
82
  border-radius: var(--ptc-border-radius-standard);
70
83
  background-color: var(--color-gray-09);
84
+ min-height: 99px;
71
85
  }
72
86
  @media only screen and (min-width: 1200px) {
73
87
  :host(.cta-card) .nav-card-wrap {
88
+ min-height: auto;
74
89
  background-color: transparent;
75
90
  }
76
91
  }
@@ -80,63 +95,62 @@
80
95
  :host(.cta-card) .nav-card-wrap .card-content {
81
96
  margin: auto;
82
97
  }
98
+ :host(.cta-card) .nav-card-wrap .card-content h4 {
99
+ margin: 0;
100
+ }
83
101
  :host(.cta-card) .nav-card-wrap .card-content svg {
84
102
  vertical-align: middle;
85
103
  margin-left: 0.375rem;
86
104
  }
87
105
 
88
106
  :host(.links-card) .nav-card-wrap {
89
- padding: 2rem 0rem 0.75rem 0rem;
90
- border-radius: var(--ptc-border-radius-standard);
91
107
  background-color: transparent;
92
- border: 1px solid var(--color-gray-07);
93
- border-left: none;
94
- border-right: none;
95
- border-bottom: none;
96
- border-radius: 0;
97
108
  align-items: flex-start;
98
- }
99
- @media only screen and (min-width: 768px) {
100
- :host(.links-card) .nav-card-wrap {
101
- padding: 1.5rem;
102
- border: 1px solid var(--color-gray-07);
103
- border-radius: var(--ptc-border-radius-standard);
104
- }
109
+ padding: 1rem 1.5rem 1.5rem 1.5rem;
110
+ border-bottom: 1px solid var(--color-gray-07);
111
+ border-radius: 0;
112
+ margin: 0 -1.5rem;
105
113
  }
106
114
  @media only screen and (min-width: 1200px) {
107
115
  :host(.links-card) .nav-card-wrap {
116
+ margin: 0;
117
+ padding: 1.5rem;
108
118
  border: 1px solid var(--color-gray-10);
119
+ border-radius: var(--ptc-border-radius-standard);
109
120
  }
110
121
  }
111
122
  :host(.links-card) .nav-card-wrap:hover {
112
123
  background-color: transparent;
113
124
  }
114
125
  :host(.links-card) .nav-card-wrap h3 {
115
- margin: 0 0 0.75rem 0;
116
- border-bottom: 1.5px solid transparent;
126
+ margin: 0 0 8px 0;
117
127
  display: inline-block;
118
128
  font-weight: 800;
129
+ font-size: 20px;
130
+ color: var(--color-white);
131
+ }
132
+ @media only screen and (min-width: 1200px) {
133
+ :host(.links-card) .nav-card-wrap h3 {
134
+ font-size: 15px;
135
+ margin: 0 0 10px 0;
136
+ }
119
137
  }
120
138
  :host(.links-card) .nav-card-wrap h3 svg {
121
139
  margin-left: 0.375rem;
122
- display: none;
123
140
  vertical-align: middle;
124
141
  }
125
- :host(.links-card) .nav-card-wrap h3:hover {
126
- border-color: var(--color-green-06);
127
- }
128
- :host(.links-card) .nav-card-wrap h3:hover svg {
129
- display: inline-block;
130
- }
131
142
  :host(.links-card) .nav-card-wrap h3 a {
132
- font-size: var(--ptc-font-size-medium);
143
+ border-bottom: 1.5px solid transparent;
133
144
  }
134
- @media only screen and (min-width: 1200px) {
135
- :host(.links-card) .nav-card-wrap h3 a {
136
- font-size: var(--ptc-font-size-x-small);
137
- }
145
+ :host(.links-card) .nav-card-wrap h3 a:hover {
146
+ border-color: var(--color-green-06);
138
147
  }
139
148
  :host(.links-card) ::slotted(ptc-link) {
140
- padding: 6px 0;
149
+ padding: 8px 0;
141
150
  line-height: 14px;
151
+ }
152
+ @media only screen and (min-width: 1200px) {
153
+ :host(.links-card) ::slotted(ptc-link) {
154
+ padding: 6px 0;
155
+ }
142
156
  }
@@ -1,227 +1,228 @@
1
- import { Host, h } from '@stencil/core';
2
- export class PtcNavCard {
3
- constructor() {
4
- this.cardType = undefined;
5
- this.cardHref = undefined;
6
- this.logoAlt = undefined;
7
- this.target = '_self';
8
- this.rel = undefined;
9
- this.linkTitle = undefined;
10
- this.cardLogo = undefined;
11
- this.heading = undefined;
12
- this.description = undefined;
13
- this.windowSize = 'mobile';
14
- }
15
- handleResize() {
16
- if (window.innerWidth < 992) {
17
- this.windowSize = 'mobile';
18
- }
19
- else {
20
- this.windowSize = 'desktop';
21
- }
22
- }
23
- componentWillLoad() {
24
- this.handleResize();
25
- }
26
- render() {
27
- return (h(Host, { class: this.cardType }, h("div", { class: "nav-card-wrap" }, this.cardType == 'links-card' ?
28
- h("div", { class: "links-card-wrap" }, h("h3", null, h("a", { href: this.cardHref, title: this.linkTitle }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" })))), h("slot", null))
29
- :
30
- h("a", { href: this.cardHref, title: this.linkTitle, class: "media-card-wrap" }, this.cardLogo &&
31
- h("div", { class: "card-logo" }, h("img", { src: this.cardLogo, alt: this.logoAlt })), h("div", { class: "card-content" }, h("h4", null, this.windowSize === 'mobile'
32
- ? this.heading
33
- : h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", "z-index": "z-2", description: this.heading, position: "bottom" }, this.heading), this.cardType == "cta-card" &&
34
- h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" }))), this.description &&
35
- h("p", null, this.windowSize === 'mobile'
36
- ? this.description
37
- : h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", "z-index": "z-2", description: this.description, position: "bottom" }, this.description)))))));
38
- }
39
- static get is() { return "ptc-nav-card"; }
40
- static get encapsulation() { return "shadow"; }
41
- static get originalStyleUrls() {
42
- return {
43
- "$": ["ptc-nav-card.scss"]
44
- };
45
- }
46
- static get styleUrls() {
47
- return {
48
- "$": ["ptc-nav-card.css"]
49
- };
50
- }
51
- static get properties() {
52
- return {
53
- "cardType": {
54
- "type": "string",
55
- "mutable": true,
56
- "complexType": {
57
- "original": "'media-card' | 'links-card' | 'cta-card'",
58
- "resolved": "\"cta-card\" | \"links-card\" | \"media-card\"",
59
- "references": {}
60
- },
61
- "required": false,
62
- "optional": false,
63
- "docs": {
64
- "tags": [],
65
- "text": "Card Type\r\nSpecify Card Type"
66
- },
67
- "attribute": "card-type",
68
- "reflect": false
69
- },
70
- "cardHref": {
71
- "type": "string",
72
- "mutable": true,
73
- "complexType": {
74
- "original": "string",
75
- "resolved": "string",
76
- "references": {}
77
- },
78
- "required": false,
79
- "optional": true,
80
- "docs": {
81
- "tags": [],
82
- "text": "Card Link URL (Optional)"
83
- },
84
- "attribute": "card-href",
85
- "reflect": false,
86
- "defaultValue": "undefined"
87
- },
88
- "logoAlt": {
89
- "type": "string",
90
- "mutable": true,
91
- "complexType": {
92
- "original": "string",
93
- "resolved": "string",
94
- "references": {}
95
- },
96
- "required": false,
97
- "optional": true,
98
- "docs": {
99
- "tags": [],
100
- "text": "Card Link URL Alt text(Optional)"
101
- },
102
- "attribute": "logo-alt",
103
- "reflect": false,
104
- "defaultValue": "undefined"
105
- },
106
- "target": {
107
- "type": "string",
108
- "mutable": true,
109
- "complexType": {
110
- "original": "string",
111
- "resolved": "string",
112
- "references": {}
113
- },
114
- "required": false,
115
- "optional": true,
116
- "docs": {
117
- "tags": [],
118
- "text": "(optional) Link card target"
119
- },
120
- "attribute": "target",
121
- "reflect": false,
122
- "defaultValue": "'_self'"
123
- },
124
- "rel": {
125
- "type": "string",
126
- "mutable": true,
127
- "complexType": {
128
- "original": "string",
129
- "resolved": "string",
130
- "references": {}
131
- },
132
- "required": false,
133
- "optional": true,
134
- "docs": {
135
- "tags": [],
136
- "text": "(optional) Link card rel"
137
- },
138
- "attribute": "rel",
139
- "reflect": false,
140
- "defaultValue": "undefined"
141
- },
142
- "linkTitle": {
143
- "type": "string",
144
- "mutable": true,
145
- "complexType": {
146
- "original": "string",
147
- "resolved": "string",
148
- "references": {}
149
- },
150
- "required": false,
151
- "optional": true,
152
- "docs": {
153
- "tags": [],
154
- "text": "(optional) title"
155
- },
156
- "attribute": "link-title",
157
- "reflect": false,
158
- "defaultValue": "undefined"
159
- },
160
- "cardLogo": {
161
- "type": "string",
162
- "mutable": true,
163
- "complexType": {
164
- "original": "string",
165
- "resolved": "string",
166
- "references": {}
167
- },
168
- "required": false,
169
- "optional": true,
170
- "docs": {
171
- "tags": [],
172
- "text": "If this card has Image"
173
- },
174
- "attribute": "card-logo",
175
- "reflect": false
176
- },
177
- "heading": {
178
- "type": "string",
179
- "mutable": true,
180
- "complexType": {
181
- "original": "string",
182
- "resolved": "string",
183
- "references": {}
184
- },
185
- "required": false,
186
- "optional": true,
187
- "docs": {
188
- "tags": [],
189
- "text": "Card heading"
190
- },
191
- "attribute": "heading",
192
- "reflect": false
193
- },
194
- "description": {
195
- "type": "string",
196
- "mutable": true,
197
- "complexType": {
198
- "original": "string",
199
- "resolved": "string",
200
- "references": {}
201
- },
202
- "required": false,
203
- "optional": true,
204
- "docs": {
205
- "tags": [],
206
- "text": "Card description"
207
- },
208
- "attribute": "description",
209
- "reflect": false
210
- }
211
- };
212
- }
213
- static get states() {
214
- return {
215
- "windowSize": {}
216
- };
217
- }
218
- static get listeners() {
219
- return [{
220
- "name": "resize",
221
- "method": "handleResize",
222
- "target": "window",
223
- "capture": false,
224
- "passive": true
225
- }];
226
- }
227
- }
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcNavCard {
3
+ constructor() {
4
+ this.cardType = undefined;
5
+ this.cardHref = undefined;
6
+ this.logoAlt = undefined;
7
+ this.target = '_self';
8
+ this.rel = undefined;
9
+ this.linkTitle = undefined;
10
+ this.cardLogo = undefined;
11
+ this.heading = undefined;
12
+ this.description = undefined;
13
+ this.windowSize = 'mobile';
14
+ }
15
+ handleResize() {
16
+ if (window.innerWidth < 992) {
17
+ this.windowSize = 'mobile';
18
+ }
19
+ else {
20
+ this.windowSize = 'desktop';
21
+ }
22
+ }
23
+ componentWillLoad() {
24
+ this.handleResize();
25
+ }
26
+ render() {
27
+ return (h(Host, { class: this.cardType }, h("div", { class: "nav-card-wrap" }, this.cardType == 'links-card' ?
28
+ h("div", { class: "links-card-wrap" }, h("h3", null, (this.cardHref && !(this.cardHref.startsWith('#'))) ?
29
+ (h("a", { href: this.cardHref, title: this.linkTitle }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" })))) : (this.heading)), h("slot", null))
30
+ :
31
+ h("a", { href: this.cardHref, title: this.linkTitle, class: "media-card-wrap" }, this.cardLogo &&
32
+ h("div", { class: "card-logo" }, h("img", { src: this.cardLogo, alt: this.logoAlt })), h("div", { class: "card-content" }, h("h4", null, this.windowSize === 'mobile'
33
+ ? this.heading
34
+ : h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", "z-index": "z-2", description: this.heading, position: "bottom" }, this.heading), this.cardType == "cta-card" &&
35
+ h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" }))), this.description &&
36
+ h("p", null, this.windowSize === 'mobile'
37
+ ? this.description
38
+ : h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", "z-index": "z-2", description: this.description, position: "bottom" }, this.description)))))));
39
+ }
40
+ static get is() { return "ptc-nav-card"; }
41
+ static get encapsulation() { return "shadow"; }
42
+ static get originalStyleUrls() {
43
+ return {
44
+ "$": ["ptc-nav-card.scss"]
45
+ };
46
+ }
47
+ static get styleUrls() {
48
+ return {
49
+ "$": ["ptc-nav-card.css"]
50
+ };
51
+ }
52
+ static get properties() {
53
+ return {
54
+ "cardType": {
55
+ "type": "string",
56
+ "mutable": true,
57
+ "complexType": {
58
+ "original": "'media-card' | 'links-card' | 'cta-card'",
59
+ "resolved": "\"cta-card\" | \"links-card\" | \"media-card\"",
60
+ "references": {}
61
+ },
62
+ "required": false,
63
+ "optional": false,
64
+ "docs": {
65
+ "tags": [],
66
+ "text": "Card Type\nSpecify Card Type"
67
+ },
68
+ "attribute": "card-type",
69
+ "reflect": false
70
+ },
71
+ "cardHref": {
72
+ "type": "string",
73
+ "mutable": true,
74
+ "complexType": {
75
+ "original": "string",
76
+ "resolved": "string",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": true,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Card Link URL (Optional)"
84
+ },
85
+ "attribute": "card-href",
86
+ "reflect": false,
87
+ "defaultValue": "undefined"
88
+ },
89
+ "logoAlt": {
90
+ "type": "string",
91
+ "mutable": true,
92
+ "complexType": {
93
+ "original": "string",
94
+ "resolved": "string",
95
+ "references": {}
96
+ },
97
+ "required": false,
98
+ "optional": true,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": "Card Link URL Alt text(Optional)"
102
+ },
103
+ "attribute": "logo-alt",
104
+ "reflect": false,
105
+ "defaultValue": "undefined"
106
+ },
107
+ "target": {
108
+ "type": "string",
109
+ "mutable": true,
110
+ "complexType": {
111
+ "original": "string",
112
+ "resolved": "string",
113
+ "references": {}
114
+ },
115
+ "required": false,
116
+ "optional": true,
117
+ "docs": {
118
+ "tags": [],
119
+ "text": "(optional) Link card target"
120
+ },
121
+ "attribute": "target",
122
+ "reflect": false,
123
+ "defaultValue": "'_self'"
124
+ },
125
+ "rel": {
126
+ "type": "string",
127
+ "mutable": true,
128
+ "complexType": {
129
+ "original": "string",
130
+ "resolved": "string",
131
+ "references": {}
132
+ },
133
+ "required": false,
134
+ "optional": true,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": "(optional) Link card rel"
138
+ },
139
+ "attribute": "rel",
140
+ "reflect": false,
141
+ "defaultValue": "undefined"
142
+ },
143
+ "linkTitle": {
144
+ "type": "string",
145
+ "mutable": true,
146
+ "complexType": {
147
+ "original": "string",
148
+ "resolved": "string",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": true,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": "(optional) title"
156
+ },
157
+ "attribute": "link-title",
158
+ "reflect": false,
159
+ "defaultValue": "undefined"
160
+ },
161
+ "cardLogo": {
162
+ "type": "string",
163
+ "mutable": true,
164
+ "complexType": {
165
+ "original": "string",
166
+ "resolved": "string",
167
+ "references": {}
168
+ },
169
+ "required": false,
170
+ "optional": true,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": "If this card has Image"
174
+ },
175
+ "attribute": "card-logo",
176
+ "reflect": false
177
+ },
178
+ "heading": {
179
+ "type": "string",
180
+ "mutable": true,
181
+ "complexType": {
182
+ "original": "string",
183
+ "resolved": "string",
184
+ "references": {}
185
+ },
186
+ "required": false,
187
+ "optional": true,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "Card heading"
191
+ },
192
+ "attribute": "heading",
193
+ "reflect": false
194
+ },
195
+ "description": {
196
+ "type": "string",
197
+ "mutable": true,
198
+ "complexType": {
199
+ "original": "string",
200
+ "resolved": "string",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": true,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "Card description"
208
+ },
209
+ "attribute": "description",
210
+ "reflect": false
211
+ }
212
+ };
213
+ }
214
+ static get states() {
215
+ return {
216
+ "windowSize": {}
217
+ };
218
+ }
219
+ static get listeners() {
220
+ return [{
221
+ "name": "resize",
222
+ "method": "handleResize",
223
+ "target": "window",
224
+ "capture": false,
225
+ "passive": true
226
+ }];
227
+ }
228
+ }