@witchcraft/ui 0.4.0-beta.10 → 0.4.0-beta.11
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/module.json +1 -1
- package/dist/runtime/components/WColorInput/WColorInput.d.vue.ts +1 -1
- package/dist/runtime/components/WColorInput/WColorInput.vue.d.ts +1 -1
- package/dist/runtime/components/WColorPicker/WColorPicker.d.vue.ts +2 -2
- package/dist/runtime/components/WColorPicker/WColorPicker.vue.d.ts +2 -2
- package/dist/runtime/components/WCombobox/WCombobox.d.vue.ts +1 -1
- package/dist/runtime/components/WCombobox/WCombobox.vue.d.ts +1 -1
- package/dist/runtime/components/WPopover/WPopover.d.vue.ts +1 -1
- package/dist/runtime/components/WPopover/WPopover.vue.d.ts +1 -1
- package/dist/runtime/components/WPopup/WPopup.vue +12 -3
- package/dist/runtime/components/WRoot/WRoot.d.vue.ts +1 -1
- package/dist/runtime/components/WRoot/WRoot.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/runtime/components/WPopup/WPopup.vue +13 -4
package/dist/module.json
CHANGED
|
@@ -35,11 +35,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
35
35
|
}>, {
|
|
36
36
|
border: boolean;
|
|
37
37
|
allowAlpha: boolean;
|
|
38
|
-
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
39
38
|
stringPrecision: number;
|
|
40
39
|
customRepresentation: {
|
|
41
40
|
fromHsvaToString: (hsva: HsvaColor, includeAlpha: boolean) => string;
|
|
42
41
|
};
|
|
42
|
+
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const _default: typeof __VLS_export;
|
|
45
45
|
export default _default;
|
|
@@ -35,11 +35,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
35
35
|
}>, {
|
|
36
36
|
border: boolean;
|
|
37
37
|
allowAlpha: boolean;
|
|
38
|
-
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
39
38
|
stringPrecision: number;
|
|
40
39
|
customRepresentation: {
|
|
41
40
|
fromHsvaToString: (hsva: HsvaColor, includeAlpha: boolean) => string;
|
|
42
41
|
};
|
|
42
|
+
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const _default: typeof __VLS_export;
|
|
45
45
|
export default _default;
|
|
@@ -45,14 +45,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
45
45
|
"onUpdate:tempValue"?: ((value: RgbaColor | undefined) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
border: boolean;
|
|
48
|
+
valid: boolean;
|
|
48
49
|
allowAlpha: boolean;
|
|
49
|
-
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
50
50
|
stringPrecision: number;
|
|
51
51
|
customRepresentation: {
|
|
52
52
|
fromHsvaToString: (hsva: HsvaColor, includeAlpha: boolean) => string;
|
|
53
53
|
fromStringToHsva?: (string: string) => HsvaColor | undefined;
|
|
54
54
|
};
|
|
55
|
-
|
|
55
|
+
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
56
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
57
57
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
@@ -45,14 +45,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
45
45
|
"onUpdate:tempValue"?: ((value: RgbaColor | undefined) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
border: boolean;
|
|
48
|
+
valid: boolean;
|
|
48
49
|
allowAlpha: boolean;
|
|
49
|
-
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
50
50
|
stringPrecision: number;
|
|
51
51
|
customRepresentation: {
|
|
52
52
|
fromHsvaToString: (hsva: HsvaColor, includeAlpha: boolean) => string;
|
|
53
53
|
fromStringToHsva?: (string: string) => HsvaColor | undefined;
|
|
54
54
|
};
|
|
55
|
-
|
|
55
|
+
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
56
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
57
57
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
@@ -43,9 +43,9 @@ declare const __VLS_export: <TSuggestion extends NonNullable<AcceptableValue>>(_
|
|
|
43
43
|
}) & {
|
|
44
44
|
"onUpdate:modelValue"?: ((value: TSuggestion) => any) | undefined;
|
|
45
45
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
46
|
-
onSave?: ((value: string) => any) | undefined;
|
|
47
46
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
48
47
|
"onUpdate:loading"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
onSave?: ((value: string) => any) | undefined;
|
|
49
49
|
onNew?: ((value: string) => any) | undefined;
|
|
50
50
|
}> & (typeof globalThis extends {
|
|
51
51
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -43,9 +43,9 @@ declare const __VLS_export: <TSuggestion extends NonNullable<AcceptableValue>>(_
|
|
|
43
43
|
}) & {
|
|
44
44
|
"onUpdate:modelValue"?: ((value: TSuggestion) => any) | undefined;
|
|
45
45
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
46
|
-
onSave?: ((value: string) => any) | undefined;
|
|
47
46
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
48
47
|
"onUpdate:loading"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
onSave?: ((value: string) => any) | undefined;
|
|
49
49
|
onNew?: ((value: string) => any) | undefined;
|
|
50
50
|
}> & (typeof globalThis extends {
|
|
51
51
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -30,10 +30,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
30
30
|
}>, {
|
|
31
31
|
constrainWidthTo: number | "trigger" | "available" | string | null;
|
|
32
32
|
constrainHeightTo: number | "trigger" | "available" | string | null;
|
|
33
|
+
to: string;
|
|
33
34
|
showBackdrop: boolean;
|
|
34
35
|
showArrow: boolean;
|
|
35
36
|
animationDirection: "use-side" | "use-align" | "left" | "right" | "up" | "down" | "show" | "none";
|
|
36
|
-
to: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
39
|
declare const _default: typeof __VLS_export;
|
|
@@ -30,10 +30,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
30
30
|
}>, {
|
|
31
31
|
constrainWidthTo: number | "trigger" | "available" | string | null;
|
|
32
32
|
constrainHeightTo: number | "trigger" | "available" | string | null;
|
|
33
|
+
to: string;
|
|
33
34
|
showBackdrop: boolean;
|
|
34
35
|
showArrow: boolean;
|
|
35
36
|
animationDirection: "use-side" | "use-align" | "left" | "right" | "up" | "down" | "show" | "none";
|
|
36
|
-
to: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
39
|
declare const _default: typeof __VLS_export;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
</slot>
|
|
74
74
|
<slot name="extra"/>
|
|
75
75
|
</slot>
|
|
76
|
-
<
|
|
76
|
+
<DialogClose as-child>
|
|
77
77
|
<slot name="close">
|
|
78
78
|
<WButton
|
|
79
79
|
class="justify-self-end"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
Close
|
|
83
83
|
</WButton>
|
|
84
84
|
</slot>
|
|
85
|
-
</
|
|
85
|
+
</DialogClose>
|
|
86
86
|
</div>
|
|
87
87
|
</DialogContent>
|
|
88
88
|
</DialogPortal>
|
|
@@ -90,7 +90,16 @@
|
|
|
90
90
|
</template>
|
|
91
91
|
|
|
92
92
|
<script setup>
|
|
93
|
-
import {
|
|
93
|
+
import {
|
|
94
|
+
DialogClose,
|
|
95
|
+
DialogContent,
|
|
96
|
+
DialogDescription,
|
|
97
|
+
DialogOverlay,
|
|
98
|
+
DialogPortal,
|
|
99
|
+
DialogRoot,
|
|
100
|
+
DialogTitle,
|
|
101
|
+
DialogTrigger
|
|
102
|
+
} from "reka-ui";
|
|
94
103
|
import { twMerge } from "../../utils/twMerge.js";
|
|
95
104
|
import WButton from "../WButton/WButton.vue";
|
|
96
105
|
defineOptions({ name: "WPopup", inheritAttrs: false });
|
|
@@ -23,8 +23,8 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
24
24
|
darkMode: import("../../main.lib.js").DarkModeState & import("../../main.lib.js").DarkModeCommands;
|
|
25
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
-
useBuiltinTranslations: boolean;
|
|
27
26
|
theme: Theme;
|
|
27
|
+
useBuiltinTranslations: boolean;
|
|
28
28
|
outline: boolean;
|
|
29
29
|
isClientSide: boolean;
|
|
30
30
|
forceOutline: boolean;
|
|
@@ -23,8 +23,8 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
24
24
|
darkMode: import("../../main.lib.js").DarkModeState & import("../../main.lib.js").DarkModeCommands;
|
|
25
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
-
useBuiltinTranslations: boolean;
|
|
27
26
|
theme: Theme;
|
|
27
|
+
useBuiltinTranslations: boolean;
|
|
28
28
|
outline: boolean;
|
|
29
29
|
isClientSide: boolean;
|
|
30
30
|
forceOutline: boolean;
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</slot>
|
|
75
75
|
<slot name="extra"/>
|
|
76
76
|
</slot>
|
|
77
|
-
<
|
|
77
|
+
<DialogClose as-child>
|
|
78
78
|
<slot name="close">
|
|
79
79
|
<WButton
|
|
80
80
|
class="justify-self-end"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
Close
|
|
84
84
|
</WButton>
|
|
85
85
|
</slot>
|
|
86
|
-
</
|
|
86
|
+
</DialogClose>
|
|
87
87
|
</div>
|
|
88
88
|
</DialogContent>
|
|
89
89
|
</DialogPortal>
|
|
@@ -95,8 +95,17 @@ import type {
|
|
|
95
95
|
DialogContentEmits,
|
|
96
96
|
DialogContentProps,
|
|
97
97
|
DialogRootEmits,
|
|
98
|
-
DialogRootProps
|
|
99
|
-
|
|
98
|
+
DialogRootProps
|
|
99
|
+
} from "reka-ui"
|
|
100
|
+
import {
|
|
101
|
+
DialogClose,
|
|
102
|
+
DialogContent,
|
|
103
|
+
DialogDescription,
|
|
104
|
+
DialogOverlay,
|
|
105
|
+
DialogPortal,
|
|
106
|
+
DialogRoot,
|
|
107
|
+
DialogTitle,
|
|
108
|
+
DialogTrigger } from "reka-ui"
|
|
100
109
|
import type { EmitsToProps, HTMLAttributes } from "vue"
|
|
101
110
|
|
|
102
111
|
import type { TailwindClassProp } from "../../types/index.js"
|