Commit Graph

24618 Commits

Author SHA1 Message Date
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
MadCcc
40abef340a
fix: update DatePicker style (#40768) 2023-02-17 12:04:35 +08:00
JiaQi
12a734adac
fix(Radio): Handle nesting correctly (#40741) 2023-02-17 10:23:34 +08:00
JiaQi
0aac2f0a05
docs: fix oceanbase link 404 (#40765) 2023-02-17 09:18:23 +08:00
muxin
03ef8225cf
docs: add description of maxTagTextLength api (#40757)
close 40755
2023-02-16 19:20:23 +08:00
红果汁
c4f83649ae
fix: add Tour french locale (#40750) 2023-02-16 12:17:55 +08:00
二货爱吃白萝卜
d2ab2722b4
docs: Tooltip align blog (#40746)
* docs: prepare

* docs: blog about align
2023-02-16 10:27:40 +08:00
slotDumpling
6234509d18
fix: active skeleton safari problem (#40692) 2023-02-15 16:52:48 +08:00
JiaQi
910d0fc340
fix: inconsistency between checkbox and radio in table when Form is disabled (#40728) 2023-02-15 13:21:53 +08:00
afc163
41d9efd29f
test: update jest cli options (#40725)
* test: update jest cli options

* Apply suggestions from code review
2023-02-15 11:03:05 +08:00
Wade
213efa2cf1
demo: lose input focus when add new tag in animation demo (#40722)
Co-authored-by: wen-wei-feng <wen-wei.feng@hp.com>
2023-02-14 17:43:53 +08:00
lijianan
4c6f7c12ee
docs: update migration-v5 (#40709)
* update migration-v5

* update docs

* update docs

* update docs
2023-02-14 14:33:33 +08:00