-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/EMP-3792-Migrate-result-list
- Loading branch information
Showing
17 changed files
with
467 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,20 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [1.0.0-alpha.5](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.5) (2024-05-08) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* `MainScroll` drops the usage of `NoElement` as root element and uses a div instead. This extra div could break the style of an application that relies on `MainScroll` rendering their content directly. | ||
`MainScrollItem` drops the usage of `NoElement` if no `tag` prop is passed and uses a div as fallback. | ||
|
||
### Features | ||
|
||
* migrate `MainScroll` and `MainScrollItem` components (#1456) ([b720132](https://github.com/empathyco/x/commit/b7201322bbf1f5696e80e00622d21d653228177c)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.4](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.4) (2024-05-06) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './search'; | ||
export { default as TestElementsList } from './test-elements-list.vue'; | ||
export * from './scroll'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default as TestScroll } from './test-scroll.vue'; | ||
export * from './x-module'; |
22 changes: 22 additions & 0 deletions
22
packages/_vue3-migration-test/src/x-modules/scroll/test-scroll.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<script setup lang="ts"> | ||
import MainScroll from '../../../../x-components/src/x-modules/scroll/components/main-scroll.vue'; | ||
import MainScrollItem from '../../../../x-components/src/x-modules/scroll/components/main-scroll-item.vue'; | ||
const items = Array.from({ length: 24 }, (_, index) => ({ id: `item-${index}` })); | ||
</script> | ||
|
||
<template> | ||
<MainScroll> | ||
<ul class="list" data-test="scroll"> | ||
<MainScrollItem v-for="item in items" :key="item.id" class="item" tag="article" :item="item"> | ||
{{ item.id }} | ||
</MainScrollItem> | ||
</ul> | ||
</MainScroll> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
.list { | ||
overflow: auto; | ||
height: 100px; | ||
} | ||
</style> |
10 changes: 10 additions & 0 deletions
10
packages/_vue3-migration-test/src/x-modules/scroll/x-module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { PrivateXModuleOptions } from '../../../../x-components/src/plugins/x-plugin.types'; | ||
import { ScrollXModule } from '../../../../x-components/src/x-modules/scroll/x-module'; | ||
|
||
export const scrollXModule: PrivateXModuleOptions<ScrollXModule> = { | ||
storeModule: { | ||
state: { | ||
pendingScrollTo: 'item-10' | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,20 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [5.0.0-alpha.8](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-05-08) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* `MainScroll` drops the usage of `NoElement` as root element and uses a div instead. This extra div could break the style of an application that relies on `MainScroll` rendering their content directly. | ||
`MainScrollItem` drops the usage of `NoElement` if no `tag` prop is passed and uses a div as fallback. | ||
|
||
### Features | ||
|
||
* migrate `MainScroll` and `MainScrollItem` components (#1456) ([b720132](https://github.com/empathyco/x/commit/b7201322bbf1f5696e80e00622d21d653228177c)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.7](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-05-06) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
packages/x-components/src/components/animations/__tests__/disable-animation-mixin.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.