Skip to content

Commit

Permalink
Merging 3.2.6 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dioslaska committed Nov 6, 2017
1 parent cc24c95 commit daf0d65
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll",
"version": "3.2.5",
"version": "3.2.6",
"description": "Cross platform UI controls for progressive web an hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-angular",
"version": "3.2.5",
"version": "3.2.6",
"description": "Angular UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angularjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-angularjs",
"version": "3.2.5",
"version": "3.2.6",
"description": "AngularJS UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-javascript",
"version": "3.2.5",
"version": "3.2.6",
"description": "Framework agnostic UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jquery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-jquery",
"version": "3.2.5",
"version": "3.2.6",
"description": "jQuery and jQuery Mobile UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/knockout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-knockout",
"version": "3.2.5",
"version": "3.2.6",
"description": "Knockout UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobiscroll-react",
"version": "3.2.5",
"version": "3.2.6",
"description": "React UI library for progressive web and hybrid apps",
"homepage": "https://mobiscroll.com/",
"license": "Apache-2.0",
Expand Down
7 changes: 4 additions & 3 deletions src/js/core/core.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Mobiscroll v3.2.5
* Mobiscroll v3.2.6
* http://mobiscroll.com
*
* Copyright 2010-2016, Acid Media
Expand All @@ -10,7 +10,7 @@
import mobiscroll from './mobiscroll';
import { os, majorVersion, minorVersion, isBrowser } from '../util/platform';
import { noop, vibrate } from '../util/misc';
import { preventClick, tap } from '../util/tap';
import { getCoord, preventClick, tap } from '../util/tap';

export default mobiscroll;

Expand All @@ -22,8 +22,9 @@ var ms,

ms = extend(mobiscroll, {
$: $,
version: '3.2.5',
version: '3.2.6',
util: {
getCoord: getCoord,
preventClick: preventClick,
vibrate: vibrate
},
Expand Down
1 change: 0 additions & 1 deletion src/js/i18n/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mobiscroll.i18n.ar = {
cancelText: 'إلغاء',
clearText: 'مسح',
selectedText: '{count} المحدد',
selectedPluralText: '{count} المحدد',
// Datetime component
dateFormat: 'dd/mm/yy',
dayNames: [ 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت' ],
Expand Down
2 changes: 1 addition & 1 deletion src/js/util/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function showPrompt(widget, settings, resolve) {
inst._resolve = input.value;
}
}));
inst._resolve = '';
inst._resolve = null;
showPopup(inst);
}

Expand Down
13 changes: 6 additions & 7 deletions src/less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
margin: 2em 1.5em;
}

.mbsc-form-group,
.mbsc-form-group-inset {
padding-top: 0 !important;
padding-bottom: 0 !important;
}


/* No background inside widget */

Expand All @@ -44,13 +50,6 @@
display: block;
}


/* RTL mode */

.mbsc-rtl {
direction: rtl;
}

.mbsc-err-msg {
display: block;
font-size: .75em;
Expand Down
13 changes: 13 additions & 0 deletions src/less/frame.less
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,19 @@
max-width: 100%;
}

.mbsc-fr-top .mbsc-fr-w,
.mbsc-fr-bottom .mbsc-fr-w {
padding-left: constant(safe-area-inset-left);
padding-left: env(safe-area-inset-left);
padding-right: constant(safe-area-inset-right);
padding-right: env(safe-area-inset-right);
}

.mbsc-fr-bottom .mbsc-fr-w {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}


/* Inline mode */

Expand Down
6 changes: 6 additions & 0 deletions src/less/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-text-size-adjust: 100%;
padding-left: constant(safe-area-inset-left);
padding-left: env(safe-area-inset-left);
padding-right: constant(safe-area-inset-right);
padding-right: env(safe-area-inset-right);
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}

.mbsc-page,
Expand Down
8 changes: 4 additions & 4 deletions src/less/themes/ios.forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
color: #7f8797;
}

.mbsc-ios .mbsc-padding {
padding: 1em;
}

.mbsc-ios .mbsc-desc {
opacity: .5;
}
Expand Down Expand Up @@ -68,6 +64,7 @@
}

.mbsc-ios .mbsc-form-group-inset .mbsc-form-group-title,
.mbsc-ios .mbsc-form-group-inset .mbsc-form-group-title + .mbsc-control-w:before,
.mbsc-ios .mbsc-form-group-inset .mbsc-control-w:first-child:before,
.mbsc-ios .mbsc-form-group-inset .mbsc-control-w:last-child:after {
border-width: 0;
Expand Down Expand Up @@ -277,6 +274,7 @@
bottom: 0;
}

.mbsc-ios .mbsc-form-group-title + .mbsc-control-w:before,
.mbsc-ios .mbsc-control-w:first-child:before,
.mbsc-ios .mbsc-control-w:last-child:after {
left: 0;
Expand All @@ -287,6 +285,7 @@
left: 1em;
}

.mbsc-ios .mbsc-form-group-title + .mbsc-control-ng .mbsc-control-w:before,
.mbsc-ios .mbsc-control-ng:first-child .mbsc-control-w:before,
.mbsc-ios .mbsc-control-ng:last-child .mbsc-control-w:after {
left: 0;
Expand Down Expand Up @@ -316,6 +315,7 @@
border-width: 1px;
}

.mbsc-ios.mbsc-form .mbsc-form-group-inset .mbsc-form-group-title + .mbsc-control-ng .mbsc-control-w:before,
.mbsc-ios.mbsc-form .mbsc-form-group-inset .mbsc-control-ng:first-child .mbsc-control-w:before,
.mbsc-ios.mbsc-form .mbsc-form-group-inset .mbsc-control-ng:last-child .mbsc-control-w:after {
border-width: 0;
Expand Down
7 changes: 6 additions & 1 deletion src/less/themes/ios.frame.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
.mbsc-ios.mbsc-fr-top .mbsc-fr-btn-cont,
.mbsc-ios.mbsc-fr-bottom .mbsc-fr-btn-cont {
background: #efefef;
padding-left: constant(safe-area-inset-left);
padding-left: env(safe-area-inset-left);
padding-right: constant(safe-area-inset-right);
padding-right: env(safe-area-inset-right);
}

.mbsc-ios .mbsc-fr-overlay {
Expand Down Expand Up @@ -57,7 +61,8 @@
position: absolute;
top: 0;
left: 0;
width: 100%;
right: 0;
display: block;
border-bottom: 1px solid #ccc;
}

Expand Down

0 comments on commit daf0d65

Please sign in to comment.