avo 4.0.0.beta.6 → 4.0.0.beta.8
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 +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +9 -5
- data/Rakefile +11 -0
- data/app/assets/builds/avo/application.css +320 -55
- data/app/assets/builds/avo/application.js +277 -277
- data/app/assets/builds/avo/application.js.map +4 -4
- data/app/assets/stylesheets/application.css +2 -0
- data/app/assets/stylesheets/css/components/alert.css +72 -0
- data/app/assets/stylesheets/css/components/button.css +11 -1
- data/app/assets/stylesheets/css/components/ui/description_list.css +1 -1
- data/app/assets/stylesheets/css/components/ui/dropdown.css +30 -5
- data/app/assets/stylesheets/css/components/ui/dropdown_card.css +8 -0
- data/app/assets/stylesheets/css/layout.css +1 -0
- data/app/assets/stylesheets/css/typography.css +4 -0
- data/app/assets/stylesheets/css/variables.css +2 -2
- data/app/components/avo/alert_component.html.erb +29 -21
- data/app/components/avo/alert_component.rb +30 -24
- data/app/components/avo/base_component.rb +4 -0
- data/app/components/avo/developer_warning_component.html.erb +15 -0
- data/app/components/avo/developer_warning_component.rb +26 -0
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +79 -77
- data/app/components/avo/items/panel_component.html.erb +3 -0
- data/app/components/avo/items/panel_component.rb +33 -0
- data/app/components/avo/keyboard_shortcuts_component.rb +2 -1
- data/app/components/avo/referrer_params_component.html.erb +1 -1
- data/app/components/avo/u_i/dropdown_card_component.html.erb +9 -0
- data/app/components/avo/u_i/dropdown_card_component.rb +9 -0
- data/app/components/avo/u_i/dropdown_menu_component.html.erb +1 -1
- data/app/components/avo/views/resource_show_component.rb +1 -1
- data/app/controllers/avo/base_application_controller.rb +0 -1
- data/app/controllers/avo/base_controller.rb +5 -3
- data/app/helpers/avo/application_helper.rb +5 -3
- data/app/javascript/application.js +21 -3
- data/app/javascript/js/controllers/index_row_navigator_controller.js +12 -9
- data/app/javascript/js/global_hotkeys.js +20 -0
- data/app/views/avo/base/preview.html.erb +2 -2
- data/app/views/avo/partials/_javascript.html.erb +4 -0
- data/app/views/layouts/avo/application.html.erb +1 -1
- data/avo.gemspec +2 -2
- data/bin/test +8 -5
- data/lib/avo/asset_manager.rb +0 -2
- data/lib/avo/configuration.rb +13 -0
- data/lib/avo/current.rb +11 -0
- data/lib/avo/discreet_information.rb +2 -0
- data/lib/avo/fields/concerns/has_html_attributes.rb +1 -1
- data/lib/avo/resources/array_resource.rb +4 -0
- data/lib/avo/resources/items/item_group.rb +4 -0
- data/lib/avo/version.rb +1 -1
- data/lib/avo.rb +2 -1
- data/lib/generators/avo/resource_generator.rb +1 -1
- data/lib/generators/avo/templates/initializer/avo.tt +6 -0
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1948f12db4331c8c5d26b0e3530e612f327612747f71b34dd57b9462c44bd8a5
|
|
4
|
+
data.tar.gz: 5a808757824d134aa507c59b0b704a59f391b3cf030b91b16f95fd9fb5f7c2f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 437a8176795c24f5173118886a4c1d2d94afd8ad7c76d911879d8c8f1fd63c220ad2845b5388c3dbe1e0da6f377605353589d2d263fdd64e5eef845b06a8f5ca
|
|
7
|
+
data.tar.gz: e4adc4d4475a6a9604a01377cad9fa5163a68bcf3ac6704d88f6d98590ed2142555db5d0def4faee8c6b8c9713af8ee278a1dccd076ed6fd7e5c53487c642db1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
avo (4.0.0.beta.
|
|
4
|
+
avo (4.0.0.beta.8)
|
|
5
5
|
actionview (>= 6.1)
|
|
6
6
|
active_link_to
|
|
7
7
|
activerecord (>= 6.1)
|
|
8
8
|
activesupport (>= 6.1)
|
|
9
9
|
addressable
|
|
10
|
-
avo-icons (>= 0.1.
|
|
10
|
+
avo-icons (>= 0.1.2)
|
|
11
11
|
docile
|
|
12
12
|
meta-tags
|
|
13
13
|
pagy (>= 43.0)
|
|
14
|
-
prop_initializer (>= 0.
|
|
14
|
+
prop_initializer (>= 0.3.0)
|
|
15
15
|
turbo-rails (>= 2.0.0)
|
|
16
16
|
turbo_power (>= 0.6.0)
|
|
17
17
|
view_component (>= 3.7.0)
|
|
@@ -177,7 +177,7 @@ GEM
|
|
|
177
177
|
erubi (~> 1.4)
|
|
178
178
|
parser (>= 2.4)
|
|
179
179
|
smart_properties
|
|
180
|
-
bigdecimal (4.0
|
|
180
|
+
bigdecimal (4.1.0)
|
|
181
181
|
bindex (0.8.1)
|
|
182
182
|
bootsnap (1.18.6)
|
|
183
183
|
msgpack (~> 1.2)
|
|
@@ -500,6 +500,8 @@ GEM
|
|
|
500
500
|
uri
|
|
501
501
|
yaml
|
|
502
502
|
parallel (1.27.0)
|
|
503
|
+
parallel_tests (5.6.0)
|
|
504
|
+
parallel
|
|
503
505
|
parser (3.3.9.0)
|
|
504
506
|
ast (~> 2.4.1)
|
|
505
507
|
racc
|
|
@@ -515,7 +517,7 @@ GEM
|
|
|
515
517
|
prettyprint (0.2.0)
|
|
516
518
|
prism (1.4.0)
|
|
517
519
|
process_executer (1.3.0)
|
|
518
|
-
prop_initializer (0.
|
|
520
|
+
prop_initializer (0.3.0)
|
|
519
521
|
zeitwerk (>= 2.6.18)
|
|
520
522
|
propshaft (1.1.0)
|
|
521
523
|
actionpack (>= 7.0.0)
|
|
@@ -802,6 +804,7 @@ GEM
|
|
|
802
804
|
PLATFORMS
|
|
803
805
|
arm64-darwin-23
|
|
804
806
|
arm64-darwin-24
|
|
807
|
+
arm64-darwin-25
|
|
805
808
|
x86_64-linux
|
|
806
809
|
|
|
807
810
|
DEPENDENCIES
|
|
@@ -862,6 +865,7 @@ DEPENDENCIES
|
|
|
862
865
|
money-rails (~> 1.12)
|
|
863
866
|
net-smtp
|
|
864
867
|
openssl
|
|
868
|
+
parallel_tests
|
|
865
869
|
pg (>= 0.18, < 2.0)
|
|
866
870
|
pluggy!
|
|
867
871
|
prefixed_ids
|
data/Rakefile
CHANGED
|
@@ -4,6 +4,17 @@ rescue LoadError
|
|
|
4
4
|
puts "You must `gem install bundler` and `bundle install` to run rake tasks"
|
|
5
5
|
end
|
|
6
6
|
|
|
7
|
+
begin
|
|
8
|
+
# Only load `parallel_tests` rake tasks when we actually invoke them.
|
|
9
|
+
# Loading them for regular Rails rake tasks (eg `bin/rails db:create`) can break
|
|
10
|
+
# in CI because parallel_tests inspects database config before the Rails app is initialized.
|
|
11
|
+
if ARGV.any? { |arg| arg.start_with?("parallel:") }
|
|
12
|
+
require "parallel_tests/tasks"
|
|
13
|
+
end
|
|
14
|
+
rescue LoadError
|
|
15
|
+
# parallel_tests is an optional dev/test dependency
|
|
16
|
+
end
|
|
17
|
+
|
|
7
18
|
require "rdoc/task"
|
|
8
19
|
|
|
9
20
|
RDoc::Task.new(:rdoc) do |rdoc|
|