kiner-tang
d1df8e54cc
refactor: Use constant instead of enum to reduce package size ( #48406 )
...
* feat: optimize code
* feat: optimize code
* feat: optimize code
2024-04-12 16:28:06 +08:00
二货爱吃白萝卜
44cd5342f7
fix: Typography dynamic of copyable & eidtable ( #48350 )
...
* fix: editable should show
* test: test driven
* fix: copyable of render
2024-04-09 12:01:46 +08:00
二货爱吃白萝卜
61c8a439fc
fix: typography expanded should not break lines ( #48340 )
2024-04-08 23:00:25 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect ( #48205 )
...
* enhance: ssr ellipsis effect
* test: update snapshot
* chore: fix lint
2024-04-02 14:50:46 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
叶枫
8cc1d30351
feat: copy support async ( #48123 )
...
* feat: copy support async
* feat: add test
* feat: doc
* feat: snap
* feat: add loading
* feat: 恢复 try
* feat: 判断是否是 Error
* feat: throw error
* feat: 为了醋包了饺子
* feat: remove code
* feat: add loading test
* fix: test
* fix: icon import way
* chore: improve test case code
* chore: improve test case code
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:20:02 +08:00
叶枫
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
lijianan
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +08:00
afc163
0c97250db3
style: fix Typography copyable style and update demos ( #46748 )
...
* style: fix Typography copyable style and update demos
* chore: update jest snapshot
2024-01-02 21:36:10 +08:00
daisy
dc5063428d
fix: Typography.Text should update the Tooltip when the width changes ( #46613 )
...
* fix: Typography.Text should update the Tooltip when the width changes
* test: add test case
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-12-25 23:03:44 +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
二货爱吃白萝卜
72b449a1a4
docs: update faq ( #44198 )
...
* docs: update faq
* chore: update lint
* chore: update lint
* chore: use returnType
2023-08-14 13:32:57 +08:00
thinkasany
3ac6308f2e
chore: code style optimization ( #43865 )
2023-07-28 12:15:30 +08:00
thinkasany
90a381df2a
type: optimization copyIdRef type ( #43257 )
2023-06-29 10:47:38 +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
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
...
* refactoring: rewrite useLocale return
* rename
* revert name
2023-02-24 10:51:59 +08:00
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
2023-02-22 18:18:26 +08:00
JiaQi
de44c4c9cd
chore(Typography): Introduce AutoSizeType correctly ( #40361 )
...
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 17:33:20 +08:00
lijianan
c627ff381a
refactor: adjust parameter order ( #40257 )
2023-01-16 15:57:15 +08:00
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
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
2022-12-09 15:04:08 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
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
2022-11-16 10:23:51 +08:00
github-actions[bot]
f8629ac588
chore: auto merge branches ( #38093 )
...
chore: sync master into feature
2022-10-18 14:32:45 +00: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
MadCcc
442176627f
Merge branch 'master' into feature-merge-master
2022-10-17 17:55:50 +08:00
Zheeeng
d96ec8aa06
feat: add text config for editable ( #37761 )
2022-10-17 17:00:33 +08:00
Zheeeng
8fc5af0d87
fix: the computed fontSize style may be empty string ( #37928 )
2022-10-11 15:20:06 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2022-09-30 14:26:41 +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
二货爱吃白萝卜
356715f4a6
fix: Typography tooltip bug ( #37754 )
...
* chore: basic
* fix: diff icon logic
* fix: Tooltip logic
* chore: fix lint
2022-09-27 15:56:09 +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
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>
2022-08-26 17:17:13 +08:00
二货爱吃白萝卜
15e4b93e43
fix: Visible change not show Tooltip of Typography ( #37147 )
...
* test: Update snapshot
* test: Add test case
* test: fix react 18
2022-08-19 01:31:16 +08:00
叶枫
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
2022-07-25 13:09:39 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +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
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
...
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
2022-04-25 09:49:48 +08:00
youngz
80377f2243
feat: Typography.Text Pass event to onCopy. ( #34655 )
2022-03-22 16:52:44 +08:00
黑雨
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>
2022-03-04 11:04:20 +08:00
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect ( #34034 )
...
Co-authored-by: chenxq <chenxq@neocrm.com>
2022-02-16 19:41:06 +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