@openeuropa/bcl-description-list 1.8.0 → 1.9.0

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,5 +1,3 @@
1
- import { withDesign } from "storybook-addon-designs";
2
- import withCode from "@openeuropa/storybook-addon-code";
3
1
  import { correctPaths, getTitleControls } from "@openeuropa/bcl-story-utils";
4
2
 
5
3
  import demoData from "@openeuropa/bcl-description-list/data/data.js";
@@ -40,7 +38,6 @@ const applyArgs = (data, args) => Object.assign(data, args);
40
38
 
41
39
  export default {
42
40
  title: "Paragraphs/Description List",
43
- decorators: [withCode, withDesign],
44
41
  parameters: {
45
42
  badges: ["deprecated"],
46
43
  viewport: {
@@ -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(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(renderTwigFileAsHtml(template, demoDataHorizontal, true)),
37
37
  ).toHaveNoViolations();
38
38
  });
39
39
  });
@@ -46,7 +46,7 @@ describe("OE - Description List with title", () => {
46
46
  ...demoData,
47
47
  title: "Description list test title",
48
48
  title_tag: "h6",
49
- })
49
+ }),
50
50
  ).resolves.toMatchSnapshot();
51
51
  });
52
52
 
@@ -58,7 +58,7 @@ describe("OE - Description List with title", () => {
58
58
  title: "Description list test title",
59
59
  title_tag: "h6",
60
60
  bordered: true,
61
- })
61
+ }),
62
62
  ).resolves.toMatchSnapshot();
63
63
  });
64
64
 
@@ -69,7 +69,7 @@ describe("OE - Description List with title", () => {
69
69
  ...demoDataHorizontal,
70
70
  title: "Description list test title",
71
71
  title_tag: "h6",
72
- })
72
+ }),
73
73
  ).resolves.toMatchSnapshot();
74
74
  });
75
75
 
@@ -81,7 +81,7 @@ describe("OE - Description List with title", () => {
81
81
  horizontal_size: "8-4",
82
82
  title: "Description list test title",
83
83
  title_tag: "h6",
84
- })
84
+ }),
85
85
  ).resolves.toMatchSnapshot();
86
86
  });
87
87
 
@@ -93,7 +93,7 @@ describe("OE - Description List with title", () => {
93
93
  bordered: true,
94
94
  title: "Description list test title",
95
95
  title_tag: "h6",
96
- })
96
+ }),
97
97
  ).resolves.toMatchSnapshot();
98
98
  });
99
99
 
@@ -108,7 +108,7 @@ describe("OE - Description List with title", () => {
108
108
  '<svg class="me-2 bi icon--fluid"><use xlink:href="/icons.svg#printer-fill"></use></svg>Description text goes here.',
109
109
  },
110
110
  ],
111
- })
111
+ }),
112
112
  ).resolves.toMatchSnapshot();
113
113
  });
114
114
 
@@ -134,7 +134,7 @@ describe("OE - Description List with title", () => {
134
134
  "Long Description text goes here.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin dignissim, quam at sollicitudin volutpat, ipsum arcu maximus massa, quis egestas diam tellus vitae nulla.",
135
135
  },
136
136
  ],
137
- })
137
+ }),
138
138
  ).resolves.toMatchSnapshot();
139
139
  });
140
140
 
@@ -159,7 +159,7 @@ describe("OE - Description List with title", () => {
159
159
  ],
160
160
  },
161
161
  ],
162
- })
162
+ }),
163
163
  ).resolves.toMatchSnapshot();
164
164
  });
165
165
  });
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.8.0",
5
+ "version": "1.9.0",
6
6
  "description": "OE - BCL description-list",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-heading": "^1.8.0",
12
- "@openeuropa/bcl-icon": "^1.8.0"
11
+ "@openeuropa/bcl-heading": "^1.9.0",
12
+ "@openeuropa/bcl-icon": "^1.9.0"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "a0fa8ed19618070b7e6310615b0191a44403844c"
28
+ "gitHead": "461de595e5ddda95383ceaf5d02d513aef111246"
29
29
  }