Tom Xu
56c42e496b
refactor(breadcrumb): rewrite with hook ( #24512 )
* refactor(breadcrumb): rewrite with hook
* Update BreadcrumbItem.tsx
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
偏右
2a9d6cd106
✅ improve breadcrumb test coverage ( #22719 )
5 years ago
douxc
12761e8382
fix: Breadcrumb 默认使用path作为唯一key ( #21583 )
* Breadcrumb 默认使用path作为唯一key
* update&submit jest snapshot
5 years ago
Saeed Rahimi
0dd9d44229
fix: rtl issue in breadcrumb ( #21054 )
* fix: rtl issue in breadcrumb
* update snapshots
* resolve ci
5 years ago
Saeed Rahimi
267e7e159b
Revert "fix: rtl issue in breadcrumb"
This reverts commit 53825391e8
.
5 years ago
Saeed Rahimi
53825391e8
fix: rtl issue in breadcrumb
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
骗你是小猫咪
0ee4a531a1
refactor: upgrade rc-dropdown ( #19498 )
* refator: upgrade rc-dropdown
* upgrade rc-dropdown version
* update snapshots
5 years ago
Rustin
17ad782dfc
refactoring: refactor search code ( #19441 )
* refactor search code
* refactor bool expression no implicit cast
5 years ago
sosohime
9f78fd093a
feat: Breadcrumb support data-* and aria-* attributes ( #18941 )
* add tree-select async demo
* breadcrumb support data against
* lint fix
* add ui test
* update ui test
* update ui test
5 years ago
诸葛龙
f9f6e8da79
chenlong ( #18340 )
5 years ago
dian.li
dd7e0c54ef
chore: disable eslint rule
5 years ago
dian.li
3e1560d753
fix: import multiple times
5 years ago
dian.li
882f343e10
fix: ts compile error with import React fix-ts-1259
5 years ago
orzyyyy
1e5c7243bf
fix: lint of lines-between-class-members
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
chenlong
06e2e1a616
Breadcrumb.Separator checks
5 years ago
vagusX
eac30ec8e4
Feat/remove deprecated ( #17510 )
* feat: remove warnings for linkRender, nameRender in Breadcrumb
* feat: remove warnings for onOpen, onClose in Menu
* feat: remove warnings for overlay in Popover
* feat: remove warnings for columnsPageRange, columnsPageSize in Table
* feat: remove warnings for afterClose in Tag
* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer
* fix: types in Transfer
* feat: update test cases in Transfer
* feat: add additional test cases for removed deprecated apis
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
haianweifeng
c6ea0aa3d7
Update Breadcrumb.tsx
6 years ago
haianweifeng
eee76be930
fix Breadcrumb.tsx
对于子路径是否为空进行判断
6 years ago
haianweifeng
1fac84b222
fix Breadcrumb.tsx
getPath() 参数赋默认值
6 years ago
haianweifeng
3122f3b86b
修复Breadcrumb.tsx 中处理route.children 路径不对
<Menu.Item key={child.breadcrumbName || child.path}>
{itemRender(child, params, routes, [...paths, this.getPath(child.path, params)])}
</Menu.Item>
itemRender(...args) 中路径应该到拼接当前child.path
6 years ago
Marcel Jackwerth
56ff8728d2
Remove ancient prop types ( #16705 )
* Remove ancient Modal.propTypes.align and Progress.propTypes.size
* Remove linkRender and nameRender from Breadcrumb
6 years ago
Gin-X
7cdcc7cc2f
fix children's type of interface Route ( #16550 )
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
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
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
Karol Majewski
1479726932
Use exact type for Breadcrumb.Item ( #10372 )
Using "any" breaks the build for TSLint users having the "no-unsafe-any" rule enabled.
See https://palantir.github.io/tslint/rules/no-unsafe-any/
7 years ago
Wei Zhu
de340a83ba
Fix implicit any error for Breadcrumb
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
4f1811a3cc
itemRender do not rely on route.breadcrumbName
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
ac1c7f312b
itemRender do not rely on route.breadcrumbName
8 years ago
Robert Wilkinson
910199613d
Update Breadcrumb.tsx ( #5174 )
spelling in comment
8 years ago
afc163
9c6a6d6175
Fix Breadcrumb falsy children, close #5015
8 years ago
Wei Zhu
85086f14b6
Using a special static property for type detecting ( #4673 )
Related issue: #4655
8 years ago
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago