atomic_view 0.5.0 → 0.5.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: 38ae2486d6b3e69c8668b5cc8b1c8ac229e8af46f2bfa8c0217c24b6a9ba0d4e
4
- data.tar.gz: 28f821334d300ed260178324a905541230a944ca0d32763a7d031ab302f4396f
3
+ metadata.gz: d48b9aeb4fc6bd4b464ad92923bd08c91481cd07eb10784d30071e9fcc02b49f
4
+ data.tar.gz: 6f1d34f46f36a3633641b8a2b9b37aa2f29f314fb79fe59dd1d8406d7338fd5a
5
5
  SHA512:
6
- metadata.gz: 11e8dd2b1b6c2de279a77e819b834e1ab742be92e1c48b61586ec8944eadb1e1fe7587e3e34ab6d85ac13121c0e3dbb3f099c62b6db2b7054e5e7f2d9c8fe2c4
7
- data.tar.gz: 74391beffa39c72a0ca5bccd400039d704ae773d5e57dc9a7696a493a825aa1f57efb00c6d959f26dac809d36a2b7c881a7112d71a09c83d156d9d4d9be2898e
6
+ metadata.gz: 5dec3e0b86feda6b1a8d3746ad125ff105334def14e54ac091e69d1b15c0b19ddbbcd4ecfb17ed40cb0bae3a5cf4f0b3cc30e534c6bb4e6c5e76a22bb4ec5774
7
+ data.tar.gz: 2f58dc5ba164ba0404ed902a4bef77aac1f7d159bd524eacba657439562122434118de233097e9df60382d3790f610e534c5a4bfc200368d8d379c005e0a413f
@@ -62,8 +62,13 @@ module AtomicView
62
62
  "-mb-px border-b-2 pb-3 text-sm font-semibold"
63
63
  end
64
64
 
65
+ # Neutral foreground text (not `text-accent`) -- matches
66
+ # SegmentedControlComponent's active segment, which raises the
67
+ # selected option in `text-foreground` rather than an accent color.
68
+ # The accent only shows up in the underline, as the one colored
69
+ # signal of which tab is active.
65
70
  def active_classes
66
- "border-accent text-accent"
71
+ "border-accent text-foreground"
67
72
  end
68
73
 
69
74
  def inactive_classes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtomicView
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
data/lib/atomic_view.rb CHANGED
@@ -4,6 +4,7 @@ require 'atomic_view/version'
4
4
  require 'atomic_view/engine'
5
5
  require 'atomic_view/configuration'
6
6
 
7
+ require "ostruct"
7
8
  require "tailwind_merge"
8
9
  require "heroicons"
9
10
  require "local_time"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomic_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Warrington