@copilotkit/react-core 2.0.0-rc.56 → 2.0.0-rc.58
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/index.cjs +1 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -805,7 +805,7 @@ function ɵuseOwnedCore(ref, create) {
|
|
|
805
805
|
|
|
806
806
|
//#endregion
|
|
807
807
|
//#region package.json
|
|
808
|
-
var version$1 = "2.0.0-rc.
|
|
808
|
+
var version$1 = "2.0.0-rc.58";
|
|
809
809
|
|
|
810
810
|
//#endregion
|
|
811
811
|
//#region src/components/CopilotKitInspector.tsx
|
|
@@ -1284,15 +1284,9 @@ const CopilotStyleOptionsProvider = StyleOptionsContext.Provider;
|
|
|
1284
1284
|
* passes a plain string, so a hoisted tag would be blocked.
|
|
1285
1285
|
*
|
|
1286
1286
|
* Renders nothing when `CopilotKitProvider` has `injectStyles={false}`.
|
|
1287
|
-
*
|
|
1288
|
-
* In development, it warns in the console when the app's CSS overrides these
|
|
1289
|
-
* styles, such as a global reset outside a cascade layer.
|
|
1290
1287
|
*/
|
|
1291
1288
|
function CopilotKitStyles() {
|
|
1292
1289
|
const { nonce, inject } = (0, react.useContext)(StyleOptionsContext);
|
|
1293
|
-
(0, react.useEffect)(() => {
|
|
1294
|
-
if (inject && process.env.NODE_ENV !== "production") (0, _copilotkit_core_styles.ɵwarnIfStylesOverridden)(document);
|
|
1295
|
-
}, [inject]);
|
|
1296
1290
|
if (!inject) return null;
|
|
1297
1291
|
if (nonce || !hoistsStyles) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", {
|
|
1298
1292
|
nonce,
|