Commit Graph

267 Commits

Author SHA1 Message Date
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +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
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
zombiej
4f2b53ad26 docs: fix alert docs escape 2022-03-15 14:21:36 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#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
2021-12-23 11:51:10 +08:00
xrkffgg
499ee6c691
test: fix Alert test (#33167)
* text: fix Alert test

* test: style

* test: up snap

* test: up
2021-12-06 11:39:37 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
元凛
97fd6d5b03 Revert "test: fix test error"
This reverts commit 3881e5d787.
2021-12-05 14:25:10 +08:00
xrkffgg
3881e5d787
test: fix test error 2021-12-05 11:49:08 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343, the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
2021-12-02 13:43:24 +01:00
Austaras
d1f87ccc80
feat: input number support prefix (#32600) 2021-10-30 22:25:12 +08:00
github-actions[bot]
ce8454f369
chore: auto merge branchs (#32562)
chore: sync master into feature
2021-10-19 12:02:26 +00:00
afc163
21d6d10af6
docs: improve alert loop demo (#32488)
* docs: improve alert loop demo

- react-text-loop => react-text-loop-next
- adding demo of react-fast-marquee

* update snapshot
2021-10-14 15:48:33 +08:00
afc163
be064df13b
Merge pull request #32472 from ant-design/master
chore: sync master into feature
2021-10-13 19:17:48 +08:00
chen-jingjie
1ca290eb27
feat(Alert): Custom closeIcon (#32345)
Co-authored-by: chenjingjie <chenjingjie@coding.net>
2021-10-13 18:58:30 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 (#32444)
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.7.0 to 25.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.7.0...v25.0.1)

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

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

* chore: fix eslint errors and warnings

* fix rc-slider version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 13:14:26 +08:00
xrkffgg
094f9d6bd9
style: optimized Alert close icon show in rtl (#32286) 2021-09-24 17:19:58 +08:00
afc163
0f47b50df0
fix: Alert message could be nullable (#32057)
* fix: Alert message could be nullable

close #32047

* update snapshot
2021-09-07 13:07:41 +08:00
James Yeung
2d3c3a18e0
docs(alert): The title is reversed (#29692) 2021-03-10 13:27:49 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check (#28389)
* chore: Add demo tsx check

* chore: Prettier

* chore: Fix lint

* fix: Upload ts definition

* chore: Demo onlt

* docs: Fix demo

* chore: Add CI action

* chore: Use real name

* chore: fix ts define

* chore: fix more ts

* chore: fix more ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: Update all rest TS demo

* fix test case
2020-12-17 15:09:18 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue (#28346)
* fix: Fixed columns z-index issue

* fix lint
2020-12-14 16:04:23 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

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

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api (#28264) 2020-12-09 09:54:44 +08:00
jesse
e097830a23
style: Alert rtl (#28108)
* style: Alert rtl

* update

* icon space

* update

* update

* fix
2020-12-06 20:45:49 +08:00
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 (#27268)
#26136
2020-12-01 18:28:35 +08:00
偏右
33b96d3461
perf(📦): reduce alert css size (#28067) 2020-11-30 13:07:38 +08:00
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout (#25892)
* feat: Add action in Alert and replace with flexbox layout

* update

* update test

* doc

* Revert "update"

This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.

* Update index.less

* Update index.less

* update test

* Update index.test.tsx.snap

* @alert-closable-padding-right

* Update index.less

* correct top of icon

* correct top of close icon

* fix @alert-closable-padding-right

* update

* doc

* Update components/alert/demo/action.md

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

* Remove duplicate css

* Simplify styles of close-icon

* font size of close icon

* update test

* update test

* Remove unused less var

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 11:04:56 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
xrkffgg
a3b05577a9
perf: reduce css (#27670) 2020-11-10 11:16:27 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
07akioni
cec7744b2c
refactor: Alert use CSSMotion (#26115)
* refactor: Alert use CSSMotion

* chore

* test: remove afterClose case
2020-08-11 17:04:42 +08:00
偏右
436465bd8a
fix: ⌨️ improve Accessibility by adding role (#25774)
for Alert/message/notification
2020-07-23 15:00:14 +08:00
Yunfly
dd8e9f8568
fix: alert close optimization (#24460) (#24460)
Co-authored-by: Yunfly <qinfy@knownsec.com>
2020-07-10 17:26:39 +08:00
xrkffgg
674ee73a2f
docs: format api alert/drawer/modal (#25387) 2020-07-02 14:55:12 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
xrkffgg
9e96b9e2d5
fix: alert close padding (#24471)
* fix: alert close padding

* add compact

* fix var
2020-05-27 10:29:04 +08:00
Eric Wang
8b9a005c1f
chore: use ts-expect-error (#24378) 2020-05-22 10:42:55 +08:00
Tom Xu
706f0bbf56
refactor(alert): rewrite with hook and support strict mode (#24236)
* refactor(alert): rewrite with hook and support strict mode

* Update index.tsx

* improve code
2020-05-19 20:18:13 +08:00
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook (#23699)
* refactor(tooltip): rewrite with hook

* fix lint

* fix

* fix test

* fix

* fix test

* refactor(tooltip): rewrite with hook

* fix lint

* fix test

* Update SliderTooltip.tsx

* Update tooltip.test.js

* Update index.test.js
2020-05-15 10:47:03 +08:00