@carbon/ai-chat 0.1.1-alpha4 → 0.1.1-react17
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/dist/App.js +1 -1
- package/dist/aiChatEntry2.js +1 -1
- package/dist/web-components/cds-aichat-container/App.js +1 -1
- package/dist/web-components/cds-aichat-container/App.js.map +1 -1
- package/dist/web-components/cds-aichat-container/index.js +3 -3
- package/dist/web-components/cds-aichat-container/index.js.map +1 -1
- package/dist/web-components/cds-aichat-container/moduleFederationPluginUtils.js.map +1 -1
- package/dist/web-components/cds-aichat-custom-element/App.js +1 -1
- package/dist/web-components/cds-aichat-custom-element/App.js.map +1 -1
- package/dist/web-components/cds-aichat-custom-element/index.js +2 -2
- package/dist/web-components/cds-aichat-custom-element/index.js.map +1 -1
- package/dist/web-components/cds-aichat-custom-element/moduleFederationPluginUtils.js.map +1 -1
- package/package.json +1 -1
- package/dist/createReact18.js +0 -1
- package/dist/web-components/cds-aichat-container/createReact18.js +0 -2
- package/dist/web-components/cds-aichat-container/createReact18.js.map +0 -1
- package/dist/web-components/cds-aichat-custom-element/createReact18.js +0 -2
- package/dist/web-components/cds-aichat-custom-element/createReact18.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ai-chat",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-react17",
|
|
4
4
|
"description": "Be sure to review the [chat documentation](https://web-chat.global.assistant.watson.cloud.ibm.com/carbon-chat.html).",
|
|
5
5
|
"author": "IBM Corp",
|
|
6
6
|
"license": "Apache-2.0",
|
package/dist/createReact18.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
async function t(t,r){try{const{createRoot:t}=await import("react-dom/client");return t(r)}catch{return}}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createReact18.js","sources":["../../../../../../../../src/chat/utils/createReact18.tsx"],"sourcesContent":["/**\n *\n * IBM Confidential\n *\n * (C) Copyright IBM Corp. 2024\n *\n * The source code for this program is not published or otherwise\n * divested of its trade secrets, irrespective of what has been\n * deposited with the U. S. Copyright Office\n *\n * US Government Users Restricted Rights - Use, duplication or\n * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n *\n */\n\nimport { type Root } from 'react-dom/client';\n\nasync function createReact18Render(root: Root, container: HTMLDivElement): Promise<Root> {\n try {\n const { createRoot } = await import('react-dom/client');\n root = createRoot(container);\n return root;\n } catch {\n // No react-dom/client.\n return undefined;\n }\n}\n\nexport default createReact18Render;\n"],"names":["async","createReact18Render","root","container","createRoot","import"],"mappings":"AAiBAA,eAAeC,EAAoBC,EAAYC,GAC7C,IACE,MAAMC,WAAEA,SAAqBC,OAAO,oBAEpC,OADOD,EAAWD,EAEnB,CAAC,MAEA,MACD,CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createReact18.js","sources":["../../../../../../../../src/chat/utils/createReact18.tsx"],"sourcesContent":["/**\n *\n * IBM Confidential\n *\n * (C) Copyright IBM Corp. 2024\n *\n * The source code for this program is not published or otherwise\n * divested of its trade secrets, irrespective of what has been\n * deposited with the U. S. Copyright Office\n *\n * US Government Users Restricted Rights - Use, duplication or\n * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.\n *\n */\n\nimport { type Root } from 'react-dom/client';\n\nasync function createReact18Render(root: Root, container: HTMLDivElement): Promise<Root> {\n try {\n const { createRoot } = await import('react-dom/client');\n root = createRoot(container);\n return root;\n } catch {\n // No react-dom/client.\n return undefined;\n }\n}\n\nexport default createReact18Render;\n"],"names":["async","createReact18Render","root","container","createRoot","import"],"mappings":"AAiBAA,eAAeC,EAAoBC,EAAYC,GAC7C,IACE,MAAMC,WAAEA,SAAqBC,OAAO,oBAEpC,OADOD,EAAWD,EAEnB,CAAC,MAEA,MACD,CACH"}
|