@remotelock/react-week-scheduler
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -7,3 +7,3 @@ 'use strict'; | ||
var React = _interopDefault(require('react')); | ||
var React = require('react'); | ||
var useComponentSize = _interopDefault(require('@rehooks/component-size')); | ||
@@ -21,4 +21,4 @@ var classcat = _interopDefault(require('classcat')); | ||
var en = _interopDefault(require('date-fns/locale/en')); | ||
var rxjs = _interopDefault(require('rxjs')); | ||
var operators = _interopDefault(require('rxjs/operators')); | ||
var rxjs = require('rxjs'); | ||
var operators = require('rxjs/operators'); | ||
var Mousetrap = _interopDefault(require('mousetrap')); | ||
@@ -25,0 +25,0 @@ var clamp = _interopDefault(require('lodash/clamp')); |
{ | ||
"name": "@remotelock/react-week-scheduler", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "tag": "next" |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { CellInfo } from '../types'; | ||
@@ -3,0 +3,0 @@ export declare const Cell: React.NamedExoticComponent<{ |
@@ -1,4 +0,4 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { EventRootProps } from '../types'; | ||
export declare const DefaultEventRootComponent: React.MemoExoticComponent<React.ForwardRefExoticComponent<EventRootProps & React.RefAttributes<any>>>; | ||
//# sourceMappingURL=DefaultEventRootComponent.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { ClassNames } from '../types'; | ||
@@ -3,0 +3,0 @@ export declare type EventContentProps = { |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { CellInfo } from '../types'; | ||
@@ -3,0 +3,0 @@ import { ScheduleProps } from './Schedule'; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { CellInfo, ClassNames, DateRange, Grid, OnChangeCallback } from '../types'; | ||
@@ -3,0 +3,0 @@ export declare type ScheduleProps = { |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
export declare const TimeGridScheduler: React.NamedExoticComponent<{ | ||
@@ -3,0 +3,0 @@ originDate?: Date | undefined; |
import en from 'date-fns/locale/en'; | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
export declare const SchedulerContext: React.Context<{ | ||
@@ -4,0 +4,0 @@ locale: typeof en; |
import en from 'date-fns/locale/en'; | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
export const SchedulerContext = React.createContext({ locale: en }); |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { Rect } from '../types'; | ||
@@ -3,0 +3,0 @@ export declare function useClickAndDrag(ref: React.RefObject<HTMLElement>, isDisabled?: boolean): { |
@@ -1,4 +0,4 @@ | ||
import React from 'react'; | ||
import rxjs, { Observable } from 'rxjs'; | ||
import operators from 'rxjs/operators'; | ||
import * as React from 'react'; | ||
import * as rxjs from 'rxjs'; | ||
import * as operators from 'rxjs/operators'; | ||
import { Rect } from '../types'; | ||
@@ -85,3 +85,3 @@ import { createPageMapCoordsToContainer } from '../utils/createPageMapCoordsToContainer'; | ||
const box$: Observable<Rect | null> = dragStart$.pipe( | ||
const box$: rxjs.Observable<Rect | null> = dragStart$.pipe( | ||
tap(() => { | ||
@@ -88,0 +88,0 @@ setIsDragging(true); |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
export declare function useEventListener<K extends keyof HTMLElementEventMap, Element extends HTMLElement>(ref: React.RefObject<Element>, event: K, listener: (this: Element, event: HTMLElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions, { enabled }?: { | ||
@@ -3,0 +3,0 @@ enabled?: boolean | undefined; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
@@ -3,0 +3,0 @@ export function useEventListener< |
/// <reference types="mousetrap" /> | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Use mousetrap hook |
import Mousetrap from 'mousetrap'; | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
@@ -4,0 +4,0 @@ const { useEffect, useRef } = React; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1002850