@gleich/ui 1.1.1 → 1.2.1
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/layout.svelte +65 -0
- package/dist/layout.svelte.d.ts +8 -0
- package/package.json +1 -1
- package/dist/fade-up.svelte +0 -38
- package/dist/fade-up.svelte.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import Card from './card.svelte';
|
|
|
2
2
|
import Copyright from './copyright.svelte';
|
|
3
3
|
import DynamicHead from './dynamic-head.svelte';
|
|
4
4
|
import Error from './error.svelte';
|
|
5
|
-
import FadeUp from './fade-up.svelte';
|
|
6
5
|
import Image from './image.svelte';
|
|
6
|
+
import Layout from './layout.svelte';
|
|
7
7
|
import Logo from './logo.svelte';
|
|
8
8
|
import NavLogo from './nav-logo.svelte';
|
|
9
9
|
import Scrolling from './scrolling.svelte';
|
|
10
|
-
export { Card, Copyright, DynamicHead, Error,
|
|
10
|
+
export { Card, Copyright, DynamicHead, Error, Image, Layout, Logo, NavLogo, Scrolling };
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import Card from './card.svelte';
|
|
|
2
2
|
import Copyright from './copyright.svelte';
|
|
3
3
|
import DynamicHead from './dynamic-head.svelte';
|
|
4
4
|
import Error from './error.svelte';
|
|
5
|
-
import FadeUp from './fade-up.svelte';
|
|
6
5
|
import Image from './image.svelte';
|
|
6
|
+
import Layout from './layout.svelte';
|
|
7
7
|
import Logo from './logo.svelte';
|
|
8
8
|
import NavLogo from './nav-logo.svelte';
|
|
9
9
|
import Scrolling from './scrolling.svelte';
|
|
10
|
-
export { Card, Copyright, DynamicHead, Error,
|
|
10
|
+
export { Card, Copyright, DynamicHead, Error, Image, Layout, Logo, NavLogo, Scrolling };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import Copyright from './copyright.svelte';
|
|
4
|
+
|
|
5
|
+
const { children, repo }: { children: Snippet; repo: string } = $props();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<div class="container">
|
|
9
|
+
<div class="children">
|
|
10
|
+
{@render children()}
|
|
11
|
+
<div class="copyright">
|
|
12
|
+
<Copyright {repo} />
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<style>
|
|
18
|
+
.container {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.children {
|
|
27
|
+
display: flex;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
width: 100%;
|
|
32
|
+
animation: fade-up 0.5s ease-out forwards;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
flex: 1;
|
|
35
|
+
max-width: 1040px;
|
|
36
|
+
padding: 70px 20px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.copyright {
|
|
40
|
+
margin-top: 20px;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@-webkit-keyframes fade-up {
|
|
45
|
+
from {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
transform: translateY(10px);
|
|
48
|
+
}
|
|
49
|
+
to {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
transform: translateY(0);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes fade-up {
|
|
56
|
+
from {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
transform: translateY(10px);
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transform: translateY(0);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
</style>
|
package/package.json
CHANGED
package/dist/fade-up.svelte
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
|
|
4
|
-
const { children }: { children: Snippet } = $props();
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<div class="container">
|
|
8
|
-
{@render children()}
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<style>
|
|
12
|
-
.container {
|
|
13
|
-
animation: fade-up 0.5s ease-out forwards;
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@-webkit-keyframes fade-up {
|
|
18
|
-
from {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
transform: translateY(10px);
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
opacity: 1;
|
|
24
|
-
transform: translateY(0);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@keyframes fade-up {
|
|
29
|
-
from {
|
|
30
|
-
opacity: 0;
|
|
31
|
-
transform: translateY(10px);
|
|
32
|
-
}
|
|
33
|
-
to {
|
|
34
|
-
opacity: 1;
|
|
35
|
-
transform: translateY(0);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
</style>
|
package/dist/fade-up.svelte.d.ts
DELETED