Wuxh
b82710fe9e
fix: fix ConfigProvider
form validation message order ( #40533 )
...
* test: add case
* fix: fix the default format error of form check message
* docs: update docs
* fix
* chore: remove redundancy logic
* perf: add validateMessage memorization
* chore: update useMemo
* Update components/form/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update docs
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-02-24 18:22:48 +08:00
Martijn
947f86f178
type: Add placement to NotificationConfig ( #40908 )
...
* Add placement to NotificationConfig
* Update useNotification.tsx
---------
Co-authored-by: Martijn Dormans <martijn.dormans@whyellow.nl>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-02-24 18:13:49 +08:00
Rafael Martins
14dd2cdcdb
fix: confirm modal firing onOk event twice ( #40719 )
...
* fix: confirm modal firing onOk event twice (#40272 )
* fix: use loading state instead using disabled
* test: update test to use mock timer
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-24 16:59:57 +08:00
lijianan
ed94e03705
docs: update docs ( #40902 )
2023-02-24 14:19:40 +08:00
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
...
* refactoring: rewrite useLocale return
* rename
* revert name
2023-02-24 10:51:59 +08:00
lyn
433a73c53b
fix: typos ( #40899 )
2023-02-24 09:04:03 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
6b552d53f6
fix: Segmented item pseudo should not block mouse event ( #40894 )
2023-02-23 17:26:02 +08:00
Majid Sadr
01a6da37a9
Add missing translations for fa_IR ( #40895 )
2023-02-23 17:15:24 +08:00
susuhhhhhh
a89d0f4861
type: optimize type ( #40892 )
2023-02-23 16:38:06 +08:00
Amumu
ea6acbc592
chore: stylelint plugin upgrade ( #40883 )
2023-02-23 12:01:25 +08:00
lijianan
be25ee2a0b
test: simplify rtlTest test case ( #40878 )
2023-02-22 19:49:06 +08:00
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
...
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
2023-02-22 18:18:26 +08:00
红果汁
5459bf65b5
fix: getPopupContainer not work inject by ConfigProvider ( #40781 ) ( #40871 )
...
* fix: getPopupContainer not work inject by ConfigProvider (#40781 )
* test: remove snapshot
* test: fix snapshots
2023-02-22 17:22:50 +08:00
Yurii Brusentsov
40a7e7a142
fix(Descriptions): pass all props to the Descriptions container ( #40859 )
2023-02-22 16:17:21 +08:00
lijianan
f9a38af179
chore: rename internal Affix ( #40838 )
2023-02-22 10:42:25 +08:00
lijianan
bce4245d4f
type: fix type cannot jump ( #40864 )
2023-02-22 10:41:43 +08:00
lijianan
8d09425e2d
type: fix notification type cannot jump ( #40853 )
...
* type: fix type
* rename
* rename
2023-02-22 10:41:06 +08:00
黑雨
b241900428
fix: fix 'span' to 'li' ( #40867 )
2023-02-22 10:40:08 +08:00
lijianan
f97984e507
docs: add blog ( #40851 )
...
* docs: add blog
* docs: trans of it
* docs: update
* update demo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-22 10:39:36 +08:00
MadCcc
b9a1e08ba4
fix: focus outline width ( #40839 )
2023-02-22 10:34:51 +08:00
kiner-tang(文辉)
16e90b2301
fix: optimize badge preset color code & fix color display unexpected ( #40848 )
2023-02-21 18:22:49 +08:00
Wuxh
9f64386d0b
chore: update pr-template ( #40850 )
...
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
2023-02-21 18:19:44 +08:00
linercoder
1fdd45ef10
doc: replace the printed value ( #40847 )
...
Co-authored-by: linercoder <linjunjie@realibox.com>
2023-02-21 17:59:18 +08:00
JiaQi
7043cadab0
fix(TimeLine): Fixed the Timeline item className error ( #40835 )
2023-02-21 12:09:01 +08:00
linxianxi
6c49fc9422
demo: fix upload drag can not preview ( #40837 )
2023-02-21 11:13:00 +08:00
JiaQi
f76e5bb954
style(rate): fix the rate interaction style under disabled ( #40836 )
2023-02-21 10:25:46 +08:00
Joel Alan
9fa24c231d
docs: charts 介绍文档更新 ( #40815 )
...
* docs: charts 介绍文档更新
* docs: 删除重复文档
2023-02-20 13:07:33 +08:00
afc163
0bfdff2086
site: Improve code formatting in Previewer component ( #40813 )
...
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file
[.dumi/theme/builtins/Previewer/index.tsx]
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file
- Remove the unnecessary whitespace in the index.js file
2023-02-20 11:20:37 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab ( #40745 )
...
* docs: DatePicker design tab
* docs: add design demo
* docs: add anchor for design demo
* docs: init g6
* docs: behavior map
* test: fix test cov
* docs: behavior map comp
* docs: add map title
* docs: fix ssr
* docs: update demo
* docs: optimize copy ux
* docs: update demo
* chore: code clean
2023-02-20 10:51:18 +08:00
lijianan
33275b6e80
demo: fixed the avatars are all the same picture ( #40809 )
...
* demo: update demo
* update snap
* update snap
* update snap
2023-02-20 10:24:40 +08:00
afc163
3e5058c8c3
Delete codeql.yml
2023-02-20 10:10:17 +08:00
afc163
8e93ae76d0
docs: changelog for 5.2.2 ( #40807 )
2023-02-19 22:43:04 +08:00
afc163
c32e5e38ef
style: fix List item padding when enable grid
( #40806 )
...
- Reduce the horizontal padding of list items from `${token.paddingContentHorizontalLG}px` to `0`
[components/list/style/index.ts]
- Reduce the horizontal padding of list items from `${token.paddingContentHorizontalLG}px` to `0`
2023-02-19 21:43:23 +08:00
afc163
3b2cd725cb
style: fix Upload picture card style alignment ( #40805 )
...
- Align SVG elements in the picture card style
- Update components/upload/style/picture.ts
[components/upload/style/picture.ts]
- Add vertical alignment for SVG elements in the picture card style
2023-02-19 21:40:05 +08:00
JiaQi
e142e2436d
style(DatePicker): fix hover style error when checked again ( #40785 )
2023-02-19 21:27:46 +08:00
afc163
9b25304c29
style: fix Table dropdown radius style ( #40802 )
2023-02-19 20:35:36 +08:00
Lukáš Licek
6fa4c2e59f
demo: Example checkbox does not disable Form ( #40740 )
...
* fix: Example checkbox does not disable Form
In this demo, the example checkbox disables the form, which should be the functionality of the "Form disabled" checkbox and only that one.
* Update disabled.tsx
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-02-19 16:59:20 +08:00
Jungzl
76dc87f1c3
fix: adjust onBackground outputs to support semi-transparent colors ( #40729 )
...
* chore(deps): bump @ctrl/tinycolor from 3.4.0 to 3.6.0
* fix: adjust onBackground outputs to support semi-transparent colors
2023-02-19 16:24:20 +08:00
renovate[bot]
f8c511045d
chore(deps): update cimg/node docker tag to v16.19.1 ( #40796 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-19 15:47:18 +08:00
renovate[bot]
d39aa653ec
chore(deps): update dependency @testing-library/react to v14 ( #40797 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-19 15:24:46 +08:00
Ritesh Makan
54d3a738f6
demo: Fix broken avatars ( #40793 )
...
* Update links from https://joeschmoe.io to https://joesch.moe
* updated snapshots
2023-02-19 14:20:01 +08:00
二货爱吃白萝卜
5dfce54437
ci: use node 16 ( #40800 )
...
* chore: use node 16
* chore: all lock ver
* chore: size-limit
* chore: mv clean up logic into master
2023-02-19 13:56:20 +08:00
红果汁
0a24676845
fix: use loading delay not delay at first time ( #40751 ) ( #40759 )
...
* fix: use loading delay not delay at first time
* perf: test code
* refactor: optimization code
* fix: lint problem
* refactor: prefer code
* refactor: prefer code
* refactor: prefer code
2023-02-19 12:48:28 +08:00
dependabot[bot]
66e2b146dd
chore(deps-dev): bump @testing-library/dom from 8.20.0 to 9.0.0 ( #40780 )
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.20.0 to 9.0.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.20.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/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>
2023-02-17 23:15:30 +08:00
Simon He
12a6f7182d
chore: add lint cache ( #40369 )
2023-02-17 22:12:19 +08:00
lijianan
de82a15b22
type: simplify getPlacement return type ( #40775 )
2023-02-17 22:11:06 +08:00
shitian9
51200e7732
demo: fix lazy.tsx type ( #40778 )
...
Demo 有问题,会在 VSCode中 引用 `loadData`、`onChange` 时 会报错
2023-02-17 22:10:23 +08:00
lijianan
5199344d09
docs: fix unsupported syntax ( #40779 )
2023-02-17 18:27:35 +08:00
carla-cn
fd2db7614f
fix: diabled Input abbdon should not have status style ( #40744 )
...
Co-authored-by: zhouling <zhouling@kezaihui.com>
2023-02-17 15:45:29 +08:00