@openeuropa/bcl-data-form 1.10.6 → 1.10.8

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--disabled.js CHANGED
@@ -1,7 +1,7 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
- attributes: new drupalAttribute()
4
+ attributes: new DrupalAttribute()
5
5
  .setAttribute("novalidate", true)
6
6
  .setAttribute("onsubmit", "return false;"),
7
7
  submit: {
package/data--grid.js CHANGED
@@ -1,7 +1,7 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
- attributes: new drupalAttribute()
4
+ attributes: new DrupalAttribute()
5
5
  .addClass(["row", "g-3"])
6
6
  .setAttribute("novalidate", true)
7
7
  .setAttribute("onsubmit", "return false;"),
@@ -1,7 +1,7 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
- attributes: new drupalAttribute().setAttribute("onsubmit", "return false;"),
4
+ attributes: new DrupalAttribute().setAttribute("onsubmit", "return false;"),
5
5
  submit: {
6
6
  wrapper: "col-12",
7
7
  label: "Sign in",
package/data--inline.js CHANGED
@@ -1,7 +1,7 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
- attributes: new drupalAttribute()
4
+ attributes: new DrupalAttribute()
5
5
  .addClass(["row", "row-cols-lg-auto", "g-3", "align-items-center"])
6
6
  .setAttribute("novalidate", true)
7
7
  .setAttribute("onsubmit", "return false;"),
package/data.js CHANGED
@@ -1,7 +1,7 @@
1
- const drupalAttribute = require("drupal-attribute");
1
+ const { DrupalAttribute } = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
- attributes: new drupalAttribute()
4
+ attributes: new DrupalAttribute()
5
5
  .addClass("needs-validation")
6
6
  .setAttribute("novalidate", true)
7
7
  .setAttribute("onsubmit", "return false;"),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-form",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "1.10.6",
5
+ "version": "1.10.8",
6
6
  "description": "OE - BCL data form",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "f2c1911b328b12531079c209ecada73a505713c2"
24
+ "gitHead": "9c2e64443ae179948cbf748c41d438af7a0f2421"
25
25
  }