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
thinkasany
0ec7bad5cb
fix(Typography): Link can be selected by the user ( #51243 )
2024-10-15 11:32:29 +08:00
afc163
66222a296b
chore: import rc-util from path ( #51087 )
2024-10-02 10:43:35 +08:00
afc163
9b779b1cd8
refactor: remove TransButton in Table/Transfer/Typography ( #51068 )
2024-09-29 18:02:13 +08:00
afc163
c063168754
fix: Typography copyable icon not aligned ( #51066 )
2024-09-29 13:54:47 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
二货爱吃白萝卜
3b8ea07a8a
fix: Typography copyable support array children ( #50813 )
...
* test: test driven
* test: test driven
* fix: test case
2024-09-11 20:01:10 +08:00
二货爱吃白萝卜
71533ff2a3
fix: Typography dead loop ( #50688 )
2024-09-03 16:20:44 +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
Bruce Mitchener
d1a0fb862e
chore: reduce typo count ( #50439 )
2024-08-15 22:51:41 +08:00
thinkasany
4f01f225c8
docs: fix typos ( #50430 )
2024-08-15 15:52:25 +08:00
afc163
c9fab94fd3
demo: improve typography copyable demo ( #50336 )
2024-08-09 19:21:26 +08:00
thinkasany
7085ab39d0
type: ts definition improvement ( #50324 )
...
* type: improve type assert
* type: improve type assert
* chore: modify the path
2024-08-09 12:58:01 +08:00
二货爱吃白萝卜
09264eb1d1
fix: Typography ellipsis ( #50315 )
...
* fix: get P
* test: add test case
2024-08-09 10:27:25 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
lijianan
34a2058e85
type: rm duplicate boolean type ( #49816 )
2024-07-11 10:02:24 +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
github-actions[bot]
dccb38d747
chore: auto merge branches ( #49639 )
...
chore: sync master to feature
2024-06-28 08:17:32 +00:00
二货爱吃白萝卜
3e98f7cf47
fix: typography ellipsis button style ( #49620 )
2024-06-27 16:54:57 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00: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
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages ( #49374 )
...
* button documentation grammar fixes
* english float button documentation changes
* english documentation grammar changes for icons
* english typography documentation grammar changes
* english divider documenation changes
* english layout documentation fixes
* english cascader documentation improvements
* english color-picker documentation changes
* english date-picker documentation changes
* english form documentation changes
* English documentation changes for select
* English documentation changes for slider
* English documentation changes for time-picker
* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
二货爱吃白萝卜
145aa3f68d
fix: Safari ellipsis ( #49221 )
...
* fix: Safari ellipsis
* test: update snapshot
2024-06-04 19:14: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
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
...
chore: merge master into feature
2024-04-28 14:02:49 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils
for compatible React-18.3.1 ( #48667 )
...
* test: rm legacy react-dom/test-utils for compatible React-18.3.0
* fix: fix
* chore: cls
* chore: update
* fix: fix
2024-04-28 09:52:54 +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
二货爱吃白萝卜
727aa2d030
fix: Typography copyable not sync ( #48347 )
...
* test: test driven
* fix: copy of stable
2024-04-09 11:00:52 +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
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00:00
叶枫
e17cd4ae27
test: keep spaces ( #47024 )
...
* feat: snap
* feat: up snap
2024-03-22 20:49:55 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +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
ChuYang
ade622e8f4
demo: a wrong word ( #47746 )
...
* fix: a wrong word
* fix: update snapshot
2024-03-08 07:17:46 +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
7cc45fd6d7
docs: rm useless type ( #47272 )
2024-02-01 10:36:21 +08:00
lijianan
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +08:00