@technokratos/components-react
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -1,2 +0,2 @@ | ||
import { Moment } from 'moment'; | ||
import { DateTime } from 'luxon'; | ||
export interface GeneratedDay { | ||
@@ -9,23 +9,20 @@ isDisabled: boolean; | ||
isWeekend: boolean; | ||
moment: Moment; | ||
date: string; | ||
day: number; | ||
isCurrentMonth: boolean; | ||
date: DateTime; | ||
currentMonth?: boolean; | ||
day?: number; | ||
} | ||
export declare const getDayProps: ({ d, selectionStart, selectionEnd, startDate, endDate, selectedDay, }: { | ||
d: any; | ||
selectionStart: any; | ||
selectionEnd: any; | ||
startDate: any; | ||
endDate: any; | ||
selectedDay: any; | ||
}) => Partial<GeneratedDay>; | ||
export declare const generateMonth: ({ month, startDate, endDate, selectionStart, selectionEnd, selectedDay, sixWeeks, }: { | ||
month?: Moment; | ||
startDate?: Moment; | ||
endDate?: Moment; | ||
selectionStart?: Moment; | ||
selectionEnd?: Moment; | ||
selectedDay?: Moment; | ||
export declare const getDayProps: ({ date, selectionStart, selectionEnd, startDate, endDate, }: { | ||
date: DateTime; | ||
selectionStart?: DateTime; | ||
selectionEnd?: DateTime; | ||
startDate?: DateTime; | ||
endDate?: DateTime; | ||
}) => GeneratedDay; | ||
export declare const generateMonth: ({ month, startDate, endDate, selectionStart, selectionEnd, sixWeeks, }: { | ||
month: DateTime; | ||
startDate?: DateTime; | ||
endDate?: DateTime; | ||
selectionStart?: DateTime; | ||
selectionEnd?: DateTime; | ||
sixWeeks?: boolean; | ||
}) => Array<GeneratedDay>; |
import { FC } from 'react'; | ||
import 'moment/locale/ru'; | ||
interface Props { | ||
@@ -4,0 +3,0 @@ selectionStart?: string; |
{ | ||
"name": "@technokratos/components-react", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"dependencies": { | ||
@@ -9,3 +9,3 @@ "@popperjs/core": "^2.4.4", | ||
"react-textarea-autosize": "^8.2.0", | ||
"moment": "^2.27.0", | ||
"luxon": "^1.27.0", | ||
"rxjs": "6.5.5", | ||
@@ -12,0 +12,0 @@ "react-imask": "^6.0.5" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
144497
3711
1
+ Addedluxon@^1.27.0
+ Addedluxon@1.28.1(transitive)
- Removedmoment@^2.27.0
- Removedmoment@2.30.1(transitive)