@agimon-ai/po-native-components 0.0.0-alpha.7 → 0.0.0-alpha.71
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/LICENSE +149 -22
- package/dist/components/AgentAvatar.d.mts +14 -0
- package/dist/components/AgentAvatar.d.mts.map +1 -0
- package/dist/components/AgentAvatar.mjs +87 -0
- package/dist/components/AgentAvatar.mjs.map +1 -0
- package/dist/components/AnnotationSurface.d.mts +69 -0
- package/dist/components/AnnotationSurface.d.mts.map +1 -0
- package/dist/components/AnnotationSurface.mjs +426 -0
- package/dist/components/AnnotationSurface.mjs.map +1 -0
- package/dist/components/Badge.d.mts +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Button.mjs +2 -2
- package/dist/components/CodeBlock.d.mts +3 -1
- package/dist/components/CodeBlock.d.mts.map +1 -1
- package/dist/components/CodeBlock.mjs +35 -47
- package/dist/components/CodeBlock.mjs.map +1 -1
- package/dist/components/CopyButton.d.mts +13 -0
- package/dist/components/CopyButton.d.mts.map +1 -0
- package/dist/components/CopyButton.mjs +43 -0
- package/dist/components/CopyButton.mjs.map +1 -0
- package/dist/components/Dialog.mjs +3 -3
- package/dist/components/Dot.d.mts +1 -1
- package/dist/components/Dot.mjs +2 -2
- package/dist/components/DropdownMenu.d.mts.map +1 -1
- package/dist/components/DropdownMenu.mjs +12 -6
- package/dist/components/DropdownMenu.mjs.map +1 -1
- package/dist/components/HashlineLines.d.mts +13 -0
- package/dist/components/HashlineLines.d.mts.map +1 -0
- package/dist/components/HashlineLines.mjs +148 -0
- package/dist/components/HashlineLines.mjs.map +1 -0
- package/dist/components/HostFilter.d.mts +17 -0
- package/dist/components/HostFilter.d.mts.map +1 -0
- package/dist/components/HostFilter.mjs +66 -0
- package/dist/components/HostFilter.mjs.map +1 -0
- package/dist/components/HostTag.d.mts +7 -0
- package/dist/components/HostTag.d.mts.map +1 -0
- package/dist/components/HostTag.mjs +47 -0
- package/dist/components/HostTag.mjs.map +1 -0
- package/dist/components/InfoStrip.d.mts +9 -0
- package/dist/components/InfoStrip.d.mts.map +1 -0
- package/dist/components/InfoStrip.mjs +53 -0
- package/dist/components/InfoStrip.mjs.map +1 -0
- package/dist/components/Input.mjs +3 -2
- package/dist/components/Input.mjs.map +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/List.d.mts.map +1 -1
- package/dist/components/List.mjs +38 -6
- package/dist/components/List.mjs.map +1 -1
- package/dist/components/LiveDuration.d.mts +30 -0
- package/dist/components/LiveDuration.d.mts.map +1 -0
- package/dist/components/LiveDuration.mjs +67 -0
- package/dist/components/LiveDuration.mjs.map +1 -0
- package/dist/components/Markdown.d.mts +10 -1
- package/dist/components/Markdown.d.mts.map +1 -1
- package/dist/components/Markdown.mjs +330 -27
- package/dist/components/Markdown.mjs.map +1 -1
- package/dist/components/MessageItem.d.mts +8 -8
- package/dist/components/MessageItem.d.mts.map +1 -1
- package/dist/components/MessageItem.mjs +71 -55
- package/dist/components/MessageItem.mjs.map +1 -1
- package/dist/components/SectionLabel.mjs +1 -1
- package/dist/components/Sheet.d.mts +7 -1
- package/dist/components/Sheet.d.mts.map +1 -1
- package/dist/components/Sheet.mjs +19 -4
- package/dist/components/Sheet.mjs.map +1 -1
- package/dist/components/SheetFrame.d.mts +13 -0
- package/dist/components/SheetFrame.d.mts.map +1 -0
- package/dist/components/SheetFrame.mjs +113 -16
- package/dist/components/SheetFrame.mjs.map +1 -1
- package/dist/components/SheetList.d.mts +14 -0
- package/dist/components/SheetList.d.mts.map +1 -0
- package/dist/components/SheetList.mjs +34 -0
- package/dist/components/SheetList.mjs.map +1 -0
- package/dist/components/ShowMore.d.mts +10 -0
- package/dist/components/ShowMore.d.mts.map +1 -0
- package/dist/components/ShowMore.mjs +44 -0
- package/dist/components/ShowMore.mjs.map +1 -0
- package/dist/components/Spinner.d.mts +1 -1
- package/dist/components/StatusBadge.d.mts +1 -1
- package/dist/components/SyntaxLine.d.mts +19 -0
- package/dist/components/SyntaxLine.d.mts.map +1 -0
- package/dist/components/SyntaxLine.mjs +134 -0
- package/dist/components/SyntaxLine.mjs.map +1 -0
- package/dist/components/Tabs.mjs +2 -2
- package/dist/components/ToolPathLink.d.mts +10 -0
- package/dist/components/ToolPathLink.d.mts.map +1 -0
- package/dist/components/ToolPathLink.mjs +40 -0
- package/dist/components/ToolPathLink.mjs.map +1 -0
- package/dist/icons/iconGlyphs.d.mts +56 -0
- package/dist/icons/iconGlyphs.d.mts.map +1 -1
- package/dist/icons/iconGlyphs.mjs +56 -0
- package/dist/icons/iconGlyphs.mjs.map +1 -1
- package/dist/icons/icons.d.mts +57 -1
- package/dist/icons/icons.d.mts.map +1 -1
- package/dist/icons/icons.mjs +15 -1
- package/dist/icons/icons.mjs.map +1 -1
- package/dist/index.d.mts +17 -4
- package/dist/index.mjs +18 -5
- package/dist/lib/fonts.d.mts +3 -1
- package/dist/lib/fonts.d.mts.map +1 -1
- package/dist/lib/fonts.mjs +4 -2
- package/dist/lib/fonts.mjs.map +1 -1
- package/dist/lib/markdown.mjs +172 -23
- package/dist/lib/markdown.mjs.map +1 -1
- package/dist/lib/reading.mjs +60 -0
- package/dist/lib/reading.mjs.map +1 -0
- package/dist/lib/useReadingPage.mjs +33 -0
- package/dist/lib/useReadingPage.mjs.map +1 -0
- package/package.json +18 -14
|
@@ -18,6 +18,10 @@ export declare const ICON_GLYPHS: {
|
|
|
18
18
|
readonly sf: "chevron.right";
|
|
19
19
|
readonly material: "chevron-right";
|
|
20
20
|
};
|
|
21
|
+
readonly ChevronUp: {
|
|
22
|
+
readonly sf: "chevron.up";
|
|
23
|
+
readonly material: "expand-less";
|
|
24
|
+
};
|
|
21
25
|
readonly Alert: {
|
|
22
26
|
readonly sf: "exclamationmark.circle";
|
|
23
27
|
readonly material: "error-outline";
|
|
@@ -34,6 +38,10 @@ export declare const ICON_GLYPHS: {
|
|
|
34
38
|
readonly sf: "ellipsis";
|
|
35
39
|
readonly material: "more-vert";
|
|
36
40
|
};
|
|
41
|
+
readonly Menu: {
|
|
42
|
+
readonly sf: "line.3.horizontal";
|
|
43
|
+
readonly material: "menu";
|
|
44
|
+
};
|
|
37
45
|
readonly Edit: {
|
|
38
46
|
readonly sf: "pencil";
|
|
39
47
|
readonly material: "edit";
|
|
@@ -62,14 +70,38 @@ export declare const ICON_GLYPHS: {
|
|
|
62
70
|
readonly sf: "xmark";
|
|
63
71
|
readonly material: "close";
|
|
64
72
|
};
|
|
73
|
+
readonly File: {
|
|
74
|
+
readonly sf: "doc";
|
|
75
|
+
readonly material: "insert-drive-file";
|
|
76
|
+
};
|
|
77
|
+
readonly Search: {
|
|
78
|
+
readonly sf: "magnifyingglass";
|
|
79
|
+
readonly material: "search";
|
|
80
|
+
};
|
|
81
|
+
readonly Image: {
|
|
82
|
+
readonly sf: "photo";
|
|
83
|
+
readonly material: "image";
|
|
84
|
+
};
|
|
85
|
+
readonly Sliders: {
|
|
86
|
+
readonly sf: "slider.horizontal.3";
|
|
87
|
+
readonly material: "tune";
|
|
88
|
+
};
|
|
65
89
|
readonly Folder: {
|
|
66
90
|
readonly sf: "folder";
|
|
67
91
|
readonly material: "folder";
|
|
68
92
|
};
|
|
93
|
+
readonly Globe: {
|
|
94
|
+
readonly sf: "globe";
|
|
95
|
+
readonly material: "public";
|
|
96
|
+
};
|
|
69
97
|
readonly Branch: {
|
|
70
98
|
readonly sf: "arrow.triangle.branch";
|
|
71
99
|
readonly material: "call-split";
|
|
72
100
|
};
|
|
101
|
+
readonly Fork: {
|
|
102
|
+
readonly sf: "arrow.triangle.branch";
|
|
103
|
+
readonly material: "fork-right";
|
|
104
|
+
};
|
|
73
105
|
readonly Home: {
|
|
74
106
|
readonly sf: "house";
|
|
75
107
|
readonly material: "home";
|
|
@@ -86,6 +118,10 @@ export declare const ICON_GLYPHS: {
|
|
|
86
118
|
readonly sf: "plus";
|
|
87
119
|
readonly material: "add";
|
|
88
120
|
};
|
|
121
|
+
readonly User: {
|
|
122
|
+
readonly sf: "person";
|
|
123
|
+
readonly material: "person-outline";
|
|
124
|
+
};
|
|
89
125
|
readonly Users: {
|
|
90
126
|
readonly sf: "person.2";
|
|
91
127
|
readonly material: "group";
|
|
@@ -114,6 +150,26 @@ export declare const ICON_GLYPHS: {
|
|
|
114
150
|
readonly sf: "lock";
|
|
115
151
|
readonly material: "lock-outline";
|
|
116
152
|
};
|
|
153
|
+
readonly Shield: {
|
|
154
|
+
readonly sf: "checkmark.shield";
|
|
155
|
+
readonly material: "verified-user";
|
|
156
|
+
};
|
|
157
|
+
readonly Download: {
|
|
158
|
+
readonly sf: "square.and.arrow.down";
|
|
159
|
+
readonly material: "file-download";
|
|
160
|
+
};
|
|
161
|
+
readonly Mic: {
|
|
162
|
+
readonly sf: "mic";
|
|
163
|
+
readonly material: "mic";
|
|
164
|
+
};
|
|
165
|
+
readonly AudioLines: {
|
|
166
|
+
readonly sf: "waveform";
|
|
167
|
+
readonly material: "graphic-eq";
|
|
168
|
+
};
|
|
169
|
+
readonly Stop: {
|
|
170
|
+
readonly sf: "stop.fill";
|
|
171
|
+
readonly material: "stop";
|
|
172
|
+
};
|
|
117
173
|
};
|
|
118
174
|
export type IconName = keyof typeof ICON_GLYPHS;
|
|
119
175
|
//#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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8CD,wBAAwB"}
|
|
@@ -18,6 +18,10 @@ const ICON_GLYPHS = {
|
|
|
18
18
|
sf: "chevron.right",
|
|
19
19
|
material: "chevron-right"
|
|
20
20
|
},
|
|
21
|
+
ChevronUp: {
|
|
22
|
+
sf: "chevron.up",
|
|
23
|
+
material: "expand-less"
|
|
24
|
+
},
|
|
21
25
|
Alert: {
|
|
22
26
|
sf: "exclamationmark.circle",
|
|
23
27
|
material: "error-outline"
|
|
@@ -34,6 +38,10 @@ const ICON_GLYPHS = {
|
|
|
34
38
|
sf: "ellipsis",
|
|
35
39
|
material: "more-vert"
|
|
36
40
|
},
|
|
41
|
+
Menu: {
|
|
42
|
+
sf: "line.3.horizontal",
|
|
43
|
+
material: "menu"
|
|
44
|
+
},
|
|
37
45
|
Edit: {
|
|
38
46
|
sf: "pencil",
|
|
39
47
|
material: "edit"
|
|
@@ -62,14 +70,38 @@ const ICON_GLYPHS = {
|
|
|
62
70
|
sf: "xmark",
|
|
63
71
|
material: "close"
|
|
64
72
|
},
|
|
73
|
+
File: {
|
|
74
|
+
sf: "doc",
|
|
75
|
+
material: "insert-drive-file"
|
|
76
|
+
},
|
|
77
|
+
Search: {
|
|
78
|
+
sf: "magnifyingglass",
|
|
79
|
+
material: "search"
|
|
80
|
+
},
|
|
81
|
+
Image: {
|
|
82
|
+
sf: "photo",
|
|
83
|
+
material: "image"
|
|
84
|
+
},
|
|
85
|
+
Sliders: {
|
|
86
|
+
sf: "slider.horizontal.3",
|
|
87
|
+
material: "tune"
|
|
88
|
+
},
|
|
65
89
|
Folder: {
|
|
66
90
|
sf: "folder",
|
|
67
91
|
material: "folder"
|
|
68
92
|
},
|
|
93
|
+
Globe: {
|
|
94
|
+
sf: "globe",
|
|
95
|
+
material: "public"
|
|
96
|
+
},
|
|
69
97
|
Branch: {
|
|
70
98
|
sf: "arrow.triangle.branch",
|
|
71
99
|
material: "call-split"
|
|
72
100
|
},
|
|
101
|
+
Fork: {
|
|
102
|
+
sf: "arrow.triangle.branch",
|
|
103
|
+
material: "fork-right"
|
|
104
|
+
},
|
|
73
105
|
Home: {
|
|
74
106
|
sf: "house",
|
|
75
107
|
material: "home"
|
|
@@ -86,6 +118,10 @@ const ICON_GLYPHS = {
|
|
|
86
118
|
sf: "plus",
|
|
87
119
|
material: "add"
|
|
88
120
|
},
|
|
121
|
+
User: {
|
|
122
|
+
sf: "person",
|
|
123
|
+
material: "person-outline"
|
|
124
|
+
},
|
|
89
125
|
Users: {
|
|
90
126
|
sf: "person.2",
|
|
91
127
|
material: "group"
|
|
@@ -113,6 +149,26 @@ const ICON_GLYPHS = {
|
|
|
113
149
|
Lock: {
|
|
114
150
|
sf: "lock",
|
|
115
151
|
material: "lock-outline"
|
|
152
|
+
},
|
|
153
|
+
Shield: {
|
|
154
|
+
sf: "checkmark.shield",
|
|
155
|
+
material: "verified-user"
|
|
156
|
+
},
|
|
157
|
+
Download: {
|
|
158
|
+
sf: "square.and.arrow.down",
|
|
159
|
+
material: "file-download"
|
|
160
|
+
},
|
|
161
|
+
Mic: {
|
|
162
|
+
sf: "mic",
|
|
163
|
+
material: "mic"
|
|
164
|
+
},
|
|
165
|
+
AudioLines: {
|
|
166
|
+
sf: "waveform",
|
|
167
|
+
material: "graphic-eq"
|
|
168
|
+
},
|
|
169
|
+
Stop: {
|
|
170
|
+
sf: "stop.fill",
|
|
171
|
+
material: "stop"
|
|
116
172
|
}
|
|
117
173
|
};
|
|
118
174
|
|
|
@@ -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 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 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 Folder: { sf: 'folder', material: 'folder' },\n Branch: { sf: 'arrow.triangle.branch', material: 'call-split' },\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 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} 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,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;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,QAAQ;EAAE,IAAI;EAAU,UAAU;CAAS;CAC3C,QAAQ;EAAE,IAAI;EAAyB,UAAU;CAAa;
|
|
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 AudioLines: { sf: 'waveform', material: 'graphic-eq' },\n Stop: { sf: 'stop.fill', material: 'stop' },\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,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E,IAAI;EAAQ,UAAU;CAAe;CAC7C,QAAQ;EAAE,IAAI;EAAoB,UAAU;CAAgB;CAC5D,UAAU;EAAE,IAAI;EAAyB,UAAU;CAAgB;CACnE,KAAK;EAAE,IAAI;EAAO,UAAU;CAAM;CAClC,YAAY;EAAE,IAAI;EAAY,UAAU;CAAa;CACrD,MAAM;EAAE,IAAI;EAAa,UAAU;CAAO;AAC5C"}
|
package/dist/icons/icons.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NativeColorToken } from "@agimon-ai/po-web-components/nativeTheme";
|
|
2
1
|
import { StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
import { NativeColorToken } from "@agimon-ai/po-web-components/nativeTheme";
|
|
3
3
|
//#region src/icons/icons.d.ts
|
|
4
4
|
export interface IconProps {
|
|
5
5
|
/** Edge length in points. */
|
|
@@ -22,6 +22,10 @@ export declare const ChevronRightIcon: {
|
|
|
22
22
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
+
export declare const ChevronUpIcon: {
|
|
26
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
25
29
|
export declare const AlertIcon: {
|
|
26
30
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
27
31
|
displayName: string;
|
|
@@ -38,6 +42,10 @@ export declare const KebabIcon: {
|
|
|
38
42
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
39
43
|
displayName: string;
|
|
40
44
|
};
|
|
45
|
+
export declare const MenuIcon: {
|
|
46
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
47
|
+
displayName: string;
|
|
48
|
+
};
|
|
41
49
|
export declare const EditIcon: {
|
|
42
50
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
43
51
|
displayName: string;
|
|
@@ -70,10 +78,18 @@ export declare const FolderIcon: {
|
|
|
70
78
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
71
79
|
displayName: string;
|
|
72
80
|
};
|
|
81
|
+
export declare const GlobeIcon: {
|
|
82
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
73
85
|
export declare const BranchIcon: {
|
|
74
86
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
75
87
|
displayName: string;
|
|
76
88
|
};
|
|
89
|
+
export declare const ForkIcon: {
|
|
90
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
91
|
+
displayName: string;
|
|
92
|
+
};
|
|
77
93
|
export declare const HomeIcon: {
|
|
78
94
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
79
95
|
displayName: string;
|
|
@@ -90,6 +106,10 @@ export declare const PlusIcon: {
|
|
|
90
106
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
91
107
|
displayName: string;
|
|
92
108
|
};
|
|
109
|
+
export declare const UserIcon: {
|
|
110
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
111
|
+
displayName: string;
|
|
112
|
+
};
|
|
93
113
|
export declare const UsersIcon: {
|
|
94
114
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
95
115
|
displayName: string;
|
|
@@ -118,5 +138,41 @@ export declare const LockIcon: {
|
|
|
118
138
|
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
119
139
|
displayName: string;
|
|
120
140
|
};
|
|
141
|
+
export declare const ShieldIcon: {
|
|
142
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
143
|
+
displayName: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const FileIcon: {
|
|
146
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
147
|
+
displayName: string;
|
|
148
|
+
};
|
|
149
|
+
export declare const SearchIcon: {
|
|
150
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
151
|
+
displayName: string;
|
|
152
|
+
};
|
|
153
|
+
export declare const ImageIcon: {
|
|
154
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
155
|
+
displayName: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const SlidersIcon: {
|
|
158
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
159
|
+
displayName: string;
|
|
160
|
+
};
|
|
161
|
+
export declare const DownloadIcon: {
|
|
162
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
163
|
+
displayName: string;
|
|
164
|
+
};
|
|
165
|
+
export declare const MicIcon: {
|
|
166
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
167
|
+
displayName: string;
|
|
168
|
+
};
|
|
169
|
+
export declare const AudioLinesIcon: {
|
|
170
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
171
|
+
displayName: string;
|
|
172
|
+
};
|
|
173
|
+
export declare const StopIcon: {
|
|
174
|
+
({ size, color, accessibilityLabel, style }: IconProps): import("react").JSX.Element;
|
|
175
|
+
displayName: string;
|
|
176
|
+
};
|
|
121
177
|
//#endregion
|
|
122
178
|
//# 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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qBAkEvE;KAlE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAmEvE;KAnE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAoEvE;KApE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAqEvE;KArE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA;;;qBAsEvE;KAtE8D,MAAA,OAAA,oBAAA,SAAA,4BAAS,IAAA"}
|
package/dist/icons/icons.mjs
CHANGED
|
@@ -49,10 +49,12 @@ function createIcon(name) {
|
|
|
49
49
|
const CheckIcon = createIcon("Check");
|
|
50
50
|
const ChevronDownIcon = createIcon("ChevronDown");
|
|
51
51
|
const ChevronRightIcon = createIcon("ChevronRight");
|
|
52
|
+
const ChevronUpIcon = createIcon("ChevronUp");
|
|
52
53
|
const AlertIcon = createIcon("Alert");
|
|
53
54
|
const CopyIcon = createIcon("Copy");
|
|
54
55
|
const MessageIcon = createIcon("Message");
|
|
55
56
|
const KebabIcon = createIcon("Kebab");
|
|
57
|
+
const MenuIcon = createIcon("Menu");
|
|
56
58
|
const EditIcon = createIcon("Edit");
|
|
57
59
|
const GearIcon = createIcon("Gear");
|
|
58
60
|
const SendIcon = createIcon("Send");
|
|
@@ -61,11 +63,14 @@ const TrashIcon = createIcon("Trash");
|
|
|
61
63
|
const WrenchIcon = createIcon("Wrench");
|
|
62
64
|
const CloseIcon = createIcon("Close");
|
|
63
65
|
const FolderIcon = createIcon("Folder");
|
|
66
|
+
const GlobeIcon = createIcon("Globe");
|
|
64
67
|
const BranchIcon = createIcon("Branch");
|
|
68
|
+
const ForkIcon = createIcon("Fork");
|
|
65
69
|
const HomeIcon = createIcon("Home");
|
|
66
70
|
const ActivityIcon = createIcon("Activity");
|
|
67
71
|
const ArrowRightIcon = createIcon("ArrowRight");
|
|
68
72
|
const PlusIcon = createIcon("Plus");
|
|
73
|
+
const UserIcon = createIcon("User");
|
|
69
74
|
const UsersIcon = createIcon("Users");
|
|
70
75
|
const PlayCircleIcon = createIcon("PlayCircle");
|
|
71
76
|
const WorkflowIcon = createIcon("Workflow");
|
|
@@ -73,7 +78,16 @@ const PaletteIcon = createIcon("Palette");
|
|
|
73
78
|
const LightbulbIcon = createIcon("Lightbulb");
|
|
74
79
|
const SparklesIcon = createIcon("Sparkles");
|
|
75
80
|
const LockIcon = createIcon("Lock");
|
|
81
|
+
const ShieldIcon = createIcon("Shield");
|
|
82
|
+
const FileIcon = createIcon("File");
|
|
83
|
+
const SearchIcon = createIcon("Search");
|
|
84
|
+
const ImageIcon = createIcon("Image");
|
|
85
|
+
const SlidersIcon = createIcon("Sliders");
|
|
86
|
+
const DownloadIcon = createIcon("Download");
|
|
87
|
+
const MicIcon = createIcon("Mic");
|
|
88
|
+
const AudioLinesIcon = createIcon("AudioLines");
|
|
89
|
+
const StopIcon = createIcon("Stop");
|
|
76
90
|
|
|
77
91
|
//#endregion
|
|
78
|
-
export { ActivityIcon, AlertIcon, ArrowRightIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, EditIcon, FolderIcon, GearIcon, HomeIcon, KebabIcon, LightbulbIcon, LockIcon, MessageIcon, PaletteIcon, PlayCircleIcon, PlusIcon, SendIcon, SparklesIcon, TaskIcon, TrashIcon, UsersIcon, WorkflowIcon, WrenchIcon };
|
|
92
|
+
export { ActivityIcon, AlertIcon, ArrowRightIcon, AudioLinesIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, PaletteIcon, PlayCircleIcon, PlusIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TrashIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon };
|
|
79
93
|
//# sourceMappingURL=icons.mjs.map
|
package/dist/icons/icons.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.mjs","names":["NativeColorToken","MaterialIcons","SymbolView","useContext","Platform","StyleProp","ViewStyle","useUnistyles","IconColorContext","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","AlertIcon","CopyIcon","MessageIcon","KebabIcon","EditIcon","GearIcon","SendIcon","TaskIcon","TrashIcon","WrenchIcon","CloseIcon","FolderIcon","BranchIcon","HomeIcon","ActivityIcon","ArrowRightIcon","PlusIcon","UsersIcon","PlayCircleIcon","WorkflowIcon","PaletteIcon","LightbulbIcon","SparklesIcon","LockIcon"],"sources":["../../src/icons/icons.tsx"],"sourcesContent":["import 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 { IconColorContext } from './IconColorContext';\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 AlertIcon = createIcon('Alert');\nexport const CopyIcon = createIcon('Copy');\nexport const MessageIcon = createIcon('Message');\nexport const KebabIcon = createIcon('Kebab');\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 BranchIcon = createIcon('Branch');\nexport const HomeIcon = createIcon('Home');\nexport const ActivityIcon = createIcon('Activity');\nexport const ArrowRightIcon = createIcon('ArrowRight');\nexport const PlusIcon = createIcon('Plus');\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');\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,UAAUf,aAAa;EAC/B,MAAMgB,YAAYpB,WAAWK,gBAAgB;EAC7C,MAAMgB,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,IAAIZ,SAAS6B,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,
|
|
1
|
+
{"version":3,"file":"icons.mjs","names":["NativeColorToken","MaterialIcons","SymbolView","useContext","Platform","StyleProp","ViewStyle","useUnistyles","IconColorContext","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","AudioLinesIcon","StopIcon"],"sources":["../../src/icons/icons.tsx"],"sourcesContent":["import 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 { IconColorContext } from './IconColorContext';\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 AudioLinesIcon = createIcon('AudioLines');\nexport const StopIcon = createIcon('Stop');\n"],"mappings":";;;;;;;;;;AAUA,MAAMW,eAAe;AACrB,MAAMC,gBAAkC;AAYxC,SAASM,WAAWC,MAAgB;CAClC,MAAMC,QAAQX,YAAYU;CAC1B,SA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AAarC,WAAW,QAAQ;AAC7C,MAAasC,YAAYtC,WAAW,OAAO;AAC3C,MAAauC,aAAavC,WAAW,QAAQ;AAC7C,MAAawC,WAAWxC,WAAW,MAAM;AACzC,MAAayC,WAAWzC,WAAW,MAAM;AACzC,MAAa0C,eAAe1C,WAAW,UAAU;AACjD,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,iBAAiB5D,WAAW,YAAY;AACrD,MAAa6D,WAAW7D,WAAW,MAAM"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import { AgentAvatar, AgentState, agentInitials } from "./components/AgentAvatar.mjs";
|
|
2
|
+
import { AnnotationMark, AnnotationSurface, AnnotationSurfaceProps } from "./components/AnnotationSurface.mjs";
|
|
1
3
|
import { Badge, BadgeProps, BadgeSize, BadgeTone } from "./components/Badge.mjs";
|
|
2
4
|
import { Button, ButtonProps, ButtonSize, ButtonVariant } from "./components/Button.mjs";
|
|
3
5
|
import { CodeBlock, CodeBlockProps } from "./components/CodeBlock.mjs";
|
|
6
|
+
import { CopyButton, CopyButtonProps } from "./components/CopyButton.mjs";
|
|
4
7
|
import { Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogFooterProps, DialogFooterVariant, DialogHeader, DialogHeaderProps, DialogPartProps, DialogProps, DialogTitle, DialogTrigger, DialogWidth } from "./components/Dialog.mjs";
|
|
5
8
|
import { Dot, DotProps, DotSize, DotTone } from "./components/Dot.mjs";
|
|
6
9
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuItemVariant, DropdownMenuLabel, DropdownMenuPartProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger } from "./components/DropdownMenu.mjs";
|
|
7
10
|
import { EmptyState, EmptyStateProps } from "./components/EmptyState.mjs";
|
|
11
|
+
import { HashlineLines, HashlineLinesProps } from "./components/HashlineLines.mjs";
|
|
8
12
|
import { FieldSize, FieldVariant, Input, InputProps } from "./components/Input.mjs";
|
|
9
13
|
import { Label, LabelProps } from "./components/Label.mjs";
|
|
10
14
|
import { List, ListProps, ListRow, ListRowProps } from "./components/List.mjs";
|
|
11
|
-
import {
|
|
15
|
+
import { LiveDuration, LiveDurationProps, LiveDurationReading } from "./components/LiveDuration.mjs";
|
|
16
|
+
import { FileLinkHandler, Markdown, MarkdownImageLoader, MarkdownProps } from "./components/Markdown.mjs";
|
|
12
17
|
import { STATUS_EDGE, StatusBadge, StatusBadgeProps, StatusBadgeSize, StatusTone } from "./components/StatusBadge.mjs";
|
|
13
18
|
import { MessageItem, MessageItemBody, MessageItemGroup, MessageItemGroupProps, MessageItemHeader, MessageItemHeaderProps, MessageItemPartProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, toolTone, useMessageItem } from "./components/MessageItem.mjs";
|
|
14
19
|
import { Panel, PanelBody, PanelHeader, PanelPartProps } from "./components/Panel.mjs";
|
|
@@ -16,13 +21,21 @@ import { PoNativeProvider, PoNativeProviderProps } from "./components/PoNativePr
|
|
|
16
21
|
import { SectionLabel } from "./components/SectionLabel.mjs";
|
|
17
22
|
import { SegmentedControl, SegmentedControlOption, SegmentedControlProps } from "./components/SegmentedControl.mjs";
|
|
18
23
|
import { Sheet, SheetBody, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetHeaderProps, SheetPartProps, SheetProps, SheetTitle, SheetTrigger } from "./components/Sheet.mjs";
|
|
24
|
+
import { sheetsYielded, yieldSheets } from "./components/SheetFrame.mjs";
|
|
25
|
+
import { SheetList, SheetListProps } from "./components/SheetList.mjs";
|
|
26
|
+
import { ShowMore, ShowMoreProps } from "./components/ShowMore.mjs";
|
|
19
27
|
import { Spinner, SpinnerProps } from "./components/Spinner.mjs";
|
|
20
28
|
import { TabBadge, TabBadgeProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps } from "./components/Tabs.mjs";
|
|
29
|
+
import { SyntaxLine, SyntaxLineProps, useSyntaxLines } from "./components/SyntaxLine.mjs";
|
|
21
30
|
import { Textarea, TextareaProps } from "./components/Textarea.mjs";
|
|
22
|
-
import {
|
|
31
|
+
import { ToolPathLink, ToolPathLinkProps } from "./components/ToolPathLink.mjs";
|
|
32
|
+
import { ActivityIcon, AlertIcon, ArrowRightIcon, AudioLinesIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HomeIcon, IconProps, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, PaletteIcon, PlayCircleIcon, PlusIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TrashIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
|
|
23
33
|
import { IconName } from "./icons/iconGlyphs.mjs";
|
|
24
34
|
import { fontOf } from "./lib/fonts.mjs";
|
|
25
35
|
import { IconColorContext } from "./icons/IconColorContext.mjs";
|
|
26
36
|
import { impactLight, selectionTick } from "./lib/haptics.mjs";
|
|
27
|
-
import {
|
|
28
|
-
|
|
37
|
+
import { HostFilter, HostFilterProps } from "./components/HostFilter.mjs";
|
|
38
|
+
import { HostTag } from "./components/HostTag.mjs";
|
|
39
|
+
import { InfoStrip } from "./components/InfoStrip.mjs";
|
|
40
|
+
import { AnsiSpan, PresentedLine, ReviewComment, ansiSpans, buildReviewPrompt, collapseLines, hashlineBody, resultTextLines } from "@agimon-ai/po-web-components/text";
|
|
41
|
+
export { ActivityIcon, AgentAvatar, type AgentState, AlertIcon, type AnnotationMark, AnnotationSurface, type AnnotationSurfaceProps, type AnsiSpan, ArrowRightIcon, AudioLinesIcon, Badge, type BadgeProps, type BadgeSize, type BadgeTone, BranchIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, type CodeBlockProps, CopyButton, type CopyButtonProps, CopyIcon, 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, type FieldSize, type FieldVariant, FileIcon, type FileLinkHandler, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HashlineLines, type HashlineLinesProps, 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, PaletteIcon, Panel, PanelBody, PanelHeader, type PanelPartProps, PlayCircleIcon, PlusIcon, PoNativeProvider, type PoNativeProviderProps, type PresentedLine, type ReviewComment, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, 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, SyntaxLine, type SyntaxLineProps, TabBadge, type TabBadgeProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TaskIcon, Textarea, type TextareaProps, ToolPathLink, type ToolPathLinkProps, TrashIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, agentInitials, ansiSpans, buildReviewPrompt, collapseLines, fontOf, hashlineBody, impactLight, resultTextLines, selectionTick, sheetsYielded, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { fontOf } from "./lib/fonts.mjs";
|
|
2
|
+
import { Dot } from "./components/Dot.mjs";
|
|
3
|
+
import { AgentAvatar, agentInitials } from "./components/AgentAvatar.mjs";
|
|
4
|
+
import { impactLight, selectionTick } from "./lib/haptics.mjs";
|
|
5
|
+
import { AnnotationSurface } from "./components/AnnotationSurface.mjs";
|
|
2
6
|
import { Badge } from "./components/Badge.mjs";
|
|
3
7
|
import { IconColorContext } from "./icons/IconColorContext.mjs";
|
|
4
|
-
import { impactLight, selectionTick } from "./lib/haptics.mjs";
|
|
5
8
|
import { Spinner } from "./components/Spinner.mjs";
|
|
6
9
|
import { Button } from "./components/Button.mjs";
|
|
7
|
-
import { ActivityIcon, AlertIcon, ArrowRightIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, EditIcon, FolderIcon, GearIcon, HomeIcon, KebabIcon, LightbulbIcon, LockIcon, MessageIcon, PaletteIcon, PlayCircleIcon, PlusIcon, SendIcon, SparklesIcon, TaskIcon, TrashIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
|
|
10
|
+
import { ActivityIcon, AlertIcon, ArrowRightIcon, AudioLinesIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, PaletteIcon, PlayCircleIcon, PlusIcon, SearchIcon, SendIcon, ShieldIcon, SlidersIcon, SparklesIcon, StopIcon, TaskIcon, TrashIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon } from "./icons/icons.mjs";
|
|
11
|
+
import { CopyButton } from "./components/CopyButton.mjs";
|
|
12
|
+
import { ShowMore } from "./components/ShowMore.mjs";
|
|
8
13
|
import { CodeBlock } from "./components/CodeBlock.mjs";
|
|
9
14
|
import { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./components/Dialog.mjs";
|
|
10
|
-
import {
|
|
15
|
+
import { sheetsYielded, yieldSheets } from "./components/SheetFrame.mjs";
|
|
11
16
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger } from "./components/DropdownMenu.mjs";
|
|
12
17
|
import { EmptyState } from "./components/EmptyState.mjs";
|
|
18
|
+
import { SyntaxLine, useSyntaxLines } from "./components/SyntaxLine.mjs";
|
|
19
|
+
import { HashlineLines } from "./components/HashlineLines.mjs";
|
|
13
20
|
import { Input } from "./components/Input.mjs";
|
|
14
21
|
import { Label } from "./components/Label.mjs";
|
|
15
22
|
import { List, ListRow } from "./components/List.mjs";
|
|
23
|
+
import { LiveDuration } from "./components/LiveDuration.mjs";
|
|
16
24
|
import { Markdown } from "./components/Markdown.mjs";
|
|
17
25
|
import { STATUS_EDGE, StatusBadge } from "./components/StatusBadge.mjs";
|
|
18
26
|
import { MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, STATUS_GLYPH, STATUS_LABEL, toolTone, useMessageItem } from "./components/MessageItem.mjs";
|
|
@@ -21,8 +29,13 @@ import { PoNativeProvider } from "./components/PoNativeProvider.mjs";
|
|
|
21
29
|
import { SectionLabel } from "./components/SectionLabel.mjs";
|
|
22
30
|
import { SegmentedControl } from "./components/SegmentedControl.mjs";
|
|
23
31
|
import { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/Sheet.mjs";
|
|
32
|
+
import { SheetList } from "./components/SheetList.mjs";
|
|
24
33
|
import { TabBadge, Tabs, TabsContent, TabsList, TabsTrigger } from "./components/Tabs.mjs";
|
|
25
34
|
import { Textarea } from "./components/Textarea.mjs";
|
|
26
|
-
import {
|
|
35
|
+
import { ToolPathLink } from "./components/ToolPathLink.mjs";
|
|
36
|
+
import { HostFilter } from "./components/HostFilter.mjs";
|
|
37
|
+
import { HostTag } from "./components/HostTag.mjs";
|
|
38
|
+
import { InfoStrip } from "./components/InfoStrip.mjs";
|
|
39
|
+
import { ansiSpans, buildReviewPrompt, collapseLines, hashlineBody, resultTextLines } from "@agimon-ai/po-web-components/text";
|
|
27
40
|
|
|
28
|
-
export { ActivityIcon, AlertIcon, ArrowRightIcon, Badge, BranchIcon, Button, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CodeBlock, CopyIcon, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Dot, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, FolderIcon, GearIcon, HomeIcon, IconColorContext, Input, KebabIcon, Label, LightbulbIcon, List, ListRow, LockIcon, Markdown, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, PaletteIcon, Panel, PanelBody, PanelHeader, PlayCircleIcon, PlusIcon, PoNativeProvider, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SectionLabel, SegmentedControl, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SparklesIcon, Spinner, StatusBadge, TabBadge, Tabs, TabsContent, TabsList, TabsTrigger, TaskIcon, Textarea, TrashIcon, UsersIcon, WorkflowIcon, WrenchIcon, ansiSpans, buildReviewPrompt, fontOf, impactLight, selectionTick, toolTone, useMessageItem };
|
|
41
|
+
export { ActivityIcon, AgentAvatar, AlertIcon, AnnotationSurface, ArrowRightIcon, AudioLinesIcon, Badge, BranchIcon, Button, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CodeBlock, CopyButton, CopyIcon, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Dot, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditIcon, EmptyState, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HashlineLines, HomeIcon, HostFilter, HostTag, IconColorContext, ImageIcon, InfoStrip, Input, KebabIcon, Label, LightbulbIcon, List, ListRow, LiveDuration, LockIcon, Markdown, MenuIcon, MessageIcon, MessageItem, MessageItemBody, MessageItemGroup, MessageItemHeader, MessageItemStatus, MicIcon, PaletteIcon, Panel, PanelBody, PanelHeader, PlayCircleIcon, PlusIcon, PoNativeProvider, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, SearchIcon, SectionLabel, SegmentedControl, SendIcon, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetList, SheetTitle, SheetTrigger, ShieldIcon, ShowMore, SlidersIcon, SparklesIcon, Spinner, StatusBadge, StopIcon, SyntaxLine, TabBadge, Tabs, TabsContent, TabsList, TabsTrigger, TaskIcon, Textarea, ToolPathLink, TrashIcon, UserIcon, UsersIcon, WorkflowIcon, WrenchIcon, agentInitials, ansiSpans, buildReviewPrompt, collapseLines, fontOf, hashlineBody, impactLight, resultTextLines, selectionTick, sheetsYielded, toolTone, useMessageItem, useSyntaxLines, yieldSheets };
|
package/dist/lib/fonts.d.mts
CHANGED
|
@@ -3,7 +3,9 @@ import { NativeFontStack } from "@agimon-ai/po-web-components/nativeTheme";
|
|
|
3
3
|
/**
|
|
4
4
|
* The font family a native style names for a stack: the platform font on iOS
|
|
5
5
|
* and Android until the brand families are bundled, and the brand family with
|
|
6
|
-
* a CSS generic fallback on web, where story renders run.
|
|
6
|
+
* a CSS generic fallback on web, where story renders run. On web the variable
|
|
7
|
+
* face comes first, as in theme.css: fontsource registers it as "<family>
|
|
8
|
+
* Variable", so the plain name alone matches nothing and falls back.
|
|
7
9
|
*
|
|
8
10
|
* ponytail: load IBM Plex Sans and JetBrains Mono through expo-font and return
|
|
9
11
|
* `stack.family` everywhere once the native visual review starts.
|
package/dist/lib/fonts.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.mts","names":[],"sources":["../../src/lib/fonts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fonts.d.mts","names":[],"sources":["../../src/lib/fonts.ts"],"mappings":";;;;;;;;;;;;wBAagB,OAAO,OAAO"}
|
package/dist/lib/fonts.mjs
CHANGED
|
@@ -4,7 +4,9 @@ import { Platform } from "react-native";
|
|
|
4
4
|
/**
|
|
5
5
|
* The font family a native style names for a stack: the platform font on iOS
|
|
6
6
|
* and Android until the brand families are bundled, and the brand family with
|
|
7
|
-
* a CSS generic fallback on web, where story renders run.
|
|
7
|
+
* a CSS generic fallback on web, where story renders run. On web the variable
|
|
8
|
+
* face comes first, as in theme.css: fontsource registers it as "<family>
|
|
9
|
+
* Variable", so the plain name alone matches nothing and falls back.
|
|
8
10
|
*
|
|
9
11
|
* ponytail: load IBM Plex Sans and JetBrains Mono through expo-font and return
|
|
10
12
|
* `stack.family` everywhere once the native visual review starts.
|
|
@@ -13,7 +15,7 @@ function fontOf(stack) {
|
|
|
13
15
|
return Platform.select({
|
|
14
16
|
ios: stack.ios,
|
|
15
17
|
android: stack.android,
|
|
16
|
-
default: `${stack.family}, ${stack.android}`
|
|
18
|
+
default: `${stack.family} Variable, ${stack.family}, ${stack.android}`
|
|
17
19
|
});
|
|
18
20
|
}
|
|
19
21
|
|
package/dist/lib/fonts.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.mjs","names":["NativeFontStack","Platform","fontOf","stack","select","ios","android","default","family"],"sources":["../../src/lib/fonts.ts"],"sourcesContent":["import type { NativeFontStack } from '@agimon-ai/po-web-components/nativeTheme';\nimport { Platform } from 'react-native';\n\n/**\n * The font family a native style names for a stack: the platform font on iOS\n * and Android until the brand families are bundled, and the brand family with\n * a CSS generic fallback on web, where story renders run.\n *\n * ponytail: load IBM Plex Sans and JetBrains Mono through expo-font and return\n * `stack.family` everywhere once the native visual review starts.\n */\nexport function fontOf(stack: NativeFontStack): string {\n return Platform.select({\n ios: stack.ios,\n android: stack.android,\n default: `${stack.family}, ${stack.android}`,\n });\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fonts.mjs","names":["NativeFontStack","Platform","fontOf","stack","select","ios","android","default","family"],"sources":["../../src/lib/fonts.ts"],"sourcesContent":["import type { NativeFontStack } from '@agimon-ai/po-web-components/nativeTheme';\nimport { Platform } from 'react-native';\n\n/**\n * The font family a native style names for a stack: the platform font on iOS\n * and Android until the brand families are bundled, and the brand family with\n * a CSS generic fallback on web, where story renders run. On web the variable\n * face comes first, as in theme.css: fontsource registers it as \"<family>\n * Variable\", so the plain name alone matches nothing and falls back.\n *\n * ponytail: load IBM Plex Sans and JetBrains Mono through expo-font and return\n * `stack.family` everywhere once the native visual review starts.\n */\nexport function fontOf(stack: NativeFontStack): string {\n return Platform.select({\n ios: stack.ios,\n android: stack.android,\n default: `${stack.family} Variable, ${stack.family}, ${stack.android}`,\n });\n}\n"],"mappings":";;;;;;;;;;;;;AAaA,SAAgBE,OAAOC,OAAgC;CACrD,OAAOF,SAASG,OAAO;EACrBC,KAAKF,MAAME;EACXC,SAASH,MAAMG;EACfC,SAAS,GAAGJ,MAAMK,OAAM,aAAcL,MAAMK,OAAM,IAAKL,MAAMG;CAC/D,CAAC;AACH"}
|