ariadne_view_components 0.0.33-x86_64-darwin → 0.0.34-x86_64-darwin

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcca520b8648c02541a004d71da8cf3d22f3b4a13f9b4f2da30311761accfefe
4
- data.tar.gz: ec38633f39495a67c81432931de8be5dbc8c0ce9837b7fc3ab24fe8ecbf5461c
3
+ metadata.gz: d30cfb4a37c28d69477a65881dd47f33443f93d17d316154bec47744e1510add
4
+ data.tar.gz: cbcda158a2783b3df2d4b911248defb721931c673164ba93b16e94faab0d8034
5
5
  SHA512:
6
- metadata.gz: 7d5e4984849bb90813c31ac8c42d088c113f500e91daaae4cf644a57cba9c9f393d7d564e02286f2092542c5e96265b69026eefbff2685d9c6fe3528212761c4
7
- data.tar.gz: b20220a29b08897f6f541d40b2ae8aaf62b69800854dff3b56d91b06cc03a625e2ea737ef06c46d8072590916ef5616033f52dba4e52a7f5a409449f2af9f804
6
+ metadata.gz: 5bdfde5f1d4d5d902880915a14f8992b355747e6e3ff866ffa70ce51c454ec33e5d8b1ca7ecf69e6eb7aae3088cea647b682d563c3620203da498a630a2cb4ce
7
+ data.tar.gz: 74d45532cd42acb78e94ae91ffad7e90e3b7ec8f34ca334451a6aa42fa0e23473ec55f72fc0e88199d867713988b9654310b564171518bf78c47fde41b484725
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-darwin
6
6
  authors:
7
7
  - Garen J. Torikian