feat(ios): improved shadow handling with background UI rework (#10374)

BREAKING CHANGES: 

`CSSShadow` was renamed into `ShadowCSSValues`
This commit is contained in:
Dimitris-Rafail Katsampas
2023-09-06 18:17:29 +03:00
committed by GitHub
parent a959a797df
commit 39eed526c1
32 changed files with 1433 additions and 858 deletions

View File

@ -1,6 +1,6 @@
// Types
import { getClosestPropertyValue, maxLinesProperty, textOverflowProperty } from './text-base-common';
import { CSSShadow } from '../styling/css-shadow';
import { ShadowCSSValues } from '../styling/css-shadow';
// Requires
import { Font } from '../styling/font';
@ -419,7 +419,7 @@ export class TextBase extends TextBaseCommon {
};
}
[textShadowProperty.setNative](value: CSSShadow) {
[textShadowProperty.setNative](value: ShadowCSSValues) {
// prettier-ignore
this.nativeTextViewProtected.setShadowLayer(
Length.toDevicePixels(value.blurRadius, java.lang.Float.MIN_VALUE),