@nuxt/devtools-ui-kit 4.0.0-alpha.7 → 4.0.0-alpha.8

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.
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ text: string;
3
+ };
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean | null;
3
+ disabled?: boolean;
4
+ };
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ [x: string]: never;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ [x: `on${Capitalize<any>}`]: ((...args: unknown[]) => any) | undefined;
13
+ }>, {
14
+ modelValue: boolean | null;
15
+ disabled: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,18 @@
1
+ import type { BuiltinLanguage } from 'shiki';
2
+ type __VLS_Props = {
3
+ code: string;
4
+ lang?: BuiltinLanguage | 'text';
5
+ lines?: boolean;
6
+ inline?: boolean;
7
+ grammarContextCode?: string;
8
+ transformRendered?: (code: string) => string;
9
+ };
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ loaded: (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onLoaded?: ((...args: any[]) => any) | undefined;
14
+ }>, {
15
+ lines: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Credit to [@hooray](https://github.com/hooray)
3
+ * @see https://github.com/vuejs/vitepress/pull/2347
4
+ */
5
+ declare function toggle(event?: MouseEvent): void;
6
+ declare var __VLS_8: {
7
+ mode: import("@vueuse/core").UseColorModeReturn<import("@vueuse/core").BasicColorMode>;
8
+ isDark: import("vue").WritableComputedRef<boolean, boolean>;
9
+ toggle: typeof toggle;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_8) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,28 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
4
+ modelValue?: boolean;
5
+ dim?: boolean;
6
+ autoClose?: boolean;
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ close: () => any;
9
+ "update:modelValue": (value: boolean) => any;
10
+ }, string, import("vue").PublicProps, Readonly<{
11
+ modelValue?: boolean;
12
+ dim?: boolean;
13
+ autoClose?: boolean;
14
+ }> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ modelValue: boolean;
19
+ dim: boolean;
20
+ autoClose: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
+ default?: (props: {}) => any;
23
+ }>;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ top?: HTMLElement | string;
4
+ left?: HTMLElement | string;
5
+ autoClose?: boolean;
6
+ transition?: 'right' | 'bottom' | 'top';
7
+ };
8
+ declare var __VLS_14: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_14) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ close: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ }>, {
17
+ transition: "right" | "bottom" | "top";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ direction?: 'start' | 'end';
4
+ };
5
+ declare var __VLS_1: {
6
+ enabled: boolean;
7
+ click: () => boolean;
8
+ }, __VLS_11: {};
9
+ type __VLS_Slots = {} & {
10
+ trigger?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_11) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ [x: string]: never;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ [x: `on${Capitalize<any>}`]: ((...args: unknown[]) => any) | undefined;
18
+ }>, {
19
+ direction: "start" | "end";
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ text?: string;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ to?: string;
3
+ href?: string;
4
+ target?: string;
5
+ underline?: boolean;
6
+ };
7
+ declare var __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ markdown: string;
3
+ tag?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ search?: string;
3
+ noPadding?: boolean;
4
+ };
5
+ declare var __VLS_1: {}, __VLS_10: {}, __VLS_12: {};
6
+ type __VLS_Slots = {} & {
7
+ search?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ actions?: (props: typeof __VLS_10) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_12) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ "update:search": (value: string) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:search"?: ((value: string) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -1,44 +1,7 @@
1
1
  <script setup>
2
- import { ref } from "vue";
3
- import { devtoolsUiProvideNotificationFn } from "../composables/notification";
4
- const show = ref(false);
5
- const icon = ref();
6
- const text = ref();
7
- const classes = ref();
8
- const position = ref("top-center");
9
- devtoolsUiProvideNotificationFn((data) => {
10
- text.value = data.message;
11
- icon.value = data.icon;
12
- classes.value = data.classes ?? "text-primary border-primary";
13
- icon.value = data.icon;
14
- show.value = true;
15
- position.value = data.position ?? "top-center";
16
- setTimeout(() => {
17
- show.value = false;
18
- }, data.duration ?? 1500);
19
- });
2
+
20
3
  </script>
21
4
 
22
5
  <template>
23
- <div
24
- fixed left-0 right-0 z-999 text-center
25
- :class="[
26
- { 'pointer-events-none overflow-hidden': !show },
27
- { 'top-0': position.startsWith('top') },
28
- { 'bottom-0': position.startsWith('bottom') }
29
- ]"
30
- >
31
- <div flex :style="{ justifyContent: position.includes('right') ? 'right' : position.includes('left') ? 'left' : 'center' }">
32
- <div
33
- border="~ base"
34
- flex="~ inline gap2"
35
- m-3 inline-block items-center rounded bg-base px-4 py-1 transition-all duration-300
36
- :style="show ? {} : { transform: `translateY(${position.startsWith('top') ? '-' : ''}300%)` }"
37
- :class="[show ? 'shadow' : 'shadow-none', classes]"
38
- >
39
- <div v-if="icon" :class="icon" />
40
- <div>{{ text }}</div>
41
- </div>
42
- </div>
43
- </div>
6
+ <div hidden />
44
7
  </template>
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ disabled?: boolean;
4
+ name?: string;
5
+ value?: string;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ [x: string]: never;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ [x: `on${Capitalize<any>}`]: ((...args: unknown[]) => any) | undefined;
15
+ }>, {
16
+ modelValue: string;
17
+ disabled: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,38 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ text?: string;
4
+ description?: string;
5
+ containerClass?: string;
6
+ headerClass?: string;
7
+ collapse?: boolean;
8
+ open?: boolean;
9
+ padding?: boolean | string;
10
+ };
11
+ declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
12
+ type __VLS_Slots = {} & {
13
+ text?: (props: typeof __VLS_7) => any;
14
+ } & {
15
+ description?: (props: typeof __VLS_9) => any;
16
+ } & {
17
+ actions?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ details?: (props: typeof __VLS_18) => any;
20
+ } & {
21
+ default?: (props: typeof __VLS_20) => any;
22
+ } & {
23
+ footer?: (props: typeof __VLS_22) => any;
24
+ };
25
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
+ containerClass: string;
27
+ collapse: boolean;
28
+ open: boolean;
29
+ padding: boolean | string;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ modelValue?: any;
3
+ placeholder?: string;
4
+ icon?: string;
5
+ disabled?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ icon?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_8) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ [x: string]: never;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ [x: `on${Capitalize<any>}`]: ((...args: unknown[]) => any) | undefined;
17
+ }>, {
18
+ modelValue: any;
19
+ disabled: boolean;
20
+ icon: string;
21
+ placeholder: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ modelValue?: any;
3
+ disabled?: boolean;
4
+ options: {
5
+ value: any;
6
+ label: string;
7
+ }[];
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ [x: string]: never;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ [x: `on${Capitalize<any>}`]: ((...args: unknown[]) => any) | undefined;
13
+ }>, {
14
+ modelValue: any;
15
+ disabled: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import 'splitpanes/dist/splitpanes.css';
2
+ type __VLS_Props = {
3
+ /**
4
+ * The key to use for storing the pane sizes in localStorage.
5
+ */
6
+ storageKey?: string;
7
+ stateKey?: string;
8
+ leftSize?: number;
9
+ minSize?: number;
10
+ horizontal?: boolean;
11
+ };
12
+ declare var __VLS_16: {}, __VLS_24: {};
13
+ type __VLS_Slots = {} & {
14
+ left?: (props: typeof __VLS_16) => any;
15
+ } & {
16
+ right?: (props: typeof __VLS_24) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ stateKey: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ disabled?: boolean;
3
+ };
4
+ declare const checked: import("vue").ModelRef<boolean, string, boolean, boolean>;
5
+ type __VLS_ModelProps = {
6
+ 'modelValue'?: typeof checked['value'];
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: boolean) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ disabled: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,34 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | number;
3
+ icon?: string;
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ autofocus?: boolean;
7
+ autocomplete?: string;
8
+ readonly?: boolean;
9
+ type?: string;
10
+ };
11
+ declare var __VLS_1: {};
12
+ type __VLS_Slots = {} & {
13
+ icon?: (props: typeof __VLS_1) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ keydown: (event: KeyboardEvent) => any;
17
+ keyup: (event: KeyboardEvent) => any;
18
+ change: (event: Event) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
21
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
22
+ onChange?: ((event: Event) => any) | undefined;
23
+ }>, {
24
+ modelValue: string | number;
25
+ type: string;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ };
4
+ declare var __VLS_1: {}, __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ icon?: (props: typeof __VLS_1) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_8) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -1,9 +1,38 @@
1
1
  export type DevtoolsUiShowNotificationPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
2
- export declare function devtoolsUiShowNotification(data: {
2
+ /**
3
+ * Severity of an ephemeral notification. Mirrors devframe's message levels; the
4
+ * concrete implementation (provided by the Nuxt DevTools client) maps this onto
5
+ * a devframe message so the toast picks up the matching color/icon.
6
+ */
7
+ export type DevtoolsUiShowNotificationLevel = 'info' | 'warn' | 'error' | 'success' | 'debug';
8
+ export interface DevtoolsUiShowNotificationData {
3
9
  message: string;
4
10
  icon?: string;
5
11
  classes?: string;
12
+ /**
13
+ * Severity of the notification. When omitted the implementation infers it
14
+ * from `classes`/`icon` (best-effort), defaulting to `info`.
15
+ */
16
+ level?: DevtoolsUiShowNotificationLevel;
17
+ /**
18
+ * Toast lifetime, in ms.
19
+ *
20
+ * @remarks Best-effort — the concrete implementation may forward this to the
21
+ * host toast, which ultimately owns placement and timing.
22
+ */
6
23
  duration?: number;
24
+ /**
25
+ * @deprecated Placement is owned by the Vite DevTools chrome toast; this is a
26
+ * no-op and kept only for backward compatibility.
27
+ */
7
28
  position?: DevtoolsUiShowNotificationPosition;
8
- }): void;
29
+ }
30
+ /**
31
+ * Show an ephemeral toast notification.
32
+ *
33
+ * This is a thin proxy: the Nuxt DevTools client provides the concrete
34
+ * implementation via {@link devtoolsUiProvideNotificationFn} at startup, which
35
+ * routes the toast through the devframe Messages system. Fire-and-forget.
36
+ */
37
+ export declare function devtoolsUiShowNotification(data: DevtoolsUiShowNotificationData): void;
9
38
  export declare function devtoolsUiProvideNotificationFn(fn: typeof devtoolsUiShowNotification): void;
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-ui-kit",
3
3
  "configKey": "devtoolsUIKit",
4
- "version": "4.0.0-alpha.7",
4
+ "version": "4.0.0-alpha.8",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-ui-kit",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.7",
4
+ "version": "4.0.0-alpha.8",
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": "4.0.0-alpha.7"
31
+ "@nuxt/devtools": "4.0.0-alpha.8"
32
32
  },
33
33
  "dependencies": {
34
- "@iconify-json/carbon": "^1.2.22",
34
+ "@iconify-json/carbon": "^1.2.24",
35
35
  "@iconify-json/logos": "^1.2.11",
36
36
  "@iconify-json/ri": "^1.2.10",
37
- "@iconify-json/tabler": "^1.2.35",
38
- "@nuxt/kit": "^4.4.6",
39
- "@unocss/core": "^66.7.0",
40
- "@unocss/nuxt": "^66.7.0",
41
- "@unocss/preset-attributify": "^66.7.0",
42
- "@unocss/preset-icons": "^66.7.0",
43
- "@unocss/preset-mini": "^66.7.0",
44
- "@unocss/reset": "^66.7.0",
37
+ "@iconify-json/tabler": "^1.2.37",
38
+ "@nuxt/kit": "^4.5.0",
39
+ "@unocss/core": "^66.7.5",
40
+ "@unocss/nuxt": "^66.7.5",
41
+ "@unocss/preset-attributify": "^66.7.5",
42
+ "@unocss/preset-icons": "^66.7.5",
43
+ "@unocss/preset-mini": "^66.7.5",
44
+ "@unocss/reset": "^66.7.5",
45
45
  "@vueuse/core": "^14.3.0",
46
46
  "@vueuse/integrations": "^14.3.0",
47
47
  "@vueuse/nuxt": "^14.3.0",
48
48
  "defu": "^6.1.7",
49
- "focus-trap": "^8.2.1",
49
+ "focus-trap": "^8.2.2",
50
50
  "splitpanes": "^4.1.2",
51
- "unocss": "^66.7.0",
51
+ "unocss": "^66.7.5",
52
52
  "v-lazy-show": "^0.3.0",
53
- "@nuxt/devtools-kit": "4.0.0-alpha.7"
53
+ "@nuxt/devtools-kit": "4.0.0-alpha.8"
54
54
  },
55
55
  "devDependencies": {
56
- "nuxt": "^4.4.6",
57
- "@nuxt/devtools": "4.0.0-alpha.7"
56
+ "nuxt": "^4.5.0",
57
+ "@nuxt/devtools": "4.0.0-alpha.8"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"