@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
|
@@ -36,24 +36,57 @@
|
|
|
36
36
|
function handleMouseup() {
|
|
37
37
|
dragging = false;
|
|
38
38
|
window.removeEventListener('mousemove', handleMousemove);
|
|
39
|
+
window.removeEventListener('mouseup', handleMouseup);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
function handleMousemove(event: MouseEvent) {
|
|
42
43
|
if (!trackEl) return;
|
|
43
44
|
if (dragging) {
|
|
44
|
-
|
|
45
|
-
const x = event.clientX - rect.left;
|
|
46
|
-
const width = rect.width;
|
|
47
|
-
const newValue = min + (x / width) * (max - min);
|
|
48
|
-
value = toStep(newValue);
|
|
49
|
-
dispatch('change', value);
|
|
45
|
+
calcPosUpdateValue(trackEl, event.clientX);
|
|
50
46
|
}
|
|
51
47
|
}
|
|
48
|
+
|
|
49
|
+
// touch events
|
|
50
|
+
function handleTouchstart(event: TouchEvent) {
|
|
51
|
+
dragging = true;
|
|
52
|
+
handleTouchmove(event);
|
|
53
|
+
|
|
54
|
+
window.addEventListener('touchmove', handleTouchmove);
|
|
55
|
+
window.addEventListener('touchend', handleTouchend);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function handleTouchend() {
|
|
59
|
+
dragging = false;
|
|
60
|
+
window.removeEventListener('touchmove', handleTouchmove);
|
|
61
|
+
window.removeEventListener('touchend', handleTouchend);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function handleTouchmove(event: TouchEvent) {
|
|
65
|
+
if (!trackEl) return;
|
|
66
|
+
if (dragging) {
|
|
67
|
+
calcPosUpdateValue(trackEl, event.touches[0].clientX);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function calcPosUpdateValue(trackEl: HTMLDivElement, clientX: number) {
|
|
72
|
+
const rect = trackEl.getBoundingClientRect();
|
|
73
|
+
const x = clientX - rect.left;
|
|
74
|
+
const width = rect.width;
|
|
75
|
+
const newValue = min + (x / width) * (max - min);
|
|
76
|
+
value = toStep(newValue);
|
|
77
|
+
dispatch('change', value);
|
|
78
|
+
}
|
|
52
79
|
</script>
|
|
53
80
|
|
|
54
81
|
<div class="slider">
|
|
55
82
|
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
|
56
|
-
<div
|
|
83
|
+
<div
|
|
84
|
+
class="track"
|
|
85
|
+
bind:this={trackEl}
|
|
86
|
+
class:dragging
|
|
87
|
+
onmousedown={handleMousedown}
|
|
88
|
+
ontouchstart={handleTouchstart}
|
|
89
|
+
>
|
|
57
90
|
<div class="progress" style="width: {progress}%"></div>
|
|
58
91
|
<button class="handle" style="left: {progress}%">
|
|
59
92
|
<span class="tip">
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
value: number;
|
|
5
|
+
step?: number;
|
|
6
|
+
dots?: boolean;
|
|
7
|
+
}
|
|
1
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> {
|
|
2
9
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
10
|
$$bindings?: Bindings;
|
|
@@ -11,13 +18,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
11
18
|
};
|
|
12
19
|
z_$$bindings?: Bindings;
|
|
13
20
|
}
|
|
14
|
-
declare const Slider: $$__sveltets_2_IsomorphicComponent<{
|
|
15
|
-
min: number;
|
|
16
|
-
max: number;
|
|
17
|
-
value: number;
|
|
18
|
-
step?: number;
|
|
19
|
-
dots?: boolean;
|
|
20
|
-
}, {
|
|
21
|
+
declare const Slider: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
21
22
|
change: CustomEvent<number>;
|
|
22
23
|
} & {
|
|
23
24
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
label?: string | Snippet;
|
|
4
4
|
caption?: string | Snippet;
|
|
5
5
|
column?: boolean;
|
|
6
6
|
flex?: number[];
|
|
7
7
|
children?: Snippet;
|
|
8
8
|
nested?: Snippet;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
|
+
declare const SplitControl: import("svelte").Component<Props, {}, "">;
|
|
10
11
|
type SplitControl = ReturnType<typeof SplitControl>;
|
|
11
12
|
export default SplitControl;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
checked?: boolean;
|
|
4
3
|
input?: any;
|
|
5
|
-
children?: import(
|
|
6
|
-
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
declare const Switch: import("svelte").Component<Props, {}, "checked" | "input">;
|
|
7
8
|
type Switch = ReturnType<typeof Switch>;
|
|
8
9
|
export default Switch;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
active: string;
|
|
4
|
-
children?: import(
|
|
5
|
-
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare const TabNav: import("svelte").Component<Props, {}, "active">;
|
|
6
7
|
type TabNav = ReturnType<typeof TabNav>;
|
|
7
8
|
export default TabNav;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
active?: boolean;
|
|
4
3
|
name: string;
|
|
5
|
-
start?: import(
|
|
6
|
-
children?: import(
|
|
7
|
-
end?: import(
|
|
8
|
-
|
|
4
|
+
start?: import('svelte').Snippet;
|
|
5
|
+
children?: import('svelte').Snippet;
|
|
6
|
+
end?: import('svelte').Snippet;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
declare const TabNavItem: import("svelte").Component<Props, {}, "">;
|
|
9
10
|
type TabNavItem = ReturnType<typeof TabNavItem>;
|
|
10
11
|
export default TabNavItem;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
columns: string;
|
|
3
3
|
hover?: boolean;
|
|
4
|
-
children?: import(
|
|
5
|
-
}
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
5
|
+
}
|
|
6
|
+
declare const Table: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type Table = ReturnType<typeof Table>;
|
|
7
8
|
export default Table;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
head?: boolean;
|
|
4
4
|
children: Snippet;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
declare const TableRow: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type TableRow = ReturnType<typeof TableRow>;
|
|
7
8
|
export default TableRow;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
color?: "default" | "accent" | "green" | "red" | "blue" | "orange";
|
|
1
|
+
interface Props {
|
|
2
|
+
as?: 'button' | 'a' | 'span';
|
|
3
|
+
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
4
|
+
color?: 'default' | 'accent' | 'green' | 'red' | 'blue' | 'orange';
|
|
6
5
|
interactive?: boolean;
|
|
7
6
|
outline?: boolean;
|
|
8
7
|
fill?: boolean;
|
|
9
8
|
bg?: string | undefined;
|
|
10
9
|
fg?: string | undefined;
|
|
11
|
-
start?: import(
|
|
12
|
-
end?: import(
|
|
13
|
-
children?: import(
|
|
14
|
-
|
|
10
|
+
start?: import('svelte').Snippet;
|
|
11
|
+
end?: import('svelte').Snippet;
|
|
12
|
+
children?: import('svelte').Snippet;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
declare const Tag: import("svelte").Component<Props, {}, "">;
|
|
15
16
|
type Tag = ReturnType<typeof Tag>;
|
|
16
17
|
export default Tag;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
small?: boolean;
|
|
4
3
|
light?: boolean;
|
|
5
4
|
normal?: boolean;
|
|
6
5
|
bold?: boolean;
|
|
7
|
-
children?: import(
|
|
8
|
-
|
|
6
|
+
children?: import('svelte').Snippet;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
declare const Text: import("svelte").Component<Props, {}, "">;
|
|
9
10
|
type Text = ReturnType<typeof Text>;
|
|
10
11
|
export default Text;
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
input?: HTMLInputElement;
|
|
12
12
|
start?: import('svelte').Snippet;
|
|
13
13
|
end?: import('svelte').Snippet;
|
|
14
|
+
select?: boolean;
|
|
15
|
+
selectInput?: HTMLSelectElement;
|
|
14
16
|
[key: string]: any;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -22,6 +24,8 @@
|
|
|
22
24
|
input = $bindable({} as HTMLInputElement),
|
|
23
25
|
start,
|
|
24
26
|
end,
|
|
27
|
+
select = false,
|
|
28
|
+
selectInput = $bindable({} as HTMLSelectElement),
|
|
25
29
|
...rest
|
|
26
30
|
}: Props = $props();
|
|
27
31
|
</script>
|
|
@@ -33,22 +37,43 @@
|
|
|
33
37
|
</span>
|
|
34
38
|
{/if}
|
|
35
39
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
40
|
+
{#if select}
|
|
41
|
+
<select
|
|
42
|
+
{...rest}
|
|
43
|
+
bind:value
|
|
44
|
+
bind:this={selectInput}
|
|
45
|
+
onkeyup={bubble('keyup')}
|
|
46
|
+
onkeydown={bubble('keydown')}
|
|
47
|
+
onkeypress={bubble('keypress')}
|
|
48
|
+
onfocus={bubble('focus')}
|
|
49
|
+
onblur={bubble('blur')}
|
|
50
|
+
onclick={bubble('click')}
|
|
51
|
+
onmouseover={bubble('mouseover')}
|
|
52
|
+
onmouseenter={bubble('mouseenter')}
|
|
53
|
+
onmouseleave={bubble('mouseleave')}
|
|
54
|
+
onchange={bubble('change')}
|
|
55
|
+
oninput={bubble('input')}
|
|
56
|
+
>
|
|
57
|
+
{@render rest?.children()}
|
|
58
|
+
</select>
|
|
59
|
+
{:else}
|
|
60
|
+
<input
|
|
61
|
+
{...rest}
|
|
62
|
+
bind:value
|
|
63
|
+
bind:this={input}
|
|
64
|
+
onkeyup={bubble('keyup')}
|
|
65
|
+
onkeydown={bubble('keydown')}
|
|
66
|
+
onkeypress={bubble('keypress')}
|
|
67
|
+
onfocus={bubble('focus')}
|
|
68
|
+
onblur={bubble('blur')}
|
|
69
|
+
onclick={bubble('click')}
|
|
70
|
+
onmouseover={bubble('mouseover')}
|
|
71
|
+
onmouseenter={bubble('mouseenter')}
|
|
72
|
+
onmouseleave={bubble('mouseleave')}
|
|
73
|
+
onchange={bubble('change')}
|
|
74
|
+
oninput={bubble('input')}
|
|
75
|
+
/>
|
|
76
|
+
{/if}
|
|
52
77
|
|
|
53
78
|
{#if end}
|
|
54
79
|
<span class="slot end">
|
|
@@ -90,7 +115,8 @@
|
|
|
90
115
|
width: 100%;
|
|
91
116
|
}
|
|
92
117
|
|
|
93
|
-
input
|
|
118
|
+
input,
|
|
119
|
+
select {
|
|
94
120
|
flex: 1;
|
|
95
121
|
width: 100%;
|
|
96
122
|
border: none;
|
|
@@ -100,11 +126,17 @@ input {
|
|
|
100
126
|
padding: 0;
|
|
101
127
|
margin: 0;
|
|
102
128
|
color: inherit;
|
|
129
|
+
height: 100%;
|
|
103
130
|
}
|
|
104
|
-
input:focus
|
|
131
|
+
input:focus,
|
|
132
|
+
select:focus {
|
|
105
133
|
outline: none;
|
|
106
134
|
}
|
|
107
135
|
|
|
136
|
+
select {
|
|
137
|
+
min-width: 180px;
|
|
138
|
+
}
|
|
139
|
+
|
|
108
140
|
.input-wrap.size-x-small {
|
|
109
141
|
padding: 0 15px;
|
|
110
142
|
height: 20px;
|
|
@@ -7,6 +7,8 @@ declare const TextInput: import("svelte").Component<{
|
|
|
7
7
|
input?: HTMLInputElement;
|
|
8
8
|
start?: import("svelte").Snippet;
|
|
9
9
|
end?: import("svelte").Snippet;
|
|
10
|
-
|
|
10
|
+
select?: boolean;
|
|
11
|
+
selectInput?: HTMLSelectElement;
|
|
12
|
+
}, {}, "value" | "input" | "selectInput">;
|
|
11
13
|
type TextInput = ReturnType<typeof TextInput>;
|
|
12
14
|
export default TextInput;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Toast } from './toast.ts';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
toast: Toast;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
|
+
declare const ToastIcon: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type ToastIcon = ReturnType<typeof ToastIcon>;
|
|
6
7
|
export default ToastIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Toast } from './toast.ts';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
toast: Toast;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
|
+
declare const ToastMessage: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type ToastMessage = ReturnType<typeof ToastMessage>;
|
|
6
7
|
export default ToastMessage;
|
|
@@ -19,8 +19,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
19
19
|
declare const Tooltip: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
20
|
[x: string]: any;
|
|
21
21
|
text?: string | undefined;
|
|
22
|
-
position?:
|
|
23
|
-
color?:
|
|
22
|
+
position?: "top" | "bottom" | "left" | "right" | undefined;
|
|
23
|
+
color?: "black" | "accent" | "soft" | "danger" | undefined;
|
|
24
24
|
show?: boolean | undefined;
|
|
25
25
|
maxWidth?: number | undefined;
|
|
26
26
|
disabled?: boolean | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
as?: string;
|
|
3
|
-
children?: import(
|
|
4
|
-
}
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
}
|
|
5
|
+
declare const Container: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type Container = ReturnType<typeof Container>;
|
|
6
7
|
export default Container;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
children?: import(
|
|
3
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
children?: import('svelte').Snippet;
|
|
3
|
+
}
|
|
4
|
+
declare const Content: import("svelte").Component<Props, {}, "">;
|
|
4
5
|
type Content = ReturnType<typeof Content>;
|
|
5
6
|
export default Content;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
src: string;
|
|
4
3
|
alt: string;
|
|
5
4
|
width?: undefined | number;
|
|
6
5
|
modalImageProps?: any;
|
|
7
|
-
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
declare const DocsImage: import("svelte").Component<Props, {}, "">;
|
|
8
9
|
type DocsImage = ReturnType<typeof DocsImage>;
|
|
9
10
|
export default DocsImage;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
nav?: import(
|
|
3
|
-
content?: import(
|
|
4
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
nav?: import('svelte').Snippet;
|
|
3
|
+
content?: import('svelte').Snippet;
|
|
4
|
+
}
|
|
5
|
+
declare const Docs: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type Docs = ReturnType<typeof Docs>;
|
|
6
7
|
export default Docs;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
children?: import(
|
|
3
|
-
}
|
|
1
|
+
interface Props {
|
|
2
|
+
children?: import('svelte').Snippet;
|
|
3
|
+
}
|
|
4
|
+
declare const Nav: import("svelte").Component<Props, {}, "">;
|
|
4
5
|
type Nav = ReturnType<typeof Nav>;
|
|
5
6
|
export default Nav;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
name: string;
|
|
3
|
-
start?: import(
|
|
4
|
-
end?: import(
|
|
5
|
-
children?: import(
|
|
6
|
-
}
|
|
3
|
+
start?: import('svelte').Snippet;
|
|
4
|
+
end?: import('svelte').Snippet;
|
|
5
|
+
children?: import('svelte').Snippet;
|
|
6
|
+
}
|
|
7
|
+
declare const NavCategory: import("svelte").Component<Props, {}, "">;
|
|
7
8
|
type NavCategory = ReturnType<typeof NavCategory>;
|
|
8
9
|
export default NavCategory;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
href: string;
|
|
3
|
-
children?: import(
|
|
4
|
-
}
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
}
|
|
5
|
+
declare const NavItem: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type NavItem = ReturnType<typeof NavItem>;
|
|
6
7
|
export default NavItem;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle: string;
|
|
4
|
-
children?: import(
|
|
5
|
-
}
|
|
4
|
+
children?: import('svelte').Snippet;
|
|
5
|
+
}
|
|
6
|
+
declare const Document: import("svelte").Component<Props, {}, "">;
|
|
6
7
|
type Document = ReturnType<typeof Document>;
|
|
7
8
|
export default Document;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle?: string | undefined;
|
|
4
4
|
icon?: null | string;
|
|
5
5
|
h2Style?: string | undefined;
|
|
6
6
|
wrapStyle?: string | undefined;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
|
+
declare const DocumentTitle: import("svelte").Component<Props, {}, "">;
|
|
8
9
|
type DocumentTitle = ReturnType<typeof DocumentTitle>;
|
|
9
10
|
export default DocumentTitle;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
email?: string | null;
|
|
3
3
|
social?: any;
|
|
4
4
|
emailCopied?: boolean;
|
|
5
|
-
center?: import(
|
|
6
|
-
}
|
|
5
|
+
center?: import('svelte').Snippet;
|
|
6
|
+
}
|
|
7
|
+
declare const Footer: import("svelte").Component<Props, {}, "social" | "emailCopied">;
|
|
7
8
|
type Footer = ReturnType<typeof Footer>;
|
|
8
9
|
export default Footer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
title: string;
|
|
3
|
-
children?: import(
|
|
4
|
-
}
|
|
3
|
+
children?: import('svelte').Snippet;
|
|
4
|
+
}
|
|
5
|
+
declare const FooterLinkList: import("svelte").Component<Props, {}, "">;
|
|
5
6
|
type FooterLinkList = ReturnType<typeof FooterLinkList>;
|
|
6
7
|
export default FooterLinkList;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
logo: string;
|
|
3
3
|
name?: string;
|
|
4
4
|
subName?: undefined | string;
|
|
5
5
|
darkToggle?: boolean;
|
|
6
|
-
center?: import(
|
|
7
|
-
end?: import(
|
|
8
|
-
}
|
|
6
|
+
center?: import('svelte').Snippet;
|
|
7
|
+
end?: import('svelte').Snippet;
|
|
8
|
+
}
|
|
9
|
+
declare const Header: import("svelte").Component<Props, {}, "">;
|
|
9
10
|
type Header = ReturnType<typeof Header>;
|
|
10
11
|
export default Header;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
size?: number;
|
|
3
|
-
}
|
|
3
|
+
}
|
|
4
|
+
declare const LogoFortguard: import("svelte").Component<Props, {}, "">;
|
|
4
5
|
type LogoFortguard = ReturnType<typeof LogoFortguard>;
|
|
5
6
|
export default LogoFortguard;
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyvor/design",
|
|
3
|
-
"version": "1.0.3",
|
|
4
3
|
"license": "MIT",
|
|
5
4
|
"private": false,
|
|
6
5
|
"scripts": {
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
"peerDependencies": {
|
|
31
30
|
"@sveltejs/kit": "^2.0.0",
|
|
32
31
|
"sass": "^1.68.0",
|
|
33
|
-
"svelte": "^
|
|
32
|
+
"svelte": "^5.0.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
35
|
"@sveltejs/adapter-static": "^3.0.0",
|
|
@@ -57,5 +56,6 @@
|
|
|
57
56
|
"type": "module",
|
|
58
57
|
"publishConfig": {
|
|
59
58
|
"access": "public"
|
|
60
|
-
}
|
|
59
|
+
},
|
|
60
|
+
"version": "1.0.5"
|
|
61
61
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare const PRODUCTS: {
|
|
2
|
-
talk: {
|
|
3
|
-
name: string;
|
|
4
|
-
logo: import("svelte").Component<{
|
|
5
|
-
size?: number;
|
|
6
|
-
}, {}, "">;
|
|
7
|
-
url: string;
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
|
-
blogs: {
|
|
11
|
-
name: string;
|
|
12
|
-
logo: import("svelte").Component<{
|
|
13
|
-
size?: number;
|
|
14
|
-
}, {}, "">;
|
|
15
|
-
url: string;
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
fortguard: {
|
|
19
|
-
name: string;
|
|
20
|
-
logo: import("svelte").Component<{
|
|
21
|
-
size?: number;
|
|
22
|
-
}, {}, "">;
|
|
23
|
-
url: string;
|
|
24
|
-
description: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export { PRODUCTS };
|
|
28
|
-
declare const BarProducts: import("svelte").Component<{
|
|
29
|
-
mobile?: boolean;
|
|
30
|
-
}, {}, "">;
|
|
31
|
-
type BarProducts = ReturnType<typeof BarProducts>;
|
|
32
|
-
export default BarProducts;
|