@salla.sa/ui-address-autocomplete-widget 1.0.3 → 1.0.5

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 (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1682,7 +1682,7 @@ d.styles = be`
1682
1682
 
1683
1683
  @media (max-width: 640px) {
1684
1684
  .dropdown {
1685
- max-height: var(--salla-autocomplete-dropdown-max-height-mobile, 35vh);
1685
+ max-height: var(--salla-autocomplete-dropdown-max-height-mobile, 25vh);
1686
1686
  border-radius: var(--salla-autocomplete-dropdown-border-radius-mobile, 0.5rem);
1687
1687
  margin-top: var(--salla-autocomplete-dropdown-margin-top-mobile, 0.25rem);
1688
1688
  }
@@ -1691,21 +1691,21 @@ d.styles = be`
1691
1691
  @media (max-width: 640px) and (max-height: 667px) {
1692
1692
  /* Smaller phones (iPhone SE, iPhone 8, etc.) */
1693
1693
  .dropdown {
1694
- max-height: var(--salla-autocomplete-dropdown-max-height-small, 30vh);
1694
+ max-height: var(--salla-autocomplete-dropdown-max-height-small, 22vh);
1695
1695
  }
1696
1696
  }
1697
1697
 
1698
1698
  @media (max-width: 640px) and (min-height: 668px) and (max-height: 896px) {
1699
1699
  /* Standard phones (iPhone 12, iPhone 13, etc.) */
1700
1700
  .dropdown {
1701
- max-height: var(--salla-autocomplete-dropdown-max-height-standard, 38vh);
1701
+ max-height: var(--salla-autocomplete-dropdown-max-height-standard, 28vh);
1702
1702
  }
1703
1703
  }
1704
1704
 
1705
1705
  @media (max-width: 640px) and (min-height: 897px) {
1706
1706
  /* Larger phones (iPhone 14 Pro Max, etc.) */
1707
1707
  .dropdown {
1708
- max-height: var(--salla-autocomplete-dropdown-max-height-large, 40vh);
1708
+ max-height: var(--salla-autocomplete-dropdown-max-height-large, 30vh);
1709
1709
  }
1710
1710
  }
1711
1711
 
@@ -1720,14 +1720,14 @@ d.styles = be`
1720
1720
  cursor: pointer;
1721
1721
  transition: background-color 0.15s;
1722
1722
  border-bottom: 1px solid var(--salla-autocomplete-item-border-color, #e5e7eb);
1723
- min-height: 48px;
1723
+ min-height: 35px;
1724
1724
  -webkit-tap-highlight-color: transparent;
1725
1725
  }
1726
1726
 
1727
1727
  @media (max-width: 640px) {
1728
1728
  .dropdown-item {
1729
1729
  padding: var(--salla-autocomplete-item-padding-mobile, 0.75rem 0.875rem);
1730
- min-height: 52px;
1730
+ min-height: 35px;
1731
1731
  }
1732
1732
  }
1733
1733
 
package/package.json CHANGED
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3",
38
38
  "vite": "^5.0.8"
39
39
  },
40
- "version": "1.0.3"
40
+ "version": "1.0.5"
41
41
  }