Commit Graph

134 Commits

Author SHA1 Message Date
偏右
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
afc163
bbc95a12a4 merge feature into master-to-merge-feature 2020-06-19 13:22:11 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea (#24966) 2020-06-13 14:24:56 +08:00
xrkffgg
2331ed0b39
docs: reduce typography demo (#24915) 2020-06-11 21:20:08 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs (#24881) 2020-06-10 11:12:31 +08:00
zoomdong
9a6c2f667a
docs: fix typo of Typography (#24883)
* docs:typo of Typography

* update snap
2020-06-10 10:06:17 +08:00
zoomdong
68a185a08f
docs: change demo on Typography.paragraph (#24633)
* fix: demo on Typography.paragraphy

* fix: demo
2020-06-01 11:56:28 +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
二货机器人
e915a83326
Merge pull request #24606 from ant-design/feature
chore: master merge feature
2020-05-31 09:11:01 +08:00
二货机器人
d89cca53b1
docs: Text ellipsis (#24603) 2020-05-30 22:33:24 +08:00
二货机器人
77c5adbe4d
feat: New Tabs (#24552)
* init style

* support size

* editable

* add shadow

* update demo

* fix nest style

* update rtl

* update snapshot

* bump

* fix hover

* fix test case

* fix style lint

* clean up

* updat docs

* add onTabScroll

* upgrade rc-dropdown

* update snapshot

* clean snapshot

* clean up

Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
zefeng
84df944aaf
chore: remove duplicate code (#24504) 2020-05-27 19:19:32 +08:00
zoomdong
4e9fc51dba
feat: add custom expand style for typography.paragraph (#24385)
* feat: add custom expand style for typography.paragraph

* feat: delete filed-form

* fix: lint error

* feat: add test case

* fix: typo
2020-05-26 11:54:52 +08:00
Kermit Xuan
84bd53627b
fix: 🐛 Typography title prop support (#24440) 2020-05-25 19:04:40 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
二货机器人
1a82efa5ca
Text support keyboard (#24195) 2020-05-16 14:43:29 +08:00
zombiej
55332f6971 fix: Test case 2020-05-14 16:36:05 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
xrkffgg
64d151aa81
style: optimize typography expand style in rtl (#24084) 2020-05-12 17:58:45 +08:00
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style (#24019)
* init

* move to base

* add link component

* update snasphot

* update snasphot of test

* move to Typography

* update test case
2020-05-11 14:28:57 +08:00
偏右
2c86aebfa3
Merge pull request #23426 from ant-design/master
chore: merge master into feature
2020-04-21 11:24:57 +08:00
二货机器人
1d50004644
feat: Typography support onEllipsis (#23414)
* feat: support onEllipsis

* add test case

* update doc
2020-04-21 10:13:57 +08:00
偏右
fc98ab7222
test: increase test cov for Layout and Typography (#23407) 2020-04-20 19:18:53 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
4bd488bfbe
fix align logic (#22836) 2020-04-01 23:31:22 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent (#22691)
* refactor: replace deprecated React.SFC with React.FunctionComponent

* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +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