blacklight-gallery 4.6.3 → 4.6.4

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: 8c2a17d179e85d3bb3e9b3395d271b970b852de5b7e82287d59a2913b636a7f0
4
- data.tar.gz: 666ec748ea52759e501a98620caed6ed8b36c54ac35f67df3bcb5f6c42e03424
3
+ metadata.gz: 3c321c62171cddbfec780d3b115999654af2926dd4a8a58bb9cf50db22e0a259
4
+ data.tar.gz: fce3fadd3a887fc3744d515c30fe5b5aceb7d31b839e65498777a47ceaba5ed9
5
5
  SHA512:
6
- metadata.gz: f68bee4398bfa6823a08ad7e630666df376653d898b89f562ef7ad42ae603d05864e3c45148aed4c6ceb567cea8e54018e2f69d88821404a8695f9ea184754ed
7
- data.tar.gz: b6e85234c15d6b81e2087ddfe96ce1ff0dc073188c0bb2b7bd6e8fdb88c3522be61181a28c590931efbb0abae0f84dba5ea623769b71852b7f04df033906d44f
6
+ metadata.gz: b5e45e06dbc17f3e1c423396d6595a4bda8b7532027ac521bfed64624e2b374e55d51d6652762d53929787465dc41d2612c05c5de78638834abc698c18428227
7
+ data.tar.gz: 2b84924c93724e48bb9294f9ed4d44f07bcb84ae4441a7e5f589a963c2e7332ba4ae914d226c2ddd6a8e9f1b9f7af46835ac31e827a143b7c92fd61016717600
data/README.md CHANGED
@@ -19,10 +19,17 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- Run the gallery generator:
22
+ Run the gallery generator for Sprockets:
23
23
 
24
24
  $ rails g blacklight_gallery:install
25
25
 
26
+ Or for node based bundlers add `blacklight-gallery masonry-layout@v4` as a dependencies and add this to your entrypoint:
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'
31
+ ```
32
+
26
33
  ## Available Views
27
34
  If you would like to add or remove any particular view either add or remove the following configurations from your Blacklight controller.
28
35
 
@@ -56,4 +63,4 @@ If you would like to add or remove any particular view either add or remove the
56
63
  1. Commit the changes e.g. `git commit -am "Bump version to X.X.X"`
57
64
  1. Push release to rubygems `bundle exec rake release`
58
65
  1. Push release to NPM `npm publish`
59
- 1. Create a release on github with the tag that was just created: https://github.com/projectblacklight/blacklight-gallery/releases/new
66
+ 1. Create a release on github with the tag that was just created: https://github.com/projectblacklight/blacklight-gallery/releases/new
@@ -8,11 +8,11 @@ module Blacklight
8
8
  # Blacklight::Gallery:Icons::GalleryComponent.svg = '<svg>your SVG here</svg>'
9
9
  class GalleryComponent < Blacklight::Icons::IconComponent
10
10
  self.svg = <<~SVG
11
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
11
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24">
12
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
13
  </svg>
14
14
  SVG
15
15
  end
16
16
  end
17
17
  end
18
- end
18
+ end
@@ -8,11 +8,11 @@ module Blacklight
8
8
  # Blacklight::Gallery:Icons::MasonryComponent.svg = '<svg>your SVG here</svg>'
9
9
  class MasonryComponent < Blacklight::Icons::IconComponent
10
10
  self.svg = <<~SVG
11
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
11
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24">
12
12
  <path fill="none" d="M0 0h24v24H0V0z"/><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"/>
13
13
  </svg>
14
14
  SVG
15
15
  end
16
16
  end
17
17
  end
18
- end
18
+ end
@@ -8,11 +8,11 @@ module Blacklight
8
8
  # Blacklight::Gallery:Icons::SlideshowComponent.svg = '<svg>your SVG here</svg>'
9
9
  class SlideshowComponent < Blacklight::Icons::IconComponent
10
10
  self.svg = <<~SVG
11
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 25 24">
11
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 25 24">
12
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
13
  </svg>
14
14
  SVG
15
15
  end
16
16
  end
17
17
  end
18
- end
18
+ end
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Gallery
3
- VERSION = "4.6.3"
3
+ VERSION = "4.6.4"
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blacklight-gallery",
3
- "version": "4.6.3",
3
+ "version": "4.6.4",
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.3
4
+ version: 4.6.4
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-12-10 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails