Commit Graph

168 Commits

Author SHA1 Message Date
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
偏右
487d3e46c0
docs: improve typography API table (#26102)
* docs: improve typography API table

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

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

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* docs: update doc

* docs: update

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-10 10:44:16 +08:00
llwslc
15b30e6761
feat: customize Typography.Paragraph copyable and editable (#25953)
* Merge branch 'feature' of github.com:ant-design/ant-design into antd

# Conflicts:
#	components/typography/__tests__/__snapshots__/demo.test.js.snap
#	components/typography/demo/interactive.md

* add icons & tooltips test

* remove Array<React.ReactNode> definition

* clean up useless code

* refactoring

* React.ReactNode already contains string

* 1. keep aria-label attribute
2. customize edit icon & tooltip

* rebase feature

* update snapshots

* update abi document

* update demo & document

* copyable icon & tooltip document

* version document
2020-08-09 12:56:35 +08:00
afc163
4dbf74afae fix typography snapshot 2020-08-05 15:00:35 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
zhangchen
2f99dd8c19
fix: Typography demo Interactive (#25908) 2020-07-30 16:54:49 +08:00
xrkffgg
672066ccae
feat: add Typography.Title level 5 (#25861)
* feat: add Typography.Title level 5

* fix test
2020-07-28 20:39:43 +08:00
CornerSkyless
ab9c477638
feat: Add maxLength and autoSize in Typography editable config (#25373)
* feat: Add maxLength and autoSize in Typography editable config

* doc: add version column of maxLength and autoSize

* doc: add demo of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* doc: fix version column of autoSize and maxLength

* snapshot: add snapshot

* snapshot: add snapshot

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* snapshot: add snapshot

* update version column

* feat: Add maxLength and autoSize in Typography editable config

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* doc: fix version column of autoSize and maxLength

* snapshot: add snapshot

* snapshot: add snapshot

* doc: add version column of maxLength and autoSize

* doc: simplify version column of autoSize and maxLength

* snapshot: add snapshot

* update version column

* add snapshot
2020-07-28 17:48:37 +08:00
二货机器人
fa6fe56a6a
chore: Default break word (#25516) 2020-07-08 22:33:07 +08:00
xrkffgg
ebb57ae63e
docs: format api space/breadcrumb/dropdown (#25296)
* docs: format api space/breadcrumb/dropdown

* fix function

* fix fcunciton before
2020-06-30 11:25:55 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography (#25292) 2020-06-29 21:43:22 +08:00
偏右
3e3d1eedcf
feat: customize Typography.Paragraph copyable (#25274)
*  customize copyable with tooltip and icon

* 💄 fix copyable icon margin

* 📝 custom icon and tooltips demos

* 📸 updating sanpshots

* 📝 updating copyable api

* fix snapshot

* fix tooltips type

* fix tooltips type again

* update documentation

Co-authored-by: Israel kusayev <israel.kusayev@gmail.com>
2020-06-29 12:25:48 +08:00