bullet_train-themes-light 1.6.35 → 1.6.37

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: 9c7aa1e0cca00f87c44c5a87039174a32ed871ee15f8ffe872e515d7c833f75a
4
- data.tar.gz: 04bd1e11789bdfb286fefb1ad6f99ed6611329d112ec6df934762f88b0bf75b5
3
+ metadata.gz: d10fe18d52087097debcd17d16136648e8c35a8dacad048d3dcf1151417b6859
4
+ data.tar.gz: 7a058416eb46295a2229869ef36faf3da15a7c842896700baabaf8debdef2be0
5
5
  SHA512:
6
- metadata.gz: 158ef586b20e7213cdb28706f48a74e094d037d5aa8026faded3baaf09f37a33e5b788ffe4577b7db0226a1367435fb9146c33ce73603ff678c7fd68d5bb1909
7
- data.tar.gz: 37894f879f1dc89f8c277fbc1bf28aae354ac34b7684ce210f1ae2d83a85a567796166c828c0ff0ac6bc1ab1f73a29085aee9d20f7a60a2ee2a5f786fd379612
6
+ metadata.gz: 2b3bb11947c5b11b6dad22b2dc8eedf2b3dbc7762215e279f80b9064b59ce6c5d310f0c2a5fa43be9b8df4f8df14e73c0e33298a045d6c78af516b77c0c174b3
7
+ data.tar.gz: 96a9c582c04cb972d1d23aa490026d5d34d27dbacafa2818c0c5a5725c0168e390dbd73f4a97edec8a0acc2ebde89dd950068dcf76b5694b438c2fcaea9a81a5
@@ -40,7 +40,6 @@
40
40
  document.querySelector("main").style.paddingBottom = selectorNode.offsetHeight + "px"
41
41
  }
42
42
 
43
- document.addEventListener("DOMContentLoaded", placeThemeSelector);
44
43
  document.addEventListener("turbo:load", placeThemeSelector);
45
44
  </script>
46
45
 
@@ -27,7 +27,7 @@ if other_options[:required]
27
27
  options[:"aria-required"] = true
28
28
  end
29
29
 
30
- errors = [method, method.to_s.gsub(/_id$/, '').to_sym].uniq.map { |attribute| form.object.errors.full_messages_for(attribute) }.flatten
30
+ errors = [method, method.to_s.delete_suffix("_id").to_sym].uniq.map { |attribute| form.object.errors.full_messages_for(attribute) }.flatten
31
31
  has_errors = errors.any? || partial.error? || other_options[:error].present?
32
32
 
33
33
  options[:class] = "#{options[:class]} block w-full rounded-md shadow-sm font-light dark:bg-slate-800 dark:text-slate-300"
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.6.35"
4
+ VERSION = "1.6.37"
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-light
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.35
4
+ version: 1.6.37
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-03-01 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard