Socket
Socket
Sign inDemoInstall

@types/react-big-calendar

Package Overview
Dependencies
3
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.22.4 to 0.24.0

21

react-big-calendar/index.d.ts

@@ -1,3 +0,3 @@

// Type definitions for react-big-calendar 0.22
// Project: https://github.com/intljusticemission/react-big-calendar
// Type definitions for react-big-calendar 0.24
// Project: https://github.com/jquense/react-big-calendar
// Definitions by: Piotr Witek <https://github.com/piotrwitek>

@@ -18,2 +18,3 @@ // Austin Turner <https://github.com/paustint>

// Jan Michalak <https://github.com/michalak111>
// Felix Hessenberger <https://github.com/fhessenberger>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -24,5 +25,6 @@ // TypeScript Version: 2.8

export type DayPropGetter = (date: Date) => { className?: string, style?: React.CSSProperties };
export type EventPropGetter<T> = (event: T, start: stringOrDate, end: stringOrDate, isSelected: boolean) => { className?: string, style?: React.CSSProperties };
export type SlotPropGetter = (date: Date) => { className?: string, style?: React.CSSProperties };
export type DayPropGetter = (date: Date, resourceId?: number | string) => React.HTMLAttributes<HTMLDivElement>;
export type EventPropGetter<T> = (event: T, start: stringOrDate, end: stringOrDate, isSelected: boolean) => React.HTMLAttributes<HTMLDivElement>;
export type SlotPropGetter = (date: Date, resourceId?: number | string) => React.HTMLAttributes<HTMLDivElement>;
export type SlotGroupPropGetter = () => React.HTMLAttributes<HTMLDivElement>;
export type stringOrDate = string | Date;

@@ -38,2 +40,3 @@ export type ViewKey = 'MONTH' | 'WEEK' | 'WORK_WEEK' | 'DAY' | 'AGENDA';

};
export type DayLayoutAlgorithm = 'overlap' | 'no-overlap';
export type NavigateAction = 'PREV' | 'NEXT' | 'TODAY' | 'DATE';

@@ -52,4 +55,4 @@ export interface Event {

export type DateFormatFunction = (date: Date, culture?: string, localizer?: object) => string;
export type DateRangeFormatFunction = (range: DateRange, culture?: string, localizer?: object) => string;
export type DateFormatFunction = (date: Date, culture?: Culture, localizer?: DateLocalizer) => string;
export type DateRangeFormatFunction = (range: DateRange, culture?: Culture, localizer?: DateLocalizer) => string;
export type DateFormat = string | DateFormatFunction;

@@ -235,3 +238,3 @@

export type Culture = string | string[];
export type Culture = string;
export type FormatInput = number | string | Date;

@@ -292,2 +295,3 @@

slotPropGetter?: SlotPropGetter;
slotGroupPropGetter?: SlotGroupPropGetter;
dayPropGetter?: DayPropGetter;

@@ -302,2 +306,3 @@ showMultiDayTimes?: boolean;

messages?: Messages;
dayLayoutAlgorithm?: DayLayoutAlgorithm;
titleAccessor?: keyof TEvent | ((event: TEvent) => string);

@@ -304,0 +309,0 @@ tooltipAccessor?: keyof TEvent | ((event: TEvent) => string);

{
"name": "@types/react-big-calendar",
"version": "0.22.4",
"version": "0.24.0",
"description": "TypeScript definitions for react-big-calendar",

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

"githubUsername": "michalak111"
},
{
"name": "Felix Hessenberger",
"url": "https://github.com/fhessenberger",
"githubUsername": "fhessenberger"
}

@@ -96,4 +101,4 @@ ],

},
"typesPublisherContentHash": "55609e8a786461e0ece88aa9503f2e4646024a1afb5735c106908758a797a98d",
"typesPublisherContentHash": "296d560ce3895581746f1666658683e6aae4ed3f2632e192241b32643442edd6",
"typeScriptVersion": "2.8"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for react-big-calendar (https://github.com/intljusticemission/react-big-calendar).
This package contains type definitions for react-big-calendar (https://github.com/jquense/react-big-calendar).

@@ -12,3 +12,3 @@ # Details

### Additional Details
* Last updated: Fri, 14 Feb 2020 01:49:09 GMT
* Last updated: Thu, 20 Feb 2020 18:42:37 GMT
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/react](https://npmjs.com/package/@types/react)

@@ -18,2 +18,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), Tomas Hubelbauer (https://github.com/TomasHubelbauer), 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), and Jan Michalak (https://github.com/michalak111).
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), [Tomas Hubelbauer](https://github.com/TomasHubelbauer), [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), and [Felix Hessenberger](https://github.com/fhessenberger).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc