@aiquants/auth-react-router 0.18.0 → 0.20.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 +6 -7
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -261,10 +261,9 @@ the host, or the group picker's dropdown renders unstyled:
|
|
|
261
261
|
@import "@aiquants/select-box/styles/select-box.css";
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
That is the components-only build. Follow select-box
|
|
265
|
-
host imports it (and the `@aiquants/virtualscroll` peer build) in `layer(components)
|
|
266
|
-
|
|
267
|
-
`@aiquants/select-box/styles/select-box.standalone.css` instead.
|
|
264
|
+
That is the components-only build. Follow the README of the select-box version you install ("CSS Setup") for the rest
|
|
265
|
+
of your build: a Tailwind v4 host imports it (and the `@aiquants/virtualscroll` peer build) in `layer(components)`; a
|
|
266
|
+
host without Tailwind imports `@aiquants/select-box/styles/select-box.standalone.css` instead.
|
|
268
267
|
|
|
269
268
|
The option rows of both pickers are drawn by this package: each row shows the group name and address, a note (the local
|
|
270
269
|
group already linked to it, which makes the row unpickable, or else its member count when known), and the part of the
|
|
@@ -280,9 +279,9 @@ as a runtime resolution failure. `@aiquants/virtualscroll` is both: select-box r
|
|
|
280
279
|
this package imports it **directly** — `src/admin/labels.ts` resolves the UI language with
|
|
281
280
|
`resolveVirtualScrollLocale`, so `dist/admin.mjs` carries its specifier. The pickers use the `locale` / `labels` props
|
|
282
281
|
of `@aiquants/select-box` and its 0.11 render and typing contract (`RenderOptionContext.highlight`, and `value` /
|
|
283
|
-
`onChange` typed by the option type), plus the locale resolution of `@aiquants/virtualscroll` 3.7.0
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
`onChange` typed by the option type), plus the locale resolution of `@aiquants/virtualscroll` 3.7.0. The published manifest carries the versions the release
|
|
283
|
+
was built and tested with — select-box `^0.14.0`, fuzzy-search `^2.6.0`, virtualscroll `^3.9.2` — so a host installs at
|
|
284
|
+
least those (a 0.x minor is outside the caret range: a host on select-box 0.11 or 0.12 bumps it explicitly).
|
|
286
285
|
|
|
287
286
|
All three are **required** peers, not optional. `src/admin/views.tsx` imports `@aiquants/select-box` and
|
|
288
287
|
`src/admin/labels.ts` imports `@aiquants/virtualscroll` at the top level, and `./admin` re-exports both modules, so the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/auth-react-router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "React Router v7 / v8 auth adapter for @aiquants/auth-core: Google OAuth strategy factory (remix-auth), cookie session storage with DI test backdoor, a loader guard that authenticates at most once per request (token refresh + photo cache), auth route handlers, and a <GoogleForm> login button.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@aiquants/auth-core": "0.6.1",
|
|
53
|
-
"@aiquants/fuzzy-search": "2.
|
|
54
|
-
"@aiquants/select-box": "0.
|
|
55
|
-
"@aiquants/virtualscroll": "3.
|
|
53
|
+
"@aiquants/fuzzy-search": "2.6.0",
|
|
54
|
+
"@aiquants/select-box": "0.14.0",
|
|
55
|
+
"@aiquants/virtualscroll": "3.9.2",
|
|
56
56
|
"@tailwindcss/cli": "^4.1.18",
|
|
57
57
|
"@testing-library/react": "^16.3.2",
|
|
58
58
|
"@types/node": "^25.9.1",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@aiquants/auth-core": "^0.6.1",
|
|
75
|
-
"@aiquants/fuzzy-search": "^2.
|
|
76
|
-
"@aiquants/select-box": "^0.
|
|
77
|
-
"@aiquants/virtualscroll": "^3.
|
|
75
|
+
"@aiquants/fuzzy-search": "^2.6.0",
|
|
76
|
+
"@aiquants/select-box": "^0.14.0",
|
|
77
|
+
"@aiquants/virtualscroll": "^3.9.2",
|
|
78
78
|
"react": ">=18",
|
|
79
79
|
"react-dom": ">=18",
|
|
80
80
|
"react-icons": ">=5",
|
|
@@ -97,9 +97,9 @@
|
|
|
97
97
|
"dev": "tsup --watch --onSuccess \"pnpm build:css\"",
|
|
98
98
|
"typecheck": "tsc --noEmit",
|
|
99
99
|
"clean": "rimraf dist",
|
|
100
|
-
"publish:patch": "pnpm run verify && pnpm version patch --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
101
|
-
"publish:minor": "pnpm run verify && pnpm version minor --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
102
|
-
"publish:major": "pnpm run verify && pnpm version major --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
100
|
+
"publish:patch": "pnpm run verify && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version patch --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
101
|
+
"publish:minor": "pnpm run verify && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version minor --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
102
|
+
"publish:major": "pnpm run verify && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version major --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
103
103
|
"verify": "pnpm run typecheck && pnpm run check && pnpm run test",
|
|
104
104
|
"lint": "biome lint src/",
|
|
105
105
|
"check": "biome check src/",
|