keystone_ui 0.90.0 → 0.91.0

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: 1c3f95cdbbb27481fe12911fa11395742ee4bfb0fb3cbb77fec7832985093b68
4
- data.tar.gz: 8cf15938ac60e90882941dacb48f1e0a5c35900e33af1cb40835d049ad9d3796
3
+ metadata.gz: f09a621fcad17f9df319563b9bd9930a6782fdf8ba9721258ed464d69a749b29
4
+ data.tar.gz: 040667ef0b3556f75dcd9cbfabdb9f1048f641317a95e23402b0e0c900689811
5
5
  SHA512:
6
- metadata.gz: ab5aca82b8f0ba3c3307195344a85a3acef2d618d2840c81d95bea64e5e4d26bc050692b64e511ffd86f64936c952cf6e78ee73de2d05adc50a780569442dad5
7
- data.tar.gz: c8038723aa399bc9b3785f95b32fa75a6b7185afced5b3410dfbad6b04a5e121c05dab814c93ac8deffbdc09c33791ad235e3c612c49a39c8bb3e5784848e914
6
+ metadata.gz: c54c88339b33025ed7b127c010bb02ca62fd4812ddee1b6ade127ea6db371cfa92823dc23dbae00ad91af170faae43b9c53256a85cbfa339a1e69f66790eaf18
7
+ data.tar.gz: 6f24aff529bc396da614cbc3218de08b9be47cb8f7a2ad1411d2ef27521cfe414e5149ce20317562b21f6ee6065f0480e7bf2cd7decea41efde3251729bd7d73
@@ -8,6 +8,7 @@ module Keystone
8
8
  FAILED_CLASSES = "ks-timeline-failed"
9
9
  WAITING_CLASSES = "ks-tone-warning"
10
10
  QUEUED_CLASSES = "ks-timeline-queued absolute inset-y-0"
11
+ WAITING_BAR_CLASSES = "ks-timeline-waiting absolute inset-y-0"
11
12
  SCREEN_READER_CLASSES = "sr-only"
12
13
  SELECTED_ROW_CLASSES = "ks-table-row-current"
13
14
  TIMELINE_CLASSES = "flex flex-col ks-grid-gap-sm"
@@ -78,7 +79,7 @@ module Keystone
78
79
  end
79
80
 
80
81
  def bar_classes(entry)
81
- return QUEUED_CLASSES if entry[:waiting]
82
+ return WAITING_BAR_CLASSES if entry[:waiting]
82
83
 
83
84
  [ BAR_CLASSES, (FAILED_CLASSES if entry[:failed]) ].compact.join(" ")
84
85
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KeystoneUi
4
- VERSION = "0.90.0"
4
+ VERSION = "0.91.0"
5
5
  end
@@ -833,7 +833,7 @@ two exceptions: `ui_page`'s `padding:` treats any value other than `:none` as
833
833
  - An entry given `waiting: true` is a try paused before it can go on, such
834
834
  as a step waiting for approval. Its bar runs from its `started_at` to the
835
835
  end of the axis, which on a one-line timeline is its last mark, in the
836
- queued colour, in place of the danger colour even
836
+ waiting colour, in place of the danger colour even
837
837
  when it is also `failed: true`. Its row writes `waiting` in the warning
838
838
  tone in place of the duration, and shows no "Running" dot. A row holding
839
839
  any waiting entry is a waiting row.
@@ -76,7 +76,7 @@ One decision: is keystone_ui set up in the app?
76
76
  segment before the bar, and a failed try is marked failed both in colour and
77
77
  for screen readers. An entry can be marked waiting, for a try that has not
78
78
  started running: its bar runs from its start to the end of the axis in the
79
- queued colour, and its row shows the word `waiting` in the warning tone in
79
+ waiting colour, and its row shows the word `waiting` in the warning tone in
80
80
  place of a duration, with no running dot. The axis
81
81
  runs from the earliest queued or start time of any entry to the latest end
82
82
  or start time. An entry with no end time is still running: its bar runs to
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystone_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Schneider
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.34.0
18
+ version: 0.35.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: 0.34.0
25
+ version: 0.35.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: view_component
28
28
  requirement: !ruby/object:Gem::Requirement