framework7 6.3.11 → 6.3.16

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 (62) hide show
  1. package/cjs/components/calendar/calendar-class.js +37 -20
  2. package/cjs/components/progressbar/progressbar.js +1 -1
  3. package/cjs/components/tabs/tabs.js +4 -5
  4. package/cjs/components/toolbar/toolbar.js +1 -1
  5. package/cjs/framework7-bundle.js +3 -3
  6. package/cjs/framework7-lite-bundle.js +3 -3
  7. package/cjs/framework7-lite.js +3 -3
  8. package/cjs/framework7.js +3 -3
  9. package/cjs/modules/router/back.js +10 -1
  10. package/components/calendar/calendar.js +1 -1
  11. package/components/list-index/list-index.d.ts +1 -1
  12. package/components/notification/notification.d.ts +4 -4
  13. package/components/popup/popup-rtl.css +1 -1
  14. package/components/popup/popup.css +1 -1
  15. package/components/popup/popup.d.ts +2 -0
  16. package/components/popup/popup.less +1 -0
  17. package/components/progressbar/progressbar-aurora.less +32 -13
  18. package/components/progressbar/progressbar-ios.less +19 -7
  19. package/components/progressbar/progressbar-md.less +64 -28
  20. package/components/progressbar/progressbar-rtl.css +1 -1
  21. package/components/progressbar/progressbar.css +1 -1
  22. package/components/progressbar/progressbar.js +1 -1
  23. package/components/progressbar/progressbar.less +16 -4
  24. package/components/range/range.d.ts +23 -5
  25. package/components/tabs/tabs.js +1 -1
  26. package/components/toast/toast.d.ts +2 -2
  27. package/components/toolbar/toolbar-aurora.less +0 -13
  28. package/components/toolbar/toolbar-md.less +0 -13
  29. package/components/toolbar/toolbar.less +13 -0
  30. package/esm/components/calendar/calendar-class.js +37 -20
  31. package/esm/components/progressbar/progressbar.js +1 -1
  32. package/esm/components/tabs/tabs.js +4 -5
  33. package/esm/components/toolbar/toolbar.js +1 -1
  34. package/esm/framework7-bundle.js +3 -3
  35. package/esm/framework7-lite-bundle.js +3 -3
  36. package/esm/framework7-lite.js +3 -3
  37. package/esm/framework7.js +3 -3
  38. package/esm/modules/router/back.js +11 -1
  39. package/framework7-bundle-rtl.css +31 -39
  40. package/framework7-bundle-rtl.min.css +4 -4
  41. package/framework7-bundle.css +16 -23
  42. package/framework7-bundle.js +57 -31
  43. package/framework7-bundle.js.map +1 -1
  44. package/framework7-bundle.less +3 -3
  45. package/framework7-bundle.min.css +4 -4
  46. package/framework7-bundle.min.js +4 -4
  47. package/framework7-bundle.min.js.map +1 -1
  48. package/framework7-rtl.css +12 -21
  49. package/framework7-rtl.min.css +4 -4
  50. package/framework7.css +11 -19
  51. package/framework7.js +15 -5
  52. package/framework7.js.map +1 -1
  53. package/framework7.less +3 -3
  54. package/framework7.min.css +4 -4
  55. package/framework7.min.js +4 -4
  56. package/framework7.min.js.map +1 -1
  57. package/package.json +1 -1
  58. package/types/components/list-index/list-index.d.ts +1 -1
  59. package/types/components/notification/notification.d.ts +4 -4
  60. package/types/components/popup/popup.d.ts +2 -0
  61. package/types/components/range/range.d.ts +23 -5
  62. package/types/components/toast/toast.d.ts +2 -2
package/framework7.css CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Framework7 6.3.11
2
+ * Framework7 6.3.16
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
6
- * Copyright 2014-2021 Vladimir Kharlampidi
6
+ * Copyright 2014-2022 Vladimir Kharlampidi
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: December 8, 2021
10
+ * Released on: February 10, 2022
11
11
  */
12
12
 
13
13
  /*====================
@@ -3116,6 +3116,14 @@ html.device-full-viewport body {
3116
3116
  height: var(--f7-tabbar-icon-size);
3117
3117
  line-height: var(--f7-tabbar-icon-size);
3118
3118
  }
3119
+ .tabbar .tab-link-highlight,
3120
+ .tabbar-labels .tab-link-highlight {
3121
+ position: absolute;
3122
+ height: 2px;
3123
+ background: var(--f7-tabbar-link-active-border-color, var(--f7-theme-color));
3124
+ transition-duration: 300ms;
3125
+ left: 0;
3126
+ }
3119
3127
  .tabbar-labels {
3120
3128
  --f7-toolbar-height: var(--f7-tabbar-labels-height);
3121
3129
  }
@@ -3376,14 +3384,6 @@ html.device-full-viewport body {
3376
3384
  overflow: hidden;
3377
3385
  position: relative;
3378
3386
  }
3379
- .md .tabbar .tab-link-highlight,
3380
- .md .tabbar-labels .tab-link-highlight {
3381
- position: absolute;
3382
- height: 2px;
3383
- background: var(--f7-tabbar-link-active-border-color, var(--f7-theme-color));
3384
- transition-duration: 300ms;
3385
- left: 0;
3386
- }
3387
3387
  .md .tabbar-labels .tab-link,
3388
3388
  .md .tabbar-labels .link {
3389
3389
  padding-top: 7px;
@@ -3408,14 +3408,6 @@ html.device-full-viewport body {
3408
3408
  align-items: center;
3409
3409
  margin: 0;
3410
3410
  }
3411
- .aurora .tabbar .tab-link-highlight,
3412
- .aurora .tabbar-labels .tab-link-highlight {
3413
- position: absolute;
3414
- height: 2px;
3415
- background: var(--f7-tabbar-link-active-border-color, var(--f7-theme-color));
3416
- transition-duration: 300ms;
3417
- left: 0;
3418
- }
3419
3411
  .aurora .tabbar .toolbar-inner,
3420
3412
  .aurora .tabbar-labels .toolbar-inner {
3421
3413
  padding-left: 0;
package/framework7.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Framework7 6.3.11
2
+ * Framework7 6.3.16
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
6
- * Copyright 2014-2021 Vladimir Kharlampidi
6
+ * Copyright 2014-2022 Vladimir Kharlampidi
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: December 8, 2021
10
+ * Released on: February 10, 2022
11
11
  */
12
12
 
13
13
  (function (global, factory) {
@@ -7924,7 +7924,7 @@
7924
7924
  var $el = $(el);
7925
7925
  var app = router.app;
7926
7926
  var view = router.view;
7927
- var options = extend({
7927
+ var options = extend(false, {
7928
7928
  animate: router.params.animate,
7929
7929
  browserHistory: true,
7930
7930
  replaceState: false
@@ -8632,6 +8632,16 @@
8632
8632
  }
8633
8633
 
8634
8634
  var previousPageRoute = $previousPage[0].f7Page.route;
8635
+
8636
+ if (navigateOptions.preload && $previousPage.hasClass('stacked')) {
8637
+ loadBack(router, {
8638
+ el: $previousPage
8639
+ }, extend(navigateOptions, {
8640
+ route: previousPageRoute
8641
+ }));
8642
+ return router;
8643
+ }
8644
+
8635
8645
  processRouteQueue.call(router, previousPageRoute, router.currentRoute, function () {
8636
8646
  loadBack(router, {
8637
8647
  el: $previousPage
@@ -14139,8 +14149,8 @@
14139
14149
  var Toolbar = {
14140
14150
  setHighlight: function setHighlight(tabbarEl) {
14141
14151
  var app = this;
14142
- if (app.theme === 'ios') return;
14143
14152
  var $tabbarEl = $(tabbarEl);
14153
+ if (app.theme === 'ios' && !$tabbarEl.hasClass('tabbar-highlight')) return;
14144
14154
  if ($tabbarEl.length === 0 || !($tabbarEl.hasClass('tabbar') || $tabbarEl.hasClass('tabbar-labels'))) return;
14145
14155
  var $highlightEl = $tabbarEl.find('.tab-link-highlight');
14146
14156
  var tabLinksCount = $tabbarEl.find('.tab-link').length;