Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f3d189

Browse files
chore: remove vue-demi
1 parent 8070deb commit 1f3d189

21 files changed

+46
-64
lines changed

‎docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@vorms/core": "^1.1.0",
1818
"@vue-final-modal/nuxt": "workspace:1.0.3",
19-
"vue-final-modal": "workspace:4.5.3",
19+
"vue-final-modal": "workspace:5.0.0-beta.1",
2020
"vue3-drag-resize": "^2.0.5"
2121
}
2222
}

‎packages/vue-final-modal/cypress/components/Form.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref } from 'vue-demi'
2+
import { ref } from 'vue'
33
44
const emit = defineEmits<{
55
(e: 'submit', payload: {

‎packages/vue-final-modal/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
"typecheck": "vue-tsc --noEmit",
3030
"release": "pnpm build && pnpm cypress:run && release-it"
3131
},
32-
"dependencies": {
33-
"vue-demi": "^0.14.6"
34-
},
3532
"devDependencies": {
3633
"@cypress/vue": "^5.0.5",
3734
"@release-it/conventional-changelog": "^5.1.1",
@@ -46,17 +43,11 @@
4643
"vue": "^3.4.7"
4744
},
4845
"peerDependencies": {
49-
"@vue/composition-api": "^1.0.0-rc.1",
5046
"@vueuse/core": ">=10.0.0",
5147
"@vueuse/integrations": ">=10.0.0",
5248
"focus-trap": ">=7.2.0",
5349
"scroll-lock": ">=2.1.5",
54-
"vue": ">=2.7.0 || >=3.0.0"
55-
},
56-
"peerDependenciesMeta": {
57-
"@vue/composition-api": {
58-
"optional": true
59-
}
50+
"vue": ">=3.0.0"
6051
},
6152
"homepage": "https://vue-final-modal.org/",
6253
"bugs": {

‎packages/vue-final-modal/src/Modal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { App, CSSProperties, Component, ComponentInternalInstance, FunctionalComponent, Raw, Ref } from 'vue-demi'
1+
import type { App, CSSProperties, Component, ComponentInternalInstance, FunctionalComponent, Raw, Ref } from 'vue'
22
import type { ComponentProps, ComponentSlots } from './Component'
33

44
export type ModalId = number | string | symbol

‎packages/vue-final-modal/src/components/ModalsContainer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Component } from 'vue-demi'
2-
import { computed, defineComponent, h, onBeforeUnmount } from 'vue-demi'
1+
import type { Component } from 'vue'
2+
import { computed, defineComponent, h, onBeforeUnmount } from 'vue'
33
import type { ModalSlotOptions } from '..'
44
import { isModalSlotOptions, useVfm } from '~/useApi'
55
import { isString, objectEntries } from '~/utils'

‎packages/vue-final-modal/src/components/VueFinalModal/VueFinalModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { computed, getCurrentInstance, nextTick, onBeforeUnmount, onMounted, ref, toRef, useAttrs, watch } from 'vue-demi'
2+
import { computed, getCurrentInstance, nextTick, onBeforeUnmount, onMounted, ref, toRef, useAttrs, watch } from 'vue'
33
import { vueFinalModalProps } from './VueFinalModalProps'
44
import { useTransition } from './useTransition'
55
import { useToClose } from './useToClose'

‎packages/vue-final-modal/src/components/VueFinalModal/VueFinalModalProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Options } from 'focus-trap'
2-
import type { PropType, RendererElement, TransitionProps } from 'vue-demi'
2+
import type { PropType, RendererElement, TransitionProps } from 'vue'
33
import type { ModalId, StyleValue } from '~/Modal'
44

55
/**

‎packages/vue-final-modal/src/components/VueFinalModal/useFocusTrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Ref } from 'vue-demi'
1+
import type { Ref } from 'vue'
22
import { useFocusTrap as _useFocusTrap } from '@vueuse/integrations/useFocusTrap'
33
import type VueFinalModal from './VueFinalModal.vue'
44

‎packages/vue-final-modal/src/components/VueFinalModal/useModelValue.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { nextTick, ref, watch } from 'vue-demi'
2-
import type { Ref } from 'vue-demi'
1+
import { nextTick, ref, watch } from 'vue'
2+
import type { Ref } from 'vue'
33
import type VueFinalModal from './VueFinalModal.vue'
44

55
export function useModelValue(

‎packages/vue-final-modal/src/components/VueFinalModal/useScrollLock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { disablePageScroll, enablePageScroll, setFillGapMethod } from 'scroll-lock'
2-
import type { Ref } from 'vue-demi'
3-
import { onBeforeUnmount, watch } from 'vue-demi'
2+
import type { Ref } from 'vue'
3+
import { onBeforeUnmount, watch } from 'vue'
44
import type VueFinalModal from './VueFinalModal.vue'
55
import { noop, once } from '~/utils'
66

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /