@openeuropa/bcl-description-list 0.28.1 → 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.
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
- col_classes (string) (default: 'col-3')
|
|
11
11
|
- items (array) (default: []): format: [
|
|
12
12
|
{
|
|
13
|
-
term (string or
|
|
14
|
-
definition (string or
|
|
13
|
+
term (string or description list title [])
|
|
14
|
+
definition (string or description list details [])
|
|
15
15
|
},
|
|
16
16
|
...
|
|
17
17
|
]
|
|
@@ -22,11 +22,10 @@
|
|
|
22
22
|
{% set _title = title|default('') %}
|
|
23
23
|
{% set _title_tag = title_tag|default('h2') %}
|
|
24
24
|
{% set _title_link = title_link|default({}) %}
|
|
25
|
-
{% set _bordered = bordered|default(false) %}
|
|
26
|
-
{% set _title_link = title_link|default({}) %}
|
|
27
25
|
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
28
|
-
{% set
|
|
26
|
+
{% set _bordered = bordered ?? false %}
|
|
29
27
|
{% set _col_classes = col_classes|default('col-md-3') %}
|
|
28
|
+
{% set _items = items|default([]) %}
|
|
30
29
|
{% set _variant = variant|default('') %}
|
|
31
30
|
|
|
32
31
|
{% if attributes is empty %}
|
|
@@ -29,7 +29,7 @@ const getArgTypes = () => ({
|
|
|
29
29
|
type: { name: "string" },
|
|
30
30
|
description: "Classes of the column in horizontal variant",
|
|
31
31
|
table: {
|
|
32
|
-
defaultValue: { summary: "col-3" },
|
|
32
|
+
defaultValue: { summary: "col-md-3" },
|
|
33
33
|
type: { summary: "int" },
|
|
34
34
|
category: "Style",
|
|
35
35
|
},
|
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.
|
|
5
|
+
"version": "1.0.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.
|
|
12
|
-
"@openeuropa/bcl-icon": "^0.
|
|
11
|
+
"@openeuropa/bcl-heading": "^1.0.0",
|
|
12
|
+
"@openeuropa/bcl-icon": "^1.0.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": "
|
|
28
|
+
"gitHead": "16b986722345644e83a37dc8091c07eecbdf4c8c"
|
|
29
29
|
}
|