fluid-ui-svelte 0.0.7 → 0.0.8
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/README.md +35 -84
- package/dist/community/components/index.d.ts +1 -0
- package/dist/community/components/index.js +1 -0
- package/dist/community/prebuilt/index.d.ts +1 -0
- package/dist/community/prebuilt/index.js +1 -0
- package/dist/components/Accordion.svelte +1 -0
- package/dist/components/Accordion.svelte.d.ts +26 -0
- package/dist/components/Breadcrumb.svelte +1 -0
- package/dist/components/Breadcrumb.svelte.d.ts +26 -0
- package/dist/components/Drawer.svelte +35 -0
- package/dist/components/Drawer.svelte.d.ts +9 -0
- package/dist/components/Dropdown.svelte +34 -0
- package/dist/components/Dropdown.svelte.d.ts +9 -0
- package/dist/components/NotificationArea.svelte +1 -0
- package/dist/components/NotificationArea.svelte.d.ts +26 -0
- package/dist/components/Pagination.svelte +1 -0
- package/dist/components/Pagination.svelte.d.ts +26 -0
- package/dist/components/Progress.svelte +1 -0
- package/dist/components/Progress.svelte.d.ts +26 -0
- package/dist/components/Switch.svelte +32 -0
- package/dist/components/Switch.svelte.d.ts +6 -0
- package/dist/components/Tabs.svelte +1 -0
- package/dist/components/Tabs.svelte.d.ts +26 -0
- package/dist/components/Tooltip.svelte +1 -0
- package/dist/components/Tooltip.svelte.d.ts +26 -0
- package/dist/components/UploadZone.svelte +1 -0
- package/dist/components/UploadZone.svelte.d.ts +26 -0
- package/dist/index.d.ts +32 -29
- package/dist/index.js +35 -34
- package/dist/prebuilt/FormBuilder.svelte +1 -0
- package/dist/prebuilt/FormBuilder.svelte.d.ts +26 -0
- package/dist/prebuilt/InteractiveScrollArea.svelte +1 -0
- package/dist/prebuilt/InteractiveScrollArea.svelte.d.ts +26 -0
- package/dist/prebuilt/document/Document.svelte +1 -0
- package/dist/prebuilt/document/Document.svelte.d.ts +26 -0
- package/dist/prebuilt/document/DocumentBlock.svelte +1 -0
- package/dist/prebuilt/document/DocumentBlock.svelte.d.ts +26 -0
- package/dist/prebuilt/document/DocumentPage.svelte +1 -0
- package/dist/prebuilt/document/DocumentPage.svelte.d.ts +26 -0
- package/dist/primitives/Anchor.svelte +18 -0
- package/dist/primitives/Anchor.svelte.d.ts +8 -0
- package/dist/primitives/Button.svelte +42 -0
- package/dist/primitives/Button.svelte.d.ts +11 -0
- package/dist/primitives/Container.svelte +49 -0
- package/dist/primitives/Container.svelte.d.ts +9 -0
- package/dist/primitives/Dialog.svelte +39 -0
- package/dist/primitives/Dialog.svelte.d.ts +10 -0
- package/dist/primitives/Form.svelte +18 -0
- package/dist/primitives/Form.svelte.d.ts +8 -0
- package/dist/primitives/Image.svelte +64 -0
- package/dist/primitives/Image.svelte.d.ts +10 -0
- package/dist/primitives/Input.svelte +23 -0
- package/dist/primitives/Input.svelte.d.ts +9 -0
- package/dist/primitives/Label.svelte +18 -0
- package/dist/primitives/Label.svelte.d.ts +8 -0
- package/dist/primitives/Table.svelte +18 -0
- package/dist/primitives/Table.svelte.d.ts +8 -0
- package/dist/primitives/TableBody.svelte +17 -0
- package/dist/primitives/TableBody.svelte.d.ts +7 -0
- package/dist/primitives/TableData.svelte +18 -0
- package/dist/primitives/TableData.svelte.d.ts +8 -0
- package/dist/primitives/TableFooter.svelte +17 -0
- package/dist/primitives/TableFooter.svelte.d.ts +7 -0
- package/dist/primitives/TableHead.svelte +18 -0
- package/dist/primitives/TableHead.svelte.d.ts +8 -0
- package/dist/primitives/TableHeader.svelte +17 -0
- package/dist/primitives/TableHeader.svelte.d.ts +7 -0
- package/dist/primitives/TableRow.svelte +18 -0
- package/dist/primitives/TableRow.svelte.d.ts +8 -0
- package/dist/primitives/Text.svelte +46 -0
- package/dist/primitives/Text.svelte.d.ts +8 -0
- package/dist/primitives/TextArea.svelte +15 -0
- package/dist/primitives/TextArea.svelte.d.ts +7 -0
- package/package.json +40 -39
- package/dist/components/Accordion/AccordionContent.svelte +0 -12
- package/dist/components/Accordion/AccordionContent.svelte.d.ts +0 -19
- package/dist/components/Accordion/AccordionHeader.svelte +0 -11
- package/dist/components/Accordion/AccordionHeader.svelte.d.ts +0 -21
- package/dist/components/Accordion/AccordionWrapper.svelte +0 -7
- package/dist/components/Accordion/AccordionWrapper.svelte.d.ts +0 -18
- package/dist/components/Avatar/Avatar.svelte +0 -12
- package/dist/components/Avatar/Avatar.svelte.d.ts +0 -19
- package/dist/components/FileDropzone/FileDrop.svelte +0 -0
- package/dist/components/FileDropzone/FileDrop.svelte.d.ts +0 -23
- package/dist/components/Modal/ModalContainer.svelte +0 -25
- package/dist/components/Modal/ModalContainer.svelte.d.ts +0 -19
- package/dist/primitives/Audio/Audio.svelte +0 -22
- package/dist/primitives/Audio/Audio.svelte.d.ts +0 -27
- package/dist/primitives/Button/Button.svelte +0 -33
- package/dist/primitives/Button/Button.svelte.d.ts +0 -29
- package/dist/primitives/Container/Container.svelte +0 -53
- package/dist/primitives/Container/Container.svelte.d.ts +0 -24
- package/dist/primitives/Form/Form.svelte +0 -13
- package/dist/primitives/Form/Form.svelte.d.ts +0 -21
- package/dist/primitives/Image/Image.svelte +0 -13
- package/dist/primitives/Image/Image.svelte.d.ts +0 -21
- package/dist/primitives/Input/ColorInput.svelte +0 -12
- package/dist/primitives/Input/ColorInput.svelte.d.ts +0 -20
- package/dist/primitives/Input/DateTimeInput.svelte +0 -12
- package/dist/primitives/Input/DateTimeInput.svelte.d.ts +0 -19
- package/dist/primitives/Input/FileInput.svelte +0 -6
- package/dist/primitives/Input/FileInput.svelte.d.ts +0 -18
- package/dist/primitives/Input/PasswordInput.svelte +0 -11
- package/dist/primitives/Input/PasswordInput.svelte.d.ts +0 -19
- package/dist/primitives/Input/TextInput.svelte +0 -11
- package/dist/primitives/Input/TextInput.svelte.d.ts +0 -19
- package/dist/primitives/Input/ToggleInput.svelte +0 -12
- package/dist/primitives/Input/ToggleInput.svelte.d.ts +0 -17
- package/dist/primitives/Label/Label.svelte +0 -10
- package/dist/primitives/Label/Label.svelte.d.ts +0 -20
- package/dist/primitives/Link/Link.svelte +0 -16
- package/dist/primitives/Link/Link.svelte.d.ts +0 -23
- package/dist/primitives/Select/Option.svelte +0 -9
- package/dist/primitives/Select/Option.svelte.d.ts +0 -21
- package/dist/primitives/Select/Select.svelte +0 -14
- package/dist/primitives/Select/Select.svelte.d.ts +0 -22
- package/dist/primitives/Table/Table.svelte +0 -8
- package/dist/primitives/Table/Table.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableBody.svelte +0 -8
- package/dist/primitives/Table/TableBody.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableDataCell.svelte +0 -8
- package/dist/primitives/Table/TableDataCell.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableFoot.svelte +0 -8
- package/dist/primitives/Table/TableFoot.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableHead.svelte +0 -8
- package/dist/primitives/Table/TableHead.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableHeader.svelte +0 -8
- package/dist/primitives/Table/TableHeader.svelte.d.ts +0 -20
- package/dist/primitives/Table/TableRow.svelte +0 -8
- package/dist/primitives/Table/TableRow.svelte.d.ts +0 -20
- package/dist/primitives/Text/Text.svelte +0 -37
- package/dist/primitives/Text/Text.svelte.d.ts +0 -22
- package/dist/primitives/Video/Video.svelte +0 -25
- package/dist/primitives/Video/Video.svelte.d.ts +0 -30
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<script>export let containerClass = "";
|
|
2
|
-
export let defaultClass = "fluid-container";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let containerType = "div";
|
|
5
|
-
export let registerMount = () => {
|
|
6
|
-
};
|
|
7
|
-
export let registerDestroy = () => {
|
|
8
|
-
};
|
|
9
|
-
function registerAction(node) {
|
|
10
|
-
registerMount(node);
|
|
11
|
-
return {
|
|
12
|
-
destroy() {
|
|
13
|
-
registerDestroy();
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
{#if containerType == 'div'}
|
|
20
|
-
<div
|
|
21
|
-
use:registerAction
|
|
22
|
-
class={overrideClass ? containerClass : defaultClass + ' ' + containerClass}
|
|
23
|
-
{...$$restProps}
|
|
24
|
-
>
|
|
25
|
-
<slot />
|
|
26
|
-
</div>
|
|
27
|
-
{:else if containerType == 'section'}
|
|
28
|
-
<section
|
|
29
|
-
use:registerAction
|
|
30
|
-
class={overrideClass ? containerClass : defaultClass + ' ' + containerClass}
|
|
31
|
-
{...$$restProps}
|
|
32
|
-
>
|
|
33
|
-
<slot />
|
|
34
|
-
</section>
|
|
35
|
-
{:else if containerType == 'nav'}
|
|
36
|
-
<nav
|
|
37
|
-
use:registerAction
|
|
38
|
-
class={overrideClass ? containerClass : defaultClass + ' ' + containerClass}
|
|
39
|
-
{...$$restProps}
|
|
40
|
-
>
|
|
41
|
-
<slot />
|
|
42
|
-
</nav>
|
|
43
|
-
{:else if containerType == 'footer'}
|
|
44
|
-
<nav
|
|
45
|
-
use:registerAction
|
|
46
|
-
class={overrideClass ? containerClass : defaultClass + ' ' + containerClass}
|
|
47
|
-
{...$$restProps}
|
|
48
|
-
>
|
|
49
|
-
<slot />
|
|
50
|
-
</nav>
|
|
51
|
-
{:else}
|
|
52
|
-
<p class="text-red">Container format error.</p>
|
|
53
|
-
{/if}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
containerClass?: string | undefined;
|
|
6
|
-
defaultClass?: string | undefined;
|
|
7
|
-
overrideClass?: boolean | undefined;
|
|
8
|
-
containerType?: "div" | "section" | "nav" | "footer" | undefined;
|
|
9
|
-
registerMount?: Function | undefined;
|
|
10
|
-
registerDestroy?: Function | undefined;
|
|
11
|
-
};
|
|
12
|
-
events: {
|
|
13
|
-
[evt: string]: CustomEvent<any>;
|
|
14
|
-
};
|
|
15
|
-
slots: {
|
|
16
|
-
default: {};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export type ContainerProps = typeof __propDef.props;
|
|
20
|
-
export type ContainerEvents = typeof __propDef.events;
|
|
21
|
-
export type ContainerSlots = typeof __propDef.slots;
|
|
22
|
-
export default class Container extends SvelteComponent<ContainerProps, ContainerEvents, ContainerSlots> {
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<script>export let formClass = "";
|
|
2
|
-
export let defaultClass = "fluid-form";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let formMethod = "get";
|
|
5
|
-
export let formAction = "";
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<form
|
|
9
|
-
action={formAction}
|
|
10
|
-
method={formMethod}
|
|
11
|
-
class={overrideClass ? formClass : defaultClass + ' ' + formClass}
|
|
12
|
-
{...$$restProps}
|
|
13
|
-
/>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
formClass?: string | undefined;
|
|
6
|
-
defaultClass?: string | undefined;
|
|
7
|
-
overrideClass?: boolean | undefined;
|
|
8
|
-
formMethod?: "post" | "get" | "dialog" | undefined;
|
|
9
|
-
formAction?: string | undefined;
|
|
10
|
-
};
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type FormProps = typeof __propDef.props;
|
|
17
|
-
export type FormEvents = typeof __propDef.events;
|
|
18
|
-
export type FormSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Form extends SvelteComponent<FormProps, FormEvents, FormSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<script>export let imageClass = "";
|
|
2
|
-
export let defaultClass = "fluid-image";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let imageSource = "";
|
|
5
|
-
export let altText = "";
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<img
|
|
9
|
-
src={imageSource}
|
|
10
|
-
alt={altText}
|
|
11
|
-
class={overrideClass ? imageClass : defaultClass + ' ' + imageClass}
|
|
12
|
-
{...$$restProps}
|
|
13
|
-
/>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
imageClass?: string | undefined;
|
|
6
|
-
defaultClass?: string | undefined;
|
|
7
|
-
overrideClass?: boolean | undefined;
|
|
8
|
-
imageSource?: string | undefined;
|
|
9
|
-
altText?: string | undefined;
|
|
10
|
-
};
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type ImageProps = typeof __propDef.props;
|
|
17
|
-
export type ImageEvents = typeof __propDef.events;
|
|
18
|
-
export type ImageSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Image extends SvelteComponent<ImageProps, ImageEvents, ImageSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<script>export let inputClass = "input";
|
|
2
|
-
export let defaultClass = "fluid-color-input";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let value = "";
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<input
|
|
8
|
-
bind:value
|
|
9
|
-
type="color"
|
|
10
|
-
class={overrideClass ? inputClass : defaultClass + ' ' + inputClass}
|
|
11
|
-
{...$$restProps}
|
|
12
|
-
/>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
inputClass?: string | undefined;
|
|
6
|
-
defaultClass?: string | undefined;
|
|
7
|
-
overrideClass?: boolean | undefined;
|
|
8
|
-
value?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type ColorInputProps = typeof __propDef.props;
|
|
16
|
-
export type ColorInputEvents = typeof __propDef.events;
|
|
17
|
-
export type ColorInputSlots = typeof __propDef.slots;
|
|
18
|
-
export default class ColorInput extends SvelteComponent<ColorInputProps, ColorInputEvents, ColorInputSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<script>export let inputClass = "";
|
|
2
|
-
export let defaultClass = "fluid-date-time-input";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let value = "";
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<input
|
|
8
|
-
bind:value
|
|
9
|
-
type="date"
|
|
10
|
-
class={overrideClass ? inputClass : defaultClass + ' ' + inputClass}
|
|
11
|
-
/>
|
|
12
|
-
a
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
inputClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type DateTimeInputProps = typeof __propDef.props;
|
|
15
|
-
export type DateTimeInputEvents = typeof __propDef.events;
|
|
16
|
-
export type DateTimeInputSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DateTimeInput extends SvelteComponent<DateTimeInputProps, DateTimeInputEvents, DateTimeInputSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
inputClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type FileInputProps = typeof __propDef.props;
|
|
14
|
-
export type FileInputEvents = typeof __propDef.events;
|
|
15
|
-
export type FileInputSlots = typeof __propDef.slots;
|
|
16
|
-
export default class FileInput extends SvelteComponent<FileInputProps, FileInputEvents, FileInputSlots> {
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<script>export let inputClass = "";
|
|
2
|
-
export let defaultClass = "fluid-text-input";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let value = "";
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<input
|
|
8
|
-
bind:value
|
|
9
|
-
type="password"
|
|
10
|
-
class={overrideClass ? inputClass : defaultClass + ' ' + inputClass}
|
|
11
|
-
/>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
inputClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type PasswordInputProps = typeof __propDef.props;
|
|
15
|
-
export type PasswordInputEvents = typeof __propDef.events;
|
|
16
|
-
export type PasswordInputSlots = typeof __propDef.slots;
|
|
17
|
-
export default class PasswordInput extends SvelteComponent<PasswordInputProps, PasswordInputEvents, PasswordInputSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<script>export let inputClass = "";
|
|
2
|
-
export let defaultClass = "fluid-text-input";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let value = "";
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<input
|
|
8
|
-
bind:value
|
|
9
|
-
type="text"
|
|
10
|
-
class={overrideClass ? inputClass : defaultClass + ' ' + inputClass}
|
|
11
|
-
/>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
inputClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type TextInputProps = typeof __propDef.props;
|
|
15
|
-
export type TextInputEvents = typeof __propDef.events;
|
|
16
|
-
export type TextInputSlots = typeof __propDef.slots;
|
|
17
|
-
export default class TextInput extends SvelteComponent<TextInputProps, TextInputEvents, TextInputSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<script>export let defaultClass = "fluid-toggle";
|
|
2
|
-
export let isChecked = false;
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<label class="relative inline-flex items-center cursor-pointer">
|
|
6
|
-
<input type="checkbox" bind:value={isChecked} class="sr-only peer" />
|
|
7
|
-
<div
|
|
8
|
-
class={defaultClass +
|
|
9
|
-
' ' +
|
|
10
|
-
"peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] peer-checked:bg-green"}
|
|
11
|
-
/>
|
|
12
|
-
</label>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
defaultClass?: string | undefined;
|
|
5
|
-
isChecked?: boolean | undefined;
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type ToggleInputProps = typeof __propDef.props;
|
|
13
|
-
export type ToggleInputEvents = typeof __propDef.events;
|
|
14
|
-
export type ToggleInputSlots = typeof __propDef.slots;
|
|
15
|
-
export default class ToggleInput extends SvelteComponent<ToggleInputProps, ToggleInputEvents, ToggleInputSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<script>export let labelClass = "";
|
|
2
|
-
export let defaultClass = "fluid-label";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let targetInput = "";
|
|
5
|
-
export let text = "";
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<label class={overrideClass ? labelClass : defaultClass + ' ' + labelClass} for={targetInput}>
|
|
9
|
-
{text}
|
|
10
|
-
</label>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
labelClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
targetInput?: string | undefined;
|
|
8
|
-
text?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type LabelProps = typeof __propDef.props;
|
|
16
|
-
export type LabelEvents = typeof __propDef.events;
|
|
17
|
-
export type LabelSlots = typeof __propDef.slots;
|
|
18
|
-
export default class Label extends SvelteComponent<LabelProps, LabelEvents, LabelSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<script>export let linkClass = "";
|
|
2
|
-
export let defaultClass = "fluid-link";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let url = "";
|
|
5
|
-
export let target = "_blank";
|
|
6
|
-
export let isDownload = false;
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<a
|
|
10
|
-
href={url}
|
|
11
|
-
download={isDownload}
|
|
12
|
-
class={overrideClass ? linkClass : defaultClass + ' ' + linkClass}
|
|
13
|
-
{target}
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</a>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
linkClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
url?: string | undefined;
|
|
8
|
-
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
|
9
|
-
isDownload?: boolean | undefined;
|
|
10
|
-
};
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {
|
|
15
|
-
default: {};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export type LinkProps = typeof __propDef.props;
|
|
19
|
-
export type LinkEvents = typeof __propDef.events;
|
|
20
|
-
export type LinkSlots = typeof __propDef.slots;
|
|
21
|
-
export default class Link extends SvelteComponent<LinkProps, LinkEvents, LinkSlots> {
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<script>export let optionClass = "";
|
|
2
|
-
export let defaultClass = "fluid-option";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let value = "a";
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<option class={overrideClass ? optionClass : defaultClass + ' ' + optionClass} {value}>
|
|
8
|
-
<slot />
|
|
9
|
-
</option>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
optionClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
value?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {
|
|
13
|
-
default: {};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export type OptionProps = typeof __propDef.props;
|
|
17
|
-
export type OptionEvents = typeof __propDef.events;
|
|
18
|
-
export type OptionSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Option extends SvelteComponent<OptionProps, OptionEvents, OptionSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<script>export let selectClass = "";
|
|
2
|
-
export let defaultClass = "fluid-select";
|
|
3
|
-
export let overrideClass = false;
|
|
4
|
-
export let isDisabled = false;
|
|
5
|
-
export let isMultiple = false;
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<select
|
|
9
|
-
class={overrideClass ? selectClass : defaultClass + ' ' + selectClass}
|
|
10
|
-
disabled={isDisabled}
|
|
11
|
-
multiple={isMultiple}
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</select>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
selectClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
isDisabled?: boolean | undefined;
|
|
8
|
-
isMultiple?: boolean | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {
|
|
14
|
-
default: {};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export type SelectProps = typeof __propDef.props;
|
|
18
|
-
export type SelectEvents = typeof __propDef.events;
|
|
19
|
-
export type SelectSlots = typeof __propDef.slots;
|
|
20
|
-
export default class Select extends SvelteComponent<SelectProps, SelectEvents, SelectSlots> {
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
tableClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type TableProps = typeof __propDef.props;
|
|
16
|
-
export type TableEvents = typeof __propDef.events;
|
|
17
|
-
export type TableSlots = typeof __propDef.slots;
|
|
18
|
-
export default class Table extends SvelteComponent<TableProps, TableEvents, TableSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
tableBodyClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type TableBodyProps = typeof __propDef.props;
|
|
16
|
-
export type TableBodyEvents = typeof __propDef.events;
|
|
17
|
-
export type TableBodySlots = typeof __propDef.slots;
|
|
18
|
-
export default class TableBody extends SvelteComponent<TableBodyProps, TableBodyEvents, TableBodySlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
tableDataCellClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type TableDataCellProps = typeof __propDef.props;
|
|
16
|
-
export type TableDataCellEvents = typeof __propDef.events;
|
|
17
|
-
export type TableDataCellSlots = typeof __propDef.slots;
|
|
18
|
-
export default class TableDataCell extends SvelteComponent<TableDataCellProps, TableDataCellEvents, TableDataCellSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
tableFootClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type TableFootProps = typeof __propDef.props;
|
|
16
|
-
export type TableFootEvents = typeof __propDef.events;
|
|
17
|
-
export type TableFootSlots = typeof __propDef.slots;
|
|
18
|
-
export default class TableFoot extends SvelteComponent<TableFootProps, TableFootEvents, TableFootSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
tableHeadClass?: string | undefined;
|
|
5
|
-
defaultClass?: string | undefined;
|
|
6
|
-
overrideClass?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export type TableHeadProps = typeof __propDef.props;
|
|
16
|
-
export type TableHeadEvents = typeof __propDef.events;
|
|
17
|
-
export type TableHeadSlots = typeof __propDef.slots;
|
|
18
|
-
export default class TableHead extends SvelteComponent<TableHeadProps, TableHeadEvents, TableHeadSlots> {
|
|
19
|
-
}
|
|
20
|
-
export {};
|