framework7 7.0.1 → 7.0.2
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/data-table/data-table.less +1 -1
- package/components/swiper/swiper-rtl.css +1 -1
- package/components/swiper/swiper.css +1 -1
- package/components/swiper/swiper.lazy.js +1 -1
- package/framework7-bundle-rtl.css +5 -5
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +5 -5
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +107 -36
- 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 +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.d.ts +7 -7
- package/framework7.esm.js +2 -2
- package/framework7.js +14 -3
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/package.json +2 -2
- package/shared/history.js +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framework7",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Full featured mobile HTML framework for building iOS & Android apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -302,6 +302,6 @@
|
|
|
302
302
|
"path-to-regexp": "^6.2.0",
|
|
303
303
|
"skeleton-elements": "^4.0.0",
|
|
304
304
|
"ssr-window": "^4.0.2",
|
|
305
|
-
"swiper": "^8.1.
|
|
305
|
+
"swiper": "^8.1.4"
|
|
306
306
|
}
|
|
307
307
|
}
|
package/shared/history.js
CHANGED
|
@@ -106,11 +106,22 @@ const History = {
|
|
|
106
106
|
|
|
107
107
|
push(viewId, viewState, url) {
|
|
108
108
|
const window = getWindow();
|
|
109
|
+
const document = getDocument();
|
|
110
|
+
/* eslint-disable no-param-reassign */
|
|
109
111
|
|
|
110
112
|
if (url.substr(-3) === '#!/') {
|
|
111
|
-
// eslint-disable-next-line
|
|
112
113
|
url = url.replace('#!/', '');
|
|
114
|
+
|
|
115
|
+
if (url === '') {
|
|
116
|
+
url = document.location.href;
|
|
117
|
+
|
|
118
|
+
if (url.includes('#!/')) {
|
|
119
|
+
url = document.location.href.split('#!/')[0];
|
|
120
|
+
}
|
|
121
|
+
}
|
|
113
122
|
}
|
|
123
|
+
/* eslint-enable no-param-reassign */
|
|
124
|
+
|
|
114
125
|
|
|
115
126
|
if (!History.allowChange) {
|
|
116
127
|
History.queue.push(() => {
|