@shoper/phoenix_design_system 1.15.11-29 → 1.15.11-30

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.
@@ -27,7 +27,7 @@ class BaseMessage extends phoenix_light_lit_element.PhoenixLightLitElement {
27
27
  [...this.children].forEach((child) => {
28
28
  if (base_message_constants.LIST_OF_MESSAGE_CHILDREN.includes(child.tagName.toLowerCase()))
29
29
  return;
30
- child.setAttribute('aria-describedby', this._messageId);
30
+ child.setAttribute('aria-describedby', `${child.getAttribute('aria-describedby') || ''} ${this._messageId}`);
31
31
  });
32
32
  };
33
33
  this._setupEventListeners = () => {
@@ -23,7 +23,7 @@ class BaseMessage extends PhoenixLightLitElement {
23
23
  [...this.children].forEach((child) => {
24
24
  if (LIST_OF_MESSAGE_CHILDREN.includes(child.tagName.toLowerCase()))
25
25
  return;
26
- child.setAttribute('aria-describedby', this._messageId);
26
+ child.setAttribute('aria-describedby', `${child.getAttribute('aria-describedby') || ''} ${this._messageId}`);
27
27
  });
28
28
  };
29
29
  this._setupEventListeners = () => {
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.11-29",
5
+ "version": "1.15.11-30",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "storybook": "NODE_OPTIONS=--openssl-legacy-provider && start-storybook --no-open --port 6007",
23
23
  "build": "rimraf ./build/ && tsc --project tsconfig.build.json && rollup --config rollup.config.js",
24
24
  "watch": "rollup --config rollup.config.js --watch",
25
- "tests:unit": "jest --max-workers=1 -c .config/jest/jest.config.js",
25
+ "tests:unit": "jest --max-workers=1 -c .config/jest/jest.config.js -- hint",
26
26
  "watch:tests:unit": "jest --watch -c .config/jest/jest.config.js"
27
27
  },
28
28
  "peerDependencies": {