Dave
337703d550
refactor(type): replace interface with type for export component ( #39060 )
2 years ago
lijianan
8cd60cc9bd
fix: Breadcrumb overlay deprecated warning ( #38567 )
* fix: incorrect warning
* Update components/breadcrumb/__tests__/Breadcrumb.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
lijianan
19eabb0819
fix: should support number 0 ( #38006 )
* fix: should support number `0`
* fix: should support number `0`
* test: add snap
* test: add snap
* test: add snap
* test: add snap
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
3 years ago
afc163
93b55d5e8c
chore: remove Breadcrumb Dropdown warning ( #35162 )
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
二货机器人
f3f1dbf1b1
refactor: Move design token in ( #34624 )
* chore: move in
* wip: refactor the structure of design token
* refactor: merge override
* chore: mv in
* chore: fix ts
* chore: tmp all
* chore: comment
* chore: comment
* chore: use variables
* fix: compile error
Co-authored-by: arvinxx <arvinx@foxmail.com>
3 years ago
Uladzimir Atroshchanka
662f3ade06
feat: Breadcrumb accessibility improvements ( #34082 )
* add accessibility to the breadcrumb component
* feat: add accessibility to the breadcrumb component
* test: breadcrumb accessibility
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
3 years ago
xiejiahe
65c71769ca
style(BreadcrumbItem): Condition check ( #30148 )
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
張 盛偉
d12403a26d
refactor: add className in BreadcrumbItemProps ( #28182 )
* refactor: add className in BreadcrumbItemProps
* refactor: update docs
4 years ago
flyerH
e6dd15f01f
fix: fix breadcrumb separator
4 years ago
Tom Xu
56c42e496b
refactor(breadcrumb): rewrite with hook ( #24512 )
* refactor(breadcrumb): rewrite with hook
* Update BreadcrumbItem.tsx
5 years ago
paranoidjk
84173d9f5c
feat: expose all Dropdown props of BreadcrumbItem ( #20763 )
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
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
63b33d4020
fix: unexpected changes of snapshots
5 years ago
chenlong
4a8affe0e0
add Breadcrumb.Separator
5 years ago
偏右
6d2a5df1e6
fix: Breadcrumb validateDOMNesting warning ( #16929 )
* 🐛 Fix Breadcrumb validateDOMNesting warning
```
Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
in a (created by Context.Consumer)
in span (created by Context.Consumer)
in a (created by Context.Consumer)
in Trigger (created by Dropdown)
in Dropdown (created by Context.Consumer)
in Dropdown (created by Context.Consumer)
in span (created by Context.Consumer)
in BreadcrumbItem (created by Context.Consumer)
in div (created by Context.Consumer)
in Breadcrumb (created by TestBreadcrumb)
in TestBreadcrumb
```
* ✅ update snapshots
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
陈帅
34f24a88a9
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
6 years ago
萧琚
34a9da638c
fix add click prop for BreadcrumbItem
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
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
8 years ago
afc163
17aa47b8cb
when there is no breadcrumbName, do not show breadcrumb item, close #5542
8 years ago
Wei Zhu
85086f14b6
Using a special static property for type detecting ( #4673 )
Related issue: #4655
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
afc163
730dbc72f7
Add typings
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
794783d1c2
style: enable react/no-multi-comp
9 years ago