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
3 years ago
MadCcc
b5699cc735
chore: optimze LGTM ( #35443 )
* chore: optimze LGTM
* chore: type
3 years ago
MadCcc
c897728eb8
docs: update demo template ( #35440 )
3 years ago
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
3 years ago
afc163
9a59018580
chore: change menu icon in site
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
afc163
206e6dd138
docs: reverse React 18 demo
3 years ago
afc163
cf993989bc
site: tweak theme button margin of site footer ( #35192 )
3 years ago
二货机器人
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
3 years ago
二货机器人
3de8030e10
docs: site wrap with strict mode ( #34895 )
* docs: site wrap with strict mode
* chore: bump bisheng
3 years ago
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
3 years ago
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>
3 years ago
李瀚
c2423b50a8
fix: Overview page EditableProTable link error ( #34181 )
3 years ago
afc163
eecf0da7e4
chore: fix ts error in site
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
afc163
2ae15a6de2
test: fix lint
3 years ago
afc163
b75bfd071d
docs: remove v4 release qrcode
3 years ago
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
3 years ago
陈帅
0eedd0ba7e
docs: add ProComponents cards ( #33647 )
* merge
* merge
* docs: add ProComponents cards
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
b926c535ea
docs: site build script update ( #32984 )
* chore: rm color-less
* refactor: MV theme to variable
* docs: fix header
* chore: clean up
* chore: enable esbuild
3 years ago
afc163
ed08303cd6
chore: fix site in IE11 ( #32868 )
* chore: fix site in IE11
* chore: fix site in IE11
* chore: fix site in IE11
* chore: fix site in IE11
3 years ago
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
3 years ago
X-Jagger
ecc54dda83
fix: codepen demo error using hooks ( #32766 )
3 years ago
afc163
afb271c0b3
chore: improve overview card style
3 years ago
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
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>
3 years ago
叶枫
0d619be27c
feat: 优化 gitee 初始化 ( #32163 )
* feat: gitee
* feat: test
3 years ago
afc163
8cd4c24afc
chore: fix modal demo in small screen
3 years ago
afc163
f51a4ee9b2
chore: improve icon search experience ( #32098 )
* chore: improve icon search experience
close #32097
* chore: search result empty data
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
陈帅
bd236a78a1
chore: add theme color meta ( #31872 )
3 years ago
afc163
aa7888cf4e
chore: remove unused code
3 years ago
Yoki
d2ef1198f5
docs: improve theme switch experience ( #31816 )
* feat: 优化暗色主题模式下刷新白屏且延迟切换的问题,优化主题路由自动切换逻辑
* feat: 添加系统主题color-scheme, 在暗色模式下滚动条等系统控件也变为暗色主题
* feat: remove logic about localstorage theme, query theme from url search
3 years ago
afc163
b071207f01
docs: fix home page buttons
3 years ago
Guojun Wang
5e72746cd6
chore: remove version popover code ( #31718 )
* 【Issue #31685】大版本发布弹窗已废弃
* 【Issue #31685】大版本发布弹窗已废弃,fix ci errors.
* feat: fix ci errors
* feat: fix online bug for version modal
Co-authored-by: wangguojun <wangguojun@didichuxing.com>
3 years ago
afc163
4b837f5959
chore: fix ga event label
3 years ago
afc163
56e3a9337c
chore: fix tsx error
3 years ago
afc163
d230035a19
chore: fix code lint error
3 years ago
afc163
dbfc3ccb5c
docs: remove course link
3 years ago
afc163
bb91bb3abb
chore: new Ant Design logo font family ( #31135 )
* chore: new Ant Design logo font family
* fix stylelint
* update logo
3 years ago
wwwxy
e4b3a7c0f6
fix: website Header SearchBar locale issue ( #31134 )
3 years ago
afc163
efd69d4e1f
docs: use router.push for algolia search ( #31024 )
* docs: use router.push for algolia search
close #30812
ref #30942
* fix tsc error
3 years ago
vagusX
53a44a29f3
fix: reload when press enter in hit items tmp ( #31003 )
3 years ago
afc163
c5dfd61cf5
docs: fix articles empty bug
3 years ago
vagusX
0d619766e0
feat: new algolia SearchBar ( #30942 )
close #30812
3 years ago
vagusX
fb15683529
fix: keep selected theme when searching ( #30977 )
4 years ago
二货机器人
ce1aad03da
docs: Use cdn to speed up ( #30973 )
4 years ago