ariadne_view_components 0.0.33-x64-mingw-ucrt → 0.0.34-x64-mingw-ucrt

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: 803c2fa4e7bb93a0217adaf386ddd947d3995f88eb1ef5fe73aa9a5710026be9
4
- data.tar.gz: a087b0c29e0dd40b94404c4dd90343b1a4ba18383e24445aaca97fa9f8e39eef
3
+ metadata.gz: 878fb0b2c4ee8299a36d8ba007c44c314452db795f9ea3bc2026452fdad95483
4
+ data.tar.gz: 60f95a97917306108aaa283482e8fa4d6d2487bbc8c8a3aac99473d0d04bf6da
5
5
  SHA512:
6
- metadata.gz: 149eb9cbded86bb79029a3cf942ee37da3813c92afb7d2f29deed8ae28b698836803c4b6224bee9f21acc78edefaaa06338e23aa46fbca51099e55e2edd2a956
7
- data.tar.gz: 6802aec65b2ad7a5c28de861e657a0c9784739e29019f681727191aa3b9b8dfa71a5d89c105d5dbdfd0d657bf175ff06f77a2ec6bb91034b3e1df7b0123fb9ce
6
+ metadata.gz: 0f697adb35f0522c3a3be9e31a09bc09bbb786497ee3f73dd505bf5b46e921bed19b0b6377cf3151b75a2fbba0e1407d59382664a42a1e005bf41e51524d68f1
7
+ data.tar.gz: 75fd6867e31caa5eba510192e0124fccbe972bb0f8747cee4d53ef09e42287f78ff77fe654fdb83ec95f88390bdfb3a8236de0a2da90e2c385e7997baed9f7c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.34](https://github.com/yettoapp/ariadne/tree/v0.0.34) (2023-03-21)
4
+
5
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.33...v0.0.34)
6
+
3
7
  ## [v0.0.33](https://github.com/yettoapp/ariadne/tree/v0.0.33) (2023-03-21)
4
8
 
5
9
  [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.32...v0.0.33)
@@ -2,6 +2,9 @@
2
2
 
3
3
  module Ariadne
4
4
  # :nodoc:
5
+ # Many of the form methods simply call out to the corresponding ActionView::Helpers::FormBuilder methods,
6
+ # documented at https://api.rubyonrails.org/classes/ActionView/Helpers/FormBuilder.html, with
7
+ # default Tailwind classes applied.
5
8
  class FormBuilder < ActionView::Helpers::FormBuilder
6
9
  include ClassNameHelper
7
10
 
@@ -27,9 +30,9 @@ module Ariadne
27
30
  end
28
31
 
29
32
  DEFAULT_LABEL_CLASSES = "ariadne-block ariadne-text-sm ariadne-font-medium ariadne-text-gray-700 ariadne-pl-2"
30
- def label(object_name, content, options = {}, &block)
33
+ def label(method, text = nil, options = {}, &block)
31
34
  options[:class] = class_names(DEFAULT_LABEL_CLASSES, options.delete(:classes))
32
- super(object_name, content, options, &block)
35
+ super(method, text, options, &block)
33
36
  end
34
37
 
35
38
  DEFAULT_TEXT_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-gray-300 ariadne-rounded-md"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.33"
5
+ VERSION = "0.0.34"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ariadne_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.34
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian