@functionalcms/svelte-components 3.0.14 → 3.0.16

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.
@@ -2,7 +2,8 @@
2
2
  import { compile } from 'mdsvex';
3
3
  import { onMount } from 'svelte';
4
4
 
5
- export let source: string = '';
5
+ /** @type {{ data: import('./$types').PageData }} */
6
+ let { source } = $props();
6
7
 
7
8
  let code = $state("");
8
9
 
@@ -1,8 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
- props: {
4
- source?: string;
5
- };
3
+ props: Record<string, never>;
6
4
  events: {
7
5
  [evt: string]: CustomEvent<any>;
8
6
  };
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export { importPost, listAllPosts } from './components/blog/blog.js';
25
25
  export { convertShowItemsToNavigationItems } from './components/converters/ShowItemToNavigationItems.js';
26
26
  export { ShowItem } from './components/presentation/ShowItem.js';
27
27
  export { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
28
- export { default as SvelteMarkdown } from './components/markdown/index';
28
+ export { default as SvelteMarkdown } from './components/Markdown.svelte';
29
29
  export { default as Alert } from './components/agnostic/Alert/Alert.svelte';
30
30
  export { default as Avatar } from './components/agnostic/Avatar/Avatar.svelte';
31
31
  export { default as AvatarGroup } from './components/agnostic/Avatar/AvatarGroup.svelte';
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ export { importPost, listAllPosts } from './components/blog/blog.js';
24
24
  export { convertShowItemsToNavigationItems } from './components/converters/ShowItemToNavigationItems.js';
25
25
  export { ShowItem } from './components/presentation/ShowItem.js';
26
26
  export { Justify, Placement, Orientation, Position, Sizes, AlignItmes } from './components/Styling.js';
27
- export { default as SvelteMarkdown } from './components/markdown/index';
27
+ export { default as SvelteMarkdown } from './components/Markdown.svelte';
28
28
  export { default as Alert } from './components/agnostic/Alert/Alert.svelte';
29
29
  export { default as Avatar } from './components/agnostic/Avatar/Avatar.svelte';
30
30
  export { default as AvatarGroup } from './components/agnostic/Avatar/AvatarGroup.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [