@astral/ui 4.18.3 → 4.18.4
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 -2
- 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 +1 -1
- package/components/Alert/Alert.js +5 -1
- package/components/Alert/styles.d.ts +7 -7
- package/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +1 -1
- package/components/AsyncAutocomplete/useLogic/useLogic.d.ts +35 -35
- 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 -7
- package/components/AutoSaveIndicator/useLogic/useLogic.js +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/components/Autocomplete/Autocomplete.js +4 -2
- package/components/Autocomplete/styles.d.ts +2 -2
- package/components/Autocomplete/styles.js +4 -1
- package/components/Autocomplete/types.d.ts +2 -1
- package/components/Autocomplete/useLogic/useLogic.d.ts +1 -1
- package/components/Avatar/styles.d.ts +1 -1
- package/components/Avatar/styles.js +1 -1
- package/components/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/components/AvatarGroup/styles.d.ts +1 -1
- package/components/AvatarGroup/styles.js +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/BottomDrawer/BottomDrawer.d.ts +1 -1
- package/components/BottomDrawer/BottomDrawer.js +1 -1
- package/components/BottomDrawer/styles.d.ts +4 -4
- 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/styles.js +1 -1
- package/components/Button/Button.d.ts +4 -4
- package/components/Button/constants.d.ts +1 -1
- package/components/Button/constants.js +1 -1
- package/components/Button/styles.d.ts +1 -1
- package/components/Button/styles.js +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/useLogic/useLogic.js +3 -1
- package/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/components/CheckableTag/styles.js +1 -1
- package/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/components/Checkbox/useLogic/useLogic.js +1 -1
- package/components/CheckboxField/styles.js +2 -1
- package/components/Chevron/Chevron.d.ts +1 -1
- 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 -2
- package/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/components/Collapse/Collapse.d.ts +1 -1
- package/components/Collapse/Collapse.js +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -2
- package/components/CollapsibleTypography/styles.d.ts +5 -5
- package/components/ComplianceStatus/styles.js +3 -1
- package/components/ConfirmAction/styles.d.ts +2 -2
- package/components/ConfirmAction/useLogic/useLogic.d.ts +1 -1
- package/components/ConfirmAction/useLogic/useLogic.js +1 -1
- package/components/ConfirmDialog/styles.d.ts +3 -3
- package/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/components/ContentState/useLogic/useLogic.js +1 -1
- package/components/CopyTypography/styles.d.ts +2 -2
- package/components/CopyTypography/styles.js +1 -1
- package/components/CopyTypography/useLogic/useLogic.d.ts +9 -9
- 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/Header/Header.js +4 -2
- 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/DashboardSidebar/useLogic/useLogic.js +2 -2
- 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/styles.d.ts +3 -3
- package/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +5 -3
- package/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/components/DashboardSidebarSkeleton/useLogic/useLogic.js +1 -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/Row/NestedChildren/styles.d.ts +3 -3
- package/components/DataGrid/Row/styles.d.ts +3 -3
- package/components/DataGrid/Row/styles.js +1 -1
- package/components/DataGrid/useLogic/useLogic.js +1 -1
- 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/useLogic/useLogic.js +1 -1
- package/components/DataGridPagination/styles.d.ts +2 -2
- package/components/DataGridPagination/styles.js +1 -1
- package/components/DataGridPaginationContainer/styles.d.ts +2 -2
- 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 -2
- package/components/DatePicker/DatePicker.d.ts +1 -1
- package/components/DatePicker/DatePickerInput/DatePickerInput.js +1 -1
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +1 -1
- 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/styles.d.ts +3 -3
- package/components/DatePicker/useLogic/useLogic.js +5 -2
- package/components/DateRangePicker/styles.d.ts +1 -1
- package/components/DateRangePicker/styles.js +1 -1
- package/components/DateRangePicker/useLogic/useLogic.js +2 -1
- package/components/Description/Value/styles.d.ts +4 -4
- package/components/Description/styles.d.ts +1 -1
- package/components/Description/useLogic/useLogic.d.ts +1 -1
- package/components/DescriptionCell/styles.js +1 -1
- package/components/DescriptionList/styles.d.ts +2 -2
- package/components/Dialog/Dialog.d.ts +1 -1
- 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 +1 -1
- package/components/DialogActions/styles.d.ts +1 -1
- package/components/DialogActions/styles.js +1 -1
- package/components/DialogContent/DialogContent.d.ts +1 -1
- package/components/DialogContent/styles.d.ts +1 -1
- package/components/DialogContent/styles.js +1 -1
- package/components/DialogContentText/DialogContentText.d.ts +1 -1
- 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 +2 -1
- package/components/DialogTitle/DialogTitle.js +2 -2
- package/components/Divider/Divider.d.ts +1 -1
- package/components/Divider/Divider.js +1 -1
- package/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/components/DropdownButton/DropdownButton.js +2 -2
- package/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/components/ExpansionPanel/useLogic/useLogic.js +1 -1
- package/components/Fab/Fab.d.ts +1 -1
- package/components/Fab/styles.d.ts +1 -1
- package/components/Fab/styles.js +2 -1
- package/components/Fieldset/styles.d.ts +4 -4
- package/components/Filename/styles.d.ts +2 -2
- package/components/FlowButton/FlowButton.js +1 -1
- package/components/FlowButton/styles.d.ts +5 -5
- package/components/FormControl/FormControl.d.ts +1 -1
- package/components/FormControl/FormControl.js +1 -1
- package/components/FormControlLabel/styles.d.ts +1 -1
- package/components/FormControlLabel/styles.js +1 -1
- package/components/FormHelperText/FormHelperText.d.ts +1 -1
- package/components/FormHelperText/FormHelperText.js +1 -1
- package/components/FormHelperText/FormHelperTextContent/styles.js +2 -1
- package/components/FormLabel/FormLabel.d.ts +1 -1
- package/components/FormLabel/styles.d.ts +1 -1
- package/components/FormLabel/styles.js +1 -1
- package/components/GlobalStyles/GlobalStyles.js +3 -2
- package/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +1 -1
- package/components/HintIcon/constants.js +4 -1
- 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/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.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 -38
- package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -7
- package/components/LegacyNotification/styles.js +4 -1
- package/components/Link/Link.d.ts +2 -2
- package/components/Link/Link.js +2 -1
- package/components/Link/styles.d.ts +1 -1
- package/components/Link/styles.js +1 -1
- package/components/ListItem/styles.d.ts +2 -2
- package/components/ListItem/styles.js +1 -1
- package/components/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/components/ListItemButton/ListItemButton.d.ts +1 -1
- package/components/ListItemButton/ListItemButton.js +1 -1
- package/components/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/components/ListItemIcon/styles.d.ts +1 -1
- package/components/ListItemIcon/styles.js +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/components/ListSubheader/ListSubheader.d.ts +1 -1
- package/components/ListSubheader/ListSubheader.js +1 -1
- package/components/Menu/Menu.d.ts +1 -1
- package/components/Menu/Menu.js +1 -1
- package/components/MenuGroup/styles.d.ts +2 -2
- package/components/MenuItem/MenuItem.d.ts +1 -1
- package/components/MenuItem/MenuItem.js +1 -1
- package/components/MenuList/styles.d.ts +1 -1
- package/components/MenuList/styles.js +1 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -5
- package/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -2
- package/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/components/MenuOrganization/styles.d.ts +2 -2
- 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 -2
- package/components/NavMenu/Item/ItemButton/ItemButton.js +1 -1
- package/components/NavMenu/Item/ItemButton/styles.d.ts +33 -33
- 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/styles.d.ts +4 -4
- package/components/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +7 -7
- 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 -4
- package/components/NotificationList/SettingsButton/SettingsButton.js +1 -1
- package/components/NumberField/NumberField.d.ts +1 -1
- package/components/OverflowTypography/OverflowTypography.d.ts +2 -2
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/components/OverflowTypography/styles.d.ts +4 -4
- package/components/OverflowTypography/useLogic/useLogic.js +1 -1
- package/components/PageAsideBlock/styles.js +1 -1
- package/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -2
- package/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -3
- 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/Title/Title.js +1 -1
- package/components/PageHeader/Title/styles.d.ts +6 -6
- package/components/PageHeader/types.d.ts +1 -1
- package/components/PageHeader/useLogic/useLogic.js +1 -1
- package/components/PagePinnableAside/PagePinnableAside.js +1 -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 -5
- package/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/components/Paper/Paper.d.ts +1 -1
- package/components/Paper/styles.d.ts +1 -1
- package/components/Paper/styles.js +1 -1
- package/components/PasswordField/PasswordField.js +2 -1
- package/components/PdfViewer/ControlBar/ControlBar.js +2 -1
- package/components/PdfViewer/useLogic/useLogic.js +1 -1
- package/components/PinButton/PinButton.js +2 -1
- package/components/PinButton/styles.d.ts +5 -5
- package/components/Popover/Popover.d.ts +1 -1
- 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 -4
- 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 +1 -1
- 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/styles.d.ts +3 -3
- package/components/Profile/types.d.ts +2 -1
- package/components/ProgressBar/ProgressBar.js +1 -1
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/components/Radio/useLogic/useLogic.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 -1
- package/components/Select/Select.js +6 -2
- package/components/Select/styles.d.ts +2 -2
- package/components/Select/styles.js +1 -1
- package/components/Select/useLogic/useLogic.js +1 -1
- package/components/SideDialog/SideDialog.d.ts +1 -1
- package/components/SideDialog/styles.d.ts +1 -1
- package/components/SideDialog/styles.js +3 -1
- package/components/SideDialogActions/types.d.ts +1 -1
- package/components/SideDialogContent/types.d.ts +1 -1
- package/components/SideDialogContentText/types.d.ts +1 -1
- package/components/Skeleton/Skeleton.d.ts +1 -1
- 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/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 +1 -1
- package/components/Stepper/StepButton/styles.d.ts +1 -1
- package/components/Stepper/StepButton/styles.js +1 -1
- package/components/Stepper/StepConnector/index.d.ts +2 -2
- 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 +1 -1
- package/components/Stepper/StepIcon/styles.js +3 -1
- package/components/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/components/Stepper/StepLabel/StepLabel.js +1 -1
- package/components/Stepper/Stepper.d.ts +1 -1
- package/components/Stepper/styles.d.ts +1 -1
- package/components/Stepper/styles.js +5 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Switch/styles.d.ts +1 -1
- package/components/Switch/styles.js +2 -1
- package/components/Tabs/Tab/Tab.d.ts +1 -1
- package/components/Tabs/Tab/styles.d.ts +1 -1
- package/components/Tabs/Tab/styles.js +1 -1
- package/components/Tabs/Tabs.d.ts +1 -1
- 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/styles.d.ts +4 -4
- package/components/Tag/styles.js +2 -1
- package/components/TagsList/useLogic/useLogic.js +1 -1
- package/components/TextField/TextField.d.ts +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 +1 -1
- package/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/components/ToggleButtonGroup/styles.js +1 -1
- package/components/Tooltip/Tooltip.d.ts +1 -1
- package/components/Tooltip/styles.d.ts +1 -1
- package/components/Tooltip/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/styles.js +1 -1
- package/components/Tree/TreeItem/styles.d.ts +23 -23
- package/components/Tree/TreeItem/styles.js +2 -2
- 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.js +2 -1
- package/components/TreeAutocomplete/Input/useLogic/useLogic.js +1 -1
- 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/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAutocomplete/Input/styles.js +1 -1
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeList/TreeItem/styles.js +1 -1
- package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +1 -1
- package/components/Typography/Typography.d.ts +1 -1
- package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -1
- package/components/Typography/styles.d.ts +1 -1
- package/components/Typography/styles.js +1 -1
- package/components/WelcomeScreen/styles.d.ts +4 -4
- package/components/declaration/mui-material.d.ts +3 -6
- package/components/fileUploading/FileInfo/styles.d.ts +18 -18
- 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/FileUploaderFile/Actions/Actions.js +5 -1
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.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 +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.js +1 -1
- package/components/hooks/useViewportType/useViewportType.js +2 -1
- package/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -1
- package/components/placeholders/Placeholder/styles.d.ts +4 -4
- 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 +2 -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 +1 -1
- 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/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 -2
- package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +1 -1
- package/hook-form/EditableText/styles.d.ts +2 -2
- package/hook-form/EditableText/styles.js +1 -1
- package/hook-form/Form/Form.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.js +1 -1
- package/hook-form/FormMaskField/FormMaskField.js +1 -1
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +1 -1
- 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/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/useLogic/useLogic.d.ts +1 -1
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +1 -1
- 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/node/components/Accordion/styles.d.ts +2 -2
- 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 +1 -1
- package/node/components/Alert/Alert.js +10 -6
- package/node/components/Alert/styles.d.ts +7 -7
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +1 -1
- package/node/components/AsyncAutocomplete/useLogic/useLogic.d.ts +35 -35
- 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 -7
- package/node/components/AutoSaveIndicator/useLogic/useLogic.js +2 -2
- package/node/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/node/components/Autocomplete/Autocomplete.js +10 -5
- package/node/components/Autocomplete/styles.d.ts +2 -2
- package/node/components/Autocomplete/styles.js +30 -4
- package/node/components/Autocomplete/types.d.ts +2 -1
- package/node/components/Autocomplete/useLogic/useLogic.d.ts +1 -1
- package/node/components/Avatar/styles.d.ts +1 -1
- package/node/components/Avatar/styles.js +5 -2
- package/node/components/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/node/components/AvatarGroup/styles.d.ts +1 -1
- package/node/components/AvatarGroup/styles.js +26 -3
- 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/BottomDrawer/BottomDrawer.d.ts +1 -1
- package/node/components/BottomDrawer/BottomDrawer.js +2 -2
- package/node/components/BottomDrawer/styles.d.ts +4 -4
- 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/styles.js +2 -2
- package/node/components/Button/Button.d.ts +4 -4
- package/node/components/Button/constants.d.ts +1 -1
- package/node/components/Button/constants.js +2 -2
- package/node/components/Button/styles.d.ts +1 -1
- package/node/components/Button/styles.js +5 -2
- 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/useLogic/useLogic.js +6 -4
- package/node/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/node/components/CheckableTag/styles.js +2 -2
- package/node/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/node/components/Checkbox/useLogic/useLogic.js +2 -2
- package/node/components/CheckboxField/styles.js +6 -5
- package/node/components/Chevron/Chevron.d.ts +1 -1
- 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 -2
- package/node/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/node/components/Collapse/Collapse.d.ts +1 -1
- package/node/components/Collapse/Collapse.js +5 -2
- package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -2
- package/node/components/CollapsibleTypography/styles.d.ts +5 -5
- package/node/components/ComplianceStatus/styles.js +6 -4
- package/node/components/ConfirmAction/styles.d.ts +2 -2
- package/node/components/ConfirmAction/useLogic/useLogic.d.ts +1 -1
- package/node/components/ConfirmAction/useLogic/useLogic.js +2 -2
- package/node/components/ConfirmDialog/styles.d.ts +3 -3
- package/node/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/node/components/ConfirmDialog/useLogic/useLogic.js +2 -2
- package/node/components/ContentState/useLogic/useLogic.js +2 -2
- package/node/components/CopyTypography/styles.d.ts +2 -2
- package/node/components/CopyTypography/styles.js +2 -2
- package/node/components/CopyTypography/useLogic/useLogic.d.ts +9 -9
- 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/Header/Header.js +6 -4
- 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/DashboardSidebar/useLogic/useLogic.js +4 -4
- 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/styles.d.ts +3 -3
- package/node/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +13 -8
- package/node/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/node/components/DashboardSidebarSkeleton/useLogic/useLogic.js +2 -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/Row/NestedChildren/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/styles.js +2 -2
- package/node/components/DataGrid/useLogic/useLogic.js +2 -2
- 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/useLogic/useLogic.js +2 -2
- package/node/components/DataGridPagination/styles.d.ts +2 -2
- package/node/components/DataGridPagination/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/styles.d.ts +2 -2
- 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 -2
- package/node/components/DatePicker/DatePicker.d.ts +1 -1
- package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +1 -1
- 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/styles.d.ts +3 -3
- package/node/components/DatePicker/useLogic/useLogic.js +10 -7
- package/node/components/DateRangePicker/styles.d.ts +1 -1
- package/node/components/DateRangePicker/styles.js +2 -2
- package/node/components/DateRangePicker/useLogic/useLogic.js +6 -5
- package/node/components/Description/Value/styles.d.ts +4 -4
- package/node/components/Description/styles.d.ts +1 -1
- package/node/components/Description/useLogic/useLogic.d.ts +1 -1
- package/node/components/DescriptionCell/styles.js +2 -2
- package/node/components/DescriptionList/styles.d.ts +2 -2
- package/node/components/Dialog/Dialog.d.ts +1 -1
- 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 +1 -1
- package/node/components/DialogActions/styles.d.ts +1 -1
- package/node/components/DialogActions/styles.js +5 -2
- package/node/components/DialogContent/DialogContent.d.ts +1 -1
- package/node/components/DialogContent/styles.d.ts +1 -1
- package/node/components/DialogContent/styles.js +5 -2
- package/node/components/DialogContentText/DialogContentText.d.ts +1 -1
- 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 +2 -1
- package/node/components/DialogTitle/DialogTitle.js +6 -3
- package/node/components/Divider/Divider.d.ts +1 -1
- 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/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/node/components/ExpansionPanel/useLogic/useLogic.js +2 -2
- package/node/components/Fab/Fab.d.ts +1 -1
- 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 -4
- package/node/components/Filename/styles.d.ts +2 -2
- package/node/components/FlowButton/FlowButton.js +2 -2
- package/node/components/FlowButton/styles.d.ts +5 -5
- package/node/components/FormControl/FormControl.d.ts +1 -1
- 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/FormHelperText/FormHelperText.d.ts +1 -1
- package/node/components/FormHelperText/FormHelperText.js +5 -2
- package/node/components/FormHelperText/FormHelperTextContent/styles.js +4 -3
- package/node/components/FormLabel/FormLabel.d.ts +1 -1
- 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/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +2 -2
- package/node/components/HintIcon/constants.js +8 -5
- 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/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +2 -2
- 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 -38
- package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -7
- package/node/components/LegacyNotification/styles.js +8 -5
- package/node/components/Link/Link.d.ts +2 -2
- 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/ListItem/styles.d.ts +2 -2
- package/node/components/ListItem/styles.js +5 -2
- package/node/components/ListItemAvatar/ListItemAvatar.d.ts +1 -1
- package/node/components/ListItemAvatar/ListItemAvatar.js +5 -2
- package/node/components/ListItemButton/ListItemButton.d.ts +1 -1
- package/node/components/ListItemButton/ListItemButton.js +5 -2
- package/node/components/ListItemIcon/ListItemIcon.d.ts +1 -1
- package/node/components/ListItemIcon/styles.d.ts +1 -1
- package/node/components/ListItemIcon/styles.js +5 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -2
- package/node/components/ListSubheader/ListSubheader.d.ts +1 -1
- package/node/components/ListSubheader/ListSubheader.js +5 -2
- package/node/components/Menu/Menu.d.ts +1 -1
- package/node/components/Menu/Menu.js +5 -2
- package/node/components/MenuGroup/styles.d.ts +2 -2
- package/node/components/MenuItem/MenuItem.d.ts +1 -1
- 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/MenuOrganization/OrganizationButton/styles.d.ts +5 -5
- package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -2
- package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/node/components/MenuOrganization/styles.d.ts +2 -2
- 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 -2
- package/node/components/NavMenu/Item/ItemButton/ItemButton.js +2 -2
- package/node/components/NavMenu/Item/ItemButton/styles.d.ts +33 -33
- 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/styles.d.ts +4 -4
- package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -2
- package/node/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/Notification/NotificationTemplate/styles.d.ts +7 -7
- 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 -4
- 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 +2 -2
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +2 -2
- package/node/components/OverflowTypography/styles.d.ts +4 -4
- package/node/components/OverflowTypography/useLogic/useLogic.js +2 -2
- package/node/components/PageAsideBlock/styles.js +4 -4
- package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -2
- package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -3
- 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/Title/Title.js +2 -2
- package/node/components/PageHeader/Title/styles.d.ts +6 -6
- package/node/components/PageHeader/types.d.ts +1 -1
- package/node/components/PageHeader/useLogic/useLogic.js +2 -2
- package/node/components/PagePinnableAside/PagePinnableAside.js +2 -2
- 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 -5
- package/node/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/node/components/Paper/Paper.d.ts +1 -1
- package/node/components/Paper/styles.d.ts +1 -1
- package/node/components/Paper/styles.js +5 -2
- package/node/components/PasswordField/PasswordField.js +3 -2
- package/node/components/PdfViewer/ControlBar/ControlBar.js +3 -2
- package/node/components/PdfViewer/useLogic/useLogic.js +2 -2
- package/node/components/PinButton/PinButton.js +3 -2
- package/node/components/PinButton/styles.d.ts +5 -5
- package/node/components/Popover/Popover.d.ts +1 -1
- 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 -4
- 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 +1 -1
- 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/styles.d.ts +3 -3
- package/node/components/Profile/types.d.ts +2 -1
- package/node/components/ProgressBar/ProgressBar.js +5 -2
- package/node/components/Radio/Radio.js +2 -2
- package/node/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/node/components/Radio/useLogic/useLogic.js +2 -2
- 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 -1
- package/node/components/Select/Select.js +11 -4
- package/node/components/Select/styles.d.ts +2 -2
- package/node/components/Select/styles.js +5 -2
- package/node/components/Select/useLogic/useLogic.js +4 -4
- package/node/components/SideDialog/SideDialog.d.ts +1 -1
- package/node/components/SideDialog/styles.d.ts +1 -1
- package/node/components/SideDialog/styles.js +29 -4
- package/node/components/SideDialogActions/types.d.ts +1 -1
- package/node/components/SideDialogContent/types.d.ts +1 -1
- package/node/components/SideDialogContentText/types.d.ts +1 -1
- package/node/components/Skeleton/Skeleton.d.ts +1 -1
- 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/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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/node/components/Stepper/StepIcon/styles.js +8 -6
- package/node/components/Stepper/StepLabel/StepLabel.d.ts +1 -1
- package/node/components/Stepper/StepLabel/StepLabel.js +5 -2
- package/node/components/Stepper/Stepper.d.ts +1 -1
- package/node/components/Stepper/styles.d.ts +1 -1
- package/node/components/Stepper/styles.js +17 -10
- package/node/components/Switch/Switch.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/styles.d.ts +4 -4
- package/node/components/Tag/styles.js +5 -4
- package/node/components/TagsList/useLogic/useLogic.js +2 -2
- package/node/components/TextField/TextField.d.ts +1 -1
- 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 +1 -1
- package/node/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/node/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/node/components/ToggleButtonGroup/styles.js +5 -2
- package/node/components/Tooltip/Tooltip.d.ts +1 -1
- package/node/components/Tooltip/styles.d.ts +1 -1
- package/node/components/Tooltip/styles.js +31 -8
- package/node/components/Tree/MultipleTreeList/TreeItem/styles.js +2 -2
- package/node/components/Tree/TreeItem/styles.d.ts +23 -23
- package/node/components/Tree/TreeItem/styles.js +6 -6
- 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.js +4 -3
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -2
- 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/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAutocomplete/Input/styles.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeList/TreeItem/styles.js +4 -4
- package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +2 -2
- package/node/components/Typography/Typography.d.ts +1 -1
- package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +2 -2
- package/node/components/Typography/styles.d.ts +1 -1
- package/node/components/Typography/styles.js +5 -2
- package/node/components/WelcomeScreen/styles.d.ts +4 -4
- package/node/components/fileUploading/FileInfo/styles.d.ts +18 -18
- 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/FileUploaderFile/Actions/Actions.js +8 -4
- package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.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 +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/useViewportType/useViewportType.js +7 -3
- package/node/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +5 -2
- package/node/components/placeholders/Placeholder/styles.d.ts +4 -4
- 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 +2 -1
- 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 +1 -1
- 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/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 -2
- package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +2 -2
- package/node/hook-form/EditableText/styles.d.ts +2 -2
- package/node/hook-form/EditableText/styles.js +2 -2
- package/node/hook-form/Form/Form.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.js +2 -2
- package/node/hook-form/FormMaskField/FormMaskField.js +2 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
- 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/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/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/FormPasswordField/FormPasswordField.js +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -2
- 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/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ProductItem: <TComponent extends import("react").ElementType>(props: import("../..").WithoutEmotionSpecific<Omit<import("@mui/material").MenuItemProps, "component">> & {
|
|
2
|
+
export declare const ProductItem: <TComponent extends import("react").ElementType>(props: import("../..").WithoutEmotionSpecific<Omit<import("@mui/material/MenuItem").MenuItemProps, "component">> & {
|
|
3
3
|
disabledReason?: string | undefined;
|
|
4
4
|
note?: string | undefined;
|
|
5
|
-
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "
|
|
5
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
6
6
|
component?: TComponent | undefined;
|
|
7
7
|
href?: string | undefined;
|
|
8
8
|
} & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -15,7 +15,7 @@ export declare const TitleErrorContainer: import("@emotion/styled/dist/declarati
|
|
|
15
15
|
} & import("../../Grid/styles").StyledGridProps, {}, {}>;
|
|
16
16
|
export declare const ProductName: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
|
|
17
17
|
children?: import("react").ReactNode;
|
|
18
|
-
align?: "inherit" | "
|
|
18
|
+
align?: "inherit" | "center" | "left" | "right" | "justify" | undefined;
|
|
19
19
|
gutterBottom?: boolean | undefined;
|
|
20
20
|
noWrap?: boolean | undefined;
|
|
21
21
|
paragraph?: boolean | undefined;
|
|
@@ -23,7 +23,7 @@ export declare const ProductName: import("@emotion/styled/dist/declarations/src/
|
|
|
23
23
|
color?: import("../../Typography").TypographyColor | undefined;
|
|
24
24
|
variant?: import("../../Typography").TypographyVariant | undefined;
|
|
25
25
|
colorIntensity?: import("../../Typography").Intensity | undefined;
|
|
26
|
-
component?: ("symbol" | "object" | "main" | "body" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "caption" | "button" | "link" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "
|
|
26
|
+
component?: ("symbol" | "object" | "main" | "body" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "caption" | "button" | "link" | "slot" | "style" | "title" | import("react").ComponentType<any> | "search" | "big" | "sub" | "sup" | "map" | "filter" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "br" | "canvas" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view") | undefined;
|
|
27
27
|
isUpperCase?: boolean | undefined;
|
|
28
28
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
29
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProductName = exports.TitleErrorContainer = exports.Logo = exports.ProductItem = void 0;
|
|
4
|
-
const
|
|
4
|
+
const MenuItem_1 = require("@mui/material/MenuItem");
|
|
5
5
|
const Grid_1 = require("../../Grid");
|
|
6
|
-
const
|
|
6
|
+
const MenuItem_2 = require("../../MenuItem");
|
|
7
7
|
const styled_1 = require("../../styled");
|
|
8
8
|
const Typography_1 = require("../../Typography");
|
|
9
9
|
// as typeof MenuItem необходим для возможности прокинуть component
|
|
10
10
|
// https://github.com/mui/material-ui/issues/15695
|
|
11
|
-
exports.ProductItem = (0, styled_1.styled)(
|
|
12
|
-
&.${
|
|
11
|
+
exports.ProductItem = (0, styled_1.styled)(MenuItem_2.MenuItem) `
|
|
12
|
+
&.${MenuItem_1.menuItemClasses.gutters} {
|
|
13
13
|
min-height: 56px;
|
|
14
14
|
padding: ${({ theme }) => theme.spacing(2, 3)};
|
|
15
15
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProductSwitcher = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const ProductsFillMd_1 = require("../../icons/ProductsFillMd");
|
|
6
6
|
const IconButton_1 = require("../IconButton");
|
|
7
7
|
const Content_1 = require("./Content");
|
|
8
8
|
const styles_1 = require("./styles");
|
|
9
9
|
const useLogic_1 = require("./useLogic");
|
|
10
10
|
const ProductSwitcher = (props) => {
|
|
11
11
|
const { anchorRef, openMenu, closeMenu, isLoading, isError, products, open } = (0, useLogic_1.useLogic)(props);
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { ref: anchorRef, variant: "text", selected: open, onClick: openMenu, children: (0, jsx_runtime_1.jsx)(
|
|
12
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { ref: anchorRef, variant: "text", selected: open, onClick: openMenu, children: (0, jsx_runtime_1.jsx)(ProductsFillMd_1.ProductsFillMd, {}) }), (0, jsx_runtime_1.jsx)(styles_1.StyledMenu, { open: open, anchorEl: anchorRef.current, onClose: closeMenu, children: (0, jsx_runtime_1.jsx)(Content_1.Content, { isLoading: isLoading, isError: isError, products: products }) })] }));
|
|
13
13
|
};
|
|
14
14
|
exports.ProductSwitcher = ProductSwitcher;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StyledMenu = void 0;
|
|
4
|
-
const
|
|
4
|
+
const List_1 = require("@mui/material/List");
|
|
5
5
|
const Menu_1 = require("../Menu");
|
|
6
6
|
const styled_1 = require("../styled");
|
|
7
7
|
exports.StyledMenu = (0, styled_1.styled)(Menu_1.Menu) `
|
|
@@ -15,7 +15,7 @@ exports.StyledMenu = (0, styled_1.styled)(Menu_1.Menu) `
|
|
|
15
15
|
max-width: 320px;
|
|
16
16
|
min-height: 100px;
|
|
17
17
|
|
|
18
|
-
&.${
|
|
18
|
+
&.${List_1.listClasses.padding} {
|
|
19
19
|
padding: ${({ theme }) => theme.spacing(3, 0)};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const ConfigProvider_1 = require("../../ConfigProvider");
|
|
6
|
-
const
|
|
6
|
+
const useMenu_1 = require("../../hooks/useMenu");
|
|
7
7
|
const useLogic = ({ getProducts, filter }) => {
|
|
8
8
|
const [products, setProducts] = (0, react_1.useState)([]);
|
|
9
9
|
const [isLoading, setIsLoading] = (0, react_1.useState)(false);
|
|
10
10
|
const [isError, setIsError] = (0, react_1.useState)(false);
|
|
11
11
|
const { captureException } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
|
|
12
|
-
const { open, anchorRef, handleOpenMenu, handleCloseMenu } = (0,
|
|
12
|
+
const { open, anchorRef, handleOpenMenu, handleCloseMenu } = (0, useMenu_1.useMenu)();
|
|
13
13
|
const filterProductList = (productList) => {
|
|
14
14
|
const { hostname } = new URL(window.origin);
|
|
15
15
|
return productList.filter((product) => new URL(product.url).hostname !== hostname);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MenuProps as MuiMenuProps } from '@mui/material/Menu';
|
|
2
2
|
import { type WithoutEmotionSpecific } from '../../types';
|
|
3
3
|
import { type ProfileMenuItemData } from '../types';
|
|
4
4
|
type MenuListProps = WithoutEmotionSpecific<MuiMenuProps> & {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MenuList = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const QuitOutlineMd_1 = require("../../../icons/QuitOutlineMd");
|
|
6
6
|
const BottomDrawer_1 = require("../../BottomDrawer");
|
|
7
7
|
const CopyTypography_1 = require("../../CopyTypography");
|
|
8
8
|
const Divider_1 = require("../../Divider");
|
|
9
|
-
const
|
|
9
|
+
const useViewportType_1 = require("../../hooks/useViewportType");
|
|
10
10
|
const ListItemIcon_1 = require("../../ListItemIcon");
|
|
11
11
|
const ListItemText_1 = require("../../ListItemText");
|
|
12
12
|
const MenuItem_1 = require("../../MenuItem");
|
|
@@ -17,7 +17,7 @@ const styles_1 = require("./styles");
|
|
|
17
17
|
*/
|
|
18
18
|
const MenuList = (props) => {
|
|
19
19
|
const { open, onClose, menuList, exitButton, displayName, annotation, ...restProps } = props;
|
|
20
|
-
const { isMobile } = (0,
|
|
20
|
+
const { isMobile } = (0, useViewportType_1.useViewportType)();
|
|
21
21
|
const renderMenuList = () => {
|
|
22
22
|
const items = [];
|
|
23
23
|
items.push((0, jsx_runtime_1.jsxs)(styles_1.DisplayNameMenuItem, { children: [(0, jsx_runtime_1.jsx)(CopyTypography_1.CopyTypography, { noWrap: true, isShowCopyText: true, copyText: displayName, showCopyIcon: "onHover", isOverflow: true, children: displayName }), annotation && ((0, jsx_runtime_1.jsx)(CopyTypography_1.CopyTypography, { variant: "caption", color: "grey", colorIntensity: "700", noWrap: true, isShowCopyText: true, showCopyIcon: "onHover", copyText: annotation, isOverflow: true, children: annotation }))] }, "displayName"));
|
|
@@ -30,7 +30,7 @@ const MenuList = (props) => {
|
|
|
30
30
|
if (exitButton && menuList) {
|
|
31
31
|
items.push((0, jsx_runtime_1.jsx)(Divider_1.Divider, {}, "divider"));
|
|
32
32
|
}
|
|
33
|
-
items.push((0, jsx_runtime_1.jsxs)(styles_1.ExitMenuItem, { "$exitButton": Boolean(exitButton), onClick: exitButton?.onClick, children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(
|
|
33
|
+
items.push((0, jsx_runtime_1.jsxs)(styles_1.ExitMenuItem, { "$exitButton": Boolean(exitButton), onClick: exitButton?.onClick, children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(QuitOutlineMd_1.QuitOutlineMd, {}) }), (0, jsx_runtime_1.jsx)(ListItemText_1.ListItemText, { children: (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { noWrap: true, children: "\u0412\u044B\u0439\u0442\u0438" }) })] }, "exit"));
|
|
34
34
|
return items;
|
|
35
35
|
};
|
|
36
36
|
if (isMobile) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledMenu: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../..").WithoutEmotionSpecific<import("@mui/material").MenuProps> & {
|
|
2
|
+
export declare const StyledMenu: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../..").WithoutEmotionSpecific<import("@mui/material/Menu").MenuProps> & {
|
|
3
3
|
title?: string | undefined;
|
|
4
4
|
} & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -7,7 +7,7 @@ export declare const StyledMenu: import("@emotion/styled/dist/declarations/src/t
|
|
|
7
7
|
export declare const ExitMenuItem: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../..").WithoutEmotionSpecific<Omit<import("@mui/material").MenuItemProps, "component">> & {
|
|
8
8
|
disabledReason?: string | undefined;
|
|
9
9
|
note?: string | undefined;
|
|
10
|
-
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "
|
|
10
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
11
11
|
component?: import("react").ElementType | undefined;
|
|
12
12
|
href?: string | undefined;
|
|
13
13
|
} & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement> & {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StyledDivider = exports.StyledMenuList = exports.DisplayNameMenuItem = exports.ExitMenuItem = exports.StyledMenu = void 0;
|
|
4
|
-
const
|
|
4
|
+
const Menu_1 = require("@mui/material/Menu");
|
|
5
5
|
const Divider_1 = require("../../Divider");
|
|
6
|
-
const
|
|
6
|
+
const Menu_2 = require("../../Menu");
|
|
7
7
|
const MenuItem_1 = require("../../MenuItem");
|
|
8
8
|
const MenuList_1 = require("../../MenuList");
|
|
9
9
|
const styled_1 = require("../../styled");
|
|
10
|
-
exports.StyledMenu = (0, styled_1.styled)(
|
|
11
|
-
& .${
|
|
10
|
+
exports.StyledMenu = (0, styled_1.styled)(Menu_2.Menu) `
|
|
11
|
+
& .${Menu_1.menuClasses.paper} {
|
|
12
12
|
min-width: 200px;
|
|
13
13
|
max-width: 300px;
|
|
14
14
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.Profile = void 0;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
8
|
+
const ClickAwayListener_1 = __importDefault(require("@mui/material/ClickAwayListener"));
|
|
6
9
|
const react_1 = require("react");
|
|
7
|
-
const
|
|
10
|
+
const useMenu_1 = require("../hooks/useMenu");
|
|
8
11
|
const personalDataSecurity_1 = require("../personalDataSecurity");
|
|
9
12
|
const Typography_1 = require("../Typography");
|
|
10
13
|
const constants_1 = require("./constants");
|
|
@@ -13,7 +16,7 @@ const ProfileSkeleton_1 = require("./ProfileSkeleton");
|
|
|
13
16
|
const styles_1 = require("./styles");
|
|
14
17
|
const Profile = (props) => {
|
|
15
18
|
const { displayName, annotation, avatar = {}, menu: Menu, menuList, exitButton, isHidePersonalData, isLoading, } = props;
|
|
16
|
-
const { open, anchorRef, handleOpenMenu, handleCloseMenu } = (0,
|
|
19
|
+
const { open, anchorRef, handleOpenMenu, handleCloseMenu } = (0, useMenu_1.useMenu)();
|
|
17
20
|
(0, react_1.useEffect)(() => {
|
|
18
21
|
if (!Menu && !menuList && !exitButton) {
|
|
19
22
|
// biome-ignore lint/suspicious/noConsole: Ошибка для интеграторов
|
|
@@ -26,7 +29,7 @@ const Profile = (props) => {
|
|
|
26
29
|
if (isLoading) {
|
|
27
30
|
return (0, jsx_runtime_1.jsx)(ProfileSkeleton_1.ProfileSkeleton, {});
|
|
28
31
|
}
|
|
29
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(
|
|
32
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, { onClickAway: handleCloseMenu, children: (0, jsx_runtime_1.jsxs)(styles_1.ProfileRoot, { ref: anchorRef, variant: "text", onClick: handleOpenMenu, children: [(0, jsx_runtime_1.jsx)(styles_1.StyledAvatar, { ...avatar }), (0, jsx_runtime_1.jsxs)(styles_1.User, { children: [(0, jsx_runtime_1.jsxs)(styles_1.Credentials, { className: hidePersonalDataClassname, children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "body1", className: constants_1.profileClassnames.credentials, children: displayName }), (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "caption", color: "textSecondary", className: constants_1.profileClassnames.credentials, children: annotation })] }), (0, jsx_runtime_1.jsx)(styles_1.StyledChevron, { isActive: open })] })] }) }), Menu ? ((0, jsx_runtime_1.jsx)(Menu, { open: open, anchorEl: anchorRef.current, onClose: handleCloseMenu, anchorOrigin: {
|
|
30
33
|
vertical: 'bottom',
|
|
31
34
|
horizontal: 'right',
|
|
32
35
|
}, transformOrigin: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type AvatarProps } from '../Avatar';
|
|
3
|
-
export declare const ProfileRoot: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
4
|
-
variant?: "light" | "link" | "
|
|
3
|
+
export declare const ProfileRoot: 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"> & {
|
|
4
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
5
5
|
loading?: boolean | undefined;
|
|
6
|
-
color?: "
|
|
6
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
7
7
|
component?: import("react").ElementType | undefined;
|
|
8
8
|
selected?: boolean | undefined;
|
|
9
9
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { AvatarProps
|
|
1
|
+
import type { AvatarProps } from '@mui/material/Avatar';
|
|
2
|
+
import type { MenuProps } from '@mui/material/Menu';
|
|
2
3
|
import type { PropsWithChildren, ReactElement, ReactNode } from 'react';
|
|
3
4
|
import type { SyncFunctionComponent, WithoutEmotionSpecific } from '../types';
|
|
4
5
|
export type ProfileMenuItemData = {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.ProgressBar = void 0;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
8
|
+
const LinearProgress_1 = __importDefault(require("@mui/material/LinearProgress"));
|
|
6
9
|
const ProgressBar = ({ className, value }) => {
|
|
7
10
|
const clampedValue = Math.max(0, Math.min(value, 100));
|
|
8
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(LinearProgress_1.default, { className: className, variant: "determinate", value: clampedValue }));
|
|
9
12
|
};
|
|
10
13
|
exports.ProgressBar = ProgressBar;
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Radio = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const useCheckControlled_1 = require("../hooks/useCheckControlled");
|
|
7
7
|
const constants_1 = require("./constants");
|
|
8
8
|
const Icon_1 = require("./Icon");
|
|
9
9
|
const styles_1 = require("./styles");
|
|
10
10
|
const useLogic_1 = require("./useLogic");
|
|
11
11
|
exports.Radio = (0, react_1.forwardRef)((props, ref) => {
|
|
12
|
-
(0,
|
|
12
|
+
(0, useCheckControlled_1.useCheckControlled)('Radio', props);
|
|
13
13
|
const { onChange, isChecked, isError, disabled, restProps, className, name, style, inputRef, value, id, } = (0, useLogic_1.useLogic)(props);
|
|
14
14
|
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isDisabled": disabled, "$isError": isError, "$isChecked": isChecked, className: className, style: style, ref: ref, ...restProps, children: [(0, jsx_runtime_1.jsx)(styles_1.Input, { type: "radio", name: name, checked: isChecked, disabled: disabled, onChange: onChange, "aria-checked": isChecked, "aria-disabled": disabled, ref: inputRef, value: value, id: id }), (0, jsx_runtime_1.jsx)(styles_1.IconWrapper, { className: constants_1.radioClassnames.iconWrapper, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: constants_1.radioClassnames.icon }) })] }));
|
|
15
15
|
});
|
|
@@ -18,7 +18,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
18
18
|
contextMenu?: string | undefined;
|
|
19
19
|
dir?: string | undefined;
|
|
20
20
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
21
|
-
enterKeyHint?: "
|
|
21
|
+
enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
22
22
|
hidden?: boolean | undefined;
|
|
23
23
|
lang?: string | undefined;
|
|
24
24
|
nonce?: string | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
26
26
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
27
27
|
tabIndex?: number | undefined;
|
|
28
28
|
title?: string | undefined;
|
|
29
|
-
translate?: "
|
|
29
|
+
translate?: "yes" | "no" | undefined;
|
|
30
30
|
radioGroup?: string | undefined;
|
|
31
31
|
role?: import("react").AriaRole | undefined;
|
|
32
32
|
about?: string | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
61
61
|
part?: string | undefined;
|
|
62
62
|
"aria-activedescendant"?: string | undefined;
|
|
63
63
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
64
|
-
"aria-autocomplete"?: "
|
|
64
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
65
65
|
"aria-braillelabel"?: string | undefined;
|
|
66
66
|
"aria-brailleroledescription"?: string | undefined;
|
|
67
67
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
71
71
|
"aria-colindextext"?: string | undefined;
|
|
72
72
|
"aria-colspan"?: number | undefined;
|
|
73
73
|
"aria-controls"?: string | undefined;
|
|
74
|
-
"aria-current"?: boolean | "time" | "
|
|
74
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
75
75
|
"aria-describedby"?: string | undefined;
|
|
76
76
|
"aria-description"?: string | undefined;
|
|
77
77
|
"aria-details"?: string | undefined;
|
|
@@ -81,7 +81,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
81
81
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
82
82
|
"aria-flowto"?: string | undefined;
|
|
83
83
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
84
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "
|
|
84
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
85
85
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
86
86
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
87
87
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -98,7 +98,7 @@ export declare const useLogic: ({ checked, disabled, isError, onChange: propsOnC
|
|
|
98
98
|
"aria-posinset"?: number | undefined;
|
|
99
99
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
100
100
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
101
|
-
"aria-relevant"?: "
|
|
101
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
102
102
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
103
103
|
"aria-roledescription"?: string | undefined;
|
|
104
104
|
"aria-rowcount"?: number | undefined;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useUpdateEffect_1 = require("../../hooks/useUpdateEffect");
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const constants_1 = require("../constants");
|
|
8
8
|
const useLogic = ({ checked = false, disabled = false, isError = false, onChange: propsOnChange, className: propClassNames, name, style, inputRef, value, id, ...restProps }) => {
|
|
9
9
|
const [isChecked, setIsChecked] = (0, react_1.useState)(checked);
|
|
10
|
-
(0,
|
|
10
|
+
(0, useUpdateEffect_1.useUpdateEffect)(() => {
|
|
11
11
|
setIsChecked(checked);
|
|
12
12
|
}, [checked]);
|
|
13
13
|
const onChange = (event) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type FormControlLabelProps } from '../FormControlLabel';
|
|
2
|
-
export declare const StyledFormControlLabel: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("@mui/material").FormControlLabelProps & {
|
|
2
|
+
export declare const StyledFormControlLabel: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("@mui/material/FormControlLabel").FormControlLabelProps & {
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
} & FormControlLabelProps, {}, {}>;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.StyledFormControlLabel = void 0;
|
|
4
|
-
const
|
|
7
|
+
const FormControlLabel_1 = __importDefault(require("@mui/material/FormControlLabel"));
|
|
8
|
+
const Typography_1 = require("@mui/material/Typography");
|
|
5
9
|
const styled_1 = require("../styled/styled");
|
|
6
|
-
exports.StyledFormControlLabel = (0, styled_1.styled)(
|
|
10
|
+
exports.StyledFormControlLabel = (0, styled_1.styled)(FormControlLabel_1.default) `
|
|
7
11
|
align-items: flex-start;
|
|
8
12
|
|
|
9
13
|
margin-right: ${({ theme }) => theme.spacing(6)};
|
|
10
14
|
margin-left: 0;
|
|
11
15
|
|
|
12
|
-
.${
|
|
16
|
+
.${Typography_1.typographyClasses.root} {
|
|
13
17
|
margin-left: 0;
|
|
14
18
|
padding-top: calc(${({ theme }) => theme.spacing(1)} + 2px);
|
|
15
19
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useViewportType_1 = require("../../hooks/useViewportType");
|
|
6
6
|
const constants_1 = require("../constants");
|
|
7
7
|
const useLogic = () => {
|
|
8
|
-
const { isMobile } = (0,
|
|
8
|
+
const { isMobile } = (0, useViewportType_1.useViewportType)();
|
|
9
9
|
const isSkipShow = (0, react_1.useMemo)(() => {
|
|
10
10
|
if (isMobile) {
|
|
11
11
|
// Не показываем баннер нa mobile разрешениях
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScrollToTopButton = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const ChevronUpOutlineMd_1 = require("../../icons/ChevronUpOutlineMd");
|
|
6
6
|
const styles_1 = require("./styles");
|
|
7
7
|
/**
|
|
8
8
|
* Универсальная кнопка прокрутки содержимого наверх, не содержит логику
|
|
9
9
|
*/
|
|
10
10
|
const ScrollToTopButton = ({ onClick, className, }) => {
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.StyledFab, { color: "default", onClick: onClick, size: "small", className: className, children: (0, jsx_runtime_1.jsx)(
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.StyledFab, { color: "default", onClick: onClick, size: "small", className: className, children: (0, jsx_runtime_1.jsx)(ChevronUpOutlineMd_1.ChevronUpOutlineMd, {}) }));
|
|
12
12
|
};
|
|
13
13
|
exports.ScrollToTopButton = ScrollToTopButton;
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SearchField = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const CrossOutlineMd_1 = require("../../icons/CrossOutlineMd");
|
|
7
7
|
const TextField_1 = require("../TextField");
|
|
8
8
|
const styles_1 = require("./styles");
|
|
9
9
|
const useLogic_1 = require("./useLogic");
|
|
10
10
|
exports.SearchField = (0, react_1.forwardRef)((props, ref) => {
|
|
11
11
|
const { onChange, onClearValue, restProps, isLoading, inputRef, value, disabled, isClearButtonDisabled, onBlur, fullWidth, inputComponent, placeholder, hideHelperText, } = (0, useLogic_1.useLogic)(props);
|
|
12
12
|
const RenderComponent = inputComponent || TextField_1.TextField;
|
|
13
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.TextFieldRoot, { "$isFullWidth": fullWidth, children: (0, jsx_runtime_1.jsx)(RenderComponent, { type: "search", placeholder: placeholder, startAdornment: (0, jsx_runtime_1.jsx)(styles_1.SearchIcon, {}), disabled: disabled, hideHelperText: hideHelperText, endAdornment: (0, jsx_runtime_1.jsx)(styles_1.EndAdornmentWrapper, { children: isLoading ? ((0, jsx_runtime_1.jsx)(styles_1.LoaderWrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.StyledLoader, {}) })) : ((0, jsx_runtime_1.jsx)(styles_1.StyledIconButton, { variant: "text", onClick: onClearValue, disabled: isClearButtonDisabled, "$isActive": !isClearButtonDisabled, children: (0, jsx_runtime_1.jsx)(
|
|
13
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.TextFieldRoot, { "$isFullWidth": fullWidth, children: (0, jsx_runtime_1.jsx)(RenderComponent, { type: "search", placeholder: placeholder, startAdornment: (0, jsx_runtime_1.jsx)(styles_1.SearchIcon, {}), disabled: disabled, hideHelperText: hideHelperText, endAdornment: (0, jsx_runtime_1.jsx)(styles_1.EndAdornmentWrapper, { children: isLoading ? ((0, jsx_runtime_1.jsx)(styles_1.LoaderWrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.StyledLoader, {}) })) : ((0, jsx_runtime_1.jsx)(styles_1.StyledIconButton, { variant: "text", onClick: onClearValue, disabled: isClearButtonDisabled, "$isActive": !isClearButtonDisabled, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) })) }), onChange: onChange, value: value, ref: ref, inputRef: inputRef, trimmed: false, onBlur: onBlur, fullWidth: fullWidth, ...restProps }) }));
|
|
14
14
|
});
|
|
@@ -7,10 +7,10 @@ export declare const SearchIcon: import("@emotion/styled/dist/declarations/src/t
|
|
|
7
7
|
} & import("react").SVGProps<SVGSVGElement> & {
|
|
8
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
9
|
}, {}, {}>;
|
|
10
|
-
export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "
|
|
11
|
-
variant?: "light" | "link" | "
|
|
10
|
+
export declare const StyledIconButton: 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"> & {
|
|
11
|
+
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
12
12
|
loading?: boolean | undefined;
|
|
13
|
-
color?: "
|
|
13
|
+
color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
|
|
14
14
|
component?: import("react").ElementType | undefined;
|
|
15
15
|
selected?: boolean | undefined;
|
|
16
16
|
} & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StyledLoader = exports.EndAdornmentWrapper = exports.LoaderWrapper = exports.TextFieldRoot = exports.StyledIconButton = exports.SearchIcon = void 0;
|
|
4
|
-
const
|
|
4
|
+
const SearchOutlineMd_1 = require("../../icons/SearchOutlineMd");
|
|
5
5
|
const IconButton_1 = require("../IconButton");
|
|
6
6
|
const Loader_1 = require("../Loader");
|
|
7
7
|
const styled_1 = require("../styled");
|
|
8
|
-
exports.SearchIcon = (0, styled_1.styled)(
|
|
8
|
+
exports.SearchIcon = (0, styled_1.styled)(SearchOutlineMd_1.SearchOutlineMd) `
|
|
9
9
|
/* Задается чтобы клик по startAdornment приводил к клику в инпут */
|
|
10
10
|
pointer-events: none;
|
|
11
11
|
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useFirstMountState_1 = require("../../hooks/useFirstMountState");
|
|
6
|
+
const useForwardedRef_1 = require("../../hooks/useForwardedRef");
|
|
6
7
|
const useLogic = ({ onChange: propsOnChange, defaultValue, value, inputRef: externalInputRef, disabled, onBlur: propsOnBlur, fullWidth, isLoading, placeholder = 'Поиск', inputComponent, hideHelperText = true, ...restProps }) => {
|
|
7
|
-
const inputRef = (0,
|
|
8
|
+
const inputRef = (0, useForwardedRef_1.useForwardedRef)(externalInputRef);
|
|
8
9
|
const [internalValue, setInternalValue] = (0, react_1.useState)(defaultValue || value || '');
|
|
9
|
-
const isFirstRender = (0,
|
|
10
|
+
const isFirstRender = (0, useFirstMountState_1.useFirstMountState)();
|
|
10
11
|
(0, react_1.useEffect)(() => {
|
|
11
12
|
if (!isFirstRender && value !== internalValue.trim()) {
|
|
12
13
|
setInternalValue(value ? value : '');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SelectProps as MuiSelectProps } from '@mui/material/Select';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import { type WithoutEmotionSpecific } from '../types';
|
|
4
4
|
export type SelectProps<TValue> = WithoutEmotionSpecific<Omit<MuiSelectProps<TValue>, 'variant' | 'color' | 'onOpen'>> & {
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.Select = void 0;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
8
|
+
const FormControl_1 = __importDefault(require("@mui/material/FormControl"));
|
|
9
|
+
const InputLabel_1 = __importDefault(require("@mui/material/InputLabel"));
|
|
10
|
+
const ListItemIcon_1 = __importDefault(require("@mui/material/ListItemIcon"));
|
|
6
11
|
const react_1 = require("react");
|
|
7
|
-
const
|
|
12
|
+
const CrossOutlineMd_1 = require("../../icons/CrossOutlineMd");
|
|
13
|
+
const DownOutlineMd_1 = require("../../icons/DownOutlineMd");
|
|
14
|
+
const UpOutlineMd_1 = require("../../icons/UpOutlineMd");
|
|
8
15
|
const Checkbox_1 = require("../Checkbox");
|
|
9
16
|
const FormHelperText_1 = require("../FormHelperText");
|
|
10
17
|
const forwardRefWithGeneric_1 = require("../forwardRefWithGeneric");
|
|
@@ -15,7 +22,7 @@ const TagsList_1 = require("../TagsList");
|
|
|
15
22
|
const constants_1 = require("./constants");
|
|
16
23
|
const styles_1 = require("./styles");
|
|
17
24
|
const useLogic_1 = require("./useLogic");
|
|
18
|
-
const ClearButton = (0, react_1.forwardRef)(({ onClick, disabled }, ref) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { disabled: disabled, ref: ref, onClick: onClick, variant: "text", title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(
|
|
25
|
+
const ClearButton = (0, react_1.forwardRef)(({ onClick, disabled }, ref) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { disabled: disabled, ref: ref, onClick: onClick, variant: "text", title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) })));
|
|
19
26
|
const SelectInner = ({ required, getOptionLabel, placeholder, helperText, hideHelperText = false, loading, success, children, disabled, error, label, fullWidth, onChange: externalOnChange, isShowClearButton, isEnableAllSelection = false, valueOptions, value, onSelectAll, onUnselectAll, ...props }, ref) => {
|
|
20
27
|
const { isOpened, isShowingClearButton, isNoData, onClearAll, openSelect, closeSelect, resetButtonRef, isShowingSelectAll, handleChangeOption, isSelectedAll, isIndeterminate, handleChangeArrayValue, selectAllClassName, findMenuItemsLabel, isShowingPlaceholder, } = (0, useLogic_1.useLogic)({
|
|
21
28
|
...props,
|
|
@@ -46,6 +53,6 @@ const SelectInner = ({ required, getOptionLabel, placeholder, helperText, hideHe
|
|
|
46
53
|
}
|
|
47
54
|
return findMenuItemsLabel(children, selectedOptions);
|
|
48
55
|
};
|
|
49
|
-
return ((0, jsx_runtime_1.jsxs)(
|
|
56
|
+
return ((0, jsx_runtime_1.jsxs)(FormControl_1.default, { error: error, fullWidth: fullWidth, children: [label && ((0, jsx_runtime_1.jsx)(InputLabel_1.default, { htmlFor: "grouped-select", required: required, disabled: disabled, children: label })), (0, jsx_runtime_1.jsxs)(styles_1.StyledSelect, { ...props, value: value === null ? '' : value, open: isOpened, disabled: disabled, onOpen: openSelect, onClose: closeSelect, renderValue: renderValue, IconComponent: () => null, displayEmpty: true, ref: ref, fullWidth: fullWidth, onChange: handleChangeOption, "$isShowingPlaceholder": isShowingPlaceholder, endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.EndAdornmentWrapper, { children: [loading && (0, jsx_runtime_1.jsx)(Loader_1.Loader, { color: "primary", size: "small" }), !loading && isShowingClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, ref: resetButtonRef, onClick: onClearAll })), !loading && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", disabled: disabled, onClick: openSelect, children: !isOpened ? (0, jsx_runtime_1.jsx)(DownOutlineMd_1.DownOutlineMd, {}) : (0, jsx_runtime_1.jsx)(UpOutlineMd_1.UpOutlineMd, {}) }))] }), children: [(0, jsx_runtime_1.jsx)(styles_1.Placeholder, { value: "", children: placeholder }), !loading && isShowingSelectAll && ((0, jsx_runtime_1.jsxs)(MenuItem_1.MenuItem, { className: selectAllClassName, selected: isSelectedAll, value: constants_1.SELECT_ALL_VALUE, children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.default, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { checked: isSelectedAll, indeterminate: isIndeterminate }) }), "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435"] })), !loading && children, !loading && isNoData && (0, jsx_runtime_1.jsx)(styles_1.StateWrapper, { children: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" })] }), (0, jsx_runtime_1.jsx)(FormHelperText_1.FormHelperText, { error: error, success: success, hideHelperText: hideHelperText, children: helperText })] }));
|
|
50
57
|
};
|
|
51
58
|
exports.Select = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(SelectInner);
|
|
@@ -10,13 +10,13 @@ export declare const EndAdornmentWrapper: import("@emotion/styled/dist/declarati
|
|
|
10
10
|
export declare const Placeholder: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("..").WithoutEmotionSpecific<Omit<import("@mui/material").MenuItemProps, "component">> & {
|
|
11
11
|
disabledReason?: string | undefined;
|
|
12
12
|
note?: string | undefined;
|
|
13
|
-
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "
|
|
13
|
+
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
|
|
14
14
|
component?: import("react").ElementType | undefined;
|
|
15
15
|
href?: string | undefined;
|
|
16
16
|
} & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement> & {
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
|
-
export declare const StyledSelect: import("@emotion/styled/dist/declarations/src/types").StyledComponent<(import("@mui/material").SelectProps<unknown> & {
|
|
19
|
+
export declare const StyledSelect: import("@emotion/styled/dist/declarations/src/types").StyledComponent<(import("@mui/material/Select").SelectProps<unknown> & {
|
|
20
20
|
theme?: import("@emotion/react").Theme | undefined;
|
|
21
21
|
}) & {
|
|
22
22
|
$isShowingPlaceholder: boolean;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.StyledSelect = exports.Placeholder = exports.EndAdornmentWrapper = exports.StateWrapper = void 0;
|
|
4
|
-
const
|
|
7
|
+
const Select_1 = __importDefault(require("@mui/material/Select"));
|
|
5
8
|
const Loader_1 = require("../Loader");
|
|
6
9
|
const MenuItem_1 = require("../MenuItem");
|
|
7
10
|
const styled_1 = require("../styled");
|
|
@@ -26,7 +29,7 @@ exports.EndAdornmentWrapper = styled_1.styled.div `
|
|
|
26
29
|
exports.Placeholder = (0, styled_1.styled)(MenuItem_1.MenuItem) `
|
|
27
30
|
display: none;
|
|
28
31
|
`;
|
|
29
|
-
exports.StyledSelect = (0, styled_1.styled)(
|
|
32
|
+
exports.StyledSelect = (0, styled_1.styled)(Select_1.default, {
|
|
30
33
|
shouldForwardProp: (prop) => !['$isShowingPlaceholder'].includes(prop),
|
|
31
34
|
}) `
|
|
32
35
|
padding-right: ${({ theme }) => theme.spacing(2)};
|