@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,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
|
+
};
|
|
@@ -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;
|
|
@@ -4,7 +4,8 @@ exports.useLogic = void 0;
|
|
|
4
4
|
const MenuItem_1 = require("@mui/material/MenuItem");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const MenuItem_2 = require("../../MenuItem");
|
|
7
|
-
const
|
|
7
|
+
const getNodeText_1 = require("../../utils/getNodeText");
|
|
8
|
+
const isSyncReactElement_1 = require("../../utils/isSyncReactElement");
|
|
8
9
|
const constants_1 = require("../constants");
|
|
9
10
|
const useLogic = ({ value, onChange, children, open: externalIsOpened, defaultOpen, multiple, isEnableAllSelection, isShowClearButton = true, valueOptions, onSelectAll, onUnselectAll, name, placeholder, onClose, onOpen, loading, }) => {
|
|
10
11
|
const [isOpened, setOpened] = (0, react_1.useState)(!loading && (defaultOpen || externalIsOpened || false));
|
|
@@ -65,7 +66,7 @@ const useLogic = ({ value, onChange, children, open: externalIsOpened, defaultOp
|
|
|
65
66
|
};
|
|
66
67
|
const handleChangeOption = (event, child) => {
|
|
67
68
|
const isSelectAllEvent = (0, react_1.isValidElement)(child) &&
|
|
68
|
-
(0,
|
|
69
|
+
(0, isSyncReactElement_1.isSyncReactElement)(child) &&
|
|
69
70
|
child.props.value === constants_1.SELECT_ALL_VALUE;
|
|
70
71
|
const targetEvent = event;
|
|
71
72
|
const targetValue = targetEvent.target.value;
|
|
@@ -106,9 +107,9 @@ const useLogic = ({ value, onChange, children, open: externalIsOpened, defaultOp
|
|
|
106
107
|
}
|
|
107
108
|
//Возвращаем текст из выбранного MenuItem
|
|
108
109
|
if (node.type === MenuItem_2.MenuItem &&
|
|
109
|
-
(0,
|
|
110
|
+
(0, isSyncReactElement_1.isSyncReactElement)(node) &&
|
|
110
111
|
node.props.value === selectedValue) {
|
|
111
|
-
return (0,
|
|
112
|
+
return (0, getNodeText_1.getNodeText)(node.props.children);
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
return null;
|
|
@@ -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("@emotion/styled/dist/declarations/src/types").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("@emotion/styled/dist/declarations/src/types").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,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.staticDaysCalendarClassnames = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../../utils/createUIKitClassname");
|
|
5
5
|
exports.staticDaysCalendarClassnames = {
|
|
6
|
-
container: (0,
|
|
7
|
-
head: (0,
|
|
8
|
-
grid: (0,
|
|
9
|
-
button: (0,
|
|
6
|
+
container: (0, createUIKitClassname_1.createUIKitClassname)('static-days_calendar__container'),
|
|
7
|
+
head: (0, createUIKitClassname_1.createUIKitClassname)('static-days_calendar__head'),
|
|
8
|
+
grid: (0, createUIKitClassname_1.createUIKitClassname)('static-days-calendar__grid'),
|
|
9
|
+
button: (0, createUIKitClassname_1.createUIKitClassname)('static-days-calendar__button'),
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const react_2 = require("react");
|
|
7
7
|
const useId_1 = require("../hooks/useId");
|
|
8
|
-
const
|
|
8
|
+
const Slide_1 = require("../transitions/Slide");
|
|
9
9
|
const styles_1 = require("./styles");
|
|
10
10
|
const TO_LEFT = 'left';
|
|
11
11
|
const TO_RIGHT = 'right';
|
|
@@ -47,7 +47,7 @@ const StepSlider = ({ activeStep, steps, className, isFullWidth, slideProps: { m
|
|
|
47
47
|
setCurrentStep(activeStep);
|
|
48
48
|
}
|
|
49
49
|
}, [activeStep, currentStep, steps]);
|
|
50
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: containerRef, className: className, isFullWidth: isFullWidth, children: steps.map(({ component, id }, index) => ((0, react_1.createElement)(
|
|
50
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: containerRef, className: className, isFullWidth: isFullWidth, children: steps.map(({ component, id }, index) => ((0, react_1.createElement)(Slide_1.Slide, { ...restSlideProps,
|
|
51
51
|
// biome-ignore lint/suspicious/noArrayIndexKey: Используется вместе с keyId
|
|
52
52
|
key: `${keyId}_${index}`, container: () => containerRef.current, easing: easing, mountOnEnter: mountOnEnter, unmountOnExit: unmountOnExit, in: id === currentStep, direction: directionMap.get(id), appear: false },
|
|
53
53
|
(0, jsx_runtime_1.jsx)(styles_1.Item, { children: component })))) }));
|
|
@@ -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
|
|
@@ -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 StepProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Является ли шаг в состоянии select
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StepperProps as MuiStepperProps } from '@mui/material/Stepper';
|
|
2
2
|
import { type ReactElement } from 'react';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
4
|
import { type ConnectorTypes } from './enums';
|
|
5
5
|
import type { StepConnectorProps } from './StepConnector';
|
|
6
6
|
type StepperPropsWithoutEmotionSpecific = WithoutEmotionSpecific<MuiStepperProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stepperClassnames = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
|
|
5
5
|
exports.stepperClassnames = {
|
|
6
|
-
stepButton: (0,
|
|
6
|
+
stepButton: (0, createUIKitClassname_1.createUIKitClassname)('stepper_stepButton'),
|
|
7
7
|
};
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { StepWizard } from './types';
|
|
3
|
-
export type StepperWizardProps = Omit<StepperProps, 'children'> & {
|
|
4
|
-
/**
|
|
5
|
-
* Массив шагов
|
|
6
|
-
*/
|
|
7
|
-
steps: StepWizard[];
|
|
8
|
-
/**
|
|
9
|
-
* Функция, вызываемая при клике на предыдущий шаг.
|
|
10
|
-
* При пробросе шаги становятся кликабельными.
|
|
11
|
-
*/
|
|
12
|
-
onClickPrevStep?: (index: number) => void;
|
|
13
|
-
};
|
|
1
|
+
import { type StepperWizardProps } from './types';
|
|
14
2
|
export declare const StepperWizard: (props: StepperWizardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { StepperWizard
|
|
2
|
-
export type { StepWizard } from './types';
|
|
1
|
+
export { StepperWizard } from './StepperWizard';
|
|
2
|
+
export type { StepperWizardProps, StepWizard } from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { StepperWizard
|
|
2
|
-
export type { StepWizard } from './types';
|
|
1
|
+
export { StepperWizard } from './StepperWizard';
|
|
2
|
+
export type { StepperWizardProps, StepWizard } from './types';
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type StepperProps } from '../Stepper';
|
|
2
3
|
export type StepWizard = {
|
|
3
4
|
label: ReactNode;
|
|
4
5
|
isError?: boolean;
|
|
5
6
|
};
|
|
7
|
+
export type StepperWizardProps = Omit<StepperProps, 'children'> & {
|
|
8
|
+
/**
|
|
9
|
+
* Массив шагов
|
|
10
|
+
*/
|
|
11
|
+
steps: StepWizard[];
|
|
12
|
+
/**
|
|
13
|
+
* Функция, вызываемая при клике на предыдущий шаг.
|
|
14
|
+
* При пробросе шаги становятся кликабельными.
|
|
15
|
+
*/
|
|
16
|
+
onClickPrevStep?: (index: number) => void;
|
|
17
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type StepperWizardProps } from '../
|
|
1
|
+
import { type StepperWizardProps } from '../types';
|
|
2
2
|
type UseLogicParams = StepperWizardProps;
|
|
3
3
|
export declare const useLogic: ({ steps, activeStep, onClickPrevStep, }: UseLogicParams) => {
|
|
4
|
-
clickableSteps: import("
|
|
5
|
-
normalSteps: import("
|
|
4
|
+
clickableSteps: import("../types").StepWizard[];
|
|
5
|
+
normalSteps: import("../types").StepWizard[];
|
|
6
6
|
getStepLabelProps: (index: number) => {
|
|
7
7
|
isSelected: boolean;
|
|
8
8
|
};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SvgIcon = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const classNames_1 = require("../utils/classNames");
|
|
6
6
|
const constants_1 = require("./constants");
|
|
7
7
|
const styles_1 = require("./styles");
|
|
8
8
|
const SvgIcon = (props) => {
|
|
9
9
|
const { children, color = 'inherit', titleAccess, size, width, height, viewBox = '0 0 24 24', xmlns = 'http://www.w3.org/2000/svg', className, ...restProps } = props;
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledSvg, { className: (0,
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledSvg, { className: (0, classNames_1.classNames)(className, constants_1.svgIconClassnames.root), viewBox: viewBox, "aria-hidden": titleAccess ? undefined : true, role: titleAccess ? 'img' : undefined, xmlns: xmlns, color: color, width: constants_1.SIZES[size] || width || '1em', height: constants_1.SIZES[size] || height || '1em', ...restProps, children: [children, titleAccess ? (0, jsx_runtime_1.jsx)("title", { children: titleAccess }) : null] }));
|
|
11
11
|
};
|
|
12
12
|
exports.SvgIcon = SvgIcon;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.svgIconClassnames = exports.SIZES = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
|
|
5
5
|
exports.SIZES = {
|
|
6
6
|
sm: '16px',
|
|
7
7
|
md: '24px',
|
|
8
8
|
};
|
|
9
9
|
exports.svgIconClassnames = {
|
|
10
|
-
root: (0,
|
|
10
|
+
root: (0, createUIKitClassname_1.createUIKitClassname)('svg-icon'),
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { SwitchProps as MuiSwitchProps } from '@mui/material/Switch';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
4
|
export type SwitchProps = WithoutEmotionSpecific<MuiSwitchProps> & {
|
|
5
5
|
/**
|
|
6
6
|
* Текст поля
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TabProps as MuiTabProps } from '@mui/material/Tab';
|
|
2
2
|
import { type ElementType } from 'react';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../../types/WithoutEmotionSpecific';
|
|
4
4
|
export type TabProps<TComponent extends ElementType, TComponentProps = {}> = WithoutEmotionSpecific<MuiTabProps<TComponent, TComponentProps>> & {
|
|
5
5
|
component?: TComponent;
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { TabsProps as MuiTabsProps } from '@mui/material/Tabs';
|
|
2
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
2
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
3
3
|
export type TabsProps = WithoutEmotionSpecific<MuiTabsProps>;
|
|
4
4
|
export declare const Tabs: ({ ...tabsProps }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tagClassnames = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../utils/createUIKitClassname");
|
|
5
5
|
exports.tagClassnames = {
|
|
6
|
-
label: (0,
|
|
7
|
-
root: (0,
|
|
8
|
-
icon: (0,
|
|
9
|
-
badge: (0,
|
|
10
|
-
variantText: (0,
|
|
11
|
-
variantContained: (0,
|
|
12
|
-
variantLight: (0,
|
|
13
|
-
sizeSmall: (0,
|
|
14
|
-
sizeMedium: (0,
|
|
15
|
-
sizeLarge: (0,
|
|
16
|
-
variantTextLarge: (0,
|
|
17
|
-
removable: (0,
|
|
18
|
-
disabled: (0,
|
|
6
|
+
label: (0, createUIKitClassname_1.createUIKitClassname)('tag__label'),
|
|
7
|
+
root: (0, createUIKitClassname_1.createUIKitClassname)('tag'),
|
|
8
|
+
icon: (0, createUIKitClassname_1.createUIKitClassname)('tag__icon'),
|
|
9
|
+
badge: (0, createUIKitClassname_1.createUIKitClassname)('tag__badge'),
|
|
10
|
+
variantText: (0, createUIKitClassname_1.createUIKitClassname)('tag_variant_text'),
|
|
11
|
+
variantContained: (0, createUIKitClassname_1.createUIKitClassname)('tag_variant_contained'),
|
|
12
|
+
variantLight: (0, createUIKitClassname_1.createUIKitClassname)('tag_variant_light'),
|
|
13
|
+
sizeSmall: (0, createUIKitClassname_1.createUIKitClassname)('tag_size_small'),
|
|
14
|
+
sizeMedium: (0, createUIKitClassname_1.createUIKitClassname)('tag_size_medium'),
|
|
15
|
+
sizeLarge: (0, createUIKitClassname_1.createUIKitClassname)('tag_size_large'),
|
|
16
|
+
variantTextLarge: (0, createUIKitClassname_1.createUIKitClassname)('tag_variant_text-large'),
|
|
17
|
+
removable: (0, createUIKitClassname_1.createUIKitClassname)('tag_removable'),
|
|
18
|
+
disabled: (0, createUIKitClassname_1.createUIKitClassname)('tag_disabled'),
|
|
19
19
|
};
|
|
@@ -2,14 +2,14 @@
|
|
|
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 classNames_1 = require("../../utils/classNames");
|
|
6
6
|
const constants_1 = require("../constants");
|
|
7
7
|
const useLogic = ({ onDelete, variant, disabled, size, className, }) => {
|
|
8
8
|
const handleDelete = (event) => {
|
|
9
9
|
event.stopPropagation();
|
|
10
10
|
onDelete?.(event);
|
|
11
11
|
};
|
|
12
|
-
const classnames = (0, react_1.useMemo)(() => (0,
|
|
12
|
+
const classnames = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(constants_1.tagClassnames.root, {
|
|
13
13
|
[constants_1.tagClassnames.variantText]: variant === 'text',
|
|
14
14
|
[constants_1.tagClassnames.variantContained]: variant === 'contained',
|
|
15
15
|
[constants_1.tagClassnames.variantLight]: variant === 'light',
|
|
@@ -5,13 +5,13 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const Tag_1 = require("../Tag");
|
|
7
7
|
const TagContext_1 = require("../Tag/TagContext");
|
|
8
|
-
const
|
|
8
|
+
const classNames_1 = require("../utils/classNames");
|
|
9
9
|
const styles_1 = require("./styles");
|
|
10
10
|
/**
|
|
11
11
|
* Badge для использования внутри компонента Tag
|
|
12
12
|
*/
|
|
13
13
|
const TagBadge = ({ color = 'primary', checked, disabled, checkedColor, className, ...props }) => {
|
|
14
14
|
const { variant } = (0, react_1.useContext)(TagContext_1.TagContext);
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.StyledBadge, { withBorder: false, color: "white", "$color": color, "$variant": variant, "$isChecked": checked, "$isDisabled": disabled, className: (0,
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.StyledBadge, { withBorder: false, color: "white", "$color": color, "$variant": variant, "$isChecked": checked, "$isDisabled": disabled, className: (0, classNames_1.classNames)(className, Tag_1.tagClassnames.badge), ...props }));
|
|
16
16
|
};
|
|
17
17
|
exports.TagBadge = TagBadge;
|
|
@@ -1,32 +1,5 @@
|
|
|
1
|
-
import { type MouseEvent } from 'react';
|
|
2
1
|
import type { TagValue } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Название класса, применяется к корневому компоненту
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Список к отображению
|
|
10
|
-
*/
|
|
11
|
-
data?: TData[] | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* Если `true`, то тег будет недоступен для взаимодействия
|
|
14
|
-
*/
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Поле, используемое в качестве ключа списка
|
|
18
|
-
*/
|
|
19
|
-
keyId: TData extends string ? never : keyof TData;
|
|
20
|
-
/**
|
|
21
|
-
* Используется для определения строкового значения опции
|
|
22
|
-
*/
|
|
23
|
-
getOptionLabel: (value: TData) => string | number;
|
|
24
|
-
onChange: (value: TData[] | undefined) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Функция, вызываемая при клике не тэг
|
|
27
|
-
*/
|
|
28
|
-
onClick: (value: MouseEvent<HTMLDivElement>) => void;
|
|
29
|
-
};
|
|
2
|
+
import { type TagsListProps } from './types';
|
|
30
3
|
/**
|
|
31
4
|
* Предназначен для отображения списка тегов в таких компонентах как: Select, Autocomplete, TreeLikeAutocomplete
|
|
32
5
|
* Не предназначен для использования в продуктах, не экспортируется из пакета
|
|
@@ -1 +1,29 @@
|
|
|
1
|
+
import { type MouseEvent } from 'react';
|
|
1
2
|
export type TagValue = string | Record<string, unknown>;
|
|
3
|
+
export type TagsListProps<TData extends TagValue = TagValue> = {
|
|
4
|
+
/**
|
|
5
|
+
* Название класса, применяется к корневому компоненту
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Список к отображению
|
|
10
|
+
*/
|
|
11
|
+
data?: TData[] | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Если `true`, то тег будет недоступен для взаимодействия
|
|
14
|
+
*/
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Поле, используемое в качестве ключа списка
|
|
18
|
+
*/
|
|
19
|
+
keyId: TData extends string ? never : keyof TData;
|
|
20
|
+
/**
|
|
21
|
+
* Используется для определения строкового значения опции
|
|
22
|
+
*/
|
|
23
|
+
getOptionLabel: (value: TData) => string | number;
|
|
24
|
+
onChange: (value: TData[] | undefined) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Функция, вызываемая при клике не тэг
|
|
27
|
+
*/
|
|
28
|
+
onClick: (value: MouseEvent<HTMLDivElement>) => void;
|
|
29
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type TagsListProps } from '../TagsList';
|
|
3
2
|
import type { TagValue } from '../types';
|
|
3
|
+
import { type TagsListProps } from '../types';
|
|
4
4
|
type UseLogicParams<TData extends TagValue> = TagsListProps<TData>;
|
|
5
5
|
export declare const useLogic: <TData extends TagValue>({ data, keyId, getOptionLabel, onChange, }: UseLogicParams<TData>) => {
|
|
6
6
|
maxItems: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
-
import { type WithoutEmotionSpecific } from '../types';
|
|
3
|
+
import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
|
|
4
4
|
export type TextFieldProps = Omit<WithoutEmotionSpecific<MuiTextFieldProps>, 'variant' | 'color' | 'select' | 'margin' | 'multiline' | 'SelectProps'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Флаг отображения успешного состояния
|