blacklight-gallery 4.1.0 → 4.2.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 +10 -0
- data/Gemfile +11 -12
- data/app/assets/images/blacklight/pause_slideshow.svg +1 -1
- data/app/components/blacklight/gallery/icons/add_circle_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/chevron_left_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/chevron_right_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/custom_fullscreen_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/gallery_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/masonry_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/pause_slideshow_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/remove_circle_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/resize_small_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/slideshow_component.rb +18 -0
- data/app/components/blacklight/gallery/icons/start_slideshow_component.rb +18 -0
- data/app/views/catalog/_document_slideshow.html.erb +4 -4
- data/app/views/catalog/_openseadragon_default.html.erb +6 -6
- data/lib/blacklight/gallery/version.rb +1 -1
- data/lib/generators/blacklight_gallery/install_generator.rb +3 -3
- data/package.json +26 -0
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d46a1601796a187729339ce0655d2537db43a7319608a2de67cd763b38fcbdcd
|
4
|
+
data.tar.gz: b9f28ea874c0908cfc9e19f7134b7dfc29779ed5c7865af8f96f1becab54a478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38912a52ab2cc3a35ec137d5e326e4e92f90228dd8254f9fa7526dc5f565945c08aefe3fcda4d028191dea8a7615b3073865e3c513a1701824deef9a3d4b092f
|
7
|
+
data.tar.gz: 76f328cf6da35f629a2ce99396ec89be2b5d97331f38daee12574201b9a21392f09b366ff38e099b4510bf380a3ed40a9a74509e7be384455d99fb865a73c7b6
|
data/.github/workflows/ruby.yml
CHANGED
@@ -10,12 +10,15 @@ jobs:
|
|
10
10
|
test:
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
continue-on-error: ${{ matrix.experimental }}
|
13
|
+
name: test (ruby ${{ matrix.ruby }} / rails ${{ matrix.rails_version }} / blacklight ${{ matrix.blacklight_version }} ${{ matrix.additional_name }})
|
13
14
|
strategy:
|
14
15
|
matrix:
|
15
16
|
ruby: [2.7, '3.0']
|
16
17
|
rails_version: ['6.1.7', '7.0.4']
|
17
18
|
blacklight_version: ['~> 7.0']
|
18
19
|
experimental: [false]
|
20
|
+
additional_engine_cart_rails_options: ['']
|
21
|
+
additional_name: ['']
|
19
22
|
include:
|
20
23
|
- ruby: '3.1'
|
21
24
|
rails_version: '7.0.4'
|
@@ -29,9 +32,16 @@ jobs:
|
|
29
32
|
rails_version: '7.0.4'
|
30
33
|
blacklight_version: 'github'
|
31
34
|
experimental: true
|
35
|
+
- ruby: '3.1'
|
36
|
+
rails_version: '7.0.4'
|
37
|
+
blacklight_version: 'github'
|
38
|
+
experimental: true
|
39
|
+
additional_engine_cart_rails_options: -a propshaft
|
40
|
+
additional_name: '/ Propshaft'
|
32
41
|
env:
|
33
42
|
RAILS_VERSION: ${{ matrix.rails_version }}
|
34
43
|
BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
|
44
|
+
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 }}"
|
35
45
|
steps:
|
36
46
|
- uses: actions/checkout@v2
|
37
47
|
- name: Set up Ruby ${{ matrix.ruby }}
|
data/Gemfile
CHANGED
@@ -11,8 +11,8 @@ end
|
|
11
11
|
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
12
12
|
|
13
13
|
# BEGIN ENGINE_CART BLOCK
|
14
|
-
# engine_cart:
|
15
|
-
# engine_cart stanza:
|
14
|
+
# engine_cart: 2.5.0
|
15
|
+
# engine_cart stanza: 2.5.0
|
16
16
|
# the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
|
17
17
|
file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
|
18
18
|
if File.exist?(file)
|
@@ -32,17 +32,16 @@ else
|
|
32
32
|
else
|
33
33
|
gem 'rails', ENV['RAILS_VERSION']
|
34
34
|
end
|
35
|
-
end
|
36
35
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
36
|
+
case ENV['RAILS_VERSION']
|
37
|
+
when /^6.0/
|
38
|
+
gem 'sass-rails', '>= 6'
|
39
|
+
gem 'webpacker', '~> 4.0'
|
40
|
+
when /^5.[12]/
|
41
|
+
gem 'sass-rails', '~> 5.0'
|
42
|
+
gem 'sprockets', '~> 3.7'
|
43
|
+
gem 'thor', '~> 0.20'
|
44
|
+
end
|
46
45
|
end
|
47
46
|
end
|
48
47
|
# END ENGINE_CART BLOCK
|
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"></path></svg
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"></path></svg>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the icon for the add button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::AddCircleComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class AddCircleComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::ChevronLeftComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class ChevronLeftComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::ChevronRightComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class ChevronRightComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the icon for the fullscreen button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::CustomFullscreenComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class CustomFullscreenComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path d="M7,14H5v5h5V17H7Zm7-9V7h3v3h2V5Z" /><path d="M22.517,1.524H1.736V22.37H22.517Zm-2,18.845H3.736V3.524H20.517Z" />
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::GalleryComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class GalleryComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::MasonryComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class MasonryComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::PauseSlideshowComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class PauseSlideshowComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"></path>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the icon for the remove button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::RemoveCircleComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class RemoveCircleComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the icon for the resize button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::ResizeSmallComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class ResizeSmallComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path d="M5,16H8v3h2V14H5ZM16,8V5H14v5h5V8Z"/><path d="M22.517,1.524H1.736V22.37H22.517Zm-2,18.845H3.736V3.524H20.517Z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::SlideshowComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class SlideshowComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 25 24">
|
12
|
+
<path d="m1 9v6h-1v-6zm6-3h12v13h-13v-13zm11 1h-11v11h11zm-13 0v11h-1v-11zm-2 1v9h-1v-9zm18-1v11h-1v-11zm2 1v8h-1v-8zm2 1v5h-1v-5z"/>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Blacklight
|
4
|
+
module Gallery
|
5
|
+
module Icons
|
6
|
+
# This is the gallery icon for the view type button.
|
7
|
+
# You can override the default svg by setting:
|
8
|
+
# Blacklight::Gallery:Icons::StartSlideshowComponent.svg = '<svg>your SVG here</svg>'
|
9
|
+
class StartSlideshowComponent < Blacklight::Icons::IconComponent
|
10
|
+
self.svg = <<~SVG
|
11
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
12
|
+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"></path>
|
13
|
+
</svg>
|
14
|
+
SVG
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -15,18 +15,18 @@
|
|
15
15
|
|
16
16
|
<!-- Controls -->
|
17
17
|
<a class="left carousel-control prev" href="#slideshow" data-slide="prev">
|
18
|
-
<%=
|
18
|
+
<%= render Blacklight::Gallery::Icons::ChevronLeftComponent.new additional_options: { label_context: 'previous_image' } %>
|
19
19
|
</a>
|
20
20
|
<a class="right carousel-control next" href="#slideshow" data-slide="next">
|
21
|
-
<%=
|
21
|
+
<%= render Blacklight::Gallery::Icons::ChevronRightComponent.new additional_options: { label_context: 'next_image' } %>
|
22
22
|
</a>
|
23
23
|
|
24
24
|
<div class="controls text-center">
|
25
25
|
<button class="btn btn-sm btn-link" data-behavior="pause-slideshow" aria-label="<%= t('blacklight_gallery.catalog.slideshow.pause') %>">
|
26
|
-
|
26
|
+
<%= render Blacklight::Gallery::Icons::PauseSlideshowComponent.new %>
|
27
27
|
</button>
|
28
28
|
<button class="btn btn-sm btn-link" data-behavior="start-slideshow" aria-label="<%= t('blacklight_gallery.catalog.slideshow.start') %>">
|
29
|
-
<%=
|
29
|
+
<%= render Blacklight::Gallery::Icons::StartSlideshowComponent.new %>
|
30
30
|
</button>
|
31
31
|
</div>
|
32
32
|
</div>
|
@@ -29,16 +29,16 @@
|
|
29
29
|
<div class="col-md-6 pagination">
|
30
30
|
<% if count > 1 %>
|
31
31
|
<% osd_config = osd_config_referencestrip.merge(osd_config) %>
|
32
|
-
<a id="<%= id_prefix %>-previous"><%=
|
32
|
+
<a id="<%= id_prefix %>-previous"><%= render Blacklight::Gallery::Icons::ChevronLeftComponent.new %></a>
|
33
33
|
<span id="<%= id_prefix %>-page">1</span> of <%= count %>
|
34
|
-
<a id="<%= id_prefix %>-next"><%=
|
34
|
+
<a id="<%= id_prefix %>-next"><%= render Blacklight::Gallery::Icons::ChevronRightComponent.new %></a>
|
35
35
|
<% end %>
|
36
36
|
</div>
|
37
37
|
<div class="col-md-6 controls">
|
38
|
-
<a id="<%= id_prefix %>-zoom-in"><%=
|
39
|
-
<a id="<%= id_prefix %>-zoom-out"><%=
|
40
|
-
<a id="<%= id_prefix %>-home"><%=
|
41
|
-
<a id="<%= id_prefix %>-full-page"><%=
|
38
|
+
<a id="<%= id_prefix %>-zoom-in"><%= render Blacklight::Gallery::Icons::AddCircleComponent.new %></a>
|
39
|
+
<a id="<%= id_prefix %>-zoom-out"><%= render Blacklight::Gallery::Icons::RemoveCircleComponent.new %></a>
|
40
|
+
<a id="<%= id_prefix %>-home"><%= render Blacklight::Gallery::Icons::ResizeSmallComponent.new %></a>
|
41
|
+
<a id="<%= id_prefix %>-full-page"><%= render Blacklight::Gallery::Icons::CustomFullscreenComponent.new %></a>
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
<%= openseadragon_picture_tag image, class: 'osd-image row', data: { openseadragon: osd_config } %>
|
@@ -7,9 +7,9 @@ module BlacklightGallery
|
|
7
7
|
|
8
8
|
def configuration
|
9
9
|
inject_into_file 'app/controllers/catalog_controller.rb', after: "configure_blacklight do |config|" do
|
10
|
-
"\n config.view.gallery(document_component: Blacklight::Gallery::DocumentComponent)" \
|
11
|
-
"\n config.view.masonry(document_component: Blacklight::Gallery::DocumentComponent)" \
|
12
|
-
"\n config.view.slideshow(document_component: Blacklight::Gallery::SlideshowComponent)" \
|
10
|
+
"\n config.view.gallery(document_component: Blacklight::Gallery::DocumentComponent, icon: Blacklight::Gallery::Icons::GalleryComponent)" \
|
11
|
+
"\n config.view.masonry(document_component: Blacklight::Gallery::DocumentComponent, icon: Blacklight::Gallery::Icons::MasonryComponent)" \
|
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
14
|
"\n config.show.partials.insert(1, :openseadragon)"
|
15
15
|
end
|
data/package.json
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"name": "blacklight-gallery",
|
3
|
+
"version": "4.2.0",
|
4
|
+
"description": "Gallery views for Blacklight search results",
|
5
|
+
"main": "app/assets/javascripts/blacklight_gallery/default.js",
|
6
|
+
"files": [
|
7
|
+
"app/assets/javascripts/blacklight_gallery/*.js",
|
8
|
+
"vendor/assets/javascripts/*.js",
|
9
|
+
"app/assets/stylesheets/blacklight_gallery/*.scss"
|
10
|
+
],
|
11
|
+
"repository": {
|
12
|
+
"type": "git",
|
13
|
+
"url": "git+https://github.com/projectblacklight/blacklight-gallery.git"
|
14
|
+
},
|
15
|
+
"author": "",
|
16
|
+
"license": "Apache-2.0",
|
17
|
+
"bugs": {
|
18
|
+
"url": "https://github.com/projectblacklight/blacklight-gallery/issues"
|
19
|
+
},
|
20
|
+
"homepage": "https://github.com/projectblacklight/blacklight-gallery#readme",
|
21
|
+
"devDependencies": { },
|
22
|
+
"dependencies": {
|
23
|
+
"blacklight-frontend": ">=7.1.0-alpha",
|
24
|
+
"jquery": ">=3.0"
|
25
|
+
}
|
26
|
+
}
|
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.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -240,6 +240,17 @@ files:
|
|
240
240
|
- app/assets/stylesheets/blacklight_gallery/default.scss
|
241
241
|
- app/components/blacklight/gallery/document_component.html.erb
|
242
242
|
- app/components/blacklight/gallery/document_component.rb
|
243
|
+
- app/components/blacklight/gallery/icons/add_circle_component.rb
|
244
|
+
- app/components/blacklight/gallery/icons/chevron_left_component.rb
|
245
|
+
- app/components/blacklight/gallery/icons/chevron_right_component.rb
|
246
|
+
- app/components/blacklight/gallery/icons/custom_fullscreen_component.rb
|
247
|
+
- app/components/blacklight/gallery/icons/gallery_component.rb
|
248
|
+
- app/components/blacklight/gallery/icons/masonry_component.rb
|
249
|
+
- app/components/blacklight/gallery/icons/pause_slideshow_component.rb
|
250
|
+
- app/components/blacklight/gallery/icons/remove_circle_component.rb
|
251
|
+
- app/components/blacklight/gallery/icons/resize_small_component.rb
|
252
|
+
- app/components/blacklight/gallery/icons/slideshow_component.rb
|
253
|
+
- app/components/blacklight/gallery/icons/start_slideshow_component.rb
|
243
254
|
- app/components/blacklight/gallery/slideshow_component.html.erb
|
244
255
|
- app/components/blacklight/gallery/slideshow_component.rb
|
245
256
|
- app/components/blacklight/gallery/slideshow_preview_component.html.erb
|
@@ -268,6 +279,7 @@ files:
|
|
268
279
|
- lib/generators/blacklight_gallery/install_generator.rb
|
269
280
|
- lib/generators/blacklight_gallery/templates/blacklight_gallery.css.scss
|
270
281
|
- lib/generators/blacklight_gallery/templates/blacklight_gallery.js
|
282
|
+
- package.json
|
271
283
|
- solr/conf/_rest_managed.json
|
272
284
|
- solr/conf/admin-extra.html
|
273
285
|
- solr/conf/elevate.xml
|