swedbank-pay-design-guide-jekyll-theme 1.9.5 → 1.9.10

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: 566ba26f6230e74ab04ec6e8b2fb69c2c1a289b5ce565ef7c71ebbdec36288c7
4
- data.tar.gz: c4e5893779e945141756b3e96d9b35d9a1a038dd101c55987aaba0bf6a98dc90
3
+ metadata.gz: c7d5f966de16be74341de4adfe1ed4888f7e0705b7f6d09169408200efda4580
4
+ data.tar.gz: 57fcb8cac7b17474cc945459031a043da72e42564a2b0a8bb3a957c96fd4b582
5
5
  SHA512:
6
- metadata.gz: ac4010b99bb84102ed7c62af444a4bca86a8990a248251939fb71d2df5e2a770e6e4a4b4cf37613fa7b9f973867163e7813c5f0577cdaddc720dbc24b1a146e4
7
- data.tar.gz: 8b922ba6da23f09aa579ca1fc0db09e6b97507d29bb12a80a89fd70bacc4ac0fa148c4d836889d168dc9eba730b4f0be5511dff0be4a19578dca683e2f8a4357
6
+ metadata.gz: b18ef7554ae055ee5d2d9c13a536eb563e3bd8f64a18e4120e39f80c604c4aa03251ecd43e2f6cd71edb1b0e2bdc474df30404bb66933accebf34f332b9034d3
7
+ data.tar.gz: ff4e5be61df741d058260d5038960502e14ab9a708b6d51b48be1f9a15cf35143d2721de8bd7ed994ce968bea16195561bd3c5849ac813b2431e587274200841
@@ -3,7 +3,7 @@
3
3
  <a href="{{ site.github.repository_url }}/tree/{{ github_branch }}/{{ page.path }}"
4
4
  class="github" target="_blank"
5
5
  rel="noopener noreferrer" title="Edit '{{ page.title }}' on GitHub">
6
- <svg aria-labelledby="simpleicons-github-icon" role="img" width="50" viewBox="0 0 24 24"
6
+ <svg aria-labelledby="simpleicons-github-icon" role="img" width="40" viewBox="0 0 24 24"
7
7
  xmlns="http://www.w3.org/2000/svg">
8
8
  <title id="simpleicons-github-icon">Edit "{{ page.title }}" on GitHub</title>
9
9
  <path fill="#fff" d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
@@ -5,13 +5,13 @@
5
5
 
6
6
  <nav class="iterator d-flex">
7
7
  {% if prev_href != blank and prev_href != empty and prev_href != nil %}
8
- <a class="mr-auto btn btn-primary" role="button" rel="prev" href="{{ prev_href }}">
8
+ <a class="mr-auto btn btn-secondary" role="button" rel="prev" href="{{ prev_href }}">
9
9
  {{ prev_title }}
10
10
  </a>
11
11
  {% endif %}
12
12
 
13
13
  {% if next_href != blank and next_href != empty and next_href != nil %}
14
- <a class="ml-auto btn btn-primary" role="button" rel="next" href="{{ next_href }}">
14
+ <a class="ml-auto btn btn-secondary" role="button" rel="next" href="{{ next_href }}">
15
15
  {{ next_title }}
16
16
  </a>
17
17
  {% endif %}
@@ -12,7 +12,7 @@
12
12
  {%- assign description = page.opengraph.description | default: site.opengraph.description -%}
13
13
  {%- assign image = page.opengraph.image | default: site.opengraph.image -%}
14
14
  {%- assign design_guide_base_url = site.design_guide.base_url | default: 'https://design.swedbankpay.com' -%}
15
- {%- assign design_guide_version = site.design_guide.version | default: '4.8.1' -%}
15
+ {%- assign design_guide_version = site.design_guide.version | default: '5.0.1' -%}
16
16
  {%- assign design_guide_url = design_guide_base_url | append: '/v/' | append: design_guide_version -%}
17
17
  <!DOCTYPE html>
18
18
  <html lang="{{ site.lang | default: "en-US" }}">
@@ -80,9 +80,9 @@
80
80
  onblur="this.placeholder='Search in documentation'"
81
81
  pattern=".{3,}"
82
82
  title="At least 3 characters">
83
- <label for="search-input" class="mb-0">
83
+ <button class="mb-0">
84
84
  <i class="material-icons m-0" aria-hidden="true">search</i>
85
- </label>
85
+ </button>
86
86
  </form>
87
87
  {% endif %}
88
88
  <ul id="dx-sidebar-main-nav-ul" class="main-nav-ul">
@@ -83,6 +83,10 @@ $front-page-max-width: 1312px;
83
83
  color: $white;
84
84
  font-size: 1.125rem;
85
85
  }
86
+
87
+ a {
88
+ color: #43d0dd;
89
+ }
86
90
 
87
91
  .front-page-hero-name {
88
92
  font-family: $mono;
data/_sass/sidebar.scss CHANGED
@@ -58,6 +58,12 @@
58
58
  }
59
59
  }
60
60
 
61
+ button {
62
+ background-color: $white;
63
+ border: none;
64
+ cursor: pointer;
65
+ }
66
+
61
67
  }
62
68
 
63
69
  .main-nav-ul {
@@ -125,6 +125,15 @@ a[href ^='https://']:not([href *='{{ site.url }}']):after {
125
125
  }
126
126
 
127
127
  .documentation {
128
+ > div {
129
+ &.row {
130
+ margin-right: 0;
131
+ }
132
+ }
133
+
134
+ .doc-container {
135
+ max-width: 100%;
136
+ }
128
137
  code[data-processed='true'].language-mermaid {
129
138
  background: none;
130
139
  border: none;
@@ -34,6 +34,10 @@
34
34
  }
35
35
  a {
36
36
  color: #43d0dd;
37
+
38
+ ::after {
39
+ content: url(../img/external-url-dark-bg.svg);
40
+ }
37
41
  }
38
42
  }
39
43
 
@@ -0,0 +1 @@
1
+ <svg style="fill: #43d0dd; stroke: #43d0dd" enable-background="new 0 0 17 17" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m17 0v7l-2.8-2.8-8.2 8.2-1.4-1.4 8.2-8.2-2.8-2.8zm-3 17h-14v-14h8v2h-6v10h10v-6h2z" fill-rule="evenodd"/></svg>
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
- '1.9.5'
7
+ '1.9.10'
8
8
  end
9
9
  end
10
10
  end
data/lib/sidebar_page.rb CHANGED
@@ -56,6 +56,11 @@ module SwedbankPay
56
56
  end
57
57
 
58
58
  def hidden_for?(other_page)
59
+ if @jekyll_page.data['layout'] == 'search'
60
+ # Never show the search result page in the menu.
61
+ return true
62
+ end
63
+
59
64
  # The current page should be hidden for the other page unless the
60
65
  # other page is also hidden.
61
66
  hidden = hidden?
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: 1.9.5
4
+ version: 1.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -266,6 +266,7 @@ files:
266
266
  - assets/img/demoshop-mobile2.svg
267
267
  - assets/img/demoshop-web.svg
268
268
  - assets/img/demoshop.svg
269
+ - assets/img/external-url-dark-bg.svg
269
270
  - assets/img/external-url.svg
270
271
  - assets/js/mermaid.min.js
271
272
  - assets/js/swedbank-pay-design-guide-theme.js