thinkasany
b2f3a8085c
chore: sync feature into next
2025-05-24 09:06:29 +08:00
afc163
4546987d0c
chore: refactor .dumi code folders ( #53437 )
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 22:33:40 +08:00
EmilyyyLiu
47eb1b661e
feat(Space): unify orientation attribute usage ( #53669 )
...
* feat[Space]:Unified use of orientation attribute
* feat: use useOrientation and change doc, add test
* feat: add warning
* test: update snapshots
* Update components/space/Compact.tsx
Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
* test: reset snapshots,delete direction default value
* feat: change demo direnction->orentation
* feat: demos direction ->orientation
* feat: add vertical, and change demos , doc
* feat: change demo space -> flex
* feat: change demo space -> flex
* feat: space -> flex
* Update components/space/index.tsx
Signed-off-by: thinkasany <480968828@qq.com>
* Update components/space/Compact.tsx
Signed-off-by: thinkasany <480968828@qq.com>
* add warning toHaveBeenCalledWith
---------
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-05-23 15:20:33 +08:00
Jianan Li
f88e6782b2
chore: merge feature into next
2025-05-07 12:24:39 +08:00
lijianan
92248806e9
refactor: Unified destroyOnHidden API ( #53739 )
...
* refactor: Unified destroyOnHidden API
* fix: fix type
* fix: fix type
* fix: fix
* fix: fix
* fix: fix
* doc: update doc
* doc: update doc
* demo: update demo
2025-05-06 19:02:01 +08:00
thinkasany
7324a7afbf
chore: sync feature into next
2025-04-28 10:36:08 +08:00
lijianan
c3c5e4dce9
refactor: deprecated destroyTooltipOnHide
API ( #53656 )
...
* refactor: deprecated destroyTooltipOnHide API
* demo: demo update
* demo: demo update
* demo: demo update
* fix: fix
---------
Co-authored-by: Jianan Li <jianan@orderly.network>
2025-04-26 16:21:22 +08:00
lijianan
284fce4871
site: add componentName for SemanticPreview ( #53362 )
...
* site: add componentName for SemanticPreview
* site: add componentName for SemanticPreview
* chore: fix
2025-04-01 07:50:38 +08:00
afc163
949f2c2a33
docs: add code sample for Semantic Previewer ( #53351 )
2025-03-31 13:05:53 +08:00
Dan M.
7da2f1fb8d
docs: add FAQ for Tooltip/Popover/Popcomfirm custom component usage ( #53026 )
...
* Add FAQ entry for Toolkit + custom component
* Add tooltip example for custom component
* Add link to example in Tooltip doc page
* Add link to issue
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Replace custom props with HTMLSpanElement props
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Import handlers as types
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Fix formatting
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Update components/tooltip/demo/wrap-custom-component.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Update components/tooltip/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Dan M. <danspamable@gmail.com>
* Add link for Wrap Custom Component
* Update components/tooltip/demo/wrap-custom-component.tsx
Signed-off-by: thinkasany <480968828@qq.com>
* test: update snap
* fix md lint
* chore: update docs
---------
Signed-off-by: Dan M. <danspamable@gmail.com>
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 𝑾𝒖𝒙𝒉 <wxh1220@gmail.com>
2025-03-06 10:06:11 +08:00
thinkasany
5e11413222
demo: use null
instead ''
for tooltip's disabled demo ( #53069 )
...
* demo: use instead for tooltip's disabled demo
* empty commit
Co-authored-by: lijianan <574980606@qq.com>
---------
Co-authored-by: lijianan <574980606@qq.com>
2025-03-06 05:44:11 +08:00
thinkasany
a0ad4224e5
demo: improve disabled demo for tooltip ( #53066 )
...
Co-authored-by: yellworyan <877520264@qq.com>
2025-03-05 21:41:36 +08:00
thinkasany
7c563bd269
docs: improve root translation for semantic ( #52509 )
...
* docs: improve root translation for semantic
* update
2025-01-21 14:38:46 +08:00
lijianan
28401583c2
docs: update disabled explain ( #52467 )
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
2025-01-18 11:44:43 +08:00
thinkasany
42f9789669
feat: ConfigProvider support popover ( #52110 )
...
* feat: ConfigProvider support popover
* remove tooltip debug demo
2024-12-25 10:41:58 +08:00
thinkasany
ce87c614e1
feat: ConfigProvider support tooltip ( #51872 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* feat: ConfigProvider support tooltip
* fix
* fix
* fix
* refactor: inner to body
* revert SemanticPreview update
* fix
* clear unused
* update Semantic demo
* update locale content descrption
2024-12-24 15:21:26 +08:00
二货爱吃白萝卜
d2b311f27a
fix: Tooltip min width to resolve arrow pos ( #51904 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* fix: tooltip arrow min width
* test: update snapshot
* fix: multiple width
* demo: update demo
2024-12-05 14:51:56 +08:00
thinkasany
6e12a903c7
demo: improve the use of Segmented ( #51324 )
2024-10-22 10:09:31 +08:00
lijianan
96a06943a5
demo: site & demo update ( #50322 )
2024-08-09 11:24:29 +08:00
lijianan
a55195f25b
demo: update Popover
& Tooltip
& Popconfirm
demo ( #49815 )
...
* demo: update demo
* fix: fix
* fix: fix
* fix: fix
2024-07-11 10:03:12 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode }
=> React.PropsWithChildren
( #48771 )
...
* demo: update demo type React.ReactNode => React.PropsWithChildren
* fix: fix
2024-05-06 12:04:27 +08:00
二货爱吃白萝卜
c0ae625d92
docs: fix tooltip shift demo ( #48628 )
2024-04-25 17:31:07 +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
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones ( #47519 )
...
* fix:废弃 api 替换成新 api
* Update demo-extend.test.ts.snap
---------
Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
JarvisArt
5727ce00ef
demo: add tooltip disabled demo ( #45748 )
...
* demo: add disabled demo
* demo: Modify tooltip Disable demo Description
* demo: Modify tooltip Disable demo Description
2023-11-09 17:15:21 +08:00
lijianan
f02ce413da
demo: update tooltip demo ( #45620 )
...
* demo: update tooltip demo
* fix: fix
2023-11-01 22:27:37 +08:00
afc163
67c8e8b259
demo: simplify demos ( #45585 )
2023-10-30 15:02:00 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style ( #45581 )
2023-10-30 13:57:57 +08:00
二货爱吃白萝卜
2329880074
fix: Popover / Tooltip jump when height change ( #44976 )
...
* chore: use dynamicInset
* test: update snapshot
* test: update snapshot
* chore: bump rc-trigger
* chore: update snapshot
2023-09-20 19:59:26 +08:00
栗嘉男
ec86f50650
test: update snap
2023-07-28 21:09:02 +08:00
二货爱吃白萝卜
418f95eb6c
fix: tooltip not effect on disabled element ( #43872 )
...
* fix: disabled wrapper
* test: update snapshot
* chore: fix lint
2023-07-28 17:39:38 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
...
* chore: align motion follow popup point
* test: update snapshot
2023-05-08 23:28:13 +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
二货爱吃白萝卜
0c0faaa9e1
docs: Update Tooltip docs ( #40754 )
...
* chore: update pkg
* docs: update doc
2023-02-16 16:08:03 +08:00
二货爱吃白萝卜
5c1162a140
docs: update demo ( #40732 )
...
* docs: update demo
* test: update snapshot
* test: update snapshot
* chore: fix lint
2023-02-15 14:56:22 +08:00
二货爱吃白萝卜
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
2023-02-15 10:21:28 +08:00
二货机器人
56f76c79ec
chore: feature merge master
2023-01-19 17:21:02 +08:00
lijianan
b9a6b7b578
demo: update demo ( #40318 )
...
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2023-01-19 15:37:54 +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
lijianan
26ec8fcdc9
demo: update demo ( #40295 )
...
* demo: update demo
* update demo
* update demo
2023-01-18 14:19:59 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
二货爱吃白萝卜
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>
2022-11-09 12:28:04 +08:00
二货爱吃白萝卜
538d15a094
fix: Tooltip pure panel not support color
prop ( #37698 )
...
* refactor: extract color func
* fix: Tooltip render panel color
* test: Update snapshot
2022-09-22 16:55:55 +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
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
...
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2022-07-13 23:06:28 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
...
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
2022-05-19 09:46:26 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
afc163
19cd3519dd
fix: Tooltip arrowPointAtCenter 1px shift bug ( #31201 )
...
close #31197
2021-06-30 11:48:11 +08:00