@cratis/stage.runtime 4.190.12 → 4.192.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 +1 -1
- package/dist/src/blueprint.d.ts +29 -6
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.js +918 -906
- package/dist/src/primereact.d.ts +9 -0
- package/dist/src/primereact.js +13 -0
- package/dist/src/stageDarkSelector.d.ts +5 -0
- package/dist/src/stageTheme.d.ts +1 -5
- package/dist/stageDarkSelector-DjqhPYDU.js +4 -0
- package/package.json +26 -8
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { primeReactComponents, primeReactPackageManifest } from '@cratis/scene.primereact';
|
|
2
|
+
import type { StageLibrary } from './blueprint';
|
|
3
|
+
/**
|
|
4
|
+
* The entry a profile that lists `PrimeReact` opts in to (`@cratis/stage.runtime/primereact`): the PrimeReact widgets and what
|
|
5
|
+
* the package declares. The host imports it and registers it with `registerStageLibrary`; the runtime never does.
|
|
6
|
+
*/
|
|
7
|
+
export declare const primeReactLibrary: StageLibrary;
|
|
8
|
+
export { primeReactComponents, primeReactPackageManifest };
|
|
9
|
+
export { stageTheme, stageDarkSelector } from './stageTheme';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as e } from "../stageDarkSelector-DjqhPYDU.js";
|
|
2
|
+
import { primeReactComponents as t, primeReactPackageManifest as n } from "@cratis/scene.primereact";
|
|
3
|
+
import r from "@primeuix/themes/lara";
|
|
4
|
+
//#region src/stageTheme.ts
|
|
5
|
+
var i = {
|
|
6
|
+
preset: r,
|
|
7
|
+
options: { darkModeSelector: e }
|
|
8
|
+
}, a = {
|
|
9
|
+
components: t,
|
|
10
|
+
declared: n.components
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as primeReactComponents, a as primeReactLibrary, n as primeReactPackageManifest, e as stageDarkSelector, i as stageTheme };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The selector that puts PrimeReact in its dark scheme: the colour scheme the active blueprint theme sets on
|
|
3
|
+
* the document root (see `ColorSchemeMirror`), so a dialog portalled to `body` follows the shell.
|
|
4
|
+
*/
|
|
5
|
+
export declare const stageDarkSelector = "[data-scene-color-scheme='dark']";
|
package/dist/src/stageTheme.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* The selector that puts PrimeReact in its dark scheme: the colour scheme the active blueprint theme sets on
|
|
3
|
-
* the document root (see `ColorSchemeMirror`), so a dialog portalled to `body` follows the shell.
|
|
4
|
-
*/
|
|
5
|
-
export declare const stageDarkSelector = "[data-scene-color-scheme='dark']";
|
|
1
|
+
export { stageDarkSelector } from './stageDarkSelector';
|
|
6
2
|
/**
|
|
7
3
|
* The PrimeReact theme a Stage application renders with.
|
|
8
4
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/stage.runtime",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.192.0",
|
|
4
4
|
"description": "The Cratis Stage application runtime for Arc and Scene",
|
|
5
5
|
"author": "Cratis",
|
|
6
6
|
"type": "module",
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"types": "./dist/src/index.d.ts",
|
|
27
27
|
"import": "./dist/src/index.js"
|
|
28
28
|
},
|
|
29
|
+
"./primereact": {
|
|
30
|
+
"types": "./dist/src/primereact.d.ts",
|
|
31
|
+
"import": "./dist/src/primereact.js"
|
|
32
|
+
},
|
|
29
33
|
"./vite": {
|
|
30
34
|
"types": "./dist/styledPrimeReact.d.ts",
|
|
31
35
|
"import": "./dist/styledPrimeReact.js"
|
|
@@ -39,14 +43,14 @@
|
|
|
39
43
|
"peerDependencies": {
|
|
40
44
|
"@cratis/arc": "22.112.1",
|
|
41
45
|
"@cratis/arc.react": "22.112.1",
|
|
42
|
-
"@cratis/components": "4.
|
|
46
|
+
"@cratis/components": "4.34.0",
|
|
43
47
|
"@cratis/fundamentals": "7.25.1",
|
|
44
|
-
"@cratis/scene.blueprint.default": "4.
|
|
45
|
-
"@cratis/scene.components": "4.
|
|
46
|
-
"@cratis/scene.engine": "4.
|
|
47
|
-
"@cratis/scene.model": "4.
|
|
48
|
-
"@cratis/scene.primereact": "4.
|
|
49
|
-
"@cratis/scene.react": "4.
|
|
48
|
+
"@cratis/scene.blueprint.default": "4.80.2",
|
|
49
|
+
"@cratis/scene.components": "4.80.2",
|
|
50
|
+
"@cratis/scene.engine": "4.80.2",
|
|
51
|
+
"@cratis/scene.model": "4.80.2",
|
|
52
|
+
"@cratis/scene.primereact": "4.80.2",
|
|
53
|
+
"@cratis/scene.react": "4.80.2",
|
|
50
54
|
"@primereact/ui": "11.2.0",
|
|
51
55
|
"@primeuix/themes": "3.0.1",
|
|
52
56
|
"lucide-react": "1.52.0",
|
|
@@ -54,6 +58,20 @@
|
|
|
54
58
|
"react": "19.3.0",
|
|
55
59
|
"vite": "8.3.2"
|
|
56
60
|
},
|
|
61
|
+
"peerDependenciesMeta": {
|
|
62
|
+
"@cratis/scene.primereact": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@primereact/ui": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@primeuix/themes": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"primereact": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
57
75
|
"devDependencies": {
|
|
58
76
|
"@primereact/core": "11.2.0",
|
|
59
77
|
"@testing-library/react": "16.3.3",
|