Commit Graph

241 Commits

Author SHA1 Message Date
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState (#37875) 2022-10-07 11:39:16 +08:00
MadCcc
7738c2f573
chore: update theme doc (#37788)
* chore: update theme doc

* chore: code clean

* chore: code clean
2022-09-29 14:48:02 +08:00
MadCcc
150da4a2cb Merge branch 'master' into next-merge-master 2022-09-29 10:59:03 +08:00
MadCcc
1331b84355
chore: fix site build (#37773)
* fix: some try

* chore: revert sideEffect

* chore: code clean
2022-09-28 15:23:02 +08:00
Zheeeng
844c066d8e
fix: refine type (#37763) 2022-09-27 21:50:35 +08:00
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +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
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
二货机器人
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
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
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]
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
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
二货机器人
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
afc163
b071207f01 docs: fix home page buttons 2021-08-17 11:24:07 +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
二货机器人
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
afc163
3d31e333d4 docs: update links 2021-05-08 11:27:55 +08:00
afc163
8eca2b3f63 docs: improve community implementation 2021-04-11 00:10:36 +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
二货机器人
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
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
信鑫-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
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
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
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
linye
5baa4530cc
Update RecommendPage.tsx (#26596) 2020-09-05 12:25:25 +08:00
zombiej
5a3bceea28 merge origin master 2020-08-22 22:09:07 +08:00
linye
c79ba580f1
docs: Update MorePage.tsx (#26322) 2020-08-21 18:06:48 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
afc163
d0b9f6ed80 docs: 💄 fix resource image 2020-08-11 11:23:39 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
linye
5a34f5b414
docs: Update site link (#26088)
* Update RecommendPage.tsx

* Update RecommendPage.tsx

* fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-09 20:57:54 +08:00
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. (#25903)
* add flex style

* add new demo

* update snapshot

* Merge branch feature into fix-descriptions

* update snapshot

* update snapshot
2020-08-06 14:32:13 +08:00
linye
4ad1ccac27
docs: Update site docs (#25795) 2020-07-24 23:45:48 +08:00