swedbank-pay-design-guide-jekyll-theme 2.2.2 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c9edb790d2b95aa747c43b475ca512883458285565f1c502a460130b73da958
4
- data.tar.gz: 0cbe8e2ea1640b9d35589c9a321c03ece463ca30d0e7faf901ec67cade0ee7d8
3
+ metadata.gz: 378546664849ab4b6497dea65d06667df9bc30810e96108d19cde734682a58c9
4
+ data.tar.gz: 3fdfbd421ae364023b9be8a3bd545edec50ea601ffbf1f24989e10c97e511c7f
5
5
  SHA512:
6
- metadata.gz: 289d79c416db7d7d084894cd3f6ec0dd443599c20d81c8e36f28350441d3f1138030b5c72e3f8574926031b8f00eef71431277d92d66e644a9312f1eac6558d8
7
- data.tar.gz: e30133b04a0305fadfcf94a95b00f7a07735a3ea8e87304683cfd99045b268193f559ca021448e618e00eee31c40661e86388fa3e65f27c3490e270f899ec108
6
+ metadata.gz: 73d4b6360dbc8374525cb1135d95824dfa8809b1b0dddd1c939df6742491e3a5605f9629da3750c4af9ff5e3f54c0ccf335e74028e98a138b5abc6df3353b2d2
7
+ data.tar.gz: 4c84c7920ae04f5fa6bb9b720aad9873c48e4bbc0e5aeba46c4b1de913340c1fd01802d84cf93bc5c1b9ded6cf1e7ed14ce1d2813605f66025bbcca785639a86
@@ -7,14 +7,17 @@ json: json content
7
7
 
8
8
  <p class="code-view-header">
9
9
  {{ include.title}}
10
- <button class="code-view-copy" aria-label="Copy content to clipboard" value='{{include.json}}' onclick='javascript:navigator.clipboard.writeText(this.value)'>
11
- copy json
12
- </button>
10
+ {% if include.json %}
11
+ <button aria-describedby="tooltipCopy" class="code-view-copy tooltip" aria-label="Copy json to clipboard" value='{{include.json}}' onclick='javascript:navigator.clipboard.writeText(this.value)'><i class="at-clipboard small" aria-hidden="true"></i><div role="tooltip">Copy json to clipboard</div></button>
12
+ {% endif %}
13
13
  </p>
14
+ {% if include.header %}
14
15
  ````http
15
16
  {{include.header}}
16
17
  ````
17
-
18
+ {% endif %}
19
+ {% if include.json %}
18
20
  ````jsonc
19
21
  {{include.json}}
20
- ````
22
+ ````
23
+ {% endif %}
data/_sass/code-view.scss CHANGED
@@ -52,6 +52,10 @@
52
52
 
53
53
  .code-view-table {
54
54
  border-radius: 0px;
55
+
56
+ pre {
57
+ margin-bottom: 0;
58
+ }
55
59
  }
56
60
  }
57
61
  }
@@ -1,7 +1,7 @@
1
1
  .highlight .hll { background-color: #ffffcc }
2
2
  .highlight { background: #ffffff; }
3
3
  .highlight .c { color: #aaaaaa; font-style: italic } /* Comment */
4
- .highlight .err { color: #E7F8D2; } /* Error */
4
+ .highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
5
5
  .highlight .k { color: #0000aa } /* Keyword */
6
6
  .highlight .ch { color: #aaaaaa; font-style: italic } /* Comment.Hashbang */
7
7
  .highlight .cm { color: #aaaaaa; font-style: italic } /* Comment.Multiline */
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.2.2'
7
+ '2.2.4'
8
8
  end
9
9
  end
10
10
  end
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.2.2
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-02 00:00:00.000000000 Z
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday