Skip to content

Commit 428e26d

Browse files
authored
Merge pull request #84 from mendix/develop
Merge develop into release
2 parents 747a8c5 + 9cb3d25 commit 428e26d

File tree

18 files changed

+127
-17
lines changed

18 files changed

+127
-17
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
.github/
1919

2020
# Zips
21-
**/*.zip
21+
**/*.zip
22+
23+
# Modules
24+
node_modules

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
</head>
1717
<body dir="ltr">
18+
<noscript>To use this application, please enable JavaScript.</noscript>
1819
<div id="content"></div>
1920
<script>
2021
dojoConfig = {

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "atlas-ui-framework",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
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": {
@@ -18,6 +18,9 @@
1818
"url": "https://github.com/mendix/Atlas-UI-Framework/issues"
1919
},
2020
"homepage": "https://github.com/mendix/Atlas-UI-Framework#readme",
21-
"devDependencies": {},
21+
"devDependencies": {
22+
"@types/react-native": "^0.61.19",
23+
"react-native-device-info": "^5.5.3"
24+
},
2225
"dependencies": {}
2326
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "Atlas-UI-Framework",
3-
"version": "2.6.0"
3+
"version": "2.6.1"
44
}

styles/native/js/core/widgets/badge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ To customize any core styling, copy the part you want to customize to styles/nat
1414
export const com_mendix_widget_native_badge_Badge = {
1515
container: {
1616
// All ViewStyle properties are allowed
17+
borderRadius: badge.borderRadius,
1718
backgroundColor: badge.default.backgroundColor,
1819
paddingVertical: badge.paddingVertical,
1920
paddingHorizontal: badge.paddingHorizontal,

styles/native/js/core/widgets/dropdown.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const DropDown = {
4444
},
4545
/* New dropdown styles start */
4646
valueContainer: {
47-
// All ViewStyle properties & rippleColor are allowed
47+
// All ViewStyle properties & rippleColor are allowed
4848
},
4949
menuWrapper: {
5050
// All ViewStyle properties are allowed
@@ -59,9 +59,11 @@ export const DropDown = {
5959
maxWidth: 500,
6060
paddingVertical: 6,
6161
paddingHorizontal: 16,
62+
backgroundColor: input.backgroundColor,
6263
},
6364
item: {
64-
// All TextStlye properties are allowed
65+
// All TextStlye properties are allowed
66+
color: input.color,
6567
},
6668
selectedItem: {
6769
// All TextStlye properties are allowed
@@ -79,10 +81,10 @@ export const DropDown = {
7981
backgroundColor: input.backgroundColor,
8082
},
8183
pickerItemIOS: {
82-
// All TextStyle properties are allowed
84+
// All TextStyle properties are allowed
8385
},
8486
pickerBackdropIOS: {
85-
// All ViewStyle properties are allowed
87+
// All ViewStyle properties are allowed
8688
},
8789
pickerTopIOS: {
8890
// All ViewStyle properties are allowed

styles/native/js/core/widgets/tabcontainer.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { font, spacing, tabContainer } from "../variables";
1+
import { badge, font, spacing, tabContainer } from "../variables";
22
/*
33
44
DISCLAIMER:
@@ -48,4 +48,20 @@ export const TabContainer = {
4848
fontWeight: tabContainer.activeLabel.fontWeight,
4949
textTransform: tabContainer.activeLabel.textTransform,
5050
},
51+
badgeContainer: {
52+
// All ViewStyle properties are allowed
53+
borderRadius: badge.borderRadius,
54+
backgroundColor: badge.default.backgroundColor,
55+
paddingVertical: badge.paddingVertical,
56+
paddingHorizontal: badge.paddingHorizontal,
57+
marginLeft: 8
58+
},
59+
badgeCaption: {
60+
// All TextStyle properties are allowed
61+
fontSize: font.size,
62+
color: badge.default.color,
63+
fontFamily: font.family,
64+
fontWeight: badge.fontWeight,
65+
marginTop: -1,
66+
}
5167
};
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.6.0"
4-
}
3+
"version": "2.6.1"
4+
}

styles/native/ts/core/widgets/badge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ To customize any core styling, copy the part you want to customize to styles/nat
1515
export const com_mendix_widget_native_badge_Badge: BadgeType = {
1616
container: {
1717
// All ViewStyle properties are allowed
18+
borderRadius: badge.borderRadius,
1819
backgroundColor: badge.default.backgroundColor,
1920
paddingVertical: badge.paddingVertical,
2021
paddingHorizontal: badge.paddingHorizontal,

styles/native/ts/core/widgets/dropdown.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ export const DropDown: DropDownType = {
6363
maxWidth: 500,
6464
paddingVertical: 6,
6565
paddingHorizontal: 16,
66+
backgroundColor: input.backgroundColor,
6667
},
6768
item: {
6869
// All TextStlye properties are allowed
70+
color: input.color,
6971
},
7072
selectedItem: {
7173
// All TextStlye properties are allowed

0 commit comments

Comments
 (0)