ant-design/components/index.tsx

141 lines
3.4 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' &&
console.warn &&
2018-12-07 20:02:01 +08:00
typeof window !== 'undefined'
) {
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 */
2016-09-28 16:53:02 +08:00
export { default as Affix } from './affix';
2016-06-24 15:20:48 +08:00
2016-10-28 14:02:55 +08:00
export { default as Anchor } from './anchor';
2016-09-28 16:53:02 +08:00
export { default as AutoComplete } from './auto-complete';
2016-07-25 17:46:45 +08:00
2016-09-28 16:53:02 +08:00
export { default as Alert } from './alert';
2016-07-14 13:29:50 +08:00
2017-05-28 14:20:59 +08:00
export { default as Avatar } from './avatar';
2016-09-28 16:53:02 +08:00
export { default as BackTop } from './back-top';
2016-07-14 13:29:50 +08:00
2016-09-28 16:53:02 +08:00
export { default as Badge } from './badge';
2016-07-14 13:29:50 +08:00
2016-09-28 16:53:02 +08:00
export { default as Breadcrumb } from './breadcrumb';
2016-07-14 13:29:50 +08:00
2016-09-28 16:53:02 +08:00
export { default as Button } from './button';
2016-07-14 13:29:50 +08:00
2016-09-28 16:53:02 +08:00
export { default as Calendar } from './calendar';
2016-09-28 16:53:02 +08:00
export { default as Card } from './card';
2016-07-07 20:25:03 +08:00
2016-09-28 16:53:02 +08:00
export { default as Collapse } from './collapse';
2016-09-28 16:53:02 +08:00
export { default as Carousel } from './carousel';
2016-09-28 16:53:02 +08:00
export { default as Cascader } from './cascader';
2016-09-28 16:53:02 +08:00
export { default as Checkbox } from './checkbox';
2016-09-28 16:53:02 +08:00
export { default as Col } from './col';
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';
2016-09-28 16:53:02 +08:00
export { default as DatePicker } from './date-picker';
export { default as Divider } from './divider';
2016-09-28 16:53:02 +08:00
export { default as Dropdown } from './dropdown';
2018-05-23 10:56:37 +08:00
export { default as Drawer } from './drawer';
2018-12-26 16:01:00 +08:00
export { default as Empty } from './empty';
2016-09-28 16:53:02 +08:00
export { default as Form } from './form';
2016-09-28 16:53:02 +08:00
export { default as Icon } from './icon';
2016-09-28 16:53:02 +08:00
export { default as Input } from './input';
2016-09-28 16:53:02 +08:00
export { default as InputNumber } from './input-number';
export { default as Layout } from './layout';
export { default as List } from './list';
2016-09-28 16:53:02 +08:00
export { default as LocaleProvider } from './locale-provider';
2016-08-02 16:10:26 +08:00
2016-09-28 16:53:02 +08:00
export { default as message } from './message';
2016-08-10 10:26:42 +08:00
2016-09-28 16:53:02 +08:00
export { default as Menu } from './menu';
2016-09-28 16:53:02 +08:00
export { default as Modal } from './modal';
export { default as Statistic } from './statistic';
2016-09-28 16:53:02 +08:00
export { default as notification } from './notification';
export { default as PageHeader } from './page-header';
2016-09-28 16:53:02 +08:00
export { default as Pagination } from './pagination';
2016-09-28 16:53:02 +08:00
export { default as Popconfirm } from './popconfirm';
2016-09-28 16:53:02 +08:00
export { default as Popover } from './popover';
2016-07-29 14:45:06 +08:00
2016-09-28 16:53:02 +08:00
export { default as Progress } from './progress';
2016-08-09 15:04:02 +08:00
2016-09-28 16:53:02 +08:00
export { default as Radio } from './radio';
2016-08-10 10:26:42 +08:00
2016-09-28 16:53:02 +08:00
export { default as Rate } from './rate';
2016-08-10 09:46:56 +08:00
2016-09-28 16:53:02 +08:00
export { default as Row } from './row';
2016-09-28 16:53:02 +08:00
export { default as Select } from './select';
2016-08-10 09:46:56 +08:00
export { default as Skeleton } from './skeleton';
2016-09-28 16:53:02 +08:00
export { default as Slider } from './slider';
2016-08-10 09:46:56 +08:00
2016-09-28 16:53:02 +08:00
export { default as Spin } from './spin';
2016-08-10 09:46:56 +08:00
2016-09-28 16:53:02 +08:00
export { default as Steps } from './steps';
2016-08-10 09:46:56 +08:00
2016-09-28 16:53:02 +08:00
export { default as Switch } from './switch';
2016-08-10 09:46:56 +08:00
2016-09-28 16:53:02 +08:00
export { default as Table } from './table';
2016-09-28 16:53:02 +08:00
export { default as Transfer } from './transfer';
2016-09-28 16:53:02 +08:00
export { default as Tree } from './tree';
2016-07-09 10:50:51 +08:00
2016-09-28 16:53:02 +08:00
export { default as TreeSelect } from './tree-select';
2016-09-28 16:53:02 +08:00
export { default as Tabs } from './tabs';
2016-07-09 10:52:16 +08:00
2016-09-28 16:53:02 +08:00
export { default as Tag } from './tag';
2016-07-09 10:52:58 +08:00
2016-09-28 16:53:02 +08:00
export { default as TimePicker } from './time-picker';
2016-07-09 10:53:40 +08:00
2016-09-28 16:53:02 +08:00
export { default as Timeline } from './timeline';
2016-07-09 10:53:40 +08:00
2016-09-28 16:53:02 +08:00
export { default as Tooltip } from './tooltip';
2016-07-04 10:31:27 +08:00
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';
2016-09-28 16:53:02 +08:00
export { default as Mention } from './mention';
2016-11-03 16:45:13 +08:00
export { default as Upload } from './upload';
export { default as version } from './version';