@openeuropa/bcl-data-select 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
  id: "multiselect-1",
@@ -29,5 +29,5 @@ module.exports = {
29
29
  { value: 8, label: "last option" },
30
30
  { value: 9, label: "the selected option", selected: true },
31
31
  ],
32
- attributes: new drupalAttribute().addClass("multi-select form-select"),
32
+ attributes: new DrupalAttribute().addClass("multi-select form-select"),
33
33
  };
package/data--single.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
  id: "singleselect-1",
@@ -26,5 +26,5 @@ module.exports = {
26
26
  { value: 7, label: "another option" },
27
27
  { value: 8, label: "last option" },
28
28
  ],
29
- attributes: new drupalAttribute().addClass("single-select form-select"),
29
+ attributes: new DrupalAttribute().addClass("single-select form-select"),
30
30
  };
package/data--sort.js CHANGED
@@ -1,8 +1,8 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
4
  label: "Sort by",
5
- attributes: new drupalAttribute().addClass("mb-4 mb-md-0 ms-md-4"),
5
+ attributes: new DrupalAttribute().addClass("mb-4 mb-md-0 ms-md-4"),
6
6
  aria_label: "sort-select",
7
7
  label_extra_classes: "mb-0",
8
8
  options: [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-select",
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 select data",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -20,5 +20,5 @@
20
20
  "component-library",
21
21
  "design-system"
22
22
  ],
23
- "gitHead": "5f7e5c2fd90eceb81c0ffcf52dcf8e3921c3acae"
23
+ "gitHead": "cb9864341bfc98404071520d61568bd18e17e1fe"
24
24
  }