@onsvisual/svelte-components 0.0.6 → 0.0.7

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 { commas, ascending, descending } from "$lib/js/utils.js";
2
+ import { commas, ascending, descending } from "../../js/utils.js";
3
3
 
4
4
  /**
5
5
  * An optional title for the table
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import Container from "../../wrappers/Container/Container.svelte";
3
3
 
4
4
  /**
5
5
  * (Optional) Include a horizontal rule
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { onMount, getContext } from "svelte";
3
- import { slugify } from "$lib/js/utils.js";
3
+ import { slugify } from "../../js/utils.js";
4
4
 
5
5
  /**
6
6
  * A title for the element
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import Container from "../../wrappers/Container/Container.svelte";
3
3
 
4
4
  /**
5
5
  * (Optional) Sets the unique ID of the section
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { onMount, getContext } from "svelte";
3
- import Theme from "$lib/wrappers/Theme/Theme.svelte";
3
+ import Theme from "../../wrappers/Theme/Theme.svelte";
4
4
 
5
5
  const page = getContext("page");
6
6
 
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import Container from "../../wrappers/Container/Container.svelte";
3
3
 
4
4
  /**
5
5
  * (Optional) Sets the unique ID of the section
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { onMount, getContext } from "svelte";
3
- import Theme from "$lib/wrappers/Theme/Theme.svelte";
3
+ import Theme from "../../wrappers/Theme/Theme.svelte";
4
4
  import ONSLogo from "./ONSLogo.svelte";
5
5
 
6
6
  const page = getContext("page");
@@ -1,6 +1,6 @@
1
1
  <script>
2
- import { validDate, formatDate } from "$lib/js/utils.js";
3
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import { validDate, formatDate } from "../../js/utils.js";
3
+ import Container from "../../wrappers/Container/Container.svelte";
4
4
 
5
5
  /**
6
6
  * (Optional) Sets the unique ID of the section
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { onMount, onDestroy, getContext } from "svelte";
3
- import { slugify } from "$lib/js/utils.js";
3
+ import { slugify } from "../../js/utils.js";
4
4
  import SectionBacklink from "./SectionBacklink.svelte";
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  <script>
2
2
  import { onMount } from "svelte";
3
- import Container from "$lib/wrappers/Container/Container.svelte";
3
+ import Container from "../../wrappers/Container/Container.svelte";
4
4
 
5
5
  /**
6
6
  * Sets the unique ID of the section
@@ -1,6 +1,6 @@
1
1
  <script>
2
- import { slugify } from "$lib/js/utils.js";
3
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import { slugify } from "../../js/utils.js";
3
+ import Container from "../../wrappers/Container/Container.svelte";
4
4
 
5
5
  /**
6
6
  * Sets the unique ID of the section
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { validDate, formatDate } from "$lib/js/utils.js";
2
+ import { validDate, formatDate } from "../../js/utils.js";
3
3
  export let meta = null;
4
4
  </script>
5
5
 
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import Container from "$lib/wrappers/Container/Container.svelte";
2
+ import Container from "../../wrappers/Container/Container.svelte";
3
3
  import Meta from "./Meta.svelte";
4
4
 
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://onsvisual.github.io/svelte-components",