pageflow-timeline-page 1.0.0 → 1.1.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
- SHA1:
3
- metadata.gz: 2848f2a0f987663b262d60a8fc663c82a903fd38
4
- data.tar.gz: 12377cf7fd34b7ec25842ec1c64cc5d40fcf8f47
2
+ SHA256:
3
+ metadata.gz: 085dd5b10c256dec2256d3bea939ecc620cdeaca9370b5a38d9fc040b107dcc6
4
+ data.tar.gz: e4b2e2d9e20ae6b85b1aa48754d8bb97bfc56fe8a9e91ece21497db7ed951930
5
5
  SHA512:
6
- metadata.gz: 512ee499dd9f374f1a34e6e2d64ce58f2d4bc32dd5759190d2d46ee0b3fe4a4db132af8c7878b12a9f6ac68ad7ba4c2e076b80bf95a67fc85973ee7894986a5e
7
- data.tar.gz: d84deb9445349946b5283e1b38c6a5bb47fd185272df4496d3da3cf97c483137e2dac2eac885313c4ae04f26e6b2795b860522201972cecf1fc7b929385c1a38
6
+ metadata.gz: 105e0ee76ab38787083e502e3d1d27431b62b2789aaab1573539bef40b2155fcf35d23d883643bdfea76e8628de763fa269d72e451847a9ba25e7a657451f84d
7
+ data.tar.gz: a2d9435982b6698c34e0a80e0f33b5d5a0248879bc3dc37fbf218e8bb1d22b1782726b4516f8e3b05a46a2f121548ea6c3fd9c41a0caa22222f50b814c5de7f1
@@ -1,18 +1,18 @@
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-timeline-page/compare/0-1-stable...v1.0.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-timeline-page/compare/1-0-stable...v1.1.0)
8
8
 
9
- - Rewrite dragging/measuring logic
10
- ([#8](https://github.com/codevise/pageflow-timeline-page/pull/8))
11
- - Require pageflow 12
12
- ([#7](https://github.com/codevise/pageflow-timeline-page/pull/7))
13
- - Allow to use background video
14
- ([#5](https://github.com/codevise/pageflow-timeline-page/pull/5))
9
+ - Add support for Pageflow 13
10
+ ([#9](https://github.com/codevise/pageflow-timeline-page/pull/9))
11
+ - Disable image positioning for custom link thumbnail
12
+ ([#11](https://github.com/codevise/pageflow-timeline-page/pull/11))
13
+ - Theme variables for image captions
14
+ ([#10](https://github.com/codevise/pageflow-timeline-page/pull/10))
15
15
 
16
16
  See
17
- [0-1-stable branch](https://github.com/codevise/pageflow-timeline-page/blob/0-1-stable/CHANGELOG.md)
17
+ [1-0-stable branch](https://github.com/codevise/pageflow-timeline-page/blob/1-0-stable/CHANGELOG.md)
18
18
  for previous changes.
@@ -47,6 +47,7 @@ pageflow.editor.pageTypes.register('timeline_page', {
47
47
  this.group('page_link');
48
48
 
49
49
  this.input('thumbnail_image_id', pageflow.FileInputView, {
50
+ positioning: false,
50
51
  collection: 'image_files',
51
52
  fileSelectionHandler: 'pageLink'
52
53
  });
@@ -16,6 +16,12 @@ $timeline-item-tagline-typography: () !default;
16
16
 
17
17
  $timeline-item-hover-scale: 1.02 !default;
18
18
 
19
+ $timeline-item-inverted-background-color: null !default;
20
+
21
+ $timeline-item-inverted-text-color: null !default;
22
+
23
+ $timeline-item-caption-padding: 7px 10px !default;
24
+
19
25
  .timeline {
20
26
  @mixin ensure-anti-alias-for-webkit-during-transition {
21
27
  -webkit-backface-visibility: hidden;
@@ -24,7 +30,7 @@ $timeline-item-hover-scale: 1.02 !default;
24
30
  .timeline_item a {
25
31
  background-color: $timeline-item-background-color;
26
32
  color: $timeline-item-text-color;
27
- padding: $timeline-item-background-color;
33
+ padding: $timeline-item-padding;
28
34
  @include transition(transform 0.3s);
29
35
  @include ensure-anti-alias-for-webkit-during-transition;
30
36
 
@@ -35,9 +41,16 @@ $timeline-item-hover-scale: 1.02 !default;
35
41
  @include transform(scale(1));
36
42
  }
37
43
  }
44
+
45
+ .invert & {
46
+ background-color: $timeline-item-inverted-background-color;
47
+ color: $timeline-item-inverted-text-color;
48
+ }
38
49
  }
39
50
 
51
+
40
52
  .timeline_item-caption {
53
+ padding: $timeline-item-caption-padding;
41
54
  @include typography(
42
55
  $timeline-item-typography,
43
56
  (
@@ -110,10 +110,6 @@
110
110
  }
111
111
  }
112
112
 
113
- .timeline_item-caption {
114
- padding: 7px 10px;
115
- }
116
-
117
113
  .timeline_item-tagline {
118
114
  display: block;
119
115
  }
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module TimelinePage
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.1.0'.freeze
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.required_ruby_version = '~> 2.1'
19
19
 
20
- spec.add_dependency 'pageflow', ['>= 12.0.0.rc6', '< 13']
20
+ spec.add_dependency 'pageflow', ['>= 12.0.0.rc6', '< 14']
21
21
 
22
22
  spec.add_development_dependency 'bundler', '~> 1.0'
23
23
  spec.add_development_dependency 'rake', '~> 12.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-timeline-page
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
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 12.0.0.rc6
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '13'
22
+ version: '14'
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.0.0.rc6
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '13'
32
+ version: '14'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.6.8
136
+ rubygems_version: 2.7.5
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Pageflow page type for links ordered as timeline.