You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@leafer-ui/interface

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer-ui/interface - npm Package Compare versions

Comparing version
1.0.0-rc.3
to
1.0.0-rc.4
+2
-2
package.json
{
"name": "@leafer-ui/interface",
"version": "1.0.0-rc.3",
"version": "1.0.0-rc.4",
"description": "@leafer-ui/interface",

@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/interface": "1.0.0-rc.3"
"@leafer/interface": "1.0.0-rc.4"
}
}

@@ -8,6 +8,6 @@ import { ILeaferCanvas, IRenderOptions } from '@leafer/interface'

export interface IEffectModule {
shadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void
innerShadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void
blur?(ui: IUI, current: ILeaferCanvas, origin: ILeaferCanvas, options: IRenderOptions): void
backgroundBlur?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void
shadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void
innerShadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void
blur?(ui: IUI, current: ILeaferCanvas, origin: ILeaferCanvas, renderOptions: IRenderOptions): void
backgroundBlur?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void
}

@@ -8,20 +8,20 @@ import { ILeaferCanvas, IRenderOptions, IBooleanMap } from '@leafer/interface'

export interface IPaintModule {
compute?(ui: IUI, attrName: 'fill' | 'stroke'): void
compute?(attrName: 'fill' | 'stroke', ui: IUI): void
fill?(ui: IUI, canvas: ILeaferCanvas, fill: string): void
fills?(ui: IUI, canvas: ILeaferCanvas, fills: ILeafPaint[]): void
fill?(fill: string, ui: IUI, canvas: ILeaferCanvas,): void
fills?(fills: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas): void
fillText?(ui: IUI, canvas: ILeaferCanvas): void
stroke?(ui: IUI, canvas: ILeaferCanvas, stroke: string): void
strokes?(ui: IUI, canvas: ILeaferCanvas, strokes: ILeafPaint[]): void
stroke?(stroke: string, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void
strokes?(strokes: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void
strokeText?(ui: IUI, canvas: ILeaferCanvas, stroke: string): void
strokesText?(ui: IUI, canvas: ILeaferCanvas, strokes: ILeafPaint[]): void
strokeText?(stroke: string, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void
strokesText?(strokes: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void
drawTextStroke?(ui: IUI, canvas: ILeaferCanvas): void
shape?(ui: IUI, current: ILeaferCanvas, options: IRenderOptions): ICachedShape
shape?(ui: IUI, current: ILeaferCanvas, renderOptions: IRenderOptions): ICachedShape
recycleImage?(data: IUIData, attrName: string): IBooleanMap
recycleImage?(attrName: 'fill' | 'stroke', data: IUIData): IBooleanMap
}

@@ -577,22 +577,22 @@ import { IPointData, IExportFileType, IWindingRule, IPathCommandData, IBlendMode, IMatrixData, ILeaferImage, IBlob, ILeaf, IPathString, IPathCreator, IBoundsData, ILeaferImageConfig, ILeaferCanvas, IRenderOptions, IPathDrawer, ILeafData, IPath2D, ILeafComputedData, ILeafInputData, IObject, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IBooleanMap } from '@leafer/interface';

interface IPaintModule {
compute?(ui: IUI, attrName: 'fill' | 'stroke'): void;
fill?(ui: IUI, canvas: ILeaferCanvas, fill: string): void;
fills?(ui: IUI, canvas: ILeaferCanvas, fills: ILeafPaint[]): void;
compute?(attrName: 'fill' | 'stroke', ui: IUI): void;
fill?(fill: string, ui: IUI, canvas: ILeaferCanvas): void;
fills?(fills: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas): void;
fillText?(ui: IUI, canvas: ILeaferCanvas): void;
stroke?(ui: IUI, canvas: ILeaferCanvas, stroke: string): void;
strokes?(ui: IUI, canvas: ILeaferCanvas, strokes: ILeafPaint[]): void;
strokeText?(ui: IUI, canvas: ILeaferCanvas, stroke: string): void;
strokesText?(ui: IUI, canvas: ILeaferCanvas, strokes: ILeafPaint[]): void;
stroke?(stroke: string, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void;
strokes?(strokes: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void;
strokeText?(stroke: string, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void;
strokesText?(strokes: ILeafPaint[], ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void;
drawTextStroke?(ui: IUI, canvas: ILeaferCanvas): void;
shape?(ui: IUI, current: ILeaferCanvas, options: IRenderOptions): ICachedShape;
recycleImage?(data: IUIData, attrName: string): IBooleanMap;
shape?(ui: IUI, current: ILeaferCanvas, renderOptions: IRenderOptions): ICachedShape;
recycleImage?(attrName: 'fill' | 'stroke', data: IUIData): IBooleanMap;
}
interface IEffectModule {
shadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void;
innerShadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void;
blur?(ui: IUI, current: ILeaferCanvas, origin: ILeaferCanvas, options: IRenderOptions): void;
backgroundBlur?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, options: IRenderOptions): void;
shadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void;
innerShadow?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void;
blur?(ui: IUI, current: ILeaferCanvas, origin: ILeaferCanvas, renderOptions: IRenderOptions): void;
backgroundBlur?(ui: IUI, current: ILeaferCanvas, shape: ICachedShape, renderOptions: IRenderOptions): void;
}
export type { IBlurEffect, IBox, IBoxData, IBoxInputData, ICachedShape, ICanvas, ICanvasData, ICanvasInputData, IColor, IColorConvertModule, IColorStop, ICornerRadiusString, IDashPatternString, IEffectModule, IEllipse, IEllipseData, IEllipseInputData, IExportModule, IExportOptions, IExportResult, IExportResultFunction, IFontWeight, IFrame, IFrameData, IFrameInputData, IFrameRenderModule, IGradientPaint, IGrayscaleEffect, IGroup, IGroupData, IGroupInputData, IGroupRenderModule, IImage, IImageData, IImageInputData, IImagePaint, IImagePaintMode, IImageRenderModule, ILeafFill, ILeafPaint, ILeafPaintColor, ILeafPaintPatternData, ILeafShadowEffect, ILeafStrokePaint, ILeaferData, ILeaferInputData, ILine, ILineData, ILineInputData, IOverflow, IPaint, IPaintModule, IPaintString, IPath, IPathData, IPathInputData, IPen, IPenData, IPenInputData, IPercent, IPolygon, IPolygonData, IPolygonInputData, IRGB, IRGBA, IRect, IRectData, IRectInputData, IRectRenderModule, IShadowEffect, IShadowString, IStar, IStarData, IStarInputData, IColorString as IStringColor, IStrokeAlign, IStrokeCap, IStrokeJoin, IStrokeWidthString, IText, ITextAlign, ITextCase, ITextCharData, ITextConvertModule, ITextData, ITextDecoration, ITextDrawData, ITextInputData, ITextRenderModule, ITextRowData, ITextWordData, IUI, IUIBaseInputData, IUIBoundsModule, IUIData, IUIHitModule, IUIInputData, IUIRenderModule, IUITag, IUnitData, IVectorPath, IVerticalAlign };