@ptcwebops/ptcw-design 6.4.17-beta → 6.4.18-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.
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +117 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
- package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-para.cjs.entry.js +139 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-subnav-v2.cjs.entry.js +85 -1
- package/dist/cjs/ptc-title.cjs.entry.js +161 -0
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +2 -4
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +16 -11
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +16 -11
- package/dist/collection/components/ptc-card/ptc-card.css +1 -15
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -11
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -1
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +1 -2
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +1 -2
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +2 -5
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
- package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +6 -3
- package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +84 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +1 -1
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +1 -2
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +1 -2
- package/dist/custom-elements/index.js +100 -16
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +1 -1
- package/dist/esm/featured-events-slider-example.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +2 -2
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +113 -0
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_4.entry.js +2 -2
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
- package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-para.entry.js +135 -0
- package/dist/esm/ptc-picture.entry.js +181 -0
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-subnav-v2.entry.js +85 -1
- package/dist/esm/ptc-title.entry.js +157 -0
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/esm/{utils-a64ba942.js → utils-bdd0cc16.js} +1 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/{p-ff66587b.entry.js → p-0fbdcd78.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ca635fa.entry.js → p-13963d40.entry.js} +1 -1
- package/dist/ptcw-design/{p-df66407c.entry.js → p-187ef77b.entry.js} +1 -1
- package/dist/ptcw-design/p-1a853854.entry.js +1 -0
- package/dist/ptcw-design/{p-1c26f390.entry.js → p-1c63c812.entry.js} +1 -1
- package/dist/ptcw-design/{p-90f1a7af.entry.js → p-26b70120.entry.js} +1 -1
- package/dist/ptcw-design/{p-62e3cd51.entry.js → p-26e8ad2e.entry.js} +1 -1
- package/dist/ptcw-design/p-312c41b8.entry.js +1 -0
- package/dist/ptcw-design/{p-36a3eb03.entry.js → p-3b40bfbf.entry.js} +2 -2
- package/dist/ptcw-design/{p-92ad78c5.entry.js → p-3cb011c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-c160bda4.entry.js → p-3cfe0126.entry.js} +1 -1
- package/dist/ptcw-design/p-3e4861a2.entry.js +1 -0
- package/dist/ptcw-design/p-4703e417.entry.js +1 -0
- package/dist/ptcw-design/p-4ab3249d.entry.js +1 -0
- package/dist/ptcw-design/{p-0df868d2.entry.js → p-4c89d63d.entry.js} +1 -1
- package/dist/ptcw-design/{p-2d00fefd.entry.js → p-502f534b.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e32a493.entry.js → p-53dee19b.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2675bb0.entry.js → p-5a2ed8fb.entry.js} +1 -1
- package/dist/ptcw-design/p-6a561487.entry.js +1 -0
- package/dist/ptcw-design/p-6b9e4a18.entry.js +1 -0
- package/dist/ptcw-design/{p-1519b36f.entry.js → p-6f9f55b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/p-7218fe2c.entry.js +1 -0
- package/dist/ptcw-design/p-8b5549b2.entry.js +1 -0
- package/dist/ptcw-design/{p-456c5cbb.entry.js → p-9c6cad16.entry.js} +1 -1
- package/dist/ptcw-design/p-9da57f76.entry.js +1 -0
- package/dist/ptcw-design/{p-5ec17b43.entry.js → p-9efa8199.entry.js} +1 -1
- package/dist/ptcw-design/{p-9063956c.entry.js → p-9fca5392.entry.js} +1 -1
- package/dist/ptcw-design/{p-46b47ed7.entry.js → p-a4dd4e83.entry.js} +1 -1
- package/dist/ptcw-design/p-ac766cb3.entry.js +1 -0
- package/dist/ptcw-design/p-ad0e7843.entry.js +1 -0
- package/dist/ptcw-design/{p-9fb21bdf.entry.js → p-bfadd78e.entry.js} +1 -1
- package/dist/ptcw-design/{p-5cf5b9f8.entry.js → p-c3b27836.entry.js} +1 -1
- package/dist/ptcw-design/{p-22cf00e7.js → p-c7e948b2.js} +1 -1
- package/dist/ptcw-design/p-cbbe2bba.entry.js +1 -0
- package/dist/ptcw-design/p-d6ee094b.entry.js +1 -0
- package/dist/ptcw-design/p-d9df1a16.entry.js +1 -0
- package/dist/ptcw-design/{p-82f766d2.entry.js → p-e5e1e8fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-3572eccc.entry.js → p-ef870202.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ef2b1e7.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +8 -0
- package/dist/types/components.d.ts +62 -62
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -614
- package/dist/esm/ptc-button_5.entry.js +0 -606
- package/dist/ptcw-design/p-02622aa7.entry.js +0 -1
- package/dist/ptcw-design/p-0f6b641c.entry.js +0 -1
- package/dist/ptcw-design/p-2cd2a8bd.entry.js +0 -1
- package/dist/ptcw-design/p-46c518c8.entry.js +0 -1
- package/dist/ptcw-design/p-50569afd.entry.js +0 -1
- package/dist/ptcw-design/p-60d001c8.entry.js +0 -1
- package/dist/ptcw-design/p-6ac4cfab.entry.js +0 -1
- package/dist/ptcw-design/p-b79b1e09.entry.js +0 -1
- package/dist/ptcw-design/p-bd3d71f1.entry.js +0 -1
- package/dist/ptcw-design/p-cc7d5eb7.entry.js +0 -1
- package/dist/ptcw-design/p-d391c01b.entry.js +0 -1
- package/dist/ptcw-design/p-e7c00e48.entry.js +0 -1
|
@@ -572,7 +572,6 @@ ptc-footer {
|
|
|
572
572
|
margin-bottom: 14px;
|
|
573
573
|
margin-top: 0rem;
|
|
574
574
|
word-break: break-word;
|
|
575
|
-
-webkit-hyphens: auto;
|
|
576
575
|
hyphens: auto;
|
|
577
576
|
}
|
|
578
577
|
:host(.listing-card) ::slotted([slot=slot-date]) {
|
|
@@ -592,7 +591,6 @@ ptc-footer {
|
|
|
592
591
|
color: var(--color-gray-11);
|
|
593
592
|
margin-bottom: 1rem;
|
|
594
593
|
word-break: break-word;
|
|
595
|
-
-webkit-hyphens: auto;
|
|
596
594
|
hyphens: auto;
|
|
597
595
|
}
|
|
598
596
|
|
|
@@ -688,7 +686,6 @@ ptc-footer {
|
|
|
688
686
|
margin-top: 0rem;
|
|
689
687
|
margin-block-start: 0rem;
|
|
690
688
|
word-break: break-word;
|
|
691
|
-
-webkit-hyphens: auto;
|
|
692
689
|
hyphens: auto;
|
|
693
690
|
}
|
|
694
691
|
@media only screen and (min-width: 1200px) {
|
|
@@ -734,7 +731,6 @@ ptc-footer {
|
|
|
734
731
|
margin-bottom: 8px;
|
|
735
732
|
margin-top: 0rem;
|
|
736
733
|
word-break: break-word;
|
|
737
|
-
-webkit-hyphens: auto;
|
|
738
734
|
hyphens: auto;
|
|
739
735
|
}
|
|
740
736
|
@media (min-width: 768px) {
|
|
@@ -763,7 +759,6 @@ ptc-footer {
|
|
|
763
759
|
margin-bottom: 8px;
|
|
764
760
|
margin-top: 0rem;
|
|
765
761
|
word-break: break-word;
|
|
766
|
-
-webkit-hyphens: auto;
|
|
767
762
|
hyphens: auto;
|
|
768
763
|
}
|
|
769
764
|
}
|
|
@@ -778,7 +773,6 @@ ptc-footer {
|
|
|
778
773
|
margin-top: 0rem;
|
|
779
774
|
margin-block-start: 0rem;
|
|
780
775
|
word-break: break-word;
|
|
781
|
-
-webkit-hyphens: auto;
|
|
782
776
|
hyphens: auto;
|
|
783
777
|
}
|
|
784
778
|
:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p {
|
|
@@ -942,8 +936,7 @@ ptc-footer {
|
|
|
942
936
|
margin-bottom: 12px;
|
|
943
937
|
margin-top: 0rem;
|
|
944
938
|
word-break: break-word;
|
|
945
|
-
|
|
946
|
-
hyphens: manual;
|
|
939
|
+
hyphens: manual;
|
|
947
940
|
}
|
|
948
941
|
:host(.resource-center-card) ::slotted([slot=slot-description]) {
|
|
949
942
|
font-family: var(--ptc-font-latin);
|
|
@@ -954,7 +947,6 @@ ptc-footer {
|
|
|
954
947
|
color: var(--color-gray-11);
|
|
955
948
|
margin-bottom: 1rem;
|
|
956
949
|
word-break: break-word;
|
|
957
|
-
-webkit-hyphens: auto;
|
|
958
950
|
hyphens: auto;
|
|
959
951
|
}
|
|
960
952
|
:host(.resource-center-card) ::slotted([slot=slot-description]) p {
|
|
@@ -966,7 +958,6 @@ ptc-footer {
|
|
|
966
958
|
color: var(--color-gray-11);
|
|
967
959
|
margin-bottom: 39px;
|
|
968
960
|
word-break: break-word;
|
|
969
|
-
-webkit-hyphens: auto;
|
|
970
961
|
hyphens: auto;
|
|
971
962
|
}
|
|
972
963
|
:host(.resource-center-card) ::slotted([slot=slot-description]) span {
|
|
@@ -1189,7 +1180,6 @@ ptc-footer {
|
|
|
1189
1180
|
width: fit-content;
|
|
1190
1181
|
clip-path: inset(-6px -6px -6px 0px);
|
|
1191
1182
|
word-break: break-word;
|
|
1192
|
-
-webkit-hyphens: manual;
|
|
1193
1183
|
hyphens: manual;
|
|
1194
1184
|
}
|
|
1195
1185
|
:host(.related-card) .link-wrapper {
|
|
@@ -1282,7 +1272,6 @@ ptc-footer {
|
|
|
1282
1272
|
display: inline-block;
|
|
1283
1273
|
margin-top: 0rem;
|
|
1284
1274
|
word-break: break-word;
|
|
1285
|
-
-webkit-hyphens: auto;
|
|
1286
1275
|
hyphens: auto;
|
|
1287
1276
|
}
|
|
1288
1277
|
:host(.related-card) .card-body .small {
|
|
@@ -1303,7 +1292,6 @@ ptc-footer {
|
|
|
1303
1292
|
margin-bottom: 14px;
|
|
1304
1293
|
margin-top: 0rem;
|
|
1305
1294
|
word-break: break-word;
|
|
1306
|
-
-webkit-hyphens: auto;
|
|
1307
1295
|
hyphens: auto;
|
|
1308
1296
|
}
|
|
1309
1297
|
:host(.related-card) ::slotted([slot=slot-description]) {
|
|
@@ -1407,7 +1395,6 @@ ptc-footer {
|
|
|
1407
1395
|
color: var(--color-gray-11);
|
|
1408
1396
|
margin-top: 0rem;
|
|
1409
1397
|
word-break: break-word;
|
|
1410
|
-
-webkit-hyphens: auto;
|
|
1411
1398
|
hyphens: auto;
|
|
1412
1399
|
margin-bottom: 0rem;
|
|
1413
1400
|
}
|
|
@@ -1428,7 +1415,6 @@ ptc-footer {
|
|
|
1428
1415
|
margin-top: 0rem;
|
|
1429
1416
|
margin-block-start: 0rem;
|
|
1430
1417
|
word-break: break-word;
|
|
1431
|
-
-webkit-hyphens: auto;
|
|
1432
1418
|
hyphens: auto;
|
|
1433
1419
|
}
|
|
1434
1420
|
:host(.featured-horizontal-card) ::slotted([slot=slot-description]) p {
|
|
@@ -83,7 +83,8 @@ swiper-slide {
|
|
|
83
83
|
}
|
|
84
84
|
.swiper-backface-hidden .swiper-slide {
|
|
85
85
|
transform: translateZ(0);
|
|
86
|
-
backface-visibility: hidden;
|
|
86
|
+
-webkit-backface-visibility: hidden;
|
|
87
|
+
backface-visibility: hidden;
|
|
87
88
|
}
|
|
88
89
|
/* 3D Effects */
|
|
89
90
|
.swiper-3d.swiper-css-mode .swiper-wrapper {
|
|
@@ -390,8 +391,7 @@ button.swiper-pagination-bullet {
|
|
|
390
391
|
padding: 0;
|
|
391
392
|
box-shadow: none;
|
|
392
393
|
-webkit-appearance: none;
|
|
393
|
-
|
|
394
|
-
appearance: none;
|
|
394
|
+
appearance: none;
|
|
395
395
|
}
|
|
396
396
|
.swiper-pagination-clickable .swiper-pagination-bullet {
|
|
397
397
|
cursor: pointer;
|
|
@@ -559,8 +559,7 @@ button.swiper-pagination-bullet {
|
|
|
559
559
|
.swiper-zoom-container > canvas {
|
|
560
560
|
max-width: 100%;
|
|
561
561
|
max-height: 100%;
|
|
562
|
-
|
|
563
|
-
object-fit: contain;
|
|
562
|
+
object-fit: contain;
|
|
564
563
|
}
|
|
565
564
|
.swiper-slide-zoomed {
|
|
566
565
|
cursor: move;
|
|
@@ -606,7 +605,8 @@ swiper-container .swiper-notification {
|
|
|
606
605
|
}
|
|
607
606
|
.swiper-cube .swiper-slide {
|
|
608
607
|
pointer-events: none;
|
|
609
|
-
backface-visibility: hidden;
|
|
608
|
+
-webkit-backface-visibility: hidden;
|
|
609
|
+
backface-visibility: hidden;
|
|
610
610
|
z-index: 1;
|
|
611
611
|
visibility: hidden;
|
|
612
612
|
transform-origin: 0 0;
|
|
@@ -635,7 +635,8 @@ swiper-container .swiper-notification {
|
|
|
635
635
|
.swiper-cube .swiper-slide-shadow-left,
|
|
636
636
|
.swiper-cube .swiper-slide-shadow-right {
|
|
637
637
|
z-index: 0;
|
|
638
|
-
backface-visibility: hidden;
|
|
638
|
+
-webkit-backface-visibility: hidden;
|
|
639
|
+
backface-visibility: hidden;
|
|
639
640
|
}
|
|
640
641
|
.swiper-cube .swiper-cube-shadow {
|
|
641
642
|
position: absolute;
|
|
@@ -661,7 +662,8 @@ swiper-container .swiper-notification {
|
|
|
661
662
|
}
|
|
662
663
|
.swiper-flip .swiper-slide {
|
|
663
664
|
pointer-events: none;
|
|
664
|
-
backface-visibility: hidden;
|
|
665
|
+
-webkit-backface-visibility: hidden;
|
|
666
|
+
backface-visibility: hidden;
|
|
665
667
|
z-index: 1;
|
|
666
668
|
}
|
|
667
669
|
.swiper-flip .swiper-slide .swiper-slide {
|
|
@@ -676,10 +678,12 @@ swiper-container .swiper-notification {
|
|
|
676
678
|
.swiper-flip .swiper-slide-shadow-left,
|
|
677
679
|
.swiper-flip .swiper-slide-shadow-right {
|
|
678
680
|
z-index: 0;
|
|
679
|
-
backface-visibility: hidden;
|
|
681
|
+
-webkit-backface-visibility: hidden;
|
|
682
|
+
backface-visibility: hidden;
|
|
680
683
|
}
|
|
681
684
|
.swiper-creative .swiper-slide {
|
|
682
|
-
backface-visibility: hidden;
|
|
685
|
+
-webkit-backface-visibility: hidden;
|
|
686
|
+
backface-visibility: hidden;
|
|
683
687
|
overflow: hidden;
|
|
684
688
|
transition-property: transform, opacity, height;
|
|
685
689
|
}
|
|
@@ -688,7 +692,8 @@ swiper-container .swiper-notification {
|
|
|
688
692
|
}
|
|
689
693
|
.swiper-cards .swiper-slide {
|
|
690
694
|
transform-origin: center bottom;
|
|
691
|
-
backface-visibility: hidden;
|
|
695
|
+
-webkit-backface-visibility: hidden;
|
|
696
|
+
backface-visibility: hidden;
|
|
692
697
|
overflow: hidden;
|
|
693
698
|
}
|
|
694
699
|
|
package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css
CHANGED
|
@@ -252,8 +252,7 @@ ptc-footer {
|
|
|
252
252
|
border-radius: 4px 4px 0px 0px;
|
|
253
253
|
border-bottom: 2px solid var(--color-blue-07);
|
|
254
254
|
background: transparent;
|
|
255
|
-
|
|
256
|
-
backdrop-filter: blur(12px);
|
|
255
|
+
backdrop-filter: blur(12px);
|
|
257
256
|
padding: 24px;
|
|
258
257
|
word-wrap: normal;
|
|
259
258
|
color: var(--color-white);
|
|
@@ -206,15 +206,13 @@ ptc-footer {
|
|
|
206
206
|
line-height: 24px;
|
|
207
207
|
text-align: left;
|
|
208
208
|
word-break: break-word;
|
|
209
|
-
|
|
210
|
-
hyphens: auto;
|
|
209
|
+
hyphens: auto;
|
|
211
210
|
margin-bottom: 2px;
|
|
212
211
|
}
|
|
213
212
|
@media only screen and (min-width: 1200px) {
|
|
214
213
|
:host(.media-card) .nav-card-wrap .media-card-wrap h4 {
|
|
215
214
|
font-size: 12px;
|
|
216
|
-
|
|
217
|
-
hyphens: auto;
|
|
215
|
+
hyphens: auto;
|
|
218
216
|
line-height: 18px;
|
|
219
217
|
text-align: left;
|
|
220
218
|
margin-bottom: 2px;
|
|
@@ -228,7 +226,6 @@ ptc-footer {
|
|
|
228
226
|
font-stretch: normal;
|
|
229
227
|
font-style: normal;
|
|
230
228
|
font-weight: 400;
|
|
231
|
-
-webkit-hyphens: auto;
|
|
232
229
|
hyphens: auto;
|
|
233
230
|
letter-spacing: normal;
|
|
234
231
|
line-height: 21px;
|
|
@@ -191,7 +191,7 @@ export class PtcSeoTitle {
|
|
|
191
191
|
"type": "string",
|
|
192
192
|
"mutable": false,
|
|
193
193
|
"complexType": {
|
|
194
|
-
"original": "| \"margin-flush\"\
|
|
194
|
+
"original": "| \"margin-flush\"\n\t\t| \"margin-top-3\"\n\t\t| \"margin-top-4\"\n\t\t| \"margin-top-5\"\n\t\t| \"margin-top-6\"\n\t\t| \"margin-bottom-3\"\n\t\t| \"margin-bottom-4\"\n\t\t| \"margin-bottom-5\"\n\t\t| \"margin-bottom-6\"\n\t\t| \"margin-3\"\n\t\t| \"margin-4\"\n\t\t| \"margin-5\"\n\t\t| \"margin-6\"\n\t\t| \"margin-9\"",
|
|
195
195
|
"resolved": "\"margin-3\" | \"margin-4\" | \"margin-5\" | \"margin-6\" | \"margin-9\" | \"margin-bottom-3\" | \"margin-bottom-4\" | \"margin-bottom-5\" | \"margin-bottom-6\" | \"margin-flush\" | \"margin-top-3\" | \"margin-top-4\" | \"margin-top-5\" | \"margin-top-6\"",
|
|
196
196
|
"references": {}
|
|
197
197
|
},
|
|
@@ -225,7 +225,7 @@ export class PtcSeoTitle {
|
|
|
225
225
|
"type": "string",
|
|
226
226
|
"mutable": false,
|
|
227
227
|
"complexType": {
|
|
228
|
-
"original": "| \"xx-small\"\
|
|
228
|
+
"original": "| \"xx-small\"\n\t\t| \"x-small\"\n\t\t| \"small\"\n\t\t| \"medium\"\n\t\t| \"large\"\n\t\t| \"x-large\"\n\t\t| \"xx-large\"\n\t\t| \"xxx-large\"\n\t\t| \"xxxx-large\"\n\t\t| \"xxxx-large-allbp\"\n\t\t| \"xx-large-allbp\"\n\t\t| \"xxxx-large-desktop\"\n\t\t| \"xxxx-large-store\"",
|
|
229
229
|
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-large-allbp\" | \"xx-small\" | \"xxx-large\" | \"xxxx-large\" | \"xxxx-large-allbp\" | \"xxxx-large-desktop\" | \"xxxx-large-store\"",
|
|
230
230
|
"references": {}
|
|
231
231
|
},
|
|
@@ -242,7 +242,7 @@ export class PtcSeoTitle {
|
|
|
242
242
|
"type": "string",
|
|
243
243
|
"mutable": false,
|
|
244
244
|
"complexType": {
|
|
245
|
-
"original": "| \"densest\"\
|
|
245
|
+
"original": "| \"densest\"\n\t\t| \"denser\"\n\t\t| \"dense\"\n\t\t| \"normal\"\n\t\t| \"loose\"\n\t\t| \"looser\"\n\t\t| \"paragraph\"",
|
|
246
246
|
"resolved": "\"dense\" | \"denser\" | \"densest\" | \"loose\" | \"looser\" | \"normal\" | \"paragraph\"",
|
|
247
247
|
"references": {}
|
|
248
248
|
},
|
|
@@ -103,13 +103,16 @@ ptc-footer {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
:host {
|
|
106
|
+
position: relative;
|
|
106
107
|
display: block;
|
|
107
108
|
font-family: var(--ptc-font-latin);
|
|
108
|
-
position: sticky;
|
|
109
|
-
top: 0;
|
|
110
|
-
z-index: 105;
|
|
111
109
|
background-color: var(--color-standard-gray);
|
|
112
110
|
box-shadow: var(--ptc-shadow-small);
|
|
111
|
+
transition: all 0.3s ease-in-out;
|
|
112
|
+
}
|
|
113
|
+
:host.sticky-transition {
|
|
114
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
|
|
115
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
113
116
|
}
|
|
114
117
|
:host .subnav-container {
|
|
115
118
|
display: flex;
|
|
@@ -2,6 +2,9 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class PtcSubnavV2 {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.cachedNavItems = null;
|
|
5
|
+
this.isSticky = false;
|
|
6
|
+
this.originalTop = 0;
|
|
7
|
+
this.placeholderElement = null;
|
|
5
8
|
this.handleClickOutside = (event) => {
|
|
6
9
|
if (!this.el.contains(event.target)) {
|
|
7
10
|
this.showOverflowMenu = false;
|
|
@@ -52,8 +55,75 @@ export class PtcSubnavV2 {
|
|
|
52
55
|
this.scrollThrottleTimeout = null;
|
|
53
56
|
}, 16); // ~60fps throttling
|
|
54
57
|
};
|
|
58
|
+
this.initializeStickyPosition = () => {
|
|
59
|
+
// Store the original position of the subnav
|
|
60
|
+
const rect = this.el.getBoundingClientRect();
|
|
61
|
+
this.originalTop = rect.top + window.scrollY;
|
|
62
|
+
};
|
|
63
|
+
this.handleStickyScroll = () => {
|
|
64
|
+
// Throttle sticky scroll events for better performance
|
|
65
|
+
if (this.stickyScrollTimeout) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
this.stickyScrollTimeout = window.setTimeout(() => {
|
|
69
|
+
var _a;
|
|
70
|
+
const scrollY = window.scrollY;
|
|
71
|
+
// Check if we should make the subnav sticky
|
|
72
|
+
const shouldBeSticky = scrollY >= this.originalTop;
|
|
73
|
+
if (shouldBeSticky && !this.isSticky) {
|
|
74
|
+
// Store the original height before making it fixed
|
|
75
|
+
const originalHeight = this.el.offsetHeight;
|
|
76
|
+
// Create placeholder element to maintain space
|
|
77
|
+
this.placeholderElement = document.createElement("div");
|
|
78
|
+
this.placeholderElement.style.height = `${originalHeight}px`;
|
|
79
|
+
this.placeholderElement.style.width = "100%";
|
|
80
|
+
this.placeholderElement.style.pointerEvents = "none";
|
|
81
|
+
// Insert placeholder before the subnav
|
|
82
|
+
(_a = this.el.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(this.placeholderElement, this.el);
|
|
83
|
+
// Add transition class for smooth animation
|
|
84
|
+
this.el.classList.add("sticky-transition");
|
|
85
|
+
// Apply fixed positioning with smooth transition
|
|
86
|
+
this.el.style.position = "fixed";
|
|
87
|
+
this.el.style.top = "0";
|
|
88
|
+
this.el.style.left = "0";
|
|
89
|
+
this.el.style.right = "0";
|
|
90
|
+
this.el.style.width = "100%";
|
|
91
|
+
this.el.style.zIndex = "105";
|
|
92
|
+
this.el.style.transform = "translateY(0)";
|
|
93
|
+
this.isSticky = true;
|
|
94
|
+
}
|
|
95
|
+
else if (!shouldBeSticky && this.isSticky) {
|
|
96
|
+
// Remove transition class and reset transform
|
|
97
|
+
this.el.classList.remove("sticky-transition");
|
|
98
|
+
this.el.style.transform = "";
|
|
99
|
+
// Remove fixed positioning and restore original position
|
|
100
|
+
this.el.style.position = "";
|
|
101
|
+
this.el.style.top = "";
|
|
102
|
+
this.el.style.left = "";
|
|
103
|
+
this.el.style.right = "";
|
|
104
|
+
this.el.style.width = "";
|
|
105
|
+
this.el.style.zIndex = "";
|
|
106
|
+
this.isSticky = false;
|
|
107
|
+
// Remove placeholder element
|
|
108
|
+
if (this.placeholderElement) {
|
|
109
|
+
this.placeholderElement.remove();
|
|
110
|
+
this.placeholderElement = null;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
this.stickyScrollTimeout = null;
|
|
114
|
+
}, 16); // ~60fps throttling
|
|
115
|
+
};
|
|
55
116
|
this.handleResize = () => {
|
|
56
117
|
this.navContainer && setTimeout(() => this.calculateVisibleItems(), 10);
|
|
118
|
+
// Recalculate original position on resize
|
|
119
|
+
if (!this.isSticky) {
|
|
120
|
+
this.initializeStickyPosition();
|
|
121
|
+
}
|
|
122
|
+
else if (this.placeholderElement) {
|
|
123
|
+
// Update placeholder height if sticky and resized
|
|
124
|
+
const currentHeight = this.el.offsetHeight;
|
|
125
|
+
this.placeholderElement.style.height = `${currentHeight}px`;
|
|
126
|
+
}
|
|
57
127
|
};
|
|
58
128
|
this.setupIntersectionObserver = () => {
|
|
59
129
|
// Get all sections that correspond to our navigation items
|
|
@@ -301,12 +371,14 @@ export class PtcSubnavV2 {
|
|
|
301
371
|
this.handleResize();
|
|
302
372
|
this.addEventListeners();
|
|
303
373
|
this.setupIntersectionObserver();
|
|
374
|
+
this.initializeStickyPosition();
|
|
304
375
|
}
|
|
305
376
|
bindEventHandlers() {
|
|
306
377
|
this.boundHandleResize = this.handleResize.bind(this);
|
|
307
378
|
this.boundHandleClickOutside = this.handleClickOutside.bind(this);
|
|
308
379
|
this.boundHandleScroll = this.handleScroll.bind(this);
|
|
309
380
|
this.boundHandleKeyDown = this.handleKeyDown.bind(this);
|
|
381
|
+
this.boundHandleStickyScroll = this.handleStickyScroll.bind(this);
|
|
310
382
|
}
|
|
311
383
|
addEventListeners() {
|
|
312
384
|
window.addEventListener("resize", this.boundHandleResize);
|
|
@@ -315,23 +387,29 @@ export class PtcSubnavV2 {
|
|
|
315
387
|
window.addEventListener("scroll", this.boundHandleScroll, {
|
|
316
388
|
passive: true,
|
|
317
389
|
});
|
|
390
|
+
window.addEventListener("scroll", this.boundHandleStickyScroll, {
|
|
391
|
+
passive: true,
|
|
392
|
+
});
|
|
318
393
|
}
|
|
319
394
|
disconnectedCallback() {
|
|
320
395
|
this.removeEventListeners();
|
|
321
396
|
this.cleanupTimeouts();
|
|
322
397
|
this.cleanupIntersectionObserver();
|
|
398
|
+
this.cleanupPlaceholder();
|
|
323
399
|
}
|
|
324
400
|
removeEventListeners() {
|
|
325
401
|
window.removeEventListener("resize", this.boundHandleResize);
|
|
326
402
|
document.removeEventListener("click", this.boundHandleClickOutside);
|
|
327
403
|
document.removeEventListener("keydown", this.boundHandleKeyDown);
|
|
328
404
|
window.removeEventListener("scroll", this.boundHandleScroll);
|
|
405
|
+
window.removeEventListener("scroll", this.boundHandleStickyScroll);
|
|
329
406
|
}
|
|
330
407
|
cleanupTimeouts() {
|
|
331
408
|
[
|
|
332
409
|
this.scrollTimeout,
|
|
333
410
|
this.scrollThrottleTimeout,
|
|
334
411
|
this.manualNavigationTimeout,
|
|
412
|
+
this.stickyScrollTimeout,
|
|
335
413
|
]
|
|
336
414
|
.filter(Boolean)
|
|
337
415
|
.forEach((timeout) => clearTimeout(timeout));
|
|
@@ -341,6 +419,12 @@ export class PtcSubnavV2 {
|
|
|
341
419
|
this.intersectionObserver.disconnect();
|
|
342
420
|
}
|
|
343
421
|
}
|
|
422
|
+
cleanupPlaceholder() {
|
|
423
|
+
if (this.placeholderElement) {
|
|
424
|
+
this.placeholderElement.remove();
|
|
425
|
+
this.placeholderElement = null;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
344
428
|
parsePropNavItems() {
|
|
345
429
|
var _a;
|
|
346
430
|
if (!((_a = this.navItems) === null || _a === void 0 ? void 0 : _a.trim()))
|
|
@@ -3743,7 +3743,7 @@ ptc-footer {
|
|
|
3743
3743
|
.ptc-text-field .iti__flag {
|
|
3744
3744
|
background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/18.2.1/img/flags.png");
|
|
3745
3745
|
}
|
|
3746
|
-
@media (
|
|
3746
|
+
@media (min-resolution: 192dpi) {
|
|
3747
3747
|
.ptc-text-field .iti__flag {
|
|
3748
3748
|
background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/18.2.1/img/flags@2x.png");
|
|
3749
3749
|
}
|
|
@@ -107,8 +107,7 @@ ptc-footer {
|
|
|
107
107
|
border-radius: var(--ptc-border-radius-large);
|
|
108
108
|
border: 1px solid var(--color-white);
|
|
109
109
|
background-color: rgba(0, 0, 0, 0.6);
|
|
110
|
-
|
|
111
|
-
backdrop-filter: blur(2px);
|
|
110
|
+
backdrop-filter: blur(2px);
|
|
112
111
|
color: var(--color-white);
|
|
113
112
|
z-index: 10;
|
|
114
113
|
display: flex;
|
|
@@ -6113,8 +6113,7 @@ blockquote p {
|
|
|
6113
6113
|
z-index: 900;
|
|
6114
6114
|
transition: all 0.1s ease 0s;
|
|
6115
6115
|
background-color: var(--color-standard-white);
|
|
6116
|
-
|
|
6117
|
-
backdrop-filter: blur(22px);
|
|
6116
|
+
backdrop-filter: blur(22px);
|
|
6118
6117
|
background-image: linear-gradient(93deg, #f4f4f4, #fff 100%);
|
|
6119
6118
|
box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, 0.16);
|
|
6120
6119
|
}
|