mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
e3ee4e87aa
* feat: 🎉 Image component
* fix color
* fix style naming and sort api doc order
* remove onPreviewClose doc
* use animation-duration var
* use box and modal-mask mixins
* use box and modal-mask mixins
* improve style
* improve fallback demo src
* add cover
* improve demo
* update demo snapshots
* upgrade rc-image, naming Random -> Reload
* extract modal mask common style, and improve demo
* update snapshots
* fix less var conflict
* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
148 lines
3.7 KiB
TypeScript
148 lines
3.7 KiB
TypeScript
/* @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;
|
|
if (
|
|
ENV !== 'production' &&
|
|
ENV !== 'test' &&
|
|
typeof console !== 'undefined' &&
|
|
console.warn && // eslint-disable-line no-console
|
|
typeof window !== 'undefined'
|
|
) {
|
|
// eslint-disable-next-line no-console
|
|
console.warn(
|
|
'You are using a whole package of antd, ' +
|
|
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
|
|
);
|
|
}
|
|
/* @remove-on-es-build-end */
|
|
|
|
export { default as Affix } from './affix';
|
|
|
|
export { default as Anchor } from './anchor';
|
|
|
|
export { default as AutoComplete } from './auto-complete';
|
|
|
|
export { default as Alert } from './alert';
|
|
|
|
export { default as Avatar } from './avatar';
|
|
|
|
export { default as BackTop } from './back-top';
|
|
|
|
export { default as Badge } from './badge';
|
|
|
|
export { default as Breadcrumb } from './breadcrumb';
|
|
|
|
export { default as Button } from './button';
|
|
|
|
export { default as Calendar } from './calendar';
|
|
|
|
export { default as Card } from './card';
|
|
|
|
export { default as Collapse } from './collapse';
|
|
|
|
export { default as Carousel } from './carousel';
|
|
|
|
export { default as Cascader } from './cascader';
|
|
|
|
export { default as Checkbox } from './checkbox';
|
|
|
|
export { default as Col } from './col';
|
|
|
|
export { default as Comment } from './comment';
|
|
|
|
export { default as ConfigProvider } from './config-provider';
|
|
|
|
export { default as DatePicker } from './date-picker';
|
|
|
|
export { default as Descriptions } from './descriptions';
|
|
|
|
export { default as Divider } from './divider';
|
|
|
|
export { default as Dropdown } from './dropdown';
|
|
|
|
export { default as Drawer } from './drawer';
|
|
|
|
export { default as Empty } from './empty';
|
|
|
|
export { default as Form } from './form';
|
|
|
|
export { default as Grid } from './grid';
|
|
|
|
export { default as Input } from './input';
|
|
|
|
export { default as Image } from './image';
|
|
|
|
export { default as InputNumber } from './input-number';
|
|
|
|
export { default as Layout } from './layout';
|
|
|
|
export { default as List } from './list';
|
|
|
|
export { default as message } from './message';
|
|
|
|
export { default as Menu } from './menu';
|
|
|
|
export { default as Mentions } from './mentions';
|
|
|
|
export { default as Modal } from './modal';
|
|
|
|
export { default as Statistic } from './statistic';
|
|
|
|
export { default as notification } from './notification';
|
|
|
|
export { default as PageHeader } from './page-header';
|
|
|
|
export { default as Pagination } from './pagination';
|
|
|
|
export { default as Popconfirm } from './popconfirm';
|
|
|
|
export { default as Popover } from './popover';
|
|
|
|
export { default as Progress } from './progress';
|
|
|
|
export { default as Radio } from './radio';
|
|
|
|
export { default as Rate } from './rate';
|
|
|
|
export { default as Result } from './result';
|
|
|
|
export { default as Row } from './row';
|
|
|
|
export { default as Select } from './select';
|
|
|
|
export { default as Skeleton } from './skeleton';
|
|
|
|
export { default as Slider } from './slider';
|
|
|
|
export { default as Space } from './space';
|
|
|
|
export { default as Spin } from './spin';
|
|
|
|
export { default as Steps } from './steps';
|
|
|
|
export { default as Switch } from './switch';
|
|
|
|
export { default as Table } from './table';
|
|
|
|
export { default as Transfer } from './transfer';
|
|
|
|
export { default as Tree } from './tree';
|
|
|
|
export { default as TreeSelect } from './tree-select';
|
|
|
|
export { default as Tabs } from './tabs';
|
|
|
|
export { default as Tag } from './tag';
|
|
|
|
export { default as TimePicker } from './time-picker';
|
|
|
|
export { default as Timeline } from './timeline';
|
|
|
|
export { default as Tooltip } from './tooltip';
|
|
|
|
export { default as Typography } from './typography';
|
|
|
|
export { default as Upload } from './upload';
|
|
|
|
export { default as version } from './version';
|