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
2 years ago
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
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>
2 years ago
lijianan
c35787696b
demo: update demo ( #40079 )
* demo: update demo
* rerun ci
2 years ago
lijianan
d3764fcce3
test: refactor test case demo CC => FC ( #40070 )
* test: refactor test case demo CC => FC
* add type
* type
2 years ago
二货爱吃白萝卜
3539e668f7
chore: adjust tooltip for cov ( #40013 )
* chore: adjust tooltip for cov
* chore: update bug version
2 years ago
lijianan
dedbbda5f2
type: LiteralUnion optimization ( #39871 )
2 years ago
lijianan
d55d39b811
type: LiteralUnion optimization ( #39871 )
2 years ago
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
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.
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
lijianan
c639b2f2ab
refactor: delete defaultprops ( #37834 )
* refactor: delete defaultprops
* fix: fix
* fix: fix
2 years ago
二货爱吃白萝卜
538d15a094
fix: Tooltip pure panel not support `color` prop ( #37698 )
* refactor: extract color func
* fix: Tooltip render panel color
* test: Update snapshot
2 years ago
二货爱吃白萝卜
646b71b418
fix: Tooltip not override children className when it's not a string type ( #37598 )
* fix: Tooltip not override children className when it's not a string type
* chore: bump rc-select
2 years ago
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2 years ago
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Kyrielin
c435eaad3f
feat(Tooltip): support React.Fragment as children ( #37045 )
2 years ago
叶枫
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
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio ( #36483 )
* fix: tooltip cannot close on disabled Radio
* test: add test
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货机器人
fb322cd70e
refactor: Full token tooltip ( #35896 )
* refactor: full token
* refactor: full token
* test: Udpate snapshot
3 years ago
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs ( #35683 )
* chore: init
* chore: part of
* fix: Buttons style
* chore: refactor dom structure
* test: Update snapshot
* test: more coverage
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
PCCCCCCC
b3e8e2d555
Refactor:Component Tooltip Less to cssinjs ( #35340 )
* refactor: add basic css layout for tooltip
* style: handle the special mutilte repeat property
* style: complete the custom color style
* style: replace with Logical properties
* style: skip check some logic property
* docs: add FIXME necessary
* chore: adjust bundle size and trigger the preview ci
3 years ago
MadCcc
926a8aaf8a
feat: tooltip round arrow ( #33710 )
* feat: tooltip round arrow
* chore: update demo
* docs: update docs
* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker
* chore: code clean
* fix: fill gap
* chore: code clean
* chore: raise css bundle size
* fix: arrow style
* feat: use full path
* test: update snapshot
* perf: hack firefox
* perf: more magic position
* perf: RangePicker's arrow position
* chore: bump rc-picker version
* fix: arrow position
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch ( #33860 )
* fix: tooltip should work with loading switch
* fix: only works for switch
* chore: code clean
3 years ago
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
3 years ago
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
3 years ago
gaozhenqian
832aa81c82
fix(Tooltip): the mistake that tooltip mount on wrong dom ( #30963 )
when getPopupContainer of tooltip's props is undefined or null
4 years ago
二货机器人
53142ef237
refactor: rc-tooltip use motion config ( #29555 )
* refactor: internal add deadline & fix defaultVisible logic
* back of demo
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
叶枫
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
4 years ago
Jase Pellerin
13f9285cc6
fix: Allow overlayInnerStyle to pass through ( #27682 )
Currently, the innerStyle is only passed if a color is provided which does not match the preset colors. This fix allows `overlayInnerStyle` to pass through regardless of the value of `color`.
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
偏右
bc950d9a24
fix: Tooltip/Popover children type ( #26534 )
close #26517
4 years ago
CornerSkyless
1da3144d91
fix Tooltip custom color typescript type definition ( #25315 )
4 years ago
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background ( #23155 )
* feat(tooltip): Tooltip support colour background
Closes #23127
* patch: update test case
* chore: repalce h1 tag to Divider
* chore: update demo
5 years ago
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook ( #23699 )
* refactor(tooltip): rewrite with hook
* fix lint
* fix
* fix test
* fix
* fix test
* refactor(tooltip): rewrite with hook
* fix lint
* fix test
* Update SliderTooltip.tsx
* Update tooltip.test.js
* Update index.test.js
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
Amumu
935b0e5887
fix: Fix crash when mismatch placement ( #23756 )
* fix Fix crash when mismatch placement
* add test case
5 years ago
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue ( #22461 )
* chore: add .ant-tooltip-disabled-compatible-wrapper
* fix: empty button align issue
5 years ago
Wendell
889a9ba9fd
fix: fix tooltip trigger type ( #22043 )
* fix: fix tooltip trigger type
* fix: use extends over duck type
* update rc-tooltip deps
* fix rate ts define
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
偏右
43c64e924e
✅ add test case to tooltip ( #21826 )
5 years ago