streaksheet
Advanced tools
Comparing version 0.10.6 to 0.10.7
@@ -9,2 +9,3 @@ import React from 'react'; | ||
copiedRegion?: [CellIndexes, CellIndexes]; | ||
columnHeaderHeight: number; | ||
defaultRowHeight: number; | ||
@@ -11,0 +12,0 @@ topSectionHeight: number; |
@@ -9,2 +9,3 @@ import React from 'react'; | ||
copiedRegion?: [CellIndexes, CellIndexes]; | ||
columnHeaderHeight: number; | ||
defaultRowHeight: number; | ||
@@ -11,0 +12,0 @@ topSectionHeight: number; |
@@ -7,5 +7,5 @@ import React, { ComponentType } from 'react'; | ||
interface Props { | ||
ColumnHeaderCell: ComponentType<ColumnHeaderCellProps>; | ||
ColumnHeaderCell?: ComponentType<ColumnHeaderCellProps>; | ||
columns: ColumnInfo[]; | ||
height: number; | ||
columnHeaderHeight: number; | ||
liveResize: boolean; | ||
@@ -12,0 +12,0 @@ minimumColumnWidth: number; |
import type SectionRelativeRowMatcher from './SectionRelativeRowMatcher'; | ||
import type { CellIndexes } from './internalTypes'; | ||
import type { ColumnAndOverviewData, Section } from './useSheetData'; | ||
export default function getRectForRange(start: CellIndexes, end: CellIndexes, columnAndOverviewData: ColumnAndOverviewData, sectionRowMatcher: SectionRelativeRowMatcher, defaultRowHeight: number, topSectionHeight: number, getEffectiveSectionRowCount: (section: Section) => number): { | ||
export default function getRectForRange(start: CellIndexes, end: CellIndexes, columnAndOverviewData: ColumnAndOverviewData, sectionRowMatcher: SectionRelativeRowMatcher, columnHeaderHeight: number, defaultRowHeight: number, topSectionHeight: number, getEffectiveSectionRowCount: (section: Section) => number): { | ||
height: number; | ||
@@ -6,0 +6,0 @@ left: number; |
@@ -115,5 +115,13 @@ import * as React from 'react'; | ||
SectionHeaderCell: ComponentType<SectionHeaderCellProps>; | ||
ColumnHeaderCell: ComponentType<ColumnHeaderCellProps>; | ||
/** | ||
* Component to use for Column Header cells. | ||
* If not provided, then no column header row will be present. Note that | ||
* the column resize drag handles are usually present in the column header | ||
* row, so omitting the column header row currently prevents columns from | ||
* being resized. | ||
*/ | ||
ColumnHeaderCell?: ComponentType<ColumnHeaderCellProps>; | ||
search?(query: string, direction: SearchDirection, startPosition: CellPosition, includeContext: boolean): Promise<SearchResult<T>>; | ||
defaultRowHeight: number; | ||
columnHeaderHeight?: number; | ||
frozenColumns?: number; | ||
@@ -120,0 +128,0 @@ initialScrollTop?: number; |
@@ -118,2 +118,3 @@ import type { ComponentType } from 'react'; | ||
topSectionHeight: number; | ||
columnHeaderHeight: number; | ||
setCellBeingEdited: SetCellBeingEdited; | ||
@@ -120,0 +121,0 @@ setHoveredRow(row: number | undefined): void; |
@@ -8,2 +8,3 @@ import { CSSProperties } from 'react'; | ||
columnAndOverviewData: ColumnAndOverviewData; | ||
columnHeaderHeight: number; | ||
defaultRowHeight: number; | ||
@@ -16,3 +17,3 @@ topSectionHeight: number; | ||
} | ||
export default function RegionSpan({ columnAndOverviewData, defaultRowHeight, topSectionHeight, region, sectionRowMatcher, styleFunction, getEffectiveSectionRowCount, }: Props): JSX.Element | null; | ||
export default function RegionSpan({ columnAndOverviewData, columnHeaderHeight, defaultRowHeight, topSectionHeight, region, sectionRowMatcher, styleFunction, getEffectiveSectionRowCount, }: Props): JSX.Element | null; | ||
export {}; |
@@ -22,4 +22,5 @@ import * as React from 'react'; | ||
getEffectiveSectionRowCount: (section: Section) => number; | ||
columnHeaderHeight: number; | ||
} | ||
declare const SectionHeadersContainer: React.NamedExoticComponent<Props>; | ||
export default SectionHeadersContainer; |
{ | ||
"name": "streaksheet", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"author": "Chris Cowan <agentme49@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
1395571
1864