framework7 7.0.0-beta.10 → 7.0.0-beta.11
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/actions/actions-class.js +6 -1
- package/components/actions/actions-rtl.css +1 -1
- package/components/actions/actions.css +1 -1
- package/components/actions/actions.d.ts +2 -0
- package/components/actions/actions.js +1 -0
- package/components/actions/actions.lazy.js +1 -1
- package/components/actions/actions.less +3 -0
- package/components/breadcrumbs/breadcrumbs-aurora.less +2 -0
- package/components/breadcrumbs/breadcrumbs-ios.less +2 -0
- package/components/breadcrumbs/breadcrumbs-md.less +2 -0
- package/components/breadcrumbs/breadcrumbs-rtl.css +1 -0
- package/components/breadcrumbs/breadcrumbs-vars.less +36 -0
- package/components/breadcrumbs/breadcrumbs.css +1 -0
- package/components/breadcrumbs/breadcrumbs.d.ts +15 -0
- package/components/breadcrumbs/breadcrumbs.js +13 -0
- package/components/breadcrumbs/breadcrumbs.lazy.js +1 -0
- package/components/breadcrumbs/breadcrumbs.less +100 -0
- package/components/calendar/calendar-class.js +206 -122
- package/components/calendar/calendar-rtl.css +1 -1
- package/components/calendar/calendar-vars.less +6 -10
- package/components/calendar/calendar.css +1 -1
- package/components/calendar/calendar.d.ts +2 -0
- package/components/calendar/calendar.js +1 -0
- package/components/calendar/calendar.lazy.js +1 -1
- package/components/calendar/calendar.less +20 -16
- package/components/list-index/list-index.d.ts +1 -1
- package/components/modal/modal-class.js +10 -0
- package/components/notification/notification.d.ts +4 -4
- package/components/picker/picker-class.js +6 -6
- package/components/picker/picker-column.js +34 -270
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker.css +1 -1
- package/components/picker/picker.d.ts +2 -13
- package/components/picker/picker.js +0 -5
- package/components/picker/picker.lazy.js +1 -1
- package/components/picker/picker.less +28 -10
- package/components/popover/popover-class.js +15 -2
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.d.ts +2 -0
- package/components/popover/popover.js +1 -0
- package/components/popover/popover.lazy.js +1 -1
- package/components/popover/popover.less +3 -0
- package/components/popup/popup-class.js +6 -1
- package/components/popup/popup-rtl.css +1 -1
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.d.ts +4 -0
- package/components/popup/popup.js +1 -0
- package/components/popup/popup.lazy.js +1 -1
- package/components/popup/popup.less +4 -0
- package/components/preloader/preloader.d.ts +4 -0
- package/components/progressbar/progressbar-aurora.less +32 -13
- package/components/progressbar/progressbar-ios.less +19 -7
- package/components/progressbar/progressbar-md.less +64 -28
- package/components/progressbar/progressbar-rtl.css +1 -1
- package/components/progressbar/progressbar.css +1 -1
- package/components/progressbar/progressbar.js +1 -1
- package/components/progressbar/progressbar.lazy.js +1 -1
- package/components/progressbar/progressbar.less +16 -4
- package/components/range/range.d.ts +23 -5
- package/components/sheet/sheet-class.js +6 -1
- package/components/sheet/sheet-rtl.css +1 -1
- package/components/sheet/sheet.css +1 -1
- package/components/sheet/sheet.d.ts +2 -0
- package/components/sheet/sheet.js +1 -0
- package/components/sheet/sheet.lazy.js +1 -1
- package/components/sheet/sheet.less +3 -0
- package/components/sortable/sortable.d.ts +5 -1
- package/components/sortable/sortable.js +15 -2
- package/components/sortable/sortable.lazy.js +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/components/tabs/tabs.js +4 -5
- package/components/tabs/tabs.lazy.js +1 -1
- package/components/toast/toast.d.ts +2 -2
- package/components/toolbar/toolbar-aurora.less +0 -13
- package/components/toolbar/toolbar-md.less +0 -13
- package/components/toolbar/toolbar.js +1 -1
- package/components/toolbar/toolbar.less +13 -0
- package/components/view/view.d.ts +2 -0
- package/components/view/view.js +1 -0
- package/framework7-bundle-rtl.css +249 -150
- package/framework7-bundle-rtl.min.css +4 -4
- package/framework7-bundle.css +234 -134
- package/framework7-bundle.esm.js +5 -4
- package/framework7-bundle.js +927 -713
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +4 -3
- package/framework7-bundle.min.css +4 -4
- package/framework7-bundle.min.js +4 -4
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +5 -4
- package/framework7-lite.esm.js +3 -3
- package/framework7-rtl.css +12 -21
- package/framework7-rtl.min.css +4 -4
- package/framework7-types.d.ts +5 -1
- package/framework7.css +11 -19
- package/framework7.d.ts +4 -0
- package/framework7.esm.js +3 -3
- package/framework7.js +38 -13
- package/framework7.js.map +1 -1
- package/framework7.less +3 -3
- package/framework7.min.css +4 -4
- package/framework7.min.js +4 -4
- package/framework7.min.js.map +1 -1
- package/modules/router/back.js +11 -1
- package/modules/router/tab.js +1 -1
- package/package.json +9 -5
package/framework7-types.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { AreaChart } from './components/area-chart/area-chart';
|
|
|
33
33
|
import { Autocomplete } from './components/autocomplete/autocomplete';
|
|
34
34
|
import { Badge } from './components/badge/badge';
|
|
35
35
|
import { Block } from './components/block/block';
|
|
36
|
+
import { Breadcrumbs } from './components/breadcrumbs/breadcrumbs';
|
|
36
37
|
import { Button } from './components/button/button';
|
|
37
38
|
import { Calendar } from './components/calendar/calendar';
|
|
38
39
|
import { Card } from './components/card/card';
|
|
@@ -151,6 +152,9 @@ declare module './components/app/app-class' {
|
|
|
151
152
|
interface Framework7Class<Events> extends Block.AppMethods{}
|
|
152
153
|
interface Framework7Parameters extends Block.AppParams{}
|
|
153
154
|
interface Framework7Events extends Block.AppEvents{}
|
|
155
|
+
interface Framework7Class<Events> extends Breadcrumbs.AppMethods{}
|
|
156
|
+
interface Framework7Parameters extends Breadcrumbs.AppParams{}
|
|
157
|
+
interface Framework7Events extends Breadcrumbs.AppEvents{}
|
|
154
158
|
interface Framework7Class<Events> extends Button.AppMethods{}
|
|
155
159
|
interface Framework7Parameters extends Button.AppParams{}
|
|
156
160
|
interface Framework7Events extends Button.AppEvents{}
|
|
@@ -359,5 +363,5 @@ export {
|
|
|
359
363
|
StoreParameters,
|
|
360
364
|
createStore,
|
|
361
365
|
};
|
|
362
|
-
export { Accordion, Actions, Appbar, AreaChart, Autocomplete, Badge, Block, Button, Calendar, Card, Checkbox, Chip, ColorPicker, ContactsList, DataTable, Dialog, Elevation, Fab, Form, Gauge, Grid, Icon, InfiniteScroll, Input, Lazy, Link, List, ListIndex, LoginScreen, Menu, Messagebar, Messages, Modal, Navbar, Notification, Page, Panel, PhotoBrowser, Picker, PieChart, Popover, Popup, Preloader, Progressbar, PullToRefresh, Radio, Range, Searchbar, Sheet, Skeleton, SmartSelect, Sortable, Statusbar, Stepper, Subnavbar, Swipeout, Swiper, Tabs, TextEditor, Timeline, Toast, Toggle, Toolbar, Tooltip, TouchRipple, Treeview, Typography, View, VirtualList }
|
|
366
|
+
export { Accordion, Actions, Appbar, AreaChart, Autocomplete, Badge, Block, Breadcrumbs, Button, Calendar, Card, Checkbox, Chip, ColorPicker, ContactsList, DataTable, Dialog, Elevation, Fab, Form, Gauge, Grid, Icon, InfiniteScroll, Input, Lazy, Link, List, ListIndex, LoginScreen, Menu, Messagebar, Messages, Modal, Navbar, Notification, Page, Panel, PhotoBrowser, Picker, PieChart, Popover, Popup, Preloader, Progressbar, PullToRefresh, Radio, Range, Searchbar, Sheet, Skeleton, SmartSelect, Sortable, Statusbar, Stepper, Subnavbar, Swipeout, Swiper, Tabs, TextEditor, Timeline, Toast, Toggle, Toolbar, Tooltip, TouchRipple, Treeview, Typography, View, VirtualList }
|
|
363
367
|
export default Framework7;
|
package/framework7.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 7.0.0-beta.
|
|
2
|
+
* Framework7 7.0.0-beta.11
|
|
3
3
|
* Full featured mobile HTML framework for building iOS & Android apps
|
|
4
4
|
* https://framework7.io/
|
|
5
5
|
*
|
|
6
|
-
* Copyright 2014-
|
|
6
|
+
* Copyright 2014-2022 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: February 17, 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.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { AreaChart } from './components/area-chart/area-chart';
|
|
|
27
27
|
import { Autocomplete } from './components/autocomplete/autocomplete';
|
|
28
28
|
import { Badge } from './components/badge/badge';
|
|
29
29
|
import { Block } from './components/block/block';
|
|
30
|
+
import { Breadcrumbs } from './components/breadcrumbs/breadcrumbs';
|
|
30
31
|
import { Button } from './components/button/button';
|
|
31
32
|
import { Calendar } from './components/calendar/calendar';
|
|
32
33
|
import { Card } from './components/card/card';
|
|
@@ -145,6 +146,9 @@ declare module './types/components/app/app-class' {
|
|
|
145
146
|
interface Framework7Class<Events> extends Block.AppMethods{}
|
|
146
147
|
interface Framework7Parameters extends Block.AppParams{}
|
|
147
148
|
interface Framework7Events extends Block.AppEvents{}
|
|
149
|
+
interface Framework7Class<Events> extends Breadcrumbs.AppMethods{}
|
|
150
|
+
interface Framework7Parameters extends Breadcrumbs.AppParams{}
|
|
151
|
+
interface Framework7Events extends Breadcrumbs.AppEvents{}
|
|
148
152
|
interface Framework7Class<Events> extends Button.AppMethods{}
|
|
149
153
|
interface Framework7Parameters extends Button.AppParams{}
|
|
150
154
|
interface Framework7Events extends Button.AppEvents{}
|
package/framework7.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 7.0.0-beta.
|
|
2
|
+
* Framework7 7.0.0-beta.11
|
|
3
3
|
* Full featured mobile HTML framework for building iOS & Android apps
|
|
4
4
|
* https://framework7.io/
|
|
5
5
|
*
|
|
6
|
-
* Copyright 2014-
|
|
6
|
+
* Copyright 2014-2022 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: February 17, 2022
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import $ from './shared/dom7.js';
|
package/framework7.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 7.0.0-beta.
|
|
2
|
+
* Framework7 7.0.0-beta.11
|
|
3
3
|
* Full featured mobile HTML framework for building iOS & Android apps
|
|
4
4
|
* https://framework7.io/
|
|
5
5
|
*
|
|
6
|
-
* Copyright 2014-
|
|
6
|
+
* Copyright 2014-2022 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: February 17, 2022
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
(function (global, factory) {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}(this, (function () { 'use strict';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* SSR Window 4.0.
|
|
20
|
+
* SSR Window 4.0.2
|
|
21
21
|
* Better handling for window object in SSR environment
|
|
22
22
|
* https://github.com/nolimits4web/ssr-window
|
|
23
23
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* Licensed under MIT
|
|
27
27
|
*
|
|
28
|
-
* Released on:
|
|
28
|
+
* Released on: December 13, 2021
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
31
|
/* eslint-disable no-param-reassign */
|
|
@@ -196,15 +196,15 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* Dom7 4.0.
|
|
199
|
+
* Dom7 4.0.4
|
|
200
200
|
* Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API
|
|
201
201
|
* https://framework7.io/docs/dom7.html
|
|
202
202
|
*
|
|
203
|
-
* Copyright
|
|
203
|
+
* Copyright 2022, Vladimir Kharlampidi
|
|
204
204
|
*
|
|
205
205
|
* Licensed under MIT
|
|
206
206
|
*
|
|
207
|
-
* Released on:
|
|
207
|
+
* Released on: January 11, 2022
|
|
208
208
|
*/
|
|
209
209
|
/* eslint-disable no-proto */
|
|
210
210
|
|
|
@@ -224,8 +224,12 @@
|
|
|
224
224
|
|
|
225
225
|
class Dom7 extends Array {
|
|
226
226
|
constructor(items) {
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
if (typeof items === 'number') {
|
|
228
|
+
super(items);
|
|
229
|
+
} else {
|
|
230
|
+
super(...(items || []));
|
|
231
|
+
makeReactive(this);
|
|
232
|
+
}
|
|
229
233
|
}
|
|
230
234
|
|
|
231
235
|
}
|
|
@@ -6832,7 +6836,7 @@
|
|
|
6832
6836
|
|
|
6833
6837
|
|
|
6834
6838
|
if (router.params.browserHistory && options.browserHistory && !options.reloadPrevious) {
|
|
6835
|
-
History.
|
|
6839
|
+
History[router.params.browserHistoryTabs](router.view.id, {
|
|
6836
6840
|
url: options.route.url
|
|
6837
6841
|
}, (router.params.browserHistoryRoot || '') + router.params.browserHistorySeparator + options.route.url);
|
|
6838
6842
|
} // Update Router History
|
|
@@ -7298,7 +7302,7 @@
|
|
|
7298
7302
|
const $el = $(el);
|
|
7299
7303
|
const app = router.app;
|
|
7300
7304
|
const view = router.view;
|
|
7301
|
-
const options = extend({
|
|
7305
|
+
const options = extend(false, {
|
|
7302
7306
|
animate: router.params.animate,
|
|
7303
7307
|
browserHistory: true,
|
|
7304
7308
|
replaceState: false
|
|
@@ -8006,6 +8010,16 @@
|
|
|
8006
8010
|
}
|
|
8007
8011
|
|
|
8008
8012
|
const previousPageRoute = $previousPage[0].f7Page.route;
|
|
8013
|
+
|
|
8014
|
+
if (navigateOptions.preload && $previousPage.hasClass('stacked')) {
|
|
8015
|
+
loadBack(router, {
|
|
8016
|
+
el: $previousPage
|
|
8017
|
+
}, extend(navigateOptions, {
|
|
8018
|
+
route: previousPageRoute
|
|
8019
|
+
}));
|
|
8020
|
+
return router;
|
|
8021
|
+
}
|
|
8022
|
+
|
|
8009
8023
|
processRouteQueue.call(router, previousPageRoute, router.currentRoute, () => {
|
|
8010
8024
|
loadBack(router, {
|
|
8011
8025
|
el: $previousPage
|
|
@@ -12554,6 +12568,7 @@
|
|
|
12554
12568
|
browserHistoryOnLoad: true,
|
|
12555
12569
|
browserHistoryInitialMatch: false,
|
|
12556
12570
|
browserHistoryStoreHistory: true,
|
|
12571
|
+
browserHistoryTabs: 'replace',
|
|
12557
12572
|
// Animate Pages
|
|
12558
12573
|
animate: true,
|
|
12559
12574
|
// iOS Dynamic Navbar
|
|
@@ -13468,8 +13483,8 @@
|
|
|
13468
13483
|
const Toolbar = {
|
|
13469
13484
|
setHighlight(tabbarEl) {
|
|
13470
13485
|
const app = this;
|
|
13471
|
-
if (app.theme === 'ios') return;
|
|
13472
13486
|
const $tabbarEl = $(tabbarEl);
|
|
13487
|
+
if (app.theme === 'ios' && !$tabbarEl.hasClass('tabbar-highlight')) return;
|
|
13473
13488
|
if ($tabbarEl.length === 0 || !($tabbarEl.hasClass('tabbar') || $tabbarEl.hasClass('tabbar-labels'))) return;
|
|
13474
13489
|
let $highlightEl = $tabbarEl.find('.tab-link-highlight');
|
|
13475
13490
|
const tabLinksCount = $tabbarEl.find('.tab-link').length;
|
|
@@ -13885,6 +13900,11 @@
|
|
|
13885
13900
|
if (!modal.type || !modal.$el) return;
|
|
13886
13901
|
modal.$el.removeClass('modal-out');
|
|
13887
13902
|
modal.$el.hide();
|
|
13903
|
+
|
|
13904
|
+
if (modal.params.backdrop && (modal.params.backdropUnique || modal.forceBackdropUnique) && modal.$backdropEl) {
|
|
13905
|
+
modal.$backdropEl.remove();
|
|
13906
|
+
}
|
|
13907
|
+
|
|
13888
13908
|
modal.$el.trigger(`modal:closed ${modal.type.toLowerCase()}:closed`);
|
|
13889
13909
|
modal.emit(`local::closed modalClosed ${modal.type}Closed`, modal);
|
|
13890
13910
|
}
|
|
@@ -13942,8 +13962,13 @@
|
|
|
13942
13962
|
|
|
13943
13963
|
|
|
13944
13964
|
$el.show();
|
|
13965
|
+
|
|
13966
|
+
if (modal.params.backdrop && (modal.params.backdropUnique || modal.forceBackdropUnique) && modal.$backdropEl) {
|
|
13967
|
+
modal.$backdropEl.insertBefore($el);
|
|
13968
|
+
}
|
|
13945
13969
|
/* eslint no-underscore-dangle: ["error", { "allow": ["_clientLeft"] }] */
|
|
13946
13970
|
|
|
13971
|
+
|
|
13947
13972
|
modal._clientLeft = $el[0].clientLeft; // Modal
|
|
13948
13973
|
|
|
13949
13974
|
function transitionEnd() {
|