@ptcwebops/ptcw-design 5.4.5 → 5.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +2 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +2 -1
- package/dist/cjs/ptc-accordion.cjs.entry.js +2 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +17 -3
- package/dist/cjs/ptc-button.cjs.entry.js +4 -2
- package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +185 -76
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-info-tile.cjs.entry.js +3 -2
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +1 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +3 -3
- package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +3 -4
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +1 -2
- package/dist/collection/components/icon-asset/icon-asset.css +2 -2
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -4
- package/dist/collection/components/list-item/list-item.js +19 -1
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -1
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +1 -1
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +19 -1
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +19 -1
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +1 -1
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +62 -6
- package/dist/collection/components/ptc-button/ptc-button.css +10 -2
- package/dist/collection/components/ptc-button/ptc-button.js +21 -1
- package/dist/collection/components/ptc-card/ptc-card.css +4 -4
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +7 -7
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +10 -1
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +1 -2
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +20 -1
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +3 -3
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +3 -3
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +7 -7
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +4 -0
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -1
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +1 -1
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +2 -2
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +1 -1
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +51 -34
- package/dist/custom-elements/index.js +241 -113
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/list-item.entry.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +2 -1
- package/dist/esm/ptc-accordion.entry.js +2 -1
- package/dist/esm/ptc-background-video.entry.js +17 -3
- package/dist/esm/ptc-button.entry.js +4 -2
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_2.entry.js +185 -76
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +3 -2
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +3 -3
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-mobile-select.entry.js +3 -4
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-141af044.entry.js +1 -0
- package/dist/ptcw-design/p-34f54d9f.entry.js +1 -0
- package/dist/ptcw-design/{p-d1016f96.entry.js → p-3d806530.entry.js} +1 -1
- package/dist/ptcw-design/p-51a275df.entry.js +1 -0
- package/dist/ptcw-design/{p-594e8457.entry.js → p-5db7f70b.entry.js} +1 -1
- package/dist/ptcw-design/p-7a09fbe0.entry.js +1 -0
- package/dist/ptcw-design/p-96125845.entry.js +1 -0
- package/dist/ptcw-design/p-9cc2181e.entry.js +1 -0
- package/dist/ptcw-design/{p-3f283f6f.entry.js → p-9de5252c.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a077de7.entry.js → p-a3ae424f.entry.js} +1 -1
- package/dist/ptcw-design/p-a7f30c53.entry.js +1 -0
- package/dist/ptcw-design/p-ad774d00.entry.js +1 -0
- package/dist/ptcw-design/p-ae09fec7.entry.js +1 -0
- package/dist/ptcw-design/{p-45ade12a.entry.js → p-c02ab93c.entry.js} +1 -1
- package/dist/ptcw-design/p-c0540d4a.entry.js +1 -0
- package/dist/ptcw-design/{p-520b4e6f.entry.js → p-c1c1a662.entry.js} +1 -1
- package/dist/ptcw-design/{p-960c182c.entry.js → p-d0d8e810.entry.js} +1 -1
- package/dist/ptcw-design/p-db89b484.entry.js +1 -0
- package/dist/ptcw-design/{p-6da0fde1.entry.js → p-e2334026.entry.js} +1 -1
- package/dist/ptcw-design/{p-657ecf13.entry.js → p-fc51fc29.entry.js} +1 -1
- package/dist/ptcw-design/p-fe9faaad.entry.js +68 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/list-item/list-item.d.ts +1 -0
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -0
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +1 -0
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +4 -0
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +1 -0
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -1
- package/dist/types/components.d.ts +22 -4
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-0b7dee33.entry.js +0 -1
- package/dist/ptcw-design/p-1fa761c3.entry.js +0 -1
- package/dist/ptcw-design/p-2260122d.entry.js +0 -1
- package/dist/ptcw-design/p-33d26bc7.entry.js +0 -1
- package/dist/ptcw-design/p-60abf148.entry.js +0 -1
- package/dist/ptcw-design/p-76e4a0c8.entry.js +0 -1
- package/dist/ptcw-design/p-7afbb738.entry.js +0 -1
- package/dist/ptcw-design/p-7ea1170a.entry.js +0 -1
- package/dist/ptcw-design/p-90b30ec9.entry.js +0 -68
- package/dist/ptcw-design/p-e436fd24.entry.js +0 -1
- package/dist/ptcw-design/p-eaedd433.entry.js +0 -1
- package/dist/ptcw-design/p-f680a788.entry.js +0 -1
|
@@ -346,8 +346,7 @@ a.center {
|
|
|
346
346
|
.ptc-tertiary:focus-visible,
|
|
347
347
|
.icon-toggle:focus-visible {
|
|
348
348
|
border-radius: var(--ptc-border-radius-standard);
|
|
349
|
-
|
|
350
|
-
outline: 5px solid #003dd6;
|
|
349
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
351
350
|
}
|
|
352
351
|
.ptc-primary span,
|
|
353
352
|
.ptc-quaternary span,
|
|
@@ -402,6 +401,15 @@ a.center {
|
|
|
402
401
|
.icon-toggle.large span {
|
|
403
402
|
font-size: var(--ptc-font-size-large);
|
|
404
403
|
}
|
|
404
|
+
.ptc-primary.acc-alt-style:focus-visible,
|
|
405
|
+
.ptc-quaternary.acc-alt-style:focus-visible,
|
|
406
|
+
.ptc-secondary.acc-alt-style:focus-visible,
|
|
407
|
+
.ptc-tertiary.acc-alt-style:focus-visible,
|
|
408
|
+
.icon-toggle.acc-alt-style:focus-visible {
|
|
409
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
410
|
+
border: 2px solid white;
|
|
411
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
412
|
+
}
|
|
405
413
|
|
|
406
414
|
.ptc-primary {
|
|
407
415
|
background: var(--color-gray-12);
|
|
@@ -15,6 +15,7 @@ export class PtcButton {
|
|
|
15
15
|
this.tabNav = 0;
|
|
16
16
|
this.styles = undefined;
|
|
17
17
|
this.textAlign = undefined;
|
|
18
|
+
this.enableAccessibilityAltStyle = false;
|
|
18
19
|
this.size = undefined;
|
|
19
20
|
this.buttonTitle = undefined;
|
|
20
21
|
this.ariaLabel = '';
|
|
@@ -61,7 +62,8 @@ export class PtcButton {
|
|
|
61
62
|
['disabled']: this.disabled ? true : false,
|
|
62
63
|
['active']: this.active ? true : false,
|
|
63
64
|
[this.textAlign]: true,
|
|
64
|
-
[this.size]: true
|
|
65
|
+
[this.size]: true,
|
|
66
|
+
['acc-alt-style']: this.enableAccessibilityAltStyle
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
static get is() { return "ptc-button"; }
|
|
@@ -310,6 +312,24 @@ export class PtcButton {
|
|
|
310
312
|
"attribute": "text-align",
|
|
311
313
|
"reflect": false
|
|
312
314
|
},
|
|
315
|
+
"enableAccessibilityAltStyle": {
|
|
316
|
+
"type": "boolean",
|
|
317
|
+
"mutable": false,
|
|
318
|
+
"complexType": {
|
|
319
|
+
"original": "boolean",
|
|
320
|
+
"resolved": "boolean",
|
|
321
|
+
"references": {}
|
|
322
|
+
},
|
|
323
|
+
"required": false,
|
|
324
|
+
"optional": false,
|
|
325
|
+
"docs": {
|
|
326
|
+
"tags": [],
|
|
327
|
+
"text": "Enable Accessibility Alternate Styling"
|
|
328
|
+
},
|
|
329
|
+
"attribute": "enable-accessibility-alt-style",
|
|
330
|
+
"reflect": false,
|
|
331
|
+
"defaultValue": "false"
|
|
332
|
+
},
|
|
313
333
|
"size": {
|
|
314
334
|
"type": "string",
|
|
315
335
|
"mutable": false,
|
|
@@ -200,7 +200,7 @@ ptc-link, ptc-square-card,
|
|
|
200
200
|
border-radius: var(--ptc-border-radius-standard);
|
|
201
201
|
}
|
|
202
202
|
:host(.clip-edge-card) .card-body {
|
|
203
|
-
transform: translateY(calc(
|
|
203
|
+
transform: translateY(calc(-1 * var(--ptc-element-spacing-04)));
|
|
204
204
|
overflow: hidden;
|
|
205
205
|
width: calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));
|
|
206
206
|
font-size: var(--ptc-font-size-xx-small);
|
|
@@ -392,7 +392,7 @@ ptc-link, ptc-square-card,
|
|
|
392
392
|
:host(.horizontal-card) .link-wrapper:focus-visible {
|
|
393
393
|
border-radius: var(--ptc-border-radius-standard);
|
|
394
394
|
border: 2px solid white;
|
|
395
|
-
outline: 5px solid
|
|
395
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
396
396
|
}
|
|
397
397
|
:host(.horizontal-card) .card-media {
|
|
398
398
|
display: flex;
|
|
@@ -1022,7 +1022,7 @@ ptc-link, ptc-square-card,
|
|
|
1022
1022
|
:host(.case-studies-card) .link-wrapper:focus-visible {
|
|
1023
1023
|
border-radius: var(--ptc-border-radius-standard);
|
|
1024
1024
|
border: 2px solid white;
|
|
1025
|
-
outline: 5px solid
|
|
1025
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
1026
1026
|
}
|
|
1027
1027
|
:host(.case-studies-card) .card-media {
|
|
1028
1028
|
width: 100%;
|
|
@@ -1349,7 +1349,7 @@ ptc-link, ptc-square-card,
|
|
|
1349
1349
|
:host(.featured-horizontal-card) .link-wrapper:focus-visible {
|
|
1350
1350
|
border-radius: var(--ptc-border-radius-standard);
|
|
1351
1351
|
border: 2px solid white;
|
|
1352
|
-
outline: 5px solid
|
|
1352
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
1353
1353
|
}
|
|
1354
1354
|
:host(.featured-horizontal-card) .card-media {
|
|
1355
1355
|
width: 100%;
|
|
@@ -1133,29 +1133,29 @@ ptc-link, ptc-square-card,
|
|
|
1133
1133
|
|
|
1134
1134
|
.mdc-checkbox {
|
|
1135
1135
|
transform: translateX(-8px);
|
|
1136
|
-
padding:
|
|
1136
|
+
padding: 8px;
|
|
1137
1137
|
/* @alternate */
|
|
1138
1138
|
padding: calc((var(--mdc-checkbox-ripple-size, 34px) - 18px) / 2);
|
|
1139
|
-
margin:
|
|
1139
|
+
margin: 0px;
|
|
1140
1140
|
/* @alternate */
|
|
1141
1141
|
margin: calc((var(--mdc-checkbox-touch-target-size, 34px) - 34px) / 2);
|
|
1142
1142
|
}
|
|
1143
1143
|
.mdc-checkbox .mdc-checkbox__background {
|
|
1144
|
-
top:
|
|
1144
|
+
top: 8px;
|
|
1145
1145
|
/* @alternate */
|
|
1146
1146
|
top: calc((var(--mdc-checkbox-ripple-size, 34px) - 18px) / 2);
|
|
1147
|
-
left:
|
|
1147
|
+
left: 8px;
|
|
1148
1148
|
/* @alternate */
|
|
1149
1149
|
left: calc((var(--mdc-checkbox-ripple-size, 34px) - 18px) / 2);
|
|
1150
1150
|
}
|
|
1151
1151
|
.mdc-checkbox .mdc-checkbox__native-control {
|
|
1152
|
-
top:
|
|
1152
|
+
top: 0px;
|
|
1153
1153
|
/* @alternate */
|
|
1154
1154
|
top: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
|
|
1155
|
-
right:
|
|
1155
|
+
right: 0px;
|
|
1156
1156
|
/* @alternate */
|
|
1157
1157
|
right: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
|
|
1158
|
-
left:
|
|
1158
|
+
left: 0px;
|
|
1159
1159
|
/* @alternate */
|
|
1160
1160
|
left: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
|
|
1161
1161
|
width: 34px;
|
package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css
CHANGED
|
@@ -294,7 +294,7 @@ ptc-link, ptc-square-card,
|
|
|
294
294
|
left: 0;
|
|
295
295
|
right: 0;
|
|
296
296
|
bottom: 0;
|
|
297
|
-
z-index:
|
|
297
|
+
z-index: 11;
|
|
298
298
|
width: 100%;
|
|
299
299
|
height: 100%;
|
|
300
300
|
}
|
|
@@ -330,6 +330,10 @@ ptc-link, ptc-square-card,
|
|
|
330
330
|
.card-links .card-section .card-link:active .bgp, .card-links .card-section .card-link.active .bgp {
|
|
331
331
|
opacity: 1;
|
|
332
332
|
}
|
|
333
|
+
.card-links .card-section .card-link:focus-visible, .card-links .card-section .card-link:focus, .card-links .card-section .card-link:focus-within {
|
|
334
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
335
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
336
|
+
}
|
|
333
337
|
.card-links .card-section:before {
|
|
334
338
|
position: absolute;
|
|
335
339
|
width: 32px;
|
|
@@ -408,6 +412,11 @@ ptc-link, ptc-square-card,
|
|
|
408
412
|
.card-section.in-view {
|
|
409
413
|
animation-name: fadeUpInContainer;
|
|
410
414
|
}
|
|
415
|
+
@media only screen and (min-width: 1200px) {
|
|
416
|
+
.card-section.in-view {
|
|
417
|
+
overflow: visible !important;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
411
420
|
.card-section.in-view .card-link {
|
|
412
421
|
animation-name: fadeUpIn;
|
|
413
422
|
}
|
|
@@ -180,8 +180,7 @@ ptc-link, ptc-square-card,
|
|
|
180
180
|
}
|
|
181
181
|
.tile:focus-visible {
|
|
182
182
|
border-radius: var(--ptc-border-radius-standard);
|
|
183
|
-
|
|
184
|
-
outline: 5px solid #003dd6;
|
|
183
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
185
184
|
}
|
|
186
185
|
|
|
187
186
|
::slotted(img[slot=tile-image]) {
|
|
@@ -5,6 +5,7 @@ export class PtcInfoTile {
|
|
|
5
5
|
this.variant = undefined;
|
|
6
6
|
this.styles = undefined;
|
|
7
7
|
this.trackerId = undefined;
|
|
8
|
+
this.accessibilityIndex = 0;
|
|
8
9
|
}
|
|
9
10
|
handleClick() {
|
|
10
11
|
this.tileClick.emit();
|
|
@@ -30,7 +31,7 @@ export class PtcInfoTile {
|
|
|
30
31
|
}
|
|
31
32
|
render() {
|
|
32
33
|
const content = (h("div", { class: "tile-content" }, h("span", { class: "tile-title-span" }, h("slot", { name: "tile-title" })), h("div", { class: "tile-title-desc" }, h("slot", { name: "tile-description" }))));
|
|
33
|
-
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: `tile ${this.variant}`, onClick: () => this.handleClick(), tabindex:
|
|
34
|
+
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: `tile ${this.variant}`, onClick: () => this.handleClick(), tabindex: this.accessibilityIndex }, this.variant === 'image' && (h("div", { class: "tile-image" }, h("slot", { name: "tile-image" }))), content, this.link && h("a", { href: this.link, class: "link-overlay link-press", tabindex: "-1" }))));
|
|
34
35
|
}
|
|
35
36
|
static get is() { return "ptc-info-tile"; }
|
|
36
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,6 +114,24 @@ export class PtcInfoTile {
|
|
|
113
114
|
},
|
|
114
115
|
"attribute": "tracker-id",
|
|
115
116
|
"reflect": false
|
|
117
|
+
},
|
|
118
|
+
"accessibilityIndex": {
|
|
119
|
+
"type": "number",
|
|
120
|
+
"mutable": false,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "number",
|
|
123
|
+
"resolved": "number",
|
|
124
|
+
"references": {}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": ""
|
|
131
|
+
},
|
|
132
|
+
"attribute": "accessibility-index",
|
|
133
|
+
"reflect": false,
|
|
134
|
+
"defaultValue": "0"
|
|
116
135
|
}
|
|
117
136
|
};
|
|
118
137
|
}
|
|
@@ -99,7 +99,7 @@ ptc-link, ptc-square-card,
|
|
|
99
99
|
padding: 2px;
|
|
100
100
|
border-radius: var(--ptc-border-radius-standard);
|
|
101
101
|
border: 2px solid white;
|
|
102
|
-
outline: 5px solid
|
|
102
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
103
103
|
}
|
|
104
104
|
@media only screen and (min-width: 768px) {
|
|
105
105
|
:host .small-inline-cta-container {
|
|
@@ -179,7 +179,7 @@ ptc-link, ptc-square-card,
|
|
|
179
179
|
padding: 2px;
|
|
180
180
|
border-radius: var(--ptc-border-radius-standard);
|
|
181
181
|
border: 2px solid white;
|
|
182
|
-
outline: 5px solid
|
|
182
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
183
183
|
}
|
|
184
184
|
@media only screen and (min-width: 480px) {
|
|
185
185
|
:host .big-inline-cta-container .cta-content .cta-body {
|
|
@@ -284,7 +284,7 @@ ptc-link, ptc-square-card,
|
|
|
284
284
|
padding: 2px;
|
|
285
285
|
border-radius: var(--ptc-border-radius-standard);
|
|
286
286
|
border: 2px solid white;
|
|
287
|
-
outline: 5px solid
|
|
287
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
288
288
|
}
|
|
289
289
|
@media only screen and (min-width: 768px) {
|
|
290
290
|
:host .bottom-inline-cta-container {
|
|
@@ -1101,7 +1101,7 @@ ptc-link, ptc-square-card,
|
|
|
1101
1101
|
}
|
|
1102
1102
|
@media only screen and (min-width: 992px) {
|
|
1103
1103
|
.u-3-col-grid .u-3-col {
|
|
1104
|
-
width: calc(33.
|
|
1104
|
+
width: calc(33.3333333333% - 10.66666666px);
|
|
1105
1105
|
}
|
|
1106
1106
|
}
|
|
1107
1107
|
.u-3-col-grid.u-col-space-lg {
|
|
@@ -1118,7 +1118,7 @@ ptc-link, ptc-square-card,
|
|
|
1118
1118
|
}
|
|
1119
1119
|
@media only screen and (min-width: 992px) {
|
|
1120
1120
|
.u-3-col-grid.u-col-space-lg .u-3-col {
|
|
1121
|
-
width: calc(33.
|
|
1121
|
+
width: calc(33.3333333333% - 21.3333333px);
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
@@ -1543,7 +1543,7 @@ a.disabled {
|
|
|
1543
1543
|
:host(.blog-jumbotron) .blog-author-name:focus-visible {
|
|
1544
1544
|
border-radius: var(--ptc-border-radius-standard);
|
|
1545
1545
|
border: 2px solid white;
|
|
1546
|
-
outline: 5px solid
|
|
1546
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
1547
1547
|
}
|
|
1548
1548
|
:host(.blog-jumbotron) .image-container {
|
|
1549
1549
|
background: white;
|
|
@@ -15,7 +15,7 @@ export class PtcJumbotron {
|
|
|
15
15
|
this.playButtonTitle = undefined;
|
|
16
16
|
this.pauseButtonTitle = undefined;
|
|
17
17
|
this.buttonLocation = undefined;
|
|
18
|
-
this.buttonTabIndex =
|
|
18
|
+
this.buttonTabIndex = 0;
|
|
19
19
|
this.contentBackground = undefined;
|
|
20
20
|
this.contentColor = undefined;
|
|
21
21
|
this.textAlign = 'left';
|
|
@@ -57,7 +57,7 @@ export class PtcJumbotron {
|
|
|
57
57
|
break;
|
|
58
58
|
case 'dark-video':
|
|
59
59
|
case 'light-video':
|
|
60
|
-
mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index":
|
|
60
|
+
mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
|
|
61
61
|
break;
|
|
62
62
|
case 'dark':
|
|
63
63
|
case 'light':
|
|
@@ -393,22 +393,22 @@ export class PtcJumbotron {
|
|
|
393
393
|
"reflect": false
|
|
394
394
|
},
|
|
395
395
|
"buttonTabIndex": {
|
|
396
|
-
"type": "
|
|
396
|
+
"type": "number",
|
|
397
397
|
"mutable": false,
|
|
398
398
|
"complexType": {
|
|
399
|
-
"original": "
|
|
400
|
-
"resolved": "
|
|
399
|
+
"original": "number",
|
|
400
|
+
"resolved": "number",
|
|
401
401
|
"references": {}
|
|
402
402
|
},
|
|
403
403
|
"required": false,
|
|
404
|
-
"optional":
|
|
404
|
+
"optional": false,
|
|
405
405
|
"docs": {
|
|
406
406
|
"tags": [],
|
|
407
407
|
"text": ""
|
|
408
408
|
},
|
|
409
409
|
"attribute": "button-tab-index",
|
|
410
410
|
"reflect": false,
|
|
411
|
-
"defaultValue": "
|
|
411
|
+
"defaultValue": "0"
|
|
412
412
|
},
|
|
413
413
|
"isTransitioning": {
|
|
414
414
|
"type": "boolean",
|
|
@@ -220,6 +220,10 @@ ptc-link, ptc-square-card,
|
|
|
220
220
|
-webkit-transition: none !important;
|
|
221
221
|
-o-transition: none !important;
|
|
222
222
|
}
|
|
223
|
+
:host(.case-study-icon) .case-study-img-anchor:focus-visible {
|
|
224
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
225
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
226
|
+
}
|
|
223
227
|
|
|
224
228
|
@media (min-width: 768px) {
|
|
225
229
|
:host(.case-study-icon) {
|
|
@@ -52,7 +52,7 @@ export class PtcMediaCard {
|
|
|
52
52
|
// : null)}
|
|
53
53
|
style: this.cardType != "case-study-icon" ?
|
|
54
54
|
((this.isHovered && this.hoverBackgroundImage) ? { backgroundImage: `url(${this.hoverBackgroundImage})` } : { backgroundImage: `url(${this.activeBackgroundImage})` }) : {} }, h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ?
|
|
55
|
-
(h(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("a", { class: "case-study-img-anchor", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
|
|
55
|
+
(h(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, isVideoUrl && (h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' } }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === "media-card" && this.getCardText())) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("a", { class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt }))))
|
|
56
56
|
: null));
|
|
57
57
|
}
|
|
58
58
|
getCssClassMap() {
|
|
@@ -128,7 +128,7 @@ ptc-link, ptc-square-card,
|
|
|
128
128
|
width: 1.125rem;
|
|
129
129
|
height: 1.125rem;
|
|
130
130
|
border: 1px solid var(--color-gray-10);
|
|
131
|
-
border-radius: calc(var(--ptc-border-radius-standard)/2);
|
|
131
|
+
border-radius: calc(var(--ptc-border-radius-standard) / 2);
|
|
132
132
|
transition: background-color var(--ptc-ease-out) var(--ptc-transition-medium), fill var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium);
|
|
133
133
|
}
|
|
134
134
|
.standard-filter .next-button:hover, .standard-filter .previous-button:hover {
|
|
@@ -1046,7 +1046,7 @@ ptc-link, ptc-square-card,
|
|
|
1046
1046
|
}
|
|
1047
1047
|
@media only screen and (min-width: 992px) {
|
|
1048
1048
|
.u-3-col-grid .u-3-col {
|
|
1049
|
-
width: calc(33.
|
|
1049
|
+
width: calc(33.3333333333% - 10.66666666px);
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
1052
|
.u-3-col-grid.u-col-space-lg {
|
|
@@ -1063,7 +1063,7 @@ ptc-link, ptc-square-card,
|
|
|
1063
1063
|
}
|
|
1064
1064
|
@media only screen and (min-width: 992px) {
|
|
1065
1065
|
.u-3-col-grid.u-col-space-lg .u-3-col {
|
|
1066
|
-
width: calc(33.
|
|
1066
|
+
width: calc(33.3333333333% - 21.3333333px);
|
|
1067
1067
|
}
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
@@ -2215,9 +2215,9 @@
|
|
|
2215
2215
|
.iti__v-hide {
|
|
2216
2216
|
visibility: hidden;
|
|
2217
2217
|
}
|
|
2218
|
-
.iti input,
|
|
2219
|
-
.iti input[type=text],
|
|
2220
|
-
.iti input[type=tel] {
|
|
2218
|
+
.iti input.iti__tel-input,
|
|
2219
|
+
.iti input.iti__tel-input[type=text],
|
|
2220
|
+
.iti input.iti__tel-input[type=tel] {
|
|
2221
2221
|
position: relative;
|
|
2222
2222
|
z-index: 0;
|
|
2223
2223
|
margin-top: 0 !important;
|
|
@@ -2256,26 +2256,35 @@
|
|
|
2256
2256
|
border-top: none;
|
|
2257
2257
|
border-bottom: 4px solid #555;
|
|
2258
2258
|
}
|
|
2259
|
-
.
|
|
2259
|
+
.iti__dropdown-content {
|
|
2260
2260
|
position: absolute;
|
|
2261
2261
|
z-index: 2;
|
|
2262
|
-
|
|
2263
|
-
padding: 0;
|
|
2264
|
-
margin: 0 0 0 -1px;
|
|
2262
|
+
margin-left: -1px;
|
|
2265
2263
|
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
|
|
2266
2264
|
background-color: white;
|
|
2267
2265
|
border: 1px solid #ccc;
|
|
2268
|
-
white-space: nowrap;
|
|
2269
2266
|
max-height: 200px;
|
|
2270
2267
|
overflow-y: scroll;
|
|
2271
2268
|
-webkit-overflow-scrolling: touch;
|
|
2272
2269
|
}
|
|
2273
|
-
.
|
|
2270
|
+
.iti__dropdown-content--dropup {
|
|
2274
2271
|
bottom: 100%;
|
|
2275
2272
|
margin-bottom: -1px;
|
|
2276
2273
|
}
|
|
2274
|
+
.iti__search-input {
|
|
2275
|
+
width: 100%;
|
|
2276
|
+
border-width: 0;
|
|
2277
|
+
}
|
|
2278
|
+
.iti__country-list {
|
|
2279
|
+
list-style: none;
|
|
2280
|
+
padding: 0;
|
|
2281
|
+
margin: 0;
|
|
2282
|
+
}
|
|
2283
|
+
.iti--flexible-dropdown-width .iti__country-list {
|
|
2284
|
+
white-space: nowrap;
|
|
2285
|
+
}
|
|
2277
2286
|
@media (max-width: 500px) {
|
|
2278
|
-
.iti__country-list {
|
|
2287
|
+
.iti--flexible-dropdown-width .iti__country-list {
|
|
2279
2288
|
white-space: normal;
|
|
2280
2289
|
}
|
|
2281
2290
|
}
|
|
@@ -2307,20 +2316,20 @@
|
|
|
2307
2316
|
margin-right: 0;
|
|
2308
2317
|
margin-left: 6px;
|
|
2309
2318
|
}
|
|
2310
|
-
.iti--allow-dropdown input,
|
|
2311
|
-
.iti--allow-dropdown input[type=text],
|
|
2312
|
-
.iti--allow-dropdown input[type=tel], .iti--separate-dial-code input,
|
|
2313
|
-
.iti--separate-dial-code input[type=text],
|
|
2314
|
-
.iti--separate-dial-code input[type=tel] {
|
|
2319
|
+
.iti--allow-dropdown input.iti__tel-input,
|
|
2320
|
+
.iti--allow-dropdown input.iti__tel-input[type=text],
|
|
2321
|
+
.iti--allow-dropdown input.iti__tel-input[type=tel], .iti--separate-dial-code input.iti__tel-input,
|
|
2322
|
+
.iti--separate-dial-code input.iti__tel-input[type=text],
|
|
2323
|
+
.iti--separate-dial-code input.iti__tel-input[type=tel] {
|
|
2315
2324
|
padding-right: 6px;
|
|
2316
2325
|
padding-left: 52px;
|
|
2317
2326
|
margin-left: 0;
|
|
2318
2327
|
}
|
|
2319
|
-
[dir=rtl] .iti--allow-dropdown input,
|
|
2320
|
-
[dir=rtl] .iti--allow-dropdown input[type=text],
|
|
2321
|
-
[dir=rtl] .iti--allow-dropdown input[type=tel], [dir=rtl] .iti--separate-dial-code input,
|
|
2322
|
-
[dir=rtl] .iti--separate-dial-code input[type=text],
|
|
2323
|
-
[dir=rtl] .iti--separate-dial-code input[type=tel] {
|
|
2328
|
+
[dir=rtl] .iti--allow-dropdown input.iti__tel-input,
|
|
2329
|
+
[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=text],
|
|
2330
|
+
[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=tel], [dir=rtl] .iti--separate-dial-code input.iti__tel-input,
|
|
2331
|
+
[dir=rtl] .iti--separate-dial-code input.iti__tel-input[type=text],
|
|
2332
|
+
[dir=rtl] .iti--separate-dial-code input.iti__tel-input[type=tel] {
|
|
2324
2333
|
padding-right: 52px;
|
|
2325
2334
|
padding-left: 6px;
|
|
2326
2335
|
margin-right: 0;
|
|
@@ -2339,12 +2348,12 @@
|
|
|
2339
2348
|
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
|
|
2340
2349
|
background-color: rgba(0, 0, 0, 0.05);
|
|
2341
2350
|
}
|
|
2342
|
-
.iti--allow-dropdown
|
|
2343
|
-
.iti--allow-dropdown
|
|
2351
|
+
.iti--allow-dropdown .iti__flag-container:has(+ input[disabled]):hover,
|
|
2352
|
+
.iti--allow-dropdown .iti__flag-container:has(+ input[readonly]):hover {
|
|
2344
2353
|
cursor: default;
|
|
2345
2354
|
}
|
|
2346
|
-
.iti--allow-dropdown
|
|
2347
|
-
.iti--allow-dropdown
|
|
2355
|
+
.iti--allow-dropdown .iti__flag-container:has(+ input[disabled]):hover .iti__selected-flag,
|
|
2356
|
+
.iti--allow-dropdown .iti__flag-container:has(+ input[readonly]):hover .iti__selected-flag {
|
|
2348
2357
|
background-color: transparent;
|
|
2349
2358
|
}
|
|
2350
2359
|
.iti--separate-dial-code .iti__selected-flag {
|
|
@@ -2368,18 +2377,26 @@
|
|
|
2368
2377
|
cursor: pointer;
|
|
2369
2378
|
}
|
|
2370
2379
|
|
|
2371
|
-
.iti-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2380
|
+
.iti--fullscreen-popup.iti--container {
|
|
2381
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
2382
|
+
top: 0;
|
|
2383
|
+
bottom: 0;
|
|
2384
|
+
left: 0;
|
|
2385
|
+
right: 0;
|
|
2376
2386
|
position: fixed;
|
|
2387
|
+
padding: 30px;
|
|
2388
|
+
display: flex;
|
|
2389
|
+
flex-direction: column;
|
|
2390
|
+
justify-content: center;
|
|
2391
|
+
}
|
|
2392
|
+
.iti--fullscreen-popup.iti--container.iti--country-search {
|
|
2393
|
+
justify-content: flex-start;
|
|
2377
2394
|
}
|
|
2378
|
-
.iti-
|
|
2395
|
+
.iti--fullscreen-popup .iti__dropdown-content {
|
|
2379
2396
|
max-height: 100%;
|
|
2380
|
-
|
|
2397
|
+
position: relative;
|
|
2381
2398
|
}
|
|
2382
|
-
.iti-
|
|
2399
|
+
.iti--fullscreen-popup .iti__country {
|
|
2383
2400
|
padding: 10px 10px;
|
|
2384
2401
|
line-height: 1.5em;
|
|
2385
2402
|
}
|
|
@@ -2405,7 +2422,7 @@
|
|
|
2405
2422
|
.iti__flag.iti__va {
|
|
2406
2423
|
width: 15px;
|
|
2407
2424
|
}
|
|
2408
|
-
@media (
|
|
2425
|
+
@media (min-resolution: 2x) {
|
|
2409
2426
|
.iti__flag {
|
|
2410
2427
|
background-size: 5762px 15px;
|
|
2411
2428
|
}
|
|
@@ -3471,7 +3488,7 @@
|
|
|
3471
3488
|
background-color: #dbdbdb;
|
|
3472
3489
|
background-position: 20px 0;
|
|
3473
3490
|
}
|
|
3474
|
-
@media (
|
|
3491
|
+
@media (min-resolution: 2x) {
|
|
3475
3492
|
.iti__flag {
|
|
3476
3493
|
background-image: url("../img/flags@2x.png?1");
|
|
3477
3494
|
}
|