@nuxt/devtools-ui-kit 1.0.8 → 1.1.0
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/components/NButton.vue +1 -1
- package/dist/components/NCodeBlock.vue +1 -1
- package/dist/components/NDarkToggle.vue +0 -1
- package/dist/components/NSplitPane.vue +2 -2
- package/dist/components/NTextInput.vue +1 -0
- package/dist/composables/notification.d.ts +9 -0
- package/dist/composables/notification.mjs +7 -0
- package/dist/module.json +1 -1
- package/package.json +20 -20
|
@@ -19,7 +19,7 @@ withDefaults(defineProps<{
|
|
|
19
19
|
<Component
|
|
20
20
|
:is="to ? NuxtLink : 'button'"
|
|
21
21
|
:to="to"
|
|
22
|
-
v-bind="{ ...$attrs, ...(!to && { type }) }"
|
|
22
|
+
v-bind="{ ...$attrs, ...(!to && { type }), ...(disabled ? { disabled: true } : { tabindex: 0 }) }"
|
|
23
23
|
:class="[
|
|
24
24
|
{ 'n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover': border },
|
|
25
25
|
{ 'n-icon-button': !$slots.default },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
// This components requires to run in DevTools to render correctly
|
|
3
3
|
import { computed, nextTick } from 'vue'
|
|
4
|
-
import type { BuiltinLanguage } from '
|
|
4
|
+
import type { BuiltinLanguage } from 'shiki'
|
|
5
5
|
import { devToolsClient } from '../runtime/client'
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(
|
|
@@ -62,12 +62,12 @@ const size = key
|
|
|
62
62
|
.splitpanes--vertical > .splitpanes__splitter {
|
|
63
63
|
min-width: 0 !important;
|
|
64
64
|
width: 0 !important;
|
|
65
|
-
|
|
65
|
+
--at-apply: border-r border-base;
|
|
66
66
|
}
|
|
67
67
|
.splitpanes--horizontal > .splitpanes__splitter {
|
|
68
68
|
min-height: 0 !important;
|
|
69
69
|
height: 0 !important;
|
|
70
|
-
|
|
70
|
+
--at-apply: border-t border-base;
|
|
71
71
|
}
|
|
72
72
|
.splitpanes--vertical > .splitpanes__splitter:before {
|
|
73
73
|
left: -5px;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type DevtoolsUiShowNotificationPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
2
|
+
export declare function devtoolsUiShowNotification(data: {
|
|
3
|
+
message: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
classes?: string;
|
|
6
|
+
duration?: number;
|
|
7
|
+
position?: DevtoolsUiShowNotificationPosition;
|
|
8
|
+
}): void;
|
|
9
|
+
export declare function devtoolsUiProvideNotificationFn(fn: typeof devtoolsUiShowNotification): void;
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools-ui-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://devtools.nuxt.com/module/ui-kit",
|
|
7
7
|
"repository": {
|
|
@@ -28,34 +28,34 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@nuxt/devtools": "1.0
|
|
31
|
+
"@nuxt/devtools": "1.1.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@iconify-json/carbon": "^1.1.
|
|
34
|
+
"@iconify-json/carbon": "^1.1.31",
|
|
35
35
|
"@iconify-json/logos": "^1.1.42",
|
|
36
|
-
"@iconify-json/ri": "^1.1.
|
|
37
|
-
"@iconify-json/tabler": "^1.1.
|
|
38
|
-
"@nuxt/kit": "^3.
|
|
39
|
-
"@nuxtjs/color-mode": "^3.3.
|
|
40
|
-
"@unocss/core": "^0.58.
|
|
41
|
-
"@unocss/nuxt": "^0.58.
|
|
42
|
-
"@unocss/preset-attributify": "^0.58.
|
|
43
|
-
"@unocss/preset-icons": "^0.58.
|
|
44
|
-
"@unocss/preset-mini": "^0.58.
|
|
45
|
-
"@unocss/reset": "^0.58.
|
|
46
|
-
"@vueuse/core": "^10.
|
|
47
|
-
"@vueuse/integrations": "^10.
|
|
48
|
-
"@vueuse/nuxt": "^10.
|
|
36
|
+
"@iconify-json/ri": "^1.1.20",
|
|
37
|
+
"@iconify-json/tabler": "^1.1.109",
|
|
38
|
+
"@nuxt/kit": "^3.11.1",
|
|
39
|
+
"@nuxtjs/color-mode": "^3.3.3",
|
|
40
|
+
"@unocss/core": "^0.58.6",
|
|
41
|
+
"@unocss/nuxt": "^0.58.6",
|
|
42
|
+
"@unocss/preset-attributify": "^0.58.6",
|
|
43
|
+
"@unocss/preset-icons": "^0.58.6",
|
|
44
|
+
"@unocss/preset-mini": "^0.58.6",
|
|
45
|
+
"@unocss/reset": "^0.58.6",
|
|
46
|
+
"@vueuse/core": "^10.9.0",
|
|
47
|
+
"@vueuse/integrations": "^10.9.0",
|
|
48
|
+
"@vueuse/nuxt": "^10.9.0",
|
|
49
49
|
"defu": "^6.1.4",
|
|
50
50
|
"focus-trap": "^7.5.4",
|
|
51
51
|
"splitpanes": "^3.1.5",
|
|
52
|
-
"unocss": "^0.58.
|
|
52
|
+
"unocss": "^0.58.6",
|
|
53
53
|
"v-lazy-show": "^0.2.4",
|
|
54
|
-
"@nuxt/devtools-kit": "1.0
|
|
54
|
+
"@nuxt/devtools-kit": "1.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"nuxt": "^3.
|
|
58
|
-
"@nuxt/devtools": "1.0
|
|
57
|
+
"nuxt": "^3.11.1",
|
|
58
|
+
"@nuxt/devtools": "1.1.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|