-
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 feat/EMP-4163-migrate-query-suggestions-modu…
…le-to-composition-api # Conflicts: # packages/_vue3-migration-test/src/router.ts
- Loading branch information
Showing
11 changed files
with
323 additions
and
151 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,24 @@ | |
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.23](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.23) (2024-06-04) | ||
|
||
|
||
### Features | ||
|
||
* add BaseEventsModal to the playground ([3e437c5](https://github.com/empathyco/x/commit/3e437c56d4e3f314b373b486e8926c4f4b028fc6)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.22](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.22) (2024-06-04) | ||
|
||
|
||
### Features | ||
|
||
* **base-id-modal:** migrate to composition API (#1500) ([6274c67](https://github.com/empathyco/x/commit/6274c676946536c9c1c4e54205ebda18c79b8f55)) | ||
|
||
|
||
|
||
## [1.0.0-alpha.21](https://github.com/empathyco/x/compare/[email protected]@1.0.0-alpha.21) (2024-05-31) | ||
|
||
|
||
|
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
43 changes: 43 additions & 0 deletions
43
packages/_vue3-migration-test/src/components/modals/test-base-events-modal.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,43 @@ | ||
<template> | ||
<div class="base-modal"> | ||
<button @click="openModal">Open modal</button> | ||
<BaseEventsModal | ||
:animation="Fade" | ||
:focusOnOpen="true" | ||
v-bind="$attrs" | ||
contentClass="content" | ||
overlayClass="overlay" | ||
> | ||
<h1>Hello</h1> | ||
<p>The modal is working with events!!</p> | ||
<button @click="closeModal">Close modal</button> | ||
</BaseEventsModal> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import BaseEventsModal from '../../../../x-components/src/components/modals/base-events-modal.vue'; | ||
import Fade from '../../../../x-components/src/components/animations/fade.vue'; | ||
import { use$x } from '../../../../x-components/src/composables/use-$x'; | ||
const _$x = use$x(); | ||
const openModal = () => _$x.emit('UserClickedOpenEventsModal'); | ||
const closeModal = () => _$x.emit('UserClickedCloseEventsModal'); | ||
</script> | ||
|
||
<style> | ||
.base-modal { | ||
.content { | ||
background: white; | ||
margin: auto; | ||
width: 50%; | ||
border: 3px solid green; | ||
padding: 10px; | ||
} | ||
.overlay { | ||
background-color: #00ff80; | ||
} | ||
} | ||
</style> |
33 changes: 33 additions & 0 deletions
33
packages/_vue3-migration-test/src/components/modals/test-base-id-modal.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,33 @@ | ||
<template> | ||
<div class="base-id-modal"> | ||
<BaseIdModalOpen modalId="myModal">Open</BaseIdModalOpen> | ||
<BaseIdModal :animation="Fade" modalId="myModal" contentClass="content" overlayClass="overlay"> | ||
<h1>Hello</h1> | ||
<p>The base id modal is working</p> | ||
<BaseIdModalClose modalId="myModal">Close</BaseIdModalClose> | ||
</BaseIdModal> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import BaseIdModal from '../../../../x-components/src/components/modals/base-id-modal.vue'; | ||
import BaseIdModalOpen from '../../../../x-components/src/components/modals/base-id-modal-open.vue'; | ||
import BaseIdModalClose from '../../../../x-components/src/components/modals/base-id-modal-close.vue'; | ||
import Fade from '../../../../x-components/src/components/animations/fade.vue'; | ||
</script> | ||
|
||
<style> | ||
.base-id-modal { | ||
.content { | ||
background: white; | ||
margin: auto; | ||
width: 50%; | ||
border: 3px solid green; | ||
padding: 10px; | ||
} | ||
.overlay { | ||
background-color: red; | ||
} | ||
} | ||
</style> |
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 |
---|---|---|
|
@@ -3,6 +3,24 @@ | |
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.31](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-04) | ||
|
||
|
||
### Features | ||
|
||
* migrate BaseEventsModal to composition API ([7ef04b6](https://github.com/empathyco/x/commit/7ef04b65bcef2eb9b9dc5bc107bc02823831d444)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.30](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-06-04) | ||
|
||
|
||
### Features | ||
|
||
* **base-id-modal:** migrate to composition API (#1500) ([6274c67](https://github.com/empathyco/x/commit/6274c676946536c9c1c4e54205ebda18c79b8f55)) | ||
|
||
|
||
|
||
## [5.0.0-alpha.29](https://github.com/empathyco/x/compare/@empathyco/[email protected]...@empathyco/[email protected]) (2024-05-31) | ||
|
||
|
||
|
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.