Socket
Socket
Sign inDemoInstall

@antv/g-lite

Package Overview
Dependencies
9
Maintainers
64
Versions
130
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0-next.20 to 2.0.0

3

dist/Canvas.d.ts

@@ -9,3 +9,3 @@ import type { IRenderer } from './AbstractRenderer';

import type { PointLike } from './shapes';
import type { CanvasConfig, Cursor, InteractivePointerEvent } from './types';
import { type CanvasConfig, type Cursor, type InteractivePointerEvent } from './types';
export declare function isCanvas(value: any): value is Canvas;

@@ -85,2 +85,3 @@ export declare enum CanvasEvent {

private initDefaultCamera;
private updateSizeAttenuation;
getConfig(): Partial<CanvasConfig>;

@@ -87,0 +88,0 @@ /**

@@ -125,2 +125,3 @@ import type { BaseStyleProps } from '..';

recalc: (displayObject: DisplayObject) => void;
updateSizeAttenuation: (displayObject: DisplayObject, zoom: number) => void;
registerMetadata: (metadata: PropertyMetadata) => void;

@@ -127,0 +128,0 @@ unregisterMetadata: (name: string) => void;

@@ -1,2 +0,2 @@

import { DisplayObject } from '../../display-objects';
import type { DisplayObject } from '../../display-objects';
import type { CSSUnitValue } from '../cssom';

@@ -3,0 +3,0 @@ import type { CSSProperty } from '../CSSProperty';

@@ -53,3 +53,4 @@ import type { DisplayObject } from '../display-objects';

updateGeometry(object: DisplayObject): void;
updateSizeAttenuation(node: DisplayObject, zoom: number): void;
private isPropertyInheritable;
}

@@ -11,2 +11,3 @@ import type { DisplayObjectConfig } from '../dom/interfaces';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -20,2 +21,3 @@ export interface ParsedEllipseStyleProps extends ParsedBaseStyleProps {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -22,0 +24,0 @@ export declare class Ellipse extends DisplayObject<EllipseStyleProps, ParsedEllipseStyleProps> {

@@ -25,2 +25,3 @@ import type { DisplayObjectConfig } from '../dom';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -40,2 +41,3 @@ export interface ParsedPolygonStyleProps extends ParsedBaseStyleProps {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -42,0 +44,0 @@ export declare class Polygon extends DisplayObject<PolygonStyleProps, ParsedPolygonStyleProps> {

@@ -11,2 +11,3 @@ import type { DisplayObjectConfig } from '../dom';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
/**

@@ -24,2 +25,3 @@ * top-left, top-right, bottom-right, bottom-left

isBillboard?: boolean;
isSizeAttenuation?: boolean;
radius?: [number, number, number, number];

@@ -26,0 +28,0 @@ }

@@ -40,2 +40,3 @@ import { Camera } from './camera';

enableAttributeDashCased: boolean;
enableSizeAttenuation: boolean;
}

@@ -1,2 +0,2 @@

import type { CanvasContext, GlobalRuntime } from '..';
import type { CanvasContext, GlobalRuntime, InteractivePointerEvent } from '..';
import type { HTML } from '../display-objects';

@@ -62,3 +62,3 @@ import type { FederatedEvent } from '../dom/FederatedEvent';

*/
private isNativeEventFromCanvas;
isNativeEventFromCanvas($el: HTMLCanvasElement, nativeEvent: InteractivePointerEvent): boolean;
/**

@@ -65,0 +65,0 @@ * Find HTML from composed path in native UI event.

@@ -221,2 +221,6 @@ import type { IRenderer } from './AbstractRenderer';

enableAutoRendering: boolean;
/**
* Canvas / SVG / Canvaskit should listen to camera changed events, while WebGL / WebGPU will apply this effect in shader.
*/
enableSizeAttenuation: boolean;
}

@@ -223,0 +227,0 @@ /**

{
"name": "@antv/g-lite",
"version": "1.3.0-next.20",
"version": "2.0.0",
"description": "A core module for rendering engine implements DOM API.",

@@ -44,3 +44,3 @@ "keywords": [

"tslib": "^2.5.3",
"@antv/g-math": "2.0.3-next.6"
"@antv/g-math": "3.0.0"
},

@@ -47,0 +47,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc