bullet_train-themes-tailwind_css 1.7.3 → 1.7.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37dfef0dcacf936084f0cbe130f6ea43024f3b7d3069a1a43cf8285d73ea1c84
|
4
|
+
data.tar.gz: 85a500a06561895845a966293c6cc6077040cb23e17c7ae5f35149bf181f84f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 641011d4b5da11df6ded8e0954f8e0b054b540adea540b77219895f93552cda893fcb3f38a7333ed7c922b043120ed4e9770a0f87f1a15693d39c2111047366c
|
7
|
+
data.tar.gz: 820438696ead75d2145be3be30419effe1e121306e10e80de00a7a1cb77498c577bf0e6cb920ce7c6d5b246595178082ea38a697d27a520901f528347274dd66
|
@@ -5,16 +5,15 @@ form ||= current_fields_form
|
|
5
5
|
# TODO: We need to do this because `options` is currently an array of strings.
|
6
6
|
# i.e. - ["One", "Two", "Three"]
|
7
7
|
if defined?(options) && options.is_a?(Array)
|
8
|
-
|
8
|
+
button_field_options = options
|
9
9
|
options = defined?(html_options) ? html_options : {}
|
10
10
|
ActiveSupport::Deprecation.new.warn(
|
11
11
|
"`options` will be replaced with `button_field_options` in a later version. " \
|
12
|
-
"Please pass all of the strings you want to appear in your buttons to `
|
12
|
+
"Please pass all of the strings you want to appear in your buttons to `button_field_options`."
|
13
13
|
)
|
14
14
|
end
|
15
15
|
|
16
16
|
options ||= {}
|
17
|
-
button_field_buttons ||= {}
|
18
17
|
other_options ||= {}
|
19
18
|
|
20
19
|
if defined?(html_options)
|
@@ -27,7 +26,7 @@ if defined?(html_options)
|
|
27
26
|
)
|
28
27
|
end
|
29
28
|
|
30
|
-
button_field_options
|
29
|
+
button_field_options ||= options_for(form, method)
|
31
30
|
|
32
31
|
options[:data] ||= {}
|
33
32
|
options[:data]["#{stimulus_controller}-target"] = 'shadowField'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-tailwind_css
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|