atomic_view 0.5.1 → 0.5.2

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: d48b9aeb4fc6bd4b464ad92923bd08c91481cd07eb10784d30071e9fcc02b49f
4
- data.tar.gz: 6f1d34f46f36a3633641b8a2b9b37aa2f29f314fb79fe59dd1d8406d7338fd5a
3
+ metadata.gz: 165a6c2614a15ffc294ecb82a4c969e73bdc9821e05f5cd11961b2bc8670d863
4
+ data.tar.gz: 19adaf0af4395f5880d1ad44a5f5fdb4b273d841a95ed5f072e88830c7521c18
5
5
  SHA512:
6
- metadata.gz: 5dec3e0b86feda6b1a8d3746ad125ff105334def14e54ac091e69d1b15c0b19ddbbcd4ecfb17ed40cb0bae3a5cf4f0b3cc30e534c6bb4e6c5e76a22bb4ec5774
7
- data.tar.gz: 2f58dc5ba164ba0404ed902a4bef77aac1f7d159bd524eacba657439562122434118de233097e9df60382d3790f610e534c5a4bfc200368d8d379c005e0a413f
6
+ metadata.gz: 5beeb078b1ea0fff91b7ad5b9e13c8f3336da75a4eeb1f37f0f4686e2556bd1896b1dc3d87d5d4d562de8fe3b819e20b312c9f556411d49258172afc43c23ffe
7
+ data.tar.gz: c69212fa8f25195f3724fa13a58db718235d0877379bd7ba7339c4354505d6e5af83430ca937ffd7957d137a4cd1496e3f272a1ee9ba8e358a39e7c9a5220bc7
@@ -14,7 +14,7 @@ module AtomicView
14
14
  #
15
15
  # Unlike SegmentedControlComponent's pill track (mutually-exclusive
16
16
  # filter chips raised on a muted background), tabs read as page-level
17
- # navigation -- a plain row of links with a colored underline on the
17
+ # navigation -- a plain row of links with a neutral underline on the
18
18
  # active one, sharing a bottom divider with the rest of the row.
19
19
  #
20
20
  # Pass `turbo_frame:` to swap tabs without a full page load: every tab
@@ -62,13 +62,12 @@ 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
+ # Neutral foreground for both the text and the underline (not
66
+ # `text-accent`/`border-accent`) -- matches SegmentedControlComponent's
67
+ # active segment, which raises the selected option in
68
+ # `text-foreground` rather than an accent color.
70
69
  def active_classes
71
- "border-accent text-foreground"
70
+ "border-foreground text-foreground"
72
71
  end
73
72
 
74
73
  def inactive_classes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtomicView
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
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.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Warrington