@getmicdrop/svelte-components 4.1.0 → 4.1.1

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.
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { ChevronUpOutline } from "../Icons";
2
+ import { ChevronUpOutline } from "../../primitives/Icons";
3
3
 
4
4
  /** @type {Array<{question: string, answer: string} | string>} */
5
5
  export let faqs = [];
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  import { slide } from "svelte/transition";
3
3
  import { cubicOut } from "svelte/easing";
4
- import WarningIcon from "./Icons/WarningIcon.svelte";
4
+ import WarningIcon from "../../primitives/Icons/WarningIcon.svelte";
5
5
 
6
6
  /**
7
7
  * Object mapping field keys to error messages
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import Cropper from 'svelte-easy-crop';
3
- import { CloseOutline, MinusOutline, PlusOutline } from "../Icons";
3
+ import { CloseOutline, MinusOutline, PlusOutline } from "../../primitives/Icons";
4
4
  import Button from '../../primitives/Button/Button.svelte';
5
5
 
6
6
  export let showModal = false;
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Icon from "./Icons/Icon.svelte";
2
+ import Icon from "../../primitives/Icons/Icon.svelte";
3
3
 
4
4
  /** Error message to display */
5
5
  export let error = "";
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { createEventDispatcher, onMount } from "svelte";
3
- import { CloseOutline, ChevronDownOutline } from "../Icons";
3
+ import { CloseOutline, ChevronDownOutline } from "../../primitives/Icons";
4
4
 
5
5
  const dispatch = createEventDispatcher();
6
6
 
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { onMount } from 'svelte';
3
- import { SearchOutline } from "../Icons";
3
+ import { SearchOutline } from "../../../primitives/Icons";
4
4
  import * as GMaps from '@googlemaps/js-api-loader';
5
5
  import { PUBLIC_GOOGLE_MAPS_API_KEY } from '../../../config.js';
6
6
  const { Loader } = GMaps;
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { createEventDispatcher } from "svelte";
3
- import { SearchOutline } from "../Icons";
3
+ import { SearchOutline } from "../../primitives/Icons";
4
4
 
5
5
  const dispatch = createEventDispatcher();
6
6
 
@@ -12,7 +12,7 @@
12
12
  * />
13
13
  */
14
14
  import { createEventDispatcher, onMount, onDestroy, tick } from "svelte";
15
- import { ChevronDownOutline } from "../Icons";
15
+ import { ChevronDownOutline } from "../../primitives/Icons";
16
16
 
17
17
  /** @type {Array<{label: string, value: string}>} Options to display */
18
18
  export let options = [];
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { createEventDispatcher } from "svelte";
3
- import { ExclamationTriangleOutline } from "../Icons";
3
+ import { ExclamationTriangleOutline } from "../../primitives/Icons";
4
4
  import Button from "../Button/Button.svelte";
5
5
  import Cancel from "../../assets/svg/cancel.svg";
6
6
  import Modal from "./Modal.svelte";
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Icon from "../Icons/Icon.svelte";
2
+ import Icon from "../../primitives/Icons/Icon.svelte";
3
3
  import Button from "../Button/Button.svelte";
4
4
 
5
5
  /** Whether the modal is currently processing an action */
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { createEventDispatcher } from "svelte";
3
- import { CheckOutline, CloseOutline, ExclamationTriangleOutline, InfoCircleOutline } from "../Icons";
3
+ import { CheckOutline, CloseOutline, ExclamationTriangleOutline, InfoCircleOutline } from "../../primitives/Icons";
4
4
  import Button from "../Button/Button.svelte";
5
5
  import Cancel from "../../assets/svg/cancel.svg";
6
6
  import Modal from "./Modal.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmicdrop/svelte-components",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Shared component library for Micdrop applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",