blacklight-gallery 4.6.4 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +0 -23
  3. data/.gitignore +3 -1
  4. data/README.md +3 -3
  5. data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.esm.js +598 -0
  6. data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.esm.js.map +1 -0
  7. data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.js +604 -0
  8. data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.js.map +1 -0
  9. data/app/javascript/blacklight-gallery/index.js +5 -0
  10. data/app/{assets/javascripts/blacklight_gallery → javascript/blacklight-gallery}/masonry.js +2 -0
  11. data/config/importmap.rb +1 -1
  12. data/lib/blacklight/gallery/engine.rb +1 -0
  13. data/lib/blacklight/gallery/version.rb +1 -1
  14. data/lib/generators/blacklight_gallery/install_generator.rb +2 -3
  15. data/package.json +16 -3
  16. data/rollup.config.js +35 -0
  17. data/spec/components/blacklight/gallery/slideshow_preview_component_spec.rb +1 -5
  18. data/spec/features/gallery_spec.rb +1 -1
  19. data/spec/features/masonry_spec.rb +1 -1
  20. data/spec/features/slideshow_spec.rb +1 -2
  21. data/spec/models/concerns/openseadragon_solr_document_spec.rb +1 -1
  22. data/spec/spec_helper.rb +1 -6
  23. data/spec/test_app_templates/Gemfile.extra +0 -4
  24. data/spec/views/catalog/_openseadragon_default.html.erb_spec.rb +1 -1
  25. data/vendor/assets/javascripts/imagesloaded.pkgd.js +441 -0
  26. metadata +12 -11
  27. data/app/assets/javascripts/blacklight_gallery/default.js +0 -4
  28. data/app/assets/javascripts/blacklight_gallery/osd_viewer.js +0 -1
  29. data/lib/generators/blacklight_gallery/templates/blacklight_gallery.js +0 -2
  30. data/spec/view_component_v2_test_helpers.rb +0 -20
  31. data/vendor/assets/javascripts/imagesloaded.min.js +0 -7
  32. /data/app/{assets/javascripts/blacklight_gallery → javascript/blacklight-gallery}/slideshow.js +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c321c62171cddbfec780d3b115999654af2926dd4a8a58bb9cf50db22e0a259
4
- data.tar.gz: fce3fadd3a887fc3744d515c30fe5b5aceb7d31b839e65498777a47ceaba5ed9
3
+ metadata.gz: dc01471ec3693262af068c82021b54fa1e91d7adb63e4fa70948cedc39cf0c1a
4
+ data.tar.gz: c79c557b419b5ae1b7ca31f68e6f0a6aab0823fc449b5e87281b44dd1f69dbb8
5
5
  SHA512:
6
- metadata.gz: b5e45e06dbc17f3e1c423396d6595a4bda8b7532027ac521bfed64624e2b374e55d51d6652762d53929787465dc41d2612c05c5de78638834abc698c18428227
7
- data.tar.gz: 2b84924c93724e48bb9294f9ed4d44f07bcb84ae4441a7e5f589a963c2e7332ba4ae914d226c2ddd6a8e9f1b9f7af46835ac31e827a143b7c92fd61016717600
6
+ metadata.gz: 1b6e22ebe2b90f69caad2bc78b0d4e23356635fde1cf007dce4a467354b0e5dd371dd6c0fe2855832b113b71e3d7c29ff0497b39a0e7cb7b6da93416792f5e96
7
+ data.tar.gz: 29b3ba9766c854b36c4056a060b36c17b45ec3c8caecc3fe3f61d461b081b6c530a879c217653ae2ce33ba191a345a33a451b5ab993cfc16a83889d1781dda0e
@@ -19,29 +19,7 @@ jobs:
19
19
  experimental: [false]
20
20
  additional_engine_cart_rails_options: [""]
21
21
  additional_name: [""]
22
- view_component_version: ["~> 3.12"]
23
22
  include:
24
- - ruby: "3.1"
25
- rails_version: 6.1.7
26
- blacklight_version: "~> 7.0"
27
- experimental: false
28
- additional_name: Rails 6.1, Ruby 3.1
29
- - ruby: "3.2"
30
- rails_version: "7.0.4"
31
- blacklight_version: "~> 8.0"
32
- experimental: false
33
- additional_name: Blacklight 8
34
- - ruby: "3.2"
35
- rails_version: "7.0.4"
36
- blacklight_version: "github"
37
- experimental: true
38
- additional_name: Blacklight main branch
39
- - ruby: "3.2"
40
- rails_version: "7.0.4"
41
- blacklight_version: "~> 7.0"
42
- experimental: false
43
- view_component_version: "~> 2.83"
44
- additional_name: "/ ViewComponent 2"
45
23
  - ruby: "3.3"
46
24
  rails_version: "8.0.0"
47
25
  blacklight_version: "~> 8.0"
@@ -57,7 +35,6 @@ jobs:
57
35
  env:
58
36
  RAILS_VERSION: ${{ matrix.rails_version }}
59
37
  BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
60
- VIEW_COMPONENT_VERSION: ${{ matrix.view_component_version }}
61
38
  ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test ${{ matrix.additional_engine_cart_rails_options }}"
62
39
  steps:
63
40
  - uses: actions/checkout@v4
data/.gitignore CHANGED
@@ -4,6 +4,7 @@
4
4
  .config
5
5
  .yardoc
6
6
  Gemfile.lock
7
+ package-lock.json
7
8
  InstalledFiles
8
9
  _yardoc
9
10
  coverage
@@ -17,4 +18,5 @@ test/version_tmp
17
18
  tmp
18
19
  jetty
19
20
  spec/internal
20
- .internal_test_app
21
+ .internal_test_app
22
+ node_modules
data/README.md CHANGED
@@ -25,9 +25,9 @@ Run the gallery generator for Sprockets:
25
25
 
26
26
  Or for node based bundlers add `blacklight-gallery masonry-layout@v4` as a dependencies and add this to your entrypoint:
27
27
  ```js
28
- import 'blacklight-gallery/vendor/assets/javascripts/imagesloaded.min.js'
29
- import 'blacklight-gallery/app/assets/javascripts/blacklight_gallery/slideshow'
30
- import 'blacklight-gallery/app/assets/javascripts/blacklight_gallery/masonry'
28
+ import 'blacklight-gallery/vendor/assets/javascripts/imagesloaded.pkgd.js'
29
+ import 'blacklight-gallery/app/javascript/blacklight-gallery/slideshow'
30
+ import 'blacklight-gallery/app/javascript/blacklight-gallery/masonry'
31
31
  ```
32
32
 
33
33
  ## Available Views