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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 7.0.2
2
+ * Framework7 7.0.3
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: April 24, 2022
10
+ * Released on: May 16, 2022
11
11
  */
12
12
 
13
13
  /*====================
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 7.0.2
2
+ * Framework7 7.0.3
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: April 24, 2022
10
+ * Released on: May 16, 2022
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 7.0.2
2
+ * Framework7 7.0.3
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: April 24, 2022
10
+ * Released on: May 16, 2022
11
11
  */
12
12
 
13
13
  (function (global, factory) {
@@ -11949,6 +11949,26 @@
11949
11949
  /* eslint import/no-named-as-default: off */
11950
11950
  const patch = init([attributesModule, propsModule, styleModule, eventListenersModule]);
11951
11951
 
11952
+ const ignoreChildren = [false, null, '', undefined];
11953
+
11954
+ const $jsx$1 = function (type, props) {
11955
+ for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
11956
+ children[_key - 2] = arguments[_key];
11957
+ }
11958
+
11959
+ const flatChildren = flattenArray((children || []).filter(child => ignoreChildren.indexOf(child) < 0));
11960
+
11961
+ if (type === 'Fragment') {
11962
+ return flatChildren;
11963
+ }
11964
+
11965
+ return {
11966
+ type,
11967
+ props: props || {},
11968
+ children: flatChildren
11969
+ };
11970
+ };
11971
+
11952
11972
  /* eslint no-underscore-dangle: "off" */
11953
11973
 
11954
11974
  class Component {
@@ -12337,6 +12357,8 @@
12337
12357
 
12338
12358
  }
12339
12359
 
12360
+ Component.$jsx = $jsx$1;
12361
+
12340
12362
  function parseComponent(componentString) {
12341
12363
  const window = getWindow();
12342
12364
  const document = getDocument();
@@ -12412,26 +12434,6 @@
12412
12434
  return component;
12413
12435
  }
12414
12436
 
12415
- const ignoreChildren = [false, null, '', undefined];
12416
-
12417
- const $jsx$1 = function (type, props) {
12418
- for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
12419
- children[_key - 2] = arguments[_key];
12420
- }
12421
-
12422
- const flatChildren = flattenArray((children || []).filter(child => ignoreChildren.indexOf(child) < 0));
12423
-
12424
- if (type === 'Fragment') {
12425
- return flatChildren;
12426
- }
12427
-
12428
- return {
12429
- type,
12430
- props: props || {},
12431
- children: flatChildren
12432
- };
12433
- };
12434
-
12435
12437
  function registerComponent(tagName, component) {
12436
12438
  customComponents[tagName] = component;
12437
12439
  }