Commit Graph

179 Commits

Author SHA1 Message Date
John
60cad5a765
fix(typography): editable should not trigger links (#30354)
closed #30353
2021-04-29 17:03:24 +08:00
xiejiahe
c2e0cf5154
style(typography): remove null check (#30248) 2021-04-21 16:43:01 +08:00
CodingYingYingYing
a21c1a88c1
fix: Typography.Paragraph\Text\Title ts (#29787)
* fix: Typography.Paragraph\Text\Title ts

* feat: add doc

* feat: title ts

* feat: cr

* chore: revert

* chore: ts

* feat: doc/sort & drop onChange
2021-03-23 13:32:37 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29 docs: update typography api show 2021-03-14 16:35:09 +08:00
陈帅
c673cde7de
merge Feature into master (#29758)
* feat: add onCancel and onEnd option for editable (#29615)

* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

Co-authored-by: chenliang <chenliang9@xiaomi.com>

* feat: add parent class for different notification types (#29634)

close #29417

* refactor: Upload use origin behavior (#29737)

* refactor: Fallback of events

* test: Fix test case

* fix: Start file update logic

* fix: remove status update

* test: Remove wrapTest

* test: Fix test case

* chore: bump rc-upload

* docs: About desc

* feat: tab support moreIcon (#29744)

* feat: Tabs support moreIcon

* docs: Tabs support moreIcon

* style: lint

* docs: add english document

* Update components/tabs/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/index.zh-CN.md

* Update components/tabs/index.en-US.md

Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-13 23:46:32 +08:00
jueinin
24d1b3c39c
feat: add onCancel and onEnd option for editable (#29615)
* feature: add onCancel and onEnd option for editable

* doc: editable

* doc: add EN doc

* optimize: code

Co-authored-by: chenliang <chenliang9@xiaomi.com>
2021-03-06 13:06:32 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
Kermit
7368b05b05
fix: update snapshot (#29309) 2021-02-10 15:10:39 +08:00
afc163
1d437534a0
docs: fix broken links
close #29294
2021-02-09 19:25:55 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
cnjs
1ea1ec7876
docs: update Typography doc (#29033)
* doc: update Typography doc

* doc: update Typography doc

* docs: update symbol doc
2021-01-27 17:26:38 +08:00
afc163
a5bdf5aedd chore: fix tsc error 2021-01-14 14:42:01 +08:00
afc163
b22f1ec306 chore: fix tsc error 2021-01-14 14:32:42 +08:00
afc163
ea9c71a94e Merge branch 'feature' into master-to-merge-feature 2021-01-14 14:26:09 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
二货机器人
a9bd80916d
feat: Typography ellipsis support tooltip (#28821)
* feat: ellipsis support tooltip

* chore: Update test snapshot

* test: Coverage

* chore: fix ts definition

* clean up
2021-01-12 16:46:59 +08:00
二货机器人
a70d301c7b
fix: typography focus (#28545) 2020-12-26 21:58:35 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
偏右
0ca5e686d9
fix: Typography.Link copyable text default behavior (#27982)
close #27966
2020-11-24 20:05:49 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts (#27920)
ref.ts remove
2020-11-21 15:40:06 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook (#27743)
* refactor(trans-button): rewrite with hook

* Update Base.tsx

* Update util.test.js

* Update transButton.tsx

* Update transButton.tsx

* Update transButton.tsx

* Update util.test.js
2020-11-18 11:20:31 +08:00
wf-francescoalbanese
696396a62f
refactor: make autosize true by default (#27814)
Made `autoSize = true` by default deconstructing it from props, rather than explicitly checking if it's undefined at render times.
2020-11-17 11:02:59 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
xrkffgg
c80524f475
fix: Typography.Link disabled hover style (#27734) 2020-11-13 09:06:35 +08:00
Tom Xu
4b8674d9e9
refactor(editable): rewrite with hook (#27655)
* refactor(editable): rewrite with hook

* Update Editable.tsx

* chore: imrpove

* Update Editable.tsx

* Update Editable.tsx

* Update Editable.tsx
2020-11-11 11:28:06 +08:00
xrkffgg
36cdf0a129
refactor: direction type define (#27540) 2020-11-04 14:12:45 +08:00
Liu Ya
e954079dd0
fix: Typography.Link color not disabled (#27487)
修复 Typography.Link disabled时悬浮、点击颜色问题
2020-11-02 10:35:45 +08:00
Troy Li
07d4022e18
fix: Invalid regular expression for particular ellipsis content (#27383)
* fix:  Invalid regular expression for particular ellipsis content

* fix: ellipsisContent is possibly nullable

* test: add test cases for ellipsis string with parentheses
2020-10-26 22:11:13 +08:00
偏右
9a368a59f1
fix: Typography ellipsis title (#27328)
* fix: Typography ellipsis title

close #27324

* fix ci
2020-10-23 19:31:41 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
e234a71ecd
refactor(typography): remove deprecated (#27158) 2020-10-17 17:23:22 +08:00
二货机器人
43e2651b9c
fix:Typography miss block & pre style (#27150)
* feat: Add block & pre style

* fix lint
2020-10-14 19:56:31 +08:00
Tom Xu
b896556823
style: fix Typography Link color (#27119)
* style: fix Typography Link color

* Update index.less
2020-10-13 18:31:48 +08:00
偏右
88fde9f9f7
style: fix Typography Link color (#27104)
close #27088
2020-10-12 16:24:26 +08:00
Liu Ya
41d520ab82
docs: update Typography.Text (#27093) 2020-10-12 10:49:17 +08:00
zhangchen
138b953afd
feat: TextArea showCount (#26952)
* feat: TextArea showCount

* update: TextArea showCount test

* update: TextArea showCount test

* update: test

* update: test

* update: test

* update: interface

* revert: interface change
2020-10-10 11:30:58 +08:00
Vineet Srivastav
f2766df2e1
style: fix @link-decoration in Typography.Link (#26854) 2020-09-22 16:57:37 +08:00
偏右
fc5e0a9155
test: 100% coverage (#26839)
* test: isStyleSupport

* test: 100% test coverage
2020-09-21 18:32:24 +08:00
afc163
935773a0d0 test: recover test case expect 2020-09-18 11:51:21 +08:00
afc163
2f736441af test: ignore code which never run into 2020-09-18 11:49:50 +08:00
afc163
2980444bd6 test: fix lint 2020-09-16 17:36:44 +08:00
afc163
cc6d2f2157 test: ignore code which never run into 2020-09-16 16:00:12 +08:00
偏右
e745e24677
fix: Invalid value for prop navigate on Link (#26623)
close #26622
2020-09-07 17:37:49 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
xrkffgg
a46c5ce19b
docs: update typography demo (#26604) 2020-09-06 11:28:49 +08:00
偏右
abf95437f1
fix: Typography copyable tooltips (#26259)
* fix: Typography copyable tooltips cannot accept empty string

https://github.com/ant-design/ant-design/pull/25953#issuecomment-674480396

* fix snapshot change
2020-08-18 16:14:14 +08:00
llwslc
ff7aca19cc
feat: add Typography.Text type success (#26145)
* baseType & style

* update demo

* update snap

* update document

* remove type primary
2020-08-13 10:13:32 +08:00