Commit Graph

41 Commits

Author SHA1 Message Date
Xc
b1f3b6602c docs(components): [tooltip, popover] controlled mode warnings (#12088)
* docs(components): [tooltip, popover]
* Add controlled mode api description

* docs: add code lost

* chore: add missing comments

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-29 14:18:39 +08:00
Rainbow
c039171ecb docs(components): [tooltip/time-picker/datetime-picker] add the missing prop about popper (#22284)
* docs: add the missing prop about popper

* docs: update

* docs: update
2025-09-23 17:29:47 +08:00
qiang
7a18e717d8 feat(components): [tooltip] add focus-on-target prop (#21905)
* feat(components): [tooltip] add focus-on-hover prop

* chore: rename ot focusOnTarget

* chore: remove focusVisible

* chore:  error
2025-09-04 09:05:52 +08:00
btea
172cb07005 docs(components): [tooltip] add faq (#20921)
* docs(components): [tooltip] add faq

* docs: update
2025-06-05 02:11:08 +02:00
Noblet Ouways
822fc0fa2e docs: add missing button types (#20758)
* docs: add missing button types

* docs: add missing version for underline link

* pnpm format

* Revert "docs: add missing version for underline link"

This reverts commit 73e2e2d399.
2025-05-16 15:47:11 +08:00
Xiao
8d2f08108b fix(components): [popper] fix arrow overflow issue (#20049)
* fix(components): [popper] fix arrow overflow issue

Add popperArrowProp to popperContentProps to ensure usePopper
correctly applies arrow options, preventing the arrow from
overflowing the popper container edges.

* fix(components): [popper] change arrowOffset to ref for reactivity

* feat(components): [tooltip] add arrow-offset property

- Allow users to control the padding of the tooltip arrow
- Prevents the arrow from touching the popper's edge

Reference: https://popper.js.org/docs/v2/modifiers/arrow/#padding

* fix(components): [popper] add reactive watch for arrowOffset prop

* feat(components): [popper] remove unused arrowOffset prop

Removes unused arrowOffset prop and related logic
- Removes arrowOffset from PopperContentInjectionContext
- Removes arrowOffset prop watching and state management
- Cleans up related test cases

* docs(components): [tooltip] update version requirement

update version requirement for arrow-offset prop

* docs(components): [tooltip] update `arrow-offset` version

* Update docs/en-US/component/tooltip.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-07 10:02:28 +00:00
Spaceman
241a22414c docs(components): [el-tooltip] add example using append-to API (#19943)
* docs(docs): [el-tooltip] Add example using append-to API

* chore: del type

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-02-28 18:02:11 +08:00
Jeff
d9da5341d2 docs: [tooltip] improve document content and examples (#19204)
docs: [Tooltip] Improve document content and examples
2024-12-10 21:38:35 +08:00
sea
768f5999f8 improvement(components): [tooltip] dom ref types (#18923) 2024-11-17 14:14:25 +08:00
qiang
c0f06a4fc4 docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
zeyong tsai
7c5a2827f6 docs(components): [message-box/select/tooltip] fix typo (#16127)
docs: fix typo

Co-authored-by: zeyong.cai <zeyong.cai@xquant.com>
2024-03-15 11:11:22 +08:00
赵添
f33979d228 feat(components): [select] & [select-v2] add fallbackPlacements prop (#15765) 2024-02-05 17:16:18 +08:00
Xc
2bb2d07010 docs(components): [tooltip] use new tag (#12660) 2023-04-29 08:16:13 +09:00
mg5566
ca5fd51040 docs(components): [tooltip] Fix typos objcet -> object (#12470)
fix typos objcet -> object

Co-authored-by: FE_강명구 <mg_@ex-em.com>
2023-04-15 20:02:49 +08:00
iamkun
1987eb8fe1 docs: update tooltip text (#11972) 2023-03-12 23:16:20 +08:00
Xc
a67b52ccce docs(components): [tooltip] (#11850)
* docs(components): [tooltip]
* Update popconfirm docs with new syntax.
* Remove tabindex and manual api

* docs(components): [tooltip]
* add Exposes

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]

* docs(components): [tooltip]
2023-03-10 14:42:46 +08:00
LooSheng
91c79c955e docs(ssr): component ssr/ssg usage tips (#10982) 2022-12-15 19:59:34 +08:00
Peak Wong
deccb07f1f docs: update tooltip.md (#10325) 2022-10-31 08:03:04 +00:00
Xc
1f22916ad7 fix(components): [tooltip] remove deprecated api (#10264) 2022-10-27 15:16:29 +08:00
qiang
ae67a610bd docs: optimize the format of some types in the document (#9998) 2022-10-05 18:21:36 +08:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
amaury-hanser
97380c5525 docs(components): fix popper-options to provide working example (#8793)
popper-options attribute allow to pass popper js options

the example was wrong and misleading.

closed #8464

Co-authored-by: RealityBoy <1923740402@qq.com>
2022-09-04 00:15:48 +08:00
Xc
ef22e5db62 feat(components): [tooltip] adjust controlled mode (#8762)
* feat(components): [tooltip] adjust controlled mode
2022-07-17 23:14:51 +08:00
白雾三语
884690c0cf docs(components): [tooltip] add trigger-keys attribute (#8740) 2022-07-14 21:46:10 +08:00
LinZhanMing
a9277187cf docs: fix popper.js docs link(dropdown, select-v2, tooltip) (#8474) 2022-06-25 22:43:55 +09:00
류한경
2805cb8aae docs: fix typo (#8078)
* docs: fix typo

* fix: restore text
2022-06-04 06:48:44 +08:00
blackie
0ecc6bc91e docs(components): [tooltips] Update docs (#6962) 2022-04-13 22:15:37 +08:00
JeremyWuuuuu
5afe23c18c refactor(components): [el-popper] refactor popper to script setups (#6725)
- Update legacy syntax to script setup for popper
- Update tests due to changes
- Move popper/token to element-plus/tokens
2022-03-24 21:22:46 +08:00
weidehai
7e9ff25aea test(components): [el-tooltip] add unit test about appendTo (#6178) 2022-02-21 09:12:29 +08:00
jeremywu
dbb00ef4b6 fix(components): [el-popper] append to body compatability (#5755)
* fix(components): [el-popper] append to body compatability

- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.

* Address PR comments

* Update documentations for deprecated

* Fix formatting issue
2022-02-04 14:59:58 +08:00
kooriookami
7032e75721 style&doc(components): [el-tooltip] improve style and doc (#5598)
* style: change style

* style: remove useless style

* style: update

* docs: update
2022-01-25 16:10:49 +08:00
weidehai
47fdd4f542 chore(docs): fix tooltip document (#5421) 2022-01-20 15:28:18 +08:00
iamkun
bb1e86a1f8 docs: update tooltip doc 2022-01-12 00:58:29 +08:00
jeremywu
60487af6ba docs(components): [el-tooltip] enhance el-tooltip documentations (#5298)
- Add APIs that are already in the code to the documentation
- Enhance some documentation to notice users about the feature
2022-01-11 14:34:40 +08:00
jeremywu
dd19cae2bc refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00
Alan Wang
60bdd14317 fix(components): [el-tooltip] fallback placement (#4771) 2021-12-10 18:32:30 +08:00
jeremywu
8fdf558b04 fix(docs): adding title for components (#4025)
- Remove `type` field.
- Add `title` field
2021-10-25 15:21:08 +08:00
jeremywuuuuu
74fa835f9f fix(docs): add extra field for frontmatter
- Add `type` into frontmatter field to avoid crowdin auto wrap
2021-10-25 14:26:50 +08:00
jeremywu
db976bba68 chore(docs): adding lang field for markdowns (#4005)
- Add lang field for all *.md files' frontmatters
2021-10-22 19:32:39 +08:00
qiang
8adbd4735b build: add default slot to generate better code hint files (#3763) 2021-10-04 08:26:51 +08:00
jeremywu
c6bed151a5 epic(website): refactor website (#3426)
* feat(website): init viteperss (#3162)

* init vitepress

* Finish homepage

* relayout page

* partial finish

* update

* update use lang

* remove font weight; change font size

* docs: optimize docs folder structure

* reorganize project

* fix ssr issue

* fix build issues

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>

* feat(website) integrate with crowdin (#3218)

- Introduce Crowdin CLI
- Add script for fetching Crowdin token from env
- Add script for local development

* fix formatting

* update codeblocks (#3249)

* feat(docs): update website preview script

- Update azure preview build script
- Eliminate dead links

* bootstrap docs

* fix homepage layout issue

* fix formating

* Finish ToC and codepen integration

* reorganized files and fix issue that causes demo unavailable after build

* feat(docs): migration documentations (#3283)

* feat(docs): migration documentations

- Move documentations to docs/

* remove unused files

* docs: [popconfirm] migrate document (#3285)

* feat(docs): migrate documentation from space.md to upload.md (#3292)

- Upload documentations acorrodingly

* docs: [date-picker] migrate document  (#3289)

* docs: [date-picker] migrate document

* fix: typo

* docs: [slider] migrate document (#3287)

* docs: migrate documents (#3290)

* docs: migrate-datetime-picker

* docs: migrate descriptions

* docs: migrate dialog

* docs: migrate divider

* docs: migrate drawer

* docs: migrate drapdown

* docs: fix drapdown

* docs: migrate empty

* docs: migrate form

* docs: add scoped for style

* docs: simplify toRefs

* chore: update doc (#3297)

* chore: update doc

* chore: update doc

* chore: update doc

* feat(docs): migrate documentations from infinite-scroll to page-header (#3303)

- Update docs accordingly
- Update CodePen icon to match style
- Update component name to match others

* docs: migrate documentions (#3293)

migrate list:
* image
* popover
* scrollbar
* radio
* rate
* skeleton
* select
* select-v2
* reault
* progress
* pagination

* chore: update doc (#3305)

Co-authored-by: 0song <0song@gmail.com>

* Fix broken pipeline

* chore: update demo plugin

* website perfection

* fix hydration bug

* docs: update guide (#3342)

* WIP docs

* docs: update docs

* add dark mode

* make dev fetch components from local instead of node_modules

Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>

* fix(docs): fix codepen code example issue (#3380)

* fix(docs): fix codepen code example issue

- Add lang="ts" for all example files
- Fix codepen import error

* revert changes in resource.vue

* feat(docs): complete crowdin integration (#3408)

* Update mds for preparing the integration script

* deprecate old website

* update sponsors and even handler for resize

* update build script for preview

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* update deploy script and some bugs

* Fix existing issue

* chore(project): add dev preview workflow

* chore(project): rename dev to staging

* update the size of toc

* update staging-preview script

* update preview scripts

* enable website build for preview

* fix build error

* final commitment for update the details

* remove azure pipeline

* move docs ignores into docs and update date

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
2021-09-17 00:18:50 +08:00