anchor_view_components 0.5.1 → 0.5.2

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: 382e8e978cc7065db7f4c5a20f078f809ed145e04de7e2ecc141c25053284b86
4
- data.tar.gz: 85dcfe3378cd3553b854fb2ae0fb826b50fa19fcf3c03a4042f1513d4016bcdc
3
+ metadata.gz: 5f287c8c3107f9d21f9b03cf33dc21600cd9c83554138e1d91990679781647f2
4
+ data.tar.gz: 70e69cc33ee9dbea489980550a6634fad08dceb7094fa0b57790afecd64f9eb6
5
5
  SHA512:
6
- metadata.gz: d82917ae84dcc9f5af77a4c3f33869c0af50d1314fef6fa8cd415af4b2d5ab439a6a8aa98540f93edaf721866f7094437e34e3c02c9f4be6e411c047fcc6d2d4
7
- data.tar.gz: c5372641f3417983cddd8b2bf47842cc6809a186179a73d0ea97cc0b89107b712d1aa569cfa19f6ab482f24001a9b572ae02d27dc7f5b46798676bd1263e3013
6
+ metadata.gz: 4928b0bd5aebae356d388da7bb55721004ff5449b5f930b5a5daf57f66837d9ffec4d1aa9d6a24b883b0f3e81d00d17b8f8a4d494f5c10f2a51e1530e895ee89
7
+ data.tar.gz: 64807a3d49af6290924159975744c4b1edbb5b40674f209870eb381763c1ec0d21a467bfd5097743bf54c625159d1035ca50979630e42076915ff970a23b2590
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.2 - 2023-08-08
4
+
5
+ ### Changed
6
+
7
+ - Change `DialogComponent` to allow passing attributes to underlined trigger button.
8
+
3
9
  ## 0.5.1 - 2023-08-07
4
10
 
5
11
  ### Changed
@@ -1,7 +1,10 @@
1
1
  module Anchor
2
2
  class DialogComponent < Component
3
- renders_one :show_button, -> do
4
- ButtonComponent.new(data: { action: "dialog#showModal" })
3
+ renders_one :show_button, ->(**kwargs) do
4
+ ButtonComponent.new(
5
+ data: { action: "dialog#showModal" },
6
+ **kwargs
7
+ )
5
8
  end
6
9
  renders_one :body
7
10
  renders_one :footer
@@ -1,5 +1,5 @@
1
1
  module Anchor
2
2
  module ViewComponents
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anchor_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Buoy Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-07 00:00:00.000000000 Z
11
+ date: 2023-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inline_svg