Commit Graph

25 Commits

Author SHA1 Message Date
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
f8ed99ab57 missing components 2019-08-27 18:31:01 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
zombieJ
1517fcbbd6
fix space missing in button (#16551) 2019-05-17 12:04:47 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
35585a6d07
🐛 should render as normal button when href is assigned undefined
close #13337
2018-12-03 10:39:00 +08:00
afc163
233f1891d1 Add test case for wave 2018-11-12 13:59:34 +08:00
afc163
d03f4bc8db test: fix warning message in jest log 2018-09-19 15:05:55 +08:00
afc163
a54d06eb6f fix test case in react 15 2018-08-24 15:12:31 +08:00
afc163
62bacb09bf Fix wave render error in jest, close #11868 2018-08-24 12:11:44 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Zheeeng
f36c6195b8 Fix typo (#10878)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [ ] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [ ] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.
2018-06-12 14:36:08 +08:00
afc163
fb38e55cc0 more test about button text 2018-05-01 19:36:11 +08:00
afc163
4502ad8376 Fix button two-chinese-words update bug 2018-03-23 22:23:03 +08:00
崔宏森
eac76df671 Fix the bug<Button>{0}</Button> display abnormal (#8733)
* 修复了<Button>{0}</Button> 显示异常的bug

* Fix the bug<Button>{0}</Button> display abnormal

* Fix the bug<Button>{0}</Button> display abnormal

* Unit test writing error

* Unit tests were added to test the rendering of {0}, 0, {false} respectively
2018-01-09 16:18:20 +08:00
偏右
250eed0fc9
Link button (#8343)
* support link button

* Fix type
2017-11-29 11:20:22 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
5d6439f15b When there is icon, should not insert space in button children, #5977 2017-05-02 20:16:37 +08:00
Wei Zhu
1a8e738142 Set snapshotSerializers 2017-04-02 18:09:23 +08:00
偏右
66cafb95b0 Refactor button loading default delay (#5530)
* Remove delay loading button demo

* Button loading support like { delay: number }, close #5365

* update loading delay
2017-03-28 15:50:46 +08:00
偏右
f5d697988a fix: Tooltip should work with disabled button (#4865)
* Fix Tooltip won't hide at disabled button

close react-component/tooltip#18

* change button text in test case

* Add comments for display attribute

* correct test case
2017-02-16 14:03:05 +08:00
Wei Zhu
587b874fc8 tests: Add button tests 2016-12-14 15:44:38 +08:00