diff --git a/.changeset/happy-carpets-draw.md b/.changeset/happy-carpets-draw.md new file mode 100644 index 0000000000000..f59a1a06c7bbf --- /dev/null +++ b/.changeset/happy-carpets-draw.md @@ -0,0 +1,7 @@ +--- +'@rocket.chat/ui-client': major +'@rocket.chat/i18n': major +'@rocket.chat/meteor': major +--- + +Promotes Resizable Contextualbars from preview state to stable. diff --git a/apps/meteor/client/components/Contextualbar/ContextualbarDialog.tsx b/apps/meteor/client/components/Contextualbar/ContextualbarDialog.tsx index 26afa86a22acd..f194bde566cbb 100644 --- a/apps/meteor/client/components/Contextualbar/ContextualbarDialog.tsx +++ b/apps/meteor/client/components/Contextualbar/ContextualbarDialog.tsx @@ -1,4 +1,3 @@ -import { FeaturePreview, FeaturePreviewOff, FeaturePreviewOn } from '@rocket.chat/ui-client'; import { useLayoutSizes, useLayoutContextualBarPosition } from '@rocket.chat/ui-contexts'; import type { ComponentProps } from 'react'; import { useCallback, useRef } from 'react'; @@ -40,16 +39,9 @@ const ContextualbarDialog = ({ onClose, ...props }: ContextualbarDialogProps) => return ( - - - - - - - - - - + + + ); }; diff --git a/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/CannedResponseList.stories.tsx b/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/CannedResponseList.stories.tsx index 50357a72968b2..438815a49d6b8 100644 --- a/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/CannedResponseList.stories.tsx +++ b/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/CannedResponseList.stories.tsx @@ -3,7 +3,6 @@ import { action } from '@storybook/addon-actions'; import type { Meta, StoryFn } from '@storybook/react'; import CannedResponseList from './CannedResponseList'; -import { Contextualbar } from '../../../../components/Contextualbar'; export default { title: 'Omnichannel/CannedResponseList', @@ -76,10 +75,4 @@ Default.args = { itemCount: 3, loadMoreItems: action('loadMoreItems'), }; -Default.decorators = [ - (fn) => ( - - {fn()} - - ), -]; +Default.decorators = [(fn) => {fn()}]; diff --git a/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/__snapshots__/CannedResponseList.spec.tsx.snap b/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/__snapshots__/CannedResponseList.spec.tsx.snap index 83307198a3981..70a75529f711f 100644 --- a/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/__snapshots__/CannedResponseList.spec.tsx.snap +++ b/apps/meteor/client/omnichannel/cannedResponses/contextualBar/CannedResponse/__snapshots__/CannedResponseList.spec.tsx.snap @@ -4,18 +4,18 @@ exports[`CannedResponseList Storybook Stories renders Default without crashing 1
+
-