@ptcwebops/ptcw-design 6.3.10 → 6.3.11-beta

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 (206) hide show
  1. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/event-jumbotron-example.cjs.entry.js +3 -36
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  7. package/dist/cjs/ptc-bio-card.cjs.entry.js +4 -2
  8. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -7
  9. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +28 -27
  11. package/dist/cjs/ptc-countdown.cjs.entry.js +17 -19
  12. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  13. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +66 -0
  14. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  16. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +789 -5
  17. package/dist/cjs/ptc-icon-list.cjs.entry.js +6 -3
  18. package/dist/cjs/ptc-jumbotron.cjs.entry.js +2 -3
  19. package/dist/cjs/ptc-mobile-select.cjs.entry.js +10 -1
  20. package/dist/cjs/ptc-office-locations.cjs.entry.js +3 -13
  21. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  24. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +1 -3
  31. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -10
  33. package/dist/cjs/ptcw-design.cjs.js +1 -1
  34. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +66 -0
  35. package/dist/collection/collection-manifest.json +3 -1
  36. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  37. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  38. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  39. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +4 -8
  40. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +2 -35
  41. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  42. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  43. package/dist/collection/components/organism-bundles/{ptc-icon-card-slider-example/ptc-icon-card-slider-example.css → storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css} +57 -82
  44. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +63 -0
  45. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  46. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +3 -1
  47. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  48. package/dist/collection/components/ptc-container/ptc-container.js +2 -2
  49. package/dist/collection/components/ptc-countdown/ptc-countdown.js +17 -19
  50. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +126 -0
  51. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +112 -0
  52. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  53. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  54. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +5 -0
  55. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +40 -2
  56. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -24
  57. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -20
  58. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +11 -2
  59. package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
  60. package/dist/collection/components/ptc-modal/ptc-modal.js +47 -28
  61. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +4 -15
  62. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  63. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  64. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  65. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -102
  66. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -6
  67. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  68. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  69. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  70. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  71. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  72. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  73. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  74. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  75. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  76. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +1 -3
  77. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  78. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  79. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -9
  80. package/dist/collection/stories/BackgroundImage.stories.js +42 -20
  81. package/dist/collection/stories/MobileSelect.stories.js +21 -11
  82. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  83. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  84. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  85. package/dist/custom-elements/index.d.ts +18 -6
  86. package/dist/custom-elements/index.js +331 -221
  87. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  88. package/dist/esm/event-jumbotron-example.entry.js +3 -36
  89. package/dist/esm/featured-list.entry.js +1 -1
  90. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/modal-form-example.entry.js +90 -0
  93. package/dist/esm/ptc-bio-card.entry.js +4 -2
  94. package/dist/esm/ptc-card_2.entry.js +5 -7
  95. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  96. package/dist/esm/ptc-close-icon_2.entry.js +28 -27
  97. package/dist/esm/ptc-countdown.entry.js +17 -19
  98. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  99. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +62 -0
  100. package/dist/esm/ptc-featured-list.entry.js +1 -1
  101. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  102. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +786 -4
  103. package/dist/esm/ptc-icon-list.entry.js +6 -3
  104. package/dist/esm/ptc-jumbotron.entry.js +2 -3
  105. package/dist/esm/ptc-mobile-select.entry.js +10 -1
  106. package/dist/esm/ptc-office-locations.entry.js +3 -13
  107. package/dist/esm/ptc-para.entry.js +1 -1
  108. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  109. package/dist/esm/ptc-previous-url.entry.js +10 -2
  110. package/dist/esm/ptc-product-card.entry.js +1 -1
  111. package/dist/esm/ptc-product-category.entry.js +1 -1
  112. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  113. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  114. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  115. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  116. package/dist/esm/ptc-value-led-layout.entry.js +1 -3
  117. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  118. package/dist/esm/ptc-white-paper.entry.js +11 -11
  119. package/dist/esm/ptcw-design.js +1 -1
  120. package/dist/esm/storefront-enhanced-product-list-example.entry.js +62 -0
  121. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  122. package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
  123. package/dist/ptcw-design/{p-7fb155da.entry.js → p-072aa896.entry.js} +1 -1
  124. package/dist/ptcw-design/p-08b281d1.entry.js +68 -0
  125. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  126. package/dist/ptcw-design/p-0d223232.entry.js +1 -0
  127. package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
  128. package/dist/ptcw-design/{p-9f194554.entry.js → p-21aa746d.entry.js} +1 -1
  129. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  130. package/dist/ptcw-design/p-38b7ca02.entry.js +1 -0
  131. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  132. package/dist/ptcw-design/p-42992202.entry.js +1 -0
  133. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
  134. package/dist/ptcw-design/p-52e6613f.entry.js +1 -0
  135. package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
  136. package/dist/ptcw-design/p-72825cf6.entry.js +1 -0
  137. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  138. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  139. package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-867a808f.entry.js} +1 -1
  140. package/dist/ptcw-design/p-8eb89969.entry.js +1 -0
  141. package/dist/ptcw-design/p-94f99d2d.entry.js +1 -0
  142. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  143. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  144. package/dist/ptcw-design/p-ae50e218.entry.js +1 -0
  145. package/dist/ptcw-design/p-b5094974.entry.js +1 -0
  146. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  147. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  148. package/dist/ptcw-design/p-bd6af63e.entry.js +1 -0
  149. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  150. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  151. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  152. package/dist/ptcw-design/p-f4eb6d0a.entry.js +1 -0
  153. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  154. package/dist/ptcw-design/ptcw-design.css +2 -2
  155. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  156. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -2
  157. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  158. package/dist/types/components/organism-bundles/{ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts → storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts} +3 -3
  159. package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
  160. package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +20 -0
  161. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +2 -0
  162. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  163. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +1 -1
  164. package/dist/types/components/ptc-modal/ptc-modal.d.ts +3 -1
  165. package/dist/types/components/ptc-office-locations/ptc-office-locations.d.ts +0 -1
  166. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  167. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  168. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -0
  169. package/dist/types/components.d.ts +71 -23
  170. package/package.json +1 -1
  171. package/readme.md +5 -1
  172. package/dist/cjs/component-5b5b6a98.js +0 -1819
  173. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +0 -82
  174. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -672
  175. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  176. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +0 -77
  177. package/dist/esm/component-341e4eaa.js +0 -1802
  178. package/dist/esm/ptc-icon-card-slider-example.entry.js +0 -78
  179. package/dist/esm/ptc-multi-select_2.entry.js +0 -667
  180. package/dist/esm/validation-messages-adbb6518.js +0 -124
  181. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  182. package/dist/ptcw-design/p-076efe50.entry.js +0 -68
  183. package/dist/ptcw-design/p-114d0de7.entry.js +0 -1
  184. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  185. package/dist/ptcw-design/p-18a5a338.js +0 -1
  186. package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
  187. package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
  188. package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
  189. package/dist/ptcw-design/p-38b782e8.entry.js +0 -1
  190. package/dist/ptcw-design/p-54f6e1a5.entry.js +0 -1
  191. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  192. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  193. package/dist/ptcw-design/p-752bba1c.entry.js +0 -1
  194. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  195. package/dist/ptcw-design/p-ab3d2934.entry.js +0 -1
  196. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  197. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  198. package/dist/ptcw-design/p-bab5bb88.entry.js +0 -1
  199. package/dist/ptcw-design/p-be533f0d.js +0 -134
  200. package/dist/ptcw-design/p-bf3bc577.entry.js +0 -1
  201. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  202. package/dist/ptcw-design/p-c8f68292.entry.js +0 -1
  203. package/dist/ptcw-design/p-d5441844.entry.js +0 -1
  204. package/dist/ptcw-design/p-d66debb3.entry.js +0 -1
  205. package/dist/ptcw-design/p-e5369c4d.entry.js +0 -1
  206. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
@@ -34,7 +34,7 @@ a {
34
34
  }
35
35
 
36
36
  .light-links,.background-grey-10,.background-plm-grey {
37
- a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), a.light-link {
37
+ a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), a.light-link {
38
38
  color: var(--color-blue-04);
39
39
  margin: -2px;
40
40
  border: 2px solid transparent;
@@ -61,7 +61,7 @@ a {
61
61
  }
62
62
 
63
63
  &:focus-visible {
64
- border-radius: var(--ptc-border-radius-standard);
64
+ border-radius: var(--ptc-border-radius-standard);
65
65
  border: 2px solid rgb(255, 255, 255);
66
66
  outline: 5px solid var(--keyboard-nav-outline);
67
67
  }
@@ -71,7 +71,7 @@ a {
71
71
  border: 2px solid transparent;
72
72
 
73
73
  &:focus-visible {
74
- border-radius: var(--ptc-border-radius-standard);
74
+ border-radius: var(--ptc-border-radius-standard);
75
75
  border: 2px solid rgb(255, 255, 255);
76
76
  outline: 5px solid var(--keyboard-nav-outline);
77
77
  }
@@ -60,14 +60,9 @@ ptc-link, ptc-square-card,
60
60
  }
61
61
 
62
62
  .event-jumbotron {
63
- margin-bottom: calc(3rem - 5px);
63
+ margin-bottom: 3rem;
64
64
  width: 100%;
65
65
  }
66
- @media only screen and (min-width: 992px) {
67
- .event-jumbotron {
68
- margin-bottom: 3rem;
69
- }
70
- }
71
66
 
72
67
  .white-placeholder {
73
68
  position: absolute;
@@ -89,7 +84,7 @@ ptc-link, ptc-square-card,
89
84
  display: flex;
90
85
  gap: 24px;
91
86
  overflow-x: auto;
92
- padding: 5px 24px;
87
+ padding: 0 24px;
93
88
  scroll-snap-type: x mandatory;
94
89
  -webkit-overflow-scrolling: touch;
95
90
  cursor: grab;
@@ -213,7 +208,8 @@ ptc-link, ptc-square-card,
213
208
  cursor: auto;
214
209
  transition: transform 0.3s ease-in-out;
215
210
  width: 100%;
216
- padding: 0px;
211
+ padding-left: 0px;
212
+ padding-right: 0px;
217
213
  }
218
214
 
219
215
  .card {
@@ -75,7 +75,6 @@ export class EventJumbotronExample {
75
75
  },
76
76
  });
77
77
  this.trap.activate();
78
- this.setupTabNavigation(panel); //set up special navigation to no-content panel, skip tabindex=-1 container and focus on the A inside a shdow dom.
79
78
  }, 500);
80
79
  }
81
80
  else {
@@ -87,43 +86,11 @@ export class EventJumbotronExample {
87
86
  else if (!this.isDesktop) {
88
87
  if (!this.isDragging) {
89
88
  const modal = document.getElementById(`modal-${cardIndex}`);
90
- // console.log('open: ' + modal.id);
89
+ console.log('open: ' + modal.id);
91
90
  modal.show = true;
92
91
  }
93
92
  }
94
93
  }
95
- //Focus the ptc-button directly in the no content panel (tab navigation).
96
- setupTabNavigation(panel) {
97
- var _a;
98
- if (panel.querySelector('.no-content-card')) {
99
- const shadowButton = panel.querySelector('ptc-close-icon');
100
- const closeButton = (_a = shadowButton.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.close-icon');
101
- if (closeButton) {
102
- closeButton.addEventListener('keydown', (event) => {
103
- if (event.key === 'Tab' && !event.shiftKey) {
104
- event.preventDefault();
105
- this.focusShadowDomElement(panel);
106
- }
107
- });
108
- }
109
- }
110
- else {
111
- return;
112
- }
113
- }
114
- focusShadowDomElement(panel) {
115
- const card = panel.querySelector('.no-content-card');
116
- if (card) {
117
- const button = card.querySelector('ptc-button');
118
- // console.log('button: ' + button.innerHTML);
119
- if (button) {
120
- const link = button.shadowRoot.querySelector('a');
121
- if (link) {
122
- link.focus();
123
- }
124
- }
125
- }
126
- }
127
94
  showPanel(card, panel) {
128
95
  if (this.activePanel)
129
96
  return;
@@ -192,7 +159,7 @@ export class EventJumbotronExample {
192
159
  document.addEventListener('keydown', event => {
193
160
  if (event.key === 'Tab' || event.key === 'Enter' || event.key === ' ') {
194
161
  this.openedWithKeyboard = true;
195
- // console.log('keyboard status: ' + this.openedWithKeyboard);
162
+ console.log('keyboard status: ' + this.openedWithKeyboard);
196
163
  }
197
164
  });
198
165
  document.addEventListener('mousedown', () => {
@@ -0,0 +1,26 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .form-wrapper {
6
+ width: 371px;
7
+ display: flex;
8
+ border-radius: 3px;
9
+ background: #FFF;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ padding: 0px 32px;
13
+
14
+ @media only screen and (min-width: 360px) and (max-width: 479.55px) {
15
+ max-width: 360px;
16
+ width: 360px;
17
+ }
18
+
19
+ .button-wrapper {
20
+ display: flex;
21
+ justify-content: flex-end;
22
+ gap: 20px;
23
+ margin-top: 48px;
24
+ flex-wrap: wrap;
25
+ }
26
+ }
@@ -0,0 +1,99 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class PtcForm {
3
+ constructor() {
4
+ this.formData = {
5
+ email: '',
6
+ firstName: '',
7
+ lastName: '',
8
+ company: '',
9
+ country: '',
10
+ phone: '',
11
+ inquiryReason: '',
12
+ howhearselfreport: '',
13
+ policyChecked: false,
14
+ };
15
+ }
16
+ // private countryEle: HTMLPtcSelectElement;
17
+ // private inquiryreasonEle: HTMLPtcTextfieldElement;
18
+ // private howhearselfreport: HTMLPtcTextfieldElement;
19
+ componentDidLoad() {
20
+ this.formButton = this.el.querySelector('.form-submit');
21
+ this.formButton.addEventListener('click', this.handleSubmit.bind(this));
22
+ //get Email
23
+ this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
24
+ this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
25
+ this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
26
+ this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
27
+ this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
28
+ // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
29
+ // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
30
+ // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
31
+ }
32
+ handleInputChange(field, value) {
33
+ this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
34
+ }
35
+ handleSubmit(event) {
36
+ event.preventDefault();
37
+ this.formData.email = this.emailEle.inputValue;
38
+ this.formData.firstName = this.firstNameEle.inputValue;
39
+ this.formData.lastName = this.lastNameEle.inputValue;
40
+ this.formData.company = this.companyEle.inputValue;
41
+ this.formData.phone = this.phoneEle.inputValue;
42
+ // this.formData.country = this.countryEle.inputValue;
43
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
+ // console.log("get form Data: " + this.formData.email)
46
+ if (this.isValid()) {
47
+ const formSubmitEvent = new CustomEvent('formSubmit', {
48
+ detail: this.formData,
49
+ bubbles: true,
50
+ });
51
+ this.el.dispatchEvent(formSubmitEvent);
52
+ console.log('Form Submitted: ' + this.formData);
53
+ }
54
+ else {
55
+ console.log('Form validation failed');
56
+ console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
57
+ }
58
+ }
59
+ isValid() {
60
+ const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
61
+ const invalidLength = document.querySelectorAll('.invalid-field').length;
62
+ // console.log('invalid fields length: ' + invalidLength), check the select field
63
+ return (email !== '' &&
64
+ phone !== '' &&
65
+ firstName !== '' &&
66
+ lastName !== '' &&
67
+ company !== '' &&
68
+ country !== '' &&
69
+ inquiryReason !== '' &&
70
+ howhearselfreport != '' &&
71
+ policyChecked &&
72
+ invalidLength === 0);
73
+ }
74
+ render() {
75
+ const multiSelectItems = [
76
+ { text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
77
+ { text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
78
+ { text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
79
+ ];
80
+ return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
81
+ }
82
+ static get is() { return "modal-form-example"; }
83
+ static get originalStyleUrls() {
84
+ return {
85
+ "$": ["modal-form-example.css"]
86
+ };
87
+ }
88
+ static get styleUrls() {
89
+ return {
90
+ "$": ["modal-form-example.css"]
91
+ };
92
+ }
93
+ static get states() {
94
+ return {
95
+ "formData": {}
96
+ };
97
+ }
98
+ static get elementRef() { return "el"; }
99
+ }
@@ -995,56 +995,30 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
995
995
  transform: rotate(360deg);
996
996
  }
997
997
  }
998
- :host {
999
- position: relative;
1000
- }
1001
-
1002
- .ptc-icon-card-slider-wrapper {
1003
- margin-top: 1rem;
1004
- }
1005
- .ptc-icon-card-slider-wrapper .ptc-icon-slider-cards {
1006
- margin-top: 1rem;
1007
- }
1008
- .ptc-icon-card-slider-wrapper .swiper-horizontal {
1009
- display: block;
1010
- padding-bottom: 4.104rem;
1011
- padding-top: 5px;
1012
- scrollbar-width: none;
1013
- position: relative;
1014
- }
1015
- .ptc-icon-card-slider-wrapper .swiper-horizontal .icon-card {
1016
- padding: 2rem 1.5rem;
1017
- box-shadow: var(--ptc-shadow-small);
1018
- border-radius: var(--ptc-border-radius-standard);
998
+ storefront-enhanced-product-list-example .swiper {
999
+ width: 100%;
1019
1000
  height: 100%;
1020
- display: flex;
1021
- align-items: center;
1022
- justify-content: center;
1023
- text-align: center;
1024
1001
  }
1025
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-slide {
1026
- height: auto;
1027
- width: 284px;
1028
- }
1029
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-slide::-webkit-scrollbar {
1030
- display: none;
1002
+ storefront-enhanced-product-list-example .swiper-container {
1003
+ padding-left: 24px;
1004
+ padding-right: 24px;
1005
+ margin-left: -24px;
1006
+ margin-right: -24px;
1007
+ overflow-x: clip;
1031
1008
  }
1032
- @media only screen and (min-width: 992px) {
1033
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-slide {
1034
- width: 216px;
1035
- }
1009
+ storefront-enhanced-product-list-example .swiper-wrapper {
1010
+ max-width: 1200px;
1036
1011
  }
1037
- @media only screen and (min-width: 1200px) {
1038
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-slide {
1039
- width: 260px;
1040
- }
1012
+ storefront-enhanced-product-list-example .swiper-slide {
1013
+ width: max-content;
1014
+ height: auto;
1041
1015
  }
1042
- @media only screen and (min-width: 1440px) {
1043
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-slide {
1044
- width: 270px;
1045
- }
1016
+ storefront-enhanced-product-list-example .swiper-horizontal {
1017
+ position: relative;
1018
+ display: block;
1019
+ padding-bottom: 4.104rem;
1046
1020
  }
1047
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-scrollbar {
1021
+ storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar {
1048
1022
  position: absolute;
1049
1023
  left: 50%;
1050
1024
  transform: translate(-50%, -13px);
@@ -1054,22 +1028,25 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
1054
1028
  border-radius: 999px;
1055
1029
  background: #E4E7E9;
1056
1030
  }
1057
- .ptc-icon-card-slider-wrapper .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag {
1031
+ storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag {
1058
1032
  height: 8px;
1059
1033
  border-radius: 999px;
1060
1034
  background: #323B42;
1061
1035
  transform: translateX(-16px);
1062
1036
  }
1063
- .ptc-icon-card-slider-wrapper .swiper-button-prev:after,
1064
- .ptc-icon-card-slider-wrapper .swiper-button-next:after {
1037
+ storefront-enhanced-product-list-example .swiper-horizontal:has(.swiper-scrollbar[style*="display: none"]) {
1038
+ padding-bottom: 0;
1039
+ }
1040
+ storefront-enhanced-product-list-example .swiper-button-prev:after,
1041
+ storefront-enhanced-product-list-example .swiper-button-next:after {
1065
1042
  content: none;
1066
1043
  }
1067
- .ptc-icon-card-slider-wrapper .swiper-button-prev img,
1068
- .ptc-icon-card-slider-wrapper .swiper-button-next img {
1069
- background-color: var(--color-white);
1044
+ storefront-enhanced-product-list-example .swiper-button-prev img,
1045
+ storefront-enhanced-product-list-example .swiper-button-next img {
1046
+ background-color: #ffffff;
1070
1047
  }
1071
- .ptc-icon-card-slider-wrapper .swiper-button-prev,
1072
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-next {
1048
+ storefront-enhanced-product-list-example .swiper-button-prev,
1049
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next {
1073
1050
  top: auto;
1074
1051
  bottom: 0px;
1075
1052
  left: auto;
@@ -1078,29 +1055,29 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
1078
1055
  width: 40px;
1079
1056
  border-radius: 4px;
1080
1057
  }
1081
- .ptc-icon-card-slider-wrapper .swiper-button-prev:hover,
1082
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-next:hover {
1058
+ storefront-enhanced-product-list-example .swiper-button-prev:hover,
1059
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:hover {
1083
1060
  outline: none;
1084
1061
  outline-offset: 0;
1085
1062
  text-decoration: none;
1086
- background-color: var(--color-gray-02);
1063
+ background-color: #E4E7E9;
1087
1064
  transition: var(--ptc-transition-slow) linear;
1088
1065
  }
1089
- .ptc-icon-card-slider-wrapper .swiper-button-prev:focus, .ptc-icon-card-slider-wrapper .swiper-button-prev:active,
1090
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-next:focus,
1091
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-next:active {
1066
+ storefront-enhanced-product-list-example .swiper-button-prev:focus, storefront-enhanced-product-list-example .swiper-button-prev:active,
1067
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:focus,
1068
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:active {
1092
1069
  outline: none;
1093
1070
  outline-offset: 0;
1094
1071
  text-decoration: none;
1095
- background-color: var(--color-gray-03);
1072
+ background-color: #BEC6CA;
1096
1073
  }
1097
- .ptc-icon-card-slider-wrapper .swiper-button-prev svg,
1098
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-next svg {
1074
+ storefront-enhanced-product-list-example .swiper-button-prev svg,
1075
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next svg {
1099
1076
  height: 14px;
1100
1077
  width: 9px;
1101
1078
  }
1102
- .ptc-icon-card-slider-wrapper .swiper-button-next,
1103
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-prev {
1079
+ storefront-enhanced-product-list-example .swiper-button-next,
1080
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev {
1104
1081
  top: auto;
1105
1082
  bottom: 0px;
1106
1083
  right: auto;
@@ -1109,35 +1086,33 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
1109
1086
  width: 40px;
1110
1087
  border-radius: 4px;
1111
1088
  }
1112
- .ptc-icon-card-slider-wrapper .swiper-button-next:hover,
1113
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-prev:hover {
1089
+ storefront-enhanced-product-list-example .swiper-button-next:hover,
1090
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:hover {
1114
1091
  outline: none;
1115
1092
  outline-offset: 0;
1116
1093
  text-decoration: none;
1117
- background-color: var(--color-gray-02);
1094
+ background-color: #E4E7E9;
1118
1095
  transition: var(--ptc-transition-slow) linear;
1119
1096
  }
1120
- .ptc-icon-card-slider-wrapper .swiper-button-next:focus, .ptc-icon-card-slider-wrapper .swiper-button-next:active,
1121
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-prev:focus,
1122
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-prev:active {
1097
+ storefront-enhanced-product-list-example .swiper-button-next:focus, storefront-enhanced-product-list-example .swiper-button-next:active,
1098
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:focus,
1099
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:active {
1123
1100
  outline: none;
1124
1101
  outline-offset: 0;
1125
1102
  text-decoration: none;
1126
- background-color: var(--color-gray-03);
1103
+ background-color: #BEC6CA;
1127
1104
  }
1128
- .ptc-icon-card-slider-wrapper .swiper-button-next svg,
1129
- .ptc-icon-card-slider-wrapper .swiper-rtl .swiper-button-prev svg {
1105
+ storefront-enhanced-product-list-example .swiper-button-next svg,
1106
+ storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev svg {
1130
1107
  height: 14px;
1131
1108
  width: 9px;
1132
1109
  }
1133
- .ptc-icon-card-slider-wrapper .swiper {
1134
- width: 100%;
1135
- height: 100%;
1136
- }
1137
- .ptc-icon-card-slider-wrapper .swiper-container {
1138
- clip-path: inset(0px -10px 0px -10px);
1139
- padding-left: 24px;
1140
- padding-right: 24px;
1141
- margin-left: -24px;
1142
- margin-right: -24px;
1110
+ @media only screen and (min-width: 768px) {
1111
+ storefront-enhanced-product-list-example .swiper-container {
1112
+ padding-left: 4px;
1113
+ padding-right: 4px;
1114
+ margin-left: -4px;
1115
+ margin-right: -4px;
1116
+ overflow-x: clip;
1117
+ }
1143
1118
  }
@@ -0,0 +1,63 @@
1
+ import { Host, h } from '@stencil/core';
2
+ import Swiper, { Navigation, Pagination, Scrollbar, Mousewheel } from 'swiper';
3
+ export class StorefrontEnhancedProductListExample {
4
+ constructor() {
5
+ this.componentDidLoad = () => {
6
+ setTimeout(() => {
7
+ let swiperContainer = this.el.querySelector('.enhanced-product-listing-cards');
8
+ this.swiper = new Swiper(swiperContainer, {
9
+ modules: [Navigation, Pagination, Scrollbar, Mousewheel],
10
+ slidesPerView: 'auto',
11
+ spaceBetween: 24,
12
+ initialSlide: 0,
13
+ centerInsufficientSlides: false,
14
+ scrollbar: {
15
+ el: this.swiperPaginationRef,
16
+ draggable: false,
17
+ },
18
+ navigation: {
19
+ nextEl: this.swiperButtonNextRef,
20
+ prevEl: this.swiperButtonPrevRef,
21
+ },
22
+ mousewheel: {
23
+ forceToAxis: true,
24
+ sensitivity: 100,
25
+ },
26
+ breakpoints: {
27
+ 768: {
28
+ slidesPerView: 2,
29
+ spaceBetween: 24,
30
+ },
31
+ 1200: {
32
+ slidesPerView: 2,
33
+ spaceBetween: 32,
34
+ },
35
+ 1440: {
36
+ slidesPerView: 2,
37
+ spaceBetween: 40,
38
+ },
39
+ },
40
+ });
41
+ swiperContainer.addEventListener('ctaFocussed', (e) => {
42
+ let focusIndex = e.detail['card-index'];
43
+ this.swiper.slideTo(focusIndex);
44
+ });
45
+ }, 100);
46
+ };
47
+ }
48
+ render() {
49
+ return (h(Host, null, h("div", { class: "swiper-container enhanced-product-listing-cards" }, h("div", { class: "swiper-wrapper" }, h("slot", null)), h("div", { class: "swiper-scrollbar", ref: el => (this.swiperPaginationRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.swiperButtonNextRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.75 17.25L8 10L0.75 2.75L3.375 0.125L13.25 10L3.375 19.875L0.75 17.25Z", fill: "#323B42" }))), h("div", { class: "swiper-button-prev", ref: el => (this.swiperButtonPrevRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M13.25 2.75L6 10L13.25 17.25L10.625 19.875L0.749999 10L10.625 0.125L13.25 2.75Z", fill: "#323B42" }))))));
50
+ }
51
+ static get is() { return "storefront-enhanced-product-list-example"; }
52
+ static get originalStyleUrls() {
53
+ return {
54
+ "$": ["storefront-enhanced-product-list-example.scss"]
55
+ };
56
+ }
57
+ static get styleUrls() {
58
+ return {
59
+ "$": ["storefront-enhanced-product-list-example.css"]
60
+ };
61
+ }
62
+ static get elementRef() { return "el"; }
63
+ }
@@ -82,26 +82,26 @@ a:focus-visible {
82
82
  border-radius: var(--ptc-border-radius-standard);
83
83
  }
84
84
 
85
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
85
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-plm-grey a.light-link {
86
86
  color: var(--color-blue-04);
87
87
  margin: -2px;
88
88
  border: 2px solid transparent;
89
89
  }
90
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
90
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
91
91
  color: var(--color-blue-06);
92
92
  }
93
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
93
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
94
94
  transition: none;
95
95
  color: var(--color-blue-07);
96
96
  }
97
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
97
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
98
98
  color: var(--color-blue-05);
99
99
  }
100
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
100
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
101
101
  color: var(--color-gray-04) !important;
102
102
  cursor: not-allowed;
103
103
  }
104
- .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
104
+ .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
105
105
  border-radius: var(--ptc-border-radius-standard);
106
106
  border: 2px solid white;
107
107
  outline: 5px solid var(--keyboard-nav-outline);
@@ -23,7 +23,9 @@ export class PtcBioCard {
23
23
  }
24
24
  }
25
25
  render() {
26
- return (h(Host, { type: "button", class: this.isModal ? 'card-with-modal' : '' }, h("div", { class: "bio-card", onClick: () => { this.openModal(); } }, h("slot", { name: "seo-content" }), h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin", title: "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "X", title: "X" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" }))))))))), this.isModal && (h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" })))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null))))))));
26
+ return (h(Host, { onClick: () => {
27
+ this.openModal();
28
+ }, type: "button", class: this.isModal ? 'card-with-modal' : '' }, h("div", { class: "bio-card" }, h("slot", { name: "seo-content" }), h("div", { class: "bio-card__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), h("div", { class: "bio-card__content" }, h("div", null, h("h3", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin", title: "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "X", title: "X" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" }))))))))), this.isModal && (h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, h("div", { class: "modal-wrap" }, h("div", { class: "bio-modal-left" }, h("div", { class: "bio-modal__image" }, h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (h("div", { class: "bio-card__social-links" }, this.linkedin && (h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "36.794", viewBox: "0 0 32 36.794" }, h("defs", null, h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, h("stop", { offset: "0", "stop-color": "#fff" }), h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), h("g", { class: "cls-1", "data-name": "Path 4255" }, h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), h("g", { transform: "translate(9.205 13.034) scale(0.13)", "data-name": "Group 3004" }, h("path", { class: "cls-x-1", d: "M57.95,42.55L88.66,6.86h-7.28l-26.67,31L33.42,6.86H8.86l32.21,46.87L8.86,91.16h7.28l28.16-32.73,22.49,32.73h24.56l-33.4-48.61h0ZM47.98,54.14l-3.26-4.67L18.76,12.33h11.18l20.95,29.97,3.26,4.67,27.24,38.96h-11.18l-22.23-31.79h0Z", width: "15", height: "15" }), h("rect", { class: "cls-x-2" })))))))), h("div", { class: "bio-modal-right" }, h("div", { class: "bio-modal-header" }, h("h2", { class: "bio-card__name" }, this.name), h("p", { class: "bio-card__job-title" }, this.jobTitle)), h("div", { class: "bio-modal-description" }, h("slot", null))))))));
27
29
  }
28
30
  static get is() { return "ptc-bio-card"; }
29
31
  static get encapsulation() { return "shadow"; }