ant-design/components/index.tsx

217 lines
6.9 KiB
TypeScript
Raw Normal View History

2017-09-11 11:58:38 +08:00
/* @remove-on-es-build-begin */
// this file is not used if use https://github.com/ant-design/babel-plugin-import
const ENV = process.env.NODE_ENV;
2018-12-07 20:02:01 +08:00
if (
ENV !== 'production' &&
2018-07-18 17:35:39 +08:00
ENV !== 'test' &&
typeof console !== 'undefined' &&
2019-08-14 18:21:24 +08:00
console.warn && // eslint-disable-line no-console
2018-12-07 20:02:01 +08:00
typeof window !== 'undefined'
) {
2019-08-14 18:21:24 +08:00
// eslint-disable-next-line no-console
2017-03-29 15:47:31 +08:00
console.warn(
'You are using a whole package of antd, ' +
2018-12-07 20:02:01 +08:00
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
);
}
2017-09-11 11:58:38 +08:00
/* @remove-on-es-build-end */
export type { AffixProps } from './affix';
2016-09-28 16:53:02 +08:00
export { default as Affix } from './affix';
2016-06-24 15:20:48 +08:00
export type { AnchorProps, AnchorLinkProps } from './anchor';
2016-10-28 14:02:55 +08:00
export { default as Anchor } from './anchor';
export type { AutoCompleteProps } from './auto-complete';
2016-09-28 16:53:02 +08:00
export { default as AutoComplete } from './auto-complete';
2016-07-25 17:46:45 +08:00
export type { AlertProps } from './alert';
2016-09-28 16:53:02 +08:00
export { default as Alert } from './alert';
2016-07-14 13:29:50 +08:00
export type { AvatarProps } from './avatar';
2017-05-28 14:20:59 +08:00
export { default as Avatar } from './avatar';
export type { BackTopProps } from './back-top';
2016-09-28 16:53:02 +08:00
export { default as BackTop } from './back-top';
2016-07-14 13:29:50 +08:00
export type { BadgeProps } from './badge';
2016-09-28 16:53:02 +08:00
export { default as Badge } from './badge';
2016-07-14 13:29:50 +08:00
export type { BreadcrumbProps, BreadcrumbItemProps } from './breadcrumb';
2016-09-28 16:53:02 +08:00
export { default as Breadcrumb } from './breadcrumb';
2016-07-14 13:29:50 +08:00
export type { ButtonProps } from './button';
2016-09-28 16:53:02 +08:00
export { default as Button } from './button';
2016-07-14 13:29:50 +08:00
export type { CalendarProps } from './calendar';
2016-09-28 16:53:02 +08:00
export { default as Calendar } from './calendar';
export type { CardProps } from './card';
2016-09-28 16:53:02 +08:00
export { default as Card } from './card';
2016-07-07 20:25:03 +08:00
export type { CollapseProps, CollapsePanelProps } from './collapse';
2016-09-28 16:53:02 +08:00
export { default as Collapse } from './collapse';
export type { CarouselProps } from './carousel';
2016-09-28 16:53:02 +08:00
export { default as Carousel } from './carousel';
export type { CascaderProps } from './cascader';
2016-09-28 16:53:02 +08:00
export { default as Cascader } from './cascader';
export type { CheckboxProps, CheckboxOptionType } from './checkbox';
2016-09-28 16:53:02 +08:00
export { default as Checkbox } from './checkbox';
export type { ColProps } from './col';
2016-09-28 16:53:02 +08:00
export { default as Col } from './col';
export type { CommentProps } from './comment';
2018-10-22 21:20:28 +08:00
export { default as Comment } from './comment';
2018-11-26 12:06:42 +08:00
export { default as ConfigProvider } from './config-provider';
export type { DatePickerProps } from './date-picker';
2016-09-28 16:53:02 +08:00
export { default as DatePicker } from './date-picker';
export type { DescriptionsProps } from './descriptions';
export { default as Descriptions } from './descriptions';
export type { DividerProps } from './divider';
export { default as Divider } from './divider';
export type { DropDownProps } from './dropdown';
2016-09-28 16:53:02 +08:00
export { default as Dropdown } from './dropdown';
export type { DrawerProps } from './drawer';
2018-05-23 10:56:37 +08:00
export { default as Drawer } from './drawer';
export type { EmptyProps } from './empty';
2018-12-26 16:01:00 +08:00
export { default as Empty } from './empty';
export type { FormInstance, FormProps, FormItemProps } from './form';
2016-09-28 16:53:02 +08:00
export { default as Form } from './form';
export { default as Grid } from './grid';
export type { InputProps } from './input';
2016-09-28 16:53:02 +08:00
export { default as Input } from './input';
export type { ImageProps } from './image';
export { default as Image } from './image';
export type { InputNumberProps } from './input-number';
2016-09-28 16:53:02 +08:00
export { default as InputNumber } from './input-number';
export type { LayoutProps } from './layout';
export { default as Layout } from './layout';
export type { ListProps } from './list';
export { default as List } from './list';
export type { ArgsProps as MessageArgsProps } from './message';
2016-09-28 16:53:02 +08:00
export { default as message } from './message';
2016-08-10 10:26:42 +08:00
export type { MenuProps, MenuTheme, SubMenuProps, MenuItemProps } from './menu';
2016-09-28 16:53:02 +08:00
export { default as Menu } from './menu';
export type { MentionProps } from './mentions';
export { default as Mentions } from './mentions';
export type { ModalProps, ModalFuncProps } from './modal';
2016-09-28 16:53:02 +08:00
export { default as Modal } from './modal';
export type { StatisticProps } from './statistic';
export { default as Statistic } from './statistic';
2016-09-28 16:53:02 +08:00
export { default as notification } from './notification';
export type { PageHeaderProps } from './page-header';
export { default as PageHeader } from './page-header';
export type { PaginationProps } from './pagination';
2016-09-28 16:53:02 +08:00
export { default as Pagination } from './pagination';
export type { PopconfirmProps } from './popconfirm';
2016-09-28 16:53:02 +08:00
export { default as Popconfirm } from './popconfirm';
export type { PopoverProps } from './popover';
2016-09-28 16:53:02 +08:00
export { default as Popover } from './popover';
2016-07-29 14:45:06 +08:00
export type { ProgressProps } from './progress';
2016-09-28 16:53:02 +08:00
export { default as Progress } from './progress';
2016-08-09 15:04:02 +08:00
export type { RadioProps, RadioChangeEvent, RadioGroupProps } from './radio';
2016-09-28 16:53:02 +08:00
export { default as Radio } from './radio';
2016-08-10 10:26:42 +08:00
export type { RateProps } from './rate';
2016-09-28 16:53:02 +08:00
export { default as Rate } from './rate';
2016-08-10 09:46:56 +08:00
export type { ResultProps } from './result';
export { default as Result } from './result';
export type { RowProps } from './row';
2016-09-28 16:53:02 +08:00
export { default as Row } from './row';
export type { SelectProps } from './select';
2016-09-28 16:53:02 +08:00
export { default as Select } from './select';
2016-08-10 09:46:56 +08:00
export type { SkeletonProps } from './skeleton';
export { default as Skeleton } from './skeleton';
export type { SliderSingleProps } from './slider';
2016-09-28 16:53:02 +08:00
export { default as Slider } from './slider';
2016-08-10 09:46:56 +08:00
export type { SpaceProps } from './space';
export { default as Space } from './space';
export type { SpinProps } from './spin';
2016-09-28 16:53:02 +08:00
export { default as Spin } from './spin';
2016-08-10 09:46:56 +08:00
export type { StepProps, StepsProps } from './steps';
2016-09-28 16:53:02 +08:00
export { default as Steps } from './steps';
2016-08-10 09:46:56 +08:00
export type { SwitchProps } from './switch';
2016-09-28 16:53:02 +08:00
export { default as Switch } from './switch';
2016-08-10 09:46:56 +08:00
export type {
TableProps,
TablePaginationConfig,
ColumnGroupType as TableColumnGroupType,
ColumnType as TableColumnType,
ColumnProps as TableColumnProps,
ColumnsType as TableColumnsType,
} from './table';
2016-09-28 16:53:02 +08:00
export { default as Table } from './table';
export type { TransferProps } from './transfer';
2016-09-28 16:53:02 +08:00
export { default as Transfer } from './transfer';
export type { TreeProps, AntTreeNodeProps as TreeNodeProps } from './tree';
2016-09-28 16:53:02 +08:00
export { default as Tree } from './tree';
2016-07-09 10:50:51 +08:00
export type { TreeSelectProps } from './tree-select';
2016-09-28 16:53:02 +08:00
export { default as TreeSelect } from './tree-select';
export type { TabsProps, TabPaneProps } from './tabs';
2016-09-28 16:53:02 +08:00
export { default as Tabs } from './tabs';
2016-07-09 10:52:16 +08:00
export type { TagProps, TagType } from './tag';
2016-09-28 16:53:02 +08:00
export { default as Tag } from './tag';
2016-07-09 10:52:58 +08:00
export type { TimePickerProps, TimeRangePickerProps } from './time-picker';
2016-09-28 16:53:02 +08:00
export { default as TimePicker } from './time-picker';
2016-07-09 10:53:40 +08:00
export type { TimelineProps, TimelineItemProps } from './timeline';
2016-09-28 16:53:02 +08:00
export { default as Timeline } from './timeline';
2016-07-09 10:53:40 +08:00
export type { TooltipProps } from './tooltip';
2016-09-28 16:53:02 +08:00
export { default as Tooltip } from './tooltip';
2016-07-04 10:31:27 +08:00
export type { TypographyProps } from './typography';
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';
export type { UploadProps } from './upload';
2016-11-03 16:45:13 +08:00
export { default as Upload } from './upload';
export { default as version } from './version';