chore: update ant-design dependencies and add new icon types

This commit is contained in:
Luiz Costa
2025-11-18 09:39:51 -03:00
parent 775e562fe9
commit 5c0094d74e
22648 changed files with 2140248 additions and 29 deletions
+24
View File
@@ -0,0 +1,24 @@
import * as React from 'react';
import type { PanelMode, SharedPanelProps } from '../interface';
export interface PanelContextProps<DateType extends object = any> extends Pick<SharedPanelProps<DateType>, 'prefixCls' | 'cellRender' | 'generateConfig' | 'locale' | 'onSelect' | 'hoverValue' | 'hoverRangeValue' | 'onHover' | 'values' | 'pickerValue' | 'disabledDate' | 'minDate' | 'maxDate' | 'prevIcon' | 'nextIcon' | 'superPrevIcon' | 'superNextIcon'> {
/** Tell current panel type */
panelType: PanelMode;
now: DateType;
}
/** Used for each single Panel. e.g. DatePanel */
export declare const PanelContext: React.Context<PanelContextProps<any>>;
export declare function usePanelContext<DateType extends object = any>(): PanelContextProps<DateType>;
/**
* Get shared props for the SharedPanelProps interface.
*/
export declare function useInfo<DateType extends object = any>(props: SharedPanelProps<DateType>, panelType: PanelMode): [sharedProps: PanelContextProps<DateType>, now: DateType];
export interface PickerHackContextProps {
hidePrev?: boolean;
hideNext?: boolean;
hideHeader?: boolean;
onCellDblClick?: () => void;
}
/**
* Internal usage for RangePicker to not to show the operation arrow
*/
export declare const PickerHackContext: React.Context<PickerHackContextProps>;