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 +4 -4
- data/CHANGELOG.md +6 -0
- data/app/components/anchor/dialog_component.rb +5 -2
- data/lib/anchor/view_components/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: 5f287c8c3107f9d21f9b03cf33dc21600cd9c83554138e1d91990679781647f2
|
4
|
+
data.tar.gz: 70e69cc33ee9dbea489980550a6634fad08dceb7094fa0b57790afecd64f9eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4928b0bd5aebae356d388da7bb55721004ff5449b5f930b5a5daf57f66837d9ffec4d1aa9d6a24b883b0f3e81d00d17b8f8a4d494f5c10f2a51e1530e895ee89
|
7
|
+
data.tar.gz: 64807a3d49af6290924159975744c4b1edbb5b40674f209870eb381763c1ec0d21a467bfd5097743bf54c625159d1035ca50979630e42076915ff970a23b2590
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
module Anchor
|
2
2
|
class DialogComponent < Component
|
3
|
-
renders_one :show_button, -> do
|
4
|
-
ButtonComponent.new(
|
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
|
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.
|
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-
|
11
|
+
date: 2023-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inline_svg
|