Merge pull request #36 from modrinth/fixes-modal-xicon

Imports XIcon in Modal component.
This commit is contained in:
Zach Baird
2023-04-12 11:12:11 -04:00
committed by GitHub
3 changed files with 9 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
<template> <template>
<div <div
ref="dropdown"
tabindex="0" tabindex="0"
role="combobox" role="combobox"
ref="dropdown"
:aria-expanded="dropdownVisible" :aria-expanded="dropdownVisible"
class="animated-dropdown" class="animated-dropdown"
@focus="onFocus" @focus="onFocus"

View File

@@ -22,8 +22,13 @@
</div> </div>
</template> </template>
<script setup>
import { XIcon } from '@/components'
</script>
<script> <script>
export default { import { defineComponent } from 'vue'
export default defineComponent({
props: { props: {
header: { header: {
type: String, type: String,
@@ -47,7 +52,7 @@ export default {
this.shown = false this.shown = false
}, },
}, },
} })
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -1,7 +1,7 @@
{ {
"name": "omorphia", "name": "omorphia",
"type": "module", "type": "module",
"version": "0.4.4", "version": "0.4.5",
"files": [ "files": [
"dist" "dist"
], ],