@nuxt/devtools-ui-kit 0.4.5 → 0.4.6
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.
package/dist/assets/styles.css
CHANGED
|
@@ -7,6 +7,7 @@ const props = withDefaults(
|
|
|
7
7
|
text: string
|
|
8
8
|
description?: string
|
|
9
9
|
containerClass?: string
|
|
10
|
+
headerClass?: string
|
|
10
11
|
collapse?: boolean
|
|
11
12
|
open?: boolean
|
|
12
13
|
padding?: boolean | string
|
|
@@ -27,7 +28,7 @@ function onToggle(e: any) {
|
|
|
27
28
|
<template>
|
|
28
29
|
<details :open="open" @toggle="onToggle">
|
|
29
30
|
<summary class="cursor-pointer select-none hover:bg-active p4" :class="collapse ? '' : 'pointer-events-none'">
|
|
30
|
-
<NIconTitle :icon="icon" :text="text" text-xl transition :class="open ? 'op100' : 'op60'">
|
|
31
|
+
<NIconTitle :icon="icon" :text="text" text-xl transition :class="[open ? 'op100' : 'op60', headerClass]">
|
|
31
32
|
<div>
|
|
32
33
|
<div text-base>
|
|
33
34
|
<slot name="text">
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import NLink from './NLink.vue'
|
|
3
|
+
|
|
4
|
+
defineProps<{
|
|
5
|
+
link?: string
|
|
6
|
+
}>()
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<component
|
|
11
|
+
:is="link ? NLink : 'div'"
|
|
12
|
+
v-bind="link ? {
|
|
13
|
+
href: link,
|
|
14
|
+
target: '_blank',
|
|
15
|
+
rel: 'noopener noreferrer',
|
|
16
|
+
} : {}"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
<div
|
|
20
|
+
v-if="link"
|
|
21
|
+
i-carbon:arrow-up-right translate-y--1 text-xs op50
|
|
22
|
+
/>
|
|
23
|
+
</component>
|
|
24
|
+
</template>
|
package/dist/module.json
CHANGED
package/dist/runtime/client.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const devToolsClient: import("vue").Ref<import("@nuxt/devtools-kit/dist/client-api-
|
|
1
|
+
export declare const devToolsClient: import("vue").Ref<import("@nuxt/devtools-kit/dist/client-api-f551dae7").c | undefined>;
|
package/dist/types.d.ts
CHANGED
|
@@ -6,5 +6,10 @@ declare module '@nuxt/schema' {
|
|
|
6
6
|
interface NuxtOptions { ['devtoolsUIKit']?: ModuleOptions }
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
declare module 'nuxt/schema' {
|
|
10
|
+
interface NuxtConfig { ['devtoolsUIKit']?: Partial<ModuleOptions> }
|
|
11
|
+
interface NuxtOptions { ['devtoolsUIKit']?: ModuleOptions }
|
|
12
|
+
}
|
|
13
|
+
|
|
9
14
|
|
|
10
15
|
export { unocssPreset } from './module'
|
package/dist/unocss.mjs
CHANGED
|
@@ -83,7 +83,7 @@ function unocssPreset() {
|
|
|
83
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
|
-
"n-link-hover": "decoration-dotted text-context underline-context",
|
|
86
|
+
"n-link-hover": "decoration-dotted text-context underline-context! op100!",
|
|
87
87
|
// card
|
|
88
88
|
"n-card-base": "border n-border-base rounded n-bg-base shadow-sm",
|
|
89
89
|
// header
|
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.
|
|
4
|
+
"version": "0.4.6",
|
|
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.
|
|
26
|
+
"@nuxt/devtools": "0.4.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@iconify-json/carbon": "^1.1.16",
|
|
30
|
-
"@nuxt/kit": "^3.4.
|
|
30
|
+
"@nuxt/kit": "^3.4.3",
|
|
31
31
|
"@nuxtjs/color-mode": "^3.2.0",
|
|
32
|
-
"@unocss/core": "^0.51.
|
|
33
|
-
"@unocss/nuxt": "^0.51.
|
|
34
|
-
"@unocss/preset-attributify": "^0.51.
|
|
35
|
-
"@unocss/preset-icons": "^0.51.
|
|
36
|
-
"@unocss/preset-mini": "^0.51.
|
|
37
|
-
"@unocss/reset": "^0.51.
|
|
38
|
-
"@vueuse/core": "^10.1.
|
|
39
|
-
"@vueuse/integrations": "^10.1.
|
|
40
|
-
"@vueuse/nuxt": "^10.1.
|
|
32
|
+
"@unocss/core": "^0.51.12",
|
|
33
|
+
"@unocss/nuxt": "^0.51.12",
|
|
34
|
+
"@unocss/preset-attributify": "^0.51.12",
|
|
35
|
+
"@unocss/preset-icons": "^0.51.12",
|
|
36
|
+
"@unocss/preset-mini": "^0.51.12",
|
|
37
|
+
"@unocss/reset": "^0.51.12",
|
|
38
|
+
"@vueuse/core": "^10.1.2",
|
|
39
|
+
"@vueuse/integrations": "^10.1.2",
|
|
40
|
+
"@vueuse/nuxt": "^10.1.2",
|
|
41
41
|
"defu": "^6.1.2",
|
|
42
42
|
"focus-trap": "^7.4.0",
|
|
43
|
-
"unocss": "^0.51.
|
|
43
|
+
"unocss": "^0.51.12",
|
|
44
44
|
"v-lazy-show": "^0.2.3",
|
|
45
|
-
"@nuxt/devtools": "0.4.
|
|
46
|
-
"@nuxt/devtools
|
|
45
|
+
"@nuxt/devtools-kit": "0.4.6",
|
|
46
|
+
"@nuxt/devtools": "0.4.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"nuxt": "^3.4.
|
|
49
|
+
"nuxt": "^3.4.3"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|