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.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +0 -23
- data/.gitignore +3 -1
- data/README.md +3 -3
- data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.esm.js +598 -0
- data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.esm.js.map +1 -0
- data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.js +604 -0
- data/app/assets/javascripts/blacklight_gallery/blacklight-gallery.js.map +1 -0
- data/app/javascript/blacklight-gallery/index.js +5 -0
- data/app/{assets/javascripts/blacklight_gallery → javascript/blacklight-gallery}/masonry.js +2 -0
- data/config/importmap.rb +1 -1
- data/lib/blacklight/gallery/engine.rb +1 -0
- data/lib/blacklight/gallery/version.rb +1 -1
- data/lib/generators/blacklight_gallery/install_generator.rb +2 -3
- data/package.json +16 -3
- data/rollup.config.js +35 -0
- data/spec/components/blacklight/gallery/slideshow_preview_component_spec.rb +1 -5
- data/spec/features/gallery_spec.rb +1 -1
- data/spec/features/masonry_spec.rb +1 -1
- data/spec/features/slideshow_spec.rb +1 -2
- data/spec/models/concerns/openseadragon_solr_document_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -6
- data/spec/test_app_templates/Gemfile.extra +0 -4
- data/spec/views/catalog/_openseadragon_default.html.erb_spec.rb +1 -1
- data/vendor/assets/javascripts/imagesloaded.pkgd.js +441 -0
- metadata +12 -11
- data/app/assets/javascripts/blacklight_gallery/default.js +0 -4
- data/app/assets/javascripts/blacklight_gallery/osd_viewer.js +0 -1
- data/lib/generators/blacklight_gallery/templates/blacklight_gallery.js +0 -2
- data/spec/view_component_v2_test_helpers.rb +0 -20
- data/vendor/assets/javascripts/imagesloaded.min.js +0 -7
- /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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc01471ec3693262af068c82021b54fa1e91d7adb63e4fa70948cedc39cf0c1a
|
4
|
+
data.tar.gz: c79c557b419b5ae1b7ca31f68e6f0a6aab0823fc449b5e87281b44dd1f69dbb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b6e22ebe2b90f69caad2bc78b0d4e23356635fde1cf007dce4a467354b0e5dd371dd6c0fe2855832b113b71e3d7c29ff0497b39a0e7cb7b6da93416792f5e96
|
7
|
+
data.tar.gz: 29b3ba9766c854b36c4056a060b36c17b45ec3c8caecc3fe3f61d461b081b6c530a879c217653ae2ce33ba191a345a33a451b5ab993cfc16a83889d1781dda0e
|
data/.github/workflows/ruby.yml
CHANGED
@@ -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
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.
|
29
|
-
import 'blacklight-gallery/app/
|
30
|
-
import 'blacklight-gallery/app/
|
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
|