@xenknight/framework7 0.0.3 → 0.0.6
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-ios.less +22 -15
- package/components/actions/actions-rtl.css +1 -1
- package/components/actions/actions-vars.less +4 -7
- package/components/actions/actions.css +1 -1
- package/components/actions/actions.less +0 -3
- package/components/app/app-class.d.ts +2 -0
- package/components/app/app-class.js +10 -2
- package/components/app/app-vars.less +36 -0
- package/components/block/block-vars.less +6 -6
- package/components/button/button-vars.less +11 -10
- package/components/card/card-rtl.css +1 -1
- package/components/card/card-vars.less +5 -5
- package/components/card/card.css +1 -1
- package/components/dialog/dialog-class.js +6 -3
- package/components/dialog/dialog-ios.less +10 -34
- package/components/dialog/dialog-md.less +2 -22
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog-vars.less +8 -10
- package/components/dialog/dialog.css +1 -1
- package/components/dialog/dialog.js +3 -3
- package/components/dialog/dialog.less +6 -25
- package/components/list/list-vars.less +7 -5
- package/components/list/list.less +1 -1
- package/components/notification/notification-class.js +6 -6
- package/components/notification/notification-ios.less +3 -8
- package/components/notification/notification-md.less +1 -20
- package/components/notification/notification-rtl.css +1 -1
- package/components/notification/notification-vars.less +13 -16
- package/components/notification/notification.css +1 -1
- package/components/notification/notification.less +13 -1
- package/components/page/page-ios.less +4 -4
- package/components/page/page-md.less +2 -2
- package/components/popover/popover-class.js +21 -58
- package/components/popover/popover-ios.less +66 -2
- package/components/popover/popover-md.less +2 -27
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover-vars.less +2 -3
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.d.ts +0 -2
- package/components/popover/popover.js +0 -1
- package/components/popover/popover.less +28 -50
- package/components/range/range-class.js +34 -27
- package/components/range/range-ios.less +60 -0
- package/components/range/range-md.less +67 -4
- package/components/range/range-rtl.css +1 -1
- package/components/range/range-vars.less +18 -13
- package/components/range/range.css +1 -1
- package/components/range/range.d.ts +3 -1
- package/components/range/range.less +11 -24
- package/components/swipeout/swipeout-ios.less +37 -0
- package/components/swipeout/swipeout-md.less +56 -0
- package/components/swipeout/swipeout-rtl.css +1 -1
- package/components/swipeout/swipeout-vars.less +13 -2
- package/components/swipeout/swipeout.css +1 -1
- package/components/swipeout/swipeout.js +99 -23
- package/components/swipeout/swipeout.less +20 -44
- package/components/toast/toast-class.js +2 -2
- package/components/toast/toast-ios.less +2 -0
- package/components/toast/toast-rtl.css +1 -1
- package/components/toast/toast-vars.less +2 -4
- package/components/toast/toast.css +1 -1
- package/components/toast/toast.less +1 -1
- package/components/toggle/toggle-class.js +4 -8
- package/components/toggle/toggle-ios.less +68 -50
- package/components/toggle/toggle-rtl.css +1 -1
- package/components/toggle/toggle-vars.less +2 -2
- package/components/toggle/toggle.css +1 -1
- package/framework7-bundle-rtl.css +551 -452
- package/framework7-bundle-rtl.min.css +5 -5
- package/framework7-bundle.css +551 -452
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +2460 -858
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +5 -5
- 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 +63 -29
- package/framework7-rtl.min.css +4 -4
- package/framework7.css +63 -29
- package/framework7.esm.js +2 -2
- package/framework7.less +2 -2
- package/framework7.min.css +4 -4
- package/less/mixins.less +8 -0
- package/package.json +1 -1
- package/shared/get-support.d.ts +0 -6
- package/shared/get-support.js +1 -20
- package/shared/material-color-utils.js +2153 -679
- package/shared/material-colors.js +97 -17
- package/shared/utils.js +18 -6
package/framework7.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 0.0.
|
|
2
|
+
* Framework7 0.0.5
|
|
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:
|
|
10
|
+
* Released on: December 19, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -86,6 +86,21 @@
|
|
|
86
86
|
/*
|
|
87
87
|
--f7-bars-link-color: var(--f7-theme-color);
|
|
88
88
|
*/
|
|
89
|
+
--f7-glass-bg-color: rgba(255, 255, 255, 0.75);
|
|
90
|
+
--f7-glass-shadow: inset -1px -1px 0px -0.5px #ffffff,
|
|
91
|
+
inset 1px 1px 0px -0.5px rgba(255, 255, 255, 1),
|
|
92
|
+
inset 3px 3px 10px -3px #ddd,
|
|
93
|
+
inset -3px -3px 10px -3px #ddd,
|
|
94
|
+
inset 0 0 5px 1px #fff,
|
|
95
|
+
inset 0 0 0 0.5px rgba(0, 0, 0, 0.25),
|
|
96
|
+
inset 0 0 24px 0 rgba(0, 0, 0, 0.1),
|
|
97
|
+
0 0 25px 0 rgba(0, 0, 0, 0.2);
|
|
98
|
+
--f7-glass-shadow-thumb: inset -3px -3px 0px -3.5px #ffffff,
|
|
99
|
+
inset 3px 3px 0px -3.5px rgba(255, 255, 255, 1),
|
|
100
|
+
inset 0px 0px 0px 0.5px rgba(255, 255, 255, 0.5),
|
|
101
|
+
inset 3px 3px 10px -2px #eee,
|
|
102
|
+
inset -3px -3px 10px -2px #eee,
|
|
103
|
+
inset 0 0 5px 1px #fff;
|
|
89
104
|
--f7-bars-text-color: #000;
|
|
90
105
|
--f7-text-color: #000;
|
|
91
106
|
--f7-bars-bg-color: #f7f7f8;
|
|
@@ -94,6 +109,23 @@
|
|
|
94
109
|
}
|
|
95
110
|
.ios .dark,
|
|
96
111
|
.ios.dark {
|
|
112
|
+
--f7-glass-bg-color: rgba(50, 50, 50, 0.5);
|
|
113
|
+
--f7-glass-shadow: inset -2px -2px 0.5px -2.5px rgba(255, 255, 255, 0.4),
|
|
114
|
+
inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.4),
|
|
115
|
+
inset 2px 2px 0.5px -2px #262626,
|
|
116
|
+
inset -2px -2px 0.5px -2px #262626,
|
|
117
|
+
inset 0 0 5px 1px #141414,
|
|
118
|
+
inset 0 0 0 1px rgba(255, 255, 255, 0.15),
|
|
119
|
+
inset 0 0 10px 0 rgba(255, 255, 255, 0.075),
|
|
120
|
+
inset 0 0 24px 0 rgba(255, 255, 255, 0.05),
|
|
121
|
+
0 0 25px 0 rgba(0, 0, 0, 0.15);
|
|
122
|
+
--f7-glass-shadow-thumb: inset 3px 3px 0px -3.5px #ffffff,
|
|
123
|
+
inset -3px -3px 0px -3.5px rgba(255, 255, 255, 1),
|
|
124
|
+
inset -0.5px -0.5px 0px rgba(255, 255, 255, 0.5),
|
|
125
|
+
inset 0.5px 0.5px 0px rgba(255, 255, 255, 0.1),
|
|
126
|
+
inset -3px 3px 0px -3.5px rgba(255, 255, 255, 0.25),
|
|
127
|
+
inset 0px -5px 0px -3.5px rgba(255, 255, 255, 0.25),
|
|
128
|
+
inset 0px -5px 5px rgba(255, 255, 255, 0.25);
|
|
97
129
|
--f7-bars-text-color: #fff;
|
|
98
130
|
--f7-text-color: #fff;
|
|
99
131
|
--f7-bars-bg-color: #121212;
|
|
@@ -424,10 +456,10 @@ html.device-full-viewport body {
|
|
|
424
456
|
z-index: 10000;
|
|
425
457
|
}
|
|
426
458
|
.ios .page-previous {
|
|
427
|
-
transform: translate3d(-20%, 0, 0);
|
|
459
|
+
transform: translate3d(-20%, 0, 0) scale(0.5);
|
|
428
460
|
}
|
|
429
461
|
.ios .page-next {
|
|
430
|
-
transform: translate3d(100%, 0, 0);
|
|
462
|
+
transform: translate3d(100%, 0, 0) scale(1);
|
|
431
463
|
}
|
|
432
464
|
.ios .page-previous .page-opacity-effect {
|
|
433
465
|
opacity: 1;
|
|
@@ -547,11 +579,11 @@ html.device-full-viewport body {
|
|
|
547
579
|
}
|
|
548
580
|
}
|
|
549
581
|
.md .page-previous {
|
|
550
|
-
transform: translate3d(0, -20px, 0);
|
|
582
|
+
transform: translate3d(0, -20px, 0) scale(0.5);
|
|
551
583
|
}
|
|
552
584
|
.md .page-next {
|
|
553
585
|
pointer-events: none;
|
|
554
|
-
transform: translate3d(0, 128px, 0);
|
|
586
|
+
transform: translate3d(0, 128px, 0) scale(0.5);
|
|
555
587
|
opacity: 0;
|
|
556
588
|
}
|
|
557
589
|
.md .page-next.page-next-on-right {
|
|
@@ -2964,18 +2996,18 @@ html.device-full-viewport body {
|
|
|
2964
2996
|
--f7-block-text-color: inherit;
|
|
2965
2997
|
--f7-block-margin-vertical: 35px;
|
|
2966
2998
|
--f7-block-outline-border-color: rgba(0, 0, 0, 0.22);
|
|
2967
|
-
--f7-block-title-font-size:
|
|
2999
|
+
--f7-block-title-font-size: 17px;
|
|
2968
3000
|
--f7-block-title-font-weight: 600;
|
|
2969
3001
|
--f7-block-title-line-height: 20px;
|
|
2970
3002
|
--f7-block-title-margin-bottom: 10px;
|
|
2971
|
-
--f7-block-title-medium-font-size:
|
|
3003
|
+
--f7-block-title-medium-font-size: 20px;
|
|
2972
3004
|
--f7-block-title-medium-font-weight: bold;
|
|
2973
3005
|
--f7-block-title-medium-line-height: 1.4;
|
|
2974
|
-
--f7-block-title-large-font-size:
|
|
3006
|
+
--f7-block-title-large-font-size: 22px;
|
|
2975
3007
|
--f7-block-title-large-font-weight: bold;
|
|
2976
3008
|
--f7-block-title-large-line-height: 1.3;
|
|
2977
|
-
--f7-block-inset-border-radius:
|
|
2978
|
-
--f7-block-title-text-color:
|
|
3009
|
+
--f7-block-inset-border-radius: 24px;
|
|
3010
|
+
--f7-block-title-text-color: rgba(0, 0, 0, 0.6);
|
|
2979
3011
|
--f7-block-strong-text-color: #000;
|
|
2980
3012
|
--f7-block-header-text-color: rgba(0, 0, 0, 0.45);
|
|
2981
3013
|
--f7-block-footer-text-color: rgba(0, 0, 0, 0.45);
|
|
@@ -2985,7 +3017,7 @@ html.device-full-viewport body {
|
|
|
2985
3017
|
}
|
|
2986
3018
|
.ios .dark,
|
|
2987
3019
|
.ios.dark {
|
|
2988
|
-
--f7-block-title-text-color:
|
|
3020
|
+
--f7-block-title-text-color: rgba(255, 255, 255, 0.6);
|
|
2989
3021
|
--f7-block-header-text-color: rgba(255, 255, 255, 0.55);
|
|
2990
3022
|
--f7-block-footer-text-color: rgba(255, 255, 255, 0.55);
|
|
2991
3023
|
--f7-block-strong-text-color: #fff;
|
|
@@ -3391,7 +3423,6 @@ html.device-full-viewport body {
|
|
|
3391
3423
|
:root {
|
|
3392
3424
|
--f7-list-inset-side-margin: 16px;
|
|
3393
3425
|
--f7-list-item-padding-horizontal: 16px;
|
|
3394
|
-
--f7-list-item-padding-vertical: 8px;
|
|
3395
3426
|
--f7-list-media-item-padding-horizontal: 16px;
|
|
3396
3427
|
--f7-list-item-text-max-lines: 2;
|
|
3397
3428
|
--f7-list-chevron-icon-font-size: 20px;
|
|
@@ -3435,8 +3466,9 @@ html.device-full-viewport body {
|
|
|
3435
3466
|
--f7-list-chevron-icon-color: rgba(255, 255, 255, 0.3);
|
|
3436
3467
|
}
|
|
3437
3468
|
.ios {
|
|
3469
|
+
--f7-list-item-padding-vertical: 12px;
|
|
3438
3470
|
--f7-list-in-list-padding-left: 30px;
|
|
3439
|
-
--f7-list-inset-border-radius:
|
|
3471
|
+
--f7-list-inset-border-radius: 24px;
|
|
3440
3472
|
--f7-list-margin-vertical: 35px;
|
|
3441
3473
|
--f7-list-font-size: 17px;
|
|
3442
3474
|
--f7-list-chevron-icon-area: 20px;
|
|
@@ -3448,7 +3480,7 @@ html.device-full-viewport body {
|
|
|
3448
3480
|
--f7-list-item-text-line-height: 21px;
|
|
3449
3481
|
--f7-list-item-after-font-size: inherit;
|
|
3450
3482
|
--f7-list-item-after-padding: 5px;
|
|
3451
|
-
--f7-list-item-min-height:
|
|
3483
|
+
--f7-list-item-min-height: 52px;
|
|
3452
3484
|
--f7-list-item-media-icons-margin: 5px;
|
|
3453
3485
|
--f7-list-media-item-padding-vertical: 10px;
|
|
3454
3486
|
--f7-list-media-item-title-font-weight: 600;
|
|
@@ -3461,7 +3493,7 @@ html.device-full-viewport body {
|
|
|
3461
3493
|
--f7-list-group-title-font-size: inherit;
|
|
3462
3494
|
--f7-list-group-title-font-weight: 400;
|
|
3463
3495
|
--f7-menu-list-offset: 8px;
|
|
3464
|
-
--f7-menu-list-border-radius:
|
|
3496
|
+
--f7-menu-list-border-radius: 16px;
|
|
3465
3497
|
--f7-menu-list-item-bg-color: transparent;
|
|
3466
3498
|
--f7-menu-list-item-text-color: inherit;
|
|
3467
3499
|
--f7-menu-list-item-min-height: 44px;
|
|
@@ -3480,7 +3512,7 @@ html.device-full-viewport body {
|
|
|
3480
3512
|
.ios .dark,
|
|
3481
3513
|
.ios.dark {
|
|
3482
3514
|
--f7-list-item-border-color: rgba(255, 255, 255, 0.15);
|
|
3483
|
-
--f7-list-outline-inset-color: rgba(255, 255, 255, 0.15);
|
|
3515
|
+
--f7-list-outline-inset-border-color: rgba(255, 255, 255, 0.15);
|
|
3484
3516
|
--f7-list-strong-bg-color: #1c1c1d;
|
|
3485
3517
|
--f7-list-item-after-text-color: rgba(255, 255, 255, 0.55);
|
|
3486
3518
|
--f7-list-item-header-text-color: rgba(255, 255, 255, 0.55);
|
|
@@ -3493,6 +3525,7 @@ html.device-full-viewport body {
|
|
|
3493
3525
|
--f7-menu-list-item-selected-bg-color: var(--f7-theme-color);
|
|
3494
3526
|
}
|
|
3495
3527
|
.md {
|
|
3528
|
+
--f7-list-item-padding-vertical: 8px;
|
|
3496
3529
|
--f7-list-in-list-padding-left: 24px;
|
|
3497
3530
|
--f7-list-inset-border-radius: 16px;
|
|
3498
3531
|
--f7-list-margin-vertical: 32px;
|
|
@@ -3703,8 +3736,8 @@ html.device-full-viewport body {
|
|
|
3703
3736
|
.list label.item-content {
|
|
3704
3737
|
color: inherit;
|
|
3705
3738
|
}
|
|
3706
|
-
.list .item-link.active-state,
|
|
3707
|
-
.list label.item-content.active-state {
|
|
3739
|
+
.list .item-link.active-state:not(:has(.toggle-active-state)),
|
|
3740
|
+
.list label.item-content.active-state:not(:has(.toggle-active-state)) {
|
|
3708
3741
|
background-color: var(--f7-list-link-pressed-bg-color);
|
|
3709
3742
|
}
|
|
3710
3743
|
.list .item-link .item-inner {
|
|
@@ -4514,7 +4547,6 @@ li.list-group-title:after,
|
|
|
4514
4547
|
--f7-badge-bg-color: var(--f7-theme-color);
|
|
4515
4548
|
}
|
|
4516
4549
|
:root {
|
|
4517
|
-
--f7-button-font-size: 14px;
|
|
4518
4550
|
--f7-button-min-width: 32px;
|
|
4519
4551
|
--f7-button-bg-color: transparent;
|
|
4520
4552
|
--f7-button-border-width: 0px;
|
|
@@ -4546,12 +4578,13 @@ li.list-group-title:after,
|
|
|
4546
4578
|
--f7-segmented-strong-button-active-text-color: #fff;
|
|
4547
4579
|
}
|
|
4548
4580
|
.ios {
|
|
4581
|
+
--f7-button-font-size: 15px;
|
|
4549
4582
|
--f7-button-fill-text-color: #fff;
|
|
4550
|
-
--f7-button-text-transform:
|
|
4551
|
-
--f7-button-height:
|
|
4583
|
+
--f7-button-text-transform: none;
|
|
4584
|
+
--f7-button-height: 34px;
|
|
4552
4585
|
--f7-button-padding-horizontal: 10px;
|
|
4553
4586
|
--f7-button-border-radius: 4px;
|
|
4554
|
-
--f7-button-font-weight:
|
|
4587
|
+
--f7-button-font-weight: 500;
|
|
4555
4588
|
--f7-button-letter-spacing: 0;
|
|
4556
4589
|
/*
|
|
4557
4590
|
--f7-button-outline-border-color: var(--f7-theme-color);
|
|
@@ -4561,15 +4594,15 @@ li.list-group-title:after,
|
|
|
4561
4594
|
--f7-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
|
|
4562
4595
|
--f7-button-fill-pressed-bg-color: var(--f7-theme-color-tint);
|
|
4563
4596
|
*/
|
|
4564
|
-
--f7-button-large-text-transform:
|
|
4565
|
-
--f7-button-large-height:
|
|
4597
|
+
--f7-button-large-text-transform: none;
|
|
4598
|
+
--f7-button-large-height: 48px;
|
|
4566
4599
|
--f7-button-large-font-size: 17px;
|
|
4567
4600
|
--f7-button-large-font-weight: 500;
|
|
4568
4601
|
--f7-button-small-outline-border-width: 2px;
|
|
4569
|
-
--f7-button-small-text-transform:
|
|
4570
|
-
--f7-button-small-height:
|
|
4571
|
-
--f7-button-small-font-size:
|
|
4572
|
-
--f7-button-small-font-weight:
|
|
4602
|
+
--f7-button-small-text-transform: none;
|
|
4603
|
+
--f7-button-small-height: 28px;
|
|
4604
|
+
--f7-button-small-font-size: 14px;
|
|
4605
|
+
--f7-button-small-font-weight: 500;
|
|
4573
4606
|
--f7-segmented-strong-button-text-transform: none;
|
|
4574
4607
|
--f7-segmented-strong-button-active-font-weight: 600;
|
|
4575
4608
|
--f7-button-tonal-bg-color: rgba(var(--f7-theme-color-rgb), 0.15);
|
|
@@ -4584,6 +4617,7 @@ li.list-group-title:after,
|
|
|
4584
4617
|
--f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, 0.04);
|
|
4585
4618
|
}
|
|
4586
4619
|
.md {
|
|
4620
|
+
--f7-button-font-size: 14px;
|
|
4587
4621
|
/*
|
|
4588
4622
|
--f7-button-pressed-bg-color: transparent;
|
|
4589
4623
|
*/
|
package/framework7.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 0.0.
|
|
2
|
+
* Framework7 0.0.5
|
|
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:
|
|
10
|
+
* Released on: December 19, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import $ from './shared/dom7.js';
|
package/framework7.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 0.0.
|
|
2
|
+
* Framework7 0.0.5
|
|
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:
|
|
10
|
+
* Released on: December 19, 2025
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
@import (reference) './less/mixins.less';
|