@mailstep/design-system 0.7.66 → 0.7.68-beta.0

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 (545) 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 -4
  160. package/ui/Blocks/Header/index.js +2 -2
  161. package/ui/Blocks/Header/stories/Header.stories.d.ts +25 -23
  162. package/ui/Blocks/Header/stories/Header.stories.js +3 -1
  163. package/ui/Blocks/Header/styles.d.ts +4 -4
  164. package/ui/Blocks/Header/utils/languageItems.d.ts +2 -1
  165. package/ui/Blocks/HidePrint/HidePrint.d.ts +3 -2
  166. package/ui/Blocks/ImageList/ImageList.d.ts +3 -2
  167. package/ui/Blocks/ImageList/ImageList.js +1 -1
  168. package/ui/Blocks/ImageList/components/AddPhoto/index.d.ts +3 -2
  169. package/ui/Blocks/ImageList/components/AddPhoto/index.js +2 -2
  170. package/ui/Blocks/ImageList/components/AddPhoto/styles.d.ts +4 -4
  171. package/ui/Blocks/ImageList/components/CloseButton/index.d.ts +2 -1
  172. package/ui/Blocks/ImageList/components/CloseButton/styles.d.ts +2 -2
  173. package/ui/Blocks/ImageList/components/ImageElement/index.d.ts +2 -1
  174. package/ui/Blocks/ImageList/components/ImageElement/styles.d.ts +4 -4
  175. package/ui/Blocks/ImageList/components/ImageTag/index.d.ts +2 -1
  176. package/ui/Blocks/ImageList/components/ImageTag/styles.d.ts +1 -1
  177. package/ui/Blocks/ImageList/hooks/useOnElementClick.d.ts +2 -1
  178. package/ui/Blocks/ImageList/index.d.ts +2 -1
  179. package/ui/Blocks/ImageList/stories/ImageList.stories.d.ts +2 -2
  180. package/ui/Blocks/ImageList/styles.d.ts +4 -4
  181. package/ui/Blocks/ImageList/types.d.ts +2 -1
  182. package/ui/Blocks/LanguageSwitch/LanguageSwitch.d.ts +3 -2
  183. package/ui/Blocks/LanguageSwitch/index.d.ts +2 -1
  184. package/ui/Blocks/LanguageSwitch/stories/LanguageSwith.stories.d.ts +2 -2
  185. package/ui/Blocks/LanguageSwitch/styles.d.ts +7 -7
  186. package/ui/Blocks/LanguageSwitch/types.d.ts +1 -0
  187. package/ui/Blocks/LightBox/LightBox.d.ts +3 -2
  188. package/ui/Blocks/LightBox/hooks/useLightBox.d.ts +2 -1
  189. package/ui/Blocks/LightBox/index.d.ts +1 -0
  190. package/ui/Blocks/LightBox/stories/LightBox.stories.d.ts +2 -2
  191. package/ui/Blocks/LightBox/styles.d.ts +4 -4
  192. package/ui/Blocks/LoginPage/LoginPage.d.ts +3 -2
  193. package/ui/Blocks/LoginPage/components/LoginForm.d.ts +1 -0
  194. package/ui/Blocks/LoginPage/components/SocialLinks.d.ts +5 -4
  195. package/ui/Blocks/LoginPage/index.d.ts +2 -1
  196. package/ui/Blocks/LoginPage/stories/LoginPage.stories.js +2 -2
  197. package/ui/Blocks/LoginPage/styles.d.ts +10 -9
  198. package/ui/Blocks/LoginPage/types.d.ts +5 -4
  199. package/ui/Blocks/Modal/Modal.d.ts +3 -2
  200. package/ui/Blocks/Modal/hooks/useClickOutside.d.ts +2 -1
  201. package/ui/Blocks/Modal/hooks/useModal.d.ts +1 -0
  202. package/ui/Blocks/Modal/index.d.ts +1 -0
  203. package/ui/Blocks/Modal/stories/Modal.stories.d.ts +2 -2
  204. package/ui/Blocks/Modal/styles.d.ts +16 -15
  205. package/ui/Blocks/Modal/types.d.ts +8 -7
  206. package/ui/Blocks/Modal/utils.d.ts +1 -0
  207. package/ui/Blocks/Popover/index.d.ts +4 -3
  208. package/ui/Blocks/Popover/index.js +2 -2
  209. package/ui/Blocks/Scheduler/Scheduler.d.ts +3 -2
  210. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.d.ts +3 -2
  211. package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.d.ts +3 -3
  212. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.d.ts +2 -1
  213. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.d.ts +3 -3
  214. package/ui/Blocks/Scheduler/components/DateChanger/index.d.ts +3 -2
  215. package/ui/Blocks/Scheduler/components/DateChanger/styles.d.ts +2 -2
  216. package/ui/Blocks/Scheduler/components/Groups/index.d.ts +3 -2
  217. package/ui/Blocks/Scheduler/components/Groups/styles.d.ts +4 -4
  218. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.d.ts +2 -1
  219. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.d.ts +1 -0
  220. package/ui/Blocks/Scheduler/components/TimeSlots/index.d.ts +3 -2
  221. package/ui/Blocks/Scheduler/components/TimeSlots/styles.d.ts +5 -5
  222. package/ui/Blocks/Scheduler/hooks/useChangeDate.d.ts +3 -2
  223. package/ui/Blocks/Scheduler/stories/Scheduler.stories.d.ts +2 -1
  224. package/ui/Blocks/Scheduler/styles.d.ts +2 -2
  225. package/ui/Blocks/Scheduler/types.d.ts +3 -2
  226. package/ui/Blocks/Scheduler/utils/isActiveTime.d.ts +1 -0
  227. package/ui/Blocks/SideMenu/MenuItem.d.ts +4 -3
  228. package/ui/Blocks/SideMenu/SideMenu.d.ts +3 -1
  229. package/ui/Blocks/SideMenu/components/Footer.d.ts +6 -4
  230. package/ui/Blocks/SideMenu/components/Footer.js +3 -3
  231. package/ui/Blocks/SideMenu/components/SubitemTooltip.d.ts +3 -2
  232. package/ui/Blocks/SideMenu/context/LeftMenuContext.d.ts +2 -1
  233. package/ui/Blocks/SideMenu/hooks/useOutsideHover.d.ts +1 -0
  234. package/ui/Blocks/SideMenu/index.d.ts +2 -1
  235. package/ui/Blocks/SideMenu/stories/SideMenu.stories.d.ts +1 -2
  236. package/ui/Blocks/SideMenu/styles.d.ts +38 -38
  237. package/ui/Blocks/SideMenu/types.d.ts +2 -1
  238. package/ui/Blocks/Stepper/Stepper.d.ts +3 -2
  239. package/ui/Blocks/Stepper/components/StepCircle/index.d.ts +2 -1
  240. package/ui/Blocks/Stepper/components/StepCircle/styles.d.ts +3 -3
  241. package/ui/Blocks/Stepper/components/StepItem/index.d.ts +2 -1
  242. package/ui/Blocks/Stepper/components/StepItem/styles.d.ts +6 -6
  243. package/ui/Blocks/Stepper/stories/Stepper.stories.d.ts +2 -1
  244. package/ui/Blocks/Stepper/styles.d.ts +2 -2
  245. package/ui/Blocks/Stepper/types.d.ts +2 -1
  246. package/ui/Blocks/Table/Table.d.ts +1 -0
  247. package/ui/Blocks/Table/stories/Table.stories.d.ts +4 -5
  248. package/ui/Blocks/Tabs/TabContent.d.ts +3 -2
  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 +1 -0
  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 +4 -0
  359. package/ui/Elements/Icon/icons/FlagHU.js +13 -0
  360. package/ui/Elements/Icon/icons/FlagITA.d.ts +2 -1
  361. package/ui/Elements/Icon/icons/FlagNL.d.ts +4 -0
  362. package/ui/Elements/Icon/icons/FlagNL.js +13 -0
  363. package/ui/Elements/Icon/icons/FlagRUS.d.ts +2 -1
  364. package/ui/Elements/Icon/icons/FlagSVK.d.ts +2 -1
  365. package/ui/Elements/Icon/icons/FlagUK.d.ts +2 -1
  366. package/ui/Elements/Icon/icons/FlagUSA.d.ts +2 -1
  367. package/ui/Elements/Icon/icons/Foldable.d.ts +3 -2
  368. package/ui/Elements/Icon/icons/Fragile.d.ts +2 -1
  369. package/ui/Elements/Icon/icons/Gift.d.ts +2 -1
  370. package/ui/Elements/Icon/icons/Group.d.ts +1 -0
  371. package/ui/Elements/Icon/icons/HamburgerMenu.d.ts +2 -1
  372. package/ui/Elements/Icon/icons/HelpCircle1.d.ts +2 -1
  373. package/ui/Elements/Icon/icons/HorizontalLines.d.ts +1 -0
  374. package/ui/Elements/Icon/icons/ImagePlaceholder.d.ts +1 -0
  375. package/ui/Elements/Icon/icons/Income.d.ts +2 -1
  376. package/ui/Elements/Icon/icons/Info.d.ts +2 -1
  377. package/ui/Elements/Icon/icons/Integrations.d.ts +1 -0
  378. package/ui/Elements/Icon/icons/Inventory.d.ts +2 -1
  379. package/ui/Elements/Icon/icons/Inventory2.d.ts +2 -1
  380. package/ui/Elements/Icon/icons/Layout.d.ts +3 -2
  381. package/ui/Elements/Icon/icons/Link.d.ts +1 -0
  382. package/ui/Elements/Icon/icons/Liquid.d.ts +3 -2
  383. package/ui/Elements/Icon/icons/Location.d.ts +2 -1
  384. package/ui/Elements/Icon/icons/Logout1.d.ts +2 -1
  385. package/ui/Elements/Icon/icons/MachinePackingForbidden.d.ts +3 -2
  386. package/ui/Elements/Icon/icons/MakePhoto.d.ts +2 -1
  387. package/ui/Elements/Icon/icons/MenuItems.d.ts +2 -1
  388. package/ui/Elements/Icon/icons/Message.d.ts +2 -1
  389. package/ui/Elements/Icon/icons/MobileCancel.d.ts +2 -1
  390. package/ui/Elements/Icon/icons/MobilePhone.d.ts +3 -2
  391. package/ui/Elements/Icon/icons/Notification2.d.ts +2 -1
  392. package/ui/Elements/Icon/icons/OpenBox.d.ts +1 -0
  393. package/ui/Elements/Icon/icons/Pallet.d.ts +2 -1
  394. package/ui/Elements/Icon/icons/Plus1.d.ts +2 -1
  395. package/ui/Elements/Icon/icons/Print.d.ts +2 -1
  396. package/ui/Elements/Icon/icons/Product.d.ts +1 -0
  397. package/ui/Elements/Icon/icons/Products.d.ts +2 -1
  398. package/ui/Elements/Icon/icons/Profile.d.ts +2 -1
  399. package/ui/Elements/Icon/icons/Puzzle1.d.ts +2 -1
  400. package/ui/Elements/Icon/icons/QRCode.d.ts +2 -1
  401. package/ui/Elements/Icon/icons/Rack.d.ts +1 -0
  402. package/ui/Elements/Icon/icons/Return.d.ts +2 -1
  403. package/ui/Elements/Icon/icons/Rows.d.ts +1 -0
  404. package/ui/Elements/Icon/icons/Settings2.d.ts +2 -1
  405. package/ui/Elements/Icon/icons/ShoppingBag.d.ts +2 -1
  406. package/ui/Elements/Icon/icons/ThreeDots.d.ts +1 -0
  407. package/ui/Elements/Icon/icons/ToastError.d.ts +1 -0
  408. package/ui/Elements/Icon/icons/ToastSuccess.d.ts +1 -0
  409. package/ui/Elements/Icon/icons/Transfer.d.ts +2 -1
  410. package/ui/Elements/Icon/icons/TrashBin.d.ts +1 -0
  411. package/ui/Elements/Icon/icons/Truck.d.ts +2 -1
  412. package/ui/Elements/Icon/icons/TwoBoxes.d.ts +2 -1
  413. package/ui/Elements/Icon/icons/TwoCheckedBoxes.d.ts +2 -1
  414. package/ui/Elements/Icon/icons/TwoUsers.d.ts +2 -1
  415. package/ui/Elements/Icon/icons/Valuable.d.ts +3 -2
  416. package/ui/Elements/Icon/icons/index.d.ts +2 -0
  417. package/ui/Elements/Icon/icons/index.js +2 -0
  418. package/ui/Elements/Icon/index.d.ts +2 -1
  419. package/ui/Elements/Icon/stories/BadgeIcon.stories.d.ts +6 -6
  420. package/ui/Elements/Icon/stories/Icon.stories.d.ts +3 -3
  421. package/ui/Elements/Icon/types.d.ts +1 -3
  422. package/ui/Elements/Image/Image.d.ts +3 -1
  423. package/ui/Elements/Image/Image.js +13 -1
  424. package/ui/Elements/Image/index.d.ts +2 -1
  425. package/ui/Elements/Image/stories/Image.stories.d.ts +3 -3
  426. package/ui/Elements/Image/types.d.ts +6 -7
  427. package/ui/Elements/Label/Label.d.ts +3 -3
  428. package/ui/Elements/Label/index.d.ts +1 -0
  429. package/ui/Elements/Label/stories/Label.stories.d.ts +4 -3
  430. package/ui/Elements/Line/Line.d.ts +1 -0
  431. package/ui/Elements/Line/index.d.ts +2 -1
  432. package/ui/Elements/Line/stories/Line.stories.d.ts +3 -2
  433. package/ui/Elements/Line/types.d.ts +3 -4
  434. package/ui/Elements/Link/Link.d.ts +4 -13
  435. package/ui/Elements/Link/Link.js +3 -11
  436. package/ui/Elements/Link/index.d.ts +2 -1
  437. package/ui/Elements/Link/stories/Link.stories.d.ts +17 -27
  438. package/ui/Elements/Logo/Logo.d.ts +4 -2
  439. package/ui/Elements/Logo/Logo.js +3 -3
  440. package/ui/Elements/Logo/index.d.ts +2 -1
  441. package/ui/Elements/Logo/stories/Logo.stories.d.ts +3 -3
  442. package/ui/Elements/MultiSelect/MultiSelect.d.ts +3 -1
  443. package/ui/Elements/MultiSelect/index.d.ts +2 -1
  444. package/ui/Elements/Pagination/Pagination.d.ts +3 -1
  445. package/ui/Elements/Pagination/index.d.ts +2 -1
  446. package/ui/Elements/Pagination/stories/Pagination.stories.d.ts +3 -2
  447. package/ui/Elements/Pagination/styled.d.ts +6 -7
  448. package/ui/Elements/Portal/index.d.ts +5 -4
  449. package/ui/Elements/ProgressBar/ProgressBar.d.ts +3 -1
  450. package/ui/Elements/ProgressBar/index.d.ts +2 -1
  451. package/ui/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +9 -8
  452. package/ui/Elements/ProgressBar/styles.d.ts +4 -4
  453. package/ui/Elements/Select/Select.d.ts +3 -1
  454. package/ui/Elements/Select/Select.js +48 -7
  455. package/ui/Elements/Select/components/SelectAll.d.ts +1 -0
  456. package/ui/Elements/Select/components/SelectedIndicator.d.ts +1 -1
  457. package/ui/Elements/Select/components/SimplifiedOption.d.ts +1 -2
  458. package/ui/Elements/Select/index.d.ts +2 -1
  459. package/ui/Elements/Select/styles.d.ts +6 -5
  460. package/ui/Elements/Select/themes/index.d.ts +4 -3
  461. package/ui/Elements/Select/themes/selectStyles.d.ts +2 -1
  462. package/ui/Elements/Select/types.d.ts +4 -3
  463. package/ui/Elements/SimpleLink/SimpleLink.d.ts +3 -2
  464. package/ui/Elements/SimpleLink/index.d.ts +2 -1
  465. package/ui/Elements/SingleSelect/SingleSelect.d.ts +5 -5
  466. package/ui/Elements/SingleSelect/SingleSelect.js +30 -22
  467. package/ui/Elements/SingleSelect/index.d.ts +2 -1
  468. package/ui/Elements/SpaceAround/SpaceAround.d.ts +3 -1
  469. package/ui/Elements/SpaceAround/SpaceAround.js +1 -2
  470. package/ui/Elements/SpaceAround/index.d.ts +2 -1
  471. package/ui/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +3 -3
  472. package/ui/Elements/SpaceAround/types.d.ts +0 -1
  473. package/ui/Elements/Spinner/Spinner.d.ts +4 -2
  474. package/ui/Elements/Spinner/Spinner.js +2 -2
  475. package/ui/Elements/Spinner/index.d.ts +2 -1
  476. package/ui/Elements/Spinner/stories/Spinner.stories.d.ts +3 -2
  477. package/ui/Elements/Spinner/styles.d.ts +3 -3
  478. package/ui/Elements/Spinner/types.d.ts +4 -5
  479. package/ui/Elements/Table/Table.d.ts +6 -6
  480. package/ui/Elements/Table/stories/Table.stories.d.ts +1 -1
  481. package/ui/Elements/Tag/Tag.d.ts +3 -2
  482. package/ui/Elements/Tag/index.d.ts +2 -1
  483. package/ui/Elements/Tag/palletes.d.ts +2 -1
  484. package/ui/Elements/Tag/stories/Tag.stories.d.ts +4 -3
  485. package/ui/Elements/Tag/stories/Tag.stories.js +22 -22
  486. package/ui/Elements/Tag/stories/components/predefinedTags.d.ts +3 -1
  487. package/ui/Elements/Tag/stories/components/predefinedTags.js +2 -2
  488. package/ui/Elements/Tag/types.d.ts +0 -1
  489. package/ui/Elements/Text/Text.d.ts +4 -2
  490. package/ui/Elements/Text/index.d.ts +2 -1
  491. package/ui/Elements/Text/stories/Text.stories.d.ts +3 -3
  492. package/ui/Elements/Text/types.d.ts +1 -0
  493. package/ui/Elements/Toast/Toast.d.ts +3 -1
  494. package/ui/Elements/Toast/Toast.js +4 -2
  495. package/ui/Elements/Toast/constants.d.ts +2 -1
  496. package/ui/Elements/Toast/index.d.ts +2 -1
  497. package/ui/Elements/Toast/stories/Toast.stories.d.ts +3 -3
  498. package/ui/Elements/Toast/styles.d.ts +6 -6
  499. package/ui/Elements/Toggle/Toggle.d.ts +4 -2
  500. package/ui/Elements/Toggle/index.d.ts +2 -1
  501. package/ui/Elements/Toggle/stories/Toggle.stories.d.ts +3 -3
  502. package/ui/Elements/Toggle/types.d.ts +1 -0
  503. package/ui/Elements/Tooltip/Tooltip.d.ts +5 -4
  504. package/ui/Elements/Tooltip/Tooltip.js +8 -4
  505. package/ui/Elements/Tooltip/index.d.ts +2 -1
  506. package/ui/Elements/Tooltip/stories/Tooltip.stories.d.ts +3 -3
  507. package/ui/Elements/Typography/Typography.d.ts +15 -13
  508. package/ui/Elements/Typography/index.d.ts +1 -0
  509. package/ui/Elements/Typography/stories/Typography.stories.d.ts +2 -1
  510. package/ui/Forms/Checkbox/Checkbox.d.ts +4 -3
  511. package/ui/Forms/Checkbox/index.d.ts +2 -1
  512. package/ui/Forms/Checkbox/stories/Checkbox.stories.d.ts +2 -2
  513. package/ui/Forms/Checkbox/styles.d.ts +4 -5
  514. package/ui/Forms/Checkbox/types.d.ts +3 -2
  515. package/ui/Forms/Input/Input.d.ts +4 -2
  516. package/ui/Forms/Input/Input.js +3 -3
  517. package/ui/Forms/Input/index.d.ts +1 -0
  518. package/ui/Forms/Input/stories/Input.stories.d.ts +3 -2
  519. package/ui/Forms/Input/styles.d.ts +12 -12
  520. package/ui/Forms/Input/types.d.ts +3 -5
  521. package/ui/Forms/RadioButton/RadioButton.d.ts +3 -1
  522. package/ui/Forms/RadioButton/RadioButton.js +1 -1
  523. package/ui/Forms/RadioButton/index.d.ts +2 -1
  524. package/ui/Forms/RadioButton/stories/RadioButton.stories.d.ts +3 -3
  525. package/ui/Forms/RadioButton/styles.d.ts +6 -6
  526. package/ui/Forms/RadioButton/types.d.ts +1 -0
  527. package/ui/Forms/TextArea/TextArea.d.ts +4 -3
  528. package/ui/Forms/TextArea/TextArea.js +3 -3
  529. package/ui/Forms/TextArea/index.d.ts +2 -1
  530. package/ui/Forms/TextArea/styles.d.ts +10 -10
  531. package/ui/ThemeProvider/ThemeProvider.d.ts +2 -2
  532. package/ui/ThemeProvider/index.d.ts +3 -2
  533. package/ui/ThemeProvider/themes/default.js +1 -1
  534. package/ui/ThemeProvider/themes/index.d.ts +1 -1
  535. package/ui/ThemeProvider/themes/light.d.ts +2 -1
  536. package/ui/ThemeProvider/themes/mailwise.js +1 -1
  537. package/ui/ThemeProvider/types.d.ts +2 -1
  538. package/ui/index.d.ts +49 -48
  539. package/ui/index.es.js +19696 -19675
  540. package/ui/index.umd.js +649 -865
  541. package/ui/utils/CreateRgba/createRgba.d.ts +1 -0
  542. package/ui/utils/KeyPress/KeyPress.d.ts +1 -0
  543. package/ui/utils/KeyPress/KeyPress.stories.d.ts +2 -1
  544. package/ui/utils/KeyPress/index.d.ts +2 -1
  545. package/ui/utils/index.d.ts +5 -4
@@ -1,9 +1,10 @@
1
- import React from 'react';
1
+ import { default as React, FC } from 'react';
2
+
2
3
  type Props = {
3
4
  icon?: string;
4
5
  isLoading?: boolean;
5
6
  onClick: React.HTMLProps<HTMLButtonElement>['onClick'];
6
7
  linkTo?: string;
7
8
  };
8
- export declare const IconButtonInCell: ({ icon, isLoading, onClick, linkTo }: Props) => JSX.Element;
9
+ export declare const IconButtonInCell: FC<Props>;
9
10
  export {};
@@ -5,5 +5,5 @@ import Spinner from '../../../../Elements/Spinner/Spinner';
5
5
  import { x } from '@xstyled/styled-components';
6
6
  export var IconButtonInCell = function (_a) {
7
7
  var icon = _a.icon, isLoading = _a.isLoading, onClick = _a.onClick, linkTo = _a.linkTo;
8
- return (_jsx(_Fragment, { children: isLoading ? (_jsx(Spinner, { variant: "sm" })) : linkTo ? (_jsx(ReactLink, { to: linkTo, "data-cy": "".concat(icon, "IconBtn"), children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) : (_jsx(x.span, { onClick: onClick, "data-cy": "".concat(icon, "IconBtn"), cursor: "pointer", h: "100%", w: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) }));
8
+ return (_jsx(_Fragment, { children: isLoading ? (_jsx(Spinner, { variant: "sm" })) : linkTo ? (_jsx(ReactLink, { to: linkTo, "data-cy": "".concat(icon !== null && icon !== void 0 ? icon : '', "IconBtn"), children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) : (_jsx(x.span, { onClick: onClick, "data-cy": "".concat(icon !== null && icon !== void 0 ? icon : '', "IconBtn"), cursor: "pointer", h: "100%", w: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: _jsx(Icon, { icon: icon || 'warning', size: "16px", fill: "blue2" }) })) }));
9
9
  };
@@ -1,6 +1,8 @@
1
+ import { FC } from 'react';
1
2
  import { DataCellProps } from '../../types';
3
+
2
4
  type Props = DataCellProps<{}> & {
3
5
  onClick?: () => void;
4
6
  };
5
- export declare const ImageCell: ({ rowData, column, onClick }: Props) => JSX.Element | null;
7
+ export declare const ImageCell: FC<Props>;
6
8
  export {};
@@ -3,9 +3,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
+ import Image from '../../../../Elements/Image/Image';
6
7
  import styled from '@xstyled/styled-components';
7
8
  import get from 'lodash/fp/get';
8
- import Image from '../../../../Elements/Image/Image';
9
9
  var ImageWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n ", "\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
10
10
  var onClick = _a.onClick;
11
11
  return (onClick ? 'cursor: pointer;' : '');
@@ -1 +1 @@
1
- export declare const LinkInCell: import("styled-components").StyledComponent<typeof import("react-router-dom").Link, import("@xstyled/system").Theme, import("../../../../Elements/SimpleLink/SimpleLink").Props, never>;
1
+ export declare const LinkInCell: import('styled-components').StyledComponent<typeof import('react-router-dom').Link, import('@xstyled/system').Theme, import('../../../../Elements/SimpleLink/SimpleLink').Props, never>;
@@ -1,5 +1,8 @@
1
+ import { FC } from 'react';
1
2
  import { DataCellProps } from '../../types';
3
+
2
4
  type Props = DataCellProps<any>;
3
- export declare const Wrap: import("styled-components").StyledComponent<"div", import("@xstyled/system").Theme, {}, never>;
4
- export declare const RemoveCell: ({ rowData, onRowAction }: Props) => JSX.Element;
5
+ export declare const Wrap: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
6
+ export declare const Trigger: import('styled-components').StyledComponent<"div", import('@xstyled/system').Theme, {}, never>;
7
+ export declare const RemoveCell: FC<Props>;
5
8
  export {};
@@ -4,17 +4,16 @@ 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 React from 'react';
7
- import styled from '@xstyled/styled-components';
8
- import { Trans } from '@lingui/react';
9
7
  import Icon from '../../../../Elements/Icon/Icon';
8
+ import { Trans } from '@lingui/react';
9
+ import styled from '@xstyled/styled-components';
10
10
  export var Wrap = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
11
- var Trigger = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n cursor: pointer;\n color: gray;\n font-weight: bold;\n font-size: 10px;\n & .faIcon {\n margin-right: 4px;\n }\n"], ["\n display: flex;\n justify-content: center;\n cursor: pointer;\n color: gray;\n font-weight: bold;\n font-size: 10px;\n & .faIcon {\n margin-right: 4px;\n }\n"])));
11
+ export var Trigger = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n cursor: pointer;\n color: gray;\n font-weight: bold;\n font-size: 10px;\n & .faIcon {\n margin-right: 4px;\n }\n"], ["\n display: flex;\n justify-content: center;\n cursor: pointer;\n color: gray;\n font-weight: bold;\n font-size: 10px;\n & .faIcon {\n margin-right: 4px;\n }\n"])));
12
12
  export var RemoveCell = function (_a) {
13
13
  var _b;
14
14
  var rowData = _a.rowData, onRowAction = _a.onRowAction;
15
15
  var onRemoveClick = React.useCallback(function () {
16
- if (onRowAction)
17
- onRowAction(rowData.id, 'remove', rowData);
16
+ onRowAction === null || onRowAction === void 0 ? void 0 : onRowAction(rowData.id, 'remove', rowData);
18
17
  }, [rowData, onRowAction]);
19
18
  if (((_b = rowData === null || rowData === void 0 ? void 0 : rowData.product) === null || _b === void 0 ? void 0 : _b.type) === 'virtual') {
20
19
  return _jsx(Trans, { id: "dataGrid.columnLot.NA", message: "N/A" });
@@ -1,5 +1,6 @@
1
- import type { FC } from 'react';
2
- import type { DataCellProps, ActionColumn, UxState, GridActionsType } from '../../types';
1
+ import { FC } from 'react';
2
+ import { DataCellProps, ActionColumn, UxState, GridActionsType } from '../../types';
3
+
3
4
  type Props = DataCellProps<{
4
5
  id: string;
5
6
  }> & {
@@ -1,4 +1,6 @@
1
+ import { FC } from 'react';
1
2
  import { DataCellProps } from '../../types';
3
+
2
4
  type Props = DataCellProps<{}>;
3
- export declare const StringJoinCell: ({ rowData, column }: Props) => JSX.Element | null;
5
+ export declare const StringJoinCell: FC<Props>;
4
6
  export {};
@@ -3,5 +3,5 @@ import get from 'lodash/fp/get';
3
3
  export var StringJoinCell = function (_a) {
4
4
  var rowData = _a.rowData, column = _a.column;
5
5
  var values = get(column.name, rowData);
6
- return values && values.length ? _jsx("span", { children: values.join(', ') }) : null;
6
+ return (values === null || values === void 0 ? void 0 : values.length) ? _jsx("span", { children: values.join(', ') }) : null;
7
7
  };
@@ -1,2 +1,4 @@
1
+ import { FC } from 'react';
1
2
  import { Props } from '../../../../Elements/Toggle/types';
2
- export declare const SwitchInCell: (props: Props) => JSX.Element;
3
+
4
+ export declare const SwitchInCell: FC<Props>;
@@ -1,7 +1,9 @@
1
+ import { FC } from 'react';
1
2
  import { DataCellProps } from '../../types';
3
+
2
4
  type SwitchData = {
3
5
  id: string;
4
6
  };
5
7
  type Props = DataCellProps<SwitchData>;
6
- export declare const ToggleCell: ({ rowData, column, onRowAction }: Props) => JSX.Element;
8
+ export declare const ToggleCell: FC<Props>;
7
9
  export {};
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React, { useCallback } from 'react';
3
- import { SwitchInCell } from './SwitchInCell';
4
3
  import get from 'lodash/fp/get';
4
+ import { SwitchInCell } from './SwitchInCell';
5
5
  export var ToggleCell = function (_a) {
6
6
  var _b;
7
7
  var rowData = _a.rowData, column = _a.column, onRowAction = _a.onRowAction;
@@ -19,7 +19,9 @@ export var ToggleCell = function (_a) {
19
19
  var ret = onRowAction(rowData.id, actionName, !isChecked, rowData);
20
20
  if (ret) {
21
21
  // promise returned = we wait for result
22
- ret.then(function () { return setIsChecked(!isChecked); });
22
+ ret.then(function () {
23
+ setIsChecked(!isChecked);
24
+ });
23
25
  }
24
26
  else {
25
27
  // no promise = we fake feedback
@@ -1,2 +1,4 @@
1
- declare const Edit: (props: any) => JSX.Element;
1
+ import { FC } from 'react';
2
+
3
+ declare const Edit: FC<any>;
2
4
  export default Edit;
@@ -1,2 +1,4 @@
1
- declare const EyeOpen: (props: any) => JSX.Element;
1
+ import { FC } from 'react';
2
+
3
+ declare const EyeOpen: FC<any>;
2
4
  export default EyeOpen;
@@ -1,2 +1,4 @@
1
- export declare const SortingUp: (props: any) => JSX.Element;
2
- export declare const SortingDown: (props: any) => JSX.Element;
1
+ import { FC } from 'react';
2
+
3
+ export declare const SortingUp: FC<any>;
4
+ export declare const SortingDown: FC<any>;
@@ -1,4 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
+
2
3
  type Props = {
3
4
  handleRowClick: (e: MouseEvent<HTMLDivElement>) => void;
4
5
  };
@@ -1,4 +1,5 @@
1
- import type { GridActionsType, ColumnDefinition } from '../types';
1
+ import { GridActionsType, ColumnDefinition } from '../types';
2
+
2
3
  type AddFilterRet = (value: any, column: ColumnDefinition, others?: any) => void;
3
- export declare const useAddFilter: (onChange: Required<GridActionsType>['addFilter']) => AddFilterRet;
4
+ export declare const useAddFilter: (onChange: Required<GridActionsType>["addFilter"]) => AddFilterRet;
4
5
  export {};
@@ -1,5 +1,6 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { CommonGridProps, GridActionsType, GridSelectorsType } from '../types';
3
+
3
4
  type ReturnProps = {
4
5
  displayColumnsWidth: {
5
6
  [anyColumn: string]: number;
@@ -8,5 +9,5 @@ type ReturnProps = {
8
9
  gridBoxRef: React.MutableRefObject<HTMLElement>;
9
10
  handleResizeDrag: (column: string, width: number) => void;
10
11
  };
11
- declare const useColumnSizes: (displayColumnsDefinitions: CommonGridProps['columnsDefinitions'], storeColumnsWidth: Required<GridSelectorsType>['columnsWidth'], storeColumnsWidthVariant: GridSelectorsType['columnsWidthVariant'], setColumnWidth: Required<GridActionsType>['setColumnWidth'], columnLayout: Required<CommonGridProps>['columnLayout'], minColumnWidth?: number) => ReturnProps;
12
+ declare const useColumnSizes: (displayColumnsDefinitions: CommonGridProps["columnsDefinitions"], storeColumnsWidth: Required<GridSelectorsType>["columnsWidth"], storeColumnsWidthVariant: GridSelectorsType["columnsWidthVariant"], setColumnWidth: Required<GridActionsType>["setColumnWidth"], columnLayout: Required<CommonGridProps>["columnLayout"], minColumnWidth?: number) => ReturnProps;
12
13
  export default useColumnSizes;
@@ -1,5 +1,6 @@
1
1
  import { ChangeEvent } from 'react';
2
2
  import { Filtering, GridActionsType } from '../types';
3
+
3
4
  type Props = {
4
5
  gridName?: string;
5
6
  filters?: Filtering;
@@ -1,5 +1,6 @@
1
1
  import { MouseEvent } from 'react';
2
2
  import { GridActionsType } from '../types';
3
+
3
4
  type Props = {
4
5
  gridName?: string;
5
6
  selectedPresetName: string;
@@ -1,4 +1,5 @@
1
- import type { CommonGridProps } from '../types';
1
+ import { CommonGridProps } from '../types';
2
+
2
3
  type ExcludedProps = 'components' | 'filters' | 'onBatchAction' | 'extraControlButtons';
3
4
  type Props = Omit<CommonGridProps, ExcludedProps>;
4
5
  type UseEditReadAsColumnHook = {
@@ -1,3 +1,3 @@
1
1
  type AnyFunction = (...args: any[]) => any;
2
- export declare const useEvent: <T extends AnyFunction>(callback?: T | undefined) => T;
2
+ export declare const useEvent: <T extends AnyFunction>(callback?: T) => T;
3
3
  export {};
@@ -1,3 +1,4 @@
1
1
  import { FloatingButtonProps, Item } from '../types';
2
+
2
3
  declare const useFloatingButton: (hasPermission: any, onClick?: () => void, options?: Item[]) => FloatingButtonProps | undefined;
3
4
  export default useFloatingButton;
@@ -1,8 +1,9 @@
1
1
  import { RowProps, UxState, ActionColumn, OnBatchActionFn } from '../types';
2
+
2
3
  /**
3
4
  * hook for action selection and trigger
4
5
  * returns [subset of actions that are enabled, onSelect(value) - param1: selected action value]
5
6
  */
6
7
  type GridActionTriggerRet = [Required<ActionColumn>['actionOptions'], (value: any) => void];
7
- export declare const useGridActionTrigger: (rowsData: RowProps[], uxState: UxState, actionOptions?: ActionColumn['actionOptions'], onBatchAction?: OnBatchActionFn) => GridActionTriggerRet;
8
+ export declare const useGridActionTrigger: (rowsData: RowProps[], uxState: UxState, actionOptions?: ActionColumn["actionOptions"], onBatchAction?: OnBatchActionFn) => GridActionTriggerRet;
8
9
  export {};
@@ -1,4 +1,5 @@
1
1
  import { GridActionsType } from '../types';
2
+
2
3
  type Props = {
3
4
  gridActions: GridActionsType;
4
5
  queryRowsParam?: number | string;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { DragEndEvent } from '@dnd-kit/core';
3
2
  import { CommonGridProps, GridActionsType, GridSelectorsType, ColumnDefinition } from '../types';
3
+
4
4
  type Props = {
5
5
  columns: CommonGridProps['columnsDefinitions'];
6
6
  gridActions: GridActionsType;
@@ -9,9 +9,9 @@ type Props = {
9
9
  };
10
10
  declare const useManageColumn: ({ columns, gridSelectors, gridActions, onClose }: Props) => {
11
11
  columnsConfigValues: string[];
12
- setColumnsConfigOptions: import("react").Dispatch<import("react").SetStateAction<{
12
+ setColumnsConfigOptions: import('react').Dispatch<import('react').SetStateAction<{
13
13
  [x: string]: {
14
- isHidden?: boolean | undefined;
14
+ isHidden?: boolean;
15
15
  };
16
16
  }>>;
17
17
  onConfirmForm: () => void;
@@ -1,5 +1,6 @@
1
1
  import { ChangeEvent, RefObject } from 'react';
2
2
  import { GridActionsType, GridSelectorsType } from '../types';
3
+
3
4
  type FileHandlersProps = {
4
5
  gridName?: string;
5
6
  gridActions: GridActionsType;
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { useRef, useCallback } from 'react';
13
- import omit from 'lodash/omit';
14
13
  import { i18n } from '@lingui/core';
14
+ import omit from 'lodash/omit';
15
15
  export var usePresetFileHandlers = function (_a) {
16
16
  var gridName = _a.gridName, gridActions = _a.gridActions, gridSelectors = _a.gridSelectors;
17
17
  var fileInputRef = useRef(null);
@@ -45,13 +45,16 @@ export var usePresetFileHandlers = function (_a) {
45
45
  var fileContent = JSON.parse((_a = e.target) === null || _a === void 0 ? void 0 : _a.result);
46
46
  var gridConfig = fileContent._;
47
47
  if (gridConfig && gridConfig.gridName !== gridName) {
48
- throw new Error(i18n._({ id: 'dataGrid.importPresets.gridNameNotSame', 'message': 'Grid name in file is not the same as current grid.' }));
48
+ throw new Error(i18n._({
49
+ id: 'dataGrid.importPresets.gridNameNotSame',
50
+ message: 'Grid name in file is not the same as current grid.'
51
+ }));
49
52
  }
50
53
  (_b = gridActions.setPresets) === null || _b === void 0 ? void 0 : _b.call(gridActions, omit(fileContent, '_'));
51
54
  }
52
55
  catch (error) {
53
56
  console.warn(error);
54
- alert(i18n._({ id: 'dataGrid.importPresets.error', 'message': 'Error with importing files.' }) + error);
57
+ alert(i18n._({ id: 'dataGrid.importPresets.error', message: 'Error with importing files.' }) + String(error));
55
58
  }
56
59
  finally {
57
60
  if (fileInputRef.current) {
@@ -1,5 +1,6 @@
1
1
  import { ChangeEvent } from 'react';
2
2
  import { ColumnDefinition, CommonGridProps, FiltersConfig, GridActionsType, GridSelectorsType } from '../types';
3
+
3
4
  type Props = {
4
5
  gridActions: GridActionsType;
5
6
  gridSelectors: GridSelectorsType;
@@ -10,7 +11,7 @@ type Props = {
10
11
  };
11
12
  declare const useQuickFilter: ({ gridActions, gridSelectors, quickFilter, displayColumnsDefinitions, filters }: Props) => {
12
13
  searchedValue: string;
13
- translatedValue: any;
14
+ translatedValue: import('react').ReactNode;
14
15
  onChangeInputValue: (e: ChangeEvent<HTMLInputElement>) => void;
15
16
  onClearSettings: () => void;
16
17
  onDisplayInput: () => void;
@@ -18,6 +19,6 @@ declare const useQuickFilter: ({ gridActions, gridSelectors, quickFilter, displa
18
19
  onClear: () => void;
19
20
  isMobileInputView: boolean;
20
21
  isMobile: boolean;
21
- filter: import("../types").Filtering | undefined;
22
+ filter: import('../types').Filtering | undefined;
22
23
  };
23
24
  export default useQuickFilter;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { RowProps, UxState } from '../types';
3
- declare const useRowsKeyControls: (rowsData: RowProps[], uxState: UxState, onUxChange?: ((uxKey: keyof UxState, uxValue: any) => void) | undefined) => (e: React.KeyboardEvent<HTMLDivElement>) => void;
3
+
4
+ declare const useRowsKeyControls: (rowsData: RowProps[], uxState: UxState, onUxChange?: (uxKey: keyof UxState, uxValue: any) => void) => (e: React.KeyboardEvent<HTMLDivElement>) => void;
4
5
  export default useRowsKeyControls;
@@ -1,4 +1,5 @@
1
1
  import { Filtering, GridActionsType, GridSelectorsType } from '../types';
2
+
2
3
  type Props = {
3
4
  gridName?: string;
4
5
  gridActions: GridActionsType;
@@ -1,8 +1,9 @@
1
- import type { RowProps, GridActionsType, UxState } from '../types';
1
+ import { RowProps, GridActionsType, UxState } from '../types';
2
+
2
3
  /**
3
4
  * hook for checkbox that select and unselects all row
4
5
  * returns [checked state, toggleAllHandler()] for checkbox
5
6
  */
6
7
  type ToggleAllCheckboxRet = [boolean, () => void];
7
- export declare const useToggleAllCheckbox: (rowsData?: RowProps[], uxState?: UxState, handleUxChange?: GridActionsType['handleUxChange']) => ToggleAllCheckboxRet;
8
+ export declare const useToggleAllCheckbox: (rowsData?: RowProps[], uxState?: UxState, handleUxChange?: GridActionsType["handleUxChange"]) => ToggleAllCheckboxRet;
8
9
  export {};
@@ -1,3 +1,4 @@
1
1
  import { RowProps, GridActionsType, UxState } from '../types';
2
- declare const useUxReset: (rowsData: RowProps[], uxState: UxState, clearUxState: GridActionsType['clearUxState']) => any;
2
+
3
+ declare const useUxReset: (rowsData: RowProps[], uxState: UxState, clearUxState: GridActionsType["clearUxState"]) => any;
3
4
  export default useUxReset;
@@ -1,10 +1,11 @@
1
- import CommonGrid from './CommonGridContainer';
2
- import withReduxActions from './HoC/withReduxActions';
3
- import reducer, { actionPrefix, createActions, createSelectors, createFullSelector, actionTypes } from './store';
4
- import useFloatingButton from './hooks/useFloatingButton';
5
- import * as Types from './types';
6
- export * from './components/gridCells';
1
+ import { default as CommonGrid } from './CommonGridContainer';
2
+ import { default as withReduxActions } from './HoC/withReduxActions';
3
+ import { default as reducer, actionPrefix, createActions, createSelectors, createFullSelector, actionTypes } from './store';
4
+ import { default as useFloatingButton } from './hooks/useFloatingButton';
7
5
  import { useAddFilter } from './hooks/useAddFilter';
8
6
  import { useEvent } from './hooks/useEvent';
7
+
8
+ import * as Types from './types';
9
+ export * from './components/gridCells';
9
10
  export default CommonGrid;
10
11
  export { withReduxActions, reducer, actionPrefix, actionTypes, createActions, createSelectors, createFullSelector, Types, useFloatingButton, useAddFilter, useEvent, };
@@ -1,4 +1,5 @@
1
1
  import { FilterProps, SortingValueType, InitProps, GridState, GridSelectorsType, ColumnConfig, Filtering, GridPresets } from '../types';
2
+
2
3
  type DefaultRootState = {};
3
4
  export type MultiState = {
4
5
  [key: string]: GridState;
@@ -31,7 +32,7 @@ export default _default;
31
32
  export declare const createActions: (gridName: string) => {
32
33
  init: (initProps?: InitProps) => Action;
33
34
  clearUxState: () => Action;
34
- handleUxChange: (uxKey: keyof GridState['uxState'], uxValue: any) => Action;
35
+ handleUxChange: (uxKey: keyof GridState["uxState"], uxValue: any) => Action;
35
36
  openConfigForm: () => Action;
36
37
  closeConfigForm: () => Action;
37
38
  setColumnConfig: (columnConfig: ColumnConfig) => Action;
@@ -39,9 +40,9 @@ export declare const createActions: (gridName: string) => {
39
40
  setPresets: (presets: GridPresets) => Action;
40
41
  createPreset: (presetName: string, filters: Filtering) => Action;
41
42
  deletePreset: (presetName: string) => Action;
42
- setColumnWidth: (columnsWidth: {
43
+ setColumnWidth: (columnsWidth: null | {
43
44
  [anyKey: string]: number;
44
- } | null, columnLayout: 'normal' | 'no-scroll' | 'sticky') => Action;
45
+ }, columnLayout: "normal" | "no-scroll" | "sticky") => Action;
45
46
  resetGrid: () => Action;
46
47
  setColumnsOrder: (columnsOrder: string[]) => Action;
47
48
  setRowsPerPage: (rowsPerPage: number) => Action;
@@ -52,16 +53,16 @@ export declare const createActions: (gridName: string) => {
52
53
  clearSettings: () => Action;
53
54
  };
54
55
  export declare const createSelectors: (gridName: string) => {
55
- getUxState: (state: DefaultRootState) => GridState['uxState'];
56
- isConfigFormOpen: (state: DefaultRootState) => GridState['isConfigFormOpen'];
57
- getColumnConfig: (state: DefaultRootState) => GridState['columnConfig'];
58
- getPage: (state: DefaultRootState) => GridState['page'];
59
- getPresets: (state: DefaultRootState) => GridState['presets'];
60
- getRowsPerPage: (state: DefaultRootState) => GridState['rowsPerPage'];
61
- getFilter: (state: DefaultRootState) => GridState['filter'];
62
- getSorting: (state: DefaultRootState) => GridState['sorting'];
63
- getColumnsWidth: (state: DefaultRootState) => GridState['columnsWidth'];
64
- getColumnsWidthVariant: (state: DefaultRootState) => GridState['columnsWidthVariant'];
65
- getColumnsOrder: (state: DefaultRootState) => GridState['columnsOrder'];
56
+ getUxState: (state: DefaultRootState) => GridState["uxState"];
57
+ isConfigFormOpen: (state: DefaultRootState) => GridState["isConfigFormOpen"];
58
+ getColumnConfig: (state: DefaultRootState) => GridState["columnConfig"];
59
+ getPage: (state: DefaultRootState) => GridState["page"];
60
+ getPresets: (state: DefaultRootState) => GridState["presets"];
61
+ getRowsPerPage: (state: DefaultRootState) => GridState["rowsPerPage"];
62
+ getFilter: (state: DefaultRootState) => GridState["filter"];
63
+ getSorting: (state: DefaultRootState) => GridState["sorting"];
64
+ getColumnsWidth: (state: DefaultRootState) => GridState["columnsWidth"];
65
+ getColumnsWidthVariant: (state: DefaultRootState) => GridState["columnsWidthVariant"];
66
+ getColumnsOrder: (state: DefaultRootState) => GridState["columnsOrder"];
66
67
  };
67
- export declare const createFullSelector: (gridName: string) => (state: DefaultRootState) => GridSelectorsType;
68
+ export declare const createFullSelector: (gridName: string) => ((state: DefaultRootState) => GridSelectorsType);
@@ -1,3 +1,4 @@
1
1
  import { MultiState } from './index';
2
+
2
3
  declare const _default: (draft: MultiState) => MultiState;
3
4
  export default _default;
@@ -1,4 +1,6 @@
1
- import type { DataCellProps } from '../../types';
2
- export declare const ComplexCell: (props: DataCellProps<{
1
+ import { FC } from 'react';
2
+ import { DataCellProps } from '../../types';
3
+
4
+ export declare const ComplexCell: FC<DataCellProps<{
3
5
  id: string;
4
- }>) => JSX.Element;
6
+ }>>;
@@ -1,6 +1,8 @@
1
- import type { DataCellProps } from '../../types';
1
+ import { FC } from 'react';
2
+ import { DataCellProps } from '../../types';
3
+
2
4
  type CellProps = DataCellProps<{
3
5
  enumColumn: string;
4
6
  }>;
5
- export declare const EnumCellExample: ({ rowData }: CellProps) => JSX.Element;
7
+ export declare const EnumCellExample: FC<CellProps>;
6
8
  export {};
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- decorators: ((story: Function) => JSX.Element)[];
3
+ decorators: ((story: Function) => import("react/jsx-runtime").JSX.Element)[];
4
4
  };
5
5
  export default _default;
6
6
  export declare const ComplexWithPaginationAndRedux: {
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- decorators: ((story: Function) => JSX.Element)[];
3
+ decorators: ((story: Function) => any)[];
4
4
  };
5
5
  export default _default;
6
6
  export declare const Default: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- decorators: ((story: Function) => JSX.Element)[];
3
+ decorators: ((story: Function) => any)[];
4
4
  };
5
5
  export default _default;
6
6
  export declare const Styled: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { ActionColumn } from '../../types';
2
+
2
3
  export declare const ActionColumnCheckboxes: ActionColumn;
3
4
  declare const _default: {
4
5
  title: string;
5
- decorators: ((story: Function) => JSX.Element)[];
6
+ decorators: ((story: Function) => import("react/jsx-runtime").JSX.Element)[];
6
7
  excludeStories: string[];
7
8
  };
8
9
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- decorators: ((story: Function) => JSX.Element)[];
3
+ decorators: ((story: Function) => any)[];
4
4
  };
5
5
  export default _default;
6
6
  export declare const WithQuickFilter: {
@@ -1,4 +1,5 @@
1
- import type { ColumnDefinition } from '../../types';
1
+ import { ColumnDefinition } from '../../types';
2
+
2
3
  export declare const oversizedArrayColumns = 25;
3
4
  export declare const oversizedColumnDefinition: {
4
5
  name: string;
@@ -1,4 +1,6 @@
1
+ import { FC } from 'react';
1
2
  import { GridActionsType, rowClassSymbol, ExtraControlButton } from '../../types';
3
+
2
4
  export declare const enumValues: string[];
3
5
  export declare const oversizedArrayColumns = 25;
4
6
  export declare const gridSelectors: {};
@@ -14,5 +16,5 @@ export declare const createRandomData: (count: number) => {
14
16
  }[];
15
17
  export declare const gridDummyActions: Required<GridActionsType>;
16
18
  export declare const createOversizedRandomData: (count: number) => any[];
17
- export declare const ReduxGrid: (props: any) => JSX.Element;
19
+ export declare const ReduxGrid: FC<any>;
18
20
  export declare const extraControlButtons: ExtraControlButton[];
@@ -43,10 +43,14 @@ export var createRandomData = function (count) {
43
43
  };
44
44
  export var gridDummyActions = {
45
45
  // @see types for full list of actions
46
- setPage: function (number) { return console.log('setPage', number); },
47
- setRowsPerPage: function (number) { return console.log('setRowsPerPage', number); },
46
+ setPage: function (number) {
47
+ console.log('setPage', number);
48
+ },
49
+ setRowsPerPage: function (number) {
50
+ console.log('setRowsPerPage', number);
51
+ },
48
52
  addFilter: function (column, value, filterProps, others) {
49
- return console.log('addFilter', column, value, filterProps, others);
53
+ console.log('addFilter', column, value, filterProps, others);
50
54
  }
51
55
  };
52
56
  export var createOversizedRandomData = function (count) {
@@ -1,3 +1,3 @@
1
1
  export declare const reduxComposeEnhancer: any;
2
- export declare const withProvider: (story: Function) => JSX.Element;
2
+ export declare const withProvider: (story: Function) => import("react/jsx-runtime").JSX.Element;
3
3
  export default withProvider;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Provider } from 'react-redux';
3
3
  import { combineReducers, createStore, compose } from 'redux';
4
4
  import commonGridReducer from '../../store';
5
- // @ts-ignore
5
+ // @ts-expect-error
6
6
  export var reduxComposeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
7
7
  export var withProvider = function (story) {
8
8
  var reducers = combineReducers({
@@ -1,2 +1,2 @@
1
- declare const withProvider: (story: Function) => JSX.Element;
1
+ declare const withProvider: (story: Function) => import("react/jsx-runtime").JSX.Element;
2
2
  export default withProvider;
@@ -1,2 +1,2 @@
1
- declare const withProvider: (story: Function) => JSX.Element;
1
+ declare const withProvider: (story: Function) => any;
2
2
  export default withProvider;