@getmicdrop/svelte-components 4.1.1 → 4.1.3
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/patterns/forms/FormActions.svelte +1 -1
- package/dist/patterns/navigation/Header.svelte +1 -1
- package/dist/patterns/page/PageLoader.svelte +2 -2
- package/dist/recipes/modals/ConfirmationModal.svelte +2 -2
- package/dist/recipes/modals/InputModal.svelte +2 -2
- package/dist/recipes/modals/ModalStateManager.svelte +1 -1
- package/dist/recipes/modals/ModalTestWrapper.svelte +1 -1
- package/dist/recipes/modals/ModalTestWrapper.svelte.d.ts +2 -2
- package/dist/recipes/modals/StatusModal.svelte +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { base } from '../../__LIB_PATHS__.js';
|
|
4
4
|
import { goto } from '../../__LIB_NAVIGATION__.js';
|
|
5
5
|
import Logo from "../../assets/images/Logo.png";
|
|
6
|
-
import Avatar from "
|
|
6
|
+
import Avatar from "../../primitives/Avatar/Avatar.svelte";
|
|
7
7
|
import DarkModeToggle from "../../primitives/DarkModeToggle.svelte";
|
|
8
8
|
import Icon from "../../primitives/Icons/Icon.svelte";
|
|
9
9
|
import ChevronLeft from "../../primitives/Icons/ChevronLeft.svelte";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Spinner from "
|
|
3
|
-
import Alert from "
|
|
2
|
+
import Spinner from "../../primitives/Spinner/Spinner.svelte";
|
|
3
|
+
import Alert from "../../primitives/Alert/Alert.svelte";
|
|
4
4
|
|
|
5
5
|
/** Whether the page is loading */
|
|
6
6
|
export let isLoading = true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { createEventDispatcher } from "svelte";
|
|
3
|
-
import Button from "
|
|
3
|
+
import Button from "../../primitives/Button/Button.svelte";
|
|
4
4
|
import Cancel from "../../assets/svg/cancel.svg";
|
|
5
|
-
import Modal from "
|
|
5
|
+
import Modal from "../../primitives/Modal/Modal.svelte";
|
|
6
6
|
|
|
7
7
|
export let show = false;
|
|
8
8
|
export let size = "default"; // "small" | "default" | "large"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { createEventDispatcher } from "svelte";
|
|
3
3
|
import { ExclamationTriangleOutline } from "../../primitives/Icons";
|
|
4
|
-
import Button from "
|
|
4
|
+
import Button from "../../primitives/Button/Button.svelte";
|
|
5
5
|
import Cancel from "../../assets/svg/cancel.svg";
|
|
6
|
-
import Modal from "
|
|
6
|
+
import Modal from "../../primitives/Modal/Modal.svelte";
|
|
7
7
|
|
|
8
8
|
export let show = false;
|
|
9
9
|
export let size = "default"; // "small" | "default" | "large"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import Icon from "../../primitives/Icons/Icon.svelte";
|
|
3
|
-
import Button from "
|
|
3
|
+
import Button from "../../primitives/Button/Button.svelte";
|
|
4
4
|
|
|
5
5
|
/** Whether the modal is currently processing an action */
|
|
6
6
|
export let isProcessing = false;
|
|
@@ -5,7 +5,7 @@ type ModalTestWrapper = SvelteComponent<{
|
|
|
5
5
|
description?: string | undefined;
|
|
6
6
|
warningText?: string | undefined;
|
|
7
7
|
}, {
|
|
8
|
-
cancel: any
|
|
8
|
+
cancel: CustomEvent<any>;
|
|
9
9
|
} & {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
}, {}> & {
|
|
@@ -17,7 +17,7 @@ declare const ModalTestWrapper: $$__sveltets_2_IsomorphicComponent<{
|
|
|
17
17
|
description?: string | undefined;
|
|
18
18
|
warningText?: string | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
cancel: any
|
|
20
|
+
cancel: CustomEvent<any>;
|
|
21
21
|
} & {
|
|
22
22
|
[evt: string]: CustomEvent<any>;
|
|
23
23
|
}, {}, {}, string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { createEventDispatcher } from "svelte";
|
|
3
3
|
import { CheckOutline, CloseOutline, ExclamationTriangleOutline, InfoCircleOutline } from "../../primitives/Icons";
|
|
4
|
-
import Button from "
|
|
4
|
+
import Button from "../../primitives/Button/Button.svelte";
|
|
5
5
|
import Cancel from "../../assets/svg/cancel.svg";
|
|
6
|
-
import Modal from "
|
|
6
|
+
import Modal from "../../primitives/Modal/Modal.svelte";
|
|
7
7
|
|
|
8
8
|
export let show = false;
|
|
9
9
|
export let size = "small"; // "small" | "default" | "large"
|