@microsoft/omnichannel-chat-components 1.1.9 → 1.1.10

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.
Files changed (25) hide show
  1. package/lib/types/components/callingcontainer/CallingContainer.d.ts +2 -1
  2. package/lib/types/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.d.ts +2 -1
  3. package/lib/types/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.d.ts +2 -1
  4. package/lib/types/components/callingcontainer/subcomponents/Timer/Timer.d.ts +2 -1
  5. package/lib/types/components/chatbutton/ChatButton.d.ts +2 -1
  6. package/lib/types/components/common/commandbutton/CommandButton.d.ts +2 -1
  7. package/lib/types/components/common/subcomponents/CloseButton.d.ts +2 -1
  8. package/lib/types/components/confirmationpane/ConfirmationPane.d.ts +2 -1
  9. package/lib/types/components/footer/Footer.d.ts +2 -1
  10. package/lib/types/components/footer/subcomponents/AudioNotificationButton.d.ts +2 -1
  11. package/lib/types/components/footer/subcomponents/DownloadTranscriptButton.d.ts +2 -1
  12. package/lib/types/components/footer/subcomponents/EmailTranscriptButton.d.ts +2 -1
  13. package/lib/types/components/header/Header.d.ts +2 -1
  14. package/lib/types/components/header/subcomponents/MinimizeButton.d.ts +2 -1
  15. package/lib/types/components/inputvalidationpane/InputValidationPane.d.ts +2 -1
  16. package/lib/types/components/loadingpane/LoadingPane.d.ts +2 -1
  17. package/lib/types/components/notificationpane/NotificationPane.d.ts +2 -1
  18. package/lib/types/components/notificationpane/subcomponents/CloseChatButton.d.ts +2 -1
  19. package/lib/types/components/notificationpane/subcomponents/DismissButton.d.ts +2 -1
  20. package/lib/types/components/outofofficehourspane/OOOHPane.d.ts +2 -1
  21. package/lib/types/components/postchatsurveypane/PostChatSurveyPane.d.ts +2 -1
  22. package/lib/types/components/prechatsurveypane/PreChatSurveyPane.d.ts +2 -1
  23. package/lib/types/components/proactivechatpane/ProactiveChatPane.d.ts +2 -1
  24. package/lib/types/components/reconnectchatpane/ReconnectChatPane.d.ts +2 -1
  25. package/package.json +7 -7
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { ICallingContainerProps } from "./interfaces/ICallingContainerProps";
2
- declare function CallingContainer(props: ICallingContainerProps): JSX.Element;
3
+ declare function CallingContainer(props: ICallingContainerProps): React.JSX.Element;
3
4
  export default CallingContainer;
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { ICurrentCallProps } from "./interfaces/ICurrentCallProps";
2
- declare function CurrentCall(props: ICurrentCallProps): JSX.Element;
3
+ declare function CurrentCall(props: ICurrentCallProps): React.JSX.Element;
3
4
  export default CurrentCall;
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { IIncomingCallProps } from "./interfaces/IIncomingCallProps";
2
- declare function IncomingCall(props: IIncomingCallProps): JSX.Element;
3
+ declare function IncomingCall(props: IIncomingCallProps): React.JSX.Element;
3
4
  export default IncomingCall;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ITimer } from "./ITimer";
2
- declare function Timer(props: ITimer): JSX.Element;
3
+ declare function Timer(props: ITimer): React.JSX.Element;
3
4
  export default Timer;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { IChatButtonProps } from "./interfaces/IChatButtonProps";
2
- declare function ChatButton(props: IChatButtonProps): JSX.Element;
3
+ declare function ChatButton(props: IChatButtonProps): React.JSX.Element;
3
4
  export default ChatButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../interfaces/ICommandButtonProps";
2
- declare function CommandButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function CommandButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default CommandButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../interfaces/ICommandButtonProps";
2
- declare function CloseButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function CloseButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default CloseButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { IConfirmationPaneProps } from "./interfaces/IConfirmationPaneProps";
2
- declare function ConfirmationPane(props: IConfirmationPaneProps): JSX.Element;
3
+ declare function ConfirmationPane(props: IConfirmationPaneProps): React.JSX.Element;
3
4
  export default ConfirmationPane;
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { IFooterProps } from "./interfaces/IFooterProps";
2
- declare function Footer(props: IFooterProps): JSX.Element;
3
+ declare function Footer(props: IFooterProps): React.JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function AudioNotificationButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function AudioNotificationButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default AudioNotificationButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function DownloadTranscriptButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function DownloadTranscriptButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default DownloadTranscriptButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function EmailTranscriptButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function EmailTranscriptButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default EmailTranscriptButton;
@@ -1,3 +1,4 @@
1
+ import * as React from "react";
1
2
  import { IHeaderProps } from "./interfaces/IHeaderProps";
2
- declare function Header(props: IHeaderProps): JSX.Element;
3
+ declare function Header(props: IHeaderProps): React.JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function MinimizeButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function MinimizeButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default MinimizeButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { IInputValidationPaneProps } from "./interfaces/IInputValidationPaneProps";
2
- declare function InputValidationPane(props: IInputValidationPaneProps): JSX.Element;
3
+ declare function InputValidationPane(props: IInputValidationPaneProps): React.JSX.Element;
3
4
  export default InputValidationPane;
@@ -1,3 +1,4 @@
1
1
  import { ILoadingPaneProps } from "./interfaces/ILoadingPaneProps";
2
- declare function LoadingPane(props: ILoadingPaneProps): JSX.Element;
2
+ import React from "react";
3
+ declare function LoadingPane(props: ILoadingPaneProps): React.JSX.Element;
3
4
  export default LoadingPane;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { INotificationPaneInternal } from "./interfaces/common/INotificationPaneInternal";
2
- declare function NotificationPane(props: INotificationPaneInternal): JSX.Element;
3
+ declare function NotificationPane(props: INotificationPaneInternal): React.JSX.Element;
3
4
  export default NotificationPane;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function CloseChatButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function CloseChatButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default CloseChatButton;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { ICommandButtonProps } from "../../common/interfaces/ICommandButtonProps";
2
- declare function DismissButton(props: ICommandButtonProps): JSX.Element;
3
+ declare function DismissButton(props: ICommandButtonProps): React.JSX.Element;
3
4
  export default DismissButton;
@@ -1,3 +1,4 @@
1
1
  import { IOOOHPaneProps } from "./interfaces/IOOOHPaneProps";
2
- declare function OOOHPane(props: IOOOHPaneProps): JSX.Element;
2
+ import React from "react";
3
+ declare function OOOHPane(props: IOOOHPaneProps): React.JSX.Element;
3
4
  export default OOOHPane;
@@ -1,3 +1,4 @@
1
1
  import { IPostChatSurveyPaneProps } from "./interfaces/IPostChatSurveyPaneProps";
2
- declare function PostChatSurveyPane(props: IPostChatSurveyPaneProps): JSX.Element;
2
+ import React from "react";
3
+ declare function PostChatSurveyPane(props: IPostChatSurveyPaneProps): React.JSX.Element;
3
4
  export default PostChatSurveyPane;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { IPreChatSurveyPaneProps } from "./interfaces/IPreChatSurveyPaneProps";
2
- declare function PreChatSurveyPane(props: IPreChatSurveyPaneProps): JSX.Element;
3
+ declare function PreChatSurveyPane(props: IPreChatSurveyPaneProps): React.JSX.Element;
3
4
  export default PreChatSurveyPane;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { IProactiveChatPaneProps } from "./interfaces/IProactiveChatPaneProps";
2
- declare function ProactiveChatPane(props: IProactiveChatPaneProps): JSX.Element;
3
+ declare function ProactiveChatPane(props: IProactiveChatPaneProps): React.JSX.Element;
3
4
  export default ProactiveChatPane;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { IReconnectChatPaneProps } from "./interfaces/IReconnectChatPaneProps";
2
- declare function ReconnectChatPane(props: IReconnectChatPaneProps): JSX.Element;
3
+ declare function ReconnectChatPane(props: IReconnectChatPaneProps): React.JSX.Element;
3
4
  export default ReconnectChatPane;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/omnichannel-chat-components",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Microsoft Omnichannel Chat Components",
5
5
  "main": "lib/cjs/index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -37,8 +37,8 @@
37
37
  "@types/core-js": "^2.5.5",
38
38
  "@types/jest": "^27.0.2",
39
39
  "@types/jest-image-snapshot": "^4.3.1",
40
- "@types/react": "^17.0.30",
41
- "@types/react-dom": "^17.0.10",
40
+ "@types/react": "^18.3.13",
41
+ "@types/react-dom": "^18.3.6",
42
42
  "@types/styled-components": "^5.1.15",
43
43
  "@typescript-eslint/eslint-plugin": "^5.3.0",
44
44
  "@typescript-eslint/parser": "^5.2.0",
@@ -59,16 +59,16 @@
59
59
  "json": "^11.0.0",
60
60
  "playwright": "^1.16.3",
61
61
  "postcss": "^8.3.9",
62
- "react": "^17.0.2",
63
- "react-dom": "^17.0.2",
64
- "react-test-renderer": "^17.0.2",
62
+ "react": "^18.3.1",
63
+ "react-dom": "^18.3.1",
64
+ "react-test-renderer": "^18.3.1",
65
65
  "storybook-addon-playwright": "^4.9.2",
66
66
  "typescript": "^4.4.4"
67
67
  },
68
68
  "dependencies": {
69
69
  "@fluentui/react": "^8.46.0",
70
70
  "adaptivecards": "^2.10.0",
71
- "botframework-webchat": "4.18.1-main.20250505.488ce72",
71
+ "botframework-webchat": "4.18.1-main.20250515.4c7400a",
72
72
  "broadcast-channel": "^4.5.0",
73
73
  "jest-transform-stub": "^2.0.0",
74
74
  "rxjs": "^5.0.3",