diff --git a/webapp/channels/package.json b/webapp/channels/package.json index 2f4eb18a22..f63b532c8f 100644 --- a/webapp/channels/package.json +++ b/webapp/channels/package.json @@ -13,9 +13,10 @@ "@mattermost/compass-components": "^0.2.12", "@mattermost/compass-icons": "0.1.34", "@mattermost/types": "*", - "@mui/base": "5.0.0-alpha.116", - "@mui/material": "5.11.7", - "@mui/styled-engine-sc": "5.11.0", + "@mui/base": "5.0.0-alpha.127", + "@mui/material": "5.11.16", + "@mui/system": "5.11.16", + "@mui/styled-engine-sc": "5.11.11", "@stripe/react-stripe-js": "1.13.0", "@stripe/stripe-js": "1.41.0", "@tippyjs/react": "4.2.6", diff --git a/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx b/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx index 485dfad01d..1b57ecfc79 100644 --- a/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx +++ b/webapp/channels/src/components/admin_console/billing/delete_workspace/delete_workspace_modal.tsx @@ -7,7 +7,7 @@ import {FormattedMessage} from 'react-intl'; import {useDispatch, useSelector} from 'react-redux'; -import {GenericModal} from '@mattermost/components'; +import {LegacyGenericModal} from '@mattermost/components'; import LaptopAlertSVG from 'components/common/svg_images_components/laptop_alert_svg'; import {closeModal, openModal} from 'actions/views/modals'; @@ -180,7 +180,7 @@ export default function DeleteWorkspaceModal(props: Props) { } return ( - @@ -249,6 +249,6 @@ export default function DeleteWorkspaceModal(props: Props) { /> - + ); } diff --git a/webapp/channels/src/components/air_gapped_self_hosted_purchase_modal/index.tsx b/webapp/channels/src/components/air_gapped_self_hosted_purchase_modal/index.tsx index 530902c3bb..97b6d9222c 100644 --- a/webapp/channels/src/components/air_gapped_self_hosted_purchase_modal/index.tsx +++ b/webapp/channels/src/components/air_gapped_self_hosted_purchase_modal/index.tsx @@ -4,7 +4,7 @@ import React from 'react'; import {FormattedMessage} from 'react-intl'; -import {GenericModal} from '@mattermost/components'; +import {LegacyGenericModal} from '@mattermost/components'; import {CloudLinks} from 'utils/constants'; import CreditCardSvg from 'components/common/svg_images_components/credit_card_svg'; import {useControlAirGappedSelfHostedPurchaseModal} from 'components/common/hooks/useControlModal'; @@ -15,7 +15,7 @@ export default function AirGappedSelfHostedPurhcaseModal() { const {close} = useControlAirGappedSelfHostedPurchaseModal(); return ( - {CloudLinks.SELF_HOSTED_PRICING} - + ); } diff --git a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/delete_draft_modal.test.tsx.snap b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/delete_draft_modal.test.tsx.snap index bcffa0da8f..26ffba2022 100644 --- a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/delete_draft_modal.test.tsx.snap +++ b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/delete_draft_modal.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`components/drafts/draft_actions/delete_draft_modal should have called onConfirm 1`] = ` - - + `; exports[`components/drafts/draft_actions/delete_draft_modal should have called onExited 1`] = ` - - + `; exports[`components/drafts/draft_actions/delete_draft_modal should match snapshot 1`] = ` diff --git a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/send_draft_modal.test.tsx.snap b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/send_draft_modal.test.tsx.snap index 548c04c4c5..cf89abf778 100644 --- a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/send_draft_modal.test.tsx.snap +++ b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/send_draft_modal.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`components/drafts/draft_actions/send_draft_modal should have called onConfirm 1`] = ` - - + `; exports[`components/drafts/draft_actions/send_draft_modal should have called onExited 1`] = ` - - + `; exports[`components/drafts/draft_actions/send_draft_modal should match snapshot 1`] = ` diff --git a/webapp/channels/src/components/feedback_modal/feedback.tsx b/webapp/channels/src/components/feedback_modal/feedback.tsx index 3f612017be..8b6c64aebe 100644 --- a/webapp/channels/src/components/feedback_modal/feedback.tsx +++ b/webapp/channels/src/components/feedback_modal/feedback.tsx @@ -6,7 +6,7 @@ import React, {useState} from 'react'; import {injectIntl, WrappedComponentProps} from 'react-intl'; import {useDispatch} from 'react-redux'; -import {GenericModal} from '@mattermost/components'; +import {LegacyGenericModal} from '@mattermost/components'; import {Feedback} from '@mattermost/types/cloud'; import {closeModal} from 'actions/views/modals'; import RadioButtonGroup from 'components/common/radio_group'; @@ -59,7 +59,7 @@ function FeedbackModal(props: Props) { }; return ( - } - + ); } diff --git a/webapp/channels/src/components/generic_modal.tsx b/webapp/channels/src/components/generic_modal.tsx index 2e43ab311a..5ea190f2f5 100644 --- a/webapp/channels/src/components/generic_modal.tsx +++ b/webapp/channels/src/components/generic_modal.tsx @@ -1,7 +1,7 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import {GenericModal} from '@mattermost/components'; +import {LegacyGenericModal} from '@mattermost/components'; import {t} from 'utils/i18n'; @@ -15,4 +15,4 @@ t('footer_pagination.count'); t('footer_pagination.prev'); t('footer_pagination.next'); -export default GenericModal; +export default LegacyGenericModal; diff --git a/webapp/channels/src/components/new_channel_modal/__snapshots__/new_channel_modal.test.tsx.snap b/webapp/channels/src/components/new_channel_modal/__snapshots__/new_channel_modal.test.tsx.snap deleted file mode 100644 index a681256d49..0000000000 --- a/webapp/channels/src/components/new_channel_modal/__snapshots__/new_channel_modal.test.tsx.snap +++ /dev/null @@ -1,96 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`components/new_channel_modal should match snapshot 1`] = ` - -
- - - -
-