Skip to content

Commit f2e6441

Browse files
committed
Bump 3.2.0
1 parent e563429 commit f2e6441

File tree

16 files changed

+128
-79
lines changed

16 files changed

+128
-79
lines changed

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,43 @@
22

33
## Installation
44

5-
You need to install [Cordova](http://cordova.apache.org) before. Then clone the repository:
5+
You need to install [Cordova](http://cordova.apache.org) before:
66

77
```sh
8-
$ git clone https://github.com/design-first/system-designer-cordova.git
8+
npm i -g cordova
9+
```
10+
11+
Then clone the repository:
12+
13+
```sh
14+
git clone https://github.com/design-first/system-designer-cordova.git
915
```
1016

1117
## Build for iOS
1218

19+
Add iOS platform:
20+
21+
```sh
22+
cordova platform add ios
23+
```
24+
25+
Build System Designer for iOS:
26+
1327
```sh
14-
# Add iOS platform
15-
$ cordova platform add ios
16-
# Build System Designer for iOS
1728
$ cordova build ios
1829
```
1930

2031
## Build for Android
2132

33+
Add Android platform:
34+
35+
```sh
36+
cordova platform add android
37+
```
38+
39+
Build System Designer for Android:
40+
2241
```sh
23-
# Add Android platform
24-
$ cordova platform add android
25-
# Build System Designer for Android
2642
$ cordova build android
2743
```
2844

config.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<plugin name="cordova-plugin-wkwebview-engine" spec="^1.1.4" />
4040
<plugin name="cordova-plugin-statusbar" spec="^2.4.1" />
4141
<plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
42-
<engine name="android" spec="^7.1.1" />
43-
<engine name="ios" spec="^4.5.5" />
44-
<engine name="browser" spec="^5.0.4" />
42+
<engine name="ios" spec="4.5.5" />
43+
<engine name="browser" spec="5.0.4" />
44+
<engine name="android" spec="^7.1.2" />
4545
</widget>

merges/android/scripts/mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* limitations under the License.
1919
*/
2020

21-
/** back **/
21+
/** back **/
2222
function systemDesignerBack() {
2323
var mess = typeof messages !== 'undefined' ? messages : runtime.require('state').messages(),
2424
ref = typeof lastPage !== 'undefined' ? lastPage : runtime.require('state').lastPage();

merges/android/styles/mobile.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ body {
9191
position: absolute;
9292
right: -20px;
9393
}
94-
}
94+
}
9595

9696
/* Phablet */
9797
@media only screen
98-
and (max-width : 1000px)
99-
and (orientation : landscape) {
100-
#designer-toolbar-item-extension {
101-
display: none;
102-
}
103-
#designer-toolbar-item-command {
104-
display: none;
105-
}
106-
}
98+
and (max-width : 1000px)
99+
and (orientation : landscape) {
100+
#designer-toolbar-item-extension {
101+
display: none;
102+
}
103+
#designer-toolbar-item-command {
104+
display: none;
105+
}
106+
}

merges/ios/styles/mobile.css

Lines changed: 61 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* limitations under the License.
1919
*/
2020

21-
.designer-system-menu-export {
21+
.designer-system-menu-export {
2222
display: none!important;
2323
}
2424
#designer-dialog-config-client-type-debugging {
@@ -86,7 +86,7 @@ span.glyphicon.glyphicon-menu-left {
8686
position: absolute;
8787
right: -20px;
8888
}
89-
}
89+
}
9090

9191
/* iPhone 6 / 7 / 8 */
9292
@media only screen
@@ -108,38 +108,70 @@ span.glyphicon.glyphicon-menu-left {
108108
position: absolute;
109109
right: -20px;
110110
}
111-
}
111+
}
112112

113113
/* iPhone 6+ / 7+ / 8+ */
114114
@media only screen
115-
and (max-width : 736px)
116-
and (orientation : landscape) {
117-
.list-group.designer-library {
118-
max-height:150px;
119-
}
120-
#designer-toolbar-item-search {
121-
display: none;
122-
}
123-
#designer-toolbar-item-command {
124-
display: none;
125-
}
126-
#designer-toolbar-item-extension {
127-
display: none;
115+
and (max-width : 736px)
116+
and (orientation : landscape) {
117+
.list-group.designer-library {
118+
max-height:150px;
119+
}
120+
#designer-toolbar-item-search {
121+
display: none;
122+
}
123+
#designer-toolbar-item-command {
124+
display: none;
125+
}
126+
#designer-toolbar-item-extension {
127+
display: none;
128+
}
128129
}
129-
}
130130

131-
/* iPhone X */
131+
/* iPhone X, iPhone XS */
132132
@media only screen
133-
and (device-width : 375px)
134-
and (device-height : 812px)
135-
and (-webkit-device-pixel-ratio : 3)
136-
and (orientation : landscape) {
137-
body,
138-
.navbar-fixed-top,
139-
.navbar-fixed-bottom {
140-
width: 812px!important;
133+
and (device-width : 375px)
134+
and (device-height : 812px)
135+
and (-webkit-device-pixel-ratio : 3)
136+
and (orientation : landscape) {
137+
body,
138+
.navbar-fixed-top,
139+
.navbar-fixed-bottom {
140+
width: 812px!important;
141+
}
142+
#designer-toolbar-item-command {
143+
display: none;
144+
}
141145
}
142-
#designer-toolbar-item-command {
143-
display: none;
146+
147+
/* iPhone XR */
148+
@media only screen
149+
and (device-width : 414px)
150+
and (device-height : 896px)
151+
and (-webkit-device-pixel-ratio : 2)
152+
and (orientation : landscape) {
153+
body,
154+
.navbar-fixed-top,
155+
.navbar-fixed-bottom {
156+
width: 896px!important;
157+
}
158+
#designer-toolbar-item-command {
159+
display: none;
160+
}
144161
}
145-
}
162+
163+
/* iPhone XS Max */
164+
@media only screen
165+
and (device-width : 414px)
166+
and (device-height : 896px)
167+
and (-webkit-device-pixel-ratio : 3)
168+
and (orientation : landscape) {
169+
body,
170+
.navbar-fixed-top,
171+
.navbar-fixed-bottom {
172+
width: 896px!important;
173+
}
174+
#designer-toolbar-item-command {
175+
display: none;
176+
}
177+
}

package-lock.json

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

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "com.ecarriou.systemdesignerios",
3-
"version": "3.1.2",
3+
"version": "3.2.0",
44
"displayName": "System Designer",
55
"cordova": {
66
"platforms": [
7-
"android",
87
"ios",
9-
"browser"
8+
"browser",
9+
"android"
1010
],
1111
"plugins": {
1212
"cordova-plugin-whitelist": {},
@@ -16,12 +16,12 @@
1616
}
1717
},
1818
"dependencies": {
19-
"cordova-android": "^7.1.1",
20-
"cordova-browser": "^5.0.4",
21-
"cordova-ios": "^4.5.5",
22-
"cordova-plugin-inappbrowser": "^3.0.0",
23-
"cordova-plugin-statusbar": "^2.4.1",
24-
"cordova-plugin-whitelist": "^1.3.3",
25-
"cordova-plugin-wkwebview-engine": "^1.1.4"
19+
"cordova-android": "7.1.2",
20+
"cordova-browser": "5.0.4",
21+
"cordova-ios": "4.5.5",
22+
"cordova-plugin-inappbrowser": "3.0.0",
23+
"cordova-plugin-statusbar": "2.4.1",
24+
"cordova-plugin-whitelist": "1.3.3",
25+
"cordova-plugin-wkwebview-engine": "1.1.4"
2626
}
2727
}

www/lib/designer/vendor.js

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

www/lib/editor/vendor.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.

www/scripts/editor-behavior.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.

0 commit comments

Comments
 (0)