@aiquants/auth-react-router 0.16.0 → 0.17.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.
package/README.md CHANGED
@@ -112,7 +112,7 @@ carry language, and they are **different axes**:
112
112
  form). The picker strings this package owns (`directoryView.pickerNoOptions` / `pickerClear` / `pickerToggle` /
113
113
  `pickerSelected` / `pickerAvailable`) are passed as the picker's `labels`, the placeholder is the per-instance
114
114
  `placeholder` prop, and every other key comes from the select-box catalog of `locale` (the values below are those of
115
- `defaultUserAdminLabels` / `jaUserAdminLabels` and of select-box 0.10.0):
115
+ `defaultUserAdminLabels` / `jaUserAdminLabels` and of select-box 0.11.0):
116
116
 
117
117
  | select-box key | Source | `"en"` | `"ja"` |
118
118
  | --- | --- | --- | --- |
@@ -129,6 +129,8 @@ carry language, and they are **different axes**:
129
129
  | `scrollToTop` | select-box catalog | Top | 先頭へ |
130
130
  | `scrollToBottom` | select-box catalog | Bottom | 末尾へ |
131
131
  | `noItems` | select-box catalog | No items | 項目がありません |
132
+ | `searching` | select-box catalog (message of the open list while nothing matches yet and more rows may still come) | Searching... | 検索中... |
133
+ | `guess` | select-box catalog (accessible description of a suggested row, one the picker lists as a guess rather than a match) | suggestion | 推測 |
132
134
  | `removeTag` | select-box catalog (multi-select chips; both pickers are single-select) | Remove {label} | 「{label}」を削除 |
133
135
  | `resizeHandle` | select-box catalog (tooltip of the option list's resize handle) | Resize handle | サイズ変更ハンドル |
134
136
 
@@ -251,13 +253,28 @@ the host, or the group picker's dropdown renders unstyled:
251
253
  @import "@aiquants/select-box/styles/select-box.css";
252
254
  ```
253
255
 
256
+ That is the components-only build. Follow select-box's own README ("CSS Setup") for the rest of your build: a Tailwind v4
257
+ host imports it (and the `@aiquants/virtualscroll` peer build) in `layer(components)` and points `@source` at
258
+ `node_modules/@aiquants/select-box/dist` (the published package ships no `src`); a host without Tailwind imports
259
+ `@aiquants/select-box/styles/select-box.standalone.css` instead.
260
+
261
+ The option rows of both pickers are drawn by this package: each row shows the group name and address, a note (the local
262
+ group already linked to it, which makes the row unpickable, or else its member count when known), and the part of the
263
+ label the typed query matched. The match paint is
264
+ the picker's own (`RenderOptionContext.highlight`: the query compiled once under the picker's normalization and bound to
265
+ the row's match category), so a row the picker lists as a guess is never painted as an exact match; the runs carry
266
+ `data-aqar-match="exact"` or `"fuzzy"` and are paint-only (background and text colour, no bold), so a label keeps its
267
+ width while you type.
268
+
254
269
  `@aiquants/fuzzy-search` is a transitive peer (the picker's search index, reached only through select-box) and is
255
270
  declared here as well, so a host that installs this package is told what the picker needs rather than discovering it
256
271
  as a runtime resolution failure. `@aiquants/virtualscroll` is both: select-box renders its option list with it, and
257
272
  this package imports it **directly** — `src/admin/labels.ts` resolves the UI language with
258
273
  `resolveVirtualScrollLocale`, so `dist/admin.mjs` carries its specifier. The pickers use the `locale` / `labels` props
259
- of `@aiquants/select-box` 0.10.0 and the locale resolution of `@aiquants/virtualscroll` 3.7.0, so those are the peer
260
- floors.
274
+ of `@aiquants/select-box` and its 0.11 render and typing contract (`RenderOptionContext.highlight`, and `value` /
275
+ `onChange` typed by the option type), plus the locale resolution of `@aiquants/virtualscroll` 3.7.0, so select-box 0.11.0
276
+ and virtualscroll 3.7.0 are the peer floors (the published manifest carries `^0.11.0`, which a 0.10 install does not
277
+ satisfy).
261
278
 
262
279
  All three are **required** peers, not optional. `src/admin/views.tsx` imports `@aiquants/select-box` and
263
280
  `src/admin/labels.ts` imports `@aiquants/virtualscroll` at the top level, and `./admin` re-exports both modules, so the