@adminide-stack/clock-tik-mobile 0.0.0-stage → 12.0.37-alpha.1

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.
Files changed (378) hide show
  1. package/.claude-flow/data/pending-insights.jsonl +43 -0
  2. package/.claude-flow/sessions/session-1794323376548.json +14 -0
  3. package/CHANGELOG.md +41 -0
  4. package/jest.config.cjs +22 -0
  5. package/lib/assets/home/loop-day.jpg +0 -0
  6. package/lib/assets/home/loop-day.mp4 +0 -0
  7. package/lib/assets/home/loop-time-back.jpg +0 -0
  8. package/lib/assets/home/loop-time-back.mp4 +0 -0
  9. package/lib/assets/home/loop-where.jpg +0 -0
  10. package/lib/assets/home/loop-where.mp4 +0 -0
  11. package/lib/assets/home/reel-gym.jpg +0 -0
  12. package/lib/assets/home/reel-gym.mp4 +0 -0
  13. package/lib/assets/home/reel-internet.jpg +0 -0
  14. package/lib/assets/home/reel-internet.mp4 +0 -0
  15. package/lib/assets/icon.png +0 -0
  16. package/lib/assets/lottie/.claude-flow/data/pending-insights.jsonl +1 -0
  17. package/lib/assets/lottie/lucy-mark-calendar.json +1827 -0
  18. package/lib/assets/lottie/lucy-mark-call.json +1470 -0
  19. package/lib/assets/lottie/lucy-mark-connect.json +2552 -0
  20. package/lib/assets/lottie/lucy-mark-details.json +1735 -0
  21. package/lib/assets/lottie/lucy-mark-email.json +1363 -0
  22. package/lib/assets/lottie/lucy-mark-message.json +1154 -0
  23. package/lib/assets/lottie/lucy-mark-search.json +1067 -0
  24. package/lib/assets/lottie/lucy-mark-think.json +1253 -0
  25. package/lib/assets/lottie/lucy-mark-write.json +1532 -0
  26. package/lib/assets/lottie/time-back.json +16458 -0
  27. package/lib/assets/lottie/where-lucy-works-chat.json +6170 -0
  28. package/lib/assets/lottie/where-lucy-works-cloud.json +10066 -0
  29. package/lib/assets/lottie/where-lucy-works-mine-none.json +2478 -0
  30. package/lib/assets/lottie/where-lucy-works-mine-offline.json +2373 -0
  31. package/lib/assets/lottie/where-lucy-works-mine-online.json +7881 -0
  32. package/lib/assets/sounds/hours-back.m4a +0 -0
  33. package/lib/assets/sounds/meet-lucy.m4a +0 -0
  34. package/lib/assets/sounds/power-on.m4a +0 -0
  35. package/lib/assets/sounds/wind-back.m4a +0 -0
  36. package/lib/assets/sounds/youre-in.m4a +0 -0
  37. package/lib/chat/agent.js +358 -0
  38. package/lib/chat/agent.js.map +1 -0
  39. package/lib/chat/appFront.js +32 -0
  40. package/lib/chat/appFront.js.map +1 -0
  41. package/lib/chat/auth.js +370 -0
  42. package/lib/chat/auth.js.map +1 -0
  43. package/lib/chat/chores.js +360 -0
  44. package/lib/chat/chores.js.map +1 -0
  45. package/lib/chat/connectors.js +45 -0
  46. package/lib/chat/connectors.js.map +1 -0
  47. package/lib/chat/jobs.js +223 -0
  48. package/lib/chat/jobs.js.map +1 -0
  49. package/lib/chat/lucyMotion.js +6 -0
  50. package/lib/chat/lucyMotion.js.map +1 -0
  51. package/lib/chat/protocol.js +111 -0
  52. package/lib/chat/protocol.js.map +1 -0
  53. package/lib/chat/results.js +133 -0
  54. package/lib/chat/results.js.map +1 -0
  55. package/lib/chat/store.js +81 -0
  56. package/lib/chat/store.js.map +1 -0
  57. package/lib/chat/useDictation.js +168 -0
  58. package/lib/chat/useDictation.js.map +1 -0
  59. package/lib/chat/useLucyChat.js +451 -0
  60. package/lib/chat/useLucyChat.js.map +1 -0
  61. package/lib/chat/useMyComputer.js +32 -0
  62. package/lib/chat/useMyComputer.js.map +1 -0
  63. package/lib/chat/whereLucyWorks.js +52 -0
  64. package/lib/chat/whereLucyWorks.js.map +1 -0
  65. package/lib/chat/workspace.js +124 -0
  66. package/lib/chat/workspace.js.map +1 -0
  67. package/lib/components/AreaShot.js +289 -0
  68. package/lib/components/AreaShot.js.map +1 -0
  69. package/lib/components/Backdrops.js +262 -0
  70. package/lib/components/Backdrops.js.map +1 -0
  71. package/lib/components/BottomSheet.js +61 -0
  72. package/lib/components/BottomSheet.js.map +1 -0
  73. package/lib/components/ChatSheets.js +429 -0
  74. package/lib/components/ChatSheets.js.map +1 -0
  75. package/lib/components/ConnectorLogo.js +91 -0
  76. package/lib/components/ConnectorLogo.js.map +1 -0
  77. package/lib/components/CustomDrawer.js +534 -0
  78. package/lib/components/CustomDrawer.js.map +1 -0
  79. package/lib/components/IdeasPane.js +394 -0
  80. package/lib/components/IdeasPane.js.map +1 -0
  81. package/lib/components/ImessageSheet.js +261 -0
  82. package/lib/components/ImessageSheet.js.map +1 -0
  83. package/lib/components/KeyboardAvoider.js +29 -0
  84. package/lib/components/KeyboardAvoider.js.map +1 -0
  85. package/lib/components/Logo.js +81 -0
  86. package/lib/components/Logo.js.map +1 -0
  87. package/lib/components/LucyWorking.js +67 -0
  88. package/lib/components/LucyWorking.js.map +1 -0
  89. package/lib/components/Markdown.js +260 -0
  90. package/lib/components/Markdown.js.map +1 -0
  91. package/lib/components/Media.js +93 -0
  92. package/lib/components/Media.js.map +1 -0
  93. package/lib/components/MessagesAppIcon.js +23 -0
  94. package/lib/components/MessagesAppIcon.js.map +1 -0
  95. package/lib/components/MicButton.js +71 -0
  96. package/lib/components/MicButton.js.map +1 -0
  97. package/lib/components/ResultCards.js +974 -0
  98. package/lib/components/ResultCards.js.map +1 -0
  99. package/lib/components/SignInPrompt.js +148 -0
  100. package/lib/components/SignInPrompt.js.map +1 -0
  101. package/lib/components/SignedOut.js +38 -0
  102. package/lib/components/SignedOut.js.map +1 -0
  103. package/lib/components/TalkToLucyHero.js +487 -0
  104. package/lib/components/TalkToLucyHero.js.map +1 -0
  105. package/lib/components/TalkToLucySheet.js +182 -0
  106. package/lib/components/TalkToLucySheet.js.map +1 -0
  107. package/lib/components/WhereLucyWorks.js +277 -0
  108. package/lib/components/WhereLucyWorks.js.map +1 -0
  109. package/lib/components/WorkspaceSection.js +271 -0
  110. package/lib/components/WorkspaceSection.js.map +1 -0
  111. package/lib/components/YantraMark.js +13 -0
  112. package/lib/components/YantraMark.js.map +1 -0
  113. package/lib/components/drawerHeader.js +38 -0
  114. package/lib/components/drawerHeader.js.map +1 -0
  115. package/lib/components/lottieInstalled.js +6 -0
  116. package/lib/components/lottieInstalled.js.map +1 -0
  117. package/lib/components/ui.js +550 -0
  118. package/lib/components/ui.js.map +1 -0
  119. package/lib/components/useSignOut.js +7 -0
  120. package/lib/components/useSignOut.js.map +1 -0
  121. package/lib/components/viewport.js +121 -0
  122. package/lib/components/viewport.js.map +1 -0
  123. package/lib/components/voiceDial.js +10 -0
  124. package/lib/components/voiceDial.js.map +1 -0
  125. package/lib/compute.js +157 -0
  126. package/lib/compute.js.map +1 -0
  127. package/lib/config/env-config.js +27 -0
  128. package/lib/config/env-config.js.map +1 -0
  129. package/lib/config/routes.js +15 -0
  130. package/lib/config/routes.js.map +1 -0
  131. package/lib/content.js +25 -0
  132. package/lib/content.js.map +1 -0
  133. package/lib/hooks/keyboardCover.js +39 -0
  134. package/lib/hooks/keyboardCover.js.map +1 -0
  135. package/lib/hooks/useKeyboard.js +121 -0
  136. package/lib/hooks/useKeyboard.js.map +1 -0
  137. package/lib/hooks/useReducedMotion.js +13 -0
  138. package/lib/hooks/useReducedMotion.js.map +1 -0
  139. package/lib/imessage/openMessages.js +25 -0
  140. package/lib/imessage/openMessages.js.map +1 -0
  141. package/lib/imessage/platform.js +12 -0
  142. package/lib/imessage/platform.js.map +1 -0
  143. package/lib/imessage/textLink.js +262 -0
  144. package/lib/imessage/textLink.js.map +1 -0
  145. package/lib/index.js +1 -0
  146. package/lib/index.js.map +1 -0
  147. package/lib/live/card.js +28 -0
  148. package/lib/live/card.js.map +1 -0
  149. package/lib/live/liveActivity.js +144 -0
  150. package/lib/live/liveActivity.js.map +1 -0
  151. package/lib/module.js +3 -0
  152. package/lib/module.js.map +1 -0
  153. package/lib/offer/BlackFridayOffer.js +378 -0
  154. package/lib/offer/BlackFridayOffer.js.map +1 -0
  155. package/lib/offer/blackFriday.js +78 -0
  156. package/lib/offer/blackFriday.js.map +1 -0
  157. package/lib/offer/parts.js +624 -0
  158. package/lib/offer/parts.js.map +1 -0
  159. package/lib/offer/state.js +63 -0
  160. package/lib/offer/state.js.map +1 -0
  161. package/lib/push/push.js +142 -0
  162. package/lib/push/push.js.map +1 -0
  163. package/lib/push/usePushNotifications.js +39 -0
  164. package/lib/push/usePushNotifications.js.map +1 -0
  165. package/lib/routes.json +175 -0
  166. package/lib/screens/Account/index.js +209 -0
  167. package/lib/screens/Account/index.js.map +1 -0
  168. package/lib/screens/Chat/index.js +710 -0
  169. package/lib/screens/Chat/index.js.map +1 -0
  170. package/lib/screens/Chores/index.js +18 -0
  171. package/lib/screens/Chores/index.js.map +1 -0
  172. package/lib/screens/Connectors/index.js +17 -0
  173. package/lib/screens/Connectors/index.js.map +1 -0
  174. package/lib/screens/History/index.js +380 -0
  175. package/lib/screens/History/index.js.map +1 -0
  176. package/lib/screens/Home/index.js +2715 -0
  177. package/lib/screens/Home/index.js.map +1 -0
  178. package/lib/screens/Home/media.js +25 -0
  179. package/lib/screens/Home/media.js.map +1 -0
  180. package/lib/screens/Welcome/index.js +1066 -0
  181. package/lib/screens/Welcome/index.js.map +1 -0
  182. package/lib/talk/talkToLucy.js +139 -0
  183. package/lib/talk/talkToLucy.js.map +1 -0
  184. package/lib/theme/colors.js +29 -0
  185. package/lib/theme/colors.js.map +1 -0
  186. package/lib/theme/fonts.js +17 -0
  187. package/lib/theme/fonts.js.map +1 -0
  188. package/lib/theme/muse.js +134 -0
  189. package/lib/theme/muse.js.map +1 -0
  190. package/lib/utils/links.js +54 -0
  191. package/lib/utils/links.js.map +1 -0
  192. package/lib/utils/yantraLinks.js +68 -0
  193. package/lib/utils/yantraLinks.js.map +1 -0
  194. package/lib/welcome/flow.js +375 -0
  195. package/lib/welcome/flow.js.map +1 -0
  196. package/lib/welcome/haptics.js +125 -0
  197. package/lib/welcome/haptics.js.map +1 -0
  198. package/lib/welcome/parts.js +1996 -0
  199. package/lib/welcome/parts.js.map +1 -0
  200. package/lib/welcome/powerOn.js +29 -0
  201. package/lib/welcome/powerOn.js.map +1 -0
  202. package/lib/welcome/seen.js +41 -0
  203. package/lib/welcome/seen.js.map +1 -0
  204. package/lib/welcome/sound.js +110 -0
  205. package/lib/welcome/sound.js.map +1 -0
  206. package/package.json +66 -5
  207. package/rollup.config.mjs +42 -0
  208. package/src/.claude-flow/data/pending-insights.jsonl +19 -0
  209. package/src/.claude-flow/sessions/session-1795013028422.json +14 -0
  210. package/src/__tests__/auth.test.ts +94 -0
  211. package/src/__tests__/blackFriday.test.ts +75 -0
  212. package/src/__tests__/cardTokens.test.ts +77 -0
  213. package/src/__tests__/chores.test.ts +188 -0
  214. package/src/__tests__/choresList.test.ts +100 -0
  215. package/src/__tests__/connectLink.test.ts +21 -0
  216. package/src/__tests__/content.test.ts +54 -0
  217. package/src/__tests__/dictation.test.ts +186 -0
  218. package/src/__tests__/envConfig.test.ts +14 -0
  219. package/src/__tests__/haptics.test.ts +202 -0
  220. package/src/__tests__/jobs.test.ts +130 -0
  221. package/src/__tests__/keyboardCover.test.ts +84 -0
  222. package/src/__tests__/liveCard.test.ts +39 -0
  223. package/src/__tests__/lockedPhone.test.ts +355 -0
  224. package/src/__tests__/lucyMotion.test.ts +34 -0
  225. package/src/__tests__/platform.test.ts +32 -0
  226. package/src/__tests__/powerOn.test.ts +62 -0
  227. package/src/__tests__/protocol.test.ts +125 -0
  228. package/src/__tests__/push.test.ts +111 -0
  229. package/src/__tests__/results.test.ts +256 -0
  230. package/src/__tests__/sound.test.ts +248 -0
  231. package/src/__tests__/talkToLucy.test.ts +205 -0
  232. package/src/__tests__/textLink.test.ts +91 -0
  233. package/src/__tests__/voiceDial.test.ts +53 -0
  234. package/src/__tests__/welcomeFlow.test.ts +157 -0
  235. package/src/__tests__/whereLucyWorks.test.ts +81 -0
  236. package/src/__tests__/yantraLinks.test.ts +96 -0
  237. package/src/assets/home/loop-day.jpg +0 -0
  238. package/src/assets/home/loop-day.mp4 +0 -0
  239. package/src/assets/home/loop-time-back.jpg +0 -0
  240. package/src/assets/home/loop-time-back.mp4 +0 -0
  241. package/src/assets/home/loop-where.jpg +0 -0
  242. package/src/assets/home/loop-where.mp4 +0 -0
  243. package/src/assets/home/reel-gym.jpg +0 -0
  244. package/src/assets/home/reel-gym.mp4 +0 -0
  245. package/src/assets/home/reel-internet.jpg +0 -0
  246. package/src/assets/home/reel-internet.mp4 +0 -0
  247. package/src/assets/icon.png +0 -0
  248. package/src/assets/lottie/.claude-flow/data/pending-insights.jsonl +1 -0
  249. package/src/assets/lottie/lucy-mark-calendar.json +1827 -0
  250. package/src/assets/lottie/lucy-mark-call.json +1470 -0
  251. package/src/assets/lottie/lucy-mark-connect.json +2552 -0
  252. package/src/assets/lottie/lucy-mark-details.json +1735 -0
  253. package/src/assets/lottie/lucy-mark-email.json +1363 -0
  254. package/src/assets/lottie/lucy-mark-message.json +1154 -0
  255. package/src/assets/lottie/lucy-mark-search.json +1067 -0
  256. package/src/assets/lottie/lucy-mark-think.json +1253 -0
  257. package/src/assets/lottie/lucy-mark-write.json +1532 -0
  258. package/src/assets/lottie/time-back.json +16458 -0
  259. package/src/assets/lottie/where-lucy-works-chat.json +6170 -0
  260. package/src/assets/lottie/where-lucy-works-cloud.json +10066 -0
  261. package/src/assets/lottie/where-lucy-works-mine-none.json +2478 -0
  262. package/src/assets/lottie/where-lucy-works-mine-offline.json +2373 -0
  263. package/src/assets/lottie/where-lucy-works-mine-online.json +7881 -0
  264. package/src/assets/sounds/hours-back.m4a +0 -0
  265. package/src/assets/sounds/meet-lucy.m4a +0 -0
  266. package/src/assets/sounds/power-on.m4a +0 -0
  267. package/src/assets/sounds/wind-back.m4a +0 -0
  268. package/src/assets/sounds/youre-in.m4a +0 -0
  269. package/src/chat/.claude-flow/data/pending-insights.jsonl +1 -0
  270. package/src/chat/agent.ts +376 -0
  271. package/src/chat/appFront.ts +39 -0
  272. package/src/chat/auth.ts +433 -0
  273. package/src/chat/chores.ts +394 -0
  274. package/src/chat/connectors.ts +75 -0
  275. package/src/chat/jobs.ts +228 -0
  276. package/src/chat/lucyMotion.ts +33 -0
  277. package/src/chat/protocol.ts +192 -0
  278. package/src/chat/results.ts +224 -0
  279. package/src/chat/store.ts +87 -0
  280. package/src/chat/useDictation.ts +201 -0
  281. package/src/chat/useLucyChat.ts +458 -0
  282. package/src/chat/useMyComputer.ts +41 -0
  283. package/src/chat/whereLucyWorks.ts +97 -0
  284. package/src/chat/workspace.ts +127 -0
  285. package/src/components/.claude-flow/data/pending-insights.jsonl +3 -0
  286. package/src/components/AreaShot.tsx +239 -0
  287. package/src/components/Backdrops.tsx +323 -0
  288. package/src/components/BottomSheet.tsx +96 -0
  289. package/src/components/ChatSheets.tsx +565 -0
  290. package/src/components/ConnectorLogo.tsx +116 -0
  291. package/src/components/CustomDrawer.tsx +526 -0
  292. package/src/components/IdeasPane.tsx +318 -0
  293. package/src/components/ImessageSheet.tsx +280 -0
  294. package/src/components/KeyboardAvoider.tsx +45 -0
  295. package/src/components/Logo.tsx +97 -0
  296. package/src/components/LucyWorking.tsx +122 -0
  297. package/src/components/Markdown.tsx +219 -0
  298. package/src/components/Media.tsx +173 -0
  299. package/src/components/MessagesAppIcon.tsx +51 -0
  300. package/src/components/MicButton.tsx +92 -0
  301. package/src/components/ResultCards.tsx +1067 -0
  302. package/src/components/SignInPrompt.tsx +182 -0
  303. package/src/components/SignedOut.tsx +47 -0
  304. package/src/components/TalkToLucyHero.tsx +540 -0
  305. package/src/components/TalkToLucySheet.tsx +208 -0
  306. package/src/components/VoiceOrb.tsx +364 -0
  307. package/src/components/WhereLucyWorks.tsx +261 -0
  308. package/src/components/WorkspaceSection.tsx +307 -0
  309. package/src/components/YantraMark.tsx +30 -0
  310. package/src/components/drawerHeader.tsx +46 -0
  311. package/src/components/kit.tsx +309 -0
  312. package/src/components/lottieInstalled.ts +7 -0
  313. package/src/components/ui.tsx +700 -0
  314. package/src/components/useSignOut.ts +21 -0
  315. package/src/components/viewport.tsx +166 -0
  316. package/src/components/voiceDial.ts +45 -0
  317. package/src/compute.ts +168 -0
  318. package/src/config/env-config.ts +50 -0
  319. package/src/config/routes.ts +28 -0
  320. package/src/content.ts +217 -0
  321. package/src/hooks/keyboardCover.ts +70 -0
  322. package/src/hooks/useKeyboard.ts +135 -0
  323. package/src/hooks/useReducedMotion.ts +19 -0
  324. package/src/imessage/openMessages.ts +53 -0
  325. package/src/imessage/platform.ts +32 -0
  326. package/src/imessage/textLink.ts +307 -0
  327. package/src/index.ts +24 -0
  328. package/src/live/card.ts +62 -0
  329. package/src/live/liveActivity.ts +192 -0
  330. package/src/module.ts +8 -0
  331. package/src/offer/BlackFridayOffer.tsx +394 -0
  332. package/src/offer/blackFriday.ts +109 -0
  333. package/src/offer/parts.tsx +650 -0
  334. package/src/offer/state.ts +78 -0
  335. package/src/push/push.ts +171 -0
  336. package/src/push/usePushNotifications.ts +47 -0
  337. package/src/screens/Account/index.tsx +310 -0
  338. package/src/screens/Chat/.claude-flow/data/pending-insights.jsonl +4 -0
  339. package/src/screens/Chat/index.tsx +891 -0
  340. package/src/screens/Chores/index.tsx +35 -0
  341. package/src/screens/Connectors/index.tsx +35 -0
  342. package/src/screens/History/index.tsx +346 -0
  343. package/src/screens/Home/index.tsx +2776 -0
  344. package/src/screens/Home/media.ts +31 -0
  345. package/src/screens/Welcome/index.tsx +1182 -0
  346. package/src/talk/talkToLucy.ts +187 -0
  347. package/src/theme/colors.ts +38 -0
  348. package/src/theme/fonts.ts +30 -0
  349. package/src/theme/muse.ts +86 -0
  350. package/src/utils/links.ts +84 -0
  351. package/src/utils/yantraLinks.ts +94 -0
  352. package/src/welcome/flow.ts +418 -0
  353. package/src/welcome/haptics.ts +179 -0
  354. package/src/welcome/parts.tsx +2160 -0
  355. package/src/welcome/powerOn.ts +84 -0
  356. package/src/welcome/seen.ts +68 -0
  357. package/src/welcome/sound.ts +173 -0
  358. package/tools/lottie/chat.motion +0 -0
  359. package/tools/lottie/cloud.motion +0 -0
  360. package/tools/lottie/generate.mjs +1209 -0
  361. package/tools/lottie/inter-glyphs.json +4416 -0
  362. package/tools/lottie/lucy-mark-calendar.motion +0 -0
  363. package/tools/lottie/lucy-mark-call.motion +0 -0
  364. package/tools/lottie/lucy-mark-connect.motion +0 -0
  365. package/tools/lottie/lucy-mark-details.motion +0 -0
  366. package/tools/lottie/lucy-mark-email.motion +0 -0
  367. package/tools/lottie/lucy-mark-message.motion +0 -0
  368. package/tools/lottie/lucy-mark-search.motion +0 -0
  369. package/tools/lottie/lucy-mark-think.motion +0 -0
  370. package/tools/lottie/lucy-mark-write.motion +0 -0
  371. package/tools/lottie/mark.json +1 -0
  372. package/tools/lottie/mine-none.motion +0 -0
  373. package/tools/lottie/mine-offline.motion +0 -0
  374. package/tools/lottie/mine-online.motion +0 -0
  375. package/tools/lottie/time-back.mjs +604 -0
  376. package/tools/sounds/render.mjs +730 -0
  377. package/tsconfig.json +17 -0
  378. package/README.md +0 -3
@@ -0,0 +1,700 @@
1
+ /**
2
+ * The building blocks every screen is made of, in the Muse-style look (theme/muse.ts): floating round buttons, Lucy's
3
+ * avatar with her name and what she is doing, screen headers, large titles, plain idea rows, grouped lists, a search
4
+ * pill, buttons, chat bubbles and the floating composer. Screens compose these rather than styling their own, so the
5
+ * whole app reads as one thing.
6
+ */
7
+ import React, { useState } from 'react';
8
+ import {
9
+ ActivityIndicator,
10
+ Pressable,
11
+ StyleSheet,
12
+ Text,
13
+ TextInput,
14
+ View,
15
+ type StyleProp,
16
+ type TextStyle,
17
+ type ViewStyle,
18
+ } from 'react-native';
19
+ import { Ionicons } from '@expo/vector-icons';
20
+ import { Mark } from './Logo';
21
+ import { field, fieldLine, float, lift, PAD, radius, type, ui } from '../theme/muse';
22
+
23
+ export type IconName = React.ComponentProps<typeof Ionicons>['name'];
24
+
25
+ /* ------------------------------------------------------------------------------------------------ buttons */
26
+
27
+ /** A round floating button (the menu, back, more). */
28
+ export function FloatingButton({
29
+ icon,
30
+ label,
31
+ onPress,
32
+ badge,
33
+ style,
34
+ }: {
35
+ icon: IconName;
36
+ label: string;
37
+ onPress: () => void;
38
+ badge?: number;
39
+ style?: StyleProp<ViewStyle>;
40
+ }) {
41
+ return (
42
+ <Pressable
43
+ accessibilityRole="button"
44
+ accessibilityLabel={badge ? `${label}, ${badge}` : label}
45
+ onPress={onPress}
46
+ hitSlop={8}
47
+ style={({ pressed }) => [s.floating, pressed && { backgroundColor: ui.fill }, style]}
48
+ >
49
+ <Ionicons name={icon} size={20} color={ui.ink} />
50
+ {badge ? (
51
+ <View style={s.badge}>
52
+ <Text style={s.badgeText}>{badge > 9 ? '9+' : badge}</Text>
53
+ </View>
54
+ ) : null}
55
+ </Pressable>
56
+ );
57
+ }
58
+
59
+ export function Button({
60
+ label,
61
+ onPress,
62
+ variant = 'primary',
63
+ icon,
64
+ disabled,
65
+ style,
66
+ }: {
67
+ label: string;
68
+ onPress: () => void;
69
+ variant?: 'primary' | 'secondary' | 'danger';
70
+ icon?: IconName;
71
+ disabled?: boolean;
72
+ style?: StyleProp<ViewStyle>;
73
+ }) {
74
+ const fg = variant === 'primary' ? ui.surface : variant === 'danger' ? ui.danger : ui.ink;
75
+ return (
76
+ <Pressable
77
+ accessibilityRole="button"
78
+ accessibilityState={{ disabled: Boolean(disabled) }}
79
+ disabled={disabled}
80
+ onPress={onPress}
81
+ style={({ pressed }) => [
82
+ s.button,
83
+ variant === 'primary'
84
+ ? { backgroundColor: pressed ? ui.accentPressed : ui.accent }
85
+ : variant === 'danger'
86
+ ? { backgroundColor: pressed ? '#F7D6CC' : ui.dangerSoft }
87
+ : { backgroundColor: pressed ? '#E5E2DD' : ui.fill },
88
+ disabled && { opacity: 0.5 },
89
+ style,
90
+ ]}
91
+ >
92
+ {icon ? <Ionicons name={icon} size={18} color={fg} /> : null}
93
+ <Text style={[s.buttonText, { color: fg }]}>{label}</Text>
94
+ </Pressable>
95
+ );
96
+ }
97
+
98
+ /* ------------------------------------------------------------------------------------------------ Lucy */
99
+
100
+ /** Lucy, as Muse shows its assistant: her clock as the avatar, her name in a pill, and what she is doing under it. */
101
+ export function LucyBadge({ status, size = 44 }: { status?: string | null; size?: number }) {
102
+ return (
103
+ <View
104
+ style={s.lucy}
105
+ accessible
106
+ accessibilityRole="header"
107
+ accessibilityLabel={status ? `Lucy, ${status}` : 'Lucy'}
108
+ >
109
+ {/* A white pill: Lucy's mark and name, and a small spinner while she works. What she is doing is said in the
110
+ chat itself; written here it widened the pill over the header's buttons. */}
111
+ <Mark size={size * 0.5} />
112
+ <Text style={s.lucyName}>Lucy</Text>
113
+ {status ? <ActivityIndicator size="small" color={ui.accent} style={s.lucyBusy} /> : null}
114
+ </View>
115
+ );
116
+ }
117
+
118
+ /* ------------------------------------------------------------------------------------------------ headers & titles */
119
+
120
+ /** A screen's header: floating back on the left, the title centred, an optional action on the right. */
121
+ export function ScreenHeader({
122
+ title,
123
+ onBack,
124
+ right,
125
+ }: {
126
+ title?: string;
127
+ onBack?: () => void;
128
+ right?: React.ReactNode;
129
+ }) {
130
+ return (
131
+ <View style={s.header}>
132
+ <View style={s.headerSide}>
133
+ {onBack ? <FloatingButton icon="chevron-back" label="Back" onPress={onBack} /> : null}
134
+ </View>
135
+ {title ? (
136
+ <Text style={s.headerTitle} accessibilityRole="header" numberOfLines={1}>
137
+ {title}
138
+ </Text>
139
+ ) : (
140
+ <View style={{ flex: 1 }} />
141
+ )}
142
+ <View style={[s.headerSide, { alignItems: 'flex-end' }]}>{right}</View>
143
+ </View>
144
+ );
145
+ }
146
+
147
+ export function LargeTitle({ children, style }: { children: string; style?: StyleProp<TextStyle> }) {
148
+ return (
149
+ <Text style={[type.largeTitle, s.largeTitle, style]} accessibilityRole="header">
150
+ {children}
151
+ </Text>
152
+ );
153
+ }
154
+
155
+ /* ------------------------------------------------------------------------------------------------ lists */
156
+
157
+ /** A plain row, as Muse's Ideas: an emoji or icon, a bold line, grey text, a hairline under it. No card. */
158
+ export function IdeaRow({
159
+ emoji,
160
+ icon,
161
+ title,
162
+ body,
163
+ onPress,
164
+ last,
165
+ trailing,
166
+ }: {
167
+ emoji?: string;
168
+ icon?: IconName;
169
+ title: string;
170
+ body?: string;
171
+ onPress?: () => void;
172
+ last?: boolean;
173
+ trailing?: React.ReactNode;
174
+ }) {
175
+ const content = (
176
+ <>
177
+ {emoji ? (
178
+ <Text style={s.ideaEmoji} accessibilityElementsHidden importantForAccessibility="no">
179
+ {emoji}
180
+ </Text>
181
+ ) : icon ? (
182
+ <View style={s.ideaIcon}>
183
+ <Ionicons name={icon} size={20} color={ui.accentText} />
184
+ </View>
185
+ ) : null}
186
+ <View style={{ flex: 1 }}>
187
+ <Text style={type.headline}>{title}</Text>
188
+ {body ? <Text style={[type.callout, { color: ui.muted, marginTop: 3 }]}>{body}</Text> : null}
189
+ </View>
190
+ {trailing}
191
+ </>
192
+ );
193
+ const style = [s.idea, !last && s.hairlineBottom];
194
+ if (!onPress) return <View style={style}>{content}</View>;
195
+ return (
196
+ <Pressable
197
+ accessibilityRole="button"
198
+ onPress={onPress}
199
+ style={({ pressed }) => [...style, pressed && { backgroundColor: ui.fill }]}
200
+ >
201
+ {content}
202
+ </Pressable>
203
+ );
204
+ }
205
+
206
+ export function GroupLabel({ children, style }: { children: string; style?: StyleProp<TextStyle> }) {
207
+ return <Text style={[type.groupLabel, s.groupLabel, style]}>{children}</Text>;
208
+ }
209
+
210
+ /** An inset grouped list: rows on a raised surface, hairlines between them. */
211
+ export function Group({ children, style }: { children: React.ReactNode; style?: StyleProp<ViewStyle> }) {
212
+ return <View style={[s.group, style]}>{children}</View>;
213
+ }
214
+
215
+ /**
216
+ * A row in a Group: an icon (or any leading node), a label and optional detail, and a trailing chevron, link word,
217
+ * value or nothing.
218
+ */
219
+ export function GroupRow({
220
+ icon,
221
+ leading,
222
+ label,
223
+ detail,
224
+ value,
225
+ link,
226
+ chevron = true,
227
+ destructive,
228
+ disabled,
229
+ badge,
230
+ onPress,
231
+ last,
232
+ }: {
233
+ icon?: IconName;
234
+ leading?: React.ReactNode;
235
+ label: string;
236
+ detail?: string;
237
+ value?: string;
238
+ link?: string;
239
+ chevron?: boolean;
240
+ destructive?: boolean;
241
+ disabled?: boolean;
242
+ badge?: number;
243
+ onPress?: () => void;
244
+ last?: boolean;
245
+ }) {
246
+ const tint = destructive ? ui.danger : ui.ink;
247
+ const content = (
248
+ <>
249
+ {leading ??
250
+ (icon ? (
251
+ <View style={[s.rowIcon, destructive && { backgroundColor: ui.dangerSoft }]}>
252
+ <Ionicons name={icon} size={18} color={destructive ? ui.danger : ui.accentText} />
253
+ </View>
254
+ ) : null)}
255
+ <View style={[s.rowMain, !last && s.hairlineBottom]}>
256
+ <View style={{ flex: 1 }}>
257
+ <Text style={[type.body, { color: tint }]} numberOfLines={1}>
258
+ {label}
259
+ </Text>
260
+ {detail ? (
261
+ <Text style={[type.footnote, { marginTop: 1 }]} numberOfLines={2}>
262
+ {detail}
263
+ </Text>
264
+ ) : null}
265
+ </View>
266
+ {badge ? (
267
+ <View style={[s.badge, s.badgeInline]}>
268
+ <Text style={s.badgeText}>{badge}</Text>
269
+ </View>
270
+ ) : null}
271
+ {value ? <Text style={[type.callout, { color: ui.muted }]}>{value}</Text> : null}
272
+ {link ? <Text style={s.rowLink}>{link}</Text> : null}
273
+ {!link && !value && chevron && onPress ? (
274
+ <Ionicons name="chevron-forward" size={17} color={ui.faint} />
275
+ ) : null}
276
+ </View>
277
+ </>
278
+ );
279
+ if (!onPress) return <View style={s.row}>{content}</View>;
280
+ return (
281
+ <Pressable
282
+ accessibilityRole="button"
283
+ accessibilityState={{ disabled: Boolean(disabled) }}
284
+ disabled={disabled}
285
+ onPress={onPress}
286
+ style={({ pressed }) => [s.row, pressed && { backgroundColor: ui.fill }, disabled && { opacity: 0.5 }]}
287
+ >
288
+ {content}
289
+ </Pressable>
290
+ );
291
+ }
292
+
293
+ export function SearchPill({
294
+ value,
295
+ onChangeText,
296
+ placeholder,
297
+ }: {
298
+ value: string;
299
+ onChangeText: (text: string) => void;
300
+ placeholder: string;
301
+ }) {
302
+ return (
303
+ <View style={s.search}>
304
+ <Ionicons name="search" size={17} color={ui.muted} />
305
+ <TextInput
306
+ value={value}
307
+ onChangeText={onChangeText}
308
+ placeholder={placeholder}
309
+ placeholderTextColor={ui.faint}
310
+ style={s.searchInput}
311
+ returnKeyType="search"
312
+ autoCorrect={false}
313
+ accessibilityLabel={placeholder}
314
+ />
315
+ {value ? (
316
+ <Pressable accessibilityLabel="Clear" onPress={() => onChangeText('')} hitSlop={8}>
317
+ <Ionicons name="close-circle" size={17} color={ui.faint} />
318
+ </Pressable>
319
+ ) : null}
320
+ </View>
321
+ );
322
+ }
323
+
324
+ /* ------------------------------------------------------------------------------------------------ chat */
325
+
326
+ /** A chat bubble: Lucy's in warm grey on the left, yours in tinted orange on the right. No avatars beside them. */
327
+ export function Bubble({ from, children }: { from: 'lucy' | 'you'; children: React.ReactNode }) {
328
+ const you = from === 'you';
329
+ return (
330
+ <View style={[s.bubble, you ? s.bubbleYou : s.bubbleLucy]}>
331
+ {typeof children === 'string' ? <Text style={type.body}>{children}</Text> : children}
332
+ </View>
333
+ );
334
+ }
335
+
336
+ /** The floating composer: "+" on the left, the message, and send (or the mic slot) on the right. */
337
+ export function PillComposer({
338
+ placeholder = 'Message',
339
+ onSend,
340
+ onPlus,
341
+ disabled,
342
+ maxLength,
343
+ value: controlled,
344
+ onChangeText,
345
+ }: {
346
+ placeholder?: string;
347
+ onSend: (text: string) => void;
348
+ onPlus?: () => void;
349
+ disabled?: boolean;
350
+ maxLength?: number;
351
+ value?: string;
352
+ onChangeText?: (text: string) => void;
353
+ }) {
354
+ const [own, setOwn] = useState('');
355
+ const text = controlled ?? own;
356
+ const setText = onChangeText ?? setOwn;
357
+ const ready = text.trim().length > 0 && !disabled;
358
+ const send = () => {
359
+ if (!ready) return;
360
+ onSend(text.trim());
361
+ setText('');
362
+ };
363
+ return (
364
+ <View style={s.composer}>
365
+ {onPlus ? (
366
+ <Pressable
367
+ accessibilityRole="button"
368
+ accessibilityLabel="More"
369
+ onPress={onPlus}
370
+ hitSlop={8}
371
+ style={s.composerPlus}
372
+ >
373
+ <Ionicons name="add" size={24} color={ui.ink} />
374
+ </Pressable>
375
+ ) : (
376
+ <View style={{ width: 6 }} />
377
+ )}
378
+ <TextInput
379
+ value={text}
380
+ onChangeText={setText}
381
+ placeholder={placeholder}
382
+ placeholderTextColor={ui.faint}
383
+ multiline
384
+ maxLength={maxLength}
385
+ style={s.composerInput}
386
+ accessibilityLabel={placeholder}
387
+ />
388
+ <Pressable
389
+ accessibilityRole="button"
390
+ accessibilityLabel="Send"
391
+ accessibilityState={{ disabled: !ready }}
392
+ onPress={send}
393
+ hitSlop={6}
394
+ style={[s.send, ready ? { backgroundColor: ui.accent } : { backgroundColor: ui.fill }]}
395
+ >
396
+ <Ionicons name="arrow-up" size={19} color={ready ? ui.surface : ui.faint} />
397
+ </Pressable>
398
+ </View>
399
+ );
400
+ }
401
+
402
+ /* ------------------------------------------------------------------------------------------------ navigation */
403
+
404
+ /** Muse's header capsule: up to a few icon actions in one white pill, top right. */
405
+ export function HeaderCapsule({
406
+ actions,
407
+ }: {
408
+ /** `node` draws a custom icon (an app icon) in place of the Ionicon. */
409
+ actions: { icon?: IconName; node?: React.ReactNode; label: string; onPress: () => void }[];
410
+ }) {
411
+ return (
412
+ <View style={s.capsule}>
413
+ {actions.map((a) => (
414
+ <Pressable
415
+ key={a.label}
416
+ accessibilityRole="button"
417
+ accessibilityLabel={a.label}
418
+ onPress={a.onPress}
419
+ hitSlop={4}
420
+ style={({ pressed }) => [s.capsuleBtn, pressed && { opacity: 0.5 }]}
421
+ >
422
+ {a.node ?? (a.icon ? <Ionicons name={a.icon} size={19} color={ui.ink} /> : null)}
423
+ </Pressable>
424
+ ))}
425
+ </View>
426
+ );
427
+ }
428
+
429
+ export interface TabItem<K extends string> {
430
+ key: K;
431
+ icon: IconName;
432
+ iconOn: IconName;
433
+ label: string;
434
+ badge?: number;
435
+ }
436
+
437
+ /**
438
+ * The compact floating tab bar: a small white pill centred above the home indicator, the current tab named in a soft
439
+ * orange pill, the others icons only; a tab with something under way carries an orange dot.
440
+ */
441
+ export function TabBar<K extends string>({
442
+ tabs,
443
+ value,
444
+ onChange,
445
+ }: {
446
+ tabs: TabItem<K>[];
447
+ value: K;
448
+ onChange: (key: K) => void;
449
+ }) {
450
+ return (
451
+ <View style={s.tabBar} accessibilityRole="tablist">
452
+ {tabs.map((t) => {
453
+ const on = t.key === value;
454
+ return (
455
+ <Pressable
456
+ key={t.key}
457
+ accessibilityRole="tab"
458
+ accessibilityState={{ selected: on }}
459
+ accessibilityLabel={t.badge ? `${t.label}, ${t.badge}` : t.label}
460
+ onPress={() => onChange(t.key)}
461
+ style={({ pressed }) => [s.tab, on && s.tabOn, pressed && !on && { opacity: 0.55 }]}
462
+ >
463
+ <View>
464
+ <Ionicons name={t.icon} size={20} color={on ? ui.accentText : ui.ink2} />
465
+ {t.badge && !on ? <View style={s.tabDot} /> : null}
466
+ </View>
467
+ {on ? <Text style={s.tabLabel}>{t.label}</Text> : null}
468
+ </Pressable>
469
+ );
470
+ })}
471
+ </View>
472
+ );
473
+ }
474
+
475
+ /** A two-or-three way switch, as Muse's Available / Connected. */
476
+ export function Segmented<K extends string>({
477
+ options,
478
+ value,
479
+ onChange,
480
+ }: {
481
+ options: { key: K; label: string }[];
482
+ value: K;
483
+ onChange: (key: K) => void;
484
+ }) {
485
+ return (
486
+ <View style={s.segmented} accessibilityRole="tablist">
487
+ {options.map((o) => {
488
+ const on = o.key === value;
489
+ return (
490
+ <Pressable
491
+ key={o.key}
492
+ accessibilityRole="tab"
493
+ accessibilityState={{ selected: on }}
494
+ onPress={() => onChange(o.key)}
495
+ style={[s.segment, on && s.segmentOn]}
496
+ >
497
+ <Text style={[s.segmentText, on && { color: ui.ink, fontWeight: '600' }]}>{o.label}</Text>
498
+ </Pressable>
499
+ );
500
+ })}
501
+ </View>
502
+ );
503
+ }
504
+
505
+ /* ------------------------------------------------------------------------------------------------ styles */
506
+
507
+ const s = StyleSheet.create({
508
+ floating: {
509
+ width: 38,
510
+ height: 38,
511
+ borderRadius: 19,
512
+ backgroundColor: ui.surface,
513
+ alignItems: 'center',
514
+ justifyContent: 'center',
515
+ ...float,
516
+ },
517
+ badge: {
518
+ position: 'absolute',
519
+ top: -3,
520
+ right: -3,
521
+ minWidth: 18,
522
+ height: 18,
523
+ paddingHorizontal: 5,
524
+ borderRadius: 9,
525
+ backgroundColor: ui.accent,
526
+ alignItems: 'center',
527
+ justifyContent: 'center',
528
+ borderWidth: 2,
529
+ borderColor: ui.bg,
530
+ },
531
+ badgeInline: { position: 'relative', top: 0, right: 0, borderWidth: 0, marginRight: 4 },
532
+ badgeText: { fontSize: 10.5, fontWeight: '700', color: ui.surface },
533
+ button: {
534
+ flexDirection: 'row',
535
+ alignItems: 'center',
536
+ justifyContent: 'center',
537
+ gap: 8,
538
+ height: 48,
539
+ paddingHorizontal: 20,
540
+ borderRadius: radius.pill,
541
+ },
542
+ buttonText: { fontSize: 16, fontWeight: '600' },
543
+
544
+ lucy: {
545
+ flexDirection: 'row',
546
+ alignItems: 'center',
547
+ gap: 7,
548
+ height: 38,
549
+ paddingLeft: 10,
550
+ paddingRight: 14,
551
+ borderRadius: radius.pill,
552
+ backgroundColor: ui.surface,
553
+ maxWidth: 230,
554
+ ...float,
555
+ },
556
+ lucyName: { fontSize: 15, fontWeight: '600', letterSpacing: -0.2, color: ui.ink },
557
+ lucyBusy: { transform: [{ scale: 0.8 }], marginLeft: -2, marginRight: -4 },
558
+
559
+ header: {
560
+ flexDirection: 'row',
561
+ alignItems: 'center',
562
+ paddingHorizontal: PAD - 4,
563
+ paddingVertical: 8,
564
+ minHeight: 56,
565
+ },
566
+ headerSide: { width: 56 },
567
+ headerTitle: { flex: 1, textAlign: 'center', fontSize: 17, fontWeight: '600', color: ui.ink },
568
+ largeTitle: { paddingHorizontal: PAD + 4, marginTop: 8, marginBottom: 6 },
569
+
570
+ idea: { flexDirection: 'row', alignItems: 'flex-start', gap: 14, paddingVertical: 13, paddingHorizontal: PAD + 4 },
571
+ ideaEmoji: { fontSize: 25, lineHeight: 30, width: 32, textAlign: 'center' },
572
+ ideaIcon: {
573
+ width: 32,
574
+ height: 32,
575
+ borderRadius: 12,
576
+ backgroundColor: ui.accentSoft,
577
+ alignItems: 'center',
578
+ justifyContent: 'center',
579
+ },
580
+ hairlineBottom: { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: ui.hairline },
581
+
582
+ groupLabel: { paddingHorizontal: PAD + 6, marginTop: 24, marginBottom: 8 },
583
+ group: { marginHorizontal: PAD, borderRadius: radius.group, backgroundColor: ui.surface, overflow: 'hidden' },
584
+ row: { flexDirection: 'row', alignItems: 'center', paddingLeft: 14, minHeight: 48 },
585
+ rowIcon: {
586
+ width: 30,
587
+ height: 30,
588
+ borderRadius: 8,
589
+ backgroundColor: ui.accentSoft,
590
+ alignItems: 'center',
591
+ justifyContent: 'center',
592
+ marginRight: 12,
593
+ },
594
+ rowMain: {
595
+ flex: 1,
596
+ flexDirection: 'row',
597
+ alignItems: 'center',
598
+ gap: 8,
599
+ paddingVertical: 11,
600
+ paddingRight: 14,
601
+ minHeight: 48,
602
+ },
603
+ capsule: {
604
+ flexDirection: 'row',
605
+ alignItems: 'center',
606
+ height: 38,
607
+ paddingHorizontal: 4,
608
+ borderRadius: 19,
609
+ backgroundColor: ui.surface,
610
+ ...float,
611
+ },
612
+ capsuleBtn: { width: 36, height: 36, alignItems: 'center', justifyContent: 'center' },
613
+ tabBar: {
614
+ alignSelf: 'center',
615
+ flexDirection: 'row',
616
+ alignItems: 'center',
617
+ gap: 4,
618
+ height: 54,
619
+ paddingHorizontal: 6,
620
+ borderRadius: 27,
621
+ backgroundColor: ui.surface,
622
+ ...float,
623
+ },
624
+ tab: {
625
+ minWidth: 48,
626
+ height: 42,
627
+ paddingHorizontal: 12,
628
+ alignItems: 'center',
629
+ justifyContent: 'center',
630
+ flexDirection: 'row',
631
+ gap: 7,
632
+ borderRadius: 21,
633
+ },
634
+ tabOn: { paddingHorizontal: 16, backgroundColor: ui.accentSoft },
635
+ tabLabel: { fontSize: 14, fontWeight: '600', color: ui.accentText },
636
+ tabDot: {
637
+ position: 'absolute',
638
+ top: -2,
639
+ right: -3,
640
+ width: 8,
641
+ height: 8,
642
+ borderRadius: 4,
643
+ backgroundColor: ui.accent,
644
+ borderWidth: 1.5,
645
+ borderColor: ui.surface,
646
+ },
647
+ segmented: {
648
+ flexDirection: 'row',
649
+ marginHorizontal: PAD,
650
+ padding: 3,
651
+ borderRadius: radius.pill,
652
+ backgroundColor: ui.fill,
653
+ },
654
+ segment: { flex: 1, height: 34, alignItems: 'center', justifyContent: 'center', borderRadius: radius.pill },
655
+ segmentOn: { backgroundColor: ui.surface, ...lift },
656
+ segmentText: { fontSize: 14, fontWeight: '500', color: ui.muted },
657
+ rowLink: { fontSize: 16, fontWeight: '500', color: ui.accentText },
658
+
659
+ search: {
660
+ flexDirection: 'row',
661
+ alignItems: 'center',
662
+ gap: 8,
663
+ marginHorizontal: PAD,
664
+ height: 44,
665
+ paddingHorizontal: 14,
666
+ borderRadius: radius.pill,
667
+ backgroundColor: ui.surface,
668
+ },
669
+ searchInput: { flex: 1, fontSize: 16, color: ui.ink, paddingVertical: 0, ...fieldLine },
670
+
671
+ bubble: { maxWidth: '84%', paddingVertical: 11, paddingHorizontal: 15, borderRadius: radius.bubble },
672
+ bubbleLucy: { alignSelf: 'flex-start', backgroundColor: ui.bubbleLucy },
673
+ bubbleYou: { alignSelf: 'flex-end', backgroundColor: ui.bubbleYou },
674
+
675
+ composer: {
676
+ flexDirection: 'row',
677
+ alignItems: 'flex-end',
678
+ gap: 4,
679
+ minHeight: 52,
680
+ paddingVertical: 6,
681
+ paddingHorizontal: 6,
682
+ borderRadius: 26,
683
+ backgroundColor: ui.surface,
684
+ ...lift,
685
+ ...float,
686
+ },
687
+ composerPlus: { width: 40, height: 40, alignItems: 'center', justifyContent: 'center' },
688
+ composerInput: {
689
+ flex: 1,
690
+ maxHeight: 120,
691
+ minHeight: 40,
692
+ paddingTop: 10,
693
+ paddingBottom: 10,
694
+ fontSize: 16,
695
+ lineHeight: 21,
696
+ color: ui.ink,
697
+ ...field,
698
+ },
699
+ send: { width: 40, height: 40, borderRadius: 20, alignItems: 'center', justifyContent: 'center' },
700
+ });