easyfaa 1.1.0 → 1.2.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: a1097b0153725d1833cb4b112debfe06ef5e404186f32ab4f542909f4ca6275f
4
- data.tar.gz: bd2ab96f856794af2a8c4f8f02a24bbdcacbb1499ec07d1e7ef24416d16de1c7
3
+ metadata.gz: 5fd3bb4f728d16f8b55b8ceea0f8391b6e69a150dcde51f4adb9559605f5bbda
4
+ data.tar.gz: ba74bd8b67bbe56465506b937ce1d94631268c2ebbb5d5598a413f86c821c9da
5
5
  SHA512:
6
- metadata.gz: b65c742c67325acb5c76fdd8617f31265f42abdfd648b367b31296b1a6a99c7132d5de7ed34ec915d91b39ce318ac0f65f031cc63a2e98a30e49c3dae4fbd726
7
- data.tar.gz: a16b42137d055dab06dadea2e8e2dada95b7c19de28a6ac913180bf72f0f36ea334052ef0a14d0c20bd08e86669f32f8066e8ec8752ed63402eac8558e7e3b63
6
+ metadata.gz: 9b26cb37ba4ebd9c949416dbdda8bf26748bb711b1493f1241d14c2a6a91c83b50943774e2f2e8b20aea8373399bb1d4a67b3e1a416236c98f021a9d23cf108e
7
+ data.tar.gz: 30be0f18718450dc54365b773d2ddf204ec717020006cbf78042cd7c3184a306c54b5922f482faee5391f245cc433ef482b8d935e74adbc4ad8401f18da3911c
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  For more information about changelogs, check [Keep a Changelog](http://keepachangelog.com) and
6
6
  [Vandamme](http://tech-angels.github.io/vandamme).
7
7
 
8
+ ## 1.2.0 - 2026-11-13
9
+
10
+ * A dropdown (`field-list` or `add-row` select) draws its own chevron 14px in from its right edge, the
11
+ same in every browser, older Safaris too; where `appearance: base-select` works (Chrome 135, Safari
12
+ 27 on) its words are centered and its list opens below it in the field's border, radius and colors
13
+
8
14
  ## 1.1.0 - 2026-11-13
9
15
 
10
16
  * A switch that is on, filter or saved as flipped, is midnight, the house's navy, not blue, with a
@@ -498,6 +498,29 @@ mark.search-hit{background:var(--color-primary-soft);color:inherit;border-radius
498
498
  .add-row input:not([type=checkbox]),.add-row select{width:100%;height:44px;padding:0 12px;border:1px solid var(--color-line);
499
499
  border-radius:10px;background:var(--color-bg);color:var(--color-text);font:inherit;font-size:16px;font-weight:400;
500
500
  box-shadow:var(--shadow-sunk)}
501
+ /* select: a dropdown drawn alike in every browser. The native arrow goes (-webkit- for older Safaris, ::-ms-expand for
502
+ old Edge), and a chevron in the words' second color sits 14px from the right edge, drawn by two gradients so it
503
+ follows the theme. Where the browser lets the open list be styled too (appearance: base-select, Chrome 135 and Safari
504
+ 27 on), the field's words are centered on its height, and the list opens below it unless there's no room, with the
505
+ field's border, radius and colors; elsewhere it opens as the system draws it. */
506
+ .field-list select,.add-row select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:40px;
507
+ background-image:linear-gradient(45deg,transparent 50%,var(--color-text-2) 50%),
508
+ linear-gradient(135deg,var(--color-text-2) 50%,transparent 50%);
509
+ background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;
510
+ cursor:pointer}
511
+ .field-list select::-ms-expand,.add-row select::-ms-expand{display:none}
512
+ @supports (appearance:base-select){
513
+ .field-list select,.add-row select{appearance:base-select;display:flex;align-items:center}
514
+ .field-list select::picker-icon,.add-row select::picker-icon{display:none}
515
+ .field-list select::picker(select),.add-row select::picker(select){appearance:base-select;position-try-order:normal;
516
+ margin:4px 0;padding:4px;
517
+ border:1px solid var(--color-line);border-radius:10px;background:var(--color-bg);color:var(--color-text);
518
+ box-shadow:var(--shadow-raise-hover)}
519
+ .field-list select option,.add-row select option{padding:8px 12px;border-radius:6px}
520
+ .field-list select option:hover,.add-row select option:hover,.field-list select option:focus-visible,
521
+ .add-row select option:focus-visible{background:var(--color-surface-2)}
522
+ .field-list select option:checked,.add-row select option:checked{font-weight:600}
523
+ }
501
524
  .add-rows-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:4px 0 0}
502
525
  /* go-link: the way forward that only goes, a bold link, with its arrow. */
503
526
  .go-link{font-weight:600;text-decoration:none}
@@ -1,4 +1,4 @@
1
1
  module EasyFAA
2
2
  # Version of the gem, read by the gemspec and by hosts checking compatibility.
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easyfaa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob