katalyst-kpop 2.0.5 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/kpop_helper.rb +5 -4
- data/app/helpers/scrim_helper.rb +1 -0
- data/lib/katalyst/kpop/version.rb +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: 45b32f2c849fbdeebca2b815066019d94fc3760722f7d761045ea8cba01f44c5
|
4
|
+
data.tar.gz: 27a9076ac9df54b19c436109a4a3bdbb636f35a4ee2acef88bfe6608c3db1707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843568a0ed958c9ec9c0f3e0b010089ac3a9999799b623db694d3c7b939440ff06ca2ff02cf8c950c6df47ef9829c55601b0e2c173816448f34fdf5e167650f1
|
7
|
+
data.tar.gz: 779a6bfc737173f97645fd2a05eab273c4aab45312f2a8094b5bc93e788ce6d5afce607221c3dc8216fbee3aab4243620d58ec954742523036e3441274811cc3
|
data/app/helpers/kpop_helper.rb
CHANGED
@@ -14,10 +14,11 @@ module KpopHelper
|
|
14
14
|
|
15
15
|
# Render a turbo frame tag that can be targeted for rendering kpop modals.
|
16
16
|
def kpop_frame_tag(**html_attributes, &block)
|
17
|
-
html_attributes[:class]
|
18
|
-
html_attributes[:data]
|
19
|
-
html_attributes[:data][:controller]
|
20
|
-
html_attributes[:data][:action]
|
17
|
+
html_attributes[:class] ||= "kpop-container"
|
18
|
+
html_attributes[:data] ||= {}
|
19
|
+
html_attributes[:data][:controller] = "kpop"
|
20
|
+
html_attributes[:data][:action] = "scrim:hide@window->kpop#dismiss"
|
21
|
+
html_attributes[:data][:turbo_temporary] = ""
|
21
22
|
|
22
23
|
turbo_frame_tag("kpop", **html_attributes) do
|
23
24
|
capture(&block) if block
|
data/app/helpers/scrim_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-kpop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|