fluid-ui-svelte 0.2.4 → 0.3.0
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/LICENSE +22 -0
- package/README.md +16 -5
- package/dist/base/Button.svelte +35 -0
- package/dist/base/Button.svelte.d.ts +14 -0
- package/dist/base/Container.svelte +34 -0
- package/dist/base/Container.svelte.d.ts +14 -0
- package/dist/base/Image.svelte +21 -0
- package/dist/base/Image.svelte.d.ts +8 -0
- package/dist/base/InputField.svelte +33 -0
- package/dist/base/InputField.svelte.d.ts +10 -0
- package/dist/base/Link.svelte +23 -0
- package/dist/base/Link.svelte.d.ts +10 -0
- package/dist/base/List.svelte +39 -0
- package/dist/base/List.svelte.d.ts +33 -0
- package/dist/base/Table.svelte +80 -0
- package/dist/base/Table.svelte.d.ts +42 -0
- package/dist/base/Text.svelte +45 -0
- package/dist/base/Text.svelte.d.ts +11 -0
- package/dist/base/index.d.ts +8 -0
- package/dist/base/index.js +8 -0
- package/dist/components/Accordion.svelte +45 -1
- package/dist/components/Accordion.svelte.d.ts +14 -25
- package/dist/components/Calendar.svelte +63 -0
- package/dist/components/Calendar.svelte.d.ts +9 -25
- package/dist/components/{Badge.svelte.d.ts → Carousel.svelte.d.ts} +3 -3
- package/dist/components/CodeBlock.svelte +27 -0
- package/dist/components/CodeBlock.svelte.d.ts +8 -0
- package/dist/components/ImageCrop.svelte +65 -0
- package/dist/components/ImageCrop.svelte.d.ts +7 -0
- package/dist/components/Page.svelte +26 -0
- package/dist/components/Page.svelte.d.ts +11 -0
- package/dist/components/Switch.svelte +22 -20
- package/dist/components/Switch.svelte.d.ts +9 -4
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -0
- package/dist/index.d.ts +2 -33
- package/dist/index.js +2 -36
- package/dist/utilities/applyCharacterFilter.d.ts +1 -0
- package/dist/utilities/applyCharacterFilter.js +6 -0
- package/dist/utilities/calendar.d.ts +10 -0
- package/dist/utilities/calendar.js +112 -0
- package/dist/utilities/imageCrop.d.ts +33 -0
- package/dist/utilities/imageCrop.js +217 -0
- package/dist/utilities/mergeClasses.d.ts +1 -0
- package/dist/utilities/mergeClasses.js +3 -0
- package/package.json +50 -33
- package/dist/community/components/index.d.ts +0 -1
- package/dist/community/components/index.js +0 -1
- package/dist/community/prebuilt/index.d.ts +0 -1
- package/dist/community/prebuilt/index.js +0 -1
- package/dist/components/Breadcrumb.svelte +0 -1
- package/dist/components/Breadcrumb.svelte.d.ts +0 -26
- package/dist/components/Drawer.svelte +0 -33
- package/dist/components/Drawer.svelte.d.ts +0 -9
- package/dist/components/Dropdown.svelte +0 -59
- package/dist/components/Dropdown.svelte.d.ts +0 -20
- package/dist/components/Dropzone.svelte +0 -1
- package/dist/components/Dropzone.svelte.d.ts +0 -26
- package/dist/components/InteractiveScrollArea.svelte +0 -1
- package/dist/components/InteractiveScrollArea.svelte.d.ts +0 -26
- package/dist/components/Pagination.svelte +0 -1
- package/dist/components/Pagination.svelte.d.ts +0 -26
- package/dist/components/Progress.svelte +0 -1
- package/dist/components/Progress.svelte.d.ts +0 -26
- package/dist/components/Tabs.svelte +0 -1
- package/dist/components/Tabs.svelte.d.ts +0 -26
- package/dist/components/Tooltip.svelte +0 -1
- package/dist/components/Tooltip.svelte.d.ts +0 -26
- package/dist/components/charts/BatteryChart.svelte +0 -0
- package/dist/components/charts/BatteryChart.svelte.d.ts +0 -26
- package/dist/components/charts/LineChart.svelte +0 -0
- package/dist/components/charts/LineChart.svelte.d.ts +0 -26
- package/dist/components/charts/PieChart.svelte +0 -0
- package/dist/components/charts/PieChart.svelte.d.ts +0 -26
- package/dist/components/notification/NotificationArea.svelte +0 -21
- package/dist/components/notification/NotificationArea.svelte.d.ts +0 -7
- package/dist/prebuilt/FormBuilder.svelte +0 -1
- package/dist/prebuilt/FormBuilder.svelte.d.ts +0 -26
- package/dist/prebuilt/document/Document.svelte +0 -1
- package/dist/prebuilt/document/Document.svelte.d.ts +0 -26
- package/dist/prebuilt/document/DocumentBlock.svelte +0 -1
- package/dist/prebuilt/document/DocumentBlock.svelte.d.ts +0 -26
- package/dist/prebuilt/document/DocumentPage.svelte +0 -1
- package/dist/prebuilt/document/DocumentPage.svelte.d.ts +0 -26
- package/dist/prebuilt/timeline/Timeline.svelte +0 -0
- package/dist/prebuilt/timeline/Timeline.svelte.d.ts +0 -26
- package/dist/prebuilt/timeline/TimelineItem.svelte +0 -0
- package/dist/prebuilt/timeline/TimelineItem.svelte.d.ts +0 -26
- package/dist/primitives/Button.svelte +0 -53
- package/dist/primitives/Button.svelte.d.ts +0 -13
- package/dist/primitives/Container.svelte +0 -51
- package/dist/primitives/Container.svelte.d.ts +0 -10
- package/dist/primitives/Dialog.svelte +0 -39
- package/dist/primitives/Dialog.svelte.d.ts +0 -10
- package/dist/primitives/Divider.svelte +0 -14
- package/dist/primitives/Divider.svelte.d.ts +0 -6
- package/dist/primitives/Form.svelte +0 -18
- package/dist/primitives/Form.svelte.d.ts +0 -8
- package/dist/primitives/Image.svelte +0 -57
- package/dist/primitives/Image.svelte.d.ts +0 -12
- package/dist/primitives/Input.svelte +0 -23
- package/dist/primitives/Input.svelte.d.ts +0 -9
- package/dist/primitives/Label.svelte +0 -18
- package/dist/primitives/Label.svelte.d.ts +0 -8
- package/dist/primitives/Link.svelte +0 -18
- package/dist/primitives/Link.svelte.d.ts +0 -8
- package/dist/primitives/Table.svelte +0 -18
- package/dist/primitives/Table.svelte.d.ts +0 -8
- package/dist/primitives/TableBody.svelte +0 -17
- package/dist/primitives/TableBody.svelte.d.ts +0 -7
- package/dist/primitives/TableData.svelte +0 -18
- package/dist/primitives/TableData.svelte.d.ts +0 -8
- package/dist/primitives/TableFooter.svelte +0 -17
- package/dist/primitives/TableFooter.svelte.d.ts +0 -7
- package/dist/primitives/TableHead.svelte +0 -18
- package/dist/primitives/TableHead.svelte.d.ts +0 -8
- package/dist/primitives/TableHeader.svelte +0 -17
- package/dist/primitives/TableHeader.svelte.d.ts +0 -7
- package/dist/primitives/TableRow.svelte +0 -18
- package/dist/primitives/TableRow.svelte.d.ts +0 -8
- package/dist/primitives/Text.svelte +0 -46
- package/dist/primitives/Text.svelte.d.ts +0 -8
- package/dist/primitives/TextArea.svelte +0 -15
- package/dist/primitives/TextArea.svelte.d.ts +0 -7
- package/dist/types.d.ts +0 -4
- package/dist/types.js +0 -1
- /package/dist/components/{Badge.svelte → Carousel.svelte} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Tooltip;
|
|
2
|
-
type Tooltip = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Tooltip: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default BatteryChart;
|
|
2
|
-
type BatteryChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const BatteryChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default LineChart;
|
|
2
|
-
type LineChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const LineChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default PieChart;
|
|
2
|
-
type PieChart = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const PieChart: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import Container from "../../primitives/Container.svelte";
|
|
3
|
-
import Text from "../../primitives/Text.svelte";
|
|
4
|
-
import type { Snippet } from "svelte";
|
|
5
|
-
|
|
6
|
-
const {
|
|
7
|
-
class: className,
|
|
8
|
-
overrideDefaultStyling = false,
|
|
9
|
-
children,
|
|
10
|
-
}: {
|
|
11
|
-
class?: string;
|
|
12
|
-
overrideDefaultStyling?: boolean;
|
|
13
|
-
children?: Snippet;
|
|
14
|
-
} = $props();
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<Container overrideDefaultStyling class={overrideDefaultStyling ? "" + (className ? className : "") : "fluid-notification-area" + (className ? ` ${className}` : "")}>
|
|
18
|
-
{#if children}
|
|
19
|
-
{@render children()}
|
|
20
|
-
{/if}
|
|
21
|
-
</Container>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default FormBuilder;
|
|
2
|
-
type FormBuilder = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const FormBuilder: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Document;
|
|
2
|
-
type Document = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Document: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default DocumentBlock;
|
|
2
|
-
type DocumentBlock = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const DocumentBlock: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!-- TODO -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default DocumentPage;
|
|
2
|
-
type DocumentPage = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const DocumentPage: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Timeline;
|
|
2
|
-
type Timeline = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const Timeline: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default TimelineItem;
|
|
2
|
-
type TimelineItem = SvelteComponent<{
|
|
3
|
-
[x: string]: never;
|
|
4
|
-
}, {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
}, {}> & {
|
|
7
|
-
$$bindings?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
declare const TimelineItem: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
-
[x: string]: never;
|
|
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: {
|
|
19
|
-
$$events?: Events;
|
|
20
|
-
$$slots?: Slots;
|
|
21
|
-
}): Exports & {
|
|
22
|
-
$set?: any;
|
|
23
|
-
$on?: any;
|
|
24
|
-
};
|
|
25
|
-
z_$$bindings?: Bindings;
|
|
26
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
4
|
-
|
|
5
|
-
let {
|
|
6
|
-
class: className = "",
|
|
7
|
-
buttonType = "solid",
|
|
8
|
-
buttonStyle = "primary",
|
|
9
|
-
onclick,
|
|
10
|
-
overrideDefaultStyling = false,
|
|
11
|
-
isActive = $bindable(false),
|
|
12
|
-
activeChildren,
|
|
13
|
-
children,
|
|
14
|
-
...restProps
|
|
15
|
-
}: {
|
|
16
|
-
class?: string;
|
|
17
|
-
buttonType?: "solid" | "outline" | "transparent";
|
|
18
|
-
buttonStyle?: "primary" | "secondary" | "tetriary" | "neutral";
|
|
19
|
-
onclick: (e: Event) => any;
|
|
20
|
-
overrideDefaultStyling?: boolean;
|
|
21
|
-
isActive?: boolean;
|
|
22
|
-
activeChildren?: Snippet;
|
|
23
|
-
children: Snippet;
|
|
24
|
-
} & Omit<HTMLButtonAttributes, "onclick"> = $props();
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<button
|
|
28
|
-
onclick={async (e: Event) => {
|
|
29
|
-
if (isActive) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (onclick) {
|
|
33
|
-
isActive = true;
|
|
34
|
-
await onclick(e);
|
|
35
|
-
isActive = false;
|
|
36
|
-
}
|
|
37
|
-
}}
|
|
38
|
-
class={(overrideDefaultStyling ? "" : "fluid-button") +
|
|
39
|
-
(className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "") +
|
|
40
|
-
(overrideDefaultStyling ? "" : " fluid-" + buttonType + "-button") +
|
|
41
|
-
(overrideDefaultStyling ? "" : " fluid-" + buttonStyle + "-button")}
|
|
42
|
-
{...restProps}
|
|
43
|
-
>
|
|
44
|
-
{#if activeChildren}
|
|
45
|
-
{#if isActive}
|
|
46
|
-
{@render activeChildren()}
|
|
47
|
-
{:else}
|
|
48
|
-
{@render children()}
|
|
49
|
-
{/if}
|
|
50
|
-
{:else}
|
|
51
|
-
{@render children()}
|
|
52
|
-
{/if}
|
|
53
|
-
</button>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
-
declare const Button: import("svelte").Component<{
|
|
4
|
-
class?: string;
|
|
5
|
-
buttonType?: "solid" | "outline" | "transparent";
|
|
6
|
-
buttonStyle?: "primary" | "secondary" | "tetriary" | "neutral";
|
|
7
|
-
onclick: (e: Event) => any;
|
|
8
|
-
overrideDefaultStyling?: boolean;
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
activeChildren?: Snippet;
|
|
11
|
-
children: Snippet;
|
|
12
|
-
} & Omit<HTMLButtonAttributes, "onclick">, {}, "isActive">;
|
|
13
|
-
export default Button;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
|
-
|
|
5
|
-
let {
|
|
6
|
-
containerType = "div",
|
|
7
|
-
class: className = "",
|
|
8
|
-
overrideDefaultStyling = false,
|
|
9
|
-
children,
|
|
10
|
-
rawElement = $bindable(),
|
|
11
|
-
...restProps
|
|
12
|
-
}: {
|
|
13
|
-
containerType?: "div" | "section" | "aside" | "nav" | "footer";
|
|
14
|
-
class?: string;
|
|
15
|
-
overrideDefaultStyling?: boolean;
|
|
16
|
-
children?: Snippet;
|
|
17
|
-
rawElement?: HTMLElement;
|
|
18
|
-
} & HTMLAttributes<HTMLElement> = $props();
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
{#if containerType == "div"}
|
|
22
|
-
<div bind:this={rawElement} {...restProps} class={(overrideDefaultStyling ? "" : "fluid-container") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
23
|
-
{#if children}
|
|
24
|
-
{@render children()}
|
|
25
|
-
{/if}
|
|
26
|
-
</div>
|
|
27
|
-
{:else if containerType == "section"}
|
|
28
|
-
<section bind:this={rawElement} {...restProps} class={(overrideDefaultStyling ? "" : "fluid-container") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
29
|
-
{#if children}
|
|
30
|
-
{@render children()}
|
|
31
|
-
{/if}
|
|
32
|
-
</section>
|
|
33
|
-
{:else if containerType == "aside"}
|
|
34
|
-
<aside bind:this={rawElement} {...restProps} class={(overrideDefaultStyling ? "" : "fluid-container") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
35
|
-
{#if children}
|
|
36
|
-
{@render children()}
|
|
37
|
-
{/if}
|
|
38
|
-
</aside>
|
|
39
|
-
{:else if containerType == "nav"}
|
|
40
|
-
<nav bind:this={rawElement} {...restProps} class={(overrideDefaultStyling ? "" : "fluid-container") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
41
|
-
{#if children}
|
|
42
|
-
{@render children()}
|
|
43
|
-
{/if}
|
|
44
|
-
</nav>
|
|
45
|
-
{:else if containerType == "footer"}
|
|
46
|
-
<footer bind:this={rawElement} {...restProps} class={(overrideDefaultStyling ? "" : "fluid-container") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
47
|
-
{#if children}
|
|
48
|
-
{@render children()}
|
|
49
|
-
{/if}
|
|
50
|
-
</footer>
|
|
51
|
-
{/if}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
declare const Container: import("svelte").Component<{
|
|
4
|
-
containerType?: "div" | "section" | "aside" | "nav" | "footer";
|
|
5
|
-
class?: string;
|
|
6
|
-
overrideDefaultStyling?: boolean;
|
|
7
|
-
children?: Snippet;
|
|
8
|
-
rawElement?: HTMLElement;
|
|
9
|
-
} & HTMLAttributes<HTMLElement>, {}, "rawElement">;
|
|
10
|
-
export default Container;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLDialogAttributes } from "svelte/elements";
|
|
4
|
-
let {
|
|
5
|
-
class: className,
|
|
6
|
-
isOpen = $bindable(false),
|
|
7
|
-
dialogType = "modal",
|
|
8
|
-
children,
|
|
9
|
-
overrideDefaultStyling = false,
|
|
10
|
-
...restProps
|
|
11
|
-
}: {
|
|
12
|
-
class?: string;
|
|
13
|
-
isOpen?: boolean;
|
|
14
|
-
dialogType?: "modal" | "normal";
|
|
15
|
-
overrideDefaultStyling?: boolean;
|
|
16
|
-
children: Snippet;
|
|
17
|
-
} & HTMLDialogAttributes = $props();
|
|
18
|
-
|
|
19
|
-
let dialogElement: HTMLDialogElement;
|
|
20
|
-
|
|
21
|
-
$effect(() => {
|
|
22
|
-
if (isOpen) {
|
|
23
|
-
dialogType === "modal" ? dialogElement.showModal() : dialogElement.show();
|
|
24
|
-
} else {
|
|
25
|
-
dialogElement.close();
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
<dialog
|
|
31
|
-
bind:this={dialogElement}
|
|
32
|
-
onclose={(e: Event) => {
|
|
33
|
-
isOpen = false;
|
|
34
|
-
}}
|
|
35
|
-
class={(overrideDefaultStyling ? "" : "fluid-dialog") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}
|
|
36
|
-
{...restProps}
|
|
37
|
-
>
|
|
38
|
-
{@render children()}
|
|
39
|
-
</dialog>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLDialogAttributes } from "svelte/elements";
|
|
3
|
-
declare const Dialog: import("svelte").Component<{
|
|
4
|
-
class?: string;
|
|
5
|
-
isOpen?: boolean;
|
|
6
|
-
dialogType?: "modal" | "normal";
|
|
7
|
-
overrideDefaultStyling?: boolean;
|
|
8
|
-
children: Snippet;
|
|
9
|
-
} & HTMLDialogAttributes, {}, "isOpen">;
|
|
10
|
-
export default Dialog;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
const {
|
|
4
|
-
class: className,
|
|
5
|
-
children,
|
|
6
|
-
overrideDefaultStyling = false,
|
|
7
|
-
...restProps
|
|
8
|
-
}: {
|
|
9
|
-
class?: string;
|
|
10
|
-
overrideDefaultStyling?: boolean;
|
|
11
|
-
} & HTMLAttributes<HTMLHRElement> = $props();
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<hr {...restProps} class={(overrideDefaultStyling ? "" : "fluid-divider") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")} />
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLFormAttributes } from "svelte/elements";
|
|
4
|
-
const {
|
|
5
|
-
class: className,
|
|
6
|
-
children,
|
|
7
|
-
overrideDefaultStyling = false,
|
|
8
|
-
...restProps
|
|
9
|
-
}: {
|
|
10
|
-
class?: string;
|
|
11
|
-
overrideDefaultStyling?: boolean;
|
|
12
|
-
children: Snippet;
|
|
13
|
-
} & HTMLFormAttributes = $props();
|
|
14
|
-
</script>
|
|
15
|
-
|
|
16
|
-
<form {...restProps} class={(overrideDefaultStyling ? "" : "fluid-form") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")}>
|
|
17
|
-
{@render children()}
|
|
18
|
-
</form>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLFormAttributes } from "svelte/elements";
|
|
3
|
-
declare const Form: import("svelte").Component<{
|
|
4
|
-
class?: string;
|
|
5
|
-
overrideDefaultStyling?: boolean;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
} & HTMLFormAttributes, {}, "">;
|
|
8
|
-
export default Form;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
import type { HTMLImgAttributes } from "svelte/elements";
|
|
4
|
-
let {
|
|
5
|
-
class: className,
|
|
6
|
-
loadingSnippet,
|
|
7
|
-
placeholderSnippet,
|
|
8
|
-
overrideDefaultStyling = false,
|
|
9
|
-
rawElement = $bindable(),
|
|
10
|
-
|
|
11
|
-
...restProps
|
|
12
|
-
}: {
|
|
13
|
-
class?: string;
|
|
14
|
-
loadingSnippet?: Snippet;
|
|
15
|
-
placeholderSnippet?: Snippet;
|
|
16
|
-
noPlaceholders?: boolean;
|
|
17
|
-
src: string;
|
|
18
|
-
overrideDefaultStyling?: boolean;
|
|
19
|
-
rawElement?: HTMLElement;
|
|
20
|
-
} & Omit<HTMLImgAttributes, "onerror" | "onload"> = $props();
|
|
21
|
-
|
|
22
|
-
let status: "loading" | "done" | "failed" = $state("loading");
|
|
23
|
-
$effect(() => {
|
|
24
|
-
restProps.src ? (status = "loading") : "";
|
|
25
|
-
});
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
{#if status == "failed" || !restProps.src}
|
|
29
|
-
{#if placeholderSnippet}
|
|
30
|
-
<div class="fluid-image-error">
|
|
31
|
-
{@render placeholderSnippet()}
|
|
32
|
-
</div>
|
|
33
|
-
{:else}
|
|
34
|
-
<p>Image not loaded, provide placeholder.</p>
|
|
35
|
-
{/if}
|
|
36
|
-
{:else}
|
|
37
|
-
{#if status == "loading"}
|
|
38
|
-
<div class={"fluid-image-loading" + (status !== "loading" ? " hidden" : "")}>
|
|
39
|
-
{#if loadingSnippet}
|
|
40
|
-
{@render loadingSnippet()}
|
|
41
|
-
{:else}
|
|
42
|
-
<p>Image loading, provide placeholder.</p>
|
|
43
|
-
{/if}
|
|
44
|
-
</div>
|
|
45
|
-
{/if}
|
|
46
|
-
<img
|
|
47
|
-
bind:this={rawElement}
|
|
48
|
-
{...restProps}
|
|
49
|
-
onerror={() => {
|
|
50
|
-
status = "failed";
|
|
51
|
-
}}
|
|
52
|
-
onload={() => {
|
|
53
|
-
status = "done";
|
|
54
|
-
}}
|
|
55
|
-
class={(overrideDefaultStyling ? "" : "fluid-image") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "") + (status == "done" ? "" : " hidden")}
|
|
56
|
-
/>
|
|
57
|
-
{/if}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { HTMLImgAttributes } from "svelte/elements";
|
|
3
|
-
declare const Image: import("svelte").Component<{
|
|
4
|
-
class?: string;
|
|
5
|
-
loadingSnippet?: Snippet;
|
|
6
|
-
placeholderSnippet?: Snippet;
|
|
7
|
-
noPlaceholders?: boolean;
|
|
8
|
-
src: string;
|
|
9
|
-
overrideDefaultStyling?: boolean;
|
|
10
|
-
rawElement?: HTMLElement;
|
|
11
|
-
} & Omit<HTMLImgAttributes, "onload" | "onerror">, {}, "rawElement">;
|
|
12
|
-
export default Image;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { HTMLInputAttributes } from "svelte/elements";
|
|
3
|
-
let {
|
|
4
|
-
class: className,
|
|
5
|
-
value = $bindable(),
|
|
6
|
-
checked = $bindable(false),
|
|
7
|
-
type,
|
|
8
|
-
overrideDefaultStyling = false,
|
|
9
|
-
...restProps
|
|
10
|
-
}: {
|
|
11
|
-
class?: string;
|
|
12
|
-
overrideDefaultStyling?: boolean;
|
|
13
|
-
value?: any;
|
|
14
|
-
checked?: boolean;
|
|
15
|
-
type: string;
|
|
16
|
-
} & Omit<HTMLInputAttributes, "value" | "type"> = $props();
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
{#if type === "checkbox"}
|
|
20
|
-
<input {...restProps} bind:checked type="checkbox" class={(overrideDefaultStyling ? "" : "fluid-checkbox") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")} />
|
|
21
|
-
{:else}
|
|
22
|
-
<input {...restProps} bind:value {type} class={(overrideDefaultStyling ? "" : "fluid-input") + (className ? (overrideDefaultStyling ? `${className}` : ` ${className}`) : "")} />
|
|
23
|
-
{/if}
|