swedbank-pay-design-guide-jekyll-theme 2.3.2 → 2.3.3
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.
- checksums.yaml +4 -4
- data/_includes/accordion-table.html +16 -5
- data/lib/gem_version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b377ebc5fc106ce10c4d66d44c996f4c101d434964dd81c83efc9b4b59de14b
|
4
|
+
data.tar.gz: 9a7c47b004ab7765def30a96b7c284841c41a802ed30b47b3e23e8a46f5141fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11dbbfd08091c20f722f4bed278cd508e99ff6dcd356edbe824f4eaeb07f266c89e78d0cd9cdff68f93852dc55a455c7c75f93b18faf6769b274b05abae849ee
|
7
|
+
data.tar.gz: cb5fb2f7671c913c3fe750d38b3b36087045cc98a199fc9b66db7f7a56c75aae8f02ac6e1705c3fc36a6d8c4c90bbd7e9f9c36fd96cdd74935cae9cf34cf282d
|
@@ -1,11 +1,22 @@
|
|
1
|
+
{%- comment -%}
|
2
|
+
**Parameters
|
3
|
+
content(required): What will be displayed inside the accordion when expanded.
|
4
|
+
button_expand_text: Text to display on the expand button. If not supplied the text 'Show fields' will be used.
|
5
|
+
button_collapse_text: Text to display on the collapse button. If not supplied the text 'Hide fields' will be used.
|
6
|
+
accordion_id: Id of the accordion. If not supplied 'accordion-1' will be used.
|
7
|
+
{%- endcomment -%}
|
8
|
+
|
1
9
|
{% assign content = include.content | markdownify%}
|
10
|
+
{% assign accordion_id = include.accordion_id | default: 'accordion-1' %}
|
11
|
+
{% assign button_collapse_text = include.button_collapse_text | default: 'Hide fields'%}
|
12
|
+
{% assign button_expand_text = include.button_expand_text | default: 'Show fields'%}
|
2
13
|
|
3
14
|
<div class="accordion">
|
4
|
-
<button type="button" class="accordion-header" aria-expanded="false" aria-controls="
|
5
|
-
<span class="mr-3 show">
|
6
|
-
<span class="mr-3 hide">
|
15
|
+
<button type="button" class="accordion-header" aria-expanded="false" aria-controls="{{accordion_id}}">
|
16
|
+
<span class="mr-3 show">{{button_expand_text}}</span>
|
17
|
+
<span class="mr-3 hide">{{button_collapse_text}}</span>
|
7
18
|
</button>
|
8
|
-
<div class="accordion-body" id="
|
19
|
+
<div class="accordion-body" id="{{accordion_id}}">
|
9
20
|
{{ content }}
|
10
21
|
</div>
|
11
|
-
</div>
|
22
|
+
</div>
|
data/lib/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swedbank-pay-design-guide-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swedbank Pay
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -380,7 +380,7 @@ dependencies:
|
|
380
380
|
- - ">="
|
381
381
|
- !ruby/object:Gem::Version
|
382
382
|
version: '0'
|
383
|
-
description:
|
383
|
+
description:
|
384
384
|
email:
|
385
385
|
- opensource@swedbankpay.com
|
386
386
|
executables: []
|
@@ -491,7 +491,7 @@ metadata:
|
|
491
491
|
homepage_uri: https://github.com/SwedbankPay/swedbank-pay-design-guide-jekyll-theme
|
492
492
|
source_code_uri: https://github.com/SwedbankPay/swedbank-pay-design-guide-jekyll-theme
|
493
493
|
rubygems_mfa_required: 'true'
|
494
|
-
post_install_message:
|
494
|
+
post_install_message:
|
495
495
|
rdoc_options: []
|
496
496
|
require_paths:
|
497
497
|
- lib
|
@@ -507,7 +507,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
507
507
|
version: '0'
|
508
508
|
requirements: []
|
509
509
|
rubygems_version: 3.1.6
|
510
|
-
signing_key:
|
510
|
+
signing_key:
|
511
511
|
specification_version: 4
|
512
512
|
summary: Swedbank Pay Design Guide theme for Jekyll
|
513
513
|
test_files: []
|