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 +4 -4
- data/CHANGELOG.md +8 -7
- data/app/assets/stylesheets/pageflow/progress_navigation_bar.scss +2 -1
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/typography.scss +2 -1
- data/app/views/pageflow/progress_navigation_bar/widget/_page.html.erb +3 -2
- data/lib/pageflow/progress_navigation_bar/version.rb +1 -1
- data/pageflow-progress-navigation-bar.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c0479b2d9f253760aa98f5f1c23cc6b530da3814b783c48cf7b29a3e0f2c39c
|
4
|
+
data.tar.gz: 984860f9030aec3cb9512f6c065abcb5e7ab1b4f2f400fd121b1b79aa5d5118b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ffb04b92f1a5c4affb2ed1e4ce0637c5d7ca837249d7b98d749aa4a51ddefcb2633cb67d50314388a58b65052edcd843184c46fe2be1295add45a00e47e5181
|
7
|
+
data.tar.gz: 099db6862d644e62d49c31286660dbf6297d2efaffa3c5ebc5a0bad5ffb0e33bf3d2f0faeb4d952ed3e439e15f5039d7aea493736890ab4db061b140c475f746
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version 1.
|
3
|
+
### Version 1.3.0
|
4
4
|
|
5
|
-
2019-
|
5
|
+
2019-04-08
|
6
6
|
|
7
|
-
[Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-2-stable...v1.3.0)
|
8
8
|
|
9
|
-
-
|
10
|
-
([#
|
11
|
-
|
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-
|
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
|
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
|
-
|
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
|
-
<
|
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
|
-
</
|
10
|
+
</div>
|
10
11
|
<hr />
|
11
12
|
<% end %>
|
12
13
|
<%= page.title %>
|
@@ -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', '<
|
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.
|
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-
|
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: '
|
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: '
|
32
|
+
version: '15'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pageflow-public-i18n
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|