@astral/ui 4.2.0 → 4.2.2
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.
- package/README.md +1 -1
- package/components/Accordion/useLogic/useLogic.js +2 -2
- package/components/ActionCellBase/MainAction/MainAction.js +1 -15
- package/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +2 -13
- package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
- package/components/ActionGroup/MainActions/MainActions.js +5 -19
- package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +19 -19
- package/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -16
- package/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -13
- package/components/AddressAutocomplete/AddressAutocomplete.js +3 -14
- package/components/AddressAutocomplete/faker.js +7 -13
- package/components/Alert/Alert.js +1 -1
- package/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -1
- package/components/AsyncAutocomplete/faker.js +6 -12
- package/components/AsyncAutocomplete/useLogic/useLogic.js +19 -17
- package/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
- package/components/Autocomplete/Autocomplete.js +22 -25
- package/components/Autocomplete/useLogic/useLogic.js +1 -1
- package/components/Avatar/Avatar.js +2 -14
- package/components/AvatarGroup/AvatarGroup.js +2 -13
- package/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +1 -2
- package/components/Badge/Badge.js +1 -15
- package/components/Banner/Banner.js +2 -13
- package/components/Banner/BannerActionButton/BannerActionButton.js +2 -14
- package/components/Banner/BannerContainer/BannerContainer.js +2 -3
- package/components/Banner/BannerTemplate/BannerTemplate.js +5 -5
- package/components/BottomDrawer/BottomDrawer.js +2 -14
- package/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/components/BulletList/BulletList.js +2 -13
- package/components/BulletListInlineItem/BulletListInlineItem.js +1 -1
- package/components/BulletListItem/BulletListItem.js +2 -13
- package/components/Button/Button.js +3 -14
- package/components/CheckableTag/CheckableTag.js +4 -16
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/Icon/Icon.js +1 -15
- package/components/Checkbox/useLogic/useLogic.js +2 -14
- package/components/CheckboxField/CheckboxField.js +2 -14
- package/components/Chevron/Chevron.js +1 -1
- package/components/CodeField/CodeField.js +1 -1
- package/components/CodeField/hooks/useCodeState/useCodeState.js +2 -4
- package/components/Collapse/Collapse.js +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.js +7 -16
- package/components/ConfigProvider/ConfigProvider.js +18 -2
- package/components/ConfigProvider/NextFeatureFlagsContext/NextFeatureFlagsContextProvider/NextFeatureFlagsContextProvider.js +1 -15
- package/components/ConfirmAction/ConfirmAction.js +1 -1
- package/components/ConfirmDialog/ConfirmDialog.js +4 -15
- package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/components/ContentState/ContentState.js +1 -1
- package/components/ContentState/useLogic/useLogic.js +2 -2
- package/components/CopyTypography/CopyTypography.js +2 -2
- package/components/CopyTypography/useLogic/useLogic.js +1 -13
- package/components/Counter/Counter.js +1 -15
- package/components/DashboardAlert/DashboardAlert.js +3 -14
- package/components/DashboardLayout/Header/Header.js +1 -2
- package/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
- package/components/DashboardLayout/Main/useLogic/useLogic.js +4 -7
- package/components/DashboardLayout/PinButton/PinButton.js +2 -13
- package/components/DashboardLayout/Sidebar/MenuSidebarButton/MenuSidebarButton.js +2 -13
- package/components/DashboardLayout/Sidebar/SidebarButton/SidebarButton.js +1 -1
- package/components/DashboardLayout/Sidebar/SidebarPopover/FadePopup/useLogic/useLogic.js +1 -2
- package/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +3 -15
- package/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/useLogic/useLogic.js +1 -1
- package/components/DashboardSidebarProvider/DashboardSidebarProvider.js +5 -2
- package/components/DataGrid/Body/Body.js +5 -17
- package/components/DataGrid/Cell/Cell.js +1 -1
- package/components/DataGrid/DataGrid.js +2 -2
- package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +7 -4
- package/components/DataGrid/Head/Head.js +1 -1
- package/components/DataGrid/Head/useLogic/useLogic.js +3 -3
- package/components/DataGrid/HeadCell/HeadCell.js +3 -3
- package/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -15
- package/components/DataGrid/Row/NestedChildren/useLogic/useLogic.js +3 -3
- package/components/DataGrid/Row/Row.js +7 -21
- package/components/DataGrid/Row/useLogic/useLogic.js +6 -6
- package/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.js +6 -14
- package/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.js +6 -1
- package/components/DataGrid/faker.js +12 -15
- package/components/DataGrid/useLogic/useLogic.js +4 -3
- package/components/DataGridActionCell/MainAction/MainAction.js +1 -15
- package/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +2 -13
- package/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -1
- package/components/DataGridActionCell/useLogic/useLogic.js +2 -2
- package/components/DataGridInfinite/DataGridInfinite.js +6 -18
- package/components/DataGridInfinite/List/List.js +1 -15
- package/components/DataGridInfinite/useLogic/useLogic.js +6 -6
- package/components/DataGridMinimalisticPagination/DataGridMinimalisticPagination.js +2 -14
- package/components/DataGridPagination/DataGridPagination.js +2 -13
- package/components/DataGridPaginationContainer/useLogic/useLogic.js +1 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/DateCalendarNextButton.js +2 -14
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/DateCalendarPrevButton.js +2 -14
- package/components/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.js +1 -1
- package/components/DatePicker/DateCalendar/DateCalendarWrapper/DateCalendarWrapper.js +1 -1
- package/components/DatePicker/DatePicker.js +2 -2
- package/components/DatePicker/DatePickerInput/DatePickerInput.js +10 -19
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -14
- package/components/DatePicker/DayPicker/DayPicker.js +3 -15
- package/components/DatePicker/MonthPicker/MonthPicker.js +2 -18
- package/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.js +4 -5
- package/components/DatePicker/YearMonthDayPicker/YearMonthDayPicker.js +1 -1
- package/components/DatePicker/YearPicker/YearPicker.js +2 -19
- package/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.js +3 -4
- package/components/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.js +2 -4
- package/components/DatePicker/hooks/useMaskedValue/useMaskedValue.js +3 -3
- package/components/DatePicker/useLogic/useLogic.js +5 -5
- package/components/DateRangePicker/DateRangePicker.js +4 -15
- package/components/DateRangePicker/useLogic/useLogic.js +17 -21
- package/components/Description/Description.js +1 -1
- package/components/Description/Name/Name.js +2 -14
- package/components/Description/Value/Value.js +3 -14
- package/components/DescriptionList/DescriptionList.js +3 -15
- package/components/Dialog/Dialog.js +3 -15
- package/components/DialogActions/DialogActions.js +2 -14
- package/components/DialogContent/DialogContent.js +1 -1
- package/components/DialogContentText/DialogContentText.js +1 -1
- package/components/DialogTitle/DialogTitle.js +2 -14
- package/components/Divider/Divider.js +1 -1
- package/components/DropdownButton/DropdownButton.js +2 -14
- package/components/EmailField/EmailField.js +5 -14
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +4 -1
- package/components/EmailOrPhoneField/useLogic/useLogic.js +5 -16
- package/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/components/ErrorBoundary/ErrorBoundary.stubs.js +15 -22
- package/components/Fab/Fab.js +2 -14
- package/components/Fab/styles.js +6 -6
- package/components/Filename/Filename.js +6 -14
- package/components/FlowButton/FlowButton.js +2 -13
- package/components/FormControl/FormControl.js +1 -1
- package/components/FormControlLabel/FormControlLabel.js +1 -1
- package/components/FormHelperText/FormHelperText.js +2 -14
- package/components/FormLabel/FormLabel.js +1 -1
- package/components/GlobalStyles/GlobalStyles.js +2 -14
- package/components/Grid/GridComponent/GridComponent.js +2 -14
- package/components/GuidTypography/GuidTypography.js +5 -14
- package/components/HintIcon/Icon/useLogic/useLogic.js +1 -1
- package/components/IconButton/IconButton.js +2 -13
- package/components/IconDropdownButton/IconDropdownButton.js +2 -14
- package/components/Iframe/Iframe.js +3 -4
- package/components/InfiniteDataList/InfiniteDataList.js +4 -5
- package/components/InfiniteTreeList/InfiniteTreeList.js +2 -2
- package/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +2 -2
- package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
- package/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/InfiniteTreeList/OnTopButton/OnTopButton.js +1 -2
- package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +3 -5
- package/components/InfiniteTreeList/useLogic/hooks/useScrollManagement/useScrollManagement.js +4 -6
- package/components/InfiniteTreeList/useLogic/hooks/useStickyButton/useStickyButton.js +1 -2
- package/components/InfiniteTreeList/useLogic/useLogic.js +3 -3
- package/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.js +5 -2
- package/components/InfiniteTreeList/useLogic/utils/getInitialExpandedIds/getInitialExpandedIds.js +2 -3
- package/components/JsonViewer/JsonNode/useLogic/useLogic.js +6 -15
- package/components/JsonViewer/NodeValue/utils/formatValue/formatValue.js +2 -2
- package/components/LegacyNotification/LegacyNotification.js +16 -27
- package/components/LegacyNotification/NotificationContainer/NotificationContainer.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/constants.js +4 -4
- package/components/LegacyNotification/utils/notificationTemplatePropsCreator.js +5 -1
- package/components/Link/Link.js +2 -14
- package/components/List/List.js +1 -1
- package/components/ListItem/ListItem.js +1 -1
- package/components/ListItem/styles.js +6 -3
- package/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/components/ListItemButton/ListItemButton.js +2 -13
- package/components/ListItemIcon/ListItemIcon.js +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/components/ListItemText/ListItemText.js +1 -1
- package/components/ListSubheader/ListSubheader.js +1 -1
- package/components/MaskField/MaskField.js +6 -19
- package/components/Menu/Menu.js +2 -14
- package/components/MenuItem/MenuItem.js +2 -13
- package/components/MenuList/MenuList.js +2 -14
- package/components/MenuOrganization/MenuOrganization.js +2 -2
- package/components/MenuOrganization/OrganizationItem/OrganizationItem.js +2 -13
- package/components/MenuOrganization/OrganizationList/OrganizationList.js +1 -1
- package/components/MenuOrganization/useLogic/useLogic.js +7 -8
- package/components/MinimalisticPagination/MinimalisticPagination.js +1 -1
- package/components/NavMenu/Item/Item.js +2 -13
- package/components/NavMenu/Item/ItemButton/ItemButton.js +3 -14
- package/components/NavMenu/Item/useLogic/useLogic.js +4 -4
- package/components/Notification/Notification.js +48 -32
- package/components/Notification/NotificationContainer/NotificationContainer.js +2 -14
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +2 -14
- package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +7 -28
- package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/Notification/NotificationTemplate/constants.js +5 -31
- package/components/Notification/utils/getNotificationTemplateProps/getNotificationTemplateProps.js +5 -1
- package/components/Notification/utils/getNotifyOptions/getNotifyOptions.js +6 -15
- package/components/NotificationList/ListItem/ListItem.js +2 -2
- package/components/NotificationList/NotificationList.js +1 -1
- package/components/NumberField/NumberField.js +3 -15
- package/components/NumberField/useLogic/useLogic.js +2 -2
- package/components/NumberedList/NumberedList.js +2 -13
- package/components/OverflowTypography/OverflowTypography.js +12 -17
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/components/PageLayout/PageAlert/PageAlert.js +1 -1
- package/components/PageLayout/PageContent/PageContent.js +1 -1
- package/components/PageLayout/PageContent/PageContentHeader/PageContentHeaderActions/PageContentHeaderActions.js +1 -1
- package/components/PageLayout/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/components/PageLayout/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -3
- package/components/PageLayout/PageHeader/PageActions/MainActions/MainActions.js +1 -1
- package/components/PageLayout/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -14
- package/components/PageLayout/PageHeader/PageHeader.js +1 -1
- package/components/PageLayout/PageHeader/Title/Title.js +1 -1
- package/components/PageLayout/PageHeader/hooks/usePageTitle/usePageTitle.js +3 -5
- package/components/PageLayout/PageLayout.js +1 -1
- package/components/PageLayout/PagePinnableAside/PagePinnableAside.js +1 -13
- package/components/PageLayout/PagePinnableAside/useLogic/useLogic.js +2 -2
- package/components/Pagination/Pagination.js +2 -2
- package/components/Pagination/PaginationItem/PaginationItem.js +3 -17
- package/components/Pagination/useLogic/useLogic.js +1 -13
- package/components/Paper/Paper.js +2 -14
- package/components/PasswordField/PasswordField.js +6 -15
- package/components/PdfViewer/List/List.js +1 -2
- package/components/PdfViewer/PdfDocument/PdfDocument.js +3 -14
- package/components/PdfViewer/PdfDocument/useLogic/useLogic.js +4 -6
- package/components/PdfViewer/PdfPage/PdfPage.js +2 -13
- package/components/PdfViewer/PdfPage/useLogic/useLogic.js +1 -1
- package/components/PdfViewer/PdfViewer.js +2 -2
- package/components/PdfViewer/PdfViewerPagination/useLogic/useLogic.js +1 -2
- package/components/PdfViewer/useLogic/useLogic.js +16 -29
- package/components/PdfViewer/utils/getFullPageHeight/getFullPageHeight.js +1 -2
- package/components/PdfViewer/utils/getPageHeightList/getPageHeightList.js +3 -12
- package/components/PdfViewer/utils/getPageParams/getPageParams.js +3 -12
- package/components/Popover/Popover.js +2 -14
- package/components/Product/Product.js +2 -13
- package/components/ProductSwitcher/faker.js +2 -2
- package/components/ProductSwitcher/useLogic/useLogic.js +8 -17
- package/components/Profile/MenuList/MenuList.js +3 -14
- package/components/Profile/Profile.js +1 -1
- package/components/Radio/Icon/Icon.js +1 -15
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/useLogic/useLogic.js +2 -14
- package/components/RadioCard/RadioCard.js +2 -14
- package/components/RadioCard/styles.js +1 -0
- package/components/RadioField/RadioField.js +2 -14
- package/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/components/RadioGroup/RadioGroup.js +5 -4
- package/components/RadioGroup/types.d.ts +5 -1
- package/components/RadioGroup/useLogic/useLogic.d.ts +2 -1
- package/components/RadioGroup/useLogic/useLogic.js +3 -2
- package/components/RadioGroupField/RadioGroupField.js +1 -1
- package/components/Rating/Rating.js +3 -18
- package/components/RedesignBanner/RedesignBanner.js +1 -1
- package/components/ResizingDataGrid/ResizingDataGrid.js +3 -15
- package/components/ResizingDataGrid/Sliders/Sliders.js +1 -13
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +10 -4
- package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +3 -15
- package/components/SearchField/SearchField.js +1 -1
- package/components/SearchField/useLogic/useLogic.js +9 -19
- package/components/Select/Select.js +10 -17
- package/components/Select/useLogic/useLogic.js +9 -9
- package/components/SideDialog/SideDialog.js +2 -14
- package/components/SideDialogActions/SideDialogActions.js +1 -1
- package/components/SideDialogContent/SideDialogContent.js +1 -1
- package/components/SideDialogHeader/SideDialogHeader.js +1 -1
- package/components/SideDialogTitle/SideDialogTitle.js +1 -1
- package/components/Skeleton/Skeleton.js +1 -15
- package/components/StaticCalendar/StaticCalendarButton/StaticCalendarButton.js +2 -13
- package/components/StaticCalendar/StaticCalendarButton/useLogic/useLogic.js +7 -4
- package/components/StaticCalendar/StaticCalendarGridButton/styles.js +4 -4
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.js +1 -2
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/hooks/useDragAndDropHandlers/useDragAndDropHandlers.js +4 -4
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.js +7 -4
- package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +5 -20
- package/components/StepSlider/StepSlider.js +4 -17
- package/components/Stepper/StepButton/StepButton.js +2 -13
- package/components/Stepper/StepLabel/StepLabel.js +2 -13
- package/components/Stepper/Stepper.js +2 -13
- package/components/StepperWizard/StepperWizard.js +2 -13
- package/components/StepperWizard/useLogic/useLogic.js +1 -1
- package/components/SvgIcon/SvgIcon.js +2 -13
- package/components/Switch/Switch.js +3 -15
- package/components/Tabs/Tab/Tab.js +2 -14
- package/components/Tabs/Tabs.js +2 -14
- package/components/Tag/Tag.js +4 -16
- package/components/Tag/useLogic/useLogic.js +1 -1
- package/components/TagBadge/TagBadge.js +2 -14
- package/components/TagsList/Tag/Tag.js +2 -13
- package/components/TagsList/TagsList.js +2 -2
- package/components/TagsList/useLogic/useLogic.js +5 -5
- package/components/TextArea/TextArea.js +2 -14
- package/components/TextField/TextField.js +15 -19
- package/components/ToggleButton/ToggleButton.js +1 -1
- package/components/ToggleButton/useLogic/useLogic.js +1 -13
- package/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -13
- package/components/Tooltip/Tooltip.js +2 -13
- package/components/Tooltip/styles.js +1 -15
- package/components/Tree/MultipleTreeList/MultipleTreeList.js +2 -14
- package/components/Tree/MultipleTreeList/TreeItem/TreeItem.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.js +3 -3
- package/components/Tree/MultipleTreeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
- package/components/Tree/TreeItem/TreeItem.js +3 -14
- package/components/Tree/TreeItem/useLogic/useLogic.js +2 -2
- package/components/Tree/TreeList/TreeItem/TreeItem.js +1 -1
- package/components/Tree/TreeList/TreeItem/useLogic/useLogic.js +6 -6
- package/components/Tree/TreeList/TreeList.js +2 -13
- package/components/Tree/utils/getFormatDisabledItems/getFormatDisabledItems.js +2 -2
- package/components/TreeAsyncAutocomplete/Input/Input.js +2 -14
- package/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -3
- package/components/TreeAsyncAutocomplete/OptionsModal/OptionsModal.js +2 -2
- package/components/TreeAsyncAutocomplete/OptionsModal/useLogic/useLogic.js +19 -22
- package/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +1 -1
- package/components/TreeAsyncAutocomplete/useLogic/useLogic.js +18 -18
- package/components/TreeAutocomplete/Input/Input.js +2 -13
- package/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -3
- package/components/TreeAutocomplete/OptionsModal/OptionsModal.js +3 -14
- package/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
- package/components/TreeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
- package/components/TreeAutocomplete/TreeAutocomplete.js +2 -13
- package/components/TreeAutocomplete/useLogic/useLogic.js +3 -4
- package/components/TreeLikeAutocomplete/Input/Input.js +2 -13
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +6 -8
- package/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.js +3 -14
- package/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
- package/components/TreeLikeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
- package/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +2 -13
- package/components/TreeLikeAutocomplete/useLogic/useLogic.js +2 -2
- package/components/TreeLikeList/TreeItem/TreeItem.js +2 -2
- package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +4 -4
- package/components/TreeLikeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
- package/components/TreeLikeList/TreeLikeList.js +2 -13
- package/components/TreeLikeList/useLogic/useLogic.js +1 -1
- package/components/TreeLikeList/useLogic/utils/getChainsId/getChainsId.js +1 -1
- package/components/Typography/Typography.js +2 -14
- package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -2
- package/components/fileUploading/FileUploader/FIleList/FileList.js +1 -15
- package/components/fileUploading/FileUploader/FileUploader.js +1 -1
- package/components/fileUploading/FileUploader/faker.js +8 -14
- package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.js +1 -15
- package/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.js +1 -15
- package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/useLogic/useLogic.js +2 -14
- package/components/fileUploading/FileUploaderFile/Actions/Actions.js +2 -13
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +8 -5
- package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -13
- package/components/fileUploading/FileUploaderFile/Progress/Progress.js +1 -1
- package/components/fileUploading/PreviewFileUploader/FileList/FileList.js +1 -15
- package/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +1 -1
- package/components/fileUploading/PreviewFileUploader/faker.js +8 -14
- package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.js +9 -18
- package/components/fileUploading/PreviewFileUploaderDropZone/PreviewFileUploaderDropZone.js +1 -15
- package/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.js +2 -3
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/FileLoading.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/Progress.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/Preview.js +3 -3
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +3 -3
- package/components/fileUploading/hooks/useFileUploader/useFileUploader.js +29 -23
- package/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +27 -24
- package/components/fileUploading/hooks/useSelfFiles/useSelfFiles.js +22 -4
- package/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +5 -13
- package/components/fileUploading/hooks/useUploadFiles/useUploadFiles.js +2 -2
- package/components/fileUploading/restrictions/restrictFileMaxSize/restrictFileMaxSize.js +1 -1
- package/components/fileUploading/utils/rulePipe/rulePipe.js +1 -2
- package/components/hooks/useAsyncOptions/useAsyncOptions.js +3 -4
- package/components/hooks/useCheckControlled/useCheckControlled.js +1 -1
- package/components/hooks/useClickAwayEffect/useClickAwayEffect.js +1 -1
- package/components/hooks/useEscapeClickEffect/useEscapeClickEffect.js +1 -1
- package/components/hooks/useFeatureFlags/useFeatureFlags.js +1 -1
- package/components/hooks/useFocusAwayEffect/useFocusAwayEffect.js +1 -1
- package/components/hooks/useId/useId.js +1 -1
- package/components/hooks/useInputPopover/useInputPopover.js +1 -1
- package/components/hooks/useToggle/useToggle.js +2 -2
- package/components/index.d.ts +1 -1
- package/components/index.js +1 -1
- package/components/personalDataSecurity/PersonalData/PersonalData.js +4 -1
- package/components/placeholders/Placeholder/Placeholder.js +1 -2
- package/components/services/SecondsCountdown/SecondsCountdown.js +3 -6
- package/components/theme/baseTheme/baseTheme.js +5 -2
- package/components/theme/baseTheme/utils/createSnapshotTheme.js +5 -2
- package/components/theme/baseTheme/utils/writeSnapshot.js +3 -12
- package/components/theme/components/MuiButton.js +3 -3
- package/components/theme/palette/palette.js +86 -10
- package/components/transitions/Slide/Slide.js +1 -1
- package/components/utils/array/deepMap/deepMap.js +5 -2
- package/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.js +19 -8
- package/components/utils/date/format/formatDate/formatDate.js +1 -1
- package/hook-form/EditableText/EditableText.js +3 -14
- package/hook-form/EditableText/EditingForm/EditingForm.js +3 -3
- package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +3 -3
- package/hook-form/Form/Form.js +3 -15
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +7 -15
- package/hook-form/FormAddressAutocomplete/faker.js +7 -13
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +6 -3
- package/hook-form/FormAsyncAutocomplete/faker.js +9 -15
- package/hook-form/FormAutocomplete/FormAutocomplete.js +7 -5
- package/hook-form/FormCheckboxField/FormCheckboxField.js +6 -15
- package/hook-form/FormCodeField/FormCodeField.js +3 -14
- package/hook-form/FormDatePicker/FormDatePicker.js +8 -17
- package/hook-form/FormDateRangePicker/FormDateRangePicker.js +6 -15
- package/hook-form/FormEmailField/FormEmailField.js +5 -2
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +6 -3
- package/hook-form/FormFileUploader/FormFileUploader.js +2 -13
- package/hook-form/FormFileUploader/faker.js +8 -14
- package/hook-form/FormMaskField/FormMaskField.js +5 -2
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +9 -15
- package/hook-form/FormNumberField/FormNumberField.js +1 -1
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -13
- package/hook-form/FormPreviewFileUploader/faker.js +8 -14
- package/hook-form/FormRadioGroup/FormRadioGroup.d.ts +1 -4
- package/hook-form/FormRadioGroup/FormRadioGroup.js +10 -16
- package/hook-form/FormSelect/FormSelect.js +6 -3
- package/hook-form/FormSubmitButton/FormSubmitButton.js +2 -14
- package/hook-form/FormTextArea/FormTextArea.js +5 -2
- package/hook-form/FormTextField/FormTextField.js +5 -2
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +7 -15
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +5 -13
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +5 -13
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +5 -13
- package/hook-form/FormWizard/FormWizard.js +7 -4
- package/hook-form/FormWizard/useLogic/useLogic.js +1 -1
- package/hook-form/formLayouts/FormPageFooterContainer/useLogic/useLogic.js +1 -1
- package/hook-form/formLayouts/FormPageLayout/FormPageFooter/SecondaryActions/SecondaryActions.js +4 -18
- package/hook-form/formLayouts/FormPageLayout/FormPageLayout.js +4 -15
- package/hook-form/formLayouts/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +4 -18
- package/hook-form/formLayouts/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/hook-form/formLayouts/FormPageLayoutBase/useLogic/useLogic.js +14 -20
- package/hook-form/formLayouts/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
- package/hook-form/hooks/useForm/useForm.js +8 -16
- package/hook-form/hooks/useFormFieldErrorProps/useFormFieldErrorProps.js +1 -1
- package/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +10 -2
- package/hook-form/hooks/useFormInputProps/useFormInputProps.js +1 -12
- package/hook-form/hooks/useFormWizard/useFormWizard.js +9 -24
- package/hook-form/react-hook-form-resolver/resolver/resolver.js +4 -14
- package/hook-form/react-hook-form-resolver/utils/validateFieldsNatively/validateFieldsNatively.js +2 -2
- package/icons/FillMd/AutosaveErrorFillMd.js +1 -15
- package/icons/FillMd/AutosaveFillMd.js +1 -15
- package/icons/FillMd/AutosaveLoaderFillMd.js +1 -15
- package/icons/FillMd/BellFillMd.js +1 -15
- package/icons/FillMd/BookmarkFillMd.js +1 -15
- package/icons/FillMd/CalculatorFillMd.js +1 -15
- package/icons/FillMd/CircleErrorFillMd.js +1 -15
- package/icons/FillMd/ClockFillMd.js +1 -15
- package/icons/FillMd/CompanyPicFillMd.js +1 -15
- package/icons/FillMd/CopyMailFillMd.js +1 -15
- package/icons/FillMd/DislikeFillMd.js +1 -15
- package/icons/FillMd/DocSuccessFillMd.js +1 -15
- package/icons/FillMd/EditFillMd.js +1 -15
- package/icons/FillMd/EducationFillMd.js +1 -15
- package/icons/FillMd/ErrorFillMd.js +1 -15
- package/icons/FillMd/EyeFillMd.js +1 -15
- package/icons/FillMd/FilterFillMd.js +1 -15
- package/icons/FillMd/InfoFillMd.js +1 -15
- package/icons/FillMd/KeyFillMd.js +1 -15
- package/icons/FillMd/LikeFillMd.js +1 -15
- package/icons/FillMd/PhotoFillMd.js +1 -15
- package/icons/FillMd/PluginFillMd.js +1 -15
- package/icons/FillMd/PlusFillMd.js +1 -15
- package/icons/FillMd/ProductsFillMd.js +1 -15
- package/icons/FillMd/ProfileFillMd.js +1 -15
- package/icons/FillMd/QuestionFillMd.js +1 -15
- package/icons/FillMd/SaveFillMd.js +1 -15
- package/icons/FillMd/SendFillMd.js +1 -15
- package/icons/FillMd/SentFillMd.js +1 -15
- package/icons/FillMd/SettingsFillMd.js +1 -15
- package/icons/FillMd/StepDefaultFillMd.js +1 -15
- package/icons/FillMd/StepErrorFillMd.js +1 -15
- package/icons/FillMd/StepSuccessFillMd.js +1 -15
- package/icons/FillMd/SuccessFillMd.js +1 -15
- package/icons/FillMd/SupportFillMd.js +1 -15
- package/icons/FillMd/WarningFillMd.js +1 -15
- package/icons/FillMd/WebFillMd.js +1 -15
- package/icons/FillSm/ArrowDFillSm.js +1 -15
- package/icons/FillSm/ArrowUpFillSm.js +1 -15
- package/icons/FillSm/CircleErrorFillSm.js +1 -15
- package/icons/FillSm/ClockFillSm.js +1 -15
- package/icons/FillSm/DislikeFillSm.js +1 -15
- package/icons/FillSm/ErrorFillSm.js +1 -15
- package/icons/FillSm/InfoFillSm.js +1 -15
- package/icons/FillSm/LikeFillSm.js +1 -15
- package/icons/FillSm/LocationFillSm.js +1 -15
- package/icons/FillSm/MailFillSm.js +1 -15
- package/icons/FillSm/PauseFillSm.js +1 -15
- package/icons/FillSm/PhoneFillSm.js +1 -15
- package/icons/FillSm/PitFillSm.js +1 -15
- package/icons/FillSm/PlayFillSm.js +1 -15
- package/icons/FillSm/RectangleFillSm.js +1 -15
- package/icons/FillSm/RoundFillSm.js +1 -15
- package/icons/FillSm/SentFillSm.js +1 -15
- package/icons/FillSm/SortDownFillSm.js +1 -15
- package/icons/FillSm/SortFillSm.js +1 -15
- package/icons/FillSm/SortUpFillSm.js +1 -15
- package/icons/FillSm/StarFillSm.js +1 -15
- package/icons/FillSm/SuccessFillSm.js +1 -15
- package/icons/FillSm/UpToDateFillSm.js +1 -15
- package/icons/FillSm/WarningFillSm.js +1 -15
- package/icons/LogoFillMd/FacebookFillMd.js +1 -15
- package/icons/LogoFillMd/GoogleFillMd.js +1 -15
- package/icons/LogoFillMd/OkFillMd.js +1 -15
- package/icons/LogoFillMd/TelegramFillMd.js +1 -15
- package/icons/LogoFillMd/VkFillMd.js +1 -15
- package/icons/LogoFillMd/YoutubeFillMd.js +1 -15
- package/icons/OutlineMd/AIBotOutlineMd.js +1 -15
- package/icons/OutlineMd/AIOutlineMd.js +1 -15
- package/icons/OutlineMd/AddArrayOutlineMd.js +1 -15
- package/icons/OutlineMd/AddDocumentOutlineMd.js +1 -15
- package/icons/OutlineMd/AddOutlineMd.js +1 -15
- package/icons/OutlineMd/AddUserOutlineMd.js +1 -15
- package/icons/OutlineMd/AddWorkplaceOutlineMd.js +1 -15
- package/icons/OutlineMd/AllCheckOutlineMd.js +1 -15
- package/icons/OutlineMd/AnalyticOutlineMd.js +1 -15
- package/icons/OutlineMd/ArchiveOutlineMd.js +1 -15
- package/icons/OutlineMd/ArrayPatternOutlineMd.js +1 -15
- package/icons/OutlineMd/ArrowDwnOutlineMd.js +1 -15
- package/icons/OutlineMd/ArrowLOutlineMd.js +1 -15
- package/icons/OutlineMd/ArrowROutlineMd.js +1 -15
- package/icons/OutlineMd/ArrowUpOutlineMd.js +1 -15
- package/icons/OutlineMd/AttachmentOutlineMd.js +1 -1
- package/icons/OutlineMd/AutosaveErrorOutlineMd.js +1 -15
- package/icons/OutlineMd/AutosaveLoaderOutlineMd.js +1 -15
- package/icons/OutlineMd/AutosaveOutlineMd.js +1 -15
- package/icons/OutlineMd/BankOutlineMd.js +1 -15
- package/icons/OutlineMd/BasketOutlineMd.js +1 -15
- package/icons/OutlineMd/BellOutlineMd.js +1 -15
- package/icons/OutlineMd/BinOutlineMd.js +1 -15
- package/icons/OutlineMd/BlockMessageOutlineMd.js +1 -15
- package/icons/OutlineMd/BlockOutlineMd.js +1 -15
- package/icons/OutlineMd/BookOutlineMd.js +1 -15
- package/icons/OutlineMd/BoxOutlineMd.js +1 -15
- package/icons/OutlineMd/BoxesOutlineMd.js +1 -15
- package/icons/OutlineMd/CalendarOutlineMd.js +1 -15
- package/icons/OutlineMd/CancelRouteOutlineMd.js +1 -15
- package/icons/OutlineMd/CartOutlineMd.js +1 -15
- package/icons/OutlineMd/CaseOutlineMd.js +1 -15
- package/icons/OutlineMd/CashReceiptOutlineMd.js +1 -15
- package/icons/OutlineMd/CassOutlineMd.js +1 -15
- package/icons/OutlineMd/CertAddOutlineMd.js +1 -15
- package/icons/OutlineMd/CertGivenOutlineMd.js +1 -15
- package/icons/OutlineMd/CertOutlineMd.js +1 -15
- package/icons/OutlineMd/CheckListOutlineMd.js +1 -15
- package/icons/OutlineMd/CheckOutlineMd.js +1 -15
- package/icons/OutlineMd/ChevronDOutlineMd.js +1 -15
- package/icons/OutlineMd/ChevronLOutlineMd.js +1 -15
- package/icons/OutlineMd/ChevronROutlineMd.js +1 -15
- package/icons/OutlineMd/ChevronUpOutlineMd.js +1 -15
- package/icons/OutlineMd/ClockOutlineMd.js +1 -15
- package/icons/OutlineMd/ClockwiseOutlineMd.js +1 -15
- package/icons/OutlineMd/CompanyAddOutlineMd.js +1 -15
- package/icons/OutlineMd/CompanyOutlineMd.js +1 -15
- package/icons/OutlineMd/ContractorsOutlineMd.js +1 -15
- package/icons/OutlineMd/CopyOutlineMd.js +1 -15
- package/icons/OutlineMd/CreditCardOutlineMd.js +1 -15
- package/icons/OutlineMd/CrossOutlineMd.js +1 -15
- package/icons/OutlineMd/DelegateOutlineMd.js +1 -15
- package/icons/OutlineMd/DialogOutlineMd.js +1 -15
- package/icons/OutlineMd/DislikeOutlineMd.js +1 -15
- package/icons/OutlineMd/DivisionsOutlineMd.js +1 -15
- package/icons/OutlineMd/DocIncomingOutlineMd.js +1 -15
- package/icons/OutlineMd/DocNoSignatureOutlineMd.js +1 -15
- package/icons/OutlineMd/DocOutlineMd.js +1 -15
- package/icons/OutlineMd/DocPatternOutlineMd.js +1 -15
- package/icons/OutlineMd/DocRejectOutlineMd.js +1 -15
- package/icons/OutlineMd/DocSignedOutlineMd.js +1 -15
- package/icons/OutlineMd/DocsArrayOutlineMd.js +1 -15
- package/icons/OutlineMd/DocumentOutlineMd.js +1 -15
- package/icons/OutlineMd/DocumentsOutlineMd.js +1 -15
- package/icons/OutlineMd/DotsOutlineMd.js +1 -15
- package/icons/OutlineMd/DotsVOutlineMd.js +1 -15
- package/icons/OutlineMd/DoubleNextOutlineMd.js +1 -15
- package/icons/OutlineMd/DoublePreviousOutlineMd.js +1 -15
- package/icons/OutlineMd/DownOutlineMd.js +1 -15
- package/icons/OutlineMd/DownloadOutlineMd.js +1 -15
- package/icons/OutlineMd/DownloadVOutlineMd.js +1 -15
- package/icons/OutlineMd/DraftOutlineMd.js +1 -15
- package/icons/OutlineMd/DragOutlineMd.js +1 -15
- package/icons/OutlineMd/DuplicateOutlineMd.js +1 -15
- package/icons/OutlineMd/EditOutlineMd.js +1 -15
- package/icons/OutlineMd/ExportOutlineMd.js +1 -15
- package/icons/OutlineMd/EyeCrossedOutlineMd.js +1 -1
- package/icons/OutlineMd/EyeOutlineMd.js +1 -15
- package/icons/OutlineMd/Filter2OutlineMd.js +1 -15
- package/icons/OutlineMd/FilterOutlineMd.js +1 -15
- package/icons/OutlineMd/FolderClOutlineMd.js +1 -15
- package/icons/OutlineMd/FolderOpOutlineMd.js +1 -15
- package/icons/OutlineMd/FullSizeOutlineMd.js +1 -15
- package/icons/OutlineMd/GoToFolderOutlineMd.js +1 -1
- package/icons/OutlineMd/GroupOutlineMd.js +1 -15
- package/icons/OutlineMd/GroupsOutlineMd.js +1 -15
- package/icons/OutlineMd/HistoryOutlineMd.js +1 -15
- package/icons/OutlineMd/HomeOutlineMd.js +1 -15
- package/icons/OutlineMd/InArchiveOutlineMd.js +1 -15
- package/icons/OutlineMd/InfoOutlineMd.js +1 -15
- package/icons/OutlineMd/LightingOffOutlineMd.js +1 -15
- package/icons/OutlineMd/LightingOnOutlineMd.js +1 -15
- package/icons/OutlineMd/LikeOutlineMd.js +1 -15
- package/icons/OutlineMd/LinkOutlineMd.js +1 -15
- package/icons/OutlineMd/ListDataOutlineMd.js +1 -15
- package/icons/OutlineMd/LoaderOutlineMd.js +1 -15
- package/icons/OutlineMd/LockOutlineMd.js +1 -15
- package/icons/OutlineMd/LogisticOutlineMd.js +1 -15
- package/icons/OutlineMd/MailOutlineMd.js +1 -15
- package/icons/OutlineMd/MarkDocOutlineMd.js +1 -15
- package/icons/OutlineMd/MedListOutlineMd.js +1 -15
- package/icons/OutlineMd/MegaphoneOutlineMd.js +1 -15
- package/icons/OutlineMd/MenuOffOutlineMd.js +1 -15
- package/icons/OutlineMd/MenuOnOutlineMd.js +1 -15
- package/icons/OutlineMd/MessageOutlineMd.js +1 -1
- package/icons/OutlineMd/MinimizeOutlineMd.js +1 -15
- package/icons/OutlineMd/MinusOutlineMd.js +1 -15
- package/icons/OutlineMd/NewsOutlineMd.js +1 -15
- package/icons/OutlineMd/NextOutlineMd.js +1 -15
- package/icons/OutlineMd/NumberOutlineMd.js +1 -15
- package/icons/OutlineMd/OpenLinkOutlineMd.js +1 -15
- package/icons/OutlineMd/OutcomingDocumentOutlineMd.js +1 -15
- package/icons/OutlineMd/PageDotOutlineMd.js +1 -15
- package/icons/OutlineMd/PeopleOutlineMd.js +1 -15
- package/icons/OutlineMd/PhoneOutlineMd.js +1 -15
- package/icons/OutlineMd/PinOutlineMd.js +1 -15
- package/icons/OutlineMd/PreviousOutlineMd.js +1 -15
- package/icons/OutlineMd/PrintOutlineMd.js +1 -15
- package/icons/OutlineMd/ProfileOutlineMd.js +1 -15
- package/icons/OutlineMd/ProxyOutlineMd.js +1 -15
- package/icons/OutlineMd/QrOutlineMd.js +1 -15
- package/icons/OutlineMd/QuestionOutlineMd.js +1 -15
- package/icons/OutlineMd/QuitOutlineMd.js +1 -15
- package/icons/OutlineMd/ReestablishOutlineMd.js +1 -15
- package/icons/OutlineMd/RefreshOutlineMd.js +1 -15
- package/icons/OutlineMd/RequirementOutlineMd.js +1 -15
- package/icons/OutlineMd/RetryOutlineMd.js +1 -15
- package/icons/OutlineMd/RouteOutlineMd.js +1 -15
- package/icons/OutlineMd/SaveCheckOutlineMd.js +1 -15
- package/icons/OutlineMd/SaveOutlineMd.js +1 -15
- package/icons/OutlineMd/SearchOutlineMd.js +1 -15
- package/icons/OutlineMd/SendOutlineMd.js +1 -15
- package/icons/OutlineMd/SentMessageOutlineMd.js +1 -15
- package/icons/OutlineMd/SettingsOutlineMd.js +1 -15
- package/icons/OutlineMd/ShareOutlineMd.js +1 -15
- package/icons/OutlineMd/SortOutlineMd.js +1 -15
- package/icons/OutlineMd/Sorting2OutlineMd.js +1 -15
- package/icons/OutlineMd/SortingOutlineMd.js +1 -15
- package/icons/OutlineMd/SortingVOutlineMd.js +1 -15
- package/icons/OutlineMd/StorageOutlineMd.js +1 -15
- package/icons/OutlineMd/SupportOutlineMd.js +1 -15
- package/icons/OutlineMd/TagOutlineMd.js +1 -1
- package/icons/OutlineMd/TransferOutlineMd.js +1 -15
- package/icons/OutlineMd/TreeOutlineMd.js +1 -15
- package/icons/OutlineMd/UnGroupOutlineMd.js +1 -15
- package/icons/OutlineMd/UnlinkOutlineMd.js +1 -15
- package/icons/OutlineMd/UnlockOutlineMd.js +1 -15
- package/icons/OutlineMd/UnpinOutlineMd.js +1 -15
- package/icons/OutlineMd/UnreadOutlineMd.js +1 -15
- package/icons/OutlineMd/UpOutlineMd.js +1 -15
- package/icons/OutlineMd/UploadOutlineMd.js +1 -15
- package/icons/OutlineMd/UserArrowDownOutlineMd.js +1 -15
- package/icons/OutlineMd/UserArrowUpOutlineMd.js +1 -15
- package/icons/OutlineMd/UserCheckOutlineMd.js +1 -15
- package/icons/OutlineMd/UserCrossOutlineMd.js +1 -15
- package/icons/OutlineSm/AddOutlineSm.js +1 -15
- package/icons/OutlineSm/AddSmOutlineSm.js +1 -15
- package/icons/OutlineSm/ArrowDwnOutlineSm.js +1 -15
- package/icons/OutlineSm/ArrowLOutlineSm.js +1 -15
- package/icons/OutlineSm/ArrowROutlineSm.js +1 -15
- package/icons/OutlineSm/ArrowUpOutlineSm.js +1 -15
- package/icons/OutlineSm/BlockOutlineSm.js +1 -15
- package/icons/OutlineSm/CheckOutlineSm.js +1 -15
- package/icons/OutlineSm/ClockOutlineSm.js +1 -15
- package/icons/OutlineSm/CopyOutlineSm.js +1 -1
- package/icons/OutlineSm/CrossOutlineSm.js +1 -15
- package/icons/OutlineSm/CrossSmOutlineSm.js +1 -15
- package/icons/OutlineSm/DislikeOutlineSm.js +1 -15
- package/icons/OutlineSm/DocumentOutlineSm.js +1 -15
- package/icons/OutlineSm/DocumentsOutlineSm.js +1 -15
- package/icons/OutlineSm/DotOutlineSm.js +1 -15
- package/icons/OutlineSm/DoubleCheckOutlineSm.js +1 -15
- package/icons/OutlineSm/DownloadVOutlineSm.js +1 -15
- package/icons/OutlineSm/EditOutlineSm.js +1 -15
- package/icons/OutlineSm/InfoOutlineSm.js +1 -15
- package/icons/OutlineSm/LikeOutlineSm.js +1 -15
- package/icons/OutlineSm/LoaderOutlineSm.js +1 -15
- package/icons/OutlineSm/MessageOutlineSm.js +1 -15
- package/icons/OutlineSm/OpenLinkOutlineSm.js +1 -15
- package/icons/OutlineSm/PageOutlineSm.js +1 -15
- package/icons/OutlineSm/ProfileOutlineSm.js +1 -15
- package/icons/OutlineSm/RefreshOutlineSm.js +1 -15
- package/icons/OutlineSm/RequestOutlineSm.js +1 -15
- package/icons/OutlineSm/RouteOutlineSm.js +1 -15
- package/icons/OutlineSm/SearchOutlineSm.js +1 -15
- package/icons/OutlineSm/SortingOutlineSm.js +1 -15
- package/icons/OutlineSm/SuccessOutlineSm.js +1 -15
- package/icons/OutlineSm/TransferOutlineSm.js +1 -15
- package/node/components/Accordion/useLogic/useLogic.js +2 -2
- package/node/components/ActionCellBase/MainAction/MainAction.js +1 -15
- package/node/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +2 -13
- package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
- package/node/components/ActionGroup/MainActions/MainActions.js +5 -19
- package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +19 -19
- package/node/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -16
- package/node/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -13
- package/node/components/AddressAutocomplete/AddressAutocomplete.js +3 -14
- package/node/components/AddressAutocomplete/faker.js +7 -13
- package/node/components/Alert/Alert.js +1 -1
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -1
- package/node/components/AsyncAutocomplete/faker.js +6 -12
- package/node/components/AsyncAutocomplete/useLogic/useLogic.js +19 -17
- package/node/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
- package/node/components/Autocomplete/Autocomplete.js +22 -25
- package/node/components/Autocomplete/useLogic/useLogic.js +1 -1
- package/node/components/Avatar/Avatar.js +2 -14
- package/node/components/AvatarGroup/AvatarGroup.js +2 -13
- package/node/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +1 -2
- package/node/components/Badge/Badge.js +1 -15
- package/node/components/Banner/Banner.js +2 -13
- package/node/components/Banner/BannerActionButton/BannerActionButton.js +2 -14
- package/node/components/Banner/BannerContainer/BannerContainer.js +2 -3
- package/node/components/Banner/BannerTemplate/BannerTemplate.js +5 -5
- package/node/components/BottomDrawer/BottomDrawer.js +2 -14
- package/node/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/components/BulletList/BulletList.js +2 -13
- package/node/components/BulletListInlineItem/BulletListInlineItem.js +1 -1
- package/node/components/BulletListItem/BulletListItem.js +2 -13
- package/node/components/Button/Button.js +3 -14
- package/node/components/CheckableTag/CheckableTag.js +4 -16
- package/node/components/Checkbox/Checkbox.js +1 -1
- package/node/components/Checkbox/Icon/Icon.js +1 -15
- package/node/components/Checkbox/useLogic/useLogic.js +2 -14
- package/node/components/CheckboxField/CheckboxField.js +2 -14
- package/node/components/Chevron/Chevron.js +1 -1
- package/node/components/CodeField/CodeField.js +1 -1
- package/node/components/CodeField/hooks/useCodeState/useCodeState.js +2 -4
- package/node/components/Collapse/Collapse.js +1 -1
- package/node/components/CollapsibleTypography/CollapsibleTypography.js +7 -16
- package/node/components/ConfigProvider/ConfigProvider.js +18 -2
- package/node/components/ConfigProvider/NextFeatureFlagsContext/NextFeatureFlagsContextProvider/NextFeatureFlagsContextProvider.js +1 -15
- package/node/components/ConfirmAction/ConfirmAction.js +1 -1
- package/node/components/ConfirmDialog/ConfirmDialog.js +4 -15
- package/node/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/node/components/ContentState/ContentState.js +1 -1
- package/node/components/ContentState/useLogic/useLogic.js +2 -2
- package/node/components/CopyTypography/CopyTypography.js +2 -2
- package/node/components/CopyTypography/useLogic/useLogic.js +1 -13
- package/node/components/Counter/Counter.js +1 -15
- package/node/components/DashboardAlert/DashboardAlert.js +3 -14
- package/node/components/DashboardLayout/Header/Header.js +1 -2
- package/node/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
- package/node/components/DashboardLayout/Main/useLogic/useLogic.js +4 -7
- package/node/components/DashboardLayout/PinButton/PinButton.js +2 -13
- package/node/components/DashboardLayout/Sidebar/MenuSidebarButton/MenuSidebarButton.js +2 -13
- package/node/components/DashboardLayout/Sidebar/SidebarButton/SidebarButton.js +1 -1
- package/node/components/DashboardLayout/Sidebar/SidebarPopover/FadePopup/useLogic/useLogic.js +1 -2
- package/node/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +3 -15
- package/node/components/DashboardLayout/Sidebar/SidebarPopover/SidebarPopoverItem/useLogic/useLogic.js +1 -1
- package/node/components/DashboardSidebarProvider/DashboardSidebarProvider.js +5 -2
- package/node/components/DataGrid/Body/Body.js +5 -17
- package/node/components/DataGrid/Cell/Cell.js +1 -1
- package/node/components/DataGrid/DataGrid.js +2 -2
- package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +7 -4
- package/node/components/DataGrid/Head/Head.js +1 -1
- package/node/components/DataGrid/Head/useLogic/useLogic.js +3 -3
- package/node/components/DataGrid/HeadCell/HeadCell.js +3 -3
- package/node/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -15
- package/node/components/DataGrid/Row/NestedChildren/useLogic/useLogic.js +3 -3
- package/node/components/DataGrid/Row/Row.js +7 -21
- package/node/components/DataGrid/Row/useLogic/useLogic.js +6 -6
- package/node/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.js +6 -14
- package/node/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.js +6 -1
- package/node/components/DataGrid/faker.js +12 -15
- package/node/components/DataGrid/useLogic/useLogic.js +4 -3
- package/node/components/DataGridActionCell/MainAction/MainAction.js +1 -15
- package/node/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +2 -13
- package/node/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -1
- package/node/components/DataGridActionCell/useLogic/useLogic.js +2 -2
- package/node/components/DataGridInfinite/DataGridInfinite.js +6 -18
- package/node/components/DataGridInfinite/List/List.js +1 -15
- package/node/components/DataGridInfinite/useLogic/useLogic.js +6 -6
- package/node/components/DataGridMinimalisticPagination/DataGridMinimalisticPagination.js +2 -14
- package/node/components/DataGridPagination/DataGridPagination.js +2 -13
- package/node/components/DataGridPaginationContainer/useLogic/useLogic.js +1 -1
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/DateCalendarNextButton.js +2 -14
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/DateCalendarPrevButton.js +2 -14
- package/node/components/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.js +1 -1
- package/node/components/DatePicker/DateCalendar/DateCalendarWrapper/DateCalendarWrapper.js +1 -1
- package/node/components/DatePicker/DatePicker.js +2 -2
- package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +10 -19
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -14
- package/node/components/DatePicker/DayPicker/DayPicker.js +3 -15
- package/node/components/DatePicker/MonthPicker/MonthPicker.js +2 -18
- package/node/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.js +4 -5
- package/node/components/DatePicker/YearMonthDayPicker/YearMonthDayPicker.js +1 -1
- package/node/components/DatePicker/YearPicker/YearPicker.js +2 -19
- package/node/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.js +3 -4
- package/node/components/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.js +2 -4
- package/node/components/DatePicker/hooks/useMaskedValue/useMaskedValue.js +3 -3
- package/node/components/DatePicker/useLogic/useLogic.js +5 -5
- package/node/components/DateRangePicker/DateRangePicker.js +4 -15
- package/node/components/DateRangePicker/useLogic/useLogic.js +17 -21
- package/node/components/Description/Description.js +1 -1
- package/node/components/Description/Name/Name.js +2 -14
- package/node/components/Description/Value/Value.js +3 -14
- package/node/components/DescriptionList/DescriptionList.js +3 -15
- package/node/components/Dialog/Dialog.js +3 -15
- package/node/components/DialogActions/DialogActions.js +2 -14
- package/node/components/DialogContent/DialogContent.js +1 -1
- package/node/components/DialogContentText/DialogContentText.js +1 -1
- package/node/components/DialogTitle/DialogTitle.js +2 -14
- package/node/components/Divider/Divider.js +1 -1
- package/node/components/DropdownButton/DropdownButton.js +2 -14
- package/node/components/EmailField/EmailField.js +5 -14
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +4 -1
- package/node/components/EmailOrPhoneField/useLogic/useLogic.js +5 -16
- package/node/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/node/components/ErrorBoundary/ErrorBoundary.stubs.js +13 -20
- package/node/components/Fab/Fab.js +2 -14
- package/node/components/Fab/styles.js +6 -6
- package/node/components/Filename/Filename.js +6 -14
- package/node/components/FlowButton/FlowButton.js +2 -13
- package/node/components/FormControl/FormControl.js +1 -1
- package/node/components/FormControlLabel/FormControlLabel.js +1 -1
- package/node/components/FormHelperText/FormHelperText.js +2 -14
- package/node/components/FormLabel/FormLabel.js +1 -1
- package/node/components/GlobalStyles/GlobalStyles.js +2 -14
- package/node/components/Grid/GridComponent/GridComponent.js +2 -14
- package/node/components/GuidTypography/GuidTypography.js +5 -14
- package/node/components/HintIcon/Icon/useLogic/useLogic.js +1 -1
- package/node/components/IconButton/IconButton.js +2 -13
- package/node/components/IconDropdownButton/IconDropdownButton.js +2 -14
- package/node/components/Iframe/Iframe.js +3 -4
- package/node/components/InfiniteDataList/InfiniteDataList.js +4 -5
- package/node/components/InfiniteTreeList/InfiniteTreeList.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
- package/node/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.js +1 -2
- package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +3 -5
- package/node/components/InfiniteTreeList/useLogic/hooks/useScrollManagement/useScrollManagement.js +4 -6
- package/node/components/InfiniteTreeList/useLogic/hooks/useStickyButton/useStickyButton.js +1 -2
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +3 -3
- package/node/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.js +5 -2
- package/node/components/InfiniteTreeList/useLogic/utils/getInitialExpandedIds/getInitialExpandedIds.js +2 -3
- package/node/components/JsonViewer/JsonNode/useLogic/useLogic.js +6 -15
- package/node/components/JsonViewer/NodeValue/utils/formatValue/formatValue.js +2 -2
- package/node/components/LegacyNotification/LegacyNotification.js +16 -27
- package/node/components/LegacyNotification/NotificationContainer/NotificationContainer.js +1 -1
- package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/node/components/LegacyNotification/NotificationTemplate/constants.js +4 -4
- package/node/components/LegacyNotification/utils/notificationTemplatePropsCreator.js +5 -1
- package/node/components/Link/Link.js +2 -14
- package/node/components/List/List.js +1 -1
- package/node/components/ListItem/ListItem.js +1 -1
- package/node/components/ListItem/styles.js +6 -3
- package/node/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/components/ListItemButton/ListItemButton.js +2 -13
- package/node/components/ListItemIcon/ListItemIcon.js +1 -1
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/components/ListItemText/ListItemText.js +1 -1
- package/node/components/ListSubheader/ListSubheader.js +1 -1
- package/node/components/MaskField/MaskField.js +6 -19
- package/node/components/Menu/Menu.js +2 -14
- package/node/components/MenuItem/MenuItem.js +2 -13
- package/node/components/MenuList/MenuList.js +2 -14
- package/node/components/MenuOrganization/MenuOrganization.js +2 -2
- package/node/components/MenuOrganization/OrganizationItem/OrganizationItem.js +2 -13
- package/node/components/MenuOrganization/OrganizationList/OrganizationList.js +1 -1
- package/node/components/MenuOrganization/useLogic/useLogic.js +7 -8
- package/node/components/MinimalisticPagination/MinimalisticPagination.js +1 -1
- package/node/components/NavMenu/Item/Item.js +2 -13
- package/node/components/NavMenu/Item/ItemButton/ItemButton.js +3 -14
- package/node/components/NavMenu/Item/useLogic/useLogic.js +4 -4
- package/node/components/Notification/Notification.js +48 -32
- package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -14
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +2 -14
- package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +7 -28
- package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/node/components/Notification/NotificationTemplate/constants.js +5 -31
- package/node/components/Notification/utils/getNotificationTemplateProps/getNotificationTemplateProps.js +5 -1
- package/node/components/Notification/utils/getNotifyOptions/getNotifyOptions.js +6 -15
- package/node/components/NotificationList/ListItem/ListItem.js +2 -2
- package/node/components/NotificationList/NotificationList.js +1 -1
- package/node/components/NumberField/NumberField.js +3 -15
- package/node/components/NumberField/useLogic/useLogic.js +2 -2
- package/node/components/NumberedList/NumberedList.js +2 -13
- package/node/components/OverflowTypography/OverflowTypography.js +12 -17
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/node/components/PageLayout/PageAlert/PageAlert.js +1 -1
- package/node/components/PageLayout/PageContent/PageContent.js +1 -1
- package/node/components/PageLayout/PageContent/PageContentHeader/PageContentHeaderActions/PageContentHeaderActions.js +1 -1
- package/node/components/PageLayout/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/node/components/PageLayout/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -3
- package/node/components/PageLayout/PageHeader/PageActions/MainActions/MainActions.js +1 -1
- package/node/components/PageLayout/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +2 -14
- package/node/components/PageLayout/PageHeader/PageHeader.js +1 -1
- package/node/components/PageLayout/PageHeader/Title/Title.js +1 -1
- package/node/components/PageLayout/PageHeader/hooks/usePageTitle/usePageTitle.js +3 -5
- package/node/components/PageLayout/PageLayout.js +1 -1
- package/node/components/PageLayout/PagePinnableAside/PagePinnableAside.js +1 -13
- package/node/components/PageLayout/PagePinnableAside/useLogic/useLogic.js +2 -2
- package/node/components/Pagination/Pagination.js +2 -2
- package/node/components/Pagination/PaginationItem/PaginationItem.js +3 -17
- package/node/components/Pagination/useLogic/useLogic.js +1 -13
- package/node/components/Paper/Paper.js +2 -14
- package/node/components/PasswordField/PasswordField.js +6 -15
- package/node/components/PdfViewer/List/List.js +1 -2
- package/node/components/PdfViewer/PdfDocument/PdfDocument.js +3 -14
- package/node/components/PdfViewer/PdfDocument/useLogic/useLogic.js +4 -6
- package/node/components/PdfViewer/PdfPage/PdfPage.js +2 -13
- package/node/components/PdfViewer/PdfPage/useLogic/useLogic.js +1 -1
- package/node/components/PdfViewer/PdfViewer.js +2 -2
- package/node/components/PdfViewer/PdfViewerPagination/useLogic/useLogic.js +1 -2
- package/node/components/PdfViewer/useLogic/useLogic.js +16 -29
- package/node/components/PdfViewer/utils/getFullPageHeight/getFullPageHeight.js +1 -2
- package/node/components/PdfViewer/utils/getPageHeightList/getPageHeightList.js +3 -12
- package/node/components/PdfViewer/utils/getPageParams/getPageParams.js +3 -12
- package/node/components/Popover/Popover.js +2 -14
- package/node/components/Product/Product.js +2 -13
- package/node/components/ProductSwitcher/faker.js +2 -2
- package/node/components/ProductSwitcher/useLogic/useLogic.js +8 -17
- package/node/components/Profile/MenuList/MenuList.js +3 -14
- package/node/components/Profile/Profile.js +1 -1
- package/node/components/Radio/Icon/Icon.js +1 -15
- package/node/components/Radio/Radio.js +1 -1
- package/node/components/Radio/useLogic/useLogic.js +2 -14
- package/node/components/RadioCard/RadioCard.js +2 -14
- package/node/components/RadioCard/styles.js +1 -0
- package/node/components/RadioField/RadioField.js +2 -14
- package/node/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/node/components/RadioGroup/RadioGroup.js +5 -5
- package/node/components/RadioGroup/types.d.ts +5 -1
- package/node/components/RadioGroup/useLogic/useLogic.d.ts +2 -1
- package/node/components/RadioGroup/useLogic/useLogic.js +3 -2
- package/node/components/RadioGroupField/RadioGroupField.js +1 -1
- package/node/components/Rating/Rating.js +3 -18
- package/node/components/RedesignBanner/RedesignBanner.js +1 -1
- package/node/components/ResizingDataGrid/ResizingDataGrid.js +3 -15
- package/node/components/ResizingDataGrid/Sliders/Sliders.js +1 -13
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +10 -4
- package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +3 -15
- package/node/components/SearchField/SearchField.js +1 -1
- package/node/components/SearchField/useLogic/useLogic.js +9 -19
- package/node/components/Select/Select.js +10 -17
- package/node/components/Select/useLogic/useLogic.js +9 -9
- package/node/components/SideDialog/SideDialog.js +2 -14
- package/node/components/SideDialogActions/SideDialogActions.js +1 -1
- package/node/components/SideDialogContent/SideDialogContent.js +1 -1
- package/node/components/SideDialogHeader/SideDialogHeader.js +1 -1
- package/node/components/SideDialogTitle/SideDialogTitle.js +1 -1
- package/node/components/Skeleton/Skeleton.js +1 -15
- package/node/components/StaticCalendar/StaticCalendarButton/StaticCalendarButton.js +2 -13
- package/node/components/StaticCalendar/StaticCalendarButton/useLogic/useLogic.js +7 -4
- package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +4 -4
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.js +1 -2
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/hooks/useDragAndDropHandlers/useDragAndDropHandlers.js +4 -4
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.js +7 -4
- package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +5 -20
- package/node/components/StepSlider/StepSlider.js +4 -17
- package/node/components/Stepper/StepButton/StepButton.js +2 -13
- package/node/components/Stepper/StepLabel/StepLabel.js +2 -13
- package/node/components/Stepper/Stepper.js +2 -13
- package/node/components/StepperWizard/StepperWizard.js +2 -13
- package/node/components/StepperWizard/useLogic/useLogic.js +1 -1
- package/node/components/SvgIcon/SvgIcon.js +2 -13
- package/node/components/Switch/Switch.js +3 -15
- package/node/components/Tabs/Tab/Tab.js +2 -14
- package/node/components/Tabs/Tabs.js +2 -14
- package/node/components/Tag/Tag.js +4 -16
- package/node/components/Tag/useLogic/useLogic.js +1 -1
- package/node/components/TagBadge/TagBadge.js +2 -14
- package/node/components/TagsList/Tag/Tag.js +2 -13
- package/node/components/TagsList/TagsList.js +2 -2
- package/node/components/TagsList/useLogic/useLogic.js +5 -5
- package/node/components/TextArea/TextArea.js +2 -14
- package/node/components/TextField/TextField.js +15 -19
- package/node/components/ToggleButton/ToggleButton.js +1 -1
- package/node/components/ToggleButton/useLogic/useLogic.js +1 -13
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -13
- package/node/components/Tooltip/Tooltip.js +2 -13
- package/node/components/Tooltip/styles.js +1 -15
- package/node/components/Tree/MultipleTreeList/MultipleTreeList.js +2 -14
- package/node/components/Tree/MultipleTreeList/TreeItem/TreeItem.js +1 -1
- package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.js +3 -3
- package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
- package/node/components/Tree/TreeItem/TreeItem.js +3 -14
- package/node/components/Tree/TreeItem/useLogic/useLogic.js +2 -2
- package/node/components/Tree/TreeList/TreeItem/TreeItem.js +1 -1
- package/node/components/Tree/TreeList/TreeItem/useLogic/useLogic.js +6 -6
- package/node/components/Tree/TreeList/TreeList.js +2 -13
- package/node/components/Tree/utils/getFormatDisabledItems/getFormatDisabledItems.js +2 -2
- package/node/components/TreeAsyncAutocomplete/Input/Input.js +2 -14
- package/node/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -3
- package/node/components/TreeAsyncAutocomplete/OptionsModal/OptionsModal.js +2 -2
- package/node/components/TreeAsyncAutocomplete/OptionsModal/useLogic/useLogic.js +19 -22
- package/node/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +1 -1
- package/node/components/TreeAsyncAutocomplete/useLogic/useLogic.js +18 -18
- package/node/components/TreeAutocomplete/Input/Input.js +2 -13
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -3
- package/node/components/TreeAutocomplete/OptionsModal/OptionsModal.js +3 -14
- package/node/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
- package/node/components/TreeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
- package/node/components/TreeAutocomplete/TreeAutocomplete.js +2 -13
- package/node/components/TreeAutocomplete/useLogic/useLogic.js +3 -4
- package/node/components/TreeLikeAutocomplete/Input/Input.js +2 -13
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +6 -8
- package/node/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.js +3 -14
- package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.js +8 -5
- package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/utils/findInTree/findInTree.js +5 -2
- package/node/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +2 -13
- package/node/components/TreeLikeAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeList/TreeItem/TreeItem.js +2 -2
- package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +4 -4
- package/node/components/TreeLikeList/TreeItem/useLogic/utils/getAllChildrenId/getAllChildrenId.js +1 -1
- package/node/components/TreeLikeList/TreeLikeList.js +2 -13
- package/node/components/TreeLikeList/useLogic/useLogic.js +1 -1
- package/node/components/TreeLikeList/useLogic/utils/getChainsId/getChainsId.js +1 -1
- package/node/components/Typography/Typography.js +2 -14
- package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -2
- package/node/components/fileUploading/FileUploader/FIleList/FileList.js +1 -15
- package/node/components/fileUploading/FileUploader/FileUploader.js +1 -1
- package/node/components/fileUploading/FileUploader/faker.js +8 -14
- package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.js +1 -15
- package/node/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.js +1 -15
- package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/useLogic/useLogic.js +2 -14
- package/node/components/fileUploading/FileUploaderFile/Actions/Actions.js +2 -13
- package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +8 -5
- package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -13
- package/node/components/fileUploading/FileUploaderFile/Progress/Progress.js +1 -1
- package/node/components/fileUploading/PreviewFileUploader/FileList/FileList.js +1 -15
- package/node/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +1 -1
- package/node/components/fileUploading/PreviewFileUploader/faker.js +8 -14
- package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.js +9 -18
- package/node/components/fileUploading/PreviewFileUploaderDropZone/PreviewFileUploaderDropZone.js +1 -15
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.js +2 -3
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/FileLoading.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/Progress.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/useLogic/useLogic.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/Preview.js +3 -3
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +3 -3
- package/node/components/fileUploading/hooks/useFileUploader/useFileUploader.js +29 -23
- package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +27 -24
- package/node/components/fileUploading/hooks/useSelfFiles/useSelfFiles.js +22 -4
- package/node/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +5 -13
- package/node/components/fileUploading/hooks/useUploadFiles/useUploadFiles.js +2 -2
- package/node/components/fileUploading/restrictions/restrictFileMaxSize/restrictFileMaxSize.js +1 -1
- package/node/components/fileUploading/utils/rulePipe/rulePipe.js +1 -2
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.js +3 -4
- package/node/components/hooks/useCheckControlled/useCheckControlled.js +1 -1
- package/node/components/hooks/useClickAwayEffect/useClickAwayEffect.js +1 -1
- package/node/components/hooks/useEscapeClickEffect/useEscapeClickEffect.js +1 -1
- package/node/components/hooks/useFeatureFlags/useFeatureFlags.js +1 -1
- package/node/components/hooks/useFocusAwayEffect/useFocusAwayEffect.js +1 -1
- package/node/components/hooks/useId/useId.js +1 -1
- package/node/components/hooks/useInputPopover/useInputPopover.js +1 -1
- package/node/components/hooks/useToggle/useToggle.js +2 -2
- package/node/components/index.d.ts +1 -1
- package/node/components/index.js +4 -2
- package/node/components/personalDataSecurity/PersonalData/PersonalData.js +4 -1
- package/node/components/placeholders/Placeholder/Placeholder.js +1 -2
- package/node/components/services/SecondsCountdown/SecondsCountdown.js +3 -6
- package/node/components/theme/baseTheme/baseTheme.js +5 -2
- package/node/components/theme/baseTheme/utils/createSnapshotTheme.js +5 -2
- package/node/components/theme/baseTheme/utils/writeSnapshot.js +3 -12
- package/node/components/theme/components/MuiButton.js +3 -3
- package/node/components/theme/palette/palette.js +86 -10
- package/node/components/transitions/Slide/Slide.js +1 -1
- package/node/components/utils/array/deepMap/deepMap.js +5 -2
- package/node/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.js +19 -8
- package/node/components/utils/date/format/formatDate/formatDate.js +1 -1
- package/node/hook-form/EditableText/EditableText.js +3 -14
- package/node/hook-form/EditableText/EditingForm/EditingForm.js +3 -3
- package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +3 -3
- package/node/hook-form/Form/Form.js +3 -15
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +7 -15
- package/node/hook-form/FormAddressAutocomplete/faker.js +7 -13
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +6 -3
- package/node/hook-form/FormAsyncAutocomplete/faker.js +9 -15
- package/node/hook-form/FormAutocomplete/FormAutocomplete.js +7 -5
- package/node/hook-form/FormCheckboxField/FormCheckboxField.js +6 -15
- package/node/hook-form/FormCodeField/FormCodeField.js +3 -14
- package/node/hook-form/FormDatePicker/FormDatePicker.js +8 -17
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +6 -15
- package/node/hook-form/FormEmailField/FormEmailField.js +5 -2
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +6 -3
- package/node/hook-form/FormFileUploader/FormFileUploader.js +2 -13
- package/node/hook-form/FormFileUploader/faker.js +8 -14
- package/node/hook-form/FormMaskField/FormMaskField.js +5 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +9 -15
- package/node/hook-form/FormNumberField/FormNumberField.js +1 -1
- package/node/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -13
- package/node/hook-form/FormPreviewFileUploader/faker.js +8 -14
- package/node/hook-form/FormRadioGroup/FormRadioGroup.d.ts +1 -4
- package/node/hook-form/FormRadioGroup/FormRadioGroup.js +10 -17
- package/node/hook-form/FormSelect/FormSelect.js +6 -3
- package/node/hook-form/FormSubmitButton/FormSubmitButton.js +2 -14
- package/node/hook-form/FormTextArea/FormTextArea.js +5 -2
- package/node/hook-form/FormTextField/FormTextField.js +5 -2
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +7 -15
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +5 -13
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +5 -13
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +5 -13
- package/node/hook-form/FormWizard/FormWizard.js +7 -4
- package/node/hook-form/FormWizard/useLogic/useLogic.js +1 -1
- package/node/hook-form/formLayouts/FormPageFooterContainer/useLogic/useLogic.js +1 -1
- package/node/hook-form/formLayouts/FormPageLayout/FormPageFooter/SecondaryActions/SecondaryActions.js +4 -18
- package/node/hook-form/formLayouts/FormPageLayout/FormPageLayout.js +4 -15
- package/node/hook-form/formLayouts/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +4 -18
- package/node/hook-form/formLayouts/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/node/hook-form/formLayouts/FormPageLayoutBase/useLogic/useLogic.js +14 -20
- package/node/hook-form/formLayouts/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
- package/node/hook-form/hooks/useForm/useForm.js +8 -16
- package/node/hook-form/hooks/useFormFieldErrorProps/useFormFieldErrorProps.js +1 -1
- package/node/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +10 -2
- package/node/hook-form/hooks/useFormInputProps/useFormInputProps.js +1 -12
- package/node/hook-form/hooks/useFormWizard/useFormWizard.js +9 -24
- package/node/hook-form/react-hook-form-resolver/resolver/resolver.js +4 -14
- package/node/hook-form/react-hook-form-resolver/utils/validateFieldsNatively/validateFieldsNatively.js +2 -2
- package/node/icons/FillMd/AutosaveErrorFillMd.js +1 -15
- package/node/icons/FillMd/AutosaveFillMd.js +1 -15
- package/node/icons/FillMd/AutosaveLoaderFillMd.js +1 -15
- package/node/icons/FillMd/BellFillMd.js +1 -15
- package/node/icons/FillMd/BookmarkFillMd.js +1 -15
- package/node/icons/FillMd/CalculatorFillMd.js +1 -15
- package/node/icons/FillMd/CircleErrorFillMd.js +1 -15
- package/node/icons/FillMd/ClockFillMd.js +1 -15
- package/node/icons/FillMd/CompanyPicFillMd.js +1 -15
- package/node/icons/FillMd/CopyMailFillMd.js +1 -15
- package/node/icons/FillMd/DislikeFillMd.js +1 -15
- package/node/icons/FillMd/DocSuccessFillMd.js +1 -15
- package/node/icons/FillMd/EditFillMd.js +1 -15
- package/node/icons/FillMd/EducationFillMd.js +1 -15
- package/node/icons/FillMd/ErrorFillMd.js +1 -15
- package/node/icons/FillMd/EyeFillMd.js +1 -15
- package/node/icons/FillMd/FilterFillMd.js +1 -15
- package/node/icons/FillMd/InfoFillMd.js +1 -15
- package/node/icons/FillMd/KeyFillMd.js +1 -15
- package/node/icons/FillMd/LikeFillMd.js +1 -15
- package/node/icons/FillMd/PhotoFillMd.js +1 -15
- package/node/icons/FillMd/PluginFillMd.js +1 -15
- package/node/icons/FillMd/PlusFillMd.js +1 -15
- package/node/icons/FillMd/ProductsFillMd.js +1 -15
- package/node/icons/FillMd/ProfileFillMd.js +1 -15
- package/node/icons/FillMd/QuestionFillMd.js +1 -15
- package/node/icons/FillMd/SaveFillMd.js +1 -15
- package/node/icons/FillMd/SendFillMd.js +1 -15
- package/node/icons/FillMd/SentFillMd.js +1 -15
- package/node/icons/FillMd/SettingsFillMd.js +1 -15
- package/node/icons/FillMd/StepDefaultFillMd.js +1 -15
- package/node/icons/FillMd/StepErrorFillMd.js +1 -15
- package/node/icons/FillMd/StepSuccessFillMd.js +1 -15
- package/node/icons/FillMd/SuccessFillMd.js +1 -15
- package/node/icons/FillMd/SupportFillMd.js +1 -15
- package/node/icons/FillMd/WarningFillMd.js +1 -15
- package/node/icons/FillMd/WebFillMd.js +1 -15
- package/node/icons/FillSm/ArrowDFillSm.js +1 -15
- package/node/icons/FillSm/ArrowUpFillSm.js +1 -15
- package/node/icons/FillSm/CircleErrorFillSm.js +1 -15
- package/node/icons/FillSm/ClockFillSm.js +1 -15
- package/node/icons/FillSm/DislikeFillSm.js +1 -15
- package/node/icons/FillSm/ErrorFillSm.js +1 -15
- package/node/icons/FillSm/InfoFillSm.js +1 -15
- package/node/icons/FillSm/LikeFillSm.js +1 -15
- package/node/icons/FillSm/LocationFillSm.js +1 -15
- package/node/icons/FillSm/MailFillSm.js +1 -15
- package/node/icons/FillSm/PauseFillSm.js +1 -15
- package/node/icons/FillSm/PhoneFillSm.js +1 -15
- package/node/icons/FillSm/PitFillSm.js +1 -15
- package/node/icons/FillSm/PlayFillSm.js +1 -15
- package/node/icons/FillSm/RectangleFillSm.js +1 -15
- package/node/icons/FillSm/RoundFillSm.js +1 -15
- package/node/icons/FillSm/SentFillSm.js +1 -15
- package/node/icons/FillSm/SortDownFillSm.js +1 -15
- package/node/icons/FillSm/SortFillSm.js +1 -15
- package/node/icons/FillSm/SortUpFillSm.js +1 -15
- package/node/icons/FillSm/StarFillSm.js +1 -15
- package/node/icons/FillSm/SuccessFillSm.js +1 -15
- package/node/icons/FillSm/UpToDateFillSm.js +1 -15
- package/node/icons/FillSm/WarningFillSm.js +1 -15
- package/node/icons/LogoFillMd/FacebookFillMd.js +1 -15
- package/node/icons/LogoFillMd/GoogleFillMd.js +1 -15
- package/node/icons/LogoFillMd/OkFillMd.js +1 -15
- package/node/icons/LogoFillMd/TelegramFillMd.js +1 -15
- package/node/icons/LogoFillMd/VkFillMd.js +1 -15
- package/node/icons/LogoFillMd/YoutubeFillMd.js +1 -15
- package/node/icons/OutlineMd/AIBotOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AIOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AddArrayOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AddDocumentOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AddOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AddUserOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AddWorkplaceOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AllCheckOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AnalyticOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArchiveOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArrayPatternOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArrowDwnOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArrowLOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArrowROutlineMd.js +1 -15
- package/node/icons/OutlineMd/ArrowUpOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AttachmentOutlineMd.js +1 -1
- package/node/icons/OutlineMd/AutosaveErrorOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AutosaveLoaderOutlineMd.js +1 -15
- package/node/icons/OutlineMd/AutosaveOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BankOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BasketOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BellOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BinOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BlockMessageOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BlockOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BookOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BoxOutlineMd.js +1 -15
- package/node/icons/OutlineMd/BoxesOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CalendarOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CancelRouteOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CartOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CaseOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CashReceiptOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CassOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CertAddOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CertGivenOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CertOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CheckListOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CheckOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ChevronDOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ChevronLOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ChevronROutlineMd.js +1 -15
- package/node/icons/OutlineMd/ChevronUpOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ClockOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ClockwiseOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CompanyAddOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CompanyOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ContractorsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CopyOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CreditCardOutlineMd.js +1 -15
- package/node/icons/OutlineMd/CrossOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DelegateOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DialogOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DislikeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DivisionsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocIncomingOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocNoSignatureOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocPatternOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocRejectOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocSignedOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocsArrayOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocumentOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DocumentsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DotsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DotsVOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DoubleNextOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DoublePreviousOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DownOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DownloadOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DownloadVOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DraftOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DragOutlineMd.js +1 -15
- package/node/icons/OutlineMd/DuplicateOutlineMd.js +1 -15
- package/node/icons/OutlineMd/EditOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ExportOutlineMd.js +1 -15
- package/node/icons/OutlineMd/EyeCrossedOutlineMd.js +1 -1
- package/node/icons/OutlineMd/EyeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/Filter2OutlineMd.js +1 -15
- package/node/icons/OutlineMd/FilterOutlineMd.js +1 -15
- package/node/icons/OutlineMd/FolderClOutlineMd.js +1 -15
- package/node/icons/OutlineMd/FolderOpOutlineMd.js +1 -15
- package/node/icons/OutlineMd/FullSizeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/GoToFolderOutlineMd.js +1 -1
- package/node/icons/OutlineMd/GroupOutlineMd.js +1 -15
- package/node/icons/OutlineMd/GroupsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/HistoryOutlineMd.js +1 -15
- package/node/icons/OutlineMd/HomeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/InArchiveOutlineMd.js +1 -15
- package/node/icons/OutlineMd/InfoOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LightingOffOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LightingOnOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LikeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LinkOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ListDataOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LoaderOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LockOutlineMd.js +1 -15
- package/node/icons/OutlineMd/LogisticOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MailOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MarkDocOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MedListOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MegaphoneOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MenuOffOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MenuOnOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MessageOutlineMd.js +1 -1
- package/node/icons/OutlineMd/MinimizeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/MinusOutlineMd.js +1 -15
- package/node/icons/OutlineMd/NewsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/NextOutlineMd.js +1 -15
- package/node/icons/OutlineMd/NumberOutlineMd.js +1 -15
- package/node/icons/OutlineMd/OpenLinkOutlineMd.js +1 -15
- package/node/icons/OutlineMd/OutcomingDocumentOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PageDotOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PeopleOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PhoneOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PinOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PreviousOutlineMd.js +1 -15
- package/node/icons/OutlineMd/PrintOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ProfileOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ProxyOutlineMd.js +1 -15
- package/node/icons/OutlineMd/QrOutlineMd.js +1 -15
- package/node/icons/OutlineMd/QuestionOutlineMd.js +1 -15
- package/node/icons/OutlineMd/QuitOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ReestablishOutlineMd.js +1 -15
- package/node/icons/OutlineMd/RefreshOutlineMd.js +1 -15
- package/node/icons/OutlineMd/RequirementOutlineMd.js +1 -15
- package/node/icons/OutlineMd/RetryOutlineMd.js +1 -15
- package/node/icons/OutlineMd/RouteOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SaveCheckOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SaveOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SearchOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SendOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SentMessageOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SettingsOutlineMd.js +1 -15
- package/node/icons/OutlineMd/ShareOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SortOutlineMd.js +1 -15
- package/node/icons/OutlineMd/Sorting2OutlineMd.js +1 -15
- package/node/icons/OutlineMd/SortingOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SortingVOutlineMd.js +1 -15
- package/node/icons/OutlineMd/StorageOutlineMd.js +1 -15
- package/node/icons/OutlineMd/SupportOutlineMd.js +1 -15
- package/node/icons/OutlineMd/TagOutlineMd.js +1 -1
- package/node/icons/OutlineMd/TransferOutlineMd.js +1 -15
- package/node/icons/OutlineMd/TreeOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UnGroupOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UnlinkOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UnlockOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UnpinOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UnreadOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UpOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UploadOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UserArrowDownOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UserArrowUpOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UserCheckOutlineMd.js +1 -15
- package/node/icons/OutlineMd/UserCrossOutlineMd.js +1 -15
- package/node/icons/OutlineSm/AddOutlineSm.js +1 -15
- package/node/icons/OutlineSm/AddSmOutlineSm.js +1 -15
- package/node/icons/OutlineSm/ArrowDwnOutlineSm.js +1 -15
- package/node/icons/OutlineSm/ArrowLOutlineSm.js +1 -15
- package/node/icons/OutlineSm/ArrowROutlineSm.js +1 -15
- package/node/icons/OutlineSm/ArrowUpOutlineSm.js +1 -15
- package/node/icons/OutlineSm/BlockOutlineSm.js +1 -15
- package/node/icons/OutlineSm/CheckOutlineSm.js +1 -15
- package/node/icons/OutlineSm/ClockOutlineSm.js +1 -15
- package/node/icons/OutlineSm/CopyOutlineSm.js +1 -1
- package/node/icons/OutlineSm/CrossOutlineSm.js +1 -15
- package/node/icons/OutlineSm/CrossSmOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DislikeOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DocumentOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DocumentsOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DotOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DoubleCheckOutlineSm.js +1 -15
- package/node/icons/OutlineSm/DownloadVOutlineSm.js +1 -15
- package/node/icons/OutlineSm/EditOutlineSm.js +1 -15
- package/node/icons/OutlineSm/InfoOutlineSm.js +1 -15
- package/node/icons/OutlineSm/LikeOutlineSm.js +1 -15
- package/node/icons/OutlineSm/LoaderOutlineSm.js +1 -15
- package/node/icons/OutlineSm/MessageOutlineSm.js +1 -15
- package/node/icons/OutlineSm/OpenLinkOutlineSm.js +1 -15
- package/node/icons/OutlineSm/PageOutlineSm.js +1 -15
- package/node/icons/OutlineSm/ProfileOutlineSm.js +1 -15
- package/node/icons/OutlineSm/RefreshOutlineSm.js +1 -15
- package/node/icons/OutlineSm/RequestOutlineSm.js +1 -15
- package/node/icons/OutlineSm/RouteOutlineSm.js +1 -15
- package/node/icons/OutlineSm/SearchOutlineSm.js +1 -15
- package/node/icons/OutlineSm/SortingOutlineSm.js +1 -15
- package/node/icons/OutlineSm/SuccessOutlineSm.js +1 -15
- package/node/icons/OutlineSm/TransferOutlineSm.js +1 -15
- 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.GlobalStyles = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
@@ -17,10 +6,9 @@ const react_1 = require("@emotion/react");
|
|
|
17
6
|
const material_1 = require("@mui/material");
|
|
18
7
|
const constants_1 = require("../constants");
|
|
19
8
|
const theme_1 = require("../theme");
|
|
20
|
-
const GlobalStyles = (
|
|
21
|
-
var { children, withScopedStyles = false } = _a, props = __rest(_a, ["children", "withScopedStyles"]);
|
|
9
|
+
const GlobalStyles = ({ children, withScopedStyles = false, ...props }) => {
|
|
22
10
|
const theme = (0, theme_1.useTheme)();
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [withScopedStyles ? ((0, jsx_runtime_1.jsx)(material_1.ScopedCssBaseline,
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [withScopedStyles ? ((0, jsx_runtime_1.jsx)(material_1.ScopedCssBaseline, { ...props, children: children })) : ((0, jsx_runtime_1.jsx)(material_1.CssBaseline, { ...props, children: children })), (0, jsx_runtime_1.jsx)(react_1.Global, { styles: {
|
|
24
12
|
body: {
|
|
25
13
|
overflow: 'hidden',
|
|
26
14
|
height: '100vh',
|
|
@@ -1,20 +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.GridComponent = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
5
|
const react_1 = require("react");
|
|
17
|
-
exports.GridComponent = (0, react_1.forwardRef)((
|
|
18
|
-
|
|
19
|
-
return (0, jsx_runtime_1.jsx)(Component, Object.assign({ ref: ref }, props));
|
|
6
|
+
exports.GridComponent = (0, react_1.forwardRef)(({ component: Component = 'div', ...props }, ref) => {
|
|
7
|
+
return (0, jsx_runtime_1.jsx)(Component, { ref: ref, ...props });
|
|
20
8
|
});
|
|
@@ -1,26 +1,17 @@
|
|
|
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.GuidTypography = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
5
|
const OverflowTypography_1 = require("../OverflowTypography");
|
|
17
6
|
const personalDataSecurity_1 = require("../personalDataSecurity");
|
|
18
7
|
const utils_1 = require("../utils");
|
|
19
|
-
const GuidTypography = (
|
|
20
|
-
var { className, isHidePersonalData, tooltipProps } = _a, props = __rest(_a, ["className", "isHidePersonalData", "tooltipProps"]);
|
|
8
|
+
const GuidTypography = ({ className, isHidePersonalData, tooltipProps, ...props }) => {
|
|
21
9
|
const hidePersonalDataClassname = (0, personalDataSecurity_1.useHidePersonalData)({
|
|
22
10
|
isEnabled: isHidePersonalData,
|
|
23
11
|
});
|
|
24
|
-
return ((0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography,
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { visibleLastSymbolsCount: 4, className: (0, utils_1.classNames)(className, hidePersonalDataClassname), tooltipProps: {
|
|
13
|
+
...tooltipProps,
|
|
14
|
+
className: (0, utils_1.classNames)(tooltipProps?.className, hidePersonalDataClassname),
|
|
15
|
+
}, ...props }));
|
|
25
16
|
};
|
|
26
17
|
exports.GuidTypography = GuidTypography;
|
|
@@ -4,7 +4,7 @@ exports.useLogic = void 0;
|
|
|
4
4
|
const constants_1 = require("../../constants");
|
|
5
5
|
const hooks_1 = require("./hooks");
|
|
6
6
|
const useLogic = ({ iconOption, variant }) => {
|
|
7
|
-
const iconColor = (0, hooks_1.useIconColor)({ color: iconOption
|
|
7
|
+
const iconColor = (0, hooks_1.useIconColor)({ color: iconOption?.color });
|
|
8
8
|
const { variant: iconOptionVariant = 'fill' } = iconOption || {};
|
|
9
9
|
const getIcon = () => {
|
|
10
10
|
const icon = constants_1.ICONS[variant][iconOptionVariant];
|
|
@@ -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.IconButton = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
@@ -17,7 +6,7 @@ const Button_1 = require("../Button");
|
|
|
17
6
|
const forwardRefWithGeneric_1 = require("../forwardRefWithGeneric");
|
|
18
7
|
const styles_1 = require("./styles");
|
|
19
8
|
const UnwrappedIconButton = (props, ref) => {
|
|
20
|
-
const { variant = Button_1.ButtonVariants.Contained, children
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.StyledButton,
|
|
9
|
+
const { variant = Button_1.ButtonVariants.Contained, children, ...restProps } = props;
|
|
10
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.StyledButton, { variant: variant, ...restProps, ref: ref, children: children }));
|
|
22
11
|
};
|
|
23
12
|
exports.IconButton = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(UnwrappedIconButton);
|
|
@@ -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.IconDropdownButton = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
@@ -18,8 +7,7 @@ const react_1 = require("react");
|
|
|
18
7
|
const hooks_1 = require("../hooks");
|
|
19
8
|
const IconButton_1 = require("../IconButton");
|
|
20
9
|
const Menu_1 = require("../Menu");
|
|
21
|
-
exports.IconDropdownButton = (0, react_1.forwardRef)((
|
|
22
|
-
var { children, icon, title } = _a, props = __rest(_a, ["children", "icon", "title"]);
|
|
10
|
+
exports.IconDropdownButton = (0, react_1.forwardRef)(({ children, icon, title, ...props }, ref) => {
|
|
23
11
|
const { open, anchorRef, handleOpenMenu, handleCloseMenu } = (0, hooks_1.useMenu)(ref);
|
|
24
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.ClickAwayListener, { onClickAway: handleCloseMenu, mouseEvent: "onMouseUp", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton,
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.ClickAwayListener, { onClickAway: handleCloseMenu, mouseEvent: "onMouseUp", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { ...props, ref: anchorRef, onClick: handleOpenMenu, selected: open, title: title, children: icon }) }), (0, jsx_runtime_1.jsx)(Menu_1.Menu, { title: title, open: open, anchorEl: anchorRef.current, children: children })] }));
|
|
25
13
|
});
|
|
@@ -15,14 +15,13 @@ exports.Iframe = (0, react_1.forwardRef)(({ src, loadingContent, onLoading, onEr
|
|
|
15
15
|
setIsLoading(true);
|
|
16
16
|
};
|
|
17
17
|
const handleErrorIframe = (event) => {
|
|
18
|
-
|
|
19
|
-
setErrorMessage((_a = event.nativeEvent) === null || _a === void 0 ? void 0 : _a.message);
|
|
18
|
+
setErrorMessage(event.nativeEvent?.message);
|
|
20
19
|
setIsError(true);
|
|
21
|
-
onError
|
|
20
|
+
onError?.(event);
|
|
22
21
|
};
|
|
23
22
|
const handleEndLoadingIframe = (event) => {
|
|
24
23
|
setIsLoading(false);
|
|
25
|
-
onLoading
|
|
24
|
+
onLoading?.(event);
|
|
26
25
|
};
|
|
27
26
|
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { isLoading: isLoading, isError: isError, loadingContent: loadingContent, errorState: {
|
|
28
27
|
errorList: [errorMessage || ''],
|
|
@@ -27,15 +27,14 @@ const InfiniteDataList = ({ data, keyId, className, itemContent, noDataPlacehold
|
|
|
27
27
|
}
|
|
28
28
|
}, [hideStickyButton, showStickyButton]);
|
|
29
29
|
const handleScrollToTop = (0, react_1.useCallback)(() => {
|
|
30
|
-
var _a, _b;
|
|
31
30
|
if (header) {
|
|
32
|
-
|
|
31
|
+
virtuoso.current?.scrollTo({
|
|
33
32
|
top: 0,
|
|
34
33
|
behavior: 'smooth',
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
36
|
else {
|
|
38
|
-
|
|
37
|
+
virtuoso.current?.scrollToIndex({
|
|
39
38
|
index: 0,
|
|
40
39
|
align: 'start',
|
|
41
40
|
behavior: 'smooth',
|
|
@@ -47,7 +46,7 @@ const InfiniteDataList = ({ data, keyId, className, itemContent, noDataPlacehold
|
|
|
47
46
|
onEndReached();
|
|
48
47
|
}
|
|
49
48
|
}, [isEndReached, onEndReached]);
|
|
50
|
-
const isDataExist = Boolean(data
|
|
49
|
+
const isDataExist = Boolean(data?.length);
|
|
51
50
|
if (!isDataExist && !isLoading && !isError) {
|
|
52
51
|
// biome-ignore lint/complexity/noUselessFragments: Фрагмент необходим по типизации
|
|
53
52
|
return noDataPlaceholder ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: noDataPlaceholder }) : (0, jsx_runtime_1.jsx)(NoData_1.NoData, {});
|
|
@@ -57,7 +56,7 @@ const InfiniteDataList = ({ data, keyId, className, itemContent, noDataPlacehold
|
|
|
57
56
|
errorList: [errorMsg || ''],
|
|
58
57
|
imgSrc: imagesMap.defaultErrorImgSrc,
|
|
59
58
|
onRetry,
|
|
60
|
-
}, children: [(0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { className: className, style: { height: '100%' }, data: data, ref: virtuoso, overscan: constants_1.OVERSCAN_COUNT, endReached: handleEndReach, rangeChanged: handleRangeChanged, itemContent: (index, item) => ((0, jsx_runtime_1.jsx)(styles_1.Item, { children: itemContent
|
|
59
|
+
}, children: [(0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { className: className, style: { height: '100%' }, data: data, ref: virtuoso, overscan: constants_1.OVERSCAN_COUNT, endReached: handleEndReach, rangeChanged: handleRangeChanged, itemContent: (index, item) => ((0, jsx_runtime_1.jsx)(styles_1.Item, { children: itemContent?.(item, {
|
|
61
60
|
index,
|
|
62
61
|
className: constants_1.infiniteDataListClassnames.item,
|
|
63
62
|
}) }, item[keyId])), components: {
|
|
@@ -18,7 +18,7 @@ const useLogic_1 = require("./useLogic");
|
|
|
18
18
|
const InfiniteTreeList = (props) => {
|
|
19
19
|
const { flatList, onToggle, contentStateProps, scrollParent, virtuosoProps, footerProps, onTopButtonProps, endOfScrollMsg, renderItem, items, itemSkeleton, onRetry, onLoadMore, noDataImgSrc, recentlyExpandedIds, } = (0, useLogic_1.useLogic)(props);
|
|
20
20
|
const renderItemContent = (_index, item) => ((0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.TreeListItemContextProvider, { item: item, onToggle: onToggle, children: (0, jsx_runtime_1.jsx)(TreeItem_1.TreeItem, { item: item, renderItem: renderItem, recentlyExpandedIds: recentlyExpandedIds }) }));
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)(InfiniteTreeListContext_1.InfiniteTreeListContextProvider, { itemSkeleton: itemSkeleton, children: (0, jsx_runtime_1.jsx)(ContentState_1.ContentState,
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(InfiniteTreeListContext_1.InfiniteTreeListContextProvider, { itemSkeleton: itemSkeleton, children: (0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { ...contentStateProps, children: items.length && scrollParent ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { ...virtuosoProps, data: flatList, customScrollParent: scrollParent, endReached: onLoadMore, itemContent: renderItemContent, computeItemKey: (_, item) => item.id, components: {
|
|
22
22
|
Footer: () => {
|
|
23
23
|
const { isLoading, isError, isEndReached } = footerProps;
|
|
24
24
|
if (!isLoading && !isError && !isEndReached) {
|
|
@@ -26,6 +26,6 @@ const InfiniteTreeList = (props) => {
|
|
|
26
26
|
}
|
|
27
27
|
return ((0, jsx_runtime_1.jsxs)(styles_1.Footer, { children: [isLoading && (0, jsx_runtime_1.jsx)(Loader_1.Loader, {}), isError && (0, jsx_runtime_1.jsx)(ErrorMessage_1.ErrorMessage, { onRetry: onRetry }), isEndReached && ((0, jsx_runtime_1.jsx)(EndData_1.EndData, { endOfScrollMsg: endOfScrollMsg }))] }));
|
|
28
28
|
},
|
|
29
|
-
}, overscan: constants_1.OVERSCAN })
|
|
29
|
+
}, overscan: constants_1.OVERSCAN }), (0, jsx_runtime_1.jsx)(OnTopButton_1.OnTopButton, { ...onTopButtonProps })] })) : ((0, jsx_runtime_1.jsx)(NoDataPlaceholder_1.NoDataPlaceholder, { noDataImgSrc: noDataImgSrc })) }) }));
|
|
30
30
|
};
|
|
31
31
|
exports.InfiniteTreeList = InfiniteTreeList;
|
|
@@ -14,7 +14,7 @@ const useLogic = ({ actions }) => {
|
|
|
14
14
|
if (blockingAction) {
|
|
15
15
|
// Добавляем id элемента в Set disabled элементов
|
|
16
16
|
setDisabled(item.id, true);
|
|
17
|
-
setDisabledReason(blockingAction
|
|
17
|
+
setDisabledReason(blockingAction?.loadingNote);
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
20
|
// Удаляем id элемента из Set disabled элементов
|
|
@@ -22,7 +22,7 @@ const useLogic = ({ actions }) => {
|
|
|
22
22
|
setDisabledReason('');
|
|
23
23
|
}, [blockingAction, item.id]);
|
|
24
24
|
const handleActionClick = (0, react_1.useCallback)((onClick) => () => {
|
|
25
|
-
onClick
|
|
25
|
+
onClick?.(item);
|
|
26
26
|
}, [item]);
|
|
27
27
|
const handleWrapperClick = (event) => {
|
|
28
28
|
event.stopPropagation();
|
|
@@ -13,6 +13,6 @@ const InfiniteTreeListItem = (props) => {
|
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { isLoading: isLoading, loadingContent: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { "$isLoading": true, children: itemSkeleton }), isError: isError, errorState: {
|
|
14
14
|
onRetry,
|
|
15
15
|
errorList: [errorMsg || ''],
|
|
16
|
-
}, children: (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip,
|
|
16
|
+
}, children: (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { ...tooltipProps, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { onClick: handleClick, className: className, "$isDisabled": isDisabled || isDisabledByActions, "$isLoading": isLoading, "$hasNested": item.meta.hasNested, inert: isDisabled || isDisabledByActions ? '' : undefined, children: [item.meta.hasNested && (0, jsx_runtime_1.jsx)(Chevron_1.Chevron, { isActive: isChevronActive }), children, actions && (0, jsx_runtime_1.jsx)(styles_1.ActionsWrapper, { children: actions })] }, `infinite-tree-list-item-${item.id}`) }) }));
|
|
17
17
|
};
|
|
18
18
|
exports.InfiniteTreeListItem = InfiniteTreeListItem;
|
|
@@ -9,6 +9,6 @@ const constants_1 = require("./constants");
|
|
|
9
9
|
const NoDataPlaceholder = ({ noDataImgSrc }) => {
|
|
10
10
|
const { imagesMap } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
|
|
11
11
|
const { noDataImgSrc: configProviderNoDataImgSrc } = imagesMap;
|
|
12
|
-
return ((0, jsx_runtime_1.jsx)(placeholders_1.Placeholder, { title: constants_1.NO_DATA_TEXT, imgSrc: noDataImgSrc
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(placeholders_1.Placeholder, { title: constants_1.NO_DATA_TEXT, imgSrc: noDataImgSrc ?? configProviderNoDataImgSrc, size: "medium" }));
|
|
13
13
|
};
|
|
14
14
|
exports.NoDataPlaceholder = NoDataPlaceholder;
|
|
@@ -5,8 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_dom_1 = require("react-dom");
|
|
6
6
|
const ScrollToTopButton_1 = require("../../ScrollToTopButton");
|
|
7
7
|
const OnTopButton = ({ isActive, scrollRef, handleScrollToTop, }) => {
|
|
8
|
-
|
|
9
|
-
const parentElement = (_a = scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
8
|
+
const parentElement = scrollRef?.current?.parentElement;
|
|
10
9
|
if (isActive && parentElement) {
|
|
11
10
|
return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(ScrollToTopButton_1.ScrollToTopButton, { onClick: handleScrollToTop }), parentElement);
|
|
12
11
|
}
|
|
@@ -5,9 +5,8 @@ const react_1 = require("react");
|
|
|
5
5
|
const constants_1 = require("../../constants");
|
|
6
6
|
const useLogic = ({ item, renderItem, recentlyExpandedIds, }) => {
|
|
7
7
|
const deleteRecentlyExpandedId = () => {
|
|
8
|
-
var _a;
|
|
9
8
|
item.meta.parentId &&
|
|
10
|
-
|
|
9
|
+
recentlyExpandedIds.current?.delete(item.meta.parentId);
|
|
11
10
|
};
|
|
12
11
|
(0, react_1.useEffect)(() => {
|
|
13
12
|
return () => {
|
|
@@ -18,9 +17,8 @@ const useLogic = ({ item, renderItem, recentlyExpandedIds, }) => {
|
|
|
18
17
|
deleteRecentlyExpandedId();
|
|
19
18
|
};
|
|
20
19
|
const classname = (0, react_1.useMemo)(() => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
((_a = recentlyExpandedIds.current) === null || _a === void 0 ? void 0 : _a.has(item === null || item === void 0 ? void 0 : item.meta.parentId))) {
|
|
20
|
+
if (item?.meta.parentId &&
|
|
21
|
+
recentlyExpandedIds.current?.has(item?.meta.parentId)) {
|
|
24
22
|
return constants_1.infiniteTreeListClassnames.addAnimation;
|
|
25
23
|
}
|
|
26
24
|
return '';
|
package/node/components/InfiniteTreeList/useLogic/hooks/useScrollManagement/useScrollManagement.js
CHANGED
|
@@ -10,19 +10,17 @@ const useScrollManagement = ({ scrollRef, isEndReached, onLoadMore, }) => {
|
|
|
10
10
|
const [scrollParent, setScrollParent] = (0, react_1.useState)(null);
|
|
11
11
|
const [hasVerticalScroll, setHasVerticalScroll] = (0, react_1.useState)(false);
|
|
12
12
|
(0, react_1.useEffect)(() => {
|
|
13
|
-
|
|
14
|
-
if (scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current) {
|
|
13
|
+
if (scrollRef?.current) {
|
|
15
14
|
setScrollParent(scrollRef.current);
|
|
16
15
|
}
|
|
17
|
-
if (
|
|
16
|
+
if (scrollRef?.current?.parentElement) {
|
|
18
17
|
scrollRef.current.parentElement.style.position = 'relative';
|
|
19
18
|
}
|
|
20
19
|
}, [scrollRef]);
|
|
21
20
|
const recalculateVerticalScroll = () => {
|
|
22
|
-
var _a;
|
|
23
21
|
const list = document.getElementById(constants_1.VIRTUOSO_CONTAINER_ID);
|
|
24
|
-
if (
|
|
25
|
-
setHasVerticalScroll(
|
|
22
|
+
if (scrollRef?.current && list) {
|
|
23
|
+
setHasVerticalScroll(list?.clientHeight > scrollRef.current?.clientHeight);
|
|
26
24
|
}
|
|
27
25
|
};
|
|
28
26
|
const handleEndReach = () => {
|
|
@@ -16,9 +16,8 @@ const useStickyButton = (scrollRef) => {
|
|
|
16
16
|
}
|
|
17
17
|
}, [showStickyButton, hideStickyButton]);
|
|
18
18
|
const handleScrollToTop = () => {
|
|
19
|
-
var _a;
|
|
20
19
|
scrollRef.current.style.scrollBehavior = 'auto';
|
|
21
|
-
|
|
20
|
+
virtuoso.current?.scrollIntoView({ index: 0, behavior: 'auto' });
|
|
22
21
|
};
|
|
23
22
|
return {
|
|
24
23
|
virtuoso,
|
|
@@ -18,7 +18,7 @@ const useLogic = ({ initialExpandedLevel, items, onRetry, errorMsg, isError, isL
|
|
|
18
18
|
// Добавляет classname для анимации закрытия элемента
|
|
19
19
|
const startRemoveAnimation = (nodeId) => {
|
|
20
20
|
const treeItem = document.getElementById(nodeId);
|
|
21
|
-
treeItem
|
|
21
|
+
treeItem?.classList.add(constants_1.infiniteTreeListClassnames.removeAnimation);
|
|
22
22
|
};
|
|
23
23
|
(0, react_1.useEffect)(() => {
|
|
24
24
|
const next = (0, utils_1.getInitialExpandedIds)(internalExpanded, items, initialExpandedLevel);
|
|
@@ -45,7 +45,7 @@ const useLogic = ({ initialExpandedLevel, items, onRetry, errorMsg, isError, isL
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
const contentStateProps = (0, react_1.useMemo)(() => {
|
|
48
|
-
const isNoData = !
|
|
48
|
+
const isNoData = !items?.length;
|
|
49
49
|
return {
|
|
50
50
|
// Проверка на текущие элементы списка необходима для рендера loading состояния при подгрузки данных
|
|
51
51
|
// вместо общего LoadingPlaceholder на всю страницу
|
|
@@ -55,7 +55,7 @@ const useLogic = ({ initialExpandedLevel, items, onRetry, errorMsg, isError, isL
|
|
|
55
55
|
errorState: {
|
|
56
56
|
imgAlt: 'Что-то пошло не так',
|
|
57
57
|
errorList: [errorMsg || ''],
|
|
58
|
-
imgSrc: errorImgSrc
|
|
58
|
+
imgSrc: errorImgSrc ?? imagesMap.defaultErrorImgSrc,
|
|
59
59
|
onRetry,
|
|
60
60
|
},
|
|
61
61
|
};
|
|
@@ -10,7 +10,9 @@ const flattenTree = (items, expandedIds, parentPath = [], level = 0, parentId) =
|
|
|
10
10
|
const path = [...parentPath, item.id];
|
|
11
11
|
const isExpanded = expandedIds.has(item.id);
|
|
12
12
|
// Создаем flattened item с правильной типизацией
|
|
13
|
-
const flattenedItem =
|
|
13
|
+
const flattenedItem = {
|
|
14
|
+
...item,
|
|
15
|
+
meta: {
|
|
14
16
|
hasNested: Boolean(item.children),
|
|
15
17
|
level,
|
|
16
18
|
path,
|
|
@@ -18,7 +20,8 @@ const flattenTree = (items, expandedIds, parentPath = [], level = 0, parentId) =
|
|
|
18
20
|
parentId,
|
|
19
21
|
siblingIndex: index,
|
|
20
22
|
nodeId: `infinite-tree-item-${item.id}`,
|
|
21
|
-
}
|
|
23
|
+
},
|
|
24
|
+
};
|
|
22
25
|
result.push(flattenedItem);
|
|
23
26
|
// Рекурсивно обрабатываем детей с сохранением типизации
|
|
24
27
|
if (isExpanded && item.children && item.children.length > 0) {
|
|
@@ -12,13 +12,12 @@ const getInitialExpandedIds = (prev, items, initialExpandedLevel, currentLevel =
|
|
|
12
12
|
}
|
|
13
13
|
const shouldExpand = currentLevel < initialExpandedLevel;
|
|
14
14
|
items.forEach((item) => {
|
|
15
|
-
var _a;
|
|
16
15
|
if (shouldExpand && item.children) {
|
|
17
|
-
if (!
|
|
16
|
+
if (!prev?.has(item.id)) {
|
|
18
17
|
expandedIds.add(item.id);
|
|
19
18
|
}
|
|
20
19
|
// Рекурсивно обрабатываем существующих детей
|
|
21
|
-
if (
|
|
20
|
+
if (item.children?.length) {
|
|
22
21
|
const childExpandedIds = (0, exports.getInitialExpandedIds)(prev, item.children, initialExpandedLevel, currentLevel + 1);
|
|
23
22
|
childExpandedIds.forEach((id) => expandedIds.add(id));
|
|
24
23
|
}
|
|
@@ -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 theme_1 = require("../../../theme");
|
|
16
5
|
const utils_1 = require("../utils");
|
|
17
|
-
const useLogic = (
|
|
18
|
-
var { value, keyPath, checkExpanded, toggleExpanded } = _a, props = __rest(_a, ["value", "keyPath", "checkExpanded", "toggleExpanded"]);
|
|
6
|
+
const useLogic = ({ value, keyPath, checkExpanded, toggleExpanded, ...props }) => {
|
|
19
7
|
const theme = (0, theme_1.useTheme)();
|
|
20
8
|
const { type, icon, color } = (0, utils_1.getTypeInfo)(value, theme);
|
|
21
9
|
const isExpandable = type === 'object' || type === 'array';
|
|
@@ -28,7 +16,8 @@ const useLogic = (_a) => {
|
|
|
28
16
|
toggleExpanded(keyPath);
|
|
29
17
|
}
|
|
30
18
|
};
|
|
31
|
-
return
|
|
19
|
+
return {
|
|
20
|
+
icon,
|
|
32
21
|
type,
|
|
33
22
|
color,
|
|
34
23
|
isExpandable,
|
|
@@ -37,6 +26,8 @@ const useLogic = (_a) => {
|
|
|
37
26
|
handleToggle,
|
|
38
27
|
toggleExpanded,
|
|
39
28
|
checkExpanded,
|
|
40
|
-
getNestedKeyPath
|
|
29
|
+
getNestedKeyPath,
|
|
30
|
+
...props,
|
|
31
|
+
};
|
|
41
32
|
};
|
|
42
33
|
exports.useLogic = useLogic;
|
|
@@ -29,10 +29,10 @@ const formatValue = (value, type) => {
|
|
|
29
29
|
second: 'numeric',
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
catch
|
|
32
|
+
catch {
|
|
33
33
|
return `${value}`;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
return
|
|
36
|
+
return value?.toString() || '';
|
|
37
37
|
};
|
|
38
38
|
exports.formatValue = formatValue;
|
|
@@ -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.notify = void 0;
|
|
15
4
|
const react_toastify_1 = require("react-toastify");
|
|
@@ -17,22 +6,22 @@ const constants_1 = require("./constants");
|
|
|
17
6
|
const constants_2 = require("./NotificationTemplate/constants");
|
|
18
7
|
const utils_1 = require("./utils");
|
|
19
8
|
exports.notify = {
|
|
20
|
-
success: (title,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
info: (title,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
warning: (title,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
error: (title,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
9
|
+
success: (title, { icon, ...options } = {}) => (0, react_toastify_1.toast)(({ toastProps }) => constants_2.NOTIFICATION_VARIANT.success({ ...options, icon, title }, toastProps), {
|
|
10
|
+
className: (0, utils_1.getClassNameModifierByVariant)(constants_1.NotificationVariantTypes.Success, options.hideProgressBar),
|
|
11
|
+
...options,
|
|
12
|
+
}),
|
|
13
|
+
info: (title, { icon, ...options } = {}) => (0, react_toastify_1.toast)(({ toastProps }) => constants_2.NOTIFICATION_VARIANT.info({ ...options, icon, title }, toastProps), {
|
|
14
|
+
className: (0, utils_1.getClassNameModifierByVariant)(constants_1.NotificationVariantTypes.Info, options.hideProgressBar),
|
|
15
|
+
...options,
|
|
16
|
+
}),
|
|
17
|
+
warning: (title, { icon, ...options } = {}) => (0, react_toastify_1.toast)(({ toastProps }) => constants_2.NOTIFICATION_VARIANT.warning({ ...options, icon, title }, toastProps), {
|
|
18
|
+
className: (0, utils_1.getClassNameModifierByVariant)(constants_1.NotificationVariantTypes.Warning, options.hideProgressBar),
|
|
19
|
+
...options,
|
|
20
|
+
}),
|
|
21
|
+
error: (title, { icon, ...options } = {}) => (0, react_toastify_1.toast)(({ toastProps }) => constants_2.NOTIFICATION_VARIANT.error({ ...options, icon, title }, toastProps), {
|
|
22
|
+
className: (0, utils_1.getClassNameModifierByVariant)(constants_1.NotificationVariantTypes.Error, options.hideProgressBar),
|
|
23
|
+
...options,
|
|
24
|
+
}),
|
|
36
25
|
custom: react_toastify_1.toast,
|
|
37
26
|
dismiss: react_toastify_1.toast.dismiss,
|
|
38
27
|
update: react_toastify_1.toast.update,
|
|
@@ -8,5 +8,5 @@ const styles_1 = require("./styles");
|
|
|
8
8
|
if (typeof window !== 'undefined') {
|
|
9
9
|
(0, inject_style_1.injectStyle)();
|
|
10
10
|
}
|
|
11
|
-
const NotificationContainer = (props) => ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.Inner,
|
|
11
|
+
const NotificationContainer = (props) => ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.Inner, { ...props, pauseOnFocusLoss: true, position: constants_1.NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${constants_1.notifyClassnames.body}`, toastClassName: constants_1.notifyClassnames.root, progressClassName: `${constants_1.notifyClassnames.progress}` }) }));
|
|
12
12
|
exports.NotificationContainer = NotificationContainer;
|
|
@@ -16,7 +16,7 @@ const DefaultIcon = ({ variant }) => {
|
|
|
16
16
|
return (0, jsx_runtime_1.jsx)(Icon, {});
|
|
17
17
|
};
|
|
18
18
|
const NotificationTemplate = ({ icon, title, closeToast, content, actions, variant, actionsDirection = 'right', showCloseButton = true, }) => {
|
|
19
|
-
const handleCloseToast = () => closeToast
|
|
19
|
+
const handleCloseToast = () => closeToast?.();
|
|
20
20
|
return ((0, jsx_runtime_1.jsxs)(styles_2.Wrapper, { variant: variant, children: [(0, jsx_runtime_1.jsx)(styles_2.IconWrapper, { children: icon || (0, jsx_runtime_1.jsx)(DefaultIcon, { variant: variant }) }), (0, jsx_runtime_1.jsxs)(styles_2.Inner, { children: [(0, jsx_runtime_1.jsxs)(styles_2.Header, { children: [(0, jsx_runtime_1.jsx)(styles_2.Title, { variant: "h5", children: title }), showCloseButton && ((0, jsx_runtime_1.jsx)(styles_2.CloseButton, { onClick: handleCloseToast, color: "grey", variant: "text", children: (0, jsx_runtime_1.jsx)(icons_1.CrossOutlineMd, {}) }))] }), content && (0, jsx_runtime_1.jsx)(styles_2.Content, { variant: "body1", children: content }), actions && ((0, jsx_runtime_1.jsx)(styles_2.Footer, { actionsDirection: actionsDirection, children: actions }))] })] }));
|
|
21
21
|
};
|
|
22
22
|
exports.NotificationTemplate = NotificationTemplate;
|
|
@@ -6,8 +6,8 @@ const constants_1 = require("../constants");
|
|
|
6
6
|
const utils_1 = require("../utils");
|
|
7
7
|
const NotificationTemplate_1 = require("./NotificationTemplate");
|
|
8
8
|
exports.NOTIFICATION_VARIANT = {
|
|
9
|
-
info: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate,
|
|
10
|
-
success: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate,
|
|
11
|
-
warning: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate,
|
|
12
|
-
error: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate,
|
|
9
|
+
info: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.notificationTemplatePropsCreator)(options, notifyContent, constants_1.NotificationVariantTypes.Info) })),
|
|
10
|
+
success: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.notificationTemplatePropsCreator)(options, notifyContent, constants_1.NotificationVariantTypes.Success) })),
|
|
11
|
+
warning: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.notificationTemplatePropsCreator)(options, notifyContent, constants_1.NotificationVariantTypes.Warning) })),
|
|
12
|
+
error: (options, notifyContent) => ((0, jsx_runtime_1.jsx)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.notificationTemplatePropsCreator)(options, notifyContent, constants_1.NotificationVariantTypes.Error) })),
|
|
13
13
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.notificationTemplatePropsCreator = void 0;
|
|
4
|
-
const notificationTemplatePropsCreator = (options, notifyProps, variant) => (
|
|
4
|
+
const notificationTemplatePropsCreator = (options, notifyProps, variant) => ({
|
|
5
|
+
...notifyProps,
|
|
6
|
+
...options,
|
|
7
|
+
variant,
|
|
8
|
+
});
|
|
5
9
|
exports.notificationTemplatePropsCreator = notificationTemplatePropsCreator;
|
|
@@ -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.Link = void 0;
|
|
15
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
5
|
const react_1 = require("react");
|
|
17
6
|
const icons_1 = require("../../icons");
|
|
18
7
|
const styles_1 = require("./styles");
|
|
19
|
-
exports.Link = (0, react_1.forwardRef)((
|
|
20
|
-
var { withAdornment, isDownload, downloadFilename, children } = _a, props = __rest(_a, ["withAdornment", "isDownload", "downloadFilename", "children"]);
|
|
8
|
+
exports.Link = (0, react_1.forwardRef)(({ withAdornment, isDownload, downloadFilename, children, ...props }, ref) => {
|
|
21
9
|
const icon = isDownload ? (0, jsx_runtime_1.jsx)(icons_1.DownloadVOutlineSm, {}) : (0, jsx_runtime_1.jsx)(icons_1.OpenLinkOutlineSm, {});
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledLink,
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledLink, { download: downloadFilename ?? isDownload, ref: ref, ...props, children: [withAdornment === 'start' && icon, children, withAdornment === 'end' && icon, !withAdornment && isDownload && (0, jsx_runtime_1.jsx)(icons_1.DownloadVOutlineSm, {})] }));
|
|
23
11
|
});
|
|
@@ -7,6 +7,6 @@ exports.List = void 0;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const List_1 = __importDefault(require("@mui/material/List"));
|
|
9
9
|
const List = (props) => {
|
|
10
|
-
return (0, jsx_runtime_1.jsx)(List_1.default,
|
|
10
|
+
return (0, jsx_runtime_1.jsx)(List_1.default, { ...props });
|
|
11
11
|
};
|
|
12
12
|
exports.List = List;
|
|
@@ -4,6 +4,6 @@ exports.ListItem = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const styles_1 = require("./styles");
|
|
6
6
|
const ListItem = (props) => {
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(styles_1.StyledListItem,
|
|
7
|
+
return (0, jsx_runtime_1.jsx)(styles_1.StyledListItem, { ...props });
|
|
8
8
|
};
|
|
9
9
|
exports.ListItem = ListItem;
|