@openeuropa/bcl-card-layout 0.22.0 → 0.25.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.
- package/card-layout.html.twig +3 -1
- package/package.json +3 -3
package/card-layout.html.twig
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{# Parameters:
|
|
4
4
|
- type (string) (default: 'group')
|
|
5
5
|
options: ['group', 'grid', 'masonry']
|
|
6
|
-
- items (array of
|
|
6
|
+
- items (array of object type card) (default: [])
|
|
7
7
|
- grid_columns (int) (default: 1)
|
|
8
8
|
options: ['1', '2', '3']
|
|
9
9
|
- responsiveness (string) (default: '')
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
options: ['0', '1', '2', '3', '4', '5']
|
|
15
15
|
- equal_height (boolean) (default: false)
|
|
16
16
|
- cols_extra_classes (string) (default: '')
|
|
17
|
+
- attributes (drupal attrs)
|
|
17
18
|
|
|
18
19
|
Blocks
|
|
19
20
|
- card_layout_card
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
{% set _gutter = gutter|default('') %}
|
|
28
29
|
{% set _equal_height = equal_height|default(false) %}
|
|
29
30
|
{% set _cols_extra_classes = cols_extra_classes|default('') %}
|
|
31
|
+
|
|
30
32
|
{% set _cols_classes = 'col' %}
|
|
31
33
|
|
|
32
34
|
{% if _cols_extra_classes is not empty %}
|
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-card-layout",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.25.0",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "OE - BCL card layout",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-card": "^0.
|
|
11
|
+
"@openeuropa/bcl-card": "^0.25.0"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"design-system",
|
|
25
25
|
"twig"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "f50c7dfeab8695bbb5c18d5f7d5304509512268a"
|
|
28
28
|
}
|