pageflow-external-links 1.0.0 → 1.1.0

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
- SHA1:
3
- metadata.gz: 1e0bc1c4fdb39bcd64fc6a2883ffc849f43a1917
4
- data.tar.gz: 2a6e7b92e59ed94e903f16acd66138858444cb30
2
+ SHA256:
3
+ metadata.gz: 4f75b4b2726ea500696d20e4ff3827de2f731d3b774b37a284bf5daf71a4b6be
4
+ data.tar.gz: aa7bcf853f16d3758b006e6d6b84432fd91b3f4b395c1d70eb89df8ff89cbf91
5
5
  SHA512:
6
- metadata.gz: 4583bab56b46e989ea194ee8b4834acc5c0c3f4414587cbb206e2a6d7a7112b069f3b43c6b4d56512dcd4e226d7506d1016131b5aaec9f595e3e99347a120591
7
- data.tar.gz: ac8555e3d817050d2aea19aa8ff0e4a01fc6b3b45515a512db8bb9be72c8a203d6bba9837c2f8109754ea5afc07fb0fec8ece0335c563f88748b4d3de3f34f1f
6
+ metadata.gz: 6892fbee7f340777bc568e96268d38373fdf639624f0b791a509352f5dc4f804a3e0115caeadb1173b66b573ab8e7df913f290ca9ccb76ed27596d8fcd80fd5a
7
+ data.tar.gz: c6b62af792db07934d7d4816a2ce008a7f87d8152ded5fdc86c0a0ac1607bf47975bb5c205a7a23330d9602603e86e81f37555722c8cc3ecbae316b7e248b0c8
data/CHANGELOG.md CHANGED
@@ -1,39 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.0.0
3
+ ### Version 1.1.0
4
4
 
5
- 2017-08-11
5
+ 2018-12-10
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-external-links/compare/0-4-stable...v1.0.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-external-links/compare/1-0-stable...v1.1.0)
8
8
 
9
- ##### Breaking Changes
10
-
11
- - Page type registration is performed by plugin call now.
12
- ([#34](https://github.com/codevise/pageflow-external-links/pull/34))
13
-
14
- Ensure you register the plugin in your Pageflow initializer:
15
-
16
- config.plugin(Pageflow::ExternalLinks.plugin)
17
-
18
- Remove manual registration of page type:
19
-
20
- # Delete the following line
21
- config.page_types.register(Pageflow::ExternalLinks.page_type)
22
-
23
- - Require pageflow 12
24
- ([#33](https://github.com/codevise/pageflow-external-links/pull/33))
25
-
26
- ##### Minor Changes
27
-
28
- - Do not underline scroll arrows in ie
29
- ([#32](https://github.com/codevise/pageflow-external-links/pull/32))
30
- - Allow to use background video
31
- ([#31](https://github.com/codevise/pageflow-external-links/pull/31))
32
- - Mention legacy theme in readme
33
- ([#28](https://github.com/codevise/pageflow-external-links/pull/28))
34
- - Use the current syntax for registering
35
- ([#26](https://github.com/codevise/pageflow-external-links/pull/26))
9
+ - Right to left layout support
10
+ ([#36](https://github.com/codevise/pageflow-external-links/pull/36))
36
11
 
37
12
  See
38
- [0-4-stable branch](https://github.com/codevise/pageflow-external-links/blob/0-4-stable/CHANGELOG.md)
13
+ [1-0-stable branch](https://github.com/codevise/pageflow-external-links/blob/1-0-stable/CHANGELOG.md)
39
14
  for previous changes.
@@ -5,7 +5,7 @@
5
5
  .ext-links {
6
6
  pointer-events: all;
7
7
  position: relative;
8
- margin-left: -10px;
8
+ @include margin-start(-10px);
9
9
  @include transition(opacity 0.5s);
10
10
 
11
11
  .hideText & {
@@ -34,8 +34,6 @@
34
34
  text-decoration: none;
35
35
 
36
36
  &:before {
37
- content: "\f105";
38
- font-family: "FontAwesome";
39
37
  color: white;
40
38
  width: 100%;
41
39
  position: absolute;
@@ -66,19 +64,30 @@
66
64
  }
67
65
  }
68
66
 
69
- .arrow-back {
67
+ .arrow-forward {
68
+ @include float-end;
70
69
 
71
- &:before {
72
- content: "\f104";
70
+ @include dir-ltr {
71
+ @include fa-angle-right-icon;
72
+ }
73
+
74
+ @include dir-rtl {
75
+ @include fa-angle-left-icon;
73
76
  }
74
77
  }
75
- .arrow-forward {
76
- float: right;
78
+
79
+ .arrow-back {
80
+ @include dir-ltr {
81
+ @include fa-angle-left-icon;
82
+ }
83
+
84
+ @include dir-rtl {
85
+ @include fa-angle-right-icon;
86
+ }
77
87
  }
78
88
 
79
89
  #horizontal_scroller {
80
90
  position: absolute;
81
- text-align: center;
82
91
 
83
92
  .js & {
84
93
  white-space: nowrap;
@@ -102,7 +111,6 @@
102
111
  max-width: 250px;
103
112
  vertical-align: top;
104
113
  overflow: hidden;
105
- text-align: left;
106
114
  margin-right: 10px;
107
115
  @include transition(0.3s);
108
116
 
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ExternalLinks
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.1.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.x'
21
+ spec.add_runtime_dependency 'pageflow', '~> 12.2.x'
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-external-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 12.x
19
+ version: 12.2.x
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 12.x
26
+ version: 12.2.x
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pageflow-public-i18n
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.6.8
181
+ rubygems_version: 2.7.5
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Pageflow Page Type for links to external sites