@ptcwebops/ptcw-design 5.2.2 → 5.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/icon-asset.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +76 -185
  9. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +6 -6
  10. package/dist/cjs/ptc-inline-cta.cjs.entry.js +3 -3
  11. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-mobile-select.cjs.entry.js +4 -3
  13. package/dist/cjs/ptc-nav-link.cjs.entry.js +4 -3
  14. package/dist/cjs/ptc-nav-slider.cjs.entry.js +4 -2
  15. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +7 -4
  16. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  17. package/dist/cjs/ptcw-design.cjs.js +1 -1
  18. package/dist/collection/components/icon-asset/icon-asset.css +2 -2
  19. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -1
  20. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +1 -1
  21. package/dist/collection/components/ptc-background-video/ptc-background-video.js +1 -1
  22. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  23. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +7 -7
  24. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +44 -39
  25. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +5 -5
  26. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +3 -3
  27. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +2 -2
  28. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +1 -1
  29. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +2 -2
  30. package/dist/collection/components/ptc-textfield/ptc-textfield.css +34 -51
  31. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +3 -0
  32. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +20 -2
  33. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +3 -0
  34. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +37 -1
  35. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +3 -0
  36. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +57 -3
  37. package/dist/custom-elements/index.js +115 -217
  38. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  39. package/dist/esm/blog-detail-layout.entry.js +1 -1
  40. package/dist/esm/icon-asset.entry.js +1 -1
  41. package/dist/esm/loader.js +1 -1
  42. package/dist/esm/ptc-background-video.entry.js +1 -1
  43. package/dist/esm/ptc-card_2.entry.js +1 -1
  44. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  45. package/dist/esm/ptc-form-checkbox_2.entry.js +76 -185
  46. package/dist/esm/ptc-homepage-video-background.entry.js +6 -6
  47. package/dist/esm/ptc-inline-cta.entry.js +4 -4
  48. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  49. package/dist/esm/ptc-mobile-select.entry.js +4 -3
  50. package/dist/esm/ptc-nav-link.entry.js +4 -3
  51. package/dist/esm/ptc-nav-slider.entry.js +4 -2
  52. package/dist/esm/ptc-nav-submenu.entry.js +7 -4
  53. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  54. package/dist/esm/ptcw-design.js +1 -1
  55. package/dist/ptcw-design/p-02828faf.entry.js +1 -0
  56. package/dist/ptcw-design/{p-fc51fc29.entry.js → p-657ecf13.entry.js} +1 -1
  57. package/dist/ptcw-design/p-6dc17c90.entry.js +1 -0
  58. package/dist/ptcw-design/p-81e940e1.entry.js +1 -0
  59. package/dist/ptcw-design/{p-661e7736.entry.js → p-95c74739.entry.js} +1 -1
  60. package/dist/ptcw-design/{p-a3ae424f.entry.js → p-9a077de7.entry.js} +1 -1
  61. package/dist/ptcw-design/{p-8e6059b8.entry.js → p-a27e3899.entry.js} +1 -1
  62. package/dist/ptcw-design/p-abf8c768.entry.js +1 -0
  63. package/dist/ptcw-design/p-b2ea5df5.entry.js +1 -0
  64. package/dist/ptcw-design/{p-a11dbfda.entry.js → p-b76cd8af.entry.js} +1 -1
  65. package/dist/ptcw-design/p-cabb1a4d.entry.js +68 -0
  66. package/dist/ptcw-design/p-d1857ada.entry.js +1 -0
  67. package/dist/ptcw-design/p-e3bce6bf.entry.js +1 -0
  68. package/dist/ptcw-design/{p-839821e0.entry.js → p-e4675432.entry.js} +1 -1
  69. package/dist/ptcw-design/p-e732466f.entry.js +1 -0
  70. package/dist/ptcw-design/ptcw-design.css +1 -1
  71. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  72. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +4 -0
  73. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +8 -0
  74. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +12 -0
  75. package/dist/types/components.d.ts +48 -0
  76. package/dist/types/utils/eloqua.d.ts +9 -0
  77. package/package.json +1 -1
  78. package/readme.md +1 -1
  79. package/dist/ptcw-design/p-1e95df47.entry.js +0 -68
  80. package/dist/ptcw-design/p-3d8902b8.entry.js +0 -1
  81. package/dist/ptcw-design/p-42225882.entry.js +0 -1
  82. package/dist/ptcw-design/p-46c96b63.entry.js +0 -1
  83. package/dist/ptcw-design/p-a8f7293f.entry.js +0 -1
  84. package/dist/ptcw-design/p-aa37ba65.entry.js +0 -1
  85. package/dist/ptcw-design/p-bbce25be.entry.js +0 -1
  86. package/dist/ptcw-design/p-eadf6313.entry.js +0 -1
  87. package/dist/ptcw-design/p-fe14b5ea.entry.js +0 -1
@@ -90,11 +90,11 @@ export class PtcInlineCta {
90
90
  render() {
91
91
  const Small = () => {
92
92
  var _a, _b, _c, _d, _e, _f, _g;
93
- return h("div", { class: "small-inline-cta-container" }, h("div", { class: "cta-bg" }), h("div", { class: "cta-content" }, h("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t\t" })), h("div", { class: "cta-body" }, h("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0" }, !!this.heading && h("ptc-title", { "seo-compatibility-mode": true, type: "h4", "title-size": "medium", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h("h4", null, this.truncate(this.heading, 70))), !!this.description && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'small' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-small' }), h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 100))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'small' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-small' }), h("ptc-link", { disabled: false, "font-size": "small", theme: "d-green-underline", styles: ".d-green-underline {line-height: var(--ptc-line-height-p)}" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
93
+ return h("div", { class: "small-inline-cta-container" }, h("div", { class: "cta-bg" }), h("div", { class: "cta-content" }, h("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t" })), h("div", { class: "cta-body" }, h("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0" }, !!this.heading && h("ptc-title", { "seo-compatibility-mode": true, type: "h4", "title-size": "medium", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h("h4", null, this.truncate(this.heading, 70))), !!this.description && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'small' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-small' }), h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 100))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'small' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-small' }), h("ptc-link", { disabled: false, "font-size": "small", theme: "d-green-underline", styles: ".d-green-underline {line-height: var(--ptc-line-height-p)}" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
94
94
  };
95
95
  const Big = () => {
96
96
  var _a, _b, _c, _d, _e, _f, _g;
97
- return h("div", { class: "big-inline-cta-container" }, h("div", { class: "cta-bg" }), h("div", { class: "cta-content" }, h("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}; \r\n\t\t\t\t\t\t\t" })), h("div", { class: "cta-body", id: this.trackerId }, h("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0" }, !!this.heading && h("ptc-title", { "seo-compatibility-mode": true, type: "h3", "title-size": "large", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h("h3", null, this.truncate(this.heading, 70))), !!this.description && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'large' }), h("ptc-spacer", { breakpoint: 'small', size: 'medium' }), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 200))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'xx-large' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-large' }), h("ptc-spacer", { breakpoint: 'x-small', size: 'x-small' }), h("ptc-spacer", { breakpoint: 'small', size: 'xx-small' }), h("ptc-button", { color: "ptc-tertiary", disabled: false, type: "button", styles: ".ptc-tertiary {border: 2px solid #FFFFFF}", "tab-nav": "-1" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
97
+ return h("div", { class: "big-inline-cta-container" }, h("div", { class: "cta-bg" }), h("div", { class: "cta-content" }, h("div", { class: "cta-image" }, !!((_a = this.image) === null || _a === void 0 ? void 0 : _a.src) && h("ptc-picture", { alt: (_b = this.image) === null || _b === void 0 ? void 0 : _b.alt, "display-image": "block", "image-alignment": "center", "image-position": "relative", "is-full-height": "true", "is-full-width": "true", "object-fit": "cover", src: (_c = this.image) === null || _c === void 0 ? void 0 : _c.src, styles: "\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t" })), h("div", { class: "cta-body", id: this.trackerId }, h("a", { class: "cta-body-inner link-wrapper", href: (_d = this.cta) === null || _d === void 0 ? void 0 : _d.href, target: (_e = this.cta) === null || _e === void 0 ? void 0 : _e.target, tabindex: "0" }, !!this.heading && h("ptc-title", { "seo-compatibility-mode": true, type: "h3", "title-size": "large", "title-weight": "w-7", "title-color": "white", "title-height": "densest", "title-margin": "margin-flush", upperline: 'no-upperline', "is-plm-hub": false }, h("h3", null, this.truncate(this.heading, 70))), !!this.description && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'large' }), h("ptc-spacer", { breakpoint: 'small', size: 'medium' }), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.truncate(this.description, 200))), !!((_f = this.cta) === null || _f === void 0 ? void 0 : _f.href) && h(Fragment, null, h("ptc-spacer", { breakpoint: 'x-small', size: 'xx-large' }), h("ptc-spacer", { breakpoint: 'small', size: 'x-large' }), h("ptc-spacer", { breakpoint: 'x-small', size: 'x-small' }), h("ptc-spacer", { breakpoint: 'small', size: 'xx-small' }), h("ptc-button", { color: "ptc-tertiary", disabled: false, type: "button", styles: ".ptc-tertiary {border: 2px solid #FFFFFF}", "tab-nav": "-1" }, (_g = this.cta) === null || _g === void 0 ? void 0 : _g.innerText))))));
98
98
  };
99
99
  const Bottom = () => {
100
100
  var _a, _b, _c, _d, _e, _f, _g;
@@ -108,7 +108,7 @@ export class PtcInlineCta {
108
108
  default: return null;
109
109
  }
110
110
  };
111
- return (h(Host, null, h("ptc-spacer", { breakpoint: "x-small", size: "xxxx-large" }), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" }), h("div", null, h(InlineCta, null)), h("ptc-spacer", { breakpoint: "x-small", size: "xxxx-large" }), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" })));
111
+ return (h(Host, null, h("ptc-spacer", { breakpoint: "x-small", size: "xxxx-large" }), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" }), h("div", null, h(InlineCta, null)), (this.type === 'bottom') ? null : h(Fragment, null, h("ptc-spacer", { breakpoint: "x-small", size: "xxxx-large" }), h("ptc-spacer", { breakpoint: "small", size: "xxx-large" }))));
112
112
  }
113
113
  static get is() { return "ptc-inline-cta"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -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.3333333333% - 10.66666666px);
1104
+ width: calc(33.333333333333% - 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.3333333333% - 21.3333333px);
1121
+ width: calc(33.333333333333% - 21.3333333px);
1122
1122
  }
1123
1123
  }
1124
1124
 
@@ -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.3333333333% - 10.66666666px);
1049
+ width: calc(33.333333333333% - 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.3333333333% - 21.3333333px);
1066
+ width: calc(33.333333333333% - 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.iti__tel-input,
2219
- .iti input.iti__tel-input[type=text],
2220
- .iti input.iti__tel-input[type=tel] {
2218
+ .iti input,
2219
+ .iti input[type=text],
2220
+ .iti input[type=tel] {
2221
2221
  position: relative;
2222
2222
  z-index: 0;
2223
2223
  margin-top: 0 !important;
@@ -2256,35 +2256,26 @@
2256
2256
  border-top: none;
2257
2257
  border-bottom: 4px solid #555;
2258
2258
  }
2259
- .iti__dropdown-content {
2259
+ .iti__country-list {
2260
2260
  position: absolute;
2261
2261
  z-index: 2;
2262
- margin-left: -1px;
2262
+ list-style: none;
2263
+ padding: 0;
2264
+ margin: 0 0 0 -1px;
2263
2265
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
2264
2266
  background-color: white;
2265
2267
  border: 1px solid #ccc;
2268
+ white-space: nowrap;
2266
2269
  max-height: 200px;
2267
2270
  overflow-y: scroll;
2268
2271
  -webkit-overflow-scrolling: touch;
2269
2272
  }
2270
- .iti__dropdown-content--dropup {
2273
+ .iti__country-list--dropup {
2271
2274
  bottom: 100%;
2272
2275
  margin-bottom: -1px;
2273
2276
  }
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
- }
2286
2277
  @media (max-width: 500px) {
2287
- .iti--flexible-dropdown-width .iti__country-list {
2278
+ .iti__country-list {
2288
2279
  white-space: normal;
2289
2280
  }
2290
2281
  }
@@ -2316,20 +2307,20 @@
2316
2307
  margin-right: 0;
2317
2308
  margin-left: 6px;
2318
2309
  }
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] {
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] {
2324
2315
  padding-right: 6px;
2325
2316
  padding-left: 52px;
2326
2317
  margin-left: 0;
2327
2318
  }
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] {
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] {
2333
2324
  padding-right: 52px;
2334
2325
  padding-left: 6px;
2335
2326
  margin-right: 0;
@@ -2348,12 +2339,12 @@
2348
2339
  .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
2349
2340
  background-color: rgba(0, 0, 0, 0.05);
2350
2341
  }
2351
- .iti--allow-dropdown .iti__flag-container:has(+ input[disabled]):hover,
2352
- .iti--allow-dropdown .iti__flag-container:has(+ input[readonly]):hover {
2342
+ .iti--allow-dropdown input[disabled] + .iti__flag-container:hover,
2343
+ .iti--allow-dropdown input[readonly] + .iti__flag-container:hover {
2353
2344
  cursor: default;
2354
2345
  }
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 {
2346
+ .iti--allow-dropdown input[disabled] + .iti__flag-container:hover .iti__selected-flag,
2347
+ .iti--allow-dropdown input[readonly] + .iti__flag-container:hover .iti__selected-flag {
2357
2348
  background-color: transparent;
2358
2349
  }
2359
2350
  .iti--separate-dial-code .iti__selected-flag {
@@ -2377,26 +2368,18 @@
2377
2368
  cursor: pointer;
2378
2369
  }
2379
2370
 
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;
2371
+ .iti-mobile .iti--container {
2372
+ top: 30px;
2373
+ bottom: 30px;
2374
+ left: 30px;
2375
+ right: 30px;
2386
2376
  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;
2394
2377
  }
2395
- .iti--fullscreen-popup .iti__dropdown-content {
2378
+ .iti-mobile .iti__country-list {
2396
2379
  max-height: 100%;
2397
- position: relative;
2380
+ width: 100%;
2398
2381
  }
2399
- .iti--fullscreen-popup .iti__country {
2382
+ .iti-mobile .iti__country {
2400
2383
  padding: 10px 10px;
2401
2384
  line-height: 1.5em;
2402
2385
  }
@@ -2422,7 +2405,7 @@
2422
2405
  .iti__flag.iti__va {
2423
2406
  width: 15px;
2424
2407
  }
2425
- @media (min-resolution: 2x) {
2408
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
2426
2409
  .iti__flag {
2427
2410
  background-size: 5762px 15px;
2428
2411
  }
@@ -3488,7 +3471,7 @@
3488
3471
  background-color: #dbdbdb;
3489
3472
  background-position: 20px 0;
3490
3473
  }
3491
- @media (min-resolution: 2x) {
3474
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3492
3475
  .iti__flag {
3493
3476
  background-image: url("../img/flags@2x.png?1");
3494
3477
  }
@@ -149,4 +149,7 @@ ptc-link, ptc-square-card,
149
149
  :host ::slotted(icon-asset) {
150
150
  margin-top: 4px;
151
151
  margin-right: 8px;
152
+ }
153
+ :host .tracker-div {
154
+ display: inline;
152
155
  }
@@ -4,6 +4,7 @@ export class PtcNavLink {
4
4
  this.href = undefined;
5
5
  this.isOutsideLink = false;
6
6
  this.titleText = '';
7
+ this.trackerId = undefined;
7
8
  }
8
9
  handleClick(event) {
9
10
  // Prevent the event from propagating to the underlying <a> element
@@ -27,9 +28,9 @@ export class PtcNavLink {
27
28
  }
28
29
  }
29
30
  render() {
30
- return (h(Host, null, h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
31
+ return (h(Host, null, h("div", { class: "tracker-div", id: this.trackerId }, h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
31
32
  this.handleClick(event);
32
- } }, h("slot", null), !this.href.startsWith('#') && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" }))))));
33
+ } }, h("slot", null), !this.href.startsWith('#') && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
33
34
  }
34
35
  static get is() { return "ptc-nav-link"; }
35
36
  static get encapsulation() { return "shadow"; }
@@ -97,6 +98,23 @@ export class PtcNavLink {
97
98
  "attribute": "title-text",
98
99
  "reflect": false,
99
100
  "defaultValue": "''"
101
+ },
102
+ "trackerId": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "string",
107
+ "resolved": "string",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": true,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": "Tracker Id"
115
+ },
116
+ "attribute": "tracker-id",
117
+ "reflect": false
100
118
  }
101
119
  };
102
120
  }
@@ -130,4 +130,7 @@ ptc-link, ptc-square-card,
130
130
  }
131
131
  :host .btn-wrap-right {
132
132
  margin-left: 14px;
133
+ }
134
+ :host .tracker-div {
135
+ display: inline;
133
136
  }
@@ -2,6 +2,8 @@ import { Host, h } from '@stencil/core';
2
2
  export class PtcNavSlider {
3
3
  constructor() {
4
4
  this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
5
+ this.leftBtnTrackerId = undefined;
6
+ this.rightBtnTrackerId = undefined;
5
7
  }
6
8
  componentDidLoad() {
7
9
  // use the ID to select elements within the component's shadow root
@@ -87,7 +89,7 @@ export class PtcNavSlider {
87
89
  }
88
90
  }
89
91
  render() {
90
- return (h(Host, { class: `nav-slider`, id: this.sliderId }, h("div", { class: "btn-wrap-left" }, h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.166 13.2375L4.39723 7.5L10.166 1.7625L8.39004 0L0.832683 7.5L8.39004 15L10.166 13.2375Z", fill: "white" })))), h("div", { class: "box-wrap" }, h("slot", null)), h("div", { class: "btn-wrap-right" }, h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.833984 1.7625L6.60277 7.5L0.833984 13.2375L2.60996 15L10.1673 7.5L2.60996 0L0.833984 1.7625Z", fill: "white" }))))));
92
+ return (h(Host, { class: `nav-slider`, id: this.sliderId }, h("div", { class: "btn-wrap-left tracker-div", id: this.leftBtnTrackerId }, h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.166 13.2375L4.39723 7.5L10.166 1.7625L8.39004 0L0.832683 7.5L8.39004 15L10.166 13.2375Z", fill: "white" })))), h("div", { class: "box-wrap" }, h("slot", null)), h("div", { class: "btn-wrap-right tracker-div", id: this.rightBtnTrackerId }, h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.833984 1.7625L6.60277 7.5L0.833984 13.2375L2.60996 15L10.1673 7.5L2.60996 0L0.833984 1.7625Z", fill: "white" }))))));
91
93
  }
92
94
  static get is() { return "ptc-nav-slider"; }
93
95
  static get encapsulation() { return "shadow"; }
@@ -120,6 +122,40 @@ export class PtcNavSlider {
120
122
  "attribute": "slider-id",
121
123
  "reflect": false,
122
124
  "defaultValue": "`ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`"
125
+ },
126
+ "leftBtnTrackerId": {
127
+ "type": "string",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "string",
131
+ "resolved": "string",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": true,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "Left Button Tracker Id"
139
+ },
140
+ "attribute": "left-btn-tracker-id",
141
+ "reflect": false
142
+ },
143
+ "rightBtnTrackerId": {
144
+ "type": "string",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "string",
148
+ "resolved": "string",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": true,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": "Right Button Tracker Id"
156
+ },
157
+ "attribute": "right-btn-tracker-id",
158
+ "reflect": false
123
159
  }
124
160
  };
125
161
  }
@@ -194,6 +194,9 @@ ptc-link, ptc-square-card,
194
194
  :host ::slotted(ptc-nav-link:last-child)::before, :host ::slotted(ptc-nav-link:last-child)::after {
195
195
  display: none;
196
196
  }
197
+ :host .tracker-div {
198
+ display: inline;
199
+ }
197
200
 
198
201
  :host(.short-dropdown) .submenu-container {
199
202
  text-align: center;
@@ -4,6 +4,9 @@ export class PtcNavSubmenu {
4
4
  this.label = undefined;
5
5
  this.iconAssetName = undefined;
6
6
  this.iconSrc = undefined;
7
+ this.labelTrackerId = undefined;
8
+ this.dropdownTrackerId = undefined;
9
+ this.backBtnTrackerId = undefined;
7
10
  }
8
11
  calculateOffset() {
9
12
  var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
@@ -27,10 +30,10 @@ export class PtcNavSubmenu {
27
30
  }, 100);
28
31
  }
29
32
  render() {
30
- return (h(Host, { class: `dropdown` }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back"), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
31
- h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), this.label, this.iconSrc &&
33
+ return (h(Host, { class: `dropdown` }, h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
34
+ h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
32
35
  h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
33
- h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" }))), h("div", { class: `submenu-container` }, h("div", { class: "submenu-container-lg" }, h("slot", null)))));
36
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" })))), h("div", { class: `submenu-container` }, h("div", { class: "submenu-container-lg" }, h("slot", null)))));
34
37
  }
35
38
  static get is() { return "ptc-nav-submenu"; }
36
39
  static get encapsulation() { return "shadow"; }
@@ -96,6 +99,57 @@ export class PtcNavSubmenu {
96
99
  },
97
100
  "attribute": "icon-src",
98
101
  "reflect": false
102
+ },
103
+ "labelTrackerId": {
104
+ "type": "string",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "string",
108
+ "resolved": "string",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": true,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Sub Nav Label Tracker Id"
116
+ },
117
+ "attribute": "label-tracker-id",
118
+ "reflect": false
119
+ },
120
+ "dropdownTrackerId": {
121
+ "type": "string",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "string",
125
+ "resolved": "string",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": true,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": "Sub Nav Dropdown Tracker Id"
133
+ },
134
+ "attribute": "dropdown-tracker-id",
135
+ "reflect": false
136
+ },
137
+ "backBtnTrackerId": {
138
+ "type": "string",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "string",
142
+ "resolved": "string",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": true,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": "Sub Nav Back Button Tracker Id"
150
+ },
151
+ "attribute": "back-btn-tracker-id",
152
+ "reflect": false
99
153
  }
100
154
  };
101
155
  }