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