Commit Graph

1882 Commits

Author SHA1 Message Date
二货机器人
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
二货机器人
ac89fd5a9d
docs: guide of theme dev (#33756) 2022-01-18 22:36:13 +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
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
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
zombiej
dd1670a3b4 chore: merge master 2021-11-26 15:19:31 +08:00
二货机器人
90bfbe2a62
Merge pull request #33045 from ant-design/opt-theme
chore: Speed up site build preview speed
2021-11-26 15:07:02 +08:00
zombiej
ea5bb0fa65 chore: speed up site build mode 2021-11-26 14:42:27 +08:00
zombiej
142bda852f chore: opt of theme gen 2021-11-26 14:13:47 +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
afc163
c1b1d8c3c4 chore: fix eslint 2021-11-25 10:05:17 +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
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
2021-11-16 13:12:54 +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
8cd4c24afc chore: fix modal demo in small screen 2021-09-13 19:27:31 +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
afc163
aa7888cf4e chore: remove unused code 2021-08-19 12:04:07 +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
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +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
05169b66da chore: remove filesystem cache 2021-05-27 11:05:20 +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
二货机器人
e8314b23d2
chore: Thanks @yesmeck & @ycjcl868 (#30618) 2021-05-21 18:58:22 +08:00
Amour1688
acbeb0b4f1
chore: use filesystem cache (#30503) 2021-05-13 23:15:43 +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
afc163
8e76c1c5ae
chore: fix debug demo of site (#30427)
* chore: fix debug demo of site

* upgrade bisheng

* upgrade bisheng
2021-05-07 15:29:08 +08:00
afc163
75e79a384b chore: change cdn url
close #29311
2021-05-06 10:34:10 +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
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
zombiej
a8ce4d404a docs: Fix mobile res missing 2021-02-03 14:46:36 +08:00
afc163
58bfad7a4f
docs: update footer slogons 2021-02-02 15:01:44 +08:00
二货机器人
38e7dfa5fa
docs: Update resource page (#29176)
* docs: Update resource page

* docs: Update style
2021-02-02 12:03:57 +08:00
einq7
c342e0a747
fix: img should not overflow its container (#29118) 2021-02-01 17:07:02 +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
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
偏右
e3214c896f
chore: use esbuild-loader (#28859)
* chore: use esbuild-loader

* fix config
2021-01-14 15:32:16 +08:00
骗你是小猫咪
d0de9aa92c
fix: site overflow cause sticky invalid (#28741)
* fix: site overflow cause sticky invalid

* disable auto scroll
2021-01-07 16:16:54 +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
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 (#27268)
#26136
2020-12-01 18:28:35 +08:00
afc163
ac3142acf6 docs: fix site warning message 2020-11-30 17:55:53 +08:00
afc163
3031a7e6b2 site: fix Table Drag sorting demo
close #27623
2020-11-09 20:10:27 +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