@astral/ui 4.18.3 → 4.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Accordion/styles.d.ts +2 -8
- package/components/Accordion/styles.js +1 -1
- package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
- package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/components/ActionGroup/SecondaryActions/SecondaryActions.js +1 -1
- package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/components/AddressAutocomplete/AddressAutocomplete.js +1 -1
- package/components/AddressAutocomplete/index.d.ts +2 -1
- package/components/AddressAutocomplete/index.js +1 -1
- package/components/AddressAutocomplete/public.d.ts +2 -1
- package/components/AddressAutocomplete/public.js +1 -1
- package/components/AddressAutocomplete/types.d.ts +24 -0
- package/components/AddressAutocomplete/types.js +1 -0
- package/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/components/Alert/Alert.js +6 -2
- package/components/Alert/constants.js +1 -1
- package/components/Alert/styles.d.ts +7 -19
- package/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/components/AsyncAutocomplete/index.d.ts +2 -1
- package/components/AsyncAutocomplete/index.js +1 -1
- package/components/AsyncAutocomplete/public.d.ts +2 -1
- package/components/AsyncAutocomplete/public.js +1 -1
- package/components/AsyncAutocomplete/types.d.ts +66 -0
- package/components/AsyncAutocomplete/types.js +1 -0
- package/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/components/AsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/AutoSaveIndicator/AutoSaveIndicator.js +1 -1
- package/components/AutoSaveIndicator/DefaultState/styles.js +2 -2
- package/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/components/AutoSaveIndicator/ErrorState/styles.js +1 -1
- package/components/AutoSaveIndicator/LoadingState/styles.js +1 -1
- package/components/AutoSaveIndicator/SuccessState/styles.js +1 -1
- package/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/components/AutoSaveIndicator/useLogic/useLogic.js +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/components/Autocomplete/Autocomplete.js +7 -5
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/public.d.ts +1 -1
- package/components/Autocomplete/styles.d.ts +2 -2
- package/components/Autocomplete/styles.js +4 -1
- package/components/Autocomplete/types.d.ts +51 -1
- package/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/components/Avatar/styles.d.ts +1 -1
- package/components/Avatar/styles.js +1 -1
- package/components/Avatar/types.d.ts +1 -1
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/components/AvatarGroup/styles.d.ts +1 -1
- package/components/AvatarGroup/styles.js +1 -1
- package/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/components/Badge/Badge.d.ts +1 -1
- package/components/Badge/styles.d.ts +1 -1
- package/components/Badge/styles.js +1 -1
- package/components/Banner/BannerActionButton/BannerActionButton.js +1 -1
- package/components/Banner/BannerContainer/BannerContainer.js +1 -1
- package/components/Banner/BannerTemplate/BannerTemplate.js +1 -1
- package/components/Banner/constants.js +1 -1
- package/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/components/BottomDrawer/BottomDrawer.js +1 -1
- package/components/BottomDrawer/styles.d.ts +4 -10
- package/components/BottomDrawer/styles.js +3 -1
- package/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/components/Breadcrumbs/styles.d.ts +1 -1
- package/components/Breadcrumbs/styles.js +3 -1
- package/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/components/BulletListItem/BulletListItem.js +1 -1
- package/components/BulletListItem/styles.js +1 -1
- package/components/Button/Button.d.ts +5 -45
- package/components/Button/Button.js +1 -1
- package/components/Button/constants.d.ts +1 -1
- package/components/Button/constants.js +2 -2
- package/components/Button/styles.d.ts +1 -1
- package/components/Button/styles.js +1 -1
- package/components/Button/types.d.ts +25 -0
- package/components/Button/useLogic/useLogic.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.js +1 -1
- package/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +3 -3
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/CardGridInfinite/constants.js +1 -1
- package/components/CardGridInfinite/styles.js +1 -1
- package/components/CardGridInfinite/useLogic/useLogic.js +4 -2
- package/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/components/CheckableTag/styles.js +1 -1
- package/components/Checkbox/Icon/Icon.js +1 -1
- package/components/Checkbox/constants.js +1 -1
- package/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/components/Checkbox/useLogic/useLogic.js +2 -2
- package/components/CheckboxField/constants.js +1 -1
- package/components/CheckboxField/styles.js +2 -1
- package/components/Chevron/Chevron.d.ts +2 -2
- package/components/Chevron/styles.js +1 -1
- package/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/components/ClickAwayListener/ClickAwayListener.js +1 -1
- package/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +1 -1
- package/components/CodeField/styles.d.ts +2 -8
- package/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/components/Collapse/Collapse.d.ts +2 -2
- package/components/Collapse/Collapse.js +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/components/CollapsibleTypography/styles.d.ts +5 -11
- package/components/ComplianceStatus/styles.js +3 -1
- package/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/components/ConfigProvider/ConfigProvider.js +1 -1
- package/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/components/ConfirmAction/constants.js +1 -1
- package/components/ConfirmAction/index.d.ts +2 -1
- package/components/ConfirmAction/index.js +1 -1
- package/components/ConfirmAction/public.d.ts +2 -1
- package/components/ConfirmAction/public.js +1 -1
- package/components/ConfirmAction/styles.d.ts +2 -8
- package/components/ConfirmAction/types.d.ts +37 -0
- package/components/ConfirmAction/types.js +1 -0
- package/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmAction/useLogic/useLogic.js +1 -1
- package/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/components/ConfirmDialog/index.d.ts +1 -0
- package/components/ConfirmDialog/public.d.ts +1 -0
- package/components/ConfirmDialog/styles.d.ts +3 -3
- package/components/ConfirmDialog/types.d.ts +36 -0
- package/components/ConfirmDialog/types.js +1 -0
- package/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/components/ContentState/ContentState.js +2 -1
- package/components/ContentState/types.d.ts +1 -1
- package/components/ContentState/useLogic/useLogic.js +1 -1
- package/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/components/CopyTypography/CopyTypography.js +1 -1
- package/components/CopyTypography/constants.js +1 -1
- package/components/CopyTypography/index.d.ts +2 -1
- package/components/CopyTypography/public.d.ts +2 -1
- package/components/CopyTypography/styles.d.ts +2 -8
- package/components/CopyTypography/styles.js +1 -1
- package/components/CopyTypography/types.d.ts +23 -0
- package/components/CopyTypography/types.js +1 -0
- package/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/components/Counter/Counter.d.ts +1 -1
- package/components/Counter/styles.d.ts +1 -1
- package/components/Counter/styles.js +1 -1
- package/components/DashboardAlert/styles.d.ts +3 -3
- package/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/components/DashboardLayout/Header/Header.js +5 -3
- package/components/DashboardLayout/Header/constants.js +1 -1
- package/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/components/DashboardLayout/Header/styles.js +1 -1
- package/components/DashboardLayout/Header/useLogic/useLogic.js +1 -1
- package/components/DashboardLayout/Main/constants.js +1 -1
- package/components/DashboardLayout/constants.js +1 -1
- package/components/DashboardLayout/index.d.ts +2 -1
- package/components/DashboardLayout/public.d.ts +2 -1
- package/components/DashboardLayout/types.d.ts +13 -0
- package/components/DashboardLayout/types.js +1 -0
- package/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +1 -1
- package/components/DashboardSidebar/DashboardSidebar.js +2 -1
- package/components/DashboardSidebar/constants.js +1 -1
- package/components/DashboardSidebar/useLogic/useLogic.js +4 -3
- package/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/components/DashboardSidebarCounter/Badge/styles.js +1 -1
- package/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +1 -1
- package/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +5 -3
- package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
- package/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/components/DashboardSidebarSkeleton/useLogic/useLogic.js +1 -1
- package/components/DataGrid/Body/Body.js +1 -1
- package/components/DataGrid/Cell/Cell.js +1 -1
- package/components/DataGrid/DataGrid.js +2 -1
- package/components/DataGrid/HeadCell/HeadCell.js +3 -1
- package/components/DataGrid/Loader/styles.d.ts +1 -1
- package/components/DataGrid/Loader/styles.js +1 -1
- package/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/components/DataGrid/NoData/NoData.js +1 -1
- package/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/components/DataGrid/Row/Row.js +1 -1
- package/components/DataGrid/Row/constants.js +1 -1
- package/components/DataGrid/Row/styles.d.ts +3 -3
- package/components/DataGrid/Row/styles.js +1 -1
- package/components/DataGrid/Row/useLogic/useLogic.js +1 -1
- package/components/DataGrid/constants.js +1 -1
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DataGrid/useLogic/useLogic.js +3 -2
- package/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +3 -3
- package/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +1 -1
- package/components/DataGridInfinite/DataGridInfinite.js +2 -1
- package/components/DataGridInfinite/NoData/NoData.js +1 -1
- package/components/DataGridInfinite/useLogic/useLogic.js +3 -2
- package/components/DataGridPagination/styles.d.ts +2 -8
- package/components/DataGridPagination/styles.js +1 -1
- package/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/components/DataGridPaginationContainer/styles.js +1 -1
- package/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/components/DatePicker/DatePicker.d.ts +10 -103
- package/components/DatePicker/DatePicker.js +1 -1
- package/components/DatePicker/DatePickerInput/DatePickerInput.js +1 -1
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -1
- package/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/components/DatePicker/DatePickerPopover/styles.js +1 -1
- package/components/DatePicker/DayPicker/DayPicker.js +1 -1
- package/components/DatePicker/MonthPicker/MonthPicker.js +1 -1
- package/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/components/DatePicker/constants.js +1 -1
- package/components/DatePicker/index.d.ts +2 -1
- package/components/DatePicker/public.d.ts +2 -1
- package/components/DatePicker/styles.d.ts +3 -3
- package/components/DatePicker/types/props.d.ts +60 -0
- package/components/DatePicker/types/props.js +1 -0
- package/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/useLogic/useLogic.js +5 -2
- package/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/components/DateRangePicker/index.d.ts +2 -1
- package/components/DateRangePicker/index.js +1 -1
- package/components/DateRangePicker/public.d.ts +2 -1
- package/components/DateRangePicker/public.js +1 -1
- package/components/DateRangePicker/styles.d.ts +1 -1
- package/components/DateRangePicker/styles.js +1 -1
- package/components/DateRangePicker/types.d.ts +44 -0
- package/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DateRangePicker/useLogic/useLogic.js +2 -1
- package/components/Description/Value/styles.d.ts +4 -16
- package/components/Description/constants.js +1 -1
- package/components/Description/styles.d.ts +1 -1
- package/components/Description/useLogic/useLogic.d.ts +1 -1
- package/components/DescriptionCell/constants.js +1 -1
- package/components/DescriptionCell/styles.js +1 -1
- package/components/DescriptionCell/useLogic/useLogic.js +1 -1
- package/components/DescriptionList/styles.d.ts +2 -8
- package/components/Dialog/Dialog.d.ts +2 -2
- package/components/Dialog/Dialog.js +1 -1
- package/components/Dialog/styles.d.ts +1 -1
- package/components/Dialog/styles.js +2 -1
- package/components/DialogActions/DialogActions.d.ts +2 -2
- package/components/DialogActions/styles.d.ts +1 -1
- package/components/DialogActions/styles.js +1 -1
- package/components/DialogContent/DialogContent.d.ts +2 -2
- package/components/DialogContent/styles.d.ts +1 -1
- package/components/DialogContent/styles.js +1 -1
- package/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/components/DialogContentText/styles.d.ts +1 -1
- package/components/DialogContentText/styles.js +1 -1
- package/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/components/DialogHeader/DialogHeader.js +1 -1
- package/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/components/DialogTitle/DialogTitle.js +2 -2
- package/components/Divider/Divider.d.ts +2 -2
- package/components/Divider/Divider.js +1 -1
- package/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/components/DropdownButton/DropdownButton.js +2 -2
- package/components/EmailField/EmailField.js +1 -1
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +1 -1
- package/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js +2 -1
- package/components/ExpansionPanel/Summary/Summary.js +1 -1
- package/components/ExpansionPanel/constants.js +1 -1
- package/components/ExpansionPanel/useLogic/useLogic.js +1 -1
- package/components/Fab/Fab.d.ts +2 -2
- package/components/Fab/styles.d.ts +1 -1
- package/components/Fab/styles.js +2 -1
- package/components/Fieldset/styles.d.ts +4 -16
- package/components/Filename/Filename.js +1 -1
- package/components/Filename/styles.d.ts +2 -8
- package/components/FlowButton/FlowButton.js +1 -1
- package/components/FlowButton/styles.d.ts +5 -11
- package/components/FormControl/FormControl.d.ts +2 -2
- package/components/FormControl/FormControl.js +1 -1
- package/components/FormControlLabel/styles.d.ts +1 -1
- package/components/FormControlLabel/styles.js +1 -1
- package/components/FormControlLabel/types.d.ts +1 -1
- package/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/components/FormHelperText/FormHelperText.js +1 -1
- package/components/FormHelperText/FormHelperTextContent/styles.js +2 -1
- package/components/FormLabel/FormLabel.d.ts +2 -2
- package/components/FormLabel/styles.d.ts +1 -1
- package/components/FormLabel/styles.js +1 -1
- package/components/GlobalStyles/GlobalStyles.js +3 -2
- package/components/GuidTypography/GuidTypography.js +1 -1
- package/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +1 -1
- package/components/HintIcon/constants.js +5 -2
- package/components/HintIcon/useLogic/useLogic.js +1 -1
- package/components/IconButton/IconButton.d.ts +3 -3
- package/components/IconButton/styles.d.ts +3 -3
- package/components/IconDropdownButton/IconDropdownButton.js +2 -2
- package/components/InfiniteDataList/InfiniteDataList.js +1 -1
- package/components/InfiniteDataList/NoData/NoData.js +1 -1
- package/components/InfiniteDataList/constants.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
- package/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/InfiniteTreeList/constants.js +1 -1
- package/components/InfiniteTreeList/useLogic/useLogic.js +4 -2
- package/components/InputGroup/styles.js +2 -1
- package/components/JsonViewer/JsonNode/styles.js +1 -1
- package/components/JsonViewer/JsonNode/useLogic/useLogic.js +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +2 -1
- package/components/JsonViewer/JsonViewer.js +3 -1
- package/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/components/LegacyNotification/constants.js +1 -1
- package/components/LegacyNotification/styles.js +4 -1
- package/components/Link/Link.d.ts +3 -3
- package/components/Link/Link.js +2 -1
- package/components/Link/styles.d.ts +1 -1
- package/components/Link/styles.js +1 -1
- package/components/List/List.d.ts +1 -1
- package/components/ListItem/styles.d.ts +2 -2
- package/components/ListItem/styles.js +1 -1
- package/components/ListItem/types.d.ts +1 -1
- package/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/components/ListItemButton/ListItemButton.js +1 -1
- package/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/components/ListItemIcon/styles.d.ts +1 -1
- package/components/ListItemIcon/styles.js +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/components/ListItemText/ListItemText.d.ts +1 -1
- package/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/components/ListSubheader/ListSubheader.js +1 -1
- package/components/Loader/Loader.js +1 -1
- package/components/Loader/constants.js +1 -1
- package/components/Menu/Menu.d.ts +2 -2
- package/components/Menu/Menu.js +1 -1
- package/components/MenuGroup/styles.d.ts +2 -8
- package/components/MenuItem/MenuItem.d.ts +2 -2
- package/components/MenuItem/MenuItem.js +1 -1
- package/components/MenuList/styles.d.ts +1 -1
- package/components/MenuList/styles.js +1 -1
- package/components/MenuList/types.d.ts +1 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/components/MenuOrganization/constants.js +1 -1
- package/components/MenuOrganization/styles.d.ts +2 -8
- package/components/MenuOrganization/types.d.ts +1 -1
- package/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/components/MenuOrganization/useLogic/useLogic.js +1 -1
- package/components/MinimalisticPagination/MinimalisticPagination.js +2 -1
- package/components/MinimalisticPagination/styles.d.ts +2 -8
- package/components/NavMenu/Item/ItemButton/ItemButton.js +1 -1
- package/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/components/NavMenu/Item/ItemButton/styles.js +2 -1
- package/components/NavMenu/Item/List/List.js +2 -2
- package/components/NavMenu/NavMenu.js +1 -1
- package/components/NotFoundPage/constants.js +1 -1
- package/components/NotFoundPage/styles.d.ts +4 -16
- package/components/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +1 -1
- package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/components/Notification/constants.js +1 -1
- package/components/Notification/styles.js +4 -1
- package/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/components/NotificationList/ListItem/ListItem.js +1 -1
- package/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/components/NotificationList/SettingsButton/SettingsButton.js +1 -1
- package/components/NumberField/NumberField.d.ts +1 -1
- package/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/components/OverflowTypography/index.d.ts +1 -0
- package/components/OverflowTypography/public.d.ts +1 -0
- package/components/OverflowTypography/styles.d.ts +4 -16
- package/components/OverflowTypography/types.d.ts +32 -0
- package/components/OverflowTypography/types.js +1 -0
- package/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/components/OverflowTypography/useLogic/useLogic.js +1 -1
- package/components/PageAsideBlock/styles.js +1 -1
- package/components/PageContent/PageContent.js +1 -1
- package/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/components/PageContent/constants.js +1 -1
- package/components/PageContent/useLogic/useLogic.js +1 -1
- package/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/components/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/components/PageHeader/MobilePageActions/styles.js +2 -1
- package/components/PageHeader/PageActions/MainActions/styles.js +1 -1
- package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/PageHeader/PageHeader.js +1 -1
- package/components/PageHeader/Title/Title.js +1 -1
- package/components/PageHeader/Title/styles.d.ts +6 -12
- package/components/PageHeader/constants.js +1 -1
- package/components/PageHeader/hooks/usePageTitle/usePageTitle.js +1 -1
- package/components/PageHeader/types.d.ts +1 -1
- package/components/PageHeader/useLogic/useLogic.js +2 -2
- package/components/PageLayout/PageLayout.js +1 -1
- package/components/PageLayoutContainer/PageLayoutContainer.js +1 -1
- package/components/PageLayoutContainer/constants.js +1 -1
- package/components/PageLayoutLoader/PageLayoutLoader.js +1 -1
- package/components/PagePinnableAside/PagePinnableAside.js +2 -2
- package/components/PagePinnableAside/constants.js +2 -1
- package/components/PagePinnableAside/useLogic/useLogic.js +1 -1
- package/components/Pagination/PaginationItem/PaginationItem.js +2 -1
- package/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/components/Paper/Paper.d.ts +2 -2
- package/components/Paper/styles.d.ts +1 -1
- package/components/Paper/styles.js +1 -1
- package/components/PasswordField/PasswordField.js +3 -2
- package/components/PdfViewer/ControlBar/ControlBar.js +2 -1
- package/components/PdfViewer/PdfDocument/PdfDocument.js +1 -1
- package/components/PdfViewer/PdfViewer.js +1 -1
- package/components/PdfViewer/constants.js +1 -1
- package/components/PdfViewer/useLogic/useLogic.js +1 -1
- package/components/PinButton/PinButton.js +3 -2
- package/components/PinButton/constants.js +1 -1
- package/components/PinButton/styles.d.ts +5 -11
- package/components/Popover/Popover.d.ts +2 -2
- package/components/Popover/styles.d.ts +1 -1
- package/components/Popover/styles.js +2 -1
- package/components/Product/styles.d.ts +3 -3
- package/components/ProductSwitcher/Content/Content.js +1 -1
- package/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/components/ProductSwitcher/Content/styles.js +1 -1
- package/components/ProductSwitcher/ProductSwitcher.js +1 -1
- package/components/ProductSwitcher/styles.js +1 -1
- package/components/ProductSwitcher/useLogic/useLogic.js +1 -1
- package/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/components/Profile/MenuList/MenuList.js +2 -2
- package/components/Profile/MenuList/styles.d.ts +2 -2
- package/components/Profile/MenuList/styles.js +1 -1
- package/components/Profile/Profile.js +2 -2
- package/components/Profile/constants.js +1 -1
- package/components/Profile/styles.d.ts +3 -3
- package/components/Profile/types.d.ts +4 -2
- package/components/ProgressBar/ProgressBar.js +1 -1
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/constants.js +1 -1
- package/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/components/Radio/useLogic/useLogic.js +2 -2
- package/components/RadioCard/RadioCard.js +1 -1
- package/components/RadioCard/constants.js +1 -1
- package/components/RadioField/styles.d.ts +1 -1
- package/components/RadioField/styles.js +2 -1
- package/components/RedesignBanner/useLogic/useLogic.js +1 -1
- package/components/ScrollToTopButton/ScrollToTopButton.js +1 -1
- package/components/SearchField/SearchField.js +1 -1
- package/components/SearchField/styles.d.ts +3 -3
- package/components/SearchField/styles.js +1 -1
- package/components/SearchField/useLogic/useLogic.js +2 -1
- package/components/Select/Select.d.ts +1 -71
- package/components/Select/Select.js +6 -2
- package/components/Select/index.d.ts +1 -0
- package/components/Select/public.d.ts +1 -0
- package/components/Select/styles.d.ts +2 -2
- package/components/Select/styles.js +1 -1
- package/components/Select/types.d.ts +49 -0
- package/components/Select/types.js +1 -0
- package/components/Select/useLogic/useLogic.d.ts +1 -1
- package/components/Select/useLogic/useLogic.js +3 -2
- package/components/SideDialog/SideDialog.d.ts +2 -2
- package/components/SideDialog/styles.d.ts +2 -2
- package/components/SideDialog/styles.js +3 -1
- package/components/SideDialogActions/types.d.ts +2 -2
- package/components/SideDialogContent/types.d.ts +2 -2
- package/components/SideDialogContentText/types.d.ts +2 -2
- package/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/components/SideDialogTitle/styles.d.ts +1 -1
- package/components/Skeleton/Skeleton.d.ts +2 -2
- package/components/Skeleton/styles.d.ts +1 -1
- package/components/Skeleton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/components/StaticCalendar/StaticCalendarGridButton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/constants.js +1 -1
- package/components/StepSlider/StepSlider.d.ts +1 -1
- package/components/StepSlider/StepSlider.js +1 -1
- package/components/Stepper/ArrowConnector/ArrowConnector.js +1 -1
- package/components/Stepper/Step/index.d.ts +1 -1
- package/components/Stepper/Step/index.js +1 -1
- package/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/components/Stepper/StepButton/styles.d.ts +1 -1
- package/components/Stepper/StepButton/styles.js +1 -1
- package/components/Stepper/StepConnector/index.d.ts +3 -3
- package/components/Stepper/StepConnector/index.js +1 -1
- package/components/Stepper/StepContent/index.d.ts +1 -1
- package/components/Stepper/StepContent/index.js +1 -1
- package/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/components/Stepper/StepIcon/styles.js +3 -1
- package/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/components/Stepper/StepLabel/StepLabel.js +1 -1
- package/components/Stepper/Stepper.d.ts +2 -2
- package/components/Stepper/constants.js +1 -1
- package/components/Stepper/styles.d.ts +1 -1
- package/components/Stepper/styles.js +5 -1
- package/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/components/StepperWizard/StepperWizard.js +1 -1
- package/components/StepperWizard/index.d.ts +2 -2
- package/components/StepperWizard/public.d.ts +2 -2
- package/components/StepperWizard/types.d.ts +12 -0
- package/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/components/SvgIcon/SvgIcon.js +1 -1
- package/components/SvgIcon/constants.js +1 -1
- package/components/Switch/Switch.d.ts +2 -2
- package/components/Switch/styles.d.ts +1 -1
- package/components/Switch/styles.js +2 -1
- package/components/Tabs/Tab/Tab.d.ts +2 -2
- package/components/Tabs/Tab/styles.d.ts +1 -1
- package/components/Tabs/Tab/styles.js +1 -1
- package/components/Tabs/Tabs.d.ts +2 -2
- package/components/Tabs/styles.d.ts +1 -1
- package/components/Tabs/styles.js +1 -1
- package/components/Tag/Tag.js +1 -1
- package/components/Tag/constants.js +1 -1
- package/components/Tag/styles.d.ts +4 -4
- package/components/Tag/styles.js +2 -1
- package/components/Tag/useLogic/useLogic.js +1 -1
- package/components/TagBadge/TagBadge.js +1 -1
- package/components/TagsList/TagsList.d.ts +1 -28
- package/components/TagsList/types.d.ts +28 -0
- package/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/components/TagsList/useLogic/useLogic.js +1 -1
- package/components/TextField/TextField.d.ts +2 -2
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/constants.js +1 -1
- package/components/TextField/styles.d.ts +2 -2
- package/components/TextField/styles.js +2 -1
- package/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ToggleButton/styles.d.ts +1 -1
- package/components/ToggleButton/styles.js +3 -1
- package/components/ToggleButton/types.d.ts +2 -2
- package/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/components/ToggleButtonGroup/styles.js +1 -1
- package/components/Tooltip/Tooltip.d.ts +2 -2
- package/components/Tooltip/constants.js +1 -1
- package/components/Tooltip/styles.d.ts +2 -2
- package/components/Tooltip/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/components/Tree/MultipleTreeList/TreeItem/types.js +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/components/Tree/MultipleTreeList/useLogic/useLogic.js +1 -1
- package/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/components/Tree/TreeItem/constants.js +1 -1
- package/components/Tree/TreeItem/index.d.ts +2 -1
- package/components/Tree/TreeItem/index.js +1 -1
- package/components/Tree/TreeItem/styles.d.ts +23 -35
- package/components/Tree/TreeItem/styles.js +2 -2
- package/components/Tree/TreeItem/types.d.ts +70 -0
- package/components/Tree/TreeItem/types.js +1 -0
- package/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/components/Tree/TreeList/TreeItem/types.js +1 -0
- package/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeList.js +1 -1
- package/components/Tree/TreeList/constants.js +1 -1
- package/components/Tree/TreeList/types.d.ts +1 -1
- package/components/Tree/TreeList/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/components/TreeAutocomplete/Input/Input.js +2 -1
- package/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/components/TreeAutocomplete/Input/types.js +1 -0
- package/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/components/TreeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/components/TreeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/components/TreeLikeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/styles.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +3 -1
- package/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/components/TreeLikeAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/Input/styles.js +1 -1
- package/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/components/TreeLikeAutocomplete/Input/types.js +1 -0
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/styles.js +1 -1
- package/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +1 -1
- package/components/TreeLikeList/types.d.ts +1 -1
- package/components/Typography/Typography.d.ts +7 -58
- package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -1
- package/components/Typography/index.d.ts +1 -1
- package/components/Typography/index.js +0 -1
- package/components/Typography/public.d.ts +1 -1
- package/components/Typography/public.js +0 -1
- package/components/Typography/styles.d.ts +1 -1
- package/components/Typography/styles.js +1 -1
- package/components/Typography/types.d.ts +31 -0
- package/components/WelcomeScreen/styles.d.ts +4 -16
- package/components/declaration/mui-material.d.ts +4 -4
- package/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/components/fileUploading/FileInfo/styles.js +1 -1
- package/components/fileUploading/FileUploader/FileUploader.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderFile/Actions/Actions.js +5 -1
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +2 -2
- package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +1 -1
- package/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +2 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +4 -2
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +2 -2
- package/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +1 -1
- package/components/fileUploading/constants.js +1 -1
- package/components/fileUploading/hooks/useFileUploader/useFileUploader.js +3 -1
- package/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +3 -1
- package/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.js +1 -1
- package/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/components/hooks/useViewportType/useViewportType.js +2 -1
- package/components/index.d.ts +57 -8
- package/components/index.js +57 -8
- package/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -1
- package/components/placeholders/LoadingPlaceholder/constants.js +1 -1
- package/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/components/styled/mixins/list/list.js +1 -1
- package/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/components/styled/styled.d.ts +1 -2
- package/components/theme/baseTheme/baseTheme.js +2 -2
- package/components/theme/breakpoints.d.ts +1 -1
- package/components/theme/components/MuiAlert.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.js +1 -1
- package/components/theme/components/MuiButton.d.ts +1 -1
- package/components/theme/components/MuiButton.js +1 -1
- package/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/components/theme/components/MuiDialog.d.ts +1 -1
- package/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.js +1 -1
- package/components/theme/components/MuiDrawer.d.ts +1 -1
- package/components/theme/components/MuiDrawer.js +2 -1
- package/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/components/theme/components/MuiListItemText.d.ts +1 -1
- package/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/components/theme/components/MuiMenu.d.ts +1 -1
- package/components/theme/components/MuiMenu.js +2 -1
- package/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/components/theme/components/MuiMenuItem.js +1 -1
- package/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/components/theme/components/MuiPaper.d.ts +1 -1
- package/components/theme/components/MuiStep.d.ts +1 -1
- package/components/theme/components/MuiStep.js +1 -1
- package/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.js +1 -1
- package/components/theme/components/MuiSwitch.d.ts +1 -1
- package/components/theme/components/MuiTab.d.ts +1 -1
- package/components/theme/components/MuiTableCell.d.ts +1 -1
- package/components/theme/components/MuiTableHead.d.ts +1 -1
- package/components/theme/components/MuiTableRow.d.ts +1 -1
- package/components/theme/components/MuiTabs.d.ts +1 -1
- package/components/theme/components/MuiTextField.d.ts +1 -1
- package/components/theme/components/MuiTextField.js +3 -1
- package/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/components/theme/components/MuiTypography.d.ts +1 -1
- package/components/theme/components/components.d.ts +1 -1
- package/components/theme/types.d.ts +123 -2
- package/components/theme/types.js +117 -1
- package/components/transitions/Fade/Fade.d.ts +1 -1
- package/components/transitions/Fade/Fade.js +1 -1
- package/components/transitions/Grow/Grow.d.ts +1 -1
- package/components/transitions/Grow/Grow.js +1 -1
- package/components/transitions/Slide/Slide.d.ts +2 -2
- package/components/transitions/Slide/Slide.js +1 -1
- package/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/components/transitions/Zoom/Zoom.js +1 -1
- package/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +1 -1
- package/hook-form/EditableText/EditableText.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +1 -1
- package/hook-form/EditableText/styles.d.ts +2 -8
- package/hook-form/EditableText/styles.js +1 -1
- package/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/hook-form/EditableText/useLogic/useLogic.js +1 -1
- package/hook-form/Form/Form.d.ts +1 -1
- package/hook-form/Form/Form.js +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +1 -1
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +1 -1
- package/hook-form/FormAutocomplete/FormAutocomplete.js +1 -1
- package/hook-form/FormCheckboxField/FormCheckboxField.js +1 -1
- package/hook-form/FormCodeField/FormCodeField.js +1 -1
- package/hook-form/FormDatePicker/FormDatePicker.js +2 -1
- package/hook-form/FormDateRangePicker/FormDateRangePicker.js +2 -1
- package/hook-form/FormEmailField/FormEmailField.js +1 -1
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.js +2 -2
- package/hook-form/FormMaskField/FormMaskField.js +1 -1
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
- package/hook-form/FormNumberField/FormNumberField.js +1 -1
- package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/hook-form/FormPageLayout/FormPageLayout.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/hook-form/FormPageLayoutBase/constants.js +1 -1
- package/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -2
- package/hook-form/FormRadioGroup/FormRadioGroup.js +1 -1
- package/hook-form/FormSelect/FormSelect.js +1 -1
- package/hook-form/FormSubmitButton/FormSubmitButton.js +1 -1
- package/hook-form/FormTextArea/FormTextArea.js +1 -1
- package/hook-form/FormTextField/FormTextField.js +1 -1
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +1 -1
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +1 -1
- package/hook-form/FormWizard/Footer/Footer.js +2 -1
- package/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +2 -1
- package/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
- package/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +1 -1
- package/node/components/Accordion/styles.d.ts +2 -8
- package/node/components/Accordion/styles.js +2 -2
- package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
- package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/node/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/node/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -2
- package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/node/components/AddressAutocomplete/index.d.ts +2 -1
- package/node/components/AddressAutocomplete/public.d.ts +2 -1
- package/node/components/AddressAutocomplete/types.d.ts +24 -0
- package/node/components/AddressAutocomplete/types.js +2 -0
- package/node/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/node/components/Alert/Alert.js +12 -8
- package/node/components/Alert/constants.js +7 -7
- package/node/components/Alert/styles.d.ts +7 -19
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/node/components/AsyncAutocomplete/index.d.ts +2 -1
- package/node/components/AsyncAutocomplete/public.d.ts +2 -1
- package/node/components/AsyncAutocomplete/types.d.ts +66 -0
- package/node/components/AsyncAutocomplete/types.js +2 -0
- package/node/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/node/components/AsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
- package/node/components/AutoSaveIndicator/DefaultState/styles.js +6 -6
- package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/node/components/AutoSaveIndicator/ErrorState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/LoadingState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/SuccessState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/node/components/AutoSaveIndicator/useLogic/useLogic.js +2 -2
- package/node/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/node/components/Autocomplete/Autocomplete.js +12 -7
- package/node/components/Autocomplete/index.d.ts +1 -1
- package/node/components/Autocomplete/public.d.ts +1 -1
- package/node/components/Autocomplete/styles.d.ts +2 -2
- package/node/components/Autocomplete/styles.js +30 -4
- package/node/components/Autocomplete/types.d.ts +51 -1
- package/node/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/node/components/Avatar/styles.d.ts +1 -1
- package/node/components/Avatar/styles.js +5 -2
- package/node/components/Avatar/types.d.ts +1 -1
- package/node/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/node/components/AvatarGroup/styles.d.ts +1 -1
- package/node/components/AvatarGroup/styles.js +26 -3
- package/node/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/node/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/node/components/Badge/Badge.d.ts +1 -1
- package/node/components/Badge/styles.d.ts +1 -1
- package/node/components/Badge/styles.js +5 -2
- package/node/components/Banner/BannerActionButton/BannerActionButton.js +2 -2
- package/node/components/Banner/BannerContainer/BannerContainer.js +2 -2
- package/node/components/Banner/BannerTemplate/BannerTemplate.js +2 -2
- package/node/components/Banner/constants.js +2 -2
- package/node/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/node/components/BottomDrawer/BottomDrawer.js +2 -2
- package/node/components/BottomDrawer/styles.d.ts +4 -10
- package/node/components/BottomDrawer/styles.js +9 -4
- package/node/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.js +9 -4
- package/node/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/node/components/BulletListItem/BulletListItem.js +2 -2
- package/node/components/BulletListItem/styles.js +2 -2
- package/node/components/Button/Button.d.ts +5 -45
- package/node/components/Button/Button.js +2 -2
- package/node/components/Button/constants.d.ts +1 -1
- package/node/components/Button/constants.js +5 -5
- package/node/components/Button/styles.d.ts +1 -1
- package/node/components/Button/styles.js +5 -2
- package/node/components/Button/types.d.ts +25 -0
- package/node/components/Button/useLogic/useLogic.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.js +5 -2
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +8 -5
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/node/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +3 -3
- package/node/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/CardGridInfinite/constants.js +4 -4
- package/node/components/CardGridInfinite/styles.js +2 -2
- package/node/components/CardGridInfinite/useLogic/useLogic.js +8 -6
- package/node/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/node/components/CheckableTag/styles.js +2 -2
- package/node/components/Checkbox/Icon/Icon.js +2 -2
- package/node/components/Checkbox/constants.js +12 -12
- package/node/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/node/components/Checkbox/useLogic/useLogic.js +4 -4
- package/node/components/CheckboxField/constants.js +2 -2
- package/node/components/CheckboxField/styles.js +6 -5
- package/node/components/Chevron/Chevron.d.ts +2 -2
- package/node/components/Chevron/styles.js +2 -2
- package/node/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/node/components/ClickAwayListener/ClickAwayListener.js +2 -2
- package/node/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +2 -2
- package/node/components/CodeField/styles.d.ts +2 -8
- package/node/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/node/components/Collapse/Collapse.d.ts +2 -2
- package/node/components/Collapse/Collapse.js +5 -2
- package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/node/components/CollapsibleTypography/styles.d.ts +5 -11
- package/node/components/ComplianceStatus/styles.js +6 -4
- package/node/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/node/components/ConfigProvider/ConfigProvider.js +3 -3
- package/node/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/node/components/ConfirmAction/constants.js +2 -2
- package/node/components/ConfirmAction/index.d.ts +2 -1
- package/node/components/ConfirmAction/public.d.ts +2 -1
- package/node/components/ConfirmAction/styles.d.ts +2 -8
- package/node/components/ConfirmAction/types.d.ts +37 -0
- package/node/components/ConfirmAction/types.js +2 -0
- package/node/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmAction/useLogic/useLogic.js +2 -2
- package/node/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/node/components/ConfirmDialog/index.d.ts +1 -0
- package/node/components/ConfirmDialog/public.d.ts +1 -0
- package/node/components/ConfirmDialog/styles.d.ts +3 -3
- package/node/components/ConfirmDialog/types.d.ts +36 -0
- package/node/components/ConfirmDialog/types.js +2 -0
- package/node/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmDialog/useLogic/useLogic.js +2 -2
- package/node/components/ContentState/ContentState.js +5 -4
- package/node/components/ContentState/types.d.ts +1 -1
- package/node/components/ContentState/useLogic/useLogic.js +2 -2
- package/node/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/node/components/CopyTypography/CopyTypography.js +3 -3
- package/node/components/CopyTypography/constants.js +3 -3
- package/node/components/CopyTypography/index.d.ts +2 -1
- package/node/components/CopyTypography/public.d.ts +2 -1
- package/node/components/CopyTypography/styles.d.ts +2 -8
- package/node/components/CopyTypography/styles.js +2 -2
- package/node/components/CopyTypography/types.d.ts +23 -0
- package/node/components/CopyTypography/types.js +2 -0
- package/node/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/node/components/Counter/Counter.d.ts +1 -1
- package/node/components/Counter/styles.d.ts +1 -1
- package/node/components/Counter/styles.js +4 -4
- package/node/components/DashboardAlert/styles.d.ts +3 -3
- package/node/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/node/components/DashboardLayout/Header/Header.js +7 -5
- package/node/components/DashboardLayout/Header/constants.js +3 -3
- package/node/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/node/components/DashboardLayout/Header/styles.js +2 -2
- package/node/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
- package/node/components/DashboardLayout/Main/constants.js +3 -3
- package/node/components/DashboardLayout/constants.js +2 -2
- package/node/components/DashboardLayout/index.d.ts +2 -1
- package/node/components/DashboardLayout/public.d.ts +2 -1
- package/node/components/DashboardLayout/types.d.ts +13 -0
- package/node/components/DashboardLayout/types.js +2 -0
- package/node/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +2 -2
- package/node/components/DashboardSidebar/DashboardSidebar.js +3 -2
- package/node/components/DashboardSidebar/constants.js +2 -2
- package/node/components/DashboardSidebar/useLogic/useLogic.js +9 -8
- package/node/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/node/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/node/components/DashboardSidebarCounter/Badge/styles.js +4 -4
- package/node/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/node/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +2 -2
- package/node/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/node/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +13 -8
- package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +3 -3
- package/node/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/node/components/DashboardSidebarSkeleton/useLogic/useLogic.js +2 -2
- package/node/components/DataGrid/Body/Body.js +2 -2
- package/node/components/DataGrid/Cell/Cell.js +2 -2
- package/node/components/DataGrid/DataGrid.js +3 -2
- package/node/components/DataGrid/HeadCell/HeadCell.js +7 -5
- package/node/components/DataGrid/Loader/styles.d.ts +1 -1
- package/node/components/DataGrid/Loader/styles.js +26 -3
- package/node/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/node/components/DataGrid/NoData/NoData.js +2 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/Row.js +4 -4
- package/node/components/DataGrid/Row/constants.js +2 -2
- package/node/components/DataGrid/Row/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/styles.js +2 -2
- package/node/components/DataGrid/Row/useLogic/useLogic.js +4 -4
- package/node/components/DataGrid/constants.js +5 -5
- package/node/components/DataGrid/types.d.ts +1 -1
- package/node/components/DataGrid/useLogic/useLogic.js +8 -7
- package/node/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +5 -2
- package/node/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +8 -5
- package/node/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +2 -2
- package/node/components/DataGridInfinite/DataGridInfinite.js +3 -2
- package/node/components/DataGridInfinite/NoData/NoData.js +2 -2
- package/node/components/DataGridInfinite/useLogic/useLogic.js +5 -4
- package/node/components/DataGridPagination/styles.d.ts +2 -8
- package/node/components/DataGridPagination/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/node/components/DataGridPaginationContainer/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/node/components/DatePicker/DatePicker.d.ts +10 -103
- package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.js +4 -3
- package/node/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/node/components/DatePicker/DatePickerPopover/styles.js +5 -2
- package/node/components/DatePicker/DayPicker/DayPicker.js +3 -3
- package/node/components/DatePicker/MonthPicker/MonthPicker.js +5 -5
- package/node/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/node/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/node/components/DatePicker/constants.js +10 -10
- package/node/components/DatePicker/index.d.ts +2 -1
- package/node/components/DatePicker/public.d.ts +2 -1
- package/node/components/DatePicker/styles.d.ts +3 -3
- package/node/components/DatePicker/types/props.d.ts +60 -0
- package/node/components/DatePicker/types/props.js +2 -0
- package/node/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/useLogic/useLogic.js +10 -7
- package/node/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/node/components/DateRangePicker/index.d.ts +2 -1
- package/node/components/DateRangePicker/public.d.ts +2 -1
- package/node/components/DateRangePicker/styles.d.ts +1 -1
- package/node/components/DateRangePicker/styles.js +2 -2
- package/node/components/DateRangePicker/types.d.ts +44 -0
- package/node/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DateRangePicker/useLogic/useLogic.js +6 -5
- package/node/components/Description/Value/styles.d.ts +4 -16
- package/node/components/Description/constants.js +2 -2
- package/node/components/Description/styles.d.ts +1 -1
- package/node/components/Description/useLogic/useLogic.d.ts +1 -1
- package/node/components/DescriptionCell/constants.js +4 -4
- package/node/components/DescriptionCell/styles.js +2 -2
- package/node/components/DescriptionCell/useLogic/useLogic.js +2 -2
- package/node/components/DescriptionList/styles.d.ts +2 -8
- package/node/components/Dialog/Dialog.d.ts +2 -2
- package/node/components/Dialog/Dialog.js +2 -2
- package/node/components/Dialog/styles.d.ts +1 -1
- package/node/components/Dialog/styles.js +28 -4
- package/node/components/DialogActions/DialogActions.d.ts +2 -2
- package/node/components/DialogActions/styles.d.ts +1 -1
- package/node/components/DialogActions/styles.js +5 -2
- package/node/components/DialogContent/DialogContent.d.ts +2 -2
- package/node/components/DialogContent/styles.d.ts +1 -1
- package/node/components/DialogContent/styles.js +5 -2
- package/node/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/node/components/DialogContentText/styles.d.ts +1 -1
- package/node/components/DialogContentText/styles.js +5 -2
- package/node/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/node/components/DialogHeader/DialogHeader.js +2 -2
- package/node/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/node/components/DialogTitle/DialogTitle.js +6 -3
- package/node/components/Divider/Divider.d.ts +2 -2
- package/node/components/Divider/Divider.js +5 -2
- package/node/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/node/components/DropdownButton/DropdownButton.js +7 -4
- package/node/components/EmailField/EmailField.js +2 -2
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
- package/node/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/node/components/ErrorBoundary/ErrorBoundary.js +4 -3
- package/node/components/ExpansionPanel/Summary/Summary.js +2 -2
- package/node/components/ExpansionPanel/constants.js +6 -6
- package/node/components/ExpansionPanel/useLogic/useLogic.js +2 -2
- package/node/components/Fab/Fab.d.ts +2 -2
- package/node/components/Fab/styles.d.ts +1 -1
- package/node/components/Fab/styles.js +8 -4
- package/node/components/Fieldset/styles.d.ts +4 -16
- package/node/components/Filename/Filename.js +2 -2
- package/node/components/Filename/styles.d.ts +2 -8
- package/node/components/FlowButton/FlowButton.js +2 -2
- package/node/components/FlowButton/styles.d.ts +5 -11
- package/node/components/FormControl/FormControl.d.ts +2 -2
- package/node/components/FormControl/FormControl.js +5 -2
- package/node/components/FormControlLabel/styles.d.ts +1 -1
- package/node/components/FormControlLabel/styles.js +5 -2
- package/node/components/FormControlLabel/types.d.ts +1 -1
- package/node/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/node/components/FormHelperText/FormHelperText.js +5 -2
- package/node/components/FormHelperText/FormHelperTextContent/styles.js +4 -3
- package/node/components/FormLabel/FormLabel.d.ts +2 -2
- package/node/components/FormLabel/styles.d.ts +1 -1
- package/node/components/FormLabel/styles.js +5 -2
- package/node/components/GlobalStyles/GlobalStyles.js +8 -4
- package/node/components/GuidTypography/GuidTypography.js +3 -3
- package/node/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +2 -2
- package/node/components/HintIcon/constants.js +10 -7
- package/node/components/HintIcon/useLogic/useLogic.js +2 -2
- package/node/components/IconButton/IconButton.d.ts +3 -3
- package/node/components/IconButton/styles.d.ts +3 -3
- package/node/components/IconDropdownButton/IconDropdownButton.js +7 -4
- package/node/components/InfiniteDataList/InfiniteDataList.js +2 -2
- package/node/components/InfiniteDataList/NoData/NoData.js +2 -2
- package/node/components/InfiniteDataList/constants.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +2 -2
- package/node/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/InfiniteTreeList/constants.js +3 -3
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +8 -6
- package/node/components/InputGroup/styles.js +12 -11
- package/node/components/JsonViewer/JsonNode/styles.js +2 -2
- package/node/components/JsonViewer/JsonNode/useLogic/useLogic.js +2 -2
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +12 -11
- package/node/components/JsonViewer/JsonViewer.js +6 -4
- package/node/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/LegacyNotification/constants.js +4 -4
- package/node/components/LegacyNotification/styles.js +8 -5
- package/node/components/Link/Link.d.ts +3 -3
- package/node/components/Link/Link.js +4 -3
- package/node/components/Link/styles.d.ts +1 -1
- package/node/components/Link/styles.js +5 -2
- package/node/components/List/List.d.ts +1 -1
- package/node/components/ListItem/styles.d.ts +2 -2
- package/node/components/ListItem/styles.js +5 -2
- package/node/components/ListItem/types.d.ts +1 -1
- package/node/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/node/components/ListItemAvatar/ListItemAvatar.js +5 -2
- package/node/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/node/components/ListItemButton/ListItemButton.js +5 -2
- package/node/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/node/components/ListItemIcon/styles.d.ts +1 -1
- package/node/components/ListItemIcon/styles.js +5 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -2
- package/node/components/ListItemText/ListItemText.d.ts +1 -1
- package/node/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/node/components/ListSubheader/ListSubheader.js +5 -2
- package/node/components/Loader/Loader.js +2 -2
- package/node/components/Loader/constants.js +2 -2
- package/node/components/Menu/Menu.d.ts +2 -2
- package/node/components/Menu/Menu.js +5 -2
- package/node/components/MenuGroup/styles.d.ts +2 -8
- package/node/components/MenuItem/MenuItem.d.ts +2 -2
- package/node/components/MenuItem/MenuItem.js +5 -2
- package/node/components/MenuList/styles.d.ts +1 -1
- package/node/components/MenuList/styles.js +5 -2
- package/node/components/MenuList/types.d.ts +1 -1
- package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/node/components/MenuOrganization/constants.js +3 -3
- package/node/components/MenuOrganization/styles.d.ts +2 -8
- package/node/components/MenuOrganization/types.d.ts +1 -1
- package/node/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/node/components/MenuOrganization/useLogic/useLogic.js +2 -2
- package/node/components/MinimalisticPagination/MinimalisticPagination.js +3 -2
- package/node/components/MinimalisticPagination/styles.d.ts +2 -8
- package/node/components/NavMenu/Item/ItemButton/ItemButton.js +2 -2
- package/node/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/node/components/NavMenu/Item/ItemButton/styles.js +4 -3
- package/node/components/NavMenu/Item/List/List.js +7 -4
- package/node/components/NavMenu/NavMenu.js +5 -2
- package/node/components/NotFoundPage/constants.js +2 -2
- package/node/components/NotFoundPage/styles.d.ts +4 -16
- package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -2
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
- package/node/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +2 -2
- package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/Notification/constants.js +8 -8
- package/node/components/Notification/styles.js +8 -5
- package/node/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/node/components/NotificationList/ListItem/ListItem.js +2 -2
- package/node/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/node/components/NotificationList/SettingsButton/SettingsButton.js +2 -2
- package/node/components/NumberField/NumberField.d.ts +1 -1
- package/node/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +2 -2
- package/node/components/OverflowTypography/index.d.ts +1 -0
- package/node/components/OverflowTypography/public.d.ts +1 -0
- package/node/components/OverflowTypography/styles.d.ts +4 -16
- package/node/components/OverflowTypography/types.d.ts +32 -0
- package/node/components/OverflowTypography/types.js +2 -0
- package/node/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/node/components/OverflowTypography/useLogic/useLogic.js +2 -2
- package/node/components/PageAsideBlock/styles.js +4 -4
- package/node/components/PageContent/PageContent.js +2 -2
- package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/node/components/PageContent/constants.js +5 -5
- package/node/components/PageContent/useLogic/useLogic.js +2 -2
- package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/node/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.js +31 -4
- package/node/components/PageHeader/PageActions/MainActions/styles.js +2 -2
- package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageHeader.js +2 -2
- package/node/components/PageHeader/Title/Title.js +2 -2
- package/node/components/PageHeader/Title/styles.d.ts +6 -12
- package/node/components/PageHeader/constants.js +5 -5
- package/node/components/PageHeader/hooks/usePageTitle/usePageTitle.js +2 -2
- package/node/components/PageHeader/types.d.ts +1 -1
- package/node/components/PageHeader/useLogic/useLogic.js +4 -4
- package/node/components/PageLayout/PageLayout.js +2 -2
- package/node/components/PageLayoutContainer/PageLayoutContainer.js +2 -2
- package/node/components/PageLayoutContainer/constants.js +2 -2
- package/node/components/PageLayoutLoader/PageLayoutLoader.js +2 -2
- package/node/components/PagePinnableAside/PagePinnableAside.js +3 -3
- package/node/components/PagePinnableAside/constants.js +4 -3
- package/node/components/PagePinnableAside/useLogic/useLogic.js +2 -2
- package/node/components/Pagination/PaginationItem/PaginationItem.js +4 -3
- package/node/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/node/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/node/components/Paper/Paper.d.ts +2 -2
- package/node/components/Paper/styles.d.ts +1 -1
- package/node/components/Paper/styles.js +5 -2
- package/node/components/PasswordField/PasswordField.js +5 -4
- package/node/components/PdfViewer/ControlBar/ControlBar.js +3 -2
- package/node/components/PdfViewer/PdfDocument/PdfDocument.js +2 -2
- package/node/components/PdfViewer/PdfViewer.js +2 -2
- package/node/components/PdfViewer/constants.js +5 -5
- package/node/components/PdfViewer/useLogic/useLogic.js +2 -2
- package/node/components/PinButton/PinButton.js +5 -4
- package/node/components/PinButton/constants.js +2 -2
- package/node/components/PinButton/styles.d.ts +5 -11
- package/node/components/Popover/Popover.d.ts +2 -2
- package/node/components/Popover/styles.d.ts +1 -1
- package/node/components/Popover/styles.js +7 -3
- package/node/components/Product/styles.d.ts +3 -3
- package/node/components/ProductSwitcher/Content/Content.js +2 -2
- package/node/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/node/components/ProductSwitcher/Content/styles.js +4 -4
- package/node/components/ProductSwitcher/ProductSwitcher.js +2 -2
- package/node/components/ProductSwitcher/styles.js +2 -2
- package/node/components/ProductSwitcher/useLogic/useLogic.js +2 -2
- package/node/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/node/components/Profile/MenuList/MenuList.js +4 -4
- package/node/components/Profile/MenuList/styles.d.ts +2 -2
- package/node/components/Profile/MenuList/styles.js +4 -4
- package/node/components/Profile/Profile.js +7 -4
- package/node/components/Profile/constants.js +2 -2
- package/node/components/Profile/styles.d.ts +3 -3
- package/node/components/Profile/types.d.ts +4 -2
- package/node/components/ProgressBar/ProgressBar.js +5 -2
- package/node/components/Radio/Radio.js +2 -2
- package/node/components/Radio/constants.js +8 -8
- package/node/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/node/components/Radio/useLogic/useLogic.js +4 -4
- package/node/components/RadioCard/RadioCard.js +2 -2
- package/node/components/RadioCard/constants.js +3 -3
- package/node/components/RadioField/styles.d.ts +1 -1
- package/node/components/RadioField/styles.js +7 -3
- package/node/components/RedesignBanner/useLogic/useLogic.js +2 -2
- package/node/components/ScrollToTopButton/ScrollToTopButton.js +2 -2
- package/node/components/SearchField/SearchField.js +2 -2
- package/node/components/SearchField/styles.d.ts +3 -3
- package/node/components/SearchField/styles.js +2 -2
- package/node/components/SearchField/useLogic/useLogic.js +4 -3
- package/node/components/Select/Select.d.ts +1 -71
- package/node/components/Select/Select.js +11 -4
- package/node/components/Select/index.d.ts +1 -0
- package/node/components/Select/public.d.ts +1 -0
- package/node/components/Select/styles.d.ts +2 -2
- package/node/components/Select/styles.js +5 -2
- package/node/components/Select/types.d.ts +49 -0
- package/node/components/Select/types.js +2 -0
- package/node/components/Select/useLogic/useLogic.d.ts +1 -1
- package/node/components/Select/useLogic/useLogic.js +9 -8
- package/node/components/SideDialog/SideDialog.d.ts +2 -2
- package/node/components/SideDialog/styles.d.ts +2 -2
- package/node/components/SideDialog/styles.js +29 -4
- package/node/components/SideDialogActions/types.d.ts +2 -2
- package/node/components/SideDialogContent/types.d.ts +2 -2
- package/node/components/SideDialogContentText/types.d.ts +2 -2
- package/node/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/node/components/SideDialogTitle/styles.d.ts +1 -1
- package/node/components/Skeleton/Skeleton.d.ts +2 -2
- package/node/components/Skeleton/styles.d.ts +1 -1
- package/node/components/Skeleton/styles.js +27 -4
- package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/constants.js +5 -5
- package/node/components/StepSlider/StepSlider.d.ts +1 -1
- package/node/components/StepSlider/StepSlider.js +2 -2
- package/node/components/Stepper/ArrowConnector/ArrowConnector.js +2 -2
- package/node/components/Stepper/Step/index.d.ts +1 -1
- package/node/components/Stepper/Step/index.js +5 -2
- package/node/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/node/components/Stepper/StepButton/styles.d.ts +1 -1
- package/node/components/Stepper/StepButton/styles.js +4 -4
- package/node/components/Stepper/StepConnector/index.d.ts +3 -3
- package/node/components/Stepper/StepConnector/index.js +5 -2
- package/node/components/Stepper/StepContent/index.d.ts +1 -1
- package/node/components/Stepper/StepContent/index.js +5 -2
- package/node/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/node/components/Stepper/StepIcon/styles.js +8 -6
- package/node/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/node/components/Stepper/StepLabel/StepLabel.js +5 -2
- package/node/components/Stepper/Stepper.d.ts +2 -2
- package/node/components/Stepper/constants.js +2 -2
- package/node/components/Stepper/styles.d.ts +1 -1
- package/node/components/Stepper/styles.js +17 -10
- package/node/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/node/components/StepperWizard/index.d.ts +2 -2
- package/node/components/StepperWizard/public.d.ts +2 -2
- package/node/components/StepperWizard/types.d.ts +12 -0
- package/node/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/node/components/SvgIcon/SvgIcon.js +2 -2
- package/node/components/SvgIcon/constants.js +2 -2
- package/node/components/Switch/Switch.d.ts +2 -2
- package/node/components/Switch/styles.d.ts +1 -1
- package/node/components/Switch/styles.js +31 -7
- package/node/components/Tabs/Tab/Tab.d.ts +2 -2
- package/node/components/Tabs/Tab/styles.d.ts +1 -1
- package/node/components/Tabs/Tab/styles.js +5 -2
- package/node/components/Tabs/Tabs.d.ts +2 -2
- package/node/components/Tabs/styles.d.ts +1 -1
- package/node/components/Tabs/styles.js +27 -4
- package/node/components/Tag/Tag.js +2 -2
- package/node/components/Tag/constants.js +14 -14
- package/node/components/Tag/styles.d.ts +4 -4
- package/node/components/Tag/styles.js +5 -4
- package/node/components/Tag/useLogic/useLogic.js +2 -2
- package/node/components/TagBadge/TagBadge.js +2 -2
- package/node/components/TagsList/TagsList.d.ts +1 -28
- package/node/components/TagsList/types.d.ts +28 -0
- package/node/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/node/components/TagsList/useLogic/useLogic.js +2 -2
- package/node/components/TextField/TextField.d.ts +2 -2
- package/node/components/TextField/TextField.js +2 -2
- package/node/components/TextField/constants.js +2 -2
- package/node/components/TextField/styles.d.ts +2 -2
- package/node/components/TextField/styles.js +7 -3
- package/node/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/node/components/ThemeProvider/ThemeProvider.js +5 -2
- package/node/components/ToggleButton/styles.d.ts +1 -1
- package/node/components/ToggleButton/styles.js +30 -5
- package/node/components/ToggleButton/types.d.ts +2 -2
- package/node/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/node/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/node/components/ToggleButtonGroup/styles.js +5 -2
- package/node/components/Tooltip/Tooltip.d.ts +2 -2
- package/node/components/Tooltip/constants.js +2 -2
- package/node/components/Tooltip/styles.d.ts +2 -2
- package/node/components/Tooltip/styles.js +31 -8
- package/node/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/node/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/styles.js +2 -2
- package/node/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/useLogic/useLogic.js +2 -2
- package/node/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/node/components/Tree/TreeItem/constants.js +3 -3
- package/node/components/Tree/TreeItem/index.d.ts +2 -1
- package/node/components/Tree/TreeItem/index.js +3 -1
- package/node/components/Tree/TreeItem/styles.d.ts +23 -35
- package/node/components/Tree/TreeItem/styles.js +6 -6
- package/node/components/Tree/TreeItem/types.d.ts +70 -0
- package/node/components/Tree/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/node/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/node/components/Tree/TreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeList.js +2 -2
- package/node/components/Tree/TreeList/constants.js +2 -2
- package/node/components/Tree/TreeList/types.d.ts +1 -1
- package/node/components/Tree/TreeList/useLogic/useLogic.js +4 -4
- package/node/components/TreeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/node/components/TreeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/node/components/TreeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/node/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/styles.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +6 -4
- package/node/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/node/components/TreeLikeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/Input/styles.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/node/components/TreeLikeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/node/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/styles.js +4 -4
- package/node/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeList/types.d.ts +1 -1
- package/node/components/Typography/Typography.d.ts +7 -58
- package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +2 -2
- package/node/components/Typography/index.d.ts +1 -1
- package/node/components/Typography/index.js +0 -1
- package/node/components/Typography/public.d.ts +1 -1
- package/node/components/Typography/public.js +0 -1
- package/node/components/Typography/styles.d.ts +1 -1
- package/node/components/Typography/styles.js +5 -2
- package/node/components/Typography/types.d.ts +31 -0
- package/node/components/WelcomeScreen/styles.d.ts +4 -16
- package/node/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/node/components/fileUploading/FileInfo/styles.js +2 -2
- package/node/components/fileUploading/FileUploader/FileUploader.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Actions/Actions.js +8 -4
- package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +3 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +6 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +2 -2
- package/node/components/fileUploading/constants.js +4 -4
- package/node/components/fileUploading/hooks/useFileUploader/useFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +2 -2
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.js +2 -2
- package/node/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/node/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/node/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/node/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/node/components/hooks/useViewportType/useViewportType.js +7 -3
- package/node/components/index.d.ts +57 -8
- package/node/components/index.js +105 -31
- package/node/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/node/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +5 -2
- package/node/components/placeholders/LoadingPlaceholder/constants.js +2 -2
- package/node/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/node/components/styled/mixins/list/list.js +1 -1
- package/node/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/node/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/node/components/styled/styled.d.ts +1 -2
- package/node/components/theme/baseTheme/baseTheme.js +5 -5
- package/node/components/theme/breakpoints.d.ts +1 -1
- package/node/components/theme/components/MuiAlert.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.js +3 -3
- package/node/components/theme/components/MuiButton.d.ts +1 -1
- package/node/components/theme/components/MuiButton.js +42 -42
- package/node/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/node/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/node/components/theme/components/MuiDialog.d.ts +1 -1
- package/node/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/node/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.js +2 -2
- package/node/components/theme/components/MuiDrawer.d.ts +1 -1
- package/node/components/theme/components/MuiDrawer.js +3 -2
- package/node/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/node/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/node/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/node/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/node/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/node/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/node/components/theme/components/MuiListItemText.d.ts +1 -1
- package/node/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.js +5 -4
- package/node/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/node/components/theme/components/MuiMenuItem.js +4 -4
- package/node/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/node/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/node/components/theme/components/MuiPaper.d.ts +1 -1
- package/node/components/theme/components/MuiStep.d.ts +1 -1
- package/node/components/theme/components/MuiStep.js +4 -4
- package/node/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.js +2 -2
- package/node/components/theme/components/MuiSwitch.d.ts +1 -1
- package/node/components/theme/components/MuiTab.d.ts +1 -1
- package/node/components/theme/components/MuiTableCell.d.ts +1 -1
- package/node/components/theme/components/MuiTableHead.d.ts +1 -1
- package/node/components/theme/components/MuiTableRow.d.ts +1 -1
- package/node/components/theme/components/MuiTabs.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.js +9 -7
- package/node/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/node/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/node/components/theme/components/MuiTypography.d.ts +1 -1
- package/node/components/theme/components/components.d.ts +1 -1
- package/node/components/theme/types.d.ts +123 -2
- package/node/components/theme/types.js +119 -0
- package/node/components/transitions/Fade/Fade.d.ts +1 -1
- package/node/components/transitions/Fade/Fade.js +5 -2
- package/node/components/transitions/Grow/Grow.d.ts +1 -1
- package/node/components/transitions/Grow/Grow.js +5 -2
- package/node/components/transitions/Slide/Slide.d.ts +2 -2
- package/node/components/transitions/Slide/Slide.js +5 -2
- package/node/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/node/components/transitions/Zoom/Zoom.js +5 -2
- package/node/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/node/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +2 -2
- package/node/hook-form/EditableText/EditableText.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +2 -2
- package/node/hook-form/EditableText/styles.d.ts +2 -8
- package/node/hook-form/EditableText/styles.js +2 -2
- package/node/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/EditableText/useLogic/useLogic.js +2 -2
- package/node/hook-form/Form/Form.d.ts +1 -1
- package/node/hook-form/Form/Form.js +2 -2
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +2 -2
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormAutocomplete/FormAutocomplete.js +2 -2
- package/node/hook-form/FormCheckboxField/FormCheckboxField.js +2 -2
- package/node/hook-form/FormCodeField/FormCodeField.js +2 -2
- package/node/hook-form/FormDatePicker/FormDatePicker.js +4 -3
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +4 -3
- package/node/hook-form/FormEmailField/FormEmailField.js +2 -2
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +2 -2
- package/node/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/node/hook-form/FormFileUploader/FormFileUploader.js +4 -4
- package/node/hook-form/FormMaskField/FormMaskField.js +2 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +4 -4
- package/node/hook-form/FormNumberField/FormNumberField.js +2 -2
- package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayout/FormPageLayout.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
- package/node/hook-form/FormPageLayoutBase/constants.js +5 -5
- package/node/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/FormPasswordField/FormPasswordField.js +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +4 -4
- package/node/hook-form/FormRadioGroup/FormRadioGroup.js +2 -2
- package/node/hook-form/FormSelect/FormSelect.js +2 -2
- package/node/hook-form/FormSubmitButton/FormSubmitButton.js +2 -2
- package/node/hook-form/FormTextArea/FormTextArea.js +2 -2
- package/node/hook-form/FormTextField/FormTextField.js +2 -2
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +2 -2
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +2 -2
- package/node/hook-form/FormWizard/Footer/Footer.js +4 -3
- package/node/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/node/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +4 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +2 -2
- package/node/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +2 -2
- package/package.json +1 -1
- package/components/fileUploading/index.d.ts +0 -8
- package/components/fileUploading/index.js +0 -8
- package/components/hooks/index.d.ts +0 -24
- package/components/hooks/index.js +0 -24
- package/components/placeholders/index.d.ts +0 -4
- package/components/placeholders/index.js +0 -4
- package/components/theme/index.d.ts +0 -9
- package/components/theme/index.js +0 -9
- package/components/theme/typography.d.ts +0 -122
- package/components/theme/typography.js +0 -117
- package/components/transitions/index.d.ts +0 -4
- package/components/transitions/index.js +0 -4
- package/components/types/index.d.ts +0 -6
- package/components/types/index.js +0 -6
- package/components/utils/index.d.ts +0 -18
- package/components/utils/index.js +0 -18
- package/node/components/fileUploading/index.d.ts +0 -8
- package/node/components/fileUploading/index.js +0 -21
- package/node/components/hooks/index.d.ts +0 -24
- package/node/components/hooks/index.js +0 -51
- package/node/components/placeholders/index.d.ts +0 -4
- package/node/components/placeholders/index.js +0 -12
- package/node/components/theme/index.d.ts +0 -9
- package/node/components/theme/index.js +0 -25
- package/node/components/theme/typography.d.ts +0 -122
- package/node/components/theme/typography.js +0 -121
- package/node/components/transitions/index.d.ts +0 -4
- package/node/components/transitions/index.js +0 -11
- package/node/components/types/index.d.ts +0 -6
- package/node/components/types/index.js +0 -22
- package/node/components/utils/index.d.ts +0 -18
- package/node/components/utils/index.js +0 -34
|
@@ -4,9 +4,9 @@ exports.FormAsyncAutocomplete = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const AsyncAutocomplete_1 = require("../../components/AsyncAutocomplete");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
const FormAsyncAutocomplete = (props) => {
|
|
9
|
-
const fieldProps = (0,
|
|
9
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
10
10
|
...props,
|
|
11
11
|
defaultValue: props.defaultValue ||
|
|
12
12
|
(props.multiple ? [] : null),
|
|
@@ -4,12 +4,12 @@ exports.FormAutocomplete = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const Autocomplete_1 = require("../../components/Autocomplete");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* Адаптер для Select
|
|
10
10
|
*/
|
|
11
11
|
const FormAutocomplete = (props) => {
|
|
12
|
-
const fieldProps = (0,
|
|
12
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
13
13
|
...props,
|
|
14
14
|
defaultValue: props.defaultValue ||
|
|
15
15
|
(props.multiple ? [] : null),
|
|
@@ -4,12 +4,12 @@ exports.FormCheckboxField = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const CheckboxField_1 = require("../../components/CheckboxField");
|
|
6
6
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* Адаптер для CheckboxField
|
|
10
10
|
*/
|
|
11
11
|
const FormCheckboxFieldInner = ({ success, hideHelperText = false, ...restProps }, ref) => {
|
|
12
|
-
const { title = '', value, error, ...restFieldProps } = (0,
|
|
12
|
+
const { title = '', value, error, ...restFieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
13
13
|
...restProps,
|
|
14
14
|
defaultValue: restProps.defaultValue ||
|
|
15
15
|
null,
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormCodeField = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const CodeField_1 = require("../../components/CodeField");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для CodeField
|
|
9
9
|
*/
|
|
10
10
|
const FormCodeField = (props) => {
|
|
11
11
|
const { errorText, isError, ...withoutErrorProps } = props;
|
|
12
|
-
const { error, helperText, onChange, value, ...fieldProps } = (0,
|
|
12
|
+
const { error, helperText, onChange, value, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)(withoutErrorProps);
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)(CodeField_1.CodeField, { isError: error, errorText: helperText, onChange: onChange, initialValue: value, ...fieldProps }));
|
|
14
14
|
};
|
|
15
15
|
exports.FormCodeField = FormCodeField;
|
|
@@ -3,17 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormDatePicker = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const DatePicker_1 = require("../../components/DatePicker");
|
|
6
|
-
const
|
|
6
|
+
const useFormContext_1 = require("../hooks/useFormContext");
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
8
|
/**
|
|
8
9
|
* DatePicker для формы. Инкапсулирует дефолтную валидацию на валидность даты
|
|
9
10
|
*/
|
|
10
11
|
const FormDatePicker = ({ ...props }) => {
|
|
11
|
-
const fieldProps = (0,
|
|
12
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
13
|
...props,
|
|
13
14
|
defaultValue: props.defaultValue || null,
|
|
14
15
|
});
|
|
15
16
|
const { error, helperText, ...fieldPropsWithoutErrorProps } = fieldProps;
|
|
16
|
-
const { trigger } = (0,
|
|
17
|
+
const { trigger } = (0, useFormContext_1.useFormContext)();
|
|
17
18
|
const { name, onBlur, onChange, ref, value, ...datePickerProps } = fieldPropsWithoutErrorProps;
|
|
18
19
|
const handleDateChange = (date) => {
|
|
19
20
|
onChange(date);
|
|
@@ -3,16 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormDateRangePicker = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const DateRangePicker_1 = require("../../components/DateRangePicker");
|
|
6
|
-
const
|
|
6
|
+
const useFormContext_1 = require("../hooks/useFormContext");
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
8
|
/**
|
|
8
9
|
* DateRangePicker для формы. Инкапсулирует дефолтную валидацию на валидность даты
|
|
9
10
|
*/
|
|
10
11
|
const FormDateRangePicker = ({ startDateProps, endDateProps, ...props }) => {
|
|
11
|
-
const { error, onChange, name, ...fieldProps } = (0,
|
|
12
|
+
const { error, onChange, name, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
13
|
...props,
|
|
13
14
|
defaultValue: props.defaultValue || null,
|
|
14
15
|
});
|
|
15
|
-
const { trigger } = (0,
|
|
16
|
+
const { trigger } = (0, useFormContext_1.useFormContext)();
|
|
16
17
|
const handleChange = (value) => {
|
|
17
18
|
onChange(value);
|
|
18
19
|
trigger(name).catch();
|
|
@@ -4,9 +4,9 @@ exports.FormEmailField = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const EmailField_1 = require("../../components/EmailField");
|
|
6
6
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
function FormEmailFieldInner(props, ref) {
|
|
9
|
-
const fieldProps = (0,
|
|
9
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
10
10
|
...props,
|
|
11
11
|
defaultValue: props.defaultValue || '',
|
|
12
12
|
});
|
|
@@ -4,7 +4,7 @@ exports.FormEmailOrPhoneField = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const EmailOrPhoneField_1 = require("../../components/EmailOrPhoneField");
|
|
6
6
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
const DEFAULT_VALUE = {
|
|
9
9
|
value: '',
|
|
10
10
|
normalizedValue: '',
|
|
@@ -14,7 +14,7 @@ const DEFAULT_VALUE = {
|
|
|
14
14
|
* Адаптер для EmailOrPhoneField
|
|
15
15
|
*/
|
|
16
16
|
const FormEmailOrPhoneFieldInner = (props, ref) => {
|
|
17
|
-
const fieldProps = (0,
|
|
17
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
18
18
|
...props,
|
|
19
19
|
defaultValue: props.defaultValue ||
|
|
20
20
|
DEFAULT_VALUE,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type FileUploaderNotify, type FileUploaderProps, type UploadFile } from '../../components/fileUploading';
|
|
2
|
+
import { type FileUploaderNotify, type FileUploaderProps, type UploadFile } from '../../components/fileUploading/FileUploader';
|
|
3
3
|
import { type WithFormFieldProps } from '../types';
|
|
4
4
|
type BaseFileUploaderProps = Omit<FileUploaderProps, 'value' | 'isMultiple' | 'maxFileCount' | 'notify' | 'onChange'>;
|
|
5
5
|
type SingleFileUploaderProps = {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FormFileUploader = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const FileUploader_1 = require("../../components/fileUploading/FileUploader");
|
|
6
6
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* FileUploader для формы
|
|
10
10
|
*/
|
|
11
11
|
const FormFileUploaderInner = (props, ref) => {
|
|
12
|
-
const { error, ...fieldProps } = (0,
|
|
12
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)(props);
|
|
13
13
|
// biome-ignore lint/suspicious/noTsIgnore: Ошибка типизации при пробросе пропсов: isMultiple
|
|
14
14
|
// @ts-ignore
|
|
15
15
|
// TODO https://track.astral.ru/soft/browse/UIKIT-1926
|
|
16
|
-
return (0, jsx_runtime_1.jsx)(
|
|
16
|
+
return (0, jsx_runtime_1.jsx)(FileUploader_1.FileUploader, { isError: error, ...fieldProps, ref: ref });
|
|
17
17
|
};
|
|
18
18
|
exports.FormFileUploader = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(FormFileUploaderInner);
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormMaskField = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const MaskField_1 = require("../../components/MaskField");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для MaskField
|
|
9
9
|
*/
|
|
10
10
|
const FormMaskField = (props) => {
|
|
11
|
-
const fieldProps = (0,
|
|
11
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || null,
|
|
14
14
|
});
|
|
@@ -4,14 +4,14 @@ exports.FormMobilePhoneField = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const MaskField_1 = require("../../components/MaskField");
|
|
6
6
|
const personalDataSecurity_1 = require("../../components/personalDataSecurity");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const classNames_1 = require("../../components/utils/classNames");
|
|
8
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
9
9
|
const MOBILE_PHONE_MASK = '+{7} (000) 000-00-00';
|
|
10
10
|
/**
|
|
11
11
|
* Поле для ввода личного мобильного номера телефона, начинающего на 79
|
|
12
12
|
*/
|
|
13
13
|
const FormMobilePhoneField = ({ isHidePersonalData, inputProps, ...props }) => {
|
|
14
|
-
const fieldProps = (0,
|
|
14
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
15
15
|
...props,
|
|
16
16
|
defaultValue: props.defaultValue || null,
|
|
17
17
|
});
|
|
@@ -21,7 +21,7 @@ const FormMobilePhoneField = ({ isHidePersonalData, inputProps, ...props }) => {
|
|
|
21
21
|
});
|
|
22
22
|
return ((0, jsx_runtime_1.jsx)(MaskField_1.MaskField, { inputProps: {
|
|
23
23
|
...inputProps,
|
|
24
|
-
className: (0,
|
|
24
|
+
className: (0, classNames_1.classNames)(inputProps?.className, hidePersonalDataClassname),
|
|
25
25
|
}, placeholder: "+7 (9**) ***-**-**", ...fieldProps, mask: MOBILE_PHONE_MASK, autoComplete: "tel" }));
|
|
26
26
|
};
|
|
27
27
|
exports.FormMobilePhoneField = FormMobilePhoneField;
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormNumberField = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const NumberField_1 = require("../../components/NumberField");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для MaskField
|
|
9
9
|
*/
|
|
10
10
|
const FormNumberField = (props) => {
|
|
11
|
-
const fieldProps = (0,
|
|
11
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)(props);
|
|
12
12
|
return (0, jsx_runtime_1.jsx)(NumberField_1.NumberField, { ...fieldProps });
|
|
13
13
|
};
|
|
14
14
|
exports.FormNumberField = FormNumberField;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
3
|
-
variant?: "light" | "link" | "
|
|
2
|
+
export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
|
-
color?: "
|
|
5
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
6
6
|
component?: import("react").ElementType | undefined;
|
|
7
7
|
selected?: boolean | undefined;
|
|
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 StyledMobileButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
12
|
-
variant?: "light" | "link" | "
|
|
11
|
+
export declare const StyledMobileButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
12
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
13
13
|
loading?: boolean | undefined;
|
|
14
|
-
color?: "
|
|
14
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
15
15
|
component?: import("react").ElementType | undefined;
|
|
16
16
|
selected?: boolean | undefined;
|
|
17
17
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
@@ -5,10 +5,10 @@ export declare const ActionsWrapper: import("@emotion/styled/dist/declarations/s
|
|
|
5
5
|
} & {
|
|
6
6
|
$isShowMoreButton?: boolean | undefined;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const ShowMoreButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
9
|
-
variant?: "light" | "link" | "
|
|
8
|
+
export declare const ShowMoreButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
9
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
10
10
|
loading?: boolean | undefined;
|
|
11
|
-
color?: "
|
|
11
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
12
12
|
component?: import("react").ElementType | undefined;
|
|
13
13
|
selected?: boolean | undefined;
|
|
14
14
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FormPageLayout = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const classNames_1 = require("../../components/utils/classNames");
|
|
6
6
|
const Form_1 = require("../Form");
|
|
7
7
|
const FormPageLayoutBase_1 = require("../FormPageLayoutBase");
|
|
8
8
|
const FormPageFooter_1 = require("./FormPageFooter");
|
|
@@ -13,7 +13,7 @@ const styles_1 = require("./styles");
|
|
|
13
13
|
const FormPageLayout = (props) => {
|
|
14
14
|
const { form, children, ...restProps } = props;
|
|
15
15
|
const { secondaryActions, submitButtonText, ...restFormProps } = form;
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)(FormPageLayoutBase_1.FormPageLayoutBase, { ...restProps, formProps: { ...form, secondaryActions }, contentClassname: (0,
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(FormPageLayoutBase_1.FormPageLayoutBase, { ...restProps, formProps: { ...form, secondaryActions }, contentClassname: (0, classNames_1.classNames)({
|
|
17
17
|
[FormPageLayoutBase_1.formPageContentClassnames.formPageContentSecondaryActions]: Boolean(secondaryActions),
|
|
18
18
|
}), children: ({ isDisabled }) => ((0, jsx_runtime_1.jsxs)(Form_1.Form, { ...restFormProps, isDisabled: isDisabled, children: [(0, jsx_runtime_1.jsx)(styles_1.FormContent, { children: children }), (0, jsx_runtime_1.jsx)(FormPageFooter_1.FormPageFooter, { isDisabled: isDisabled, submitButtonText: submitButtonText, secondaryActions: secondaryActions })] })) }));
|
|
19
19
|
};
|
|
@@ -4,7 +4,7 @@ exports.FormMobileActions = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const ActionGroup_1 = require("../../../components/ActionGroup");
|
|
6
6
|
const MenuItem_1 = require("../../../components/MenuItem");
|
|
7
|
-
const
|
|
7
|
+
const DotsVOutlineMd_1 = require("../../../icons/DotsVOutlineMd");
|
|
8
8
|
const styles_1 = require("./styles");
|
|
9
9
|
const FormMobileActions = ({ actions, }) => {
|
|
10
10
|
const mainActions = (0, ActionGroup_1.useMainActions)({
|
|
@@ -15,7 +15,7 @@ const FormMobileActions = ({ actions, }) => {
|
|
|
15
15
|
}
|
|
16
16
|
const { secondaryVisible = [], secondary = [] } = actions;
|
|
17
17
|
const secondaryActions = [...secondaryVisible, ...secondary];
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledIconDropDownButton, { title: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F", variant: "text", icon: (0, jsx_runtime_1.jsx)(
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledIconDropDownButton, { title: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F", variant: "text", icon: (0, jsx_runtime_1.jsx)(DotsVOutlineMd_1.DotsVOutlineMd, {}), children: [mainActions.map(({ isNested, buttonProps, nestedActions }, index) => {
|
|
19
19
|
const { name, disabled } = buttonProps;
|
|
20
20
|
if (isNested) {
|
|
21
21
|
return ((0, jsx_runtime_1.jsx)(MenuItem_1.MenuItem
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
export declare const StyledIconDropDownButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../../components/IconDropdownButton").IconDropdownButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
}, {}, {}>;
|
|
5
|
-
export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
6
|
-
variant?: "light" | "link" | "
|
|
5
|
+
export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
6
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
7
7
|
loading?: boolean | undefined;
|
|
8
|
-
color?: "
|
|
8
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
9
9
|
component?: import("react").ElementType | undefined;
|
|
10
10
|
selected?: boolean | undefined;
|
|
11
11
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ElementType, type ReactNode } from 'react';
|
|
2
2
|
import { type PageLayoutProps } from '../../components/PageLayout';
|
|
3
3
|
import type { SecondaryAction } from '../FormPageLayoutBase';
|
|
4
|
-
import { type UseFormReturn } from '../hooks';
|
|
4
|
+
import { type UseFormReturn } from '../hooks/useForm';
|
|
5
5
|
type FormPageProps<TFormValues extends Record<string, unknown>> = {
|
|
6
6
|
form: UseFormReturn<TFormValues> | null;
|
|
7
7
|
/**
|
|
@@ -6,7 +6,7 @@ const react_1 = require("react");
|
|
|
6
6
|
const PageAside_1 = require("../../components/PageAside");
|
|
7
7
|
const PageContext_1 = require("../../components/PageContext");
|
|
8
8
|
const PageLayoutContainer_1 = require("../../components/PageLayoutContainer");
|
|
9
|
-
const
|
|
9
|
+
const classNames_1 = require("../../components/utils/classNames");
|
|
10
10
|
const FormMobileActions_1 = require("./FormMobileActions");
|
|
11
11
|
const styles_1 = require("./styles");
|
|
12
12
|
const useLogic_1 = require("./useLogic");
|
|
@@ -16,6 +16,6 @@ const useLogic_1 = require("./useLogic");
|
|
|
16
16
|
const FormPageLayoutBase = (props) => {
|
|
17
17
|
const { pageContentProps, headerProps, renderChildrenProps, headerActions } = (0, useLogic_1.useLogic)(props);
|
|
18
18
|
const { className, aside, children, alert, contentClassname, header } = props;
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)(PageContext_1.PageContextProvider, { hasAside: Boolean(aside), mobileTitleActions: (0, jsx_runtime_1.jsx)(FormMobileActions_1.FormMobileActions, { actions: headerActions }), children: [alert && (0, jsx_runtime_1.jsx)(styles_1.DesktopAlertWrapper, { children: alert }), (0, jsx_runtime_1.jsxs)(PageLayoutContainer_1.PageLayoutContainer, { className: className, children: [alert && (0, jsx_runtime_1.jsx)(styles_1.MobileAlertWrapper, { children: alert }), (0, react_1.isValidElement)(header) ? (header) : ((0, jsx_runtime_1.jsx)(styles_1.StyledPageHeader, { ...headerProps })), (0, jsx_runtime_1.jsx)(styles_1.StyledPageContent, { className: (0,
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)(PageContext_1.PageContextProvider, { hasAside: Boolean(aside), mobileTitleActions: (0, jsx_runtime_1.jsx)(FormMobileActions_1.FormMobileActions, { actions: headerActions }), children: [alert && (0, jsx_runtime_1.jsx)(styles_1.DesktopAlertWrapper, { children: alert }), (0, jsx_runtime_1.jsxs)(PageLayoutContainer_1.PageLayoutContainer, { className: className, children: [alert && (0, jsx_runtime_1.jsx)(styles_1.MobileAlertWrapper, { children: alert }), (0, react_1.isValidElement)(header) ? (header) : ((0, jsx_runtime_1.jsx)(styles_1.StyledPageHeader, { ...headerProps })), (0, jsx_runtime_1.jsx)(styles_1.StyledPageContent, { className: (0, classNames_1.classNames)(contentClassname), isFormPaddingDisable: true, ...pageContentProps, children: children(renderChildrenProps) }), aside && !(0, react_1.isValidElement)(aside) && ((0, jsx_runtime_1.jsx)(PageAside_1.PageAside, { ...aside })), (0, react_1.isValidElement)(aside) && aside] })] }));
|
|
20
20
|
};
|
|
21
21
|
exports.FormPageLayoutBase = FormPageLayoutBase;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.formPageContentClassnames = exports.formPageLayoutClassnames = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../../components/utils/createUIKitClassname");
|
|
5
5
|
exports.formPageLayoutClassnames = {
|
|
6
|
-
pageHeaderActions: (0,
|
|
7
|
-
footerShadow: (0,
|
|
6
|
+
pageHeaderActions: (0, createUIKitClassname_1.createUIKitClassname)('form-page-layout__header__actions'),
|
|
7
|
+
footerShadow: (0, createUIKitClassname_1.createUIKitClassname)('form-page-layout__footer_shadow'),
|
|
8
8
|
};
|
|
9
9
|
exports.formPageContentClassnames = {
|
|
10
|
-
formPageContentSecondaryActions: (0,
|
|
11
|
-
formWizardPageContentActions: (0,
|
|
10
|
+
formPageContentSecondaryActions: (0, createUIKitClassname_1.createUIKitClassname)('form-page-content__actions'),
|
|
11
|
+
formWizardPageContentActions: (0, createUIKitClassname_1.createUIKitClassname)('form-wizard-page-content_has-actions'),
|
|
12
12
|
};
|
|
@@ -12,7 +12,7 @@ export declare const useLogic: <TFormValues extends Record<string, unknown>>({ a
|
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
shouldUpdateDocumentTitle?: boolean | undefined;
|
|
14
14
|
htmlTitle?: string | undefined;
|
|
15
|
-
backButton?: (Omit<import("../../..").ButtonProps, "children" | "
|
|
15
|
+
backButton?: (Omit<import("../../..").ButtonProps, "children" | "component" | "variant"> & {
|
|
16
16
|
component?: import("react").ElementType | undefined;
|
|
17
17
|
theme?: import("../../..").Theme | undefined;
|
|
18
18
|
} & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>) | undefined;
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormPasswordField = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const PasswordField_1 = require("../../components/PasswordField");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для PasswordField
|
|
9
9
|
*/
|
|
10
10
|
const FormPasswordField = (props) => {
|
|
11
|
-
const fieldProps = (0,
|
|
11
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)(props);
|
|
12
12
|
return (0, jsx_runtime_1.jsx)(PasswordField_1.PasswordField, { ...fieldProps });
|
|
13
13
|
};
|
|
14
14
|
exports.FormPasswordField = FormPasswordField;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ForwardedRef } from 'react';
|
|
2
|
-
import { type PreviewFileUploaderProps } from '../../components/fileUploading';
|
|
2
|
+
import { type PreviewFileUploaderProps } from '../../components/fileUploading/PreviewFileUploader';
|
|
3
3
|
import { type WithFormFieldProps } from '../types';
|
|
4
4
|
export type FormPreviewFileUploaderProps<TFieldValues extends object> = WithFormFieldProps<Omit<PreviewFileUploaderProps, 'value' | 'onChange'>, TFieldValues>;
|
|
5
5
|
/**
|
|
6
6
|
* PreviewFileUploader для формы
|
|
7
7
|
*/
|
|
8
8
|
export declare const FormPreviewFileUploaderInner: <TFieldValues extends object>(props: FormPreviewFileUploaderProps<TFieldValues>, ref: ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const FormPreviewFileUploader: <TFieldValues extends object>(props: Omit<Omit<import("
|
|
9
|
+
export declare const FormPreviewFileUploader: <TFieldValues extends object>(props: Omit<Omit<import("../..").UsePreviewFileUploaderParams, "onChange" | "value">, "error" | "name"> & Omit<import("react-hook-form").UseControllerProps<TFieldValues>, "rules"> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FormPreviewFileUploader = exports.FormPreviewFileUploaderInner = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const PreviewFileUploader_1 = require("../../components/fileUploading/PreviewFileUploader");
|
|
6
6
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* PreviewFileUploader для формы
|
|
10
10
|
*/
|
|
11
11
|
const FormPreviewFileUploaderInner = (props, ref) => {
|
|
12
|
-
const { error, ...fieldProps } = (0,
|
|
13
|
-
return (0, jsx_runtime_1.jsx)(
|
|
12
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)(props);
|
|
13
|
+
return (0, jsx_runtime_1.jsx)(PreviewFileUploader_1.PreviewFileUploader, { isError: error, ...fieldProps, ref: ref });
|
|
14
14
|
};
|
|
15
15
|
exports.FormPreviewFileUploaderInner = FormPreviewFileUploaderInner;
|
|
16
16
|
exports.FormPreviewFileUploader = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(exports.FormPreviewFileUploaderInner);
|
|
@@ -4,13 +4,13 @@ exports.FormRadioGroup = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
6
6
|
const RadioGroup_1 = require("../../components/RadioGroup");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* Адаптер RadioGroup для формы
|
|
10
10
|
*/
|
|
11
11
|
const FormRadioGroupInner = (props, ref) => {
|
|
12
12
|
const { errorText, isError, ...withoutErrorProps } = props;
|
|
13
|
-
const { error, helperText, inputRef, children, ...fieldProps } = (0,
|
|
13
|
+
const { error, helperText, inputRef, children, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
14
14
|
...withoutErrorProps,
|
|
15
15
|
defaultValue: withoutErrorProps.defaultValue ||
|
|
16
16
|
null,
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormSelect = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Select_1 = require("../../components/Select");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для Select
|
|
9
9
|
*/
|
|
10
10
|
const FormSelect = (props) => {
|
|
11
|
-
const fieldProps = (0,
|
|
11
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue ||
|
|
14
14
|
(props.multiple ? [] : null),
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormSubmitButton = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Button_1 = require("../../components/Button");
|
|
6
|
-
const
|
|
6
|
+
const useFormContext_1 = require("../hooks/useFormContext");
|
|
7
7
|
/**
|
|
8
8
|
* Используется для форм, отображает состояние загрузки, когда форма isSubmitting
|
|
9
9
|
*/
|
|
10
10
|
const FormSubmitButton = ({ children, loading, ...props }) => {
|
|
11
|
-
const { formState } = (0,
|
|
11
|
+
const { formState } = (0, useFormContext_1.useFormContext)();
|
|
12
12
|
return ((0, jsx_runtime_1.jsx)(Button_1.Button, { type: "submit", loading: loading || formState?.isSubmitting, ...props, children: children }));
|
|
13
13
|
};
|
|
14
14
|
exports.FormSubmitButton = FormSubmitButton;
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormTextArea = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const TextArea_1 = require("../../components/TextArea");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Адаптер для TextArea
|
|
9
9
|
*/
|
|
10
10
|
const FormTextArea = (props) => {
|
|
11
|
-
const fieldProps = (0,
|
|
11
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || '',
|
|
14
14
|
});
|
|
@@ -4,12 +4,12 @@ exports.FormTextField = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const forwardRefWithGeneric_1 = require("../../components/forwardRefWithGeneric");
|
|
6
6
|
const TextField_1 = require("../../components/TextField");
|
|
7
|
-
const
|
|
7
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
8
8
|
/**
|
|
9
9
|
* Адаптер для TextField
|
|
10
10
|
*/
|
|
11
11
|
function FormTextFieldInner(props, ref) {
|
|
12
|
-
const fieldProps = (0,
|
|
12
|
+
const fieldProps = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
13
13
|
...props,
|
|
14
14
|
defaultValue: props.defaultValue || '',
|
|
15
15
|
});
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormToggleButtonGroup = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const ToggleButtonGroup_1 = require("../../components/ToggleButtonGroup");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
const FormToggleButtonGroup = (props) => {
|
|
8
8
|
const { isError, onChange, errorText, color: colorToggleButton, isDisabledErrorText, ...restProps } = props;
|
|
9
|
-
const { error, children, helperText, onChange: fieldPropsOnChange, ...fieldProps } = (0,
|
|
9
|
+
const { error, children, helperText, onChange: fieldPropsOnChange, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
10
10
|
...restProps,
|
|
11
11
|
defaultValue: restProps.defaultValue ||
|
|
12
12
|
null,
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormTreeAsyncAutocomplete = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const TreeAsyncAutocomplete_1 = require("../../components/TreeAsyncAutocomplete");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* FormTreeAsyncAutocomplete для формы
|
|
9
9
|
*/
|
|
10
10
|
const FormTreeAsyncAutocomplete = (props) => {
|
|
11
|
-
const { error, ...fieldProps } = (0,
|
|
11
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || null,
|
|
14
14
|
});
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormTreeAutocomplete = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const TreeAutocomplete_1 = require("../../components/TreeAutocomplete");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* FormTreeAutocomplete для формы
|
|
9
9
|
*/
|
|
10
10
|
const FormTreeAutocomplete = (props) => {
|
|
11
|
-
const { error, ...fieldProps } = (0,
|
|
11
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || null,
|
|
14
14
|
});
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormTreeLikeAsyncAutocomplete = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const TreeLikeAsyncAutocomplete_1 = require("../../components/TreeLikeAsyncAutocomplete");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* Обертка TreeLikeAsyncAutocomplete для формы
|
|
9
9
|
*/
|
|
10
10
|
const FormTreeLikeAsyncAutocomplete = (props) => {
|
|
11
|
-
const { error, ...fieldProps } = (0,
|
|
11
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || '',
|
|
14
14
|
});
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FormTreeLikeAutocomplete = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const TreeLikeAutocomplete_1 = require("../../components/TreeLikeAutocomplete");
|
|
6
|
-
const
|
|
6
|
+
const useFormFieldProps_1 = require("../hooks/useFormFieldProps");
|
|
7
7
|
/**
|
|
8
8
|
* FormTreeAutocomplete для формы
|
|
9
9
|
*/
|
|
10
10
|
const FormTreeLikeAutocomplete = (props) => {
|
|
11
|
-
const { error, ...fieldProps } = (0,
|
|
11
|
+
const { error, ...fieldProps } = (0, useFormFieldProps_1.useFormFieldProps)({
|
|
12
12
|
...props,
|
|
13
13
|
defaultValue: props.defaultValue || '',
|
|
14
14
|
});
|