sample-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.d.ts CHANGED
@@ -340,6 +340,10 @@ export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T,
340
340
  * The meta data registered with the page.
341
341
  */
342
342
  meta: PiralPageMeta;
343
+ /**
344
+ * The children of the page.
345
+ */
346
+ children: React.ReactNode;
343
347
  }
344
348
 
345
349
  /**
@@ -935,7 +939,7 @@ export interface NavigationListener {
935
939
  }
936
940
 
937
941
  export interface NavigationTransition extends NavigationUpdate {
938
- retry(): void;
942
+ retry?(): void;
939
943
  }
940
944
 
941
945
  export interface NavigationUpdate {
@@ -979,5 +983,5 @@ export interface NavigationLocation {
979
983
  * On the initial location, this will be the string default. On all subsequent
980
984
  * locations, this string will be a unique identifier.
981
985
  */
982
- key: string;
986
+ key?: string;
983
987
  }
package/app/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <title>Piral Sample</title>
6
6
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
7
7
 
8
- <script defer src="/index.e44fc2.js"></script></head>
8
+ <script defer src="/index.88b73a.js"></script></head>
9
9
  <body>
10
10
  <div id="app">
11
11
  <div class="pi-center">
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.e44fc2.js');
5
+ require('.//index.88b73a.js');
6
6
  const ctx = window['dbg:piral'];
7
7
  const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
8
8
  module.exports = dependencies['sample-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": "sample-piral",
3
3
  "description": "Example project illustrating the use of the piral and piral-cli packages.",
4
- "version": "0.15.0-beta.4670",
4
+ "version": "0.15.0-beta.4696",
5
5
  "license": "MIT",
6
6
  "homepage": "https://piral.io",
7
7
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  "files": []
31
31
  },
32
32
  "piralCLI": {
33
- "version": "0.14.31",
33
+ "version": "0.14.32",
34
34
  "generated": true
35
35
  },
36
36
  "main": "./app/index.js",
@@ -42,14 +42,14 @@
42
42
  "@types/react-dom": "^18.0.0",
43
43
  "@types/react-router": "^5.1.8",
44
44
  "@types/react-router-dom": "^5.1.6",
45
- "piral-cli": "^0.14.31",
46
- "piral-cli-webpack5": "^0.14.31",
45
+ "piral-cli": "^0.14.32",
46
+ "piral-cli-webpack5": "^0.14.32",
47
47
  "sass": "^1.17.0",
48
48
  "bootstrap": "^4.3.1",
49
- "piral": "^0.14.31",
50
- "piral-auth": "^0.14.31",
51
- "piral-hooks-utils": "^0.14.31",
52
- "piral-search": "^0.14.31",
49
+ "piral": "^0.14.32",
50
+ "piral-auth": "^0.14.32",
51
+ "piral-hooks-utils": "^0.14.32",
52
+ "piral-search": "^0.14.32",
53
53
  "reactstrap": "^8.0.1",
54
54
  "react": "18.2.0",
55
55
  "react-dom": "18.2.0",