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
5 years ago
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
5 years ago
偏右
189ad71d32
Revert "chore: use none-dist icons entry"
5 years ago
afc163
390807605e
🔧 use none-dist icons entry
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
陈帅
785c132262
meger feature to master ( #16421 )
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
6 years ago
Aaron Cawte
0fc9b86ced
Documentation - Badge Component
6 years ago
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable ( #16118 )
* add override
* add override support
* update doc
6 years ago
afc163
b4bdb19952
✅ Fix snapshot
6 years ago
afc163
a2a9831abb
💄 Fix less code style
6 years ago
zombieJ
41316e69e8
update snapshot ( #16017 )
6 years ago
zombieJ
6b2d72e2c1
fix: badge should accept negative number ( #15810 )
* fix badge negative number
* support negative as count
6 years ago
afc163
1f2375deca
🎬 Remove useless badge demo
6 years ago
zombieJ
75cd91a966
Badge support customize color ( #15764 )
* popout
* update snapshot
* update doc
* update def
6 years ago
DiamondYuan
59d996b4f3
fix: should color style works on Badge ( #15356 )
fix ##15349
6 years ago
afc163
5a33f8ced1
🐛 Fix Badge dot a litter higher
close #15367
6 years ago
afc163
d9ca0d8381
⚡ Optimize badge code again
6 years ago
afc163
f694a1bbb8
⚡ Opatimize badge code
6 years ago
afc163
bd0eb34487
make sure count compare as number
6 years ago
afc163
da6662562b
⚡ refactor some code after #15254
6 years ago
ztplz
2e0a85324b
Fix type ( #15266 )
* Fix type
* Update index.tsx
6 years ago
陈小聪
85a293eacb
change badge text types
```jsx
<Badge status="default" text={<span style={{ color: 'rgba(0, 0, 0, 0.45)' }}>未响应</span>} />
```
6 years ago
zy410419243
4dc533c202
refactor: update lifecycle method for Badge
6 years ago
zombieJ
3a16708765
update snapshot ( #15108 )
6 years ago
米老朱
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
6 years ago
ztplz
d30fdf11d7
Fix changing the count of a badge with border-color raises an error ( #14525 )
fix #14516
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
ztplz
b2fed8711e
Support float number for Badge ( #14195 )
fix #13815
6 years ago
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
6 years ago
zombieJ
95660c4fac
adjust table fixed column z-index ( #14036 )
fix #13930
6 years ago
shangyuan.ning
8288e8b82c
fix a spelling mistake
6 years ago
afc163
5727bbc36a
💄 Fix Badge animation jump when count is ReactNode
close #13800
6 years ago
afc163
1fb7bac8ca
🐛 Fix Badge offset not working when count is ReactNode
close #13694
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
ztplz
54cb3b96d3
Fix #13132 ( #13143 )
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
zombiej
c5a002d44c
sync doc. ref #12975
6 years ago
JeromeLin
c55d26658d
ReactNode包含number类型
ReactNode包含number类型,这么些不妥~
type ReactNode = string | number | boolean | {} | ReactElement<any> | ReactNodeArray | ReactPortal
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
afc163
fc6ac421c2
Refactor Badge and support count as custom component
close #11134
close #12140
6 years ago