From 957d262e4ffbbf338b73f3073b2de149b6dc3145 Mon Sep 17 00:00:00 2001 From: Jordan Hunt Date: Wed, 8 Dec 2021 14:56:15 +0100 Subject: [PATCH 1/4] fix floating action button dark mode styling --- styles/native/ts/core/widgets/floatingactionbutton.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/styles/native/ts/core/widgets/floatingactionbutton.ts b/styles/native/ts/core/widgets/floatingactionbutton.ts index 7a01fc83..c8715fae 100644 --- a/styles/native/ts/core/widgets/floatingactionbutton.ts +++ b/styles/native/ts/core/widgets/floatingactionbutton.ts @@ -1,5 +1,6 @@ import { FloatingActionButtonType } from "../../types/widgets"; import { background, brand, contrast, font } from "../variables"; +import { darkMode } from "../../app/custom-variables" /* DISCLAIMER: @@ -67,6 +68,8 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton: secondaryButtonCaptionContainer: { // All ViewStyle properties are allowed marginHorizontal: 5, + backgroundColor: background.secondary, + borderColor: darkMode ? background.secondary : "#eee", elevation: 2, shadowOpacity: 0.3, shadowRadius: 4, From a90549e3b5b7092f51adb9121f8836569ead8e92 Mon Sep 17 00:00:00 2001 From: Jordan Hunt Date: Wed, 8 Dec 2021 14:56:41 +0100 Subject: [PATCH 2/4] bump patch version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f6cb7d9..793610a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "atlas-ui-framework", - "version": "2.7.2", + "version": "2.7.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": { From 2c9942bfa17727def1f680129a33fa2bc3c7406a Mon Sep 17 00:00:00 2001 From: Jordan Hunt Date: Fri, 10 Dec 2021 09:18:34 +0100 Subject: [PATCH 3/4] use background.secondary --- styles/native/ts/core/widgets/floatingactionbutton.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/native/ts/core/widgets/floatingactionbutton.ts b/styles/native/ts/core/widgets/floatingactionbutton.ts index c8715fae..12e43cb6 100644 --- a/styles/native/ts/core/widgets/floatingactionbutton.ts +++ b/styles/native/ts/core/widgets/floatingactionbutton.ts @@ -1,6 +1,6 @@ import { FloatingActionButtonType } from "../../types/widgets"; import { background, brand, contrast, font } from "../variables"; -import { darkMode } from "../../app/custom-variables" + /* DISCLAIMER: @@ -69,7 +69,7 @@ export const com_mendix_widget_native_floatingactionbutton_FloatingActionButton: // All ViewStyle properties are allowed marginHorizontal: 5, backgroundColor: background.secondary, - borderColor: darkMode ? background.secondary : "#eee", + borderColor: background.secondary, elevation: 2, shadowOpacity: 0.3, shadowRadius: 4, From 1dca0ba188a73b63f43f9812581f3039ce9eaecd Mon Sep 17 00:00:00 2001 From: Ahmad-Elsayed Date: Wed, 16 Mar 2022 15:42:15 +0100 Subject: [PATCH 4/4] fullscreen video player style --- styles/native/ts/core/widgets/videoplayer.ts | 12 ++++++++++++ styles/native/ts/types/widgets.d.ts | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/styles/native/ts/core/widgets/videoplayer.ts b/styles/native/ts/core/widgets/videoplayer.ts index 48adc8d3..089560ce 100644 --- a/styles/native/ts/core/widgets/videoplayer.ts +++ b/styles/native/ts/core/widgets/videoplayer.ts @@ -21,4 +21,16 @@ export const com_mendix_widget_native_videoplayer_VideoPlayer: VideoPlayerType = video: { // All ViewStyle properties are allowed }, + fullScreenVideoPlayer: { + // All ViewStyle properties are allowed + }, + controlBtnContainerStyle: { + // All ViewStyle properties are allowed + }, + fullScreenVideoStyle: { + // All ViewStyle properties are allowed + }, + fullScreenActivityIndicatorStyle: { + // All ViewStyle properties are allowed + }, }; diff --git a/styles/native/ts/types/widgets.d.ts b/styles/native/ts/types/widgets.d.ts index 1c1f747f..9b140d7f 100644 --- a/styles/native/ts/types/widgets.d.ts +++ b/styles/native/ts/types/widgets.d.ts @@ -621,7 +621,11 @@ export interface VideoPlayerType { indicator?: { backgroundColor?: string, }, - video?: ViewStyle + video?: ViewStyle, + fullScreenVideoPlayer?: ViewStyle, + controlBtnContainerStyle?: ViewStyle, + fullScreenVideoStyle?: ViewStyle, + fullScreenActivityIndicatorStyle?: ViewStyle, } // Web View