framework7 8.0.0-beta.1 → 8.0.0-beta.3
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/app/app-class.js +6 -2
- package/components/checkbox/checkbox-rtl.css +1 -1
- package/components/checkbox/checkbox.css +1 -1
- package/components/checkbox/checkbox.less +22 -0
- package/components/dialog/dialog-md.less +1 -0
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog.css +1 -1
- package/components/notification/notification.d.ts +1 -1
- package/components/panel/panel-class.js +14 -0
- package/components/photo-browser/photo-browser-class.js +1 -0
- package/components/photo-browser/photo-browser.d.ts +2 -0
- package/components/photo-browser/photo-browser.js +2 -0
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker.css +1 -1
- package/components/picker/picker.less +36 -33
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.less +4 -0
- package/components/smart-select/smart-select-class.js +19 -5
- package/components/smart-select/smart-select.d.ts +4 -1
- package/components/smart-select/smart-select.js +2 -0
- package/components/swiper/swiper-rtl.css +1 -1
- package/components/swiper/swiper.css +1 -1
- package/components/swiper/swiper.js +6 -18
- package/components/toolbar/toolbar-ios.less +1 -0
- package/framework7-bundle-rtl.css +88 -36
- package/framework7-bundle-rtl.min.css +4 -4
- package/framework7-bundle.css +88 -36
- package/framework7-bundle.esm.js +3 -3
- package/framework7-bundle.js +789 -435
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +3 -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 +3 -3
- package/framework7-lite.esm.js +3 -3
- package/framework7-rtl.css +4 -3
- package/framework7-rtl.min.css +4 -4
- package/framework7.css +4 -3
- package/framework7.esm.js +3 -3
- package/framework7.less +3 -3
- package/framework7.min.css +4 -4
- package/modules/router/back.js +22 -6
- package/modules/router/navigate.js +11 -2
- package/modules/router/router-class.js +3 -2
- package/modules/router/router.d.ts +1 -1
- package/package.json +5 -21
- package/components/accordion/accordion.lazy.js +0 -1
- package/components/actions/actions.lazy.js +0 -1
- package/components/area-chart/area-chart.lazy.js +0 -1
- package/components/autocomplete/autocomplete.lazy.js +0 -1
- package/components/breadcrumbs/breadcrumbs.lazy.js +0 -1
- package/components/calendar/calendar.lazy.js +0 -1
- package/components/card/card.lazy.js +0 -1
- package/components/checkbox/checkbox.lazy.js +0 -1
- package/components/chip/chip.lazy.js +0 -1
- package/components/color-picker/color-picker.lazy.js +0 -1
- package/components/contacts-list/contacts-list.lazy.js +0 -1
- package/components/data-table/data-table.lazy.js +0 -1
- package/components/dialog/dialog.lazy.js +0 -1
- package/components/fab/fab.lazy.js +0 -1
- package/components/form/form.lazy.js +0 -1
- package/components/gauge/gauge.lazy.js +0 -1
- package/components/grid/grid.lazy.js +0 -1
- package/components/infinite-scroll/infinite-scroll.lazy.js +0 -1
- package/components/input/input.lazy.js +0 -1
- package/components/list-index/list-index.lazy.js +0 -1
- package/components/login-screen/login-screen.lazy.js +0 -1
- package/components/messagebar/messagebar.lazy.js +0 -1
- package/components/messages/messages.lazy.js +0 -1
- package/components/notification/notification.lazy.js +0 -1
- package/components/panel/panel.lazy.js +0 -1
- package/components/photo-browser/photo-browser.lazy.js +0 -1
- package/components/picker/picker.lazy.js +0 -1
- package/components/pie-chart/pie-chart.lazy.js +0 -1
- package/components/popover/popover.lazy.js +0 -1
- package/components/popup/popup.lazy.js +0 -1
- package/components/preloader/preloader.lazy.js +0 -1
- package/components/progressbar/progressbar.lazy.js +0 -1
- package/components/pull-to-refresh/pull-to-refresh.lazy.js +0 -1
- package/components/radio/radio.lazy.js +0 -1
- package/components/range/range.lazy.js +0 -1
- package/components/searchbar/searchbar.lazy.js +0 -1
- package/components/sheet/sheet.lazy.js +0 -1
- package/components/skeleton/skeleton.lazy.js +0 -1
- package/components/smart-select/smart-select.lazy.js +0 -1
- package/components/sortable/sortable.lazy.js +0 -1
- package/components/stepper/stepper.lazy.js +0 -1
- package/components/swipeout/swipeout.lazy.js +0 -1
- package/components/swiper/swiper.lazy.js +0 -1
- package/components/tabs/tabs.lazy.js +0 -1
- package/components/text-editor/text-editor.lazy.js +0 -1
- package/components/timeline/timeline.lazy.js +0 -1
- package/components/toast/toast.lazy.js +0 -1
- package/components/toggle/toggle.lazy.js +0 -1
- package/components/tooltip/tooltip.lazy.js +0 -1
- package/components/treeview/treeview.lazy.js +0 -1
- package/components/typography/typography.lazy.js +0 -1
- package/components/virtual-list/virtual-list.lazy.js +0 -1
- package/framework7-lite.js +0 -31
- package/framework7.js +0 -13027
- package/framework7.js.map +0 -1
- package/framework7.min.js +0 -14
- package/framework7.min.js.map +0 -1
- package/less/plugin.js +0 -15
package/framework7-bundle.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 8.0.0-beta.
|
|
2
|
+
* Framework7 8.0.0-beta.3
|
|
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-2023 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: March 9, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -2594,6 +2594,7 @@ html.device-full-viewport body {
|
|
|
2594
2594
|
.ios .tabbar-icons .tab-link i + span,
|
|
2595
2595
|
.ios .tabbar-icons .link i + span {
|
|
2596
2596
|
margin: 0;
|
|
2597
|
+
margin-top: 4px;
|
|
2597
2598
|
}
|
|
2598
2599
|
@media (min-width: 768px) and (min-height: 600px) {
|
|
2599
2600
|
.ios .tabbar .tab-link,
|
|
@@ -5591,6 +5592,7 @@ html.with-modal-dialog .page-content {
|
|
|
5591
5592
|
}
|
|
5592
5593
|
.md .dialog-buttons-vertical .dialog-button + .dialog-button {
|
|
5593
5594
|
margin-top: 8px;
|
|
5595
|
+
margin-left: 0;
|
|
5594
5596
|
}
|
|
5595
5597
|
.md .dialog-input {
|
|
5596
5598
|
padding: 0;
|
|
@@ -6022,6 +6024,10 @@ html.with-modal-popup-push-closing .framework7-root > .view.dark:after {
|
|
|
6022
6024
|
background-color: var(--f7-popover-bg-color);
|
|
6023
6025
|
border-radius: var(--f7-popover-border-radius);
|
|
6024
6026
|
will-change: transform, opacity;
|
|
6027
|
+
--f7-safe-area-top: 0px;
|
|
6028
|
+
--f7-safe-area-left: 0px;
|
|
6029
|
+
--f7-safe-area-right: 0px;
|
|
6030
|
+
--f7-safe-area-bottom: 0px;
|
|
6025
6031
|
}
|
|
6026
6032
|
.popover .list {
|
|
6027
6033
|
margin: 0;
|
|
@@ -10805,6 +10811,14 @@ label.item-checkbox.disabled,
|
|
|
10805
10811
|
opacity: 0.55 !important;
|
|
10806
10812
|
pointer-events: none !important;
|
|
10807
10813
|
}
|
|
10814
|
+
label.item-checkbox.item-checkbox-icon-end .item-inner {
|
|
10815
|
+
padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) + var(--f7-checkbox-size) + 16px);
|
|
10816
|
+
}
|
|
10817
|
+
label.item-checkbox.item-checkbox-icon-end input[type='checkbox'] ~ .icon-checkbox {
|
|
10818
|
+
position: absolute;
|
|
10819
|
+
right: calc(var(--f7-safe-area-right) + 16px);
|
|
10820
|
+
margin-right: 0;
|
|
10821
|
+
}
|
|
10808
10822
|
.ios .icon-checkbox:after,
|
|
10809
10823
|
.ios .checkbox i:after {
|
|
10810
10824
|
content: 'checkbox_ios';
|
|
@@ -13153,26 +13167,46 @@ label.item-radio.disabled,
|
|
|
13153
13167
|
text-align: right;
|
|
13154
13168
|
height: 100%;
|
|
13155
13169
|
position: relative;
|
|
13156
|
-
-webkit-mask-box-image: linear-gradient(to top, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);
|
|
13157
13170
|
font-size: var(--f7-picker-column-font-size);
|
|
13171
|
+
--f7-picker-mask-bg-color: transparent;
|
|
13158
13172
|
}
|
|
13159
|
-
.picker-
|
|
13160
|
-
|
|
13161
|
-
max-height: 100%;
|
|
13173
|
+
.popover .picker-columns {
|
|
13174
|
+
border-radius: 0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius);
|
|
13162
13175
|
}
|
|
13163
|
-
.picker-
|
|
13164
|
-
.picker-
|
|
13165
|
-
height: 100%;
|
|
13166
|
-
width: 100vw;
|
|
13167
|
-
position: absolute;
|
|
13176
|
+
.picker-columns::before,
|
|
13177
|
+
.picker-columns::after {
|
|
13168
13178
|
content: '';
|
|
13179
|
+
position: absolute;
|
|
13180
|
+
left: 0;
|
|
13181
|
+
width: 100%;
|
|
13182
|
+
height: 20%;
|
|
13183
|
+
z-index: 100;
|
|
13184
|
+
pointer-events: none;
|
|
13185
|
+
}
|
|
13186
|
+
.page .picker-columns {
|
|
13187
|
+
--f7-picker-mask-bg-color: var(--f7-page-bg-color);
|
|
13188
|
+
}
|
|
13189
|
+
.block-strong .picker-columns {
|
|
13190
|
+
--f7-picker-mask-bg-color: var(--f7-block-strong-bg-color);
|
|
13191
|
+
}
|
|
13192
|
+
.picker-sheet .picker-columns {
|
|
13193
|
+
--f7-picker-mask-bg-color: var(--f7-picker-sheet-bg-color, var(--f7-sheet-bg-color));
|
|
13194
|
+
}
|
|
13195
|
+
.picker-popover .picker-columns {
|
|
13196
|
+
--f7-picker-mask-bg-color: var(--f7-popover-bg-color);
|
|
13197
|
+
}
|
|
13198
|
+
.picker-columns::before {
|
|
13169
13199
|
top: 0;
|
|
13200
|
+
background-image: linear-gradient(to bottom, var(--f7-picker-mask-bg-color), transparent);
|
|
13170
13201
|
}
|
|
13171
|
-
.picker-
|
|
13172
|
-
|
|
13202
|
+
.picker-columns::after {
|
|
13203
|
+
bottom: 0;
|
|
13204
|
+
background-image: linear-gradient(to top, var(--f7-picker-mask-bg-color), transparent);
|
|
13173
13205
|
}
|
|
13174
|
-
.picker-column
|
|
13175
|
-
|
|
13206
|
+
.picker-column {
|
|
13207
|
+
position: relative;
|
|
13208
|
+
max-height: 100%;
|
|
13209
|
+
z-index: 10;
|
|
13176
13210
|
}
|
|
13177
13211
|
.picker-column.picker-column-left {
|
|
13178
13212
|
text-align: left;
|
|
@@ -16251,15 +16285,15 @@ table.data-table {
|
|
|
16251
16285
|
}
|
|
16252
16286
|
/* === Swiper === */
|
|
16253
16287
|
/**
|
|
16254
|
-
* Swiper 9.0.
|
|
16288
|
+
* Swiper 9.0.3
|
|
16255
16289
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
16256
16290
|
* https://swiperjs.com
|
|
16257
16291
|
*
|
|
16258
|
-
* Copyright 2014-
|
|
16292
|
+
* Copyright 2014-2023 Vladimir Kharlampidi
|
|
16259
16293
|
*
|
|
16260
16294
|
* Released under the MIT License
|
|
16261
16295
|
*
|
|
16262
|
-
* Released on:
|
|
16296
|
+
* Released on: February 6, 2023
|
|
16263
16297
|
*/
|
|
16264
16298
|
|
|
16265
16299
|
/* FONT_START */
|
|
@@ -16412,6 +16446,7 @@ swiper-slide {
|
|
|
16412
16446
|
}
|
|
16413
16447
|
.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
16414
16448
|
scroll-snap-align: center center;
|
|
16449
|
+
scroll-snap-stop: always;
|
|
16415
16450
|
}
|
|
16416
16451
|
.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
16417
16452
|
margin-inline-start: var(--swiper-centered-offset-before);
|
|
@@ -16485,14 +16520,15 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
16485
16520
|
:root {
|
|
16486
16521
|
--swiper-navigation-size: 44px;
|
|
16487
16522
|
/*
|
|
16488
|
-
--swiper-navigation-offset:
|
|
16523
|
+
--swiper-navigation-top-offset: 50%;
|
|
16524
|
+
--swiper-navigation-sides-offset: 10px;
|
|
16489
16525
|
--swiper-navigation-color: var(--swiper-theme-color);
|
|
16490
16526
|
*/
|
|
16491
16527
|
}
|
|
16492
16528
|
.swiper-button-prev,
|
|
16493
16529
|
.swiper-button-next {
|
|
16494
16530
|
position: absolute;
|
|
16495
|
-
top: 50
|
|
16531
|
+
top: var(--swiper-navigation-top-offset, 50%);
|
|
16496
16532
|
width: calc(var(--swiper-navigation-size) / 44 * 27);
|
|
16497
16533
|
height: var(--swiper-navigation-size);
|
|
16498
16534
|
margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
|
|
@@ -16530,7 +16566,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
16530
16566
|
}
|
|
16531
16567
|
.swiper-button-prev,
|
|
16532
16568
|
.swiper-rtl .swiper-button-next {
|
|
16533
|
-
left: var(--swiper-navigation-offset, 10px);
|
|
16569
|
+
left: var(--swiper-navigation-sides-offset, 10px);
|
|
16534
16570
|
right: auto;
|
|
16535
16571
|
}
|
|
16536
16572
|
.swiper-button-prev:after,
|
|
@@ -16539,7 +16575,7 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
16539
16575
|
}
|
|
16540
16576
|
.swiper-button-next,
|
|
16541
16577
|
.swiper-rtl .swiper-button-prev {
|
|
16542
|
-
right: var(--swiper-navigation-offset, 10px);
|
|
16578
|
+
right: var(--swiper-navigation-sides-offset, 10px);
|
|
16543
16579
|
left: auto;
|
|
16544
16580
|
}
|
|
16545
16581
|
.swiper-button-next:after,
|
|
@@ -16552,7 +16588,11 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
16552
16588
|
:root {
|
|
16553
16589
|
/*
|
|
16554
16590
|
--swiper-pagination-color: var(--swiper-theme-color);
|
|
16555
|
-
--swiper-pagination-
|
|
16591
|
+
--swiper-pagination-left: auto;
|
|
16592
|
+
--swiper-pagination-right: 8px;
|
|
16593
|
+
--swiper-pagination-bottom: 8px;
|
|
16594
|
+
--swiper-pagination-top: auto;
|
|
16595
|
+
--swiper-pagination-fraction-color: inherit;
|
|
16556
16596
|
--swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
|
|
16557
16597
|
--swiper-pagination-progressbar-size: 4px;
|
|
16558
16598
|
--swiper-pagination-bullet-size: 8px;
|
|
@@ -16584,7 +16624,8 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
16584
16624
|
.swiper-pagination-custom,
|
|
16585
16625
|
.swiper-horizontal > .swiper-pagination-bullets,
|
|
16586
16626
|
.swiper-pagination-bullets.swiper-pagination-horizontal {
|
|
16587
|
-
bottom: var(--swiper-pagination-
|
|
16627
|
+
bottom: var(--swiper-pagination-bottom, 8px);
|
|
16628
|
+
top: var(--swiper-pagination-top, auto);
|
|
16588
16629
|
left: 0;
|
|
16589
16630
|
width: 100%;
|
|
16590
16631
|
}
|
|
@@ -16643,7 +16684,8 @@ button.swiper-pagination-bullet {
|
|
|
16643
16684
|
}
|
|
16644
16685
|
.swiper-vertical > .swiper-pagination-bullets,
|
|
16645
16686
|
.swiper-pagination-vertical.swiper-pagination-bullets {
|
|
16646
|
-
right: var(--swiper-pagination-
|
|
16687
|
+
right: var(--swiper-pagination-right, 8px);
|
|
16688
|
+
left: var(--swiper-pagination-left, auto);
|
|
16647
16689
|
top: 50%;
|
|
16648
16690
|
transform: translate3d(0px, -50%, 0);
|
|
16649
16691
|
}
|
|
@@ -16681,6 +16723,10 @@ button.swiper-pagination-bullet {
|
|
|
16681
16723
|
:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
|
|
16682
16724
|
transition: 200ms transform, 200ms right;
|
|
16683
16725
|
}
|
|
16726
|
+
/* Fraction */
|
|
16727
|
+
.swiper-pagination-fraction {
|
|
16728
|
+
color: var(--swiper-pagination-fraction-color, inherit);
|
|
16729
|
+
}
|
|
16684
16730
|
/* Progress */
|
|
16685
16731
|
.swiper-pagination-progressbar {
|
|
16686
16732
|
background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
|
|
@@ -16724,10 +16770,14 @@ button.swiper-pagination-bullet {
|
|
|
16724
16770
|
:root {
|
|
16725
16771
|
/*
|
|
16726
16772
|
--swiper-scrollbar-border-radius: 10px;
|
|
16727
|
-
--swiper-scrollbar-
|
|
16773
|
+
--swiper-scrollbar-top: auto;
|
|
16774
|
+
--swiper-scrollbar-bottom: 4px;
|
|
16775
|
+
--swiper-scrollbar-left: auto;
|
|
16776
|
+
--swiper-scrollbar-right: 4px;
|
|
16777
|
+
--swiper-scrollbar-sides-offset: 1%;
|
|
16728
16778
|
--swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1);
|
|
16729
16779
|
--swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5);
|
|
16730
|
-
--swiper-scrollbar-size:
|
|
16780
|
+
--swiper-scrollbar-size: 4px;
|
|
16731
16781
|
*/
|
|
16732
16782
|
}
|
|
16733
16783
|
.swiper-scrollbar {
|
|
@@ -16743,20 +16793,22 @@ button.swiper-pagination-bullet {
|
|
|
16743
16793
|
.swiper-horizontal > .swiper-scrollbar,
|
|
16744
16794
|
.swiper-scrollbar.swiper-scrollbar-horizontal {
|
|
16745
16795
|
position: absolute;
|
|
16746
|
-
left: 1
|
|
16747
|
-
bottom: var(--swiper-scrollbar-
|
|
16796
|
+
left: var(--swiper-scrollbar-sides-offset, 1%);
|
|
16797
|
+
bottom: var(--swiper-scrollbar-bottom, 4px);
|
|
16798
|
+
top: var(--swiper-scrollbar-top, auto);
|
|
16748
16799
|
z-index: 50;
|
|
16749
|
-
height: var(--swiper-scrollbar-size,
|
|
16750
|
-
width:
|
|
16800
|
+
height: var(--swiper-scrollbar-size, 4px);
|
|
16801
|
+
width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
|
|
16751
16802
|
}
|
|
16752
16803
|
.swiper-vertical > .swiper-scrollbar,
|
|
16753
16804
|
.swiper-scrollbar.swiper-scrollbar-vertical {
|
|
16754
16805
|
position: absolute;
|
|
16755
|
-
|
|
16756
|
-
|
|
16806
|
+
left: var(--swiper-scrollbar-left, auto);
|
|
16807
|
+
right: var(--swiper-scrollbar-right, 4px);
|
|
16808
|
+
top: var(--swiper-scrollbar-sides-offset, 1%);
|
|
16757
16809
|
z-index: 50;
|
|
16758
|
-
width: var(--swiper-scrollbar-size,
|
|
16759
|
-
height:
|
|
16810
|
+
width: var(--swiper-scrollbar-size, 4px);
|
|
16811
|
+
height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));
|
|
16760
16812
|
}
|
|
16761
16813
|
.swiper-scrollbar-drag {
|
|
16762
16814
|
height: 100%;
|
package/framework7-bundle.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 8.0.0-beta.
|
|
2
|
+
* Framework7 8.0.0-beta.3
|
|
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-2023 Vladimir Kharlampidi
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: March 9, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import $ from './shared/dom7.js';
|