ariadne_view_components 0.0.33-x64-mingw32 → 0.0.34-x64-mingw32

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: 9b84e31736ea4dae0335ed22459f5ca92531c593ecd2a0cb0d681731fde4899d
4
- data.tar.gz: a60f5b767e9f2a3708218378c6d3fdba4834d9090332b0a8b59ff1d3f4d76bcb
3
+ metadata.gz: bedd978e7fef0833e2ec82e63e5f7585da6761051c5ef287f6ff0150701e5ed9
4
+ data.tar.gz: 1008c87cf1fcc5c7b04d321ba75ae15370c9cefe18dea69be6ded686858e054d
5
5
  SHA512:
6
- metadata.gz: 9463f9187dbfb64a778fce2b3200b32282f520e296edead4a36e67be035cd2e41ef3a9d20ad22cc2b8eb4614e8413d32c7ee914f8aacaaa50845126a79908901
7
- data.tar.gz: 325baca5fcbe0beb8eeeda20411835f64c04136e688a6034d85e11141f791ac14292229046fd5120edb7c8424e502852c335bdb53d22aacf0774a2c995921432
6
+ metadata.gz: 681d5f5eaeb762c6e27b2b2907cb335dc09f1de07f3b1be11e9941821b23810d18d82ee5828d87584622a593d51a7342139bdd3040a61ea96bd9fb53fb136152
7
+ data.tar.gz: 96812982275eac3d55867a8a6dd407c696fdfd6cd4add27b99b5da301f14e78ca25fd8b80d2606c29382a0f47e405531ef1abc44e67a1154e0e9ec7501135009
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-mingw32
6
6
  authors:
7
7
  - Garen J. Torikian