framework7 9.0.0-beta.1 → 9.0.0
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/accordion/accordion-rtl.css +1 -1
- package/components/accordion/accordion.css +1 -1
- package/components/actions/actions-rtl.css +1 -1
- package/components/actions/actions.css +1 -1
- package/components/area-chart/area-chart-rtl.css +1 -1
- package/components/area-chart/area-chart.css +1 -1
- package/components/autocomplete/autocomplete-rtl.css +1 -1
- package/components/autocomplete/autocomplete.css +1 -1
- package/components/breadcrumbs/breadcrumbs-rtl.css +1 -1
- package/components/breadcrumbs/breadcrumbs.css +1 -1
- package/components/calendar/calendar-rtl.css +1 -1
- package/components/calendar/calendar.css +1 -1
- package/components/card/card-rtl.css +1 -1
- package/components/card/card.css +1 -1
- package/components/checkbox/checkbox-rtl.css +1 -1
- package/components/checkbox/checkbox.css +1 -1
- package/components/chip/chip-rtl.css +1 -1
- package/components/chip/chip.css +1 -1
- package/components/color-picker/color-picker-rtl.css +1 -1
- package/components/color-picker/color-picker.css +1 -1
- package/components/contacts-list/contacts-list-rtl.css +1 -1
- package/components/contacts-list/contacts-list.css +1 -1
- package/components/data-table/data-table-rtl.css +1 -1
- package/components/data-table/data-table.css +1 -1
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog.css +1 -1
- package/components/fab/fab-rtl.css +1 -1
- package/components/fab/fab.css +1 -1
- package/components/gauge/gauge-rtl.css +1 -1
- package/components/gauge/gauge.css +1 -1
- package/components/infinite-scroll/infinite-scroll-rtl.css +1 -1
- package/components/infinite-scroll/infinite-scroll.css +1 -1
- package/components/input/input-rtl.css +1 -1
- package/components/input/input.css +1 -1
- package/components/list-index/list-index-rtl.css +1 -1
- package/components/list-index/list-index.css +1 -1
- package/components/login-screen/login-screen-rtl.css +1 -1
- package/components/login-screen/login-screen.css +1 -1
- package/components/messagebar/messagebar-rtl.css +1 -1
- package/components/messagebar/messagebar.css +1 -1
- package/components/messages/messages-rtl.css +1 -1
- package/components/messages/messages.css +1 -1
- package/components/navbar/navbar-ios.less +6 -2
- package/components/notification/notification-rtl.css +1 -1
- package/components/notification/notification.css +1 -1
- package/components/panel/panel-rtl.css +1 -3
- package/components/panel/panel.css +1 -3
- package/components/photo-browser/photo-browser-rtl.css +1 -1
- package/components/photo-browser/photo-browser.css +1 -1
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker.css +1 -1
- package/components/pie-chart/pie-chart-rtl.css +1 -1
- package/components/pie-chart/pie-chart.css +1 -1
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover.css +1 -1
- package/components/popup/popup-rtl.css +1 -1
- package/components/popup/popup.css +1 -1
- package/components/preloader/preloader-rtl.css +1 -1
- package/components/preloader/preloader.css +1 -1
- package/components/progressbar/progressbar-rtl.css +1 -1
- package/components/progressbar/progressbar.css +1 -1
- package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -1
- package/components/pull-to-refresh/pull-to-refresh.css +1 -1
- package/components/radio/radio-rtl.css +1 -1
- package/components/radio/radio.css +1 -1
- package/components/range/range-rtl.css +1 -1
- package/components/range/range.css +1 -1
- package/components/searchbar/searchbar-rtl.css +1 -1
- package/components/searchbar/searchbar.css +1 -1
- package/components/sheet/sheet-rtl.css +1 -1
- package/components/sheet/sheet.css +1 -1
- package/components/skeleton/skeleton-rtl.css +1 -1
- package/components/skeleton/skeleton.css +1 -1
- package/components/smart-select/smart-select-rtl.css +1 -1
- package/components/smart-select/smart-select.css +1 -1
- package/components/sortable/sortable-rtl.css +1 -1
- package/components/sortable/sortable.css +1 -1
- package/components/statusbar/statusbar.js +1 -1
- package/components/stepper/stepper-rtl.css +1 -1
- package/components/stepper/stepper.css +1 -1
- package/components/subnavbar/subnavbar-md.less +4 -4
- package/components/swipeout/swipeout-rtl.css +1 -1
- package/components/swipeout/swipeout.css +1 -1
- package/components/swiper/swiper-rtl.css +1 -1
- package/components/swiper/swiper.css +1 -1
- package/components/tabs/tabs-rtl.css +1 -1
- package/components/tabs/tabs.css +1 -1
- package/components/text-editor/text-editor-rtl.css +1 -1
- package/components/text-editor/text-editor.css +1 -1
- package/components/timeline/timeline-rtl.css +1 -1
- package/components/timeline/timeline.css +1 -1
- package/components/toast/toast-rtl.css +1 -1
- package/components/toast/toast.css +1 -1
- package/components/toggle/toggle-rtl.css +1 -1
- package/components/toggle/toggle.css +1 -1
- package/components/toolbar/toolbar-ios.less +12 -4
- package/components/tooltip/tooltip-rtl.css +1 -1
- package/components/tooltip/tooltip.css +1 -1
- package/components/treeview/treeview-rtl.css +1 -1
- package/components/treeview/treeview.css +1 -1
- package/components/typography/typography-rtl.css +1 -1
- package/components/typography/typography.css +1 -1
- package/framework7-bundle-rtl.css +8 -8
- package/framework7-bundle-rtl.min.css +3 -11
- package/framework7-bundle.css +8 -8
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +12 -10
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +3 -11
- 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 +8 -8
- package/framework7-rtl.min.css +3 -9
- package/framework7.css +8 -8
- package/framework7.esm.js +2 -2
- package/framework7.less +2 -2
- package/framework7.min.css +3 -9
- package/modules/router/router-class.js +7 -5
- package/modules/router/router.d.ts +2 -0
- package/modules/service-worker/service-worker.js +1 -1
- package/modules/touch/touch.js +1 -1
- package/package.json +2 -2
package/framework7-bundle.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 9.0.0
|
|
2
|
+
* Framework7 9.0.0
|
|
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: November
|
|
10
|
+
* Released on: November 25, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -1524,13 +1524,13 @@ html.device-full-viewport body {
|
|
|
1524
1524
|
position: absolute;
|
|
1525
1525
|
inset: 0;
|
|
1526
1526
|
backdrop-filter: blur(2px);
|
|
1527
|
-
mask-image: linear-gradient(to bottom, black 50
|
|
1527
|
+
mask-image: linear-gradient(to bottom, black calc(50% + var(--f7-safe-area-top, 0px)), transparent 100%);
|
|
1528
1528
|
}
|
|
1529
1529
|
.ios .navbar-bg::after {
|
|
1530
1530
|
content: '';
|
|
1531
1531
|
position: absolute;
|
|
1532
1532
|
inset: 0;
|
|
1533
|
-
background-image: linear-gradient(to bottom, var(--f7-navbar-bg-color, var(--f7-bars-bg-color))
|
|
1533
|
+
background-image: linear-gradient(to bottom, var(--f7-navbar-bg-color, var(--f7-bars-bg-color)) var(--f7-safe-area-top, 0px), transparent 100%);
|
|
1534
1534
|
}
|
|
1535
1535
|
.ios .navbar-inner {
|
|
1536
1536
|
justify-content: space-between;
|
|
@@ -2056,10 +2056,10 @@ html.device-full-viewport body {
|
|
|
2056
2056
|
}
|
|
2057
2057
|
.ios .toolbar::before {
|
|
2058
2058
|
backdrop-filter: blur(2px);
|
|
2059
|
-
mask-image: linear-gradient(to top, black 50
|
|
2059
|
+
mask-image: linear-gradient(to top, black calc(50% + var(--f7-safe-area-bottom, 0px)), transparent 100%);
|
|
2060
2060
|
}
|
|
2061
2061
|
.ios .toolbar::after {
|
|
2062
|
-
background-image: linear-gradient(to top, var(--f7-toolbar-bg-color, var(--f7-bars-bg-color))
|
|
2062
|
+
background-image: linear-gradient(to top, var(--f7-toolbar-bg-color, var(--f7-bars-bg-color)) var(--f7-safe-area-bottom, 0px), transparent 100%);
|
|
2063
2063
|
}
|
|
2064
2064
|
.ios .toolbar.toolbar-bottom::before,
|
|
2065
2065
|
.ios .toolbar.messagebar::before,
|
|
@@ -2073,11 +2073,11 @@ html.device-full-viewport body {
|
|
|
2073
2073
|
}
|
|
2074
2074
|
.ios .toolbar.toolbar-top::before,
|
|
2075
2075
|
.ios .toolbar:not(.toolbar-bottom, .toolbar-top, .messagebar)::before {
|
|
2076
|
-
mask-image: linear-gradient(to bottom, black 50
|
|
2076
|
+
mask-image: linear-gradient(to bottom, black calc(50% + var(--f7-safe-area-top, 0px)), transparent 100%);
|
|
2077
2077
|
}
|
|
2078
2078
|
.ios .toolbar.toolbar-top::after,
|
|
2079
2079
|
.ios .toolbar:not(.toolbar-bottom, .toolbar-top, .messagebar)::after {
|
|
2080
|
-
background-image: linear-gradient(to bottom, var(--f7-toolbar-bg-color, var(--f7-bars-bg-color))
|
|
2080
|
+
background-image: linear-gradient(to bottom, var(--f7-toolbar-bg-color, var(--f7-bars-bg-color)) var(--f7-safe-area-top, 0px), transparent 100%);
|
|
2081
2081
|
}
|
|
2082
2082
|
.ios .toolbar.toolbar-top::before,
|
|
2083
2083
|
.ios .toolbar:not(.toolbar-bottom, .toolbar-top, .messagebar)::before,
|
package/framework7-bundle.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 9.0.0
|
|
2
|
+
* Framework7 9.0.0
|
|
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: November
|
|
10
|
+
* Released on: November 25, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import $ from './shared/dom7.js';
|
package/framework7-bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 9.0.0
|
|
2
|
+
* Framework7 9.0.0
|
|
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: November
|
|
10
|
+
* Released on: November 25, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
(function (global, factory) {
|
|
@@ -6570,7 +6570,7 @@
|
|
|
6570
6570
|
});
|
|
6571
6571
|
}
|
|
6572
6572
|
document.addEventListener('contextmenu', e => {
|
|
6573
|
-
if (params.disableContextMenu && (device.ios || device.android || device.cordova || window.Capacitor && window.Capacitor.isNative)) {
|
|
6573
|
+
if (params.disableContextMenu && (device.ios || device.android || device.cordova || window.Capacitor && (window.Capacitor.isNative || window.Capacitor.isNativePlatform && window.Capacitor.isNativePlatform()))) {
|
|
6574
6574
|
e.preventDefault();
|
|
6575
6575
|
}
|
|
6576
6576
|
if (useRipple) {
|
|
@@ -9881,11 +9881,13 @@
|
|
|
9881
9881
|
}
|
|
9882
9882
|
}
|
|
9883
9883
|
router.xhrAbortController = new AbortController();
|
|
9884
|
+
const fetchOptions = {
|
|
9885
|
+
method: 'GET',
|
|
9886
|
+
signal: router.xhrAbortController.signal
|
|
9887
|
+
};
|
|
9888
|
+
router.emit('routerAjaxStart', options, fetchOptions);
|
|
9884
9889
|
let fetchRes;
|
|
9885
|
-
fetch(url, {
|
|
9886
|
-
signal: router.xhrAbortController.signal,
|
|
9887
|
-
method: 'GET'
|
|
9888
|
-
}).then(res => {
|
|
9890
|
+
fetch(url, fetchOptions).then(res => {
|
|
9889
9891
|
fetchRes = res;
|
|
9890
9892
|
return res.text();
|
|
9891
9893
|
}).then(responseText => {
|
|
@@ -10184,7 +10186,7 @@
|
|
|
10184
10186
|
let {
|
|
10185
10187
|
browserHistoryRoot
|
|
10186
10188
|
} = router.params;
|
|
10187
|
-
if ((window.cordova || window.Capacitor && window.Capacitor.isNative) && browserHistory && !browserHistorySeparator && !browserHistoryRoot && location.pathname.indexOf('index.html')) {
|
|
10189
|
+
if ((window.cordova || window.Capacitor && (window.Capacitor.isNative || window.Capacitor.isNativePlatform && window.Capacitor.isNativePlatform())) && browserHistory && !browserHistorySeparator && !browserHistoryRoot && location.pathname.indexOf('index.html')) {
|
|
10188
10190
|
// eslint-disable-next-line
|
|
10189
10191
|
console.warn('Framework7: wrong or not complete browserHistory configuration, trying to guess browserHistoryRoot');
|
|
10190
10192
|
browserHistoryRoot = location.pathname.split('index.html')[0];
|
|
@@ -12725,7 +12727,7 @@
|
|
|
12725
12727
|
const window = getWindow$1();
|
|
12726
12728
|
if (!('serviceWorker' in window.navigator)) return;
|
|
12727
12729
|
const app = this;
|
|
12728
|
-
if (app.device.cordova || window.Capacitor && window.Capacitor.isNative) return;
|
|
12730
|
+
if (app.device.cordova || window.Capacitor && (window.Capacitor.isNative || window.Capacitor.isNativePlatform && window.Capacitor.isNativePlatform())) return;
|
|
12729
12731
|
if (!app.serviceWorker.container) return;
|
|
12730
12732
|
const paths = app.params.serviceWorker.path;
|
|
12731
12733
|
const scope = app.params.serviceWorker.scope;
|
|
@@ -12881,7 +12883,7 @@
|
|
|
12881
12883
|
|
|
12882
12884
|
const isCapacitor = () => {
|
|
12883
12885
|
const window = getWindow$1();
|
|
12884
|
-
return window.Capacitor && window.Capacitor.isNative && window.Capacitor.Plugins && window.Capacitor.Plugins.StatusBar;
|
|
12886
|
+
return window.Capacitor && (window.Capacitor.isNative || window.Capacitor.isNativePlatform) && window.Capacitor.Plugins && window.Capacitor.Plugins.StatusBar;
|
|
12885
12887
|
};
|
|
12886
12888
|
const Statusbar = {
|
|
12887
12889
|
hide() {
|