minimal-piral 0.15.0-beta.4670 → 0.15.0-beta.4696
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/app/{index.8da693.js → index.21c15a.js} +144 -103
- package/app/index.21c15a.js.map +1 -0
- package/app/index.d.ts +6 -2
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +5 -5
- package/app/index.8da693.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -187,6 +187,10 @@ export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T,
|
|
|
187
187
|
* The meta data registered with the page.
|
|
188
188
|
*/
|
|
189
189
|
meta: PiralPageMeta;
|
|
190
|
+
/**
|
|
191
|
+
* The children of the page.
|
|
192
|
+
*/
|
|
193
|
+
children: React.ReactNode;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
/**
|
|
@@ -525,7 +529,7 @@ export interface NavigationListener {
|
|
|
525
529
|
}
|
|
526
530
|
|
|
527
531
|
export interface NavigationTransition extends NavigationUpdate {
|
|
528
|
-
retry(): void;
|
|
532
|
+
retry?(): void;
|
|
529
533
|
}
|
|
530
534
|
|
|
531
535
|
export interface NavigationUpdate {
|
|
@@ -569,5 +573,5 @@ export interface NavigationLocation {
|
|
|
569
573
|
* On the initial location, this will be the string default. On all subsequent
|
|
570
574
|
* locations, this string will be a unique identifier.
|
|
571
575
|
*/
|
|
572
|
-
key
|
|
576
|
+
key?: string;
|
|
573
577
|
}
|
package/app/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
5
5
|
<title>Minimal Piral Sample</title>
|
|
6
|
-
<script defer src="/index.
|
|
6
|
+
<script defer src="/index.21c15a.js"></script></head>
|
|
7
7
|
<body>
|
|
8
8
|
<div id="app"></div>
|
|
9
9
|
|
package/app/index.js
CHANGED
|
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
|
|
|
2
2
|
// behavior for the test environment, we'll try to make it work
|
|
3
3
|
|
|
4
4
|
if (typeof window !== 'undefined') {
|
|
5
|
-
require('.//index.
|
|
5
|
+
require('.//index.21c15a.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['minimal-piral'] || {};
|
package/files.tar
CHANGED
|
Binary file
|
package/files_once.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minimal-piral",
|
|
3
3
|
"description": "Example project illustrating the exposure of a minimal Pilet API.",
|
|
4
|
-
"version": "0.15.0-beta.
|
|
4
|
+
"version": "0.15.0-beta.4696",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"files": []
|
|
29
29
|
},
|
|
30
30
|
"piralCLI": {
|
|
31
|
-
"version": "0.14.
|
|
31
|
+
"version": "0.14.32",
|
|
32
32
|
"generated": true
|
|
33
33
|
},
|
|
34
34
|
"main": "./app/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/react-dom": "^18.0.0",
|
|
41
41
|
"@types/react-router": "^5.1.8",
|
|
42
42
|
"@types/react-router-dom": "^5.1.6",
|
|
43
|
-
"piral-cli": "^0.14.
|
|
44
|
-
"piral-cli-webpack5": "^0.14.
|
|
45
|
-
"piral-core": "^0.14.
|
|
43
|
+
"piral-cli": "^0.14.32",
|
|
44
|
+
"piral-cli-webpack5": "^0.14.32",
|
|
45
|
+
"piral-core": "^0.14.32",
|
|
46
46
|
"react": "18.2.0",
|
|
47
47
|
"react-dom": "18.2.0",
|
|
48
48
|
"react-router": "5.3.3",
|