@swmansion/argent 0.27.1-next.3 → 0.27.1-next.4

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.
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -21916,7 +21916,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
21916
21916
  var SESSION_ID2 = randomUUID5();
21917
21917
  function readCliVersion() {
21918
21918
  if (true) {
21919
- return "0.27.1-next.3";
21919
+ return "0.27.1-next.4";
21920
21920
  }
21921
21921
  return "0.0.0";
21922
21922
  }
@@ -16730,7 +16730,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16730
16730
  var SESSION_ID = randomUUID4();
16731
16731
  function readCliVersion() {
16732
16732
  if (true) {
16733
- return "0.27.1-next.3";
16733
+ return "0.27.1-next.4";
16734
16734
  }
16735
16735
  return "0.0.0";
16736
16736
  }
@@ -94814,7 +94814,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94814
94814
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94815
94815
  function readCliVersion() {
94816
94816
  if (true) {
94817
- return "0.27.1-next.3";
94817
+ return "0.27.1-next.4";
94818
94818
  }
94819
94819
  return "0.0.0";
94820
94820
  }
@@ -112535,7 +112535,7 @@ function mapNativeTraitsToDescribeRole(traits) {
112535
112535
  const set2 = new Set(traits);
112536
112536
  if (set2.has("header")) return "AXHeading";
112537
112537
  if (set2.has("button") || set2.has("toggleButton")) return "AXButton";
112538
- if (set2.has("searchField")) return "AXTextField";
112538
+ if (set2.has("searchField") || set2.has("textEntry")) return "AXTextField";
112539
112539
  if (set2.has("link")) return "AXLink";
112540
112540
  if (set2.has("image")) return "AXImage";
112541
112541
  if (set2.has("staticText")) return "AXStaticText";
@@ -112585,8 +112585,9 @@ function adaptAXElement(el) {
112585
112585
  const width = x2 - x1;
112586
112586
  const height = y2 - y1;
112587
112587
  if (width <= 0 || height <= 0) return null;
112588
+ const traits = el.traits ?? [];
112588
112589
  return {
112589
- role: mapNativeTraitsToDescribeRole(el.traits ?? []),
112590
+ role: mapNativeTraitsToDescribeRole(traits),
112590
112591
  frame: {
112591
112592
  x: roundNormalized2(x1),
112592
112593
  y: roundNormalized2(y1),
@@ -112596,7 +112597,9 @@ function adaptAXElement(el) {
112596
112597
  children: [],
112597
112598
  label: el.label,
112598
112599
  value: el.value,
112599
- identifier: el.identifier
112600
+ identifier: el.identifier,
112601
+ // The text input that has the keyboard.
112602
+ ...traits.includes("isEditing") ? { focused: true } : {}
112600
112603
  };
112601
112604
  }
112602
112605
  function adaptAXDescribeToDescribeResult(response) {
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.27.1-next.3",
3
+ "version": "0.27.1-next.4",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",