pageflow-progress-navigation-bar 1.6.0 → 1.7.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: 2c30fe675b58449f5d09961e1d54c07894216f0b4641d3ccb42b20b2edd7b5a7
4
- data.tar.gz: 146776cb3d1169f1329e3d05921c548bc0db9a2653b5e90d1bf6d5d46e52421c
3
+ metadata.gz: cf06426b17ba444d42299f2943c94c7c75984c68e00a9a98401ca4df592036d2
4
+ data.tar.gz: 21ca0c8f998db2699389c30a40a1743764b8d7241f7166335c2c85d52e37fd35
5
5
  SHA512:
6
- metadata.gz: 923a48dcd847238e6bb8e0d968406456b1296424459abe8d25682e6fa9acd2f864af9a9b8d47a3fcfa02cfab08c71c2d2150c91c6327fdff3c60e3bcf56fe5f4
7
- data.tar.gz: 149e3a4f2803c04a972b042cd65fc5deeea7f3720cffd7ffc3ab2c8cb5929a29c002b6b6b5816f8bd0277879e1c76b226ea067cba9b3cfebb25b153cf65de40a
6
+ metadata.gz: 6642b276844f2840532a6798e96a2ccf69670443bf7911cd77c99059e4127e7861bb92c39f429d18b8273b87123153dd0b842a20bab12c97f69f496eb7367edc
7
+ data.tar.gz: 36c3a96f76318fb727ce9cd2935d1e6bd3b126b316ec11f9a8c20c74f9b7e143720da5f41a35307fb6d0d2ffc5f6f842c26aa8acb6ec2ee8fb1af4ae28d67c03
data/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.6.0
3
+ ### Version 1.7.0
4
4
 
5
- 2019-11-04
5
+ 2021-06-07
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-5-stable...v1.6.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-progress-navigation-bar/compare/1-6-stable...v1.7.0)
8
8
 
9
- - Adjust page partial to new page_helper-syntax
10
- ([#46](https://github.com/codevise/pageflow-progress-navigation-bar/pull/46))
9
+ - Add theme option to use custom indicator image
10
+ ([#47](https://github.com/codevise/pageflow-progress-navigation-bar/pull/47))
11
11
 
12
12
  See
13
- [1-5-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-5-stable/CHANGELOG.md)
13
+ [1-6-stable branch](https://github.com/codevise/pageflow-progress-navigation-bar/blob/1-6-stable/CHANGELOG.md)
14
14
  for previous changes.
@@ -65,7 +65,6 @@ $progressbar-mobile-width: 14px;
65
65
  display: block;
66
66
  width: 28px;
67
67
  height: 28px;
68
- background-image: image-url('pageflow/progress_navigation_bar/indicator.png');
69
68
  position: absolute;
70
69
  right: 60px;
71
70
  @include transition(opacity 0.3s linear);
@@ -48,6 +48,7 @@ $nav-bg-color-transparent: $basic-background-color-transparent;
48
48
  @import "./default/credits";
49
49
  @import "./default/icons/icon_font";
50
50
  @import "./default/icons/sprite";
51
+ @import "./default/indicator";
51
52
  @import "./default/menu_boxes";
52
53
  @import "./default/typography";
53
54
 
@@ -0,0 +1,16 @@
1
+ /// Images to use as indicator to expand navigation bar.
2
+ ///
3
+ /// Possible values:
4
+ ///
5
+ /// - `"default"`: Use default image.
6
+ /// - `"custom"`: Use `progress_navigation_bar/indicator.png` from
7
+ /// current theme directory.
8
+ $progress-navigation-bar-indicator-image: "default" !default;
9
+
10
+ &::before {
11
+ @if $progress-navigation-bar-indicator-image == "custom" {
12
+ background-image: image-url("pageflow/themes/#{$theme-name}/progress_navigation_bar/indicator.png");
13
+ } @else {
14
+ background-image: image-url("pageflow/progress_navigation_bar/indicator.png");
15
+ }
16
+ }
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ProgressNavigationBar
3
- VERSION = '1.6.0'.freeze
3
+ VERSION = '1.7.0'.freeze
4
4
  end
5
5
  end
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.6.0
4
+ version: 1.7.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-04 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -115,6 +115,7 @@ files:
115
115
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/credits.scss
116
116
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/icons/icon_font.scss
117
117
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/icons/sprite.scss
118
+ - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/indicator.scss
118
119
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/menu_boxes.scss
119
120
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/typography.scss
120
121
  - app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/widget_margin.scss
@@ -153,8 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
154
  - !ruby/object:Gem::Version
154
155
  version: '0'
155
156
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.7.5
157
+ rubygems_version: 3.0.8
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Pageflow navigation widget.