Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iroomit/react-date-range

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iroomit/react-date-range - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

2

dist/accessibility/index.d.ts

@@ -1,2 +0,2 @@

export type AriasLabelsType = {
export type AriaLabelsType = {
dateInput?: {

@@ -3,0 +3,0 @@ startDate?: string;

@@ -6,2 +6,2 @@ "use strict";

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vc3JjL2FjY2Vzc2liaWxpdHkvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQXJpYXNMYWJlbHNUeXBlID0ge1xuICBkYXRlSW5wdXQ/OiB7XG4gICAgc3RhcnREYXRlPzogc3RyaW5nLFxuICAgIGVuZERhdGU/OiBzdHJpbmdcbiAgfSxcbiAgbW9udGhQaWNrZXI/OiBzdHJpbmcsXG4gIHllYXJQaWNrZXI/OiBzdHJpbmcsXG4gIHByZXZCdXR0b24/OiBzdHJpbmcsXG4gIG5leHRCdXR0b24/OiBzdHJpbmdcbn07Il0sIm1hcHBpbmdzIjoiIn0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vc3JjL2FjY2Vzc2liaWxpdHkvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQXJpYUxhYmVsc1R5cGUgPSB7XG4gIGRhdGVJbnB1dD86IHtcbiAgICBzdGFydERhdGU/OiBzdHJpbmcsXG4gICAgZW5kRGF0ZT86IHN0cmluZ1xuICB9LFxuICBtb250aFBpY2tlcj86IHN0cmluZyxcbiAgeWVhclBpY2tlcj86IHN0cmluZyxcbiAgcHJldkJ1dHRvbj86IHN0cmluZyxcbiAgbmV4dEJ1dHRvbj86IHN0cmluZ1xufTsiXSwibWFwcGluZ3MiOiIifQ==
import React from 'react';
import { StylesType } from '../../styles';
import { AriasLabelsType } from '../../accessibility';
import { AriaLabelsType } from '../../accessibility';
import { Locale } from 'date-fns';

@@ -59,4 +59,5 @@ import { DateRange } from '../DayCell';

preventSnapRefocus?: boolean;
ariaLabels?: AriasLabelsType;
ariaLabels?: AriaLabelsType;
preventScrollToFocusedMonth?: boolean;
};
export default function Calendar({ showMonthArrow, showMonthAndYearPickers, disabledDates, disabledDay, minDate, maxDate, date, onChange, onPreviewChange, onRangeFocusChange, classNames, locale, shownDate, onShownDateChange, ranges, preview, dateDisplayFormat, monthDisplayFormat, weekdayDisplayFormat, weekStartsOn, dayDisplayFormat, focusedRange, dayContentRenderer, months, className, showDateDisplay, showPreview, displayMode, color, updateRange, scroll, direction, startDatePlaceholder, endDatePlaceholder, rangeColors, editableDateInputs, dragSelectionEnabled, fixedHeight, calendarFocus, preventSnapRefocus, ariaLabels, }: CalendarProps): import("react/jsx-runtime").JSX.Element;
export default function Calendar({ showMonthArrow, showMonthAndYearPickers, disabledDates, disabledDay, minDate, maxDate, date, onChange, onPreviewChange, onRangeFocusChange, classNames, locale, shownDate, onShownDateChange, ranges, preview, dateDisplayFormat, monthDisplayFormat, weekdayDisplayFormat, weekStartsOn, dayDisplayFormat, focusedRange, dayContentRenderer, months, className, showDateDisplay, showPreview, displayMode, color, updateRange, scroll, direction, startDatePlaceholder, endDatePlaceholder, rangeColors, editableDateInputs, dragSelectionEnabled, fixedHeight, calendarFocus, preventSnapRefocus, ariaLabels, preventScrollToFocusedMonth }: CalendarProps): import("react/jsx-runtime").JSX.Element;

@@ -12,2 +12,2 @@ import { CalendarProps } from '../Calendar';

} & CalendarProps;
export default function DateRange({ ariaLabels, weekStartsOn, weekdayDisplayFormat, editableDateInputs, endDatePlaceholder, showMonthAndYearPickers, onShownDateChange, preventSnapRefocus, preview, scroll, showDateDisplay, showMonthArrow, showPreview, shownDate, startDatePlaceholder, date, dateDisplayFormat, dayContentRenderer, dayDisplayFormat, direction, disabledDay, dragSelectionEnabled, fixedHeight, locale, calendarFocus, className, monthDisplayFormat, months, onChange, classNames, ranges, moveRangeOnFirstSelection, retainEndDateOnFirstSelection, rangeColors, disabledDates, initialFocusedRange, focusedRange, maxDate, minDate, onRangeFocusChange, color, previewRange }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
export default function DateRange({ ariaLabels, weekStartsOn, weekdayDisplayFormat, editableDateInputs, endDatePlaceholder, showMonthAndYearPickers, onShownDateChange, preventSnapRefocus, preview, scroll, showDateDisplay, showMonthArrow, showPreview, shownDate, startDatePlaceholder, date, dateDisplayFormat, dayContentRenderer, dayDisplayFormat, direction, disabledDay, dragSelectionEnabled, fixedHeight, locale, calendarFocus, className, monthDisplayFormat, months, onChange, classNames, ranges, moveRangeOnFirstSelection, retainEndDateOnFirstSelection, rangeColors, disabledDates, initialFocusedRange, focusedRange, maxDate, minDate, onRangeFocusChange, color, previewRange, preventScrollToFocusedMonth }: DateRangeProps): import("react/jsx-runtime").JSX.Element;

@@ -57,3 +57,4 @@ "use strict";

color,
previewRange
previewRange,
preventScrollToFocusedMonth
} = _ref;

@@ -225,5 +226,6 @@ const refs = _react.default.useRef({

minDate: minDate,
color: color
color: color,
preventScrollToFocusedMonth: preventScrollToFocusedMonth
});
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfcmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl9DYWxlbmRhciIsIl91dGlscyIsIl9zdHlsZXMiLCJfZGF0ZUZucyIsIl9jbGFzc25hbWVzIiwib2JqIiwiX19lc01vZHVsZSIsImRlZmF1bHQiLCJEYXRlUmFuZ2UiLCJfcmVmIiwiYXJpYUxhYmVscyI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0sRUFBRUEsTUFBTztJQUNmQyxhQUFhLEVBQUVBLGFBQWM7SUFDN0J3RSxXQUFXLEVBQUMsV0FBVztJQUN2QnZFLFNBQVMsRUFBRSxJQUFBd0UsbUJBQVUsRUFBQ3RELElBQUksQ0FBQ3VELE9BQU8sQ0FBQ3BELE1BQU0sQ0FBQ3FELGdCQUFnQixFQUFFMUUsU0FBUyxDQUFFO0lBQ3ZFRyxRQUFRLEVBQUUwRCxZQUFhO0lBQ3ZCYyxXQUFXLEVBQUVSLEdBQUcsSUFBSU4sWUFBWSxDQUFDTSxHQUFHLEVBQUUsS0FBSyxDQUFFO0lBQzdDbEUsa0JBQWtCLEVBQUVBLGtCQUFtQjtJQUN2Q0MsTUFBTSxFQUFFQSxNQUFPO0lBQ2ZFLFVBQVUsRUFBRUEsVUFBVztJQUN2QkMsTUFBTSxFQUFFQSxNQUFPO0lBQ2ZHLFdBQVcsRUFBRUEsV0FBWTtJQUN6QkMsYUFBYSxFQUFFQSxhQUFjO0lBQzdCQyxtQkFBbUIsRUFBRUEsbUJBQW9CO0lBQ3pDRSxPQUFPLEVBQUVBLE9BQVE7SUFDakJDLE9BQU8sRUFBRUEsT0FBUTtJQUNqQkUsS0FBSyxFQUFFQSxLQUFNO0lBQ2JFLDJCQUEyQixFQUFFQTtFQUE0QixDQUMxRCxDQUFDO0FBRU4ifQ==
import { DateRangeProps } from '../DateRange';
import { DefinedRangeProps } from '../DefinedRange';
export type DateRangePickerProps = DateRangeProps & DefinedRangeProps;
export default function DateRangePicker({ weekStartsOn, weekdayDisplayFormat, editableDateInputs, endDatePlaceholder, rangeColors, ranges, renderStaticRangeLabel, retainEndDateOnFirstSelection, showMonthAndYearPickers, updateRange, initialFocusedRange, ariaLabels, scroll, showDateDisplay, showMonthArrow, showPreview, shownDate, startDatePlaceholder, date, dateDisplayFormat, dayContentRenderer, dayDisplayFormat, direction, disabledDates, disabledDay, displayMode, dragSelectionEnabled, fixedHeight, focusedRange, onChange, footerContent, headerContent, locale, calendarFocus, className, classNames, color, maxDate, minDate, monthDisplayFormat, months, moveRangeOnFirstSelection }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
export default function DateRangePicker({ weekStartsOn, weekdayDisplayFormat, editableDateInputs, endDatePlaceholder, rangeColors, ranges, renderStaticRangeLabel, retainEndDateOnFirstSelection, showMonthAndYearPickers, updateRange, initialFocusedRange, ariaLabels, scroll, showDateDisplay, showMonthArrow, showPreview, shownDate, startDatePlaceholder, date, dateDisplayFormat, dayContentRenderer, dayDisplayFormat, direction, disabledDates, disabledDay, displayMode, dragSelectionEnabled, fixedHeight, focusedRange, onChange, footerContent, headerContent, locale, calendarFocus, className, classNames, color, maxDate, minDate, monthDisplayFormat, months, moveRangeOnFirstSelection, preventScrollToFocusedMonth }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;

@@ -57,3 +57,4 @@ "use strict";

months,
moveRangeOnFirstSelection
moveRangeOnFirstSelection,
preventScrollToFocusedMonth
} = _ref;

@@ -120,5 +121,6 @@ const refs = _react.default.useRef({

months: months,
moveRangeOnFirstSelection: moveRangeOnFirstSelection
moveRangeOnFirstSelection: moveRangeOnFirstSelection,
preventScrollToFocusedMonth: preventScrollToFocusedMonth
}));
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfcmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl9EZWZpbmVkUmFuZ2UiLCJfdXRpbHMiLCJfc3R5bGVzIiwiX2NsYXNzbmFtZXMiLCJfRGF0ZVJhbmdlIiwib2JqIiwiX19lc01vZHVsZSIsImRlZmF1bHQiLCJEYXRlUmFuZ2VQaWNrZXIiLCJfcmVmIiwid2Vla1N0YXJ0c09uIiwid2Vla2RheURpc3BsYXlGb3JtYXQiLCJlZGl0YWJsZURhdGVJbnB1dHMiLCJlbmREYXRlUGxhY2Vob2xkZXIiLCJyYW5nZUNvbG9ycyIsInJhbmd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3pCQyxTQUFTLEVBQUVBLFNBQVU7SUFDckJDLG9CQUFvQixFQUFFQSxvQkFBcUI7SUFDM0NDLElBQUksRUFBRUEsSUFBSztJQUNYQyxpQkFBaUIsRUFBRUEsaUJBQWtCO0lBQ3JDQyxrQkFBa0IsRUFBRUEsa0JBQW1CO0lBQ3ZDQyxnQkFBZ0IsRUFBRUEsZ0JBQWlCO0lBQ25DQyxTQUFTLEVBQUVBLFNBQVU7SUFDckJDLGFBQWEsRUFBRUEsYUFBYztJQUM3QkMsV0FBVyxFQUFFQSxXQUFZO0lBQ3pCQyxXQUFXLEVBQUVBLFdBQVk7SUFDekJDLG9CQUFvQixFQUFFQSxvQkFBcUI7SUFDM0NDLFdBQVcsRUFBRUEsV0FBWTtJQUN6QkssTUFBTSxFQUFFQSxNQUFPO0lBQ2ZDLGFBQWEsRUFBRUEsYUFBYztJQUM3QjRCLFlBQVksRUFBRVosS0FBSyxDQUFDSSxZQUFhO0lBQ2pDbEIsVUFBVSxFQUFFQSxVQUFXO0lBQ3ZCQyxLQUFLLEVBQUVBLEtBQU07SUFDYkMsT0FBTyxFQUFFQSxPQUFRO0lBQ2pCQyxPQUFPLEVBQUVBLE9BQVE7SUFDakJDLGtCQUFrQixFQUFFQSxrQkFBbUI7SUFDdkNDLE1BQU0sRUFBRUEsTUFBTztJQUNmQyx5QkFBeUIsRUFBRUEseUJBQTBCO0lBQ3JEQywyQkFBMkIsRUFBRUE7RUFBNEIsQ0FDMUQsQ0FDRSxDQUFDO0FBR1YifQ==
{
"name": "@iroomit/react-date-range",
"version": "3.0.0",
"version": "3.1.0",
"description": "A React component for choosing dates and date ranges.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -77,16 +77,13 @@ # @iroomit/react-date-range

```javascript
import React from 'react';
import { Calendar } from '@iroomit/react-date-range';
class MyComponent extends Component {
handleSelect(date){
console.log(date); // native Date object
}
render(){
return (
<Calendar
date={new Date()}
onChange={this.handleSelect}
/>
)
}
function MyComponent() {
const [date, setDate] = React.useState(new Date());
return (
// onChange returns native Date Object
<Calendar date={date} onChange={date => setDate(date)}/>
)
}

@@ -98,27 +95,30 @@

```javascript
import React from 'react';
import { DateRangePicker } from '@iroomit/react-date-range';
class MyComponent extends Component {
handleSelect(ranges){
console.log(ranges);
// {
// selection: {
// startDate: [native Date Object],
// endDate: [native Date Object],
// }
// }
}
render(){
const selectionRange = {
startDate: new Date(),
endDate: new Date(),
key: 'selection',
}
return (
<DateRangePicker
ranges={[selectionRange]}
onChange={this.handleSelect}
/>
)
}
function MyComponent() {
const [range, setRange] = React.useState({
startDate: new Date(),
endDate: new Date(),
key: 'selection' // used as key for range returned from onChange
});
return (
<DateRangePicker ranges={[range]} onChange={(range) => {
// range returned from onChange will have the structure
// {
// selection: {
// startDate: [native Date Object],
// endDate: [native Date Object],
// }
// }
setRange({
startDate: range.startDate,
endDate: range.endDate,
key: Object.keys(range)[0]
});
}}/>
);
}

@@ -179,31 +179,30 @@

dayContentRenderer | Function | null | Function to customize the rendering of Calendar Day. given a date is supposed to return what to render.
preventScrollToFocusedMonth | Boolean | false | When two or more months are open, prevent the shift of the focused month to the left.
*shape of range:
```js
{
startDate: PropTypes.object,
endDate: PropTypes.object,
color: PropTypes.string,
key: PropTypes.string,
autoFocus: PropTypes.bool,
disabled: PropTypes.bool,
showDateDisplay: PropTypes.bool,
}
#### Type DateRange:
```ts
type DateRange = {
startDate: Date,
endDate: Date,
color?: string,
key?: string,
autoFocus?: boolean,
disabled?: boolean,
showDateDisplay?: boolean,
label?: string
}
```
**shape of ariaLabels:
```js
{
// The key of dateInput should be same as key in range.
dateInput: PropTypes.objectOf(
PropTypes.shape({
startDate: PropTypes.string,
endDate: PropTypes.string
})
),
monthPicker: PropTypes.string,
yearPicker: PropTypes.string,
prevButton: PropTypes.string,
nextButton: PropTypes.string,
}
#### Type AriaLabelsType:
```ts
type AriaLabelsType = {
dateInput?: {
startDate?: string,
endDate?: string
},
monthPicker?: string,
yearPicker?: string,
prevButton?: string,
nextButton?: string
}
```

@@ -215,12 +214,11 @@ #### Infinite Scrolled Mode

```js
// shape of scroll prop
scroll: {
enabled: PropTypes.bool,
monthHeight: PropTypes.number,
longMonthHeight: PropTypes.number, // some months has 1 more row than others
monthWidth: PropTypes.number, // just used when direction="horizontal"
calendarWidth: PropTypes.number, // defaults monthWidth * months
calendarHeight: PropTypes.number, // defaults monthHeight * months
}),
```ts
type Scroll = {
enabled?: boolean,
monthHeight?: number,
longMonthHeight?: number,
monthWidth?: number,
calendarWidth?: number,
calendarHeight?: number
}
```

@@ -227,0 +225,0 @@

@@ -1,2 +0,2 @@

export type AriasLabelsType = {
export type AriaLabelsType = {
dateInput?: {

@@ -3,0 +3,0 @@ startDate?: string,

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc