@openeuropa/bcl-description-list 1.10.7 → 1.10.8

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.
@@ -1,4 +1,4 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`OE - Description List horizontal renders correctly 1`] = `
4
4
  <jest>
@@ -3,7 +3,7 @@ import {
3
3
  renderTwigFileAsHtml,
4
4
  } from "@openeuropa/bcl-test-utils";
5
5
  import { axe, toHaveNoViolations } from "jest-axe";
6
- import drupalAttribute from "drupal-attribute";
6
+ import { DrupalAttribute } from "drupal-attribute";
7
7
 
8
8
  import demoData from "@openeuropa/bcl-description-list/data/data";
9
9
  import demoDataHorizontal from "@openeuropa/bcl-description-list/data/data--horizontal";
@@ -27,13 +27,13 @@ describe("OE - Description List", () => {
27
27
 
28
28
  test(`passes the accessibility tests`, async () => {
29
29
  expect(
30
- await axe(renderTwigFileAsHtml(template, demoData, true)),
30
+ await axe(await renderTwigFileAsHtml(template, demoData, true)),
31
31
  ).toHaveNoViolations();
32
32
  });
33
33
 
34
34
  test(`horizontal passes the accessibility tests`, async () => {
35
35
  expect(
36
- await axe(renderTwigFileAsHtml(template, demoDataHorizontal, true)),
36
+ await axe(await renderTwigFileAsHtml(template, demoDataHorizontal, true)),
37
37
  ).toHaveNoViolations();
38
38
  });
39
39
  });
@@ -126,7 +126,7 @@ describe("OE - Description List with title", () => {
126
126
  name: "geo-alt-fill",
127
127
  size: "xs",
128
128
  path: "/icons.svg",
129
- attributes: new drupalAttribute().addClass("new-class"),
129
+ attributes: new DrupalAttribute().addClass("new-class"),
130
130
  },
131
131
  },
132
132
  ],
@@ -153,7 +153,7 @@ describe("OE - Description List with title", () => {
153
153
  name: "geo-alt-fill",
154
154
  size: "xs",
155
155
  path: "/icons.svg",
156
- attributes: new drupalAttribute().addClass("new-class"),
156
+ attributes: new DrupalAttribute().addClass("new-class"),
157
157
  },
158
158
  },
159
159
  ],
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@openeuropa/bcl-description-list",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "1.10.7",
5
+ "version": "1.10.8",
6
6
  "description": "OE - BCL description-list",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-heading": "^1.10.7",
12
- "@openeuropa/bcl-icon": "^1.10.7"
11
+ "@openeuropa/bcl-heading": "^1.10.8",
12
+ "@openeuropa/bcl-icon": "^1.10.8"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "5f7e5c2fd90eceb81c0ffcf52dcf8e3921c3acae"
28
+ "gitHead": "9c2e64443ae179948cbf748c41d438af7a0f2421"
29
29
  }