@glideapps/glide-data-grid
Advanced tools
Comparing version 4.99.0-alpha6 to 4.99.0-beta1
@@ -13,4 +13,5 @@ import type { Item, Rectangle } from "../data-grid/data-grid-types"; | ||
setWindow(newWindow: Rectangle, freezeCols: number): void; | ||
private loadImage; | ||
loadOrGetImage(url: string, col: number, row: number): HTMLImageElement | undefined; | ||
} | ||
export default ImageWindowLoader; |
import * as React from "react"; | ||
export declare function useEventListener<K extends keyof HTMLElementEventMap>(eventName: K, handler: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, element: HTMLElement | Window | null, passive: boolean, capture?: boolean): void; | ||
export declare function whenDefined<T>(obj: any, result: T): T | undefined; | ||
export declare function degreesToRadians(degrees: number): number; | ||
@@ -4,0 +5,0 @@ export interface SpriteProps { |
@@ -13,3 +13,3 @@ /// <reference types="react" /> | ||
readonly range: Rectangle; | ||
readonly style?: "dashed" | "solid"; | ||
readonly style?: "dashed" | "solid" | "no-outline"; | ||
} | ||
@@ -16,0 +16,0 @@ interface GroupDetails { |
@@ -48,2 +48,3 @@ import type { Theme } from "../common/styles"; | ||
} | ||
export declare const headerKind: "header"; | ||
export interface GridMouseHeaderEventArgs extends BaseGridMouseEventArgs, PositionableMouseEventArgs { | ||
@@ -55,2 +56,3 @@ readonly kind: "header"; | ||
} | ||
export declare const groupHeaderKind: "group-header"; | ||
export interface GridMouseGroupHeaderEventArgs extends BaseGridMouseEventArgs, PositionableMouseEventArgs { | ||
@@ -62,2 +64,3 @@ readonly kind: "group-header"; | ||
} | ||
export declare const outOfBoundsKind: "out-of-bounds"; | ||
export interface GridMouseOutOfBoundsEventArgs extends BaseGridMouseEventArgs { | ||
@@ -101,2 +104,3 @@ readonly kind: "out-of-bounds"; | ||
column: GridColumn; | ||
columnIndex: number; | ||
theme: Theme; | ||
@@ -103,0 +107,0 @@ rect: Rectangle; |
@@ -1,2 +0,1 @@ | ||
import { DataEditor } from "./data-editor/data-editor"; | ||
export type { OverlayImageEditorProps } from "./data-grid-overlay-editor/private/image-overlay-editor"; | ||
@@ -18,2 +17,2 @@ export type { MarkdownDivProps } from "./markdown-div/markdown-div"; | ||
export { useCustomCells } from "./data-editor/use-custom-cells"; | ||
export default DataEditor; | ||
export { DataEditor as default } from "./data-editor/data-editor"; |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "4.99.0-alpha6", | ||
"version": "4.99.0-beta1", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -70,6 +70,3 @@ "sideEffects": false, | ||
"esbuild": "^0.14.47", | ||
"eslint": "^7.12.1", | ||
"eslint-plugin-import": "^2.22.0", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint": "^8.19.0", | ||
"jest": "^27.4.2", | ||
@@ -76,0 +73,0 @@ "tsc-esm-fix": "^2.7.8" |
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 too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
893225
7
20779