Commit Graph

1339 Commits

Author SHA1 Message Date
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState (#37875) 2022-10-07 11:39:16 +08:00
Zheeeng
ea9b013bb1
refactor(locale): refine signature (#37824)
* chore: prefer using @internal annotation over other markups

* fix: typo

* fix: locale types
2022-10-01 22:17:14 +08:00
afc163
0e2c9031cd
docs: fix antd site in mobile device (#37819)
* chore: fix prev and next navigation

* docs: fix mobile site

* chore: fix lint

* chore: remove rc-drawer css
2022-09-30 16:54:51 +08:00
lijianan
480cb3cbc3
fix: remove defaultProps (#37815)
* fix: remove defaultProps

* fix: remove defaultProps

* fix: update snap

* fix: fix

* fix: fix
2022-09-30 15:58:34 +08:00
afc163
18aca39b9b
docs: fix demo code tsx copy (#37789) 2022-09-29 15:13:32 +08:00
Zheeeng
06e0ae53b8
chore: remove unnecessary type assertsion (#37762) 2022-09-27 21:51:11 +08:00
Zheeeng
844c066d8e
fix: refine type (#37763) 2022-09-27 21:50:35 +08:00
MadCcc
45585b9478
docs: remove react17 demo (#37641)
* docs: remove react17 demo

* test: fix lint
2022-09-20 10:15:57 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open (#37420) 2022-09-06 14:03:39 +08:00
lijianan
c34caad24c
test: js => ts (#37392)
* test: js => ts

* test: add test

* fix: fix eslint error

* test: add test case

* fix: fix test error

* fix: fix eslint error

* fix: fix eslint error

* fix: eslint error fix

* fix: fallback eslint config & add test case

* test: add all test case

* fix: bugfix

* fix: bugFix

* fix: bugFix

* fix: bugFix

* fix: lint

* fix: add React.createRef

* fix: add breadcrumbName in Routes

* fix: any commit for restart ci/cd

* fix: remove type

* fix: test fix

* fix: test fix

* fix: add ts-ignore for id

* test: add Icon test case

* test: remove ts-ignore

* test: add Icon test case
2022-09-05 19:41:32 +08:00
yykoypj
6b658dab76
feat: switch visible to open for Tooltip (#37241)
* feat: switch visible to open for Tooltip & Popover & Popconfirm

* fix lint

* fix: merge state

* chore: Update ts part

* test: add legacy test

* test: fix test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-26 17:17:13 +08:00
二货机器人
9b99c815fa Merge branch 'master' into feature-merge-master 2022-08-24 15:46:36 +08:00
二货爱吃白萝卜
c56596ee9b
docs: Adjust res page style (#37210)
* docs: Adjust res page style

* chore: update check logic
2022-08-24 15:45:00 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal (#37084)
* feat: switch visible to open for Modal

* test: depcated check

* docs: site api update

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
二货机器人
bf8a7ace41 Merge remote-tracking branch 'origin/master' into feature 2022-08-18 10:57:17 +08:00
afc163
4a826bb25f
chore: fix rtl cannot revert in Safari (#37052)
close #37035
2022-08-15 15:25:18 +08:00
afc163
9230196cf0 Merge branch 'feature' into master-merge-feature 2022-08-10 17:18:29 +08:00
MadCcc
74d76038ad
chore: fix riddle demo (#36965) 2022-08-09 15:19:55 +08:00
github-actions[bot]
3115657010
chore: auto merge branches (#36944)
chore: feature merge master
2022-08-08 07:17:41 +00:00
lijianan
73e541911b
refactor: use typescript refactor javascript (#36907)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint
2022-08-05 13:45:46 +08:00
github-actions[bot]
2fc754eeaf
chore: auto merge branches (#36906)
chore: feature merge master
2022-08-05 04:52:57 +00:00
二货爱吃白萝卜
628968f460
feat: Tabs support items (#36889)
* refactor: Using items

* docs: replace with items

* docs: deprecated demo

* test: Update snapshot

* docs: simple basic demo

* test: coverage
2022-08-05 10:49:08 +08:00
lijianan
212802bc09
pref: add useCallback/useMemo (#36877)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo
2022-08-05 10:22:55 +08:00
lijianan
a9f0123966
refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent (#36876)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting
2022-08-04 10:04:37 +08:00
lijianan
4fc00ececb
fix: strong type (#36868)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type
2022-08-03 15:42:25 +08:00
lijianan
01087b2571
refactor: rewrite header and footer by FunctionComponent (#36851)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent
2022-08-03 11:19:53 +08:00
Ryan Cavanaugh
726dd859a8
Fix breaks (#36186)
* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value
2022-06-23 10:39:05 +08:00
MadCcc
764069b202
docs: update demo code (#35695)
* docs: update demo code

* chore: increase bundle size

* Revert "chore: increase bundle size"

This reverts commit 1c75e5ab5a85259f4d610e33009072e3e9c9acd4.
2022-05-24 22:53:17 +08:00
afc163
b4ae9202ed chore: fix LGTM 2022-05-11 13:52:34 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
b5699cc735
chore: optimze LGTM (#35443)
* chore: optimze LGTM

* chore: type
2022-05-09 20:48:12 +08:00
MadCcc
c897728eb8
docs: update demo template (#35440) 2022-05-09 16:23:07 +08:00
MadCcc
11e2ce6c01
docs: update mirror link (#35424)
* docs: update mirror link

* feat: add modal

* feat: add icon

* chore: code clean

* feat: text

* fix: cancel btn
2022-05-07 22:37:50 +08:00
afc163
9a59018580 chore: change menu icon in site 2022-05-07 17:39:51 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
afc163
206e6dd138 docs: reverse React 18 demo 2022-05-05 16:40:49 +08:00
afc163
cf993989bc
site: tweak theme button margin of site footer (#35192) 2022-04-23 21:23:23 +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
二货机器人
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
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
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() (#34498)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-15 10:41:12 +08:00
github-actions[bot]
2d194ecd0a
chore: auto merge branchs (#34209)
chore: merge master into feature
2022-02-25 10:52:16 +00:00
李瀚
c2423b50a8
fix: Overview page EditableProTable link error (#34181) 2022-02-24 10:54:57 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +08:00
afc163
eecf0da7e4 chore: fix ts error in site 2022-02-23 17:08:39 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
803be5d121
chore: auto merge branchs (#33764)
chore: merge master into feature
2022-01-19 06:28:19 +00:00
afc163
2ae15a6de2 test: fix lint 2022-01-18 12:11:14 +08:00
afc163
b75bfd071d docs: remove v4 release qrcode 2022-01-18 11:31:07 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center (#33658)
* feat: add pointAtCenter prop for dropdown

* feat: dropdown support arrow pointing at center

* chore: code clean

* chore: use getPlacements in tooltip

* feat: dropdown support 'top' and 'bottom'

* chore: update snapshot

* chore: move placements to util folder

* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated

* test: update snapshot

* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00