framework7 8.0.1 → 8.0.3
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/app/app.less +19 -1
- package/components/calendar/calendar-class.js +4 -4
- package/components/card/card.js +4 -4
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog-vars.less +1 -6
- package/components/dialog/dialog.css +1 -1
- package/components/fab/fab-rtl.css +1 -1
- package/components/fab/fab-vars.less +9 -10
- package/components/fab/fab.css +1 -1
- package/components/input/input-rtl.css +1 -1
- package/components/input/input-vars.less +1 -2
- package/components/input/input.css +1 -1
- package/components/input/input.less +0 -3
- package/components/messagebar/messagebar-rtl.css +1 -1
- package/components/messagebar/messagebar-vars.less +3 -0
- package/components/messagebar/messagebar.css +1 -1
- package/components/messagebar/messagebar.less +3 -0
- package/components/popup/popup-class.js +4 -3
- package/components/pull-to-refresh/pull-to-refresh-class.js +3 -1
- package/components/searchbar/searchbar-rtl.css +1 -1
- package/components/searchbar/searchbar-vars.less +1 -1
- package/components/searchbar/searchbar.css +1 -1
- package/components/sheet/sheet-class.js +2 -2
- package/components/text-editor/text-editor-rtl.css +1 -1
- package/components/text-editor/text-editor-vars.less +3 -2
- package/components/text-editor/text-editor.css +1 -1
- package/framework7-bundle-rtl.css +41 -25
- package/framework7-bundle-rtl.min.css +5 -5
- package/framework7-bundle.css +41 -25
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +101 -60
- 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 +21 -2
- package/framework7-rtl.min.css +3 -3
- package/framework7.css +21 -2
- package/framework7.esm.js +2 -2
- package/framework7.less +2 -2
- package/framework7.min.css +3 -3
- package/modules/router/swipe-back.js +4 -1
- package/modules/touch/touch.js +3 -0
- package/package.json +2 -2
- package/shared/material-color-utils.js +73 -41
- package/shared/utils.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 8.0.
|
|
2
|
+
* Framework7 8.0.3
|
|
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: April
|
|
10
|
+
* Released on: April 17, 2023
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
|
@@ -138,6 +138,9 @@
|
|
|
138
138
|
font-weight: 400;
|
|
139
139
|
font-style: normal;
|
|
140
140
|
}
|
|
141
|
+
html {
|
|
142
|
+
overscroll-behavior: none;
|
|
143
|
+
}
|
|
141
144
|
html {
|
|
142
145
|
direction: rtl;
|
|
143
146
|
}
|
|
@@ -155,6 +158,7 @@ body {
|
|
|
155
158
|
width: 100%;
|
|
156
159
|
background: #fff;
|
|
157
160
|
overflow: hidden;
|
|
161
|
+
overflow-y: scroll;
|
|
158
162
|
-webkit-text-size-adjust: 100%;
|
|
159
163
|
-webkit-font-smoothing: antialiased;
|
|
160
164
|
font-family: var(--f7-font-family);
|
|
@@ -162,6 +166,21 @@ body {
|
|
|
162
166
|
line-height: var(--f7-line-height);
|
|
163
167
|
color: var(--f7-text-color);
|
|
164
168
|
}
|
|
169
|
+
body::-webkit-scrollbar {
|
|
170
|
+
width: 0px;
|
|
171
|
+
background: transparent;
|
|
172
|
+
position: relative;
|
|
173
|
+
}
|
|
174
|
+
body::-webkit-scrollbar-track {
|
|
175
|
+
box-shadow: none;
|
|
176
|
+
background: transparent;
|
|
177
|
+
}
|
|
178
|
+
body::-webkit-scrollbar-thumb {
|
|
179
|
+
background-color: transparent;
|
|
180
|
+
outline: none;
|
|
181
|
+
border-radius: 9999px;
|
|
182
|
+
position: relative;
|
|
183
|
+
}
|
|
165
184
|
.dark body,
|
|
166
185
|
body.dark {
|
|
167
186
|
background: #000;
|
|
@@ -5282,11 +5301,6 @@ i.icon {
|
|
|
5282
5301
|
--f7-dialog-input-border-width: 0px;
|
|
5283
5302
|
--f7-dialog-preloader-size: 32px;
|
|
5284
5303
|
--f7-dialog-input-bg-color: transparent;
|
|
5285
|
-
--f7-dialog-input-placeholder-color: rgba(0, 0, 0, 0.35);
|
|
5286
|
-
}
|
|
5287
|
-
.md .dark,
|
|
5288
|
-
.md.dark {
|
|
5289
|
-
--f7-dialog-input-placeholder-color: rgba(255, 255, 255, 0.54);
|
|
5290
5304
|
}
|
|
5291
5305
|
.md,
|
|
5292
5306
|
.md .dark,
|
|
@@ -5296,6 +5310,7 @@ i.icon {
|
|
|
5296
5310
|
--f7-dialog-button-strong-text-color: var(--f7-md-on-primary);
|
|
5297
5311
|
--f7-dialog-button-strong-pressed-bg-color: transparent;
|
|
5298
5312
|
--f7-dialog-bg-color: var(--f7-md-surface-3);
|
|
5313
|
+
--f7-dialog-input-placeholder-color: var(--f7-md-on-surface-variant);
|
|
5299
5314
|
--f7-dialog-text-color: var(--f7-md-on-surface-variant);
|
|
5300
5315
|
--f7-dialog-title-text-color: var(--f7-md-on-surface);
|
|
5301
5316
|
}
|
|
@@ -10205,17 +10220,16 @@ html.with-modal-sheet-push-closing .framework7-root > .panel-in.panel-push.panel
|
|
|
10205
10220
|
*/
|
|
10206
10221
|
--f7-floating-label-scale: calc(16 / 12);
|
|
10207
10222
|
--f7-input-clear-button-size: 24px;
|
|
10208
|
-
--f7-input-placeholder-color: rgba(0, 0, 0, 0.35);
|
|
10209
10223
|
--f7-input-info-text-color: rgba(0, 0, 0, 0.45);
|
|
10210
10224
|
}
|
|
10211
10225
|
.md .dark,
|
|
10212
10226
|
.md.dark {
|
|
10213
|
-
--f7-input-placeholder-color: rgba(255, 255, 255, 0.35);
|
|
10214
10227
|
--f7-input-info-text-color: rgba(255, 255, 255, 0.45);
|
|
10215
10228
|
}
|
|
10216
10229
|
.md,
|
|
10217
10230
|
.md .dark,
|
|
10218
10231
|
.md [class*='color-'] {
|
|
10232
|
+
--f7-input-placeholder-color: var(--f7-md-on-surface-variant);
|
|
10219
10233
|
--f7-input-item-bg-color: var(--f7-md-surface-variant);
|
|
10220
10234
|
--f7-input-border-color: var(--f7-md-outline);
|
|
10221
10235
|
--f7-input-clear-button-color: var(--f7-md-on-surface-variant);
|
|
@@ -10365,9 +10379,6 @@ textarea:-webkit-autofill-and-obscured {
|
|
|
10365
10379
|
.list textarea.resizable {
|
|
10366
10380
|
height: calc(var(--f7-input-height) + var(--f7-textarea-padding-vertical) * 2);
|
|
10367
10381
|
}
|
|
10368
|
-
.list input[type='datetime-local'] {
|
|
10369
|
-
max-width: 50vw;
|
|
10370
|
-
}
|
|
10371
10382
|
.list input[type='time'],
|
|
10372
10383
|
.list input[type='date'],
|
|
10373
10384
|
.list input[type='month'],
|
|
@@ -14407,20 +14418,20 @@ table.data-table {
|
|
|
14407
14418
|
:root {
|
|
14408
14419
|
--f7-fab-margin: 16px;
|
|
14409
14420
|
--f7-fab-extended-text-font-size: 14px;
|
|
14410
|
-
--f7-fab-extended-text-padding: 0 20px;
|
|
14411
14421
|
--f7-fab-label-padding: 4px 12px;
|
|
14412
14422
|
--f7-fab-label-font-size: inherit;
|
|
14413
14423
|
--f7-fab-button-size: 40px;
|
|
14414
|
-
/* --f7-fab-bg-color: var(--f7-theme-color)); */
|
|
14415
14424
|
}
|
|
14416
14425
|
.ios {
|
|
14417
14426
|
/* --f7-fab-pressed-bg-color: var(--f7-theme-color-shade); */
|
|
14427
|
+
/* --f7-fab-bg-color: var(--f7-theme-color)); */
|
|
14418
14428
|
--f7-fab-text-color: #fff;
|
|
14419
14429
|
--f7-fab-border-radius: 50px;
|
|
14420
14430
|
--f7-fab-size: 50px;
|
|
14421
14431
|
--f7-fab-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
|
|
14422
14432
|
--f7-fab-extended-text-transform: uppercase;
|
|
14423
14433
|
--f7-fab-extended-size: 50px;
|
|
14434
|
+
--f7-fab-extended-text-padding: 0 20px;
|
|
14424
14435
|
--f7-fab-extended-text-font-weight: 600;
|
|
14425
14436
|
--f7-fab-extended-text-letter-spacing: 0;
|
|
14426
14437
|
--f7-fab-label-border-radius: 4px;
|
|
@@ -14434,22 +14445,20 @@ table.data-table {
|
|
|
14434
14445
|
*/
|
|
14435
14446
|
--f7-fab-border-radius: 16px;
|
|
14436
14447
|
--f7-fab-size: 56px;
|
|
14437
|
-
--f7-fab-box-shadow: 0px
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
--f7-fab-extended-size: 48px;
|
|
14448
|
+
--f7-fab-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
|
|
14449
|
+
--f7-fab-extended-size: 56px;
|
|
14450
|
+
--f7-fab-extended-text-padding: 0 16px;
|
|
14441
14451
|
--f7-fab-extended-text-font-weight: 500;
|
|
14442
14452
|
--f7-fab-extended-text-letter-spacing: 0;
|
|
14443
14453
|
--f7-fab-extended-text-transform: none;
|
|
14444
14454
|
--f7-fab-label-border-radius: 8px;
|
|
14445
|
-
--f7-fab-label-box-shadow: 0px
|
|
14446
|
-
0px 3px 4px 0px rgba(0, 0, 0, 0.14),
|
|
14447
|
-
0px 1px 8px 0px rgba(0, 0, 0, 0.12);
|
|
14455
|
+
--f7-fab-label-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
|
|
14448
14456
|
}
|
|
14449
14457
|
.md,
|
|
14450
14458
|
.md .dark,
|
|
14451
14459
|
.md [class*='color-'] {
|
|
14452
|
-
--f7-fab-
|
|
14460
|
+
--f7-fab-bg-color: var(--f7-md-primary-container);
|
|
14461
|
+
--f7-fab-text-color: var(--f7-md-on-primary-container);
|
|
14453
14462
|
--f7-fab-label-text-color: var(--f7-md-on-surface);
|
|
14454
14463
|
--f7-fab-label-bg-color: var(--f7-md-surface-5);
|
|
14455
14464
|
}
|
|
@@ -14969,10 +14978,10 @@ table.data-table {
|
|
|
14969
14978
|
}
|
|
14970
14979
|
.ios .dark,
|
|
14971
14980
|
.ios.dark {
|
|
14981
|
+
--f7-searchbar-placeholder-color: rgba(255, 255, 255, 0.4);
|
|
14972
14982
|
--f7-searchbar-input-text-color: #fff;
|
|
14973
14983
|
--f7-searchbar-search-icon-color: rgba(255, 255, 255, 0.4);
|
|
14974
14984
|
--f7-searchbar-input-bg-color: #2a2a2a;
|
|
14975
|
-
--f7-searchbar-placeholder-color: rgba(255, 255, 255, 0.4);
|
|
14976
14985
|
}
|
|
14977
14986
|
.md {
|
|
14978
14987
|
--f7-searchbar-border-color: transparent;
|
|
@@ -16054,6 +16063,7 @@ table.data-table {
|
|
|
16054
16063
|
--f7-messagebar-attachment-border-radius: 12px;
|
|
16055
16064
|
--f7-messagebar-attachment-height: 155px;
|
|
16056
16065
|
--f7-messagebar-attachment-landscape-height: 120px;
|
|
16066
|
+
--f7-messagebar-textarea-placeholder-color: rgba(0, 0, 0, 0.4);
|
|
16057
16067
|
--f7-messagebar-textarea-text-color: #000;
|
|
16058
16068
|
--f7-messagebar-textarea-border: 1px solid #c8c8cd;
|
|
16059
16069
|
--f7-messagebar-attachments-border-color: #c8c8cd;
|
|
@@ -16062,6 +16072,7 @@ table.data-table {
|
|
|
16062
16072
|
}
|
|
16063
16073
|
.ios .dark,
|
|
16064
16074
|
.ios.dark {
|
|
16075
|
+
--f7-messagebar-textarea-placeholder-color: rgba(255, 255, 255, 0.4);
|
|
16065
16076
|
--f7-messagebar-textarea-text-color: #fff;
|
|
16066
16077
|
--f7-messagebar-textarea-border: 1px solid var(--f7-bars-border-color);
|
|
16067
16078
|
--f7-messagebar-attachments-border-color: var(--f7-bars-border-color);
|
|
@@ -16086,6 +16097,7 @@ table.data-table {
|
|
|
16086
16097
|
.md,
|
|
16087
16098
|
.md .dark,
|
|
16088
16099
|
.md [class*='color-'] {
|
|
16100
|
+
--f7-messagebar-textarea-placeholder-color: var(--f7-md-on-surface-variant);
|
|
16089
16101
|
--f7-messagebar-textarea-bg-color: var(--f7-md-surface-variant);
|
|
16090
16102
|
--f7-messagebar-bg-color: var(--f7-md-surface);
|
|
16091
16103
|
--f7-messagebar-textarea-text-color: var(--f7-md-on-surface);
|
|
@@ -16160,6 +16172,9 @@ table.data-table {
|
|
|
16160
16172
|
line-height: var(--f7-messagebar-textarea-line-height);
|
|
16161
16173
|
border: var(--f7-messagebar-textarea-border);
|
|
16162
16174
|
}
|
|
16175
|
+
.messagebar textarea::placeholder {
|
|
16176
|
+
color: var(--f7-messagebar-textarea-placeholder-color);
|
|
16177
|
+
}
|
|
16163
16178
|
.messagebar a.link {
|
|
16164
16179
|
align-self: flex-end;
|
|
16165
16180
|
flex-shrink: 0;
|
|
@@ -18795,18 +18810,17 @@ a.treeview-item-root.active-state {
|
|
|
18795
18810
|
--f7-text-editor-text-color: #000;
|
|
18796
18811
|
--f7-text-editor-bg-color: #fff;
|
|
18797
18812
|
--f7-text-editor-button-divider-color: rgba(0, 0, 0, 0.15);
|
|
18798
|
-
--f7-text-editor-placeholder-color: rgba(0, 0, 0, 0.35);
|
|
18799
18813
|
}
|
|
18800
18814
|
:root .dark,
|
|
18801
18815
|
:root.dark {
|
|
18802
18816
|
--f7-text-editor-bg-color: #121212;
|
|
18803
18817
|
--f7-text-editor-text-color: #fff;
|
|
18804
|
-
--f7-text-editor-placeholder-color: rgba(255, 255, 255, 0.35);
|
|
18805
18818
|
--f7-text-editor-button-divider-color: rgba(255, 255, 255, 0.15);
|
|
18806
18819
|
}
|
|
18807
18820
|
.ios {
|
|
18808
18821
|
--f7-text-editor-toolbar-padding: 6px;
|
|
18809
18822
|
--f7-text-editor-button-border-radius: 2px;
|
|
18823
|
+
--f7-text-editor-placeholder-color: rgba(0, 0, 0, 0.35);
|
|
18810
18824
|
--f7-text-editor-toolbar-border-color: rgba(0, 0, 0, 0.25);
|
|
18811
18825
|
--f7-text-editor-toolbar-bg-color: #fff;
|
|
18812
18826
|
--f7-text-editor-border-color: rgba(0, 0, 0, 0.1);
|
|
@@ -18814,6 +18828,7 @@ a.treeview-item-root.active-state {
|
|
|
18814
18828
|
}
|
|
18815
18829
|
.ios .dark,
|
|
18816
18830
|
.ios.dark {
|
|
18831
|
+
--f7-text-editor-placeholder-color: rgba(255, 255, 255, 0.35);
|
|
18817
18832
|
--f7-text-editor-toolbar-bg-color: #121212;
|
|
18818
18833
|
--f7-text-editor-toolbar-border-color: rgba(255, 255, 255, 0.1);
|
|
18819
18834
|
--f7-text-editor-toolbar-bg-color: #202020;
|
|
@@ -18827,6 +18842,7 @@ a.treeview-item-root.active-state {
|
|
|
18827
18842
|
.md,
|
|
18828
18843
|
.md .dark,
|
|
18829
18844
|
.md [class*='color-'] {
|
|
18845
|
+
--f7-text-editor-placeholder-color: var(--f7-md-on-surface-variant);
|
|
18830
18846
|
--f7-text-editor-toolbar-bg-color: var(--f7-md-surface-1);
|
|
18831
18847
|
--f7-text-editor-border-color: var(--f7-md-outline);
|
|
18832
18848
|
--f7-text-editor-button-text-color: var(--f7-md-on-surface);
|