@openeuropa/bcl-subscription-block 1.8.2 → 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.
package/package.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-subscription-block",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "OE - BCL subscription block",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-alert": "^1.
|
|
12
|
-
"@openeuropa/bcl-button": "^1.
|
|
13
|
-
"@openeuropa/bcl-form": "^1.
|
|
14
|
-
"@openeuropa/bcl-modal": "^1.
|
|
11
|
+
"@openeuropa/bcl-alert": "^1.9.0",
|
|
12
|
+
"@openeuropa/bcl-button": "^1.9.0",
|
|
13
|
+
"@openeuropa/bcl-form": "^1.9.0",
|
|
14
|
+
"@openeuropa/bcl-modal": "^1.9.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"design-system",
|
|
28
28
|
"twig"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "461de595e5ddda95383ceaf5d02d513aef111246"
|
|
31
31
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { withDesign } from "storybook-addon-designs";
|
|
2
|
-
import withCode from "@openeuropa/storybook-addon-code";
|
|
3
1
|
import { correctPaths } from "@openeuropa/bcl-story-utils";
|
|
4
2
|
|
|
5
3
|
import subscriptionBlock from "@openeuropa/bcl-subscription-block/subscription-block.html.twig";
|
|
@@ -7,7 +5,6 @@ import demoData from "@openeuropa/bcl-subscription-block/data.js";
|
|
|
7
5
|
|
|
8
6
|
export default {
|
|
9
7
|
title: "Compositions/Subscription Block",
|
|
10
|
-
decorators: [withCode, withDesign],
|
|
11
8
|
parameters: {
|
|
12
9
|
layout: "fullscreen",
|
|
13
10
|
controls: { disable: true },
|
|
@@ -21,7 +21,7 @@ describe("OE - Subscription Block", () => {
|
|
|
21
21
|
|
|
22
22
|
test(`passes the accessibility tests`, async () => {
|
|
23
23
|
expect(
|
|
24
|
-
await axe(renderTwigFileAsHtml(template, demoData, true))
|
|
24
|
+
await axe(renderTwigFileAsHtml(template, demoData, true)),
|
|
25
25
|
).toHaveNoViolations();
|
|
26
26
|
});
|
|
27
27
|
});
|