prettyboyweiwei
56fb794862
chore: fix Array(x).key() cannot works in codesandbox/codepen
Co-authored-by: weiwei <weiwei0814@theduapp.com>
4 years ago
afc163
2980444bd6
test: fix lint
4 years ago
afc163
cc6d2f2157
test: ignore code which never run into
4 years ago
zombiej
780ada065b
chore: Update snapshot
4 years ago
偏右
cefb877ab9
fix: AutoComplete warning when using placeholder and allowClear ( #26765 )
close #26760
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
afc163
0de1358924
test: ✅ fix eslint jest rules
4 years ago
Knut Olav Bøhmer
e09040f3af
fix: `Button` as component for react-router `Link` ( #26740 )
React router passes `navigate` as prop to component in <Link to={to}
component={Component}>. This is already fixed for Typography.Link.
(#26623 ) This fixes `<Link to={to} component={Button}` />
4 years ago
afc163
704899415e
docs: 📝 fix anchor demo
4 years ago
afc163
ca18e8cd87
docs: clearify Anchor showInkInFixed API
close #26702
4 years ago
Krishna Singh
bf910cb3a9
Update time-picker documentation ( #26673 )
Added `onSelect` prop details on Time-Picker documentation
4 years ago
vldh
1e9aded2dd
CascaderProps add name and id ( #26660 )
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
afc163
58a57224a8
test: ✅ fix test snapshot change
4 years ago
Knut Olav Bøhmer
ab3d0ea8de
fix: don't show empty items in Space component ( #26721 )
4 years ago
Michael Waddell
add02767f0
Feat: Support callbacks for removeIcon and downloadIcon in Upload ( #26684 )
* updated to support callback function
* fixing compilation errors
* feat: add support for per-file callbacks in Upload removeIcon and downloadIcon
* Update components/upload/index.en-US.md
Added version
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
* docs: Changed `React.ReactNode` to `ReactNode`
* docs: Added version in CN documentation
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
二货机器人
1faabb219d
feat: Form.List support rules ( #26676 )
* Add ErrorList component
* move class to ErrorList
* support cache of status
* update doc
* update snapshot
* patch test case
* clean up
* docs: add faq
4 years ago
paranoidjk
ea19589619
feat: feat: expose ConfigContext ( #26705 )
4 years ago
Dave
5507641331
fix(table-pagination): make pagination.position work ( #26678 )
4 years ago
Sam Kah Chiin
4270fc7e12
[Chore] Fix typo in index.en-US.md ( #26703 )
4 years ago
偏右
0472da5a40
fix: sorter compare and multiple should be optional ( #26686 )
close #26085
4 years ago
Tom Xu
faa534c1c0
feat: form support messageVariables ( #26597 )
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update demo.test.js.snap
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update FormItem.tsx
* docs: add messageVariables use
4 years ago
Tom Xu
bef89ce686
docs: remove Anchor not use api ( #26672 )
4 years ago
偏右
ce4dd06469
style: Card card image has extra 1px border ( #26659 )
close #26658
4 years ago
偏右
39b40b573d
fix: Menu not support React.Fragment ( #26656 )
* fix: Menu support React.Fragment
* chore: tweak menu demo
* fix: React key warning
4 years ago
Dave
0b4563579b
feat(select): sync placeholder color (input) ( #26651 )
4 years ago
偏右
6fc11830d6
fix: Textarea value works differently as Input ( #26652 )
4 years ago
Bojack
ad180b8dcf
docs: update AutoComplete api document ( #26633 )
* docs:update AutoComplete api documnet
* docs: update AutoComplete api document
4 years ago
二货机器人
8ab74cbe0e
test: Fix Upload test case ( #26638 )
* test: Fix test case
* clean up
4 years ago
Tom Xu
498d48c6b1
docs: fix pro table link ( #26637 )
4 years ago
二货机器人
c58135fd46
fix: Align motion match ( #26628 )
* fix: Align motion match
* bump rc-motion
* lock rc-trigger version
* update snapshot
4 years ago
偏右
e745e24677
fix: Invalid value for prop `navigate` on Link ( #26623 )
close #26622
4 years ago
偏右
ce6d89e93a
fix: Table pagination missing when position is top ( #26618 )
close #26617
4 years ago
二货机器人
a26517f9ab
fix: Controlled multiple files upload list sync ( #26612 )
* init hooks
* Use raf to sync list
* clean up
4 years ago
afc163
e9d3ee6928
test: fix image test snapshot
4 years ago
willc001
79b681d27c
fix: restrict nested table styles to only apply to direct children of td ( #26568 )
Co-authored-by: William Cai <williamcai@easyops.cn>
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
xrkffgg
a46c5ce19b
docs: update typography demo ( #26604 )
4 years ago
偏右
c630a6de69
fix: Table clear both style ( #26599 )
* fix: Table clear both style
close #26595
* Update index.less
4 years ago
Pengsha Ying
b4c0978068
fix(upload): adjust type declaration for the onError of customRequest ( #26601 )
4 years ago
Long Nguyen
7b55f112ce
docs: fix typos ( #26598 )
4 years ago
偏右
a8dea916b2
fix: Search autocomplele list in Chrome ( #26590 )
* fix: 🆙 upgrade rc-select to 11.2.x
* style: fix input search clear button
* test: update snapshot
4 years ago
偏右
a12a7ef2d8
Update basic.md
4 years ago
lich-yoo
f0f22bb726
fix: cascader value overwritten when filtering ( #26554 ) ( #26569 )
* fix: cascader value overwritten when filtering (#26554 )
* test: add onChange test cases (#26554 )
* test: add onChange test cases
Co-authored-by: lich(李春翯) <lich@21kunpeng.com>
4 years ago
Jonathan Gabaut
7e209f0a51
fix: add `flex` type to `ColSize` interface ( #26578 )
According to the API in the docs and based on my own usage, it's a valid value so let's make it official!
4 years ago
zombiej
9663b24216
docs: Update requiredMark doc desc
4 years ago
Tanmoy Bhowmik
6d2854264a
fix: Modal width out of screen ( #25765 )
* style(modal): add max-width
* chore(modal): add custom width demo
* test(modal): add custom width snapshot
* Update modal.less
* Update modal.less
* Update width.md
* Update demo.test.js.snap
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
willc001
b0c70ab348
fix: Radio.Group forward child element ref ( #26555 )
Co-authored-by: William Cai <williamcai@easyops.cn>
4 years ago
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
* test: ✅ add test cases to increase coverage
* chore: remove console
4 years ago
zhangj
0c521962e7
feat: Update rc-dialog to 8.3.0, support Modal drag and drop. ( #26507 )
* feat: 更新到rc-dialog@8.3.0 添加Modal组件对拖拽的支持。
* fix: test case
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* fix: 修复文档版本修改为4.7.0, 文档的order改为13最后一个,指针改为move
* fix: 修改API的顺序,按照字母顺序进行排列
* fix: 修复一些讨论的问题
* fix: test case
* fix: 修改Demo的Modal的Button的显示方式,进行竖着排列
* docs: 去掉多余的demo
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
偏右
34d5112132
fix: Pagination align issue ( #26549 )
close #26533
4 years ago