avo 2.24.0 → 2.24.1

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: 60faee4dc37aadd6cd825e07a6b0f75cb99d7d11b49ecf2cebd8f88862dc1899
4
- data.tar.gz: 12aa335762c14fe85e18b61931dec31e97afa71a86c5f048a33d7f18fdec1201
3
+ metadata.gz: fd9af86b6e3a217455a722a02f0e63ac1730f3d38bc8cf437c2e7acf51e42393
4
+ data.tar.gz: 3ec156f8d9aa616fe254d91f676d365ce949407c7496b9deac4147213ac25868
5
5
  SHA512:
6
- metadata.gz: ac936588c00117a18bfb5515450c044787851fa95fde94e63f1d74ad7dfb3d1b7b1f72401764dd72ed0b7207e48e27aa3520663b1044377f9208f5b1707add7d
7
- data.tar.gz: bbb926db8935c89225a99a8e4f56cfce3d2f3e6c1a5fa5cfa234e8b99f0df7f6ad20c871bfe7a535e4be916eed6db2e0b279752302772665e9a847fe12c6958e
6
+ metadata.gz: 6b36e26266d5f1db62580fcc1504e413bb037d5da0a6381bb7cb4785d9db64486f2c2d57d75ebb17ed1b8f21252bbda1c4ef2140ed659bfe62c2117a5c331955
7
+ data.tar.gz: 365bb62634783fb83f3a0a3e88fa48f0f35ab64eae9ddeca321ed91f8c1fdaf5468f99e851beb602c2688b2a20db0b956143850e3e09006c07807f6384178837
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.24.0)
4
+ avo (2.24.1)
5
5
  actionview (>= 6.0)
6
6
  active_link_to
7
7
  activerecord (>= 6.0)
@@ -264,7 +264,7 @@ GEM
264
264
  nokogiri (1.13.10-x86_64-linux)
265
265
  racc (~> 1.4)
266
266
  orm_adapter (0.5.0)
267
- pagy (6.0.0)
267
+ pagy (6.0.1)
268
268
  parallel (1.22.1)
269
269
  parser (3.2.0.0)
270
270
  ast (~> 2.4.1)
@@ -407,7 +407,7 @@ GEM
407
407
  tzinfo (2.0.5)
408
408
  concurrent-ruby (~> 1.0)
409
409
  unicode-display_width (2.4.0)
410
- view_component (2.81.0)
410
+ view_component (2.82.0)
411
411
  activesupport (>= 5.2.0, < 8.0)
412
412
  concurrent-ruby (~> 1.0)
413
413
  method_source (~> 1.0)
@@ -44,7 +44,13 @@
44
44
  ""
45
45
  end
46
46
  %>
47
- <th class="text-left uppercase px-3 py-3 whitespace-nowrap rounded-l" data-control="resource-field-th">
47
+ <%= content_tag :th,
48
+ class: "text-left uppercase px-3 py-3 whitespace-nowrap rounded-l",
49
+ data: {
50
+ control: "resource-field-th",
51
+ table_header_field_id: field.id,
52
+ table_header_field_type: field.type,
53
+ } do %>
48
54
  <% if field.sortable %>
49
55
  <%= link_to params.permit!.merge(sort_by: sort_by, sort_direction: sort_direction), class: "flex items-center #{classes} #{'cursor-pointer' if field.sortable}", 'data-turbo-frame': params[:turbo_frame] do %>
50
56
  <%= field.name %>
@@ -55,7 +61,7 @@
55
61
  <%= field.name %>
56
62
  </div>
57
63
  <% end %>
58
- </th>
64
+ <% end %>
59
65
  <% end %>
60
66
  <% if Avo.configuration.resource_controls_on_the_right? %>
61
67
  <th class="w-24" data-control="resource-controls-th">
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.24.0" unless const_defined?(:VERSION)
2
+ VERSION = "2.24.1" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.0
4
+ version: 2.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-01-17 00:00:00.000000000 Z
12
+ date: 2023-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord