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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2140ef631e3f79034be38c47c204c5261cd8045a4da09bfa781002d2ed858a0
|
4
|
+
data.tar.gz: 875613115ccdea9a294c08f6bba283316a4fb2ea4b5300a538bd20506b971b8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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, ""),
|
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
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.
|
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-
|
11
|
+
date: 2025-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser
|