ariadne_view_components 0.0.86.7 → 0.0.86.9

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: 0a39428dcfdc1a4cd39ba0460252ce8304da0004fae178dbb02789bb3b1f0e6b
4
- data.tar.gz: b0ec3ccfb839efda8014b64761bc94a213216bbe8a6c3ae588870bff3da0002e
3
+ metadata.gz: 34b651779a45aa19177c9f4b531bee68fc395fa1c3d6cf4c313523409478b7a8
4
+ data.tar.gz: 4364f8b536bdd7773b3548cce0c0036cad93ef86cce1d18cd142985972c710db
5
5
  SHA512:
6
- metadata.gz: e22d0e70736435f07fd4105d1f826e6b5c6275bb1379218166ded7ebe19013032509e6c49bbd9e22416b578208a9b5ddb8ea9dea209870eee54c61a190e7dd22
7
- data.tar.gz: ad961197d436e881b79fe5e20bc8ab918a0e988c2f7598025753603da36d1fe6096fd7f5247d66c3a4c121af4e299b3e4cc46a742ff97dbeb330279cd0d38c2c
6
+ metadata.gz: 3cabf846c3ce0f9a337dea2d2a793ab599469f7a1139ab75e6fc00800ac43a478e286cc07ea2a0ac139a3b3f2de5167aa82976e01bd15b80044a5fa6bcfce0b8
7
+ data.tar.gz: 5b20d8acdaf5a5a34838acd3feb687dcdf5acf37bbd68ef4b4fa29d744af268fea1e310fc9e113bb3bf27e9bbfef3709e1c82811633112ec6a684c104ed60bbc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # [v0.0.86.9] - 15-08-2024
2
+ **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.8...v0.0.86.9
3
+ # [v0.0.86.8] - 15-08-2024
4
+ **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.7...v0.0.86.8
1
5
  # [v0.0.86.7] - 15-08-2024
2
6
  **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.6...v0.0.86.7
3
7
  # [v0.0.86.6] - 11-08-2024
@@ -30,11 +30,13 @@ module Ariadne
30
30
  end
31
31
 
32
32
  html_attrs[:data] ||= {}
33
+ added_controller = html_attrs[:data][:controller] || ""
34
+ added_action = html_attrs[:data][:action] || ""
33
35
  html_attrs[:data] = {
34
- controller: "#{stimulus_name} #{html_attrs[:data][:controller]}".rstrip,
36
+ controller: "#{stimulus_name} #{added_controller}",
35
37
  "#{stimulus_name}-target": "toggle",
36
- action: "click->#{stimulus_name}#toggle #{html_attrs[:data][:action]}".rstrip,
37
- }
38
+ action: "click->#{stimulus_name}#toggle #{added_action}",
39
+ }.merge(html_attrs[:data].except(:controller, :action))
38
40
  end
39
41
 
40
42
  def before_render
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.86.7"
6
+ VERSION = "0.0.86.9"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ariadne_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.86.7
4
+ version: 0.0.86.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian