@agimon-ai/po-native-components 0.0.0-alpha.160 → 0.0.0-alpha.162

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/README.md CHANGED
@@ -1,16 +1,10 @@
1
- # @agimon-ai/po-native-components
1
+ # Po native components
2
2
 
3
- The React Native component library for Po's native client and its native plugins. It gives native
4
- code the web library's look and API (`@agimon-ai/po-web-components`) built on native parts: the
5
- platform activity indicator, Pressable with an Android ripple and 44pt tap targets, SF Symbols on
6
- iOS and Material icons elsewhere, and a small haptics policy.
3
+ Shared React Native components for the Po app and native plugins. Use them instead of rebuilding buttons, forms, lists, sheets, dialogs, transcript items, or file views in each plugin. They share Po's semantic palette with the web library while using native controls, accessibility roles, touch targets, and platform icons.
7
4
 
8
5
  ## Use
9
6
 
10
- Mount `PoNativeProvider` once at the app root, inside `SafeAreaProvider`. It supplies the gesture
11
- handler root and the bottom sheet host that sheets, dialogs and menus need. Register Po's native
12
- themes with Unistyles (`NATIVE_THEMES` from `@agimon-ai/po-web-components/nativeTheme`) before this
13
- package is imported.
7
+ Register the native Unistyles themes from `@agimon-ai/po-web-components/nativeTheme` before importing this package. Mount `PoNativeProvider` once inside the app's `SafeAreaProvider`; it supplies the gesture root and bottom-sheet host.
14
8
 
15
9
  ```tsx
16
10
  import { Button, PoNativeProvider } from '@agimon-ai/po-native-components';
@@ -22,50 +16,14 @@ import { Button, PoNativeProvider } from '@agimon-ai/po-native-components';
22
16
  </PoNativeProvider>;
23
17
  ```
24
18
 
25
- Plugins reach this package only through the native host module list. Its API is part of that host
26
- contract, so it only ever grows: props and exports are added, never removed or renamed.
19
+ Discover actual exports and props in [`src/exports/index.ts`](src/exports/index.ts) and colocated component stories. Web props are not automatically native contracts: for example, there is no DOM `asChild`, and sheets use native bottom-sheet behavior.
27
20
 
28
- ## Catalogue
21
+ Plugins import this package through the native host-module allowlist. That shared API is additive: do not remove or rename existing exports or props.
29
22
 
30
- | Export | Web counterpart | Native behaviour |
31
- | ----------------------------------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
32
- | `Button` | Button (9 variants, 7 sizes) | Pressed state for hover, Android ripple, hitSlop to 44pt, light haptic on primary, danger and success |
33
- | `Label`, `Input`, `Textarea` | Label, Input, Textarea | Placeholder in `faint`, jade cursor, autocorrect off, focus edge at 60% green |
34
- | `Spinner` | Spinner | `ActivityIndicator` in a theme token; a labelled spinner is a live progress indicator |
35
- | `Badge`, `StatusBadge`, `STATUS_EDGE`, `Dot` | Same | Accent edges at 40% alpha; `Dot` pulses with RN `Animated` |
36
- | `EmptyState`, `SectionLabel`, `Panel`, `PanelHeader`, `PanelBody` | Same | Headings carry the header role |
37
- | `List`, `ListRow` | None (the web uses card buttons) | FlashList; hairline separators, iOS disclosure chevron, selected rows on a green tint, `startAtBottom` for a chat list |
38
- | `Sheet` and its parts | Sheet (`side` and `width` dropped) | `BottomSheetModal`: drag handle, sized to content, drag down, backdrop tap or Android back closes; fields inside switch to the sheet's own input |
39
- | `Dialog` and its parts | Dialog (`width`, footer `plain` or `bar`) | RN `Modal` with an `Animated` pop; centred card; Android back and a backdrop tap close it |
40
- | `DropdownMenu` and its parts | DropdownMenu (no submenus yet) | An action list in a bottom sheet; selection haptic; destructive items in red |
41
- | `Tabs` and its parts, `TabBadge` | Tabs | Horizontal `ScrollView`; tab roles; active tab on a green tint; selection haptic |
42
- | `SegmentedControl` | Select (task status) | segmented-control through `withUnistyles`; native on iOS, the library's fallback elsewhere |
43
- | `CodeBlock` | CodeBlock (`text`, `language`) | Horizontal scroll, selectable mono text, expo-clipboard copy; no colouring or mermaid yet |
44
- | `Markdown` | Markdown (`text`, `onFileLink`) | The package's own parser; links open with `Linking`; no tables, images or blockquotes yet |
45
- | `MessageItem` and its parts, `toolTone`, `STATUS_LABEL` | MessageItem | The header is one Pressable that expands the item; edge from `STATUS_EDGE`; outcome as a `StatusBadge` |
46
- | Icons (`CheckIcon` ... `CloseIcon`, 14) | icons.ts, same names | SF Symbols on iOS, MaterialIcons on Android and web |
47
- | `PoNativeProvider` | None | `GestureHandlerRootView` and `BottomSheetModalProvider` |
48
- | `fontOf`, `impactLight`, `selectionTick` | None | Per-platform font family; the haptics policy |
23
+ ## Build and stories
49
24
 
50
- `asChild` has no native equivalent and is dropped. Colours always come from the Unistyles theme;
51
- alpha mixes are computed in render because Unistyles hands stylesheets CSS variables on web.
25
+ `tsdown` emits unbundled ESM with bare dependencies external, so Metro uses the app's single React, Unistyles, and native-library instances. The build applies the Unistyles Babel rewrite before publication.
52
26
 
53
- ## Build
27
+ Component stories are titled `Native/Components/<Name>`. Preview them through the repository's style-system tooling and preserve their identities through implementation. The story-only theme setup in `src/unistyles.ts` is not exported.
54
28
 
55
- `tsdown` emits ESM only (`exports['.']` is `{types, default}`), unbundled, with every bare import
56
- external, so each native library resolves from the app's single copy. The Unistyles Babel rewrite
57
- runs at build time through `unistylesBabel` from `@agimon-ai/po-build/tsdown`.
58
-
59
- ## Stories
60
-
61
- Each component has a colocated `*.stories.tsx` titled `Native/Components/<Name>`, rendered from the
62
- repository root:
63
-
64
- ```sh
65
- pnpm exec style-system get-ui-component -c 'Native/Components/Button' -a packages/core/po-native-components -s Playground
66
- ```
67
-
68
- `src/unistyles.ts` registers the themes for story renders only and is never exported. Story renders
69
- run on react-native-web, so they cannot show SF Symbols, haptics or native ripples; check those on
70
- a device. The SegmentedControl story does not render: style-system's bundler cannot parse the Flow
71
- source segmented-control ships for its non-iOS fallback.
29
+ React Native Web previews do not verify SF Symbols, haptics, ripples, native sheets, or device accessibility behavior. Check those on the target platform. A rendered story is not human approval.
@@ -20,6 +20,12 @@ export interface SelectProps {
20
20
  clearLabel?: string;
21
21
  onClear?: () => void;
22
22
  disabled?: boolean;
23
+ /** Shows a search field over a long list, such as "Search profiles". */
24
+ searchPlaceholder?: string;
25
+ /** Each option leads with initials, as people and agents do. */
26
+ avatars?: boolean;
27
+ /** A reload button in the sheet's header, for options read from elsewhere. */
28
+ onRefresh?: () => void;
23
29
  /** Start with the sheet up, as a story shows it. */
24
30
  defaultOpen?: boolean;
25
31
  style?: StyleProp<ViewStyle>;
@@ -28,6 +34,6 @@ export interface SelectProps {
28
34
  * The web Select as a phone picker: the current value and a chevron, which open a bottom sheet of
29
35
  * the options, grouped, with a tick on the chosen one. Choosing ticks once and closes the sheet.
30
36
  */
31
- export declare function Select({ options, value, onValueChange, title, placeholder, clearLabel, onClear, disabled, defaultOpen, style }: SelectProps): import("react").JSX.Element;
37
+ export declare function Select({ options, value, onValueChange, title, placeholder, clearLabel, onClear, disabled, searchPlaceholder, avatars, onRefresh, defaultOpen, style }: SelectProps): import("react").JSX.Element;
32
38
  //#endregion
33
39
  //# sourceMappingURL=Select.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.mts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;iBAeiB;EACf;EACA;;EAEA;;EAEA;;iBAGe;EACf,kBAAkB;;EAElB;EACA,gBAAgB;;EAEhB;EACA;;EAEA;EACA;EACA;;EAEA;EACA,QAAQ,UAAU;;;;;;wBAOJ,SACd,SACA,OACA,eACA,OACA,aACA,YACA,SACA,UACA,aACA,SACC,8BAAW,IAAA"}
1
+ {"version":3,"file":"Select.d.mts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;iBAiBiB;EACf;EACA;;EAEA;;EAEA;;iBAGe;EACf,kBAAkB;;EAElB;EACA,gBAAgB;;EAEhB;EACA;;EAEA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,QAAQ,UAAU;;;;;;wBAOJ,SACd,SACA,OACA,eACA,OACA,aACA,YACA,SACA,UACA,mBACA,SACA,WACA,aACA,SACC,8BAAW,IAAA"}
@@ -1,8 +1,10 @@
1
1
  import { fontOf } from "../lib/fonts.mjs";
2
+ import { AgentAvatar } from "./AgentAvatar.mjs";
2
3
  import { selectionTick } from "../lib/haptics.mjs";
3
4
  import { Button } from "./Button.mjs";
4
- import { CheckIcon, ChevronDownIcon } from "../icons/icons.mjs";
5
+ import { CheckIcon, ChevronDownIcon, RefreshIcon, SearchIcon } from "../icons/icons.mjs";
5
6
  import { SheetFrame } from "./SheetFrame.mjs";
7
+ import { Input } from "./Input.mjs";
6
8
  import { View } from "react-native-unistyles/components/native/View";
7
9
  import { Text } from "react-native-unistyles/components/native/Text";
8
10
  import { StyleSheet } from "react-native-unistyles";
@@ -19,10 +21,17 @@ const MAX_VALUE_WIDTH = 180;
19
21
  * The web Select as a phone picker: the current value and a chevron, which open a bottom sheet of
20
22
  * the options, grouped, with a tick on the chosen one. Choosing ticks once and closes the sheet.
21
23
  */
22
- function Select({ options, value, onValueChange, title, placeholder = "Choose", clearLabel, onClear, disabled = false, defaultOpen = false, style }) {
24
+ function Select({ options, value, onValueChange, title, placeholder = "Choose", clearLabel, onClear, disabled = false, searchPlaceholder, avatars = false, onRefresh, defaultOpen = false, style }) {
23
25
  const [open, setOpen] = useState(defaultOpen);
26
+ const [query, setQuery] = useState("");
27
+ const close = () => {
28
+ setOpen(false);
29
+ setQuery("");
30
+ };
24
31
  const chosen = options.find((option) => option.value === value);
25
- const groups = [...new Set(options.map((option) => option.group))];
32
+ const needle = query.trim().toLowerCase();
33
+ const shown = needle ? options.filter((option) => `${option.label} ${option.detail ?? ""}`.toLowerCase().includes(needle)) : options;
34
+ const groups = [...new Set(shown.map((option) => option.group))];
26
35
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Pressable, {
27
36
  accessibilityRole: "button",
28
37
  accessibilityLabel: title,
@@ -50,15 +59,44 @@ function Select({ options, value, onValueChange, title, placeholder = "Choose",
50
59
  })]
51
60
  }), /* @__PURE__ */ jsx(SheetFrame, {
52
61
  open,
53
- onClose: () => setOpen(false),
62
+ onClose: close,
54
63
  children: /* @__PURE__ */ jsxs(View, {
55
64
  style: styles.sheet,
56
65
  children: [
57
- /* @__PURE__ */ jsx(Text, {
58
- accessibilityRole: "header",
59
- style: styles.title,
60
- children: title
66
+ /* @__PURE__ */ jsxs(View, {
67
+ style: styles.head,
68
+ children: [/* @__PURE__ */ jsx(Text, {
69
+ accessibilityRole: "header",
70
+ style: styles.title,
71
+ children: title
72
+ }), onRefresh === void 0 ? null : /* @__PURE__ */ jsx(Button, {
73
+ variant: "ghost",
74
+ size: "icon-md",
75
+ accessibilityLabel: `Reload ${title}`,
76
+ onPress: onRefresh,
77
+ children: /* @__PURE__ */ jsx(RefreshIcon, { size: 18 })
78
+ })]
61
79
  }),
80
+ searchPlaceholder === void 0 ? null : /* @__PURE__ */ jsxs(View, { children: [/* @__PURE__ */ jsx(Input, {
81
+ value: query,
82
+ onChangeText: setQuery,
83
+ placeholder: searchPlaceholder,
84
+ accessibilityLabel: searchPlaceholder,
85
+ autoCapitalize: "none",
86
+ returnKeyType: "search",
87
+ style: styles.search
88
+ }), /* @__PURE__ */ jsx(View, {
89
+ pointerEvents: "none",
90
+ style: styles.searchIcon,
91
+ children: /* @__PURE__ */ jsx(SearchIcon, {
92
+ size: 16,
93
+ color: "faint"
94
+ })
95
+ })] }),
96
+ needle && shown.length === 0 ? /* @__PURE__ */ jsx(Text, {
97
+ style: styles.detail,
98
+ children: "No matches."
99
+ }) : null,
62
100
  groups.map((group) => /* @__PURE__ */ jsxs(View, {
63
101
  accessibilityRole: "radiogroup",
64
102
  style: styles.group,
@@ -67,14 +105,14 @@ function Select({ options, value, onValueChange, title, placeholder = "Choose",
67
105
  children: group
68
106
  }), /* @__PURE__ */ jsx(View, {
69
107
  style: styles.card,
70
- children: options.filter((option) => option.group === group).map((option, index, rows) => {
108
+ children: shown.filter((option) => option.group === group).map((option, index, rows) => {
71
109
  const selected = option.value === value;
72
110
  return /* @__PURE__ */ jsxs(Pressable, {
73
111
  accessibilityRole: "radio",
74
112
  accessibilityState: { checked: selected },
75
113
  onPress: () => {
76
114
  selectionTick();
77
- setOpen(false);
115
+ close();
78
116
  if (!selected) onValueChange(option.value);
79
117
  },
80
118
  style: ({ pressed }) => [
@@ -82,22 +120,29 @@ function Select({ options, value, onValueChange, title, placeholder = "Choose",
82
120
  index < rows.length - 1 && styles.divider,
83
121
  pressed && styles.pressed
84
122
  ],
85
- children: [/* @__PURE__ */ jsxs(View, {
86
- style: styles.optionText,
87
- children: [/* @__PURE__ */ jsx(Text, {
88
- style: [styles.optionLabel, selected && styles.selected],
89
- children: option.label
90
- }), option.detail ? /* @__PURE__ */ jsx(Text, {
91
- style: styles.detail,
92
- children: option.detail
93
- }) : null]
94
- }), /* @__PURE__ */ jsx(View, {
95
- style: styles.tick,
96
- children: selected ? /* @__PURE__ */ jsx(CheckIcon, {
97
- size: 18,
98
- color: "green"
99
- }) : null
100
- })]
123
+ children: [
124
+ avatars ? /* @__PURE__ */ jsx(AgentAvatar, {
125
+ name: option.label,
126
+ seed: option.value
127
+ }) : null,
128
+ /* @__PURE__ */ jsxs(View, {
129
+ style: styles.optionText,
130
+ children: [/* @__PURE__ */ jsx(Text, {
131
+ style: [styles.optionLabel, selected && styles.selected],
132
+ children: option.label
133
+ }), option.detail ? /* @__PURE__ */ jsx(Text, {
134
+ style: styles.detail,
135
+ children: option.detail
136
+ }) : null]
137
+ }),
138
+ /* @__PURE__ */ jsx(View, {
139
+ style: styles.tick,
140
+ children: selected ? /* @__PURE__ */ jsx(CheckIcon, {
141
+ size: 18,
142
+ color: "green"
143
+ }) : null
144
+ })
145
+ ]
101
146
  }, option.value);
102
147
  })
103
148
  })]
@@ -106,7 +151,7 @@ function Select({ options, value, onValueChange, title, placeholder = "Choose",
106
151
  variant: "ghost",
107
152
  size: "md",
108
153
  onPress: () => {
109
- setOpen(false);
154
+ close();
110
155
  onClear();
111
156
  },
112
157
  children: clearLabel ?? "Clear"
@@ -151,12 +196,30 @@ const styles = StyleSheet.create((theme) => {
151
196
  paddingBottom: theme.spacing(4),
152
197
  uni__dependencies: [0]
153
198
  },
199
+ head: {
200
+ flexDirection: "row",
201
+ alignItems: "center",
202
+ justifyContent: "space-between",
203
+ minHeight: MIN_ROW_HEIGHT
204
+ },
154
205
  title: {
155
206
  ...text("lg"),
156
207
  color: theme.colors.hi,
157
208
  fontWeight: theme.fontWeight.semibold,
158
209
  uni__dependencies: [0]
159
210
  },
211
+ search: {
212
+ paddingLeft: theme.spacing(9),
213
+ uni__dependencies: [0]
214
+ },
215
+ searchIcon: {
216
+ position: "absolute",
217
+ left: theme.spacing(3),
218
+ top: 0,
219
+ bottom: 0,
220
+ justifyContent: "center",
221
+ uni__dependencies: [0]
222
+ },
160
223
  group: {
161
224
  gap: theme.spacing(2),
162
225
  uni__dependencies: [0]
@@ -1 +1 @@
1
- {"version":3,"file":"Select.mjs","names":["useState","StyleProp","ViewStyle","StyleSheet","CheckIcon","ChevronDownIcon","fontOf","selectionTick","Button","SheetFrame","MIN_ROW_HEIGHT","DISABLED_OPACITY","MAX_VALUE_WIDTH","SelectOption","value","label","group","detail","SelectProps","options","onValueChange","title","placeholder","clearLabel","onClear","disabled","defaultOpen","style","Select","open","setOpen","chosen","find","option","groups","Set","map","text","expanded","pressed","styles","trigger","sheet","undefined","groupLabel","card","filter","index","rows","selected","checked","length","divider","optionText","optionLabel","tick","create","theme","size","fontFamily","sans","fontSize","lineHeight","flexDirection","alignItems","gap","spacing","minHeight","borderRadius","md","uni__dependencies","opacity","color","colors","maxWidth","faint","paddingHorizontal","paddingTop","paddingBottom","hi","fontWeight","semibold","dim","overflow","lg","borderWidth","hairlineWidth","borderColor","border","backgroundColor","panel","paddingVertical","borderBottomWidth","borderBottomColor","flex","minWidth","medium","green","lineHeightRelaxed","sm","width"],"sources":["../../src/components/Select.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { Pressable, type StyleProp, Text, View, type ViewStyle } from 'react-native';\nimport { StyleSheet } from 'react-native-unistyles';\n\nimport { CheckIcon, ChevronDownIcon } from '../icons/icons';\nimport { fontOf } from '../lib/fonts';\nimport { selectionTick } from '../lib/haptics';\nimport { Button } from './Button';\nimport { SheetFrame } from './SheetFrame';\n\nconst MIN_ROW_HEIGHT = 44;\nconst DISABLED_OPACITY = 0.4;\n/** A long value gives way to the row's title rather than pushing it off screen. */\nconst MAX_VALUE_WIDTH = 180;\n\nexport interface SelectOption {\n value: string;\n label: string;\n /** Options sharing a group sit under one heading, in the order the groups first appear. */\n group?: string;\n /** A quieter line under the label. */\n detail?: string;\n}\n\nexport interface SelectProps {\n options: readonly SelectOption[];\n /** The chosen value; unset or unknown shows the placeholder. */\n value?: string;\n onValueChange: (value: string) => void;\n /** The sheet's heading and the trigger's accessible name, such as \"Narration engine\". */\n title: string;\n placeholder?: string;\n /** Offer a way back to no value, such as \"Use the default\". Shown only with onClear. */\n clearLabel?: string;\n onClear?: () => void;\n disabled?: boolean;\n /** Start with the sheet up, as a story shows it. */\n defaultOpen?: boolean;\n style?: StyleProp<ViewStyle>;\n}\n\n/**\n * The web Select as a phone picker: the current value and a chevron, which open a bottom sheet of\n * the options, grouped, with a tick on the chosen one. Choosing ticks once and closes the sheet.\n */\nexport function Select({\n options,\n value,\n onValueChange,\n title,\n placeholder = 'Choose',\n clearLabel,\n onClear,\n disabled = false,\n defaultOpen = false,\n style,\n}: SelectProps) {\n const [open, setOpen] = useState(defaultOpen);\n const chosen = options.find((option) => option.value === value);\n const groups = [...new Set(options.map((option) => option.group))];\n return (\n <>\n <Pressable\n accessibilityRole=\"button\"\n accessibilityLabel={title}\n accessibilityValue={{ text: chosen?.label ?? placeholder }}\n accessibilityState={{ disabled, expanded: open }}\n disabled={disabled}\n hitSlop={8}\n onPress={() => setOpen(true)}\n style={({ pressed }) => [styles.trigger, pressed && styles.pressed, disabled && styles.disabled, style]}\n >\n <Text numberOfLines={1} style={chosen ? styles.value : styles.placeholder}>\n {chosen?.label ?? placeholder}\n </Text>\n <ChevronDownIcon size={14} color=\"faint\" />\n </Pressable>\n <SheetFrame open={open} onClose={() => setOpen(false)}>\n <View style={styles.sheet}>\n <Text accessibilityRole=\"header\" style={styles.title}>\n {title}\n </Text>\n {groups.map((group) => (\n <View key={group ?? ''} accessibilityRole=\"radiogroup\" style={styles.group}>\n {group === undefined ? null : <Text style={styles.groupLabel}>{group}</Text>}\n <View style={styles.card}>\n {options\n .filter((option) => option.group === group)\n .map((option, index, rows) => {\n const selected = option.value === value;\n return (\n <Pressable\n key={option.value}\n accessibilityRole=\"radio\"\n accessibilityState={{ checked: selected }}\n onPress={() => {\n selectionTick();\n setOpen(false);\n if (!selected) onValueChange(option.value);\n }}\n style={({ pressed }) => [\n styles.option,\n index < rows.length - 1 && styles.divider,\n pressed && styles.pressed,\n ]}\n >\n <View style={styles.optionText}>\n <Text style={[styles.optionLabel, selected && styles.selected]}>{option.label}</Text>\n {option.detail ? <Text style={styles.detail}>{option.detail}</Text> : null}\n </View>\n <View style={styles.tick}>{selected ? <CheckIcon size={18} color=\"green\" /> : null}</View>\n </Pressable>\n );\n })}\n </View>\n </View>\n ))}\n {onClear === undefined ? null : (\n <Button\n variant=\"ghost\"\n size=\"md\"\n onPress={() => {\n setOpen(false);\n onClear();\n }}\n >\n {clearLabel ?? 'Clear'}\n </Button>\n )}\n </View>\n </SheetFrame>\n </>\n );\n}\n\nconst styles = StyleSheet.create((theme) => {\n const text = (size: 'sm' | 'base' | 'lg') => ({\n fontFamily: fontOf(theme.fontFamily.sans),\n fontSize: theme.fontSize[size],\n lineHeight: theme.lineHeight[size],\n });\n return {\n trigger: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: theme.spacing(1.5),\n minHeight: MIN_ROW_HEIGHT,\n borderRadius: theme.borderRadius.md,\n },\n pressed: { opacity: 0.6 },\n disabled: { opacity: DISABLED_OPACITY },\n value: { ...text('sm'), color: theme.colors.text, maxWidth: MAX_VALUE_WIDTH },\n placeholder: { ...text('sm'), color: theme.colors.faint, maxWidth: MAX_VALUE_WIDTH },\n sheet: {\n gap: theme.spacing(4),\n paddingHorizontal: theme.spacing(5),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(4),\n },\n title: { ...text('lg'), color: theme.colors.hi, fontWeight: theme.fontWeight.semibold },\n group: { gap: theme.spacing(2) },\n groupLabel: { ...text('sm'), color: theme.colors.dim, fontWeight: theme.fontWeight.semibold },\n card: {\n overflow: 'hidden',\n borderRadius: theme.borderRadius.lg,\n borderWidth: StyleSheet.hairlineWidth,\n borderColor: theme.colors.border,\n backgroundColor: theme.colors.panel,\n },\n option: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n gap: theme.spacing(3),\n minHeight: MIN_ROW_HEIGHT,\n paddingHorizontal: theme.spacing(4),\n paddingVertical: theme.spacing(3),\n },\n divider: { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: theme.colors['border-soft'] },\n optionText: { flex: 1, minWidth: 0, gap: 2 },\n optionLabel: { ...text('base'), color: theme.colors.hi, fontWeight: theme.fontWeight.medium },\n selected: { color: theme.colors.green },\n detail: { ...text('sm'), color: theme.colors.dim, lineHeight: theme.lineHeightRelaxed.sm },\n tick: { width: 18, paddingTop: 2 },\n };\n});\n"],"mappings":";;;;;;;;;;;;;AAUA,MAAMU,iBAAiB;AACvB,MAAMC,mBAAmB;;AAEzB,MAAMC,kBAAkB;;;;;AAgCxB,SAAgBgB,OAAO,EACrBT,SACAL,OACAM,eACAC,OACAC,cAAc,UACdC,YACAC,SACAC,WAAW,OACXC,cAAc,OACdC,SACc;CACd,MAAM,CAACE,MAAMC,WAAW9B,SAAS0B,WAAW;CAC5C,MAAMK,SAASZ,QAAQa,MAAMC,WAAWA,OAAOnB,UAAUA,KAAK;CAC9D,MAAMoB,SAAS,CAAC,GAAG,IAAIC,IAAIhB,QAAQiB,KAAKH,WAAWA,OAAOjB,KAAK,CAAC,CAAC;CACjE,OACE,4CACE,qBAAC,WAAD;EACE,mBAAkB;EAClB,oBAAoBK;EACpB,oBAAoB,EAAEgB,MAAMN,QAAQhB,SAASO,YAAY;EACzD,oBAAoB;GAAEG;GAAUa,UAAUT;EAAK;EACrCJ;EACV,SAAS;EACT,eAAeK,QAAQ,IAAI;EAC3B,QAAQ,EAAES,cAAc;GAACC,OAA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AA,CAAA;EAAC;EACzFf,MAAM;GAAE6C,OAAO;GAAIvB,YAAY;EAAE;CACnC;AACF,CAAC"}
1
+ {"version":3,"file":"Select.mjs","names":["useState","StyleProp","ViewStyle","StyleSheet","CheckIcon","ChevronDownIcon","RefreshIcon","SearchIcon","fontOf","selectionTick","AgentAvatar","Button","Input","SheetFrame","MIN_ROW_HEIGHT","DISABLED_OPACITY","MAX_VALUE_WIDTH","SelectOption","value","label","group","detail","SelectProps","options","onValueChange","title","placeholder","clearLabel","onClear","disabled","searchPlaceholder","avatars","onRefresh","defaultOpen","style","Select","open","setOpen","query","setQuery","close","chosen","find","option","needle","trim","toLowerCase","shown","filter","includes","groups","Set","map","text","expanded","pressed","styles","trigger","sheet","head","undefined","search","searchIcon","length","groupLabel","card","index","rows","selected","checked","divider","optionText","optionLabel","tick","create","theme","size","fontFamily","sans","fontSize","lineHeight","flexDirection","alignItems","gap","spacing","minHeight","borderRadius","md","uni__dependencies","opacity","color","colors","maxWidth","faint","paddingHorizontal","paddingTop","paddingBottom","justifyContent","hi","fontWeight","semibold","paddingLeft","position","left","top","bottom","dim","overflow","lg","borderWidth","hairlineWidth","borderColor","border","backgroundColor","panel","paddingVertical","borderBottomWidth","borderBottomColor","flex","minWidth","medium","green","lineHeightRelaxed","sm","width"],"sources":["../../src/components/Select.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { Pressable, type StyleProp, Text, View, type ViewStyle } from 'react-native';\nimport { StyleSheet } from 'react-native-unistyles';\n\nimport { CheckIcon, ChevronDownIcon, RefreshIcon, SearchIcon } from '../icons/icons';\nimport { fontOf } from '../lib/fonts';\nimport { selectionTick } from '../lib/haptics';\nimport { AgentAvatar } from './AgentAvatar';\nimport { Button } from './Button';\nimport { Input } from './Input';\nimport { SheetFrame } from './SheetFrame';\n\nconst MIN_ROW_HEIGHT = 44;\nconst DISABLED_OPACITY = 0.4;\n/** A long value gives way to the row's title rather than pushing it off screen. */\nconst MAX_VALUE_WIDTH = 180;\n\nexport interface SelectOption {\n value: string;\n label: string;\n /** Options sharing a group sit under one heading, in the order the groups first appear. */\n group?: string;\n /** A quieter line under the label. */\n detail?: string;\n}\n\nexport interface SelectProps {\n options: readonly SelectOption[];\n /** The chosen value; unset or unknown shows the placeholder. */\n value?: string;\n onValueChange: (value: string) => void;\n /** The sheet's heading and the trigger's accessible name, such as \"Narration engine\". */\n title: string;\n placeholder?: string;\n /** Offer a way back to no value, such as \"Use the default\". Shown only with onClear. */\n clearLabel?: string;\n onClear?: () => void;\n disabled?: boolean;\n /** Shows a search field over a long list, such as \"Search profiles\". */\n searchPlaceholder?: string;\n /** Each option leads with initials, as people and agents do. */\n avatars?: boolean;\n /** A reload button in the sheet's header, for options read from elsewhere. */\n onRefresh?: () => void;\n /** Start with the sheet up, as a story shows it. */\n defaultOpen?: boolean;\n style?: StyleProp<ViewStyle>;\n}\n\n/**\n * The web Select as a phone picker: the current value and a chevron, which open a bottom sheet of\n * the options, grouped, with a tick on the chosen one. Choosing ticks once and closes the sheet.\n */\nexport function Select({\n options,\n value,\n onValueChange,\n title,\n placeholder = 'Choose',\n clearLabel,\n onClear,\n disabled = false,\n searchPlaceholder,\n avatars = false,\n onRefresh,\n defaultOpen = false,\n style,\n}: SelectProps) {\n const [open, setOpen] = useState(defaultOpen);\n const [query, setQuery] = useState('');\n const close = () => {\n setOpen(false);\n setQuery('');\n };\n const chosen = options.find((option) => option.value === value);\n const needle = query.trim().toLowerCase();\n const shown = needle\n ? options.filter((option) => `${option.label} ${option.detail ?? ''}`.toLowerCase().includes(needle))\n : options;\n const groups = [...new Set(shown.map((option) => option.group))];\n return (\n <>\n <Pressable\n accessibilityRole=\"button\"\n accessibilityLabel={title}\n accessibilityValue={{ text: chosen?.label ?? placeholder }}\n accessibilityState={{ disabled, expanded: open }}\n disabled={disabled}\n hitSlop={8}\n onPress={() => setOpen(true)}\n style={({ pressed }) => [styles.trigger, pressed && styles.pressed, disabled && styles.disabled, style]}\n >\n <Text numberOfLines={1} style={chosen ? styles.value : styles.placeholder}>\n {chosen?.label ?? placeholder}\n </Text>\n <ChevronDownIcon size={14} color=\"faint\" />\n </Pressable>\n <SheetFrame open={open} onClose={close}>\n <View style={styles.sheet}>\n <View style={styles.head}>\n <Text accessibilityRole=\"header\" style={styles.title}>\n {title}\n </Text>\n {onRefresh === undefined ? null : (\n <Button variant=\"ghost\" size=\"icon-md\" accessibilityLabel={`Reload ${title}`} onPress={onRefresh}>\n <RefreshIcon size={18} />\n </Button>\n )}\n </View>\n {searchPlaceholder === undefined ? null : (\n <View>\n <Input\n value={query}\n onChangeText={setQuery}\n placeholder={searchPlaceholder}\n accessibilityLabel={searchPlaceholder}\n autoCapitalize=\"none\"\n returnKeyType=\"search\"\n style={styles.search}\n />\n <View pointerEvents=\"none\" style={styles.searchIcon}>\n <SearchIcon size={16} color=\"faint\" />\n </View>\n </View>\n )}\n {needle && shown.length === 0 ? <Text style={styles.detail}>No matches.</Text> : null}\n {groups.map((group) => (\n <View key={group ?? ''} accessibilityRole=\"radiogroup\" style={styles.group}>\n {group === undefined ? null : <Text style={styles.groupLabel}>{group}</Text>}\n <View style={styles.card}>\n {shown\n .filter((option) => option.group === group)\n .map((option, index, rows) => {\n const selected = option.value === value;\n return (\n <Pressable\n key={option.value}\n accessibilityRole=\"radio\"\n accessibilityState={{ checked: selected }}\n onPress={() => {\n selectionTick();\n close();\n if (!selected) onValueChange(option.value);\n }}\n style={({ pressed }) => [\n styles.option,\n index < rows.length - 1 && styles.divider,\n pressed && styles.pressed,\n ]}\n >\n {avatars ? <AgentAvatar name={option.label} seed={option.value} /> : null}\n <View style={styles.optionText}>\n <Text style={[styles.optionLabel, selected && styles.selected]}>{option.label}</Text>\n {option.detail ? <Text style={styles.detail}>{option.detail}</Text> : null}\n </View>\n <View style={styles.tick}>{selected ? <CheckIcon size={18} color=\"green\" /> : null}</View>\n </Pressable>\n );\n })}\n </View>\n </View>\n ))}\n {onClear === undefined ? null : (\n <Button\n variant=\"ghost\"\n size=\"md\"\n onPress={() => {\n close();\n onClear();\n }}\n >\n {clearLabel ?? 'Clear'}\n </Button>\n )}\n </View>\n </SheetFrame>\n </>\n );\n}\n\nconst styles = StyleSheet.create((theme) => {\n const text = (size: 'sm' | 'base' | 'lg') => ({\n fontFamily: fontOf(theme.fontFamily.sans),\n fontSize: theme.fontSize[size],\n lineHeight: theme.lineHeight[size],\n });\n return {\n trigger: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: theme.spacing(1.5),\n minHeight: MIN_ROW_HEIGHT,\n borderRadius: theme.borderRadius.md,\n },\n pressed: { opacity: 0.6 },\n disabled: { opacity: DISABLED_OPACITY },\n value: { ...text('sm'), color: theme.colors.text, maxWidth: MAX_VALUE_WIDTH },\n placeholder: { ...text('sm'), color: theme.colors.faint, maxWidth: MAX_VALUE_WIDTH },\n sheet: {\n gap: theme.spacing(4),\n paddingHorizontal: theme.spacing(5),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(4),\n },\n head: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', minHeight: MIN_ROW_HEIGHT },\n title: { ...text('lg'), color: theme.colors.hi, fontWeight: theme.fontWeight.semibold },\n search: { paddingLeft: theme.spacing(9) },\n searchIcon: { position: 'absolute', left: theme.spacing(3), top: 0, bottom: 0, justifyContent: 'center' },\n group: { gap: theme.spacing(2) },\n groupLabel: { ...text('sm'), color: theme.colors.dim, fontWeight: theme.fontWeight.semibold },\n card: {\n overflow: 'hidden',\n borderRadius: theme.borderRadius.lg,\n borderWidth: StyleSheet.hairlineWidth,\n borderColor: theme.colors.border,\n backgroundColor: theme.colors.panel,\n },\n option: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n gap: theme.spacing(3),\n minHeight: MIN_ROW_HEIGHT,\n paddingHorizontal: theme.spacing(4),\n paddingVertical: theme.spacing(3),\n },\n divider: { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: theme.colors['border-soft'] },\n optionText: { flex: 1, minWidth: 0, gap: 2 },\n optionLabel: { ...text('base'), color: theme.colors.hi, fontWeight: theme.fontWeight.medium },\n selected: { color: theme.colors.green },\n detail: { ...text('sm'), color: theme.colors.dim, lineHeight: theme.lineHeightRelaxed.sm },\n tick: { width: 18, paddingTop: 2 },\n };\n});\n"],"mappings":";;;;;;;;;;;;;;;AAYA,MAAMc,iBAAiB;AACvB,MAAMC,mBAAmB;;AAEzB,MAAMC,kBAAkB;;;;;AAsCxB,SAAgBmB,OAAO,EACrBZ,SACAL,OACAM,eACAC,OACAC,cAAc,UACdC,YACAC,SACAC,WAAW,OACXC,mBACAC,UAAU,OACVC,WACAC,cAAc,OACdC,SACc;CACd,MAAM,CAACE,MAAMC,WAAWrC,SAASiC,WAAW;CAC5C,MAAM,CAACK,OAAOC,YAAYvC,SAAS,EAAE;CACrC,MAAMwC,cAAc;EAClBH,QAAQ,KAAK;EACbE,SAAS,EAAE;CACb;CACA,MAAME,SAASlB,QAAQmB,MAAMC,WAAWA,OAAOzB,UAAUA,KAAK;CAC9D,MAAM0B,SAASN,MAAMO,KAAK,CAAC,CAACC,YAAY;CACxC,MAAMC,QAAQH,SACVrB,QAAQyB,QAAQL,WAAW,GAAGA,OAAOxB,MAAK,GAAIwB,OAAOtB,UAAU,KAAKyB,YAAY,CAAC,CAACG,SAASL,MAAM,CAAC,IAClGrB;CACJ,MAAM2B,SAAS,CAAC,GAAG,IAAIC,IAAIJ,MAAMK,KAAKT,WAAWA,OAAOvB,KAAK,CAAC,CAAC;CAC/D,OACE,4CACE,qBAAC,WAAD;EACE,mBAAkB;EAClB,oBAAoBK;EACpB,oBAAoB,EAAE4B,MAAMZ,QAAQtB,SAASO,YAAY;EACzD,oBAAoB;GAAEG;GAAUyB,UAAUlB;EAAK;EACrCP;EACV,SAAS;EACT,eAAeQ,QAAQ,IAAI;EAC3B,QAAQ,EAAEkB,cAAc;GAACC,OAAOC;GAASF,WAAWC,OAAOD;GAAS1B,YAAY2B,OAAO3B;GAAUK;EAAK;YARxG,CAUE,oBAAC,MAAD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0C,UAAU;GACVrB,cAAcX,MAAMW,aAAasB;GACjCC,aAAa1G,WAAW2G;GACxBC,aAAapC,MAAMgB,OAAOqB;GAC1BC,iBAAiBtC,MAAMgB,OAAOuB;GAAK1B,mBAAA,CAAA,CAAA;EACrC;EACA7C,QAAQ;GACNsC,eAAe;GACfC,YAAY;GACZC,KAAKR,MAAMS,QAAQ,CAAC;GACpBC,WAAWvE;GACXgF,mBAAmBnB,MAAMS,QAAQ,CAAC;GAClC+B,iBAAiBxC,MAAMS,QAAQ,CAAC;GAACI,mBAAA,CAAA,CAAA;EACnC;EACAlB,SAAS;GAAE8C,mBAAmBjH,WAAW2G;GAAeO,mBAAmB1C,MAAMgB,OAAO;GAAcH,mBAAA,CAAA,CAAA;EAAC;EACvGjB,YAAY;GAAE+C,MAAM;GAAGC,UAAU;GAAGpC,KAAK;EAAE;EAC3CX,aAAa;GAAE,GAAGnB,KAAK,MAAM;GAAGqC,OAAOf,MAAMgB,OAAOO;GAAIC,YAAYxB,MAAMwB,WAAWqB;GAAMhC,mBAAA,CAAA,CAAA;EAAC;EAC5FpB,UAAU;GAAEsB,OAAOf,MAAMgB,OAAO8B;GAAKjC,mBAAA,CAAA,CAAA;EAAC;EACtCnE,QAAQ;GAAE,GAAGgC,KAAK,IAAI;GAAGqC,OAAOf,MAAMgB,OAAOe;GAAK1B,YAAYL,MAAM+C,kBAAkBC;GAAEnC,mBAAA,CAAA,CAAA;EAAC;EACzFf,MAAM;GAAEmD,OAAO;GAAI7B,YAAY;EAAE;CACnC;AACF,CAAC"}
@@ -218,6 +218,10 @@ export declare const ICON_GLYPHS: {
218
218
  readonly sf: "viewfinder";
219
219
  readonly material: "fit-screen";
220
220
  };
221
+ readonly Refresh: {
222
+ readonly sf: "arrow.clockwise";
223
+ readonly material: "refresh";
224
+ };
221
225
  };
222
226
  export type IconName = keyof typeof ICON_GLYPHS;
223
227
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"iconGlyphs.d.mts","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"mappings":";;;;;;;qBAMa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA0DD,wBAAwB"}
1
+ {"version":3,"file":"iconGlyphs.d.mts","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"mappings":";;;;;;;qBAMa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2DD,wBAAwB"}
@@ -217,6 +217,10 @@ const ICON_GLYPHS = {
217
217
  Fit: {
218
218
  sf: "viewfinder",
219
219
  material: "fit-screen"
220
+ },
221
+ Refresh: {
222
+ sf: "arrow.clockwise",
223
+ material: "refresh"
220
224
  }
221
225
  };
222
226
 
@@ -1 +1 @@
1
- {"version":3,"file":"iconGlyphs.mjs","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"sourcesContent":["/**\n * The curated native icon set: the same names the web library re-exports from\n * lucide, each drawn with the platform's own family. iOS gets an SF Symbol,\n * Android and web get a Material Icons glyph. Kept free of React Native so a\n * unit test can check every glyph against the installed glyph map.\n */\nexport const ICON_GLYPHS = {\n Check: { sf: 'checkmark', material: 'check' },\n ChevronDown: { sf: 'chevron.down', material: 'expand-more' },\n ChevronRight: { sf: 'chevron.right', material: 'chevron-right' },\n ChevronUp: { sf: 'chevron.up', material: 'expand-less' },\n Alert: { sf: 'exclamationmark.circle', material: 'error-outline' },\n Copy: { sf: 'doc.on.doc', material: 'content-copy' },\n Message: { sf: 'message', material: 'chat-bubble-outline' },\n // Each platform's own overflow mark: a horizontal ellipsis on iOS, vertical dots on Android.\n Kebab: { sf: 'ellipsis', material: 'more-vert' },\n Menu: { sf: 'line.3.horizontal', material: 'menu' },\n Edit: { sf: 'pencil', material: 'edit' },\n Gear: { sf: 'gearshape', material: 'settings' },\n Send: { sf: 'paperplane', material: 'send' },\n Task: { sf: 'checkmark.square', material: 'check-box' },\n Trash: { sf: 'trash', material: 'delete-outline' },\n Wrench: { sf: 'wrench.and.screwdriver', material: 'build' },\n Close: { sf: 'xmark', material: 'close' },\n File: { sf: 'doc', material: 'insert-drive-file' },\n Search: { sf: 'magnifyingglass', material: 'search' },\n Image: { sf: 'photo', material: 'image' },\n Sliders: { sf: 'slider.horizontal.3', material: 'tune' },\n Folder: { sf: 'folder', material: 'folder' },\n Globe: { sf: 'globe', material: 'public' },\n Branch: { sf: 'arrow.triangle.branch', material: 'call-split' },\n // ponytail: SF Symbols has no fork distinct from a branch, so iOS draws Fork as Branch. Swap in a custom symbol if the two must differ there.\n Fork: { sf: 'arrow.triangle.branch', material: 'fork-right' },\n Home: { sf: 'house', material: 'home' },\n Activity: { sf: 'waveform.path.ecg', material: 'monitor-heart' },\n ArrowRight: { sf: 'arrow.right', material: 'arrow-forward' },\n Plus: { sf: 'plus', material: 'add' },\n User: { sf: 'person', material: 'person-outline' },\n Users: { sf: 'person.2', material: 'group' },\n PlayCircle: { sf: 'play.circle', material: 'play-circle-outline' },\n Workflow: { sf: 'flowchart', material: 'account-tree' },\n Palette: { sf: 'paintpalette', material: 'palette' },\n Lightbulb: { sf: 'lightbulb', material: 'lightbulb-outline' },\n Sparkles: { sf: 'sparkles', material: 'auto-awesome' },\n Lock: { sf: 'lock', material: 'lock-outline' },\n Shield: { sf: 'checkmark.shield', material: 'verified-user' },\n Download: { sf: 'square.and.arrow.down', material: 'file-download' },\n Mic: { sf: 'mic', material: 'mic' },\n Monitor: { sf: 'laptopcomputer', material: 'laptop' },\n AudioLines: { sf: 'waveform', material: 'graphic-eq' },\n Stop: { sf: 'stop.fill', material: 'stop' },\n Terminal: { sf: 'apple.terminal', material: 'terminal' },\n Hand: { sf: 'hand.raised', material: 'pan-tool' },\n Pin: { sf: 'mappin', material: 'place' },\n Box: { sf: 'square', material: 'crop-square' },\n Undo: { sf: 'arrow.uturn.backward', material: 'undo' },\n Redo: { sf: 'arrow.uturn.forward', material: 'redo' },\n ArrowUpRight: { sf: 'arrow.up.right', material: 'north-east' },\n Highlighter: { sf: 'highlighter', material: 'border-color' },\n Eraser: { sf: 'eraser', material: 'auto-fix-normal' },\n Minus: { sf: 'minus', material: 'remove' },\n Fit: { sf: 'viewfinder', material: 'fit-screen' },\n} as const;\n\nexport type IconName = keyof typeof ICON_GLYPHS;\n"],"mappings":";;;;;;;AAMA,MAAa,cAAc;CACzB,OAAO;EAAE,IAAI;EAAa,UAAU;CAAQ;CAC5C,aAAa;EAAE,IAAI;EAAgB,UAAU;CAAc;CAC3D,cAAc;EAAE,IAAI;EAAiB,UAAU;CAAgB;CAC/D,WAAW;EAAE,IAAI;EAAc,UAAU;CAAc;CACvD,OAAO;EAAE,IAAI;EAA0B,UAAU;CAAgB;CACjE,MAAM;EAAE,IAAI;EAAc,UAAU;CAAe;CACnD,SAAS;EAAE,IAAI;EAAW,UAAU;CAAsB;CAE1D,OAAO;EAAE,IAAI;EAAY,UAAU;CAAY;CAC/C,MAAM;EAAE,IAAI;EAAqB,UAAU;CAAO;CAClD,MAAM;EAAE,IAAI;EAAU,UAAU;CAAO;CACvC,MAAM;EAAE,IAAI;EAAa,UAAU;CAAW;CAC9C,MAAM;EAAE,IAAI;EAAc,UAAU;CAAO;CAC3C,MAAM;EAAE,IAAI;EAAoB,UAAU;CAAY;CACtD,OAAO;EAAE,IAAI;EAAS,UAAU;CAAiB;CACjD,QAAQ;EAAE,IAAI;EAA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AU;CAAW;CACvD,MAAM;EAAE,IAAI;EAAe,UAAU;CAAW;CAChD,KAAK;EAAE,IAAI;EAAU,UAAU;CAAQ;CACvC,KAAK;EAAE,IAAI;EAAU,UAAU;CAAc;CAC7C,MAAM;EAAE,IAAI;EAAwB,UAAU;CAAO;CACrD,MAAM;EAAE,IAAI;EAAuB,UAAU;CAAO;CACpD,cAAc;EAAE,IAAI;EAAkB,UAAU;CAAa;CAC7D,aAAa;EAAE,IAAI;EAAe,UAAU;CAAe;CAC3D,QAAQ;EAAE,IAAI;EAAU,UAAU;CAAkB;CACpD,OAAO;EAAE,IAAI;EAAS,UAAU;CAAS;CACzC,KAAK;EAAE,IAAI;EAAc,UAAU;CAAa;AAClD"}
1
+ {"version":3,"file":"iconGlyphs.mjs","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"sourcesContent":["/**\n * The curated native icon set: the same names the web library re-exports from\n * lucide, each drawn with the platform's own family. iOS gets an SF Symbol,\n * Android and web get a Material Icons glyph. Kept free of React Native so a\n * unit test can check every glyph against the installed glyph map.\n */\nexport const ICON_GLYPHS = {\n Check: { sf: 'checkmark', material: 'check' },\n ChevronDown: { sf: 'chevron.down', material: 'expand-more' },\n ChevronRight: { sf: 'chevron.right', material: 'chevron-right' },\n ChevronUp: { sf: 'chevron.up', material: 'expand-less' },\n Alert: { sf: 'exclamationmark.circle', material: 'error-outline' },\n Copy: { sf: 'doc.on.doc', material: 'content-copy' },\n Message: { sf: 'message', material: 'chat-bubble-outline' },\n // Each platform's own overflow mark: a horizontal ellipsis on iOS, vertical dots on Android.\n Kebab: { sf: 'ellipsis', material: 'more-vert' },\n Menu: { sf: 'line.3.horizontal', material: 'menu' },\n Edit: { sf: 'pencil', material: 'edit' },\n Gear: { sf: 'gearshape', material: 'settings' },\n Send: { sf: 'paperplane', material: 'send' },\n Task: { sf: 'checkmark.square', material: 'check-box' },\n Trash: { sf: 'trash', material: 'delete-outline' },\n Wrench: { sf: 'wrench.and.screwdriver', material: 'build' },\n Close: { sf: 'xmark', material: 'close' },\n File: { sf: 'doc', material: 'insert-drive-file' },\n Search: { sf: 'magnifyingglass', material: 'search' },\n Image: { sf: 'photo', material: 'image' },\n Sliders: { sf: 'slider.horizontal.3', material: 'tune' },\n Folder: { sf: 'folder', material: 'folder' },\n Globe: { sf: 'globe', material: 'public' },\n Branch: { sf: 'arrow.triangle.branch', material: 'call-split' },\n // ponytail: SF Symbols has no fork distinct from a branch, so iOS draws Fork as Branch. Swap in a custom symbol if the two must differ there.\n Fork: { sf: 'arrow.triangle.branch', material: 'fork-right' },\n Home: { sf: 'house', material: 'home' },\n Activity: { sf: 'waveform.path.ecg', material: 'monitor-heart' },\n ArrowRight: { sf: 'arrow.right', material: 'arrow-forward' },\n Plus: { sf: 'plus', material: 'add' },\n User: { sf: 'person', material: 'person-outline' },\n Users: { sf: 'person.2', material: 'group' },\n PlayCircle: { sf: 'play.circle', material: 'play-circle-outline' },\n Workflow: { sf: 'flowchart', material: 'account-tree' },\n Palette: { sf: 'paintpalette', material: 'palette' },\n Lightbulb: { sf: 'lightbulb', material: 'lightbulb-outline' },\n Sparkles: { sf: 'sparkles', material: 'auto-awesome' },\n Lock: { sf: 'lock', material: 'lock-outline' },\n Shield: { sf: 'checkmark.shield', material: 'verified-user' },\n Download: { sf: 'square.and.arrow.down', material: 'file-download' },\n Mic: { sf: 'mic', material: 'mic' },\n Monitor: { sf: 'laptopcomputer', material: 'laptop' },\n AudioLines: { sf: 'waveform', material: 'graphic-eq' },\n Stop: { sf: 'stop.fill', material: 'stop' },\n Terminal: { sf: 'apple.terminal', material: 'terminal' },\n Hand: { sf: 'hand.raised', material: 'pan-tool' },\n Pin: { sf: 'mappin', material: 'place' },\n Box: { sf: 'square', material: 'crop-square' },\n Undo: { sf: 'arrow.uturn.backward', material: 'undo' },\n Redo: { sf: 'arrow.uturn.forward', material: 'redo' },\n ArrowUpRight: { sf: 'arrow.up.right', material: 'north-east' },\n Highlighter: { sf: 'highlighter', material: 'border-color' },\n Eraser: { sf: 'eraser', material: 'auto-fix-normal' },\n Minus: { sf: 'minus', material: 'remove' },\n Fit: { sf: 'viewfinder', material: 'fit-screen' },\n Refresh: { sf: 'arrow.clockwise', material: 'refresh' },\n} as const;\n\nexport type IconName = keyof typeof ICON_GLYPHS;\n"],"mappings":";;;;;;;AAMA,MAAa,cAAc;CACzB,OAAO;EAAE,IAAI;EAAa,UAAU;CAAQ;CAC5C,aAAa;EAAE,IAAI;EAAgB,UAAU;CAAc;CAC3D,cAAc;EAAE,IAAI;EAAiB,UAAU;CAAgB;CAC/D,WAAW;EAAE,IAAI;EAAc,UAAU;CAAc;CACvD,OAAO;EAAE,IAAI;EAA0B,UAAU;CAAgB;CACjE,MAAM;EAAE,IAAI;EAAc,UAAU;CAAe;CACnD,SAAS;EAAE,IAAI;EAAW,UAAU;CAAsB;CAE1D,OAAO;EAAE,IAAI;EAAY,UAAU;CAAY;CAC/C,MAAM;EAAE,IAAI;EAAqB,UAAU;CAAO;CAClD,MAAM;EAAE,IAAI;EAAU,UAAU;CAAO;CACvC,MAAM;EAAE,IAAI;EAAa,UAAU;CAAW;CAC9C,MAAM;EAAE,IAAI;EAAc,UAAU;CAAO;CAC3C,MAAM;EAAE,IAAI;EAAoB,UAAU;CAAY;CACtD,OAAO;EAAE,IAAI;EAAS,UAAU;CAAiB;CACjD,QAAQ;EAAE,IAAI;EAA0B,UAAU;CAAQ;CAC1D,OAAO;EAAE,IAAI;EAAS,UAAU;CAAQ;CACxC,MAAM;EAAE,IAAI;EAAO,UAAU;CAAoB;CACjD,QAAQ;EAAE,IAAI;EAAmB,UAAU;CAAS;CACpD,OAAO;EAAE,IAAI;EAAS,UAAU;CAAQ;CACxC,SAAS;EAAE,IAAI;EAAuB,UAAU;CAAO;CACvD,QAAQ;EAAE,IAAI;EAAU,UAAU;CAAS;CAC3C,OAAO;EAAE,IAAI;EAAS,UAAU;CAAS;CACzC,QAAQ;EAAE,IAAI;EAAyB,UAAU;CAAa;CAE9D,MAAM;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;EAAS,UAAU;CAAS;CACzC,KAAK;EAAE,IAAI;EAAc,UAAU;CAAa;CAChD,SAAS;EAAE,IAAI;EAAmB,UAAU;CAAU;AACxD"}
@@ -222,5 +222,9 @@ export declare const FitIcon: {
222
222
  ({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
223
223
  displayName: string;
224
224
  };
225
+ export declare const RefreshIcon: {
226
+ ({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
227
+ displayName: string;
228
+ };
225
229
  //#endregion
226
230
  //# sourceMappingURL=icons.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.mts","names":[],"sources":["../../src/icons/icons.tsx"],"mappings":";;;iBAaiB;;EAEf;;EAEA,QAAQ;;EAER;EACA,QAAQ,UAAU;;qBAkCP;KA7B8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA8BvE;KA9B8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA+BvE;KA/B8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAgCvE;KAhC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAiCvE;KAjC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAkCvE;KAlC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAmCvE;KAnC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAoCvE;KApC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAqCvE;KArC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAsCvE;KAtC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAuCvE;KAvC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAwCvE;KAxC8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAyCvE;KAzC8D,MAAA,OAAA,oBAAA,SAA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A,oBAAA,SAAA,4BAAS,IAAA;;;qBAwEvE;KAxE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAyEvE;KAzE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA0EvE;KA1E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA2EvE;KA3E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA4EvE;KA5E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA6EvE;KA7E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA8EvE;KA9E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBA+EvE;KA/E8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAgFvE;KAhF8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAiFvE;KAjF8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAkFvE;KAlF8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAmFvE;KAnF8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA"}
@@ -99,7 +99,8 @@ const HighlighterIcon = createIcon("Highlighter");
99
99
  const EraserIcon = createIcon("Eraser");
100
100
  const MinusIcon = createIcon("Minus");
101
101
  const FitIcon = createIcon("Fit");
102
+ const RefreshIcon = createIcon("Refresh");
102
103
 
103
104
  //#endregion
104
- export { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon };
105
+ export { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, RefreshIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon };
105
106
  //# sourceMappingURL=icons.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.mjs","names":["IconColorContext","NativeColorToken","MaterialIcons","SymbolView","useContext","Platform","StyleProp","ViewStyle","useUnistyles","ICON_GLYPHS","IconName","DEFAULT_SIZE","DEFAULT_COLOR","IconProps","size","color","accessibilityLabel","style","createIcon","name","glyph","Icon","theme","inherited","tint","colors","a11y","undefined","accessible","importantForAccessibility","accessibilityElementsHidden","const","accessibilityRole","OS","sf","width","height","material","displayName","CheckIcon","ChevronDownIcon","ChevronRightIcon","ChevronUpIcon","AlertIcon","CopyIcon","MessageIcon","KebabIcon","MenuIcon","EditIcon","GearIcon","SendIcon","TaskIcon","TrashIcon","WrenchIcon","CloseIcon","FolderIcon","GlobeIcon","BranchIcon","ForkIcon","HomeIcon","ActivityIcon","ArrowRightIcon","PlusIcon","UserIcon","UsersIcon","PlayCircleIcon","WorkflowIcon","PaletteIcon","LightbulbIcon","SparklesIcon","LockIcon","ShieldIcon","FileIcon","SearchIcon","ImageIcon","SlidersIcon","DownloadIcon","MicIcon","MonitorIcon","AudioLinesIcon","StopIcon","TerminalIcon","HandIcon","PinIcon","BoxIcon","UndoIcon","RedoIcon","ArrowUpRightIcon","HighlighterIcon","EraserIcon","MinusIcon","FitIcon"],"sources":["../../src/icons/icons.tsx"],"sourcesContent":["import { IconColorContext } from '@agimon-ai/po-native-components/shell';\nimport type { NativeColorToken } from '@agimon-ai/po-web-components/nativeTheme';\nimport MaterialIcons from '@expo/vector-icons/MaterialIcons';\nimport { SymbolView } from 'expo-symbols';\nimport { useContext } from 'react';\nimport { Platform, type StyleProp, type ViewStyle } from 'react-native';\nimport { useUnistyles } from 'react-native-unistyles';\n\nimport { ICON_GLYPHS, type IconName } from './iconGlyphs';\n\nconst DEFAULT_SIZE = 16;\nconst DEFAULT_COLOR: NativeColorToken = 'dim';\n\nexport interface IconProps {\n /** Edge length in points. */\n size?: number;\n /** A theme token; defaults to the enclosing Button's label colour, else `dim`. */\n color?: NativeColorToken;\n /** Given one, the icon is announced as an image; without one it is hidden from screen readers. */\n accessibilityLabel?: string;\n style?: StyleProp<ViewStyle>;\n}\n\nfunction createIcon(name: IconName) {\n const glyph = ICON_GLYPHS[name];\n function Icon({ size = DEFAULT_SIZE, color, accessibilityLabel, style }: IconProps) {\n const { theme } = useUnistyles();\n const inherited = useContext(IconColorContext);\n const tint = theme.colors[color ?? inherited ?? DEFAULT_COLOR];\n const a11y =\n accessibilityLabel === undefined\n ? ({\n accessible: false,\n importantForAccessibility: 'no-hide-descendants',\n accessibilityElementsHidden: true,\n } as const)\n : ({ accessible: true, accessibilityRole: 'image', accessibilityLabel } as const);\n if (Platform.OS === 'ios') {\n return (\n <SymbolView\n name={glyph.sf}\n size={size}\n tintColor={tint}\n style={[{ width: size, height: size }, style]}\n {...a11y}\n />\n );\n }\n return <MaterialIcons name={glyph.material} size={size} color={tint} style={style} {...a11y} />;\n }\n Icon.displayName = `${name}Icon`;\n return Icon;\n}\n\nexport const CheckIcon = createIcon('Check');\nexport const ChevronDownIcon = createIcon('ChevronDown');\nexport const ChevronRightIcon = createIcon('ChevronRight');\nexport const ChevronUpIcon = createIcon('ChevronUp');\nexport const AlertIcon = createIcon('Alert');\nexport const CopyIcon = createIcon('Copy');\nexport const MessageIcon = createIcon('Message');\nexport const KebabIcon = createIcon('Kebab');\nexport const MenuIcon = createIcon('Menu');\nexport const EditIcon = createIcon('Edit');\nexport const GearIcon = createIcon('Gear');\nexport const SendIcon = createIcon('Send');\nexport const TaskIcon = createIcon('Task');\nexport const TrashIcon = createIcon('Trash');\nexport const WrenchIcon = createIcon('Wrench');\nexport const CloseIcon = createIcon('Close');\nexport const FolderIcon = createIcon('Folder');\nexport const GlobeIcon = createIcon('Globe');\nexport const BranchIcon = createIcon('Branch');\nexport const ForkIcon = createIcon('Fork');\nexport const HomeIcon = createIcon('Home');\nexport const ActivityIcon = createIcon('Activity');\nexport const ArrowRightIcon = createIcon('ArrowRight');\nexport const PlusIcon = createIcon('Plus');\nexport const UserIcon = createIcon('User');\nexport const UsersIcon = createIcon('Users');\nexport const PlayCircleIcon = createIcon('PlayCircle');\nexport const WorkflowIcon = createIcon('Workflow');\nexport const PaletteIcon = createIcon('Palette');\nexport const LightbulbIcon = createIcon('Lightbulb');\nexport const SparklesIcon = createIcon('Sparkles');\nexport const LockIcon = createIcon('Lock');\nexport const ShieldIcon = createIcon('Shield');\n\nexport const FileIcon = createIcon('File');\nexport const SearchIcon = createIcon('Search');\nexport const ImageIcon = createIcon('Image');\nexport const SlidersIcon = createIcon('Sliders');\nexport const DownloadIcon = createIcon('Download');\nexport const MicIcon = createIcon('Mic');\nexport const MonitorIcon = createIcon('Monitor');\nexport const AudioLinesIcon = createIcon('AudioLines');\nexport const StopIcon = createIcon('Stop');\nexport const TerminalIcon = createIcon('Terminal');\nexport const HandIcon = createIcon('Hand');\nexport const PinIcon = createIcon('Pin');\nexport const BoxIcon = createIcon('Box');\nexport const UndoIcon = createIcon('Undo');\nexport const RedoIcon = createIcon('Redo');\nexport const ArrowUpRightIcon = createIcon('ArrowUpRight');\nexport const HighlighterIcon = createIcon('Highlighter');\nexport const EraserIcon = createIcon('Eraser');\nexport const MinusIcon = createIcon('Minus');\nexport const FitIcon = createIcon('Fit');\n"],"mappings":";;;;;;;;;;AAUA,MAAMW,eAAe;AACrB,MAAMC,gBAAkC;AAYxC,SAASM,WAAWC,MAAgB;CAClC,MAAMC,QAAQX,YAAYU;CAC1B,SAASE,KAAK,EAAEP,OAAOH,cAAcI,OAAOC,oBAAoBC,SAAoB;EAClF,MAAM,EAAEK,UAAUd,aAAa;EAC/B,MAAMe,YAAYnB,WAAWJ,gBAAgB;EAC7C,MAAMwB,OAAOF,MAAMG,OAAOV,SAASQ,aAAaX;EAChD,MAAMc,OACJV,uBAAuBW,SAClB;GACCC,YAAY;GACZC,2BAA2B;GAC3BC,6BAA6B;EAC/B,IACC;GAAEF,YAAY;GAAMI,mBAAmB;GAAShB;EAAmB;EAC1E,IAAIX,SAAS4B,OAAO,OAClB,OACE,oBAAC,YAAD;GACE,MAAMb,MAAMc;GACNpB;GACN,WAAWU;GACX,OAAO,CAAC;IAAEW,OAAOrB;IAAMsB,QAAQtB;GAAK,GAAGG,KAAK;GAC5C,GAAIS;EAAK;EAIf,OAAO,oBAAC,eAAD;GAAe,MAAMN,MAAMiB;GAAgBvB;GAAM,OAAOU;GAAaP;GAAO,GAAIS;EAAK;CAC9F;CACAL,KAAKiB,cAAc,GAAGnB,KAAI;CAC1B,OAAOE;AACT;AAEA,MAAakB,YAAYrB,WAAW,OAAO;AAC3C,MAAasB,kBAAkBtB,WAAW,aAAa;AACvD,MAAauB,mBAAmBvB,WAAW,cAAc;AACzD,MAAawB,gBAAgBxB,WAAW,WAAW;AACnD,MAAayB,YAAYzB,WAAW,OAAO;AAC3C,MAAa0B,WAAW1B,WAAW,MAAM;AACzC,MAAa2B,cAA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,WAAW,MAAM;AACzC,MAAa+D,eAAe/D,WAAW,UAAU;AACjD,MAAagE,WAAWhE,WAAW,MAAM;AACzC,MAAaiE,UAAUjE,WAAW,KAAK;AACvC,MAAakE,UAAUlE,WAAW,KAAK;AACvC,MAAamE,WAAWnE,WAAW,MAAM;AACzC,MAAaoE,WAAWpE,WAAW,MAAM;AACzC,MAAaqE,mBAAmBrE,WAAW,cAAc;AACzD,MAAasE,kBAAkBtE,WAAW,aAAa;AACvD,MAAauE,aAAavE,WAAW,QAAQ;AAC7C,MAAawE,YAAYxE,WAAW,OAAO;AAC3C,MAAayE,UAAUzE,WAAW,KAAK"}
1
+ {"version":3,"file":"icons.mjs","names":["IconColorContext","NativeColorToken","MaterialIcons","SymbolView","useContext","Platform","StyleProp","ViewStyle","useUnistyles","ICON_GLYPHS","IconName","DEFAULT_SIZE","DEFAULT_COLOR","IconProps","size","color","accessibilityLabel","style","createIcon","name","glyph","Icon","theme","inherited","tint","colors","a11y","undefined","accessible","importantForAccessibility","accessibilityElementsHidden","const","accessibilityRole","OS","sf","width","height","material","displayName","CheckIcon","ChevronDownIcon","ChevronRightIcon","ChevronUpIcon","AlertIcon","CopyIcon","MessageIcon","KebabIcon","MenuIcon","EditIcon","GearIcon","SendIcon","TaskIcon","TrashIcon","WrenchIcon","CloseIcon","FolderIcon","GlobeIcon","BranchIcon","ForkIcon","HomeIcon","ActivityIcon","ArrowRightIcon","PlusIcon","UserIcon","UsersIcon","PlayCircleIcon","WorkflowIcon","PaletteIcon","LightbulbIcon","SparklesIcon","LockIcon","ShieldIcon","FileIcon","SearchIcon","ImageIcon","SlidersIcon","DownloadIcon","MicIcon","MonitorIcon","AudioLinesIcon","StopIcon","TerminalIcon","HandIcon","PinIcon","BoxIcon","UndoIcon","RedoIcon","ArrowUpRightIcon","HighlighterIcon","EraserIcon","MinusIcon","FitIcon","RefreshIcon"],"sources":["../../src/icons/icons.tsx"],"sourcesContent":["import { IconColorContext } from '@agimon-ai/po-native-components/shell';\nimport type { NativeColorToken } from '@agimon-ai/po-web-components/nativeTheme';\nimport MaterialIcons from '@expo/vector-icons/MaterialIcons';\nimport { SymbolView } from 'expo-symbols';\nimport { useContext } from 'react';\nimport { Platform, type StyleProp, type ViewStyle } from 'react-native';\nimport { useUnistyles } from 'react-native-unistyles';\n\nimport { ICON_GLYPHS, type IconName } from './iconGlyphs';\n\nconst DEFAULT_SIZE = 16;\nconst DEFAULT_COLOR: NativeColorToken = 'dim';\n\nexport interface IconProps {\n /** Edge length in points. */\n size?: number;\n /** A theme token; defaults to the enclosing Button's label colour, else `dim`. */\n color?: NativeColorToken;\n /** Given one, the icon is announced as an image; without one it is hidden from screen readers. */\n accessibilityLabel?: string;\n style?: StyleProp<ViewStyle>;\n}\n\nfunction createIcon(name: IconName) {\n const glyph = ICON_GLYPHS[name];\n function Icon({ size = DEFAULT_SIZE, color, accessibilityLabel, style }: IconProps) {\n const { theme } = useUnistyles();\n const inherited = useContext(IconColorContext);\n const tint = theme.colors[color ?? inherited ?? DEFAULT_COLOR];\n const a11y =\n accessibilityLabel === undefined\n ? ({\n accessible: false,\n importantForAccessibility: 'no-hide-descendants',\n accessibilityElementsHidden: true,\n } as const)\n : ({ accessible: true, accessibilityRole: 'image', accessibilityLabel } as const);\n if (Platform.OS === 'ios') {\n return (\n <SymbolView\n name={glyph.sf}\n size={size}\n tintColor={tint}\n style={[{ width: size, height: size }, style]}\n {...a11y}\n />\n );\n }\n return <MaterialIcons name={glyph.material} size={size} color={tint} style={style} {...a11y} />;\n }\n Icon.displayName = `${name}Icon`;\n return Icon;\n}\n\nexport const CheckIcon = createIcon('Check');\nexport const ChevronDownIcon = createIcon('ChevronDown');\nexport const ChevronRightIcon = createIcon('ChevronRight');\nexport const ChevronUpIcon = createIcon('ChevronUp');\nexport const AlertIcon = createIcon('Alert');\nexport const CopyIcon = createIcon('Copy');\nexport const MessageIcon = createIcon('Message');\nexport const KebabIcon = createIcon('Kebab');\nexport const MenuIcon = createIcon('Menu');\nexport const EditIcon = createIcon('Edit');\nexport const GearIcon = createIcon('Gear');\nexport const SendIcon = createIcon('Send');\nexport const TaskIcon = createIcon('Task');\nexport const TrashIcon = createIcon('Trash');\nexport const WrenchIcon = createIcon('Wrench');\nexport const CloseIcon = createIcon('Close');\nexport const FolderIcon = createIcon('Folder');\nexport const GlobeIcon = createIcon('Globe');\nexport const BranchIcon = createIcon('Branch');\nexport const ForkIcon = createIcon('Fork');\nexport const HomeIcon = createIcon('Home');\nexport const ActivityIcon = createIcon('Activity');\nexport const ArrowRightIcon = createIcon('ArrowRight');\nexport const PlusIcon = createIcon('Plus');\nexport const UserIcon = createIcon('User');\nexport const UsersIcon = createIcon('Users');\nexport const PlayCircleIcon = createIcon('PlayCircle');\nexport const WorkflowIcon = createIcon('Workflow');\nexport const PaletteIcon = createIcon('Palette');\nexport const LightbulbIcon = createIcon('Lightbulb');\nexport const SparklesIcon = createIcon('Sparkles');\nexport const LockIcon = createIcon('Lock');\nexport const ShieldIcon = createIcon('Shield');\n\nexport const FileIcon = createIcon('File');\nexport const SearchIcon = createIcon('Search');\nexport const ImageIcon = createIcon('Image');\nexport const SlidersIcon = createIcon('Sliders');\nexport const DownloadIcon = createIcon('Download');\nexport const MicIcon = createIcon('Mic');\nexport const MonitorIcon = createIcon('Monitor');\nexport const AudioLinesIcon = createIcon('AudioLines');\nexport const StopIcon = createIcon('Stop');\nexport const TerminalIcon = createIcon('Terminal');\nexport const HandIcon = createIcon('Hand');\nexport const PinIcon = createIcon('Pin');\nexport const BoxIcon = createIcon('Box');\nexport const UndoIcon = createIcon('Undo');\nexport const RedoIcon = createIcon('Redo');\nexport const ArrowUpRightIcon = createIcon('ArrowUpRight');\nexport const HighlighterIcon = createIcon('Highlighter');\nexport const EraserIcon = createIcon('Eraser');\nexport const MinusIcon = createIcon('Minus');\nexport const FitIcon = createIcon('Fit');\nexport const RefreshIcon = createIcon('Refresh');\n"],"mappings":";;;;;;;;;;AAUA,MAAMW,eAAe;AACrB,MAAMC,g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E,WAAW,aAAa;AACvD,MAAauE,aAAavE,WAAW,QAAQ;AAC7C,MAAawE,YAAYxE,WAAW,OAAO;AAC3C,MAAayE,UAAUzE,WAAW,KAAK;AACvC,MAAa0E,cAAc1E,WAAW,SAAS"}
package/dist/index.d.mts CHANGED
@@ -34,7 +34,7 @@ import { TabBadge, TabBadgeProps, Tabs, TabsContent, TabsContentProps, TabsList,
34
34
  import { SyntaxLine, SyntaxLineProps, useSyntaxLines } from "./components/SyntaxLine.mjs";
35
35
  import { Textarea, TextareaProps } from "./components/Textarea.mjs";
36
36
  import { ToolPathLink, ToolPathLinkProps } from "./components/ToolPathLink.mjs";
37
- import { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, IconProps, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
37
+ import { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, IconProps, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, RefreshIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
38
38
  import { IconName } from "./icons/iconGlyphs.mjs";
39
39
  import { fontOf } from "./lib/fonts.mjs";
40
40
  import { impactLight, selectionTick } from "./lib/haptics.mjs";
@@ -43,4 +43,4 @@ import { HostTag } from "./components/HostTag.mjs";
43
43
  import { InfoStrip } from "./components/InfoStrip.mjs";
44
44
  import { AnsiSpan, BoundedFileSource, FileFilters, FileItem, FileKind, FileLayout, FileModified, FileRangeLoader, FileSort, FileSortDirection, FileStatus, FileStatusFilter, FileTextPreview, FileTreeRow, PresentedLine, ReviewComment, ageLabel, ansiSpans, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, hashlineBody, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, sizeLabel, sortFiles } from "@agimon-ai/po-web-components/text";
45
45
  import { IconColorContext, LiveDuration, LiveDurationProps, LiveDurationReading, PoNativeProvider, PoNativeProviderProps, sheetsYielded, yieldSheets } from "@agimon-ai/po-native-components/shell";
46
- export { ActivityIcon, AgentAvatar, type AgentState, AlertIcon, type AnnotationMark, AnnotationSurface, type AnnotationSurfaceProps, type AnsiSpan, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, Badge, type BadgeProps, type BadgeSize, type BadgeTone, type BoundedFileSource, BoxIcon, BranchIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, type CodeBlockProps, ComputerRow, type ComputerRowProps, type ComputerStatus, CopyButton, type CopyButtonProps, CopyIcon, CountBadge, type CountBadgeProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, type DialogFooterProps, type DialogFooterVariant, DialogHeader, type DialogHeaderProps, type DialogPartProps, type DialogProps, DialogTitle, DialogTrigger, type DialogWidth, Dot, type DotProps, type DotSize, type DotTone, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuPartProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, type EmptyStateProps, EraserIcon, type FieldSize, type FieldVariant, type FileBrowserControls, type FileFilters, FileIcon, type FileItem, type FileKind, type FileLayout, type FileLinkHandler, FileList, type FileListProps, type FileModified, FilePathStrip, FilePreview, type FilePreviewProps, type FileRangeLoader, type FileSort, type FileSortDirection, type FileStatus, type FileStatusFilter, type FileTextPreview, type FileTreeRow, FileViewer, FileViewerHeader, type FileViewerProps, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HashlineLines, type HashlineLinesProps, HighlighterIcon, HomeIcon, HostFilter, type HostFilterProps, HostTag, IconColorContext, type IconName, type IconProps, ImageIcon, InfoStrip, Input, type InputProps, KebabIcon, Label, type LabelProps, LightbulbIcon, List, type ListProps, ListRow, type ListRowProps, LiveDuration, type LiveDurationProps, type LiveDurationReading, LockIcon, Markdown, type MarkdownImageLoader, type MarkdownProps, MenuIcon, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, type MessageItemGroupProps, MessageItemHeader, type MessageItemHeaderProps, type MessageItemPartProps, type MessageItemProps, type MessageItemState, MessageItemStatus, type MessageItemStatusProps, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, Panel, PanelBody, PanelHeader, type PanelPartProps, PinIcon, PlayCircleIcon, PlusIcon, PoNativeProvider, type PoNativeProviderProps, type PresentedLine, RedoIcon, type ReviewComment, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetHeaderProps, SheetList, type SheetListProps, type SheetPartProps, type SheetProps, SheetTitle, SheetTrigger, ShieldIcon, ShowMore, type ShowMoreProps, SlidersIcon, SparklesIcon, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusTone, StopIcon, Switch, type SwitchProps, SyntaxLine, type SyntaxLineProps, TabBadge, type TabBadgeProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TaskIcon, TerminalIcon, Textarea, type TextareaProps, ToolPathLink, type ToolPathLinkProps, ToolResultImage, type ToolResultImageProps, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, ageLabel, agentInitials, ansiSpans, authorImageOpener, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, fontOf, hashlineBody, impactLight, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, selectionTick, sheetsYielded, sizeLabel, sortFiles, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
46
+ export { ActivityIcon, AgentAvatar, type AgentState, AlertIcon, type AnnotationMark, AnnotationSurface, type AnnotationSurfaceProps, type AnsiSpan, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, Badge, type BadgeProps, type BadgeSize, type BadgeTone, type BoundedFileSource, BoxIcon, BranchIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, type CodeBlockProps, ComputerRow, type ComputerRowProps, type ComputerStatus, CopyButton, type CopyButtonProps, CopyIcon, CountBadge, type CountBadgeProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, type DialogFooterProps, type DialogFooterVariant, DialogHeader, type DialogHeaderProps, type DialogPartProps, type DialogProps, DialogTitle, DialogTrigger, type DialogWidth, Dot, type DotProps, type DotSize, type DotTone, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemVariant, DropdownMenuLabel, type DropdownMenuPartProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, type EmptyStateProps, EraserIcon, type FieldSize, type FieldVariant, type FileBrowserControls, type FileFilters, FileIcon, type FileItem, type FileKind, type FileLayout, type FileLinkHandler, FileList, type FileListProps, type FileModified, FilePathStrip, FilePreview, type FilePreviewProps, type FileRangeLoader, type FileSort, type FileSortDirection, type FileStatus, type FileStatusFilter, type FileTextPreview, type FileTreeRow, FileViewer, FileViewerHeader, type FileViewerProps, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HashlineLines, type HashlineLinesProps, HighlighterIcon, HomeIcon, HostFilter, type HostFilterProps, HostTag, IconColorContext, type IconName, type IconProps, ImageIcon, InfoStrip, Input, type InputProps, KebabIcon, Label, type LabelProps, LightbulbIcon, List, type ListProps, ListRow, type ListRowProps, LiveDuration, type LiveDurationProps, type LiveDurationReading, LockIcon, Markdown, type MarkdownImageLoader, type MarkdownProps, MenuIcon, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, type MessageItemGroupProps, MessageItemHeader, type MessageItemHeaderProps, type MessageItemPartProps, type MessageItemProps, type MessageItemState, MessageItemStatus, type MessageItemStatusProps, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, Panel, PanelBody, PanelHeader, type PanelPartProps, PinIcon, PlayCircleIcon, PlusIcon, PoNativeProvider, type PoNativeProviderProps, type PresentedLine, RedoIcon, RefreshIcon, type ReviewComment, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, type SelectOption, type SelectProps, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetHeaderProps, SheetList, type SheetListProps, type SheetPartProps, type SheetProps, SheetTitle, SheetTrigger, ShieldIcon, ShowMore, type ShowMoreProps, SlidersIcon, SparklesIcon, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusTone, StopIcon, Switch, type SwitchProps, SyntaxLine, type SyntaxLineProps, TabBadge, type TabBadgeProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TaskIcon, TerminalIcon, Textarea, type TextareaProps, ToolPathLink, type ToolPathLinkProps, ToolResultImage, type ToolResultImageProps, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, ageLabel, agentInitials, ansiSpans, authorImageOpener, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, fontOf, hashlineBody, impactLight, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, selectionTick, sheetsYielded, sizeLabel, sortFiles, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { AnnotationSurface } from "./components/AnnotationSurface.mjs";
6
6
  import { Badge } from "./components/Badge.mjs";
7
7
  import { Spinner } from "./components/Spinner.mjs";
8
8
  import { Button } from "./components/Button.mjs";
9
- import { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
9
+ import { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EraserIcon, FileIcon, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HighlighterIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, PinIcon, PlayCircleIcon, PlusIcon, RedoIcon, RefreshIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
10
10
  import { CopyButton } from "./components/CopyButton.mjs";
11
11
  import { ShowMore } from "./components/ShowMore.mjs";
12
12
  import { CodeBlock } from "./components/CodeBlock.mjs";
@@ -43,4 +43,4 @@ import { InfoStrip } from "./components/InfoStrip.mjs";
43
43
  import { ageLabel, ansiSpans, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, hashlineBody, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, sizeLabel, sortFiles } from "@agimon-ai/po-web-components/text";
44
44
  import { IconColorContext, LiveDuration, PoNativeProvider, sheetsYielded, yieldSheets } from "@agimon-ai/po-native-components/shell";
45
45
 
46
- export { ActivityIcon, AgentAvatar, AlertIcon, AnnotationSurface, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, Badge, BoxIcon, BranchIcon, Button, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, ComputerRow, CopyButton, CopyIcon, CountBadge, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Dot, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, EraserIcon, FileIcon, FileList, FilePathStrip, FilePreview, FileViewer, FileViewerHeader, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HashlineLines, HighlighterIcon, HomeIcon, HostFilter, HostTag, IconColorContext, ImageIcon, InfoStrip, Input, KebabIcon, Label, LightbulbIcon, List, ListRow, LiveDuration, LockIcon, Markdown, MenuIcon, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, Panel, PanelBody, PanelHeader, PinIcon, PlayCircleIcon, PlusIcon, PoNativeProvider, RedoIcon, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, Select, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetList, SheetTitle, SheetTrigger, ShieldIcon, ShowMore, SlidersIcon, SparklesIcon, Spinner, StatusBadge, StopIcon, Switch, SyntaxLine, TabBadge, Tabs, TabsContent, TabsList, TabsTrigger, TaskIcon, TerminalIcon, Textarea, ToolPathLink, ToolResultImage, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, ageLabel, agentInitials, ansiSpans, authorImageOpener, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, fontOf, hashlineBody, impactLight, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, selectionTick, sheetsYielded, sizeLabel, sortFiles, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
46
+ export { ActivityIcon, AgentAvatar, AlertIcon, AnnotationSurface, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, Badge, BoxIcon, BranchIcon, Button, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, ComputerRow, CopyButton, CopyIcon, CountBadge, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Dot, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, EraserIcon, FileIcon, FileList, FilePathStrip, FilePreview, FileViewer, FileViewerHeader, FitIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HandIcon, HashlineLines, HighlighterIcon, HomeIcon, HostFilter, HostTag, IconColorContext, ImageIcon, InfoStrip, Input, KebabIcon, Label, LightbulbIcon, List, ListRow, LiveDuration, LockIcon, Markdown, MenuIcon, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, MicIcon, MinusIcon, MonitorIcon, PaletteIcon, Panel, PanelBody, PanelHeader, PinIcon, PlayCircleIcon, PlusIcon, PoNativeProvider, RedoIcon, RefreshIcon, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, Select, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetList, SheetTitle, SheetTrigger, ShieldIcon, ShowMore, SlidersIcon, SparklesIcon, Spinner, StatusBadge, StopIcon, Switch, SyntaxLine, TabBadge, Tabs, TabsContent, TabsList, TabsTrigger, TaskIcon, TerminalIcon, Textarea, ToolPathLink, ToolResultImage, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, ageLabel, agentInitials, ansiSpans, authorImageOpener, boundedFileSource, buildReviewPrompt, collapseLines, fileAssetPath, fileKind, filePreviewMode, fileTree, filterFiles, fontOf, hashlineBody, impactLight, isFileLayout, modifiedLabel, newestFiles, readMediaBytes, resultTextLines, selectionTick, sheetsYielded, sizeLabel, sortFiles, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-native-components",
3
- "version": "0.0.0-alpha.160",
3
+ "version": "0.0.0-alpha.162",
4
4
  "description": "Shared React Native components for Po and its native plugins: the web component library's look and API on native parts, tuned to the Po palette.",
5
5
  "keywords": [
6
6
  "ai",
@@ -49,12 +49,12 @@
49
49
  "access": "public"
50
50
  },
51
51
  "dependencies": {
52
- "@agimon-ai/po-web-components": "0.0.0-alpha.160"
52
+ "@agimon-ai/po-web-components": "0.0.0-alpha.162"
53
53
  },
54
54
  "devDependencies": {
55
- "@agimon-ai/po-build": "0.0.0-alpha.160",
56
- "@agimon-ai/po-core": "0.0.0-alpha.160",
57
- "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.160",
55
+ "@agimon-ai/po-build": "0.0.0-alpha.162",
56
+ "@agimon-ai/po-core": "0.0.0-alpha.162",
57
+ "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.162",
58
58
  "@babel/core": "7.29.7",
59
59
  "@expo/vector-icons": "15.1.1",
60
60
  "@fontsource-variable/ibm-plex-sans": "5.3.0",