知晓同丶
98041055b0
feat(components): [message] add placement option & method ( #21747 )
...
* feat(components): [message] add `placement` option & method
* fix: resolve test hanging issue caused by reactive circular dependency
* test: add test
* feat: add placement `top-left/top-right/bottom-left/bottom-right`
* refactor: split large normalizeOptions function
* docs: adjust description text
* chore: remove unused height expose
* refactor: simpify code
* style: opt-in center style & simplified animations
* style: replace :not(.center) with :is(.left,.right) for more explicit
* feat: add `placement` to `config-provider`
* fix: fix test warning when placement is undefined
* refactor: remove useless style & simpify types
* fix: avoid circular dependency
* chore: types related
* Update docs/examples/config-provider/message.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update packages/components/config-provider/__tests__/config-provider.test.tsx
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: make typecheck happy & format
* style: add top/bottom transition
* chore: format
---------
Co-authored-by: zhixiaotong <947803089@qq.com >
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-08-19 15:16:49 +00:00
Noblet Ouways
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 db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
w2xi
4e7058ee7d
refactor(components): [message] use message type constants ( #20355 )
...
- Update tests to use `messageTypes` for dynamic type checking
- Refactor `Message` type definition to use mapped type for better scalability
2025-04-07 21:16:52 +08:00
jumtp
eb5d46d296
chore(test): [message] wrong tag typo ( #14099 )
...
fix(test-utils): [message.test] wrong tag
2023-08-26 02:06:30 +00:00
Jeremy
d58149f4bb
refactor(components): [config-provider] ( #11749 )
...
* refactor(components): [config-provider]
* Port useConfigProviders and tokens to components/.
* refactor(hooks): [global-config]
* Reimplement a few coupled hooks.
* Remove hooks/globa-config and tokens/&.
* Update import paths based on the changes.
* chore: fix a failing test case
2023-02-28 10:35:56 +08:00
三咲智子
37ed7a15ee
fix(components): [message]: offset ( #8379 )
...
* fix(components): [message]: offset
closes #7217 , #8368
2022-06-22 09:01:23 +08:00
三咲智子
786360b7dd
refactor(components): [message] fix typings and switch to script setup ( #8378 )
2022-06-21 19:50:16 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00