satis 2.0.9 → 2.1.0

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: 8f91c8c6daa20c366d35d13987b245f216d1b550a693813e7f32e0af4c3b2c66
4
+ data.tar.gz: 747f802bb8212519905a86b44330e1bcd0e297f1a9fedfa0930e7be525a8a93f
5
5
  SHA512:
6
- metadata.gz: 87ce373698005201b4c26ff7f37eec141e7f5f519391bbce776d10b0025d465273e810f4823887f299bcb494c1f47b8ad15fcfc982a0b25fb0ca7e272a0139f3
7
- data.tar.gz: a741e2c352826b72e0f33b53fb8210fb06462f3394fae0f5361f311a81c34e3cad0098296c7d93cb4dfe7c5a9bbc269e1bafe983b871215efda0d13c0bd7b273
6
+ metadata.gz: 3f5e8c79720994c1d0bd2de4a1e198246e44005231bb6d4bf2258ca67ae0115404627310d39a57ab1b9b4ecfeb7d037e7863de7bcaff047fcb6e9311a65f406b
7
+ data.tar.gz: 6e1bea1edb2d629af392f10dc06fc57e039285dd9ed7ed3a312a31f50dc2418e72db646dcac99ba6aeb2e3c601d4ea72d8be0448c72943316d714d38bfef9d58
@@ -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
 
@@ -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.0"
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.0
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-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser