@shoper/phoenix_design_system 1.18.4-0 → 1.18.4-2

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.
@@ -31,7 +31,7 @@ exports.HSearchProducerContent = class HSearchProducerContent extends phoenix_li
31
31
  <ul>
32
32
  ${repeat.repeat(this.producers, (producer, index) => {
33
33
  var _a, _b;
34
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') ? '0' : undefined;
34
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') ? '0' : undefined;
35
35
  return lit.html `<li
36
36
  class="${search_constants.SEARCH_CLASS_NAMES.item} ${search_constants.SEARCH_CLASS_NAMES.itemHoverable} ${String(this.initialItemIds.producers + index) ===
37
37
  this.activeItemId
@@ -44,7 +44,7 @@ exports.HSearchProductContent = class HSearchProductContent extends phoenix_ligh
44
44
  <ul>
45
45
  ${repeat.repeat(this.products, (product, index) => {
46
46
  var _a, _b;
47
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') ? '0' : undefined;
47
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') ? '0' : undefined;
48
48
  return lit.html ` <li
49
49
  class="${search_constants.SEARCH_CLASS_NAMES.item} ${search_constants.SEARCH_CLASS_NAMES.itemHoverable} ${String(this.initialItemIds.products + index) ===
50
50
  this.activeItemId
@@ -107,7 +107,7 @@ exports.HSearchSuggestionContent = class HSearchSuggestionContent extends phoeni
107
107
 
108
108
  <ul>
109
109
  ${repeat.repeat(this._suggestionsData, (suggestion, index) => {
110
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') || suggestion.type === search_constants.SUGGESTIONS_TYPE.suggestion ? '0' : undefined;
110
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') || suggestion.type === search_constants.SUGGESTIONS_TYPE.suggestion ? '0' : undefined;
111
111
  return lit.html `<li
112
112
  @click=${() => this._handleSuggestion(suggestion.suggestionName, suggestion.type)}
113
113
  class="${search_constants.SEARCH_CLASS_NAMES.item} ${search_constants.SEARCH_CLASS_NAMES.itemHoverable} ${String(index) === this.activeItemId
@@ -27,7 +27,7 @@ let HSearchProducerContent = class HSearchProducerContent extends PhoenixLightLi
27
27
  <ul>
28
28
  ${c(this.producers, (producer, index) => {
29
29
  var _a, _b;
30
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') ? '0' : undefined;
30
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') ? '0' : undefined;
31
31
  return html `<li
32
32
  class="${SEARCH_CLASS_NAMES.item} ${SEARCH_CLASS_NAMES.itemHoverable} ${String(this.initialItemIds.producers + index) ===
33
33
  this.activeItemId
@@ -40,7 +40,7 @@ let HSearchProductContent = class HSearchProductContent extends PhoenixLightLitE
40
40
  <ul>
41
41
  ${c(this.products, (product, index) => {
42
42
  var _a, _b;
43
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') ? '0' : undefined;
43
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') ? '0' : undefined;
44
44
  return html ` <li
45
45
  class="${SEARCH_CLASS_NAMES.item} ${SEARCH_CLASS_NAMES.itemHoverable} ${String(this.initialItemIds.products + index) ===
46
46
  this.activeItemId
@@ -103,7 +103,7 @@ let HSearchSuggestionContent = class HSearchSuggestionContent extends PhoenixLig
103
103
 
104
104
  <ul>
105
105
  ${c(this._suggestionsData, (suggestion, index) => {
106
- const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"])') || suggestion.type === SUGGESTIONS_TYPE.suggestion ? '0' : undefined;
106
+ const optionTabIndex = this.closest('.search_mobile-opened, [display-mode="dropdown"]') || suggestion.type === SUGGESTIONS_TYPE.suggestion ? '0' : undefined;
107
107
  return html `<li
108
108
  @click=${() => this._handleSuggestion(suggestion.suggestionName, suggestion.type)}
109
109
  class="${SEARCH_CLASS_NAMES.item} ${SEARCH_CLASS_NAMES.itemHoverable} ${String(index) === this.activeItemId
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@shoper/phoenix_design_system",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "1.18.4-0",
5
+ "version": "1.18.4-2",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",