canvu-react 0.3.28 → 0.3.30
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/{asset-hydration-BEG21hMp.d.ts → asset-hydration-DrTOgDdd.d.ts} +2 -2
- package/dist/{asset-hydration-3Iv5xHxM.d.cts → asset-hydration-EtEuBwb7.d.cts} +2 -2
- package/dist/{camera-KwCYYPhm.d.ts → camera-AoTwBSoE.d.ts} +1 -1
- package/dist/{camera-BwQjm5oh.d.cts → camera-Di5R_Rwl.d.cts} +1 -1
- package/dist/chatbot.d.cts +4 -4
- package/dist/chatbot.d.ts +4 -4
- package/dist/index.cjs +118 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +116 -2
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +99 -0
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +2 -2
- package/dist/native.d.ts +2 -2
- package/dist/native.js +99 -0
- package/dist/native.js.map +1 -1
- package/dist/react.cjs +183 -7
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +15 -12
- package/dist/react.d.ts +15 -12
- package/dist/react.js +183 -8
- package/dist/react.js.map +1 -1
- package/dist/realtime.cjs +10 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +6 -6
- package/dist/realtime.d.ts +6 -6
- package/dist/realtime.js +10 -0
- package/dist/realtime.js.map +1 -1
- package/dist/{shape-builders-DFudWDFI.d.cts → shape-builders-CsSXKCcs.d.ts} +43 -2
- package/dist/{shape-builders-ENwnK-zT.d.ts → shape-builders-CsbSRZnQ.d.cts} +43 -2
- package/dist/tldraw.cjs +101 -2
- package/dist/tldraw.cjs.map +1 -1
- package/dist/tldraw.d.cts +1 -1
- package/dist/tldraw.d.ts +1 -1
- package/dist/tldraw.js +101 -2
- package/dist/tldraw.js.map +1 -1
- package/dist/{types-DNwjgs5U.d.cts → types-B2Na677H.d.cts} +1 -1
- package/dist/{types-BLXR7g_L.d.cts → types-B6PAYKzx.d.ts} +4 -4
- package/dist/{types-CB0TZZuk.d.cts → types-Bnq2HtHQ.d.cts} +1 -1
- package/dist/{types-CB0TZZuk.d.ts → types-Bnq2HtHQ.d.ts} +1 -1
- package/dist/{types-Cm7IsgL4.d.ts → types-DWGk2_GZ.d.cts} +4 -4
- package/dist/{types-BtAJFS_-.d.ts → types-zmUah-vP.d.ts} +1 -1
- package/package.json +1 -1
package/dist/realtime.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as PlacementPreview, R as RemotePresenceMarkupStroke, A as RemotePresencePeer, D as RemotePresenceCamera, E as RealtimeConnectionState, q as VectorViewportHandle, V as VectorToolDefinition, r as VectorViewportProps, C as CanvasPlugin, e as CanvasPluginRenderContext } from './types-
|
|
2
|
-
export { F as PresenceOverlayRenderContext } from './types-
|
|
1
|
+
import { P as PlacementPreview, R as RemotePresenceMarkupStroke, A as RemotePresencePeer, D as RemotePresenceCamera, E as RealtimeConnectionState, q as VectorViewportHandle, V as VectorToolDefinition, r as VectorViewportProps, C as CanvasPlugin, e as CanvasPluginRenderContext } from './types-DWGk2_GZ.cjs';
|
|
2
|
+
export { F as PresenceOverlayRenderContext } from './types-DWGk2_GZ.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { C as Camera2D } from './camera-
|
|
5
|
-
import { V as VectorSceneItem, R as Rect } from './types-
|
|
4
|
+
import { C as Camera2D } from './camera-Di5R_Rwl.cjs';
|
|
5
|
+
import { V as VectorSceneItem, R as Rect } from './types-Bnq2HtHQ.cjs';
|
|
6
6
|
import { ReactNode, RefObject } from 'react';
|
|
7
|
-
import { a as VectorCanvasRemoteAdapter } from './types-
|
|
8
|
-
import './shape-builders-
|
|
7
|
+
import { a as VectorCanvasRemoteAdapter } from './types-B2Na677H.cjs';
|
|
8
|
+
import './shape-builders-CsbSRZnQ.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Maps a local {@link PlacementPreview} stroke to {@link RemotePresenceMarkupStroke} for broadcasting.
|
package/dist/realtime.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as PlacementPreview, R as RemotePresenceMarkupStroke, A as RemotePresencePeer, D as RemotePresenceCamera, E as RealtimeConnectionState, q as VectorViewportHandle, V as VectorToolDefinition, r as VectorViewportProps, C as CanvasPlugin, e as CanvasPluginRenderContext } from './types-
|
|
2
|
-
export { F as PresenceOverlayRenderContext } from './types-
|
|
1
|
+
import { P as PlacementPreview, R as RemotePresenceMarkupStroke, A as RemotePresencePeer, D as RemotePresenceCamera, E as RealtimeConnectionState, q as VectorViewportHandle, V as VectorToolDefinition, r as VectorViewportProps, C as CanvasPlugin, e as CanvasPluginRenderContext } from './types-B6PAYKzx.js';
|
|
2
|
+
export { F as PresenceOverlayRenderContext } from './types-B6PAYKzx.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { C as Camera2D } from './camera-
|
|
5
|
-
import { V as VectorSceneItem, R as Rect } from './types-
|
|
4
|
+
import { C as Camera2D } from './camera-AoTwBSoE.js';
|
|
5
|
+
import { V as VectorSceneItem, R as Rect } from './types-Bnq2HtHQ.js';
|
|
6
6
|
import { ReactNode, RefObject } from 'react';
|
|
7
|
-
import { a as VectorCanvasRemoteAdapter } from './types-
|
|
8
|
-
import './shape-builders-
|
|
7
|
+
import { a as VectorCanvasRemoteAdapter } from './types-zmUah-vP.js';
|
|
8
|
+
import './shape-builders-CsSXKCcs.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Maps a local {@link PlacementPreview} stroke to {@link RemotePresenceMarkupStroke} for broadcasting.
|
package/dist/realtime.js
CHANGED
|
@@ -870,6 +870,9 @@ var base = {
|
|
|
870
870
|
strokeLinecap: "round",
|
|
871
871
|
strokeLinejoin: "round"
|
|
872
872
|
};
|
|
873
|
+
function IconArchitecturalCloud(props) {
|
|
874
|
+
return /* @__PURE__ */ jsx("svg", { ...base, ...props, "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M6.5 7.5Q4.4 7.5 4.4 9.4Q3 9.9 3 11.6Q3 13.5 5.2 13.5Q5.8 16 8.3 15.2Q9.2 17.2 11.3 15.7Q12.8 17 14.3 15.5Q16.5 16.4 17 14Q20.7 13.7 20.2 10.9Q21 8.5 18 8.3Q17.2 5.9 14.8 6.7Q13.2 5.2 11.5 6.5Q9.1 5.1 7.8 7.2Q7.2 7.2 6.5 7.5Z" }) });
|
|
875
|
+
}
|
|
873
876
|
function IconLaser(props) {
|
|
874
877
|
return /* @__PURE__ */ jsxs("svg", { ...base, ...props, "aria-hidden": true, children: [
|
|
875
878
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2.5" }),
|
|
@@ -905,6 +908,13 @@ var DEFAULT_VECTOR_TOOLS = [
|
|
|
905
908
|
icon: /* @__PURE__ */ jsx(Circle, { ...ic, "aria-hidden": true }),
|
|
906
909
|
shortcutHint: "O"
|
|
907
910
|
},
|
|
911
|
+
{
|
|
912
|
+
id: "architectural-cloud",
|
|
913
|
+
label: "Nuvem arquitetural",
|
|
914
|
+
tooltipLabel: "Architectural cloud",
|
|
915
|
+
icon: /* @__PURE__ */ jsx(IconArchitecturalCloud, { "aria-hidden": true }),
|
|
916
|
+
shortcutHint: "C"
|
|
917
|
+
},
|
|
908
918
|
{
|
|
909
919
|
id: "line",
|
|
910
920
|
label: "Line",
|