@jsenv/navi 0.29.81 → 0.29.82

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.
@@ -22179,7 +22179,14 @@ const getFocusedBeforeTransfer = (e) => {
22179
22179
  * @param {boolean|"last-resort"|"restore"} autoFocus
22180
22180
  * When false the hook is a no-op. The other values say WHEN this element is
22181
22181
  * the right place for the keyboard (the whole ladder lives in
22182
- * findFocusTarget, see focus_transfer.js):
22182
+ * findFocusTarget, see focus_transfer.js, and the decisions behind it in
22183
+ * docs/autofocus.md):
22184
+ * - `true` — "I am what the user came for". On a FIELD it asks for the
22185
+ * keyboard outright, on a touch device included, where a popup otherwise
22186
+ * keeps it down: the comment box of a popup opened to write a comment. On a
22187
+ * CONTAINER it says the opposite, since a surface takes no keyboard by
22188
+ * being focused — the popup that is read before it is filled, arriving at
22189
+ * the top of its own reading order.
22183
22190
  * - `"last-resort"` — "not me, unless you have nothing else". Said by a
22184
22191
  * focusable that is a poor place to arrive (a picker's search box, a
22185
22192
  * panel's close button, a slide's chevron) and by a container about its own
@@ -49864,6 +49871,13 @@ const inputCss = /* css */`
49864
49871
 
49865
49872
  .navi_button {
49866
49873
  font-size: inherit;
49874
+ /* A <button> does not inherit the font on its own — same as the
49875
+ <input> above — and what stands in a slot is measured on the line
49876
+ box (Icon fillLine is 1lh): left on the browser's own font, the
49877
+ clear cross would resolve 1lh against a font the field is not
49878
+ written in, and the field would change height the moment the icon
49879
+ is replaced by the button. */
49880
+ font-family: inherit;
49867
49881
 
49868
49882
  /* A button in a slot (e.g. the clear cross) is drawn small but must
49869
49883
  not be small to hit: the spacing around it — the slot margins on the