@openeuropa/bcl-data-navigation 0.24.0 → 0.25.1
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--tabs.js +5 -8
- package/package.json +2 -2
package/data--tabs.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const drupalAttribute = require("drupal-attribute");
|
|
2
|
+
const { getDummyText } = require("@openeuropa/bcl-data-utils");
|
|
2
3
|
|
|
3
4
|
module.exports = {
|
|
4
5
|
tabs: true,
|
|
@@ -8,8 +9,7 @@ module.exports = {
|
|
|
8
9
|
{
|
|
9
10
|
label: "I'm a link",
|
|
10
11
|
path: "#first",
|
|
11
|
-
content:
|
|
12
|
-
"This is a demo content for the First Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
12
|
+
content: `<p class="mt-4">This is a demo content for the First Tab. ${getDummyText()}</p>`,
|
|
13
13
|
id: "first-tab",
|
|
14
14
|
target: "first",
|
|
15
15
|
attributes: new drupalAttribute()
|
|
@@ -20,8 +20,7 @@ module.exports = {
|
|
|
20
20
|
{
|
|
21
21
|
label: "I'm a button",
|
|
22
22
|
button: true,
|
|
23
|
-
content:
|
|
24
|
-
"This is a demo content for the Second Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
23
|
+
content: `<p class="mt-4">This is a demo content for the Second Tab. ${getDummyText()}</p>`,
|
|
25
24
|
id: "second-tab",
|
|
26
25
|
target: "second",
|
|
27
26
|
attributes: new drupalAttribute()
|
|
@@ -34,8 +33,7 @@ module.exports = {
|
|
|
34
33
|
label: "I'm a disabled button",
|
|
35
34
|
button: true,
|
|
36
35
|
disabled: true,
|
|
37
|
-
content:
|
|
38
|
-
"This is a demo content for the Third Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
36
|
+
content: `<p class="mt-4">This is a demo content for the Third Tab.</p>${getDummyText()}</p>`,
|
|
39
37
|
id: "third-tab",
|
|
40
38
|
target: "third",
|
|
41
39
|
attributes: new drupalAttribute()
|
|
@@ -48,8 +46,7 @@ module.exports = {
|
|
|
48
46
|
label: "I'm a active button",
|
|
49
47
|
button: true,
|
|
50
48
|
active: true,
|
|
51
|
-
content:
|
|
52
|
-
"This is a demo content for the Fourth Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
49
|
+
content: `<p class="mt-4">This is a demo content for the Fourth Tab. ${getDummyText()}</p>`,
|
|
53
50
|
id: "fourth-tab",
|
|
54
51
|
target: "fourth",
|
|
55
52
|
attributes: new drupalAttribute()
|
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.
|
|
5
|
+
"version": "0.25.1",
|
|
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": "
|
|
24
|
+
"gitHead": "01db3de0765fee0f44e4f202f3ea7d0f2e28f742"
|
|
25
25
|
}
|