@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
package/package.json CHANGED
@@ -69,9 +69,23 @@
69
69
  "plugin:storybook/recommended"
70
70
  ]
71
71
  },
72
+ "exports": {
73
+ ".": {
74
+ "types": "./types/index.d.ts",
75
+ "import": "./index.mjs",
76
+ "require": "./index.js"
77
+ },
78
+ "./button": {
79
+ "types": "./types/components/button/types.d.ts",
80
+ "import": "./button.mjs",
81
+ "require": "./button.js"
82
+ }
83
+ },
72
84
  "files": [
73
85
  "README.md",
74
- "*.js"
86
+ "./types",
87
+ "*.js",
88
+ "*.mjs"
75
89
  ],
76
90
  "homepage": "https://gitlab.com/fluidattacks/universe",
77
91
  "keywords": [
@@ -106,5 +120,5 @@
106
120
  "test-storybook": "test-storybook"
107
121
  },
108
122
  "typings": "types/index.d.ts",
109
- "version": "3.1.4"
123
+ "version": "3.1.6"
110
124
  }
@@ -0,0 +1,2 @@
1
+ declare const hiddenProps: string[];
2
+ export { hiddenProps };
@@ -0,0 +1,5 @@
1
+ export * from "./variants/utils";
2
+ export * from "./constants";
3
+ export * from "./styles";
4
+ export * from "./types";
5
+ export * from "./utils";
@@ -0,0 +1,6 @@
1
+ import type { TModifiable } from "./types";
2
+ declare const BaseComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TModifiable>> & string;
3
+ declare const BaseButtonComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, TModifiable>> & string;
4
+ declare const BaseTextComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, TModifiable>> & string;
5
+ declare const BaseSpanComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TModifiable>> & string;
6
+ export { BaseComponent, BaseButtonComponent, BaseTextComponent, BaseSpanComponent, };
@@ -0,0 +1,181 @@
1
+ import type { IconName } from "@fortawesome/free-solid-svg-icons";
2
+ import type { Property } from "csstype";
3
+ type ColorGradient = "01" | "02";
4
+ type ColorPalette = "25" | "50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
5
+ /**
6
+ * Fluidattacks Default theme design
7
+ */
8
+ interface DefaultTheme {
9
+ breakpoints: {
10
+ mobile: string;
11
+ tablet: string;
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ };
16
+ spacing: {
17
+ 0: "0rem";
18
+ 0.125: "0.125rem";
19
+ 0.188: "0.188rem";
20
+ 0.25: "0.25rem";
21
+ 0.5: "0.5rem";
22
+ 0.625: "0.625rem";
23
+ 0.75: "0.75rem";
24
+ 1: "1rem";
25
+ 1.25: "1.25rem";
26
+ 1.5: "1.5rem";
27
+ 1.75: "1.75rem";
28
+ 2: "2rem";
29
+ 2.25: "2.25rem";
30
+ 2.5: "2.5rem";
31
+ 3: "3rem";
32
+ 3.5: "3.5rem";
33
+ 4: "4rem";
34
+ 4.5: "4.5rem";
35
+ 5: "5rem";
36
+ 6: "6rem";
37
+ };
38
+ typography: {
39
+ type: {
40
+ primary: string;
41
+ poppins: string;
42
+ mono: string;
43
+ };
44
+ heading: {
45
+ xxl: string;
46
+ xl: string;
47
+ lg: string;
48
+ md: string;
49
+ sm: string;
50
+ xs: string;
51
+ };
52
+ text: {
53
+ xl: string;
54
+ lg: string;
55
+ md: string;
56
+ sm: string;
57
+ xs: string;
58
+ };
59
+ weight: {
60
+ bold: string;
61
+ semibold: string;
62
+ regular: string;
63
+ };
64
+ };
65
+ shadows: {
66
+ none: string;
67
+ sm: string;
68
+ md: string;
69
+ lg: string;
70
+ };
71
+ palette: {
72
+ primary: Record<ColorPalette, string>;
73
+ complementary: Record<ColorPalette, string>;
74
+ error: Record<ColorPalette, string>;
75
+ info: Record<ColorPalette, string>;
76
+ warning: Record<ColorPalette, string>;
77
+ success: Record<ColorPalette, string>;
78
+ gray: Record<ColorPalette, string>;
79
+ gradients: Record<ColorGradient, string>;
80
+ black: string;
81
+ white: string;
82
+ };
83
+ }
84
+ type TSize = keyof DefaultTheme["typography"]["heading"];
85
+ type TSpacing = keyof DefaultTheme["spacing"];
86
+ type TShadows = keyof DefaultTheme["shadows"];
87
+ type TIconSize = "xl" | "lg" | "md" | "sm" | "xs" | "xxs" | "xxss";
88
+ type TIconType = "fa-brands" | "fa-kit" | "fa-light" | "fa-regular" | "fa-solid";
89
+ type TMode = "dark" | "light";
90
+ interface IPaddingModifiable {
91
+ padding?: [TSpacing, TSpacing, TSpacing, TSpacing];
92
+ px?: TSpacing;
93
+ py?: TSpacing;
94
+ pl?: TSpacing;
95
+ pr?: TSpacing;
96
+ pt?: TSpacing;
97
+ pb?: TSpacing;
98
+ }
99
+ interface IMarginModifiable {
100
+ margin?: [TSpacing, TSpacing, TSpacing, TSpacing];
101
+ mx?: TSpacing;
102
+ my?: TSpacing;
103
+ ml?: TSpacing;
104
+ mr?: TSpacing;
105
+ mt?: TSpacing;
106
+ mb?: TSpacing;
107
+ }
108
+ interface IPositionModifiable {
109
+ zIndex?: number;
110
+ position?: Property.Position;
111
+ top?: string;
112
+ right?: string;
113
+ bottom?: string;
114
+ left?: string;
115
+ }
116
+ interface IBorderModifiable {
117
+ border?: string;
118
+ borderTop?: string;
119
+ borderRight?: string;
120
+ borderBottom?: string;
121
+ borderLeft?: string;
122
+ borderColor?: string;
123
+ borderRadius?: string;
124
+ }
125
+ interface IIconModifiable {
126
+ icon: IconName | "priority-bars-high" | "priority-bars-low" | "priority-bars-medium";
127
+ iconColor?: string;
128
+ iconSize: TIconSize;
129
+ iconType?: TIconType;
130
+ iconTransform?: string;
131
+ }
132
+ interface ISizeModifiable {
133
+ size: TSize;
134
+ sizeMd?: TSize;
135
+ sizeSm?: TSize;
136
+ }
137
+ interface IDisplayModifiable {
138
+ scroll?: "none" | "x" | "xy" | "y";
139
+ visibility?: Property.Visibility;
140
+ display?: Property.Display;
141
+ height?: string;
142
+ width?: string;
143
+ maxHeight?: string;
144
+ maxWidth?: string;
145
+ minHeight?: string;
146
+ minWidth?: string;
147
+ shadow?: TShadows;
148
+ bgColor?: string;
149
+ bgGradient?: string;
150
+ gap?: TSpacing;
151
+ flexDirection?: Property.FlexDirection;
152
+ flexGrow?: Property.FlexGrow;
153
+ justify?: Property.JustifyContent;
154
+ justifySelf?: Property.JustifyContent;
155
+ alignItems?: Property.AlignItems;
156
+ alignSelf?: Property.AlignItems;
157
+ wrap?: Property.FlexWrap;
158
+ }
159
+ interface ITextModifiable {
160
+ color?: string;
161
+ fontFamily?: Property.FontFamily;
162
+ fontSize?: Property.FontSize<number | string>;
163
+ fontWeight?: Property.FontWeight;
164
+ letterSpacing?: Property.LetterSpacing;
165
+ lineSpacing?: Property.LineHeight<number | string>;
166
+ textAlign?: Property.TextAlign;
167
+ textDecoration?: Property.TextDecoration;
168
+ textOverflow?: Property.Overflow;
169
+ whiteSpace?: Property.WhiteSpace;
170
+ wordBreak?: Property.WordBreak;
171
+ wordWrap?: Property.WordWrap;
172
+ }
173
+ interface IInteractionModifiable {
174
+ cursor?: Property.Cursor;
175
+ transition?: string;
176
+ borderColorHover?: string;
177
+ bgColorHover?: string;
178
+ shadowHover?: TShadows;
179
+ }
180
+ type TModifiable = IBorderModifiable & IDisplayModifiable & IInteractionModifiable & IMarginModifiable & IPaddingModifiable & IPositionModifiable & ITextModifiable;
181
+ export type { DefaultTheme as ThemeType, TSpacing, IPaddingModifiable, IMarginModifiable, IDisplayModifiable, IIconModifiable, ITextModifiable, IInteractionModifiable, IPositionModifiable, IBorderModifiable, ISizeModifiable, TIconSize, TIconType, TModifiable, TMode, TSize, };
@@ -0,0 +1,11 @@
1
+ import type { StyledOptions } from "styled-components";
2
+ import type { IBorderModifiable, IDisplayModifiable, IInteractionModifiable, IMarginModifiable, IPaddingModifiable, IPositionModifiable, ITextModifiable } from "./types";
3
+ declare const setPadding: (props: Readonly<IPaddingModifiable>) => string;
4
+ declare const setMargin: (props: Readonly<IMarginModifiable>) => string;
5
+ declare const setPosition: (props: Readonly<IPositionModifiable>) => string;
6
+ declare const setBorder: (props: Readonly<IBorderModifiable>) => string;
7
+ declare const setDisplay: (props: Readonly<IDisplayModifiable>) => string;
8
+ declare const setText: (props: Readonly<ITextModifiable>) => string;
9
+ declare const setInteraction: (props: Readonly<IInteractionModifiable>) => string;
10
+ declare const getStyledConfig: () => StyledOptions<"web", object>;
11
+ export { setPadding, setText, setMargin, setInteraction, setPosition, setDisplay, setBorder, getStyledConfig, };
@@ -0,0 +1,59 @@
1
+ import type { IconPrefix } from "@fortawesome/free-solid-svg-icons";
2
+ import type { DefaultTheme } from "styled-components";
3
+ /**
4
+ * Object with the icons to be printed on Iconography section.
5
+ * The key is the name of the icon and the value is an array of icon prefixes.
6
+ *
7
+ * Possible prefixes are:
8
+ * - `fas`: for solid icons
9
+ * - `far`: for regular icons
10
+ *
11
+ * Example:
12
+ * ```ts
13
+ * const icons: IconsList = {
14
+ * "user": ["far", "fas"],
15
+ * "search": ["fas"],
16
+ * ...
17
+ * };
18
+ * ```
19
+ */
20
+ type TIconsList = Record<string, [IconPrefix, IconPrefix] | [IconPrefix]>;
21
+ interface IComponentVariant<T extends string> {
22
+ /**
23
+ * Get the variant css string. It can be added to `styled` template string.
24
+ *
25
+ * @param theme Theme to use
26
+ * @param variant Variant to get
27
+ * @returns Css string for the variant
28
+ */
29
+ getVariant: (theme: Readonly<DefaultTheme>, variant: T) => string;
30
+ }
31
+ /**
32
+ * Builder function to create a function for getting component variants
33
+ * injecting the theme.
34
+ *
35
+ * Example:
36
+ * ```ts
37
+ * const { getVariant } = variantBuilder((theme) => ({
38
+ * primary: css`
39
+ * background: ${theme.colors.primary};
40
+ * border: 2px solid ${theme.colors.primary};
41
+ * color: ${theme.colors.white};
42
+ * `,
43
+ * secondary: css`
44
+ * background: ${theme.colors.secondary};
45
+ * border: 2px solid ${theme.colors.secondary};
46
+ * color: ${theme.colors.white};
47
+ * `,
48
+ * }));
49
+ *
50
+ * getVariant(theme, "primary"); // returns the primary variant
51
+ * ```
52
+ *
53
+ * @param variants A function that returns the variants of a component as
54
+ * an object with variants as keys and values as css strings.
55
+ * @returns An object with a function to get the variant.
56
+ */
57
+ declare const variantBuilder: <T extends string>(variants: (theme: Readonly<DefaultTheme>) => Record<T, string>) => IComponentVariant<T>;
58
+ export type { IComponentVariant, TIconsList };
59
+ export { variantBuilder };
@@ -0,0 +1,3 @@
1
+ import { IAccordionContentProps } from "../types";
2
+ declare const AccordionContent: ({ item, }: Readonly<IAccordionContentProps>) => JSX.Element;
3
+ export { AccordionContent };
@@ -0,0 +1,4 @@
1
+ import type { IAccordionProps } from "./types";
2
+ declare const Accordion: import("react").ForwardRefExoticComponent<Readonly<IAccordionProps> & import("react").RefAttributes<HTMLDivElement>>;
3
+ export { Accordion };
4
+ export type { IAccordionProps };
@@ -0,0 +1,36 @@
1
+ type TAligned = "end" | "start";
2
+ /**
3
+ * Accordion item properties.
4
+ * @interface IAccordionItemProps
5
+ * @property {string} title - Accordion title.
6
+ * @property {string} [description] - Accordion description.
7
+ * @property {JSX.Element} [extraElement] - Additional elements for the accordion.
8
+ */
9
+ interface IAccordionItemProps {
10
+ title: string;
11
+ description?: string;
12
+ extraElement?: JSX.Element;
13
+ }
14
+ /**
15
+ * Accordion Content props
16
+ * @interface IAccordionContentProps
17
+ * @property {IAccordionItemProps} item Accordion item.
18
+ */
19
+ interface IAccordionContentProps {
20
+ item: IAccordionItemProps;
21
+ }
22
+ /**
23
+ * Pass more than 1 item to activate the progress variant.
24
+ *
25
+ * Accordion component properties.
26
+ * @interface IAccordionProps
27
+ * @property {TAligned} [aligned] - Alignment of the accordion title.
28
+ * @property {IAccordionItemProps[]} items - A list of accordion items.
29
+ * @property {string} [bgColor] - Background color of the accordion.
30
+ */
31
+ interface IAccordionProps {
32
+ aligned?: TAligned;
33
+ items: IAccordionItemProps[];
34
+ bgColor?: string;
35
+ }
36
+ export type { IAccordionProps, IAccordionItemProps, IAccordionContentProps, TAligned, };
@@ -0,0 +1,4 @@
1
+ import type { IAlertProps } from "./types";
2
+ declare const Alert: import("react").ForwardRefExoticComponent<Readonly<IAlertProps> & import("react").RefAttributes<HTMLDivElement>>;
3
+ export type { IAlertProps };
4
+ export { Alert };
@@ -0,0 +1,9 @@
1
+ import type { IconName } from "@fortawesome/free-solid-svg-icons";
2
+ import { TAlertAndNotifyVariant } from "./types";
3
+ interface IStyledAlertAndNotifyProps {
4
+ $variant?: TAlertAndNotifyVariant;
5
+ }
6
+ declare const getIcon: (variant: TAlertAndNotifyVariant) => IconName;
7
+ declare const AlertContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IStyledAlertAndNotifyProps>> & string;
8
+ declare const MessageContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
+ export { getIcon, AlertContainer, MessageContainer };
@@ -0,0 +1,23 @@
1
+ import type { Dispatch, HTMLAttributes, SetStateAction } from "react";
2
+ import type { IMarginModifiable } from "components/@core/types";
3
+ type TAlertAndNotifyVariant = "error" | "info" | "success" | "warning";
4
+ /**
5
+ * Alert component props.
6
+ * @interface IAlertProps
7
+ * @extends IMarginModifiable
8
+ * @property {boolean} [autoHide] - Automatically hide the alert after a certain time.
9
+ * @property {boolean} [closable] - Whether the alert should be closable.
10
+ * @property {boolean} [show] - Whether the alert should be visible.
11
+ * @property {number} [time] - The duration (in seconds) to show the alert.
12
+ * @property {Function} [onTimeOut] - Callback function to be executed when the alert timeout.
13
+ * @property {TAlertAndNotifyVariant} [variant] - The variant of the alert (error, info, success, warning).
14
+ */
15
+ interface IAlertProps extends IMarginModifiable, HTMLAttributes<HTMLDivElement> {
16
+ autoHide?: boolean;
17
+ closable?: boolean;
18
+ show?: boolean;
19
+ time?: 4 | 8 | 12;
20
+ onTimeOut?: Dispatch<SetStateAction<boolean>>;
21
+ variant?: TAlertAndNotifyVariant;
22
+ }
23
+ export type { IAlertProps, TAlertAndNotifyVariant };
@@ -0,0 +1,4 @@
1
+ import type { IButtonProps } from "./types";
2
+ declare const Button: import("react").ForwardRefExoticComponent<Readonly<IButtonProps> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export type { IButtonProps };
4
+ export { Button };
@@ -0,0 +1,9 @@
1
+ import type { TVariant } from "./types";
2
+ interface IStyledButtonProps {
3
+ $variant?: TVariant;
4
+ }
5
+ declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<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"> & {
6
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
7
+ }, IStyledButtonProps>> & string;
8
+ export type { IStyledButtonProps, TVariant };
9
+ export { StyledButton };
@@ -0,0 +1,30 @@
1
+ import type { ButtonHTMLAttributes } from "react";
2
+ import type { IBorderModifiable, IDisplayModifiable, IIconModifiable, IMarginModifiable, IPaddingModifiable, TMode } from "components/@core";
3
+ import type { TPlace } from "components/tooltip/types";
4
+ type TVariant = "primary" | "secondary" | "tertiary" | "ghost" | "link";
5
+ /**
6
+ * Button component props.
7
+ * @interface IButtonProps
8
+ * @extends IBorderModifiable
9
+ * @extends IDisplayModifiable
10
+ * @extends IMarginModifiable
11
+ * @extends IPaddingModifiable
12
+ * @extends IIconModifiable
13
+ * @extends ButtonHTMLAttributes<HTMLButtonElement>
14
+ * @property {boolean} [external] - Whether the link should open in a new tab.
15
+ * @property {string} [href] - Link URL for link variant.
16
+ * @property {string} [tooltip] - Tooltip message.
17
+ * @property {TPlace} [tooltipPlace] - Tooltip message relative place.
18
+ * @property {boolean} [underline] - Text underlined for link variant.
19
+ * @property {TVariant} [variant] - The button variant type.
20
+ */
21
+ interface IButtonProps extends IBorderModifiable, IDisplayModifiable, IMarginModifiable, IPaddingModifiable, Partial<IIconModifiable>, ButtonHTMLAttributes<HTMLButtonElement> {
22
+ external?: boolean;
23
+ href?: string;
24
+ showArrow?: boolean;
25
+ tooltip?: string;
26
+ tooltipPlace?: TPlace;
27
+ underline?: boolean;
28
+ variant?: TVariant;
29
+ }
30
+ export type { IButtonProps, TMode, TVariant };
@@ -0,0 +1,3 @@
1
+ import type { ICardHeader } from "../types";
2
+ declare const CardHeader: ({ authorEmail, date, description, descriptionColor, id, title, titleColor, textAlign, textSpacing, tooltip, }: Readonly<ICardHeader>) => JSX.Element;
3
+ export { CardHeader };
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from "react";
2
+ import type { ICardWithImageProps } from "../types";
3
+ declare const CardWithImage: ({ alt, authorEmail, date, description, src, children, isEditing, onClick, title, hideDescription, headerType, showMaximize, }: Readonly<PropsWithChildren<ICardWithImageProps>>) => JSX.Element;
4
+ export { CardWithImage };
@@ -0,0 +1,3 @@
1
+ import type { ICardWithInputProps } from "../types";
2
+ declare const CardWithInput: ({ description, disabled, id, align, inputType, inputNumberProps, minHeight, minWidth, name, placeholder, tooltip, title, }: Readonly<ICardWithInputProps>) => JSX.Element;
3
+ export { CardWithInput };
@@ -0,0 +1,8 @@
1
+ import type { Property } from "csstype";
2
+ interface ICardInputContainerProps {
3
+ $align?: Property.TextAlign;
4
+ $minHeight?: string;
5
+ $minWidth?: string;
6
+ }
7
+ declare const CardInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ICardInputContainerProps>> & string;
8
+ export { CardInputContainer };
@@ -0,0 +1,3 @@
1
+ import type { ICardWithSelectorProps } from "../types";
2
+ declare const CardWithSelector: ({ alt, imageId, icon, selectorProps, onClick, title, width, }: Readonly<ICardWithSelectorProps>) => JSX.Element;
3
+ export { CardWithSelector };
@@ -0,0 +1,3 @@
1
+ import type { ICardWithSwitchProps } from "../types";
2
+ declare const CardWithSwitch: ({ id, title, toggles, minWidth, height, }: Readonly<ICardWithSwitchProps>) => JSX.Element;
3
+ export { CardWithSwitch };
@@ -0,0 +1,6 @@
1
+ import { CardHeader } from "./card-header";
2
+ import { CardWithImage } from "./card-with-image";
3
+ import { CardWithInput } from "./card-with-input";
4
+ import { CardWithSelector } from "./card-with-selector";
5
+ import { CardWithSwitch } from "./card-with-switch";
6
+ export { CardHeader, CardWithInput, CardWithImage, CardWithSelector, CardWithSwitch, };
@@ -0,0 +1,121 @@
1
+ import { IconName } from "@fortawesome/free-solid-svg-icons";
2
+ import type { Property } from "csstype";
3
+ import type { MouseEventHandler } from "react";
4
+ import type { TSpacing } from "components/@core/types";
5
+ import type { TFileType } from "components/file-preview/types";
6
+ import { IRadioButtonProps } from "components/radio-button/types";
7
+ import { IToggleProps } from "components/toggle/types";
8
+ type TInputType = "date" | "number" | "text";
9
+ /**
10
+ * Card component shared props.
11
+ * @interface ISharedProps
12
+ * @property { string } [authorEmail] - Card author email.
13
+ * @property { string } [date] - Card date.
14
+ * @property { string } [description] - Card description.
15
+ * @property { string } [title] - Card title.
16
+ */
17
+ interface ISharedProps {
18
+ authorEmail?: string;
19
+ date?: string;
20
+ description?: string;
21
+ title: string;
22
+ }
23
+ /**
24
+ * Card header component props.
25
+ * @interface ICardHeader
26
+ * @extends ISharedProps
27
+ * @property { string } [textAlign] - Card title text alignment.
28
+ * @property { string } [tooltip] - Card tooltip.
29
+ * @property { string } id - Card id.
30
+ * @property { string } [titleColor] - Card title color.
31
+ * @property { string } [descriptionColor] - Card description color.
32
+ * @property { TSpacing } [textSpacing] - Card text spacing.
33
+ */
34
+ interface ICardHeader extends ISharedProps {
35
+ textAlign?: Property.TextAlign;
36
+ tooltip?: string;
37
+ id: string;
38
+ titleColor?: string;
39
+ descriptionColor?: string;
40
+ textSpacing?: TSpacing;
41
+ }
42
+ /**
43
+ * Card with image component props.
44
+ * @interface ICardWithImageProps
45
+ * @extends ISharedProps
46
+ * @property { string } alt - Card image alt.
47
+ * @property { string } [src] - Card image source.
48
+ * @property { boolean } [isEditing] - Card is editing.
49
+ * @property { boolean } [showMaximize] - Card show maximize.
50
+ * @property { boolean } [hideDescription] - Card hide description.
51
+ * @property { MouseEventHandler<HTMLDivElement> } [onClick] - Card onClick.
52
+ * @property { TFileType } [headerType] - Card header type.
53
+ */
54
+ interface ICardWithImageProps extends ISharedProps {
55
+ alt: string;
56
+ hideDescription?: boolean;
57
+ onClick?: MouseEventHandler<HTMLDivElement>;
58
+ src: string;
59
+ headerType?: TFileType;
60
+ isEditing: boolean;
61
+ showMaximize?: boolean;
62
+ }
63
+ /**
64
+ * Card with switch component props.
65
+ * @interface ICardWithSwitchProps
66
+ * @property { string } [minWidth] - Card min width.
67
+ * @property { string } [height] - Card height.
68
+ * @property { IToggleProps[] } toggles - Card toggles.
69
+ */
70
+ interface ICardWithSwitchProps extends ICardHeader {
71
+ minWidth?: string;
72
+ height?: string;
73
+ toggles: IToggleProps[];
74
+ }
75
+ /**
76
+ * Card with selector component props.
77
+ * @interface ICardWithSelectorProps
78
+ * @extends ISharedProps
79
+ * @property { string } [alt] - Card image alt.
80
+ * @property { string } [imageId] - Card image id.
81
+ * @property { IconName } [icon] - Card icon.
82
+ * @property { Function } [onClick] - Card onClick.
83
+ * @property { IRadioButtonProps } selectorProps - Card selector props.
84
+ * @property { string } [width] - Card width.
85
+ */
86
+ interface ICardWithSelectorProps extends Pick<ISharedProps, "description" | "title"> {
87
+ alt?: string;
88
+ imageId?: string;
89
+ icon?: IconName;
90
+ onClick?: () => void;
91
+ selectorProps: IRadioButtonProps;
92
+ width?: string;
93
+ }
94
+ /**
95
+ * Card with input component props.
96
+ * @interface ICardWithInputProps
97
+ * @extends ICardHeader
98
+ * @property { string } [align] - Card input align.
99
+ * @property { Interface } [inputNumberProps] - Card input number props.
100
+ * @property { boolean } [disabled] - Card disabled.
101
+ * @property { string } [inputType] - Card input type.
102
+ * @property { string } [minHeight] - Card min height.
103
+ * @property { string } [minWidth] - Card min width.
104
+ * @property { string } name - Card name.
105
+ * @property { string } [placeholder] - Card placeholder.
106
+ */
107
+ interface ICardWithInputProps extends ICardHeader {
108
+ align?: Property.TextAlign;
109
+ inputNumberProps?: {
110
+ decimalPlaces?: number;
111
+ max?: number;
112
+ min?: number;
113
+ };
114
+ disabled?: boolean;
115
+ inputType?: TInputType;
116
+ minHeight?: string;
117
+ minWidth?: string;
118
+ name: string;
119
+ placeholder?: string;
120
+ }
121
+ export type { ICardHeader, ICardWithImageProps, ICardWithSwitchProps, ICardWithSelectorProps, ICardWithInputProps, };
@@ -0,0 +1,4 @@
1
+ import type { FC } from "react";
2
+ import type { ICarouselProps } from "./types";
3
+ declare const Carousel: FC<ICarouselProps>;
4
+ export { Carousel };
@@ -0,0 +1,10 @@
1
+ declare const CarouselContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ declare const CarouselWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
+ $currentIndex: number;
4
+ }>> & string;
5
+ declare const CarouselSlide: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
+ declare const NavButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
7
+ $isActive: boolean;
8
+ }>> & string;
9
+ declare const NavContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
+ export { CarouselContainer, CarouselWrapper, CarouselSlide, NavContainer, NavButton, };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Slide component props.
3
+ * @interface ISlide
4
+ * @property {JSX.Element} content - The content to be displayed in the slide.
5
+ */
6
+ interface ISlide {
7
+ content: JSX.Element;
8
+ }
9
+ /**
10
+ * Carousel component props.
11
+ * @interface ICarouselProps
12
+ * @property {ISlide[]} slides - The array of slides to be displayed in the carousel.
13
+ * @property {number} [interval] - The interval (in milliseconds) between slide transitions. Default is 300.
14
+ */
15
+ interface ICarouselProps {
16
+ slides: ISlide[];
17
+ interval?: number;
18
+ }
19
+ export type { ICarouselProps, ISlide };
@@ -0,0 +1,3 @@
1
+ import type { ICheckboxProps } from "./types";
2
+ declare const Checkbox: import("react").ForwardRefExoticComponent<Readonly<ICheckboxProps> & import("react").RefAttributes<HTMLInputElement>>;
3
+ export { Checkbox };
@@ -0,0 +1,2 @@
1
+ declare const InputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
2
+ export { InputContainer };