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: 5a7d5852d9e6fb449df8430d2dcd3950c5f3cee8f38c0692fda79698db4ad9fd
4
- data.tar.gz: 8b345973b8691246e6ea64f33db1038c14a8e27ab164dc12bd6008ebfb85752b
3
+ metadata.gz: 37dfef0dcacf936084f0cbe130f6ea43024f3b7d3069a1a43cf8285d73ea1c84
4
+ data.tar.gz: 85a500a06561895845a966293c6cc6077040cb23e17c7ae5f35149bf181f84f9
5
5
  SHA512:
6
- metadata.gz: 2169adeb90ed059e1e18b4874e8512ee74036f712d7ab0edee6818fc37988bfcf3b32bb81564dca0d6ebccee462510dab9160f8b8f8cafb38f54ec3c01613c59
7
- data.tar.gz: 9a0014000eef93726454c08d6ea7df11e2224358eeb40cd017ccc228f8a9c0c95102842b745a22521b33a90616284470dd3ed60ad88dfa7514f6b346614f3186
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
- button_field_buttons = options
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 `button_field_buttons`."
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 = options_for(form, method) if button_field_buttons.empty?
29
+ button_field_options ||= options_for(form, method)
31
30
 
32
31
  options[:data] ||= {}
33
32
  options[:data]["#{stimulus_controller}-target"] = 'shadowField'
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.7.3"
4
+ VERSION = "1.7.5"
5
5
  end
6
6
  end
7
7
  end
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.3
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-06 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard