lutra 0.0.20 → 0.0.33
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.
- package/dist/color.css +0 -0
- package/dist/display/Avatar.svelte +1 -1
- package/dist/display/Avatar.svelte.d.ts +18 -22
- package/dist/display/Badge.svelte +2 -4
- package/dist/display/Badge.svelte.d.ts +28 -32
- package/dist/display/Callout.svelte +8 -8
- package/dist/display/Callout.svelte.d.ts +27 -35
- package/dist/display/Close.svelte.d.ts +17 -20
- package/dist/display/Code.svelte +26 -31
- package/dist/display/Code.svelte.d.ts +31 -30
- package/dist/display/ContextTip.svelte +2 -5
- package/dist/display/ContextTip.svelte.d.ts +16 -20
- package/dist/display/DataList.svelte +16 -0
- package/dist/display/DataList.svelte.d.ts +21 -0
- package/dist/display/Details.svelte.d.ts +25 -30
- package/dist/display/Hero.svelte.d.ts +24 -28
- package/dist/display/Icon.svelte +3 -4
- package/dist/display/Icon.svelte.d.ts +18 -23
- package/dist/display/IconButton.svelte +12 -5
- package/dist/display/IconButton.svelte.d.ts +26 -29
- package/dist/display/Image.svelte.d.ts +25 -36
- package/dist/display/Indicator.svelte.d.ts +21 -22
- package/dist/display/Inset.svelte.d.ts +16 -20
- package/dist/display/LineChart.svelte +385 -0
- package/dist/display/LineChart.svelte.d.ts +24 -0
- package/dist/display/LoadingIndicator.svelte +33 -0
- package/dist/display/LoadingIndicator.svelte.d.ts +15 -0
- package/dist/display/Modal.svelte +116 -0
- package/dist/display/Modal.svelte.d.ts +27 -0
- package/dist/display/Notification.svelte.d.ts +22 -41
- package/dist/display/Panel.svelte +23 -0
- package/dist/display/Panel.svelte.d.ts +19 -0
- package/dist/display/Popup.svelte.d.ts +23 -28
- package/dist/{data → display}/Stat.svelte +9 -17
- package/dist/display/Stat.svelte.d.ts +30 -0
- package/dist/display/Table.svelte +14 -10
- package/dist/display/Table.svelte.d.ts +22 -32
- package/dist/display/TablePaginator.svelte +51 -0
- package/dist/display/TablePaginator.svelte.d.ts +21 -0
- package/dist/display/Tag.svelte.d.ts +29 -32
- package/dist/display/Tooltip.svelte +5 -4
- package/dist/display/Tooltip.svelte.d.ts +21 -26
- package/dist/display/chart.d.ts +78 -0
- package/dist/display/chart.js +212 -0
- package/dist/display/index.d.ts +11 -1
- package/dist/display/index.js +11 -1
- package/dist/display/notifications.svelte.d.ts +3 -3
- package/dist/display/notifications.svelte.js +2 -2
- package/dist/form/Button.svelte +7 -2
- package/dist/form/Button.svelte.d.ts +25 -35
- package/dist/form/FieldActions.svelte +25 -3
- package/dist/form/FieldActions.svelte.d.ts +18 -22
- package/dist/form/FieldContainer.svelte +1 -1
- package/dist/form/FieldContainer.svelte.d.ts +17 -22
- package/dist/form/FieldContent.svelte +52 -33
- package/dist/form/FieldContent.svelte.d.ts +28 -56
- package/dist/form/FieldError.svelte.d.ts +17 -20
- package/dist/form/FieldSection.svelte.d.ts +18 -32
- package/dist/form/Fieldset.svelte.d.ts +29 -40
- package/dist/form/Form.svelte +55 -17
- package/dist/form/Form.svelte.d.ts +36 -31
- package/dist/form/ImageUpload.svelte +259 -0
- package/dist/form/ImageUpload.svelte.d.ts +31 -0
- package/dist/form/Input.svelte +192 -153
- package/dist/form/Input.svelte.d.ts +115 -140
- package/dist/form/InputLength.svelte.d.ts +19 -20
- package/dist/form/Label.svelte +21 -4
- package/dist/form/Label.svelte.d.ts +24 -30
- package/dist/form/LogoUpload.svelte +100 -0
- package/dist/form/LogoUpload.svelte.d.ts +29 -0
- package/dist/form/Select.svelte +84 -36
- package/dist/form/Select.svelte.d.ts +69 -96
- package/dist/form/Textarea.svelte +163 -0
- package/dist/form/Textarea.svelte.d.ts +108 -0
- package/dist/form/Toggle.svelte +2 -0
- package/dist/form/Toggle.svelte.d.ts +15 -0
- package/dist/form/client.svelte.d.ts +8 -9
- package/dist/form/client.svelte.js +18 -10
- package/dist/form/form.d.ts +6 -4
- package/dist/form/form.js +23 -9
- package/dist/form/index.d.ts +6 -3
- package/dist/form/index.js +6 -3
- package/dist/form/types.d.ts +11 -1
- package/dist/icons/IconAlert.svelte.d.ts +23 -0
- package/dist/icons/{Copy.svelte → IconCopy.svelte} +1 -1
- package/dist/icons/IconCopy.svelte.d.ts +23 -0
- package/dist/icons/IconDone.svelte.d.ts +23 -0
- package/dist/icons/IconError.svelte.d.ts +23 -0
- package/dist/icons/IconHelp.svelte.d.ts +23 -0
- package/dist/icons/IconHide.svelte.d.ts +23 -0
- package/dist/icons/IconInfo.svelte.d.ts +23 -0
- package/dist/icons/IconLink.svelte.d.ts +23 -0
- package/dist/icons/IconMenuBurger.svelte.d.ts +23 -0
- package/dist/icons/IconMenuDots.svelte.d.ts +23 -0
- package/dist/icons/IconSearch.svelte +3 -0
- package/dist/icons/IconSearch.svelte.d.ts +23 -0
- package/dist/icons/IconShow.svelte.d.ts +23 -0
- package/dist/icons/IconSuccess.svelte.d.ts +23 -0
- package/dist/icons/IconWarning.svelte.d.ts +23 -0
- package/dist/icons/index.d.ts +14 -11
- package/dist/icons/index.js +14 -11
- package/dist/layout/Layout.svelte +7 -5
- package/dist/layout/Layout.svelte.d.ts +19 -22
- package/dist/layout/LayoutFooter.svelte.d.ts +17 -18
- package/dist/layout/LayoutGrid.svelte.d.ts +25 -36
- package/dist/layout/LayoutHeader.svelte +3 -0
- package/dist/layout/LayoutHeader.svelte.d.ts +33 -38
- package/dist/layout/LayoutSideMenu.svelte +18 -17
- package/dist/layout/LayoutSideMenu.svelte.d.ts +18 -22
- package/dist/layout/Overlay.svelte.d.ts +22 -32
- package/dist/layout/OverlayContainer.svelte.d.ts +14 -15
- package/dist/layout/OverlayLayer.svelte +6 -11
- package/dist/layout/OverlayLayer.svelte.d.ts +17 -20
- package/dist/layout/PageContent.svelte +9 -24
- package/dist/layout/PageContent.svelte.d.ts +23 -26
- package/dist/layout/Theme.svelte +19 -4
- package/dist/layout/Theme.svelte.d.ts +17 -22
- package/dist/layout/UIContent.svelte.d.ts +16 -20
- package/dist/layout/index.d.ts +5 -1
- package/dist/layout/index.js +5 -1
- package/dist/layout/overlays.svelte.d.ts +2 -2
- package/dist/nav/Breadcrumb.svelte +1 -1
- package/dist/nav/Breadcrumb.svelte.d.ts +26 -31
- package/dist/nav/Menu.svelte +6 -13
- package/dist/nav/Menu.svelte.d.ts +25 -31
- package/dist/nav/MenuItem.svelte +15 -8
- package/dist/nav/MenuItem.svelte.d.ts +20 -24
- package/dist/nav/MenuTypes.d.ts +7 -7
- package/dist/nav/NavMenu.svelte +7 -9
- package/dist/nav/NavMenu.svelte.d.ts +17 -18
- package/dist/nav/TabbedContent.svelte +1 -1
- package/dist/nav/TabbedContent.svelte.d.ts +21 -22
- package/dist/nav/Tabs.svelte +53 -13
- package/dist/nav/Tabs.svelte.d.ts +24 -25
- package/dist/nav/index.d.ts +2 -1
- package/dist/nav/index.js +2 -1
- package/dist/style.css +176 -79
- package/dist/typo/Clamp.svelte.d.ts +22 -26
- package/dist/typo/H.svelte.d.ts +26 -30
- package/dist/typo/H1.svelte.d.ts +24 -28
- package/dist/typo/H2.svelte.d.ts +24 -28
- package/dist/typo/H3.svelte.d.ts +24 -28
- package/dist/typo/H4.svelte.d.ts +24 -28
- package/dist/typo/H5.svelte.d.ts +24 -28
- package/dist/typo/H6.svelte.d.ts +24 -28
- package/dist/typo/P.svelte.d.ts +24 -28
- package/dist/utils/StringOrComponent.svelte +14 -0
- package/dist/utils/StringOrComponent.svelte.d.ts +19 -0
- package/dist/utils/StringOrSnippet.svelte +11 -0
- package/dist/utils/StringOrSnippet.svelte.d.ts +19 -0
- package/dist/utils/color.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/isSnippet.d.ts +3 -5
- package/dist/utils/isSnippet.js +9 -4
- package/package.json +32 -25
- package/dist/data/Stat.svelte.d.ts +0 -39
- package/dist/data/index.d.ts +0 -1
- package/dist/data/index.js +0 -1
- package/dist/grid/Column.svelte +0 -11
- package/dist/grid/Column.svelte.d.ts +0 -22
- package/dist/grid/Grid.svelte +0 -19
- package/dist/grid/Grid.svelte.d.ts +0 -24
- package/dist/grid/Row.svelte +0 -44
- package/dist/grid/Row.svelte.d.ts +0 -24
- package/dist/icons/Alert.svelte.d.ts +0 -23
- package/dist/icons/Copy.svelte.d.ts +0 -23
- package/dist/icons/Done.svelte.d.ts +0 -23
- package/dist/icons/Error.svelte.d.ts +0 -23
- package/dist/icons/Help.svelte.d.ts +0 -23
- package/dist/icons/Hide.svelte.d.ts +0 -23
- package/dist/icons/Info.svelte.d.ts +0 -23
- package/dist/icons/Link.svelte.d.ts +0 -23
- package/dist/icons/MenuBurger.svelte.d.ts +0 -23
- package/dist/icons/MenuDots.svelte.d.ts +0 -23
- package/dist/icons/Show.svelte.d.ts +0 -23
- package/dist/icons/Success.svelte.d.ts +0 -23
- package/dist/icons/Warning.svelte.d.ts +0 -23
- package/dist/utils/StringOrComponentOrSnippet.svelte +0 -14
- package/dist/utils/StringOrComponentOrSnippet.svelte.d.ts +0 -24
- /package/dist/icons/{Alert.svelte → IconAlert.svelte} +0 -0
- /package/dist/icons/{Done.svelte → IconDone.svelte} +0 -0
- /package/dist/icons/{Error.svelte → IconError.svelte} +0 -0
- /package/dist/icons/{Help.svelte → IconHelp.svelte} +0 -0
- /package/dist/icons/{Hide.svelte → IconHide.svelte} +0 -0
- /package/dist/icons/{Info.svelte → IconInfo.svelte} +0 -0
- /package/dist/icons/{Link.svelte → IconLink.svelte} +0 -0
- /package/dist/icons/{MenuBurger.svelte → IconMenuBurger.svelte} +0 -0
- /package/dist/icons/{MenuDots.svelte → IconMenuDots.svelte} +0 -0
- /package/dist/icons/{Show.svelte → IconShow.svelte} +0 -0
- /package/dist/icons/{Success.svelte → IconSuccess.svelte} +0 -0
- /package/dist/icons/{Warning.svelte → IconWarning.svelte} +0 -0
@@ -1,30 +1,26 @@
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
2
1
|
import { type Snippet } from "svelte";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
};
|
11
|
-
|
12
|
-
[evt: string]: CustomEvent<any>;
|
13
|
-
};
|
14
|
-
slots: {};
|
15
|
-
};
|
16
|
-
export type HeroProps = typeof __propDef.props;
|
17
|
-
export type HeroEvents = typeof __propDef.events;
|
18
|
-
export type HeroSlots = typeof __propDef.slots;
|
19
|
-
export default class Hero extends SvelteComponent<HeroProps, HeroEvents, HeroSlots> {
|
20
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
21
|
-
children: (this: void) => typeof import("svelte").SnippetReturn & {
|
22
|
-
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from \"svelte\"";
|
23
|
-
};
|
24
|
-
pad?: string | boolean | [boolean, boolean] | [boolean, boolean, boolean] | [boolean, boolean, boolean, boolean] | [string, string] | [string, string, string] | [string, string, string, string] | undefined;
|
25
|
-
center?: boolean | undefined;
|
26
|
-
fullWidth?: boolean | undefined;
|
27
|
-
contained?: boolean | undefined;
|
28
|
-
}>);
|
2
|
+
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> {
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
4
|
+
$$bindings?: Bindings;
|
5
|
+
} & Exports;
|
6
|
+
(internal: unknown, props: Props & {
|
7
|
+
$$events?: Events;
|
8
|
+
$$slots?: Slots;
|
9
|
+
}): Exports;
|
10
|
+
z_$$bindings?: Bindings;
|
29
11
|
}
|
30
|
-
|
12
|
+
declare const Hero: $$__sveltets_2_IsomorphicComponent<{
|
13
|
+
children: Snippet;
|
14
|
+
/** Add padding to the container. Pass in either a boolean or an array of booleans to specify padding on the block and inline axes. */
|
15
|
+
pad?: boolean | [boolean, boolean] | [boolean, boolean, boolean] | [boolean, boolean, boolean, boolean] | string | [string, string] | [string, string, string] | [string, string, string, string];
|
16
|
+
/** Center the content. */
|
17
|
+
center?: boolean;
|
18
|
+
/** Make the hero full width to the container (nearest element with `container-type: inline-size;`) */
|
19
|
+
fullWidth?: boolean;
|
20
|
+
/** Contain the hero to the container (nearest element with `container-type: inline-size;`) */
|
21
|
+
contained?: boolean;
|
22
|
+
}, {
|
23
|
+
[evt: string]: CustomEvent<any>;
|
24
|
+
}, {}, {}, "">;
|
25
|
+
type Hero = InstanceType<typeof Hero>;
|
26
|
+
export default Hero;
|
package/dist/display/Icon.svelte
CHANGED
@@ -3,15 +3,14 @@ let {
|
|
3
3
|
icon,
|
4
4
|
alt
|
5
5
|
} = $props();
|
6
|
+
let Icon = icon;
|
6
7
|
</script>
|
7
8
|
|
8
9
|
<span class="Icon" aria-label="icon">
|
9
10
|
{#if typeof icon === "string"}
|
10
11
|
<img src={icon} alt={alt ? alt : 'Icon'} width="100%" height="100%" />
|
11
|
-
{:else
|
12
|
-
<
|
13
|
-
{:else if isSnippet(icon)}
|
14
|
-
{@render icon()}
|
12
|
+
{:else}
|
13
|
+
<Icon />
|
15
14
|
{/if}
|
16
15
|
</span>
|
17
16
|
|
@@ -1,24 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
slots: {};
|
12
|
-
};
|
13
|
-
export type IconProps = typeof __propDef.props;
|
14
|
-
export type IconEvents = typeof __propDef.events;
|
15
|
-
export type IconSlots = typeof __propDef.slots;
|
16
|
-
export default class Icon extends SvelteComponent<IconProps, IconEvents, IconSlots> {
|
17
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
18
|
-
icon: string | ((this: void) => typeof import("svelte").SnippetReturn & {
|
19
|
-
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from \"svelte\"";
|
20
|
-
}) | ComponentType;
|
21
|
-
alt?: string | undefined;
|
22
|
-
}>);
|
1
|
+
import type { Component } from "svelte";
|
2
|
+
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> {
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
4
|
+
$$bindings?: Bindings;
|
5
|
+
} & Exports;
|
6
|
+
(internal: unknown, props: Props & {
|
7
|
+
$$events?: Events;
|
8
|
+
$$slots?: Slots;
|
9
|
+
}): Exports;
|
10
|
+
z_$$bindings?: Bindings;
|
23
11
|
}
|
24
|
-
|
12
|
+
declare const Icon: $$__sveltets_2_IsomorphicComponent<{
|
13
|
+
icon: string | Component;
|
14
|
+
alt?: string;
|
15
|
+
}, {
|
16
|
+
[evt: string]: CustomEvent<any>;
|
17
|
+
}, {}, {}, "">;
|
18
|
+
type Icon = InstanceType<typeof Icon>;
|
19
|
+
export default Icon;
|
@@ -5,17 +5,20 @@ let {
|
|
5
5
|
icon,
|
6
6
|
disabled,
|
7
7
|
children,
|
8
|
-
onclick
|
8
|
+
onclick,
|
9
|
+
mask = true
|
9
10
|
} = $props();
|
10
11
|
</script>
|
11
12
|
|
12
13
|
{#snippet inside()}
|
13
|
-
<span class="IconMask">
|
14
|
+
<span class="IconMask" class:mask>
|
14
15
|
{#key icon}
|
15
16
|
<span class="IconContent" in:fly={{ duration: 250, y: -32, easing: popBezier }} out:fly={{ duration: 250, y: 32, easing: popBezierInverse }}>
|
16
17
|
<Icon {icon} --cursor="pointer" />
|
17
18
|
{#if children}
|
18
|
-
|
19
|
+
<span class="Text">
|
20
|
+
{@render children()}
|
21
|
+
</span>
|
19
22
|
{/if}
|
20
23
|
</span>
|
21
24
|
{/key}
|
@@ -56,18 +59,22 @@ let {
|
|
56
59
|
}
|
57
60
|
.IconMask {
|
58
61
|
height: 100%;
|
59
|
-
padding-inline: var(--padding, 0.75em);
|
60
|
-
padding-block: var(--padding, 0.75em);
|
62
|
+
padding-inline: calc(var(--padding, 0.75em) * 0.8);
|
63
|
+
padding-block: calc(var(--padding, 0.75em) * 0.8);
|
61
64
|
display: inline-grid;
|
62
65
|
gap: 0.5rem;
|
63
66
|
grid-template: "icon";
|
64
67
|
align-items: center;
|
68
|
+
}
|
69
|
+
.IconMask.mask {
|
65
70
|
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0));
|
66
71
|
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0));
|
67
72
|
}
|
68
73
|
.IconContent {
|
69
74
|
grid-area: icon;
|
70
75
|
display: inline-flex;
|
76
|
+
gap: 0.5rem;
|
77
|
+
align-items: center;
|
71
78
|
}
|
72
79
|
@media(max-width: 960px) {
|
73
80
|
.IconMask {
|
@@ -1,30 +1,27 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
};
|
12
|
-
events: {
|
13
|
-
[evt: string]: CustomEvent<any>;
|
14
|
-
};
|
15
|
-
slots: {};
|
16
|
-
};
|
17
|
-
export type IconButtonProps = typeof __propDef.props;
|
18
|
-
export type IconButtonEvents = typeof __propDef.events;
|
19
|
-
export type IconButtonSlots = typeof __propDef.slots;
|
20
|
-
export default class IconButton extends SvelteComponent<IconButtonProps, IconButtonEvents, IconButtonSlots> {
|
21
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
22
|
-
icon: string | ComponentType;
|
23
|
-
children?: ((this: void) => typeof import("svelte").SnippetReturn & {
|
24
|
-
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from \"svelte\"";
|
25
|
-
}) | undefined;
|
26
|
-
onclick?: ((event: MouseEvent) => void) | undefined;
|
27
|
-
disabled?: boolean | undefined;
|
28
|
-
}>);
|
1
|
+
import type { Component, Snippet } from "svelte";
|
2
|
+
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> {
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
4
|
+
$$bindings?: Bindings;
|
5
|
+
} & Exports;
|
6
|
+
(internal: unknown, props: Props & {
|
7
|
+
$$events?: Events;
|
8
|
+
$$slots?: Slots;
|
9
|
+
}): Exports;
|
10
|
+
z_$$bindings?: Bindings;
|
29
11
|
}
|
30
|
-
|
12
|
+
declare const IconButton: $$__sveltets_2_IsomorphicComponent<{
|
13
|
+
/** The icon to display. */
|
14
|
+
icon: string | Component;
|
15
|
+
/** The children to display. */
|
16
|
+
children?: Snippet;
|
17
|
+
/** The onclick event. */
|
18
|
+
onclick?: (event: MouseEvent) => void;
|
19
|
+
/** Whether the button is disabled. */
|
20
|
+
disabled?: boolean;
|
21
|
+
/** Whether to mask the content. */
|
22
|
+
mask?: boolean;
|
23
|
+
}, {
|
24
|
+
[evt: string]: CustomEvent<any>;
|
25
|
+
}, {}, {}, "">;
|
26
|
+
type IconButton = InstanceType<typeof IconButton>;
|
27
|
+
export default IconButton;
|
@@ -1,37 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
width?: string | number | undefined;
|
11
|
-
height?: string | number | undefined;
|
12
|
-
style?: string | undefined;
|
13
|
-
class?: string | undefined;
|
14
|
-
};
|
15
|
-
events: {
|
16
|
-
[evt: string]: CustomEvent<any>;
|
17
|
-
};
|
18
|
-
slots: {};
|
19
|
-
};
|
20
|
-
export type ImageProps = typeof __propDef.props;
|
21
|
-
export type ImageEvents = typeof __propDef.events;
|
22
|
-
export type ImageSlots = typeof __propDef.slots;
|
23
|
-
export default class Image extends SvelteComponent<ImageProps, ImageEvents, ImageSlots> {
|
24
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
25
|
-
hash?: string | undefined;
|
26
|
-
aspectRatio?: string | undefined;
|
27
|
-
fit?: "cover" | "contain" | "scale-down" | undefined;
|
28
|
-
src?: string | undefined;
|
29
|
-
srcset?: string | undefined;
|
30
|
-
alt?: string | undefined;
|
31
|
-
width?: string | number | undefined;
|
32
|
-
height?: string | number | undefined;
|
33
|
-
style?: string | undefined;
|
34
|
-
class?: string | undefined;
|
35
|
-
}>);
|
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
|
+
z_$$bindings?: Bindings;
|
36
10
|
}
|
37
|
-
|
11
|
+
declare const Image: $$__sveltets_2_IsomorphicComponent<{
|
12
|
+
hash?: string;
|
13
|
+
aspectRatio?: string;
|
14
|
+
fit?: "cover" | "contain" | "scale-down";
|
15
|
+
src?: string;
|
16
|
+
srcset?: string;
|
17
|
+
alt?: string;
|
18
|
+
width?: string | number;
|
19
|
+
height?: string | number;
|
20
|
+
style?: string;
|
21
|
+
class?: string;
|
22
|
+
}, {
|
23
|
+
[evt: string]: CustomEvent<any>;
|
24
|
+
}, {}, {}, "">;
|
25
|
+
type Image = InstanceType<typeof Image>;
|
26
|
+
export default Image;
|
@@ -1,24 +1,23 @@
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
2
1
|
import { type StatusColorOrString } from "../utils/color.js";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
slots: {};
|
13
|
-
};
|
14
|
-
export type IndicatorProps = typeof __propDef.props;
|
15
|
-
export type IndicatorEvents = typeof __propDef.events;
|
16
|
-
export type IndicatorSlots = typeof __propDef.slots;
|
17
|
-
export default class Indicator extends SvelteComponent<IndicatorProps, IndicatorEvents, IndicatorSlots> {
|
18
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
19
|
-
color?: StatusColorOrString | undefined;
|
20
|
-
motion?: "highlight" | "pulse" | "spin" | "blink" | "bulge" | "tunnel" | "typing" | undefined;
|
21
|
-
label?: string | undefined;
|
22
|
-
}>);
|
2
|
+
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> {
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
4
|
+
$$bindings?: Bindings;
|
5
|
+
} & Exports;
|
6
|
+
(internal: unknown, props: Props & {
|
7
|
+
$$events?: Events;
|
8
|
+
$$slots?: Slots;
|
9
|
+
}): Exports;
|
10
|
+
z_$$bindings?: Bindings;
|
23
11
|
}
|
24
|
-
|
12
|
+
declare const Indicator: $$__sveltets_2_IsomorphicComponent<{
|
13
|
+
/** The color of the tag. Select from default status colors or provide a CSS Color value. */
|
14
|
+
color?: StatusColorOrString;
|
15
|
+
/** Possible motion to apply to the indicator. */
|
16
|
+
motion?: "pulse" | "spin" | "blink" | "highlight" | "bulge" | "tunnel" | "typing";
|
17
|
+
/** ARIA label to use when a custom color is applied */
|
18
|
+
label?: string;
|
19
|
+
}, {
|
20
|
+
[evt: string]: CustomEvent<any>;
|
21
|
+
}, {}, {}, "">;
|
22
|
+
type Indicator = InstanceType<typeof Indicator>;
|
23
|
+
export default Indicator;
|
@@ -1,22 +1,18 @@
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
2
1
|
import type { Snippet } from "svelte";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
};
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
export type InsetProps = typeof __propDef.props;
|
13
|
-
export type InsetEvents = typeof __propDef.events;
|
14
|
-
export type InsetSlots = typeof __propDef.slots;
|
15
|
-
export default class Inset extends SvelteComponent<InsetProps, InsetEvents, InsetSlots> {
|
16
|
-
constructor(options?: import("svelte").ComponentConstructorOptions<{
|
17
|
-
children: (this: void) => typeof import("svelte").SnippetReturn & {
|
18
|
-
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from \"svelte\"";
|
19
|
-
};
|
20
|
-
}>);
|
2
|
+
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> {
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
4
|
+
$$bindings?: Bindings;
|
5
|
+
} & Exports;
|
6
|
+
(internal: unknown, props: Props & {
|
7
|
+
$$events?: Events;
|
8
|
+
$$slots?: Slots;
|
9
|
+
}): Exports;
|
10
|
+
z_$$bindings?: Bindings;
|
21
11
|
}
|
22
|
-
|
12
|
+
declare const Inset: $$__sveltets_2_IsomorphicComponent<{
|
13
|
+
children: Snippet;
|
14
|
+
}, {
|
15
|
+
[evt: string]: CustomEvent<any>;
|
16
|
+
}, {}, {}, "">;
|
17
|
+
type Inset = InstanceType<typeof Inset>;
|
18
|
+
export default Inset;
|