@stenajs-webui/calendar
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import * as React from "react"; | ||
import { CalendarWithMonthSwitcherProps } from "../../../features/month-switcher/CalendarWithMonthSwitcher"; | ||
@@ -18,2 +18,2 @@ export declare type DateRangeFocusedInput = "startDate" | "endDate" | undefined; | ||
} | ||
export declare function DateRangeCalendar<T extends {}>(props: DateRangeCalendarProps<T>): JSX.Element; | ||
export declare function DateRangeCalendar<T extends {}>(props: DateRangeCalendarProps<T>): React.ReactElement<T>; |
@@ -5,3 +5,3 @@ import * as React from "react"; | ||
import { DateRangeInputTheme } from "./DateRangeInputTheme"; | ||
export interface DateRangeInputProps { | ||
export interface DateRangeInputProps<T extends {}> { | ||
/** The current date range value */ | ||
@@ -54,4 +54,4 @@ value: DateRangeCalendarOnChangeValue; | ||
/** Props to be passed to DateRangeCalendar, see DateRangeCalendar. */ | ||
calendarProps?: DateRangeCalendarProps<{}>; | ||
calendarProps?: Omit<DateRangeCalendarProps<T>, "startDateInFocus" | "onChange" | "startDate" | "endDate" | "setStartDate" | "setEndDate" | "focusedInput" | "setFocusedInput" | "theme">; | ||
} | ||
export declare const DateRangeInput: React.FC<DateRangeInputProps>; | ||
export declare const DateRangeInput: <T extends {}>({ displayFormat, placeholderStartDate, placeholderEndDate, portalTarget, value, onChange, zIndex, width, toText, theme, calendarTheme, calendarProps }: DateRangeInputProps<T>) => React.ReactElement<DateRangeInputProps<T>, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>; |
{ | ||
"name": "@stenajs-webui/calendar", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "", | ||
@@ -15,2 +15,3 @@ "author": "mattias800", | ||
"jsnext:main": "dist/index.es.js", | ||
"sideEffects": false, | ||
"engines": { | ||
@@ -31,5 +32,5 @@ "node": ">=8", | ||
"dependencies": { | ||
"@stenajs-webui/core": "0.0.44", | ||
"@stenajs-webui/elements": "0.0.44", | ||
"@stenajs-webui/forms": "0.0.44", | ||
"@stenajs-webui/core": "0.0.45", | ||
"@stenajs-webui/elements": "0.0.45", | ||
"@stenajs-webui/forms": "0.0.45", | ||
"date-fns": "2.0.1", | ||
@@ -74,3 +75,3 @@ "popper.js": "^1.15.0", | ||
], | ||
"gitHead": "17de4a61f47e1373527d53316794aabc3824c14a" | ||
"gitHead": "201cd68281ab0a317ec7ab6eeca8d6d3750b3cba" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
458233
3386
+ Added@stenajs-webui/core@0.0.45(transitive)
+ Added@stenajs-webui/elements@0.0.45(transitive)
+ Added@stenajs-webui/forms@0.0.45(transitive)
- Removed@stenajs-webui/core@0.0.44(transitive)
- Removed@stenajs-webui/elements@0.0.44(transitive)
- Removed@stenajs-webui/forms@0.0.44(transitive)
Updated@stenajs-webui/core@0.0.45
Updated@stenajs-webui/forms@0.0.45