@openeuropa/bcl-listing 0.23.0 → 0.24.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/listing.html.twig CHANGED
@@ -1,16 +1,17 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
- - title: (string) (default: "")
5
- - title_tag: (string) (default: "h2")
4
+ - title: (string) (default: '')
5
+ - title_tag: (string) (default: 'h2')
6
6
  - title_link: (link object) (default: {})
7
7
  - title_attributes (drupal attrs)
8
- - variant: (string) (default: "horizontal") options:
9
- [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
8
+ - variant: (string) (default: 'horizontal')
9
+ options [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
10
10
  - items: (array of objects of type card)
11
11
  - link: (object of type link)
12
- - alignment: (string) (default: '') options:
13
- ['start', 'end', 'center', 'baseline', 'stretch']
12
+ - alignment: (string) (default: '')
13
+ options ['start', 'end', 'center', 'baseline', 'stretch']
14
+ - attributes (drupal attrs)
14
15
  #}
15
16
 
16
17
  {% set _title = title|default('') %}
@@ -21,6 +22,7 @@
21
22
  {% set _variant = variant|default('default-1-col') %}
22
23
  {% set _alignment = alignment|default('') %}
23
24
  {% set _link = link|default({}) %}
25
+
24
26
  {% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
25
27
  {% set _cards = [] %}
26
28
  {% set _card_layout = {
package/package.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@openeuropa/bcl-listing",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.23.0",
5
+ "version": "0.24.1",
6
6
  "description": "OE - BCL Listing",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@openeuropa/bcl-card-layout": "^0.23.0",
12
- "@openeuropa/bcl-heading": "^0.23.0",
13
- "@openeuropa/bcl-link": "^0.23.0"
11
+ "@openeuropa/bcl-card-layout": "^0.24.1",
12
+ "@openeuropa/bcl-heading": "^0.24.1",
13
+ "@openeuropa/bcl-link": "^0.24.1"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "design-system",
27
27
  "twig"
28
28
  ],
29
- "gitHead": "fa2097e14024989cddf6f9cd7a9115bed5886aeb"
29
+ "gitHead": "3ebebdea0c76a5a8df03abbd13873956a1e4837a"
30
30
  }