Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kui.nvim

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kui.nvim - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

dist/dispose/index.d.ts

4

dist/animate/index.d.ts

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

import type { Timer } from '../../types/vim/loop';
/// <reference types="../../types/vim" />
/** The current time in milliseconds */

@@ -11,3 +11,3 @@ export declare function currentTime(start?: number): number;

start: number;
timer: Timer | null;
timer: vim.Timer | null;
constructor(fn: Function, duration: number, initial: number, final: number);

@@ -14,0 +14,0 @@ stop(): void;

/// <reference types="../../types/cairo" />
import * as cairo from 'kui.cairo.cairo';
import { ColorSource } from '../color';
import { LineCap, LineJoin } from 'kui.cairo.cairo';
export { LineCap, LineJoin } from 'kui.cairo.cairo';
import type { LineCap, LineJoin } from 'kui.cairo.cairo';
export type DOMMatrix = {

@@ -79,2 +78,3 @@ a: number;

clearRect(x: number, y: number, width: number, height: number): void;
clearRoundRect(x: number, y: number, width: number, height: number, radius: number): void;
fillRect(x: number, y: number, width: number, height: number): void;

@@ -108,1 +108,2 @@ strokeRect(x: number, y: number, width: number, height: number): void;

}
export {};

@@ -80,3 +80,3 @@ import { Rectangle } from '../math';

*/
addVertexData(vertexData: Float32Array, beginOffset: number, endOffset: number): void;
addVertexData(vertexData: number[], beginOffset: number, endOffset: number): void;
/**

@@ -83,0 +83,0 @@ * Add an array of mesh vertices

@@ -9,3 +9,3 @@ import { BLEND_MODES, Matrix, Point, Polygon } from '../core';

import type { SCALE_MODES } from '../core';
import type { ColorSource, IPointData, IShape, Renderer } from '../core';
import type { ColorSource, IPointData, IShape } from '../core';
import type { IDestroyOptions } from '../display';

@@ -357,7 +357,2 @@ /** Batch element computed from Graphics geometry */

/**
* Renders the object using the WebGL renderer
* @param renderer - The renderer
*/
protected _render(_renderer: Renderer): void;
/**
* Generates a canvas texture. Only available with **pixi.js-legacy** bundle

@@ -364,0 +359,0 @@ * or the **src/canvas-graphics** package.

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

import { BatchDrawCall, BatchGeometry } from '../core';
import { BatchDrawCall, BatchGeometry, Texture } from '../core';
import { Bounds } from '../display';

@@ -173,3 +173,22 @@ import { GraphicsData } from './GraphicsData';

protected addTextureIds(textureIds: Array<number>, id: number, size: number, offset?: number): void;
/**
* Generates the UVs for a shape.
* @param verts - Vertices
* @param uvs - UVs
* @param texture - Reference to Texture
* @param start - Index buffer start index.
* @param size - The size/length for index buffer.
* @param matrix - Optional transform for all points.
*/
protected addUvs(verts: Array<number>, uvs: Array<number>, texture: Texture, start: number, size: number, matrix?: Matrix | null): void;
/**
* Modify uvs array according to position of texture region
* Does not work with rotated or trimmed textures
* @param uvs - array
* @param texture - region
* @param start - starting index for uvs
* @param size - how many points to adjust
*/
protected adjustUvs(uvs: Array<number>, texture: Texture, start: number, size: number): void;
}
export {};

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

import { Texture } from '../../core';
import type { Matrix } from '../../math';

@@ -7,2 +8,3 @@ /**

export declare class FillStyle {
static WHITE: FillStyle;
/**

@@ -19,2 +21,3 @@ * The hex color value used when coloring the Graphics object.

*/
texture: Texture;
/**

@@ -21,0 +24,0 @@ * The transform applied to the texture.

@@ -6,6 +6,11 @@ import './setup';

export * from './animate';
export * from './core';
export * from './editor';
export * from './display';
export * from './graphics';
export * from './input';
export * from './math';
export * from './settings';
export * from './text';
export declare function setup(): void;
export declare function demo(): void;

@@ -10,2 +10,16 @@ import type { Canvas } from './context2d';

};
DIMENSIONS: {
screen_cells: {
width: number;
height: number;
};
screen_pixels: {
width: number;
height: number;
};
cell_pixels: {
width: number;
height: number;
};
};
RESOLUTION: number;

@@ -12,0 +26,0 @@ ROUND_PIXELS: boolean;

{
"name": "kui.nvim",
"version": "0.8.0",
"version": "0.9.0",
"description": "A neovim UI framework using the kitty graphics protocol",

@@ -33,5 +33,7 @@ "main": "index.js",

"scripts": {
"build": "tstl && node ./scripts/adjustPaths.js",
"build": "npm run build:lua && npm run build:types",
"build:lua": "tstl",
"build:types": "tsc --declaration --emitDeclarationOnly --project tsconfig-declaration.json && node ./scripts/adjustPaths.js",
"start": "tstl --watch"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc