avo 4.0.3 → 4.0.5

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: e9639855307a2c93c223d396f6ba224718e550190fda23c02f92f6bd151c8edc
4
- data.tar.gz: 9965f8bc50fd64eb08bbc2c8a955a61ec2e01f224327a569d89b683a836c3408
3
+ metadata.gz: 5594a2617e6959d37ede3afc3e0d556b96d9356204a1a91cac2f1ebcfba78fce
4
+ data.tar.gz: 5b21eec72c301d8a597326f9a4ef14057ef02090ee2c63008337b3356ba53f2d
5
5
  SHA512:
6
- metadata.gz: 478fe80ec7d0598694ba8edc44bd14410dd9c42be0d42929fa222d1f6053dc77ada5828f2104e201f7f63a028ee48a71e35d9e53e8e9682ab1ec32667804ce0d
7
- data.tar.gz: 477ce350c837a3e940118f3c8ded231f4524187b88056b29bd5d14f1056a9e0050b5db02061066d5ab8edada8fd7cabda9c0ac4ae0e7a7733b055be744251235
6
+ metadata.gz: a99392d85be4217179b71d0fb610591f80939aba7606421267a073103a78f6a61ee37ce2aeaf95d612569cb461a759a227e4fb769ba2e32b4df0c7e8028b1a96
7
+ data.tar.gz: 757dcf5fe111aa28808a8b4abb7a1acbb9a6b96015acc5d570a71115a6b40e2ad26e310d885f9a9ae1f647ff7b766e07158a0e3056b228251bbb7d217ed3babb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.0.3)
4
+ avo (4.0.5)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -22,6 +22,7 @@
22
22
  /* We couldn't find a way to implement blocklist in the CSS config */
23
23
  /* blocklist: ['bg-[#{chart_color(index)}]', 'bg-[${color}]'] */
24
24
  @source inline("break-all");
25
+ @source "../../../safelist.txt";
25
26
 
26
27
  /* Tailwind colors */
27
28
  /* red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose */
data/avo.gemspec CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  # NOTE: `public/` is rejected below — Avo 4 ships precompiled assets from
35
35
  # `app/assets/builds`, and a stale `public/avo-assets` dir was what bloated some builds.
36
- spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js"]
36
+ spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js", "safelist.txt"]
37
37
  .reject { |f| f.start_with?("public/") }
38
38
 
39
39
  spec.add_dependency "activerecord", ">= 6.1"
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.0.3" unless const_defined?(:VERSION)
2
+ VERSION = "4.0.5" unless const_defined?(:VERSION)
3
3
  end
data/safelist.txt ADDED
@@ -0,0 +1,2 @@
1
+ # This file was auto-generated using the `yarn export:tailwind-safelist` command in `export-tailwind-safelist.js`
2
+ bg-inherit-50 bg-inherit-500 border-inherit-300 border-inherit-500 hover:bg-inherit-600 hover:border-inherit-600 active:border-inherit-600 active:outline-inherit-600 active:bg-inherit-600 text-inherit-500 text-inherit-700 hover:bg-inherit-100 active:bg-inherit-100 active:border-inherit-500 active:outline-inherit-500 bg-current-50 bg-current-500 border-current-300 border-current-500 hover:bg-current-600 hover:border-current-600 active:border-current-600 active:outline-current-600 active:bg-current-600 text-current-500 text-current-700 hover:bg-current-100 active:bg-current-100 active:border-current-500 active:outline-current-500 bg-transparent-50 bg-transparent-500 border-transparent-300 border-transparent-500 hover:bg-transparent-600 hover:border-transparent-600 active:border-transparent-600 active:outline-transparent-600 active:bg-transparent-600 text-transparent-500 text-transparent-700 hover:bg-transparent-100 active:bg-transparent-100 active:border-transparent-500 active:outline-transparent-500 bg-black-50 bg-black-500 border-black-300 border-black-500 hover:bg-black-600 hover:border-black-600 active:border-black-600 active:outline-black-600 active:bg-black-600 text-black-500 text-black-700 hover:bg-black-100 active:bg-black-100 active:border-black-500 active:outline-black-500 bg-white-50 bg-white-500 border-white-300 border-white-500 hover:bg-white-600 hover:border-white-600 active:border-white-600 active:outline-white-600 active:bg-white-600 text-white-500 text-white-700 hover:bg-white-100 active:bg-white-100 active:border-white-500 active:outline-white-500 bg-slate-50 bg-slate-500 border-slate-300 border-slate-500 hover:bg-slate-600 hover:border-slate-600 active:border-slate-600 active:outline-slate-600 active:bg-slate-600 text-slate-500 text-slate-700 hover:bg-slate-100 active:bg-slate-100 active:border-slate-500 active:outline-slate-500 bg-gray-50 bg-gray-500 border-gray-300 border-gray-500 hover:bg-gray-600 hover:border-gray-600 active:border-gray-600 active:outline-gray-600 active:bg-gray-600 text-gray-500 text-gray-700 hover:bg-gray-100 active:bg-gray-100 active:border-gray-500 active:outline-gray-500 bg-zinc-50 bg-zinc-500 border-zinc-300 border-zinc-500 hover:bg-zinc-600 hover:border-zinc-600 active:border-zinc-600 active:outline-zinc-600 active:bg-zinc-600 text-zinc-500 text-zinc-700 hover:bg-zinc-100 active:bg-zinc-100 active:border-zinc-500 active:outline-zinc-500 bg-neutral-50 bg-neutral-500 border-neutral-300 border-neutral-500 hover:bg-neutral-600 hover:border-neutral-600 active:border-neutral-600 active:outline-neutral-600 active:bg-neutral-600 text-neutral-500 text-neutral-700 hover:bg-neutral-100 active:bg-neutral-100 active:border-neutral-500 active:outline-neutral-500 bg-stone-50 bg-stone-500 border-stone-300 border-stone-500 hover:bg-stone-600 hover:border-stone-600 active:border-stone-600 active:outline-stone-600 active:bg-stone-600 text-stone-500 text-stone-700 hover:bg-stone-100 active:bg-stone-100 active:border-stone-500 active:outline-stone-500 bg-red-50 bg-red-500 border-red-300 border-red-500 hover:bg-red-600 hover:border-red-600 active:border-red-600 active:outline-red-600 active:bg-red-600 text-red-500 text-red-700 hover:bg-red-100 active:bg-red-100 active:border-red-500 active:outline-red-500 bg-orange-50 bg-orange-500 border-orange-300 border-orange-500 hover:bg-orange-600 hover:border-orange-600 active:border-orange-600 active:outline-orange-600 active:bg-orange-600 text-orange-500 text-orange-700 hover:bg-orange-100 active:bg-orange-100 active:border-orange-500 active:outline-orange-500 bg-amber-50 bg-amber-500 border-amber-300 border-amber-500 hover:bg-amber-600 hover:border-amber-600 active:border-amber-600 active:outline-amber-600 active:bg-amber-600 text-amber-500 text-amber-700 hover:bg-amber-100 active:bg-amber-100 active:border-amber-500 active:outline-amber-500 bg-yellow-50 bg-yellow-500 border-yellow-300 border-yellow-500 hover:bg-yellow-600 hover:border-yellow-600 active:border-yellow-600 active:outline-yellow-600 active:bg-yellow-600 text-yellow-500 text-yellow-700 hover:bg-yellow-100 active:bg-yellow-100 active:border-yellow-500 active:outline-yellow-500 bg-lime-50 bg-lime-500 border-lime-300 border-lime-500 hover:bg-lime-600 hover:border-lime-600 active:border-lime-600 active:outline-lime-600 active:bg-lime-600 text-lime-500 text-lime-700 hover:bg-lime-100 active:bg-lime-100 active:border-lime-500 active:outline-lime-500 bg-green-50 bg-green-500 border-green-300 border-green-500 hover:bg-green-600 hover:border-green-600 active:border-green-600 active:outline-green-600 active:bg-green-600 text-green-500 text-green-700 hover:bg-green-100 active:bg-green-100 active:border-green-500 active:outline-green-500 bg-emerald-50 bg-emerald-500 border-emerald-300 border-emerald-500 hover:bg-emerald-600 hover:border-emerald-600 active:border-emerald-600 active:outline-emerald-600 active:bg-emerald-600 text-emerald-500 text-emerald-700 hover:bg-emerald-100 active:bg-emerald-100 active:border-emerald-500 active:outline-emerald-500 bg-teal-50 bg-teal-500 border-teal-300 border-teal-500 hover:bg-teal-600 hover:border-teal-600 active:border-teal-600 active:outline-teal-600 active:bg-teal-600 text-teal-500 text-teal-700 hover:bg-teal-100 active:bg-teal-100 active:border-teal-500 active:outline-teal-500 bg-cyan-50 bg-cyan-500 border-cyan-300 border-cyan-500 hover:bg-cyan-600 hover:border-cyan-600 active:border-cyan-600 active:outline-cyan-600 active:bg-cyan-600 text-cyan-500 text-cyan-700 hover:bg-cyan-100 active:bg-cyan-100 active:border-cyan-500 active:outline-cyan-500 bg-sky-50 bg-sky-500 border-sky-300 border-sky-500 hover:bg-sky-600 hover:border-sky-600 active:border-sky-600 active:outline-sky-600 active:bg-sky-600 text-sky-500 text-sky-700 hover:bg-sky-100 active:bg-sky-100 active:border-sky-500 active:outline-sky-500 bg-blue-50 bg-blue-500 border-blue-300 border-blue-500 hover:bg-blue-600 hover:border-blue-600 active:border-blue-600 active:outline-blue-600 active:bg-blue-600 text-blue-500 text-blue-700 hover:bg-blue-100 active:bg-blue-100 active:border-blue-500 active:outline-blue-500 bg-indigo-50 bg-indigo-500 border-indigo-300 border-indigo-500 hover:bg-indigo-600 hover:border-indigo-600 active:border-indigo-600 active:outline-indigo-600 active:bg-indigo-600 text-indigo-500 text-indigo-700 hover:bg-indigo-100 active:bg-indigo-100 active:border-indigo-500 active:outline-indigo-500 bg-violet-50 bg-violet-500 border-violet-300 border-violet-500 hover:bg-violet-600 hover:border-violet-600 active:border-violet-600 active:outline-violet-600 active:bg-violet-600 text-violet-500 text-violet-700 hover:bg-violet-100 active:bg-violet-100 active:border-violet-500 active:outline-violet-500 bg-purple-50 bg-purple-500 border-purple-300 border-purple-500 hover:bg-purple-600 hover:border-purple-600 active:border-purple-600 active:outline-purple-600 active:bg-purple-600 text-purple-500 text-purple-700 hover:bg-purple-100 active:bg-purple-100 active:border-purple-500 active:outline-purple-500 bg-fuchsia-50 bg-fuchsia-500 border-fuchsia-300 border-fuchsia-500 hover:bg-fuchsia-600 hover:border-fuchsia-600 active:border-fuchsia-600 active:outline-fuchsia-600 active:bg-fuchsia-600 text-fuchsia-500 text-fuchsia-700 hover:bg-fuchsia-100 active:bg-fuchsia-100 active:border-fuchsia-500 active:outline-fuchsia-500 bg-pink-50 bg-pink-500 border-pink-300 border-pink-500 hover:bg-pink-600 hover:border-pink-600 active:border-pink-600 active:outline-pink-600 active:bg-pink-600 text-pink-500 text-pink-700 hover:bg-pink-100 active:bg-pink-100 active:border-pink-500 active:outline-pink-500 bg-rose-50 bg-rose-500 border-rose-300 border-rose-500 hover:bg-rose-600 hover:border-rose-600 active:border-rose-600 active:outline-rose-600 active:bg-rose-600 text-rose-500 text-rose-700 hover:bg-rose-100 active:bg-rose-100 active:border-rose-500 active:outline-rose-500 bg-light-blue-50 bg-light-blue-500 border-light-blue-300 border-light-blue-500 hover:bg-light-blue-600 hover:border-light-blue-600 active:border-light-blue-600 active:outline-light-blue-600 active:bg-light-blue-600 text-light-blue-500 text-light-blue-700 hover:bg-light-blue-100 active:bg-light-blue-100 active:border-light-blue-500 active:outline-light-blue-500 bg-warm-gray-50 bg-warm-gray-500 border-warm-gray-300 border-warm-gray-500 hover:bg-warm-gray-600 hover:border-warm-gray-600 active:border-warm-gray-600 active:outline-warm-gray-600 active:bg-warm-gray-600 text-warm-gray-500 text-warm-gray-700 hover:bg-warm-gray-100 active:bg-warm-gray-100 active:border-warm-gray-500 active:outline-warm-gray-500 bg-true-gray-50 bg-true-gray-500 border-true-gray-300 border-true-gray-500 hover:bg-true-gray-600 hover:border-true-gray-600 active:border-true-gray-600 active:outline-true-gray-600 active:bg-true-gray-600 text-true-gray-500 text-true-gray-700 hover:bg-true-gray-100 active:bg-true-gray-100 active:border-true-gray-500 active:outline-true-gray-500 bg-cool-gray-50 bg-cool-gray-500 border-cool-gray-300 border-cool-gray-500 hover:bg-cool-gray-600 hover:border-cool-gray-600 active:border-cool-gray-600 active:outline-cool-gray-600 active:bg-cool-gray-600 text-cool-gray-500 text-cool-gray-700 hover:bg-cool-gray-100 active:bg-cool-gray-100 active:border-cool-gray-500 active:outline-cool-gray-500 bg-blue-gray-50 bg-blue-gray-500 border-blue-gray-300 border-blue-gray-500 hover:bg-blue-gray-600 hover:border-blue-gray-600 active:border-blue-gray-600 active:outline-blue-gray-600 active:bg-blue-gray-600 text-blue-gray-500 text-blue-gray-700 hover:bg-blue-gray-100 active:bg-blue-gray-100 active:border-blue-gray-500 active:outline-blue-gray-500 bg-primary-50 bg-primary-500 border-primary-300 border-primary-500 hover:bg-primary-600 hover:border-primary-600 active:border-primary-600 active:outline-primary-600 active:bg-primary-600 text-primary-500 text-primary-700 hover:bg-primary-100 active:bg-primary-100 active:border-primary-500 active:outline-primary-500 bg-text-white-50 bg-text-white-500 border-text-white-300 border-text-white-500 hover:bg-text-white-600 hover:border-text-white-600 active:border-text-white-600 active:outline-text-white-600 active:bg-text-white-600 text-text-white-500 text-text-white-700 hover:bg-text-white-100 active:bg-text-white-100 active:border-text-white-500 active:outline-text-white-500 whitespace-pre-line text-right text-left text-center font-sans font-serif font-mono !bg-gray-100 opacity-50 select-none bg-[#0B8AE2] bg-[#34C683] bg-[#FFBE4F] bg-[#FF7676] bg-[#2AB1EE] bg-[#34C6A8] bg-[#EC8CFF] bg-[#80FF91] bg-[#FFFC38] bg-[#1BDBE8]
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
8
8
  - Mihai Marin
9
9
  - Paul Bob
10
+ autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 1980-01-02 00:00:00.000000000 Z
13
+ date: 2026-07-03 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: activerecord
@@ -1169,6 +1170,7 @@ files:
1169
1170
  - lib/generators/model_generator.rb
1170
1171
  - lib/generators/rails/avo_resource_generator.rb
1171
1172
  - lib/tasks/avo_tasks.rake
1173
+ - safelist.txt
1172
1174
  - tailwind.custom.js
1173
1175
  homepage: https://avohq.io
1174
1176
  licenses:
@@ -1195,7 +1197,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1195
1197
  - !ruby/object:Gem::Version
1196
1198
  version: '0'
1197
1199
  requirements: []
1198
- rubygems_version: 4.0.10
1200
+ rubygems_version: 3.5.22
1201
+ signing_key:
1199
1202
  specification_version: 4
1200
1203
  summary: Admin panel framework and Content Management System for Ruby on Rails.
1201
1204
  test_files: []