@mindly/ui-components 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,6 @@
1
1
  import { CalendarProps } from './types';
2
- export declare function VerticalCalendar({ maxValue, timeZone, locale, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, minValue, ...props }: CalendarProps): JSX.Element;
2
+ type VerticalCalendarProps = CalendarProps & {
3
+ visibleDuration?: number;
4
+ };
5
+ export declare function VerticalCalendar({ maxValue, timeZone, locale, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, minValue, visibleDuration, ...props }: VerticalCalendarProps): JSX.Element;
6
+ export {};
package/dist/index.d.ts CHANGED
@@ -1553,7 +1553,10 @@ type CalendarProps = Omit<AriaCalendarProps<DateValue>, 'minValue' | 'defaultVal
1553
1553
 
1554
1554
  declare function Calendar({ maxValue, minValue, timeZone, locale, isShowWeekNames, isShowMonthNavigation, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, ...props }: CalendarProps): JSX.Element;
1555
1555
 
1556
- declare function VerticalCalendar({ maxValue, timeZone, locale, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, minValue, ...props }: CalendarProps): JSX.Element;
1556
+ type VerticalCalendarProps = CalendarProps & {
1557
+ visibleDuration?: number;
1558
+ };
1559
+ declare function VerticalCalendar({ maxValue, timeZone, locale, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, minValue, visibleDuration, ...props }: VerticalCalendarProps): JSX.Element;
1557
1560
 
1558
1561
  type VerticalCalendarMonthSkeletonProps = {
1559
1562
  days: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",