@agimon-ai/po-native-components 0.0.0-alpha.162 → 0.0.0-alpha.164
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/components/RailItem.d.mts +13 -0
- package/dist/components/RailItem.d.mts.map +1 -0
- package/dist/components/RailItem.mjs +61 -0
- package/dist/components/RailItem.mjs.map +1 -0
- package/dist/icons/iconGlyphs.d.mts +4 -0
- package/dist/icons/iconGlyphs.d.mts.map +1 -1
- package/dist/icons/iconGlyphs.mjs +4 -0
- package/dist/icons/iconGlyphs.mjs.map +1 -1
- package/dist/icons/icons.d.mts +4 -0
- package/dist/icons/icons.d.mts.map +1 -1
- package/dist/icons/icons.mjs +2 -1
- package/dist/icons/icons.mjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +5 -5
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconProps } from "../icons/icons.mjs";
|
|
2
|
+
import { ComponentType } from "react";
|
|
3
|
+
//#region src/components/RailItem.d.ts
|
|
4
|
+
export interface RailItemProps {
|
|
5
|
+
icon: ComponentType<IconProps>;
|
|
6
|
+
label: string;
|
|
7
|
+
onPress: () => void;
|
|
8
|
+
testID?: string;
|
|
9
|
+
}
|
|
10
|
+
/** One row of the phone drawer's Po menu, the native form of the web rail's plugin rows: icon, label, chevron. */
|
|
11
|
+
export declare function RailItem({ icon: Icon, label, onPress, testID }: RailItemProps): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
//# sourceMappingURL=RailItem.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RailItem.d.mts","names":[],"sources":["../../src/components/RailItem.tsx"],"mappings":";;;iBASiB;EACf,MAAM,cAAc;EACpB;EACA;EACA;;;wBAIc,WAAW,MAAM,MAAM,OAAO,SAAS,UAAU,gCAAa,IAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { fontOf } from "../lib/fonts.mjs";
|
|
2
|
+
import { ChevronRightIcon } from "../icons/icons.mjs";
|
|
3
|
+
import { Text } from "react-native-unistyles/components/native/Text";
|
|
4
|
+
import { StyleSheet } from "react-native-unistyles";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Pressable } from "react-native-unistyles/components/native/Pressable";
|
|
7
|
+
|
|
8
|
+
//#region src/components/RailItem.tsx
|
|
9
|
+
const MIN_ROW_HEIGHT = 48;
|
|
10
|
+
/** One row of the phone drawer's Po menu, the native form of the web rail's plugin rows: icon, label, chevron. */
|
|
11
|
+
function RailItem({ icon: Icon, label, onPress, testID }) {
|
|
12
|
+
return /* @__PURE__ */ jsxs(Pressable, {
|
|
13
|
+
accessibilityRole: "button",
|
|
14
|
+
accessibilityLabel: label,
|
|
15
|
+
onPress,
|
|
16
|
+
testID,
|
|
17
|
+
style: ({ pressed }) => [styles.row, pressed && styles.pressed],
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx(Icon, {
|
|
20
|
+
size: 20,
|
|
21
|
+
color: "green"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx(Text, {
|
|
24
|
+
style: styles.label,
|
|
25
|
+
numberOfLines: 1,
|
|
26
|
+
children: label
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
29
|
+
size: 14,
|
|
30
|
+
color: "faint"
|
|
31
|
+
})
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
const styles = StyleSheet.create((theme) => ({
|
|
36
|
+
row: {
|
|
37
|
+
flexDirection: "row",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
gap: theme.spacing(3),
|
|
40
|
+
minHeight: MIN_ROW_HEIGHT,
|
|
41
|
+
paddingHorizontal: theme.spacing(3),
|
|
42
|
+
borderRadius: theme.borderRadius.md,
|
|
43
|
+
backgroundColor: theme.colors.panel,
|
|
44
|
+
uni__dependencies: [0]
|
|
45
|
+
},
|
|
46
|
+
pressed: { opacity: .7 },
|
|
47
|
+
label: {
|
|
48
|
+
flex: 1,
|
|
49
|
+
minWidth: 0,
|
|
50
|
+
color: theme.colors.hi,
|
|
51
|
+
fontFamily: fontOf(theme.fontFamily.sans),
|
|
52
|
+
fontSize: theme.fontSize.base,
|
|
53
|
+
lineHeight: theme.lineHeight.base,
|
|
54
|
+
fontWeight: theme.fontWeight.medium,
|
|
55
|
+
uni__dependencies: [0]
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { RailItem };
|
|
61
|
+
//# sourceMappingURL=RailItem.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RailItem.mjs","names":["ComponentType","StyleSheet","ChevronRightIcon","IconProps","fontOf","MIN_ROW_HEIGHT","RailItemProps","icon","label","onPress","testID","RailItem","Icon","pressed","styles","row","create","theme","flexDirection","alignItems","gap","spacing","minHeight","paddingHorizontal","borderRadius","md","backgroundColor","colors","panel","uni__dependencies","opacity","flex","minWidth","color","hi","fontFamily","sans","fontSize","base","lineHeight","fontWeight","medium"],"sources":["../../src/components/RailItem.tsx"],"sourcesContent":["import type { ComponentType } from 'react';\nimport { Pressable, Text } from 'react-native';\nimport { StyleSheet } from 'react-native-unistyles';\n\nimport { ChevronRightIcon, type IconProps } from '../icons/icons';\nimport { fontOf } from '../lib/fonts';\n\nconst MIN_ROW_HEIGHT = 48;\n\nexport interface RailItemProps {\n icon: ComponentType<IconProps>;\n label: string;\n onPress: () => void;\n testID?: string;\n}\n\n/** One row of the phone drawer's Po menu, the native form of the web rail's plugin rows: icon, label, chevron. */\nexport function RailItem({ icon: Icon, label, onPress, testID }: RailItemProps) {\n return (\n <Pressable\n accessibilityRole=\"button\"\n accessibilityLabel={label}\n onPress={onPress}\n testID={testID}\n style={({ pressed }) => [styles.row, pressed && styles.pressed]}\n >\n <Icon size={20} color=\"green\" />\n <Text style={styles.label} numberOfLines={1}>\n {label}\n </Text>\n <ChevronRightIcon size={14} color=\"faint\" />\n </Pressable>\n );\n}\n\nconst styles = StyleSheet.create((theme) => ({\n row: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: theme.spacing(3),\n minHeight: MIN_ROW_HEIGHT,\n paddingHorizontal: theme.spacing(3),\n borderRadius: theme.borderRadius.md,\n backgroundColor: theme.colors.panel,\n },\n pressed: { opacity: 0.7 },\n label: {\n flex: 1,\n minWidth: 0,\n color: theme.colors.hi,\n fontFamily: fontOf(theme.fontFamily.sans),\n fontSize: theme.fontSize.base,\n lineHeight: theme.lineHeight.base,\n fontWeight: theme.fontWeight.medium,\n },\n}));\n"],"mappings":";;;;;;;;AAOA,MAAMK,iBAAiB;;AAUvB,SAAgBM,SAAS,EAAEJ,MAAMK,MAAMJ,OAAOC,SAASC,UAAyB;CAC9E,OACE,qBAAC,WAAD;EACE,mBAAkB;EAClB,oBAAoBF;EACXC;EACDC;EACR,QAAQ,EAAEG,cAAc,CAACC,OAAOC,KAAKF,WAAWC,OAAOD,OAAO;YALhE;GAOE,oBAAC,MAAD;IAAM,MAAM;IAAI,OAAM;GAAO;GAC7B,oBAAC,MAAD;IAAM,OAAOC,OAAON;IAAO,eAAe;cACvCA;GACG;GACN,oBAAC,kBAAD;IAAkB,MAAM;IAAI,OAAM;GAAO;EAChC;;AAEf;AAEA,MAAMM,SAASb,WAAWe,QAAQC,WAAW;CAC3CF,KAAK;EACHG,eAAe;EACfC,YAAY;EACZC,KAAKH,MAAMI,QAAQ,CAAC;EACpBC,WAAWjB;EACXkB,mBAAmBN,MAAMI,QAAQ,CAAC;EAClCG,cAAcP,MAAMO,aAAaC;EACjCC,iBAAiBT,MAAMU,OAAOC;EAAKC,mBAAA,CAAA,CAAA;CACrC;CACAhB,SAAS,EAAEiB,SAAS,GAAI;CACxBtB,OAAO;EACLuB,MAAM;EACNC,UAAU;EACVC,OAAOhB,MAAMU,OAAOO;EACpBC,YAAY/B,OAAOa,MAAMkB,WAAWC,IAAI;EACxCC,UAAUpB,MAAMoB,SAASC;EACzBC,YAAYtB,MAAMsB,WAAWD;EAC7BE,YAAYvB,MAAMuB,WAAWC;EAAMZ,mBAAA,CAAA,CAAA;CACrC;AACF,EAAE"}
|
|
@@ -222,6 +222,10 @@ export declare const ICON_GLYPHS: {
|
|
|
222
222
|
readonly sf: "arrow.clockwise";
|
|
223
223
|
readonly material: "refresh";
|
|
224
224
|
};
|
|
225
|
+
readonly Calendar: {
|
|
226
|
+
readonly sf: "calendar";
|
|
227
|
+
readonly material: "event";
|
|
228
|
+
};
|
|
225
229
|
};
|
|
226
230
|
export type IconName = keyof typeof ICON_GLYPHS;
|
|
227
231
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconGlyphs.d.mts","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"mappings":";;;;;;;qBAMa
|
|
1
|
+
{"version":3,"file":"iconGlyphs.d.mts","names":[],"sources":["../../src/icons/iconGlyphs.ts"],"mappings":";;;;;;;qBAMa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA4DD,wBAAwB"}
|
|
@@ -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 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,MA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EAAE,IAAI;EAAkB,UAAU;CAAS;CACpD,YAAY;EAAE,IAAI;EAAY,UAAU;CAAa;CACrD,MAAM;EAAE,IAAI;EAAa,UAAU;CAAO;CAC1C,UAAU;EAAE,IAAI;EAAkB,UAAU;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;CAChD,SAAS;EAAE,IAAI;EAAmB,UAAU;CAAU;
|
|
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 Calendar: { sf: 'calendar', material: 'event' },\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,OA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AAI;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;CAChD,SAAS;EAAE,IAAI;EAAmB,UAAU;CAAU;CACtD,UAAU;EAAE,IAAI;EAAY,UAAU;CAAQ;AAChD"}
|
package/dist/icons/icons.d.mts
CHANGED
|
@@ -226,5 +226,9 @@ export declare const RefreshIcon: {
|
|
|
226
226
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
227
227
|
displayName: string;
|
|
228
228
|
};
|
|
229
|
+
export declare const CalendarIcon: {
|
|
230
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
231
|
+
displayName: string;
|
|
232
|
+
};
|
|
229
233
|
//#endregion
|
|
230
234
|
//# 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,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A"}
|
package/dist/icons/icons.mjs
CHANGED
|
@@ -100,7 +100,8 @@ const EraserIcon = createIcon("Eraser");
|
|
|
100
100
|
const MinusIcon = createIcon("Minus");
|
|
101
101
|
const FitIcon = createIcon("Fit");
|
|
102
102
|
const RefreshIcon = createIcon("Refresh");
|
|
103
|
+
const CalendarIcon = createIcon("Calendar");
|
|
103
104
|
|
|
104
105
|
//#endregion
|
|
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 };
|
|
106
|
+
export { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CalendarIcon, 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 };
|
|
106
107
|
//# sourceMappingURL=icons.mjs.map
|
package/dist/icons/icons.mjs.map
CHANGED
|
@@ -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","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,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,OACJ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,MAAa2C,iBAAiB3C,WAAW,YAAY;AACrD,MAAa4C,WAAW5C,WAAW,MAAM;AACzC,MAAa6C,WAAW7C,WAAW,MAAM;AACzC,MAAa8C,YAAY9C,WAAW,OAAO;AAC3C,MAAa+C,iBAAiB/C,WAAW,YAAY;AACrD,MAAagD,eAAehD,WAAW,UAAU;AACjD,MAAaiD,cAAcjD,WAAW,SAAS;AAC/C,MAAakD,gBAAgBlD,WAAW,WAAW;AACnD,MAAamD,eAAenD,WAAW,UAAU;AACjD,MAAaoD,WAAWpD,WAAW,MAAM;AACzC,MAAaqD,aAAarD,WAAW,QAAQ;AAE7C,MAAasD,WAAWtD,WAAW,MAAM;AACzC,MAAauD,aAAavD,WAAW,QAAQ;AAC7C,MAAawD,YAAYxD,WAAW,OAAO;AAC3C,MAAayD,cAAczD,WAAW,SAAS;AAC/C,MAAa0D,eAAe1D,WAAW,UAAU;AACjD,MAAa2D,UAAU3D,WAAW,KAAK;AACvC,MAAa4D,cAAc5D,WAAW,SAAS;AAC/C,MAAa6D,iBAAiB7D,WAAW,YAAY;AACrD,MAAa8D,WAAW9D,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;AACvC,MAAa0E,cAAc1E,WAAW,SAAS"}
|
|
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","CalendarIcon"],"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');\nexport const CalendarIcon = createIcon('Calendar');\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;GAC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AW,UAAU;AACjD,MAAaiD,cAAcjD,WAAW,SAAS;AAC/C,MAAakD,gBAAgBlD,WAAW,WAAW;AACnD,MAAamD,eAAenD,WAAW,UAAU;AACjD,MAAaoD,WAAWpD,WAAW,MAAM;AACzC,MAAaqD,aAAarD,WAAW,QAAQ;AAE7C,MAAasD,WAAWtD,WAAW,MAAM;AACzC,MAAauD,aAAavD,WAAW,QAAQ;AAC7C,MAAawD,YAAYxD,WAAW,OAAO;AAC3C,MAAayD,cAAczD,WAAW,SAAS;AAC/C,MAAa0D,eAAe1D,WAAW,UAAU;AACjD,MAAa2D,UAAU3D,WAAW,KAAK;AACvC,MAAa4D,cAAc5D,WAAW,SAAS;AAC/C,MAAa6D,iBAAiB7D,WAAW,YAAY;AACrD,MAAa8D,WAAW9D,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;AACvC,MAAa0E,cAAc1E,WAAW,SAAS;AAC/C,MAAa2E,eAAe3E,WAAW,UAAU"}
|
package/dist/index.d.mts
CHANGED
|
@@ -18,6 +18,8 @@ import { FilePreview, FilePreviewProps } from "./components/FilePreview.mjs";
|
|
|
18
18
|
import { FilePathStrip, FileViewer, FileViewerHeader, FileViewerProps } from "./components/FileViewer.mjs";
|
|
19
19
|
import { Label, LabelProps } from "./components/Label.mjs";
|
|
20
20
|
import { List, ListProps, ListRow, ListRowProps } from "./components/List.mjs";
|
|
21
|
+
import { ActivityIcon, AlertIcon, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, BoxIcon, BranchIcon, CalendarIcon, 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";
|
|
22
|
+
import { RailItem, RailItemProps } from "./components/RailItem.mjs";
|
|
21
23
|
import { FileLinkHandler, Markdown, MarkdownImageLoader, MarkdownProps } from "./components/Markdown.mjs";
|
|
22
24
|
import { STATUS_EDGE, StatusBadge, StatusBadgeProps, StatusBadgeSize, StatusTone } from "./components/StatusBadge.mjs";
|
|
23
25
|
import { MessageItem, MessageItemBody, MessageItemGroup, MessageItemGroupProps, MessageItemHeader, MessageItemHeaderProps, MessageItemPartProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, toolTone, useMessageItem } from "./components/MessageItem.mjs";
|
|
@@ -34,7 +36,6 @@ import { TabBadge, TabBadgeProps, Tabs, TabsContent, TabsContentProps, TabsList,
|
|
|
34
36
|
import { SyntaxLine, SyntaxLineProps, useSyntaxLines } from "./components/SyntaxLine.mjs";
|
|
35
37
|
import { Textarea, TextareaProps } from "./components/Textarea.mjs";
|
|
36
38
|
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, RefreshIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TerminalIcon, TrashIcon, UndoIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
|
|
38
39
|
import { IconName } from "./icons/iconGlyphs.mjs";
|
|
39
40
|
import { fontOf } from "./lib/fonts.mjs";
|
|
40
41
|
import { impactLight, selectionTick } from "./lib/haptics.mjs";
|
|
@@ -43,4 +44,4 @@ import { HostTag } from "./components/HostTag.mjs";
|
|
|
43
44
|
import { InfoStrip } from "./components/InfoStrip.mjs";
|
|
44
45
|
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
46
|
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, 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 };
|
|
47
|
+
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, CalendarIcon, 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, RailItem, type RailItemProps, 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, RefreshIcon, 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, CalendarIcon, 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";
|
|
@@ -28,6 +28,7 @@ import { Markdown } from "./components/Markdown.mjs";
|
|
|
28
28
|
import { FilePreview } from "./components/FilePreview.mjs";
|
|
29
29
|
import { FilePathStrip, FileViewer, FileViewerHeader } from "./components/FileViewer.mjs";
|
|
30
30
|
import { Label } from "./components/Label.mjs";
|
|
31
|
+
import { RailItem } from "./components/RailItem.mjs";
|
|
31
32
|
import { STATUS_EDGE, StatusBadge } from "./components/StatusBadge.mjs";
|
|
32
33
|
import { MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, STATUS_GLYPH, STATUS_LABEL, toolTone, useMessageItem } from "./components/MessageItem.mjs";
|
|
33
34
|
import { Panel, PanelBody, PanelHeader } from "./components/Panel.mjs";
|
|
@@ -43,4 +44,4 @@ import { InfoStrip } from "./components/InfoStrip.mjs";
|
|
|
43
44
|
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
45
|
import { IconColorContext, LiveDuration, PoNativeProvider, sheetsYielded, yieldSheets } from "@agimon-ai/po-native-components/shell";
|
|
45
46
|
|
|
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 };
|
|
47
|
+
export { ActivityIcon, AgentAvatar, AlertIcon, AnnotationSurface, ArrowRightIcon, ArrowUpRightIcon, AudioLinesIcon, Badge, BoxIcon, BranchIcon, Button, CalendarIcon, 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, RailItem, 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.
|
|
3
|
+
"version": "0.0.0-alpha.164",
|
|
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.
|
|
52
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.164"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@agimon-ai/po-build": "0.0.0-alpha.
|
|
56
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
57
|
-
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.
|
|
55
|
+
"@agimon-ai/po-build": "0.0.0-alpha.164",
|
|
56
|
+
"@agimon-ai/po-core": "0.0.0-alpha.164",
|
|
57
|
+
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.164",
|
|
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",
|