@gustavo-valsechi/client 1.3.14 → 1.3.16

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 (240) hide show
  1. package/dist/chunk-7KA3WXTD.mjs +1252 -0
  2. package/dist/chunk-7KA3WXTD.mjs.map +1 -0
  3. package/dist/chunk-IF6P6NOG.mjs +141 -0
  4. package/dist/chunk-IF6P6NOG.mjs.map +1 -0
  5. package/dist/chunk-RWFXFZB5.mjs +2 -0
  6. package/dist/chunk-RWFXFZB5.mjs.map +1 -0
  7. package/dist/components.d.mts +10 -0
  8. package/dist/components.d.ts +10 -0
  9. package/dist/components.js +1390 -0
  10. package/dist/components.js.map +1 -0
  11. package/dist/components.mjs +3 -0
  12. package/dist/components.mjs.map +1 -0
  13. package/dist/contexts.d.mts +20 -0
  14. package/dist/contexts.d.ts +20 -0
  15. package/dist/contexts.js +141 -0
  16. package/dist/contexts.js.map +1 -0
  17. package/dist/contexts.mjs +3 -0
  18. package/dist/contexts.mjs.map +1 -0
  19. package/dist/index-BhaGW0O1.d.ts +601 -0
  20. package/dist/index-BxA8LyyD.d.mts +68 -0
  21. package/dist/index-DDi0w5pw.d.mts +601 -0
  22. package/dist/index-DT7VKE7H.d.ts +68 -0
  23. package/dist/index-Da-DtPS-.d.mts +29 -0
  24. package/dist/index-Da-DtPS-.d.ts +29 -0
  25. package/dist/index.d.mts +17 -0
  26. package/dist/index.d.ts +17 -4
  27. package/dist/index.js +1390 -4
  28. package/dist/index.js.map +1 -0
  29. package/dist/index.mjs +3 -0
  30. package/dist/index.mjs.map +1 -0
  31. package/dist/interfaces.d.mts +12 -0
  32. package/dist/interfaces.d.ts +12 -0
  33. package/dist/interfaces.js +3 -0
  34. package/dist/interfaces.js.map +1 -0
  35. package/dist/interfaces.mjs +3 -0
  36. package/dist/interfaces.mjs.map +1 -0
  37. package/package.json +8 -15
  38. package/dist/components/index.d.ts +0 -3
  39. package/dist/components/index.js +0 -17
  40. package/dist/components/styles.d.ts +0 -2
  41. package/dist/components/styles.js +0 -14
  42. package/dist/components/types/avatar/index.d.ts +0 -2
  43. package/dist/components/types/avatar/index.js +0 -34
  44. package/dist/components/types/avatar/styles.d.ts +0 -1
  45. package/dist/components/types/avatar/styles.js +0 -55
  46. package/dist/components/types/badge/index.d.ts +0 -2
  47. package/dist/components/types/badge/index.js +0 -16
  48. package/dist/components/types/badge/styles.d.ts +0 -1
  49. package/dist/components/types/badge/styles.js +0 -33
  50. package/dist/components/types/block/index.d.ts +0 -2
  51. package/dist/components/types/block/index.js +0 -8
  52. package/dist/components/types/block/styles.d.ts +0 -2
  53. package/dist/components/types/block/styles.js +0 -25
  54. package/dist/components/types/chart/index.d.ts +0 -2
  55. package/dist/components/types/chart/index.js +0 -33
  56. package/dist/components/types/chart/styles.d.ts +0 -1
  57. package/dist/components/types/chart/styles.js +0 -4
  58. package/dist/components/types/credit-card/assets/index.d.ts +0 -4
  59. package/dist/components/types/credit-card/assets/index.js +0 -17
  60. package/dist/components/types/credit-card/card/index.d.ts +0 -2
  61. package/dist/components/types/credit-card/card/index.js +0 -23
  62. package/dist/components/types/credit-card/card/styles.d.ts +0 -1
  63. package/dist/components/types/credit-card/card/styles.js +0 -132
  64. package/dist/components/types/credit-card/functions/index.d.ts +0 -2
  65. package/dist/components/types/credit-card/functions/index.js +0 -8
  66. package/dist/components/types/credit-card/functions/styles.d.ts +0 -1
  67. package/dist/components/types/credit-card/functions/styles.js +0 -37
  68. package/dist/components/types/credit-card/index.d.ts +0 -2
  69. package/dist/components/types/credit-card/index.js +0 -29
  70. package/dist/components/types/credit-card/styles.d.ts +0 -1
  71. package/dist/components/types/credit-card/styles.js +0 -34
  72. package/dist/components/types/credit-card/tools/index.d.ts +0 -6
  73. package/dist/components/types/credit-card/tools/index.js +0 -19
  74. package/dist/components/types/form/index.d.ts +0 -3
  75. package/dist/components/types/form/index.js +0 -53
  76. package/dist/components/types/form/styles.d.ts +0 -1
  77. package/dist/components/types/form/styles.js +0 -15
  78. package/dist/components/types/form/types/button/index.d.ts +0 -2
  79. package/dist/components/types/form/types/button/index.js +0 -8
  80. package/dist/components/types/form/types/button/loading/index.d.ts +0 -1
  81. package/dist/components/types/form/types/button/loading/index.js +0 -6
  82. package/dist/components/types/form/types/button/loading/styles.d.ts +0 -1
  83. package/dist/components/types/form/types/button/loading/styles.js +0 -88
  84. package/dist/components/types/form/types/button/styles.d.ts +0 -1
  85. package/dist/components/types/form/types/button/styles.js +0 -55
  86. package/dist/components/types/form/types/datetime/index.d.ts +0 -2
  87. package/dist/components/types/form/types/datetime/index.js +0 -20
  88. package/dist/components/types/form/types/datetime/styles.d.ts +0 -1
  89. package/dist/components/types/form/types/datetime/styles.js +0 -40
  90. package/dist/components/types/form/types/file/index.d.ts +0 -2
  91. package/dist/components/types/form/types/file/index.js +0 -24
  92. package/dist/components/types/form/types/file/styles.d.ts +0 -1
  93. package/dist/components/types/form/types/file/styles.js +0 -27
  94. package/dist/components/types/form/types/index.d.ts +0 -7
  95. package/dist/components/types/form/types/index.js +0 -7
  96. package/dist/components/types/form/types/input/index.d.ts +0 -2
  97. package/dist/components/types/form/types/input/index.js +0 -22
  98. package/dist/components/types/form/types/input/styles.d.ts +0 -1
  99. package/dist/components/types/form/types/input/styles.js +0 -46
  100. package/dist/components/types/form/types/label/index.d.ts +0 -2
  101. package/dist/components/types/form/types/label/index.js +0 -6
  102. package/dist/components/types/form/types/label/styles.d.ts +0 -1
  103. package/dist/components/types/form/types/label/styles.js +0 -7
  104. package/dist/components/types/form/types/select/index.d.ts +0 -2
  105. package/dist/components/types/form/types/select/index.js +0 -25
  106. package/dist/components/types/form/types/select/styles.d.ts +0 -1
  107. package/dist/components/types/form/types/select/styles.js +0 -52
  108. package/dist/components/types/form/types/textarea/index.d.ts +0 -2
  109. package/dist/components/types/form/types/textarea/index.js +0 -20
  110. package/dist/components/types/form/types/textarea/styles.d.ts +0 -1
  111. package/dist/components/types/form/types/textarea/styles.js +0 -39
  112. package/dist/components/types/index.d.ts +0 -11
  113. package/dist/components/types/index.js +0 -11
  114. package/dist/components/types/loading/app/index.d.ts +0 -2
  115. package/dist/components/types/loading/app/index.js +0 -7
  116. package/dist/components/types/loading/app/styles.d.ts +0 -1
  117. package/dist/components/types/loading/app/styles.js +0 -87
  118. package/dist/components/types/loading/bar/index.d.ts +0 -2
  119. package/dist/components/types/loading/bar/index.js +0 -6
  120. package/dist/components/types/loading/bar/styles.d.ts +0 -1
  121. package/dist/components/types/loading/bar/styles.js +0 -21
  122. package/dist/components/types/loading/index.d.ts +0 -2
  123. package/dist/components/types/loading/index.js +0 -2
  124. package/dist/components/types/logo/index.d.ts +0 -2
  125. package/dist/components/types/logo/index.js +0 -6
  126. package/dist/components/types/logo/styles.d.ts +0 -1
  127. package/dist/components/types/logo/styles.js +0 -19
  128. package/dist/components/types/lottie/animations/index.d.ts +0 -293
  129. package/dist/components/types/lottie/animations/index.js +0 -2
  130. package/dist/components/types/lottie/animations/loader.json +0 -1
  131. package/dist/components/types/lottie/index.d.ts +0 -2
  132. package/dist/components/types/lottie/index.js +0 -28
  133. package/dist/components/types/lottie/styles.d.ts +0 -1
  134. package/dist/components/types/lottie/styles.js +0 -22
  135. package/dist/components/types/modal/index.d.ts +0 -2
  136. package/dist/components/types/modal/index.js +0 -12
  137. package/dist/components/types/modal/styles.d.ts +0 -1
  138. package/dist/components/types/modal/styles.js +0 -153
  139. package/dist/components/types/table/index.d.ts +0 -3
  140. package/dist/components/types/table/index.js +0 -93
  141. package/dist/components/types/table/modal/actions.d.ts +0 -10
  142. package/dist/components/types/table/modal/actions.js +0 -6
  143. package/dist/components/types/table/modal/index.d.ts +0 -2
  144. package/dist/components/types/table/modal/index.js +0 -37
  145. package/dist/components/types/table/modal/styles.d.ts +0 -1
  146. package/dist/components/types/table/modal/styles.js +0 -52
  147. package/dist/components/types/table/paginate/index.d.ts +0 -2
  148. package/dist/components/types/table/paginate/index.js +0 -30
  149. package/dist/components/types/table/paginate/styles.d.ts +0 -1
  150. package/dist/components/types/table/paginate/styles.js +0 -36
  151. package/dist/components/types/table/styles.d.ts +0 -5
  152. package/dist/components/types/table/styles.js +0 -262
  153. package/dist/contexts/icon/assets/brands/index.d.ts +0 -2
  154. package/dist/contexts/icon/assets/brands/index.js +0 -7
  155. package/dist/contexts/icon/assets/index.d.ts +0 -6
  156. package/dist/contexts/icon/assets/index.js +0 -8
  157. package/dist/contexts/icon/assets/regular/index.d.ts +0 -2
  158. package/dist/contexts/icon/assets/regular/index.js +0 -7
  159. package/dist/contexts/icon/assets/solid/index.d.ts +0 -2
  160. package/dist/contexts/icon/assets/solid/index.js +0 -7
  161. package/dist/contexts/icon/index.d.ts +0 -4
  162. package/dist/contexts/icon/index.js +0 -75
  163. package/dist/contexts/icon/styles.d.ts +0 -1
  164. package/dist/contexts/icon/styles.js +0 -4
  165. package/dist/contexts/index.d.ts +0 -4
  166. package/dist/contexts/index.js +0 -5
  167. package/dist/contexts/modal/index.d.ts +0 -4
  168. package/dist/contexts/modal/index.js +0 -46
  169. package/dist/contexts/modal/styles.d.ts +0 -1
  170. package/dist/contexts/modal/styles.js +0 -4
  171. package/dist/contexts/theme/content.d.ts +0 -3
  172. package/dist/contexts/theme/content.js +0 -74
  173. package/dist/contexts/theme/index.d.ts +0 -4
  174. package/dist/contexts/theme/index.js +0 -26
  175. package/dist/contexts/theme/styles.d.ts +0 -1
  176. package/dist/contexts/theme/styles.js +0 -78
  177. package/dist/contexts/tooltip/index.d.ts +0 -6
  178. package/dist/contexts/tooltip/index.js +0 -58
  179. package/dist/contexts/tooltip/styles.d.ts +0 -1
  180. package/dist/contexts/tooltip/styles.js +0 -40
  181. package/dist/interfaces/components/avatar/index.d.ts +0 -6
  182. package/dist/interfaces/components/avatar/index.js +0 -1
  183. package/dist/interfaces/components/badge/index.d.ts +0 -3
  184. package/dist/interfaces/components/badge/index.js +0 -1
  185. package/dist/interfaces/components/block/index.d.ts +0 -16
  186. package/dist/interfaces/components/block/index.js +0 -1
  187. package/dist/interfaces/components/chart/index.d.ts +0 -9
  188. package/dist/interfaces/components/chart/index.js +0 -1
  189. package/dist/interfaces/components/credit-card/index.d.ts +0 -16
  190. package/dist/interfaces/components/credit-card/index.js +0 -1
  191. package/dist/interfaces/components/form/button/index.d.ts +0 -7
  192. package/dist/interfaces/components/form/button/index.js +0 -1
  193. package/dist/interfaces/components/form/datetime/index.d.ts +0 -15
  194. package/dist/interfaces/components/form/datetime/index.js +0 -1
  195. package/dist/interfaces/components/form/file/index.d.ts +0 -14
  196. package/dist/interfaces/components/form/file/index.js +0 -1
  197. package/dist/interfaces/components/form/index.d.ts +0 -16
  198. package/dist/interfaces/components/form/index.js +0 -7
  199. package/dist/interfaces/components/form/input/index.d.ts +0 -17
  200. package/dist/interfaces/components/form/input/index.js +0 -1
  201. package/dist/interfaces/components/form/label/index.d.ts +0 -5
  202. package/dist/interfaces/components/form/label/index.js +0 -1
  203. package/dist/interfaces/components/form/select/index.d.ts +0 -14
  204. package/dist/interfaces/components/form/select/index.js +0 -1
  205. package/dist/interfaces/components/form/textarea/index.d.ts +0 -16
  206. package/dist/interfaces/components/form/textarea/index.js +0 -1
  207. package/dist/interfaces/components/index.d.ts +0 -26
  208. package/dist/interfaces/components/index.js +0 -11
  209. package/dist/interfaces/components/loading/app/index.d.ts +0 -3
  210. package/dist/interfaces/components/loading/app/index.js +0 -1
  211. package/dist/interfaces/components/loading/bar/index.d.ts +0 -7
  212. package/dist/interfaces/components/loading/bar/index.js +0 -1
  213. package/dist/interfaces/components/loading/index.d.ts +0 -2
  214. package/dist/interfaces/components/loading/index.js +0 -2
  215. package/dist/interfaces/components/logo/index.d.ts +0 -6
  216. package/dist/interfaces/components/logo/index.js +0 -1
  217. package/dist/interfaces/components/lottie/index.d.ts +0 -12
  218. package/dist/interfaces/components/lottie/index.js +0 -1
  219. package/dist/interfaces/components/modal/index.d.ts +0 -16
  220. package/dist/interfaces/components/modal/index.js +0 -1
  221. package/dist/interfaces/components/table/index.d.ts +0 -46
  222. package/dist/interfaces/components/table/index.js +0 -1
  223. package/dist/interfaces/components/table/paginate/index.d.ts +0 -7
  224. package/dist/interfaces/components/table/paginate/index.js +0 -1
  225. package/dist/interfaces/contexts/icon/index.d.ts +0 -3
  226. package/dist/interfaces/contexts/icon/index.js +0 -1
  227. package/dist/interfaces/contexts/index.d.ts +0 -8
  228. package/dist/interfaces/contexts/index.js +0 -4
  229. package/dist/interfaces/contexts/modal/index.d.ts +0 -16
  230. package/dist/interfaces/contexts/modal/index.js +0 -2
  231. package/dist/interfaces/contexts/theme/index.d.ts +0 -42
  232. package/dist/interfaces/contexts/theme/index.js +0 -1
  233. package/dist/interfaces/contexts/tooltip/index.d.ts +0 -3
  234. package/dist/interfaces/contexts/tooltip/index.js +0 -1
  235. package/dist/interfaces/index.d.ts +0 -2
  236. package/dist/interfaces/index.js +0 -2
  237. package/dist/styled.d.ts +0 -6
  238. package/dist/styled.js +0 -1
  239. package/dist/tsup.config.d.ts +0 -2
  240. package/dist/tsup.config.js +0 -20
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,27 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- width: 100%;
5
- padding-top: .3rem;
6
-
7
- .iz-image-content {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
12
- border-radius: 5px;
13
- overflow: hidden;
14
- padding: .5rem 1rem;
15
- width: 100%;
16
- font-size: .8rem;
17
- background: ${(props) => props.disabled ? "${({ theme }) => theme.t2}" : "${({ theme }) => theme.primary}"};
18
- opacity: ${(props) => props.disabled ? ".7" : "1"};
19
- color: ${({ theme }) => theme.t6};
20
- cursor: pointer;
21
- }
22
-
23
- .iz-input-error {
24
- color: ${({ theme }) => theme.negative};
25
- font-size: .7rem;
26
- }
27
- `;
@@ -1,7 +0,0 @@
1
- export * from "./file";
2
- export * from "./label";
3
- export * from "./input";
4
- export * from "./select";
5
- export * from "./button";
6
- export * from "./datetime";
7
- export * from "./textarea";
@@ -1,7 +0,0 @@
1
- export * from "./file";
2
- export * from "./label";
3
- export * from "./input";
4
- export * from "./select";
5
- export * from "./button";
6
- export * from "./datetime";
7
- export * from "./textarea";
@@ -1,2 +0,0 @@
1
- import { IInputText } from "../../../../../interfaces";
2
- export declare function InputText(props: IInputText): import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- "use client";
2
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
- import { useState } from "react";
4
- import { Container } from "./styles";
5
- import { InputLabel } from "../label";
6
- import _ from "lodash";
7
- export function InputText(props) {
8
- const [showPassword, setShowPassword] = useState(false);
9
- const register = (props.register || ((name) => ({})))(props.name || "");
10
- const onChange = (event) => {
11
- const value = event.target.value || "";
12
- event.target.value = props.mask ? props.mask(value) : value;
13
- if (register.onChange)
14
- register.onChange(event);
15
- if (props.onChange)
16
- props.onChange(value);
17
- };
18
- return (_jsxs(Container, { className: props.className, error: props.error, password: props.type === "password", children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsxs("div", { className: "iz-input-content", children: [_jsx("input", { ..._.omit(props, ["className", "register", "mask"]), type: props.type === "password" ? showPassword ? "text" : "password" : props.type, maxLength: props.maxLength || 255, onFocus: () => {
19
- if (props.onFocus)
20
- props.onFocus(props.name);
21
- }, ...register, onChange: onChange }), props.type === "password" && (_jsx("i", { "aria-hidden": true, className: showPassword ? "fa-solid fa-eye-slash" : "fa-solid fa-eye", onClick: () => setShowPassword(!showPassword) }))] }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
22
- }
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,46 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- width: 100%;
5
- padding-top: .3rem;
6
-
7
- .iz-input-content {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
12
- border-radius: 5px;
13
- overflow: hidden;
14
- padding-right: ${({ password }) => password ? ".6rem" : "0rem"};
15
- background-color: ${({ theme }) => theme.primary};
16
-
17
- input {
18
- border: 0;
19
- padding: .5rem 1rem;
20
- width: 100%;
21
- font-size: .8rem;
22
- background-color: ${({ theme }) => theme.primary};
23
- color: ${({ theme }) => theme.t6};
24
-
25
- &:disabled {
26
- background-color: ${({ theme }) => theme.t2};
27
- color: ${({ theme }) => theme.t6};
28
- opacity: .7;
29
- }
30
-
31
- &:focus-visible {
32
- outline: none;
33
- }
34
- }
35
-
36
- i {
37
- color: ${({ theme }) => theme.t3};
38
- cursor: pointer;
39
- }
40
- }
41
-
42
- .iz-input-error {
43
- color: ${({ theme }) => theme.negative};
44
- font-size: .7rem;
45
- }
46
- `;
@@ -1,2 +0,0 @@
1
- import { IInputLabel } from "../../../../../interfaces";
2
- export declare function InputLabel(props: IInputLabel): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Container } from "./styles";
4
- export function InputLabel(props) {
5
- return (_jsx(Container, { className: props.className, children: props.children }));
6
- }
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,7 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.label `
4
- font-size: .8rem;
5
- font-weight: 500;
6
- color: ${({ theme }) => theme.t6};
7
- `;
@@ -1,2 +0,0 @@
1
- import { IInputSelect } from "../../../../../interfaces";
2
- export declare function InputSelect(props: IInputSelect): import("react/jsx-runtime").JSX.Element;
@@ -1,25 +0,0 @@
1
- "use client";
2
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
- import { useState } from "react";
4
- import { Container } from "./styles";
5
- import { InputLabel } from "../label";
6
- import _ from "lodash";
7
- export function InputSelect(props) {
8
- const [focus, setFocus] = useState(false);
9
- const register = (props.register || ((name) => ({})))(props.name || "");
10
- const onChange = (event) => {
11
- const value = event.target.value || "";
12
- if (register.onChange)
13
- register.onChange(event);
14
- if (props.onChange)
15
- props.onChange(value);
16
- };
17
- return (_jsxs(Container, { className: props.className, error: props.error, children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsxs("div", { className: "iz-input-content", children: [_jsx("select", { ..._.omit(props, ["className", "onChange", "onFocus", "options", "onMouseDown", "onBlur", "maxLength", "required", "register"]), onMouseDown: () => setFocus(!focus), onFocus: () => {
18
- if (props.onFocus)
19
- props.onFocus(props.name);
20
- }, ...register, onBlur: (event) => {
21
- if (register.onBlur)
22
- register.onBlur(event);
23
- setFocus(false);
24
- }, onChange: onChange, children: _.map(props.options, (data, index) => _jsx("option", { value: Object.keys(data), children: Object.values(data) }, index)) }), _jsx("i", { "aria-hidden": true, className: focus ? "fa-solid fa-chevron-up" : "fa-solid fa-chevron-down" })] }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
25
- }
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,52 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- width: 100%;
5
- padding-top: .3rem;
6
-
7
- .iz-input-content {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
12
- border-radius: 5px;
13
- overflow: hidden;
14
- position: relative;
15
- cursor: pointer;
16
-
17
- select {
18
- border: 0;
19
- padding: .5rem 2.3rem .5rem 1rem;
20
- width: 100%;
21
- font-size: .8rem;
22
- appearance: none;
23
- cursor: pointer;
24
- background-color: ${({ theme }) => theme.primary};
25
- color: ${({ theme }) => theme.t6};
26
-
27
- &:disabled {
28
- background-color: ${({ theme }) => theme.t2};
29
- color: ${({ theme }) => theme.t6};
30
- opacity: .7;
31
- }
32
-
33
- &:focus-visible {
34
- outline: none;
35
- }
36
- }
37
-
38
- i {
39
- position: absolute;
40
- top: 50%;
41
- right: .8rem;
42
- transform: translateY(-50%);
43
- font-size: .8rem;
44
- color: ${({ theme }) => theme.t6};
45
- }
46
- }
47
-
48
- .iz-input-error {
49
- color: ${({ theme }) => theme.negative};
50
- font-size: .7rem;
51
- }
52
- `;
@@ -1,2 +0,0 @@
1
- import { IInputTextarea } from "../../../../../interfaces";
2
- export declare function InputTextarea(props: IInputTextarea): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +0,0 @@
1
- "use client";
2
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
- import { Container } from "./styles";
4
- import { InputLabel } from "../label";
5
- import _ from "lodash";
6
- export function InputTextarea(props) {
7
- const register = (props.register || ((name) => ({})))(props.name || "");
8
- const onChange = (event) => {
9
- const value = event.target.value || "";
10
- event.target.value = props.mask ? props.mask(value) : value;
11
- if (register.onChange)
12
- register.onChange(event);
13
- if (props.onChange)
14
- props.onChange(value);
15
- };
16
- return (_jsxs(Container, { className: props.className, error: props.error, children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsx("div", { className: "iz-input-content", children: _jsx("textarea", { ..._.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "required", "register"]), maxLength: props.maxLength, rows: props.rows || 5, onFocus: () => {
17
- if (props.onFocus)
18
- props.onFocus(props.name);
19
- }, ...register, onChange: onChange }) }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
20
- }
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,39 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- width: 100%;
5
- padding-top: .3rem;
6
-
7
- .iz-input-content {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
12
- border-radius: 5px;
13
- overflow: hidden;
14
-
15
- textarea {
16
- border: 0;
17
- padding: .5rem 1rem;
18
- width: 100%;
19
- font-size: .8rem;
20
- background-color: ${({ theme }) => theme.primary};
21
- color: ${({ theme }) => theme.t6};
22
-
23
- &:disabled {
24
- background-color: ${({ theme }) => theme.t2};
25
- color: ${({ theme }) => theme.t6};
26
- opacity: .7;
27
- }
28
-
29
- &:focus-visible {
30
- outline: none;
31
- }
32
- }
33
- }
34
-
35
- .iz-input-error {
36
- color: ${({ theme }) => theme.negative};
37
- font-size: .7rem;
38
- }
39
- `;
@@ -1,11 +0,0 @@
1
- export * from "./table";
2
- export * from "./loading";
3
- export * from "./modal";
4
- export * from "./badge";
5
- export * from "./logo";
6
- export * from "./form";
7
- export * from "./chart";
8
- export * from "./avatar";
9
- export * from "./lottie";
10
- export * from "./credit-card";
11
- export * from "./block";
@@ -1,11 +0,0 @@
1
- export * from "./table";
2
- export * from "./loading";
3
- export * from "./modal";
4
- export * from "./badge";
5
- export * from "./logo";
6
- export * from "./form";
7
- export * from "./chart";
8
- export * from "./avatar";
9
- export * from "./lottie";
10
- export * from "./credit-card";
11
- export * from "./block";
@@ -1,2 +0,0 @@
1
- import { ILoadingApp } from "../../../../interfaces";
2
- export declare function LoadingApp(props: ILoadingApp): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Container } from "./styles";
4
- import { Logo } from "../../logo";
5
- export function LoadingApp(props) {
6
- return (_jsx(Container, { ...props, children: _jsx(Logo, { className: "iz-loading-logo", onlyPrefix: true }) }));
7
- }
@@ -1 +0,0 @@
1
- export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
@@ -1,87 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- width: ${({ initialization }) => initialization ? "100vw" : "100%"};
5
- height: ${({ initialization }) => initialization ? "100vh" : "calc(100vh - 15rem)"};
6
- display: flex;
7
- justify-content: center;
8
- align-items: center;
9
- position: ${({ initialization }) => initialization ? "absolute" : "relative"};;
10
- bottom: 0;
11
- left: 0;
12
- background: ${({ initialization, theme }) => initialization ? `${theme.maingrad}, ${theme.primary}` : "transparent"};
13
- z-index: ${({ initialization }) => initialization ? "9" : "0"};
14
-
15
- .iz-loading-logo {
16
- font-size: 4rem;
17
- opacity: 40%;
18
- animation: loop 2s infinite;
19
- position: relative;
20
-
21
- &::before {
22
- content: "";
23
- position: absolute;
24
- width: 5rem;
25
- height: 5rem;
26
- animation: firstImpact 2s .5s infinite ease;
27
- background: ${({ theme }) => theme.t05};
28
- border-radius: 50%;
29
- z-index: 0;
30
- opacity: 0;
31
- }
32
-
33
- &::after {
34
- content: "";
35
- position: absolute;
36
- width: 5rem;
37
- height: 5rem;
38
- animation: secondImpact 2s .5s infinite ease;
39
- background: ${({ theme }) => theme.t05};
40
- border-radius: 50%;
41
- z-index: 0;
42
- opacity: 0;
43
- }
44
-
45
- @keyframes loop {
46
- 0% {
47
- transform: scale(1);
48
- }
49
- 80% {
50
- transform: scale(1.3);
51
- }
52
- 100% {
53
- transform: scale(1);
54
- }
55
- }
56
-
57
- @keyframes firstImpact {
58
- 0% {
59
- transform: scale(1);
60
- opacity: 0;
61
- }
62
- 10% {
63
- transform: scale(1.6);
64
- opacity: 1;
65
- }
66
- 100% {
67
- transform: scale(1.6);
68
- opacity: 0;
69
- }
70
- }
71
-
72
- @keyframes secondImpact {
73
- 0% {
74
- transform: scale(1);
75
- opacity: 0;
76
- }
77
- 40% {
78
- transform: scale(1.3);
79
- opacity: 1;
80
- }
81
- 100% {
82
- transform: scale(1.3);
83
- opacity: 0;
84
- }
85
- }
86
- }
87
- `;
@@ -1,2 +0,0 @@
1
- import { ILoadingBar } from "../../../../interfaces";
2
- export declare function LoadingBar(props: ILoadingBar): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Container } from "./styles";
4
- export function LoadingBar(props) {
5
- return _jsx(Container, { ...props });
6
- }
@@ -1 +0,0 @@
1
- export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
@@ -1,21 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- border-radius: ${(props) => props.borderRadius || "10px"};
5
- height: ${(props) => props.height || "100%"};
6
- width: ${(props) => props.width || "100%"};
7
- animation: loading infinite 2s;
8
- margin: ${(props) => props.margin || "0px"};
9
-
10
- @keyframes loading {
11
- 0% {
12
- background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
13
- }
14
- 50% {
15
- background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.10)" : "rgb(255, 255, 255, 0.15)"};
16
- }
17
- 100% {
18
- background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
19
- }
20
- }
21
- `;
@@ -1,2 +0,0 @@
1
- export * from "./bar";
2
- export * from "./app";
@@ -1,2 +0,0 @@
1
- export * from "./bar";
2
- export * from "./app";
@@ -1,2 +0,0 @@
1
- import { ILogo } from "../../../interfaces";
2
- export declare function Logo(props: ILogo): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Container } from "./styles";
4
- export function Logo(props) {
5
- return (_jsxs(Container, { ...props, children: [_jsx("label", { children: "IZ" }), !props.onlyPrefix && _jsx("label", { children: "Way" })] }));
6
- }
@@ -1 +0,0 @@
1
- export declare const Container: any;
@@ -1,19 +0,0 @@
1
- "use client";
2
- import styled from "styled-components";
3
- export const Container = styled.div `
4
- display: flex;
5
- align-items: center;
6
- justify-content: center;
7
- gap: .3rem;
8
- font-size: ${(props) => props.size || "2"}rem;
9
- color: ${(props) => props.theme.t5};
10
-
11
- label:first-child {
12
- font-weight: 900;
13
- color: ${(props) => props.theme.secondary};
14
- }
15
-
16
- label:last-child {
17
- font-weight: 600;
18
- }
19
- `;