Socket
Socket
Sign inDemoInstall

@types/react-big-calendar

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-big-calendar - npm Package Compare versions

Comparing version 0.24.6 to 0.24.7

64

react-big-calendar/index.d.ts

@@ -20,2 +20,3 @@ // Type definitions for react-big-calendar 0.24

// Chris Vandenberg <https://github.com/altruisticsoftware>
// Chris Frewin <https://github.com/princefishthrower>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -396,3 +397,66 @@ // TypeScript Version: 2.8

export interface TimeGridProps<TEvent extends object = Event, TResource extends object = object> {
eventOffset: number;
events?: TEvent[];
resources?: TResource[];
step?: number;
timeslots?: number;
range?: any[];
min?: stringOrDate;
max?: stringOrDate;
getNow?: () => Date;
scrollToTime?: Date;
showMultiDayTimes?: boolean;
rtl?: boolean;
width?: number;
accessors?: object;
components?: object;
getters?: object;
localizer?: object;
selected?: object;
selectable?: boolean | 'ignoreEvents';
longPressThreshold?: number;
onNavigate?: (action: NavigateAction) => void;
onSelectSlot?: (slotInfo: {
start: stringOrDate;
end: stringOrDate;
slots: Date[] | string[];
action: 'select' | 'click' | 'doubleClick';
}) => void;
onSelectEnd?: (...args: any[]) => any;
onSelectStart?: (...args: any[]) => any;
onSelectEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;
onDoubleClickEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;
onKeyPressEvent?: (...args: any[]) => any;
onDrillDown?: (date: Date, view: View) => void;
getDrilldownView?: ((targetDate: Date, currentViewName: View, configuredViewNames: View[]) => void) | null;
dayLayoutAlgorithm?: any;
}
export class TimeGrid<TEvent extends object = Event, TResource extends object = object> extends React.Component<
TimeGridProps<TEvent, TResource>
> {}
export interface WorkWeekProps {
date: Date;
}
export class WorkWeek extends Week {}
export interface WeekProps {
date: Date;
}
export class Week extends React.Component<WeekProps> {
static range: (date: Date) => Date[];
static navigate: (date: Date, action: NavigateAction) => Date;
static title: (date: Date) => string;
}
export interface DayProps {
date: Date;
}
export class Day extends React.Component<DayProps> {}
// Turn off automatic exports
export {};

11

react-big-calendar/package.json
{
"name": "@types/react-big-calendar",
"version": "0.24.6",
"version": "0.24.7",
"description": "TypeScript definitions for react-big-calendar",

@@ -91,2 +91,7 @@ "license": "MIT",

"githubUsername": "altruisticsoftware"
},
{
"name": "Chris Frewin",
"url": "https://github.com/princefishthrower",
"githubUsername": "princefishthrower"
}

@@ -106,4 +111,4 @@ ],

},
"typesPublisherContentHash": "3b92c040283577d0c9910319da7fb698ef383b09942770cbe41dba4df4104faa",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "91cf6cb1b4fd2fd74d6c13cc9127e6b091c18fed840d646241613e986f36f8f7",
"typeScriptVersion": "3.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 22 Aug 2020 09:52:48 GMT
* Last updated: Tue, 13 Oct 2020 08:03:21 GMT
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/react](https://npmjs.com/package/@types/react)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Piotr Witek](https://github.com/piotrwitek), [Austin Turner](https://github.com/paustint), [Krzysztof Bezrąk](https://github.com/pikpok), [Sebastian Silbermann](https://github.com/eps1lon), [Paul Potsides](https://github.com/strongpauly), [janb87](https://github.com/janb87), [Daniel Thorne](https://github.com/ldthorne), [Panagiotis Rikarnto Siavelis](https://github.com/siavelis), [Lucas Silva Souza](https://github.com/lksilva), [Siarhey Belofost](https://github.com/SergeyBelofost), [Mark Nelissen](https://github.com/marknelissen), [Eric Kenney](https://github.com/KenneyE), [Paito Anderson](https://github.com/PaitoAnderson), [Jan Michalak](https://github.com/michalak111), [Tom Price](https://github.com/tomtom5152), [Daniele Carrucciu](https://github.com/catruzz), and [Chris Vandenberg](https://github.com/altruisticsoftware).
These definitions were written by [Piotr Witek](https://github.com/piotrwitek), [Austin Turner](https://github.com/paustint), [Krzysztof Bezrąk](https://github.com/pikpok), [Sebastian Silbermann](https://github.com/eps1lon), [Paul Potsides](https://github.com/strongpauly), [janb87](https://github.com/janb87), [Daniel Thorne](https://github.com/ldthorne), [Panagiotis Rikarnto Siavelis](https://github.com/siavelis), [Lucas Silva Souza](https://github.com/lksilva), [Siarhey Belofost](https://github.com/SergeyBelofost), [Mark Nelissen](https://github.com/marknelissen), [Eric Kenney](https://github.com/KenneyE), [Paito Anderson](https://github.com/PaitoAnderson), [Jan Michalak](https://github.com/michalak111), [Tom Price](https://github.com/tomtom5152), [Daniele Carrucciu](https://github.com/catruzz), [Chris Vandenberg](https://github.com/altruisticsoftware), and [Chris Frewin](https://github.com/princefishthrower).
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