avo 4.0.0.beta.59 → 4.0.1

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: f9d5e7746965a1836ba2209f2952401e83e19298d1c80886cfec33c21f10ad22
4
- data.tar.gz: 04fb0fcb01f1f077e894eb42e26ac054b3cb9cc9461e3e230f0c62b9949c18f1
3
+ metadata.gz: 2278c9b169d4bd6ee937ac33d3164433eefc3876221d43dbd81fc00957a27423
4
+ data.tar.gz: 8f26c463c336d570eeb54858ab17d961e4c9dbbdd0f59f692c4f375f5ed68f77
5
5
  SHA512:
6
- metadata.gz: 369d5d0641989d29c22e7e5e459d271fb3081930d88bd2465531db8815c4f6c2960b7ee5245922f49058ed64ad79d7a3db82548932fec5e96711401db6cd99ab
7
- data.tar.gz: f8500c7df0e0b711714f075609819f93915ee4f49e1eb6b8c78cde72e4153cf25cb308c5cddfda7644e535e802963310467c27f4a953603012c6eab51700515e
6
+ metadata.gz: 3f3d88b9a0287d368de32844f83dbb19c635e0570bae10a34c3979ca230c57480f832db00265a052c75a5e4826cca0d70785c5ce34be37a50bda64005f3bb7fb
7
+ data.tar.gz: 9eb139bf8c7296df614e4a23aadffa35d48fe18d7fc58b64e7bc04451b83a36a0e9672254227c62431f9a1dab4e0b997960805305cb7199cd4d252a53c4e242e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.0.0.beta.59)
4
+ avo (4.0.1)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -2312,9 +2312,6 @@
2312
2312
  .bg-gray-100 {
2313
2313
  background-color: var(--color-gray-100);
2314
2314
  }
2315
- .bg-gray-100\! {
2316
- background-color: var(--color-gray-100) !important;
2317
- }
2318
2315
  .bg-gray-500 {
2319
2316
  background-color: var(--color-gray-500);
2320
2317
  }
@@ -2606,6 +2603,9 @@
2606
2603
  .pt-8 {
2607
2604
  padding-top: calc(var(--spacing) * 8);
2608
2605
  }
2606
+ .pb-0\.5 {
2607
+ padding-bottom: calc(var(--spacing) * 0.5);
2608
+ }
2609
2609
  .pb-1 {
2610
2610
  padding-bottom: calc(var(--spacing) * 1);
2611
2611
  }
@@ -2680,6 +2680,10 @@
2680
2680
  .text-\[10px\] {
2681
2681
  font-size: 10px;
2682
2682
  }
2683
+ .leading-4 {
2684
+ --tw-leading: calc(var(--spacing) * 4);
2685
+ line-height: calc(var(--spacing) * 4);
2686
+ }
2683
2687
  .leading-5 {
2684
2688
  --tw-leading: calc(var(--spacing) * 5);
2685
2689
  line-height: calc(var(--spacing) * 5);
@@ -3369,6 +3373,11 @@
3369
3373
  border-color: var(--color-teal-600);
3370
3374
  }
3371
3375
  }
3376
+ .hover\:border-tertiary {
3377
+ &:hover {
3378
+ border-color: var(--color-tertiary);
3379
+ }
3380
+ }
3372
3381
  .hover\:border-violet-600 {
3373
3382
  &:hover {
3374
3383
  border-color: var(--color-violet-600);
@@ -3528,6 +3537,11 @@
3528
3537
  background-color: var(--color-pink-600);
3529
3538
  }
3530
3539
  }
3540
+ .hover\:bg-primary {
3541
+ &:hover {
3542
+ background-color: var(--color-primary);
3543
+ }
3544
+ }
3531
3545
  .hover\:bg-primary-100 {
3532
3546
  &:hover {
3533
3547
  background-color: var(--color-primary-100);
@@ -4059,6 +4073,11 @@
4059
4073
  background-color: var(--color-pink-600);
4060
4074
  }
4061
4075
  }
4076
+ .active\:bg-primary {
4077
+ &:active {
4078
+ background-color: var(--color-primary);
4079
+ }
4080
+ }
4062
4081
  .active\:bg-primary-100 {
4063
4082
  &:active {
4064
4083
  background-color: var(--color-primary-100);
data/lib/avo/plugin.rb CHANGED
@@ -4,7 +4,7 @@ module Avo
4
4
  attr_reader :priority
5
5
  attr_reader :registered_from
6
6
 
7
- delegate :version, :namespace, :engine, to: :class
7
+ delegate :namespace, :engine, to: :class
8
8
 
9
9
  def initialize(*, name:, priority:, registered_from: nil, **, &block)
10
10
  @name = name
@@ -27,6 +27,14 @@ module Avo
27
27
  @gem_name = registered_gem&.name
28
28
  end
29
29
 
30
+ # Installed version of this plugin's gem, resolved from the Bundler spec via
31
+ # the registration callsite. Falls back to the class-level VERSION constant.
32
+ def version
33
+ return @version if defined?(@version)
34
+
35
+ @version = registered_gem&.version&.to_s || self.class.version
36
+ end
37
+
30
38
  private
31
39
 
32
40
  def registered_gem
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.0.0.beta.59" unless const_defined?(:VERSION)
2
+ VERSION = "4.0.1" unless const_defined?(:VERSION)
3
3
  end
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: 4.0.0.beta.59
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin