ariadne_view_components 0.0.33-arm64-darwin → 0.0.34-arm64-darwin

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: 0e1103f7c82df8e9ec362fdc95d7970f763edb17581d2725a11a1965ebcdb94a
4
- data.tar.gz: 96b53397ca9c11a683cf59745e8725fbb529c62469ed7a3ce8e18a54d7fe784a
3
+ metadata.gz: c79b42541e67d7c2fb5ffc4ab77b05395381d61b0204ad82fe6866a5e869ddf2
4
+ data.tar.gz: 5f48e8d83952af07b75daaed1a7ab99d8330f64cb2be41ecabb6cbb4f1c21e68
5
5
  SHA512:
6
- metadata.gz: fe7d5854ae04a08e43216466650a11b0abe13af8257e7be4e235a37a62fa1effa0a3d837662f8dfd76488541fed4ed81ead078a2bff5a8da258b33656f7a4d43
7
- data.tar.gz: 17801a1ebca807b7ef9214f899ff4b81bcec348580b65a768136f99a1c331e19120f81e7207e04cdee5a5a2c242042aeceb25572bb52465ed6b37e05c6c76edc
6
+ metadata.gz: a12546382d48b0c4f961c59882a740a98df95fc79492ba0968b8d593d06261c43c9b09a311802893d4154c1ea0754917a3cd8f9d79938c0799fb9e10e3028064
7
+ data.tar.gz: 9e5928dc2b4c7373f6c714401ad4fd6b86ed011aa278c1cd8cdb6e26ecea19dd1b37ef8fa25e30dab9bb06f9720667bb147c8cb55ee4baf60dedc8c2969b40c5
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: arm64-darwin
6
6
  authors:
7
7
  - Garen J. Torikian