You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.0 KiB

import './style/index.less';
import deprecate from 'util-deprecate';
10 years ago
// matchMedia polyfill for
// https://github.com/WickyNilliams/enquire.js/issues/82
window.matchMedia = window.matchMedia || function() {
return {
matches: false,
addListener: function() {},
removeListener: function() {}
};
};
9 years ago
const antd = {
9 years ago
Affix: require('./components/affix'),
Datepicker: require('./components/datepicker'),
Tooltip: require('./components/tooltip'),
9 years ago
Carousel: require('./components/carousel'),
Tabs: require('./components/tabs'),
10 years ago
Modal: require('./components/modal'),
10 years ago
Dropdown: require('./components/dropdown'),
Progress: require('./components/progress'),
Popover: require('./components/popover'),
10 years ago
Select: require('./components/select'),
Breadcrumb: require('./components/breadcrumb'),
Popconfirm: require('./components/popconfirm'),
Pagination: require('./components/pagination'),
10 years ago
confirm: require('./components/modal/confirm'),
10 years ago
Steps: require('./components/steps'),
10 years ago
InputNumber: require('./components/input-number'),
9 years ago
Switch: require('./components/switch'),
Checkbox: require('./components/checkbox'),
Table: require('./components/table'),
Tag: require('./components/tag'),
Collapse: require('./components/collapse'),
message: require('./components/message'),
9 years ago
Slider: require('./components/slider'),
EnterAnimation: require('./components/enter-animation'),
9 years ago
Radio: require('./components/radio'),
9 years ago
Notification: require('./components/notification'),
Alert: require('./components/alert'),
Validation: require('./components/validation'),
9 years ago
Tree: require('./components/tree'),
9 years ago
Upload: require('./components/upload'),
Badge: require('./components/badge'),
9 years ago
Menu: require('./components/menu'),
Timeline: require('./components/timeline')
};
10 years ago
// deprecate antd.confirm
antd.confirm = deprecate(antd.confirm, 'antd.confirm() is deprecated, use antd.Modal.confirm() instead');
10 years ago
module.exports = antd;
9 years ago
antd.version = require('./package.json').version;