@gustavo-valsechi/client 1.3.23 → 1.3.25
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/index.d.ts +3 -10
- package/dist/components/index.mjs +3082 -11
- package/dist/components/styles.d.ts +2 -0
- package/dist/components/styles.mjs +21 -0
- package/dist/components/types/avatar/index.d.ts +2 -0
- package/dist/components/types/avatar/index.mjs +88 -0
- package/dist/components/types/avatar/styles.d.ts +1 -0
- package/dist/components/types/avatar/styles.mjs +61 -0
- package/dist/components/types/badge/index.d.ts +2 -0
- package/dist/components/types/badge/index.mjs +324 -0
- package/dist/components/types/badge/styles.d.ts +1 -0
- package/dist/components/types/badge/styles.mjs +39 -0
- package/dist/components/types/block/index.d.ts +2 -0
- package/dist/components/types/block/index.mjs +3078 -0
- package/dist/components/types/block/styles.d.ts +2 -0
- package/dist/components/types/block/styles.mjs +32 -0
- package/dist/components/types/chart/index.d.ts +2 -0
- package/dist/components/types/chart/index.mjs +322 -0
- package/dist/components/types/chart/styles.d.ts +1 -0
- package/dist/components/types/chart/styles.mjs +10 -0
- package/dist/components/types/credit-card/assets/index.d.ts +4 -0
- package/dist/components/types/credit-card/assets/index.mjs +23 -0
- package/dist/components/types/credit-card/card/index.d.ts +2 -0
- package/dist/components/types/credit-card/card/index.mjs +732 -0
- package/dist/components/types/credit-card/card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/card/styles.mjs +138 -0
- package/dist/components/types/credit-card/functions/index.d.ts +2 -0
- package/dist/components/types/credit-card/functions/index.mjs +61 -0
- package/dist/components/types/credit-card/functions/styles.d.ts +1 -0
- package/dist/components/types/credit-card/functions/styles.mjs +43 -0
- package/dist/components/types/credit-card/index.d.ts +2 -0
- package/dist/components/types/credit-card/index.mjs +853 -0
- package/dist/components/types/credit-card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/styles.mjs +40 -0
- package/dist/components/types/credit-card/tools/index.d.ts +6 -0
- package/dist/components/types/credit-card/tools/index.mjs +566 -0
- package/dist/components/types/form/index.d.ts +3 -0
- package/dist/components/types/form/index.mjs +711 -0
- package/dist/components/types/form/styles.d.ts +1 -0
- package/dist/components/types/form/styles.mjs +21 -0
- package/dist/components/types/form/types/button/index.d.ts +2 -0
- package/dist/components/types/form/types/button/index.mjs +165 -0
- package/dist/components/types/form/types/button/loading/index.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/index.mjs +104 -0
- package/dist/components/types/form/types/button/loading/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/styles.mjs +94 -0
- package/dist/components/types/form/types/button/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/styles.mjs +47 -0
- package/dist/components/types/form/types/datetime/index.d.ts +2 -0
- package/dist/components/types/form/types/datetime/index.mjs +93 -0
- package/dist/components/types/form/types/datetime/styles.d.ts +1 -0
- package/dist/components/types/form/types/datetime/styles.mjs +46 -0
- package/dist/components/types/form/types/file/index.d.ts +2 -0
- package/dist/components/types/form/types/file/index.mjs +91 -0
- package/dist/components/types/form/types/file/styles.d.ts +1 -0
- package/dist/components/types/form/types/file/styles.mjs +33 -0
- package/dist/components/types/form/types/index.d.ts +7 -0
- package/dist/components/types/form/types/index.mjs +603 -0
- package/dist/components/types/form/types/input/index.d.ts +2 -0
- package/dist/components/types/form/types/input/index.mjs +113 -0
- package/dist/components/types/form/types/input/styles.d.ts +1 -0
- package/dist/components/types/form/types/input/styles.mjs +52 -0
- package/dist/components/types/form/types/label/index.d.ts +2 -0
- package/dist/components/types/form/types/label/index.mjs +19 -0
- package/dist/components/types/form/types/label/styles.d.ts +1 -0
- package/dist/components/types/form/types/label/styles.mjs +13 -0
- package/dist/components/types/form/types/select/index.d.ts +2 -0
- package/dist/components/types/form/types/select/index.mjs +125 -0
- package/dist/components/types/form/types/select/styles.d.ts +1 -0
- package/dist/components/types/form/types/select/styles.mjs +58 -0
- package/dist/components/types/form/types/textarea/index.d.ts +2 -0
- package/dist/components/types/form/types/textarea/index.mjs +92 -0
- package/dist/components/types/form/types/textarea/styles.d.ts +1 -0
- package/dist/components/types/form/types/textarea/styles.mjs +45 -0
- package/dist/components/types/index.d.ts +11 -0
- package/dist/components/types/index.mjs +3094 -0
- package/dist/components/types/loading/app/index.d.ts +2 -0
- package/dist/components/types/loading/app/index.mjs +128 -0
- package/dist/components/types/loading/app/styles.d.ts +1 -0
- package/dist/components/types/loading/app/styles.mjs +93 -0
- package/dist/components/types/loading/bar/index.d.ts +2 -0
- package/dist/components/types/loading/bar/index.mjs +33 -0
- package/dist/components/types/loading/bar/styles.d.ts +1 -0
- package/dist/components/types/loading/bar/styles.mjs +27 -0
- package/dist/components/types/loading/index.d.ts +2 -0
- package/dist/components/types/loading/index.mjs +156 -0
- package/dist/components/types/logo/index.d.ts +2 -0
- package/dist/components/types/logo/index.mjs +34 -0
- package/dist/components/types/logo/styles.d.ts +1 -0
- package/dist/components/types/logo/styles.mjs +25 -0
- package/dist/components/types/lottie/animations/index.d.ts +293 -0
- package/dist/components/types/lottie/animations/index.mjs +10 -0
- package/dist/components/types/lottie/index.d.ts +2 -0
- package/dist/components/types/lottie/index.mjs +69 -0
- package/dist/components/types/lottie/styles.d.ts +1 -0
- package/dist/components/types/lottie/styles.mjs +28 -0
- package/dist/components/types/modal/index.d.ts +2 -0
- package/dist/components/types/modal/index.mjs +2324 -0
- package/dist/components/types/modal/styles.d.ts +1 -0
- package/dist/components/types/modal/styles.mjs +135 -0
- package/dist/components/types/table/index.d.ts +3 -0
- package/dist/components/types/table/index.mjs +3079 -0
- package/dist/components/types/table/modal/actions.d.ts +10 -0
- package/dist/components/types/table/modal/actions.mjs +87 -0
- package/dist/components/types/table/modal/index.d.ts +2 -0
- package/dist/components/types/table/modal/index.mjs +3076 -0
- package/dist/components/types/table/modal/styles.d.ts +1 -0
- package/dist/components/types/table/modal/styles.mjs +58 -0
- package/dist/components/types/table/paginate/index.d.ts +2 -0
- package/dist/components/types/table/paginate/index.mjs +96 -0
- package/dist/components/types/table/paginate/styles.d.ts +1 -0
- package/dist/components/types/table/paginate/styles.mjs +42 -0
- package/dist/components/types/table/styles.d.ts +5 -0
- package/dist/components/types/table/styles.mjs +268 -0
- package/dist/contexts/icon/assets/brands/index.d.ts +2 -0
- package/dist/contexts/icon/assets/brands/index.mjs +19 -0
- package/dist/contexts/icon/assets/index.d.ts +6 -0
- package/dist/contexts/icon/assets/index.mjs +44 -0
- package/dist/contexts/icon/assets/regular/index.d.ts +2 -0
- package/dist/contexts/icon/assets/regular/index.mjs +19 -0
- package/dist/contexts/icon/assets/solid/index.d.ts +2 -0
- package/dist/contexts/icon/assets/solid/index.mjs +19 -0
- package/dist/contexts/icon/index.d.ts +4 -0
- package/dist/contexts/icon/index.mjs +281 -0
- package/dist/contexts/icon/styles.d.ts +1 -0
- package/dist/contexts/icon/styles.mjs +10 -0
- package/dist/contexts/index.d.ts +4 -20
- package/dist/contexts/index.mjs +486 -4
- package/dist/contexts/modal/index.d.ts +4 -0
- package/dist/contexts/modal/index.mjs +66 -0
- package/dist/contexts/modal/styles.d.ts +1 -0
- package/dist/contexts/modal/styles.mjs +10 -0
- package/dist/contexts/theme/content.d.ts +3 -0
- package/dist/contexts/theme/content.mjs +81 -0
- package/dist/contexts/theme/index.d.ts +4 -0
- package/dist/contexts/theme/index.mjs +201 -0
- package/dist/contexts/theme/styles.d.ts +1 -0
- package/dist/contexts/theme/styles.mjs +84 -0
- package/dist/contexts/tooltip/index.d.ts +6 -0
- package/dist/contexts/tooltip/index.mjs +117 -0
- package/dist/contexts/tooltip/styles.d.ts +1 -0
- package/dist/contexts/tooltip/styles.mjs +46 -0
- package/dist/index.d.ts +4 -17
- package/dist/index.mjs +3312 -4
- package/dist/interfaces/components/avatar/index.d.ts +6 -0
- package/dist/interfaces/components/avatar/index.mjs +1 -0
- package/dist/interfaces/components/badge/index.d.ts +3 -0
- package/dist/interfaces/components/badge/index.mjs +1 -0
- package/dist/interfaces/components/block/index.d.ts +16 -0
- package/dist/interfaces/components/block/index.mjs +1 -0
- package/dist/interfaces/components/chart/index.d.ts +9 -0
- package/dist/interfaces/components/chart/index.mjs +1 -0
- package/dist/interfaces/components/credit-card/index.d.ts +16 -0
- package/dist/interfaces/components/credit-card/index.mjs +1 -0
- package/dist/interfaces/components/form/button/index.d.ts +7 -0
- package/dist/interfaces/components/form/button/index.mjs +1 -0
- package/dist/interfaces/components/form/datetime/index.d.ts +15 -0
- package/dist/interfaces/components/form/datetime/index.mjs +1 -0
- package/dist/interfaces/components/form/file/index.d.ts +14 -0
- package/dist/interfaces/components/form/file/index.mjs +1 -0
- package/dist/interfaces/components/form/index.d.ts +16 -0
- package/dist/interfaces/components/form/index.mjs +1 -0
- package/dist/interfaces/components/form/input/index.d.ts +17 -0
- package/dist/interfaces/components/form/input/index.mjs +1 -0
- package/dist/interfaces/components/form/label/index.d.ts +5 -0
- package/dist/interfaces/components/form/label/index.mjs +1 -0
- package/dist/interfaces/components/form/select/index.d.ts +14 -0
- package/dist/interfaces/components/form/select/index.mjs +1 -0
- package/dist/interfaces/components/form/textarea/index.d.ts +16 -0
- package/dist/interfaces/components/form/textarea/index.mjs +1 -0
- package/dist/interfaces/components/index.d.ts +26 -0
- package/dist/interfaces/components/index.mjs +1 -0
- package/dist/interfaces/components/loading/app/index.d.ts +3 -0
- package/dist/interfaces/components/loading/app/index.mjs +1 -0
- package/dist/interfaces/components/loading/bar/index.d.ts +7 -0
- package/dist/interfaces/components/loading/bar/index.mjs +1 -0
- package/dist/interfaces/components/loading/index.d.ts +2 -0
- package/dist/interfaces/components/loading/index.mjs +1 -0
- package/dist/interfaces/components/logo/index.d.ts +6 -0
- package/dist/interfaces/components/logo/index.mjs +1 -0
- package/dist/interfaces/components/lottie/index.d.ts +12 -0
- package/dist/interfaces/components/lottie/index.mjs +1 -0
- package/dist/interfaces/components/modal/index.d.ts +16 -0
- package/dist/interfaces/components/modal/index.mjs +1 -0
- package/dist/interfaces/components/table/index.d.ts +46 -0
- package/dist/interfaces/components/table/index.mjs +1 -0
- package/dist/interfaces/components/table/paginate/index.d.ts +7 -0
- package/dist/interfaces/components/table/paginate/index.mjs +1 -0
- package/dist/interfaces/contexts/icon/index.d.ts +3 -0
- package/dist/interfaces/contexts/icon/index.mjs +1 -0
- package/dist/interfaces/contexts/index.d.ts +8 -0
- package/dist/interfaces/contexts/index.mjs +1 -0
- package/dist/interfaces/contexts/modal/index.d.ts +16 -0
- package/dist/interfaces/contexts/modal/index.mjs +2 -0
- package/dist/interfaces/contexts/theme/index.d.ts +42 -0
- package/dist/interfaces/contexts/theme/index.mjs +1 -0
- package/dist/interfaces/contexts/tooltip/index.d.ts +3 -0
- package/dist/interfaces/contexts/tooltip/index.mjs +1 -0
- package/dist/interfaces/index.d.ts +2 -12
- package/dist/interfaces/index.mjs +0 -2
- package/dist/styled.d.ts +6 -0
- package/dist/tsup.config.d.ts +2 -0
- package/package.json +13 -7
- package/dist/components/index.d.mts +0 -10
- package/dist/components/index.js +0 -63
- package/dist/contexts/index.d.mts +0 -20
- package/dist/contexts/index.js +0 -30
- package/dist/index-BhaGW0O1.d.ts +0 -601
- package/dist/index-BxA8LyyD.d.mts +0 -68
- package/dist/index-DDi0w5pw.d.mts +0 -601
- package/dist/index-DT7VKE7H.d.ts +0 -68
- package/dist/index-Da-DtPS-.d.mts +0 -29
- package/dist/index-Da-DtPS-.d.ts +0 -29
- package/dist/index.d.mts +0 -17
- package/dist/index.js +0 -28
- package/dist/interfaces/index.d.mts +0 -12
- package/dist/interfaces/index.js +0 -25
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/loading/app/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
width: ${({ initialization }) => initialization ? "100vw" : "100%"};
|
|
8
|
+
height: ${({ initialization }) => initialization ? "100vh" : "calc(100vh - 15rem)"};
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
position: ${({ initialization }) => initialization ? "absolute" : "relative"};;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
background: ${({ initialization, theme }) => initialization ? `${theme.maingrad}, ${theme.primary}` : "transparent"};
|
|
16
|
+
z-index: ${({ initialization }) => initialization ? "9" : "0"};
|
|
17
|
+
|
|
18
|
+
.iz-loading-logo {
|
|
19
|
+
font-size: 4rem;
|
|
20
|
+
opacity: 40%;
|
|
21
|
+
animation: loop 2s infinite;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
&::before {
|
|
25
|
+
content: "";
|
|
26
|
+
position: absolute;
|
|
27
|
+
width: 5rem;
|
|
28
|
+
height: 5rem;
|
|
29
|
+
animation: firstImpact 2s .5s infinite ease;
|
|
30
|
+
background: ${({ theme }) => theme.t05};
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
z-index: 0;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::after {
|
|
37
|
+
content: "";
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 5rem;
|
|
40
|
+
height: 5rem;
|
|
41
|
+
animation: secondImpact 2s .5s infinite ease;
|
|
42
|
+
background: ${({ theme }) => theme.t05};
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
z-index: 0;
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@keyframes loop {
|
|
49
|
+
0% {
|
|
50
|
+
transform: scale(1);
|
|
51
|
+
}
|
|
52
|
+
80% {
|
|
53
|
+
transform: scale(1.3);
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
transform: scale(1);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes firstImpact {
|
|
61
|
+
0% {
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
10% {
|
|
66
|
+
transform: scale(1.6);
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
100% {
|
|
70
|
+
transform: scale(1.6);
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes secondImpact {
|
|
76
|
+
0% {
|
|
77
|
+
transform: scale(1);
|
|
78
|
+
opacity: 0;
|
|
79
|
+
}
|
|
80
|
+
40% {
|
|
81
|
+
transform: scale(1.3);
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
100% {
|
|
85
|
+
transform: scale(1.3);
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
`;
|
|
91
|
+
|
|
92
|
+
// components/types/logo/styles.tsx
|
|
93
|
+
import styled2 from "styled-components";
|
|
94
|
+
var Container2 = styled2.div`
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
gap: .3rem;
|
|
99
|
+
font-size: ${(props) => props.size || "2"}rem;
|
|
100
|
+
color: ${(props) => props.theme.t5};
|
|
101
|
+
|
|
102
|
+
label:first-child {
|
|
103
|
+
font-weight: 900;
|
|
104
|
+
color: ${(props) => props.theme.secondary};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
label:last-child {
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
111
|
+
|
|
112
|
+
// components/types/logo/index.tsx
|
|
113
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
114
|
+
function Logo(props) {
|
|
115
|
+
return /* @__PURE__ */ jsxs(Container2, { ...props, children: [
|
|
116
|
+
/* @__PURE__ */ jsx("label", { children: "IZ" }),
|
|
117
|
+
!props.onlyPrefix && /* @__PURE__ */ jsx("label", { children: "Way" })
|
|
118
|
+
] });
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// components/types/loading/app/index.tsx
|
|
122
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
123
|
+
function LoadingApp(props) {
|
|
124
|
+
return /* @__PURE__ */ jsx2(Container, { ...props, children: /* @__PURE__ */ jsx2(Logo, { className: "iz-loading-logo", onlyPrefix: true }) });
|
|
125
|
+
}
|
|
126
|
+
export {
|
|
127
|
+
LoadingApp
|
|
128
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/loading/app/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
width: ${({ initialization }) => initialization ? "100vw" : "100%"};
|
|
8
|
+
height: ${({ initialization }) => initialization ? "100vh" : "calc(100vh - 15rem)"};
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
position: ${({ initialization }) => initialization ? "absolute" : "relative"};;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
background: ${({ initialization, theme }) => initialization ? `${theme.maingrad}, ${theme.primary}` : "transparent"};
|
|
16
|
+
z-index: ${({ initialization }) => initialization ? "9" : "0"};
|
|
17
|
+
|
|
18
|
+
.iz-loading-logo {
|
|
19
|
+
font-size: 4rem;
|
|
20
|
+
opacity: 40%;
|
|
21
|
+
animation: loop 2s infinite;
|
|
22
|
+
position: relative;
|
|
23
|
+
|
|
24
|
+
&::before {
|
|
25
|
+
content: "";
|
|
26
|
+
position: absolute;
|
|
27
|
+
width: 5rem;
|
|
28
|
+
height: 5rem;
|
|
29
|
+
animation: firstImpact 2s .5s infinite ease;
|
|
30
|
+
background: ${({ theme }) => theme.t05};
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
z-index: 0;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::after {
|
|
37
|
+
content: "";
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 5rem;
|
|
40
|
+
height: 5rem;
|
|
41
|
+
animation: secondImpact 2s .5s infinite ease;
|
|
42
|
+
background: ${({ theme }) => theme.t05};
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
z-index: 0;
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@keyframes loop {
|
|
49
|
+
0% {
|
|
50
|
+
transform: scale(1);
|
|
51
|
+
}
|
|
52
|
+
80% {
|
|
53
|
+
transform: scale(1.3);
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
transform: scale(1);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes firstImpact {
|
|
61
|
+
0% {
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
10% {
|
|
66
|
+
transform: scale(1.6);
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
100% {
|
|
70
|
+
transform: scale(1.6);
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes secondImpact {
|
|
76
|
+
0% {
|
|
77
|
+
transform: scale(1);
|
|
78
|
+
opacity: 0;
|
|
79
|
+
}
|
|
80
|
+
40% {
|
|
81
|
+
transform: scale(1.3);
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
100% {
|
|
85
|
+
transform: scale(1.3);
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
`;
|
|
91
|
+
export {
|
|
92
|
+
Container
|
|
93
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/loading/bar/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
border-radius: ${(props) => props.borderRadius || "10px"};
|
|
8
|
+
height: ${(props) => props.height || "100%"};
|
|
9
|
+
width: ${(props) => props.width || "100%"};
|
|
10
|
+
animation: loading infinite 2s;
|
|
11
|
+
margin: ${(props) => props.margin || "0px"};
|
|
12
|
+
|
|
13
|
+
@keyframes loading {
|
|
14
|
+
0% {
|
|
15
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
16
|
+
}
|
|
17
|
+
50% {
|
|
18
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.10)" : "rgb(255, 255, 255, 0.15)"};
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
|
|
26
|
+
// components/types/loading/bar/index.tsx
|
|
27
|
+
import { jsx } from "react/jsx-runtime";
|
|
28
|
+
function LoadingBar(props) {
|
|
29
|
+
return /* @__PURE__ */ jsx(Container, { ...props });
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
LoadingBar
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/loading/bar/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
border-radius: ${(props) => props.borderRadius || "10px"};
|
|
8
|
+
height: ${(props) => props.height || "100%"};
|
|
9
|
+
width: ${(props) => props.width || "100%"};
|
|
10
|
+
animation: loading infinite 2s;
|
|
11
|
+
margin: ${(props) => props.margin || "0px"};
|
|
12
|
+
|
|
13
|
+
@keyframes loading {
|
|
14
|
+
0% {
|
|
15
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
16
|
+
}
|
|
17
|
+
50% {
|
|
18
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.10)" : "rgb(255, 255, 255, 0.15)"};
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
export {
|
|
26
|
+
Container
|
|
27
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// components/types/loading/bar/styles.tsx
|
|
4
|
+
import styled from "styled-components";
|
|
5
|
+
var Container = styled.div`
|
|
6
|
+
border-radius: ${(props) => props.borderRadius || "10px"};
|
|
7
|
+
height: ${(props) => props.height || "100%"};
|
|
8
|
+
width: ${(props) => props.width || "100%"};
|
|
9
|
+
animation: loading infinite 2s;
|
|
10
|
+
margin: ${(props) => props.margin || "0px"};
|
|
11
|
+
|
|
12
|
+
@keyframes loading {
|
|
13
|
+
0% {
|
|
14
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
15
|
+
}
|
|
16
|
+
50% {
|
|
17
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.10)" : "rgb(255, 255, 255, 0.15)"};
|
|
18
|
+
}
|
|
19
|
+
100% {
|
|
20
|
+
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
// components/types/loading/bar/index.tsx
|
|
26
|
+
import { jsx } from "react/jsx-runtime";
|
|
27
|
+
function LoadingBar(props) {
|
|
28
|
+
return /* @__PURE__ */ jsx(Container, { ...props });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// components/types/loading/app/styles.tsx
|
|
32
|
+
import styled2 from "styled-components";
|
|
33
|
+
var Container2 = styled2.div`
|
|
34
|
+
width: ${({ initialization }) => initialization ? "100vw" : "100%"};
|
|
35
|
+
height: ${({ initialization }) => initialization ? "100vh" : "calc(100vh - 15rem)"};
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
position: ${({ initialization }) => initialization ? "absolute" : "relative"};;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
left: 0;
|
|
42
|
+
background: ${({ initialization, theme }) => initialization ? `${theme.maingrad}, ${theme.primary}` : "transparent"};
|
|
43
|
+
z-index: ${({ initialization }) => initialization ? "9" : "0"};
|
|
44
|
+
|
|
45
|
+
.iz-loading-logo {
|
|
46
|
+
font-size: 4rem;
|
|
47
|
+
opacity: 40%;
|
|
48
|
+
animation: loop 2s infinite;
|
|
49
|
+
position: relative;
|
|
50
|
+
|
|
51
|
+
&::before {
|
|
52
|
+
content: "";
|
|
53
|
+
position: absolute;
|
|
54
|
+
width: 5rem;
|
|
55
|
+
height: 5rem;
|
|
56
|
+
animation: firstImpact 2s .5s infinite ease;
|
|
57
|
+
background: ${({ theme }) => theme.t05};
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
z-index: 0;
|
|
60
|
+
opacity: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&::after {
|
|
64
|
+
content: "";
|
|
65
|
+
position: absolute;
|
|
66
|
+
width: 5rem;
|
|
67
|
+
height: 5rem;
|
|
68
|
+
animation: secondImpact 2s .5s infinite ease;
|
|
69
|
+
background: ${({ theme }) => theme.t05};
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
z-index: 0;
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes loop {
|
|
76
|
+
0% {
|
|
77
|
+
transform: scale(1);
|
|
78
|
+
}
|
|
79
|
+
80% {
|
|
80
|
+
transform: scale(1.3);
|
|
81
|
+
}
|
|
82
|
+
100% {
|
|
83
|
+
transform: scale(1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@keyframes firstImpact {
|
|
88
|
+
0% {
|
|
89
|
+
transform: scale(1);
|
|
90
|
+
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
10% {
|
|
93
|
+
transform: scale(1.6);
|
|
94
|
+
opacity: 1;
|
|
95
|
+
}
|
|
96
|
+
100% {
|
|
97
|
+
transform: scale(1.6);
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@keyframes secondImpact {
|
|
103
|
+
0% {
|
|
104
|
+
transform: scale(1);
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
40% {
|
|
108
|
+
transform: scale(1.3);
|
|
109
|
+
opacity: 1;
|
|
110
|
+
}
|
|
111
|
+
100% {
|
|
112
|
+
transform: scale(1.3);
|
|
113
|
+
opacity: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
`;
|
|
118
|
+
|
|
119
|
+
// components/types/logo/styles.tsx
|
|
120
|
+
import styled3 from "styled-components";
|
|
121
|
+
var Container3 = styled3.div`
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
gap: .3rem;
|
|
126
|
+
font-size: ${(props) => props.size || "2"}rem;
|
|
127
|
+
color: ${(props) => props.theme.t5};
|
|
128
|
+
|
|
129
|
+
label:first-child {
|
|
130
|
+
font-weight: 900;
|
|
131
|
+
color: ${(props) => props.theme.secondary};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
label:last-child {
|
|
135
|
+
font-weight: 600;
|
|
136
|
+
}
|
|
137
|
+
`;
|
|
138
|
+
|
|
139
|
+
// components/types/logo/index.tsx
|
|
140
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
141
|
+
function Logo(props) {
|
|
142
|
+
return /* @__PURE__ */ jsxs(Container3, { ...props, children: [
|
|
143
|
+
/* @__PURE__ */ jsx2("label", { children: "IZ" }),
|
|
144
|
+
!props.onlyPrefix && /* @__PURE__ */ jsx2("label", { children: "Way" })
|
|
145
|
+
] });
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// components/types/loading/app/index.tsx
|
|
149
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
150
|
+
function LoadingApp(props) {
|
|
151
|
+
return /* @__PURE__ */ jsx3(Container2, { ...props, children: /* @__PURE__ */ jsx3(Logo, { className: "iz-loading-logo", onlyPrefix: true }) });
|
|
152
|
+
}
|
|
153
|
+
export {
|
|
154
|
+
LoadingApp,
|
|
155
|
+
LoadingBar
|
|
156
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/logo/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: .3rem;
|
|
11
|
+
font-size: ${(props) => props.size || "2"}rem;
|
|
12
|
+
color: ${(props) => props.theme.t5};
|
|
13
|
+
|
|
14
|
+
label:first-child {
|
|
15
|
+
font-weight: 900;
|
|
16
|
+
color: ${(props) => props.theme.secondary};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
label:last-child {
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
// components/types/logo/index.tsx
|
|
25
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
function Logo(props) {
|
|
27
|
+
return /* @__PURE__ */ jsxs(Container, { ...props, children: [
|
|
28
|
+
/* @__PURE__ */ jsx("label", { children: "IZ" }),
|
|
29
|
+
!props.onlyPrefix && /* @__PURE__ */ jsx("label", { children: "Way" })
|
|
30
|
+
] });
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
Logo
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Container: any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/logo/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: .3rem;
|
|
11
|
+
font-size: ${(props) => props.size || "2"}rem;
|
|
12
|
+
color: ${(props) => props.theme.t5};
|
|
13
|
+
|
|
14
|
+
label:first-child {
|
|
15
|
+
font-weight: 900;
|
|
16
|
+
color: ${(props) => props.theme.secondary};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
label:last-child {
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
export {
|
|
24
|
+
Container
|
|
25
|
+
};
|