tybo 0.3.19 → 0.3.20

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: 5fa22fc601913bf1aae5be6248ff79547787487e9ee1aba09d1c90284611b07b
4
- data.tar.gz: e80f52b39e0457de3aadc41341a68da323f80f850724d1766912267c29231835
3
+ metadata.gz: 85ed3bbf8ec48128263b509e2d994dc5db8bb9c9e46ce1ad811a3d87d7ee3bfd
4
+ data.tar.gz: db1e30bc88f1c93ac90da0fd29d35012d1fe044f70205eed62db83a1c53fcf68
5
5
  SHA512:
6
- metadata.gz: '090d568923ef0c9554d115ec23d3e5b0d42502ecaca06dd7fb4430f5a854c7d35eba1049be9cec0c1ccf6c819e4e7985f56e3a22a404a76ca518fdcb06cef0c5'
7
- data.tar.gz: 728c0c5c3d7260b88f5756456f307863e427441c924bb42cd8626ffed46e0e5a97b5b0d5457ecfc29a2fd8042bd4503fa1659a9e1eac35ef30924848e9ce0fda
6
+ metadata.gz: 9a1693fc7f40b108b5eb4fb78964276efa90b12f04c23bc3fe9745a82290f44736c0522e0535e51399dc56400a2ec2459e0674c3227d4b78aa73fcfc9d6f545f
7
+ data.tar.gz: a2f35bfbd8de7944c44cd5fffef5f3da6f16174baadc6ce063ae2a9bf3816b9fd4ed215a3c11efd12a4e934b28d014fefc5580282f2b18bb8c13cde14380c4db
@@ -1,3 +1,3 @@
1
- <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900">
1
+ <th class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900">
2
2
  <%= content %>
3
3
  </th>
@@ -10,4 +10,16 @@ Ransack.configure do |config|
10
10
  formatter: proc { |v| v.end_of_day },
11
11
  validator: proc { |v| v.present? },
12
12
  type: :date
13
+
14
+ config.custom_arrows = {
15
+ default_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
16
+ <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" />
17
+ </svg>',
18
+ up_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
19
+ <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" />
20
+ </svg>',
21
+ down_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
22
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
23
+ </svg>'
24
+ }
13
25
  end
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.3.19'
2
+ VERSION = '0.3.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.19
4
+ version: 0.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-27 00:00:00.000000000 Z
12
+ date: 2024-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails