叶枫
47bd5ecccc
Typography support collapse ( #47264 )
...
* feat: typograohy support collapse
* feat: snap
* feat: test
* feat: 单测不符合预期
* feat: test
* feat: 恢复
* feat: test
* feat: test
* feat: 修改命名
* feat: 代码优化
* feat: 添加控制台提示
* feat: snap
* feat: symbol support function
* feat: snap
* fix: text
* feat: snap
* feat: api 修改
* feat: key 修改
* feat: 去掉参数
* feat: lint
* feat: snap
* feat: test
* feat: use 2
* feat: review
* feat: test
* chore: part of it
* chore: fix auto collapse logic
* feat: 修改 doc 单测
* feat: doc
* test: update testcase
* docs: add more
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-20 11:39:03 +08:00
二货爱吃白萝卜
31ff625d8f
fix: Typography symbol height exceed line should also support ellipsis ( #47889 )
...
* fix: Typography with ellipsis of symbol height
* test: update snapshot
2024-03-15 13:56:03 +08:00
winches
3fbb280d14
chore: ellipsis typo ( #47804 )
2024-03-11 10:33:05 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis ( #47597 )
...
* chore: init
* chore: ellpsis check with native css
* docs: all the lines
* chore: move copied btn out
* chore: add dpes
* fix: logic order
* fix: ellipsis event
* test: update testcase
* chore: use native way
* chore: destructure
* chore: fix lint
* chore: fix lint
* chore: fix lint
2024-02-27 16:56:24 +08:00
二货爱吃白萝卜
55190b6360
docs: reorder ( #45065 )
...
* docs: reorder
* docs: update
2023-09-25 16:48:53 +08:00
dingkang
2a3815d4df
fix: Typography When setting fontSize to an odd number bug ( #45031 )
...
* fix: Typography When setting fontSize to an odd number bug
* chore: update .npmrc to resolve sharp install fail
* fix: retry CI
* chore: update .npmrc
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-25 11:44:59 +08:00
AKing
a265257e7d
fix: record the completed length of the last calculation as the transison length ( #43058 )
...
* fix: record the completed width of the last calculation as the transition width in the calculation
* test: add test case
* test: correct test case name
* refactor:rename conut to count
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-30 23:24:19 +08:00
thinkasany
3ac6308f2e
chore: code style optimization ( #43865 )
2023-07-28 12:15:30 +08:00
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
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +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
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>
2022-09-30 10:58:11 +08:00
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
2022-09-24 19:30:51 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
...
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
2022-02-14 14:36:05 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
...
* fix: typography ellipsis check in transform
* test: Update snapshot
2022-02-11 14:06:06 +08:00
二货机器人
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
2022-01-18 14:13:41 +08:00