@ultimat3/core 31.52.0 → 31.53.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/package.json +2 -2
- package/src/index.ts +1 -1
- package/src/page.ts +1 -1
- package/src/theme-storage.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/core",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.53.0",
|
|
4
4
|
"description": "Ultimate's foundation: errors, context, env, config, clock, ids, logging, telemetry, lifecycle",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"test": "bun test"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@ultimat3/schema": "31.
|
|
58
|
+
"@ultimat3/schema": "31.53.0"
|
|
59
59
|
}
|
|
60
60
|
}
|
package/src/index.ts
CHANGED
|
@@ -1004,7 +1004,7 @@ export { ambientClock, noWaitClock } from './sleep-clock';
|
|
|
1004
1004
|
export { endOfLiteral, maskLiterals, QUOTES, stripComments } from './source-mask';
|
|
1005
1005
|
export type { StoreMode } from './store-mode';
|
|
1006
1006
|
export { storeMode, withStoreMode } from './store-mode';
|
|
1007
|
-
export { THEME_STORAGE_KEY } from './theme-storage';
|
|
1007
|
+
export { MOTION_STORAGE_KEY, THEME_STORAGE_KEY } from './theme-storage';
|
|
1008
1008
|
export { timingSafeEqual } from './timing-safe-equal';
|
|
1009
1009
|
export type { ToolDescriptionSource } from './tool-description';
|
|
1010
1010
|
// A projected tool's description: `@ultimat3/mcp`'s and `@ultimat3/ai`'s, one tier apart from neither.
|
package/src/page.ts
CHANGED
|
@@ -93,7 +93,7 @@ export { fillTemplate, templateParams } from './route-path-template';
|
|
|
93
93
|
export { onSessionLost, sessionIsLost } from './session-lost';
|
|
94
94
|
export { isSessionRefusalCode } from './session-refusal';
|
|
95
95
|
// The key the theme boot script reads and the toggle island writes.
|
|
96
|
-
export { THEME_STORAGE_KEY } from './theme-storage';
|
|
96
|
+
export { MOTION_STORAGE_KEY, THEME_STORAGE_KEY } from './theme-storage';
|
|
97
97
|
export { trimTrailingSlashes } from './trailing-slashes';
|
|
98
98
|
// A poll a hidden tab and a lost session stop: here, so an island polling reaches no realtime.
|
|
99
99
|
export type { VisibleIntervalOptions } from './visible-interval';
|
package/src/theme-storage.ts
CHANGED
|
@@ -10,3 +10,10 @@
|
|
|
10
10
|
* wrote another, and a visitor's choice never survived a reload.
|
|
11
11
|
*/
|
|
12
12
|
export const THEME_STORAGE_KEY = 'ultimate.theme';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The `localStorage` key the reader's motion pause lives under (WCAG 2.2.2), for the same reason:
|
|
16
|
+
* `@ultimat3/ui`'s `MotionToggle` writes `"paused"` there, and `@ultimat3/render`'s inlined boot
|
|
17
|
+
* script reads it and stamps `html[data-motion="paused"]` before first paint.
|
|
18
|
+
*/
|
|
19
|
+
export const MOTION_STORAGE_KEY = 'ultimate.motion';
|