pageflow-progress-navigation-bar 1.2.0 → 1.3.0

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: bc3ada5ee1ebf8e36e163d8f415f1f43db7e4c1fe622b2e88444dfe076faaf88
4
- data.tar.gz: 761f973c0b17e09bdb8525c533af54b7d6ea932737465f16ff4c139da7a0ed28
3
+ metadata.gz: 2c0479b2d9f253760aa98f5f1c23cc6b530da3814b783c48cf7b29a3e0f2c39c
4
+ data.tar.gz: 984860f9030aec3cb9512f6c065abcb5e7ab1b4f2f400fd121b1b79aa5d5118b
5
5
  SHA512:
6
- metadata.gz: c3f74b6a6fedb9d6895e5975ce36c848f982fd45668e8680827f81f5e150ec21b037577a0980fa22fe7b57c640347d0ad099983c4eaf7f36ed2fd98ef54fbedb
7
- data.tar.gz: 836438dc00c023d1086fed00509772d0f9be5cba2067706a523a3524c4f15d4757176f4843bb2b28bb0e7dced76f6f79014b824e4750325fdc4092a998dcce2e
6
+ metadata.gz: 7ffb04b92f1a5c4affb2ed1e4ce0637c5d7ca837249d7b98d749aa4a51ddefcb2633cb67d50314388a58b65052edcd843184c46fe2be1295add45a00e47e5181
7
+ data.tar.gz: 099db6862d644e62d49c31286660dbf6297d2efaffa3c5ebc5a0bad5ffb0e33bf3d2f0faeb4d952ed3e439e15f5039d7aea493736890ab4db061b140c475f746
@@ -1,15 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.2.0
3
+ ### Version 1.3.0
4
4
 
5
- 2019-02-08
5
+ 2019-04-08
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-1-stable...v1.2.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-2-stable...v1.3.0)
8
8
 
9
- - Prevent loading of invisible thumbnails before load event
10
- ([#37](https://github.com/codevise/pageflow-progress-navigation-bar/pull/37),
11
- [#38](https://github.com/codevise/pageflow-progress-navigation-bar/pull/38))
9
+ - Remove redundant chapter headers from document outline
10
+ ([#40](https://github.com/codevise/pageflow-progress-navigation-bar/pull/40))
11
+ - Include text in navigation bar links
12
+ ([#39](https://github.com/codevise/pageflow-progress-navigation-bar/pull/39))
12
13
 
13
14
  See
14
- [1-1-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-1-stable/CHANGELOG.md)
15
+ [1-2-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-2-stable/CHANGELOG.md)
15
16
  for previous changes.
@@ -256,6 +256,7 @@ $progressbar-mobile-width: 14px;
256
256
  .navigation_dots a {
257
257
  position: relative;
258
258
  outline: none;
259
+ @include hide-text;
259
260
 
260
261
  &:focus:after {
261
262
  content: " ";
@@ -551,7 +552,7 @@ $progressbar-mobile-width: 14px;
551
552
  }
552
553
  }
553
554
 
554
- .navigation_site_detail.progress_navigation h2 {
555
+ .navigation_site_detail.progress_navigation .chapter {
555
556
  > span {
556
557
  display: block;
557
558
  }
@@ -42,11 +42,12 @@ $progress-navigation-bar-credits-box-typography: () !default;
42
42
  )
43
43
  );
44
44
 
45
- h2 {
45
+ .chapter {
46
46
  @include typography(
47
47
  $progress-navigation-bar-chapter-header-typography,
48
48
  (
49
49
  font-size: 1em,
50
+ font-weight: bold,
50
51
  line-height: 1.2em,
51
52
  margin: 0
52
53
  )
@@ -1,12 +1,13 @@
1
1
  <%= content_tag(:li, :class => page_navigation_css_class(page)) do %>
2
2
  <%= link_to "##{page.perma_id}", :data => {:link => page.id, :chapter_id => page.chapter_id} do %>
3
+ <%= page.title %>
3
4
  <% end %>
4
5
  <div class="navigation_site_detail progress_navigation">
5
6
  <% if chapters_count > 1 %>
6
- <h2>
7
+ <div class="chapter">
7
8
  <span class="chapter_number"><%= "#{I18n.t('pageflow.public.chapter')} #{page.chapter.position + 1}" %></span>
8
9
  <span class="chapter_title"><%= page.chapter.title %></span>
9
- </h2>
10
+ </div>
10
11
  <hr />
11
12
  <% end %>
12
13
  <%= page.title %>
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ProgressNavigationBar
3
- VERSION = '1.2.0'.freeze
3
+ VERSION = '1.3.0'.freeze
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.required_ruby_version = '~> 2.1'
20
20
 
21
- spec.add_runtime_dependency 'pageflow', ['>= 12.5.x', '< 14']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 12.5.x', '< 15']
22
22
  spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-progress-navigation-bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-08 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 12.5.x
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '14'
22
+ version: '15'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 12.5.x
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '14'
32
+ version: '15'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pageflow-public-i18n
35
35
  requirement: !ruby/object:Gem::Requirement