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.
Files changed (125) hide show
  1. package/components/accordion/accordion-rtl.css +1 -1
  2. package/components/accordion/accordion.css +1 -1
  3. package/components/actions/actions-rtl.css +1 -1
  4. package/components/actions/actions.css +1 -1
  5. package/components/area-chart/area-chart-rtl.css +1 -1
  6. package/components/area-chart/area-chart.css +1 -1
  7. package/components/autocomplete/autocomplete-rtl.css +1 -1
  8. package/components/autocomplete/autocomplete.css +1 -1
  9. package/components/breadcrumbs/breadcrumbs-rtl.css +1 -1
  10. package/components/breadcrumbs/breadcrumbs.css +1 -1
  11. package/components/calendar/calendar-rtl.css +1 -1
  12. package/components/calendar/calendar.css +1 -1
  13. package/components/card/card-rtl.css +1 -1
  14. package/components/card/card.css +1 -1
  15. package/components/checkbox/checkbox-rtl.css +1 -1
  16. package/components/checkbox/checkbox.css +1 -1
  17. package/components/chip/chip-rtl.css +1 -1
  18. package/components/chip/chip.css +1 -1
  19. package/components/color-picker/color-picker-rtl.css +1 -1
  20. package/components/color-picker/color-picker.css +1 -1
  21. package/components/contacts-list/contacts-list-rtl.css +1 -1
  22. package/components/contacts-list/contacts-list.css +1 -1
  23. package/components/data-table/data-table-rtl.css +1 -1
  24. package/components/data-table/data-table.css +1 -1
  25. package/components/dialog/dialog-rtl.css +1 -1
  26. package/components/dialog/dialog.css +1 -1
  27. package/components/fab/fab-rtl.css +1 -1
  28. package/components/fab/fab.css +1 -1
  29. package/components/gauge/gauge-rtl.css +1 -1
  30. package/components/gauge/gauge.css +1 -1
  31. package/components/infinite-scroll/infinite-scroll-rtl.css +1 -1
  32. package/components/infinite-scroll/infinite-scroll.css +1 -1
  33. package/components/input/input-rtl.css +1 -1
  34. package/components/input/input.css +1 -1
  35. package/components/list-index/list-index-rtl.css +1 -1
  36. package/components/list-index/list-index.css +1 -1
  37. package/components/login-screen/login-screen-rtl.css +1 -1
  38. package/components/login-screen/login-screen.css +1 -1
  39. package/components/messagebar/messagebar-rtl.css +1 -1
  40. package/components/messagebar/messagebar.css +1 -1
  41. package/components/messages/messages-rtl.css +1 -1
  42. package/components/messages/messages.css +1 -1
  43. package/components/navbar/navbar-ios.less +6 -2
  44. package/components/notification/notification-rtl.css +1 -1
  45. package/components/notification/notification.css +1 -1
  46. package/components/panel/panel-rtl.css +1 -3
  47. package/components/panel/panel.css +1 -3
  48. package/components/photo-browser/photo-browser-rtl.css +1 -1
  49. package/components/photo-browser/photo-browser.css +1 -1
  50. package/components/picker/picker-rtl.css +1 -1
  51. package/components/picker/picker.css +1 -1
  52. package/components/pie-chart/pie-chart-rtl.css +1 -1
  53. package/components/pie-chart/pie-chart.css +1 -1
  54. package/components/popover/popover-rtl.css +1 -1
  55. package/components/popover/popover.css +1 -1
  56. package/components/popup/popup-rtl.css +1 -1
  57. package/components/popup/popup.css +1 -1
  58. package/components/preloader/preloader-rtl.css +1 -1
  59. package/components/preloader/preloader.css +1 -1
  60. package/components/progressbar/progressbar-rtl.css +1 -1
  61. package/components/progressbar/progressbar.css +1 -1
  62. package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -1
  63. package/components/pull-to-refresh/pull-to-refresh.css +1 -1
  64. package/components/radio/radio-rtl.css +1 -1
  65. package/components/radio/radio.css +1 -1
  66. package/components/range/range-rtl.css +1 -1
  67. package/components/range/range.css +1 -1
  68. package/components/searchbar/searchbar-rtl.css +1 -1
  69. package/components/searchbar/searchbar.css +1 -1
  70. package/components/sheet/sheet-rtl.css +1 -1
  71. package/components/sheet/sheet.css +1 -1
  72. package/components/skeleton/skeleton-rtl.css +1 -1
  73. package/components/skeleton/skeleton.css +1 -1
  74. package/components/smart-select/smart-select-rtl.css +1 -1
  75. package/components/smart-select/smart-select.css +1 -1
  76. package/components/sortable/sortable-rtl.css +1 -1
  77. package/components/sortable/sortable.css +1 -1
  78. package/components/statusbar/statusbar.js +1 -1
  79. package/components/stepper/stepper-rtl.css +1 -1
  80. package/components/stepper/stepper.css +1 -1
  81. package/components/subnavbar/subnavbar-md.less +4 -4
  82. package/components/swipeout/swipeout-rtl.css +1 -1
  83. package/components/swipeout/swipeout.css +1 -1
  84. package/components/swiper/swiper-rtl.css +1 -1
  85. package/components/swiper/swiper.css +1 -1
  86. package/components/tabs/tabs-rtl.css +1 -1
  87. package/components/tabs/tabs.css +1 -1
  88. package/components/text-editor/text-editor-rtl.css +1 -1
  89. package/components/text-editor/text-editor.css +1 -1
  90. package/components/timeline/timeline-rtl.css +1 -1
  91. package/components/timeline/timeline.css +1 -1
  92. package/components/toast/toast-rtl.css +1 -1
  93. package/components/toast/toast.css +1 -1
  94. package/components/toggle/toggle-rtl.css +1 -1
  95. package/components/toggle/toggle.css +1 -1
  96. package/components/toolbar/toolbar-ios.less +12 -4
  97. package/components/tooltip/tooltip-rtl.css +1 -1
  98. package/components/tooltip/tooltip.css +1 -1
  99. package/components/treeview/treeview-rtl.css +1 -1
  100. package/components/treeview/treeview.css +1 -1
  101. package/components/typography/typography-rtl.css +1 -1
  102. package/components/typography/typography.css +1 -1
  103. package/framework7-bundle-rtl.css +8 -8
  104. package/framework7-bundle-rtl.min.css +3 -11
  105. package/framework7-bundle.css +8 -8
  106. package/framework7-bundle.esm.js +2 -2
  107. package/framework7-bundle.js +12 -10
  108. package/framework7-bundle.js.map +1 -1
  109. package/framework7-bundle.less +2 -2
  110. package/framework7-bundle.min.css +3 -11
  111. package/framework7-bundle.min.js +3 -3
  112. package/framework7-bundle.min.js.map +1 -1
  113. package/framework7-lite-bundle.esm.js +2 -2
  114. package/framework7-lite.esm.js +2 -2
  115. package/framework7-rtl.css +8 -8
  116. package/framework7-rtl.min.css +3 -9
  117. package/framework7.css +8 -8
  118. package/framework7.esm.js +2 -2
  119. package/framework7.less +2 -2
  120. package/framework7.min.css +3 -9
  121. package/modules/router/router-class.js +7 -5
  122. package/modules/router/router.d.ts +2 -0
  123. package/modules/service-worker/service-worker.js +1 -1
  124. package/modules/touch/touch.js +1 -1
  125. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 9.0.0-beta.1
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, 2025
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%, transparent 100%);
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)) 0%, transparent 100%);
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%, transparent 100%);
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)) 0%, transparent 100%);
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%, transparent 100%);
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)) 0%, transparent 100%);
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,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 9.0.0-beta.1
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, 2025
10
+ * Released on: November 25, 2025
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 9.0.0-beta.1
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, 2025
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() {