@campxdev/react-blueprint 3.0.0-alpha.5 → 3.0.0-alpha.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 (255) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +24 -0
  3. package/dist/cjs/types/src/components/Assets/ErrorPages/InternalServerError.d.ts +20 -0
  4. package/dist/cjs/types/src/components/Assets/ErrorPages/NoInternetConnection.d.ts +20 -0
  5. package/dist/cjs/types/src/components/Assets/ErrorPages/NoItemFound.d.ts +28 -0
  6. package/dist/cjs/types/src/components/Assets/ErrorPages/PageNotFound.d.ts +21 -0
  7. package/dist/cjs/types/src/components/Assets/ErrorPages/ResourceNotFound.d.ts +21 -0
  8. package/dist/cjs/types/src/components/Assets/ErrorPages/UnAuthorized.d.ts +31 -0
  9. package/dist/cjs/types/src/components/Assets/Icons/Icons.d.ts +54 -0
  10. package/dist/cjs/types/src/components/Charts/BarChart/BarChart.d.ts +38 -0
  11. package/dist/cjs/types/src/components/Charts/BarChart/HorizontalBarChart.d.ts +93 -0
  12. package/dist/cjs/types/src/components/Charts/BarChart/VerticalBarChart.d.ts +110 -0
  13. package/dist/cjs/types/src/components/Charts/LineChart/LineChart.d.ts +89 -0
  14. package/dist/cjs/types/src/components/Charts/PieChart/PieChart.d.ts +86 -0
  15. package/dist/cjs/types/src/components/Charts/TreeMap/TreeMap.d.ts +74 -0
  16. package/dist/cjs/types/src/components/DataDisplay/Accordion/Accordion.d.ts +54 -0
  17. package/dist/cjs/types/src/components/DataDisplay/ActivityLogView/ActivityLogFilter.d.ts +35 -0
  18. package/dist/cjs/types/src/components/DataDisplay/ActivityLogView/ActivityLogView.d.ts +78 -0
  19. package/dist/cjs/types/src/components/DataDisplay/Avatar/Avatar.d.ts +40 -0
  20. package/dist/cjs/types/src/components/DataDisplay/Chip/Chip.d.ts +28 -0
  21. package/dist/cjs/types/src/components/DataDisplay/Chips/Chips.d.ts +55 -0
  22. package/dist/cjs/types/src/components/DataDisplay/DataTable/DataTable.d.ts +95 -0
  23. package/dist/cjs/types/src/components/DataDisplay/DataTable/components/TablePagination.d.ts +35 -0
  24. package/dist/cjs/types/src/components/DataDisplay/EmptyIllustration/EmptyIllustration.d.ts +30 -0
  25. package/dist/cjs/types/src/components/DataDisplay/ReactJoyride/ReactJoyride.d.ts +64 -0
  26. package/dist/cjs/types/src/components/DataDisplay/Separator/Separator.d.ts +30 -0
  27. package/dist/cjs/types/src/components/DataDisplay/Skeleton/Skeleton.d.ts +20 -0
  28. package/dist/cjs/types/src/components/DataDisplay/StatusCard/StatusCard.d.ts +36 -0
  29. package/dist/cjs/types/src/components/DataDisplay/Timeline/Timeline.d.ts +58 -0
  30. package/dist/cjs/types/src/components/DataDisplay/Typography/Typography.d.ts +25 -0
  31. package/dist/cjs/types/src/components/Feedback/Alert/Alert.d.ts +31 -0
  32. package/dist/cjs/types/src/components/Feedback/Snackbar/Snackbar.d.ts +54 -0
  33. package/dist/cjs/types/src/components/Feedback/Spinner/Spinner.d.ts +15 -0
  34. package/dist/cjs/types/src/components/Feedback/Tooltip/Tooltip.d.ts +54 -0
  35. package/dist/cjs/types/src/components/Input/Button/Button.d.ts +26 -0
  36. package/dist/cjs/types/src/components/Input/DatePicker/DatePicker.d.ts +41 -0
  37. package/dist/cjs/types/src/components/Input/DateTimePicker/DateTimePicker.d.ts +42 -0
  38. package/dist/cjs/types/src/components/Input/FileUpload/FileUpload.d.ts +41 -0
  39. package/dist/cjs/types/src/components/Input/FormActions/FormActions.d.ts +37 -0
  40. package/dist/cjs/types/src/components/Input/FormControlWrapper/FormControlWrapper.d.ts +31 -0
  41. package/dist/cjs/types/src/components/Input/FormWrapper/FormWrapper.d.ts +20 -0
  42. package/dist/cjs/types/src/components/Input/HelpButton/HelpButton.d.ts +14 -0
  43. package/dist/cjs/types/src/components/Input/IconButtons/IconButtons/DeleteButton.d.ts +16 -0
  44. package/dist/cjs/types/src/components/Input/IconButtons/IconButtons/EditButton.d.ts +16 -0
  45. package/dist/cjs/types/src/components/Input/IconButtons/IconButtons/RedirectButton.d.ts +16 -0
  46. package/dist/cjs/types/src/components/Input/IconButtons/IconButtons/ViewButton.d.ts +16 -0
  47. package/dist/cjs/types/src/components/Input/IconButtons/IconButtons.d.ts +18 -0
  48. package/dist/cjs/types/src/components/Input/LabelWrapper/LabelWrapper.d.ts +26 -0
  49. package/dist/cjs/types/src/components/Input/MultiCheckBox/MultiCheckBox.d.ts +34 -0
  50. package/dist/cjs/types/src/components/Input/MultiSelect/MultiSelect.d.ts +40 -0
  51. package/dist/cjs/types/src/components/Input/OtpInput/OtpInput.d.ts +29 -0
  52. package/dist/cjs/types/src/components/Input/PasswordField/PasswordField.d.ts +34 -0
  53. package/dist/cjs/types/src/components/Input/RadioGroup/RadioGroup.d.ts +38 -0
  54. package/dist/cjs/types/src/components/Input/SearchBar/SearchBar.d.ts +26 -0
  55. package/dist/cjs/types/src/components/Input/Select/Select.d.ts +32 -0
  56. package/dist/cjs/types/src/components/Input/SingleCheckBox/SingleCheckBox.d.ts +29 -0
  57. package/dist/cjs/types/src/components/Input/SingleSelect/SingleSelect.d.ts +40 -0
  58. package/dist/cjs/types/src/components/Input/Switch/Switch.d.ts +23 -0
  59. package/dist/cjs/types/src/components/Input/Tags/Tags.d.ts +26 -0
  60. package/dist/cjs/types/src/components/Input/TextField/TextField.d.ts +35 -0
  61. package/dist/cjs/types/src/components/Input/Textarea/Textarea.d.ts +36 -0
  62. package/dist/cjs/types/src/components/Layout/AppLayout/AppLayout.d.ts +32 -0
  63. package/dist/cjs/types/src/components/Layout/AppLayout/components/MenuToggleButton.d.ts +16 -0
  64. package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/MenuBar.d.ts +26 -0
  65. package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/MenuItem.d.ts +37 -0
  66. package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/Sidebar.d.ts +30 -1
  67. package/dist/cjs/types/src/components/Layout/AppLayout/components/Sidebar/StyledComponents.d.ts +139 -0
  68. package/dist/cjs/types/src/components/Layout/AppLayout/components/UserProfilePopup.d.ts +34 -0
  69. package/dist/cjs/types/src/components/Layout/AppLayout/context/SidebarContext.d.ts +48 -0
  70. package/dist/cjs/types/src/components/Layout/AppLayout/types.d.ts +1 -1
  71. package/dist/cjs/types/src/components/Layout/PageContent/PageContent.d.ts +19 -0
  72. package/dist/cjs/types/src/components/Layout/PageHeader/PageHeader.d.ts +46 -0
  73. package/dist/cjs/types/src/components/Layout/PageHeader/components/SearchBar.d.ts +22 -0
  74. package/dist/cjs/types/src/components/Layout/UserBox/UserBox.d.ts +40 -0
  75. package/dist/cjs/types/src/components/Navigation/Breadcrumbs/Breadcrumbs.d.ts +33 -0
  76. package/dist/cjs/types/src/components/Navigation/Calendar/Calendar.d.ts +63 -0
  77. package/dist/cjs/types/src/components/Navigation/ConfirmDialog/ConfirmDialog.d.ts +64 -0
  78. package/dist/cjs/types/src/components/Navigation/Dialog/Dialog.d.ts +55 -0
  79. package/dist/cjs/types/src/components/Navigation/DialogButton/DialogButton.d.ts +64 -0
  80. package/dist/cjs/types/src/components/Navigation/DropDownMenu/DropDownMenu.d.ts +73 -0
  81. package/dist/cjs/types/src/components/Navigation/PreviewFiles/PreviewFiles.d.ts +54 -0
  82. package/dist/cjs/types/src/components/Navigation/Stepper/Stepper.d.ts +55 -10
  83. package/dist/cjs/types/src/components/Navigation/TabsContainer/TabsContainer.d.ts +80 -0
  84. package/dist/cjs/types/src/components/Navigation/UploadDialog/UploadDialog.d.ts +64 -0
  85. package/dist/esm/index.js +2 -2
  86. package/dist/esm/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +24 -0
  87. package/dist/esm/types/src/components/Assets/ErrorPages/InternalServerError.d.ts +20 -0
  88. package/dist/esm/types/src/components/Assets/ErrorPages/NoInternetConnection.d.ts +20 -0
  89. package/dist/esm/types/src/components/Assets/ErrorPages/NoItemFound.d.ts +28 -0
  90. package/dist/esm/types/src/components/Assets/ErrorPages/PageNotFound.d.ts +21 -0
  91. package/dist/esm/types/src/components/Assets/ErrorPages/ResourceNotFound.d.ts +21 -0
  92. package/dist/esm/types/src/components/Assets/ErrorPages/UnAuthorized.d.ts +31 -0
  93. package/dist/esm/types/src/components/Assets/Icons/Icons.d.ts +54 -0
  94. package/dist/esm/types/src/components/Charts/BarChart/BarChart.d.ts +38 -0
  95. package/dist/esm/types/src/components/Charts/BarChart/HorizontalBarChart.d.ts +93 -0
  96. package/dist/esm/types/src/components/Charts/BarChart/VerticalBarChart.d.ts +110 -0
  97. package/dist/esm/types/src/components/Charts/LineChart/LineChart.d.ts +89 -0
  98. package/dist/esm/types/src/components/Charts/PieChart/PieChart.d.ts +86 -0
  99. package/dist/esm/types/src/components/Charts/TreeMap/TreeMap.d.ts +74 -0
  100. package/dist/esm/types/src/components/DataDisplay/Accordion/Accordion.d.ts +54 -0
  101. package/dist/esm/types/src/components/DataDisplay/ActivityLogView/ActivityLogFilter.d.ts +35 -0
  102. package/dist/esm/types/src/components/DataDisplay/ActivityLogView/ActivityLogView.d.ts +78 -0
  103. package/dist/esm/types/src/components/DataDisplay/Avatar/Avatar.d.ts +40 -0
  104. package/dist/esm/types/src/components/DataDisplay/Chip/Chip.d.ts +28 -0
  105. package/dist/esm/types/src/components/DataDisplay/Chips/Chips.d.ts +55 -0
  106. package/dist/esm/types/src/components/DataDisplay/DataTable/DataTable.d.ts +95 -0
  107. package/dist/esm/types/src/components/DataDisplay/DataTable/components/TablePagination.d.ts +35 -0
  108. package/dist/esm/types/src/components/DataDisplay/EmptyIllustration/EmptyIllustration.d.ts +30 -0
  109. package/dist/esm/types/src/components/DataDisplay/ReactJoyride/ReactJoyride.d.ts +64 -0
  110. package/dist/esm/types/src/components/DataDisplay/Separator/Separator.d.ts +30 -0
  111. package/dist/esm/types/src/components/DataDisplay/Skeleton/Skeleton.d.ts +20 -0
  112. package/dist/esm/types/src/components/DataDisplay/StatusCard/StatusCard.d.ts +36 -0
  113. package/dist/esm/types/src/components/DataDisplay/Timeline/Timeline.d.ts +58 -0
  114. package/dist/esm/types/src/components/DataDisplay/Typography/Typography.d.ts +25 -0
  115. package/dist/esm/types/src/components/Feedback/Alert/Alert.d.ts +31 -0
  116. package/dist/esm/types/src/components/Feedback/Snackbar/Snackbar.d.ts +54 -0
  117. package/dist/esm/types/src/components/Feedback/Spinner/Spinner.d.ts +15 -0
  118. package/dist/esm/types/src/components/Feedback/Tooltip/Tooltip.d.ts +54 -0
  119. package/dist/esm/types/src/components/Input/Button/Button.d.ts +26 -0
  120. package/dist/esm/types/src/components/Input/DatePicker/DatePicker.d.ts +41 -0
  121. package/dist/esm/types/src/components/Input/DateTimePicker/DateTimePicker.d.ts +42 -0
  122. package/dist/esm/types/src/components/Input/FileUpload/FileUpload.d.ts +41 -0
  123. package/dist/esm/types/src/components/Input/FormActions/FormActions.d.ts +37 -0
  124. package/dist/esm/types/src/components/Input/FormControlWrapper/FormControlWrapper.d.ts +31 -0
  125. package/dist/esm/types/src/components/Input/FormWrapper/FormWrapper.d.ts +20 -0
  126. package/dist/esm/types/src/components/Input/HelpButton/HelpButton.d.ts +14 -0
  127. package/dist/esm/types/src/components/Input/IconButtons/IconButtons/DeleteButton.d.ts +16 -0
  128. package/dist/esm/types/src/components/Input/IconButtons/IconButtons/EditButton.d.ts +16 -0
  129. package/dist/esm/types/src/components/Input/IconButtons/IconButtons/RedirectButton.d.ts +16 -0
  130. package/dist/esm/types/src/components/Input/IconButtons/IconButtons/ViewButton.d.ts +16 -0
  131. package/dist/esm/types/src/components/Input/IconButtons/IconButtons.d.ts +18 -0
  132. package/dist/esm/types/src/components/Input/LabelWrapper/LabelWrapper.d.ts +26 -0
  133. package/dist/esm/types/src/components/Input/MultiCheckBox/MultiCheckBox.d.ts +34 -0
  134. package/dist/esm/types/src/components/Input/MultiSelect/MultiSelect.d.ts +40 -0
  135. package/dist/esm/types/src/components/Input/OtpInput/OtpInput.d.ts +29 -0
  136. package/dist/esm/types/src/components/Input/PasswordField/PasswordField.d.ts +34 -0
  137. package/dist/esm/types/src/components/Input/RadioGroup/RadioGroup.d.ts +38 -0
  138. package/dist/esm/types/src/components/Input/SearchBar/SearchBar.d.ts +26 -0
  139. package/dist/esm/types/src/components/Input/Select/Select.d.ts +32 -0
  140. package/dist/esm/types/src/components/Input/SingleCheckBox/SingleCheckBox.d.ts +29 -0
  141. package/dist/esm/types/src/components/Input/SingleSelect/SingleSelect.d.ts +40 -0
  142. package/dist/esm/types/src/components/Input/Switch/Switch.d.ts +23 -0
  143. package/dist/esm/types/src/components/Input/Tags/Tags.d.ts +26 -0
  144. package/dist/esm/types/src/components/Input/TextField/TextField.d.ts +35 -0
  145. package/dist/esm/types/src/components/Input/Textarea/Textarea.d.ts +36 -0
  146. package/dist/esm/types/src/components/Layout/AppLayout/AppLayout.d.ts +32 -0
  147. package/dist/esm/types/src/components/Layout/AppLayout/components/MenuToggleButton.d.ts +16 -0
  148. package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/MenuBar.d.ts +26 -0
  149. package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/MenuItem.d.ts +37 -0
  150. package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/Sidebar.d.ts +30 -1
  151. package/dist/esm/types/src/components/Layout/AppLayout/components/Sidebar/StyledComponents.d.ts +139 -0
  152. package/dist/esm/types/src/components/Layout/AppLayout/components/UserProfilePopup.d.ts +34 -0
  153. package/dist/esm/types/src/components/Layout/AppLayout/context/SidebarContext.d.ts +48 -0
  154. package/dist/esm/types/src/components/Layout/AppLayout/types.d.ts +1 -1
  155. package/dist/esm/types/src/components/Layout/PageContent/PageContent.d.ts +19 -0
  156. package/dist/esm/types/src/components/Layout/PageHeader/PageHeader.d.ts +46 -0
  157. package/dist/esm/types/src/components/Layout/PageHeader/components/SearchBar.d.ts +22 -0
  158. package/dist/esm/types/src/components/Layout/UserBox/UserBox.d.ts +40 -0
  159. package/dist/esm/types/src/components/Navigation/Breadcrumbs/Breadcrumbs.d.ts +33 -0
  160. package/dist/esm/types/src/components/Navigation/Calendar/Calendar.d.ts +63 -0
  161. package/dist/esm/types/src/components/Navigation/ConfirmDialog/ConfirmDialog.d.ts +64 -0
  162. package/dist/esm/types/src/components/Navigation/Dialog/Dialog.d.ts +55 -0
  163. package/dist/esm/types/src/components/Navigation/DialogButton/DialogButton.d.ts +64 -0
  164. package/dist/esm/types/src/components/Navigation/DropDownMenu/DropDownMenu.d.ts +73 -0
  165. package/dist/esm/types/src/components/Navigation/PreviewFiles/PreviewFiles.d.ts +54 -0
  166. package/dist/esm/types/src/components/Navigation/Stepper/Stepper.d.ts +55 -10
  167. package/dist/esm/types/src/components/Navigation/TabsContainer/TabsContainer.d.ts +80 -0
  168. package/dist/esm/types/src/components/Navigation/UploadDialog/UploadDialog.d.ts +64 -0
  169. package/dist/index.d.ts +2953 -12
  170. package/dist/styles.css +30 -9
  171. package/package.json +1 -1
  172. package/src/components/Assets/ErrorPages/ComingSoon.tsx +24 -0
  173. package/src/components/Assets/ErrorPages/InternalServerError.tsx +20 -0
  174. package/src/components/Assets/ErrorPages/NoInternetConnection.tsx +20 -0
  175. package/src/components/Assets/ErrorPages/NoItemFound.tsx +28 -0
  176. package/src/components/Assets/ErrorPages/PageNotFound.tsx +21 -0
  177. package/src/components/Assets/ErrorPages/ResourceNotFound.tsx +21 -0
  178. package/src/components/Assets/ErrorPages/UnAuthorized.tsx +31 -0
  179. package/src/components/Assets/Icons/Icons.tsx +55 -1
  180. package/src/components/Charts/BarChart/BarChart.tsx +38 -0
  181. package/src/components/Charts/BarChart/HorizontalBarChart.tsx +93 -0
  182. package/src/components/Charts/BarChart/VerticalBarChart.tsx +110 -0
  183. package/src/components/Charts/LineChart/LineChart.tsx +89 -0
  184. package/src/components/Charts/PieChart/PieChart.tsx +86 -0
  185. package/src/components/Charts/TreeMap/TreeMap.tsx +90 -0
  186. package/src/components/DataDisplay/Accordion/Accordion.tsx +54 -0
  187. package/src/components/DataDisplay/ActivityLogView/ActivityLogFilter.tsx +35 -0
  188. package/src/components/DataDisplay/ActivityLogView/ActivityLogView.tsx +84 -0
  189. package/src/components/DataDisplay/Avatar/Avatar.tsx +40 -0
  190. package/src/components/DataDisplay/Chip/Chip.tsx +28 -0
  191. package/src/components/DataDisplay/Chips/Chips.tsx +56 -0
  192. package/src/components/DataDisplay/DataTable/DataTable.tsx +95 -0
  193. package/src/components/DataDisplay/DataTable/components/TablePagination.tsx +35 -0
  194. package/src/components/DataDisplay/EmptyIllustration/EmptyIllustration.tsx +31 -0
  195. package/src/components/DataDisplay/ReactJoyride/ReactJoyride.tsx +64 -0
  196. package/src/components/DataDisplay/Separator/Separator.tsx +32 -0
  197. package/src/components/DataDisplay/Skeleton/Skeleton.tsx +20 -0
  198. package/src/components/DataDisplay/StatusCard/StatusCard.tsx +36 -0
  199. package/src/components/DataDisplay/Timeline/Timeline.tsx +58 -0
  200. package/src/components/DataDisplay/Typography/Typography.tsx +25 -0
  201. package/src/components/Feedback/Alert/Alert.tsx +38 -0
  202. package/src/components/Feedback/Snackbar/Snackbar.tsx +54 -0
  203. package/src/components/Feedback/Spinner/Spinner.tsx +15 -0
  204. package/src/components/Feedback/Tooltip/Tooltip.tsx +54 -0
  205. package/src/components/Input/Button/Button.tsx +26 -0
  206. package/src/components/Input/DatePicker/DatePicker.tsx +41 -0
  207. package/src/components/Input/DateTimePicker/DateTimePicker.tsx +42 -0
  208. package/src/components/Input/FileUpload/FileUpload.tsx +41 -0
  209. package/src/components/Input/FormActions/FormActions.tsx +37 -0
  210. package/src/components/Input/FormControlWrapper/FormControlWrapper.tsx +31 -0
  211. package/src/components/Input/FormWrapper/FormWrapper.tsx +20 -0
  212. package/src/components/Input/HelpButton/HelpButton.tsx +14 -0
  213. package/src/components/Input/IconButtons/IconButtons/DeleteButton.tsx +16 -0
  214. package/src/components/Input/IconButtons/IconButtons/EditButton.tsx +16 -0
  215. package/src/components/Input/IconButtons/IconButtons/RedirectButton.tsx +16 -0
  216. package/src/components/Input/IconButtons/IconButtons/ViewButton.tsx +16 -0
  217. package/src/components/Input/IconButtons/IconButtons.tsx +18 -0
  218. package/src/components/Input/LabelWrapper/LabelWrapper.tsx +26 -0
  219. package/src/components/Input/MultiCheckBox/MultiCheckBox.tsx +34 -0
  220. package/src/components/Input/MultiSelect/MultiSelect.tsx +40 -0
  221. package/src/components/Input/OtpInput/OtpInput.tsx +29 -0
  222. package/src/components/Input/PasswordField/PasswordField.tsx +34 -0
  223. package/src/components/Input/RadioGroup/RadioGroup.tsx +38 -0
  224. package/src/components/Input/SearchBar/SearchBar.tsx +26 -0
  225. package/src/components/Input/Select/Select.tsx +41 -0
  226. package/src/components/Input/SingleCheckBox/SingleCheckBox.tsx +29 -0
  227. package/src/components/Input/SingleSelect/SingleSelect.tsx +40 -0
  228. package/src/components/Input/Switch/Switch.tsx +23 -0
  229. package/src/components/Input/Tags/Tags.tsx +26 -0
  230. package/src/components/Input/TextField/TextField.tsx +35 -0
  231. package/src/components/Input/Textarea/Textarea.tsx +36 -0
  232. package/src/components/Layout/AppLayout/AppLayout.tsx +33 -1
  233. package/src/components/Layout/AppLayout/components/MenuToggleButton.tsx +16 -0
  234. package/src/components/Layout/AppLayout/components/Sidebar/MenuBar.tsx +26 -0
  235. package/src/components/Layout/AppLayout/components/Sidebar/MenuItem.tsx +51 -1
  236. package/src/components/Layout/AppLayout/components/Sidebar/Sidebar.tsx +173 -104
  237. package/src/components/Layout/AppLayout/components/Sidebar/StyledComponents.tsx +139 -9
  238. package/src/components/Layout/AppLayout/components/UserProfilePopup.tsx +34 -0
  239. package/src/components/Layout/AppLayout/context/SidebarContext.tsx +48 -0
  240. package/src/components/Layout/AppLayout/types.ts +1 -1
  241. package/src/components/Layout/PageContent/PageContent.tsx +19 -0
  242. package/src/components/Layout/PageHeader/PageHeader.tsx +46 -0
  243. package/src/components/Layout/PageHeader/components/SearchBar.tsx +22 -0
  244. package/src/components/Layout/UserBox/UserBox.tsx +40 -0
  245. package/src/components/Navigation/Breadcrumbs/Breadcrumbs.tsx +33 -0
  246. package/src/components/Navigation/Calendar/Calendar.tsx +63 -0
  247. package/src/components/Navigation/ConfirmDialog/ConfirmDialog.tsx +64 -0
  248. package/src/components/Navigation/Dialog/Dialog.tsx +55 -0
  249. package/src/components/Navigation/DialogButton/DialogButton.tsx +64 -0
  250. package/src/components/Navigation/DropDownMenu/DropDownMenu.tsx +73 -0
  251. package/src/components/Navigation/PreviewFiles/PreviewFiles.tsx +93 -0
  252. package/src/components/Navigation/Stepper/Stepper.tsx +56 -10
  253. package/src/components/Navigation/TabsContainer/TabsContainer.tsx +80 -0
  254. package/src/components/Navigation/UploadDialog/UploadDialog.tsx +64 -0
  255. package/src/shadcn-components/Layout/Sheet/Sheet.tsx +2 -2
@@ -1,3 +1,13 @@
1
+ /**
2
+ * Props for TablePagination component
3
+ * @typedef {Object} PaginationProps
4
+ * @property {number} limit - Number of rows per page
5
+ * @property {number} offset - Current page offset (0-indexed)
6
+ * @property {number} totalCount - Total number of records
7
+ * @property {(offset: number) => void} onPageChange - Callback when page changes
8
+ * @property {(limit: number) => void} onLimitChange - Callback when page limit changes
9
+ * @property {number} rowCount - Number of rows in current page
10
+ */
1
11
  export type PaginationProps = {
2
12
  limit: number;
3
13
  offset: number;
@@ -6,4 +16,29 @@ export type PaginationProps = {
6
16
  onLimitChange: (limit: number) => void;
7
17
  rowCount: number;
8
18
  };
19
+ /**
20
+ * TablePagination component for controlling data table pagination
21
+ * Displays page numbers, navigation arrows, row count, and page limit selector
22
+ *
23
+ * @component
24
+ * @param {PaginationProps} props - Pagination configuration
25
+ * @param {number} props.limit - Rows per page
26
+ * @param {number} props.offset - Current page offset
27
+ * @param {number} props.totalCount - Total records in dataset
28
+ * @param {(offset: number) => void} props.onPageChange - Handler for page navigation
29
+ * @param {(limit: number) => void} props.onLimitChange - Handler for limit changes
30
+ * @param {number} props.rowCount - Current page row count
31
+ * @returns {JSX.Element} Pagination controls with page selector and limit dropdown
32
+ *
33
+ * @example
34
+ * // Pagination with 20 rows per page
35
+ * <TablePagination
36
+ * limit={20}
37
+ * offset={0}
38
+ * totalCount={150}
39
+ * rowCount={20}
40
+ * onPageChange={(offset) => setOffset(offset)}
41
+ * onLimitChange={(limit) => setLimit(limit)}
42
+ * />
43
+ */
9
44
  export declare const TablePagination: (props: PaginationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,34 @@
1
1
  import { TypographyProps } from '../../DataDisplay/Typography/Typography';
2
+ /**
3
+ * Props for EmptyIllustration component
4
+ * @typedef {Object} EmptyIllustrationProps
5
+ * @property {string} message - Text message displayed below the empty illustration
6
+ * @property {TypographyProps} [messageProps] - Typography props for styling the message text
7
+ * @property {string} [containerClassName] - CSS class for the container div
8
+ */
9
+ /**
10
+ * EmptyIllustration component for displaying empty state messaging
11
+ * Shows decorative empty state icon with customizable message
12
+ *
13
+ * @component
14
+ * @param {Object} props - Component props
15
+ * @param {string} props.message - Text message to display below illustration
16
+ * @param {TypographyProps} [props.messageProps] - Typography styling props (variant, className, etc.)
17
+ * @param {string} [props.containerClassName] - Additional CSS classes for the container
18
+ * @returns {JSX.Element} Empty state illustration with message
19
+ *
20
+ * @example
21
+ * // Basic empty state
22
+ * <EmptyIllustration message="No data found" />
23
+ *
24
+ * @example
25
+ * // With custom styling
26
+ * <EmptyIllustration
27
+ * message="No search results match your criteria"
28
+ * messageProps={{ variant: "p", className: "text-gray-600" }}
29
+ * containerClassName="py-12"
30
+ * />
31
+ */
2
32
  export declare const EmptyIllustration: ({ message, messageProps, containerClassName, }: {
3
33
  message: string;
4
34
  messageProps?: TypographyProps;
@@ -1,5 +1,19 @@
1
1
  import { ReactNode } from 'react';
2
2
  import './CustomJoyRideStyles.css';
3
+ /**
4
+ * Configuration for individual tour step
5
+ * @typedef {Object} JoyrideStep
6
+ * @property {string} target - CSS selector for the element to highlight
7
+ * @property {string | ReactNode} content - Description or content for the step
8
+ * @property {string} [title] - Title text for the step tooltip
9
+ * @property {'top' | 'bottom' | 'left' | 'right' | 'center' | 'auto'} [placement='auto'] - Tooltip placement relative to target
10
+ * @property {boolean} [disableBeacon] - Hide the beacon pulse animation
11
+ * @property {boolean} [hideCloseButton] - Hide close button in tooltip
12
+ * @property {boolean} [showProgress] - Display progress indicator
13
+ * @property {boolean} [showSkipButton] - Show skip button in tooltip
14
+ * @property {boolean} [spotlightClicks] - Allow clicking inside spotlight area
15
+ * @property {Record<string, any>} [styles] - Custom styles for tooltip
16
+ */
3
17
  interface JoyrideStep {
4
18
  target: string;
5
19
  content: string | ReactNode;
@@ -12,6 +26,56 @@ interface JoyrideStep {
12
26
  spotlightClicks?: boolean;
13
27
  styles?: Record<string, any>;
14
28
  }
29
+ /**
30
+ * ReactJoyride component for interactive product tours
31
+ * Provides guided walkthrough of UI elements with customizable steps
32
+ *
33
+ * @component
34
+ * @param {Object} props - Tour configuration
35
+ * @param {JoyrideStep[]} props.steps - Array of tour steps with targets, content, and placement
36
+ * @param {ReactNode} [props.children] - Application content to overlay tour on
37
+ * @param {string} props.tourName - Unique identifier for the tour (for state management)
38
+ * @returns {JSX.Element} Tour overlay component with tour trigger button
39
+ *
40
+ * @example
41
+ * // Basic product tour
42
+ * <ReactJoyRide
43
+ * tourName="dashboard-tour"
44
+ * steps={[
45
+ * {
46
+ * target: ".logo",
47
+ * title: "Welcome",
48
+ * content: "Welcome to our dashboard!",
49
+ * placement: "bottom"
50
+ * },
51
+ * {
52
+ * target: ".user-menu",
53
+ * title: "Profile",
54
+ * content: "Access your profile and settings here",
55
+ * placement: "left"
56
+ * }
57
+ * ]}
58
+ * >
59
+ * <Dashboard />
60
+ * </ReactJoyRide>
61
+ *
62
+ * @example
63
+ * // Advanced tour with custom placement and styling
64
+ * <ReactJoyRide
65
+ * tourName="feature-tour"
66
+ * steps={[
67
+ * {
68
+ * target: ".new-feature",
69
+ * title: "New Feature",
70
+ * content: "Check out this exciting new feature",
71
+ * placement: "right",
72
+ * disableBeacon: false
73
+ * }
74
+ * ]}
75
+ * >
76
+ * <App />
77
+ * </ReactJoyRide>
78
+ */
15
79
  export declare const ReactJoyRide: ({ steps, children, tourName, }: {
16
80
  steps: JoyrideStep[];
17
81
  children?: ReactNode;
@@ -1,9 +1,39 @@
1
1
  import * as React from 'react';
2
2
  import { Separator as ShadcnSaperator } from '@/shadcn-components/DataDisplay/Seperator/Seperator';
3
+ /**
4
+ * Props for Separator component
5
+ * @typedef {Object} SeparatorProps
6
+ * @property {'horizontal' | 'vertical'} [orientation='horizontal'] - Direction of the separator
7
+ * @property {boolean} [decorative=true] - If true, renders as non-semantic element for styling
8
+ * @property {string} [className] - Optional CSS class for custom styling
9
+ * @extends {React.ComponentPropsWithoutRef<typeof ShadcnSaperator>}
10
+ */
3
11
  interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof ShadcnSaperator> {
4
12
  orientation?: 'horizontal' | 'vertical';
5
13
  decorative?: boolean;
6
14
  className?: string;
7
15
  }
16
+ /**
17
+ * Separator component for dividing content sections
18
+ * Renders semantic or decorative separator line
19
+ *
20
+ * @component
21
+ * @param {SeparatorProps} props - Separator configuration
22
+ * @param {'horizontal' | 'vertical'} [props.orientation='horizontal'] - Direction of the dividing line
23
+ * @param {boolean} [props.decorative=true] - Whether separator is decorative (non-semantic)
24
+ * @param {string} [props.className] - Additional CSS classes for styling
25
+ * @param {...React.ComponentPropsWithoutRef<typeof ShadcnSaperator>} [props] - Additional separator props
26
+ * @returns {JSX.Element} Separator line element
27
+ * @example
28
+ * // Horizontal separator
29
+ * <Separator />
30
+ *
31
+ * @example
32
+ * // Vertical separator with custom styling
33
+ * <Separator
34
+ * orientation="vertical"
35
+ * className="h-12"
36
+ * />
37
+ */
8
38
  declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
9
39
  export { Separator };
@@ -1,2 +1,22 @@
1
1
  import { Skeleton as SkeletonUI } from '@/shadcn-components/DataDisplay/Skeleton/Skeleton';
2
+ /**
3
+ * Skeleton component for loading placeholder animations
4
+ * Re-export of shadcn Skeleton component for use in DataDisplay module
5
+ *
6
+ * @component
7
+ * @param {React.ComponentProps<typeof SkeletonUI>} props - Standard HTML div props with className for styling
8
+ * @param {string} [props.className] - CSS classes for sizing and styling the skeleton (e.g., "h-12 w-12 rounded-full")
9
+ * @returns {JSX.Element} Animated skeleton placeholder
10
+ *
11
+ * @example
12
+ * // Skeleton for profile picture
13
+ * <Skeleton className="h-12 w-12 rounded-full" />
14
+ *
15
+ * @example
16
+ * // Skeleton for content block
17
+ * <div className="space-y-2">
18
+ * <Skeleton className="h-4 w-full" />
19
+ * <Skeleton className="h-4 w-3/4" />
20
+ * </div>
21
+ */
2
22
  export { SkeletonUI as Skeleton };
@@ -1,8 +1,44 @@
1
1
  import { TypographyProps } from '../Typography/Typography';
2
+ /**
3
+ * Props for StatusCard component
4
+ * @typedef {Object} StatusCardProps
5
+ * @property {'green' | 'red' | 'orange' | 'yellow' | 'blue' | 'pink'} color - Color theme for the status card
6
+ * @property {string} text - Text content to display in the status card
7
+ * @property {string} [className] - Optional additional CSS classes
8
+ * @property {TypographyProps['variant']} [typographyVariant='small'] - Typography variant for text styling
9
+ */
2
10
  export type StatusCardProps = {
3
11
  color: 'green' | 'red' | 'orange' | 'yellow' | 'blue' | 'pink';
4
12
  text: string;
5
13
  className?: string;
6
14
  typographyVariant?: TypographyProps['variant'];
7
15
  };
16
+ /**
17
+ * StatusCard component for displaying colored status badges
18
+ * Renders status indicators with color-coded backgrounds and text
19
+ *
20
+ * @component
21
+ * @param {StatusCardProps} props - StatusCard configuration
22
+ * @param {'green' | 'red' | 'orange' | 'yellow' | 'blue' | 'pink'} props.color - Status color (determines styling)
23
+ * @param {string} props.text - Status text to display
24
+ * @param {string} [props.className] - Additional CSS classes for custom styling
25
+ * @param {TypographyProps['variant']} [props.typographyVariant='small'] - Typography variant (h1-h6, p, small, etc.)
26
+ * @returns {JSX.Element} Colored status badge
27
+ *
28
+ * @example
29
+ * // Active status
30
+ * <StatusCard
31
+ * color="green"
32
+ * text="Active"
33
+ * />
34
+ *
35
+ * @example
36
+ * // Error status with custom styling
37
+ * <StatusCard
38
+ * color="red"
39
+ * text="Error"
40
+ * typographyVariant="p"
41
+ * className="font-bold"
42
+ * />
43
+ */
8
44
  export declare const StatusCard: ({ color, text, className, typographyVariant, }: StatusCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,70 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Props for individual timeline item
4
+ * @typedef {Object} TimelineItems
5
+ * @property {ReactNode} timelineContent - Main content of the timeline item
6
+ * @property {ReactNode} [timelineOppositeContent] - Optional opposite-side content (for alternate layouts)
7
+ * @property {'info' | 'success' | 'error' | 'warning'} [variant='info'] - Icon variant for the timeline marker
8
+ */
2
9
  export type TimelineItems = {
3
10
  timelineContent: ReactNode;
4
11
  timelineOppositeContent?: ReactNode;
5
12
  variant?: 'info' | 'success' | 'error' | 'warning';
6
13
  };
14
+ /**
15
+ * Props for Timeline component
16
+ * @typedef {Object} TimelineProps
17
+ * @property {TimelineItems[]} timelineItems - Array of timeline items to display
18
+ * @property {'left' | 'right' | 'alternate' | 'alternate-reverse'} [position='right'] - Timeline layout position
19
+ * @property {string} [className] - Optional CSS class for the timeline container
20
+ */
7
21
  export type TimelineProps = {
8
22
  timelineItems: TimelineItems[];
9
23
  position?: 'left' | 'right' | 'alternate' | 'alternate-reverse';
10
24
  className?: string;
11
25
  };
26
+ /**
27
+ * Timeline component for displaying chronological events or steps
28
+ * Supports multiple layout positions and icon variants per item
29
+ *
30
+ * @component
31
+ * @param {TimelineProps} props - Timeline configuration
32
+ * @param {TimelineItems[]} props.timelineItems - Array of timeline events with content and optional opposite content
33
+ * @param {'left' | 'right' | 'alternate' | 'alternate-reverse'} [props.position='right'] - Position of timeline connector
34
+ * - 'left': All content on left side
35
+ * - 'right': All content on right side
36
+ * - 'alternate': Content alternates left/right starting with left
37
+ * - 'alternate-reverse': Content alternates left/right starting with right
38
+ * @param {string} [props.className] - Additional CSS classes for the timeline wrapper
39
+ * @returns {JSX.Element} Timeline visualization with ordered events
40
+ *
41
+ * @example
42
+ * // Basic timeline (content on right)
43
+ * <Timeline
44
+ * position="right"
45
+ * timelineItems={[
46
+ * { timelineContent: "Project started", variant: "success" },
47
+ * { timelineContent: "First milestone", variant: "info" },
48
+ * { timelineContent: "Completed", variant: "success" }
49
+ * ]}
50
+ * />
51
+ *
52
+ * @example
53
+ * // Alternating timeline with opposite content
54
+ * <Timeline
55
+ * position="alternate"
56
+ * timelineItems={[
57
+ * {
58
+ * timelineContent: "Development",
59
+ * timelineOppositeContent: "Jan 2024",
60
+ * variant: "info"
61
+ * },
62
+ * {
63
+ * timelineContent: "Testing",
64
+ * timelineOppositeContent: "Feb 2024",
65
+ * variant: "warning"
66
+ * }
67
+ * ]}
68
+ * />
69
+ */
12
70
  export declare const Timeline: ({ timelineItems, position, className, }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,28 @@
1
1
  import { TypographyProps, typographyVariants } from '@/shadcn-components/DataDisplay/Typography/Typography';
2
+ /**
3
+ * Typography component wrapper around shadcn Typography
4
+ * Provides semantic text rendering with predefined variants
5
+ *
6
+ * @component
7
+ * @param {TypographyProps} props - Typography configuration
8
+ * @param {'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'blockquote' | 'code' | 'lead' | 'large' | 'small' | 'muted'} [props.variant='p'] - Predefined typography variant
9
+ * @param {React.ReactNode} props.children - Content to render with typography styling
10
+ * @param {...TypographyProps} [props] - Additional typography props (className, etc.)
11
+ * @returns {JSX.Element} Styled typography element
12
+ *
13
+ * @example
14
+ * // Heading
15
+ * <Typography variant="h1">Page Title</Typography>
16
+ *
17
+ * @example
18
+ * // Paragraph with custom class
19
+ * <Typography variant="p" className="text-gray-600">
20
+ * This is a paragraph with custom styling
21
+ * </Typography>
22
+ *
23
+ * @example
24
+ * // Small text
25
+ * <Typography variant="small">Small disclaimer text</Typography>
26
+ */
2
27
  export declare const Typography: ({ variant, children, ...props }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
3
28
  export { typographyVariants, type TypographyProps };
@@ -1,8 +1,39 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Props for the Alert component.
4
+ * @typedef {Object} AlertProps
5
+ * @property {string | ReactNode} message - The message content to display in the alert
6
+ * @property {'success' | 'error' | 'info' | 'warning'} [severity] - The severity level of the alert that determines the icon displayed
7
+ * @property {'default' | 'destructive'} [variant] - The visual variant of the alert. Defaults to 'destructive' if severity is 'error'
8
+ * @property {string} [className] - Additional CSS classes to apply to the alert component
9
+ */
2
10
  export type AlertProps = {
3
11
  message: string | ReactNode;
4
12
  severity?: 'success' | 'error' | 'info' | 'warning';
5
13
  variant?: 'default' | 'destructive';
6
14
  className?: string;
7
15
  };
16
+ /**
17
+ * Alert component that displays a message with an optional severity-based icon.
18
+ * Renders a styled alert box with appropriate visual indicators based on severity level.
19
+ *
20
+ * @param {AlertProps} props - The component props
21
+ * @param {string | ReactNode} props.message - The message content to display
22
+ * @param {'success' | 'error' | 'info' | 'warning'} [props.severity] - The severity level determining icon and styling
23
+ * @param {'default' | 'destructive'} [props.variant] - The visual variant. Overrides default variant selection
24
+ * @param {string} [props.className] - Additional CSS classes to apply to the alert
25
+ * @returns {JSX.Element} The rendered alert component
26
+ *
27
+ * @example
28
+ * // Display a success alert
29
+ * <Alert message="Operation completed successfully" severity="success" />
30
+ *
31
+ * @example
32
+ * // Display an error alert with custom styling
33
+ * <Alert
34
+ * message="An error occurred"
35
+ * severity="error"
36
+ * className="mt-4"
37
+ * />
38
+ */
8
39
  export declare const Alert: ({ severity, message, variant, className, }: AlertProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,28 @@
1
+ /**
2
+ * Severity levels for snackbar alerts.
3
+ * @typedef {'success' | 'info' | 'warning' | 'error'} Severity
4
+ */
1
5
  export type Severity = 'success' | 'info' | 'warning' | 'error';
6
+ /**
7
+ * Position configuration for snackbar placement on screen.
8
+ * @typedef {Object} SnackbarPosition
9
+ * @property {'top' | 'bottom'} vertical - Vertical alignment of the snackbar
10
+ * @property {'left' | 'center' | 'right'} horizontal - Horizontal alignment of the snackbar
11
+ */
2
12
  export type SnackbarPosition = {
3
13
  vertical: 'top' | 'bottom';
4
14
  horizontal: 'left' | 'center' | 'right';
5
15
  };
16
+ /**
17
+ * Props for the Snackbar component.
18
+ * @typedef {Object} SnackbarProps
19
+ * @property {Severity} severity - The severity level of the snackbar (success, info, warning, error)
20
+ * @property {string} message - The message text to display in the snackbar
21
+ * @property {boolean} open - Whether the snackbar is visible
22
+ * @property {Function} [onClose] - Callback function when snackbar is closed. Called with reason ('timeout' or 'clickaway')
23
+ * @property {SnackbarPosition} [anchorOrigin] - Position configuration for the snackbar placement. Defaults to {vertical: 'top', horizontal: 'center'}
24
+ * @property {number} [autoHideDuration] - Duration in milliseconds after which the snackbar auto-closes. If not provided, snackbar stays open until manually closed
25
+ */
6
26
  export type SnackbarProps = {
7
27
  severity: Severity;
8
28
  message: string;
@@ -11,4 +31,38 @@ export type SnackbarProps = {
11
31
  anchorOrigin?: SnackbarPosition;
12
32
  autoHideDuration?: number;
13
33
  };
34
+ /**
35
+ * Snackbar component for displaying temporary notification messages.
36
+ * Displays a dismissible notification box with icon and message based on severity.
37
+ * Auto-hides after specified duration or when close button is clicked.
38
+ *
39
+ * @param {SnackbarProps} props - The component props
40
+ * @param {Severity} props.severity - The severity level of the notification
41
+ * @param {string} props.message - The message text to display
42
+ * @param {boolean} props.open - Whether the snackbar is visible
43
+ * @param {Function} [props.onClose] - Callback when snackbar is closed. Receives close reason as parameter
44
+ * @param {SnackbarPosition} [props.anchorOrigin] - Position configuration for placement (defaults to top center)
45
+ * @param {number} [props.autoHideDuration] - Duration in milliseconds before auto-closing (undefined = no auto-close)
46
+ * @returns {JSX.Element | null} The rendered snackbar component or null if not open
47
+ *
48
+ * @example
49
+ * // Display a success message that auto-hides after 3 seconds
50
+ * <Snackbar
51
+ * severity="success"
52
+ * message="Changes saved successfully"
53
+ * open={true}
54
+ * autoHideDuration={3000}
55
+ * onClose={(reason) => console.log('Closed:', reason)}
56
+ * />
57
+ *
58
+ * @example
59
+ * // Position snackbar at bottom-right
60
+ * <Snackbar
61
+ * severity="info"
62
+ * message="New updates available"
63
+ * open={isOpen}
64
+ * anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
65
+ * onClose={() => setIsOpen(false)}
66
+ * />
67
+ */
14
68
  export declare const Snackbar: ({ severity, message, open, onClose, anchorOrigin, autoHideDuration, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,16 @@
1
+ /**
2
+ * Spinner component that displays an animated loading indicator.
3
+ * Renders a dual-colored rotating spinner with smooth continuous animation.
4
+ * No props required - it's a simple stateless component.
5
+ *
6
+ * @returns {JSX.Element} The rendered spinner component
7
+ *
8
+ * @example
9
+ * // Display a loading spinner
10
+ * <Spinner />
11
+ *
12
+ * @example
13
+ * // Use in a loading state
14
+ * {isLoading ? <Spinner /> : <div>Content loaded</div>}
15
+ */
1
16
  export declare const Spinner: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,16 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Props for the Tooltip component.
4
+ * @typedef {Object} TooltipProps
5
+ * @property {ReactNode} children - The element that triggers the tooltip on hover
6
+ * @property {ReactNode} title - The tooltip content to display
7
+ * @property {'top' | 'right' | 'bottom' | 'left'} [placement] - The direction to place the tooltip relative to the trigger element. Defaults to 'right'
8
+ * @property {boolean} [arrow] - Whether to display an arrow pointing to the trigger element. Currently not implemented in UI
9
+ * @property {boolean} [open] - Controlled open state of the tooltip
10
+ * @property {boolean} [defaultOpen] - Initial open state if tooltip is uncontrolled
11
+ * @property {Function} [onOpenChange] - Callback fired when tooltip open state changes
12
+ * @property {number} [delayDuration] - Delay in milliseconds before tooltip appears on hover
13
+ */
2
14
  export type TooltipProps = {
3
15
  children: ReactNode;
4
16
  title: ReactNode;
@@ -9,4 +21,46 @@ export type TooltipProps = {
9
21
  onOpenChange?: (open: boolean) => void;
10
22
  delayDuration?: number;
11
23
  };
24
+ /**
25
+ * Tooltip component that displays contextual information on hover.
26
+ * Wraps the shadcn tooltip component with enhanced positioning and configuration options.
27
+ * Supports both controlled and uncontrolled modes for tooltip visibility.
28
+ *
29
+ * @param {TooltipProps} props - The component props
30
+ * @param {ReactNode} props.children - The element that triggers the tooltip
31
+ * @param {ReactNode} props.title - The tooltip content to display
32
+ * @param {'top' | 'right' | 'bottom' | 'left'} [props.placement] - Tooltip placement direction (defaults to 'right')
33
+ * @param {boolean} [props.arrow] - Arrow display option (not currently implemented)
34
+ * @param {boolean} [props.open] - Controlled open state
35
+ * @param {boolean} [props.defaultOpen] - Initial open state for uncontrolled mode
36
+ * @param {Function} [props.onOpenChange] - Callback when open state changes
37
+ * @param {number} [props.delayDuration] - Delay before showing tooltip in milliseconds
38
+ * @returns {JSX.Element} The rendered tooltip component
39
+ *
40
+ * @example
41
+ * // Basic tooltip with default placement
42
+ * <Tooltip title="This is a helpful tip">
43
+ * <button>Hover me</button>
44
+ * </Tooltip>
45
+ *
46
+ * @example
47
+ * // Tooltip positioned at bottom with delay
48
+ * <Tooltip
49
+ * title="Additional information"
50
+ * placement="bottom"
51
+ * delayDuration={500}
52
+ * >
53
+ * <span>Information icon</span>
54
+ * </Tooltip>
55
+ *
56
+ * @example
57
+ * // Controlled tooltip state
58
+ * <Tooltip
59
+ * title="Controlled tooltip"
60
+ * open={isTooltipOpen}
61
+ * onOpenChange={setIsTooltipOpen}
62
+ * >
63
+ * <button>Toggle</button>
64
+ * </Tooltip>
65
+ */
12
66
  export declare const Tooltip: ({ children, title, placement, open, defaultOpen, onOpenChange, delayDuration, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,5 +9,31 @@ export type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof b
9
9
  endIcon?: ReactNode;
10
10
  fullWidth?: boolean;
11
11
  };
12
+ /**
13
+ * Button component with enhanced features
14
+ *
15
+ * A customizable button component that wraps the shadcn Button with additional
16
+ * functionality including loading states, icons, and full width options.
17
+ *
18
+ * @component
19
+ * @param {ButtonProps} props - The button properties
20
+ * @param {boolean} [props.loading=false] - Whether the button is in a loading state
21
+ * @param {ReactNode} [props.startIcon] - Icon to display at the start of the button
22
+ * @param {ReactNode} [props.endIcon] - Icon to display at the end of the button
23
+ * @param {boolean} [props.fullWidth=false] - Whether the button should take full width
24
+ * @param {boolean} [props.disabled] - Whether the button is disabled
25
+ * @param {ReactNode} [props.children] - The button content/label
26
+ * @param {string} [props.className] - Additional CSS classes to apply
27
+ * @param {string} [props.variant] - Button style variant from buttonVariants
28
+ * @param {string} [props.size] - Button size variant from buttonVariants
29
+ * @returns {React.ReactElement} The rendered button element
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * <Button loading={isLoading} startIcon={<SendIcon />} variant="default">
34
+ * Submit
35
+ * </Button>
36
+ * ```
37
+ */
12
38
  export declare const Button: ({ loading, disabled, children, startIcon, endIcon, fullWidth, className, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
13
39
  export { buttonVariants };
@@ -31,5 +31,46 @@ export type DatePickerProps = {
31
31
  type?: 'input' | 'filter';
32
32
  [key: string]: any;
33
33
  };
34
+ /**
35
+ * DatePicker component for date selection
36
+ *
37
+ * A flexible date picker component that supports both input and filter modes,
38
+ * with customizable date formats, restrictions, and shortcuts.
39
+ *
40
+ * @component
41
+ * @param {DatePickerProps} props - The date picker properties
42
+ * @param {React.ReactNode | string} [props.label] - Label for the date picker
43
+ * @param {string} [props.name] - Name attribute for the input
44
+ * @param {Date} [props.value] - Currently selected date
45
+ * @param {(date: Date | undefined) => void} [props.onChange] - Callback fired when date changes
46
+ * @param {DateFormat} [props.format='dd/MM/yyyy'] - Date format for display
47
+ * @param {string} [props.placeholder] - Placeholder text
48
+ * @param {string} [props.helperText] - Helper text below the input
49
+ * @param {boolean} [props.required] - Whether the field is required
50
+ * @param {boolean} [props.disabled] - Whether the picker is disabled
51
+ * @param {Date} [props.minDate] - Minimum selectable date
52
+ * @param {Date} [props.maxDate] - Maximum selectable date
53
+ * @param {boolean} [props.disablePast] - Whether past dates are disabled
54
+ * @param {boolean} [props.disableFuture] - Whether future dates are disabled
55
+ * @param {(date: Date) => boolean} [props.shouldDisableDate] - Custom date disable logic
56
+ * @param {(date: Date) => boolean} [props.shouldDisableMonth] - Custom month disable logic
57
+ * @param {(date: Date) => boolean} [props.shouldDisableYear] - Custom year disable logic
58
+ * @param {boolean} [props.fullWidth] - Whether the picker takes full width
59
+ * @param {'input' | 'filter'} [props.type='input'] - Display type of the picker
60
+ * @param {() => void} [props.onOpen] - Callback when picker opens
61
+ * @param {() => void} [props.onClose] - Callback when picker closes
62
+ * @returns {React.ReactElement} The rendered date picker component
63
+ *
64
+ * @example
65
+ * ```tsx
66
+ * <DatePicker
67
+ * label="Select Date"
68
+ * value={date}
69
+ * onChange={setDate}
70
+ * format="dd/MM/yyyy"
71
+ * required
72
+ * />
73
+ * ```
74
+ */
34
75
  export declare const DatePicker: ({ type, ...props }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
35
76
  export {};