@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
@@ -2,35 +2,80 @@ import React from 'react';
2
2
  import HorizontalStepper from './HorizontalStepper';
3
3
  import VerticalStepper from './VerticalStepper';
4
4
  /**
5
- * Interface for individual step items
5
+ * Interface for individual step items in the stepper
6
6
  */
7
7
  export interface StepItem {
8
- /** The label text for the step */
8
+ /** The label text displayed for this step */
9
9
  label: string;
10
- /** Optional description text shown below the label */
10
+ /** Optional description text shown below the label for additional context */
11
11
  description?: string;
12
12
  }
13
13
  /**
14
- * Props for the Stepper Variant components
14
+ * Props for the Stepper variant components (HorizontalStepper and VerticalStepper)
15
15
  */
16
16
  export interface StepperVariantProps {
17
- /** Current active step index (0-based) */
17
+ /** Current active step index (0-based). Determines which step is highlighted */
18
18
  activeStep: number;
19
19
  /** Array of step items with labels and optional descriptions */
20
20
  steps: StepItem[];
21
- /** Additional className for the container */
21
+ /** Additional CSS class names for the stepper container element */
22
22
  containerClassName?: string;
23
- /** Callback function called when a step is clicked. Receives the step index as parameter */
23
+ /** Callback function fired when a step is clicked. Receives the step index (0-based) as parameter */
24
24
  onStepClick?: (stepIndex: number) => void;
25
- /** Whether to allow navigation by clicking on steps. Defaults to true */
25
+ /** Whether to allow users to navigate by clicking on steps. Defaults to true */
26
26
  allowNavigation?: boolean;
27
27
  }
28
+ /**
29
+ * Props for the Stepper component
30
+ */
28
31
  export type StepperProps = StepperVariantProps & {
29
- /** Orientation of the stepper - horizontal or vertical */
32
+ /** Orientation of the stepper layout - 'horizontal' displays steps left-to-right, 'vertical' displays top-to-bottom. Defaults to 'horizontal' */
30
33
  orientation?: 'vertical' | 'horizontal';
31
34
  };
32
35
  /**
33
- * Main Stepper component that handles both horizontal and vertical orientations
36
+ * Stepper component that displays a progress indicator with multiple steps.
37
+ *
38
+ * This is a wrapper component that renders either HorizontalStepper or VerticalStepper
39
+ * based on the orientation prop. It provides a visual representation of progress through
40
+ * a sequence of steps, with optional click handlers for step navigation.
41
+ *
42
+ * @component
43
+ * @param {StepperProps} props - The component props
44
+ * @param {number} props.activeStep - Index of the currently active step (0-based)
45
+ * @param {StepItem[]} props.steps - Array of steps with label and optional description
46
+ * @param {'horizontal' | 'vertical'} [props.orientation='horizontal'] - Layout orientation
47
+ * @param {string} [props.containerClassName] - Optional CSS classes for the container
48
+ * @param {(stepIndex: number) => void} [props.onStepClick] - Callback when a step is clicked
49
+ * @param {boolean} [props.allowNavigation=true] - Whether clicking on steps navigates between them
50
+ *
51
+ * @returns {React.ReactElement} A HorizontalStepper or VerticalStepper component
52
+ *
53
+ * @example
54
+ * // Horizontal stepper (default)
55
+ * <Stepper
56
+ * activeStep={1}
57
+ * steps={[
58
+ * { label: 'Step 1', description: 'Enter details' },
59
+ * { label: 'Step 2', description: 'Confirm' },
60
+ * { label: 'Step 3', description: 'Complete' }
61
+ * ]}
62
+ * onStepClick={(index) => setActiveStep(index)}
63
+ * />
64
+ *
65
+ * @example
66
+ * // Vertical stepper with custom styling
67
+ * <Stepper
68
+ * orientation="vertical"
69
+ * activeStep={2}
70
+ * steps={[
71
+ * { label: 'Personal Info' },
72
+ * { label: 'Address' },
73
+ * { label: 'Payment' },
74
+ * { label: 'Review' }
75
+ * ]}
76
+ * containerClassName="bg-gray-50 p-6 rounded"
77
+ * allowNavigation={false}
78
+ * />
34
79
  */
35
80
  declare const Stepper: React.FC<StepperProps>;
36
81
  export { HorizontalStepper, VerticalStepper };
@@ -1,19 +1,99 @@
1
+ /**
2
+ * Configuration for an individual tab in TabsContainer
3
+ */
1
4
  interface CustomTabProps {
5
+ /** Unique identifier for the tab. Can be string or number */
2
6
  key: string | number;
7
+ /** Display label or React element for the tab trigger */
3
8
  label: React.ReactNode;
9
+ /** React component or element to render when this tab is active */
4
10
  component: React.ReactNode;
11
+ /** Whether to show a highlight indicator (dot) on the tab trigger. Defaults to false */
5
12
  highlight?: boolean;
13
+ /** Whether the tab is disabled and cannot be selected. Defaults to false */
6
14
  disabled?: boolean;
15
+ /** Optional icon or React element to display before the label */
7
16
  icon?: React.ReactNode;
8
17
  }
18
+ /**
19
+ * Props for the TabsContainer component
20
+ */
9
21
  export interface TabsContainerProps {
22
+ /** Array of tab configurations with labels, content, and optional metadata */
10
23
  tabs: CustomTabProps[];
24
+ /** Optional callback fired when a tab is selected. Receives the tab key as parameter */
11
25
  onTabChange?: (tabKey: string) => void;
26
+ /** Index of the tab to show initially. Defaults to 0 (first tab) */
12
27
  currentTabIndex?: number;
28
+ /** Optional CSS class names for the Tabs root element */
13
29
  className?: string;
30
+ /** Optional CSS class names for the TabsList container */
14
31
  tabsListClassName?: string;
32
+ /** Optional CSS class names for each TabsTrigger element */
15
33
  tabsTriggerClassName?: string;
34
+ /** Layout variant - 'fixed' uses viewport height, 'dynamic' uses content height. Defaults to 'fixed' */
16
35
  variant?: 'fixed' | 'dynamic';
17
36
  }
37
+ /**
38
+ * TabsContainer component that displays tabbed content with a tab list and content area.
39
+ *
40
+ * This component provides a responsive tab interface with support for icons, highlights,
41
+ * disabled states, and two layout modes (fixed height for viewport or dynamic height for content).
42
+ * It manages tab selection state and provides callbacks for external state management.
43
+ *
44
+ * @component
45
+ * @param {TabsContainerProps} props - The component props
46
+ * @param {CustomTabProps[]} props.tabs - Array of tab configurations
47
+ * @param {(tabKey: string) => void} [props.onTabChange] - Callback when a tab is selected
48
+ * @param {number} [props.currentTabIndex=0] - Initially active tab index
49
+ * @param {string} [props.className] - CSS classes for the Tabs root
50
+ * @param {string} [props.tabsListClassName] - CSS classes for the TabsList
51
+ * @param {string} [props.tabsTriggerClassName] - CSS classes for TabsTrigger elements
52
+ * @param {'fixed' | 'dynamic'} [props.variant='fixed'] - Layout mode for tab content
53
+ *
54
+ * @returns {React.ReactElement} A Tabs component with tab list and content area
55
+ *
56
+ * @example
57
+ * // Basic tabs
58
+ * <TabsContainer
59
+ * tabs={[
60
+ * { key: 'tab1', label: 'Overview', component: <OverviewPanel /> },
61
+ * { key: 'tab2', label: 'Details', component: <DetailsPanel /> },
62
+ * ]}
63
+ * onTabChange={(key) => console.log('Selected:', key)}
64
+ * />
65
+ *
66
+ * @example
67
+ * // Tabs with icons and highlights
68
+ * <TabsContainer
69
+ * tabs={[
70
+ * {
71
+ * key: 'notifications',
72
+ * label: 'Notifications',
73
+ * icon: <BellIcon />,
74
+ * component: <NotificationsList />,
75
+ * highlight: unreadCount > 0
76
+ * },
77
+ * {
78
+ * key: 'settings',
79
+ * label: 'Settings',
80
+ * icon: <SettingsIcon />,
81
+ * component: <SettingsPanel />
82
+ * },
83
+ * ]}
84
+ * variant="dynamic"
85
+ * className="min-h-screen"
86
+ * />
87
+ *
88
+ * @example
89
+ * // Tabs with disabled state
90
+ * <TabsContainer
91
+ * tabs={[
92
+ * { key: 'basic', label: 'Basic Info', component: <BasicForm /> },
93
+ * { key: 'advanced', label: 'Advanced', component: <AdvancedForm />, disabled: !basicComplete },
94
+ * ]}
95
+ * currentTabIndex={0}
96
+ * />
97
+ */
18
98
  export declare const TabsContainer: ({ tabs, onTabChange, currentTabIndex, className, tabsListClassName, tabsTriggerClassName, variant, }: TabsContainerProps) => import("react/jsx-runtime").JSX.Element;
19
99
  export {};
@@ -1,14 +1,78 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Props for the UploadDialog component
4
+ */
2
5
  export type UploadDialogProps = {
6
+ /** Function that renders the dialog trigger element. Receives open callback to open the dialog */
3
7
  anchor: (props: {
4
8
  open: () => void;
5
9
  }) => ReactNode;
10
+ /** Optional callback fired when the dialog opens */
6
11
  onDialogOpen?: () => void;
12
+ /** Optional callback fired when the dialog closes */
7
13
  onDialogClose?: () => void;
14
+ /** Title displayed in the dialog header. Defaults to 'Upload File' */
8
15
  title?: string;
16
+ /** Optional URL to a sample file for download */
9
17
  sampleFileUrl?: string;
18
+ /** Callback function fired when the Upload Now button is clicked. Receives single File or File[] */
10
19
  onUpload: (file: File | File[]) => void;
20
+ /** HTML accept attribute value for the file input (e.g., '.pdf,.doc', 'image/*'). Defaults to all files */
11
21
  acceptFileType?: string;
22
+ /** Whether the upload is currently in progress. Defaults to false */
12
23
  loading?: boolean;
13
24
  };
25
+ /**
26
+ * UploadDialog component that provides a file upload interface with preview and download sample options.
27
+ *
28
+ * This component manages file selection, displays selected file previews with delete capability,
29
+ * and provides options to download sample files. It supports loading states and file type filtering.
30
+ * The upload is triggered via an anchor element (trigger) that's configurable.
31
+ *
32
+ * @component
33
+ * @param {UploadDialogProps} props - The component props
34
+ * @param {(props: { open: () => void }) => ReactNode} props.anchor - Render function for the trigger element
35
+ * @param {(file: File | File[]) => void} props.onUpload - Callback when upload button is clicked
36
+ * @param {string} [props.title='Upload File'] - Dialog header title
37
+ * @param {string} [props.sampleFileUrl] - URL to download a sample file
38
+ * @param {string} [props.acceptFileType] - File type filter for the input (e.g., '.pdf', 'image/*')
39
+ * @param {boolean} [props.loading=false] - Whether upload is in progress
40
+ * @param {() => void} [props.onDialogOpen] - Callback when dialog opens
41
+ * @param {() => void} [props.onDialogClose] - Callback when dialog closes
42
+ *
43
+ * @returns {React.ReactElement} A fragment with the anchor element and Upload Dialog
44
+ *
45
+ * @example
46
+ * // Basic file upload
47
+ * <UploadDialog
48
+ * anchor={({ open }) => <button onClick={open}>Upload</button>}
49
+ * title="Upload Document"
50
+ * onUpload={(file) => uploadToServer(file)}
51
+ * />
52
+ *
53
+ * @example
54
+ * // Upload with sample file and type restriction
55
+ * <UploadDialog
56
+ * anchor={({ open }) => <IconButton icon={<UploadIcon />} onClick={open} />}
57
+ * title="Upload CSV File"
58
+ * acceptFileType=".csv"
59
+ * sampleFileUrl="https://example.com/sample.csv"
60
+ * onUpload={async (file) => {
61
+ * await uploadFile(file);
62
+ * setUploadComplete(true);
63
+ * }}
64
+ * loading={isUploading}
65
+ * onDialogClose={() => setIsUploading(false)}
66
+ * />
67
+ *
68
+ * @example
69
+ * // Image upload with loading state
70
+ * <UploadDialog
71
+ * anchor={({ open }) => <button onClick={open}>Choose Avatar</button>}
72
+ * title="Select Avatar"
73
+ * acceptFileType="image/*"
74
+ * onUpload={(file) => updateAvatar(file)}
75
+ * loading={uploadInProgress}
76
+ * />
77
+ */
14
78
  export declare const UploadDialog: ({ onUpload, sampleFileUrl, acceptFileType, loading, title, anchor, onDialogClose, onDialogOpen, }: UploadDialogProps) => import("react/jsx-runtime").JSX.Element;