@mailstep/design-system 0.7.67 → 0.7.68-beta.1

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 (541) hide show
  1. package/package.json +7 -7
  2. package/ui/Blocks/CommonGrid/CommonGrid.d.ts +5 -3
  3. package/ui/Blocks/CommonGrid/CommonGrid.js +3 -3
  4. package/ui/Blocks/CommonGrid/CommonGridContainer.d.ts +4 -2
  5. package/ui/Blocks/CommonGrid/HoC/withProps.d.ts +2 -1
  6. package/ui/Blocks/CommonGrid/HoC/withReduxActions.d.ts +1 -1
  7. package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.d.ts +3 -1
  8. package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +3 -1
  9. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.d.ts +3 -2
  10. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.d.ts +4 -3
  11. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +10 -4
  12. package/ui/Blocks/CommonGrid/components/ActionHead/index.d.ts +2 -1
  13. package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.d.ts +3 -2
  14. package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.js +2 -2
  15. package/ui/Blocks/CommonGrid/components/ButtonMore/index.d.ts +2 -1
  16. package/ui/Blocks/CommonGrid/components/ColumnFilterCell.d.ts +4 -2
  17. package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.d.ts +2 -1
  18. package/ui/Blocks/CommonGrid/components/ColumnTitle/index.d.ts +2 -1
  19. package/ui/Blocks/CommonGrid/components/ColumnTitle.d.ts +3 -2
  20. package/ui/Blocks/CommonGrid/components/ControlButtons/ControlButtons.d.ts +4 -3
  21. package/ui/Blocks/CommonGrid/components/ControlButtons/index.d.ts +2 -1
  22. package/ui/Blocks/CommonGrid/components/ControlButtons/styles.d.ts +4 -5
  23. package/ui/Blocks/CommonGrid/components/DataCell.d.ts +2 -1
  24. package/ui/Blocks/CommonGrid/components/DataCell.js +1 -1
  25. package/ui/Blocks/CommonGrid/components/DataRow.d.ts +4 -2
  26. package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.d.ts +5 -4
  27. package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.js +5 -3
  28. package/ui/Blocks/CommonGrid/components/DropdownButton/index.d.ts +2 -1
  29. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.d.ts +4 -2
  30. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +1 -1
  31. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.d.ts +2 -1
  32. package/ui/Blocks/CommonGrid/components/FilterDropdown.d.ts +3 -2
  33. package/ui/Blocks/CommonGrid/components/FilterDropdown.js +7 -7
  34. package/ui/Blocks/CommonGrid/components/FilterRow.d.ts +4 -2
  35. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.d.ts +3 -2
  36. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/index.d.ts +2 -1
  37. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.d.ts +3 -1
  38. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +3 -15
  39. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.d.ts +2 -1
  40. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +5 -3
  41. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/index.d.ts +2 -1
  42. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.d.ts +2 -1
  43. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/GridSelect.d.ts +3 -1
  44. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.d.ts +2 -1
  45. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.d.ts +3 -1
  46. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.js +9 -3
  47. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/index.d.ts +2 -1
  48. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/types.d.ts +1 -0
  49. package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.d.ts +3 -1
  50. package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.js +3 -1
  51. package/ui/Blocks/CommonGrid/components/Filters/TextRange/index.d.ts +2 -1
  52. package/ui/Blocks/CommonGrid/components/Filters/TextRange/types.d.ts +1 -0
  53. package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.d.ts +5 -3
  54. package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.js +4 -2
  55. package/ui/Blocks/CommonGrid/components/FloatingButton/index.d.ts +2 -1
  56. package/ui/Blocks/CommonGrid/components/GridInfo/index.d.ts +2 -1
  57. package/ui/Blocks/CommonGrid/components/GridModals/index.d.ts +4 -3
  58. package/ui/Blocks/CommonGrid/components/GridStatus/index.d.ts +2 -1
  59. package/ui/Blocks/CommonGrid/components/GroupRow.d.ts +4 -2
  60. package/ui/Blocks/CommonGrid/components/HeadCell.d.ts +3 -2
  61. package/ui/Blocks/CommonGrid/components/HeadRow.d.ts +5 -3
  62. package/ui/Blocks/CommonGrid/components/IconList/IconList.d.ts +8 -6
  63. package/ui/Blocks/CommonGrid/components/IconList/IconList.js +3 -1
  64. package/ui/Blocks/CommonGrid/components/IconList/index.d.ts +2 -1
  65. package/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.d.ts +4 -4
  66. package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.d.ts +3 -3
  67. package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +5 -5
  68. package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.d.ts +2 -1
  69. package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.d.ts +3 -3
  70. package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.d.ts +3 -1
  71. package/ui/Blocks/CommonGrid/components/OversizedScroll.d.ts +6 -4
  72. package/ui/Blocks/CommonGrid/components/OversizedScroll.js +3 -5
  73. package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.d.ts +1 -1
  74. package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.d.ts +2 -1
  75. package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.d.ts +1 -0
  76. package/ui/Blocks/CommonGrid/components/QuickFilter/index.d.ts +2 -1
  77. package/ui/Blocks/CommonGrid/components/Resize.d.ts +3 -1
  78. package/ui/Blocks/CommonGrid/components/Table.d.ts +36 -36
  79. package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.d.ts +3 -1
  80. package/ui/Blocks/CommonGrid/components/TablePagination/index.d.ts +2 -1
  81. package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.d.ts +3 -2
  82. package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.js +1 -1
  83. package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.d.ts +3 -1
  84. package/ui/Blocks/CommonGrid/components/gridCells/Date.d.ts +3 -1
  85. package/ui/Blocks/CommonGrid/components/gridCells/Date.js +1 -1
  86. package/ui/Blocks/CommonGrid/components/gridCells/DateTime.d.ts +3 -1
  87. package/ui/Blocks/CommonGrid/components/gridCells/DateTime.js +2 -2
  88. package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.d.ts +4 -2
  89. package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.d.ts +3 -1
  90. package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.d.ts +3 -2
  91. package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.js +1 -1
  92. package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.d.ts +3 -1
  93. package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.js +1 -1
  94. package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.d.ts +1 -1
  95. package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.d.ts +5 -2
  96. package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.js +4 -5
  97. package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.d.ts +3 -2
  98. package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.d.ts +3 -1
  99. package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.js +1 -1
  100. package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.d.ts +3 -1
  101. package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.d.ts +3 -1
  102. package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.js +4 -2
  103. package/ui/Blocks/CommonGrid/components/icons/Edit.d.ts +3 -1
  104. package/ui/Blocks/CommonGrid/components/icons/EyeOpen.d.ts +3 -1
  105. package/ui/Blocks/CommonGrid/components/icons/Sorting.d.ts +4 -2
  106. package/ui/Blocks/CommonGrid/components/utils.d.ts +1 -0
  107. package/ui/Blocks/CommonGrid/hooks/useAddFilter.d.ts +3 -2
  108. package/ui/Blocks/CommonGrid/hooks/useColumnSizes.d.ts +3 -2
  109. package/ui/Blocks/CommonGrid/hooks/useCreatePreset.d.ts +1 -0
  110. package/ui/Blocks/CommonGrid/hooks/useDeletePreset.d.ts +1 -0
  111. package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.d.ts +2 -1
  112. package/ui/Blocks/CommonGrid/hooks/useEvent.d.ts +1 -1
  113. package/ui/Blocks/CommonGrid/hooks/useFloatingButton.d.ts +1 -0
  114. package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.d.ts +2 -1
  115. package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.d.ts +1 -0
  116. package/ui/Blocks/CommonGrid/hooks/useManageColumn.d.ts +3 -3
  117. package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.d.ts +1 -0
  118. package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.js +6 -3
  119. package/ui/Blocks/CommonGrid/hooks/useQuickFilter.d.ts +3 -2
  120. package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.d.ts +3 -2
  121. package/ui/Blocks/CommonGrid/hooks/useSelectPreset.d.ts +1 -0
  122. package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.d.ts +3 -2
  123. package/ui/Blocks/CommonGrid/hooks/useUxReset.d.ts +2 -1
  124. package/ui/Blocks/CommonGrid/index.d.ts +7 -6
  125. package/ui/Blocks/CommonGrid/store/index.d.ts +16 -15
  126. package/ui/Blocks/CommonGrid/store/migrateState.d.ts +1 -0
  127. package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.d.ts +5 -3
  128. package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.d.ts +4 -2
  129. package/ui/Blocks/CommonGrid/storybook/stories/complexWithPaginationAndRedux.stories.d.ts +1 -1
  130. package/ui/Blocks/CommonGrid/storybook/stories/default.stories.d.ts +1 -1
  131. package/ui/Blocks/CommonGrid/storybook/stories/styledCommonGrid.stories.d.ts +1 -1
  132. package/ui/Blocks/CommonGrid/storybook/stories/withForcedCheckboxes.stories.d.ts +2 -1
  133. package/ui/Blocks/CommonGrid/storybook/stories/withQuickFilter.stories.d.ts +1 -1
  134. package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.d.ts +2 -1
  135. package/ui/Blocks/CommonGrid/storybook/utils/utils.d.ts +3 -1
  136. package/ui/Blocks/CommonGrid/storybook/utils/utils.js +7 -3
  137. package/ui/Blocks/CommonGrid/storybook/utils/withRedux.d.ts +1 -1
  138. package/ui/Blocks/CommonGrid/storybook/utils/withRedux.js +1 -1
  139. package/ui/Blocks/CommonGrid/storybook/utils/withRouter.d.ts +1 -1
  140. package/ui/Blocks/CommonGrid/storybook/utils/withTheme.d.ts +1 -1
  141. package/ui/Blocks/CommonGrid/styles.d.ts +9 -10
  142. package/ui/Blocks/CommonGrid/types.d.ts +32 -51
  143. package/ui/Blocks/CommonGrid/utils/getRowsPerPage.d.ts +1 -1
  144. package/ui/Blocks/CommonGrid/utils/index.d.ts +5 -4
  145. package/ui/Blocks/CornerDialog/CornerDialog.d.ts +3 -1
  146. package/ui/Blocks/CornerDialog/CornerDialog.js +2 -2
  147. package/ui/Blocks/CornerDialog/index.d.ts +1 -0
  148. package/ui/Blocks/CornerDialog/stories/CornerDialog.stories.d.ts +2 -2
  149. package/ui/Blocks/CornerDialog/styles.d.ts +6 -6
  150. package/ui/Blocks/CornerDialog/types.d.ts +4 -3
  151. package/ui/Blocks/CornerDialog/utils.d.ts +1 -0
  152. package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.d.ts +3 -2
  153. package/ui/Blocks/Header/components/MenuItems/index.d.ts +3 -2
  154. package/ui/Blocks/Header/components/MenuItems/styles.d.ts +3 -3
  155. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/index.d.ts +2 -1
  156. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/styles.d.ts +2 -2
  157. package/ui/Blocks/Header/components/UserMenu/index.d.ts +3 -2
  158. package/ui/Blocks/Header/components/UserMenu/styles.d.ts +3 -3
  159. package/ui/Blocks/Header/index.d.ts +6 -5
  160. package/ui/Blocks/Header/stories/Header.stories.d.ts +25 -24
  161. package/ui/Blocks/Header/stories/Header.stories.js +3 -1
  162. package/ui/Blocks/Header/styles.d.ts +4 -4
  163. package/ui/Blocks/Header/utils/languageItems.d.ts +2 -1
  164. package/ui/Blocks/HidePrint/HidePrint.d.ts +3 -2
  165. package/ui/Blocks/ImageList/ImageList.d.ts +3 -2
  166. package/ui/Blocks/ImageList/ImageList.js +1 -1
  167. package/ui/Blocks/ImageList/components/AddPhoto/index.d.ts +3 -2
  168. package/ui/Blocks/ImageList/components/AddPhoto/index.js +2 -2
  169. package/ui/Blocks/ImageList/components/AddPhoto/styles.d.ts +4 -4
  170. package/ui/Blocks/ImageList/components/CloseButton/index.d.ts +2 -1
  171. package/ui/Blocks/ImageList/components/CloseButton/styles.d.ts +2 -2
  172. package/ui/Blocks/ImageList/components/ImageElement/index.d.ts +2 -1
  173. package/ui/Blocks/ImageList/components/ImageElement/styles.d.ts +4 -4
  174. package/ui/Blocks/ImageList/components/ImageTag/index.d.ts +2 -1
  175. package/ui/Blocks/ImageList/components/ImageTag/styles.d.ts +1 -1
  176. package/ui/Blocks/ImageList/hooks/useOnElementClick.d.ts +2 -1
  177. package/ui/Blocks/ImageList/index.d.ts +2 -1
  178. package/ui/Blocks/ImageList/stories/ImageList.stories.d.ts +2 -2
  179. package/ui/Blocks/ImageList/styles.d.ts +4 -4
  180. package/ui/Blocks/ImageList/types.d.ts +2 -1
  181. package/ui/Blocks/LanguageSwitch/LanguageSwitch.d.ts +3 -2
  182. package/ui/Blocks/LanguageSwitch/index.d.ts +2 -1
  183. package/ui/Blocks/LanguageSwitch/stories/LanguageSwith.stories.d.ts +2 -2
  184. package/ui/Blocks/LanguageSwitch/styles.d.ts +7 -7
  185. package/ui/Blocks/LanguageSwitch/types.d.ts +1 -0
  186. package/ui/Blocks/LightBox/LightBox.d.ts +3 -2
  187. package/ui/Blocks/LightBox/hooks/useLightBox.d.ts +2 -1
  188. package/ui/Blocks/LightBox/index.d.ts +1 -0
  189. package/ui/Blocks/LightBox/stories/LightBox.stories.d.ts +2 -2
  190. package/ui/Blocks/LightBox/styles.d.ts +4 -4
  191. package/ui/Blocks/LoginPage/LoginPage.d.ts +3 -2
  192. package/ui/Blocks/LoginPage/components/LoginForm.d.ts +1 -0
  193. package/ui/Blocks/LoginPage/components/SocialLinks.d.ts +5 -4
  194. package/ui/Blocks/LoginPage/index.d.ts +2 -1
  195. package/ui/Blocks/LoginPage/stories/LoginPage.stories.js +2 -2
  196. package/ui/Blocks/LoginPage/styles.d.ts +10 -9
  197. package/ui/Blocks/LoginPage/types.d.ts +5 -4
  198. package/ui/Blocks/Modal/Modal.d.ts +3 -2
  199. package/ui/Blocks/Modal/hooks/useClickOutside.d.ts +2 -1
  200. package/ui/Blocks/Modal/hooks/useModal.d.ts +1 -0
  201. package/ui/Blocks/Modal/index.d.ts +1 -0
  202. package/ui/Blocks/Modal/stories/Modal.stories.d.ts +2 -2
  203. package/ui/Blocks/Modal/styles.d.ts +16 -15
  204. package/ui/Blocks/Modal/types.d.ts +8 -7
  205. package/ui/Blocks/Modal/utils.d.ts +1 -0
  206. package/ui/Blocks/Popover/index.d.ts +4 -3
  207. package/ui/Blocks/Popover/index.js +2 -2
  208. package/ui/Blocks/Scheduler/Scheduler.d.ts +3 -2
  209. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.d.ts +3 -2
  210. package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.d.ts +3 -3
  211. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.d.ts +2 -1
  212. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.d.ts +3 -3
  213. package/ui/Blocks/Scheduler/components/DateChanger/index.d.ts +3 -2
  214. package/ui/Blocks/Scheduler/components/DateChanger/styles.d.ts +2 -2
  215. package/ui/Blocks/Scheduler/components/Groups/index.d.ts +3 -2
  216. package/ui/Blocks/Scheduler/components/Groups/styles.d.ts +4 -4
  217. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.d.ts +2 -1
  218. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.d.ts +1 -0
  219. package/ui/Blocks/Scheduler/components/TimeSlots/index.d.ts +3 -2
  220. package/ui/Blocks/Scheduler/components/TimeSlots/styles.d.ts +5 -5
  221. package/ui/Blocks/Scheduler/hooks/useChangeDate.d.ts +3 -2
  222. package/ui/Blocks/Scheduler/stories/Scheduler.stories.d.ts +2 -1
  223. package/ui/Blocks/Scheduler/styles.d.ts +2 -2
  224. package/ui/Blocks/Scheduler/types.d.ts +3 -2
  225. package/ui/Blocks/Scheduler/utils/isActiveTime.d.ts +1 -0
  226. package/ui/Blocks/SideMenu/MenuItem.d.ts +4 -3
  227. package/ui/Blocks/SideMenu/SideMenu.d.ts +3 -1
  228. package/ui/Blocks/SideMenu/components/Footer.d.ts +6 -4
  229. package/ui/Blocks/SideMenu/components/Footer.js +3 -3
  230. package/ui/Blocks/SideMenu/components/SubitemTooltip.d.ts +3 -2
  231. package/ui/Blocks/SideMenu/context/LeftMenuContext.d.ts +2 -1
  232. package/ui/Blocks/SideMenu/hooks/useOutsideHover.d.ts +1 -0
  233. package/ui/Blocks/SideMenu/index.d.ts +2 -1
  234. package/ui/Blocks/SideMenu/stories/SideMenu.stories.d.ts +1 -2
  235. package/ui/Blocks/SideMenu/styles.d.ts +38 -38
  236. package/ui/Blocks/SideMenu/types.d.ts +2 -1
  237. package/ui/Blocks/Stepper/Stepper.d.ts +3 -2
  238. package/ui/Blocks/Stepper/components/StepCircle/index.d.ts +2 -1
  239. package/ui/Blocks/Stepper/components/StepCircle/styles.d.ts +3 -3
  240. package/ui/Blocks/Stepper/components/StepItem/index.d.ts +2 -1
  241. package/ui/Blocks/Stepper/components/StepItem/styles.d.ts +6 -6
  242. package/ui/Blocks/Stepper/stories/Stepper.stories.d.ts +2 -1
  243. package/ui/Blocks/Stepper/styles.d.ts +2 -2
  244. package/ui/Blocks/Stepper/types.d.ts +2 -1
  245. package/ui/Blocks/Table/Table.d.ts +1 -0
  246. package/ui/Blocks/Table/stories/Table.stories.d.ts +4 -5
  247. package/ui/Blocks/Tabs/TabContent.d.ts +4 -3
  248. package/ui/Blocks/Tabs/TabContent.js +43 -3
  249. package/ui/Blocks/Tabs/Tabs.d.ts +4 -2
  250. package/ui/Blocks/Tabs/hooks/useTabs.d.ts +1 -0
  251. package/ui/Blocks/Tabs/index.d.ts +1 -0
  252. package/ui/Blocks/Tabs/stories/Tabs.stories.d.ts +2 -2
  253. package/ui/Blocks/Tabs/styles.d.ts +9 -10
  254. package/ui/Blocks/Tabs/types.d.ts +3 -2
  255. package/ui/Elements/Alert/Alert.d.ts +1 -0
  256. package/ui/Elements/Alert/index.d.ts +2 -1
  257. package/ui/Elements/Alert/stories/Alert.stories.d.ts +3 -2
  258. package/ui/Elements/Alert/styles.d.ts +28 -39
  259. package/ui/Elements/Alert/styles.js +2 -3
  260. package/ui/Elements/Alert/types.d.ts +4 -5
  261. package/ui/Elements/AsyncSelect/AsyncSelect.d.ts +5 -4
  262. package/ui/Elements/AsyncSelect/index.d.ts +2 -1
  263. package/ui/Elements/AsyncSelect/stories/AsyncSelect.stories.d.ts +1 -2
  264. package/ui/Elements/AsyncSelect/stories/AsyncSelect.stories.js +2 -2
  265. package/ui/Elements/Avatar/Avatar.d.ts +3 -1
  266. package/ui/Elements/Avatar/Avatar.js +1 -2
  267. package/ui/Elements/Avatar/index.d.ts +1 -0
  268. package/ui/Elements/Avatar/stories/Avatar.stories.d.ts +3 -3
  269. package/ui/Elements/Badge/Badge.d.ts +4 -3
  270. package/ui/Elements/Badge/Badge.js +1 -2
  271. package/ui/Elements/Badge/index.d.ts +2 -1
  272. package/ui/Elements/Badge/stories/Badge.stories.d.ts +3 -3
  273. package/ui/Elements/BarChartSymbol/BarChartSymbol.d.ts +1 -0
  274. package/ui/Elements/BarChartSymbol/stories/BarChartSymbol.stories.d.ts +3 -3
  275. package/ui/Elements/BarChartSymbol/styles.d.ts +3 -3
  276. package/ui/Elements/BorderedBox/BorderedBox.d.ts +3 -1
  277. package/ui/Elements/BorderedBox/index.d.ts +2 -1
  278. package/ui/Elements/BorderedBox/stories/BorderedBox.stories.d.ts +3 -3
  279. package/ui/Elements/BorderedBox/types.d.ts +0 -1
  280. package/ui/Elements/Button/Button.d.ts +4 -2
  281. package/ui/Elements/Button/index.d.ts +2 -1
  282. package/ui/Elements/Button/stories/Button.stories.d.ts +3 -3
  283. package/ui/Elements/Button/styles.d.ts +9 -10
  284. package/ui/Elements/Button/types.d.ts +6 -5
  285. package/ui/Elements/Card/Card.d.ts +1 -0
  286. package/ui/Elements/Card/index.d.ts +2 -1
  287. package/ui/Elements/Card/stories/Card.stories.d.ts +3 -3
  288. package/ui/Elements/Card/styles.d.ts +4 -3
  289. package/ui/Elements/Card/types.d.ts +0 -1
  290. package/ui/Elements/CheckedCircle/index.d.ts +2 -1
  291. package/ui/Elements/CheckedCircle/storries/CheckedCircle.stories.d.ts +5 -5
  292. package/ui/Elements/CheckedCircle/styles.d.ts +1 -1
  293. package/ui/Elements/DatePicker/DatePicker.d.ts +5 -4
  294. package/ui/Elements/DatePicker/Datetime/DateTime.d.ts +5 -4
  295. package/ui/Elements/DatePicker/Datetime/components/DateRepeater.d.ts +3 -2
  296. package/ui/Elements/DatePicker/Datetime/components/FooterRow.d.ts +2 -2
  297. package/ui/Elements/DatePicker/Datetime/components/FooterRowLabel.d.ts +1 -1
  298. package/ui/Elements/DatePicker/Datetime/components/TimeInput.d.ts +1 -1
  299. package/ui/Elements/DatePicker/Datetime/components/Timepicker.d.ts +2 -1
  300. package/ui/Elements/DatePicker/Datetime/types.d.ts +8 -7
  301. package/ui/Elements/DatePicker/Datetime/views/DaysView.d.ts +2 -1
  302. package/ui/Elements/DatePicker/Datetime/views/MonthsView.d.ts +2 -1
  303. package/ui/Elements/DatePicker/Datetime/views/YearsView.d.ts +2 -1
  304. package/ui/Elements/DatePicker/index.d.ts +2 -1
  305. package/ui/Elements/DatePicker/styles.d.ts +1 -2
  306. package/ui/Elements/DatePicker/utils/constants.d.ts +1 -0
  307. package/ui/Elements/Dropdown/Dropdown.d.ts +3 -1
  308. package/ui/Elements/Dropdown/Dropdown.js +3 -5
  309. package/ui/Elements/Dropdown/index.d.ts +2 -1
  310. package/ui/Elements/Dropdown/stories/Dropdown.stories.d.ts +3 -3
  311. package/ui/Elements/Dropdown/types.d.ts +1 -0
  312. package/ui/Elements/DropdownMenu/DropdownMenu.d.ts +3 -1
  313. package/ui/Elements/DropdownMenu/DropdownMenu.js +3 -3
  314. package/ui/Elements/DropdownMenu/components/DefaultItem.d.ts +3 -1
  315. package/ui/Elements/DropdownMenu/components/MenuItem.d.ts +3 -1
  316. package/ui/Elements/DropdownMenu/components/MenuItem.js +1 -1
  317. package/ui/Elements/DropdownMenu/components/MenuList.d.ts +3 -1
  318. package/ui/Elements/DropdownMenu/components/MenuList.js +3 -4
  319. package/ui/Elements/DropdownMenu/types.d.ts +6 -5
  320. package/ui/Elements/DropdownSelect/DropdownSelect.d.ts +7 -6
  321. package/ui/Elements/DropdownSelect/DropdownSelect.js +11 -7
  322. package/ui/Elements/DropdownSelect/index.d.ts +2 -1
  323. package/ui/Elements/ErrorMessage/ErrorMessage.d.ts +3 -1
  324. package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -2
  325. package/ui/Elements/ErrorMessage/index.d.ts +2 -1
  326. package/ui/Elements/ErrorMessage/stories/ErrorMessage.stories.d.ts +3 -3
  327. package/ui/Elements/ErrorMessage/types.d.ts +1 -0
  328. package/ui/Elements/HighlightBox/HighlightBox.d.ts +3 -2
  329. package/ui/Elements/HighlightBox/HighlightBox.js +4 -4
  330. package/ui/Elements/HighlightBox/index.d.ts +2 -1
  331. package/ui/Elements/Icon/BadgeIcon.d.ts +3 -1
  332. package/ui/Elements/Icon/BadgeIcon.js +2 -5
  333. package/ui/Elements/Icon/Icon.d.ts +4 -4
  334. package/ui/Elements/Icon/Icon.js +15 -16
  335. package/ui/Elements/Icon/icons/Add.d.ts +2 -1
  336. package/ui/Elements/Icon/icons/AddPhoto.d.ts +1 -0
  337. package/ui/Elements/Icon/icons/Admin.d.ts +1 -0
  338. package/ui/Elements/Icon/icons/ArrowDown.d.ts +2 -1
  339. package/ui/Elements/Icon/icons/ArrowForward.d.ts +2 -1
  340. package/ui/Elements/Icon/icons/ArrowUp.d.ts +2 -1
  341. package/ui/Elements/Icon/icons/BarcodeScan.d.ts +1 -0
  342. package/ui/Elements/Icon/icons/Box.d.ts +1 -0
  343. package/ui/Elements/Icon/icons/Calendar.d.ts +1 -0
  344. package/ui/Elements/Icon/icons/Cancel.d.ts +1 -0
  345. package/ui/Elements/Icon/icons/CheckedBox.d.ts +2 -1
  346. package/ui/Elements/Icon/icons/Company.d.ts +1 -0
  347. package/ui/Elements/Icon/icons/Complaint.d.ts +2 -1
  348. package/ui/Elements/Icon/icons/Consolidation.d.ts +2 -1
  349. package/ui/Elements/Icon/icons/Container.d.ts +2 -1
  350. package/ui/Elements/Icon/icons/Dashboard.d.ts +2 -1
  351. package/ui/Elements/Icon/icons/Desktop.d.ts +2 -1
  352. package/ui/Elements/Icon/icons/Dispatch.d.ts +2 -1
  353. package/ui/Elements/Icon/icons/EmptyRack.d.ts +1 -0
  354. package/ui/Elements/Icon/icons/Expeditions.d.ts +2 -1
  355. package/ui/Elements/Icon/icons/FlagCZ.d.ts +2 -1
  356. package/ui/Elements/Icon/icons/FlagEL.d.ts +2 -1
  357. package/ui/Elements/Icon/icons/FlagESP.d.ts +2 -1
  358. package/ui/Elements/Icon/icons/FlagHU.d.ts +3 -2
  359. package/ui/Elements/Icon/icons/FlagITA.d.ts +2 -1
  360. package/ui/Elements/Icon/icons/FlagNL.d.ts +3 -2
  361. package/ui/Elements/Icon/icons/FlagRUS.d.ts +2 -1
  362. package/ui/Elements/Icon/icons/FlagSVK.d.ts +2 -1
  363. package/ui/Elements/Icon/icons/FlagUK.d.ts +2 -1
  364. package/ui/Elements/Icon/icons/FlagUSA.d.ts +2 -1
  365. package/ui/Elements/Icon/icons/Foldable.d.ts +3 -2
  366. package/ui/Elements/Icon/icons/Fragile.d.ts +2 -1
  367. package/ui/Elements/Icon/icons/Gift.d.ts +2 -1
  368. package/ui/Elements/Icon/icons/Group.d.ts +1 -0
  369. package/ui/Elements/Icon/icons/HamburgerMenu.d.ts +2 -1
  370. package/ui/Elements/Icon/icons/HelpCircle1.d.ts +2 -1
  371. package/ui/Elements/Icon/icons/HorizontalLines.d.ts +1 -0
  372. package/ui/Elements/Icon/icons/ImagePlaceholder.d.ts +1 -0
  373. package/ui/Elements/Icon/icons/Income.d.ts +2 -1
  374. package/ui/Elements/Icon/icons/Info.d.ts +2 -1
  375. package/ui/Elements/Icon/icons/Integrations.d.ts +1 -0
  376. package/ui/Elements/Icon/icons/Inventory.d.ts +2 -1
  377. package/ui/Elements/Icon/icons/Inventory2.d.ts +2 -1
  378. package/ui/Elements/Icon/icons/Layout.d.ts +3 -2
  379. package/ui/Elements/Icon/icons/Link.d.ts +1 -0
  380. package/ui/Elements/Icon/icons/Liquid.d.ts +3 -2
  381. package/ui/Elements/Icon/icons/Location.d.ts +2 -1
  382. package/ui/Elements/Icon/icons/Logout1.d.ts +2 -1
  383. package/ui/Elements/Icon/icons/MachinePackingForbidden.d.ts +3 -2
  384. package/ui/Elements/Icon/icons/MakePhoto.d.ts +2 -1
  385. package/ui/Elements/Icon/icons/MenuItems.d.ts +2 -1
  386. package/ui/Elements/Icon/icons/Message.d.ts +2 -1
  387. package/ui/Elements/Icon/icons/MobileCancel.d.ts +2 -1
  388. package/ui/Elements/Icon/icons/MobilePhone.d.ts +3 -2
  389. package/ui/Elements/Icon/icons/Notification2.d.ts +2 -1
  390. package/ui/Elements/Icon/icons/OpenBox.d.ts +1 -0
  391. package/ui/Elements/Icon/icons/Pallet.d.ts +2 -1
  392. package/ui/Elements/Icon/icons/Plus1.d.ts +2 -1
  393. package/ui/Elements/Icon/icons/Print.d.ts +2 -1
  394. package/ui/Elements/Icon/icons/Product.d.ts +1 -0
  395. package/ui/Elements/Icon/icons/Products.d.ts +2 -1
  396. package/ui/Elements/Icon/icons/Profile.d.ts +2 -1
  397. package/ui/Elements/Icon/icons/Puzzle1.d.ts +2 -1
  398. package/ui/Elements/Icon/icons/QRCode.d.ts +2 -1
  399. package/ui/Elements/Icon/icons/Rack.d.ts +1 -0
  400. package/ui/Elements/Icon/icons/Return.d.ts +2 -1
  401. package/ui/Elements/Icon/icons/Rows.d.ts +1 -0
  402. package/ui/Elements/Icon/icons/Settings2.d.ts +2 -1
  403. package/ui/Elements/Icon/icons/ShoppingBag.d.ts +2 -1
  404. package/ui/Elements/Icon/icons/ThreeDots.d.ts +1 -0
  405. package/ui/Elements/Icon/icons/ToastError.d.ts +1 -0
  406. package/ui/Elements/Icon/icons/ToastSuccess.d.ts +1 -0
  407. package/ui/Elements/Icon/icons/Transfer.d.ts +2 -1
  408. package/ui/Elements/Icon/icons/TrashBin.d.ts +1 -0
  409. package/ui/Elements/Icon/icons/Truck.d.ts +2 -1
  410. package/ui/Elements/Icon/icons/TwoBoxes.d.ts +2 -1
  411. package/ui/Elements/Icon/icons/TwoCheckedBoxes.d.ts +2 -1
  412. package/ui/Elements/Icon/icons/TwoUsers.d.ts +2 -1
  413. package/ui/Elements/Icon/icons/Valuable.d.ts +3 -2
  414. package/ui/Elements/Icon/index.d.ts +2 -1
  415. package/ui/Elements/Icon/stories/BadgeIcon.stories.d.ts +6 -6
  416. package/ui/Elements/Icon/stories/Icon.stories.d.ts +3 -3
  417. package/ui/Elements/Icon/types.d.ts +1 -3
  418. package/ui/Elements/Image/Image.d.ts +3 -1
  419. package/ui/Elements/Image/Image.js +13 -1
  420. package/ui/Elements/Image/index.d.ts +2 -1
  421. package/ui/Elements/Image/stories/Image.stories.d.ts +3 -3
  422. package/ui/Elements/Image/types.d.ts +6 -7
  423. package/ui/Elements/Label/Label.d.ts +3 -3
  424. package/ui/Elements/Label/index.d.ts +1 -0
  425. package/ui/Elements/Label/stories/Label.stories.d.ts +4 -3
  426. package/ui/Elements/Line/Line.d.ts +1 -0
  427. package/ui/Elements/Line/index.d.ts +2 -1
  428. package/ui/Elements/Line/stories/Line.stories.d.ts +3 -2
  429. package/ui/Elements/Line/types.d.ts +3 -4
  430. package/ui/Elements/Link/Link.d.ts +4 -13
  431. package/ui/Elements/Link/Link.js +3 -11
  432. package/ui/Elements/Link/index.d.ts +2 -1
  433. package/ui/Elements/Link/stories/Link.stories.d.ts +17 -27
  434. package/ui/Elements/Logo/Logo.d.ts +4 -2
  435. package/ui/Elements/Logo/Logo.js +3 -3
  436. package/ui/Elements/Logo/index.d.ts +2 -1
  437. package/ui/Elements/Logo/stories/Logo.stories.d.ts +3 -3
  438. package/ui/Elements/MultiSelect/MultiSelect.d.ts +3 -1
  439. package/ui/Elements/MultiSelect/index.d.ts +2 -1
  440. package/ui/Elements/Pagination/Pagination.d.ts +3 -1
  441. package/ui/Elements/Pagination/index.d.ts +2 -1
  442. package/ui/Elements/Pagination/stories/Pagination.stories.d.ts +3 -2
  443. package/ui/Elements/Pagination/styled.d.ts +6 -7
  444. package/ui/Elements/Portal/index.d.ts +5 -4
  445. package/ui/Elements/ProgressBar/ProgressBar.d.ts +3 -1
  446. package/ui/Elements/ProgressBar/index.d.ts +2 -1
  447. package/ui/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +9 -8
  448. package/ui/Elements/ProgressBar/styles.d.ts +4 -4
  449. package/ui/Elements/Select/Select.d.ts +3 -1
  450. package/ui/Elements/Select/Select.js +48 -7
  451. package/ui/Elements/Select/components/SelectAll.d.ts +1 -0
  452. package/ui/Elements/Select/components/SelectedIndicator.d.ts +1 -1
  453. package/ui/Elements/Select/components/SimplifiedOption.d.ts +1 -2
  454. package/ui/Elements/Select/index.d.ts +2 -1
  455. package/ui/Elements/Select/styles.d.ts +6 -5
  456. package/ui/Elements/Select/themes/index.d.ts +4 -3
  457. package/ui/Elements/Select/themes/selectStyles.d.ts +2 -1
  458. package/ui/Elements/Select/types.d.ts +4 -3
  459. package/ui/Elements/SimpleLink/SimpleLink.d.ts +3 -2
  460. package/ui/Elements/SimpleLink/index.d.ts +2 -1
  461. package/ui/Elements/SingleSelect/SingleSelect.d.ts +5 -5
  462. package/ui/Elements/SingleSelect/SingleSelect.js +30 -22
  463. package/ui/Elements/SingleSelect/index.d.ts +2 -1
  464. package/ui/Elements/SpaceAround/SpaceAround.d.ts +3 -1
  465. package/ui/Elements/SpaceAround/SpaceAround.js +1 -2
  466. package/ui/Elements/SpaceAround/index.d.ts +2 -1
  467. package/ui/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +3 -3
  468. package/ui/Elements/SpaceAround/types.d.ts +0 -1
  469. package/ui/Elements/Spinner/Spinner.d.ts +4 -2
  470. package/ui/Elements/Spinner/Spinner.js +2 -2
  471. package/ui/Elements/Spinner/index.d.ts +2 -1
  472. package/ui/Elements/Spinner/stories/Spinner.stories.d.ts +3 -2
  473. package/ui/Elements/Spinner/styles.d.ts +3 -3
  474. package/ui/Elements/Spinner/types.d.ts +4 -5
  475. package/ui/Elements/Table/Table.d.ts +6 -6
  476. package/ui/Elements/Table/stories/Table.stories.d.ts +1 -1
  477. package/ui/Elements/Tag/Tag.d.ts +3 -2
  478. package/ui/Elements/Tag/index.d.ts +2 -1
  479. package/ui/Elements/Tag/palletes.d.ts +2 -1
  480. package/ui/Elements/Tag/stories/Tag.stories.d.ts +4 -3
  481. package/ui/Elements/Tag/stories/Tag.stories.js +22 -22
  482. package/ui/Elements/Tag/stories/components/predefinedTags.d.ts +3 -1
  483. package/ui/Elements/Tag/stories/components/predefinedTags.js +2 -2
  484. package/ui/Elements/Tag/types.d.ts +0 -1
  485. package/ui/Elements/Text/Text.d.ts +4 -2
  486. package/ui/Elements/Text/index.d.ts +2 -1
  487. package/ui/Elements/Text/stories/Text.stories.d.ts +3 -3
  488. package/ui/Elements/Text/types.d.ts +1 -0
  489. package/ui/Elements/Toast/Toast.d.ts +3 -1
  490. package/ui/Elements/Toast/Toast.js +4 -2
  491. package/ui/Elements/Toast/constants.d.ts +2 -1
  492. package/ui/Elements/Toast/index.d.ts +2 -1
  493. package/ui/Elements/Toast/stories/Toast.stories.d.ts +3 -3
  494. package/ui/Elements/Toast/styles.d.ts +6 -6
  495. package/ui/Elements/Toggle/Toggle.d.ts +4 -2
  496. package/ui/Elements/Toggle/index.d.ts +2 -1
  497. package/ui/Elements/Toggle/stories/Toggle.stories.d.ts +3 -3
  498. package/ui/Elements/Toggle/types.d.ts +1 -0
  499. package/ui/Elements/Tooltip/Tooltip.d.ts +5 -4
  500. package/ui/Elements/Tooltip/Tooltip.js +8 -4
  501. package/ui/Elements/Tooltip/index.d.ts +2 -1
  502. package/ui/Elements/Tooltip/stories/Tooltip.stories.d.ts +3 -3
  503. package/ui/Elements/Typography/Typography.d.ts +15 -13
  504. package/ui/Elements/Typography/index.d.ts +1 -0
  505. package/ui/Elements/Typography/stories/Typography.stories.d.ts +2 -1
  506. package/ui/Forms/Checkbox/Checkbox.d.ts +4 -3
  507. package/ui/Forms/Checkbox/index.d.ts +2 -1
  508. package/ui/Forms/Checkbox/stories/Checkbox.stories.d.ts +2 -2
  509. package/ui/Forms/Checkbox/styles.d.ts +4 -5
  510. package/ui/Forms/Checkbox/types.d.ts +3 -2
  511. package/ui/Forms/Input/Input.d.ts +4 -2
  512. package/ui/Forms/Input/Input.js +3 -3
  513. package/ui/Forms/Input/index.d.ts +1 -0
  514. package/ui/Forms/Input/stories/Input.stories.d.ts +3 -2
  515. package/ui/Forms/Input/styles.d.ts +12 -12
  516. package/ui/Forms/Input/types.d.ts +3 -5
  517. package/ui/Forms/RadioButton/RadioButton.d.ts +3 -1
  518. package/ui/Forms/RadioButton/RadioButton.js +1 -1
  519. package/ui/Forms/RadioButton/index.d.ts +2 -1
  520. package/ui/Forms/RadioButton/stories/RadioButton.stories.d.ts +3 -3
  521. package/ui/Forms/RadioButton/styles.d.ts +6 -6
  522. package/ui/Forms/RadioButton/types.d.ts +1 -0
  523. package/ui/Forms/TextArea/TextArea.d.ts +4 -3
  524. package/ui/Forms/TextArea/TextArea.js +3 -3
  525. package/ui/Forms/TextArea/index.d.ts +2 -1
  526. package/ui/Forms/TextArea/styles.d.ts +10 -10
  527. package/ui/ThemeProvider/ThemeProvider.d.ts +2 -2
  528. package/ui/ThemeProvider/index.d.ts +3 -2
  529. package/ui/ThemeProvider/themes/default.js +1 -1
  530. package/ui/ThemeProvider/themes/index.d.ts +1 -1
  531. package/ui/ThemeProvider/themes/light.d.ts +2 -1
  532. package/ui/ThemeProvider/themes/mailwise.js +1 -1
  533. package/ui/ThemeProvider/types.d.ts +2 -1
  534. package/ui/index.d.ts +49 -48
  535. package/ui/index.es.js +19154 -19769
  536. package/ui/index.umd.js +648 -864
  537. package/ui/utils/CreateRgba/createRgba.d.ts +1 -0
  538. package/ui/utils/KeyPress/KeyPress.d.ts +1 -0
  539. package/ui/utils/KeyPress/KeyPress.stories.d.ts +2 -1
  540. package/ui/utils/KeyPress/index.d.ts +2 -1
  541. package/ui/utils/index.d.ts +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.7.67",
3
+ "version": "0.7.68-beta.1",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -55,9 +55,9 @@
55
55
  "@types/lodash": "^4.17.13",
56
56
  "@types/luxon": "^3.4.2",
57
57
  "@types/node": "^20.1.7",
58
- "@types/react": "^18.2.6",
58
+ "@types/react": "^19.2.2",
59
59
  "@types/react-beautiful-dnd": "^13.1.2",
60
- "@types/react-dom": "^18.2.4",
60
+ "@types/react-dom": "^19.2.2",
61
61
  "@types/react-helmet": "^6.1.11",
62
62
  "@types/react-router": "^5.1.20",
63
63
  "@types/react-router-dom": "^5.3.3",
@@ -86,8 +86,8 @@
86
86
  "luxon": "^3.4.4",
87
87
  "moment": "^2.30.1",
88
88
  "prettier": "2.8.8",
89
- "react": "^18.2.0",
90
- "react-dom": "^18.2.0",
89
+ "react": "^19.2.0",
90
+ "react-dom": "^19.2.0",
91
91
  "react-helmet": "^6.1.0",
92
92
  "react-image": "^4.1.0",
93
93
  "react-onclickoutside": "^6.13.0",
@@ -131,8 +131,8 @@
131
131
  "lodash": "^4.17.21",
132
132
  "luxon": "^3.4.4",
133
133
  "moment": "^2.30.1",
134
- "react": "^18.2.0",
135
- "react-dom": "^18.2.0",
134
+ "react": "^19.2.0",
135
+ "react-dom": "^19.2.0",
136
136
  "react-helmet": "^6.1.0",
137
137
  "react-image": "^4.1.0",
138
138
  "react-onclickoutside": "^6.13.0",
@@ -1,5 +1,7 @@
1
- import type { DragEndEvent } from '@dnd-kit/core';
2
- import type { CommonGridProps, FiltersConfig, ColumnDefinition } from './types';
1
+ import { FC } from 'react';
2
+ import { DragEndEvent } from '@dnd-kit/core';
3
+ import { CommonGridProps, FiltersConfig, ColumnDefinition } from './types';
4
+
3
5
  type Props = CommonGridProps & {
4
6
  filters?: FiltersConfig;
5
7
  handleDragEnd: (item: DragEndEvent) => void;
@@ -7,5 +9,5 @@ type Props = CommonGridProps & {
7
9
  hasGroups: boolean;
8
10
  hasFilters: boolean;
9
11
  };
10
- declare const CommonGrid: ({ filters, comparators, handleDragEnd, gridSelectors, gridActions, isLoading, rowsData, hasColouredRows, actionColumnDefinition, allowRowSelect, allowRowSelectOnAction, onRowAction, onRowClick, columnLayout, displayColumnsDefinitions, className, minColumnWidth, errorMessage, floatingButtonProps, hasGroups, hasFilters, isSortTerminated }: Props) => JSX.Element;
12
+ declare const CommonGrid: FC<Props>;
11
13
  export default CommonGrid;
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import React from 'react';
13
+ import { useCallback, useMemo } from 'react';
14
14
  import DataRow from './components/DataRow';
15
15
  import FilterRow from './components/FilterRow';
16
16
  import FloatingButton from './components/FloatingButton/FloatingButton';
@@ -45,10 +45,10 @@ var CommonGrid = function (_a) {
45
45
  var handleRowsKeyDown = useRowsKeyControls(rowsData, uxState, handleUxChange);
46
46
  useUxReset(rowsData, uxState, clearUxState);
47
47
  var _k = useColumnSizes(displayColumnsDefinitions, columnsWidth, columnsWidthVariant, setColumnWidth, columnLayout, minColumnWidth), displayColumnsWidth = _k.displayColumnsWidth, totalColumnsWidth = _k.totalColumnsWidth, gridBoxRef = _k.gridBoxRef, handleResizeDrag = _k.handleResizeDrag;
48
- var groups = React.useMemo(function () {
48
+ var groups = useMemo(function () {
49
49
  return getGroups(displayColumnsDefinitions);
50
50
  }, [displayColumnsDefinitions]);
51
- var commonGridRef = React.useCallback(function (node) {
51
+ var commonGridRef = useCallback(function (node) {
52
52
  gridBoxRef.current = node;
53
53
  }, []);
54
54
  var isEmpty = !isLoading && !errorMessage && (!rowsData || rowsData.length < 1);
@@ -1,3 +1,5 @@
1
- import type { GridProps } from './types';
2
- declare const CommonGridContainer: (props: GridProps) => JSX.Element;
1
+ import { FC } from 'react';
2
+ import { GridProps } from './types';
3
+
4
+ declare const CommonGridContainer: FC<GridProps>;
3
5
  export default CommonGridContainer;
@@ -1,3 +1,4 @@
1
- import type { FC } from 'react';
1
+ import { FC } from 'react';
2
+
2
3
  declare const withProps: (input: any) => <P>(Component: FC<P>) => FC<P>;
3
4
  export default withProps;
@@ -1,2 +1,2 @@
1
- declare const withReduxActions: (gridName: string, prefix?: string) => import("react-redux").InferableComponentEnhancerWithProps<{}, {}>;
1
+ declare const withReduxActions: (gridName: string, prefix?: string) => import('react-redux').InferableComponentEnhancerWithProps<{}, {}>;
2
2
  export default withReduxActions;
@@ -1,4 +1,6 @@
1
+ import { FC } from 'react';
1
2
  import { GridActionsType, GridSelectorsType, OnBatchActionFn, RowProps, ActionColumn } from '../../types';
3
+
2
4
  type Props = {
3
5
  gridActions: GridActionsType;
4
6
  gridSelectors: GridSelectorsType;
@@ -8,5 +10,5 @@ type Props = {
8
10
  processCheckedValues?: () => void;
9
11
  processCheckedValuesTitle?: string;
10
12
  };
11
- declare const ActionHead: ({ gridActions, gridSelectors, actionOptions, onBatchAction, rowsData, processCheckedValues, processCheckedValuesTitle }: Props) => JSX.Element;
13
+ declare const ActionHead: FC<Props>;
12
14
  export default ActionHead;
@@ -32,7 +32,9 @@ var ActionHead = function (_a) {
32
32
  if (actionOptions === null || actionOptions === void 0 ? void 0 : actionOptions.length) {
33
33
  return actionOptions.map(function (option) { return ({
34
34
  title: option.label,
35
- onClick: function () { return onSubmit(option.value); },
35
+ onClick: function () {
36
+ onSubmit(option.value);
37
+ },
36
38
  link: '#'
37
39
  }); });
38
40
  }
@@ -1,6 +1,7 @@
1
- import { FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
+
2
3
  type ItemType = {
3
- title: string | JSX.Element;
4
+ title: string | ReactNode;
4
5
  onClick: () => void;
5
6
  link: string;
6
7
  };
@@ -1,6 +1,7 @@
1
- import React from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
+
2
3
  type Item = {
3
- label: string | JSX.Element;
4
+ label: string | ReactNode;
4
5
  value: string;
5
6
  };
6
7
  type DropdownSelectProps = {
@@ -8,5 +9,5 @@ type DropdownSelectProps = {
8
9
  onSelect: (value: Item['value']) => void;
9
10
  disabled?: boolean;
10
11
  };
11
- declare const _default: React.MemoExoticComponent<({ options, onSelect, disabled }: DropdownSelectProps) => JSX.Element>;
12
+ declare const _default: React.NamedExoticComponent<DropdownSelectProps>;
12
13
  export default _default;
@@ -4,12 +4,12 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  };
5
5
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
6
6
  import React, { memo, useRef } from 'react';
7
+ import Icon from '../../../../../Elements/Icon/Icon';
8
+ import Popover from '../../../../Popover';
9
+ import { Trans } from '@lingui/react';
7
10
  import styled from '@xstyled/styled-components';
8
11
  import { th } from '@xstyled/system';
9
- import { Trans } from '@lingui/react';
10
12
  import ActionDropdownMenu from './ActionDropdownMenu';
11
- import Popover from '../../../../Popover';
12
- import Icon from '../../../../../Elements/Icon/Icon';
13
13
  var Content = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n padding: 1 2;\n min-width: 9rem;\n height: 28px;\n background-color: ", ";\n color: ", ";\n border: slim;\n border-color: ", ";\n font-size: 12px;\n font-weight: 600;\n border-radius: 6px;\n cursor: ", ";\n transition: 0.2s;\n &:not(:disabled):hover {\n color: ", ";\n border-color: ", ";\n }\n p {\n margin: 0;\n margin-right: auto;\n padding-right: 36px;\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n padding: 1 2;\n min-width: 9rem;\n height: 28px;\n background-color: ", ";\n color: ", ";\n border: slim;\n border-color: ", ";\n font-size: 12px;\n font-weight: 600;\n border-radius: 6px;\n cursor: ", ";\n transition: 0.2s;\n &:not(:disabled):hover {\n color: ", ";\n border-color: ", ";\n }\n p {\n margin: 0;\n margin-right: auto;\n padding-right: 36px;\n }\n"])), th.color('white'), function (_a) {
14
14
  var $isDisabled = _a.$isDisabled;
15
15
  return ($isDisabled ? th.color('lightGray7') : th.color('lightGray5'));
@@ -37,7 +37,13 @@ var ActionDropdownSelect = function (_a) {
37
37
  setShowDropdownMenu(false);
38
38
  onSelect(item.value);
39
39
  }, [onSelect]);
40
- var items = options.map(function (item) { return ({ title: item.label, onClick: function () { return handleSelectItem(item); }, link: '#' }); });
40
+ var items = options.map(function (item) { return ({
41
+ title: item.label,
42
+ onClick: function () {
43
+ handleSelectItem(item);
44
+ },
45
+ link: '#'
46
+ }); });
41
47
  var ref = useRef(null);
42
48
  return (_jsxs(_Fragment, { children: [_jsxs(Content, { "$isDisabled": disabled, "$isOpened": showDropdownMenu, onClick: toggleDropdownMenu, ref: ref, children: [_jsx("p", { children: _jsx(Trans, { id: "dataGrid.buttonActions", message: "Actions" }) }), _jsx(IconWrap, { "$isDisabled": disabled, "$isOpened": showDropdownMenu, children: _jsx(Icon, { icon: "goDown" }) })] }), showDropdownMenu && !disabled && (items === null || items === void 0 ? void 0 : items.length) > 0 && (_jsx(Popover, { parentRef: ref, onClose: toggleDropdownMenu, placement: "bottom-start", children: _jsx(ActionDropdownMenu, { items: items }) }))] }));
43
49
  };
@@ -1,2 +1,3 @@
1
- import ActionHead from './ActionHead';
1
+ import { default as ActionHead } from './ActionHead';
2
+
2
3
  export default ActionHead;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React, FC } from 'react';
2
+
2
3
  type ItemType = {
3
4
  title: string | React.ReactElement;
4
5
  onClick: () => void;
@@ -9,5 +10,5 @@ export type Props = {
9
10
  disabled?: boolean;
10
11
  dropdownPosition?: 'top' | 'bottom';
11
12
  };
12
- declare const ButtonMore: ({ items, disabled, dropdownPosition }: Props) => JSX.Element;
13
+ declare const ButtonMore: FC<Props>;
13
14
  export default ButtonMore;
@@ -4,10 +4,10 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  };
5
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
6
  import { useCallback, useState } from 'react';
7
- import styled from '@xstyled/styled-components';
8
- import { useClickOutside } from '../../../Modal/hooks/useClickOutside';
9
7
  import Button from '../../../../Elements/Button/Button';
10
8
  import DropdownMenu from '../../../../Elements/DropdownMenu';
9
+ import { useClickOutside } from '../../../Modal/hooks/useClickOutside';
10
+ import styled from '@xstyled/styled-components';
11
11
  var ButtonWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: fit-content;\n"], ["\n position: relative;\n width: fit-content;\n"])));
12
12
  var StyledDropdownMenu = styled(DropdownMenu)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: ", ";\n bottom: ", ";\n right: 0;\n width: max-content;\n z-index: 2;\n"], ["\n position: absolute;\n top: ", ";\n bottom: ", ";\n right: 0;\n width: max-content;\n z-index: 2;\n"])), function (_a) {
13
13
  var dropdownPosition = _a.dropdownPosition;
@@ -1,2 +1,3 @@
1
- import ButtonMore from './ButtonMore';
1
+ import { default as ButtonMore } from './ButtonMore';
2
+
2
3
  export default ButtonMore;
@@ -1,4 +1,6 @@
1
- import type { ColumnDefinition, GridActionsType, FiltersConfig, CustomComparators, Group, ActionColumn, UxState, RowProps } from '../types';
1
+ import { FC } from 'react';
2
+ import { ColumnDefinition, GridActionsType, FiltersConfig, CustomComparators, Group, ActionColumn, UxState, RowProps } from '../types';
3
+
2
4
  type Props = {
3
5
  onChange: Required<GridActionsType>['addFilter'];
4
6
  value?: any;
@@ -13,5 +15,5 @@ type Props = {
13
15
  uxState: UxState;
14
16
  handleUxChange: GridActionsType['handleUxChange'];
15
17
  };
16
- declare const ColumnFilterCell: ({ onChange, value, others, displayColumnWidth, filters, column: columnDefinition, group, comparators, actionColumn, rowsData, uxState, handleUxChange }: Props) => JSX.Element;
18
+ declare const ColumnFilterCell: FC<Props>;
17
19
  export default ColumnFilterCell;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ColumnTitleComponentType } from '../../types';
3
+
3
4
  declare const ColumnTitle: React.FC<ColumnTitleComponentType>;
4
5
  export default ColumnTitle;
@@ -1,2 +1,3 @@
1
- import ColumnTitle from './ColumnTitle';
1
+ import { default as ColumnTitle } from './ColumnTitle';
2
+
2
3
  export default ColumnTitle;
@@ -1,4 +1,5 @@
1
- import React from 'react';
2
- import type { ColumnTitleComponentType } from '../types';
1
+ import { default as React } from 'react';
2
+ import { ColumnTitleComponentType } from '../types';
3
+
3
4
  declare const _default: React.NamedExoticComponent<ColumnTitleComponentType>;
4
5
  export default _default;
@@ -1,11 +1,12 @@
1
- import { Dispatch } from 'react';
1
+ import { default as React, Dispatch, FC } from 'react';
2
2
  import { CommonGridProps, GridActionsType, GridSelectorsType, ColumnDefinition, FiltersConfig } from '../../types';
3
+
3
4
  type Props = {
4
5
  extraControlButtons: CommonGridProps['extraControlButtons'];
5
6
  gridActions: GridActionsType;
6
7
  gridSelectors: GridSelectorsType;
7
8
  quickFilter?: CommonGridProps['quickFilter'];
8
- displayColumnsDefinitions?: ColumnDefinition<string>[];
9
+ displayColumnsDefinitions?: Array<ColumnDefinition<string>>;
9
10
  filters?: FiltersConfig;
10
11
  hideControlButtons?: boolean;
11
12
  displayManageColumnButton?: boolean;
@@ -17,5 +18,5 @@ type Props = {
17
18
  withPresets?: boolean;
18
19
  withManageColumnButton?: boolean;
19
20
  };
20
- declare const ControlButtons: ({ extraControlButtons, gridActions, gridSelectors, quickFilter, displayColumnsDefinitions, filters, hideControlButtons, displayManageColumnButton, openManageColumnForm, setDisplayManageColumnButton, onOpenPresetsModal, gridName, selectedPresetName, withPresets, withManageColumnButton }: Props) => JSX.Element;
21
+ declare const ControlButtons: FC<Props>;
21
22
  export default ControlButtons;
@@ -1,2 +1,3 @@
1
- import ControlButtons from './ControlButtons';
1
+ import { default as ControlButtons } from './ControlButtons';
2
+
2
3
  export default ControlButtons;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- export declare const ControlButtonsContainer: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, {}, never>;
3
- export declare const Left: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, {}, never>;
4
- export declare const Right: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, {}, never>;
5
- export declare const StyledColumnButton: import("styled-components").StyledComponent<({ isLoading, loadingText, icon, iconLeft, iconRight, variant, appearance, disabled, fullWidth, height, buttonRef, onClick, ...props }: import("../../../../Elements/Button/types").Props) => JSX.Element, import("@xstyled/system").Theme, {}, never>;
1
+ export declare const ControlButtonsContainer: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
2
+ export declare const Left: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
3
+ export declare const Right: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
4
+ export declare const StyledColumnButton: import('styled-components').StyledComponent<import('react').FC<import('../../../../Elements/Button/types').Props>, import('@xstyled/system').Theme, {}, never>;
@@ -1,5 +1,6 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ColumnDefinition, RowProps, Group } from '../types';
3
+
3
4
  type DataCellPros = {
4
5
  column: ColumnDefinition;
5
6
  rowData: RowProps;
@@ -11,9 +11,9 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import React from 'react';
14
+ import { getCellSizeProps, getGroupClassNames, getStickyCollClassNames } from '../utils';
14
15
  import get from 'lodash/fp/get';
15
16
  import { TextCell } from './Table';
16
- import { getCellSizeProps, getGroupClassNames, getStickyCollClassNames } from '../utils';
17
17
  var DataCell = function (_a) {
18
18
  var column = _a.column, group = _a.group, rowData = _a.rowData, onRowAction = _a.onRowAction, displayColumnWidth = _a.displayColumnWidth, rowIndex = _a.rowIndex;
19
19
  var Wrapper = column.fixedSize ? 'div' : TextCell;
@@ -1,4 +1,6 @@
1
- import type { ColumnDefinition, RowProps, UxState, GridSelectorsType, Group } from '../types';
1
+ import { FC } from 'react';
2
+ import { ColumnDefinition, RowProps, UxState, GridSelectorsType, Group } from '../types';
3
+
2
4
  type DataRowProps = {
3
5
  columns: ColumnDefinition[];
4
6
  rowData: RowProps;
@@ -14,5 +16,5 @@ type DataRowProps = {
14
16
  groups: Group[];
15
17
  isEven?: boolean;
16
18
  };
17
- declare const DataRow: ({ columns, rowData, rowIndex, uxState, allowRowSelect, allowRowSelectOnAction, onUxChange, onRowClick, onRowAction, displayColumnsWidth, groups, isEven }: DataRowProps) => JSX.Element;
19
+ declare const DataRow: FC<DataRowProps>;
18
20
  export default DataRow;
@@ -1,10 +1,11 @@
1
- /// <reference types="react" />
2
- import { Item } from '../../types';
1
+ import { ReactNode, FC } from 'react';
3
2
  import { AppearanceValue } from '../../../../Elements/Button/types';
3
+ import { Item } from '../../types';
4
+
4
5
  type Props = {
5
- label: string | JSX.Element;
6
+ label: string | ReactNode;
6
7
  items: Item[];
7
8
  appearance?: AppearanceValue;
8
9
  };
9
- declare const DropdownButton: ({ label, items, appearance }: Props) => JSX.Element;
10
+ declare const DropdownButton: FC<Props>;
10
11
  export default DropdownButton;
@@ -3,12 +3,12 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- import styled from '@xstyled/styled-components';
7
6
  import React, { useCallback, useState } from 'react';
8
7
  import Button from '../../../../Elements/Button/Button';
9
- import { useClickOutside } from '../../../Modal/hooks/useClickOutside';
10
8
  import DropdownMenu from '../../../../Elements/DropdownMenu';
11
9
  import { ArrowDown, ArrowUp } from '../../../../Elements/Icon';
10
+ import { useClickOutside } from '../../../Modal/hooks/useClickOutside';
11
+ import styled from '@xstyled/styled-components';
12
12
  import { th } from '@xstyled/system';
13
13
  var ButtonWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: fit-content;\n"], ["\n position: relative;\n width: fit-content;\n"])));
14
14
  var StyledDropdownMenu = styled(DropdownMenu)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n width: max-content;\n z-index: 2;\n"], ["\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n width: max-content;\n z-index: 2;\n"])));
@@ -21,7 +21,9 @@ var Separator = styled.div(templateObject_5 || (templateObject_5 = __makeTemplat
21
21
  var DropdownButton = function (_a) {
22
22
  var label = _a.label, items = _a.items, appearance = _a.appearance;
23
23
  var _b = useState(false), showDropdownMenu = _b[0], setShowDropdownMenu = _b[1];
24
- var onClose = useCallback(function () { return setShowDropdownMenu(false); }, []);
24
+ var onClose = useCallback(function () {
25
+ setShowDropdownMenu(false);
26
+ }, []);
25
27
  var handleClick = React.useCallback(function () {
26
28
  setShowDropdownMenu(function (prev) { return !prev; });
27
29
  }, []);
@@ -1,2 +1,3 @@
1
- import DropdownButton from './DropdownButton';
1
+ import { default as DropdownButton } from './DropdownButton';
2
+
2
3
  export default DropdownButton;
@@ -1,8 +1,10 @@
1
+ import { FC } from 'react';
1
2
  import { CommonGridProps, ExtraControlButton } from '../../types';
2
- export declare const Row: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, {}, never>;
3
+
4
+ export declare const Row: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
3
5
  type Props = {
4
6
  extraControlButtons: CommonGridProps['extraControlButtons'];
5
7
  targetPosition: ExtraControlButton['position'];
6
8
  };
7
- declare const ExtraControlButtons: ({ extraControlButtons, targetPosition }: Props) => JSX.Element;
9
+ declare const ExtraControlButtons: FC<Props>;
8
10
  export default ExtraControlButtons;
@@ -14,9 +14,9 @@ var __assign = (this && this.__assign) || function () {
14
14
  return __assign.apply(this, arguments);
15
15
  };
16
16
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
17
- import styled, { x } from '@xstyled/styled-components';
18
17
  import Button from '../../../../Elements/Button/Button';
19
18
  import DropdownSelect from '../../../../Elements/DropdownSelect';
19
+ import styled, { x } from '@xstyled/styled-components';
20
20
  export var Row = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n & > * {\n margin-right: 12px;\n }\n z-index: 2;\n"], ["\n display: flex;\n & > * {\n margin-right: 12px;\n }\n z-index: 2;\n"])));
21
21
  var StyledButton = styled(Button)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: none;\n\n @media (min-width: 1024px) {\n display: block;\n }\n"], ["\n display: none;\n\n @media (min-width: 1024px) {\n display: block;\n }\n"])));
22
22
  var ControlButton = function (_a) {
@@ -1,2 +1,3 @@
1
- import ExtraControlButtons from './ExtraControlButtons';
1
+ import { default as ExtraControlButtons } from './ExtraControlButtons';
2
+
2
3
  export default ExtraControlButtons;
@@ -1,3 +1,4 @@
1
- import { PropsWithChildren } from 'react';
2
- declare const OverlayComponent: ({ children }: PropsWithChildren<{}>) => JSX.Element;
1
+ import { PropsWithChildren, ReactElement } from 'react';
2
+
3
+ declare const OverlayComponent: ({ children }: PropsWithChildren) => ReactElement;
3
4
  export default OverlayComponent;
@@ -10,22 +10,22 @@ var OverlayComponent = function (_a) {
10
10
  var children = _a.children;
11
11
  var overlayRef = React.useRef(null);
12
12
  React.useEffect(function () {
13
- var _a;
13
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
14
  var Overlay = overlayRef.current;
15
15
  if (!Overlay)
16
16
  return;
17
- var FilterCell = Overlay === null || Overlay === void 0 ? void 0 : Overlay.closest('.cell');
17
+ var FilterCell = Overlay.closest('.cell');
18
18
  var GridWrapper = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.closest('.gridWrapper');
19
19
  // position of left edge of filter cell
20
- var relativeLeftOffset = (FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft) - ((_a = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.parentElement) === null || _a === void 0 ? void 0 : _a.offsetLeft); // parent element = row
20
+ var relativeLeftOffset = ((_a = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft) !== null && _a !== void 0 ? _a : 0) - ((_c = (_b = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.parentElement) === null || _b === void 0 ? void 0 : _b.offsetLeft) !== null && _c !== void 0 ? _c : 0); // parent element = row
21
21
  // space available to the right edge of visible part of grid
22
- var spaceTotal = (GridWrapper === null || GridWrapper === void 0 ? void 0 : GridWrapper.clientWidth) + (GridWrapper === null || GridWrapper === void 0 ? void 0 : GridWrapper.scrollLeft) - relativeLeftOffset;
22
+ var spaceTotal = ((_d = GridWrapper === null || GridWrapper === void 0 ? void 0 : GridWrapper.clientWidth) !== null && _d !== void 0 ? _d : 0) + ((_e = GridWrapper === null || GridWrapper === void 0 ? void 0 : GridWrapper.scrollLeft) !== null && _e !== void 0 ? _e : 0) - relativeLeftOffset;
23
23
  // difference between availible space and width
24
- var spaceLeft = spaceTotal - (Overlay === null || Overlay === void 0 ? void 0 : Overlay.clientWidth);
24
+ var spaceLeft = spaceTotal - ((_f = Overlay.clientWidth) !== null && _f !== void 0 ? _f : 0);
25
25
  // left position
26
- var left = spaceLeft > 0 ? FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft : (FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft) + spaceLeft;
26
+ var left = spaceLeft > 0 ? (_g = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft) !== null && _g !== void 0 ? _g : 0 : ((_h = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetLeft) !== null && _h !== void 0 ? _h : 0) + spaceLeft;
27
27
  // top calculation
28
- var topOffset = (FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetTop) + (FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.clientHeight);
28
+ var topOffset = ((_j = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.offsetTop) !== null && _j !== void 0 ? _j : 0) + ((_k = FilterCell === null || FilterCell === void 0 ? void 0 : FilterCell.clientHeight) !== null && _k !== void 0 ? _k : 0);
29
29
  Overlay.style.left = "".concat(left, "px");
30
30
  Overlay.style.top = "".concat(topOffset, "px");
31
31
  Overlay.style.visibility = "initial";
@@ -1,4 +1,6 @@
1
- import type { Settings, ColumnDefinition as ColumnDefinitionType, ActionColumn, GridActionsType, GridSelectorsType, Group, CustomComparators, FiltersConfig, UxState, RowProps } from '../types';
1
+ import { FC } from 'react';
2
+ import { Settings, ColumnDefinition as ColumnDefinitionType, ActionColumn, GridActionsType, GridSelectorsType, Group, CustomComparators, FiltersConfig, UxState, RowProps } from '../types';
3
+
2
4
  type Props = {
3
5
  columns: ColumnDefinitionType[];
4
6
  actionColumn?: ActionColumn;
@@ -12,5 +14,5 @@ type Props = {
12
14
  rowsData: RowProps[];
13
15
  uxState: UxState;
14
16
  };
15
- declare const FilterRow: ({ columns, groups, actionColumn, onChange, filterValues, displayColumnsWidth, filters, comparators, handleUxChange, rowsData, uxState }: Props) => JSX.Element;
17
+ declare const FilterRow: FC<Props>;
16
18
  export default FilterRow;
@@ -1,5 +1,6 @@
1
- import type { FC } from 'react';
2
- import type { ActionColumn, GridActionsType, RowProps, UxState } from '../../../types';
1
+ import { FC } from 'react';
2
+ import { ActionColumn, GridActionsType, RowProps, UxState } from '../../../types';
3
+
3
4
  type Props = {
4
5
  actionColumn?: ActionColumn;
5
6
  rowsData?: RowProps[];
@@ -1,2 +1,3 @@
1
- import ActionsFilter from './ActionsFilter';
1
+ import { default as ActionsFilter } from './ActionsFilter';
2
+
2
3
  export default ActionsFilter;
@@ -1,6 +1,8 @@
1
+ import { FC } from 'react';
2
+
1
3
  type Props = {
2
4
  onChange: (data: any) => void;
3
5
  value?: string;
4
6
  };
5
- declare const SelectFilter: ({ ...restProps }: Props) => JSX.Element;
7
+ declare const SelectFilter: FC<Props>;
6
8
  export default SelectFilter;
@@ -9,17 +9,6 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
12
  import { jsx as _jsx } from "react/jsx-runtime";
24
13
  import { useMemo } from 'react';
25
14
  import GridSelect from '../GridSelect';
@@ -27,11 +16,10 @@ import { i18n } from '@lingui/core';
27
16
  var getFlagOptions = function () { return [
28
17
  { value: '', label: i18n._({ id: 'dataGrid.columnActive.filterOptions.all', message: 'All' }) },
29
18
  { value: '1', label: i18n._({ id: 'dataGrid.columnActive.filterOptions.yes', message: 'Yes' }) },
30
- { value: '0', label: i18n._({ id: 'dataGrid.columnActive.filterOptions.no', message: 'No' }) },
19
+ { value: '0', label: i18n._({ id: 'dataGrid.columnActive.filterOptions.no', message: 'No' }) }
31
20
  ]; };
32
- var SelectFilter = function (_a) {
33
- var restProps = __rest(_a, []);
21
+ var SelectFilter = function (props) {
34
22
  var options = useMemo(function () { return getFlagOptions(); }, []);
35
- return _jsx(GridSelect, __assign({ options: options }, restProps));
23
+ return _jsx(GridSelect, __assign({ options: options }, props));
36
24
  };
37
25
  export default SelectFilter;
@@ -1,2 +1,3 @@
1
- import BooleanSelect from './BooleanSelect';
1
+ import { default as BooleanSelect } from './BooleanSelect';
2
+
2
3
  export default BooleanSelect;
@@ -1,5 +1,7 @@
1
- import type { DateTimeOthers } from '../../../../../Elements/DatePicker/Datetime/types';
2
- import type { FilterComponentProps } from '../../../types';
1
+ import { FC } from 'react';
2
+ import { DateTimeOthers } from '../../../../../Elements/DatePicker/Datetime/types';
3
+ import { FilterComponentProps } from '../../../types';
4
+
3
5
  type InitialView = 'past' | 'future';
4
6
  type DatePickerRangeProps = FilterComponentProps<Date[]> & {
5
7
  filterTime?: number;
@@ -10,5 +12,5 @@ type DateRangeProps = DatePickerRangeProps & {
10
12
  error?: string;
11
13
  label?: string;
12
14
  };
13
- declare const DatePickerRange: (props: DateRangeProps) => JSX.Element;
15
+ declare const DatePickerRange: FC<DateRangeProps>;
14
16
  export default DatePickerRange;
@@ -1,2 +1,3 @@
1
- import DatePickerRange from './DatePickerRange';
1
+ import { default as DatePickerRange } from './DatePickerRange';
2
+
2
3
  export default DatePickerRange;
@@ -1,2 +1,3 @@
1
- import type { DateTimeOthers } from '../../../../../../Elements/DatePicker/Datetime/types';
1
+ import { DateTimeOthers } from '../../../../../../Elements/DatePicker/Datetime/types';
2
+
2
3
  export declare const pickerRangeToString: (values?: Date[], others?: DateTimeOthers[]) => string;
@@ -1,4 +1,6 @@
1
+ import { FC } from 'react';
1
2
  import { ColumnDefinition } from '../../../types';
3
+
2
4
  type Props = {
3
5
  onChange: (data: any) => void;
4
6
  isMulti?: boolean;
@@ -6,5 +8,5 @@ type Props = {
6
8
  value?: string | string[];
7
9
  checkAllButton?: boolean;
8
10
  };
9
- declare const SelectFilter: ({ onChange, isMulti, value, options, checkAllButton }: Props) => JSX.Element;
11
+ declare const SelectFilter: FC<Props>;
10
12
  export default SelectFilter;
@@ -1,2 +1,3 @@
1
- import GridSelect from './GridSelect';
1
+ import { default as GridSelect } from './GridSelect';
2
+
2
3
  export default GridSelect;