-
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/migrate-base-events-modal-component-…
…to-composition-api
- Loading branch information
Showing
5 changed files
with
130 additions
and
65 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
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
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