Skip to content

Commit b0b4352

Browse files
zhanglei66LongHaoozengguhao.zghbinyellowzombieJ
authored
Zl/v4.18.9 sync antd (#57)
* fix: Missing Catalan (ca_ES) translation key: Form.optional ant-design#33280 (ant-design#33377) Co-authored-by: zengguhao.zgh <[email protected]> * docs: fixing document issues (ant-design#33259) * test: Demo check popup content (ant-design#33378) * auto demo * chore: update demo snapshot * fix: trigger mock ref logic * chore: try 2 test case * chore: more snapshot * chore: update snapshot * chore: fix ts * chore: split test * test: Update test case * chore: fix test order * fix: Descriptions default overflow value (ant-design#33392) close ant-design#33316 * chore: Internal Menu interface for ProLayout usage (ant-design#33399) * test: Update snapshot * chore: disable tooltip * chore: rename * fix: Skeleton missing style (ant-design#33405) * chore(deps): update dependency scrollama to v3 (ant-design#33418) Co-authored-by: Renovate Bot <[email protected]> * docs: Update practical-projects.zh-CN.md (ant-design#33419) * test: update snapshot * chore: 4.18.0 changelog (ant-design#33424) * fix: not allow setState in Popconfirm if unmounted * Docs: fix fieldNames options typo (ant-design#33241) * docs: tree-select fieldNames error * docs: fix docs error * fix: docs typo * docs: fix fieldNames * fix: The current change of pagination triggers onChange (ant-design#33411) * fix: table pagination onChange error (ant-design#33374) * test: add test case for this (ant-design#33374) * docs: Update use-in-typescript.zh-CN.md (ant-design#33434) 这里有点不对 /* src/App.ts */ 应该是 /* src/App.tsx */ 执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件 * docs: fix version error (ant-design#33443) Co-authored-by: machixian <[email protected]> * fix: Dropdown button destroyPopupOnHide prop not working ant-design#33433 (ant-design#33442) Co-authored-by: zengguhao.zgh <[email protected]> * docs: update changelog * test: Update snapshot * feat: add useMountedRef hook * chore: revert import order change * fix(Divider): with text dashed border color error (ant-design#33452) * test: add test for react memory leak warning in Popconfirm * fix: input not support number value (ant-design#33462) * docs: Update index.en-US.md (ant-design#33464) provide correct hash link for row selection docs to selection config anchor tag * refactor: refactor useMountedRef to useMounted * refactor: refactor useMounted to useDestroyed * docs: 4.18.1 changelog (ant-design#33476) * docs: 4.18.1 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <[email protected]> Co-authored-by: afc163 <[email protected]> * docs: improve Cascader API documentation (ant-design#33484) close ant-design#33477 * docs: improve changelog * Revert "fix: The current change of pagination triggers onChange (ant-design#33411)" (ant-design#33489) This reverts commit 629cacc. * docs: release 4.18.2 (ant-design#33491) * test: add test case for ant-design#33487 (ant-design#33492) * feat: Merge TimePicker disabledXXX into disabledTime (ant-design#33503) * feat: merge disabledXXX into disabledTime * chore: fix ts * chore: remove whitespace * fix: Form should have default validateMessages in en locale (ant-design#33511) * fix missing words in commets (ant-design#33514) Lol * chore(deps): update dependency eslint-plugin-unicorn to v40 (ant-design#33520) Co-authored-by: Renovate Bot <[email protected]> * fix: image demo test in argo-ci (ant-design#33523) close ant-design#33512 * Update README-sp_MX.md (ant-design#33535) The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers. * fix: Select tag margin issue when using tagRender (ant-design#33539) close ant-design#33531 * docs: update upload-png-only demo (ant-design#33544) [[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)] ### 🤔 这个变动的性质是? - [ ] 新特性提交 - [ ] 日常 bug 修复 - [ ] 站点、文档改进 - [x] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] TypeScript 定义更新 - [ ] 包体积优化 - [ ] 性能优化 - [ ] 功能增强 - [ ] 国际化改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 - [ ] 其他改动(是关于什么的改动?) ### 🔗 相关 Issue 无 ### 💡 需求背景和解决方案 无 ### 📝 更新日志 | 语言 | 更新描述 | | ------- | -------- | | 🇺🇸 英文 | | | 🇨🇳 中文 | | ### ☑️ 请求合并前的自查清单 ⚠️ 请自检并全部**勾选全部选项**。⚠️ - [x] 文档已补充或无须补充 - [x] 代码演示已提供或无须提供 - [x] TypeScript 定义已补充或无须补充 - [x] Changelog 已提供或无须提供 * docs: fix update demo * docs: correct react-router usage for breadcrumb (ant-design#33551) * ci: update verify-files-modify (ant-design#33552) * docs: correct semicolon in upload demo (ant-design#33544) (ant-design#33553) * fix: PageHeader state update error (ant-design#33546) * fix: Avoid mutating Event properties that are supposed to be getters (ant-design#33536) * Avoid mutating Event properties that are supposed to be getters React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects. * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <[email protected]> * perf: upgrade rc-table (ant-design#33554) * fix: Upload types for pass generic (ant-design#33543) * fix: Upload types for pass generic * fix: Upload type * refactor: Upload type * feat: add Upload type test case * fix: CardGridProps should expose Div Properties like onClick ant-design#33264 (ant-design#33563) Co-authored-by: zengguhao.zgh <[email protected]> * style: remove svg reset styles (ant-design#33579) see reason: necolas/normalize.css@004d58b close ant-design#33573 * chore: classnames now provides its own type definitions, so we do not need a stub types definition (ant-design#33612) * chore(deps): update dependency concurrently to v7 (ant-design#33630) Co-authored-by: Renovate Bot <[email protected]> * fix: Table emptynode fixed display (ant-design#33610) * docs(TreeSelect): add one missing field (ant-design#33619) * fix: table tree hover error ant-design#33453 (ant-design#33638) * fix: fix the table tree hover error ant-design#33453 * Update package.json Co-authored-by: afc163 <[email protected]> Co-authored-by: zengguhao.zgh <[email protected]> Co-authored-by: xrkffgg <[email protected]> Co-authored-by: afc163 <[email protected]> * feat: menu support home & end key (ant-design#33642) * fix: Form.Item shaking when `help` is empty string (ant-design#33644) * fix: empty help takes the line * test: test case * docs: add changelog 4.18.3 (ant-design#33639) * docs: add changelog 4.18.3 * docs: add * docs: add * docs: add user * Update CHANGELOG.en-US.md Co-authored-by: afc163 <[email protected]> * Update CHANGELOG.zh-CN.md * docs: add Co-authored-by: afc163 <[email protected]> * feat: support custom Space children key (ant-design#33607) close ant-design#33331 Co-authored-by: 秦缘斌 <[email protected]> * docs: add ProComponents cards (ant-design#33647) * merge * merge * docs: add ProComponents cards Co-authored-by: 期贤 <[email protected]> * docs: fix changelog page build issue * docs: improve changelog of 4.18.3 (ant-design#33668) * refactor: opt for typography Tooltip perf (ant-design#33669) * fix: Warning: Encountered two children with the same key, 'seperator' (ant-design#33649) * fix: Warning: Encountered two children with the same key, 'seperator' ant-design#33183 * eslint-disable-next-line react/no-array-index-key Co-authored-by: dimbslmh <[email protected]> * feat: resolves issue 33572 re aria-sort on tables (ant-design#33603) * feat: resolves issue 33572 re aria-sort on tables * fixing snapshots * removing code that can't be hit anyway * feat: add skeleton input block (ant-design#33672) * feat: add skeleton input block * update: skeleton shapshot * test: improve layout demo (ant-design#33653) * test: improve layout demo * test: improve layout demo * update snapshot * fix: checkbox group support options other than string (ant-design#33678) * fix: checkbox group support options other than string * docs: update checkbox docs * fix: radio group support value other than string * fix: only support number and string * docs: update group options type * fix: Image 图片底部空白 ant-design#30825 (ant-design#33631) * fix: remove input showCount attribute from parent component (ant-design#33686) * ci: simple files check actions * ci: preview-deploy download add run_id (ant-design#33680) * feat: dropdown support arrow pointing at center (ant-design#33658) * feat: add pointAtCenter prop for dropdown * feat: dropdown support arrow pointing at center * chore: code clean * chore: use getPlacements in tooltip * feat: dropdown support 'top' and 'bottom' * chore: update snapshot * chore: move placements to util folder * feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated * test: update snapshot * test: add test for topCenter and bottomCenter * fix: Form validateMessages in nested ConfigProvider (ant-design#33705) close ant-design#33691 * fix: Input can not be hidden when prefix is set (ant-design#33706) * fix: Input can not be hidden when prefix is set * test: jest case for ant-design#33692 Co-authored-by: hydraZty <[email protected]> * fix: <Icon component={HomeOutlined} /> align issue (ant-design#33709) * fix: <Icon component={HomeOutlined} /> align issue close ant-design#33703 * update snapshot * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) (ant-design#33716) * Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: <Icon component={SyncOutlined} spin /> shake issue. (ant-design#33726) * docs: add controlled preview demo for Image (ant-design#33727) * docs: add controlled preview demo for Image * test: update snapshot * test: fix lint error * fix: Invalid memoized context value in LocaleProvider (ant-design#33723) * fix: Invalid memoized context value in LocaleProvider * Add button type in test case. * fix: Invalid memoized context value in Anchor * docs(table): upgrade react-sortable-hoc usage (ant-design#33729) Co-authored-by: 亦逊 <[email protected]> * fix Input及相关组件设置 hidden 时展示问题 (ant-design#33735) * fix: Image 图片底部空白 ant-design#30825 * feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏 * fix: lint * fix: test * fix: test ui * fix: some incorrect translation for km_KH (ant-design#33738) * Add km_KH locale to component * Add test and docs * Fix typo * Add test snapshot * Fix translation * Add test * docs: remove v4 release qrcode * test: fix lint * fix: Typography error on context ellipsis (ant-design#33725) * chore: init measure * chore: out of space * refactor: Multiple render * chore: auto cut * feat: render split * fix: ellipsis logic of suffix * fix: ref missing * fix: Tooltip missing * test: snapshot * chore: opt for textarea * test: back part of ellipsis * chore: back of ellipsis logic * ellipsis logic * fix: init ellipsis measure * fix: ellipsis event * chore: clean up * test: Update snapshot * fix: test * test: Update snapshot * chore: lazy ellipsis * fix: check css ellipsis logic * test: Update snapshot * test: back of coverage * chore: clean up * test: ignore else * test: clean up * feat: border color with transparency (ant-design#33506) * feat: border color with transparency * feat: update progess remain color with rgba(0, 0, 0, 0.06) * feat: progress remaining color * fix: TreeSelect not show hightlight with keyboard (ant-design#33755) * docs: add changelog 4.18.4 (ant-design#33748) Co-authored-by: afc163 <[email protected]> * docs: guide of theme dev (ant-design#33756) * chore: update Cacasder demo and remove array-tree-filter (ant-design#33754) * chore: upgrade rc-cacasder * update snapshot * chore: Add DingDing release bot * chore: conch script (ant-design#33766) * fix: Tag color in dark theme (ant-design#33751) * docs: update dark theme doc * fix: dark tag theme * docs: ✏️ add note comment (ant-design#33771) Co-authored-by: dengqing <[email protected]> * fix: update prevValue of checkbox if value changed (ant-design#33753) * fix: Cascader auto placement & scroll (ant-design#33777) * fix: Cascader auto placement & scroll * chore: bump rc-tree-select * chore: try to find safe version (ant-design#33783) * feat: Select/DatePicker/TimePicker/TreeSelect support placement (ant-design#33541) * feat: select components add placement api * feat: select components add placement api * fix: delete placement * fix: change md demo and delete export * feat: cascader and tree-select add placement * feat: datapicker add placement api * fix: change repeat static declaration to single * test: updata test units * doc: change doc * fix: delete merge message & delete decalare ts * test: fix unit test * fix: add transName in select & treeSelect & cascader * fix: change common api in utils * fix: change useless if block to only * fix: change placement string to enum * fix: lint done Co-authored-by: 礼检 <[email protected]> * fix: Get ref of Card component ant-design#33730 (ant-design#33784) * fix: Get ref of Card component ant-design#33730 * add test to the card ref Co-authored-by: zengguhao.zgh <[email protected]> * fix(checkbox): disabled checkbox should works well with tooltip (ant-design#33772) Co-authored-by: wanghao <[email protected]> * style: Cascader loading icon (ant-design#33799) * test: fix cascader test coverage (ant-design#33802) * chore: i18n contributing docs improve (ant-design#33760) * chore: i18n contributing docs improve * update * Update docs/react/i18n.zh-CN.md Co-authored-by: afc163 <[email protected]> * update * update * fix name * 空格 * fix name * update * Update docs/react/i18n.zh-CN.md Co-authored-by: afc163 <[email protected]> * update * update * update * 添加英文版本 * update * the * update * update * fix list * Revert "fix list" This reverts commit c6f3e2c. * fix list * 指向源文件 Co-authored-by: afc163 <[email protected]> * fix: Invalid hook dependency array in Sider and Row (ant-design#33804) * chore(deps): update dependency simple-git to v3 (ant-design#33817) Co-authored-by: Renovate Bot <[email protected]> * docs: update sentence structure in the FAQ section (ant-design#33816) * docs: add Plasmic for Ant (ant-design#33758) * Add Plasmic for Ant * Point Plasmic link to dedicated Ant page * test: fix lint * docs(:sparkles:): release 4.18.5 (ant-design#33822) * docs(:sparkles:): release 4.18.5 * update changelog * fix: upload button position flashes when it changes from hidden to displayed (ant-design#33820) * fix: fix upload button position flashes when it changes from hidden to displayed (ant-design#33819) * fix: typo in upload Co-authored-by: chenqiufan <[email protected]> * fix: Clear timer of delayed loading after Button is unmounted (ant-design#33858) * fix: Clear delay loading timer after Button is unmounted * [CodeFactor] Apply fixes to commit 16cfb89 [ci skip] [skip ci] * Change arrow function style in test case Co-authored-by: codefactor-io <[email protected]> * feat: notification placement support 'top'/'bottom' (ant-design#33871) * fix: tooltip should work with loading switch (ant-design#33860) * fix: tooltip should work with loading switch * fix: only works for switch * chore: code clean * fix: block not work when small size (ant-design#33878) vueComponent/ant-design-vue#5219 * fix: ellipsis should display tooltip if rows larger than 1 (ant-design#33875) * fix: ellipsis should display tooltip if rows larger than 1 * test: add test case * fix: update dropdown version to 3.2.5 (ant-design#33895) * fix: update dropdown version to 3.2.5 * test: update snapshot * revert: Revert "Merge branch 'feature' into master" (ant-design#33903) This reverts commit 40433f3, reversing changes made to 27a498e. * Revert "revert: Revert "Merge branch 'feature' into master" (ant-design#33903)" This reverts commit 6b1a48d. * chore(deps): update dependency eslint-plugin-jest to v26 (ant-design#33899) Co-authored-by: Renovate Bot <[email protected]> * chore(deps): update dependency @types/jest-environment-puppeteer to v5 (ant-design#33898) Co-authored-by: Renovate Bot <[email protected]> * types: export DatePickRef and RangePickerRef (close ant-design#33417) (ant-design#33901) * fix(popover): fix the problem that popover display when the props'content is empty (ant-design#33835) * fix(popover): fix the problem that popover display when the props'content is empty * refactor(popover): 更新代码判断逻辑 * test(popover): 添加popover的test * feat(popover): 更新snapshot * feat(popover): 更新剩余的snapshot * feat: optimize dropdown accessbility (ant-design#33893) * feat: optimize dropdown accessbility * chore: bump rc-dropdown version * docs(✨): release 4.18.6 (ant-design#33948) * docs(✨): release 4.18.6 * chore: update version * docs: add date * fix: custom color should work on antd icons (ant-design#33951) * feat: tooltip round arrow (ant-design#33710) * feat: tooltip round arrow * chore: update demo * docs: update docs * feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker * chore: code clean * fix: fill gap * chore: code clean * chore: raise css bundle size * fix: arrow style * feat: use full path * test: update snapshot * perf: hack firefox * perf: more magic position * perf: RangePicker's arrow position * chore: bump rc-picker version * fix: arrow position * chore(deps): update dependency react-dnd-html5-backend to v15 (ant-design#33941) Co-authored-by: Renovate Bot <[email protected]> * feat: inputNumber controls support customize upIcon/downIcon (ant-design#33914) * feat: inputNumber controls support customize upIcon/downIcon * feat: 修改代码格式问题 * feat: 更新snapshot,修改代码开启prettier * feat: 更新snapshot,order 属性修改 * feat: upIcon/downIcon写法调整 * feat: 更新snapshot * fix: Exception in enter key callback on editable or copyable Paragraph (ant-design#33976) * fix: Exception on enter key callback * Move spyOn position * docs: 4.18.6 changelog optimization (ant-design#33990) * fix: class names of Row and Col components when using custom prefix (ant-design#33969) * feat: Exposes additional props for pagination component on transfer (ant-design#33954) * Exposes additional props for pagination component on transfer * feat: Improve transfer pagination customization * feat: Improve transfer pagination customization * fix: Typography copyable add stopPropagation (ant-design#33998) * fix: Typography copyable add stopPropagation * add test * chore(deps): update dependency react-dnd to v15 (ant-design#33940) * chore(deps): update dependency react-dnd to v15 * fix: Tabs demo * fix: demo Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: afc163 <[email protected]> * fix: Pagination and Rate style bug in Safari (ant-design#34002) * fix: Pagination and Rate style bug in safari close ant-design#33965 * fix style * docs: fix missing @/services/product (ant-design#34003) * docs: fix missing @/services/product close ant-design#33952 * update data * docs: improve Select dropdownRender demo style (ant-design#34004) * chore: remove unused interface file (ant-design#34011) * style: improve Menu :focus-visible style (ant-design#34008) * style: improve Menu :focus-visible style ref ant-design#34005 * style: darken :focus-visible style * fix: typography ellipsis check in transform (ant-design#34007) * fix: typography ellipsis check in transform * test: Update snapshot * chore: btn default provide default cls (ant-design#34013) * fix: cascader's onChange ts adapts to single and multiple (ant-design#33947) * fix to: cascader's multiple determines the declaration of onChange * fix: cascader's onChange ts adapts to single and multiple * test: fix * docs: more acurrate description about Menu overflowedIndicator prop (ant-design#34022) * docs: add info about Menu overflowedIndicator prop close ant-design#34016 * fix doc * fix textarea maxlength issue (ant-design#33910) * fix: textarea maxlength * refactor: delete some useless code * refactor: fix ci * refactor and fix test case fall * update snapshot * add testcase * refactor type defined * fix: min/max validators in pl_PL locale returning undefined (ant-design#34024) Co-authored-by: Michał Podeszwa <[email protected]> * fix: useLayoutEffect to useIsomorphicLayoutEffect (ant-design#33818) * fix: useLayoutEffect to useIsomorphicLayoutEffect * chore: change to rc-util/lib/hooks/useLayoutEffect * ci: files modify cancel failed * feat: Add ability to overwrite Menu theme at Menu.SubMenu level. (ant-design#33971) * Add theme support to Menu.SubMenu * Tidy up docs * Tidy up docs * Update components/menu/index.en-US.md * Update components/menu/index.en-US.md Co-authored-by: Amumu <[email protected]> * Add Chinese lang docs * Extend menu theme demo to additionally demonstrate Sub-menu theming * Add submenu theme demo * Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming" This reverts commit 642a2b5. * Add tests * Correct typo * Make demo vertical so absolutely positioned popover doesn't overflow * Make demo functional component * Update components/menu/index.en-US.md Co-authored-by: afc163 <[email protected]> * Update components/menu/index.zh-CN.md Co-authored-by: Amumu <[email protected]> * Update components/menu/demo/submenu-theme.md Co-authored-by: MadCcc <[email protected]> Co-authored-by: Amumu <[email protected]> Co-authored-by: afc163 <[email protected]> Co-authored-by: MadCcc <[email protected]> * docs: 4.18.7 changelog (ant-design#34041) * feat: Input support status (ant-design#33995) * feat: remove form status style && input support status * test: update snapshot * feat: update status prop in config provider * fix: form item validateStatus support * chore: code clean * feat: status classname change * test: update snapshot * refactor: move formItemStatusContext to form folder * refactor: merge utils * refactor: rename statusUtils * chore: code clean * test: fix coverage * chore: remove status prop of Form.Item * chore: code clean * docs: update demo * test: fix lint * feat: status only success and warning * test: fix lint * docs: update deamo * test: Udpate test for rc-util@latest * docs: Patch adjust changelog desc * chore: update snapshot * chore: script update (ant-design#34060) * chore(deps): update dependency stylelint-config-standard to v25 (ant-design#34028) * chore(deps): update dependency stylelint-config-standard to v25 * fix stylelint lint Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: tanghui <[email protected]> * chore: Update sk_SK locales (ant-design#34061) * chore: Update sk_SK locales * Disable eslint rule, based on defaults (EN) * feat: inputNumber support status (ant-design#34042) * feat: inputNumber support status * test: fix test * feat: custom status first * refactor: getMergedStatus pass status in params * ci: add MadCcc assign * perf: OPT table render perf (ant-design#34075) * fix: Typography copyable in clipboard incorrect (ant-design#34034) Co-authored-by: chenxq <[email protected]> * docs: fix procomponents links * test: skip layout demo which failed a lot in argoci * docs: improve Umi documentation * feat: mentions support status (ant-design#34071) * test: skip form deps-lint * perf: remove useless has-feedback classname * test: raise test coverage * style: recover import arrangement * feat: DatePicker and TimePicker support status (ant-design#34073) * feat: DatePicker and TimePicker support status * docs: demo add version * chore: code clean * feat: select support status (ant-design#34084) * feat: select support status * test: fix lint * fix: update quarter picker placeholder for RangePicker (ant-design#34089) * feat: cascader support status (ant-design#34086) * feat: cascader support status * chore: code clean * chore: raise bundle size limitation * chore: code clean * feat: TreeSelect support status (ant-design#34093) * feat: TreeSelect support status * chore: code clean * docs: add demo version * feat: AutoComplete support status (ant-design#34096) * feat: AutoComplete support status * test: update snapshot * feat: transfer support status (ant-design#34098) * feat: transfer support status * docs: update demo * fix: Table render twice on first mount (ant-design#34106) * fix: Table render twice * chore: clean up * test: Fix test case * fix: remove duplicated style (ant-design#34101) * fix: remove duplicated style * chore: reduce bundle size limitation * chore: raise bundle size * docs: Multiple displayRender support (ant-design#34116) * fix: Form layout when Select has long text (ant-design#34117) * fix: Form layout when Select has long text close ant-design#33773 * chore: update snapshot * fix: not crash ConfigProvider.config on server side (ant-design#34118) * fix: Invalid memoized context value in Menu (ant-design#34121) * chore(deps): update dependency eslint-plugin-unicorn to v41 (ant-design#34133) Co-authored-by: Renovate Bot <[email protected]> * chore(deps): update actions-cool/issues-helper action to v3 (ant-design#34132) Co-authored-by: Renovate Bot <[email protected]> * docs: fix grammar error (ant-design#34138) in customize-theme-variable.zh-CN.md * fix: del messageInstance when configuring getContainer (ant-design#34123) * fix: del messageInstance when configuring getContainer * test: move the new test to the bottom of the test lists * fix: Layout component SiderProps type not exported (ant-design#34137) * perf: Improve Components render perfermance when it's not reponsive (ant-design#34122) * perf: Improve List render perfermance when grid is undefined https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151 * chore: do not export useBreakpoint param Co-authored-by: zombiej <[email protected]> * docs: 4.18.8 changelog (ant-design#34146) * chore: bump version to 4.18.8 * docs: 4.18.8 changelog * docs: update changelog * docs: update changelog * docs: update changelog * fix: form initial values get modified (ant-design#34153) * chore: fix ts error in site * chore: fix Chinese expression about "的地得" (ant-design#34173) close ant-design#34167 * fix(upload): onChange params type err (ant-design#34161) * fix(upload): onChange params type err * test(upload): check onChange params type * fix: Dropdown item style when text is long (ant-design#34177) close ant-design#34176 * fix: issue ant-design#34015 cascader document of option less isleaf param (ant-design#34174) * fix: issue ant-design#34015 cascader document of option less isleaf param * fix: add comment * fix: comment change Co-authored-by: zengguhao.zgh <[email protected]> * fix: Overview page EditableProTable link error (ant-design#34181) * docs: add MasterGo to design assets (ant-design#34055) * docs: add MasterGo to design assets * chore: update mastergo links * feat: table FilterDropdown support `clearFilters({ confirm: false, closeDropdown: false })` (ant-design#34120) * feat: table FilterDropdown support `clearFilters({ confirm: boolean })` * feat: update `clearFilters` and `confirm` * feat: add FilterRestProps,update document * feat: update onReset params order * feat: add test case * feat: table filterSearch supports function (ant-design#34085) * feat: table filterSearch supports function * feat: update for test * feat: update document * test: disabled react/jsx-key * chore: lock eslint-plugin-react (ant-design#34214) * Revert "test: disabled react/jsx-key" This reverts commit 7d64967. * chore: lock [email protected] * feat: add variable for aliyun theme of drawer (ant-design#34188) Co-authored-by: zhaohonghai <[email protected]> * feat: add variable for aliyun theme of dropdown (ant-design#34189) Co-authored-by: zhaohonghai <[email protected]> * fix: remove lock for eslint-plugin-react (ant-design#34220) * feat: add variable for aliyun theme of modal (ant-design#34191) Co-authored-by: zhaohonghai <[email protected]> * feat: add variable for aliyun theme of divider (ant-design#34187) Co-authored-by: zhaohonghai <[email protected]> * feat: add variable for aliyun theme of radio (ant-design#34194) Co-authored-by: zhaohonghai <[email protected]> * docs: update maintainer for changelog script * docs: add changelog 4.18.9 (ant-design#34236) * docs: add changelog 4.18.9 * docs: update * docs: update * Update CHANGELOG.zh-CN.md * feat: introduce rc-input (ant-design#34206) * feat: introduce rc-input * fix: export InputRef alias * docs: fix demo * chore: code clean * test: fix lint * test: test coverage * chore: code clean * chore: code clean * test: update snapshot * refactor: Update rc-slider (ant-design#34234) * chore: Update rc-slider version * chore: bump * chore: update sty;e * fix: style * test: update snapshot * test: all fixed * fix lint * docs: update links of mastergo (ant-design#34242) * feat: add utm to mastergo's links (ant-design#34248) * chore(deps-dev): bump typescript from 4.5.5 to 4.6.2 (ant-design#34249) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.5.5...v4.6.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * refactor: change usecontext of divider prepare for v5 (ant-design#34246) Co-authored-by: zengguhao.zgh <[email protected]> * refactor: Wrap affix with FC (ant-design#34254) * test: fix * chore: ts fix * chore: update ts def * test: fix test * fix: Form doc "resetFields" args type (ant-design#34262) * style: remove overriding !important from input border right width styles (ant-design#34178) * docs: add description about onClear prop in AutoComplete doc (ant-design#34292) * fix: editable Typography.Title should match font size while editing (ant-design#34169) * feat: editable Typography.Title should match font size while editing * feat: update style * feat: update style * feat: update style * feat: style lint * feat: update style * Update components/typography/style/index.less * Update components/typography/Editable.tsx * feat: reorganize css * feat: style lint * feat: update snap Co-authored-by: afc163 <[email protected]> * fix: limit input class due to rc-input won't override input class (ant-design#34294) * fix: limit input class due to rc-input won't override input class * fix: add feedback into affix judgement * fix: Tree filter select all behavior (ant-design#34295) ref ant-design#34280 * fix: typography title margin issue (ant-design#34302) * fix: modify README.md Co-authored-by: guhao.zeng <[email protected]> Co-authored-by: zengguhao.zgh <[email protected]> Co-authored-by: binyellow <[email protected]> Co-authored-by: 二货机器人 <[email protected]> Co-authored-by: afc163 <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Nmaxwiver <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: MadCcc <[email protected]> Co-authored-by: dengqing <[email protected]> Co-authored-by: 2724635499 <[email protected]> Co-authored-by: 麦谷 <[email protected]> Co-authored-by: WeijieChen <[email protected]> Co-authored-by: machixian <[email protected]> Co-authored-by: chen-jingjie <[email protected]> Co-authored-by: Garrick Crouch <[email protected]> Co-authored-by: Xi Ming <[email protected]> Co-authored-by: Pablo Recalde <[email protected]> Co-authored-by: Ryan Lee <[email protected]> Co-authored-by: Peach <[email protected]> Co-authored-by: xrkffgg <[email protected]> Co-authored-by: Wuif <[email protected]> Co-authored-by: Jason Miller <[email protected]> Co-authored-by: uchanlee <[email protected]> Co-authored-by: Long Hao (龙濠) <[email protected]> Co-authored-by: Amumu <[email protected]> Co-authored-by: NothingToDo <[email protected]> Co-authored-by: Shanjie Chen <[email protected]> Co-authored-by: xrkffgg <[email protected]> Co-authored-by: qin20 <[email protected]> Co-authored-by: 秦缘斌 <[email protected]> Co-authored-by: 陈帅 <[email protected]> Co-authored-by: 期贤 <[email protected]> Co-authored-by: dimbslmh <[email protected]> Co-authored-by: dimbslmh <[email protected]> Co-authored-by: Dan Greene <[email protected]> Co-authored-by: zhenfan.yu <[email protected]> Co-authored-by: whwangms <[email protected]> Co-authored-by: ZhouZhen <[email protected]> Co-authored-by: hydraZty <[email protected]> Co-authored-by: hydraZty <[email protected]> Co-authored-by: toSayNothing <[email protected]> Co-authored-by: PlayerWho <[email protected]> Co-authored-by: Di Wu <[email protected]> Co-authored-by: yanm1ng <[email protected]> Co-authored-by: 亦逊 <[email protected]> Co-authored-by: VIREAK KEOSOKVIBOL <[email protected]> Co-authored-by: vagusX <[email protected]> Co-authored-by: dengqing <[email protected]> Co-authored-by: Cat-XHS <[email protected]> Co-authored-by: 礼检 <[email protected]> Co-authored-by: 王浩 <[email protected]> Co-authored-by: wanghao <[email protected]> Co-authored-by: Eliot Sanford <[email protected]> Co-authored-by: Yang Zhang <[email protected]> Co-authored-by: Cole <[email protected]> Co-authored-by: chenqiufan <[email protected]> Co-authored-by: codefactor-io <[email protected]> Co-authored-by: 黑雨 <[email protected]> Co-authored-by: tangjinzhou <[email protected]> Co-authored-by: Amour1688 <[email protected]> Co-authored-by: Dawnlck <[email protected]> Co-authored-by: mic-web <[email protected]> Co-authored-by: Jase Owens <[email protected]> Co-authored-by: linxianxi <[email protected]> Co-authored-by: babycannotsay <[email protected]> Co-authored-by: chenyizhongx <[email protected]> Co-authored-by: Michał Podeszwa <[email protected]> Co-authored-by: Michał Podeszwa <[email protected]> Co-authored-by: soso <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: Filip Seman <[email protected]> Co-authored-by: opopeieie <[email protected]> Co-authored-by: chenxq <[email protected]> Co-authored-by: stefango <[email protected]> Co-authored-by: TrickyPi <[email protected]> Co-authored-by: Picsong <[email protected]> Co-authored-by: Dave <[email protected]> Co-authored-by: 李瀚 <[email protected]> Co-authored-by: KaKaHuoLuoTe <[email protected]> Co-authored-by: qdzhaoxiaodao <[email protected]> Co-authored-by: zhaohonghai <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zach Bird <[email protected]> Co-authored-by: aghArdeshir <[email protected]> Co-authored-by: Karott Schu <[email protected]> Co-authored-by: zhang lay <[email protected]>
1 parent 01255f5 commit b0b4352

File tree

380 files changed

+32020
-10268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+32020
-10268
lines changed

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: 🆕 Create new issue
4+
url: http://new-issue.ant.design
5+
about: The issue which is not created via http://new-issue.ant.design will be closed immediately.
6+
- name: 🆕 创建一个新 Issue
7+
url: http://new-issue.ant.design
8+
about: 不是用 http://new-issue.ant.design 创建的 issue 会被机器人自动关闭。另外『如何使用...』类问题建议使用讨论区 https://github.com/ant-design/ant-design/discussions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
name: 🇨🇳 报告缺陷(beta)
2+
description: 使用中文 Bug 报告模板提交一个缺陷,当然你也可以用 https://new-issue.ant.design
3+
title: "[Bug] 请替换成合适的标题"
4+
labels: ["🐛+Bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
除了此表单,你也可以使用 [Ant Design Issue Helper](https://new-issue.ant.design/) 来新建 issue。
10+
11+
Ant Design 的 issue 列表只接受 [Bug 报告](https://github.com/ant-design/ant-design/issues/new?assignees=&labels=%F0%9F%90%9B+Bug&template=template-1-bug-report.yml&title=%5BBug%5D+) 或是 [新功能请求](https://github.com/ant-design/ant-design/issues/new?assignees=&labels=%F0%9F%92%A1%2BFeature%2BRequest&template=template-2-feature-request.yml&title=%5BFeature+Request%5D+) (Feature Request)。这意味着我们不接受用法问题(How to 类问题)。如果你开的 issue 不符合规定,它将会被立刻关闭。[为什么要这么严格?](https://github.com/ant-design/antd-issue-helper/blob/master/src/locales/zh/introModal.md)
12+
13+
对于使用中遇到的问题,请使用以下资源:
14+
15+
- 将用法类问题发到 [GitHub 讨论区](https://github.com/ant-design/ant-design/discussions) 而不是 Issue。
16+
- 仔细阅读 [使用文档](https://ant.design/docs/react/introduce-cn) 和 [组件文档](https://ant.design/components/overview-cn/)。
17+
- 提问前确保你在 [常见问题](https://ant.design/docs/react/faq-cn) 和 [更新日志](https://ant.design/changelog-cn) 中搜索过。
18+
- 在 [StackOverflow](https://stackoverflow.com/questions/tagged/antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问。
19+
20+
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
21+
22+
---
23+
- type: input
24+
id: reproduce
25+
attributes:
26+
label: 重现链接
27+
description: 请提供一个尽可能精简的 [codesandbox](https://u.ant.design/codesandbox-repro) 或 [GitHub 仓库](https://github.com/ant-design/create-react-app-antd/) 的链接。[什么是最小化重现,为什么这是必需的?](https://github.com/ant-design/antd-issue-helper/blob/master/src/locales/zh/reproModal.md)
28+
validations:
29+
required: true
30+
- type: input
31+
id: version
32+
attributes:
33+
label: antd 版本
34+
description: 你正在使用的 antd 版本是多少?(注意不是 package.json 里的版本,而是 node_modules/antd 里实际安装的版本)
35+
placeholder: 如 4.16.13
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: reproduce-steps
40+
attributes:
41+
label: 重现步骤
42+
description: 请提供一个傻瓜式的操作步骤,方便我们无脑重现问题。
43+
placeholder: |
44+
比如:
45+
1. 点击重现链接里的主按钮
46+
2. 等待五秒钟
47+
3. 观察按钮的边框
48+
validations:
49+
required: true
50+
- type: textarea
51+
id: expected
52+
attributes:
53+
label: 期望的结果是什么?
54+
placeholder: 比如:按钮样式正常,边框一直存在
55+
validations:
56+
required: true
57+
- type: textarea
58+
id: reality
59+
attributes:
60+
label: 实际的结果是什么?
61+
placeholder: 比如:按钮样式异常,边框突然丢失
62+
validations:
63+
required: true
64+
- type: dropdown
65+
id: browsers
66+
attributes:
67+
label: 浏览器
68+
description: 在哪些浏览器上能重现这个问题?
69+
multiple: true
70+
options:
71+
- Firefox
72+
- Chrome
73+
- Safari
74+
- Edge
75+
- Internet Explorer
76+
- Others
77+
- type: input
78+
id: browsers-version
79+
attributes:
80+
label: 浏览器版本
81+
placeholder: 如:版本 95.0.4638.69(正式版本) (x86_64)
82+
- type: dropdown
83+
id: os
84+
attributes:
85+
label: 操作系统
86+
description: 使用的操作系统是?
87+
options:
88+
- Windows
89+
- MacOS
90+
- iOS
91+
- Android
92+
- Others
93+
- type: input
94+
id: hidden-tag
95+
attributes:
96+
label: 其他
97+
description: 不要删除预填内容,否则 issue 会被自动关闭。
98+
value: <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
99+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: 🇨🇳 功能需求(beta)
2+
description: 使用中文 Bug 报告模板提交一个功能需求,当然你也可以用 https://new-issue.ant.design
3+
title: "[Feature Request] 请替换成合适的标题"
4+
labels: ["💡+Feature+Request"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
除了此表单,你也可以使用 [Ant Design Issue Helper](https://new-issue.ant.design/) 来新建 issue。
10+
11+
Ant Design 的 issue 列表只接受 [Bug 报告](https://github.com/ant-design/ant-design/issues/new?assignees=&labels=%F0%9F%90%9B+Bug&template=template-1-bug-report.yml&title=%5BBug%5D+) 或是 [新功能请求](https://github.com/ant-design/ant-design/issues/new?assignees=&labels=%F0%9F%92%A1%2BFeature%2BRequest&template=template-2-feature-request.yml&title=%5BFeature+Request%5D+) (Feature Request)。这意味着我们不接受用法问题(How to 类问题)。如果你开的 issue 不符合规定,它将会被立刻关闭。[为什么要这么严格?](https://github.com/ant-design/antd-issue-helper/blob/master/src/locales/zh/introModal.md)
12+
13+
对于使用中遇到的问题,请使用以下资源:
14+
15+
- 将用法类问题发到 [GitHub 讨论区](https://github.com/ant-design/ant-design/discussions) 而不是 Issue。
16+
- 仔细阅读 [使用文档](https://ant.design/docs/react/introduce-cn) 和 [组件文档](https://ant.design/components/overview-cn/)。
17+
- 提问前确保你在 [常见问题](https://ant.design/docs/react/faq-cn) 和 [更新日志](https://ant.design/changelog-cn) 中搜索过。
18+
- 在 [StackOverflow](https://stackoverflow.com/questions/tagged/antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问。
19+
20+
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。
21+
22+
---
23+
- type: textarea
24+
id: needs
25+
attributes:
26+
label: 这个功能解决了什么问题?
27+
description: |
28+
请尽可能详尽地说明这个需求的用例和场景。最重要的是:解释清楚是怎样的用户体验需求催生了这个功能上的需求。
29+
Ant Design 的一个重要设计原则是保持 API 的简洁和直接。通常来说,我们只考虑添加在现有的 API 下无法轻松实现的功能。新功能的用例也应当足够常见。
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: api
34+
attributes:
35+
label: 你期望的 API 是怎样的?
36+
description: |
37+
描述一下你期望这个新功能的 API 是如何使用的,并提供一些代码示例。请用 Markdown 格式化你的代码片段。
38+
如果有新的 UI 界面,最好截图展示你期望的界面是什么样的?
39+
placeholder: |
40+
```jsx
41+
<Drawer extra={<Button />} {...props} />
42+
```
43+
validations:
44+
required: true
45+
- type: input
46+
id: hidden-tag
47+
attributes:
48+
label: 其他
49+
description: 不要删除预填内容,否则 issue 会被自动关闭。
50+
value: <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->

.github/workflows/issue-check-inactive.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: check-inactive
12-
uses: actions-cool/issues-helper@v2
12+
uses: actions-cool/issues-helper@v3
1313
with:
1414
actions: 'check-inactive'
1515
inactive-label: 'Inactive'

.github/workflows/issue-close-require.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: need reproduce
12-
uses: actions-cool/issues-helper@v2
12+
uses: actions-cool/issues-helper@v3
1313
with:
1414
actions: 'close-issues'
1515
labels: '🤔 Need Reproduce'
1616
inactive-day: 3
1717

1818
- name: needs more info
19-
uses: actions-cool/issues-helper@v2
19+
uses: actions-cool/issues-helper@v3
2020
with:
2121
actions: 'close-issues'
2222
labels: 'needs-more-info'

.github/workflows/issue-labeled.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: help wanted
1414
if: github.event.label.name == 'help wanted'
15-
uses: actions-cool/issues-helper@v2
15+
uses: actions-cool/issues-helper@v3
1616
with:
1717
actions: 'create-comment'
1818
token: ${{ secrets.GITHUB_TOKEN }}
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: 🤔 Need Reproduce
2828
if: github.event.label.name == '🤔 Need Reproduce'
29-
uses: actions-cool/issues-helper@v2
29+
uses: actions-cool/issues-helper@v3
3030
with:
3131
actions: 'create-comment'
3232
token: ${{ secrets.GITHUB_TOKEN }}
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Usage
4242
if: github.event.label.name == 'Usage' || github.event.label.name == 'Question'
43-
uses: actions-cool/issues-helper@v2
43+
uses: actions-cool/issues-helper@v3
4444
with:
4545
actions: 'create-comment,close-issue'
4646
token: ${{ secrets.GITHUB_TOKEN }}
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: 3.x
5454
if: github.event.label.name == '3.x'
55-
uses: actions-cool/issues-helper@v2
55+
uses: actions-cool/issues-helper@v3
5656
with:
5757
actions: 'create-comment,close-issue'
5858
token: ${{ secrets.GITHUB_TOKEN }}
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: invalid
6666
if: github.event.label.name == 'Invalid'
67-
uses: actions-cool/issues-helper@v2
67+
uses: actions-cool/issues-helper@v3
6868
with:
6969
actions: 'create-comment,close-issue'
7070
token: ${{ secrets.GITHUB_TOKEN }}
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: rtl
7878
if: github.event.label.name == 'rtl'
79-
uses: actions-cool/issues-helper@v2
79+
uses: actions-cool/issues-helper@v3
8080
with:
8181
actions: 'add-assignees'
8282
assignees: 'xrkffgg'

.github/workflows/issue-open-check.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: check invalid
1818
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.result == 'false')
19-
uses: actions-cool/issues-helper@v2
19+
uses: actions-cool/issues-helper@v3
2020
with:
2121
actions: 'create-comment,add-labels,close-issue'
2222
issue-number: ${{ github.event.issue.number }}
@@ -27,7 +27,7 @@ jobs:
2727
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](http://new-issue.ant.design) 来创建 issue 以方便我们定位错误。谢谢配合!
2828
2929
- name: check website
30-
uses: actions-cool/issues-helper@v2
30+
uses: actions-cool/issues-helper@v3
3131
id: checkid
3232
with:
3333
actions: 'check-issue'
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: deal website
3939
if: steps.checkid.outputs.check-result == 'true'
40-
uses: actions-cool/issues-helper@v2
40+
uses: actions-cool/issues-helper@v3
4141
with:
4242
actions: 'create-comment,close-issue'
4343
issue-number: ${{ github.event.issue.number }}
@@ -59,19 +59,19 @@ jobs:
5959
* Infra Design Pro: http://ant-design-pro.gitee.io
6060
* Infra Design Mobile: http://antd-mobile.gitee.io
6161
* Ant Motion: http://ant-motion.gitee.io
62-
* Infra Design Pro Preview : https://prosite.z23.web.core.windows.net
63-
62+
* Ant Design Pro Preview : https://prosite.z23.web.core.windows.net
63+
6464
- name: check ie
6565
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && contains(github.event.issue.title, 'IE9') == true || contains(github.event.issue.title, 'IE 9') == true || contains(github.event.issue.title, 'IE10') == true || contains(github.event.issue.title, 'IE 10') == true || contains(github.event.issue.title, 'IE11') == true || contains(github.event.issue.title, 'IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true || contains(github.event.issue.body, 'IE9') == true || contains(github.event.issue.body, 'IE 9') == true || contains(github.event.issue.body, 'IE10') == true || contains(github.event.issue.body, 'IE 10') == true || contains(github.event.issue.body, 'IE11') == true || contains(github.event.issue.body, 'IE 11') == true || contains(github.event.issue.body, 'Internet Explorer') == true
66-
uses: actions-cool/issues-helper@v2
66+
uses: actions-cool/issues-helper@v3
6767
with:
6868
actions: 'add-labels'
6969
issue-number: ${{ github.event.issue.number }}
7070
labels: 'IE | Firefox | Safari,Internet Explorer'
7171

7272
- name: check ie
7373
if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && contains(github.event.issue.title, 'IE9') == true || contains(github.event.issue.title, 'IE 9') == true || contains(github.event.issue.title, 'IE10') == true || contains(github.event.issue.title, 'IE 10') == true || contains(github.event.issue.title, 'IE11') == true || contains(github.event.issue.title, 'IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true || contains(github.event.issue.body, 'IE9') == true || contains(github.event.issue.body, 'IE 9') == true || contains(github.event.issue.body, 'IE10') == true || contains(github.event.issue.body, 'IE 10') == true
74-
uses: actions-cool/issues-helper@v2
74+
uses: actions-cool/issues-helper@v3
7575
with:
7676
actions: 'create-comment, close-issue'
7777
issue-number: ${{ github.event.issue.number }}

.github/workflows/issue-remove-inactive.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: remove inactive
1414
if: github.event.issue.state == 'open' && github.actor == github.event.issue.user.login
15-
uses: actions-cool/issues-helper@v2
15+
uses: actions-cool/issues-helper@v3
1616
with:
1717
actions: 'remove-labels'
1818
issue-number: ${{ github.event.issue.number }}

.github/workflows/pr-check-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
filter-label: 'BranchAutoMerge'
1515
filter-creator-authority: 'write'
16-
filter-head-ref: 'master, feature, master-merge-feature, feature-merge-master'
16+
filter-head-ref: 'master, feature, next, master-merge-feature, feature-merge-master, next-merge-master'
1717
filter-support-fork: false
1818
skip-run-names: 'deploy preview, pr-check-ci, build preview failed, suggest-related-links'
1919
conflict-review-body: '😅 This branch has conflicts that must be resolved!'

.github/workflows/pr-check-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: (github.event.pull_request.head.ref == 'feature' || github.event.pull_request.head.ref == 'master') && github.event.pull_request.head.user.login == 'ant-design'
1111
steps:
12-
- uses: actions-cool/issues-helper@v2
12+
- uses: actions-cool/issues-helper@v3
1313
with:
1414
actions: 'create-comment'
1515
issue-number: ${{ github.event.number }}

.github/workflows/release-helper.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: make release
19-
uses: actions-cool/release-helper@v1
19+
uses: actions-cool/release-helper@v2
2020
with:
2121
triger: 'tag'
2222
changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md'
2323
branch: 'master'
24-
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
24+
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }} ${{ secrets.DINGDING_BOT_BIGFISH_TOKEN }}
2525
dingding-msg: 'CHANGELOG.zh-CN.md'
2626
msg-poster: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ'
2727
msg-footer: '💬 前往 [**Ant Design Releases**]({{url}}) 查看更新日志'

.github/workflows/verify-files-modify.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
forbid-paths: '.github/, scripts/'
1515
forbid-files: 'CHANGELOG.zh-CN.md, CHANGELOG.en-US.md, LICENSE'
1616
skip-verify-authority: 'write'
17-
assignees: 'afc163, zombieJ, xrkffgg'
17+
assignees: 'afc163, zombieJ, xrkffgg, MadCcc'
1818
comment: |
1919
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. The path `.github/` or `scripts/` and `CHANGELOG` `package.json` is only maintained by team members. This current PR will be closed and team members will help on this.
2020
close: true
21+
set-failed: false
2122

2223
- name: verify-less
2324
uses: actions-cool/verify-files-modify@v1

.stylelintrc.json

+19
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@
88
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
99
"rules": {
1010
"function-name-case": ["lower", { "ignoreFunctions": ["/colorPalette/"] }],
11+
"function-no-unknown": [
12+
true,
13+
{
14+
"ignoreFunctions": [
15+
"fade",
16+
"tint",
17+
"darken",
18+
"ceil",
19+
"fadein",
20+
"floor",
21+
"unit",
22+
"shade",
23+
"lighten",
24+
"percentage",
25+
"-",
26+
"~`colorPalette"
27+
]
28+
}
29+
],
1130
"no-descending-specificity": null,
1231
"no-invalid-position-at-import-rule": null,
1332
"declaration-empty-line-before": null,

0 commit comments

Comments
 (0)