@agimon-ai/po-git 0.0.0-alpha.45 → 0.0.0-alpha.46

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.
@@ -1,11 +1,11 @@
1
1
  import { createApiClient, defineActivityGroup, defineChannelFile, defineFill, defineGlobalStore, defineNativePlugin, defineSessionStore, defineWebLifecycle, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
2
2
  import { View } from "react-native-unistyles/components/native/View";
3
3
  import { Text } from "react-native-unistyles/components/native/Text";
4
+ import { ScrollView } from "react-native-unistyles/components/native/ScrollView";
4
5
  import { AlertIcon, Badge, BranchIcon, Button, ChevronRightIcon, Dot, FileIcon, Input, Label, ListRow, MessageIcon, SegmentedControl, Sheet, SheetBody, SheetContent, SheetHeader, SheetTitle, Spinner, SyntaxLine, Textarea, fontOf } from "@agimon-ai/po-native-components";
5
6
  import { createElement, memo, useCallback, useEffect, useEffectEvent, useMemo, useRef, useState, useSyncExternalStore } from "react";
6
7
  import { StyleSheet, useUnistyles } from "react-native-unistyles";
7
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
- import { ScrollView } from "react-native-unistyles/components/native/ScrollView";
9
9
  import { Pressable } from "react-native-unistyles/components/native/Pressable";
10
10
  const api = createApiClient({
11
11
  /** Workspace: the new-session dialog's branch list. */
@@ -189,8 +189,9 @@ function GitNewSessionSheetView({ workspaceRoot, branches, loadError = "", initi
189
189
  onChangeText: setQuery,
190
190
  disabled: busy
191
191
  }),
192
- /* @__PURE__ */ jsxs(View, {
192
+ /* @__PURE__ */ jsxs(ScrollView, {
193
193
  style: styles$3.list,
194
+ nestedScrollEnabled: true,
194
195
  accessibilityLabel: "Branches",
195
196
  children: [options.length === 0 ? /* @__PURE__ */ jsx(Text, {
196
197
  style: [styles$3.dim, styles$3.pad],
@@ -230,8 +231,9 @@ function GitNewSessionSheetView({ workspaceRoot, branches, loadError = "", initi
230
231
  })]
231
232
  }), /* @__PURE__ */ jsxs(View, {
232
233
  style: styles$3.field,
233
- children: [/* @__PURE__ */ jsx(Label, { children: "From" }), /* @__PURE__ */ jsxs(View, {
234
+ children: [/* @__PURE__ */ jsx(Label, { children: "From" }), /* @__PURE__ */ jsxs(ScrollView, {
234
235
  style: styles$3.list,
236
+ nestedScrollEnabled: true,
235
237
  children: [/* @__PURE__ */ jsx(ListRow, {
236
238
  accessibilityLabel: "From",
237
239
  title: /* @__PURE__ */ jsx(Text, {
@@ -395,6 +397,7 @@ const styles$3 = StyleSheet.create((theme) => {
395
397
  uni__dependencies: [0]
396
398
  },
397
399
  list: {
400
+ maxHeight: 320,
398
401
  borderRadius: theme.borderRadius.lg,
399
402
  borderWidth: 1,
400
403
  borderColor: theme.colors["border-soft"],