@appscode/design-system 1.1.0-beta.41 → 1.1.0-beta.42
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/package.json
CHANGED
|
@@ -31,19 +31,14 @@ const Buttons = defineAsyncComponent(() => import("./../button/Buttons.vue"));
|
|
|
31
31
|
const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
|
|
32
32
|
|
|
33
33
|
//TODO: need to update not a currect way to import the file
|
|
34
|
-
const modalCloseIcon = import.meta.glob(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
);
|
|
34
|
+
const modalCloseIcon = import.meta.glob("../../../icons/close-icon.svg", {
|
|
35
|
+
eager: true,
|
|
36
|
+
});
|
|
38
37
|
|
|
39
38
|
const showModal = ref(false);
|
|
40
39
|
const crossIcon = ref(
|
|
41
|
-
(
|
|
42
|
-
|
|
43
|
-
string,
|
|
44
|
-
unknown
|
|
45
|
-
>
|
|
46
|
-
).default as string
|
|
40
|
+
(modalCloseIcon["../../../icons/close-icon.svg"] as Record<string, unknown>)
|
|
41
|
+
?.default as string
|
|
47
42
|
);
|
|
48
43
|
|
|
49
44
|
const onKeyDown = (e: KeyboardEvent) => {
|