@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 @@
|
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
// components/types/modal/styles.tsx
|
|
5
|
+
import styled from "styled-components";
|
|
6
|
+
var Container = styled.div`
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
top: 0;
|
|
10
|
+
right: 0;
|
|
11
|
+
display: flex !important;
|
|
12
|
+
position: fixed;
|
|
13
|
+
z-index: ${(props) => props.toggle ? "9" : "-1"};
|
|
14
|
+
flex-direction: ${(props) => props.position === "left" ? "row-reverse" : "row"} !important;
|
|
15
|
+
transform: ${(props) => props.toggle ? "translateX(0%)" : "translateX(100%)"};
|
|
16
|
+
transition: ${(props) => props.toggle ? ".0s ease .0s" : ".3s ease .3s"};
|
|
17
|
+
|
|
18
|
+
.iz-modal-back {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background: rgb(0, 0, 0, 0.3);
|
|
22
|
+
opacity: ${(props) => props.toggle ? "1" : "0"};
|
|
23
|
+
transition: ease 0.3s;
|
|
24
|
+
position: absolute;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.iz-modal-container {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
height: ${(props) => props.position !== "center" ? "100%" : void 0};
|
|
31
|
+
width: ${(props) => props.position !== "center" ? "18rem" : void 0};
|
|
32
|
+
border-radius: ${(props) => props.position === "center" ? "10px" : void 0};
|
|
33
|
+
max-height: ${(props) => props.position === "center" ? "95%" : "100%"};
|
|
34
|
+
max-width: ${(props) => props.position === "center" ? "95%" : "100%"};
|
|
35
|
+
background: ${({ theme }) => theme.primary};
|
|
36
|
+
transform: ${(props) => props.toggle ? props.position === "right" || props.position === "left" ? "translateX(0rem)" : "translateX(-50%) translateY(50%)" : props.position === "right" ? "translateX(18rem)" : props.position === "left" ? "translateX(-18rem)" : "translateX(-50%) translateY(43%)"};
|
|
37
|
+
opacity: ${(props) => props.position === "center" && !props.toggle ? "0" : "1"};
|
|
38
|
+
transition: ease 0.3s;
|
|
39
|
+
position: absolute;
|
|
40
|
+
|
|
41
|
+
${(props) => props.position === "right" ? "right: 0;" : props.position === "left" ? "left: 0;" : "left: 50%; bottom: 50%;"}
|
|
42
|
+
|
|
43
|
+
@media(max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
44
|
+
border-radius: ${(props) => props.position === "center" ? "10px 10px 0 0" : void 0};
|
|
45
|
+
width: ${(props) => props.position !== "center" ? "18rem" : "100%"};
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
padding-bottom: 3rem !important;
|
|
48
|
+
|
|
49
|
+
transform: ${(props) => props.toggle ? props.position === "right" || props.position === "left" ? "translateX(0rem)" : "translateX(-50%) translateY(0)" : props.position === "right" ? "translateX(18rem)" : props.position === "left" ? "translateX(-18rem)" : "translateX(-50%) translateY(50%)"};
|
|
50
|
+
|
|
51
|
+
${(props) => props.position === "right" ? "right: 0;" : props.position === "left" ? "left: 0;" : "left: 50%; bottom: 0;"}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.iz-modal-header {
|
|
55
|
+
padding: 1.5rem 2rem;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
border-bottom: 1px solid rgb(0, 0, 0, 0.2);
|
|
60
|
+
|
|
61
|
+
.iz-modal-title {
|
|
62
|
+
color: ${({ theme }) => theme.t6};
|
|
63
|
+
font-size: 1rem;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
|
|
66
|
+
i {
|
|
67
|
+
margin-right: .5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
span {
|
|
71
|
+
word-break: break-word;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.fa-xmark {
|
|
76
|
+
color: ${({ theme }) => theme.t6};
|
|
77
|
+
margin-left: .5rem;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
color: ${({ theme }) => theme.t8};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.iz-modal-content {
|
|
87
|
+
overflow-x: hidden;
|
|
88
|
+
overflow-y: overlay;
|
|
89
|
+
position: relative;
|
|
90
|
+
height: ${(props) => props.position === "center" ? "initial" : "100%"};
|
|
91
|
+
|
|
92
|
+
.iz-modal-close {
|
|
93
|
+
position: absolute;
|
|
94
|
+
color: ${(props) => props.light ? "rgb(255, 255, 255, 0.6)" : "rgb(0, 0, 0, 0.6)"};
|
|
95
|
+
top: ${(props) => props.position === "center" ? "1rem" : "1.5rem"};
|
|
96
|
+
right: ${(props) => props.position === "center" ? "1rem" : "1.5rem"};
|
|
97
|
+
width: 1rem;
|
|
98
|
+
height: 1rem;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
z-index: 9;
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
|
|
105
|
+
@media(max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&:hover {
|
|
110
|
+
color: ${(props) => props.light ? "rgb(255, 255, 255, 1)" : "rgb(0, 0, 0, 1)"};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.iz-modal-buttons {
|
|
116
|
+
padding: 1rem 2rem;
|
|
117
|
+
|
|
118
|
+
@media(max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
119
|
+
padding: 1rem 2rem 2rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
button {
|
|
123
|
+
width: 100%;
|
|
124
|
+
margin-bottom: .5rem;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
button:last-child {
|
|
128
|
+
margin-bottom: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
export {
|
|
134
|
+
Container
|
|
135
|
+
};
|