@devexpress/dx-react-scheduler-material-ui
Advanced tools
Comparing version 1.11.1 to 2.0.0
@@ -385,7 +385,9 @@ import * as React from 'react'; | ||
export interface DayViewProps { | ||
/** The view name. Required if you use several `DayView` plugins. */ | ||
/** The view's unique identifier. Required if you use several `DayView` plugins. */ | ||
name?: string; | ||
/** The view's name used in UI plugins. The default value is `name`. */ | ||
displayName?: string; | ||
/** Multiplies the default view interval. */ | ||
intervalCount?: number; | ||
/** Specifies the cell duration in minutes. */ | ||
/** Specifies the cell's duration in minutes. */ | ||
cellDuration?: number; | ||
@@ -552,4 +554,6 @@ /** Specifies the start hour of the view time scale. */ | ||
export interface MonthViewProps { | ||
/** The view name. Required if you use several `MonthView` plugins. */ | ||
/** The view's unique identifier. Required if you use several `MonthView` plugins. */ | ||
name?: string; | ||
/** The view's name used in UI plugins. The default value is equal to `name`. */ | ||
displayName?: string; | ||
/** Specifies first day of week. */ | ||
@@ -627,2 +631,29 @@ firstDayOfWeek?: number; | ||
// ------------------------------------------------------------------------------------------------- | ||
// TodayButton | ||
// ------------------------------------------------------------------------------------------------- | ||
import { | ||
TodayButton as TodayButtonBase, | ||
} from '@devexpress/dx-react-scheduler'; | ||
export namespace TodayButton { | ||
/** Properties passed to the component that renders the today button. */ | ||
export type ButtonProps = TodayButtonBase.ButtonProps; | ||
} | ||
export interface TodayButtonProps { | ||
/** A component that renders the today button. */ | ||
buttonComponent?: React.ComponentType<TodayButtonBase.ButtonProps>; | ||
/** An object that specifies localization messages. */ | ||
messages?: TodayButtonBase.LocalizationMessages; | ||
} | ||
/** A plugin that renders the Scheduler's button that is used to navigate to the today's date */ | ||
export declare const TodayButton: React.ComponentType<TodayButtonProps> & { | ||
/** A component that renders the today button. */ | ||
Button: React.ComponentType<TodayButtonBase.ButtonProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>; | ||
}; | ||
// ------------------------------------------------------------------------------------------------- | ||
// Toolbar | ||
@@ -751,5 +782,7 @@ // ------------------------------------------------------------------------------------------------- | ||
export interface WeekViewProps { | ||
/** The view name. Required if you use several `WeekView` plugins. */ | ||
/** The view's unique identifier. Required if you use several `WeekView` plugins. */ | ||
name?: string; | ||
/** Specifies the days of week that should not be displayed on the view. Accepts an array of zero-bazed day indexes . */ | ||
/** The view's name used in UI plugins. The default value is equal to `name`. */ | ||
displayName?: string; | ||
/** Specifies the days of week that should not be displayed in the view. Accepts an array of zero-bazed day indexes . */ | ||
excludedDays?: Array<number>; | ||
@@ -760,3 +793,3 @@ /** Specifies the first day of week. */ | ||
intervalCount?: number; | ||
/** Specifies the cell duration in minutes. */ | ||
/** Specifies the cell's duration in minutes. */ | ||
cellDuration?: number; | ||
@@ -763,0 +796,0 @@ /** Specifies the start hour of the view time scale. */ |
{ | ||
"name": "@devexpress/dx-react-scheduler-material-ui", | ||
"version": "1.11.1", | ||
"version": "2.0.0", | ||
"description": "Material-UI templates for DevExtreme React Scheduler component", | ||
@@ -50,8 +50,8 @@ "author": { | ||
"@babel/preset-react": "^7.0.0", | ||
"@devexpress/dx-react-core": "1.11.1", | ||
"@devexpress/dx-react-scheduler": "1.11.1", | ||
"@devexpress/dx-scheduler-core": "1.11.1", | ||
"@devexpress/dx-testing": "1.11.1", | ||
"@material-ui/core": "^3.9.3", | ||
"@material-ui/icons": "^3.0.2", | ||
"@devexpress/dx-react-core": "2.0.0", | ||
"@devexpress/dx-react-scheduler": "2.0.0", | ||
"@devexpress/dx-scheduler-core": "2.0.0", | ||
"@devexpress/dx-testing": "2.0.0", | ||
"@material-ui/core": "^4.1.3", | ||
"@material-ui/icons": "^4.2.1", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -87,10 +87,10 @@ "babel-jest": "^24.8.0", | ||
"peerDependencies": { | ||
"@devexpress/dx-react-core": "1.11.1", | ||
"@devexpress/dx-react-scheduler": "1.11.1", | ||
"@devexpress/dx-scheduler-core": "1.11.1", | ||
"@material-ui/core": ">=3.9.2", | ||
"@material-ui/icons": ">=3.0.2", | ||
"@devexpress/dx-react-core": "2.0.0", | ||
"@devexpress/dx-react-scheduler": "2.0.0", | ||
"@devexpress/dx-scheduler-core": "2.0.0", | ||
"@material-ui/core": ">=4.1.0", | ||
"@material-ui/icons": ">=4.2.0", | ||
"react": ">=16.8.6" | ||
}, | ||
"gitHead": "1e024a4be45e7b7141404f5a2fbf7b2f9c1d7afa" | ||
"gitHead": "d7aa247ebebd08f5d99aebf60d0c91d7d3fffd18" | ||
} |
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
582466
6596
106