bullet_train-themes-tailwind_css 1.7.2 → 1.7.4
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: 753740b09cb5a46630eeb44e3afddef46fecefea49c7cc896d08d1ea150e1b22
|
4
|
+
data.tar.gz: f38b0eabc06c91f278818314c292f5c65532d9a0741135756577667fa751e971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beb40a99d186f42409acbd87f8359dc0f5c567f8f2bd725dd9a0f81c28878e1492b20c4caef90be845df4173bad257f11e845b4d6e9f9b370abd5af1723a0832
|
7
|
+
data.tar.gz: 964e8460e658bb21ec49941506c90ae91d61bd3582715061637a412d20c49a0c7ae73d89e7a0b0ed84ac3ab418a56f7a6f0d2935f4f70a399a82ca47ae5f3d3a
|
@@ -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.4
|
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-
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|