@ptcwebops/ptcw-design 6.3.11 → 6.3.12-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/{component-06dda623.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +3 -36
- package/dist/cjs/featured-list.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/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/ptc-bio-card.cjs.entry.js +4 -2
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -10
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +28 -27
- package/dist/cjs/ptc-countdown.cjs.entry.js +17 -19
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +789 -5
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +2 -3
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +10 -1
- package/dist/cjs/ptc-office-locations.cjs.entry.js +2 -5
- package/dist/cjs/ptc-para.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +11 -9
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +1 -3
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -10
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +4 -8
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +2 -35
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +19 -31
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +3 -1
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-container/ptc-container.js +2 -2
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +17 -19
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +1 -29
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +10 -45
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -45
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +2 -2
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -24
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -20
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +11 -2
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +47 -28
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +2 -5
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -419
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -9
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +11 -9
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +1 -3
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -9
- package/dist/collection/stories/BackgroundImage.stories.js +42 -20
- package/dist/collection/stories/MobileSelect.stories.js +21 -11
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/custom-elements/index.d.ts +6 -12
- package/dist/custom-elements/index.js +227 -293
- package/dist/esm/{component-274da230.js → component-80f298b4.js} +2592 -793
- package/dist/esm/event-jumbotron-example.entry.js +3 -36
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/ptc-bio-card.entry.js +4 -2
- package/dist/esm/ptc-card_2.entry.js +5 -10
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +28 -27
- package/dist/esm/ptc-countdown.entry.js +17 -19
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +11 -11
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +786 -4
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +2 -3
- package/dist/esm/ptc-mobile-select.entry.js +10 -1
- package/dist/esm/ptc-office-locations.entry.js +2 -5
- package/dist/esm/ptc-para.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -9
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -3
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +11 -11
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
- package/dist/ptcw-design/{p-7fb155da.entry.js → p-072aa896.entry.js} +1 -1
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0d223232.entry.js +1 -0
- package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
- package/dist/ptcw-design/{p-9f194554.entry.js → p-21aa746d.entry.js} +1 -1
- package/dist/ptcw-design/p-291072b4.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/{p-757954b2.entry.js → p-38b7ca02.entry.js} +1 -1
- package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
- package/dist/ptcw-design/p-42992202.entry.js +1 -0
- package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
- package/dist/ptcw-design/p-52e6613f.entry.js +1 -0
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
- package/dist/ptcw-design/p-6f5fecae.entry.js +1 -0
- package/dist/ptcw-design/p-72825cf6.entry.js +1 -0
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-867a808f.entry.js} +1 -1
- package/dist/ptcw-design/p-8eb89969.entry.js +1 -0
- package/dist/ptcw-design/p-94f99d2d.entry.js +1 -0
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/p-ae50e218.entry.js +1 -0
- package/dist/ptcw-design/{p-008307a6.entry.js → p-b5094974.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/p-bd6af63e.entry.js +1 -0
- package/dist/ptcw-design/p-d0581b07.entry.js +68 -0
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-debca892.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -2
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +0 -3
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +1 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +3 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -0
- package/dist/types/components.d.ts +27 -42
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-5b5b6a98.js +0 -1819
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +0 -82
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -672
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +0 -66
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +0 -1143
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +0 -77
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +0 -63
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/ptc-icon-card-slider-example.entry.js +0 -78
- package/dist/esm/ptc-multi-select_2.entry.js +0 -667
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +0 -62
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-076efe50.entry.js +0 -68
- package/dist/ptcw-design/p-114d0de7.entry.js +0 -1
- package/dist/ptcw-design/p-15758793.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
- package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
- package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
- package/dist/ptcw-design/p-38b782e8.entry.js +0 -1
- package/dist/ptcw-design/p-54f6e1a5.entry.js +0 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
- package/dist/ptcw-design/p-68ed2afe.entry.js +0 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-752bba1c.entry.js +0 -1
- package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
- package/dist/ptcw-design/p-ab3d2934.entry.js +0 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
- package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
- package/dist/ptcw-design/p-b89de835.entry.js +0 -1
- package/dist/ptcw-design/p-bab5bb88.entry.js +0 -1
- package/dist/ptcw-design/p-be533f0d.js +0 -134
- package/dist/ptcw-design/p-c1513c3f.js +0 -203
- package/dist/ptcw-design/p-c8f68292.entry.js +0 -1
- package/dist/ptcw-design/p-cc677723.entry.js +0 -1
- package/dist/ptcw-design/p-d66debb3.entry.js +0 -1
- package/dist/ptcw-design/p-e5369c4d.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +0 -10
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +0 -10
|
@@ -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:
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
162
|
+
console.log('keyboard status: ' + this.openedWithKeyboard);
|
|
196
163
|
}
|
|
197
164
|
});
|
|
198
165
|
document.addEventListener('mousedown', () => {
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css
ADDED
|
@@ -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
|
+
}
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js
ADDED
|
@@ -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,30 +995,30 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
995
995
|
transform: rotate(360deg);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
|
-
storefront-enhanced-product-list-example .swiper
|
|
998
|
+
storefront-enhanced-product-list-example .swiper {
|
|
999
999
|
width: 100%;
|
|
1000
1000
|
height: 100%;
|
|
1001
1001
|
}
|
|
1002
|
-
storefront-enhanced-product-list-example .swiper-container
|
|
1002
|
+
storefront-enhanced-product-list-example .swiper-container {
|
|
1003
1003
|
padding-left: 24px;
|
|
1004
1004
|
padding-right: 24px;
|
|
1005
1005
|
margin-left: -24px;
|
|
1006
1006
|
margin-right: -24px;
|
|
1007
1007
|
overflow-x: clip;
|
|
1008
1008
|
}
|
|
1009
|
-
storefront-enhanced-product-list-example .swiper-wrapper
|
|
1009
|
+
storefront-enhanced-product-list-example .swiper-wrapper {
|
|
1010
1010
|
max-width: 1200px;
|
|
1011
1011
|
}
|
|
1012
|
-
storefront-enhanced-product-list-example .swiper-slide
|
|
1012
|
+
storefront-enhanced-product-list-example .swiper-slide {
|
|
1013
1013
|
width: max-content;
|
|
1014
1014
|
height: auto;
|
|
1015
1015
|
}
|
|
1016
|
-
storefront-enhanced-product-list-example .swiper-horizontal
|
|
1016
|
+
storefront-enhanced-product-list-example .swiper-horizontal {
|
|
1017
1017
|
position: relative;
|
|
1018
1018
|
display: block;
|
|
1019
1019
|
padding-bottom: 4.104rem;
|
|
1020
1020
|
}
|
|
1021
|
-
storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar
|
|
1021
|
+
storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar {
|
|
1022
1022
|
position: absolute;
|
|
1023
1023
|
left: 50%;
|
|
1024
1024
|
transform: translate(-50%, -13px);
|
|
@@ -1028,28 +1028,25 @@ storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar, s
|
|
|
1028
1028
|
border-radius: 999px;
|
|
1029
1029
|
background: #E4E7E9;
|
|
1030
1030
|
}
|
|
1031
|
-
storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag
|
|
1031
|
+
storefront-enhanced-product-list-example .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag {
|
|
1032
1032
|
height: 8px;
|
|
1033
1033
|
border-radius: 999px;
|
|
1034
1034
|
background: #323B42;
|
|
1035
1035
|
transform: translateX(-16px);
|
|
1036
1036
|
}
|
|
1037
|
-
storefront-enhanced-product-list-example .swiper-horizontal:has(.swiper-scrollbar[style*="display: none"])
|
|
1037
|
+
storefront-enhanced-product-list-example .swiper-horizontal:has(.swiper-scrollbar[style*="display: none"]) {
|
|
1038
1038
|
padding-bottom: 0;
|
|
1039
1039
|
}
|
|
1040
1040
|
storefront-enhanced-product-list-example .swiper-button-prev:after,
|
|
1041
|
-
storefront-enhanced-product-list-example .swiper-button-next:after
|
|
1042
|
-
storefront-enhanced-product-list-alt-example .swiper-button-next:after {
|
|
1041
|
+
storefront-enhanced-product-list-example .swiper-button-next:after {
|
|
1043
1042
|
content: none;
|
|
1044
1043
|
}
|
|
1045
1044
|
storefront-enhanced-product-list-example .swiper-button-prev img,
|
|
1046
|
-
storefront-enhanced-product-list-example .swiper-button-next img
|
|
1047
|
-
storefront-enhanced-product-list-alt-example .swiper-button-next img {
|
|
1045
|
+
storefront-enhanced-product-list-example .swiper-button-next img {
|
|
1048
1046
|
background-color: #ffffff;
|
|
1049
1047
|
}
|
|
1050
1048
|
storefront-enhanced-product-list-example .swiper-button-prev,
|
|
1051
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next
|
|
1052
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next {
|
|
1049
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next {
|
|
1053
1050
|
top: auto;
|
|
1054
1051
|
bottom: 0px;
|
|
1055
1052
|
left: auto;
|
|
@@ -1059,8 +1056,7 @@ storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next {
|
|
|
1059
1056
|
border-radius: 4px;
|
|
1060
1057
|
}
|
|
1061
1058
|
storefront-enhanced-product-list-example .swiper-button-prev:hover,
|
|
1062
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:hover
|
|
1063
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next:hover {
|
|
1059
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:hover {
|
|
1064
1060
|
outline: none;
|
|
1065
1061
|
outline-offset: 0;
|
|
1066
1062
|
text-decoration: none;
|
|
@@ -1069,23 +1065,19 @@ storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next:hov
|
|
|
1069
1065
|
}
|
|
1070
1066
|
storefront-enhanced-product-list-example .swiper-button-prev:focus, storefront-enhanced-product-list-example .swiper-button-prev:active,
|
|
1071
1067
|
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:focus,
|
|
1072
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:active
|
|
1073
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next:focus,
|
|
1074
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next:active {
|
|
1068
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next:active {
|
|
1075
1069
|
outline: none;
|
|
1076
1070
|
outline-offset: 0;
|
|
1077
1071
|
text-decoration: none;
|
|
1078
1072
|
background-color: #BEC6CA;
|
|
1079
1073
|
}
|
|
1080
1074
|
storefront-enhanced-product-list-example .swiper-button-prev svg,
|
|
1081
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next svg
|
|
1082
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-next svg {
|
|
1075
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-next svg {
|
|
1083
1076
|
height: 14px;
|
|
1084
1077
|
width: 9px;
|
|
1085
1078
|
}
|
|
1086
1079
|
storefront-enhanced-product-list-example .swiper-button-next,
|
|
1087
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev
|
|
1088
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev {
|
|
1080
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev {
|
|
1089
1081
|
top: auto;
|
|
1090
1082
|
bottom: 0px;
|
|
1091
1083
|
right: auto;
|
|
@@ -1095,8 +1087,7 @@ storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev {
|
|
|
1095
1087
|
border-radius: 4px;
|
|
1096
1088
|
}
|
|
1097
1089
|
storefront-enhanced-product-list-example .swiper-button-next:hover,
|
|
1098
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:hover
|
|
1099
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev:hover {
|
|
1090
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:hover {
|
|
1100
1091
|
outline: none;
|
|
1101
1092
|
outline-offset: 0;
|
|
1102
1093
|
text-decoration: none;
|
|
@@ -1105,22 +1096,19 @@ storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev:hov
|
|
|
1105
1096
|
}
|
|
1106
1097
|
storefront-enhanced-product-list-example .swiper-button-next:focus, storefront-enhanced-product-list-example .swiper-button-next:active,
|
|
1107
1098
|
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:focus,
|
|
1108
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:active
|
|
1109
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev:focus,
|
|
1110
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev:active {
|
|
1099
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev:active {
|
|
1111
1100
|
outline: none;
|
|
1112
1101
|
outline-offset: 0;
|
|
1113
1102
|
text-decoration: none;
|
|
1114
1103
|
background-color: #BEC6CA;
|
|
1115
1104
|
}
|
|
1116
1105
|
storefront-enhanced-product-list-example .swiper-button-next svg,
|
|
1117
|
-
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev svg
|
|
1118
|
-
storefront-enhanced-product-list-alt-example .swiper-rtl .swiper-button-prev svg {
|
|
1106
|
+
storefront-enhanced-product-list-example .swiper-rtl .swiper-button-prev svg {
|
|
1119
1107
|
height: 14px;
|
|
1120
1108
|
width: 9px;
|
|
1121
1109
|
}
|
|
1122
1110
|
@media only screen and (min-width: 768px) {
|
|
1123
|
-
storefront-enhanced-product-list-example .swiper-container
|
|
1111
|
+
storefront-enhanced-product-list-example .swiper-container {
|
|
1124
1112
|
padding-left: 4px;
|
|
1125
1113
|
padding-right: 4px;
|
|
1126
1114
|
margin-left: -4px;
|
|
@@ -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, {
|
|
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"; }
|
|
@@ -781,26 +781,26 @@ a:focus-visible {
|
|
|
781
781
|
border-radius: var(--ptc-border-radius-standard);
|
|
782
782
|
}
|
|
783
783
|
|
|
784
|
-
.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 {
|
|
784
|
+
.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 {
|
|
785
785
|
color: var(--color-blue-04);
|
|
786
786
|
margin: -2px;
|
|
787
787
|
border: 2px solid transparent;
|
|
788
788
|
}
|
|
789
|
-
.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 {
|
|
789
|
+
.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 {
|
|
790
790
|
color: var(--color-blue-06);
|
|
791
791
|
}
|
|
792
|
-
.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 {
|
|
792
|
+
.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 {
|
|
793
793
|
transition: none;
|
|
794
794
|
color: var(--color-blue-07);
|
|
795
795
|
}
|
|
796
|
-
.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 {
|
|
796
|
+
.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 {
|
|
797
797
|
color: var(--color-blue-05);
|
|
798
798
|
}
|
|
799
|
-
.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 {
|
|
799
|
+
.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 {
|
|
800
800
|
color: var(--color-gray-04) !important;
|
|
801
801
|
cursor: not-allowed;
|
|
802
802
|
}
|
|
803
|
-
.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 {
|
|
803
|
+
.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 {
|
|
804
804
|
border-radius: var(--ptc-border-radius-standard);
|
|
805
805
|
border: 2px solid white;
|
|
806
806
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -102,8 +102,8 @@ export class PtcContainer {
|
|
|
102
102
|
"type": "string",
|
|
103
103
|
"mutable": false,
|
|
104
104
|
"complexType": {
|
|
105
|
-
"original": "'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | '
|
|
106
|
-
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-
|
|
105
|
+
"original": "'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xxx-large' | 'xxx-large'",
|
|
106
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-small\" | \"xxx-large\"",
|
|
107
107
|
"references": {}
|
|
108
108
|
},
|
|
109
109
|
"required": false,
|
|
@@ -39,26 +39,8 @@ export class PtcCountdown {
|
|
|
39
39
|
// Map time zone abbreviations to their offset in minutes.
|
|
40
40
|
getOffsetFromAbbr(abbr) {
|
|
41
41
|
const tzMapping = {
|
|
42
|
-
'PST': -480,
|
|
43
|
-
'PDT': -420,
|
|
44
|
-
'MST': -420,
|
|
45
|
-
'MDT': -360,
|
|
46
|
-
'CST': -360,
|
|
47
|
-
'CDT': -300,
|
|
48
|
-
'UTC': 0,
|
|
49
|
-
'BST': 60,
|
|
50
|
-
'GST': 240,
|
|
51
|
-
'KST': 540,
|
|
52
|
-
'ACST': 570,
|
|
53
42
|
'ACDT': 630,
|
|
54
|
-
'
|
|
55
|
-
'EDT': -240,
|
|
56
|
-
'CET': 60,
|
|
57
|
-
'CEST': 120,
|
|
58
|
-
'IST': 330,
|
|
59
|
-
'CST_CN': 480,
|
|
60
|
-
'JST': 540,
|
|
61
|
-
//Above shows the existing timezones in SC
|
|
43
|
+
'ACST': 570,
|
|
62
44
|
'ADT': -180,
|
|
63
45
|
'AEDT': 660,
|
|
64
46
|
'AEST': 600,
|
|
@@ -66,10 +48,25 @@ export class PtcCountdown {
|
|
|
66
48
|
'AKST': -540,
|
|
67
49
|
'AST': -240,
|
|
68
50
|
'AWST': 480,
|
|
51
|
+
'BST': 60,
|
|
52
|
+
'CDT': -300,
|
|
53
|
+
'CEST': 120,
|
|
54
|
+
'CET': 60,
|
|
55
|
+
'CST': -360,
|
|
56
|
+
'CST_CN': 480,
|
|
57
|
+
'EDT': -240,
|
|
69
58
|
'EEST': 180,
|
|
70
59
|
'EET': 120,
|
|
60
|
+
'EST': -300,
|
|
71
61
|
'GMT': 0,
|
|
72
62
|
'HKT': 480,
|
|
63
|
+
'IST': 330,
|
|
64
|
+
'JST': 540,
|
|
65
|
+
'MDT': -360,
|
|
66
|
+
'MST': -420,
|
|
67
|
+
'PDT': -420,
|
|
68
|
+
'PST': -480,
|
|
69
|
+
'UTC': 0,
|
|
73
70
|
};
|
|
74
71
|
return tzMapping[abbr] !== undefined ? tzMapping[abbr] : 0;
|
|
75
72
|
}
|
|
@@ -156,6 +153,7 @@ export class PtcCountdown {
|
|
|
156
153
|
year: 'numeric',
|
|
157
154
|
hour: '2-digit',
|
|
158
155
|
minute: '2-digit',
|
|
156
|
+
second: '2-digit',
|
|
159
157
|
hour12: hour12,
|
|
160
158
|
}), ' ', "(", this.eventTimeZone, ")")));
|
|
161
159
|
}
|