@openeuropa/bcl-data-navigation 0.17.0 → 0.18.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.
Files changed (2) hide show
  1. package/dataTabs.js +1 -33
  2. package/package.json +2 -2
package/dataTabs.js CHANGED
@@ -2,6 +2,7 @@ const drupalAttribute = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
4
  tabs: true,
5
+ nav: true,
5
6
  tabs_content: true,
6
7
  items: [
7
8
  {
@@ -43,39 +44,6 @@ module.exports = {
43
44
  .setAttribute("data-bs-target", "#third")
44
45
  .setAttribute("aria-controls", "third"),
45
46
  },
46
- {
47
- id: "dropdown-1",
48
- link: true,
49
- dropdown: true,
50
- trigger: {
51
- label: "Dropdown Toggle",
52
- path: "#",
53
- attributes: new drupalAttribute().addClass("nav-link"),
54
- },
55
- items: [
56
- {
57
- label: "I'm a link",
58
- path: "/example.html",
59
- },
60
- {
61
- label: "I'm a button",
62
- button: true,
63
- },
64
- {
65
- divider: true,
66
- },
67
- {
68
- label: "I'm a disabled button",
69
- button: true,
70
- disabled: true,
71
- },
72
- {
73
- label: "I'm a active button",
74
- button: true,
75
- active: true,
76
- },
77
- ],
78
- },
79
47
  {
80
48
  label: "I'm a active button",
81
49
  button: true,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-navigation",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.17.0",
5
+ "version": "0.18.0",
6
6
  "description": "OE - BCL data navigation",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "07ff24de8a209d80750a32cd52dfe9663fabf8e2"
24
+ "gitHead": "a82834df6dff563a956a79bf2899c92742dd5820"
25
25
  }