ariadne_view_components 0.0.33-aarch64-linux → 0.0.34-aarch64-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: 487959e1068030b101d9985bcb2b97201b74ec26f1b1c5a9f7824727c7fc12bb
4
- data.tar.gz: 9c6e6ad38b4a1ebfdd789fd06d45bd5402b230b1439b12ec879f9e5a512c0b6a
3
+ metadata.gz: 9a26f894a8a0ae59f34c43218c86174a4726efab275ad6ed6a2bd55c3b4c2e14
4
+ data.tar.gz: e56925765d7dafa2d3556eaee54f797b7f7f47875a78920493b71a2b92a11f7a
5
5
  SHA512:
6
- metadata.gz: 0fccebf60e809834c98203e251350c661307edc070bed08c1bf599619821db2865c671c6fc3a19e095f6b4323215e011b2d344dc09328a9229071e3016b228ac
7
- data.tar.gz: 4fe83b499dc7c8163eb6d11448adf82a3b500b0f0c0aec8cdbd820cedc44ad1d14b176818c62124f42e1ab823349ffd18f6dec78e463318eb8719896b5ba597a
6
+ metadata.gz: d3335d40c5ee573a8b25e2153ef1fc850240be611bfdea9f46fbb83abaa49cd6d9f943d7653800b26dc514a3ea612d8d90d73f7b4d28855e5b8053f084032a08
7
+ data.tar.gz: 172c7322f75053d03bf77100c0419a5ae207ae6339b6d41977a6936a2822eb1aa9d0a3055ad56d5414f812b934f6a98467d14a9c5155e1fab7d0fa43a2a8c6d2
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: aarch64-linux
6
6
  authors:
7
7
  - Garen J. Torikian