@openeuropa/bcl-description-list 0.22.0 → 0.23.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.
@@ -119,7 +119,7 @@ exports[`OE - Description List renders correctly 1`] = `
119
119
  exports[`OE - Description List with title horizontal renders correctly 1`] = `
120
120
  <jest>
121
121
  <h6
122
- class="fw-bold mb-4 bcl-heading"
122
+ class="mb-4 bcl-heading"
123
123
  >
124
124
  Description list test title
125
125
  </h6>
@@ -187,7 +187,7 @@ exports[`OE - Description List with title horizontal renders correctly 1`] = `
187
187
  exports[`OE - Description List with title renders correctly 1`] = `
188
188
  <jest>
189
189
  <h6
190
- class="fw-bold mb-4 bcl-heading"
190
+ class="mb-4 bcl-heading"
191
191
  >
192
192
  Description list test title
193
193
  </h6>
@@ -4,25 +4,25 @@
4
4
  Parameters:
5
5
  - title: (string) (default: "")
6
6
  - title_tag: (string) (default: "h2")
7
+ - title_link: (link object) (default: {})
7
8
  - title_attributes (drupal attrs)
8
- - "items" (array) (default: []): format: [
9
+ - items (array) (default: []): format: [
9
10
  {
10
- "term" (object or array of object) -format: {
11
+ term (object or array of object) -format: {
11
12
  icon: {} - icon object,
12
13
  label: ""
13
14
  }
14
- "definition" (block or array of string)
15
+ definition (block or array of string)
15
16
  },
16
17
  ...
17
18
  ]
18
- - "variant" (string) (default: '')
19
+ - variant (string) (default: '')
19
20
  - option: ["horizontal"]
20
21
  #}
21
22
 
22
- {# Parameters #}
23
-
24
23
  {% set _title = title|default('') %}
25
24
  {% set _title_tag = title_tag|default('h2') %}
25
+ {% set _title_link = title_link|default({}) %}
26
26
  {% set _title_attributes = title_attributes ?: create_attribute() %}
27
27
  {% set _items = items|default([]) %}
28
28
  {% set _variant = variant|default('') %}
@@ -39,6 +39,7 @@
39
39
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
40
40
  title: _title,
41
41
  title_tag: _title_tag,
42
+ title_link: _title_link,
42
43
  attributes: _title_attributes,
43
44
  } only %}
44
45
  {% endif %}
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@openeuropa/bcl-description-list",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.22.0",
5
+ "version": "0.23.0",
6
6
  "description": "OE - BCL description-list",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-heading": "^0.22.0",
12
- "@openeuropa/bcl-icon": "^0.22.0"
11
+ "@openeuropa/bcl-heading": "^0.23.0",
12
+ "@openeuropa/bcl-icon": "^0.23.0"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "57304ad94ae3c234f2f2b904208ce540a7a53f23"
28
+ "gitHead": "fa2097e14024989cddf6f9cd7a9115bed5886aeb"
29
29
  }