Skip to content

Commit

Permalink
Zl/v4.19.3 sync (#60)
Browse files Browse the repository at this point in the history
* 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 <dimsbslmh@gmail.com>

* 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 <hydra_zty@163.com>

* 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: 亦逊 <eason.ym@alibaba-inc.com>

* 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 <afc163@gmail.com>

* 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 <qing.deng@goldenpig.com.cn>

* 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: 礼检 <ljj337009@antgroup.com>

* 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 <zengguhao.zgh@alibaba-inc.com>

* fix(checkbox): disabled checkbox should works well with tooltip (ant-design#33772)

Co-authored-by: wanghao <wanghao.wong@bytedance.com>

* 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 <afc163@gmail.com>

* update

* update

* fix name

* 空格

* fix name

* update

* Update docs/react/i18n.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update

* update

* update

* 添加英文版本

* update

* the

* update

* update

* fix list

* Revert "fix list"

This reverts commit c6f3e2c.

* fix list

* 指向源文件

Co-authored-by: afc163 <afc163@gmail.com>

* 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 <bot@renovateapp.com>

* 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 <chenqiufan@shiqiao.com>

* 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 <support@codefactor.io>

* 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 <bot@renovateapp.com>

* chore(deps): update dependency @types/jest-environment-puppeteer to v5 (ant-design#33898)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* 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 <bot@renovateapp.com>

* 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 <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>

* 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 <178679-michalpodeszwa@users.noreply.gitlab.com>

* 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 <yoyo837@hotmail.com>

* 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 <afc163@gmail.com>

* Update components/menu/index.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update components/menu/demo/submenu-theme.md

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>

* 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 <bot@renovateapp.com>
Co-authored-by: tanghui <yoyo837@hotmail.com>

* 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 <chenxq@neocrm.com>

* 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 <bot@renovateapp.com>

* chore(deps): update actions-cool/issues-helper action to v3 (ant-design#34132)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* 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 <smith3816@gmail.com>

* 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 <zengguhao.zgh@alibaba-inc.com>

* 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 eslint-plugin-react@7.28.0

* feat: add variable for aliyun theme of drawer (ant-design#34188)

Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>

* feat: add variable for aliyun theme of dropdown (ant-design#34189)

Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>

* 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 <wb-zhh767523@alibaba-inc.com>

* feat: add variable for aliyun theme of divider (ant-design#34187)

Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>

* feat: add variable for aliyun theme of radio (ant-design#34194)

Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>

* 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] <support@github.com>

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 <zengguhao.zgh@alibaba-inc.com>

* 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 <afc163@gmail.com>

* 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: Form.Item "React does not recognize the requiredMark prop on a DOM element" (ant-design#34323)

close ant-design#34310

* test: add boolean value input test (ant-design#34324)

* feat: Input support clearIcon (ant-design#34325)

* feat: Input support clearIcon

* docs: update Input api

* chore: fix changelog print for author info in github web (ant-design#34326)

* ci: fix ie11 close

* refactor: clearIcon in allowClear (ant-design#34340)

* refactor: Input allowClear api upadte

* test: add test

* docs: 4.19.0 changelog (ant-design#34328)

* docs: 4.19.0 changelog

* docs: update

* docs: update

* docs: update

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

* fix: status less compile error (ant-design#34350)

* docs: changelog 4.19.1-alpha.0 (ant-design#34352)

* docs: changelog 4.19.1-alpha.0

* docs: update

* docs: update

* docs: update

* fix: password icon color (ant-design#34354)

* fix: csp not work on icon (ant-design#34356)

* refactor: Input.Group use context hook (ant-design#34361)

* docs: changelog 4.19.1 (ant-design#34357)

* docs: changelog 4.19.1

* docs: update

* refactor: Replace ConfigConsumer to ConfigContext (ant-design#34365)

* chore: resposive.md => responsive.md (ant-design#34368)

* chore: resposive.md => responsive.md

* update snapshot

* docs(Spin): fix en-US description of `spinning` prop (ant-design#34382)

Previous description indicates that Spin is visible but not spinning when `spinning === false`. According to ZH-CN doc, Spin is not visible when `spinning === false`.

* fix: input lg font size (ant-design#34381)

* fix: Dropdown not auto adjust placement (ant-design#34390)

* chore(deps-dev): bump jest-axe from 5.0.1 to 6.0.0 (ant-design#34392)

Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/nickcolley/jest-axe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/commits/v6.0.0)

---
updated-dependencies:
- dependency-name: jest-axe
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(transfer): footer类型定义支持direction (ant-design#34337)

* docs: fix select fieldNames typo (ant-design#34399)

* fix: not warning if Form.Item unmount (ant-design#34405)

* fix: fix arrow size in default.less (ant-design#34407)

* fix: fix arrow size in default.less

* chore: code clean

* chore: update rc-field-form version (ant-design#34411)

* refactor: rm useDestroy hook (ant-design#34418)

* fix: clear status in input addon (ant-design#34412)

* Fix InputProps supports data attributes (ant-design#34410)

* fix: add data-xx for inputProps and convert input/_tests/index.test.js to tsx file

* fix: run tests

* feat: hide the last border in borderless mode (ant-design#34366)

* fix: Tooltip width in safari (ant-design#34415)

* docs(Table): replace the link of `TableComponents` prop with `rc-table` type (ant-design#34423)

* fix: PageHeader extra gutter (ant-design#34428)

* chore: refactor internal menu with hooks (ant-design#34433)

* chore: refactor menu with hooks

* chore: clean up

* chore: export css variable func (ant-design#34436)

* docs(module:timeline): fix typo (ant-design#34389)

* docs(module:timeline): fix typo

* docs(module:timeline): fix typo

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>

* docs(✨ ): changelog for 4.19.2 (ant-design#34472)

* docs: changelog for 4.19.2

* fix changelog lint

* chore: upgrade rc-menu to 9.3.x (ant-design#34473)

* docs(components:Cascader): supplement the API documentation (ant-design#34466)

* docs(components:Cascader): supplement the API documentation

* docs(Cascader:en-US): supplement the API documentation

* fix: input classname in affix wrapper (ant-design#34474)

* chore: add focus warning for Input (ant-design#34475)

* chore: add focus warning for Input

* chore: code clean

* chore: remove duplicate variables

* refactor: move prefixCls to wrapper (ant-design#34482)

* refactor: move prefixCls to wrapper

* fix: name change

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>

* docs: dropdownRender usage

ant-design@2de1a15

* refactor: replace deprecated String.prototype.substr() (ant-design#34498)

String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

* test: Update snapshot

* docs: fix alert docs escape

* fix: missing status style for RangePicker (ant-design#34509)

* fix: range picker should has status style

* chore: code clean

* chore: code clean

* chore: code clean

* fix: Typography ediable style (ant-design#34518)

- [x] Fix Editable Textarea height jump in Firefox
- [x] Fix Editable Typography.Title confirm icon position

* docs: fix ---

* fix: typos in Input.tsx (ant-design#34534)

* chore(🤖): add ChainAlert action (ant-design#34530)

* fix: col-x class names in css when using custom prefix (ant-design#34494)

* fix: col-x class names of Row and Col components when using custom prefix

* refactor: reuse @col-prefix-cls and @row-prefix-cls

* refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less

* docs: update Input docs for default size in Form (ant-design#34537)

* docs: move treeLoadedKeys to TreeSelect

close ant-design#34538

* chore(deps-dev): bump @types/gtag.js from 0.0.8 to 0.0.9 (ant-design#34540)

Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js)

---
updated-dependencies:
- dependency-name: "@types/gtag.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Badge RTL wrong placement (ant-design#34545)

* fix: tooltip preset color (ant-design#34548)

* fix: tooltip preset color

* chore: code clean

* fix: apply scale transform to disabled star (ant-design#34547)

* test: add type test for Input

* docs: add Currency recommendation

* chore(deps-dev): bump @types/gtag.js from 0.0.9 to 0.0.10 (ant-design#34561)

Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js)

---
updated-dependencies:
- dependency-name: "@types/gtag.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: lt_LT locale for typeTemplate (ant-design#34567)

* fix: Update it_IT locales (ant-design#34566)

* chore: add issues similarity analysis and dingtalk issue notice actions (ant-design#34583)

* chore: add Issues Similarity Analysis action

* Delete suggest-related-links.yml

* Create issue-sync-dingtalk.yml

* Update issue-sync-dingtalk.yml

* Update issue-sync-dingtalk.yml

* Update issue-sync-dingtalk.yml

* Update issues-similarity-analysis.yml

* Delete chain-alert.yml

* chore(🤖): Update issue-open-check.yml (ant-design#34589)

* Update issue-open-check.yml

* Delete issue-sync-dingtalk.yml

* Update issue-open-check.yml

* Update issue-open-check.yml

* Update issue-open-check.yml

* chore(🤖): upgrade github actions (ant-design#34599)

* ci: update result

* ci: fix result

* Update issue-open-check.yml

* fix: clear icon style (ant-design#34610)

* docs: add 4.19.3 changhelog (ant-design#34617)

Co-authored-by: 期贤 <qixian.cs@antgroup.com>

Co-authored-by: dimbslmh <745635+dimbslmh@users.noreply.github.com>
Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
Co-authored-by: Dan Greene <14020024+dgreene1@users.noreply.github.com>
Co-authored-by: uchanlee <uchanlee.dev@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zhenfan.yu <fanerge@qq.com>
Co-authored-by: whwangms <whwangms@outlook.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: ZhouZhen <503633021@qq.com>
Co-authored-by: hydraZty <670688667@qq.com>
Co-authored-by: hydraZty <hydra_zty@163.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: toSayNothing <91143836+toSayNothing@users.noreply.github.com>
Co-authored-by: PlayerWho <who.zhuang@gmail.com>
Co-authored-by: Di Wu <di@gridx.cn>
Co-authored-by: yanm1ng <644169721@qq.com>
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
Co-authored-by: VIREAK KEOSOKVIBOL <46261326+vireakkeosokvibol@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: vagusX <vagusX@users.noreply.github.com>
Co-authored-by: dengqing <1247748612@qq.com>
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
Co-authored-by: Cat-XHS <1349021570@qq.com>
Co-authored-by: 礼检 <ljj337009@antgroup.com>
Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com>
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
Co-authored-by: 王浩 <boomler@hotmail.com>
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Eliot Sanford <eliot587@gmail.com>
Co-authored-by: Yang Zhang <7129+yang@users.noreply.github.com>
Co-authored-by: Cole <cqiufan@outlook.com>
Co-authored-by: chenqiufan <chenqiufan@shiqiao.com>
Co-authored-by: codefactor-io <support@codefactor.io>
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
Co-authored-by: Dawnlck <chaokai.lck@antgroup.com>
Co-authored-by: mic-web <4804412+mic-web@users.noreply.github.com>
Co-authored-by: Jase Owens <jaseowens197@gmail.com>
Co-authored-by: linxianxi <47104575+linxianxi@users.noreply.github.com>
Co-authored-by: babycannotsay <335658202@qq.com>
Co-authored-by: chenyizhongx <31769726+chenyizhongx@users.noreply.github.com>
Co-authored-by: Michał Podeszwa <MichalPodeszwa@users.noreply.github.com>
Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com>
Co-authored-by: soso <ethdud1@gmail.com>
Co-authored-by: David <97387061+david-cord@users.noreply.github.com>
Co-authored-by: Filip Seman <filip.seman@protonmail.com>
Co-authored-by: opopeieie <opopeieie@users.noreply.github.com>
Co-authored-by: chenxq <chenxq@neocrm.com>
Co-authored-by: stefango <nankongyinan@gmail.com>
Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com>
Co-authored-by: Picsong <312465087@qq.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
Co-authored-by: Dave <wangcch.cc@gmail.com>
Co-authored-by: 李瀚 <44010674+lihansir@users.noreply.github.com>
Co-authored-by: KaKaHuoLuoTe <99702968+KaKaHuoLuoTe@users.noreply.github.com>
Co-authored-by: qdzhaoxiaodao <32627250+qdzhaoxiaodao@users.noreply.github.com>
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Bird <546439325@qq.com>
Co-authored-by: aghArdeshir <ardeshireo@gmail.com>
Co-authored-by: Karott Schu <karott7@gmail.com>
Co-authored-by: Dennis273 <dennisc695@icloud.com>
Co-authored-by: Fisher <33776415+zomixi@users.noreply.github.com>
Co-authored-by: Jungzl <35426360+Jungzl@users.noreply.github.com>
Co-authored-by: 高喵喵 <GitKou@users.noreply.github.com>
Co-authored-by: PanStar <PanStar@users.noreply.github.com>
Co-authored-by: dujun <emolingzhu@126.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: YuTao <yutao0818@vip.qq.com>
Co-authored-by: EvanOne(文一) <1656081615@qq.com>
Co-authored-by: CommanderRoot <CommanderRoot@users.noreply.github.com>
Co-authored-by: Yunwoo Ji <unu12073@gmail.com>
Co-authored-by: Anizcus <48563303+Anizcus@users.noreply.github.com>
Co-authored-by: Gianmarco Rengucci <rengucci.gianmarco@gmail.com>
Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
Co-authored-by: zhang lay <lay.zhang@shopee.com>
  • Loading branch information
Show file tree
Hide file tree
Showing 114 changed files with 9,263 additions and 1,268 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
CI_JOB_NUMBER: 1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/issue-open-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
issue-open-check:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/check-user-permission@v1
- uses: actions-cool/check-user-permission@v2
id: checkUser
with:
require: 'write'
check-bot: true

- name: check invalid
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.result == 'false')
if: (contains(github.event.issue.body, 'ant-design-issue-helper') == false) && (steps.checkUser.outputs.require-result == 'false')
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment,add-labels,close-issue'
Expand Down Expand Up @@ -69,11 +69,20 @@ jobs:
issue-number: ${{ github.event.issue.number }}
labels: 'IE | Firefox | Safari,Internet Explorer'

- name: check ie
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
- name: check ie11-
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.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
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment, close-issue'
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}, v4 only support IE11 and above.
- name: send to dingtalk
uses: visiky/dingtalk-release-notify@main
with:
DING_TALK_TOKEN: ${{ secrets.DINGDING_BOT_TOKEN }}
notify_title: '🔥 @${{ github.event.issue.user.login }} 创建了 issue:${{ github.event.issue.title }}'
notify_body: '### 🔥 @${{ github.event.issue.user.login }} 创建了 issue:[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) <hr /> ![](https://gw.alipayobjects.com/zos/antfincdn/5Cl2G7JjF/jieping2022-03-20%252520xiawu11.06.04.png) <hr /> ${{ github.event.issue.body }}'
notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。'
at_all: false # whether to ding everybody
17 changes: 17 additions & 0 deletions .github/workflows/issues-similarity-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Issues Similarity Analysis

on:
issues:
types: [opened, edited]

jobs:
similarity-analysis:
runs-on: ubuntu-latest
steps:
- name: analysis
uses: actions-cool/issues-similarity-analysis@v1.1.0
with:
filter-threshold: 0.5
title-excludes: ''
comment-title: '### You may look for issues:'
comment-body: '${index}. ${similarity} #${number}'
8 changes: 4 additions & 4 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -68,7 +68,7 @@ jobs:
SITE_ENV: development

- name: upload site artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: site
path: _site/
Expand All @@ -81,7 +81,7 @@ jobs:

- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pr
path: ./pr-id.txt
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automatic Rebase
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false)
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -100,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -122,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -171,7 +171,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand All @@ -194,7 +194,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -460,7 +460,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
run: npm run test-image

- name: upload snapshots artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: snapshots
path: imageSnapshots/
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Upload commit
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: commit
path: ./commit.txt
Expand All @@ -75,7 +75,7 @@ jobs:

- name: Upload branch
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: branch
path: ./branch.txt
2 changes: 1 addition & 1 deletion .github/workflows/verify-package-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: verify-version
uses: actions-cool/verify-package-version@v1
with:
Expand Down
Loading

0 comments on commit 08d6842

Please sign in to comment.