@ptcwebops/ptcw-design 6.1.32 → 6.1.34

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 (70) 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-announcement.cjs.entry.js +2 -2
  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 +185 -76
  9. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +2 -1
  11. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +2 -1
  12. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +49 -8
  13. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  14. package/dist/cjs/ptcw-design.cjs.js +1 -1
  15. package/dist/collection/components/icon-asset/icon-asset.css +2 -2
  16. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -1
  17. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +1 -1
  18. package/dist/collection/components/ptc-announcement/ptc-announcement.css +3 -3
  19. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
  20. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  21. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +7 -7
  22. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +2 -2
  23. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +1 -1
  24. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +20 -1
  25. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +20 -1
  26. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +4 -0
  27. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +67 -7
  28. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +2 -2
  29. package/dist/collection/components/ptc-textfield/ptc-textfield.css +51 -34
  30. package/dist/custom-elements/index.js +250 -98
  31. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  32. package/dist/esm/blog-detail-layout.entry.js +1 -1
  33. package/dist/esm/icon-asset.entry.js +1 -1
  34. package/dist/esm/loader.js +1 -1
  35. package/dist/esm/ptc-announcement.entry.js +2 -2
  36. package/dist/esm/ptc-card_2.entry.js +1 -1
  37. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  38. package/dist/esm/ptc-form-checkbox_2.entry.js +185 -76
  39. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  40. package/dist/esm/ptc-pricing-add-on-card.entry.js +2 -1
  41. package/dist/esm/ptc-pricing-add-on-section.entry.js +2 -1
  42. package/dist/esm/ptc-pricing-packaging-table.entry.js +49 -8
  43. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  44. package/dist/esm/ptcw-design.js +1 -1
  45. package/dist/ptcw-design/{p-20bfb063.entry.js → p-1ae7d46e.entry.js} +1 -1
  46. package/dist/ptcw-design/p-282d3fcd.entry.js +68 -0
  47. package/dist/ptcw-design/{p-7dacbeb3.entry.js → p-43fa411b.entry.js} +1 -1
  48. package/dist/ptcw-design/{p-84aba692.entry.js → p-4aa47312.entry.js} +1 -1
  49. package/dist/ptcw-design/{p-a4798ed2.entry.js → p-56a4c6d4.entry.js} +1 -1
  50. package/dist/ptcw-design/p-5f69fd21.entry.js +1 -0
  51. package/dist/ptcw-design/{p-84ec4bf1.entry.js → p-65f19054.entry.js} +1 -1
  52. package/dist/ptcw-design/p-a04eae17.entry.js +1 -0
  53. package/dist/ptcw-design/p-bd7971a9.entry.js +1 -0
  54. package/dist/ptcw-design/{p-cae1202f.entry.js → p-c7f77978.entry.js} +1 -1
  55. package/dist/ptcw-design/p-f0d0d79c.entry.js +1 -0
  56. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  57. package/dist/ptcw-design/ptcw-design.css +1 -1
  58. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  59. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +4 -0
  60. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -0
  61. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +14 -1
  62. package/dist/types/components.d.ts +24 -0
  63. package/package.json +1 -1
  64. package/readme.md +1 -1
  65. package/dist/ptcw-design/p-58a33388.entry.js +0 -68
  66. package/dist/ptcw-design/p-58d5c97e.entry.js +0 -1
  67. package/dist/ptcw-design/p-946baf89.entry.js +0 -1
  68. package/dist/ptcw-design/p-9f6b1c9a.entry.js +0 -1
  69. package/dist/ptcw-design/p-b240b773.entry.js +0 -1
  70. package/dist/ptcw-design/p-b58af3d5.entry.js +0 -1
@@ -177,13 +177,54 @@ export class PtcPricingPackagingTable {
177
177
  this.handleScrollButtonsVisibility();
178
178
  this.handleFillEmptySpace();
179
179
  };
180
+ /**
181
+ * Handles automatic horizontal scroll when active element is hidden
182
+ */
183
+ this.handleAutoScrollOnFocus = (e) => {
184
+ let focusTarget = e.target;
185
+ let focusTargetParent = focusTarget.parentElement.getBoundingClientRect();
186
+ let scrollContainer = this.el.shadowRoot.querySelector("#table-body");
187
+ let leftScrollButton = this.el.shadowRoot.querySelector("#previous-scroll-button").getBoundingClientRect();
188
+ let rightScrollButton = this.el.shadowRoot.querySelector("#next-scroll-button").getBoundingClientRect();
189
+ let tableHeader = this.el.shadowRoot.querySelector('#table-header');
190
+ if (tableHeader) {
191
+ if (tableHeader.classList.contains('sticky')) {
192
+ scrollContainer.scrollIntoView(false);
193
+ }
194
+ }
195
+ // Scroll if at least 80% of the column with the focused target isn't visible
196
+ if ((focusTargetParent.left + (focusTargetParent.width * 0.2)) < leftScrollButton.left) {
197
+ scrollContainer.scrollLeft -= focusTargetParent.width;
198
+ }
199
+ if ((focusTargetParent.left + (focusTargetParent.width * 0.8)) > rightScrollButton.right) {
200
+ scrollContainer.scrollLeft += focusTargetParent.width;
201
+ }
202
+ };
203
+ /**
204
+ * Handles keyboard click events on table scroll buttons
205
+ * @direction -1: Backward Scroll | 1: Forward Scroll
206
+ */
207
+ this.handleScrollButtonClick = (e, direction) => {
208
+ switch (e.key) {
209
+ case "Enter": {
210
+ if (direction === -1) {
211
+ this.handleBackwardScroll();
212
+ }
213
+ else if (direction === 1) {
214
+ this.handleForwardScroll();
215
+ }
216
+ break;
217
+ }
218
+ default: break;
219
+ }
220
+ };
180
221
  this.preProcessTableDescription = () => {
181
222
  let tableDescription = this.el.querySelector('[slot="table-description"]');
182
223
  if (tableDescription) {
183
224
  this.tableDescription = tableDescription;
184
225
  }
185
226
  };
186
- this.preProcessdesktopHeaderFirstCell = () => {
227
+ this.preProcessDesktopHeaderFirstCell = () => {
187
228
  let desktopHeaderFirstCellSlot = this.el.querySelector('[slot="desktop-header-first-cell"]');
188
229
  let desktopHeaderFirstCellText = desktopHeaderFirstCellSlot.innerHTML;
189
230
  this.el.insertAdjacentHTML('afterbegin', `<span slot="placeholder-desktop-header-first-cell">${desktopHeaderFirstCellText}</span>`);
@@ -268,6 +309,7 @@ export class PtcPricingPackagingTable {
268
309
  this.disclaimerCount = 0;
269
310
  this.moreText = "More";
270
311
  this.LessText = "Less";
312
+ this.sectionId = "";
271
313
  this.isDesktopView = undefined;
272
314
  this.hashKey = undefined;
273
315
  this.debouncedHashEnable = undefined;
@@ -324,7 +366,7 @@ export class PtcPricingPackagingTable {
324
366
  componentWillLoad() {
325
367
  this.setHashKey(false);
326
368
  this.preProcessTableDescription();
327
- this.preProcessdesktopHeaderFirstCell();
369
+ this.preProcessDesktopHeaderFirstCell();
328
370
  this.preProcessColumnHeaders();
329
371
  this.preProcessHeaderLinks();
330
372
  this.preProcessRowHeaders();
@@ -365,8 +407,8 @@ export class PtcPricingPackagingTable {
365
407
  const TableHeader = () => {
366
408
  return h("div", { id: "table-header", class: this.headerType, onScroll: () => this.handleHorizontalScroll() }, h("div", { class: `desktop-header-first-cell` }, (this.isDesktopView) ?
367
409
  h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "left", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("slot", { name: "desktop-header-first-cell" }))
368
- : null, h("div", { class: "scroll-button", id: "previous-scroll-button" }, h("div", { onClick: () => this.handleBackwardScroll() }, h("icon-asset", { type: "solid", size: "medium", name: "chevron-left", color: "primary-gray" }), h("ptc-para", { "font-size": "small", "font-weight": "w-6", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.moreText))), h("div", { class: "scroll-button", id: "next-scroll-button" }, h("div", { onClick: () => this.handleForwardScroll() }, h("ptc-para", { "font-size": "small", "font-weight": "w-6", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.moreText), h("icon-asset", { type: "solid", size: "medium", name: "chevron-right", color: "primary-gray" })))), ([...Array(this.dataCols).keys()]).map(col => {
369
- return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "center", "para-color": "white", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-1" }, h("slot", { name: `column-header-${col + 1}` })), ((this.columnHeaderLinks.length === this.dataCols) && (this.columnHeaderLinks[col])) ? h(Fragment, null, h("ptc-spacer", { breakpoint: 'small', size: "small" }), h("ptc-spacer", { breakpoint: 'x-small', size: "medium" }), h("ptc-link", { "font-size": "medium", "font-weight": "w-extrabold", href: `${this.columnHeaderLinks[col].linkHref}`, "link-area": "undefined", target: `${this.columnHeaderLinks[col].linkTarget}`, theme: "d-green-underline", styles: "a.ptc-link {line-height: var(--ptc-line-height-p);}", "link-title": this.columnHeaderLinks[col].linkTitle }, this.isDesktopView ?
410
+ : null, h("div", { class: "scroll-button mf-listen", id: "previous-scroll-button" }, h("div", { class: "mf-listen", onClick: () => this.handleBackwardScroll(), onKeyDown: e => this.handleScrollButtonClick(e, -1), tabIndex: 0, id: `previous-scroll-button-${this.sectionId}` }, h("icon-asset", { type: "solid", size: "medium", name: "chevron-left", color: "primary-gray" }), h("ptc-para", { "font-size": "small", "font-weight": "w-6", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.moreText))), h("div", { class: "scroll-button mf-listen", id: "next-scroll-button" }, h("div", { class: "mf-listen", onClick: () => this.handleForwardScroll(), onKeyDown: e => this.handleScrollButtonClick(e, 1), tabIndex: 0, id: `next-scroll-button-${this.sectionId}` }, h("ptc-para", { "font-size": "small", "font-weight": "w-6", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, this.moreText), h("icon-asset", { type: "solid", size: "medium", name: "chevron-right", color: "primary-gray" })))), ([...Array(this.dataCols).keys()]).map(col => {
411
+ return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "center", "para-color": "white", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-1" }, h("slot", { name: `column-header-${col + 1}` })), ((this.columnHeaderLinks.length === this.dataCols) && (this.columnHeaderLinks[col])) ? h(Fragment, null, h("ptc-spacer", { breakpoint: 'small', size: "small" }), h("ptc-spacer", { breakpoint: 'x-small', size: "medium" }), h("ptc-link", { "font-size": "medium", "font-weight": "w-extrabold", href: `${this.columnHeaderLinks[col].linkHref}`, "link-area": "undefined", target: `${this.columnHeaderLinks[col].linkTarget}`, theme: "d-green-underline", styles: "a.ptc-link {line-height: var(--ptc-line-height-p);}", "link-title": this.columnHeaderLinks[col].linkTitle, onFocus: (e) => this.handleAutoScrollOnFocus(e), "tracker-id": `column-header-${col + 1}-link-${this.sectionId}` }, this.isDesktopView ?
370
412
  h("ptc-tooltip", { class: (col === (this.dataCols - 1)) ? "last-column-tooltip" : "", "text-display": "inline", "max-length": "30", "z-index": "z-2", description: this.columnHeaderLinks[col].linkText, position: "top" })
371
413
  : this.columnHeaderLinks[col].linkText)) : null);
372
414
  }), h("div", { class: `table-filler-cell ${this.showFillerCells ? "show" : ""}` }));
@@ -375,14 +417,14 @@ export class PtcPricingPackagingTable {
375
417
  return h("div", { id: "table-header-placeholder", class: this.headerType }, h("div", { class: `desktop-header-first-cell` }, (this.isDesktopView) ?
376
418
  h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "left", "para-color": "white", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("slot", { name: "placeholder-desktop-header-first-cell" }))
377
419
  : null), ([...Array(this.dataCols).keys()]).map(col => {
378
- return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "center", "para-color": "white", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-1" }, h("slot", { name: `placeholder-column-header-${col + 1}` })), ((this.columnHeaderLinks.length === this.dataCols) && (this.columnHeaderLinks[col])) ? h(Fragment, null, h("ptc-spacer", { breakpoint: 'small', size: "small" }), h("ptc-spacer", { breakpoint: 'x-small', size: "medium" }), h("ptc-link", { "font-size": "medium", "font-weight": "w-extrabold", href: `${this.columnHeaderLinks[col].linkHref}`, "link-area": "undefined", target: `${this.columnHeaderLinks[col].linkTarget}`, theme: "d-green-underline", styles: "a.ptc-link {line-height: var(--ptc-line-height-p);}", "link-title": this.columnHeaderLinks[col].linkTitle }, this.isDesktopView ?
420
+ return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, h("ptc-para", { "font-size": "medium", "font-weight": "w-7", "para-align": "center", "para-color": "white", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-1" }, h("slot", { name: `placeholder-column-header-${col + 1}` })), ((this.columnHeaderLinks.length === this.dataCols) && (this.columnHeaderLinks[col])) ? h(Fragment, null, h("ptc-spacer", { breakpoint: 'small', size: "small" }), h("ptc-spacer", { breakpoint: 'x-small', size: "medium" }), h("ptc-link", { "font-size": "medium", "font-weight": "w-extrabold", href: `${this.columnHeaderLinks[col].linkHref}`, "link-area": "undefined", target: `${this.columnHeaderLinks[col].linkTarget}`, theme: "d-green-underline", styles: "a.ptc-link {line-height: var(--ptc-line-height-p);}", "link-title": this.columnHeaderLinks[col].linkTitle, "tab-nav": "-1" }, this.isDesktopView ?
379
421
  h("ptc-tooltip", { class: (col === (this.dataCols - 1)) ? "last-column-tooltip" : "", "text-display": "inline", "max-length": "30", "z-index": "z-2", description: this.columnHeaderLinks[col].linkText, position: "top" })
380
422
  : this.columnHeaderLinks[col].linkText)) : null);
381
423
  }), h("div", { class: `table-filler-cell ${this.showFillerCells ? "show" : ""}` }));
382
424
  };
383
425
  const TableDataRows = () => {
384
426
  return ([...Array(this.dataRows).keys()]).map(row => {
385
- return h(Fragment, null, h("div", { class: "mobile-sticky-row-header" }, h("slot", { name: `mobile-row-header-${row + 1}` })), h("div", { class: `table-row ${(this.isDesktopView && (row % 2 != 0)) ? "desktop-alternate-row" : ""}` }, (this.isDesktopView) ?
427
+ return h(Fragment, null, h("div", { class: "mobile-sticky-row-header" }, h("slot", { name: `mobile-row-header-${row + 1}` })), h("div", { class: `mf-listen table-row ${(this.isDesktopView && (row % 2 != 0)) ? "desktop-alternate-row" : ""}` }, (this.isDesktopView) ?
386
428
  h("div", { class: `desktop-sticky-row-header ${(this.isDesktopView && (row % 2 != 0)) ? "desktop-alternate-row" : ""}` }, h("slot", { name: `desktop-row-header-${row + 1}` })) : null, ([...Array(this.dataCols).keys()]).map(col => {
387
429
  return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, h("slot", { name: `cell-r${row + 1}-c${col + 1}` }));
388
430
  }), h("div", { class: `table-filler-cell ${this.showFillerCells ? "show" : ""}` })));
@@ -394,7 +436,7 @@ export class PtcPricingPackagingTable {
394
436
  h("div", { class: "desktop-sticky-row-header" })
395
437
  : null, ([...Array(this.dataCols).keys()]).map(col => {
396
438
  return h("div", { class: `table-cell ${(col + 1) === this.dataCols ? "table-last-cell" : ""}` }, (this.ctaButtons[col]) ?
397
- h("ptc-button", { "tracker-id": `pricing-cta-${col}`, type: "link", color: "ptc-tertiary", "link-href": this.ctaButtons[col].linkHref, target: `${this.ctaButtons[col].linkTarget}`, "link-title": this.ctaButtons[col].linkTitle }, this.isDesktopView ?
439
+ h("ptc-button", { "tracker-id": `pricing-cta-${col}-${this.sectionId}`, type: "link", color: "ptc-tertiary", "link-href": this.ctaButtons[col].linkHref, target: `${this.ctaButtons[col].linkTarget}`, "link-title": this.ctaButtons[col].linkTitle, onFocus: this.handleAutoScrollOnFocus }, this.isDesktopView ?
398
440
  h("ptc-tooltip", { class: (col === (this.dataCols - 1)) ? "last-column-tooltip" : "", "text-display": "inline", "max-length": "30", "z-index": "z-2", description: this.ctaButtons[col].linkText, position: "top" })
399
441
  : this.ctaButtons[col].linkText) : null);
400
442
  }), h("div", { class: `table-filler-cell ${this.showFillerCells ? "show" : ""}` })) : null;
@@ -560,6 +602,24 @@ export class PtcPricingPackagingTable {
560
602
  "attribute": "less-text",
561
603
  "reflect": false,
562
604
  "defaultValue": "\"Less\""
605
+ },
606
+ "sectionId": {
607
+ "type": "string",
608
+ "mutable": false,
609
+ "complexType": {
610
+ "original": "string",
611
+ "resolved": "string",
612
+ "references": {}
613
+ },
614
+ "required": false,
615
+ "optional": true,
616
+ "docs": {
617
+ "tags": [],
618
+ "text": "Component ID for table uniqueness"
619
+ },
620
+ "attribute": "section-id",
621
+ "reflect": false,
622
+ "defaultValue": "\"\""
563
623
  }
564
624
  };
565
625
  }
@@ -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.333333333333% - 10.66666666px);
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.333333333333% - 21.3333333px);
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
- .iti__country-list {
2259
+ .iti__dropdown-content {
2260
2260
  position: absolute;
2261
2261
  z-index: 2;
2262
- list-style: none;
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
- .iti__country-list--dropup {
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 input[disabled] + .iti__flag-container:hover,
2343
- .iti--allow-dropdown input[readonly] + .iti__flag-container:hover {
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 input[disabled] + .iti__flag-container:hover .iti__selected-flag,
2347
- .iti--allow-dropdown input[readonly] + .iti__flag-container:hover .iti__selected-flag {
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-mobile .iti--container {
2372
- top: 30px;
2373
- bottom: 30px;
2374
- left: 30px;
2375
- right: 30px;
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-mobile .iti__country-list {
2395
+ .iti--fullscreen-popup .iti__dropdown-content {
2379
2396
  max-height: 100%;
2380
- width: 100%;
2397
+ position: relative;
2381
2398
  }
2382
- .iti-mobile .iti__country {
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 (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
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 (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
3491
+ @media (min-resolution: 2x) {
3475
3492
  .iti__flag {
3476
3493
  background-image: url("../img/flags@2x.png?1");
3477
3494
  }