pixelize-design-library 2.4.2-beta.37 → 2.4.2-beta.38

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 (303) hide show
  1. package/COMPONENT-GOTCHAS.md +834 -1
  2. package/dist/Components/Accordion/Accordion.d.ts +1 -0
  3. package/dist/Components/Accordion/Accordion.js +1 -0
  4. package/dist/Components/Accordion/AccordionProps.d.ts +2 -0
  5. package/dist/Components/AlertDialog/AlertDialog.d.ts +1 -0
  6. package/dist/Components/AlertDialog/AlertDialog.js +1 -0
  7. package/dist/Components/AlertDialog/AlertDialogProps.d.ts +2 -0
  8. package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChart.d.ts +1 -0
  9. package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChart.js +1 -0
  10. package/dist/Components/Apexcharts/ApexAreaChart/ApexAreaChartProps.d.ts +4 -0
  11. package/dist/Components/Apexcharts/ApexBarChart/ApexBarChartProps.d.ts +6 -0
  12. package/dist/Components/Apexcharts/ApexLineChart/ApexLineChartProps.d.ts +8 -0
  13. package/dist/Components/Apexcharts/ApexPieChart/ApexPieChartProps.d.ts +6 -0
  14. package/dist/Components/Apexcharts/ApexPolarCharts/ApexPolarChartsProps.d.ts +3 -0
  15. package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChart.d.ts +1 -0
  16. package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChart.js +1 -0
  17. package/dist/Components/Apexcharts/ApexRadialChart/ApexRadialChartProps.d.ts +3 -0
  18. package/dist/Components/AppSwitcher/AppSwitcherProps.d.ts +6 -0
  19. package/dist/Components/AppearanceSettings/AppearanceSettingsProps.d.ts +2 -0
  20. package/dist/Components/Breadcrumbs/BreadcrumbsProps.d.ts +3 -0
  21. package/dist/Components/Button/ButtonProps.d.ts +3 -0
  22. package/dist/Components/ButtonGroupIcon/ButtonGoupIconProps.d.ts +7 -0
  23. package/dist/Components/Buttons/ButtonsProps.d.ts +2 -0
  24. package/dist/Components/Card/CardProps.d.ts +3 -0
  25. package/dist/Components/Card/PaymentCard/PaymentCardProps.d.ts +6 -0
  26. package/dist/Components/Checkbox/Checkbox.d.ts +1 -0
  27. package/dist/Components/Checkbox/Checkbox.js +1 -0
  28. package/dist/Components/Checkbox/CheckboxProps.d.ts +4 -0
  29. package/dist/Components/Common/ErrorComponent.d.ts +2 -0
  30. package/dist/Components/Common/ErrorComponent.js +1 -0
  31. package/dist/Components/Common/FormLabel.d.ts +4 -0
  32. package/dist/Components/Common/FormLabel.js +1 -0
  33. package/dist/Components/Common/FormattedDescription.d.ts +2 -0
  34. package/dist/Components/Common/FormattedDescription.js +1 -0
  35. package/dist/Components/Common/HelperText.d.ts +2 -0
  36. package/dist/Components/Common/HelperText.js +2 -0
  37. package/dist/Components/Common/Label.d.ts +1 -0
  38. package/dist/Components/Common/Label.js +1 -0
  39. package/dist/Components/ContactForm/ContactForm.d.ts +1 -0
  40. package/dist/Components/ContactForm/ContactForm.js +1 -0
  41. package/dist/Components/ContactForm/ContactFormProps.d.ts +4 -0
  42. package/dist/Components/CopyButton/CopyButton.d.ts +3 -1
  43. package/dist/Components/CopyButton/CopyButton.js +1 -0
  44. package/dist/Components/CustomModulesTable/CustomModulesTableProps.d.ts +8 -0
  45. package/dist/Components/DatePicker/CalendarPanel.d.ts +1 -0
  46. package/dist/Components/DatePicker/CalendarPanel.js +1 -0
  47. package/dist/Components/DatePicker/DatePicker.d.ts +1 -0
  48. package/dist/Components/DatePicker/DatePicker.js +1 -0
  49. package/dist/Components/DatePicker/DatePickerProps.d.ts +9 -0
  50. package/dist/Components/DatePicker/RangeDatePicker.d.ts +1 -0
  51. package/dist/Components/DatePicker/RangeDatePicker.js +1 -0
  52. package/dist/Components/DatePicker/SingleDatePicker.d.ts +1 -0
  53. package/dist/Components/DatePicker/SingleDatePicker.js +1 -0
  54. package/dist/Components/DatePicker/ThemeDatePicker.d.ts +1 -0
  55. package/dist/Components/DatePicker/ThemeDatePicker.js +1 -0
  56. package/dist/Components/DatePicker/TimeOnlyPicker.d.ts +1 -0
  57. package/dist/Components/DatePicker/TimeOnlyPicker.js +4 -1
  58. package/dist/Components/DatePicker/TimePicker.d.ts +1 -0
  59. package/dist/Components/DatePicker/TimePicker.js +1 -0
  60. package/dist/Components/DatePicker/TimePickerInput.d.ts +1 -0
  61. package/dist/Components/DatePicker/TimePickerInput.js +1 -0
  62. package/dist/Components/Divider/Divider.d.ts +1 -0
  63. package/dist/Components/Divider/Divider.js +1 -0
  64. package/dist/Components/Drawer/DrawerProps.d.ts +1 -0
  65. package/dist/Components/Dropdown/DropDown.d.ts +1 -0
  66. package/dist/Components/Dropdown/DropDown.js +1 -0
  67. package/dist/Components/Dropdown/DropdownProps.d.ts +3 -0
  68. package/dist/Components/Editor/Editor.d.ts +1 -0
  69. package/dist/Components/Editor/Editor.js +1 -0
  70. package/dist/Components/Editor/EditorProps.d.ts +2 -0
  71. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.d.ts +1 -0
  72. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +2 -5
  73. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtpProps.d.ts +4 -0
  74. package/dist/Components/EmptyState/EmptyState.d.ts +1 -0
  75. package/dist/Components/EmptyState/EmptyState.js +1 -0
  76. package/dist/Components/EmptyState/EmptyStateProps.d.ts +3 -0
  77. package/dist/Components/FeedbackForm/FeedbackForm.d.ts +3 -0
  78. package/dist/Components/FeedbackForm/FeedbackForm.js +1 -0
  79. package/dist/Components/FieldSelectModal/FieldSelectModal.d.ts +3 -2
  80. package/dist/Components/FieldSelectModal/FieldSelectModal.js +1 -0
  81. package/dist/Components/FilePreview/FilePreview.d.ts +1 -0
  82. package/dist/Components/FilePreview/FilePreview.js +1 -0
  83. package/dist/Components/FilePreview/FilePreviewProps.d.ts +5 -2
  84. package/dist/Components/FileUpload/FileUpload.d.ts +1 -0
  85. package/dist/Components/FileUpload/FileUpload.js +1 -0
  86. package/dist/Components/FileUpload/FileUploadProps.d.ts +4 -0
  87. package/dist/Components/FileUploader/FileUploader.d.ts +1 -0
  88. package/dist/Components/FileUploader/FileUploader.js +1 -0
  89. package/dist/Components/FileUploader/FileUploaderProps.d.ts +2 -0
  90. package/dist/Components/FilterSidebar/FilterSidebar.d.ts +3 -0
  91. package/dist/Components/Form/FormWrapper.d.ts +3 -0
  92. package/dist/Components/Form/FormWrapper.js +2 -1
  93. package/dist/Components/Header/HeaderProps.d.ts +5 -0
  94. package/dist/Components/Input/Input/InputProps.d.ts +2 -0
  95. package/dist/Components/Input/PhoneNumberInput.d.ts +1 -0
  96. package/dist/Components/Input/PhoneNumberInput.js +1 -0
  97. package/dist/Components/Input/PhoneNumberInputProps.d.ts +3 -0
  98. package/dist/Components/Input/Switch/InputSwitch.d.ts +2 -0
  99. package/dist/Components/Input/Switch/InputSwitch.js +1 -0
  100. package/dist/Components/Input/TextInput.js +1 -0
  101. package/dist/Components/Input/TextInputProps.d.ts +2 -0
  102. package/dist/Components/InputTextArea/InputTextArea.d.ts +1 -0
  103. package/dist/Components/InputTextArea/InputTextArea.js +1 -0
  104. package/dist/Components/KanbanBoard/AccountCard.d.ts +3 -0
  105. package/dist/Components/KanbanBoard/AccountCard.js +1 -0
  106. package/dist/Components/KanbanBoard/AccountRow.d.ts +1 -0
  107. package/dist/Components/KanbanBoard/AccountRow.js +1 -0
  108. package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.d.ts +2 -0
  109. package/dist/Components/KanbanBoard/KanbanActions/KanbanActions.js +1 -0
  110. package/dist/Components/KanbanBoard/KanbanBoard.d.ts +1 -0
  111. package/dist/Components/KanbanBoard/KanbanBoard.js +1 -0
  112. package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +12 -11
  113. package/dist/Components/KanbanBoard/MeasuredItem.d.ts +1 -0
  114. package/dist/Components/KanbanBoard/MeasuredItem.js +1 -0
  115. package/dist/Components/LazyWrapper/LazyWrapper.d.ts +3 -2
  116. package/dist/Components/LazyWrapper/LazyWrapper.js +1 -0
  117. package/dist/Components/LimitReachedModal/LimitReachedModalProps.d.ts +4 -1
  118. package/dist/Components/LimitReachedModal/limitReachedCopy.d.ts +2 -0
  119. package/dist/Components/LimitReachedModal/limitReachedCopy.js +2 -0
  120. package/dist/Components/Loading/Loading.d.ts +1 -0
  121. package/dist/Components/Loading/Loading.js +1 -0
  122. package/dist/Components/Loading/LoadingProps.d.ts +2 -0
  123. package/dist/Components/Modal/ModalProps.d.ts +1 -0
  124. package/dist/Components/MoreItems/MoreItems.d.ts +1 -0
  125. package/dist/Components/MoreItems/MoreItems.js +1 -0
  126. package/dist/Components/MoreItems/MoreItemsProps.d.ts +4 -2
  127. package/dist/Components/MultiSelect/MultiSelectProps.d.ts +1 -0
  128. package/dist/Components/NavigationBar/NavigationBarProps.d.ts +3 -0
  129. package/dist/Components/NoteTextArea/NoteTextArea.d.ts +1 -0
  130. package/dist/Components/NoteTextArea/NoteTextArea.js +1 -0
  131. package/dist/Components/NoteTextArea/NoteTextAreaProps.d.ts +2 -0
  132. package/dist/Components/Notification/Notification.d.ts +1 -0
  133. package/dist/Components/Notification/Notification.js +1 -0
  134. package/dist/Components/Notification/NotificationProps.d.ts +6 -0
  135. package/dist/Components/NumberInput/NumberInput.d.ts +1 -0
  136. package/dist/Components/NumberInput/NumberInput.js +1 -0
  137. package/dist/Components/NumberInput/NumberInputProps.d.ts +3 -0
  138. package/dist/Components/OrgSwitcher/OrgSwitcherProps.d.ts +6 -1
  139. package/dist/Components/OrgSwitcher/OrgSwitcherProps.js +1 -0
  140. package/dist/Components/OrganizationDetails/OrganizationDetailsProps.d.ts +10 -2
  141. package/dist/Components/PdfViewer/PdfViewer.d.ts +2 -1
  142. package/dist/Components/PdfViewer/PdfViewer.js +1 -0
  143. package/dist/Components/PinInput/PinInput.d.ts +1 -0
  144. package/dist/Components/PinInput/PinInput.js +1 -0
  145. package/dist/Components/PinInput/PinInputProps.d.ts +2 -0
  146. package/dist/Components/PinInputs/PinInputs.d.ts +1 -0
  147. package/dist/Components/PinInputs/PinInputs.js +1 -0
  148. package/dist/Components/PinInputs/PinInputsProps.d.ts +1 -0
  149. package/dist/Components/PlanBadge/PlanBadgeProps.d.ts +2 -0
  150. package/dist/Components/PlanPill/PlanPillProps.d.ts +2 -0
  151. package/dist/Components/ProductCard/ProductCardProps.d.ts +10 -0
  152. package/dist/Components/ProductCard/ProductReview.d.ts +1 -0
  153. package/dist/Components/ProductDetails/ProductDetailsProps.d.ts +7 -0
  154. package/dist/Components/ProfileCard/ProfileCardProps.d.ts +2 -0
  155. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.d.ts +1 -0
  156. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +1 -0
  157. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewerProps.d.ts +9 -1
  158. package/dist/Components/ProgressBar/ProgressBar.d.ts +1 -0
  159. package/dist/Components/ProgressBar/ProgressBar.js +1 -0
  160. package/dist/Components/ProgressBar/ProgressBarProps.d.ts +2 -0
  161. package/dist/Components/RadioButton/RadioButtonProps.d.ts +1 -0
  162. package/dist/Components/Reorder/Reorder.d.ts +2 -0
  163. package/dist/Components/Reorder/Reorder.js +1 -0
  164. package/dist/Components/Reorder/ReorderProps.d.ts +3 -0
  165. package/dist/Components/RolesPermission/RolesPermissionProps.d.ts +10 -0
  166. package/dist/Components/ScrollToTop/ScrollToTop.d.ts +3 -2
  167. package/dist/Components/ScrollToTop/ScrollToTop.js +1 -0
  168. package/dist/Components/Search/Search.d.ts +1 -0
  169. package/dist/Components/Search/Search.js +1 -0
  170. package/dist/Components/Search/SearchProps.d.ts +2 -0
  171. package/dist/Components/SearchSelect/SearchSelect.d.ts +1 -0
  172. package/dist/Components/SearchSelect/SearchSelect.js +1 -0
  173. package/dist/Components/SearchSelect/SearchSelectProps.d.ts +5 -0
  174. package/dist/Components/SegmentedControl/SegmentedControl.d.ts +1 -0
  175. package/dist/Components/SegmentedControl/SegmentedControl.js +1 -0
  176. package/dist/Components/SegmentedControl/SegmentedControlProps.d.ts +4 -0
  177. package/dist/Components/Select/SelectProps.d.ts +2 -0
  178. package/dist/Components/SelectSearch/SelectSearch.d.ts +1 -0
  179. package/dist/Components/SelectSearch/SelectSearch.js +1 -0
  180. package/dist/Components/SelectSearch/SelectSearchProps.d.ts +5 -0
  181. package/dist/Components/SelectV2/SelectV2.d.ts +1 -0
  182. package/dist/Components/SelectV2/SelectV2.js +1 -0
  183. package/dist/Components/SelectV2/SelectV2Props.d.ts +6 -1
  184. package/dist/Components/SideBar/SideBarProps.d.ts +9 -0
  185. package/dist/Components/SignInActivityTable/SignInActivityTableProps.d.ts +3 -0
  186. package/dist/Components/Skeletons/SkeletonProps.d.ts +2 -0
  187. package/dist/Components/Skeletons/Skeletons.d.ts +1 -0
  188. package/dist/Components/Skeletons/Skeletons.js +1 -0
  189. package/dist/Components/Slider/Slider.d.ts +3 -0
  190. package/dist/Components/Slider/Slider.js +1 -0
  191. package/dist/Components/StageProgress/StageItem.d.ts +1 -0
  192. package/dist/Components/StageProgress/StageItem.js +1 -0
  193. package/dist/Components/StageProgress/StageProgress.d.ts +1 -0
  194. package/dist/Components/StageProgress/StageProgress.js +1 -0
  195. package/dist/Components/StageProgress/StageProgressProps.d.ts +12 -4
  196. package/dist/Components/Switch/Switch.d.ts +1 -0
  197. package/dist/Components/Switch/Switch.js +1 -0
  198. package/dist/Components/Switch/SwitchProps.d.ts +1 -0
  199. package/dist/Components/Table/TableProps.d.ts +13 -0
  200. package/dist/Components/Table/filters/CompactSelect.d.ts +1 -0
  201. package/dist/Components/Table/filters/LeftFilterPane.d.ts +9 -1
  202. package/dist/Components/Tag/Tag.d.ts +1 -0
  203. package/dist/Components/Tag/Tag.js +1 -0
  204. package/dist/Components/Tag/TagProps.d.ts +7 -0
  205. package/dist/Components/Timeline/Timeline.d.ts +1 -0
  206. package/dist/Components/Timeline/Timeline.js +1 -0
  207. package/dist/Components/Timeline/TimelineProps.d.ts +8 -0
  208. package/dist/Components/Toaster/Toaster.d.ts +1 -0
  209. package/dist/Components/Toaster/Toaster.js +1 -0
  210. package/dist/Components/Toaster/ToasterProps.d.ts +3 -0
  211. package/dist/Components/Toggle/TableToggle.d.ts +1 -0
  212. package/dist/Components/Toggle/TableToggle.js +1 -0
  213. package/dist/Components/Toggle/TableToggleProps.d.ts +3 -0
  214. package/dist/Components/ToggleSwitch/ToggleSwitch.d.ts +1 -0
  215. package/dist/Components/ToggleSwitch/ToggleSwitch.js +1 -0
  216. package/dist/Components/ToggleSwitch/ToggleSwitchProps.d.ts +2 -0
  217. package/dist/Components/ToolTip/ToolTip.d.ts +1 -0
  218. package/dist/Components/ToolTip/ToolTip.js +1 -0
  219. package/dist/Components/ToolTip/ToolTipProps.d.ts +2 -0
  220. package/dist/Components/Trail/EditableCell.d.ts +2 -0
  221. package/dist/Components/Trail/EditableCell.js +1 -0
  222. package/dist/Components/Trail/SelectAllCheckbox.d.ts +1 -0
  223. package/dist/Components/Trail/SelectAllCheckbox.js +1 -0
  224. package/dist/Components/Trail/TrailWorks.d.ts +1 -0
  225. package/dist/Components/Trail/TrailWorks.js +1 -0
  226. package/dist/Components/UpgradeButton/UpgradeButtonProps.d.ts +6 -2
  227. package/dist/Components/UserDetails/UserDetailsProps.d.ts +17 -1
  228. package/dist/Components/WorkspaceWindow/WorkspaceWindowProps.d.ts +6 -1
  229. package/dist/esm/Components/Accordion/Accordion.js +1 -0
  230. package/dist/esm/Components/AlertDialog/AlertDialog.js +1 -0
  231. package/dist/esm/Components/Apexcharts/ApexAreaChart/ApexAreaChart.js +1 -0
  232. package/dist/esm/Components/Apexcharts/ApexRadialChart/ApexRadialChart.js +1 -0
  233. package/dist/esm/Components/Checkbox/Checkbox.js +1 -0
  234. package/dist/esm/Components/Common/ErrorComponent.js +1 -0
  235. package/dist/esm/Components/Common/FormLabel.js +1 -0
  236. package/dist/esm/Components/Common/FormattedDescription.js +1 -0
  237. package/dist/esm/Components/Common/HelperText.js +2 -0
  238. package/dist/esm/Components/Common/Label.js +1 -0
  239. package/dist/esm/Components/ContactForm/ContactForm.js +1 -0
  240. package/dist/esm/Components/CopyButton/CopyButton.js +1 -0
  241. package/dist/esm/Components/DatePicker/CalendarPanel.js +1 -0
  242. package/dist/esm/Components/DatePicker/DatePicker.js +1 -0
  243. package/dist/esm/Components/DatePicker/RangeDatePicker.js +1 -0
  244. package/dist/esm/Components/DatePicker/SingleDatePicker.js +1 -0
  245. package/dist/esm/Components/DatePicker/ThemeDatePicker.js +1 -0
  246. package/dist/esm/Components/DatePicker/TimeOnlyPicker.js +4 -1
  247. package/dist/esm/Components/DatePicker/TimePicker.js +1 -0
  248. package/dist/esm/Components/DatePicker/TimePickerInput.js +1 -0
  249. package/dist/esm/Components/Divider/Divider.js +1 -0
  250. package/dist/esm/Components/Dropdown/DropDown.js +1 -0
  251. package/dist/esm/Components/Editor/Editor.js +1 -0
  252. package/dist/esm/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +2 -5
  253. package/dist/esm/Components/EmptyState/EmptyState.js +1 -0
  254. package/dist/esm/Components/FeedbackForm/FeedbackForm.js +1 -0
  255. package/dist/esm/Components/FieldSelectModal/FieldSelectModal.js +1 -0
  256. package/dist/esm/Components/FilePreview/FilePreview.js +1 -0
  257. package/dist/esm/Components/FileUpload/FileUpload.js +1 -0
  258. package/dist/esm/Components/FileUploader/FileUploader.js +1 -0
  259. package/dist/esm/Components/Form/FormWrapper.js +2 -1
  260. package/dist/esm/Components/Input/PhoneNumberInput.js +1 -0
  261. package/dist/esm/Components/Input/Switch/InputSwitch.js +1 -0
  262. package/dist/esm/Components/Input/TextInput.js +1 -0
  263. package/dist/esm/Components/InputTextArea/InputTextArea.js +1 -0
  264. package/dist/esm/Components/KanbanBoard/AccountCard.js +1 -0
  265. package/dist/esm/Components/KanbanBoard/AccountRow.js +1 -0
  266. package/dist/esm/Components/KanbanBoard/KanbanActions/KanbanActions.js +1 -0
  267. package/dist/esm/Components/KanbanBoard/KanbanBoard.js +1 -0
  268. package/dist/esm/Components/KanbanBoard/MeasuredItem.js +1 -0
  269. package/dist/esm/Components/LazyWrapper/LazyWrapper.js +1 -0
  270. package/dist/esm/Components/LimitReachedModal/limitReachedCopy.js +2 -0
  271. package/dist/esm/Components/Loading/Loading.js +1 -0
  272. package/dist/esm/Components/MoreItems/MoreItems.js +1 -0
  273. package/dist/esm/Components/NoteTextArea/NoteTextArea.js +1 -0
  274. package/dist/esm/Components/Notification/Notification.js +1 -0
  275. package/dist/esm/Components/NumberInput/NumberInput.js +1 -0
  276. package/dist/esm/Components/OrgSwitcher/OrgSwitcherProps.js +1 -0
  277. package/dist/esm/Components/PdfViewer/PdfViewer.js +1 -0
  278. package/dist/esm/Components/PinInput/PinInput.js +1 -0
  279. package/dist/esm/Components/PinInputs/PinInputs.js +1 -0
  280. package/dist/esm/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +1 -0
  281. package/dist/esm/Components/ProgressBar/ProgressBar.js +1 -0
  282. package/dist/esm/Components/Reorder/Reorder.js +1 -0
  283. package/dist/esm/Components/ScrollToTop/ScrollToTop.js +1 -0
  284. package/dist/esm/Components/Search/Search.js +1 -0
  285. package/dist/esm/Components/SearchSelect/SearchSelect.js +1 -0
  286. package/dist/esm/Components/SegmentedControl/SegmentedControl.js +1 -0
  287. package/dist/esm/Components/SelectSearch/SelectSearch.js +1 -0
  288. package/dist/esm/Components/SelectV2/SelectV2.js +1 -0
  289. package/dist/esm/Components/Skeletons/Skeletons.js +1 -0
  290. package/dist/esm/Components/Slider/Slider.js +1 -0
  291. package/dist/esm/Components/StageProgress/StageItem.js +1 -0
  292. package/dist/esm/Components/StageProgress/StageProgress.js +1 -0
  293. package/dist/esm/Components/Switch/Switch.js +1 -0
  294. package/dist/esm/Components/Tag/Tag.js +1 -0
  295. package/dist/esm/Components/Timeline/Timeline.js +1 -0
  296. package/dist/esm/Components/Toaster/Toaster.js +1 -0
  297. package/dist/esm/Components/Toggle/TableToggle.js +1 -0
  298. package/dist/esm/Components/ToggleSwitch/ToggleSwitch.js +1 -0
  299. package/dist/esm/Components/ToolTip/ToolTip.js +1 -0
  300. package/dist/esm/Components/Trail/EditableCell.js +1 -0
  301. package/dist/esm/Components/Trail/SelectAllCheckbox.js +1 -0
  302. package/dist/esm/Components/Trail/TrailWorks.js +1 -0
  303. package/package.json +2 -1
@@ -1,4 +1,5 @@
1
1
  import { type ChartMode } from "../../Theme/tokens/builders/chartColorsFromTheme";
2
+ /** One organization in the switcher's list; `id` is matched against `value` to find the active one. */
2
3
  export interface OrgOption {
3
4
  id: string | number;
4
5
  /** Organization display name. */
@@ -8,13 +9,15 @@ export interface OrgOption {
8
9
  /** Optional logo image URL. Falls back to an initial-based avatar. */
9
10
  logoUrl?: string;
10
11
  }
12
+ /** Trigger size; looked up in a fixed sizeMap for height, avatar and font sizing. */
11
13
  export type OrgSwitcherSize = "sm" | "md" | "lg";
14
+ /** Session-scoped org switcher (trigger+popover) — not an admin screen; see OrganizationDetails for create/rename/delete/default. Closed prop list, no ...rest/ref on the trigger button. */
12
15
  export interface OrgSwitcherProps {
13
16
  /** Organizations to choose from. */
14
17
  organizations: OrgOption[];
15
18
  /** id of the currently active organization. */
16
19
  value?: string | number;
17
- /** Fired when a different organization is picked. */
20
+ /** Not fired when the clicked org already matches value — only on an actual change. */
18
21
  onChange: (id: string | number, org: OrgOption) => void;
19
22
  /** Shows an inline spinner and disables interaction (e.g. while switching). */
20
23
  isLoading?: boolean;
@@ -24,6 +27,7 @@ export interface OrgSwitcherProps {
24
27
  searchThreshold?: number;
25
28
  /** Trigger styling. "ghost" suits a navbar; "outline"/"subtle" for forms. */
26
29
  triggerVariant?: "ghost" | "outline" | "subtle";
30
+ /** Default "md". */
27
31
  size?: OrgSwitcherSize;
28
32
  /** Max width of the trigger label before truncation. */
29
33
  maxWidth?: string;
@@ -39,6 +43,7 @@ export interface OrgSwitcherProps {
39
43
  export declare const AVATAR_COLORS: readonly string[];
40
44
  /** Chart hues are tuned to sit apart from each other, not to carry a label. */
41
45
  export declare const AVATAR_INK = "#ffffff";
46
+ /** Deterministic hash of the name, not random or brand-derived — same org name always gets the same fixed-palette color. */
42
47
  export declare const avatarColor: (seed: string, mode?: ChartMode) => string;
43
48
  /**
44
49
  * Fallback-avatar initials, up to 2 characters. A single letter reads well for one
@@ -9,6 +9,7 @@ exports.AVATAR_COLORS = [
9
9
  ];
10
10
  /** Chart hues are tuned to sit apart from each other, not to carry a label. */
11
11
  exports.AVATAR_INK = "#ffffff";
12
+ /** Deterministic hash of the name, not random or brand-derived — same org name always gets the same fixed-palette color. */
12
13
  const avatarColor = (seed, mode = "light") => {
13
14
  let hash = 0;
14
15
  for (let i = 0; i < seed.length; i += 1) {
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from "react";
2
+ /** One organization row — active or invited — rendered as a card in OrganizationDetails' grid. */
2
3
  export type OrganizationItem = {
3
4
  orgId: number;
4
5
  company_name: string;
@@ -7,14 +8,14 @@ export type OrganizationItem = {
7
8
  default: number;
8
9
  /** 1 = active/accepted, 0 = pending invite. */
9
10
  uiInvite: number;
10
- /** 1 when the org is protected and cannot be deleted. */
11
+ /** 1 always blocks delete, even if canDelete is explicitly true — not overridable like canRename/canDelete are. */
11
12
  defaultOrg: number;
12
13
  roleName?: string;
13
14
  /** True when the current user owns this org; the app computes ownership. */
14
15
  isOwner?: boolean;
15
16
  /** Overrides the role-name check for the rename control. */
16
17
  canRename?: boolean;
17
- /** Overrides the role-name check for the delete control. */
18
+ /** Overrides the role-name check for delete — defaultOrg === 1 still blocks it regardless. */
18
19
  canDelete?: boolean;
19
20
  /**
20
21
  * Why delete is unavailable for this organization, shown on the disabled
@@ -22,6 +23,7 @@ export type OrganizationItem = {
22
23
  */
23
24
  deleteDisabledReason?: string;
24
25
  };
26
+ /** Local form state for CreateOrgModal — the shape onSubmit receives when the create form is confirmed. */
25
27
  export type CreateOrgFormValues = {
26
28
  company_name: string;
27
29
  company_address: string;
@@ -29,6 +31,7 @@ export type CreateOrgFormValues = {
29
31
  default?: number;
30
32
  defaultOrg?: number;
31
33
  };
34
+ /** All copy in OrganizationDetails is overridable here; unset fields fall back to its built-in DEFAULT_LABELS. */
32
35
  export type OrganizationDetailsLabels = {
33
36
  greeting?: string;
34
37
  manageSubtitle?: string;
@@ -66,11 +69,13 @@ export type OrganizationDetailsLabels = {
66
69
  copyright?: string;
67
70
  termsOfService?: string;
68
71
  };
72
+ /** Payload for the public onCreateOrganization callback — company_address/phone optional here, unlike CreateOrgFormValues. */
69
73
  export interface CreateOrganizationValues {
70
74
  company_name: string;
71
75
  company_address?: string;
72
76
  phone?: string;
73
77
  }
78
+ /** Admin panel for the org list — rename/delete/create/invites/default; not a session switcher (see OrgSwitcher for picking the active org). */
74
79
  export interface OrganizationDetailsProps {
75
80
  activeOrganizations: OrganizationItem[];
76
81
  invitedOrganizations: OrganizationItem[];
@@ -98,6 +103,7 @@ export interface OrganizationDetailsProps {
98
103
  * both the modal and `onDeleteOrganization`; omit it to keep the built-in flow.
99
104
  */
100
105
  onDeleteRequest?: (orgId: number) => void | Promise<void>;
106
+ /** Rejecting/throwing here leaves the modal open with no built-in error UI — same for onDeleteOrganization/onEditOrganization; show your own toast. */
101
107
  onCreateOrganization?: (values: CreateOrganizationValues) => void | Promise<void>;
102
108
  /** Called when the user confirms a new name for an organization */
103
109
  onEditOrganization?: (orgId: number, newName: string) => void | Promise<void>;
@@ -105,6 +111,7 @@ export interface OrganizationDetailsProps {
105
111
  footerSlot?: ReactNode;
106
112
  labels?: OrganizationDetailsLabels;
107
113
  }
114
+ /** Props for the internal create-org modal; `labels` needs only the subset of OrganizationDetailsLabels it renders. */
108
115
  export interface CreateOrgModalProps {
109
116
  isOpen: boolean;
110
117
  onClose: () => void;
@@ -112,6 +119,7 @@ export interface CreateOrgModalProps {
112
119
  onSubmit: (values: CreateOrgFormValues) => void | Promise<void>;
113
120
  labels: Required<Pick<OrganizationDetailsLabels, "createOrganization" | "companyName" | "companyAddress" | "phone" | "cancel" | "submit" | "requiredField" | "invalidPhone">>;
114
121
  }
122
+ /** Props for the internal delete-confirm modal; same narrowed-labels pattern as CreateOrgModalProps. */
115
123
  export interface DeleteOrgModalProps {
116
124
  isOpen: boolean;
117
125
  onClose: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  export interface PdfViewerProps {
3
- /** URL of the PDF to embed. */
3
+ /** Rendered via a native browser <embed> — no fallback UI if the browser can't show PDFs inline. */
4
4
  pdfUrl: string;
5
5
  /** File name shown in the toolbar. */
6
6
  fileName?: string;
@@ -11,5 +11,6 @@ export interface PdfViewerProps {
11
11
  /** Border radius of the frame. */
12
12
  borderRadius?: string;
13
13
  }
14
+ /** Always-inline PDF embed panel (never a modal) — for a modal previewer of images/video/other too, use FilePreview. */
14
15
  declare const PdfViewer: React.FC<PdfViewerProps>;
15
16
  export default PdfViewer;
@@ -10,6 +10,7 @@ const useCustomTheme_1 = require("../../Theme/useCustomTheme");
10
10
  const accentText_1 = require("../../Theme/tokens/builders/accentText");
11
11
  const rowStates_1 = require("../../Theme/tokens/builders/rowStates");
12
12
  const ToolTip_1 = __importDefault(require("../ToolTip/ToolTip"));
13
+ /** Always-inline PDF embed panel (never a modal) — for a modal previewer of images/video/other too, use FilePreview. */
13
14
  const PdfViewer = ({ pdfUrl, fileName = "Document.pdf", height = "480px", showToolbar = true, borderRadius = "xl", }) => {
14
15
  const theme = (0, useCustomTheme_1.useCustomTheme)();
15
16
  const toolbarSurface = theme.colors.background[50];
@@ -1,2 +1,3 @@
1
1
  import { ChakraPinInputProps } from "./PinInputProps";
2
+ /** The real, published OTP input (exported as `PinInput` from index.ts) — Chakra-native boxes, paste support, `type: "alphanumeric" | "number"`. Not to be confused with the unexported `PinInputs/PinInputs.tsx`. */
2
3
  export default function PinInputs({ otp, mask, defaultValue, placeholder, manageFocus, errorBorderColor, focusBorderColor, onChange, onComplete, type, color, variant, pins, label, id, isRequired, isInformation, informationMessage, }: ChakraPinInputProps): import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("@chakra-ui/react");
6
6
  const useCustomTheme_1 = require("../../Theme/useCustomTheme");
7
7
  const FormLabel_1 = require("../Common/FormLabel");
8
+ /** The real, published OTP input (exported as `PinInput` from index.ts) — Chakra-native boxes, paste support, `type: "alphanumeric" | "number"`. Not to be confused with the unexported `PinInputs/PinInputs.tsx`. */
8
9
  function PinInputs({ otp, mask, defaultValue, placeholder, manageFocus, errorBorderColor, focusBorderColor, onChange, onComplete, type, color = "primary", variant, pins = 3, label, id, isRequired, isInformation, informationMessage, }) {
9
10
  const theme = (0, useCustomTheme_1.useCustomTheme)();
10
11
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [label && ((0, jsx_runtime_1.jsx)(FormLabel_1.TextLabel, { label: label, id: id, isRequired: isRequired, isInformation: isInformation, informationMessage: informationMessage })), (0, jsx_runtime_1.jsx)(react_1.HStack, { children: (0, jsx_runtime_1.jsx)(react_1.PinInput, { otp: otp, mask: mask, defaultValue: defaultValue, placeholder: placeholder, manageFocus: manageFocus, errorBorderColor: errorBorderColor, focusBorderColor: focusBorderColor, onChange: onChange, onComplete: onComplete, type: type, colorScheme: color, variant: variant, children: Array.from({ length: pins }).map((_, index) => ((0, jsx_runtime_1.jsx)(react_1.PinInputField, { backgroundColor: theme.colors.background[100],
@@ -1,4 +1,5 @@
1
1
  import { PinInputProps } from "@chakra-ui/react";
2
+ /** The only pin/OTP component exported from the package — the similarly-named PinInputs in Components/PinInputs/ is dead code, not exported; do not deep-import it. */
2
3
  export type ChakraPinInputProps = Pick<PinInputProps, "otp" | "mask" | "defaultValue" | "placeholder" | "manageFocus" | "errorBorderColor" | "focusBorderColor" | "onChange" | "onComplete"> & {
3
4
  type?: "alphanumeric" | "number";
4
5
  size?: "xs" | "sm" | "md" | "lg";
@@ -6,6 +7,7 @@ export type ChakraPinInputProps = Pick<PinInputProps, "otp" | "mask" | "defaultV
6
7
  color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "whiteAlpha" | "blackAlpha" | "primary";
7
8
  pins: number;
8
9
  label?: string;
10
+ /** Only feeds the visible label's htmlFor — no PinInputField ever receives this id, so the association points at nothing. */
9
11
  id?: string;
10
12
  isRequired?: boolean;
11
13
  isInformation?: boolean;
@@ -1,3 +1,4 @@
1
1
  import { PinInputsProps } from "./PinInputsProps";
2
+ /** Unused hand-rolled OTP input — not exported from index.ts and not referenced anywhere in this repo; use `PinInput` (from `Components/PinInput/`) instead. */
2
3
  declare const PinInputs: ({ length, label, error, onChange, onComplete, mask, placeholder, }: PinInputsProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default PinInputs;
@@ -9,6 +9,7 @@ const react_2 = require("@chakra-ui/react");
9
9
  const Label_1 = __importDefault(require("../Common/Label"));
10
10
  const ErrorComponent_1 = __importDefault(require("../Common/ErrorComponent"));
11
11
  const useCustomTheme_1 = require("../../Theme/useCustomTheme");
12
+ /** Unused hand-rolled OTP input — not exported from index.ts and not referenced anywhere in this repo; use `PinInput` (from `Components/PinInput/`) instead. */
12
13
  const PinInputs = ({ length = 3, label, error, onChange, onComplete, mask = false, placeholder = "*", }) => {
13
14
  const { colors } = (0, useCustomTheme_1.useCustomTheme)();
14
15
  const [values, setValues] = (0, react_1.useState)(Array(length).fill(""));
@@ -1,3 +1,4 @@
1
+ /** Not exported from index.ts and unused anywhere in this repo — for the library's real pin/OTP field, use PinInput instead. */
1
2
  export type PinInputsProps = {
2
3
  length?: number;
3
4
  label?: string;
@@ -1,4 +1,5 @@
1
1
  import { PlanBadgeInput } from "../../Utils/planBadge";
2
+ /** Props for the top-bar plan badge; see PlanBadgeInput for the state this resolves into a PlanPill. */
2
3
  export interface PlanBadgeProps {
3
4
  /** The org's plan state. Resolved into label, tone and chip text internally. */
4
5
  input: PlanBadgeInput;
@@ -6,5 +7,6 @@ export interface PlanBadgeProps {
6
7
  maxLabelWidth?: string;
7
8
  /** Accessible label (falls back to `label — status`). */
8
9
  ariaLabel?: string;
10
+ /** Passed straight through to the underlying PlanPill button — same always-interactive caveat applies. */
9
11
  onClick?: React.MouseEventHandler<HTMLButtonElement>;
10
12
  }
@@ -4,6 +4,7 @@ import { ElementType } from "react";
4
4
  * badge reads as healthy / expiring soon / expired before the text is read.
5
5
  */
6
6
  export type PlanPillTone = "normal" | "warning" | "danger";
7
+ /** Presentational plan-state pill — label/status/gradient only, no resolution logic. For org plan data, use PlanBadge instead of hand-deriving tone/copy here. */
7
8
  export interface PlanPillProps {
8
9
  /** Primary label, e.g. the plan name or an upgrade prompt. */
9
10
  label: string;
@@ -23,5 +24,6 @@ export interface PlanPillProps {
23
24
  maxLabelWidth?: string;
24
25
  /** Accessible label (falls back to `label — status`). */
25
26
  ariaLabel?: string;
27
+ /** Renders as a real <button> (hover-lift, pointer cursor, tabbable) even when omitted — there is no static/non-interactive mode. */
26
28
  onClick?: React.MouseEventHandler<HTMLButtonElement>;
27
29
  }
@@ -1,12 +1,17 @@
1
+ /** Card size; drives width, image height and padding via ProductCard's own sizeStyles map. */
1
2
  export type SizeType = "xs" | "sm" | "md" | "lg";
3
+ /** Compact catalog/grid tile (image + price + cart actions) — for a full gallery/description page use ProductDetails instead. */
2
4
  export type ProductCardProps = {
3
5
  id: string | number;
4
6
  label: string;
7
+ /** Accepted by the type but never read by ProductCard — passing it has no effect. */
5
8
  description?: string;
6
9
  productImage: productImage[];
10
+ /** Renders nothing at all past 4 tags — ProductTags' row layout has no case for 5 or more. */
7
11
  tags?: string[];
8
12
  rating?: string | number;
9
13
  reviews?: string | number;
14
+ /** Non-empty when provided — `[]` crashes the price dropdown; selection won't refresh if this array is later replaced. */
10
15
  options?: options[];
11
16
  onClick?: () => void;
12
17
  button?: {
@@ -15,6 +20,7 @@ export type ProductCardProps = {
15
20
  };
16
21
  onAddToCart?: (id: string | number, var_id: number, qty?: number) => void;
17
22
  onNotifyMe?: (id: string | number, var_id: number) => void;
23
+ /** Also fires once on mount for the default (first) option, not only when the shopper picks a different one. */
18
24
  onOptionChange?: (option: options) => void;
19
25
  addToCart?: boolean;
20
26
  goToCart?: boolean;
@@ -22,10 +28,12 @@ export type ProductCardProps = {
22
28
  OnGoToCart?: () => void;
23
29
  batch?: batch;
24
30
  size?: SizeType;
31
+ /** Accepted by the type but never read anywhere in ProductCard — always a no-op regardless of value. */
25
32
  avalabilitys?: boolean;
26
33
  isQtyEditable?: boolean;
27
34
  displayRating?: boolean;
28
35
  };
36
+ /** One purchase variant (weight/price/stock) shown in the price dropdown; var_id identifies it to cart callbacks. */
29
37
  export type options = {
30
38
  label: string;
31
39
  weight: number;
@@ -35,10 +43,12 @@ export type options = {
35
43
  var_id: number;
36
44
  stocks: number;
37
45
  };
46
+ /** Corner ribbon badge on the product image (e.g. "Sale"); color defaults to green when unset. */
38
47
  export type batch = {
39
48
  label: string;
40
49
  color?: string;
41
50
  };
51
+ /** One gallery image; the first two (after filtering isImage !== false) are the cover and hover-swap. */
42
52
  export type productImage = {
43
53
  imageUrl: string;
44
54
  imageId: number;
@@ -1,4 +1,5 @@
1
1
  type ProductReviewProps = {
2
+ /** Clamped 0-5, but the fill bar divides by 6 internally — a perfect 5 rating never fully fills the star. */
2
3
  rating?: string | number;
3
4
  reviewCount?: string | number;
4
5
  mb?: number;
@@ -1,9 +1,13 @@
1
1
  import { batch, options } from "../ProductCard/ProductCardProps";
2
+ /** Full two-column product detail page (gallery + description + variant picker) — not a card; no size prop or container chrome. */
2
3
  export type ProductDetailsProps = {
3
4
  id: string | number;
5
+ /** Actually the weight/price variant list (same shape as ProductCard's `options`), not a number — must be non-empty. */
4
6
  price?: options[];
5
7
  label?: string;
8
+ /** Rendered through a mini-markdown parser (**bold**, *italic*, # heading) — literal asterisks aren't shown as-is. */
6
9
  shortdesc?: string;
10
+ /** Renders nothing at all past 4 tags — ProductTags' row layout has no case for 5 or more. */
7
11
  tags?: string[];
8
12
  images?: images[];
9
13
  batch?: batch;
@@ -11,6 +15,7 @@ export type ProductDetailsProps = {
11
15
  reviews?: string | number;
12
16
  onAddToCart?: (id: string | number, var_id: number, qty?: number) => void;
13
17
  onNotifyMe?: (id: string | number, var_id: number) => void;
18
+ /** Also fires once on mount for the default (first) option, not only when the shopper picks a different one. */
14
19
  onOptionChange?: (option: options) => void;
15
20
  addToCart?: boolean;
16
21
  goToCart?: boolean;
@@ -19,6 +24,7 @@ export type ProductDetailsProps = {
19
24
  isQtyEditable?: boolean;
20
25
  displayRating?: boolean;
21
26
  };
27
+ /** Gallery item — isImage=false (or a non-image URL when omitted) renders as video with thumb as the poster; order is accepted but never used to sort. */
22
28
  export type images = {
23
29
  imageUrl: string;
24
30
  imageId: number;
@@ -26,6 +32,7 @@ export type images = {
26
32
  isImage?: boolean;
27
33
  thumb?: string;
28
34
  };
35
+ /** Declared but unused — ProductImageSlider only accepts `images[]` (isImage/thumb cover video items); nothing currently consumes this type. */
29
36
  export type videos = {
30
37
  videoUrl: string;
31
38
  videoId: number;
@@ -1,7 +1,9 @@
1
1
  import { CardProps } from "@chakra-ui/react";
2
+ /** Mirrors Chakra Card's own variant strings — forwarded to the underlying Card unchanged. */
2
3
  export type ProfileCardVariant = "elevated" | "outline" | "filled" | "unstyled";
3
4
  /** @deprecated Misspelling kept for existing callers — use "outline". */
4
5
  export type ProfileCardVariantLegacy = "outlein";
6
+ /** borderTopColor/borderLeftColor are booleans toggling a fixed accent border color, not custom-color props; borderLeftColor wins if both are true. */
5
7
  export type ProfileCardProps = Pick<CardProps, "direction" | "maxW" | "align" | "justify" | "overflow"> & {
6
8
  /** Only direct ProfileCardHeader/Body/Footer children render — no wrapping fragment, no other siblings. */
7
9
  children: React.ReactNode;
@@ -1,2 +1,3 @@
1
1
  import { ProfilePhotoViewerProps } from "./ProfilePhotoViewerProps";
2
+ /** Avatar display with optional edit/view actions — does not crop, resize, or upload; PDF detection breaks on a freshly-picked file. */
2
3
  export default function ProfilePhotoViewer({ photoUrl, onPhotoChange, imageWidth, imageAlt, imageObjectFit, imageBorderRadius, editIconSize, editIconPositionRight, editIconPositionBottom, isRound, boxStyle, isEditable, isView, style, handleIsView, fallbackText, revealOnHover, }: ProfilePhotoViewerProps): import("react/jsx-runtime").JSX.Element;
@@ -8,6 +8,7 @@ const lucide_react_1 = require("lucide-react");
8
8
  const useCustomTheme_1 = require("../../Theme/useCustomTheme");
9
9
  const accentText_1 = require("../../Theme/tokens/builders/accentText");
10
10
  const filledSurface_1 = require("../../Theme/tokens/builders/filledSurface");
11
+ /** Avatar display with optional edit/view actions — does not crop, resize, or upload; PDF detection breaks on a freshly-picked file. */
11
12
  function ProfilePhotoViewer({ photoUrl, onPhotoChange, imageWidth = "100px", imageAlt = "Profile Photo", imageObjectFit = "cover", imageBorderRadius = "full", editIconSize = "sm", editIconPositionRight = "0px", editIconPositionBottom = "0px", isRound = true, boxStyle, isEditable = false, isView = false, style, handleIsView, fallbackText, revealOnHover = true, }) {
12
13
  var _a, _b, _c, _d, _e;
13
14
  const [photo, setPhoto] = (0, react_1.useState)(photoUrl);
@@ -1,6 +1,10 @@
1
+ /** isEditable and isView are independent — both true shows edit and view actions side by side. */
1
2
  export type ProfilePhotoViewerProps = {
3
+ /** Seeds state on mount only — a later change to this prop is not re-synced; remount (key={photoUrl}) to update. */
2
4
  photoUrl: string;
5
+ /** Receives the raw File (not a URL, despite the param name) — fires only when isEditable and a file is picked. */
3
6
  onPhotoChange: (photoUrl: File) => void;
7
+ /** Also sets the height (maps to Chakra's boxSize) — there's no separate height prop; the frame is square. */
4
8
  imageWidth?: string;
5
9
  imageAlt?: string;
6
10
  imageObjectFit?: "cover" | "contain" | "fill" | "none" | "scale-down";
@@ -9,12 +13,16 @@ export type ProfilePhotoViewerProps = {
9
13
  editIconSize?: "xs" | "sm" | "md" | "lg" | "xl";
10
14
  editIconPositionRight?: string;
11
15
  editIconPositionBottom?: string;
16
+ /** Rounds only the edit/view IconButtons — the photo/avatar shape comes from imageBorderRadius, not this. */
12
17
  isRound?: boolean;
18
+ /** Inline style for the outer wrapper only — the edit/view buttons use the separate `style` prop below. */
13
19
  boxStyle?: React.CSSProperties;
14
20
  isView?: boolean;
21
+ /** Applied to BOTH edit and view IconButtons identically — no way to style them individually. */
15
22
  style?: React.CSSProperties;
23
+ /** Fires from the View IconButton — that button (and this handler) only renders when isView is true. */
16
24
  handleIsView?: () => void;
17
25
  fallbackText?: string;
18
- /** When true, the edit/view icons are hidden and revealed on hover. Defaults to false (always visible). */
26
+ /** When true (the actual default), edit/view icons stay hidden until hover; false keeps them always visible. */
19
27
  revealOnHover?: boolean;
20
28
  };
@@ -1,2 +1,3 @@
1
1
  import { ProgressBarProps } from "./ProgressBarProps";
2
+ /** Percentage/quantity fill bar (isAnimated needs hasStripe=true or it's a no-op) — for a named pipeline tracker use StageProgress instead. */
2
3
  export default function ProgressBar({ size, isIndeterminate, color, hasStripe, height, value, isAnimated, max, min, variant, ...aria }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = ProgressBar;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("@chakra-ui/react");
6
+ /** Percentage/quantity fill bar (isAnimated needs hasStripe=true or it's a no-op) — for a named pipeline tracker use StageProgress instead. */
6
7
  function ProgressBar({ size, isIndeterminate, color = "primary", hasStripe, height, value, isAnimated, max, min, variant, ...aria }) {
7
8
  // const theme = useCustomTheme();
8
9
  return ((0, jsx_runtime_1.jsx)(react_1.Progress, { ...aria, size: size, isIndeterminate: isIndeterminate, colorScheme: color, hasStripe: hasStripe, height: height, value: value, isAnimated: isAnimated, max: max, min: min, variant: variant }));
@@ -1,6 +1,8 @@
1
1
  import { ProgressProps } from "@chakra-ui/react";
2
+ /** Thin themed wrapper over Chakra's Progress — color and variant are custom additions, not from Chakra's own props. */
2
3
  export type ProgressBarProps = Pick<ProgressProps, "size" | "isIndeterminate" | "value" | "height" | "hasStripe" | "isAnimated" | "max" | "min" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "id"> & {
3
4
  color?: "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "whiteAlpha" | "blackAlpha" | "primary" | "secondary";
4
5
  variant?: "solid" | "outline" | "ghost" | "link" | "unstyled";
6
+ /** Closed prop list, no ...rest, no borderRadius/margin — for those or a ref use Chakra's Progress (Primitives barrel) instead. */
5
7
  size?: "lg" | "md" | "sm" | "xs";
6
8
  };
@@ -7,6 +7,7 @@ export type ChakraRadioProps = Pick<RadioProps, "size" | "colorScheme" | "isChec
7
7
  showLabelTooltip?: boolean;
8
8
  labelTooltip?: string;
9
9
  };
10
+ /** Unlike ChakraRadioProps, showLabelTooltip may be a per-option predicate `(item) => boolean`, evaluated once per rendered option. */
10
11
  export type ChakraRadioGroupProps = Pick<RadioGroupProps, "size" | "colorScheme" | "isDisabled" | "defaultValue" | "value"> & {
11
12
  options: {
12
13
  label: string;
@@ -1,7 +1,9 @@
1
1
  import { ReorderItem, ReorderListProps } from "./ReorderProps";
2
+ /** The real prop surface — showRemoveIcon/onRemove work but are missing from the exported ReorderListProps in ReorderProps.tsx. */
2
3
  type ExtendedReorderListProps<T extends ReorderItem> = ReorderListProps<T> & {
3
4
  showRemoveIcon?: boolean;
4
5
  onRemove?: (id: string) => void;
5
6
  };
7
+ /** Horizontal drag-reorderable row of image tiles (wraps @hello-pangea/dnd) — not a substitute for KanbanBoard's column drag/drop. */
6
8
  declare const ReorderList: <T extends ReorderItem>({ label, items, onReorder, showRemoveIcon, onRemove, }: ExtendedReorderListProps<T>) => JSX.Element;
7
9
  export default ReorderList;
@@ -5,6 +5,7 @@ const react_1 = require("@chakra-ui/react");
5
5
  const dnd_1 = require("@hello-pangea/dnd");
6
6
  const lucide_react_1 = require("lucide-react");
7
7
  const useCustomTheme_1 = require("../../Theme/useCustomTheme");
8
+ /** Horizontal drag-reorderable row of image tiles (wraps @hello-pangea/dnd) — not a substitute for KanbanBoard's column drag/drop. */
8
9
  const ReorderList = ({ label = "", items, onReorder, showRemoveIcon = false, onRemove, }) => {
9
10
  const { colors } = (0, useCustomTheme_1.useCustomTheme)();
10
11
  const handleDragEnd = (result) => {
@@ -1,10 +1,13 @@
1
+ /** Minimal shape for a draggable tile — previewUrl renders as the thumbnail image; name is only used as its alt-text fallback. */
1
2
  export interface ReorderItem {
2
3
  id: string;
3
4
  previewUrl: string;
4
5
  name?: string;
5
6
  }
7
+ /** Incomplete — the shipped Reorder component also reads showRemoveIcon/onRemove, which aren't declared on this exported type. */
6
8
  export interface ReorderListProps<T extends ReorderItem> {
7
9
  label?: string;
8
10
  items: T[];
11
+ /** Fires on every completed drag, even a drop back at the start index — diff the array to detect a real change. */
9
12
  onReorder: (items: T[]) => void;
10
13
  }
@@ -1,6 +1,9 @@
1
1
  import { ReactNode } from "react";
2
+ /** One column in the permission matrix — also the key passed to onPermissionChange. */
2
3
  export type PermissionKey = "read" | "create" | "edit" | "delete" | "import" | "export" | "automation";
4
+ /** One row of the permission matrix, keyed by module — booleans mirror PermissionKey (automation is handled specially, see below). */
3
5
  export type Permission = {
6
+ /** "Automation" (case-insensitive) is special-cased: every column collapses to the single automation flag below, only the Read cell renders. */
4
7
  module: string;
5
8
  read: boolean;
6
9
  create: boolean;
@@ -10,11 +13,13 @@ export type Permission = {
10
13
  export?: boolean;
11
14
  automation?: boolean;
12
15
  };
16
+ /** One row in the roles list — the same shape is passed back into onEditRole/onViewRole as the selected role. */
13
17
  export type RoleData = {
14
18
  roleName: string;
15
19
  createdBy: string;
16
20
  created_at: string;
17
21
  permission: Permission[];
22
+ /** Coerced via Number() before reaching onDeleteRole — a non-numeric id silently becomes NaN with no error. */
18
23
  roles_id: string;
19
24
  designation: string;
20
25
  makeSuperAdmin?: boolean;
@@ -22,7 +27,9 @@ export type RoleData = {
22
27
  trackLocation?: boolean;
23
28
  show_records?: boolean;
24
29
  };
30
+ /** Top-level switch: "list" renders the roles table, "form" renders the create/edit/view role form. */
25
31
  export type RolesPermissionView = "list" | "form";
32
+ /** Only relevant when view is "form" — mode "view" renders the permission form read-only. */
26
33
  export type RolesPermissionMode = "create" | "edit" | "view";
27
34
  /**
28
35
  * All user-facing strings. Provide translated values from the host app; every
@@ -63,6 +70,7 @@ export type RolesPermissionLabels = {
63
70
  deleteRole?: string;
64
71
  deleteRoleConfirm?: string;
65
72
  };
73
+ /** Role list + role/permission-matrix form in one component (switch via `view`) — manages role definitions only, not user-to-role assignment (that's UserDetails' Change Role). */
66
74
  export interface RolesPermissionProps {
67
75
  /** Which view to render. */
68
76
  view: RolesPermissionView;
@@ -89,6 +97,7 @@ export interface RolesPermissionProps {
89
97
  onNewRole?: () => void;
90
98
  onViewRole?: (role: RoleData) => void;
91
99
  onEditRole?: (role: RoleData) => void;
100
+ /** Called synchronously right before the modal closes — no await, no loading state; errors must be surfaced outside this flow. */
92
101
  onDeleteRole?: (roleId: number) => void;
93
102
  onBack?: () => void;
94
103
  /** Form actions. */
@@ -108,6 +117,7 @@ export interface RolesPermissionProps {
108
117
  /** Outer padding override. Defaults to a compact value. */
109
118
  padding?: string;
110
119
  }
120
+ /** Plain confirm dialog for one role at a time — no built-in awaiting of onConfirm, so pair it with your own loading/error handling. */
111
121
  export interface DeleteRoleModalProps {
112
122
  isOpen: boolean;
113
123
  onClose: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  export interface ScrollToTopProps {
3
- /** Content to wrap. The button watches the nearest scrollable ancestor. */
3
+ /** Content to wrap. Watches this element's direct parentElement only — not a scroll-search up the tree. */
4
4
  children: React.ReactNode;
5
5
  /** Tooltip label on the button. */
6
6
  tooltipLabel?: string;
@@ -8,12 +8,13 @@ export interface ScrollToTopProps {
8
8
  threshold?: number;
9
9
  /** Smooth-scroll duration in ms. */
10
10
  duration?: number;
11
- /** Pin to a window-level scroll instead of the wrapped parent. */
11
+ /** Pin to window-level scroll — also the fix when the real scroll container isn't the direct parent. */
12
12
  useWindow?: boolean;
13
13
  /** Distance from the bottom edge. */
14
14
  bottom?: string;
15
15
  /** Distance from the right edge. */
16
16
  right?: string;
17
17
  }
18
+ /** Visibility depends on the wrapped content's direct parent actually scrolling — see `children`. */
18
19
  declare const ScrollToTop: React.FC<ScrollToTopProps>;
19
20
  export default ScrollToTop;
@@ -11,6 +11,7 @@ const useCustomTheme_1 = require("../../Theme/useCustomTheme");
11
11
  const ToolTip_1 = __importDefault(require("../ToolTip/ToolTip"));
12
12
  const rafThrottle_1 = require("../../Utils/rafThrottle");
13
13
  const filledSurface_1 = require("../../Theme/tokens/builders/filledSurface");
14
+ /** Visibility depends on the wrapped content's direct parent actually scrolling — see `children`. */
14
15
  const ScrollToTop = ({ children, tooltipLabel = "Scroll to top", threshold = 300, duration = 600, useWindow = false, bottom = "2rem", right = "2rem", }) => {
15
16
  const [visible, setVisible] = (0, react_1.useState)(false);
16
17
  const anchorRef = (0, react_1.useRef)(null);
@@ -1,2 +1,3 @@
1
1
  import { SearchProps } from "./SearchProps";
2
+ /** Plain filter/search input, no options list — default shortcut registers a page-global Ctrl+K listener that can't be disabled. */
2
3
  export default function Search({ placeholder, onSearch, onclose, shortcut, query, error, errorMessage, helperText, label, id, isInformation, informationMessage, isRequired, }: SearchProps): import("react/jsx-runtime").JSX.Element;
@@ -12,6 +12,7 @@ const FormLabel_1 = require("../Common/FormLabel");
12
12
  const HelperText_1 = __importDefault(require("../Common/HelperText"));
13
13
  const ErrorMessage_1 = __importDefault(require("../Common/ErrorMessage"));
14
14
  const useCustomTheme_1 = require("../../Theme/useCustomTheme");
15
+ /** Plain filter/search input, no options list — default shortcut registers a page-global Ctrl+K listener that can't be disabled. */
15
16
  function Search({ placeholder = "Search...", onSearch, onclose, shortcut = "Ctrl+K", query, error, errorMessage, helperText, label, id, isInformation, informationMessage, isRequired, }) {
16
17
  const theme = (0, useCustomTheme_1.useCustomTheme)();
17
18
  const inputRef = (0, react_1.useRef)(null);
@@ -1,6 +1,8 @@
1
+ /** Fully controlled — query and clearing it are owned by the caller; onclose only fires the callback, it doesn't clear query itself. */
1
2
  export type SearchProps = {
2
3
  placeholder?: string;
3
4
  onSearch: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
+ /** Only "Ctrl+K" is valid, and the type has no "off" value — every mounted Search grabs this hotkey globally. */
4
6
  shortcut?: "Ctrl+K";
5
7
  query?: string;
6
8
  onclose: () => void;
@@ -1,3 +1,4 @@
1
1
  import { SearchSelectProps } from "./SearchSelectProps";
2
+ /** Full-featured combobox: search, chips, select-all, paginated infinite scroll — not DOM-virtualized despite the `virtualization` prop. */
2
3
  declare const SearchSelect: ({ id, label, options, onSelect, onSearch, isOptionLoading, isLoading, loadingText, placeholder, value, searchQuery, isMultiple, isRequired, error, errorMessage, helperText, width, height, size, chip, information, isInformation, informationMessage, rightIcon, addNew, isSelectAll, pagination, insideSelect, isRemoveAllIcon, }: SearchSelectProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default SearchSelect;
@@ -65,6 +65,7 @@ const normalizeMultiValue = (val) => {
65
65
  }
66
66
  return [];
67
67
  };
68
+ /** Full-featured combobox: search, chips, select-all, paginated infinite scroll — not DOM-virtualized despite the `virtualization` prop. */
68
69
  const SearchSelect = ({ id, label, options, onSelect, onSearch, isOptionLoading = false, isLoading = false, loadingText = "Loading...", placeholder = "Select", value, searchQuery = "", isMultiple = false, isRequired = false, error = false, errorMessage, helperText, width = "100%", height, size = "md", chip, information, isInformation, informationMessage, rightIcon, addNew, isSelectAll = false, pagination, insideSelect, isRemoveAllIcon, }) => {
69
70
  var _a, _b;
70
71
  const s = (0, searchSelectSize_1.getSearchSelectSizeStyles)((size || "md"));
@@ -1,3 +1,4 @@
1
+ /** value's shape must match isMultiple (array vs single object) — a mismatch normalizes to no selection, not an error. */
1
2
  export type SearchSelectProps = {
2
3
  id?: string;
3
4
  label?: string;
@@ -19,6 +20,7 @@ export type SearchSelectProps = {
19
20
  height?: string | number;
20
21
  size?: "xs" | "sm" | "md" | "lg";
21
22
  chip?: {
23
+ /** 0 is falsy and falls back to "no limit" (shows every chip) — pass 1+ to actually cap the count. */
22
24
  maxChips?: number;
23
25
  maxText?: number;
24
26
  onClick?: (options: Options | Options[]) => void;
@@ -42,10 +44,12 @@ export type SearchSelectProps = {
42
44
  isRemoveAllIcon?: boolean;
43
45
  isSelectAll?: boolean;
44
46
  pagination?: {
47
+ /** startIndex is 1-based (current options.length + 1), not a 0-based offset. */
45
48
  onScroll?: (startIndex: number, limit: number, query: string) => void;
46
49
  limit?: number;
47
50
  scrollLoading?: boolean;
48
51
  };
52
+ /** Not implemented — the option list always renders unvirtualized; use `pagination` to page in large datasets instead. */
49
53
  virtualization?: boolean;
50
54
  insideSelect?: {
51
55
  onSelect?: (options: Options) => void;
@@ -56,6 +60,7 @@ export type SearchSelectProps = {
56
60
  placeholder?: string;
57
61
  };
58
62
  };
63
+ /** One selectable option; view, when set, fully replaces the default label rendering for that option's row. */
59
64
  export type Options = {
60
65
  id: string | number;
61
66
  label: string;