1 | import { MonthCaption, type MonthCaptionProps } from "../components/MonthCaption.js";
|
2 | import { Week, type WeekProps } from "../components/Week.js";
|
3 | import { labelDayButton, labelNext, labelWeekday, labelWeekNumber } from "../labels/index.js";
|
4 | import { useDayPicker } from "../useDayPicker.js";
|
5 | import type { PropsMulti, PropsRange, PropsSingle } from "./props.js";
|
6 | import type { Mode, DayEventHandler } from "./shared.js";
|
7 | /**
|
8 | * @deprecated This type will be removed.
|
9 | * @protected
|
10 | */
|
11 | export type RootProvider = any;
|
12 | /**
|
13 | * @deprecated This type will be removed.
|
14 | * @protected
|
15 | */
|
16 | export type RootProviderProps = any;
|
17 | /**
|
18 | * @deprecated This component has been renamed. Use `MonthCaption` instead.
|
19 | * @protected
|
20 | * @group Components
|
21 | * @see https://daypicker.dev/guides/custom-components
|
22 | */
|
23 | export declare const Caption: typeof MonthCaption;
|
24 | /**
|
25 | * @deprecated This type has been renamed. Use `MonthCaptionProps` instead.
|
26 | * @protected
|
27 | */
|
28 | export type CaptionProps = MonthCaptionProps;
|
29 | /**
|
30 | * @deprecated This component has been removed.
|
31 | * @protected
|
32 | * @group Components
|
33 | * @see https://daypicker.dev/guides/custom-components
|
34 | */
|
35 | export type HeadRow = any;
|
36 | /**
|
37 | * @deprecated This component has been renamed. Use `Week` instead.
|
38 | * @protected
|
39 | * @group Components
|
40 | * @see https://daypicker.dev/guides/custom-components
|
41 | */
|
42 | export declare const Row: typeof Week;
|
43 | /**
|
44 | * @deprecated This type has been removed. Use `WeekProps` instead.
|
45 | * @protected
|
46 | */
|
47 | export type RowProps = WeekProps;
|
48 | /**
|
49 | * @deprecated This type has been renamed. Use `PropsSingle` instead.
|
50 | * @protected
|
51 | */
|
52 | export type DayPickerSingleProps = PropsSingle;
|
53 | /**
|
54 | * @deprecated This type has been renamed. Use `PropsMulti` instead.
|
55 | * @protected
|
56 | */
|
57 | export type DayPickerMultipleProps = PropsMulti;
|
58 | /**
|
59 | * @deprecated This type has been renamed. Use `PropsRange` instead.
|
60 | * @protected
|
61 | */
|
62 | export type DayPickerRangeProps = PropsRange;
|
63 | /**
|
64 | * @deprecated This type will be removed. Use `NonNullable<unknown>` instead
|
65 | * @protected
|
66 | */
|
67 | export type DayPickerDefaultProps = NonNullable<unknown>;
|
68 | /**
|
69 | * @deprecated This type has been renamed. Use `Mode` instead.
|
70 | * @protected
|
71 | */
|
72 | export type DaySelectionMode = Mode;
|
73 | /**
|
74 | * @deprecated This type will be removed. Use `string` instead;
|
75 | * @protected
|
76 | */
|
77 | export type Modifier = string;
|
78 | /**
|
79 | * @deprecated This type will be removed. Use `SelectHandler<"single">` instead.
|
80 | * @protected
|
81 | */
|
82 | export type SelectSingleEventHandler = PropsSingle["onSelect"];
|
83 | /**
|
84 | * @deprecated This type will be removed. Use `SelectHandler<"multiple">`
|
85 | * instead.
|
86 | * @protected
|
87 | */
|
88 | export type SelectMultipleEventHandler = PropsMulti["onSelect"];
|
89 | /**
|
90 | * @deprecated This type will be removed. Use `SelectHandler<"range">` instead.
|
91 | * @protected
|
92 | */
|
93 | export type SelectRangeEventHandler = PropsRange["onSelect"];
|
94 | /**
|
95 | * @deprecated This type is not used anymore.
|
96 | * @protected
|
97 | */
|
98 | export type DayPickerProviderProps = any;
|
99 | /**
|
100 | * @deprecated This type has been removed to `useDayPicker`.
|
101 | * @protected
|
102 | * @group Hooks
|
103 | */
|
104 | export declare const useNavigation: typeof useDayPicker;
|
105 | /**
|
106 | * @deprecated This hook has been removed. Use a custom `Day` component instead.
|
107 | * @protected
|
108 | * @group Hooks
|
109 | * @see https://daypicker.dev/guides/custom-components
|
110 | */
|
111 | export type useDayRender = any;
|
112 | /**
|
113 | * @deprecated This type is not used anymore.
|
114 | * @protected
|
115 | */
|
116 | export type ContextProvidersProps = any;
|
117 | /**
|
118 | * @deprecated Use `typeof labelDayButton` instead.
|
119 | * @protected
|
120 | */
|
121 | export type DayLabel = typeof labelDayButton;
|
122 | /**
|
123 | * @deprecated Use `typeof labelNext` or `typeof labelPrevious` instead.
|
124 | * @protected
|
125 | */
|
126 | export type NavButtonLabel = typeof labelNext;
|
127 | /**
|
128 | * @deprecated Use `typeof labelWeekday` instead.
|
129 | * @protected
|
130 | */
|
131 | export type WeekdayLabel = typeof labelWeekday;
|
132 | /**
|
133 | * @deprecated Use `typeof labelWeekNumber` instead.
|
134 | * @protected
|
135 | */
|
136 | export type WeekNumberLabel = typeof labelWeekNumber;
|
137 | /**
|
138 | * @deprecated Use {@link DayMouseEventHandler} instead.
|
139 | * @protected
|
140 | */
|
141 | export type DayClickEventHandler = DayEventHandler<React.MouseEvent>;
|
142 | /**
|
143 | * @deprecated This type will be removed. Use `DayEventHandler<React.FocusEvent
|
144 | * | React.KeyboardEvent>` instead.
|
145 | * @protected
|
146 | */
|
147 | export type DayFocusEventHandler = DayEventHandler<React.FocusEvent | React.KeyboardEvent>;
|
148 | /**
|
149 | * @deprecated This type will be removed. Use
|
150 | * `DayEventHandler<React.KeyboardEvent>` instead.
|
151 | * @protected
|
152 | */
|
153 | export type DayKeyboardEventHandler = DayEventHandler<React.KeyboardEvent>;
|
154 | /**
|
155 | * @deprecated This type will be removed. Use
|
156 | * `DayEventHandler<React.MouseEvent>` instead.
|
157 | * @protected
|
158 | */
|
159 | export type DayMouseEventHandler = DayEventHandler<React.MouseEvent>;
|
160 | /**
|
161 | * @deprecated This type will be removed. Use
|
162 | * `DayEventHandler<React.PointerEvent>` instead.
|
163 | * @protected
|
164 | */
|
165 | export type DayPointerEventHandler = DayEventHandler<React.PointerEvent>;
|
166 | /**
|
167 | * @deprecated This type will be removed. Use
|
168 | * `DayEventHandler<React.TouchEvent>` instead.
|
169 | * @protected
|
170 | */
|
171 | export type DayTouchEventHandler = DayEventHandler<React.TouchEvent>;
|