@fluidattacks/design 3.1.4 → 3.1.6

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 (284) hide show
  1. package/button.mjs +5 -0
  2. package/index-i8Ii0UcD.mjs +2062 -0
  3. package/index.mjs +20398 -0
  4. package/package.json +16 -2
  5. package/types/components/@core/constants.d.ts +2 -0
  6. package/types/components/@core/index.d.ts +5 -0
  7. package/types/components/@core/styles.d.ts +6 -0
  8. package/types/components/@core/types.d.ts +181 -0
  9. package/types/components/@core/utils.d.ts +11 -0
  10. package/types/components/@core/variants/utils.d.ts +59 -0
  11. package/types/components/accordion/accordion-content/index.d.ts +3 -0
  12. package/types/components/accordion/index.d.ts +4 -0
  13. package/types/components/accordion/types.d.ts +36 -0
  14. package/types/components/alert/index.d.ts +4 -0
  15. package/types/components/alert/styles.d.ts +9 -0
  16. package/types/components/alert/types.d.ts +23 -0
  17. package/types/components/button/index.d.ts +4 -0
  18. package/types/components/button/styles.d.ts +9 -0
  19. package/types/components/button/types.d.ts +30 -0
  20. package/types/components/card/card-header/index.d.ts +3 -0
  21. package/types/components/card/card-with-image/index.d.ts +4 -0
  22. package/types/components/card/card-with-input/index.d.ts +3 -0
  23. package/types/components/card/card-with-input/styles.d.ts +8 -0
  24. package/types/components/card/card-with-selector/index.d.ts +3 -0
  25. package/types/components/card/card-with-switch/index.d.ts +3 -0
  26. package/types/components/card/index.d.ts +6 -0
  27. package/types/components/card/types.d.ts +121 -0
  28. package/types/components/carousel/index.d.ts +4 -0
  29. package/types/components/carousel/styles.d.ts +10 -0
  30. package/types/components/carousel/types.d.ts +19 -0
  31. package/types/components/checkbox/index.d.ts +3 -0
  32. package/types/components/checkbox/styles.d.ts +2 -0
  33. package/types/components/checkbox/types.d.ts +17 -0
  34. package/types/components/cloud-image/index.d.ts +5 -0
  35. package/types/components/cloud-image/types.d.ts +18 -0
  36. package/types/components/code-snippet/index.d.ts +3 -0
  37. package/types/components/code-snippet/location-code/index.d.ts +5 -0
  38. package/types/components/code-snippet/styles.d.ts +3 -0
  39. package/types/components/code-snippet/types.d.ts +22 -0
  40. package/types/components/colors/index.d.ts +10 -0
  41. package/types/components/confirm-dialog/index.d.ts +11 -0
  42. package/types/components/confirm-dialog/types.d.ts +13 -0
  43. package/types/components/container/index.d.ts +4 -0
  44. package/types/components/container/styles.d.ts +9 -0
  45. package/types/components/container/types.d.ts +22 -0
  46. package/types/components/content-card/category-tag/index.d.ts +5 -0
  47. package/types/components/content-card/event-date/index.d.ts +4 -0
  48. package/types/components/content-card/index.d.ts +3 -0
  49. package/types/components/content-card/styles.d.ts +2 -0
  50. package/types/components/content-card/types.d.ts +33 -0
  51. package/types/components/content-card-carousel/index.d.ts +3 -0
  52. package/types/components/content-card-carousel/scroll-buttons/index.d.ts +6 -0
  53. package/types/components/content-card-carousel/styles.d.ts +3 -0
  54. package/types/components/content-card-carousel/types.d.ts +16 -0
  55. package/types/components/divider/index.d.ts +3 -0
  56. package/types/components/divider/types.d.ts +11 -0
  57. package/types/components/empty-state/empty-button/index.d.ts +8 -0
  58. package/types/components/empty-state/index.d.ts +3 -0
  59. package/types/components/empty-state/styles.d.ts +8 -0
  60. package/types/components/empty-state/types.d.ts +35 -0
  61. package/types/components/file-preview/index.d.ts +3 -0
  62. package/types/components/file-preview/styles.d.ts +6 -0
  63. package/types/components/file-preview/types.d.ts +20 -0
  64. package/types/components/file-preview/utils.d.ts +5 -0
  65. package/types/components/form/index.d.ts +4 -0
  66. package/types/components/form/styles.d.ts +2 -0
  67. package/types/components/form/types.d.ts +21 -0
  68. package/types/components/grid-container/index.d.ts +4 -0
  69. package/types/components/grid-container/styles.d.ts +12 -0
  70. package/types/components/grid-container/types.d.ts +17 -0
  71. package/types/components/grid-layout/styles.d.ts +12 -0
  72. package/types/components/group-selector/index.d.ts +3 -0
  73. package/types/components/group-selector/option-container/index.d.ts +4 -0
  74. package/types/components/group-selector/styles.d.ts +7 -0
  75. package/types/components/group-selector/types.d.ts +44 -0
  76. package/types/components/icon/index.d.ts +3 -0
  77. package/types/components/icon/styles.d.ts +15 -0
  78. package/types/components/icon/types.d.ts +35 -0
  79. package/types/components/icon-button/index.d.ts +3 -0
  80. package/types/components/icon-button/styles.d.ts +9 -0
  81. package/types/components/icon-button/types.d.ts +22 -0
  82. package/types/components/indicator-card/index.d.ts +5 -0
  83. package/types/components/indicator-card/types.d.ts +30 -0
  84. package/types/components/info-sidebar/index.d.ts +4 -0
  85. package/types/components/info-sidebar/types.d.ts +32 -0
  86. package/types/components/inputs/fields/combobox/index.d.ts +4 -0
  87. package/types/components/inputs/fields/combobox/option/index.d.ts +3 -0
  88. package/types/components/inputs/fields/combobox/styles.d.ts +3 -0
  89. package/types/components/inputs/fields/combobox/types.d.ts +40 -0
  90. package/types/components/inputs/fields/date/calendar/cell/index.d.ts +3 -0
  91. package/types/components/inputs/fields/date/calendar/grid/index.d.ts +3 -0
  92. package/types/components/inputs/fields/date/calendar/header/index.d.ts +3 -0
  93. package/types/components/inputs/fields/date/calendar/index.d.ts +6 -0
  94. package/types/components/inputs/fields/date/calendar/styles.d.ts +13 -0
  95. package/types/components/inputs/fields/date/index.d.ts +3 -0
  96. package/types/components/inputs/fields/date/types.d.ts +32 -0
  97. package/types/components/inputs/fields/date-range/calendar/index.d.ts +6 -0
  98. package/types/components/inputs/fields/date-range/index.d.ts +4 -0
  99. package/types/components/inputs/fields/date-range/styles.d.ts +5 -0
  100. package/types/components/inputs/fields/date-time/calendar/index.d.ts +9 -0
  101. package/types/components/inputs/fields/date-time/calendar/styles.d.ts +3 -0
  102. package/types/components/inputs/fields/date-time/index.d.ts +4 -0
  103. package/types/components/inputs/fields/editable/index.d.ts +5 -0
  104. package/types/components/inputs/fields/editable/types.d.ts +19 -0
  105. package/types/components/inputs/fields/input/index.d.ts +3 -0
  106. package/types/components/inputs/fields/input-file/index.d.ts +3 -0
  107. package/types/components/inputs/fields/input-file/styles.d.ts +6 -0
  108. package/types/components/inputs/fields/input-tags/index.d.ts +3 -0
  109. package/types/components/inputs/fields/input-tags/styles.d.ts +2 -0
  110. package/types/components/inputs/fields/number/index.d.ts +3 -0
  111. package/types/components/inputs/fields/number-range/index.d.ts +3 -0
  112. package/types/components/inputs/fields/phone/index.d.ts +3 -0
  113. package/types/components/inputs/fields/phone/styles.d.ts +6 -0
  114. package/types/components/inputs/fields/text-area/index.d.ts +3 -0
  115. package/types/components/inputs/index.d.ts +14 -0
  116. package/types/components/inputs/label/index.d.ts +3 -0
  117. package/types/components/inputs/outline-container/index.d.ts +4 -0
  118. package/types/components/inputs/styles.d.ts +3 -0
  119. package/types/components/inputs/types.d.ts +108 -0
  120. package/types/components/inputs/utils/action-button/index.d.ts +3 -0
  121. package/types/components/inputs/utils/calendar-button/index.d.ts +8 -0
  122. package/types/components/inputs/utils/date-selector/index.d.ts +3 -0
  123. package/types/components/inputs/utils/date-time-field/index.d.ts +4 -0
  124. package/types/components/inputs/utils/dialog/index.d.ts +4 -0
  125. package/types/components/inputs/utils/number-field/index.d.ts +6 -0
  126. package/types/components/inputs/utils/popover/index.d.ts +4 -0
  127. package/types/components/inputs/utils/styles.d.ts +17 -0
  128. package/types/components/inputs/utils/types.d.ts +77 -0
  129. package/types/components/inputs/utils.d.ts +3 -0
  130. package/types/components/interactive-card/icon/index.d.ts +5 -0
  131. package/types/components/interactive-card/index.d.ts +3 -0
  132. package/types/components/interactive-card/styles.d.ts +3 -0
  133. package/types/components/interactive-card/types.d.ts +20 -0
  134. package/types/components/language-selector/index.d.ts +3 -0
  135. package/types/components/language-selector/item-list/index.d.ts +3 -0
  136. package/types/components/language-selector/styles.d.ts +5 -0
  137. package/types/components/language-selector/types.d.ts +37 -0
  138. package/types/components/link/index.d.ts +5 -0
  139. package/types/components/link/styles.d.ts +8 -0
  140. package/types/components/link/types.d.ts +22 -0
  141. package/types/components/list-item/index.d.ts +4 -0
  142. package/types/components/list-item/styles.d.ts +3 -0
  143. package/types/components/list-item/types.d.ts +28 -0
  144. package/types/components/little-flag/index.d.ts +4 -0
  145. package/types/components/little-flag/styles.d.ts +6 -0
  146. package/types/components/little-flag/types.d.ts +15 -0
  147. package/types/components/loading/index.d.ts +4 -0
  148. package/types/components/loading/styles.d.ts +9 -0
  149. package/types/components/loading/types.d.ts +15 -0
  150. package/types/components/logo/index.d.ts +3 -0
  151. package/types/components/logo/types.d.ts +12 -0
  152. package/types/components/logo-carousel/index.d.ts +3 -0
  153. package/types/components/logo-carousel/styles.d.ts +4 -0
  154. package/types/components/logo-carousel/types.d.ts +11 -0
  155. package/types/components/logo-carousel/utils.d.ts +2 -0
  156. package/types/components/lottie/index.d.ts +3 -0
  157. package/types/components/lottie/styles.d.ts +41 -0
  158. package/types/components/lottie/types.d.ts +11 -0
  159. package/types/components/menu/index.d.ts +4 -0
  160. package/types/components/menu/types.d.ts +31 -0
  161. package/types/components/message-banner/index.d.ts +3 -0
  162. package/types/components/message-banner/styles.d.ts +2 -0
  163. package/types/components/message-banner/types.d.ts +26 -0
  164. package/types/components/message-banner/utils.d.ts +7 -0
  165. package/types/components/modal/index.d.ts +5 -0
  166. package/types/components/modal/modal-confirm/index.d.ts +3 -0
  167. package/types/components/modal/modal-footer/index.d.ts +3 -0
  168. package/types/components/modal/modal-header/index.d.ts +3 -0
  169. package/types/components/modal/styles.d.ts +16 -0
  170. package/types/components/modal/types.d.ts +87 -0
  171. package/types/components/notification/index.d.ts +3 -0
  172. package/types/components/notification/styles.d.ts +7 -0
  173. package/types/components/notification/types.d.ts +16 -0
  174. package/types/components/notification/utils.d.ts +4 -0
  175. package/types/components/notification-sign/index.d.ts +3 -0
  176. package/types/components/notification-sign/styles.d.ts +9 -0
  177. package/types/components/notification-sign/types.d.ts +16 -0
  178. package/types/components/number-input/index.d.ts +5 -0
  179. package/types/components/number-input/styles.d.ts +3 -0
  180. package/types/components/number-input/types.d.ts +17 -0
  181. package/types/components/oauth-selector/index.d.ts +5 -0
  182. package/types/components/oauth-selector/option-container/index.d.ts +3 -0
  183. package/types/components/oauth-selector/types.d.ts +45 -0
  184. package/types/components/plan-card/index.d.ts +3 -0
  185. package/types/components/plan-card/recommended-tag/index.d.ts +2 -0
  186. package/types/components/plan-card/styles.d.ts +3 -0
  187. package/types/components/plan-card/types.d.ts +47 -0
  188. package/types/components/plan-card/utils.d.ts +5 -0
  189. package/types/components/pop-up/description/index.d.ts +5 -0
  190. package/types/components/pop-up/index.d.ts +4 -0
  191. package/types/components/pop-up/types.d.ts +58 -0
  192. package/types/components/premium-feature/index.d.ts +3 -0
  193. package/types/components/premium-feature/styles.d.ts +2 -0
  194. package/types/components/premium-feature/types.d.ts +14 -0
  195. package/types/components/priority-score/index.d.ts +3 -0
  196. package/types/components/priority-score/types.d.ts +9 -0
  197. package/types/components/progress/index.d.ts +4 -0
  198. package/types/components/progress/styles.d.ts +6 -0
  199. package/types/components/progress/types.d.ts +12 -0
  200. package/types/components/progress/utils.d.ts +2 -0
  201. package/types/components/progress-bar/index.d.ts +3 -0
  202. package/types/components/progress-bar/styles.d.ts +13 -0
  203. package/types/components/progress-bar/types.d.ts +24 -0
  204. package/types/components/radio-button/index.d.ts +3 -0
  205. package/types/components/radio-button/styles.d.ts +5 -0
  206. package/types/components/radio-button/types.d.ts +14 -0
  207. package/types/components/scroll-button/index.d.ts +4 -0
  208. package/types/components/scroll-button/styles.d.ts +4 -0
  209. package/types/components/scroll-button/types.d.ts +11 -0
  210. package/types/components/search/index.d.ts +3 -0
  211. package/types/components/search/styles.d.ts +4 -0
  212. package/types/components/search/types.d.ts +10 -0
  213. package/types/components/search-bar/index.d.ts +3 -0
  214. package/types/components/search-bar/item-searching/index.d.ts +3 -0
  215. package/types/components/search-bar/styles.d.ts +15 -0
  216. package/types/components/search-bar/types.d.ts +29 -0
  217. package/types/components/search-bar/utils.d.ts +4 -0
  218. package/types/components/severity-badge/index.d.ts +3 -0
  219. package/types/components/severity-badge/types.d.ts +26 -0
  220. package/types/components/severity-badge/utils.d.ts +3 -0
  221. package/types/components/severity-overview/badge/index.d.ts +3 -0
  222. package/types/components/severity-overview/index.d.ts +3 -0
  223. package/types/components/severity-overview/types.d.ts +40 -0
  224. package/types/components/severity-overview/utils.d.ts +3 -0
  225. package/types/components/show-on-hover/index.d.ts +3 -0
  226. package/types/components/show-on-hover/styles.d.ts +2 -0
  227. package/types/components/show-on-hover/types.d.ts +12 -0
  228. package/types/components/slide-out-menu/index.d.ts +4 -0
  229. package/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
  230. package/types/components/slide-out-menu/styles.d.ts +2 -0
  231. package/types/components/slide-out-menu/types.d.ts +43 -0
  232. package/types/components/slider/index.d.ts +3 -0
  233. package/types/components/slider/styles.d.ts +7 -0
  234. package/types/components/slider/thumb/index.d.ts +3 -0
  235. package/types/components/slider/types.d.ts +13 -0
  236. package/types/components/slider/utils.d.ts +2 -0
  237. package/types/components/step-lapse/index.d.ts +3 -0
  238. package/types/components/step-lapse/styles.d.ts +8 -0
  239. package/types/components/step-lapse/types.d.ts +44 -0
  240. package/types/components/table-button/index.d.ts +3 -0
  241. package/types/components/table-button/styles.d.ts +2 -0
  242. package/types/components/table-button/types.d.ts +16 -0
  243. package/types/components/tabs/fixed-tabs/index.d.ts +3 -0
  244. package/types/components/tabs/index.d.ts +5 -0
  245. package/types/components/tabs/styles.d.ts +4 -0
  246. package/types/components/tabs/tab/index.d.ts +4 -0
  247. package/types/components/tabs/types.d.ts +48 -0
  248. package/types/components/tag/index.d.ts +4 -0
  249. package/types/components/tag/styles.d.ts +7 -0
  250. package/types/components/tag/types.d.ts +32 -0
  251. package/types/components/timeline/card/index.d.ts +3 -0
  252. package/types/components/timeline/index.d.ts +4 -0
  253. package/types/components/timeline/styles.d.ts +3 -0
  254. package/types/components/timeline/types.d.ts +21 -0
  255. package/types/components/toggle/index.d.ts +4 -0
  256. package/types/components/toggle/styles.d.ts +4 -0
  257. package/types/components/toggle/types.d.ts +28 -0
  258. package/types/components/toggle-buttons/index.d.ts +3 -0
  259. package/types/components/toggle-buttons/styles.d.ts +3 -0
  260. package/types/components/toggle-buttons/types.d.ts +13 -0
  261. package/types/components/tooltip/index.d.ts +4 -0
  262. package/types/components/tooltip/styles.d.ts +7 -0
  263. package/types/components/tooltip/types.d.ts +29 -0
  264. package/types/components/tour/index.d.ts +6 -0
  265. package/types/components/tour/types.d.ts +14 -0
  266. package/types/components/typography/heading/index.d.ts +3 -0
  267. package/types/components/typography/index.d.ts +4 -0
  268. package/types/components/typography/span/index.d.ts +3 -0
  269. package/types/components/typography/styles.d.ts +26 -0
  270. package/types/components/typography/text/index.d.ts +3 -0
  271. package/types/components/typography/types.d.ts +27 -0
  272. package/types/components/web-form/index.d.ts +5 -0
  273. package/types/components/web-form/styles.d.ts +4 -0
  274. package/types/components/web-form/types.d.ts +15 -0
  275. package/types/hooks/index.d.ts +8 -0
  276. package/types/hooks/use-carousel.d.ts +6 -0
  277. package/types/hooks/use-click-outside.d.ts +2 -0
  278. package/types/hooks/use-cloudinary-image.d.ts +13 -0
  279. package/types/hooks/use-debounced-callback.d.ts +4 -0
  280. package/types/hooks/use-modal.d.ts +11 -0
  281. package/types/hooks/use-search.d.ts +5 -0
  282. package/types/index.d.ts +67 -0
  283. package/types/utils/date.d.ts +3 -0
  284. package/types/utils/open-url.d.ts +1 -0
@@ -0,0 +1,17 @@
1
+ import type { HTMLAttributes } from "react";
2
+ /**
3
+ * Checkbox props.
4
+ * @interface ICheckboxProps
5
+ * @extends HTMLAttributes<HTMLInputElement>
6
+ * @property {boolean} [disabled] - Disable checkbox.
7
+ * @property {string} name - Input name.
8
+ * @property {string} [label] - Checkbox label.
9
+ * @property {string} [value] - Checkbox value.
10
+ */
11
+ interface ICheckboxProps extends HTMLAttributes<HTMLInputElement> {
12
+ disabled?: boolean;
13
+ label?: string;
14
+ name: string;
15
+ value?: string;
16
+ }
17
+ export type { ICheckboxProps };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ICloudImageProps } from "./types";
3
+ declare const MemoizedImage: React.MemoExoticComponent<({ alt, height, width, plugins, publicId, }: Readonly<ICloudImageProps>) => JSX.Element>;
4
+ export type { ICloudImageProps };
5
+ export { MemoizedImage as CloudImage };
@@ -0,0 +1,18 @@
1
+ import type { Plugins } from "@cloudinary/html";
2
+ /**
3
+ * Cloud image component props.
4
+ * @interface ICloudImageProps
5
+ * @property {string} [alt] - The alternate text for an image.
6
+ * @property {number | string} [height] - The height of the image.
7
+ * @property {number | string} [width] - The width of the image.
8
+ * @property {Plugins} [plugins] - A list of cloudinary plugins.
9
+ * @property {string} publicId - The publicId location in cloudinary.
10
+ */
11
+ interface ICloudImageProps {
12
+ alt?: string;
13
+ height?: number | string;
14
+ width?: number | string;
15
+ plugins?: Plugins;
16
+ publicId: string;
17
+ }
18
+ export type { ICloudImageProps };
@@ -0,0 +1,3 @@
1
+ import type { ICodeSnippetProps } from "./types";
2
+ declare const CodeSnippet: ({ noCodeMessage, snippet, }: Readonly<ICodeSnippetProps>) => JSX.Element;
3
+ export { CodeSnippet };
@@ -0,0 +1,5 @@
1
+ import "prismjs/plugins/line-highlight/prism-line-highlight.js";
2
+ import "prismjs/plugins/line-highlight/prism-line-highlight.css";
3
+ import type { ICodeSnippetProps } from "../types";
4
+ declare const Code: ({ noCodeMessage, snippet, specific, }: Readonly<ICodeSnippetProps>) => JSX.Element;
5
+ export { Code };
@@ -0,0 +1,3 @@
1
+ declare const CodeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ declare const ButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export { ButtonsContainer, CodeContainer };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Snippet props.
3
+ * @interface ISnippet
4
+ * @property {string} content - The code snippet content.
5
+ * @property {number} offset - The offset of the code snippet in the source code.
6
+ */
7
+ interface ISnippet {
8
+ content: string;
9
+ offset: number;
10
+ }
11
+ /**
12
+ * Code snippet component props.
13
+ * @property {string} [noCodeMessage] - Message to display when no code snippet is provided.
14
+ * @property {ISnippet | string} snippet - The code snippet object.
15
+ * @property {string} [specific] - Additional information related to the code snippet.
16
+ */
17
+ interface ICodeSnippetProps {
18
+ noCodeMessage?: string;
19
+ snippet: ISnippet | string;
20
+ specific?: string;
21
+ }
22
+ export type { ICodeSnippetProps };
@@ -0,0 +1,10 @@
1
+ import type { IconName, IconPrefix } from "@fortawesome/free-solid-svg-icons";
2
+ import React from "react";
3
+ import { type DefaultTheme } from "styled-components";
4
+ declare const icons: IconName[];
5
+ declare const uniqueIcons: [IconPrefix, IconName][];
6
+ declare const theme: DefaultTheme;
7
+ declare const CustomThemeProvider: ({ children, }: Readonly<{
8
+ children: React.ReactNode;
9
+ }>) => JSX.Element;
10
+ export { CustomThemeProvider, theme, icons, uniqueIcons };
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import type { IConfirmDialogProps } from "./types";
3
+ declare const useConfirmDialog: () => {
4
+ confirm: (props: Readonly<IConfirmDialogProps>) => Promise<boolean>;
5
+ ConfirmDialog: React.FC<Readonly<{
6
+ id?: string;
7
+ children?: React.ReactNode;
8
+ }>>;
9
+ };
10
+ export type { IConfirmDialogProps };
11
+ export { useConfirmDialog };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Confirm dialog component props.
3
+ * @interface IConfirmDialogProps
4
+ * @property { string } [id] - Id of the confirm dialog.
5
+ * @property { React.ReactNode } [message] - Message to display in the confirm dialog.
6
+ * @property { string } title - Title of the confirm dialog.
7
+ */
8
+ interface IConfirmDialogProps {
9
+ id?: string;
10
+ message?: React.ReactNode;
11
+ title: string;
12
+ }
13
+ export type { IConfirmDialogProps };
@@ -0,0 +1,4 @@
1
+ import type { PropsWithChildren } from "react";
2
+ import type { IContainerProps } from "./types";
3
+ declare const Container: import("react").ForwardRefExoticComponent<Readonly<PropsWithChildren<IContainerProps>> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export { Container };
@@ -0,0 +1,9 @@
1
+ interface IStyledContainerProps {
2
+ $center?: boolean;
3
+ $styleMd?: string;
4
+ $styleSm?: string;
5
+ }
6
+ declare const StyledContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
7
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
8
+ }, IStyledContainerProps>> & string;
9
+ export { StyledContainer };
@@ -0,0 +1,22 @@
1
+ import type { HTMLAttributes, ReactHTML } from "react";
2
+ import type { TModifiable } from "components/@core";
3
+ type THtmlTag = keyof ReactHTML;
4
+ /**
5
+ * Container component props.
6
+ * @interface IContainerProps
7
+ * @extends TModifiable
8
+ * @extends HTMLAttributes<HTMLDivElement>
9
+ * @property {THtmlTag} [as] - The react html tag to represent.
10
+ * @property {boolean} [center] - Whether to center the content.
11
+ * @property {Function} [onHover] - Function handler for hover event.
12
+ * @property {Function} [onLeave] - Function handler for leave event.
13
+ */
14
+ interface IContainerProps extends TModifiable, HTMLAttributes<HTMLDivElement> {
15
+ as?: THtmlTag;
16
+ center?: boolean;
17
+ onHover?: () => void;
18
+ onLeave?: () => void;
19
+ styleMd?: string;
20
+ styleSm?: string;
21
+ }
22
+ export type { IContainerProps };
@@ -0,0 +1,5 @@
1
+ declare const CategoryTag: ({ tag, tagPosition, }: Readonly<{
2
+ tag?: string;
3
+ tagPosition?: string;
4
+ }>) => JSX.Element | null;
5
+ export { CategoryTag };
@@ -0,0 +1,4 @@
1
+ declare const EventDate: ({ eventDate, }: Readonly<{
2
+ eventDate?: string;
3
+ }>) => JSX.Element | null;
4
+ export { EventDate };
@@ -0,0 +1,3 @@
1
+ import { IContentCardProps } from "./types";
2
+ declare const ContentCard: ({ author, buttonText, description, eventDate, href, imageId, mode, publishDate, readingTime, tag, tagPosition, title, }: Readonly<IContentCardProps>) => JSX.Element;
3
+ export { ContentCard };
@@ -0,0 +1,2 @@
1
+ declare const CardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { CardContainer };
@@ -0,0 +1,33 @@
1
+ import { TMode } from "components/@core";
2
+ /**
3
+ * Properties for the Content Card component.
4
+ * ** Note: All dates need to be provided in dayjs format.
5
+ * @interface IContentCardProps
6
+ * @property {string} [author] - Optional author.
7
+ * @property {string} [buttonText] - Optional text for the action button.
8
+ * @property {string} [description] - Brief description.
9
+ * @property {string} [eventDate] - Optional date related to the event (DD-MMM).
10
+ * @property {string} [href] - Optional URL for the action button link.
11
+ * @property {string} [imageId] - ID of the image.
12
+ * @property {string} [mode] - Optional mode (light, dark).
13
+ * @property {string} [publishDate] - Optional publish date (MMMM-D-YYYY).
14
+ * @property {string} [readingTime] - Estimated reading time.
15
+ * @property {string} [tag] - Optional tag or category label.
16
+ * @property {string} [tagPosition] - Optional position of the tag (top, bottom).
17
+ * @property {string} title - Title of the card.
18
+ */
19
+ interface IContentCardProps {
20
+ author?: string;
21
+ buttonText?: string;
22
+ description?: string;
23
+ eventDate?: string;
24
+ href?: string;
25
+ imageId?: string;
26
+ mode?: TMode;
27
+ publishDate?: string;
28
+ readingTime?: string;
29
+ tag?: string;
30
+ tagPosition?: "top" | "bottom";
31
+ title: string;
32
+ }
33
+ export type { IContentCardProps };
@@ -0,0 +1,3 @@
1
+ import { IContentCardCarouselProps } from "./types";
2
+ declare const ContentCardCarousel: ({ description, items, title, titleHighlighted, }: Readonly<IContentCardCarouselProps>) => JSX.Element;
3
+ export { ContentCardCarousel };
@@ -0,0 +1,6 @@
1
+ import { RefObject } from "react";
2
+ declare const ScrollButtons: ({ containerRef, id, }: Readonly<{
3
+ containerRef?: RefObject<HTMLDivElement>;
4
+ id: string;
5
+ }>) => JSX.Element;
6
+ export { ScrollButtons };
@@ -0,0 +1,3 @@
1
+ declare const StyledIconBtn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
2
+ declare const OutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export { OutlineContainer, StyledIconBtn };
@@ -0,0 +1,16 @@
1
+ import { IContentCardProps } from "components/content-card/types";
2
+ /**
3
+ * Content card carousel properties.
4
+ * @interface IContentCardCarouselProps
5
+ * @property {string} description - Description of the carousel.
6
+ * @property {IContentCardProps[]} items - Array of content card items.
7
+ * @property {string} title - Title of the carousel.
8
+ * @property {string} titleHighlighted - Highlighted title of the carousel.
9
+ */
10
+ interface IContentCardCarouselProps {
11
+ description: string;
12
+ items: IContentCardProps[];
13
+ title: string;
14
+ titleHighlighted: string;
15
+ }
16
+ export type { IContentCardCarouselProps };
@@ -0,0 +1,3 @@
1
+ import type { IDividerProps } from "./types";
2
+ declare const Divider: import("react").ForwardRefExoticComponent<Readonly<IDividerProps> & import("react").RefAttributes<HTMLHRElement>>;
3
+ export { Divider };
@@ -0,0 +1,11 @@
1
+ import type { IDisplayModifiable, IMarginModifiable } from "components/@core/types";
2
+ /**
3
+ * Divider component props.
4
+ * @interface IDividerProps
5
+ * @extends IMarginModifiable
6
+ * @property {string} [color] - The divider color.
7
+ */
8
+ interface IDividerProps extends Pick<IDisplayModifiable, "height" | "width">, IMarginModifiable {
9
+ color?: string;
10
+ }
11
+ export type { IDividerProps };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { IButtonProps } from "../types";
3
+ import type { TVariant } from "components/button/types";
4
+ declare const EmptyButton: React.FC<Readonly<{
5
+ buttonProps: IButtonProps;
6
+ variant: TVariant;
7
+ }>>;
8
+ export { EmptyButton };
@@ -0,0 +1,3 @@
1
+ import type { IEmptyProps } from "./types";
2
+ declare const EmptyState: ({ cancelButton, confirmButton, description, imageSrc, padding, title, size, }: Readonly<IEmptyProps>) => JSX.Element;
3
+ export { EmptyState };
@@ -0,0 +1,8 @@
1
+ import type { DefaultTheme } from "styled-components";
2
+ interface IEmptyContainerProps {
3
+ $padding: keyof DefaultTheme["spacing"];
4
+ }
5
+ declare const EmptyContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IEmptyContainerProps>> & string;
6
+ declare const EmptyImageContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
+ declare const EmptyButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export { EmptyContainer, EmptyImageContainer, EmptyButtonContainer };
@@ -0,0 +1,35 @@
1
+ import type { DefaultTheme } from "styled-components";
2
+ type TSize = "md" | "sm";
3
+ /**
4
+ * Button empty state props.
5
+ * @interface IButtonProps
6
+ * @property { string } text - Button text.
7
+ * @property { Function } [onClick] - Button click handler.
8
+ */
9
+ interface IButtonProps {
10
+ onClick?: () => void;
11
+ text: string;
12
+ }
13
+ /**
14
+ * Empty state component props.
15
+ * @interface IEmptyProps
16
+ * @property { IButtonProps } [cancelButton] - Cancel button props.
17
+ * @property { IButtonProps } [confirmButton] - Confirm button props.
18
+ * @property { string } description - Empty state description.
19
+ * @property { string } imageSrc - Empty state image source.
20
+ * @property { DefaultTheme["spacing"] } [padding] - Empty state padding.
21
+ * @property { string } [question] - Question text.
22
+ * @property { TSize } [size] - Empty state size.
23
+ * @property { string } title - Empty state title.
24
+ */
25
+ interface IEmptyProps {
26
+ cancelButton?: IButtonProps;
27
+ confirmButton?: IButtonProps;
28
+ description: string;
29
+ imageSrc?: string;
30
+ padding?: keyof DefaultTheme["spacing"];
31
+ question?: string;
32
+ size?: TSize;
33
+ title: string;
34
+ }
35
+ export type { IEmptyProps, IButtonProps };
@@ -0,0 +1,3 @@
1
+ import type { IFilePreviewProps } from "./types";
2
+ declare const FilePreview: ({ alt, fileType, width, opacity, src, height, }: Readonly<IFilePreviewProps>) => JSX.Element;
3
+ export { FilePreview };
@@ -0,0 +1,6 @@
1
+ import { IContainerProps } from "components/container/types";
2
+ interface IPreviewContainer extends IContainerProps {
3
+ $opacity: number;
4
+ }
5
+ declare const PreviewContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<Readonly<import("react").PropsWithChildren<IContainerProps>> & import("react").RefAttributes<HTMLDivElement>, Readonly<import("react").PropsWithChildren<IContainerProps>> & import("react").RefAttributes<HTMLDivElement>>, IPreviewContainer>, never>> & string & Omit<import("react").ForwardRefExoticComponent<Readonly<import("react").PropsWithChildren<IContainerProps>> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
6
+ export { PreviewContainer };
@@ -0,0 +1,20 @@
1
+ type TFileType = "image" | "video";
2
+ /**
3
+ * File preview component props.
4
+ * @interface IFilePreviewProps
5
+ * @property { string } alt - The alt attribute for the image.
6
+ * @property { TFileType } fileType - The type of the file (image or video).
7
+ * @property { string } [height] - The height of the image or video.
8
+ * @property { number } [opacity] - The opacity of the file preview.
9
+ * @property { string } src - The source URL of the image or video.
10
+ * @property { string } [width] - The width of the image or video.
11
+ */
12
+ interface IFilePreviewProps {
13
+ alt: string;
14
+ fileType: TFileType;
15
+ height?: string;
16
+ opacity?: number;
17
+ src: string;
18
+ width?: string;
19
+ }
20
+ export type { IFilePreviewProps, TFileType };
@@ -0,0 +1,5 @@
1
+ import type { IFilePreviewProps } from "./types";
2
+ declare const getFileExtension: (filename: string | undefined) => string;
3
+ declare const hasExtension: (allowedExtensions: Readonly<string[] | string>, filename?: string) => boolean;
4
+ declare const filesTypeMapper: Record<string, IFilePreviewProps["fileType"]>;
5
+ export { filesTypeMapper, getFileExtension, hasExtension };
@@ -0,0 +1,4 @@
1
+ import type { PropsWithChildren } from "react";
2
+ import type { IFormProps } from "./types";
3
+ declare const Form: import("react").ForwardRefExoticComponent<Readonly<PropsWithChildren<Partial<IFormProps>>> & import("react").RefAttributes<HTMLFormElement>>;
4
+ export { Form };
@@ -0,0 +1,2 @@
1
+ declare const StyledForm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
2
+ export { StyledForm };
@@ -0,0 +1,21 @@
1
+ import { FormHTMLAttributes } from "react";
2
+ /**
3
+ * Form component props.
4
+ * @interface IFormProps
5
+ * @extends FormHTMLAttributes<HTMLFormElement>
6
+ * @property { string } [cancelLabel] - The cancel button label.
7
+ * @property { string } [id] - The form id.
8
+ * @property { Function } [onCancel] - The cancel button callback.
9
+ * @property { "submit" | Function } [onConfirm] - The confirm button callback.
10
+ * @property { string } [submitLabel] - The submit button label.
11
+ * @property { boolean } [submitDisabled] - The submit button disabled state.
12
+ */
13
+ interface IFormProps extends FormHTMLAttributes<HTMLFormElement> {
14
+ cancelLabel?: string;
15
+ id?: string;
16
+ onCancel?: () => void;
17
+ onConfirm?: "submit" | (() => void);
18
+ submitLabel?: string;
19
+ submitDisabled?: boolean;
20
+ }
21
+ export type { IFormProps };
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from "react";
2
+ import type { IGridContainerProps } from "./types";
3
+ declare const GridContainer: import("react").ForwardRefExoticComponent<Readonly<PropsWithChildren<IGridContainerProps>> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export { GridContainer };
@@ -0,0 +1,12 @@
1
+ import type { IGridContainerProps } from "./types";
2
+ interface IStyledGridProps {
3
+ $xl?: IGridContainerProps["xl"];
4
+ $lg?: IGridContainerProps["lg"];
5
+ $md?: IGridContainerProps["md"];
6
+ $sm?: IGridContainerProps["sm"];
7
+ $gap?: IGridContainerProps["gap"];
8
+ }
9
+ declare const GridContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, IStyledGridProps>> & string;
12
+ export { GridContainer };
@@ -0,0 +1,17 @@
1
+ import type { TModifiable } from "components/@core";
2
+ /**
3
+ * Grid container component props.
4
+ * @interface IGridContainerProps
5
+ * @extends TModifiable
6
+ * @property { number } xl - Grid container xl breakpoint.
7
+ * @property { number } lg - Grid container lg breakpoint.
8
+ * @property { number } md - Grid container md breakpoint.
9
+ * @property { number } sm - Grid container sm breakpoint.
10
+ */
11
+ interface IGridContainerProps extends TModifiable {
12
+ xl: number;
13
+ lg: number;
14
+ md: number;
15
+ sm: number;
16
+ }
17
+ export type { IGridContainerProps };
@@ -0,0 +1,12 @@
1
+ import { IPaddingModifiable } from "components/@core";
2
+ interface IStyledGridProps {
3
+ $columns?: number;
4
+ $px?: IPaddingModifiable["px"];
5
+ $py?: IPaddingModifiable["py"];
6
+ }
7
+ declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ declare const GridSidebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
+ declare const GridContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
+ declare const DebugContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
+ declare const StyledGrid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IStyledGridProps>> & string;
12
+ export { Grid, GridSidebar, GridContent, DebugContainer, StyledGrid };
@@ -0,0 +1,3 @@
1
+ import type { IGroupSelectorProps } from "./types";
2
+ declare const GroupSelector: ({ isOpen, items, handleNewOrganization, onSelect, onClose, selectedItem, title, variant, }: Readonly<IGroupSelectorProps>) => JSX.Element;
3
+ export { GroupSelector };
@@ -0,0 +1,4 @@
1
+ import { OptionBoxContainer } from "../styles";
2
+ import type { IOptionProps } from "../types";
3
+ declare const OptionContainer: ({ isSelected, label, onSelect, }: Readonly<IOptionProps>) => JSX.Element;
4
+ export { OptionContainer, OptionBoxContainer };
@@ -0,0 +1,7 @@
1
+ declare const StyledGroupContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ $itemsLength: number;
3
+ }>> & string;
4
+ declare const OptionBoxContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ $isSelected?: boolean;
6
+ }>> & string;
7
+ export { StyledGroupContainer, OptionBoxContainer };
@@ -0,0 +1,44 @@
1
+ type TVariant = "organization-selector";
2
+ /**
3
+ * Item handlers.
4
+ * @interface IItemHandlers
5
+ * @property { Function } [handleNewOrganization] - Handle new organization.
6
+ * @property { Function } [onSelect] - Handle select item.
7
+ * @property { Function } [onClose] - Handle close.
8
+ */
9
+ interface IItemHandlers {
10
+ handleNewOrganization?: () => void;
11
+ onSelect?: (itemName: string) => void;
12
+ onClose?: () => void;
13
+ }
14
+ /**
15
+ * Group selector component props.
16
+ * @interface IGroupSelectorProps
17
+ * @extends IItemHandlers
18
+ * @property { boolean } [isOpen] - Group selector is open.
19
+ * @property { {name: string}[] } items - Items to display.
20
+ * @property { string } [selectedItem] - Selected item.
21
+ * @property { string } title - Group selector title.
22
+ * @property { TVariant } [variant] - Group selector variant.
23
+ */
24
+ interface IGroupSelectorProps extends IItemHandlers {
25
+ isOpen?: boolean;
26
+ items: {
27
+ name: string;
28
+ }[];
29
+ selectedItem: string;
30
+ title: string;
31
+ variant?: TVariant;
32
+ }
33
+ /**
34
+ * Option component props.
35
+ * @interface IOptionProps
36
+ * @extends IItemHandlers
37
+ * @property { boolean } [isSelected] - Option is selected.
38
+ * @property { string } label - Option label.
39
+ */
40
+ interface IOptionProps extends IItemHandlers {
41
+ isSelected?: boolean;
42
+ label: string;
43
+ }
44
+ export type { IGroupSelectorProps, IOptionProps, TVariant };
@@ -0,0 +1,3 @@
1
+ import type { IIconProps } from "./types";
2
+ declare const Icon: import("react").ForwardRefExoticComponent<Readonly<IIconProps> & import("react").RefAttributes<HTMLSpanElement>>;
3
+ export { Icon };
@@ -0,0 +1,15 @@
1
+ import type { IIconWrapProps } from "./types";
2
+ interface IStyledIconWrapProps {
3
+ $clickable?: IIconWrapProps["clickable"];
4
+ $color?: IIconWrapProps["iconColor"];
5
+ $hoverColor?: IIconWrapProps["hoverColor"];
6
+ $disabled?: IIconWrapProps["disabled"];
7
+ $rotation?: IIconWrapProps["rotation"];
8
+ $size: IIconWrapProps["iconSize"];
9
+ $secondaryColor: IIconWrapProps["secondaryColor"];
10
+ }
11
+ declare const IconWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
12
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
13
+ }, IStyledIconWrapProps>> & string;
14
+ declare const IconInGalleryWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
+ export { IconWrap, IconInGalleryWrap };
@@ -0,0 +1,35 @@
1
+ import type { MouseEventHandler } from "react";
2
+ import { IIconModifiable, IMarginModifiable } from "components/@core";
3
+ /**
4
+ * Icon Wrapper component props.
5
+ * @interface IIconWrapProps
6
+ * @extends IMarginModifiable
7
+ * @extends IIconModifiable
8
+ * @property {boolean} [clickable] - Defines the cursor to show on icon hover.
9
+ * @property {string} [hoverColor] - The icon color onn hover.
10
+ * @property {Function} [onClick] - Function handler for click event.
11
+ * @property {boolean} [disabled] - Show disabled icon state.
12
+ * @property {number} [rotation] - Rotation degrees to modify icon style.
13
+ */
14
+ interface IIconWrapProps extends IIconModifiable, IMarginModifiable {
15
+ clickable?: boolean;
16
+ hoverColor?: string;
17
+ onClick?: MouseEventHandler<HTMLSpanElement>;
18
+ disabled?: boolean;
19
+ rotation?: number;
20
+ secondaryColor?: string;
21
+ }
22
+ /**
23
+ * Icon component props.
24
+ * @interface IIconProps
25
+ * @extends IIconWrapProps
26
+ * @property {string} [iconClass] - The icon class from fontawesome.
27
+ * @property {string} [iconMask] - The data-fa-mask prop of icon.
28
+ * @property {string} [spanClass] - The icon span class.
29
+ */
30
+ interface IIconProps extends IIconWrapProps {
31
+ iconClass?: string;
32
+ iconMask?: string;
33
+ spanClass?: string;
34
+ }
35
+ export type { IIconProps, IIconWrapProps };
@@ -0,0 +1,3 @@
1
+ import type { IIconButtonProps } from "./types";
2
+ declare const IconButton: import("react").ForwardRefExoticComponent<Readonly<IIconButtonProps> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export { IconButton };
@@ -0,0 +1,9 @@
1
+ import { TSpacing } from "components/@core";
2
+ declare const StyledIconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
3
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
4
+ }, "$variant"> & import("components/button/styles").IStyledButtonProps, {
5
+ $borderRadius?: string;
6
+ $px?: TSpacing;
7
+ $py?: TSpacing;
8
+ }>> & string;
9
+ export { StyledIconButton };