@joyautomation/salt 0.0.18 → 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 (48) 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.d.ts +19 -22
  15. package/dist/components/icons/ChevronDown.svelte.d.ts +19 -22
  16. package/dist/components/icons/ChevronRight.svelte +1 -2
  17. package/dist/components/icons/ChevronRight.svelte.d.ts +14 -18
  18. package/dist/components/icons/ChevronUpDown.svelte +1 -2
  19. package/dist/components/icons/ChevronUpDown.svelte.d.ts +14 -18
  20. package/dist/components/icons/DocumentMinus.svelte.d.ts +19 -22
  21. package/dist/components/icons/DocumentPlus.svelte.d.ts +19 -22
  22. package/dist/components/icons/Link.svelte.d.ts +19 -22
  23. package/dist/components/icons/Minus.svelte.d.ts +19 -22
  24. package/dist/components/icons/Moon.svelte +1 -2
  25. package/dist/components/icons/Moon.svelte.d.ts +14 -18
  26. package/dist/components/icons/PauseCircle.svelte +1 -2
  27. package/dist/components/icons/PauseCircle.svelte.d.ts +14 -18
  28. package/dist/components/icons/Pencil.svelte +1 -2
  29. package/dist/components/icons/Pencil.svelte.d.ts +14 -18
  30. package/dist/components/icons/PlayCircle.svelte.d.ts +19 -22
  31. package/dist/components/icons/Plus.svelte +1 -2
  32. package/dist/components/icons/Plus.svelte.d.ts +14 -18
  33. package/dist/components/icons/ShoppingCart.svelte +18 -0
  34. package/dist/components/icons/ShoppingCart.svelte.d.ts +16 -0
  35. package/dist/components/icons/Sun.svelte +1 -2
  36. package/dist/components/icons/Sun.svelte.d.ts +14 -18
  37. package/dist/components/icons/Trash.svelte +1 -2
  38. package/dist/components/icons/Trash.svelte.d.ts +14 -18
  39. package/dist/components/icons/WrenchScrewdriver.svelte +1 -2
  40. package/dist/components/icons/WrenchScrewdriver.svelte.d.ts +14 -18
  41. package/dist/components/icons/Xcircle.svelte.d.ts +19 -22
  42. package/dist/components/icons/Xmark.svelte +1 -2
  43. package/dist/components/icons/Xmark.svelte.d.ts +14 -18
  44. package/dist/components/icons/index.d.ts +21 -20
  45. package/dist/components/icons/index.js +21 -20
  46. package/dist/stores/notifications.js +2 -2
  47. package/package.json +1 -1
  48. package/dist/stores/notifications.d.ts +0 -11
@@ -1,9 +1,8 @@
1
- <script lang="ts">
2
- import { enhance } from '$app/forms'
3
- import Moon from './icons/Moon.svelte'
4
- import Sun from './icons/Sun.svelte'
5
- export let theme: string
6
- export let action = 'setTheme'
1
+ <script lang="ts">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";
7
6
  </script>
8
7
 
9
8
  <form method="POST" action={`?/${action}`} use:enhance>
@@ -1,21 +1,17 @@
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
+ theme: string;
5
+ action?: string | undefined;
11
6
  };
12
- z_$$bindings?: Bindings;
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> {
13
16
  }
14
- declare const ThemeButton: $$__sveltets_2_IsomorphicComponent<{
15
- theme: string;
16
- action?: string;
17
- }, {
18
- [evt: string]: CustomEvent<any>;
19
- }, {}, {}, string>;
20
- type ThemeButton = InstanceType<typeof ThemeButton>;
21
- export default ThemeButton;
17
+ export {};
@@ -1,20 +1,15 @@
1
- <script lang="ts">
2
- import { page } from '$app/state'
3
- import { notifications, addNotification } from '../state/notifications.svelte'
4
- import { slide } from 'svelte/transition'
5
-
6
- let lastProcessedTime = 0
7
-
8
- $effect(() => {
9
- const formData = page.form
10
- const now = Date.now()
11
- // Only process if we have new form data with a message
12
- // and enough time has passed since the last notification (e.g., 50ms)
13
- if (formData?.message && now - lastProcessedTime > 50) {
14
- lastProcessedTime = now
15
- addNotification(formData)
16
- }
17
- })
1
+ <script lang="ts">import { page } from "$app/state";
2
+ import { notifications, addNotification } from "../state/notifications.svelte";
3
+ import { slide } from "svelte/transition";
4
+ let lastProcessedTime = 0;
5
+ $effect(() => {
6
+ const formData = page.form;
7
+ const now = Date.now();
8
+ if (formData?.message && now - lastProcessedTime > 50) {
9
+ lastProcessedTime = now;
10
+ addNotification(formData);
11
+ }
12
+ });
18
13
  </script>
19
14
 
20
15
  <div class="toast">
@@ -1,3 +1,14 @@
1
- declare const Toast: import("svelte").Component<Record<string, never>, {}, "">;
2
- type Toast = ReturnType<typeof Toast>;
3
- export default Toast;
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 {};
@@ -1,12 +1,10 @@
1
- <script lang="ts">
2
- import { enhance } from '$app/forms';
3
-
4
- export let id: string;
5
- export let checked = false;
6
- export let name: string;
7
- export let selector: string | null = null;
8
- export let selectorName: string = '';
9
- export let buttonType: 'button' | 'submit' = 'button';
1
+ <script lang="ts">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";
10
8
  </script>
11
9
 
12
10
  <button
@@ -1,25 +1,21 @@
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
+ id: string;
5
+ checked?: boolean | undefined;
6
+ name: string;
7
+ selector?: string | null | undefined;
8
+ selectorName?: string | undefined;
9
+ buttonType?: "button" | "submit" | undefined;
11
10
  };
12
- z_$$bindings?: Bindings;
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> {
13
20
  }
14
- declare const Toggle: $$__sveltets_2_IsomorphicComponent<{
15
- id: string;
16
- checked?: boolean;
17
- name: string;
18
- selector?: string | null;
19
- selectorName?: string;
20
- buttonType?: "button" | "submit";
21
- }, {
22
- [evt: string]: CustomEvent<any>;
23
- }, {}, {}, string>;
24
- type Toggle = InstanceType<typeof Toggle>;
25
- export default Toggle;
21
+ export {};
@@ -0,0 +1,17 @@
1
+ <script lang="ts">const { id, name, label, type, value, validation } = $props();
2
+ const validationResult = $derived(validation(value));
3
+ </script>
4
+
5
+ <div class="input">
6
+ <label for={id}>{label}</label>
7
+ <input {id} {name} {type} />
8
+ {#if validationResult != null}<div class="input__validation">{validationResult}</div>{/if}
9
+ </div>
10
+
11
+ <style>.input {
12
+ display: flex;
13
+ flex-direction: column;
14
+ }
15
+ .input > * {
16
+ margin-top: var(--spacing-unit);
17
+ }</style>
@@ -0,0 +1,15 @@
1
+ import { SvelteComponent } from "svelte";
2
+ import type { InputProps } from './types.js';
3
+ declare const __propDef: {
4
+ props: InputProps;
5
+ events: {
6
+ [evt: string]: CustomEvent<any>;
7
+ };
8
+ slots: {};
9
+ };
10
+ type InputProps_ = typeof __propDef.props;
11
+ export { InputProps_ as InputProps };
12
+ export type InputEvents = typeof __propDef.events;
13
+ export type InputSlots = typeof __propDef.slots;
14
+ export default class Input extends SvelteComponent<InputProps_, InputEvents, InputSlots> {
15
+ }
@@ -0,0 +1,8 @@
1
+ export type InputProps = {
2
+ id: string;
3
+ name: string;
4
+ label: string;
5
+ type: HTMLInputElement["type"];
6
+ value: string;
7
+ validation: (value: string) => string | null;
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,26 +1,23 @@
1
- export default ArrowPath;
2
- type ArrowPath = SvelteComponent<{
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<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const ArrowPath: $$__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 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 {};
@@ -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 BarsProps = typeof __propDef.props;
12
+ export type BarsEvents = typeof __propDef.events;
13
+ export type BarsSlots = typeof __propDef.slots;
14
+ export default class Bars extends SvelteComponent<BarsProps, BarsEvents, BarsSlots> {
13
15
  }
14
- declare const Bars: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type Bars = InstanceType<typeof Bars>;
20
- export default Bars;
16
+ export {};
@@ -1,26 +1,23 @@
1
- export default CheckCircle;
2
- type CheckCircle = SvelteComponent<{
1
+ /** @typedef {typeof __propDef.props} CheckCircleProps */
2
+ /** @typedef {typeof __propDef.events} CheckCircleEvents */
3
+ /** @typedef {typeof __propDef.slots} CheckCircleSlots */
4
+ export default class CheckCircle extends SvelteComponent<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const CheckCircle: $$__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 CheckCircleProps = typeof __propDef.props;
11
+ export type CheckCircleEvents = typeof __propDef.events;
12
+ export type CheckCircleSlots = 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,26 +1,23 @@
1
- export default ChevronDown;
2
- type ChevronDown = SvelteComponent<{
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<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const ChevronDown: $$__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 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 {};
@@ -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 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> {
13
15
  }
14
- declare const ChevronRight: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type ChevronRight = InstanceType<typeof ChevronRight>;
20
- export default ChevronRight;
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 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> {
13
15
  }
14
- declare const ChevronUpDown: $$__sveltets_2_IsomorphicComponent<{
15
- size?: string;
16
- }, {
17
- [evt: string]: CustomEvent<any>;
18
- }, {}, {}, string>;
19
- type ChevronUpDown = InstanceType<typeof ChevronUpDown>;
20
- export default ChevronUpDown;
16
+ export {};
@@ -1,26 +1,23 @@
1
- export default DocumentMinus;
2
- type DocumentMinus = SvelteComponent<{
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<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const DocumentMinus: $$__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 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 {};
@@ -1,26 +1,23 @@
1
- export default DocumentPlus;
2
- type DocumentPlus = SvelteComponent<{
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<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const DocumentPlus: $$__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 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 {};
@@ -1,26 +1,23 @@
1
- export default Link;
2
- type Link = SvelteComponent<{
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<{
3
5
  size?: string | undefined;
4
6
  }, {
5
7
  [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const Link: $$__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 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 {};