@joyautomation/salt 0.0.4 → 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,4 +1,4 @@
1
- <script>import { enhance } from "$app/forms";
1
+ <script lang="ts">import { enhance } from "$app/forms";
2
2
  import Moon from "./icons/Moon.svelte";
3
3
  import Sun from "./icons/Sun.svelte";
4
4
  export let theme;
@@ -1,4 +1,4 @@
1
- <script>import { page } from "$app/stores";
1
+ <script lang="ts">import { page } from "$app/stores";
2
2
  import { notifications, addNotification } from "../stores/notifications.js";
3
3
  import { slide } from "svelte/transition";
4
4
  let notifications_value;
@@ -1,4 +1,4 @@
1
- <script>import { enhance } from "$app/forms";
1
+ <script lang="ts">import { enhance } from "$app/forms";
2
2
  export let id;
3
3
  export let checked = false;
4
4
  export let name;
@@ -0,0 +1,14 @@
1
+ <script lang="ts">export let size = "1rem";
2
+ </script>
3
+
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ fill="none"
7
+ viewBox="0 0 24 24"
8
+ stroke-width="1.5"
9
+ stroke="currentColor"
10
+ style:height={size}
11
+ style:width={size}
12
+ >
13
+ <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" />
14
+ </svg>
@@ -0,0 +1,16 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
5
+ };
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type ChevronRightProps = typeof __propDef.props;
12
+ export type ChevronRightEvents = typeof __propDef.events;
13
+ export type ChevronRightSlots = typeof __propDef.slots;
14
+ export default class ChevronRight extends SvelteComponent<ChevronRightProps, ChevronRightEvents, ChevronRightSlots> {
15
+ }
16
+ export {};
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1rem";
1
+ <script lang="ts">export let size = "1rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,4 +1,4 @@
1
- <script>export let size = "1.5rem";
1
+ <script lang="ts">export let size = "1.5rem";
2
2
  </script>
3
3
 
4
4
  <svg
@@ -1,15 +1,16 @@
1
- export { default as ArrowPath } from './ArrowPath.svelte';
2
- export { default as ChevronDown } from './ChevronDown.svelte';
3
- export { default as ChevronUpDown } from './ChevronUpDown.svelte';
4
- export { default as DocumentMinus } from './DocumentMinus.svelte';
5
- export { default as DocumentPlus } from './DocumentPlus.svelte';
6
- export { default as Link } from './Link.svelte';
7
- export { default as Moon } from './Moon.svelte';
8
- export { default as PauseCircle } from './PauseCircle.svelte';
9
- export { default as Pencil } from './Pencil.svelte';
10
- export { default as PlayCircle } from './PlayCircle.svelte';
11
- export { default as Plus } from './Plus.svelte';
12
- export { default as Sun } from './Sun.svelte';
13
- export { default as Trash } from './Trash.svelte';
14
- export { default as WrenchScrewdriver } from './WrenchScrewdriver.svelte';
15
- export { default as Xmark } from './Xmark.svelte';
1
+ export { default as ArrowPath } from "./ArrowPath.svelte";
2
+ export { default as ChevronRight } from "./ChevronRight.svelte";
3
+ export { default as ChevronDown } from "./ChevronDown.svelte";
4
+ export { default as ChevronUpDown } from "./ChevronUpDown.svelte";
5
+ export { default as DocumentMinus } from "./DocumentMinus.svelte";
6
+ export { default as DocumentPlus } from "./DocumentPlus.svelte";
7
+ export { default as Link } from "./Link.svelte";
8
+ export { default as Moon } from "./Moon.svelte";
9
+ export { default as PauseCircle } from "./PauseCircle.svelte";
10
+ export { default as Pencil } from "./Pencil.svelte";
11
+ export { default as PlayCircle } from "./PlayCircle.svelte";
12
+ export { default as Plus } from "./Plus.svelte";
13
+ export { default as Sun } from "./Sun.svelte";
14
+ export { default as Trash } from "./Trash.svelte";
15
+ export { default as WrenchScrewdriver } from "./WrenchScrewdriver.svelte";
16
+ export { default as Xmark } from "./Xmark.svelte";
@@ -1,15 +1,16 @@
1
- export { default as ArrowPath } from './ArrowPath.svelte';
2
- export { default as ChevronDown } from './ChevronDown.svelte';
3
- export { default as ChevronUpDown } from './ChevronUpDown.svelte';
4
- export { default as DocumentMinus } from './DocumentMinus.svelte';
5
- export { default as DocumentPlus } from './DocumentPlus.svelte';
6
- export { default as Link } from './Link.svelte';
7
- export { default as Moon } from './Moon.svelte';
8
- export { default as PauseCircle } from './PauseCircle.svelte';
9
- export { default as Pencil } from './Pencil.svelte';
10
- export { default as PlayCircle } from './PlayCircle.svelte';
11
- export { default as Plus } from './Plus.svelte';
12
- export { default as Sun } from './Sun.svelte';
13
- export { default as Trash } from './Trash.svelte';
14
- export { default as WrenchScrewdriver } from './WrenchScrewdriver.svelte';
15
- export { default as Xmark } from './Xmark.svelte';
1
+ export { default as ArrowPath } from "./ArrowPath.svelte";
2
+ export { default as ChevronRight } from "./ChevronRight.svelte";
3
+ export { default as ChevronDown } from "./ChevronDown.svelte";
4
+ export { default as ChevronUpDown } from "./ChevronUpDown.svelte";
5
+ export { default as DocumentMinus } from "./DocumentMinus.svelte";
6
+ export { default as DocumentPlus } from "./DocumentPlus.svelte";
7
+ export { default as Link } from "./Link.svelte";
8
+ export { default as Moon } from "./Moon.svelte";
9
+ export { default as PauseCircle } from "./PauseCircle.svelte";
10
+ export { default as Pencil } from "./Pencil.svelte";
11
+ export { default as PlayCircle } from "./PlayCircle.svelte";
12
+ export { default as Plus } from "./Plus.svelte";
13
+ export { default as Sun } from "./Sun.svelte";
14
+ export { default as Trash } from "./Trash.svelte";
15
+ export { default as WrenchScrewdriver } from "./WrenchScrewdriver.svelte";
16
+ export { default as Xmark } from "./Xmark.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joyautomation/salt",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "exports": {
5
5
  ".": [
6
6
  "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "prettier": "^3.2.5",
38
38
  "prettier-plugin-svelte": "^3.2.3",
39
39
  "publint": "^0.1.9",
40
- "svelte": "^4.2.7",
40
+ "svelte": "5.0.0-next.244",
41
41
  "svelte-check": "^3.6.0",
42
42
  "tslib": "^2.4.1",
43
43
  "typescript": "^5.4.5",
@@ -1,12 +0,0 @@
1
- /// <reference types="svelte" />
2
- export interface NotificationInput {
3
- type: string;
4
- message: string;
5
- }
6
- export interface Notification {
7
- id: string;
8
- type: string;
9
- message: string;
10
- }
11
- export declare const notifications: import("svelte/store").Writable<Notification[]>;
12
- export declare function addNotification(notification: NotificationInput): void;