katalyst-kpop 2.0.5 → 2.0.6
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 +4 -4
- data/app/helpers/kpop_helper.rb +5 -4
- 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: 2d5516f4264830591abc464744c7ebaf9ca5ea6664eef727f1219a434df9f9be
|
|
4
|
+
data.tar.gz: 7370d64af3b49070f957d41425e644f08269750205d0964b0ba155244c1b22ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e9d15134011c34b615f1d79929b48220ae6a1e714e002be508c5dcc4320545e170855b92d1bedc71ff720dd8ba5b6e09697a66be303830ad73ac12a748b003e
|
|
7
|
+
data.tar.gz: 77401e288f4198a50f8fca9fb13514d8c0f4bdae8bbe3ba7029df58d5c1423fde2d6ead18b1ba9f29c36cdb711a70d61ceb74b22f30dc2e8317d7d7cf184a4ef
|
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
|
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.6
|
|
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:
|