drive 0.9.0 → 0.10.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: 2aaf1ee05071b95077188eb65355172c7fdf87a0028d869819a41ca34be1f762
4
- data.tar.gz: 1413f2baba3cfaea8db2b438574b960cf8fc1986ad4e3cc542254f7a56ed61cc
3
+ metadata.gz: 2cb0073139810f54c2b7fce8150ade0993934b4808fe07cb0427f5f548a7d27f
4
+ data.tar.gz: c5d69e9f722e3c3ae4b875ff31fd1695a2c8dbd793f611bc764c611298fc3c1c
5
5
  SHA512:
6
- metadata.gz: 76ed8b784c06490e9e94f04d266c5b8bc06b0022ed51a2225f4c98490ef46177e88d21abfa78ab17c0abaa75da66ebdd568a5757ece3023e3d34dfe50f943164
7
- data.tar.gz: 731cf6829d8268a2819b9a5e18c40693e481f1eea320b10284eebb7080f638cd0999ef11945955d3c642419b1ae8c0a487e5ff219881eaaf924bfc2b691fb2f6
6
+ metadata.gz: 47dc8732cd6df23e5732d07997a336827a5e4c5c7b7a394204b44a83d5174f39000772d9c53b53cbac9e9fd6ee5924d0f1ce1cff80f93eb9443907bb8672b3fb
7
+ data.tar.gz: 6d037e962393e67416bb5accdf7557103cd58a911d8e47b295f045507b1e6d84fd4b5a657b133584181d80104a797e392efc8520e56b31a9e6c4545ef9db7f7f
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 0.10.0 - 2026-11-06
10
+
11
+ * [ENHANCEMENT] What each control means, in the guide: a tinted rounded rectangle tells (`level-chip` and `switches` now
12
+ 6px corners), a round pill does. `pill soft` is outlined in its colour and fills with it on hover; solid pills darken
13
+ on hover; no pill is underlined. New `pill soft danger` (destroys, after a confirmation) and `pill small` (acts on one
14
+ thing from inside its card); `pill danger` keeps the regular size. The focus ring is the keyboard's alone
15
+ (`:focus-visible`), never a click's.
16
+
9
17
  ## 0.9.0 - 2026-11-06
10
18
 
11
19
  * [FEATURE] `engine-card`: a `plane-card` about an engine, its head the same navy patterned with engine icons
@@ -20,7 +20,9 @@ body{margin:0;background:var(--color-bg);color:var(--color-text);min-height:100v
20
20
  img,svg{max-width:100%}
21
21
  .i{width:1em;height:1em;vertical-align:-.125em;fill:currentColor;flex-shrink:0}
22
22
  a{color:var(--color-primary)}
23
- a:focus,button:focus,input:focus,summary:focus{outline:3px solid var(--color-focus);outline-offset:2px}
23
+ a:focus,button:focus,input:focus,summary:focus{outline:0}
24
+ /* The focus ring is the keyboard's (and a text field's, which is always "visible"); a click draws none */
25
+ a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}
24
26
  @media (prefers-reduced-motion: reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
25
27
  .no-wrap{white-space:nowrap}
26
28
  .visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@@ -17,7 +17,14 @@
17
17
  .pill{display:inline-block;height:44px;line-height:42px;padding:0 16px;border-radius:22px;border:1px solid var(--color-primary);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
18
18
  .pill .i{margin-right:7px;vertical-align:-2px}
19
19
  .pill.primary{background:var(--color-primary);color:var(--color-on-primary)}
20
- .pill.soft{background:var(--color-primary-soft);color:var(--color-on-primary-soft);border-color:var(--color-primary-soft)}
20
+ .pill.soft{background:var(--color-bg);color:var(--color-primary);border-color:var(--color-primary)}
21
+ /* A pill changes colour on hover, never underlined: a solid one darkens, an outlined one fills with its own colour */
22
+ .pill:hover{text-decoration:none}
23
+ .pill.primary:hover,.pill.danger:hover{-webkit-filter:brightness(.88);filter:brightness(.88)}
24
+ .pill.soft:hover{background:var(--color-primary);color:var(--color-on-primary)}
25
+ /* small: a pill acting on one thing from inside its card (Remove, Reopen); a pill that submits a form or moves the flow
26
+ on keeps the regular size, the height of the fields beside it */
27
+ .pill.small{height:30px;line-height:28px;padding:0 12px;font-size:13px}
21
28
  .share-bar-list .share-bar-sep{width:1px;height:28px;background:var(--color-line);margin:0 12px 8px 4px}
22
29
  @media (max-width:480px){.share-bar-list .share-bar-sep{display:none}}
23
30
  .share-bar-status{min-height:1.5em;margin:4px 0 0;font-size:14px;color:var(--color-text-2)}
@@ -52,7 +59,7 @@
52
59
 
53
60
  /* switches: counts that turn a list on and off; list-tools: the row holding them, the sort button and the word search */
54
61
  .switches{display:flex;flex-wrap:wrap;align-items:center;margin:0 -6px;padding:0;list-style:none}
55
- .switches li{margin:6px;padding:5px 8px;border-radius:12px;font-weight:600}
62
+ .switches li{margin:6px;padding:5px 8px;border-radius:6px;font-weight:600}
56
63
  .switches .ok{background:var(--color-bad-bg);color:var(--color-bad)}
57
64
  .switches .warn{background:var(--color-warn-bg);color:var(--color-warn)}
58
65
  .switches .all{background:var(--color-surface-2);color:var(--color-text)}
@@ -135,7 +142,7 @@ ol.ad-card-list li.ad-card.superseded{display:none}
135
142
  ol.ad-card-list.js-live li.ad-card.superseded{display:block}
136
143
  .ad-card-top{position:relative;display:flex;flex-wrap:wrap;align-items:center}
137
144
  .ad-card-top > *{margin:0 10px 6px 0}
138
- .level-chip{display:inline-block;font-weight:700;font-size:14px;padding:5px 10px;border-radius:999px}
145
+ .level-chip{display:inline-block;font-weight:700;font-size:14px;padding:5px 10px;border-radius:6px}
139
146
  .level-chip .i{margin-right:5px}
140
147
  .level-chip.applies{background:var(--color-bad-bg);color:var(--color-bad)}
141
148
  .level-chip.may_apply{background:var(--color-warn-bg);color:var(--color-warn)}
@@ -286,8 +293,10 @@ a.tooltip-trigger:hover,a.tooltip-trigger:focus{box-shadow:0 0 0 2px currentColo
286
293
 
287
294
  /* pill: danger, for what can't be undone; disabled, until a form is complete; note bad: an alert line in the danger colour */
288
295
  .pill[disabled]{opacity:.45;cursor:not-allowed}
289
- .pill.danger{height:36px;line-height:34px;font-size:14px;background:var(--color-bad);border-color:var(--color-bad);color:var(--color-bg)}
290
- .pill.danger:hover{text-decoration:underline}
296
+ .pill.danger{background:var(--color-bad);border-color:var(--color-bad);color:var(--color-bg)}
297
+ /* soft danger: destroys something, always after a confirmation; never the main step */
298
+ .pill.soft.danger{background:var(--color-bg);border-color:var(--color-bad);color:var(--color-bad)}
299
+ .pill.soft.danger:hover{-webkit-filter:none;filter:none;background:var(--color-bad);color:var(--color-bg)}
291
300
  .note.bad{color:var(--color-bad);font-weight:600;margin:0 0 12px}
292
301
 
293
302
  /* flow-card: a form page's card, its title, line and actions (narrow: one column, for a short form); field-list: labels, fields and their help (wide and side items: the whole row, side a heading) */
data/lib/drive/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Drive
2
2
  # Version of the gem, read by the gemspec.
3
- VERSION = '0.9.0'.freeze
3
+ VERSION = '0.10.0'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob