Commit Graph

152 Commits

Author SHA1 Message Date
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +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
偏右
633d064640
increase code cov (#23880) 2020-05-05 19:33:33 +08:00
Eric Wang
815baee4d9
chore: Transform anchor test to typescript (#23499)
* chore: Transform anchor test to typescript

* Separate dom

* use hash

* .

* chagnelog

* chore: Transform anchor test to typescript

* Separate dom

* use hash

* .

* rebase
2020-04-30 10:33:29 +08:00
Amumu
245deed4b6
fix proper react import again (#23762) 2020-04-29 22:06:04 +08:00
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer (#23751)
* add getTargetContainer

* support affix

* test case

* anchor use new context api

* Anchor support getTargetContainer

* doc it

* update patch
2020-04-29 20:22:16 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
吴泽康
4c9d03874b
fix: anchor regexp (#23577) (#23595)
* fix: anchor regexp (#23577)

* test: fix anchor complete href scrollTo test

* test: anchor sharp matcher regexp

* test: Anchor render perfectly for complete href - hash router
2020-04-26 16:11:37 +08:00
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon (#23469)
* chore: Replace domhook with jest.spyon

* use mockreturn value when possible

* Update tests/shared/focusTest.js
2020-04-22 11:59:56 +08:00
xrkffgg
934fe16690
style: add anchor rtl (#22875) 2020-04-07 10:55:36 +08:00
偏右
66f67051af
test: improve test for requestAnimationFrame (#22433)
* test: improve test for requestAnimationFrame

*  fix test coverage

* fix test case

* fix test case
2020-03-20 15:07:47 +08:00
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00
xiaohuoni
fa14546a40 chore: code style 2020-01-21 17:14:58 +08:00
xiaohuoni
1c1c30e99c docs: a demo use typescript 2020-01-21 16:21:37 +08:00
偏右
8501b708ea refactor: 📦 smaller bundlesize limit (#20356)
* 📦 samller bundlesize limit

* 🗑️ remove React static PropTypes

* 🗑️ remove react-lifecycles-compat

* 🗑️ remove matchMedia polyfill

* 🗑️ remove Transfer buggy lazy prop

* 🗑️ remove enquire.js dep

* 🗑️ remove Transfer lazy related code and fix ci

* 🗑️ remove used dom-closest

*  replace dom-scroll-into-view to scroll-into-view for bundle size

*  fix eslint

* 🆙 upgrade browserslist

*  fix test cases

* 🗑️ remove @ant-design/create-react-context

* 🆙 upgrade @ant-design/bisheng-plugin

* 🆙 upgrade rc-slider

*  fix ci

* 🆙 upgrade rc-tabs and rc-mentions

* 📦 scroll-into-view -> scroll-into-view-if-needed

* remove unused devDep

* docs: 📝 update instruction about IE9/10

* 📦 reduce css bundle size by drop IE9/10 support

* 🆙 upgrade rc-upload

* 🗑️ drop unused swing motion css

*  update upload snapshots

* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
陈立林
f32235d074 delete version (#19854)
delete version
2019-11-21 19:58:41 +08:00
诸岳
f8af6972ba Merge branch 'master' of github.com:ant-design/ant-design into feature 2019-09-07 00:23:09 +08:00
骗你是小猫咪
b93d10d40b feat(Anchor): add onChange prop (#18715)
* feat(Anchor): add onChange prop

* test(Anchor): add onChange prop

* update snapshots
2019-09-06 19:54:13 +08:00
骗你是小猫咪
d9bfc689a4 test(Anchor): optimize dataNowMockFn, avoid being consumed in advance (#18663)
* 优化 dataNowMockFn, 避免被提前消费

* test circleci/node:latest

* change .circleci circleci/node:latest -> circleci/node:lts

* add step command [node -v] check current node version

* retry ci test

* rebase master

* retry CI test
2019-09-05 11:33:11 +08:00
愚道
d8031aa4cb fix: Anchor.Link target should not be required 2019-09-03 21:36:07 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
afc163
06be298a5c fix ci 2019-08-28 18:43:33 +08:00
陈帅
3ff7cf329d Merge branch 'master' into feature 2019-08-26 11:14:50 +08:00
信鑫-King
021e9af227 feat: less vars for select and anchor (#18444) 2019-08-23 22:19:04 +08:00
偏右
c8f682448e
Merge pull request #18329 from ant-design/master
chore: Merge master into feature
2019-08-19 16:32:51 +08:00
DiamondYuan
a5f1fc80fd fix: Anchor.Link add add new property target (#18335)
* fix: Anchor.Link add add new property target

* docs: update doc of anchor
2019-08-19 11:10:06 +08:00
afc163
7826e42d92 📝 fix getCurrentAnchor version 2019-08-17 22:46:31 +08:00
shao
2416d17b74 test: reduce test time 2019-08-16 17:59:33 +08:00
shao
9a3feda565 test: reduce test time 2019-08-16 17:59:32 +08:00
shao
6729ce30fa test: fix lint 2019-08-16 17:59:31 +08:00
shao
ce5375f95c test: remove unused var 2019-08-16 17:59:29 +08:00
shaodahong
40c53c8ca4 feat(Anchor): change version 2019-08-16 17:59:20 +08:00
shaodahong
32621cf41a feat(Anchor): fix getCurrentAnchor offset 2019-08-16 17:58:45 +08:00
shao
b4a228c4f4 perf: replace all test suite delay func to common test util sleep func 2019-08-16 17:58:42 +08:00
shao
a266f45395 feat(Anchor): remove scrollTo option 2019-08-16 17:58:40 +08:00
shao
ccef30885a perf: optimization BackTop and Anchor components scrollTo func 2019-08-16 17:58:34 +08:00
shao
90a65d1e57 feat(Anchor): fix add targetOffset prop deme test fail 2019-08-16 17:58:33 +08:00
shao
5e4835363b feat(Anchor): add targetOffset prop demo 2019-08-16 17:58:32 +08:00
shao
a103d21062 feat(Anchor): add targetOffset prop test case 2019-08-16 17:57:41 +08:00
shao
b3537d5c38 docs(Anchor): fix targetOffset prop doc of review change 2019-08-16 17:56:51 +08:00
shao
b02e433226 docs(Anchor): add targetOffset doc 2019-08-16 17:54:12 +08:00
shao
9803ebab34 feat(Anchor): add targetOffset prop 2019-08-16 17:52:41 +08:00
偏右
4e26107a4e
Merge pull request #17823 from shaodahong/feat-anchor-getCurrentAnchor
feat(Anchor): add getCurrentAnchor prop
2019-08-16 15:00:44 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
shao
23c4fa8053 feat(Anchor): add getCurrentAnchor prop jsdoc comment 2019-07-23 19:37:32 +08:00
shao
7c7a19ef1c docs(Anchor): add getCurrentAnchor prop feature version 2019-07-23 17:56:12 +08:00
shao
4beb676794 fix(Anchor): update demo test snap 2019-07-23 16:19:22 +08:00
shao
2a7cb944e0 feat(Anchor): add getCurrentAnchor prop 2019-07-23 14:59:28 +08:00