Skip to content

Commit 1c38bf4

Browse files
authored
Merge pull request #93 from mendix/develop
hotfix(FAB): add borderRadius
2 parents d0affd1 + e30a4bd commit 1c38bf4

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

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.6.2",
3+
"version": "2.6.3",
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": {

styles/native/js/core/manifest.json

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.2"
3+
"version": "2.6.3"
44
}

styles/native/js/core/widgets/floatingactionbutton.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton
1919
button: {
2020
// Size, ripplecolor and all ViewStyle properties are allowed
2121
size: 50,
22+
height: 50,
23+
width: 50,
2224
rippleColor: contrast.lowest,
2325
backgroundColor: brand.primary,
26+
borderRadius: 25,
2427
elevation: 2,
2528
shadowColor: "#000",
2629
shadowOpacity: 0.3,
@@ -54,7 +57,10 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton
5457
color: contrast.high,
5558
},
5659
secondaryButtonCaption: {
57-
// All TextStyle properties are allowed
60+
// All TextStyle properties are allowed
61+
color: font.color,
62+
fontSize: font.size,
63+
fontFamily: font.family,
5864
},
5965
secondaryButtonCaptionContainer: {
6066
// All ViewStyle properties are allowed

styles/native/ts/core/manifest.json

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.2"
3+
"version": "2.6.3"
44
}

styles/native/ts/core/widgets/floatingactionbutton.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { FloatingActionButtonType } from "../../types/widgets";
12
import { background, brand, contrast, font } from "../variables";
2-
import { FloatingActionButtonType } from "../../types/widgets";
33
/*
44
55
DISCLAIMER:
@@ -20,8 +20,11 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton:
2020
button: {
2121
// Size, ripplecolor and all ViewStyle properties are allowed
2222
size: 50,
23+
height: 50,
24+
width: 50,
2325
rippleColor: contrast.lowest,
2426
backgroundColor: brand.primary,
27+
borderRadius: 25,
2528
elevation: 2,
2629
shadowColor: "#000",
2730
shadowOpacity: 0.3,
@@ -56,6 +59,9 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton:
5659
},
5760
secondaryButtonCaption: {
5861
// All TextStyle properties are allowed
62+
color: font.color,
63+
fontSize: font.size,
64+
fontFamily: font.family,
5965
},
6066
secondaryButtonCaptionContainer: {
6167
// All ViewStyle properties are allowed

styles/web/sass/core/manifest.json

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.2"
3+
"version": "2.6.3"
44
}

0 commit comments

Comments
 (0)