monkey-style-guide-v2 0.0.45 → 0.0.47

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.
@@ -44,7 +44,7 @@
44
44
  top: 0;
45
45
  z-index: 1;
46
46
  background: var(--mecx-color-gray-100);
47
- opacity: 0.8;
47
+ opacity: 0.5;
48
48
  border-radius: 6px;
49
49
  padding: 0;
50
50
  color: var(--mecx-color-gray-900);
@@ -1482,7 +1482,7 @@ class MonkeyEcxAddressService {
1482
1482
  const addressNumber = getComponent(addressComponents, 'street_number');
1483
1483
  const neighborhood = getComponent(addressComponents, 'sublocality_level_1');
1484
1484
  const city = getComponent(addressComponents, 'administrative_area_level_2');
1485
- const state = getComponent(addressComponents, 'administrative_area_level_1', 'shortText');
1485
+ const state = getComponent(addressComponents, 'administrative_area_level_1');
1486
1486
  const country = getComponent(addressComponents, 'country');
1487
1487
  const zipCode = getComponent(addressComponents, 'postal_code');
1488
1488
  return {
@@ -2386,6 +2386,8 @@ class MonkeyAutocompleteComponent {
2386
2386
  }
2387
2387
  onClear() {
2388
2388
  this.searchData = '';
2389
+ this._onChange(null);
2390
+ this.onChange.emit(null);
2389
2391
  }
2390
2392
  _onFocus() {
2391
2393
  if (!this.disabled) {
@@ -2746,6 +2748,8 @@ class MonkeyAutocompleteAddressComponent {
2746
2748
  }
2747
2749
  onClear() {
2748
2750
  this.searchData = '';
2751
+ this._onChange(null);
2752
+ this.onChange.emit(null);
2749
2753
  }
2750
2754
  _onFocus() {
2751
2755
  if (!this.disabled) {