Commit Graph

1795 Commits

Author SHA1 Message Date
GUAN MING
2aa80491b1
docs: modify the doc of Form.Item messageVariables (#41959) 2023-04-24 10:16:19 +08:00
afc163
107a28fa94
demo: fix Deprecated usage in form demo (#41860)
* demo: fix Deprecated usage in form demo

* test: update snapshot

* test: update snapshot
2023-04-19 11:56:15 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
二货爱吃白萝卜
099b0fc52a
docs: adjust form diabled demo (#41839) 2023-04-17 14:33:11 +08:00
二货爱吃白萝卜
e2606d477d
fix: form item support comment (#41771)
* fix: form item support comment

* chore: clean up

* fix: lint
2023-04-12 16:15:04 +08:00
黑雨
41ed9bd430
feat: Button semantic dom (#41456)
* feat: add semantic doc

* 🔀 feat: rebase feature

* feat: update for code reviewer

* feat: update snap

* feat: update snap

* 🐛 bug: update for cov

* Message

* bug: update snap

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* ♻️ feat: ref code

* 🩺 feat: update for review

* 💄 style: update style

* 📝 doc: update doc

* 💄  style: update style

* 💄  style: update style

* 💄 style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 📸 feat:update snap

* 🚧 feat: clean up

* 🚧 feat: clean up

* feat: icon wrapper

* test: update snapshot

* chore: code clean

* fix: icon only font size

* chore: rollback unexpected commit

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
黑雨
cef58664e8
📝doc: add design token table (#41717)
* feat: add token

* 📝doc: update lint

* 📝doc: update doc
2023-04-11 10:25:24 +08:00
Wuxh
32f8134f4f
feat: improve noStyle validation message display logic (#41698)
* test: add case

* feat: improve `noStyle` validation message display logic

When `noStyle=true` and `help=false`, the error message is blocked from being passed up

* test: update test case

* Revert "test: update test case"

This reverts commit a3e5d84ea620becb9e72b6b71766c01114add9ae.

* chore(type): update typo

* Revert "chore(type): update typo"

This reverts commit e13ec3ba5267394e8112fb742ec9bc9d4afdef5b.

* test(deps): DO NOT MERGE

* test: DO NOT MERGE

* Revert "test: DO NOT MERGE"

This reverts commit 2f4ea8e0ce64f88ab690c6e54b86034a92bcb55f.

* Revert "test(deps): DO NOT MERGE"

This reverts commit 48e700ef4aaa4675f29d3fbd23156bd8f692949e.
2023-04-10 12:03:11 +08:00
Wuxh
0e65dad8e9
chore: Form.Item should not support requiredMark (#41725)
* test: add case

* chore: Form.Item does not support requiredMark
2023-04-10 12:02:06 +08:00
Wxh16144
ef8b824ef1
chore: improve Form.Item on Require judgment logic (#41623)
* test: add case

* chore: improve `Form.Item` on Require judgment logic
2023-04-04 15:23:43 +08:00
JiaQi
f414abc96d
fix(Form): Feedback does not automatically deduce the correct state (#41594)
* fix(form): Feedback does not automatically deduce the correct state

* rerunning
2023-04-02 17:53:29 +08:00
afc163
468f806e03 Merge branch 'feature' into master-merge-feature 2023-04-01 21:17:17 +08:00
JiaQi
6e29fdd319
Fix Form.Item not rendering correctly in Modal when it has help (#40519)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-03-31 14:27:55 +08:00
JiaQi
b73b37eee9
feat(Form.Item): useStatus supports get error messages and warning messages (#41554)
* feat: useStatus supports get error messages

* feat: useStatus supports get warning messages

* chore: update example

* chore: add test case
2023-03-31 11:42:34 +08:00
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
栗嘉男
de2dde6613 Merge branch master into master-merge-feature 2023-03-28 22:01:23 +08:00
MadCcc
06035500d5
refactor: textarea showCount in suffix (#41450)
* refactor: textarea showCount in suffix

* test: update snapshot

* test: update

* chore: update rc-input
2023-03-27 10:33:52 +08:00
kiner-tang(文辉)
bf8a36be8f
fix(form): resolve the problem of validation states changing out of sequence (#41412)
* fix: reolve FormItem's validate status trigger unexpected issue

* feat: add test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: format code

* git

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: react version

* style: format code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code
2023-03-23 16:40:53 +08:00
breeze
6a2cad277e
fix: fixed Form component layout exceptions when set props layout="inline" (#41140)
* fix: 修复form组件在行内布局下展示异常

* fix: 修复form组件在行内布局下展示异常

---------

Co-authored-by: 丁奎 <dingkui02@meituan.com>
2023-03-23 11:36:21 +08:00
lijianan
f6c235462e
chore: Remove locale-provider (#41289)
* chore: rm locale-receiver

* chore: export useLocale in locale

* chore: comment

* chore: rm locale-provider dir

* docs: rm locale-provider in migration document

* chore: fix regexp

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
github-actions[bot]
de28d09854
chore: auto merge branches (#41292)
chore: merge feature into master
2023-03-16 18:27:38 +00:00
野迂迂
844905774a
docs: improve FieldData type on Form (#41278) 2023-03-16 20:15:00 +08:00
Rex Zeng
d6683d5503
docs(form): add docs for useForm preserve (#41210) 2023-03-15 17:17:51 +08:00
二货机器人
d90b475a86 test: update snapshot 2023-03-15 14:42:24 +08:00
二货机器人
7c2bca223e Merge branch 'master' into feature-merge-master 2023-03-15 11:12:57 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test (#41242)
* test: update snapshot

* test: use render

* test: fix skip

* test: fix skip
2023-03-15 00:08:31 +08:00
github-actions[bot]
c4ccb021c3
chore: auto merge branches (#41168)
chore: merge master into feature
2023-03-10 13:03:42 +00:00
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 (#41109)
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1

Bumps [glob](https://github.com/isaacs/node-glob) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1)

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

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

* fix: update api

* fix

* fix

* fix path

* fix path

* update snap

* update snap

* update snap

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
kiner-tang(文辉)
c3f8424c98
fix(form): success feedback should display when pass hasFeedback prop and current value is valid value (#41116)
* fix: success feedback should display when pass hasFeedback prop and type valid value

* feat: optimize code

* feat: update test case

* feat: optimize code

* feat: optimize code

* feat: update demo

* feat: update test case

* feat: update demo

* feat: update test case

* feat: reset demo
2023-03-09 21:28:54 +08:00
github-actions[bot]
4c24374532
chore: auto merge branches (#41119)
chore: merge matser into feature
2023-03-08 07:26:05 +00:00
二货爱吃白萝卜
dcbf0d7b5c
refactor: picker trigger version (#41090)
* refactor: picker version

* chore: update deps

* chore: bump trigger version

* test: update snapshot

* chore: fix missing deps

* test: update snapshot

* update snap

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-08 14:24:53 +08:00
MadCcc
6f82f41d5c
refactor: checkbox (#41117)
* refactor: checkbox

* type: export CheckboxRef

* type: fix
2023-03-08 11:54:40 +08:00
二货爱吃白萝卜
6c32399bd4
chore: Select like component always showArrow (#41028)
* chore: always showArrow

* test: update snapshot

* fix: autoComplete arrow logic

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-03-05 23:29:03 +08:00
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version (#41013)
* chore: bump select tree-select cascader version

* chore: adjust align prepare style

* chore: bump trigger version

* test: update snapshot
2023-03-02 22:09:02 +08:00
栗嘉男
745015ef09 resovl CONFLICT 2023-03-02 00:48:00 +08:00
plainnany
059042b2cd
fix(Form): typo in md (#40991)
Co-authored-by: munan <munan@tsign.cn>
2023-03-01 17:48:36 +08:00
zahgboat
849dd97456
fix(form): fix useFormItemStatus get access to window error when sever-side-rendering (#40977)
* fix(form): fix `useFormItemStatus` get access to window error when sever-side-rendering

* fix(form): use official doc in `useFormItemStatus`

fix(form): replace the string literal by official doc in `useFormItemStatus` warning message.

* fix(form): use official doc in  warning

- Remove unnecessary client check
- Use official i18n doc href.
2023-03-01 11:52:37 +08:00
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
lijianan
412fe13d0c
refactoring: rewrite useLocale return value (#40884)
* refactoring: rewrite useLocale return

* rename

* revert name
2023-02-24 10:51:59 +08:00
栗嘉男
cd9ad445ea chore: merge master into feature 2023-02-23 15:05:18 +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
github-actions[bot]
da441ae35f
chore: auto merge branches (#40808)
chore: feature merge master
2023-02-20 03:18:59 +00: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
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
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift (#40632)
* chore: adjust doc

* chore: simplify arrow offset

* chore: auto adjust shift

* docs: adjust demo

* chore: update snapshot

* chore: provide ref

* test: prepare

* chore: update deps

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: update snapshot

* fix: missing pure render

* fix: Popover pure panel

* test: update snapshot

* test: update tour snapshot

* chore: bump trigger ver

* test: fix render ssr logic

* test: skip unnecessary case

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: fix test case

* chore: clean up useless warning

* test: add check for placement

* chore: ignore default
2023-02-15 10:21:28 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName (#40217)
* chore: init test

* test: rootClassName inject

* test: part of test

* chore: patch qrcode rootCls

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* test: more test

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: fix lint

* chore: fix lint

* chore: ignore part of lint

* test: update snapshot

* test: fix test case

* chore: fix node test

* chore: adjust render logic

* fix: test

* test: update snapshot

* test: update

* refactor

* chore: fix require module logic
2023-01-20 11:03:50 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
lijianan
b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00
lijianan
199c72a212
chore: adjust parameter order (#40252) 2023-01-16 16:44:45 +08:00
github-actions[bot]
ede5121d5f
chore: auto merge branches (#40244)
chore: feature merge master
2023-01-16 03:37:15 +00:00
lijianan
28d1157d6b
type: optimization undefined type (#40241)
* type: optimization undefined type

* fix type

* fix type

* add

* revert

* revert

* revert
2023-01-16 09:55:52 +08:00
二货爱吃白萝卜
92203acc33
Merge pull request #40195 from ant-design/master
chore: feature merge master
2023-01-13 00:01:15 +08:00
JarvisArt
c55180341e
demo: form advanced-search beautification style (#40180) 2023-01-12 10:15:40 +08:00
MadCcc
642bb582eb
refactor: TextArea (#40045)
* refactor: TextArea

* chore: update snapshot

* chore: update snapshot

* chore: fix lint

* chore: classes

* refactor: mentions

* chore: bump rc-textarea

* chore: code clean

* chore: code clean

* chore: UPDATE SNAPSHOT

* chore: code clean

* test: cov

* fix: textarea size
2023-01-11 14:18:13 +08:00
JarvisArt
6129ea1216
demo: form global-state demo supports dark mode (#40143)
* chore: form global-state demo supports dark mode

* test: update snapshot
2023-01-11 10:40:35 +08:00
github-actions[bot]
73d0a9bc30
chore: auto merge branches (#40086)
chore: feature merge master
2023-01-08 04:41:22 +00:00
lijianan
80498afea6
test: refactor test case CC => FC (#40068) 2023-01-06 16:48:44 +08:00
github-actions[bot]
e847dddd9e
chore: auto merge branches (#40005)
chore: feature merge master
2023-01-04 10:26:20 +00:00
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError (#39509)
* feat(ConfigProvider): add form scrollToFirstError

* modify

* format code

* 修改 md

* 解决文件名大小写问题

* 解决文件名大小写问题
2023-01-03 09:56:47 +08:00
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> (#39950)
* chore: use React.useContext() replace <Context.Provider />

* fix

* fix

* fix

* fix

* fix
2023-01-01 21:17:05 +08:00
lijianan
3ed7ec906e chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-31 22:24:55 +08:00
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
MadCcc
386588dd2b
chore: update test (#39824)
* chore: update test

* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
663d1454f2
chore: fix ci (#39811)
* chore: fix ci

* chore: code clean

* chore: update form test

* chore: test
2022-12-26 15:48:50 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
MadCcc
bd15aaedd6 Merge branch 'master' into feature-merge-master 2022-12-18 14:28:58 +08:00
二货爱吃白萝卜
b04b759597
docs: Add Form prefix demo (#39580)
* docs: Add prefix demo

* test: update snapshot
2022-12-15 16:01:52 +08:00
Amumu
ca5b9a6ae0
docs: CN it. (#39519) 2022-12-13 15:49:05 +08:00
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf (#39478)
* type: remove tuple

* type: remove tuple

* type: remove tuple

* fix

* fix

* fix type

* fix type

* fix type

* fix type

* fix type

* Update ColorPicker.tsx

* Update components/badge/utils.tsx

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

* fix type

* fix type

* fix type

* fix

* fix

* fix type

* fix type

* fix type

* update snap

* update snap

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-13 14:57:40 +08:00
Amumu
d689c7b855
feat: Remove locale-provider (#39373)
* feat: remove locale-provider

* chore: fix lint

* Empty-Commit

* test: remove test

* Revert "test: remove test"

This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.

* chore: 阶段性兼容

* fix lint

* fix: fix lint

* fix: add index

* docs: update docs

* docs: update

* docs: update

* docs: update
2022-12-09 15:04:08 +08:00
renovate[bot]
a2305aa291
chore(deps): update dependency scroll-into-view-if-needed to v3 (#39230)
* chore(deps): update dependency scroll-into-view-if-needed to v3

* fix: ts error

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-12-07 13:56:18 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage (#39314)
* feat: replace useContext to React.useContext

* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs (#39290)
* docs: remove v3 to v4 migration docs

* update

Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
afc163
e975e5d41d
chore: update tree snapshot (#39242)
* chore: update tree snapshot

* chore: bump rc-util

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-05 11:35:37 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component (#39060) 2022-12-01 14:33:51 +08:00
二货爱吃白萝卜
134647d12f
fix: form responsive logic (#39130) 2022-12-01 10:37:52 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
二货爱吃白萝卜
50377083ba
fix: form missing motion validate (#38962)
* fix: form missing motion validate

* test: Update snapshot
2022-11-24 21:43:35 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs (#38902)
* refactor: Optimize theme export and add docs

* chore: fix lint

* chore: fix lint

* chore: fix lint
2022-11-23 20:22:38 +08:00
二货机器人
b9cab0fa2e chore: add FormItemInputContext for v3 compatible usage 2022-11-22 11:40:17 +08:00
Sonu Sharma
7728eec447
docs: spelling and grammar fix (#38743) 2022-11-19 22:56:58 +08:00
二货爱吃白萝卜
c511557e76
fix: style parse error (#38742) 2022-11-19 21:49:11 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
lijianan
c39e1223f8
chore: type optimization (#38698)
* chore: type optimization

* fix: rename direction

* Update index.tsx
2022-11-18 23:11:03 +08:00
afc163
ac143ffb4d
docs: fix component demo column number (#38631)
* docs: fix component demo column number

* test: skip test case
2022-11-17 18:28:13 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
MadCcc
ab4bcc4463 Merge branch 'master' into next-merge-master 2022-11-17 14:04:31 +08:00
Wuxh
4bc23b3ca6
chore: fix the wrong link address (#38543)
* chore: fix the wrong link address

repo: https://github.com/ant-design/u.ant.design

* Revert "chore: fix the wrong link address"

This reverts commit 63e50f426a8d8b9128a7f8fd86fde9415c661f30.

* one more time
2022-11-14 16:32:34 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with name (#38038)
* Clarify error about children of Form.Item with `name`

This is a common error and the message as written was not very clear.

This should be more helpful pointing people in the right direction

* Update error message in test

* Clarify more error messages

Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.

* Update tests for new error messages

Also improve the test names for some

* Further test message updates

Missed a couple messages

* Add short URLs

* Update test error messages

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-07 17:32:58 +08:00
二货爱吃白萝卜
4a1622cd66
docs: unique id (#38422)
* docs: unique id

* test: Update snapshot
2022-11-07 16:45:16 +08:00
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +08:00
MadCcc
9f88c1238a
feat: token update (#38314)
* feat: token update

* chore: update test

* chore: lint

* chore: code clean

* test: update test case

* feat: radius token update

* fix: form size

* chore: fix steps style

* chore: code clean

* chore: update test case
2022-11-01 15:06:38 +08:00
二货爱吃白萝卜
ea2d5b4482
test: trigger form test (#38305) 2022-10-31 21:23:59 +08:00
afc163
59b97b98bf Merge branch 'master' into master-merge-feature 2022-10-30 16:15:08 +08:00
afc163
9893efeb51
test: fix form test case (#38276) 2022-10-30 15:20:39 +08:00
二货爱吃白萝卜
752d671acb
feat: DatePicker support presets (#38249)
* chore: basic style

* chore: all of token spread

* chore: default presets style

* docs: update presets

* chore: fix style

* chore: fix ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* test: update snapshot

* chore: bump bundle size

* test: update snapshot

* chore: update picker style

* chore: rm useless content
2022-10-28 16:44:19 +08:00
MadCcc
242b1713f5 Merge branch 'master' into next-merge-master 2022-10-26 14:56:44 +08:00