Commit Graph

252 Commits

Author SHA1 Message Date
偏右
771b2c426a
Merge pull request #15395 from ant-design/fix-badge-height
Fix Badge dot a litter higher
2019-03-14 20:39:03 +08:00
DiamondYuan
59d996b4f3 fix: should color style works on Badge (#15356)
fix ##15349
2019-03-14 15:53:51 +08:00
afc163
5a33f8ced1
🐛 Fix Badge dot a litter higher
close #15367
2019-03-14 12:20:44 +08:00
afc163
d9ca0d8381
Optimize badge code again 2019-03-11 17:13:59 +08:00
afc163
f694a1bbb8
Opatimize badge code 2019-03-11 16:54:29 +08:00
afc163
bd0eb34487
make sure count compare as number 2019-03-08 15:57:07 +08:00
afc163
da6662562b
refactor some code after #15254 2019-03-08 15:43:46 +08:00
偏右
5415b81f63
Merge pull request #15254 from zy410419243/migrate
refactor: migrate lifecycle method
2019-03-08 14:13:24 +08:00
ztplz
2e0a85324b Fix type (#15266)
* Fix type

* Update index.tsx
2019-03-08 12:26:01 +08:00
陈小聪
85a293eacb
change badge text types
```jsx
<Badge status="default" text={<span style={{ color: 'rgba(0, 0, 0, 0.45)' }}>未响应</span>} />
```
2019-03-08 00:21:53 +08:00
zy410419243
4dc533c202 refactor: update lifecycle method for Badge 2019-03-07 16:03:02 +08:00
zombieJ
3a16708765
update snapshot (#15108) 2019-02-28 14:42:11 +08:00
米老朱
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
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
ztplz
d30fdf11d7 Fix changing the count of a badge with border-color raises an error (#14525)
fix #14516
2019-01-24 12:17:38 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
ztplz
b2fed8711e Support float number for Badge (#14195)
fix #13815
2019-01-09 22:32:06 +08:00
Junbin Huang
dc4247bdff
Merge branch 'feature' into master 2019-01-06 13:34:41 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
95660c4fac
adjust table fixed column z-index (#14036)
fix #13930
2019-01-02 17:17:23 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
shangyuan.ning
8288e8b82c fix a spelling mistake 2018-12-28 23:00:50 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
* master:
  Fixed Modal width when screen size smaller than 768px
  🚨 coverage precision to 1
  🚨 update .codecov.yml
  💄 Fix Badge animation jump when count is ReactNode
  fix Popover arrow narrow line at top
  fix Popover arrow border in different directions
  fix popover arrow top shadow
  Change render of + & - icon fix #13924
  🐛 loose button type propTypes for custom usage
  fix input has min size close #3699
  fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
afc163
5727bbc36a
💄 Fix Badge animation jump when count is ReactNode
close #13800
2018-12-26 19:06:02 +08:00
afc163
b1a67de35e
Merge branch 'master' into feature
* master:
  📝 fix demo order
  Fixes #10576 (#13703)
  doc: update form & layout docs (#13701)
  update doc close #11802
  🐛 Fix Badge offset not working when count is ReactNode
2018-12-19 12:09:12 +08:00
afc163
1fb7bac8ca
🐛 Fix Badge offset not working when count is ReactNode
close #13694
2018-12-18 18:31:12 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
1cbe8bc919 Merge branch 'master' into feature
* master:
  Add missing types for tree
  fix: notification's description should be optional
  Fix #13132 (#13143)
2018-11-15 14:18:02 +08:00
ztplz
54cb3b96d3 Fix #13132 (#13143) 2018-11-14 23:44:38 +08:00
afc163
cdafee70f2 Merge branch 'master' into feature
* master:
  🔥 update less code style
  ⬆️ upgrade react-dnd version
  update
  Remove unused dependencies
  3.10.7 changelog
  🐛 Fix typo, #12978
  update changelog
   Release 3.10.6
  🚑 Fix Button[href] 1px align bug in another way
  tweak style
  💄 tweak button style
2018-11-12 12:06:24 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
zombiej
bc380a7d31 Merge remote-tracking branch 'origin/master' into feature 2018-11-06 23:48:29 +08:00
zombiej
c5a002d44c sync doc. ref #12975 2018-11-06 14:45:17 +08:00
JeromeLin
c55d26658d ReactNode包含number类型
ReactNode包含number类型,这么些不妥~
type ReactNode = string | number | boolean | {} | ReactElement<any> | ReactNodeArray | ReactPortal
2018-11-06 13:40:54 +08:00
afc163
ad0f9b28ec Merge branch 'master' into feature
* master:
  site: add Community discusstion links
  🌐 site: transition component category, close #11629
  Fix Collapse Panel id definition, close #12357
  Fix style overlap with sorter when long text in Table column header
  Add more recommendation
  adjust datepick reset logic
  reset showDate when picker is closed fix #12929
2018-11-04 17:15:29 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
fc6ac421c2 Refactor Badge and support count as custom component
close #11134
close #12140
2018-10-16 15:07:24 +08:00
afc163
d70f52add3 Fix Badge align when it is not a wrapper
close #12419
2018-10-09 18:53:32 +08:00
zombiej
2b22d6b19c bump rc-switch & update test case 2018-09-13 19:47:28 +08:00
afc163
fd409df14d tweak badge vertical align 2018-09-11 19:04:35 +08:00
afc163
5d59ee9afb Fix badge offset[0] not working 2018-09-11 19:04:06 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00