sample-piral 0.15.0-beta.4725 → 0.15.0-beta.4751

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
@@ -882,7 +882,18 @@ export interface SearchResultComponentProps extends BaseComponentProps {}
882
882
  * The context to be transported into the generic components.
883
883
  */
884
884
  export interface ComponentContext {
885
+ /**
886
+ * The router-independent navigation API.
887
+ */
885
888
  navigation: NavigationApi;
889
+ /**
890
+ * The internal router object.
891
+ * @deprecated Exposes internals that can change at any time.
892
+ */
893
+ router: any;
894
+ /**
895
+ * The public path of the application.
896
+ */
886
897
  publicPath: string;
887
898
  }
888
899
 
@@ -928,11 +939,12 @@ export interface NavigationApi {
928
939
  */
929
940
  listen(listener: NavigationListener): Disposable;
930
941
  /**
931
- * Gets the current path.
942
+ * Gets the current navigation / application path.
932
943
  */
933
944
  path: string;
934
945
  /**
935
- * The original router behind the navigation.
946
+ * The original router behind the navigation. Don't depend on this
947
+ * as the implementation is router specific and may change over time.
936
948
  */
937
949
  router: any;
938
950
  }
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.2fb91b.js"></script></head>
8
+ <script defer src="/index.86ae82.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.2fb91b.js');
5
+ require('.//index.86ae82.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.4725",
4
+ "version": "0.15.0-beta.4751",
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.32",
33
+ "version": "0.15.0-beta.4751",
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.32",
46
- "piral-cli-webpack5": "^0.14.32",
45
+ "piral-cli": "^0.15.0-beta.4751",
46
+ "piral-cli-webpack5": "^0.15.0-beta.4751",
47
47
  "sass": "^1.17.0",
48
48
  "bootstrap": "^4.3.1",
49
- "piral": "^0.14.32",
50
- "piral-auth": "^0.14.32",
51
- "piral-hooks-utils": "^0.14.32",
52
- "piral-search": "^0.14.32",
49
+ "piral": "^0.15.0-beta.4751",
50
+ "piral-auth": "^0.15.0-beta.4751",
51
+ "piral-hooks-utils": "^0.15.0-beta.4751",
52
+ "piral-search": "^0.15.0-beta.4751",
53
53
  "reactstrap": "^8.0.1",
54
54
  "react": "18.2.0",
55
55
  "react-dom": "18.2.0",