Skip to content

Commit

Permalink
fix(dependencies): update dependencies
Browse files Browse the repository at this point in the history
affects: @datepicker-react/hooks, @datepicker-react/styled
  • Loading branch information
tresko committed Jun 11, 2019
1 parent a7418c4 commit 716f998
Show file tree
Hide file tree
Showing 12 changed files with 3,944 additions and 2,391 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"@types/storybook__addon-actions": "^3.4.3",
"@types/storybook__addon-knobs": "^5.0.1",
"@types/storybook__react": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"@typescript-eslint/eslint-plugin": "^1.10.2",
"@typescript-eslint/parser": "^1.10.2",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
Expand All @@ -72,7 +72,7 @@
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "^3.9.1",
"eslint-plugin-flowtype": "^3.10.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
Expand All @@ -85,12 +85,12 @@
"jest-dom": "^3.5.0",
"jest-environment-jsdom": "^24.8.0",
"jest-environment-node": "^24.8.0",
"jest-runner-eslint": "^0.7.3",
"jest-runner-eslint": "^0.7.4",
"jest-serializer-html": "^7.0.0",
"jest-styled-components": "^6.3.1",
"jest-watch-select-projects": "^0.1.1",
"jest-watch-typeahead": "^0.3.1",
"lerna": "^3.14.1",
"lerna": "^3.15.0",
"lint-staged": "^8.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
Expand All @@ -99,7 +99,7 @@
"react-hooks-testing-library": "^0.5.1",
"react-test-renderer": "^16.8.6",
"rimraf": "^2.6.3",
"rollup": "^1.14.0",
"rollup": "^1.15.0",
"rollup-plugin-analyzer": "^3.0.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/styled/lib/components/Close/Close.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
interface CloseProps {
onClick(): void
rtl: boolean
closeText: string
}
declare function Close({onClick, rtl}: CloseProps): JSX.Element
declare function Close({onClick, rtl, closeText}: CloseProps): JSX.Element
export default Close
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import React from 'react'
import {FormatFunction} from '@datepicker-react/hooks'
import {DateSingleInputPhrases} from '../../phrases'
import {FirstDayOfWeek, MonthType} from '@datepicker-react/hooks/src'
export interface OnDateChangeProps {
date: Date | null
showDatepicker: boolean
}
export interface DateRangeInputProps {
date: Date | null
minBookingDate?: Date
maxBookingDate?: Date
showDatepicker: boolean
numberOfMonths?: number
firstDayOfWeek?: FirstDayOfWeek
displayFormat?: string | FormatFunction
phrases?: DateSingleInputPhrases
showCalendarIcon?: boolean
vertical?: boolean
showResetDate?: boolean
showClose?: boolean
rtl?: boolean
placement?: 'top' | 'bottom'
onDateChange(data: OnDateChangeProps): void
onFocusChange(focusInput: boolean): void
initialVisibleMonth?(numberOfMonths: number): MonthType[]
isDateBlocked?(date: Date): boolean
onClose?(): void
dayLabelFormat?(date: Date): string
weekdayLabelFormat?(date: Date): string
monthLabelFormat?(date: Date): string
onDayRender?(date: Date): React.ReactNode
}
declare function DateSingleInput({
date,
minBookingDate,
maxBookingDate,
firstDayOfWeek,
onFocusChange,
showDatepicker,
onDateChange,
dayLabelFormat,
weekdayLabelFormat,
monthLabelFormat,
onDayRender,
numberOfMonths,
showClose,
showResetDate,
vertical,
rtl,
isDateBlocked,
onClose,
showCalendarIcon,
displayFormat,
phrases,
placement,
}: DateRangeInputProps): JSX.Element
export default DateSingleInput
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}
3 changes: 3 additions & 0 deletions packages/styled/lib/components/DateSingleInput/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import DateSingleInput, {OnDateChangeProps} from './DateSingleInput'
export {OnDateChangeProps}
export default DateSingleInput
Loading

0 comments on commit 716f998

Please sign in to comment.