framework7 8.0.0-beta.5 → 8.0.0-beta.7
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/photo-browser/photo-browser-class.js +89 -4
- package/components/photo-browser/photo-browser-rtl.css +1 -1
- package/components/photo-browser/photo-browser-vars.less +2 -3
- package/components/photo-browser/photo-browser.css +1 -1
- package/components/photo-browser/photo-browser.d.ts +7 -1
- package/components/photo-browser/photo-browser.js +4 -1
- package/components/photo-browser/photo-browser.less +94 -15
- package/framework7-bundle-rtl.css +99 -22
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +99 -22
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +95 -7
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +2 -2
- package/framework7-lite.esm.js +2 -2
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.esm.js +2 -2
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 8.0.0-beta.
|
|
2
|
+
* Framework7 8.0.0-beta.7
|
|
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: March
|
|
10
|
+
* Released on: March 27, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -17235,11 +17235,10 @@ swiper-container .swiper-notification {
|
|
|
17235
17235
|
--f7-photobrowser-bars-bg-color: rgba(var(--f7-bars-bg-color-rgb), 0.95);
|
|
17236
17236
|
--f7-photobrowser-bars-text-color: var(--f7-bars-text-color);
|
|
17237
17237
|
--f7-photobrowser-bars-link-color: var(--f7-bars-link-color);
|
|
17238
|
-
--f7-photobrowser-caption-font-size:
|
|
17238
|
+
--f7-photobrowser-caption-font-size: 13px;
|
|
17239
|
+
--f7-photobrowser-caption-font-weight: 500;
|
|
17239
17240
|
--f7-photobrowser-caption-light-text-color: #000;
|
|
17240
|
-
--f7-photobrowser-caption-light-bg-color: rgba(255, 255, 255, 0.8);
|
|
17241
17241
|
--f7-photobrowser-caption-dark-text-color: #fff;
|
|
17242
|
-
--f7-photobrowser-caption-dark-bg-color: rgba(0, 0, 0, 0.8);
|
|
17243
17242
|
--f7-photobrowser-exposed-bg-color: #000;
|
|
17244
17243
|
--f7-photobrowser-dark-bg-color: #000;
|
|
17245
17244
|
--f7-photobrowser-dark-bars-bg-color: rgba(27, 27, 27, 0.8);
|
|
@@ -17268,7 +17267,6 @@ swiper-container .swiper-notification {
|
|
|
17268
17267
|
}
|
|
17269
17268
|
.photo-browser-standalone.photo-browser-transitioning {
|
|
17270
17269
|
transition: 400ms;
|
|
17271
|
-
transition-property: transform;
|
|
17272
17270
|
animation: none !important;
|
|
17273
17271
|
}
|
|
17274
17272
|
.photo-browser-popup.modal-out.swipe-close-to-bottom,
|
|
@@ -17301,11 +17299,28 @@ swiper-container .swiper-notification {
|
|
|
17301
17299
|
bottom: var(--f7-safe-area-bottom);
|
|
17302
17300
|
z-index: 10;
|
|
17303
17301
|
opacity: 1;
|
|
17304
|
-
transition: 400ms;
|
|
17302
|
+
transition-duration: 400ms;
|
|
17305
17303
|
}
|
|
17306
17304
|
.photo-browser-captions.photo-browser-captions-exposed {
|
|
17307
17305
|
opacity: 0;
|
|
17308
17306
|
}
|
|
17307
|
+
.toolbar ~ .toolbar.photo-browser-thumbs {
|
|
17308
|
+
bottom: calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom));
|
|
17309
|
+
}
|
|
17310
|
+
.page ~ .photo-browser-page:not(.photo-browser-exposed) .toolbar ~ .toolbar.photo-browser-thumbs,
|
|
17311
|
+
.photo-browser-popup:not(.photo-browser-exposed) .toolbar ~ .toolbar.photo-browser-thumbs,
|
|
17312
|
+
.photo-browser-standalone:not(.photo-browser-exposed) .toolbar ~ .toolbar.photo-browser-thumbs {
|
|
17313
|
+
height: var(--f7-toolbar-height);
|
|
17314
|
+
}
|
|
17315
|
+
.photo-browser-exposed .toolbar ~ .toolbar.photo-browser-thumbs {
|
|
17316
|
+
transform: translate3d(0, calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom, 0)), 0);
|
|
17317
|
+
}
|
|
17318
|
+
.photo-browser-exposed .toolbar ~ .toolbar.photo-browser-thumbs .swiper {
|
|
17319
|
+
height: calc(100% - var(--f7-safe-area-bottom, 0));
|
|
17320
|
+
}
|
|
17321
|
+
.navbar + .toolbar.photo-browser-thumbs .swiper {
|
|
17322
|
+
height: calc(100% - var(--f7-safe-area-bottom, 0));
|
|
17323
|
+
}
|
|
17309
17324
|
.toolbar ~ .photo-browser-captions {
|
|
17310
17325
|
bottom: calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom));
|
|
17311
17326
|
transform: translate3d(0, 0px, 0);
|
|
@@ -17313,9 +17328,45 @@ swiper-container .swiper-notification {
|
|
|
17313
17328
|
.toolbar ~ .photo-browser-captions.photo-browser-captions-exposed {
|
|
17314
17329
|
transform: translate3d(0, 0px, 0);
|
|
17315
17330
|
}
|
|
17331
|
+
.toolbar ~ .toolbar ~ .photo-browser-captions {
|
|
17332
|
+
bottom: calc(var(--f7-toolbar-height) * 2 + var(--f7-safe-area-bottom));
|
|
17333
|
+
}
|
|
17334
|
+
.toolbar ~ .toolbar ~ .photo-browser-captions.photo-browser-captions-exposed {
|
|
17335
|
+
transform: translate3d(0, var(--f7-toolbar-height), 0);
|
|
17336
|
+
}
|
|
17337
|
+
.photo-browser-thumbs {
|
|
17338
|
+
transition-property: transform, background-color, color;
|
|
17339
|
+
}
|
|
17340
|
+
.photo-browser-thumbs .swiper {
|
|
17341
|
+
width: 100%;
|
|
17342
|
+
height: 100%;
|
|
17343
|
+
}
|
|
17344
|
+
.photo-browser-thumbs .swiper-slide {
|
|
17345
|
+
width: auto;
|
|
17346
|
+
display: flex;
|
|
17347
|
+
align-items: center;
|
|
17348
|
+
justify-content: center;
|
|
17349
|
+
}
|
|
17350
|
+
.photo-browser-thumbs img {
|
|
17351
|
+
width: auto;
|
|
17352
|
+
height: 75%;
|
|
17353
|
+
display: block;
|
|
17354
|
+
border-radius: 2px;
|
|
17355
|
+
min-width: 4px;
|
|
17356
|
+
}
|
|
17357
|
+
.photo-browser-thumbs .swiper-slide img {
|
|
17358
|
+
transform: translateX(-4px);
|
|
17359
|
+
transition-duration: 150ms;
|
|
17360
|
+
}
|
|
17361
|
+
.photo-browser-thumbs .swiper-slide-active img {
|
|
17362
|
+
transform: scale(1.2);
|
|
17363
|
+
}
|
|
17364
|
+
.photo-browser-thumbs .swiper-slide-active ~ .swiper-slide img {
|
|
17365
|
+
transform: translateX(4px);
|
|
17366
|
+
}
|
|
17316
17367
|
.photo-browser-caption {
|
|
17317
17368
|
box-sizing: border-box;
|
|
17318
|
-
transition:
|
|
17369
|
+
transition-duration: 400ms;
|
|
17319
17370
|
position: absolute;
|
|
17320
17371
|
bottom: 0;
|
|
17321
17372
|
left: 0;
|
|
@@ -17324,6 +17375,13 @@ swiper-container .swiper-notification {
|
|
|
17324
17375
|
width: 100%;
|
|
17325
17376
|
text-align: center;
|
|
17326
17377
|
font-size: var(--f7-photobrowser-caption-font-size);
|
|
17378
|
+
font-weight: var(--f7-photobrowser-caption-font-weight);
|
|
17379
|
+
}
|
|
17380
|
+
@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
|
|
17381
|
+
.ios-translucent-bars .photo-browser-caption {
|
|
17382
|
+
-webkit-backdrop-filter: saturate(180%) blur(var(--f7-bars-translucent-blur));
|
|
17383
|
+
backdrop-filter: saturate(180%) blur(var(--f7-bars-translucent-blur));
|
|
17384
|
+
}
|
|
17327
17385
|
}
|
|
17328
17386
|
.photo-browser-caption:empty {
|
|
17329
17387
|
display: none;
|
|
@@ -17333,11 +17391,10 @@ swiper-container .swiper-notification {
|
|
|
17333
17391
|
}
|
|
17334
17392
|
.photo-browser-captions-light .photo-browser-caption {
|
|
17335
17393
|
color: var(--f7-photobrowser-caption-light-text-color);
|
|
17336
|
-
background: var(--f7-photobrowser-caption-light-bg-color);
|
|
17337
17394
|
}
|
|
17338
|
-
.photo-browser-captions-dark .photo-browser-caption
|
|
17395
|
+
.photo-browser-captions-dark .photo-browser-caption,
|
|
17396
|
+
.dark .photo-browser-caption {
|
|
17339
17397
|
color: var(--f7-photobrowser-caption-dark-text-color);
|
|
17340
|
-
background: var(--f7-photobrowser-caption-dark-bg-color);
|
|
17341
17398
|
}
|
|
17342
17399
|
.photo-browser-swiper-container {
|
|
17343
17400
|
position: absolute;
|
|
@@ -17349,6 +17406,7 @@ swiper-container .swiper-notification {
|
|
|
17349
17406
|
background: var(--f7-photobrowser-bg-color);
|
|
17350
17407
|
transition: 400ms;
|
|
17351
17408
|
transition-property: background-color;
|
|
17409
|
+
touch-action: pan-x pan-y;
|
|
17352
17410
|
}
|
|
17353
17411
|
.photo-browser-prev.swiper-button-disabled,
|
|
17354
17412
|
.photo-browser-next.swiper-button-disabled {
|
|
@@ -17405,15 +17463,25 @@ swiper-container .swiper-notification {
|
|
|
17405
17463
|
left: 50%;
|
|
17406
17464
|
top: 50%;
|
|
17407
17465
|
}
|
|
17466
|
+
.navbar-photo-browser .right .link svg,
|
|
17467
|
+
.navbar-photo-browser .right .link i {
|
|
17468
|
+
width: 24px;
|
|
17469
|
+
height: 24px;
|
|
17470
|
+
display: block;
|
|
17471
|
+
}
|
|
17408
17472
|
.photo-browser-page .navbar-bg,
|
|
17409
17473
|
.navbar-photo-browser .navbar-bg,
|
|
17410
|
-
.photo-browser-page .toolbar
|
|
17474
|
+
.photo-browser-page .toolbar,
|
|
17475
|
+
.photo-browser-caption {
|
|
17411
17476
|
background-color: var(--f7-photobrowser-bars-bg-color, rgba(var(--f7-bars-bg-color-rgb), 0.95));
|
|
17412
17477
|
}
|
|
17478
|
+
.photo-browser-page {
|
|
17479
|
+
touch-action: manipulation;
|
|
17480
|
+
}
|
|
17413
17481
|
.photo-browser-page .navbar,
|
|
17414
17482
|
.photo-browser-page .toolbar {
|
|
17415
17483
|
transform: translate3d(0, 0, 0);
|
|
17416
|
-
transition: 400ms;
|
|
17484
|
+
transition-duration: 400ms;
|
|
17417
17485
|
color: var(--f7-photobrowser-bars-text-color, var(--f7-bars-text-color));
|
|
17418
17486
|
}
|
|
17419
17487
|
.photo-browser-page .navbar a,
|
|
@@ -17421,36 +17489,45 @@ swiper-container .swiper-notification {
|
|
|
17421
17489
|
color: var(--f7-photobrowser-bars-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));
|
|
17422
17490
|
}
|
|
17423
17491
|
.photo-browser-exposed .navbar,
|
|
17424
|
-
.photo-browser-exposed .toolbar {
|
|
17492
|
+
.photo-browser-exposed .toolbar:not(.photo-browser-thumbs) {
|
|
17425
17493
|
opacity: 0;
|
|
17426
17494
|
visibility: hidden;
|
|
17427
17495
|
pointer-events: none;
|
|
17428
17496
|
}
|
|
17429
|
-
.photo-browser-exposed .toolbar ~ .photo-browser-captions
|
|
17497
|
+
.photo-browser-exposed .toolbar:not(.photo-browser-thumbs) ~ .photo-browser-captions,
|
|
17498
|
+
.photo-browser-exposed .toolbar ~ .toolbar.photo-browser-thumbs ~ .photo-browser-captions {
|
|
17430
17499
|
transform: translate3d(0, var(--f7-toolbar-height), 0);
|
|
17431
17500
|
}
|
|
17432
17501
|
.photo-browser-exposed .photo-browser-swiper-container {
|
|
17433
17502
|
background: var(--f7-photobrowser-exposed-bg-color);
|
|
17434
17503
|
}
|
|
17435
|
-
.photo-browser-exposed .photo-browser-
|
|
17504
|
+
.photo-browser-exposed .photo-browser-thumbs,
|
|
17505
|
+
.photo-browser-dark .photo-browser-thumbs,
|
|
17506
|
+
.photo-browser-exposed .toolbar,
|
|
17507
|
+
.photo-browser-dark .toolbar {
|
|
17508
|
+
background-color: var(--f7-photobrowser-dark-bars-bg-color);
|
|
17509
|
+
}
|
|
17510
|
+
.photo-browser-exposed .photo-browser-caption,
|
|
17511
|
+
.photo-browser-dark .photo-browser-caption {
|
|
17436
17512
|
color: var(--f7-photobrowser-caption-dark-text-color);
|
|
17437
|
-
background: var(--f7-photobrowser-
|
|
17513
|
+
background-color: var(--f7-photobrowser-dark-bars-bg-color);
|
|
17438
17514
|
}
|
|
17439
17515
|
.view.with-photo-browser-page-exposed .navbar {
|
|
17440
17516
|
opacity: 0;
|
|
17441
17517
|
pointer-events: none;
|
|
17442
17518
|
}
|
|
17519
|
+
.photo-browser-page .toolbar:before,
|
|
17520
|
+
.photo-browser-page .toolbar:after {
|
|
17521
|
+
display: none !important;
|
|
17522
|
+
}
|
|
17443
17523
|
.photo-browser-page-dark .navbar-bg,
|
|
17444
|
-
.navbar-photo-browser-dark .navbar-bg
|
|
17445
|
-
.photo-browser-page-dark .toolbar {
|
|
17524
|
+
.navbar-photo-browser-dark .navbar-bg {
|
|
17446
17525
|
background: var(--f7-photobrowser-dark-bars-bg-color);
|
|
17447
17526
|
}
|
|
17448
17527
|
.photo-browser-page-dark .navbar-bg:before,
|
|
17449
17528
|
.navbar-photo-browser-dark .navbar-bg:before,
|
|
17450
|
-
.photo-browser-page-dark .toolbar:before,
|
|
17451
17529
|
.photo-browser-page-dark .navbar-bg:after,
|
|
17452
|
-
.navbar-photo-browser-dark .navbar-bg:after
|
|
17453
|
-
.photo-browser-page-dark .toolbar:after {
|
|
17530
|
+
.navbar-photo-browser-dark .navbar-bg:after {
|
|
17454
17531
|
display: none !important;
|
|
17455
17532
|
}
|
|
17456
17533
|
.navbar-photo-browser-dark,
|