@openeuropa/bcl-data-card 1.10.7 → 1.10.9

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
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
4
  horizontal: true,
@@ -17,5 +17,5 @@ module.exports = {
17
17
  position: "top",
18
18
  },
19
19
  content: "<button class='btn btn-primary'>Custom action</button>",
20
- attributes: new drupalAttribute().addClass("w-50"),
20
+ attributes: new DrupalAttribute().addClass("w-50"),
21
21
  };
package/data.js CHANGED
@@ -1,4 +1,4 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
4
  title: "Title card",
@@ -16,7 +16,7 @@ module.exports = {
16
16
  label: "I'm also a badge",
17
17
  outline: true,
18
18
  rounded_pill: true,
19
- attributes: new drupalAttribute().addClass("test-class"),
19
+ attributes: new DrupalAttribute().addClass("test-class"),
20
20
  },
21
21
  ],
22
22
  text: {
@@ -30,5 +30,5 @@ module.exports = {
30
30
  },
31
31
  card_header: "Header of card",
32
32
  card_footer: "Footer of card",
33
- attributes: new drupalAttribute().addClass("w-25"),
33
+ attributes: new DrupalAttribute().addClass("w-25"),
34
34
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-card",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "1.10.7",
5
+ "version": "1.10.9",
6
6
  "description": "OE - BCL data card",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "5f7e5c2fd90eceb81c0ffcf52dcf8e3921c3acae"
24
+ "gitHead": "cb9864341bfc98404071520d61568bd18e17e1fe"
25
25
  }