canvu-react 0.3.6 → 0.3.7
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/chatbot.d.cts +2 -1
- package/dist/chatbot.d.ts +2 -1
- package/dist/react.cjs +15 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +9 -220
- package/dist/react.d.ts +9 -220
- package/dist/react.js +15 -2
- package/dist/react.js.map +1 -1
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +3 -2
- package/dist/realtime.d.ts +3 -2
- package/dist/realtime.js.map +1 -1
- package/dist/{types--ALu1mF-.d.ts → types-BCtWx3zP.d.ts} +225 -6
- package/dist/{types-D1ftVsOQ.d.cts → types-B_rv7p8b.d.cts} +225 -6
- package/package.json +1 -1
package/dist/chatbot.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { C as CanvasPlugin } from './types-
|
|
2
|
+
import { C as CanvasPlugin } from './types-B_rv7p8b.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './types-CB0TZZuk.cjs';
|
|
5
5
|
import './camera-BwQjm5oh.cjs';
|
|
6
|
+
import './shape-builders-DxPoOecg.cjs';
|
|
6
7
|
|
|
7
8
|
type ChatbotPluginPanelProps = {
|
|
8
9
|
/**
|
package/dist/chatbot.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { C as CanvasPlugin } from './types
|
|
2
|
+
import { C as CanvasPlugin } from './types-BCtWx3zP.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './types-CB0TZZuk.js';
|
|
5
5
|
import './camera-KwCYYPhm.js';
|
|
6
|
+
import './shape-builders-DTYvub8W.js';
|
|
6
7
|
|
|
7
8
|
type ChatbotPluginPanelProps = {
|
|
8
9
|
/**
|
package/dist/react.cjs
CHANGED
|
@@ -5757,10 +5757,11 @@ var VectorViewport = react.forwardRef(
|
|
|
5757
5757
|
selectedIds: selectedIdsProp,
|
|
5758
5758
|
onSelectionChange,
|
|
5759
5759
|
onItemsChange: consumerOnItemsChange,
|
|
5760
|
-
onWorldPointerDown,
|
|
5760
|
+
onWorldPointerDown: consumerOnWorldPointerDown,
|
|
5761
5761
|
toolbar,
|
|
5762
5762
|
navMenu,
|
|
5763
5763
|
selectionInspector,
|
|
5764
|
+
selectionInspectorProps,
|
|
5764
5765
|
plugins = [],
|
|
5765
5766
|
onCameraChange: consumerOnCameraChange,
|
|
5766
5767
|
customPlacement: consumerCustomPlacement,
|
|
@@ -5847,6 +5848,12 @@ var VectorViewport = react.forwardRef(
|
|
|
5847
5848
|
);
|
|
5848
5849
|
const remotePresence = [...orderedPluginContributions].reverse().map((contribution) => contribution.viewportProps?.remotePresence).find((value) => value !== void 0) ?? consumerRemotePresence;
|
|
5849
5850
|
const presenceOverlay = [...orderedPluginContributions].reverse().map((contribution) => contribution.viewportProps?.presenceOverlay).find((value) => value !== void 0) ?? consumerPresenceOverlay;
|
|
5851
|
+
const onWorldPointerDown = composePluginEvent(
|
|
5852
|
+
consumerOnWorldPointerDown,
|
|
5853
|
+
orderedPluginContributions.map(
|
|
5854
|
+
(contribution) => contribution.callbacks?.onWorldPointerDown
|
|
5855
|
+
)
|
|
5856
|
+
);
|
|
5850
5857
|
const onWorldPointerMove = composePluginEvent(
|
|
5851
5858
|
consumerOnWorldPointerMove,
|
|
5852
5859
|
orderedPluginContributions.map(
|
|
@@ -8195,7 +8202,13 @@ var VectorViewport = react.forwardRef(
|
|
|
8195
8202
|
canRedo,
|
|
8196
8203
|
onRequestRender: renderFrame
|
|
8197
8204
|
};
|
|
8198
|
-
const defaultSelectionInspector = cameraForOverlay && canEditSelection ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8205
|
+
const defaultSelectionInspector = cameraForOverlay && canEditSelection ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8206
|
+
VectorSelectionInspector,
|
|
8207
|
+
{
|
|
8208
|
+
className: selectionInspectorProps?.className,
|
|
8209
|
+
style: selectionInspectorProps?.style
|
|
8210
|
+
}
|
|
8211
|
+
) : null;
|
|
8199
8212
|
const defaultNavMenu = cameraForOverlay ? /* @__PURE__ */ jsxRuntime.jsx(NavMenu, {}) : null;
|
|
8200
8213
|
const resolvedSelectionInspector = selectionInspector === void 0 ? defaultSelectionInspector : selectionInspector;
|
|
8201
8214
|
const resolvedNavMenu = navMenu === void 0 ? defaultNavMenu : navMenu;
|