@gemies/sdk 9.1.0 → 10.0.0

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 (92) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/README.md +9 -6
  3. package/package.json +4 -11
  4. package/src/accounts.ts +7 -1
  5. package/src/ask-eager.ts +0 -2
  6. package/src/ask-text.ts +0 -1
  7. package/src/ask.ts +0 -1
  8. package/src/components/AmbientField.tsx +13 -2
  9. package/src/components/ComposerDropZone.tsx +20 -4
  10. package/src/components/ComposerSuggestions.tsx +9 -2
  11. package/src/components/GemieActivityLine.tsx +11 -5
  12. package/src/components/GemieBetweenGemies.tsx +23 -10
  13. package/src/components/GemieChatContent.tsx +65 -23
  14. package/src/components/GemieChatScreen.tsx +7 -4
  15. package/src/components/GemieChatSheet.tsx +6 -2
  16. package/src/components/GemieComposer.tsx +17 -7
  17. package/src/components/GemieGroupWelcome.tsx +16 -2
  18. package/src/components/GemieRecentConversations.tsx +13 -10
  19. package/src/components/GemieSharedConversation.tsx +38 -6
  20. package/src/components/GemieWelcomeMessage.tsx +23 -7
  21. package/src/components/IdentityMark.tsx +6 -12
  22. package/src/components/PlanPreviewCard.tsx +18 -7
  23. package/src/components/QuestionCard.tsx +6 -2
  24. package/src/components/ReplyMarkdown.tsx +32 -6
  25. package/src/components/RichBlocks.tsx +20 -15
  26. package/src/components/accounts/GemieAccountGrants.tsx +27 -10
  27. package/src/components/accounts/GemieConnectedAccounts.tsx +87 -51
  28. package/src/components/canvas/CanvasComponent.tsx +6 -2
  29. package/src/components/canvas/DashboardRenderer.tsx +25 -8
  30. package/src/components/canvas/DeckRenderer.tsx +23 -6
  31. package/src/components/canvas/FormRenderer.tsx +8 -3
  32. package/src/components/connectors/ConnectorLogo.tsx +15 -9
  33. package/src/components/connectors/GemieConnectedConnectors.tsx +51 -25
  34. package/src/components/connectors/GemieConnectorsStore.tsx +99 -41
  35. package/src/components/connectors/GrantSwitchRow.tsx +18 -5
  36. package/src/components/thought/ThoughtPanel.tsx +26 -12
  37. package/src/components/thought/ToolStep.tsx +14 -6
  38. package/src/components/thread/AgentResultCard.tsx +10 -4
  39. package/src/components/thread/AgentTaskCard.tsx +8 -3
  40. package/src/components/thread/ApprovalCard.tsx +118 -0
  41. package/src/components/thread/ChatBubble.tsx +66 -25
  42. package/src/components/thread/GemieThread.tsx +36 -8
  43. package/src/components/thread/ThreadRow.tsx +20 -15
  44. package/src/components/thread/ThreadSearch.tsx +27 -10
  45. package/src/components/thread/ThreadSkeleton.tsx +12 -6
  46. package/src/components/thread/ToolResultCard.tsx +10 -4
  47. package/src/components/thread/TurnAttachments.tsx +17 -8
  48. package/src/components/voice/VoiceControls.tsx +9 -6
  49. package/src/connectors.ts +15 -2
  50. package/src/hooks/useChatVoice.ts +2 -10
  51. package/src/hooks/useMessageReactions.ts +5 -5
  52. package/src/hooks/useThoughtScope.ts +9 -8
  53. package/src/index.ts +2 -3
  54. package/src/lib/copy-en.ts +7 -0
  55. package/src/lib/copy-es.ts +7 -0
  56. package/src/lib/tool-call-status.ts +1 -1
  57. package/src/lib/utils.ts +1 -8
  58. package/src/realtime/react.tsx +9 -9
  59. package/src/realtime/reread.ts +28 -0
  60. package/src/realtime/store.ts +123 -0
  61. package/src/runtime/agents.ts +46 -27
  62. package/src/runtime/approvals.ts +99 -0
  63. package/src/runtime/collections.ts +35 -136
  64. package/src/runtime/config.tsx +10 -0
  65. package/src/runtime/connected-accounts.ts +175 -88
  66. package/src/runtime/connectors.ts +244 -127
  67. package/src/runtime/conversations.ts +181 -607
  68. package/src/runtime/data/answer.ts +76 -0
  69. package/src/runtime/data/collections.ts +168 -0
  70. package/src/runtime/data/conversations.ts +626 -0
  71. package/src/runtime/data/reactions.ts +29 -0
  72. package/src/runtime/data/read.ts +37 -0
  73. package/src/runtime/data/threads.ts +149 -0
  74. package/src/runtime/index.ts +74 -8
  75. package/src/runtime/model.ts +0 -2
  76. package/src/runtime/routes.ts +2 -2
  77. package/src/runtime/sharing.ts +69 -56
  78. package/src/runtime/types.ts +8 -16
  79. package/src/runtime/use-bound-action.ts +27 -0
  80. package/src/runtime/use-conversation-stream.ts +47 -31
  81. package/src/runtime/use-conversation-thread.ts +44 -51
  82. package/src/runtime/use-gemie-thread.ts +32 -43
  83. package/src/runtime/use-start-conversation.ts +14 -15
  84. package/src/runtime/use-thread-history.ts +26 -36
  85. package/src/runtime/use-thread-search.ts +29 -76
  86. package/src/text.ts +0 -1
  87. package/src/voice.ts +0 -1
  88. package/src/components/Image.tsx +0 -12
  89. package/src/realtime/cache.ts +0 -257
  90. package/src/runtime/conversation-dates.ts +0 -31
  91. package/src/runtime/query-keys.ts +0 -66
  92. package/src/runtime/reaction-cache.ts +0 -45
@@ -1,6 +1,6 @@
1
1
  import { useLabels } from '../../lib/labels';
2
2
  import { Muted, Text } from '@oxy.so/bloom/typography';
3
- import { View } from 'react-native';
3
+ import { View, StyleSheet } from 'react-native';
4
4
  import { ChartRenderer } from './ChartRenderer';
5
5
  import { CodeRenderer } from './CodeRenderer';
6
6
  import { DashboardRenderer } from './DashboardRenderer';
@@ -57,9 +57,13 @@ export function CanvasComponent({ component, onFormSubmit }: CanvasComponentProp
57
57
  })();
58
58
 
59
59
  return (
60
- <View className="gap-3">
60
+ <View style={styles.component}>
61
61
  <Text variant="body-semibold">{component.title}</Text>
62
62
  {content}
63
63
  </View>
64
64
  );
65
65
  }
66
+
67
+ const styles = StyleSheet.create({
68
+ component: { gap: 12 },
69
+ });
@@ -3,6 +3,7 @@ import { View } from 'react-native';
3
3
  import { ChartRenderer } from './ChartRenderer';
4
4
  import { MarkdownRenderer } from './MarkdownRenderer';
5
5
  import { TableRenderer } from './TableRenderer';
6
+ import { createTokenStyles } from '@oxy.so/bloom/theme';
6
7
 
7
8
  export type DashboardWidget =
8
9
  | { kind: 'stat'; label: string; value: string; delta?: string }
@@ -22,20 +23,18 @@ interface DashboardRendererProps {
22
23
 
23
24
  /** A dashboard: its stats in a row, then its charts, tables and notes, each drawn by its own renderer. */
24
25
  export function DashboardRenderer({ data }: DashboardRendererProps) {
26
+ const styles = useStyles();
25
27
  const widgets = Array.isArray(data.widgets) ? data.widgets : [];
26
28
  const stats = widgets.filter(
27
29
  (w): w is Extract<DashboardWidget, { kind: 'stat' }> => w.kind === 'stat',
28
30
  );
29
31
  const rest = widgets.filter((w) => w.kind !== 'stat');
30
32
  return (
31
- <View className="gap-3">
33
+ <View style={styles.dashboard}>
32
34
  {stats.length > 0 && (
33
- <View className="flex-row flex-wrap gap-3">
35
+ <View style={styles.stats}>
34
36
  {stats.map((stat, i) => (
35
- <View
36
- key={i}
37
- className="min-w-36 flex-1 gap-1 rounded-2xl border border-border bg-background-tertiary-default p-3"
38
- >
37
+ <View key={i} style={styles.stat}>
39
38
  <Muted>{stat.label}</Muted>
40
39
  <Text variant="headline-semibold">{stat.value}</Text>
41
40
  {stat.delta ? <Muted>{stat.delta}</Muted> : null}
@@ -49,14 +48,14 @@ export function DashboardRenderer({ data }: DashboardRendererProps) {
49
48
  return <ChartRenderer key={i} data={widget} title={widget.title} />;
50
49
  case 'table':
51
50
  return (
52
- <View key={i} className="gap-2">
51
+ <View key={i} style={styles.widget}>
53
52
  {widget.title ? <Text variant="body-semibold">{widget.title}</Text> : null}
54
53
  <TableRenderer data={widget} title={widget.title} />
55
54
  </View>
56
55
  );
57
56
  case 'text':
58
57
  return (
59
- <View key={i} className="gap-2">
58
+ <View key={i} style={styles.widget}>
60
59
  {widget.title ? <Text variant="body-semibold">{widget.title}</Text> : null}
61
60
  <MarkdownRenderer data={{ content: widget.content }} />
62
61
  </View>
@@ -68,3 +67,21 @@ export function DashboardRenderer({ data }: DashboardRendererProps) {
68
67
  </View>
69
68
  );
70
69
  }
70
+
71
+ const useStyles = createTokenStyles((t) => ({
72
+ dashboard: { gap: 12 },
73
+ stats: { flexDirection: 'row', flexWrap: 'wrap', gap: 12 },
74
+ stat: {
75
+ minWidth: 144,
76
+ flexGrow: 1,
77
+ flexShrink: 1,
78
+ flexBasis: '0%',
79
+ gap: 4,
80
+ borderRadius: 16,
81
+ borderWidth: 1,
82
+ borderColor: t.border,
83
+ backgroundColor: t.popover,
84
+ padding: 12,
85
+ },
86
+ widget: { gap: 8 },
87
+ }));
@@ -1,6 +1,7 @@
1
1
  import { Muted, Text } from '@oxy.so/bloom/typography';
2
2
  import { View } from 'react-native';
3
3
  import { MarkdownRenderer } from './MarkdownRenderer';
4
+ import { createTokenStyles } from '@oxy.so/bloom/theme';
4
5
 
5
6
  interface DeckSlide {
6
7
  title: string;
@@ -19,15 +20,13 @@ interface DeckRendererProps {
19
20
  * (Astro opens a deck in a tab of its own); here it is read like a document.
20
21
  */
21
22
  export function DeckRenderer({ data }: DeckRendererProps) {
23
+ const styles = useStyles();
22
24
  const slides = Array.isArray(data.slides) ? data.slides : [];
23
25
  return (
24
- <View className="gap-3">
26
+ <View style={styles.deck}>
25
27
  {slides.map((slide, i) => (
26
- <View
27
- key={i}
28
- className="gap-2 rounded-2xl border border-border bg-background-tertiary-default p-4"
29
- >
30
- <View className="flex-row items-baseline justify-between gap-2">
28
+ <View key={i} style={styles.slide}>
29
+ <View style={styles.slideHeader}>
31
30
  <Text variant="body-semibold">{slide.title}</Text>
32
31
  <Muted>{i + 1}</Muted>
33
32
  </View>
@@ -41,3 +40,21 @@ export function DeckRenderer({ data }: DeckRendererProps) {
41
40
  </View>
42
41
  );
43
42
  }
43
+
44
+ const useStyles = createTokenStyles((t) => ({
45
+ deck: { gap: 12 },
46
+ slide: {
47
+ gap: 8,
48
+ borderRadius: 16,
49
+ borderWidth: 1,
50
+ borderColor: t.border,
51
+ backgroundColor: t.popover,
52
+ padding: 16,
53
+ },
54
+ slideHeader: {
55
+ flexDirection: 'row',
56
+ alignItems: 'baseline',
57
+ justifyContent: 'space-between',
58
+ gap: 8,
59
+ },
60
+ }));
@@ -14,7 +14,7 @@ import {
14
14
  } from '@oxy.so/bloom/select';
15
15
  import { TextFieldInput } from '@oxy.so/bloom/text-field';
16
16
  import { useState } from 'react';
17
- import { View } from 'react-native';
17
+ import { View, StyleSheet } from 'react-native';
18
18
 
19
19
  interface FormField {
20
20
  name: string;
@@ -43,7 +43,7 @@ export function FormRenderer({ data, onSubmit }: FormRendererProps) {
43
43
  };
44
44
 
45
45
  return (
46
- <View className="gap-4">
46
+ <View style={styles.fields}>
47
47
  {fields.map((field, i) =>
48
48
  field.type === 'checkbox' ? (
49
49
  <Checkbox
@@ -92,10 +92,15 @@ export function FormRenderer({ data, onSubmit }: FormRendererProps) {
92
92
  canvas without a path back into the conversation — and the button
93
93
  used to render regardless, a Submit that did nothing (#608, rule 6). */}
94
94
  {onSubmit === undefined ? null : (
95
- <View className="mt-2">
95
+ <View style={styles.submit}>
96
96
  <Button onPress={() => onSubmit(formValues)}>{t('panels.form.submit')}</Button>
97
97
  </View>
98
98
  )}
99
99
  </View>
100
100
  );
101
101
  }
102
+
103
+ const styles = StyleSheet.create({
104
+ fields: { gap: 16 },
105
+ submit: { marginTop: 8 },
106
+ });
@@ -2,7 +2,8 @@ import { Text } from '@oxy.so/bloom/typography';
2
2
  import { useState } from 'react';
3
3
  import { View } from 'react-native';
4
4
  import { useConnectorLogoUrl } from '../../runtime/connectors';
5
- import { Image } from '../Image';
5
+ import { Image } from 'expo-image';
6
+ import { createTokenStyles } from '@oxy.so/bloom/theme';
6
7
 
7
8
  export interface ConnectorLogoProps {
8
9
  /** The connector's name, for the monogram and for screen readers. */
@@ -20,6 +21,7 @@ export interface ConnectorLogoProps {
20
21
  * brand mark. Without one, or when it does not load, a monogram — never a broken image.
21
22
  */
22
23
  export function ConnectorLogo({ name, logoUrl, size = 40 }: ConnectorLogoProps) {
24
+ const styles = useStyles();
23
25
  const src = useConnectorLogoUrl(logoUrl);
24
26
  const [failed, setFailed] = useState(false);
25
27
  const radius = Math.round(size * 0.22);
@@ -30,13 +32,14 @@ export function ConnectorLogo({ name, logoUrl, size = 40 }: ConnectorLogoProps)
30
32
  <View
31
33
  accessibilityRole="image"
32
34
  accessibilityLabel={name}
33
- className="items-center justify-center bg-background-tertiary-default"
34
- style={{ width: size, height: size, borderRadius: radius }}
35
+ style={[styles.monogram, { width: size, height: size, borderRadius: radius }]}
35
36
  >
36
37
  <Text
37
38
  variant="body-medium"
38
- className="text-text-secondary"
39
- style={{ fontSize: Math.round(size * 0.45), lineHeight: Math.round(size * 0.6) }}
39
+ style={[
40
+ styles.initial,
41
+ { fontSize: Math.round(size * 0.45), lineHeight: Math.round(size * 0.6) },
42
+ ]}
40
43
  >
41
44
  {letter}
42
45
  </Text>
@@ -45,10 +48,7 @@ export function ConnectorLogo({ name, logoUrl, size = 40 }: ConnectorLogoProps)
45
48
  }
46
49
 
47
50
  return (
48
- <View
49
- className="overflow-hidden border border-border bg-white"
50
- style={{ width: size, height: size, borderRadius: radius }}
51
- >
51
+ <View style={[styles.logo, { width: size, height: size, borderRadius: radius }]}>
52
52
  <Image
53
53
  source={{ uri: src }}
54
54
  accessibilityLabel={name}
@@ -59,3 +59,9 @@ export function ConnectorLogo({ name, logoUrl, size = 40 }: ConnectorLogoProps)
59
59
  </View>
60
60
  );
61
61
  }
62
+
63
+ const useStyles = createTokenStyles((t) => ({
64
+ monogram: { alignItems: 'center', justifyContent: 'center', backgroundColor: t.popover },
65
+ initial: { color: t.mutedForeground },
66
+ logo: { overflow: 'hidden', borderWidth: 1, borderColor: t.border, backgroundColor: '#fff' },
67
+ }));
@@ -18,6 +18,7 @@ import {
18
18
  useConnectorActions,
19
19
  } from '../../runtime/connectors';
20
20
  import { ConnectorLogo } from './ConnectorLogo';
21
+ import { createTokenStyles } from '@oxy.so/bloom/theme';
21
22
 
22
23
  /** This component's own strings. */
23
24
  const K = 'gemie.connectors';
@@ -46,6 +47,7 @@ export function GemieConnectedConnectors({
46
47
  onBrowse,
47
48
  t = englishCopy,
48
49
  }: GemieConnectedConnectorsProps) {
50
+ const styles = useStyles();
49
51
  const connections = useConnections();
50
52
  const actions = useConnectorActions({ returnTo: connectorReturnTo(nativeScheme) });
51
53
  const [pending, setPending] = useState<string | null>(null);
@@ -54,7 +56,7 @@ export function GemieConnectedConnectors({
54
56
  const reconnect = async (connection: Connection) => {
55
57
  setPending(connection._id);
56
58
  try {
57
- const done = await actions.reconnect.mutateAsync(connection._id);
59
+ const done = await actions.reconnect.run(connection._id);
58
60
  if (done?.status === 'running') {
59
61
  toast.success(t(`${K}.reconnected`, { name: connection.displayName }));
60
62
  }
@@ -77,7 +79,7 @@ export function GemieConnectedConnectors({
77
79
  if (!ok) return;
78
80
  setPending(connection._id);
79
81
  try {
80
- await actions.disconnect.mutateAsync(connection._id);
82
+ await actions.disconnect.run(connection._id);
81
83
  toast.success(t(`${K}.disconnected`, { name }));
82
84
  } catch {
83
85
  toast.error(t(`${K}.disconnectFailed`));
@@ -86,22 +88,27 @@ export function GemieConnectedConnectors({
86
88
  }
87
89
  };
88
90
 
89
- if (connections.isPending) return <ConnectedSkeleton />;
91
+ if (connections.isLoading) return <ConnectedSkeleton />;
90
92
 
91
- if (connections.isError) {
93
+ if (connections.status === 'error') {
92
94
  return (
93
- <View className="items-start gap-2 py-2.5">
94
- <Text variant="body-2-regular" className="text-text-secondary">
95
+ <View style={styles.failure}>
96
+ <Text variant="body-2-regular" style={styles.muted}>
95
97
  {t(`${K}.connected.loadFailed`)}
96
98
  </Text>
97
- <Button size="sm" appearance="outline" tone="neutral" onPress={() => connections.refetch()}>
99
+ <Button
100
+ size="sm"
101
+ appearance="outline"
102
+ tone="neutral"
103
+ onPress={() => void connections.refresh()}
104
+ >
98
105
  {t(`${K}.store.retry`)}
99
106
  </Button>
100
107
  </View>
101
108
  );
102
109
  }
103
110
 
104
- const rows = connections.data ?? [];
111
+ const rows = connections.value ?? [];
105
112
  if (rows.length === 0) {
106
113
  return (
107
114
  <EmptyState
@@ -114,9 +121,9 @@ export function GemieConnectedConnectors({
114
121
  }
115
122
 
116
123
  return (
117
- <View className="gap-1">
118
- <View className="flex-row items-center justify-between gap-3 pb-1">
119
- <Text variant="body-2-regular" className="flex-1 text-text-secondary">
124
+ <View style={styles.connections}>
125
+ <View style={styles.intro}>
126
+ <Text variant="body-2-regular" style={styles.description}>
120
127
  {t(`${K}.connected.description`)}
121
128
  </Text>
122
129
  <Button size="sm" appearance="outline" tone="neutral" onPress={onBrowse}>
@@ -124,17 +131,14 @@ export function GemieConnectedConnectors({
124
131
  </Button>
125
132
  </View>
126
133
  {rows.map((connection, index) => (
127
- <View
128
- key={connection._id}
129
- className={`gap-2 py-3 ${index === 0 ? '' : 'border-t border-border'}`}
130
- >
131
- <View className="flex-row items-center gap-3">
134
+ <View key={connection._id} style={[styles.connectionRow, index > 0 && styles.divider]}>
135
+ <View style={styles.connection}>
132
136
  <ConnectorLogo name={connection.displayName} logoUrl={connection.logoUrl} size={36} />
133
- <View className="flex-1 gap-0.5">
137
+ <View style={styles.connectionText}>
134
138
  <Text variant="body-2-semibold" numberOfLines={1}>
135
139
  {connection.displayName}
136
140
  </Text>
137
- <Text variant="body-2-regular" className="text-text-secondary" numberOfLines={1}>
141
+ <Text variant="body-2-regular" style={styles.muted} numberOfLines={1}>
138
142
  {[
139
143
  connection.accountLabel ??
140
144
  (connection.source === 'custom' ? connection.config.url : null),
@@ -152,16 +156,16 @@ export function GemieConnectedConnectors({
152
156
  />
153
157
  </View>
154
158
  {connection.status !== 'running' && connection.statusMessage ? (
155
- <Text variant="body-2-regular" className="text-text-secondary">
159
+ <Text variant="body-2-regular" style={styles.muted}>
156
160
  {connection.statusMessage}
157
161
  </Text>
158
162
  ) : null}
159
163
  {connection.usedBy.length > 0 ? (
160
- <Text variant="body-2-regular" className="text-text-secondary">
164
+ <Text variant="body-2-regular" style={styles.muted}>
161
165
  {t(`${K}.usedBy`, { names: connection.usedBy.map((gemie) => gemie.name).join(', ') })}
162
166
  </Text>
163
167
  ) : null}
164
- <View className="flex-row flex-wrap gap-2">
168
+ <View style={styles.actions}>
165
169
  {connection.status !== 'running' ? (
166
170
  <Button
167
171
  size="sm"
@@ -210,7 +214,7 @@ export function GemieConnectedConnectors({
210
214
  onClose={() => setRenaming(null)}
211
215
  onSave={async (accountLabel) => {
212
216
  if (!renaming) return;
213
- await actions.rename.mutateAsync({ id: renaming._id, accountLabel });
217
+ await actions.rename.run(renaming._id, accountLabel);
214
218
  }}
215
219
  t={t}
216
220
  />
@@ -291,13 +295,14 @@ function RenameDialog({
291
295
 
292
296
  /** The list's shape while it is read: rows, never a spinner. */
293
297
  function ConnectedSkeleton() {
298
+ const styles = useStyles();
294
299
  return (
295
300
  <Skeleton.Region>
296
- <View className="gap-4 py-2.5">
301
+ <View style={styles.loading}>
297
302
  {[0, 1].map((index) => (
298
- <View key={index} className="flex-row items-center gap-3">
303
+ <View key={index} style={styles.connection}>
299
304
  <Skeleton.Box width={36} height={36} borderRadius={8} />
300
- <View className="flex-1 gap-1.5">
305
+ <View style={styles.loadingText}>
301
306
  <Skeleton.Box width={140} height={14} />
302
307
  <Skeleton.Box width={200} height={12} />
303
308
  </View>
@@ -307,3 +312,24 @@ function ConnectedSkeleton() {
307
312
  </Skeleton.Region>
308
313
  );
309
314
  }
315
+
316
+ const useStyles = createTokenStyles((t) => ({
317
+ failure: { alignItems: 'flex-start', gap: 8, paddingVertical: 10 },
318
+ muted: { color: t.mutedForeground },
319
+ connections: { gap: 4 },
320
+ intro: {
321
+ flexDirection: 'row',
322
+ alignItems: 'center',
323
+ justifyContent: 'space-between',
324
+ gap: 12,
325
+ paddingBottom: 4,
326
+ },
327
+ description: { flexGrow: 1, flexShrink: 1, flexBasis: '0%', color: t.mutedForeground },
328
+ connection: { flexDirection: 'row', alignItems: 'center', gap: 12 },
329
+ connectionText: { flexGrow: 1, flexShrink: 1, flexBasis: '0%', gap: 2 },
330
+ actions: { flexDirection: 'row', flexWrap: 'wrap', gap: 8 },
331
+ loading: { gap: 16, paddingVertical: 10 },
332
+ loadingText: { flexGrow: 1, flexShrink: 1, flexBasis: '0%', gap: 6 },
333
+ connectionRow: { gap: 8, paddingVertical: 12 },
334
+ divider: { borderTopWidth: 1, borderColor: t.border },
335
+ }));