@ferrlabs/ui-ng 1.71.0 → 1.71.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.
package/README.md CHANGED
@@ -198,6 +198,11 @@ A read-only secret, masked until the user asks for it. The value is not in the D
198
198
  masked. Show reveals it and masks it again after `revealSeconds` (30 by default, `0` keeps it
199
199
  shown), Copy copies it without revealing it. Both buttons are named after `aria-label`.
200
200
 
201
+ The value is masked as soon as the tab is hidden or the page is put away, whatever
202
+ `revealSeconds` says. Switching to another window does not mask it, so it can be pasted
203
+ elsewhere. The countdown follows the clock, not timer ticks, and it is held while the value
204
+ has focus so it cannot disappear mid-read or mid-selection; it starts over when focus leaves.
205
+
201
206
  ```html
202
207
  <flr-field label="Webhook secret">
203
208
  <flr-secret-field aria-label="Webhook secret" [value]="secret()" [revealSeconds]="30" />
@@ -220,7 +225,10 @@ value is masked again, which is the moment to drop it:
220
225
  ```
221
226
 
222
227
  A copy that follows a fetch runs after the click, and some browsers refuse a clipboard write
223
- that late. The field then says so and asks the user to show the value and copy it by hand.
228
+ that late. The field then shows the value, selects it and says to copy it with the keyboard.
229
+ The message goes away when the value is hidden again.
230
+
231
+ The field is as tall as `--control-height`, and 44px on a coarse pointer.
224
232
 
225
233
  Every string is replaceable through `labels` (`SecretFieldLabels`).
226
234
 
@@ -240,7 +248,13 @@ For a server-searched list (`[localFilter]="false"`), set `hasMore` while pages
240
248
  `loadMore` emits once per page when the list is scrolled near its end, when the down arrow
241
249
  is pressed on the last option, or on the "Load more" button. Append the new page to `options`
242
250
  and set `loadingMore` meanwhile. `error` shows a message with a `retry` action in place of
243
- the empty text or the "Load more" button:
251
+ the empty text or the "Load more" button. Screen readers hear "Loading more…", then
252
+ `loadedText(count)` ("20 results loaded.") and `noMoreText` once `hasMore` turns false.
253
+
254
+ When a search starts, set `loading` and leave `options` as they are until the results arrive:
255
+ the previous rows stay in place, dimmed, and the panel keeps its height. If `options` is
256
+ emptied anyway, the combobox keeps showing the last rows until the load ends, but they cannot
257
+ be picked.
244
258
 
245
259
  ```html
246
260
  <flr-combobox