@hyvor/design 1.0.3 → 1.0.5
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/components/ActionList/ActionList.svelte.d.ts +6 -5
- package/dist/components/ActionList/ActionListGroup.svelte.d.ts +5 -4
- package/dist/components/ActionList/ActionListItem.svelte.d.ts +11 -10
- package/dist/components/ActionList/Selected.svelte.d.ts +4 -3
- package/dist/components/Avatar/Avatar.svelte.d.ts +5 -4
- package/dist/components/Avatar/AvatarStack.svelte.d.ts +5 -4
- package/dist/components/Base/Base.svelte.d.ts +4 -3
- package/dist/components/Box/Box.svelte.d.ts +5 -4
- package/dist/components/Button/Button.svelte.d.ts +13 -12
- package/dist/components/Button/ButtonGroup.svelte.d.ts +4 -3
- package/dist/components/Callout/Callout.svelte.d.ts +5 -4
- package/dist/components/CodeBlock/CodeBlock.svelte.d.ts +5 -3
- package/dist/components/ColorPicker/ColorPicker.svelte.d.ts +7 -6
- package/dist/components/Divider/Divider.svelte.d.ts +4 -3
- package/dist/components/Dropdown/Dropdown.svelte.d.ts +5 -4
- package/dist/components/FormControl/Caption.svelte.d.ts +5 -4
- package/dist/components/FormControl/FormControl.svelte.d.ts +4 -3
- package/dist/components/FormControl/InputGroup.svelte.d.ts +5 -4
- package/dist/components/FormControl/Label.svelte.d.ts +4 -3
- package/dist/components/FormControl/Validation.svelte.d.ts +6 -5
- package/dist/components/HyvorBar/BarSupport.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUpdates.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUpdatesList.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUser.svelte.d.ts +3 -2
- package/dist/components/IconButton/IconButton.svelte.d.ts +8 -7
- package/dist/components/Internationalization/InternationalizationProvider.svelte.d.ts +4 -3
- package/dist/components/Internationalization/LanguageToggle.svelte.d.ts +6 -5
- package/dist/components/Link/Link.svelte.d.ts +8 -7
- package/dist/components/Loader/Loader.svelte.d.ts +8 -7
- package/dist/components/Modal/Modal.svelte.d.ts +13 -12
- package/dist/components/Modal/ModalFooter.svelte.d.ts +5 -4
- package/dist/components/NavLink/NavLink.svelte.d.ts +7 -6
- package/dist/components/Radio/Radio.svelte.d.ts +5 -4
- package/dist/components/Slider/Slider.svelte +40 -7
- package/dist/components/Slider/Slider.svelte.d.ts +8 -7
- package/dist/components/SplitControl/SplitControl.svelte.d.ts +3 -2
- package/dist/components/Switch/Switch.svelte.d.ts +5 -4
- package/dist/components/TabNav/TabNav.svelte.d.ts +5 -4
- package/dist/components/TabNav/TabNavItem.svelte.d.ts +7 -6
- package/dist/components/Table/Table.svelte.d.ts +4 -3
- package/dist/components/Table/TableRow.svelte.d.ts +3 -2
- package/dist/components/Tag/Tag.svelte.d.ts +10 -9
- package/dist/components/Text/Text.svelte.d.ts +5 -4
- package/dist/components/TextInput/TextInput.svelte +50 -18
- package/dist/components/TextInput/TextInput.svelte.d.ts +3 -1
- package/dist/components/Toast/ToastIcon.svelte.d.ts +3 -2
- package/dist/components/Toast/ToastMessage.svelte.d.ts +3 -2
- package/dist/components/Tooltip/Tooltip.svelte.d.ts +2 -2
- package/dist/marketing/Container/Container.svelte.d.ts +4 -3
- package/dist/marketing/Docs/Content/Content.svelte.d.ts +4 -3
- package/dist/marketing/Docs/Content/DocsImage.svelte.d.ts +4 -3
- package/dist/marketing/Docs/Docs.svelte.d.ts +5 -4
- package/dist/marketing/Docs/Nav/Nav.svelte.d.ts +4 -3
- package/dist/marketing/Docs/Nav/NavCategory.svelte.d.ts +6 -5
- package/dist/marketing/Docs/Nav/NavItem.svelte.d.ts +4 -3
- package/dist/marketing/Document/Document.svelte.d.ts +4 -3
- package/dist/marketing/Document/DocumentTitle.svelte.d.ts +3 -2
- package/dist/marketing/Footer/Footer.svelte.d.ts +4 -3
- package/dist/marketing/Footer/FooterLinkList.svelte.d.ts +4 -3
- package/dist/marketing/Header/Header.svelte.d.ts +5 -4
- package/dist/marketing/Logo/LogoBlogs.svelte.d.ts +3 -2
- package/dist/marketing/Logo/LogoCore.svelte.d.ts +3 -2
- package/dist/marketing/Logo/LogoFortguard.svelte.d.ts +3 -2
- package/dist/marketing/Logo/LogoTalk.svelte.d.ts +3 -2
- package/package.json +3 -3
- package/dist/components/HyvorBar/BarProducts.svelte.d.ts +0 -32
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
selection?: 'none' | 'single' | 'multi';
|
|
3
|
+
selectionAlign?: 'start' | 'end';
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
2
5
|
[key: string]: any;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
children?: import("svelte").Snippet;
|
|
6
|
-
}, {}, "">;
|
|
6
|
+
}
|
|
7
|
+
declare const ActionList: import("svelte").Component<Props, {}, "">;
|
|
7
8
|
type ActionList = ReturnType<typeof ActionList>;
|
|
8
9
|
export default ActionList;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
title?: string | undefined;
|
|
3
3
|
divider?: boolean;
|
|
4
|
-
selection?: undefined |
|
|
5
|
-
children?: import(
|
|
6
|
-
}
|
|
4
|
+
selection?: undefined | 'single' | 'multi';
|
|
5
|
+
children?: import('svelte').Snippet;
|
|
6
|
+
}
|
|
7
|
+
declare const ActionListGroup: import("svelte").Component<Props, {}, "">;
|
|
7
8
|
type ActionListGroup = ReturnType<typeof ActionListGroup>;
|
|
8
9
|
export default ActionListGroup;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
selected?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
type?: 'default' | 'danger';
|
|
5
|
+
start?: import('svelte').Snippet;
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
7
|
+
description?: import('svelte').Snippet;
|
|
8
|
+
end?: import('svelte').Snippet;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
1
11
|
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
12
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
13
|
$$bindings?: Bindings;
|
|
@@ -11,16 +21,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
11
21
|
};
|
|
12
22
|
z_$$bindings?: Bindings;
|
|
13
23
|
}
|
|
14
|
-
declare const ActionListItem: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
selected?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
type?: "default" | "danger";
|
|
19
|
-
start?: import("svelte").Snippet;
|
|
20
|
-
children?: import("svelte").Snippet;
|
|
21
|
-
description?: import("svelte").Snippet;
|
|
22
|
-
end?: import("svelte").Snippet;
|
|
23
|
-
}, {
|
|
24
|
+
declare const ActionListItem: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
24
25
|
select: CustomEvent<any>;
|
|
25
26
|
} & {
|
|
26
27
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
selection:
|
|
1
|
+
interface Props {
|
|
2
|
+
selection: 'none' | 'single' | 'multi';
|
|
3
3
|
selected: boolean;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
|
+
declare const Selected: import("svelte").Component<Props, {}, "selected">;
|
|
5
6
|
type Selected = ReturnType<typeof Selected>;
|
|
6
7
|
export default Selected;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
size?: number | "small" | "medium" | "large";
|
|
1
|
+
interface Props {
|
|
2
|
+
size?: number | 'small' | 'medium' | 'large';
|
|
4
3
|
alt?: string;
|
|
5
|
-
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare const Avatar: import("svelte").Component<Props, {}, "size">;
|
|
6
7
|
type Avatar = ReturnType<typeof Avatar>;
|
|
7
8
|
export default Avatar;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
size?: number |
|
|
3
|
-
children?: import(
|
|
4
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
size?: number | 'small' | 'medium' | 'large';
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
}
|
|
5
|
+
declare const AvatarStack: import("svelte").Component<Props, {}, "size">;
|
|
5
6
|
type AvatarStack = ReturnType<typeof AvatarStack>;
|
|
6
7
|
export default AvatarStack;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../../index.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
dark?: boolean;
|
|
4
|
-
children?: import(
|
|
5
|
-
}
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
5
|
+
}
|
|
6
|
+
declare const Base: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type Base = ReturnType<typeof Base>;
|
|
7
8
|
export default Base;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
as?: string;
|
|
4
|
-
children?: import(
|
|
5
|
-
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare const Box: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type Box = ReturnType<typeof Box>;
|
|
7
8
|
export default Box;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
color?: "accent" | "gray" | "green" | "red" | "blue" | "orange" | "input";
|
|
1
|
+
interface Props {
|
|
2
|
+
as?: 'button' | 'a';
|
|
3
|
+
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
4
|
+
color?: 'accent' | 'gray' | 'green' | 'red' | 'blue' | 'orange' | 'input';
|
|
6
5
|
block?: boolean;
|
|
7
|
-
variant?:
|
|
8
|
-
align?:
|
|
6
|
+
variant?: 'fill' | 'fill-light' | 'outline' | 'invisible' | 'outline-fill';
|
|
7
|
+
align?: 'start' | 'center';
|
|
9
8
|
button?: any;
|
|
10
|
-
start?: import(
|
|
11
|
-
children?: import(
|
|
12
|
-
end?: import(
|
|
13
|
-
action?: import(
|
|
14
|
-
|
|
9
|
+
start?: import('svelte').Snippet;
|
|
10
|
+
children?: import('svelte').Snippet;
|
|
11
|
+
end?: import('svelte').Snippet;
|
|
12
|
+
action?: import('svelte').Snippet;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
declare const Button: import("svelte").Component<Props, {}, "button">;
|
|
15
16
|
type Button = ReturnType<typeof Button>;
|
|
16
17
|
export default Button;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
children?: import(
|
|
3
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
children?: import('svelte').Snippet;
|
|
3
|
+
}
|
|
4
|
+
declare const ButtonGroup: import("svelte").Component<Props, {}, "">;
|
|
4
5
|
type ButtonGroup = ReturnType<typeof ButtonGroup>;
|
|
5
6
|
export default ButtonGroup;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type?: "info" | "success" | "warning" | "danger" | "soft";
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
type?: 'info' | 'success' | 'warning' | 'danger' | 'soft';
|
|
5
4
|
title?: string | Snippet;
|
|
6
5
|
icon?: Snippet;
|
|
7
6
|
text?: string | Snippet;
|
|
8
7
|
children?: Snippet;
|
|
9
|
-
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
declare const Callout: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
10
11
|
type Callout = ReturnType<typeof Callout>;
|
|
11
12
|
export default Callout;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import './hljs.scss';
|
|
2
|
-
|
|
2
|
+
type InputLanguage = 'html' | 'css' | 'js' | 'ts' | 'yaml' | 'json' | 'svelte' | 'jsx' | 'php';
|
|
3
|
+
interface Props {
|
|
3
4
|
code: string;
|
|
4
|
-
language?:
|
|
5
|
-
}
|
|
5
|
+
language?: InputLanguage;
|
|
6
|
+
}
|
|
7
|
+
declare const CodeBlock: import("svelte").Component<Props, {}, "">;
|
|
6
8
|
type CodeBlock = ReturnType<typeof CodeBlock>;
|
|
7
9
|
export default CodeBlock;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import ColorPicker from 'svelte-awesome-color-picker';
|
|
2
|
+
interface Props {
|
|
3
|
+
color?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
show?: boolean;
|
|
6
|
+
'aria-label'?: string;
|
|
7
|
+
}
|
|
2
8
|
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
9
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
10
|
$$bindings?: Bindings;
|
|
@@ -12,12 +18,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
12
18
|
};
|
|
13
19
|
z_$$bindings?: Bindings;
|
|
14
20
|
}
|
|
15
|
-
declare const ColorPicker: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
-
color?: string;
|
|
17
|
-
size?: number;
|
|
18
|
-
show?: boolean;
|
|
19
|
-
'aria-label'?: string;
|
|
20
|
-
}, {
|
|
21
|
+
declare const ColorPicker: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
21
22
|
input: CustomEvent<string>;
|
|
22
23
|
change: CustomEvent<string>;
|
|
23
24
|
} & {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
color?: string;
|
|
3
3
|
height?: number;
|
|
4
4
|
width?: number;
|
|
5
5
|
margin?: number;
|
|
6
|
-
align?:
|
|
7
|
-
}
|
|
6
|
+
align?: 'start' | 'center' | 'end';
|
|
7
|
+
}
|
|
8
|
+
declare const Divider: import("svelte").Component<Props, {}, "">;
|
|
8
9
|
type Divider = ReturnType<typeof Divider>;
|
|
9
10
|
export default Divider;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
show?: boolean;
|
|
4
4
|
width?: number;
|
|
5
5
|
relative?: boolean;
|
|
6
6
|
closeOnOutsideClick?: boolean;
|
|
7
|
-
align?:
|
|
8
|
-
position?:
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
position?: 'left' | 'right' | 'bottom' | 'top';
|
|
9
9
|
trigger?: Snippet;
|
|
10
10
|
content?: Snippet;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
|
+
declare const Dropdown: import("svelte").Component<Props, {}, "show">;
|
|
12
13
|
type Dropdown = ReturnType<typeof Dropdown>;
|
|
13
14
|
export default Dropdown;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
bold?: boolean;
|
|
4
|
-
children?: import(
|
|
5
|
-
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare const Caption: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type Caption = ReturnType<typeof Caption>;
|
|
7
8
|
export default Caption;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
children?: import('svelte').Snippet;
|
|
2
3
|
[key: string]: any;
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
}
|
|
5
|
+
declare const FormControl: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type FormControl = ReturnType<typeof FormControl>;
|
|
6
7
|
export default FormControl;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
gap?: number | 'small' | 'medium' | 'large';
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
2
4
|
[key: string]: any;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}, {}, "gap">;
|
|
5
|
+
}
|
|
6
|
+
declare const InputGroup: import("svelte").Component<Props, {}, "gap">;
|
|
6
7
|
type InputGroup = ReturnType<typeof InputGroup>;
|
|
7
8
|
export default InputGroup;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
children?: import('svelte').Snippet;
|
|
2
3
|
[key: string]: any;
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
}
|
|
5
|
+
declare const Label: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type Label = ReturnType<typeof Label>;
|
|
6
7
|
export default Label;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AriaRole } from 'svelte/elements';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
state?: "error" | "warning" | "success";
|
|
2
|
+
interface Props {
|
|
3
|
+
state?: 'error' | 'warning' | 'success';
|
|
5
4
|
role?: AriaRole | undefined;
|
|
6
|
-
children?: import(
|
|
7
|
-
|
|
5
|
+
children?: import('svelte').Snippet;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
declare const Validation: import("svelte").Component<Props, {}, "">;
|
|
8
9
|
type Validation = ReturnType<typeof Validation>;
|
|
9
10
|
export default Validation;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { BarConfig, BarProduct } from './bar.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
mobile?: boolean;
|
|
4
4
|
product: BarProduct;
|
|
5
5
|
config: BarConfig;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
|
+
declare const BarSupport: import("svelte").Component<Props, {}, "">;
|
|
7
8
|
type BarSupport = ReturnType<typeof BarSupport>;
|
|
8
9
|
export default BarSupport;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type BarProduct } from './bar.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
instance: string;
|
|
4
4
|
product: BarProduct;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
declare const BarUpdates: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type BarUpdates = ReturnType<typeof BarUpdates>;
|
|
7
8
|
export default BarUpdates;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type BarProduct } from './bar.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
instance: string;
|
|
4
4
|
product: BarProduct;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
declare const BarUpdatesList: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type BarUpdatesList = ReturnType<typeof BarUpdatesList>;
|
|
7
8
|
export default BarUpdatesList;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
|
+
size?: 'small' | 'medium' | 'large' | number;
|
|
3
|
+
color?: 'accent' | 'gray' | 'input' | 'green' | 'red' | 'blue' | 'orange';
|
|
4
|
+
variant?: 'fill' | 'fill-light' | 'outline' | 'outline-fill' | 'invisible';
|
|
5
|
+
as?: 'button' | 'a';
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
2
7
|
[key: string]: any;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
variant?: "fill" | "fill-light" | "outline" | "outline-fill" | "invisible";
|
|
6
|
-
as?: "button" | "a";
|
|
7
|
-
children?: import("svelte").Snippet;
|
|
8
|
-
}, {}, "size">;
|
|
8
|
+
}
|
|
9
|
+
declare const IconButton: import("svelte").Component<Props, {}, "size">;
|
|
9
10
|
type IconButton = ReturnType<typeof IconButton>;
|
|
10
11
|
export default IconButton;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type Language } from './i18n.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
languages: Language[];
|
|
4
|
-
children?: import(
|
|
5
|
-
}
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
5
|
+
}
|
|
6
|
+
declare const InternationalizationProvider: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type InternationalizationProvider = ReturnType<typeof InternationalizationProvider>;
|
|
7
8
|
export default InternationalizationProvider;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type Component, type ComponentProps } from 'svelte';
|
|
2
2
|
import Dropdown from '../Dropdown/Dropdown.svelte';
|
|
3
|
-
|
|
4
|
-
position?: ComponentProps<typeof Dropdown>[
|
|
5
|
-
align?: ComponentProps<typeof Dropdown>[
|
|
3
|
+
interface Props {
|
|
4
|
+
position?: ComponentProps<typeof Dropdown>['position'];
|
|
5
|
+
align?: ComponentProps<typeof Dropdown>['align'];
|
|
6
6
|
caret?: Component;
|
|
7
7
|
icon?: boolean;
|
|
8
|
-
size?:
|
|
9
|
-
}
|
|
8
|
+
size?: 'medium' | 'small';
|
|
9
|
+
}
|
|
10
|
+
declare const LanguageToggle: Component<Props, {}, "">;
|
|
10
11
|
type LanguageToggle = ReturnType<typeof LanguageToggle>;
|
|
11
12
|
export default LanguageToggle;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
href: string;
|
|
4
|
-
color?:
|
|
3
|
+
color?: 'link' | 'accent' | 'text';
|
|
5
4
|
underline?: boolean;
|
|
6
|
-
start?: import(
|
|
7
|
-
children?: import(
|
|
8
|
-
end?: import(
|
|
9
|
-
|
|
5
|
+
start?: import('svelte').Snippet;
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
7
|
+
end?: import('svelte').Snippet;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
declare const Link: import("svelte").Component<Props, {}, "">;
|
|
10
11
|
type Link = ReturnType<typeof Link>;
|
|
11
12
|
export default Link;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
block?: boolean;
|
|
4
3
|
full?: boolean;
|
|
5
|
-
padding?:
|
|
6
|
-
size?:
|
|
7
|
-
state?:
|
|
4
|
+
padding?: 'none' | 'small' | 'medium' | 'large' | number;
|
|
5
|
+
size?: 'small' | 'medium' | 'large' | number;
|
|
6
|
+
state?: 'loading' | 'success' | 'error' | 'none';
|
|
8
7
|
duration?: null | number;
|
|
9
8
|
color?: string;
|
|
10
9
|
colorTrack?: string;
|
|
11
10
|
invert?: boolean;
|
|
12
|
-
children?: import(
|
|
13
|
-
|
|
11
|
+
children?: import('svelte').Snippet;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
declare const Loader: import("svelte").Component<Props, {}, "size" | "color" | "padding" | "state" | "colorTrack">;
|
|
14
15
|
type Loader = ReturnType<typeof Loader>;
|
|
15
16
|
export default Loader;
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import type { Footer } from './modal-types.js';
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
|
+
interface Props {
|
|
4
|
+
show?: boolean;
|
|
5
|
+
title?: string | Snippet;
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
|
+
id?: string;
|
|
8
|
+
role?: 'dialog' | 'alertdialog';
|
|
9
|
+
closeOnOutsideClick?: boolean;
|
|
10
|
+
closeOnEscape?: boolean;
|
|
11
|
+
loading?: boolean | string;
|
|
12
|
+
footer?: Footer | Snippet;
|
|
13
|
+
children?: Snippet;
|
|
14
|
+
}
|
|
3
15
|
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> {
|
|
4
16
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
17
|
$$bindings?: Bindings;
|
|
@@ -13,18 +25,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
13
25
|
};
|
|
14
26
|
z_$$bindings?: Bindings;
|
|
15
27
|
}
|
|
16
|
-
declare const Modal: $$__sveltets_2_IsomorphicComponent<{
|
|
17
|
-
show?: boolean;
|
|
18
|
-
title?: string | Snippet;
|
|
19
|
-
size?: "small" | "medium" | "large";
|
|
20
|
-
id?: string;
|
|
21
|
-
role?: "dialog" | "alertdialog";
|
|
22
|
-
closeOnOutsideClick?: boolean;
|
|
23
|
-
closeOnEscape?: boolean;
|
|
24
|
-
loading?: boolean | string;
|
|
25
|
-
footer?: Footer | Snippet;
|
|
26
|
-
children?: Snippet;
|
|
27
|
-
}, {
|
|
28
|
+
declare const Modal: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
28
29
|
cancel: CustomEvent<any>;
|
|
29
30
|
confirm: CustomEvent<any>;
|
|
30
31
|
} & {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { Footer } from './modal-types.ts';
|
|
2
|
+
interface Props {
|
|
3
|
+
show: boolean;
|
|
4
|
+
footer: Footer;
|
|
5
|
+
}
|
|
2
6
|
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
7
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
8
|
$$bindings?: Bindings;
|
|
@@ -12,10 +16,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
12
16
|
};
|
|
13
17
|
z_$$bindings?: Bindings;
|
|
14
18
|
}
|
|
15
|
-
declare const ModalFooter: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
-
show: boolean;
|
|
17
|
-
footer: Footer;
|
|
18
|
-
}, {
|
|
19
|
+
declare const ModalFooter: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
19
20
|
cancel: CustomEvent<any>;
|
|
20
21
|
confirm: CustomEvent<any>;
|
|
21
22
|
} & {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
type Props = {
|
|
3
2
|
href: string;
|
|
4
3
|
active?: boolean;
|
|
5
4
|
disabled?: boolean;
|
|
6
|
-
start?: import(
|
|
7
|
-
children?: import(
|
|
8
|
-
end?: import(
|
|
9
|
-
|
|
5
|
+
start?: import('svelte').Snippet;
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
7
|
+
end?: import('svelte').Snippet;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
declare const NavLink: import("svelte").Component<Props, {}, "">;
|
|
10
11
|
type NavLink = ReturnType<typeof NavLink>;
|
|
11
12
|
export default NavLink;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
value?: number | string;
|
|
4
3
|
group?: number | string;
|
|
5
4
|
disabled?: boolean;
|
|
6
5
|
input?: any;
|
|
7
|
-
children?: import(
|
|
8
|
-
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
declare const Radio: import("svelte").Component<Props, {}, "group" | "input">;
|
|
9
10
|
type Radio = ReturnType<typeof Radio>;
|
|
10
11
|
export default Radio;
|