米老朱 6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
2019-01-29 12:01:52 +08:00
2019-02-14 17:49:58 +08:00
2018-12-11 16:55:38 +08:00
2019-02-15 10:48:07 +08:00
2019-01-01 11:42:08 +08:00
2018-11-12 14:18:16 +08:00
2018-11-28 12:21:44 +08:00
2018-12-07 18:27:30 +08:00
2018-12-13 18:07:49 +08:00
2019-02-08 10:01:01 +08:00
2018-12-26 16:01:00 +08:00
2018-12-26 16:01:00 +08:00
2018-12-07 18:27:30 +08:00
2019-02-15 10:48:07 +08:00
2018-12-26 14:14:00 +08:00
2018-11-28 12:17:49 +08:00
2018-12-27 18:11:42 +08:00
2019-02-11 23:06:19 +08:00
2019-02-07 21:24:18 +08:00
2018-11-26 23:53:52 +08:00
2018-12-07 18:27:30 +08:00
2018-12-07 18:27:30 +08:00
2018-11-28 12:16:59 +08:00
2018-04-19 17:23:38 +08:00
2019-02-15 10:48:07 +08:00
2019-02-10 20:29:26 +08:00
2019-02-10 20:29:26 +08:00
2019-01-13 01:36:25 +08:00
2018-12-07 18:27:30 +08:00

Ant Design

An enterprise-class UI design language and React implementation.

Build Status CircleCI branch Codecov npm package NPM downloads

Dependencies DevDependencies Total alerts FOSSA Status Issues need help

Gitter Join the chat at https://gitter.im/ant-design/ant-design

English | 简体中文

Features

  • An enterprise-class UI design system for web applications.
  • A set of high-quality React components out of the box.
  • Written in TypeScript with predictable static types.
  • The whole package of development and design resources and tools.

🖥 Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron
IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE9, IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd --save
yarn add antd

🔨 Usage

import { DatePicker } from 'antd';
ReactDOM.render(<DatePicker />, mountNode);

And import style manually:

import 'antd/dist/antd.css';  // or 'antd/dist/antd.less'

Or import components on demand.

TypeScript

See Use in TypeScript.

🌍 Internationalization

See i18n.

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

🤝 Contributing PRs Welcome

Read our contributing guide and let's build a better antd together.

We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

If you are collaborator. Please follow our Pull Request principle to create Pull Request by collaborator template.

Let's fund issues in this repository

Languages
TypeScript 99.5%
JavaScript 0.3%