16 Commits

Author SHA1 Message Date
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
sea
84376becfe refactor(components): [tooltip-v2] remove ts-nocheck comments (#16928)
* chore: remove ts-nocheck comments in tooltip-v2 index

* chore: fix type

* Update packages/components/tooltip-v2/src/content.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* chore: format

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-06-06 15:07:11 +08:00
718ffcfb85 chore(components): improve type for popper effect (#17860)
* chore(components): improve type for popper effect

Abort #17758 #17751 #17040 #17030

* chore: use `NonNullable<unknown>` instead of `{}`

* chore(components): extract a common type for popper effect

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-05 09:44:47 +08:00
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
270e1d01ba fix(components): SSR hydration error caused by disabled prop of teleport (#17551)
* fix(components): sSR hydration error caused by disabled prop of teleport

* fix(components): [teleport] type error

* chore: type error
2024-08-04 13:50:09 +08:00
d94aa4cdb5 fix(components): [abort popper] fix effect type error (#17758)
closed #17751
2024-08-03 10:37:21 +08:00
2564007850 refactor(components): optimize component boolean type (#17622)
* refactor(components): optimize component boolean type

* style(components): [overlay] fromat code
2024-07-25 14:17:23 +08:00
122b2fda82 fix: popper content type check (#17040)
* fix: popper content type check

* fix: code lint

* fix: effect type

* fix: all popper effect type

* fix: replace all EffectType

---------

Co-authored-by: Tong Siyuan <jiuran@jiurandeMacBook-Pro.local>
2024-07-22 17:33:02 +08:00
bd1613d599 feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
a30ae9d103 refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
f576d5a57b feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
12218c8454 feat(components): [tooltip-v2] implement tooltip-v2 (#6849)
- Finish implementing tooltip-v2
2022-03-27 10:55:03 +08:00
7b166ed7fd feat(components): [tooltip-v2] trigger implementation (#6844)
- Implement TooltipV2Trigger
- Implement TooltipV2Root
- Fix a potential mem leak issue in OnlyChild
- Add token for tooltip v2
2022-03-26 18:53:56 +08:00
9919e0a867 feat(components): [tooltip-v2] add new component (#6838)
* feat(components): [tooltip-v2] add new component

- Init component

* Implement trigger and only child

* Fix typing issue
2022-03-26 13:33:24 +08:00