ant-design/components/index.ts

173 lines
7.8 KiB
TypeScript
Raw Normal View History

export type { Breakpoint } from './_util/responsiveObserver';
export type { GetProps, GetRef, GetProp } from './_util/type';
2016-09-28 16:53:02 +08:00
export { default as Affix } from './affix';
export type { AffixProps, AffixRef } from './affix';
2022-06-21 19:40:22 +08:00
export { default as Alert } from './alert';
export type { AlertProps } from './alert';
2016-10-28 14:02:55 +08:00
export { default as Anchor } from './anchor';
2022-06-21 19:40:22 +08:00
export type { AnchorLinkProps, AnchorProps } from './anchor';
export { default as App } from './app';
export type { AppProps } from './app';
2016-09-28 16:53:02 +08:00
export { default as AutoComplete } from './auto-complete';
2022-06-21 19:40:22 +08:00
export type { AutoCompleteProps } from './auto-complete';
2017-05-28 14:20:59 +08:00
export { default as Avatar } from './avatar';
2022-06-21 19:40:22 +08:00
export type { AvatarProps } from './avatar';
2016-09-28 16:53:02 +08:00
export { default as BackTop } from './back-top';
2022-06-21 19:40:22 +08:00
export type { BackTopProps } from './back-top';
2016-09-28 16:53:02 +08:00
export { default as Badge } from './badge';
2022-06-21 19:40:22 +08:00
export type { BadgeProps } from './badge';
2016-09-28 16:53:02 +08:00
export { default as Breadcrumb } from './breadcrumb';
2022-06-21 19:40:22 +08:00
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb';
2016-09-28 16:53:02 +08:00
export { default as Button } from './button';
2022-06-21 19:40:22 +08:00
export type { ButtonProps } from './button';
2016-09-28 16:53:02 +08:00
export { default as Calendar } from './calendar';
2022-06-21 19:40:22 +08:00
export type { CalendarProps } from './calendar';
2016-09-28 16:53:02 +08:00
export { default as Card } from './card';
2022-06-21 19:40:22 +08:00
export type { CardProps } from './card';
2016-09-28 16:53:02 +08:00
export { default as Carousel } from './carousel';
2022-06-21 19:40:22 +08:00
export type { CarouselProps } from './carousel';
2016-09-28 16:53:02 +08:00
export { default as Cascader } from './cascader';
export type { CascaderProps, CascaderAutoProps } from './cascader';
export type { CascaderPanelProps, CascaderPanelAutoProps } from './cascader/Panel';
2016-09-28 16:53:02 +08:00
export { default as Checkbox } from './checkbox';
export type { CheckboxOptionType, CheckboxProps, CheckboxRef } from './checkbox';
2016-09-28 16:53:02 +08:00
export { default as Col } from './col';
2022-06-21 19:40:22 +08:00
export type { ColProps } from './col';
export { default as Collapse } from './collapse';
export type { CollapsePanelProps, CollapseProps } from './collapse';
export { default as ColorPicker } from './color-picker';
export type { ColorPickerProps } from './color-picker';
2018-11-26 12:06:42 +08:00
export { default as ConfigProvider } from './config-provider';
export type { ConfigProviderProps, ThemeConfig } from './config-provider';
2016-09-28 16:53:02 +08:00
export { default as DatePicker } from './date-picker';
2022-06-21 19:40:22 +08:00
export type { DatePickerProps } from './date-picker';
export { default as Descriptions } from './descriptions';
2022-06-21 19:40:22 +08:00
export type { DescriptionsProps } from './descriptions';
export { default as Divider } from './divider';
2022-06-21 19:40:22 +08:00
export type { DividerProps } from './divider';
export { default as Drawer } from './drawer';
export type { DrawerProps } from './drawer';
export { default as Dropdown } from './dropdown';
export type {
// typo, but we need to support it for backwards compatibility
// https://github.com/ant-design/ant-design/pull/35161
DropdownProps as DropDownProps,
DropdownProps,
} from './dropdown';
2018-12-26 16:01:00 +08:00
export { default as Empty } from './empty';
2022-06-21 19:40:22 +08:00
export type { EmptyProps } from './empty';
export { default as Flex } from './flex';
export type { FlexProps } from './flex/interface';
export { default as FloatButton } from './float-button';
export type {
FloatButtonGroupProps,
FloatButtonProps,
FloatButtonRef,
} from './float-button/interface';
2016-09-28 16:53:02 +08:00
export { default as Form } from './form';
export type {
FormInstance,
FormItemProps,
FormListFieldData,
FormListOperation,
2022-06-21 19:40:22 +08:00
FormProps,
Rule as FormRule,
} from './form';
export { default as Grid } from './grid';
export { default as Image } from './image';
2022-06-21 19:40:22 +08:00
export type { ImageProps } from './image';
export { default as Input } from './input';
export type { InputProps, InputRef } from './input';
2016-09-28 16:53:02 +08:00
export { default as InputNumber } from './input-number';
2022-06-21 19:40:22 +08:00
export type { InputNumberProps } from './input-number';
export { default as Layout } from './layout';
2022-06-21 19:40:22 +08:00
export type { LayoutProps, SiderProps } from './layout';
export { default as List } from './list';
2022-06-21 19:40:22 +08:00
export type { ListProps } from './list';
export { default as Mentions } from './mentions';
2022-06-21 19:40:22 +08:00
export type { MentionProps } from './mentions';
export { default as Menu } from './menu';
export type { MenuItemProps, MenuProps, MenuRef, MenuTheme, SubMenuProps } from './menu';
2022-06-21 19:40:22 +08:00
export { default as message } from './message';
export type { ArgsProps as MessageArgsProps } from './message';
2016-09-28 16:53:02 +08:00
export { default as Modal } from './modal';
2022-06-21 19:40:22 +08:00
export type { ModalFuncProps, ModalProps } from './modal';
2016-09-28 16:53:02 +08:00
export { default as notification } from './notification';
export type { ArgsProps as NotificationArgsProps } from './notification';
2016-09-28 16:53:02 +08:00
export { default as Pagination } from './pagination';
2022-06-21 19:40:22 +08:00
export type { PaginationProps } from './pagination';
2016-09-28 16:53:02 +08:00
export { default as Popconfirm } from './popconfirm';
2022-06-21 19:40:22 +08:00
export type { PopconfirmProps } from './popconfirm';
2016-09-28 16:53:02 +08:00
export { default as Popover } from './popover';
2022-06-21 19:40:22 +08:00
export type { PopoverProps } from './popover';
2016-09-28 16:53:02 +08:00
export { default as Progress } from './progress';
2022-06-21 19:40:22 +08:00
export type { ProgressProps } from './progress';
export { default as QRCode } from './qr-code';
export type { QRCodeProps, QRPropsCanvas, QRPropsSvg } from './qr-code/interface';
2016-09-28 16:53:02 +08:00
export { default as Radio } from './radio';
2022-06-21 19:40:22 +08:00
export type { RadioChangeEvent, RadioGroupProps, RadioProps } from './radio';
2016-09-28 16:53:02 +08:00
export { default as Rate } from './rate';
2022-06-21 19:40:22 +08:00
export type { RateProps } from './rate';
export { default as Result } from './result';
2022-06-21 19:40:22 +08:00
export type { ResultProps } from './result';
2016-09-28 16:53:02 +08:00
export { default as Row } from './row';
2022-06-21 19:40:22 +08:00
export type { RowProps } from './row';
export { default as Segmented } from './segmented';
2022-06-21 19:40:22 +08:00
export type { SegmentedProps } from './segmented';
export { default as Select } from './select';
export type { RefSelectProps, SelectProps } from './select';
export { default as Skeleton } from './skeleton';
2022-06-21 19:40:22 +08:00
export type { SkeletonProps } from './skeleton';
2016-09-28 16:53:02 +08:00
export { default as Slider } from './slider';
2022-06-21 19:40:22 +08:00
export type { SliderSingleProps } from './slider';
export { default as Space } from './space';
2022-06-21 19:40:22 +08:00
export type { SpaceProps } from './space';
2016-09-28 16:53:02 +08:00
export { default as Spin } from './spin';
2022-06-21 19:40:22 +08:00
export type { SpinProps } from './spin';
export { default as Statistic } from './statistic';
export type { CountdownProps, StatisticProps } from './statistic';
2016-09-28 16:53:02 +08:00
export { default as Steps } from './steps';
2022-06-21 19:40:22 +08:00
export type { StepProps, StepsProps } from './steps';
2016-09-28 16:53:02 +08:00
export { default as Switch } from './switch';
2022-06-21 19:40:22 +08:00
export type { SwitchProps } from './switch';
export { default as Table } from './table';
export type {
ColumnGroupType as TableColumnGroupType,
ColumnProps as TableColumnProps,
2022-06-21 19:40:22 +08:00
ColumnType as TableColumnType,
ColumnsType as TableColumnsType,
2022-06-21 19:40:22 +08:00
TablePaginationConfig,
TableProps,
} from './table';
2022-06-21 19:40:22 +08:00
export { default as Tabs } from './tabs';
export type { TabPaneProps, TabsProps } from './tabs';
export { default as Tag } from './tag';
export type { TagProps, TagType } from './tag';
export { default as theme } from './theme';
2023-08-02 10:54:27 +08:00
export type { GlobalToken, MappingAlgorithm } from './theme';
2022-06-21 19:40:22 +08:00
export { default as TimePicker } from './time-picker';
export type { TimePickerProps, TimeRangePickerProps } from './time-picker';
export { default as Timeline } from './timeline';
export type { TimelineItemProps, TimelineProps } from './timeline';
export { default as Tooltip } from './tooltip';
export type { TooltipProps } from './tooltip';
[new component] Next tour (#37867) * feat: init * feat: update * feat: upate * feat: update * feat: update * feat: init * feat: init * feat: init * feat: update * feat: update * feat: update * feat: update rc-tour * feat: init component * feat: init component * chore: update pck * doc: update doc * doc: update reviewer * doc: update reviewer * doc: update reviewer * feat: update reviewer * feat: update reviewer * feat: update doc * feat: update deme * feat: update demo doc * feat: update demo * feat: update demo * feat: update style * feat: update dom & style * feat: update dome * feat: update dome * docs: update demo * feat: update doc * feat: update dome * feat: add locale * doc: update locale * doc: add test * feat: add test case * feat: add test case * feat: update package * feat: update ts * feat: update ts * feat: update snapshots * feat: update demo * feat: update demo * feat: update demo * feat: edit maxSize * feat: edit maxSize * feat: update lint * feat: update lint * feat: update style reviewer * feat: update style * feat: merge next * feat: add locale * feat: reset bundleSize * feat: change maxSize * feat: update test coverage * feat: update test coverage * feat: add type * chore: simplify en locale * feat: update * feat: update test snap * docs: demo update * chore: adjust style * chore: adjust style * chore: bump rc-tour * Update package.json * feat: update package * feat: update package * feat: update cover * docs: update api * docs: update overview snap * feat: update token * feat: delete repeat ts * feat: remove finishButtonProps * chore: update demo * feat: tour style * test: fix lint * chore: code clean Co-authored-by: lijianan <574980606@qq.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-02 16:25:28 +08:00
export { default as Tour } from './tour';
export type { TourProps, TourStepProps } from './tour/interface';
2016-09-28 16:53:02 +08:00
export { default as Transfer } from './transfer';
2022-06-21 19:40:22 +08:00
export type { TransferProps } from './transfer';
export { default as Tree } from './tree';
2021-05-28 13:26:18 +08:00
export type {
DataNode as TreeDataNode,
AntTreeNodeProps as TreeNodeProps,
2022-06-21 19:40:22 +08:00
TreeProps,
2021-05-28 13:26:18 +08:00
} from './tree';
2016-09-28 16:53:02 +08:00
export { default as TreeSelect } from './tree-select';
2022-06-21 19:40:22 +08:00
export type { TreeSelectProps } from './tree-select';
New Component: Typography (#14250) * text with prefix * add edit style * support editable * enhance accessibility & type experience * optimize IME case * support copy * add locale * add secondary & disabled * add ellipsis shadow text * split to 3 components * update snapshot * update desc * change lines also need update ellipsis * skip aria when is in ellipsis * add ResizeObserver in _util * update snapshot * move TestBase into test file * update test case * update doc * fix typo * important => level * use rows * update demo cols to 1 * fix cssText not work in firefox * update doc * add miss point * support extendable * update snapshot * fix doc * copyable support string * update snapshot * update doc * update doc desc * adjust style * full test * reset after test * rename * update snapshot * fix compile * adjust style * update desc * update prefixCls * update margin * adjust * nest wrap of tag content * adjust style * update comment * rm % * one more thing * tmp of measure * merge string as children * update snapshot * update testcase * remove comment * use internal variable for configProvider passing * update snapshot * use expandable instead of extendable * less variable it * update demo * update less * adjust code & mark style * remove mark padding * update measure logic * support nest element style * use childNode.textContent to fix react 15 error * update css * popout Typography * add link style * adjust doc * use ellipsis instead of rows & expandable * update doc * update doc * update doc & style * fix typo * add css ellipsis support * client render * update snapshot * enhance copyable * support onExpand * update test case * add test of css ellipsis * fix logic in react 15 * rename onChange -> onSave * use tagName of article * fix lint
2019-02-19 11:42:05 +08:00
export { default as Typography } from './typography';
2022-06-21 19:40:22 +08:00
export type { TypographyProps } from './typography';
2016-11-03 16:45:13 +08:00
export { default as Upload } from './upload';
2022-06-21 19:40:22 +08:00
export type { UploadFile, UploadProps } from './upload';
export { default as version } from './version';
export { default as Watermark } from './watermark';
export type { WatermarkProps } from './watermark';