@glideapps/glide-data-grid
Advanced tools
Comparing version 4.99.0-beta5 to 5.0.0-beta1
12
API.md
@@ -276,3 +276,3 @@ # Basic Usage | ||
readonly themeOverride?: Partial<Theme>; | ||
readonly span?: Item; | ||
readonly span?: readonly [number, number]; | ||
readonly contentAlign?: "left" | "right" | "center"; | ||
@@ -283,2 +283,12 @@ readonly cursor?: CSSProperties["cursor"]; | ||
| Property | Description | | ||
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| allowOverlay | Determins if an overlay editor or previewer should be shown when activating this cell. | | ||
| lastUpdated | If set, the grid will render this cell with a highlighted background which fades out. Uses performance.now() instead of Date.now(). | | ||
| style | If set to `faded` the cell will draw with a transparent appearance. | | ||
| themeOverride | A partial theme override to use when drawing this cell. | | ||
| span | If set the `span` controls which horizontal span a cell belongs to. Spans are inclusive and must be correctly reported for all cells in the span range. | | ||
| contentAlign | Changes the default text alignment for the cell. | | ||
| cursor | An override for the cell cursor when hovered. | | ||
--- | ||
@@ -285,0 +295,0 @@ |
@@ -214,3 +214,3 @@ import type { Theme } from "../common/styles"; | ||
readonly themeOverride?: Partial<Theme>; | ||
readonly span?: Item; | ||
readonly span?: readonly [number, number]; | ||
readonly contentAlign?: "left" | "right" | "center"; | ||
@@ -343,2 +343,3 @@ readonly cursor?: CSSProperties["cursor"]; | ||
equals: (other: CompactSelection) => boolean; | ||
toArray: () => number[]; | ||
get length(): number; | ||
@@ -345,0 +346,0 @@ [Symbol.iterator](): Generator<number, void, unknown>; |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "4.99.0-beta5", | ||
"version": "5.0.0-beta1", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -5,0 +5,0 @@ "sideEffects": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
903427
21050