@openeuropa/bcl-inpage-navigation 0.28.0 → 1.0.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.
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
{#
|
|
4
4
|
Parameters:
|
|
5
5
|
- title: (string) (default: '')
|
|
6
|
-
- title_tag: (string) (default: '
|
|
6
|
+
- title_tag: (string) (default: 'h2')
|
|
7
7
|
- title_link: (link object) (default: {})
|
|
8
8
|
- title_attributes (drupal attrs)
|
|
9
|
-
- links: (
|
|
10
|
-
- id (string) (default:
|
|
9
|
+
- links: (link[]) (default: [])
|
|
10
|
+
- id (string) (default: bcl-inpage-navigation-random(10))
|
|
11
11
|
- attributes (drupal attrs)
|
|
12
12
|
#}
|
|
13
13
|
|
|
@@ -16,9 +16,7 @@ Parameters:
|
|
|
16
16
|
{% set _title_link = title_link|default({}) %}
|
|
17
17
|
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
18
18
|
{% set _links = links|default([]) %}
|
|
19
|
-
{% set _content = content|default('') %}
|
|
20
19
|
{% set _id = id|default('bcl-inpage-navigation-' ~ random(10)) %}
|
|
21
|
-
{% set _full_layout = full_layout|default(false) %}
|
|
22
20
|
|
|
23
21
|
{% if attributes is empty %}
|
|
24
22
|
{% set attributes = create_attribute() %}
|
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-inpage-navigation",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "1.0.0",
|
|
6
6
|
"description": "OE - BCL inpage navigation",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-navigation": "^0.
|
|
11
|
+
"@openeuropa/bcl-navigation": "^1.0.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"lorem-ipsum": "2.0.8"
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"design-system",
|
|
28
28
|
"twig"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "16b986722345644e83a37dc8091c07eecbdf4c8c"
|
|
31
31
|
}
|