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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 132ccf15922a7201b808f5e05d0ebfa5294a80fb52fbffd9394b17620ef7e841
4
- data.tar.gz: ab016bd132de1ad7e039e4eca8e0e5aeb5668442a26d08be233625b864d34754
3
+ metadata.gz: 45b32f2c849fbdeebca2b815066019d94fc3760722f7d761045ea8cba01f44c5
4
+ data.tar.gz: 27a9076ac9df54b19c436109a4a3bdbb636f35a4ee2acef88bfe6608c3db1707
5
5
  SHA512:
6
- metadata.gz: e46ae5a99a83e236123445f6273a0d5aa44a7e7d42676ed775d2fe523629f6ba7dcde29ceec1a8c650e7ec77d1d6460fa62abdf296e342335270f79aeb2b4a4e
7
- data.tar.gz: 63e704500714934863e32822335956c3896bea1670ff141ddfb32679369c4087e028077fbb487f24b9639cca30ec89099c44f76b8b4a507c9e3d77bd00332227
6
+ metadata.gz: 843568a0ed958c9ec9c0f3e0b010089ac3a9999799b623db694d3c7b939440ff06ca2ff02cf8c950c6df47ef9829c55601b0e2c173816448f34fdf5e167650f1
7
+ data.tar.gz: 779a6bfc737173f97645fd2a05eab273c4aab45312f2a8094b5bc93e788ce6d5afce607221c3dc8216fbee3aab4243620d58ec954742523036e3441274811cc3
@@ -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] ||= "kpop-container"
18
- html_attributes[:data] ||= {}
19
- html_attributes[:data][:controller] = "kpop"
20
- html_attributes[:data][:action] = "scrim:hide@window->kpop#dismiss"
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
@@ -7,6 +7,7 @@ module ScrimHelper
7
7
  keyup@window->scrim#escape
8
8
  scrim:request:hide@window->scrim#hide
9
9
  scrim:request:show@window->scrim#show
10
+ turbo:before-cache@document->scrim#hide
10
11
  ACTIONS
11
12
  end
12
13
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Katalyst
4
4
  module Kpop
5
- VERSION = "2.0.5"
5
+ VERSION = "2.0.7"
6
6
  end
7
7
  end
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.5
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-07-28 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: