@astral/ui 4.18.4 → 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/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 +1 -1
- package/components/Alert/constants.js +1 -1
- package/components/Alert/styles.d.ts +4 -16
- 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 +1 -1
- package/components/AutoSaveIndicator/styles.d.ts +4 -16
- package/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/components/Autocomplete/Autocomplete.js +3 -3
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/public.d.ts +1 -1
- package/components/Autocomplete/types.d.ts +49 -0
- package/components/Autocomplete/useLogic/useLogic.d.ts +1 -1
- package/components/Avatar/types.d.ts +1 -1
- package/components/AvatarGroup/AvatarGroup.d.ts +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/Banner/constants.js +1 -1
- package/components/BottomDrawer/BottomDrawer.d.ts +1 -1
- package/components/BottomDrawer/styles.d.ts +3 -9
- package/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/components/BulletListItem/BulletListItem.js +1 -1
- package/components/Button/Button.d.ts +3 -43
- package/components/Button/Button.js +1 -1
- package/components/Button/constants.js +1 -1
- package/components/Button/types.d.ts +25 -0
- package/components/Button/useLogic/useLogic.d.ts +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 +1 -1
- package/components/Checkbox/Icon/Icon.js +1 -1
- package/components/Checkbox/constants.js +1 -1
- package/components/Checkbox/useLogic/useLogic.js +1 -1
- package/components/CheckboxField/constants.js +1 -1
- package/components/Chevron/Chevron.d.ts +1 -1
- package/components/CodeField/styles.d.ts +2 -8
- package/components/Collapse/Collapse.d.ts +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/components/CollapsibleTypography/styles.d.ts +2 -8
- 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 +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/types.d.ts +36 -0
- package/components/ConfirmDialog/types.js +1 -0
- package/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/components/ContentState/ContentState.js +2 -1
- package/components/ContentState/types.d.ts +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/types.d.ts +23 -0
- package/components/CopyTypography/types.js +1 -0
- package/components/CopyTypography/useLogic/useLogic.d.ts +2 -2
- package/components/Counter/Counter.d.ts +1 -1
- package/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/components/DashboardLayout/Header/Header.js +1 -1
- package/components/DashboardLayout/Header/constants.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 +2 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +1 -1
- package/components/DashboardSidebarPopover/styles.d.ts +2 -8
- package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
- 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/NoData/NoData.d.ts +1 -1
- package/components/DataGrid/NoData/NoData.js +1 -1
- package/components/DataGrid/Row/Row.js +1 -1
- package/components/DataGrid/Row/constants.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 +2 -1
- package/components/DataGridInfinite/DataGridInfinite.js +2 -1
- package/components/DataGridInfinite/NoData/NoData.js +1 -1
- package/components/DataGridInfinite/useLogic/useLogic.js +2 -1
- package/components/DataGridPagination/styles.d.ts +2 -8
- package/components/DataGridPaginationContainer/styles.d.ts +2 -8
- 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/DatePickerPopover/DatePickerPopover.d.ts +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/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/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/types.d.ts +44 -0
- package/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/components/Description/Value/styles.d.ts +4 -16
- package/components/Description/constants.js +1 -1
- package/components/DescriptionCell/constants.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 +1 -1
- package/components/DialogActions/DialogActions.d.ts +1 -1
- package/components/DialogContent/DialogContent.d.ts +1 -1
- package/components/DialogContentText/DialogContentText.d.ts +1 -1
- package/components/DialogContentText/styles.d.ts +1 -1
- package/components/DialogTitle/DialogTitle.d.ts +1 -1
- package/components/Divider/Divider.d.ts +1 -1
- package/components/EmailField/EmailField.js +1 -1
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +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/Fab/Fab.d.ts +1 -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/styles.d.ts +2 -8
- package/components/FormControl/FormControl.d.ts +1 -1
- package/components/FormControlLabel/types.d.ts +1 -1
- package/components/FormHelperText/FormHelperText.d.ts +1 -1
- package/components/FormLabel/FormLabel.d.ts +1 -1
- package/components/GuidTypography/GuidTypography.js +1 -1
- package/components/HintIcon/constants.js +1 -1
- package/components/InfiniteDataList/NoData/NoData.js +1 -1
- package/components/InfiniteDataList/constants.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/JsonViewer/NodeValue/styles.d.ts +6 -24
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +4 -16
- package/components/LegacyNotification/constants.js +1 -1
- package/components/Link/Link.d.ts +1 -1
- package/components/Link/styles.d.ts +1 -1
- package/components/List/List.d.ts +1 -1
- package/components/ListItem/styles.d.ts +1 -1
- package/components/ListItem/types.d.ts +1 -1
- package/components/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/components/ListItemButton/ListItemButton.d.ts +1 -1
- package/components/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/components/ListItemText/ListItemText.d.ts +1 -1
- package/components/ListSubheader/ListSubheader.d.ts +1 -1
- package/components/Loader/Loader.js +1 -1
- package/components/Loader/constants.js +1 -1
- package/components/Menu/Menu.d.ts +1 -1
- package/components/MenuGroup/styles.d.ts +2 -8
- package/components/MenuItem/MenuItem.d.ts +1 -1
- package/components/MenuList/types.d.ts +1 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -8
- package/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/components/MenuOrganization/constants.js +1 -1
- package/components/MenuOrganization/styles.d.ts +2 -8
- package/components/MinimalisticPagination/styles.d.ts +2 -8
- package/components/NavMenu/Item/ItemButton/styles.d.ts +2 -8
- package/components/NotFoundPage/constants.js +1 -1
- package/components/NotFoundPage/styles.d.ts +4 -16
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +1 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +4 -16
- package/components/Notification/constants.js +1 -1
- package/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- 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/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 +2 -8
- package/components/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/components/PageHeader/PageHeader.js +1 -1
- package/components/PageHeader/Title/styles.d.ts +2 -8
- package/components/PageHeader/constants.js +1 -1
- package/components/PageHeader/hooks/usePageTitle/usePageTitle.js +1 -1
- package/components/PageHeader/useLogic/useLogic.js +1 -1
- 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 +1 -1
- package/components/PagePinnableAside/constants.js +2 -1
- package/components/Pagination/PaginationItem/styles.d.ts +2 -8
- package/components/Paper/Paper.d.ts +1 -1
- package/components/PasswordField/PasswordField.js +1 -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/PinButton/PinButton.js +1 -1
- package/components/PinButton/constants.js +1 -1
- package/components/PinButton/styles.d.ts +2 -8
- package/components/Popover/Popover.d.ts +1 -1
- package/components/ProductSwitcher/Content/styles.d.ts +2 -8
- package/components/Profile/MenuList/MenuList.d.ts +1 -1
- package/components/Profile/constants.js +1 -1
- package/components/Profile/types.d.ts +2 -1
- package/components/Radio/constants.js +1 -1
- package/components/Radio/useLogic/useLogic.js +1 -1
- package/components/RadioCard/RadioCard.js +1 -1
- package/components/RadioCard/constants.js +1 -1
- package/components/Select/Select.d.ts +1 -71
- package/components/Select/index.d.ts +1 -0
- package/components/Select/public.d.ts +1 -0
- 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 +2 -1
- package/components/SideDialog/SideDialog.d.ts +1 -1
- package/components/SideDialog/styles.d.ts +1 -1
- package/components/SideDialogActions/types.d.ts +1 -1
- package/components/SideDialogContent/types.d.ts +1 -1
- package/components/SideDialogContentText/types.d.ts +1 -1
- package/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/components/SideDialogTitle/styles.d.ts +1 -1
- package/components/Skeleton/Skeleton.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/StepButton/StepButton.d.ts +1 -1
- package/components/Stepper/StepConnector/index.d.ts +1 -1
- package/components/Stepper/StepIcon/StepIcon.d.ts +1 -1
- package/components/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/components/Stepper/Stepper.d.ts +1 -1
- package/components/Stepper/constants.js +1 -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 +1 -1
- package/components/Tabs/Tab/Tab.d.ts +1 -1
- package/components/Tabs/Tabs.d.ts +1 -1
- package/components/Tag/constants.js +1 -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/TextField/TextField.d.ts +1 -1
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/constants.js +1 -1
- package/components/ToggleButton/types.d.ts +1 -1
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/components/Tooltip/Tooltip.d.ts +1 -1
- package/components/Tooltip/constants.js +1 -1
- package/components/Tooltip/styles.d.ts +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/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 +4 -16
- 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/TreeAutocomplete/Input/Input.d.ts +1 -5
- 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/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/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +3 -1
- package/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- 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/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/types.d.ts +1 -1
- package/components/TreeLikeList/types.d.ts +1 -1
- package/components/Typography/Typography.d.ts +7 -58
- 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/types.d.ts +31 -0
- package/components/WelcomeScreen/styles.d.ts +4 -16
- package/components/declaration/mui-material.d.ts +5 -2
- package/components/fileUploading/FileInfo/styles.d.ts +2 -8
- package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +1 -1
- package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +1 -1
- 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/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/index.d.ts +57 -8
- package/components/index.js +57 -8
- package/components/personalDataSecurity/PersonalData/PersonalData.d.ts +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/types.d.ts +121 -1
- package/components/theme/types.js +117 -1
- package/components/transitions/Slide/Slide.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/EditingForm/styles.d.ts +2 -8
- package/hook-form/EditableText/styles.d.ts +2 -8
- package/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/hook-form/EditableText/useLogic/useLogic.js +1 -1
- package/hook-form/Form/Form.js +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.js +1 -1
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +1 -1
- package/hook-form/FormPageLayout/FormPageLayout.js +1 -1
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/hook-form/FormPageLayoutBase/constants.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +1 -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/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 +2 -2
- package/node/components/Alert/constants.js +7 -7
- package/node/components/Alert/styles.d.ts +4 -16
- 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 +1 -1
- package/node/components/AutoSaveIndicator/styles.d.ts +4 -16
- package/node/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/node/components/Autocomplete/Autocomplete.js +2 -2
- package/node/components/Autocomplete/index.d.ts +1 -1
- package/node/components/Autocomplete/public.d.ts +1 -1
- package/node/components/Autocomplete/types.d.ts +49 -0
- package/node/components/Autocomplete/useLogic/useLogic.d.ts +1 -1
- package/node/components/Avatar/types.d.ts +1 -1
- package/node/components/AvatarGroup/AvatarGroup.d.ts +1 -1
- 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/Banner/constants.js +2 -2
- package/node/components/BottomDrawer/BottomDrawer.d.ts +1 -1
- package/node/components/BottomDrawer/styles.d.ts +3 -9
- package/node/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/node/components/BulletListItem/BulletListItem.js +2 -2
- package/node/components/Button/Button.d.ts +3 -43
- package/node/components/Button/Button.js +2 -2
- package/node/components/Button/constants.js +3 -3
- package/node/components/Button/types.d.ts +25 -0
- package/node/components/Button/useLogic/useLogic.d.ts +1 -1
- 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 +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.js +2 -2
- package/node/components/CheckboxField/constants.js +2 -2
- package/node/components/Chevron/Chevron.d.ts +1 -1
- package/node/components/CodeField/styles.d.ts +2 -8
- package/node/components/Collapse/Collapse.d.ts +1 -1
- package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/node/components/CollapsibleTypography/styles.d.ts +2 -8
- 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 +1 -1
- 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/types.d.ts +36 -0
- package/node/components/ConfirmDialog/types.js +2 -0
- package/node/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/node/components/ContentState/ContentState.js +5 -4
- package/node/components/ContentState/types.d.ts +1 -1
- 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/types.d.ts +23 -0
- package/node/components/CopyTypography/types.js +2 -0
- package/node/components/CopyTypography/useLogic/useLogic.d.ts +2 -2
- package/node/components/Counter/Counter.d.ts +1 -1
- package/node/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/node/components/DashboardLayout/Header/Header.js +2 -2
- package/node/components/DashboardLayout/Header/constants.js +3 -3
- 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 +5 -4
- 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 +2 -8
- package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +3 -3
- 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/NoData/NoData.d.ts +1 -1
- package/node/components/DataGrid/NoData/NoData.js +2 -2
- package/node/components/DataGrid/Row/Row.js +4 -4
- package/node/components/DataGrid/Row/constants.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 +6 -5
- package/node/components/DataGridInfinite/DataGridInfinite.js +3 -2
- package/node/components/DataGridInfinite/NoData/NoData.js +2 -2
- package/node/components/DataGridInfinite/useLogic/useLogic.js +3 -2
- package/node/components/DataGridPagination/styles.d.ts +2 -8
- package/node/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/node/components/DatePicker/DatePicker.d.ts +10 -103
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +1 -1
- 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/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/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/types.d.ts +44 -0
- package/node/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/Description/Value/styles.d.ts +4 -16
- package/node/components/Description/constants.js +2 -2
- package/node/components/DescriptionCell/constants.js +4 -4
- 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 +1 -1
- package/node/components/DialogActions/DialogActions.d.ts +1 -1
- package/node/components/DialogContent/DialogContent.d.ts +1 -1
- package/node/components/DialogContentText/DialogContentText.d.ts +1 -1
- package/node/components/DialogContentText/styles.d.ts +1 -1
- package/node/components/DialogTitle/DialogTitle.d.ts +1 -1
- package/node/components/Divider/Divider.d.ts +1 -1
- package/node/components/EmailField/EmailField.js +2 -2
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
- 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/Fab/Fab.d.ts +1 -1
- 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/styles.d.ts +2 -8
- package/node/components/FormControl/FormControl.d.ts +1 -1
- package/node/components/FormControlLabel/types.d.ts +1 -1
- package/node/components/FormHelperText/FormHelperText.d.ts +1 -1
- package/node/components/FormLabel/FormLabel.d.ts +1 -1
- package/node/components/GuidTypography/GuidTypography.js +3 -3
- package/node/components/HintIcon/constants.js +2 -2
- package/node/components/InfiniteDataList/NoData/NoData.js +2 -2
- package/node/components/InfiniteDataList/constants.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/JsonViewer/NodeValue/styles.d.ts +6 -24
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +4 -16
- package/node/components/LegacyNotification/constants.js +4 -4
- package/node/components/Link/Link.d.ts +1 -1
- package/node/components/Link/styles.d.ts +1 -1
- package/node/components/List/List.d.ts +1 -1
- package/node/components/ListItem/styles.d.ts +1 -1
- package/node/components/ListItem/types.d.ts +1 -1
- package/node/components/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/node/components/ListItemButton/ListItemButton.d.ts +1 -1
- package/node/components/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/node/components/ListItemText/ListItemText.d.ts +1 -1
- package/node/components/ListSubheader/ListSubheader.d.ts +1 -1
- package/node/components/Loader/Loader.js +2 -2
- package/node/components/Loader/constants.js +2 -2
- package/node/components/Menu/Menu.d.ts +1 -1
- package/node/components/MenuGroup/styles.d.ts +2 -8
- package/node/components/MenuItem/MenuItem.d.ts +1 -1
- package/node/components/MenuList/types.d.ts +1 -1
- package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -8
- package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/node/components/MenuOrganization/constants.js +3 -3
- package/node/components/MenuOrganization/styles.d.ts +2 -8
- package/node/components/MinimalisticPagination/styles.d.ts +2 -8
- package/node/components/NavMenu/Item/ItemButton/styles.d.ts +2 -8
- package/node/components/NotFoundPage/constants.js +2 -2
- package/node/components/NotFoundPage/styles.d.ts +4 -16
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
- package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +2 -2
- package/node/components/Notification/NotificationTemplate/styles.d.ts +4 -16
- package/node/components/Notification/constants.js +8 -8
- package/node/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/node/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- 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/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 +2 -8
- package/node/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
- package/node/components/PageHeader/PageHeader.js +2 -2
- package/node/components/PageHeader/Title/styles.d.ts +2 -8
- package/node/components/PageHeader/constants.js +5 -5
- package/node/components/PageHeader/hooks/usePageTitle/usePageTitle.js +2 -2
- package/node/components/PageHeader/useLogic/useLogic.js +2 -2
- 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 +2 -2
- package/node/components/PagePinnableAside/constants.js +4 -3
- package/node/components/Pagination/PaginationItem/styles.d.ts +2 -8
- package/node/components/Paper/Paper.d.ts +1 -1
- package/node/components/PasswordField/PasswordField.js +2 -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/PinButton/PinButton.js +2 -2
- package/node/components/PinButton/constants.js +2 -2
- package/node/components/PinButton/styles.d.ts +2 -8
- package/node/components/Popover/Popover.d.ts +1 -1
- package/node/components/ProductSwitcher/Content/styles.d.ts +2 -8
- package/node/components/Profile/MenuList/MenuList.d.ts +1 -1
- package/node/components/Profile/constants.js +2 -2
- package/node/components/Profile/types.d.ts +2 -1
- package/node/components/Radio/constants.js +8 -8
- package/node/components/Radio/useLogic/useLogic.js +2 -2
- package/node/components/RadioCard/RadioCard.js +2 -2
- package/node/components/RadioCard/constants.js +3 -3
- package/node/components/Select/Select.d.ts +1 -71
- package/node/components/Select/index.d.ts +1 -0
- package/node/components/Select/public.d.ts +1 -0
- 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 +5 -4
- package/node/components/SideDialog/SideDialog.d.ts +1 -1
- package/node/components/SideDialog/styles.d.ts +1 -1
- package/node/components/SideDialogActions/types.d.ts +1 -1
- package/node/components/SideDialogContent/types.d.ts +1 -1
- package/node/components/SideDialogContentText/types.d.ts +1 -1
- 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 +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/StepButton/StepButton.d.ts +1 -1
- package/node/components/Stepper/StepConnector/index.d.ts +1 -1
- package/node/components/Stepper/StepIcon/StepIcon.d.ts +1 -1
- package/node/components/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/node/components/Stepper/Stepper.d.ts +1 -1
- package/node/components/Stepper/constants.js +2 -2
- 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 +1 -1
- package/node/components/Tabs/Tab/Tab.d.ts +1 -1
- package/node/components/Tabs/Tabs.d.ts +1 -1
- package/node/components/Tag/constants.js +14 -14
- 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/TextField/TextField.d.ts +1 -1
- package/node/components/TextField/TextField.js +2 -2
- package/node/components/TextField/constants.js +2 -2
- package/node/components/ToggleButton/types.d.ts +1 -1
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/node/components/Tooltip/Tooltip.d.ts +1 -1
- package/node/components/Tooltip/constants.js +2 -2
- package/node/components/Tooltip/styles.d.ts +1 -1
- 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/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 +4 -16
- 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/TreeAutocomplete/Input/Input.d.ts +1 -5
- 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/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/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +6 -4
- package/node/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/node/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- 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/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/types.d.ts +1 -1
- package/node/components/TreeLikeList/types.d.ts +1 -1
- package/node/components/Typography/Typography.d.ts +7 -58
- 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/types.d.ts +31 -0
- package/node/components/WelcomeScreen/styles.d.ts +4 -16
- package/node/components/fileUploading/FileInfo/styles.d.ts +2 -8
- 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/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +2 -2
- 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/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/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/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/types.d.ts +121 -1
- package/node/components/theme/types.js +119 -0
- package/node/components/transitions/Slide/Slide.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/EditingForm/styles.d.ts +2 -8
- package/node/hook-form/EditableText/styles.d.ts +2 -8
- 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.js +2 -2
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/node/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/node/hook-form/FormFileUploader/FormFileUploader.js +2 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
- package/node/hook-form/FormPageLayout/FormPageLayout.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
- package/node/hook-form/FormPageLayoutBase/constants.js +5 -5
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -2
- 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
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TitleWrapper: import("../../styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
align?: "inherit" | "center" | "left" | "right" | "justify" | undefined;
|
|
5
|
-
gutterBottom?: boolean | undefined;
|
|
6
|
-
noWrap?: boolean | undefined;
|
|
7
|
-
paragraph?: boolean | undefined;
|
|
8
|
-
} & {
|
|
2
|
+
export declare const TitleWrapper: import("../../styled").StyledComponent<import("../../Typography/types").TypographyPropsBase & {
|
|
9
3
|
color?: import("../../Typography").TypographyColor | undefined;
|
|
10
4
|
variant?: import("../../Typography").TypographyVariant | undefined;
|
|
11
5
|
colorIntensity?: import("../../Typography").Intensity | undefined;
|
|
12
|
-
component?:
|
|
6
|
+
component?: import("../../Typography/types").ComponentProp | undefined;
|
|
13
7
|
isUpperCase?: boolean | undefined;
|
|
14
8
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
15
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createUIKitClassname } from '../utils';
|
|
1
|
+
import { createUIKitClassname } from '../utils/createUIKitClassname';
|
|
2
2
|
export const pageHeaderClassnames = {
|
|
3
3
|
pageHeaderMobileTitle: createUIKitClassname('page-header__mobile-title'),
|
|
4
4
|
pageHeaderActions: createUIKitClassname('page-header__actions'),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext, useEffect, useRef } from 'react';
|
|
2
2
|
import { ConfigContext } from '../../../ConfigProvider';
|
|
3
|
-
import { getNodeText } from '../../../utils';
|
|
3
|
+
import { getNodeText } from '../../../utils/getNodeText';
|
|
4
4
|
export const usePageTitle = ({ shouldUpdateDocumentTitle, title, htmlTitle, }) => {
|
|
5
5
|
const prevTitleRef = useRef(null);
|
|
6
6
|
const { components } = useContext(ConfigContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext, useMemo } from 'react';
|
|
2
2
|
import { PageContext } from '../../PageContext';
|
|
3
|
-
import { classNames } from '../../utils';
|
|
3
|
+
import { classNames } from '../../utils/classNames';
|
|
4
4
|
import { pageHeaderClassnames } from '../constants';
|
|
5
5
|
import { usePageTitle } from '../hooks/usePageTitle';
|
|
6
6
|
export const useLogic = ({ shouldUpdateDocumentTitle, title, actions, htmlTitle, backButton, }) => {
|
|
@@ -5,7 +5,7 @@ import { PageContent } from '../PageContent';
|
|
|
5
5
|
import { PageContextProvider } from '../PageContext';
|
|
6
6
|
import { PageHeader } from '../PageHeader';
|
|
7
7
|
import { PageLayoutContainer } from '../PageLayoutContainer';
|
|
8
|
-
import { LoadingPlaceholder } from '../placeholders';
|
|
8
|
+
import { LoadingPlaceholder } from '../placeholders/LoadingPlaceholder';
|
|
9
9
|
import { DesktopAlertWrapper, LoaderWrapper, MobileAlertWrapper, } from './styles';
|
|
10
10
|
import { useLogic } from './useLogic';
|
|
11
11
|
export const PageLayout = (props) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import { classNames } from '../utils';
|
|
3
|
+
import { classNames } from '../utils/classNames';
|
|
4
4
|
import { pageLayoutClassnames } from './constants';
|
|
5
5
|
import { StylePaper, Wrapper } from './styles';
|
|
6
6
|
export const PageLayoutContainer = forwardRef(({ children, className }, forwardedRef) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { LoadingPlaceholder } from '../placeholders';
|
|
2
|
+
import { LoadingPlaceholder } from '../placeholders/LoadingPlaceholder';
|
|
3
3
|
import { Wrapper } from './styles';
|
|
4
4
|
/**
|
|
5
5
|
* Легковесный компонент для отображения Suspense fallback для lazy import PageLayout
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MenuOnOutlineMd } from '../../icons/MenuOnOutlineMd';
|
|
3
3
|
import { PinButton } from '../PinButton';
|
|
4
|
-
import { classNames } from '../utils';
|
|
4
|
+
import { classNames } from '../utils/classNames';
|
|
5
5
|
import { pinnableAsideClassnames } from './constants';
|
|
6
6
|
import { Aside, ChildrenWrapper, Content, Dummy, Footer } from './styles';
|
|
7
7
|
import { useLogic } from './useLogic';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { createUIKitClassname
|
|
1
|
+
import { createUIKitClassname } from '../utils/createUIKitClassname';
|
|
2
|
+
import { generateLocalStorageKey } from '../utils/generateLocalStorageKey';
|
|
2
3
|
export const pinnableAsideClassnames = {
|
|
3
4
|
content: createUIKitClassname('pinnable-aside__content'),
|
|
4
5
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Ellipsis: import("../../styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
align?: "inherit" | "center" | "left" | "right" | "justify" | undefined;
|
|
5
|
-
gutterBottom?: boolean | undefined;
|
|
6
|
-
noWrap?: boolean | undefined;
|
|
7
|
-
paragraph?: boolean | undefined;
|
|
8
|
-
} & {
|
|
2
|
+
export declare const Ellipsis: import("../../styled").StyledComponent<import("../../Typography/types").TypographyPropsBase & {
|
|
9
3
|
color?: import("../../Typography").TypographyColor | undefined;
|
|
10
4
|
variant?: import("../../Typography").TypographyVariant | undefined;
|
|
11
5
|
colorIntensity?: import("../../Typography").Intensity | undefined;
|
|
12
|
-
component?:
|
|
6
|
+
component?: import("../../Typography/types").ComponentProp | undefined;
|
|
13
7
|
isUpperCase?: boolean | undefined;
|
|
14
8
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
15
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PaperProps as MuiPaperProps } from '@mui/material/Paper';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
4
|
export type PaperProps = Omit<WithoutEmotionSpecific<MuiPaperProps>, 'elevation'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Определяет, на какой высоте над поверхностью находится элемент. Чем больше значение, тем дальше элемент визуально.
|
|
@@ -5,7 +5,7 @@ import { EyeOutlineMd } from '../../icons/EyeOutlineMd';
|
|
|
5
5
|
import { IconButton } from '../IconButton';
|
|
6
6
|
import { useHidePersonalData } from '../personalDataSecurity';
|
|
7
7
|
import { TextField } from '../TextField';
|
|
8
|
-
import { classNames } from '../utils';
|
|
8
|
+
import { classNames } from '../utils/classNames';
|
|
9
9
|
export const PasswordField = forwardRef(({ label, disabled = false, showSymbols = false, isHidePersonalData, inputProps, ...props }, ref) => {
|
|
10
10
|
const [showPassword, setShowPassword] = useState(showSymbols);
|
|
11
11
|
const handleClickShowPassword = () => setShowPassword((show) => !show);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { classNames } from '../../utils';
|
|
2
|
+
import { classNames } from '../../utils/classNames';
|
|
3
3
|
import { pdfViewerClassnames } from '../constants';
|
|
4
4
|
import { StyledDocument } from './styles';
|
|
5
5
|
import { useLogic } from './useLogic';
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { createElement as _createElement } from "react";
|
|
3
3
|
import { pdfjs } from 'react-pdf';
|
|
4
4
|
import { ContentState } from '../ContentState';
|
|
5
|
-
import { LoadingPlaceholder } from '../placeholders';
|
|
5
|
+
import { LoadingPlaceholder } from '../placeholders/LoadingPlaceholder';
|
|
6
6
|
import { defineWithResolversPolyfill } from '../polyfills';
|
|
7
7
|
import { ControlBar } from './ControlBar';
|
|
8
8
|
import { PDFJS_WORKER_URL } from './constants';
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { PinOutlineMd } from '../../icons/PinOutlineMd';
|
|
3
3
|
import { UnpinOutlineMd } from '../../icons/UnpinOutlineMd';
|
|
4
4
|
import { Collapse } from '../Collapse';
|
|
5
|
-
import { classNames } from '../utils';
|
|
5
|
+
import { classNames } from '../utils/classNames';
|
|
6
6
|
import { pinButtonClassnames } from './constants';
|
|
7
7
|
import { Content, TogglerButton } from './styles';
|
|
8
8
|
export const PinButton = (props) => {
|
|
@@ -8,17 +8,11 @@ export declare const TogglerButton: import("../styled").StyledComponent<Omit<imp
|
|
|
8
8
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
10
|
}, {}, {}>;
|
|
11
|
-
export declare const Content: import("../styled").StyledComponent<{
|
|
12
|
-
children?: import("react").ReactNode;
|
|
13
|
-
align?: "inherit" | "center" | "left" | "right" | "justify" | undefined;
|
|
14
|
-
gutterBottom?: boolean | undefined;
|
|
15
|
-
noWrap?: boolean | undefined;
|
|
16
|
-
paragraph?: boolean | undefined;
|
|
17
|
-
} & {
|
|
11
|
+
export declare const Content: import("../styled").StyledComponent<import("../Typography/types").TypographyPropsBase & {
|
|
18
12
|
color?: import("../Typography").TypographyColor | undefined;
|
|
19
13
|
variant?: import("../Typography").TypographyVariant | undefined;
|
|
20
14
|
colorIntensity?: import("../Typography").Intensity | undefined;
|
|
21
|
-
component?:
|
|
15
|
+
component?: import("../Typography/types").ComponentProp | undefined;
|
|
22
16
|
isUpperCase?: boolean | undefined;
|
|
23
17
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
24
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PopoverProps as MuiPopoverProps } from '@mui/material/Popover';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type PopoverProps = WithoutEmotionSpecific<MuiPopoverProps> & {
|
|
4
4
|
/**
|
|
5
5
|
* Заголовок для отображения в мобильной версии
|
|
@@ -13,17 +13,11 @@ export declare const Logo: import("../../styled").StyledComponent<{
|
|
|
13
13
|
export declare const TitleErrorContainer: import("../../styled").StyledComponent<Omit<import("../../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
15
|
} & import("../../Grid/styles").StyledGridProps, {}, {}>;
|
|
16
|
-
export declare const ProductName: import("../../styled").StyledComponent<{
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
align?: "inherit" | "center" | "left" | "right" | "justify" | undefined;
|
|
19
|
-
gutterBottom?: boolean | undefined;
|
|
20
|
-
noWrap?: boolean | undefined;
|
|
21
|
-
paragraph?: boolean | undefined;
|
|
22
|
-
} & {
|
|
16
|
+
export declare const ProductName: import("../../styled").StyledComponent<import("../../Typography/types").TypographyPropsBase & {
|
|
23
17
|
color?: import("../../Typography").TypographyColor | undefined;
|
|
24
18
|
variant?: import("../../Typography").TypographyVariant | undefined;
|
|
25
19
|
colorIntensity?: import("../../Typography").Intensity | undefined;
|
|
26
|
-
component?:
|
|
20
|
+
component?: import("../../Typography/types").ComponentProp | undefined;
|
|
27
21
|
isUpperCase?: boolean | undefined;
|
|
28
22
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
29
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MenuProps as MuiMenuProps } from '@mui/material/Menu';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../../types/WithoutEmotionSpecific';
|
|
3
3
|
import { type ProfileMenuItemData } from '../types';
|
|
4
4
|
type MenuListProps = WithoutEmotionSpecific<MuiMenuProps> & {
|
|
5
5
|
menuList?: ProfileMenuItemData[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AvatarProps } from '@mui/material/Avatar';
|
|
2
2
|
import type { MenuProps } from '@mui/material/Menu';
|
|
3
3
|
import type { PropsWithChildren, ReactElement, ReactNode } from 'react';
|
|
4
|
-
import type { SyncFunctionComponent
|
|
4
|
+
import type { SyncFunctionComponent } from '../types/SyncFunctionComponent';
|
|
5
|
+
import type { WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
5
6
|
export type ProfileMenuItemData = {
|
|
6
7
|
icon?: ReactNode;
|
|
7
8
|
title: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useState } from 'react';
|
|
2
2
|
import { useUpdateEffect } from '../../hooks/useUpdateEffect';
|
|
3
|
-
import { classNames } from '../../utils';
|
|
3
|
+
import { classNames } from '../../utils/classNames';
|
|
4
4
|
import { radioClassnames } from '../constants';
|
|
5
5
|
export const useLogic = ({ checked = false, disabled = false, isError = false, onChange: propsOnChange, className: propClassNames, name, style, inputRef, value, id, ...restProps }) => {
|
|
6
6
|
const [isChecked, setIsChecked] = useState(checked);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useContext } from 'react';
|
|
3
3
|
import { RadioGroupContext } from '../RadioGroup';
|
|
4
|
-
import { classNames } from '../utils';
|
|
4
|
+
import { classNames } from '../utils/classNames';
|
|
5
5
|
import { radioCardClassnames } from './constants';
|
|
6
6
|
import { Content, StyledRadio, Wrapper } from './styles';
|
|
7
7
|
export const RadioCard = ({ id, disabled: propsIsDisabled, className, header, children, value, ...props }) => {
|
|
@@ -1,87 +1,17 @@
|
|
|
1
|
-
import type { SelectProps as MuiSelectProps } from '@mui/material/Select';
|
|
2
1
|
import { type ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export type SelectProps<TValue> = WithoutEmotionSpecific<Omit<MuiSelectProps<TValue>, 'variant' | 'color' | 'onOpen'>> & {
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
getOptionLabel?: (value: string | number) => string | number;
|
|
8
|
-
/**
|
|
9
|
-
* Добавляет вспомогательный текст под селектом
|
|
10
|
-
*/
|
|
11
|
-
helperText?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Включает/отключает резервирование места под helperText
|
|
14
|
-
*/
|
|
15
|
-
hideHelperText?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Если `false`, кнопка сброса не отобразится
|
|
18
|
-
* @default true
|
|
19
|
-
*/
|
|
20
|
-
isShowClearButton?: boolean;
|
|
21
|
-
success?: boolean;
|
|
22
|
-
error?: boolean;
|
|
23
|
-
label?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Если true, то отобразится option "Выбрать все"
|
|
26
|
-
* работает только с multiple
|
|
27
|
-
*/
|
|
28
|
-
isEnableAllSelection?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Массив value, нужен для работы опции "Выбрать все"
|
|
31
|
-
*/
|
|
32
|
-
valueOptions?: TValue;
|
|
33
|
-
/**
|
|
34
|
-
* Выполняется при выборе всех элементов, после нажатия 'Выбрать все'
|
|
35
|
-
*/
|
|
36
|
-
onSelectAll?: () => void;
|
|
37
|
-
/**
|
|
38
|
-
* Выполняется при отмене выбора всех элементов, после нажатия 'Выбрать все'
|
|
39
|
-
*/
|
|
40
|
-
onUnselectAll?: () => void;
|
|
41
|
-
/**
|
|
42
|
-
* Выполняется при открытии поповера со списком элементов
|
|
43
|
-
*/
|
|
44
|
-
onOpen?: VoidFunction;
|
|
45
|
-
};
|
|
46
|
-
export declare const Select: <TValue>(props: WithoutEmotionSpecific<Omit<MuiSelectProps<TValue>, "color" | "variant" | "onOpen">> & {
|
|
2
|
+
export declare const Select: <TValue>(props: import("..").WithoutEmotionSpecific<Omit<import("@mui/material").SelectProps<TValue>, "color" | "variant" | "onOpen">> & {
|
|
47
3
|
loading?: boolean | undefined;
|
|
48
4
|
placeholder?: string | undefined;
|
|
49
5
|
getOptionLabel?: ((value: string | number) => string | number) | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Добавляет вспомогательный текст под селектом
|
|
52
|
-
*/
|
|
53
6
|
helperText?: ReactNode;
|
|
54
|
-
/**
|
|
55
|
-
* Включает/отключает резервирование места под helperText
|
|
56
|
-
*/
|
|
57
7
|
hideHelperText?: boolean | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* Если `false`, кнопка сброса не отобразится
|
|
60
|
-
* @default true
|
|
61
|
-
*/
|
|
62
8
|
isShowClearButton?: boolean | undefined;
|
|
63
9
|
success?: boolean | undefined;
|
|
64
10
|
error?: boolean | undefined;
|
|
65
11
|
label?: string | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Если true, то отобразится option "Выбрать все"
|
|
68
|
-
* работает только с multiple
|
|
69
|
-
*/
|
|
70
12
|
isEnableAllSelection?: boolean | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Массив value, нужен для работы опции "Выбрать все"
|
|
73
|
-
*/
|
|
74
13
|
valueOptions?: TValue | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Выполняется при выборе всех элементов, после нажатия 'Выбрать все'
|
|
77
|
-
*/
|
|
78
14
|
onSelectAll?: (() => void) | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* Выполняется при отмене выбора всех элементов, после нажатия 'Выбрать все'
|
|
81
|
-
*/
|
|
82
15
|
onUnselectAll?: (() => void) | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Выполняется при открытии поповера со списком элементов
|
|
85
|
-
*/
|
|
86
16
|
onOpen?: VoidFunction | undefined;
|
|
87
17
|
} & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { SelectProps as MuiSelectProps } from '@mui/material/Select';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
|
+
export type SelectProps<TValue> = WithoutEmotionSpecific<Omit<MuiSelectProps<TValue>, 'variant' | 'color' | 'onOpen'>> & {
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
getOptionLabel?: (value: string | number) => string | number;
|
|
8
|
+
/**
|
|
9
|
+
* Добавляет вспомогательный текст под селектом
|
|
10
|
+
*/
|
|
11
|
+
helperText?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Включает/отключает резервирование места под helperText
|
|
14
|
+
*/
|
|
15
|
+
hideHelperText?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Если `false`, кнопка сброса не отобразится
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
isShowClearButton?: boolean;
|
|
21
|
+
success?: boolean;
|
|
22
|
+
error?: boolean;
|
|
23
|
+
label?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Если true, то отобразится option "Выбрать все"
|
|
26
|
+
* работает только с multiple
|
|
27
|
+
*/
|
|
28
|
+
isEnableAllSelection?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Массив value, нужен для работы опции "Выбрать все"
|
|
31
|
+
*/
|
|
32
|
+
valueOptions?: TValue;
|
|
33
|
+
/**
|
|
34
|
+
* Выполняется при выборе всех элементов, после нажатия 'Выбрать все'
|
|
35
|
+
*/
|
|
36
|
+
onSelectAll?: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* Выполняется при отмене выбора всех элементов, после нажатия 'Выбрать все'
|
|
39
|
+
*/
|
|
40
|
+
onUnselectAll?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* Выполняется при открытии поповера со списком элементов
|
|
43
|
+
*/
|
|
44
|
+
onOpen?: VoidFunction;
|
|
45
|
+
};
|
|
46
|
+
export type ClearButtonProps = {
|
|
47
|
+
onClick: () => void;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode, type SyntheticEvent } from 'react';
|
|
2
|
-
import { type SelectProps } from '../
|
|
2
|
+
import { type SelectProps } from '../types';
|
|
3
3
|
export declare const useLogic: <TValue>({ value, onChange, children, open: externalIsOpened, defaultOpen, multiple, isEnableAllSelection, isShowClearButton, valueOptions, onSelectAll, onUnselectAll, name, placeholder, onClose, onOpen, loading, }: SelectProps<TValue>) => {
|
|
4
4
|
isOpened: boolean;
|
|
5
5
|
isNoData: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { menuItemClasses } from '@mui/material/MenuItem';
|
|
2
2
|
import { Children, isValidElement, useRef, useState, } from 'react';
|
|
3
3
|
import { MenuItem } from '../../MenuItem';
|
|
4
|
-
import { getNodeText
|
|
4
|
+
import { getNodeText } from '../../utils/getNodeText';
|
|
5
|
+
import { isSyncReactElement } from '../../utils/isSyncReactElement';
|
|
5
6
|
import { SELECT_ALL_VALUE } from '../constants';
|
|
6
7
|
export const useLogic = ({ value, onChange, children, open: externalIsOpened, defaultOpen, multiple, isEnableAllSelection, isShowClearButton = true, valueOptions, onSelectAll, onUnselectAll, name, placeholder, onClose, onOpen, loading, }) => {
|
|
7
8
|
const [isOpened, setOpened] = useState(!loading && (defaultOpen || externalIsOpened || false));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DrawerProps as MuiDrawerProps } from '@mui/material/Drawer';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
type SideDialogSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
4
4
|
export type SideDialogProps = WithoutEmotionSpecific<Omit<MuiDrawerProps, 'anchor'>> & {
|
|
5
5
|
title?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DrawerProps } from '@mui/material/Drawer';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
type SideDialogSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
4
4
|
export declare const StyledDrawer: import("../styled").StyledComponent<DrawerProps & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DialogActionsProps as MuiDialogActionsProps } from '@mui/material/DialogActions';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type SideDialogActionsProps = WithoutEmotionSpecific<MuiDialogActionsProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DialogContentProps as MuiDialogContentProps } from '@mui/material/DialogContent';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type SideDialogContentProps = WithoutEmotionSpecific<MuiDialogContentProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DialogContentTextProps as MuiDialogContentTextProps } from '@mui/material/DialogContentText';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type SideDialogContentTextProps = WithoutEmotionSpecific<MuiDialogContentTextProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type DialogTitleProps as MuiDialogTitleProps } from '../DialogTitle';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type SideDialogTitleProps = WithoutEmotionSpecific<MuiDialogTitleProps>;
|
|
4
4
|
export declare const SideDialogTitle: (props: SideDialogTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const StyledDialogTitle: import("../styled").StyledComponent<import("..").WithoutEmotionSpecific<import("@mui/material").DialogTitleProps> & {
|
|
2
|
-
onClose?: ((event: {}, reason: "
|
|
2
|
+
onClose?: ((event: {}, reason: "backdropClick" | "escapeKeyDown") => void) | undefined;
|
|
3
3
|
} & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SkeletonProps as MuiSkeletonProps } from '@mui/material/Skeleton';
|
|
2
2
|
import { type ElementType } from 'react';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
4
|
export type SkeletonProps<TComponent extends ElementType, TComponentProps = {}> = Omit<WithoutEmotionSpecific<MuiSkeletonProps<TComponent, TComponentProps>>, 'variant' | 'animation'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Компонент, используемый для корневого узла. Либо строка для использования элемента HTML, либо компонент
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createUIKitClassname } from '../../utils';
|
|
1
|
+
import { createUIKitClassname } from '../../utils/createUIKitClassname';
|
|
2
2
|
export const staticDaysCalendarClassnames = {
|
|
3
3
|
container: createUIKitClassname('static-days_calendar__container'),
|
|
4
4
|
head: createUIKitClassname('static-days_calendar__head'),
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { createElement as _createElement } from "react";
|
|
3
3
|
import { useEffect, useRef, useState } from 'react';
|
|
4
4
|
import { useId } from '../hooks/useId';
|
|
5
|
-
import { Slide } from '../transitions';
|
|
5
|
+
import { Slide } from '../transitions/Slide';
|
|
6
6
|
import { Item, Wrapper } from './styles';
|
|
7
7
|
const TO_LEFT = 'left';
|
|
8
8
|
const TO_RIGHT = 'right';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StepLabelProps as MuiStepLabelProps } from '@mui/material/StepLabel';
|
|
2
|
-
import type { WithoutEmotionSpecific } from '../../types';
|
|
2
|
+
import type { WithoutEmotionSpecific } from '../../types/WithoutEmotionSpecific';
|
|
3
3
|
export type StepButtonProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Если true, текущий шаг будет отображен как активный
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as StepConnector } from '@mui/material/StepConnector';
|
|
2
2
|
import type { StepConnectorProps as StepConnectorPropsMui } from '@mui/material/StepConnector';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../../types/WithoutEmotionSpecific';
|
|
4
4
|
export type StepConnectorProps = WithoutEmotionSpecific<StepConnectorPropsMui>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { StepIconProps as MuiStepIconProps } from '@mui/material/StepIcon';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../../types/WithoutEmotionSpecific';
|
|
4
4
|
export type StepIconProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Является ли шаг в состоянии select
|