@functionalcms/svelte-components 2.12.13 → 2.13.0

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.
@@ -12,15 +12,15 @@ import { title, suffix } from "../../stores/title";
12
12
  import { metaDescription, metaKeywords } from "../../stores/meta";
13
13
  export let robots = "index, follow";
14
14
  export let headerIsSticky = false;
15
+ export let tracker = "";
15
16
  $:
16
17
  headerCss = headerIsSticky ? "sticky" : "";
17
18
  </script>
18
19
 
19
20
  <svelte:head>
20
- <script
21
- data-goatcounter="https://tracking.functional-cms.com/count"
22
- async
23
- src="//gc.zgo.at/count.js"></script>
21
+ <script data-goatcounter="https://{tracker}.goatcounter.com/count"
22
+ async src="//gc.zgo.at/count.js"></script>
23
+ <link rel="canonical" href="{window.location.href}">
24
24
 
25
25
  <title>{$title}{$suffix}</title>
26
26
  <meta name="og:title" property="og:title" content="{$title}{$suffix}" />
@@ -54,5 +54,5 @@ $:
54
54
  </footer>
55
55
  {/if}
56
56
  <noscript>
57
- <img src="https://tracking.functional-cms.com/count?p=/{$page.url.pathname}}" alt="" />
57
+ <img src="https://{tracker}.goatcounter.com/count?p=/{$page.url.pathname}" alt="">
58
58
  </noscript>
@@ -3,6 +3,7 @@ declare const __propDef: {
3
3
  props: {
4
4
  robots?: string | undefined;
5
5
  headerIsSticky?: boolean | undefined;
6
+ tracker?: string | undefined;
6
7
  };
7
8
  events: {
8
9
  [evt: string]: CustomEvent<any>;
@@ -1,8 +1,7 @@
1
1
  <style>
2
2
  </style>
3
3
 
4
- <script>import { AlignItmes, Justify, Orientation } from "../Styling.js";
5
- import {} from "./ShowItem";
4
+ <script>import { AlignItmes, Justify, Orientation, ShowItem } from "@functionalcms/svelte-components";
6
5
  import { Card } from "agnostic-svelte";
7
6
  export let items = [];
8
7
  export let galleryCss = "";
@@ -1,13 +1,11 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { AlignItmes, Justify, Orientation } from '../Styling.js';
3
- import { type ShowItem } from './ShowItem';
4
2
  declare const __propDef: {
5
3
  props: {
6
4
  items?: ShowItem[] | undefined;
7
5
  galleryCss?: string | undefined;
8
- justify?: Justify | undefined;
9
- alignItems?: AlignItmes | undefined;
10
- orientation?: Orientation | undefined;
6
+ justify?: any;
7
+ alignItems?: any;
8
+ orientation?: any;
11
9
  };
12
10
  events: {
13
11
  [evt: string]: CustomEvent<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "2.12.13",
3
+ "version": "2.13.0",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [