sample-cross-fx 0.15.1-beta.4903 → 0.15.1-beta.4908

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
@@ -487,7 +487,9 @@ export type AnyComponent<T> = React.ComponentType<T> | FirstParametersOf<Compone
487
487
  /**
488
488
  * The props used by a page component.
489
489
  */
490
- export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T, S> {
490
+ export interface PageComponentProps<T extends {
491
+ [K in keyof T]?: string;
492
+ } = {}, S = any> extends RouteBaseProps<T, S> {
491
493
  /**
492
494
  * The meta data registered with the page.
493
495
  */
@@ -911,7 +913,9 @@ export interface ComponentConverters<TProps> extends PiralCustomComponentConvert
911
913
  /**
912
914
  * The props that every registered page component obtains.
913
915
  */
914
- export interface RouteBaseProps<UrlParams = any, UrlState = any> extends ReactRouter.RouteComponentProps<UrlParams, {}, UrlState>, BaseComponentProps {}
916
+ export interface RouteBaseProps<UrlParams extends {
917
+ [K in keyof UrlParams]?: string;
918
+ } = {}, UrlState = any> extends ReactRouter.RouteComponentProps<UrlParams, {}, UrlState>, BaseComponentProps {}
915
919
 
916
920
  /**
917
921
  * Custom meta data to include for pages.
package/app/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <title>Sample - Cross Framework with Piral</title>
6
6
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
7
7
 
8
- <script defer src="/index.e66507.js"></script></head>
8
+ <script defer src="/index.39aadc.js"></script></head>
9
9
  <body>
10
10
  <div id="app"></div>
11
11
 
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.e66507.js');
5
+ require('.//index.39aadc.js');
6
6
  const ctx = window['dbg:piral'];
7
7
  const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
8
8
  module.exports = dependencies['sample-cross-fx'] || {};
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-cross-fx",
3
3
  "description": "Example project illustrating the mixing of different (opt-in) frameworks via plugins.",
4
- "version": "0.15.1-beta.4903",
4
+ "version": "0.15.1-beta.4908",
5
5
  "license": "MIT",
6
6
  "homepage": "https://piral.io",
7
7
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "files": []
51
51
  },
52
52
  "piralCLI": {
53
- "version": "0.15.1-beta.4903",
53
+ "version": "0.15.1-beta.4908",
54
54
  "generated": true
55
55
  },
56
56
  "main": "./app/index.js",
@@ -64,8 +64,8 @@
64
64
  "@types/react-router": "^5.1.8",
65
65
  "@types/react-router-dom": "^5.1.6",
66
66
  "@vue/component-compiler-utils": "^3.0.0",
67
- "piral-cli": "^0.15.1-beta.4903",
68
- "piral-cli-webpack5": "^0.15.1-beta.4903",
67
+ "piral-cli": "^0.15.1-beta.4908",
68
+ "piral-cli-webpack5": "^0.15.1-beta.4908",
69
69
  "sass": "^1.17.0",
70
70
  "vue-template-compiler": "^2.6.10",
71
71
  "@angular/common": "14.1.3",
@@ -88,22 +88,22 @@
88
88
  "inferno-create-element": "7.4.11",
89
89
  "lit-element": "2.5.1",
90
90
  "mithril": "2.2.2",
91
- "piral-aurelia": "^0.15.0",
92
- "piral-blazor": "^0.15.0",
93
- "piral-core": "^0.15.0",
94
- "piral-elm": "^0.15.0",
95
- "piral-hyperapp": "^0.15.0",
96
- "piral-inferno": "^0.15.0",
97
- "piral-lazy": "^0.15.0",
98
- "piral-litel": "^0.15.0",
99
- "piral-mithril": "^0.15.0",
100
- "piral-ng": "^0.15.0",
101
- "piral-ngjs": "^0.15.0",
102
- "piral-preact": "^0.15.0",
103
- "piral-riot": "^0.15.0",
104
- "piral-solid": "^0.15.0",
105
- "piral-svelte": "^0.15.0",
106
- "piral-vue": "^0.15.0",
91
+ "piral-aurelia": "^0.15.1-beta.4908",
92
+ "piral-blazor": "^0.15.1-beta.4908",
93
+ "piral-core": "^0.15.1-beta.4908",
94
+ "piral-elm": "^0.15.1-beta.4908",
95
+ "piral-hyperapp": "^0.15.1-beta.4908",
96
+ "piral-inferno": "^0.15.1-beta.4908",
97
+ "piral-lazy": "^0.15.1-beta.4908",
98
+ "piral-litel": "^0.15.1-beta.4908",
99
+ "piral-mithril": "^0.15.1-beta.4908",
100
+ "piral-ng": "^0.15.1-beta.4908",
101
+ "piral-ngjs": "^0.15.1-beta.4908",
102
+ "piral-preact": "^0.15.1-beta.4908",
103
+ "piral-riot": "^0.15.1-beta.4908",
104
+ "piral-solid": "^0.15.1-beta.4908",
105
+ "piral-svelte": "^0.15.1-beta.4908",
106
+ "piral-vue": "^0.15.1-beta.4908",
107
107
  "preact": "10.8.2",
108
108
  "react": "18.2.0",
109
109
  "react-dom": "18.2.0",