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

streaksheet

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streaksheet - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

dist/src/useEvent.d.ts

4

dist/src/SectionHeadersContainer.d.ts

@@ -6,3 +6,3 @@ import * as React from 'react';

import { ColumnAndOverviewData, Section } from './useSheetData';
interface Props<T> {
interface Props {
cellBeingEdited: CellKeys | null;

@@ -24,3 +24,3 @@ columnAndOverviewData: ColumnAndOverviewData;

}
declare const SectionHeadersContainer: React.MemoExoticComponent<(<T>({ cellBeingEdited, columnAndOverviewData, totalWidth, defaultRowHeight, setCellBeingEdited, styles, topSectionHeight, groupbarMaxHeight, groupbarHeightVarName, groupbarHeightTransition, visibleColumns, SectionHeaderCell, selectedRowsManager, getEffectiveSectionRowCount, }: Props<T>) => JSX.Element)>;
declare const SectionHeadersContainer: React.NamedExoticComponent<Props>;
export default SectionHeadersContainer;

@@ -29,9 +29,18 @@ /// <reference types="react" />

row: NonNullable<T>;
updates: RowColumnWrite[];
updates: ({
type: "PASTE";
columnKey: string;
internal?: string | undefined;
external: string;
} | {
type: "CLEAR";
columnKey: string;
sectionKey: string;
})[];
}[];
export default function useCopyPaste<T>(cellSelectionManager: CellSelectionManager, copyHandler: CopyHandler<T>, onWrite: WriteHandler<T>, onUnsupportedOperation: ((unsupportedOperation: UnsupportedOperation) => void) | undefined, copyOperation: CopyOperation | null, setCopyOperation: React.Dispatch<React.SetStateAction<CopyOperation | null>>, regionDataGetter: (regions: CellRegion[]) => RegionDataResult<T>, onAsyncAction?: (action: AsyncAction) => void): {
handleCopy: (e: import("react").ClipboardEvent<Element>, isCut?: any) => void;
handlePaste: (e: import("react").ClipboardEvent<Element>) => void;
handleCut: (e: import("react").ClipboardEvent<Element>) => void;
handleCopy: (e: React.ClipboardEvent, isCut?: any) => void;
handlePaste: (e: React.ClipboardEvent) => void;
handleCut: (e: React.ClipboardEvent) => void;
};
export {};

@@ -10,2 +10,2 @@ /// <reference types="react" />

import { WriteHandler } from './useSheetData';
export default function useGridKeyDown(cellSelectionManager: CellSelectionManager, cellDataMappers: CellDataMappers<any>, cellBeingEdited: CellKeys | null, setCellBeingEdited: SetCellBeingEdited, setCopyOperation: React.Dispatch<React.SetStateAction<CopyOperation | null>>, onOpenSearch: (() => void) | undefined, onUnhandledKeyDown: Props<any, any>['onUnhandledKeyDown'], onWrite: WriteHandler<any>, regionDataGetter: (regions: CellRegion[]) => RegionDataResult<any>, innerElementRef: React.RefObject<InnerElementRef>, onAsyncAction?: (action: AsyncAction) => void): (event: import("react").KeyboardEvent<Element>) => void;
export default function useGridKeyDown(cellSelectionManager: CellSelectionManager, cellDataMappers: CellDataMappers<any>, cellBeingEdited: CellKeys | null, setCellBeingEdited: SetCellBeingEdited, setCopyOperation: React.Dispatch<React.SetStateAction<CopyOperation | null>>, onOpenSearch: (() => void) | undefined, onUnhandledKeyDown: Props<any, any>['onUnhandledKeyDown'], onWrite: WriteHandler<any>, regionDataGetter: (regions: CellRegion[]) => RegionDataResult<any>, innerElementRef: React.RefObject<InnerElementRef>, onAsyncAction?: (action: AsyncAction) => void): (event: React.KeyboardEvent) => void;
{
"name": "streaksheet",
"version": "0.10.4",
"version": "0.10.5",
"author": "Chris Cowan <agentme49@gmail.com>",

@@ -40,13 +40,12 @@ "license": "MIT",

"@types/react-window": "^1.8.1",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"babel-jest": "^26.0.1",
"eslint": "^7.0.0",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.0.6",
"eslint": "^8.15.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^4.2.3",
"jest": "^26.0.1",
"microbundle": "^0.14.2",
"node-abort-controller": "^1.0.4",
"prettier": "^2.0.2",
"prettier": "^2.6.2",
"prettier-check": "^2.0.0",

@@ -58,3 +57,3 @@ "pretty-quick": "^2.0.1",

"rimraf": "^3.0.2",
"typescript": "3.8.3"
"typescript": "^4.6.4"
},

@@ -64,3 +63,2 @@ "dependencies": {

"immer": "^9.0.12",
"immutability-helper": "^3.1.1",
"lodash": "^4.17.15",

@@ -67,0 +65,0 @@ "papaparse": "^5.3.0",

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

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