framework7 8.0.0-beta.8 → 8.0.0-beta.9

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 (70) hide show
  1. package/components/actions/actions-md.less +1 -0
  2. package/components/actions/actions-rtl.css +1 -1
  3. package/components/actions/actions.css +1 -1
  4. package/components/actions/actions.less +4 -1
  5. package/components/button/button-ios.less +3 -0
  6. package/components/button/button-md.less +1 -4
  7. package/components/button/button-vars.less +10 -5
  8. package/components/button/button.less +0 -1
  9. package/components/data-table/data-table-md.less +0 -1
  10. package/components/data-table/data-table-rtl.css +1 -1
  11. package/components/data-table/data-table.css +1 -1
  12. package/components/dialog/dialog-rtl.css +1 -1
  13. package/components/dialog/dialog-vars.less +2 -2
  14. package/components/dialog/dialog.css +1 -1
  15. package/components/fab/fab-ios.less +1 -0
  16. package/components/fab/fab-md.less +9 -0
  17. package/components/fab/fab-rtl.css +1 -1
  18. package/components/fab/fab-vars.less +5 -1
  19. package/components/fab/fab.css +1 -1
  20. package/components/fab/fab.less +0 -3
  21. package/components/list/list-md.less +5 -0
  22. package/components/list/list-vars.less +7 -7
  23. package/components/list/list.less +4 -1
  24. package/components/navbar/navbar-md.less +0 -1
  25. package/components/notification/notification-rtl.css +1 -1
  26. package/components/notification/notification.css +1 -1
  27. package/components/notification/notification.less +0 -2
  28. package/components/photo-browser/photo-browser-rtl.css +1 -1
  29. package/components/photo-browser/photo-browser.css +1 -1
  30. package/components/photo-browser/photo-browser.less +2 -2
  31. package/components/searchbar/searchbar-md.less +0 -3
  32. package/components/searchbar/searchbar-rtl.css +1 -1
  33. package/components/searchbar/searchbar.css +1 -1
  34. package/components/searchbar/searchbar.less +5 -1
  35. package/components/stepper/stepper-md.less +2 -2
  36. package/components/stepper/stepper-rtl.css +1 -1
  37. package/components/stepper/stepper-vars.less +2 -1
  38. package/components/stepper/stepper.css +1 -1
  39. package/components/subnavbar/subnavbar-md.less +0 -1
  40. package/components/text-editor/text-editor-md.less +0 -1
  41. package/components/text-editor/text-editor-rtl.css +1 -1
  42. package/components/text-editor/text-editor.css +1 -1
  43. package/components/toast/toast-rtl.css +1 -1
  44. package/components/toast/toast.css +1 -1
  45. package/components/toast/toast.less +0 -1
  46. package/components/toolbar/toolbar-md.less +0 -1
  47. package/components/touch-ripple/touch-ripple-class.js +2 -2
  48. package/components/touch-ripple/touch-ripple-vars.less +1 -1
  49. package/components/touch-ripple/touch-ripple.less +41 -4
  50. package/framework7-bundle-rtl.css +90 -262
  51. package/framework7-bundle-rtl.min.css +3 -3
  52. package/framework7-bundle.css +90 -262
  53. package/framework7-bundle.esm.js +2 -2
  54. package/framework7-bundle.js +57 -76
  55. package/framework7-bundle.js.map +1 -1
  56. package/framework7-bundle.less +2 -2
  57. package/framework7-bundle.min.css +3 -3
  58. package/framework7-bundle.min.js +3 -3
  59. package/framework7-bundle.min.js.map +1 -1
  60. package/framework7-lite-bundle.esm.js +2 -2
  61. package/framework7-lite.esm.js +2 -2
  62. package/framework7-rtl.css +63 -115
  63. package/framework7-rtl.min.css +3 -3
  64. package/framework7.css +63 -115
  65. package/framework7.esm.js +2 -2
  66. package/framework7.less +2 -2
  67. package/framework7.min.css +3 -3
  68. package/modules/component/component-class.js +51 -70
  69. package/modules/touch/touch.js +2 -2
  70. package/package.json +2 -2
package/framework7.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.8
2
+ * Framework7 8.0.0-beta.9
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 27, 2023
10
+ * Released on: March 31, 2023
11
11
  */
12
12
 
13
13
  /*====================
@@ -2090,37 +2090,6 @@ html.device-full-viewport body {
2090
2090
  padding: 0 12px;
2091
2091
  min-width: 48px;
2092
2092
  }
2093
- .md .navbar a.link:before {
2094
- content: '';
2095
- width: 152%;
2096
- height: 152%;
2097
- left: -26%;
2098
- top: -26%;
2099
- position: absolute;
2100
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 66%, rgba(255, 255, 255, 0) 66%);
2101
- background-repeat: no-repeat;
2102
- background-position: center;
2103
- background-size: 100% 100%;
2104
- opacity: 0;
2105
- pointer-events: none;
2106
- transition-duration: 300ms;
2107
- transition-property: opacity;
2108
- }
2109
- .md .navbar a.link.icon-only:before,
2110
- .md .navbar a.link.ripple-inset:before,
2111
- .md .navbar a.link.searchbar-disable-button:before,
2112
- .md .navbar a.link.input-clear-button:before,
2113
- .md .navbar a.link.notification-close-button:before {
2114
- width: 100%;
2115
- height: 100%;
2116
- left: 0;
2117
- top: 0;
2118
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 71%, rgba(255, 255, 255, 0) 71%);
2119
- }
2120
- .md .navbar a.link.active-state:before {
2121
- opacity: 1;
2122
- transition-duration: 150ms;
2123
- }
2124
2093
  .md .navbar a.icon-only {
2125
2094
  min-width: 0;
2126
2095
  flex-shrink: 0;
@@ -2623,37 +2592,6 @@ html.device-full-viewport body {
2623
2592
  padding: 0 12px;
2624
2593
  min-width: 48px;
2625
2594
  }
2626
- .md .toolbar .link:before {
2627
- content: '';
2628
- width: 152%;
2629
- height: 152%;
2630
- left: -26%;
2631
- top: -26%;
2632
- position: absolute;
2633
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 66%, rgba(255, 255, 255, 0) 66%);
2634
- background-repeat: no-repeat;
2635
- background-position: center;
2636
- background-size: 100% 100%;
2637
- opacity: 0;
2638
- pointer-events: none;
2639
- transition-duration: 300ms;
2640
- transition-property: opacity;
2641
- }
2642
- .md .toolbar .link.icon-only:before,
2643
- .md .toolbar .link.ripple-inset:before,
2644
- .md .toolbar .link.searchbar-disable-button:before,
2645
- .md .toolbar .link.input-clear-button:before,
2646
- .md .toolbar .link.notification-close-button:before {
2647
- width: 100%;
2648
- height: 100%;
2649
- left: 0;
2650
- top: 0;
2651
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 71%, rgba(255, 255, 255, 0) 71%);
2652
- }
2653
- .md .toolbar .link.active-state:before {
2654
- opacity: 1;
2655
- transition-duration: 150ms;
2656
- }
2657
2595
  .md .toolbar a.icon-only {
2658
2596
  min-width: 0;
2659
2597
  flex-shrink: 0;
@@ -2919,37 +2857,6 @@ html.device-full-viewport body {
2919
2857
  justify-content: center;
2920
2858
  padding: 0 12px;
2921
2859
  }
2922
- .md .subnavbar a.link:before {
2923
- content: '';
2924
- width: 152%;
2925
- height: 152%;
2926
- left: -26%;
2927
- top: -26%;
2928
- position: absolute;
2929
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 66%, rgba(255, 255, 255, 0) 66%);
2930
- background-repeat: no-repeat;
2931
- background-position: center;
2932
- background-size: 100% 100%;
2933
- opacity: 0;
2934
- pointer-events: none;
2935
- transition-duration: 300ms;
2936
- transition-property: opacity;
2937
- }
2938
- .md .subnavbar a.link.icon-only:before,
2939
- .md .subnavbar a.link.ripple-inset:before,
2940
- .md .subnavbar a.link.searchbar-disable-button:before,
2941
- .md .subnavbar a.link.input-clear-button:before,
2942
- .md .subnavbar a.link.notification-close-button:before {
2943
- width: 100%;
2944
- height: 100%;
2945
- left: 0;
2946
- top: 0;
2947
- background-image: radial-gradient(circle at center, var(--f7-link-highlight-color) 71%, rgba(255, 255, 255, 0) 71%);
2948
- }
2949
- .md .subnavbar a.link.active-state:before {
2950
- opacity: 1;
2951
- transition-duration: 150ms;
2952
- }
2953
2860
  .md .subnavbar a.icon-only {
2954
2861
  flex-shrink: 0;
2955
2862
  padding: 0 12px;
@@ -3432,7 +3339,6 @@ html.device-full-viewport body {
3432
3339
  --f7-list-item-footer-line-height: 1.2;
3433
3340
  /*
3434
3341
  --f7-list-button-text-color: var(--f7-theme-color);
3435
- --f7-list-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
3436
3342
  */
3437
3343
  --f7-list-button-font-size: inherit;
3438
3344
  --f7-list-button-font-weight: 400;
@@ -3473,6 +3379,9 @@ html.device-full-viewport body {
3473
3379
  --f7-list-media-item-padding-vertical: 10px;
3474
3380
  --f7-list-media-item-title-font-weight: 600;
3475
3381
  --f7-list-button-border-color: rgba(0, 0, 0, 0.22);
3382
+ /*
3383
+ --f7-list-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
3384
+ */
3476
3385
  --f7-list-group-title-border-color: rgba(0, 0, 0, 0.22);
3477
3386
  --f7-list-group-title-height: 31px;
3478
3387
  --f7-list-group-title-font-size: inherit;
@@ -3525,6 +3434,9 @@ html.device-full-viewport body {
3525
3434
  --f7-list-media-item-padding-vertical: 12px;
3526
3435
  --f7-list-media-item-title-font-weight: 500;
3527
3436
  --f7-list-button-border-color: transparent;
3437
+ /*
3438
+ --f7-list-button-pressed-bg-color: transparent;
3439
+ */
3528
3440
  --f7-list-group-title-border-color: transparent;
3529
3441
  --f7-list-group-title-height: 48px;
3530
3442
  --f7-list-group-title-font-size: 16px;
@@ -3532,11 +3444,7 @@ html.device-full-viewport body {
3532
3444
  --f7-menu-list-offset: 16px;
3533
3445
  --f7-menu-list-border-radius: 999px;
3534
3446
  --f7-menu-list-item-min-height: 56px;
3535
- --f7-list-link-pressed-bg-color: rgba(0, 0, 0, 0.1);
3536
- }
3537
- .md .dark,
3538
- .md.dark {
3539
- --f7-list-link-pressed-bg-color: rgba(255, 255, 255, 0.05);
3447
+ --f7-list-link-pressed-bg-color: transparent;
3540
3448
  }
3541
3449
  .md,
3542
3450
  .md .dark,
@@ -3809,9 +3717,12 @@ html.device-full-viewport body {
3809
3717
  font-weight: var(--f7-list-button-font-weight);
3810
3718
  text-align: var(--f7-list-button-text-align);
3811
3719
  }
3812
- .list-button.active-state {
3720
+ .ios .list-button.active-state {
3813
3721
  background-color: var(--f7-list-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
3814
3722
  }
3723
+ .md .list-button.active-state {
3724
+ background-color: var(--f7-list-button-pressed-bg-color, transparent);
3725
+ }
3815
3726
  .list-dividers .list-button:after,
3816
3727
  .ios .list-dividers-ios .list-button:after,
3817
3728
  .md .list-dividers-md .list-button:after {
@@ -4472,6 +4383,9 @@ li.list-group-title:after,
4472
4383
  .ios .list .list-button.active-state {
4473
4384
  transition-duration: 0ms;
4474
4385
  }
4386
+ .md .menu-list .item-link.active-state {
4387
+ background-color: var(--f7-menu-list-item-bg-color);
4388
+ }
4475
4389
  /* === Badge === */
4476
4390
  :root {
4477
4391
  --f7-badge-text-color: #fff;
@@ -4532,7 +4446,6 @@ li.list-group-title:after,
4532
4446
  --f7-button-border-width: 0px;
4533
4447
  /*
4534
4448
  --f7-button-text-color: var(--f7-theme-color);
4535
- --f7-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
4536
4449
  --f7-button-pressed-text-color: var(--f7-button-text-color, var(--f7-theme-color));
4537
4450
  --f7-button-border-color: var(--f7-theme-color);
4538
4451
  --f7-button-fill-bg-color: var(--f7-theme-color);
@@ -4547,14 +4460,12 @@ li.list-group-title:after,
4547
4460
  --f7-segmented-strong-button-font-weight: 500;
4548
4461
  --f7-segmented-strong-button-active-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
4549
4462
  --f7-segmented-strong-button-text-color: #000;
4550
- --f7-segmented-strong-button-pressed-bg-color: rgba(0, 0, 0, 0.07);
4551
4463
  --f7-segmented-strong-button-hover-bg-color: rgba(0, 0, 0, 0.04);
4552
4464
  --f7-segmented-strong-button-active-text-color: #000;
4553
4465
  --f7-segmented-strong-button-active-bg-color: #fff;
4554
4466
  }
4555
4467
  :root .dark,
4556
4468
  :root.dark {
4557
- --f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, 0.04);
4558
4469
  --f7-segmented-strong-button-hover-bg-color: rgba(255, 255, 255, 0.02);
4559
4470
  --f7-segmented-strong-button-active-bg-color: rgba(255, 255, 255, 0.14);
4560
4471
  --f7-segmented-strong-button-text-color: #fff;
@@ -4571,6 +4482,7 @@ li.list-group-title:after,
4571
4482
  --f7-button-outline-border-color: var(--f7-theme-color);
4572
4483
  --f7-button-outline-border-width: 2px;
4573
4484
  /*
4485
+ --f7-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
4574
4486
  --f7-button-fill-pressed-bg-color: var(--f7-theme-color-tint);
4575
4487
  */
4576
4488
  --f7-button-large-text-transform: uppercase;
@@ -4588,12 +4500,17 @@ li.list-group-title:after,
4588
4500
  --f7-button-tonal-pressed-bg-color: rgba(var(--f7-theme-color-rgb), 0.25);
4589
4501
  --f7-button-tonal-text-color: var(--f7-theme-color);
4590
4502
  --f7-segmented-strong-bg-color: rgba(0, 0, 0, 0.07);
4503
+ --f7-segmented-strong-button-pressed-bg-color: rgba(0, 0, 0, 0.07);
4591
4504
  }
4592
4505
  .ios .dark,
4593
4506
  .ios.dark {
4594
4507
  --f7-segmented-strong-bg-color: rgba(255, 255, 255, 0.1);
4508
+ --f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, 0.04);
4595
4509
  }
4596
4510
  .md {
4511
+ /*
4512
+ --f7-button-pressed-bg-color: transparent;
4513
+ */
4597
4514
  --f7-button-text-transform: none;
4598
4515
  --f7-button-height: 40px;
4599
4516
  --f7-button-padding-horizontal: 16px;
@@ -4612,16 +4529,17 @@ li.list-group-title:after,
4612
4529
  --f7-button-small-font-weight: 500;
4613
4530
  --f7-segmented-strong-button-text-transform: none;
4614
4531
  --f7-segmented-strong-button-active-font-weight: 500;
4532
+ --f7-segmented-strong-button-pressed-bg-color: transparent;
4615
4533
  }
4616
4534
  .md,
4617
4535
  .md .dark,
4618
4536
  .md [class*='color-'] {
4619
- --f7-button-fill-pressed-bg-color: var(--f7-theme-color-shade);
4537
+ --f7-button-fill-pressed-bg-color: transparent;
4620
4538
  --f7-button-fill-text-color: var(--f7-md-on-primary);
4621
4539
  --f7-button-outline-border-color: var(--f7-md-outline);
4622
4540
  --f7-segmented-strong-bg-color: var(--f7-md-surface-variant);
4623
4541
  --f7-button-tonal-bg-color: var(--f7-md-secondary-container);
4624
- --f7-button-tonal-pressed-bg-color: rgba(var(--f7-theme-color-rgb), 0.25);
4542
+ --f7-button-tonal-pressed-bg-color: transparent;
4625
4543
  --f7-button-tonal-text-color: var(--f7-md-on-secondary-container);
4626
4544
  }
4627
4545
  button {
@@ -4664,7 +4582,6 @@ button {
4664
4582
  box-shadow: var(--f7-button-box-shadow);
4665
4583
  }
4666
4584
  .button.active-state {
4667
- background-color: var(--f7-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
4668
4585
  color: var(--f7-button-pressed-text-color, var(--f7-button-text-color, var(--f7-theme-color)));
4669
4586
  }
4670
4587
  input[type='submit'].button,
@@ -4996,6 +4913,9 @@ input[type='reset'].button {
4996
4913
  .ios .button {
4997
4914
  transition-duration: 100ms;
4998
4915
  }
4916
+ .ios .button.active-state {
4917
+ background-color: var(--f7-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
4918
+ }
4999
4919
  .ios .button-fill,
5000
4920
  .ios .button-fill-ios {
5001
4921
  --f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, var(--f7-theme-color-tint));
@@ -5010,12 +4930,12 @@ input[type='reset'].button {
5010
4930
  }
5011
4931
  .md .button-fill,
5012
4932
  .md .button-fill-md {
5013
- --f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, var(--f7-theme-color-shade));
4933
+ --f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, transparent);
5014
4934
  }
5015
4935
  /* === Touch Ripple === */
5016
4936
  :root {
5017
4937
  --f7-touch-ripple-black: rgba(0, 0, 0, 0.1);
5018
- --f7-touch-ripple-white: rgba(255, 255, 255, 0.3);
4938
+ --f7-touch-ripple-white: rgba(255, 255, 255, 0.15);
5019
4939
  --f7-touch-ripple-color: var(--f7-touch-ripple-black);
5020
4940
  }
5021
4941
  .dark {
@@ -5050,13 +4970,33 @@ input[type='reset'].button {
5050
4970
  background-color: var(--f7-touch-ripple-color);
5051
4971
  animation: touch-ripple-in 200ms forwards;
5052
4972
  }
4973
+ .ripple-wave.ripple-wave-inset {
4974
+ background-image: none;
4975
+ background-color: var(--f7-touch-ripple-color);
4976
+ }
5053
4977
  .ripple-wave.ripple-wave-out {
5054
4978
  transform: var(--f7-ripple-transform);
5055
- animation: touch-ripple-out 300ms forwards;
5056
- }
5057
- .button-fill .ripple-wave,
5058
- .picker-calendar-day .ripple-wave {
5059
- z-index: 1;
4979
+ animation: touch-ripple-out 250ms forwards !important;
4980
+ }
4981
+ .item-link .ripple-wave,
4982
+ .list label.item-content .ripple-wave,
4983
+ .list-button .ripple-wave,
4984
+ .links-list a .ripple-wave,
4985
+ .button .ripple-wave,
4986
+ button .ripple-wave,
4987
+ .dialog-button .ripple-wave,
4988
+ .tab-link .ripple-wave,
4989
+ .item-radio .ripple-wave,
4990
+ .item-checkbox .ripple-wave,
4991
+ .actions-button .ripple-wave,
4992
+ .fab a .ripple-wave,
4993
+ .stepper-button .ripple-wave,
4994
+ .stepper-button-minus .ripple-wave,
4995
+ .stepper-button-plus .ripple-wave,
4996
+ .list.accordion-list .accordion-item-toggle .ripple-wave {
4997
+ animation: touch-ripple-in-blurred 250ms forwards;
4998
+ background-image: radial-gradient(closest-side circle at 50% 50%, var(--f7-touch-ripple-color) 50%, rgba(255, 255, 255, 0));
4999
+ background-color: transparent;
5060
5000
  }
5061
5001
  .checkbox .ripple-wave,
5062
5002
  .radio .ripple-wave,
@@ -5066,6 +5006,14 @@ input[type='reset'].button {
5066
5006
  [class*='ripple-color-'] {
5067
5007
  --f7-touch-ripple-color: var(--f7-theme-color-ripple-color);
5068
5008
  }
5009
+ @keyframes touch-ripple-in-blurred {
5010
+ from {
5011
+ transform: translate3d(0px, 0px, 0) scale(0.5);
5012
+ }
5013
+ to {
5014
+ transform: var(--f7-ripple-transform);
5015
+ }
5016
+ }
5069
5017
  @keyframes touch-ripple-in {
5070
5018
  from {
5071
5019
  transform: translate3d(0px, 0px, 0) scale(0);
package/framework7.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.8
2
+ * Framework7 8.0.0-beta.9
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 27, 2023
10
+ * Released on: March 31, 2023
11
11
  */
12
12
 
13
13
  import $ from './shared/dom7.js';
package/framework7.less CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.8
2
+ * Framework7 8.0.0-beta.9
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 27, 2023
10
+ * Released on: March 31, 2023
11
11
  */
12
12
 
13
13
  @import (reference) './less/mixins.less';