canvu-react 0.4.28 → 0.4.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/native.cjs +4 -4
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +4 -4
- package/dist/native.js.map +1 -1
- package/dist/react.cjs +3 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +6 -1
- package/dist/react.d.ts +6 -1
- package/dist/react.js +3 -2
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/native.js
CHANGED
|
@@ -3066,8 +3066,8 @@ var DEFAULT_NATIVE_OVERFLOW_TOOL_IDS = [
|
|
|
3066
3066
|
"laser",
|
|
3067
3067
|
"image"
|
|
3068
3068
|
];
|
|
3069
|
-
var
|
|
3070
|
-
function
|
|
3069
|
+
var CLOUD_TOOL_ICON_PATH = "M17.5 19H8.5a6.5 6.5 0 1 1 6.17-8.55A4.75 4.75 0 0 1 17.5 9.5a4.75 4.75 0 0 1 0 9.5Z";
|
|
3070
|
+
function NativeCloudToolIcon({
|
|
3071
3071
|
color,
|
|
3072
3072
|
size = 19,
|
|
3073
3073
|
strokeWidth = 2
|
|
@@ -3076,7 +3076,7 @@ function NativeArchitecturalCloudIcon({
|
|
|
3076
3076
|
return /* @__PURE__ */ jsx(Canvas, { style: { width: size, height: size }, children: /* @__PURE__ */ jsx(Group, { transform: [{ scale }], children: /* @__PURE__ */ jsx(
|
|
3077
3077
|
Path,
|
|
3078
3078
|
{
|
|
3079
|
-
path:
|
|
3079
|
+
path: CLOUD_TOOL_ICON_PATH,
|
|
3080
3080
|
color,
|
|
3081
3081
|
style: "stroke",
|
|
3082
3082
|
strokeWidth,
|
|
@@ -3382,7 +3382,7 @@ function renderNativeToolButton(input) {
|
|
|
3382
3382
|
}
|
|
3383
3383
|
function renderNativeToolFallback(tool, foregroundColor, toolLabelStyle) {
|
|
3384
3384
|
if (tool.id === "architectural-cloud") {
|
|
3385
|
-
return /* @__PURE__ */ jsx(
|
|
3385
|
+
return /* @__PURE__ */ jsx(NativeCloudToolIcon, { color: foregroundColor });
|
|
3386
3386
|
}
|
|
3387
3387
|
return /* @__PURE__ */ jsx(Text$1, { style: [styles2.shortLabel, { color: foregroundColor }, toolLabelStyle], children: tool.shortLabel ?? tool.label.slice(0, 1).toUpperCase() });
|
|
3388
3388
|
}
|