@astral/ui 4.1.7 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1364) hide show
  1. package/README.md +1 -1
  2. package/components/Accordion/useLogic/useLogic.js +2 -2
  3. package/components/ActionCellBase/MainAction/MainAction.js +1 -15
  4. package/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +2 -13
  5. package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
  6. package/components/ActionGroup/MainActions/MainActions.js +5 -19
  7. package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +19 -19
  8. package/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -16
  9. package/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -13
  10. package/components/AddressAutocomplete/AddressAutocomplete.js +3 -14
  11. package/components/AddressAutocomplete/faker.js +7 -13
  12. package/components/Alert/Alert.js +1 -1
  13. package/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -1
  14. package/components/AsyncAutocomplete/faker.js +6 -12
  15. package/components/AsyncAutocomplete/useLogic/useLogic.js +19 -17
  16. package/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
  17. package/components/Autocomplete/Autocomplete.js +22 -25
  18. package/components/Autocomplete/useLogic/useLogic.js +1 -1
  19. package/components/Avatar/Avatar.js +2 -14
  20. package/components/AvatarGroup/AvatarGroup.js +2 -13
  21. package/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +1 -2
  22. package/components/Badge/Badge.js +1 -15
  23. package/components/Banner/Banner.js +2 -13
  24. package/components/Banner/BannerActionButton/BannerActionButton.js +2 -14
  25. package/components/Banner/BannerContainer/BannerContainer.js +2 -3
  26. package/components/Banner/BannerTemplate/BannerTemplate.js +5 -5
  27. package/components/BottomDrawer/BottomDrawer.js +2 -14
  28. package/components/Breadcrumbs/Breadcrumbs.js +1 -1
  29. package/components/BulletList/BulletList.js +2 -13
  30. package/components/BulletListInlineItem/BulletListInlineItem.js +1 -1
  31. package/components/BulletListItem/BulletListItem.js +2 -13
  32. package/components/Button/Button.js +3 -14
  33. package/components/CheckableTag/CheckableTag.js +4 -16
  34. package/components/Checkbox/Checkbox.js +1 -1
  35. package/components/Checkbox/Icon/Icon.js +1 -15
  36. package/components/Checkbox/useLogic/useLogic.js +2 -14
  37. package/components/CheckboxField/CheckboxField.js +2 -14
  38. package/components/Chevron/Chevron.js +1 -1
  39. package/components/CodeField/CodeField.js +1 -1
  40. package/components/CodeField/hooks/useCodeState/useCodeState.js +2 -4
  41. package/components/Collapse/Collapse.js +1 -1
  42. package/components/CollapsibleTypography/CollapsibleTypography.js +7 -16
  43. package/components/ConfigProvider/ConfigProvider.js +18 -2
  44. package/components/ConfigProvider/NextFeatureFlagsContext/NextFeatureFlagsContextProvider/NextFeatureFlagsContextProvider.js +1 -15
  45. package/components/ConfirmAction/ConfirmAction.js +1 -1
  46. package/components/ConfirmDialog/ConfirmDialog.js +4 -15
  47. package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
  48. package/components/ContentState/ContentState.js +1 -1
  49. package/components/ContentState/useLogic/useLogic.js +2 -2
  50. package/components/CopyTypography/CopyTypography.js +2 -2
  51. package/components/CopyTypography/useLogic/useLogic.js +1 -13
  52. package/components/Counter/Counter.js +1 -15
  53. package/components/DashboardAlert/DashboardAlert.js +3 -14
  54. package/components/DashboardLayout/Header/Header.js +1 -2
  55. package/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
  56. package/components/DashboardLayout/Main/useLogic/useLogic.js +4 -7
  57. package/components/DashboardLayout/PinButton/PinButton.js +2 -13
  58. package/components/DashboardLayout/Sidebar/MenuSidebarButton/MenuSidebarButton.js +2 -13
  59. package/components/DashboardLayout/Sidebar/SidebarButton/SidebarButton.js +1 -1
  60. package/components/DashboardLayout/Sidebar/SidebarPopover/FadePopup/useLogic/useLogic.js +1 -2
  61. package/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +3 -15
  62. package/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/useLogic/useLogic.js +1 -1
  63. package/components/DashboardSidebarProvider/DashboardSidebarProvider.js +5 -2
  64. package/components/DataGrid/Body/Body.js +5 -17
  65. package/components/DataGrid/Cell/Cell.js +1 -1
  66. package/components/DataGrid/DataGrid.js +2 -2
  67. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +7 -4
  68. package/components/DataGrid/Head/Head.js +1 -1
  69. package/components/DataGrid/Head/useLogic/useLogic.js +3 -3
  70. package/components/DataGrid/HeadCell/HeadCell.js +3 -3
  71. package/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -15
  72. package/components/DataGrid/Row/NestedChildren/useLogic/useLogic.js +3 -3
  73. package/components/DataGrid/Row/Row.js +7 -21
  74. package/components/DataGrid/Row/useLogic/useLogic.js +6 -6
  75. package/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.js +6 -14
  76. package/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.js +6 -1
  77. package/components/DataGrid/faker.js +12 -15
  78. package/components/DataGrid/useLogic/useLogic.js +4 -3
  79. package/components/DataGridActionCell/MainAction/MainAction.js +1 -15
  80. package/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +2 -13
  81. package/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -1
  82. package/components/DataGridActionCell/useLogic/useLogic.js +2 -2
  83. package/components/DataGridInfinite/DataGridInfinite.js +6 -18
  84. package/components/DataGridInfinite/List/List.js +1 -15
  85. package/components/DataGridInfinite/useLogic/useLogic.js +6 -6
  86. package/components/DataGridMinimalisticPagination/DataGridMinimalisticPagination.js +2 -14
  87. package/components/DataGridPagination/DataGridPagination.js +2 -13
  88. package/components/DataGridPaginationContainer/useLogic/useLogic.js +1 -1
  89. package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/DateCalendarNextButton.js +2 -14
  90. package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/DateCalendarPrevButton.js +2 -14
  91. package/components/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.js +1 -1
  92. package/components/DatePicker/DateCalendar/DateCalendarWrapper/DateCalendarWrapper.js +1 -1
  93. package/components/DatePicker/DatePicker.js +2 -2
  94. package/components/DatePicker/DatePickerInput/DatePickerInput.js +10 -19
  95. package/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -14
  96. package/components/DatePicker/DayPicker/DayPicker.js +3 -15
  97. package/components/DatePicker/MonthPicker/MonthPicker.js +2 -18
  98. package/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.js +4 -5
  99. package/components/DatePicker/YearMonthDayPicker/YearMonthDayPicker.js +1 -1
  100. package/components/DatePicker/YearPicker/YearPicker.js +2 -19
  101. package/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.js +3 -4
  102. package/components/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.js +2 -4
  103. package/components/DatePicker/hooks/useMaskedValue/useMaskedValue.js +3 -3
  104. package/components/DatePicker/useLogic/useLogic.js +5 -5
  105. package/components/DateRangePicker/DateRangePicker.js +4 -15
  106. package/components/DateRangePicker/useLogic/useLogic.js +17 -21
  107. package/components/Description/Description.js +1 -1
  108. package/components/Description/Name/Name.js +2 -14
  109. package/components/Description/Value/Value.js +3 -14
  110. package/components/DescriptionList/DescriptionList.js +3 -15
  111. package/components/Dialog/Dialog.js +3 -15
  112. package/components/DialogActions/DialogActions.js +2 -14
  113. package/components/DialogContent/DialogContent.js +1 -1
  114. package/components/DialogContentText/DialogContentText.js +1 -1
  115. package/components/DialogTitle/DialogTitle.js +2 -14
  116. package/components/Divider/Divider.js +1 -1
  117. package/components/DropdownButton/DropdownButton.js +2 -14
  118. package/components/EmailField/EmailField.js +5 -14
  119. package/components/EmailOrPhoneField/EmailOrPhoneField.js +4 -1
  120. package/components/EmailOrPhoneField/useLogic/useLogic.js +5 -16
  121. package/components/ErrorBoundary/ErrorBoundary.js +2 -2
  122. package/components/ErrorBoundary/ErrorBoundary.stubs.js +15 -22
  123. package/components/Fab/Fab.js +2 -14
  124. package/components/Fab/styles.js +6 -6
  125. package/components/Filename/Filename.js +6 -14
  126. package/components/FlowButton/FlowButton.js +2 -13
  127. package/components/FormControl/FormControl.js +1 -1
  128. package/components/FormControlLabel/FormControlLabel.js +1 -1
  129. package/components/FormHelperText/FormHelperText.js +2 -14
  130. package/components/FormLabel/FormLabel.js +1 -1
  131. package/components/GlobalStyles/GlobalStyles.js +2 -14
  132. package/components/Grid/GridComponent/GridComponent.js +2 -14
  133. package/components/GuidTypography/GuidTypography.js +5 -14
  134. package/components/HintIcon/Icon/useLogic/useLogic.js +1 -1
  135. package/components/IconButton/IconButton.js +2 -13
  136. package/components/IconDropdownButton/IconDropdownButton.js +2 -14
  137. package/components/Iframe/Iframe.js +3 -4
  138. package/components/InfiniteDataList/InfiniteDataList.js +4 -5
  139. package/components/InfiniteTreeList/InfiniteTreeList.js +2 -2
  140. package/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +2 -2
  141. package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
  142. package/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
  143. package/components/InfiniteTreeList/OnTopButton/OnTopButton.js +1 -2
  144. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +3 -5
  145. package/components/InfiniteTreeList/useLogic/hooks/useScrollManagement/useScrollManagement.js +4 -6
  146. package/components/InfiniteTreeList/useLogic/hooks/useStickyButton/useStickyButton.js +1 -2
  147. package/components/InfiniteTreeList/useLogic/useLogic.js +3 -3
  148. package/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.js +5 -2
  149. package/components/InfiniteTreeList/useLogic/utils/getInitialExpandedIds/getInitialExpandedIds.js +2 -3
  150. package/components/JsonViewer/JsonNode/useLogic/useLogic.js +6 -15
  151. package/components/JsonViewer/NodeValue/utils/formatValue/formatValue.js +2 -2
  152. package/components/LegacyNotification/LegacyNotification.js +16 -27
  153. package/components/LegacyNotification/NotificationContainer/NotificationContainer.js +1 -1
  154. package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
  155. package/components/LegacyNotification/NotificationTemplate/constants.js +4 -4
  156. package/components/LegacyNotification/utils/notificationTemplatePropsCreator.js +5 -1
  157. package/components/Link/Link.js +2 -14
  158. package/components/List/List.js +1 -1
  159. package/components/ListItem/ListItem.js +1 -1
  160. package/components/ListItem/styles.js +6 -3
  161. package/components/ListItemAvatar/ListItemAvatar.js +1 -1
  162. package/components/ListItemButton/ListItemButton.js +2 -13
  163. package/components/ListItemIcon/ListItemIcon.js +1 -1
  164. package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  165. package/components/ListItemText/ListItemText.js +1 -1
  166. package/components/ListSubheader/ListSubheader.js +1 -1
  167. package/components/MaskField/MaskField.js +6 -19
  168. package/components/Menu/Menu.js +2 -14
  169. package/components/MenuItem/MenuItem.js +2 -13
  170. package/components/MenuList/MenuList.js +2 -14
  171. package/components/MenuOrganization/MenuOrganization.js +2 -2
  172. package/components/MenuOrganization/OrganizationItem/OrganizationItem.js +2 -13
  173. package/components/MenuOrganization/OrganizationList/OrganizationList.js +1 -1
  174. package/components/MenuOrganization/useLogic/useLogic.js +7 -8
  175. package/components/MinimalisticPagination/MinimalisticPagination.js +1 -1
  176. package/components/NavMenu/Item/Item.js +2 -13
  177. package/components/NavMenu/Item/ItemButton/ItemButton.js +3 -14
  178. package/components/NavMenu/Item/useLogic/useLogic.js +4 -4
  179. package/components/Notification/Notification.js +48 -32
  180. package/components/Notification/NotificationContainer/NotificationContainer.js +2 -14
  181. package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +2 -14
  182. package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +7 -28
  183. package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
  184. package/components/Notification/NotificationTemplate/constants.js +5 -31
  185. package/components/Notification/utils/getNotificationTemplateProps/getNotificationTemplateProps.js +5 -1
  186. package/components/Notification/utils/getNotifyOptions/getNotifyOptions.js +6 -15
  187. package/components/NotificationList/ListItem/ListItem.js +2 -2
  188. package/components/NotificationList/NotificationList.js +1 -1
  189. package/components/NumberField/NumberField.js +3 -15
  190. package/components/NumberField/useLogic/useLogic.js +2 -2
  191. package/components/NumberedList/NumberedList.js +2 -13
  192. package/components/OverflowTypography/OverflowTypography.js +12 -17
  193. package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
  194. package/components/PageLayout/PageAlert/PageAlert.js +1 -1
  195. package/components/PageLayout/PageContent/PageContent.js +1 -1
  196. package/components/PageLayout/PageContent/PageContentHeader/PageContentHeaderActions/PageContentHeaderActions.js +1 -1
  197. package/components/PageLayout/PageHeader/HeaderContent/HeaderContent.js +1 -1
  198. package/components/PageLayout/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -3
  199. package/components/PageLayout/PageHeader/PageActions/MainActions/MainActions.js +1 -1
  200. package/components/PageLayout/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -14
  201. package/components/PageLayout/PageHeader/PageHeader.js +1 -1
  202. package/components/PageLayout/PageHeader/Title/Title.js +1 -1
  203. package/components/PageLayout/PageHeader/hooks/usePageTitle/usePageTitle.js +3 -5
  204. package/components/PageLayout/PageLayout.js +1 -1
  205. package/components/PageLayout/PagePinnableAside/PagePinnableAside.js +1 -13
  206. package/components/PageLayout/PagePinnableAside/useLogic/useLogic.js +2 -2
  207. package/components/Pagination/Pagination.js +2 -2
  208. package/components/Pagination/PaginationItem/PaginationItem.js +3 -17
  209. package/components/Pagination/useLogic/useLogic.js +1 -13
  210. package/components/Paper/Paper.js +2 -14
  211. package/components/PasswordField/PasswordField.js +6 -15
  212. package/components/PdfViewer/List/List.js +1 -2
  213. package/components/PdfViewer/PdfDocument/PdfDocument.js +3 -14
  214. package/components/PdfViewer/PdfDocument/useLogic/useLogic.js +4 -6
  215. package/components/PdfViewer/PdfPage/PdfPage.js +2 -13
  216. package/components/PdfViewer/PdfPage/useLogic/useLogic.js +1 -1
  217. package/components/PdfViewer/PdfViewer.js +2 -2
  218. package/components/PdfViewer/PdfViewerPagination/useLogic/useLogic.js +1 -2
  219. package/components/PdfViewer/useLogic/useLogic.js +16 -29
  220. package/components/PdfViewer/utils/getFullPageHeight/getFullPageHeight.js +1 -2
  221. package/components/PdfViewer/utils/getPageHeightList/getPageHeightList.js +3 -12
  222. package/components/PdfViewer/utils/getPageParams/getPageParams.js +3 -12
  223. package/components/Popover/Popover.js +2 -14
  224. package/components/Product/Product.js +2 -13
  225. package/components/ProductSwitcher/faker.js +2 -2
  226. package/components/ProductSwitcher/useLogic/useLogic.js +8 -17
  227. package/components/Profile/MenuList/MenuList.js +3 -14
  228. package/components/Profile/Profile.js +1 -1
  229. package/components/Radio/Icon/Icon.js +1 -15
  230. package/components/Radio/Radio.js +1 -1
  231. package/components/Radio/useLogic/useLogic.js +2 -14
  232. package/components/RadioCard/RadioCard.js +2 -14
  233. package/components/RadioCard/styles.js +1 -0
  234. package/components/RadioField/RadioField.js +2 -14
  235. package/components/RadioGroup/RadioGroup.d.ts +1 -1
  236. package/components/RadioGroup/RadioGroup.js +5 -4
  237. package/components/RadioGroup/types.d.ts +5 -1
  238. package/components/RadioGroup/useLogic/useLogic.d.ts +2 -1
  239. package/components/RadioGroup/useLogic/useLogic.js +3 -2
  240. package/components/RadioGroupField/RadioGroupField.js +1 -1
  241. package/components/Rating/Rating.js +3 -18
  242. package/components/RedesignBanner/RedesignBanner.js +1 -1
  243. package/components/ResizingDataGrid/ResizingDataGrid.js +3 -15
  244. package/components/ResizingDataGrid/Sliders/Sliders.js +1 -13
  245. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +10 -4
  246. package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +3 -15
  247. package/components/SearchField/SearchField.js +1 -1
  248. package/components/SearchField/useLogic/useLogic.js +9 -19
  249. package/components/Select/Select.js +10 -17
  250. package/components/Select/useLogic/useLogic.js +9 -9
  251. package/components/SideDialog/SideDialog.js +2 -14
  252. package/components/SideDialogActions/SideDialogActions.js +1 -1
  253. package/components/SideDialogContent/SideDialogContent.js +1 -1
  254. package/components/SideDialogHeader/SideDialogHeader.js +1 -1
  255. package/components/SideDialogTitle/SideDialogTitle.js +1 -1
  256. package/components/Skeleton/Skeleton.js +1 -15
  257. package/components/StaticCalendar/StaticCalendarButton/StaticCalendarButton.js +2 -13
  258. package/components/StaticCalendar/StaticCalendarButton/useLogic/useLogic.js +7 -4
  259. package/components/StaticCalendar/StaticCalendarGridButton/styles.js +4 -4
  260. package/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.js +1 -2
  261. package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/hooks/useDragAndDropHandlers/useDragAndDropHandlers.js +4 -4
  262. package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.js +7 -4
  263. package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +5 -20
  264. package/components/StepSlider/StepSlider.js +4 -17
  265. package/components/Stepper/StepButton/StepButton.js +2 -13
  266. package/components/Stepper/StepLabel/StepLabel.js +2 -13
  267. package/components/Stepper/Stepper.js +2 -13
  268. package/components/StepperWizard/StepperWizard.js +2 -13
  269. package/components/StepperWizard/useLogic/useLogic.js +1 -1
  270. package/components/SvgIcon/SvgIcon.js +2 -13
  271. package/components/Switch/Switch.js +3 -15
  272. package/components/Tabs/Tab/Tab.js +2 -14
  273. package/components/Tabs/Tabs.js +2 -14
  274. package/components/Tag/Tag.js +4 -16
  275. package/components/Tag/useLogic/useLogic.js +1 -1
  276. package/components/TagBadge/TagBadge.js +2 -14
  277. package/components/TagsList/Tag/Tag.js +2 -13
  278. package/components/TagsList/TagsList.js +2 -2
  279. package/components/TagsList/useLogic/useLogic.js +5 -5
  280. package/components/TextArea/TextArea.js +2 -14
  281. package/components/TextField/TextField.js +15 -19
  282. package/components/ToggleButton/ToggleButton.js +1 -1
  283. package/components/ToggleButton/useLogic/useLogic.js +1 -13
  284. package/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -13
  285. package/components/Tooltip/Tooltip.js +2 -13
  286. package/components/Tooltip/styles.js +1 -15
  287. package/components/Tree/MultipleTreeList/MultipleTreeList.js +2 -14
  288. package/components/Tree/MultipleTreeList/TreeItem/TreeItem.js +1 -1
  289. package/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.js +3 -3
  290. package/components/Tree/MultipleTreeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
  291. package/components/Tree/TreeItem/TreeItem.js +3 -14
  292. package/components/Tree/TreeItem/useLogic/useLogic.js +2 -2
  293. package/components/Tree/TreeList/TreeItem/TreeItem.js +1 -1
  294. package/components/Tree/TreeList/TreeItem/useLogic/useLogic.js +6 -6
  295. package/components/Tree/TreeList/TreeList.js +2 -13
  296. package/components/Tree/utils/getFormatDisabledItems/getFormatDisabledItems.js +2 -2
  297. package/components/TreeAsyncAutocomplete/Input/Input.js +2 -14
  298. package/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -3
  299. package/components/TreeAsyncAutocomplete/OptionsModal/OptionsModal.js +2 -2
  300. package/components/TreeAsyncAutocomplete/OptionsModal/useLogic/useLogic.js +19 -22
  301. package/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +1 -1
  302. package/components/TreeAsyncAutocomplete/useLogic/useLogic.js +18 -18
  303. package/components/TreeAutocomplete/Input/Input.js +2 -13
  304. package/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -3
  305. package/components/TreeAutocomplete/OptionsModal/OptionsModal.js +3 -14
  306. package/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
  307. package/components/TreeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
  308. package/components/TreeAutocomplete/TreeAutocomplete.js +2 -13
  309. package/components/TreeAutocomplete/useLogic/useLogic.js +3 -4
  310. package/components/TreeLikeAutocomplete/Input/Input.js +2 -13
  311. package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +6 -8
  312. package/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.js +3 -14
  313. package/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
  314. package/components/TreeLikeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
  315. package/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +2 -13
  316. package/components/TreeLikeAutocomplete/useLogic/useLogic.js +2 -2
  317. package/components/TreeLikeList/TreeItem/TreeItem.js +2 -2
  318. package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +4 -4
  319. package/components/TreeLikeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
  320. package/components/TreeLikeList/TreeLikeList.js +2 -13
  321. package/components/TreeLikeList/useLogic/useLogic.js +1 -1
  322. package/components/TreeLikeList/useLogic/utils/getChainsId/getChainsId.js +1 -1
  323. package/components/Typography/Typography.js +2 -14
  324. package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -2
  325. package/components/fileUploading/FileUploader/FIleList/FileList.js +1 -15
  326. package/components/fileUploading/FileUploader/FileUploader.js +1 -1
  327. package/components/fileUploading/FileUploader/faker.js +8 -14
  328. package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.js +1 -15
  329. package/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.js +1 -15
  330. package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/useLogic/useLogic.js +2 -14
  331. package/components/fileUploading/FileUploaderFile/Actions/Actions.js +2 -13
  332. package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +8 -5
  333. package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -13
  334. package/components/fileUploading/FileUploaderFile/Progress/Progress.js +1 -1
  335. package/components/fileUploading/PreviewFileUploader/FileList/FileList.js +1 -15
  336. package/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +1 -1
  337. package/components/fileUploading/PreviewFileUploader/faker.js +8 -14
  338. package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/HintPlaceholder.js +1 -1
  339. package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.js +9 -18
  340. package/components/fileUploading/PreviewFileUploaderDropZone/PreviewFileUploaderDropZone.js +1 -15
  341. package/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +1 -1
  342. package/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.js +2 -3
  343. package/components/fileUploading/PreviewFileUploaderFile/FileLoading/FileLoading.js +1 -1
  344. package/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/Progress.js +1 -1
  345. package/components/fileUploading/PreviewFileUploaderFile/FileLoading/useLogic/useLogic.js +1 -1
  346. package/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +1 -1
  347. package/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/Preview.js +3 -3
  348. package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +3 -3
  349. package/components/fileUploading/hooks/useFileUploader/useFileUploader.js +29 -23
  350. package/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +27 -24
  351. package/components/fileUploading/hooks/useSelfFiles/useSelfFiles.js +22 -4
  352. package/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +5 -13
  353. package/components/fileUploading/hooks/useUploadFiles/useUploadFiles.js +2 -2
  354. package/components/fileUploading/restrictions/restrictFileMaxSize/restrictFileMaxSize.js +1 -1
  355. package/components/fileUploading/utils/rulePipe/rulePipe.js +1 -2
  356. package/components/hooks/useAsyncOptions/useAsyncOptions.js +3 -4
  357. package/components/hooks/useCheckControlled/useCheckControlled.js +1 -1
  358. package/components/hooks/useClickAwayEffect/useClickAwayEffect.js +1 -1
  359. package/components/hooks/useEscapeClickEffect/useEscapeClickEffect.js +1 -1
  360. package/components/hooks/useFeatureFlags/useFeatureFlags.js +1 -1
  361. package/components/hooks/useFocusAwayEffect/useFocusAwayEffect.js +1 -1
  362. package/components/hooks/useId/useId.js +1 -1
  363. package/components/hooks/useInputPopover/useInputPopover.js +1 -1
  364. package/components/hooks/useToggle/useToggle.js +2 -2
  365. package/components/index.d.ts +1 -1
  366. package/components/index.js +1 -1
  367. package/components/personalDataSecurity/PersonalData/PersonalData.js +4 -1
  368. package/components/placeholders/Placeholder/Placeholder.js +1 -2
  369. package/components/services/SecondsCountdown/SecondsCountdown.js +3 -6
  370. package/components/theme/baseTheme/baseTheme.js +5 -2
  371. package/components/theme/baseTheme/utils/createSnapshotTheme.js +5 -2
  372. package/components/theme/baseTheme/utils/writeSnapshot.js +3 -12
  373. package/components/theme/components/MuiButton.js +3 -3
  374. package/components/theme/palette/palette.js +86 -10
  375. package/components/transitions/Slide/Slide.js +1 -1
  376. package/components/utils/array/deepMap/deepMap.js +5 -2
  377. package/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.js +19 -8
  378. package/components/utils/date/format/formatDate/formatDate.js +1 -1
  379. package/hook-form/EditableText/EditableText.js +3 -14
  380. package/hook-form/EditableText/EditingForm/EditingForm.js +3 -3
  381. package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +3 -3
  382. package/hook-form/Form/Form.js +3 -15
  383. package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +7 -15
  384. package/hook-form/FormAddressAutocomplete/faker.js +7 -13
  385. package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +6 -3
  386. package/hook-form/FormAsyncAutocomplete/faker.js +9 -15
  387. package/hook-form/FormAutocomplete/FormAutocomplete.js +7 -5
  388. package/hook-form/FormCheckboxField/FormCheckboxField.js +6 -15
  389. package/hook-form/FormCodeField/FormCodeField.js +3 -14
  390. package/hook-form/FormDatePicker/FormDatePicker.js +8 -17
  391. package/hook-form/FormDateRangePicker/FormDateRangePicker.js +6 -15
  392. package/hook-form/FormEmailField/FormEmailField.js +5 -2
  393. package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +6 -3
  394. package/hook-form/FormFileUploader/FormFileUploader.js +2 -13
  395. package/hook-form/FormFileUploader/faker.js +8 -14
  396. package/hook-form/FormMaskField/FormMaskField.js +5 -2
  397. package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +9 -15
  398. package/hook-form/FormNumberField/FormNumberField.js +1 -1
  399. package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
  400. package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -13
  401. package/hook-form/FormPreviewFileUploader/faker.js +8 -14
  402. package/hook-form/FormRadioGroup/FormRadioGroup.d.ts +1 -4
  403. package/hook-form/FormRadioGroup/FormRadioGroup.js +10 -16
  404. package/hook-form/FormSelect/FormSelect.js +6 -3
  405. package/hook-form/FormSubmitButton/FormSubmitButton.js +2 -14
  406. package/hook-form/FormTextArea/FormTextArea.js +5 -2
  407. package/hook-form/FormTextField/FormTextField.js +5 -2
  408. package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +7 -15
  409. package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +5 -13
  410. package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +5 -13
  411. package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +5 -13
  412. package/hook-form/FormWizard/FormWizard.js +7 -4
  413. package/hook-form/FormWizard/useLogic/useLogic.js +1 -1
  414. package/hook-form/formLayouts/FormPageFooterContainer/useLogic/useLogic.js +1 -1
  415. package/hook-form/formLayouts/FormPageLayout/FormPageFooter/SecondaryActions/SecondaryActions.js +4 -18
  416. package/hook-form/formLayouts/FormPageLayout/FormPageLayout.js +4 -15
  417. package/hook-form/formLayouts/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +4 -18
  418. package/hook-form/formLayouts/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
  419. package/hook-form/formLayouts/FormPageLayoutBase/useLogic/useLogic.js +14 -20
  420. package/hook-form/formLayouts/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
  421. package/hook-form/hooks/useForm/useForm.js +8 -16
  422. package/hook-form/hooks/useFormFieldErrorProps/useFormFieldErrorProps.js +1 -1
  423. package/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +10 -2
  424. package/hook-form/hooks/useFormInputProps/useFormInputProps.js +1 -12
  425. package/hook-form/hooks/useFormWizard/useFormWizard.js +9 -24
  426. package/hook-form/react-hook-form-resolver/resolver/resolver.js +4 -14
  427. package/hook-form/react-hook-form-resolver/utils/validateFieldsNatively/validateFieldsNatively.js +2 -2
  428. package/icons/FillMd/AutosaveErrorFillMd.js +1 -15
  429. package/icons/FillMd/AutosaveFillMd.js +1 -15
  430. package/icons/FillMd/AutosaveLoaderFillMd.js +1 -15
  431. package/icons/FillMd/BellFillMd.js +1 -15
  432. package/icons/FillMd/BookmarkFillMd.js +1 -15
  433. package/icons/FillMd/CalculatorFillMd.js +1 -15
  434. package/icons/FillMd/CircleErrorFillMd.js +1 -15
  435. package/icons/FillMd/ClockFillMd.js +1 -15
  436. package/icons/FillMd/CompanyPicFillMd.js +1 -15
  437. package/icons/FillMd/CopyMailFillMd.js +1 -15
  438. package/icons/FillMd/DislikeFillMd.js +1 -15
  439. package/icons/FillMd/DocSuccessFillMd.js +1 -15
  440. package/icons/FillMd/EditFillMd.js +1 -15
  441. package/icons/FillMd/EducationFillMd.js +1 -15
  442. package/icons/FillMd/ErrorFillMd.js +1 -15
  443. package/icons/FillMd/EyeFillMd.js +1 -15
  444. package/icons/FillMd/FilterFillMd.js +1 -15
  445. package/icons/FillMd/InfoFillMd.js +1 -15
  446. package/icons/FillMd/KeyFillMd.js +1 -15
  447. package/icons/FillMd/LikeFillMd.js +1 -15
  448. package/icons/FillMd/PhotoFillMd.js +1 -15
  449. package/icons/FillMd/PluginFillMd.js +1 -15
  450. package/icons/FillMd/PlusFillMd.js +1 -15
  451. package/icons/FillMd/ProductsFillMd.js +1 -15
  452. package/icons/FillMd/ProfileFillMd.js +1 -15
  453. package/icons/FillMd/QuestionFillMd.js +1 -15
  454. package/icons/FillMd/SaveFillMd.js +1 -15
  455. package/icons/FillMd/SendFillMd.js +1 -15
  456. package/icons/FillMd/SentFillMd.js +1 -15
  457. package/icons/FillMd/SettingsFillMd.js +1 -15
  458. package/icons/FillMd/StepDefaultFillMd.js +1 -15
  459. package/icons/FillMd/StepErrorFillMd.js +1 -15
  460. package/icons/FillMd/StepSuccessFillMd.js +1 -15
  461. package/icons/FillMd/SuccessFillMd.js +1 -15
  462. package/icons/FillMd/SupportFillMd.js +1 -15
  463. package/icons/FillMd/WarningFillMd.js +1 -15
  464. package/icons/FillMd/WebFillMd.js +1 -15
  465. package/icons/FillSm/ArrowDFillSm.js +1 -15
  466. package/icons/FillSm/ArrowUpFillSm.js +1 -15
  467. package/icons/FillSm/CircleErrorFillSm.js +1 -15
  468. package/icons/FillSm/ClockFillSm.js +1 -15
  469. package/icons/FillSm/DislikeFillSm.js +1 -15
  470. package/icons/FillSm/ErrorFillSm.js +1 -15
  471. package/icons/FillSm/InfoFillSm.js +1 -15
  472. package/icons/FillSm/LikeFillSm.js +1 -15
  473. package/icons/FillSm/LocationFillSm.js +1 -15
  474. package/icons/FillSm/MailFillSm.js +1 -15
  475. package/icons/FillSm/PauseFillSm.js +1 -15
  476. package/icons/FillSm/PhoneFillSm.js +1 -15
  477. package/icons/FillSm/PitFillSm.js +1 -15
  478. package/icons/FillSm/PlayFillSm.js +1 -15
  479. package/icons/FillSm/RectangleFillSm.js +1 -15
  480. package/icons/FillSm/RoundFillSm.js +1 -15
  481. package/icons/FillSm/SentFillSm.js +1 -15
  482. package/icons/FillSm/SortDownFillSm.js +1 -15
  483. package/icons/FillSm/SortFillSm.js +1 -15
  484. package/icons/FillSm/SortUpFillSm.js +1 -15
  485. package/icons/FillSm/StarFillSm.js +1 -15
  486. package/icons/FillSm/SuccessFillSm.js +1 -15
  487. package/icons/FillSm/UpToDateFillSm.js +1 -15
  488. package/icons/FillSm/WarningFillSm.js +1 -15
  489. package/icons/LogoFillMd/FacebookFillMd.js +1 -15
  490. package/icons/LogoFillMd/GoogleFillMd.js +1 -15
  491. package/icons/LogoFillMd/OkFillMd.js +1 -15
  492. package/icons/LogoFillMd/TelegramFillMd.js +1 -15
  493. package/icons/LogoFillMd/VkFillMd.js +1 -15
  494. package/icons/LogoFillMd/YoutubeFillMd.js +1 -15
  495. package/icons/OutlineMd/AIBotOutlineMd.js +1 -15
  496. package/icons/OutlineMd/AIOutlineMd.js +1 -15
  497. package/icons/OutlineMd/AddArrayOutlineMd.js +1 -15
  498. package/icons/OutlineMd/AddDocumentOutlineMd.js +1 -15
  499. package/icons/OutlineMd/AddOutlineMd.js +1 -15
  500. package/icons/OutlineMd/AddUserOutlineMd.js +1 -15
  501. package/icons/OutlineMd/AddWorkplaceOutlineMd.js +1 -15
  502. package/icons/OutlineMd/AllCheckOutlineMd.js +1 -15
  503. package/icons/OutlineMd/AnalyticOutlineMd.js +1 -15
  504. package/icons/OutlineMd/ArchiveOutlineMd.js +1 -15
  505. package/icons/OutlineMd/ArrayPatternOutlineMd.js +1 -15
  506. package/icons/OutlineMd/ArrowDwnOutlineMd.js +1 -15
  507. package/icons/OutlineMd/ArrowLOutlineMd.js +1 -15
  508. package/icons/OutlineMd/ArrowROutlineMd.js +1 -15
  509. package/icons/OutlineMd/ArrowUpOutlineMd.js +1 -15
  510. package/icons/OutlineMd/AttachmentOutlineMd.js +1 -1
  511. package/icons/OutlineMd/AutosaveErrorOutlineMd.js +1 -15
  512. package/icons/OutlineMd/AutosaveLoaderOutlineMd.js +1 -15
  513. package/icons/OutlineMd/AutosaveOutlineMd.js +1 -15
  514. package/icons/OutlineMd/BankOutlineMd.js +1 -15
  515. package/icons/OutlineMd/BasketOutlineMd.js +1 -15
  516. package/icons/OutlineMd/BellOutlineMd.js +1 -15
  517. package/icons/OutlineMd/BinOutlineMd.js +1 -15
  518. package/icons/OutlineMd/BlockMessageOutlineMd.js +1 -15
  519. package/icons/OutlineMd/BlockOutlineMd.js +1 -15
  520. package/icons/OutlineMd/BookOutlineMd.js +1 -15
  521. package/icons/OutlineMd/BoxOutlineMd.js +1 -15
  522. package/icons/OutlineMd/BoxesOutlineMd.js +1 -15
  523. package/icons/OutlineMd/CalendarOutlineMd.js +1 -15
  524. package/icons/OutlineMd/CancelRouteOutlineMd.js +1 -15
  525. package/icons/OutlineMd/CartOutlineMd.js +1 -15
  526. package/icons/OutlineMd/CaseOutlineMd.js +1 -15
  527. package/icons/OutlineMd/CashReceiptOutlineMd.js +1 -15
  528. package/icons/OutlineMd/CassOutlineMd.js +1 -15
  529. package/icons/OutlineMd/CertAddOutlineMd.js +1 -15
  530. package/icons/OutlineMd/CertGivenOutlineMd.js +1 -15
  531. package/icons/OutlineMd/CertOutlineMd.js +1 -15
  532. package/icons/OutlineMd/CheckListOutlineMd.js +1 -15
  533. package/icons/OutlineMd/CheckOutlineMd.js +1 -15
  534. package/icons/OutlineMd/ChevronDOutlineMd.js +1 -15
  535. package/icons/OutlineMd/ChevronLOutlineMd.js +1 -15
  536. package/icons/OutlineMd/ChevronROutlineMd.js +1 -15
  537. package/icons/OutlineMd/ChevronUpOutlineMd.js +1 -15
  538. package/icons/OutlineMd/ClockOutlineMd.js +1 -15
  539. package/icons/OutlineMd/ClockwiseOutlineMd.js +1 -15
  540. package/icons/OutlineMd/CompanyAddOutlineMd.js +1 -15
  541. package/icons/OutlineMd/CompanyOutlineMd.js +1 -15
  542. package/icons/OutlineMd/ContractorsOutlineMd.js +1 -15
  543. package/icons/OutlineMd/CopyOutlineMd.js +1 -15
  544. package/icons/OutlineMd/CreditCardOutlineMd.js +1 -15
  545. package/icons/OutlineMd/CrossOutlineMd.js +1 -15
  546. package/icons/OutlineMd/DelegateOutlineMd.js +1 -15
  547. package/icons/OutlineMd/DialogOutlineMd.js +1 -15
  548. package/icons/OutlineMd/DislikeOutlineMd.js +1 -15
  549. package/icons/OutlineMd/DivisionsOutlineMd.js +1 -15
  550. package/icons/OutlineMd/DocIncomingOutlineMd.js +1 -15
  551. package/icons/OutlineMd/DocNoSignatureOutlineMd.js +1 -15
  552. package/icons/OutlineMd/DocOutlineMd.js +1 -15
  553. package/icons/OutlineMd/DocPatternOutlineMd.js +1 -15
  554. package/icons/OutlineMd/DocRejectOutlineMd.js +1 -15
  555. package/icons/OutlineMd/DocSignedOutlineMd.js +1 -15
  556. package/icons/OutlineMd/DocsArrayOutlineMd.js +1 -15
  557. package/icons/OutlineMd/DocumentOutlineMd.js +1 -15
  558. package/icons/OutlineMd/DocumentsOutlineMd.js +1 -15
  559. package/icons/OutlineMd/DotsOutlineMd.js +1 -15
  560. package/icons/OutlineMd/DotsVOutlineMd.js +1 -15
  561. package/icons/OutlineMd/DoubleNextOutlineMd.js +1 -15
  562. package/icons/OutlineMd/DoublePreviousOutlineMd.js +1 -15
  563. package/icons/OutlineMd/DownOutlineMd.js +1 -15
  564. package/icons/OutlineMd/DownloadOutlineMd.js +1 -15
  565. package/icons/OutlineMd/DownloadVOutlineMd.js +1 -15
  566. package/icons/OutlineMd/DraftOutlineMd.js +1 -15
  567. package/icons/OutlineMd/DragOutlineMd.js +1 -15
  568. package/icons/OutlineMd/DuplicateOutlineMd.js +1 -15
  569. package/icons/OutlineMd/EditOutlineMd.js +1 -15
  570. package/icons/OutlineMd/ExportOutlineMd.js +1 -15
  571. package/icons/OutlineMd/EyeCrossedOutlineMd.js +1 -1
  572. package/icons/OutlineMd/EyeOutlineMd.js +1 -15
  573. package/icons/OutlineMd/Filter2OutlineMd.js +1 -15
  574. package/icons/OutlineMd/FilterOutlineMd.js +1 -15
  575. package/icons/OutlineMd/FolderClOutlineMd.js +1 -15
  576. package/icons/OutlineMd/FolderOpOutlineMd.js +1 -15
  577. package/icons/OutlineMd/FullSizeOutlineMd.js +1 -15
  578. package/icons/OutlineMd/GoToFolderOutlineMd.js +1 -1
  579. package/icons/OutlineMd/GroupOutlineMd.js +1 -15
  580. package/icons/OutlineMd/GroupsOutlineMd.js +1 -15
  581. package/icons/OutlineMd/HistoryOutlineMd.js +1 -15
  582. package/icons/OutlineMd/HomeOutlineMd.js +1 -15
  583. package/icons/OutlineMd/InArchiveOutlineMd.js +1 -15
  584. package/icons/OutlineMd/InfoOutlineMd.js +1 -15
  585. package/icons/OutlineMd/LightingOffOutlineMd.js +1 -15
  586. package/icons/OutlineMd/LightingOnOutlineMd.js +1 -15
  587. package/icons/OutlineMd/LikeOutlineMd.js +1 -15
  588. package/icons/OutlineMd/LinkOutlineMd.js +1 -15
  589. package/icons/OutlineMd/ListDataOutlineMd.js +1 -15
  590. package/icons/OutlineMd/LoaderOutlineMd.js +1 -15
  591. package/icons/OutlineMd/LockOutlineMd.js +1 -15
  592. package/icons/OutlineMd/LogisticOutlineMd.js +1 -15
  593. package/icons/OutlineMd/MailOutlineMd.js +1 -15
  594. package/icons/OutlineMd/MarkDocOutlineMd.js +1 -15
  595. package/icons/OutlineMd/MedListOutlineMd.js +1 -15
  596. package/icons/OutlineMd/MegaphoneOutlineMd.js +1 -15
  597. package/icons/OutlineMd/MenuOffOutlineMd.js +1 -15
  598. package/icons/OutlineMd/MenuOnOutlineMd.js +1 -15
  599. package/icons/OutlineMd/MessageOutlineMd.js +1 -1
  600. package/icons/OutlineMd/MinimizeOutlineMd.js +1 -15
  601. package/icons/OutlineMd/MinusOutlineMd.js +1 -15
  602. package/icons/OutlineMd/NewsOutlineMd.js +1 -15
  603. package/icons/OutlineMd/NextOutlineMd.js +1 -15
  604. package/icons/OutlineMd/NumberOutlineMd.js +1 -15
  605. package/icons/OutlineMd/OpenLinkOutlineMd.js +1 -15
  606. package/icons/OutlineMd/OutcomingDocumentOutlineMd.js +1 -15
  607. package/icons/OutlineMd/PageDotOutlineMd.js +1 -15
  608. package/icons/OutlineMd/PeopleOutlineMd.js +1 -15
  609. package/icons/OutlineMd/PhoneOutlineMd.js +1 -15
  610. package/icons/OutlineMd/PinOutlineMd.js +1 -15
  611. package/icons/OutlineMd/PreviousOutlineMd.js +1 -15
  612. package/icons/OutlineMd/PrintOutlineMd.js +1 -15
  613. package/icons/OutlineMd/ProfileOutlineMd.js +1 -15
  614. package/icons/OutlineMd/ProxyOutlineMd.js +1 -15
  615. package/icons/OutlineMd/QrOutlineMd.js +1 -15
  616. package/icons/OutlineMd/QuestionOutlineMd.js +1 -15
  617. package/icons/OutlineMd/QuitOutlineMd.js +1 -15
  618. package/icons/OutlineMd/ReestablishOutlineMd.js +1 -15
  619. package/icons/OutlineMd/RefreshOutlineMd.js +1 -15
  620. package/icons/OutlineMd/RequirementOutlineMd.js +1 -15
  621. package/icons/OutlineMd/RetryOutlineMd.js +1 -15
  622. package/icons/OutlineMd/RouteOutlineMd.js +1 -15
  623. package/icons/OutlineMd/SaveCheckOutlineMd.js +1 -15
  624. package/icons/OutlineMd/SaveOutlineMd.js +1 -15
  625. package/icons/OutlineMd/SearchOutlineMd.js +1 -15
  626. package/icons/OutlineMd/SendOutlineMd.js +1 -15
  627. package/icons/OutlineMd/SentMessageOutlineMd.js +1 -15
  628. package/icons/OutlineMd/SettingsOutlineMd.js +1 -15
  629. package/icons/OutlineMd/ShareOutlineMd.js +1 -15
  630. package/icons/OutlineMd/SortOutlineMd.js +1 -15
  631. package/icons/OutlineMd/Sorting2OutlineMd.js +1 -15
  632. package/icons/OutlineMd/SortingOutlineMd.js +1 -15
  633. package/icons/OutlineMd/SortingVOutlineMd.js +1 -15
  634. package/icons/OutlineMd/StorageOutlineMd.js +1 -15
  635. package/icons/OutlineMd/SupportOutlineMd.js +1 -15
  636. package/icons/OutlineMd/TagOutlineMd.js +1 -1
  637. package/icons/OutlineMd/TransferOutlineMd.js +1 -15
  638. package/icons/OutlineMd/TreeOutlineMd.js +1 -15
  639. package/icons/OutlineMd/UnGroupOutlineMd.js +1 -15
  640. package/icons/OutlineMd/UnlinkOutlineMd.js +1 -15
  641. package/icons/OutlineMd/UnlockOutlineMd.js +1 -15
  642. package/icons/OutlineMd/UnpinOutlineMd.js +1 -15
  643. package/icons/OutlineMd/UnreadOutlineMd.js +1 -15
  644. package/icons/OutlineMd/UpOutlineMd.js +1 -15
  645. package/icons/OutlineMd/UploadOutlineMd.js +1 -15
  646. package/icons/OutlineMd/UserArrowDownOutlineMd.js +1 -15
  647. package/icons/OutlineMd/UserArrowUpOutlineMd.js +1 -15
  648. package/icons/OutlineMd/UserCheckOutlineMd.js +1 -15
  649. package/icons/OutlineMd/UserCrossOutlineMd.js +1 -15
  650. package/icons/OutlineSm/AddOutlineSm.js +1 -15
  651. package/icons/OutlineSm/AddSmOutlineSm.js +1 -15
  652. package/icons/OutlineSm/ArrowDwnOutlineSm.js +1 -15
  653. package/icons/OutlineSm/ArrowLOutlineSm.js +1 -15
  654. package/icons/OutlineSm/ArrowROutlineSm.js +1 -15
  655. package/icons/OutlineSm/ArrowUpOutlineSm.js +1 -15
  656. package/icons/OutlineSm/BlockOutlineSm.js +1 -15
  657. package/icons/OutlineSm/CheckOutlineSm.js +1 -15
  658. package/icons/OutlineSm/ClockOutlineSm.js +1 -15
  659. package/icons/OutlineSm/CopyOutlineSm.js +1 -1
  660. package/icons/OutlineSm/CrossOutlineSm.js +1 -15
  661. package/icons/OutlineSm/CrossSmOutlineSm.js +1 -15
  662. package/icons/OutlineSm/DislikeOutlineSm.js +1 -15
  663. package/icons/OutlineSm/DocumentOutlineSm.js +1 -15
  664. package/icons/OutlineSm/DocumentsOutlineSm.js +1 -15
  665. package/icons/OutlineSm/DotOutlineSm.js +1 -15
  666. package/icons/OutlineSm/DoubleCheckOutlineSm.js +1 -15
  667. package/icons/OutlineSm/DownloadVOutlineSm.js +1 -15
  668. package/icons/OutlineSm/EditOutlineSm.js +1 -15
  669. package/icons/OutlineSm/InfoOutlineSm.js +1 -15
  670. package/icons/OutlineSm/LikeOutlineSm.js +1 -15
  671. package/icons/OutlineSm/LoaderOutlineSm.js +1 -15
  672. package/icons/OutlineSm/MessageOutlineSm.js +1 -15
  673. package/icons/OutlineSm/OpenLinkOutlineSm.js +1 -15
  674. package/icons/OutlineSm/PageOutlineSm.js +1 -15
  675. package/icons/OutlineSm/ProfileOutlineSm.js +1 -15
  676. package/icons/OutlineSm/RefreshOutlineSm.js +1 -15
  677. package/icons/OutlineSm/RequestOutlineSm.js +1 -15
  678. package/icons/OutlineSm/RouteOutlineSm.js +1 -15
  679. package/icons/OutlineSm/SearchOutlineSm.js +1 -15
  680. package/icons/OutlineSm/SortingOutlineSm.js +1 -15
  681. package/icons/OutlineSm/SuccessOutlineSm.js +1 -15
  682. package/icons/OutlineSm/TransferOutlineSm.js +1 -15
  683. package/node/components/Accordion/useLogic/useLogic.js +2 -2
  684. package/node/components/ActionCellBase/MainAction/MainAction.js +1 -15
  685. package/node/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +2 -13
  686. package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
  687. package/node/components/ActionGroup/MainActions/MainActions.js +5 -19
  688. package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +19 -19
  689. package/node/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -16
  690. package/node/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -13
  691. package/node/components/AddressAutocomplete/AddressAutocomplete.js +3 -14
  692. package/node/components/AddressAutocomplete/faker.js +7 -13
  693. package/node/components/Alert/Alert.js +1 -1
  694. package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -1
  695. package/node/components/AsyncAutocomplete/faker.js +6 -12
  696. package/node/components/AsyncAutocomplete/useLogic/useLogic.js +19 -17
  697. package/node/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
  698. package/node/components/Autocomplete/Autocomplete.js +22 -25
  699. package/node/components/Autocomplete/useLogic/useLogic.js +1 -1
  700. package/node/components/Avatar/Avatar.js +2 -14
  701. package/node/components/AvatarGroup/AvatarGroup.js +2 -13
  702. package/node/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +1 -2
  703. package/node/components/Badge/Badge.js +1 -15
  704. package/node/components/Banner/Banner.js +2 -13
  705. package/node/components/Banner/BannerActionButton/BannerActionButton.js +2 -14
  706. package/node/components/Banner/BannerContainer/BannerContainer.js +2 -3
  707. package/node/components/Banner/BannerTemplate/BannerTemplate.js +5 -5
  708. package/node/components/BottomDrawer/BottomDrawer.js +2 -14
  709. package/node/components/Breadcrumbs/Breadcrumbs.js +1 -1
  710. package/node/components/BulletList/BulletList.js +2 -13
  711. package/node/components/BulletListInlineItem/BulletListInlineItem.js +1 -1
  712. package/node/components/BulletListItem/BulletListItem.js +2 -13
  713. package/node/components/Button/Button.js +3 -14
  714. package/node/components/CheckableTag/CheckableTag.js +4 -16
  715. package/node/components/Checkbox/Checkbox.js +1 -1
  716. package/node/components/Checkbox/Icon/Icon.js +1 -15
  717. package/node/components/Checkbox/useLogic/useLogic.js +2 -14
  718. package/node/components/CheckboxField/CheckboxField.js +2 -14
  719. package/node/components/Chevron/Chevron.js +1 -1
  720. package/node/components/CodeField/CodeField.js +1 -1
  721. package/node/components/CodeField/hooks/useCodeState/useCodeState.js +2 -4
  722. package/node/components/Collapse/Collapse.js +1 -1
  723. package/node/components/CollapsibleTypography/CollapsibleTypography.js +7 -16
  724. package/node/components/ConfigProvider/ConfigProvider.js +18 -2
  725. package/node/components/ConfigProvider/NextFeatureFlagsContext/NextFeatureFlagsContextProvider/NextFeatureFlagsContextProvider.js +1 -15
  726. package/node/components/ConfirmAction/ConfirmAction.js +1 -1
  727. package/node/components/ConfirmDialog/ConfirmDialog.js +4 -15
  728. package/node/components/ConfirmDialog/useLogic/useLogic.js +1 -1
  729. package/node/components/ContentState/ContentState.js +1 -1
  730. package/node/components/ContentState/useLogic/useLogic.js +2 -2
  731. package/node/components/CopyTypography/CopyTypography.js +2 -2
  732. package/node/components/CopyTypography/useLogic/useLogic.js +1 -13
  733. package/node/components/Counter/Counter.js +1 -15
  734. package/node/components/DashboardAlert/DashboardAlert.js +3 -14
  735. package/node/components/DashboardLayout/Header/Header.js +1 -2
  736. package/node/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
  737. package/node/components/DashboardLayout/Main/useLogic/useLogic.js +4 -7
  738. package/node/components/DashboardLayout/PinButton/PinButton.js +2 -13
  739. package/node/components/DashboardLayout/Sidebar/MenuSidebarButton/MenuSidebarButton.js +2 -13
  740. package/node/components/DashboardLayout/Sidebar/SidebarButton/SidebarButton.js +1 -1
  741. package/node/components/DashboardLayout/Sidebar/SidebarPopover/FadePopup/useLogic/useLogic.js +1 -2
  742. package/node/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +3 -15
  743. package/node/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/useLogic/useLogic.js +1 -1
  744. package/node/components/DashboardSidebarProvider/DashboardSidebarProvider.js +5 -2
  745. package/node/components/DataGrid/Body/Body.js +5 -17
  746. package/node/components/DataGrid/Cell/Cell.js +1 -1
  747. package/node/components/DataGrid/DataGrid.js +2 -2
  748. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +7 -4
  749. package/node/components/DataGrid/Head/Head.js +1 -1
  750. package/node/components/DataGrid/Head/useLogic/useLogic.js +3 -3
  751. package/node/components/DataGrid/HeadCell/HeadCell.js +3 -3
  752. package/node/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -15
  753. package/node/components/DataGrid/Row/NestedChildren/useLogic/useLogic.js +3 -3
  754. package/node/components/DataGrid/Row/Row.js +7 -21
  755. package/node/components/DataGrid/Row/useLogic/useLogic.js +6 -6
  756. package/node/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.js +6 -14
  757. package/node/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.js +6 -1
  758. package/node/components/DataGrid/faker.js +12 -15
  759. package/node/components/DataGrid/useLogic/useLogic.js +4 -3
  760. package/node/components/DataGridActionCell/MainAction/MainAction.js +1 -15
  761. package/node/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +2 -13
  762. package/node/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -1
  763. package/node/components/DataGridActionCell/useLogic/useLogic.js +2 -2
  764. package/node/components/DataGridInfinite/DataGridInfinite.js +6 -18
  765. package/node/components/DataGridInfinite/List/List.js +1 -15
  766. package/node/components/DataGridInfinite/useLogic/useLogic.js +6 -6
  767. package/node/components/DataGridMinimalisticPagination/DataGridMinimalisticPagination.js +2 -14
  768. package/node/components/DataGridPagination/DataGridPagination.js +2 -13
  769. package/node/components/DataGridPaginationContainer/useLogic/useLogic.js +1 -1
  770. package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/DateCalendarNextButton.js +2 -14
  771. package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/DateCalendarPrevButton.js +2 -14
  772. package/node/components/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.js +1 -1
  773. package/node/components/DatePicker/DateCalendar/DateCalendarWrapper/DateCalendarWrapper.js +1 -1
  774. package/node/components/DatePicker/DatePicker.js +2 -2
  775. package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +10 -19
  776. package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -14
  777. package/node/components/DatePicker/DayPicker/DayPicker.js +3 -15
  778. package/node/components/DatePicker/MonthPicker/MonthPicker.js +2 -18
  779. package/node/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.js +4 -5
  780. package/node/components/DatePicker/YearMonthDayPicker/YearMonthDayPicker.js +1 -1
  781. package/node/components/DatePicker/YearPicker/YearPicker.js +2 -19
  782. package/node/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.js +3 -4
  783. package/node/components/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.js +2 -4
  784. package/node/components/DatePicker/hooks/useMaskedValue/useMaskedValue.js +3 -3
  785. package/node/components/DatePicker/useLogic/useLogic.js +5 -5
  786. package/node/components/DateRangePicker/DateRangePicker.js +4 -15
  787. package/node/components/DateRangePicker/useLogic/useLogic.js +17 -21
  788. package/node/components/Description/Description.js +1 -1
  789. package/node/components/Description/Name/Name.js +2 -14
  790. package/node/components/Description/Value/Value.js +3 -14
  791. package/node/components/DescriptionList/DescriptionList.js +3 -15
  792. package/node/components/Dialog/Dialog.js +3 -15
  793. package/node/components/DialogActions/DialogActions.js +2 -14
  794. package/node/components/DialogContent/DialogContent.js +1 -1
  795. package/node/components/DialogContentText/DialogContentText.js +1 -1
  796. package/node/components/DialogTitle/DialogTitle.js +2 -14
  797. package/node/components/Divider/Divider.js +1 -1
  798. package/node/components/DropdownButton/DropdownButton.js +2 -14
  799. package/node/components/EmailField/EmailField.js +5 -14
  800. package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +4 -1
  801. package/node/components/EmailOrPhoneField/useLogic/useLogic.js +5 -16
  802. package/node/components/ErrorBoundary/ErrorBoundary.js +2 -2
  803. package/node/components/ErrorBoundary/ErrorBoundary.stubs.js +13 -20
  804. package/node/components/Fab/Fab.js +2 -14
  805. package/node/components/Fab/styles.js +6 -6
  806. package/node/components/Filename/Filename.js +6 -14
  807. package/node/components/FlowButton/FlowButton.js +2 -13
  808. package/node/components/FormControl/FormControl.js +1 -1
  809. package/node/components/FormControlLabel/FormControlLabel.js +1 -1
  810. package/node/components/FormHelperText/FormHelperText.js +2 -14
  811. package/node/components/FormLabel/FormLabel.js +1 -1
  812. package/node/components/GlobalStyles/GlobalStyles.js +2 -14
  813. package/node/components/Grid/GridComponent/GridComponent.js +2 -14
  814. package/node/components/GuidTypography/GuidTypography.js +5 -14
  815. package/node/components/HintIcon/Icon/useLogic/useLogic.js +1 -1
  816. package/node/components/IconButton/IconButton.js +2 -13
  817. package/node/components/IconDropdownButton/IconDropdownButton.js +2 -14
  818. package/node/components/Iframe/Iframe.js +3 -4
  819. package/node/components/InfiniteDataList/InfiniteDataList.js +4 -5
  820. package/node/components/InfiniteTreeList/InfiniteTreeList.js +2 -2
  821. package/node/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +2 -2
  822. package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
  823. package/node/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
  824. package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.js +1 -2
  825. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +3 -5
  826. package/node/components/InfiniteTreeList/useLogic/hooks/useScrollManagement/useScrollManagement.js +4 -6
  827. package/node/components/InfiniteTreeList/useLogic/hooks/useStickyButton/useStickyButton.js +1 -2
  828. package/node/components/InfiniteTreeList/useLogic/useLogic.js +3 -3
  829. package/node/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.js +5 -2
  830. package/node/components/InfiniteTreeList/useLogic/utils/getInitialExpandedIds/getInitialExpandedIds.js +2 -3
  831. package/node/components/JsonViewer/JsonNode/useLogic/useLogic.js +6 -15
  832. package/node/components/JsonViewer/NodeValue/utils/formatValue/formatValue.js +2 -2
  833. package/node/components/LegacyNotification/LegacyNotification.js +16 -27
  834. package/node/components/LegacyNotification/NotificationContainer/NotificationContainer.js +1 -1
  835. package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
  836. package/node/components/LegacyNotification/NotificationTemplate/constants.js +4 -4
  837. package/node/components/LegacyNotification/utils/notificationTemplatePropsCreator.js +5 -1
  838. package/node/components/Link/Link.js +2 -14
  839. package/node/components/List/List.js +1 -1
  840. package/node/components/ListItem/ListItem.js +1 -1
  841. package/node/components/ListItem/styles.js +6 -3
  842. package/node/components/ListItemAvatar/ListItemAvatar.js +1 -1
  843. package/node/components/ListItemButton/ListItemButton.js +2 -13
  844. package/node/components/ListItemIcon/ListItemIcon.js +1 -1
  845. package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  846. package/node/components/ListItemText/ListItemText.js +1 -1
  847. package/node/components/ListSubheader/ListSubheader.js +1 -1
  848. package/node/components/MaskField/MaskField.js +6 -19
  849. package/node/components/Menu/Menu.js +2 -14
  850. package/node/components/MenuItem/MenuItem.js +2 -13
  851. package/node/components/MenuList/MenuList.js +2 -14
  852. package/node/components/MenuOrganization/MenuOrganization.js +2 -2
  853. package/node/components/MenuOrganization/OrganizationItem/OrganizationItem.js +2 -13
  854. package/node/components/MenuOrganization/OrganizationList/OrganizationList.js +1 -1
  855. package/node/components/MenuOrganization/useLogic/useLogic.js +7 -8
  856. package/node/components/MinimalisticPagination/MinimalisticPagination.js +1 -1
  857. package/node/components/NavMenu/Item/Item.js +2 -13
  858. package/node/components/NavMenu/Item/ItemButton/ItemButton.js +3 -14
  859. package/node/components/NavMenu/Item/useLogic/useLogic.js +4 -4
  860. package/node/components/Notification/Notification.js +48 -32
  861. package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -14
  862. package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +2 -14
  863. package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +7 -28
  864. package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
  865. package/node/components/Notification/NotificationTemplate/constants.js +5 -31
  866. package/node/components/Notification/utils/getNotificationTemplateProps/getNotificationTemplateProps.js +5 -1
  867. package/node/components/Notification/utils/getNotifyOptions/getNotifyOptions.js +6 -15
  868. package/node/components/NotificationList/ListItem/ListItem.js +2 -2
  869. package/node/components/NotificationList/NotificationList.js +1 -1
  870. package/node/components/NumberField/NumberField.js +3 -15
  871. package/node/components/NumberField/useLogic/useLogic.js +2 -2
  872. package/node/components/NumberedList/NumberedList.js +2 -13
  873. package/node/components/OverflowTypography/OverflowTypography.js +12 -17
  874. package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
  875. package/node/components/PageLayout/PageAlert/PageAlert.js +1 -1
  876. package/node/components/PageLayout/PageContent/PageContent.js +1 -1
  877. package/node/components/PageLayout/PageContent/PageContentHeader/PageContentHeaderActions/PageContentHeaderActions.js +1 -1
  878. package/node/components/PageLayout/PageHeader/HeaderContent/HeaderContent.js +1 -1
  879. package/node/components/PageLayout/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -3
  880. package/node/components/PageLayout/PageHeader/PageActions/MainActions/MainActions.js +1 -1
  881. package/node/components/PageLayout/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -14
  882. package/node/components/PageLayout/PageHeader/PageHeader.js +1 -1
  883. package/node/components/PageLayout/PageHeader/Title/Title.js +1 -1
  884. package/node/components/PageLayout/PageHeader/hooks/usePageTitle/usePageTitle.js +3 -5
  885. package/node/components/PageLayout/PageLayout.js +1 -1
  886. package/node/components/PageLayout/PagePinnableAside/PagePinnableAside.js +1 -13
  887. package/node/components/PageLayout/PagePinnableAside/useLogic/useLogic.js +2 -2
  888. package/node/components/Pagination/Pagination.js +2 -2
  889. package/node/components/Pagination/PaginationItem/PaginationItem.js +3 -17
  890. package/node/components/Pagination/useLogic/useLogic.js +1 -13
  891. package/node/components/Paper/Paper.js +2 -14
  892. package/node/components/PasswordField/PasswordField.js +6 -15
  893. package/node/components/PdfViewer/List/List.js +1 -2
  894. package/node/components/PdfViewer/PdfDocument/PdfDocument.js +3 -14
  895. package/node/components/PdfViewer/PdfDocument/useLogic/useLogic.js +4 -6
  896. package/node/components/PdfViewer/PdfPage/PdfPage.js +2 -13
  897. package/node/components/PdfViewer/PdfPage/useLogic/useLogic.js +1 -1
  898. package/node/components/PdfViewer/PdfViewer.js +2 -2
  899. package/node/components/PdfViewer/PdfViewerPagination/useLogic/useLogic.js +1 -2
  900. package/node/components/PdfViewer/useLogic/useLogic.js +16 -29
  901. package/node/components/PdfViewer/utils/getFullPageHeight/getFullPageHeight.js +1 -2
  902. package/node/components/PdfViewer/utils/getPageHeightList/getPageHeightList.js +3 -12
  903. package/node/components/PdfViewer/utils/getPageParams/getPageParams.js +3 -12
  904. package/node/components/Popover/Popover.js +2 -14
  905. package/node/components/Product/Product.js +2 -13
  906. package/node/components/ProductSwitcher/faker.js +2 -2
  907. package/node/components/ProductSwitcher/useLogic/useLogic.js +8 -17
  908. package/node/components/Profile/MenuList/MenuList.js +3 -14
  909. package/node/components/Profile/Profile.js +1 -1
  910. package/node/components/Radio/Icon/Icon.js +1 -15
  911. package/node/components/Radio/Radio.js +1 -1
  912. package/node/components/Radio/useLogic/useLogic.js +2 -14
  913. package/node/components/RadioCard/RadioCard.js +2 -14
  914. package/node/components/RadioCard/styles.js +1 -0
  915. package/node/components/RadioField/RadioField.js +2 -14
  916. package/node/components/RadioGroup/RadioGroup.d.ts +1 -1
  917. package/node/components/RadioGroup/RadioGroup.js +5 -5
  918. package/node/components/RadioGroup/types.d.ts +5 -1
  919. package/node/components/RadioGroup/useLogic/useLogic.d.ts +2 -1
  920. package/node/components/RadioGroup/useLogic/useLogic.js +3 -2
  921. package/node/components/RadioGroupField/RadioGroupField.js +1 -1
  922. package/node/components/Rating/Rating.js +3 -18
  923. package/node/components/RedesignBanner/RedesignBanner.js +1 -1
  924. package/node/components/ResizingDataGrid/ResizingDataGrid.js +3 -15
  925. package/node/components/ResizingDataGrid/Sliders/Sliders.js +1 -13
  926. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +10 -4
  927. package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +3 -15
  928. package/node/components/SearchField/SearchField.js +1 -1
  929. package/node/components/SearchField/useLogic/useLogic.js +9 -19
  930. package/node/components/Select/Select.js +10 -17
  931. package/node/components/Select/useLogic/useLogic.js +9 -9
  932. package/node/components/SideDialog/SideDialog.js +2 -14
  933. package/node/components/SideDialogActions/SideDialogActions.js +1 -1
  934. package/node/components/SideDialogContent/SideDialogContent.js +1 -1
  935. package/node/components/SideDialogHeader/SideDialogHeader.js +1 -1
  936. package/node/components/SideDialogTitle/SideDialogTitle.js +1 -1
  937. package/node/components/Skeleton/Skeleton.js +1 -15
  938. package/node/components/StaticCalendar/StaticCalendarButton/StaticCalendarButton.js +2 -13
  939. package/node/components/StaticCalendar/StaticCalendarButton/useLogic/useLogic.js +7 -4
  940. package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +4 -4
  941. package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.js +1 -2
  942. package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/hooks/useDragAndDropHandlers/useDragAndDropHandlers.js +4 -4
  943. package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.js +7 -4
  944. package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +5 -20
  945. package/node/components/StepSlider/StepSlider.js +4 -17
  946. package/node/components/Stepper/StepButton/StepButton.js +2 -13
  947. package/node/components/Stepper/StepLabel/StepLabel.js +2 -13
  948. package/node/components/Stepper/Stepper.js +2 -13
  949. package/node/components/StepperWizard/StepperWizard.js +2 -13
  950. package/node/components/StepperWizard/useLogic/useLogic.js +1 -1
  951. package/node/components/SvgIcon/SvgIcon.js +2 -13
  952. package/node/components/Switch/Switch.js +3 -15
  953. package/node/components/Tabs/Tab/Tab.js +2 -14
  954. package/node/components/Tabs/Tabs.js +2 -14
  955. package/node/components/Tag/Tag.js +4 -16
  956. package/node/components/Tag/useLogic/useLogic.js +1 -1
  957. package/node/components/TagBadge/TagBadge.js +2 -14
  958. package/node/components/TagsList/Tag/Tag.js +2 -13
  959. package/node/components/TagsList/TagsList.js +2 -2
  960. package/node/components/TagsList/useLogic/useLogic.js +5 -5
  961. package/node/components/TextArea/TextArea.js +2 -14
  962. package/node/components/TextField/TextField.js +15 -19
  963. package/node/components/ToggleButton/ToggleButton.js +1 -1
  964. package/node/components/ToggleButton/useLogic/useLogic.js +1 -13
  965. package/node/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -13
  966. package/node/components/Tooltip/Tooltip.js +2 -13
  967. package/node/components/Tooltip/styles.js +1 -15
  968. package/node/components/Tree/MultipleTreeList/MultipleTreeList.js +2 -14
  969. package/node/components/Tree/MultipleTreeList/TreeItem/TreeItem.js +1 -1
  970. package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.js +3 -3
  971. package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
  972. package/node/components/Tree/TreeItem/TreeItem.js +3 -14
  973. package/node/components/Tree/TreeItem/useLogic/useLogic.js +2 -2
  974. package/node/components/Tree/TreeList/TreeItem/TreeItem.js +1 -1
  975. package/node/components/Tree/TreeList/TreeItem/useLogic/useLogic.js +6 -6
  976. package/node/components/Tree/TreeList/TreeList.js +2 -13
  977. package/node/components/Tree/utils/getFormatDisabledItems/getFormatDisabledItems.js +2 -2
  978. package/node/components/TreeAsyncAutocomplete/Input/Input.js +2 -14
  979. package/node/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -3
  980. package/node/components/TreeAsyncAutocomplete/OptionsModal/OptionsModal.js +2 -2
  981. package/node/components/TreeAsyncAutocomplete/OptionsModal/useLogic/useLogic.js +19 -22
  982. package/node/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +1 -1
  983. package/node/components/TreeAsyncAutocomplete/useLogic/useLogic.js +18 -18
  984. package/node/components/TreeAutocomplete/Input/Input.js +2 -13
  985. package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -3
  986. package/node/components/TreeAutocomplete/OptionsModal/OptionsModal.js +3 -14
  987. package/node/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
  988. package/node/components/TreeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
  989. package/node/components/TreeAutocomplete/TreeAutocomplete.js +2 -13
  990. package/node/components/TreeAutocomplete/useLogic/useLogic.js +3 -4
  991. package/node/components/TreeLikeAutocomplete/Input/Input.js +2 -13
  992. package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +6 -8
  993. package/node/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.js +3 -14
  994. package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
  995. package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
  996. package/node/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +2 -13
  997. package/node/components/TreeLikeAutocomplete/useLogic/useLogic.js +2 -2
  998. package/node/components/TreeLikeList/TreeItem/TreeItem.js +2 -2
  999. package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +4 -4
  1000. package/node/components/TreeLikeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
  1001. package/node/components/TreeLikeList/TreeLikeList.js +2 -13
  1002. package/node/components/TreeLikeList/useLogic/useLogic.js +1 -1
  1003. package/node/components/TreeLikeList/useLogic/utils/getChainsId/getChainsId.js +1 -1
  1004. package/node/components/Typography/Typography.js +2 -14
  1005. package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -2
  1006. package/node/components/fileUploading/FileUploader/FIleList/FileList.js +1 -15
  1007. package/node/components/fileUploading/FileUploader/FileUploader.js +1 -1
  1008. package/node/components/fileUploading/FileUploader/faker.js +8 -14
  1009. package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.js +1 -15
  1010. package/node/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.js +1 -15
  1011. package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/useLogic/useLogic.js +2 -14
  1012. package/node/components/fileUploading/FileUploaderFile/Actions/Actions.js +2 -13
  1013. package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +8 -5
  1014. package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -13
  1015. package/node/components/fileUploading/FileUploaderFile/Progress/Progress.js +1 -1
  1016. package/node/components/fileUploading/PreviewFileUploader/FileList/FileList.js +1 -15
  1017. package/node/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +1 -1
  1018. package/node/components/fileUploading/PreviewFileUploader/faker.js +8 -14
  1019. package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/HintPlaceholder.js +1 -1
  1020. package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.js +9 -18
  1021. package/node/components/fileUploading/PreviewFileUploaderDropZone/PreviewFileUploaderDropZone.js +1 -15
  1022. package/node/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +1 -1
  1023. package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.js +2 -3
  1024. package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/FileLoading.js +1 -1
  1025. package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/Progress.js +1 -1
  1026. package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/useLogic/useLogic.js +1 -1
  1027. package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +1 -1
  1028. package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/Preview.js +3 -3
  1029. package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +3 -3
  1030. package/node/components/fileUploading/hooks/useFileUploader/useFileUploader.js +29 -23
  1031. package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +27 -24
  1032. package/node/components/fileUploading/hooks/useSelfFiles/useSelfFiles.js +22 -4
  1033. package/node/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +5 -13
  1034. package/node/components/fileUploading/hooks/useUploadFiles/useUploadFiles.js +2 -2
  1035. package/node/components/fileUploading/restrictions/restrictFileMaxSize/restrictFileMaxSize.js +1 -1
  1036. package/node/components/fileUploading/utils/rulePipe/rulePipe.js +1 -2
  1037. package/node/components/hooks/useAsyncOptions/useAsyncOptions.js +3 -4
  1038. package/node/components/hooks/useCheckControlled/useCheckControlled.js +1 -1
  1039. package/node/components/hooks/useClickAwayEffect/useClickAwayEffect.js +1 -1
  1040. package/node/components/hooks/useEscapeClickEffect/useEscapeClickEffect.js +1 -1
  1041. package/node/components/hooks/useFeatureFlags/useFeatureFlags.js +1 -1
  1042. package/node/components/hooks/useFocusAwayEffect/useFocusAwayEffect.js +1 -1
  1043. package/node/components/hooks/useId/useId.js +1 -1
  1044. package/node/components/hooks/useInputPopover/useInputPopover.js +1 -1
  1045. package/node/components/hooks/useToggle/useToggle.js +2 -2
  1046. package/node/components/index.d.ts +1 -1
  1047. package/node/components/index.js +3 -2
  1048. package/node/components/personalDataSecurity/PersonalData/PersonalData.js +4 -1
  1049. package/node/components/placeholders/Placeholder/Placeholder.js +1 -2
  1050. package/node/components/services/SecondsCountdown/SecondsCountdown.js +3 -6
  1051. package/node/components/theme/baseTheme/baseTheme.js +5 -2
  1052. package/node/components/theme/baseTheme/utils/createSnapshotTheme.js +5 -2
  1053. package/node/components/theme/baseTheme/utils/writeSnapshot.js +3 -12
  1054. package/node/components/theme/components/MuiButton.js +3 -3
  1055. package/node/components/theme/palette/palette.js +86 -10
  1056. package/node/components/transitions/Slide/Slide.js +1 -1
  1057. package/node/components/utils/array/deepMap/deepMap.js +5 -2
  1058. package/node/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.js +19 -8
  1059. package/node/components/utils/date/format/formatDate/formatDate.js +1 -1
  1060. package/node/hook-form/EditableText/EditableText.js +3 -14
  1061. package/node/hook-form/EditableText/EditingForm/EditingForm.js +3 -3
  1062. package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +3 -3
  1063. package/node/hook-form/Form/Form.js +3 -15
  1064. package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +7 -15
  1065. package/node/hook-form/FormAddressAutocomplete/faker.js +7 -13
  1066. package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +6 -3
  1067. package/node/hook-form/FormAsyncAutocomplete/faker.js +9 -15
  1068. package/node/hook-form/FormAutocomplete/FormAutocomplete.js +7 -5
  1069. package/node/hook-form/FormCheckboxField/FormCheckboxField.js +6 -15
  1070. package/node/hook-form/FormCodeField/FormCodeField.js +3 -14
  1071. package/node/hook-form/FormDatePicker/FormDatePicker.js +8 -17
  1072. package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +6 -15
  1073. package/node/hook-form/FormEmailField/FormEmailField.js +5 -2
  1074. package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +6 -3
  1075. package/node/hook-form/FormFileUploader/FormFileUploader.js +2 -13
  1076. package/node/hook-form/FormFileUploader/faker.js +8 -14
  1077. package/node/hook-form/FormMaskField/FormMaskField.js +5 -2
  1078. package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +9 -15
  1079. package/node/hook-form/FormNumberField/FormNumberField.js +1 -1
  1080. package/node/hook-form/FormPasswordField/FormPasswordField.js +1 -1
  1081. package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -13
  1082. package/node/hook-form/FormPreviewFileUploader/faker.js +8 -14
  1083. package/node/hook-form/FormRadioGroup/FormRadioGroup.d.ts +1 -4
  1084. package/node/hook-form/FormRadioGroup/FormRadioGroup.js +10 -17
  1085. package/node/hook-form/FormSelect/FormSelect.js +6 -3
  1086. package/node/hook-form/FormSubmitButton/FormSubmitButton.js +2 -14
  1087. package/node/hook-form/FormTextArea/FormTextArea.js +5 -2
  1088. package/node/hook-form/FormTextField/FormTextField.js +5 -2
  1089. package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +7 -15
  1090. package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +5 -13
  1091. package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +5 -13
  1092. package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +5 -13
  1093. package/node/hook-form/FormWizard/FormWizard.js +7 -4
  1094. package/node/hook-form/FormWizard/useLogic/useLogic.js +1 -1
  1095. package/node/hook-form/formLayouts/FormPageFooterContainer/useLogic/useLogic.js +1 -1
  1096. package/node/hook-form/formLayouts/FormPageLayout/FormPageFooter/SecondaryActions/SecondaryActions.js +4 -18
  1097. package/node/hook-form/formLayouts/FormPageLayout/FormPageLayout.js +4 -15
  1098. package/node/hook-form/formLayouts/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +4 -18
  1099. package/node/hook-form/formLayouts/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
  1100. package/node/hook-form/formLayouts/FormPageLayoutBase/useLogic/useLogic.js +14 -20
  1101. package/node/hook-form/formLayouts/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
  1102. package/node/hook-form/hooks/useForm/useForm.js +8 -16
  1103. package/node/hook-form/hooks/useFormFieldErrorProps/useFormFieldErrorProps.js +1 -1
  1104. package/node/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +10 -2
  1105. package/node/hook-form/hooks/useFormInputProps/useFormInputProps.js +1 -12
  1106. package/node/hook-form/hooks/useFormWizard/useFormWizard.js +9 -24
  1107. package/node/hook-form/react-hook-form-resolver/resolver/resolver.js +4 -14
  1108. package/node/hook-form/react-hook-form-resolver/utils/validateFieldsNatively/validateFieldsNatively.js +2 -2
  1109. package/node/icons/FillMd/AutosaveErrorFillMd.js +1 -15
  1110. package/node/icons/FillMd/AutosaveFillMd.js +1 -15
  1111. package/node/icons/FillMd/AutosaveLoaderFillMd.js +1 -15
  1112. package/node/icons/FillMd/BellFillMd.js +1 -15
  1113. package/node/icons/FillMd/BookmarkFillMd.js +1 -15
  1114. package/node/icons/FillMd/CalculatorFillMd.js +1 -15
  1115. package/node/icons/FillMd/CircleErrorFillMd.js +1 -15
  1116. package/node/icons/FillMd/ClockFillMd.js +1 -15
  1117. package/node/icons/FillMd/CompanyPicFillMd.js +1 -15
  1118. package/node/icons/FillMd/CopyMailFillMd.js +1 -15
  1119. package/node/icons/FillMd/DislikeFillMd.js +1 -15
  1120. package/node/icons/FillMd/DocSuccessFillMd.js +1 -15
  1121. package/node/icons/FillMd/EditFillMd.js +1 -15
  1122. package/node/icons/FillMd/EducationFillMd.js +1 -15
  1123. package/node/icons/FillMd/ErrorFillMd.js +1 -15
  1124. package/node/icons/FillMd/EyeFillMd.js +1 -15
  1125. package/node/icons/FillMd/FilterFillMd.js +1 -15
  1126. package/node/icons/FillMd/InfoFillMd.js +1 -15
  1127. package/node/icons/FillMd/KeyFillMd.js +1 -15
  1128. package/node/icons/FillMd/LikeFillMd.js +1 -15
  1129. package/node/icons/FillMd/PhotoFillMd.js +1 -15
  1130. package/node/icons/FillMd/PluginFillMd.js +1 -15
  1131. package/node/icons/FillMd/PlusFillMd.js +1 -15
  1132. package/node/icons/FillMd/ProductsFillMd.js +1 -15
  1133. package/node/icons/FillMd/ProfileFillMd.js +1 -15
  1134. package/node/icons/FillMd/QuestionFillMd.js +1 -15
  1135. package/node/icons/FillMd/SaveFillMd.js +1 -15
  1136. package/node/icons/FillMd/SendFillMd.js +1 -15
  1137. package/node/icons/FillMd/SentFillMd.js +1 -15
  1138. package/node/icons/FillMd/SettingsFillMd.js +1 -15
  1139. package/node/icons/FillMd/StepDefaultFillMd.js +1 -15
  1140. package/node/icons/FillMd/StepErrorFillMd.js +1 -15
  1141. package/node/icons/FillMd/StepSuccessFillMd.js +1 -15
  1142. package/node/icons/FillMd/SuccessFillMd.js +1 -15
  1143. package/node/icons/FillMd/SupportFillMd.js +1 -15
  1144. package/node/icons/FillMd/WarningFillMd.js +1 -15
  1145. package/node/icons/FillMd/WebFillMd.js +1 -15
  1146. package/node/icons/FillSm/ArrowDFillSm.js +1 -15
  1147. package/node/icons/FillSm/ArrowUpFillSm.js +1 -15
  1148. package/node/icons/FillSm/CircleErrorFillSm.js +1 -15
  1149. package/node/icons/FillSm/ClockFillSm.js +1 -15
  1150. package/node/icons/FillSm/DislikeFillSm.js +1 -15
  1151. package/node/icons/FillSm/ErrorFillSm.js +1 -15
  1152. package/node/icons/FillSm/InfoFillSm.js +1 -15
  1153. package/node/icons/FillSm/LikeFillSm.js +1 -15
  1154. package/node/icons/FillSm/LocationFillSm.js +1 -15
  1155. package/node/icons/FillSm/MailFillSm.js +1 -15
  1156. package/node/icons/FillSm/PauseFillSm.js +1 -15
  1157. package/node/icons/FillSm/PhoneFillSm.js +1 -15
  1158. package/node/icons/FillSm/PitFillSm.js +1 -15
  1159. package/node/icons/FillSm/PlayFillSm.js +1 -15
  1160. package/node/icons/FillSm/RectangleFillSm.js +1 -15
  1161. package/node/icons/FillSm/RoundFillSm.js +1 -15
  1162. package/node/icons/FillSm/SentFillSm.js +1 -15
  1163. package/node/icons/FillSm/SortDownFillSm.js +1 -15
  1164. package/node/icons/FillSm/SortFillSm.js +1 -15
  1165. package/node/icons/FillSm/SortUpFillSm.js +1 -15
  1166. package/node/icons/FillSm/StarFillSm.js +1 -15
  1167. package/node/icons/FillSm/SuccessFillSm.js +1 -15
  1168. package/node/icons/FillSm/UpToDateFillSm.js +1 -15
  1169. package/node/icons/FillSm/WarningFillSm.js +1 -15
  1170. package/node/icons/LogoFillMd/FacebookFillMd.js +1 -15
  1171. package/node/icons/LogoFillMd/GoogleFillMd.js +1 -15
  1172. package/node/icons/LogoFillMd/OkFillMd.js +1 -15
  1173. package/node/icons/LogoFillMd/TelegramFillMd.js +1 -15
  1174. package/node/icons/LogoFillMd/VkFillMd.js +1 -15
  1175. package/node/icons/LogoFillMd/YoutubeFillMd.js +1 -15
  1176. package/node/icons/OutlineMd/AIBotOutlineMd.js +1 -15
  1177. package/node/icons/OutlineMd/AIOutlineMd.js +1 -15
  1178. package/node/icons/OutlineMd/AddArrayOutlineMd.js +1 -15
  1179. package/node/icons/OutlineMd/AddDocumentOutlineMd.js +1 -15
  1180. package/node/icons/OutlineMd/AddOutlineMd.js +1 -15
  1181. package/node/icons/OutlineMd/AddUserOutlineMd.js +1 -15
  1182. package/node/icons/OutlineMd/AddWorkplaceOutlineMd.js +1 -15
  1183. package/node/icons/OutlineMd/AllCheckOutlineMd.js +1 -15
  1184. package/node/icons/OutlineMd/AnalyticOutlineMd.js +1 -15
  1185. package/node/icons/OutlineMd/ArchiveOutlineMd.js +1 -15
  1186. package/node/icons/OutlineMd/ArrayPatternOutlineMd.js +1 -15
  1187. package/node/icons/OutlineMd/ArrowDwnOutlineMd.js +1 -15
  1188. package/node/icons/OutlineMd/ArrowLOutlineMd.js +1 -15
  1189. package/node/icons/OutlineMd/ArrowROutlineMd.js +1 -15
  1190. package/node/icons/OutlineMd/ArrowUpOutlineMd.js +1 -15
  1191. package/node/icons/OutlineMd/AttachmentOutlineMd.js +1 -1
  1192. package/node/icons/OutlineMd/AutosaveErrorOutlineMd.js +1 -15
  1193. package/node/icons/OutlineMd/AutosaveLoaderOutlineMd.js +1 -15
  1194. package/node/icons/OutlineMd/AutosaveOutlineMd.js +1 -15
  1195. package/node/icons/OutlineMd/BankOutlineMd.js +1 -15
  1196. package/node/icons/OutlineMd/BasketOutlineMd.js +1 -15
  1197. package/node/icons/OutlineMd/BellOutlineMd.js +1 -15
  1198. package/node/icons/OutlineMd/BinOutlineMd.js +1 -15
  1199. package/node/icons/OutlineMd/BlockMessageOutlineMd.js +1 -15
  1200. package/node/icons/OutlineMd/BlockOutlineMd.js +1 -15
  1201. package/node/icons/OutlineMd/BookOutlineMd.js +1 -15
  1202. package/node/icons/OutlineMd/BoxOutlineMd.js +1 -15
  1203. package/node/icons/OutlineMd/BoxesOutlineMd.js +1 -15
  1204. package/node/icons/OutlineMd/CalendarOutlineMd.js +1 -15
  1205. package/node/icons/OutlineMd/CancelRouteOutlineMd.js +1 -15
  1206. package/node/icons/OutlineMd/CartOutlineMd.js +1 -15
  1207. package/node/icons/OutlineMd/CaseOutlineMd.js +1 -15
  1208. package/node/icons/OutlineMd/CashReceiptOutlineMd.js +1 -15
  1209. package/node/icons/OutlineMd/CassOutlineMd.js +1 -15
  1210. package/node/icons/OutlineMd/CertAddOutlineMd.js +1 -15
  1211. package/node/icons/OutlineMd/CertGivenOutlineMd.js +1 -15
  1212. package/node/icons/OutlineMd/CertOutlineMd.js +1 -15
  1213. package/node/icons/OutlineMd/CheckListOutlineMd.js +1 -15
  1214. package/node/icons/OutlineMd/CheckOutlineMd.js +1 -15
  1215. package/node/icons/OutlineMd/ChevronDOutlineMd.js +1 -15
  1216. package/node/icons/OutlineMd/ChevronLOutlineMd.js +1 -15
  1217. package/node/icons/OutlineMd/ChevronROutlineMd.js +1 -15
  1218. package/node/icons/OutlineMd/ChevronUpOutlineMd.js +1 -15
  1219. package/node/icons/OutlineMd/ClockOutlineMd.js +1 -15
  1220. package/node/icons/OutlineMd/ClockwiseOutlineMd.js +1 -15
  1221. package/node/icons/OutlineMd/CompanyAddOutlineMd.js +1 -15
  1222. package/node/icons/OutlineMd/CompanyOutlineMd.js +1 -15
  1223. package/node/icons/OutlineMd/ContractorsOutlineMd.js +1 -15
  1224. package/node/icons/OutlineMd/CopyOutlineMd.js +1 -15
  1225. package/node/icons/OutlineMd/CreditCardOutlineMd.js +1 -15
  1226. package/node/icons/OutlineMd/CrossOutlineMd.js +1 -15
  1227. package/node/icons/OutlineMd/DelegateOutlineMd.js +1 -15
  1228. package/node/icons/OutlineMd/DialogOutlineMd.js +1 -15
  1229. package/node/icons/OutlineMd/DislikeOutlineMd.js +1 -15
  1230. package/node/icons/OutlineMd/DivisionsOutlineMd.js +1 -15
  1231. package/node/icons/OutlineMd/DocIncomingOutlineMd.js +1 -15
  1232. package/node/icons/OutlineMd/DocNoSignatureOutlineMd.js +1 -15
  1233. package/node/icons/OutlineMd/DocOutlineMd.js +1 -15
  1234. package/node/icons/OutlineMd/DocPatternOutlineMd.js +1 -15
  1235. package/node/icons/OutlineMd/DocRejectOutlineMd.js +1 -15
  1236. package/node/icons/OutlineMd/DocSignedOutlineMd.js +1 -15
  1237. package/node/icons/OutlineMd/DocsArrayOutlineMd.js +1 -15
  1238. package/node/icons/OutlineMd/DocumentOutlineMd.js +1 -15
  1239. package/node/icons/OutlineMd/DocumentsOutlineMd.js +1 -15
  1240. package/node/icons/OutlineMd/DotsOutlineMd.js +1 -15
  1241. package/node/icons/OutlineMd/DotsVOutlineMd.js +1 -15
  1242. package/node/icons/OutlineMd/DoubleNextOutlineMd.js +1 -15
  1243. package/node/icons/OutlineMd/DoublePreviousOutlineMd.js +1 -15
  1244. package/node/icons/OutlineMd/DownOutlineMd.js +1 -15
  1245. package/node/icons/OutlineMd/DownloadOutlineMd.js +1 -15
  1246. package/node/icons/OutlineMd/DownloadVOutlineMd.js +1 -15
  1247. package/node/icons/OutlineMd/DraftOutlineMd.js +1 -15
  1248. package/node/icons/OutlineMd/DragOutlineMd.js +1 -15
  1249. package/node/icons/OutlineMd/DuplicateOutlineMd.js +1 -15
  1250. package/node/icons/OutlineMd/EditOutlineMd.js +1 -15
  1251. package/node/icons/OutlineMd/ExportOutlineMd.js +1 -15
  1252. package/node/icons/OutlineMd/EyeCrossedOutlineMd.js +1 -1
  1253. package/node/icons/OutlineMd/EyeOutlineMd.js +1 -15
  1254. package/node/icons/OutlineMd/Filter2OutlineMd.js +1 -15
  1255. package/node/icons/OutlineMd/FilterOutlineMd.js +1 -15
  1256. package/node/icons/OutlineMd/FolderClOutlineMd.js +1 -15
  1257. package/node/icons/OutlineMd/FolderOpOutlineMd.js +1 -15
  1258. package/node/icons/OutlineMd/FullSizeOutlineMd.js +1 -15
  1259. package/node/icons/OutlineMd/GoToFolderOutlineMd.js +1 -1
  1260. package/node/icons/OutlineMd/GroupOutlineMd.js +1 -15
  1261. package/node/icons/OutlineMd/GroupsOutlineMd.js +1 -15
  1262. package/node/icons/OutlineMd/HistoryOutlineMd.js +1 -15
  1263. package/node/icons/OutlineMd/HomeOutlineMd.js +1 -15
  1264. package/node/icons/OutlineMd/InArchiveOutlineMd.js +1 -15
  1265. package/node/icons/OutlineMd/InfoOutlineMd.js +1 -15
  1266. package/node/icons/OutlineMd/LightingOffOutlineMd.js +1 -15
  1267. package/node/icons/OutlineMd/LightingOnOutlineMd.js +1 -15
  1268. package/node/icons/OutlineMd/LikeOutlineMd.js +1 -15
  1269. package/node/icons/OutlineMd/LinkOutlineMd.js +1 -15
  1270. package/node/icons/OutlineMd/ListDataOutlineMd.js +1 -15
  1271. package/node/icons/OutlineMd/LoaderOutlineMd.js +1 -15
  1272. package/node/icons/OutlineMd/LockOutlineMd.js +1 -15
  1273. package/node/icons/OutlineMd/LogisticOutlineMd.js +1 -15
  1274. package/node/icons/OutlineMd/MailOutlineMd.js +1 -15
  1275. package/node/icons/OutlineMd/MarkDocOutlineMd.js +1 -15
  1276. package/node/icons/OutlineMd/MedListOutlineMd.js +1 -15
  1277. package/node/icons/OutlineMd/MegaphoneOutlineMd.js +1 -15
  1278. package/node/icons/OutlineMd/MenuOffOutlineMd.js +1 -15
  1279. package/node/icons/OutlineMd/MenuOnOutlineMd.js +1 -15
  1280. package/node/icons/OutlineMd/MessageOutlineMd.js +1 -1
  1281. package/node/icons/OutlineMd/MinimizeOutlineMd.js +1 -15
  1282. package/node/icons/OutlineMd/MinusOutlineMd.js +1 -15
  1283. package/node/icons/OutlineMd/NewsOutlineMd.js +1 -15
  1284. package/node/icons/OutlineMd/NextOutlineMd.js +1 -15
  1285. package/node/icons/OutlineMd/NumberOutlineMd.js +1 -15
  1286. package/node/icons/OutlineMd/OpenLinkOutlineMd.js +1 -15
  1287. package/node/icons/OutlineMd/OutcomingDocumentOutlineMd.js +1 -15
  1288. package/node/icons/OutlineMd/PageDotOutlineMd.js +1 -15
  1289. package/node/icons/OutlineMd/PeopleOutlineMd.js +1 -15
  1290. package/node/icons/OutlineMd/PhoneOutlineMd.js +1 -15
  1291. package/node/icons/OutlineMd/PinOutlineMd.js +1 -15
  1292. package/node/icons/OutlineMd/PreviousOutlineMd.js +1 -15
  1293. package/node/icons/OutlineMd/PrintOutlineMd.js +1 -15
  1294. package/node/icons/OutlineMd/ProfileOutlineMd.js +1 -15
  1295. package/node/icons/OutlineMd/ProxyOutlineMd.js +1 -15
  1296. package/node/icons/OutlineMd/QrOutlineMd.js +1 -15
  1297. package/node/icons/OutlineMd/QuestionOutlineMd.js +1 -15
  1298. package/node/icons/OutlineMd/QuitOutlineMd.js +1 -15
  1299. package/node/icons/OutlineMd/ReestablishOutlineMd.js +1 -15
  1300. package/node/icons/OutlineMd/RefreshOutlineMd.js +1 -15
  1301. package/node/icons/OutlineMd/RequirementOutlineMd.js +1 -15
  1302. package/node/icons/OutlineMd/RetryOutlineMd.js +1 -15
  1303. package/node/icons/OutlineMd/RouteOutlineMd.js +1 -15
  1304. package/node/icons/OutlineMd/SaveCheckOutlineMd.js +1 -15
  1305. package/node/icons/OutlineMd/SaveOutlineMd.js +1 -15
  1306. package/node/icons/OutlineMd/SearchOutlineMd.js +1 -15
  1307. package/node/icons/OutlineMd/SendOutlineMd.js +1 -15
  1308. package/node/icons/OutlineMd/SentMessageOutlineMd.js +1 -15
  1309. package/node/icons/OutlineMd/SettingsOutlineMd.js +1 -15
  1310. package/node/icons/OutlineMd/ShareOutlineMd.js +1 -15
  1311. package/node/icons/OutlineMd/SortOutlineMd.js +1 -15
  1312. package/node/icons/OutlineMd/Sorting2OutlineMd.js +1 -15
  1313. package/node/icons/OutlineMd/SortingOutlineMd.js +1 -15
  1314. package/node/icons/OutlineMd/SortingVOutlineMd.js +1 -15
  1315. package/node/icons/OutlineMd/StorageOutlineMd.js +1 -15
  1316. package/node/icons/OutlineMd/SupportOutlineMd.js +1 -15
  1317. package/node/icons/OutlineMd/TagOutlineMd.js +1 -1
  1318. package/node/icons/OutlineMd/TransferOutlineMd.js +1 -15
  1319. package/node/icons/OutlineMd/TreeOutlineMd.js +1 -15
  1320. package/node/icons/OutlineMd/UnGroupOutlineMd.js +1 -15
  1321. package/node/icons/OutlineMd/UnlinkOutlineMd.js +1 -15
  1322. package/node/icons/OutlineMd/UnlockOutlineMd.js +1 -15
  1323. package/node/icons/OutlineMd/UnpinOutlineMd.js +1 -15
  1324. package/node/icons/OutlineMd/UnreadOutlineMd.js +1 -15
  1325. package/node/icons/OutlineMd/UpOutlineMd.js +1 -15
  1326. package/node/icons/OutlineMd/UploadOutlineMd.js +1 -15
  1327. package/node/icons/OutlineMd/UserArrowDownOutlineMd.js +1 -15
  1328. package/node/icons/OutlineMd/UserArrowUpOutlineMd.js +1 -15
  1329. package/node/icons/OutlineMd/UserCheckOutlineMd.js +1 -15
  1330. package/node/icons/OutlineMd/UserCrossOutlineMd.js +1 -15
  1331. package/node/icons/OutlineSm/AddOutlineSm.js +1 -15
  1332. package/node/icons/OutlineSm/AddSmOutlineSm.js +1 -15
  1333. package/node/icons/OutlineSm/ArrowDwnOutlineSm.js +1 -15
  1334. package/node/icons/OutlineSm/ArrowLOutlineSm.js +1 -15
  1335. package/node/icons/OutlineSm/ArrowROutlineSm.js +1 -15
  1336. package/node/icons/OutlineSm/ArrowUpOutlineSm.js +1 -15
  1337. package/node/icons/OutlineSm/BlockOutlineSm.js +1 -15
  1338. package/node/icons/OutlineSm/CheckOutlineSm.js +1 -15
  1339. package/node/icons/OutlineSm/ClockOutlineSm.js +1 -15
  1340. package/node/icons/OutlineSm/CopyOutlineSm.js +1 -1
  1341. package/node/icons/OutlineSm/CrossOutlineSm.js +1 -15
  1342. package/node/icons/OutlineSm/CrossSmOutlineSm.js +1 -15
  1343. package/node/icons/OutlineSm/DislikeOutlineSm.js +1 -15
  1344. package/node/icons/OutlineSm/DocumentOutlineSm.js +1 -15
  1345. package/node/icons/OutlineSm/DocumentsOutlineSm.js +1 -15
  1346. package/node/icons/OutlineSm/DotOutlineSm.js +1 -15
  1347. package/node/icons/OutlineSm/DoubleCheckOutlineSm.js +1 -15
  1348. package/node/icons/OutlineSm/DownloadVOutlineSm.js +1 -15
  1349. package/node/icons/OutlineSm/EditOutlineSm.js +1 -15
  1350. package/node/icons/OutlineSm/InfoOutlineSm.js +1 -15
  1351. package/node/icons/OutlineSm/LikeOutlineSm.js +1 -15
  1352. package/node/icons/OutlineSm/LoaderOutlineSm.js +1 -15
  1353. package/node/icons/OutlineSm/MessageOutlineSm.js +1 -15
  1354. package/node/icons/OutlineSm/OpenLinkOutlineSm.js +1 -15
  1355. package/node/icons/OutlineSm/PageOutlineSm.js +1 -15
  1356. package/node/icons/OutlineSm/ProfileOutlineSm.js +1 -15
  1357. package/node/icons/OutlineSm/RefreshOutlineSm.js +1 -15
  1358. package/node/icons/OutlineSm/RequestOutlineSm.js +1 -15
  1359. package/node/icons/OutlineSm/RouteOutlineSm.js +1 -15
  1360. package/node/icons/OutlineSm/SearchOutlineSm.js +1 -15
  1361. package/node/icons/OutlineSm/SortingOutlineSm.js +1 -15
  1362. package/node/icons/OutlineSm/SuccessOutlineSm.js +1 -15
  1363. package/node/icons/OutlineSm/TransferOutlineSm.js +1 -15
  1364. package/package.json +1 -1
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.TreeLikeList = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
@@ -19,7 +8,7 @@ const useLogic_1 = require("./useLogic");
19
8
  const INITIAL_LEVEL = 0;
20
9
  const TreeLikeList = (props) => {
21
10
  const { listProps, itemProps } = (0, useLogic_1.useLogic)(props);
22
- const { data, className, expandedLevel = 10, disabledItems } = props, restProps = __rest(props, ["data", "className", "expandedLevel", "disabledItems"]);
23
- return ((0, jsx_runtime_1.jsx)(styles_1.List, Object.assign({ className: className }, listProps, { children: data.map((item) => ((0, jsx_runtime_1.jsx)(TreeItem_1.TreeItem, Object.assign({}, item, { level: INITIAL_LEVEL, expandedLevel: expandedLevel }, itemProps, restProps), item.id))) })));
11
+ const { data, className, expandedLevel = 10, disabledItems, ...restProps } = props;
12
+ return ((0, jsx_runtime_1.jsx)(styles_1.List, { className: className, ...listProps, children: data.map((item) => ((0, jsx_runtime_1.jsx)(TreeItem_1.TreeItem, { ...item, level: INITIAL_LEVEL, expandedLevel: expandedLevel, ...itemProps, ...restProps }, item.id))) }));
24
13
  };
25
14
  exports.TreeLikeList = TreeLikeList;
@@ -9,7 +9,7 @@ const useLogic = ({ data, value, disabledItems }) => {
9
9
  const prefixId = (0, useId_1.useId)();
10
10
  const listRef = (0, react_1.useRef)(null);
11
11
  (0, react_1.useEffect)(() => {
12
- if (listRef.current && (value === null || value === void 0 ? void 0 : value.length)) {
12
+ if (listRef.current && value?.length) {
13
13
  // Выбираем первый элемент из списка value
14
14
  const targetItem = listRef.current.querySelector(`
15
15
  li[id="${prefixId}${value[0]}"]`);
@@ -5,7 +5,7 @@ const getChainsId = (tree, targetId) => {
5
5
  const chainIds = [];
6
6
  const findChain = (node, chainId) => {
7
7
  chainId.push(node.id);
8
- if (targetId === null || targetId === void 0 ? void 0 : targetId.includes(node.id)) {
8
+ if (targetId?.includes(node.id)) {
9
9
  chainIds.push([...chainId]);
10
10
  return;
11
11
  }
@@ -1,23 +1,11 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.Typography = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
16
5
  const react_1 = require("react");
17
6
  const hooks_1 = require("./hooks");
18
7
  const styles_1 = require("./styles");
19
- exports.Typography = (0, react_1.forwardRef)((_a, ref) => {
20
- var { children, color, colorIntensity = '800', component } = _a, props = __rest(_a, ["children", "color", "colorIntensity", "component"]);
8
+ exports.Typography = (0, react_1.forwardRef)(({ children, color, colorIntensity = '800', component, ...props }, ref) => {
21
9
  const typographyColor = (0, hooks_1.useTypographyColor)({ color, colorIntensity });
22
- return ((0, jsx_runtime_1.jsx)(styles_1.TypographyWrapper, Object.assign({ ref: ref }, props, { component: component, color: typographyColor, children: children })));
10
+ return ((0, jsx_runtime_1.jsx)(styles_1.TypographyWrapper, { ref: ref, ...props, component: component, color: typographyColor, children: children }));
23
11
  });
@@ -6,7 +6,6 @@ const theme_1 = require("../../../theme");
6
6
  const useTypographyColor = ({ color, colorIntensity = '800', }) => {
7
7
  const theme = (0, theme_1.useTheme)();
8
8
  return (0, react_1.useMemo)(() => {
9
- var _a;
10
9
  if (color) {
11
10
  switch (color) {
12
11
  case 'text':
@@ -16,7 +15,7 @@ const useTypographyColor = ({ color, colorIntensity = '800', }) => {
16
15
  case 'secondary':
17
16
  return theme.palette.secondary[800];
18
17
  default:
19
- return ((_a = theme.palette[color]) === null || _a === void 0 ? void 0 : _a[colorIntensity]) || color;
18
+ return theme.palette[color]?.[colorIntensity] || color;
20
19
  }
21
20
  }
22
21
  return undefined;
@@ -1,22 +1,8 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.FileList = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
16
5
  const FileUploaderFile_1 = require("../../FileUploaderFile");
17
6
  const styles_1 = require("./styles");
18
- const FileList = (_a) => {
19
- var { isMultiple, files, className } = _a, restProps = __rest(_a, ["isMultiple", "files", "className"]);
20
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { "$isMultiple": isMultiple, className: className, children: files === null || files === void 0 ? void 0 : files.map((file) => ((0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(FileUploaderFile_1.FileUploaderFile, Object.assign({}, file, restProps)) }, file.id))) }));
21
- };
7
+ const FileList = ({ isMultiple, files, className, ...restProps }) => ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { "$isMultiple": isMultiple, className: className, children: files?.map((file) => ((0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(FileUploaderFile_1.FileUploaderFile, { ...file, ...restProps }) }, file.id))) }));
22
8
  exports.FileList = FileList;
@@ -8,5 +8,5 @@ const hooks_1 = require("../hooks");
8
8
  const FIleList_1 = require("./FIleList");
9
9
  exports.FileUploader = (0, react_1.forwardRef)((props, forwardedRef) => {
10
10
  const { dropZoneProps, fileListProps } = (0, hooks_1.useFileUploader)(props);
11
- return ((0, jsx_runtime_1.jsx)(FileUploaderDropzone_1.FileUploaderDropzone, Object.assign({ ref: forwardedRef }, dropZoneProps, { children: (0, jsx_runtime_1.jsx)(FIleList_1.FileList, Object.assign({}, fileListProps)) })));
11
+ return ((0, jsx_runtime_1.jsx)(FileUploaderDropzone_1.FileUploaderDropzone, { ref: forwardedRef, ...dropZoneProps, children: (0, jsx_runtime_1.jsx)(FIleList_1.FileList, { ...fileListProps }) }));
12
12
  });
@@ -1,13 +1,4 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
12
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
4
  };
@@ -24,12 +15,12 @@ const progressSteps = Array.from({ length: 10 }, (_, i) => (i + 1) / 10);
24
15
  const getRandomDelay = () => Math.random() * 300 + 200; // 200-500ms
25
16
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
26
17
  const mock = new axios_mock_adapter_1.default(axios_1.default);
27
- mock.onPost('/api/upload').reply((config) => __awaiter(void 0, void 0, void 0, function* () {
18
+ mock.onPost('/api/upload').reply(async (config) => {
28
19
  const formData = config.data;
29
20
  const file = formData.get('file');
30
21
  const total = file.size;
31
22
  for (const progress of progressSteps) {
32
- yield sleep(getRandomDelay());
23
+ await sleep(getRandomDelay());
33
24
  if (config.onUploadProgress) {
34
25
  config.onUploadProgress({
35
26
  loaded: Math.floor(total * progress),
@@ -44,8 +35,11 @@ mock.onPost('/api/upload').reply((config) => __awaiter(void 0, void 0, void 0, f
44
35
  type: file.type,
45
36
  };
46
37
  return [200, response];
47
- }));
48
- const fakeFileUploadQuery = (formData, options) => axios_1.default.post('/api/upload', formData, Object.assign({ headers: {
38
+ });
39
+ const fakeFileUploadQuery = (formData, options) => axios_1.default.post('/api/upload', formData, {
40
+ headers: {
49
41
  'Content-Type': 'multipart/form-data',
50
- } }, (options || {})));
42
+ },
43
+ ...(options || {}),
44
+ });
51
45
  exports.fakeFileUploadQuery = fakeFileUploadQuery;
@@ -1,21 +1,7 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.DropzoneWrapper = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
16
5
  const react_1 = require("react");
17
6
  const styles_1 = require("./styles");
18
- exports.DropzoneWrapper = (0, react_1.forwardRef)((_a, ref) => {
19
- var { children, isError, isActive } = _a, rest = __rest(_a, ["children", "isError", "isActive"]);
20
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, Object.assign({}, rest, { "$isError": isError, "$isActive": isActive, ref: ref, children: children })));
21
- });
7
+ exports.DropzoneWrapper = (0, react_1.forwardRef)(({ children, isError, isActive, ...rest }, ref) => ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ...rest, "$isError": isError, "$isActive": isActive, ref: ref, children: children })));
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.FileUploaderDropzone = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
@@ -21,7 +10,4 @@ const FileUploaderContainer_1 = require("./FileUploaderContainer");
21
10
  const HintPlaceholder_1 = require("./HintPlaceholder");
22
11
  const LimitMaxFilePlaceholder_1 = require("./LimitMaxFilePlaceholder");
23
12
  const PlaceholderContainer_1 = require("./PlaceholderContainer");
24
- exports.FileUploaderDropzone = (0, react_1.forwardRef)((_a, ref) => {
25
- var { children, fileInputProps, hintPlaceholderProps, uploadButtonProps, isLimitMaxFileCount, isVisibleAddFile, maxFileCount, isVisibleFileList, containerProps } = _a, rest = __rest(_a, ["children", "fileInputProps", "hintPlaceholderProps", "uploadButtonProps", "isLimitMaxFileCount", "isVisibleAddFile", "maxFileCount", "isVisibleFileList", "containerProps"]);
26
- return ((0, jsx_runtime_1.jsx)(FileUploaderContainer_1.FileUploaderContainer, Object.assign({}, containerProps, { children: (0, jsx_runtime_1.jsxs)(DropzoneWrapper_1.DropzoneWrapper, Object.assign({}, rest, { ref: ref, children: [isVisibleFileList && children, (0, jsx_runtime_1.jsx)(FileInput_1.FileInput, Object.assign({}, fileInputProps)), isVisibleAddFile && ((0, jsx_runtime_1.jsxs)(PlaceholderContainer_1.PlaceholderContainer, { children: [(0, jsx_runtime_1.jsx)(HintPlaceholder_1.HintPlaceholder, Object.assign({}, hintPlaceholderProps)), (0, jsx_runtime_1.jsx)(UploadButton_1.UploadButton, Object.assign({}, uploadButtonProps))] })), isLimitMaxFileCount && ((0, jsx_runtime_1.jsx)(LimitMaxFilePlaceholder_1.LimitMaxFilePlaceholder, { maxFileCount: maxFileCount }))] })) })));
27
- });
13
+ exports.FileUploaderDropzone = (0, react_1.forwardRef)(({ children, fileInputProps, hintPlaceholderProps, uploadButtonProps, isLimitMaxFileCount, isVisibleAddFile, maxFileCount, isVisibleFileList, containerProps, ...rest }, ref) => ((0, jsx_runtime_1.jsx)(FileUploaderContainer_1.FileUploaderContainer, { ...containerProps, children: (0, jsx_runtime_1.jsxs)(DropzoneWrapper_1.DropzoneWrapper, { ...rest, ref: ref, children: [isVisibleFileList && children, (0, jsx_runtime_1.jsx)(FileInput_1.FileInput, { ...fileInputProps }), isVisibleAddFile && ((0, jsx_runtime_1.jsxs)(PlaceholderContainer_1.PlaceholderContainer, { children: [(0, jsx_runtime_1.jsx)(HintPlaceholder_1.HintPlaceholder, { ...hintPlaceholderProps }), (0, jsx_runtime_1.jsx)(UploadButton_1.UploadButton, { ...uploadButtonProps })] })), isLimitMaxFileCount && ((0, jsx_runtime_1.jsx)(LimitMaxFilePlaceholder_1.LimitMaxFilePlaceholder, { maxFileCount: maxFileCount }))] }) })));
@@ -1,21 +1,9 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.useLogic = void 0;
15
4
  const utils_1 = require("@astral/utils");
16
- const useLogic = (_a) => {
17
- var { accept } = _a, restProps = __rest(_a, ["accept"]);
5
+ const useLogic = ({ accept, ...restProps }) => {
18
6
  const extensions = accept.map(utils_1.formatFileTypeToView).join(', ');
19
- return Object.assign({ extensions }, restProps);
7
+ return { extensions, ...restProps };
20
8
  };
21
9
  exports.useLogic = useLogic;
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.Actions = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
@@ -26,7 +15,7 @@ const Actions = (props) => {
26
15
  if (isError) {
27
16
  return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleRetry, children: (0, jsx_runtime_1.jsx)(icons_1.RetryOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleDelete, children: (0, jsx_runtime_1.jsx)(icons_1.CrossOutlineMd, {}) }) })] }));
28
17
  }
29
- const { isShowViewButton } = viewButtonProps, restViewButtonProps = __rest(viewButtonProps, ["isShowViewButton"]);
30
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isShowViewButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ variant: "text" }, restViewButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.EyeOutlineMd, {}) })) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ component: "a", variant: "text", download: fileName }, downloadButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.DownloadOutlineMd, {}) })) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleDelete, children: (0, jsx_runtime_1.jsx)(icons_1.BinOutlineMd, {}) }) })] }));
18
+ const { isShowViewButton, ...restViewButtonProps } = viewButtonProps;
19
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isShowViewButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", ...restViewButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.EyeOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { component: "a", variant: "text", download: fileName, ...downloadButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.DownloadOutlineMd, {}) }) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleDelete, children: (0, jsx_runtime_1.jsx)(icons_1.BinOutlineMd, {}) }) })] }));
31
20
  };
32
21
  exports.Actions = Actions;
@@ -27,11 +27,11 @@ const useLogic = ({ fileId, file, fileUrl, isUploadError, generateDownloadLink,
27
27
  };
28
28
  const downloadLink = getDownloadLink();
29
29
  const handleAbort = () => {
30
- controller === null || controller === void 0 ? void 0 : controller.abort();
30
+ controller?.abort();
31
31
  setErrorStatusFile(fileId, constants_1.ABORT_ERROR_MESSAGE);
32
32
  };
33
33
  const handleDelete = () => onDelete(fileId);
34
- const handleView = () => onView === null || onView === void 0 ? void 0 : onView(fileId, file, fileUrl);
34
+ const handleView = () => onView?.(fileId, file, fileUrl);
35
35
  const checkIsAcceptedExtension = (extension) => {
36
36
  if (!extension) {
37
37
  return false;
@@ -45,9 +45,12 @@ const useLogic = ({ fileId, file, fileUrl, isUploadError, generateDownloadLink,
45
45
  if (onView) {
46
46
  return { isShowViewButton: true, onClick: handleView };
47
47
  }
48
- const extension = file && (0, utils_1.getFileExtension)(file === null || file === void 0 ? void 0 : file.type);
48
+ const extension = file && (0, utils_1.getFileExtension)(file?.type);
49
49
  if (checkIsAcceptedExtension(extension)) {
50
- return Object.assign({ isShowViewButton: true }, (0, utils_2.generateAttrLinkNewTab)(downloadLink));
50
+ return {
51
+ isShowViewButton: true,
52
+ ...(0, utils_2.generateAttrLinkNewTab)(downloadLink),
53
+ };
51
54
  }
52
55
  return {
53
56
  isShowViewButton: false,
@@ -58,7 +61,7 @@ const useLogic = ({ fileId, file, fileUrl, isUploadError, generateDownloadLink,
58
61
  },
59
62
  };
60
63
  };
61
- const handleRetry = () => onRetry === null || onRetry === void 0 ? void 0 : onRetry(fileId, file);
64
+ const handleRetry = () => onRetry?.(fileId, file);
62
65
  return {
63
66
  downloadButtonProps: {
64
67
  href: downloadLink,
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.FileUploaderFile = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
@@ -20,9 +9,9 @@ const Actions_1 = require("./Actions");
20
9
  const Progress_1 = require("./Progress");
21
10
  const styles_1 = require("./styles");
22
11
  const FileUploaderFile = (props) => {
23
- const { id, name, file, url, size, status } = props, actions = __rest(props, ["id", "name", "file", "url", "size", "status"]);
12
+ const { id, name, file, url, size, status, ...actions } = props;
24
13
  const { isLoading, isUploadError, isRestrictionError, errorMsg, progress } = status || {};
25
14
  const isError = isUploadError || isRestrictionError;
26
- return ((0, jsx_runtime_1.jsx)(transitions_1.Grow, { in: true, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isLoading": isLoading, "$isError": isError, children: [(0, jsx_runtime_1.jsxs)(styles_1.Content, { children: [(0, jsx_runtime_1.jsx)(FileInfo_1.FileInfo, { fileName: name, fileSize: size }), isLoading && (0, jsx_runtime_1.jsx)(Progress_1.Progress, { progress: progress }), isError && ((0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }))] }), (0, jsx_runtime_1.jsx)(Actions_1.Actions, Object.assign({ fileId: id, file: file, fileName: name, fileUrl: url, isLoading: isLoading, isError: isError, isUploadError: isUploadError }, actions))] }) }));
15
+ return ((0, jsx_runtime_1.jsx)(transitions_1.Grow, { in: true, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isLoading": isLoading, "$isError": isError, children: [(0, jsx_runtime_1.jsxs)(styles_1.Content, { children: [(0, jsx_runtime_1.jsx)(FileInfo_1.FileInfo, { fileName: name, fileSize: size }), isLoading && (0, jsx_runtime_1.jsx)(Progress_1.Progress, { progress: progress }), isError && ((0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }))] }), (0, jsx_runtime_1.jsx)(Actions_1.Actions, { fileId: id, file: file, fileName: name, fileUrl: url, isLoading: isLoading, isError: isError, isUploadError: isUploadError, ...actions })] }) }));
27
16
  };
28
17
  exports.FileUploaderFile = FileUploaderFile;
@@ -7,6 +7,6 @@ const styles_1 = require("./styles");
7
7
  const useLogic_1 = require("./useLogic");
8
8
  const Progress = (props) => {
9
9
  const { progressBarProps } = (0, useLogic_1.useLogic)(props);
10
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, Object.assign({}, progressBarProps)) }));
10
+ return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, { ...progressBarProps }) }));
11
11
  };
12
12
  exports.Progress = Progress;
@@ -1,21 +1,7 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.FileList = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
16
5
  const PreviewFileUploaderFile_1 = require("../../PreviewFileUploaderFile");
17
- const FileList = (_a) => {
18
- var { files } = _a, restProps = __rest(_a, ["files"]);
19
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: files === null || files === void 0 ? void 0 : files.map((file) => ((0, jsx_runtime_1.jsx)(PreviewFileUploaderFile_1.PreviewFileUploaderFile, Object.assign({}, file, restProps), file.id))) }));
20
- };
6
+ const FileList = ({ files, ...restProps }) => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: files?.map((file) => ((0, jsx_runtime_1.jsx)(PreviewFileUploaderFile_1.PreviewFileUploaderFile, { ...file, ...restProps }, file.id))) }));
21
7
  exports.FileList = FileList;
@@ -8,5 +8,5 @@ const PreviewFileUploaderDropZone_1 = require("../PreviewFileUploaderDropZone");
8
8
  const FileList_1 = require("./FileList");
9
9
  exports.PreviewFileUploader = (0, react_1.forwardRef)((props, forwardedRef) => {
10
10
  const { dropZoneProps, fileListProps } = (0, usePreviewFileUploader_1.usePreviewFileUploader)(props);
11
- return ((0, jsx_runtime_1.jsx)(PreviewFileUploaderDropZone_1.PreviewFileUploaderDropZone, Object.assign({ ref: forwardedRef }, dropZoneProps, { children: (0, jsx_runtime_1.jsx)(FileList_1.FileList, Object.assign({}, fileListProps)) })));
11
+ return ((0, jsx_runtime_1.jsx)(PreviewFileUploaderDropZone_1.PreviewFileUploaderDropZone, { ref: forwardedRef, ...dropZoneProps, children: (0, jsx_runtime_1.jsx)(FileList_1.FileList, { ...fileListProps }) }));
12
12
  });
@@ -1,13 +1,4 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
12
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
4
  };
@@ -24,12 +15,12 @@ const progressSteps = Array.from({ length: 10 }, (_, i) => (i + 1) / 10);
24
15
  const getRandomDelay = () => Math.random() * 300 + 200; // 200-500ms
25
16
  const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
26
17
  const mock = new axios_mock_adapter_1.default(axios_1.default);
27
- mock.onPost('/api/upload').reply((config) => __awaiter(void 0, void 0, void 0, function* () {
18
+ mock.onPost('/api/upload').reply(async (config) => {
28
19
  const formData = config.data;
29
20
  const file = formData.get('file');
30
21
  const total = file.size;
31
22
  for (const progress of progressSteps) {
32
- yield sleep(getRandomDelay());
23
+ await sleep(getRandomDelay());
33
24
  if (config.onUploadProgress) {
34
25
  config.onUploadProgress({
35
26
  loaded: Math.floor(total * progress),
@@ -44,8 +35,11 @@ mock.onPost('/api/upload').reply((config) => __awaiter(void 0, void 0, void 0, f
44
35
  type: file.type,
45
36
  };
46
37
  return [200, response];
47
- }));
48
- const fakePreviewFileUploadQuery = (formData, options) => axios_1.default.post('/api/upload', formData, Object.assign({ headers: {
38
+ });
39
+ const fakePreviewFileUploadQuery = (formData, options) => axios_1.default.post('/api/upload', formData, {
40
+ headers: {
49
41
  'Content-Type': 'multipart/form-data',
50
- } }, (options || {})));
42
+ },
43
+ ...(options || {}),
44
+ });
51
45
  exports.fakePreviewFileUploadQuery = fakePreviewFileUploadQuery;
@@ -8,6 +8,6 @@ const styles_1 = require("./styles");
8
8
  const useLogic_1 = require("./useLogic");
9
9
  const HintPlaceholder = (props) => {
10
10
  const { extensions, imageProps, maxFileSize, placeholder, className, RenderImage, } = (0, useLogic_1.useLogic)(props);
11
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: className, children: [(0, jsx_runtime_1.jsx)(RenderImage, Object.assign({}, imageProps, { alt: "\u0424\u0430\u0439\u043B\u044B \u0434\u043B\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438" })), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { component: "p", color: "textSecondary", variant: "caption", align: "center", children: placeholder || ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B. \u0420\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u043D\u0435 \u0431\u043E\u043B\u0435\u0435", ' ', (0, utils_1.formatFileSizeToView)(maxFileSize), extensions && ' в формате ', (0, jsx_runtime_1.jsx)(styles_1.Extensions, { children: extensions })] })) })] }));
11
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: className, children: [(0, jsx_runtime_1.jsx)(RenderImage, { ...imageProps, alt: "\u0424\u0430\u0439\u043B\u044B \u0434\u043B\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438" }), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { component: "p", color: "textSecondary", variant: "caption", align: "center", children: placeholder || ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B. \u0420\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u043D\u0435 \u0431\u043E\u043B\u0435\u0435", ' ', (0, utils_1.formatFileSizeToView)(maxFileSize), extensions && ' в формате ', (0, jsx_runtime_1.jsx)(styles_1.Extensions, { children: extensions })] })) })] }));
12
12
  };
13
13
  exports.HintPlaceholder = HintPlaceholder;
@@ -1,30 +1,21 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.useLogic = void 0;
15
4
  const utils_1 = require("@astral/utils");
16
5
  const react_1 = require("react");
17
6
  const ConfigProvider_1 = require("../../../../ConfigProvider");
18
7
  const styles_1 = require("../styles");
19
- const useLogic = (_a) => {
20
- var _b, _c;
21
- var { accept, placeholderImgSrc } = _a, rest = __rest(_a, ["accept", "placeholderImgSrc"]);
8
+ const useLogic = ({ accept, placeholderImgSrc, ...rest }) => {
22
9
  const { imagesMap, components } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
23
10
  const { uploadFileImgSrc } = imagesMap;
24
- const configRenderImage = (_c = (_b = components === null || components === void 0 ? void 0 : components.placeholder) === null || _b === void 0 ? void 0 : _b.defaultProps) === null || _c === void 0 ? void 0 : _c.renderImage;
11
+ const configRenderImage = components?.placeholder?.defaultProps?.renderImage;
25
12
  const RenderImage = (0, react_1.useMemo)(() => configRenderImage ? (0, styles_1.setDefaultImageStyles)(configRenderImage) : styles_1.Image, [configRenderImage]);
26
- const extensions = accept === null || accept === void 0 ? void 0 : accept.map(utils_1.formatFileTypeToView).join(', ');
27
- return Object.assign({ RenderImage,
28
- extensions, imageProps: { src: placeholderImgSrc || uploadFileImgSrc } }, rest);
13
+ const extensions = accept?.map(utils_1.formatFileTypeToView).join(', ');
14
+ return {
15
+ RenderImage,
16
+ extensions,
17
+ imageProps: { src: placeholderImgSrc || uploadFileImgSrc },
18
+ ...rest,
19
+ };
29
20
  };
30
21
  exports.useLogic = useLogic;
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.PreviewFileUploaderDropZone = void 0;
15
4
  const jsx_runtime_1 = require("react/jsx-runtime");
@@ -20,7 +9,4 @@ const UploadButton_1 = require("../UploadButton");
20
9
  const HintPlaceholder_1 = require("./HintPlaceholder");
21
10
  const PlaceholderWrapper_1 = require("./PlaceholderWrapper");
22
11
  const styles_1 = require("./styles");
23
- exports.PreviewFileUploaderDropZone = (0, react_1.forwardRef)((_a, ref) => {
24
- var { fileInputProps, uploadButtonProps, hintPlaceholderProps, children, isVisibleAddFile, isVisibleFileList, containerProps } = _a, restProps = __rest(_a, ["fileInputProps", "uploadButtonProps", "hintPlaceholderProps", "children", "isVisibleAddFile", "isVisibleFileList", "containerProps"]);
25
- return ((0, jsx_runtime_1.jsx)(FileUploaderDropzone_1.FileUploaderContainer, Object.assign({}, containerProps, { children: (0, jsx_runtime_1.jsxs)(styles_1.StyledDropzoneWrapper, Object.assign({ ref: ref }, restProps, { children: [isVisibleFileList && children, (0, jsx_runtime_1.jsx)(FileInput_1.FileInput, Object.assign({}, fileInputProps)), isVisibleAddFile && ((0, jsx_runtime_1.jsxs)(PlaceholderWrapper_1.PlaceholderWrapper, { children: [(0, jsx_runtime_1.jsx)(HintPlaceholder_1.HintPlaceholder, Object.assign({}, hintPlaceholderProps)), (0, jsx_runtime_1.jsx)(UploadButton_1.UploadButton, Object.assign({}, uploadButtonProps))] }))] })) })));
26
- });
12
+ exports.PreviewFileUploaderDropZone = (0, react_1.forwardRef)(({ fileInputProps, uploadButtonProps, hintPlaceholderProps, children, isVisibleAddFile, isVisibleFileList, containerProps, ...restProps }, ref) => ((0, jsx_runtime_1.jsx)(FileUploaderDropzone_1.FileUploaderContainer, { ...containerProps, children: (0, jsx_runtime_1.jsxs)(styles_1.StyledDropzoneWrapper, { ref: ref, ...restProps, children: [isVisibleFileList && children, (0, jsx_runtime_1.jsx)(FileInput_1.FileInput, { ...fileInputProps }), isVisibleAddFile && ((0, jsx_runtime_1.jsxs)(PlaceholderWrapper_1.PlaceholderWrapper, { children: [(0, jsx_runtime_1.jsx)(HintPlaceholder_1.HintPlaceholder, { ...hintPlaceholderProps }), (0, jsx_runtime_1.jsx)(UploadButton_1.UploadButton, { ...uploadButtonProps })] }))] }) })));
@@ -12,6 +12,6 @@ const useLogic_1 = require("./useLogic");
12
12
  const FileError = (props) => {
13
13
  const { isVisibleRetryButton, imageProps, deleteButtonProps, retryButtonProps, RenderImage, } = (0, useLogic_1.useLogic)(props);
14
14
  const { fileName, fileSize, errorMsg } = props;
15
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(RenderImage, Object.assign({}, imageProps, { alt: "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u044B\u0439 \u0444\u0430\u0439\u043B" })), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, children: [(0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsxs)(styles_1.Actions, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ variant: "light", color: "grey" }, retryButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.RetryOutlineMd, {}) })) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ variant: "light", color: "grey" }, deleteButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.CrossOutlineMd, {}) })) })] })] })] }));
15
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(RenderImage, { ...imageProps, alt: "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u044B\u0439 \u0444\u0430\u0439\u043B" }), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, children: [(0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsxs)(styles_1.Actions, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...retryButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.RetryOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...deleteButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.CrossOutlineMd, {}) }) })] })] })] }));
16
16
  };
17
17
  exports.FileError = FileError;
@@ -5,14 +5,13 @@ const react_1 = require("react");
5
5
  const ConfigProvider_1 = require("../../../../ConfigProvider");
6
6
  const styles_1 = require("../styles");
7
7
  const useLogic = ({ fileId, file, isUploadError, onDelete, onRetry, }) => {
8
- var _a, _b;
9
8
  const { imagesMap, components } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
10
- const configRenderImage = (_b = (_a = components === null || components === void 0 ? void 0 : components.placeholder) === null || _a === void 0 ? void 0 : _a.defaultProps) === null || _b === void 0 ? void 0 : _b.renderImage;
9
+ const configRenderImage = components?.placeholder?.defaultProps?.renderImage;
11
10
  const RenderImage = (0, react_1.useMemo)(() => configRenderImage ? (0, styles_1.setDefaultImageStyles)(configRenderImage) : styles_1.Image, [configRenderImage]);
12
11
  const { errorFileImgSrc } = imagesMap;
13
12
  const isVisibleRetryButton = Boolean(isUploadError && onRetry);
14
13
  const handleDelete = () => onDelete(fileId);
15
- const handleRetry = () => onRetry === null || onRetry === void 0 ? void 0 : onRetry(fileId, file);
14
+ const handleRetry = () => onRetry?.(fileId, file);
16
15
  return {
17
16
  isVisibleRetryButton,
18
17
  RenderImage,
@@ -10,6 +10,6 @@ const styles_1 = require("./styles");
10
10
  const useLogic_1 = require("./useLogic");
11
11
  const FileLoading = (props) => {
12
12
  const { abortButtonProps, fileName, fileSize, progress } = (0, useLogic_1.useLogic)(props);
13
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h5", children: "\u0418\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430..." }), (0, jsx_runtime_1.jsxs)(styles_1.Content, { children: [(0, jsx_runtime_1.jsx)(FileInfo_1.FileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(Progress_1.Progress, { progress: progress })] }), (0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ variant: "light", color: "grey" }, abortButtonProps, { children: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443" }))] }));
13
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h5", children: "\u0418\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430..." }), (0, jsx_runtime_1.jsxs)(styles_1.Content, { children: [(0, jsx_runtime_1.jsx)(FileInfo_1.FileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(Progress_1.Progress, { progress: progress })] }), (0, jsx_runtime_1.jsx)(Button_1.Button, { variant: "light", color: "grey", ...abortButtonProps, children: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443" })] }));
14
14
  };
15
15
  exports.FileLoading = FileLoading;
@@ -7,6 +7,6 @@ const styles_1 = require("./styles");
7
7
  const useLogic_1 = require("./useLogic");
8
8
  const Progress = (props) => {
9
9
  const { progressBarProps } = (0, useLogic_1.useLogic)(props);
10
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, Object.assign({}, progressBarProps)) }));
10
+ return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(ProgressBar_1.ProgressBar, { ...progressBarProps }) }));
11
11
  };
12
12
  exports.Progress = Progress;
@@ -5,7 +5,7 @@ const constants_1 = require("../../../constants");
5
5
  const useLogic = ({ fileId, fileName, fileSize, progress, selfFiles, setErrorStatusFile, }) => {
6
6
  const { controller } = selfFiles[fileId] || {};
7
7
  const handleAbort = () => {
8
- controller === null || controller === void 0 ? void 0 : controller.abort();
8
+ controller?.abort();
9
9
  setErrorStatusFile(fileId, constants_1.ABORT_ERROR_MESSAGE);
10
10
  };
11
11
  return {
@@ -16,6 +16,6 @@ const FilePreview = (props) => {
16
16
  const { viewButtonProps, downloadButtonProps, deleteButtonProps, isImageFile, isPdfFile, isOtherFile, } = (0, useLogic_1.useLogic)(props);
17
17
  const { file, fileName, fileSize, fileUrl, generateDownloadLink, isHidePersonalData, PdfViewer, } = props;
18
18
  const { isMobile } = (0, hooks_1.useViewportType)();
19
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Preview_1.Preview, { isImageFile: isImageFile, isPdfFile: isPdfFile, file: file, fileUrl: fileUrl, generateDownloadLink: generateDownloadLink, isHidePersonalData: isHidePersonalData, PdfViewer: PdfViewer }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, "$isOtherFile": isOtherFile, children: [isOtherFile && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h6", children: "\u0424\u0430\u0439\u043B \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D" }), (0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { "$isOtherFile": isOtherFile, fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(styles_1.Actions, { children: isMobile && isOtherFile ? ((0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ variant: "light", color: "grey" }, deleteButtonProps, { children: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C" }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [!isOtherFile && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ variant: "light", color: "grey" }, viewButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.EyeOutlineMd, {}) })) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ component: "a", variant: "light", color: "grey", download: fileName }, downloadButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.DownloadOutlineMd, {}) })) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, Object.assign({ variant: "light", color: "grey" }, deleteButtonProps, { children: (0, jsx_runtime_1.jsx)(icons_1.BinOutlineMd, {}) })) })] })) })] })] }));
19
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Preview_1.Preview, { isImageFile: isImageFile, isPdfFile: isPdfFile, file: file, fileUrl: fileUrl, generateDownloadLink: generateDownloadLink, isHidePersonalData: isHidePersonalData, PdfViewer: PdfViewer }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, "$isOtherFile": isOtherFile, children: [isOtherFile && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h6", children: "\u0424\u0430\u0439\u043B \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D" }), (0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { "$isOtherFile": isOtherFile, fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(styles_1.Actions, { children: isMobile && isOtherFile ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { variant: "light", color: "grey", ...deleteButtonProps, children: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C" })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [!isOtherFile && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...viewButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.EyeOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { component: "a", variant: "light", color: "grey", download: fileName, ...downloadButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.DownloadOutlineMd, {}) }) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...deleteButtonProps, children: (0, jsx_runtime_1.jsx)(icons_1.BinOutlineMd, {}) }) })] })) })] })] }));
20
20
  };
21
21
  exports.FilePreview = FilePreview;