@hyvor/design 0.0.66 → 0.0.68
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 +2 -7
- package/dist/components/ActionList/ActionListGroup.svelte +24 -29
- package/dist/components/ActionList/ActionListItem.svelte +86 -88
- package/dist/components/ActionList/Selected.svelte +17 -20
- package/dist/components/Avatar/Avatar.svelte +7 -11
- package/dist/components/Avatar/AvatarStack.svelte +16 -20
- package/dist/components/Base/Base.svelte +3 -3
- package/dist/components/Box/Box.svelte +8 -8
- package/dist/components/Button/Button.svelte +33 -42
- package/dist/components/Button/ButtonGroup.svelte +6 -6
- package/dist/components/Callout/Callout.svelte +88 -86
- package/dist/components/Callout/Callout.svelte.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.svelte +113 -121
- package/dist/components/CodeBlock/CodeBlock.svelte +26 -23
- package/dist/components/CodeBlock/getCode.js +6 -6
- package/dist/components/CodeBlock/hljs.scss +189 -191
- package/dist/components/CodeBlock/prism.scss +370 -7
- package/dist/components/ColorPicker/ColorPicker.svelte +42 -42
- package/dist/components/Dark/DarkProvider.svelte +9 -9
- package/dist/components/Dark/DarkToggle.svelte +7 -10
- package/dist/components/Divider/Divider.svelte +6 -7
- package/dist/components/Dropdown/Dropdown.svelte +33 -108
- package/dist/components/Dropdown/DropdownContent.svelte +120 -0
- package/dist/components/Dropdown/DropdownContent.svelte.d.ts +24 -0
- package/dist/components/FormControl/Caption.svelte +9 -9
- package/dist/components/FormControl/FormControl.svelte +18 -18
- package/dist/components/FormControl/InputGroup.svelte +7 -8
- package/dist/components/FormControl/Label.svelte +5 -5
- package/dist/components/FormControl/Validation.svelte +18 -16
- package/dist/components/FormControl/Validation.svelte.d.ts +1 -1
- package/dist/components/HyvorBar/BarProducts.svelte +52 -0
- package/dist/components/HyvorBar/BarProducts.svelte.d.ts +39 -0
- package/dist/components/HyvorBar/BarSupport.svelte +119 -0
- package/dist/components/HyvorBar/BarSupport.svelte.d.ts +19 -0
- package/dist/components/HyvorBar/BarUpdates.svelte +58 -0
- package/dist/components/HyvorBar/BarUpdates.svelte.d.ts +18 -0
- package/dist/components/HyvorBar/BarUpdatesList.svelte +134 -0
- package/dist/components/HyvorBar/BarUpdatesList.svelte.d.ts +18 -0
- package/dist/components/HyvorBar/BarUser.svelte +60 -0
- package/dist/components/HyvorBar/BarUser.svelte.d.ts +16 -0
- package/dist/components/HyvorBar/BarUserPreview.svelte +42 -0
- package/dist/components/HyvorBar/BarUserPreview.svelte.d.ts +14 -0
- package/dist/components/HyvorBar/HyvorBar.svelte +150 -0
- package/dist/components/HyvorBar/HyvorBar.svelte.d.ts +19 -0
- package/dist/components/HyvorBar/bar.d.ts +33 -0
- package/dist/components/HyvorBar/bar.js +74 -0
- package/dist/components/HyvorBar/img/G2.svelte +9 -0
- package/dist/components/HyvorBar/img/G2.svelte.d.ts +23 -0
- package/dist/components/HyvorBar/img/Trustpilot.svelte +11 -0
- package/dist/components/HyvorBar/img/Trustpilot.svelte.d.ts +23 -0
- package/dist/components/IconButton/IconButton.svelte +19 -23
- package/dist/components/IconMessage/IconMessage.svelte +84 -47
- package/dist/components/IconMessage/IconMessage.svelte.d.ts +9 -1
- package/dist/components/Internationalization/InternationalizationProvider.svelte +2 -2
- package/dist/components/Internationalization/InternationalizationProvider.svelte.d.ts +1 -1
- package/dist/components/Internationalization/LanguageToggle.svelte +33 -36
- package/dist/components/Internationalization/LanguageToggle.svelte.d.ts +2 -2
- package/dist/components/Internationalization/T.svelte.d.ts +3 -3
- package/dist/components/Internationalization/i18n.d.ts +4 -4
- package/dist/components/Internationalization/i18n.js +13 -11
- package/dist/components/Internationalization/t.d.ts +3 -3
- package/dist/components/Internationalization/t.js +4 -4
- package/dist/components/Internationalization/types.d.ts +1 -1
- package/dist/components/Link/Link.svelte +53 -58
- package/dist/components/Loader/LoadButton.svelte +15 -29
- package/dist/components/Loader/Loader.svelte +56 -69
- package/dist/components/Modal/ConfirmModalProvider.svelte +18 -36
- package/dist/components/Modal/Modal.svelte +134 -164
- package/dist/components/Modal/ModalFooter.svelte +23 -26
- package/dist/components/Modal/confirm.d.ts +1 -1
- package/dist/components/Modal/confirm.js +4 -4
- package/dist/components/Modal/modal-types.d.ts +2 -2
- package/dist/components/NavLink/NavLink.svelte +78 -86
- package/dist/components/Radio/Radio.svelte +23 -31
- package/dist/components/Slider/Slider.svelte +71 -80
- package/dist/components/Slider/Slider.svelte.d.ts +0 -1
- package/dist/components/SplitControl/SplitControl.svelte +28 -42
- package/dist/components/Switch/Switch.svelte +60 -65
- package/dist/components/TabNav/TabNav.svelte +6 -10
- package/dist/components/TabNav/TabNavItem.svelte +36 -43
- package/dist/components/Table/Table.svelte +7 -4
- package/dist/components/Table/TableRow.svelte +23 -23
- package/dist/components/Tag/Tag.svelte +28 -36
- package/dist/components/Text/Text.svelte +15 -22
- package/dist/components/TextInput/TextInput.svelte +26 -26
- package/dist/components/Textarea/Textarea.svelte +42 -50
- package/dist/components/Textarea/Textarea.svelte.d.ts +1 -1
- package/dist/components/Toast/ToastIcon.svelte +29 -31
- package/dist/components/Toast/ToastMessage.svelte +33 -39
- package/dist/components/Toast/ToastProvider.svelte +16 -16
- package/dist/components/Toast/cleaner.js +5 -5
- package/dist/components/Toast/toast.d.ts +2 -2
- package/dist/components/Toast/toast.js +10 -10
- package/dist/components/Tooltip/Tooltip.svelte +82 -83
- package/dist/components/directives/clickOutside.js +4 -4
- package/dist/components/directives/debounce.d.ts +1 -0
- package/dist/components/directives/debounce.js +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/index.css +31 -33
- package/dist/marketing/Container/Container.svelte +8 -8
- package/dist/marketing/Docs/Content/Content.svelte +8 -7
- package/dist/marketing/Docs/Content/DocsImage.svelte +52 -62
- package/dist/marketing/Docs/Docs.svelte +21 -24
- package/dist/marketing/Docs/Nav/Nav.svelte +21 -22
- package/dist/marketing/Docs/Nav/NavCategory.svelte +28 -28
- package/dist/marketing/Docs/Nav/NavItem.svelte +21 -24
- package/dist/marketing/Docs/Sidebar/Sidebar.svelte +22 -25
- package/dist/marketing/Docs/Toc.svelte +17 -19
- package/dist/marketing/Document/Document.svelte +59 -0
- package/dist/marketing/Document/Document.svelte.d.ts +19 -0
- package/dist/marketing/Document/DocumentTitle.svelte +63 -0
- package/dist/marketing/Document/DocumentTitle.svelte.d.ts +20 -0
- package/dist/marketing/Footer/Footer.svelte +111 -119
- package/dist/marketing/Footer/FooterLinkList.svelte +24 -26
- package/dist/marketing/Header/Header.svelte +7 -15
- package/dist/marketing/Logo/LogoBlogs.svelte +41 -0
- package/dist/marketing/Logo/LogoBlogs.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoCore.svelte +41 -0
- package/dist/marketing/Logo/LogoCore.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoFortguard.svelte +49 -0
- package/dist/marketing/Logo/LogoFortguard.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoTalk.svelte +27 -0
- package/dist/marketing/Logo/LogoTalk.svelte.d.ts +16 -0
- package/dist/marketing/index.d.ts +1 -0
- package/dist/marketing/index.js +1 -0
- package/dist/stores/dark.js +8 -8
- package/dist/variables.scss +41 -48
- package/package.json +59 -58
|
@@ -49,28 +49,27 @@ function hideNavOnMobile() {
|
|
|
49
49
|
</script>
|
|
50
50
|
|
|
51
51
|
<div class="docs-nav">
|
|
52
|
+
{#if active}
|
|
53
|
+
<button class="mobile hds-box" on:click={handleMobileClick}>
|
|
54
|
+
<div class="left">
|
|
55
|
+
{#if active.category}
|
|
56
|
+
<span class="category">{active.category}</span> »
|
|
57
|
+
{/if}
|
|
58
|
+
<span class="name">{active.name}</span>
|
|
59
|
+
</div>
|
|
60
|
+
<IconList size={18} />
|
|
61
|
+
</button>
|
|
62
|
+
{/if}
|
|
52
63
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</button>
|
|
63
|
-
{/if}
|
|
64
|
-
|
|
65
|
-
<nav
|
|
66
|
-
class="hds-box nav-inner"
|
|
67
|
-
bind:this={navEl}
|
|
68
|
-
use:clickOutside={{
|
|
69
|
-
callback: handleNavOutsideClick
|
|
70
|
-
}}
|
|
71
|
-
>
|
|
72
|
-
<slot />
|
|
73
|
-
</nav>
|
|
64
|
+
<nav
|
|
65
|
+
class="hds-box nav-inner"
|
|
66
|
+
bind:this={navEl}
|
|
67
|
+
use:clickOutside={{
|
|
68
|
+
callback: handleNavOutsideClick
|
|
69
|
+
}}
|
|
70
|
+
>
|
|
71
|
+
<slot />
|
|
72
|
+
</nav>
|
|
74
73
|
</div>
|
|
75
74
|
|
|
76
75
|
<style>.docs-nav {
|
|
@@ -128,4 +127,4 @@ nav {
|
|
|
128
127
|
max-height: 500px;
|
|
129
128
|
z-index: 100;
|
|
130
129
|
}
|
|
131
|
-
}</style>
|
|
130
|
+
}</style>
|
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
</script>
|
|
3
3
|
|
|
4
4
|
<div class="nav-category">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
<div class="name">
|
|
6
|
+
<span class="button-content">
|
|
7
|
+
{#if $$slots.start}
|
|
8
|
+
<span class="slot start"><slot name="start" /></span>
|
|
9
|
+
{/if}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
{#if $$slots.end}
|
|
12
|
+
<span class="slot end"><slot name="end" /></span>
|
|
13
|
+
{/if}
|
|
14
|
+
</span>
|
|
15
|
+
{name}
|
|
16
|
+
</div>
|
|
17
|
+
<div class="nav-items">
|
|
18
|
+
<slot />
|
|
19
|
+
</div>
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
22
|
<style>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
.nav-category {
|
|
24
|
+
margin-bottom: 20px;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
.name {
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
padding: 10px 25px;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
.slot.start {
|
|
35
|
+
margin-right: 5px;
|
|
36
|
+
margin-left: 0;
|
|
37
|
+
display: flex;
|
|
38
|
+
}
|
|
39
39
|
</style>
|
|
@@ -2,33 +2,30 @@
|
|
|
2
2
|
export let href;
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
aria-current={href === $page.url.pathname ? "page" : undefined}
|
|
5
|
+
<a
|
|
6
|
+
{href}
|
|
7
|
+
class:active={href === $page.url.pathname}
|
|
8
|
+
aria-current={href === $page.url.pathname ? 'page' : undefined}
|
|
10
9
|
>
|
|
11
|
-
|
|
10
|
+
<slot />
|
|
12
11
|
</a>
|
|
13
12
|
|
|
14
13
|
<style>
|
|
14
|
+
a {
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 4px 25px;
|
|
17
|
+
color: var(--text-light);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
letter-spacing: 0.3px;
|
|
20
|
+
border-left: 3px solid transparent;
|
|
21
|
+
}
|
|
15
22
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
color: var(--text-light);
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
letter-spacing: .3px;
|
|
22
|
-
border-left: 3px solid transparent;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a:hover {
|
|
26
|
-
background-color: var(--hover);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
a.active {
|
|
30
|
-
background-color: var(--accent-lightest);
|
|
31
|
-
border-left: 3px solid var(--accent);
|
|
32
|
-
}
|
|
23
|
+
a:hover {
|
|
24
|
+
background-color: var(--hover);
|
|
25
|
+
}
|
|
33
26
|
|
|
34
|
-
|
|
27
|
+
a.active {
|
|
28
|
+
background-color: var(--accent-lightest);
|
|
29
|
+
border-left: 3px solid var(--accent);
|
|
30
|
+
}
|
|
31
|
+
</style>
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import Toc from '../Toc.svelte';
|
|
4
3
|
</script>
|
|
4
|
+
|
|
5
5
|
<div class="sidebar">
|
|
6
|
-
|
|
6
|
+
<Toc />
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
<style>
|
|
10
|
+
.sidebar {
|
|
11
|
+
width: 220px;
|
|
12
|
+
top: var(--header-height, 0);
|
|
13
|
+
padding: 25px 0;
|
|
14
|
+
position: sticky;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
align-self: flex-start;
|
|
17
|
+
}
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
order: 1;
|
|
24
|
-
position: relative;
|
|
25
|
-
top: initial;
|
|
26
|
-
padding: 0 15px;
|
|
27
|
-
margin-bottom: 20px;
|
|
28
|
-
width: 100%;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
</style>
|
|
19
|
+
@media (max-width: 992px) {
|
|
20
|
+
.sidebar {
|
|
21
|
+
order: 1;
|
|
22
|
+
position: relative;
|
|
23
|
+
top: initial;
|
|
24
|
+
padding: 0 15px;
|
|
25
|
+
margin-bottom: 20px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</style>
|
|
@@ -35,24 +35,22 @@ function handleMobileClick(e) {
|
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<div class="wrap hds-box">
|
|
38
|
+
<div class="mobile">
|
|
39
|
+
<Button color="input" on:click={handleMobileClick}>
|
|
40
|
+
Table of Contents
|
|
41
|
+
<svelte:fragment slot="end">
|
|
42
|
+
{#if mobileShown}
|
|
43
|
+
<IconCaretDown size={14} />
|
|
44
|
+
{:else}
|
|
45
|
+
<IconCaretRight size={14} />
|
|
46
|
+
{/if}
|
|
47
|
+
</svelte:fragment>
|
|
48
|
+
</Button>
|
|
49
|
+
</div>
|
|
38
50
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<svelte:fragment slot="end">
|
|
43
|
-
{#if mobileShown}
|
|
44
|
-
<IconCaretDown size={14} />
|
|
45
|
-
{:else}
|
|
46
|
-
<IconCaretRight size={14} />
|
|
47
|
-
{/if}
|
|
48
|
-
</svelte:fragment>
|
|
49
|
-
</Button>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<div class="toc-wrap" bind:this={tocElement}>
|
|
53
|
-
<Loader block padding={30} size="small" />
|
|
54
|
-
</div>
|
|
55
|
-
|
|
51
|
+
<div class="toc-wrap" bind:this={tocElement}>
|
|
52
|
+
<Loader block padding={30} size="small" />
|
|
53
|
+
</div>
|
|
56
54
|
</div>
|
|
57
55
|
|
|
58
56
|
<style>.wrap {
|
|
@@ -112,7 +110,7 @@ function handleMobileClick(e) {
|
|
|
112
110
|
font-weight: 700;
|
|
113
111
|
}
|
|
114
112
|
.toc-wrap :global(.toc-link::before) {
|
|
115
|
-
background-color: #
|
|
113
|
+
background-color: #eee;
|
|
116
114
|
content: " ";
|
|
117
115
|
display: inline-block;
|
|
118
116
|
height: inherit;
|
|
@@ -146,4 +144,4 @@ function handleMobileClick(e) {
|
|
|
146
144
|
:global(.is-active-link::before) {
|
|
147
145
|
background-color: #eee !important;
|
|
148
146
|
}
|
|
149
|
-
}</style>
|
|
147
|
+
}</style>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script>import FeatureSectionTitle from "./DocumentTitle.svelte";
|
|
2
|
+
export let title;
|
|
3
|
+
export let subtitle;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<section>
|
|
7
|
+
<div class="hds-container container">
|
|
8
|
+
<FeatureSectionTitle {title} />
|
|
9
|
+
<div class="date">{subtitle}</div>
|
|
10
|
+
<content><slot /></content>
|
|
11
|
+
</div>
|
|
12
|
+
</section>
|
|
13
|
+
|
|
14
|
+
<style>* {
|
|
15
|
+
line-height: 30px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.container {
|
|
19
|
+
margin: 0 auto 20px auto;
|
|
20
|
+
padding: 30px 15px 20px 15px;
|
|
21
|
+
}
|
|
22
|
+
.container :global(.wrap) {
|
|
23
|
+
margin-top: 0 !important;
|
|
24
|
+
}
|
|
25
|
+
.container .date {
|
|
26
|
+
text-align: center;
|
|
27
|
+
margin: 15px 0 60px 0;
|
|
28
|
+
color: var(--text-light);
|
|
29
|
+
}
|
|
30
|
+
.container content :global(h2) {
|
|
31
|
+
font-size: 32px !important;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
margin-top: 40px;
|
|
34
|
+
position: relative;
|
|
35
|
+
}
|
|
36
|
+
.container content :global(h3) {
|
|
37
|
+
font-size: 24px;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
margin-top: 40px;
|
|
40
|
+
}
|
|
41
|
+
.container content :global(p) {
|
|
42
|
+
margin-top: 20px;
|
|
43
|
+
}
|
|
44
|
+
.container content :global(ul) {
|
|
45
|
+
margin-top: 20px;
|
|
46
|
+
}
|
|
47
|
+
.container content :global(ol) {
|
|
48
|
+
margin-top: 20px;
|
|
49
|
+
}
|
|
50
|
+
.container content :global(hr) {
|
|
51
|
+
margin: 40px 0;
|
|
52
|
+
border: none;
|
|
53
|
+
height: 1px;
|
|
54
|
+
background-color: var(--border);
|
|
55
|
+
}
|
|
56
|
+
.container content :global(a) {
|
|
57
|
+
color: var(--link);
|
|
58
|
+
text-decoration: underline;
|
|
59
|
+
}</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
[evt: string]: CustomEvent<any>;
|
|
9
|
+
};
|
|
10
|
+
slots: {
|
|
11
|
+
default: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type DocumentProps = typeof __propDef.props;
|
|
15
|
+
export type DocumentEvents = typeof __propDef.events;
|
|
16
|
+
export type DocumentSlots = typeof __propDef.slots;
|
|
17
|
+
export default class Document extends SvelteComponent<DocumentProps, DocumentEvents, DocumentSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<script>export let title;
|
|
2
|
+
export let subtitle = void 0;
|
|
3
|
+
export let icon = null;
|
|
4
|
+
export let h2Style = void 0;
|
|
5
|
+
export let wrapStyle = void 0;
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<div class="wrap document-title" style={wrapStyle}>
|
|
9
|
+
<h2 style={h2Style}>
|
|
10
|
+
{title}
|
|
11
|
+
{#if icon}
|
|
12
|
+
<div class="img-wrap">
|
|
13
|
+
<img src={icon} alt={title} />
|
|
14
|
+
</div>
|
|
15
|
+
{/if}
|
|
16
|
+
</h2>
|
|
17
|
+
|
|
18
|
+
{#if subtitle}
|
|
19
|
+
<h3>{@html subtitle}</h3>
|
|
20
|
+
{/if}
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<style>
|
|
24
|
+
.wrap {
|
|
25
|
+
margin-top: 100px;
|
|
26
|
+
}
|
|
27
|
+
h2 {
|
|
28
|
+
font-size: 38px;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
margin-top: 20px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
}
|
|
37
|
+
h3 {
|
|
38
|
+
font-size: 20px;
|
|
39
|
+
width: 650px;
|
|
40
|
+
max-width: 100%;
|
|
41
|
+
margin: 0 auto;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
text-align: center;
|
|
45
|
+
}
|
|
46
|
+
.img-wrap {
|
|
47
|
+
text-align: center;
|
|
48
|
+
margin-left: 20px;
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
}
|
|
52
|
+
img {
|
|
53
|
+
width: 85px;
|
|
54
|
+
height: 85px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (max-width: 992px) {
|
|
58
|
+
h2 {
|
|
59
|
+
flex-direction: column-reverse;
|
|
60
|
+
gap: 15px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: string | undefined;
|
|
6
|
+
icon?: string | null | undefined;
|
|
7
|
+
h2Style?: string | undefined;
|
|
8
|
+
wrapStyle?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type DocumentTitleProps = typeof __propDef.props;
|
|
16
|
+
export type DocumentTitleEvents = typeof __propDef.events;
|
|
17
|
+
export type DocumentTitleSlots = typeof __propDef.slots;
|
|
18
|
+
export default class DocumentTitle extends SvelteComponent<DocumentTitleProps, DocumentTitleEvents, DocumentTitleSlots> {
|
|
19
|
+
}
|
|
20
|
+
export {};
|