thinkasany
c9e3977d63
chore: bump eslint@10.0.0 ( #56893 )
2026-02-07 15:17:12 +08:00
高艳兵
166e9c88e5
fix(Typography): lower link selector specificity ( #56759 )
...
* fix(Typography): lower link selector specificity and add danger debug demo
* fix(Typography): scope link styles and raise type color priority
* chore: update snap
* chore: update snap
* fix(Typography): scope link styles and ensure type colors win
---------
Co-authored-by: 遇见同学 <1875694521@qq.com >
2026-01-28 16:01:51 +08:00
lijianan
f96282a4f9
refactor: reuse isNonNullable ( #55827 )
...
* refactor: reuse isNonNullable
* update
2025-11-23 16:25:26 +08:00
lijianan
19137493b4
perf: uninstall classnames, install clsx ( #55164 )
...
* refactor: uninstall classnames & install clsx
* refactor: uninstall classnames & install clsx
* test: rename test fn
* test: update snap
* update
* update
* update
* update
* update snap
* update
* update
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-10-01 00:45:54 +08:00
EmilyyyLiu
a02c1d5595
refactor: Upgrade utils and replace useMergedState ( #55047 )
...
* refactor: Upgrade utils and replace useMergedState
* Update components/color-picker/components/ColorPresets.tsx
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
* fix: lint error useControlledState not use
* feat: change import util path
* feat: mergedSelectedKeys
* feat: Modify the import path of rc-util
* feat: Restore the 'useControlledState' modification of 'select'
---------
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-25 10:57:09 +08:00
afc163
b0b6faca27
chore: merge master to next
2025-08-28 15:05:56 +08:00
遇见同学
2a66972cf9
fix: revert copybtn getPopupContainer ( #54752 )
2025-08-26 10:52:10 +08:00
thinkasany
5e7f63fb30
chore: fix biome error ( #54682 )
...
* chore: fix biome error
* fix
* fix again
* revert
2025-08-14 22:52:15 +08:00
thinkasany
b7b842f3bf
chore: sync feature into next
2025-08-01 18:21:16 +08:00
遇见同学
be8b735b46
fix: typography-demo-ellipsis-controlled shows error when drag slider faster ( #54449 )
2025-07-31 22:15:04 +08:00
thinkasany
5e3ed9cd1e
chore: sync feature into next
2025-05-21 15:16:20 +08:00
codingories
a7d9deca33
fix: Typography.Text delete did not follow state changing ( #53861 )
2025-05-20 11:30:27 +08:00
lijianan
0c5557d1c2
refactor: [v6] use rc-component/resize-observer ( #52578 )
...
* refactor: [v6] use rc-component/resize-observer
* chore: mock of ResizeObserver
* test: update snap
* fix: fix
* chore: update dep
* test: back of snapshot
* fix: fix
* chore: update deps
* chore: update
* chore: update @rc-component/motion
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-02-18 16:01:16 +08:00
lijianan
ab0e07e25d
refactor: [v6] use rc-component ( #52337 )
...
* refactor: use @rc-component
* chore: adjust compile
* test: fix logic
* chore: back of reset
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-01-10 14:14:31 +08:00
二货爱吃白萝卜
45eeee60bb
feat: Add unstable api for React 19 compitable ( #51979 )
...
* chore: add unstable entrance
* chore: rest of it
* chore: use React 19
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: test ignore 19 preload
* chore: bump rc-util
* fix: warning of pure render
* fix: warning of 19
* chore: adjust ts
* test: fix test logic
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* chore: restore file
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: update test
* test: fix test case
* test: update snapshot
* test: fix coverage
* test: fix coverage
* test: add ignore image
2024-12-18 14:09:49 +08:00
thinkasany
eb219058c1
fix(Typography): fix no change when switching locale ( #51453 )
...
* fix(Typography): fix ConfigProvider locale settings
* add demo
* add test case
* Revert "add demo"
This reverts commit cf1d757f31 .
2024-11-01 16:53:48 +08:00
afc163
9b779b1cd8
refactor: remove TransButton in Table/Transfer/Typography ( #51068 )
2024-09-29 18:02:13 +08:00
afc163
9f274a0884
refactor: reimplement Typography code ( #50561 )
...
Co-authored-by: lijianan <574980606@qq.com >
2024-08-27 22:08:04 +08:00
afc163
acc10b4fe5
test: remove unused code ( #50560 )
2024-08-26 12:05:04 +08:00
二货爱吃白萝卜
b9d5933975
fix: ellipsis check for over ( #50514 )
...
* fix: ellipsis check for over
* chore: use another way
* refactor: measure update
* chore: no measure if native
* chore: clean up
2024-08-21 14:27:40 +08:00
二货爱吃白萝卜
09264eb1d1
fix: Typography ellipsis ( #50315 )
...
* fix: get P
* test: add test case
2024-08-09 10:27:25 +08:00
二货爱吃白萝卜
04d3ed277e
fix: Typography ellipsis not working when parent has nowrap style ( #49667 )
...
* fix: ellispis logic
* test: update snapshot
* test: update snapshot
* test: coverage
2024-07-01 17:53:59 +08:00
二货爱吃白萝卜
3e98f7cf47
fix: typography ellipsis button style ( #49620 )
2024-06-27 16:54:57 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com >
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com >
2024-06-22 21:59:12 +08:00
希亚的西红柿
053dfcc8b0
fix: fix the ellipsis bug for pre element ( #49168 )
...
* fix: fix the ellipsis bug for pre element
* fix: remove the white-space property
* test: update snapshot
* chore: clean up
* test: update snapshot
* test: update snapshot
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2024-06-04 10:53:34 +08:00
afc163
ab9edc3698
chore: refactor Typography code ( #48738 )
...
* chore: refactor Typography code
* Apply suggestions from code review
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: afc163 <afc163@gmail.com >
---------
Signed-off-by: afc163 <afc163@gmail.com >
Co-authored-by: lijianan <574980606@qq.com >
2024-05-02 22:12:53 +08:00
afc163
15982625b5
fix: Typography editable focus trigger on mount unexpectedly ( #48741 )
2024-05-02 20:03:43 +08:00
lijianan
cc51d06117
test: solve test cov ( #48611 )
...
* test: solve test cov
* test: solve test cov
2024-04-25 11:08:55 +08:00
希亚的西红柿
9acde83991
feat: add tabindex option for paragraph button ( #48567 )
...
* feat: add tabIndex option for paragraph
* test: update snapshot
* test: update test case
* revert: revert the testcase
* test: update test case
* fix: fix the coverage test
* chore: code optimize
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com >
* Update CopyBtn.tsx
Signed-off-by: lijianan <574980606@qq.com >
* Update transButton.tsx
Signed-off-by: lijianan <574980606@qq.com >
* Update copy.test.tsx
Signed-off-by: lijianan <574980606@qq.com >
* Update CopyBtn.tsx
Signed-off-by: lijianan <574980606@qq.com >
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: lijianan <574980606@qq.com >
2024-04-24 18:06:38 +08:00
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