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
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
ea6656f734
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-21 16:32:30 +08:00
afc163
ab7855d104
demo: update badge demo
2018-08-20 15:07:05 +08:00
afc163
22162fe04b
Fix badge zoom animation style
2018-08-20 14:53:58 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
afc163
84119d8959
Fix badge position when it's children is display:block
...
https://codepen.io/afc163/pen/MBMjqG?editors=0110
2018-08-16 17:10:47 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
afc163
8d873785a7
Add badge above footer kitchen link
2018-08-14 12:26:53 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
tangjinzhou
257f3ec35d
fix: badge offset x y axis order error
2018-08-07 20:45:58 +08:00
HeskeyBaozi
768af40c4c
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
# components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
# components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
zongzi531
e29a88b704
fix: badge type error.
2018-07-24 00:01:26 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
afc163
e124cabc5b
update badge snapshot test
2018-06-02 13:18:25 +08:00
afc163
322ebf0039
fix badge snapshot
2018-05-25 21:43:21 +08:00
afc163
21db29bd53
Add test cases for Badge
2018-05-25 21:43:21 +08:00
afc163
042c014a38
test => it
2018-05-25 21:43:21 +08:00
afc163
8da79f4b34
Badge[status] should work with Tooltip
...
close #10626
2018-05-23 13:11:49 +08:00
Ludwig Bäcklund
74d81c2d07
Add title prop to Badge that shows when hovering it
2018-04-12 11:53:32 +08:00
Wei Zhu
43537ed368
Fix type error
...
Close #9931
2018-04-04 17:51:51 +08:00
afc163
454567dee4
remove !important
2018-03-23 11:45:39 +08:00
Mathew
947cee4475
fix issue #9359 ( #9364 )
...
* fix issue #9359
* fix trailing whitespaces
2018-02-24 11:40:44 +08:00
George Gray
053396810b
add @badge-font-weight var ( #9352 )
2018-02-14 12:35:52 +08:00
afc163
ba236419be
Fix badge API doc
2018-02-11 19:21:12 +08:00
bzone
3418cb8a60
update Badge doc ( #8905 )
...
* Update index.zh-CN.md
* Update index.en-US.md
2018-01-13 04:10:45 -06:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
Wei Zhu
db560bb10d
Fix implicit any error for Badge
2017-11-22 11:25:05 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
3c648820a0
Fix badge style
2017-11-12 14:10:41 +08:00
afc163
09af43c314
Allow Badge[status] usage with Badge[children], close #8164
2017-11-12 13:58:12 +08:00
Graeme Yeates
b46cb4b740
Add a variable to control processing colors ( #8166 )
2017-11-11 14:15:16 +08:00
afc163
ca1b79ad34
Add Badge[offset]
2017-11-03 11:37:35 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
914fec9ac4
Tweak badge padding
2017-10-18 17:19:42 +08:00
afc163
c5ffc3b4f0
Fix upload and badge styles
2017-10-17 15:01:21 +08:00
afc163
00bfa49031
Merge branch 'master' into antd-3.0
2017-10-16 20:45:25 +08:00
afc163
26e416c364
Tweak style
2017-10-16 19:56:04 +08:00
vgeyi
0a6475cb0d
Badge add scrollNumberPrefixCls ( #7882 )
...
* badge add scrollNumberPrefixCls
* badge add scrollNumberPrefixCls
2017-10-14 14:29:18 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
Khalifa Lame
81e3429955
Update Badge English doc ( #7628 )
...
* Update Badge English doc
Fixed typos.
* Update index.en-US.md
Reverted some changes after studying the component.
2017-09-16 11:29:38 +08:00
afc163
a0a1bff7fe
Use real count as badge title
2017-08-31 10:55:25 +08:00
afc163
8892d85e33
use @font-size-base for Badge[text]
2017-08-08 14:23:50 +08:00
afc163
6a17efcbf1
upgrade some devDeps and fix stylelint
2017-08-04 18:01:40 +08:00
afc163
a88f8fcc21
fix badge demo
2017-07-31 18:03:16 +08:00
afc163
330e1f7a4b
Fix badge title, close #7024
2017-07-31 18:01:45 +08:00
afc163
39207efa4d
Add @badge-font-size and @tabs-title-font-size
2017-07-12 17:32:31 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
Benjy Cui
8e9a2eae38
chore: fix ts lint
2017-06-28 16:49:49 +08:00
afc163
fd625ef1a0
upgrade and fix tslint problems
2017-05-31 15:48:35 +08:00
afc163
4417dcf300
fix tsc
2017-05-29 19:06:26 +08:00
Jordan Hornblow
03adcefafd
Make count prop optional in BadgeProps interface
...
E.g. https://ant.design/components/badge/#components-badge-demo-dot
2017-05-29 20:14:16 +10:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
...
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
afc163
56775e5ed7
fix badge snap
2017-03-24 14:58:00 +08:00
afc163
b090dec8e0
Fix badge style in Maxthon, close #5477
2017-03-24 14:34:37 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
Benjy Cui
ef2375885e
feat: support Badge[showZero], close : #4251 ( #5096 )
2017-03-01 11:16:58 +08:00
Wei Zhu
1fc8990531
docs: Rewrite Badge demos to ES6 component
2017-02-19 20:27:06 +08:00
afc163
49b050ccc1
Improve button and badge[status] with pulse animation
2017-02-16 17:08:15 +08:00
afc163
e5ccc1d4ba
fix for stylelint
2017-02-13 15:01:02 +08:00