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.
- package/components/app/app-class.js +6 -2
- package/components/toolbar/toolbar-ios.less +1 -0
- package/framework7-bundle-rtl.css +3 -2
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +3 -2
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +8 -4
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +2 -2
- package/framework7-lite.esm.js +2 -2
- package/framework7-rtl.css +3 -2
- package/framework7-rtl.min.css +3 -3
- package/framework7.css +3 -2
- package/framework7.esm.js +2 -2
- package/framework7.less +2 -2
- package/framework7.min.css +3 -3
- package/package.json +3 -19
|
@@ -47,7 +47,7 @@ class Framework7 extends Framework7Class {
|
|
|
47
47
|
lazyModulesPath: null,
|
|
48
48
|
initOnDeviceReady: true,
|
|
49
49
|
init: true,
|
|
50
|
-
darkMode:
|
|
50
|
+
darkMode: undefined,
|
|
51
51
|
iosTranslucentBars: true,
|
|
52
52
|
iosTranslucentModals: true,
|
|
53
53
|
component: undefined,
|
|
@@ -259,7 +259,11 @@ class Framework7 extends Framework7Class {
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
// Auto Dark Mode
|
|
262
|
-
|
|
262
|
+
if (typeof app.params.darkMode === 'undefined') {
|
|
263
|
+
app.darkMode = $('html').hasClass('dark');
|
|
264
|
+
} else {
|
|
265
|
+
app.setDarkMode(app.params.darkMode);
|
|
266
|
+
}
|
|
263
267
|
|
|
264
268
|
// Watch for online/offline state
|
|
265
269
|
const window = getWindow();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 8.0.0-beta.
|
|
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:
|
|
10
|
+
* Released on: March 9, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -2600,6 +2600,7 @@ html.device-full-viewport body {
|
|
|
2600
2600
|
.ios .tabbar-icons .tab-link i + span,
|
|
2601
2601
|
.ios .tabbar-icons .link i + span {
|
|
2602
2602
|
margin: 0;
|
|
2603
|
+
margin-top: 4px;
|
|
2603
2604
|
}
|
|
2604
2605
|
@media (min-width: 768px) and (min-height: 600px) {
|
|
2605
2606
|
.ios .tabbar .tab-link,
|