@hyvor/design 1.0.3 → 1.0.6
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 +1 -1
- 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/Dark/DarkToggle.svelte +2 -1
- 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 +3 -5
- package/dist/components/FormControl/Validation.svelte.d.ts +6 -5
- package/dist/components/HyvorBar/BarProducts.svelte +2 -2
- package/dist/components/HyvorBar/BarSupport.svelte +10 -11
- package/dist/components/HyvorBar/BarSupport.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUpdates.svelte +1 -1
- package/dist/components/HyvorBar/BarUpdates.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUpdatesList.svelte +1 -1
- package/dist/components/HyvorBar/BarUpdatesList.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/BarUser.svelte +1 -1
- package/dist/components/HyvorBar/BarUser.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/HyvorBar.svelte +1 -1
- package/dist/components/IconButton/IconButton.svelte.d.ts +8 -7
- package/dist/components/IconMessage/IconMessage.svelte +2 -1
- package/dist/components/Internationalization/InternationalizationProvider.svelte.d.ts +4 -3
- package/dist/components/Internationalization/LanguageToggle.svelte +1 -1
- 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 +2 -1
- package/dist/components/Loader/Loader.svelte.d.ts +8 -7
- package/dist/components/Modal/Modal.svelte +1 -1
- 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 +5 -6
- 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 +2 -3
- 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/Docs/Toc.svelte +4 -1
- package/dist/marketing/Document/Document.svelte +56 -7
- package/dist/marketing/Document/Document.svelte.d.ts +4 -3
- package/dist/marketing/Document/DocumentTitle.svelte +1 -0
- package/dist/marketing/Document/DocumentTitle.svelte.d.ts +3 -2
- package/dist/marketing/Footer/Footer.svelte +9 -9
- 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 +1 -1
- 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 +4 -4
- 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,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
2
|
+
import IconMoonStarsFill from '@hyvor/icons/IconMoonStarsFill';
|
|
3
|
+
import IconSunFill from '@hyvor/icons/IconSunFill';
|
|
3
4
|
import IconButton from '../IconButton/IconButton.svelte';
|
|
4
5
|
import { dark } from './../../stores/dark.js';
|
|
5
6
|
|
|
@@ -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,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
IconInfoCircleFill
|
|
6
|
-
} from '@hyvor/icons';
|
|
2
|
+
import IconCheckCircleFill from '@hyvor/icons/IconCheckCircleFill';
|
|
3
|
+
import IconExclamationTriangleFill from '@hyvor/icons/IconExclamationTriangleFill';
|
|
4
|
+
import IconInfoCircleFill from '@hyvor/icons/IconInfoCircleFill';
|
|
7
5
|
import type { AriaRole } from 'svelte/elements';
|
|
8
6
|
|
|
9
7
|
interface Props {
|
|
@@ -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;
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<script lang="ts">
|
|
26
26
|
import LogoBlogs from '../../marketing/Logo/LogoBlogs.svelte';
|
|
27
|
-
import LogoCore from '../../marketing/Logo/LogoCore.svelte';
|
|
28
27
|
import LogoFortguard from '../../marketing/Logo/LogoFortguard.svelte';
|
|
29
28
|
import LogoTalk from '../../marketing/Logo/LogoTalk.svelte';
|
|
30
29
|
import { ActionList, ActionListItem, Button, Dropdown } from '../index.js';
|
|
31
|
-
import
|
|
30
|
+
import IconCaretDownFill from '@hyvor/icons/IconCaretDownFill';
|
|
31
|
+
import IconBoxArrowUpRight from '@hyvor/icons/IconBoxArrowUpRight';
|
|
32
32
|
|
|
33
33
|
interface Props {
|
|
34
34
|
mobile?: boolean;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ActionList, ActionListItem, Button, Dropdown } from '../index.js';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from '@hyvor/icons';
|
|
3
|
+
import IconCaretDownFill from '@hyvor/icons/IconCaretDownFill';
|
|
4
|
+
import IconBoxArrowUpRight from '@hyvor/icons/IconBoxArrowUpRight';
|
|
5
|
+
import IconChat from '@hyvor/icons/IconChat';
|
|
6
|
+
import IconDiscord from '@hyvor/icons/IconDiscord';
|
|
7
|
+
import IconInfoCircle from '@hyvor/icons/IconInfoCircle';
|
|
8
|
+
import IconFileEarmark from '@hyvor/icons/IconFileEarmark';
|
|
9
|
+
import IconChatDots from '@hyvor/icons/IconChatDots';
|
|
10
|
+
import IconTwitterX from '@hyvor/icons/IconTwitterX';
|
|
11
|
+
import IconLinkedin from '@hyvor/icons/IconLinkedin';
|
|
12
|
+
|
|
14
13
|
import ActionListGroup from '../ActionList/ActionListGroup.svelte';
|
|
15
14
|
import { PRODUCTS } from './BarProducts.svelte';
|
|
16
15
|
import type { BarConfig, BarProduct } from './bar.js';
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { IconButton, Dropdown } from '../index.js';
|
|
3
|
-
import
|
|
3
|
+
import IconMegaphone from '@hyvor/icons/IconMegaphone';
|
|
4
4
|
import BarUpdatesList from './BarUpdatesList.svelte';
|
|
5
5
|
import { type BarProduct, barUnreadUpdates } from './bar.js';
|
|
6
6
|
|
|
@@ -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;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
type BarProduct,
|
|
10
10
|
type BarUpdate
|
|
11
11
|
} from './bar.js';
|
|
12
|
-
import
|
|
12
|
+
import IconBoxArrowUpRight from '@hyvor/icons/IconBoxArrowUpRight';
|
|
13
13
|
import Button from '../Button/Button.svelte';
|
|
14
14
|
import Tag from '../Tag/Tag.svelte';
|
|
15
15
|
import IconMessage from '../IconMessage/IconMessage.svelte';
|
|
@@ -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;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import ActionList from '../ActionList/ActionList.svelte';
|
|
3
3
|
import ActionListItem from '../ActionList/ActionListItem.svelte';
|
|
4
4
|
import Dropdown from '../Dropdown/Dropdown.svelte';
|
|
5
|
-
import
|
|
5
|
+
import IconBoxArrowUpRight from '@hyvor/icons/IconBoxArrowUpRight';
|
|
6
6
|
import { barUser } from './bar.js';
|
|
7
7
|
import BarUserPreview from './BarUserPreview.svelte';
|
|
8
8
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import BarSupport from './BarSupport.svelte';
|
|
6
6
|
import { loadBarUser, type BarConfig, type BarProduct } from './bar.js';
|
|
7
7
|
import BarUpdates from './BarUpdates.svelte';
|
|
8
|
-
import
|
|
8
|
+
import IconCaretDownFill from '@hyvor/icons/IconCaretDownFill';
|
|
9
9
|
import LogoTalk from '../../marketing/Logo/LogoTalk.svelte';
|
|
10
10
|
import LogoBlogs from '../../marketing/Logo/LogoBlogs.svelte';
|
|
11
11
|
import LogoCore from '../../marketing/Logo/LogoCore.svelte';
|
|
@@ -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,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { type Component, type Snippet } from 'svelte';
|
|
3
|
-
import
|
|
3
|
+
import IconBug from '@hyvor/icons/IconBug';
|
|
4
|
+
import IconInbox from '@hyvor/icons/IconInbox';
|
|
4
5
|
import Button from '../Button/Button.svelte';
|
|
5
6
|
|
|
6
7
|
interface Props {
|
|
@@ -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;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import ActionList from '../ActionList/ActionList.svelte';
|
|
7
7
|
import ActionListItem from '../ActionList/ActionListItem.svelte';
|
|
8
8
|
import Text from '../Text/Text.svelte';
|
|
9
|
-
import
|
|
9
|
+
import IconCaretDown from '@hyvor/icons/IconCaretDown';
|
|
10
10
|
import IconButton from '../IconButton/IconButton.svelte';
|
|
11
11
|
|
|
12
12
|
interface Props {
|
|
@@ -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,7 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { run } from 'svelte/legacy';
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import IconCheckCircleFill from '@hyvor/icons/IconCheckCircleFill';
|
|
5
|
+
import IconXCircleFill from '@hyvor/icons/IconXCircleFill';
|
|
5
6
|
|
|
6
7
|
interface Props {
|
|
7
8
|
block?: boolean;
|