@astral/ui 4.18.3 → 4.18.5
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/components/Accordion/styles.d.ts +2 -8
- package/components/Accordion/styles.js +1 -1
- package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
- package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/components/ActionGroup/SecondaryActions/SecondaryActions.js +1 -1
- package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/components/AddressAutocomplete/AddressAutocomplete.js +1 -1
- package/components/AddressAutocomplete/index.d.ts +2 -1
- package/components/AddressAutocomplete/index.js +1 -1
- package/components/AddressAutocomplete/public.d.ts +2 -1
- package/components/AddressAutocomplete/public.js +1 -1
- package/components/AddressAutocomplete/types.d.ts +24 -0
- package/components/AddressAutocomplete/types.js +1 -0
- package/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/components/Alert/Alert.js +6 -2
- package/components/Alert/constants.js +1 -1
- package/components/Alert/styles.d.ts +7 -19
- package/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/components/AsyncAutocomplete/index.d.ts +2 -1
- package/components/AsyncAutocomplete/index.js +1 -1
- package/components/AsyncAutocomplete/public.d.ts +2 -1
- package/components/AsyncAutocomplete/public.js +1 -1
- package/components/AsyncAutocomplete/types.d.ts +66 -0
- package/components/AsyncAutocomplete/types.js +1 -0
- package/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/components/AsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/AutoSaveIndicator/AutoSaveIndicator.js +1 -1
- package/components/AutoSaveIndicator/DefaultState/styles.js +2 -2
- package/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/components/AutoSaveIndicator/ErrorState/styles.js +1 -1
- package/components/AutoSaveIndicator/LoadingState/styles.js +1 -1
- package/components/AutoSaveIndicator/SuccessState/styles.js +1 -1
- package/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/components/AutoSaveIndicator/useLogic/useLogic.js +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/components/Autocomplete/Autocomplete.js +7 -5
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/public.d.ts +1 -1
- package/components/Autocomplete/styles.d.ts +2 -2
- package/components/Autocomplete/styles.js +4 -1
- package/components/Autocomplete/types.d.ts +51 -1
- package/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/components/Avatar/styles.d.ts +1 -1
- package/components/Avatar/styles.js +1 -1
- package/components/Avatar/types.d.ts +1 -1
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/components/AvatarGroup/styles.d.ts +1 -1
- package/components/AvatarGroup/styles.js +1 -1
- package/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/components/Badge/Badge.d.ts +1 -1
- package/components/Badge/styles.d.ts +1 -1
- package/components/Badge/styles.js +1 -1
- package/components/Banner/BannerActionButton/BannerActionButton.js +1 -1
- package/components/Banner/BannerContainer/BannerContainer.js +1 -1
- package/components/Banner/BannerTemplate/BannerTemplate.js +1 -1
- package/components/Banner/constants.js +1 -1
- package/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/components/BottomDrawer/BottomDrawer.js +1 -1
- package/components/BottomDrawer/styles.d.ts +4 -10
- package/components/BottomDrawer/styles.js +3 -1
- package/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/components/Breadcrumbs/styles.d.ts +1 -1
- package/components/Breadcrumbs/styles.js +3 -1
- package/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/components/BulletListItem/BulletListItem.js +1 -1
- package/components/BulletListItem/styles.js +1 -1
- package/components/Button/Button.d.ts +5 -45
- package/components/Button/Button.js +1 -1
- package/components/Button/constants.d.ts +1 -1
- package/components/Button/constants.js +2 -2
- package/components/Button/styles.d.ts +1 -1
- package/components/Button/styles.js +1 -1
- package/components/Button/types.d.ts +25 -0
- package/components/Button/useLogic/useLogic.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.js +1 -1
- package/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +3 -3
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/CardGridInfinite/constants.js +1 -1
- package/components/CardGridInfinite/styles.js +1 -1
- package/components/CardGridInfinite/useLogic/useLogic.js +4 -2
- package/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/components/CheckableTag/styles.js +1 -1
- package/components/Checkbox/Icon/Icon.js +1 -1
- package/components/Checkbox/constants.js +1 -1
- package/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/components/Checkbox/useLogic/useLogic.js +2 -2
- package/components/CheckboxField/constants.js +1 -1
- package/components/CheckboxField/styles.js +2 -1
- package/components/Chevron/Chevron.d.ts +2 -2
- package/components/Chevron/styles.js +1 -1
- package/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/components/ClickAwayListener/ClickAwayListener.js +1 -1
- package/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +1 -1
- package/components/CodeField/styles.d.ts +2 -8
- package/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/components/Collapse/Collapse.d.ts +2 -2
- package/components/Collapse/Collapse.js +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/components/CollapsibleTypography/styles.d.ts +5 -11
- package/components/ComplianceStatus/styles.js +3 -1
- package/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/components/ConfigProvider/ConfigProvider.js +1 -1
- package/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/components/ConfirmAction/constants.js +1 -1
- package/components/ConfirmAction/index.d.ts +2 -1
- package/components/ConfirmAction/index.js +1 -1
- package/components/ConfirmAction/public.d.ts +2 -1
- package/components/ConfirmAction/public.js +1 -1
- package/components/ConfirmAction/styles.d.ts +2 -8
- package/components/ConfirmAction/types.d.ts +37 -0
- package/components/ConfirmAction/types.js +1 -0
- package/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmAction/useLogic/useLogic.js +1 -1
- package/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/components/ConfirmDialog/index.d.ts +1 -0
- package/components/ConfirmDialog/public.d.ts +1 -0
- package/components/ConfirmDialog/styles.d.ts +3 -3
- package/components/ConfirmDialog/types.d.ts +36 -0
- package/components/ConfirmDialog/types.js +1 -0
- package/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/components/ContentState/ContentState.js +2 -1
- package/components/ContentState/types.d.ts +1 -1
- package/components/ContentState/useLogic/useLogic.js +1 -1
- package/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/components/CopyTypography/CopyTypography.js +1 -1
- package/components/CopyTypography/constants.js +1 -1
- package/components/CopyTypography/index.d.ts +2 -1
- package/components/CopyTypography/public.d.ts +2 -1
- package/components/CopyTypography/styles.d.ts +2 -8
- package/components/CopyTypography/styles.js +1 -1
- package/components/CopyTypography/types.d.ts +23 -0
- package/components/CopyTypography/types.js +1 -0
- package/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/components/Counter/Counter.d.ts +1 -1
- package/components/Counter/styles.d.ts +1 -1
- package/components/Counter/styles.js +1 -1
- package/components/DashboardAlert/styles.d.ts +3 -3
- package/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/components/DashboardLayout/Header/Header.js +5 -3
- package/components/DashboardLayout/Header/constants.js +1 -1
- package/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/components/DashboardLayout/Header/styles.js +1 -1
- package/components/DashboardLayout/Header/useLogic/useLogic.js +1 -1
- package/components/DashboardLayout/Main/constants.js +1 -1
- package/components/DashboardLayout/constants.js +1 -1
- package/components/DashboardLayout/index.d.ts +2 -1
- package/components/DashboardLayout/public.d.ts +2 -1
- package/components/DashboardLayout/types.d.ts +13 -0
- package/components/DashboardLayout/types.js +1 -0
- package/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +1 -1
- package/components/DashboardSidebar/DashboardSidebar.js +2 -1
- package/components/DashboardSidebar/constants.js +1 -1
- package/components/DashboardSidebar/useLogic/useLogic.js +4 -3
- package/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/components/DashboardSidebarCounter/Badge/styles.js +1 -1
- package/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +1 -1
- package/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +5 -3
- package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
- package/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/components/DashboardSidebarSkeleton/useLogic/useLogic.js +1 -1
- package/components/DataGrid/Body/Body.js +1 -1
- package/components/DataGrid/Cell/Cell.js +1 -1
- package/components/DataGrid/DataGrid.js +2 -1
- package/components/DataGrid/HeadCell/HeadCell.js +3 -1
- package/components/DataGrid/Loader/styles.d.ts +1 -1
- package/components/DataGrid/Loader/styles.js +1 -1
- package/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/components/DataGrid/NoData/NoData.js +1 -1
- package/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/components/DataGrid/Row/Row.js +1 -1
- package/components/DataGrid/Row/constants.js +1 -1
- package/components/DataGrid/Row/styles.d.ts +3 -3
- package/components/DataGrid/Row/styles.js +1 -1
- package/components/DataGrid/Row/useLogic/useLogic.js +1 -1
- package/components/DataGrid/constants.js +1 -1
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DataGrid/useLogic/useLogic.js +3 -2
- package/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +3 -3
- package/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +1 -1
- package/components/DataGridInfinite/DataGridInfinite.js +2 -1
- package/components/DataGridInfinite/NoData/NoData.js +1 -1
- package/components/DataGridInfinite/useLogic/useLogic.js +3 -2
- package/components/DataGridPagination/styles.d.ts +2 -8
- package/components/DataGridPagination/styles.js +1 -1
- package/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/components/DataGridPaginationContainer/styles.js +1 -1
- package/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/components/DatePicker/DatePicker.d.ts +10 -103
- package/components/DatePicker/DatePicker.js +1 -1
- package/components/DatePicker/DatePickerInput/DatePickerInput.js +1 -1
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -1
- package/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/components/DatePicker/DatePickerPopover/styles.js +1 -1
- package/components/DatePicker/DayPicker/DayPicker.js +1 -1
- package/components/DatePicker/MonthPicker/MonthPicker.js +1 -1
- package/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/components/DatePicker/constants.js +1 -1
- package/components/DatePicker/index.d.ts +2 -1
- package/components/DatePicker/public.d.ts +2 -1
- package/components/DatePicker/styles.d.ts +3 -3
- package/components/DatePicker/types/props.d.ts +60 -0
- package/components/DatePicker/types/props.js +1 -0
- package/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/useLogic/useLogic.js +5 -2
- package/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/components/DateRangePicker/index.d.ts +2 -1
- package/components/DateRangePicker/index.js +1 -1
- package/components/DateRangePicker/public.d.ts +2 -1
- package/components/DateRangePicker/public.js +1 -1
- package/components/DateRangePicker/styles.d.ts +1 -1
- package/components/DateRangePicker/styles.js +1 -1
- package/components/DateRangePicker/types.d.ts +44 -0
- package/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DateRangePicker/useLogic/useLogic.js +2 -1
- package/components/Description/Value/styles.d.ts +4 -16
- package/components/Description/constants.js +1 -1
- package/components/Description/styles.d.ts +1 -1
- package/components/Description/useLogic/useLogic.d.ts +1 -1
- package/components/DescriptionCell/constants.js +1 -1
- package/components/DescriptionCell/styles.js +1 -1
- package/components/DescriptionCell/useLogic/useLogic.js +1 -1
- package/components/DescriptionList/styles.d.ts +2 -8
- package/components/Dialog/Dialog.d.ts +2 -2
- package/components/Dialog/Dialog.js +1 -1
- package/components/Dialog/styles.d.ts +1 -1
- package/components/Dialog/styles.js +2 -1
- package/components/DialogActions/DialogActions.d.ts +2 -2
- package/components/DialogActions/styles.d.ts +1 -1
- package/components/DialogActions/styles.js +1 -1
- package/components/DialogContent/DialogContent.d.ts +2 -2
- package/components/DialogContent/styles.d.ts +1 -1
- package/components/DialogContent/styles.js +1 -1
- package/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/components/DialogContentText/styles.d.ts +1 -1
- package/components/DialogContentText/styles.js +1 -1
- package/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/components/DialogHeader/DialogHeader.js +1 -1
- package/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/components/DialogTitle/DialogTitle.js +2 -2
- package/components/Divider/Divider.d.ts +2 -2
- package/components/Divider/Divider.js +1 -1
- package/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/components/DropdownButton/DropdownButton.js +2 -2
- package/components/EmailField/EmailField.js +1 -1
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +1 -1
- package/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js +2 -1
- package/components/ExpansionPanel/Summary/Summary.js +1 -1
- package/components/ExpansionPanel/constants.js +1 -1
- package/components/ExpansionPanel/useLogic/useLogic.js +1 -1
- package/components/Fab/Fab.d.ts +2 -2
- package/components/Fab/styles.d.ts +1 -1
- package/components/Fab/styles.js +2 -1
- package/components/Fieldset/styles.d.ts +4 -16
- package/components/Filename/Filename.js +1 -1
- package/components/Filename/styles.d.ts +2 -8
- package/components/FlowButton/FlowButton.js +1 -1
- package/components/FlowButton/styles.d.ts +5 -11
- package/components/FormControl/FormControl.d.ts +2 -2
- package/components/FormControl/FormControl.js +1 -1
- package/components/FormControlLabel/styles.d.ts +1 -1
- package/components/FormControlLabel/styles.js +1 -1
- package/components/FormControlLabel/types.d.ts +1 -1
- package/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/components/FormHelperText/FormHelperText.js +1 -1
- package/components/FormHelperText/FormHelperTextContent/styles.js +2 -1
- package/components/FormLabel/FormLabel.d.ts +2 -2
- package/components/FormLabel/styles.d.ts +1 -1
- package/components/FormLabel/styles.js +1 -1
- package/components/GlobalStyles/GlobalStyles.js +3 -2
- package/components/GuidTypography/GuidTypography.js +1 -1
- package/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +1 -1
- package/components/HintIcon/constants.js +5 -2
- package/components/HintIcon/useLogic/useLogic.js +1 -1
- package/components/IconButton/IconButton.d.ts +3 -3
- package/components/IconButton/styles.d.ts +3 -3
- package/components/IconDropdownButton/IconDropdownButton.js +2 -2
- package/components/InfiniteDataList/InfiniteDataList.js +1 -1
- package/components/InfiniteDataList/NoData/NoData.js +1 -1
- package/components/InfiniteDataList/constants.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
- package/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/InfiniteTreeList/constants.js +1 -1
- package/components/InfiniteTreeList/useLogic/useLogic.js +4 -2
- package/components/InputGroup/styles.js +2 -1
- package/components/JsonViewer/JsonNode/styles.js +1 -1
- package/components/JsonViewer/JsonNode/useLogic/useLogic.js +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +2 -1
- package/components/JsonViewer/JsonViewer.js +3 -1
- package/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/components/LegacyNotification/constants.js +1 -1
- package/components/LegacyNotification/styles.js +4 -1
- package/components/Link/Link.d.ts +3 -3
- package/components/Link/Link.js +2 -1
- package/components/Link/styles.d.ts +1 -1
- package/components/Link/styles.js +1 -1
- package/components/List/List.d.ts +1 -1
- package/components/ListItem/styles.d.ts +2 -2
- package/components/ListItem/styles.js +1 -1
- package/components/ListItem/types.d.ts +1 -1
- package/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/components/ListItemButton/ListItemButton.js +1 -1
- package/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/components/ListItemIcon/styles.d.ts +1 -1
- package/components/ListItemIcon/styles.js +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/components/ListItemText/ListItemText.d.ts +1 -1
- package/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/components/ListSubheader/ListSubheader.js +1 -1
- package/components/Loader/Loader.js +1 -1
- package/components/Loader/constants.js +1 -1
- package/components/Menu/Menu.d.ts +2 -2
- package/components/Menu/Menu.js +1 -1
- package/components/MenuGroup/styles.d.ts +2 -8
- package/components/MenuItem/MenuItem.d.ts +2 -2
- package/components/MenuItem/MenuItem.js +1 -1
- package/components/MenuList/styles.d.ts +1 -1
- package/components/MenuList/styles.js +1 -1
- package/components/MenuList/types.d.ts +1 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/components/MenuOrganization/constants.js +1 -1
- package/components/MenuOrganization/styles.d.ts +2 -8
- package/components/MenuOrganization/types.d.ts +1 -1
- package/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/components/MenuOrganization/useLogic/useLogic.js +1 -1
- package/components/MinimalisticPagination/MinimalisticPagination.js +2 -1
- package/components/MinimalisticPagination/styles.d.ts +2 -8
- package/components/NavMenu/Item/ItemButton/ItemButton.js +1 -1
- package/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/components/NavMenu/Item/ItemButton/styles.js +2 -1
- package/components/NavMenu/Item/List/List.js +2 -2
- package/components/NavMenu/NavMenu.js +1 -1
- package/components/NotFoundPage/constants.js +1 -1
- package/components/NotFoundPage/styles.d.ts +4 -16
- package/components/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +1 -1
- package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/components/Notification/constants.js +1 -1
- package/components/Notification/styles.js +4 -1
- package/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/components/NotificationList/ListItem/ListItem.js +1 -1
- package/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/components/NotificationList/SettingsButton/SettingsButton.js +1 -1
- package/components/NumberField/NumberField.d.ts +1 -1
- package/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/components/OverflowTypography/index.d.ts +1 -0
- package/components/OverflowTypography/public.d.ts +1 -0
- package/components/OverflowTypography/styles.d.ts +4 -16
- package/components/OverflowTypography/types.d.ts +32 -0
- package/components/OverflowTypography/types.js +1 -0
- package/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/components/OverflowTypography/useLogic/useLogic.js +1 -1
- package/components/PageAsideBlock/styles.js +1 -1
- package/components/PageContent/PageContent.js +1 -1
- package/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/components/PageContent/constants.js +1 -1
- package/components/PageContent/useLogic/useLogic.js +1 -1
- package/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/components/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/components/PageHeader/MobilePageActions/styles.js +2 -1
- package/components/PageHeader/PageActions/MainActions/styles.js +1 -1
- package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/PageHeader/PageHeader.js +1 -1
- package/components/PageHeader/Title/Title.js +1 -1
- package/components/PageHeader/Title/styles.d.ts +6 -12
- package/components/PageHeader/constants.js +1 -1
- package/components/PageHeader/hooks/usePageTitle/usePageTitle.js +1 -1
- package/components/PageHeader/types.d.ts +1 -1
- package/components/PageHeader/useLogic/useLogic.js +2 -2
- package/components/PageLayout/PageLayout.js +1 -1
- package/components/PageLayoutContainer/PageLayoutContainer.js +1 -1
- package/components/PageLayoutContainer/constants.js +1 -1
- package/components/PageLayoutLoader/PageLayoutLoader.js +1 -1
- package/components/PagePinnableAside/PagePinnableAside.js +2 -2
- package/components/PagePinnableAside/constants.js +2 -1
- package/components/PagePinnableAside/useLogic/useLogic.js +1 -1
- package/components/Pagination/PaginationItem/PaginationItem.js +2 -1
- package/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/components/Paper/Paper.d.ts +2 -2
- package/components/Paper/styles.d.ts +1 -1
- package/components/Paper/styles.js +1 -1
- package/components/PasswordField/PasswordField.js +3 -2
- package/components/PdfViewer/ControlBar/ControlBar.js +2 -1
- package/components/PdfViewer/PdfDocument/PdfDocument.js +1 -1
- package/components/PdfViewer/PdfViewer.js +1 -1
- package/components/PdfViewer/constants.js +1 -1
- package/components/PdfViewer/useLogic/useLogic.js +1 -1
- package/components/PinButton/PinButton.js +3 -2
- package/components/PinButton/constants.js +1 -1
- package/components/PinButton/styles.d.ts +5 -11
- package/components/Popover/Popover.d.ts +2 -2
- package/components/Popover/styles.d.ts +1 -1
- package/components/Popover/styles.js +2 -1
- package/components/Product/styles.d.ts +3 -3
- package/components/ProductSwitcher/Content/Content.js +1 -1
- package/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/components/ProductSwitcher/Content/styles.js +1 -1
- package/components/ProductSwitcher/ProductSwitcher.js +1 -1
- package/components/ProductSwitcher/styles.js +1 -1
- package/components/ProductSwitcher/useLogic/useLogic.js +1 -1
- package/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/components/Profile/MenuList/MenuList.js +2 -2
- package/components/Profile/MenuList/styles.d.ts +2 -2
- package/components/Profile/MenuList/styles.js +1 -1
- package/components/Profile/Profile.js +2 -2
- package/components/Profile/constants.js +1 -1
- package/components/Profile/styles.d.ts +3 -3
- package/components/Profile/types.d.ts +4 -2
- package/components/ProgressBar/ProgressBar.js +1 -1
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/constants.js +1 -1
- package/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/components/Radio/useLogic/useLogic.js +2 -2
- package/components/RadioCard/RadioCard.js +1 -1
- package/components/RadioCard/constants.js +1 -1
- package/components/RadioField/styles.d.ts +1 -1
- package/components/RadioField/styles.js +2 -1
- package/components/RedesignBanner/useLogic/useLogic.js +1 -1
- package/components/ScrollToTopButton/ScrollToTopButton.js +1 -1
- package/components/SearchField/SearchField.js +1 -1
- package/components/SearchField/styles.d.ts +3 -3
- package/components/SearchField/styles.js +1 -1
- package/components/SearchField/useLogic/useLogic.js +2 -1
- package/components/Select/Select.d.ts +1 -71
- package/components/Select/Select.js +6 -2
- package/components/Select/index.d.ts +1 -0
- package/components/Select/public.d.ts +1 -0
- package/components/Select/styles.d.ts +2 -2
- package/components/Select/styles.js +1 -1
- package/components/Select/types.d.ts +49 -0
- package/components/Select/types.js +1 -0
- package/components/Select/useLogic/useLogic.d.ts +1 -1
- package/components/Select/useLogic/useLogic.js +3 -2
- package/components/SideDialog/SideDialog.d.ts +2 -2
- package/components/SideDialog/styles.d.ts +2 -2
- package/components/SideDialog/styles.js +3 -1
- package/components/SideDialogActions/types.d.ts +2 -2
- package/components/SideDialogContent/types.d.ts +2 -2
- package/components/SideDialogContentText/types.d.ts +2 -2
- package/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/components/SideDialogTitle/styles.d.ts +1 -1
- package/components/Skeleton/Skeleton.d.ts +2 -2
- package/components/Skeleton/styles.d.ts +1 -1
- package/components/Skeleton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/components/StaticCalendar/StaticCalendarGridButton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/constants.js +1 -1
- package/components/StepSlider/StepSlider.d.ts +1 -1
- package/components/StepSlider/StepSlider.js +1 -1
- package/components/Stepper/ArrowConnector/ArrowConnector.js +1 -1
- package/components/Stepper/Step/index.d.ts +1 -1
- package/components/Stepper/Step/index.js +1 -1
- package/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/components/Stepper/StepButton/styles.d.ts +1 -1
- package/components/Stepper/StepButton/styles.js +1 -1
- package/components/Stepper/StepConnector/index.d.ts +3 -3
- package/components/Stepper/StepConnector/index.js +1 -1
- package/components/Stepper/StepContent/index.d.ts +1 -1
- package/components/Stepper/StepContent/index.js +1 -1
- package/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/components/Stepper/StepIcon/styles.js +3 -1
- package/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/components/Stepper/StepLabel/StepLabel.js +1 -1
- package/components/Stepper/Stepper.d.ts +2 -2
- package/components/Stepper/constants.js +1 -1
- package/components/Stepper/styles.d.ts +1 -1
- package/components/Stepper/styles.js +5 -1
- package/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/components/StepperWizard/StepperWizard.js +1 -1
- package/components/StepperWizard/index.d.ts +2 -2
- package/components/StepperWizard/public.d.ts +2 -2
- package/components/StepperWizard/types.d.ts +12 -0
- package/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/components/SvgIcon/SvgIcon.js +1 -1
- package/components/SvgIcon/constants.js +1 -1
- package/components/Switch/Switch.d.ts +2 -2
- package/components/Switch/styles.d.ts +1 -1
- package/components/Switch/styles.js +2 -1
- package/components/Tabs/Tab/Tab.d.ts +2 -2
- package/components/Tabs/Tab/styles.d.ts +1 -1
- package/components/Tabs/Tab/styles.js +1 -1
- package/components/Tabs/Tabs.d.ts +2 -2
- package/components/Tabs/styles.d.ts +1 -1
- package/components/Tabs/styles.js +1 -1
- package/components/Tag/Tag.js +1 -1
- package/components/Tag/constants.js +1 -1
- package/components/Tag/styles.d.ts +4 -4
- package/components/Tag/styles.js +2 -1
- package/components/Tag/useLogic/useLogic.js +1 -1
- package/components/TagBadge/TagBadge.js +1 -1
- package/components/TagsList/TagsList.d.ts +1 -28
- package/components/TagsList/types.d.ts +28 -0
- package/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/components/TagsList/useLogic/useLogic.js +1 -1
- package/components/TextField/TextField.d.ts +2 -2
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/constants.js +1 -1
- package/components/TextField/styles.d.ts +2 -2
- package/components/TextField/styles.js +2 -1
- package/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ToggleButton/styles.d.ts +1 -1
- package/components/ToggleButton/styles.js +3 -1
- package/components/ToggleButton/types.d.ts +2 -2
- package/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/components/ToggleButtonGroup/styles.js +1 -1
- package/components/Tooltip/Tooltip.d.ts +2 -2
- package/components/Tooltip/constants.js +1 -1
- package/components/Tooltip/styles.d.ts +2 -2
- package/components/Tooltip/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/components/Tree/MultipleTreeList/TreeItem/types.js +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/components/Tree/MultipleTreeList/useLogic/useLogic.js +1 -1
- package/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/components/Tree/TreeItem/constants.js +1 -1
- package/components/Tree/TreeItem/index.d.ts +2 -1
- package/components/Tree/TreeItem/index.js +1 -1
- package/components/Tree/TreeItem/styles.d.ts +23 -35
- package/components/Tree/TreeItem/styles.js +2 -2
- package/components/Tree/TreeItem/types.d.ts +70 -0
- package/components/Tree/TreeItem/types.js +1 -0
- package/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/components/Tree/TreeList/TreeItem/types.js +1 -0
- package/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeList.js +1 -1
- package/components/Tree/TreeList/constants.js +1 -1
- package/components/Tree/TreeList/types.d.ts +1 -1
- package/components/Tree/TreeList/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/components/TreeAutocomplete/Input/Input.js +2 -1
- package/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/components/TreeAutocomplete/Input/types.js +1 -0
- package/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/components/TreeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/components/TreeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/components/TreeLikeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/styles.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +3 -1
- package/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/components/TreeLikeAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/Input/styles.js +1 -1
- package/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/components/TreeLikeAutocomplete/Input/types.js +1 -0
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/styles.js +1 -1
- package/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +1 -1
- package/components/TreeLikeList/types.d.ts +1 -1
- package/components/Typography/Typography.d.ts +7 -58
- package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -1
- package/components/Typography/index.d.ts +1 -1
- package/components/Typography/index.js +0 -1
- package/components/Typography/public.d.ts +1 -1
- package/components/Typography/public.js +0 -1
- package/components/Typography/styles.d.ts +1 -1
- package/components/Typography/styles.js +1 -1
- package/components/Typography/types.d.ts +31 -0
- package/components/WelcomeScreen/styles.d.ts +4 -16
- package/components/declaration/mui-material.d.ts +4 -4
- package/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/components/fileUploading/FileInfo/styles.js +1 -1
- package/components/fileUploading/FileUploader/FileUploader.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderFile/Actions/Actions.js +5 -1
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +2 -2
- package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +1 -1
- package/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +2 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +4 -2
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +2 -2
- package/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +1 -1
- package/components/fileUploading/constants.js +1 -1
- package/components/fileUploading/hooks/useFileUploader/useFileUploader.js +3 -1
- package/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +3 -1
- package/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.js +1 -1
- package/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/components/hooks/useViewportType/useViewportType.js +2 -1
- package/components/index.d.ts +57 -8
- package/components/index.js +57 -8
- package/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -1
- package/components/placeholders/LoadingPlaceholder/constants.js +1 -1
- package/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/components/styled/mixins/list/list.js +1 -1
- package/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/components/styled/styled.d.ts +1 -2
- package/components/theme/baseTheme/baseTheme.js +2 -2
- package/components/theme/breakpoints.d.ts +1 -1
- package/components/theme/components/MuiAlert.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.js +1 -1
- package/components/theme/components/MuiButton.d.ts +1 -1
- package/components/theme/components/MuiButton.js +1 -1
- package/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/components/theme/components/MuiDialog.d.ts +1 -1
- package/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.js +1 -1
- package/components/theme/components/MuiDrawer.d.ts +1 -1
- package/components/theme/components/MuiDrawer.js +2 -1
- package/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/components/theme/components/MuiListItemText.d.ts +1 -1
- package/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/components/theme/components/MuiMenu.d.ts +1 -1
- package/components/theme/components/MuiMenu.js +2 -1
- package/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/components/theme/components/MuiMenuItem.js +1 -1
- package/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/components/theme/components/MuiPaper.d.ts +1 -1
- package/components/theme/components/MuiStep.d.ts +1 -1
- package/components/theme/components/MuiStep.js +1 -1
- package/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.js +1 -1
- package/components/theme/components/MuiSwitch.d.ts +1 -1
- package/components/theme/components/MuiTab.d.ts +1 -1
- package/components/theme/components/MuiTableCell.d.ts +1 -1
- package/components/theme/components/MuiTableHead.d.ts +1 -1
- package/components/theme/components/MuiTableRow.d.ts +1 -1
- package/components/theme/components/MuiTabs.d.ts +1 -1
- package/components/theme/components/MuiTextField.d.ts +1 -1
- package/components/theme/components/MuiTextField.js +3 -1
- package/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/components/theme/components/MuiTypography.d.ts +1 -1
- package/components/theme/components/components.d.ts +1 -1
- package/components/theme/types.d.ts +123 -2
- package/components/theme/types.js +117 -1
- package/components/transitions/Fade/Fade.d.ts +1 -1
- package/components/transitions/Fade/Fade.js +1 -1
- package/components/transitions/Grow/Grow.d.ts +1 -1
- package/components/transitions/Grow/Grow.js +1 -1
- package/components/transitions/Slide/Slide.d.ts +2 -2
- package/components/transitions/Slide/Slide.js +1 -1
- package/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/components/transitions/Zoom/Zoom.js +1 -1
- package/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +1 -1
- package/hook-form/EditableText/EditableText.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +1 -1
- package/hook-form/EditableText/styles.d.ts +2 -8
- package/hook-form/EditableText/styles.js +1 -1
- package/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/hook-form/EditableText/useLogic/useLogic.js +1 -1
- package/hook-form/Form/Form.d.ts +1 -1
- package/hook-form/Form/Form.js +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +1 -1
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +1 -1
- package/hook-form/FormAutocomplete/FormAutocomplete.js +1 -1
- package/hook-form/FormCheckboxField/FormCheckboxField.js +1 -1
- package/hook-form/FormCodeField/FormCodeField.js +1 -1
- package/hook-form/FormDatePicker/FormDatePicker.js +2 -1
- package/hook-form/FormDateRangePicker/FormDateRangePicker.js +2 -1
- package/hook-form/FormEmailField/FormEmailField.js +1 -1
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.js +2 -2
- package/hook-form/FormMaskField/FormMaskField.js +1 -1
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
- package/hook-form/FormNumberField/FormNumberField.js +1 -1
- package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/hook-form/FormPageLayout/FormPageLayout.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/hook-form/FormPageLayoutBase/constants.js +1 -1
- package/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -2
- package/hook-form/FormRadioGroup/FormRadioGroup.js +1 -1
- package/hook-form/FormSelect/FormSelect.js +1 -1
- package/hook-form/FormSubmitButton/FormSubmitButton.js +1 -1
- package/hook-form/FormTextArea/FormTextArea.js +1 -1
- package/hook-form/FormTextField/FormTextField.js +1 -1
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +1 -1
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +1 -1
- package/hook-form/FormWizard/Footer/Footer.js +2 -1
- package/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +2 -1
- package/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
- package/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +1 -1
- package/node/components/Accordion/styles.d.ts +2 -8
- package/node/components/Accordion/styles.js +2 -2
- package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
- package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/node/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/node/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -2
- package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/node/components/AddressAutocomplete/index.d.ts +2 -1
- package/node/components/AddressAutocomplete/public.d.ts +2 -1
- package/node/components/AddressAutocomplete/types.d.ts +24 -0
- package/node/components/AddressAutocomplete/types.js +2 -0
- package/node/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/node/components/Alert/Alert.js +12 -8
- package/node/components/Alert/constants.js +7 -7
- package/node/components/Alert/styles.d.ts +7 -19
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/node/components/AsyncAutocomplete/index.d.ts +2 -1
- package/node/components/AsyncAutocomplete/public.d.ts +2 -1
- package/node/components/AsyncAutocomplete/types.d.ts +66 -0
- package/node/components/AsyncAutocomplete/types.js +2 -0
- package/node/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/node/components/AsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
- package/node/components/AutoSaveIndicator/DefaultState/styles.js +6 -6
- package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/node/components/AutoSaveIndicator/ErrorState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/LoadingState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/SuccessState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/node/components/AutoSaveIndicator/useLogic/useLogic.js +2 -2
- package/node/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/node/components/Autocomplete/Autocomplete.js +12 -7
- package/node/components/Autocomplete/index.d.ts +1 -1
- package/node/components/Autocomplete/public.d.ts +1 -1
- package/node/components/Autocomplete/styles.d.ts +2 -2
- package/node/components/Autocomplete/styles.js +30 -4
- package/node/components/Autocomplete/types.d.ts +51 -1
- package/node/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/node/components/Avatar/styles.d.ts +1 -1
- package/node/components/Avatar/styles.js +5 -2
- package/node/components/Avatar/types.d.ts +1 -1
- package/node/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/node/components/AvatarGroup/styles.d.ts +1 -1
- package/node/components/AvatarGroup/styles.js +26 -3
- package/node/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/node/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/node/components/Badge/Badge.d.ts +1 -1
- package/node/components/Badge/styles.d.ts +1 -1
- package/node/components/Badge/styles.js +5 -2
- package/node/components/Banner/BannerActionButton/BannerActionButton.js +2 -2
- package/node/components/Banner/BannerContainer/BannerContainer.js +2 -2
- package/node/components/Banner/BannerTemplate/BannerTemplate.js +2 -2
- package/node/components/Banner/constants.js +2 -2
- package/node/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/node/components/BottomDrawer/BottomDrawer.js +2 -2
- package/node/components/BottomDrawer/styles.d.ts +4 -10
- package/node/components/BottomDrawer/styles.js +9 -4
- package/node/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.js +9 -4
- package/node/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/node/components/BulletListItem/BulletListItem.js +2 -2
- package/node/components/BulletListItem/styles.js +2 -2
- package/node/components/Button/Button.d.ts +5 -45
- package/node/components/Button/Button.js +2 -2
- package/node/components/Button/constants.d.ts +1 -1
- package/node/components/Button/constants.js +5 -5
- package/node/components/Button/styles.d.ts +1 -1
- package/node/components/Button/styles.js +5 -2
- package/node/components/Button/types.d.ts +25 -0
- package/node/components/Button/useLogic/useLogic.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.js +5 -2
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +8 -5
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/node/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +3 -3
- package/node/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/CardGridInfinite/constants.js +4 -4
- package/node/components/CardGridInfinite/styles.js +2 -2
- package/node/components/CardGridInfinite/useLogic/useLogic.js +8 -6
- package/node/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/node/components/CheckableTag/styles.js +2 -2
- package/node/components/Checkbox/Icon/Icon.js +2 -2
- package/node/components/Checkbox/constants.js +12 -12
- package/node/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/node/components/Checkbox/useLogic/useLogic.js +4 -4
- package/node/components/CheckboxField/constants.js +2 -2
- package/node/components/CheckboxField/styles.js +6 -5
- package/node/components/Chevron/Chevron.d.ts +2 -2
- package/node/components/Chevron/styles.js +2 -2
- package/node/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/node/components/ClickAwayListener/ClickAwayListener.js +2 -2
- package/node/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +2 -2
- package/node/components/CodeField/styles.d.ts +2 -8
- package/node/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/node/components/Collapse/Collapse.d.ts +2 -2
- package/node/components/Collapse/Collapse.js +5 -2
- package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/node/components/CollapsibleTypography/styles.d.ts +5 -11
- package/node/components/ComplianceStatus/styles.js +6 -4
- package/node/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/node/components/ConfigProvider/ConfigProvider.js +3 -3
- package/node/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/node/components/ConfirmAction/constants.js +2 -2
- package/node/components/ConfirmAction/index.d.ts +2 -1
- package/node/components/ConfirmAction/public.d.ts +2 -1
- package/node/components/ConfirmAction/styles.d.ts +2 -8
- package/node/components/ConfirmAction/types.d.ts +37 -0
- package/node/components/ConfirmAction/types.js +2 -0
- package/node/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmAction/useLogic/useLogic.js +2 -2
- package/node/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/node/components/ConfirmDialog/index.d.ts +1 -0
- package/node/components/ConfirmDialog/public.d.ts +1 -0
- package/node/components/ConfirmDialog/styles.d.ts +3 -3
- package/node/components/ConfirmDialog/types.d.ts +36 -0
- package/node/components/ConfirmDialog/types.js +2 -0
- package/node/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmDialog/useLogic/useLogic.js +2 -2
- package/node/components/ContentState/ContentState.js +5 -4
- package/node/components/ContentState/types.d.ts +1 -1
- package/node/components/ContentState/useLogic/useLogic.js +2 -2
- package/node/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/node/components/CopyTypography/CopyTypography.js +3 -3
- package/node/components/CopyTypography/constants.js +3 -3
- package/node/components/CopyTypography/index.d.ts +2 -1
- package/node/components/CopyTypography/public.d.ts +2 -1
- package/node/components/CopyTypography/styles.d.ts +2 -8
- package/node/components/CopyTypography/styles.js +2 -2
- package/node/components/CopyTypography/types.d.ts +23 -0
- package/node/components/CopyTypography/types.js +2 -0
- package/node/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/node/components/Counter/Counter.d.ts +1 -1
- package/node/components/Counter/styles.d.ts +1 -1
- package/node/components/Counter/styles.js +4 -4
- package/node/components/DashboardAlert/styles.d.ts +3 -3
- package/node/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/node/components/DashboardLayout/Header/Header.js +7 -5
- package/node/components/DashboardLayout/Header/constants.js +3 -3
- package/node/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/node/components/DashboardLayout/Header/styles.js +2 -2
- package/node/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
- package/node/components/DashboardLayout/Main/constants.js +3 -3
- package/node/components/DashboardLayout/constants.js +2 -2
- package/node/components/DashboardLayout/index.d.ts +2 -1
- package/node/components/DashboardLayout/public.d.ts +2 -1
- package/node/components/DashboardLayout/types.d.ts +13 -0
- package/node/components/DashboardLayout/types.js +2 -0
- package/node/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +2 -2
- package/node/components/DashboardSidebar/DashboardSidebar.js +3 -2
- package/node/components/DashboardSidebar/constants.js +2 -2
- package/node/components/DashboardSidebar/useLogic/useLogic.js +9 -8
- package/node/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/node/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/node/components/DashboardSidebarCounter/Badge/styles.js +4 -4
- package/node/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/node/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +2 -2
- package/node/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/node/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +13 -8
- package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +3 -3
- package/node/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/node/components/DashboardSidebarSkeleton/useLogic/useLogic.js +2 -2
- package/node/components/DataGrid/Body/Body.js +2 -2
- package/node/components/DataGrid/Cell/Cell.js +2 -2
- package/node/components/DataGrid/DataGrid.js +3 -2
- package/node/components/DataGrid/HeadCell/HeadCell.js +7 -5
- package/node/components/DataGrid/Loader/styles.d.ts +1 -1
- package/node/components/DataGrid/Loader/styles.js +26 -3
- package/node/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/node/components/DataGrid/NoData/NoData.js +2 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/Row.js +4 -4
- package/node/components/DataGrid/Row/constants.js +2 -2
- package/node/components/DataGrid/Row/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/styles.js +2 -2
- package/node/components/DataGrid/Row/useLogic/useLogic.js +4 -4
- package/node/components/DataGrid/constants.js +5 -5
- package/node/components/DataGrid/types.d.ts +1 -1
- package/node/components/DataGrid/useLogic/useLogic.js +8 -7
- package/node/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +5 -2
- package/node/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +8 -5
- package/node/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +2 -2
- package/node/components/DataGridInfinite/DataGridInfinite.js +3 -2
- package/node/components/DataGridInfinite/NoData/NoData.js +2 -2
- package/node/components/DataGridInfinite/useLogic/useLogic.js +5 -4
- package/node/components/DataGridPagination/styles.d.ts +2 -8
- package/node/components/DataGridPagination/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/node/components/DataGridPaginationContainer/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/node/components/DatePicker/DatePicker.d.ts +10 -103
- package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.js +4 -3
- package/node/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/node/components/DatePicker/DatePickerPopover/styles.js +5 -2
- package/node/components/DatePicker/DayPicker/DayPicker.js +3 -3
- package/node/components/DatePicker/MonthPicker/MonthPicker.js +5 -5
- package/node/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/node/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/node/components/DatePicker/constants.js +10 -10
- package/node/components/DatePicker/index.d.ts +2 -1
- package/node/components/DatePicker/public.d.ts +2 -1
- package/node/components/DatePicker/styles.d.ts +3 -3
- package/node/components/DatePicker/types/props.d.ts +60 -0
- package/node/components/DatePicker/types/props.js +2 -0
- package/node/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/useLogic/useLogic.js +10 -7
- package/node/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/node/components/DateRangePicker/index.d.ts +2 -1
- package/node/components/DateRangePicker/public.d.ts +2 -1
- package/node/components/DateRangePicker/styles.d.ts +1 -1
- package/node/components/DateRangePicker/styles.js +2 -2
- package/node/components/DateRangePicker/types.d.ts +44 -0
- package/node/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DateRangePicker/useLogic/useLogic.js +6 -5
- package/node/components/Description/Value/styles.d.ts +4 -16
- package/node/components/Description/constants.js +2 -2
- package/node/components/Description/styles.d.ts +1 -1
- package/node/components/Description/useLogic/useLogic.d.ts +1 -1
- package/node/components/DescriptionCell/constants.js +4 -4
- package/node/components/DescriptionCell/styles.js +2 -2
- package/node/components/DescriptionCell/useLogic/useLogic.js +2 -2
- package/node/components/DescriptionList/styles.d.ts +2 -8
- package/node/components/Dialog/Dialog.d.ts +2 -2
- package/node/components/Dialog/Dialog.js +2 -2
- package/node/components/Dialog/styles.d.ts +1 -1
- package/node/components/Dialog/styles.js +28 -4
- package/node/components/DialogActions/DialogActions.d.ts +2 -2
- package/node/components/DialogActions/styles.d.ts +1 -1
- package/node/components/DialogActions/styles.js +5 -2
- package/node/components/DialogContent/DialogContent.d.ts +2 -2
- package/node/components/DialogContent/styles.d.ts +1 -1
- package/node/components/DialogContent/styles.js +5 -2
- package/node/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/node/components/DialogContentText/styles.d.ts +1 -1
- package/node/components/DialogContentText/styles.js +5 -2
- package/node/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/node/components/DialogHeader/DialogHeader.js +2 -2
- package/node/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/node/components/DialogTitle/DialogTitle.js +6 -3
- package/node/components/Divider/Divider.d.ts +2 -2
- package/node/components/Divider/Divider.js +5 -2
- package/node/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/node/components/DropdownButton/DropdownButton.js +7 -4
- package/node/components/EmailField/EmailField.js +2 -2
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
- package/node/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/node/components/ErrorBoundary/ErrorBoundary.js +4 -3
- package/node/components/ExpansionPanel/Summary/Summary.js +2 -2
- package/node/components/ExpansionPanel/constants.js +6 -6
- package/node/components/ExpansionPanel/useLogic/useLogic.js +2 -2
- package/node/components/Fab/Fab.d.ts +2 -2
- package/node/components/Fab/styles.d.ts +1 -1
- package/node/components/Fab/styles.js +8 -4
- package/node/components/Fieldset/styles.d.ts +4 -16
- package/node/components/Filename/Filename.js +2 -2
- package/node/components/Filename/styles.d.ts +2 -8
- package/node/components/FlowButton/FlowButton.js +2 -2
- package/node/components/FlowButton/styles.d.ts +5 -11
- package/node/components/FormControl/FormControl.d.ts +2 -2
- package/node/components/FormControl/FormControl.js +5 -2
- package/node/components/FormControlLabel/styles.d.ts +1 -1
- package/node/components/FormControlLabel/styles.js +5 -2
- package/node/components/FormControlLabel/types.d.ts +1 -1
- package/node/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/node/components/FormHelperText/FormHelperText.js +5 -2
- package/node/components/FormHelperText/FormHelperTextContent/styles.js +4 -3
- package/node/components/FormLabel/FormLabel.d.ts +2 -2
- package/node/components/FormLabel/styles.d.ts +1 -1
- package/node/components/FormLabel/styles.js +5 -2
- package/node/components/GlobalStyles/GlobalStyles.js +8 -4
- package/node/components/GuidTypography/GuidTypography.js +3 -3
- package/node/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +2 -2
- package/node/components/HintIcon/constants.js +10 -7
- package/node/components/HintIcon/useLogic/useLogic.js +2 -2
- package/node/components/IconButton/IconButton.d.ts +3 -3
- package/node/components/IconButton/styles.d.ts +3 -3
- package/node/components/IconDropdownButton/IconDropdownButton.js +7 -4
- package/node/components/InfiniteDataList/InfiniteDataList.js +2 -2
- package/node/components/InfiniteDataList/NoData/NoData.js +2 -2
- package/node/components/InfiniteDataList/constants.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +2 -2
- package/node/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/InfiniteTreeList/constants.js +3 -3
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +8 -6
- package/node/components/InputGroup/styles.js +12 -11
- package/node/components/JsonViewer/JsonNode/styles.js +2 -2
- package/node/components/JsonViewer/JsonNode/useLogic/useLogic.js +2 -2
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +12 -11
- package/node/components/JsonViewer/JsonViewer.js +6 -4
- package/node/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/LegacyNotification/constants.js +4 -4
- package/node/components/LegacyNotification/styles.js +8 -5
- package/node/components/Link/Link.d.ts +3 -3
- package/node/components/Link/Link.js +4 -3
- package/node/components/Link/styles.d.ts +1 -1
- package/node/components/Link/styles.js +5 -2
- package/node/components/List/List.d.ts +1 -1
- package/node/components/ListItem/styles.d.ts +2 -2
- package/node/components/ListItem/styles.js +5 -2
- package/node/components/ListItem/types.d.ts +1 -1
- package/node/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/node/components/ListItemAvatar/ListItemAvatar.js +5 -2
- package/node/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/node/components/ListItemButton/ListItemButton.js +5 -2
- package/node/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/node/components/ListItemIcon/styles.d.ts +1 -1
- package/node/components/ListItemIcon/styles.js +5 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -2
- package/node/components/ListItemText/ListItemText.d.ts +1 -1
- package/node/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/node/components/ListSubheader/ListSubheader.js +5 -2
- package/node/components/Loader/Loader.js +2 -2
- package/node/components/Loader/constants.js +2 -2
- package/node/components/Menu/Menu.d.ts +2 -2
- package/node/components/Menu/Menu.js +5 -2
- package/node/components/MenuGroup/styles.d.ts +2 -8
- package/node/components/MenuItem/MenuItem.d.ts +2 -2
- package/node/components/MenuItem/MenuItem.js +5 -2
- package/node/components/MenuList/styles.d.ts +1 -1
- package/node/components/MenuList/styles.js +5 -2
- package/node/components/MenuList/types.d.ts +1 -1
- package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/node/components/MenuOrganization/constants.js +3 -3
- package/node/components/MenuOrganization/styles.d.ts +2 -8
- package/node/components/MenuOrganization/types.d.ts +1 -1
- package/node/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/node/components/MenuOrganization/useLogic/useLogic.js +2 -2
- package/node/components/MinimalisticPagination/MinimalisticPagination.js +3 -2
- package/node/components/MinimalisticPagination/styles.d.ts +2 -8
- package/node/components/NavMenu/Item/ItemButton/ItemButton.js +2 -2
- package/node/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/node/components/NavMenu/Item/ItemButton/styles.js +4 -3
- package/node/components/NavMenu/Item/List/List.js +7 -4
- package/node/components/NavMenu/NavMenu.js +5 -2
- package/node/components/NotFoundPage/constants.js +2 -2
- package/node/components/NotFoundPage/styles.d.ts +4 -16
- package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -2
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
- package/node/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +2 -2
- package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/Notification/constants.js +8 -8
- package/node/components/Notification/styles.js +8 -5
- package/node/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/node/components/NotificationList/ListItem/ListItem.js +2 -2
- package/node/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/node/components/NotificationList/SettingsButton/SettingsButton.js +2 -2
- package/node/components/NumberField/NumberField.d.ts +1 -1
- package/node/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +2 -2
- package/node/components/OverflowTypography/index.d.ts +1 -0
- package/node/components/OverflowTypography/public.d.ts +1 -0
- package/node/components/OverflowTypography/styles.d.ts +4 -16
- package/node/components/OverflowTypography/types.d.ts +32 -0
- package/node/components/OverflowTypography/types.js +2 -0
- package/node/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/node/components/OverflowTypography/useLogic/useLogic.js +2 -2
- package/node/components/PageAsideBlock/styles.js +4 -4
- package/node/components/PageContent/PageContent.js +2 -2
- package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/node/components/PageContent/constants.js +5 -5
- package/node/components/PageContent/useLogic/useLogic.js +2 -2
- package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/node/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.js +31 -4
- package/node/components/PageHeader/PageActions/MainActions/styles.js +2 -2
- package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageHeader.js +2 -2
- package/node/components/PageHeader/Title/Title.js +2 -2
- package/node/components/PageHeader/Title/styles.d.ts +6 -12
- package/node/components/PageHeader/constants.js +5 -5
- package/node/components/PageHeader/hooks/usePageTitle/usePageTitle.js +2 -2
- package/node/components/PageHeader/types.d.ts +1 -1
- package/node/components/PageHeader/useLogic/useLogic.js +4 -4
- package/node/components/PageLayout/PageLayout.js +2 -2
- package/node/components/PageLayoutContainer/PageLayoutContainer.js +2 -2
- package/node/components/PageLayoutContainer/constants.js +2 -2
- package/node/components/PageLayoutLoader/PageLayoutLoader.js +2 -2
- package/node/components/PagePinnableAside/PagePinnableAside.js +3 -3
- package/node/components/PagePinnableAside/constants.js +4 -3
- package/node/components/PagePinnableAside/useLogic/useLogic.js +2 -2
- package/node/components/Pagination/PaginationItem/PaginationItem.js +4 -3
- package/node/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/node/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/node/components/Paper/Paper.d.ts +2 -2
- package/node/components/Paper/styles.d.ts +1 -1
- package/node/components/Paper/styles.js +5 -2
- package/node/components/PasswordField/PasswordField.js +5 -4
- package/node/components/PdfViewer/ControlBar/ControlBar.js +3 -2
- package/node/components/PdfViewer/PdfDocument/PdfDocument.js +2 -2
- package/node/components/PdfViewer/PdfViewer.js +2 -2
- package/node/components/PdfViewer/constants.js +5 -5
- package/node/components/PdfViewer/useLogic/useLogic.js +2 -2
- package/node/components/PinButton/PinButton.js +5 -4
- package/node/components/PinButton/constants.js +2 -2
- package/node/components/PinButton/styles.d.ts +5 -11
- package/node/components/Popover/Popover.d.ts +2 -2
- package/node/components/Popover/styles.d.ts +1 -1
- package/node/components/Popover/styles.js +7 -3
- package/node/components/Product/styles.d.ts +3 -3
- package/node/components/ProductSwitcher/Content/Content.js +2 -2
- package/node/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/node/components/ProductSwitcher/Content/styles.js +4 -4
- package/node/components/ProductSwitcher/ProductSwitcher.js +2 -2
- package/node/components/ProductSwitcher/styles.js +2 -2
- package/node/components/ProductSwitcher/useLogic/useLogic.js +2 -2
- package/node/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/node/components/Profile/MenuList/MenuList.js +4 -4
- package/node/components/Profile/MenuList/styles.d.ts +2 -2
- package/node/components/Profile/MenuList/styles.js +4 -4
- package/node/components/Profile/Profile.js +7 -4
- package/node/components/Profile/constants.js +2 -2
- package/node/components/Profile/styles.d.ts +3 -3
- package/node/components/Profile/types.d.ts +4 -2
- package/node/components/ProgressBar/ProgressBar.js +5 -2
- package/node/components/Radio/Radio.js +2 -2
- package/node/components/Radio/constants.js +8 -8
- package/node/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/node/components/Radio/useLogic/useLogic.js +4 -4
- package/node/components/RadioCard/RadioCard.js +2 -2
- package/node/components/RadioCard/constants.js +3 -3
- package/node/components/RadioField/styles.d.ts +1 -1
- package/node/components/RadioField/styles.js +7 -3
- package/node/components/RedesignBanner/useLogic/useLogic.js +2 -2
- package/node/components/ScrollToTopButton/ScrollToTopButton.js +2 -2
- package/node/components/SearchField/SearchField.js +2 -2
- package/node/components/SearchField/styles.d.ts +3 -3
- package/node/components/SearchField/styles.js +2 -2
- package/node/components/SearchField/useLogic/useLogic.js +4 -3
- package/node/components/Select/Select.d.ts +1 -71
- package/node/components/Select/Select.js +11 -4
- package/node/components/Select/index.d.ts +1 -0
- package/node/components/Select/public.d.ts +1 -0
- package/node/components/Select/styles.d.ts +2 -2
- package/node/components/Select/styles.js +5 -2
- package/node/components/Select/types.d.ts +49 -0
- package/node/components/Select/types.js +2 -0
- package/node/components/Select/useLogic/useLogic.d.ts +1 -1
- package/node/components/Select/useLogic/useLogic.js +9 -8
- package/node/components/SideDialog/SideDialog.d.ts +2 -2
- package/node/components/SideDialog/styles.d.ts +2 -2
- package/node/components/SideDialog/styles.js +29 -4
- package/node/components/SideDialogActions/types.d.ts +2 -2
- package/node/components/SideDialogContent/types.d.ts +2 -2
- package/node/components/SideDialogContentText/types.d.ts +2 -2
- package/node/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/node/components/SideDialogTitle/styles.d.ts +1 -1
- package/node/components/Skeleton/Skeleton.d.ts +2 -2
- package/node/components/Skeleton/styles.d.ts +1 -1
- package/node/components/Skeleton/styles.js +27 -4
- package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/constants.js +5 -5
- package/node/components/StepSlider/StepSlider.d.ts +1 -1
- package/node/components/StepSlider/StepSlider.js +2 -2
- package/node/components/Stepper/ArrowConnector/ArrowConnector.js +2 -2
- package/node/components/Stepper/Step/index.d.ts +1 -1
- package/node/components/Stepper/Step/index.js +5 -2
- package/node/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/node/components/Stepper/StepButton/styles.d.ts +1 -1
- package/node/components/Stepper/StepButton/styles.js +4 -4
- package/node/components/Stepper/StepConnector/index.d.ts +3 -3
- package/node/components/Stepper/StepConnector/index.js +5 -2
- package/node/components/Stepper/StepContent/index.d.ts +1 -1
- package/node/components/Stepper/StepContent/index.js +5 -2
- package/node/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/node/components/Stepper/StepIcon/styles.js +8 -6
- package/node/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/node/components/Stepper/StepLabel/StepLabel.js +5 -2
- package/node/components/Stepper/Stepper.d.ts +2 -2
- package/node/components/Stepper/constants.js +2 -2
- package/node/components/Stepper/styles.d.ts +1 -1
- package/node/components/Stepper/styles.js +17 -10
- package/node/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/node/components/StepperWizard/index.d.ts +2 -2
- package/node/components/StepperWizard/public.d.ts +2 -2
- package/node/components/StepperWizard/types.d.ts +12 -0
- package/node/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/node/components/SvgIcon/SvgIcon.js +2 -2
- package/node/components/SvgIcon/constants.js +2 -2
- package/node/components/Switch/Switch.d.ts +2 -2
- package/node/components/Switch/styles.d.ts +1 -1
- package/node/components/Switch/styles.js +31 -7
- package/node/components/Tabs/Tab/Tab.d.ts +2 -2
- package/node/components/Tabs/Tab/styles.d.ts +1 -1
- package/node/components/Tabs/Tab/styles.js +5 -2
- package/node/components/Tabs/Tabs.d.ts +2 -2
- package/node/components/Tabs/styles.d.ts +1 -1
- package/node/components/Tabs/styles.js +27 -4
- package/node/components/Tag/Tag.js +2 -2
- package/node/components/Tag/constants.js +14 -14
- package/node/components/Tag/styles.d.ts +4 -4
- package/node/components/Tag/styles.js +5 -4
- package/node/components/Tag/useLogic/useLogic.js +2 -2
- package/node/components/TagBadge/TagBadge.js +2 -2
- package/node/components/TagsList/TagsList.d.ts +1 -28
- package/node/components/TagsList/types.d.ts +28 -0
- package/node/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/node/components/TagsList/useLogic/useLogic.js +2 -2
- package/node/components/TextField/TextField.d.ts +2 -2
- package/node/components/TextField/TextField.js +2 -2
- package/node/components/TextField/constants.js +2 -2
- package/node/components/TextField/styles.d.ts +2 -2
- package/node/components/TextField/styles.js +7 -3
- package/node/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/node/components/ThemeProvider/ThemeProvider.js +5 -2
- package/node/components/ToggleButton/styles.d.ts +1 -1
- package/node/components/ToggleButton/styles.js +30 -5
- package/node/components/ToggleButton/types.d.ts +2 -2
- package/node/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/node/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/node/components/ToggleButtonGroup/styles.js +5 -2
- package/node/components/Tooltip/Tooltip.d.ts +2 -2
- package/node/components/Tooltip/constants.js +2 -2
- package/node/components/Tooltip/styles.d.ts +2 -2
- package/node/components/Tooltip/styles.js +31 -8
- package/node/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/node/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/styles.js +2 -2
- package/node/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/useLogic/useLogic.js +2 -2
- package/node/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/node/components/Tree/TreeItem/constants.js +3 -3
- package/node/components/Tree/TreeItem/index.d.ts +2 -1
- package/node/components/Tree/TreeItem/index.js +3 -1
- package/node/components/Tree/TreeItem/styles.d.ts +23 -35
- package/node/components/Tree/TreeItem/styles.js +6 -6
- package/node/components/Tree/TreeItem/types.d.ts +70 -0
- package/node/components/Tree/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/node/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/node/components/Tree/TreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeList.js +2 -2
- package/node/components/Tree/TreeList/constants.js +2 -2
- package/node/components/Tree/TreeList/types.d.ts +1 -1
- package/node/components/Tree/TreeList/useLogic/useLogic.js +4 -4
- package/node/components/TreeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/node/components/TreeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/node/components/TreeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/node/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/styles.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +6 -4
- package/node/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/node/components/TreeLikeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/Input/styles.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/node/components/TreeLikeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/node/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/styles.js +4 -4
- package/node/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeList/types.d.ts +1 -1
- package/node/components/Typography/Typography.d.ts +7 -58
- package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +2 -2
- package/node/components/Typography/index.d.ts +1 -1
- package/node/components/Typography/index.js +0 -1
- package/node/components/Typography/public.d.ts +1 -1
- package/node/components/Typography/public.js +0 -1
- package/node/components/Typography/styles.d.ts +1 -1
- package/node/components/Typography/styles.js +5 -2
- package/node/components/Typography/types.d.ts +31 -0
- package/node/components/WelcomeScreen/styles.d.ts +4 -16
- package/node/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/node/components/fileUploading/FileInfo/styles.js +2 -2
- package/node/components/fileUploading/FileUploader/FileUploader.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Actions/Actions.js +8 -4
- package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +3 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +6 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +2 -2
- package/node/components/fileUploading/constants.js +4 -4
- package/node/components/fileUploading/hooks/useFileUploader/useFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +2 -2
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.js +2 -2
- package/node/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/node/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/node/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/node/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/node/components/hooks/useViewportType/useViewportType.js +7 -3
- package/node/components/index.d.ts +57 -8
- package/node/components/index.js +105 -31
- package/node/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/node/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +5 -2
- package/node/components/placeholders/LoadingPlaceholder/constants.js +2 -2
- package/node/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/node/components/styled/mixins/list/list.js +1 -1
- package/node/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/node/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/node/components/styled/styled.d.ts +1 -2
- package/node/components/theme/baseTheme/baseTheme.js +5 -5
- package/node/components/theme/breakpoints.d.ts +1 -1
- package/node/components/theme/components/MuiAlert.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.js +3 -3
- package/node/components/theme/components/MuiButton.d.ts +1 -1
- package/node/components/theme/components/MuiButton.js +42 -42
- package/node/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/node/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/node/components/theme/components/MuiDialog.d.ts +1 -1
- package/node/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/node/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.js +2 -2
- package/node/components/theme/components/MuiDrawer.d.ts +1 -1
- package/node/components/theme/components/MuiDrawer.js +3 -2
- package/node/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/node/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/node/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/node/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/node/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/node/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/node/components/theme/components/MuiListItemText.d.ts +1 -1
- package/node/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.js +5 -4
- package/node/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/node/components/theme/components/MuiMenuItem.js +4 -4
- package/node/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/node/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/node/components/theme/components/MuiPaper.d.ts +1 -1
- package/node/components/theme/components/MuiStep.d.ts +1 -1
- package/node/components/theme/components/MuiStep.js +4 -4
- package/node/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.js +2 -2
- package/node/components/theme/components/MuiSwitch.d.ts +1 -1
- package/node/components/theme/components/MuiTab.d.ts +1 -1
- package/node/components/theme/components/MuiTableCell.d.ts +1 -1
- package/node/components/theme/components/MuiTableHead.d.ts +1 -1
- package/node/components/theme/components/MuiTableRow.d.ts +1 -1
- package/node/components/theme/components/MuiTabs.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.js +9 -7
- package/node/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/node/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/node/components/theme/components/MuiTypography.d.ts +1 -1
- package/node/components/theme/components/components.d.ts +1 -1
- package/node/components/theme/types.d.ts +123 -2
- package/node/components/theme/types.js +119 -0
- package/node/components/transitions/Fade/Fade.d.ts +1 -1
- package/node/components/transitions/Fade/Fade.js +5 -2
- package/node/components/transitions/Grow/Grow.d.ts +1 -1
- package/node/components/transitions/Grow/Grow.js +5 -2
- package/node/components/transitions/Slide/Slide.d.ts +2 -2
- package/node/components/transitions/Slide/Slide.js +5 -2
- package/node/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/node/components/transitions/Zoom/Zoom.js +5 -2
- package/node/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/node/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +2 -2
- package/node/hook-form/EditableText/EditableText.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +2 -2
- package/node/hook-form/EditableText/styles.d.ts +2 -8
- package/node/hook-form/EditableText/styles.js +2 -2
- package/node/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/EditableText/useLogic/useLogic.js +2 -2
- package/node/hook-form/Form/Form.d.ts +1 -1
- package/node/hook-form/Form/Form.js +2 -2
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +2 -2
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormAutocomplete/FormAutocomplete.js +2 -2
- package/node/hook-form/FormCheckboxField/FormCheckboxField.js +2 -2
- package/node/hook-form/FormCodeField/FormCodeField.js +2 -2
- package/node/hook-form/FormDatePicker/FormDatePicker.js +4 -3
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +4 -3
- package/node/hook-form/FormEmailField/FormEmailField.js +2 -2
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +2 -2
- package/node/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/node/hook-form/FormFileUploader/FormFileUploader.js +4 -4
- package/node/hook-form/FormMaskField/FormMaskField.js +2 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +4 -4
- package/node/hook-form/FormNumberField/FormNumberField.js +2 -2
- package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayout/FormPageLayout.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
- package/node/hook-form/FormPageLayoutBase/constants.js +5 -5
- package/node/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/FormPasswordField/FormPasswordField.js +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +4 -4
- package/node/hook-form/FormRadioGroup/FormRadioGroup.js +2 -2
- package/node/hook-form/FormSelect/FormSelect.js +2 -2
- package/node/hook-form/FormSubmitButton/FormSubmitButton.js +2 -2
- package/node/hook-form/FormTextArea/FormTextArea.js +2 -2
- package/node/hook-form/FormTextField/FormTextField.js +2 -2
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +2 -2
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +2 -2
- package/node/hook-form/FormWizard/Footer/Footer.js +4 -3
- package/node/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/node/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +4 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +2 -2
- package/node/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +2 -2
- package/package.json +1 -1
- package/components/fileUploading/index.d.ts +0 -8
- package/components/fileUploading/index.js +0 -8
- package/components/hooks/index.d.ts +0 -24
- package/components/hooks/index.js +0 -24
- package/components/placeholders/index.d.ts +0 -4
- package/components/placeholders/index.js +0 -4
- package/components/theme/index.d.ts +0 -9
- package/components/theme/index.js +0 -9
- package/components/theme/typography.d.ts +0 -122
- package/components/theme/typography.js +0 -117
- package/components/transitions/index.d.ts +0 -4
- package/components/transitions/index.js +0 -4
- package/components/types/index.d.ts +0 -6
- package/components/types/index.js +0 -6
- package/components/utils/index.d.ts +0 -18
- package/components/utils/index.js +0 -18
- package/node/components/fileUploading/index.d.ts +0 -8
- package/node/components/fileUploading/index.js +0 -21
- package/node/components/hooks/index.d.ts +0 -24
- package/node/components/hooks/index.js +0 -51
- package/node/components/placeholders/index.d.ts +0 -4
- package/node/components/placeholders/index.js +0 -12
- package/node/components/theme/index.d.ts +0 -9
- package/node/components/theme/index.js +0 -25
- package/node/components/theme/typography.d.ts +0 -122
- package/node/components/theme/typography.js +0 -121
- package/node/components/transitions/index.d.ts +0 -4
- package/node/components/transitions/index.js +0 -11
- package/node/components/types/index.d.ts +0 -6
- package/node/components/types/index.js +0 -22
- package/node/components/utils/index.d.ts +0 -18
- package/node/components/utils/index.js +0 -34
|
@@ -13,16 +13,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
13
13
|
Tooltip?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
Arrow?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
15
|
} | undefined;
|
|
16
|
-
slot?: string | undefined;
|
|
17
|
-
style?: import("react").CSSProperties | undefined;
|
|
18
|
-
title: import("react").ReactNode;
|
|
19
|
-
inert?: boolean | undefined;
|
|
20
|
-
color?: string | undefined;
|
|
21
|
-
content?: string | undefined;
|
|
22
|
-
translate?: "no" | "yes" | undefined;
|
|
23
16
|
classes?: Partial<import("@mui/material").TooltipClasses> | undefined;
|
|
24
|
-
className?: string | undefined;
|
|
25
|
-
children: import("react").ReactElement<any, any>;
|
|
26
17
|
defaultChecked?: boolean | undefined;
|
|
27
18
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
28
19
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -30,20 +21,26 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
30
21
|
accessKey?: string | undefined;
|
|
31
22
|
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
32
23
|
autoFocus?: boolean | undefined;
|
|
24
|
+
className?: string | undefined;
|
|
33
25
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
34
26
|
contextMenu?: string | undefined;
|
|
35
27
|
dir?: string | undefined;
|
|
36
28
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
37
|
-
enterKeyHint?: "
|
|
29
|
+
enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
38
30
|
hidden?: boolean | undefined;
|
|
39
31
|
id?: string | undefined;
|
|
40
32
|
lang?: string | undefined;
|
|
41
33
|
nonce?: string | undefined;
|
|
34
|
+
slot?: string | undefined;
|
|
42
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
36
|
+
style?: import("react").CSSProperties | undefined;
|
|
43
37
|
tabIndex?: number | undefined;
|
|
38
|
+
title: import("react").ReactNode;
|
|
39
|
+
translate?: "yes" | "no" | undefined;
|
|
44
40
|
radioGroup?: string | undefined;
|
|
45
41
|
role?: import("react").AriaRole | undefined;
|
|
46
42
|
about?: string | undefined;
|
|
43
|
+
content?: string | undefined;
|
|
47
44
|
datatype?: string | undefined;
|
|
48
45
|
inlist?: any;
|
|
49
46
|
prefix?: string | undefined;
|
|
@@ -55,6 +52,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
55
52
|
vocab?: string | undefined;
|
|
56
53
|
autoCorrect?: string | undefined;
|
|
57
54
|
autoSave?: string | undefined;
|
|
55
|
+
color?: string | undefined;
|
|
58
56
|
itemProp?: string | undefined;
|
|
59
57
|
itemScope?: boolean | undefined;
|
|
60
58
|
itemType?: string | undefined;
|
|
@@ -66,13 +64,14 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
66
64
|
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
67
65
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
68
66
|
popoverTarget?: string | undefined;
|
|
67
|
+
inert?: boolean | undefined;
|
|
69
68
|
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
70
69
|
is?: string | undefined;
|
|
71
70
|
exportparts?: string | undefined;
|
|
72
71
|
part?: string | undefined;
|
|
73
72
|
"aria-activedescendant"?: string | undefined;
|
|
74
73
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
75
|
-
"aria-autocomplete"?: "
|
|
74
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
76
75
|
"aria-braillelabel"?: string | undefined;
|
|
77
76
|
"aria-brailleroledescription"?: string | undefined;
|
|
78
77
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -82,7 +81,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
82
81
|
"aria-colindextext"?: string | undefined;
|
|
83
82
|
"aria-colspan"?: number | undefined;
|
|
84
83
|
"aria-controls"?: string | undefined;
|
|
85
|
-
"aria-current"?: boolean | "time" | "
|
|
84
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
86
85
|
"aria-describedby"?: string | undefined;
|
|
87
86
|
"aria-description"?: string | undefined;
|
|
88
87
|
"aria-details"?: string | undefined;
|
|
@@ -92,7 +91,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
92
91
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
93
92
|
"aria-flowto"?: string | undefined;
|
|
94
93
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
95
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "
|
|
94
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
96
95
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
97
96
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
98
97
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -109,7 +108,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
109
108
|
"aria-posinset"?: number | undefined;
|
|
110
109
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
111
110
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
112
|
-
"aria-relevant"?: "
|
|
111
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
113
112
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
114
113
|
"aria-roledescription"?: string | undefined;
|
|
115
114
|
"aria-rowcount"?: number | undefined;
|
|
@@ -123,6 +122,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
123
122
|
"aria-valuemin"?: number | undefined;
|
|
124
123
|
"aria-valuenow"?: number | undefined;
|
|
125
124
|
"aria-valuetext"?: string | undefined;
|
|
125
|
+
children: import("react").ReactElement<any, any>;
|
|
126
126
|
dangerouslySetInnerHTML?: {
|
|
127
127
|
__html: string | TrustedHTML;
|
|
128
128
|
} | undefined;
|
|
@@ -294,6 +294,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
294
294
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
295
295
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
296
296
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
297
|
+
open?: boolean | undefined;
|
|
297
298
|
size?: import("../..").TooltipSize | undefined;
|
|
298
299
|
componentsProps?: {
|
|
299
300
|
popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
@@ -302,7 +303,6 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
302
303
|
arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
|
|
303
304
|
} | undefined;
|
|
304
305
|
onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
|
305
|
-
open?: boolean | undefined;
|
|
306
306
|
slots?: {
|
|
307
307
|
popper?: import("react").ElementType<import("@mui/material").PopperProps, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
308
308
|
transition?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -319,7 +319,6 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
319
319
|
children: import("react").ReactElement<any, any>;
|
|
320
320
|
}> | undefined;
|
|
321
321
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
322
|
-
placement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
323
322
|
arrow?: boolean | undefined;
|
|
324
323
|
describeChild?: boolean | undefined;
|
|
325
324
|
disableFocusListener?: boolean | undefined;
|
|
@@ -333,6 +332,7 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
333
332
|
leaveDelay?: number | undefined;
|
|
334
333
|
leaveTouchDelay?: number | undefined;
|
|
335
334
|
onOpen?: ((event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
|
335
|
+
placement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
336
336
|
PopperComponent?: import("react").JSXElementConstructor<import("@mui/material").PopperProps> | undefined;
|
|
337
337
|
PopperProps?: Partial<import("@mui/material").PopperProps> | undefined;
|
|
338
338
|
withoutContainer?: boolean | undefined;
|
|
@@ -342,17 +342,11 @@ export declare const StyledFilename: import("@emotion/styled/dist/declarations/s
|
|
|
342
342
|
} & import("react").RefAttributes<HTMLElement> & {
|
|
343
343
|
theme?: import("@emotion/react").Theme | undefined;
|
|
344
344
|
}, {}, {}>;
|
|
345
|
-
export declare const FileSize: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
|
|
346
|
-
children?: import("react").ReactNode;
|
|
347
|
-
align?: "inherit" | "left" | "right" | "center" | "justify" | undefined;
|
|
348
|
-
gutterBottom?: boolean | undefined;
|
|
349
|
-
noWrap?: boolean | undefined;
|
|
350
|
-
paragraph?: boolean | undefined;
|
|
351
|
-
} & {
|
|
345
|
+
export declare const FileSize: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../../Typography/types").TypographyPropsBase & {
|
|
352
346
|
color?: import("../../Typography").TypographyColor | undefined;
|
|
353
347
|
variant?: import("../../Typography").TypographyVariant | undefined;
|
|
354
348
|
colorIntensity?: import("../../Typography").Intensity | undefined;
|
|
355
|
-
component?:
|
|
349
|
+
component?: import("../../Typography/types").ComponentProp | undefined;
|
|
356
350
|
isUpperCase?: boolean | undefined;
|
|
357
351
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
358
352
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DotIcon = exports.FileSize = exports.StyledFilename = exports.Wrapper = void 0;
|
|
4
|
-
const
|
|
4
|
+
const DotOutlineSm_1 = require("../../../icons/DotOutlineSm");
|
|
5
5
|
const Filename_1 = require("../../Filename");
|
|
6
6
|
const styled_1 = require("../../styled");
|
|
7
7
|
const Typography_1 = require("../../Typography");
|
|
@@ -22,7 +22,7 @@ exports.FileSize = (0, styled_1.styled)(Typography_1.Typography) `
|
|
|
22
22
|
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
`;
|
|
25
|
-
exports.DotIcon = (0, styled_1.styled)(
|
|
25
|
+
exports.DotIcon = (0, styled_1.styled)(DotOutlineSm_1.DotOutlineSm) `
|
|
26
26
|
width: 16px;
|
|
27
27
|
height: 16px;
|
|
28
28
|
`;
|
|
@@ -4,9 +4,9 @@ exports.FileUploader = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const FileUploaderDropzone_1 = require("../FileUploaderDropzone");
|
|
7
|
-
const
|
|
7
|
+
const useFileUploader_1 = require("../hooks/useFileUploader");
|
|
8
8
|
const FIleList_1 = require("./FIleList");
|
|
9
9
|
exports.FileUploader = (0, react_1.forwardRef)((props, forwardedRef) => {
|
|
10
|
-
const { dropZoneProps, fileListProps } = (0,
|
|
10
|
+
const { dropZoneProps, fileListProps } = (0, useFileUploader_1.useFileUploader)(props);
|
|
11
11
|
return ((0, jsx_runtime_1.jsx)(FileUploaderDropzone_1.FileUploaderDropzone, { ref: forwardedRef, ...dropZoneProps, children: (0, jsx_runtime_1.jsx)(FIleList_1.FileList, { ...fileListProps }) }));
|
|
12
12
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type FileInputProps } from '../FileInput';
|
|
3
|
-
import { type useDnD } from '../hooks';
|
|
3
|
+
import { type useDnD } from '../hooks/useDnD';
|
|
4
4
|
import { type UploadButtonProps } from '../UploadButton';
|
|
5
5
|
import { type DropzoneWrapperProps } from './DropzoneWrapper';
|
|
6
6
|
import { type FileUploaderContainerProps } from './FileUploaderContainer';
|
package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.HintPlaceholder = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const formatFileSizeToView_1 = require("@astral/utils/file/formatFileSizeToView");
|
|
6
6
|
const Typography_1 = require("../../../Typography");
|
|
7
|
-
const
|
|
7
|
+
const declensionFile_1 = require("../../utils/declensionFile");
|
|
8
8
|
const styles_1 = require("./styles");
|
|
9
9
|
const useLogic_1 = require("./useLogic");
|
|
10
10
|
const HintPlaceholder = (props) => {
|
|
@@ -13,7 +13,7 @@ const HintPlaceholder = (props) => {
|
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)(Typography_1.Typography, { className: className, color: "grey", colorIntensity: "600", variant: "caption", align: "center", children: placeholder }));
|
|
14
14
|
}
|
|
15
15
|
if (isMultiple) {
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, { className: className, color: "grey", colorIntensity: "600", variant: "caption", align: "center", children: ["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B. \u041D\u0435 \u0431\u043E\u043B\u0435\u0435 ", maxFileCount, ' ', (0,
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, { className: className, color: "grey", colorIntensity: "600", variant: "caption", align: "center", children: ["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B. \u041D\u0435 \u0431\u043E\u043B\u0435\u0435 ", maxFileCount, ' ', (0, declensionFile_1.declensionFile)(maxFileCount), " \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u043D\u0435 \u0431\u043E\u043B\u0435\u0435", ' ', (0, formatFileSizeToView_1.formatFileSizeToView)(maxFileSize), extensions && ' в формате ', (0, jsx_runtime_1.jsx)(styles_1.Extensions, { children: extensions })] }));
|
|
17
17
|
}
|
|
18
18
|
return ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, { className: className, color: "grey", colorIntensity: "600", variant: "caption", align: "center", children: ["\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B. \u0420\u0430\u0437\u043C\u0435\u0440\u043E\u043C \u043D\u0435 \u0431\u043E\u043B\u0435\u0435", ' ', (0, formatFileSizeToView_1.formatFileSizeToView)(maxFileSize), extensions && ' в формате ', (0, jsx_runtime_1.jsx)(styles_1.Extensions, { children: extensions })] }));
|
|
19
19
|
};
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LimitMaxFilePlaceholder = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Typography_1 = require("../../../Typography");
|
|
6
|
-
const
|
|
7
|
-
const LimitMaxFilePlaceholder = ({ maxFileCount, className, }) => ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, { className: className, component: "p", color: "textSecondary", variant: "caption", align: "center", children: ["\u0412\u044B \u0434\u043E\u0441\u0442\u0438\u0433\u043B\u0438 \u043B\u0438\u043C\u0438\u0442\u0430 \u0432 ", maxFileCount, " ", (0,
|
|
6
|
+
const declensionFile_1 = require("../../utils/declensionFile");
|
|
7
|
+
const LimitMaxFilePlaceholder = ({ maxFileCount, className, }) => ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, { className: className, component: "p", color: "textSecondary", variant: "caption", align: "center", children: ["\u0412\u044B \u0434\u043E\u0441\u0442\u0438\u0433\u043B\u0438 \u043B\u0438\u043C\u0438\u0442\u0430 \u0432 ", maxFileCount, " ", (0, declensionFile_1.declensionFile)(maxFileCount), ". \u0414\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u043E\u0432\u044B\u0445 \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u0438\u0437 \u0442\u0435\u043A\u0443\u0449\u0438\u0445"] }));
|
|
8
8
|
exports.LimitMaxFilePlaceholder = LimitMaxFilePlaceholder;
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Actions = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const BinOutlineMd_1 = require("../../../../icons/BinOutlineMd");
|
|
6
|
+
const CrossOutlineMd_1 = require("../../../../icons/CrossOutlineMd");
|
|
7
|
+
const DownloadOutlineMd_1 = require("../../../../icons/DownloadOutlineMd");
|
|
8
|
+
const EyeOutlineMd_1 = require("../../../../icons/EyeOutlineMd");
|
|
9
|
+
const RetryOutlineMd_1 = require("../../../../icons/RetryOutlineMd");
|
|
6
10
|
const IconButton_1 = require("../../../IconButton");
|
|
7
11
|
const Tooltip_1 = require("../../../Tooltip");
|
|
8
12
|
const styles_1 = require("./styles");
|
|
@@ -10,12 +14,12 @@ const useLogic_1 = require("./useLogic");
|
|
|
10
14
|
const Actions = (props) => {
|
|
11
15
|
const { downloadButtonProps, viewButtonProps, isVisibleAbortButton, isVisibleRetryButton, handleAbort, handleDelete, handleRetry, isLoading, isError, fileName, } = (0, useLogic_1.useLogic)(props);
|
|
12
16
|
if (isLoading) {
|
|
13
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: isVisibleAbortButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleAbort, children: (0, jsx_runtime_1.jsx)(
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: isVisibleAbortButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleAbort, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }) })) }));
|
|
14
18
|
}
|
|
15
19
|
if (isError) {
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleRetry, children: (0, jsx_runtime_1.jsx)(
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleRetry, children: (0, jsx_runtime_1.jsx)(RetryOutlineMd_1.RetryOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleDelete, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }) })] }));
|
|
17
21
|
}
|
|
18
22
|
const { isShowViewButton, ...restViewButtonProps } = viewButtonProps;
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isShowViewButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", ...restViewButtonProps, children: (0, jsx_runtime_1.jsx)(
|
|
23
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [isShowViewButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", ...restViewButtonProps, children: (0, jsx_runtime_1.jsx)(EyeOutlineMd_1.EyeOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { component: "a", variant: "text", download: fileName, ...downloadButtonProps, children: (0, jsx_runtime_1.jsx)(DownloadOutlineMd_1.DownloadOutlineMd, {}) }) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleDelete, children: (0, jsx_runtime_1.jsx)(BinOutlineMd_1.BinOutlineMd, {}) }) })] }));
|
|
20
24
|
};
|
|
21
25
|
exports.Actions = Actions;
|
|
@@ -5,11 +5,11 @@ const getFileExtension_1 = require("@astral/utils/file/getFileExtension");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const ConfigProvider_1 = require("../../../../ConfigProvider");
|
|
7
7
|
const constants_1 = require("../../../constants");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const useGenerateLocalFileURL_1 = require("../../../hooks/useGenerateLocalFileURL");
|
|
9
|
+
const generateAttrLinkNewTab_1 = require("../../../utils/generateAttrLinkNewTab");
|
|
10
10
|
const useLogic = ({ fileId, file, fileUrl, isUploadError, generateDownloadLink, onDelete, onRetry, onView, setErrorStatusFile, selfFiles, isLoading, isError, fileName, }) => {
|
|
11
11
|
const { captureException } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
|
|
12
|
-
const { generateUrl } = (0,
|
|
12
|
+
const { generateUrl } = (0, useGenerateLocalFileURL_1.useGenerateLocalFileURL)();
|
|
13
13
|
const { controller } = selfFiles[fileId] || {};
|
|
14
14
|
const isVisibleAbortButton = Boolean(controller);
|
|
15
15
|
const isVisibleRetryButton = Boolean(isUploadError && onRetry);
|
|
@@ -49,7 +49,7 @@ const useLogic = ({ fileId, file, fileUrl, isUploadError, generateDownloadLink,
|
|
|
49
49
|
if (checkIsAcceptedExtension(extension)) {
|
|
50
50
|
return {
|
|
51
51
|
isShowViewButton: true,
|
|
52
|
-
...(0,
|
|
52
|
+
...(0, generateAttrLinkNewTab_1.generateAttrLinkNewTab)(downloadLink),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FileUploaderFile = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Typography_1 = require("../../Typography");
|
|
6
|
-
const
|
|
6
|
+
const Grow_1 = require("../../transitions/Grow");
|
|
7
7
|
const FileInfo_1 = require("../FileInfo");
|
|
8
8
|
const Actions_1 = require("./Actions");
|
|
9
9
|
const Progress_1 = require("./Progress");
|
|
@@ -12,6 +12,6 @@ const FileUploaderFile = (props) => {
|
|
|
12
12
|
const { id, name, file, url, size, status, ...actions } = props;
|
|
13
13
|
const { isLoading, isUploadError, isRestrictionError, errorMsg, progress } = status || {};
|
|
14
14
|
const isError = isUploadError || isRestrictionError;
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)(Grow_1.Grow, { in: true, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isLoading": isLoading, "$isError": isError, children: [(0, jsx_runtime_1.jsxs)(styles_1.Content, { children: [(0, jsx_runtime_1.jsx)(FileInfo_1.FileInfo, { fileName: name, fileSize: size }), isLoading && (0, jsx_runtime_1.jsx)(Progress_1.Progress, { progress: progress }), isError && ((0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }))] }), (0, jsx_runtime_1.jsx)(Actions_1.Actions, { fileId: id, file: file, fileName: name, fileUrl: url, isLoading: isLoading, isError: isError, isUploadError: isUploadError, ...actions })] }) }));
|
|
16
16
|
};
|
|
17
17
|
exports.FileUploaderFile = FileUploaderFile;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useInterval_1 = require("../../../../hooks/useInterval");
|
|
6
6
|
// При достижении указанного значения прогресс-бар остановится
|
|
7
7
|
const STOP_VALUE = 80;
|
|
8
8
|
const useLogic = ({ progress }) => {
|
|
@@ -11,7 +11,7 @@ const useLogic = ({ progress }) => {
|
|
|
11
11
|
const playFakeProgress = () => {
|
|
12
12
|
setFakeProgress((prevValue) => prevValue + 10);
|
|
13
13
|
};
|
|
14
|
-
(0,
|
|
14
|
+
(0, useInterval_1.useInterval)(() => {
|
|
15
15
|
if (!isRealProgress) {
|
|
16
16
|
playFakeProgress();
|
|
17
17
|
}
|
|
@@ -34,7 +34,7 @@ export declare const useLogic: ({ accept, placeholderImgSrc, ...rest }: UseLogic
|
|
|
34
34
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}> | import("@emotion/styled").StyledComponent<{
|
|
35
35
|
theme?: import("@emotion/react").Theme | undefined;
|
|
36
36
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
37
|
-
} & Pick<import("react").AllHTMLAttributes<HTMLImageElement>, "
|
|
37
|
+
} & Pick<import("react").AllHTMLAttributes<HTMLImageElement>, "className" | "height" | "width" | "alt" | "src"> & {
|
|
38
38
|
size?: import("../../../..").PlaceholderSize | undefined;
|
|
39
39
|
}, {}, {}>;
|
|
40
40
|
extensions: string | undefined;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FileError = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const CrossOutlineMd_1 = require("../../../../icons/CrossOutlineMd");
|
|
6
|
+
const RetryOutlineMd_1 = require("../../../../icons/RetryOutlineMd");
|
|
6
7
|
const IconButton_1 = require("../../../IconButton");
|
|
7
8
|
const Tooltip_1 = require("../../../Tooltip");
|
|
8
9
|
const Typography_1 = require("../../../Typography");
|
|
@@ -12,6 +13,6 @@ const useLogic_1 = require("./useLogic");
|
|
|
12
13
|
const FileError = (props) => {
|
|
13
14
|
const { isVisibleRetryButton, imageProps, deleteButtonProps, retryButtonProps, RenderImage, } = (0, useLogic_1.useLogic)(props);
|
|
14
15
|
const { fileName, fileSize, errorMsg } = props;
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(RenderImage, { ...imageProps, alt: "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u044B\u0439 \u0444\u0430\u0439\u043B" }), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, children: [(0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsxs)(styles_1.Actions, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...retryButtonProps, children: (0, jsx_runtime_1.jsx)(
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(RenderImage, { ...imageProps, alt: "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u044B\u0439 \u0444\u0430\u0439\u043B" }), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "error", children: errorMsg }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, children: [(0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsxs)(styles_1.Actions, { children: [isVisibleRetryButton && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0443", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...retryButtonProps, children: (0, jsx_runtime_1.jsx)(RetryOutlineMd_1.RetryOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...deleteButtonProps, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }) })] })] })] }));
|
|
16
17
|
};
|
|
17
18
|
exports.FileError = FileError;
|
package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const useLogic: ({ fileId, file, isUploadError, onDelete, onRetry
|
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}> | import("@emotion/styled").StyledComponent<{
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
|
-
} & Pick<import("react").AllHTMLAttributes<HTMLImageElement>, "
|
|
12
|
+
} & Pick<import("react").AllHTMLAttributes<HTMLImageElement>, "className" | "height" | "width" | "alt" | "src"> & {
|
|
13
13
|
size?: import("../../../..").PlaceholderSize | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
imageProps: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useInterval_1 = require("../../../../../hooks/useInterval");
|
|
6
6
|
// При достижении указанного значения прогресс-бар остановится
|
|
7
7
|
const STOP_VALUE = 80;
|
|
8
8
|
const useLogic = ({ progress }) => {
|
|
@@ -11,7 +11,7 @@ const useLogic = ({ progress }) => {
|
|
|
11
11
|
const playFakeProgress = () => {
|
|
12
12
|
setFakeProgress((prevValue) => prevValue + 10);
|
|
13
13
|
};
|
|
14
|
-
(0,
|
|
14
|
+
(0, useInterval_1.useInterval)(() => {
|
|
15
15
|
if (!isRealProgress) {
|
|
16
16
|
playFakeProgress();
|
|
17
17
|
}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FilePreview = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const BinOutlineMd_1 = require("../../../../icons/BinOutlineMd");
|
|
6
|
+
const DownloadOutlineMd_1 = require("../../../../icons/DownloadOutlineMd");
|
|
7
|
+
const EyeOutlineMd_1 = require("../../../../icons/EyeOutlineMd");
|
|
6
8
|
const Button_1 = require("../../../Button");
|
|
7
|
-
const
|
|
9
|
+
const useViewportType_1 = require("../../../hooks/useViewportType");
|
|
8
10
|
const IconButton_1 = require("../../../IconButton");
|
|
9
11
|
const Tooltip_1 = require("../../../Tooltip");
|
|
10
12
|
const Typography_1 = require("../../../Typography");
|
|
@@ -15,7 +17,7 @@ const useLogic_1 = require("./useLogic");
|
|
|
15
17
|
const FilePreview = (props) => {
|
|
16
18
|
const { viewButtonProps, downloadButtonProps, deleteButtonProps, isImageFile, isPdfFile, isOtherFile, } = (0, useLogic_1.useLogic)(props);
|
|
17
19
|
const { file, fileName, fileSize, fileUrl, generateDownloadLink, isHidePersonalData, PdfViewer, } = props;
|
|
18
|
-
const { isMobile } = (0,
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Preview_1.Preview, { isImageFile: isImageFile, isPdfFile: isPdfFile, file: file, fileUrl: fileUrl, generateDownloadLink: generateDownloadLink, isHidePersonalData: isHidePersonalData, PdfViewer: PdfViewer }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, "$isOtherFile": isOtherFile, children: [isOtherFile && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h6", children: "\u0424\u0430\u0439\u043B \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D" }), (0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { "$isOtherFile": isOtherFile, fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(styles_1.Actions, { children: isMobile && isOtherFile ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { variant: "light", color: "grey", ...deleteButtonProps, children: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C" })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [!isOtherFile && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...viewButtonProps, children: (0, jsx_runtime_1.jsx)(
|
|
20
|
+
const { isMobile } = (0, useViewportType_1.useViewportType)();
|
|
21
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { children: [(0, jsx_runtime_1.jsx)(Preview_1.Preview, { isImageFile: isImageFile, isPdfFile: isPdfFile, file: file, fileUrl: fileUrl, generateDownloadLink: generateDownloadLink, isHidePersonalData: isHidePersonalData, PdfViewer: PdfViewer }), (0, jsx_runtime_1.jsxs)(styles_1.Details, { className: constants_1.previewFileUploaderClassnames.details, "$isOtherFile": isOtherFile, children: [isOtherFile && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h6", children: "\u0424\u0430\u0439\u043B \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D" }), (0, jsx_runtime_1.jsx)(styles_1.StyledFileInfo, { "$isOtherFile": isOtherFile, fileName: fileName, fileSize: fileSize }), (0, jsx_runtime_1.jsx)(styles_1.Actions, { children: isMobile && isOtherFile ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { variant: "light", color: "grey", ...deleteButtonProps, children: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C" })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [!isOtherFile && ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...viewButtonProps, children: (0, jsx_runtime_1.jsx)(EyeOutlineMd_1.EyeOutlineMd, {}) }) })), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { component: "a", variant: "light", color: "grey", download: fileName, ...downloadButtonProps, children: (0, jsx_runtime_1.jsx)(DownloadOutlineMd_1.DownloadOutlineMd, {}) }) }), (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", disableInteractive: true, children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "light", color: "grey", ...deleteButtonProps, children: (0, jsx_runtime_1.jsx)(BinOutlineMd_1.BinOutlineMd, {}) }) })] })) })] })] }));
|
|
20
22
|
};
|
|
21
23
|
exports.FilePreview = FilePreview;
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const personalDataSecurity_1 = require("../../../../../personalDataSecurity");
|
|
6
|
-
const
|
|
6
|
+
const useGenerateLocalFileURL_1 = require("../../../../hooks/useGenerateLocalFileURL");
|
|
7
7
|
const useLogic = ({ file, fileUrl, isHidePersonalData, }) => {
|
|
8
|
-
const { generateUrl } = (0,
|
|
8
|
+
const { generateUrl } = (0, useGenerateLocalFileURL_1.useGenerateLocalFileURL)();
|
|
9
9
|
const generateSrc = () => {
|
|
10
10
|
if (fileUrl) {
|
|
11
11
|
return fileUrl;
|
package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js
CHANGED
|
@@ -5,11 +5,11 @@ const getFileExtension_1 = require("@astral/utils/file/getFileExtension");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const ConfigProvider_1 = require("../../../../ConfigProvider");
|
|
7
7
|
const constants_1 = require("../../../constants");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const useGenerateLocalFileURL_1 = require("../../../hooks/useGenerateLocalFileURL");
|
|
9
|
+
const generateAttrLinkNewTab_1 = require("../../../utils/generateAttrLinkNewTab");
|
|
10
10
|
const useLogic = ({ fileId, file, fileUrl, generateDownloadLink, onDelete, onView, fileType, }) => {
|
|
11
11
|
const { captureException } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
|
|
12
|
-
const { generateUrl } = (0,
|
|
12
|
+
const { generateUrl } = (0, useGenerateLocalFileURL_1.useGenerateLocalFileURL)();
|
|
13
13
|
const extensionFile = (0, getFileExtension_1.getFileExtension)((file?.type || fileType));
|
|
14
14
|
const isPdfFile = Object.is(extensionFile, 'pdf');
|
|
15
15
|
const isImageFile = fileType.includes('image/');
|
|
@@ -44,7 +44,7 @@ const useLogic = ({ fileId, file, fileUrl, generateDownloadLink, onDelete, onVie
|
|
|
44
44
|
}
|
|
45
45
|
const extension = (0, getFileExtension_1.getFileExtension)((file?.type || fileType));
|
|
46
46
|
if (checkIsAcceptedExtension(extension)) {
|
|
47
|
-
return (0,
|
|
47
|
+
return (0, generateAttrLinkNewTab_1.generateAttrLinkNewTab)(downloadLink);
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
50
|
onClick: () => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PreviewFileUploaderFile = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const Fade_1 = require("../../transitions/Fade");
|
|
6
6
|
const FileError_1 = require("./FileError");
|
|
7
7
|
const FileLoading_1 = require("./FileLoading");
|
|
8
8
|
const FilePreview_1 = require("./FilePreview");
|
|
@@ -11,6 +11,6 @@ const PreviewFileUploaderFile = (props) => {
|
|
|
11
11
|
const { id, name, type, file, url, size, status, generateDownloadLink, onRetry, onDelete, onView, selfFiles, setErrorStatusFile, isHidePersonalData, PdfViewer, } = props;
|
|
12
12
|
const { isLoading, isUploadError, isRestrictionError, errorMsg, progress } = status || {};
|
|
13
13
|
const isError = isUploadError || isRestrictionError;
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)(Fade_1.Fade, { in: true, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isLoading": isLoading, "$isError": isError, children: [!isLoading && !isError && ((0, jsx_runtime_1.jsx)(FilePreview_1.FilePreview, { fileId: id, fileName: name, fileType: type, file: file, fileUrl: url, fileSize: size, generateDownloadLink: generateDownloadLink, onView: onView, onDelete: onDelete, isHidePersonalData: isHidePersonalData, PdfViewer: PdfViewer })), isLoading && ((0, jsx_runtime_1.jsx)(FileLoading_1.FileLoading, { selfFiles: selfFiles, setErrorStatusFile: setErrorStatusFile, fileId: id, fileName: name, fileSize: size, progress: progress })), isError && ((0, jsx_runtime_1.jsx)(FileError_1.FileError, { fileId: id, fileName: name, file: file, fileSize: size, errorMsg: errorMsg, isUploadError: isUploadError, onRetry: onRetry, onDelete: onDelete }))] }) }));
|
|
15
15
|
};
|
|
16
16
|
exports.PreviewFileUploaderFile = PreviewFileUploaderFile;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.previewFileUploaderClassnames = exports.fileUploaderClassnames = exports.EXTENSIONS_IN_NEW_TAB = exports.VIEW_NEW_TAB_ERROR_MESSAGE = exports.UPLOAD_ERROR_MESSAGE = exports.ABORT_ERROR_MESSAGE = exports.ABORT_ERROR_CODE = exports.DEFAULT_FILE_STATUS = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
|
|
5
5
|
exports.DEFAULT_FILE_STATUS = {
|
|
6
6
|
isLoading: false,
|
|
7
7
|
isUploadError: false,
|
|
@@ -13,9 +13,9 @@ exports.UPLOAD_ERROR_MESSAGE = 'Ошибка загрузки';
|
|
|
13
13
|
exports.VIEW_NEW_TAB_ERROR_MESSAGE = 'Файл с таким расширением нельзя просмотреть в браузере.';
|
|
14
14
|
exports.EXTENSIONS_IN_NEW_TAB = ['jpg', 'jpeg', 'png', 'txt', 'pdf'];
|
|
15
15
|
exports.fileUploaderClassnames = {
|
|
16
|
-
dropzone: (0,
|
|
16
|
+
dropzone: (0, createUIKitClassname_1.createUIKitClassname)('file-uploader__dropzone'),
|
|
17
17
|
};
|
|
18
18
|
exports.previewFileUploaderClassnames = {
|
|
19
|
-
dropzone: (0,
|
|
20
|
-
details: (0,
|
|
19
|
+
dropzone: (0, createUIKitClassname_1.createUIKitClassname)('preview-file-uploader__dropzone'),
|
|
20
|
+
details: (0, createUIKitClassname_1.createUIKitClassname)('preview-file-uploader__details'),
|
|
21
21
|
};
|
|
@@ -8,7 +8,9 @@ const useGenerateLocalId_1 = require("../../../hooks/useGenerateLocalId");
|
|
|
8
8
|
const useId_1 = require("../../../hooks/useId");
|
|
9
9
|
const constants_1 = require("../../constants");
|
|
10
10
|
const restrictions_1 = require("../../restrictions");
|
|
11
|
-
const
|
|
11
|
+
const compareFile_1 = require("../../utils/compareFile");
|
|
12
|
+
const rulePipe_1 = require("../../utils/rulePipe");
|
|
13
|
+
const toArray_1 = require("../../utils/toArray");
|
|
12
14
|
const useDnD_1 = require("../useDnD");
|
|
13
15
|
const useUploadFiles_1 = require("../useUploadFiles");
|
|
14
16
|
const useFileUploader = ({ value, isDisabled, isMultiple, accept, restrictions = [], maxFileSize, maxFileCount = 1, // для случая, когда isMultiple=false
|
|
@@ -16,13 +18,13 @@ inputRef, notify, onChange, onUploadFile, name, isError, onView, generateDownloa
|
|
|
16
18
|
const inputId = (0, useId_1.useId)();
|
|
17
19
|
const { generateId } = (0, useGenerateLocalId_1.useGenerateLocalId)();
|
|
18
20
|
// Преобразуем value к массиву
|
|
19
|
-
const files = (0, react_1.useMemo)(() => (0,
|
|
21
|
+
const files = (0, react_1.useMemo)(() => (0, toArray_1.toArray)(value), [value]);
|
|
20
22
|
// true, если достигли лимита по кол-ву файлов при isMultiple=true
|
|
21
23
|
const isLimitMaxFileCount = isMultiple ? files.length >= maxFileCount : false;
|
|
22
24
|
const isVisibleAddFile = isMultiple ? !isLimitMaxFileCount : !files.length;
|
|
23
25
|
const isVisibleFileList = Boolean(files.length);
|
|
24
26
|
const restrict = (file) => {
|
|
25
|
-
return (0,
|
|
27
|
+
return (0, rulePipe_1.rulePipe)((0, restrictions_1.restrictFileMaxSize)(formatFileSizeToView_1.formatFileSizeToView, maxFileSize), (0, restrictions_1.restrictFileType)(accept), ...restrictions)(file);
|
|
26
28
|
};
|
|
27
29
|
const declensionFile = (0, declensionOfWords_1.declensionOfWords)(['файл', 'файла', 'файлов']);
|
|
28
30
|
const declensionAdded = (0, declensionOfWords_1.declensionOfWords)([
|
|
@@ -57,7 +59,7 @@ inputRef, notify, onChange, onUploadFile, name, isError, onView, generateDownloa
|
|
|
57
59
|
});
|
|
58
60
|
const handleChange = (event) => {
|
|
59
61
|
// Преобразуем к массиву и удаляем дубликаты
|
|
60
|
-
const droppedFiles = Array.from(event.target.files || []).filter((droppedFile) => !files.find((file) => (0,
|
|
62
|
+
const droppedFiles = Array.from(event.target.files || []).filter((droppedFile) => !files.find((file) => (0, compareFile_1.compareFile)(droppedFile, file)));
|
|
61
63
|
const addedFiles = droppedFiles
|
|
62
64
|
.slice(0, maxFileCount - files.length)
|
|
63
65
|
.reduce((acc, droppedFile) => {
|
package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js
CHANGED
|
@@ -8,18 +8,20 @@ const useGenerateLocalId_1 = require("../../../hooks/useGenerateLocalId");
|
|
|
8
8
|
const useId_1 = require("../../../hooks/useId");
|
|
9
9
|
const constants_1 = require("../../constants");
|
|
10
10
|
const restrictions_1 = require("../../restrictions");
|
|
11
|
-
const
|
|
11
|
+
const compareFile_1 = require("../../utils/compareFile");
|
|
12
|
+
const rulePipe_1 = require("../../utils/rulePipe");
|
|
13
|
+
const toArray_1 = require("../../utils/toArray");
|
|
12
14
|
const useDnD_1 = require("../useDnD");
|
|
13
15
|
const useUploadFiles_1 = require("../useUploadFiles");
|
|
14
16
|
const usePreviewFileUploader = ({ value, isDisabled, accept, restrictions = [], maxFileSize, inputRef, notify, onChange, onUploadFile, label, isError, generateDownloadLink, onView, name, helperText, className, placeholder, placeholderImgSrc, isHidePersonalData, PdfViewer, }) => {
|
|
15
17
|
const inputId = (0, useId_1.useId)();
|
|
16
18
|
const { generateId } = (0, useGenerateLocalId_1.useGenerateLocalId)();
|
|
17
19
|
// Преобразуем value к массиву
|
|
18
|
-
const files = (0, react_1.useMemo)(() => (0,
|
|
20
|
+
const files = (0, react_1.useMemo)(() => (0, toArray_1.toArray)(value), [value]);
|
|
19
21
|
const isVisibleAddFile = !files.length;
|
|
20
22
|
const isVisibleFileList = Boolean(files.length);
|
|
21
23
|
const restrict = (file) => {
|
|
22
|
-
return (0,
|
|
24
|
+
return (0, rulePipe_1.rulePipe)((0, restrictions_1.restrictFileMaxSize)(formatFileSizeToView_1.formatFileSizeToView, maxFileSize), ...(accept ? [(0, restrictions_1.restrictFileType)(accept)] : []), ...restrictions)(file);
|
|
23
25
|
};
|
|
24
26
|
const declensionFile = (0, declensionOfWords_1.declensionOfWords)(['файл', 'файла', 'файлов']);
|
|
25
27
|
const declensionAdded = (0, declensionOfWords_1.declensionOfWords)([
|
|
@@ -49,7 +51,7 @@ const usePreviewFileUploader = ({ value, isDisabled, accept, restrictions = [],
|
|
|
49
51
|
});
|
|
50
52
|
const handleChange = (event) => {
|
|
51
53
|
// Преобразуем к массиву и удаляем дубликаты
|
|
52
|
-
const droppedFiles = Array.from(event.target.files || []).filter((droppedFile) => !files.find((file) => (0,
|
|
54
|
+
const droppedFiles = Array.from(event.target.files || []).filter((droppedFile) => !files.find((file) => (0, compareFile_1.compareFile)(droppedFile, file)));
|
|
53
55
|
const addedFiles = droppedFiles
|
|
54
56
|
.slice(0, 1 - files.length)
|
|
55
57
|
.reduce((acc, droppedFile) => {
|