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 +4 -4
- data/README.md +9 -2
- data/app/components/blacklight/gallery/icons/gallery_component.rb +2 -2
- data/app/components/blacklight/gallery/icons/masonry_component.rb +2 -2
- data/app/components/blacklight/gallery/icons/slideshow_component.rb +2 -2
- data/lib/blacklight/gallery/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c321c62171cddbfec780d3b115999654af2926dd4a8a58bb9cf50db22e0a259
|
4
|
+
data.tar.gz: fce3fadd3a887fc3744d515c30fe5b5aceb7d31b839e65498777a47ceaba5ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/package.json
CHANGED
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.
|
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-
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|