afc163
f835c4bcc3
fix: Modal.confirm buttons should not be interative ( #38400 )
...
when modal is hiding
close #37329
2022-11-06 15:58:35 +08:00
咩咩
45b078a1ad
type: add React.ReactNode ( #38404 )
2022-11-05 21:34:20 +08:00
lijianan
66e4b1c91c
test: simplify test case ( #38403 )
2022-11-05 21:29:56 +08:00
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table aria-label
contains [object Object]
( #38389 )
...
* fix: columns title render not as expected
* feat: code optimize
* feat: update test case
* feat: update test case
* feat: code optimize
* Update components/table/__tests__/Table.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update aria-label
* feat: update test case
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-05 12:44:37 +08:00
Ashish Kapoor
ce4d3a00d1
chore: Tree search demo type error ( #38390 )
...
* Update search.md
* Update search.md
2022-11-05 12:42:09 +08:00
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 ( #37270 )
...
* chore(deps): update dependency jest to v29
* Update package.json
* chore: update snapshot
* chore(deps): update dependency jest to v29
* Update package.json
* test: fix test case
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-04 23:57:55 +08:00
afc163
1d582551ec
chore: fix Table customized filter dropdown behavior when pressing enter ( #38393 )
...
close #38392
2022-11-04 23:40:41 +08:00
afc163
c6762d9215
style: fix Drawer extra using Radio.Group ( #38385 )
...
* style: fix Drawer extra using Radio.Group
close #38297
* chore: adjust flex logic
* chore: fix lint
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-04 23:00:28 +08:00
lijianan
038c9d0763
type: optimization React.useRef type ( #38388 )
2022-11-04 18:36:54 +08:00
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" ( #38383 )
...
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160 )"
This reverts commit 21c4bcf40a
.
* test: Update snapshot
2022-11-04 16:18:43 +08:00
咩咩
e80e40b764
type: type optimization ( #38381 )
...
Co-authored-by: jiang_chunqiao <chunqiao_jiang@icloud.com>
2022-11-04 15:33:01 +08:00
afc163
8f0970d596
Merge branch 'master' of github.com:ant-design/ant-design
2022-11-04 11:58:36 +08:00
afc163
9cc228f2af
chore: add type test
2022-11-04 11:56:01 +08:00
afc163
f26e9c131d
Merge branch 'master' of github.com:AdonLee/ant-design into AdonLee-master
2022-11-04 11:39:24 +08:00
lijianan
82ba22232d
test: simplify test case ( #38375 )
2022-11-04 11:24:56 +08:00
lijianan
d448c37cdb
test: simplify test case ( #38374 )
2022-11-04 11:23:59 +08:00
lijianan
9cbacd148e
test: add unmount for test case ( #38373 )
2022-11-04 11:20:53 +08:00
章鱼怪
ad3c7747e1
feat: add padding less variable for Alert ( #38369 )
...
* feat: add padding less variable for Alert
* feat: Alert less variable
2022-11-04 10:43:29 +08:00
黑雨
53c2be01ca
chore: update rc-steps and add test case ( #38319 )
...
* feat: update rc-steps
* feat: update rc-steps
* feat: update rc-steps
* feat: fix items
2022-11-03 14:28:03 +08:00
afc163
f151990700
fix: Popover icon color get polluted ( #38355 )
...
close #38353
2022-11-03 12:12:40 +08:00
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox ( #38336 )
...
* Adds aria-label to Table header checkbox
* Corrects inverted aria label
* Updates some napshots
* Updates transfer snapshots
2022-11-03 10:15:03 +08:00
叶枫
b36ddace4c
docs: add doc ( #38345 )
...
* feat: done
* feat: done
2022-11-02 17:50:50 +08:00
Optimistic-Chen
036a2c20a1
chore: update table demo ts type ( #38333 )
...
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参
虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object
* Update virtual-list.md
* docs: virtualtable example use generic instead of 'Parameters[0]'
* Update components/table/demo/virtual-list.md
Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 13:21:28 +08:00
lijianan
81864f9b8a
fix: ball lose ( #38338 )
...
* fix: ball lose
* Update components/anchor/style/index.less
Co-authored-by: afc163 <afc163@gmail.com>
* fix: fix style
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 12:00:11 +08:00
Cedong.Lee
b8de996fc1
fix(DatePicker): PopupClassName does not exist
2022-11-01 12:00:16 +08:00
JarvisArt
047daad164
fix: Badge code lgtm issue ( #38316 )
2022-11-01 00:16:56 +08:00
xrkffgg
5ede9b65af
chore: merge feature into master #38313
2022-10-31 23:07:27 +08:00
二货爱吃白萝卜
ea2d5b4482
test: trigger form test ( #38305 )
2022-10-31 21:23:59 +08:00
He Linming
6ee61f6f0b
feat(Input.Password): password visibility controllable ( #38216 )
...
* feat: support controllable visible of password
* test: add some unit test for Password
* refactor: visibilityToggle API
* test: update snapshots
* Update components/input/Password.tsx
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-31 21:15:59 +08:00
afc163
0eb368f84a
fix: Progress zoom behavior in Safari ( #38301 )
2022-10-31 17:49:39 +08:00
lijianan
05aa4c2a95
docs: add Notes ( #38296 )
...
* docs: add Notes
* fix: update snap
* fix: update snap
2022-10-31 14:49:43 +08:00
github-actions[bot]
6c6913c367
chore: auto merge branches ( #38278 )
...
chore: merge feature into master
2022-10-31 03:22:15 +00:00
lijianan
de1ab2c7f1
fix: add white color ( #38291 )
2022-10-31 10:55:08 +08:00
hms181231
9352d24bc4
test: Update swicth test case ( #38284 )
2022-10-31 10:22:38 +08:00
hms181231
a927ef62a3
test: Update statistic test case ( #38285 )
2022-10-31 10:21:13 +08:00
hms181231
37fb68ab68
test: Update page-header test case ( #38286 )
2022-10-31 10:20:29 +08:00
hms181231
e939b43af4
test: Update local-provider test case ( #38287 )
2022-10-31 10:20:14 +08:00
hms181231
aeb266d5da
test: Update input test case ( #38289 )
2022-10-31 10:19:56 +08:00
hms181231
00e5ca5ee9
test: Update upload test case ( #38282 )
2022-10-31 10:16:51 +08:00
hms181231
46c846a34c
test: Update modal test case ( #38288 )
2022-10-31 10:15:52 +08:00
hms181231
302a8e5a58
test: Update tooltip test case ( #38283 )
2022-10-31 10:14:10 +08:00
hms181231
759abca658
test: Update typography test case ( #38281 )
2022-10-31 10:13:06 +08:00
Bojack
892ef7e925
fix: The text should read "No data" ( #38127 )
2022-10-30 21:33:23 +08:00
JarvisArt
4522340700
docs: fix the steps docs layout ( #38277 )
...
* docs: update dropdown wrong word
* docs: update breadcrumb wrong word
2022-10-30 17:17:47 +08:00
github-actions[bot]
55eeae5f0f
chore: auto merge branches ( #38255 )
...
chore: sync master into feature
2022-10-30 08:45:28 +00:00
afc163
59b97b98bf
Merge branch 'master' into master-merge-feature
2022-10-30 16:15:08 +08:00
afc163
9893efeb51
test: fix form test case ( #38276 )
2022-10-30 15:20:39 +08:00
afc163
8b38815283
Merge branch 'master' into master-merge-feature
2022-10-30 14:36:53 +08:00
Rex Zeng
b0fe69c18f
refactor(Anchor): rewrite CC => FC ( #38265 )
...
* fix: fix
* fix: fix
* fix: del forwardRef
* fix: add depList
* test(anchor): rewrite test to match the latest fc implementation
* fix: eslint error fix
* style: type optimization
* style: type optimization
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update Anchor.tsx
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* fix: rename
* fix: fix
* fix: fix
* Update components/anchor/style/index.less
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-30 14:35:45 +08:00
afc163
c73b9a738a
Update index.less ( #38273 )
2022-10-29 16:45:49 +08:00
Yuki Zhang
b7557751fe
chore: remove useless code for Space.Compact ( #38243 )
2022-10-28 15:06:19 +08:00
afc163
444a8e3c75
style: enlarge Carousel dots hover area ( #38257 )
2022-10-28 11:17:01 +08:00
MadCcc
5a218d0c4d
Merge branch 'master' into feature-merge-master
2022-10-27 21:57:59 +08:00
ZH-seven
d4a5c76d04
fix: Tabs get getPopupContainer from ConfigProvider( #25844 ) ( #38238 )
...
Co-authored-by: seven <zhu.hui93@iwhalecloud.com>
2022-10-27 11:23:39 +08:00
lijianan
0f63c5d6bc
fix: eslint error ( #38233 )
2022-10-26 23:50:13 +08:00
二货机器人
f311793e71
docs: Fix mistake of select listItemHeight. close #38228
2022-10-26 22:04:26 +08:00
MESSAOUDI Oussama
1da8ef619f
fix: Tabs active style in compact mode ( #38223 )
2022-10-26 16:07:05 +08:00
MadCcc
51b69283a4
test: update test case ( #38217 )
...
* test: update test case
* chore: udpate snapshot
2022-10-26 14:47:33 +08:00
行冥
3390290c26
chore: remove redundant state ( #38208 )
...
Co-authored-by: xingming <xingjiang.gxj@antgroup.com>
2022-10-25 23:24:18 +08:00
kiner-tang(文辉)
ca97b05661
fix: Remove redundant warnings ( #38190 )
...
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-25 00:07:18 +08:00
zz
9d9447e54f
refactor(DirectoryTree): simplify code ( #38184 )
2022-10-23 18:33:47 +08:00
kiner-tang(文辉)
2a1f2836f4
fix: Transfer throw error whentitles
is undefined ( #38182 )
...
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 16:06:50 +08:00
zz
072fda0f15
refactor(Typography.Link): simplify code ( #38181 )
2022-10-23 16:05:31 +08:00
kiner-tang(文辉)
21c4bcf40a
fix(table): aria-label should be use the first text content in element when column title is ReactElement in table ( #38160 )
...
* fix: aria-lable should be use the first text content in element when title is ReactElement
* fix: aria-label should be use the first text content in element when title is ReactElement
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:28:26 +08:00
kiner-tang(文辉)
80ad128aeb
fix: add titles for transer in locale ( #38168 )
...
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:23:16 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2022-10-23 00:33:45 +08:00
二货机器人
94b688ff8c
chore: feature merge master
2022-10-22 22:53:41 +08:00
Marcia Sun
ba3ab898d2
fix: incorrect transform-origin of tooltips ( #38159 )
...
For tooltips with a placement value like 'topRight' or 'bottomLeft', the previous code would calculate an incorrect transform-origin, which is fixed here.
2022-10-22 19:11:31 +08:00
lijianan
a302d128e2
refactor: delete defaultprops ( #38164 )
...
* refactor: delete defaultprops
* fix: fix eslint
* fix: fix eslint
* fix: fix eslint
2022-10-22 18:43:36 +08:00
lijianan
8054769307
refactor: delete defaultprops ( #38154 )
...
* refactor: delete defaultprops
* test: add test
* fix: fix
2022-10-22 15:00:26 +08:00
hms181231
2e389d73ab
test: Update back-top test case ( #38147 )
2022-10-21 15:10:20 +08:00
hms181231
5159bb9084
test: Update Carousel test case ( #38146 )
2022-10-21 15:09:48 +08:00
hms181231
dae4b67320
test: Update Collapse test case ( #38145 )
2022-10-21 15:09:21 +08:00
hms181231
30d2a24898
test: Update Dropdown test case ( #38144 )
2022-10-21 15:07:44 +08:00
hms181231
be1a51e5fc
test: Update form test case ( #38143 )
2022-10-21 15:06:11 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
...
* chore: use includes instead indexOf
* fix: fix
2022-10-21 11:45:55 +08:00
lijianan
769cb3c79a
style: remove repeate method ( #38133 )
...
* style: remove repeate method
* fix: del break
2022-10-20 16:37:35 +08:00
chrismorison-wt
7503caeb18
docs: fix docs for Alert closeIcon prop. Fixes #38123 ( #38124 )
2022-10-20 09:52:58 +08:00
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button ( #38090 )
...
* feat: use Space.Compact for Dropdown.Button
* test: update button demo tests
* test: update config-provider demo tests
* fix: deps-lint-skip for dropdown
* fix: lint issue
2022-10-19 23:36:41 +08:00
github-actions[bot]
f71ee5384f
chore: auto merge branches ( #38111 )
...
chore: sync master to feature
2022-10-19 09:28:49 +00:00
二货爱吃白萝卜
d30618ca5d
test: Update Form related test case with fake timer ( #38109 )
...
* test: Part test case
* test: Part test case
* test: More and More
* test: More and More
* test: all of index
2022-10-19 16:34:24 +08:00
Ernest Folch
09ab844a3a
feat: add missing it_IT translations ( #38108 )
...
Co-authored-by: Ernest Folch <efolch@ctaima.com>
2022-10-19 16:33:11 +08:00
afc163
379e99d42e
chore: update Carousel demo image ( #38102 )
2022-10-19 14:27:30 +08:00
黑雨
d9bb472487
Merge pull request #38101 from ant-design/fix/input-textarea-border
...
style: fix TextArea custom border style not working when allowClear is enable
2022-10-19 14:03:31 +08:00
黑雨
c6ddb0a692
Merge pull request #38100 from ant-design/style/Carousel-reset
...
style: fix Carousel dots reset style
2022-10-19 14:02:48 +08:00
afc163
06b0bf014f
test: update snapshot
2022-10-19 12:07:40 +08:00
afc163
58fdfc0f62
style: fix TextArea custom border style not working
...
when allowClear is enable
close #38068
2022-10-19 12:05:24 +08:00
Zheeeng
e91d25622b
chore: signatures for tests ( #37949 )
...
* fix: signatures for tests
* fix: remove unused
* fix: test cases
* fix: test cases
2022-10-19 11:50:18 +08:00
afc163
b5299ef6e2
style: fix Carousel dots reset style
2022-10-19 11:47:45 +08:00
Simon
51662df37d
fix(mentions): align type MentionsRef with rc-mentions ( #38028 )
2022-10-19 00:22:39 +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
66e932fd8f
fix(Tree): typo ( #38079 )
...
* fix: typo for tree component
* fix: restore typo less var for compatibility
2022-10-18 20:02:09 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
ee6657409b
test: update test case
2022-10-18 14:15:41 +08: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
90937a75cf
chore: code clean
2022-10-18 10:46:35 +08:00
Ju/Smwhr
3ba31acf2e
add missing french translation + improve it ( #38072 )
2022-10-18 00:45:00 +08:00
二货爱吃白萝卜
67d86a2e50
test: try to fix test timer break ( #38071 )
...
* test: try to fix test timer break
* test: update more
* test: compare more
* test: compare more
2022-10-17 23:14:44 +08:00
lijianan
b3a37b7ca9
refactor: Anchor.Link with FC ( #37957 )
...
* fix: fix
* fix: fix
* fix: revert
* fix: fix
* test: fix test case
* test: fix
* test: fix
* fix: fix
* fix: fix
2022-10-17 21:36:56 +08:00
MadCcc
b4fed31884
chore: udpate snapshot
2022-10-17 21:07:47 +08:00