Skip to content

Commit

Permalink
Merge pull request #93 from mendix/develop
Browse files Browse the repository at this point in the history
hotfix(FAB): add borderRadius
  • Loading branch information
wegiswes committed Oct 2, 2020
2 parents d0affd1 + e30a4bd commit 1c38bf4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atlas-ui-framework",
"version": "2.6.2",
"version": "2.6.3",
"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.",
"main": "",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion styles/native/js/core/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Atlas-UI-Framework",
"version": "2.6.2"
"version": "2.6.3"
}
8 changes: 7 additions & 1 deletion styles/native/js/core/widgets/floatingactionbutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton
button: {
// Size, ripplecolor and all ViewStyle properties are allowed
size: 50,
height: 50,
width: 50,
rippleColor: contrast.lowest,
backgroundColor: brand.primary,
borderRadius: 25,
elevation: 2,
shadowColor: "#000",
shadowOpacity: 0.3,
Expand Down Expand Up @@ -54,7 +57,10 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton
color: contrast.high,
},
secondaryButtonCaption: {
// All TextStyle properties are allowed
// All TextStyle properties are allowed
color: font.color,
fontSize: font.size,
fontFamily: font.family,
},
secondaryButtonCaptionContainer: {
// All ViewStyle properties are allowed
Expand Down
2 changes: 1 addition & 1 deletion styles/native/ts/core/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Atlas-UI-Framework",
"version": "2.6.2"
"version": "2.6.3"
}
8 changes: 7 additions & 1 deletion styles/native/ts/core/widgets/floatingactionbutton.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FloatingActionButtonType } from "../../types/widgets";
import { background, brand, contrast, font } from "../variables";
import { FloatingActionButtonType } from "../../types/widgets";
/*
DISCLAIMER:
Expand All @@ -20,8 +20,11 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton:
button: {
// Size, ripplecolor and all ViewStyle properties are allowed
size: 50,
height: 50,
width: 50,
rippleColor: contrast.lowest,
backgroundColor: brand.primary,
borderRadius: 25,
elevation: 2,
shadowColor: "#000",
shadowOpacity: 0.3,
Expand Down Expand Up @@ -56,6 +59,9 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton:
},
secondaryButtonCaption: {
// All TextStyle properties are allowed
color: font.color,
fontSize: font.size,
fontFamily: font.family,
},
secondaryButtonCaptionContainer: {
// All ViewStyle properties are allowed
Expand Down
2 changes: 1 addition & 1 deletion styles/web/sass/core/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Atlas-UI-Framework",
"version": "2.6.2"
"version": "2.6.3"
}

0 comments on commit 1c38bf4

Please sign in to comment.