@ptcwebops/ptcw-design 5.0.2 → 5.0.3

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 (38) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/ptc-card_2.cjs.entry.js +6 -3
  3. package/dist/cjs/ptc-inline-cta.cjs.entry.js +1 -1
  4. package/dist/cjs/ptc-jumbotron.cjs.entry.js +19 -3
  5. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +5 -0
  6. package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
  7. package/dist/cjs/ptcw-design.cjs.js +1 -1
  8. package/dist/collection/components/ptc-card/ptc-card.css +13 -83
  9. package/dist/collection/components/ptc-card/ptc-card.js +1 -1
  10. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +18 -0
  11. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +109 -0
  12. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +108 -20
  13. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +5 -0
  14. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +307 -0
  15. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -0
  16. package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +5 -0
  17. package/dist/custom-elements/index.js +33 -9
  18. package/dist/esm/loader.js +1 -1
  19. package/dist/esm/ptc-card_2.entry.js +6 -3
  20. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  21. package/dist/esm/ptc-jumbotron.entry.js +19 -3
  22. package/dist/esm/ptc-nav-skip-to-content.entry.js +5 -0
  23. package/dist/esm/ptc-social-icons.entry.js +1 -1
  24. package/dist/esm/ptcw-design.js +1 -1
  25. package/dist/ptcw-design/{p-1ba52dfd.entry.js → p-2e9c0664.entry.js} +1 -1
  26. package/dist/ptcw-design/p-7b40ed37.entry.js +1 -0
  27. package/dist/ptcw-design/p-93916048.entry.js +1 -0
  28. package/dist/ptcw-design/p-aff133ab.entry.js +1 -0
  29. package/dist/ptcw-design/{p-1f92340d.entry.js → p-e0e75b93.entry.js} +1 -1
  30. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  31. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +5 -1
  32. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +1 -0
  33. package/dist/types/components.d.ts +10 -2
  34. package/package.json +1 -1
  35. package/readme.md +1 -1
  36. package/dist/ptcw-design/p-31240c4d.entry.js +0 -1
  37. package/dist/ptcw-design/p-430f099f.entry.js +0 -1
  38. package/dist/ptcw-design/p-d9a6757d.entry.js +0 -1
@@ -1313,29 +1313,9 @@ ptc-link, ptc-square-card,
1313
1313
  overflow: hidden;
1314
1314
  background: var(--color-white);
1315
1315
  border-radius: var(--ptc-border-radius-standard);
1316
- width: 312px;
1316
+ width: 100%;
1317
1317
  height: 100%;
1318
1318
  }
1319
- @media (min-width: 1200px) and (max-width: 1439) {
1320
- :host(.featured-horizontal-card) .card-border {
1321
- margin-left: 16px;
1322
- }
1323
- }
1324
- @media (min-width: 480px) {
1325
- :host(.featured-horizontal-card) .card-border {
1326
- width: 432px;
1327
- }
1328
- }
1329
- @media (min-width: 768px) {
1330
- :host(.featured-horizontal-card) .card-border {
1331
- width: 718px;
1332
- }
1333
- }
1334
- @media (min-width: 992px) {
1335
- :host(.featured-horizontal-card) .card-border {
1336
- width: 100%;
1337
- }
1338
- }
1339
1319
  :host(.featured-horizontal-card) .card-layout {
1340
1320
  display: flex;
1341
1321
  flex-direction: column;
@@ -1361,49 +1341,24 @@ ptc-link, ptc-square-card,
1361
1341
  transition: transform var(--ptc-transition-medium) var(--ptc-standard-ease);
1362
1342
  transition-delay: var(--ptc-delay-medium);
1363
1343
  display: block;
1364
- width: 312px;
1365
- height: 296px;
1366
- }
1367
- @media (min-width: 480px) {
1368
- :host(.featured-horizontal-card) .card-media {
1369
- width: 432px;
1370
- height: 300px;
1371
- }
1372
- }
1373
- @media (min-width: 768px) {
1374
- :host(.featured-horizontal-card) .card-media {
1375
- width: 718px;
1376
- height: 441px;
1377
- }
1344
+ width: 100%;
1345
+ height: 440px;
1346
+ max-height: 440px;
1378
1347
  }
1379
1348
  @media (min-width: 992px) {
1380
1349
  :host(.featured-horizontal-card) .card-media {
1381
- width: 524px;
1382
- height: 547px;
1383
- }
1384
- }
1385
- @media (min-width: 1200px) {
1386
- :host(.featured-horizontal-card) .card-media {
1387
- width: 650px;
1388
- height: 547px;
1389
- }
1390
- }
1391
- @media (min-width: 1200px) {
1392
- :host(.featured-horizontal-card) .card-media {
1393
- width: 685px;
1350
+ width: 50%;
1394
1351
  height: 547px;
1352
+ max-height: 547px;
1395
1353
  }
1396
1354
  }
1397
1355
  :host(.featured-horizontal-card) .card-body {
1398
- padding: 24px 24px 44px 24px;
1399
- }
1400
- @media (min-width: 768px) {
1401
- :host(.featured-horizontal-card) .card-body {
1402
- padding: 24px 48px 44px 48px;
1403
- }
1356
+ padding: 20px;
1404
1357
  }
1405
1358
  @media (min-width: 992px) {
1406
1359
  :host(.featured-horizontal-card) .card-body {
1360
+ width: 50%;
1361
+ box-sizing: border-box;
1407
1362
  display: flex;
1408
1363
  flex-direction: column;
1409
1364
  justify-content: center;
@@ -1457,7 +1412,6 @@ ptc-link, ptc-square-card,
1457
1412
  font-size: var(--ptc-font-size-x-small) !important;
1458
1413
  line-height: var(--ptc-line-height-densest);
1459
1414
  color: var(--color-gray-11);
1460
- margin-bottom: 19px;
1461
1415
  margin-top: 0rem;
1462
1416
  margin-block-start: 0rem;
1463
1417
  word-break: break-word;
@@ -1476,38 +1430,14 @@ ptc-link, ptc-square-card,
1476
1430
  }
1477
1431
  }
1478
1432
  :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1479
- width: 312px;
1480
- height: 296px;
1481
- display: block;
1482
- }
1483
- @media (min-width: 480px) {
1484
- :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1485
- width: 432px;
1486
- height: 300px;
1487
- }
1488
- }
1489
- @media (min-width: 768px) {
1490
- :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1491
- width: 718px;
1492
- height: 441px;
1493
- }
1433
+ width: 100%;
1434
+ height: 100%;
1435
+ max-height: 440px;
1494
1436
  }
1495
1437
  @media (min-width: 992px) {
1496
1438
  :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1497
- width: 524px;
1498
- height: 547px;
1499
- }
1500
- }
1501
- @media (min-width: 1200px) {
1502
- :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1503
- width: 650px;
1504
- height: 547px;
1505
- }
1506
- }
1507
- @media (min-width: 1200px) {
1508
- :host(.featured-horizontal-card) ::slotted([slot=slot-image]) {
1509
- width: 685px;
1510
1439
  height: 547px;
1440
+ max-height: 547px;
1511
1441
  }
1512
1442
  }
1513
1443
 
@@ -38,7 +38,7 @@ export class PtcCard {
38
38
  || (!!this.ribbonText && this.cardType == 'listing-card') ? (h("div", { class: "ribbon-text" }, `${this.ribbonText}`)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h(BodyContainerTag, Object.assign({ class: "link-wrapper" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), !!this.cardDate && (this.cardType === 'listing-card' || this.cardType === 'listing-card-horizontal') ? (h("div", { class: "card-date-text" }, !!this.eventType ? (h("span", { class: "small" }, `${this.cardDate}`, "\u00A0\u00A0\u00A0|\u00A0\u00A0\u00A0", `${this.eventType}`)) : (h("span", { class: "small" }, `${this.cardDate}`)))) : null, this.cardType === 'case-studies-card'
39
39
  ? Object.assign({}, (!!this.cardLogo ? (h("div", { class: "card-logo-container" }, h("ptc-picture", { alt: "", "object-fit": "contain", src: this.cardLogo, height: "40" }))) : (h("div", { class: "card-logo-none" })))) : null, h("slot", { name: "slot-before-heading" }), !!this.heading
40
40
  ? [
41
- this.cardType === 'listing-card' ? (h("h3", { class: `ptc-h3 ${this.headingTransform}${cutOffTitleClass}`, part: "card-heading" }, h("ptc-tooltip", { "text-display": "inline", "text-lines": this.maxLines, "max-length": this.maxChars, description: this.heading, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "true", "no-overflow": "true" }))) : this.cardType === 'hightlight-card' ? (h("h2", { class: `${this.headingTransform}${cutOffTitleClass}`, style: cutOff, part: "card-heading" }, this.heading)) : (h("h3", { class: `ptc-h3 ${this.headingTransform}${cutOffTitleClass}`, style: cutOff, part: "card-heading" }, this.heading)),
41
+ this.cardType === 'listing-card' ? (h("h3", { class: `ptc-h3 ${this.headingTransform}${cutOffTitleClass}`, part: "card-heading" }, h("ptc-tooltip", { "text-display": "inline", "text-lines": this.maxLines, "max-length": this.maxChars, description: this.heading, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "true", "no-overflow": "true" }))) : this.cardType === 'hightlight-card' ? (h("h2", { class: `${this.headingTransform}${cutOffTitleClass}`, style: cutOff, part: "card-heading" }, this.heading)) : this.cardType === 'featured-horizontal-card' ? (h("ptc-title", { "seo-compatibility-mode": true, type: "h2", "title-size": "xx-large", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-8", "is-plm-hub": "false" }, h("h2", null, this.heading))) : (h("h3", { class: `ptc-h3 ${this.headingTransform}${cutOffTitleClass}`, style: cutOff, part: "card-heading" }, this.heading)),
42
42
  h("slot", { name: "slot-after-heading" }),
43
43
  ]
44
44
  : null, h("slot", { name: "slot-description" }), !!this.cardDate && this.cardType !== 'listing-card' && this.cardType !== 'listing-card-horizontal' && this.cardType !== 'hightlight-card' ? (h("ptc-date", { "date-string": `${this.cardDate}`, "date-styles": "span{color:#40434a;font-size:var(--ptc-font-size-x-small);margin-top:var(--ptc-element-spacing-06);display:inline-block;}" })) : null, !!this.cardDate && this.cardType === 'hightlight-card' ? (h("ptc-date", { style: { marginBottom: '20px' }, "format-options": '{"year":"numeric","month":"long","day":"numeric"}', "date-string": `${this.cardDate}`, "date-styles": "span{color: #a3a3a3;font-family: Raleway;font-size: 1rem !important;font-stretch: normal;font-style: normal;font-weight: 400;letter-spacing: normal;line-height: 1.03;padding-top: 15px;text-align: left;}", country: this.country })) : null))))));
@@ -97,6 +97,12 @@ ptc-link, ptc-square-card,
97
97
  outline: none;
98
98
  text-decoration: none;
99
99
  }
100
+ :host .small-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible {
101
+ padding: 2px;
102
+ border-radius: var(--ptc-border-radius-standard);
103
+ border: 2px solid white;
104
+ outline: 5px solid #003dd6;
105
+ }
100
106
  @media only screen and (min-width: 768px) {
101
107
  :host .small-inline-cta-container .cta-bg {
102
108
  display: block;
@@ -169,6 +175,12 @@ ptc-link, ptc-square-card,
169
175
  outline: none;
170
176
  text-decoration: none;
171
177
  }
178
+ :host .big-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible {
179
+ padding: 2px;
180
+ border-radius: var(--ptc-border-radius-standard);
181
+ border: 2px solid white;
182
+ outline: 5px solid #003dd6;
183
+ }
172
184
  @media only screen and (min-width: 480px) {
173
185
  :host .big-inline-cta-container .cta-content .cta-body {
174
186
  margin-top: var(--ptc-element-spacing-04);
@@ -265,6 +277,12 @@ ptc-link, ptc-square-card,
265
277
  outline: none;
266
278
  text-decoration: none;
267
279
  }
280
+ :host .bottom-inline-cta-container .cta-body.link-wrapper:focus-visible {
281
+ padding: 2px;
282
+ border-radius: var(--ptc-border-radius-standard);
283
+ border: 2px solid white;
284
+ outline: 5px solid #003dd6;
285
+ }
268
286
  @media only screen and (min-width: 768px) {
269
287
  :host .bottom-inline-cta-container {
270
288
  flex-direction: row;
@@ -1369,6 +1369,29 @@ a.disabled {
1369
1369
  .content-layout.hp-container .gap-adjustment {
1370
1370
  margin-bottom: unset;
1371
1371
  }
1372
+ .content-layout.blog-container {
1373
+ padding-bottom: 48px;
1374
+ }
1375
+ @media only screen and (min-width: 768px) {
1376
+ .content-layout.blog-container {
1377
+ padding-bottom: 80px;
1378
+ }
1379
+ }
1380
+ @media only screen and (min-width: 992px) {
1381
+ .content-layout.blog-container {
1382
+ gap: 43px;
1383
+ }
1384
+ .content-layout.blog-container max-width-container {
1385
+ width: 50%;
1386
+ }
1387
+ .content-layout.blog-container div.desktop-media-image {
1388
+ width: 50%;
1389
+ }
1390
+ }
1391
+ .content-layout.blog-container .gap-adjustment {
1392
+ gap: var(--ptc-element-spacing-07);
1393
+ margin-bottom: unset;
1394
+ }
1372
1395
 
1373
1396
  .gap-adjustment {
1374
1397
  gap: var(--ptc-element-spacing-04);
@@ -1464,6 +1487,92 @@ a.disabled {
1464
1487
  }
1465
1488
  }
1466
1489
 
1490
+ :host(.blog-jumbotron) #header-blog-author {
1491
+ display: flex;
1492
+ align-items: center;
1493
+ gap: 12px;
1494
+ margin-bottom: var(--ptc-layout-spacing-04);
1495
+ }
1496
+ :host(.blog-jumbotron) #header-blog-author .image {
1497
+ width: 48px;
1498
+ height: 48px;
1499
+ border-radius: var(--ptc-border-radius-circle);
1500
+ }
1501
+ :host(.blog-jumbotron) #header-blog-author .image img {
1502
+ width: 100%;
1503
+ height: 100%;
1504
+ border-radius: var(--ptc-border-radius-circle);
1505
+ object-fit: cover;
1506
+ object-position: center;
1507
+ }
1508
+ :host(.blog-jumbotron) .blog-author-name {
1509
+ color: inherit;
1510
+ text-decoration: none;
1511
+ font-size: inherit;
1512
+ font-weight: inherit;
1513
+ }
1514
+ :host(.blog-jumbotron) .blog-author-name:hover {
1515
+ color: inherit;
1516
+ cursor: pointer;
1517
+ text-decoration-line: underline;
1518
+ text-decoration-style: solid;
1519
+ text-decoration-color: var(--color-green-07);
1520
+ text-decoration-thickness: 2px;
1521
+ text-underline-offset: 4px;
1522
+ }
1523
+ :host(.blog-jumbotron) .blog-author-name:focus-visible {
1524
+ border-radius: var(--ptc-border-radius-standard);
1525
+ border: 2px solid white;
1526
+ outline: 5px solid #003dd6;
1527
+ }
1528
+ :host(.blog-jumbotron) .image-container {
1529
+ background: white;
1530
+ }
1531
+ :host(.blog-jumbotron) .desktop-media-image,
1532
+ :host(.blog-jumbotron) .mobile-media-image {
1533
+ position: relative;
1534
+ }
1535
+ :host(.blog-jumbotron) .desktop-media-image .media-image-wrapper,
1536
+ :host(.blog-jumbotron) .mobile-media-image .media-image-wrapper {
1537
+ height: 100%;
1538
+ max-height: 360px;
1539
+ width: 100%;
1540
+ display: flex;
1541
+ align-items: center;
1542
+ justify-content: center;
1543
+ }
1544
+ :host(.blog-jumbotron) .desktop-media-image .media-image-wrapper ptc-picture,
1545
+ :host(.blog-jumbotron) .mobile-media-image .media-image-wrapper ptc-picture {
1546
+ width: 100%;
1547
+ border-radius: var(--ptc-border-radius-standard);
1548
+ }
1549
+ :host(.blog-jumbotron) .desktop-media-image {
1550
+ display: none;
1551
+ }
1552
+ :host(.blog-jumbotron) .desktop-media-image ptc-picture {
1553
+ height: 100%;
1554
+ max-height: 360px;
1555
+ }
1556
+ @media only screen and (min-width: 992px) {
1557
+ :host(.blog-jumbotron) .desktop-media-image {
1558
+ padding-top: 20px;
1559
+ display: flex;
1560
+ align-items: center;
1561
+ }
1562
+ }
1563
+ :host(.blog-jumbotron) .mobile-media-image {
1564
+ margin: 76px 24px 12px 24px;
1565
+ display: flex;
1566
+ }
1567
+ :host(.blog-jumbotron) .mobile-media-image ptc-picture {
1568
+ height: 360px;
1569
+ }
1570
+ @media only screen and (min-width: 992px) {
1571
+ :host(.blog-jumbotron) .mobile-media-image {
1572
+ display: none;
1573
+ }
1574
+ }
1575
+
1467
1576
  .dl-img-wrap {
1468
1577
  position: relative;
1469
1578
  width: 100%;
@@ -12,7 +12,6 @@ export class PtcJumbotron {
12
12
  this.bgSrc = undefined;
13
13
  this.isIframe = false;
14
14
  this.isHomepage = false;
15
- this.isBlogDetail = false;
16
15
  this.playButtonTitle = undefined;
17
16
  this.pauseButtonTitle = undefined;
18
17
  this.buttonLocation = undefined;
@@ -22,6 +21,11 @@ export class PtcJumbotron {
22
21
  this.textAlign = 'left';
23
22
  this.isMobile = undefined;
24
23
  this.isTransitioning = undefined;
24
+ this.blogAuthorImage = "";
25
+ this.blogAuthorImageAlt = "";
26
+ this.blogAuthorName = "";
27
+ this.blogAuthorQueryHref = "";
28
+ this.blogAuthorQueryTarget = "";
25
29
  this.styles = undefined;
26
30
  this.hasCtaSlot = undefined;
27
31
  }
@@ -45,6 +49,9 @@ export class PtcJumbotron {
45
49
  case 'png':
46
50
  mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? h("slot", { name: "video" }) : null)));
47
51
  break;
52
+ case 'blog':
53
+ mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" }))));
54
+ break;
48
55
  case 'gif':
49
56
  mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
50
57
  break;
@@ -59,13 +66,14 @@ export class PtcJumbotron {
59
66
  default:
60
67
  mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
61
68
  }
62
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: { 'parent': true, 'light-links': this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video', 'hp-adjustments': this.isHomepage, 'transitioning': this.isTransitioning } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: { "ptc-container": true, "content-layout": true, 'hp-container': this.isHomepage } }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("span", { class: "main-content-items" }, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (!this.isHomepage) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": "w-4", "para-margin": `${this.jumbotronType === 'text' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left', "seo-compatibility-mode": true }, h("p", { innerHTML: this.subTitle }), this.jumbotronType === 'png' && this.isBlogDetail && h("div", null, h("ptc-spacer", { breakpoint: 'x-small', size: 'medium' }), h("ptc-spacer", { breakpoint: 'small', size: 'small' }), h("slot", { name: "blog-author" })))), this.hasCtaSlot && (h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))))), this.hasPopupVideo && this.jumbotronType !== 'png' ? h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null)))));
69
+ return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: { 'parent': true, 'light-links': this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video', 'hp-adjustments': this.isHomepage, 'transitioning': this.isTransitioning } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: { "ptc-container": true, "content-layout": true, 'hp-container': this.isHomepage, 'blog-container': (this.jumbotronType === "blog") } }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("span", { class: "main-content-items" }, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (!this.isHomepage) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": "w-4", "para-margin": `${this.jumbotronType === ('text' || 'blog') ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left', "seo-compatibility-mode": true }, h("p", { innerHTML: this.subTitle, style: { margin: '0' } }), this.jumbotronType === 'blog' && h("div", null, h("ptc-spacer", { breakpoint: 'x-small', size: 'medium' }), h("ptc-spacer", { breakpoint: 'small', size: 'small' }), h("div", { id: "header-blog-author", slot: "blog-author" }, h("div", { class: "image" }, h("img", { alt: this.blogAuthorImageAlt, src: this.blogAuthorImage })), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("a", { class: "blog-author-name", tabindex: "0", href: this.blogAuthorQueryHref, target: this.blogAuthorQueryTarget }, this.blogAuthorName)))))), this.hasCtaSlot && (h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))))), this.hasPopupVideo && this.jumbotronType !== 'png' ? h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null, this.jumbotronType === 'blog' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" })))) : null)))));
63
70
  }
64
71
  getCssClassMap() {
65
72
  return {
66
73
  // [this.imageZIndex] : true
67
74
  'text-jumbotron': this.jumbotronType === 'text' ? true : false,
68
75
  'png-jumbotron': this.jumbotronType === 'png' ? true : false,
76
+ 'blog-jumbotron': this.jumbotronType === 'blog' ? true : false,
69
77
  'gif-jumbotron': this.jumbotronType === 'gif' ? true : false,
70
78
  'dark-video-jumbotron light-links': this.jumbotronType === 'dark-video' ? true : false,
71
79
  'light-video-jumbotron': this.jumbotronType === 'light-video' ? true : false,
@@ -87,6 +95,10 @@ export class PtcJumbotron {
87
95
  this.contentBackground = 'var(--color-gray-09)';
88
96
  this.contentColor = 'var(--color-gray-01)';
89
97
  break;
98
+ case 'blog':
99
+ this.contentBackground = 'white';
100
+ this.contentColor = 'var(--color-gray-10)';
101
+ break;
90
102
  default:
91
103
  this.contentBackground = 'transparent';
92
104
  this.contentColor = 'var(--color-gray-10)';
@@ -110,6 +122,10 @@ export class PtcJumbotron {
110
122
  this.contentBackground = '#F3F3F3';
111
123
  this.contentColor = 'var(--color-gray-10)';
112
124
  break;
125
+ case 'blog':
126
+ this.contentBackground = 'white';
127
+ this.contentColor = 'var(--color-gray-10)';
128
+ break;
113
129
  default:
114
130
  this.contentBackground = 'transparent';
115
131
  this.contentColor = 'var(--color-gray-10)';
@@ -325,24 +341,6 @@ export class PtcJumbotron {
325
341
  "reflect": false,
326
342
  "defaultValue": "false"
327
343
  },
328
- "isBlogDetail": {
329
- "type": "boolean",
330
- "mutable": false,
331
- "complexType": {
332
- "original": "boolean",
333
- "resolved": "boolean",
334
- "references": {}
335
- },
336
- "required": false,
337
- "optional": true,
338
- "docs": {
339
- "tags": [],
340
- "text": ""
341
- },
342
- "attribute": "is-blog-detail",
343
- "reflect": false,
344
- "defaultValue": "false"
345
- },
346
344
  "playButtonTitle": {
347
345
  "type": "string",
348
346
  "mutable": false,
@@ -429,6 +427,96 @@ export class PtcJumbotron {
429
427
  "attribute": "is-transitioning",
430
428
  "reflect": false
431
429
  },
430
+ "blogAuthorImage": {
431
+ "type": "string",
432
+ "mutable": false,
433
+ "complexType": {
434
+ "original": "string",
435
+ "resolved": "string",
436
+ "references": {}
437
+ },
438
+ "required": false,
439
+ "optional": false,
440
+ "docs": {
441
+ "tags": [],
442
+ "text": ""
443
+ },
444
+ "attribute": "blog-author-image",
445
+ "reflect": false,
446
+ "defaultValue": "\"\""
447
+ },
448
+ "blogAuthorImageAlt": {
449
+ "type": "string",
450
+ "mutable": false,
451
+ "complexType": {
452
+ "original": "string",
453
+ "resolved": "string",
454
+ "references": {}
455
+ },
456
+ "required": false,
457
+ "optional": false,
458
+ "docs": {
459
+ "tags": [],
460
+ "text": ""
461
+ },
462
+ "attribute": "blog-author-image-alt",
463
+ "reflect": false,
464
+ "defaultValue": "\"\""
465
+ },
466
+ "blogAuthorName": {
467
+ "type": "string",
468
+ "mutable": false,
469
+ "complexType": {
470
+ "original": "string",
471
+ "resolved": "string",
472
+ "references": {}
473
+ },
474
+ "required": false,
475
+ "optional": false,
476
+ "docs": {
477
+ "tags": [],
478
+ "text": ""
479
+ },
480
+ "attribute": "blog-author-name",
481
+ "reflect": false,
482
+ "defaultValue": "\"\""
483
+ },
484
+ "blogAuthorQueryHref": {
485
+ "type": "string",
486
+ "mutable": false,
487
+ "complexType": {
488
+ "original": "string",
489
+ "resolved": "string",
490
+ "references": {}
491
+ },
492
+ "required": false,
493
+ "optional": false,
494
+ "docs": {
495
+ "tags": [],
496
+ "text": ""
497
+ },
498
+ "attribute": "blog-author-query-href",
499
+ "reflect": false,
500
+ "defaultValue": "\"\""
501
+ },
502
+ "blogAuthorQueryTarget": {
503
+ "type": "string",
504
+ "mutable": false,
505
+ "complexType": {
506
+ "original": "string",
507
+ "resolved": "string",
508
+ "references": {}
509
+ },
510
+ "required": false,
511
+ "optional": false,
512
+ "docs": {
513
+ "tags": [],
514
+ "text": ""
515
+ },
516
+ "attribute": "blog-author-query-target",
517
+ "reflect": false,
518
+ "defaultValue": "\"\""
519
+ },
432
520
  "styles": {
433
521
  "type": "string",
434
522
  "mutable": false,
@@ -6,7 +6,12 @@ export class PtcNavSkipToContent {
6
6
  let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('a.skip-link');
7
7
  skipLink === null || skipLink === void 0 ? void 0 : skipLink.blur();
8
8
  };
9
+ this.escalateOnDom = () => {
10
+ const body = document.querySelector('body');
11
+ body.insertAdjacentElement('afterbegin', this.hostEle);
12
+ };
9
13
  this.componentWillLoad = () => {
14
+ this.escalateOnDom();
10
15
  window.addEventListener('scroll', this.hideOnScroll);
11
16
  };
12
17
  this.disconnectedCallback = () => {