@joyautomation/salt 0.0.1

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 (62) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +58 -0
  3. package/dist/actions.d.ts +2 -0
  4. package/dist/actions.js +15 -0
  5. package/dist/client.d.ts +3 -0
  6. package/dist/client.js +12 -0
  7. package/dist/components/ThemeButton.svelte +17 -0
  8. package/dist/components/ThemeButton.svelte.d.ts +17 -0
  9. package/dist/components/Toast.svelte +67 -0
  10. package/dist/components/Toast.svelte.d.ts +14 -0
  11. package/dist/components/Toggle.svelte +75 -0
  12. package/dist/components/Toggle.svelte.d.ts +21 -0
  13. package/dist/components/icons/ArrowPath.svelte +19 -0
  14. package/dist/components/icons/ArrowPath.svelte.d.ts +23 -0
  15. package/dist/components/icons/ChevronDown.svelte +15 -0
  16. package/dist/components/icons/ChevronDown.svelte.d.ts +23 -0
  17. package/dist/components/icons/ChevronUpDown.svelte +18 -0
  18. package/dist/components/icons/ChevronUpDown.svelte.d.ts +16 -0
  19. package/dist/components/icons/DocumentMinus.svelte +19 -0
  20. package/dist/components/icons/DocumentMinus.svelte.d.ts +23 -0
  21. package/dist/components/icons/DocumentPlus.svelte +19 -0
  22. package/dist/components/icons/DocumentPlus.svelte.d.ts +23 -0
  23. package/dist/components/icons/Link.svelte +19 -0
  24. package/dist/components/icons/Link.svelte.d.ts +23 -0
  25. package/dist/components/icons/Moon.svelte +18 -0
  26. package/dist/components/icons/Moon.svelte.d.ts +16 -0
  27. package/dist/components/icons/PauseCircle.svelte +18 -0
  28. package/dist/components/icons/PauseCircle.svelte.d.ts +16 -0
  29. package/dist/components/icons/Pencil.svelte +18 -0
  30. package/dist/components/icons/Pencil.svelte.d.ts +16 -0
  31. package/dist/components/icons/PlayCircle.svelte +20 -0
  32. package/dist/components/icons/PlayCircle.svelte.d.ts +23 -0
  33. package/dist/components/icons/Plus.svelte +14 -0
  34. package/dist/components/icons/Plus.svelte.d.ts +16 -0
  35. package/dist/components/icons/Sun.svelte +18 -0
  36. package/dist/components/icons/Sun.svelte.d.ts +16 -0
  37. package/dist/components/icons/Trash.svelte +18 -0
  38. package/dist/components/icons/Trash.svelte.d.ts +16 -0
  39. package/dist/components/icons/WrenchScrewdriver.svelte +18 -0
  40. package/dist/components/icons/WrenchScrewdriver.svelte.d.ts +16 -0
  41. package/dist/components/icons/Xmark.svelte +14 -0
  42. package/dist/components/icons/Xmark.svelte.d.ts +16 -0
  43. package/dist/components/icons/index.d.ts +14 -0
  44. package/dist/components/icons/index.js +14 -0
  45. package/dist/index.d.ts +5 -0
  46. package/dist/index.js +5 -0
  47. package/dist/stores/notifications.d.ts +12 -0
  48. package/dist/stores/notifications.js +17 -0
  49. package/dist/styles/buttons.scss +72 -0
  50. package/dist/styles/colors.scss +283 -0
  51. package/dist/styles/form.scss +40 -0
  52. package/dist/styles/layout.scss +56 -0
  53. package/dist/styles/main.scss +17 -0
  54. package/dist/styles/preflight.scss +90 -0
  55. package/dist/styles/rounded.scss +18 -0
  56. package/dist/styles/shadow.scss +10 -0
  57. package/dist/styles/spacing.scss +98 -0
  58. package/dist/styles/text.scss +111 -0
  59. package/dist/styles/themeDark.scss +1 -0
  60. package/dist/styles/themeLight.scss +1 -0
  61. package/dist/styles/themes.scss +95 -0
  62. package/package.json +65 -0
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # create-svelte
2
+
3
+ Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
4
+
5
+ Read more about creating a library [in the docs](https://kit.svelte.dev/docs/packaging).
6
+
7
+ ## Creating a project
8
+
9
+ If you're seeing this, you've probably already done this step. Congrats!
10
+
11
+ ```bash
12
+ # create a new project in the current directory
13
+ npm create svelte@latest
14
+
15
+ # create a new project in my-app
16
+ npm create svelte@latest my-app
17
+ ```
18
+
19
+ ## Developing
20
+
21
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
22
+
23
+ ```bash
24
+ npm run dev
25
+
26
+ # or start the server and open the app in a new browser tab
27
+ npm run dev -- --open
28
+ ```
29
+
30
+ Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.
31
+
32
+ ## Building
33
+
34
+ To build your library:
35
+
36
+ ```bash
37
+ npm run package
38
+ ```
39
+
40
+ To create a production version of your showcase app:
41
+
42
+ ```bash
43
+ npm run build
44
+ ```
45
+
46
+ You can preview the production build with `npm run preview`.
47
+
48
+ > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
49
+
50
+ ## Publishing
51
+
52
+ Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
53
+
54
+ To publish your library to [npm](https://www.npmjs.com):
55
+
56
+ ```bash
57
+ npm publish
58
+ ```
@@ -0,0 +1,2 @@
1
+ import type { Action } from '@sveltejs/kit';
2
+ export declare const setTheme: Action;
@@ -0,0 +1,15 @@
1
+ export const setTheme = async ({ request, cookies }) => {
2
+ const data = await request.formData();
3
+ const theme = data.get('theme');
4
+ cookies.set(`theme`, theme, {
5
+ path: '/',
6
+ secure: false,
7
+ });
8
+ const themeName = theme === 'themeDark' ? 'dark mode' : 'light mode';
9
+ return {
10
+ context: 'setTheme',
11
+ type: 'success',
12
+ message: `You are now in ${themeName}.`,
13
+ theme,
14
+ };
15
+ };
@@ -0,0 +1,3 @@
1
+ export declare function setTheme<ActionData extends {
2
+ [x: string]: string;
3
+ }>(form?: ActionData | null): void;
package/dist/client.js ADDED
@@ -0,0 +1,12 @@
1
+ export function setTheme(form) {
2
+ if (form?.context === 'setTheme') {
3
+ if (form?.theme === 'themeDark') {
4
+ document.body.classList.add('themeDark');
5
+ document.body.classList.remove('themeLight');
6
+ }
7
+ else {
8
+ document.body.classList.remove('themeDark');
9
+ document.body.classList.add('themeLight');
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,17 @@
1
+ <script>import { enhance } from "$app/forms";
2
+ import Moon from "./icons/Moon.svelte";
3
+ import Sun from "./icons/Sun.svelte";
4
+ export let theme;
5
+ export let action = "setTheme";
6
+ </script>
7
+
8
+ <form method="POST" action={`?/${action}`} use:enhance>
9
+ <input
10
+ type="hidden"
11
+ name="theme"
12
+ value={theme === 'themeDark' ? 'themeLight' : 'themeDark'}
13
+ />
14
+ <button class="button--icon button__dark-mode"
15
+ >{#if theme === 'themeDark'}<Moon />{:else}<Sun />{/if}</button
16
+ >
17
+ </form>
@@ -0,0 +1,17 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ theme: string;
5
+ action?: string | undefined;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export type ThemeButtonProps = typeof __propDef.props;
13
+ export type ThemeButtonEvents = typeof __propDef.events;
14
+ export type ThemeButtonSlots = typeof __propDef.slots;
15
+ export default class ThemeButton extends SvelteComponent<ThemeButtonProps, ThemeButtonEvents, ThemeButtonSlots> {
16
+ }
17
+ export {};
@@ -0,0 +1,67 @@
1
+ <script>import { page } from "$app/stores";
2
+ import { notifications, addNotification } from "../stores/notifications.js";
3
+ import { slide } from "svelte/transition";
4
+ let notifications_value;
5
+ $:
6
+ if ($page.form && $page.form?.message) {
7
+ addNotification($page.form);
8
+ }
9
+ notifications.subscribe((value) => {
10
+ notifications_value = value;
11
+ });
12
+ </script>
13
+
14
+ <div class="toast">
15
+ {#each notifications_value as notification}
16
+ <div
17
+ class:toast--success={notification.type === 'success'}
18
+ class:toast--error={notification.type === 'error'}
19
+ class:toast--warning={notification.type === 'warning'}
20
+ transition:slide
21
+ >
22
+ {notification.message}
23
+ </div>
24
+ {/each}
25
+ </div>
26
+
27
+ <style>.toast {
28
+ position: fixed;
29
+ top: var(--spacing-unit);
30
+ right: 0;
31
+ left: 0;
32
+ margin: auto;
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ padding: calc(var(--spacing-unit) * 3);
37
+ z-index: 1000;
38
+ display: flex;
39
+ flex-direction: column-reverse;
40
+ gap: var(--spacing-unit);
41
+ pointer-events: none;
42
+ border-radius: var(--rounded-md);
43
+ }
44
+ .toast > div {
45
+ padding: calc(var(--spacing-unit) * 2);
46
+ border-radius: var(--rounded-md);
47
+ font-size: var(--text-sm);
48
+ pointer-events: auto;
49
+ }
50
+
51
+ .toast--success {
52
+ border: solid 1px var(--green-600);
53
+ background-color: var(--green-200);
54
+ color: var(--green-600);
55
+ }
56
+
57
+ .toast--error {
58
+ border: solid 1px var(--red-600);
59
+ background-color: var(--red-200);
60
+ color: var(--red-600);
61
+ }
62
+
63
+ .toast--warning {
64
+ border: solid 1px var(--amber-600);
65
+ background-color: var(--amber-200);
66
+ color: var(--amber-600);
67
+ }</style>
@@ -0,0 +1,14 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type ToastProps = typeof __propDef.props;
10
+ export type ToastEvents = typeof __propDef.events;
11
+ export type ToastSlots = typeof __propDef.slots;
12
+ export default class Toast extends SvelteComponent<ToastProps, ToastEvents, ToastSlots> {
13
+ }
14
+ export {};
@@ -0,0 +1,75 @@
1
+ <script>import { enhance } from "$app/forms";
2
+ export let id;
3
+ export let checked = false;
4
+ export let name;
5
+ export let selector = null;
6
+ export let selectorName = "";
7
+ export let buttonType = "button";
8
+ </script>
9
+
10
+ <button
11
+ type={buttonType}
12
+ class="toggle-switch"
13
+ class:toggle-switch--active={checked}
14
+ on:click={() => {if (buttonType === 'button') checked = !checked }}
15
+ >
16
+ <span class="slider" />
17
+ </button>
18
+ <input {id} {name} type="hidden" value={!checked} />
19
+ {#if selector !== null}
20
+ <input id={`selector${id}`} name={selectorName} type="hidden" value={selector} />
21
+ {/if}
22
+
23
+ <style>/* Define the size variable */
24
+ :root {
25
+ --toggle-size: 40px;
26
+ }
27
+
28
+ /* Use the size variable for the toggle switch */
29
+ .toggle-switch {
30
+ display: inline-block;
31
+ position: relative;
32
+ width: var(--toggle-size);
33
+ height: calc(var(--toggle-size) * 0.6); /* 60% of the width */
34
+ }
35
+
36
+ .slider {
37
+ position: absolute;
38
+ cursor: pointer;
39
+ top: 0;
40
+ left: 0;
41
+ right: 0;
42
+ bottom: 0;
43
+ background-color: #ccc;
44
+ -webkit-transition: 0.4s;
45
+ transition: 0.4s;
46
+ border-radius: calc(var(--toggle-size) * 0.6); /* 60% of the width */
47
+ }
48
+
49
+ .slider:before {
50
+ position: absolute;
51
+ content: "";
52
+ top: calc(var(--toggle-size) * 0.1);
53
+ height: calc(var(--toggle-size) * 0.4);
54
+ width: calc(var(--toggle-size) * 0.4); /* 52% of the width */
55
+ left: calc(var(--toggle-size) * 0.08); /* 8% of the width */
56
+ bottom: calc(var(--toggle-size) * 0.08); /* 8% of the width */
57
+ background-color: white;
58
+ -webkit-transition: 0.4s;
59
+ transition: 0.4s;
60
+ border-radius: 50%;
61
+ }
62
+
63
+ .toggle-switch--active > .slider {
64
+ background-color: var(--theme-primary);
65
+ }
66
+
67
+ .toggle-switch:focus > .slider {
68
+ box-shadow: 0 0 1px var(--theme-primary);
69
+ }
70
+
71
+ .toggle-switch--active > .slider:before {
72
+ -webkit-transform: translateX(calc(var(--toggle-size) * 0.45)); /* 52% of the width */
73
+ -ms-transform: translateX(calc(var(--toggle-size) * 0.45)); /* 52% of the width */
74
+ transform: translateX(calc(var(--toggle-size) * 0.45)); /* 52% of the width */
75
+ }</style>
@@ -0,0 +1,21 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ id: string;
5
+ checked?: boolean | undefined;
6
+ name: string;
7
+ selector?: string | null | undefined;
8
+ selectorName?: string | undefined;
9
+ buttonType?: "button" | "submit" | undefined;
10
+ };
11
+ events: {
12
+ [evt: string]: CustomEvent<any>;
13
+ };
14
+ slots: {};
15
+ };
16
+ export type ToggleProps = typeof __propDef.props;
17
+ export type ToggleEvents = typeof __propDef.events;
18
+ export type ToggleSlots = typeof __propDef.slots;
19
+ export default class Toggle extends SvelteComponent<ToggleProps, ToggleEvents, ToggleSlots> {
20
+ }
21
+ export {};
@@ -0,0 +1,19 @@
1
+ <script>
2
+ export let size = '1.5rem';
3
+ </script>
4
+
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ stroke-width="1.5"
10
+ stroke="currentColor"
11
+ style:height={size}
12
+ style:width={size}
13
+ >
14
+ <path
15
+ stroke-linecap="round"
16
+ stroke-linejoin="round"
17
+ d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
18
+ />
19
+ </svg>
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} ArrowPathProps */
2
+ /** @typedef {typeof __propDef.events} ArrowPathEvents */
3
+ /** @typedef {typeof __propDef.slots} ArrowPathSlots */
4
+ export default class ArrowPath extends SvelteComponent<{
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type ArrowPathProps = typeof __propDef.props;
11
+ export type ArrowPathEvents = typeof __propDef.events;
12
+ export type ArrowPathSlots = 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 {};
@@ -0,0 +1,15 @@
1
+ <script>
2
+ export let size = '1.5rem';
3
+ </script>
4
+
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ stroke-width="1.5"
10
+ stroke="currentColor"
11
+ style:height={size}
12
+ style:width={size}
13
+ >
14
+ <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
15
+ </svg>
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} ChevronDownProps */
2
+ /** @typedef {typeof __propDef.events} ChevronDownEvents */
3
+ /** @typedef {typeof __propDef.slots} ChevronDownSlots */
4
+ export default class ChevronDown extends SvelteComponent<{
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type ChevronDownProps = typeof __propDef.props;
11
+ export type ChevronDownEvents = typeof __propDef.events;
12
+ export type ChevronDownSlots = 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 {};
@@ -0,0 +1,18 @@
1
+ <script>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
+ style:height={size}
11
+ style:width={size}
12
+ >
13
+ <path
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ d="M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"
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 ChevronUpDownProps = typeof __propDef.props;
12
+ export type ChevronUpDownEvents = typeof __propDef.events;
13
+ export type ChevronUpDownSlots = typeof __propDef.slots;
14
+ export default class ChevronUpDown extends SvelteComponent<ChevronUpDownProps, ChevronUpDownEvents, ChevronUpDownSlots> {
15
+ }
16
+ export {};
@@ -0,0 +1,19 @@
1
+ <script>
2
+ export let size = '1.5rem'
3
+ </script>
4
+
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ stroke-width="1.5"
10
+ stroke="currentColor"
11
+ style:height={size}
12
+ style:width={size}
13
+ >
14
+ <path
15
+ stroke-linecap="round"
16
+ stroke-linejoin="round"
17
+ d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
18
+ />
19
+ </svg>
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} DocumentMinusProps */
2
+ /** @typedef {typeof __propDef.events} DocumentMinusEvents */
3
+ /** @typedef {typeof __propDef.slots} DocumentMinusSlots */
4
+ export default class DocumentMinus extends SvelteComponent<{
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type DocumentMinusProps = typeof __propDef.props;
11
+ export type DocumentMinusEvents = typeof __propDef.events;
12
+ export type DocumentMinusSlots = 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 {};
@@ -0,0 +1,19 @@
1
+ <script>
2
+ export let size = '1.5rem';
3
+ </script>
4
+
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ stroke-width="1.5"
10
+ stroke="currentColor"
11
+ style:height={size}
12
+ style:width={size}
13
+ >
14
+ <path
15
+ stroke-linecap="round"
16
+ stroke-linejoin="round"
17
+ d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
18
+ />
19
+ </svg>
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} DocumentPlusProps */
2
+ /** @typedef {typeof __propDef.events} DocumentPlusEvents */
3
+ /** @typedef {typeof __propDef.slots} DocumentPlusSlots */
4
+ export default class DocumentPlus extends SvelteComponent<{
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type DocumentPlusProps = typeof __propDef.props;
11
+ export type DocumentPlusEvents = typeof __propDef.events;
12
+ export type DocumentPlusSlots = 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 {};
@@ -0,0 +1,19 @@
1
+ <script>
2
+ export let size = '1.5rem';
3
+ </script>
4
+
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ fill="none"
8
+ viewBox="0 0 24 24"
9
+ stroke-width="1.5"
10
+ stroke="currentColor"
11
+ style:height={size}
12
+ style:width={size}
13
+ >
14
+ <path
15
+ stroke-linecap="round"
16
+ stroke-linejoin="round"
17
+ d="M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"
18
+ />
19
+ </svg>
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} LinkProps */
2
+ /** @typedef {typeof __propDef.events} LinkEvents */
3
+ /** @typedef {typeof __propDef.slots} LinkSlots */
4
+ export default class Link extends SvelteComponent<{
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type LinkProps = typeof __propDef.props;
11
+ export type LinkEvents = typeof __propDef.events;
12
+ export type LinkSlots = 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 {};
@@ -0,0 +1,18 @@
1
+ <script>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
+ style:width={size}
11
+ style:height={size}
12
+ >
13
+ <path
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
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 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> {
15
+ }
16
+ export {};
@@ -0,0 +1,18 @@
1
+ <script>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
+ style:height={size}
11
+ style:width={size}
12
+ >
13
+ <path
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ d="M14.25 9v6m-4.5 0V9M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 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 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> {
15
+ }
16
+ export {};
@@ -0,0 +1,18 @@
1
+ <script>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
+ style:height={size}
11
+ style:width={size}
12
+ >
13
+ <path
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"
17
+ />
18
+ </svg>