thinkasany
90a381df2a
type: optimization copyIdRef type ( #43257 )
1 year ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
* refactoring: rewrite useLocale return
* rename
* revert name
2 years ago
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
2 years ago
JiaQi
de44c4c9cd
chore(Typography): Introduce AutoSizeType correctly ( #40361 )
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2 years ago
lijianan
c627ff381a
refactor: adjust parameter order ( #40257 )
2 years ago
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2 years ago
MadCcc
642bb582eb
refactor: TextArea ( #40045 )
* refactor: TextArea
* chore: update snapshot
* chore: update snapshot
* chore: fix lint
* chore: classes
* refactor: mentions
* chore: bump rc-textarea
* chore: code clean
* chore: code clean
* chore: UPDATE SNAPSHOT
* chore: code clean
* test: cov
* fix: textarea size
2 years ago
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
Matthew
52dedca8ed
fix: Pass custom prefixCls to Typography from Base ( #38580 ) ( #38586 )
* fix: Pass custom prefixCls to Typography from Base (#38580 )
* test: Added test for typography custom prefixCls
2 years ago
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
2 years ago
Zheeeng
d96ec8aa06
feat: add text config for editable ( #37761 )
2 years ago
Zheeeng
8fc5af0d87
fix: the computed fontSize style may be empty string ( #37928 )
2 years ago
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2 years ago
Zheeeng
f5a5077d80
fix: Typography ellipsis percision bug ( #37802 )
* fix:ellopsis默认fontsize调整为12px
* fix: issue 37791
* test: update snapshot
Co-authored-by: zonghao.jiang <1587315093@qq.com>
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
二货爱吃白萝卜
356715f4a6
fix: Typography tooltip bug ( #37754 )
* chore: basic
* fix: diff icon logic
* fix: Tooltip logic
* chore: fix lint
2 years ago
Zheeeng
e9fd8e3672
fix: Ellipsis row counting ( #37700 )
* fix: Ellipsis row counting
When the base font-size causes measurement elements with floating offsetHeight, we can only get the rounded number, causes the rows counting incorrect.
* fix: Ellipsis row counting
* chore: update snapshot
* chore: update snapshot
2 years ago
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
15e4b93e43
fix: Visible change not show Tooltip of Typography ( #37147 )
* test: Update snapshot
* test: Add test case
* test: fix react 18
2 years ago
叶枫
00c891ac05
feat: Typography `ellipsis.tooltip` could be a object ( #36099 )
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
3 years ago
youngz
80377f2243
feat: Typography.Text Pass event to onCopy. ( #34655 )
3 years ago
黑雨
c7fe1c8e26
fix: editable Typography.Title should match font size while editing ( #34169 )
* feat: editable Typography.Title should match font size while editing
* feat: update style
* feat: update style
* feat: update style
* feat: style lint
* feat: update style
* Update components/typography/style/index.less
* Update components/typography/Editable.tsx
* feat: reorganize css
* feat: style lint
* feat: update snap
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect ( #34034 )
Co-authored-by: chenxq <chenxq@neocrm.com>
3 years ago
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
3 years ago
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
* fix: typography ellipsis check in transform
* test: Update snapshot
3 years ago
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation ( #33998 )
* fix: Typography copyable add stopPropagation
* add test
3 years ago
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph ( #33976 )
* fix: Exception on enter key callback
* Move spyOn position
3 years ago
MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 ( #33875 )
* fix: ellipsis should display tooltip if rows larger than 1
* test: add test case
3 years ago
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
3 years ago