hamzus-ui 0.0.102 → 0.0.104
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/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * as Tabs from "./src/components/hamzus-ui/Tabs"
|
|
|
34
34
|
// data
|
|
35
35
|
export * as Table from "./src/components/hamzus-ui/Table"
|
|
36
36
|
export { default as Skeleton } from "./src/components/hamzus-ui/Skeleton/Skeleton.svelte"
|
|
37
|
+
export { default as LineLoader } from "./src/components/hamzus-ui/LineLoader/LineLoader.svelte"
|
|
37
38
|
export { default as ProgressCircle } from "./src/components/hamzus-ui/ProgressCircle/ProgressCircle.svelte"
|
|
38
39
|
|
|
39
40
|
|
package/index.js
CHANGED
|
@@ -31,6 +31,7 @@ export * as Tabs from "./src/components/hamzus-ui/Tabs"
|
|
|
31
31
|
// data
|
|
32
32
|
export * as Table from "./src/components/hamzus-ui/Table"
|
|
33
33
|
export { default as Skeleton } from "./src/components/hamzus-ui/Skeleton/Skeleton.svelte"
|
|
34
|
+
export { default as LineLoader } from "./src/components/hamzus-ui/LineLoader/LineLoader.svelte"
|
|
34
35
|
export { default as ProgressCircle } from "./src/components/hamzus-ui/ProgressCircle/ProgressCircle.svelte"
|
|
35
36
|
|
|
36
37
|
export * as DropdownMenu from "./src/components/hamzus-ui/DropdownMenu"
|
package/package.json
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
export let size = 1
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<div class="page-loader" style="--size:{size}px;">
|
|
7
|
+
<span class="loader-line"></span>
|
|
8
|
+
<span class="loader-line"></span>
|
|
9
|
+
<span class="loader-line"></span>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.page-loader {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
column-gap: calc(var(--size) * 3);
|
|
16
|
+
}
|
|
17
|
+
.page-loader .loader-line {
|
|
18
|
+
height: calc(var(--size) * 10);
|
|
19
|
+
width:calc(var(--size) * 5) ;
|
|
20
|
+
background-color: #6b6b6b31;
|
|
21
|
+
animation: 0.6s pageLoading cubic-bezier(.39,.58,.57,1) infinite;
|
|
22
|
+
border-radius: calc(var(--size) * 1.5);
|
|
23
|
+
}
|
|
24
|
+
.page-loader .loader-line:nth-child(1) {
|
|
25
|
+
animation-delay: 0s;
|
|
26
|
+
}
|
|
27
|
+
.page-loader .loader-line:nth-child(2) {
|
|
28
|
+
animation-delay: .1s;
|
|
29
|
+
}
|
|
30
|
+
.page-loader .loader-line:nth-child(3) {
|
|
31
|
+
animation-delay: .2s;
|
|
32
|
+
}
|
|
33
|
+
@keyframes pageLoading {
|
|
34
|
+
0% {
|
|
35
|
+
transform: scale(1);
|
|
36
|
+
}
|
|
37
|
+
50% {
|
|
38
|
+
background-color: #6b6b6b75;
|
|
39
|
+
transform: scaleY(2.5);
|
|
40
|
+
}
|
|
41
|
+
100% {
|
|
42
|
+
transform: scale(1);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
</style>
|