ariadne_view_components 0.0.33-x86_64-linux → 0.0.34-x86_64-linux

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: 431dc488499241be53dc8c06bc155a40a1086cf3f2937602aaaeec33d4302975
4
- data.tar.gz: 07d33789d76b59ba2e7d1d477f95ea3d2aeeb59003d1884190b72559369e0157
3
+ metadata.gz: 502194511ede559ea4809d88d84c7ceb418f9ad9094379b8074342d0c032e169
4
+ data.tar.gz: 8f93db14258a3655f3661f1e3330bbb69da374171145c5012d6824921fba18b0
5
5
  SHA512:
6
- metadata.gz: fba39360e29ad1290b4595ab9199a70377d5b6170357f5b356ba2b0152320489f6988ed81e6345356d0fbb7cb69330e2790dd2c688dcfc79a4ffc786b7d2e912
7
- data.tar.gz: f0241a6135a27743c18d55f778717651d19c1631ad47f937feb9318c57a17032c38824c63dd1b3887c9ca0572f107d3153286d71f0183328b3534c2fa502cd30
6
+ metadata.gz: c6c01dbe3472152de952873cfc3a6cba5c71a825fc3f78e874428e9a3b8f7e08f3b16f71b1bc7751ff33bb70acaed2ea556cdbe4a0411b58d10b27917bb9bb4e
7
+ data.tar.gz: 7bbd00d6af3439d47b7ba9c68dcc387ed06a19a6b75bafa7a9cd334fdadb357c0058f8a969d6410a7979d86a0afc033240b386798577b90327cfcaf98a4ace1f
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: x86_64-linux
6
6
  authors:
7
7
  - Garen J. Torikian