pixelize-design-library 2.1.11 → 2.1.13

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 (763) hide show
  1. package/dist/App.d.ts +4 -0
  2. package/dist/App.js +128 -0
  3. package/dist/Assets/defaultLogo.d.ts +3 -0
  4. package/dist/Assets/defaultLogo.js +15 -0
  5. package/dist/Assets/defaultLogo.tsx +31 -0
  6. package/dist/Components/Accordion/Accordion.d.ts +4 -0
  7. package/dist/Components/Accordion/Accordion.js +40 -0
  8. package/dist/Components/Accordion/AccordionProps.d.ts +17 -0
  9. package/dist/Components/Accordion/AccordionProps.js +2 -0
  10. package/dist/Components/AlertDialog/AlertDialog.d.ts +4 -0
  11. package/dist/Components/AlertDialog/AlertDialog.js +20 -0
  12. package/dist/Components/AlertDialog/AlertDialogProps.d.ts +20 -0
  13. package/dist/Components/AlertDialog/AlertDialogProps.js +2 -0
  14. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.d.ts +3 -0
  15. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.js +64 -0
  16. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.stories.d.ts +1 -0
  17. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChart.stories.js +6 -0
  18. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts +19 -0
  19. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.js +2 -0
  20. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.d.ts +3 -0
  21. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.js +29 -0
  22. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.stories.d.ts +1 -0
  23. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChart.stories.js +6 -0
  24. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts +41 -0
  25. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.js +2 -0
  26. package/dist/Components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
  27. package/dist/Components/Breadcrumbs/Breadcrumbs.js +17 -0
  28. package/dist/Components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
  29. package/dist/Components/Breadcrumbs/Breadcrumbs.stories.js +6 -0
  30. package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts +11 -0
  31. package/dist/Components/Breadcrumbs/BreadcrumbsProps.js +2 -0
  32. package/dist/Components/Button/Button.d.ts +5 -0
  33. package/dist/Components/Button/Button.js +32 -0
  34. package/dist/Components/Button/Button.stories.d.ts +1 -0
  35. package/dist/Components/Button/Button.stories.js +6 -0
  36. package/dist/Components/Button/Button.styles.d.ts +2 -0
  37. package/dist/Components/Button/Button.styles.js +112 -0
  38. package/dist/Components/Button/ButtonProps.d.ts +13 -0
  39. package/dist/Components/Button/ButtonProps.js +2 -0
  40. package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +33 -0
  41. package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.js +2 -0
  42. package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.d.ts +5 -0
  43. package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +86 -0
  44. package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.d.ts +1 -0
  45. package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.stories.js +6 -0
  46. package/dist/Components/Buttons/Buttons.d.ts +4 -0
  47. package/dist/Components/Buttons/Buttons.js +11 -0
  48. package/dist/Components/Buttons/ButtonsProps.d.ts +6 -0
  49. package/dist/Components/Buttons/ButtonsProps.js +2 -0
  50. package/dist/Components/Card/Card.d.ts +3 -0
  51. package/dist/Components/Card/Card.js +12 -0
  52. package/dist/Components/Card/CardProps.d.ts +14 -0
  53. package/dist/Components/Card/CardProps.js +2 -0
  54. package/dist/Components/Checkbox/Checkbox.d.ts +3 -0
  55. package/dist/Components/Checkbox/Checkbox.js +20 -0
  56. package/dist/Components/Checkbox/Checkbox.stories.d.ts +1 -0
  57. package/dist/Components/Checkbox/Checkbox.stories.js +7 -0
  58. package/dist/Components/Checkbox/Checkbox.styles.d.ts +2 -0
  59. package/dist/Components/Checkbox/Checkbox.styles.js +54 -0
  60. package/dist/Components/Checkbox/CheckboxProps.d.ts +15 -0
  61. package/dist/Components/Checkbox/CheckboxProps.js +2 -0
  62. package/dist/Components/Common/ErrorComponent.d.ts +6 -0
  63. package/dist/Components/Common/ErrorComponent.js +16 -0
  64. package/dist/Components/Common/ErrorMessage.d.ts +5 -0
  65. package/dist/Components/Common/ErrorMessage.js +17 -0
  66. package/dist/Components/Common/FormLabel.d.ts +8 -0
  67. package/dist/Components/Common/FormLabel.js +22 -0
  68. package/dist/Components/Common/HelperText.d.ts +5 -0
  69. package/dist/Components/Common/HelperText.js +14 -0
  70. package/dist/Components/Common/Label.d.ts +7 -0
  71. package/dist/Components/Common/Label.js +13 -0
  72. package/dist/Components/ContactForm/ContactForm.d.ts +4 -0
  73. package/dist/Components/ContactForm/ContactForm.js +215 -0
  74. package/dist/Components/ContactForm/ContactFormProps.d.ts +9 -0
  75. package/dist/Components/ContactForm/ContactFormProps.js +2 -0
  76. package/dist/Components/DatePicker/DatePicker.d.ts +3 -0
  77. package/dist/Components/DatePicker/DatePicker.js +235 -0
  78. package/dist/Components/DatePicker/DatePickerProps.d.ts +42 -0
  79. package/dist/Components/DatePicker/DatePickerProps.js +2 -0
  80. package/dist/Components/DatePicker/TimePicker.d.ts +4 -0
  81. package/dist/Components/DatePicker/TimePicker.js +101 -0
  82. package/dist/Components/Divider/Divider.d.ts +3 -0
  83. package/dist/Components/Divider/Divider.js +14 -0
  84. package/dist/Components/Drawer/Drawer.d.ts +12 -0
  85. package/dist/Components/Drawer/Drawer.js +40 -0
  86. package/dist/Components/Drawer/DrawerProps.d.ts +8 -0
  87. package/dist/Components/Drawer/DrawerProps.js +2 -0
  88. package/dist/Components/Dropdown/DropDown.d.ts +4 -0
  89. package/dist/Components/Dropdown/DropDown.js +97 -0
  90. package/dist/Components/Dropdown/DropdownProps.d.ts +26 -0
  91. package/dist/Components/Dropdown/DropdownProps.js +2 -0
  92. package/dist/Components/Editor/Editor.d.ts +3 -0
  93. package/dist/Components/Editor/Editor.js +12 -0
  94. package/dist/Components/Editor/EditorProps.d.ts +5 -0
  95. package/dist/Components/Editor/EditorProps.js +2 -0
  96. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts +3 -0
  97. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +44 -0
  98. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts +13 -0
  99. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.js +2 -0
  100. package/dist/Components/FileUpload/FileUpload.d.ts +4 -0
  101. package/dist/Components/FileUpload/FileUpload.js +156 -0
  102. package/dist/Components/FileUpload/FileUploadProps.d.ts +11 -0
  103. package/dist/Components/FileUpload/FileUploadProps.js +2 -0
  104. package/dist/Components/FileUpload/constants.d.ts +3 -0
  105. package/dist/Components/FileUpload/constants.js +28 -0
  106. package/dist/Components/Form/FormWrapper.d.ts +7 -0
  107. package/dist/Components/Form/FormWrapper.js +19 -0
  108. package/dist/Components/Header/Header.d.ts +4 -0
  109. package/dist/Components/Header/Header.js +57 -0
  110. package/dist/Components/Header/HeaderActions.d.ts +23 -0
  111. package/dist/Components/Header/HeaderActions.js +37 -0
  112. package/dist/Components/Header/HeaderProps.d.ts +44 -0
  113. package/dist/Components/Header/HeaderProps.js +2 -0
  114. package/dist/Components/Header/components/desktopMenu.d.ts +4 -0
  115. package/dist/Components/Header/components/desktopMenu.js +33 -0
  116. package/dist/Components/Header/components/mobileMenu.d.ts +4 -0
  117. package/dist/Components/Header/components/mobileMenu.js +32 -0
  118. package/dist/Components/Input/Input/Input.d.ts +4 -0
  119. package/dist/Components/Input/Input/Input.js +45 -0
  120. package/dist/Components/Input/Input/InputProps.d.ts +17 -0
  121. package/dist/Components/Input/Input/InputProps.js +2 -0
  122. package/dist/Components/Input/TextInput.d.ts +4 -0
  123. package/dist/Components/Input/TextInput.js +68 -0
  124. package/dist/Components/Input/TextInput.stories.d.ts +1 -0
  125. package/dist/Components/Input/TextInput.stories.js +8 -0
  126. package/dist/Components/Input/TextInput.styles.d.ts +2 -0
  127. package/dist/Components/Input/TextInput.styles.js +84 -0
  128. package/dist/Components/Input/TextInputProps.d.ts +24 -0
  129. package/dist/Components/Input/TextInputProps.js +2 -0
  130. package/dist/Components/InputTextArea/InputTextArea.d.ts +3 -0
  131. package/dist/Components/InputTextArea/InputTextArea.js +16 -0
  132. package/dist/Components/InputTextArea/InputTextArea.stories.d.ts +1 -0
  133. package/dist/Components/InputTextArea/InputTextArea.stories.js +7 -0
  134. package/dist/Components/InputTextArea/InputTextAreaProps.d.ts +10 -0
  135. package/dist/Components/InputTextArea/InputTextAreaProps.js +2 -0
  136. package/dist/Components/KanbanBoard/AccountCard.d.ts +9 -0
  137. package/dist/Components/KanbanBoard/AccountCard.js +74 -0
  138. package/dist/Components/KanbanBoard/AccountRow.d.ts +6 -0
  139. package/dist/Components/KanbanBoard/AccountRow.js +20 -0
  140. package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts +9 -0
  141. package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.js +26 -0
  142. package/dist/Components/KanbanBoard/KanbanBoard.d.ts +4 -0
  143. package/dist/Components/KanbanBoard/KanbanBoard.js +120 -0
  144. package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +27 -0
  145. package/dist/Components/KanbanBoard/KanbanBoardProps.js +2 -0
  146. package/dist/Components/Loading/Loading.d.ts +3 -0
  147. package/dist/Components/Loading/Loading.js +36 -0
  148. package/dist/Components/Loading/Loading.stories.d.ts +1 -0
  149. package/dist/Components/Loading/Loading.stories.js +7 -0
  150. package/dist/Components/Loading/LoadingProps.d.ts +5 -0
  151. package/dist/Components/Loading/LoadingProps.js +2 -0
  152. package/dist/Components/Modal/Modal.d.ts +12 -0
  153. package/dist/Components/Modal/Modal.js +50 -0
  154. package/dist/Components/Modal/Modal.stories.d.ts +1 -0
  155. package/dist/Components/Modal/Modal.stories.js +7 -0
  156. package/dist/Components/Modal/ModalProps.d.ts +11 -0
  157. package/dist/Components/Modal/ModalProps.js +2 -0
  158. package/dist/Components/MultiSelect/MultiSelect.d.ts +3 -0
  159. package/dist/Components/MultiSelect/MultiSelect.js +115 -0
  160. package/dist/Components/MultiSelect/MultiSelectProps.d.ts +20 -0
  161. package/dist/Components/MultiSelect/MultiSelectProps.js +2 -0
  162. package/dist/Components/NavigationBar/NavBar.stories.d.ts +1 -0
  163. package/dist/Components/NavigationBar/NavBar.stories.js +3 -0
  164. package/dist/Components/NavigationBar/NavigationBar.d.ts +3 -0
  165. package/dist/Components/NavigationBar/NavigationBar.js +50 -0
  166. package/dist/Components/NavigationBar/NavigationBarProps.d.ts +19 -0
  167. package/dist/Components/NavigationBar/NavigationBarProps.js +2 -0
  168. package/dist/Components/NoteTextArea/NoteTextArea.d.ts +3 -0
  169. package/dist/Components/NoteTextArea/NoteTextArea.js +274 -0
  170. package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts +16 -0
  171. package/dist/Components/NoteTextArea/NoteTextAreaProps.js +2 -0
  172. package/dist/Components/NumberInput/NumberInput.d.ts +3 -0
  173. package/dist/Components/NumberInput/NumberInput.js +16 -0
  174. package/dist/Components/NumberInput/NumberInput.stories.d.ts +1 -0
  175. package/dist/Components/NumberInput/NumberInput.stories.js +5 -0
  176. package/dist/Components/NumberInput/NumberInputProps.d.ts +12 -0
  177. package/dist/Components/NumberInput/NumberInputProps.js +2 -0
  178. package/dist/Components/PinInput/PinInput.d.ts +3 -0
  179. package/dist/Components/PinInput/PinInput.js +15 -0
  180. package/dist/Components/PinInput/PinInput.stories.d.ts +1 -0
  181. package/dist/Components/PinInput/PinInput.stories.js +6 -0
  182. package/dist/Components/PinInput/PinInputProps.d.ts +9 -0
  183. package/dist/Components/PinInput/PinInputProps.js +2 -0
  184. package/dist/Components/PinInputs/PinInputs.d.ts +4 -0
  185. package/dist/Components/PinInputs/PinInputs.js +71 -0
  186. package/dist/Components/PinInputs/PinInputsProps.d.ts +9 -0
  187. package/dist/Components/PinInputs/PinInputsProps.js +2 -0
  188. package/dist/Components/ProductCard/ProductCard.d.ts +4 -0
  189. package/dist/Components/ProductCard/ProductCard.js +51 -0
  190. package/dist/Components/ProductCard/ProductCardProps.d.ts +26 -0
  191. package/dist/Components/ProductCard/ProductCardProps.js +2 -0
  192. package/dist/Components/ProductCard/ProductLabel.d.ts +6 -0
  193. package/dist/Components/ProductCard/ProductLabel.js +14 -0
  194. package/dist/Components/ProductCard/ProductPrice.d.ts +7 -0
  195. package/dist/Components/ProductCard/ProductPrice.js +88 -0
  196. package/dist/Components/ProductCard/ProductReview.d.ts +7 -0
  197. package/dist/Components/ProductCard/ProductReview.js +23 -0
  198. package/dist/Components/ProductCard/ProductTags.d.ts +7 -0
  199. package/dist/Components/ProductCard/ProductTags.js +30 -0
  200. package/dist/Components/ProfileCard/ProfileCard.d.ts +12 -0
  201. package/dist/Components/ProfileCard/ProfileCard.js +57 -0
  202. package/dist/Components/ProfileCard/ProfileCard.stories.d.ts +1 -0
  203. package/dist/Components/ProfileCard/ProfileCard.stories.js +6 -0
  204. package/dist/Components/ProfileCard/ProfileCardProps.d.ts +16 -0
  205. package/dist/Components/ProfileCard/ProfileCardProps.js +2 -0
  206. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +3 -0
  207. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +94 -0
  208. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.d.ts +1 -0
  209. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.stories.js +6 -0
  210. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts +19 -0
  211. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.js +2 -0
  212. package/dist/Components/ProgressBar/ProgressBar.d.ts +3 -0
  213. package/dist/Components/ProgressBar/ProgressBar.js +12 -0
  214. package/dist/Components/ProgressBar/ProgressBar.stories.d.ts +1 -0
  215. package/dist/Components/ProgressBar/ProgressBar.stories.js +7 -0
  216. package/dist/Components/ProgressBar/ProgressBarProps.d.ts +6 -0
  217. package/dist/Components/ProgressBar/ProgressBarProps.js +2 -0
  218. package/dist/Components/RadioButton/RadioButton.d.ts +5 -0
  219. package/dist/Components/RadioButton/RadioButton.js +31 -0
  220. package/dist/Components/RadioButton/RadioButton.stories.d.ts +1 -0
  221. package/dist/Components/RadioButton/RadioButton.stories.js +7 -0
  222. package/dist/Components/RadioButton/RadioButtonProps.d.ts +11 -0
  223. package/dist/Components/RadioButton/RadioButtonProps.js +2 -0
  224. package/dist/Components/Reorder/Reorder.d.ts +4 -0
  225. package/dist/Components/Reorder/Reorder.js +50 -0
  226. package/dist/Components/Reorder/ReorderProps.d.ts +10 -0
  227. package/dist/Components/Reorder/ReorderProps.js +2 -0
  228. package/dist/Components/Search/Search.d.ts +3 -0
  229. package/dist/Components/Search/Search.js +66 -0
  230. package/dist/Components/Search/SearchProps.d.ts +8 -0
  231. package/dist/Components/Search/SearchProps.js +2 -0
  232. package/dist/Components/SearchSelect/SearchSelect.d.ts +4 -0
  233. package/dist/Components/SearchSelect/SearchSelect.js +237 -0
  234. package/dist/Components/SearchSelect/SearchSelectProps.d.ts +60 -0
  235. package/dist/Components/SearchSelect/SearchSelectProps.js +2 -0
  236. package/dist/Components/SearchSelect/SelectTruncatedLabel.d.ts +6 -0
  237. package/dist/Components/SearchSelect/SelectTruncatedLabel.js +45 -0
  238. package/dist/Components/Select/Select.d.ts +3 -0
  239. package/dist/Components/Select/Select.js +54 -0
  240. package/dist/Components/Select/Select.stories.d.ts +1 -0
  241. package/dist/Components/Select/Select.stories.js +8 -0
  242. package/dist/Components/Select/Select.styles.d.ts +2 -0
  243. package/dist/Components/Select/Select.styles.js +98 -0
  244. package/dist/Components/Select/SelectProps.d.ts +20 -0
  245. package/dist/Components/Select/SelectProps.js +2 -0
  246. package/dist/Components/SelectSearch/SelectSearch.d.ts +3 -0
  247. package/dist/Components/SelectSearch/SelectSearch.js +239 -0
  248. package/dist/Components/SelectSearch/SelectSearchProps.d.ts +42 -0
  249. package/dist/Components/SelectSearch/SelectSearchProps.js +2 -0
  250. package/dist/Components/SideBar/SideBar.d.ts +3 -0
  251. package/dist/Components/SideBar/SideBar.js +55 -0
  252. package/dist/Components/SideBar/SideBarProps.d.ts +29 -0
  253. package/dist/Components/SideBar/SideBarProps.js +2 -0
  254. package/dist/Components/SideBar/Sidebar.stories.d.ts +1 -0
  255. package/dist/Components/SideBar/Sidebar.stories.js +7 -0
  256. package/dist/Components/SideBar/components/MenuItemBox.d.ts +11 -0
  257. package/dist/Components/SideBar/components/MenuItemBox.js +116 -0
  258. package/dist/Components/SideBar/components/MenuItems.d.ts +4 -0
  259. package/dist/Components/SideBar/components/MenuItems.js +13 -0
  260. package/dist/Components/SideBar/components/MenuPopoverContent.d.ts +9 -0
  261. package/dist/Components/SideBar/components/MenuPopoverContent.js +37 -0
  262. package/dist/Components/SideBar/components/TextTruncation.d.ts +8 -0
  263. package/dist/Components/SideBar/components/TextTruncation.js +77 -0
  264. package/dist/Components/Skeletons/Skeleton.stories.d.ts +1 -0
  265. package/dist/Components/Skeletons/Skeleton.stories.js +7 -0
  266. package/dist/Components/Skeletons/SkeletonProps.d.ts +4 -0
  267. package/dist/Components/Skeletons/SkeletonProps.js +2 -0
  268. package/dist/Components/Skeletons/Skeletons.d.ts +3 -0
  269. package/dist/Components/Skeletons/Skeletons.js +15 -0
  270. package/dist/Components/Switch/Switch.d.ts +3 -0
  271. package/dist/Components/Switch/Switch.js +39 -0
  272. package/dist/Components/Switch/SwitchProps.d.ts +9 -0
  273. package/dist/Components/Switch/SwitchProps.js +2 -0
  274. package/dist/Components/Table/Components/HeaderActions.d.ts +7 -0
  275. package/dist/Components/Table/Components/HeaderActions.js +45 -0
  276. package/dist/Components/Table/Components/Pagination.d.ts +14 -0
  277. package/dist/Components/Table/Components/Pagination.js +32 -0
  278. package/dist/Components/Table/Components/TableActions.d.ts +3 -0
  279. package/dist/Components/Table/Components/TableActions.js +28 -0
  280. package/dist/Components/Table/Components/TableBody.d.ts +4 -0
  281. package/dist/Components/Table/Components/TableBody.js +140 -0
  282. package/dist/Components/Table/Components/TableFilters.d.ts +4 -0
  283. package/dist/Components/Table/Components/TableFilters.js +59 -0
  284. package/dist/Components/Table/Components/TableHeader.d.ts +4 -0
  285. package/dist/Components/Table/Components/TableHeader.js +147 -0
  286. package/dist/Components/Table/Components/TableLoading.d.ts +7 -0
  287. package/dist/Components/Table/Components/TableLoading.js +41 -0
  288. package/dist/Components/Table/Components/TableSearch.d.ts +6 -0
  289. package/dist/Components/Table/Components/TableSearch.js +60 -0
  290. package/dist/Components/Table/Components/useDebounce.d.ts +2 -0
  291. package/dist/Components/Table/Components/useDebounce.js +28 -0
  292. package/dist/Components/Table/Components/useTable.d.ts +46 -0
  293. package/dist/Components/Table/Components/useTable.js +168 -0
  294. package/dist/Components/Table/Table.d.ts +3 -0
  295. package/dist/Components/Table/Table.js +129 -0
  296. package/dist/Components/Table/Table.stories.d.ts +1 -0
  297. package/dist/Components/Table/Table.stories.js +9 -0
  298. package/dist/Components/Table/TableProps.d.ts +112 -0
  299. package/dist/Components/Table/TableProps.js +2 -0
  300. package/dist/Components/Table/TableSettings/ManageColumns.d.ts +10 -0
  301. package/dist/Components/Table/TableSettings/ManageColumns.js +107 -0
  302. package/dist/Components/Table/TableSettings/TableSettings.d.ts +7 -0
  303. package/dist/Components/Table/TableSettings/TableSettings.js +73 -0
  304. package/dist/Components/Table/TableToDo.d.ts +2 -0
  305. package/dist/Components/Table/TableToDo.js +291 -0
  306. package/dist/Components/Tag/Tag.d.ts +12 -0
  307. package/dist/Components/Tag/Tag.js +21 -0
  308. package/dist/Components/Tag/Tag.styles.d.ts +2 -0
  309. package/dist/Components/Tag/Tag.styles.js +63 -0
  310. package/dist/Components/Timeline/Timeline.d.ts +4 -0
  311. package/dist/Components/Timeline/Timeline.js +166 -0
  312. package/dist/Components/Timeline/TimelineProps.d.ts +20 -0
  313. package/dist/Components/Timeline/TimelineProps.js +2 -0
  314. package/dist/Components/Toaster/Toaster.d.ts +4 -0
  315. package/dist/Components/Toaster/Toaster.js +86 -0
  316. package/dist/Components/Toaster/Toaster.stories.d.ts +1 -0
  317. package/dist/Components/Toaster/Toaster.stories.js +8 -0
  318. package/dist/Components/Toaster/ToasterProps.d.ts +12 -0
  319. package/dist/Components/Toaster/ToasterProps.js +2 -0
  320. package/dist/Components/Toggle/TableToggle.d.ts +4 -0
  321. package/dist/Components/Toggle/TableToggle.js +60 -0
  322. package/dist/Components/Toggle/TableToggleProps.d.ts +5 -0
  323. package/dist/Components/Toggle/TableToggleProps.js +2 -0
  324. package/dist/Components/ToolTip/ToolTip.d.ts +3 -0
  325. package/dist/Components/ToolTip/ToolTip.js +12 -0
  326. package/dist/Components/ToolTip/ToolTip.stories.d.ts +1 -0
  327. package/dist/Components/ToolTip/ToolTip.stories.js +7 -0
  328. package/dist/Components/ToolTip/ToolTipProps.d.ts +7 -0
  329. package/dist/Components/ToolTip/ToolTipProps.js +2 -0
  330. package/dist/Components/Trail/EditableCell.d.ts +11 -0
  331. package/dist/Components/Trail/EditableCell.js +71 -0
  332. package/dist/Components/Trail/SelectAllCheckbox.d.ts +8 -0
  333. package/dist/Components/Trail/SelectAllCheckbox.js +13 -0
  334. package/dist/Components/Trail/TrailWorks.d.ts +3 -0
  335. package/dist/Components/Trail/TrailWorks.js +262 -0
  336. package/dist/Components/Trail/data.d.ts +15 -0
  337. package/dist/Components/Trail/data.js +29 -0
  338. package/dist/Constants/Sidebar.d.ts +38 -0
  339. package/dist/Constants/Sidebar.js +42 -0
  340. package/dist/Hooks/usePreferences.d.ts +24 -0
  341. package/dist/Hooks/usePreferences.js +73 -0
  342. package/dist/Layout.d.ts +3 -0
  343. package/dist/Layout.js +254 -0
  344. package/dist/Pages/TInput.d.ts +3 -0
  345. package/dist/Pages/TInput.js +46 -0
  346. package/dist/Pages/accordion.d.ts +3 -0
  347. package/dist/Pages/accordion.js +42 -0
  348. package/dist/Pages/alertdialog.d.ts +3 -0
  349. package/dist/Pages/alertdialog.js +44 -0
  350. package/dist/Pages/button.d.ts +3 -0
  351. package/dist/Pages/button.js +29 -0
  352. package/dist/Pages/card.d.ts +3 -0
  353. package/dist/Pages/card.js +48 -0
  354. package/dist/Pages/chart.d.ts +3 -0
  355. package/dist/Pages/chart.js +28 -0
  356. package/dist/Pages/checkbox.d.ts +3 -0
  357. package/dist/Pages/checkbox.js +12 -0
  358. package/dist/Pages/contactForm.d.ts +3 -0
  359. package/dist/Pages/contactForm.js +16 -0
  360. package/dist/Pages/datePick.d.ts +3 -0
  361. package/dist/Pages/datePick.js +70 -0
  362. package/dist/Pages/drawer.d.ts +3 -0
  363. package/dist/Pages/drawer.js +48 -0
  364. package/dist/Pages/dropdown.d.ts +3 -0
  365. package/dist/Pages/dropdown.js +24 -0
  366. package/dist/Pages/editor.d.ts +3 -0
  367. package/dist/Pages/editor.js +14 -0
  368. package/dist/Pages/fileUpload.d.ts +2 -0
  369. package/dist/Pages/fileUpload.js +65 -0
  370. package/dist/Pages/input.d.ts +3 -0
  371. package/dist/Pages/input.js +42 -0
  372. package/dist/Pages/kanbanboard.d.ts +3 -0
  373. package/dist/Pages/kanbanboard.js +115 -0
  374. package/dist/Pages/modal.d.ts +3 -0
  375. package/dist/Pages/modal.js +55 -0
  376. package/dist/Pages/multiSelect.d.ts +3 -0
  377. package/dist/Pages/multiSelect.js +45 -0
  378. package/dist/Pages/noteArea.d.ts +3 -0
  379. package/dist/Pages/noteArea.js +49 -0
  380. package/dist/Pages/numberInput.d.ts +3 -0
  381. package/dist/Pages/numberInput.js +39 -0
  382. package/dist/Pages/photoViewer.d.ts +3 -0
  383. package/dist/Pages/photoViewer.js +12 -0
  384. package/dist/Pages/pinInputs.d.ts +3 -0
  385. package/dist/Pages/pinInputs.js +12 -0
  386. package/dist/Pages/productCaard.d.ts +3 -0
  387. package/dist/Pages/productCaard.js +32 -0
  388. package/dist/Pages/progressbar.d.ts +3 -0
  389. package/dist/Pages/progressbar.js +12 -0
  390. package/dist/Pages/radioButton.d.ts +3 -0
  391. package/dist/Pages/radioButton.js +44 -0
  392. package/dist/Pages/search.d.ts +3 -0
  393. package/dist/Pages/search.js +44 -0
  394. package/dist/Pages/searchSelect.d.ts +3 -0
  395. package/dist/Pages/searchSelect.js +151 -0
  396. package/dist/Pages/select.d.ts +3 -0
  397. package/dist/Pages/select.js +43 -0
  398. package/dist/Pages/selectSearch.d.ts +3 -0
  399. package/dist/Pages/selectSearch.js +93 -0
  400. package/dist/Pages/skeleton.d.ts +3 -0
  401. package/dist/Pages/skeleton.js +22 -0
  402. package/dist/Pages/switch.d.ts +3 -0
  403. package/dist/Pages/switch.js +40 -0
  404. package/dist/Pages/table.d.ts +2 -0
  405. package/dist/Pages/table.js +144 -0
  406. package/dist/Pages/textArea.d.ts +3 -0
  407. package/dist/Pages/textArea.js +12 -0
  408. package/dist/Pages/timeline.d.ts +3 -0
  409. package/dist/Pages/timeline.js +74 -0
  410. package/dist/Pages/tooltip.d.ts +3 -0
  411. package/dist/Pages/tooltip.js +12 -0
  412. package/dist/Pages/toster.d.ts +3 -0
  413. package/dist/Pages/toster.js +63 -0
  414. package/dist/Pages/verifyEmail.d.ts +3 -0
  415. package/dist/Pages/verifyEmail.js +18 -0
  416. package/dist/Theme/Dark/theme.d.ts +2 -0
  417. package/dist/Theme/Dark/theme.js +283 -0
  418. package/dist/Theme/Default/palette.d.ts +370 -0
  419. package/dist/Theme/Default/palette.js +372 -0
  420. package/dist/Theme/Default/theme.d.ts +2 -0
  421. package/dist/Theme/Default/theme.js +23 -0
  422. package/dist/Theme/Meadow/palette.d.ts +368 -0
  423. package/dist/Theme/Meadow/palette.js +356 -0
  424. package/dist/Theme/Meadow/theme.d.ts +2 -0
  425. package/dist/Theme/Meadow/theme.js +23 -0
  426. package/dist/Theme/Radiant/palette.d.ts +368 -0
  427. package/dist/Theme/Radiant/palette.js +356 -0
  428. package/dist/Theme/Radiant/theme.d.ts +2 -0
  429. package/dist/Theme/Radiant/theme.js +23 -0
  430. package/dist/Theme/Skyline/palette.d.ts +368 -0
  431. package/dist/Theme/Skyline/palette.js +356 -0
  432. package/dist/Theme/Skyline/theme.d.ts +2 -0
  433. package/dist/Theme/Skyline/theme.js +23 -0
  434. package/dist/Theme/common.d.ts +166 -0
  435. package/dist/Theme/common.js +101 -0
  436. package/dist/Theme/componentStyles.d.ts +7 -0
  437. package/dist/Theme/componentStyles.js +15 -0
  438. package/dist/Theme/fonts.d.ts +34 -0
  439. package/dist/Theme/fonts.js +41 -0
  440. package/dist/Theme/index.d.ts +11 -0
  441. package/dist/Theme/index.js +20 -0
  442. package/dist/Theme/space.d.ts +33 -0
  443. package/dist/Theme/space.js +35 -0
  444. package/dist/Theme/theme.d.ts +2 -0
  445. package/dist/Theme/theme.js +9 -0
  446. package/dist/Theme/themeProps.d.ts +475 -0
  447. package/dist/Theme/themeProps.js +3 -0
  448. package/dist/Theme/useCustomTheme.d.ts +2 -0
  449. package/dist/Theme/useCustomTheme.js +8 -0
  450. package/dist/Utils/table.d.ts +36 -0
  451. package/dist/Utils/table.js +168 -0
  452. package/dist/_virtual/AMPMMidnightParser.js +1 -0
  453. package/dist/_virtual/AMPMParser.js +1 -0
  454. package/dist/_virtual/DateParser.js +1 -0
  455. package/dist/_virtual/DayOfYearParser.js +1 -0
  456. package/dist/_virtual/DayParser.js +1 -0
  457. package/dist/_virtual/DayPeriodParser.js +1 -0
  458. package/dist/_virtual/EraParser.js +1 -0
  459. package/dist/_virtual/ExtendedYearParser.js +1 -0
  460. package/dist/_virtual/FractionOfSecondParser.js +1 -0
  461. package/dist/_virtual/Hour0To11Parser.js +1 -0
  462. package/dist/_virtual/Hour0to23Parser.js +1 -0
  463. package/dist/_virtual/Hour1To24Parser.js +1 -0
  464. package/dist/_virtual/Hour1to12Parser.js +1 -0
  465. package/dist/_virtual/ISODayParser.js +1 -0
  466. package/dist/_virtual/ISOTimezoneParser.js +1 -0
  467. package/dist/_virtual/ISOTimezoneWithZParser.js +1 -0
  468. package/dist/_virtual/ISOWeekParser.js +1 -0
  469. package/dist/_virtual/ISOWeekYearParser.js +1 -0
  470. package/dist/_virtual/LocalDayParser.js +1 -0
  471. package/dist/_virtual/LocalWeekParser.js +1 -0
  472. package/dist/_virtual/LocalWeekYearParser.js +1 -0
  473. package/dist/_virtual/MinuteParser.js +1 -0
  474. package/dist/_virtual/MonthParser.js +1 -0
  475. package/dist/_virtual/Parser.js +1 -0
  476. package/dist/_virtual/QuarterParser.js +1 -0
  477. package/dist/_virtual/SecondParser.js +1 -0
  478. package/dist/_virtual/Setter.js +1 -0
  479. package/dist/_virtual/StandAloneLocalDayParser.js +1 -0
  480. package/dist/_virtual/StandAloneMonthParser.js +1 -0
  481. package/dist/_virtual/StandAloneQuarterParser.js +1 -0
  482. package/dist/_virtual/TimestampMillisecondsParser.js +1 -0
  483. package/dist/_virtual/TimestampSecondsParser.js +1 -0
  484. package/dist/_virtual/YearParser.js +1 -0
  485. package/dist/_virtual/add.js +1 -0
  486. package/dist/_virtual/addBusinessDays.js +1 -0
  487. package/dist/_virtual/addDays.js +1 -0
  488. package/dist/_virtual/addHours.js +1 -0
  489. package/dist/_virtual/addISOWeekYears.js +1 -0
  490. package/dist/_virtual/addLeadingZeros.js +1 -0
  491. package/dist/_virtual/addMilliseconds.js +1 -0
  492. package/dist/_virtual/addMinutes.js +1 -0
  493. package/dist/_virtual/addMonths.js +1 -0
  494. package/dist/_virtual/addQuarters.js +1 -0
  495. package/dist/_virtual/addSeconds.js +1 -0
  496. package/dist/_virtual/addWeeks.js +1 -0
  497. package/dist/_virtual/addYears.js +1 -0
  498. package/dist/_virtual/areIntervalsOverlapping.js +1 -0
  499. package/dist/_virtual/buildFormatLongFn.js +1 -0
  500. package/dist/_virtual/buildLocalizeFn.js +1 -0
  501. package/dist/_virtual/buildMatchFn.js +1 -0
  502. package/dist/_virtual/buildMatchPatternFn.js +1 -0
  503. package/dist/_virtual/clamp.js +1 -0
  504. package/dist/_virtual/closestIndexTo.js +1 -0
  505. package/dist/_virtual/closestTo.js +1 -0
  506. package/dist/_virtual/compareAsc.js +1 -0
  507. package/dist/_virtual/compareDesc.js +1 -0
  508. package/dist/_virtual/constants.js +1 -0
  509. package/dist/_virtual/constants2.js +1 -0
  510. package/dist/_virtual/constructFrom.js +1 -0
  511. package/dist/_virtual/constructNow.js +1 -0
  512. package/dist/_virtual/daysToWeeks.js +1 -0
  513. package/dist/_virtual/defaultLocale.js +1 -0
  514. package/dist/_virtual/defaultOptions.js +1 -0
  515. package/dist/_virtual/differenceInBusinessDays.js +1 -0
  516. package/dist/_virtual/differenceInCalendarDays.js +1 -0
  517. package/dist/_virtual/differenceInCalendarISOWeekYears.js +1 -0
  518. package/dist/_virtual/differenceInCalendarISOWeeks.js +1 -0
  519. package/dist/_virtual/differenceInCalendarMonths.js +1 -0
  520. package/dist/_virtual/differenceInCalendarQuarters.js +1 -0
  521. package/dist/_virtual/differenceInCalendarWeeks.js +1 -0
  522. package/dist/_virtual/differenceInCalendarYears.js +1 -0
  523. package/dist/_virtual/differenceInDays.js +1 -0
  524. package/dist/_virtual/differenceInHours.js +1 -0
  525. package/dist/_virtual/differenceInISOWeekYears.js +1 -0
  526. package/dist/_virtual/differenceInMilliseconds.js +1 -0
  527. package/dist/_virtual/differenceInMinutes.js +1 -0
  528. package/dist/_virtual/differenceInMonths.js +1 -0
  529. package/dist/_virtual/differenceInQuarters.js +1 -0
  530. package/dist/_virtual/differenceInSeconds.js +1 -0
  531. package/dist/_virtual/differenceInWeeks.js +1 -0
  532. package/dist/_virtual/differenceInYears.js +1 -0
  533. package/dist/_virtual/eachDayOfInterval.js +1 -0
  534. package/dist/_virtual/eachHourOfInterval.js +1 -0
  535. package/dist/_virtual/eachMinuteOfInterval.js +1 -0
  536. package/dist/_virtual/eachMonthOfInterval.js +1 -0
  537. package/dist/_virtual/eachQuarterOfInterval.js +1 -0
  538. package/dist/_virtual/eachWeekOfInterval.js +1 -0
  539. package/dist/_virtual/eachWeekendOfInterval.js +1 -0
  540. package/dist/_virtual/eachWeekendOfMonth.js +1 -0
  541. package/dist/_virtual/eachWeekendOfYear.js +1 -0
  542. package/dist/_virtual/eachYearOfInterval.js +1 -0
  543. package/dist/_virtual/en-US.js +1 -0
  544. package/dist/_virtual/endOfDay.js +1 -0
  545. package/dist/_virtual/endOfDecade.js +1 -0
  546. package/dist/_virtual/endOfHour.js +1 -0
  547. package/dist/_virtual/endOfISOWeek.js +1 -0
  548. package/dist/_virtual/endOfISOWeekYear.js +1 -0
  549. package/dist/_virtual/endOfMinute.js +1 -0
  550. package/dist/_virtual/endOfMonth.js +1 -0
  551. package/dist/_virtual/endOfQuarter.js +1 -0
  552. package/dist/_virtual/endOfSecond.js +1 -0
  553. package/dist/_virtual/endOfToday.js +1 -0
  554. package/dist/_virtual/endOfTomorrow.js +1 -0
  555. package/dist/_virtual/endOfWeek.js +1 -0
  556. package/dist/_virtual/endOfYear.js +1 -0
  557. package/dist/_virtual/endOfYesterday.js +1 -0
  558. package/dist/_virtual/format.js +1 -0
  559. package/dist/_virtual/formatDistance.js +1 -0
  560. package/dist/_virtual/formatDistance2.js +1 -0
  561. package/dist/_virtual/formatDistanceStrict.js +1 -0
  562. package/dist/_virtual/formatDistanceToNow.js +1 -0
  563. package/dist/_virtual/formatDistanceToNowStrict.js +1 -0
  564. package/dist/_virtual/formatDuration.js +1 -0
  565. package/dist/_virtual/formatISO.js +1 -0
  566. package/dist/_virtual/formatISO9075.js +1 -0
  567. package/dist/_virtual/formatISODuration.js +1 -0
  568. package/dist/_virtual/formatLong.js +1 -0
  569. package/dist/_virtual/formatRFC3339.js +1 -0
  570. package/dist/_virtual/formatRFC7231.js +1 -0
  571. package/dist/_virtual/formatRelative.js +1 -0
  572. package/dist/_virtual/formatRelative2.js +1 -0
  573. package/dist/_virtual/formatters.js +1 -0
  574. package/dist/_virtual/fromUnixTime.js +1 -0
  575. package/dist/_virtual/getDate.js +1 -0
  576. package/dist/_virtual/getDay.js +1 -0
  577. package/dist/_virtual/getDayOfYear.js +1 -0
  578. package/dist/_virtual/getDaysInMonth.js +1 -0
  579. package/dist/_virtual/getDaysInYear.js +1 -0
  580. package/dist/_virtual/getDecade.js +1 -0
  581. package/dist/_virtual/getDefaultOptions.js +1 -0
  582. package/dist/_virtual/getHours.js +1 -0
  583. package/dist/_virtual/getISODay.js +1 -0
  584. package/dist/_virtual/getISOWeek.js +1 -0
  585. package/dist/_virtual/getISOWeekYear.js +1 -0
  586. package/dist/_virtual/getISOWeeksInYear.js +1 -0
  587. package/dist/_virtual/getMilliseconds.js +1 -0
  588. package/dist/_virtual/getMinutes.js +1 -0
  589. package/dist/_virtual/getMonth.js +1 -0
  590. package/dist/_virtual/getOverlappingDaysInIntervals.js +1 -0
  591. package/dist/_virtual/getQuarter.js +1 -0
  592. package/dist/_virtual/getRoundingMethod.js +1 -0
  593. package/dist/_virtual/getSeconds.js +1 -0
  594. package/dist/_virtual/getTime.js +1 -0
  595. package/dist/_virtual/getTimezoneOffsetInMilliseconds.js +1 -0
  596. package/dist/_virtual/getUnixTime.js +1 -0
  597. package/dist/_virtual/getWeek.js +1 -0
  598. package/dist/_virtual/getWeekOfMonth.js +1 -0
  599. package/dist/_virtual/getWeekYear.js +1 -0
  600. package/dist/_virtual/getWeeksInMonth.js +1 -0
  601. package/dist/_virtual/getYear.js +1 -0
  602. package/dist/_virtual/hoursToMilliseconds.js +1 -0
  603. package/dist/_virtual/hoursToMinutes.js +1 -0
  604. package/dist/_virtual/hoursToSeconds.js +1 -0
  605. package/dist/_virtual/index.js +1 -0
  606. package/dist/_virtual/index2.js +1 -0
  607. package/dist/_virtual/interval.js +1 -0
  608. package/dist/_virtual/intervalToDuration.js +1 -0
  609. package/dist/_virtual/intlFormat.js +1 -0
  610. package/dist/_virtual/intlFormatDistance.js +1 -0
  611. package/dist/_virtual/isAfter.js +1 -0
  612. package/dist/_virtual/isBefore.js +1 -0
  613. package/dist/_virtual/isDate.js +1 -0
  614. package/dist/_virtual/isEqual.js +1 -0
  615. package/dist/_virtual/isExists.js +1 -0
  616. package/dist/_virtual/isFirstDayOfMonth.js +1 -0
  617. package/dist/_virtual/isFriday.js +1 -0
  618. package/dist/_virtual/isFuture.js +1 -0
  619. package/dist/_virtual/isLastDayOfMonth.js +1 -0
  620. package/dist/_virtual/isLeapYear.js +1 -0
  621. package/dist/_virtual/isMatch.js +1 -0
  622. package/dist/_virtual/isMonday.js +1 -0
  623. package/dist/_virtual/isPast.js +1 -0
  624. package/dist/_virtual/isSameDay.js +1 -0
  625. package/dist/_virtual/isSameHour.js +1 -0
  626. package/dist/_virtual/isSameISOWeek.js +1 -0
  627. package/dist/_virtual/isSameISOWeekYear.js +1 -0
  628. package/dist/_virtual/isSameMinute.js +1 -0
  629. package/dist/_virtual/isSameMonth.js +1 -0
  630. package/dist/_virtual/isSameQuarter.js +1 -0
  631. package/dist/_virtual/isSameSecond.js +1 -0
  632. package/dist/_virtual/isSameWeek.js +1 -0
  633. package/dist/_virtual/isSameYear.js +1 -0
  634. package/dist/_virtual/isSaturday.js +1 -0
  635. package/dist/_virtual/isSunday.js +1 -0
  636. package/dist/_virtual/isThisHour.js +1 -0
  637. package/dist/_virtual/isThisISOWeek.js +1 -0
  638. package/dist/_virtual/isThisMinute.js +1 -0
  639. package/dist/_virtual/isThisMonth.js +1 -0
  640. package/dist/_virtual/isThisQuarter.js +1 -0
  641. package/dist/_virtual/isThisSecond.js +1 -0
  642. package/dist/_virtual/isThisWeek.js +1 -0
  643. package/dist/_virtual/isThisYear.js +1 -0
  644. package/dist/_virtual/isThursday.js +1 -0
  645. package/dist/_virtual/isToday.js +1 -0
  646. package/dist/_virtual/isTomorrow.js +1 -0
  647. package/dist/_virtual/isTuesday.js +1 -0
  648. package/dist/_virtual/isValid.js +1 -0
  649. package/dist/_virtual/isWednesday.js +1 -0
  650. package/dist/_virtual/isWeekend.js +1 -0
  651. package/dist/_virtual/isWithinInterval.js +1 -0
  652. package/dist/_virtual/isYesterday.js +1 -0
  653. package/dist/_virtual/lastDayOfDecade.js +1 -0
  654. package/dist/_virtual/lastDayOfISOWeek.js +1 -0
  655. package/dist/_virtual/lastDayOfISOWeekYear.js +1 -0
  656. package/dist/_virtual/lastDayOfMonth.js +1 -0
  657. package/dist/_virtual/lastDayOfQuarter.js +1 -0
  658. package/dist/_virtual/lastDayOfWeek.js +1 -0
  659. package/dist/_virtual/lastDayOfYear.js +1 -0
  660. package/dist/_virtual/lightFormat.js +1 -0
  661. package/dist/_virtual/lightFormatters.js +1 -0
  662. package/dist/_virtual/localize.js +1 -0
  663. package/dist/_virtual/longFormatters.js +1 -0
  664. package/dist/_virtual/match.js +1 -0
  665. package/dist/_virtual/max.js +1 -0
  666. package/dist/_virtual/milliseconds.js +1 -0
  667. package/dist/_virtual/millisecondsToHours.js +1 -0
  668. package/dist/_virtual/millisecondsToMinutes.js +1 -0
  669. package/dist/_virtual/millisecondsToSeconds.js +1 -0
  670. package/dist/_virtual/min.js +1 -0
  671. package/dist/_virtual/minutesToHours.js +1 -0
  672. package/dist/_virtual/minutesToMilliseconds.js +1 -0
  673. package/dist/_virtual/minutesToSeconds.js +1 -0
  674. package/dist/_virtual/monthsToQuarters.js +1 -0
  675. package/dist/_virtual/monthsToYears.js +1 -0
  676. package/dist/_virtual/nextDay.js +1 -0
  677. package/dist/_virtual/nextFriday.js +1 -0
  678. package/dist/_virtual/nextMonday.js +1 -0
  679. package/dist/_virtual/nextSaturday.js +1 -0
  680. package/dist/_virtual/nextSunday.js +1 -0
  681. package/dist/_virtual/nextThursday.js +1 -0
  682. package/dist/_virtual/nextTuesday.js +1 -0
  683. package/dist/_virtual/nextWednesday.js +1 -0
  684. package/dist/_virtual/parse.js +1 -0
  685. package/dist/_virtual/parseISO.js +1 -0
  686. package/dist/_virtual/parseJSON.js +1 -0
  687. package/dist/_virtual/parsers.js +1 -0
  688. package/dist/_virtual/previousDay.js +1 -0
  689. package/dist/_virtual/previousFriday.js +1 -0
  690. package/dist/_virtual/previousMonday.js +1 -0
  691. package/dist/_virtual/previousSaturday.js +1 -0
  692. package/dist/_virtual/previousSunday.js +1 -0
  693. package/dist/_virtual/previousThursday.js +1 -0
  694. package/dist/_virtual/previousTuesday.js +1 -0
  695. package/dist/_virtual/previousWednesday.js +1 -0
  696. package/dist/_virtual/protectedTokens.js +1 -0
  697. package/dist/_virtual/quartersToMonths.js +1 -0
  698. package/dist/_virtual/quartersToYears.js +1 -0
  699. package/dist/_virtual/roundToNearestHours.js +1 -0
  700. package/dist/_virtual/roundToNearestMinutes.js +1 -0
  701. package/dist/_virtual/secondsToHours.js +1 -0
  702. package/dist/_virtual/secondsToMilliseconds.js +1 -0
  703. package/dist/_virtual/secondsToMinutes.js +1 -0
  704. package/dist/_virtual/set.js +1 -0
  705. package/dist/_virtual/setDate.js +1 -0
  706. package/dist/_virtual/setDay.js +1 -0
  707. package/dist/_virtual/setDayOfYear.js +1 -0
  708. package/dist/_virtual/setDefaultOptions.js +1 -0
  709. package/dist/_virtual/setHours.js +1 -0
  710. package/dist/_virtual/setISODay.js +1 -0
  711. package/dist/_virtual/setISOWeek.js +1 -0
  712. package/dist/_virtual/setISOWeekYear.js +1 -0
  713. package/dist/_virtual/setMilliseconds.js +1 -0
  714. package/dist/_virtual/setMinutes.js +1 -0
  715. package/dist/_virtual/setMonth.js +1 -0
  716. package/dist/_virtual/setQuarter.js +1 -0
  717. package/dist/_virtual/setSeconds.js +1 -0
  718. package/dist/_virtual/setWeek.js +1 -0
  719. package/dist/_virtual/setWeekYear.js +1 -0
  720. package/dist/_virtual/setYear.js +1 -0
  721. package/dist/_virtual/startOfDay.js +1 -0
  722. package/dist/_virtual/startOfDecade.js +1 -0
  723. package/dist/_virtual/startOfHour.js +1 -0
  724. package/dist/_virtual/startOfISOWeek.js +1 -0
  725. package/dist/_virtual/startOfISOWeekYear.js +1 -0
  726. package/dist/_virtual/startOfMinute.js +1 -0
  727. package/dist/_virtual/startOfMonth.js +1 -0
  728. package/dist/_virtual/startOfQuarter.js +1 -0
  729. package/dist/_virtual/startOfSecond.js +1 -0
  730. package/dist/_virtual/startOfToday.js +1 -0
  731. package/dist/_virtual/startOfTomorrow.js +1 -0
  732. package/dist/_virtual/startOfWeek.js +1 -0
  733. package/dist/_virtual/startOfWeekYear.js +1 -0
  734. package/dist/_virtual/startOfYear.js +1 -0
  735. package/dist/_virtual/startOfYesterday.js +1 -0
  736. package/dist/_virtual/sub.js +1 -0
  737. package/dist/_virtual/subBusinessDays.js +1 -0
  738. package/dist/_virtual/subDays.js +1 -0
  739. package/dist/_virtual/subHours.js +1 -0
  740. package/dist/_virtual/subISOWeekYears.js +1 -0
  741. package/dist/_virtual/subMilliseconds.js +1 -0
  742. package/dist/_virtual/subMinutes.js +1 -0
  743. package/dist/_virtual/subMonths.js +1 -0
  744. package/dist/_virtual/subQuarters.js +1 -0
  745. package/dist/_virtual/subSeconds.js +1 -0
  746. package/dist/_virtual/subWeeks.js +1 -0
  747. package/dist/_virtual/subYears.js +1 -0
  748. package/dist/_virtual/toDate.js +1 -0
  749. package/dist/_virtual/transpose.js +1 -0
  750. package/dist/_virtual/utils.js +1 -0
  751. package/dist/_virtual/weeksToDays.js +1 -0
  752. package/dist/_virtual/yearsToDays.js +1 -0
  753. package/dist/_virtual/yearsToMonths.js +1 -0
  754. package/dist/_virtual/yearsToQuarters.js +1 -0
  755. package/dist/bootstrap.d.ts +1 -0
  756. package/dist/bootstrap.js +14 -0
  757. package/dist/global.css +225 -0
  758. package/dist/index.css +3 -0
  759. package/dist/index.d.ts +54 -0
  760. package/dist/index.js +146 -0
  761. package/dist/withTheme.d.ts +3 -0
  762. package/dist/withTheme.js +28 -0
  763. package/package.json +14 -23
@@ -0,0 +1,291 @@
1
+ "use strict";
2
+ // const [isPopoverOpen, setPopoverOpen] = useState(false);
3
+ // const [activeHeader, setActiveHeader] = useState<string | null>(null);
4
+ // const [searchTerms, setSearchTerms] = useState<Record<string, string>>({});
5
+ // const [searchOperation, setSearchOperation] = useState<
6
+ // Record<string, string>
7
+ // >({});
8
+ // const [betweenValues, setBetweenValues] = useState<
9
+ // Record<string, { min: string; max: string }>
10
+ // >({});
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.searchFeatures = void 0;
16
+ // const sortedData = [...data].sort((a, b) => {
17
+ // if (!sortField) return 0;
18
+ // if (a[sortField] < b[sortField]) return sortDirection === "asc" ? -1 : 1;
19
+ // if (a[sortField] > b[sortField]) return sortDirection === "asc" ? 1 : -1;
20
+ // return 0;
21
+ // });
22
+ // const getValue = (header: string) => {
23
+ // const value = data.reduce((acc: (string | number)[], item: DataObject) => {
24
+ // const itemValue = item[header];
25
+ // if (
26
+ // itemValue !== undefined &&
27
+ // itemValue !== null &&
28
+ // !acc.includes(itemValue)
29
+ // ) {
30
+ // acc.push(itemValue);
31
+ // }
32
+ // return acc;
33
+ // }, []);
34
+ // return value;
35
+ // };
36
+ // const handleSearchOperation = (header: string, operation: string) => {
37
+ // // setSearchOperation((prev) => ({ ...prev, [header]: operation }));
38
+ // // const list_ofdata = getValue(header);
39
+ // // if (operation === "between") {
40
+ // // const smallestValue = String(Math.min(Number(...list_ofdata)));
41
+ // // const highestValue = String(Math.max(Number(...list_ofdata)));
42
+ // // setBetweenValues((prev) => ({
43
+ // // ...prev,
44
+ // // [header]: { min: smallestValue, max: highestValue },
45
+ // // }));
46
+ // // setSearchTerms((prev) => ({ ...prev, [header]: "between" }));
47
+ // // } else {
48
+ // // if (operation === "blank" || operation === "notBlank") {
49
+ // // setSearchTerms((prev) => ({ ...prev, [header]: "" }));
50
+ // // } else {
51
+ // // setSearchTerms((prev) => ({
52
+ // // ...prev,
53
+ // // [header]: list_ofdata[0].toString(),
54
+ // // }));
55
+ // // }
56
+ // // }
57
+ // };
58
+ // const handleSearch = (field: string, term: string) => {
59
+ // // if (searchOperation[field] === "between") {
60
+ // // setBetweenValues((prev) => ({
61
+ // // ...prev,
62
+ // // [field]: { min: term.split("-")[0], max: term.split("-")[1] },
63
+ // // }));
64
+ // // } else {
65
+ // // setSearchTerms((prev) => ({ ...prev, [field]: term }));
66
+ // // }
67
+ // };
68
+ // const handleHeaderClick = (header: string, search: boolean) => {
69
+ // // if (!search) {
70
+ // // return;
71
+ // // }
72
+ // // setActiveHeader(header);
73
+ // // setPopoverOpen(true);
74
+ // };
75
+ // const closePopover = () => {
76
+ // // setPopoverOpen(false);
77
+ // };
78
+ // const filteredData = sortedData.filter((item) => {
79
+ // return Object.keys(searchTerms).every((key) => {
80
+ // const term = String(searchTerms[key]).toLowerCase();
81
+ // const value = String(item[key]).toLowerCase();
82
+ // const operation = searchOperation[key] || "notBlank";
83
+ // switch (operation) {
84
+ // case "contains":
85
+ // return value.includes(term);
86
+ // case "notContains":
87
+ // return !value.includes(term);
88
+ // case "equals":
89
+ // return value === term;
90
+ // case "notEquals":
91
+ // return value !== term;
92
+ // case "beginsWith":
93
+ // return value.startsWith(term);
94
+ // case "endsWith":
95
+ // return value.endsWith(term);
96
+ // case "greaterThan":
97
+ // return Number(value) > Number(term);
98
+ // case "greaterThanOrEqual":
99
+ // return Number(value) >= Number(term);
100
+ // case "lessThan":
101
+ // return Number(value) < Number(term);
102
+ // case "lessThanOrEqual":
103
+ // return Number(value) <= Number(term);
104
+ // case "between": {
105
+ // const { min, max } = betweenValues[key] || {};
106
+ // return Number(value) >= Number(min) && Number(value) <= Number(max);
107
+ // }
108
+ // case "blank":
109
+ // return value === "";
110
+ // case "notBlank":
111
+ // return value !== "";
112
+ // default:
113
+ // return true;
114
+ // }
115
+ // });
116
+ // });
117
+ var react_1 = __importDefault(require("react"));
118
+ var searchFeatures = function (header) {
119
+ return react_1.default.createElement(react_1.default.Fragment, null, "hi");
120
+ // const fieldType = getFieldType(header, data);
121
+ // return (
122
+ // <>
123
+ // <Select
124
+ // value={searchOperation[header] || "notBlank"}
125
+ // onChange={(e) => handleSearchOperation(header, e.target.value)}
126
+ // style={{ background: "#3182ce", color: "white" }}
127
+ // >
128
+ // <option value="equals">Equals</option>
129
+ // <option value="notEquals">Does not equal</option>
130
+ // {fieldType === "number" ? (
131
+ // <>
132
+ // <option value="greaterThan">Greater than</option>
133
+ // <option value="greaterThanOrEqual">
134
+ // Greater than or equal to
135
+ // </option>
136
+ // <option value="lessThan">Less than</option>
137
+ // <option value="lessThanOrEqual">Less than or equal to</option>
138
+ // <option value="between">Between</option>
139
+ // </>
140
+ // ) : (
141
+ // <>
142
+ // <option value="contains">Contains</option>
143
+ // <option value="notContains">Does not contain</option>
144
+ // <option value="beginsWith">Begins with</option>
145
+ // <option value="endsWith">Ends with</option>
146
+ // </>
147
+ // )}
148
+ // <option value="blank">Blank</option>
149
+ // <option value="notBlank">Not blank</option>
150
+ // </Select>
151
+ // {searchOperation[header] !== undefined &&
152
+ // searchOperation[header] === "between" &&
153
+ // fieldType === "number" && (
154
+ // <>
155
+ // <br />
156
+ // <Input
157
+ // value={betweenValues[header]?.min || ""}
158
+ // onChange={(e) => {
159
+ // setBetweenValues((prev) => ({
160
+ // ...prev,
161
+ // [header]: { ...prev[header], min: e.target.value },
162
+ // }));
163
+ // setSearchTerms((prev) => ({ ...prev, [header]: "between" }));
164
+ // }}
165
+ // placeholder="Min..."
166
+ // background="white"
167
+ // color="black"
168
+ // />
169
+ // <br />
170
+ // <br />
171
+ // <Input
172
+ // value={betweenValues[header]?.max || ""}
173
+ // onChange={(e) => {
174
+ // setBetweenValues((prev) => ({
175
+ // ...prev,
176
+ // [header]: { ...prev[header], max: e.target.value },
177
+ // }));
178
+ // setSearchTerms((prev) => ({ ...prev, [header]: "between" }));
179
+ // }}
180
+ // placeholder="Max..."
181
+ // background="white"
182
+ // color="black"
183
+ // />
184
+ // </>
185
+ // )}
186
+ // {searchOperation[header] !== undefined &&
187
+ // searchOperation[header] !== "between" &&
188
+ // searchOperation[header] !== "blank" &&
189
+ // searchOperation[header] !== "notBlank" && (
190
+ // <>
191
+ // <br />
192
+ // <Input
193
+ // value={searchTerms[header] || ""}
194
+ // onChange={(e) => handleSearch(header, e.target.value)}
195
+ // placeholder="Search..."
196
+ // background="white"
197
+ // color="black"
198
+ // />
199
+ // {/* <br />
200
+ // <select onChange={(e) => console.log("option 1")} style={{ width: "100%", borderRadius: "2px", height: "30px" }}>
201
+ // <option value="">Select an option</option>
202
+ // <option value="option1">Option 1</option>
203
+ // <option value="option2">Option 2</option>
204
+ // <option value="option3">Option 3</option>
205
+ // </select> */}
206
+ // </>
207
+ // )}
208
+ // </>
209
+ // );
210
+ };
211
+ exports.searchFeatures = searchFeatures;
212
+ // const hasSelection = selection.length > 0;
213
+ // const indeterminate = hasSelection && selection.length < data.length;
214
+ // const handleMouseEnter = (index: number) => setHoveredHeaderIndex(index);
215
+ // const handleMouseLeave = () => {
216
+ // setHoveredHeaderIndex(null);
217
+ // closePopover();
218
+ // };
219
+ // const removeSearchOptionTerm = (key: any) => {
220
+ // const newSearchTerms = { ...searchTerms };
221
+ // const newSearchOperation = { ...searchOperation };
222
+ // const newBetweenValues = { ...betweenValues };
223
+ // delete newSearchTerms[key];
224
+ // delete newSearchOperation[key];
225
+ // delete newBetweenValues[key];
226
+ // setSearchTerms(newSearchTerms);
227
+ // setSearchOperation(newSearchOperation);
228
+ // setBetweenValues(newBetweenValues);
229
+ // };
230
+ // const SearchOptions = () => {
231
+ // return (
232
+ // <Wrap>
233
+ // {searchOperation &&
234
+ // Object.keys(searchOperation).map((key, index) => {
235
+ // return (
236
+ // <Tag
237
+ // size="sm"
238
+ // key={index}
239
+ // borderRadius="full"
240
+ // variant="solid"
241
+ // colorScheme="gray"
242
+ // m={1}
243
+ // >
244
+ // <Box display="flex" alignItems="center">
245
+ // <TagLabel>{key}</TagLabel>
246
+ // <TagLabel mx={2}>{searchOperation[key]}</TagLabel>
247
+ // {searchOperation[key] === "between" ? (
248
+ // <TagLabel>
249
+ // {betweenValues[key]?.min} - {betweenValues[key]?.max}
250
+ // </TagLabel>
251
+ // ) : (
252
+ // <TagLabel>{searchTerms[key]}</TagLabel>
253
+ // )}
254
+ // </Box>
255
+ // <TagCloseButton onClick={() => removeSearchOptionTerm(key)} />
256
+ // </Tag>
257
+ // );
258
+ // })}
259
+ // </Wrap>
260
+ // );
261
+ // };
262
+ // const Export = ({
263
+ // exportOptions,
264
+ // }: {
265
+ // exportOptions: TableProps["exportOptions"];
266
+ // }) => {
267
+ // return (
268
+ // <Select
269
+ // placeholder="Exports"
270
+ // width={160}
271
+ // onChange={(e) => {
272
+ // handleExportChange && handleExportChange(e.target.value);
273
+ // }}
274
+ // value={exportLabel}
275
+ // key={exportLabel}
276
+ // >
277
+ // {exportOptions?.map((option) => (
278
+ // <option key={option.id} value={option.id}>
279
+ // {option.label}
280
+ // </option>
281
+ // ))}
282
+ // </Select>
283
+ // );
284
+ // };
285
+ /* <Box display="flex" justifyContent="flex-end">
286
+ <SearchOptions />
287
+ {exportOptions && exportOptions.length > 0 && (
288
+ <Export exportOptions={exportOptions} />
289
+ )}
290
+ </Box> */
291
+ // <br />
@@ -0,0 +1,12 @@
1
+ import React, { ElementType } from "react";
2
+ interface ChipProps {
3
+ label: string;
4
+ onIconClick?: () => void;
5
+ onTagClick?: () => void;
6
+ icon?: ElementType;
7
+ colorScheme?: "primary" | "secondary" | "tertiary" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink";
8
+ size?: "sm" | "md" | "lg";
9
+ variant?: "solid" | "outline";
10
+ }
11
+ declare const Tag: React.FC<ChipProps>;
12
+ export default Tag;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var react_1 = __importDefault(require("react"));
7
+ var react_2 = require("@chakra-ui/react");
8
+ var Tag = function (_a) {
9
+ var label = _a.label, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b, _c = _a.variant, variant = _c === void 0 ? "solid" : _c, _d = _a.size, size = _d === void 0 ? "md" : _d, icon = _a.icon, onTagClick = _a.onTagClick, onIconClick = _a.onIconClick;
10
+ return (react_1.default.createElement(react_2.Tag, { size: size, variant: variant, colorScheme: colorScheme, borderRadius: "full", cursor: "pointer", onClick: function () { return onTagClick === null || onTagClick === void 0 ? void 0 : onTagClick(); } },
11
+ react_1.default.createElement(react_2.TagLabel, null, label),
12
+ icon && (react_1.default.createElement(react_2.TagRightIcon, { as: icon, boxSize: "1em", ml: 1.5, cursor: onIconClick ? "pointer" : "default", onClick: function (e) {
13
+ e.stopPropagation();
14
+ onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick();
15
+ }, transition: "all 0.2s ease", _hover: {
16
+ opacity: 0.8,
17
+ transform: "scale(1.05)",
18
+ cursor: onIconClick ? "pointer" : "default",
19
+ } }))));
20
+ };
21
+ exports.default = Tag;
@@ -0,0 +1,2 @@
1
+ import { ComponentStyleConfig } from "@chakra-ui/react";
2
+ export declare const Tag: ComponentStyleConfig;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Tag = void 0;
4
+ exports.Tag = {
5
+ baseStyle: {
6
+ borderRadius: "full",
7
+ fontWeight: "bold",
8
+ px: 3,
9
+ py: 1,
10
+ },
11
+ sizes: {
12
+ sm: {
13
+ fontSize: "0.75rem",
14
+ px: 2,
15
+ py: 1,
16
+ },
17
+ md: {
18
+ fontSize: "0.875rem",
19
+ px: 3,
20
+ py: 1.5,
21
+ },
22
+ lg: {
23
+ fontSize: "1rem",
24
+ px: 4,
25
+ py: 2,
26
+ },
27
+ },
28
+ variants: {
29
+ solid: function (_a) {
30
+ var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
31
+ return ({
32
+ bg: theme.colors[colorScheme][500],
33
+ color: theme.colors.white,
34
+ _hover: {
35
+ bg: theme.colors[colorScheme][600],
36
+ },
37
+ _active: {
38
+ bg: theme.colors[colorScheme][700],
39
+ },
40
+ });
41
+ },
42
+ outline: function (_a) {
43
+ var theme = _a.theme, _b = _a.colorScheme, colorScheme = _b === void 0 ? "primary" : _b;
44
+ return ({
45
+ border: "0.125rem solid",
46
+ borderColor: theme.colors[colorScheme][500],
47
+ color: theme.colors[colorScheme][500],
48
+ bg: "transparent",
49
+ _hover: {
50
+ bg: theme.colors[colorScheme][50],
51
+ },
52
+ _active: {
53
+ bg: theme.colors[colorScheme][100],
54
+ },
55
+ });
56
+ },
57
+ },
58
+ defaultProps: {
59
+ size: "md",
60
+ variant: "solid",
61
+ colorScheme: "primary",
62
+ },
63
+ };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { TimelineProps } from "./TimelineProps";
3
+ declare const Timeline: ({ timelineEvents }: TimelineProps) => React.JSX.Element;
4
+ export default Timeline;
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ var react_1 = __importDefault(require("react"));
11
+ var styled_1 = __importDefault(require("@emotion/styled"));
12
+ var react_2 = require("@chakra-ui/react");
13
+ var lucide_react_1 = require("lucide-react");
14
+ var TimelineContainer = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n padding: 0px 24px;\n margin: 0 auto;\n width: 100%;\n max-width: 800px;\n @media (max-width: 768px) {\n padding: 0px 16px;\n max-width: 100%;\n }\n"], ["\n position: relative;\n padding: 0px 24px;\n margin: 0 auto;\n width: 100%;\n max-width: 800px;\n @media (max-width: 768px) {\n padding: 0px 16px;\n max-width: 100%;\n }\n"])));
15
+ var Line = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n left: 50%;\n top: 0;\n bottom: 0;\n width: 2px;\n background-color: #d2d9e0;\n transform: translateX(-50%);\n @media (max-width: 768px) {\n left: 25px; /* Move the line towards the left */\n }\n"], ["\n position: absolute;\n left: 50%;\n top: 0;\n bottom: 0;\n width: 2px;\n background-color: #d2d9e0;\n transform: translateX(-50%);\n @media (max-width: 768px) {\n left: 25px; /* Move the line towards the left */\n }\n"])));
16
+ var EventContainer = styled_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: ", ";\n width: 100%;\n // padding: 1rem 0 1rem 0;\n box-sizing: border-box;\n position: relative;\n margin-bottom: 24px;\n align-items: center; /* Center alignment for dot and event content */\n text-align: ", ";\n @media (max-width: 768px) {\n flex-direction: column;\n text-align: left;\n align-items: flex-start;\n }\n"], ["\n display: flex;\n justify-content: ", ";\n width: 100%;\n // padding: 1rem 0 1rem 0;\n box-sizing: border-box;\n position: relative;\n margin-bottom: 24px;\n align-items: center; /* Center alignment for dot and event content */\n text-align: ", ";\n @media (max-width: 768px) {\n flex-direction: column;\n text-align: left;\n align-items: flex-start;\n }\n"])), function (_a) {
17
+ var isLeft = _a.isLeft;
18
+ return (isLeft ? "flex-end" : "flex-start");
19
+ }, function (_a) {
20
+ var isLeft = _a.isLeft;
21
+ return (isLeft ? "left" : "right");
22
+ });
23
+ var Event = styled_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n // background: white;\n // padding: 16px;\n // border: 1px solid #007bff;\n // border-radius: 8px;\n // width: 40%;\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer; /* Indicates that the event is clickable */\n"], ["\n // background: white;\n // padding: 16px;\n // border: 1px solid #007bff;\n // border-radius: 8px;\n // width: 40%;\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer; /* Indicates that the event is clickable */\n"])));
24
+ var Dot = styled_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: absolute;\n left: 50%;\n width: 30px;\n height: 30px;\n background-color: #f4f7ff;\n border-radius: 50%;\n transform: translateX(-50%);\n padding: 6px;\n border: 1px solid #d2d9e0;\n @media (max-width: 768px) {\n left: 20px; /* Move dot closer to the left */\n transform: translateX(0); /* Remove horizontal centering */\n }\n"], ["\n position: absolute;\n left: 50%;\n width: 30px;\n height: 30px;\n background-color: #f4f7ff;\n border-radius: 50%;\n transform: translateX(-50%);\n padding: 6px;\n border: 1px solid #d2d9e0;\n @media (max-width: 768px) {\n left: 20px; /* Move dot closer to the left */\n transform: translateX(0); /* Remove horizontal centering */\n }\n"])));
25
+ // const Arrow = styled.div<{ isLeft: boolean }>`
26
+ // position: absolute;
27
+ // left: ${({ isLeft }) => (isLeft ? "-10px " : "100%")};
28
+ // width: 0;
29
+ // height: 0;
30
+ // border-style: solid;
31
+ // border-width: ${({ isLeft }) =>
32
+ // isLeft ? "10px 10px 10px 0" : "10px 10px 10px 10px"};
33
+ // border-color: transparent #007bff transparent transparent;
34
+ // transform: translateX(-50%);
35
+ // top: 50%;
36
+ // transform: translateY(-50%);
37
+ // transform: ${({ isLeft }) =>
38
+ // isLeft ? "translateY(-50%) " : "translateY(-50%) rotate(180deg)"};
39
+ // `;
40
+ var EventContent = styled_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n // margin-left: 24px;\n"], ["\n // margin-left: 24px;\n"])));
41
+ var EventTitle = styled_1.default.h3(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
42
+ // const EventDescription = styled.p`
43
+ // margin: 0;
44
+ // `;
45
+ var EventDate = styled_1.default.span(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: block;\n margin-top: 8px;\n color: #6c757d;\n"], ["\n display: block;\n margin-top: 8px;\n color: #6c757d;\n"])));
46
+ var EventTime = styled_1.default.span(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n left: ", ";\n position: absolute;\n color: #6c757d;\n @media (max-width: 768px) {\n position: relative;\n left: auto;\n margin-left: 40px;\n }\n"], ["\n left: ", ";\n position: absolute;\n color: #6c757d;\n @media (max-width: 768px) {\n position: relative;\n left: auto;\n margin-left: 40px;\n }\n"])), function (_a) {
47
+ var isLeft = _a.isLeft;
48
+ return (isLeft ? "38% " : "53%");
49
+ });
50
+ var EventGroupDate = styled_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: 1rem;\n font-weight: 400;\n color: #464f62;\n box-sizing: border-box;\n width: 180px;\n padding: 5px 25px;\n text-align: center;\n background-color: #f4f7ff;\n border: 1px solid #d2d9e0;\n border-radius: 5px;\n margin: 0 auto; /* Center horizontally */\n display: flex;\n align-items: center; /* Center vertically */\n justify-content: center; /* Center horizontally */\n @media (max-width: 768px) {\n width: auto;\n padding: 5px 10px;\n }\n"], ["\n font-size: 1rem;\n font-weight: 400;\n color: #464f62;\n box-sizing: border-box;\n width: 180px;\n padding: 5px 25px;\n text-align: center;\n background-color: #f4f7ff;\n border: 1px solid #d2d9e0;\n border-radius: 5px;\n margin: 0 auto; /* Center horizontally */\n display: flex;\n align-items: center; /* Center vertically */\n justify-content: center; /* Center horizontally */\n @media (max-width: 768px) {\n width: auto;\n padding: 5px 10px;\n }\n"])));
51
+ var EventGroupSeparator = styled_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
52
+ var EventGroupHeader = styled_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n position: relative;\n margin-bottom: 24px;\n"], ["\n position: relative;\n margin-bottom: 24px;\n"])));
53
+ // const FlexContainer = styled.div`
54
+ // display: flex;
55
+ // align-items: center;
56
+ // `;
57
+ var Timeline = function (_a) {
58
+ var timelineEvents = _a.timelineEvents;
59
+ var formatTimestamp = function (timestamp, type) {
60
+ var parsedTimestamp = parseInt(timestamp, 10);
61
+ var date = new Date(parsedTimestamp);
62
+ if (isNaN(date.getTime())) {
63
+ return "Invalid Date";
64
+ }
65
+ if (type === "date") {
66
+ var monthNames = [
67
+ "January",
68
+ "February",
69
+ "March",
70
+ "April",
71
+ "May",
72
+ "June",
73
+ "July",
74
+ "August",
75
+ "September",
76
+ "October",
77
+ "November",
78
+ "December",
79
+ ];
80
+ var month = monthNames[date.getMonth()];
81
+ var day = date.getDate();
82
+ var year = date.getFullYear();
83
+ return "".concat(month, " ").concat(day, ", ").concat(year);
84
+ }
85
+ else if (type === "time") {
86
+ // Convert to IST (UTC+5:30)
87
+ var istOffset = 5.5 * 60 * 60 * 1000; // 5 hours 30 minutes in milliseconds
88
+ var istDate = new Date(date.getTime() + istOffset);
89
+ var hours = istDate.getUTCHours();
90
+ var minutes = istDate.getUTCMinutes();
91
+ var ampm = hours >= 12 ? "PM" : "AM";
92
+ // Convert hours to 12-hour format
93
+ hours = hours % 12;
94
+ hours = hours ? hours : 12; // the hour '0' should be '12'
95
+ // Pad minutes with leading zero if needed
96
+ var minutesStr = minutes < 10 ? "0" + minutes : minutes;
97
+ return "".concat(hours, ":").concat(minutesStr, " ").concat(ampm);
98
+ }
99
+ return date.toLocaleString();
100
+ };
101
+ var getIcon = function (event) {
102
+ switch (event.action_from) {
103
+ case "Accounts":
104
+ return react_1.default.createElement(lucide_react_1.IndianRupee, { size: 17 });
105
+ case "Notes":
106
+ return react_1.default.createElement(lucide_react_1.FileText, { size: 17 });
107
+ default:
108
+ return react_1.default.createElement(lucide_react_1.Volleyball, { size: 17 });
109
+ }
110
+ };
111
+ var groupEventsByDate = function (events) {
112
+ return events.reduce(function (groups, event) {
113
+ var date = formatTimestamp(event.created_at, "date");
114
+ if (!groups[date]) {
115
+ groups[date] = [];
116
+ }
117
+ groups[date].push(event);
118
+ return groups;
119
+ }, {});
120
+ };
121
+ var groupedEvents = groupEventsByDate(timelineEvents);
122
+ var formatChanges = function (changes) {
123
+ if (changes === null) {
124
+ return "No Changes";
125
+ }
126
+ var result = Object.entries(JSON.parse(changes))
127
+ .map(function (_a) {
128
+ var key = _a[0], value = _a[1];
129
+ var changeRecord = value;
130
+ if (changeRecord.original === null ||
131
+ changeRecord.original === undefined) {
132
+ return "".concat(key, " changed from null to ").concat(changeRecord.updated);
133
+ }
134
+ else {
135
+ return "".concat(key, " updated to ").concat(changeRecord.updated);
136
+ }
137
+ })
138
+ .join("\n");
139
+ return result;
140
+ };
141
+ // console.log("groupedEvents", groupedEvents);
142
+ return (react_1.default.createElement(TimelineContainer, null,
143
+ react_1.default.createElement(Line, null),
144
+ Object.keys(groupedEvents).map(function (date) { return (react_1.default.createElement(EventGroupSeparator, { key: date },
145
+ react_1.default.createElement(EventGroupHeader, null,
146
+ react_1.default.createElement(EventGroupDate, null, date)),
147
+ groupedEvents[date].map(function (event, index) { return (react_1.default.createElement(EventContainer, { key: index, isLeft: index % 2 === 0 },
148
+ react_1.default.createElement(Dot, null, getIcon(event)),
149
+ react_1.default.createElement(EventTime, { isLeft: index % 2 === 0 }, formatTimestamp(event.created_at, "time")),
150
+ react_1.default.createElement(Event, null,
151
+ react_1.default.createElement(EventContent, null,
152
+ react_1.default.createElement("div", { style: {
153
+ display: "flex",
154
+ alignItems: "center",
155
+ justifyContent: index % 2 === 0 ? "flex-start" : "flex-end",
156
+ } },
157
+ react_1.default.createElement(EventTitle, null, event.action_from + " " + event.title),
158
+ react_1.default.createElement(react_2.Tooltip, { label: formatChanges(event.changes), shouldWrapChildren: true, placement: "top", hasArrow: true },
159
+ react_1.default.createElement(lucide_react_1.Info, { style: { marginLeft: "5px" }, size: 17 }))),
160
+ react_1.default.createElement(EventDate, null, " by " +
161
+ event.action_by +
162
+ " " +
163
+ formatTimestamp(event.created_at, "date")))))); }))); })));
164
+ };
165
+ exports.default = Timeline;
166
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
@@ -0,0 +1,20 @@
1
+ export interface TimelineProps {
2
+ events?: TimelineEvent[];
3
+ timelineEvents: TimelineEvents[];
4
+ onEventClick?: (event: TimelineEvents, index: number) => void;
5
+ }
6
+ export interface TimelineEvent {
7
+ title: string;
8
+ description: string;
9
+ time: string;
10
+ }
11
+ export interface TimelineEvents {
12
+ logs_id: number;
13
+ title: string;
14
+ primary_id: number;
15
+ is_from: string;
16
+ action_from: string;
17
+ action_by: string;
18
+ created_at: number;
19
+ changes: any;
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ToasterChildren, ToasterContextType } from "./ToasterProps";
3
+ export default function ToasterProvider({ children }: ToasterChildren): React.JSX.Element;
4
+ export declare const useToaster: () => ToasterContextType;