@vvedantb/native-ui 0.37.1 → 0.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AmbientBackground.jsx +16 -28
- package/dist/Avatar.jsx +2 -2
- package/dist/BottomSheetContainer.jsx +1 -1
- package/dist/BulkActionBar.jsx +1 -1
- package/dist/Card.jsx +4 -4
- package/dist/Chip.jsx +2 -2
- package/dist/DateTimeField.jsx +1 -1
- package/dist/Dialog.jsx +3 -3
- package/dist/DropdownMenu.jsx +3 -3
- package/dist/EmptyState.jsx +4 -4
- package/dist/FloatingTabBar.jsx +2 -2
- package/dist/LabeledSwitchRow.jsx +2 -2
- package/dist/ListRow.jsx +2 -2
- package/dist/PinnedBotTile.jsx +2 -2
- package/dist/StatGrid.jsx +1 -1
- package/dist/Stepper.jsx +2 -2
- package/dist/Toast.jsx +1 -1
- package/dist/ai/activity-question.jsx +2 -2
- package/dist/ai/card-button.jsx +2 -2
- package/dist/ai/choice-question.jsx +8 -8
- package/dist/ai/message-action-sheet.jsx +2 -2
- package/dist/ai/message-quote.jsx +2 -2
- package/dist/ai/message.jsx +2 -2
- package/dist/ai/reply-quote-chip.jsx +2 -2
- package/dist/ai/subagent-cards.jsx +6 -6
- package/dist/ai/tool-approval-card.jsx +1 -1
- package/dist/auth/AuthScreen.jsx +2 -2
- package/dist/examples/ParityGallery.jsx +2 -2
- package/dist/generative-ui/components.jsx +2 -2
- package/dist/marketing/UpgradeToProCard.jsx +2 -2
- package/dist/media/ImageGallery.jsx +2 -2
- package/dist/motion.js +3 -2
- package/dist/primitives/card.jsx +2 -2
- package/dist/primitives/text.jsx +13 -13
- package/dist/primitives/toast-drag-gesture.jsx +3 -2
- package/dist/settings/MoreFromProjectV.jsx +2 -2
- package/dist/settings/SettingsSection.jsx +1 -1
- package/dist/settings/ThemeModePicker.jsx +6 -6
- package/package.json +1 -1
- package/src/AmbientBackground.tsx +8 -26
- package/src/Avatar.tsx +2 -2
- package/src/BottomSheetContainer.tsx +1 -1
- package/src/BulkActionBar.tsx +2 -2
- package/src/Card.tsx +5 -5
- package/src/Chip.tsx +2 -2
- package/src/DateTimeField.tsx +2 -2
- package/src/Dialog.tsx +3 -3
- package/src/DropdownMenu.tsx +3 -3
- package/src/EmptyState.tsx +4 -4
- package/src/FloatingTabBar.tsx +2 -2
- package/src/LabeledSwitchRow.tsx +2 -2
- package/src/ListRow.tsx +2 -2
- package/src/PinnedBotTile.tsx +2 -2
- package/src/StatGrid.tsx +2 -2
- package/src/Stepper.tsx +2 -2
- package/src/Toast.tsx +2 -2
- package/src/ai/activity-question.tsx +1 -1
- package/src/ai/card-button.tsx +1 -1
- package/src/ai/choice-question.tsx +10 -10
- package/src/ai/message-action-sheet.tsx +2 -2
- package/src/ai/message-quote.tsx +2 -2
- package/src/ai/message.tsx +2 -2
- package/src/ai/reply-quote-chip.tsx +2 -2
- package/src/ai/subagent-cards.tsx +5 -5
- package/src/ai/tool-approval-card.tsx +4 -4
- package/src/auth/AuthScreen.tsx +2 -2
- package/src/examples/ParityGallery.tsx +2 -2
- package/src/generative-ui/components.tsx +3 -3
- package/src/marketing/UpgradeToProCard.tsx +2 -2
- package/src/media/ImageGallery.tsx +1 -1
- package/src/motion.ts +3 -2
- package/src/primitives/card.tsx +3 -3
- package/src/primitives/text.tsx +13 -13
- package/src/primitives/toast-drag-gesture.tsx +2 -2
- package/src/settings/MoreFromProjectV.tsx +2 -2
- package/src/settings/SettingsSection.tsx +3 -3
- package/src/settings/ThemeModePicker.tsx +9 -14
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { c as _c } from "react/compiler-runtime";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import { cn } from "./cn";
|
|
4
|
-
import { loadLinearGradient } from "./gradient";
|
|
5
4
|
import { tokens } from "./tokens";
|
|
6
5
|
import { useScheme } from "./useScheme";
|
|
7
|
-
const LIGHT = ["#f6f6f7", "#fde8f0", "#f4f5f7"];
|
|
8
|
-
const DARK = ["#1c1c1e", "#2a1820", "#1a1a1c"];
|
|
9
6
|
|
|
10
|
-
/**
|
|
11
|
-
* A soft gradient behind the screen. Without the optional
|
|
12
|
-
* `expo-linear-gradient` peer it draws the solid `tokens.color.background`.
|
|
13
|
-
*/
|
|
7
|
+
/** A flat `tokens.color.background` layer behind the screen. */
|
|
14
8
|
export function AmbientBackground(t0) {
|
|
15
9
|
const $ = _c(13);
|
|
16
10
|
let children;
|
|
@@ -32,7 +26,6 @@ export function AmbientBackground(t0) {
|
|
|
32
26
|
props = $[3];
|
|
33
27
|
}
|
|
34
28
|
const scheme = useScheme();
|
|
35
|
-
const LinearGradient = loadLinearGradient()?.LinearGradient;
|
|
36
29
|
let t1;
|
|
37
30
|
if ($[4] !== className) {
|
|
38
31
|
t1 = cn("flex-1", className);
|
|
@@ -41,33 +34,28 @@ export function AmbientBackground(t0) {
|
|
|
41
34
|
} else {
|
|
42
35
|
t1 = $[5];
|
|
43
36
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
y: 0
|
|
49
|
-
}} end={{
|
|
50
|
-
x: 0.95,
|
|
51
|
-
y: 1
|
|
52
|
-
}} style={StyleSheet.absoluteFill} /> : <View pointerEvents="none" style={{
|
|
37
|
+
const t2 = tokens.color.background[scheme];
|
|
38
|
+
let t3;
|
|
39
|
+
if ($[6] !== t2) {
|
|
40
|
+
t3 = <View pointerEvents="none" style={{
|
|
53
41
|
...StyleSheet.absoluteFill,
|
|
54
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: t2
|
|
55
43
|
}} />;
|
|
56
|
-
$[6] =
|
|
57
|
-
$[7] =
|
|
44
|
+
$[6] = t2;
|
|
45
|
+
$[7] = t3;
|
|
58
46
|
} else {
|
|
59
|
-
|
|
47
|
+
t3 = $[7];
|
|
60
48
|
}
|
|
61
|
-
let
|
|
62
|
-
if ($[8] !== children || $[9] !== props || $[10] !== t1 || $[11] !==
|
|
63
|
-
|
|
49
|
+
let t4;
|
|
50
|
+
if ($[8] !== children || $[9] !== props || $[10] !== t1 || $[11] !== t3) {
|
|
51
|
+
t4 = <View className={t1} {...props}>{t3}{children}</View>;
|
|
64
52
|
$[8] = children;
|
|
65
53
|
$[9] = props;
|
|
66
54
|
$[10] = t1;
|
|
67
|
-
$[11] =
|
|
68
|
-
$[12] =
|
|
55
|
+
$[11] = t3;
|
|
56
|
+
$[12] = t4;
|
|
69
57
|
} else {
|
|
70
|
-
|
|
58
|
+
t4 = $[12];
|
|
71
59
|
}
|
|
72
|
-
return
|
|
60
|
+
return t4;
|
|
73
61
|
}
|
package/dist/Avatar.jsx
CHANGED
|
@@ -258,10 +258,10 @@ export function AvatarFallback(t0) {
|
|
|
258
258
|
}
|
|
259
259
|
let t5;
|
|
260
260
|
if ($[13] !== children || $[14] !== scheme || $[15] !== size || $[16] !== textClassName) {
|
|
261
|
-
t5 = typeof children === "string" ? <Text numberOfLines={1} className={cn("font-instrument-sans-
|
|
261
|
+
t5 = typeof children === "string" ? <Text numberOfLines={1} className={cn("font-instrument-sans-medium", textClassName)} style={[{
|
|
262
262
|
fontSize: Math.round(size * 0.4),
|
|
263
263
|
color: palette.defaultForeground[scheme]
|
|
264
|
-
}, typeStyle("
|
|
264
|
+
}, typeStyle("medium")]}>{children}</Text> : children;
|
|
265
265
|
$[13] = children;
|
|
266
266
|
$[14] = scheme;
|
|
267
267
|
$[15] = size;
|
package/dist/BulkActionBar.jsx
CHANGED
|
@@ -246,7 +246,7 @@ export function BulkActionBar(t0) {
|
|
|
246
246
|
paddingHorizontal: 8,
|
|
247
247
|
paddingVertical: 2,
|
|
248
248
|
backgroundColor: tokens.color.surfaceSecondary[scheme]
|
|
249
|
-
}}><Text className="font-instrument-sans-
|
|
249
|
+
}}><Text className="font-instrument-sans-medium" style={[metrics.caption, typeStyle("medium"), {
|
|
250
250
|
fontVariant: ["tabular-nums"],
|
|
251
251
|
color: tokens.color.foreground[scheme]
|
|
252
252
|
}]}>{selectedCount}</Text></View>{labelled ? <Text className="font-instrument-sans-medium" style={[metrics.text, typeStyle("medium"), {
|
package/dist/Card.jsx
CHANGED
|
@@ -42,7 +42,7 @@ export function Card(t0) {
|
|
|
42
42
|
}
|
|
43
43
|
let t4;
|
|
44
44
|
if ($[4] !== Icon || $[5] !== accentColor || $[6] !== action || $[7] !== description || $[8] !== hasHeader || $[9] !== largerText || $[10] !== scheme || $[11] !== title || $[12] !== titleSize) {
|
|
45
|
-
t4 = hasHeader && <PrimitiveCardHeader className="px-4 py-0"><View className="flex-row items-center justify-between"><View className="flex-row items-center gap-2">{Icon && <Icon size={largerText ? 28 : 24} color={accentColor} />}{title ? <PrimitiveCardTitle className={cn("font-instrument-sans-
|
|
45
|
+
t4 = hasHeader && <PrimitiveCardHeader className="px-4 py-0"><View className="flex-row items-center justify-between"><View className="flex-row items-center gap-2">{Icon && <Icon size={largerText ? 28 : 24} color={accentColor} />}{title ? <PrimitiveCardTitle className={cn("font-instrument-sans-medium leading-tight", titleSize)} style={[textStyle("foreground", scheme), sizeStyle(titleSize, "tight"), typeStyle("medium")]}>{title}</PrimitiveCardTitle> : null}</View>{action}</View>{description ? <CardDescription>{description}</CardDescription> : null}</PrimitiveCardHeader>;
|
|
46
46
|
$[4] = Icon;
|
|
47
47
|
$[5] = accentColor;
|
|
48
48
|
$[6] = action;
|
|
@@ -146,7 +146,7 @@ export function CardHeader(t0) {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Web `font-
|
|
149
|
+
* Web `font-medium leading-none` at the inherited 16. The line height is
|
|
150
150
|
* `leading-tight` (20), not 16: below the face's ascent and descent, iOS and
|
|
151
151
|
* Android can clip the glyphs.
|
|
152
152
|
*/
|
|
@@ -175,7 +175,7 @@ export function CardTitle(t0) {
|
|
|
175
175
|
const size = largerText ? "text-2xl" : "text-base";
|
|
176
176
|
let t1;
|
|
177
177
|
if ($[4] !== className || $[5] !== size) {
|
|
178
|
-
t1 = cn("font-instrument-sans-
|
|
178
|
+
t1 = cn("font-instrument-sans-medium leading-tight", size, className);
|
|
179
179
|
$[4] = className;
|
|
180
180
|
$[5] = size;
|
|
181
181
|
$[6] = t1;
|
|
@@ -200,7 +200,7 @@ export function CardTitle(t0) {
|
|
|
200
200
|
}
|
|
201
201
|
let t4;
|
|
202
202
|
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
203
|
-
t4 = typeStyle("
|
|
203
|
+
t4 = typeStyle("medium");
|
|
204
204
|
$[11] = t4;
|
|
205
205
|
} else {
|
|
206
206
|
t4 = $[11];
|
package/dist/Chip.jsx
CHANGED
|
@@ -32,7 +32,7 @@ export function Chip(t0) {
|
|
|
32
32
|
const t4 = press.onPressOut;
|
|
33
33
|
const t5 = press.style;
|
|
34
34
|
const t6 = `items-center justify-center rounded-full border border-white/40 dark:border-white/10 ${size} ${selected ? "bg-pink-100 dark:bg-pink-900/40" : "bg-secondary"}`;
|
|
35
|
-
const t7 = `font-instrument-sans-
|
|
35
|
+
const t7 = `font-instrument-sans-medium ${largerText ? "text-xl" : "text-lg"} ${selected ? "text-pink-700 dark:text-pink-300" : ""}`;
|
|
36
36
|
let t8;
|
|
37
37
|
if ($[2] !== scheme || $[3] !== selected) {
|
|
38
38
|
t8 = selected ? null : textStyle("muted", scheme);
|
|
@@ -44,7 +44,7 @@ export function Chip(t0) {
|
|
|
44
44
|
}
|
|
45
45
|
let t9;
|
|
46
46
|
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
47
|
-
t9 = typeStyle("
|
|
47
|
+
t9 = typeStyle("medium");
|
|
48
48
|
$[5] = t9;
|
|
49
49
|
} else {
|
|
50
50
|
t9 = $[5];
|
package/dist/DateTimeField.jsx
CHANGED
|
@@ -141,7 +141,7 @@ export function DateTimeField(t0) {
|
|
|
141
141
|
if ($[20] !== buttons || $[21] !== largerText || $[22] !== scheme || $[23] !== testID || $[24] !== textColor) {
|
|
142
142
|
t10 = buttons.map(button_0 => <Pressable key={button_0.mode} testID={testID ? `${testID}-${button_0.mode}` : undefined} accessibilityRole="button" accessibilityLabel={button_0.label} onPress={() => setPicker(current => current === button_0.mode ? null : button_0.mode)} className={`${largerText ? "min-h-16" : "min-h-14"} flex-1 justify-center rounded-lg px-4 py-2 active:opacity-70`} style={{
|
|
143
143
|
backgroundColor: palette.default[scheme]
|
|
144
|
-
}}><Text className={`${largerText ? "text-xl" : "text-lg"} font-instrument-sans-
|
|
144
|
+
}}><Text className={`${largerText ? "text-xl" : "text-lg"} font-instrument-sans-medium`} style={[textColor, typeStyle("medium")]}>{button_0.label}</Text></Pressable>);
|
|
145
145
|
$[20] = buttons;
|
|
146
146
|
$[21] = largerText;
|
|
147
147
|
$[22] = scheme;
|
package/dist/Dialog.jsx
CHANGED
|
@@ -364,7 +364,7 @@ export function DialogHeader(t0) {
|
|
|
364
364
|
// Text colours are styles (`textStyle`), so they follow the colour scheme in
|
|
365
365
|
// apps whose `text-foreground` does not. Recolour with `style`, not `className`.
|
|
366
366
|
|
|
367
|
-
/** Web `text-lg font-
|
|
367
|
+
/** Web `text-lg font-medium`. */
|
|
368
368
|
export function DialogTitle(t0) {
|
|
369
369
|
const $ = _c(17);
|
|
370
370
|
let className;
|
|
@@ -390,7 +390,7 @@ export function DialogTitle(t0) {
|
|
|
390
390
|
const t1 = largerText ? "text-2xl" : "text-lg";
|
|
391
391
|
let t2;
|
|
392
392
|
if ($[4] !== className || $[5] !== t1) {
|
|
393
|
-
t2 = cn("font-instrument-sans-
|
|
393
|
+
t2 = cn("font-instrument-sans-medium", t1, className);
|
|
394
394
|
$[4] = className;
|
|
395
395
|
$[5] = t1;
|
|
396
396
|
$[6] = t2;
|
|
@@ -407,7 +407,7 @@ export function DialogTitle(t0) {
|
|
|
407
407
|
}
|
|
408
408
|
let t4;
|
|
409
409
|
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
410
|
-
t4 = typeStyle("
|
|
410
|
+
t4 = typeStyle("medium");
|
|
411
411
|
$[9] = t4;
|
|
412
412
|
} else {
|
|
413
413
|
t4 = $[9];
|
package/dist/DropdownMenu.jsx
CHANGED
|
@@ -1105,7 +1105,7 @@ export function DropdownMenuRadioItem(t0) {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
return t5;
|
|
1107
1107
|
}
|
|
1108
|
-
/** A group heading: the web `text-xs font-
|
|
1108
|
+
/** A group heading: the web `text-xs font-medium uppercase tracking-widest text-muted-foreground`, `px-2.5 py-1.5`. */
|
|
1109
1109
|
export function DropdownMenuLabel(t0) {
|
|
1110
1110
|
const $ = _c(15);
|
|
1111
1111
|
const {
|
|
@@ -1125,7 +1125,7 @@ export function DropdownMenuLabel(t0) {
|
|
|
1125
1125
|
const text = t2;
|
|
1126
1126
|
let t3;
|
|
1127
1127
|
if ($[2] !== className) {
|
|
1128
|
-
t3 = cn("font-instrument-sans-
|
|
1128
|
+
t3 = cn("font-instrument-sans-medium uppercase", className);
|
|
1129
1129
|
$[2] = className;
|
|
1130
1130
|
$[3] = t3;
|
|
1131
1131
|
} else {
|
|
@@ -1133,7 +1133,7 @@ export function DropdownMenuLabel(t0) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
let t4;
|
|
1135
1135
|
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1136
|
-
t4 = typeStyle("
|
|
1136
|
+
t4 = typeStyle("medium");
|
|
1137
1137
|
$[4] = t4;
|
|
1138
1138
|
} else {
|
|
1139
1139
|
t4 = $[4];
|
package/dist/EmptyState.jsx
CHANGED
|
@@ -38,7 +38,7 @@ function EmptyStateView(t0) {
|
|
|
38
38
|
const t7 = largerText ? "text-xl" : "text-lg";
|
|
39
39
|
let t8;
|
|
40
40
|
if ($[4] !== t7) {
|
|
41
|
-
t8 = cn("mt-4 text-center font-instrument-sans-
|
|
41
|
+
t8 = cn("mt-4 text-center font-instrument-sans-medium", t7);
|
|
42
42
|
$[4] = t7;
|
|
43
43
|
$[5] = t8;
|
|
44
44
|
} else {
|
|
@@ -54,7 +54,7 @@ function EmptyStateView(t0) {
|
|
|
54
54
|
}
|
|
55
55
|
let t10;
|
|
56
56
|
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
57
|
-
t10 = typeStyle("
|
|
57
|
+
t10 = typeStyle("medium");
|
|
58
58
|
$[8] = t10;
|
|
59
59
|
} else {
|
|
60
60
|
t10 = $[8];
|
|
@@ -281,7 +281,7 @@ function Title(t0) {
|
|
|
281
281
|
const t1 = largerText ? "text-xl" : "text-lg";
|
|
282
282
|
let t2;
|
|
283
283
|
if ($[4] !== className || $[5] !== t1) {
|
|
284
|
-
t2 = cn("text-center font-instrument-sans-
|
|
284
|
+
t2 = cn("text-center font-instrument-sans-medium", t1, className);
|
|
285
285
|
$[4] = className;
|
|
286
286
|
$[5] = t1;
|
|
287
287
|
$[6] = t2;
|
|
@@ -298,7 +298,7 @@ function Title(t0) {
|
|
|
298
298
|
}
|
|
299
299
|
let t4;
|
|
300
300
|
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
301
|
-
t4 = typeStyle("
|
|
301
|
+
t4 = typeStyle("medium");
|
|
302
302
|
$[9] = t4;
|
|
303
303
|
} else {
|
|
304
304
|
t4 = $[9];
|
package/dist/FloatingTabBar.jsx
CHANGED
|
@@ -271,7 +271,7 @@ function TabBarItem(t0) {
|
|
|
271
271
|
} else {
|
|
272
272
|
t7 = $[13];
|
|
273
273
|
}
|
|
274
|
-
const t8 = `font-instrument-sans-
|
|
274
|
+
const t8 = `font-instrument-sans-medium ${largerText ? "text-base" : "text-sm"}`;
|
|
275
275
|
let t9;
|
|
276
276
|
if ($[14] !== color) {
|
|
277
277
|
t9 = {
|
|
@@ -284,7 +284,7 @@ function TabBarItem(t0) {
|
|
|
284
284
|
}
|
|
285
285
|
let t10;
|
|
286
286
|
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
287
|
-
t10 = typeStyle("
|
|
287
|
+
t10 = typeStyle("medium");
|
|
288
288
|
$[16] = t10;
|
|
289
289
|
} else {
|
|
290
290
|
t10 = $[16];
|
|
@@ -70,7 +70,7 @@ export function LabeledSwitchRow(t0) {
|
|
|
70
70
|
const t8 = disabled && "opacity-70";
|
|
71
71
|
let t9;
|
|
72
72
|
if ($[11] !== t7 || $[12] !== t8) {
|
|
73
|
-
t9 = cn("font-instrument-sans-
|
|
73
|
+
t9 = cn("font-instrument-sans-medium", t7, t8);
|
|
74
74
|
$[11] = t7;
|
|
75
75
|
$[12] = t8;
|
|
76
76
|
$[13] = t9;
|
|
@@ -87,7 +87,7 @@ export function LabeledSwitchRow(t0) {
|
|
|
87
87
|
}
|
|
88
88
|
let t11;
|
|
89
89
|
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
90
|
-
t11 = typeStyle("
|
|
90
|
+
t11 = typeStyle("medium");
|
|
91
91
|
$[16] = t11;
|
|
92
92
|
} else {
|
|
93
93
|
t11 = $[16];
|
package/dist/ListRow.jsx
CHANGED
|
@@ -39,7 +39,7 @@ export function ListRow(t0) {
|
|
|
39
39
|
const t4 = titleEnd != null && "min-w-0 flex-1";
|
|
40
40
|
let t5;
|
|
41
41
|
if ($[0] !== t3 || $[1] !== t4) {
|
|
42
|
-
t5 = cn("font-instrument-sans-
|
|
42
|
+
t5 = cn("font-instrument-sans-medium", t3, t4);
|
|
43
43
|
$[0] = t3;
|
|
44
44
|
$[1] = t4;
|
|
45
45
|
$[2] = t5;
|
|
@@ -56,7 +56,7 @@ export function ListRow(t0) {
|
|
|
56
56
|
}
|
|
57
57
|
let t7;
|
|
58
58
|
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
59
|
-
t7 = typeStyle("
|
|
59
|
+
t7 = typeStyle("medium");
|
|
60
60
|
$[5] = t7;
|
|
61
61
|
} else {
|
|
62
62
|
t7 = $[5];
|
package/dist/PinnedBotTile.jsx
CHANGED
|
@@ -74,7 +74,7 @@ export function PinnedBotTile(t0) {
|
|
|
74
74
|
const t13 = largerText ? "text-lg" : "text-base";
|
|
75
75
|
let t14;
|
|
76
76
|
if ($[10] !== t13) {
|
|
77
|
-
t14 = cn("text-center font-instrument-sans-
|
|
77
|
+
t14 = cn("text-center font-instrument-sans-medium", t13);
|
|
78
78
|
$[10] = t13;
|
|
79
79
|
$[11] = t14;
|
|
80
80
|
} else {
|
|
@@ -90,7 +90,7 @@ export function PinnedBotTile(t0) {
|
|
|
90
90
|
}
|
|
91
91
|
let t16;
|
|
92
92
|
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
93
|
-
t16 = typeStyle("
|
|
93
|
+
t16 = typeStyle("medium");
|
|
94
94
|
$[14] = t16;
|
|
95
95
|
} else {
|
|
96
96
|
t16 = $[14];
|
package/dist/StatGrid.jsx
CHANGED
|
@@ -41,7 +41,7 @@ export function StatGrid(t0) {
|
|
|
41
41
|
if ($[0] !== columns || $[1] !== items || $[2] !== labelSize || $[3] !== scheme || $[4] !== valueSize) {
|
|
42
42
|
let t3;
|
|
43
43
|
if ($[6] !== labelSize || $[7] !== scheme || $[8] !== valueSize) {
|
|
44
|
-
t3 = (row, rowIndex) => <View key={rowIndex} className="flex-row gap-3">{row.map((item, index) => item ? <View key={index} testID={item.testID} accessible={true} accessibilityLabel={`${item.label}, ${item.value}`} className="min-w-0 flex-1 gap-1 p-4" style={cardStyle(scheme)}><Text className={cn("font-instrument-sans", labelSize)} style={[textStyle("muted", scheme), sizeStyle(labelSize)]}>{item.label}</Text><Text className={cn("font-instrument-sans-
|
|
44
|
+
t3 = (row, rowIndex) => <View key={rowIndex} className="flex-row gap-3">{row.map((item, index) => item ? <View key={index} testID={item.testID} accessible={true} accessibilityLabel={`${item.label}, ${item.value}`} className="min-w-0 flex-1 gap-1 p-4" style={cardStyle(scheme)}><Text className={cn("font-instrument-sans", labelSize)} style={[textStyle("muted", scheme), sizeStyle(labelSize)]}>{item.label}</Text><Text className={cn("font-instrument-sans-medium", valueSize)} style={[textStyle("foreground", scheme), sizeStyle(valueSize, "tight"), typeStyle("medium"), {
|
|
45
45
|
fontVariant: ["tabular-nums"]
|
|
46
46
|
}]}>{item.value}</Text></View> : <View key={index} className="flex-1" />)}</View>;
|
|
47
47
|
$[6] = labelSize;
|
package/dist/Stepper.jsx
CHANGED
|
@@ -64,7 +64,7 @@ export function Stepper(t0) {
|
|
|
64
64
|
const t7 = largerText ? "text-3xl" : "text-2xl";
|
|
65
65
|
let t8;
|
|
66
66
|
if ($[13] !== t7) {
|
|
67
|
-
t8 = cn("min-w-8 text-center font-instrument-sans-
|
|
67
|
+
t8 = cn("min-w-8 text-center font-instrument-sans-medium", t7);
|
|
68
68
|
$[13] = t7;
|
|
69
69
|
$[14] = t8;
|
|
70
70
|
} else {
|
|
@@ -80,7 +80,7 @@ export function Stepper(t0) {
|
|
|
80
80
|
}
|
|
81
81
|
let t10;
|
|
82
82
|
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
83
|
-
t10 = typeStyle("
|
|
83
|
+
t10 = typeStyle("medium");
|
|
84
84
|
$[17] = t10;
|
|
85
85
|
} else {
|
|
86
86
|
t10 = $[17];
|
package/dist/Toast.jsx
CHANGED
|
@@ -351,7 +351,7 @@ function ToastCard(t0) {
|
|
|
351
351
|
t20 = item.action ? <Pressable accessibilityRole="button" hitSlop={8} onPress={() => {
|
|
352
352
|
item.action?.onPress();
|
|
353
353
|
toast.dismiss(item.id);
|
|
354
|
-
}} className="rounded-full bg-secondary px-3 py-1.5 active:opacity-70"><Text className="font-instrument-sans-
|
|
354
|
+
}} className="rounded-full bg-secondary px-3 py-1.5 active:opacity-70"><Text className="font-instrument-sans-medium text-sm" style={[textStyle("foreground", scheme), typeStyle("medium")]}>{item.action.label}</Text></Pressable> : null;
|
|
355
355
|
$[38] = item.action;
|
|
356
356
|
$[39] = item.id;
|
|
357
357
|
$[40] = scheme;
|
|
@@ -179,10 +179,10 @@ function RecordRow(t0) {
|
|
|
179
179
|
}
|
|
180
180
|
let t12;
|
|
181
181
|
if ($[21] !== glyph || $[22] !== largerText || $[23] !== mark || $[24] !== markColor) {
|
|
182
|
-
t12 = mark === "check" ? <IconCheck size={glyph} strokeWidth={3} color={markColor} /> : mark === "other" ? <IconPencil size={glyph} strokeWidth={3} color={markColor} /> : <Text className="font-instrument-sans-
|
|
182
|
+
t12 = mark === "check" ? <IconCheck size={glyph} strokeWidth={3} color={markColor} /> : mark === "other" ? <IconPencil size={glyph} strokeWidth={3} color={markColor} /> : <Text className="font-instrument-sans-medium" style={[{
|
|
183
183
|
fontSize: largerText ? 13 : 10,
|
|
184
184
|
color: markColor
|
|
185
|
-
}, typeStyle("
|
|
185
|
+
}, typeStyle("medium")]}>{mark}</Text>;
|
|
186
186
|
$[21] = glyph;
|
|
187
187
|
$[22] = largerText;
|
|
188
188
|
$[23] = mark;
|
package/dist/ai/card-button.jsx
CHANGED
|
@@ -96,11 +96,11 @@ export function CardButton(t0) {
|
|
|
96
96
|
t14 = $[14];
|
|
97
97
|
}
|
|
98
98
|
const T1 = Text;
|
|
99
|
-
const t15 = cn(size, "font-instrument-sans-
|
|
99
|
+
const t15 = cn(size, "font-instrument-sans-medium");
|
|
100
100
|
const t16 = sizeStyle(size);
|
|
101
101
|
let t17;
|
|
102
102
|
if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
103
|
-
t17 = typeStyle("
|
|
103
|
+
t17 = typeStyle("medium");
|
|
104
104
|
$[15] = t17;
|
|
105
105
|
} else {
|
|
106
106
|
t17 = $[15];
|
|
@@ -59,7 +59,7 @@ export function ChoiceQuestion(t0) {
|
|
|
59
59
|
const buttonText = largerText ? "text-xl" : "text-sm";
|
|
60
60
|
let t6;
|
|
61
61
|
if ($[0] !== buttonText || $[1] !== buttonWeight || $[2] !== scheme) {
|
|
62
|
-
t6 = (text, variant) => buttonWeight === "medium" ? text : <Text className={`${buttonText} font-instrument-sans-
|
|
62
|
+
t6 = (text, variant) => buttonWeight === "medium" ? text : <Text className={`${buttonText} font-instrument-sans-medium`} style={[sizeStyle(buttonText), typeStyle("medium"), {
|
|
63
63
|
color: buttonColors(variant, scheme)?.color
|
|
64
64
|
}]}>{text}</Text>;
|
|
65
65
|
$[0] = buttonText;
|
|
@@ -214,7 +214,7 @@ export function ChoiceQuestion(t0) {
|
|
|
214
214
|
}
|
|
215
215
|
let t20;
|
|
216
216
|
if ($[38] === Symbol.for("react.memo_cache_sentinel")) {
|
|
217
|
-
t20 = typeStyle("
|
|
217
|
+
t20 = typeStyle("medium");
|
|
218
218
|
$[38] = t20;
|
|
219
219
|
} else {
|
|
220
220
|
t20 = $[38];
|
|
@@ -230,7 +230,7 @@ export function ChoiceQuestion(t0) {
|
|
|
230
230
|
}
|
|
231
231
|
let t22;
|
|
232
232
|
if ($[42] !== question.question || $[43] !== t21) {
|
|
233
|
-
t22 = <Text className="flex-1 font-instrument-sans-
|
|
233
|
+
t22 = <Text className="flex-1 font-instrument-sans-medium" style={t21}>{question.question}</Text>;
|
|
234
234
|
$[42] = question.question;
|
|
235
235
|
$[43] = t21;
|
|
236
236
|
$[44] = t22;
|
|
@@ -512,7 +512,7 @@ export function ChoiceQuestion(t0) {
|
|
|
512
512
|
|
|
513
513
|
/**
|
|
514
514
|
* The question's topic, the web `Badge variant="secondary"` with Eva's
|
|
515
|
-
* `text-3xs font-
|
|
515
|
+
* `text-3xs font-medium` (10 / 14, 600) in a `px-2.5 py-0.5` pill. Drawn here
|
|
516
516
|
* because `Badge` sets its own size and weight.
|
|
517
517
|
*/
|
|
518
518
|
export function TopicBadge(t0) {
|
|
@@ -553,7 +553,7 @@ export function TopicBadge(t0) {
|
|
|
553
553
|
}
|
|
554
554
|
let t6;
|
|
555
555
|
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
556
|
-
t6 = typeStyle("
|
|
556
|
+
t6 = typeStyle("medium");
|
|
557
557
|
$[6] = t6;
|
|
558
558
|
} else {
|
|
559
559
|
t6 = $[6];
|
|
@@ -568,7 +568,7 @@ export function TopicBadge(t0) {
|
|
|
568
568
|
}
|
|
569
569
|
let t8;
|
|
570
570
|
if ($[9] !== children || $[10] !== t7) {
|
|
571
|
-
t8 = <Text numberOfLines={1} className="font-instrument-sans-
|
|
571
|
+
t8 = <Text numberOfLines={1} className="font-instrument-sans-medium" style={t7}>{children}</Text>;
|
|
572
572
|
$[9] = children;
|
|
573
573
|
$[10] = t7;
|
|
574
574
|
$[11] = t8;
|
|
@@ -778,11 +778,11 @@ function ChoiceRow(t0) {
|
|
|
778
778
|
}
|
|
779
779
|
let t27;
|
|
780
780
|
if ($[58] !== glyph || $[59] !== largerText || $[60] !== mark || $[61] !== markText || $[62] !== muted || $[63] !== scheme || $[64] !== selected) {
|
|
781
|
-
t27 = selected ? <IconCheck size={glyph} strokeWidth={3} color={palette.primaryForeground[scheme]} /> : mark === "other" ? <IconPencil size={glyph} color={muted} /> : <Text className="font-instrument-sans-
|
|
781
|
+
t27 = selected ? <IconCheck size={glyph} strokeWidth={3} color={palette.primaryForeground[scheme]} /> : mark === "other" ? <IconPencil size={glyph} color={muted} /> : <Text className="font-instrument-sans-medium" style={[{
|
|
782
782
|
fontSize: markText,
|
|
783
783
|
lineHeight: largerText ? 20 : 16,
|
|
784
784
|
color: muted
|
|
785
|
-
}, trackingStyle(markText, "wide"), typeStyle("
|
|
785
|
+
}, trackingStyle(markText, "wide"), typeStyle("medium")]}>{mark}</Text>;
|
|
786
786
|
$[58] = glyph;
|
|
787
787
|
$[59] = largerText;
|
|
788
788
|
$[60] = mark;
|
|
@@ -215,7 +215,7 @@ export function MessageActionSheet(t0) {
|
|
|
215
215
|
t14 = $[59];
|
|
216
216
|
}
|
|
217
217
|
T0 = Text;
|
|
218
|
-
t7 = cn(body, "font-instrument-sans-
|
|
218
|
+
t7 = cn(body, "font-instrument-sans-medium");
|
|
219
219
|
t6 = sizeStyle(body);
|
|
220
220
|
$[3] = actions;
|
|
221
221
|
$[4] = cancelLabel;
|
|
@@ -286,7 +286,7 @@ export function MessageActionSheet(t0) {
|
|
|
286
286
|
}
|
|
287
287
|
let t28;
|
|
288
288
|
if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
|
|
289
|
-
t28 = typeStyle("
|
|
289
|
+
t28 = typeStyle("medium");
|
|
290
290
|
$[60] = t28;
|
|
291
291
|
} else {
|
|
292
292
|
t28 = $[60];
|
|
@@ -49,11 +49,11 @@ export function MessageQuote(t0) {
|
|
|
49
49
|
if ($[3] !== author || $[4] !== color || $[5] !== largerText) {
|
|
50
50
|
const caption = chatTextSize("caption", largerText);
|
|
51
51
|
const body = chatTextSize("small", largerText);
|
|
52
|
-
const t6 = cn(caption, "font-instrument-sans-
|
|
52
|
+
const t6 = cn(caption, "font-instrument-sans-medium");
|
|
53
53
|
const t7 = sizeStyle(caption);
|
|
54
54
|
let t8;
|
|
55
55
|
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
56
|
-
t8 = typeStyle("
|
|
56
|
+
t8 = typeStyle("medium");
|
|
57
57
|
$[11] = t8;
|
|
58
58
|
} else {
|
|
59
59
|
t8 = $[11];
|
package/dist/ai/message.jsx
CHANGED
|
@@ -406,7 +406,7 @@ export function MessageBotLabel(t0) {
|
|
|
406
406
|
t9 = avatar;
|
|
407
407
|
T0 = Text;
|
|
408
408
|
t3 = 1;
|
|
409
|
-
t4 = cn(size, "font-instrument-sans-
|
|
409
|
+
t4 = cn(size, "font-instrument-sans-medium");
|
|
410
410
|
t2 = sizeStyle(size);
|
|
411
411
|
$[0] = avatar;
|
|
412
412
|
$[1] = className;
|
|
@@ -437,7 +437,7 @@ export function MessageBotLabel(t0) {
|
|
|
437
437
|
}
|
|
438
438
|
let t10;
|
|
439
439
|
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
440
|
-
t10 = typeStyle("
|
|
440
|
+
t10 = typeStyle("medium");
|
|
441
441
|
$[17] = t10;
|
|
442
442
|
} else {
|
|
443
443
|
t10 = $[17];
|
|
@@ -99,11 +99,11 @@ export function ReplyQuoteChip(t0) {
|
|
|
99
99
|
}
|
|
100
100
|
T1 = View;
|
|
101
101
|
t5 = "min-w-0 flex-1 py-2";
|
|
102
|
-
const t18 = cn(caption, "font-instrument-sans-
|
|
102
|
+
const t18 = cn(caption, "font-instrument-sans-medium");
|
|
103
103
|
const t19 = sizeStyle(caption);
|
|
104
104
|
let t20;
|
|
105
105
|
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
106
|
-
t20 = typeStyle("
|
|
106
|
+
t20 = typeStyle("medium");
|
|
107
107
|
$[33] = t20;
|
|
108
108
|
} else {
|
|
109
109
|
t20 = $[33];
|
|
@@ -77,7 +77,7 @@ function StatusPill(t0) {
|
|
|
77
77
|
t7 = $[19];
|
|
78
78
|
}
|
|
79
79
|
T0 = Text;
|
|
80
|
-
t2 = cn(caption, "font-instrument-sans-
|
|
80
|
+
t2 = cn(caption, "font-instrument-sans-medium");
|
|
81
81
|
t1 = sizeStyle(caption);
|
|
82
82
|
$[0] = largerText;
|
|
83
83
|
$[1] = scheme;
|
|
@@ -107,7 +107,7 @@ function StatusPill(t0) {
|
|
|
107
107
|
}
|
|
108
108
|
let t8;
|
|
109
109
|
if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
|
|
110
|
-
t8 = typeStyle("
|
|
110
|
+
t8 = typeStyle("medium");
|
|
111
111
|
$[20] = t8;
|
|
112
112
|
} else {
|
|
113
113
|
t8 = $[20];
|
|
@@ -227,11 +227,11 @@ export function SubagentRunCard(t0) {
|
|
|
227
227
|
} else {
|
|
228
228
|
t10 = $[29];
|
|
229
229
|
}
|
|
230
|
-
const t11 = cn(body, "min-w-0 flex-1 font-instrument-sans-
|
|
230
|
+
const t11 = cn(body, "min-w-0 flex-1 font-instrument-sans-medium");
|
|
231
231
|
const t12 = sizeStyle(body);
|
|
232
232
|
let t13;
|
|
233
233
|
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
234
|
-
t13 = typeStyle("
|
|
234
|
+
t13 = typeStyle("medium");
|
|
235
235
|
$[30] = t13;
|
|
236
236
|
} else {
|
|
237
237
|
t13 = $[30];
|
|
@@ -434,11 +434,11 @@ export function SubagentResultCard(t0) {
|
|
|
434
434
|
} else {
|
|
435
435
|
t9 = $[26];
|
|
436
436
|
}
|
|
437
|
-
const t13 = cn(body, "min-w-0 flex-1 font-instrument-sans-
|
|
437
|
+
const t13 = cn(body, "min-w-0 flex-1 font-instrument-sans-medium");
|
|
438
438
|
const t14 = sizeStyle(body);
|
|
439
439
|
let t15;
|
|
440
440
|
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
441
|
-
t15 = typeStyle("
|
|
441
|
+
t15 = typeStyle("medium");
|
|
442
442
|
$[27] = t15;
|
|
443
443
|
} else {
|
|
444
444
|
t15 = $[27];
|
|
@@ -291,7 +291,7 @@ function ToolCardBase(t0) {
|
|
|
291
291
|
} else {
|
|
292
292
|
t34 = $[59];
|
|
293
293
|
}
|
|
294
|
-
return <View testID={testID} accessible={false} accessibilityLabel={`${heading}: ${toolName}`} className={t16} style={t21}><View className="flex-row items-center gap-2">{t24}<Text className={cn(caption, "font-instrument-sans-
|
|
294
|
+
return <View testID={testID} accessible={false} accessibilityLabel={`${heading}: ${toolName}`} className={t16} style={t21}><View className="flex-row items-center gap-2">{t24}<Text className={cn(caption, "font-instrument-sans-medium")} style={[sizeStyle(caption), typeStyle("medium"), textStyle("muted", scheme)]}>{pending ? "Sending decision\u2026" : heading}</Text></View>{showMeta ? meta ?? <Text testID={`${testID}-meta`} className={caption} style={[sizeStyle(caption), textStyle("muted", scheme)]}>{metaText}</Text> : null}{chrome}<Text testID={`${testID}-name`} numberOfLines={2} className={cn(body, "font-instrument-sans-medium")} style={[sizeStyle(body), typeStyle("medium"), textStyle("foreground", scheme)]}>{toolName}</Text>{target ? <Text testID={`${testID}-target`} className={small} style={[sizeStyle(small), textStyle("muted", scheme)]}>{`Target: ${target}`}</Text> : null}{hasFields ? edits ? <View testID={`${testID}-editor`} className="gap-2">{fields.map(field_2 => <View key={field_2.key} className="gap-1"><Text className={caption} style={[sizeStyle(caption), textStyle("muted", scheme)]}>{DRAFT_ROLE_LABELS[field_2.role]}</Text>{field_2.role === "body" ? <Textarea testID={`${testID}-field-${field_2.key}`} value={edits[field_2.key] ?? ""} onChangeText={value => setEdits({
|
|
295
295
|
...edits,
|
|
296
296
|
[field_2.key]: value
|
|
297
297
|
})} numberOfLines={8} accessibilityLabel={DRAFT_ROLE_LABELS[field_2.role]} /> : <Input testID={`${testID}-field-${field_2.key}`} value={edits[field_2.key] ?? ""} onChangeText={value_0 => setEdits({
|
package/dist/auth/AuthScreen.jsx
CHANGED
|
@@ -99,7 +99,7 @@ export function AuthScreen(t0) {
|
|
|
99
99
|
}
|
|
100
100
|
let t7;
|
|
101
101
|
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
102
|
-
t7 = typeStyle("
|
|
102
|
+
t7 = typeStyle("medium");
|
|
103
103
|
$[10] = t7;
|
|
104
104
|
} else {
|
|
105
105
|
t7 = $[10];
|
|
@@ -114,7 +114,7 @@ export function AuthScreen(t0) {
|
|
|
114
114
|
}
|
|
115
115
|
let t9;
|
|
116
116
|
if ($[13] !== t8 || $[14] !== title) {
|
|
117
|
-
t9 = <Text accessibilityRole="header" className="font-instrument-sans-
|
|
117
|
+
t9 = <Text accessibilityRole="header" className="font-instrument-sans-medium text-2xl" style={t8}>{title}</Text>;
|
|
118
118
|
$[13] = t8;
|
|
119
119
|
$[14] = title;
|
|
120
120
|
$[15] = t9;
|
|
@@ -108,14 +108,14 @@ function Section(t0) {
|
|
|
108
108
|
} = t0;
|
|
109
109
|
let t1;
|
|
110
110
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
111
|
-
t1 = typeStyle("
|
|
111
|
+
t1 = typeStyle("medium");
|
|
112
112
|
$[0] = t1;
|
|
113
113
|
} else {
|
|
114
114
|
t1 = $[0];
|
|
115
115
|
}
|
|
116
116
|
let t2;
|
|
117
117
|
if ($[1] !== title) {
|
|
118
|
-
t2 = <GalleryText accessibilityRole="header" className="font-instrument-sans-
|
|
118
|
+
t2 = <GalleryText accessibilityRole="header" className="font-instrument-sans-medium text-lg" style={t1}>{title}</GalleryText>;
|
|
119
119
|
$[1] = title;
|
|
120
120
|
$[2] = t2;
|
|
121
121
|
} else {
|