pageflow-progress-navigation-bar 1.1.0 → 1.2.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: 2211c725fc377e1c74bf90f3585b536fd53ddbd1405fd2015fd7573dadf0c435
4
- data.tar.gz: 152b008820f8363bd824a77c56755a621e5a6b56efff6d576ca1c77373408ad2
3
+ metadata.gz: bc3ada5ee1ebf8e36e163d8f415f1f43db7e4c1fe622b2e88444dfe076faaf88
4
+ data.tar.gz: 761f973c0b17e09bdb8525c533af54b7d6ea932737465f16ff4c139da7a0ed28
5
5
  SHA512:
6
- metadata.gz: 2fb9dcb7d575f426c8ee0142946e0ee2a8f33328a8fae65a455ed4effcb05734e6ddbd3bccc630dd80e45e7e155e12e829c1f3cc7e9bd6a3c308a1901e91db9e
7
- data.tar.gz: be3ac84d62a5919a7d43f016ef7a43f0907cae11d1c2f38fb0e8bc9594619314125ad760873d5bb73ef2ea1b2e6c779c00310d29618672f636ba8dd094a6a3a4
6
+ metadata.gz: c3f74b6a6fedb9d6895e5975ce36c848f982fd45668e8680827f81f5e150ec21b037577a0980fa22fe7b57c640347d0ad099983c4eaf7f36ed2fd98ef54fbedb
7
+ data.tar.gz: 836438dc00c023d1086fed00509772d0f9be5cba2067706a523a3524c4f15d4757176f4843bb2b28bb0e7dced76f6f79014b824e4750325fdc4092a998dcce2e
@@ -1,27 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.1.0
3
+ ### Version 1.2.0
4
4
 
5
- 2018-12-10
5
+ 2019-02-08
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-0-stable...v1.1.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-1-stable...v1.2.0)
8
8
 
9
- - Add support for Pageflow 13
10
- ([#31](https://github.com/codevise/pageflow-progress-navigation-bar/pull/31))
11
- - Use pageflow.navigationDirection on mobile
12
- ([#33](https://github.com/codevise/pageflow-progress-navigation-bar/pull/33),
13
- [#34](https://github.com/codevise/pageflow-progress-navigation-bar/pull/34))
14
- - Add horizontal mobile variant
15
- ([#32](https://github.com/codevise/pageflow-progress-navigation-bar/pull/32))
16
- - Right to left layout support
17
- ([#28](https://github.com/codevise/pageflow-progress-navigation-bar/pull/28))
18
- - Chapter indicator color options
19
- ([#30](https://github.com/codevise/pageflow-progress-navigation-bar/pull/30))
20
- - Make widget-icon-font-options apply to buttons
21
- ([#36](https://github.com/codevise/pageflow-progress-navigation-bar/pull/36))
22
- - Fix position of unmute button in mobile variant
23
- ([#35](https://github.com/codevise/pageflow-progress-navigation-bar/pull/35))
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))
24
12
 
25
13
  See
26
- [1-0-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-0-stable/CHANGELOG.md)
14
+ [1-1-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-1-stable/CHANGELOG.md)
27
15
  for previous changes.
@@ -160,6 +160,8 @@
160
160
  pageLinks.each(function(index) {
161
161
  var handlerIn = function() {
162
162
  if (!('ontouchstart' in document.documentElement)) {
163
+ overlays.loadLazyImages();
164
+
163
165
  if (that.element.hasClass('horizontal')) {
164
166
  var offset = 204;
165
167
  var left = $(this).offset().left;
@@ -10,6 +10,8 @@
10
10
  <hr />
11
11
  <% end %>
12
12
  <%= page.title %>
13
- <div class="thumbnail is_<%= page.template %>" style="background-image: url('<%= asset_path(page.thumbnail_url(:navigation_thumbnail_large)) %>')"></div>
13
+ <div class="thumbnail is_<%= page.template %>">
14
+ <%= image_tag('', data: {src: asset_path(page.thumbnail_url(:navigation_thumbnail_large))}) %>
15
+ </div>
14
16
  </div>
15
17
  <% end %>
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ProgressNavigationBar
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.2.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.2.x', '< 14']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 12.5.x', '< 14']
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.1.0
4
+ version: 1.2.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: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2019-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 12.2.x
19
+ version: 12.5.x
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '14'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 12.2.x
29
+ version: 12.5.x
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '14'