framework7 8.0.0-beta.2 → 8.0.0-beta.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 8.0.0-beta.2
2
+ * Framework7 8.0.0-beta.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: February 7, 2023
10
+ * Released on: March 9, 2023
11
11
  */
12
12
 
13
13
  /*====================
@@ -2594,6 +2594,7 @@ html.device-full-viewport body {
2594
2594
  .ios .tabbar-icons .tab-link i + span,
2595
2595
  .ios .tabbar-icons .link i + span {
2596
2596
  margin: 0;
2597
+ margin-top: 4px;
2597
2598
  }
2598
2599
  @media (min-width: 768px) and (min-height: 600px) {
2599
2600
  .ios .tabbar .tab-link,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.2
2
+ * Framework7 8.0.0-beta.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: February 7, 2023
10
+ * Released on: March 9, 2023
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.2
2
+ * Framework7 8.0.0-beta.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: February 7, 2023
10
+ * Released on: March 9, 2023
11
11
  */
12
12
 
13
13
  (function (global, factory) {
@@ -3603,7 +3603,7 @@
3603
3603
  lazyModulesPath: null,
3604
3604
  initOnDeviceReady: true,
3605
3605
  init: true,
3606
- darkMode: false,
3606
+ darkMode: undefined,
3607
3607
  iosTranslucentBars: true,
3608
3608
  iosTranslucentModals: true,
3609
3609
  component: undefined,
@@ -3815,7 +3815,11 @@
3815
3815
  }
3816
3816
 
3817
3817
  // Auto Dark Mode
3818
- app.setDarkMode(app.params.darkMode);
3818
+ if (typeof app.params.darkMode === 'undefined') {
3819
+ app.darkMode = $('html').hasClass('dark');
3820
+ } else {
3821
+ app.setDarkMode(app.params.darkMode);
3822
+ }
3819
3823
 
3820
3824
  // Watch for online/offline state
3821
3825
  const window = getWindow();