@openeuropa/bcl-data-toasts 0.4.0 → 0.8.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/data-multiple.js CHANGED
@@ -6,6 +6,7 @@ module.exports = {
6
6
  wrapper_aria_live: "polite",
7
7
  with_container: true,
8
8
  container_classes: "position-absolute top-0 end-0 p-3",
9
+ attributes: new drupalAttribute(),
9
10
  toasts: [
10
11
  {
11
12
  role: "alert",
@@ -21,7 +22,7 @@ module.exports = {
21
22
  header: `<strong class="me-auto">Bootstrap</strong><small class="text-muted">2 seconds ago</small>`,
22
23
  body: "Heads up, toasts will stack automatically.",
23
24
  close_aria_label: "Close",
24
- attributes: new drupalAttribute(),
25
+ attributes: new drupalAttribute().addClass("test-class"),
25
26
  },
26
27
  ],
27
28
  };
package/data.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
+ attributes: new drupalAttribute(),
4
5
  toasts: [
5
6
  {
6
7
  role: "alert",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-toasts",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.4.0",
5
+ "version": "0.8.0",
6
6
  "description": "OE Toasts data",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -20,5 +20,5 @@
20
20
  "component-library",
21
21
  "design-system"
22
22
  ],
23
- "gitHead": "7cf0f727c3150c1dcf47cf180541009fd04918eb"
23
+ "gitHead": "342427d971c66d581fa09c232221a0e00085781e"
24
24
  }