avo 4.0.0.beta.55 → 4.0.0.beta.57

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: a62e6652a23cf4f0cb038d7a6dd2241a1759d4915099fe9314cd0e6690f7d1c3
4
- data.tar.gz: e27ccad1a6a615753d9e6a633f293e24c86097cec52a32623f3267523140bee2
3
+ metadata.gz: 4550e2e42a4ebadc2609a20669cf98e56e82ced89cd9ae2415526c78240839b7
4
+ data.tar.gz: 3dfbd62b36895c3f9005d3e9fd06d856ca351af3cbab4cbee1228db95295b3b7
5
5
  SHA512:
6
- metadata.gz: 1d41bcd58927cb23f8bd4ba7074dc2119234f678f43e5cadacbc8bcc1ee7c180632ca59fdd487554f8920d80189a13f704c82b27260c2bfb7e49557abc91e1fe
7
- data.tar.gz: dff60f5e791c88cbcf36ece2293c64f55fa418676c7d559f5356ad42def3a7c02d82b5a0282ed6676b2fe8654ac4d5adc9bdf5485bf95b8133f21b1f66d27f1b
6
+ metadata.gz: aa166a607889c4e3766bc01d85f5dafe586881af2e791b2b2e2d27070efcbeac5fda0780a0a029089e360ef34c2b6b11098fe97b760a97572bd4639c2dcb0dae
7
+ data.tar.gz: 1f49486ca0e563061d04fe4c646cd0b97df00aeddb2c965deec5505f20151d34a56044d68e797cb5156bbe8958401f859f9422a234d3f2b152cb4cfda3c4b9fd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.0.0.beta.55)
4
+ avo (4.0.0.beta.57)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -11485,7 +11485,7 @@ tag.tagify__tag {
11485
11485
  }
11486
11486
  .sidebar-section {
11487
11487
  &:not(*:first-child) {
11488
- margin-top: calc(var(--spacing) * 4);
11488
+ margin-top: calc(var(--spacing) * 5);
11489
11489
  }
11490
11490
  }
11491
11491
  .sidebar-section__header {
@@ -11523,9 +11523,6 @@ tag.tagify__tag {
11523
11523
  width: 100%;
11524
11524
  flex-direction: column;
11525
11525
  }
11526
- .sidebar-section__items > .sidebar-link:first-child {
11527
- margin-top: calc(var(--spacing) * -2);
11528
- }
11529
11526
  .sidebar-section__items:not(:has(.sidebar-link__icon-wrapper)) .sidebar-link {
11530
11527
  gap: calc(var(--spacing) * 0);
11531
11528
  }
@@ -11562,9 +11559,6 @@ tag.tagify__tag {
11562
11559
  width: 100%;
11563
11560
  flex-direction: column;
11564
11561
  }
11565
- .sidebar-group__items > .sidebar-link:first-child {
11566
- margin-top: calc(var(--spacing) * -2);
11567
- }
11568
11562
  .sidebar-group__items:not(:has(.sidebar-link__icon-wrapper)) .sidebar-link {
11569
11563
  gap: calc(var(--spacing) * 0);
11570
11564
  }
@@ -83,7 +83,7 @@
83
83
  /* ================================================ */
84
84
 
85
85
  .sidebar-section {
86
- @apply not-first:mt-4;
86
+ @apply not-first:mt-5;
87
87
  }
88
88
 
89
89
  .sidebar-section__header {
@@ -104,11 +104,6 @@
104
104
  @apply w-full flex flex-col;
105
105
  }
106
106
 
107
- /* Pull the first link a bit closer to the header above it */
108
- .sidebar-section__items > .sidebar-link:first-child {
109
- @apply -mt-2;
110
- }
111
-
112
107
  /* Remove link gap when no items in the section have icons */
113
108
  .sidebar-section__items:not(:has(.sidebar-link__icon-wrapper)) .sidebar-link {
114
109
  @apply gap-0;
@@ -137,11 +132,6 @@
137
132
  @apply w-full flex flex-col;
138
133
  }
139
134
 
140
- /* Pull the first link a bit closer to the header above it */
141
- .sidebar-group__items > .sidebar-link:first-child {
142
- @apply -mt-2;
143
- }
144
-
145
135
  /* Remove link gap when no items in the group have icons */
146
136
  .sidebar-group__items:not(:has(.sidebar-link__icon-wrapper)) .sidebar-link {
147
137
  @apply gap-0;
@@ -143,8 +143,8 @@ class Avo::Index::ResourceControlsComponent < Avo::ResourceComponent
143
143
  end
144
144
 
145
145
  def render_order_controls(control)
146
- if Avo.plugin_manager.installed?("avo-records_reordering") && try(:can_reorder?)
147
- render Avo::RecordsReordering::ButtonsComponent.new resource: @resource, reflection: @reflection, view_type: @view_type
146
+ if Avo.plugin_manager.installed?("avo-record_reordering") && try(:can_reorder?)
147
+ render Avo::RecordReordering::ButtonsComponent.new resource: @resource, reflection: @reflection, view_type: @view_type
148
148
  end
149
149
  end
150
150
 
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.0.0.beta.55" unless const_defined?(:VERSION)
2
+ VERSION = "4.0.0.beta.57" unless const_defined?(:VERSION)
3
3
  end
@@ -100,7 +100,7 @@ task "avo:sym_link" do
100
100
  end
101
101
 
102
102
  gem_paths = `bundle list --paths 2>/dev/null`.split("\n")
103
- ["avo-advanced", "avo-pro", "avo-advanced_search", "avo-authorization", "avo-records_reordering", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban", "avo-forms"].each do |gem|
103
+ ["avo-advanced", "avo-pro", "avo-advanced_search", "avo-authorization", "avo-record_reordering", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban", "avo-forms"].each do |gem|
104
104
  path = gem_paths.find { |gem_path| gem_path.include?("/#{gem}-") }
105
105
 
106
106
  # If path is nil we check if package is defined outside of root (on release process it is)
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: 4.0.0.beta.55
4
+ version: 4.0.0.beta.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin