lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Arnaud Benhamdine
33e06a2b92
chore(Drawer): Improve warning message wording and demo doc ( #39207 )
* Improve warning message wording
* Improve wording in demo
* Fix test
2 years ago
二货爱吃白萝卜
4d33b7443b
docs: Add more desc & warning ( #39201 )
2 years ago
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact ( #38870 )
* fix: context issues for Space.Compact
* test: update snapshots
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
二货爱吃白萝卜
2b15bdafac
fix: Drawer PurePanel style missing ( #37946 )
* fix: Drawer PurePanel style missing
* docs: clean up useless demo code
2 years ago
二货爱吃白萝卜
5a68bad59d
refactor: Drawer PurePanel only need Drawer panel part ( #37676 )
* refactor: Drawer Panel component extrac
* chore: PurePanel
* chore: PurePanel styled
* test: Update snapshot
2 years ago
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2 years ago
二货机器人
428665827b
chore: clean up useless ts def
2 years ago
二货机器人
4ca73c67bc
fix: drawer rootStyle
2 years ago
yykoypj
766748a501
feat: change visible to open for drawer ( #36750 )
* feat: change visible to open for Drawer
* refactor: use open internal either
* feat: add warning when use visible
* test: Fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
73b3c7828d
fix: Drawer add motion deadline ( #37100 )
* fix: Drawer add motion deadline
* test: Update snapshot
* test: ignore motion in snapshot render
2 years ago
二货爱吃白萝卜
3012c77482
fix: Drawer zIndex ( #36958 )
2 years ago
二货机器人
0dc7c99e7d
feat: PurePanel and refactor naming ( #36834 )
* docs: PurePanel
* docs: Update API
* docs: Update doc
* chore: correct style naming
* test: Update snapshot
2 years ago
二货机器人
ab0b6b2c9a
chore: clean Drawer ts def ( #36823 )
2 years ago
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
3 years ago
叶枫
c3fc5db788
fix: drawer close twice children is undefined ( #35853 )
* fix: drawer close twice children is undefined
* fix: drawer close twice children is undefined
* chore: code
* fix: test
3 years ago
叶枫
5e5ad935a4
fix: drawer can not ref form instance when open ( #35706 )
* fix: drawer can not ref form instance when open
* fix: test
* feat: div ref
* feat: test
* feat: test
* feat: test
* feat: test
3 years ago
叶枫
644e4bfc6a
fix: drawer close speed ( #35339 )
* fix: drawer close speed
* chroe: snap
* chroe: test
* chroe: test
* feat: remove file
* feat: 重新整理
* feat: forceRender
* feat: snap
* chroe: test
* chroe: test
* chroe: test
* feat: create event
* feat: diff code
* feat: forceRender
* chore: test (#35364 )
* Update components/drawer/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: remove load state
* feat: test
* fix: destroyOnClose
* feat: add load
* fix: update snap
* fix: update snap
* feat: reset test
* feat: docs
* feat: test
* feat: test
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
MadCcc
05643ab9f3
refactor: Drawer migrate to genComponentStyleHook ( #34931 )
3 years ago
黑雨
6451b2ea04
feat: cssinjs for drawer ( #34656 )
3 years ago
黑雨
087b65c3b9
feat: delete drawer wrap ( #34673 )
3 years ago
David Santos
63ddba3023
fix: Drawer levelMove types ( #30714 )
3 years ago
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap ( #32007 )
* chore: bump rc-drawer to 4.4.2
* feat: DrawerProps interface add autoFocus support
* docs: add autoFocus to Drawer doc
* fix: snapshot update
* fix: snapshot update
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
3 years ago
afc163
62949a6bd6
feat: change Drawer close icon placement and add extra property ( #30908 )
* feat: Drawer supports extra
* docs: add description for drawer extra demo
* docs: add extra in API
* update snapshot
* fix rtl style
* fix demo typescript errors
* update snapshot
* design for close icon only
* update snapshot
* update demo and default width
* add size prop
* improve demo
* update snapshot
* update demo
* update snapshot
4 years ago
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration ( #29571 )
* fix(drawer): add contentWrapperStyle type declaration
* chore: add test case
4 years ago
afc163
4ee9253467
refactor(drawer): rewrite with hook from @hosseinmd ( #29229 )
* refactor: drawer to functional component and hooks
* chore: clean code default value
* perf: remove doesn't necessary useCallback
* chore: useContext instead of Consumer
* fix ref
* Add Drawer displayName
* fix tsc
* fix tsc
Co-authored-by: Hossein Mohammadi <hosseinm.developer@gmail.com>
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
xrkffgg
36cdf0a129
refactor: direction type define ( #27540 )
4 years ago
二货机器人
d6bd89e370
fix: Form warning ( #27343 )
* fix: Not warning in drawer
* add test case
4 years ago
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit ( #27175 )
* fix: if form warp drawer, close button will trigger submit
* update snapshot
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
JinXin
ad8aa87373
feat: multi drawer push ( #25445 )
4 years ago
陈帅
523b74e3b6
merge master into Feature ( #25262 )
* feat: add successColor for Progress (#24655 )
* feat: add successColor for Progress
* feat: update
* fix: update test
* remove snap
* feat: add test case
* refactor success
* feat: adjust styyle
* feat: add DevWarning
* feat: Support rowSelection.dirty (#24718 )
* feat: Support rowSelection.dirty
* rename to reserveKeys
* preserveKeys will keep record also
* to preserveSelectedRowKeys
* feat: add ghost prop for collapse (#24734 )
* feat: add ghost prop for collapse
* doc: version of collapse's ghost prop
* refactor: make ghost collapse's less code to a nested style
* chore: remove redundant codes in ghost collapse's less & doc
* doc: add a background wrapper for ghost collapse demo
* doc: dark-theme wrapper bg-color for ghost collapse demo
* test: update snapshot of ghost collapse
* doc: use softer bg-color on ghost collapse demo
* doc: remove disabled panel in ghost collapse demo
* feat: form instance support getFieldInstance (#24711 )
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
* feat: dropdown support arrow (#23869 )
* feat: dropdown support arrow prop
close #22758
* test: update snapshot
* fix: fix dropdown cls names
* test: update snapshot
* test: update snapshot
* doc: update demo
* test: update demo snapshot
* demo
* fix: snapshot
* chore: change the style of ghost collapse & demo modified (#24762 )
* refactor: reduce content padding in ghost collapse
* doc: remove the wrapper outside ghost collapse
Designer want the demo differs from other demos
* refactor: remove redundant .less code in collapse
* feat: cascader dropdown-render prop (#24812 )
* feat: cascader dropdown-render prop
* fix: update Cascader dropdownRender type annotation
* fix: set rc-cascader semver from ^ to ~
* docs: fix coding style in cascader/custom-dropdown
* feat: 🆕 support Drawer closeIcon (#24842 )
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
* feat: 🆕 Cascader expandIcon (#24865 )
* feat: cascader expandIcon
* fix: snap
* refactor: reduce CSS size (#24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
* feat: add Table onChange an action param (#24697 )
* Working on tests
* created TableAction type
* changed TableActions to tuple
* removed chinese documentation line
* refactor TableActions
* fix documentation
* Moved action into extra param
* minor doc change
* feat: add closeIcon customize tag close (#24885 )
* feat: add closeIcon customize tag close
* docs fix
* update snap
* fix: css name
* update snapshot
* snapshot
* feat: add radio `optionType` api to set radio option type (#24809 )
* feat: radio component
* docs: update md
* fix: snap
* test components
* fix: use optionType
* fix name
* add warning
* fix
* feat: expand rate character (#24903 )
* feat: expand rate character
* fix: demo
* fix: snap
* Update components/rate/index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
* fix
Co-authored-by: 偏右 <afc163@gmail.com>
* Refactor demo code box actions (#24887 )
* refactor: refine the styling of actions part of demo code-box
* fix: lint style
* refactor: move Result children to end (#24945 )
* feat: remove content max-width on dot-step (#24907 )
* feat: add Skeleton-Image (#24805 )
* feat: add Skeleton-Image
* feat: add docs
* fix: adjust skeleton
* feat: adjust Image Component
* feat: rebase
* feat: adjust style
* fix: lint
* feat: remove size
* feat: delete md
* feat: fix style
* ✨ feat: Mentions support autoSize (#24961 )
close #17746
* chore: replace textarea with rc-textarea (#24966 )
* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964 )
* feat: update pagination@2.5.0 and add test case to relative component
* fix: lint
* delete
* feat: add test case for pagination
* adjust test case
* feat: Implement centered prop in Tabs (#24958 )
* Implement centered in Tabs along with its tests and docs
* Fix build error
* Add Chinese translations and remove test case
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
* feat: Add modal style parameter (#24773 )
* add some paramters in default.less
* Update components/style/themes/default.less
Co-authored-by: Amumu <yoyo837@hotmail.com>
* change parameter in compact.less
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* feat: export Tabs addIcon (#25006 )
* feat: export Tabs addIcon
* update snapshot
* feat: showNow on timepicker and datetimepicker (#25032 )
* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035 )
* feat: update rc-picker@1.7.1
* delete
* add
* feat: expand rate support props (#24993 )
* docs: 📝 Add Form.Item hidden in doc (#25108 )
close #25101
* fix: ⌨️ Improve Pagination accessibility issue (#25119 )
* ⌨️ Improve Pagination a11y by fixing a W3C error
https://github.com/react-component/pagination/issues/280
* update snapshot
* 🆙 rc-pagination to 2.4.1
* feat: support triggerSubMenuAction for <Menu /> (#25127 )
* feat(menu): add triggerSubMenuAction for Menu
* feat(menu): test cases
* chore: Adjust picker logic (#25135 )
* chore: update rc-picker 1.10.0 (#25174 )
* feat: table row check strictly (#24931 )
* feat: add checkStrictly on Table.rowSelection
* fix: LGTM warnings
* test: table rowSelection.checkStrictly
* test: add cov [wip]
* refactor: tree.rowSelection.checkStrictly [wip]
* test: table.rowSelection.checkStrictly basic case
* feat: support rowKey on checkStrictly table
* feat: Table checkStrictly support getCheckboxProps
* docs: Table checkStrictly
* chore: typo
* chore: remove useless comment
* chore: update snapshot
* chore: update snapshot
* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback
* docs: typo
* chore
* chore
* fix: expand buttons of leaf rows in tree data are not hidden
* feat: Table warning about rowKey index parameter
* perf: only generate keyEntities when not checkStrictly
* refactor: remove useless parseCheckedKeys
* refactor: get derived selected & half selected keys from selectedRowKeys
* chore: remove env condition stmt
* chore: revert index usage & code formatting
* chore: rerun ci
* docs: table tree-data checkstrictly
* test: update snapshots
* refactor: use useMergedState hook
* chore: rerun ci
* chore: rerun ci 2
* chore: revert selection select all behavior
* refactor: refactor code based on feature
* chore: revert table code format
* chore: revert table code format
* fix: useMemo deps
* fix: useMemo deps
* fix: useMemo deps
* feat: support preserve (#25186 )
* docs: add responsibly order for Col (#25139 )
* feat: add type
* feat: add responsibly order cols
* feat: add docs
* feat: add test case
* fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
4 years ago
07akioni
ec87ea408b
fix: getTargetContainer is not omit in Drawer ( #24938 )
5 years ago
偏右
5c18fbdb66
feat: 🆕 support Drawer closeIcon ( #24842 )
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
5 years ago
陈帅
30217ade3f
fix: Drawer cannot open ( #24802 )
* bugfix: fix drawer getContainer is null error
* add test
5 years ago
陈帅
6493db80d4
feat: drawer support getPopupContainer and getPrefixCls by ConfigProvider ( #24727 )
* feat: drawer support ConfigConsumer.getPopupContainer and getPrefixCls
* update snapshot
* add getPopupContainer test
5 years ago
二货机器人
b0575186ce
fix: Remove dropdownMatchSelectWidth warning ( #24651 )
5 years ago
偏右
6ad1b18a47
fix: Drawer cover other elements when closed ( #24290 )
* fix: Drawer cover other elements when closed
close #24287
* Add no-mask demo for Drawer
5 years ago
偏右
82d709676a
fix: Drawer height bug ( #24082 )
* 🐛 Fix Drawer height bug
close #24074
* ✅ fix snapshot
5 years ago
二货机器人
d95dc831dd
fix: Drawer close btn style ( #22710 )
* fix: Drawer close btn style
* fix lint
* snapshot
* update snapshot
5 years ago
偏右
9eaaea14a7
📝 fix Drawer `forceRender` doc and tsd ( #21774 )
close #15287
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
Zhengquan Xian
219cae3355
fix: Drawer footerStyle react warning ( #20983 )
fix #20978
5 years ago
Dean van Niekerk
019fdd58a0
feat: add footer property to Drawer ( #20690 )
5 years ago