card-mod-bar_and_box 0.13.1 → 0.14.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: b058dd2b70ddd9b35828a77a579bf132aaa48d8691ba189fb27d67a7e1e073d4
4
- data.tar.gz: 2ae94f99393a451950d6089faaf8abf3186be9a04c77621648a53c2b5d8dc6ba
3
+ metadata.gz: 312c661f073d82b7c745793fab62f49dd1a6b431cbd018179200ccd6695e21f3
4
+ data.tar.gz: e4a065c177b5effb1f7a7ab1636c26dc8fe3a3cee6371e6a7f74f5631ea887c3
5
5
  SHA512:
6
- metadata.gz: 0f7b6e5ed9acc2b1cc54aa74404ab4115816f313fa4167c2691cd94818280cd718d4d55974f953a2f6337f50dfdb285f72d4adb18671cc70415cd54f03b5dd9e
7
- data.tar.gz: f4bbd560aa499fb5c47d0565de0066d851f7e31fd622d0544f4a6d6c90d11d5749c4e419853ce968ccc6e133660e24a62043eef8eebc96261a2ea643032d3478
6
+ metadata.gz: 7237a940897a50476d1a7a1e8e89d0a94dc413923057141331e8eb37865ffc32eb84cf5a4a6a040d81916e9ba20d01b11db0b11fd8164cca8b803ca2a4b8996a
7
+ data.tar.gz: 45e6e2eb97d8ea18d013d980cd4787dcc161d13040fe171f89b3252a08505ea94c57af43f67a557026cb4c709cd305f9159f3a71bd6fefbdf5c0878d0516f63b
data/set/all/bar.haml CHANGED
@@ -1,4 +1,4 @@
1
- .collapsed-bar.nodblclick{ class: classy("bar") }
1
+ .collapsed-bar.nodblclick{ class: classy("bar"), data: wrap_data(false) }
2
2
  %div{ class: classy("bar-body") }
3
3
  - if voo.show? :bar_left
4
4
  %div{ class: classy("bar-left") }
data/set/all/bar.rb CHANGED
@@ -8,16 +8,18 @@ format :html do
8
8
 
9
9
  before :bar do
10
10
  class_up "bar", card.safe_set_keys
11
- voo.hide! :bar_collapse_link
12
- voo.hide :edit_link, :full_page_link, :bridge_link
13
11
  end
14
12
 
15
13
  view :bar, unknown: :unknown_bar do
16
14
  voo.hide :bar_middle
17
- voo.hide :bar_bottom # needed for toggle
18
15
  class_up_bar_sides(voo.show?(:bar_middle))
19
16
  # NOTE: above cannot be in `before`, because before blocks run before viz processing
20
- wrap { haml :bar }
17
+ wrap do
18
+ voo.hide! :bar_collapse_link
19
+ voo.hide :edit_link, :full_page_link, :bridge_link
20
+ voo.hide :bar_bottom # needed for toggle
21
+ haml :bar
22
+ end
21
23
  end
22
24
 
23
25
  bar_cols 9, 3
@@ -30,12 +32,14 @@ format :html do
30
32
 
31
33
  before :expanded_bar do
32
34
  class_up "bar", card.safe_set_keys
33
- voo.hide! :bar_expand_link
34
35
  end
35
36
 
36
37
  view :expanded_bar do
37
38
  class_up_bar_sides(false)
38
- wrap { haml :expanded_bar }
39
+ wrap do
40
+ voo.hide! :bar_expand_link
41
+ haml :expanded_bar
42
+ end
39
43
  end
40
44
 
41
45
  def class_up_bar_sides middle
data/set/all/box.haml CHANGED
@@ -1,5 +1,5 @@
1
1
  - box_classes = css_classes classy("box"), card.safe_set_keys
2
- .card.p-0.drop-shadow.rounded-0.mb-4.nodblclick{class: box_classes}
2
+ .card.nodblclick{ class: box_classes, data: wrap_data(false) }
3
3
  - if voo.show? :box_top
4
4
  .card-header.text-center{class: classy("box-top")}
5
5
  = render :box_top
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-bar_and_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-06 00:00:00.000000000 Z
13
+ date: 2021-12-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.103.1
21
+ version: 1.104.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.103.1
28
+ version: 1.104.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-style
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.13.1
35
+ version: 0.14.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.13.1
42
+ version: 0.14.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -47,7 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - lib/stylesheets/style_image_box.scss
50
+ - assets/style/style_image_box.scss
51
51
  - set/abstract/media.rb
52
52
  - set/abstract/media/media_snippet.haml
53
53
  - set/all/bar.haml
@@ -55,7 +55,6 @@ files:
55
55
  - set/all/box.haml
56
56
  - set/all/box.rb
57
57
  - set/all/expanded_bar.haml
58
- - set/self/style_media.rb
59
58
  - set/type/image.rb
60
59
  homepage: https://decko.org
61
60
  licenses:
@@ -82,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
84
83
  requirements: []
85
- rubygems_version: 3.1.6
84
+ rubygems_version: 3.2.15
86
85
  signing_key:
87
86
  specification_version: 4
88
87
  summary: bar and box views
@@ -1,6 +0,0 @@
1
- include_set Abstract::CodeFile
2
- Self::StyleMods.add_item :style_media
3
-
4
- def source_files
5
- scss_files [:image_box]
6
- end