@joyautomation/salt 0.0.17 → 0.0.19

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.
Files changed (49) hide show
  1. package/dist/components/ThemeButton.svelte +5 -6
  2. package/dist/components/ThemeButton.svelte.d.ts +15 -19
  3. package/dist/components/Toast.svelte +12 -17
  4. package/dist/components/Toast.svelte.d.ts +14 -3
  5. package/dist/components/Toggle.svelte +7 -9
  6. package/dist/components/Toggle.svelte.d.ts +19 -23
  7. package/dist/components/forms/Input.svelte +17 -0
  8. package/dist/components/forms/Input.svelte.d.ts +15 -0
  9. package/dist/components/forms/types.d.ts +8 -0
  10. package/dist/components/forms/types.js +1 -0
  11. package/dist/components/icons/ArrowPath.svelte.d.ts +19 -22
  12. package/dist/components/icons/Bars.svelte +1 -2
  13. package/dist/components/icons/Bars.svelte.d.ts +14 -18
  14. package/dist/components/icons/CheckCircle.svelte +5 -1
  15. package/dist/components/icons/CheckCircle.svelte.d.ts +19 -22
  16. package/dist/components/icons/ChevronDown.svelte.d.ts +19 -22
  17. package/dist/components/icons/ChevronRight.svelte +1 -2
  18. package/dist/components/icons/ChevronRight.svelte.d.ts +14 -18
  19. package/dist/components/icons/ChevronUpDown.svelte +1 -2
  20. package/dist/components/icons/ChevronUpDown.svelte.d.ts +14 -18
  21. package/dist/components/icons/DocumentMinus.svelte.d.ts +19 -22
  22. package/dist/components/icons/DocumentPlus.svelte.d.ts +19 -22
  23. package/dist/components/icons/Link.svelte.d.ts +19 -22
  24. package/dist/components/icons/Minus.svelte.d.ts +19 -22
  25. package/dist/components/icons/Moon.svelte +1 -2
  26. package/dist/components/icons/Moon.svelte.d.ts +14 -18
  27. package/dist/components/icons/PauseCircle.svelte +1 -2
  28. package/dist/components/icons/PauseCircle.svelte.d.ts +14 -18
  29. package/dist/components/icons/Pencil.svelte +1 -2
  30. package/dist/components/icons/Pencil.svelte.d.ts +14 -18
  31. package/dist/components/icons/PlayCircle.svelte.d.ts +19 -22
  32. package/dist/components/icons/Plus.svelte +1 -2
  33. package/dist/components/icons/Plus.svelte.d.ts +14 -18
  34. package/dist/components/icons/ShoppingCart.svelte +18 -0
  35. package/dist/components/icons/ShoppingCart.svelte.d.ts +16 -0
  36. package/dist/components/icons/Sun.svelte +1 -2
  37. package/dist/components/icons/Sun.svelte.d.ts +14 -18
  38. package/dist/components/icons/Trash.svelte +1 -2
  39. package/dist/components/icons/Trash.svelte.d.ts +14 -18
  40. package/dist/components/icons/WrenchScrewdriver.svelte +1 -2
  41. package/dist/components/icons/WrenchScrewdriver.svelte.d.ts +14 -18
  42. package/dist/components/icons/Xcircle.svelte.d.ts +19 -22
  43. package/dist/components/icons/Xmark.svelte +1 -2
  44. package/dist/components/icons/Xmark.svelte.d.ts +14 -18
  45. package/dist/components/icons/index.d.ts +21 -20
  46. package/dist/components/icons/index.js +21 -20
  47. package/dist/stores/notifications.js +2 -2
  48. package/package.json +1 -1
  49. package/dist/stores/notifications.d.ts +0 -11
@@ -1,26 +1,23 @@
1
- export default Minus;
2
- type Minus = SvelteComponent<{
1
+ /** @typedef {typeof __propDef.props} MinusProps */
2
+ /** @typedef {typeof __propDef.events} MinusEvents */
3
+ /** @typedef {typeof __propDef.slots} MinusSlots */
4
+ export default class Minus extends SvelteComponent<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const Minus: $$__sveltets_2_IsomorphicComponent<{
10
- size?: string | undefined;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
- $$bindings?: Bindings;
17
- } & Exports;
18
- (internal: unknown, props: Props & {
19
- $$events?: Events;
20
- $$slots?: Slots;
21
- }): Exports & {
22
- $set?: any;
23
- $on?: any;
24
- };
25
- z_$$bindings?: Bindings;
8
+ }, {}> {
26
9
  }
10
+ export type MinusProps = typeof __propDef.props;
11
+ export type MinusEvents = typeof __propDef.events;
12
+ export type MinusSlots = typeof __propDef.slots;
13
+ import { SvelteComponent } from "svelte";
14
+ declare const __propDef: {
15
+ props: {
16
+ size?: string | undefined;
17
+ };
18
+ events: {
19
+ [evt: string]: CustomEvent<any>;
20
+ };
21
+ slots: {};
22
+ };
23
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type MoonProps = typeof __propDef.props;
12
+ export type MoonEvents = typeof __propDef.events;
13
+ export type MoonSlots = typeof __propDef.slots;
14
+ export default class Moon extends SvelteComponent<MoonProps, MoonEvents, MoonSlots> {
13
15
  }
14
- declare const Moon: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Moon = InstanceType<typeof Moon>;
20
- export default Moon;
16
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type PauseCircleProps = typeof __propDef.props;
12
+ export type PauseCircleEvents = typeof __propDef.events;
13
+ export type PauseCircleSlots = typeof __propDef.slots;
14
+ export default class PauseCircle extends SvelteComponent<PauseCircleProps, PauseCircleEvents, PauseCircleSlots> {
13
15
  }
14
- declare const PauseCircle: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type PauseCircle = InstanceType<typeof PauseCircle>;
20
- export default PauseCircle;
16
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type PencilProps = typeof __propDef.props;
12
+ export type PencilEvents = typeof __propDef.events;
13
+ export type PencilSlots = typeof __propDef.slots;
14
+ export default class Pencil extends SvelteComponent<PencilProps, PencilEvents, PencilSlots> {
13
15
  }
14
- declare const Pencil: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Pencil = InstanceType<typeof Pencil>;
20
- export default Pencil;
16
+ export {};
@@ -1,26 +1,23 @@
1
- export default PlayCircle;
2
- type PlayCircle = SvelteComponent<{
1
+ /** @typedef {typeof __propDef.props} PlayCircleProps */
2
+ /** @typedef {typeof __propDef.events} PlayCircleEvents */
3
+ /** @typedef {typeof __propDef.slots} PlayCircleSlots */
4
+ export default class PlayCircle extends SvelteComponent<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const PlayCircle: $$__sveltets_2_IsomorphicComponent<{
10
- size?: string | undefined;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
- $$bindings?: Bindings;
17
- } & Exports;
18
- (internal: unknown, props: Props & {
19
- $$events?: Events;
20
- $$slots?: Slots;
21
- }): Exports & {
22
- $set?: any;
23
- $on?: any;
24
- };
25
- z_$$bindings?: Bindings;
8
+ }, {}> {
26
9
  }
10
+ export type PlayCircleProps = typeof __propDef.props;
11
+ export type PlayCircleEvents = typeof __propDef.events;
12
+ export type PlayCircleSlots = typeof __propDef.slots;
13
+ import { SvelteComponent } from "svelte";
14
+ declare const __propDef: {
15
+ props: {
16
+ size?: string | undefined;
17
+ };
18
+ events: {
19
+ [evt: string]: CustomEvent<any>;
20
+ };
21
+ slots: {};
22
+ };
23
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type PlusProps = typeof __propDef.props;
12
+ export type PlusEvents = typeof __propDef.events;
13
+ export type PlusSlots = typeof __propDef.slots;
14
+ export default class Plus extends SvelteComponent<PlusProps, PlusEvents, PlusSlots> {
13
15
  }
14
- declare const Plus: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Plus = InstanceType<typeof Plus>;
20
- export default Plus;
16
+ export {};
@@ -0,0 +1,18 @@
1
+ <script lang="ts">export let size = "1.5rem";
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
+ width={size}
11
+ height={size}
12
+ >
13
+ <path
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ d="M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"
17
+ />
18
+ </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 ShoppingCartProps = typeof __propDef.props;
12
+ export type ShoppingCartEvents = typeof __propDef.events;
13
+ export type ShoppingCartSlots = typeof __propDef.slots;
14
+ export default class ShoppingCart extends SvelteComponent<ShoppingCartProps, ShoppingCartEvents, ShoppingCartSlots> {
15
+ }
16
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type SunProps = typeof __propDef.props;
12
+ export type SunEvents = typeof __propDef.events;
13
+ export type SunSlots = typeof __propDef.slots;
14
+ export default class Sun extends SvelteComponent<SunProps, SunEvents, SunSlots> {
13
15
  }
14
- declare const Sun: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Sun = InstanceType<typeof Sun>;
20
- export default Sun;
16
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1rem';
1
+ <script lang="ts">export let size = "1rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type TrashProps = typeof __propDef.props;
12
+ export type TrashEvents = typeof __propDef.events;
13
+ export type TrashSlots = typeof __propDef.slots;
14
+ export default class Trash extends SvelteComponent<TrashProps, TrashEvents, TrashSlots> {
13
15
  }
14
- declare const Trash: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Trash = InstanceType<typeof Trash>;
20
- export default Trash;
16
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type WrenchScrewdriverProps = typeof __propDef.props;
12
+ export type WrenchScrewdriverEvents = typeof __propDef.events;
13
+ export type WrenchScrewdriverSlots = typeof __propDef.slots;
14
+ export default class WrenchScrewdriver extends SvelteComponent<WrenchScrewdriverProps, WrenchScrewdriverEvents, WrenchScrewdriverSlots> {
13
15
  }
14
- declare const WrenchScrewdriver: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type WrenchScrewdriver = InstanceType<typeof WrenchScrewdriver>;
20
- export default WrenchScrewdriver;
16
+ export {};
@@ -1,26 +1,23 @@
1
- export default Xcircle;
2
- type Xcircle = SvelteComponent<{
1
+ /** @typedef {typeof __propDef.props} XcircleProps */
2
+ /** @typedef {typeof __propDef.events} XcircleEvents */
3
+ /** @typedef {typeof __propDef.slots} XcircleSlots */
4
+ export default class Xcircle extends SvelteComponent<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const Xcircle: $$__sveltets_2_IsomorphicComponent<{
10
- size?: string | undefined;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
15
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
16
- $$bindings?: Bindings;
17
- } & Exports;
18
- (internal: unknown, props: Props & {
19
- $$events?: Events;
20
- $$slots?: Slots;
21
- }): Exports & {
22
- $set?: any;
23
- $on?: any;
24
- };
25
- z_$$bindings?: Bindings;
8
+ }, {}> {
26
9
  }
10
+ export type XcircleProps = typeof __propDef.props;
11
+ export type XcircleEvents = typeof __propDef.events;
12
+ export type XcircleSlots = typeof __propDef.slots;
13
+ import { SvelteComponent } from "svelte";
14
+ declare const __propDef: {
15
+ props: {
16
+ size?: string | undefined;
17
+ };
18
+ events: {
19
+ [evt: string]: CustomEvent<any>;
20
+ };
21
+ slots: {};
22
+ };
23
+ export {};
@@ -1,5 +1,4 @@
1
- <script lang="ts">
2
- export let size = '1.5rem';
1
+ <script lang="ts">export let size = "1.5rem";
3
2
  </script>
4
3
 
5
4
  <svg
@@ -1,20 +1,16 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ size?: string | undefined;
11
5
  };
12
- z_$$bindings?: Bindings;
6
+ events: {
7
+ [evt: string]: CustomEvent<any>;
8
+ };
9
+ slots: {};
10
+ };
11
+ export type XmarkProps = typeof __propDef.props;
12
+ export type XmarkEvents = typeof __propDef.events;
13
+ export type XmarkSlots = typeof __propDef.slots;
14
+ export default class Xmark extends SvelteComponent<XmarkProps, XmarkEvents, XmarkSlots> {
13
15
  }
14
- declare const Xmark: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Xmark = InstanceType<typeof Xmark>;
20
- export default Xmark;
16
+ export {};
@@ -1,20 +1,21 @@
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";
17
- export { default as Minus } from "./Minus.svelte";
18
- export { default as Bars } from "./Bars.svelte";
19
- export { default as CheckCircle } from "./CheckCircle.svelte";
20
- export { default as Xcircle } from "./Xcircle.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';
17
+ export { default as Minus } from './Minus.svelte';
18
+ export { default as ShoppingCart } from './ShoppingCart.svelte';
19
+ export { default as Bars } from './Bars.svelte';
20
+ export { default as CheckCircle } from './CheckCircle.svelte';
21
+ export { default as Xcircle } from './Xcircle.svelte';
@@ -1,20 +1,21 @@
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";
17
- export { default as Minus } from "./Minus.svelte";
18
- export { default as Bars } from "./Bars.svelte";
19
- export { default as CheckCircle } from "./CheckCircle.svelte";
20
- export { default as Xcircle } from "./Xcircle.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';
17
+ export { default as Minus } from './Minus.svelte';
18
+ export { default as ShoppingCart } from './ShoppingCart.svelte';
19
+ export { default as Bars } from './Bars.svelte';
20
+ export { default as CheckCircle } from './CheckCircle.svelte';
21
+ export { default as Xcircle } from './Xcircle.svelte';
@@ -1,5 +1,5 @@
1
- import { writable } from 'svelte/store';
2
- import { nanoid } from 'nanoid';
1
+ import { writable } from "svelte/store";
2
+ import { nanoid } from "nanoid";
3
3
  const initializer = [];
4
4
  export const notifications = writable(initializer);
5
5
  export function addNotification(notification) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joyautomation/salt",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "exports": {
5
5
  ".": [
6
6
  "./dist/index.js",
@@ -1,11 +0,0 @@
1
- export interface NotificationInput {
2
- type: string;
3
- message: string;
4
- }
5
- export interface Notification {
6
- id: string;
7
- type: string;
8
- message: string;
9
- }
10
- export declare const notifications: import("svelte/store").Writable<Notification[]>;
11
- export declare function addNotification(notification: NotificationInput): void;