Skip to content

Commit 43b1828

Browse files
committed
3.0.1 Release
1 parent bee34c3 commit 43b1828

7 files changed

+29
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
# [v3.0.0](https://github.com/framework7io/framework7/compare/v3.0.0...v3.0.1) - October 16, 2019
4+
* Added support for bottom safe area
5+
36
# [v3.0.0](https://github.com/framework7io/framework7/compare/v2.0.0...v3.0.0) - October 16, 2019
47
* Reworked click events to be fully compatible with Framework7 v5 making clicks more responsive without FastClicks
58
* Added `backdrop` parameter to have more control over modal backdrop

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,12 @@ The following CSS custom properties available to customize it:
453453

454454
```css
455455
:root {
456+
--f7-keypad-height: 260px;
457+
--f7-keypad-landscape-height: 200px;
458+
--f7-keypad-inline-height: 200px;
459+
--f7-keypad-inline-calc-height: 260px;
460+
--f7-keypad-popover-width: 300px;
461+
456462
--f7-keypad-button-bg-color: #fcfcfd;
457463
--f7-keypad-button-text-color: #000;
458464
--f7-keypad-button-border-color: rgba(0,0,0,0.1);

dist/framework7-keypad.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Framework7 Plugin Keypad 3.0.0
2+
* Framework7 Plugin Keypad 3.0.1
33
* Keypad plugin extends Framework7 with additional custom keyboards
44
* http://framework7.io/plugins/
55
*
@@ -10,6 +10,11 @@
1010
* Released on: October 16, 2019
1111
*/
1212
:root {
13+
--f7-keypad-height: 260px;
14+
--f7-keypad-landscape-height: 200px;
15+
--f7-keypad-inline-height: 200px;
16+
--f7-keypad-inline-calc-height: 260px;
17+
--f7-keypad-popover-width: 300px;
1318
--f7-keypad-button-bg-color: #fcfcfd;
1419
--f7-keypad-button-text-color: #000;
1520
--f7-keypad-button-border-color: rgba(0, 0, 0, 0.1);
@@ -25,10 +30,10 @@
2530
--f7-keypad-calc-button-active-border-width: 1px;
2631
}
2732
.keypad-popover {
28-
width: 300px;
33+
width: var(--f7-keypad-popover-width);
2934
}
3035
.keypad-popover .keypad {
31-
height: 260px;
36+
height: var(--f7-keypad-height);
3237
}
3338
.ios .keypad-popover .toolbar {
3439
background: none;
@@ -40,16 +45,20 @@
4045
.keypad-popover .toolbar ~ .keypad-buttons {
4146
border-radius: 0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius);
4247
}
48+
.keypad-sheet {
49+
padding-bottom: var(--f7-safe-area-bottom);
50+
height: calc(var(--f7-safe-area-bottom) + var(--f7-keypad-height));
51+
}
4352
@media (orientation: landscape) and (max-height: 415px) {
4453
.keypad-sheet {
45-
height: 200px;
54+
height: var(--f7-keypad-landscape-height);
4655
}
4756
}
4857
.keypad-inline {
49-
height: 200px;
58+
height: var(--f7-keypad-inline-height);
5059
}
5160
.keypad-inline.keypad-type-calculator {
52-
height: 260px;
61+
height: var(--f7-keypad-inline-calc-height);
5362
}
5463
.keypad-inline .keypad-buttons,
5564
.keypad-popover .keypad .keypad-buttons {

dist/framework7-keypad.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Framework7 Plugin Keypad 3.0.0
2+
* Framework7 Plugin Keypad 3.0.1
33
* Keypad plugin extends Framework7 with additional custom keyboards
44
* http://framework7.io/plugins/
55
*

dist/framework7-keypad.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/framework7-keypad.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framework7-plugin-keypad",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Keypad plugin extends Framework7 with additional custom keyboards",
55
"main": "dist/framework7-keypad.js",
66
"jsnext:main": "dist/framework7-keypad.esm.js",

0 commit comments

Comments
 (0)