-
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 remote-tracking branch 'refs/remotes/origin/main' into fix/mino…
…r-vue3-warnings # Conflicts: # packages/_vue3-migration-test/src/components/animations/test-fade-and-slide.vue
- Loading branch information
Showing
23 changed files
with
452 additions
and
316 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,33 @@ | |
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.35](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.35) (2024-06-24) | ||
|
||
|
||
### Features | ||
|
||
* replace DisableAnimationMixin by useDisableAnimation composable (#1469) ([f498d3f](https://github.com/empathyco/x/commit/f498d3fba5d294391dcfca47f9724558e98f50f0)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.34](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.34) (2024-06-24) | ||
|
||
|
||
### Features | ||
|
||
* **extra-params:** migrate extra params and snippet config extra params (#1531) ([d869f18](https://github.com/empathyco/x/commit/d869f1886c11f74af8a6350033d7567385ad629d)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.33](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.33) (2024-06-19) | ||
|
||
|
||
### Features | ||
|
||
* migrate popular-searches x-module (#1524) ([f79456d](https://github.com/empathyco/x/commit/f79456d4589b3f9dee5fd86fad9625b853dde267)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.32](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.32) (2024-06-18) | ||
|
||
|
||
|
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
13 changes: 13 additions & 0 deletions
13
packages/_vue3-migration-test/src/components/extra-params/test-extra-params.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,13 @@ | ||
<template> | ||
<SnippetConfigExtraParams :values="{ catalog: 'empathy' }" /> | ||
{{ params }} | ||
</template> | ||
<script setup lang="ts"> | ||
import { provide } from 'vue'; | ||
import SnippetConfigExtraParams from '../../../../x-components/src/x-modules/extra-params/components/snippet-config-extra-params.vue'; | ||
import { useState } from '../../../../x-components/src/composables/use-state'; | ||
const snippetConfig = window.InterfaceX?.getSnippetConfig(); | ||
provide('snippetConfig', snippetConfig); | ||
const { params } = useState('extraParams', ['params']); | ||
window.InterfaceX?.setSnippetConfig({ store: 'demo', lang: 'es', warehouse: 1234 }); | ||
</script> |
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
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
2 changes: 2 additions & 0 deletions
2
packages/_vue3-migration-test/src/x-modules/popular-searches/index.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,2 @@ | ||
export * from './x-module'; | ||
export { default as TestPopularSearches } from './test-popular-searches.vue'; |
23 changes: 23 additions & 0 deletions
23
packages/_vue3-migration-test/src/x-modules/popular-searches/test-popular-searches.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,23 @@ | ||
<template> | ||
<SearchInput /> | ||
<ClearSearchInput /> | ||
<div v-if="!query"> | ||
<h1>Popular searches</h1> | ||
<PopularSearches /> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import PopularSearches from '../../../../x-components/src/x-modules/popular-searches/components/popular-searches.vue'; | ||
import SearchInput from '../../../../x-components/src/x-modules/search-box/components/search-input.vue'; | ||
import ClearSearchInput from '../../../../x-components/src/x-modules/search-box/components/clear-search-input.vue'; | ||
import { useState } from '../../../../x-components/src/composables/use-state'; | ||
const { query } = useState('search', ['query']); | ||
</script> | ||
|
||
<style scoped> | ||
.x-popular-searches { | ||
width: fit-content; | ||
} | ||
</style> |
16 changes: 16 additions & 0 deletions
16
packages/_vue3-migration-test/src/x-modules/popular-searches/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,16 @@ | ||
import { PopularSearchesXModule } from '../../../../x-components/src/x-modules/popular-searches/x-module'; | ||
import { PrivateXModuleOptions } from '../../../../x-components/src/plugins'; | ||
import { createPopularSearch } from '../../../../x-components/src/__stubs__/popular-searches-stubs.factory'; | ||
|
||
export const popularSearchesXModule: PrivateXModuleOptions<PopularSearchesXModule> = { | ||
storeModule: { | ||
state: { | ||
popularSearches: ['patata', 'salchicón', 'pan', 'queso', 'leche', 'galletas'].map(query => | ||
createPopularSearch(query) | ||
), | ||
config: { | ||
hideSessionQueries: false | ||
} | ||
} | ||
} | ||
}; |
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,51 @@ | |
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.54](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-24) | ||
|
||
|
||
### Features | ||
|
||
* replace DisableAnimationMixin by useDisableAnimation composable (#1469) ([f498d3f](https://github.com/empathyco/x/commit/f498d3fba5d294391dcfca47f9724558e98f50f0)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.53](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-24) | ||
|
||
|
||
### Features | ||
|
||
* **extra-params:** migrate extra params and snippet config extra params (#1531) ([d869f18](https://github.com/empathyco/x/commit/d869f1886c11f74af8a6350033d7567385ad629d)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.52](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-20) | ||
|
||
|
||
### Features | ||
|
||
* migrate `QueryPreviewButton` component to composition API (#1525) ([3eff0c7](https://github.com/empathyco/x/commit/3eff0c7c9479abbebbda59e8cc538af6f55375e1)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.51](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-19) | ||
|
||
|
||
### Features | ||
|
||
* migrate popular-searches x-module (#1524) ([f79456d](https://github.com/empathyco/x/commit/f79456d4589b3f9dee5fd86fad9625b853dde267)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.50](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-19) | ||
|
||
|
||
### Features | ||
|
||
* migrate `facets provider` component to use Composition API (#1523) ([eff7b8d](https://github.com/empathyco/x/commit/eff7b8d92c54aece07061c2d8ce58507a56e7d01)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.49](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-18) | ||
|
||
|
||
|
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.