@mailstep/design-system 0.8.27 → 0.8.28

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 (552) hide show
  1. package/package.json +4 -4
  2. package/ui/Blocks/CommonGrid/CommonGrid.js +104 -152
  3. package/ui/Blocks/CommonGrid/CommonGridContainer.js +187 -368
  4. package/ui/Blocks/CommonGrid/HoC/withProps.js +9 -37
  5. package/ui/Blocks/CommonGrid/HoC/withReduxActions.js +29 -46
  6. package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +105 -196
  7. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +37 -49
  8. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +76 -162
  9. package/ui/Blocks/CommonGrid/components/ActionHead/index.js +3 -1
  10. package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.js +43 -124
  11. package/ui/Blocks/CommonGrid/components/ButtonMore/index.js +3 -1
  12. package/ui/Blocks/CommonGrid/components/ColumnFilterCell.js +50 -112
  13. package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.js +130 -251
  14. package/ui/Blocks/CommonGrid/components/ColumnTitle/index.js +3 -1
  15. package/ui/Blocks/CommonGrid/components/ColumnTitle.js +36 -104
  16. package/ui/Blocks/CommonGrid/components/ControlButtons/ControlButtons.js +156 -252
  17. package/ui/Blocks/CommonGrid/components/ControlButtons/index.js +3 -1
  18. package/ui/Blocks/CommonGrid/components/ControlButtons/styles.js +40 -53
  19. package/ui/Blocks/CommonGrid/components/DataCell.js +34 -97
  20. package/ui/Blocks/CommonGrid/components/DataRow.js +60 -74
  21. package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.js +67 -154
  22. package/ui/Blocks/CommonGrid/components/DropdownButton/index.js +3 -1
  23. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +57 -149
  24. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.js +3 -1
  25. package/ui/Blocks/CommonGrid/components/FilterDropdown.js +30 -48
  26. package/ui/Blocks/CommonGrid/components/FilterRow.js +28 -36
  27. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +32 -83
  28. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/index.js +3 -1
  29. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +34 -90
  30. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.js +4 -2
  31. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +149 -373
  32. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/index.js +3 -1
  33. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.js +7 -12
  34. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.js +13 -25
  35. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.js +3 -3
  36. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/GridSelect.js +92 -376
  37. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/guards.js +4 -8
  38. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.js +4 -2
  39. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.js +142 -293
  40. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/index.js +3 -1
  41. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/types.js +1 -0
  42. package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.js +160 -320
  43. package/ui/Blocks/CommonGrid/components/Filters/TextRange/index.js +3 -1
  44. package/ui/Blocks/CommonGrid/components/Filters/TextRange/types.js +1 -0
  45. package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.js +79 -156
  46. package/ui/Blocks/CommonGrid/components/FloatingButton/index.js +3 -1
  47. package/ui/Blocks/CommonGrid/components/GridInfo/index.js +30 -41
  48. package/ui/Blocks/CommonGrid/components/GridModals/index.js +132 -134
  49. package/ui/Blocks/CommonGrid/components/GridStatus/index.js +23 -25
  50. package/ui/Blocks/CommonGrid/components/GroupRow.js +26 -87
  51. package/ui/Blocks/CommonGrid/components/HeadCell.js +33 -89
  52. package/ui/Blocks/CommonGrid/components/HeadRow.js +69 -192
  53. package/ui/Blocks/CommonGrid/components/IconList/IconList.js +61 -99
  54. package/ui/Blocks/CommonGrid/components/IconList/index.js +3 -1
  55. package/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +52 -114
  56. package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +66 -171
  57. package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.js +3 -1
  58. package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.js +16 -34
  59. package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.js +7 -9
  60. package/ui/Blocks/CommonGrid/components/MobileFilterModal.js +110 -228
  61. package/ui/Blocks/CommonGrid/components/MobileOverlayWrapper.js +13 -21
  62. package/ui/Blocks/CommonGrid/components/MobileSortModal.js +64 -88
  63. package/ui/Blocks/CommonGrid/components/OversizedScroll.js +34 -86
  64. package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.js +17 -20
  65. package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.js +88 -201
  66. package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.js +29 -54
  67. package/ui/Blocks/CommonGrid/components/QuickFilter/index.js +3 -1
  68. package/ui/Blocks/CommonGrid/components/Resize.js +46 -53
  69. package/ui/Blocks/CommonGrid/components/Table.js +40 -94
  70. package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.js +63 -113
  71. package/ui/Blocks/CommonGrid/components/TablePagination/index.js +3 -1
  72. package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.js +16 -32
  73. package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.js +10 -58
  74. package/ui/Blocks/CommonGrid/components/gridCells/Date.js +7 -7
  75. package/ui/Blocks/CommonGrid/components/gridCells/DateTime.js +9 -12
  76. package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.js +27 -100
  77. package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.js +48 -48
  78. package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.js +31 -33
  79. package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.js +28 -50
  80. package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.js +8 -22
  81. package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.js +37 -63
  82. package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.js +75 -113
  83. package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.js +7 -7
  84. package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.js +9 -57
  85. package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.js +30 -82
  86. package/ui/Blocks/CommonGrid/components/gridCells/index.js +14 -14
  87. package/ui/Blocks/CommonGrid/components/icons/Edit.js +13 -65
  88. package/ui/Blocks/CommonGrid/components/icons/EyeOpen.js +13 -65
  89. package/ui/Blocks/CommonGrid/components/icons/Sorting.js +19 -72
  90. package/ui/Blocks/CommonGrid/components/utils.js +18 -67
  91. package/ui/Blocks/CommonGrid/hooks/useAddFilter.js +14 -14
  92. package/ui/Blocks/CommonGrid/hooks/useColumnSizes.js +85 -119
  93. package/ui/Blocks/CommonGrid/hooks/useCreatePreset.js +29 -77
  94. package/ui/Blocks/CommonGrid/hooks/useDeletePreset.js +21 -32
  95. package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.js +56 -91
  96. package/ui/Blocks/CommonGrid/hooks/useEvent.js +10 -14
  97. package/ui/Blocks/CommonGrid/hooks/useFloatingButton.js +14 -15
  98. package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.js +25 -42
  99. package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.js +10 -20
  100. package/ui/Blocks/CommonGrid/hooks/useManageColumn.js +97 -220
  101. package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.js +54 -124
  102. package/ui/Blocks/CommonGrid/hooks/usePresetsState.js +13 -57
  103. package/ui/Blocks/CommonGrid/hooks/useQuickFilter.js +76 -149
  104. package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.js +19 -23
  105. package/ui/Blocks/CommonGrid/hooks/useSelectPreset.js +18 -80
  106. package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.js +17 -28
  107. package/ui/Blocks/CommonGrid/hooks/useUxReset.js +12 -63
  108. package/ui/Blocks/CommonGrid/index.js +26 -10
  109. package/ui/Blocks/CommonGrid/store/index.js +286 -430
  110. package/ui/Blocks/CommonGrid/store/migrateState.js +10 -10
  111. package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.js +16 -20
  112. package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.js +17 -22
  113. package/ui/Blocks/CommonGrid/storybook/utils/actions.js +9 -15
  114. package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.js +121 -156
  115. package/ui/Blocks/CommonGrid/storybook/utils/utils.js +106 -145
  116. package/ui/Blocks/CommonGrid/storybook/utils/withRedux.js +11 -14
  117. package/ui/Blocks/CommonGrid/storybook/utils/withRouter.js +5 -7
  118. package/ui/Blocks/CommonGrid/storybook/utils/withTheme.js +4 -5
  119. package/ui/Blocks/CommonGrid/styles.js +252 -97
  120. package/ui/Blocks/CommonGrid/types.js +22 -14
  121. package/ui/Blocks/CommonGrid/utils/constants.js +24 -22
  122. package/ui/Blocks/CommonGrid/utils/getExtendedExtraControlButtons.js +15 -44
  123. package/ui/Blocks/CommonGrid/utils/getRowsPerPage.js +8 -9
  124. package/ui/Blocks/CommonGrid/utils/hasSortTerminated.js +8 -9
  125. package/ui/Blocks/CommonGrid/utils/index.js +69 -107
  126. package/ui/Blocks/CornerDialog/CornerDialog.js +40 -94
  127. package/ui/Blocks/CornerDialog/index.js +3 -1
  128. package/ui/Blocks/CornerDialog/styles.js +56 -83
  129. package/ui/Blocks/CornerDialog/types.js +1 -0
  130. package/ui/Blocks/CornerDialog/utils.js +28 -26
  131. package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.js +12 -11
  132. package/ui/Blocks/Header/components/MenuItems/index.js +6 -11
  133. package/ui/Blocks/Header/components/MenuItems/styles.js +21 -35
  134. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/index.js +20 -28
  135. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/styles.js +13 -31
  136. package/ui/Blocks/Header/components/UserMenu/hooks/index.js +1 -1
  137. package/ui/Blocks/Header/components/UserMenu/hooks/useLogout.js +8 -9
  138. package/ui/Blocks/Header/components/UserMenu/index.js +45 -99
  139. package/ui/Blocks/Header/components/UserMenu/styles.js +24 -44
  140. package/ui/Blocks/Header/hooks/useChangeLanguage.js +7 -8
  141. package/ui/Blocks/Header/index.js +41 -57
  142. package/ui/Blocks/Header/styles.js +33 -54
  143. package/ui/Blocks/Header/types.js +1 -0
  144. package/ui/Blocks/Header/utils/constants.js +3 -1
  145. package/ui/Blocks/Header/utils/languageItems.js +13 -18
  146. package/ui/Blocks/HidePrint/HidePrint.js +11 -28
  147. package/ui/Blocks/ImageList/ImageList.js +76 -131
  148. package/ui/Blocks/ImageList/components/AddPhoto/index.js +33 -182
  149. package/ui/Blocks/ImageList/components/AddPhoto/styles.js +29 -42
  150. package/ui/Blocks/ImageList/components/CloseButton/index.js +15 -13
  151. package/ui/Blocks/ImageList/components/CloseButton/styles.js +17 -25
  152. package/ui/Blocks/ImageList/components/ImageElement/index.js +26 -27
  153. package/ui/Blocks/ImageList/components/ImageElement/styles.js +21 -63
  154. package/ui/Blocks/ImageList/components/ImageTag/index.js +12 -15
  155. package/ui/Blocks/ImageList/components/ImageTag/styles.js +8 -21
  156. package/ui/Blocks/ImageList/hooks/useControls.js +12 -66
  157. package/ui/Blocks/ImageList/hooks/useOnElementClick.js +12 -70
  158. package/ui/Blocks/ImageList/index.js +3 -1
  159. package/ui/Blocks/ImageList/styles.js +28 -47
  160. package/ui/Blocks/ImageList/types.js +1 -0
  161. package/ui/Blocks/LanguageSwitch/LanguageSwitch.js +50 -136
  162. package/ui/Blocks/LanguageSwitch/index.js +3 -1
  163. package/ui/Blocks/LanguageSwitch/styles.js +31 -49
  164. package/ui/Blocks/LanguageSwitch/types.js +1 -0
  165. package/ui/Blocks/LightBox/LightBox.js +37 -46
  166. package/ui/Blocks/LightBox/hooks/useLightBox.js +14 -19
  167. package/ui/Blocks/LightBox/index.js +4 -2
  168. package/ui/Blocks/LightBox/styles.js +27 -51
  169. package/ui/Blocks/LightBox/types.js +1 -0
  170. package/ui/Blocks/LoginPage/LoginPage.js +60 -77
  171. package/ui/Blocks/LoginPage/assets/mailship.js +4 -0
  172. package/ui/Blocks/LoginPage/components/LoginForm.js +165 -220
  173. package/ui/Blocks/LoginPage/components/SocialLinks.js +78 -98
  174. package/ui/Blocks/LoginPage/index.js +4 -2
  175. package/ui/Blocks/LoginPage/styles.js +74 -94
  176. package/ui/Blocks/LoginPage/types.js +1 -0
  177. package/ui/Blocks/LoginPage/utils/links.js +9 -7
  178. package/ui/Blocks/Modal/Modal.js +122 -148
  179. package/ui/Blocks/Modal/hooks/useClickOutside.js +25 -35
  180. package/ui/Blocks/Modal/hooks/useModal.js +17 -64
  181. package/ui/Blocks/Modal/index.js +5 -3
  182. package/ui/Blocks/Modal/styles.js +181 -255
  183. package/ui/Blocks/Modal/types.js +1 -0
  184. package/ui/Blocks/Modal/utils.js +8 -6
  185. package/ui/Blocks/Popover/index.js +29 -50
  186. package/ui/Blocks/Scheduler/Scheduler.js +40 -104
  187. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +35 -123
  188. package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.js +34 -53
  189. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/hooks/useCurrentTime.js +14 -61
  190. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.js +11 -15
  191. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.js +29 -51
  192. package/ui/Blocks/Scheduler/components/DateChanger/index.js +46 -50
  193. package/ui/Blocks/Scheduler/components/DateChanger/styles.js +22 -35
  194. package/ui/Blocks/Scheduler/components/Groups/index.js +8 -14
  195. package/ui/Blocks/Scheduler/components/Groups/styles.js +31 -53
  196. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.js +43 -114
  197. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.js +13 -17
  198. package/ui/Blocks/Scheduler/components/TimeSlots/index.js +45 -53
  199. package/ui/Blocks/Scheduler/components/TimeSlots/styles.js +51 -75
  200. package/ui/Blocks/Scheduler/hooks/useChangeDate.js +32 -83
  201. package/ui/Blocks/Scheduler/index.js +1 -1
  202. package/ui/Blocks/Scheduler/styles.js +21 -32
  203. package/ui/Blocks/Scheduler/types.js +1 -0
  204. package/ui/Blocks/Scheduler/utils/constants.js +8 -6
  205. package/ui/Blocks/Scheduler/utils/convertDateToTime.js +4 -4
  206. package/ui/Blocks/Scheduler/utils/convertIndexToISOString.js +9 -7
  207. package/ui/Blocks/Scheduler/utils/convertMinutesToDuration.js +8 -10
  208. package/ui/Blocks/Scheduler/utils/formatDate.js +7 -8
  209. package/ui/Blocks/Scheduler/utils/generateTimeArray.js +17 -15
  210. package/ui/Blocks/Scheduler/utils/getClosestStep.js +10 -8
  211. package/ui/Blocks/Scheduler/utils/getMinutesFromString.js +5 -5
  212. package/ui/Blocks/Scheduler/utils/getMinutesFromTime.js +5 -49
  213. package/ui/Blocks/Scheduler/utils/isActiveTime.js +9 -8
  214. package/ui/Blocks/Scheduler/utils/isToday.js +5 -3
  215. package/ui/Blocks/SideMenu/MenuItem.js +98 -191
  216. package/ui/Blocks/SideMenu/SideMenu.js +35 -80
  217. package/ui/Blocks/SideMenu/components/Footer.js +61 -95
  218. package/ui/Blocks/SideMenu/components/HamburgerMenu.js +49 -68
  219. package/ui/Blocks/SideMenu/components/SubitemTooltip.js +49 -133
  220. package/ui/Blocks/SideMenu/context/LeftMenuContext.js +17 -67
  221. package/ui/Blocks/SideMenu/context/useLeftMenuContext.js +7 -5
  222. package/ui/Blocks/SideMenu/hooks/useOutsideHover.js +23 -76
  223. package/ui/Blocks/SideMenu/index.js +5 -3
  224. package/ui/Blocks/SideMenu/stories/menuItems.js +106 -100
  225. package/ui/Blocks/SideMenu/styles.js +308 -415
  226. package/ui/Blocks/SideMenu/types.js +1 -0
  227. package/ui/Blocks/SideMenu/utils/constants.js +4 -2
  228. package/ui/Blocks/Stepper/Stepper.js +31 -50
  229. package/ui/Blocks/Stepper/components/StepCircle/index.js +14 -13
  230. package/ui/Blocks/Stepper/components/StepCircle/styles.js +22 -47
  231. package/ui/Blocks/Stepper/components/StepItem/index.js +48 -58
  232. package/ui/Blocks/Stepper/components/StepItem/styles.js +77 -86
  233. package/ui/Blocks/Stepper/hooks/useStepper.js +30 -78
  234. package/ui/Blocks/Stepper/index.js +3 -3
  235. package/ui/Blocks/Stepper/styles.js +24 -39
  236. package/ui/Blocks/Stepper/types.js +1 -0
  237. package/ui/Blocks/Table/Table.js +10 -31
  238. package/ui/Blocks/Table/index.js +1 -1
  239. package/ui/Blocks/Table/types.js +1 -0
  240. package/ui/Blocks/Tabs/TabContent.js +7 -8
  241. package/ui/Blocks/Tabs/Tabs.js +42 -53
  242. package/ui/Blocks/Tabs/hooks/useTabs.js +11 -59
  243. package/ui/Blocks/Tabs/index.js +5 -3
  244. package/ui/Blocks/Tabs/styles.js +94 -109
  245. package/ui/Blocks/Tabs/types.js +1 -0
  246. package/ui/Elements/Alert/Alert.js +71 -95
  247. package/ui/Elements/Alert/index.js +3 -1
  248. package/ui/Elements/Alert/styles.js +81 -126
  249. package/ui/Elements/Alert/types.js +1 -0
  250. package/ui/Elements/AsyncSelect/AsyncSelect.js +31 -157
  251. package/ui/Elements/AsyncSelect/index.js +3 -1
  252. package/ui/Elements/Avatar/Avatar.js +35 -150
  253. package/ui/Elements/Avatar/index.js +4 -3
  254. package/ui/Elements/Avatar/types.js +1 -0
  255. package/ui/Elements/Badge/Badge.js +50 -105
  256. package/ui/Elements/Badge/index.js +3 -1
  257. package/ui/Elements/BarChartSymbol/BarChartSymbol.js +19 -22
  258. package/ui/Elements/BarChartSymbol/index.js +1 -1
  259. package/ui/Elements/BarChartSymbol/styles.js +8 -32
  260. package/ui/Elements/BorderedBox/BorderedBox.js +20 -124
  261. package/ui/Elements/BorderedBox/index.js +3 -1
  262. package/ui/Elements/BorderedBox/types.js +1 -0
  263. package/ui/Elements/Button/Button.js +43 -153
  264. package/ui/Elements/Button/index.js +3 -1
  265. package/ui/Elements/Button/styles.js +224 -95
  266. package/ui/Elements/Button/types.js +1 -0
  267. package/ui/Elements/Card/Card.js +13 -13
  268. package/ui/Elements/Card/index.js +3 -1
  269. package/ui/Elements/Card/styles.js +21 -49
  270. package/ui/Elements/Card/types.js +1 -0
  271. package/ui/Elements/CheckedCircle/index.js +12 -11
  272. package/ui/Elements/CheckedCircle/styles.js +14 -29
  273. package/ui/Elements/DatePicker/DatePicker.js +84 -206
  274. package/ui/Elements/DatePicker/Datetime/DateTime.js +422 -724
  275. package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +62 -126
  276. package/ui/Elements/DatePicker/Datetime/components/FooterRow.js +10 -24
  277. package/ui/Elements/DatePicker/Datetime/components/FooterRowLabel.js +14 -20
  278. package/ui/Elements/DatePicker/Datetime/components/TimeInput.js +15 -21
  279. package/ui/Elements/DatePicker/Datetime/components/Timepicker.js +160 -254
  280. package/ui/Elements/DatePicker/Datetime/components/ViewNavigation.js +28 -84
  281. package/ui/Elements/DatePicker/Datetime/types.js +13 -11
  282. package/ui/Elements/DatePicker/Datetime/views/DaysView.js +134 -334
  283. package/ui/Elements/DatePicker/Datetime/views/MonthsView.js +71 -265
  284. package/ui/Elements/DatePicker/Datetime/views/YearsView.js +81 -276
  285. package/ui/Elements/DatePicker/index.js +5 -3
  286. package/ui/Elements/DatePicker/styles.js +233 -35
  287. package/ui/Elements/DatePicker/utils/constants.js +27 -33
  288. package/ui/Elements/Dropdown/Dropdown.js +53 -88
  289. package/ui/Elements/Dropdown/index.js +3 -1
  290. package/ui/Elements/Dropdown/types.js +1 -0
  291. package/ui/Elements/DropdownMenu/DropdownMenu.js +32 -134
  292. package/ui/Elements/DropdownMenu/components/DefaultItem.js +30 -56
  293. package/ui/Elements/DropdownMenu/components/MenuItem.js +56 -103
  294. package/ui/Elements/DropdownMenu/components/MenuList.js +13 -14
  295. package/ui/Elements/DropdownMenu/index.js +1 -1
  296. package/ui/Elements/DropdownMenu/types.js +1 -0
  297. package/ui/Elements/DropdownSelect/DropdownSelect.js +126 -205
  298. package/ui/Elements/DropdownSelect/index.js +3 -2
  299. package/ui/Elements/ErrorMessage/ErrorMessage.js +62 -56
  300. package/ui/Elements/ErrorMessage/index.js +3 -1
  301. package/ui/Elements/ErrorMessage/types.js +1 -0
  302. package/ui/Elements/HighlightBox/HighlightBox.js +97 -99
  303. package/ui/Elements/HighlightBox/index.js +3 -1
  304. package/ui/Elements/Icon/BadgeIcon.js +26 -121
  305. package/ui/Elements/Icon/Icon.js +182 -255
  306. package/ui/Elements/Icon/icons/Add.js +31 -91
  307. package/ui/Elements/Icon/icons/AddPhoto.js +32 -84
  308. package/ui/Elements/Icon/icons/Admin.js +24 -79
  309. package/ui/Elements/Icon/icons/ArrowDown.js +16 -68
  310. package/ui/Elements/Icon/icons/ArrowForward.js +10 -64
  311. package/ui/Elements/Icon/icons/ArrowUp.js +16 -68
  312. package/ui/Elements/Icon/icons/ArrowUpRightDownLeft.js +19 -77
  313. package/ui/Elements/Icon/icons/ArrowsLeftRight.js +10 -64
  314. package/ui/Elements/Icon/icons/ArrowsUpDown.js +10 -64
  315. package/ui/Elements/Icon/icons/BarcodeScan.js +11 -65
  316. package/ui/Elements/Icon/icons/Box.js +15 -67
  317. package/ui/Elements/Icon/icons/Calendar.js +37 -89
  318. package/ui/Elements/Icon/icons/Cancel.js +16 -68
  319. package/ui/Elements/Icon/icons/CheckedBox.js +21 -76
  320. package/ui/Elements/Icon/icons/CircleHalfStroke.js +10 -64
  321. package/ui/Elements/Icon/icons/Company.js +80 -137
  322. package/ui/Elements/Icon/icons/Complaint.js +57 -114
  323. package/ui/Elements/Icon/icons/Consolidation.js +11 -65
  324. package/ui/Elements/Icon/icons/Container.js +11 -65
  325. package/ui/Elements/Icon/icons/Dashboard.js +34 -86
  326. package/ui/Elements/Icon/icons/Desktop.js +61 -118
  327. package/ui/Elements/Icon/icons/Dispatch.js +11 -65
  328. package/ui/Elements/Icon/icons/EmptyRack.js +32 -32
  329. package/ui/Elements/Icon/icons/Expeditions.js +60 -112
  330. package/ui/Elements/Icon/icons/Filter.js +15 -67
  331. package/ui/Elements/Icon/icons/FlagCZ.js +53 -108
  332. package/ui/Elements/Icon/icons/FlagEL.js +48 -100
  333. package/ui/Elements/Icon/icons/FlagESP.js +91 -143
  334. package/ui/Elements/Icon/icons/FlagHU.js +25 -77
  335. package/ui/Elements/Icon/icons/FlagITA.js +53 -108
  336. package/ui/Elements/Icon/icons/FlagNL.js +25 -77
  337. package/ui/Elements/Icon/icons/FlagRUS.js +53 -108
  338. package/ui/Elements/Icon/icons/FlagSVK.js +90 -145
  339. package/ui/Elements/Icon/icons/FlagUK.js +18 -73
  340. package/ui/Elements/Icon/icons/FlagUSA.js +104 -168
  341. package/ui/Elements/Icon/icons/Foldable.js +32 -84
  342. package/ui/Elements/Icon/icons/Fragile.js +40 -92
  343. package/ui/Elements/Icon/icons/Gift.js +39 -91
  344. package/ui/Elements/Icon/icons/Group.js +15 -67
  345. package/ui/Elements/Icon/icons/HamburgerMenu.js +39 -91
  346. package/ui/Elements/Icon/icons/HelpCircle1.js +30 -82
  347. package/ui/Elements/Icon/icons/HorizontalLines.js +34 -86
  348. package/ui/Elements/Icon/icons/ImagePlaceholder.js +15 -67
  349. package/ui/Elements/Icon/icons/Income.js +20 -75
  350. package/ui/Elements/Icon/icons/Info.js +31 -83
  351. package/ui/Elements/Icon/icons/Integrations.js +15 -67
  352. package/ui/Elements/Icon/icons/Inventory.js +43 -100
  353. package/ui/Elements/Icon/icons/Inventory2.js +64 -121
  354. package/ui/Elements/Icon/icons/Layout.js +41 -91
  355. package/ui/Elements/Icon/icons/Link.js +18 -73
  356. package/ui/Elements/Icon/icons/Liquid.js +20 -75
  357. package/ui/Elements/Icon/icons/Location.js +11 -65
  358. package/ui/Elements/Icon/icons/Logout1.js +30 -82
  359. package/ui/Elements/Icon/icons/MachinePackingForbidden.js +68 -120
  360. package/ui/Elements/Icon/icons/MakePhoto.js +33 -85
  361. package/ui/Elements/Icon/icons/MenuItems.js +37 -91
  362. package/ui/Elements/Icon/icons/Message.js +36 -96
  363. package/ui/Elements/Icon/icons/MobileCancel.js +20 -75
  364. package/ui/Elements/Icon/icons/MobilePhone.js +45 -97
  365. package/ui/Elements/Icon/icons/Moon.js +10 -64
  366. package/ui/Elements/Icon/icons/Notification2.js +23 -78
  367. package/ui/Elements/Icon/icons/OpenBox.js +35 -87
  368. package/ui/Elements/Icon/icons/Pallet.js +34 -93
  369. package/ui/Elements/Icon/icons/Plus1.js +15 -67
  370. package/ui/Elements/Icon/icons/Print.js +39 -91
  371. package/ui/Elements/Icon/icons/Product.js +15 -67
  372. package/ui/Elements/Icon/icons/Products.js +14 -66
  373. package/ui/Elements/Icon/icons/Profile.js +23 -78
  374. package/ui/Elements/Icon/icons/Puzzle1.js +16 -68
  375. package/ui/Elements/Icon/icons/QRCode.js +17 -69
  376. package/ui/Elements/Icon/icons/Rack.js +63 -115
  377. package/ui/Elements/Icon/icons/Reload.js +11 -65
  378. package/ui/Elements/Icon/icons/Return.js +17 -72
  379. package/ui/Elements/Icon/icons/Rows.js +37 -89
  380. package/ui/Elements/Icon/icons/Settings2.js +31 -91
  381. package/ui/Elements/Icon/icons/ShieldUser.js +7 -61
  382. package/ui/Elements/Icon/icons/ShoppingBag.js +16 -67
  383. package/ui/Elements/Icon/icons/Sort.js +21 -76
  384. package/ui/Elements/Icon/icons/Sun.js +10 -64
  385. package/ui/Elements/Icon/icons/ThreeDots.js +37 -89
  386. package/ui/Elements/Icon/icons/ToastError.js +25 -82
  387. package/ui/Elements/Icon/icons/ToastSuccess.js +25 -82
  388. package/ui/Elements/Icon/icons/Transfer.js +19 -74
  389. package/ui/Elements/Icon/icons/TrashBin.js +31 -83
  390. package/ui/Elements/Icon/icons/Truck.js +71 -127
  391. package/ui/Elements/Icon/icons/TwoBoxes.js +18 -73
  392. package/ui/Elements/Icon/icons/TwoCheckedBoxes.js +27 -27
  393. package/ui/Elements/Icon/icons/TwoUsers.js +40 -91
  394. package/ui/Elements/Icon/icons/UserCowboy.js +7 -61
  395. package/ui/Elements/Icon/icons/Valuable.js +32 -83
  396. package/ui/Elements/Icon/icons/Weight.js +10 -64
  397. package/ui/Elements/Icon/icons/index.js +188 -92
  398. package/ui/Elements/Icon/index.js +96 -4
  399. package/ui/Elements/Icon/types.js +1 -0
  400. package/ui/Elements/Image/Image.js +13 -154
  401. package/ui/Elements/Image/index.js +3 -1
  402. package/ui/Elements/Image/types.js +1 -0
  403. package/ui/Elements/Label/Label.js +22 -61
  404. package/ui/Elements/Label/index.js +4 -3
  405. package/ui/Elements/Line/Line.js +20 -44
  406. package/ui/Elements/Line/index.js +3 -1
  407. package/ui/Elements/Line/types.js +1 -0
  408. package/ui/Elements/Link/Link.js +42 -126
  409. package/ui/Elements/Link/index.js +3 -1
  410. package/ui/Elements/Logo/Logo.js +65 -162
  411. package/ui/Elements/Logo/assets/mailship/logo_black.js +4 -0
  412. package/ui/Elements/Logo/assets/mailship/logo_m.js +4 -0
  413. package/ui/Elements/Logo/assets/mailship/logo_white.js +4 -0
  414. package/ui/Elements/Logo/assets/mailship/mailship-logo.js +4 -0
  415. package/ui/Elements/Logo/assets/mailstep/mailstep_black.js +4 -0
  416. package/ui/Elements/Logo/assets/mailstep/mailstep_white.js +4 -0
  417. package/ui/Elements/Logo/assets/mailstock/mailstock.js +4 -0
  418. package/ui/Elements/Logo/assets/mailwise/mailwiseLogo.js +4 -0
  419. package/ui/Elements/Logo/assets/mailwise/mailwiseLogoSmall.js +4 -0
  420. package/ui/Elements/Logo/assets/mailwrap/mailwrapLogo.js +4 -0
  421. package/ui/Elements/Logo/assets/mailwrap/mailwrapLogoSmall.js +4 -0
  422. package/ui/Elements/Logo/assets/warehouse/manager.js +4 -0
  423. package/ui/Elements/Logo/assets/warehouse/manager2.js +4 -0
  424. package/ui/Elements/Logo/assets/warehouse/manager3.js +4 -0
  425. package/ui/Elements/Logo/index.js +3 -1
  426. package/ui/Elements/Logo/types.js +1 -0
  427. package/ui/Elements/Pagination/Pagination.js +61 -85
  428. package/ui/Elements/Pagination/index.js +3 -1
  429. package/ui/Elements/Pagination/styled.js +62 -89
  430. package/ui/Elements/Portal/index.js +20 -68
  431. package/ui/Elements/ProgressBar/ProgressBar.js +15 -19
  432. package/ui/Elements/ProgressBar/index.js +3 -1
  433. package/ui/Elements/ProgressBar/styles.js +69 -114
  434. package/ui/Elements/Select/Select.js +94 -442
  435. package/ui/Elements/Select/components/ChevronOption.js +29 -87
  436. package/ui/Elements/Select/components/ConnectedMenu.js +24 -85
  437. package/ui/Elements/Select/components/CountMultiValue.js +40 -132
  438. package/ui/Elements/Select/components/CustomInput.js +11 -61
  439. package/ui/Elements/Select/components/DropdownIndicator.js +28 -94
  440. package/ui/Elements/Select/components/IconValueContainer.js +27 -139
  441. package/ui/Elements/Select/components/SelectAll.js +87 -164
  442. package/ui/Elements/Select/components/SelectedIndicator.js +7 -23
  443. package/ui/Elements/Select/components/SimplifiedOption.js +15 -23
  444. package/ui/Elements/Select/index.js +3 -1
  445. package/ui/Elements/Select/styles.js +16 -44
  446. package/ui/Elements/Select/themes/index.js +37 -44
  447. package/ui/Elements/Select/themes/selectStyles.js +194 -302
  448. package/ui/Elements/Select/types.js +1 -0
  449. package/ui/Elements/SimpleLink/SimpleLink.js +35 -64
  450. package/ui/Elements/SimpleLink/index.js +5 -3
  451. package/ui/Elements/SingleSelect/SingleSelect.js +145 -509
  452. package/ui/Elements/SingleSelect/index.js +3 -1
  453. package/ui/Elements/SpaceAround/SpaceAround.js +31 -166
  454. package/ui/Elements/SpaceAround/index.js +3 -1
  455. package/ui/Elements/SpaceAround/types.js +1 -0
  456. package/ui/Elements/Spinner/Spinner.js +35 -36
  457. package/ui/Elements/Spinner/index.js +3 -1
  458. package/ui/Elements/Spinner/styles.js +35 -65
  459. package/ui/Elements/Spinner/types.js +1 -0
  460. package/ui/Elements/Table/Table.js +44 -77
  461. package/ui/Elements/Table/index.js +1 -1
  462. package/ui/Elements/Tag/Tag.js +47 -82
  463. package/ui/Elements/Tag/index.js +4 -2
  464. package/ui/Elements/Tag/palettes.js +50 -45
  465. package/ui/Elements/Tag/stories/components/predefinedTags.js +17 -18
  466. package/ui/Elements/Tag/types.js +1 -0
  467. package/ui/Elements/Text/Text.js +9 -75
  468. package/ui/Elements/Text/index.js +1 -1
  469. package/ui/Elements/Text/types.js +1 -0
  470. package/ui/Elements/Toast/Toast.js +33 -55
  471. package/ui/Elements/Toast/constants.js +17 -15
  472. package/ui/Elements/Toast/index.js +3 -1
  473. package/ui/Elements/Toast/styles.js +74 -104
  474. package/ui/Elements/Toggle/Toggle.js +120 -258
  475. package/ui/Elements/Toggle/index.js +3 -1
  476. package/ui/Elements/Toggle/types.js +1 -0
  477. package/ui/Elements/Tooltip/Tooltip.js +49 -119
  478. package/ui/Elements/Tooltip/index.js +3 -1
  479. package/ui/Elements/Typography/Typography.js +73 -158
  480. package/ui/Elements/Typography/index.js +4 -3
  481. package/ui/Forms/Checkbox/Checkbox.js +39 -40
  482. package/ui/Forms/Checkbox/index.js +5 -3
  483. package/ui/Forms/Checkbox/styles.js +92 -74
  484. package/ui/Forms/Checkbox/types.js +1 -0
  485. package/ui/Forms/Input/Input.js +125 -258
  486. package/ui/Forms/Input/index.js +3 -1
  487. package/ui/Forms/Input/styles.js +217 -201
  488. package/ui/Forms/Input/types.js +1 -0
  489. package/ui/Forms/RadioButton/RadioButton.js +22 -101
  490. package/ui/Forms/RadioButton/index.js +3 -1
  491. package/ui/Forms/RadioButton/styles.js +85 -75
  492. package/ui/Forms/RadioButton/types.js +1 -0
  493. package/ui/Forms/TextArea/TextArea.js +33 -153
  494. package/ui/Forms/TextArea/index.js +3 -1
  495. package/ui/Forms/TextArea/styles.js +75 -99
  496. package/ui/System/Fonts/index.js +52 -15
  497. package/ui/ThemeProvider/ThemeProvider.js +15 -18
  498. package/ui/ThemeProvider/index.js +5 -4
  499. package/ui/ThemeProvider/themes/default.js +185 -193
  500. package/ui/ThemeProvider/themes/index.js +10 -9
  501. package/ui/ThemeProvider/themes/light.js +7 -8
  502. package/ui/ThemeProvider/themes/mailwise.js +229 -236
  503. package/ui/ThemeProvider/types.js +1 -0
  504. package/ui/_virtual/_rolldown/runtime.js +13 -0
  505. package/ui/hooks/useToggleAndClose.js +15 -62
  506. package/ui/index.js +179 -94
  507. package/ui/packages/assets/fonts/Inter-Bold_mailstep.js +4 -0
  508. package/ui/packages/assets/fonts/Inter-Light_mailstep.js +4 -0
  509. package/ui/packages/assets/fonts/Inter-Medium_mailstep.js +4 -0
  510. package/ui/packages/assets/fonts/Inter-Regular_mailstep.js +4 -0
  511. package/ui/packages/assets/fonts/Inter-SemiBold_mailstep.js +4 -0
  512. package/ui/utils/CheckDeviceWidth/checkDeviceWidth.js +14 -63
  513. package/ui/utils/CreateRgba/createRgba.js +11 -16
  514. package/ui/utils/CreateRgba/types.js +1 -0
  515. package/ui/utils/KeyPress/KeyPress.js +15 -22
  516. package/ui/utils/KeyPress/index.js +4 -2
  517. package/ui/utils/KeyPress/types.js +1 -0
  518. package/ui/utils/LinguiContainer/index.js +7 -6
  519. package/ui/utils/index.js +7 -5
  520. package/ui/utils/translations.js +334 -333
  521. package/ui/Blocks/CommonGrid/store/store.d.js +0 -0
  522. package/ui/Blocks/CornerDialog/index.d.js +0 -2
  523. package/ui/Blocks/ImageList/index.d.js +0 -2
  524. package/ui/Blocks/LightBox/index.d.js +0 -3
  525. package/ui/Blocks/Modal/index.d.js +0 -3
  526. package/ui/Blocks/Tabs/index.d.js +0 -3
  527. package/ui/Elements/Alert/index.d.js +0 -3
  528. package/ui/Elements/Avatar/index.d.js +0 -2
  529. package/ui/Elements/Badge/index.d.js +0 -2
  530. package/ui/Elements/BorderedBox/index.d.js +0 -3
  531. package/ui/Elements/Button/Button.d.js +0 -2
  532. package/ui/Elements/Button/index.d.js +0 -3
  533. package/ui/Elements/Card/index.d.js +0 -2
  534. package/ui/Elements/ErrorMessage/index.d.js +0 -3
  535. package/ui/Elements/Line/index.d.js +0 -3
  536. package/ui/Elements/Logo/default.d.js +0 -0
  537. package/ui/Elements/Logo/index.d.js +0 -2
  538. package/ui/Elements/Pagination/index.d.js +0 -3
  539. package/ui/Elements/Spinner/index.d.js +0 -2
  540. package/ui/Elements/Tag/index.d.js +0 -3
  541. package/ui/Elements/Text/index.d.js +0 -2
  542. package/ui/Elements/Toast/index.d.js +0 -3
  543. package/ui/Elements/Toggle/index.d.js +0 -2
  544. package/ui/Elements/Tooltip/index.d.js +0 -2
  545. package/ui/Elements/Typography/index.d.js +0 -2
  546. package/ui/Forms/Checkbox/index.d.js +0 -2
  547. package/ui/Forms/Input/index.d.js +0 -3
  548. package/ui/Forms/RadioButton/index.d.js +0 -2
  549. package/ui/System/Fonts/font.d.js +0 -0
  550. package/ui/ThemeProvider/ThemeProvider.d.js +0 -2
  551. package/ui/ThemeProvider/index.d.js +0 -3
  552. package/ui/utils/index.d.js +0 -3
@@ -1,78 +1,23 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx, jsxs } from "react/jsx-runtime";
54
- var Sort = function Sort(props) {
55
- return /* @__PURE__ */ jsxs("svg", _object_spread_props(_object_spread({
56
- width: "14",
57
- height: "14",
58
- viewBox: "0 0 14 14",
59
- stroke: "#DB2B19",
60
- xmlns: "http://www.w3.org/2000/svg"
61
- }, props), {
62
- children: [
63
- /* @__PURE__ */ jsx("path", {
64
- d: "M3.5 1.5V12.5M3.5 12.5L1.5 10.5M3.5 12.5L5.5 10.5",
65
- strokeWidth: "1.5",
66
- strokeLinecap: "round",
67
- strokeLinejoin: "round"
68
- }),
69
- /* @__PURE__ */ jsx("path", {
70
- d: "M10.5 12.5V1.5M10.5 1.5L8.5 3.5M10.5 1.5L12.5 3.5",
71
- strokeWidth: "1.5",
72
- strokeLinecap: "round",
73
- strokeLinejoin: "round"
74
- })
75
- ]
76
- }));
77
- };
2
+ //#region packages/ui/Elements/Icon/icons/Sort.tsx
3
+ const Sort = (props) => /* @__PURE__ */ jsxs("svg", {
4
+ width: "14",
5
+ height: "14",
6
+ viewBox: "0 0 14 14",
7
+ stroke: "#DB2B19",
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ ...props,
10
+ children: [/* @__PURE__ */ jsx("path", {
11
+ d: "M3.5 1.5V12.5M3.5 12.5L1.5 10.5M3.5 12.5L5.5 10.5",
12
+ strokeWidth: "1.5",
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round"
15
+ }), /* @__PURE__ */ jsx("path", {
16
+ d: "M10.5 12.5V1.5M10.5 1.5L8.5 3.5M10.5 1.5L12.5 3.5",
17
+ strokeWidth: "1.5",
18
+ strokeLinecap: "round",
19
+ strokeLinejoin: "round"
20
+ })]
21
+ });
22
+ //#endregion
78
23
  export { Sort };
@@ -1,66 +1,12 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx } from "react/jsx-runtime";
54
- var Sun = function Sun(props) {
55
- return /* @__PURE__ */ jsx("svg", _object_spread_props(_object_spread({
56
- width: "18",
57
- height: "18",
58
- viewBox: "0 0 512 512",
59
- fill: "currentColor"
60
- }, props), {
61
- children: /* @__PURE__ */ jsx("path", {
62
- d: "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
63
- })
64
- }));
65
- };
2
+ //#region packages/ui/Elements/Icon/icons/Sun.tsx
3
+ const Sun = (props) => /* @__PURE__ */ jsx("svg", {
4
+ width: "18",
5
+ height: "18",
6
+ viewBox: "0 0 512 512",
7
+ fill: "currentColor",
8
+ ...props,
9
+ children: /* @__PURE__ */ jsx("path", { d: "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z" })
10
+ });
11
+ //#endregion
66
12
  export { Sun };
@@ -1,91 +1,39 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx, jsxs } from "react/jsx-runtime";
54
- var ThreeDots = function ThreeDots(props) {
55
- return /* @__PURE__ */ jsxs("svg", _object_spread_props(_object_spread({
56
- width: "18",
57
- height: "18",
58
- viewBox: "0 0 18 18",
59
- stroke: "#22394E",
60
- fill: "none",
61
- xmlns: "http://www.w3.org/2000/svg"
62
- }, props), {
63
- children: [
64
- /* @__PURE__ */ jsx("circle", {
65
- cx: "3.375",
66
- cy: "9",
67
- r: "1.875",
68
- strokeWidth: "1.5",
69
- strokeLinecap: "round",
70
- strokeLinejoin: "round"
71
- }),
72
- /* @__PURE__ */ jsx("circle", {
73
- cx: "9",
74
- cy: "9",
75
- r: "1.875",
76
- strokeWidth: "1.5",
77
- strokeLinecap: "round",
78
- strokeLinejoin: "round"
79
- }),
80
- /* @__PURE__ */ jsx("circle", {
81
- cx: "14.625",
82
- cy: "9",
83
- r: "1.875",
84
- strokeWidth: "1.5",
85
- strokeLinecap: "round",
86
- strokeLinejoin: "round"
87
- })
88
- ]
89
- }));
90
- };
2
+ //#region packages/ui/Elements/Icon/icons/ThreeDots.tsx
3
+ const ThreeDots = (props) => /* @__PURE__ */ jsxs("svg", {
4
+ width: "18",
5
+ height: "18",
6
+ viewBox: "0 0 18 18",
7
+ stroke: "#22394E",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ ...props,
11
+ children: [
12
+ /* @__PURE__ */ jsx("circle", {
13
+ cx: "3.375",
14
+ cy: "9",
15
+ r: "1.875",
16
+ strokeWidth: "1.5",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ }),
20
+ /* @__PURE__ */ jsx("circle", {
21
+ cx: "9",
22
+ cy: "9",
23
+ r: "1.875",
24
+ strokeWidth: "1.5",
25
+ strokeLinecap: "round",
26
+ strokeLinejoin: "round"
27
+ }),
28
+ /* @__PURE__ */ jsx("circle", {
29
+ cx: "14.625",
30
+ cy: "9",
31
+ r: "1.875",
32
+ strokeWidth: "1.5",
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round"
35
+ })
36
+ ]
37
+ });
38
+ //#endregion
91
39
  export { ThreeDots };
@@ -1,84 +1,27 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx, jsxs } from "react/jsx-runtime";
54
- var ToastError = function ToastError(props) {
55
- return /* @__PURE__ */ jsxs("svg", _object_spread_props(_object_spread({
56
- width: "16",
57
- height: "16",
58
- viewBox: "0 0 16 16",
59
- fill: "#A3B3C1"
60
- }, props), {
61
- children: [
62
- /* @__PURE__ */ jsx("g", {
63
- clipPath: "url(#clip0_1818_912)",
64
- children: /* @__PURE__ */ jsx("path", {
65
- fillRule: "evenodd",
66
- clipRule: "evenodd",
67
- d: "M8 15.5C12.1421 15.5 15.5 12.1421 15.5 8C15.5 3.85786 12.1421 0.5 8 0.5C3.85786 0.5 0.5 3.85786 0.5 8C0.5 12.1421 3.85786 15.5 8 15.5ZM5.19458 5.19477C5.48748 4.90187 5.96235 4.90187 6.25524 5.19477L8.16626 7.10578L10.0773 5.19477C10.3702 4.90187 10.845 4.90187 11.1379 5.19477C11.4308 5.48766 11.4308 5.96253 11.1379 6.25543L9.22692 8.16644L11.1379 10.0774C11.4308 10.3703 11.4308 10.8452 11.1379 11.1381C10.845 11.431 10.3702 11.431 10.0773 11.1381L8.16626 9.2271L6.25525 11.1381C5.96236 11.431 5.48749 11.431 5.19459 11.1381C4.9017 10.8452 4.9017 10.3703 5.19459 10.0774L7.1056 8.16644L5.19458 6.25543C4.90169 5.96253 4.90169 5.48766 5.19458 5.19477Z"
68
- })
69
- }),
70
- /* @__PURE__ */ jsx("defs", {
71
- children: /* @__PURE__ */ jsx("clipPath", {
72
- id: "clip0_1818_912",
73
- children: /* @__PURE__ */ jsx("rect", {
74
- width: "15",
75
- height: "15",
76
- fill: "white",
77
- transform: "translate(0.5 0.5)"
78
- })
79
- })
80
- })
81
- ]
82
- }));
83
- };
2
+ //#region packages/ui/Elements/Icon/icons/ToastError.tsx
3
+ const ToastError = (props) => /* @__PURE__ */ jsxs("svg", {
4
+ width: "16",
5
+ height: "16",
6
+ viewBox: "0 0 16 16",
7
+ fill: "#A3B3C1",
8
+ ...props,
9
+ children: [/* @__PURE__ */ jsx("g", {
10
+ clipPath: "url(#clip0_1818_912)",
11
+ children: /* @__PURE__ */ jsx("path", {
12
+ fillRule: "evenodd",
13
+ clipRule: "evenodd",
14
+ d: "M8 15.5C12.1421 15.5 15.5 12.1421 15.5 8C15.5 3.85786 12.1421 0.5 8 0.5C3.85786 0.5 0.5 3.85786 0.5 8C0.5 12.1421 3.85786 15.5 8 15.5ZM5.19458 5.19477C5.48748 4.90187 5.96235 4.90187 6.25524 5.19477L8.16626 7.10578L10.0773 5.19477C10.3702 4.90187 10.845 4.90187 11.1379 5.19477C11.4308 5.48766 11.4308 5.96253 11.1379 6.25543L9.22692 8.16644L11.1379 10.0774C11.4308 10.3703 11.4308 10.8452 11.1379 11.1381C10.845 11.431 10.3702 11.431 10.0773 11.1381L8.16626 9.2271L6.25525 11.1381C5.96236 11.431 5.48749 11.431 5.19459 11.1381C4.9017 10.8452 4.9017 10.3703 5.19459 10.0774L7.1056 8.16644L5.19458 6.25543C4.90169 5.96253 4.90169 5.48766 5.19458 5.19477Z"
15
+ })
16
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
17
+ id: "clip0_1818_912",
18
+ children: /* @__PURE__ */ jsx("rect", {
19
+ width: "15",
20
+ height: "15",
21
+ fill: "white",
22
+ transform: "translate(0.5 0.5)"
23
+ })
24
+ }) })]
25
+ });
26
+ //#endregion
84
27
  export { ToastError };
@@ -1,84 +1,27 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx, jsxs } from "react/jsx-runtime";
54
- var ToastSuccess = function ToastSuccess(props) {
55
- return /* @__PURE__ */ jsxs("svg", _object_spread_props(_object_spread({
56
- width: "16",
57
- height: "16",
58
- viewBox: "0 0 16 16",
59
- fill: "#00A445"
60
- }, props), {
61
- children: [
62
- /* @__PURE__ */ jsx("g", {
63
- clipPath: "url(#clip0_1818_895)",
64
- children: /* @__PURE__ */ jsx("path", {
65
- fillRule: "evenodd",
66
- clipRule: "evenodd",
67
- d: "M8 15.5C12.1421 15.5 15.5 12.1421 15.5 8C15.5 3.85786 12.1421 0.5 8 0.5C3.85786 0.5 0.5 3.85786 0.5 8C0.5 12.1421 3.85786 15.5 8 15.5ZM11.6081 6.3074C11.916 5.97153 11.8933 5.44966 11.5575 5.14178C11.2216 4.8339 10.6997 4.85659 10.3918 5.19246L6.87498 9.02902L5.60813 7.647C5.30025 7.31113 4.77838 7.28844 4.4425 7.59633C4.10663 7.90421 4.08394 8.42608 4.39183 8.76195L6.26683 10.8074C6.42309 10.9779 6.64372 11.0749 6.87498 11.0749C7.10623 11.0749 7.32687 10.9779 7.48313 10.8074L11.6081 6.3074Z"
68
- })
69
- }),
70
- /* @__PURE__ */ jsx("defs", {
71
- children: /* @__PURE__ */ jsx("clipPath", {
72
- id: "clip0_1818_895",
73
- children: /* @__PURE__ */ jsx("rect", {
74
- width: "15",
75
- height: "15",
76
- fill: "white",
77
- transform: "translate(0.5 0.5)"
78
- })
79
- })
80
- })
81
- ]
82
- }));
83
- };
2
+ //#region packages/ui/Elements/Icon/icons/ToastSuccess.tsx
3
+ const ToastSuccess = (props) => /* @__PURE__ */ jsxs("svg", {
4
+ width: "16",
5
+ height: "16",
6
+ viewBox: "0 0 16 16",
7
+ fill: "#00A445",
8
+ ...props,
9
+ children: [/* @__PURE__ */ jsx("g", {
10
+ clipPath: "url(#clip0_1818_895)",
11
+ children: /* @__PURE__ */ jsx("path", {
12
+ fillRule: "evenodd",
13
+ clipRule: "evenodd",
14
+ d: "M8 15.5C12.1421 15.5 15.5 12.1421 15.5 8C15.5 3.85786 12.1421 0.5 8 0.5C3.85786 0.5 0.5 3.85786 0.5 8C0.5 12.1421 3.85786 15.5 8 15.5ZM11.6081 6.3074C11.916 5.97153 11.8933 5.44966 11.5575 5.14178C11.2216 4.8339 10.6997 4.85659 10.3918 5.19246L6.87498 9.02902L5.60813 7.647C5.30025 7.31113 4.77838 7.28844 4.4425 7.59633C4.10663 7.90421 4.08394 8.42608 4.39183 8.76195L6.26683 10.8074C6.42309 10.9779 6.64372 11.0749 6.87498 11.0749C7.10623 11.0749 7.32687 10.9779 7.48313 10.8074L11.6081 6.3074Z"
15
+ })
16
+ }), /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", {
17
+ id: "clip0_1818_895",
18
+ children: /* @__PURE__ */ jsx("rect", {
19
+ width: "15",
20
+ height: "15",
21
+ fill: "white",
22
+ transform: "translate(0.5 0.5)"
23
+ })
24
+ }) })]
25
+ });
26
+ //#endregion
84
27
  export { ToastSuccess };
@@ -1,76 +1,21 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
1
  import { jsx, jsxs } from "react/jsx-runtime";
54
- var Transfer = function Transfer(props) {
55
- return /* @__PURE__ */ jsxs("svg", _object_spread_props(_object_spread({
56
- width: "22",
57
- height: "22",
58
- viewBox: "0 0 22 22",
59
- fill: "none",
60
- stroke: "#A3B3C1"
61
- }, props), {
62
- children: [
63
- /* @__PURE__ */ jsx("path", {
64
- d: "M18.3334 14.2083L9.16671 14.2083M9.16671 14.2083L13.0953 11M9.16671 14.2083L13.0953 17.4167",
65
- strokeWidth: "1.35",
66
- strokeLinecap: "round"
67
- }),
68
- /* @__PURE__ */ jsx("path", {
69
- d: "M2.75 7.79167L11.9167 7.79167M11.9167 7.79167L7.9881 11M11.9167 7.79167L7.9881 4.58333",
70
- strokeWidth: "1.35",
71
- strokeLinecap: "round"
72
- })
73
- ]
74
- }));
75
- };
2
+ //#region packages/ui/Elements/Icon/icons/Transfer.tsx
3
+ const Transfer = (props) => /* @__PURE__ */ jsxs("svg", {
4
+ width: "22",
5
+ height: "22",
6
+ viewBox: "0 0 22 22",
7
+ fill: "none",
8
+ stroke: "#A3B3C1",
9
+ ...props,
10
+ children: [/* @__PURE__ */ jsx("path", {
11
+ d: "M18.3334 14.2083L9.16671 14.2083M9.16671 14.2083L13.0953 11M9.16671 14.2083L13.0953 17.4167",
12
+ strokeWidth: "1.35",
13
+ strokeLinecap: "round"
14
+ }), /* @__PURE__ */ jsx("path", {
15
+ d: "M2.75 7.79167L11.9167 7.79167M11.9167 7.79167L7.9881 11M11.9167 7.79167L7.9881 4.58333",
16
+ strokeWidth: "1.35",
17
+ strokeLinecap: "round"
18
+ })]
19
+ });
20
+ //#endregion
76
21
  export { Transfer };