@ptcwebops/ptcw-design 6.0.10 → 6.0.12

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 (127) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +2 -2
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +2 -2
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
  4. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  5. package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset_13.cjs.entry.js +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  9. package/dist/cjs/my-component.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-background-video.cjs.entry.js +9 -3
  12. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +3 -3
  13. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-card_2.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +2 -2
  17. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +77 -186
  19. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +3 -2
  21. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-media-card.cjs.entry.js +3 -3
  24. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +5 -1
  25. package/dist/cjs/ptc-para.cjs.entry.js +4 -3
  26. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  28. package/dist/cjs/ptcw-design.cjs.js +1 -1
  29. package/dist/cjs/{utils-67780697.js → utils-87d7b99f.js} +2 -2
  30. package/dist/collection/components/icon-asset/icon-asset.css +2 -2
  31. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -1
  32. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +1 -1
  33. package/dist/collection/components/ptc-background-video/ptc-background-video.js +25 -2
  34. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +5 -4
  35. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +2 -2
  36. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  37. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +0 -3
  38. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +1 -1
  39. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +7 -7
  40. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +20 -1
  41. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +11 -8
  42. package/dist/collection/components/ptc-media-card/ptc-media-card.css +4 -0
  43. package/dist/collection/components/ptc-media-card/ptc-media-card.js +1 -1
  44. package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +21 -0
  45. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +1 -1
  46. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  47. package/dist/collection/components/ptc-para/ptc-para.js +2 -1
  48. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +2 -2
  49. package/dist/collection/components/ptc-textfield/ptc-textfield.css +34 -51
  50. package/dist/collection/utils/utils.js +2 -2
  51. package/dist/custom-elements/index.js +111 -208
  52. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  53. package/dist/esm/blog-detail-layout.entry.js +2 -2
  54. package/dist/esm/blogs-search-section.entry.js +1 -1
  55. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  56. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  57. package/dist/esm/icon-asset_13.entry.js +2 -2
  58. package/dist/esm/loader.js +1 -1
  59. package/dist/esm/most-popular-news.entry.js +1 -1
  60. package/dist/esm/my-component.entry.js +1 -1
  61. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  62. package/dist/esm/ptc-background-video.entry.js +9 -3
  63. package/dist/esm/ptc-breadcrumb.entry.js +3 -3
  64. package/dist/esm/ptc-button.entry.js +1 -1
  65. package/dist/esm/ptc-card_2.entry.js +1 -1
  66. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  67. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  68. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  69. package/dist/esm/ptc-form-checkbox_2.entry.js +77 -186
  70. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  71. package/dist/esm/ptc-homepage-video-background.entry.js +3 -2
  72. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  73. package/dist/esm/ptc-link.entry.js +1 -1
  74. package/dist/esm/ptc-media-card.entry.js +3 -3
  75. package/dist/esm/ptc-multi-select_2.entry.js +6 -2
  76. package/dist/esm/ptc-para.entry.js +4 -3
  77. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  78. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  79. package/dist/esm/ptcw-design.js +1 -1
  80. package/dist/esm/{utils-7b5c29b1.js → utils-b7c6422e.js} +2 -2
  81. package/dist/ptcw-design/{p-24e452a1.entry.js → p-0596f764.entry.js} +1 -1
  82. package/dist/ptcw-design/{p-7792cf79.entry.js → p-1b7a3753.entry.js} +1 -1
  83. package/dist/ptcw-design/{p-54fa12be.entry.js → p-249b5993.entry.js} +1 -1
  84. package/dist/ptcw-design/{p-16f983c4.entry.js → p-3a7d25b6.entry.js} +1 -1
  85. package/dist/ptcw-design/{p-6b746f9d.entry.js → p-4464123f.entry.js} +1 -1
  86. package/dist/ptcw-design/{p-32eec30d.entry.js → p-4e60977c.entry.js} +1 -1
  87. package/dist/ptcw-design/{p-6d684d90.entry.js → p-4f959e8f.entry.js} +1 -1
  88. package/dist/ptcw-design/{p-9fad6b65.entry.js → p-545bc604.entry.js} +1 -1
  89. package/dist/ptcw-design/{p-c792e926.entry.js → p-56430000.entry.js} +1 -1
  90. package/dist/ptcw-design/{p-91b73561.entry.js → p-56c98b0e.entry.js} +1 -1
  91. package/dist/ptcw-design/{p-769aa1c3.entry.js → p-674cbe95.entry.js} +1 -1
  92. package/dist/ptcw-design/p-78f080d7.entry.js +1 -0
  93. package/dist/ptcw-design/p-79624098.entry.js +1 -0
  94. package/dist/ptcw-design/{p-78a23ab3.js → p-841b807d.js} +1 -1
  95. package/dist/ptcw-design/p-850fd211.entry.js +1 -0
  96. package/dist/ptcw-design/{p-71c6b528.entry.js → p-97691f5d.entry.js} +1 -1
  97. package/dist/ptcw-design/p-b23ba3b6.entry.js +1 -0
  98. package/dist/ptcw-design/p-b567c6dc.entry.js +1 -0
  99. package/dist/ptcw-design/p-c26edffe.entry.js +68 -0
  100. package/dist/ptcw-design/{p-79b90f35.entry.js → p-d0ee3b50.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-5fd77623.entry.js → p-d538b1bc.entry.js} +1 -1
  102. package/dist/ptcw-design/p-d574d14a.entry.js +1 -0
  103. package/dist/ptcw-design/p-d6d22105.entry.js +1 -0
  104. package/dist/ptcw-design/p-f3b9aa29.entry.js +1 -0
  105. package/dist/ptcw-design/{p-2aec612d.entry.js → p-f7ff8ee1.entry.js} +1 -1
  106. package/dist/ptcw-design/p-fe73a83c.entry.js +1 -0
  107. package/dist/ptcw-design/p-ff7b8a75.entry.js +1 -0
  108. package/dist/ptcw-design/ptcw-design.css +1 -1
  109. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  110. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +4 -0
  111. package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +4 -0
  112. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +3 -0
  113. package/dist/types/components.d.ts +21 -0
  114. package/dist/types/utils/utils.d.ts +1 -1
  115. package/package.json +1 -1
  116. package/readme.md +1 -1
  117. package/dist/ptcw-design/p-024851e1.entry.js +0 -1
  118. package/dist/ptcw-design/p-18e02494.entry.js +0 -1
  119. package/dist/ptcw-design/p-190c704d.entry.js +0 -1
  120. package/dist/ptcw-design/p-3f126a6b.entry.js +0 -1
  121. package/dist/ptcw-design/p-53c64e3f.entry.js +0 -1
  122. package/dist/ptcw-design/p-7b0da78a.entry.js +0 -1
  123. package/dist/ptcw-design/p-87c45b09.entry.js +0 -1
  124. package/dist/ptcw-design/p-a31b8cad.entry.js +0 -1
  125. package/dist/ptcw-design/p-c5d050dd.entry.js +0 -68
  126. package/dist/ptcw-design/p-d52cc1ee.entry.js +0 -1
  127. package/dist/ptcw-design/p-f8af6267.entry.js +0 -1
@@ -1133,29 +1133,29 @@ ptc-link, ptc-square-card,
1133
1133
 
1134
1134
  .mdc-checkbox {
1135
1135
  transform: translateX(-8px);
1136
- padding: 8px;
1136
+ padding: calc((34px - 18px) / 2);
1137
1137
  /* @alternate */
1138
1138
  padding: calc((var(--mdc-checkbox-ripple-size, 34px) - 18px) / 2);
1139
- margin: 0px;
1139
+ margin: calc((34px - 34px) / 2);
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: 8px;
1144
+ top: calc((34px - 18px) / 2);
1145
1145
  /* @alternate */
1146
1146
  top: calc((var(--mdc-checkbox-ripple-size, 34px) - 18px) / 2);
1147
- left: 8px;
1147
+ left: calc((34px - 18px) / 2);
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: 0px;
1152
+ top: calc((34px - 34px) / 2);
1153
1153
  /* @alternate */
1154
1154
  top: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
1155
- right: 0px;
1155
+ right: calc((34px - 34px) / 2);
1156
1156
  /* @alternate */
1157
1157
  right: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
1158
- left: 0px;
1158
+ left: calc((34px - 34px) / 2);
1159
1159
  /* @alternate */
1160
1160
  left: calc((34px - var(--mdc-checkbox-touch-target-size, 34px)) / 2);
1161
1161
  width: 34px;
@@ -11,6 +11,7 @@ export class PtcHomepageVideoBackground {
11
11
  this.pauseButtonTitle = undefined;
12
12
  this.playButtonTrackerId = undefined;
13
13
  this.buttonLocation = 'bottom-right';
14
+ this.defer = false;
14
15
  this.links = undefined;
15
16
  }
16
17
  componentWillLoad() {
@@ -133,7 +134,7 @@ export class PtcHomepageVideoBackground {
133
134
  });
134
135
  }
135
136
  render() {
136
- return (h(Host, null, h("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark', "tracker-id": this.playButtonTrackerId }), h("div", { class: "ptc-container" }, h("div", { class: "primary-content-wrapper" }, h("slot", { name: "primary-content" })), h("div", { class: "card-links" }, h("div", { class: "secondary-content-wrapper" }, h("slot", { name: "secondary-content" })), h("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
137
+ return (h(Host, null, h("ptc-background-video", Object.assign({}, this.getBackgroundVideoSettings(), { "overlay-type": 'dark', "tracker-id": this.playButtonTrackerId, defer: this.defer }), h("div", { class: "ptc-container" }, h("div", { class: "primary-content-wrapper" }, h("slot", { name: "primary-content" })), h("div", { class: "card-links" }, h("div", { class: "secondary-content-wrapper" }, h("slot", { name: "secondary-content" })), h("div", Object.assign({ class: "card-section" }, this.getSliderBindings()), this.links && this.links.map((link, i) => {
137
138
  const trackerId = link.getAttribute('data-tracker-id');
138
139
  const icon = link.getAttribute('data-icon');
139
140
  const target = link.getAttribute('target');
@@ -297,6 +298,24 @@ export class PtcHomepageVideoBackground {
297
298
  "attribute": "button-location",
298
299
  "reflect": false,
299
300
  "defaultValue": "'bottom-right'"
301
+ },
302
+ "defer": {
303
+ "type": "boolean",
304
+ "mutable": false,
305
+ "complexType": {
306
+ "original": "boolean",
307
+ "resolved": "boolean",
308
+ "references": {}
309
+ },
310
+ "required": false,
311
+ "optional": false,
312
+ "docs": {
313
+ "tags": [],
314
+ "text": "delay loading of video to improve perfomance"
315
+ },
316
+ "attribute": "defer",
317
+ "reflect": false,
318
+ "defaultValue": "false"
300
319
  }
301
320
  };
302
321
  }
@@ -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
 
@@ -1259,7 +1259,15 @@ a:focus-visible {
1259
1259
 
1260
1260
  .hp-adjustments {
1261
1261
  background-color: var(--color-black);
1262
- height: 90vh;
1262
+ height: auto;
1263
+ min-height: 640px !important;
1264
+ max-height: fit-content;
1265
+ max-height: -webkit-fit-content;
1266
+ }
1267
+ @media (min-height: 640px) {
1268
+ .hp-adjustments {
1269
+ min-height: 72vh !important;
1270
+ }
1263
1271
  }
1264
1272
  .hp-adjustments .div1 {
1265
1273
  grid-area: 1/1/3/2;
@@ -1293,11 +1301,6 @@ a:focus-visible {
1293
1301
  opacity: 0;
1294
1302
  }
1295
1303
 
1296
- @media screen and (min-width: 992.01px) {
1297
- .hp-adjustments {
1298
- height: 90vh;
1299
- }
1300
- }
1301
1304
  .div1 {
1302
1305
  grid-area: 1/1/2/2;
1303
1306
  min-height: 300px;
@@ -69,6 +69,10 @@ ptc-link, ptc-square-card,
69
69
  text-decoration: none;
70
70
  position: relative;
71
71
  }
72
+ :host .anchor-wrap:focus-visible {
73
+ border-radius: var(--ptc-border-radius-standard);
74
+ outline: 5px solid var(--keyboard-nav-outline);
75
+ }
72
76
  :host video {
73
77
  object-fit: cover;
74
78
  height: 100%;
@@ -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, tabindex: "-1", "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' }, tabindex: "-1" }, 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 }))))
55
+ (h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(Tag, { class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel, tabindex: "0", "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' }, tabindex: "-1" }, 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, tabindex: "0", "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() {
@@ -60,6 +60,9 @@ export class PtcMultiSelect {
60
60
  // Initialize selectedItemsCount based on initial selections
61
61
  this.selectedItemsCount = this.items.filter(item => item.selected).length;
62
62
  }
63
+ componentDidLoad() {
64
+ this.ptcMultiSelectLoaded.emit();
65
+ }
63
66
  handleDocumentClick(event) {
64
67
  const clickedInside = this.el.contains(event.target);
65
68
  if (!clickedInside) {
@@ -412,6 +415,24 @@ export class PtcMultiSelect {
412
415
  "focusedItemIndex": {}
413
416
  };
414
417
  }
418
+ static get events() {
419
+ return [{
420
+ "method": "ptcMultiSelectLoaded",
421
+ "name": "ptcMultiSelectLoaded",
422
+ "bubbles": true,
423
+ "cancelable": true,
424
+ "composed": true,
425
+ "docs": {
426
+ "tags": [],
427
+ "text": ""
428
+ },
429
+ "complexType": {
430
+ "original": "void",
431
+ "resolved": "void",
432
+ "references": {}
433
+ }
434
+ }];
435
+ }
415
436
  static get methods() {
416
437
  return {
417
438
  "focusToggleButton": {
@@ -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 {
@@ -58,6 +58,9 @@ ptc-link, ptc-square-card,
58
58
  position: relative;
59
59
  z-index: 1;
60
60
  }
61
+ :host .tooltip-enabled {
62
+ position: relative;
63
+ }
61
64
 
62
65
  :host(.white) {
63
66
  color: var(--color-white);
@@ -97,7 +97,8 @@ export class PtcPara {
97
97
  [this.paraLineH]: true,
98
98
  [this.paraAlign]: !!this.paraAlign ? true : false,
99
99
  ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
100
- ['line-clamp-title']: this.maxLines && this.maxLines > 0 //tooltip code,
100
+ ['line-clamp-title']: this.maxLines && this.maxLines > 0,
101
+ ['tooltip-enabled']: this.enableTooltip
101
102
  };
102
103
  }
103
104
  //WEB-2392
@@ -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
  }
@@ -169,7 +169,7 @@ export function equalizeHeightsWithinShadow(selector, shadowRootOrHostElement) {
169
169
  element.style.height = `${tallestHeight}px`;
170
170
  });
171
171
  }
172
- export function nextUserInteractionEvent(sender) {
172
+ export function nextUserInteractionEvent(sender, limit = 5000) {
173
173
  const baseInteractions = ['click', 'scroll', 'mousemove', 'touchstart'];
174
174
  const context = globalThis.window;
175
175
  const key = generateUUID();
@@ -196,7 +196,7 @@ export function nextUserInteractionEvent(sender) {
196
196
  interactionType: interaction
197
197
  });
198
198
  }
199
- }, 5000);
199
+ }, limit);
200
200
  });
201
201
  });
202
202
  }