framework7 7.0.2 → 7.0.3

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.
@@ -5,6 +5,7 @@ import $h from './$h.js';
5
5
  import { id as generateId, merge, eventNameToColonCase, deleteProps } from '../../shared/utils.js';
6
6
  import vdom from './vdom.js';
7
7
  import patch from './patch.js';
8
+ import $jsx from './$jsx.js';
8
9
 
9
10
  class Component {
10
11
  constructor(app, component, props, _temp) {
@@ -392,4 +393,5 @@ class Component {
392
393
 
393
394
  }
394
395
 
396
+ Component.$jsx = $jsx;
395
397
  export default Component;
@@ -39,8 +39,8 @@ function createKeyToOldIdx(children, beginIdx, endIdx) {
39
39
  }
40
40
 
41
41
  var hooks = ['create', 'update', 'remove', 'destroy', 'pre', 'post'];
42
- export { h } from './h';
43
- export { thunk } from './thunk';
42
+ export { h } from './h.js';
43
+ export { thunk } from './thunk.js';
44
44
  export function init(modules, domApi) {
45
45
  var i,
46
46
  j,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework7",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "Full featured mobile HTML framework for building iOS & Android apps",
5
5
  "type": "module",
6
6
  "exports": {
@@ -50,7 +50,7 @@ export interface RequestParameters {
50
50
  /** An object of fieldName-fieldValue pairs to set on the native XHR object */
51
51
  xhrFields?: { [key: string]: any };
52
52
  /** A username to be used with XMLHttpRequest in response to an HTTP access authentication request */
53
- username?: string;
53
+ user?: string;
54
54
  /** A password to be used with XMLHttpRequest in response to an HTTP access authentication request */
55
55
  password?: string;
56
56
  /** Set a timeout (in milliseconds) for the request */