@skalar-saas/design-system 0.1.67

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 (295) hide show
  1. package/README.md +68 -0
  2. package/dist/design-system.css +1 -0
  3. package/dist/hooks/index.d.ts +1 -0
  4. package/dist/hooks/useDebounce.d.ts +7 -0
  5. package/dist/index-CVAu6nrM.cjs +15 -0
  6. package/dist/index-CVAu6nrM.cjs.map +1 -0
  7. package/dist/index-D9hMGhK3.js +6790 -0
  8. package/dist/index-D9hMGhK3.js.map +1 -0
  9. package/dist/index.d.ts +130 -0
  10. package/dist/index.js +26 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/index.mjs +11508 -0
  13. package/dist/index.mjs.map +1 -0
  14. package/dist/layout/Container/Container.d.ts +62 -0
  15. package/dist/layout/Container/index.d.ts +2 -0
  16. package/dist/layout/PanelLayout/Panel.d.ts +20 -0
  17. package/dist/layout/PanelLayout/PanelContext.d.ts +10 -0
  18. package/dist/layout/PanelLayout/PanelLayout.d.ts +28 -0
  19. package/dist/layout/PanelLayout/PanelLayout.types.d.ts +146 -0
  20. package/dist/layout/PanelLayout/PanelMain.d.ts +19 -0
  21. package/dist/layout/PanelLayout/index.d.ts +6 -0
  22. package/dist/layout/PanelLayout/panelUtils.d.ts +74 -0
  23. package/dist/layout/PanelLayout/usePanelState.d.ts +25 -0
  24. package/dist/layout/Section/Section.d.ts +20 -0
  25. package/dist/layout/Section/index.d.ts +2 -0
  26. package/dist/layout/SplitPanelLayout/SplitPanelLayout.d.ts +57 -0
  27. package/dist/layout/SplitPanelLayout/index.d.ts +2 -0
  28. package/dist/layout/constants.d.ts +348 -0
  29. package/dist/layout/index.d.ts +31 -0
  30. package/dist/shared/icons/AICommentaryIcon.d.ts +11 -0
  31. package/dist/shared/icons/AIMessage.d.ts +2 -0
  32. package/dist/shared/icons/Add2Icon.d.ts +12 -0
  33. package/dist/shared/icons/AddIcon.d.ts +7 -0
  34. package/dist/shared/icons/ArrowNarrowDownIcon.d.ts +6 -0
  35. package/dist/shared/icons/BookOutlined.d.ts +10 -0
  36. package/dist/shared/icons/Box2Icon.d.ts +6 -0
  37. package/dist/shared/icons/BoxIcon.d.ts +11 -0
  38. package/dist/shared/icons/CalendarIcon.d.ts +11 -0
  39. package/dist/shared/icons/CalendarIcon2.d.ts +12 -0
  40. package/dist/shared/icons/ChatIcon.d.ts +11 -0
  41. package/dist/shared/icons/ChevronDownIcon.d.ts +6 -0
  42. package/dist/shared/icons/ChevronUpIcon.d.ts +6 -0
  43. package/dist/shared/icons/CircleIcon.d.ts +6 -0
  44. package/dist/shared/icons/CopyIcon.d.ts +12 -0
  45. package/dist/shared/icons/DataArrowsOutlined.d.ts +10 -0
  46. package/dist/shared/icons/Edit2Icon.d.ts +12 -0
  47. package/dist/shared/icons/EyeIcon.d.ts +12 -0
  48. package/dist/shared/icons/EyeOffIcon.d.ts +12 -0
  49. package/dist/shared/icons/FilterFunnel02Icon.d.ts +6 -0
  50. package/dist/shared/icons/FlashIcon.d.ts +12 -0
  51. package/dist/shared/icons/GridIcon.d.ts +12 -0
  52. package/dist/shared/icons/InfoIcon.d.ts +12 -0
  53. package/dist/shared/icons/LayerIcon.d.ts +12 -0
  54. package/dist/shared/icons/LeftArrowIcon.d.ts +5 -0
  55. package/dist/shared/icons/MaximizeIcon.d.ts +12 -0
  56. package/dist/shared/icons/MessageProgrammingOutlined.d.ts +10 -0
  57. package/dist/shared/icons/MoreIcon.d.ts +12 -0
  58. package/dist/shared/icons/PlusCircleIcon.d.ts +6 -0
  59. package/dist/shared/icons/ProgrammingArrowsOutlined.d.ts +10 -0
  60. package/dist/shared/icons/QuestionCircle.d.ts +11 -0
  61. package/dist/shared/icons/RightArrowIcon.d.ts +5 -0
  62. package/dist/shared/icons/ShareIcon.d.ts +6 -0
  63. package/dist/shared/icons/SkalarLogo.d.ts +13 -0
  64. package/dist/shared/icons/SkalarLogoNoText.d.ts +13 -0
  65. package/dist/shared/icons/SlashIcon.d.ts +5 -0
  66. package/dist/shared/icons/SliderPointerDown.d.ts +10 -0
  67. package/dist/shared/icons/SliderPointerUp.d.ts +10 -0
  68. package/dist/shared/icons/SliderThumbIcon.d.ts +10 -0
  69. package/dist/shared/icons/StraightInfoIcon.d.ts +11 -0
  70. package/dist/shared/icons/TrashIcon.d.ts +12 -0
  71. package/dist/shared/icons/UnionIcon.d.ts +12 -0
  72. package/dist/shared/icons/UploadImageIcon.d.ts +10 -0
  73. package/dist/shared/icons/VideoPlayOutlined.d.ts +10 -0
  74. package/dist/shared/icons/XMark.d.ts +11 -0
  75. package/dist/shared/icons/XMarkAlert.d.ts +11 -0
  76. package/dist/shared/icons/index.d.ts +83 -0
  77. package/dist/shared/ui/Alert/Alert.d.ts +95 -0
  78. package/dist/shared/ui/Alert/index.d.ts +1 -0
  79. package/dist/shared/ui/AttachmentMessage/AttachmentMessage.d.ts +29 -0
  80. package/dist/shared/ui/AttachmentMessage/index.d.ts +1 -0
  81. package/dist/shared/ui/AuthActionWidget/AuthActionWidget.d.ts +18 -0
  82. package/dist/shared/ui/AuthActionWidget/index.d.ts +2 -0
  83. package/dist/shared/ui/AuthFormWidget/AuthFormWidget.d.ts +27 -0
  84. package/dist/shared/ui/AuthFormWidget/index.d.ts +2 -0
  85. package/dist/shared/ui/AuthSocialOptionsWidget/AuthSocialOptionsWidget.d.ts +25 -0
  86. package/dist/shared/ui/AuthSocialOptionsWidget/index.d.ts +2 -0
  87. package/dist/shared/ui/Avatar/Avatar.d.ts +38 -0
  88. package/dist/shared/ui/Avatar/index.d.ts +1 -0
  89. package/dist/shared/ui/AvatarGroup/AvatarGroup.d.ts +39 -0
  90. package/dist/shared/ui/AvatarGroup/index.d.ts +1 -0
  91. package/dist/shared/ui/Badge/Badge.d.ts +40 -0
  92. package/dist/shared/ui/Badge/index.d.ts +1 -0
  93. package/dist/shared/ui/BreadCrumb/BreadCrumb.d.ts +12 -0
  94. package/dist/shared/ui/BreadCrumb/index.d.ts +1 -0
  95. package/dist/shared/ui/Button/Button.d.ts +47 -0
  96. package/dist/shared/ui/Button/index.d.ts +1 -0
  97. package/dist/shared/ui/ButtonDropdown/ButtonDropdown.d.ts +53 -0
  98. package/dist/shared/ui/ButtonDropdown/index.d.ts +1 -0
  99. package/dist/shared/ui/ButtonGroup/ButtonGroup.d.ts +39 -0
  100. package/dist/shared/ui/ButtonGroup/index.d.ts +1 -0
  101. package/dist/shared/ui/Card/Card.d.ts +46 -0
  102. package/dist/shared/ui/Card/index.d.ts +2 -0
  103. package/dist/shared/ui/CardAction/CardAction.d.ts +28 -0
  104. package/dist/shared/ui/CardAction/index.d.ts +2 -0
  105. package/dist/shared/ui/ChatCollapsibleCheck/ChatCollapsibleCheck.d.ts +54 -0
  106. package/dist/shared/ui/ChatCollapsibleCheck/index.d.ts +2 -0
  107. package/dist/shared/ui/ChatCollapsibleContainer/ChatCollapsibleContainer.d.ts +32 -0
  108. package/dist/shared/ui/ChatCollapsibleContainer/index.d.ts +2 -0
  109. package/dist/shared/ui/ChatCollapsibleDialog/ChatCollapsibleDialog.d.ts +43 -0
  110. package/dist/shared/ui/ChatCollapsibleDialog/index.d.ts +2 -0
  111. package/dist/shared/ui/ChatCommandList/ChatCommandList.d.ts +78 -0
  112. package/dist/shared/ui/ChatCommandList/index.d.ts +2 -0
  113. package/dist/shared/ui/ChatCommandListItem/ChatCommandListItem.d.ts +88 -0
  114. package/dist/shared/ui/ChatCommandListItem/index.d.ts +2 -0
  115. package/dist/shared/ui/ChatHeader/ChatHeader.d.ts +38 -0
  116. package/dist/shared/ui/ChatHeader/index.d.ts +1 -0
  117. package/dist/shared/ui/ChatHistorial/ChatHistorial.d.ts +49 -0
  118. package/dist/shared/ui/ChatHistorial/index.d.ts +2 -0
  119. package/dist/shared/ui/ChatHistorialItem/ChatHistorialItem.d.ts +33 -0
  120. package/dist/shared/ui/ChatHistorialItem/index.d.ts +2 -0
  121. package/dist/shared/ui/ChatInputText/ChatInputText.d.ts +36 -0
  122. package/dist/shared/ui/ChatInputText/index.d.ts +1 -0
  123. package/dist/shared/ui/ChatMessage/ChatMessage.d.ts +27 -0
  124. package/dist/shared/ui/ChatMessage/index.d.ts +2 -0
  125. package/dist/shared/ui/ChatMessageOptions/ChatMessageOptions.d.ts +30 -0
  126. package/dist/shared/ui/ChatMessageOptions/index.d.ts +2 -0
  127. package/dist/shared/ui/ChatPanel/ChatPanel.d.ts +57 -0
  128. package/dist/shared/ui/ChatPanel/ChatPanel.types.d.ts +171 -0
  129. package/dist/shared/ui/ChatPanel/index.d.ts +2 -0
  130. package/dist/shared/ui/ChatTypingIndicator/ChatTypingIndicator.d.ts +17 -0
  131. package/dist/shared/ui/ChatTypingIndicator/index.d.ts +1 -0
  132. package/dist/shared/ui/Checkbox/Checkbox.d.ts +26 -0
  133. package/dist/shared/ui/Checkbox/index.d.ts +1 -0
  134. package/dist/shared/ui/Chip/Chip.d.ts +35 -0
  135. package/dist/shared/ui/Chip/index.d.ts +1 -0
  136. package/dist/shared/ui/ColorPalette/ColorPalette.d.ts +9 -0
  137. package/dist/shared/ui/ColumnHandler/ColumnHandler.d.ts +17 -0
  138. package/dist/shared/ui/ColumnHandler/PanelHandle.d.ts +32 -0
  139. package/dist/shared/ui/ColumnHandler/index.d.ts +4 -0
  140. package/dist/shared/ui/ComboBox/ComboBox.d.ts +69 -0
  141. package/dist/shared/ui/ComboBox/index.d.ts +1 -0
  142. package/dist/shared/ui/ContextualMenu/ContextualMenu.d.ts +47 -0
  143. package/dist/shared/ui/ContextualMenu/index.d.ts +2 -0
  144. package/dist/shared/ui/DateRangePicker/DateRangePicker.d.ts +47 -0
  145. package/dist/shared/ui/DateRangePicker/index.d.ts +1 -0
  146. package/dist/shared/ui/Divider/Divider.d.ts +8 -0
  147. package/dist/shared/ui/Divider/index.d.ts +1 -0
  148. package/dist/shared/ui/DragAndDropListItem/DragAndDropListItem.d.ts +54 -0
  149. package/dist/shared/ui/DragAndDropListItem/index.d.ts +2 -0
  150. package/dist/shared/ui/DropMenu/DropMenu.d.ts +58 -0
  151. package/dist/shared/ui/DropMenu/index.d.ts +1 -0
  152. package/dist/shared/ui/DropZone/DropZone.d.ts +47 -0
  153. package/dist/shared/ui/DropZone/index.d.ts +2 -0
  154. package/dist/shared/ui/Dropdown/Dropdown.d.ts +66 -0
  155. package/dist/shared/ui/Dropdown/index.d.ts +1 -0
  156. package/dist/shared/ui/DropdownMenu/DropdownMenu.d.ts +37 -0
  157. package/dist/shared/ui/ErrorBoundary/ErrorBoundary.d.ts +46 -0
  158. package/dist/shared/ui/ErrorBoundary/index.d.ts +2 -0
  159. package/dist/shared/ui/ErrorState/ErrorState.d.ts +51 -0
  160. package/dist/shared/ui/ErrorState/index.d.ts +2 -0
  161. package/dist/shared/ui/FloatingBar/FloatingBar.d.ts +92 -0
  162. package/dist/shared/ui/FloatingBar/index.d.ts +1 -0
  163. package/dist/shared/ui/FormFieldGroup/FormFieldGroup.d.ts +9 -0
  164. package/dist/shared/ui/FormFieldGroup/index.d.ts +2 -0
  165. package/dist/shared/ui/GridDraggableItem/GridDraggableItem.d.ts +45 -0
  166. package/dist/shared/ui/GridDraggableItem/index.d.ts +2 -0
  167. package/dist/shared/ui/Header/Header.d.ts +36 -0
  168. package/dist/shared/ui/Header/index.d.ts +2 -0
  169. package/dist/shared/ui/Header/useCalculateHeaderWidths.d.ts +31 -0
  170. package/dist/shared/ui/HeaderTabs/HeaderTabs.d.ts +36 -0
  171. package/dist/shared/ui/HeaderTabs/index.d.ts +2 -0
  172. package/dist/shared/ui/Icon/Icon.d.ts +37 -0
  173. package/dist/shared/ui/Icon/index.d.ts +1 -0
  174. package/dist/shared/ui/ImageUploader/ImageUploader.d.ts +38 -0
  175. package/dist/shared/ui/ImageUploader/index.d.ts +1 -0
  176. package/dist/shared/ui/InfoLabel/InfoLabel.d.ts +28 -0
  177. package/dist/shared/ui/InfoLabel/index.d.ts +2 -0
  178. package/dist/shared/ui/InputField/InputField.d.ts +55 -0
  179. package/dist/shared/ui/InputField/index.d.ts +1 -0
  180. package/dist/shared/ui/InputSearch/InputSearch.d.ts +44 -0
  181. package/dist/shared/ui/InputSearch/index.d.ts +1 -0
  182. package/dist/shared/ui/Kbd/Kbd.d.ts +8 -0
  183. package/dist/shared/ui/Kbd/index.d.ts +2 -0
  184. package/dist/shared/ui/LabelIcon/LabelIcon.d.ts +26 -0
  185. package/dist/shared/ui/LabelIcon/index.d.ts +2 -0
  186. package/dist/shared/ui/LabelWithIcon/LabelWithIcon.d.ts +27 -0
  187. package/dist/shared/ui/LabelWithIcon/index.d.ts +1 -0
  188. package/dist/shared/ui/LabelWithTooltip/LabelWithTooltip.d.ts +41 -0
  189. package/dist/shared/ui/LabelWithTooltip/index.d.ts +1 -0
  190. package/dist/shared/ui/Link/Link.d.ts +39 -0
  191. package/dist/shared/ui/Link/index.d.ts +1 -0
  192. package/dist/shared/ui/ListItem/ListItem.d.ts +72 -0
  193. package/dist/shared/ui/ListItem/index.d.ts +2 -0
  194. package/dist/shared/ui/Modal/Modal.d.ts +203 -0
  195. package/dist/shared/ui/Modal/index.d.ts +1 -0
  196. package/dist/shared/ui/ModuleCard/ModuleCard.d.ts +51 -0
  197. package/dist/shared/ui/ModuleCard/index.d.ts +1 -0
  198. package/dist/shared/ui/ModuleFieldItem/ModuleFieldItem.d.ts +53 -0
  199. package/dist/shared/ui/ModuleFieldItem/index.d.ts +1 -0
  200. package/dist/shared/ui/PanelHeader/PanelHeader.d.ts +37 -0
  201. package/dist/shared/ui/PanelHeader/index.d.ts +1 -0
  202. package/dist/shared/ui/PasswordResetWidget/PasswordResetWidget.d.ts +19 -0
  203. package/dist/shared/ui/PasswordResetWidget/index.d.ts +2 -0
  204. package/dist/shared/ui/ProductIcon/ProductIcon.d.ts +25 -0
  205. package/dist/shared/ui/ProductIcon/index.d.ts +1 -0
  206. package/dist/shared/ui/Progress/Progress.d.ts +29 -0
  207. package/dist/shared/ui/Progress/index.d.ts +1 -0
  208. package/dist/shared/ui/ProgressBar/ProgressBar.d.ts +21 -0
  209. package/dist/shared/ui/ProgressBar/index.d.ts +1 -0
  210. package/dist/shared/ui/ProgressCircle/ProgressCircle.d.ts +44 -0
  211. package/dist/shared/ui/ProgressCircle/index.d.ts +1 -0
  212. package/dist/shared/ui/ProgressCustomTooltip/ProgressCustomTooltip.d.ts +47 -0
  213. package/dist/shared/ui/ProgressCustomTooltip/index.d.ts +1 -0
  214. package/dist/shared/ui/ProgressTracker/ProgressTracker.d.ts +36 -0
  215. package/dist/shared/ui/ProgressTracker/index.d.ts +1 -0
  216. package/dist/shared/ui/ProjectActionCard/ProjectActionCard.d.ts +23 -0
  217. package/dist/shared/ui/ProjectActionCard/index.d.ts +2 -0
  218. package/dist/shared/ui/ProjectCard/ProjectCard.d.ts +46 -0
  219. package/dist/shared/ui/ProjectCard/index.d.ts +2 -0
  220. package/dist/shared/ui/ProjectCardPlan/ProjectCardPlan.d.ts +27 -0
  221. package/dist/shared/ui/ProjectCardPlan/index.d.ts +2 -0
  222. package/dist/shared/ui/Radio/Radio.d.ts +24 -0
  223. package/dist/shared/ui/Radio/index.d.ts +1 -0
  224. package/dist/shared/ui/RecoveryWidget/RecoveryWidget.d.ts +26 -0
  225. package/dist/shared/ui/RecoveryWidget/index.d.ts +2 -0
  226. package/dist/shared/ui/RelatedDataCard/RelatedDataCard.d.ts +47 -0
  227. package/dist/shared/ui/RelatedDataCard/index.d.ts +1 -0
  228. package/dist/shared/ui/SettingsCard/SettingsCard.d.ts +24 -0
  229. package/dist/shared/ui/SettingsCard/index.d.ts +2 -0
  230. package/dist/shared/ui/SidePanel/SidePanel.d.ts +26 -0
  231. package/dist/shared/ui/SidePanel/SidePanel.types.d.ts +27 -0
  232. package/dist/shared/ui/SidePanel/index.d.ts +2 -0
  233. package/dist/shared/ui/SupportCard/SupportCard.d.ts +19 -0
  234. package/dist/shared/ui/SupportCard/index.d.ts +2 -0
  235. package/dist/shared/ui/Switcher/Switcher.d.ts +41 -0
  236. package/dist/shared/ui/Switcher/index.d.ts +1 -0
  237. package/dist/shared/ui/Table/Table.d.ts +136 -0
  238. package/dist/shared/ui/Table/TableBody.d.ts +13 -0
  239. package/dist/shared/ui/Table/TableCell.d.ts +6 -0
  240. package/dist/shared/ui/Table/TableColumnFilter.d.ts +11 -0
  241. package/dist/shared/ui/Table/TableColumnHeader.d.ts +6 -0
  242. package/dist/shared/ui/Table/TableColumnVisibility.d.ts +7 -0
  243. package/dist/shared/ui/Table/TableContext.d.ts +31 -0
  244. package/dist/shared/ui/Table/TableEmptyState.d.ts +16 -0
  245. package/dist/shared/ui/Table/TableHeader.d.ts +5 -0
  246. package/dist/shared/ui/Table/TablePagination.d.ts +9 -0
  247. package/dist/shared/ui/Table/TableRoot.d.ts +6 -0
  248. package/dist/shared/ui/Table/TableRow.d.ts +8 -0
  249. package/dist/shared/ui/Table/configParser.d.ts +18 -0
  250. package/dist/shared/ui/Table/index.d.ts +15 -0
  251. package/dist/shared/ui/Table/mockData.d.ts +33 -0
  252. package/dist/shared/ui/Table/types.d.ts +66 -0
  253. package/dist/shared/ui/Tabs/Tabs.d.ts +59 -0
  254. package/dist/shared/ui/Tabs/index.d.ts +1 -0
  255. package/dist/shared/ui/Tag/Tag.d.ts +29 -0
  256. package/dist/shared/ui/Tag/index.d.ts +1 -0
  257. package/dist/shared/ui/TextArea/TextArea.d.ts +28 -0
  258. package/dist/shared/ui/TextArea/index.d.ts +1 -0
  259. package/dist/shared/ui/ThemeToggle/ThemeToggle.d.ts +29 -0
  260. package/dist/shared/ui/ThemeToggle/index.d.ts +1 -0
  261. package/dist/shared/ui/Toast/Toast.d.ts +54 -0
  262. package/dist/shared/ui/Toast/index.d.ts +2 -0
  263. package/dist/shared/ui/Toggle/Toggle.d.ts +24 -0
  264. package/dist/shared/ui/Toggle/index.d.ts +1 -0
  265. package/dist/shared/ui/Tooltip/Tooltip.d.ts +103 -0
  266. package/dist/shared/ui/Tooltip/index.d.ts +1 -0
  267. package/dist/shared/ui/TypesPanel/TypesPanel.d.ts +28 -0
  268. package/dist/shared/ui/TypesPanel/index.d.ts +2 -0
  269. package/dist/shared/ui/TypesPanelBodyGrid/TypesPanelBodyGrid.d.ts +45 -0
  270. package/dist/shared/ui/TypesPanelBodyGrid/index.d.ts +2 -0
  271. package/dist/shared/ui/TypesPanelBodyList/TypesPanelBodyList.d.ts +45 -0
  272. package/dist/shared/ui/TypesPanelBodyList/index.d.ts +2 -0
  273. package/dist/shared/ui/TypesPanelHeader/TypesPanelHeader.d.ts +27 -0
  274. package/dist/shared/ui/TypesPanelHeader/index.d.ts +2 -0
  275. package/dist/shared/ui/TypesPanelHeaderSearch/TypesPanelHeaderSearch.d.ts +44 -0
  276. package/dist/shared/ui/TypesPanelHeaderSearch/index.d.ts +1 -0
  277. package/dist/shared/ui/UserMenu/UserMenu.d.ts +78 -0
  278. package/dist/shared/ui/UserMenu/index.d.ts +1 -0
  279. package/dist/shared/ui/VisualComposer/VisualComposer.d.ts +36 -0
  280. package/dist/shared/ui/VisualComposer/index.d.ts +2 -0
  281. package/dist/shared/ui/WidgetBuilderItemHoverAction/WidgetBuilderItemHoverAction.d.ts +15 -0
  282. package/dist/shared/ui/WidgetBuilderItemHoverAction/index.d.ts +2 -0
  283. package/dist/shared/ui/WidgetContainer/WidgetContainer.d.ts +23 -0
  284. package/dist/shared/ui/WidgetContainer/index.d.ts +2 -0
  285. package/dist/shared/ui/WidgetSidebar/WidgetSidebar.d.ts +70 -0
  286. package/dist/shared/ui/WidgetSidebar/index.d.ts +2 -0
  287. package/dist/shared/ui/WorkspaceSettings/WorkspaceSettings.d.ts +22 -0
  288. package/dist/shared/ui/WorkspaceSettings/index.d.ts +2 -0
  289. package/dist/shared/ui/index.d.ts +1 -0
  290. package/dist/shared/ui/slider/Slider.d.ts +96 -0
  291. package/dist/shared/ui/slider/index.d.ts +2 -0
  292. package/dist/shared/utils/index.d.ts +1 -0
  293. package/dist/shared/utils/tailwind.d.ts +9 -0
  294. package/package.json +112 -0
  295. package/tailwind.preset.js +278 -0
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { StatusState } from '@/shared/ui/Badge/Badge';
3
+ /**
4
+ * Defines the public API for the ProjectCard component, extending standard div attributes.
5
+ */
6
+ export interface ProjectCardProps extends React.HTMLAttributes<HTMLDivElement> {
7
+ title: string;
8
+ companyImage: string;
9
+ badgeStatus: string;
10
+ badgeStatusState: StatusState;
11
+ onButtonAction?: () => void;
12
+ stackLabel: React.ReactNode;
13
+ powerLabel: React.ReactNode;
14
+ calendarLabel: React.ReactNode;
15
+ link1Label: string;
16
+ link1Href: string;
17
+ link2Label: string;
18
+ link2Href: string;
19
+ link2Status: StatusState;
20
+ onCardClick?: () => void;
21
+ className?: string;
22
+ }
23
+ /**
24
+ * A project card component for displaying project information in dashboard views.
25
+ *
26
+ * This component displays project details including company icon, title, status badge,
27
+ * metadata labels, and related links with independent status indicators.
28
+ *
29
+ * @param {string} title - The project title/name (required).
30
+ * @param {string} companyImage - Image URL representing the company/project.
31
+ * @param {string} badgeStatus - Text to display in the main status badge.
32
+ * @param {StatusState} badgeStatusState - Status state for the main status badge indicator.
33
+ * @param {() => void} [onButtonAction] - Callback for the action button click.
34
+ * @param {React.ReactNode} stackLabel - Label for the first metric (stack icon).
35
+ * @param {React.ReactNode} powerLabel - Label for the second metric (power icon).
36
+ * @param {React.ReactNode} calendarLabel - Label for the third metric (calendar icon).
37
+ * @param {string} link1Label - Text label for the first link (subdomain).
38
+ * @param {string} link1Href - URL for the first link.
39
+ * @param {string} link2Label - Text label for the second link (database).
40
+ * @param {string} link2Href - URL for the second link.
41
+ * @param {StatusState} link2Status - Status state for the second link badge.
42
+ * @param {() => void} [onCardClick] - Callback when card is clicked.
43
+ * @param {string} [className] - Additional CSS classes.
44
+ * @returns {JSX.Element} The rendered project card element.
45
+ */
46
+ export declare const ProjectCard: React.ForwardRefExoticComponent<ProjectCardProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { ProjectCard } from './ProjectCard';
2
+ export type { ProjectCardProps } from './ProjectCard';
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ import { BadgeProps } from "@/shared/ui/Badge/Badge";
3
+ export type ProjectCardTimeLabel = "month" | "week" | "year" | "day";
4
+ export interface ProjectCardPlanItem {
5
+ icon: React.ReactNode;
6
+ itemLabel: string;
7
+ badge: string;
8
+ badgeTheme: BadgeProps["theme"];
9
+ progress: number;
10
+ }
11
+ export interface ProjectCardPlanProps extends React.HTMLAttributes<HTMLDivElement> {
12
+ planLabel: string;
13
+ priceLabel: string;
14
+ timeLabel: ProjectCardTimeLabel;
15
+ nextPaymentLabel: string;
16
+ dateLabel: string;
17
+ items: ProjectCardPlanItem[];
18
+ buttonLabel1: string;
19
+ onClickButton1?: () => void;
20
+ buttonLabel2: string;
21
+ onClickButton2?: () => void;
22
+ }
23
+ /**
24
+ * A component for displaying project plan information including pricing, plan details,
25
+ * and usage metrics with progress indicators. Includes action buttons for plan management.
26
+ */
27
+ export declare const ProjectCardPlan: ({ className, planLabel, priceLabel, timeLabel, nextPaymentLabel, dateLabel, items, buttonLabel1, onClickButton1, buttonLabel2, onClickButton2, ...props }: ProjectCardPlanProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { ProjectCardPlan } from './ProjectCardPlan';
2
+ export type { ProjectCardPlanProps } from './ProjectCardPlan';
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ type RadioSize = 'small' | 'medium' | 'large';
3
+ /**
4
+ * Defines the public API for the Radio component, omitting the native 'size'
5
+ * attribute to avoid conflicts with the custom size prop.
6
+ */
7
+ export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
8
+ /** The size of the radio button. */
9
+ size?: RadioSize;
10
+ }
11
+ /**
12
+ * @file An accessible, themeable radio button component.
13
+ * @description This component renders a custom-styled radio button that wraps a native,
14
+ * visually hidden `<input type="radio">` for accessibility. Radio buttons are intended
15
+ * to be used in groups (by providing the same `name` attribute) to allow for a single
16
+ * selection from a set of options.
17
+ *
18
+ * @param {RadioSize} [size='medium'] - The size of the radio button.
19
+ * @param {boolean} [checked=false] - The controlled checked state of the component.
20
+ * @param {boolean} [disabled=false] - If true, the component will be non-interactive.
21
+ * @returns {JSX.Element} The rendered Radio element.
22
+ */
23
+ export declare const Radio: ({ size, checked, disabled, className, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1 @@
1
+ export { Radio } from './Radio';
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ export type RecoveryStep = "email" | "code";
3
+ export type RecoveryType = "account" | "password";
4
+ export interface RecoveryWidgetProps {
5
+ /** Title displayed in the widget header. Defaults to "Recuperación" */
6
+ title?: string;
7
+ /** Actions displayed in the widget header. Pass `null` to hide. Defaults to settings button */
8
+ actions?: React.ReactNode | null;
9
+ /** Step of the recovery process */
10
+ step: RecoveryStep;
11
+ /** Type of recovery: account or password */
12
+ type?: RecoveryType;
13
+ /** Callback when recovery form is submitted */
14
+ onSubmit?: (value: string) => void;
15
+ /** Callback when back to login is clicked */
16
+ onBackToLogin?: () => void;
17
+ /** Callback when settings button is clicked */
18
+ onSettings?: () => void;
19
+ /** Optional className for the widget container */
20
+ className?: string;
21
+ }
22
+ /**
23
+ * Recovery Widget - A unified recovery form for account and password recovery
24
+ * Supports both email input and code verification steps
25
+ */
26
+ export declare const RecoveryWidget: ({ title, actions, step, type, onSubmit, onBackToLogin, onSettings, className, }: RecoveryWidgetProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RecoveryWidget } from './RecoveryWidget';
2
+ export type { RecoveryWidgetProps, RecoveryStep, RecoveryType } from './RecoveryWidget';
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ export interface RelatedDataItem {
3
+ /** Unique identifier */
4
+ id: string;
5
+ /** Item label */
6
+ label: string;
7
+ /** Item type (e.g., "Database", "API", "Service") */
8
+ type: string;
9
+ }
10
+ export interface RelatedDataCardProps {
11
+ /** Card title */
12
+ title?: string;
13
+ /** Array of related data items */
14
+ items?: RelatedDataItem[];
15
+ /** Additional CSS classes */
16
+ className?: string;
17
+ /** Callback when export icon is clicked */
18
+ onExportClick?: () => void;
19
+ /** Minimum width of the card */
20
+ minWidth?: number;
21
+ /** Maximum width of the card */
22
+ maxWidth?: number;
23
+ /** Opacity of the card (disabled state) */
24
+ opacity?: number;
25
+ }
26
+ /**
27
+ * RelatedDataCard - A disabled/readonly card displaying related data items
28
+ *
29
+ * Used in visualizer diagrams to show linked data sources or modules.
30
+ * The card is intentionally styled with reduced opacity to indicate
31
+ * it's not directly editable.
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * const relatedItems = [
36
+ * { id: '1', label: 'Users', type: 'Database' },
37
+ * { id: '2', label: 'Orders', type: 'API' },
38
+ * ];
39
+ *
40
+ * <RelatedDataCard
41
+ * title="Related Modules"
42
+ * items={relatedItems}
43
+ * onExportClick={() => console.log('Export')}
44
+ * />
45
+ * ```
46
+ */
47
+ export declare const RelatedDataCard: React.FC<RelatedDataCardProps>;
@@ -0,0 +1 @@
1
+ export { RelatedDataCard, type RelatedDataCardProps, type RelatedDataItem, } from './RelatedDataCard';
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { ProductIconType, ProductIconSize, ProductIconVariant } from "../ProductIcon/ProductIcon";
3
+ export interface SettingsCardProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ title?: string;
5
+ subtitle?: string;
6
+ /** @ignore */
7
+ icon?: React.ReactNode;
8
+ iconType?: ProductIconType;
9
+ iconVariant?: ProductIconVariant;
10
+ iconSize?: ProductIconSize;
11
+ headerActions?: React.ReactNode;
12
+ children?: React.ReactNode;
13
+ footerText?: React.ReactNode;
14
+ footerActions?: React.ReactNode;
15
+ footerVariant?: "default" | "danger" | "warning" | "success";
16
+ classNameHeader?: string;
17
+ classNameBody?: string;
18
+ classNameFooter?: string;
19
+ }
20
+ /**
21
+ * A flexible settings card component with optional header, body, and footer sections.
22
+ * All sections are optional - only render what you need.
23
+ */
24
+ export declare const SettingsCard: ({ className, title, subtitle, icon, iconType, iconVariant, iconSize, headerActions, children, footerText, footerActions, footerVariant, classNameHeader, classNameBody, classNameFooter, ...props }: SettingsCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SettingsCard } from './SettingsCard';
2
+ export type { SettingsCardProps } from './SettingsCard';
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import type { SidePanelProps } from './SidePanel.types';
3
+ /**
4
+ * SidePanel - A flexible, reusable panel component that maintains consistency
5
+ * with the design system while allowing full control over internal content.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * // Basic panel
10
+ * <SidePanel>
11
+ * <div>Your content here</div>
12
+ * </SidePanel>
13
+ *
14
+ * // Panel with custom header
15
+ * <SidePanel borderSide="right" borderStyle="surface-3">
16
+ * <div className="border-b border-surface-3 px-[24px] py-[16.5px]">
17
+ * <h1 className="font-medium text-[20px] text-high-em">Title</h1>
18
+ * </div>
19
+ * <div className="flex-1 overflow-y-auto">
20
+ * <p>Content</p>
21
+ * </div>
22
+ * </SidePanel>
23
+ * ```
24
+ */
25
+ export declare const SidePanel: React.NamedExoticComponent<SidePanelProps>;
26
+ export default SidePanel;
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Props for the SidePanel component
4
+ */
5
+ export interface SidePanelProps {
6
+ /**
7
+ * Content to be rendered inside the panel
8
+ */
9
+ children: ReactNode;
10
+ /**
11
+ * Additional CSS classes to apply to the panel container
12
+ */
13
+ className?: string;
14
+ /**
15
+ * Which side should have a border
16
+ * - 'left': Left border
17
+ * - 'right': Right border
18
+ * - 'none': No border
19
+ */
20
+ borderSide?: 'left' | 'right' | 'none';
21
+ /**
22
+ * Border color style from design system
23
+ * - 'surface-3': Lighter border (default)
24
+ * - 'surface-4': Darker border
25
+ */
26
+ borderStyle?: 'surface-3' | 'surface-4';
27
+ }
@@ -0,0 +1,2 @@
1
+ export { SidePanel, default } from './SidePanel';
2
+ export type { SidePanelProps } from './SidePanel.types';
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import { ButtonVariant, ButtonHierarchy } from "@/shared/ui/Button/Button";
3
+ export interface SupportCardButtonItem {
4
+ icon?: React.ReactNode;
5
+ label: string;
6
+ variant?: ButtonVariant;
7
+ hierarchy?: ButtonHierarchy;
8
+ buttonOnClick?: () => void;
9
+ }
10
+ export interface SupportCardProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ title: string;
12
+ subtitle: string;
13
+ buttonItems: SupportCardButtonItem[];
14
+ }
15
+ /**
16
+ * A component for displaying a support card with a title, subtitle, and action buttons.
17
+ * Each button can have an icon, label, and custom variant/hierarchy styling.
18
+ */
19
+ export declare const SupportCard: ({ className, title, subtitle, buttonItems, ...props }: SupportCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SupportCard } from './SupportCard';
2
+ export type { SupportCardProps, SupportCardButtonItem } from './SupportCard';
@@ -0,0 +1,41 @@
1
+ type SwitcherSize = 'xs' | 'sm' | 'md' | 'lg' | 'ai-chat';
2
+ /**
3
+ * Defines the shape for a single item in the Switcher.
4
+ */
5
+ export interface SwitcherItem {
6
+ id: string | number;
7
+ label: string;
8
+ }
9
+ /**
10
+ * Defines the public API for the Switcher component.
11
+ */
12
+ export interface SwitcherProps {
13
+ /** An array of item objects to be rendered as switcher options. */
14
+ items: SwitcherItem[];
15
+ /** The id of the currently selected item. */
16
+ value: string | number;
17
+ /** Callback function that is fired when an item is clicked. */
18
+ onChange: (id: string | number) => void;
19
+ /** The size of the switcher. */
20
+ size?: SwitcherSize;
21
+ /** If true, the switcher will have a border around its container. */
22
+ withBorder?: boolean;
23
+ /** Optional custom classes for the container. */
24
+ className?: string;
25
+ }
26
+ /**
27
+ * @file A segmented control component for single-choice selection.
28
+ * @description The Switcher displays a set of options in a pill-shaped container,
29
+ * with the active option highlighted. It is a fully controlled component, managed
30
+ * via the `value` and `onChange` props. All size-related styles are centralized
31
+ * in a configuration object for easy theming.
32
+ *
33
+ * @param {SwitcherItem[]} items - The array of options to display.
34
+ * @param {string | number} value - The controlled value of the selected item.
35
+ * @param {(id: string | number) => void} onChange - The callback fired when an item is selected.
36
+ * @param {SwitcherSize} [size='md'] - The size variant of the switcher.
37
+ * @param {boolean} [withBorder=false] - If true, adds a border to the component's container.
38
+ * @returns {JSX.Element} The rendered Switcher element.
39
+ */
40
+ export declare const Switcher: ({ items, value, onChange, size, withBorder, className, }: SwitcherProps) => import("react/jsx-runtime").JSX.Element;
41
+ export {};
@@ -0,0 +1 @@
1
+ export { Switcher, type SwitcherItem } from './Switcher';
@@ -0,0 +1,136 @@
1
+ import React from "react";
2
+ import { TableLayoutOptions } from "./TableContext";
3
+ export type SortDirection = "asc" | "desc" | null;
4
+ export interface TableColumn<T = unknown> {
5
+ /** Unique identifier for the column */
6
+ id: string;
7
+ /** Header label */
8
+ header: string;
9
+ /** Accessor function to get cell value from row data */
10
+ accessor?: (row: T) => React.ReactNode;
11
+ /** Custom cell renderer */
12
+ cell?: (row: T) => React.ReactNode;
13
+ /** Component to render in the cell - enables dynamic component injection */
14
+ component?: React.ComponentType<{
15
+ value: unknown;
16
+ row: T;
17
+ rowIndex: number;
18
+ }>;
19
+ /** Data type for automatic component mapping (avatar, tag, text, number, date, etc.) */
20
+ dataType?: "avatar" | "tag" | "text" | "number" | "date" | "boolean" | "custom";
21
+ /** Props to pass to the component */
22
+ componentProps?: Record<string, unknown>;
23
+ /** Column width (flex-1 by default) */
24
+ width?: string;
25
+ /** Column size in pixels */
26
+ size?: number;
27
+ /** Minimum column size in pixels */
28
+ minSize?: number;
29
+ /** Maximum column size in pixels */
30
+ maxSize?: number;
31
+ /** Enable sorting for this column */
32
+ sortable?: boolean;
33
+ /** Enable filtering for this column */
34
+ filterable?: boolean;
35
+ /** Filter type for dynamic filter rendering */
36
+ filterType?: "text" | "select" | "date" | "number" | "boolean";
37
+ /** Filter options for select-type filters */
38
+ filterOptions?: Array<{
39
+ label: string;
40
+ value: unknown;
41
+ }>;
42
+ /** Column type for header styling */
43
+ type?: "select" | "text" | "sortable" | "filterable";
44
+ }
45
+ export interface TableAction {
46
+ id: string;
47
+ label: string;
48
+ icon?: React.ReactNode;
49
+ onClick: () => void;
50
+ /** Component to render instead of default Button - enables dynamic component injection */
51
+ component?: React.ComponentType<{
52
+ value?: unknown;
53
+ }>;
54
+ /** Accessor function to get value for the component */
55
+ accessor?: () => unknown;
56
+ /** Props to pass to the component */
57
+ componentProps?: Record<string, unknown>;
58
+ }
59
+ export interface TableProps<T = unknown> {
60
+ /** Column definitions */
61
+ columns: TableColumn<T>[];
62
+ /** Data rows */
63
+ data: T[];
64
+ /** Table layout options */
65
+ tableLayout?: TableLayoutOptions;
66
+ /** Table title */
67
+ title?: React.ReactNode;
68
+ /** Enable search input in header */
69
+ showSearch?: boolean;
70
+ /** Search placeholder text */
71
+ searchPlaceholder?: string;
72
+ /** Search value */
73
+ searchValue?: string;
74
+ /** Callback when search changes */
75
+ onSearchChange?: (value: string) => void;
76
+ /** Header actions (Filters, Refresh, Settings) - accepts TableAction[] or React.ReactNode[] */
77
+ headerActions?: (TableAction | React.ReactNode)[];
78
+ /** Enable row selection with checkboxes */
79
+ selectable?: boolean;
80
+ /** Selected row IDs */
81
+ selectedRows?: Set<string | number>;
82
+ /** Callback when selection changes */
83
+ onSelectionChange?: (selected: Set<string | number>) => void;
84
+ /** Row ID accessor */
85
+ getRowId?: (row: T, index: number) => string | number;
86
+ /** Sorting state */
87
+ sortBy?: string;
88
+ sortDirection?: SortDirection;
89
+ /** Callback when sort changes */
90
+ onSortChange?: (columnId: string, direction: SortDirection) => void;
91
+ /** Enable virtualization */
92
+ virtualized?: boolean;
93
+ /** Container height for virtualization */
94
+ height?: string | number;
95
+ /** Show pagination footer */
96
+ showPagination?: boolean;
97
+ /** Current page */
98
+ currentPage?: number;
99
+ /** Total pages */
100
+ totalPages?: number;
101
+ /** Items per page */
102
+ itemsPerPage?: number;
103
+ /** Total items */
104
+ totalItems?: number;
105
+ /** Pagination callbacks */
106
+ onPageChange?: (page: number) => void;
107
+ onNextPage?: () => void;
108
+ onPreviousPage?: () => void;
109
+ /** Custom className */
110
+ className?: string;
111
+ /** Empty state title */
112
+ emptyStateTitle?: string;
113
+ /** Empty state description */
114
+ emptyStateDescription?: string;
115
+ /** Show clear filters button in empty state */
116
+ showClearFiltersButton?: boolean;
117
+ }
118
+ /**
119
+ * Highly flexible, virtualized table component for large datasets.
120
+ *
121
+ * This component initializes the table logic and provides context to child components.
122
+ * It does not render any UI elements directly.
123
+ *
124
+ * @example
125
+ * ```tsx
126
+ * <Table columns={columns} data={data} tableLayout={{ dense: true }}>
127
+ * <TableRoot>
128
+ * <TableHeader />
129
+ * <TableBody />
130
+ * </TableRoot>
131
+ * </Table>
132
+ * ```
133
+ */
134
+ export declare const Table: <T extends Record<string, unknown>>({ columns, data, tableLayout, children, ...props }: TableProps<T> & {
135
+ children: React.ReactNode;
136
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ export interface TableBodyProps {
3
+ className?: string;
4
+ /** Empty state title */
5
+ emptyStateTitle?: string;
6
+ /** Empty state description */
7
+ emptyStateDescription?: string;
8
+ /** Show clear filters button in empty state */
9
+ showClearFiltersButton?: boolean;
10
+ /** Callback when clear filters is clicked */
11
+ onClearFilters?: () => void;
12
+ }
13
+ export declare const TableBody: React.FC<TableBodyProps>;
@@ -0,0 +1,6 @@
1
+ import { type Cell } from "@tanstack/react-table";
2
+ export interface TableCellProps<TData = unknown, TValue = unknown> {
3
+ cell: Cell<TData, TValue>;
4
+ className?: string;
5
+ }
6
+ export declare const TableCell: <TData = unknown, TValue = unknown>({ cell, className }: TableCellProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ export interface TableColumnFilterProps {
3
+ columnId: string;
4
+ className?: string;
5
+ options?: Array<{
6
+ label: string;
7
+ value: unknown;
8
+ }>;
9
+ title?: string;
10
+ }
11
+ export declare const TableColumnFilter: React.FC<TableColumnFilterProps>;
@@ -0,0 +1,6 @@
1
+ import { type Header } from "@tanstack/react-table";
2
+ export interface TableColumnHeaderProps<TData = unknown> {
3
+ header: Header<TData, unknown>;
4
+ className?: string;
5
+ }
6
+ export declare const TableColumnHeader: <TData = unknown>({ header, className, }: TableColumnHeaderProps<TData>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface TableColumnVisibilityProps {
3
+ className?: string;
4
+ trigger?: React.ReactNode;
5
+ position?: "left" | "right";
6
+ }
7
+ export declare const TableColumnVisibility: React.FC<TableColumnVisibilityProps>;
@@ -0,0 +1,31 @@
1
+ import React from "react";
2
+ import type { Table as ReactTable } from "@tanstack/react-table";
3
+ export interface TableLayoutOptions {
4
+ dense?: boolean;
5
+ cellBorder?: boolean;
6
+ rowBorder?: boolean;
7
+ headerBackground?: boolean;
8
+ headerBorder?: boolean;
9
+ virtualized?: boolean;
10
+ width?: 'auto' | 'fixed';
11
+ columnsVisibility?: boolean;
12
+ columnsResizable?: boolean;
13
+ rowHeight?: number;
14
+ cellAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
15
+ }
16
+ export type TableContextValue<T = unknown> = {
17
+ table: ReactTable<T>;
18
+ tableLayout: TableLayoutOptions;
19
+ parentRef?: React.RefObject<HTMLDivElement | null>;
20
+ emptyStateTitle?: string;
21
+ emptyStateDescription?: string;
22
+ showClearFiltersButton?: boolean;
23
+ resetAllFilters?: () => void;
24
+ };
25
+ export declare const TableContext: React.Context<TableContextValue<unknown> | null>;
26
+ export declare const useTableContext: <T = unknown>() => TableContextValue<T>;
27
+ export interface TableProviderProps<T = unknown> {
28
+ children: React.ReactNode;
29
+ value: TableContextValue<T>;
30
+ }
31
+ export declare const TableProvider: <T = unknown>({ children, value, }: TableProviderProps<T>) => React.FunctionComponentElement<React.ProviderProps<TableContextValue<unknown> | null>>;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ export interface TableEmptyStateProps {
3
+ /** Empty state title */
4
+ title?: string;
5
+ /** Empty state description */
6
+ description?: string;
7
+ /** Show clear filters button */
8
+ showClearFiltersButton?: boolean;
9
+ /** Callback when clear filters is clicked */
10
+ onClearFilters?: () => void;
11
+ /** Custom className */
12
+ className?: string;
13
+ /** Number of columns for colspan */
14
+ colSpan?: number;
15
+ }
16
+ export declare const TableEmptyState: React.FC<TableEmptyStateProps>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface TableHeaderProps {
3
+ className?: string;
4
+ }
5
+ export declare const TableHeader: React.FC<TableHeaderProps>;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface TablePaginationProps {
3
+ showPagination?: boolean;
4
+ totalItems?: number;
5
+ className?: string;
6
+ sizes?: number[];
7
+ infoTemplate?: string;
8
+ }
9
+ export declare const TablePagination: React.FC<TablePaginationProps>;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export interface TableRootProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ }
6
+ export declare const TableRoot: React.FC<TableRootProps>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export interface TableRowProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ isTBody?: boolean;
7
+ }
8
+ export declare const TableRow: React.FC<TableRowProps>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Configuration parser for JSON-based table setup
3
+ * Converts API configuration into React Table columns
4
+ */
5
+ import type { TableColumn } from './Table';
6
+ import type { TableColumnConfig } from './types';
7
+ /**
8
+ * Converts a JSON column configuration into a React Table column
9
+ */
10
+ export declare function parseColumnConfig<T extends Record<string, unknown>>(columnConfig: TableColumnConfig): TableColumn<T>;
11
+ /**
12
+ * Converts an array of column configurations into React Table columns
13
+ */
14
+ export declare function parseTableConfig<T extends Record<string, unknown>>(columns: TableColumnConfig[]): TableColumn<T>[];
15
+ /**
16
+ * Utility to add selection column to parsed columns
17
+ */
18
+ export declare function addSelectionColumn<T extends Record<string, unknown>>(columns: TableColumn<T>[]): TableColumn<T>[];