cursedauth 0.1.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/LICENSE +21 -0
- package/README.md +87 -0
- package/dist/account/AccountMenu.d.ts +153 -0
- package/dist/account/AccountMenu.d.ts.map +1 -0
- package/dist/account/AccountMenu.js +388 -0
- package/dist/account/AccountMenu.js.map +1 -0
- package/dist/account/AccountNotice.d.ts +35 -0
- package/dist/account/AccountNotice.d.ts.map +1 -0
- package/dist/account/AccountNotice.js +133 -0
- package/dist/account/AccountNotice.js.map +1 -0
- package/dist/account/accountNotice.state.d.ts +20 -0
- package/dist/account/accountNotice.state.d.ts.map +1 -0
- package/dist/account/accountNotice.state.js +55 -0
- package/dist/account/accountNotice.state.js.map +1 -0
- package/dist/account/avatar.d.ts +37 -0
- package/dist/account/avatar.d.ts.map +1 -0
- package/dist/account/avatar.js +47 -0
- package/dist/account/avatar.js.map +1 -0
- package/dist/accountSlot.client.d.ts +113 -0
- package/dist/accountSlot.client.d.ts.map +1 -0
- package/dist/accountSlot.client.js +330 -0
- package/dist/accountSlot.client.js.map +1 -0
- package/dist/accountSlots.d.ts +192 -0
- package/dist/accountSlots.d.ts.map +1 -0
- package/dist/accountSlots.js +274 -0
- package/dist/accountSlots.js.map +1 -0
- package/dist/auth.d.ts +167 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +310 -0
- package/dist/auth.js.map +1 -0
- package/dist/auth.server.d.ts +35 -0
- package/dist/auth.server.d.ts.map +1 -0
- package/dist/auth.server.js +67 -0
- package/dist/auth.server.js.map +1 -0
- package/dist/clientDescription.d.ts +186 -0
- package/dist/clientDescription.d.ts.map +1 -0
- package/dist/clientDescription.js +278 -0
- package/dist/clientDescription.js.map +1 -0
- package/dist/constantTime.d.ts +35 -0
- package/dist/constantTime.d.ts.map +1 -0
- package/dist/constantTime.js +46 -0
- package/dist/constantTime.js.map +1 -0
- package/dist/contentCensus.d.ts +59 -0
- package/dist/contentCensus.d.ts.map +1 -0
- package/dist/contentCensus.js +55 -0
- package/dist/contentCensus.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/mountGatedApp.d.ts +128 -0
- package/dist/mountGatedApp.d.ts.map +1 -0
- package/dist/mountGatedApp.js +107 -0
- package/dist/mountGatedApp.js.map +1 -0
- package/dist/runtimeMode.d.ts +28 -0
- package/dist/runtimeMode.d.ts.map +1 -0
- package/dist/runtimeMode.js +37 -0
- package/dist/runtimeMode.js.map +1 -0
- package/dist/secureRequest.d.ts +22 -0
- package/dist/secureRequest.d.ts.map +1 -0
- package/dist/secureRequest.js +27 -0
- package/dist/secureRequest.js.map +1 -0
- package/dist/sso.d.ts +373 -0
- package/dist/sso.d.ts.map +1 -0
- package/dist/sso.js +420 -0
- package/dist/sso.js.map +1 -0
- package/dist/ssoAutoSignIn.d.ts +272 -0
- package/dist/ssoAutoSignIn.d.ts.map +1 -0
- package/dist/ssoAutoSignIn.js +431 -0
- package/dist/ssoAutoSignIn.js.map +1 -0
- package/dist/ssoConsumer.server.d.ts +295 -0
- package/dist/ssoConsumer.server.d.ts.map +1 -0
- package/dist/ssoConsumer.server.js +972 -0
- package/dist/ssoConsumer.server.js.map +1 -0
- package/dist/stageIdentity.d.ts +72 -0
- package/dist/stageIdentity.d.ts.map +1 -0
- package/dist/stageIdentity.js +74 -0
- package/dist/stageIdentity.js.map +1 -0
- package/dist/ui/popover.d.ts +190 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.js +351 -0
- package/dist/ui/popover.js.map +1 -0
- package/dist/userSessions.d.ts +205 -0
- package/dist/userSessions.d.ts.map +1 -0
- package/dist/userSessions.js +419 -0
- package/dist/userSessions.js.map +1 -0
- package/package.json +115 -0
- package/src/account/AccountMenu.tsx +729 -0
- package/src/account/AccountNotice.tsx +223 -0
- package/src/account/accountNotice.state.ts +66 -0
- package/src/account/avatar.ts +50 -0
- package/src/accountSlot.client.ts +362 -0
- package/src/accountSlots.ts +305 -0
- package/src/auth.server.ts +89 -0
- package/src/auth.ts +515 -0
- package/src/clientDescription.ts +366 -0
- package/src/constantTime.ts +45 -0
- package/src/contentCensus.ts +106 -0
- package/src/index.ts +58 -0
- package/src/mountGatedApp.ts +240 -0
- package/src/runtimeMode.ts +37 -0
- package/src/secureRequest.ts +25 -0
- package/src/sso.ts +767 -0
- package/src/ssoAutoSignIn.ts +544 -0
- package/src/ssoConsumer.server.ts +1260 -0
- package/src/stageIdentity.ts +76 -0
- package/src/ui/popover.ts +390 -0
- package/src/userSessions.ts +678 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssoConsumer.server.js","sourceRoot":"","sources":["../src/ssoConsumer.server.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAsB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EACN,mBAAmB,EAEnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EAGpB,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,qBAAqB,GACrB,MAAM,OAAO,CAAC;AACf,OAAO,EACN,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,QAAQ,GACR,MAAM,gBAAgB,CAAC;AAGxB,MAAM,CAAC,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,qBAAqB,CAAC;AACpD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC;AACxD;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,sBAAsB,CAA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AC,CAAC,GAAG,CAC9E,MAAM,CAAC,KAAK,EACZ,MAAM,CAAC,EAAE,CACT,CAAC;IACF,EAAE,CAAC,KAAK,CACP;;;;;4EAK0E,CAC1E,CAAC,GAAG,CACJ,MAAM,CAAC,EAAE,EACT,MAAM,CAAC,KAAK,EACZ,MAAM,CAAC,IAAI,EACX,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACpB,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC7B,MAAM,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC/B,EAAE,EACF,EAAE,EACF,EAAE,CACF,CAAC;AACH,CAAC;AAED,SAAS,OAAO,CAAC,KAAa;IAC7B,IAAI,CAAC;QACJ,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAE3E,CAAC;QACF,OAAO,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACR,OAAO,IAAI,CAAC;IACb,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE LOCAL STAGE'S IDENTITY — the accounts door a staged artifact uses, and the marker
|
|
3
|
+
* that says it is one.
|
|
4
|
+
*
|
|
5
|
+
* ## 🔴 Why this is its own module, with ZERO imports
|
|
6
|
+
*
|
|
7
|
+
* Four callers need these three values and they do not run in the same runtime:
|
|
8
|
+
*
|
|
9
|
+
* · `appConfig.ts` — the app's server, under **Bun**
|
|
10
|
+
* · `ssoConsumer.server.ts` — the app's server, under **Bun**
|
|
11
|
+
* · `smoke/previewTarget.ts` — a Playwright **config**, loaded under **NODE**
|
|
12
|
+
* · `smoke/stageSignIn.ts` — a Playwright **spec**, under **NODE**
|
|
13
|
+
*
|
|
14
|
+
* The two halves have to agree about all three values or the stage does not work — the
|
|
15
|
+
* artifact would expect a `<app>-local` grant while the spec minted a production one.
|
|
16
|
+
* But `appConfig.ts` reaches `cwip/env` and `node:path` and is the entry to the whole
|
|
17
|
+
* config reader, and a Playwright config that imports it drags that graph into Node at
|
|
18
|
+
* config-load time — where the failure is `ERR_MODULE_NOT_FOUND` or a `bun:` specifier,
|
|
19
|
+
* thrown before a single spec runs and pointing at the config rather than at the cause.
|
|
20
|
+
* `smoke/previewTarget.ts` already carries a scar of exactly this shape in its own
|
|
21
|
+
* `import.meta.dir` note.
|
|
22
|
+
*
|
|
23
|
+
* So the shared values live at a LEAF with no dependencies at all, and everything else
|
|
24
|
+
* imports them. `appConfig.ts` re-exports them so no existing caller has to learn that
|
|
25
|
+
* this file exists.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* THE FLEET'S LOCAL ACCOUNTS DOOR — the `auth-local` launchd daemon on this Mac.
|
|
29
|
+
*
|
|
30
|
+
* The same daemon `appConfig`'s `DEV_AUTH_URL` names, in the `127.0.0.1` spelling. Both
|
|
31
|
+
* spellings exist because they are not interchangeable to an exact-match redirect
|
|
32
|
+
* allowlist and never have been: `localhost` is what a dev shell types and what
|
|
33
|
+
* `apps/auth` has registered for the dev ports, `127.0.0.1` is what the always-on
|
|
34
|
+
* consumers (`orch-local`, `station-local`) were registered with. Aliasing one to the
|
|
35
|
+
* other is a one-line change that answers 400 `unregistered redirect_uri`.
|
|
36
|
+
*
|
|
37
|
+
* 🔴 It carries its OWN `users.sqlite`, entirely separate from production's, which is the
|
|
38
|
+
* whole reason the owner's answer to *"we need three test accounts"* is this door rather
|
|
39
|
+
* than a boundary change: a stage account costs the live registry nothing, because it is
|
|
40
|
+
* never in it.
|
|
41
|
+
*/
|
|
42
|
+
export declare const LOCAL_AUTH_URL = "http://127.0.0.1:3309";
|
|
43
|
+
/**
|
|
44
|
+
* THE STAGE IDENTITY MARKER — "this artifact's accounts are the LOCAL ones".
|
|
45
|
+
*
|
|
46
|
+
* Set by exactly one thing: `smoke/localStage.ts`, the single seam that turns a locally
|
|
47
|
+
* booted artifact into a stage, and mirrored onto the test RUNNER by
|
|
48
|
+
* `smoke/previewTarget.ts` so both halves of a run read one decision. Nothing else writes
|
|
49
|
+
* it, no deploy secrets file contains it, and the deploy engine does not know it exists.
|
|
50
|
+
*
|
|
51
|
+
* ## Why this one IS an env var when `deployed` and `isStageOrigin` deliberately are not
|
|
52
|
+
*
|
|
53
|
+
* The rule `appConfig.ts` states twice is that a boolean meaning *"it is fine to let
|
|
54
|
+
* someone else in"* must be derived, never configured — because a typo makes it true in
|
|
55
|
+
* production and nothing about the value looks wrong sitting in a secrets file.
|
|
56
|
+
*
|
|
57
|
+
* 🔴 This marker points the OTHER WAY, and that is the whole reason it is allowed to be a
|
|
58
|
+
* variable. It does not widen a door; it takes production's accounts away from the
|
|
59
|
+
* artifact and hands it a loopback registry instead. A stray `APP_STAGE_IDENTITY=local` on
|
|
60
|
+
* a real release does not admit anybody — it makes that release ask a daemon on
|
|
61
|
+
* `127.0.0.1` that is not there, and refuse every sign-in loudly. Failure in the safe
|
|
62
|
+
* direction is what buys the simplicity, the same trade `SMOKE_PROD_READ_ONLY` makes.
|
|
63
|
+
*
|
|
64
|
+
* The alternative was deriving it from `live && !deployed`, which is ALSO true of a plain
|
|
65
|
+
* `bun run preview:prod` — so a developer previewing the production build on their own
|
|
66
|
+
* machine would silently stop being able to sign in. A stage is a deliberate act and it
|
|
67
|
+
* says so.
|
|
68
|
+
*/
|
|
69
|
+
export declare const STAGE_IDENTITY_ENV = "APP_STAGE_IDENTITY";
|
|
70
|
+
/** True when this process is a staged artifact whose accounts are the local ones. */
|
|
71
|
+
export declare function stageIdentityIsLocal(env?: NodeJS.ProcessEnv): boolean;
|
|
72
|
+
//# sourceMappingURL=stageIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stageIdentity.d.ts","sourceRoot":"","sources":["../src/stageIdentity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,0BAA0B,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,qFAAqF;AACrF,wBAAgB,oBAAoB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAElF"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE LOCAL STAGE'S IDENTITY — the accounts door a staged artifact uses, and the marker
|
|
3
|
+
* that says it is one.
|
|
4
|
+
*
|
|
5
|
+
* ## 🔴 Why this is its own module, with ZERO imports
|
|
6
|
+
*
|
|
7
|
+
* Four callers need these three values and they do not run in the same runtime:
|
|
8
|
+
*
|
|
9
|
+
* · `appConfig.ts` — the app's server, under **Bun**
|
|
10
|
+
* · `ssoConsumer.server.ts` — the app's server, under **Bun**
|
|
11
|
+
* · `smoke/previewTarget.ts` — a Playwright **config**, loaded under **NODE**
|
|
12
|
+
* · `smoke/stageSignIn.ts` — a Playwright **spec**, under **NODE**
|
|
13
|
+
*
|
|
14
|
+
* The two halves have to agree about all three values or the stage does not work — the
|
|
15
|
+
* artifact would expect a `<app>-local` grant while the spec minted a production one.
|
|
16
|
+
* But `appConfig.ts` reaches `cwip/env` and `node:path` and is the entry to the whole
|
|
17
|
+
* config reader, and a Playwright config that imports it drags that graph into Node at
|
|
18
|
+
* config-load time — where the failure is `ERR_MODULE_NOT_FOUND` or a `bun:` specifier,
|
|
19
|
+
* thrown before a single spec runs and pointing at the config rather than at the cause.
|
|
20
|
+
* `smoke/previewTarget.ts` already carries a scar of exactly this shape in its own
|
|
21
|
+
* `import.meta.dir` note.
|
|
22
|
+
*
|
|
23
|
+
* So the shared values live at a LEAF with no dependencies at all, and everything else
|
|
24
|
+
* imports them. `appConfig.ts` re-exports them so no existing caller has to learn that
|
|
25
|
+
* this file exists.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* THE FLEET'S LOCAL ACCOUNTS DOOR — the `auth-local` launchd daemon on this Mac.
|
|
29
|
+
*
|
|
30
|
+
* The same daemon `appConfig`'s `DEV_AUTH_URL` names, in the `127.0.0.1` spelling. Both
|
|
31
|
+
* spellings exist because they are not interchangeable to an exact-match redirect
|
|
32
|
+
* allowlist and never have been: `localhost` is what a dev shell types and what
|
|
33
|
+
* `apps/auth` has registered for the dev ports, `127.0.0.1` is what the always-on
|
|
34
|
+
* consumers (`orch-local`, `station-local`) were registered with. Aliasing one to the
|
|
35
|
+
* other is a one-line change that answers 400 `unregistered redirect_uri`.
|
|
36
|
+
*
|
|
37
|
+
* 🔴 It carries its OWN `users.sqlite`, entirely separate from production's, which is the
|
|
38
|
+
* whole reason the owner's answer to *"we need three test accounts"* is this door rather
|
|
39
|
+
* than a boundary change: a stage account costs the live registry nothing, because it is
|
|
40
|
+
* never in it.
|
|
41
|
+
*/
|
|
42
|
+
export const LOCAL_AUTH_URL = "http://127.0.0.1:3309";
|
|
43
|
+
/**
|
|
44
|
+
* THE STAGE IDENTITY MARKER — "this artifact's accounts are the LOCAL ones".
|
|
45
|
+
*
|
|
46
|
+
* Set by exactly one thing: `smoke/localStage.ts`, the single seam that turns a locally
|
|
47
|
+
* booted artifact into a stage, and mirrored onto the test RUNNER by
|
|
48
|
+
* `smoke/previewTarget.ts` so both halves of a run read one decision. Nothing else writes
|
|
49
|
+
* it, no deploy secrets file contains it, and the deploy engine does not know it exists.
|
|
50
|
+
*
|
|
51
|
+
* ## Why this one IS an env var when `deployed` and `isStageOrigin` deliberately are not
|
|
52
|
+
*
|
|
53
|
+
* The rule `appConfig.ts` states twice is that a boolean meaning *"it is fine to let
|
|
54
|
+
* someone else in"* must be derived, never configured — because a typo makes it true in
|
|
55
|
+
* production and nothing about the value looks wrong sitting in a secrets file.
|
|
56
|
+
*
|
|
57
|
+
* 🔴 This marker points the OTHER WAY, and that is the whole reason it is allowed to be a
|
|
58
|
+
* variable. It does not widen a door; it takes production's accounts away from the
|
|
59
|
+
* artifact and hands it a loopback registry instead. A stray `APP_STAGE_IDENTITY=local` on
|
|
60
|
+
* a real release does not admit anybody — it makes that release ask a daemon on
|
|
61
|
+
* `127.0.0.1` that is not there, and refuse every sign-in loudly. Failure in the safe
|
|
62
|
+
* direction is what buys the simplicity, the same trade `SMOKE_PROD_READ_ONLY` makes.
|
|
63
|
+
*
|
|
64
|
+
* The alternative was deriving it from `live && !deployed`, which is ALSO true of a plain
|
|
65
|
+
* `bun run preview:prod` — so a developer previewing the production build on their own
|
|
66
|
+
* machine would silently stop being able to sign in. A stage is a deliberate act and it
|
|
67
|
+
* says so.
|
|
68
|
+
*/
|
|
69
|
+
export const STAGE_IDENTITY_ENV = "APP_STAGE_IDENTITY";
|
|
70
|
+
/** True when this process is a staged artifact whose accounts are the local ones. */
|
|
71
|
+
export function stageIdentityIsLocal(env = process.env) {
|
|
72
|
+
return env[STAGE_IDENTITY_ENV]?.trim().toLowerCase() === "local";
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=stageIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stageIdentity.js","sourceRoot":"","sources":["../src/stageIdentity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,uBAAuB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAEvD,qFAAqF;AACrF,MAAM,UAAU,oBAAoB,CAAC,MAAyB,OAAO,CAAC,GAAG;IACxE,OAAO,GAAG,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inject a scoped stylesheet once per document, keyed on `id`.
|
|
3
|
+
*
|
|
4
|
+
* Idempotent by the id check, which is what makes it safe to call from every
|
|
5
|
+
* instance of a widget — a header renders one launcher, an account page may
|
|
6
|
+
* render another, and neither should care whether the other already ran.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useInjectedStyles(id: string, css: string): void;
|
|
9
|
+
/**
|
|
10
|
+
* Follow the host app's dark mode without owning a theme of our own.
|
|
11
|
+
*
|
|
12
|
+
* ── 🔴 The rung that was missing, and the bug it caused ─────────────────────────────────
|
|
13
|
+
* A flix user, 2026-08-25: *"the square button looks like it's in dark mode even though he
|
|
14
|
+
* was in light mode, and so did the pill with user initials and user name."*
|
|
15
|
+
*
|
|
16
|
+
* The order below was: explicit attribute, then the `dark` CLASS, then the OS preference.
|
|
17
|
+
* cursedbelt's theme store expresses LIGHT by REMOVING the class (`classList.toggle('dark',
|
|
18
|
+
* scheme === 'dark')` — `theme.css`'s contract, and right for `dark:` utilities), and it
|
|
19
|
+
* sets no attribute. So a host in light mode looked exactly like a host that had never
|
|
20
|
+
* chosen: nothing matched, and the fall-through asked the OPERATING SYSTEM — which for
|
|
21
|
+
* this reader was dark. Every popover in the header therefore rendered dark over a light
|
|
22
|
+
* app. The class is a positive signal for dark and carries no signal at all for light,
|
|
23
|
+
* which is the whole defect.
|
|
24
|
+
*
|
|
25
|
+
* The missing rung is `color-scheme` on the root, which the same applier sets to the
|
|
26
|
+
* RESOLVED value in both directions. It is a web-platform property rather than a
|
|
27
|
+
* cursedbelt invention — it is what tells native scrollbars and form controls which way to
|
|
28
|
+
* paint — so reading it also covers any host that themes itself properly without using
|
|
29
|
+
* this design system at all. `prefers-color-scheme` stays as the last resort, for a host
|
|
30
|
+
* that has genuinely expressed nothing.
|
|
31
|
+
*
|
|
32
|
+
* 🔴 `style` is in the observed attribute list for the same reason: the applier writes
|
|
33
|
+
* `documentElement.style.colorScheme`, so leaving it out would read the value once and
|
|
34
|
+
* then never notice the theme being toggled.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useHostDark(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Where a popover's left edge goes, in coordinates relative to its launcher.
|
|
39
|
+
*
|
|
40
|
+
* 🔴 **This exists because `right: 0` is wrong on a phone.** The panel is
|
|
41
|
+
* positioned against a ~30px launcher button, so right-aligning it puts its LEFT
|
|
42
|
+
* edge at `button.right - panelWidth`. On a 393px-wide iPhone with the button two
|
|
43
|
+
* thirds across the header, that is roughly **-90px**: the panel hangs off the
|
|
44
|
+
* side of the screen and its entire content is unreadable. (Reported from a real
|
|
45
|
+
* iPhone against flix, 2026-08-09.) A `max-width` cannot fix it; the width was
|
|
46
|
+
* already clamped, and it was the OFFSET that was off-screen.
|
|
47
|
+
*
|
|
48
|
+
* So the edge is clamped into the viewport instead: right-aligned to the button
|
|
49
|
+
* when that fits, pushed in from whichever side it would otherwise overhang when
|
|
50
|
+
* it does not.
|
|
51
|
+
*
|
|
52
|
+
* 🔴 **Returned relative to the launcher, and that is now the LEGACY axis.** The
|
|
53
|
+
* comment here used to explain that a `position: fixed` panel "is not available,
|
|
54
|
+
* since a sticky app header with `backdrop-filter` becomes the containing block
|
|
55
|
+
* for fixed descendants". That is true of a panel rendered INSIDE the launcher —
|
|
56
|
+
* and it is exactly why {@link anchoredLeftInViewport} plus a portal to `body`
|
|
57
|
+
* replaced it (2026-09-09, E22). Once the panel is a child of `body` there is no
|
|
58
|
+
* transformed ancestor to resolve against, so viewport coordinates are simply
|
|
59
|
+
* correct. This relative form is kept because it is pure, tested, and is the
|
|
60
|
+
* arithmetic the viewport form is built out of.
|
|
61
|
+
*
|
|
62
|
+
* Pure and exported so the arithmetic can be tested without a browser.
|
|
63
|
+
*/
|
|
64
|
+
export declare function anchoredLeft(anchor: {
|
|
65
|
+
left: number;
|
|
66
|
+
right: number;
|
|
67
|
+
}, viewportWidth: number, panelWidth: number, margin?: number): number;
|
|
68
|
+
/**
|
|
69
|
+
* The same clamp, in VIEWPORT coordinates — what a portaled `position: fixed`
|
|
70
|
+
* panel needs. {@link anchoredLeft} is this minus `anchor.left`.
|
|
71
|
+
*/
|
|
72
|
+
export declare function anchoredLeftInViewport(anchor: {
|
|
73
|
+
left: number;
|
|
74
|
+
right: number;
|
|
75
|
+
}, viewportWidth: number, panelWidth: number, margin?: number): number;
|
|
76
|
+
/**
|
|
77
|
+
* The gap between a launcher and its panel. Was `calc(100% + 6px)` in each
|
|
78
|
+
* widget's stylesheet until the panel stopped being positioned by CSS at all.
|
|
79
|
+
*/
|
|
80
|
+
export declare const POPOVER_GAP = 6;
|
|
81
|
+
/** Which side of the launcher a panel ended up on. */
|
|
82
|
+
export type PopoverPlacement = "below" | "above";
|
|
83
|
+
/**
|
|
84
|
+
* Where a popover's TOP edge goes, in viewport coordinates, and which side it
|
|
85
|
+
* chose.
|
|
86
|
+
*
|
|
87
|
+
* 🔴 **This exists because the fleet launcher is at the BOTTOM-LEFT corner.**
|
|
88
|
+
* The owner, 2026-09-09: *"The icon is on the bottom left corner and the popup it
|
|
89
|
+
* opens is going under it outside of view plus behind the sidebar. Its position
|
|
90
|
+
* calculation makes it completely unusable."*
|
|
91
|
+
*
|
|
92
|
+
* There was no vertical calculation at all. `anchoredLeft` solved the horizontal
|
|
93
|
+
* axis in August (a phone pushed the panel off the side); the vertical axis was
|
|
94
|
+
* a single CSS line, `top: calc(100% + 6px)` — *always* below the launcher. That
|
|
95
|
+
* is right for a header at the top of the page and unusable for a launcher at the
|
|
96
|
+
* bottom, where "below" is past the fold. A `max-height` cannot fix it, for the
|
|
97
|
+
* same reason a `max-width` could not fix the phone bug: the panel was the right
|
|
98
|
+
* size and in the wrong PLACE.
|
|
99
|
+
*
|
|
100
|
+
* So: below when it fits, flipped above when it does not, and when neither side
|
|
101
|
+
* fits (a panel taller than the viewport) the roomier side wins and the result is
|
|
102
|
+
* clamped to the margins so the top of the panel is always reachable.
|
|
103
|
+
*
|
|
104
|
+
* Pure and exported so the arithmetic can be tested without a browser.
|
|
105
|
+
*/
|
|
106
|
+
export declare function anchoredTop(anchor: {
|
|
107
|
+
top: number;
|
|
108
|
+
bottom: number;
|
|
109
|
+
}, viewportHeight: number, panelHeight: number, gap?: number, margin?: number): {
|
|
110
|
+
top: number;
|
|
111
|
+
placement: PopoverPlacement;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* The full position of a portaled panel, in viewport coordinates.
|
|
115
|
+
*
|
|
116
|
+
* `null` until the first measurement — a caller paints nothing rather than
|
|
117
|
+
* painting in the wrong place and then jumping. Unlike the old `left`-only hook
|
|
118
|
+
* there is no "paint right-aligned meanwhile" fallback available, because the
|
|
119
|
+
* panel is no longer inside the launcher and has no edge to align against.
|
|
120
|
+
*/
|
|
121
|
+
export interface PopoverPosition {
|
|
122
|
+
left: number;
|
|
123
|
+
top: number;
|
|
124
|
+
placement: PopoverPlacement;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Measure launcher and panel, and place the panel on screen.
|
|
128
|
+
*
|
|
129
|
+
* 🔴 **A scroll listener is REQUIRED here**, where the old left-only hook
|
|
130
|
+
* correctly did without one. That hook positioned the panel absolutely inside the
|
|
131
|
+
* launcher, so it travelled with it and only a resize could move it. A portaled
|
|
132
|
+
* `position: fixed` panel does not travel with anything: scroll the page and the
|
|
133
|
+
* launcher moves out from under a panel that stayed put. `capture: true` so a
|
|
134
|
+
* scrolling CONTAINER (a sidebar's own overflow, which is where this bug was
|
|
135
|
+
* reported) is heard too — those events do not bubble.
|
|
136
|
+
*
|
|
137
|
+
* The panel is measured, not assumed: whether it fits below depends on its real
|
|
138
|
+
* rendered height, and the entry list is variable-length.
|
|
139
|
+
*/
|
|
140
|
+
export declare function usePopoverPosition(open: boolean, wrapRef: React.RefObject<HTMLElement | null>, panelRef: React.RefObject<HTMLElement | null>, panelWidth: number): PopoverPosition | null;
|
|
141
|
+
/**
|
|
142
|
+
* Close on a click outside the wrapper or on Escape — the two dismissals a
|
|
143
|
+
* person expects from anything that opened over the page.
|
|
144
|
+
*
|
|
145
|
+
* `mousedown`, not `click`: a menu item that navigates must not be able to fire
|
|
146
|
+
* its own dismissal after the navigation has already begun.
|
|
147
|
+
*
|
|
148
|
+
* 🔴 `panelRef` is not optional decoration. Once the panel is PORTALED to `body`
|
|
149
|
+
* it is no longer a descendant of the wrapper, so a wrapper-only containment test
|
|
150
|
+
* calls every click inside the panel an outside click — the menu would close on
|
|
151
|
+
* the way to any item it contains.
|
|
152
|
+
*/
|
|
153
|
+
export declare function useDismissOnOutside(open: boolean, wrapRef: React.RefObject<HTMLElement | null>, close: () => void, panelRef?: React.RefObject<HTMLElement | null>): void;
|
|
154
|
+
/**
|
|
155
|
+
* The dimmed backdrop behind an open header popover.
|
|
156
|
+
*
|
|
157
|
+
* 🔴 Why it exists (owner's designer, 2026-08-19, on the "Your Apps" menu):
|
|
158
|
+
* *"The secondary app dropdown menu completely masks the main layout content underneath
|
|
159
|
+
* without dimmed backdrops or absolute separation … foreground elements fight background
|
|
160
|
+
* data for active user focus."* Elevation alone did not settle it — the page behind is
|
|
161
|
+
* flat high-contrast text at the same weight as the menu's own.
|
|
162
|
+
*
|
|
163
|
+
* 🔴 Built imperatively on `document.body` rather than as a React node, and that is the
|
|
164
|
+
* point: `position: fixed` inside the launcher resolves against the nearest ancestor with
|
|
165
|
+
* a `backdrop-filter` — which a sticky app header usually has — so a JSX scrim would dim
|
|
166
|
+
* the header and leave the page it was meant to dim untouched. `body` has no such
|
|
167
|
+
* ancestor. (A portal would work too and would cost this package a `react-dom` dependency
|
|
168
|
+
* it does not otherwise have.)
|
|
169
|
+
*
|
|
170
|
+
* It is inert to the keyboard and hidden from assistive tech: Escape and the existing
|
|
171
|
+
* outside-click dismissal are the real doors, and this is decoration plus a wide target.
|
|
172
|
+
*/
|
|
173
|
+
export declare function useScrim(open: boolean, close: () => void, dark: boolean): void;
|
|
174
|
+
/** The open/close state, both refs, both dismissals and the panel's placement —
|
|
175
|
+
* everything a launcher needs but the panel's contents. Saves each widget
|
|
176
|
+
* re-deriving the same lines and, more usefully, keeps them placing and
|
|
177
|
+
* dismissing identically.
|
|
178
|
+
*
|
|
179
|
+
* 🔴 `panelRef` must be attached to the portaled panel. It is what lets the
|
|
180
|
+
* placement read the panel's real height, and what stops a click inside the
|
|
181
|
+
* panel reading as a click outside the launcher. */
|
|
182
|
+
export declare function usePopover<T extends HTMLElement>(panelWidth: number): {
|
|
183
|
+
open: boolean;
|
|
184
|
+
close: () => void;
|
|
185
|
+
toggle: () => void;
|
|
186
|
+
wrapRef: import("react").RefObject<T | null>;
|
|
187
|
+
panelRef: import("react").RefObject<HTMLDivElement | null>;
|
|
188
|
+
position: PopoverPosition | null;
|
|
189
|
+
};
|
|
190
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/ui/popover.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAQ/D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAyBrC;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EACvC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,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