blacklight-gallery 4.6.2 → 4.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3847daebaccd26ec1cdb41d45b6120c1feee8844c8d862ecd46e695af06b2f69
4
- data.tar.gz: 343c9d2a35ce8d194f06b3f81a29e6b5627a4cfe918cac69a02a08297a91e278
3
+ metadata.gz: 3c321c62171cddbfec780d3b115999654af2926dd4a8a58bb9cf50db22e0a259
4
+ data.tar.gz: fce3fadd3a887fc3744d515c30fe5b5aceb7d31b839e65498777a47ceaba5ed9
5
5
  SHA512:
6
- metadata.gz: ceefd576c46c97ad8950c4d1abea1e65419b28ae9a36d6837f788885baaa8ef669c09e8cd8567a85061a3afddeb0ee6203d2821f4b1ef902266c7ddacf86a5ab
7
- data.tar.gz: 9dc569009e0306f22471efd83d641c767741cf5f01068f94c3b4c047f75265e9489dcaf449eb5b517dcc345310af81ec0a0b41ee99d9b3192f4cbd6fbe161d51
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.2"
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.5.4",
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.2
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