spina 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/Rakefile +2 -1
  4. data/app/assets/builds/spina/tailwind.css +3460 -0
  5. data/app/assets/config/spina/manifest.js +3 -1
  6. data/app/assets/javascripts/spina/controllers/image_collection_controller.js +5 -3
  7. data/app/assets/stylesheets/spina/{_animate.css → animate.css} +0 -0
  8. data/app/assets/stylesheets/spina/{tailwind/custom.css → application.tailwind.css} +40 -46
  9. data/app/assets/stylesheets/spina/{_fonts.css.erb → fonts.css.erb} +0 -0
  10. data/app/components/spina/accounts/translations_component.html.erb +21 -0
  11. data/app/components/spina/accounts/translations_component.rb +26 -0
  12. data/app/components/spina/forms/trix_toolbar_component.html.erb +1 -1
  13. data/app/controllers/spina/admin/layout_controller.rb +1 -1
  14. data/app/controllers/spina/admin/navigation_items_controller.rb +1 -1
  15. data/app/views/layouts/spina/admin/application.html.erb +2 -2
  16. data/app/views/spina/admin/layout/edit.html.erb +2 -0
  17. data/app/views/spina/admin/navigation_items/_form.html.erb +5 -1
  18. data/config/locales/fr.yml +190 -152
  19. data/lib/generators/spina/install_generator.rb +4 -0
  20. data/lib/generators/spina/tailwind_config_generator.rb +10 -0
  21. data/{app/assets/config/spina/tailwind.config.js → lib/generators/spina/templates/app/assets/config/spina/tailwind.config.js.tt} +5 -7
  22. data/lib/spina/version.rb +1 -1
  23. data/lib/spina.rb +22 -11
  24. data/lib/tasks/install.rake +39 -0
  25. data/lib/tasks/tailwind.rake +22 -0
  26. metadata +26 -10
  27. data/app/assets/stylesheets/spina/_tailwind.css +0 -203643
  28. data/app/assets/stylesheets/spina/application.css +0 -6
  29. data/lib/spina/tailwind_purger.rb +0 -147
  30. data/lib/tasks/spina_tasks.rake +0 -75
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4427b93f80431167322b31e04f8a0c2cff178a00e823464457a143754a426985
4
- data.tar.gz: 929ab111545d6df3fc712e7affc7efd9634abd68900bcd68d11b82f9152563a7
3
+ metadata.gz: 60e477c26a90c7e5876407ea4bc4a9b6c8eb5bdaf62cf6b2f78b0e8871b7e40a
4
+ data.tar.gz: d6446aec43971051ab378087288c3d678aaddae718e5e67661f677049f2f7538
5
5
  SHA512:
6
- metadata.gz: 365102bbf088e48a2a17dbe34703d28824247cb724c46745ad58fdf3bb3ff92e19de9045dc88775621998cbb4dcae3a43cba79f9f2cdf18f39f66622aa55eea6
7
- data.tar.gz: 3f0d074c8064125e80e3cd47b0973607bdfd928d73fce5096490429673a4f87b53df63d9a036aedbbb83e6f567e869442eb48cd371baaafcd342232d08764534
6
+ metadata.gz: 63a995ac088a0de8f95dd341dee59372ee862554f41b535d49ef81508997ea6cf2dc87613bbeb9f2b93812f77c9c934607c081adcea7c12eb2fe33b741d4dae3
7
+ data.tar.gz: 46b3b9248d542995d40765547818e077676b7df50fa76926df415a54d432dc7487c89b09ab06fd63331983c7032a0f88d92e8da707d5a21332b64b1fc7beca0a
data/README.md CHANGED
@@ -62,8 +62,6 @@ Spina is released under the [MIT license](LICENSE.md).
62
62
 
63
63
  ## Acknowledgements
64
64
 
65
- The Tailwind purger was created by [@dhh](https://twitter.com/dhh) for [tailwindcss-rails](https://github.com/rails/tailwindcss-rails)
66
-
67
65
  Icons were designed by [@steveschoger](https://twitter.com/steveschoger) - [Heroicons](https://github.com/tailwindlabs/heroicons).
68
66
 
69
67
  HotKeys support via [Hotkeys.js](https://wangchujiang.com/hotkeys/)
data/Rakefile CHANGED
@@ -19,7 +19,8 @@ load 'rails/tasks/engine.rake'
19
19
 
20
20
  load 'rails/tasks/statistics.rake'
21
21
 
22
- load 'lib/tasks/spina_tasks.rake'
22
+ load 'lib/tasks/install.rake'
23
+ load 'lib/tasks/tailwind.rake'
23
24
 
24
25
  require 'bundler/gem_tasks'
25
26