@cratis/stage.runtime 4.202.1 → 4.203.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/src/App.d.ts +11 -1
- package/dist/src/StageChrome.d.ts +5 -0
- package/dist/src/StageCommandForm.d.ts +2 -0
- package/dist/src/app.css +1 -1
- package/dist/src/blueprint.d.ts +2 -0
- package/dist/src/index.js +808 -735
- package/dist/src/stageNavigation.d.ts +6 -0
- package/package.json +2 -1
|
@@ -24,6 +24,12 @@ export declare function screenHashWith(screen: string, parameters?: Record<strin
|
|
|
24
24
|
* @param parameters The parameters to carry.
|
|
25
25
|
*/
|
|
26
26
|
export declare function navigateToScreen(screen: string, parameters?: Record<string, string>): void;
|
|
27
|
+
/** How the address says which screen is open: in the URL fragment (`#/Screen`), or as the path (`/Screen`). */
|
|
28
|
+
export type StageRouting = 'hash' | 'path';
|
|
29
|
+
/** Chooses how {@link navigateToScreen} writes the address; the application sets it to match the history it runs with. */
|
|
30
|
+
export declare function useStageRouting(mode: StageRouting): void;
|
|
31
|
+
/** The path addressing a screen with the given parameters, from the root of the host (`/WorkItemDetails?workItemId=...`). */
|
|
32
|
+
export declare function screenPathWith(screen: string, parameters?: Record<string, string>): string;
|
|
27
33
|
/**
|
|
28
34
|
* Turns an interaction's navigation arguments into screen parameters: every argument with a value, as text, the way
|
|
29
35
|
* it appears in the address. An argument without a value is left out rather than written as `undefined`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/stage.runtime",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.203.0",
|
|
4
4
|
"description": "The Cratis Stage application runtime for Arc and Scene",
|
|
5
5
|
"author": "Cratis",
|
|
6
6
|
"type": "module",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"lucide-react": "1.52.0",
|
|
57
57
|
"primereact": "11.2.0",
|
|
58
58
|
"react": "19.3.0",
|
|
59
|
+
"react-dom": "19.3.0",
|
|
59
60
|
"vite": "8.3.2"
|
|
60
61
|
},
|
|
61
62
|
"peerDependenciesMeta": {
|