@nativescript/core 8.9.0-next-02-02-2025-13100070003 → 8.9.0-next-02-04-2025-13145148797
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core-types/index.d.ts +3 -2
- package/core-types/index.js.map +1 -1
- package/package.json +1 -1
- package/ui/animation/animation-interfaces.d.ts +9 -4
- package/ui/animation/animation-interfaces.js.map +1 -1
- package/ui/animation/index.d.ts +1 -1
- package/ui/image/image-common.js +2 -0
- package/ui/image/image-common.js.map +1 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.js +4 -2
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -1
- package/ui/layouts/index.d.ts +1 -1
- package/ui/layouts/index.js +1 -1
- package/ui/layouts/index.js.map +1 -1
- package/ui/layouts/root-layout/index.android.d.ts +0 -1
- package/ui/layouts/root-layout/index.android.js +0 -3
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/root-layout/index.d.ts +1 -0
- package/ui/layouts/root-layout/index.ios.d.ts +2 -1
- package/ui/layouts/root-layout/index.ios.js +7 -2
- package/ui/layouts/root-layout/index.ios.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.d.ts +12 -5
- package/ui/layouts/root-layout/root-layout-common.js +77 -52
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-stack.d.ts +5 -0
- package/ui/layouts/root-layout/root-layout-stack.js +19 -0
- package/ui/layouts/root-layout/root-layout-stack.js.map +1 -0
- package/ui/layouts/wrap-layout/wrap-layout-common.js +4 -2
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -1
- package/ui/list-view/index.ios.js +1 -1
- package/ui/list-view/index.ios.js.map +1 -1
- package/ui/list-view/list-view-common.js +2 -1
- package/ui/list-view/list-view-common.js.map +1 -1
- package/ui/styling/background-common.d.ts +3 -2
- package/ui/styling/background-common.js +13 -5
- package/ui/styling/background-common.js.map +1 -1
- package/ui/styling/background.android.js +2 -1
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/background.d.ts +9 -8
- package/ui/styling/background.ios.js +22 -18
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/clip-path-function.d.ts +16 -0
- package/ui/styling/clip-path-function.js +25 -0
- package/ui/styling/clip-path-function.js.map +1 -0
- package/ui/styling/css-animation-parser.js +1 -1
- package/ui/styling/css-animation-parser.js.map +1 -1
- package/ui/styling/css-transform.d.ts +2 -0
- package/ui/styling/css-transform.js +110 -0
- package/ui/styling/css-transform.js.map +1 -0
- package/ui/styling/style/index.d.ts +2 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +17 -7
- package/ui/styling/style-properties.js +235 -368
- package/ui/styling/style-properties.js.map +1 -1
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import { TransformFunctionsInfo } from '../animation';
|
|
2
1
|
import { CoreTypes } from '../../core-types';
|
|
3
2
|
import { Color } from '../../color';
|
|
4
3
|
import { CssProperty, CssAnimationProperty, ShorthandProperty, InheritedCssProperty } from '../core/properties';
|
|
5
4
|
import { Style } from './style';
|
|
6
5
|
import { Font, FontStyleType, FontWeightType, FontVariationSettingsType } from './font';
|
|
7
6
|
import { Background } from './background';
|
|
7
|
+
import { ClipPathFunction } from './clip-path-function';
|
|
8
|
+
import { LinearGradient } from './linear-gradient';
|
|
9
|
+
|
|
10
|
+
export namespace FixedLength {
|
|
11
|
+
export function parse(text: string): CoreTypes.FixedLengthType;
|
|
12
|
+
export function equals(a: CoreTypes.FixedLengthType, b: CoreTypes.FixedLengthType): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Converts FixedLengthType unit to device pixels.
|
|
15
|
+
* @param length The FixedLengthType to convert.
|
|
16
|
+
*/
|
|
17
|
+
export function toDevicePixels(length: CoreTypes.FixedLengthType): number;
|
|
18
|
+
export function convertToString(length: CoreTypes.FixedLengthType): string;
|
|
19
|
+
}
|
|
8
20
|
|
|
9
21
|
export namespace Length {
|
|
10
22
|
export function parse(text: string): CoreTypes.LengthType;
|
|
11
23
|
export function equals(a: CoreTypes.LengthType, b: CoreTypes.LengthType): boolean;
|
|
12
24
|
/**
|
|
13
|
-
* Converts
|
|
14
|
-
* @param length The
|
|
25
|
+
* Converts LengthType unit to device pixels.
|
|
26
|
+
* @param length The LengthType to convert.
|
|
15
27
|
* @param auto Value to use for conversion of "auto". By default is Math.NaN.
|
|
16
28
|
*/
|
|
17
29
|
export function toDevicePixels(length: CoreTypes.LengthType, auto?: number): number;
|
|
@@ -39,14 +51,12 @@ export const scaleYProperty: CssAnimationProperty<Style, number>;
|
|
|
39
51
|
export const translateXProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
|
40
52
|
export const translateYProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
|
41
53
|
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
export const clipPathProperty: CssProperty<Style, string>;
|
|
54
|
+
export const clipPathProperty: CssProperty<Style, string | ClipPathFunction>;
|
|
45
55
|
export const colorProperty: InheritedCssProperty<Style, Color>;
|
|
46
56
|
|
|
47
57
|
export const backgroundProperty: ShorthandProperty<Style, string>;
|
|
48
58
|
export const backgroundColorProperty: CssAnimationProperty<Style, Color>;
|
|
49
|
-
export const backgroundImageProperty: CssProperty<Style, string>;
|
|
59
|
+
export const backgroundImageProperty: CssProperty<Style, string | LinearGradient>;
|
|
50
60
|
export const backgroundRepeatProperty: CssProperty<Style, CoreTypes.BackgroundRepeatType>;
|
|
51
61
|
export const backgroundSizeProperty: CssProperty<Style, string>;
|
|
52
62
|
export const backgroundPositionProperty: CssProperty<Style, string>;
|