swedbank-pay-design-guide-jekyll-theme 2.7.6 → 2.7.8

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: c7ce62a3658584f5b6c751fb1108a5b4034f5b27458dd891d5c2e7b629b21f1e
4
- data.tar.gz: 8b7510cdce2b61ce27b342afb81f84115118a01fac3bc04f524131f254592d59
3
+ metadata.gz: a5976ddbe40011ad6bf176efc332d36a3c9e89c6ce3be05d1b882618db391e05
4
+ data.tar.gz: 9f35362932e11ead4cb95448320b126acfa0ceba4ed9cec4a2757de83dfeed06
5
5
  SHA512:
6
- metadata.gz: 0e7018451c91f31b9cf706a5d6681c5d649f6930b7a722f8e525d5d8829a8fe971789bdae65f8d3931a1a43fd18d084644a38730db2dad5844911707761329dc
7
- data.tar.gz: cfe73513d7ac66cb0dd8ae6ca6e4bbae2dc3c79ee5d3da82cb5e80eb64e0246830d3ee2d0505716b20a6fc0b1c488b544cadb7f53cf5529aacc14164b1b58d53
6
+ metadata.gz: 718b5ed6cef6cb81fada81975ed40728ede1c5be04f3d63316d592502bc95a201a7451e9778582ba863a3c2a65111b85af072cf456e5f6aac83d1addc0d81e30
7
+ data.tar.gz: e88cdb14e735f328f0225b353ddbf8e10db9aba6129025179f3aa0ef91f2ff1bde2489dd9c119c8c933123b369ec9eb68105276fd714f226a9bbcb0bb10a61dc
@@ -113,7 +113,6 @@
113
113
  </div>
114
114
  <script src="{{ design_guide_url }}/scripts/dg.js" global="true" autoload="true"></script>
115
115
  <script src="{{ '/assets/js/swedbank-pay-design-guide-theme.js' | relative_url }}"></script>
116
- <script src="{{ '/assets/js/cookie-consent.js' | relative_url }}"></script>
117
116
  {%- if site.google_analytics.tracking_id %}
118
117
  {% include google_analytics.html %}
119
118
  {%- endif %}
@@ -98,7 +98,7 @@ body {
98
98
  .api-item>summary::-webkit-details-marker{display:none}
99
99
 
100
100
  /* Expanderingsikon */
101
- .api-item[open]>summary i.chev{transform:rotate(45deg);color:#EE7023;}
101
+ .api-item[open]>summary i.chev{transform:rotate(45deg);}
102
102
 
103
103
  /* Field/Type/Req */
104
104
  .api-item .field{font-weight:550;display:inline-flex;align-items:center;gap:8px;min-width:0;position:relative}
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.7.6'
7
+ '2.7.8'
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.7.6
4
+ version: 2.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-17 00:00:00.000000000 Z
11
+ date: 2025-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -462,7 +462,6 @@ files:
462
462
  - assets/img/flag-dk.svg
463
463
  - assets/img/flag-no.svg
464
464
  - assets/img/flag-se.svg
465
- - assets/js/cookie-consent.js
466
465
  - assets/js/mermaid.min.js
467
466
  - assets/js/swedbank-pay-design-guide-theme.js
468
467
  - assets/puml-theme-swedbankpay.puml
@@ -1,55 +0,0 @@
1
- function OptanonWrapper() { }
2
-
3
- function activateClarity() {
4
- // Clarity script - do not change
5
- (function(c,l,a,r,i,t,y){
6
- c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
7
- t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
8
- y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
9
- })(window, document, "clarity", "script", "jd3awxna38");
10
- // End of Clarity script
11
- }
12
-
13
- function getCookie(name) {
14
- if (document.cookie.split(";").some((c) => c.trim().startsWith(name + "="))) {
15
- return document.cookie.split(";").find((c) => c.trim().startsWith(name + "="));
16
- }
17
- else {
18
- return false;
19
- }
20
- }
21
-
22
- function deleteCookie(name) {
23
- if (getCookie(name)) {
24
- document.cookie = name + "=;domain=.swedbankpay.com;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT";
25
- }
26
- }
27
-
28
- function inactivateClarityCookies() {
29
- deleteCookie("_clck");
30
- deleteCookie("_clsk");
31
- }
32
-
33
- window.addEventListener("DOMContentLoaded", (event) => {
34
- if (location.host === "developer.swedbankpay.com") {
35
- var script = document.createElement('script');
36
- script.src = 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js';
37
- script.type = "text/javascript";
38
- script.charset = "UTF-8";
39
- script.setAttribute("data-domain-script", "77c777e5-115a-4e3d-81ec-cc857a4ac846");
40
- document.body.appendChild(script);
41
- }
42
- else {
43
- document.cookie = "_clck=;domain=.swedbankpay.com;expires=Thu, 01 Jan 1970 00:00:01 GMT";
44
- document.cookie = "_clsk=;domain=.swedbankpay.com;expires=Thu, 01 Jan 1970 00:00:01 GMT";
45
- }
46
- });
47
-
48
- window.addEventListener("OneTrustGroupsUpdated", (event) => {
49
- if (event.detail && event.detail.indexOf("C0002") !== -1) {
50
- activateClarity();
51
- }
52
- else {
53
- inactivateClarityCookies();
54
- }
55
- });