黑雨
51c615dd42
refactor: Breadcrumb separator use li
instead span
( #40887 )
...
* fix: fix 'span' to 'li'
* fix: fix 'span' to 'li'
* fix: update snap
* fix: update span to li
* feat: update snap
* feat: update snap
* feat: update snap
* feat: breadCrumb support items
* feat: update snap
* feat: update snap
* feat: update snap
2023-02-24 18:20:28 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
...
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
MadCcc
ab4bcc4463
Merge branch 'master' into next-merge-master
2022-11-17 14:04:31 +08:00
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>
2022-11-15 15:10:47 +08:00
MadCcc
1c16888d43
Merge branch 'master' into next-merge-master
2022-10-14 15:55:31 +08:00
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
2022-10-14 11:37:48 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
Peach
3c506b86b3
refactor: cssinjs for Breadcrumb ( #35125 )
...
* feat: add override token for breadcrumb
* refactor: cssinjs for Breadcrumb
* fix: hover color
Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-24 01:13:36 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
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
2022-04-08 22:55:42 +08:00
二货机器人
a67d39cd6c
feat: Menu support items
( #34559 )
...
* docs: Update Menu cn doc
* chore: update ts def
* chore: support convert
* docs: more demo
* docs: more demo
* docs: all menu demos
* docs: dropdown demo
* docs: dropdown all demos
* docs: update demo
* test: coverage
* docs: more demo
* docs: layout demo
* docs: all demo
* chore: fix ts lint
* docs: fix doc
* docs: all docs
2022-03-18 15:20:35 +08:00
Uladzimir Atroshchanka
662f3ade06
feat: Breadcrumb accessibility improvements ( #34082 )
...
* add accessibility to the breadcrumb component
* feat: add accessibility to the breadcrumb component
* test: breadcrumb accessibility
2022-03-10 11:46:42 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
2021-08-04 20:07:28 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
Tom Xu
56c42e496b
refactor(breadcrumb): rewrite with hook ( #24512 )
...
* refactor(breadcrumb): rewrite with hook
* Update BreadcrumbItem.tsx
2020-05-28 15:22:00 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
二货机器人
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>
2020-05-14 15:57:04 +08:00
偏右
2a9d6cd106
✅ improve breadcrumb test coverage ( #22719 )
2020-03-29 22:17:55 +08:00
douxc
12761e8382
fix: Breadcrumb 默认使用path作为唯一key ( #21583 )
...
* Breadcrumb 默认使用path作为唯一key
* update&submit jest snapshot
2020-02-27 11:00:57 +08:00
Saeed Rahimi
0dd9d44229
fix: rtl issue in breadcrumb ( #21054 )
...
* fix: rtl issue in breadcrumb
* update snapshots
* resolve ci
2020-01-21 22:01:53 +08:00
Saeed Rahimi
267e7e159b
Revert "fix: rtl issue in breadcrumb"
...
This reverts commit 53825391e8
.
2020-01-21 15:02:11 +03:30
Saeed Rahimi
53825391e8
fix: rtl issue in breadcrumb
2020-01-21 14:50:21 +03:30
偏右
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
2019-12-23 18:33:08 +08:00
骗你是小猫咪
0ee4a531a1
refactor: upgrade rc-dropdown ( #19498 )
...
* refator: upgrade rc-dropdown
* upgrade rc-dropdown version
* update snapshots
2019-11-06 14:49:20 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
Rustin
17ad782dfc
refactoring: refactor search code ( #19441 )
...
* refactor search code
* refactor bool expression no implicit cast
2019-10-27 11:43:48 +08:00
zombiej
911867622e
merge master
2019-09-26 22:28:08 +08:00
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
2019-09-23 11:52:29 +08:00
zombiej
b081fc4766
merge master
2019-09-02 16:09:05 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
诸葛龙
f9f6e8da79
chenlong ( #18340 )
2019-08-20 15:58:37 +08:00
dian.li
dd7e0c54ef
chore: disable eslint rule
2019-08-15 11:12:56 +08:00
dian.li
3e1560d753
fix: import multiple times
2019-08-15 09:47:04 +08:00
dian.li
882f343e10
fix: ts compile error with import React fix-ts-1259
2019-08-15 09:28:15 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
1e5c7243bf
fix: lint of lines-between-class-members
2019-08-06 15:36:12 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
chenlong
06e2e1a616
Breadcrumb.Separator checks
2019-07-31 10:47:34 +08:00
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
2019-07-09 11:46:21 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
haianweifeng
c6ea0aa3d7
Update Breadcrumb.tsx
2019-06-03 16:36:07 +08:00
haianweifeng
eee76be930
fix Breadcrumb.tsx
...
对于子路径是否为空进行判断
2019-05-30 22:59:01 +08:00
haianweifeng
1fac84b222
fix Breadcrumb.tsx
...
getPath() 参数赋默认值
2019-05-30 17:28:19 +08:00
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
2019-05-30 17:06:59 +08:00