@crossworks/share-ui 0.400.28 → 0.400.31
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 +3 -3
- package/src/app-sandbox.tsx +2 -2
- package/src/formula-calculator.tsx +2 -1
- package/src/help-topics.ts +1 -1
- package/src/nav-items.ts +2 -2
- package/themes/seeds.mjs +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossworks/share-ui",
|
|
3
|
-
"version": "0.400.
|
|
3
|
+
"version": "0.400.31",
|
|
4
4
|
"description": "The server-rendered share surface — the /s/<token> presenters, view-payload contract, mini-app sandbox, and the few primitives they need. Lives in MANTLE (the server renders these), published for jackdaw to consume; may depend only on @mantle/{client-types,content-core} (the jackdaw-repo-split boundary).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@dicebear/core": "^10.7.0",
|
|
43
43
|
"@dicebear/styles": "^10.6.0",
|
|
44
|
-
"@mantle/client-types": "npm:@crossworks/client-types@0.400.
|
|
45
|
-
"@mantle/content-core": "npm:@crossworks/content-core@0.400.
|
|
44
|
+
"@mantle/client-types": "npm:@crossworks/client-types@0.400.31",
|
|
45
|
+
"@mantle/content-core": "npm:@crossworks/content-core@0.400.31",
|
|
46
46
|
"@radix-ui/react-label": "^2.1.17",
|
|
47
47
|
"@radix-ui/react-slot": "^1.5.0",
|
|
48
48
|
"class-variance-authority": "^0.7.1",
|
package/src/app-sandbox.tsx
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
|
|
33
33
|
type Status = 'loading' | 'ready' | 'nobuild' | 'error';
|
|
34
34
|
|
|
35
|
-
/** A tool call the owner must confirm before it runs
|
|
35
|
+
/** A tool call the owner must confirm before it runs: what
|
|
36
36
|
* the owner tool broker named in its 409 `reason: 'confirm'` answer, and the
|
|
37
37
|
* input the app sent. */
|
|
38
38
|
export type AppToolConfirmRequest = {
|
|
@@ -128,7 +128,7 @@ export function AppSandbox({
|
|
|
128
128
|
* plain "Loading…" line. Kept a slot so this package needs no animation
|
|
129
129
|
* dependency. */
|
|
130
130
|
loader?: ReactNode;
|
|
131
|
-
/** Ask the owner whether a confirm-gated tool may run
|
|
131
|
+
/** Ask the owner whether a confirm-gated tool may run;
|
|
132
132
|
* resolve true to run it. Only the owner surface ever gets asked (member,
|
|
133
133
|
* client and share brokers refuse such tools). Absent ⇒ the browser's
|
|
134
134
|
* own confirm dialog. The app never sees the ticket: this host sends the
|
|
@@ -10,7 +10,8 @@ import type { TraceStep } from '@mantle/content-core/formula-eval';
|
|
|
10
10
|
* The live calculator on a shared formula — a client island, because it is the
|
|
11
11
|
* one part of the page that has to talk back to the server.
|
|
12
12
|
*
|
|
13
|
-
* Its fields come from the
|
|
13
|
+
* Its fields come from the formula's signature (formula-signature.ts,
|
|
14
|
+
* docs/formulas.md), embedded in the page payload
|
|
14
15
|
* rather than re-derived here: which symbols a target needs, which are
|
|
15
16
|
* optional, and what the legal values of a rating are. A visitor on a public
|
|
16
17
|
* link has no way to read the resolution ladder, so anything this got wrong
|
package/src/help-topics.ts
CHANGED
|
@@ -80,7 +80,7 @@ const ROUTE_TOPICS: ReadonlyArray<readonly [route: string, topic: string]> = [
|
|
|
80
80
|
['/sandboxes', 'sandboxes'],
|
|
81
81
|
['/traces', 'traces'],
|
|
82
82
|
['/debug', 'debug'],
|
|
83
|
-
// The brain health Dashboard (
|
|
83
|
+
// The brain health Dashboard (not the home).
|
|
84
84
|
['/dashboard', 'dashboard'],
|
|
85
85
|
|
|
86
86
|
// Home: the current workspace's landing page. Matched exact-only by the
|
package/src/nav-items.ts
CHANGED
|
@@ -104,7 +104,7 @@ export const NAV_GROUPS: NavGroup[] = [
|
|
|
104
104
|
label: 'Workspace',
|
|
105
105
|
items: [
|
|
106
106
|
// Every login's landing page: the current workspace's home app or the
|
|
107
|
-
// built-in Desk
|
|
107
|
+
// built-in Desk. The brain health Dashboard is System.
|
|
108
108
|
{ name: 'Desk', href: '/', icon: LayoutDashboard, exact: true },
|
|
109
109
|
{ name: 'Journal', href: '/journal', icon: NotebookPen },
|
|
110
110
|
{ name: 'Email', href: '/inbox', icon: Inbox },
|
|
@@ -194,7 +194,7 @@ export const NAV_GROUPS: NavGroup[] = [
|
|
|
194
194
|
headSize: 3,
|
|
195
195
|
defaultHead: ['/studio', '/traces', '/debug'],
|
|
196
196
|
items: [
|
|
197
|
-
// The brain health overview (
|
|
197
|
+
// The brain health overview (not the home).
|
|
198
198
|
{ name: 'Dashboard', href: '/dashboard', icon: LayoutDashboard },
|
|
199
199
|
{ name: 'Studio', href: '/studio', icon: Waypoints },
|
|
200
200
|
{ name: 'API Console', href: '/dev-tools', icon: TerminalSquare },
|
package/themes/seeds.mjs
CHANGED
|
@@ -3594,13 +3594,12 @@ export const THEME_SEEDS = [
|
|
|
3594
3594
|
{
|
|
3595
3595
|
id: 'jackdaw',
|
|
3596
3596
|
label: 'MantleOS',
|
|
3597
|
-
// The ONE MantleOS theme
|
|
3597
|
+
// The ONE MantleOS theme: the mantle-site palette,
|
|
3598
3598
|
// token for token, so the apps and mantleos.io look like one product. The
|
|
3599
3599
|
// id stays `jackdaw` because saved appearance rows store it; it replaces
|
|
3600
3600
|
// both Jackdaw themes, and `jackdaw-harvest` (the teal one) is retired, so
|
|
3601
3601
|
// a brain that saved it falls back to this fresh-install default. The
|
|
3602
|
-
//
|
|
3603
|
-
// values is mantle-site app/globals.css.
|
|
3602
|
+
// source of truth for the values is mantle-site app/globals.css.
|
|
3604
3603
|
//
|
|
3605
3604
|
// LIGHT is print paper: the ground is #faedcf, the average paper colour of
|
|
3606
3605
|
// the site's story prints, not the palette cream. Rust is deepened to
|