@functionalcms/svelte-components 3.5.16 → 3.5.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.
- package/css/functional.css +1 -1
- package/css/functional.css.map +1 -1
- package/dist/components/Banner.svelte +1 -1
- package/dist/components/Banner.svelte.d.ts +8 -13
- package/dist/components/Link.svelte.d.ts +45 -34
- package/dist/components/Logo.svelte.d.ts +26 -22
- package/dist/components/Markdown.svelte.d.ts +5 -14
- package/dist/components/Spacer.svelte.d.ts +6 -14
- package/dist/components/Well.svelte.d.ts +11 -13
- package/dist/components/agnostic/Button/Button.svelte +333 -332
- package/dist/components/agnostic/Button/Button.svelte.d.ts +50 -39
- package/dist/components/agnostic/Button/ButtonGroup.svelte.d.ts +30 -19
- package/dist/components/agnostic/Close/Close.svelte.d.ts +22 -18
- package/dist/components/agnostic/Disclose/Disclose.svelte.d.ts +10 -13
- package/dist/components/agnostic/Divider/Divider.svelte.d.ts +21 -17
- package/dist/components/agnostic/Loader/Loader.svelte.d.ts +20 -16
- package/dist/components/blog/BlogDescription.svelte.d.ts +21 -17
- package/dist/components/blog/BlogTitle.svelte.d.ts +21 -17
- package/dist/components/form/DateTimePicker.svelte.d.ts +16 -12
- package/dist/components/form/Input.svelte +1 -1
- package/dist/components/form/Input.svelte.d.ts +46 -20
- package/dist/components/form/InputAddonItem.svelte +34 -34
- package/dist/components/form/InputAddonItem.svelte.d.ts +27 -27
- package/dist/components/form/Select.svelte.d.ts +32 -28
- package/dist/components/{agnostic/Switch → form}/Switch.svelte +1 -1
- package/dist/components/form/Switch.svelte.d.ts +30 -0
- package/dist/components/layouts/DefaultLayout.svelte.d.ts +11 -13
- package/dist/components/layouts/Meta.svelte.d.ts +10 -13
- package/dist/components/layouts/SimpleFooter.svelte.d.ts +7 -13
- package/dist/components/layouts/Tracker.svelte.d.ts +5 -13
- package/dist/components/layouts/TwoColumnsLayout.svelte.d.ts +9 -13
- package/dist/components/menu/CollapsibleMenu.svelte.d.ts +27 -23
- package/dist/components/menu/DynamicMenu.svelte.d.ts +27 -23
- package/dist/components/menu/HamburgerMenu.svelte +3 -3
- package/dist/components/menu/HamburgerMenu.svelte.d.ts +25 -21
- package/dist/components/menu/Menu.svelte.d.ts +31 -27
- package/dist/components/menu/MenuItem.svelte.d.ts +37 -25
- package/dist/components/menu/NavigationItems.svelte +9 -4
- package/dist/components/menu/NavigationItems.svelte.d.ts +27 -23
- package/dist/components/presentation/Card.svelte.d.ts +17 -13
- package/dist/components/presentation/Carousel/carousel-content.svelte +35 -0
- package/dist/components/presentation/Carousel/carousel-content.svelte.d.ts +28 -0
- package/dist/components/presentation/Carousel/carousel-item.svelte +25 -0
- package/dist/components/presentation/Carousel/carousel-item.svelte.d.ts +28 -0
- package/dist/components/presentation/Carousel/carousel-next.svelte +39 -0
- package/dist/components/presentation/Carousel/carousel-next.svelte.d.ts +18 -0
- package/dist/components/presentation/Carousel/carousel-previous.svelte +40 -0
- package/dist/components/presentation/Carousel/carousel-previous.svelte.d.ts +18 -0
- package/dist/components/presentation/Carousel/carousel.svelte +99 -0
- package/dist/components/presentation/Carousel/carousel.svelte.d.ts +31 -0
- package/dist/components/presentation/Carousel/context.d.ts +32 -0
- package/dist/components/presentation/Carousel/context.js +12 -0
- package/dist/components/presentation/Carousel.svelte +4 -0
- package/dist/components/presentation/Carousel.svelte.d.ts +18 -0
- package/dist/components/presentation/Carusele.d.ts +1 -1
- package/dist/components/presentation/Carusele.js +1 -1
- package/dist/components/presentation/Gallery.svelte.d.ts +14 -13
- package/dist/components/presentation/ImageCompare.svelte +15 -12
- package/dist/components/presentation/ImageCompare.svelte.d.ts +24 -38
- package/dist/index.d.ts +4 -5
- package/dist/index.js +12 -7
- package/package.json +24 -24
- package/dist/components/agnostic/Alert/Alert.svelte +0 -317
- package/dist/components/agnostic/Alert/Alert.svelte.d.ts +0 -29
- package/dist/components/agnostic/Avatar/Avatar.svelte +0 -127
- package/dist/components/agnostic/Avatar/Avatar.svelte.d.ts +0 -24
- package/dist/components/agnostic/Avatar/AvatarGroup.svelte +0 -106
- package/dist/components/agnostic/Avatar/AvatarGroup.svelte.d.ts +0 -27
- package/dist/components/agnostic/Breadcrumb/Breadcrumb.svelte +0 -65
- package/dist/components/agnostic/Breadcrumb/Breadcrumb.svelte.d.ts +0 -18
- package/dist/components/agnostic/Breadcrumb/api.d.ts +0 -4
- package/dist/components/agnostic/Breadcrumb/api.js +0 -1
- package/dist/components/agnostic/ChoiceInput/ChoiceInput.svelte +0 -365
- package/dist/components/agnostic/ChoiceInput/ChoiceInput.svelte.d.ts +0 -35
- package/dist/components/agnostic/ChoiceInput/api.d.ts +0 -7
- package/dist/components/agnostic/ChoiceInput/api.js +0 -1
- package/dist/components/agnostic/Dialog/Dialog.svelte +0 -278
- package/dist/components/agnostic/Dialog/Dialog.svelte.d.ts +0 -37
- package/dist/components/agnostic/Dialog/SvelteA11yDialog.svelte +0 -128
- package/dist/components/agnostic/Dialog/SvelteA11yDialog.svelte.d.ts +0 -28
- package/dist/components/agnostic/Dialog/a11y-dialog.d.ts +0 -56
- package/dist/components/agnostic/Dialog/a11y-dialog.js +0 -216
- package/dist/components/agnostic/Dialog/dom-utils.d.ts +0 -26
- package/dist/components/agnostic/Dialog/dom-utils.js +0 -206
- package/dist/components/agnostic/Drawer/Drawer.svelte +0 -34
- package/dist/components/agnostic/Drawer/Drawer.svelte.d.ts +0 -26
- package/dist/components/agnostic/Drawer/api.d.ts +0 -1
- package/dist/components/agnostic/Drawer/api.js +0 -1
- package/dist/components/agnostic/EmptyState/EmptyState.svelte +0 -49
- package/dist/components/agnostic/EmptyState/EmptyState.svelte.d.ts +0 -21
- package/dist/components/agnostic/Header/Header.svelte +0 -111
- package/dist/components/agnostic/Header/Header.svelte.d.ts +0 -24
- package/dist/components/agnostic/Header/HeaderNav.svelte +0 -29
- package/dist/components/agnostic/Header/HeaderNav.svelte.d.ts +0 -18
- package/dist/components/agnostic/Header/HeaderNavItem.svelte +0 -31
- package/dist/components/agnostic/Header/HeaderNavItem.svelte.d.ts +0 -18
- package/dist/components/agnostic/Icon/Icon.svelte +0 -188
- package/dist/components/agnostic/Icon/Icon.svelte.d.ts +0 -21
- package/dist/components/agnostic/Icon/api.d.ts +0 -2
- package/dist/components/agnostic/Icon/api.js +0 -1
- package/dist/components/agnostic/Progress/Progress.svelte +0 -51
- package/dist/components/agnostic/Progress/Progress.svelte.d.ts +0 -18
- package/dist/components/agnostic/Spinner/Spinner.svelte +0 -108
- package/dist/components/agnostic/Spinner/Spinner.svelte.d.ts +0 -17
- package/dist/components/agnostic/Switch/Switch.svelte.d.ts +0 -43
- package/dist/components/agnostic/Table/Table.svelte +0 -521
- package/dist/components/agnostic/Table/Table.svelte.d.ts +0 -34
- package/dist/components/agnostic/Table/TableCustomRenderComponent.svelte +0 -13
- package/dist/components/agnostic/Table/TableCustomRenderComponent.svelte.d.ts +0 -23
- package/dist/components/agnostic/Tabs/TabButtonCustom.svelte +0 -77
- package/dist/components/agnostic/Tabs/TabButtonCustom.svelte.d.ts +0 -33
- package/dist/components/agnostic/Tabs/Tabs.svelte +0 -399
- package/dist/components/agnostic/Tabs/Tabs.svelte.d.ts +0 -32
- package/dist/components/agnostic/Tabs/api.d.ts +0 -10
- package/dist/components/agnostic/Tabs/api.js +0 -1
- package/dist/components/agnostic/Tag/Tag.svelte +0 -78
- package/dist/components/agnostic/Tag/Tag.svelte.d.ts +0 -21
- package/dist/components/agnostic/Tag/TagSlots.svelte +0 -52
- package/dist/components/agnostic/Tag/TagSlots.svelte.d.ts +0 -14
- package/dist/components/agnostic/Toasts/Toasts.svelte +0 -56
- package/dist/components/agnostic/Toasts/Toasts.svelte.d.ts +0 -20
- package/dist/components/agnostic/Tooltip/Tooltip.svelte +0 -120
- package/dist/components/agnostic/Tooltip/Tooltip.svelte.d.ts +0 -21
- package/dist/components/agnostic/Tooltip/TooltipSlots.svelte +0 -82
- package/dist/components/agnostic/Tooltip/TooltipSlots.svelte.d.ts +0 -14
- package/dist/components/agnostic/Tooltip/api.d.ts +0 -1
- package/dist/components/agnostic/Tooltip/api.js +0 -1
- package/dist/components/presentation/Carusel.svelte +0 -109
- package/dist/components/presentation/Carusel.svelte.d.ts +0 -56
|
@@ -1,41 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
isLink?: boolean | undefined;
|
|
12
|
-
isBlank?: boolean | undefined;
|
|
13
|
-
isDisabled?: boolean | undefined;
|
|
14
|
-
role?: undefined;
|
|
15
|
-
isCircle?: boolean | undefined;
|
|
16
|
-
isRounded?: boolean | undefined;
|
|
17
|
-
isSkinned?: boolean | undefined;
|
|
18
|
-
ariaSelected?: undefined;
|
|
19
|
-
ariaControls?: undefined;
|
|
20
|
-
tabIndex?: undefined;
|
|
21
|
-
css?: string | undefined;
|
|
22
|
-
type?: string | undefined;
|
|
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;
|
|
23
11
|
};
|
|
24
|
-
|
|
25
|
-
keydown: KeyboardEvent;
|
|
26
|
-
click: MouseEvent;
|
|
27
|
-
focus: FocusEvent;
|
|
28
|
-
blur: FocusEvent;
|
|
29
|
-
} & {
|
|
30
|
-
[evt: string]: CustomEvent<any>;
|
|
31
|
-
};
|
|
32
|
-
slots: {
|
|
33
|
-
default: {};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export type ButtonProps = typeof __propDef.props;
|
|
37
|
-
export type ButtonEvents = typeof __propDef.events;
|
|
38
|
-
export type ButtonSlots = typeof __propDef.slots;
|
|
39
|
-
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
40
13
|
}
|
|
41
|
-
|
|
14
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
15
|
+
default: any;
|
|
16
|
+
} ? Props extends Record<string, never> ? any : {
|
|
17
|
+
children?: any;
|
|
18
|
+
} : {});
|
|
19
|
+
declare const Button: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
mode?: string | undefined;
|
|
22
|
+
size?: string | undefined;
|
|
23
|
+
isBordered?: boolean | undefined;
|
|
24
|
+
isCapsule?: boolean | undefined;
|
|
25
|
+
isGrouped?: boolean | undefined;
|
|
26
|
+
isBlock?: boolean | undefined;
|
|
27
|
+
isLink?: boolean | undefined;
|
|
28
|
+
isBlank?: boolean | undefined;
|
|
29
|
+
isDisabled?: boolean | undefined;
|
|
30
|
+
role?: undefined;
|
|
31
|
+
isCircle?: boolean | undefined;
|
|
32
|
+
isRounded?: boolean | undefined;
|
|
33
|
+
isSkinned?: boolean | undefined;
|
|
34
|
+
ariaSelected?: undefined;
|
|
35
|
+
ariaControls?: undefined;
|
|
36
|
+
tabIndex?: undefined;
|
|
37
|
+
css?: string | undefined;
|
|
38
|
+
type?: string | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
default: {};
|
|
41
|
+
}>, {
|
|
42
|
+
keydown: KeyboardEvent;
|
|
43
|
+
click: MouseEvent;
|
|
44
|
+
focus: FocusEvent;
|
|
45
|
+
blur: FocusEvent;
|
|
46
|
+
} & {
|
|
47
|
+
[evt: string]: CustomEvent<any>;
|
|
48
|
+
}, {
|
|
49
|
+
default: {};
|
|
50
|
+
}, {}, string>;
|
|
51
|
+
type Button = InstanceType<typeof Button>;
|
|
52
|
+
export default Button;
|
|
@@ -1,21 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
click: MouseEvent;
|
|
9
|
-
} & {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {
|
|
13
|
-
default: {};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export type ButtonGroupProps = typeof __propDef.props;
|
|
17
|
-
export type ButtonGroupEvents = typeof __propDef.events;
|
|
18
|
-
export type ButtonGroupSlots = typeof __propDef.slots;
|
|
19
|
-
export default class ButtonGroup extends SvelteComponentTyped<ButtonGroupProps, ButtonGroupEvents, ButtonGroupSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
20
13
|
}
|
|
21
|
-
|
|
14
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
15
|
+
default: any;
|
|
16
|
+
} ? Props extends Record<string, never> ? any : {
|
|
17
|
+
children?: any;
|
|
18
|
+
} : {});
|
|
19
|
+
declare const ButtonGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
css?: string;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}>, {
|
|
25
|
+
click: MouseEvent;
|
|
26
|
+
} & {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
}, {
|
|
29
|
+
default: {};
|
|
30
|
+
}, {}, string>;
|
|
31
|
+
type ButtonGroup = InstanceType<typeof ButtonGroup>;
|
|
32
|
+
export default ButtonGroup;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
1
|
import type { CloseSizes } from './api';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
8
12
|
};
|
|
9
|
-
|
|
10
|
-
click: MouseEvent;
|
|
11
|
-
} & {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
};
|
|
16
|
-
export type CloseProps = typeof __propDef.props;
|
|
17
|
-
export type CloseEvents = typeof __propDef.events;
|
|
18
|
-
export type CloseSlots = typeof __propDef.slots;
|
|
19
|
-
export default class Close extends SvelteComponentTyped<CloseProps, CloseEvents, CloseSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
20
14
|
}
|
|
21
|
-
|
|
15
|
+
declare const Close: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
size?: CloseSizes;
|
|
17
|
+
isFaux?: boolean;
|
|
18
|
+
color?: string;
|
|
19
|
+
}, {
|
|
20
|
+
click: MouseEvent;
|
|
21
|
+
} & {
|
|
22
|
+
[evt: string]: CustomEvent<any>;
|
|
23
|
+
}, {}, {}, string>;
|
|
24
|
+
type Close = InstanceType<typeof Close>;
|
|
25
|
+
export default Close;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type DiscloseProps = typeof __propDef.props;
|
|
10
|
-
export type DiscloseEvents = typeof __propDef.events;
|
|
11
|
-
export type DiscloseSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Disclose extends SvelteComponentTyped<DiscloseProps, DiscloseEvents, DiscloseSlots> {
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
children: Snippet;
|
|
4
|
+
title?: string;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
isBackground?: boolean;
|
|
7
|
+
isBordered?: boolean;
|
|
13
8
|
}
|
|
14
|
-
|
|
9
|
+
declare const Disclose: import("svelte").Component<Props, {}, "">;
|
|
10
|
+
type Disclose = ReturnType<typeof Disclose>;
|
|
11
|
+
export default Disclose;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
1
|
import type { DividerJustify, DividerTypes, DividerSizes } from './api';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
9
12
|
};
|
|
10
|
-
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type DividerProps = typeof __propDef.props;
|
|
16
|
-
export type DividerEvents = typeof __propDef.events;
|
|
17
|
-
export type DividerSlots = typeof __propDef.slots;
|
|
18
|
-
export default class Divider extends SvelteComponentTyped<DividerProps, DividerEvents, DividerSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
19
14
|
}
|
|
20
|
-
|
|
15
|
+
declare const Divider: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
isVertical?: boolean;
|
|
17
|
+
justify?: DividerJustify;
|
|
18
|
+
type?: DividerTypes;
|
|
19
|
+
size?: DividerSizes;
|
|
20
|
+
}, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {}, {}, string>;
|
|
23
|
+
type Divider = InstanceType<typeof Divider>;
|
|
24
|
+
export default Divider;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
7
11
|
};
|
|
8
|
-
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type LoaderProps = typeof __propDef.props;
|
|
14
|
-
export type LoaderEvents = typeof __propDef.events;
|
|
15
|
-
export type LoaderSlots = typeof __propDef.slots;
|
|
16
|
-
export default class Loader extends SvelteComponentTyped<LoaderProps, LoaderEvents, LoaderSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
17
13
|
}
|
|
18
|
-
|
|
14
|
+
declare const Loader: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
size?: "small" | "large" | "";
|
|
17
|
+
loaderClasses?: string;
|
|
18
|
+
}, {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
}, {}, {}, string>;
|
|
21
|
+
type Loader = InstanceType<typeof Loader>;
|
|
22
|
+
export default Loader;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {
|
|
11
|
-
readMore: {};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export type BlogDescriptionProps = typeof __propDef.props;
|
|
15
|
-
export type BlogDescriptionEvents = typeof __propDef.events;
|
|
16
|
-
export type BlogDescriptionSlots = typeof __propDef.slots;
|
|
17
|
-
export default class BlogDescription extends SvelteComponentTyped<BlogDescriptionProps, BlogDescriptionEvents, BlogDescriptionSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
18
13
|
}
|
|
19
|
-
|
|
14
|
+
declare const BlogDescription: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
description: string;
|
|
16
|
+
css?: string;
|
|
17
|
+
}, {
|
|
18
|
+
[evt: string]: CustomEvent<any>;
|
|
19
|
+
}, {
|
|
20
|
+
readMore: {};
|
|
21
|
+
}, {}, string>;
|
|
22
|
+
type BlogDescription = InstanceType<typeof BlogDescription>;
|
|
23
|
+
export default BlogDescription;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
8
11
|
};
|
|
9
|
-
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type BlogTitleProps = typeof __propDef.props;
|
|
15
|
-
export type BlogTitleEvents = typeof __propDef.events;
|
|
16
|
-
export type BlogTitleSlots = typeof __propDef.slots;
|
|
17
|
-
export default class BlogTitle extends SvelteComponentTyped<BlogTitleProps, BlogTitleEvents, BlogTitleSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
18
13
|
}
|
|
19
|
-
|
|
14
|
+
declare const BlogTitle: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
+
slug?: string;
|
|
16
|
+
path?: string;
|
|
17
|
+
title: string;
|
|
18
|
+
css?: string;
|
|
19
|
+
}, {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {}, {}, string>;
|
|
22
|
+
type BlogTitle = InstanceType<typeof BlogTitle>;
|
|
23
|
+
export default BlogTitle;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type DateTimePickerProps = typeof __propDef.props;
|
|
10
|
-
export type DateTimePickerEvents = typeof __propDef.events;
|
|
11
|
-
export type DateTimePickerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DateTimePicker extends SvelteComponentTyped<DateTimePickerProps, DateTimePickerEvents, DateTimePickerSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare const DateTimePicker: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type DateTimePicker = InstanceType<typeof DateTimePicker>;
|
|
18
|
+
export default DateTimePicker;
|
|
@@ -1,22 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
type $$ComponentProps = {
|
|
2
|
+
label: string;
|
|
3
|
+
id: string;
|
|
4
|
+
labelCss: string;
|
|
5
|
+
isLabelHidden: boolean;
|
|
6
|
+
helpText: string;
|
|
7
|
+
invalidText: string;
|
|
8
|
+
hasLeftAddon: boolean;
|
|
9
|
+
hasRightAddon: boolean;
|
|
10
|
+
isInvalid: boolean;
|
|
11
|
+
isInline: boolean;
|
|
12
|
+
isRounded: boolean;
|
|
13
|
+
isDisabled: boolean | undefined;
|
|
14
|
+
css: string;
|
|
15
|
+
isSkinned: boolean;
|
|
16
|
+
isUnderlinedWithBackground: boolean;
|
|
17
|
+
isUnderlined: boolean;
|
|
18
|
+
size: 'small' | 'large' | '';
|
|
19
|
+
type: 'text' | 'textarea' | 'email' | 'search' | 'password' | 'tel' | 'number' | 'url' | 'month' | 'time' | 'week' | 'date' | 'datetime-local' | 'color';
|
|
20
|
+
value: string;
|
|
21
|
+
restProps: any;
|
|
16
22
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
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> {
|
|
24
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
25
|
+
$$bindings?: Bindings;
|
|
26
|
+
} & Exports;
|
|
27
|
+
(internal: unknown, props: Props & {
|
|
28
|
+
$$events?: Events;
|
|
29
|
+
$$slots?: Slots;
|
|
30
|
+
}): Exports & {
|
|
31
|
+
$set?: any;
|
|
32
|
+
$on?: any;
|
|
33
|
+
};
|
|
34
|
+
z_$$bindings?: Bindings;
|
|
21
35
|
}
|
|
22
|
-
|
|
36
|
+
declare const Input: $$__sveltets_2_IsomorphicComponent<$$ComponentProps, {
|
|
37
|
+
blur: FocusEvent;
|
|
38
|
+
change: Event;
|
|
39
|
+
click: MouseEvent;
|
|
40
|
+
focus: FocusEvent;
|
|
41
|
+
} & {
|
|
42
|
+
[evt: string]: CustomEvent<any>;
|
|
43
|
+
}, {
|
|
44
|
+
addonLeft: {};
|
|
45
|
+
addonRight: {};
|
|
46
|
+
}, {}, "value">;
|
|
47
|
+
type Input = InstanceType<typeof Input>;
|
|
48
|
+
export default Input;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export let css = '';
|
|
3
|
+
export let addonLeft = false;
|
|
4
|
+
export let addonRight = false;
|
|
5
|
+
$: klasses = [
|
|
6
|
+
addonLeft ? 'input-addon-left' : '',
|
|
7
|
+
addonRight ? 'input-addon-right' : '',
|
|
8
|
+
css ? `${css}` : ''
|
|
9
|
+
]
|
|
10
|
+
.filter((c) => c)
|
|
11
|
+
.join(' ');
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<div class={klasses}>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
|
|
1
18
|
<style>
|
|
2
|
-
/*
|
|
19
|
+
/*
|
|
3
20
|
* Input addons e.g. icons inside the input
|
|
4
21
|
*/
|
|
5
|
-
.input-addon-right,
|
|
6
|
-
.input-addon-left {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
22
|
+
.input-addon-right,
|
|
23
|
+
.input-addon-left {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
12
29
|
|
|
13
|
-
|
|
30
|
+
/* This allows an icon to sit in the vertical center regardless
|
|
14
31
|
of if we've applied input-large or input-small */
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.input-addon-left {
|
|
19
|
-
left: var(--functional-input-side-padding);
|
|
20
|
-
}
|
|
32
|
+
min-height: 100%;
|
|
33
|
+
}
|
|
21
34
|
|
|
22
|
-
.input-addon-
|
|
23
|
-
|
|
24
|
-
}
|
|
35
|
+
.input-addon-left {
|
|
36
|
+
left: var(--functional-input-side-padding);
|
|
37
|
+
}
|
|
25
38
|
|
|
39
|
+
.input-addon-right {
|
|
40
|
+
right: var(--functional-input-side-padding);
|
|
41
|
+
}
|
|
26
42
|
</style>
|
|
27
|
-
|
|
28
|
-
<script>
|
|
29
|
-
export let css = "";
|
|
30
|
-
export let addonLeft = false;
|
|
31
|
-
export let addonRight = false;
|
|
32
|
-
$: klasses = [
|
|
33
|
-
addonLeft ? "input-addon-left" : "",
|
|
34
|
-
addonRight ? "input-addon-right" : "",
|
|
35
|
-
css ? `${css}` : "",
|
|
36
|
-
].filter(c => c).join(" ");
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<div class={klasses}>
|
|
40
|
-
<slot />
|
|
41
|
-
</div>
|
|
42
|
-
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
11
|
+
};
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
|
+
}
|
|
14
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
15
|
+
default: any;
|
|
16
|
+
} ? Props extends Record<string, never> ? any : {
|
|
17
|
+
children?: any;
|
|
18
|
+
} : {});
|
|
19
|
+
declare const InputAddonItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
|
+
css?: string;
|
|
21
|
+
addonLeft?: boolean;
|
|
22
|
+
addonRight?: boolean;
|
|
8
23
|
}, {
|
|
24
|
+
default: {};
|
|
25
|
+
}>, {
|
|
9
26
|
[evt: string]: CustomEvent<any>;
|
|
10
27
|
}, {
|
|
11
28
|
default: {};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export
|
|
15
|
-
export type InputAddonItemEvents = typeof __propDef.events;
|
|
16
|
-
export type InputAddonItemSlots = typeof __propDef.slots;
|
|
17
|
-
import { SvelteComponentTyped } from "svelte";
|
|
18
|
-
declare const __propDef: {
|
|
19
|
-
props: {
|
|
20
|
-
css?: string | undefined;
|
|
21
|
-
addonLeft?: boolean | undefined;
|
|
22
|
-
addonRight?: boolean | undefined;
|
|
23
|
-
};
|
|
24
|
-
events: {
|
|
25
|
-
[evt: string]: CustomEvent<any>;
|
|
26
|
-
};
|
|
27
|
-
slots: {
|
|
28
|
-
default: {};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export {};
|
|
29
|
+
}, {}, string>;
|
|
30
|
+
type InputAddonItem = InstanceType<typeof InputAddonItem>;
|
|
31
|
+
export default InputAddonItem;
|