ariadne_view_components 0.0.31 → 0.0.32
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/lib/ariadne/form_builder.rb +3 -3
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f81dbad728c32d10b6c29126dd85770477ad43754ae28315ad76b5edc40d14dc
|
4
|
+
data.tar.gz: cf3e3ea2be7ed0a3e0c729d386b7a602ece1282029f1700ea4a99169a41fc0f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a522627fd000b3aae652c926cbcef12475e4f3d99139495811eeaf9a42b4bc76fc0a0403b7e8fe8717ac60919b508fb19af2a5010156faa2a6e12e5c35a3cd15
|
7
|
+
data.tar.gz: 26abc9415be29fdb7f7b3c1fc7d3e3fb01cbf9e019a78b6ff4bcae027b82e35370d4d33ab9a13e5480428e032d9d41136736c7172cbdee853c0ad0133fd020cc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.0.32](https://github.com/yettoapp/ariadne/tree/v0.0.32) (2023-03-21)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.31...v0.0.32)
|
6
|
+
|
3
7
|
## [v0.0.31](https://github.com/yettoapp/ariadne/tree/v0.0.31) (2023-03-21)
|
4
8
|
|
5
9
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.30...v0.0.31)
|
@@ -41,13 +41,13 @@ module Ariadne
|
|
41
41
|
DEFAULT_CHECKBOX_CLASSES = "focus:ariadne-ring-slate-500 ariadne-h-4 ariadne-w-4 ariadne-text-slate-600 ariadne-border-slate-300 ariadne-rounded"
|
42
42
|
def check_box(object_name, method, options = {}, checked_value = "1", unchecked_value = "0")
|
43
43
|
options[:class] = class_names(DEFAULT_CHECKBOX_CLASSES, options.delete(:classes))
|
44
|
-
super(method, options, checked_value, unchecked_value)
|
44
|
+
super(object_name, method, options, checked_value, unchecked_value)
|
45
45
|
end
|
46
46
|
|
47
47
|
DEFAULT_RADIO_CLASSES = "focus:ariadne-ring-slate-500 ariadne-h-4 ariadne-w-4 ariadne-text-slate-600 ariadne-border-gray-300 ariadne-rounded"
|
48
|
-
def radio_button(method, tag_value, options = {})
|
48
|
+
def radio_button(object_name, method, tag_value, options = {})
|
49
49
|
options[:class] = class_names(DEFAULT_RADIO_CLASSES, options.delete(:classes))
|
50
|
-
super(method, tag_value, **options)
|
50
|
+
super(object_name, method, tag_value, **options)
|
51
51
|
end
|
52
52
|
|
53
53
|
DEFAULT_TEXTAREA_CLASSES = "ariadne-shadow-sm focus:ariadne-ring-slate-500 focus:ariadne-border-slate-500 ariadne-block ariadne-w-full sm:ariadne-text-sm ariadne-border ariadne-border-gray-300 ariadne-rounded-md"
|