1 | import { TransformFunctionsInfo } from '../animation';
|
2 | import { CoreTypes } from '../../core-types';
|
3 | import { Color } from '../../color';
|
4 | import { CssProperty, CssAnimationProperty, ShorthandProperty, InheritedCssProperty } from '../core/properties';
|
5 | import { Style } from './style';
|
6 | import { Font, FontStyleType, FontWeightType, FontVariationSettingsType } from './font';
|
7 | import { Background } from './background';
|
8 |
|
9 | export namespace Length {
|
10 | export function parse(text: string): CoreTypes.LengthType;
|
11 | export function equals(a: CoreTypes.LengthType, b: CoreTypes.LengthType): boolean;
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 | export function toDevicePixels(length: CoreTypes.LengthType, auto?: number): number;
|
18 | export function convertToString(length: CoreTypes.LengthType): string;
|
19 | }
|
20 |
|
21 | export namespace PercentLength {
|
22 | export function parse(text: string): CoreTypes.PercentLengthType;
|
23 | export function equals(a: CoreTypes.PercentLengthType, b: CoreTypes.PercentLengthType): boolean;
|
24 | |
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export function toDevicePixels(length: CoreTypes.PercentLengthType, auto?: number, parentAvailableWidth?: CoreTypes.px): number;
|
31 | export function convertToString(length: CoreTypes.PercentLengthType): string;
|
32 | }
|
33 |
|
34 | export const zeroLength: CoreTypes.LengthType;
|
35 |
|
36 | export const rotateProperty: CssAnimationProperty<Style, number>;
|
37 | export const scaleXProperty: CssAnimationProperty<Style, number>;
|
38 | export const scaleYProperty: CssAnimationProperty<Style, number>;
|
39 | export const translateXProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
40 | export const translateYProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
41 |
|
42 | export function transformConverter(text: string): TransformFunctionsInfo;
|
43 |
|
44 | export const clipPathProperty: CssProperty<Style, string>;
|
45 | export const colorProperty: InheritedCssProperty<Style, Color>;
|
46 |
|
47 | export const backgroundProperty: ShorthandProperty<Style, string>;
|
48 | export const backgroundColorProperty: CssAnimationProperty<Style, Color>;
|
49 | export const backgroundImageProperty: CssProperty<Style, string>;
|
50 | export const backgroundRepeatProperty: CssProperty<Style, CoreTypes.BackgroundRepeatType>;
|
51 | export const backgroundSizeProperty: CssProperty<Style, string>;
|
52 | export const backgroundPositionProperty: CssProperty<Style, string>;
|
53 |
|
54 | export const borderColorProperty: ShorthandProperty<Style, string | Color>;
|
55 | export const borderTopColorProperty: CssProperty<Style, Color>;
|
56 | export const borderRightColorProperty: CssProperty<Style, Color>;
|
57 | export const borderBottomColorProperty: CssProperty<Style, Color>;
|
58 | export const borderLeftColorProperty: CssProperty<Style, Color>;
|
59 |
|
60 | export const borderWidthProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
61 | export const borderTopWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
62 | export const borderRightWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
63 | export const borderBottomWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
64 | export const borderLeftWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
65 |
|
66 | export const borderRadiusProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
67 | export const borderTopLeftRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
68 | export const borderTopRightRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
69 | export const borderBottomRightRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
70 | export const borderBottomLeftRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
71 |
|
72 | export const zIndexProperty: CssProperty<Style, number>;
|
73 | export const visibilityProperty: CssProperty<Style, CoreTypes.VisibilityType>;
|
74 | export const opacityProperty: CssAnimationProperty<Style, number>;
|
75 |
|
76 | export const minWidthProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit>;
|
77 | export const minHeightProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit>;
|
78 | export const widthProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
79 | export const heightProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
80 | export const lineHeightProperty: CssProperty<Style, number>;
|
81 | export const marginProperty: ShorthandProperty<Style, string | CoreTypes.PercentLengthType>;
|
82 | export const marginLeftProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
83 | export const marginRightProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
84 | export const marginTopProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
85 | export const marginBottomProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
86 |
|
87 | export const paddingProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
88 | export const paddingLeftProperty: CssProperty<Style, CoreTypes.LengthType>;
|
89 | export const paddingRightProperty: CssProperty<Style, CoreTypes.LengthType>;
|
90 | export const paddingTopProperty: CssProperty<Style, CoreTypes.LengthType>;
|
91 | export const paddingBottomProperty: CssProperty<Style, CoreTypes.LengthType>;
|
92 |
|
93 | export const horizontalAlignmentProperty: CssProperty<Style, CoreTypes.HorizontalAlignmentType>;
|
94 | export const verticalAlignmentProperty: CssProperty<Style, CoreTypes.VerticalAlignmentType>;
|
95 |
|
96 | export const fontSizeProperty: InheritedCssProperty<Style, number>;
|
97 | export const fontFamilyProperty: InheritedCssProperty<Style, string>;
|
98 | export const fontStyleProperty: InheritedCssProperty<Style, FontStyleType>;
|
99 | export const fontWeightProperty: InheritedCssProperty<Style, FontWeightType>;
|
100 |
|
101 | export const backgroundInternalProperty: CssProperty<Style, Background>;
|
102 | export const fontInternalProperty: InheritedCssProperty<Style, Font>;
|
103 | export const fontScaleInternalProperty: InheritedCssProperty<Style, number>;
|
104 | export const fontVariationSettingsProperty: InheritedCssProperty<Style, FontVariationSettingsType[]>;
|
105 |
|
106 | export const androidElevationProperty: CssProperty<Style, number>;
|
107 | export const androidDynamicElevationOffsetProperty: CssProperty<Style, number>;
|