Commit Graph

26 Commits

Author SHA1 Message Date
二货机器人
2341a25d91
feat: refactor useNotification (#35423)
* more refactor

* chore: motion support

* chore: tmp test

* test: Hooks

* chore: static function

* tmp of it

* all of it

* mv prefix

* chore: clean up

* chore: clean up

* more test case

* test: all base test

* test: all test case

* init

* refactor: rm notification.open instance related code

* follow up

* refactor: singlton

* test: notification test case

* refactor to destroy

* refactor: message base

* test: part test case

* test: more

* test: more

* test: all test

* chore: clean up

* docs: reorder

* chore: fix lint

* test: fix test case

* chore: add act

* chore: back

* chore: fix style

* test: notification test

* test: more and more

* test: fix more test

* test: index

* test: more & more

* test: fix placement

* test: fix coverage

* chore: clean up

* chore: bundle size

* fix: 17

* chore: more

* test: message

* test: more test

* fix: lint

* test: rm class in static

* chore: clean up

* test: coverage

* chore: fix lint
2022-05-11 14:26:18 +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
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
二货机器人
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
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
3d31e333d4 docs: update links 2021-05-08 11:27:55 +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
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
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
砖家
c09028e9a2
docs: umi hooks rename to ahooks (#25652) 2020-07-16 10:38:19 +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
偏右
0c2eed6866
docs: fix TOC active (#24426)
* docs: fix TOC active

close #23929

* fix footer seeconf logo
2020-05-24 17:11:34 +08:00
afc163
968e7edec3 📖 add dumi in footer 2020-05-07 16:50:32 +08:00
James Yeung
5c79e642ba
fix: blazor links (#23649)
* fix: blazor links

* switch to github.io

* Update index.tsx

* Update Footer.tsx

* Update More.tsx

* Update introduce.en-US.md

* Update introduce.zh-CN.md

* Update introduce.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-29 15:49:00 +08:00
Benjamin Vertonghen
175e0aaa14
feat: Link Ant Design Blazor (#23579)
* Link Ant Design Blazor

* Indent and align

Co-authored-by: Benjamin Vertonghen <benjamin.vertonghen@apped.be>
2020-04-25 18:12:29 +08:00
zombiej
6e74617001 docs: Fix docs link
close #21771
2020-03-04 18:15:03 +08:00
zombiej
8527340a2a docs: Update footer link 2020-03-03 10:32:44 +08:00
zombiej
ffb4912ecc docs: Fix bisheng config & ts define 2020-02-28 18:47:38 +08:00
zombiej
43a5d57b81 docs: Fix site link 2020-02-28 17:59:06 +08:00
zombiej
994c6b84c9 chore: Update join us link 2020-02-28 12:13:15 +08:00
砖家
2bb0aaf5d4
feat: add umi hooks (#21460) 2020-02-19 16:21:26 +08:00
afc163
949d10dbf9 site: improve primary color change experience 2020-01-09 15:43:21 +08:00
偏右
36a03a06e2
fix: npm start warning (#20791)
* 🔧 fix npm start warning

close #20700

* 🔧 add some jsx files to gitignore

* fix eslint
2020-01-09 15:23:52 +08:00