@ptcwebops/ptcw-design 0.4.5 → 0.4.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 (198) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{icon-asset_4.cjs.entry.js → icon-asset_8.cjs.entry.js} +299 -220
  3. package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  6. package/dist/cjs/my-component.cjs.entry.js +13 -13
  7. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
  8. package/dist/cjs/ptc-button.cjs.entry.js +65 -65
  9. package/dist/cjs/ptc-card-bottom.cjs.entry.js +31 -31
  10. package/dist/cjs/ptc-card-content.cjs.entry.js +31 -31
  11. package/dist/cjs/ptc-card-plm.cjs.entry.js +16 -16
  12. package/dist/cjs/ptc-card.cjs.entry.js +68 -68
  13. package/dist/cjs/ptc-countdown.cjs.entry.js +8 -8
  14. package/dist/cjs/ptc-date.cjs.entry.js +48 -48
  15. package/dist/cjs/ptc-footer.cjs.entry.js +8 -8
  16. package/dist/cjs/ptc-form.cjs.entry.js +104 -104
  17. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  18. package/dist/cjs/ptc-img_2.cjs.entry.js +169 -169
  19. package/dist/cjs/ptc-input.cjs.entry.js +20 -20
  20. package/dist/cjs/ptc-link.cjs.entry.js +43 -43
  21. package/dist/cjs/ptc-list.cjs.entry.js +20 -20
  22. package/dist/cjs/ptc-lottie.cjs.entry.js +12 -12
  23. package/dist/cjs/ptc-modal.cjs.entry.js +103 -103
  24. package/dist/cjs/ptc-nav-item.cjs.entry.js +83 -83
  25. package/dist/cjs/ptc-nav.cjs.entry.js +8 -8
  26. package/dist/cjs/ptc-para.cjs.entry.js +39 -39
  27. package/dist/cjs/ptc-picture.cjs.entry.js +158 -158
  28. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  29. package/dist/cjs/ptc-select.cjs.entry.js +24 -24
  30. package/dist/cjs/ptc-social-share.cjs.entry.js +64 -64
  31. package/dist/cjs/ptc-spacer.cjs.entry.js +35 -35
  32. package/dist/cjs/ptc-span.cjs.entry.js +23 -23
  33. package/dist/cjs/ptc-title.cjs.entry.js +44 -44
  34. package/dist/cjs/ptcw-design.cjs.js +1 -1
  35. package/dist/collection/collection-manifest.json +3 -0
  36. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  37. package/dist/collection/components/icon-asset/icon-asset.js +178 -178
  38. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  39. package/dist/collection/components/icon-asset/media/designer.svg +316 -316
  40. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  41. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  42. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  43. package/dist/collection/components/list-item/list-item.css +31 -0
  44. package/dist/collection/components/list-item/list-item.js +103 -84
  45. package/dist/collection/components/my-component/my-component.css +3 -3
  46. package/dist/collection/components/my-component/my-component.js +73 -73
  47. package/dist/collection/components/ptc-announcement/ptc-announcement.css +11 -5
  48. package/dist/collection/components/ptc-announcement/ptc-announcement.js +170 -170
  49. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -21
  50. package/dist/collection/components/ptc-button/ptc-button.js +293 -293
  51. package/dist/collection/components/ptc-card/ptc-card.js +282 -282
  52. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +105 -105
  53. package/dist/collection/components/ptc-card-content/ptc-card-content.js +105 -105
  54. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -97
  55. package/dist/collection/components/ptc-countdown/ptc-countdown.js +15 -15
  56. package/dist/collection/components/ptc-date/ptc-date.js +201 -201
  57. package/dist/collection/components/ptc-footer/ptc-footer.js +25 -25
  58. package/dist/collection/components/ptc-form/ptc-form.js +118 -118
  59. package/dist/collection/components/ptc-form/validation/FormValidation.js +4234 -4234
  60. package/dist/collection/components/ptc-hero/ptc-hero.js +67 -67
  61. package/dist/collection/components/ptc-img/ptc-img.js +314 -314
  62. package/dist/collection/components/ptc-input/ptc-input.js +133 -133
  63. package/dist/collection/components/ptc-link/ptc-link.css +1 -1
  64. package/dist/collection/components/ptc-link/ptc-link.js +198 -198
  65. package/dist/collection/components/ptc-list/ptc-list.js +63 -63
  66. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  67. package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -58
  68. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.css +44 -0
  69. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +17 -0
  70. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.css +77 -0
  71. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +80 -0
  72. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +220 -220
  73. package/dist/collection/components/ptc-modal/ptc-modal.js +252 -252
  74. package/dist/collection/components/ptc-nav/ptc-nav.js +21 -21
  75. package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -252
  76. package/dist/collection/components/ptc-overlay/ptc-overlay.js +99 -99
  77. package/dist/collection/components/ptc-para/ptc-para.js +157 -157
  78. package/dist/collection/components/ptc-picture/ptc-picture.js +428 -428
  79. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +24 -0
  80. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +54 -0
  81. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  82. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +62 -62
  83. package/dist/collection/components/ptc-select/ptc-select.js +105 -105
  84. package/dist/collection/components/ptc-social-share/ptc-social-share.js +206 -206
  85. package/dist/collection/components/ptc-spacer/ptc-spacer.css +322 -322
  86. package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -99
  87. package/dist/collection/components/ptc-span/ptc-span.js +89 -89
  88. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +16 -0
  89. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +71 -69
  90. package/dist/collection/components/ptc-title/ptc-title.js +231 -231
  91. package/dist/collection/index.js +1 -1
  92. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -0
  93. package/dist/collection/media/svg-imgs/close.svg +10 -10
  94. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  95. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  96. package/dist/collection/utils/interfaces.js +11 -11
  97. package/dist/collection/utils/utils.js +3 -3
  98. package/dist/custom-elements/index.d.ts +18 -0
  99. package/dist/custom-elements/index.js +2058 -1993
  100. package/dist/esm/{icon-asset_4.entry.js → icon-asset_8.entry.js} +296 -221
  101. package/dist/esm/{interfaces-c1c73092.js → interfaces-7c0243be.js} +9 -9
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/esm/lottie-player.entry.js +354 -354
  104. package/dist/esm/my-component.entry.js +13 -13
  105. package/dist/esm/polyfills/core-js.js +0 -0
  106. package/dist/esm/polyfills/dom.js +0 -0
  107. package/dist/esm/polyfills/es5-html-element.js +0 -0
  108. package/dist/esm/polyfills/index.js +0 -0
  109. package/dist/esm/polyfills/system.js +0 -0
  110. package/dist/esm/ptc-breadcrumb.entry.js +12 -12
  111. package/dist/esm/ptc-button.entry.js +65 -65
  112. package/dist/esm/ptc-card-bottom.entry.js +31 -31
  113. package/dist/esm/ptc-card-content.entry.js +31 -31
  114. package/dist/esm/ptc-card-plm.entry.js +16 -16
  115. package/dist/esm/ptc-card.entry.js +68 -68
  116. package/dist/esm/ptc-countdown.entry.js +8 -8
  117. package/dist/esm/ptc-date.entry.js +48 -48
  118. package/dist/esm/ptc-footer.entry.js +8 -8
  119. package/dist/esm/ptc-form.entry.js +104 -104
  120. package/dist/esm/ptc-hero.entry.js +18 -18
  121. package/dist/esm/ptc-img_2.entry.js +169 -169
  122. package/dist/esm/ptc-input.entry.js +20 -20
  123. package/dist/esm/ptc-link.entry.js +43 -43
  124. package/dist/esm/ptc-list.entry.js +20 -20
  125. package/dist/esm/ptc-lottie.entry.js +12 -12
  126. package/dist/esm/ptc-modal.entry.js +103 -103
  127. package/dist/esm/ptc-nav-item.entry.js +83 -83
  128. package/dist/esm/ptc-nav.entry.js +8 -8
  129. package/dist/esm/ptc-para.entry.js +39 -39
  130. package/dist/esm/ptc-picture.entry.js +158 -158
  131. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  132. package/dist/esm/ptc-select.entry.js +24 -24
  133. package/dist/esm/ptc-social-share.entry.js +64 -64
  134. package/dist/esm/ptc-spacer.entry.js +35 -35
  135. package/dist/esm/ptc-span.entry.js +23 -23
  136. package/dist/esm/ptc-title.entry.js +44 -44
  137. package/dist/esm/ptcw-design.js +1 -1
  138. package/dist/ptcw-design/media/brands.svg +1381 -1381
  139. package/dist/ptcw-design/media/designer.svg +316 -316
  140. package/dist/ptcw-design/media/regular.svg +463 -463
  141. package/dist/ptcw-design/media/solid.svg +3013 -3013
  142. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  143. package/dist/ptcw-design/{p-1e39bc14.entry.js → p-894e8c85.entry.js} +1 -1
  144. package/dist/ptcw-design/p-ba5ae1ea.entry.js +1 -0
  145. package/dist/ptcw-design/{p-b7981c22.entry.js → p-e87c04ae.entry.js} +2 -2
  146. package/dist/ptcw-design/{p-27538cac.entry.js → p-f2f1c015.entry.js} +1 -1
  147. package/dist/ptcw-design/ptcw-design.css +1 -1
  148. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  149. package/dist/ptcw-design/validation/FormValidation.js +4234 -4234
  150. package/dist/types/components/icon-asset/icon-asset.d.ts +32 -32
  151. package/dist/types/components/list-item/list-item.d.ts +8 -7
  152. package/dist/types/components/my-component/my-component.d.ts +16 -16
  153. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +35 -35
  154. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  155. package/dist/types/components/ptc-button/ptc-button.d.ts +56 -56
  156. package/dist/types/components/ptc-card/ptc-card.d.ts +50 -50
  157. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  158. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +15 -15
  159. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -8
  160. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +3 -3
  161. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  162. package/dist/types/components/ptc-footer/ptc-footer.d.ts +3 -3
  163. package/dist/types/components/ptc-form/ptc-form.d.ts +11 -11
  164. package/dist/types/components/ptc-hero/ptc-hero.d.ts +12 -12
  165. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  166. package/dist/types/components/ptc-input/ptc-input.d.ts +19 -19
  167. package/dist/types/components/ptc-link/ptc-link.d.ts +36 -36
  168. package/dist/types/components/ptc-list/ptc-list.d.ts +6 -6
  169. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  170. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -0
  171. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -0
  172. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +40 -40
  173. package/dist/types/components/ptc-modal/ptc-modal.d.ts +46 -46
  174. package/dist/types/components/ptc-nav/ptc-nav.d.ts +3 -3
  175. package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +53 -53
  176. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +20 -20
  177. package/dist/types/components/ptc-para/ptc-para.d.ts +28 -28
  178. package/dist/types/components/ptc-picture/ptc-picture.d.ts +82 -82
  179. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -0
  180. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  181. package/dist/types/components/ptc-select/ptc-select.d.ts +9 -9
  182. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +25 -25
  183. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  184. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  185. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  186. package/dist/types/components/ptc-title/ptc-title.d.ts +41 -41
  187. package/dist/types/components.d.ts +77 -26
  188. package/dist/types/global.d.ts +1072 -1072
  189. package/dist/types/index.d.ts +1 -1
  190. package/dist/types/utils/interfaces.d.ts +14 -14
  191. package/dist/types/utils/utils.d.ts +1 -1
  192. package/package.json +58 -58
  193. package/readme.md +11 -11
  194. package/dist/cjs/list-item.cjs.entry.js +0 -29
  195. package/dist/esm/list-item.entry.js +0 -25
  196. package/dist/ptcw-design/p-5672aca0.entry.js +0 -1
  197. package/dist/ptcw-design/p-80c03571.entry.js +0 -1
  198. /package/dist/ptcw-design/{p-50e52c88.js → p-ee1183b2.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import { r as registerInstance, h } from './index-357497dc.js';
2
2
 
3
- function format(first, middle, last) {
4
- return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ function format(first, middle, last) {
4
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
5
5
  }
6
6
 
7
7
  const myComponentCss = ":host{display:block}";
8
8
 
9
- let MyComponent = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- }
13
- getText() {
14
- return format(this.first, this.middle, this.last);
15
- }
16
- render() {
17
- return h("div", null, "Hello, World! I'm ", this.getText());
18
- }
19
- };
9
+ let MyComponent = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ }
13
+ getText() {
14
+ return format(this.first, this.middle, this.last);
15
+ }
16
+ render() {
17
+ return h("div", null, "Hello, World! I'm ", this.getText());
18
+ }
19
+ };
20
20
  MyComponent.style = myComponentCss;
21
21
 
22
22
  export { MyComponent as my_component };
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,18 +2,18 @@ import { r as registerInstance, h, H as Host } from './index-357497dc.js';
2
2
 
3
3
  const ptcBreadcrumbCss = ":host{display:block;margin-top:21px}::slotted(*){transform:translate(-2px, -2px)}";
4
4
 
5
- let PtcBreadcrumb = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- const classMap = this.getCssClassMap();
11
- return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "large", name: "icon-home", color: "white" })), h("slot", null)));
12
- }
13
- getCssClassMap() {
14
- return {};
15
- }
16
- };
5
+ let PtcBreadcrumb = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ const classMap = this.getCssClassMap();
11
+ return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "large", name: "icon-home", color: "white" })), h("slot", null)));
12
+ }
13
+ getCssClassMap() {
14
+ return {};
15
+ }
16
+ };
17
17
  PtcBreadcrumb.style = ptcBreadcrumbCss;
18
18
 
19
19
  export { PtcBreadcrumb as ptc_breadcrumb };
@@ -2,71 +2,71 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-3
2
2
 
3
3
  const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-primary-uigrey);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:3px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:0.86}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(285deg, var(--color-primary-uigrey) 155%, #6e717c 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px #5bb73b;background-image:linear-gradient(285deg, #5bb73b 155%, #178642 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-primary-uigrey);background-image:linear-gradient(to right, #ffffff, #d3d3d3, #e5e5e5)}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-primary-uigrey)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:4px;margin-top:4px;box-shadow:0 0 25.8px 3.2px rgba(0, 0, 0, 0.5);border:solid 2.5px var(--color-secondary-tutlegreen-dark);background-image:linear-gradient(to right, var(--color-secondary-turtlegreen), var(--color-secondary-tutlegreen-dark))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-secondary-tutlegreen-dark), var(--color-secondary-turtlegreen));opacity:0;transition:opacity 0.6s cubic-bezier(0, 0, 0.23, 1);border-radius:2px}.legacy-green:hover{box-shadow:0 0 49px 6.1px rgba(0, 0, 0, 0.55)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-medium)}@media screen and (min-width: 768px){.legacy-green span{font-size:19px;letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:3px;display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all ease-out 0.25s;position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:#323b42;border-radius:var(--ptc-border-radius-medium);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:13px;font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:26px;list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.nav:focus{outline:3px solid #0092d1;outline-offset:2px}.nav:hover{background-color:#20262a}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-small) var(--ptc-font-size-large);transition:background-color var(--ptc-standard-ease) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:#a8aaaf;background:#e1e2e4}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:#a8aaaf}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:#a8aaaf !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid #0092d1;outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:17px;line-height:20px;letter-spacing:normal}.ptc-primary{background:#1f2024;border:2px solid #5bb73a;border-radius:var(--ptc-border-radius-medium)}.ptc-primary:hover{background-color:#33353a}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:#1f2024;border:2px solid #6d707b;border-radius:var(--ptc-border-radius-medium)}.ptc-secondary:hover{background-color:#33353a}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-primary-grey);border-radius:var(--ptc-border-radius-medium)}.ptc-tertiary:hover{background-color:#e1e2e4}.ptc-tertiary:active{background-color:#c5c5ca}.ptc-tertiary span{color:var(--color-primary-grey)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-primary-grey) !important}.ptc-quaternary{background:#158542;border:2px solid #459e67;border-radius:var(--ptc-border-radius-medium)}.ptc-quaternary:hover{background-color:#17713a}.ptc-quaternary:active{background-color:#186135}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
4
4
 
5
- let PtcButton = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.clickEvent = createEvent(this, "clickEvent", 7);
9
- /**
10
- * Disabled button
11
- */
12
- this.disabled = false;
13
- /**
14
- * Button type
15
- */
16
- this.type = 'button';
17
- /**
18
- * Button theme color
19
- */
20
- this.color = 'ptc-primary';
21
- /**
22
- * Icon Animation
23
- */
24
- this.iconAnimation = '';
25
- /**
26
- * Icon Position
27
- */
28
- this.iconPosition = 'icon-right';
29
- /**
30
- * Link URL
31
- */
32
- this.linkHref = undefined;
33
- /**
34
- * link Title
35
- */
36
- this.linkTitle = undefined;
37
- /**
38
- * Link target
39
- * */
40
- this.target = '_self';
41
- /**
42
- * Link rel
43
- * */
44
- this.rel = undefined;
45
- /**
46
- * (optional) tab-nav.
47
- * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
48
- * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
49
- */
50
- this.tabNav = 0;
51
- }
52
- clickEventHandler() {
53
- this.clickEvent.emit();
54
- //console.log('click!');
55
- }
56
- render() {
57
- const classMap = this.getCssClassMap();
58
- const Tag = !!this.linkHref ? 'a' : 'button';
59
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
60
- }
61
- getCssClassMap() {
62
- return {
63
- [this.color]: true,
64
- [this.iconAnimation]: true,
65
- [this.iconPosition]: true,
66
- ['disabled']: this.disabled ? true : false,
67
- };
68
- }
69
- };
5
+ let PtcButton = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.clickEvent = createEvent(this, "clickEvent", 7);
9
+ /**
10
+ * Disabled button
11
+ */
12
+ this.disabled = false;
13
+ /**
14
+ * Button type
15
+ */
16
+ this.type = 'button';
17
+ /**
18
+ * Button theme color
19
+ */
20
+ this.color = 'ptc-primary';
21
+ /**
22
+ * Icon Animation
23
+ */
24
+ this.iconAnimation = '';
25
+ /**
26
+ * Icon Position
27
+ */
28
+ this.iconPosition = 'icon-right';
29
+ /**
30
+ * Link URL
31
+ */
32
+ this.linkHref = undefined;
33
+ /**
34
+ * link Title
35
+ */
36
+ this.linkTitle = undefined;
37
+ /**
38
+ * Link target
39
+ * */
40
+ this.target = '_self';
41
+ /**
42
+ * Link rel
43
+ * */
44
+ this.rel = undefined;
45
+ /**
46
+ * (optional) tab-nav.
47
+ * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
48
+ * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
49
+ */
50
+ this.tabNav = 0;
51
+ }
52
+ clickEventHandler() {
53
+ this.clickEvent.emit();
54
+ //console.log('click!');
55
+ }
56
+ render() {
57
+ const classMap = this.getCssClassMap();
58
+ const Tag = !!this.linkHref ? 'a' : 'button';
59
+ return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
60
+ }
61
+ getCssClassMap() {
62
+ return {
63
+ [this.color]: true,
64
+ [this.iconAnimation]: true,
65
+ [this.iconPosition]: true,
66
+ ['disabled']: this.disabled ? true : false,
67
+ };
68
+ }
69
+ };
70
70
  PtcButton.style = ptcButtonCss;
71
71
 
72
72
  export { PtcButton as ptc_button };
@@ -2,37 +2,37 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
 
3
3
  const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-05);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}@media screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
4
4
 
5
- let PtcCardBottom = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
- }
11
- hoverEventHandler() {
12
- this.hoverEvent.emit();
13
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
14
- this.el.previousElementSibling.classList.add('mouse-hover');
15
- this.el.classList.add('mouse-hover-card-bottom');
16
- }
17
- }
18
- leaveEventHandler() {
19
- this.hoverEvent.emit();
20
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
21
- this.el.previousElementSibling.classList.remove('mouse-hover');
22
- this.el.classList.remove('mouse-hover-card-bottom');
23
- }
24
- }
25
- render() {
26
- const classMap = this.getCssClassMap();
27
- return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
28
- }
29
- getCssClassMap() {
30
- return {
31
- [this.cardType]: this.cardType ? true : false,
32
- };
33
- }
34
- get el() { return getElement(this); }
35
- };
5
+ let PtcCardBottom = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
+ }
11
+ hoverEventHandler() {
12
+ this.hoverEvent.emit();
13
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
14
+ this.el.previousElementSibling.classList.add('mouse-hover');
15
+ this.el.classList.add('mouse-hover-card-bottom');
16
+ }
17
+ }
18
+ leaveEventHandler() {
19
+ this.hoverEvent.emit();
20
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
21
+ this.el.previousElementSibling.classList.remove('mouse-hover');
22
+ this.el.classList.remove('mouse-hover-card-bottom');
23
+ }
24
+ }
25
+ render() {
26
+ const classMap = this.getCssClassMap();
27
+ return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
28
+ }
29
+ getCssClassMap() {
30
+ return {
31
+ [this.cardType]: this.cardType ? true : false,
32
+ };
33
+ }
34
+ get el() { return getElement(this); }
35
+ };
36
36
  PtcCardBottom.style = ptcCardBottomCss;
37
37
 
38
38
  export { PtcCardBottom as ptc_card_bottom };
@@ -2,37 +2,37 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
 
3
3
  const ptcCardContentCss = ":host{display:block}:host(.speed-bump){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-05) 28px var(--ptc-element-spacing-05) 28px;text-align:center}:host(.speed-bump-2){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-06) 20px;text-align:center}@media screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media screen and (min-width: 1980px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}@media screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}}@media screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}";
4
4
 
5
- let PtcCardContent = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
- }
11
- hoverEventHandler() {
12
- this.hoverEvent.emit();
13
- this.el.classList.add('mouse-hover');
14
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
15
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
16
- }
17
- }
18
- leaveEventHandler() {
19
- this.hoverEvent.emit();
20
- this.el.classList.remove('mouse-hover');
21
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
22
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
23
- }
24
- }
25
- render() {
26
- const classMap = this.getCssClassMap();
27
- return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
28
- }
29
- getCssClassMap() {
30
- return {
31
- [this.cardType]: !!this.cardType ? true : false,
32
- };
33
- }
34
- get el() { return getElement(this); }
35
- };
5
+ let PtcCardContent = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
+ }
11
+ hoverEventHandler() {
12
+ this.hoverEvent.emit();
13
+ this.el.classList.add('mouse-hover');
14
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
15
+ this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
16
+ }
17
+ }
18
+ leaveEventHandler() {
19
+ this.hoverEvent.emit();
20
+ this.el.classList.remove('mouse-hover');
21
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
22
+ this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
23
+ }
24
+ }
25
+ render() {
26
+ const classMap = this.getCssClassMap();
27
+ return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
28
+ }
29
+ getCssClassMap() {
30
+ return {
31
+ [this.cardType]: !!this.cardType ? true : false,
32
+ };
33
+ }
34
+ get el() { return getElement(this); }
35
+ };
36
36
  PtcCardContent.style = ptcCardContentCss;
37
37
 
38
38
  export { PtcCardContent as ptc_card_content };
@@ -2,22 +2,22 @@ import { r as registerInstance, h, H as Host } from './index-357497dc.js';
2
2
 
3
3
  const ptcCardPlmCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-video-p){padding:24px 24px 28px 24px}:host(.card-m-right){margin-right:8px}:host(.card-m-left){margin-left:8px}@media screen and (min-width: 768px){:host(.card-m-right){margin-right:12px}:host(.card-m-left){margin-left:12px}}@media screen and (min-width: 992px){:host(.card-m-right){margin-right:16px}:host(.card-m-left){margin-left:16px}}@media screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}";
4
4
 
5
- let PtcCardPlm = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.linkTarget = '_self';
9
- }
10
- render() {
11
- const classMap = this.getCssClassMap();
12
- const Tag = !!this.cardLink ? 'a' : 'div';
13
- return (h(Host, { class: classMap }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
14
- }
15
- getCssClassMap() {
16
- return {
17
- [this.cardType]: this.cardType ? true : false
18
- };
19
- }
20
- };
5
+ let PtcCardPlm = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.linkTarget = '_self';
9
+ }
10
+ render() {
11
+ const classMap = this.getCssClassMap();
12
+ const Tag = !!this.cardLink ? 'a' : 'div';
13
+ return (h(Host, { class: classMap }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
14
+ }
15
+ getCssClassMap() {
16
+ return {
17
+ [this.cardType]: this.cardType ? true : false
18
+ };
19
+ }
20
+ };
21
21
  PtcCardPlm.style = ptcCardPlmCss;
22
22
 
23
23
  export { PtcCardPlm as ptc_card_plm };
@@ -2,74 +2,74 @@ import { r as registerInstance, h, H as Host } from './index-357497dc.js';
2
2
 
3
3
  const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:1px 1px 14px 0 rgba(101, 101, 101, 0.35);border:1px solid #c9c9c9;border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:#74c34d;z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:1px 1px 35px 0 rgba(101, 101, 101, 0.65)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-primary-green)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 992px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid #c9c9c9;display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:1;color:#40434a;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-medium);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:15px}:host(.simple-card) .card-body h3{color:#40434a;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:1.86;position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:\"\";width:var(--ptc-element-spacing-06);border-bottom:2px solid var(--color-secondary-turtlegreen);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:5px;transition:margin-left var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-medium)}:host(.clip-edge-card) .card-body{transform:translateY(calc((-1) * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:#40434a;clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-medium);padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-primary-uigrey);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-standard-ease), margin var(--ptc-transition-medium) var(--ptc-standard-ease);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-standard-ease), opacity var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-standard-ease)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-secondary-turtlegreen)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:54px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{box-shadow:0px 3px 6px rgba(0, 0, 0, 0.16);width:100%;border-radius:var(--ptc-border-radius-medium);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05);opacity:1}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);background-color:var(--color-white)}:host(.hightlight-card) .card-body h3{font-size:30px;line-height:1.27;font-weight:var(--ptc-font-weight-bold);color:var(--color-primary-uigrey);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-standard-ease), opacity var(--ptc-transition-fast) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}";
4
4
 
5
- let PtcCard = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- /**
9
- * Card Type
10
- * Specify Card Type, default to simple card
11
- */
12
- this.cardType = 'custom-card';
13
- /**
14
- * Card Link URL (Optional)
15
- */
16
- this.cardHref = undefined;
17
- /**
18
- * (optional) Link card target
19
- * */
20
- this.target = '_self';
21
- /**
22
- * (optional) Link card rel
23
- * */
24
- this.rel = undefined;
25
- /**
26
- * If this card has Image
27
- */
28
- this.hasImage = false;
29
- /**
30
- * If this card has Video
31
- */
32
- this.hasVideo = false;
33
- /**
34
- * If this card has Lottie Image
35
- */
36
- this.hasLottie = false;
37
- /**
38
- * Card heading text transform
39
- */
40
- this.headingTransform = 'none';
41
- }
42
- render() {
43
- const Tag = !!this.cardHref ? 'a' : 'div';
44
- const classMap = this.getCssClassMap();
45
- return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.getMediaSlot ? h("slot", { name: this.getMediaSlot() }) : null)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h("slot", { name: "slot-before-heading" }), !!this.heading
46
- ? [
47
- h("h3", { class: `ptc-h3 ${this.headingTransform}`, part: "card-heading" }, this.heading),
48
- h("slot", { name: "slot-after-heading" }),
49
- ]
50
- : null, h("slot", { name: "slot-description" }), !!this.cardDate ? h("ptc-date", { "date-string": `${this.cardDate}`, "date-styles": "span{color:#40434a;font-size:var(--ptc-font-size-medium);margin-top:var(--ptc-element-spacing-05);display:inline-block;}" }) : null)))));
51
- }
52
- getCssClassMap() {
53
- return {
54
- ['card-layout']: true,
55
- ['link-wrapper']: !!this.cardType ? true : false,
56
- };
57
- }
58
- getMediaSlot() {
59
- if (this.hasLottie) {
60
- return 'slot-lottie';
61
- }
62
- else if (this.hasVideo) {
63
- return 'slot-video';
64
- }
65
- else if (this.hasImage) {
66
- return 'slot-image';
67
- }
68
- else {
69
- return null;
70
- }
71
- }
72
- };
5
+ let PtcCard = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /**
9
+ * Card Type
10
+ * Specify Card Type, default to simple card
11
+ */
12
+ this.cardType = 'custom-card';
13
+ /**
14
+ * Card Link URL (Optional)
15
+ */
16
+ this.cardHref = undefined;
17
+ /**
18
+ * (optional) Link card target
19
+ * */
20
+ this.target = '_self';
21
+ /**
22
+ * (optional) Link card rel
23
+ * */
24
+ this.rel = undefined;
25
+ /**
26
+ * If this card has Image
27
+ */
28
+ this.hasImage = false;
29
+ /**
30
+ * If this card has Video
31
+ */
32
+ this.hasVideo = false;
33
+ /**
34
+ * If this card has Lottie Image
35
+ */
36
+ this.hasLottie = false;
37
+ /**
38
+ * Card heading text transform
39
+ */
40
+ this.headingTransform = 'none';
41
+ }
42
+ render() {
43
+ const Tag = !!this.cardHref ? 'a' : 'div';
44
+ const classMap = this.getCssClassMap();
45
+ return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.getMediaSlot ? h("slot", { name: this.getMediaSlot() }) : null)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h("slot", { name: "slot-before-heading" }), !!this.heading
46
+ ? [
47
+ h("h3", { class: `ptc-h3 ${this.headingTransform}`, part: "card-heading" }, this.heading),
48
+ h("slot", { name: "slot-after-heading" }),
49
+ ]
50
+ : null, h("slot", { name: "slot-description" }), !!this.cardDate ? h("ptc-date", { "date-string": `${this.cardDate}`, "date-styles": "span{color:#40434a;font-size:var(--ptc-font-size-medium);margin-top:var(--ptc-element-spacing-05);display:inline-block;}" }) : null)))));
51
+ }
52
+ getCssClassMap() {
53
+ return {
54
+ ['card-layout']: true,
55
+ ['link-wrapper']: !!this.cardType ? true : false,
56
+ };
57
+ }
58
+ getMediaSlot() {
59
+ if (this.hasLottie) {
60
+ return 'slot-lottie';
61
+ }
62
+ else if (this.hasVideo) {
63
+ return 'slot-video';
64
+ }
65
+ else if (this.hasImage) {
66
+ return 'slot-image';
67
+ }
68
+ else {
69
+ return null;
70
+ }
71
+ }
72
+ };
73
73
  PtcCard.style = ptcCardCss;
74
74
 
75
75
  export { PtcCard as ptc_card };
@@ -2,14 +2,14 @@ import { r as registerInstance, h, H as Host } from './index-357497dc.js';
2
2
 
3
3
  const ptcCountdownCss = ":host{display:block}";
4
4
 
5
- let PtcCountdown = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return (h(Host, null, h("slot", null)));
11
- }
12
- };
5
+ let PtcCountdown = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h(Host, null, h("slot", null)));
11
+ }
12
+ };
13
13
  PtcCountdown.style = ptcCountdownCss;
14
14
 
15
15
  export { PtcCountdown as ptc_countdown };