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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4550e2e42a4ebadc2609a20669cf98e56e82ced89cd9ae2415526c78240839b7
|
|
4
|
+
data.tar.gz: 3dfbd62b36895c3f9005d3e9fd06d856ca351af3cbab4cbee1228db95295b3b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa166a607889c4e3766bc01d85f5dafe586881af2e791b2b2e2d27070efcbeac5fda0780a0a029089e360ef34c2b6b11098fe97b760a97572bd4639c2dcb0dae
|
|
7
|
+
data.tar.gz: 1f49486ca0e563061d04fe4c646cd0b97df00aeddb2c965deec5505f20151d34a56044d68e797cb5156bbe8958401f859f9422a234d3f2b152cb4cfda3c4b9fd
|
data/Gemfile.lock
CHANGED
|
@@ -11485,7 +11485,7 @@ tag.tagify__tag {
|
|
|
11485
11485
|
}
|
|
11486
11486
|
.sidebar-section {
|
|
11487
11487
|
&:not(*:first-child) {
|
|
11488
|
-
margin-top: calc(var(--spacing) *
|
|
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-
|
|
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-
|
|
147
|
-
render Avo::
|
|
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
data/lib/tasks/avo_tasks.rake
CHANGED
|
@@ -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-
|
|
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)
|