Commit Graph

350 Commits

Author SHA1 Message Date
afc163
b4ae9202ed chore: fix LGTM 2022-05-11 13:52:34 +08:00
MadCcc
b5699cc735
chore: optimze LGTM (#35443)
* chore: optimze LGTM

* chore: type
2022-05-09 20:48:12 +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
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
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
afc163
eecf0da7e4 chore: fix ts error in site 2022-02-23 17:08:39 +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
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
二货机器人
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
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
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
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
二货机器人
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
3d31e333d4 docs: update links 2021-05-08 11:27:55 +08:00
xiejiahe
c3ce590b24
fix(site): add document.removeEventListener (#30184) 2021-04-18 13:39:45 +08:00
afc163
8eca2b3f63 docs: improve community implementation 2021-04-11 00:10:36 +08:00
Amour1688
ac78d87c14
style: not import named export "version" (#30071) 2021-04-09 13:13:06 +08:00
Peach
6a0eeb156d
docs: remove yunfengdie from site footer (#29809)
* docs: remove yunfengdie from site footer

* docs: remove other yunfengdie related texts
2021-03-18 18:08:30 +08:00
afc163
bfd76f971d chore: remove logrocket 2021-03-09 14:35:28 +08:00
afc163
6add2991fa chore: update site header menu style 2021-03-06 20:22:20 +08:00
afc163
8079780392
fix: remove * from postMessage targetDomain (#29093)
close #28845
2021-01-30 20:42:20 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

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

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
xrkffgg
e408593725
docs: remove gitter & add discussion (#28278)
* docs: remove gitter & add discussion

* add

* remove no use
2020-12-09 17:12:09 +08:00
大猫
5c0799d5ac
docs: add techui promotion (#27465)
* feat: add techui promotion

* feat: change button to menu

* feat: change TechUI menu position
2020-10-30 20:02:43 +08:00
Amumu
a7ae888a90
docs: docs upgrade (#27367) 2020-10-26 11:57:37 +08:00
xrk
737bd60f23
docs: add direction & theme to url (#26567)
* docs: add direction to localStorage

* wip

* wip

* wip

* wip

* browserHistory push

* add slider menu click query

* expand getLocalizedPathname

* add logo footer query

* fix lint

* wip pathname

* wip: fix pathname

* add hash & theme

* remove only component theme

* fix theme component change

* change var

* remove static

* change color

* chore: optimize code style

* fix: exchange theme when router is change

* fix: pathname

* fix: location pathname

* change dark

* fix theme

* fix router listen theme

* remove console

Co-authored-by: Kermit <kermitlx@outlook.com>
2020-09-14 10:48:08 +08:00
afc163
22d8355ccb site: 📝 fix version switch locale bug 2020-07-29 11:11:11 +08:00
afc163
72fb1c7b52 site: fix header menu item min-width 2020-07-28 13:34:37 +08:00
afc163
f0509f0bf9 site: fix header menu margin 2020-07-28 11:04:00 +08:00
07akioni
f38f297616
style: 💄 update Menu.Item horizontal style (#25622)
* refactor: menu style

* chore

* chore

* fix: site style
2020-07-24 14:39:47 +08:00
砖家
c09028e9a2
docs: umi hooks rename to ahooks (#25652) 2020-07-16 10:38:19 +08:00
ybzjsxh
2575a4f51a
docs: fix version change (#25269) 2020-07-01 11:11:58 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
kevin
14f9f95864
docs: Added Ant Design Charts link (#24496)
* Added Ant Design Charts link

* Modified position of  Ant Design Charts

Co-authored-by: liufu.lf <liufu.lf@antfin.com>
2020-05-30 14:55:41 +08:00
偏右
c7e1b050ab
🗑️ remove PropTypes (#24577) 2020-05-29 18:05:58 +08:00
偏右
0c2eed6866
docs: fix TOC active (#24426)
* docs: fix TOC active

close #23929

* fix footer seeconf logo
2020-05-24 17:11:34 +08:00
xrkffgg
6804fdad1a
docs: optimize search of header in rtl (#24239) 2020-05-18 11:35:40 +08:00