@justai/core 0.41.0 → 0.42.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/scroll.js +3 -2
- package/dist/xray.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* ./consent the question in thirteen languages, and the flow that asks it
|
|
31
31
|
* ./chrome Cancel and Done, in thirteen languages
|
|
32
32
|
* ./presentation standalone, or inside somebody else's sheet
|
|
33
|
-
* ./scroll landing on the kernel, the spy
|
|
33
|
+
* ./scroll landing on the kernel, and the spy
|
|
34
34
|
* ./mark the persona's mark, and adopting a host's
|
|
35
35
|
* ./face a host persona's face, for a child mounted on it
|
|
36
36
|
*
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* ./consent the question in thirteen languages, and the flow that asks it
|
|
31
31
|
* ./chrome Cancel and Done, in thirteen languages
|
|
32
32
|
* ./presentation standalone, or inside somebody else's sheet
|
|
33
|
-
* ./scroll landing on the kernel, the spy
|
|
33
|
+
* ./scroll landing on the kernel, and the spy
|
|
34
34
|
* ./mark the persona's mark, and adopting a host's
|
|
35
35
|
* ./face a host persona's face, for a child mounted on it
|
|
36
36
|
*
|
package/dist/scroll.js
CHANGED
|
@@ -62,7 +62,7 @@ export function personaScroll(options) {
|
|
|
62
62
|
// The framework exists so that a number like this lives in ONE place. It cannot: CSS has no way
|
|
63
63
|
// to refuse an override, and on 2026-08-06 EIGHT personas — both apexes and justai.pro among them
|
|
64
64
|
// — still carried `#kernel { scroll-margin-top: 82px }` from before the shell was shared, a
|
|
65
|
-
// constant that stopped being true the
|
|
65
|
+
// constant that stopped being true the first time the title strip was removed (2026-08-06). Every one of
|
|
66
66
|
// them lands the page by measurement and is then overruled by the browser's own scroll to the
|
|
67
67
|
// fragment, which reads the persona's stale copy. Thirty pixels, on every bare load.
|
|
68
68
|
//
|
|
@@ -209,7 +209,8 @@ export function personaScroll(options) {
|
|
|
209
209
|
// time it opened or closed the browser moved the scroll position to keep the content under it
|
|
210
210
|
// steady, and the page came to rest three pixels short of where the kernel began — close enough to
|
|
211
211
|
// look landed, far enough that the spy answered "profile", which closed the strip, which is what
|
|
212
|
-
// moved it. The founder removed the strip on 2026-08-06, and
|
|
212
|
+
// moved it. The founder removed the strip on 2026-08-06 — it came back that night, and went for good on
|
|
213
|
+
// 2026-10-12 — and this mechanism went with the first removal and never returned: measured after, the
|
|
213
214
|
// page scrolls exactly ONCE to its landing and never moves again, at 402x710 and at 1440x900.
|
|
214
215
|
//
|
|
215
216
|
// A workaround outlives its cause silently. This one would have kept re-asserting a landing nobody
|
package/dist/xray.js
CHANGED
|
@@ -258,7 +258,8 @@ export function xray() {
|
|
|
258
258
|
armRab.setAttribute("d", rab.join(""));
|
|
259
259
|
var aw = app ? app.getBoundingClientRect().width : r.width;
|
|
260
260
|
put(R.viewport, Math.round(innerWidth) + " x " + Math.round(innerHeight));
|
|
261
|
-
|
|
261
|
+
// the column's law: never wider than 1280 (@justai/ui --column, 2026-10-14; 640 before)
|
|
262
|
+
put(R.column, px(aw), aw <= 1280);
|
|
262
263
|
var even = Math.abs(padL - padR) < 0.5;
|
|
263
264
|
put(R.gutter, px(padL) + " / " + px(padR) + (even ? "" : " <- the two sides differ"), even);
|
|
264
265
|
put(R.frame, px(r.width) + " x " + px(r.height));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justai/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"description": "The framework-free heart of the persona shell — the load-bearing behaviour (auth capture, reveal, ready) as plain strings, so Astro and Next inject the SAME logic instead of each re-writing it.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|