@gustavo-valsechi/client 1.3.25 → 1.3.26

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.
Files changed (215) hide show
  1. package/dist/components/index.d.mts +10 -0
  2. package/dist/components/index.d.ts +10 -3
  3. package/dist/components/{types/index.mjs → index.js} +404 -379
  4. package/dist/components/index.mjs +0 -1
  5. package/dist/contexts/index.d.mts +20 -0
  6. package/dist/contexts/index.d.ts +20 -4
  7. package/dist/contexts/index.js +524 -0
  8. package/dist/contexts/index.mjs +0 -1
  9. package/dist/index-BhaGW0O1.d.ts +601 -0
  10. package/dist/index-BxA8LyyD.d.mts +68 -0
  11. package/dist/index-DDi0w5pw.d.mts +601 -0
  12. package/dist/index-DT7VKE7H.d.ts +68 -0
  13. package/dist/index-Da-DtPS-.d.mts +29 -0
  14. package/dist/index-Da-DtPS-.d.ts +29 -0
  15. package/dist/index.d.mts +17 -0
  16. package/dist/index.d.ts +17 -4
  17. package/dist/{components/types/table/index.mjs → index.js} +1476 -1211
  18. package/dist/index.mjs +0 -1
  19. package/dist/interfaces/index.d.mts +12 -0
  20. package/dist/interfaces/index.d.ts +12 -2
  21. package/dist/interfaces/index.js +18 -0
  22. package/dist/interfaces/index.mjs +0 -1
  23. package/package.json +6 -8
  24. package/dist/components/styles.d.ts +0 -2
  25. package/dist/components/styles.mjs +0 -21
  26. package/dist/components/types/avatar/index.d.ts +0 -2
  27. package/dist/components/types/avatar/index.mjs +0 -88
  28. package/dist/components/types/avatar/styles.d.ts +0 -1
  29. package/dist/components/types/avatar/styles.mjs +0 -61
  30. package/dist/components/types/badge/index.d.ts +0 -2
  31. package/dist/components/types/badge/index.mjs +0 -324
  32. package/dist/components/types/badge/styles.d.ts +0 -1
  33. package/dist/components/types/badge/styles.mjs +0 -39
  34. package/dist/components/types/block/index.d.ts +0 -2
  35. package/dist/components/types/block/index.mjs +0 -3078
  36. package/dist/components/types/block/styles.d.ts +0 -2
  37. package/dist/components/types/block/styles.mjs +0 -32
  38. package/dist/components/types/chart/index.d.ts +0 -2
  39. package/dist/components/types/chart/index.mjs +0 -322
  40. package/dist/components/types/chart/styles.d.ts +0 -1
  41. package/dist/components/types/chart/styles.mjs +0 -10
  42. package/dist/components/types/credit-card/assets/index.d.ts +0 -4
  43. package/dist/components/types/credit-card/assets/index.mjs +0 -23
  44. package/dist/components/types/credit-card/card/index.d.ts +0 -2
  45. package/dist/components/types/credit-card/card/index.mjs +0 -732
  46. package/dist/components/types/credit-card/card/styles.d.ts +0 -1
  47. package/dist/components/types/credit-card/card/styles.mjs +0 -138
  48. package/dist/components/types/credit-card/functions/index.d.ts +0 -2
  49. package/dist/components/types/credit-card/functions/index.mjs +0 -61
  50. package/dist/components/types/credit-card/functions/styles.d.ts +0 -1
  51. package/dist/components/types/credit-card/functions/styles.mjs +0 -43
  52. package/dist/components/types/credit-card/index.d.ts +0 -2
  53. package/dist/components/types/credit-card/index.mjs +0 -853
  54. package/dist/components/types/credit-card/styles.d.ts +0 -1
  55. package/dist/components/types/credit-card/styles.mjs +0 -40
  56. package/dist/components/types/credit-card/tools/index.d.ts +0 -6
  57. package/dist/components/types/credit-card/tools/index.mjs +0 -566
  58. package/dist/components/types/form/index.d.ts +0 -3
  59. package/dist/components/types/form/index.mjs +0 -711
  60. package/dist/components/types/form/styles.d.ts +0 -1
  61. package/dist/components/types/form/styles.mjs +0 -21
  62. package/dist/components/types/form/types/button/index.d.ts +0 -2
  63. package/dist/components/types/form/types/button/index.mjs +0 -165
  64. package/dist/components/types/form/types/button/loading/index.d.ts +0 -1
  65. package/dist/components/types/form/types/button/loading/index.mjs +0 -104
  66. package/dist/components/types/form/types/button/loading/styles.d.ts +0 -1
  67. package/dist/components/types/form/types/button/loading/styles.mjs +0 -94
  68. package/dist/components/types/form/types/button/styles.d.ts +0 -1
  69. package/dist/components/types/form/types/button/styles.mjs +0 -47
  70. package/dist/components/types/form/types/datetime/index.d.ts +0 -2
  71. package/dist/components/types/form/types/datetime/index.mjs +0 -93
  72. package/dist/components/types/form/types/datetime/styles.d.ts +0 -1
  73. package/dist/components/types/form/types/datetime/styles.mjs +0 -46
  74. package/dist/components/types/form/types/file/index.d.ts +0 -2
  75. package/dist/components/types/form/types/file/index.mjs +0 -91
  76. package/dist/components/types/form/types/file/styles.d.ts +0 -1
  77. package/dist/components/types/form/types/file/styles.mjs +0 -33
  78. package/dist/components/types/form/types/index.d.ts +0 -7
  79. package/dist/components/types/form/types/index.mjs +0 -603
  80. package/dist/components/types/form/types/input/index.d.ts +0 -2
  81. package/dist/components/types/form/types/input/index.mjs +0 -113
  82. package/dist/components/types/form/types/input/styles.d.ts +0 -1
  83. package/dist/components/types/form/types/input/styles.mjs +0 -52
  84. package/dist/components/types/form/types/label/index.d.ts +0 -2
  85. package/dist/components/types/form/types/label/index.mjs +0 -19
  86. package/dist/components/types/form/types/label/styles.d.ts +0 -1
  87. package/dist/components/types/form/types/label/styles.mjs +0 -13
  88. package/dist/components/types/form/types/select/index.d.ts +0 -2
  89. package/dist/components/types/form/types/select/index.mjs +0 -125
  90. package/dist/components/types/form/types/select/styles.d.ts +0 -1
  91. package/dist/components/types/form/types/select/styles.mjs +0 -58
  92. package/dist/components/types/form/types/textarea/index.d.ts +0 -2
  93. package/dist/components/types/form/types/textarea/index.mjs +0 -92
  94. package/dist/components/types/form/types/textarea/styles.d.ts +0 -1
  95. package/dist/components/types/form/types/textarea/styles.mjs +0 -45
  96. package/dist/components/types/index.d.ts +0 -11
  97. package/dist/components/types/loading/app/index.d.ts +0 -2
  98. package/dist/components/types/loading/app/index.mjs +0 -128
  99. package/dist/components/types/loading/app/styles.d.ts +0 -1
  100. package/dist/components/types/loading/app/styles.mjs +0 -93
  101. package/dist/components/types/loading/bar/index.d.ts +0 -2
  102. package/dist/components/types/loading/bar/index.mjs +0 -33
  103. package/dist/components/types/loading/bar/styles.d.ts +0 -1
  104. package/dist/components/types/loading/bar/styles.mjs +0 -27
  105. package/dist/components/types/loading/index.d.ts +0 -2
  106. package/dist/components/types/loading/index.mjs +0 -156
  107. package/dist/components/types/logo/index.d.ts +0 -2
  108. package/dist/components/types/logo/index.mjs +0 -34
  109. package/dist/components/types/logo/styles.d.ts +0 -1
  110. package/dist/components/types/logo/styles.mjs +0 -25
  111. package/dist/components/types/lottie/animations/index.d.ts +0 -293
  112. package/dist/components/types/lottie/animations/index.mjs +0 -10
  113. package/dist/components/types/lottie/index.d.ts +0 -2
  114. package/dist/components/types/lottie/index.mjs +0 -69
  115. package/dist/components/types/lottie/styles.d.ts +0 -1
  116. package/dist/components/types/lottie/styles.mjs +0 -28
  117. package/dist/components/types/modal/index.d.ts +0 -2
  118. package/dist/components/types/modal/index.mjs +0 -2324
  119. package/dist/components/types/modal/styles.d.ts +0 -1
  120. package/dist/components/types/modal/styles.mjs +0 -135
  121. package/dist/components/types/table/index.d.ts +0 -3
  122. package/dist/components/types/table/modal/actions.d.ts +0 -10
  123. package/dist/components/types/table/modal/actions.mjs +0 -87
  124. package/dist/components/types/table/modal/index.d.ts +0 -2
  125. package/dist/components/types/table/modal/index.mjs +0 -3076
  126. package/dist/components/types/table/modal/styles.d.ts +0 -1
  127. package/dist/components/types/table/modal/styles.mjs +0 -58
  128. package/dist/components/types/table/paginate/index.d.ts +0 -2
  129. package/dist/components/types/table/paginate/index.mjs +0 -96
  130. package/dist/components/types/table/paginate/styles.d.ts +0 -1
  131. package/dist/components/types/table/paginate/styles.mjs +0 -42
  132. package/dist/components/types/table/styles.d.ts +0 -5
  133. package/dist/components/types/table/styles.mjs +0 -268
  134. package/dist/contexts/icon/assets/brands/index.d.ts +0 -2
  135. package/dist/contexts/icon/assets/brands/index.mjs +0 -19
  136. package/dist/contexts/icon/assets/index.d.ts +0 -6
  137. package/dist/contexts/icon/assets/index.mjs +0 -44
  138. package/dist/contexts/icon/assets/regular/index.d.ts +0 -2
  139. package/dist/contexts/icon/assets/regular/index.mjs +0 -19
  140. package/dist/contexts/icon/assets/solid/index.d.ts +0 -2
  141. package/dist/contexts/icon/assets/solid/index.mjs +0 -19
  142. package/dist/contexts/icon/index.d.ts +0 -4
  143. package/dist/contexts/icon/index.mjs +0 -281
  144. package/dist/contexts/icon/styles.d.ts +0 -1
  145. package/dist/contexts/icon/styles.mjs +0 -10
  146. package/dist/contexts/modal/index.d.ts +0 -4
  147. package/dist/contexts/modal/index.mjs +0 -66
  148. package/dist/contexts/modal/styles.d.ts +0 -1
  149. package/dist/contexts/modal/styles.mjs +0 -10
  150. package/dist/contexts/theme/content.d.ts +0 -3
  151. package/dist/contexts/theme/content.mjs +0 -81
  152. package/dist/contexts/theme/index.d.ts +0 -4
  153. package/dist/contexts/theme/index.mjs +0 -201
  154. package/dist/contexts/theme/styles.d.ts +0 -1
  155. package/dist/contexts/theme/styles.mjs +0 -84
  156. package/dist/contexts/tooltip/index.d.ts +0 -6
  157. package/dist/contexts/tooltip/index.mjs +0 -117
  158. package/dist/contexts/tooltip/styles.d.ts +0 -1
  159. package/dist/contexts/tooltip/styles.mjs +0 -46
  160. package/dist/interfaces/components/avatar/index.d.ts +0 -6
  161. package/dist/interfaces/components/avatar/index.mjs +0 -1
  162. package/dist/interfaces/components/badge/index.d.ts +0 -3
  163. package/dist/interfaces/components/badge/index.mjs +0 -1
  164. package/dist/interfaces/components/block/index.d.ts +0 -16
  165. package/dist/interfaces/components/block/index.mjs +0 -1
  166. package/dist/interfaces/components/chart/index.d.ts +0 -9
  167. package/dist/interfaces/components/chart/index.mjs +0 -1
  168. package/dist/interfaces/components/credit-card/index.d.ts +0 -16
  169. package/dist/interfaces/components/credit-card/index.mjs +0 -1
  170. package/dist/interfaces/components/form/button/index.d.ts +0 -7
  171. package/dist/interfaces/components/form/button/index.mjs +0 -1
  172. package/dist/interfaces/components/form/datetime/index.d.ts +0 -15
  173. package/dist/interfaces/components/form/datetime/index.mjs +0 -1
  174. package/dist/interfaces/components/form/file/index.d.ts +0 -14
  175. package/dist/interfaces/components/form/file/index.mjs +0 -1
  176. package/dist/interfaces/components/form/index.d.ts +0 -16
  177. package/dist/interfaces/components/form/index.mjs +0 -1
  178. package/dist/interfaces/components/form/input/index.d.ts +0 -17
  179. package/dist/interfaces/components/form/input/index.mjs +0 -1
  180. package/dist/interfaces/components/form/label/index.d.ts +0 -5
  181. package/dist/interfaces/components/form/label/index.mjs +0 -1
  182. package/dist/interfaces/components/form/select/index.d.ts +0 -14
  183. package/dist/interfaces/components/form/select/index.mjs +0 -1
  184. package/dist/interfaces/components/form/textarea/index.d.ts +0 -16
  185. package/dist/interfaces/components/form/textarea/index.mjs +0 -1
  186. package/dist/interfaces/components/index.d.ts +0 -26
  187. package/dist/interfaces/components/index.mjs +0 -1
  188. package/dist/interfaces/components/loading/app/index.d.ts +0 -3
  189. package/dist/interfaces/components/loading/app/index.mjs +0 -1
  190. package/dist/interfaces/components/loading/bar/index.d.ts +0 -7
  191. package/dist/interfaces/components/loading/bar/index.mjs +0 -1
  192. package/dist/interfaces/components/loading/index.d.ts +0 -2
  193. package/dist/interfaces/components/loading/index.mjs +0 -1
  194. package/dist/interfaces/components/logo/index.d.ts +0 -6
  195. package/dist/interfaces/components/logo/index.mjs +0 -1
  196. package/dist/interfaces/components/lottie/index.d.ts +0 -12
  197. package/dist/interfaces/components/lottie/index.mjs +0 -1
  198. package/dist/interfaces/components/modal/index.d.ts +0 -16
  199. package/dist/interfaces/components/modal/index.mjs +0 -1
  200. package/dist/interfaces/components/table/index.d.ts +0 -46
  201. package/dist/interfaces/components/table/index.mjs +0 -1
  202. package/dist/interfaces/components/table/paginate/index.d.ts +0 -7
  203. package/dist/interfaces/components/table/paginate/index.mjs +0 -1
  204. package/dist/interfaces/contexts/icon/index.d.ts +0 -3
  205. package/dist/interfaces/contexts/icon/index.mjs +0 -1
  206. package/dist/interfaces/contexts/index.d.ts +0 -8
  207. package/dist/interfaces/contexts/index.mjs +0 -1
  208. package/dist/interfaces/contexts/modal/index.d.ts +0 -16
  209. package/dist/interfaces/contexts/modal/index.mjs +0 -2
  210. package/dist/interfaces/contexts/theme/index.d.ts +0 -42
  211. package/dist/interfaces/contexts/theme/index.mjs +0 -1
  212. package/dist/interfaces/contexts/tooltip/index.d.ts +0 -3
  213. package/dist/interfaces/contexts/tooltip/index.mjs +0 -1
  214. package/dist/styled.d.ts +0 -6
  215. package/dist/tsup.config.d.ts +0 -2
@@ -1 +0,0 @@
1
- export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
@@ -1,135 +0,0 @@
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
- };
@@ -1,3 +0,0 @@
1
- import { ITable } from "@interfaces";
2
- export * from "./paginate";
3
- export declare function Table(props: ITable): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- declare const actionConfig: {
2
- "fa-solid fa-pen-to-square": {
3
- label: string;
4
- };
5
- "fa-solid fa-trash-can": {
6
- label: string;
7
- color: string;
8
- };
9
- };
10
- export default actionConfig;
@@ -1,87 +0,0 @@
1
- "use client";
2
-
3
- // contexts/theme/content.tsx
4
- var CommonTheme = {
5
- secondary: "#5869da",
6
- tertiary: "#629dfd33",
7
- positive: "#65c965",
8
- negative: "#FF334E",
9
- mobileMaxWidth: "650px",
10
- mobileMinWidth: "315px"
11
- };
12
- var Themes = {
13
- light: {
14
- primary: "#ffffff",
15
- reverse: "#353535",
16
- tooltip: "#f2f2f2",
17
- t8: "#000000cc",
18
- t7: "#000000b3",
19
- t6: "#00000099",
20
- t5: "#00000080",
21
- t4: "#00000066",
22
- t3: "#0000004d",
23
- t2: "#00000033",
24
- t1: "#0000001a",
25
- t08: "#00000014",
26
- t05: "#0000000d",
27
- t03: "#00000007",
28
- t02: "#00000005",
29
- t01: "#00000002",
30
- lgrad: `linear-gradient(
31
- to right,
32
- #dadef7 0%,
33
- #dee2f8 5%,
34
- #e2e5f9 10%,
35
- #e6e9fa 20%,
36
- #eaedfb 30%,
37
- #eff0fb 60%,
38
- #f3f4fc 80%,
39
- #f7f8fd 90%,
40
- #fbfbfe 100%
41
- )`,
42
- maingrad: "linear-gradient(330deg, #b9c0ff7a 0%, #ffffff 100%)",
43
- ...CommonTheme
44
- },
45
- dark: {
46
- primary: "#333333",
47
- reverse: "#b45252",
48
- tooltip: "#3d3d3d",
49
- t8: "#ffffffcc",
50
- t7: "#ffffffb3",
51
- t6: "#ffffff99",
52
- t5: "#ffffff80",
53
- t4: "#ffffff66",
54
- t3: "#ffffff4d",
55
- t2: "#ffffff33",
56
- t1: "#ffffff1a",
57
- t08: "#ffffff14",
58
- t05: "#ffffff0d",
59
- t03: "#ffffff07",
60
- t02: "#ffffff05",
61
- t01: "#ffffff02",
62
- lgrad: `linear-gradient(
63
- to right,
64
- #3d485c 0%,
65
- #3c4657 5%,
66
- #3b4353 10%,
67
- #3a414e 20%,
68
- #393f4a 30%,
69
- #373c45 60%,
70
- #363a41 80%,
71
- #35383c 90%,
72
- #343538 100%
73
- )`,
74
- maingrad: "linear-gradient(330deg, #1d1e27 0%, #333333 100%)",
75
- ...CommonTheme
76
- }
77
- };
78
-
79
- // components/types/table/modal/actions.tsx
80
- var actionConfig = {
81
- "fa-solid fa-pen-to-square": { label: "editar" },
82
- "fa-solid fa-trash-can": { label: "remover", color: CommonTheme.negative }
83
- };
84
- var actions_default = actionConfig;
85
- export {
86
- actions_default as default
87
- };
@@ -1,2 +0,0 @@
1
- import { IModal } from "@interfaces";
2
- export default function Modal(props: IModal): import("react/jsx-runtime").JSX.Element;