@ptcwebops/ptcw-design 0.8.4 → 0.8.7

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 (233) hide show
  1. package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
  2. package/dist/cjs/icon-asset.cjs.entry.js +2 -2
  3. package/dist/cjs/{index-8745a0a3.js → index-c27e52b2.js} +39 -1
  4. package/dist/cjs/list-item.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +4 -3
  6. package/dist/cjs/lottie-player.cjs.entry.js +16369 -13058
  7. package/dist/cjs/max-width-container.cjs.entry.js +40 -0
  8. package/dist/cjs/my-component.cjs.entry.js +1 -1
  9. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-announcement.cjs.entry.js +1 -2
  12. package/dist/cjs/ptc-background-video.cjs.entry.js +27 -0
  13. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-button.cjs.entry.js +1 -2
  15. package/dist/cjs/ptc-card-bottom.cjs.entry.js +2 -2
  16. package/dist/cjs/ptc-card-content.cjs.entry.js +12 -2
  17. package/dist/cjs/ptc-card-wrapper.cjs.entry.js +35 -2
  18. package/dist/cjs/ptc-card_6.cjs.entry.js +3 -16
  19. package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-container.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -2
  24. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-list.cjs.entry.js +1 -2
  32. package/dist/cjs/ptc-lottie.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-minimized-header.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-mobile-select.cjs.entry.js +422 -717
  37. package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-overlay.cjs.entry.js +6 -3
  39. package/dist/cjs/ptc-pagenation.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-readmore_2.cjs.entry.js +51 -7
  44. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-span.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +9 -4
  52. package/dist/cjs/ptc-title.cjs.entry.js +6 -4
  53. package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
  54. package/dist/cjs/ptcw-design.cjs.js +7 -3
  55. package/dist/cjs/tab-content.cjs.entry.js +1 -1
  56. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  57. package/dist/collection/collection-manifest.json +4 -2
  58. package/dist/collection/components/icon-asset/icon-asset.css +2 -2
  59. package/dist/collection/components/max-width-container/max-width-container.css +7 -0
  60. package/dist/collection/components/max-width-container/max-width-container.js +80 -0
  61. package/dist/collection/components/ptc-announcement/ptc-announcement.js +0 -1
  62. package/dist/collection/components/ptc-background-video/ptc-background-video.css +50 -0
  63. package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -0
  64. package/dist/collection/components/ptc-button/ptc-button.js +0 -1
  65. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  66. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +11 -1
  67. package/dist/collection/components/ptc-card-content/ptc-card-content.css +10 -2
  68. package/dist/collection/components/ptc-card-content/ptc-card-content.js +49 -0
  69. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +43 -1
  70. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +0 -1
  71. package/dist/collection/components/ptc-img/ptc-img.js +0 -3
  72. package/dist/collection/components/ptc-list/ptc-list.js +0 -1
  73. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +41 -32
  74. package/dist/collection/components/ptc-overlay/ptc-overlay.css +4 -0
  75. package/dist/collection/components/ptc-overlay/ptc-overlay.js +29 -3
  76. package/dist/collection/components/ptc-para/ptc-para.js +0 -8
  77. package/dist/collection/components/ptc-picture/ptc-picture.js +0 -2
  78. package/dist/collection/components/ptc-readmore/ptc-readmore.css +58 -3
  79. package/dist/collection/components/ptc-readmore/ptc-readmore.js +153 -5
  80. package/dist/collection/components/ptc-spacer/ptc-spacer.css +1 -1
  81. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +153 -2
  82. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +45 -4
  83. package/dist/collection/components/ptc-title/ptc-title.css +15 -9
  84. package/dist/collection/components/ptc-title/ptc-title.js +24 -5
  85. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +10 -0
  86. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +54 -3
  87. package/dist/custom-elements/index.d.ts +12 -0
  88. package/dist/custom-elements/index.js +17120 -13975
  89. package/dist/esm/dropdown-item.entry.js +1 -1
  90. package/dist/esm/icon-asset.entry.js +2 -2
  91. package/dist/esm/{index-0c73b51e.js → index-40bc29fc.js} +39 -2
  92. package/dist/esm/list-item.entry.js +1 -1
  93. package/dist/esm/loader.js +4 -3
  94. package/dist/esm/lottie-player.entry.js +16369 -13058
  95. package/dist/esm/max-width-container.entry.js +36 -0
  96. package/dist/esm/my-component.entry.js +1 -1
  97. package/dist/esm/polyfills/css-shim.js +1 -1
  98. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  99. package/dist/esm/ptc-accordion.entry.js +1 -1
  100. package/dist/esm/ptc-announcement.entry.js +1 -2
  101. package/dist/esm/ptc-background-video.entry.js +23 -0
  102. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  103. package/dist/esm/ptc-button.entry.js +1 -2
  104. package/dist/esm/ptc-card-bottom.entry.js +2 -2
  105. package/dist/esm/ptc-card-content.entry.js +12 -2
  106. package/dist/esm/ptc-card-wrapper.entry.js +35 -2
  107. package/dist/esm/ptc-card_6.entry.js +3 -16
  108. package/dist/esm/ptc-checkbox.entry.js +1 -1
  109. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  110. package/dist/esm/ptc-container.entry.js +1 -1
  111. package/dist/esm/ptc-dropdown.entry.js +1 -1
  112. package/dist/esm/ptc-dynamic-card.entry.js +1 -2
  113. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  114. package/dist/esm/ptc-filter-tag.entry.js +1 -1
  115. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  116. package/dist/esm/ptc-hero.entry.js +1 -1
  117. package/dist/esm/ptc-icon-list.entry.js +1 -1
  118. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  119. package/dist/esm/ptc-link.entry.js +1 -1
  120. package/dist/esm/ptc-list.entry.js +1 -2
  121. package/dist/esm/ptc-lottie.entry.js +1 -1
  122. package/dist/esm/ptc-media-card.entry.js +1 -1
  123. package/dist/esm/ptc-minimized-footer.entry.js +1 -1
  124. package/dist/esm/ptc-minimized-header.entry.js +1 -1
  125. package/dist/esm/ptc-mobile-select.entry.js +423 -718
  126. package/dist/esm/ptc-modal.entry.js +1 -1
  127. package/dist/esm/ptc-overlay.entry.js +6 -3
  128. package/dist/esm/ptc-pagenation.entry.js +1 -1
  129. package/dist/esm/ptc-previous-url.entry.js +1 -1
  130. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  131. package/dist/esm/ptc-quote.entry.js +1 -1
  132. package/dist/esm/ptc-readmore_2.entry.js +51 -7
  133. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  134. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  135. package/dist/esm/ptc-social-share.entry.js +1 -1
  136. package/dist/esm/ptc-span.entry.js +1 -1
  137. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  138. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  139. package/dist/esm/ptc-tab-list.entry.js +1 -1
  140. package/dist/esm/ptc-text-copy-with-background.entry.js +9 -4
  141. package/dist/esm/ptc-title.entry.js +6 -4
  142. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  143. package/dist/esm/ptcw-design.js +4 -3
  144. package/dist/esm/tab-content.entry.js +1 -1
  145. package/dist/esm/tab-header.entry.js +1 -1
  146. package/dist/ptcw-design/{p-1964f1f4.entry.js → p-001a0b9f.entry.js} +1 -1
  147. package/dist/ptcw-design/{p-14d6a40c.entry.js → p-0099616c.entry.js} +1 -1
  148. package/dist/ptcw-design/{p-2bd6743a.entry.js → p-013f5355.entry.js} +1 -1
  149. package/dist/ptcw-design/p-048502c2.entry.js +1 -0
  150. package/dist/ptcw-design/{p-f2cb8bc4.entry.js → p-049964f4.entry.js} +1 -1
  151. package/dist/ptcw-design/{p-c4e20f99.entry.js → p-0f937cff.entry.js} +1 -1
  152. package/dist/ptcw-design/{p-8637cefc.entry.js → p-13b0d8c3.entry.js} +1 -1
  153. package/dist/ptcw-design/{p-e6ce8733.entry.js → p-159d9a80.entry.js} +1 -1
  154. package/dist/ptcw-design/{p-97e00dfa.entry.js → p-1def8f3c.entry.js} +1 -1
  155. package/dist/ptcw-design/{p-29f3c478.entry.js → p-1e92301d.entry.js} +1 -1
  156. package/dist/ptcw-design/p-2ac518f1.entry.js +1 -0
  157. package/dist/ptcw-design/{p-8bb41e7c.entry.js → p-2cc97b88.entry.js} +1 -1
  158. package/dist/ptcw-design/{p-2aeb4687.entry.js → p-2de0f980.entry.js} +1 -1
  159. package/dist/ptcw-design/{p-d56b953e.entry.js → p-2eb5ef88.entry.js} +1 -1
  160. package/dist/ptcw-design/{p-82fc0608.entry.js → p-30007bf3.entry.js} +1 -1
  161. package/dist/ptcw-design/{p-82472007.entry.js → p-31fbba12.entry.js} +1 -1
  162. package/dist/ptcw-design/{p-e75dc9f4.entry.js → p-31ffd030.entry.js} +1 -1
  163. package/dist/ptcw-design/{p-adcc9906.entry.js → p-329cc205.entry.js} +1 -1
  164. package/dist/ptcw-design/{p-4da43d5f.entry.js → p-34db9e46.entry.js} +1 -1
  165. package/dist/ptcw-design/p-446df289.entry.js +1 -0
  166. package/dist/ptcw-design/p-450e9eb0.entry.js +1 -0
  167. package/dist/ptcw-design/p-47d601fc.entry.js +1 -0
  168. package/dist/ptcw-design/{p-6131b9a1.entry.js → p-50c88717.entry.js} +1 -1
  169. package/dist/ptcw-design/{p-5bb7354a.entry.js → p-51db2e2e.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-a749c353.entry.js → p-586d9c9d.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-00c1343b.entry.js → p-5c295f08.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-867c711f.entry.js → p-5dc89a74.entry.js} +1 -1
  173. package/dist/ptcw-design/{p-c3f73953.entry.js → p-62cabff9.entry.js} +1 -1
  174. package/dist/ptcw-design/{p-1b0d15aa.entry.js → p-63fab352.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-6065a1d1.entry.js → p-673121e2.entry.js} +1 -1
  176. package/dist/ptcw-design/p-67a9ed01.entry.js +1 -0
  177. package/dist/ptcw-design/p-8b5e393e.entry.js +1 -0
  178. package/dist/ptcw-design/p-8d48362b.entry.js +1 -0
  179. package/dist/ptcw-design/{p-0aa91ac2.entry.js → p-9024a899.entry.js} +1 -1
  180. package/dist/ptcw-design/p-91512aeb.entry.js +1 -0
  181. package/dist/ptcw-design/{p-3f85b469.entry.js → p-96883fd7.entry.js} +1 -1
  182. package/dist/ptcw-design/p-9fb2ab8c.js +2 -0
  183. package/dist/ptcw-design/p-a5f20c41.entry.js +1 -0
  184. package/dist/ptcw-design/p-a7f07147.entry.js +1 -0
  185. package/dist/ptcw-design/p-b4d92914.entry.js +1 -0
  186. package/dist/ptcw-design/{p-88e1778e.entry.js → p-bc0181f3.entry.js} +1 -1
  187. package/dist/ptcw-design/p-c2275f57.entry.js +1 -0
  188. package/dist/ptcw-design/{p-a05fe3d0.entry.js → p-c325283e.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-482a8bc9.entry.js → p-c3621686.entry.js} +1 -1
  190. package/dist/ptcw-design/p-c693e1c5.entry.js +1 -0
  191. package/dist/ptcw-design/{p-1aa4d596.entry.js → p-c7247cc9.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-8808ecc8.entry.js → p-ce3627b8.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-e87bc2cd.entry.js → p-d24446b2.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-8bb7da0b.entry.js → p-d625bb90.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-60843852.entry.js → p-dcf0d341.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-c4107b5d.entry.js → p-de6b444f.entry.js} +1 -1
  197. package/dist/ptcw-design/{p-afea5c1f.entry.js → p-e353a8e8.entry.js} +1 -1
  198. package/dist/ptcw-design/{p-36a453d4.entry.js → p-e66a28aa.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-21e27f2b.entry.js → p-fed5edd3.entry.js} +1 -1
  200. package/dist/ptcw-design/ptcw-design.css +1 -1
  201. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  202. package/dist/types/components/max-width-container/max-width-container.d.ts +9 -0
  203. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -0
  204. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +2 -0
  205. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +5 -0
  206. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +2 -1
  207. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +1 -1
  208. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +31 -2
  209. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +9 -1
  210. package/dist/types/components/ptc-title/ptc-title.d.ts +7 -3
  211. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +4 -0
  212. package/dist/types/components.d.ts +194 -9
  213. package/dist/types/stencil-public-runtime.d.ts +48 -3
  214. package/dist/types/utils/interfaces.d.ts +2 -2
  215. package/loader/index.d.ts +9 -0
  216. package/package.json +1 -1
  217. package/readme.md +10 -2
  218. package/dist/cjs/_commonjsHelpers-119ffc74.js +0 -17
  219. package/dist/esm/_commonjsHelpers-8b28c6fa.js +0 -15
  220. package/dist/ptcw-design/p-009001dc.js +0 -2
  221. package/dist/ptcw-design/p-0a825561.entry.js +0 -1
  222. package/dist/ptcw-design/p-2ca0340b.entry.js +0 -1
  223. package/dist/ptcw-design/p-2dcea9db.entry.js +0 -1
  224. package/dist/ptcw-design/p-4c1164d8.entry.js +0 -1
  225. package/dist/ptcw-design/p-556dcafb.entry.js +0 -1
  226. package/dist/ptcw-design/p-557e8e2a.entry.js +0 -1
  227. package/dist/ptcw-design/p-67af0abd.entry.js +0 -1
  228. package/dist/ptcw-design/p-ac9c4ba2.entry.js +0 -1
  229. package/dist/ptcw-design/p-b68038b5.js +0 -1
  230. package/dist/ptcw-design/p-c095d100.entry.js +0 -7
  231. package/dist/ptcw-design/p-ca9efc42.entry.js +0 -1
  232. package/dist/ptcw-design/p-cf500bc9.entry.js +0 -1
  233. package/dist/ptcw-design/p-f9694131.entry.js +0 -1
@@ -1,6 +1,7 @@
1
1
  :host {
2
2
  display: block;
3
3
  position: relative;
4
+ width: 100%;
4
5
  padding: var(--ptc-layout-spacing-05) var(--ptc-layout-spacing-01);
5
6
  color: var(--color-white);
6
7
  }
@@ -24,8 +25,6 @@
24
25
  }
25
26
  :host .tcb-top-slit {
26
27
  fill: #f3f3f3;
27
- -webkit-transform: scaleX(-1);
28
- -ms-transform: scaleX(-1);
29
28
  transform: scale(1.5, -1);
30
29
  position: absolute;
31
30
  top: -1px;
@@ -99,4 +98,156 @@
99
98
  :host(.tab-cta-with-background) .copy-bg-overlay-layer {
100
99
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 43%, rgba(176, 188, 194, 0) 95%);
101
100
  }
101
+ }
102
+
103
+ :host(.bottom-right) .tcb-top-slit {
104
+ top: auto;
105
+ bottom: 0;
106
+ transform: scale(1.5, 1.5);
107
+ }
108
+
109
+ :host(.case-studies) {
110
+ min-height: 25rem;
111
+ height: auto;
112
+ margin-bottom: 10rem;
113
+ display: flex;
114
+ align-items: center;
115
+ }
116
+ @media only screen and (min-width: 768px) {
117
+ :host(.case-studies) {
118
+ min-height: 33.75rem;
119
+ height: auto;
120
+ margin-bottom: 0;
121
+ padding-top: var(--ptc-layout-spacing-06);
122
+ }
123
+ }
124
+ :host(.case-studies) .card-wrap {
125
+ position: relative;
126
+ border: 1px solid transparent;
127
+ width: 100%;
128
+ height: 100%;
129
+ max-width: 540px;
130
+ bottom: -13rem;
131
+ }
132
+ @media only screen and (min-width: 768px) {
133
+ :host(.case-studies) .card-wrap {
134
+ bottom: auto;
135
+ }
136
+ }
137
+ :host(.case-studies) .card-wrap::after {
138
+ position: absolute;
139
+ width: 0;
140
+ height: 1px;
141
+ content: "";
142
+ background: #fff;
143
+ top: 0px;
144
+ left: 0px;
145
+ animation: widthAnimate 0.2s linear 0.2s 1 forwards;
146
+ }
147
+ :host(.case-studies) .card-wrap::before {
148
+ position: absolute;
149
+ width: 1px;
150
+ height: 0;
151
+ content: "";
152
+ background: #fff;
153
+ top: 0px;
154
+ right: 0px;
155
+ animation: heightAnimate 0.2s linear 0.4s 1 forwards;
156
+ }
157
+ :host(.case-studies) .card-wrap .card-animated-border {
158
+ border: 1px solid transparent;
159
+ position: absolute;
160
+ left: -1px;
161
+ right: 0;
162
+ bottom: 0px;
163
+ top: -1px;
164
+ width: 100%;
165
+ height: 100%;
166
+ box-shadow: var(--ptc-shadow-x-small);
167
+ }
168
+ :host(.case-studies) .card-wrap .card-animated-border::after {
169
+ position: absolute;
170
+ width: 0;
171
+ height: 1px;
172
+ content: "";
173
+ background: #fff;
174
+ bottom: 0px;
175
+ right: 0px;
176
+ animation: widthAnimate 0.2s linear 0.6s 1 forwards;
177
+ }
178
+ :host(.case-studies) .card-wrap .card-animated-border::before {
179
+ position: absolute;
180
+ width: 1px;
181
+ height: 0;
182
+ content: "";
183
+ background: #fff;
184
+ bottom: 0px;
185
+ left: 0px;
186
+ animation: heightAnimate 0.2s linear 0.8s 1 forwards;
187
+ }
188
+ :host(.case-studies) .card-wrap .card-content {
189
+ opacity: 0;
190
+ animation: fadeIn 0.5s ease-in 0.9s 1 forwards;
191
+ background-color: transparent;
192
+ width: 100%;
193
+ height: 100%;
194
+ }
195
+ :host(.case-studies) .card-wrap .card-content .card-layout {
196
+ padding: var(--ptc-layout-spacing-04);
197
+ background-color: #fff;
198
+ }
199
+ @keyframes widthAnimate {
200
+ 0% {
201
+ width: 0;
202
+ }
203
+ 100% {
204
+ width: 100%;
205
+ }
206
+ }
207
+ @keyframes heightAnimate {
208
+ 0% {
209
+ height: 0;
210
+ }
211
+ 100% {
212
+ height: 100%;
213
+ }
214
+ }
215
+ @keyframes fadeIn {
216
+ 0% {
217
+ opacity: 0;
218
+ }
219
+ 100% {
220
+ opacity: 1;
221
+ }
222
+ }
223
+ :host(.case-studies) .ptc-container-lg {
224
+ padding-right: 15px;
225
+ padding-left: 15px;
226
+ margin-right: auto;
227
+ margin-left: auto;
228
+ }
229
+ @media only screen and (min-width: 480px) {
230
+ :host(.case-studies) .ptc-container-lg {
231
+ padding-left: var(--ptc-layout-spacing-03);
232
+ padding-right: var(--ptc-layout-spacing-03);
233
+ }
234
+ }
235
+ @media only screen and (min-width: 768px) {
236
+ :host(.case-studies) .ptc-container-lg {
237
+ padding-left: var(--ptc-layout-spacing-04);
238
+ padding-right: var(--ptc-layout-spacing-04);
239
+ }
240
+ }
241
+ @media only screen and (min-width: 992px) {
242
+ :host(.case-studies) .ptc-container-lg {
243
+ padding-left: var(--ptc-element-spacing-08);
244
+ padding-right: var(--ptc-element-spacing-08);
245
+ }
246
+ }
247
+ @media only screen and (min-width: 1980px) {
248
+ :host(.case-studies) .ptc-container-lg {
249
+ padding-left: 0;
250
+ padding-right: 0;
251
+ max-width: 1900px;
252
+ }
102
253
  }
@@ -5,16 +5,21 @@ export class PtcTextCopyWithBackground {
5
5
  this.backgroundImage = undefined;
6
6
  this.ImageAltText = undefined;
7
7
  this.topSlitBackgroundColor = undefined;
8
+ this.slitPosition = 'top-right';
8
9
  this.isBackgroundBlur = false;
10
+ this.overlay = true;
9
11
  }
10
12
  render() {
11
13
  const classMap = this.getCssClassMap();
12
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)" })), h("div", { class: "" }, h("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur &&
13
- h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage })), h("div", { class: "copy-bg-overlay-layer" }), h("div", { class: "content-wrap" }, h("slot", null))));
15
+ h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage })), this.overlay &&
16
+ h("div", { class: "copy-bg-overlay-layer" }), h("div", { class: "content-wrap" }, this.type == "case-studies" &&
17
+ 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))));
14
18
  }
15
19
  getCssClassMap() {
16
20
  return {
17
- [this.type]: true
21
+ [this.type]: true,
22
+ [this.slitPosition]: true
18
23
  };
19
24
  }
20
25
  static get is() { return "ptc-text-copy-with-background"; }
@@ -35,8 +40,8 @@ export class PtcTextCopyWithBackground {
35
40
  "type": "string",
36
41
  "mutable": false,
37
42
  "complexType": {
38
- "original": "'text-copy-with-background' | 'hero-footer-cta' | 'tab-cta-with-background'",
39
- "resolved": "\"hero-footer-cta\" | \"tab-cta-with-background\" | \"text-copy-with-background\"",
43
+ "original": "'text-copy-with-background' | 'hero-footer-cta' | 'tab-cta-with-background' | 'case-studies'",
44
+ "resolved": "\"case-studies\" | \"hero-footer-cta\" | \"tab-cta-with-background\" | \"text-copy-with-background\"",
40
45
  "references": {}
41
46
  },
42
47
  "required": false,
@@ -100,6 +105,24 @@ export class PtcTextCopyWithBackground {
100
105
  "attribute": "top-slit-background-color",
101
106
  "reflect": false
102
107
  },
108
+ "slitPosition": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'",
113
+ "resolved": "\"bottom-left\" | \"bottom-right\" | \"top-left\" | \"top-right\"",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": true,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "(optional) topSlitPosition: It will decide the position of ."
121
+ },
122
+ "attribute": "slit-position",
123
+ "reflect": false,
124
+ "defaultValue": "'top-right'"
125
+ },
103
126
  "isBackgroundBlur": {
104
127
  "type": "boolean",
105
128
  "mutable": false,
@@ -117,6 +140,24 @@ export class PtcTextCopyWithBackground {
117
140
  "attribute": "is-background-blur",
118
141
  "reflect": false,
119
142
  "defaultValue": "false"
143
+ },
144
+ "overlay": {
145
+ "type": "boolean",
146
+ "mutable": false,
147
+ "complexType": {
148
+ "original": "boolean",
149
+ "resolved": "boolean",
150
+ "references": {}
151
+ },
152
+ "required": false,
153
+ "optional": true,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": "(optional) overlay: If true,it will add black overlay with 0.55 opacity"
157
+ },
158
+ "attribute": "overlay",
159
+ "reflect": false,
160
+ "defaultValue": "true"
120
161
  }
121
162
  };
122
163
  }
@@ -48,6 +48,14 @@ div.dotted h6::before {
48
48
  display: block;
49
49
  border-top: 3px dashed var(--color-green-07);
50
50
  }
51
+ div.solid h1,
52
+ div.solid h2,
53
+ div.solid h3,
54
+ div.solid h4,
55
+ div.solid h5,
56
+ div.solid h6 {
57
+ padding-top: 4px;
58
+ }
51
59
  div.solid h1::before,
52
60
  div.solid h2::before,
53
61
  div.solid h3::before,
@@ -58,7 +66,7 @@ div.solid h6::before {
58
66
  position: absolute;
59
67
  width: 100%;
60
68
  height: 0.7px;
61
- background-color: var(--color-gray-07);
69
+ background-color: var(--color-gray-03);
62
70
  opacity: 0.9;
63
71
  left: 0px;
64
72
  }
@@ -70,10 +78,10 @@ div.solid h5::after,
70
78
  div.solid h6::after {
71
79
  content: "";
72
80
  position: absolute;
73
- width: 20%;
81
+ width: 56px;
74
82
  height: 2px;
75
83
  background-color: var(--color-green-07);
76
- top: -2px;
84
+ top: 2px;
77
85
  left: 0px;
78
86
  }
79
87
  div.is-standard h1,
@@ -262,14 +270,9 @@ div.xxxx-large h1, div.xxxx-large h2, div.xxxx-large h3, div.xxxx-large h4, div.
262
270
  font-size: var(--ptc-font-size-xxxx-large);
263
271
  }
264
272
  }
265
- div.xxxx-large-2 h1, div.xxxx-large-2 h2, div.xxxx-large-2 h3, div.xxxx-large-2 h4, div.xxxx-large-2 h5, div.xxxx-large-2 h6 {
273
+ div.xx-large-allbp h1, div.xx-large-allbp h2, div.xx-large-allbp h3, div.xx-large-allbp h4, div.xx-large-allbp h5, div.xx-large-allbp h6 {
266
274
  font-size: var(--ptc-font-size-xx-large);
267
275
  }
268
- @media only screen and (min-width: 768px) {
269
- div.xxxx-large-2 h1, div.xxxx-large-2 h2, div.xxxx-large-2 h3, div.xxxx-large-2 h4, div.xxxx-large-2 h5, div.xxxx-large-2 h6 {
270
- font-size: var(--ptc-font-size-xxxx-large);
271
- }
272
- }
273
276
  div.xxxx-large-allbp h1, div.xxxx-large-allbp h2, div.xxxx-large-allbp h3, div.xxxx-large-allbp h4, div.xxxx-large-allbp h5, div.xxxx-large-allbp h6 {
274
277
  font-size: var(--ptc-font-size-xxxx-large);
275
278
  }
@@ -311,4 +314,7 @@ div.ellipsis-boxing h1, div.ellipsis-boxing h2, div.ellipsis-boxing h3, div.elli
311
314
  text-overflow: ellipsis;
312
315
  overflow-wrap: break-word;
313
316
  padding-bottom: 0;
317
+ }
318
+ div.block h1, div.block h2, div.block h3, div.block h4, div.block h5, div.block h6 {
319
+ display: block;
314
320
  }
@@ -13,6 +13,7 @@ export class PtcTitle {
13
13
  this.titleHeight = 'paragraph';
14
14
  this.styles = undefined;
15
15
  this.ellipsisLineCutoff = undefined;
16
+ this.titleDisplay = 'inline-block';
16
17
  }
17
18
  render() {
18
19
  const classMap = this.getCssClassMap();
@@ -37,7 +38,6 @@ export class PtcTitle {
37
38
  default:
38
39
  TagType = 'h2';
39
40
  }
40
- ;
41
41
  return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
42
42
  }
43
43
  getCssClassMap() {
@@ -51,14 +51,15 @@ export class PtcTitle {
51
51
  [this.titleSize]: !!this.titleSize ? true : false,
52
52
  [this.titleHeight]: !!this.titleHeight ? true : false,
53
53
  [this.titleColor]: !!this.titleColor ? true : false,
54
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0
54
+ ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
55
+ [this.titleDisplay]: !!this.titleDisplay ? true : false,
55
56
  };
56
57
  }
57
58
  getLineCuttoff() {
58
59
  let result;
59
60
  if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
60
61
  result = {
61
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`
62
+ ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
62
63
  };
63
64
  }
64
65
  return result;
@@ -221,8 +222,8 @@ export class PtcTitle {
221
222
  "type": "string",
222
223
  "mutable": false,
223
224
  "complexType": {
224
- "original": "'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'xxxx-large-allbp' | 'xxxx-large-2'",
225
- "resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxxx-large\" | \"xxxx-large-2\" | \"xxxx-large-allbp\"",
225
+ "original": "'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'xxxx-large-allbp' | 'xx-large-allbp'",
226
+ "resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-large-allbp\" | \"xx-small\" | \"xxx-large\" | \"xxxx-large\" | \"xxxx-large-allbp\"",
226
227
  "references": {}
227
228
  },
228
229
  "required": false,
@@ -285,6 +286,24 @@ export class PtcTitle {
285
286
  },
286
287
  "attribute": "ellipsis-line-cutoff",
287
288
  "reflect": false
289
+ },
290
+ "titleDisplay": {
291
+ "type": "string",
292
+ "mutable": false,
293
+ "complexType": {
294
+ "original": "'block' | 'inline-block'",
295
+ "resolved": "\"block\" | \"inline-block\"",
296
+ "references": {}
297
+ },
298
+ "required": false,
299
+ "optional": false,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": "Title heading display : To show line above heading full width or title width"
303
+ },
304
+ "attribute": "title-display",
305
+ "reflect": false,
306
+ "defaultValue": "'inline-block'"
288
307
  }
289
308
  };
290
309
  }
@@ -109,4 +109,14 @@
109
109
  .tooltip::after {
110
110
  content: "";
111
111
  position: absolute;
112
+ }
113
+
114
+ .ellipsis-by-line-boxing {
115
+ display: -webkit-box;
116
+ -webkit-line-clamp: 1;
117
+ -webkit-box-orient: vertical;
118
+ overflow: hidden;
119
+ text-overflow: ellipsis;
120
+ overflow-wrap: break-word;
121
+ padding-bottom: 0;
112
122
  }
@@ -3,29 +3,51 @@ export class PtcTooltip {
3
3
  constructor() {
4
4
  this.textDisplay = 'inline';
5
5
  this.maxLength = 45;
6
+ this.textLines = undefined;
6
7
  this.description = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. ';
7
8
  this.zIndex = 'z-auto';
8
9
  this.position = 'bottom';
9
10
  this.styles = undefined;
10
11
  }
12
+ addTruncatedClass() {
13
+ const appRoot = this.el.shadowRoot;
14
+ const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
15
+ text.forEach(t => {
16
+ t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
17
+ });
18
+ }
19
+ componentDidLoad() {
20
+ this.addTruncatedClass();
21
+ }
11
22
  render() {
12
23
  const classMap = this.getCssClassMap();
24
+ const cutOff = this.getLineCuttoff();
13
25
  let truncatedText = this.description.substring(0, this.maxLength);
14
26
  if (this.description.length > this.maxLength) {
15
27
  const lastSpace = truncatedText.lastIndexOf(' ');
16
28
  truncatedText = truncatedText.substring(0, lastSpace);
17
29
  truncatedText += '... ';
30
+ "";
18
31
  }
19
- return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: classMap }, truncatedText), h("div", { class: `tooltip ${this.position}` }, this.description)));
32
+ return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), this.textLines > 0 && !!this.textLines ? h("div", { class: "ellipsis-by-line-boxing", style: cutOff }, this.description) : h("div", { class: classMap }, truncatedText), h("div", { class: `tooltip ${this.position}` }, this.description)));
20
33
  }
21
34
  getCssClassMap() {
22
35
  return {
23
- // [this.textLines]: true,
36
+ // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
24
37
  ['text-ellipsis']: true,
25
38
  [this.zIndex]: this.description.length > this.maxLength ? true : false,
26
- ['truncated']: this.description.length > this.maxLength ? true : false
39
+ ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
27
40
  };
28
41
  }
42
+ getLineCuttoff() {
43
+ let result;
44
+ if (this.textLines && this.textLines > 0) {
45
+ result = {
46
+ ['-webkit-line-clamp']: `${this.textLines}`,
47
+ };
48
+ }
49
+ return result;
50
+ }
29
51
  static get is() { return "ptc-tooltip"; }
30
52
  static get encapsulation() { return "shadow"; }
31
53
  static get originalStyleUrls() {
@@ -76,6 +98,26 @@ export class PtcTooltip {
76
98
  "reflect": false,
77
99
  "defaultValue": "45"
78
100
  },
101
+ "textLines": {
102
+ "type": "number",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "number",
106
+ "resolved": "number",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": true,
111
+ "docs": {
112
+ "tags": [{
113
+ "name": "returns",
114
+ "text": "string"
115
+ }],
116
+ "text": "Ellipsis apply to X lines"
117
+ },
118
+ "attribute": "text-lines",
119
+ "reflect": false
120
+ },
79
121
  "description": {
80
122
  "type": "string",
81
123
  "mutable": false,
@@ -150,4 +192,13 @@ export class PtcTooltip {
150
192
  };
151
193
  }
152
194
  static get elementRef() { return "el"; }
195
+ static get listeners() {
196
+ return [{
197
+ "name": "resize",
198
+ "method": "addTruncatedClass",
199
+ "target": "window",
200
+ "capture": false,
201
+ "passive": true
202
+ }];
203
+ }
153
204
  }
@@ -20,6 +20,12 @@ export const ListItem: {
20
20
  new (): ListItem;
21
21
  };
22
22
 
23
+ interface MaxWidthContainer extends Components.MaxWidthContainer, HTMLElement {}
24
+ export const MaxWidthContainer: {
25
+ prototype: MaxWidthContainer;
26
+ new (): MaxWidthContainer;
27
+ };
28
+
23
29
  interface MyComponent extends Components.MyComponent, HTMLElement {}
24
30
  export const MyComponent: {
25
31
  prototype: MyComponent;
@@ -44,6 +50,12 @@ export const PtcAnnouncement: {
44
50
  new (): PtcAnnouncement;
45
51
  };
46
52
 
53
+ interface PtcBackgroundVideo extends Components.PtcBackgroundVideo, HTMLElement {}
54
+ export const PtcBackgroundVideo: {
55
+ prototype: PtcBackgroundVideo;
56
+ new (): PtcBackgroundVideo;
57
+ };
58
+
47
59
  interface PtcBreadcrumb extends Components.PtcBreadcrumb, HTMLElement {}
48
60
  export const PtcBreadcrumb: {
49
61
  prototype: PtcBreadcrumb;