Commit Graph

891 Commits

Author SHA1 Message Date
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
陈帅
0eedd0ba7e
docs: add ProComponents cards (#33647)
* merge

* merge

* docs: add ProComponents cards

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-01-11 10:51:45 +08:00
zombiej
dd1670a3b4 chore: merge master 2021-11-26 15:19:31 +08:00
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>
2021-11-26 12:18:21 +08:00
二货机器人
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
2021-11-23 18:57:59 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
X-Jagger
ecc54dda83
fix: codepen demo error using hooks (#32766) 2021-11-08 11:04:01 +08:00
afc163
afb271c0b3 chore: improve overview card style 2021-11-01 16:16:23 +08:00
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>
2021-10-22 13:35:36 +08:00
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>
2021-10-15 11:19:14 +08:00
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>
2021-10-13 15:38:59 +08:00
叶枫
0d619be27c
feat: 优化 gitee 初始化 (#32163)
* feat: gitee

* feat: test
2021-09-15 13:35:09 +08:00
afc163
f51a4ee9b2
chore: improve icon search experience (#32098)
* chore: improve icon search experience

close #32097

* chore: search result empty data
2021-09-09 10:58:32 +08:00
二货机器人
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
2021-09-01 10:56:50 +08:00
陈帅
bd236a78a1
chore: add theme color meta (#31872) 2021-08-23 10:46:56 +08:00
Yoki
d2ef1198f5
docs: improve theme switch experience (#31816)
* feat: 优化暗色主题模式下刷新白屏且延迟切换的问题,优化主题路由自动切换逻辑

* feat: 添加系统主题color-scheme, 在暗色模式下滚动条等系统控件也变为暗色主题

* feat: remove logic about localstorage theme, query theme from url search
2021-08-17 13:15:20 +08:00
afc163
b071207f01 docs: fix home page buttons 2021-08-17 11:24:07 +08:00
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>
2021-08-09 12:17:02 +08:00
afc163
4b837f5959 chore: fix ga event label 2021-07-29 08:29:01 +08:00
afc163
56e3a9337c chore: fix tsx error 2021-07-12 18:06:27 +08:00
afc163
d230035a19 chore: fix code lint error 2021-07-12 13:37:43 +08:00
afc163
dbfc3ccb5c docs: remove course link 2021-07-12 13:32:48 +08:00
afc163
bb91bb3abb
chore: new Ant Design logo font family (#31135)
* chore: new Ant Design logo font family

* fix stylelint

* update logo
2021-06-27 12:23:35 +08:00
wwwxy
e4b3a7c0f6
fix: website Header SearchBar locale issue (#31134) 2021-06-25 15:11:23 +08:00
afc163
efd69d4e1f
docs: use router.push for algolia search (#31024)
* docs: use router.push for algolia search

close #30812
ref #30942

* fix tsc error
2021-06-18 10:02:31 +08:00
vagusX
53a44a29f3
fix: reload when press enter in hit items tmp (#31003) 2021-06-16 20:32:03 +08:00
afc163
c5dfd61cf5 docs: fix articles empty bug 2021-06-15 19:15:41 +08:00
vagusX
0d619766e0
feat: new algolia SearchBar (#30942)
close #30812
2021-06-15 14:51:11 +08:00
vagusX
fb15683529
fix: keep selected theme when searching (#30977) 2021-06-14 17:30:11 +08:00
二货机器人
ce1aad03da
docs: Use cdn to speed up (#30973) 2021-06-13 16:23:12 +08:00
zombiej
7897bd78bf docs: update site home recommand style 2021-06-07 11:46:20 +08:00
afc163
b13e4a3abe
chore: new articles design and data source (#30701)
* chore: new articles design and data source

* chore: update useSiteData

* refactor useSiteData

* fix data
2021-05-29 23:59:30 +08:00
二货机器人
feeebdc1e5
fix: Menu overflow measure style (#30672)
* fix: Menu overflow checker

* docs: Fix site style

* test: Update snapshot

* fix: dark menu hover style
2021-05-25 17:24:18 +08:00
afc163
99e673462a chore: fix articles read error 2021-05-10 16:54:35 +08:00
afc163
3d31e333d4 docs: update links 2021-05-08 11:27:55 +08:00
xiejiahe
1684985da1
style(site): remove helmetTitle check (#30221)
* style(site): remove helmetTitle check

* style(site): remove {}
2021-04-20 10:34:00 +08:00