@shoper/phoenix_design_system 1.15.13-2 → 1.15.13-3

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.
@@ -39,7 +39,7 @@ exports.HAccordionToggler = class HAccordionToggler extends phoenix_light_lit_el
39
39
  this.setAttribute('aria-disabled', disabled ? 'true' : 'false');
40
40
  if (disabled) {
41
41
  this.removeAttribute('role');
42
- this.removeAttribute('tabindex');
42
+ this.setAttribute('tabindex', '-1');
43
43
  }
44
44
  else {
45
45
  this.setAttribute('role', 'button');
@@ -19,6 +19,7 @@ exports.HScrollTo = class HScrollTo extends phoenix_light_lit_element.PhoenixLig
19
19
  const elTopPosition = $scrollTo.getBoundingClientRect().top;
20
20
  requestAnimationFrame(() => {
21
21
  window.scrollTo({ top: elTopPosition + window.scrollY, behavior: this.behavior });
22
+ $scrollTo.focus();
22
23
  });
23
24
  }
24
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -35,7 +35,7 @@ let HAccordionToggler = class HAccordionToggler extends PhoenixLightLitElement {
35
35
  this.setAttribute('aria-disabled', disabled ? 'true' : 'false');
36
36
  if (disabled) {
37
37
  this.removeAttribute('role');
38
- this.removeAttribute('tabindex');
38
+ this.setAttribute('tabindex', '-1');
39
39
  }
40
40
  else {
41
41
  this.setAttribute('role', 'button');
@@ -15,6 +15,7 @@ let HScrollTo = class HScrollTo extends PhoenixLightLitElement {
15
15
  const elTopPosition = $scrollTo.getBoundingClientRect().top;
16
16
  requestAnimationFrame(() => {
17
17
  window.scrollTo({ top: elTopPosition + window.scrollY, behavior: this.behavior });
18
+ $scrollTo.focus();
18
19
  });
19
20
  }
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
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.15.13-2",
5
+ "version": "1.15.13-3",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",