@nuxt/devtools-ui-kit 1.4.2 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
+ import type { BuiltinLanguage } from 'shiki'
2
3
  // This components requires to run in DevTools to render correctly
3
4
  import { computed, nextTick } from 'vue'
4
- import type { BuiltinLanguage } from 'shiki'
5
5
  import { devToolsClient } from '../runtime/client'
6
6
 
7
7
  const props = withDefaults(
@@ -16,6 +16,7 @@ const isDark = computed<boolean>({
16
16
  })
17
17
 
18
18
  const isAppearanceTransition = typeof document !== 'undefined'
19
+ // @ts-expect-error document.startViewTransition can be undefined
19
20
  && document.startViewTransition
20
21
  && !window.matchMedia('(prefers-reduced-motion: reduce)').matches
21
22
 
@@ -35,7 +36,6 @@ function toggle(event?: MouseEvent) {
35
36
  Math.max(x, innerWidth - x),
36
37
  Math.max(y, innerHeight - y),
37
38
  )
38
- // @ts-expect-error: Transition API
39
39
  const transition = document.startViewTransition(async () => {
40
40
  isDark.value = !isDark.value
41
41
  await nextTick()
@@ -1,8 +1,8 @@
1
1
  <script setup lang='ts'>
2
- import { ref } from 'vue'
2
+ import type { DevtoolsUiShowNotificationPosition } from '../composables/notification'
3
3
 
4
+ import { ref } from 'vue'
4
5
  import { devtoolsUiProvideNotificationFn } from '../composables/notification'
5
- import type { DevtoolsUiShowNotificationPosition } from '../composables/notification'
6
6
 
7
7
  const show = ref(false)
8
8
  const icon = ref<string>()
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devtools-ui-kit",
3
3
  "configKey": "devtoolsUIKit",
4
- "version": "1.4.2",
4
+ "version": "1.5.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-ui-kit",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.5.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://devtools.nuxt.com/module/ui-kit",
7
7
  "repository": {
@@ -28,33 +28,33 @@
28
28
  "dist"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@nuxt/devtools": "1.4.2"
31
+ "@nuxt/devtools": "1.5.1"
32
32
  },
33
33
  "dependencies": {
34
34
  "@iconify-json/carbon": "^1.2.1",
35
35
  "@iconify-json/logos": "^1.2.0",
36
36
  "@iconify-json/ri": "^1.2.0",
37
- "@iconify-json/tabler": "^1.2.1",
38
- "@nuxt/kit": "^3.13.1",
39
- "@unocss/core": "^0.62.3",
40
- "@unocss/nuxt": "^0.62.3",
41
- "@unocss/preset-attributify": "^0.62.3",
42
- "@unocss/preset-icons": "^0.62.3",
43
- "@unocss/preset-mini": "^0.62.3",
44
- "@unocss/reset": "^0.62.3",
45
- "@vueuse/core": "^11.0.3",
46
- "@vueuse/integrations": "^11.0.3",
47
- "@vueuse/nuxt": "^11.0.3",
37
+ "@iconify-json/tabler": "^1.2.3",
38
+ "@nuxt/kit": "^3.13.2",
39
+ "@unocss/core": "^0.62.4",
40
+ "@unocss/nuxt": "^0.62.4",
41
+ "@unocss/preset-attributify": "^0.62.4",
42
+ "@unocss/preset-icons": "^0.62.4",
43
+ "@unocss/preset-mini": "^0.62.4",
44
+ "@unocss/reset": "^0.62.4",
45
+ "@vueuse/core": "^11.1.0",
46
+ "@vueuse/integrations": "^11.1.0",
47
+ "@vueuse/nuxt": "^11.1.0",
48
48
  "defu": "^6.1.4",
49
- "focus-trap": "^7.5.4",
49
+ "focus-trap": "^7.6.0",
50
50
  "splitpanes": "^3.1.5",
51
- "unocss": "^0.62.3",
51
+ "unocss": "^0.62.4",
52
52
  "v-lazy-show": "^0.2.4",
53
- "@nuxt/devtools-kit": "1.4.2"
53
+ "@nuxt/devtools-kit": "1.5.1"
54
54
  },
55
55
  "devDependencies": {
56
- "nuxt": "^3.13.1",
57
- "@nuxt/devtools": "1.4.2"
56
+ "nuxt": "^3.13.2",
57
+ "@nuxt/devtools": "1.5.1"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"