ariadne_view_components 0.0.32-x64-mingw-ucrt → 0.0.33-x64-mingw-ucrt
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 +4 -4
- 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: 803c2fa4e7bb93a0217adaf386ddd947d3995f88eb1ef5fe73aa9a5710026be9
|
4
|
+
data.tar.gz: a087b0c29e0dd40b94404c4dd90343b1a4ba18383e24445aaca97fa9f8e39eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 149eb9cbded86bb79029a3cf942ee37da3813c92afb7d2f29deed8ae28b698836803c4b6224bee9f21acc78edefaaa06338e23aa46fbca51099e55e2edd2a956
|
7
|
+
data.tar.gz: 6802aec65b2ad7a5c28de861e657a0c9784739e29019f681727191aa3b9b8dfa71a5d89c105d5dbdfd0d657bf175ff06f77a2ec6bb91034b3e1df7b0123fb9ce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.0.33](https://github.com/yettoapp/ariadne/tree/v0.0.33) (2023-03-21)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.32...v0.0.33)
|
6
|
+
|
3
7
|
## [v0.0.32](https://github.com/yettoapp/ariadne/tree/v0.0.32) (2023-03-21)
|
4
8
|
|
5
9
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.31...v0.0.32)
|
@@ -39,15 +39,15 @@ module Ariadne
|
|
39
39
|
end
|
40
40
|
|
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
|
-
def check_box(
|
42
|
+
def check_box(method, options = {}, checked_value = "1", unchecked_value = "0")
|
43
43
|
options[:class] = class_names(DEFAULT_CHECKBOX_CLASSES, options.delete(:classes))
|
44
|
-
super(
|
44
|
+
super(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(
|
48
|
+
def radio_button(method, tag_value, options = {})
|
49
49
|
options[:class] = class_names(DEFAULT_RADIO_CLASSES, options.delete(:classes))
|
50
|
-
super(
|
50
|
+
super(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"
|