Commit Graph

9 Commits

Author SHA1 Message Date
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
Zheeeng
29a15e2a5d
refactor: refines types and fix to use prop direction over context direction (#37716)
* refactor: use enum instead of multiple constants and refines types

* fix: siganture and direction prop passing

* Update Editable.tsx

* refine types

* test: update snap

* style: prefer literal constants over enum

* fix: refine types for typography

* fix: restore ellipsis const

* fix: restore ellipsis const

* fix: restore textare importing
2022-10-18 11:45:43 +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
Minh Quy
445e6c6bca
feat: Support ref for Title, Text, Paragraph (#34847)
* feat: Support ref for Title, Text, Paragraph

* feat: Add tests for Title, Paragraph and Text
2022-04-05 13:02:32 +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
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
叶枫
4f43482059 feat: export interface (#20111)
* feat: add export

* Update Title.tsx
2019-12-06 10:44:47 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +08:00