二货爱吃白萝卜
45eeee60bb
feat: Add unstable api for React 19 compitable ( #51979 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* 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
二货爱吃白萝卜
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
希亚的西红柿
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
二货爱吃白萝卜
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
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect ( #48205 )
...
* enhance: ssr ellipsis effect
* test: update snapshot
* chore: fix lint
2024-04-02 14:50:46 +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
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
二货爱吃白萝卜
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
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
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
二货爱吃白萝卜
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