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
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
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
17dff7c630
chore: merge master into feature
2023-11-23 03:09:24 +08:00
afc163
cb56ddddd1
fix: code ellipsis broken under Layout ( #45962 )
...
close #45953
2023-11-20 12:22:29 +08:00
kiner-tang(文辉)
6c191ab70a
feat: Typography support cssVar ( #45818 )
...
* feat: Typography support cssVar
* feat: optimize code
2023-11-13 15:05:27 +08:00
afc163
2dbc6abce8
style: fix Typography code broken border when ellipsis ( #45575 )
2023-10-30 10:02:02 +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
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
yoyo837
ad46da1697
Merge branch 'master' into feature-merge-master
2023-09-03 00:22:34 +08:00
Amumu
edf907bf11
fix: slider track draggale range height/width error ( #44503 )
...
* fix: slider track draggale range height/width error
* chore: style
2023-09-02 00:16:01 +08:00
Konv Suu
41ef050cb5
chore: typo ( #44579 )
...
update
2023-09-01 23:39:56 +08:00
栗嘉男
b12d69cf42
chore: merge master into feature
2023-09-01 00:02:50 +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
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
MadCcc
d1d3b57dcb
feat: input token ( #44325 )
...
* feat: input token
* feat: input number token
* feat: input token
* fix: date-picker & calendar
* fix: calendar style
* fix: token use
2023-08-22 09:38:11 +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
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave ( #44014 )
...
* chore: fix checkbox
* chore: checkbox support disabled
* chore: radio support wave
* test: update test case
* chore: fix lint
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update test case
2023-08-04 11:22:33 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00