Skip to content

Commit aadbcc7

Browse files
authored
Merge pull request #67 from mendix/develop
Merge Develop into Release
2 parents 41c32b3 + d2e4378 commit aadbcc7

File tree

15 files changed

+84
-43
lines changed

15 files changed

+84
-43
lines changed

favicon.ico

-4.19 KB
Binary file not shown.

index-phone-preview.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<title>Mendix - Phone preview</title>
66

77
{{themecss}}
8+
{{appicons}}
89

910
</head>
1011

index-rtl.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<meta name="apple-mobile-web-app-capable" content="yes">
99

1010
{{themecss}}
11+
{{appicons}}
1112

1213
</head>
1314
<body dir="rtl">

index-tablet-preview.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<title>Mendix - Tablet preview</title>
66

77
{{themecss}}
8+
{{appicons}}
89

910
</head>
1011

index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
<meta name="apple-mobile-web-app-capable" content="yes">
99

1010
{{themecss}}
11-
12-
<!-- ICONS EXAMPLE -->
13-
14-
<!-- iPhone retina icon (iOS < 7) -->
15-
<!-- <link href="resources/ios/icons/apple-touch-icon-precomposed-114x114.png" sizes="114x114" rel="apple-touch-icon-precomposed"> -->
11+
{{appicons}}
1612

1713
<!-- STARTUP IMAGES -->
1814
<!-- <link href="resources/ios/startup/apple-touch-startup-image-1496x2048.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image"> -->
@@ -29,7 +25,7 @@
2925
</script>
3026
<script>
3127
if (!document.cookie || !document.cookie.match(/(^|;)originURI=/gi))
32-
document.cookie = "originURI=/login.html";
28+
document.cookie = "originURI=/login.html" + (window.location.protocol === "https:" ? ";SameSite=None;Secure" : "");
3329
</script>
3430
<script src="mxclientsystem/mxui/mxui.js?{{cachebust}}"></script>
3531
</body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "atlas-ui-framework",
3-
"version": "2.5.7",
3+
"version": "2.6.0",
44
"description": "Mendix Atlas UI is the foundation of making beautiful apps with Mendix. For more information about the framework go to https://atlas.mendix.com.",
55
"main": "",
66
"scripts": {

scripts/lib/writeFile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ const fs = require("fs");
33
module.exports.writeVersionFiles = (files, paths) => {
44
fs.writeFileSync(paths.pkg, JSON.stringify(files.pkg, null, 4));
55
fs.writeFileSync(paths.manifest.js, JSON.stringify(files.manifest.js, null, 4));
6+
fs.writeFileSync(paths.manifest.ts, JSON.stringify(files.manifest.ts, null, 4));
67
fs.writeFileSync(paths.manifest.sass, JSON.stringify(files.manifest.sass, null, 4));
78
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "Atlas-UI-Framework",
3-
"version": "2.5.7"
4-
}
3+
"version": "2.6.0"
4+
}

styles/native/js/core/widgets/bottomsheet.js

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { background, border } from "../variables";
1+
import { background, border, brand, contrast, font } from "../variables";
22
//
33
// DISCLAIMER:
44
// Do not change this file because it is core styling.
@@ -31,28 +31,37 @@ export const com_mendix_widget_native_bottomsheet_BottomSheet = {
3131
backgroundColor: background.primary,
3232
},
3333
modal: {
34-
// All ViewStyle properties are allowed
34+
// All ViewStyle properties are allowed
35+
margin: 0,
36+
justifyContent: "flex-end",
3537
},
3638
modalItems: {
39+
container: {
40+
// rippleColor & All TextStyle properties are allowed
41+
height: 50,
42+
marginTop: 0,
43+
rippleColor: contrast.lower,
44+
backgroundColor: background.primary,
45+
},
3746
defaultStyle: {
3847
// All TextStyle properties are allowed
3948
fontSize: 16,
40-
color: "black",
49+
color: font.color,
4150
},
4251
primaryStyle: {
4352
// All TextStyle properties are allowed
4453
fontSize: 16,
45-
color: "#0595DB",
54+
color: brand.primary,
4655
},
4756
dangerStyle: {
4857
// All TextStyle properties are allowed
4958
fontSize: 16,
50-
color: "#ed1c24",
59+
color: brand.danger,
5160
},
5261
customStyle: {
5362
// All TextStyle properties are allowed
5463
fontSize: 16,
55-
color: "#76CA02",
64+
color: font.color,
5665
},
5766
},
5867
};

styles/native/js/core/widgets/popupmenu.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,28 @@ export const com_mendix_widget_native_popupmenu_PopupMenu = {
1616
// All ViewStyle properties are allowed
1717
borderRadius: 10,
1818
shadowColor: "#000",
19-
overflow: "hidden",
2019
shadowOpacity: 0.2,
2120
shadowRadius: 10,
2221
elevation: 16,
2322
backgroundColor: background.primary,
2423
},
25-
itemRippleColor: contrast.lower,
24+
custom: {
25+
container: {
26+
// All ViewStyle properties are allowed
27+
},
28+
itemStyle: {
29+
rippleColor: contrast.lower,
30+
},
31+
},
2632
basic: {
2733
dividerColor: font.color,
34+
container: {
35+
// All ViewStyle properties are allowed
36+
height: 40,
37+
},
2838
itemStyle: {
2939
ellipsizeMode: "tail",
40+
rippleColor: contrast.lower,
3041
defaultStyle: {
3142
// All TextStyle properties are allowed
3243
color: font.color,
@@ -43,9 +54,5 @@ export const com_mendix_widget_native_popupmenu_PopupMenu = {
4354
// All TextStyle properties are allowed
4455
},
4556
},
46-
containerStyle: {
47-
// All ViewStyle properties are allowed
48-
height: 40,
49-
},
5057
},
5158
};

0 commit comments

Comments
 (0)