satis 2.0.9 → 2.1.1

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: cf74c30badf9e24f0ecd2b80e47568dc846ad750ed5d05dad327ce0cccee0d06
4
- data.tar.gz: 81cc8495a00bcbe9d793d9dc90d7e383ce9b21f2eb9c17abc5741804d3f4841b
3
+ metadata.gz: 950e9a9dad35322c97b45ac960a2a51c1b9ebbccd88974cde2447393f983a8fe
4
+ data.tar.gz: 3aebee88a5740e8a8f71f552d069aa883458eb0d08bd8f1c99569f3e43c742b0
5
5
  SHA512:
6
- metadata.gz: 87ce373698005201b4c26ff7f37eec141e7f5f519391bbce776d10b0025d465273e810f4823887f299bcb494c1f47b8ad15fcfc982a0b25fb0ca7e272a0139f3
7
- data.tar.gz: a741e2c352826b72e0f33b53fb8210fb06462f3394fae0f5361f311a81c34e3cad0098296c7d93cb4dfe7c5a9bbc269e1bafe983b871215efda0d13c0bd7b273
6
+ metadata.gz: b01661a77ea550e6a39fde7d0b8b50c9b0eba7a68912a122ec12ce25e4e4ee2b27146919dc84271e84ef45132ba44d702bbbc767849cd6a221bd9deb1a7d6e8c
7
+ data.tar.gz: 1b20cef8cf3c25a4fdd9cfd8eeb8d3e1a4b9f2a327fee7a596554335a8f3d41cc7c31e7403d672271a9f1ed26a3fdf42109555148248b30207eff68c06c9b1b7
@@ -69,7 +69,13 @@ form {
69
69
  margin-right: 0.5rem;
70
70
 
71
71
  &:checked {
72
- @apply border border-primary-900 bg-primary-900;
72
+ @apply border border-primary-600 bg-primary-600;
73
+ }
74
+ }
75
+
76
+ .custom-checkbox {
77
+ .custom-control-label {
78
+ @apply text-sm;
73
79
  }
74
80
  }
75
81
 
@@ -51,7 +51,12 @@
51
51
  &.is-invalid {
52
52
  @apply text-red-600;
53
53
 
54
- .fa-triangle-exclamation {
54
+ a {
55
+ @apply text-red-600;
56
+ }
57
+
58
+ .fa-square-xmark {
59
+ @apply text-red-400;
55
60
  display: inline;
56
61
  }
57
62
  }
@@ -18,7 +18,7 @@
18
18
  span.relative.inline-flex.rounded-full.h-2.w-2.bg-blue-500
19
19
  span id="tab_label_#{tab.id}"
20
20
  = ct(".#{tab.name}", scope: :tab)
21
- i.fal.fa-triangle-exclamation.ml-2.hidden
21
+ i.fal.fa-square-xmark.fa-solid.ml-2.hidden
22
22
  - if tab.badge
23
23
  span.badge
24
24
  = tab.badge
@@ -411,8 +411,7 @@ module Satis
411
411
  options[:text_method] ||= options[:label_method] || :first
412
412
  form_group(method, options) do
413
413
  safe_join [
414
- label(method, options[:label]),
415
- tag.br,
414
+ (custom_label(method, options[:label], options) unless options[:label] == false),
416
415
  (send(form_builder_method, method, options[:collection], options[:value_method],
417
416
  options[:text_method]) do |b|
418
417
  tag.div(class: "custom-control #{custom_class}") do
data/lib/satis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.0.9"
2
+ VERSION = "2.1.1"
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.0.9
4
+ version: 2.1.1
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: 2024-03-29 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser