@antv/g-lite 1.2.21 → 1.3.0-next.0
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/dist/css/parser/color.d.ts +2 -2
- package/dist/css/properties/CSSPropertyOffsetDistance.d.ts +1 -1
- package/dist/css/properties/CSSPropertyPath.d.ts +1 -5
- package/dist/css/properties/CSSPropertyPoints.d.ts +0 -5
- package/dist/css/properties/index.d.ts +0 -1
- package/dist/display-objects/Line.d.ts +0 -2
- package/dist/index.esm.js +253 -412
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +253 -412
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/services/aabb/CircleUpdater.d.ts +4 -2
- package/dist/services/aabb/EllipseUpdater.d.ts +4 -2
- package/dist/services/aabb/LineUpdater.d.ts +4 -2
- package/dist/services/aabb/PathUpdater.d.ts +4 -2
- package/dist/services/aabb/PolylineUpdater.d.ts +4 -2
- package/dist/services/aabb/RectUpdater.d.ts +4 -2
- package/dist/services/aabb/TextUpdater.d.ts +4 -13
- package/dist/services/aabb/interfaces.d.ts +6 -6
- package/dist/types.d.ts +0 -5
- package/dist/utils/gradient.d.ts +2 -2
- package/dist/utils/path.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,8 +6,8 @@ import { CSSRGB } from '../cssom';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface Pattern {
|
|
8
8
|
image: string | CanvasImageSource | Rect;
|
|
9
|
-
repetition
|
|
10
|
-
transform
|
|
9
|
+
repetition?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
10
|
+
transform?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare function isCSSGradientValue(object: any): object is CSSGradientValue;
|
|
13
13
|
export declare function isPattern(object: any): object is Pattern;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DisplayObject } from '../../display-objects';
|
|
2
2
|
import type { CSSUnitValue } from '../cssom';
|
|
3
3
|
import type { CSSProperty } from '../CSSProperty';
|
|
4
4
|
export declare class CSSPropertyOffsetDistance implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AbsoluteArray } from '@antv/util';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParsedPathStyleProps } from '../../display-objects';
|
|
3
3
|
import { Rectangle } from '../../shapes';
|
|
4
4
|
import type { CSSProperty } from '../CSSProperty';
|
|
5
5
|
import { mergePaths, parsePath } from '../parser/path';
|
|
@@ -20,8 +20,4 @@ export declare class CSSPropertyPath implements Partial<CSSProperty<ParsedPathSt
|
|
|
20
20
|
rect: Rectangle;
|
|
21
21
|
};
|
|
22
22
|
mixer: typeof mergePaths;
|
|
23
|
-
/**
|
|
24
|
-
* update local position
|
|
25
|
-
*/
|
|
26
|
-
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
27
23
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
1
|
import type { CSSProperty } from '../CSSProperty';
|
|
3
2
|
import { parsePoints, mergePoints } from '../parser/points';
|
|
4
3
|
export declare class CSSPropertyPoints implements Partial<CSSProperty<{
|
|
@@ -11,9 +10,5 @@ export declare class CSSPropertyPoints implements Partial<CSSProperty<{
|
|
|
11
10
|
segments: [number, number][];
|
|
12
11
|
}>> {
|
|
13
12
|
parser: typeof parsePoints;
|
|
14
|
-
/**
|
|
15
|
-
* update local position
|
|
16
|
-
*/
|
|
17
|
-
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
18
13
|
mixer: typeof mergePoints;
|
|
19
14
|
}
|
|
@@ -5,7 +5,6 @@ export * from './CSSPropertyFilter';
|
|
|
5
5
|
export * from './CSSPropertyLengthOrPercentage';
|
|
6
6
|
export * from './CSSPropertyLengthOrPercentage12';
|
|
7
7
|
export * from './CSSPropertyLengthOrPercentage14';
|
|
8
|
-
export * from './CSSPropertyLocalPosition';
|
|
9
8
|
export * from './CSSPropertyMarker';
|
|
10
9
|
export * from './CSSPropertyNumber';
|
|
11
10
|
export * from './CSSPropertyOffsetDistance';
|