ariadne_view_components 0.0.86.9 → 0.0.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/components/ariadne/form/radio_button/component.rb +4 -0
- data/app/components/ariadne/ui/table/row/component.html.erb +1 -1
- data/app/components/ariadne/ui/table/row/component.rb +4 -0
- data/lib/ariadne/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: 99c01fe6b6923d0f08b21b1f6c012690e80764253b4adcd22f78d004039f96a6
|
4
|
+
data.tar.gz: ae58c8221640c2f6d50568d03a62cba7f7544b4058fe1ef17b838a0ad406936c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa1564c49cc2da76b2f1da86da3911655cba817f4ad836b538462197aa208458497be155d508e91aa832afc1f8c135a23fe6a0223f5c0fa91aff7e639c7eafb8
|
7
|
+
data.tar.gz: ea336abe38b51d3d612cfcba3679cceb47c1c042abc108f3c3e76353b7629f8d4b5d86c92a3244837bf4cbde2118546bd3d852bcbd60f8a5eb38bcb566f2776d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# [v0.0.88] - 28-08-2024
|
2
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.87...v0.0.88
|
3
|
+
# [v0.0.87] - 20-08-2024
|
4
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.9...v0.0.87
|
1
5
|
# [v0.0.86.9] - 15-08-2024
|
2
6
|
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.86.8...v0.0.86.9
|
3
7
|
# [v0.0.86.8] - 15-08-2024
|
@@ -8,6 +8,7 @@ module Ariadne
|
|
8
8
|
option :name
|
9
9
|
option :value
|
10
10
|
option :label, default: proc { false }
|
11
|
+
option :selected, default: proc { false }
|
11
12
|
|
12
13
|
option :label_classes, default: -> { "" }
|
13
14
|
option :label_arguments, default: -> { {} }
|
@@ -16,6 +17,9 @@ module Ariadne
|
|
16
17
|
html_attrs[:name] = @name
|
17
18
|
html_attrs[:value] = @value
|
18
19
|
html_attrs[:id] = id
|
20
|
+
html_attrs[:checked] = @selected
|
21
|
+
|
22
|
+
html_attrs
|
19
23
|
end
|
20
24
|
|
21
25
|
def id
|
@@ -11,6 +11,10 @@ module Ariadne
|
|
11
11
|
renders_one :row_action, Ariadne::UI::Combobox::Component
|
12
12
|
renders_many :cells, Ariadne::UI::Table::Cell::Component
|
13
13
|
|
14
|
+
accepts_html_attributes do |html_attrs|
|
15
|
+
html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(:row), html_attrs[:class]].join(" "))
|
16
|
+
end
|
17
|
+
|
14
18
|
style :row do
|
15
19
|
base do
|
16
20
|
[
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ariadne_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.88
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|