canvu-react 0.4.54 → 0.4.55

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 CHANGED
@@ -5598,8 +5598,8 @@ var NATIVE_VIEWPORT_EXTERNAL_OVERLAY_Z_INDEX = 20;
5598
5598
  var NATIVE_VIEWPORT_EXTERNAL_OVERLAY_ELEVATION = 20;
5599
5599
  var LONG_PRESS_CONTEXT_MENU_MS = 520;
5600
5600
  var LONG_PRESS_CONTEXT_MENU_CANCEL_PX = 10;
5601
- var NATIVE_CONTEXT_MENU_WIDTH = 304;
5602
- var NATIVE_CONTEXT_MENU_HEIGHT = 52;
5601
+ var NATIVE_CONTEXT_MENU_WIDTH = 168;
5602
+ var NATIVE_CONTEXT_MENU_HEIGHT = 184;
5603
5603
  var NATIVE_CONTEXT_MENU_MARGIN = 12;
5604
5604
  function isPlacementTool(toolId) {
5605
5605
  return toolId === "rect" || toolId === "ellipse" || toolId === "architectural-cloud" || toolId === "line" || toolId === "arrow";
@@ -7155,9 +7155,9 @@ var styles4 = reactNative.StyleSheet.create({
7155
7155
  position: "absolute",
7156
7156
  width: NATIVE_CONTEXT_MENU_WIDTH,
7157
7157
  minHeight: NATIVE_CONTEXT_MENU_HEIGHT,
7158
- flexDirection: "row",
7159
- alignItems: "center",
7160
- justifyContent: "space-between",
7158
+ flexDirection: "column",
7159
+ alignItems: "stretch",
7160
+ justifyContent: "flex-start",
7161
7161
  padding: 4,
7162
7162
  borderRadius: 14,
7163
7163
  borderWidth: reactNative.StyleSheet.hairlineWidth,
@@ -7171,11 +7171,12 @@ var styles4 = reactNative.StyleSheet.create({
7171
7171
  zIndex: NATIVE_VIEWPORT_OVERLAY_Z_INDEX + 4
7172
7172
  },
7173
7173
  nativeSelectionContextMenuButton: {
7174
+ width: "100%",
7174
7175
  minHeight: 42,
7175
- alignItems: "center",
7176
+ alignItems: "flex-start",
7176
7177
  justifyContent: "center",
7177
7178
  borderRadius: 10,
7178
- paddingHorizontal: 10
7179
+ paddingHorizontal: 14
7179
7180
  },
7180
7181
  nativeSelectionContextMenuButtonPressed: {
7181
7182
  backgroundColor: "#f4f4f5"
@@ -7186,7 +7187,7 @@ var styles4 = reactNative.StyleSheet.create({
7186
7187
  nativeSelectionContextMenuButtonText: {
7187
7188
  color: "#18181b",
7188
7189
  fontSize: 14,
7189
- fontWeight: "700"
7190
+ fontWeight: "400"
7190
7191
  },
7191
7192
  nativeSelectionContextMenuButtonTextDisabled: {
7192
7193
  color: "#71717a"