@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.
Files changed (217) hide show
  1. package/dist/components/index.d.ts +3 -10
  2. package/dist/components/index.mjs +3082 -11
  3. package/dist/components/styles.d.ts +2 -0
  4. package/dist/components/styles.mjs +21 -0
  5. package/dist/components/types/avatar/index.d.ts +2 -0
  6. package/dist/components/types/avatar/index.mjs +88 -0
  7. package/dist/components/types/avatar/styles.d.ts +1 -0
  8. package/dist/components/types/avatar/styles.mjs +61 -0
  9. package/dist/components/types/badge/index.d.ts +2 -0
  10. package/dist/components/types/badge/index.mjs +324 -0
  11. package/dist/components/types/badge/styles.d.ts +1 -0
  12. package/dist/components/types/badge/styles.mjs +39 -0
  13. package/dist/components/types/block/index.d.ts +2 -0
  14. package/dist/components/types/block/index.mjs +3078 -0
  15. package/dist/components/types/block/styles.d.ts +2 -0
  16. package/dist/components/types/block/styles.mjs +32 -0
  17. package/dist/components/types/chart/index.d.ts +2 -0
  18. package/dist/components/types/chart/index.mjs +322 -0
  19. package/dist/components/types/chart/styles.d.ts +1 -0
  20. package/dist/components/types/chart/styles.mjs +10 -0
  21. package/dist/components/types/credit-card/assets/index.d.ts +4 -0
  22. package/dist/components/types/credit-card/assets/index.mjs +23 -0
  23. package/dist/components/types/credit-card/card/index.d.ts +2 -0
  24. package/dist/components/types/credit-card/card/index.mjs +732 -0
  25. package/dist/components/types/credit-card/card/styles.d.ts +1 -0
  26. package/dist/components/types/credit-card/card/styles.mjs +138 -0
  27. package/dist/components/types/credit-card/functions/index.d.ts +2 -0
  28. package/dist/components/types/credit-card/functions/index.mjs +61 -0
  29. package/dist/components/types/credit-card/functions/styles.d.ts +1 -0
  30. package/dist/components/types/credit-card/functions/styles.mjs +43 -0
  31. package/dist/components/types/credit-card/index.d.ts +2 -0
  32. package/dist/components/types/credit-card/index.mjs +853 -0
  33. package/dist/components/types/credit-card/styles.d.ts +1 -0
  34. package/dist/components/types/credit-card/styles.mjs +40 -0
  35. package/dist/components/types/credit-card/tools/index.d.ts +6 -0
  36. package/dist/components/types/credit-card/tools/index.mjs +566 -0
  37. package/dist/components/types/form/index.d.ts +3 -0
  38. package/dist/components/types/form/index.mjs +711 -0
  39. package/dist/components/types/form/styles.d.ts +1 -0
  40. package/dist/components/types/form/styles.mjs +21 -0
  41. package/dist/components/types/form/types/button/index.d.ts +2 -0
  42. package/dist/components/types/form/types/button/index.mjs +165 -0
  43. package/dist/components/types/form/types/button/loading/index.d.ts +1 -0
  44. package/dist/components/types/form/types/button/loading/index.mjs +104 -0
  45. package/dist/components/types/form/types/button/loading/styles.d.ts +1 -0
  46. package/dist/components/types/form/types/button/loading/styles.mjs +94 -0
  47. package/dist/components/types/form/types/button/styles.d.ts +1 -0
  48. package/dist/components/types/form/types/button/styles.mjs +47 -0
  49. package/dist/components/types/form/types/datetime/index.d.ts +2 -0
  50. package/dist/components/types/form/types/datetime/index.mjs +93 -0
  51. package/dist/components/types/form/types/datetime/styles.d.ts +1 -0
  52. package/dist/components/types/form/types/datetime/styles.mjs +46 -0
  53. package/dist/components/types/form/types/file/index.d.ts +2 -0
  54. package/dist/components/types/form/types/file/index.mjs +91 -0
  55. package/dist/components/types/form/types/file/styles.d.ts +1 -0
  56. package/dist/components/types/form/types/file/styles.mjs +33 -0
  57. package/dist/components/types/form/types/index.d.ts +7 -0
  58. package/dist/components/types/form/types/index.mjs +603 -0
  59. package/dist/components/types/form/types/input/index.d.ts +2 -0
  60. package/dist/components/types/form/types/input/index.mjs +113 -0
  61. package/dist/components/types/form/types/input/styles.d.ts +1 -0
  62. package/dist/components/types/form/types/input/styles.mjs +52 -0
  63. package/dist/components/types/form/types/label/index.d.ts +2 -0
  64. package/dist/components/types/form/types/label/index.mjs +19 -0
  65. package/dist/components/types/form/types/label/styles.d.ts +1 -0
  66. package/dist/components/types/form/types/label/styles.mjs +13 -0
  67. package/dist/components/types/form/types/select/index.d.ts +2 -0
  68. package/dist/components/types/form/types/select/index.mjs +125 -0
  69. package/dist/components/types/form/types/select/styles.d.ts +1 -0
  70. package/dist/components/types/form/types/select/styles.mjs +58 -0
  71. package/dist/components/types/form/types/textarea/index.d.ts +2 -0
  72. package/dist/components/types/form/types/textarea/index.mjs +92 -0
  73. package/dist/components/types/form/types/textarea/styles.d.ts +1 -0
  74. package/dist/components/types/form/types/textarea/styles.mjs +45 -0
  75. package/dist/components/types/index.d.ts +11 -0
  76. package/dist/components/types/index.mjs +3094 -0
  77. package/dist/components/types/loading/app/index.d.ts +2 -0
  78. package/dist/components/types/loading/app/index.mjs +128 -0
  79. package/dist/components/types/loading/app/styles.d.ts +1 -0
  80. package/dist/components/types/loading/app/styles.mjs +93 -0
  81. package/dist/components/types/loading/bar/index.d.ts +2 -0
  82. package/dist/components/types/loading/bar/index.mjs +33 -0
  83. package/dist/components/types/loading/bar/styles.d.ts +1 -0
  84. package/dist/components/types/loading/bar/styles.mjs +27 -0
  85. package/dist/components/types/loading/index.d.ts +2 -0
  86. package/dist/components/types/loading/index.mjs +156 -0
  87. package/dist/components/types/logo/index.d.ts +2 -0
  88. package/dist/components/types/logo/index.mjs +34 -0
  89. package/dist/components/types/logo/styles.d.ts +1 -0
  90. package/dist/components/types/logo/styles.mjs +25 -0
  91. package/dist/components/types/lottie/animations/index.d.ts +293 -0
  92. package/dist/components/types/lottie/animations/index.mjs +10 -0
  93. package/dist/components/types/lottie/index.d.ts +2 -0
  94. package/dist/components/types/lottie/index.mjs +69 -0
  95. package/dist/components/types/lottie/styles.d.ts +1 -0
  96. package/dist/components/types/lottie/styles.mjs +28 -0
  97. package/dist/components/types/modal/index.d.ts +2 -0
  98. package/dist/components/types/modal/index.mjs +2324 -0
  99. package/dist/components/types/modal/styles.d.ts +1 -0
  100. package/dist/components/types/modal/styles.mjs +135 -0
  101. package/dist/components/types/table/index.d.ts +3 -0
  102. package/dist/components/types/table/index.mjs +3079 -0
  103. package/dist/components/types/table/modal/actions.d.ts +10 -0
  104. package/dist/components/types/table/modal/actions.mjs +87 -0
  105. package/dist/components/types/table/modal/index.d.ts +2 -0
  106. package/dist/components/types/table/modal/index.mjs +3076 -0
  107. package/dist/components/types/table/modal/styles.d.ts +1 -0
  108. package/dist/components/types/table/modal/styles.mjs +58 -0
  109. package/dist/components/types/table/paginate/index.d.ts +2 -0
  110. package/dist/components/types/table/paginate/index.mjs +96 -0
  111. package/dist/components/types/table/paginate/styles.d.ts +1 -0
  112. package/dist/components/types/table/paginate/styles.mjs +42 -0
  113. package/dist/components/types/table/styles.d.ts +5 -0
  114. package/dist/components/types/table/styles.mjs +268 -0
  115. package/dist/contexts/icon/assets/brands/index.d.ts +2 -0
  116. package/dist/contexts/icon/assets/brands/index.mjs +19 -0
  117. package/dist/contexts/icon/assets/index.d.ts +6 -0
  118. package/dist/contexts/icon/assets/index.mjs +44 -0
  119. package/dist/contexts/icon/assets/regular/index.d.ts +2 -0
  120. package/dist/contexts/icon/assets/regular/index.mjs +19 -0
  121. package/dist/contexts/icon/assets/solid/index.d.ts +2 -0
  122. package/dist/contexts/icon/assets/solid/index.mjs +19 -0
  123. package/dist/contexts/icon/index.d.ts +4 -0
  124. package/dist/contexts/icon/index.mjs +281 -0
  125. package/dist/contexts/icon/styles.d.ts +1 -0
  126. package/dist/contexts/icon/styles.mjs +10 -0
  127. package/dist/contexts/index.d.ts +4 -20
  128. package/dist/contexts/index.mjs +486 -4
  129. package/dist/contexts/modal/index.d.ts +4 -0
  130. package/dist/contexts/modal/index.mjs +66 -0
  131. package/dist/contexts/modal/styles.d.ts +1 -0
  132. package/dist/contexts/modal/styles.mjs +10 -0
  133. package/dist/contexts/theme/content.d.ts +3 -0
  134. package/dist/contexts/theme/content.mjs +81 -0
  135. package/dist/contexts/theme/index.d.ts +4 -0
  136. package/dist/contexts/theme/index.mjs +201 -0
  137. package/dist/contexts/theme/styles.d.ts +1 -0
  138. package/dist/contexts/theme/styles.mjs +84 -0
  139. package/dist/contexts/tooltip/index.d.ts +6 -0
  140. package/dist/contexts/tooltip/index.mjs +117 -0
  141. package/dist/contexts/tooltip/styles.d.ts +1 -0
  142. package/dist/contexts/tooltip/styles.mjs +46 -0
  143. package/dist/index.d.ts +4 -17
  144. package/dist/index.mjs +3312 -4
  145. package/dist/interfaces/components/avatar/index.d.ts +6 -0
  146. package/dist/interfaces/components/avatar/index.mjs +1 -0
  147. package/dist/interfaces/components/badge/index.d.ts +3 -0
  148. package/dist/interfaces/components/badge/index.mjs +1 -0
  149. package/dist/interfaces/components/block/index.d.ts +16 -0
  150. package/dist/interfaces/components/block/index.mjs +1 -0
  151. package/dist/interfaces/components/chart/index.d.ts +9 -0
  152. package/dist/interfaces/components/chart/index.mjs +1 -0
  153. package/dist/interfaces/components/credit-card/index.d.ts +16 -0
  154. package/dist/interfaces/components/credit-card/index.mjs +1 -0
  155. package/dist/interfaces/components/form/button/index.d.ts +7 -0
  156. package/dist/interfaces/components/form/button/index.mjs +1 -0
  157. package/dist/interfaces/components/form/datetime/index.d.ts +15 -0
  158. package/dist/interfaces/components/form/datetime/index.mjs +1 -0
  159. package/dist/interfaces/components/form/file/index.d.ts +14 -0
  160. package/dist/interfaces/components/form/file/index.mjs +1 -0
  161. package/dist/interfaces/components/form/index.d.ts +16 -0
  162. package/dist/interfaces/components/form/index.mjs +1 -0
  163. package/dist/interfaces/components/form/input/index.d.ts +17 -0
  164. package/dist/interfaces/components/form/input/index.mjs +1 -0
  165. package/dist/interfaces/components/form/label/index.d.ts +5 -0
  166. package/dist/interfaces/components/form/label/index.mjs +1 -0
  167. package/dist/interfaces/components/form/select/index.d.ts +14 -0
  168. package/dist/interfaces/components/form/select/index.mjs +1 -0
  169. package/dist/interfaces/components/form/textarea/index.d.ts +16 -0
  170. package/dist/interfaces/components/form/textarea/index.mjs +1 -0
  171. package/dist/interfaces/components/index.d.ts +26 -0
  172. package/dist/interfaces/components/index.mjs +1 -0
  173. package/dist/interfaces/components/loading/app/index.d.ts +3 -0
  174. package/dist/interfaces/components/loading/app/index.mjs +1 -0
  175. package/dist/interfaces/components/loading/bar/index.d.ts +7 -0
  176. package/dist/interfaces/components/loading/bar/index.mjs +1 -0
  177. package/dist/interfaces/components/loading/index.d.ts +2 -0
  178. package/dist/interfaces/components/loading/index.mjs +1 -0
  179. package/dist/interfaces/components/logo/index.d.ts +6 -0
  180. package/dist/interfaces/components/logo/index.mjs +1 -0
  181. package/dist/interfaces/components/lottie/index.d.ts +12 -0
  182. package/dist/interfaces/components/lottie/index.mjs +1 -0
  183. package/dist/interfaces/components/modal/index.d.ts +16 -0
  184. package/dist/interfaces/components/modal/index.mjs +1 -0
  185. package/dist/interfaces/components/table/index.d.ts +46 -0
  186. package/dist/interfaces/components/table/index.mjs +1 -0
  187. package/dist/interfaces/components/table/paginate/index.d.ts +7 -0
  188. package/dist/interfaces/components/table/paginate/index.mjs +1 -0
  189. package/dist/interfaces/contexts/icon/index.d.ts +3 -0
  190. package/dist/interfaces/contexts/icon/index.mjs +1 -0
  191. package/dist/interfaces/contexts/index.d.ts +8 -0
  192. package/dist/interfaces/contexts/index.mjs +1 -0
  193. package/dist/interfaces/contexts/modal/index.d.ts +16 -0
  194. package/dist/interfaces/contexts/modal/index.mjs +2 -0
  195. package/dist/interfaces/contexts/theme/index.d.ts +42 -0
  196. package/dist/interfaces/contexts/theme/index.mjs +1 -0
  197. package/dist/interfaces/contexts/tooltip/index.d.ts +3 -0
  198. package/dist/interfaces/contexts/tooltip/index.mjs +1 -0
  199. package/dist/interfaces/index.d.ts +2 -12
  200. package/dist/interfaces/index.mjs +0 -2
  201. package/dist/styled.d.ts +6 -0
  202. package/dist/tsup.config.d.ts +2 -0
  203. package/package.json +13 -7
  204. package/dist/components/index.d.mts +0 -10
  205. package/dist/components/index.js +0 -63
  206. package/dist/contexts/index.d.mts +0 -20
  207. package/dist/contexts/index.js +0 -30
  208. package/dist/index-BhaGW0O1.d.ts +0 -601
  209. package/dist/index-BxA8LyyD.d.mts +0 -68
  210. package/dist/index-DDi0w5pw.d.mts +0 -601
  211. package/dist/index-DT7VKE7H.d.ts +0 -68
  212. package/dist/index-Da-DtPS-.d.mts +0 -29
  213. package/dist/index-Da-DtPS-.d.ts +0 -29
  214. package/dist/index.d.mts +0 -17
  215. package/dist/index.js +0 -28
  216. package/dist/interfaces/index.d.mts +0 -12
  217. package/dist/interfaces/index.js +0 -25
@@ -0,0 +1 @@
1
+ export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,58 @@
1
+ "use client";
2
+ "use client";
3
+
4
+ // components/types/table/modal/styles.tsx
5
+ import styled from "styled-components";
6
+ var Content = styled.div`
7
+ padding: 1.5rem;
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: 1.5rem;
11
+
12
+ .iz-table-modal-title {
13
+ font-size: 1.2rem;
14
+ font-weight: 500;
15
+ width: 100%;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ color: ${({ theme }) => theme.t6};
20
+ }
21
+
22
+ .iz-table-modal-content {
23
+ ul {
24
+ li {
25
+ border-bottom: solid 1px ${({ theme }) => theme.t05};
26
+ padding: .8rem 0;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: space-between;
30
+ gap: 1rem;
31
+ font-size: .8rem;
32
+ color: ${({ theme }) => theme.t6};
33
+
34
+ &:last-child {
35
+ border-bottom: none;
36
+ }
37
+
38
+ .iz-table-modal-column {
39
+ background: ${({ theme }) => theme.t05};
40
+ padding: .5rem .8rem;
41
+ font-weight: 600;
42
+ border-radius: 5px;
43
+ }
44
+
45
+ .iz-table-modal-row {
46
+ text-align: right;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ .iz-table-modal-actions {
53
+ margin-top: 1rem;
54
+ }
55
+ `;
56
+ export {
57
+ Content
58
+ };
@@ -0,0 +1,2 @@
1
+ import { IPaginate } from "@interfaces";
2
+ export declare function Paginate(props: IPaginate): false | import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ "use client";
3
+
4
+ // components/types/table/paginate/styles.tsx
5
+ import styled from "styled-components";
6
+ var Container = styled.div`
7
+ width: 100%;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ margin-top: 1.5rem;
12
+
13
+ .paginate {
14
+ font-size: .8rem;
15
+ font-weight: 500;
16
+ height: 1.5rem;
17
+ padding: 0 .6rem;
18
+ border-radius: 1rem;
19
+ transition: ease .3s;
20
+ color: ${({ theme }) => theme.t6};
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ cursor: pointer;
25
+
26
+ &[data-current="true"] {
27
+ background: ${({ theme }) => theme.tertiary};
28
+ color: ${({ theme }) => theme.secondary};
29
+
30
+ &:hover {
31
+ background: ${({ theme }) => theme.tertiary};
32
+ }
33
+ }
34
+
35
+ &:hover {
36
+ background: ${({ theme }) => theme.t05};
37
+ }
38
+ }
39
+ `;
40
+
41
+ // components/types/table/paginate/index.tsx
42
+ import _ from "lodash";
43
+ import { jsx, jsxs } from "react/jsx-runtime";
44
+ function Paginate(props) {
45
+ const pages = () => {
46
+ const offset = Number(props.page.value) - 4;
47
+ let page = offset > 0 ? offset + 1 : 1;
48
+ let pages2 = [];
49
+ while (Number(props.total) >= page) {
50
+ pages2.push(page);
51
+ page++;
52
+ }
53
+ pages2 = _.slice(pages2, 0, 5);
54
+ if (Number(props.page.value) + 1 > 5) pages2 = _.concat(["1.."], pages2);
55
+ if (Number(props.total) > 6 && Number(props.page.value) + 1 < Number(props.total)) return _.concat(pages2, `..${props.total}`);
56
+ return pages2;
57
+ };
58
+ return Number(props.total) > 1 && /* @__PURE__ */ jsxs(Container, { children: [
59
+ /* @__PURE__ */ jsx(
60
+ "div",
61
+ {
62
+ className: "paginate back",
63
+ onClick: () => props.page.set ? props.page.set(
64
+ props.page.value ? props.page.value - 1 : props.page.value
65
+ ) : null,
66
+ children: /* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-left" })
67
+ }
68
+ ),
69
+ _.map(
70
+ pages(),
71
+ (page, index) => /* @__PURE__ */ jsx(
72
+ "div",
73
+ {
74
+ className: "paginate page",
75
+ "data-current": String(props.page.value === Number(_.replace(page, /\D/g, "")) - 1),
76
+ onClick: () => props.page.set ? props.page.set(Number(_.replace(page, /\D/g, "")) - 1) : null,
77
+ children: page
78
+ },
79
+ index
80
+ )
81
+ ),
82
+ /* @__PURE__ */ jsx(
83
+ "div",
84
+ {
85
+ className: "paginate next",
86
+ onClick: () => props.page.set ? props.page.set(
87
+ props.page.value !== props.total - 1 ? props.page.value + 1 : props.page.value
88
+ ) : null,
89
+ children: /* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-right" })
90
+ }
91
+ )
92
+ ] });
93
+ }
94
+ export {
95
+ Paginate
96
+ };
@@ -0,0 +1 @@
1
+ export declare const Container: any;
@@ -0,0 +1,42 @@
1
+ "use client";
2
+ "use client";
3
+
4
+ // components/types/table/paginate/styles.tsx
5
+ import styled from "styled-components";
6
+ var Container = styled.div`
7
+ width: 100%;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ margin-top: 1.5rem;
12
+
13
+ .paginate {
14
+ font-size: .8rem;
15
+ font-weight: 500;
16
+ height: 1.5rem;
17
+ padding: 0 .6rem;
18
+ border-radius: 1rem;
19
+ transition: ease .3s;
20
+ color: ${({ theme }) => theme.t6};
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ cursor: pointer;
25
+
26
+ &[data-current="true"] {
27
+ background: ${({ theme }) => theme.tertiary};
28
+ color: ${({ theme }) => theme.secondary};
29
+
30
+ &:hover {
31
+ background: ${({ theme }) => theme.tertiary};
32
+ }
33
+ }
34
+
35
+ &:hover {
36
+ background: ${({ theme }) => theme.t05};
37
+ }
38
+ }
39
+ `;
40
+ export {
41
+ Container
42
+ };
@@ -0,0 +1,5 @@
1
+ interface IProps {
2
+ notFound?: boolean;
3
+ }
4
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IProps>> & string;
5
+ export {};
@@ -0,0 +1,268 @@
1
+ "use client";
2
+ "use client";
3
+
4
+ // components/types/table/styles.tsx
5
+ import styled from "styled-components";
6
+ var Container = styled.div`
7
+ .iz-table-container {
8
+ overflow-x: auto;
9
+
10
+ &::-webkit-scrollbar {
11
+ width: 0;
12
+ height: ${(props) => props.notFound ? "0px" : "5px"};
13
+ }
14
+
15
+ &::-webkit-scrollbar-track {
16
+ background: transparent;
17
+ }
18
+
19
+ &::-webkit-scrollbar-thumb {
20
+ background-color: rgb(255, 255, 255, 0.1);
21
+ border-radius: 5px;
22
+ }
23
+
24
+ table {
25
+ font-size: .8rem;
26
+ border: 0;
27
+ color: ${({ theme }) => theme.t6};
28
+ overflow-x: ${(props) => props.notFound ? "auto" : "hidden"};
29
+ width: 100%;
30
+ border-spacing: 0;
31
+
32
+ .iz-table-content {
33
+ background: ${({ theme }) => theme.t05};
34
+ height: 2.7rem;
35
+ padding: 0.8rem 1.3rem;
36
+ margin-top: 0.5rem;
37
+ white-space: nowrap;
38
+ display: flex;
39
+ align-items: center;
40
+ position: relative;
41
+ transition: ease 0.3s;
42
+
43
+ &.iz-table-identifier {
44
+ padding: .8rem .5rem !important;
45
+ }
46
+
47
+ &.iz-table-action {
48
+ display: flex;
49
+ justify-content: flex-end;
50
+ padding: .8rem .5rem !important;
51
+ position: relative;
52
+
53
+ &.left {
54
+ justify-content: flex-start;
55
+ }
56
+
57
+ &.center {
58
+ justify-content: center;
59
+ }
60
+
61
+ .iz-table-actions {
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: flex-end;
65
+ gap: .5rem;
66
+ }
67
+
68
+ .iz-table-button {
69
+ min-width: 1.8rem;
70
+ height: 1.8rem;
71
+ border-radius: 5px;
72
+ border: 1px solid ${({ theme }) => theme.t05};
73
+ background: ${({ theme }) => theme.t05};
74
+ color: ${({ theme }) => theme.t6};
75
+ cursor: pointer;
76
+ transition: ease 0.3s, width 1s, position 0s;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: center;
80
+ gap: .5rem;
81
+ font-weight: 500;
82
+ text-transform: lowercase;
83
+ padding: 0 .5rem;
84
+ position: relative;
85
+
86
+ &:disabled {
87
+ pointer-events: none;
88
+ opacity: .6;
89
+ }
90
+
91
+ &:hover {
92
+ opacity: .9;
93
+
94
+ &.negative {
95
+ color: ${({ theme }) => theme.primary};
96
+ background: ${({ theme }) => theme.negative};
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+
103
+ thead {
104
+ tr {
105
+ th {
106
+ border: none;
107
+ padding: 0;
108
+ text-transform: uppercase;
109
+ font-weight: 500;
110
+ letter-spacing: 2px;
111
+ position: relative;
112
+ height: 2.5rem;
113
+
114
+ @media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
115
+ .iz-table-content {
116
+ font-size: .7rem;
117
+ }
118
+ }
119
+
120
+ @media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
121
+ display: none;
122
+
123
+ &:nth-child(1), &:nth-child(2), &:last-child {
124
+ display: table-cell;
125
+ }
126
+ }
127
+
128
+ &:first-child {
129
+ .iz-table-content {
130
+ border-top-left-radius: 5px;
131
+ border-bottom-left-radius: 5px;
132
+ }
133
+ }
134
+
135
+ &:last-child {
136
+ .iz-table-content {
137
+ border-top-right-radius: 5px;
138
+ border-bottom-right-radius: 5px;
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+
145
+ tbody {
146
+ tr {
147
+ &:hover {
148
+ td {
149
+ .iz-table-content {
150
+ background: ${({ theme }) => theme.tertiary};
151
+ }
152
+ }
153
+ }
154
+
155
+ td {
156
+ border: none;
157
+ padding: 0;
158
+ font-weight: 400;
159
+ position: relative;
160
+
161
+ @media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
162
+ display: none;
163
+
164
+ &:nth-child(1), &:nth-child(2), &:last-child {
165
+ display: table-cell;
166
+ }
167
+ }
168
+
169
+ &:first-child {
170
+ .iz-table-content {
171
+ border-top-left-radius: 5px;
172
+ border-bottom-left-radius: 5px;
173
+ }
174
+ }
175
+
176
+ &:last-child {
177
+ .iz-table-content {
178
+ border-top-right-radius: 5px;
179
+ border-bottom-right-radius: 5px;
180
+ }
181
+ }
182
+
183
+ .iz-table-content-elipse {
184
+ position: absolute;
185
+ left: 0;
186
+ right: 0;
187
+ white-space: nowrap;
188
+ overflow: hidden;
189
+ text-overflow: ellipsis;
190
+ padding: 0.8rem 1.3rem;
191
+ }
192
+ }
193
+
194
+ &:first-child {
195
+ td {
196
+ .iz-table-content {
197
+ margin-top: 1.5rem;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ .iz-table-icon {
207
+ width: 1.8rem;
208
+ height: 1.8rem;
209
+ background: ${({ theme }) => theme.t08};
210
+ border-radius: 5px;
211
+ display: flex;
212
+ align-items: center;
213
+ justify-content: center;
214
+ overflow: hidden;
215
+
216
+ img {
217
+ width: 100%;
218
+ height: 100%;
219
+ object-fit: cover;
220
+ }
221
+
222
+ i {
223
+ font-size: .9rem;
224
+ }
225
+ }
226
+
227
+ .iz-table-not-found {
228
+ border-radius: 5px;
229
+ background: ${({ theme }) => theme.t05};
230
+ display: flex;
231
+ flex-direction: column;
232
+ align-items: center;
233
+ justify-content: center;
234
+ margin: 1.5rem 0;
235
+ padding: 2.5rem;
236
+ width: 100%;
237
+
238
+ p {
239
+ color: ${({ theme }) => theme.t6};
240
+ text-align: center;
241
+ }
242
+
243
+ p:first-child {
244
+ font-size: 1.3rem;
245
+ font-weight: 600;
246
+ margin-top: 0;
247
+ margin-bottom: 0.5rem;
248
+
249
+ @media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
250
+ font-size: 1rem;
251
+ }
252
+ }
253
+
254
+ p:last-child {
255
+ font-size: 0.8rem;
256
+ max-width: 50rem;
257
+ margin-top: 0;
258
+ margin-bottom: 0;
259
+
260
+ @media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
261
+ font-size: 0.7rem;
262
+ }
263
+ }
264
+ }
265
+ `;
266
+ export {
267
+ Container
268
+ };
@@ -0,0 +1,2 @@
1
+ declare const brands: Record<string, string>;
2
+ export default brands;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // contexts/icon/assets/brands/index.tsx
10
+ var req = __require.context("./", false, /\.svg$/);
11
+ var brands = {};
12
+ req.keys().forEach((key) => {
13
+ const name = key.replace("./", "").replace(".svg", "");
14
+ brands[name] = req(key).default;
15
+ });
16
+ var brands_default = brands;
17
+ export {
18
+ brands_default as default
19
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ brands: Record<string, string>;
3
+ regular: Record<string, string>;
4
+ solid: Record<string, string>;
5
+ };
6
+ export default _default;
@@ -0,0 +1,44 @@
1
+ "use client";
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // contexts/icon/assets/brands/index.tsx
10
+ var req = __require.context("./", false, /\.svg$/);
11
+ var brands = {};
12
+ req.keys().forEach((key) => {
13
+ const name = key.replace("./", "").replace(".svg", "");
14
+ brands[name] = req(key).default;
15
+ });
16
+ var brands_default = brands;
17
+
18
+ // contexts/icon/assets/regular/index.tsx
19
+ var req2 = __require.context("./", false, /\.svg$/);
20
+ var regular = {};
21
+ req2.keys().forEach((key) => {
22
+ const name = key.replace("./", "").replace(".svg", "");
23
+ regular[name] = req2(key).default;
24
+ });
25
+ var regular_default = regular;
26
+
27
+ // contexts/icon/assets/solid/index.tsx
28
+ var req3 = __require.context("./", false, /\.svg$/);
29
+ var solid = {};
30
+ req3.keys().forEach((key) => {
31
+ const name = key.replace("./", "").replace(".svg", "");
32
+ solid[name] = req3(key).default;
33
+ });
34
+ var solid_default = solid;
35
+
36
+ // contexts/icon/assets/index.tsx
37
+ var assets_default = {
38
+ brands: brands_default,
39
+ regular: regular_default,
40
+ solid: solid_default
41
+ };
42
+ export {
43
+ assets_default as default
44
+ };
@@ -0,0 +1,2 @@
1
+ declare const regular: Record<string, string>;
2
+ export default regular;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // contexts/icon/assets/regular/index.tsx
10
+ var req = __require.context("./", false, /\.svg$/);
11
+ var regular = {};
12
+ req.keys().forEach((key) => {
13
+ const name = key.replace("./", "").replace(".svg", "");
14
+ regular[name] = req(key).default;
15
+ });
16
+ var regular_default = regular;
17
+ export {
18
+ regular_default as default
19
+ };
@@ -0,0 +1,2 @@
1
+ declare const solid: Record<string, string>;
2
+ export default solid;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
+ }) : x)(function(x) {
5
+ if (typeof require !== "undefined") return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // contexts/icon/assets/solid/index.tsx
10
+ var req = __require.context("./", false, /\.svg$/);
11
+ var solid = {};
12
+ req.keys().forEach((key) => {
13
+ const name = key.replace("./", "").replace(".svg", "");
14
+ solid[name] = req(key).default;
15
+ });
16
+ var solid_default = solid;
17
+ export {
18
+ solid_default as default
19
+ };
@@ -0,0 +1,4 @@
1
+ import { IIconProvider } from "@interfaces";
2
+ declare const IconProviderContainer: ({ children }: IIconProvider) => import("react/jsx-runtime").JSX.Element;
3
+ declare const useIcon: () => any;
4
+ export { IconProviderContainer as IconProvider, useIcon };