Commit Graph

951 Commits

Author SHA1 Message Date
iamkun
e73cd9c34e Merge remote-tracking branch 'origin/next' into feat/momentjs-to-dayjs 2022-03-29 11:10:14 +08:00
MadCcc
9f3773f69f
feat: master diff (#34760)
* feat: master diff

* fix: SSR support

* feat: use controlled checkbox
2022-03-28 23:46:30 +08:00
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls & support overrides (#34690)
* chore: init

* chore: button token

* chore: rm all withPrefixCls

* feat: overrides work

* feat: theme can be nest

* test: Update snapshot

* fix: memo logic
2022-03-24 18:44:42 +08:00
二货机器人
b967f9eb81
refactor: More alias token (#34658)
* chore: rm disabled color

* chore: color heading

* chore: shows tokn

* chore: fix color mapping

* chore: status colors

* chore: durations

* chore: outline color

* chore: comment info

* chore: background color

* chore: merge nexr
2022-03-22 20:02:04 +08:00
iamkun
010e0c0eb2 update merge 2022-03-22 17:50:17 +08:00
二货机器人
f3f1dbf1b1
refactor: Move design token in (#34624)
* chore: move in

* wip: refactor the structure of design token

* refactor: merge override

* chore: mv in

* chore: fix ts

* chore: tmp all

* chore: comment

* chore: comment

* chore: use variables

* fix: compile error

Co-authored-by: arvinxx <arvinx@foxmail.com>
2022-03-21 16:48:25 +08:00
iamkun
f8dc201218 fix merge 2022-03-18 16:57:11 +08:00
二货机器人
861b705ab4
docs: Add css preview && basic analysis (#34550)
* chore: add css vars

* chore: preview style
2022-03-17 14:06:21 +08:00
二货机器人
8c0352b807
docs: Sync theme into iframe demo (#34511) 2022-03-15 17:05:36 +08:00
zombiej
a338a1b00e Merge branch 'master' into next 2022-03-15 14:14:14 +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]
6b08487afc
chore: auto merge branchs (#34284)
chore: merge master into next
2022-03-03 09:52:51 +00:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default (#34272)
* checkbox hashId support

* chore: tree hashed

* chore: fix lint

* fix: compile
2022-03-03 14:55:19 +08:00
zombiej
d4ea3b6b23 Merge remote-tracking branch 'origin/master' into next 2022-03-01 18:46:33 +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
二货机器人
912ffb15d0
refactor: Button with cssinjs (#33890)
* init

* chore: cssinjs base button

* chore: more style

* chore: mix style

* chore: size

* chore: more style

* misc

* chore: re-structrue

* chore: icon onlt

* chore: back of disabled

* chore: loading status

* chore: loading motion

* chore: add active style

* docs: site prepare dynamic theme

* chore: bump antd cssinjs

* chore: color type check

* chore: bump cssinjs version

* chore: clean up useless ts def

* chore: ignore button style

* chore: rename ci

* chore: update cssinjs ver

* chore: ssr default wrapper

* chore: bump cssinjs version

* chore: ssr support

* chore: fix script

* test: fix node snapshot

* chore: move cssinjs pkg size from css to js

* test: coverage
2022-02-18 14:17:32 +08:00
iamkun
b22815d4d2 feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js 2022-02-14 15:01:00 +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
xiejiahe
c3ce590b24
fix(site): add document.removeEventListener (#30184) 2021-04-18 13:39:45 +08:00
xiejiahe
148a6dbefe
docs(site): removeEventListener (#30139)
* fix(site): removeEventListener

* fix(site): removeEventListener

* fix(site): removeEventListener
2021-04-14 17:27:42 +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
二货机器人
4ba53c2cb3
docs: New design of articles (#29827)
* docs: New design of articles

* update

* format
2021-03-19 23:03:04 +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
zombiej
a8ce4d404a docs: Fix mobile res missing 2021-02-03 14:46:36 +08:00
二货机器人
38e7dfa5fa
docs: Update resource page (#29176)
* docs: Update resource page

* docs: Update style
2021-02-02 12:03:57 +08:00
afc163
406e5c77c1
docs: fix overview page search input style (#29094)
close #29053
2021-01-30 20:44:15 +08:00
afc163
8079780392
fix: remove * from postMessage targetDomain (#29093)
close #28845
2021-01-30 20:42:20 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +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
二货机器人
ace967f3bf
docs: Enable en aritles (#28192) 2020-12-04 14:24:49 +08:00
afc163
ac3142acf6 docs: fix site warning message 2020-11-30 17:55:53 +08:00
afc163
2430ae2732 chore: fix color picker position
close #27598
2020-11-06 12:11:47 +08:00
afc163
9c400e3266 chore: fix lint 2020-11-05 17:21:57 +08:00
afc163
c09dc30c1d docs: 💄 improve home page loading style 2020-11-05 17:09:57 +08:00
Kermit Xuan
d862b688d0
feat: fetch siteData from remote (#27543) 2020-11-05 15:22:59 +08:00
偏右
234cc1ea24
docs: 🚹 improve riddle/codesandbox/codepen (#27546)
* docs: 📝 update riddle template

* docs: improve icon
2020-11-04 18:04:38 +08:00
信鑫-King
39c192ab32
Merge branch 'master' into chore-conflict-feature 2020-11-01 18:04:04 -08:00
偏右
ea02c93c44
Update RecommendPage.tsx 2020-10-30 22:50:25 +08:00
zombiej
0bf5a43e15 chore: feature merge master 2020-10-30 20:55:27 +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
yuanyao1225
86f07dfd1a
docs: Update home page articles (#27452)
* feat: article

* Update RecommendPage.tsx

* Update RecommendPage.tsx

* Update RecommendPage.tsx

* Update RecommendPage.tsx

* Update RecommendPage.tsx
2020-10-30 18:35:47 +08:00
zombiej
a674541260 docs: Open site res docs in new page 2020-10-29 10:14:41 +08:00
Skylar艺璇
4a0df56114
docs: ️ add D2 forum promote link
add d2 block
2020-10-26 18:54:03 +08:00
Amumu
a7ae888a90
docs: docs upgrade (#27367) 2020-10-26 11:57:37 +08:00
yuanyao1225
8ba4da5939
feat: 1024 (#27336)
yuanyao
2020-10-24 12:18:01 +08:00
Tom Xu
b5dc079228
chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
linye
77e7eceb91
docs: Update MorePage.tsx (#27184) 2020-10-16 11:48:26 +08:00
linye
8f1cfd2062
docs: Update RecommendPage.tsx (#27161) 2020-10-15 12:10:05 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +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
44f733ae23 chore: clear active toc className when change route
close #26541
2020-09-07 15:44:02 +08:00
linye
5baa4530cc
Update RecommendPage.tsx (#26596) 2020-09-05 12:25:25 +08:00
afc163
7a0320d978 chore: add debug color to toc 2020-09-02 22:37:06 +08:00
xrkffgg
ae650485a0
docs: optimize site menu sort (#26471) 2020-08-28 22:55:16 +08:00