lijianan
ea9549ab7e
refactor: rewrite Overlay of PurePanel ( #50097 )
2024-07-26 16:40:45 +08:00
LLmoskk
1fe95ecffa
fix: should not display overlay when the content is null/undefined ( #50064 )
...
* fix: content结果为null的情况不显示overlay
* fix: 兼容undefined与null
* Update index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update getRenderPropValue.ts
Signed-off-by: lijianan <574980606@qq.com>
* chore: update snap
* Update index.test.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: H JY <huangjunyi@ama-auto.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-26 13:38:55 +08:00
lijianan
7769a40c72
refactor: refactor InputNumber code ( #49428 )
2024-06-15 19:44:35 +08:00
@linhf2024
a512f81222
fix(popover): support defaultOpen ( #48481 )
...
* fix(popover): support defaultOpen
* chore: add test
* fix: remove test code
* fix: open use default value
* chore: Coding style
* chore: devtool add warning
* fix: remove warning
* fix: Remove unused dependencies
---------
Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 11:34:11 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type ( #48346 )
...
* type: optimize CompoundedComponent type
* chore: fix
* type: fix type
* chore: fix
* type: fix type
* type: add ts-ignore
* fix: fix
* chore: revert
2024-04-09 16:49:47 +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
Cooper
ca6c932b39
feat: Popover can be closed by ESC when trigger is focus or click ( #47928 )
...
* feat:Add keydown event to handle escape
* fix
* fix:use exact same logic with popconfirm
* fix:move same logic from popconfirm to popover
* fix
* fix
* add test
* fix
* fix
* fix
* test size-limit
* fix
* fix popconfirm test
* fix
* fix
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 10:33:56 +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
MadCcc
78a95cffbb
Merge branch 'master' into feature-merge-master
2023-11-15 16:16:20 +08:00
kiner-tang(文辉)
2777d2c39f
fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container ( #45864 )
...
* fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/popconfirm/index.tsx
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
---------
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-11-14 18:01:23 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var ( #45705 )
...
* feat: Tooltip, Popover, Dropdown, Tour support css var
* chore: update snapshot
* chore: code clean
* chore: code clean
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: add test
2023-11-08 14:56:15 +08:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt ( #45490 )
...
* feat: container opt
* feat: container opt
* feat: container opt
* feat: container opt
2023-10-23 04:16:41 -05:00
kiner-tang(文辉)
8c49b38e94
feat: Popover support z-index manager ( #45420 )
...
* feat: Popover support z-index manager
* feat: update snap
* Update components/popover/__tests__/index.test.tsx
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
---------
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:36 -05: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
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
Fly me to the moon
dcb4611e25
type: replace unknown with TooltipRef ( #43450 )
...
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 17:39:59 +08:00
MaHui
4271ff0976
fix: Popover display empty div when title and content is null ( #42217 )
...
* fix: Popover display empty div when title and content is null
* test: Popover add test
* lint: remove useless block statement
---------
Co-authored-by: MaHui <mahuiyoung@cmbchina.com>
2023-05-08 19:33:34 +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
MadCcc
8ae56f2371
feat: tooltip support arrow.pointAtCenter ( #40989 )
...
* feat: tooltip support arrow.pointAtCenter
* test: rm only
* fix: Popover
* fix: rm popover arrow logic
* test: update test
* chore: skip debug demo test
2023-03-05 17:51:19 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop ( #40234 )
...
* feat: tooltip support arrow props
* docs: update docs
* chore: update rc-tooltip version
* feat: update snapshots
* feat: update snapshots
* style: format code
* Update components/tooltip/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: code optimize
* docs: update docs
* feat: code optimize
* feat: del doc
* feat: update snapshots
* feat: update snapshots
* feat: update snapshots
* feat: refactor dropdown arrow style
* feat: comment
* Update components/tooltip/demo/arrow.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: popover support arrow prop
* feat: tour arrow style optimize
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update test case
* feat: update test case
* feat: update test case
* Update components/popover/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-19 11:21:05 +08:00
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
...
* fix: wireframe style for popconfirm
* chore: add demos
2022-12-06 23:14:30 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2022-09-30 14:26:41 +08:00
lijianan
08188f72ce
style: Code optimization ( #37804 )
...
* style: Code optimization
* style: Code optimization
* style: Code optimization
2022-09-30 10:17:49 +08:00
二货机器人
2c3ad833f1
feat: Popover Pure Panel ( #36514 )
...
* feat: Popver shadow
* test: Update snapshot
* chore: clean up
2022-07-14 12:06:18 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
zombiej
c89c61e2c4
Merge remote-tracking branch 'origin/feature' into next
2022-06-02 16:21:16 +08:00
afc163
6423e22f78
chore: merge feature
2022-06-01 18:28:31 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs ( #35683 )
...
* chore: init
* chore: part of
* fix: Buttons style
* chore: refactor dom structure
* test: Update snapshot
* test: more coverage
2022-05-23 20:34:20 +08:00
zombiej
3a4d399248
chore: merge feature
2022-05-23 15:52:14 +08:00
二货机器人
8a6874cba3
refactor: align with popover ( #35676 )
2022-05-23 15:41:59 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +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
MadCcc
aa9a36da43
refactor: Popover & Avatar migrate to genComponentStyleHook ( #34913 )
2022-04-07 21:50:35 +08:00
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
...
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
2022-03-25 17:54:57 +08:00
xrkffgg
1627207255
refactor: popover cssinjs ( #34607 )
...
* refactor: popover cssinjs
* fix cls
* fix cls
* fix overlay
* fix: token
* fix: util
* fix: block -> line
* fix: interface
2022-03-25 13:20:42 +08:00
Dawnlck
17d6a5e407
fix(popover): fix the problem that popover display when the props'content is empty ( #33835 )
...
* fix(popover): fix the problem that popover display when the props'content is empty
* refactor(popover): 更新代码判断逻辑
* test(popover): 添加popover的test
* feat(popover): 更新snapshot
* feat(popover): 更新剩余的snapshot
2022-02-07 15:28:46 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
Tom Xu
c2dc6305f3
refactor(popover): rewrite with hook ( #23535 )
...
* refactor(popover): rewrite with hook
* Update index.tsx
2020-04-27 11:59:05 +08:00
偏右
cff8c08286
🔨 simplify Popconfirm and Popover dom structure ( #22052 )
2020-03-10 15:17:23 +08:00
Gibson C
428f743b50
feat: Support render props for <Popover/> and <Popconfirm/> ( #22034 )
...
* feat: Support render props for <Popover/>
* feat: Support render props for <Popconfirm/>
* docs: Update Popconfirm docs
2020-03-10 13:57:02 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail ( #19408 )
...
* fix: upgrade rc-tooltip lint fail
* fix tooltip typescript type
* rebase and update snapshots
* update tests
* change trigger mock export
* upgrade rc-trigger
* fix type error
* upgrade dependencies
* update snapshots
* upgrade rc-calendar and test use sleep
* update snapshots
* fix test fail
* update snapshots
2019-12-05 16:15:10 +08:00
vagusX
eac30ec8e4
Feat/remove deprecated ( #17510 )
...
* feat: remove warnings for linkRender, nameRender in Breadcrumb
* feat: remove warnings for onOpen, onClose in Menu
* feat: remove warnings for overlay in Popover
* feat: remove warnings for columnsPageRange, columnsPageSize in Table
* feat: remove warnings for afterClose in Tag
* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer
* fix: types in Transfer
* feat: update test cases in Transfer
* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00