@adminide-stack/yantra-mobile 12.0.149-alpha.2 → 12.0.149

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 (34) hide show
  1. package/lib/features/apps/mobileAppCatalog.js +2 -2
  2. package/lib/features/apps/mobileAppCatalog.js.map +1 -1
  3. package/lib/features/devices/bodyComposition.js +116 -0
  4. package/lib/features/devices/bodyComposition.js.map +1 -0
  5. package/lib/features/devices/readings.js.map +1 -1
  6. package/lib/features/devices/session.js +22 -2
  7. package/lib/features/devices/session.js.map +1 -1
  8. package/lib/features/dictate/DictateExperience.js +125 -8
  9. package/lib/features/dictate/DictateExperience.js.map +1 -1
  10. package/lib/features/dictate/components/DictationList.js +4 -4
  11. package/lib/features/dictate/components/DictationList.js.map +1 -1
  12. package/lib/features/dictate/components/NoteChat.js +272 -0
  13. package/lib/features/dictate/components/NoteChat.js.map +1 -0
  14. package/lib/features/dictate/components/NoteView.js +219 -86
  15. package/lib/features/dictate/components/NoteView.js.map +1 -1
  16. package/lib/features/dictate/components/Redacted.js +19 -0
  17. package/lib/features/dictate/components/Redacted.js.map +1 -0
  18. package/lib/features/dictate/dictateClient.js +177 -90
  19. package/lib/features/dictate/dictateClient.js.map +1 -1
  20. package/lib/features/dictate/dictationStore.js +2 -2
  21. package/lib/features/dictate/dictationStore.js.map +1 -1
  22. package/lib/features/dictate/kinds.js +76 -0
  23. package/lib/features/dictate/kinds.js.map +1 -0
  24. package/lib/features/dictate/noteShape.js +132 -0
  25. package/lib/features/dictate/noteShape.js.map +1 -0
  26. package/lib/features/dictate/noteText.js +8 -17
  27. package/lib/features/dictate/noteText.js.map +1 -1
  28. package/lib/features/dictate/privacy.js +68 -8
  29. package/lib/features/dictate/privacy.js.map +1 -1
  30. package/lib/features/dictate/shownNote.js +18 -9
  31. package/lib/features/dictate/shownNote.js.map +1 -1
  32. package/lib/screens/Devices/index.js +205 -3
  33. package/lib/screens/Devices/index.js.map +1 -1
  34. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {useState,useEffect}from'react';import {View,StyleSheet,Text,ScrollView,ActivityIndicator}from'react-native';import {MaterialCommunityIcons}from'@expo/vector-icons';import {Tap,DIM}from'../../inbox/components/Tap.js';import {formatDuration,NOTE_DISCLAIMER,SUGGESTION_HEADINGS,SUGGESTION_DISCLAIMER}from'../noteText.js';import {splitPlaceholders,placeholderLabel}from'../privacy.js';import {shownNote}from'../shownNote.js';const STAGE_TEXT = {
1
+ import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {useState,useRef,useEffect}from'react';import {View,StyleSheet,Text,ScrollView,ActivityIndicator}from'react-native';import {MaterialCommunityIcons}from'@expo/vector-icons';import {Tap,DIM}from'../../inbox/components/Tap.js';import {canRewrite}from'../dictateClient.js';import {ACTIONS_HEADING,KIND_ICON,KIND_LABEL,DICTATION_KINDS,suggestionInvite,SUGGESTION_ORDER,SUGGESTION_ICON,suggestionHeading,suggestionDisclaimer}from'../kinds.js';import {formatDuration,NOTE_DISCLAIMER}from'../noteText.js';import {hideKnown,knownIdentifiers}from'../privacy.js';import {shownNote}from'../shownNote.js';import {ChatThread,ChatComposer}from'./NoteChat.js';import {Redacted}from'./Redacted.js';const STAGE_TEXT = {
2
2
  uploading: "Uploading the recording\u2026",
3
3
  writing: "Transcribing and writing the note\u2026"
4
4
  };
@@ -11,21 +11,13 @@ function dictationDate(iso) {
11
11
  minute: "2-digit"
12
12
  });
13
13
  }
14
- function Redacted({
15
- text,
16
- theme
17
- }) {
18
- const runs = splitPlaceholders(text);
19
- if (runs.length === 1 && !runs[0].placeholder) return /* @__PURE__ */ jsx(Fragment, { children: text });
20
- return /* @__PURE__ */ jsx(Fragment, { children: runs.map((run, i) => run.placeholder ? /* @__PURE__ */ jsx(Text, { style: [styles.placeholder, {
21
- backgroundColor: theme.chip,
22
- color: theme.muted
23
- }], accessibilityLabel: `${placeholderLabel(run.text)}, hidden`, children: `\xA0${placeholderLabel(run.text).replace(/ /g, "\xA0")}\xA0` }, i) : run.text) });
24
- }
14
+ const PROSE_KINDS = ["story", "journal"];
25
15
  function Section({
26
16
  title,
27
17
  items,
28
- theme
18
+ theme,
19
+ icon,
20
+ prose
29
21
  }) {
30
22
  if (!items.length) return null;
31
23
  return /* @__PURE__ */ jsxs(View, { style: [styles.card, {
@@ -35,8 +27,10 @@ function Section({
35
27
  /* @__PURE__ */ jsx(Text, { style: [styles.heading, {
36
28
  color: theme.muted
37
29
  }], children: title }),
38
- items.map((item, i) => /* @__PURE__ */ jsxs(View, { style: styles.item, children: [
39
- /* @__PURE__ */ jsx(View, { style: [styles.bullet, {
30
+ items.map((item, i) => prose ? /* @__PURE__ */ jsx(Text, { style: [styles.itemText, styles.paragraph, {
31
+ color: theme.ink
32
+ }], children: /* @__PURE__ */ jsx(Redacted, { text: item, theme }) }, i) : /* @__PURE__ */ jsxs(View, { style: styles.item, children: [
33
+ icon ? /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: icon, size: 16, color: theme.faint, style: styles.itemIcon }) : /* @__PURE__ */ jsx(View, { style: [styles.bullet, {
40
34
  backgroundColor: theme.faint
41
35
  }] }),
42
36
  /* @__PURE__ */ jsx(Text, { style: [styles.itemText, {
@@ -45,6 +39,59 @@ function Section({
45
39
  ] }, i))
46
40
  ] });
47
41
  }
42
+ function KindRow({
43
+ kind,
44
+ meta,
45
+ changeable,
46
+ state,
47
+ onRewrite,
48
+ theme
49
+ }) {
50
+ const [picking, setPicking] = useState(false);
51
+ const busy = state.status === "loading";
52
+ const chip = /* @__PURE__ */ jsxs(View, { style: styles.kindChipInner, children: [
53
+ busy ? /* @__PURE__ */ jsx(ActivityIndicator, { color: theme.accent, size: "small" }) : /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: KIND_ICON[kind], size: 15, color: theme.accent }),
54
+ /* @__PURE__ */ jsx(Text, { style: [styles.kindChipText, {
55
+ color: theme.accent
56
+ }], children: busy ? "Rewriting\u2026" : KIND_LABEL[kind] }),
57
+ changeable && !busy ? /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: picking ? "chevron-up" : "chevron-down", size: 16, color: theme.accent }) : null
58
+ ] });
59
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
60
+ /* @__PURE__ */ jsxs(View, { style: styles.kindRow, children: [
61
+ changeable ? /* @__PURE__ */ jsx(Tap, { onPress: () => setPicking((p) => !p), disabled: busy, accessibilityRole: "button", accessibilityLabel: `Written as ${KIND_LABEL[kind]}. Change`, style: [styles.kindChip, {
62
+ backgroundColor: theme.accentSoft
63
+ }], pressedStyle: DIM, children: chip }) : /* @__PURE__ */ jsx(View, { style: [styles.kindChip, {
64
+ backgroundColor: theme.accentSoft
65
+ }], children: chip }),
66
+ /* @__PURE__ */ jsx(Text, { style: [styles.meta, {
67
+ color: theme.faint
68
+ }], children: meta })
69
+ ] }),
70
+ picking && !busy ? /* @__PURE__ */ jsxs(View, { style: [styles.picker, {
71
+ backgroundColor: theme.card,
72
+ borderColor: theme.border
73
+ }], children: [
74
+ /* @__PURE__ */ jsx(Text, { style: [styles.pickerLead, {
75
+ color: theme.muted
76
+ }], children: "Write it again as" }),
77
+ /* @__PURE__ */ jsx(View, { style: styles.pickerChips, children: DICTATION_KINDS.filter((k) => k !== kind).map((k) => /* @__PURE__ */ jsxs(Tap, { onPress: () => {
78
+ setPicking(false);
79
+ onRewrite(k);
80
+ }, accessibilityRole: "button", accessibilityLabel: `Write it as ${KIND_LABEL[k]}`, style: [styles.pickerChip, {
81
+ borderColor: theme.border,
82
+ backgroundColor: theme.screen
83
+ }], pressedStyle: DIM, children: [
84
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: KIND_ICON[k], size: 15, color: theme.muted }),
85
+ /* @__PURE__ */ jsx(Text, { style: [styles.pickerChipText, {
86
+ color: theme.ink
87
+ }], children: KIND_LABEL[k] })
88
+ ] }, k)) })
89
+ ] }) : null,
90
+ state.status === "error" ? /* @__PURE__ */ jsx(Text, { style: [styles.rewriteError, {
91
+ color: theme.crit
92
+ }], children: state.message }) : null
93
+ ] });
94
+ }
48
95
  function PrivacyRow({
49
96
  record,
50
97
  showIdentifiers,
@@ -68,7 +115,7 @@ function PrivacyRow({
68
115
  }], children: line }),
69
116
  redaction.method === "patterns" && count ? /* @__PURE__ */ jsx(Text, { style: [styles.privacyNote, {
70
117
  color: theme.warnInk
71
- }], children: "Found without the medical transcriber; check that no name was missed." }) : null
118
+ }], children: "Found by pattern only; check that no name was missed." }) : null
72
119
  ] }),
73
120
  count ? /* @__PURE__ */ jsx(Tap, { onPress: onToggle, accessibilityRole: "button", accessibilityLabel: showIdentifiers ? "Hide names and numbers" : "Show names and numbers", style: [styles.privacyToggle, {
74
121
  borderColor: theme.border,
@@ -78,13 +125,8 @@ function PrivacyRow({
78
125
  }], children: showIdentifiers ? "Hide" : "Show" }) }) : null
79
126
  ] });
80
127
  }
81
- const SUGGESTION_ICON = {
82
- missing: "text-box-plus-outline",
83
- safety: "alert-octagon-outline",
84
- coding: "tag-outline",
85
- follow_up: "calendar-check-outline"
86
- };
87
128
  function Suggestions({
129
+ noteKind,
88
130
  items,
89
131
  state,
90
132
  onSuggest,
@@ -95,13 +137,13 @@ function Suggestions({
95
137
  if (!items) {
96
138
  content = /* @__PURE__ */ jsx(Text, { style: [styles.suggestWhy, {
97
139
  color: theme.muted
98
- }], children: "Ask the AI to read the note and point out what to add or check before you sign. It reads the note with names and numbers hidden." });
140
+ }], children: suggestionInvite(noteKind) });
99
141
  } else if (!items.length) {
100
142
  content = /* @__PURE__ */ jsx(Text, { style: [styles.suggestWhy, {
101
143
  color: theme.muted
102
144
  }], children: "Nothing to add: the note covers what the AI would check." });
103
145
  } else {
104
- content = Object.keys(SUGGESTION_HEADINGS).map((kind) => {
146
+ content = SUGGESTION_ORDER.map((kind) => {
105
147
  const group = items.filter((s) => s.kind === kind);
106
148
  if (!group.length) return null;
107
149
  return /* @__PURE__ */ jsxs(View, { style: styles.suggestGroup, children: [
@@ -109,7 +151,7 @@ function Suggestions({
109
151
  /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: SUGGESTION_ICON[kind], size: 16, color: kind === "safety" ? theme.crit : theme.accent }),
110
152
  /* @__PURE__ */ jsx(Text, { style: [styles.suggestKind, {
111
153
  color: theme.ink
112
- }], children: SUGGESTION_HEADINGS[kind] })
154
+ }], children: suggestionHeading(kind, noteKind) })
113
155
  ] }),
114
156
  group.map((s, i) => /* @__PURE__ */ jsxs(View, { style: styles.suggestItem, children: [
115
157
  /* @__PURE__ */ jsx(Text, { style: [styles.suggestText, {
@@ -147,7 +189,7 @@ function Suggestions({
147
189
  ] }),
148
190
  (items == null ? void 0 : items.length) ? /* @__PURE__ */ jsx(Text, { style: [styles.suggestFoot, {
149
191
  color: theme.faint
150
- }], children: SUGGESTION_DISCLAIMER }) : null
192
+ }], children: suggestionDisclaimer(noteKind) }) : null
151
193
  ] });
152
194
  }
153
195
  function actionTone(action, theme) {
@@ -235,10 +277,32 @@ function NoteView({
235
277
  showIdentifiers,
236
278
  onToggleIdentifiers,
237
279
  suggestState,
238
- onSuggest
280
+ onSuggest,
281
+ rewriteState,
282
+ onRewrite,
283
+ askState,
284
+ onAsk,
285
+ onClearChat
239
286
  }) {
240
- var _a;
287
+ var _a, _b, _c;
241
288
  const [showTranscript, setShowTranscript] = useState(false);
289
+ const scrollRef = useRef(null);
290
+ const turnCount = (_b = (_a = record.chat) == null ? void 0 : _a.turns.length) != null ? _b : 0;
291
+ const seen = useRef({
292
+ turns: turnCount,
293
+ ask: askState.status
294
+ });
295
+ useEffect(() => {
296
+ var _a2, _b2;
297
+ const moved = turnCount !== seen.current.turns || askState.status === "loading" && seen.current.ask !== "loading";
298
+ seen.current = {
299
+ turns: turnCount,
300
+ ask: askState.status
301
+ };
302
+ if (moved) (_b2 = (_a2 = scrollRef.current) == null ? void 0 : _a2.scrollToEnd) == null ? void 0 : _b2.call(_a2, {
303
+ animated: true
304
+ });
305
+ }, [turnCount, askState.status]);
242
306
  const meta = [dictationDate(record.createdAt), formatDuration(record.durationMs)].filter(Boolean).join(" \xB7 ");
243
307
  if (record.status === "writing" || record.status === "saved" && stage) {
244
308
  return /* @__PURE__ */ jsx(Writing, { stage: stage != null ? stage : "writing", theme });
@@ -251,7 +315,7 @@ function NoteView({
251
315
  }], children: "No note yet" }),
252
316
  /* @__PURE__ */ jsx(Text, { style: [styles.centerDetail, {
253
317
  color: theme.muted
254
- }], children: (_a = record.error) != null ? _a : "The recording is saved on this phone." }),
318
+ }], children: (_c = record.error) != null ? _c : "The recording is saved on this phone." }),
255
319
  record.audioUri ? /* @__PURE__ */ jsx(Tap, { onPress: onRetry, accessibilityRole: "button", style: [styles.retry, {
256
320
  backgroundColor: theme.accent
257
321
  }], pressedStyle: DIM, children: /* @__PURE__ */ jsx(Text, { style: [styles.retryText, {
@@ -262,62 +326,71 @@ function NoteView({
262
326
  const {
263
327
  note,
264
328
  transcript,
265
- suggestions
329
+ suggestions,
330
+ turns
266
331
  } = shownNote(record, record.note, showIdentifiers);
267
- return /* @__PURE__ */ jsxs(ScrollView, { contentContainerStyle: [styles.scroll, {
268
- paddingBottom: 24 + bottomInset
269
- }], children: [
270
- /* @__PURE__ */ jsx(Text, { style: [styles.title, {
271
- color: theme.ink
272
- }], children: /* @__PURE__ */ jsx(Redacted, { text: note.title, theme }) }),
273
- /* @__PURE__ */ jsx(Text, { style: [styles.meta, {
274
- color: theme.faint
275
- }], children: meta }),
276
- /* @__PURE__ */ jsx(PrivacyRow, { record, showIdentifiers, onToggle: onToggleIdentifiers, theme }),
277
- note.to_verify.length ? /* @__PURE__ */ jsxs(View, { style: [styles.verify, {
278
- backgroundColor: theme.warnSoft,
279
- borderColor: theme.warnBorder
280
- }], children: [
281
- /* @__PURE__ */ jsxs(View, { style: styles.verifyHead, children: [
282
- /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "alert-outline", size: 18, color: theme.warnInk }),
283
- /* @__PURE__ */ jsx(Text, { style: [styles.verifyTitle, {
284
- color: theme.warnInk
285
- }], children: "Check before you use" })
286
- ] }),
287
- note.to_verify.map((item, i) => /* @__PURE__ */ jsxs(Text, { style: [styles.verifyItem, {
288
- color: theme.warnInk
332
+ const privateNote = !!record.redaction;
333
+ let pendingText = "";
334
+ if (askState.status !== "idle") pendingText = showIdentifiers ? askState.text : hideKnown(askState.text, knownIdentifiers(record)).text;
335
+ return /* @__PURE__ */ jsxs(View, { style: styles.fill, children: [
336
+ /* @__PURE__ */ jsxs(ScrollView, { ref: scrollRef, contentContainerStyle: [styles.scroll, {
337
+ paddingBottom: privateNote ? 16 : 24 + bottomInset
338
+ }], keyboardShouldPersistTaps: "handled", keyboardDismissMode: "interactive", children: [
339
+ /* @__PURE__ */ jsx(Text, { style: [styles.title, {
340
+ color: theme.ink
341
+ }], children: /* @__PURE__ */ jsx(Redacted, { text: note.title, theme }) }),
342
+ /* @__PURE__ */ jsx(KindRow, { kind: note.kind, meta, changeable: canRewrite(record.redaction), state: rewriteState, onRewrite, theme }),
343
+ /* @__PURE__ */ jsx(PrivacyRow, { record, showIdentifiers, onToggle: onToggleIdentifiers, theme }),
344
+ note.to_verify.length ? /* @__PURE__ */ jsxs(View, { style: [styles.verify, {
345
+ backgroundColor: theme.warnSoft,
346
+ borderColor: theme.warnBorder
289
347
  }], children: [
290
- "\u2022 ",
291
- /* @__PURE__ */ jsx(Redacted, { text: item, theme })
292
- ] }, i))
293
- ] }) : null,
294
- /* @__PURE__ */ jsx(Section, { title: "SUBJECTIVE", items: note.subjective, theme }),
295
- /* @__PURE__ */ jsx(Section, { title: "OBJECTIVE", items: note.objective, theme }),
296
- /* @__PURE__ */ jsx(Section, { title: "ASSESSMENT", items: note.assessment, theme }),
297
- /* @__PURE__ */ jsx(Section, { title: "PLAN", items: note.plan, theme }),
298
- /* @__PURE__ */ jsx(Medications, { meds: note.medications, theme }),
299
- note.follow_up ? /* @__PURE__ */ jsx(Section, { title: "FOLLOW-UP", items: [note.follow_up], theme }) : null,
300
- record.redaction ? /* @__PURE__ */ jsx(Suggestions, { items: suggestions, state: suggestState, onSuggest, theme }) : null,
301
- transcript ? /* @__PURE__ */ jsxs(View, { style: [styles.card, {
302
- backgroundColor: theme.card,
303
- borderColor: theme.border
304
- }], children: [
305
- /* @__PURE__ */ jsxs(Tap, { onPress: () => setShowTranscript((v) => !v), accessibilityRole: "button", style: styles.transcriptToggle, pressedStyle: DIM, children: [
306
- /* @__PURE__ */ jsx(Text, { style: [styles.heading, styles.headingFlat, {
307
- color: theme.muted
308
- }], children: "TRANSCRIPT" }),
309
- /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: showTranscript ? "chevron-up" : "chevron-down", size: 20, color: theme.muted })
310
- ] }),
311
- showTranscript ? /* @__PURE__ */ jsx(Text, { style: [styles.transcript, {
348
+ /* @__PURE__ */ jsxs(View, { style: styles.verifyHead, children: [
349
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: "alert-outline", size: 18, color: theme.warnInk }),
350
+ /* @__PURE__ */ jsx(Text, { style: [styles.verifyTitle, {
351
+ color: theme.warnInk
352
+ }], children: "Check before you use" })
353
+ ] }),
354
+ note.to_verify.map((item, i) => /* @__PURE__ */ jsxs(Text, { style: [styles.verifyItem, {
355
+ color: theme.warnInk
356
+ }], children: [
357
+ "\u2022 ",
358
+ /* @__PURE__ */ jsx(Redacted, { text: item, theme })
359
+ ] }, i))
360
+ ] }) : null,
361
+ note.summary ? /* @__PURE__ */ jsx(Text, { style: [styles.summary, {
312
362
  color: theme.ink
313
- }], children: /* @__PURE__ */ jsx(Redacted, { text: transcript, theme }) }) : null
314
- ] }) : null,
315
- /* @__PURE__ */ jsx(Text, { style: [styles.disclaimer, {
316
- color: theme.faint
317
- }], children: NOTE_DISCLAIMER })
363
+ }], children: /* @__PURE__ */ jsx(Redacted, { text: note.summary, theme }) }) : null,
364
+ note.sections.map((s, i) => /* @__PURE__ */ jsx(Section, { title: s.heading.toUpperCase(), items: s.items, theme, prose: PROSE_KINDS.includes(note.kind) }, `${s.heading}-${i}`)),
365
+ /* @__PURE__ */ jsx(Section, { title: ACTIONS_HEADING[note.kind], items: note.actions, theme, icon: "checkbox-blank-outline" }),
366
+ /* @__PURE__ */ jsx(Medications, { meds: note.medications, theme }),
367
+ privateNote ? /* @__PURE__ */ jsx(Suggestions, { noteKind: note.kind, items: suggestions, state: suggestState, onSuggest, theme }) : null,
368
+ transcript ? /* @__PURE__ */ jsxs(View, { style: [styles.card, {
369
+ backgroundColor: theme.card,
370
+ borderColor: theme.border
371
+ }], children: [
372
+ /* @__PURE__ */ jsxs(Tap, { onPress: () => setShowTranscript((v) => !v), accessibilityRole: "button", style: styles.transcriptToggle, pressedStyle: DIM, children: [
373
+ /* @__PURE__ */ jsx(Text, { style: [styles.heading, styles.headingFlat, {
374
+ color: theme.muted
375
+ }], children: "TRANSCRIPT" }),
376
+ /* @__PURE__ */ jsx(MaterialCommunityIcons, { name: showTranscript ? "chevron-up" : "chevron-down", size: 20, color: theme.muted })
377
+ ] }),
378
+ showTranscript ? /* @__PURE__ */ jsx(Text, { style: [styles.transcript, {
379
+ color: theme.ink
380
+ }], children: /* @__PURE__ */ jsx(Redacted, { text: transcript, theme }) }) : null
381
+ ] }) : null,
382
+ privateNote ? /* @__PURE__ */ jsx(ChatThread, { kind: note.kind, turns, state: askState, pendingText, theme, onAsk, onClear: onClearChat }) : null,
383
+ /* @__PURE__ */ jsx(Text, { style: [styles.disclaimer, {
384
+ color: theme.faint
385
+ }], children: NOTE_DISCLAIMER })
386
+ ] }),
387
+ privateNote ? /* @__PURE__ */ jsx(ChatComposer, { theme, busy: askState.status === "loading", bottomInset, onSend: onAsk }) : null
318
388
  ] });
319
389
  }
320
390
  const styles = StyleSheet.create({
391
+ fill: {
392
+ flex: 1
393
+ },
321
394
  scroll: {
322
395
  paddingHorizontal: 16,
323
396
  paddingTop: 8
@@ -327,10 +400,68 @@ const styles = StyleSheet.create({
327
400
  fontWeight: "700",
328
401
  lineHeight: 27
329
402
  },
403
+ kindRow: {
404
+ marginTop: 8,
405
+ flexDirection: "row",
406
+ alignItems: "center",
407
+ flexWrap: "wrap",
408
+ gap: 10
409
+ },
410
+ kindChip: {
411
+ borderRadius: 999,
412
+ paddingHorizontal: 10,
413
+ paddingVertical: 5
414
+ },
415
+ kindChipInner: {
416
+ flexDirection: "row",
417
+ alignItems: "center",
418
+ gap: 5
419
+ },
420
+ kindChipText: {
421
+ fontSize: 13,
422
+ fontWeight: "600"
423
+ },
330
424
  meta: {
331
- marginTop: 4,
332
425
  fontSize: 13
333
426
  },
427
+ picker: {
428
+ marginTop: 10,
429
+ borderRadius: 14,
430
+ borderWidth: StyleSheet.hairlineWidth,
431
+ padding: 12
432
+ },
433
+ pickerLead: {
434
+ fontSize: 12,
435
+ fontWeight: "600"
436
+ },
437
+ pickerChips: {
438
+ marginTop: 8,
439
+ flexDirection: "row",
440
+ flexWrap: "wrap",
441
+ gap: 8
442
+ },
443
+ pickerChip: {
444
+ flexDirection: "row",
445
+ alignItems: "center",
446
+ gap: 6,
447
+ paddingHorizontal: 12,
448
+ paddingVertical: 7,
449
+ borderRadius: 999,
450
+ borderWidth: StyleSheet.hairlineWidth
451
+ },
452
+ pickerChipText: {
453
+ fontSize: 14
454
+ },
455
+ rewriteError: {
456
+ marginTop: 8,
457
+ fontSize: 13,
458
+ lineHeight: 18
459
+ },
460
+ summary: {
461
+ marginTop: 14,
462
+ fontSize: 15,
463
+ lineHeight: 22
464
+ },
334
465
  verify: {
335
466
  marginTop: 16,
336
467
  borderRadius: 14,
@@ -380,11 +511,19 @@ const styles = StyleSheet.create({
380
511
  marginTop: 8,
381
512
  marginRight: 10
382
513
  },
514
+ itemIcon: {
515
+ marginTop: 3,
516
+ marginRight: 8
517
+ },
383
518
  itemText: {
384
519
  flex: 1,
385
520
  fontSize: 15,
386
521
  lineHeight: 21
387
522
  },
523
+ paragraph: {
524
+ marginTop: 8,
525
+ lineHeight: 23
526
+ },
388
527
  med: {
389
528
  flexDirection: "row",
390
529
  alignItems: "center",
@@ -428,12 +567,6 @@ const styles = StyleSheet.create({
428
567
  fontSize: 12,
429
568
  textAlign: "center"
430
569
  },
431
- placeholder: {
432
- fontSize: 13,
433
- fontWeight: "600",
434
- borderRadius: 4,
435
- overflow: "hidden"
436
- },
437
570
  privacy: {
438
571
  marginTop: 12,
439
572
  borderRadius: 12,