@nuxt/devtools-ui-kit 0.4.0 → 0.4.2

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,6 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { computed } from 'vue'
3
3
  import { useToggle } from '@vueuse/core'
4
+
4
5
  // @ts-expect-error auto imported from @nuxtjs/color-mode
5
6
  import { useColorMode } from '#imports'
6
7
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="n-loading n-panel-grids">
2
+ <div class="n-loading n-panel-grids-center">
3
3
  <div class="flex flex-col animate-pulse items-center text-lg">
4
4
  <div class="i-carbon-circle-dash animate-spin text-4xl op50" />
5
5
  <slot>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="n-panel-grids">
2
+ <div class="n-panel-grids-center">
3
3
  <slot />
4
4
  </div>
5
5
  </template>
@@ -4,14 +4,13 @@ import { useVModel } from '@vueuse/core'
4
4
  const props = withDefaults(
5
5
  defineProps<{
6
6
  modelValue?: string | number
7
- placeholder?: string
8
7
  icon?: string
8
+ placeholder?: string
9
9
  disabled?: boolean
10
10
  type?: string
11
11
  }>(),
12
12
  {
13
13
  modelValue: '',
14
- disabled: false,
15
14
  type: 'text',
16
15
  },
17
16
  )
@@ -26,10 +25,8 @@ const input = useVModel(props, 'modelValue', emit, { passive: true })
26
25
  </slot>
27
26
  <input
28
27
  v-model="input"
28
+ v-bind="$props as any"
29
29
  class="ml-0.4em w-full flex-auto n-bg-base !outline-none"
30
- :type="type"
31
- :disabled="disabled"
32
- :placeholder="placeholder"
33
30
  >
34
31
  </div>
35
32
  </template>
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "devtools-ui-kit",
3
3
  "configKey": "devtoolsUIKit",
4
- "version": "0.4.0"
4
+ "version": "0.4.2"
5
5
  }
@@ -1 +1 @@
1
- export declare const devToolsClient: import("vue").Ref<import("@nuxt/devtools-kit/dist/client-api-a2b0aa8f").c | undefined>;
1
+ export declare const devToolsClient: import("vue").Ref<import("@nuxt/devtools-kit/dist/client-api-690096c8").c | undefined>;
package/dist/unocss.mjs CHANGED
@@ -80,7 +80,7 @@ function unocssPreset() {
80
80
  "n-transition": "transition-all duration-200",
81
81
  "n-focus-base": "ring-2 ring-context/50",
82
82
  "n-active-base": "ring-3 ring-context/10",
83
- "n-borderless": "!border-none !shadow-none",
83
+ "n-borderless": "!border-transparent !shadow-none",
84
84
  // link
85
85
  "n-link-base": "underline underline-offset-2 underline-black/20 dark:underline-white/40",
86
86
  "n-link-hover": "decoration-dotted text-context underline-context",
@@ -119,7 +119,8 @@ function unocssPreset() {
119
119
  "n-icon-button": "aspect-1/1 w-1.6em h-1.6em flex items-center justify-center rounded op50 hover:op100 hover:n-bg-active",
120
120
  // loading
121
121
  "n-loading": "flex h-full w-full justify-center items-center",
122
- "n-panel-grids": "n-panel-grids-light dark:n-panel-grids-dark flex flex-col h-full gap-2 items-center justify-center"
122
+ "n-panel-grids": "n-panel-grids-light dark:n-panel-grids-dark",
123
+ "n-panel-grids-center": "n-panel-grids flex flex-col h-full gap-2 items-center justify-center"
123
124
  }
124
125
  };
125
126
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-ui-kit",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.2",
5
5
  "license": "MIT",
6
6
  "repository": "nuxt/devtools",
7
7
  "exports": {
@@ -23,30 +23,30 @@
23
23
  "*.cjs"
24
24
  ],
25
25
  "peerDependencies": {
26
- "@nuxt/devtools": "0.4.0"
26
+ "@nuxt/devtools": "0.4.2"
27
27
  },
28
28
  "dependencies": {
29
29
  "@iconify-json/carbon": "^1.1.16",
30
- "@nuxt/kit": "^3.3.3",
30
+ "@nuxt/kit": "^3.4.2",
31
31
  "@nuxtjs/color-mode": "^3.2.0",
32
- "@unocss/core": "^0.51.4",
33
- "@unocss/nuxt": "^0.51.4",
34
- "@unocss/preset-attributify": "^0.51.4",
35
- "@unocss/preset-icons": "^0.51.4",
36
- "@unocss/preset-mini": "^0.51.4",
37
- "@unocss/reset": "^0.51.4",
38
- "@vueuse/core": "^9.13.0",
39
- "@vueuse/integrations": "^9.13.0",
40
- "@vueuse/nuxt": "^9.13.0",
32
+ "@unocss/core": "^0.51.8",
33
+ "@unocss/nuxt": "^0.51.8",
34
+ "@unocss/preset-attributify": "^0.51.8",
35
+ "@unocss/preset-icons": "^0.51.8",
36
+ "@unocss/preset-mini": "^0.51.8",
37
+ "@unocss/reset": "^0.51.8",
38
+ "@vueuse/core": "^10.1.0",
39
+ "@vueuse/integrations": "^10.1.0",
40
+ "@vueuse/nuxt": "^10.1.0",
41
41
  "defu": "^6.1.2",
42
42
  "focus-trap": "^7.4.0",
43
- "unocss": "^0.51.4",
44
- "v-lazy-show": "^0.2.2",
45
- "@nuxt/devtools": "0.4.0",
46
- "@nuxt/devtools-kit": "0.4.0"
43
+ "unocss": "^0.51.8",
44
+ "v-lazy-show": "^0.2.3",
45
+ "@nuxt/devtools-kit": "0.4.2",
46
+ "@nuxt/devtools": "0.4.2"
47
47
  },
48
48
  "devDependencies": {
49
- "nuxt": "^3.3.3"
49
+ "nuxt": "^3.4.2"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"