satis 2.1.61 → 2.1.62

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: 061bf1edddfde525ee223cd979a02df4d7fd1b7d3692d5618625c71db7181903
4
- data.tar.gz: 95da7c206c9d6c5a652b7104619381aac17cc7817b30fb27093eaf09df4f541f
3
+ metadata.gz: e2140ef631e3f79034be38c47c204c5261cd8045a4da09bfa781002d2ed858a0
4
+ data.tar.gz: 875613115ccdea9a294c08f6bba283316a4fb2ea4b5300a538bd20506b971b8a
5
5
  SHA512:
6
- metadata.gz: a32a57d5bfc6b3d42e81e53928d07d498e3ea115b11c4d573bb55f9d4dc436905d8c2ec7b0233445668df74b4353f238b5226f6f358bfcc727bb8019f520b423
7
- data.tar.gz: 5c85fbbf5858d795f988561a171bf5b668b9aa63d0fd3ba96566727f059e7083c72d5405eec08f902fd7d3d9d35e2c469f0fbab1bf974b21ca306d85c89a2c83
6
+ metadata.gz: b860a1fcdaa917ba2626db31bc06026fb41ef621439cc96b3ba17010f84ce8f7834370fefbd79ea1bf278d28c583db54d4cbfcabc10698da72cb253dafe28a0a
7
+ data.tar.gz: 7c7aa7776086015f8aa60757473f832fe946d7a982e94c40d3f3fd635c157624c0787fc37747203c6fa2494987918f7691ed638b2efeada2f5df108d69dc5c98
@@ -60,7 +60,8 @@ form {
60
60
  }
61
61
 
62
62
  input.is-invalid,
63
- select.is-invalid {
63
+ select.is-invalid,
64
+ .w-full.sts-dropdown.is-invalid {
64
65
  @apply border-red-300 dark:border-red-500 text-red-900 placeholder-red-300 focus:outline-none focus:ring-red-500 focus:border-red-500;
65
66
  border: 1px solid red;
66
67
  border-radius: 0.375rem;
@@ -8,11 +8,11 @@ div.satis-dropdown data-action="keydown->satis-dropdown#dispatch" data-controlle
8
8
  .flex.flex-col
9
9
  div.hidden.py-1 data-satis-dropdown-target="pills"
10
10
  .flex.flex-col.items-center
11
- .w-full.sts-dropdown
11
+ .w-full.sts-dropdown class=input_class
12
12
  .h-12.p-1.flex.rounded
13
13
  .flex.flex-auto.flex-wrap.sts-dropdown-input
14
14
  / Input where you can search
15
- input.focus:ring-0.border-none.p-1.px-2.appearance-none.w-full.sts-dropdown-input.text-gray-800.dark:text-gray-300 class=input_class data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
15
+ input.focus:ring-0.border-none.p-1.px-2.appearance-none.w-full.sts-dropdown-input.text-gray-800.dark:text-gray-300 data-action="input->satis-dropdown#search" data-satis-dropdown-target="searchInput" placeholder=placeholder autofocus=options[:autofocus]
16
16
  div
17
17
  / Reset button
18
18
  - unless @reset_button == false
@@ -111,7 +111,7 @@ module Satis
111
111
  end
112
112
 
113
113
  def input_class
114
- [@options.fetch(:input_html, {}).fetch(:class, ""), "sts-input__input", form.has_error?(attribute) ? "is-invalid" : ""].join(" ")
114
+ [@options.fetch(:input_html, {}).fetch(:class, ""), form.has_error?(attribute) ? "is-invalid" : ""].join(" ")
115
115
  end
116
116
  end
117
117
  end
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.1.61"
2
+ VERSION = "2.1.62"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.61
4
+ version: 2.1.62
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-19 00:00:00.000000000 Z
11
+ date: 2025-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser