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.js CHANGED
@@ -5592,8 +5592,8 @@ var NATIVE_VIEWPORT_EXTERNAL_OVERLAY_Z_INDEX = 20;
5592
5592
  var NATIVE_VIEWPORT_EXTERNAL_OVERLAY_ELEVATION = 20;
5593
5593
  var LONG_PRESS_CONTEXT_MENU_MS = 520;
5594
5594
  var LONG_PRESS_CONTEXT_MENU_CANCEL_PX = 10;
5595
- var NATIVE_CONTEXT_MENU_WIDTH = 304;
5596
- var NATIVE_CONTEXT_MENU_HEIGHT = 52;
5595
+ var NATIVE_CONTEXT_MENU_WIDTH = 168;
5596
+ var NATIVE_CONTEXT_MENU_HEIGHT = 184;
5597
5597
  var NATIVE_CONTEXT_MENU_MARGIN = 12;
5598
5598
  function isPlacementTool(toolId) {
5599
5599
  return toolId === "rect" || toolId === "ellipse" || toolId === "architectural-cloud" || toolId === "line" || toolId === "arrow";
@@ -7149,9 +7149,9 @@ var styles4 = StyleSheet.create({
7149
7149
  position: "absolute",
7150
7150
  width: NATIVE_CONTEXT_MENU_WIDTH,
7151
7151
  minHeight: NATIVE_CONTEXT_MENU_HEIGHT,
7152
- flexDirection: "row",
7153
- alignItems: "center",
7154
- justifyContent: "space-between",
7152
+ flexDirection: "column",
7153
+ alignItems: "stretch",
7154
+ justifyContent: "flex-start",
7155
7155
  padding: 4,
7156
7156
  borderRadius: 14,
7157
7157
  borderWidth: StyleSheet.hairlineWidth,
@@ -7165,11 +7165,12 @@ var styles4 = StyleSheet.create({
7165
7165
  zIndex: NATIVE_VIEWPORT_OVERLAY_Z_INDEX + 4
7166
7166
  },
7167
7167
  nativeSelectionContextMenuButton: {
7168
+ width: "100%",
7168
7169
  minHeight: 42,
7169
- alignItems: "center",
7170
+ alignItems: "flex-start",
7170
7171
  justifyContent: "center",
7171
7172
  borderRadius: 10,
7172
- paddingHorizontal: 10
7173
+ paddingHorizontal: 14
7173
7174
  },
7174
7175
  nativeSelectionContextMenuButtonPressed: {
7175
7176
  backgroundColor: "#f4f4f5"
@@ -7180,7 +7181,7 @@ var styles4 = StyleSheet.create({
7180
7181
  nativeSelectionContextMenuButtonText: {
7181
7182
  color: "#18181b",
7182
7183
  fontSize: 14,
7183
- fontWeight: "700"
7184
+ fontWeight: "400"
7184
7185
  },
7185
7186
  nativeSelectionContextMenuButtonTextDisabled: {
7186
7187
  color: "#71717a"