blacklight-gallery 4.6.1 → 4.6.3

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: 8b75282f6589ca914165117342f3f5122f114ec3fcb399dfc5ae660eaeb678ea
4
- data.tar.gz: 7f63ed97b52f21db2a92688e8d9e20ad17997c74a98cdacfd0e488c7d675c6ae
3
+ metadata.gz: 8c2a17d179e85d3bb3e9b3395d271b970b852de5b7e82287d59a2913b636a7f0
4
+ data.tar.gz: 666ec748ea52759e501a98620caed6ed8b36c54ac35f67df3bcb5f6c42e03424
5
5
  SHA512:
6
- metadata.gz: 5122d73ef112b00f340999c31faa6cb572c1ea83dc639164475be9f91596ad64c995cc0acfb9226145c343cf191b4f9f401af5a9912eda82cbdad507a69d24f6
7
- data.tar.gz: f83b3438b30ce60a936a5ca98694dc2a50c01d41cf37b8fdc0a8de628f171d0396d5d8de952a65936cff015cafedf482e9ccf963e51df1b958bede7c9e0c4b5e
6
+ metadata.gz: f68bee4398bfa6823a08ad7e630666df376653d898b89f562ef7ad42ae603d05864e3c45148aed4c6ceb567cea8e54018e2f69d88821404a8695f9ea184754ed
7
+ data.tar.gz: b6e85234c15d6b81e2087ddfe96ce1ff0dc073188c0bb2b7bd6e8fdb88c3522be61181a28c590931efbb0abae0f84dba5ea623769b71852b7f04df033906d44f
@@ -14,7 +14,7 @@ jobs:
14
14
  strategy:
15
15
  matrix:
16
16
  ruby: ["3.2", "3.3"]
17
- rails_version: ["7.0.4"]
17
+ rails_version: ["7.2.2"]
18
18
  blacklight_version: ["~> 7.0"]
19
19
  experimental: [false]
20
20
  additional_engine_cart_rails_options: [""]
@@ -42,12 +42,18 @@ jobs:
42
42
  experimental: false
43
43
  view_component_version: "~> 2.83"
44
44
  additional_name: "/ ViewComponent 2"
45
- - ruby: "3.2"
46
- rails_version: "7.0.4"
45
+ - ruby: "3.3"
46
+ rails_version: "8.0.0"
47
+ blacklight_version: "~> 8.0"
48
+ experimental: false
49
+ additional_engine_cart_rails_options: --css bootstrap
50
+ additional_name: "/ Blackight 8 / Rails 8"
51
+ - ruby: "3.3"
52
+ rails_version: "7.2.2"
47
53
  blacklight_version: "github"
48
54
  experimental: true
49
- additional_engine_cart_rails_options: -a propshaft
50
- additional_name: "/ Propshaft"
55
+ additional_engine_cart_rails_options: -a propshaft --css bootstrap
56
+ additional_name: "/ Blacklight main branch with Propshaft"
51
57
  env:
52
58
  RAILS_VERSION: ${{ matrix.rails_version }}
53
59
  BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
@@ -4,9 +4,14 @@
4
4
  padding: 0;
5
5
  margin: 0;
6
6
 
7
- &:hover, &:focus {
7
+ &:hover, &:focus, &:focus-within {
8
8
  .caption-area {
9
- display: block;
9
+ left: auto;
10
+ width: auto;
11
+ height: auto;
12
+ clip: unset;
13
+ max-height: 75%;
14
+ overflow-y: scroll;
10
15
  }
11
16
  }
12
17
 
@@ -34,14 +39,14 @@
34
39
  }
35
40
  @extend .bg-dark;
36
41
  @extend .text-white;
37
- display: none;
38
42
  padding: 5px 7px;
39
43
  background-color: rgba(0,0,0,0.5) !important;
40
44
  position: absolute;
41
45
  bottom: 0;
42
- overflow-x: hidden;
43
- overflow-y: scroll;
44
- max-height: 75%;
46
+ width: 1px;
47
+ height: 1px;
48
+ overflow: hidden;
49
+ clip: rect(0, 0, 0, 0);
45
50
  }
46
51
 
47
52
  .document-counter {
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "rails", '>= 6.1', '< 8'
20
+ spec.add_dependency "rails", '>= 6.1', '< 9'
21
21
  spec.add_dependency 'blacklight', '>= 7.17', '< 9'
22
22
 
23
23
  spec.add_development_dependency "rake"
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Gallery
3
- VERSION = "4.6.1"
3
+ VERSION = "4.6.3"
4
4
  end
5
5
  end
@@ -11,6 +11,7 @@ module BlacklightGallery
11
11
  "\n config.view.masonry(document_component: Blacklight::Gallery::DocumentComponent, icon: Blacklight::Gallery::Icons::MasonryComponent)" \
12
12
  "\n config.view.slideshow(document_component: Blacklight::Gallery::SlideshowComponent, icon: Blacklight::Gallery::Icons::SlideshowComponent)" \
13
13
  "\n config.show.tile_source_field = :content_metadata_image_iiif_info_ssm" \
14
+ "\n config.show.partials ||= []" \
14
15
  "\n config.show.partials.insert(1, :openseadragon)"
15
16
  end
16
17
  end
@@ -29,6 +30,9 @@ module BlacklightGallery
29
30
 
30
31
  def assets
31
32
  copy_file "blacklight_gallery.css.scss", "app/assets/stylesheets/blacklight_gallery.css.scss"
33
+
34
+ return unless defined?(Sprockets)
35
+
32
36
  append_to_file 'app/assets/config/manifest.js', "\n//= link blacklight_gallery/manifest.js\n"
33
37
  copy_file "blacklight_gallery.js", "app/assets/javascripts/blacklight_gallery.js"
34
38
 
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blacklight-gallery",
3
- "version": "4.5.4",
3
+ "version": "4.6.3",
4
4
  "description": "Gallery views for Blacklight search results",
5
5
  "main": "app/assets/javascripts/blacklight_gallery/default.js",
6
6
  "files": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.1
4
+ version: 4.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-24 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8'
22
+ version: '9'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8'
32
+ version: '9'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: blacklight
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  - !ruby/object:Gem::Version
324
324
  version: '0'
325
325
  requirements: []
326
- rubygems_version: 3.5.9
326
+ rubygems_version: 3.4.19
327
327
  signing_key:
328
328
  specification_version: 4
329
329
  summary: Gallery display for Blacklight