swedbank-pay-design-guide-jekyll-theme 2.3.4 → 2.3.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7522365d9372a6de8f591e7f8a4c4d84447cc9e1231bf30391c40d962c509d4e
4
- data.tar.gz: 11824429c1ebf7dd00ba1a2f1282bed5df4b80ba235b77b4ecdd2f6031830bd9
3
+ metadata.gz: 2a4f0bb8e3d1eec9a4e8134df0e017db96000703f7cf2bfeb3e97c14ad2d68c6
4
+ data.tar.gz: 682ebce58ca4d9630682f57dd6ba463bc2264094bb7114a960a28c341a8005ec
5
5
  SHA512:
6
- metadata.gz: 3c3a419281b10c2fbed479b23f7dc8307dbd64ce13d54fefe639d2395ded00f15932fb2d225b87770d6ae5fd46ae235e15ddb783b85e8d60ce593c1fc063f2f3
7
- data.tar.gz: 630c828278d05e20a0cc2dab57fb210a15560dc761be0bd5b0d6779158148ca6ad9acb3ae6bcc93a52691776a386b8ae0a39a18ac319a1c88ab131caf195c11c
6
+ metadata.gz: a6602d548e1f34ea9ed37c5b40a1b83e04032c0d2d2af10398f6a2b1606c25f3657e369eef20cdf8000b98fe11cca92dd11f432c00a625d5a6e3fa9511f24975
7
+ data.tar.gz: 587508e22d17761cd4a674b371bbecea644ee9ae8648e26242c5ba89c57b79816699f15736adf008c48c8998fa2c5647f08f992d2656ab647216175e6b3251eb
@@ -1,20 +1,24 @@
1
1
  {%- comment -%}
2
2
  **Parameters
3
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.
4
+ header_collapse_text: Text to display on the collapse header. If not supplied the text 'Hide fields' will be used.
5
+ header_collapse_css: CSS class to apply to the text on the collapse header. If not supplied default style will be used.
6
+ header_expand_text: Text to display on the expand header. If not supplied the text 'Show fields' will be used.
7
+ header_expand_css: CSS class to apply to the text on the expand header. If not supplied default style will be used.
6
8
  accordion_id: Id of the accordion. If not supplied 'accordion-1' will be used.
7
9
  {%- endcomment -%}
8
10
 
9
11
  {% assign content = include.content | markdownify%}
10
12
  {% assign accordion_id = include.accordion_id | default: 'accordion-1' %}
11
- {% assign button_collapse_text = include.button_collapse_text | default: 'Hide fields' | markdownify%}
12
- {% assign button_expand_text = include.button_expand_text | default: 'Show fields' | markdownify%}
13
+ {% assign header_collapse_text = include.header_collapse_text | default: 'Hide fields'%}
14
+ {% assign header_collapse_css = include.header_collapse_css%}
15
+ {% assign header_expand_text = include.header_expand_text | default: 'Show fields'%}
16
+ {% assign header_expand_css = include.header_expand_css%}
13
17
 
14
18
  <div class="accordion">
15
19
  <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>
20
+ <span class="mr-3 show {{header_expand_css}}">{{header_expand_text}}</span>
21
+ <span class="mr-3 hide {{header_collapse_css}}">{{header_collapse_text}}</span>
18
22
  </button>
19
23
  <div class="accordion-body" id="{{accordion_id}}">
20
24
  {{ content }}
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '2.3.4'
7
+ '2.3.4.1'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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
4
+ version: 2.3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay