-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(form): hide upload button when fileList.length >= max #4752
Conversation
🎊 PR Preview has been successfully built and deployed to https://pro-components-preview-pr-4752.surge.sh |
Codecov Report
@@ Coverage Diff @@
## master #4752 +/- ##
==========================================
- Coverage 99.33% 99.33% -0.01%
==========================================
Files 200 200
Lines 6509 6507 -2
Branches 2300 2301 +1
==========================================
- Hits 6466 6464 -2
Misses 43 43
Continue to review full report at Codecov.
|
* prettier all code * fix(form): ProFormList should show label when form layout is horizontal (ant-design#4513) Co-authored-by: machixian <machixian@myweimai.com> * fix(list): 修复卡片列表hover失效问题 (ant-design#4511) * fix: close ant-design#4502 修复卡片列表hover失效问题 * feat: 更新snapshots * fix(form): dependency transform from Array to Object (ant-design#4500) * fix: dependency transform from Array to Object * fix(form): dependency transform from Array to Object * fix bug Co-authored-by: 陈帅 <qixian.cs@outlook.com> * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.25 - @ant-design/pro-descriptions@1.10.35 - @ant-design/pro-field@1.31.10 - @ant-design/pro-form@1.52.13 - @ant-design/pro-layout@6.32.6 - @ant-design/pro-list@1.21.20 - @ant-design/pro-provider@1.5.6 - @ant-design/pro-table@2.62.7 - @ant-design/pro-utils@1.32.7 * fix(form): BetaSchemaForm setFieldsValue 失效 (ant-design#4516) * fix(form): make sure it is valid to get the form instance through formRef (ant-design#4517) * fix: 🐛 formRef is noop * fix: make sure formRef is valid when using SchemaForm * fix: improve type Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * chore(deps): bump nanoid from 3.1.30 to 3.2.0 (ant-design#4519) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.30...3.2.0) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * lock: update yarn.lock * update snapshot * fix(field): Switch checked为false不生效问题 (ant-design#4527) * fix(field): Switch checked为false不生效问题 * update snapshot Co-authored-by: 陈帅 <qixian.cs@outlook.com> * feat(form): enhancement type (ant-design#4523) * feat: enhancement type * fix: update yarn.lock * update snapshot Co-authored-by: 陈帅 <qixian.cs@outlook.com> * fix(form): proformlist style bug (ant-design#4524) Co-authored-by: machixian <machixian@myweimai.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> * fix(utils): pass popoverProps to Popover in InlineErrorFormItem (ant-design#4540) * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.26 - @ant-design/pro-descriptions@1.10.36 - @ant-design/pro-field@1.31.11 - @ant-design/pro-form@1.52.14 - @ant-design/pro-layout@6.32.7 - @ant-design/pro-list@1.21.21 - @ant-design/pro-table@2.62.8 - @ant-design/pro-utils@1.33.0 * docs(form): fix table formatting (ant-design#4551) * 🏮 新春快乐 * fix(list): 修复 ProList 传入 grid 属性时不触发 onRow 内配置事件的问题 (ant-design#4558) * fix: ant-design#4549 修复 ProList 传入 grid 属性时不触发 onRow 内配置事件的问题 * feat: prettier code * feat(form): 表单列表支持设置行为守卫 (ant-design#4518) * feat: close ant-design#4514 表单列表支持设置行为守卫 * feat: update snapshots * feat: remove snapshot match * feat: remove move guard * feat: 修改API名称 * feat(form): form support convertValue * update snapshot * fix(form): fix cannot be given refs error (ant-design#4564) * docs: theme style fix * feat(table): reduce the dom of the form (ant-design#4565) * feat(table): new EditableProTable style * update * update * update * docs: theme style fix * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.27 - @ant-design/pro-descriptions@1.10.37 - @ant-design/pro-field@1.31.12 - @ant-design/pro-form@1.53.0 - @ant-design/pro-layout@6.32.8 - @ant-design/pro-list@1.21.22 - @ant-design/pro-table@2.63.0 - @ant-design/pro-utils@1.34.0 * fix: 🐛 make sure the function doesn't change (ant-design#4568) * refactor(SchemaForm): improve rendering performance (ant-design#4536) * fix: 🐛 repeat call renderFormItem * feat: improve SchemaForm rendering performance * fix: restore accidentally deleted code * refactor: 💡 optimize rendering based on valueType * fix: 🐛 can't find @ant-design/pro-form * feat: 🎸 support dependencies trigger re-rendering * chore: 🤖 remove repeat --noEmit * fix: 🐛 type missing * fix: 🐛 add test, optimize code * fix: add type, update test * fix: not return value error * fix: remove test code * fix: improve type * fix: optimize code * fix: improve type * fix: complate test coverage * fix: 🐛 inject dependencies values when request exists * fix: 🐛 don't re-render after renderFormItem returns false * docs: ✏️ update SchemaForm docs, update snapshot * fix: 🐛 update snapshot * fix: 🐛 remove unused code, optimize logic * fix: lint error * fix: optimize code, avoid re-render * fix: improve coverage * merge master * feat: 🎸 support the shouldUpdate option to fine-grained control * fix: 🐛 improve code * fix: 🐛 shouldUpdate default value should be true, optimize code Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): fix form list action error * fix(utils): fix merge will change null to {} (ant-design#4590) close ant-design#4583 Co-authored-by: 期贤 <qixian.cs@antgroup.com> * chore: use latest antd version close ant-design#4567 * docs: remove ie11 * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.28 - @ant-design/pro-descriptions@1.10.38 - @ant-design/pro-field@1.31.13 - @ant-design/pro-form@1.53.1 - @ant-design/pro-layout@6.32.9 - @ant-design/pro-list@1.21.23 - @ant-design/pro-provider@1.5.7 - @ant-design/pro-skeleton@1.0.5 - @ant-design/pro-table@2.63.1 - @ant-design/pro-utils@1.34.1 * fix(layout): change less loader to reference close ant-design#4462 * fix(form): modal and drawer new render function (ant-design#4597) Co-authored-by: 期贤 <qixian.cs@antgroup.com> * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.39 - @ant-design/pro-form@1.53.2 - @ant-design/pro-layout@6.32.10 - @ant-design/pro-list@1.21.24 - @ant-design/pro-table@2.63.2 * fix(table): fix oncancel no use runtime datasource close ant-design#4593 * fix(form): fix FieldMoney fieldProps no work error close ant-design#4577 * fix(form): fix getValuePropsFunc no work by newValue close ant-design#4584 * fix(field): use loadData error, improve huge data render performance (ant-design#4605) * fix: 🐛 use loadData error, improve huge data render performanc * merge * merge * merge * merge Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> * fix(form): 解决行为守卫 insertIndex 为 undefined 的问题 (ant-design#4606) * fix: ant-design#4588 解决行为守卫 insertIndex 为 undefined 的问题 * feat: 更新测试用例 * feat: 修改注释说明 Co-authored-by: 陈帅 <qixian.cs@outlook.com> * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.29 - @ant-design/pro-descriptions@1.10.40 - @ant-design/pro-field@1.31.14 - @ant-design/pro-form@1.53.3 - @ant-design/pro-layout@6.32.11 - @ant-design/pro-list@1.21.25 - @ant-design/pro-table@2.63.3 - @ant-design/pro-utils@1.34.2 * fix(descriptions): 修复当 dataIndex 设置为 keypath 数组时 ProDescriptions 更新异常问题 (ant-design#4615) * fix: 修复当 dataIndex 设置为 keypath 数组时 ProDescriptions 更新异常问题 * feat: 删除调试日志 * feat: 增加测试用例 * fix(form): improve type reminder (ant-design#4618) * feat: 🎸 improve SchemaForm type reminder * fix: 🐛 remove dead code * fix: 🐛 update snap * fix: 🐛 improve type * docs: ✏️ remove br tag (ant-design#4617) * chore: 🎸 improve import and export path (ant-design#4613) * fix(field): setting debounceTime results in repeated requests (ant-design#4609) * fix: 🐛 setting debounceTime results in repeated requests * fix: 🐛 add test case * fix: 🐛 set default value for delay, remove console Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(table): fix when name=xxx, form is null error close ant-design#4600 close ant-design#4614 * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.30 - @ant-design/pro-descriptions@1.10.41 - @ant-design/pro-field@1.31.15 - @ant-design/pro-form@1.53.4 - @ant-design/pro-layout@6.32.12 - @ant-design/pro-list@1.21.26 - @ant-design/pro-provider@1.5.8 - @ant-design/pro-table@2.63.4 - @ant-design/pro-utils@1.34.3 * fix(table): first use propsRef values close ant-design#4441 * fix(table): fix table loadingchange no work error close ant-design#4390 * refactor(utils): simplify useDebounceFn (ant-design#4626) * refactor: 💡 improve useDebounceFn, remove unused code * fix: 🐛 update snap * fix: 🐛 too many parmaters and update snap Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): fix xxx moudle is null errror * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.31 - @ant-design/pro-descriptions@1.10.42 - @ant-design/pro-field@1.31.16 - @ant-design/pro-form@1.53.5 - @ant-design/pro-layout@6.32.13 - @ant-design/pro-list@1.21.27 - @ant-design/pro-table@2.63.5 - @ant-design/pro-utils@1.34.4 * fix(table): fix React state update on an unmounted component error close ant-design#4632 * fix(form): omit money props for fieldProps * fix(form): fix ProFormDateTimePicker ts error close https://github.com/ant-design/ant-design-pro/issues/9556?notification_referrer_id=NT_kwDOAHzrKLIyOTgyODkxMjU5OjgxODY2NjQ¬ifications_query=repo%3Aant-design%2Fant-design-pro%20is%3Aunread * docs: fix docs error * chore: fix ts error * fix(form): fix form datetime no format error * fix(form): fix renderFormIten render null will show dom error * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.32 - @ant-design/pro-descriptions@1.10.43 - @ant-design/pro-field@1.31.17 - @ant-design/pro-form@1.53.6 - @ant-design/pro-layout@6.32.14 - @ant-design/pro-list@1.21.28 - @ant-design/pro-table@2.63.6 - @ant-design/pro-utils@1.34.5 * fix(table): EditableProTable 支持在 renderFormItem 中的 record 中返回用户自定义的字段 (ant-design#4644) * fix: 🐛 make sure the formItemProps property is dosen't override (ant-design#4662) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): fix ignoreRules no work error close ant-design#4610 close ant-design#4635 * update snapshot * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.44 - @ant-design/pro-form@1.53.7 - @ant-design/pro-list@1.21.29 - @ant-design/pro-table@2.63.7 * feat(form): 更新货币符号 (ant-design#4667) * feat(form,table,utils): form 和 table 的 dateFormatter 支持函数 (ant-design#4657) * feat: form 和 table 的 dateFormatter 支持函数 * feat: 抽离公共方法 * feat: mark code as pure in form.md * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: update snapshots * feat: 修复格式化异常问题 * feat: update snapshots * update snapshot * fix(form): fix FormItemProp no rerender error * chore: 更新 ISSUE 模版 (ant-design#4681) * feat(form): improve dependency component archive (ant-design#4678) * feat: 🎸 improve dependency component archive * fix: 🐛 add more test cases Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * docs(EditableTable): Fix the description of EditableTable `position`. (ant-design#4670) * fix(table): table 的 param发生变化时重置分页为1 (ant-design#4648) * fix:table 的 param发生变化时重置分页为1 * fix test * fix Co-authored-by: 期贤 <qixian.cs@antgroup.com> * test: add more test * fix(form): 修复 modalForm 和 drawerForm 内容区表单按钮一闪而逝的问题 (ant-design#4680) * fix: 修复 modalForm 和 drawerForm 内容区表单按钮一闪而逝的问题 * feat: update snapshots * feat: 代码优化 * fix(EditableTable): onValuesChange is not executed when name is not passed (ant-design#4679) * fix: 🐛 onValuesChange is not executed when name is not passed * reset Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: 陈帅 <qixian.cs@outlook.com> * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.33 - @ant-design/pro-descriptions@1.10.45 - @ant-design/pro-field@1.31.18 - @ant-design/pro-form@1.54.0 - @ant-design/pro-layout@6.33.0 - @ant-design/pro-list@1.21.30 - @ant-design/pro-provider@1.6.0 - @ant-design/pro-table@2.64.0 - @ant-design/pro-utils@1.35.0 * fix: 🐛 live code error (ant-design#4690) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(form): ProFormList 支持设置 min 和 max 控制条目数量 (ant-design#4684) * feat: ProFormList 支持设置 min 和 max 控制条目数量 * feat: 更新文档 * feat: 优化 API * feat: 删除无用逻辑 * feat: 删除无用逻辑 * fix(descriptions): fix descriptions copy dom error (ant-design#4695) * fix(descriptions): fix descriptions copy dom error * fix test * feat(field): add pt-BR support to number format (ant-design#4700) * fix(form): initialValue no cover close ant-design#4708 * fix(table): fix page=1, no reset pageIndex * fix(table): fix page=1, no reset pageIndex * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.46 - @ant-design/pro-field@1.32.0 - @ant-design/pro-form@1.55.0 - @ant-design/pro-list@1.21.31 - @ant-design/pro-table@2.64.1 * fix(form): 修复queryFilter响应式会受span的属性顺序问题 (ant-design#4722) Co-authored-by: luoye <luoye@str.com> * fix: remove convertInitialValue error * fix(table): ProTable 默认表头可滚动,表格滚动在antd中 (ant-design#4729) Co-authored-by: rawbin.zhang <rawbin.zhang@lunarax.io> * feat(table): support ErrorBoundary (ant-design#4738) * feat(table): support ErrorBoundary * chore: add error-boundaries demo * chore: update snapshot * chore: update snapshot * chore: add boundaries-false demo * feat(table): support antd Table extra column (#9604) (ant-design#4704) * feat(table): support antd Table extra column (#9604) * feat(table): modify & add test for extra column * feat(table): temporarily hide extra columns from columns setting * fix(PageContainer): fix the logic of `WaterMark` props (ant-design#4733) * fix(form): ignoreRules dosen't work (ant-design#4687) * Revert "fix(form): fix ignoreRules no work error" This reverts commit 5586970. * fix: 🐛 ignoreRule doesn't work * fix: 🐛 update snapshot * fix: 🐛 ts error * fix: 🐛 improve the logic of getFieldProps and getFormItemProps Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * chore: 补充ProTable单测 (ant-design#4720) * fix: pagination onchange was correct in controlled mode * fix: change jest unit * fix: change setProps in act * fix: use request replace mock Co-authored-by: 礼检 <ljj337009@antgroup.com> * docs: improve type and load remote data docs (ant-design#4750) * docs: ✏️ improve type * docs: ✏️ improve remote data docs Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(table): fix DragSortTable render is cache error close ant-design#4702 close ant-design#4749 close ant-design#3980 * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.34 - @ant-design/pro-descriptions@1.10.47 - @ant-design/pro-field@1.32.1 - @ant-design/pro-form@1.55.1 - @ant-design/pro-layout@6.33.1 - @ant-design/pro-list@1.21.32 - @ant-design/pro-table@2.65.0 - @ant-design/pro-utils@1.35.1 * fix(form): 🐛 Select search result label containing `#` do not display (ant-design#4754) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): submitter default config overwrite by proFormProps.submitter (ant-design#4751) 修复`<LoginForm submitter={{}} ...>`导致LoginForm的submitter默认设置无效。 LoginForm的proFormProps.submitter已经在前面与submitter的默认设置合并了,这里`{...proFormProps}`会把合并好的submitter完全覆盖掉,失去LoginForm默认行为的意义。 * fix(form): 🐛 hide upload button when fileList.length >= max (ant-design#4752) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(layout): mix support headerContent render * fix: fix test error * fix:(form) remove unused code of renderFormItem (ant-design#4688) * fix: 🐛 remove unused code * fix: 🐛 remove unused code Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(Table): preserve columnState when deselecting (ant-design#4761) * fix: preserve columnState when deselecting * fix: 🐛 remove unused code Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): ModalForm and Drawer alway forceRender * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.35 - @ant-design/pro-descriptions@1.10.48 - @ant-design/pro-field@1.32.2 - @ant-design/pro-form@1.55.2 - @ant-design/pro-layout@6.34.0 - @ant-design/pro-list@1.21.33 - @ant-design/pro-table@2.66.0 - @ant-design/pro-utils@1.35.2 * chore: try relebase * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.36 - @ant-design/pro-descriptions@1.10.49 - @ant-design/pro-field@1.32.3 - @ant-design/pro-form@1.55.3 - @ant-design/pro-list@1.21.34 - @ant-design/pro-table@2.66.1 * feat(form): add `name` prop to `itemRender` (ant-design#4779) * docs: add changelog * docs: changelog add time * package: rmeove unuse devDependencies * fix(form): improve ModalForm and DrawerForm performance (ant-design#4773) * refactor: 💡 improve performance * fix: 🐛 improve code * fix: 🐛 adjust the test case * fix: 🐛 adjust test case * fix: 🐛 adjust test case * fix: 🐛 deep merge submitter and improve comment * chore: 🤖 add lodash dependencies * fix: 🐛 remove debug code Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: dengqing <dengqing0821@gmail.com> * fix(form): 修复类型错误,使用itemRender,children 应该是非必须 (ant-design#4784) Co-authored-by: rawbin.zhang <rawbin.zhang@lunarax.io> * fix(form): range props not working because of SliderSingleProps (ant-design#4682) * fix(ProFormSlider): range props not working because only SliderSingleProps are defined. ant-design#4665 * Update index.tsx * fix test error Co-authored-by: 陈帅 <qixian.cs@outlook.com> * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.50 - @ant-design/pro-form@1.56.0 - @ant-design/pro-list@1.21.35 - @ant-design/pro-table@2.66.2 * docs: add change log * chore: fix createRelease script * chore: fix createRelease script * fix(table): default close table auto focus first input * fix(form): FormList min width=100% * fix(form): FormList add no set key warning * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.51 - @ant-design/pro-form@1.56.1 - @ant-design/pro-list@1.21.36 - @ant-design/pro-table@2.66.3 * docs: add changlogs * fix(table): fix no fieldProps injected error (ant-design#4787) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): switching current on `onFinish` has no effect (ant-design#4790) * fix: 🐛 call onFinish confirm can switch step * fix: 🐛 Don't call next step when lastStep is true * fix: 🐛 avoid duplication execution Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: dengqing <dengqing0821@gmail.com> * docs: fix changelog error * feat(form): improve SchemaForm achieve (ant-design#4786) * feat: 🎸 improve SchemaForm achieve * feat: 🎸 improve pass props * fix: 🐛 refMap doesn't exists * fix: 🐛 type error Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(table): InlineErrorFormItem render Popover to parentElement * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.37 - @ant-design/pro-descriptions@1.10.52 - @ant-design/pro-field@1.32.4 - @ant-design/pro-form@1.57.0 - @ant-design/pro-layout@6.34.1 - @ant-design/pro-list@1.21.37 - @ant-design/pro-table@2.66.4 - @ant-design/pro-utils@1.35.3 * docs: add changelog * docs: fix table docs close ant-design#4797 * docs: fix some doc and demo errors (ant-design#4795) * docs: fix some doc and demo errors * docs: fix some component not shown * feat(utils): 🎸 improve type and support external override type (ant-design#4806) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(table): Keep the creator button default style. (ant-design#4810) * feat(EditableTable): Keep the creator button default style. * feat(EditableTable): resort props. * chore: add changelogs and checkPublish * fix(form): avoid executing setState after unmount (ant-design#4814) * fix: 🐛 avoid executing setState after unmount * feat: 🎸 add test case * fix: 🐛 unmounted logic error * fix: 🐛 update test Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(layout): 完善 GlobalHeader RTL 支持 (ant-design#4816) * UI(layout): 移除 GlobalHeader 重复的 margin 配置 * UI(layout): 完善 GlobalHeader RTL 支持 * feat(table): improve ErrorBoundary logic (ant-design#4826) * feat: 🎸 improve ErrorBoundary logic * fix: 🐛 ErrorBoundary is ReactElement causing error Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(table): mode=edit causes action column not to show (ant-design#4829) * fix: 🐛 mode=edit causes action column not to show * fix: 🐛 remove console log Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): ModalForm and DrawerForm remove default value of forceRender (ant-design#4842) Co-authored-by: dengqing <dengqing0821@gmail.com> * feat(table): support custom loading (ant-design#4844) * feat: 🎸 support hidden loading * docs: ✏️ update demo Co-authored-by: dengqing <dengqing0821@gmail.com> * fix(table): using an EditableTable with a Form causes wranning (ant-design#4839) * fix: 🐛 using an EditableTable with a Form causes wranning * fix: 🐛 typo * docs: ✏️ improve type and comment * fix: 🐛 reduce repeat code, fix fieldProps not working * fix: 🐛 update deps * fix: 🐛 remove default value Co-authored-by: dengqing <dengqing0821@gmail.com> * fix(form) improve action guard for FormList (ant-design#4822) * feat: 🎸 improve wrapperAction logic * feat: 🎸 improve type * fix: 🐛 test cases not work * fix: 🐛 improve test Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(utils): genNanoid support ie11 close ant-design#4837 * fix(table): use default showSizeChanger change close ant-design#4711 * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.38 - @ant-design/pro-descriptions@1.10.53 - @ant-design/pro-field@1.32.5 - @ant-design/pro-form@1.58.0 - @ant-design/pro-layout@6.34.2 - @ant-design/pro-list@1.21.38 - @ant-design/pro-table@2.67.0 - @ant-design/pro-utils@1.36.0 * docs: add changelog * chore: add @umijs/doctor * chore: rm create release ci * fix(form): fix ProFormDependency no rendeer transform error * fix(table): fix table has name, add new line will error * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.39 - @ant-design/pro-descriptions@1.10.54 - @ant-design/pro-field@1.32.6 - @ant-design/pro-form@1.58.1 - @ant-design/pro-layout@6.34.3 - @ant-design/pro-list@1.21.39 - @ant-design/pro-table@2.67.1 - @ant-design/pro-utils@1.36.1 * chore: fix release script * docs: add changelogs * fix (Form): passing `formItemProps` and `fieldProps` as functions did not work when using `EditableTable` in `Form` (ant-design#4851) * fix: 🐛 pass form to editable when name attribute exists * fix: 🐛 repeat re-render * fix: 🐛 `form` exists only * fix: 🐛 ensure formItemProps is an Object * fix: 🐛 add test case * fix: 🐛 ts error Co-authored-by: dengqing <dengqing0821@gmail.com> * docs: ✏️ es_ES i18n full support (ant-design#4849) Co-authored-by: dengqing <dengqing0821@gmail.com> * feat(form): StepsForm support vertical direction (ant-design#4848) * feat: 🎸 StepsForm supports vertical direction * docs: ✏️ add demo * fix: 🐛 update snapshot Co-authored-by: dengqing <dengqing0821@gmail.com> * fix(form): min color compontents * chore: remove node env * feat(table): `newRecordType: cache` support parentKey (ant-design#4861) * feat(ProTable): `newRecordType: cache` support parentKey * feat(ProTable): add test * feat(ProTable): add test * feat(ProTable): fix editableDataSource and remove unused test * feat(table): Fix valueType percent precision is 0 issue. (ant-design#4863) * feat(EditableTable): Keep the creator button default style. * feat(EditableTable): resort props. * feat(table): Fix valueType percent precision is 0 issue. * feat(table): Fix Intl issue, use toFixed. * feat(table): Add UT for precision is 0. * feat(table): Cover more cases. * feat(table): Revert to origin logic. if precision < 0 show don't format the number. * docs: ✏️ set scroll support for mobile preview (ant-design#4865) Co-authored-by: dengqing <dengqing0821@gmail.com> * docs: update snapshot * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.40 - @ant-design/pro-descriptions@1.10.55 - @ant-design/pro-field@1.33.0 - @ant-design/pro-form@1.59.0 - @ant-design/pro-layout@6.34.4 - @ant-design/pro-list@1.21.40 - @ant-design/pro-provider@1.6.1 - @ant-design/pro-table@2.68.0 - @ant-design/pro-utils@1.37.0 * docs: add changelogs * fix(field): dont lock sketch-color * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.56 - @ant-design/pro-field@1.33.1 - @ant-design/pro-form@1.59.1 - @ant-design/pro-list@1.21.41 - @ant-design/pro-table@2.68.1 * docs(slider): remove wrong prop (ant-design#4872) Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com> * docs: ✏️ update demo and doc (ant-design#4870) Co-authored-by: dengqing <dengqing0821@gmail.com> * update yarn.lock * fix(table): fix inlint error render dom * fix(form): fix modal and drawer form rerender error * fix(table): support ghost * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.41 - @ant-design/pro-descriptions@1.10.57 - @ant-design/pro-field@1.33.2 - @ant-design/pro-form@1.59.2 - @ant-design/pro-layout@6.34.5 - @ant-design/pro-list@1.21.42 - @ant-design/pro-table@2.68.2 - @ant-design/pro-utils@1.37.1 * docs: add changelog * fix(list): fix ghost style padding error * 🎨 chore(release): Publish - @ant-design/pro-list@1.21.43 * docs: add changelog * chore: check createRelease * fix(list): avatar shrink when card width is not enough (ant-design#4879) * test: fix build error * fix(table): fix actionSaveRef logic when add new line (ant-design#4881) * fix(ProTable): fix actionSaveRef logic when add new line * fix(ProTable): fix logic to get `newLine` * fix(ProTable): add test * fix(ProTable): add test * Fix/pro form less (ant-design#4887) * fix(pro-utils):add @antd-design/icons to package.json * fix(pro-utils):also need classnames * fix(pro-utils):add moment * fix(pro-description):add rc-util to dependencies * fix(pro-form):add rc-util to dependencies * fix(pro-layout):add rc-util to dependencies * revert(pro-utils):version * fix: pro-form-list cls name same to pro-table Co-authored-by: eason.ym <eason.ym@alibaba-inc.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> * 🎨 chore(release): Publish - @ant-design/pro-card@1.18.42 - @ant-design/pro-descriptions@1.10.58 - @ant-design/pro-field@1.33.3 - @ant-design/pro-form@1.59.3 - @ant-design/pro-layout@6.34.6 - @ant-design/pro-list@1.21.44 - @ant-design/pro-table@2.68.3 - @ant-design/pro-utils@1.37.2 * docs: add changelog * fix(table): Incorrect value of sub-column when using EditableTable in Form (ant-design#4875) * fix: 🐛 incorrect value of sub-column * fix: 🐛 add test case to ensure correct value * fix: 🐛 remove unused code * docs: card docs add head & body style (ant-design#4903) * fix(form): field will be ignored when value=0 (ant-design#4901) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(card): add collapsibleIconRender for custom render icon (ant-design#4894) * fix(collapse): add renderCollapsibleIcon for custom render icon * fix test Co-authored-by: 陈帅 <qixian.cs@outlook.com> * feat(form): Select add style and className prop (ant-design#4915) * fix(utils): add missing backslash in moment format (ant-design#4913) * feat(form): support grid layout (ant-design#4859) * feat: 🎸 Form support grid layout * docs: ✏️ update docs and add demo * fix: 🐛 some styles are overridden * feat: 🎸 set defaultColProps * docs: ✏️ update demo * refactor: 💡 add girdHelpers simpleify implemention * feat: 🎸 `ProFormGroup` support grid mode * fix: 🐛 colProps dosen't work * fix: 🐛 rowProps doesn't work * feat: 🎸 formList, formSet support grid mode * fix: 🐛 remove unused code * feat: 🎸 support ModalForm, DrawerForm, StepsForm * docs: ✏️ update demo and docs * fix: 🐛 `space` component is invalid in non-grid mode * fix: 🐛 remove unused code * fix: 🐛 update snapshot * docs: ✏️ update docs * docs: ✏️ update type * fix: 🐛 span attributes invalid * feat: 🎸 add Wrapper properties resolve non-grid Wrapper case Co-authored-by: 陈帅 <qixian.cs@outlook.com> * feat(table): table search alway use pro-card * feat(table): support getRows, getRow, setRow (ant-design#4904) * feat(table): support getRows, getRow, setRow * add more test * try fix * add md * update docs * merge * merge * merge * merge * fix * fix test * fix * merge * merge Co-authored-by: 期贤 <qixian.cs@antgroup.com> * chore(deps): bump minimist from 1.2.5 to 1.2.6 (ant-design#4921) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 🎨 chore(release): Publish - @ant-design/pro-card@1.19.0 - @ant-design/pro-descriptions@1.10.59 - @ant-design/pro-field@1.34.0 - @ant-design/pro-form@1.60.0 - @ant-design/pro-layout@6.34.7 - @ant-design/pro-list@1.21.45 - @ant-design/pro-table@2.69.0 - @ant-design/pro-utils@1.38.0 * docs: add changelog * fix(form): `LoginForm` login button i18n invalid (ant-design#4929) * fix: `LoginForm` login button i18n invalid * fix: update test case * fix(form): ConfigProvider setting componentSize dosen't work when using BaseForm (ant-design#4927) * fix: setting componentSize dosen't work when using BaseForm * fix: add test case Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(table): customize columnSetting icon (ant-design#4925) Co-authored-by: Marek <marek.firlejczyk@cloudcall.com> * fix: lint warnning for missing deps (ant-design#4924) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat(form): support setCurrentRowData and getCurrentRowData (ant-design#4926) * feat(form): support setCurrentRowData and getCurrentRowData * add test and doc * update * docs: fix columnsState docs typo (ant-design#4923) * fix: typo error * docs: update en-US docs Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * docs: update SchemaForm demo (ant-design#4919) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(form): do not re-execute fieldProps when onValuesChange is set (ant-design#4922) * fix: do not re-execute fieldProps when onValuesChange is set * fix: update test * fix: shouldUpdate default value to true * fix: onVisibleChange to onValuesChange Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix(table): columnsState use index as state name (ant-design#4931) * fix: columnsState use index as state name * docs: update demo * fix: add test case * fix(utils): avoid empty prototype properties (ant-design#4884) * fix(table): sort table classnames * fix(table): table search styles overridden (ant-design#4935) * fix(table): onSave cannot get after editing data (ant-design#4934) * fix(table): fix EditorTable rowKey is rowIndex error * fix(form): InlineErrorFormItem support set Props * 🎨 chore(release): Publish - @ant-design/pro-card@1.19.1 - @ant-design/pro-descriptions@1.10.60 - @ant-design/pro-field@1.34.1 - @ant-design/pro-form@1.61.0 - @ant-design/pro-layout@6.34.8 - @ant-design/pro-list@1.21.46 - @ant-design/pro-provider@1.6.2 - @ant-design/pro-table@2.70.0 - @ant-design/pro-utils@1.38.1 * docs: add changelogs * fix(layout): color variables (ant-design#4943) * fix(collapse): add test case for collapsibleIconRender (ant-design#4947) * chore: fix ts error * fix(form): select autoClearSearchValue config false (ant-design#4954) * fix: select autoClearSearchValue config false * fix test Co-authored-by: 陈帅 <qixian.cs@outlook.com> * docs: add collapsibleIconRender's description in API doc (ant-design#4961) * feat(table): support column setting disable (ant-design#4958) * feat(table): support column setting disable * merge Co-authored-by: 陈帅 <qixian.cs@outlook.com> * fix: fix use DarkReader (ant-design#4966) Co-authored-by: yjw <yuanjiawei@pystandard.com> * fix(form): Invalid use of DatePicker format in ProFormList (ant-design#4978) * fix: onFinish cannot get valid format date * fix: add test case * fix: invalid use of DatePicker format in ProFormList * 🐛 fix(form): fix 表单在colSize!==1下展示异常 (ant-design#4977) * 🐛 fix(compiler): fix use DarkReader * 🐛 fix(compiler): fix 表单在colSize不全为1下展示异常 Co-authored-by: yjw <yuanjiawei@pystandard.com> * fix(form): cacheForSwr not work (ant-design#4976) * fix(table): fix ts error * docs: add more docs * docs: add more docs * docs: add more docs * docs: add more docs * docs: add more docs * docs: add more docs * docs(table): table demo margin add (ant-design#5003) * docs: table demo margin add * fix: update snapshot * fix(table): 解决修改轻量筛选条件时覆盖了table自带keywords过滤的值的问题 (ant-design#4995) * docs: layout demo fixed (ant-design#4990) * fix(form): new row uses previous data (ant-design#4987) * docs: remove readonly rules (ant-design#4983) * fix(form): ProSelect not cleared keywords when closing option (ant-design#4986) * 🎨 chore(release): Publish - @ant-design/pro-card@1.19.2 - @ant-design/pro-descriptions@1.10.61 - @ant-design/pro-field@1.34.2 - @ant-design/pro-form@1.61.1 - @ant-design/pro-layout@6.34.9 - @ant-design/pro-list@1.21.47 - @ant-design/pro-table@2.71.0 - @ant-design/pro-utils@1.38.2 * docs: add changelog * fix(form): fix alwaysShowItemLabel no work error close ant-design#5004 * fix(form): fix alwaysShowItemLabel no work error * feat(form): Render Extra Content inside Pro Form List (ant-design#4991) * 💥 feat(form): add fieldExtraRender to render extra content inside FormList * chore(form): add test lib for fieldExtraRender * fix(form): FormList fix fieldExtraRender test case * chore: fix Deploy CI * fix(list): fix pro list prefix no work error * docs: add more docs * fix(table): fix tableExtraRender no work error when dataSource=null * 🎨 chore(release): Publish - @ant-design/pro-descriptions@1.10.62 - @ant-design/pro-form@1.62.0 - @ant-design/pro-list@1.21.48 - @ant-design/pro-table@2.71.1 * docs: add changelog Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: WeijieChen <cwjTerrace@163.com> Co-authored-by: machixian <machixian@myweimai.com> Co-authored-by: kiner-tang <1127031143@qq.com> Co-authored-by: CraK <mvcrak@gmail.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: rojer <rojerchen@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wenjie <jinwenjie@live.com> Co-authored-by: Kimberly <60393696+kimberlyohq@users.noreply.github.com> Co-authored-by: youngzzz <chinayangzhan@126.com> Co-authored-by: qq1170623178 <43264733+qq1170623178@users.noreply.github.com> Co-authored-by: Phelipe Alves de Souza <sougyn@gmail.com> Co-authored-by: 落叶 <32671774+fengluoX@users.noreply.github.com> Co-authored-by: luoye <luoye@str.com> Co-authored-by: 小淼焱_rawbin <fcrshjx44@gmail.com> Co-authored-by: rawbin.zhang <rawbin.zhang@lunarax.io> Co-authored-by: 大猫 <rdmclin2@gmail.com> Co-authored-by: undefined <sarufarr@gmail.com> Co-authored-by: zqran <uuxnet@gmail.com> Co-authored-by: Cat-XHS <1349021570@qq.com> Co-authored-by: 礼检 <ljj337009@antgroup.com> Co-authored-by: loulin <lin.lou@hotmail.com> Co-authored-by: dengqing <dengqing0821@gmail.com> Co-authored-by: xXAvoraXx <devilmaycry_cs@hotmail.com> Co-authored-by: Miller-Wang <62501739+Miller-Wang@users.noreply.github.com> Co-authored-by: Chuck <fanck0605@qq.com> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com> Co-authored-by: Derrick <547791743@qq.com> Co-authored-by: yanm1ng <eason.yanm1ng@gmail.com> Co-authored-by: eason.ym <eason.ym@alibaba-inc.com> Co-authored-by: vico <ruoqianfengshao@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: Marek Firlejczyk <marekfirlejczyk@gmail.com> Co-authored-by: Marek <marek.firlejczyk@cloudcall.com> Co-authored-by: hui <kangpangpang@gmail.com> Co-authored-by: jaw52 <53564781+jaw52@users.noreply.github.com> Co-authored-by: yjw <yuanjiawei@pystandard.com> Co-authored-by: 王美建 <wangmeijian2016@gmail.com> Co-authored-by: Tushar Mistry <mistry.tushar98@gmail.com> Co-authored-by: ytftianwen <ytftianwen@163.com>
fix: #4740