swedbank-pay-design-guide-jekyll-theme 2.6.7 → 2.7.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: 54dc6dfb64184de3b5c512b78bd4aebca90c0becc25933634161b951ae88eb11
4
- data.tar.gz: 1fb99ccff6b95f596ea4fe2da0a3e56e8c4bdd77c5acd81d4568cddc25da0710
3
+ metadata.gz: 6683303afa3419988b4e61e439911a3f17843fabf44a8791c6020ed9b27ccafb
4
+ data.tar.gz: 7637905c84ffc789c930849672a72d9aaaed2e118a49e2f0d2610dd536b77ca6
5
5
  SHA512:
6
- metadata.gz: 5dff26b7f8a6cdcfad62640db1bcef0497c7e13e8b905d3331aafed5c72c76f3fa588f049e8f92c8fa3610318971f5337d4cd484d9d7720746e876b86a01e850
7
- data.tar.gz: b72fb7aac1854e758f45c5c276f157fa56229355af41748b5869351dcbaa466ab843e5d260f04853e7fe066993e10a39f439a79c92ad17c612f9b56ca932eaf8
6
+ metadata.gz: 7659be7856c91caa1f5f2661a53a9b87d03281f71283f92b97a6e2e1224b02b5afec1bac8dd9259606f56a6434964e6bf47e16ed6dd7c4506f539f6930952215
7
+ data.tar.gz: 9fce141838f170d4bcfb82f650279057e00b44c5652091b71bc7e95abedabebe775411d649bfdbe5bc8406567e9f462e1885628c54f0f7cb91272d94d4df0a00
@@ -87,6 +87,63 @@ body {
87
87
  // }
88
88
  // }
89
89
 
90
+ /** API object detailed table styles **/
91
+ /* Container */
92
+ .api-compact{border:1px solid #e5e7eb;border-radius:4px;overflow:hidden;background:#fff;font-size:.95rem;margin-bottom: 1rem;}
93
+ .api-compact .header{display:grid;grid-template-columns:1fr 74px 68px;gap:12px;padding:10px 14px;font-weight:600;border-bottom:1px solid #e5e7eb}
94
+
95
+ /* Item */
96
+ .api-item{position:relative}
97
+ .api-item>summary{list-style:none;display:grid;grid-template-columns:1fr 80px 70px;gap:12px;align-items:start;padding:10px 14px;cursor:pointer}
98
+ .api-item>summary::-webkit-details-marker{display:none}
99
+
100
+ /* Chevron (expanderingsikon) */
101
+ .api-item>summary .chev{display:inline-block;width:1em;margin-right:6px;transition:transform .2s ease;transform-origin:50% 50%}
102
+ .api-item[open]>summary .chev{transform:rotate(90deg)}
103
+
104
+ /* Field/Type/Req */
105
+ .api-item .field{font-weight:600;display:inline-flex;align-items:center;gap:8px;min-width:0;position:relative}
106
+ .api-item .field code{border-radius:6px;border: 1px solid #fdc129;}
107
+ .api-item .type code{font-size:.9em;background:#f6f8fa;padding:2px 6px;border-radius:6px;}
108
+ .field-level::before {
109
+ font-family: "Akkurat Mono", monospace;
110
+ color: #fdc129;
111
+ content: "╰─╼";
112
+ }
113
+ .field-level-0::before {
114
+ content: "";
115
+ }
116
+ .api-item .req{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
117
+ .api-item .desc{padding:0 14px 16px 38px}
118
+
119
+ /* Indrag (summary) – inga vänsterkanter, endast spacing */
120
+ .api-item[data-level="0"]>summary .field{padding-left:0}
121
+ .api-item[data-level="1"]>summary .field{padding-left:14px}
122
+ .api-item[data-level="2"]>summary .field{padding-left:32px}
123
+ .api-item[data-level="3"]>summary .field{padding-left:50px}
124
+
125
+ /* Description – nivå (level+1) med kort lokal linje (valfritt: ta bort border-left om du vill noll linjer) */
126
+ .indent-1{margin-left:12px;}
127
+ .indent-2{margin-left:22px;}
128
+ .indent-3{margin-left:38px;}
129
+ .indent-4{margin-left:50px;}
130
+
131
+ /* Hover/fokus */
132
+ .api-item:hover>summary,.api-item:hover .desc,.api-item:focus-within>summary,.api-item:focus-within .desc{background:#fafafa}
133
+
134
+ /* Children wrapper */
135
+ .api-children{padding-left:0;margin:6px 0 10px 0}
136
+ .api-children .api-item{border-bottom:none}
137
+
138
+ /* Mobil */
139
+ @media (max-width:640px){
140
+ .api-compact .header{display:none}
141
+ .api-item>summary{grid-template-columns:1fr;gap:6px}
142
+ .api-item .type,.api-item .req{opacity:.85;font-weight:500;justify-content:flex-start}
143
+ }
144
+ /** API object detailed table styles - END **/
145
+
146
+
90
147
  #designguide .designguide-header .topbar-info a {
91
148
  margin-left: 5px;
92
149
  color: rgba(34, 34, 34, .75);
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.6.7'
7
+ '2.7.1'
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.6.7
4
+ version: 2.7.1
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-09-08 00:00:00.000000000 Z
11
+ date: 2025-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday