Commit Graph

21815 Commits

Author SHA1 Message Date
afc163
cbe85387be
style: remove selected item style of AutoComplete (#34996)
close ant-design/ant-design#34975
2022-04-12 20:27:02 +08:00
PCCCCCCC
15453e7c7a
feat: Image preview support keyboard switch (#34992) 2022-04-12 19:17:32 +08:00
zombiej
9c0fc05beb test: Update snapshot 2022-04-12 17:12:36 +08:00
二货机器人
62233426f3
docs: update faq (#34984) 2022-04-12 14:19:32 +08:00
zombiej
f11bde4207 docs: Add faq about chrome with upload 2022-04-12 10:58:51 +08:00
github-actions[bot]
3fd6b7edad
chore: auto merge branchs (#34976)
chore: merge feature into master
2022-04-11 11:43:03 +00:00
github-actions[bot]
227036fac5
chore: auto merge branchs (#34974)
chore: feature merge master
2022-04-11 11:07:22 +00:00
zombiej
1e35235e6c chore: fix ts demo 2022-04-11 18:32:02 +08:00
zombiej
65cec1458f chore: fix ts 2022-04-11 18:15:03 +08:00
zombiej
85a351ed3b chore: test fix 2022-04-11 18:07:34 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
二货机器人
688422b490
test: back of coverage (#34964)
* test: fix coverage

* chore: bump bisheng

* chore: clean up

* chore: update deps

* chore: test coverage
2022-04-11 15:32:00 +08:00
afc163
494c55df30
fix: small size of Table style problem (#34963)
close #34949
2022-04-11 13:07:48 +08:00
afc163
77b6a86656
fix: Form layout span 24 usage in responsive mode (#34907)
close #34903
2022-04-11 12:30:47 +08:00
Varun Sharma
01a475af6d
ci: Add GitHub token permissions for workflows (#34946) 2022-04-11 11:15:26 +08:00
vagusX
ae4e660a05
feat: add new component Segmented (#34319)
* feat: basic implements in antd

* feat: use rc-segmented

* feat: add some demos

* feat: support dark theme

* docs: add more demos

* feat: support `icon` in segmented

* docs: format content

* test: add test cases

* docs: update docs

* chore: update

* fix: lint issues

* style: add border-radius for selected effect

* style: change border-radius-base

* chore: update gitignore

* feat: segmented support block

* chore: update gitignore

* feat: support block

* feat: add test case

* feat: support size

* docs: update demos

* chore: update

* chore: update

* test: update

* style: update colors

* style: hover and focus styles

* doc: add version mark in docs

* fix: style lint issue

* fix: some lint issues

* doc: add version in demo mds

* doc: add version mark before api details

* Revert "doc: add version in demo mds"

This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.

* test: only test for thumb appear

* style: update color vars

* style: add transition

* style: text vertial align

* test: update snapshots

* feat: add preview svg and support dark theme

* fix: update test snapshot

* docs: update docs

* fix: remove useless z-index

* build: add 1kb for bundlesize of antd.variable.min.css

Co-authored-by: taian.lta <taian.lta@antgroup.com>
2022-04-11 11:13:16 +08:00
renovate[bot]
fd1265b220
chore(deps): update dependency react-highlight-words to ^0.18.0 (#34954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 09:56:02 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
dependabot[bot]
f41b6a8a90
chore(deps-dev): bump @types/react-dom from 17.0.15 to 18.0.0 (#34943)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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>
2022-04-08 20:14:15 +08:00
vagusX
afa4442a10
refactor: add optionType for Radio internally (#34849)
* refactor: add optionType for Radio internally

* fix: lint

* fix: update snapshot

* feat: remove useless condition for RadioGroupContext

* test: add test case for Radio.Button
2022-04-08 15:23:52 +08:00
Albert Zhang
b3e66762d6
fix: skeleton cannot dispaly without children and loading props : Skeleton(...) return nothing (#34872)
* fix: skeleton cannot dispaly without children

* [CodeFactor] Apply fixes to commit 0b4a968

[ci skip] [skip ci]

* fix: update skeleton

Co-authored-by: codefactor-io <support@codefactor.io>
2022-04-07 17:55:30 +08:00
Hamed Mohammadzadeh
d49013468a
fix: not warpper animation for badge RTL (#34899) 2022-04-07 16:15:02 +08:00
二货机器人
3de8030e10
docs: site wrap with strict mode (#34895)
* docs: site wrap with strict mode

* chore: bump bisheng
2022-04-07 14:10:49 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
Michael Crenshaw
08e962db4e
chore(deps): update moment to 2.29.2 (#34867)
Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com>
2022-04-06 10:33:06 +08:00
Dzmitry Yarmoshkin
1a8a5ee06f
fix: add aria-checked prop to checkbox (#34862)
* fix: add aria-checked prop to checkbox

* fix: update snapshots

* fix: update aria-checked logic and snapshots

* refactor: change props order

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

Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-06 10:04:09 +08:00
Minh Quy
445e6c6bca
feat: Support ref for Title, Text, Paragraph (#34847)
* feat: Support ref for Title, Text, Paragraph

* feat: Add tests for Title, Paragraph and Text
2022-04-05 13:02:32 +08:00
Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled (#34858) 2022-04-05 13:01:18 +08:00
Daniel Pfeffer
27bb1ea4ae
chore: Update de_DE.tsx (#34836) 2022-04-05 12:37:10 +08:00
dependabot[bot]
b47ac623b8
chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (#34861)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.1...v42.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  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>
2022-04-05 12:35:02 +08:00
Yunwoo Ji
25f8a0ad5f
docs: add size property to progress (#34860) 2022-04-05 12:34:31 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
11d09f80de
docs: 4.19.5 changelog (#34851) 2022-04-02 23:33:13 +08:00
二货机器人
baade8611d
fix: Form unmount miss origin store value (#34845) 2022-04-02 18:31:14 +08:00
zqran
452c5835ec
feat: Tree switcherIcon prop support render-prop (#34470)
* feat: Tree `switcherIcon` prop support render-prop

* add test for `switcherIcon` render-prop

* change the `switcherIcon` prop type of `TreeSelect`

* fix switcherIcon render-prop condition

* fix switcherIcon
2022-04-01 17:10:38 +08:00
二货机器人
80c1391211
docs: Add faq (#34830) 2022-04-01 15:54:11 +08:00
afc163
dd13e806b2
chore: minify themes css (#34824) 2022-04-01 14:29:06 +08:00
Amumu
1e06f6cdc7
docs: patch 4.19.3 change log (#34821)
* Patch 4.19.3 changelog

* docs: patch logs

* docs: fix author

* Update CHANGELOG.zh-CN.md

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

* emoji

* emoji

Co-authored-by: afc163 <afc163@gmail.com>
2022-04-01 11:11:00 +08:00
afc163
1b1210791c
Update faq.zh-CN.md 2022-03-31 15:17:48 +08:00
miracles1919
550f60ff76
docs: update draggable demo with rtl mode (#34785)
* docs: update draggable demo with rtl mode

* test: update tabs demo snapshot
2022-03-31 14:06:44 +08:00
afc163
0edd112d5b
feat: Anchor supports getCurrentAnchor(activeLink) (#34799)
close #34784
2022-03-31 11:17:17 +08:00
github-actions[bot]
83b979e2d5
chore: auto merge branchs (#34800)
chore: sync master to feature
2022-03-31 01:58:20 +00:00
afc163
a73629fb85 chore: merge feature 2022-03-31 09:57:33 +08:00
Yunwoo Ji
f5c6379bba
fix: correct className (#34791) 2022-03-30 16:59:17 +08:00
afc163
c0304cca55
fix: Pagination should display middle size Select when ConfigProvider componentSize is large (#34756)
* fix: Pagination should display middle size Select
when ConfigProvider componentSize is large

close #34744

* fix snapshot
2022-03-30 16:38:08 +08:00
二货机器人
2733977245
chore: React 18 test case (#34781)
* chore: add 18 test

* chore: update test flow

* chore: fail fast

* chore: foce ci

* chore: more if

* chore: test it

* chore: back of it

* chore: master only

* chore: fix spell

* chore: force install

* test: comment 16 tmp

* chore: use react 17

* chore: install 18

* chore: back of 16 & 17
2022-03-30 14:35:43 +08:00
zombiej
c89e33d0b6 test: update snapshot 2022-03-30 11:54:22 +08:00
二货机器人
ceba0d5c23
chore: comiple use matrix (#34770)
* chore: comiple use matrix

* chore: 16 deps

* chore: not install 16

* chore: update

* chore: to 16

* chore: install 16

* chore: install 16

* chore: install 16

* chore: install 16

* chore: concurrent

* chore: back all

* chore: fix lines

* chore: cancel if new comes

* chore: single dist speed up

* chore: fix

* chore: fix

* chore: update

* fix: deps
2022-03-29 20:46:37 +08:00
MadCcc
ff02a4e265
docs: replace grid design img (#34771)
* chore: replace grid design img

* fix: code error
2022-03-29 19:46:16 +08:00
MadCcc
2bff96fdd5
feat: Input.Group prevent components from getting style from Form.Item (#34764)
* feat: Input.Group provide isFormInput false

* test: update snapshot

* chore: code clean
2022-03-29 13:49:50 +08:00