@shoper/phoenix_design_system 1.17.10-11 → 1.17.10-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.
|
@@ -368,9 +368,9 @@ exports.HSearch = class HSearch extends phoenix_light_lit_element.PhoenixLightLi
|
|
|
368
368
|
document.removeEventListener('keydown', this._preventScrollingOnSearchContentBrowsing);
|
|
369
369
|
document.removeEventListener('focusin', this._resetSearchOnFocusOutside);
|
|
370
370
|
window.removeEventListener('resize', this._switchTypeOfSearchView);
|
|
371
|
-
window.removeEventListener('resize', this._updateShouldRenderAsPopup);
|
|
372
371
|
(_a = this._searchForm) === null || _a === void 0 ? void 0 : _a.removeEventListener('keydown', this._preventSubmitOnSearchClear);
|
|
373
372
|
if (this.popup) {
|
|
373
|
+
window.removeEventListener('resize', this._updateShouldRenderAsPopup);
|
|
374
374
|
document.removeEventListener(sheet_constants.SHEET_EVENTS.opened, this._showPopup);
|
|
375
375
|
document.removeEventListener(sheet_constants.SHEET_EVENTS.closed, this._hidePopup);
|
|
376
376
|
}
|
|
@@ -453,9 +453,9 @@ exports.HSearch = class HSearch extends phoenix_light_lit_element.PhoenixLightLi
|
|
|
453
453
|
});
|
|
454
454
|
document.addEventListener('click', this._hideSuggesterOnClickOutside);
|
|
455
455
|
window.addEventListener('resize', this._switchTypeOfSearchView);
|
|
456
|
-
window.addEventListener('resize', this._updateShouldRenderAsPopup);
|
|
457
456
|
this._searchForm.addEventListener('keydown', this._preventSubmitOnSearchClear);
|
|
458
457
|
if (this.popup) {
|
|
458
|
+
window.addEventListener('resize', this._updateShouldRenderAsPopup);
|
|
459
459
|
document.addEventListener(sheet_constants.SHEET_EVENTS.opened, this._showPopup);
|
|
460
460
|
document.addEventListener(sheet_constants.SHEET_EVENTS.closed, this._hidePopup);
|
|
461
461
|
}
|
|
@@ -364,9 +364,9 @@ let HSearch = class HSearch extends PhoenixLightLitElement {
|
|
|
364
364
|
document.removeEventListener('keydown', this._preventScrollingOnSearchContentBrowsing);
|
|
365
365
|
document.removeEventListener('focusin', this._resetSearchOnFocusOutside);
|
|
366
366
|
window.removeEventListener('resize', this._switchTypeOfSearchView);
|
|
367
|
-
window.removeEventListener('resize', this._updateShouldRenderAsPopup);
|
|
368
367
|
(_a = this._searchForm) === null || _a === void 0 ? void 0 : _a.removeEventListener('keydown', this._preventSubmitOnSearchClear);
|
|
369
368
|
if (this.popup) {
|
|
369
|
+
window.removeEventListener('resize', this._updateShouldRenderAsPopup);
|
|
370
370
|
document.removeEventListener(SHEET_EVENTS.opened, this._showPopup);
|
|
371
371
|
document.removeEventListener(SHEET_EVENTS.closed, this._hidePopup);
|
|
372
372
|
}
|
|
@@ -449,9 +449,9 @@ let HSearch = class HSearch extends PhoenixLightLitElement {
|
|
|
449
449
|
});
|
|
450
450
|
document.addEventListener('click', this._hideSuggesterOnClickOutside);
|
|
451
451
|
window.addEventListener('resize', this._switchTypeOfSearchView);
|
|
452
|
-
window.addEventListener('resize', this._updateShouldRenderAsPopup);
|
|
453
452
|
this._searchForm.addEventListener('keydown', this._preventSubmitOnSearchClear);
|
|
454
453
|
if (this.popup) {
|
|
454
|
+
window.addEventListener('resize', this._updateShouldRenderAsPopup);
|
|
455
455
|
document.addEventListener(SHEET_EVENTS.opened, this._showPopup);
|
|
456
456
|
document.addEventListener(SHEET_EVENTS.closed, this._hidePopup);
|
|
457
457
|
}
|
package/package.json
CHANGED