avo 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +4 -1
  4. data/app/assets/svgs/arrow-down.svg +3 -0
  5. data/app/assets/svgs/arrow-up.svg +3 -0
  6. data/app/assets/svgs/download-solid-reversed.svg +3 -0
  7. data/app/assets/svgs/download-solid.svg +3 -0
  8. data/app/assets/svgs/switch-vertical.svg +3 -0
  9. data/app/components/avo/base_component.rb +7 -0
  10. data/app/components/avo/index/grid_item_component.html.erb +1 -1
  11. data/app/components/avo/index/ordering/base_component.rb +9 -0
  12. data/app/components/avo/index/ordering/button_component.html.erb +10 -0
  13. data/app/components/avo/index/ordering/button_component.rb +31 -0
  14. data/app/components/avo/index/ordering/buttons_component.html.erb +30 -0
  15. data/app/components/avo/index/ordering/buttons_component.rb +19 -0
  16. data/app/components/avo/index/resource_controls_component.html.erb +11 -4
  17. data/app/components/avo/index/resource_controls_component.rb +6 -1
  18. data/app/components/avo/index/table_row_component.html.erb +1 -1
  19. data/app/components/avo/resource_component.rb +1 -1
  20. data/app/components/avo/turbo_frame_wrapper_component.html.erb +3 -1
  21. data/app/controllers/avo/application_controller.rb +7 -1
  22. data/app/controllers/avo/base_controller.rb +14 -1
  23. data/app/helpers/avo/url_helpers.rb +4 -0
  24. data/app/javascript/js/application.js +4 -0
  25. data/config/routes.rb +3 -0
  26. data/lib/avo/base_resource.rb +8 -0
  27. data/lib/avo/licensing/pro_license.rb +1 -0
  28. data/lib/avo/version.rb +1 -1
  29. data/public/avo-assets/avo.css +4 -0
  30. data/public/avo-assets/avo.js +7633 -7374
  31. data/public/avo-assets/avo.js.map +3 -3
  32. metadata +13 -2
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: 1.23.0
4
+ version: 1.24.0
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: 2022-02-28 00:00:00.000000000 Z
12
+ date: 2022-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -226,7 +226,9 @@ files:
226
226
  - app/assets/stylesheets/css/tooltips.css
227
227
  - app/assets/stylesheets/css/typography.css
228
228
  - app/assets/svgs/arrow-circle-right.svg
229
+ - app/assets/svgs/arrow-down.svg
229
230
  - app/assets/svgs/arrow-left.svg
231
+ - app/assets/svgs/arrow-up.svg
230
232
  - app/assets/svgs/avocado.svg
231
233
  - app/assets/svgs/badge-check-sm.svg
232
234
  - app/assets/svgs/check-circle-sm.svg
@@ -237,6 +239,8 @@ files:
237
239
  - app/assets/svgs/code.svg
238
240
  - app/assets/svgs/color-swatch.svg
239
241
  - app/assets/svgs/document-text.svg
242
+ - app/assets/svgs/download-solid-reversed.svg
243
+ - app/assets/svgs/download-solid.svg
240
244
  - app/assets/svgs/download.svg
241
245
  - app/assets/svgs/edit.svg
242
246
  - app/assets/svgs/exclamation-circle-sm.svg
@@ -260,6 +264,7 @@ files:
260
264
  - app/assets/svgs/sort-ascending.svg
261
265
  - app/assets/svgs/sort-descending.svg
262
266
  - app/assets/svgs/switch-horizontal.svg
267
+ - app/assets/svgs/switch-vertical.svg
263
268
  - app/assets/svgs/thumbs-down.svg
264
269
  - app/assets/svgs/thumbs-up.svg
265
270
  - app/assets/svgs/times.svg
@@ -275,6 +280,7 @@ files:
275
280
  - app/components/avo/alert_component.rb
276
281
  - app/components/avo/alerts_component.html.erb
277
282
  - app/components/avo/alerts_component.rb
283
+ - app/components/avo/base_component.rb
278
284
  - app/components/avo/edit/field_wrapper_component.html.erb
279
285
  - app/components/avo/edit/field_wrapper_component.rb
280
286
  - app/components/avo/fields/badge_field/index_component.html.erb
@@ -440,6 +446,11 @@ files:
440
446
  - app/components/avo/index/grid_cover_empty_state_component.rb
441
447
  - app/components/avo/index/grid_item_component.html.erb
442
448
  - app/components/avo/index/grid_item_component.rb
449
+ - app/components/avo/index/ordering/base_component.rb
450
+ - app/components/avo/index/ordering/button_component.html.erb
451
+ - app/components/avo/index/ordering/button_component.rb
452
+ - app/components/avo/index/ordering/buttons_component.html.erb
453
+ - app/components/avo/index/ordering/buttons_component.rb
443
454
  - app/components/avo/index/resource_controls_component.html.erb
444
455
  - app/components/avo/index/resource_controls_component.rb
445
456
  - app/components/avo/index/resource_grid_component.html.erb