@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.
Files changed (92) hide show
  1. package/components/actions/actions-ios.less +22 -15
  2. package/components/actions/actions-rtl.css +1 -1
  3. package/components/actions/actions-vars.less +4 -7
  4. package/components/actions/actions.css +1 -1
  5. package/components/actions/actions.less +0 -3
  6. package/components/app/app-class.d.ts +2 -0
  7. package/components/app/app-class.js +10 -2
  8. package/components/app/app-vars.less +36 -0
  9. package/components/block/block-vars.less +6 -6
  10. package/components/button/button-vars.less +11 -10
  11. package/components/card/card-rtl.css +1 -1
  12. package/components/card/card-vars.less +5 -5
  13. package/components/card/card.css +1 -1
  14. package/components/dialog/dialog-class.js +6 -3
  15. package/components/dialog/dialog-ios.less +10 -34
  16. package/components/dialog/dialog-md.less +2 -22
  17. package/components/dialog/dialog-rtl.css +1 -1
  18. package/components/dialog/dialog-vars.less +8 -10
  19. package/components/dialog/dialog.css +1 -1
  20. package/components/dialog/dialog.js +3 -3
  21. package/components/dialog/dialog.less +6 -25
  22. package/components/list/list-vars.less +7 -5
  23. package/components/list/list.less +1 -1
  24. package/components/notification/notification-class.js +6 -6
  25. package/components/notification/notification-ios.less +3 -8
  26. package/components/notification/notification-md.less +1 -20
  27. package/components/notification/notification-rtl.css +1 -1
  28. package/components/notification/notification-vars.less +13 -16
  29. package/components/notification/notification.css +1 -1
  30. package/components/notification/notification.less +13 -1
  31. package/components/page/page-ios.less +4 -4
  32. package/components/page/page-md.less +2 -2
  33. package/components/popover/popover-class.js +21 -58
  34. package/components/popover/popover-ios.less +66 -2
  35. package/components/popover/popover-md.less +2 -27
  36. package/components/popover/popover-rtl.css +1 -1
  37. package/components/popover/popover-vars.less +2 -3
  38. package/components/popover/popover.css +1 -1
  39. package/components/popover/popover.d.ts +0 -2
  40. package/components/popover/popover.js +0 -1
  41. package/components/popover/popover.less +28 -50
  42. package/components/range/range-class.js +34 -27
  43. package/components/range/range-ios.less +60 -0
  44. package/components/range/range-md.less +67 -4
  45. package/components/range/range-rtl.css +1 -1
  46. package/components/range/range-vars.less +18 -13
  47. package/components/range/range.css +1 -1
  48. package/components/range/range.d.ts +3 -1
  49. package/components/range/range.less +11 -24
  50. package/components/swipeout/swipeout-ios.less +37 -0
  51. package/components/swipeout/swipeout-md.less +56 -0
  52. package/components/swipeout/swipeout-rtl.css +1 -1
  53. package/components/swipeout/swipeout-vars.less +13 -2
  54. package/components/swipeout/swipeout.css +1 -1
  55. package/components/swipeout/swipeout.js +99 -23
  56. package/components/swipeout/swipeout.less +20 -44
  57. package/components/toast/toast-class.js +2 -2
  58. package/components/toast/toast-ios.less +2 -0
  59. package/components/toast/toast-rtl.css +1 -1
  60. package/components/toast/toast-vars.less +2 -4
  61. package/components/toast/toast.css +1 -1
  62. package/components/toast/toast.less +1 -1
  63. package/components/toggle/toggle-class.js +4 -8
  64. package/components/toggle/toggle-ios.less +68 -50
  65. package/components/toggle/toggle-rtl.css +1 -1
  66. package/components/toggle/toggle-vars.less +2 -2
  67. package/components/toggle/toggle.css +1 -1
  68. package/framework7-bundle-rtl.css +551 -452
  69. package/framework7-bundle-rtl.min.css +5 -5
  70. package/framework7-bundle.css +551 -452
  71. package/framework7-bundle.esm.js +2 -2
  72. package/framework7-bundle.js +2460 -858
  73. package/framework7-bundle.js.map +1 -1
  74. package/framework7-bundle.less +2 -2
  75. package/framework7-bundle.min.css +5 -5
  76. package/framework7-bundle.min.js +3 -3
  77. package/framework7-bundle.min.js.map +1 -1
  78. package/framework7-lite-bundle.esm.js +2 -2
  79. package/framework7-lite.esm.js +2 -2
  80. package/framework7-rtl.css +63 -29
  81. package/framework7-rtl.min.css +4 -4
  82. package/framework7.css +63 -29
  83. package/framework7.esm.js +2 -2
  84. package/framework7.less +2 -2
  85. package/framework7.min.css +4 -4
  86. package/less/mixins.less +8 -0
  87. package/package.json +1 -1
  88. package/shared/get-support.d.ts +0 -6
  89. package/shared/get-support.js +1 -20
  90. package/shared/material-color-utils.js +2153 -679
  91. package/shared/material-colors.js +97 -17
  92. package/shared/utils.js +18 -6
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 0.0.2
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: July 26, 2025
10
+ * Released on: December 19, 2025
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 0.0.2
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: July 26, 2025
10
+ * Released on: December 19, 2025
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 0.0.2
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: July 26, 2025
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;
@@ -427,10 +459,10 @@ html.device-full-viewport body {
427
459
  z-index: 10000;
428
460
  }
429
461
  .ios .page-previous {
430
- transform: translate3d(20%, 0, 0);
462
+ transform: translate3d(20%, 0, 0) scale(0.5);
431
463
  }
432
464
  .ios .page-next {
433
- transform: translate3d(-100%, 0, 0);
465
+ transform: translate3d(-100%, 0, 0) scale(1);
434
466
  }
435
467
  .ios .page-previous .page-opacity-effect {
436
468
  opacity: 1;
@@ -550,11 +582,11 @@ html.device-full-viewport body {
550
582
  }
551
583
  }
552
584
  .md .page-previous {
553
- transform: translate3d(0, -20px, 0);
585
+ transform: translate3d(0, -20px, 0) scale(0.5);
554
586
  }
555
587
  .md .page-next {
556
588
  pointer-events: none;
557
- transform: translate3d(0, 128px, 0);
589
+ transform: translate3d(0, 128px, 0) scale(0.5);
558
590
  opacity: 0;
559
591
  }
560
592
  .md .page-next.page-next-on-right {
@@ -2970,18 +3002,18 @@ html.device-full-viewport body {
2970
3002
  --f7-block-text-color: inherit;
2971
3003
  --f7-block-margin-vertical: 35px;
2972
3004
  --f7-block-outline-border-color: rgba(0, 0, 0, 0.22);
2973
- --f7-block-title-font-size: 16px;
3005
+ --f7-block-title-font-size: 17px;
2974
3006
  --f7-block-title-font-weight: 600;
2975
3007
  --f7-block-title-line-height: 20px;
2976
3008
  --f7-block-title-margin-bottom: 10px;
2977
- --f7-block-title-medium-font-size: 22px;
3009
+ --f7-block-title-medium-font-size: 20px;
2978
3010
  --f7-block-title-medium-font-weight: bold;
2979
3011
  --f7-block-title-medium-line-height: 1.4;
2980
- --f7-block-title-large-font-size: 30px;
3012
+ --f7-block-title-large-font-size: 22px;
2981
3013
  --f7-block-title-large-font-weight: bold;
2982
3014
  --f7-block-title-large-line-height: 1.3;
2983
- --f7-block-inset-border-radius: 8px;
2984
- --f7-block-title-text-color: #000;
3015
+ --f7-block-inset-border-radius: 24px;
3016
+ --f7-block-title-text-color: rgba(0, 0, 0, 0.6);
2985
3017
  --f7-block-strong-text-color: #000;
2986
3018
  --f7-block-header-text-color: rgba(0, 0, 0, 0.45);
2987
3019
  --f7-block-footer-text-color: rgba(0, 0, 0, 0.45);
@@ -2991,7 +3023,7 @@ html.device-full-viewport body {
2991
3023
  }
2992
3024
  .ios .dark,
2993
3025
  .ios.dark {
2994
- --f7-block-title-text-color: #fff;
3026
+ --f7-block-title-text-color: rgba(255, 255, 255, 0.6);
2995
3027
  --f7-block-header-text-color: rgba(255, 255, 255, 0.55);
2996
3028
  --f7-block-footer-text-color: rgba(255, 255, 255, 0.55);
2997
3029
  --f7-block-strong-text-color: #fff;
@@ -3397,7 +3429,6 @@ html.device-full-viewport body {
3397
3429
  :root {
3398
3430
  --f7-list-inset-side-margin: 16px;
3399
3431
  --f7-list-item-padding-horizontal: 16px;
3400
- --f7-list-item-padding-vertical: 8px;
3401
3432
  --f7-list-media-item-padding-horizontal: 16px;
3402
3433
  --f7-list-item-text-max-lines: 2;
3403
3434
  --f7-list-chevron-icon-font-size: 20px;
@@ -3441,8 +3472,9 @@ html.device-full-viewport body {
3441
3472
  --f7-list-chevron-icon-color: rgba(255, 255, 255, 0.3);
3442
3473
  }
3443
3474
  .ios {
3475
+ --f7-list-item-padding-vertical: 12px;
3444
3476
  --f7-list-in-list-padding-left: 30px;
3445
- --f7-list-inset-border-radius: 8px;
3477
+ --f7-list-inset-border-radius: 24px;
3446
3478
  --f7-list-margin-vertical: 35px;
3447
3479
  --f7-list-font-size: 17px;
3448
3480
  --f7-list-chevron-icon-area: 20px;
@@ -3454,7 +3486,7 @@ html.device-full-viewport body {
3454
3486
  --f7-list-item-text-line-height: 21px;
3455
3487
  --f7-list-item-after-font-size: inherit;
3456
3488
  --f7-list-item-after-padding: 5px;
3457
- --f7-list-item-min-height: 44px;
3489
+ --f7-list-item-min-height: 52px;
3458
3490
  --f7-list-item-media-icons-margin: 5px;
3459
3491
  --f7-list-media-item-padding-vertical: 10px;
3460
3492
  --f7-list-media-item-title-font-weight: 600;
@@ -3467,7 +3499,7 @@ html.device-full-viewport body {
3467
3499
  --f7-list-group-title-font-size: inherit;
3468
3500
  --f7-list-group-title-font-weight: 400;
3469
3501
  --f7-menu-list-offset: 8px;
3470
- --f7-menu-list-border-radius: 8px;
3502
+ --f7-menu-list-border-radius: 16px;
3471
3503
  --f7-menu-list-item-bg-color: transparent;
3472
3504
  --f7-menu-list-item-text-color: inherit;
3473
3505
  --f7-menu-list-item-min-height: 44px;
@@ -3486,7 +3518,7 @@ html.device-full-viewport body {
3486
3518
  .ios .dark,
3487
3519
  .ios.dark {
3488
3520
  --f7-list-item-border-color: rgba(255, 255, 255, 0.15);
3489
- --f7-list-outline-inset-color: rgba(255, 255, 255, 0.15);
3521
+ --f7-list-outline-inset-border-color: rgba(255, 255, 255, 0.15);
3490
3522
  --f7-list-strong-bg-color: #1c1c1d;
3491
3523
  --f7-list-item-after-text-color: rgba(255, 255, 255, 0.55);
3492
3524
  --f7-list-item-header-text-color: rgba(255, 255, 255, 0.55);
@@ -3499,6 +3531,7 @@ html.device-full-viewport body {
3499
3531
  --f7-menu-list-item-selected-bg-color: var(--f7-theme-color);
3500
3532
  }
3501
3533
  .md {
3534
+ --f7-list-item-padding-vertical: 8px;
3502
3535
  --f7-list-in-list-padding-left: 24px;
3503
3536
  --f7-list-inset-border-radius: 16px;
3504
3537
  --f7-list-margin-vertical: 32px;
@@ -3709,8 +3742,8 @@ html.device-full-viewport body {
3709
3742
  .list label.item-content {
3710
3743
  color: inherit;
3711
3744
  }
3712
- .list .item-link.active-state,
3713
- .list label.item-content.active-state {
3745
+ .list .item-link.active-state:not(:has(.toggle-active-state)),
3746
+ .list label.item-content.active-state:not(:has(.toggle-active-state)) {
3714
3747
  background-color: var(--f7-list-link-pressed-bg-color);
3715
3748
  }
3716
3749
  .list .item-link .item-inner {
@@ -4521,7 +4554,6 @@ li.list-group-title:after,
4521
4554
  --f7-badge-bg-color: var(--f7-theme-color);
4522
4555
  }
4523
4556
  :root {
4524
- --f7-button-font-size: 14px;
4525
4557
  --f7-button-min-width: 32px;
4526
4558
  --f7-button-bg-color: transparent;
4527
4559
  --f7-button-border-width: 0px;
@@ -4553,12 +4585,13 @@ li.list-group-title:after,
4553
4585
  --f7-segmented-strong-button-active-text-color: #fff;
4554
4586
  }
4555
4587
  .ios {
4588
+ --f7-button-font-size: 15px;
4556
4589
  --f7-button-fill-text-color: #fff;
4557
- --f7-button-text-transform: uppercase;
4558
- --f7-button-height: 28px;
4590
+ --f7-button-text-transform: none;
4591
+ --f7-button-height: 34px;
4559
4592
  --f7-button-padding-horizontal: 10px;
4560
4593
  --f7-button-border-radius: 4px;
4561
- --f7-button-font-weight: 600;
4594
+ --f7-button-font-weight: 500;
4562
4595
  --f7-button-letter-spacing: 0;
4563
4596
  /*
4564
4597
  --f7-button-outline-border-color: var(--f7-theme-color);
@@ -4568,15 +4601,15 @@ li.list-group-title:after,
4568
4601
  --f7-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
4569
4602
  --f7-button-fill-pressed-bg-color: var(--f7-theme-color-tint);
4570
4603
  */
4571
- --f7-button-large-text-transform: uppercase;
4572
- --f7-button-large-height: 44px;
4604
+ --f7-button-large-text-transform: none;
4605
+ --f7-button-large-height: 48px;
4573
4606
  --f7-button-large-font-size: 17px;
4574
4607
  --f7-button-large-font-weight: 500;
4575
4608
  --f7-button-small-outline-border-width: 2px;
4576
- --f7-button-small-text-transform: uppercase;
4577
- --f7-button-small-height: 26px;
4578
- --f7-button-small-font-size: 13px;
4579
- --f7-button-small-font-weight: 600;
4609
+ --f7-button-small-text-transform: none;
4610
+ --f7-button-small-height: 28px;
4611
+ --f7-button-small-font-size: 14px;
4612
+ --f7-button-small-font-weight: 500;
4580
4613
  --f7-segmented-strong-button-text-transform: none;
4581
4614
  --f7-segmented-strong-button-active-font-weight: 600;
4582
4615
  --f7-button-tonal-bg-color: rgba(var(--f7-theme-color-rgb), 0.15);
@@ -4591,6 +4624,7 @@ li.list-group-title:after,
4591
4624
  --f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, 0.04);
4592
4625
  }
4593
4626
  .md {
4627
+ --f7-button-font-size: 14px;
4594
4628
  /*
4595
4629
  --f7-button-pressed-bg-color: transparent;
4596
4630
  */