reactnatively 2.1.0 → 2.1.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.
- package/dist/animations.js +6 -7
- package/dist/animations.mjs +1 -2
- package/dist/{chunk-STYEL3E3.mjs → chunk-NMNPWEDQ.mjs} +591 -682
- package/dist/chunk-NMNPWEDQ.mjs.map +1 -0
- package/dist/{chunk-N2PBBXCI.js → chunk-QWNBJBUF.js} +591 -682
- package/dist/chunk-QWNBJBUF.js.map +1 -0
- package/dist/glass.js +9 -10
- package/dist/glass.mjs +1 -2
- package/dist/hooks.js +0 -1
- package/dist/hooks.mjs +0 -1
- package/dist/index.js +182 -183
- package/dist/index.mjs +1 -2
- package/dist/primitives.js +0 -1
- package/dist/primitives.mjs +0 -1
- package/package.json +7 -11
- package/dist/chunk-BJTO5JO5.mjs +0 -10
- package/dist/chunk-BJTO5JO5.mjs.map +0 -1
- package/dist/chunk-DGUM43GV.js +0 -12
- package/dist/chunk-DGUM43GV.js.map +0 -1
- package/dist/chunk-N2PBBXCI.js.map +0 -1
- package/dist/chunk-STYEL3E3.mjs.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __require } from './chunk-BJTO5JO5.mjs';
|
|
2
1
|
import { useIsDark, useTheme, spacing, radii, ThemeProvider } from 'reactnatively-theme';
|
|
3
2
|
export { ThemeProvider, accessibilityTokens, baseTheme, breakpoints, componentTokens, createRecipe, createTheme, density, extendRecipe, glassTokens, hapticTokens, materialTokens, motion, palette, radii, shadows, spacing, springs, stateTokens, typography, useColorScheme, useIsDark, useTheme, useToken, zDepth } from 'reactnatively-theme';
|
|
4
3
|
import { GlassView, GlassPlatformProvider } from 'reactnatively-glass';
|
|
@@ -16,6 +15,7 @@ export { IS_ANDROID, IS_IOS, IS_NATIVE, IS_WEB, deepMerge, defineCompoundVariant
|
|
|
16
15
|
import { useId, useControllable } from 'reactnatively-hooks';
|
|
17
16
|
export { useAccessibility, useContainerQuery, useContainerQueryFull, useControllable, useDebounce, useDimensions, useDisclosure, useHaptic, useId, useKeyboard, usePrevious, useScrollHandler, useThrottle } from 'reactnatively-hooks';
|
|
18
17
|
|
|
18
|
+
// src/providers/ReactnativelyProvider.tsx
|
|
19
19
|
var TYPE_COLORS = {
|
|
20
20
|
success: "#22c55e",
|
|
21
21
|
error: "#ef4444",
|
|
@@ -939,18 +939,6 @@ StyleSheet.create({});
|
|
|
939
939
|
var DEFAULT_COLORS = ["#6366f1", "#8b5cf6", "#ec4899"];
|
|
940
940
|
var DEFAULT_START = { x: 0, y: 0 };
|
|
941
941
|
var DEFAULT_END = { x: 1, y: 0 };
|
|
942
|
-
var MaskedView = null;
|
|
943
|
-
var LinearGradient = null;
|
|
944
|
-
try {
|
|
945
|
-
MaskedView = __require("@react-native-masked-view/masked-view").default;
|
|
946
|
-
} catch {
|
|
947
|
-
MaskedView = null;
|
|
948
|
-
}
|
|
949
|
-
try {
|
|
950
|
-
LinearGradient = __require("react-native-linear-gradient").default;
|
|
951
|
-
} catch {
|
|
952
|
-
LinearGradient = null;
|
|
953
|
-
}
|
|
954
942
|
var GradientText = React38.memo(
|
|
955
943
|
({
|
|
956
944
|
colors = DEFAULT_COLORS,
|
|
@@ -963,46 +951,6 @@ var GradientText = React38.memo(
|
|
|
963
951
|
const fallbackStyle = useMemo(() => ({
|
|
964
952
|
color: colors[0] ?? DEFAULT_COLORS[0]
|
|
965
953
|
}), [colors]);
|
|
966
|
-
const maskedTextStyle = useMemo(() => ({
|
|
967
|
-
opacity: 0
|
|
968
|
-
}), []);
|
|
969
|
-
const canUseGradient = Platform.OS === "ios" && MaskedView !== null && LinearGradient !== null;
|
|
970
|
-
if (canUseGradient && MaskedView !== null && LinearGradient !== null) {
|
|
971
|
-
const MV = MaskedView;
|
|
972
|
-
const LG = LinearGradient;
|
|
973
|
-
return /* @__PURE__ */ jsx(
|
|
974
|
-
MV,
|
|
975
|
-
{
|
|
976
|
-
style: styles14.masked,
|
|
977
|
-
maskElement: /* @__PURE__ */ jsx(
|
|
978
|
-
Text,
|
|
979
|
-
{
|
|
980
|
-
...rest,
|
|
981
|
-
style: [styles14.maskText, style],
|
|
982
|
-
children
|
|
983
|
-
}
|
|
984
|
-
),
|
|
985
|
-
children: /* @__PURE__ */ jsx(
|
|
986
|
-
LG,
|
|
987
|
-
{
|
|
988
|
-
colors,
|
|
989
|
-
start,
|
|
990
|
-
end,
|
|
991
|
-
style: styles14.gradient,
|
|
992
|
-
children: /* @__PURE__ */ jsx(
|
|
993
|
-
Text,
|
|
994
|
-
{
|
|
995
|
-
...rest,
|
|
996
|
-
style: [styles14.gradientText, style, maskedTextStyle],
|
|
997
|
-
"aria-hidden": true,
|
|
998
|
-
children
|
|
999
|
-
}
|
|
1000
|
-
)
|
|
1001
|
-
}
|
|
1002
|
-
)
|
|
1003
|
-
}
|
|
1004
|
-
);
|
|
1005
|
-
}
|
|
1006
954
|
return /* @__PURE__ */ jsx(
|
|
1007
955
|
Text,
|
|
1008
956
|
{
|
|
@@ -1014,20 +962,6 @@ var GradientText = React38.memo(
|
|
|
1014
962
|
}
|
|
1015
963
|
);
|
|
1016
964
|
GradientText.displayName = "GradientText";
|
|
1017
|
-
var styles14 = StyleSheet.create({
|
|
1018
|
-
masked: {
|
|
1019
|
-
flexDirection: "row"
|
|
1020
|
-
},
|
|
1021
|
-
maskText: {
|
|
1022
|
-
backgroundColor: "transparent"
|
|
1023
|
-
},
|
|
1024
|
-
gradient: {
|
|
1025
|
-
flex: 1
|
|
1026
|
-
},
|
|
1027
|
-
gradientText: {
|
|
1028
|
-
backgroundColor: "transparent"
|
|
1029
|
-
}
|
|
1030
|
-
});
|
|
1031
965
|
var SIZE_CONFIG2 = defineVariants({
|
|
1032
966
|
xs: { paddingVertical: 5, paddingHorizontal: 12, fontSize: 12, lineHeight: 16, borderRadius: 8, iconSize: 12, loaderSize: "small" },
|
|
1033
967
|
sm: { paddingVertical: 7, paddingHorizontal: 16, fontSize: 13, lineHeight: 18, borderRadius: 10, iconSize: 14, loaderSize: "small" },
|
|
@@ -1118,11 +1052,11 @@ var Button = React38.memo(
|
|
|
1118
1052
|
const isDisabled = disabled || loading;
|
|
1119
1053
|
const resolvedLabel = label ?? (typeof children === "string" ? children : void 0);
|
|
1120
1054
|
const customContent = label == null ? children : null;
|
|
1121
|
-
const innerContent = /* @__PURE__ */ jsx(View, { style: [
|
|
1122
|
-
leftIcon != null && /* @__PURE__ */ jsx(View, { style:
|
|
1055
|
+
const innerContent = /* @__PURE__ */ jsx(View, { style: [styles14.inner, { paddingVertical: sz.paddingVertical, paddingHorizontal: sz.paddingHorizontal }], children: loading ? /* @__PURE__ */ jsx(ActivityIndicator, { testID: `${testID ?? ""}-spinner`, size: sz.loaderSize, color: loaderColor }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1056
|
+
leftIcon != null && /* @__PURE__ */ jsx(View, { style: styles14.iconLeft, children: leftIcon }),
|
|
1123
1057
|
resolvedLabel != null && /* @__PURE__ */ jsx(Text, { style: [resolvedTextStyle, textStyle], numberOfLines: 1, allowFontScaling: false, children: resolvedLabel }),
|
|
1124
1058
|
customContent != null && typeof customContent !== "string" && customContent,
|
|
1125
|
-
rightIcon != null && /* @__PURE__ */ jsx(View, { style:
|
|
1059
|
+
rightIcon != null && /* @__PURE__ */ jsx(View, { style: styles14.iconRight, children: rightIcon })
|
|
1126
1060
|
] }) });
|
|
1127
1061
|
if (variant === "glass") {
|
|
1128
1062
|
return /* @__PURE__ */ jsx(
|
|
@@ -1141,7 +1075,7 @@ var Button = React38.memo(
|
|
|
1141
1075
|
accessibilityState: { disabled: isDisabled, busy: loading },
|
|
1142
1076
|
style: [
|
|
1143
1077
|
animatedStyle,
|
|
1144
|
-
fullWidth ?
|
|
1078
|
+
fullWidth ? styles14.fullWidth : flex !== void 0 ? { flex } : styles14.selfStart,
|
|
1145
1079
|
{ opacity: disabled ? 0.45 : 1 },
|
|
1146
1080
|
style
|
|
1147
1081
|
],
|
|
@@ -1182,7 +1116,7 @@ var Button = React38.memo(
|
|
|
1182
1116
|
}
|
|
1183
1117
|
);
|
|
1184
1118
|
Button.displayName = "Button";
|
|
1185
|
-
var
|
|
1119
|
+
var styles14 = StyleSheet.create({
|
|
1186
1120
|
inner: { flexDirection: "row", alignItems: "center", justifyContent: "center" },
|
|
1187
1121
|
iconLeft: { marginRight: 8 },
|
|
1188
1122
|
iconRight: { marginLeft: 8 },
|
|
@@ -1278,7 +1212,7 @@ var IconButton = React38.memo(
|
|
|
1278
1212
|
animatedStyle,
|
|
1279
1213
|
style
|
|
1280
1214
|
],
|
|
1281
|
-
children: /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: resolvedBorderRadius, style:
|
|
1215
|
+
children: /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: resolvedBorderRadius, style: styles15.fill, children: /* @__PURE__ */ jsx(View, { style: styles15.center, children: content }) })
|
|
1282
1216
|
}
|
|
1283
1217
|
);
|
|
1284
1218
|
}
|
|
@@ -1300,7 +1234,7 @@ var IconButton = React38.memo(
|
|
|
1300
1234
|
}
|
|
1301
1235
|
);
|
|
1302
1236
|
IconButton.displayName = "IconButton";
|
|
1303
|
-
var
|
|
1237
|
+
var styles15 = StyleSheet.create({
|
|
1304
1238
|
fill: { flex: 1 },
|
|
1305
1239
|
center: { flex: 1, alignItems: "center", justifyContent: "center" }
|
|
1306
1240
|
});
|
|
@@ -1376,7 +1310,7 @@ var FAB = React38.memo(
|
|
|
1376
1310
|
isExtended && label != null && /* @__PURE__ */ jsx(
|
|
1377
1311
|
Text,
|
|
1378
1312
|
{
|
|
1379
|
-
style: [
|
|
1313
|
+
style: [styles16.label, { color: variant === "glass" ? theme.colors.text : "#fff" }],
|
|
1380
1314
|
allowFontScaling: false,
|
|
1381
1315
|
numberOfLines: 1,
|
|
1382
1316
|
children: label
|
|
@@ -1425,7 +1359,7 @@ var FAB = React38.memo(
|
|
|
1425
1359
|
}
|
|
1426
1360
|
);
|
|
1427
1361
|
FAB.displayName = "FAB";
|
|
1428
|
-
var
|
|
1362
|
+
var styles16 = StyleSheet.create({
|
|
1429
1363
|
label: {
|
|
1430
1364
|
marginLeft: 10,
|
|
1431
1365
|
fontSize: 15,
|
|
@@ -1470,13 +1404,13 @@ var FormControl = React38.memo(
|
|
|
1470
1404
|
color: isInvalid && errorText ? theme.colors.error : theme.colors.textSecondary
|
|
1471
1405
|
}), [isInvalid, errorText, theme.colors.error, theme.colors.textSecondary]);
|
|
1472
1406
|
const subText = isInvalid && errorText ? errorText : helperText;
|
|
1473
|
-
return /* @__PURE__ */ jsx(FormControlContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(View, { style: [
|
|
1407
|
+
return /* @__PURE__ */ jsx(FormControlContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(View, { style: [styles17.container, style], children: [
|
|
1474
1408
|
label != null && /* @__PURE__ */ jsxs(
|
|
1475
1409
|
Text,
|
|
1476
1410
|
{
|
|
1477
1411
|
nativeID: `${id}-label`,
|
|
1478
1412
|
style: [
|
|
1479
|
-
|
|
1413
|
+
styles17.label,
|
|
1480
1414
|
{ color: theme.colors.text }
|
|
1481
1415
|
],
|
|
1482
1416
|
allowFontScaling: false,
|
|
@@ -1492,7 +1426,7 @@ var FormControl = React38.memo(
|
|
|
1492
1426
|
}
|
|
1493
1427
|
);
|
|
1494
1428
|
FormControl.displayName = "FormControl";
|
|
1495
|
-
var
|
|
1429
|
+
var styles17 = StyleSheet.create({
|
|
1496
1430
|
container: {
|
|
1497
1431
|
width: "100%"
|
|
1498
1432
|
},
|
|
@@ -1672,14 +1606,14 @@ var TextInput = React38.memo(
|
|
|
1672
1606
|
textAlignVertical: "center"
|
|
1673
1607
|
}), [sz.fontSize, sz.px, theme.colors.text, resolvedLabel, sz.height]);
|
|
1674
1608
|
const showClear = clearable && hasValue && !resolvedIsDisabled && !resolvedIsReadOnly;
|
|
1675
|
-
const innerContent = /* @__PURE__ */ jsxs(View, { style:
|
|
1676
|
-
leftAddon != null && /* @__PURE__ */ jsx(View, { style:
|
|
1677
|
-
leftIcon != null && /* @__PURE__ */ jsx(View, { style: [
|
|
1678
|
-
/* @__PURE__ */ jsxs(View, { style: [
|
|
1609
|
+
const innerContent = /* @__PURE__ */ jsxs(View, { style: styles18.row, children: [
|
|
1610
|
+
leftAddon != null && /* @__PURE__ */ jsx(View, { style: styles18.addon, children: leftAddon }),
|
|
1611
|
+
leftIcon != null && /* @__PURE__ */ jsx(View, { style: [styles18.iconContainer, { marginLeft: sz.px }], children: leftIcon }),
|
|
1612
|
+
/* @__PURE__ */ jsxs(View, { style: [styles18.inputWrapper, { paddingHorizontal: leftIcon || leftAddon ? 8 : sz.px }], children: [
|
|
1679
1613
|
resolvedLabel != null && /* @__PURE__ */ jsxs(
|
|
1680
1614
|
Animated10.Text,
|
|
1681
1615
|
{
|
|
1682
|
-
style: [
|
|
1616
|
+
style: [styles18.floatingLabel, labelScaleStyle, labelColorStyle],
|
|
1683
1617
|
allowFontScaling: false,
|
|
1684
1618
|
onPress: () => inputRef.current?.focus(),
|
|
1685
1619
|
children: [
|
|
@@ -1713,19 +1647,19 @@ var TextInput = React38.memo(
|
|
|
1713
1647
|
Pressable,
|
|
1714
1648
|
{
|
|
1715
1649
|
onPress: handleClear,
|
|
1716
|
-
style: [
|
|
1650
|
+
style: [styles18.iconContainer, { marginRight: 8 }],
|
|
1717
1651
|
accessible: true,
|
|
1718
1652
|
accessibilityRole: "button",
|
|
1719
1653
|
accessibilityLabel: "Clear input",
|
|
1720
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
1654
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles18.clearIcon, { color: theme.colors.textMuted }], children: "\u2715" })
|
|
1721
1655
|
}
|
|
1722
1656
|
),
|
|
1723
|
-
rightIcon != null && !showClear && /* @__PURE__ */ jsx(View, { style: [
|
|
1724
|
-
rightAddon != null && /* @__PURE__ */ jsx(View, { style:
|
|
1657
|
+
rightIcon != null && !showClear && /* @__PURE__ */ jsx(View, { style: [styles18.iconContainer, { marginRight: sz.px }], children: rightIcon }),
|
|
1658
|
+
rightAddon != null && /* @__PURE__ */ jsx(View, { style: styles18.addon, children: rightAddon })
|
|
1725
1659
|
] });
|
|
1726
1660
|
const subText = resolvedIsInvalid && resolvedErrorText ? resolvedErrorText : resolvedHelperText;
|
|
1727
1661
|
if (resolvedVariant === "glass") {
|
|
1728
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
1662
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles18.outerContainer, containerStyle, style], children: [
|
|
1729
1663
|
/* @__PURE__ */ jsx(
|
|
1730
1664
|
GlassView,
|
|
1731
1665
|
{
|
|
@@ -1740,7 +1674,7 @@ var TextInput = React38.memo(
|
|
|
1740
1674
|
Text,
|
|
1741
1675
|
{
|
|
1742
1676
|
style: [
|
|
1743
|
-
|
|
1677
|
+
styles18.subText,
|
|
1744
1678
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
1745
1679
|
],
|
|
1746
1680
|
allowFontScaling: false,
|
|
@@ -1749,14 +1683,14 @@ var TextInput = React38.memo(
|
|
|
1749
1683
|
)
|
|
1750
1684
|
] });
|
|
1751
1685
|
}
|
|
1752
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
1686
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles18.outerContainer, containerStyle, style], children: [
|
|
1753
1687
|
/* @__PURE__ */ jsx(
|
|
1754
1688
|
Animated10.View,
|
|
1755
1689
|
{
|
|
1756
1690
|
style: [
|
|
1757
1691
|
containerBase,
|
|
1758
1692
|
(resolvedVariant === "outline" || resolvedVariant === "underline") && borderAnimStyle,
|
|
1759
|
-
|
|
1693
|
+
styles18.inputContainer
|
|
1760
1694
|
],
|
|
1761
1695
|
children: innerContent
|
|
1762
1696
|
}
|
|
@@ -1765,7 +1699,7 @@ var TextInput = React38.memo(
|
|
|
1765
1699
|
Text,
|
|
1766
1700
|
{
|
|
1767
1701
|
style: [
|
|
1768
|
-
|
|
1702
|
+
styles18.subText,
|
|
1769
1703
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
1770
1704
|
],
|
|
1771
1705
|
allowFontScaling: false,
|
|
@@ -1776,7 +1710,7 @@ var TextInput = React38.memo(
|
|
|
1776
1710
|
}
|
|
1777
1711
|
);
|
|
1778
1712
|
TextInput.displayName = "TextInput";
|
|
1779
|
-
var
|
|
1713
|
+
var styles18 = StyleSheet.create({
|
|
1780
1714
|
outerContainer: {
|
|
1781
1715
|
width: "100%"
|
|
1782
1716
|
},
|
|
@@ -1818,7 +1752,7 @@ var styles19 = StyleSheet.create({
|
|
|
1818
1752
|
marginTop: 4
|
|
1819
1753
|
}
|
|
1820
1754
|
});
|
|
1821
|
-
var EyeIcon = React38.memo(({ visible, color }) => /* @__PURE__ */ jsx(Text, { style: [
|
|
1755
|
+
var EyeIcon = React38.memo(({ visible, color }) => /* @__PURE__ */ jsx(Text, { style: [styles19.eyeText, { color }], children: visible ? "\u2299" : "\u2297" }));
|
|
1822
1756
|
EyeIcon.displayName = "EyeIcon";
|
|
1823
1757
|
var PasswordInput = React38.memo(
|
|
1824
1758
|
({
|
|
@@ -1835,7 +1769,7 @@ var PasswordInput = React38.memo(
|
|
|
1835
1769
|
Pressable,
|
|
1836
1770
|
{
|
|
1837
1771
|
onPress: toggleVisibility,
|
|
1838
|
-
style:
|
|
1772
|
+
style: styles19.toggleButton,
|
|
1839
1773
|
accessible: true,
|
|
1840
1774
|
accessibilityRole: "button",
|
|
1841
1775
|
accessibilityLabel: visible ? "Hide password" : "Show password",
|
|
@@ -1859,7 +1793,7 @@ var PasswordInput = React38.memo(
|
|
|
1859
1793
|
}
|
|
1860
1794
|
);
|
|
1861
1795
|
PasswordInput.displayName = "PasswordInput";
|
|
1862
|
-
var
|
|
1796
|
+
var styles19 = StyleSheet.create({
|
|
1863
1797
|
toggleButton: {
|
|
1864
1798
|
justifyContent: "center",
|
|
1865
1799
|
alignItems: "center",
|
|
@@ -1993,11 +1927,11 @@ var TextArea = React38.memo(
|
|
|
1993
1927
|
...rest
|
|
1994
1928
|
}
|
|
1995
1929
|
);
|
|
1996
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
1930
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles20.outerContainer, containerStyle, style], children: [
|
|
1997
1931
|
resolvedLabel != null && /* @__PURE__ */ jsxs(
|
|
1998
1932
|
Text,
|
|
1999
1933
|
{
|
|
2000
|
-
style: [
|
|
1934
|
+
style: [styles20.label, { color: theme.colors.text }],
|
|
2001
1935
|
allowFontScaling: false,
|
|
2002
1936
|
children: [
|
|
2003
1937
|
resolvedLabel,
|
|
@@ -2028,7 +1962,7 @@ var TextArea = React38.memo(
|
|
|
2028
1962
|
Text,
|
|
2029
1963
|
{
|
|
2030
1964
|
style: [
|
|
2031
|
-
|
|
1965
|
+
styles20.subText,
|
|
2032
1966
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
2033
1967
|
],
|
|
2034
1968
|
allowFontScaling: false,
|
|
@@ -2039,7 +1973,7 @@ var TextArea = React38.memo(
|
|
|
2039
1973
|
}
|
|
2040
1974
|
);
|
|
2041
1975
|
TextArea.displayName = "TextArea";
|
|
2042
|
-
var
|
|
1976
|
+
var styles20 = StyleSheet.create({
|
|
2043
1977
|
outerContainer: {
|
|
2044
1978
|
width: "100%"
|
|
2045
1979
|
},
|
|
@@ -2136,11 +2070,11 @@ var SearchBar = React38.memo(
|
|
|
2136
2070
|
const inputBg = {
|
|
2137
2071
|
backgroundColor: isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)"
|
|
2138
2072
|
};
|
|
2139
|
-
const innerContent = /* @__PURE__ */ jsxs(View, { style: [
|
|
2073
|
+
const innerContent = /* @__PURE__ */ jsxs(View, { style: [styles21.inputRow, { height: sz.height, paddingHorizontal: sz.px }], children: [
|
|
2140
2074
|
/* @__PURE__ */ jsx(
|
|
2141
2075
|
Text,
|
|
2142
2076
|
{
|
|
2143
|
-
style: [
|
|
2077
|
+
style: [styles21.searchIcon, { fontSize: sz.iconSize, color: theme.colors.textMuted }],
|
|
2144
2078
|
allowFontScaling: false,
|
|
2145
2079
|
children: "\u2315"
|
|
2146
2080
|
}
|
|
@@ -2161,7 +2095,7 @@ var SearchBar = React38.memo(
|
|
|
2161
2095
|
onChangeText: handleChangeText,
|
|
2162
2096
|
onSubmitEditing: handleSubmit,
|
|
2163
2097
|
style: [
|
|
2164
|
-
|
|
2098
|
+
styles21.input,
|
|
2165
2099
|
{
|
|
2166
2100
|
fontSize: sz.fontSize,
|
|
2167
2101
|
color: theme.colors.text
|
|
@@ -2174,7 +2108,7 @@ var SearchBar = React38.memo(
|
|
|
2174
2108
|
Pressable,
|
|
2175
2109
|
{
|
|
2176
2110
|
onPress: handleClear,
|
|
2177
|
-
style:
|
|
2111
|
+
style: styles21.clearBtn,
|
|
2178
2112
|
accessible: true,
|
|
2179
2113
|
accessibilityRole: "button",
|
|
2180
2114
|
accessibilityLabel: "Clear search",
|
|
@@ -2182,7 +2116,7 @@ var SearchBar = React38.memo(
|
|
|
2182
2116
|
children: /* @__PURE__ */ jsx(
|
|
2183
2117
|
Text,
|
|
2184
2118
|
{
|
|
2185
|
-
style: [
|
|
2119
|
+
style: [styles21.clearIcon, { color: theme.colors.textMuted }],
|
|
2186
2120
|
allowFontScaling: false,
|
|
2187
2121
|
children: "\u2715"
|
|
2188
2122
|
}
|
|
@@ -2190,10 +2124,10 @@ var SearchBar = React38.memo(
|
|
|
2190
2124
|
}
|
|
2191
2125
|
)
|
|
2192
2126
|
] });
|
|
2193
|
-
const searchContainer = glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style:
|
|
2194
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
2195
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
2196
|
-
showCancel && /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
2127
|
+
const searchContainer = glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: styles21.glassContainer, children: innerContent }) : /* @__PURE__ */ jsx(View, { style: [styles21.inputContainer, inputBg, { borderRadius: 12 }], children: innerContent });
|
|
2128
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles21.outerRow, style], children: [
|
|
2129
|
+
/* @__PURE__ */ jsx(View, { style: styles21.searchWrapper, children: searchContainer }),
|
|
2130
|
+
showCancel && /* @__PURE__ */ jsx(Animated10.View, { style: [styles21.cancelWrapper, cancelAnimStyle], children: /* @__PURE__ */ jsx(
|
|
2197
2131
|
Pressable,
|
|
2198
2132
|
{
|
|
2199
2133
|
onPress: handleCancel,
|
|
@@ -2203,7 +2137,7 @@ var SearchBar = React38.memo(
|
|
|
2203
2137
|
children: /* @__PURE__ */ jsx(
|
|
2204
2138
|
Text,
|
|
2205
2139
|
{
|
|
2206
|
-
style: [
|
|
2140
|
+
style: [styles21.cancelText, { color: theme.colors.primary }],
|
|
2207
2141
|
allowFontScaling: false,
|
|
2208
2142
|
numberOfLines: 1,
|
|
2209
2143
|
children: "Cancel"
|
|
@@ -2215,7 +2149,7 @@ var SearchBar = React38.memo(
|
|
|
2215
2149
|
}
|
|
2216
2150
|
);
|
|
2217
2151
|
SearchBar.displayName = "SearchBar";
|
|
2218
|
-
var
|
|
2152
|
+
var styles21 = StyleSheet.create({
|
|
2219
2153
|
outerRow: { flexDirection: "row", alignItems: "center" },
|
|
2220
2154
|
searchWrapper: { flex: 1 },
|
|
2221
2155
|
inputContainer: { overflow: "hidden" },
|
|
@@ -2321,7 +2255,7 @@ var Checkbox = React38.memo(
|
|
|
2321
2255
|
Animated10.Text,
|
|
2322
2256
|
{
|
|
2323
2257
|
style: [
|
|
2324
|
-
|
|
2258
|
+
styles22.checkmark,
|
|
2325
2259
|
{ fontSize: sz.fontSize, color: "#fff" },
|
|
2326
2260
|
checkmarkStyle
|
|
2327
2261
|
],
|
|
@@ -2330,7 +2264,7 @@ var Checkbox = React38.memo(
|
|
|
2330
2264
|
}
|
|
2331
2265
|
) });
|
|
2332
2266
|
const wrappedBox = glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: sz.borderRadius, children: boxContent }) : boxContent;
|
|
2333
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
2267
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles22.container, { opacity: resolvedIsDisabled ? 0.45 : 1 }, style], children: [
|
|
2334
2268
|
/* @__PURE__ */ jsxs(
|
|
2335
2269
|
Pressable,
|
|
2336
2270
|
{
|
|
@@ -2340,13 +2274,13 @@ var Checkbox = React38.memo(
|
|
|
2340
2274
|
accessibilityRole: "checkbox",
|
|
2341
2275
|
accessibilityState: { checked: isIndeterminate ? "mixed" : isChecked, disabled: resolvedIsDisabled },
|
|
2342
2276
|
accessibilityLabel: label,
|
|
2343
|
-
style:
|
|
2277
|
+
style: styles22.row,
|
|
2344
2278
|
children: [
|
|
2345
2279
|
wrappedBox,
|
|
2346
2280
|
label != null && /* @__PURE__ */ jsx(
|
|
2347
2281
|
Text,
|
|
2348
2282
|
{
|
|
2349
|
-
style: [
|
|
2283
|
+
style: [styles22.label, { fontSize: sz.labelSize, color: theme.colors.text }],
|
|
2350
2284
|
allowFontScaling: false,
|
|
2351
2285
|
children: label
|
|
2352
2286
|
}
|
|
@@ -2358,7 +2292,7 @@ var Checkbox = React38.memo(
|
|
|
2358
2292
|
Text,
|
|
2359
2293
|
{
|
|
2360
2294
|
style: [
|
|
2361
|
-
|
|
2295
|
+
styles22.subText,
|
|
2362
2296
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
2363
2297
|
],
|
|
2364
2298
|
allowFontScaling: false,
|
|
@@ -2369,7 +2303,7 @@ var Checkbox = React38.memo(
|
|
|
2369
2303
|
}
|
|
2370
2304
|
);
|
|
2371
2305
|
Checkbox.displayName = "Checkbox";
|
|
2372
|
-
var
|
|
2306
|
+
var styles22 = StyleSheet.create({
|
|
2373
2307
|
container: {
|
|
2374
2308
|
alignSelf: "flex-start"
|
|
2375
2309
|
},
|
|
@@ -2437,7 +2371,7 @@ var Radio = React38.memo(
|
|
|
2437
2371
|
accessibilityState: { checked: isSelected, disabled },
|
|
2438
2372
|
accessibilityLabel: label ?? value,
|
|
2439
2373
|
style: [
|
|
2440
|
-
|
|
2374
|
+
styles23.row,
|
|
2441
2375
|
{ opacity: disabled ? 0.45 : 1 },
|
|
2442
2376
|
style
|
|
2443
2377
|
],
|
|
@@ -2446,7 +2380,7 @@ var Radio = React38.memo(
|
|
|
2446
2380
|
View,
|
|
2447
2381
|
{
|
|
2448
2382
|
style: [
|
|
2449
|
-
|
|
2383
|
+
styles23.outerRing,
|
|
2450
2384
|
{
|
|
2451
2385
|
width: sz.outer,
|
|
2452
2386
|
height: sz.outer,
|
|
@@ -2477,7 +2411,7 @@ var Radio = React38.memo(
|
|
|
2477
2411
|
Text,
|
|
2478
2412
|
{
|
|
2479
2413
|
style: [
|
|
2480
|
-
|
|
2414
|
+
styles23.label,
|
|
2481
2415
|
{ fontSize: sz.labelSize, color: theme.colors.text }
|
|
2482
2416
|
],
|
|
2483
2417
|
allowFontScaling: false,
|
|
@@ -2490,7 +2424,7 @@ var Radio = React38.memo(
|
|
|
2490
2424
|
}
|
|
2491
2425
|
);
|
|
2492
2426
|
Radio.displayName = "Radio";
|
|
2493
|
-
var
|
|
2427
|
+
var styles23 = StyleSheet.create({
|
|
2494
2428
|
row: { flexDirection: "row", alignItems: "center" },
|
|
2495
2429
|
outerRing: {},
|
|
2496
2430
|
label: { marginLeft: 10, fontWeight: "400" }
|
|
@@ -2532,8 +2466,8 @@ var RadioGroup = React38.memo(
|
|
|
2532
2466
|
View,
|
|
2533
2467
|
{
|
|
2534
2468
|
style: [
|
|
2535
|
-
|
|
2536
|
-
direction === "row" ?
|
|
2469
|
+
styles24.container,
|
|
2470
|
+
direction === "row" ? styles24.row : styles24.column,
|
|
2537
2471
|
style
|
|
2538
2472
|
],
|
|
2539
2473
|
accessible: true,
|
|
@@ -2544,7 +2478,7 @@ var RadioGroup = React38.memo(
|
|
|
2544
2478
|
}
|
|
2545
2479
|
);
|
|
2546
2480
|
RadioGroup.displayName = "RadioGroup";
|
|
2547
|
-
var
|
|
2481
|
+
var styles24 = StyleSheet.create({
|
|
2548
2482
|
container: {},
|
|
2549
2483
|
row: { flexDirection: "row", flexWrap: "wrap", gap: 12 },
|
|
2550
2484
|
column: { flexDirection: "column", gap: 10 }
|
|
@@ -2642,9 +2576,9 @@ var Switch = React38.memo(
|
|
|
2642
2576
|
Text,
|
|
2643
2577
|
{
|
|
2644
2578
|
style: [
|
|
2645
|
-
|
|
2579
|
+
styles25.label,
|
|
2646
2580
|
{ color: theme.colors.text },
|
|
2647
|
-
labelPosition === "left" ?
|
|
2581
|
+
labelPosition === "left" ? styles25.labelLeft : styles25.labelRight
|
|
2648
2582
|
],
|
|
2649
2583
|
allowFontScaling: false,
|
|
2650
2584
|
children: label
|
|
@@ -2660,7 +2594,7 @@ var Switch = React38.memo(
|
|
|
2660
2594
|
accessibilityState: { checked: isChecked, disabled: resolvedIsDisabled },
|
|
2661
2595
|
accessibilityLabel: label,
|
|
2662
2596
|
style: [
|
|
2663
|
-
|
|
2597
|
+
styles25.row,
|
|
2664
2598
|
{ opacity: resolvedIsDisabled ? 0.45 : 1 },
|
|
2665
2599
|
style
|
|
2666
2600
|
],
|
|
@@ -2674,7 +2608,7 @@ var Switch = React38.memo(
|
|
|
2674
2608
|
}
|
|
2675
2609
|
);
|
|
2676
2610
|
Switch.displayName = "Switch";
|
|
2677
|
-
var
|
|
2611
|
+
var styles25 = StyleSheet.create({
|
|
2678
2612
|
row: { flexDirection: "row", alignItems: "center" },
|
|
2679
2613
|
label: { fontSize: 15, fontWeight: "400" },
|
|
2680
2614
|
labelLeft: { marginRight: 10 },
|
|
@@ -2787,7 +2721,7 @@ function Slider({
|
|
|
2787
2721
|
return /* @__PURE__ */ jsxs(
|
|
2788
2722
|
View,
|
|
2789
2723
|
{
|
|
2790
|
-
style: [
|
|
2724
|
+
style: [styles26.wrapper, style],
|
|
2791
2725
|
accessible: true,
|
|
2792
2726
|
accessibilityRole: "adjustable",
|
|
2793
2727
|
accessibilityValue: { min, max, now: resolvedValue },
|
|
@@ -2798,27 +2732,27 @@ function Slider({
|
|
|
2798
2732
|
Animated.View,
|
|
2799
2733
|
{
|
|
2800
2734
|
style: [
|
|
2801
|
-
|
|
2735
|
+
styles26.tooltip,
|
|
2802
2736
|
{
|
|
2803
2737
|
left: Animated.subtract(thumbAnim, new Animated.Value(containerPadding - resolvedThumbSize / 2)),
|
|
2804
2738
|
backgroundColor: resolvedColor
|
|
2805
2739
|
}
|
|
2806
2740
|
],
|
|
2807
2741
|
pointerEvents: "none",
|
|
2808
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
2742
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles26.tooltipText, children: Math.round(resolvedValue) })
|
|
2809
2743
|
}
|
|
2810
2744
|
),
|
|
2811
2745
|
/* @__PURE__ */ jsxs(
|
|
2812
2746
|
View,
|
|
2813
2747
|
{
|
|
2814
|
-
style: [
|
|
2748
|
+
style: [styles26.trackContainer, { paddingHorizontal: containerPadding }],
|
|
2815
2749
|
onLayout,
|
|
2816
2750
|
children: [
|
|
2817
2751
|
/* @__PURE__ */ jsx(
|
|
2818
2752
|
View,
|
|
2819
2753
|
{
|
|
2820
2754
|
style: [
|
|
2821
|
-
|
|
2755
|
+
styles26.track,
|
|
2822
2756
|
{
|
|
2823
2757
|
height: sz.trackHeight,
|
|
2824
2758
|
backgroundColor: resolvedTrackColor,
|
|
@@ -2848,7 +2782,7 @@ function Slider({
|
|
|
2848
2782
|
View,
|
|
2849
2783
|
{
|
|
2850
2784
|
style: [
|
|
2851
|
-
|
|
2785
|
+
styles26.mark,
|
|
2852
2786
|
{
|
|
2853
2787
|
left: markOffset + containerPadding - 2,
|
|
2854
2788
|
top: (sz.thumbSize - 6) / 2,
|
|
@@ -2865,7 +2799,7 @@ function Slider({
|
|
|
2865
2799
|
{
|
|
2866
2800
|
...panResponder.panHandlers,
|
|
2867
2801
|
style: [
|
|
2868
|
-
|
|
2802
|
+
styles26.thumb,
|
|
2869
2803
|
{
|
|
2870
2804
|
width: resolvedThumbSize,
|
|
2871
2805
|
height: resolvedThumbSize,
|
|
@@ -2886,7 +2820,7 @@ function Slider({
|
|
|
2886
2820
|
);
|
|
2887
2821
|
}
|
|
2888
2822
|
Slider.displayName = "Slider";
|
|
2889
|
-
var
|
|
2823
|
+
var styles26 = StyleSheet.create({
|
|
2890
2824
|
wrapper: {
|
|
2891
2825
|
width: "100%"
|
|
2892
2826
|
},
|
|
@@ -3073,14 +3007,14 @@ var RangeSlider = React38.memo(
|
|
|
3073
3007
|
const track = /* @__PURE__ */ jsxs(
|
|
3074
3008
|
View,
|
|
3075
3009
|
{
|
|
3076
|
-
style: [
|
|
3010
|
+
style: [styles27.trackContainer, { paddingHorizontal: thumbPad }],
|
|
3077
3011
|
onLayout,
|
|
3078
3012
|
children: [
|
|
3079
3013
|
/* @__PURE__ */ jsx(
|
|
3080
3014
|
View,
|
|
3081
3015
|
{
|
|
3082
3016
|
style: [
|
|
3083
|
-
|
|
3017
|
+
styles27.track,
|
|
3084
3018
|
{
|
|
3085
3019
|
backgroundColor: resolvedTrackColor,
|
|
3086
3020
|
opacity: isDisabled ? 0.4 : 1
|
|
@@ -3093,7 +3027,7 @@ var RangeSlider = React38.memo(
|
|
|
3093
3027
|
{
|
|
3094
3028
|
pointerEvents: "none",
|
|
3095
3029
|
style: [
|
|
3096
|
-
|
|
3030
|
+
styles27.activeSegment,
|
|
3097
3031
|
{
|
|
3098
3032
|
backgroundColor: resolvedActiveColor,
|
|
3099
3033
|
left: activeLeft,
|
|
@@ -3107,7 +3041,7 @@ var RangeSlider = React38.memo(
|
|
|
3107
3041
|
{
|
|
3108
3042
|
...lowPan.panHandlers,
|
|
3109
3043
|
style: [
|
|
3110
|
-
|
|
3044
|
+
styles27.thumb,
|
|
3111
3045
|
{
|
|
3112
3046
|
width: thumbSize,
|
|
3113
3047
|
height: thumbSize,
|
|
@@ -3127,7 +3061,7 @@ var RangeSlider = React38.memo(
|
|
|
3127
3061
|
{
|
|
3128
3062
|
...highPan.panHandlers,
|
|
3129
3063
|
style: [
|
|
3130
|
-
|
|
3064
|
+
styles27.thumb,
|
|
3131
3065
|
{
|
|
3132
3066
|
width: thumbSize,
|
|
3133
3067
|
height: thumbSize,
|
|
@@ -3146,13 +3080,13 @@ var RangeSlider = React38.memo(
|
|
|
3146
3080
|
}
|
|
3147
3081
|
);
|
|
3148
3082
|
if (glass) {
|
|
3149
|
-
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: [
|
|
3083
|
+
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: [styles27.wrapper, style], children: track });
|
|
3150
3084
|
}
|
|
3151
|
-
return /* @__PURE__ */ jsx(View, { style: [
|
|
3085
|
+
return /* @__PURE__ */ jsx(View, { style: [styles27.wrapper, style], children: track });
|
|
3152
3086
|
}
|
|
3153
3087
|
);
|
|
3154
3088
|
RangeSlider.displayName = "RangeSlider";
|
|
3155
|
-
var
|
|
3089
|
+
var styles27 = StyleSheet.create({
|
|
3156
3090
|
wrapper: {
|
|
3157
3091
|
width: "100%",
|
|
3158
3092
|
paddingVertical: 12
|
|
@@ -3211,29 +3145,29 @@ var OTPBox = React38.memo(({ char, isFocused, isInvalid, glass, index }) => {
|
|
|
3211
3145
|
const filled = char.length > 0;
|
|
3212
3146
|
const fillColor = isDark ? "rgba(255,255,255,0.07)" : "rgba(0,0,0,0.04)";
|
|
3213
3147
|
if (glass) {
|
|
3214
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
3148
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles28.boxWrapper, entranceStyle], children: /* @__PURE__ */ jsx(
|
|
3215
3149
|
GlassView,
|
|
3216
3150
|
{
|
|
3217
3151
|
elevation: 1,
|
|
3218
3152
|
borderRadius: 12,
|
|
3219
3153
|
style: [
|
|
3220
|
-
|
|
3154
|
+
styles28.box,
|
|
3221
3155
|
isInvalid && { borderColor: theme.colors.error, borderWidth: 2 },
|
|
3222
3156
|
isFocused && { borderColor: theme.colors.primary, borderWidth: 2 }
|
|
3223
3157
|
],
|
|
3224
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
3158
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles28.char, { color: theme.colors.text }], children: char })
|
|
3225
3159
|
}
|
|
3226
3160
|
) });
|
|
3227
3161
|
}
|
|
3228
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
3162
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles28.boxWrapper, entranceStyle], children: /* @__PURE__ */ jsx(
|
|
3229
3163
|
Animated10.View,
|
|
3230
3164
|
{
|
|
3231
3165
|
style: [
|
|
3232
|
-
|
|
3166
|
+
styles28.box,
|
|
3233
3167
|
{ backgroundColor: filled ? fillColor : "transparent" },
|
|
3234
3168
|
borderStyle
|
|
3235
3169
|
],
|
|
3236
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
3170
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles28.char, { color: theme.colors.text }], children: char })
|
|
3237
3171
|
}
|
|
3238
3172
|
) });
|
|
3239
3173
|
});
|
|
@@ -3276,7 +3210,7 @@ var OTPInput = React38.memo(
|
|
|
3276
3210
|
Pressable,
|
|
3277
3211
|
{
|
|
3278
3212
|
onPress: handlePress,
|
|
3279
|
-
style: [
|
|
3213
|
+
style: [styles28.container, style],
|
|
3280
3214
|
accessible: true,
|
|
3281
3215
|
accessibilityRole: "none",
|
|
3282
3216
|
accessibilityLabel: `OTP input, ${length} digits`,
|
|
@@ -3293,13 +3227,13 @@ var OTPInput = React38.memo(
|
|
|
3293
3227
|
autoFocus,
|
|
3294
3228
|
editable: !isDisabled,
|
|
3295
3229
|
caretHidden: true,
|
|
3296
|
-
style:
|
|
3230
|
+
style: styles28.hiddenInput,
|
|
3297
3231
|
importantForAccessibility: "no",
|
|
3298
3232
|
autoComplete: "one-time-code",
|
|
3299
3233
|
textContentType: "oneTimeCode"
|
|
3300
3234
|
}
|
|
3301
3235
|
),
|
|
3302
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3236
|
+
/* @__PURE__ */ jsx(View, { style: styles28.boxes, pointerEvents: "none", children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsx(
|
|
3303
3237
|
OTPBox,
|
|
3304
3238
|
{
|
|
3305
3239
|
index: i,
|
|
@@ -3316,7 +3250,7 @@ var OTPInput = React38.memo(
|
|
|
3316
3250
|
}
|
|
3317
3251
|
);
|
|
3318
3252
|
OTPInput.displayName = "OTPInput";
|
|
3319
|
-
var
|
|
3253
|
+
var styles28 = StyleSheet.create({
|
|
3320
3254
|
container: {
|
|
3321
3255
|
alignSelf: "stretch"
|
|
3322
3256
|
},
|
|
@@ -3360,18 +3294,18 @@ var OptionRow = React38.memo(({ option, isSelected, onSelect, theme }) => {
|
|
|
3360
3294
|
{
|
|
3361
3295
|
onPress: handlePress,
|
|
3362
3296
|
style: ({ pressed }) => [
|
|
3363
|
-
|
|
3297
|
+
styles29.optionRow,
|
|
3364
3298
|
pressed && { backgroundColor: theme.colors.neutralSubtle },
|
|
3365
3299
|
option.disabled && { opacity: 0.4 }
|
|
3366
3300
|
],
|
|
3367
3301
|
accessibilityRole: "menuitem",
|
|
3368
3302
|
accessibilityState: { selected: isSelected, disabled: option.disabled },
|
|
3369
3303
|
children: [
|
|
3370
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
3371
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
3372
|
-
option.description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
3304
|
+
/* @__PURE__ */ jsxs(View, { style: styles29.optionContent, children: [
|
|
3305
|
+
/* @__PURE__ */ jsx(Text, { style: [styles29.optionLabel, { color: theme.colors.text }], children: option.label }),
|
|
3306
|
+
option.description != null && /* @__PURE__ */ jsx(Text, { style: [styles29.optionDesc, { color: theme.colors.textSecondary }], children: option.description })
|
|
3373
3307
|
] }),
|
|
3374
|
-
isSelected && /* @__PURE__ */ jsx(Text, { style: [
|
|
3308
|
+
isSelected && /* @__PURE__ */ jsx(Text, { style: [styles29.checkmark, { color: theme.colors.primary }], children: "\u2713" })
|
|
3375
3309
|
]
|
|
3376
3310
|
}
|
|
3377
3311
|
);
|
|
@@ -3453,7 +3387,7 @@ var Select = React38.memo(
|
|
|
3453
3387
|
Pressable,
|
|
3454
3388
|
{
|
|
3455
3389
|
onPress: openSheet,
|
|
3456
|
-
style: [
|
|
3390
|
+
style: [styles29.triggerRow, { paddingHorizontal: px }],
|
|
3457
3391
|
accessibilityRole: "combobox",
|
|
3458
3392
|
accessibilityState: { expanded: open, disabled: isDisabled },
|
|
3459
3393
|
accessibilityLabel: label ?? placeholder,
|
|
@@ -3462,7 +3396,7 @@ var Select = React38.memo(
|
|
|
3462
3396
|
Text,
|
|
3463
3397
|
{
|
|
3464
3398
|
style: [
|
|
3465
|
-
|
|
3399
|
+
styles29.triggerText,
|
|
3466
3400
|
{
|
|
3467
3401
|
fontSize: fs,
|
|
3468
3402
|
color: displayLabel ? theme.colors.text : theme.colors.textMuted,
|
|
@@ -3473,18 +3407,18 @@ var Select = React38.memo(
|
|
|
3473
3407
|
children: displayLabel || placeholder
|
|
3474
3408
|
}
|
|
3475
3409
|
),
|
|
3476
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: chevronStyle, children: /* @__PURE__ */ jsx(Text, { style: [
|
|
3410
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: chevronStyle, children: /* @__PURE__ */ jsx(Text, { style: [styles29.chevron, { color: theme.colors.textSecondary }], children: "\u203A" }) })
|
|
3477
3411
|
]
|
|
3478
3412
|
}
|
|
3479
3413
|
);
|
|
3480
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
3481
|
-
label != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
3414
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles29.wrapper, style], children: [
|
|
3415
|
+
label != null && /* @__PURE__ */ jsx(Text, { style: [styles29.label, { color: theme.colors.text }], children: label }),
|
|
3482
3416
|
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: { opacity: isDisabled ? 0.5 : 1 }, children: triggerInner }) : /* @__PURE__ */ jsx(View, { style: triggerBorder, children: triggerInner }),
|
|
3483
3417
|
subText != null && /* @__PURE__ */ jsx(
|
|
3484
3418
|
Text,
|
|
3485
3419
|
{
|
|
3486
3420
|
style: [
|
|
3487
|
-
|
|
3421
|
+
styles29.subText,
|
|
3488
3422
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
3489
3423
|
],
|
|
3490
3424
|
children: subText
|
|
@@ -3499,17 +3433,17 @@ var Select = React38.memo(
|
|
|
3499
3433
|
onRequestClose: closeSheet,
|
|
3500
3434
|
statusBarTranslucent: true,
|
|
3501
3435
|
children: [
|
|
3502
|
-
/* @__PURE__ */ jsx(Pressable, { style:
|
|
3436
|
+
/* @__PURE__ */ jsx(Pressable, { style: styles29.backdrop, onPress: closeSheet, children: /* @__PURE__ */ jsx(View, { style: styles29.backdropFill }) }),
|
|
3503
3437
|
/* @__PURE__ */ jsx(
|
|
3504
3438
|
Animated.View,
|
|
3505
3439
|
{
|
|
3506
|
-
style: [
|
|
3507
|
-
children: glass ? /* @__PURE__ */ jsxs(GlassView, { elevation: 1, borderRadius: 20, style:
|
|
3508
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3440
|
+
style: [styles29.sheet, { transform: [{ translateY: slideAnim }] }],
|
|
3441
|
+
children: glass ? /* @__PURE__ */ jsxs(GlassView, { elevation: 1, borderRadius: 20, style: styles29.panelFill, children: [
|
|
3442
|
+
/* @__PURE__ */ jsx(View, { style: styles29.handle }),
|
|
3509
3443
|
/* @__PURE__ */ jsx(
|
|
3510
3444
|
ScrollView,
|
|
3511
3445
|
{
|
|
3512
|
-
style:
|
|
3446
|
+
style: styles29.optionScroll,
|
|
3513
3447
|
keyboardShouldPersistTaps: "handled",
|
|
3514
3448
|
showsVerticalScrollIndicator: false,
|
|
3515
3449
|
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
@@ -3528,7 +3462,7 @@ var Select = React38.memo(
|
|
|
3528
3462
|
View,
|
|
3529
3463
|
{
|
|
3530
3464
|
style: [
|
|
3531
|
-
|
|
3465
|
+
styles29.panelFill,
|
|
3532
3466
|
{
|
|
3533
3467
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
3534
3468
|
borderTopLeftRadius: 20,
|
|
@@ -3536,11 +3470,11 @@ var Select = React38.memo(
|
|
|
3536
3470
|
}
|
|
3537
3471
|
],
|
|
3538
3472
|
children: [
|
|
3539
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3473
|
+
/* @__PURE__ */ jsx(View, { style: styles29.handle }),
|
|
3540
3474
|
/* @__PURE__ */ jsx(
|
|
3541
3475
|
ScrollView,
|
|
3542
3476
|
{
|
|
3543
|
-
style:
|
|
3477
|
+
style: styles29.optionScroll,
|
|
3544
3478
|
keyboardShouldPersistTaps: "handled",
|
|
3545
3479
|
showsVerticalScrollIndicator: false,
|
|
3546
3480
|
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
@@ -3567,7 +3501,7 @@ var Select = React38.memo(
|
|
|
3567
3501
|
}
|
|
3568
3502
|
);
|
|
3569
3503
|
Select.displayName = "Select";
|
|
3570
|
-
var
|
|
3504
|
+
var styles29 = StyleSheet.create({
|
|
3571
3505
|
wrapper: {
|
|
3572
3506
|
width: "100%"
|
|
3573
3507
|
},
|
|
@@ -3645,8 +3579,8 @@ var styles30 = StyleSheet.create({
|
|
|
3645
3579
|
marginLeft: 12
|
|
3646
3580
|
}
|
|
3647
3581
|
});
|
|
3648
|
-
var Chip = React38.memo(({ label, onRemove, theme }) => /* @__PURE__ */ jsxs(View, { style: [
|
|
3649
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
3582
|
+
var Chip = React38.memo(({ label, onRemove, theme }) => /* @__PURE__ */ jsxs(View, { style: [styles30.chip, { backgroundColor: theme.colors.primaryMuted }], children: [
|
|
3583
|
+
/* @__PURE__ */ jsx(Text, { style: [styles30.chipLabel, { color: theme.colors.primary }], numberOfLines: 1, children: label }),
|
|
3650
3584
|
/* @__PURE__ */ jsx(
|
|
3651
3585
|
Pressable,
|
|
3652
3586
|
{
|
|
@@ -3654,7 +3588,7 @@ var Chip = React38.memo(({ label, onRemove, theme }) => /* @__PURE__ */ jsxs(Vie
|
|
|
3654
3588
|
hitSlop: { top: 6, bottom: 6, left: 4, right: 4 },
|
|
3655
3589
|
accessibilityRole: "button",
|
|
3656
3590
|
accessibilityLabel: `Remove ${label}`,
|
|
3657
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
3591
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles30.chipDismiss, { color: theme.colors.primary }], children: "\u2715" })
|
|
3658
3592
|
}
|
|
3659
3593
|
)
|
|
3660
3594
|
] }));
|
|
@@ -3668,7 +3602,7 @@ var OptionRow2 = React38.memo(({ option, isSelected, isDisabled, onToggle, theme
|
|
|
3668
3602
|
{
|
|
3669
3603
|
onPress: handlePress,
|
|
3670
3604
|
style: ({ pressed }) => [
|
|
3671
|
-
|
|
3605
|
+
styles30.optionRow,
|
|
3672
3606
|
pressed && { backgroundColor: theme.colors.neutralSubtle },
|
|
3673
3607
|
(option.disabled || isDisabled) && { opacity: 0.4 }
|
|
3674
3608
|
],
|
|
@@ -3679,18 +3613,18 @@ var OptionRow2 = React38.memo(({ option, isSelected, isDisabled, onToggle, theme
|
|
|
3679
3613
|
View,
|
|
3680
3614
|
{
|
|
3681
3615
|
style: [
|
|
3682
|
-
|
|
3616
|
+
styles30.checkbox,
|
|
3683
3617
|
{
|
|
3684
3618
|
borderColor: isSelected ? theme.colors.primary : theme.colors.border,
|
|
3685
3619
|
backgroundColor: isSelected ? theme.colors.primary : "transparent"
|
|
3686
3620
|
}
|
|
3687
3621
|
],
|
|
3688
|
-
children: isSelected && /* @__PURE__ */ jsx(Text, { style:
|
|
3622
|
+
children: isSelected && /* @__PURE__ */ jsx(Text, { style: styles30.checkboxTick, children: "\u2713" })
|
|
3689
3623
|
}
|
|
3690
3624
|
),
|
|
3691
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
3692
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
3693
|
-
option.description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
3625
|
+
/* @__PURE__ */ jsxs(View, { style: styles30.optionContent, children: [
|
|
3626
|
+
/* @__PURE__ */ jsx(Text, { style: [styles30.optionLabel, { color: theme.colors.text }], children: option.label }),
|
|
3627
|
+
option.description != null && /* @__PURE__ */ jsx(Text, { style: [styles30.optionDesc, { color: theme.colors.textSecondary }], children: option.description })
|
|
3694
3628
|
] })
|
|
3695
3629
|
]
|
|
3696
3630
|
}
|
|
@@ -3770,12 +3704,12 @@ var MultiSelect = React38.memo(
|
|
|
3770
3704
|
Pressable,
|
|
3771
3705
|
{
|
|
3772
3706
|
onPress: openSheet,
|
|
3773
|
-
style: [
|
|
3707
|
+
style: [styles30.triggerRow],
|
|
3774
3708
|
accessibilityRole: "combobox",
|
|
3775
3709
|
accessibilityState: { expanded: open, disabled: isDisabled },
|
|
3776
3710
|
accessibilityLabel: placeholder,
|
|
3777
3711
|
children: [
|
|
3778
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3712
|
+
/* @__PURE__ */ jsx(View, { style: styles30.chipsContainer, children: selectedOptions.length === 0 ? /* @__PURE__ */ jsx(Text, { style: [styles30.placeholder, { color: theme.colors.textMuted }], children: placeholder }) : selectedOptions.map((opt) => /* @__PURE__ */ jsx(
|
|
3779
3713
|
Chip,
|
|
3780
3714
|
{
|
|
3781
3715
|
label: opt.label,
|
|
@@ -3784,7 +3718,7 @@ var MultiSelect = React38.memo(
|
|
|
3784
3718
|
},
|
|
3785
3719
|
opt.value
|
|
3786
3720
|
)) }),
|
|
3787
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: chevronStyle, children: /* @__PURE__ */ jsx(Text, { style: [
|
|
3721
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: chevronStyle, children: /* @__PURE__ */ jsx(Text, { style: [styles30.chevron, { color: theme.colors.textSecondary }], children: "\u203A" }) })
|
|
3788
3722
|
]
|
|
3789
3723
|
}
|
|
3790
3724
|
);
|
|
@@ -3795,7 +3729,7 @@ var MultiSelect = React38.memo(
|
|
|
3795
3729
|
minHeight: 52,
|
|
3796
3730
|
opacity: isDisabled ? 0.5 : 1
|
|
3797
3731
|
};
|
|
3798
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
3732
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles30.wrapper, style], children: [
|
|
3799
3733
|
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: { opacity: isDisabled ? 0.5 : 1 }, children: triggerContent }) : /* @__PURE__ */ jsx(View, { style: triggerBorder, children: triggerContent }),
|
|
3800
3734
|
/* @__PURE__ */ jsxs(
|
|
3801
3735
|
Modal,
|
|
@@ -3806,14 +3740,14 @@ var MultiSelect = React38.memo(
|
|
|
3806
3740
|
onRequestClose: closeSheet,
|
|
3807
3741
|
statusBarTranslucent: true,
|
|
3808
3742
|
children: [
|
|
3809
|
-
/* @__PURE__ */ jsx(Pressable, { style:
|
|
3743
|
+
/* @__PURE__ */ jsx(Pressable, { style: styles30.backdrop, onPress: closeSheet, children: /* @__PURE__ */ jsx(View, { style: styles30.backdropFill }) }),
|
|
3810
3744
|
/* @__PURE__ */ jsx(
|
|
3811
3745
|
Animated.View,
|
|
3812
3746
|
{
|
|
3813
|
-
style: [
|
|
3814
|
-
children: glass ? /* @__PURE__ */ jsxs(GlassView, { elevation: 1, borderRadius: 20, style:
|
|
3815
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3816
|
-
maxSelections != null && /* @__PURE__ */ jsxs(Text, { style: [
|
|
3747
|
+
style: [styles30.sheet, { transform: [{ translateY: slideAnim }] }],
|
|
3748
|
+
children: glass ? /* @__PURE__ */ jsxs(GlassView, { elevation: 1, borderRadius: 20, style: styles30.panelFill, children: [
|
|
3749
|
+
/* @__PURE__ */ jsx(View, { style: styles30.handle }),
|
|
3750
|
+
maxSelections != null && /* @__PURE__ */ jsxs(Text, { style: [styles30.limitText, { color: theme.colors.textSecondary }], children: [
|
|
3817
3751
|
currentValues.length,
|
|
3818
3752
|
"/",
|
|
3819
3753
|
maxSelections,
|
|
@@ -3822,7 +3756,7 @@ var MultiSelect = React38.memo(
|
|
|
3822
3756
|
/* @__PURE__ */ jsx(
|
|
3823
3757
|
ScrollView,
|
|
3824
3758
|
{
|
|
3825
|
-
style:
|
|
3759
|
+
style: styles30.optionScroll,
|
|
3826
3760
|
keyboardShouldPersistTaps: "handled",
|
|
3827
3761
|
showsVerticalScrollIndicator: false,
|
|
3828
3762
|
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
@@ -3842,7 +3776,7 @@ var MultiSelect = React38.memo(
|
|
|
3842
3776
|
View,
|
|
3843
3777
|
{
|
|
3844
3778
|
style: [
|
|
3845
|
-
|
|
3779
|
+
styles30.panelFill,
|
|
3846
3780
|
{
|
|
3847
3781
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
3848
3782
|
borderTopLeftRadius: 20,
|
|
@@ -3850,8 +3784,8 @@ var MultiSelect = React38.memo(
|
|
|
3850
3784
|
}
|
|
3851
3785
|
],
|
|
3852
3786
|
children: [
|
|
3853
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
3854
|
-
maxSelections != null && /* @__PURE__ */ jsxs(Text, { style: [
|
|
3787
|
+
/* @__PURE__ */ jsx(View, { style: styles30.handle }),
|
|
3788
|
+
maxSelections != null && /* @__PURE__ */ jsxs(Text, { style: [styles30.limitText, { color: theme.colors.textSecondary }], children: [
|
|
3855
3789
|
currentValues.length,
|
|
3856
3790
|
"/",
|
|
3857
3791
|
maxSelections,
|
|
@@ -3860,7 +3794,7 @@ var MultiSelect = React38.memo(
|
|
|
3860
3794
|
/* @__PURE__ */ jsx(
|
|
3861
3795
|
ScrollView,
|
|
3862
3796
|
{
|
|
3863
|
-
style:
|
|
3797
|
+
style: styles30.optionScroll,
|
|
3864
3798
|
keyboardShouldPersistTaps: "handled",
|
|
3865
3799
|
showsVerticalScrollIndicator: false,
|
|
3866
3800
|
children: options.map((opt) => /* @__PURE__ */ jsx(
|
|
@@ -3888,7 +3822,7 @@ var MultiSelect = React38.memo(
|
|
|
3888
3822
|
}
|
|
3889
3823
|
);
|
|
3890
3824
|
MultiSelect.displayName = "MultiSelect";
|
|
3891
|
-
var
|
|
3825
|
+
var styles30 = StyleSheet.create({
|
|
3892
3826
|
wrapper: {
|
|
3893
3827
|
width: "100%"
|
|
3894
3828
|
},
|
|
@@ -4050,12 +3984,12 @@ var WheelColumn = React38.memo(({ items, selectedIndex, onSelect, theme, width }
|
|
|
4050
3984
|
},
|
|
4051
3985
|
[items.length, onSelect]
|
|
4052
3986
|
);
|
|
4053
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
3987
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles31.wheel, { width }], children: [
|
|
4054
3988
|
/* @__PURE__ */ jsx(
|
|
4055
3989
|
View,
|
|
4056
3990
|
{
|
|
4057
3991
|
pointerEvents: "none",
|
|
4058
|
-
style: [
|
|
3992
|
+
style: [styles31.selectionHighlight, { borderColor: theme.colors.primary }]
|
|
4059
3993
|
}
|
|
4060
3994
|
),
|
|
4061
3995
|
/* @__PURE__ */ jsx(
|
|
@@ -4071,11 +4005,11 @@ var WheelColumn = React38.memo(({ items, selectedIndex, onSelect, theme, width }
|
|
|
4071
4005
|
contentContainerStyle: { paddingVertical: ITEM_HEIGHT * 2 },
|
|
4072
4006
|
children: items.map((item, i) => {
|
|
4073
4007
|
const isSelected = i === selectedIndex;
|
|
4074
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
4008
|
+
return /* @__PURE__ */ jsx(View, { style: styles31.wheelItem, children: /* @__PURE__ */ jsx(
|
|
4075
4009
|
Text,
|
|
4076
4010
|
{
|
|
4077
4011
|
style: [
|
|
4078
|
-
|
|
4012
|
+
styles31.wheelText,
|
|
4079
4013
|
{
|
|
4080
4014
|
color: isSelected ? theme.colors.primary : theme.colors.textSecondary,
|
|
4081
4015
|
fontWeight: isSelected ? "600" : "400",
|
|
@@ -4142,9 +4076,9 @@ var DatePicker = React38.memo(
|
|
|
4142
4076
|
const hours = Array.from({ length: 24 }, (_, i) => i.toString().padStart(2, "0"));
|
|
4143
4077
|
const minutes = Array.from({ length: 60 }, (_, i) => i.toString().padStart(2, "0"));
|
|
4144
4078
|
const panelContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4145
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
4146
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4147
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
4079
|
+
/* @__PURE__ */ jsx(View, { style: styles31.handle }),
|
|
4080
|
+
/* @__PURE__ */ jsx(Text, { style: [styles31.panelTitle, { color: theme.colors.text }], children: "Select Date" }),
|
|
4081
|
+
/* @__PURE__ */ jsxs(View, { style: styles31.wheelsRow, children: [
|
|
4148
4082
|
/* @__PURE__ */ jsx(
|
|
4149
4083
|
WheelColumn,
|
|
4150
4084
|
{
|
|
@@ -4177,8 +4111,8 @@ var DatePicker = React38.memo(
|
|
|
4177
4111
|
)
|
|
4178
4112
|
] }),
|
|
4179
4113
|
mode === "datetime" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4180
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
4181
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
4114
|
+
/* @__PURE__ */ jsx(View, { style: [styles31.divider, { backgroundColor: theme.colors.border }] }),
|
|
4115
|
+
/* @__PURE__ */ jsxs(View, { style: styles31.wheelsRow, children: [
|
|
4182
4116
|
/* @__PURE__ */ jsx(
|
|
4183
4117
|
WheelColumn,
|
|
4184
4118
|
{
|
|
@@ -4189,7 +4123,7 @@ var DatePicker = React38.memo(
|
|
|
4189
4123
|
width: 80
|
|
4190
4124
|
}
|
|
4191
4125
|
),
|
|
4192
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4126
|
+
/* @__PURE__ */ jsx(Text, { style: [styles31.timeSep, { color: theme.colors.textSecondary }], children: ":" }),
|
|
4193
4127
|
/* @__PURE__ */ jsx(
|
|
4194
4128
|
WheelColumn,
|
|
4195
4129
|
{
|
|
@@ -4202,25 +4136,25 @@ var DatePicker = React38.memo(
|
|
|
4202
4136
|
)
|
|
4203
4137
|
] })
|
|
4204
4138
|
] }),
|
|
4205
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
4206
|
-
/* @__PURE__ */ jsx(Pressable, { onPress: handleCancel, style:
|
|
4139
|
+
/* @__PURE__ */ jsxs(View, { style: styles31.actions, children: [
|
|
4140
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: handleCancel, style: styles31.actionBtn, children: /* @__PURE__ */ jsx(Text, { style: [styles31.cancelText, { color: theme.colors.textSecondary }], children: "Cancel" }) }),
|
|
4207
4141
|
/* @__PURE__ */ jsx(
|
|
4208
4142
|
Pressable,
|
|
4209
4143
|
{
|
|
4210
4144
|
onPress: handleConfirm,
|
|
4211
|
-
style: [
|
|
4212
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
4145
|
+
style: [styles31.actionBtn, styles31.confirmBtn, { backgroundColor: theme.colors.primary }],
|
|
4146
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles31.confirmText, children: "Confirm" })
|
|
4213
4147
|
}
|
|
4214
4148
|
)
|
|
4215
4149
|
] })
|
|
4216
4150
|
] });
|
|
4217
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
4151
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles31.wrapper, style], children: [
|
|
4218
4152
|
/* @__PURE__ */ jsxs(
|
|
4219
4153
|
Pressable,
|
|
4220
4154
|
{
|
|
4221
4155
|
onPress: openPicker,
|
|
4222
4156
|
style: [
|
|
4223
|
-
|
|
4157
|
+
styles31.trigger,
|
|
4224
4158
|
{
|
|
4225
4159
|
borderColor: theme.colors.border,
|
|
4226
4160
|
opacity: isDisabled ? 0.5 : 1,
|
|
@@ -4231,8 +4165,8 @@ var DatePicker = React38.memo(
|
|
|
4231
4165
|
accessibilityLabel: `Date picker, current value: ${displayText}`,
|
|
4232
4166
|
accessibilityState: { disabled: isDisabled },
|
|
4233
4167
|
children: [
|
|
4234
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4235
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4168
|
+
/* @__PURE__ */ jsx(Text, { style: [styles31.triggerText, { color: theme.colors.text }], children: displayText }),
|
|
4169
|
+
/* @__PURE__ */ jsx(Text, { style: [styles31.triggerIcon, { color: theme.colors.textSecondary }], children: "\u{1F4C5}" })
|
|
4236
4170
|
]
|
|
4237
4171
|
}
|
|
4238
4172
|
),
|
|
@@ -4245,12 +4179,12 @@ var DatePicker = React38.memo(
|
|
|
4245
4179
|
onRequestClose: handleCancel,
|
|
4246
4180
|
statusBarTranslucent: true,
|
|
4247
4181
|
children: [
|
|
4248
|
-
/* @__PURE__ */ jsx(Pressable, { style:
|
|
4249
|
-
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style:
|
|
4182
|
+
/* @__PURE__ */ jsx(Pressable, { style: styles31.backdrop, onPress: handleCancel, children: /* @__PURE__ */ jsx(View, { style: styles31.backdropFill }) }),
|
|
4183
|
+
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style: styles31.panel, children: panelContent }) : /* @__PURE__ */ jsx(
|
|
4250
4184
|
View,
|
|
4251
4185
|
{
|
|
4252
4186
|
style: [
|
|
4253
|
-
|
|
4187
|
+
styles31.panel,
|
|
4254
4188
|
{
|
|
4255
4189
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
4256
4190
|
borderTopLeftRadius: 20,
|
|
@@ -4267,7 +4201,7 @@ var DatePicker = React38.memo(
|
|
|
4267
4201
|
}
|
|
4268
4202
|
);
|
|
4269
4203
|
DatePicker.displayName = "DatePicker";
|
|
4270
|
-
var
|
|
4204
|
+
var styles31 = StyleSheet.create({
|
|
4271
4205
|
wrapper: {
|
|
4272
4206
|
width: "100%"
|
|
4273
4207
|
},
|
|
@@ -4425,12 +4359,12 @@ var WheelColumn2 = React38.memo(({ items, selectedIndex, onSelect, theme, width
|
|
|
4425
4359
|
},
|
|
4426
4360
|
[items.length, onSelect]
|
|
4427
4361
|
);
|
|
4428
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
4362
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles32.wheel, { width }], children: [
|
|
4429
4363
|
/* @__PURE__ */ jsx(
|
|
4430
4364
|
View,
|
|
4431
4365
|
{
|
|
4432
4366
|
pointerEvents: "none",
|
|
4433
|
-
style: [
|
|
4367
|
+
style: [styles32.selectionHighlight, { borderColor: theme.colors.primary }]
|
|
4434
4368
|
}
|
|
4435
4369
|
),
|
|
4436
4370
|
/* @__PURE__ */ jsx(
|
|
@@ -4446,11 +4380,11 @@ var WheelColumn2 = React38.memo(({ items, selectedIndex, onSelect, theme, width
|
|
|
4446
4380
|
contentContainerStyle: { paddingVertical: ITEM_HEIGHT2 * 2 },
|
|
4447
4381
|
children: items.map((item, i) => {
|
|
4448
4382
|
const isSelected = i === selectedIndex;
|
|
4449
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
4383
|
+
return /* @__PURE__ */ jsx(View, { style: styles32.wheelItem, children: /* @__PURE__ */ jsx(
|
|
4450
4384
|
Text,
|
|
4451
4385
|
{
|
|
4452
4386
|
style: [
|
|
4453
|
-
|
|
4387
|
+
styles32.wheelText,
|
|
4454
4388
|
{
|
|
4455
4389
|
color: isSelected ? theme.colors.primary : theme.colors.textSecondary,
|
|
4456
4390
|
fontWeight: isSelected ? "600" : "400",
|
|
@@ -4525,9 +4459,9 @@ var TimePicker = React38.memo(
|
|
|
4525
4459
|
const displayText = formatTime(currentDate, use24Hour);
|
|
4526
4460
|
const hourItems = use24Hour ? HOURS_24 : HOURS_12;
|
|
4527
4461
|
const panelContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4528
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
4529
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4530
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
4462
|
+
/* @__PURE__ */ jsx(View, { style: styles32.handle }),
|
|
4463
|
+
/* @__PURE__ */ jsx(Text, { style: [styles32.panelTitle, { color: theme.colors.text }], children: "Select Time" }),
|
|
4464
|
+
/* @__PURE__ */ jsxs(View, { style: styles32.wheelsRow, children: [
|
|
4531
4465
|
/* @__PURE__ */ jsx(
|
|
4532
4466
|
WheelColumn2,
|
|
4533
4467
|
{
|
|
@@ -4538,7 +4472,7 @@ var TimePicker = React38.memo(
|
|
|
4538
4472
|
width: 80
|
|
4539
4473
|
}
|
|
4540
4474
|
),
|
|
4541
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4475
|
+
/* @__PURE__ */ jsx(Text, { style: [styles32.timeSep, { color: theme.colors.textSecondary }], children: ":" }),
|
|
4542
4476
|
/* @__PURE__ */ jsx(
|
|
4543
4477
|
WheelColumn2,
|
|
4544
4478
|
{
|
|
@@ -4560,25 +4494,25 @@ var TimePicker = React38.memo(
|
|
|
4560
4494
|
}
|
|
4561
4495
|
)
|
|
4562
4496
|
] }),
|
|
4563
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
4564
|
-
/* @__PURE__ */ jsx(Pressable, { onPress: handleCancel, style:
|
|
4497
|
+
/* @__PURE__ */ jsxs(View, { style: styles32.actions, children: [
|
|
4498
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: handleCancel, style: styles32.actionBtn, children: /* @__PURE__ */ jsx(Text, { style: [styles32.cancelText, { color: theme.colors.textSecondary }], children: "Cancel" }) }),
|
|
4565
4499
|
/* @__PURE__ */ jsx(
|
|
4566
4500
|
Pressable,
|
|
4567
4501
|
{
|
|
4568
4502
|
onPress: handleConfirm,
|
|
4569
|
-
style: [
|
|
4570
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
4503
|
+
style: [styles32.actionBtn, { backgroundColor: theme.colors.primary }],
|
|
4504
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles32.confirmText, children: "Confirm" })
|
|
4571
4505
|
}
|
|
4572
4506
|
)
|
|
4573
4507
|
] })
|
|
4574
4508
|
] });
|
|
4575
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
4509
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles32.wrapper, style], children: [
|
|
4576
4510
|
/* @__PURE__ */ jsxs(
|
|
4577
4511
|
Pressable,
|
|
4578
4512
|
{
|
|
4579
4513
|
onPress: openPicker,
|
|
4580
4514
|
style: [
|
|
4581
|
-
|
|
4515
|
+
styles32.trigger,
|
|
4582
4516
|
{
|
|
4583
4517
|
borderColor: theme.colors.border,
|
|
4584
4518
|
opacity: isDisabled ? 0.5 : 1,
|
|
@@ -4589,8 +4523,8 @@ var TimePicker = React38.memo(
|
|
|
4589
4523
|
accessibilityLabel: `Time picker, current value: ${displayText}`,
|
|
4590
4524
|
accessibilityState: { disabled: isDisabled },
|
|
4591
4525
|
children: [
|
|
4592
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4593
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
4526
|
+
/* @__PURE__ */ jsx(Text, { style: [styles32.triggerText, { color: theme.colors.text }], children: displayText }),
|
|
4527
|
+
/* @__PURE__ */ jsx(Text, { style: [styles32.triggerIcon, { color: theme.colors.textSecondary }], children: "\u23F0" })
|
|
4594
4528
|
]
|
|
4595
4529
|
}
|
|
4596
4530
|
),
|
|
@@ -4603,12 +4537,12 @@ var TimePicker = React38.memo(
|
|
|
4603
4537
|
onRequestClose: handleCancel,
|
|
4604
4538
|
statusBarTranslucent: true,
|
|
4605
4539
|
children: [
|
|
4606
|
-
/* @__PURE__ */ jsx(Pressable, { style:
|
|
4607
|
-
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style:
|
|
4540
|
+
/* @__PURE__ */ jsx(Pressable, { style: styles32.backdrop, onPress: handleCancel, children: /* @__PURE__ */ jsx(View, { style: styles32.backdropFill }) }),
|
|
4541
|
+
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style: styles32.panel, children: panelContent }) : /* @__PURE__ */ jsx(
|
|
4608
4542
|
View,
|
|
4609
4543
|
{
|
|
4610
4544
|
style: [
|
|
4611
|
-
|
|
4545
|
+
styles32.panel,
|
|
4612
4546
|
{
|
|
4613
4547
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
4614
4548
|
borderTopLeftRadius: 20,
|
|
@@ -4625,7 +4559,7 @@ var TimePicker = React38.memo(
|
|
|
4625
4559
|
}
|
|
4626
4560
|
);
|
|
4627
4561
|
TimePicker.displayName = "TimePicker";
|
|
4628
|
-
var
|
|
4562
|
+
var styles32 = StyleSheet.create({
|
|
4629
4563
|
wrapper: {
|
|
4630
4564
|
width: "100%"
|
|
4631
4565
|
},
|
|
@@ -4740,8 +4674,8 @@ var LiquidCardHeader = React38.memo(
|
|
|
4740
4674
|
View,
|
|
4741
4675
|
{
|
|
4742
4676
|
style: [
|
|
4743
|
-
|
|
4744
|
-
compact &&
|
|
4677
|
+
styles33.header,
|
|
4678
|
+
compact && styles33.compact,
|
|
4745
4679
|
bordered && {
|
|
4746
4680
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
4747
4681
|
borderBottomColor: isDark ? "rgba(255,255,255,0.10)" : "rgba(0,0,0,0.08)"
|
|
@@ -4755,7 +4689,7 @@ var LiquidCardHeader = React38.memo(
|
|
|
4755
4689
|
);
|
|
4756
4690
|
LiquidCardHeader.displayName = "LiquidCard.Header";
|
|
4757
4691
|
var LiquidCardBody = React38.memo(
|
|
4758
|
-
({ children, style, compact = false }) => /* @__PURE__ */ jsx(View, { style: [
|
|
4692
|
+
({ children, style, compact = false }) => /* @__PURE__ */ jsx(View, { style: [styles33.body, compact && styles33.compact, style], children })
|
|
4759
4693
|
);
|
|
4760
4694
|
LiquidCardBody.displayName = "LiquidCard.Body";
|
|
4761
4695
|
var LiquidCardFooter = React38.memo(
|
|
@@ -4765,8 +4699,8 @@ var LiquidCardFooter = React38.memo(
|
|
|
4765
4699
|
View,
|
|
4766
4700
|
{
|
|
4767
4701
|
style: [
|
|
4768
|
-
|
|
4769
|
-
compact &&
|
|
4702
|
+
styles33.footer,
|
|
4703
|
+
compact && styles33.compact,
|
|
4770
4704
|
bordered && {
|
|
4771
4705
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
4772
4706
|
borderTopColor: isDark ? "rgba(255,255,255,0.10)" : "rgba(0,0,0,0.08)"
|
|
@@ -4785,7 +4719,7 @@ var LiquidCardImage = React38.memo(
|
|
|
4785
4719
|
{
|
|
4786
4720
|
source,
|
|
4787
4721
|
style: [
|
|
4788
|
-
|
|
4722
|
+
styles33.image,
|
|
4789
4723
|
{ height },
|
|
4790
4724
|
rounded && { borderRadius: 12 },
|
|
4791
4725
|
style
|
|
@@ -4838,7 +4772,7 @@ var LiquidCardRoot = React38.memo(
|
|
|
4838
4772
|
borderRadius,
|
|
4839
4773
|
border,
|
|
4840
4774
|
glow,
|
|
4841
|
-
style: fullWidth ?
|
|
4775
|
+
style: fullWidth ? styles33.fullWidth : void 0,
|
|
4842
4776
|
contentStyle,
|
|
4843
4777
|
children
|
|
4844
4778
|
}
|
|
@@ -4855,7 +4789,7 @@ var LiquidCardRoot = React38.memo(
|
|
|
4855
4789
|
accessibilityRole: "button",
|
|
4856
4790
|
accessibilityLabel,
|
|
4857
4791
|
accessibilityHint,
|
|
4858
|
-
style: fullWidth ?
|
|
4792
|
+
style: fullWidth ? styles33.fullWidth : void 0,
|
|
4859
4793
|
children: /* @__PURE__ */ jsx(Animated10.View, { style: [animatedStyle, style], children: glass })
|
|
4860
4794
|
}
|
|
4861
4795
|
);
|
|
@@ -4870,7 +4804,7 @@ var LiquidCard = Object.assign(LiquidCardRoot, {
|
|
|
4870
4804
|
Footer: LiquidCardFooter,
|
|
4871
4805
|
Image: LiquidCardImage
|
|
4872
4806
|
});
|
|
4873
|
-
var
|
|
4807
|
+
var styles33 = StyleSheet.create({
|
|
4874
4808
|
header: {
|
|
4875
4809
|
paddingHorizontal: 20,
|
|
4876
4810
|
paddingTop: 20,
|
|
@@ -4993,7 +4927,7 @@ var Avatar = React38.memo(
|
|
|
4993
4927
|
View,
|
|
4994
4928
|
{
|
|
4995
4929
|
style: [
|
|
4996
|
-
|
|
4930
|
+
styles34.container,
|
|
4997
4931
|
{
|
|
4998
4932
|
width: sizePx,
|
|
4999
4933
|
height: sizePx,
|
|
@@ -5035,7 +4969,7 @@ var Avatar = React38.memo(
|
|
|
5035
4969
|
View,
|
|
5036
4970
|
{
|
|
5037
4971
|
style: [
|
|
5038
|
-
|
|
4972
|
+
styles34.indicator,
|
|
5039
4973
|
{
|
|
5040
4974
|
width: indicatorSize,
|
|
5041
4975
|
height: indicatorSize,
|
|
@@ -5055,7 +4989,7 @@ var Avatar = React38.memo(
|
|
|
5055
4989
|
}
|
|
5056
4990
|
);
|
|
5057
4991
|
Avatar.displayName = "Avatar";
|
|
5058
|
-
var
|
|
4992
|
+
var styles34 = StyleSheet.create({
|
|
5059
4993
|
container: {
|
|
5060
4994
|
alignItems: "center",
|
|
5061
4995
|
justifyContent: "center",
|
|
@@ -5184,11 +5118,11 @@ var BadgePill = React38.memo(
|
|
|
5184
5118
|
{
|
|
5185
5119
|
borderRadius: height / 2,
|
|
5186
5120
|
style: { height, minWidth, paddingHorizontal: px },
|
|
5187
|
-
contentStyle:
|
|
5121
|
+
contentStyle: styles35.pillContent,
|
|
5188
5122
|
children: /* @__PURE__ */ jsx(
|
|
5189
5123
|
Text,
|
|
5190
5124
|
{
|
|
5191
|
-
style: [
|
|
5125
|
+
style: [styles35.pillText, { fontSize, color: colors.text }],
|
|
5192
5126
|
allowFontScaling: false,
|
|
5193
5127
|
numberOfLines: 1,
|
|
5194
5128
|
children: displayText
|
|
@@ -5211,12 +5145,12 @@ var BadgePill = React38.memo(
|
|
|
5211
5145
|
borderWidth: variant === "outline" ? 1.5 : 0,
|
|
5212
5146
|
borderColor: colors.border
|
|
5213
5147
|
},
|
|
5214
|
-
|
|
5148
|
+
styles35.pillContent
|
|
5215
5149
|
],
|
|
5216
5150
|
children: /* @__PURE__ */ jsx(
|
|
5217
5151
|
Text,
|
|
5218
5152
|
{
|
|
5219
|
-
style: [
|
|
5153
|
+
style: [styles35.pillText, { fontSize, color: colors.text }],
|
|
5220
5154
|
allowFontScaling: false,
|
|
5221
5155
|
numberOfLines: 1,
|
|
5222
5156
|
children: displayText
|
|
@@ -5268,14 +5202,14 @@ var Badge = React38.memo(
|
|
|
5268
5202
|
if (!children) {
|
|
5269
5203
|
return /* @__PURE__ */ jsx(View, { style, children: pill });
|
|
5270
5204
|
}
|
|
5271
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
5205
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles35.wrapper, style], children: [
|
|
5272
5206
|
children,
|
|
5273
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
5207
|
+
/* @__PURE__ */ jsx(View, { style: [styles35.positioned, placementStyle(placement, size)], children: pill })
|
|
5274
5208
|
] });
|
|
5275
5209
|
}
|
|
5276
5210
|
);
|
|
5277
5211
|
Badge.displayName = "Badge";
|
|
5278
|
-
var
|
|
5212
|
+
var styles35 = StyleSheet.create({
|
|
5279
5213
|
wrapper: {
|
|
5280
5214
|
position: "relative",
|
|
5281
5215
|
alignSelf: "flex-start"
|
|
@@ -5347,10 +5281,10 @@ var DismissButton = React38.memo(({ onPress, size, color }) => {
|
|
|
5347
5281
|
accessibilityLabel: "Dismiss",
|
|
5348
5282
|
accessibilityRole: "button",
|
|
5349
5283
|
style: [
|
|
5350
|
-
|
|
5284
|
+
styles36.dismiss,
|
|
5351
5285
|
{ width: dim, height: dim, borderRadius: dim / 2 }
|
|
5352
5286
|
],
|
|
5353
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
5287
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles36.dismissText, { fontSize: dim * 0.55, color }], children: "\u2715" })
|
|
5354
5288
|
}
|
|
5355
5289
|
);
|
|
5356
5290
|
});
|
|
@@ -5391,7 +5325,7 @@ var Chip2 = React38.memo(
|
|
|
5391
5325
|
View,
|
|
5392
5326
|
{
|
|
5393
5327
|
style: [
|
|
5394
|
-
|
|
5328
|
+
styles36.row,
|
|
5395
5329
|
{
|
|
5396
5330
|
height,
|
|
5397
5331
|
borderRadius: height / 2,
|
|
@@ -5407,24 +5341,24 @@ var Chip2 = React38.memo(
|
|
|
5407
5341
|
View,
|
|
5408
5342
|
{
|
|
5409
5343
|
style: [
|
|
5410
|
-
|
|
5344
|
+
styles36.avatarSlot,
|
|
5411
5345
|
{ width: avatarSz, height: avatarSz, borderRadius: avatarSz / 2 },
|
|
5412
5346
|
{ marginRight: 6 }
|
|
5413
5347
|
],
|
|
5414
5348
|
children: avatar
|
|
5415
5349
|
}
|
|
5416
5350
|
),
|
|
5417
|
-
icon != null && avatar == null && /* @__PURE__ */ jsx(View, { style: [
|
|
5351
|
+
icon != null && avatar == null && /* @__PURE__ */ jsx(View, { style: [styles36.iconSlot, { marginRight: 4 }], children: icon }),
|
|
5418
5352
|
/* @__PURE__ */ jsx(
|
|
5419
5353
|
Text,
|
|
5420
5354
|
{
|
|
5421
|
-
style: [
|
|
5355
|
+
style: [styles36.label, { fontSize, color: activeText }],
|
|
5422
5356
|
numberOfLines: 1,
|
|
5423
5357
|
allowFontScaling: false,
|
|
5424
5358
|
children: label
|
|
5425
5359
|
}
|
|
5426
5360
|
),
|
|
5427
|
-
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsx(View, { style: [
|
|
5361
|
+
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsx(View, { style: [styles36.iconSlot, { marginLeft: 4 }], children: trailingIcon }),
|
|
5428
5362
|
onDismiss != null && /* @__PURE__ */ jsx(
|
|
5429
5363
|
DismissButton,
|
|
5430
5364
|
{
|
|
@@ -5442,7 +5376,7 @@ var Chip2 = React38.memo(
|
|
|
5442
5376
|
borderRadius: height / 2,
|
|
5443
5377
|
style: { overflow: "hidden" },
|
|
5444
5378
|
contentStyle: [
|
|
5445
|
-
|
|
5379
|
+
styles36.row,
|
|
5446
5380
|
{
|
|
5447
5381
|
height,
|
|
5448
5382
|
paddingHorizontal: px,
|
|
@@ -5454,23 +5388,23 @@ var Chip2 = React38.memo(
|
|
|
5454
5388
|
View,
|
|
5455
5389
|
{
|
|
5456
5390
|
style: [
|
|
5457
|
-
|
|
5391
|
+
styles36.avatarSlot,
|
|
5458
5392
|
{ width: avatarSz, height: avatarSz, borderRadius: avatarSz / 2, marginRight: 6 }
|
|
5459
5393
|
],
|
|
5460
5394
|
children: avatar
|
|
5461
5395
|
}
|
|
5462
5396
|
),
|
|
5463
|
-
icon != null && avatar == null && /* @__PURE__ */ jsx(View, { style: [
|
|
5397
|
+
icon != null && avatar == null && /* @__PURE__ */ jsx(View, { style: [styles36.iconSlot, { marginRight: 4 }], children: icon }),
|
|
5464
5398
|
/* @__PURE__ */ jsx(
|
|
5465
5399
|
Text,
|
|
5466
5400
|
{
|
|
5467
|
-
style: [
|
|
5401
|
+
style: [styles36.label, { fontSize, color: isSelected ? "#fff" : colors.text }],
|
|
5468
5402
|
numberOfLines: 1,
|
|
5469
5403
|
allowFontScaling: false,
|
|
5470
5404
|
children: label
|
|
5471
5405
|
}
|
|
5472
5406
|
),
|
|
5473
|
-
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsx(View, { style: [
|
|
5407
|
+
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsx(View, { style: [styles36.iconSlot, { marginLeft: 4 }], children: trailingIcon }),
|
|
5474
5408
|
onDismiss != null && /* @__PURE__ */ jsx(
|
|
5475
5409
|
DismissButton,
|
|
5476
5410
|
{
|
|
@@ -5501,7 +5435,7 @@ var Chip2 = React38.memo(
|
|
|
5501
5435
|
}
|
|
5502
5436
|
);
|
|
5503
5437
|
Chip2.displayName = "Chip";
|
|
5504
|
-
var
|
|
5438
|
+
var styles36 = StyleSheet.create({
|
|
5505
5439
|
row: {
|
|
5506
5440
|
flexDirection: "row",
|
|
5507
5441
|
alignItems: "center",
|
|
@@ -5555,12 +5489,12 @@ var ListItem = React38.memo(
|
|
|
5555
5489
|
});
|
|
5556
5490
|
const dividerColor = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)";
|
|
5557
5491
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5558
|
-
leading != null && /* @__PURE__ */ jsx(View, { style:
|
|
5559
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
5492
|
+
leading != null && /* @__PURE__ */ jsx(View, { style: styles37.leadingSlot, children: leading }),
|
|
5493
|
+
/* @__PURE__ */ jsxs(View, { style: styles37.textBlock, children: [
|
|
5560
5494
|
/* @__PURE__ */ jsx(
|
|
5561
5495
|
Text,
|
|
5562
5496
|
{
|
|
5563
|
-
style: [
|
|
5497
|
+
style: [styles37.title, { color: isDisabled ? theme.colors.textDisabled : theme.colors.text }],
|
|
5564
5498
|
numberOfLines: 2,
|
|
5565
5499
|
children: title
|
|
5566
5500
|
}
|
|
@@ -5568,7 +5502,7 @@ var ListItem = React38.memo(
|
|
|
5568
5502
|
subtitle != null && /* @__PURE__ */ jsx(
|
|
5569
5503
|
Text,
|
|
5570
5504
|
{
|
|
5571
|
-
style: [
|
|
5505
|
+
style: [styles37.subtitle, { color: isDisabled ? theme.colors.textDisabled : theme.colors.textSecondary }],
|
|
5572
5506
|
numberOfLines: 1,
|
|
5573
5507
|
children: subtitle
|
|
5574
5508
|
}
|
|
@@ -5576,16 +5510,16 @@ var ListItem = React38.memo(
|
|
|
5576
5510
|
description != null && /* @__PURE__ */ jsx(
|
|
5577
5511
|
Text,
|
|
5578
5512
|
{
|
|
5579
|
-
style: [
|
|
5513
|
+
style: [styles37.description, { color: theme.colors.textMuted }],
|
|
5580
5514
|
numberOfLines: 3,
|
|
5581
5515
|
children: description
|
|
5582
5516
|
}
|
|
5583
5517
|
)
|
|
5584
5518
|
] }),
|
|
5585
|
-
trailing != null && /* @__PURE__ */ jsx(View, { style:
|
|
5519
|
+
trailing != null && /* @__PURE__ */ jsx(View, { style: styles37.trailingSlot, children: trailing })
|
|
5586
5520
|
] });
|
|
5587
5521
|
const rowStyle = [
|
|
5588
|
-
|
|
5522
|
+
styles37.row,
|
|
5589
5523
|
showDivider && { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: dividerColor },
|
|
5590
5524
|
{ opacity: isDisabled ? 0.5 : 1 },
|
|
5591
5525
|
style
|
|
@@ -5595,8 +5529,8 @@ var ListItem = React38.memo(
|
|
|
5595
5529
|
GlassView,
|
|
5596
5530
|
{
|
|
5597
5531
|
borderRadius: 12,
|
|
5598
|
-
style:
|
|
5599
|
-
contentStyle:
|
|
5532
|
+
style: styles37.glassContainer,
|
|
5533
|
+
contentStyle: styles37.row,
|
|
5600
5534
|
children: content
|
|
5601
5535
|
}
|
|
5602
5536
|
);
|
|
@@ -5638,7 +5572,7 @@ var ListItem = React38.memo(
|
|
|
5638
5572
|
}
|
|
5639
5573
|
);
|
|
5640
5574
|
ListItem.displayName = "ListItem";
|
|
5641
|
-
var
|
|
5575
|
+
var styles37 = StyleSheet.create({
|
|
5642
5576
|
row: {
|
|
5643
5577
|
flexDirection: "row",
|
|
5644
5578
|
alignItems: "center",
|
|
@@ -5689,14 +5623,14 @@ var SectionHeader = React38.memo(({ title }) => {
|
|
|
5689
5623
|
View,
|
|
5690
5624
|
{
|
|
5691
5625
|
style: [
|
|
5692
|
-
|
|
5626
|
+
styles38.sectionHeader,
|
|
5693
5627
|
{
|
|
5694
5628
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
5695
5629
|
borderBottomColor: isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)",
|
|
5696
5630
|
backgroundColor: isDark ? theme.colors.backgroundDeep : theme.colors.background
|
|
5697
5631
|
}
|
|
5698
5632
|
],
|
|
5699
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
5633
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles38.sectionTitle, { color: theme.colors.textSecondary }], children: title.toUpperCase() })
|
|
5700
5634
|
}
|
|
5701
5635
|
);
|
|
5702
5636
|
});
|
|
@@ -5737,7 +5671,7 @@ var ListRoot = React38.memo(
|
|
|
5737
5671
|
stickySectionHeadersEnabled: false,
|
|
5738
5672
|
showsVerticalScrollIndicator: false,
|
|
5739
5673
|
style: glass ? void 0 : style,
|
|
5740
|
-
contentContainerStyle:
|
|
5674
|
+
contentContainerStyle: styles38.content
|
|
5741
5675
|
}
|
|
5742
5676
|
) : /* @__PURE__ */ jsx(
|
|
5743
5677
|
FlatList,
|
|
@@ -5747,7 +5681,7 @@ var ListRoot = React38.memo(
|
|
|
5747
5681
|
renderItem: defaultRenderItem,
|
|
5748
5682
|
showsVerticalScrollIndicator: false,
|
|
5749
5683
|
style: glass ? void 0 : style,
|
|
5750
|
-
contentContainerStyle:
|
|
5684
|
+
contentContainerStyle: styles38.content
|
|
5751
5685
|
}
|
|
5752
5686
|
);
|
|
5753
5687
|
if (glass) {
|
|
@@ -5756,7 +5690,7 @@ var ListRoot = React38.memo(
|
|
|
5756
5690
|
{
|
|
5757
5691
|
borderRadius: 16,
|
|
5758
5692
|
style,
|
|
5759
|
-
contentStyle:
|
|
5693
|
+
contentStyle: styles38.glassContent,
|
|
5760
5694
|
children: container
|
|
5761
5695
|
}
|
|
5762
5696
|
);
|
|
@@ -5766,7 +5700,7 @@ var ListRoot = React38.memo(
|
|
|
5766
5700
|
);
|
|
5767
5701
|
ListRoot.displayName = "List";
|
|
5768
5702
|
var List = Object.assign(ListRoot, { Item: ListItem });
|
|
5769
|
-
var
|
|
5703
|
+
var styles38 = StyleSheet.create({
|
|
5770
5704
|
content: {
|
|
5771
5705
|
flexGrow: 1
|
|
5772
5706
|
},
|
|
@@ -5834,7 +5768,7 @@ var AccordionItem = React38.memo(
|
|
|
5834
5768
|
accessibilityRole: "button",
|
|
5835
5769
|
accessibilityState: { expanded: isOpen, disabled: isDisabled },
|
|
5836
5770
|
style: [
|
|
5837
|
-
|
|
5771
|
+
styles39.trigger,
|
|
5838
5772
|
{
|
|
5839
5773
|
backgroundColor: isOpen ? triggerBg : "transparent",
|
|
5840
5774
|
opacity: isDisabled ? 0.45 : 1,
|
|
@@ -5843,23 +5777,23 @@ var AccordionItem = React38.memo(
|
|
|
5843
5777
|
}
|
|
5844
5778
|
],
|
|
5845
5779
|
children: [
|
|
5846
|
-
icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
5780
|
+
icon != null && /* @__PURE__ */ jsx(View, { style: styles39.triggerIcon, children: icon }),
|
|
5847
5781
|
/* @__PURE__ */ jsx(
|
|
5848
5782
|
Text,
|
|
5849
5783
|
{
|
|
5850
|
-
style: [
|
|
5784
|
+
style: [styles39.triggerTitle, { color: theme.colors.text, flex: 1 }],
|
|
5851
5785
|
numberOfLines: 2,
|
|
5852
5786
|
children: title
|
|
5853
5787
|
}
|
|
5854
5788
|
),
|
|
5855
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
5789
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: [styles39.chevronWrap, chevronStyle], children: /* @__PURE__ */ jsx(Text, { style: [styles39.chevron, { color: theme.colors.textMuted }], children: "\u203A" }) })
|
|
5856
5790
|
]
|
|
5857
5791
|
}
|
|
5858
5792
|
);
|
|
5859
5793
|
const contentInner = /* @__PURE__ */ jsx(Animated10.View, { style: contentStyle, children: /* @__PURE__ */ jsx(
|
|
5860
5794
|
View,
|
|
5861
5795
|
{
|
|
5862
|
-
style:
|
|
5796
|
+
style: styles39.contentPad,
|
|
5863
5797
|
onLayout: (e) => {
|
|
5864
5798
|
const h = e.nativeEvent.layout.height;
|
|
5865
5799
|
if (h > 0) measured.current = h;
|
|
@@ -5872,8 +5806,8 @@ var AccordionItem = React38.memo(
|
|
|
5872
5806
|
GlassView,
|
|
5873
5807
|
{
|
|
5874
5808
|
borderRadius: 12,
|
|
5875
|
-
style:
|
|
5876
|
-
contentStyle:
|
|
5809
|
+
style: styles39.glassItem,
|
|
5810
|
+
contentStyle: styles39.glassContent,
|
|
5877
5811
|
children: [
|
|
5878
5812
|
trigger,
|
|
5879
5813
|
contentInner
|
|
@@ -5885,7 +5819,7 @@ var AccordionItem = React38.memo(
|
|
|
5885
5819
|
View,
|
|
5886
5820
|
{
|
|
5887
5821
|
style: [
|
|
5888
|
-
|
|
5822
|
+
styles39.item,
|
|
5889
5823
|
{
|
|
5890
5824
|
borderWidth: StyleSheet.hairlineWidth,
|
|
5891
5825
|
borderColor,
|
|
@@ -5931,12 +5865,12 @@ var AccordionRoot = React38.memo(
|
|
|
5931
5865
|
},
|
|
5932
5866
|
[openItems, allowMultiple, controlledValue, onChange]
|
|
5933
5867
|
);
|
|
5934
|
-
return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: { openItems, toggle, glass }, children: /* @__PURE__ */ jsx(View, { style: [
|
|
5868
|
+
return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: { openItems, toggle, glass }, children: /* @__PURE__ */ jsx(View, { style: [styles39.root, style], children }) });
|
|
5935
5869
|
}
|
|
5936
5870
|
);
|
|
5937
5871
|
AccordionRoot.displayName = "Accordion";
|
|
5938
5872
|
var Accordion = Object.assign(AccordionRoot, { Item: AccordionItem });
|
|
5939
|
-
var
|
|
5873
|
+
var styles39 = StyleSheet.create({
|
|
5940
5874
|
root: {
|
|
5941
5875
|
gap: 8
|
|
5942
5876
|
},
|
|
@@ -6006,12 +5940,12 @@ var PulsingDot = React38.memo(({ color }) => {
|
|
|
6006
5940
|
anim.start();
|
|
6007
5941
|
return () => anim.stop();
|
|
6008
5942
|
}, []);
|
|
6009
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
5943
|
+
return /* @__PURE__ */ jsxs(View, { style: styles40.dotOuter, children: [
|
|
6010
5944
|
/* @__PURE__ */ jsx(
|
|
6011
5945
|
Animated.View,
|
|
6012
5946
|
{
|
|
6013
5947
|
style: [
|
|
6014
|
-
|
|
5948
|
+
styles40.pulseRing,
|
|
6015
5949
|
{
|
|
6016
5950
|
backgroundColor: color,
|
|
6017
5951
|
transform: [{ scale }],
|
|
@@ -6020,7 +5954,7 @@ var PulsingDot = React38.memo(({ color }) => {
|
|
|
6020
5954
|
]
|
|
6021
5955
|
}
|
|
6022
5956
|
),
|
|
6023
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
5957
|
+
/* @__PURE__ */ jsx(View, { style: [styles40.dot, { backgroundColor: color }] })
|
|
6024
5958
|
] });
|
|
6025
5959
|
});
|
|
6026
5960
|
PulsingDot.displayName = "Timeline.PulsingDot";
|
|
@@ -6031,13 +5965,13 @@ var StaticDot = React38.memo(
|
|
|
6031
5965
|
if (status === "active") {
|
|
6032
5966
|
return /* @__PURE__ */ jsx(PulsingDot, { color: primaryColor });
|
|
6033
5967
|
}
|
|
6034
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
5968
|
+
return /* @__PURE__ */ jsx(View, { style: styles40.dotOuter, children: /* @__PURE__ */ jsx(
|
|
6035
5969
|
View,
|
|
6036
5970
|
{
|
|
6037
5971
|
style: [
|
|
6038
|
-
|
|
5972
|
+
styles40.dot,
|
|
6039
5973
|
{ backgroundColor: color },
|
|
6040
|
-
status === "pending" &&
|
|
5974
|
+
status === "pending" && styles40.dotPending
|
|
6041
5975
|
]
|
|
6042
5976
|
}
|
|
6043
5977
|
) });
|
|
@@ -6052,13 +5986,13 @@ var TimelineRow = React38.memo(
|
|
|
6052
5986
|
const isActive = status === "active";
|
|
6053
5987
|
const isComplete = status === "complete";
|
|
6054
5988
|
const lineColor = isComplete || isActive ? primaryColor : connectorColorBelow;
|
|
6055
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
6056
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
5989
|
+
return /* @__PURE__ */ jsxs(View, { style: styles40.row, children: [
|
|
5990
|
+
/* @__PURE__ */ jsxs(View, { style: styles40.leftCol, children: [
|
|
6057
5991
|
/* @__PURE__ */ jsx(
|
|
6058
5992
|
View,
|
|
6059
5993
|
{
|
|
6060
5994
|
style: [
|
|
6061
|
-
|
|
5995
|
+
styles40.connector,
|
|
6062
5996
|
{ backgroundColor: connectorColorAbove }
|
|
6063
5997
|
]
|
|
6064
5998
|
}
|
|
@@ -6067,7 +6001,7 @@ var TimelineRow = React38.memo(
|
|
|
6067
6001
|
View,
|
|
6068
6002
|
{
|
|
6069
6003
|
style: [
|
|
6070
|
-
|
|
6004
|
+
styles40.iconDot,
|
|
6071
6005
|
{ backgroundColor: isComplete ? primaryColor : isDark ? "#374151" : "#e5e7eb" }
|
|
6072
6006
|
],
|
|
6073
6007
|
children: item.icon
|
|
@@ -6077,16 +6011,16 @@ var TimelineRow = React38.memo(
|
|
|
6077
6011
|
View,
|
|
6078
6012
|
{
|
|
6079
6013
|
style: [
|
|
6080
|
-
|
|
6014
|
+
styles40.connectorBottom,
|
|
6081
6015
|
{ backgroundColor: lineColor }
|
|
6082
6016
|
]
|
|
6083
6017
|
}
|
|
6084
6018
|
)
|
|
6085
6019
|
] }),
|
|
6086
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
6087
|
-
item.timestamp != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6088
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
6089
|
-
item.description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6020
|
+
/* @__PURE__ */ jsxs(View, { style: styles40.rightCol, children: [
|
|
6021
|
+
item.timestamp != null && /* @__PURE__ */ jsx(Text, { style: [styles40.timestamp, { color: theme.colors.textMuted }], children: item.timestamp }),
|
|
6022
|
+
/* @__PURE__ */ jsx(Text, { style: [styles40.title, { color: theme.colors.text }], children: item.title }),
|
|
6023
|
+
item.description != null && /* @__PURE__ */ jsx(Text, { style: [styles40.description, { color: theme.colors.textSecondary }], children: item.description })
|
|
6090
6024
|
] })
|
|
6091
6025
|
] });
|
|
6092
6026
|
}
|
|
@@ -6123,7 +6057,7 @@ var Timeline = React38.memo(
|
|
|
6123
6057
|
{
|
|
6124
6058
|
borderRadius: 16,
|
|
6125
6059
|
style,
|
|
6126
|
-
contentStyle:
|
|
6060
|
+
contentStyle: styles40.glassPad,
|
|
6127
6061
|
children: inner
|
|
6128
6062
|
}
|
|
6129
6063
|
);
|
|
@@ -6132,7 +6066,7 @@ var Timeline = React38.memo(
|
|
|
6132
6066
|
}
|
|
6133
6067
|
);
|
|
6134
6068
|
Timeline.displayName = "Timeline";
|
|
6135
|
-
var
|
|
6069
|
+
var styles40 = StyleSheet.create({
|
|
6136
6070
|
row: {
|
|
6137
6071
|
flexDirection: "row",
|
|
6138
6072
|
minHeight: 60
|
|
@@ -6215,13 +6149,13 @@ var styles41 = StyleSheet.create({
|
|
|
6215
6149
|
var SCREEN_WIDTH = Dimensions.get("window").width;
|
|
6216
6150
|
var Dots = React38.memo(({ count, activeIndex, primaryColor }) => {
|
|
6217
6151
|
if (count <= 1) return null;
|
|
6218
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
6152
|
+
return /* @__PURE__ */ jsx(View, { style: styles41.dotsRow, children: Array.from({ length: count }).map((_, i) => {
|
|
6219
6153
|
const isActive = i === activeIndex;
|
|
6220
6154
|
return /* @__PURE__ */ jsx(
|
|
6221
6155
|
View,
|
|
6222
6156
|
{
|
|
6223
6157
|
style: [
|
|
6224
|
-
|
|
6158
|
+
styles41.dot,
|
|
6225
6159
|
{
|
|
6226
6160
|
backgroundColor: isActive ? primaryColor : "rgba(150,150,150,0.35)",
|
|
6227
6161
|
width: isActive ? 20 : 8,
|
|
@@ -6323,7 +6257,7 @@ var Carousel = React38.memo(
|
|
|
6323
6257
|
{
|
|
6324
6258
|
borderRadius: 16,
|
|
6325
6259
|
style,
|
|
6326
|
-
contentStyle:
|
|
6260
|
+
contentStyle: styles41.glassContent,
|
|
6327
6261
|
children: [
|
|
6328
6262
|
list,
|
|
6329
6263
|
showDots && /* @__PURE__ */ jsx(
|
|
@@ -6351,7 +6285,7 @@ var Carousel = React38.memo(
|
|
|
6351
6285
|
}
|
|
6352
6286
|
);
|
|
6353
6287
|
Carousel.displayName = "Carousel";
|
|
6354
|
-
var
|
|
6288
|
+
var styles41 = StyleSheet.create({
|
|
6355
6289
|
glassContent: {
|
|
6356
6290
|
overflow: "hidden"
|
|
6357
6291
|
},
|
|
@@ -6376,7 +6310,7 @@ var TrendBadge = React38.memo(({ value, direction }) => {
|
|
|
6376
6310
|
const isDark = useIsDark();
|
|
6377
6311
|
const trendColor = direction === "up" ? isDark ? "#4ade80" : "#16a34a" : direction === "down" ? isDark ? "#f87171" : "#dc2626" : isDark ? "#94a3b8" : "#64748b";
|
|
6378
6312
|
const trendBg = direction === "up" ? isDark ? "rgba(74,222,128,0.12)" : "rgba(22,163,74,0.10)" : direction === "down" ? isDark ? "rgba(248,113,113,0.12)" : "rgba(220,38,38,0.10)" : isDark ? "rgba(148,163,184,0.12)" : "rgba(100,116,139,0.10)";
|
|
6379
|
-
return /* @__PURE__ */ jsx(View, { style: [
|
|
6313
|
+
return /* @__PURE__ */ jsx(View, { style: [styles42.trendBadge, { backgroundColor: trendBg }], children: /* @__PURE__ */ jsxs(Text, { style: [styles42.trendText, { color: trendColor }], children: [
|
|
6380
6314
|
TREND_ARROW[direction],
|
|
6381
6315
|
" ",
|
|
6382
6316
|
value
|
|
@@ -6397,27 +6331,27 @@ var StatsCard = React38.memo(
|
|
|
6397
6331
|
const { theme } = useTheme();
|
|
6398
6332
|
const entranceStyle = useEntranceAnimation({ variant: "slideUp" });
|
|
6399
6333
|
const cardContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6400
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
6334
|
+
/* @__PURE__ */ jsxs(View, { style: styles42.topRow, children: [
|
|
6401
6335
|
/* @__PURE__ */ jsx(
|
|
6402
6336
|
Text,
|
|
6403
6337
|
{
|
|
6404
|
-
style: [
|
|
6338
|
+
style: [styles42.label, { color: theme.colors.textSecondary }],
|
|
6405
6339
|
numberOfLines: 1,
|
|
6406
6340
|
children: label
|
|
6407
6341
|
}
|
|
6408
6342
|
),
|
|
6409
|
-
icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
6343
|
+
icon != null && /* @__PURE__ */ jsx(View, { style: styles42.iconSlot, children: icon })
|
|
6410
6344
|
] }),
|
|
6411
6345
|
/* @__PURE__ */ jsxs(
|
|
6412
6346
|
Text,
|
|
6413
6347
|
{
|
|
6414
|
-
style: [
|
|
6348
|
+
style: [styles42.value, { color: theme.colors.text }],
|
|
6415
6349
|
numberOfLines: 1,
|
|
6416
6350
|
adjustsFontSizeToFit: true,
|
|
6417
6351
|
children: [
|
|
6418
|
-
prefix && /* @__PURE__ */ jsx(Text, { style: [
|
|
6352
|
+
prefix && /* @__PURE__ */ jsx(Text, { style: [styles42.valueAffix, { color: theme.colors.textSecondary }], children: prefix }),
|
|
6419
6353
|
String(value),
|
|
6420
|
-
suffix && /* @__PURE__ */ jsx(Text, { style: [
|
|
6354
|
+
suffix && /* @__PURE__ */ jsx(Text, { style: [styles42.valueAffix, { color: theme.colors.textSecondary }], children: suffix })
|
|
6421
6355
|
]
|
|
6422
6356
|
}
|
|
6423
6357
|
),
|
|
@@ -6428,7 +6362,7 @@ var StatsCard = React38.memo(
|
|
|
6428
6362
|
GlassView,
|
|
6429
6363
|
{
|
|
6430
6364
|
borderRadius: 16,
|
|
6431
|
-
contentStyle:
|
|
6365
|
+
contentStyle: styles42.cardPad,
|
|
6432
6366
|
children: cardContent
|
|
6433
6367
|
}
|
|
6434
6368
|
) });
|
|
@@ -6438,7 +6372,7 @@ var StatsCard = React38.memo(
|
|
|
6438
6372
|
{
|
|
6439
6373
|
style: [
|
|
6440
6374
|
entranceStyle,
|
|
6441
|
-
|
|
6375
|
+
styles42.card,
|
|
6442
6376
|
{
|
|
6443
6377
|
backgroundColor: theme.colors.surface,
|
|
6444
6378
|
borderColor: theme.colors.border
|
|
@@ -6451,7 +6385,7 @@ var StatsCard = React38.memo(
|
|
|
6451
6385
|
}
|
|
6452
6386
|
);
|
|
6453
6387
|
StatsCard.displayName = "StatsCard";
|
|
6454
|
-
var
|
|
6388
|
+
var styles42 = StyleSheet.create({
|
|
6455
6389
|
card: {
|
|
6456
6390
|
borderRadius: 16,
|
|
6457
6391
|
padding: 20,
|
|
@@ -6505,7 +6439,7 @@ var SortIcon = React38.memo(({ active, direction, color }) => /* @__PURE__ */ js
|
|
|
6505
6439
|
Text,
|
|
6506
6440
|
{
|
|
6507
6441
|
style: [
|
|
6508
|
-
|
|
6442
|
+
styles43.sortIcon,
|
|
6509
6443
|
{ color: active ? color : "rgba(150,150,150,0.45)" }
|
|
6510
6444
|
],
|
|
6511
6445
|
children: active ? direction === "asc" ? "\u2191" : "\u2193" : "\u2195"
|
|
@@ -6551,13 +6485,13 @@ var Table = React38.memo(
|
|
|
6551
6485
|
View,
|
|
6552
6486
|
{
|
|
6553
6487
|
style: [
|
|
6554
|
-
|
|
6488
|
+
styles43.headerRow,
|
|
6555
6489
|
{
|
|
6556
6490
|
backgroundColor: headerBg,
|
|
6557
6491
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
6558
6492
|
borderBottomColor: borderColor
|
|
6559
6493
|
},
|
|
6560
|
-
stickyHeader &&
|
|
6494
|
+
stickyHeader && styles43.stickyHeader
|
|
6561
6495
|
],
|
|
6562
6496
|
children: columns.map((col, ci) => /* @__PURE__ */ jsxs(
|
|
6563
6497
|
Pressable,
|
|
@@ -6565,7 +6499,7 @@ var Table = React38.memo(
|
|
|
6565
6499
|
onPress: () => handleHeaderPress(col),
|
|
6566
6500
|
disabled: !col.sortable,
|
|
6567
6501
|
style: [
|
|
6568
|
-
|
|
6502
|
+
styles43.headerCell,
|
|
6569
6503
|
{ width: col.width ?? 120 },
|
|
6570
6504
|
ci < columns.length - 1 ? cellBorderStyle : {}
|
|
6571
6505
|
],
|
|
@@ -6574,7 +6508,7 @@ var Table = React38.memo(
|
|
|
6574
6508
|
Text,
|
|
6575
6509
|
{
|
|
6576
6510
|
style: [
|
|
6577
|
-
|
|
6511
|
+
styles43.headerText,
|
|
6578
6512
|
{ color: theme.colors.textSecondary, textAlign: textAlign(col.align) }
|
|
6579
6513
|
],
|
|
6580
6514
|
numberOfLines: 2,
|
|
@@ -6599,7 +6533,7 @@ var Table = React38.memo(
|
|
|
6599
6533
|
View,
|
|
6600
6534
|
{
|
|
6601
6535
|
style: [
|
|
6602
|
-
|
|
6536
|
+
styles43.dataRow,
|
|
6603
6537
|
{ backgroundColor: rowBg(ri) },
|
|
6604
6538
|
ri < data.length - 1 && {
|
|
6605
6539
|
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
@@ -6612,7 +6546,7 @@ var Table = React38.memo(
|
|
|
6612
6546
|
View,
|
|
6613
6547
|
{
|
|
6614
6548
|
style: [
|
|
6615
|
-
|
|
6549
|
+
styles43.dataCell,
|
|
6616
6550
|
{ width: col.width ?? 120 },
|
|
6617
6551
|
ci < columns.length - 1 ? cellBorderStyle : {}
|
|
6618
6552
|
],
|
|
@@ -6620,7 +6554,7 @@ var Table = React38.memo(
|
|
|
6620
6554
|
Text,
|
|
6621
6555
|
{
|
|
6622
6556
|
style: [
|
|
6623
|
-
|
|
6557
|
+
styles43.cellText,
|
|
6624
6558
|
{ color: theme.colors.text, textAlign: textAlign(col.align) }
|
|
6625
6559
|
],
|
|
6626
6560
|
numberOfLines: 3,
|
|
@@ -6647,7 +6581,7 @@ var Table = React38.memo(
|
|
|
6647
6581
|
{
|
|
6648
6582
|
nestedScrollEnabled: true,
|
|
6649
6583
|
showsVerticalScrollIndicator: true,
|
|
6650
|
-
style:
|
|
6584
|
+
style: styles43.bodyScroll,
|
|
6651
6585
|
children: dataRows
|
|
6652
6586
|
}
|
|
6653
6587
|
)
|
|
@@ -6658,7 +6592,7 @@ var Table = React38.memo(
|
|
|
6658
6592
|
{
|
|
6659
6593
|
borderRadius: 12,
|
|
6660
6594
|
style,
|
|
6661
|
-
contentStyle:
|
|
6595
|
+
contentStyle: styles43.glassContent,
|
|
6662
6596
|
children: tableInner
|
|
6663
6597
|
}
|
|
6664
6598
|
);
|
|
@@ -6667,7 +6601,7 @@ var Table = React38.memo(
|
|
|
6667
6601
|
}
|
|
6668
6602
|
);
|
|
6669
6603
|
Table.displayName = "Table";
|
|
6670
|
-
var
|
|
6604
|
+
var styles43 = StyleSheet.create({
|
|
6671
6605
|
stickyHeader: {
|
|
6672
6606
|
// On native, sticky positioning in ScrollView is done per-platform;
|
|
6673
6607
|
// this flag just signals intent — full sticky requires SectionList headers
|
|
@@ -6769,20 +6703,20 @@ var Alert = React38.memo(
|
|
|
6769
6703
|
const iconChar = STATUS_ICONS[status];
|
|
6770
6704
|
const containerStyle = resolveContainerStyle(variant, status);
|
|
6771
6705
|
const textColor = resolveTextColor(variant, isDark);
|
|
6772
|
-
const inner = /* @__PURE__ */ jsxs(View, { style:
|
|
6773
|
-
showIcon && /* @__PURE__ */ jsx(View, { style: [
|
|
6774
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
6775
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6776
|
-
description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6706
|
+
const inner = /* @__PURE__ */ jsxs(View, { style: styles44.inner, children: [
|
|
6707
|
+
showIcon && /* @__PURE__ */ jsx(View, { style: [styles44.iconWrap, variant === "solid" ? styles44.iconWrapSolid : { backgroundColor: `${accentColor}20` }], children: icon != null ? icon : /* @__PURE__ */ jsx(Text, { style: [styles44.iconText, { color: variant === "solid" ? "#fff" : accentColor }], children: iconChar }) }),
|
|
6708
|
+
/* @__PURE__ */ jsxs(View, { style: styles44.textBlock, children: [
|
|
6709
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles44.title, { color: textColor }], numberOfLines: 2, children: title }),
|
|
6710
|
+
description != null && /* @__PURE__ */ jsx(Text, { style: [styles44.description, { color: variant === "solid" ? "rgba(255,255,255,0.85)" : isDark ? "#94a3b8" : "#475569" }], children: description }),
|
|
6777
6711
|
children
|
|
6778
6712
|
] }),
|
|
6779
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
6780
|
-
action != null && /* @__PURE__ */ jsx(Pressable, { onPress: action.onPress, style:
|
|
6781
|
-
isDismissible && /* @__PURE__ */ jsx(Pressable, { onPress: handleDismiss, style:
|
|
6713
|
+
/* @__PURE__ */ jsxs(View, { style: styles44.actionsRow, children: [
|
|
6714
|
+
action != null && /* @__PURE__ */ jsx(Pressable, { onPress: action.onPress, style: styles44.actionBtn, children: /* @__PURE__ */ jsx(Text, { style: [styles44.actionText, { color: variant === "solid" ? "#fff" : accentColor }], children: action.label }) }),
|
|
6715
|
+
isDismissible && /* @__PURE__ */ jsx(Pressable, { onPress: handleDismiss, style: styles44.closeBtn, accessibilityLabel: "Dismiss alert", accessibilityRole: "button", children: /* @__PURE__ */ jsx(Text, { style: [styles44.closeText, { color: variant === "solid" ? "rgba(255,255,255,0.7)" : isDark ? "#64748b" : "#94a3b8" }], children: "\u2715" }) })
|
|
6782
6716
|
] })
|
|
6783
6717
|
] });
|
|
6784
6718
|
if (variant === "glass") {
|
|
6785
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: [
|
|
6719
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 12, style: [styles44.glassLeftBorder, { borderLeftColor: accentColor }], children: inner }) });
|
|
6786
6720
|
}
|
|
6787
6721
|
return /* @__PURE__ */ jsx(Animated10.View, { style: [containerStyle, entranceStyle, exitStyle, style], children: inner });
|
|
6788
6722
|
}
|
|
@@ -6822,7 +6756,7 @@ function resolveTextColor(variant, isDark) {
|
|
|
6822
6756
|
if (variant === "solid") return "#ffffff";
|
|
6823
6757
|
return isDark ? "#f1f5f9" : "#0f172a";
|
|
6824
6758
|
}
|
|
6825
|
-
var
|
|
6759
|
+
var styles44 = StyleSheet.create({
|
|
6826
6760
|
inner: {
|
|
6827
6761
|
flexDirection: "row",
|
|
6828
6762
|
alignItems: "flex-start",
|
|
@@ -6937,37 +6871,37 @@ var Banner = React38.memo(
|
|
|
6937
6871
|
const iconChar = STATUS_ICONS2[status];
|
|
6938
6872
|
const textColor = isDark ? "#f1f5f9" : "#0f172a";
|
|
6939
6873
|
const subColor = isDark ? "#94a3b8" : "#475569";
|
|
6940
|
-
const inner = /* @__PURE__ */ jsxs(View, { style:
|
|
6941
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
6942
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
6943
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
6944
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6945
|
-
description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
6946
|
-
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxs(View, { style:
|
|
6947
|
-
action != null && /* @__PURE__ */ jsx(Pressable, { onPress: action.onPress, style:
|
|
6948
|
-
secondaryAction != null && /* @__PURE__ */ jsx(Pressable, { onPress: secondaryAction.onPress, style:
|
|
6874
|
+
const inner = /* @__PURE__ */ jsxs(View, { style: styles45.inner, children: [
|
|
6875
|
+
/* @__PURE__ */ jsx(View, { style: [styles45.colorBar, { backgroundColor: accentColor }] }),
|
|
6876
|
+
/* @__PURE__ */ jsx(View, { style: [styles45.iconWrap, { backgroundColor: `${accentColor}20` }], children: /* @__PURE__ */ jsx(Text, { style: [styles45.iconText, { color: accentColor }], children: iconChar }) }),
|
|
6877
|
+
/* @__PURE__ */ jsxs(View, { style: styles45.textBlock, children: [
|
|
6878
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles45.title, { color: textColor }], numberOfLines: 2, children: title }),
|
|
6879
|
+
description != null && /* @__PURE__ */ jsx(Text, { style: [styles45.description, { color: subColor }], children: description }),
|
|
6880
|
+
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxs(View, { style: styles45.actionsRow, children: [
|
|
6881
|
+
action != null && /* @__PURE__ */ jsx(Pressable, { onPress: action.onPress, style: styles45.actionBtn, children: /* @__PURE__ */ jsx(Text, { style: [styles45.actionText, { color: accentColor }], children: action.label }) }),
|
|
6882
|
+
secondaryAction != null && /* @__PURE__ */ jsx(Pressable, { onPress: secondaryAction.onPress, style: styles45.actionBtn, children: /* @__PURE__ */ jsx(Text, { style: [styles45.secondaryActionText, { color: subColor }], children: secondaryAction.label }) })
|
|
6949
6883
|
] })
|
|
6950
6884
|
] }),
|
|
6951
6885
|
isDismissible && /* @__PURE__ */ jsx(
|
|
6952
6886
|
Pressable,
|
|
6953
6887
|
{
|
|
6954
6888
|
onPress: handleDismiss,
|
|
6955
|
-
style:
|
|
6889
|
+
style: styles45.closeBtn,
|
|
6956
6890
|
accessibilityLabel: "Dismiss banner",
|
|
6957
6891
|
accessibilityRole: "button",
|
|
6958
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
6892
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles45.closeText, { color: subColor }], children: "\u2715" })
|
|
6959
6893
|
}
|
|
6960
6894
|
)
|
|
6961
6895
|
] });
|
|
6962
6896
|
if (glass) {
|
|
6963
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
6897
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles45.wrapper, entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 4, children: inner }) });
|
|
6964
6898
|
}
|
|
6965
6899
|
return /* @__PURE__ */ jsx(
|
|
6966
6900
|
Animated10.View,
|
|
6967
6901
|
{
|
|
6968
6902
|
style: [
|
|
6969
|
-
|
|
6970
|
-
|
|
6903
|
+
styles45.wrapper,
|
|
6904
|
+
styles45.solidBg,
|
|
6971
6905
|
{ backgroundColor: isDark ? "#1e293b" : "#f8fafc" },
|
|
6972
6906
|
entranceStyle,
|
|
6973
6907
|
exitStyle,
|
|
@@ -6979,7 +6913,7 @@ var Banner = React38.memo(
|
|
|
6979
6913
|
}
|
|
6980
6914
|
);
|
|
6981
6915
|
Banner.displayName = "Banner";
|
|
6982
|
-
var
|
|
6916
|
+
var styles45 = StyleSheet.create({
|
|
6983
6917
|
wrapper: {
|
|
6984
6918
|
width: "100%",
|
|
6985
6919
|
borderRadius: 4,
|
|
@@ -7060,19 +6994,6 @@ var styles46 = StyleSheet.create({
|
|
|
7060
6994
|
lineHeight: 18
|
|
7061
6995
|
}
|
|
7062
6996
|
});
|
|
7063
|
-
var LinearGradientImpl = null;
|
|
7064
|
-
var gradientLoaded = false;
|
|
7065
|
-
function loadLinearGradient() {
|
|
7066
|
-
if (gradientLoaded) return LinearGradientImpl;
|
|
7067
|
-
try {
|
|
7068
|
-
const gradientModule = __require("react-native-linear-gradient");
|
|
7069
|
-
LinearGradientImpl = gradientModule?.default ?? gradientModule;
|
|
7070
|
-
} catch {
|
|
7071
|
-
LinearGradientImpl = null;
|
|
7072
|
-
}
|
|
7073
|
-
gradientLoaded = true;
|
|
7074
|
-
return LinearGradientImpl;
|
|
7075
|
-
}
|
|
7076
6997
|
var Skeleton = React38.memo(
|
|
7077
6998
|
({
|
|
7078
6999
|
variant = "rect",
|
|
@@ -7093,7 +7014,6 @@ var Skeleton = React38.memo(
|
|
|
7093
7014
|
}, [isReduced]);
|
|
7094
7015
|
const baseBg = isDark ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.06)";
|
|
7095
7016
|
const shimmerLight = isDark ? "rgba(255,255,255,0.12)" : "rgba(255,255,255,0.65)";
|
|
7096
|
-
const shimmerColors = [baseBg, shimmerLight, baseBg];
|
|
7097
7017
|
const resolvedRadius = (() => {
|
|
7098
7018
|
if (borderRadius !== void 0) return borderRadius;
|
|
7099
7019
|
if (variant === "circle") return 9999;
|
|
@@ -7130,26 +7050,15 @@ var Skeleton = React38.memo(
|
|
|
7130
7050
|
},
|
|
7131
7051
|
key === void 0 ? style : void 0
|
|
7132
7052
|
],
|
|
7133
|
-
children: !isReduced && /* @__PURE__ */ jsx(Animated10.View, { style: [StyleSheet.absoluteFill, animatedStyle], children:
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
}
|
|
7143
|
-
) : /* @__PURE__ */ jsx(
|
|
7144
|
-
View,
|
|
7145
|
-
{
|
|
7146
|
-
style: [
|
|
7147
|
-
StyleSheet.absoluteFill,
|
|
7148
|
-
{ backgroundColor: shimmerLight, width: 300 }
|
|
7149
|
-
]
|
|
7150
|
-
}
|
|
7151
|
-
);
|
|
7152
|
-
})() })
|
|
7053
|
+
children: !isReduced && /* @__PURE__ */ jsx(Animated10.View, { style: [StyleSheet.absoluteFill, animatedStyle], children: /* @__PURE__ */ jsx(
|
|
7054
|
+
View,
|
|
7055
|
+
{
|
|
7056
|
+
style: [
|
|
7057
|
+
StyleSheet.absoluteFill,
|
|
7058
|
+
{ backgroundColor: shimmerLight, width: 300 }
|
|
7059
|
+
]
|
|
7060
|
+
}
|
|
7061
|
+
) })
|
|
7153
7062
|
},
|
|
7154
7063
|
key
|
|
7155
7064
|
);
|
|
@@ -7235,7 +7144,7 @@ var ProgressBar = React38.memo(
|
|
|
7235
7144
|
Animated.View,
|
|
7236
7145
|
{
|
|
7237
7146
|
style: [
|
|
7238
|
-
|
|
7147
|
+
styles46.fill,
|
|
7239
7148
|
{
|
|
7240
7149
|
backgroundColor: fillColor,
|
|
7241
7150
|
borderRadius: br,
|
|
@@ -7256,7 +7165,7 @@ var ProgressBar = React38.memo(
|
|
|
7256
7165
|
Animated.View,
|
|
7257
7166
|
{
|
|
7258
7167
|
style: [
|
|
7259
|
-
|
|
7168
|
+
styles46.fill,
|
|
7260
7169
|
{
|
|
7261
7170
|
backgroundColor: variant === "gradient" ? void 0 : fillColor,
|
|
7262
7171
|
borderRadius: br,
|
|
@@ -7276,7 +7185,7 @@ var ProgressBar = React38.memo(
|
|
|
7276
7185
|
{
|
|
7277
7186
|
style: [
|
|
7278
7187
|
StyleSheet.absoluteFill,
|
|
7279
|
-
|
|
7188
|
+
styles46.stripes,
|
|
7280
7189
|
{ opacity: stripeAnim }
|
|
7281
7190
|
]
|
|
7282
7191
|
}
|
|
@@ -7284,14 +7193,14 @@ var ProgressBar = React38.memo(
|
|
|
7284
7193
|
}
|
|
7285
7194
|
) : null;
|
|
7286
7195
|
const trackContent = /* @__PURE__ */ jsx(Fragment, { children: indeterminate ? indeterminateFill : determinateFill });
|
|
7287
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
7196
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles46.wrapper, style], children: [
|
|
7288
7197
|
glass ? /* @__PURE__ */ jsxs(GlassView, { elevation: 1, borderRadius: br, style: trackStyle, children: [
|
|
7289
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
7198
|
+
/* @__PURE__ */ jsx(View, { style: [styles46.glassFill, { width: `${pct}%`, backgroundColor: `${fillColor}cc`, borderRadius: br }] }),
|
|
7290
7199
|
indeterminate && /* @__PURE__ */ jsx(
|
|
7291
7200
|
Animated.View,
|
|
7292
7201
|
{
|
|
7293
7202
|
style: [
|
|
7294
|
-
|
|
7203
|
+
styles46.fill,
|
|
7295
7204
|
{
|
|
7296
7205
|
backgroundColor: fillColor,
|
|
7297
7206
|
borderRadius: br,
|
|
@@ -7312,12 +7221,12 @@ var ProgressBar = React38.memo(
|
|
|
7312
7221
|
}
|
|
7313
7222
|
)
|
|
7314
7223
|
] }) : /* @__PURE__ */ jsx(View, { style: [trackStyle, { backgroundColor: trackBg }], children: trackContent }),
|
|
7315
|
-
showLabel && /* @__PURE__ */ jsx(Text, { style: [
|
|
7224
|
+
showLabel && /* @__PURE__ */ jsx(Text, { style: [styles46.label, { color: isDark ? "#94a3b8" : "#64748b" }], children: displayLabel })
|
|
7316
7225
|
] });
|
|
7317
7226
|
}
|
|
7318
7227
|
);
|
|
7319
7228
|
ProgressBar.displayName = "ProgressBar";
|
|
7320
|
-
var
|
|
7229
|
+
var styles46 = StyleSheet.create({
|
|
7321
7230
|
wrapper: {
|
|
7322
7231
|
width: "100%"
|
|
7323
7232
|
},
|
|
@@ -7392,7 +7301,7 @@ var Spinner = React38.memo(
|
|
|
7392
7301
|
return /* @__PURE__ */ jsxs(
|
|
7393
7302
|
View,
|
|
7394
7303
|
{
|
|
7395
|
-
style: [
|
|
7304
|
+
style: [styles47.container, { width: dim, height: dim }, style],
|
|
7396
7305
|
accessible: true,
|
|
7397
7306
|
accessibilityLabel: label ?? "Loading",
|
|
7398
7307
|
accessibilityRole: "progressbar",
|
|
@@ -7401,7 +7310,7 @@ var Spinner = React38.memo(
|
|
|
7401
7310
|
View,
|
|
7402
7311
|
{
|
|
7403
7312
|
style: [
|
|
7404
|
-
|
|
7313
|
+
styles47.ring,
|
|
7405
7314
|
{
|
|
7406
7315
|
width: dim,
|
|
7407
7316
|
height: dim,
|
|
@@ -7416,8 +7325,8 @@ var Spinner = React38.memo(
|
|
|
7416
7325
|
Animated.View,
|
|
7417
7326
|
{
|
|
7418
7327
|
style: [
|
|
7419
|
-
|
|
7420
|
-
|
|
7328
|
+
styles47.ring,
|
|
7329
|
+
styles47.arc,
|
|
7421
7330
|
{
|
|
7422
7331
|
width: dim,
|
|
7423
7332
|
height: dim,
|
|
@@ -7438,7 +7347,7 @@ var Spinner = React38.memo(
|
|
|
7438
7347
|
}
|
|
7439
7348
|
);
|
|
7440
7349
|
Spinner.displayName = "Spinner";
|
|
7441
|
-
var
|
|
7350
|
+
var styles47 = StyleSheet.create({
|
|
7442
7351
|
container: {
|
|
7443
7352
|
alignItems: "center",
|
|
7444
7353
|
justifyContent: "center"
|
|
@@ -7467,26 +7376,26 @@ var EmptyState = React38.memo(
|
|
|
7467
7376
|
const iconBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.06)";
|
|
7468
7377
|
const titleColor = isDark ? "#f1f5f9" : "#0f172a";
|
|
7469
7378
|
const descColor = isDark ? "#94a3b8" : "#64748b";
|
|
7470
|
-
const defaultIcon = /* @__PURE__ */ jsx(View, { style: [
|
|
7471
|
-
const content = /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
7472
|
-
illustration != null ? /* @__PURE__ */ jsx(View, { style:
|
|
7473
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
7474
|
-
description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
7475
|
-
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxs(View, { style:
|
|
7379
|
+
const defaultIcon = /* @__PURE__ */ jsx(View, { style: [styles48.defaultIconWrap, { backgroundColor: iconBg }], children: /* @__PURE__ */ jsx(Text, { style: styles48.defaultIconText, children: "\u{1F4ED}" }) });
|
|
7380
|
+
const content = /* @__PURE__ */ jsxs(Animated10.View, { style: [styles48.inner, animStyle], children: [
|
|
7381
|
+
illustration != null ? /* @__PURE__ */ jsx(View, { style: styles48.illustrationSlot, children: illustration }) : /* @__PURE__ */ jsx(View, { style: styles48.iconSlot, children: icon ?? defaultIcon }),
|
|
7382
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles48.title, { color: titleColor }], children: title }),
|
|
7383
|
+
description != null && /* @__PURE__ */ jsx(Text, { style: [styles48.description, { color: descColor }], children: description }),
|
|
7384
|
+
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxs(View, { style: styles48.actionsRow, children: [
|
|
7476
7385
|
action != null && /* @__PURE__ */ jsx(
|
|
7477
7386
|
Pressable,
|
|
7478
7387
|
{
|
|
7479
7388
|
onPress: action.onPress,
|
|
7480
7389
|
style: [
|
|
7481
|
-
|
|
7482
|
-
action.variant === "outline" ? [
|
|
7390
|
+
styles48.actionBtn,
|
|
7391
|
+
action.variant === "outline" ? [styles48.outlineBtn, { borderColor: theme.colors.primary }] : [styles48.solidBtn, { backgroundColor: theme.colors.primary }]
|
|
7483
7392
|
],
|
|
7484
7393
|
accessibilityRole: "button",
|
|
7485
7394
|
children: /* @__PURE__ */ jsx(
|
|
7486
7395
|
Text,
|
|
7487
7396
|
{
|
|
7488
7397
|
style: [
|
|
7489
|
-
|
|
7398
|
+
styles48.actionText,
|
|
7490
7399
|
{ color: action.variant === "outline" ? theme.colors.primary : "#fff" }
|
|
7491
7400
|
],
|
|
7492
7401
|
children: action.label
|
|
@@ -7498,21 +7407,21 @@ var EmptyState = React38.memo(
|
|
|
7498
7407
|
Pressable,
|
|
7499
7408
|
{
|
|
7500
7409
|
onPress: secondaryAction.onPress,
|
|
7501
|
-
style:
|
|
7410
|
+
style: styles48.ghostBtn,
|
|
7502
7411
|
accessibilityRole: "button",
|
|
7503
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
7412
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles48.ghostText, { color: descColor }], children: secondaryAction.label })
|
|
7504
7413
|
}
|
|
7505
7414
|
)
|
|
7506
7415
|
] })
|
|
7507
7416
|
] });
|
|
7508
7417
|
if (glass) {
|
|
7509
|
-
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style: [
|
|
7418
|
+
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 20, style: [styles48.glassWrapper, style], children: content });
|
|
7510
7419
|
}
|
|
7511
|
-
return /* @__PURE__ */ jsx(View, { style: [
|
|
7420
|
+
return /* @__PURE__ */ jsx(View, { style: [styles48.wrapper, style], children: content });
|
|
7512
7421
|
}
|
|
7513
7422
|
);
|
|
7514
7423
|
EmptyState.displayName = "EmptyState";
|
|
7515
|
-
var
|
|
7424
|
+
var styles48 = StyleSheet.create({
|
|
7516
7425
|
wrapper: {
|
|
7517
7426
|
alignItems: "center",
|
|
7518
7427
|
justifyContent: "center",
|
|
@@ -7667,18 +7576,18 @@ var Dialog = React38.memo(
|
|
|
7667
7576
|
Pressable,
|
|
7668
7577
|
{
|
|
7669
7578
|
onPress: action.onPress,
|
|
7670
|
-
style: [
|
|
7579
|
+
style: [styles49.actionBtn, btnStyle, !isLast && styles49.actionBtnMargin],
|
|
7671
7580
|
accessibilityRole: "button",
|
|
7672
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
7581
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles49.actionText, { color: textColor }], children: action.label })
|
|
7673
7582
|
},
|
|
7674
7583
|
`action-${i}`
|
|
7675
7584
|
);
|
|
7676
7585
|
});
|
|
7677
7586
|
const cardContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7678
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
7679
|
-
description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
7680
|
-
children != null && /* @__PURE__ */ jsx(View, { style:
|
|
7681
|
-
actions != null && actions.length > 0 && /* @__PURE__ */ jsx(View, { style:
|
|
7587
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles49.title, { color: isDark ? "#f1f5f9" : "#0f172a" }], children: title }),
|
|
7588
|
+
description != null && /* @__PURE__ */ jsx(Text, { style: [styles49.description, { color: isDark ? "#94a3b8" : "#64748b" }], children: description }),
|
|
7589
|
+
children != null && /* @__PURE__ */ jsx(View, { style: styles49.childrenWrap, children }),
|
|
7590
|
+
actions != null && actions.length > 0 && /* @__PURE__ */ jsx(View, { style: styles49.actionsRow, children: actionButtons })
|
|
7682
7591
|
] });
|
|
7683
7592
|
return /* @__PURE__ */ jsx(
|
|
7684
7593
|
Modal,
|
|
@@ -7688,20 +7597,20 @@ var Dialog = React38.memo(
|
|
|
7688
7597
|
animationType: "none",
|
|
7689
7598
|
statusBarTranslucent: true,
|
|
7690
7599
|
onRequestClose: isDismissible ? closeDialog : void 0,
|
|
7691
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
7692
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: [StyleSheet.absoluteFill,
|
|
7600
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles49.overlay, children: [
|
|
7601
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: [StyleSheet.absoluteFill, styles49.backdrop, backdropStyle] }),
|
|
7693
7602
|
isDismissible && /* @__PURE__ */ jsx(Pressable, { style: StyleSheet.absoluteFill, onPress: closeDialog }),
|
|
7694
7603
|
/* @__PURE__ */ jsx(
|
|
7695
7604
|
Animated10.View,
|
|
7696
7605
|
{
|
|
7697
|
-
style: [
|
|
7606
|
+
style: [styles49.cardWrapper, { maxWidth }, cardStyle],
|
|
7698
7607
|
pointerEvents: "box-none",
|
|
7699
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 20, style: [
|
|
7608
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 20, style: [styles49.card, style], children: cardContent }) : /* @__PURE__ */ jsx(
|
|
7700
7609
|
View,
|
|
7701
7610
|
{
|
|
7702
7611
|
style: [
|
|
7703
|
-
|
|
7704
|
-
|
|
7612
|
+
styles49.card,
|
|
7613
|
+
styles49.solidCard,
|
|
7705
7614
|
{ backgroundColor: cardBg },
|
|
7706
7615
|
style
|
|
7707
7616
|
],
|
|
@@ -7716,7 +7625,7 @@ var Dialog = React38.memo(
|
|
|
7716
7625
|
}
|
|
7717
7626
|
);
|
|
7718
7627
|
Dialog.displayName = "Dialog";
|
|
7719
|
-
var
|
|
7628
|
+
var styles49 = StyleSheet.create({
|
|
7720
7629
|
overlay: {
|
|
7721
7630
|
flex: 1,
|
|
7722
7631
|
alignItems: "center",
|
|
@@ -7890,9 +7799,9 @@ var BottomSheet = React38.memo(
|
|
|
7890
7799
|
if (!visible && !isOpen) return null;
|
|
7891
7800
|
const sheetBg = isDark ? "#1e293b" : "#ffffff";
|
|
7892
7801
|
const sheetContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7893
|
-
showHandle && /* @__PURE__ */ jsx(View, { style:
|
|
7894
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
7895
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
7802
|
+
showHandle && /* @__PURE__ */ jsx(View, { style: styles50.handleWrap, children: /* @__PURE__ */ jsx(View, { style: styles50.handle }) }),
|
|
7803
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles50.title, { color: isDark ? "#f1f5f9" : "#0f172a" }], children: title }),
|
|
7804
|
+
/* @__PURE__ */ jsx(View, { style: styles50.content, children })
|
|
7896
7805
|
] });
|
|
7897
7806
|
return /* @__PURE__ */ jsx(
|
|
7898
7807
|
Modal,
|
|
@@ -7902,11 +7811,11 @@ var BottomSheet = React38.memo(
|
|
|
7902
7811
|
animationType: "none",
|
|
7903
7812
|
statusBarTranslucent: true,
|
|
7904
7813
|
onRequestClose: isDismissible ? closeSheet : void 0,
|
|
7905
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
7814
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles50.overlay, pointerEvents: "box-none", children: [
|
|
7906
7815
|
/* @__PURE__ */ jsx(
|
|
7907
7816
|
Animated.View,
|
|
7908
7817
|
{
|
|
7909
|
-
style: [StyleSheet.absoluteFill,
|
|
7818
|
+
style: [StyleSheet.absoluteFill, styles50.backdrop, { opacity: backdropOpacity }]
|
|
7910
7819
|
}
|
|
7911
7820
|
),
|
|
7912
7821
|
isDismissible && /* @__PURE__ */ jsx(Pressable, { style: StyleSheet.absoluteFill, onPress: closeSheet }),
|
|
@@ -7914,7 +7823,7 @@ var BottomSheet = React38.memo(
|
|
|
7914
7823
|
Animated.View,
|
|
7915
7824
|
{
|
|
7916
7825
|
style: [
|
|
7917
|
-
|
|
7826
|
+
styles50.sheet,
|
|
7918
7827
|
{ height: snapHeight, transform: [{ translateY }] }
|
|
7919
7828
|
],
|
|
7920
7829
|
...panResponder.panHandlers,
|
|
@@ -7923,15 +7832,15 @@ var BottomSheet = React38.memo(
|
|
|
7923
7832
|
{
|
|
7924
7833
|
elevation: 4,
|
|
7925
7834
|
borderRadius: 24,
|
|
7926
|
-
style: [
|
|
7835
|
+
style: [styles50.sheetInner, style],
|
|
7927
7836
|
children: sheetContent
|
|
7928
7837
|
}
|
|
7929
7838
|
) : /* @__PURE__ */ jsx(
|
|
7930
7839
|
View,
|
|
7931
7840
|
{
|
|
7932
7841
|
style: [
|
|
7933
|
-
|
|
7934
|
-
|
|
7842
|
+
styles50.sheetInner,
|
|
7843
|
+
styles50.solidSheet,
|
|
7935
7844
|
{ backgroundColor: sheetBg },
|
|
7936
7845
|
style
|
|
7937
7846
|
],
|
|
@@ -7962,7 +7871,7 @@ function findNearestSnap(snapPoints, draggedY, velocity) {
|
|
|
7962
7871
|
}
|
|
7963
7872
|
return best;
|
|
7964
7873
|
}
|
|
7965
|
-
var
|
|
7874
|
+
var styles50 = StyleSheet.create({
|
|
7966
7875
|
overlay: {
|
|
7967
7876
|
flex: 1,
|
|
7968
7877
|
justifyContent: "flex-end"
|
|
@@ -8086,15 +7995,15 @@ var Tooltip = React38.memo(
|
|
|
8086
7995
|
const tipContent = /* @__PURE__ */ jsx(
|
|
8087
7996
|
View,
|
|
8088
7997
|
{
|
|
8089
|
-
style:
|
|
7998
|
+
style: styles51.tipInner,
|
|
8090
7999
|
onLayout: (e) => setTipSize({ width: e.nativeEvent.layout.width, height: e.nativeEvent.layout.height }),
|
|
8091
|
-
children: typeof content === "string" ? /* @__PURE__ */ jsx(Text, { style:
|
|
8000
|
+
children: typeof content === "string" ? /* @__PURE__ */ jsx(Text, { style: styles51.tipText, children: content }) : content
|
|
8092
8001
|
}
|
|
8093
8002
|
);
|
|
8094
8003
|
return /* @__PURE__ */ jsxs(
|
|
8095
8004
|
View,
|
|
8096
8005
|
{
|
|
8097
|
-
style: [
|
|
8006
|
+
style: [styles51.triggerWrap, style],
|
|
8098
8007
|
onLayout: (e) => setLayout(e.nativeEvent.layout),
|
|
8099
8008
|
children: [
|
|
8100
8009
|
/* @__PURE__ */ jsx(
|
|
@@ -8112,11 +8021,11 @@ var Tooltip = React38.memo(
|
|
|
8112
8021
|
shown && /* @__PURE__ */ jsxs(
|
|
8113
8022
|
Animated10.View,
|
|
8114
8023
|
{
|
|
8115
|
-
style: [
|
|
8024
|
+
style: [styles51.tooltipAbs, computePosition2(), tooltipStyle],
|
|
8116
8025
|
pointerEvents: "none",
|
|
8117
8026
|
children: [
|
|
8118
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
8119
|
-
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 8, children: tipContent }) : /* @__PURE__ */ jsx(View, { style: [
|
|
8027
|
+
/* @__PURE__ */ jsx(View, { style: [styles51.arrow, arrowStyle] }),
|
|
8028
|
+
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 8, children: tipContent }) : /* @__PURE__ */ jsx(View, { style: [styles51.solidTip, { backgroundColor: tooltipBg }], children: tipContent })
|
|
8120
8029
|
]
|
|
8121
8030
|
}
|
|
8122
8031
|
)
|
|
@@ -8187,7 +8096,7 @@ function arrowStyles(placement, isDark, glass) {
|
|
|
8187
8096
|
return base;
|
|
8188
8097
|
}
|
|
8189
8098
|
}
|
|
8190
|
-
var
|
|
8099
|
+
var styles51 = StyleSheet.create({
|
|
8191
8100
|
triggerWrap: {
|
|
8192
8101
|
position: "relative"
|
|
8193
8102
|
},
|
|
@@ -8274,30 +8183,30 @@ var Popover = React38.memo(
|
|
|
8274
8183
|
animationType: "none",
|
|
8275
8184
|
statusBarTranslucent: true,
|
|
8276
8185
|
onRequestClose: isDismissible ? close : void 0,
|
|
8277
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
8186
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles52.overlay, pointerEvents: "box-none", children: [
|
|
8278
8187
|
isDismissible && /* @__PURE__ */ jsx(Pressable, { style: StyleSheet.absoluteFill, onPress: close }),
|
|
8279
8188
|
/* @__PURE__ */ jsx(
|
|
8280
8189
|
Animated10.View,
|
|
8281
8190
|
{
|
|
8282
8191
|
style: [
|
|
8283
|
-
|
|
8192
|
+
styles52.popover,
|
|
8284
8193
|
popoverPosition,
|
|
8285
8194
|
animStyle,
|
|
8286
8195
|
style
|
|
8287
8196
|
],
|
|
8288
8197
|
pointerEvents: "box-none",
|
|
8289
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 14, style:
|
|
8198
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 14, style: styles52.popInner, children: /* @__PURE__ */ jsx(
|
|
8290
8199
|
ScrollView,
|
|
8291
8200
|
{
|
|
8292
|
-
style:
|
|
8201
|
+
style: styles52.scroll,
|
|
8293
8202
|
showsVerticalScrollIndicator: false,
|
|
8294
8203
|
keyboardShouldPersistTaps: "handled",
|
|
8295
8204
|
children: content
|
|
8296
8205
|
}
|
|
8297
|
-
) }) : /* @__PURE__ */ jsx(View, { style: [
|
|
8206
|
+
) }) : /* @__PURE__ */ jsx(View, { style: [styles52.popInner, styles52.solidPop, { backgroundColor: popBg }], children: /* @__PURE__ */ jsx(
|
|
8298
8207
|
ScrollView,
|
|
8299
8208
|
{
|
|
8300
|
-
style:
|
|
8209
|
+
style: styles52.scroll,
|
|
8301
8210
|
showsVerticalScrollIndicator: false,
|
|
8302
8211
|
keyboardShouldPersistTaps: "handled",
|
|
8303
8212
|
children: content
|
|
@@ -8340,7 +8249,7 @@ function computePosition(layout, placement) {
|
|
|
8340
8249
|
return { top: pageY + height + POPOVER_GAP, left: pageX };
|
|
8341
8250
|
}
|
|
8342
8251
|
}
|
|
8343
|
-
var
|
|
8252
|
+
var styles52 = StyleSheet.create({
|
|
8344
8253
|
overlay: {
|
|
8345
8254
|
flex: 1
|
|
8346
8255
|
},
|
|
@@ -8418,8 +8327,8 @@ var SnackbarBar = React38.memo(({ opts, onHide }) => {
|
|
|
8418
8327
|
};
|
|
8419
8328
|
});
|
|
8420
8329
|
const bg = isDark ? "#1e293b" : "#1a1a2e";
|
|
8421
|
-
const inner = /* @__PURE__ */ jsxs(View, { style:
|
|
8422
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
8330
|
+
const inner = /* @__PURE__ */ jsxs(View, { style: styles53.snackInner, children: [
|
|
8331
|
+
/* @__PURE__ */ jsx(Text, { style: styles53.message, numberOfLines: 2, children: opts.message }),
|
|
8423
8332
|
opts.action != null && /* @__PURE__ */ jsx(
|
|
8424
8333
|
Pressable,
|
|
8425
8334
|
{
|
|
@@ -8427,13 +8336,13 @@ var SnackbarBar = React38.memo(({ opts, onHide }) => {
|
|
|
8427
8336
|
opts.action.onPress();
|
|
8428
8337
|
doHide();
|
|
8429
8338
|
},
|
|
8430
|
-
style:
|
|
8339
|
+
style: styles53.actionBtn,
|
|
8431
8340
|
accessibilityRole: "button",
|
|
8432
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
8341
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles53.actionText, children: opts.action.label })
|
|
8433
8342
|
}
|
|
8434
8343
|
)
|
|
8435
8344
|
] });
|
|
8436
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
8345
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles53.snack, animStyle], children: opts.glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 12, children: inner }) : /* @__PURE__ */ jsx(View, { style: [styles53.solidSnack, { backgroundColor: bg }], children: inner }) });
|
|
8437
8346
|
});
|
|
8438
8347
|
SnackbarBar.displayName = "SnackbarBar";
|
|
8439
8348
|
function SnackbarProvider({ children }) {
|
|
@@ -8460,7 +8369,7 @@ function SnackbarProvider({ children }) {
|
|
|
8460
8369
|
View,
|
|
8461
8370
|
{
|
|
8462
8371
|
style: [
|
|
8463
|
-
|
|
8372
|
+
styles53.container,
|
|
8464
8373
|
position === "top" ? { top: topOff } : { bottom: botOff }
|
|
8465
8374
|
],
|
|
8466
8375
|
pointerEvents: "box-none",
|
|
@@ -8477,7 +8386,7 @@ function SnackbarProvider({ children }) {
|
|
|
8477
8386
|
] });
|
|
8478
8387
|
}
|
|
8479
8388
|
SnackbarProvider.displayName = "SnackbarProvider";
|
|
8480
|
-
var
|
|
8389
|
+
var styles53 = StyleSheet.create({
|
|
8481
8390
|
container: {
|
|
8482
8391
|
position: "absolute",
|
|
8483
8392
|
left: 16,
|
|
@@ -8604,23 +8513,23 @@ var Tab = React38.memo(({ value, label, icon, isDisabled = false }) => {
|
|
|
8604
8513
|
disabled: isDisabled,
|
|
8605
8514
|
accessibilityRole: "tab",
|
|
8606
8515
|
accessibilityState: { selected: isActive, disabled: isDisabled },
|
|
8607
|
-
style: [
|
|
8608
|
-
children: isActive ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 10, children: /* @__PURE__ */ jsxs(View, { style:
|
|
8609
|
-
icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
8516
|
+
style: [styles54.tab, styles54.tabGlass],
|
|
8517
|
+
children: isActive ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 10, children: /* @__PURE__ */ jsxs(View, { style: styles54.tabInner, children: [
|
|
8518
|
+
icon != null && /* @__PURE__ */ jsx(View, { style: styles54.tabIcon, children: icon }),
|
|
8610
8519
|
/* @__PURE__ */ jsx(
|
|
8611
8520
|
Text,
|
|
8612
8521
|
{
|
|
8613
|
-
style: [
|
|
8522
|
+
style: [styles54.tabLabel, { color: theme.colors.primary, fontWeight: "600" }],
|
|
8614
8523
|
allowFontScaling: false,
|
|
8615
8524
|
children: label
|
|
8616
8525
|
}
|
|
8617
8526
|
)
|
|
8618
|
-
] }) }) : /* @__PURE__ */ jsxs(View, { style:
|
|
8619
|
-
icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
8527
|
+
] }) }) : /* @__PURE__ */ jsxs(View, { style: styles54.tabInner, children: [
|
|
8528
|
+
icon != null && /* @__PURE__ */ jsx(View, { style: styles54.tabIcon, children: icon }),
|
|
8620
8529
|
/* @__PURE__ */ jsx(
|
|
8621
8530
|
Text,
|
|
8622
8531
|
{
|
|
8623
|
-
style: [
|
|
8532
|
+
style: [styles54.tabLabel, { color: labelColor }],
|
|
8624
8533
|
allowFontScaling: false,
|
|
8625
8534
|
children: label
|
|
8626
8535
|
}
|
|
@@ -8636,26 +8545,26 @@ var Tab = React38.memo(({ value, label, icon, isDisabled = false }) => {
|
|
|
8636
8545
|
disabled: isDisabled,
|
|
8637
8546
|
accessibilityRole: "tab",
|
|
8638
8547
|
accessibilityState: { selected: isActive, disabled: isDisabled },
|
|
8639
|
-
style:
|
|
8548
|
+
style: styles54.tab,
|
|
8640
8549
|
children: [
|
|
8641
8550
|
(variant === "pills" || variant === "enclosed") && /* @__PURE__ */ jsx(
|
|
8642
8551
|
Animated10.View,
|
|
8643
8552
|
{
|
|
8644
8553
|
style: [
|
|
8645
8554
|
StyleSheet.absoluteFill,
|
|
8646
|
-
|
|
8555
|
+
styles54.pillBg,
|
|
8647
8556
|
{ backgroundColor: variant === "enclosed" ? theme.colors.surface : theme.colors.primaryMuted },
|
|
8648
8557
|
pillBgStyle
|
|
8649
8558
|
]
|
|
8650
8559
|
}
|
|
8651
8560
|
),
|
|
8652
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
8653
|
-
icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
8561
|
+
/* @__PURE__ */ jsxs(View, { style: styles54.tabInner, children: [
|
|
8562
|
+
icon != null && /* @__PURE__ */ jsx(View, { style: styles54.tabIcon, children: icon }),
|
|
8654
8563
|
/* @__PURE__ */ jsx(
|
|
8655
8564
|
Text,
|
|
8656
8565
|
{
|
|
8657
8566
|
style: [
|
|
8658
|
-
|
|
8567
|
+
styles54.tabLabel,
|
|
8659
8568
|
{ color: labelColor, fontWeight: isActive ? "600" : "400" }
|
|
8660
8569
|
],
|
|
8661
8570
|
allowFontScaling: false,
|
|
@@ -8667,7 +8576,7 @@ var Tab = React38.memo(({ value, label, icon, isDisabled = false }) => {
|
|
|
8667
8576
|
Animated10.View,
|
|
8668
8577
|
{
|
|
8669
8578
|
style: [
|
|
8670
|
-
|
|
8579
|
+
styles54.lineIndicator,
|
|
8671
8580
|
{ backgroundColor: theme.colors.primary },
|
|
8672
8581
|
indicatorStyle
|
|
8673
8582
|
]
|
|
@@ -8681,7 +8590,7 @@ Tab.displayName = "Tabs.Tab";
|
|
|
8681
8590
|
var TabPanel = React38.memo(({ value, children, style }) => {
|
|
8682
8591
|
const { activeTab } = useTabsContext();
|
|
8683
8592
|
if (activeTab !== value) return null;
|
|
8684
|
-
return /* @__PURE__ */ jsx(View, { style: [
|
|
8593
|
+
return /* @__PURE__ */ jsx(View, { style: [styles54.panel, style], children });
|
|
8685
8594
|
});
|
|
8686
8595
|
TabPanel.displayName = "Tabs.Panel";
|
|
8687
8596
|
var TabsRoot = React38.memo(
|
|
@@ -8708,7 +8617,7 @@ var TabsRoot = React38.memo(
|
|
|
8708
8617
|
() => ({ activeTab, setActiveTab, variant, orientation }),
|
|
8709
8618
|
[activeTab, setActiveTab, variant, orientation]
|
|
8710
8619
|
);
|
|
8711
|
-
return /* @__PURE__ */ jsx(TabsContext.Provider, { value: ctx, children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 16, style, children }) : /* @__PURE__ */ jsx(View, { style: [
|
|
8620
|
+
return /* @__PURE__ */ jsx(TabsContext.Provider, { value: ctx, children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 16, style, children }) : /* @__PURE__ */ jsx(View, { style: [styles54.root, style], children }) });
|
|
8712
8621
|
}
|
|
8713
8622
|
);
|
|
8714
8623
|
TabsRoot.displayName = "Tabs";
|
|
@@ -8717,7 +8626,7 @@ var Tabs = Object.assign(TabsRoot, {
|
|
|
8717
8626
|
Panel: TabPanel,
|
|
8718
8627
|
List: TabList
|
|
8719
8628
|
});
|
|
8720
|
-
var
|
|
8629
|
+
var styles54 = StyleSheet.create({
|
|
8721
8630
|
root: {
|
|
8722
8631
|
flexShrink: 1
|
|
8723
8632
|
},
|
|
@@ -8814,14 +8723,14 @@ var SegmentedTabs = React38.memo(
|
|
|
8814
8723
|
const inner = /* @__PURE__ */ jsxs(
|
|
8815
8724
|
View,
|
|
8816
8725
|
{
|
|
8817
|
-
style: [
|
|
8726
|
+
style: [styles55.track, { height: sz.height, borderRadius: sz.borderRadius }],
|
|
8818
8727
|
onLayout: handleLayout,
|
|
8819
8728
|
children: [
|
|
8820
8729
|
indicatorWidth > 0 && /* @__PURE__ */ jsx(
|
|
8821
8730
|
Animated10.View,
|
|
8822
8731
|
{
|
|
8823
8732
|
style: [
|
|
8824
|
-
|
|
8733
|
+
styles55.indicator,
|
|
8825
8734
|
{
|
|
8826
8735
|
width: indicatorWidth,
|
|
8827
8736
|
height: sz.height - sz.indicatorInset * 2,
|
|
@@ -8841,14 +8750,14 @@ var SegmentedTabs = React38.memo(
|
|
|
8841
8750
|
onPress: () => handleSelect(option.value),
|
|
8842
8751
|
accessibilityRole: "tab",
|
|
8843
8752
|
accessibilityState: { selected: isActive },
|
|
8844
|
-
style:
|
|
8753
|
+
style: styles55.segment,
|
|
8845
8754
|
children: [
|
|
8846
|
-
option.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
8755
|
+
option.icon != null && /* @__PURE__ */ jsx(View, { style: styles55.segmentIcon, children: option.icon }),
|
|
8847
8756
|
/* @__PURE__ */ jsx(
|
|
8848
8757
|
Text,
|
|
8849
8758
|
{
|
|
8850
8759
|
style: [
|
|
8851
|
-
|
|
8760
|
+
styles55.segmentLabel,
|
|
8852
8761
|
{
|
|
8853
8762
|
fontSize: sz.fontSize,
|
|
8854
8763
|
color: isActive ? isDark ? "#ffffff" : theme.colors.text : theme.colors.textSecondary,
|
|
@@ -8883,7 +8792,7 @@ var SegmentedTabs = React38.memo(
|
|
|
8883
8792
|
View,
|
|
8884
8793
|
{
|
|
8885
8794
|
style: [
|
|
8886
|
-
|
|
8795
|
+
styles55.outer,
|
|
8887
8796
|
{ backgroundColor: containerBg, borderRadius: sz.borderRadius },
|
|
8888
8797
|
style
|
|
8889
8798
|
],
|
|
@@ -8893,7 +8802,7 @@ var SegmentedTabs = React38.memo(
|
|
|
8893
8802
|
}
|
|
8894
8803
|
);
|
|
8895
8804
|
SegmentedTabs.displayName = "SegmentedTabs";
|
|
8896
|
-
var
|
|
8805
|
+
var styles55 = StyleSheet.create({
|
|
8897
8806
|
outer: {
|
|
8898
8807
|
overflow: "hidden"
|
|
8899
8808
|
},
|
|
@@ -8951,11 +8860,11 @@ var TopNavigation = React38.memo(
|
|
|
8951
8860
|
};
|
|
8952
8861
|
});
|
|
8953
8862
|
const backdropColor = isDark ? "rgba(15,15,25,0.75)" : "rgba(255,255,255,0.80)";
|
|
8954
|
-
const titleContent = /* @__PURE__ */ jsxs(View, { style:
|
|
8863
|
+
const titleContent = /* @__PURE__ */ jsxs(View, { style: styles56.titleBlock, pointerEvents: "none", children: [
|
|
8955
8864
|
title != null && /* @__PURE__ */ jsx(
|
|
8956
8865
|
Text,
|
|
8957
8866
|
{
|
|
8958
|
-
style: [
|
|
8867
|
+
style: [styles56.title, { color: theme.colors.text }],
|
|
8959
8868
|
numberOfLines: 1,
|
|
8960
8869
|
allowFontScaling: false,
|
|
8961
8870
|
children: title
|
|
@@ -8964,7 +8873,7 @@ var TopNavigation = React38.memo(
|
|
|
8964
8873
|
subtitle != null && /* @__PURE__ */ jsx(
|
|
8965
8874
|
Text,
|
|
8966
8875
|
{
|
|
8967
|
-
style: [
|
|
8876
|
+
style: [styles56.subtitle, { color: theme.colors.textSecondary }],
|
|
8968
8877
|
numberOfLines: 1,
|
|
8969
8878
|
allowFontScaling: false,
|
|
8970
8879
|
children: subtitle
|
|
@@ -8975,13 +8884,13 @@ var TopNavigation = React38.memo(
|
|
|
8975
8884
|
View,
|
|
8976
8885
|
{
|
|
8977
8886
|
style: [
|
|
8978
|
-
|
|
8887
|
+
styles56.row,
|
|
8979
8888
|
{ height: NAV_HEIGHT }
|
|
8980
8889
|
],
|
|
8981
8890
|
children: [
|
|
8982
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
8891
|
+
/* @__PURE__ */ jsx(View, { style: styles56.sideSlot, children: leading != null ? leading : null }),
|
|
8983
8892
|
titleContent,
|
|
8984
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
8893
|
+
/* @__PURE__ */ jsx(View, { style: [styles56.sideSlot, styles56.trailingSlot], children: trailing != null ? trailing : null })
|
|
8985
8894
|
]
|
|
8986
8895
|
}
|
|
8987
8896
|
);
|
|
@@ -9014,7 +8923,7 @@ var TopNavigation = React38.memo(
|
|
|
9014
8923
|
View,
|
|
9015
8924
|
{
|
|
9016
8925
|
style: [
|
|
9017
|
-
|
|
8926
|
+
styles56.solidContainer,
|
|
9018
8927
|
{
|
|
9019
8928
|
paddingTop: safeTop,
|
|
9020
8929
|
minHeight: totalHeight,
|
|
@@ -9042,7 +8951,7 @@ var TopNavigation = React38.memo(
|
|
|
9042
8951
|
}
|
|
9043
8952
|
);
|
|
9044
8953
|
TopNavigation.displayName = "TopNavigation";
|
|
9045
|
-
var
|
|
8954
|
+
var styles56 = StyleSheet.create({
|
|
9046
8955
|
solidContainer: {
|
|
9047
8956
|
width: "100%",
|
|
9048
8957
|
borderBottomWidth: StyleSheet.hairlineWidth
|
|
@@ -9117,17 +9026,17 @@ var NavItem = React38.memo(({ item, isActive, showLabel, onPress }) => {
|
|
|
9117
9026
|
accessibilityRole: "tab",
|
|
9118
9027
|
accessibilityState: { selected: isActive },
|
|
9119
9028
|
accessibilityLabel: item.label,
|
|
9120
|
-
style:
|
|
9121
|
-
children: /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
9122
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9029
|
+
style: styles57.navItem,
|
|
9030
|
+
children: /* @__PURE__ */ jsxs(Animated10.View, { style: [styles57.navItemInner, animatedStyle], children: [
|
|
9031
|
+
/* @__PURE__ */ jsxs(View, { style: styles57.iconWrapper, children: [
|
|
9123
9032
|
/* @__PURE__ */ jsx(Animated10.View, { style: iconWrapStyle, children: isActive && item.activeIcon != null ? item.activeIcon : item.icon }),
|
|
9124
|
-
hasBadge && /* @__PURE__ */ jsx(View, { style: [
|
|
9033
|
+
hasBadge && /* @__PURE__ */ jsx(View, { style: [styles57.badge, { backgroundColor: theme.colors.error }], children: badgeCount != null && badgeCount > 0 && /* @__PURE__ */ jsx(Text, { style: styles57.badgeText, allowFontScaling: false, children: badgeCount > 99 ? "99+" : String(badgeCount) }) })
|
|
9125
9034
|
] }),
|
|
9126
9035
|
showLabel && /* @__PURE__ */ jsx(
|
|
9127
9036
|
Text,
|
|
9128
9037
|
{
|
|
9129
9038
|
style: [
|
|
9130
|
-
|
|
9039
|
+
styles57.navLabel,
|
|
9131
9040
|
{
|
|
9132
9041
|
color,
|
|
9133
9042
|
fontWeight: isActive ? "600" : "400"
|
|
@@ -9142,7 +9051,7 @@ var NavItem = React38.memo(({ item, isActive, showLabel, onPress }) => {
|
|
|
9142
9051
|
Animated10.View,
|
|
9143
9052
|
{
|
|
9144
9053
|
style: [
|
|
9145
|
-
|
|
9054
|
+
styles57.activeDot,
|
|
9146
9055
|
{ backgroundColor: activeColor },
|
|
9147
9056
|
dotStyle
|
|
9148
9057
|
]
|
|
@@ -9176,7 +9085,7 @@ var BottomNavigation = React38.memo(
|
|
|
9176
9085
|
[value, onChange]
|
|
9177
9086
|
);
|
|
9178
9087
|
const safeBottom = Platform.OS === "ios" ? IOS_SAFE_BOTTOM : ANDROID_SAFE_BOTTOM;
|
|
9179
|
-
const bar = /* @__PURE__ */ jsx(View, { style: [
|
|
9088
|
+
const bar = /* @__PURE__ */ jsx(View, { style: [styles57.bar, { paddingBottom: safeBottom }], children: items.map((item) => /* @__PURE__ */ jsx(
|
|
9180
9089
|
NavItem,
|
|
9181
9090
|
{
|
|
9182
9091
|
item,
|
|
@@ -9193,7 +9102,7 @@ var BottomNavigation = React38.memo(
|
|
|
9193
9102
|
View,
|
|
9194
9103
|
{
|
|
9195
9104
|
style: [
|
|
9196
|
-
|
|
9105
|
+
styles57.solidContainer,
|
|
9197
9106
|
{
|
|
9198
9107
|
backgroundColor: theme.colors.surface,
|
|
9199
9108
|
borderTopColor: theme.colors.border
|
|
@@ -9206,7 +9115,7 @@ var BottomNavigation = React38.memo(
|
|
|
9206
9115
|
}
|
|
9207
9116
|
);
|
|
9208
9117
|
BottomNavigation.displayName = "BottomNavigation";
|
|
9209
|
-
var
|
|
9118
|
+
var styles57 = StyleSheet.create({
|
|
9210
9119
|
solidContainer: {
|
|
9211
9120
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
9212
9121
|
shadowColor: "#000",
|
|
@@ -9337,7 +9246,7 @@ var Drawer = React38.memo(
|
|
|
9337
9246
|
Animated10.View,
|
|
9338
9247
|
{
|
|
9339
9248
|
style: [
|
|
9340
|
-
|
|
9249
|
+
styles58.panel,
|
|
9341
9250
|
{
|
|
9342
9251
|
width,
|
|
9343
9252
|
[placement]: 0
|
|
@@ -9345,12 +9254,12 @@ var Drawer = React38.memo(
|
|
|
9345
9254
|
panelAnimStyle
|
|
9346
9255
|
],
|
|
9347
9256
|
...panResponder.panHandlers,
|
|
9348
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 0, style: [
|
|
9257
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 0, style: [styles58.panelInner, style], children }) : /* @__PURE__ */ jsx(
|
|
9349
9258
|
View,
|
|
9350
9259
|
{
|
|
9351
9260
|
style: [
|
|
9352
|
-
|
|
9353
|
-
|
|
9261
|
+
styles58.panelInner,
|
|
9262
|
+
styles58.solidPanel,
|
|
9354
9263
|
{
|
|
9355
9264
|
backgroundColor: isDark ? "#1a1a2e" : "#ffffff",
|
|
9356
9265
|
shadowColor: placement === "left" ? "#000" : "#000"
|
|
@@ -9370,11 +9279,11 @@ var Drawer = React38.memo(
|
|
|
9370
9279
|
animationType: "none",
|
|
9371
9280
|
onRequestClose: onClose,
|
|
9372
9281
|
statusBarTranslucent: true,
|
|
9373
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
9282
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles58.root, children: [
|
|
9374
9283
|
backdrop && /* @__PURE__ */ jsx(
|
|
9375
9284
|
Animated10.View,
|
|
9376
9285
|
{
|
|
9377
|
-
style: [
|
|
9286
|
+
style: [styles58.backdrop, backdropAnimStyle],
|
|
9378
9287
|
pointerEvents: "auto",
|
|
9379
9288
|
children: /* @__PURE__ */ jsx(Pressable, { style: StyleSheet.absoluteFill, onPress: onClose })
|
|
9380
9289
|
}
|
|
@@ -9386,7 +9295,7 @@ var Drawer = React38.memo(
|
|
|
9386
9295
|
}
|
|
9387
9296
|
);
|
|
9388
9297
|
Drawer.displayName = "Drawer";
|
|
9389
|
-
var
|
|
9298
|
+
var styles58 = StyleSheet.create({
|
|
9390
9299
|
root: {
|
|
9391
9300
|
flex: 1
|
|
9392
9301
|
},
|
|
@@ -9434,13 +9343,13 @@ var Sidebar = React38.memo(
|
|
|
9434
9343
|
return { width: animatedWidth.value };
|
|
9435
9344
|
});
|
|
9436
9345
|
if (glass) {
|
|
9437
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
9346
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles59.root, animStyle], children: /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 0, style: [styles59.inner, style], children }) });
|
|
9438
9347
|
}
|
|
9439
9348
|
return /* @__PURE__ */ jsx(
|
|
9440
9349
|
Animated10.View,
|
|
9441
9350
|
{
|
|
9442
9351
|
style: [
|
|
9443
|
-
|
|
9352
|
+
styles59.root,
|
|
9444
9353
|
animStyle,
|
|
9445
9354
|
{
|
|
9446
9355
|
backgroundColor: theme.colors.surface,
|
|
@@ -9448,13 +9357,13 @@ var Sidebar = React38.memo(
|
|
|
9448
9357
|
},
|
|
9449
9358
|
style
|
|
9450
9359
|
],
|
|
9451
|
-
children: /* @__PURE__ */ jsx(View, { style:
|
|
9360
|
+
children: /* @__PURE__ */ jsx(View, { style: styles59.inner, children })
|
|
9452
9361
|
}
|
|
9453
9362
|
);
|
|
9454
9363
|
}
|
|
9455
9364
|
);
|
|
9456
9365
|
Sidebar.displayName = "Sidebar";
|
|
9457
|
-
var
|
|
9366
|
+
var styles59 = StyleSheet.create({
|
|
9458
9367
|
root: {
|
|
9459
9368
|
borderRightWidth: StyleSheet.hairlineWidth,
|
|
9460
9369
|
overflow: "hidden",
|
|
@@ -9482,21 +9391,21 @@ var Breadcrumb = React38.memo(
|
|
|
9482
9391
|
return /* @__PURE__ */ jsx(
|
|
9483
9392
|
Text,
|
|
9484
9393
|
{
|
|
9485
|
-
style: [
|
|
9394
|
+
style: [styles60.separator, { color: theme.colors.textMuted }],
|
|
9486
9395
|
allowFontScaling: false,
|
|
9487
9396
|
children: separator
|
|
9488
9397
|
},
|
|
9489
9398
|
key
|
|
9490
9399
|
);
|
|
9491
9400
|
}
|
|
9492
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
9401
|
+
return /* @__PURE__ */ jsx(View, { style: styles60.separatorView, children: separator }, key);
|
|
9493
9402
|
};
|
|
9494
9403
|
return /* @__PURE__ */ jsx(
|
|
9495
9404
|
ScrollView,
|
|
9496
9405
|
{
|
|
9497
9406
|
horizontal: true,
|
|
9498
9407
|
showsHorizontalScrollIndicator: false,
|
|
9499
|
-
contentContainerStyle: [
|
|
9408
|
+
contentContainerStyle: [styles60.container, style],
|
|
9500
9409
|
children: visibleItems.map((item, index) => {
|
|
9501
9410
|
const isLast = index === visibleItems.length - 1;
|
|
9502
9411
|
const sepKey = `sep-${index}`;
|
|
@@ -9505,7 +9414,7 @@ var Breadcrumb = React38.memo(
|
|
|
9505
9414
|
/* @__PURE__ */ jsx(
|
|
9506
9415
|
Text,
|
|
9507
9416
|
{
|
|
9508
|
-
style: [
|
|
9417
|
+
style: [styles60.ellipsis, { color: theme.colors.textMuted }],
|
|
9509
9418
|
allowFontScaling: false,
|
|
9510
9419
|
children: "..."
|
|
9511
9420
|
}
|
|
@@ -9516,14 +9425,14 @@ var Breadcrumb = React38.memo(
|
|
|
9516
9425
|
const crumb = /* @__PURE__ */ jsxs(React38.Fragment, { children: [
|
|
9517
9426
|
isLast ? (
|
|
9518
9427
|
// Last item — not pressable, bold
|
|
9519
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9520
|
-
item.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
9428
|
+
/* @__PURE__ */ jsxs(View, { style: styles60.crumb, children: [
|
|
9429
|
+
item.icon != null && /* @__PURE__ */ jsx(View, { style: styles60.crumbIcon, children: item.icon }),
|
|
9521
9430
|
/* @__PURE__ */ jsx(
|
|
9522
9431
|
Text,
|
|
9523
9432
|
{
|
|
9524
9433
|
style: [
|
|
9525
|
-
|
|
9526
|
-
|
|
9434
|
+
styles60.crumbLabel,
|
|
9435
|
+
styles60.crumbLabelActive,
|
|
9527
9436
|
{ color: theme.colors.text }
|
|
9528
9437
|
],
|
|
9529
9438
|
numberOfLines: 1,
|
|
@@ -9540,16 +9449,16 @@ var Breadcrumb = React38.memo(
|
|
|
9540
9449
|
onPress: item.onPress,
|
|
9541
9450
|
accessibilityRole: "link",
|
|
9542
9451
|
style: ({ pressed }) => [
|
|
9543
|
-
|
|
9544
|
-
pressed &&
|
|
9452
|
+
styles60.crumb,
|
|
9453
|
+
pressed && styles60.crumbPressed
|
|
9545
9454
|
],
|
|
9546
9455
|
children: [
|
|
9547
|
-
item.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
9456
|
+
item.icon != null && /* @__PURE__ */ jsx(View, { style: styles60.crumbIcon, children: item.icon }),
|
|
9548
9457
|
/* @__PURE__ */ jsx(
|
|
9549
9458
|
Text,
|
|
9550
9459
|
{
|
|
9551
9460
|
style: [
|
|
9552
|
-
|
|
9461
|
+
styles60.crumbLabel,
|
|
9553
9462
|
{ color: theme.colors.textSecondary }
|
|
9554
9463
|
],
|
|
9555
9464
|
numberOfLines: 1,
|
|
@@ -9570,7 +9479,7 @@ var Breadcrumb = React38.memo(
|
|
|
9570
9479
|
}
|
|
9571
9480
|
);
|
|
9572
9481
|
Breadcrumb.displayName = "Breadcrumb";
|
|
9573
|
-
var
|
|
9482
|
+
var styles60 = StyleSheet.create({
|
|
9574
9483
|
container: {
|
|
9575
9484
|
flexDirection: "row",
|
|
9576
9485
|
alignItems: "center",
|
|
@@ -9639,12 +9548,12 @@ var StepIndicator = React38.memo(({ status, stepNumber, variant }) => {
|
|
|
9639
9548
|
const isCurrent = status === "current";
|
|
9640
9549
|
if (variant === "dots") {
|
|
9641
9550
|
const dotColor = isDone || isCurrent ? primaryColor : grayColor;
|
|
9642
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
9551
|
+
return /* @__PURE__ */ jsxs(View, { style: styles61.dotWrapper, children: [
|
|
9643
9552
|
isCurrent && /* @__PURE__ */ jsx(
|
|
9644
9553
|
Animated10.View,
|
|
9645
9554
|
{
|
|
9646
9555
|
style: [
|
|
9647
|
-
|
|
9556
|
+
styles61.dotRing,
|
|
9648
9557
|
{ borderColor: primaryColor },
|
|
9649
9558
|
pulseStyle
|
|
9650
9559
|
]
|
|
@@ -9654,7 +9563,7 @@ var StepIndicator = React38.memo(({ status, stepNumber, variant }) => {
|
|
|
9654
9563
|
View,
|
|
9655
9564
|
{
|
|
9656
9565
|
style: [
|
|
9657
|
-
|
|
9566
|
+
styles61.dot,
|
|
9658
9567
|
{ backgroundColor: dotColor }
|
|
9659
9568
|
]
|
|
9660
9569
|
}
|
|
@@ -9663,12 +9572,12 @@ var StepIndicator = React38.memo(({ status, stepNumber, variant }) => {
|
|
|
9663
9572
|
}
|
|
9664
9573
|
const bgColor = isDone ? primaryColor : isCurrent ? "transparent" : "transparent";
|
|
9665
9574
|
const borderColor = isDone || isCurrent ? primaryColor : grayColor;
|
|
9666
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
9575
|
+
return /* @__PURE__ */ jsxs(View, { style: styles61.circleWrapper, children: [
|
|
9667
9576
|
isCurrent && /* @__PURE__ */ jsx(
|
|
9668
9577
|
Animated10.View,
|
|
9669
9578
|
{
|
|
9670
9579
|
style: [
|
|
9671
|
-
|
|
9580
|
+
styles61.circleRing,
|
|
9672
9581
|
{ borderColor: primaryColor },
|
|
9673
9582
|
pulseStyle
|
|
9674
9583
|
]
|
|
@@ -9678,18 +9587,18 @@ var StepIndicator = React38.memo(({ status, stepNumber, variant }) => {
|
|
|
9678
9587
|
View,
|
|
9679
9588
|
{
|
|
9680
9589
|
style: [
|
|
9681
|
-
|
|
9590
|
+
styles61.circle,
|
|
9682
9591
|
{
|
|
9683
9592
|
backgroundColor: bgColor,
|
|
9684
9593
|
borderColor,
|
|
9685
9594
|
borderWidth: isDone ? 0 : 2
|
|
9686
9595
|
}
|
|
9687
9596
|
],
|
|
9688
|
-
children: isDone ? /* @__PURE__ */ jsx(Text, { style:
|
|
9597
|
+
children: isDone ? /* @__PURE__ */ jsx(Text, { style: styles61.checkmark, allowFontScaling: false, children: "\u2713" }) : variant === "numbers" ? /* @__PURE__ */ jsx(
|
|
9689
9598
|
Text,
|
|
9690
9599
|
{
|
|
9691
9600
|
style: [
|
|
9692
|
-
|
|
9601
|
+
styles61.stepNumber,
|
|
9693
9602
|
{ color: isCurrent ? primaryColor : grayColor }
|
|
9694
9603
|
],
|
|
9695
9604
|
allowFontScaling: false,
|
|
@@ -9719,15 +9628,15 @@ var Connector = React38.memo(({ isComplete, orientation }) => {
|
|
|
9719
9628
|
View,
|
|
9720
9629
|
{
|
|
9721
9630
|
style: [
|
|
9722
|
-
|
|
9723
|
-
isHoriz ?
|
|
9631
|
+
styles61.connectorTrack,
|
|
9632
|
+
isHoriz ? styles61.connectorHoriz : styles61.connectorVert,
|
|
9724
9633
|
{ backgroundColor: theme.colors.border }
|
|
9725
9634
|
],
|
|
9726
9635
|
children: /* @__PURE__ */ jsx(
|
|
9727
9636
|
Animated10.View,
|
|
9728
9637
|
{
|
|
9729
9638
|
style: [
|
|
9730
|
-
isHoriz ?
|
|
9639
|
+
isHoriz ? styles61.connectorFillHoriz : styles61.connectorFillVert,
|
|
9731
9640
|
{ backgroundColor: theme.colors.primary },
|
|
9732
9641
|
fillStyle
|
|
9733
9642
|
]
|
|
@@ -9745,16 +9654,16 @@ var Step = React38.memo(({ step, index, total, activeStep, variant, orientation
|
|
|
9745
9654
|
const labelColor = status === "upcoming" ? theme.colors.textMuted : theme.colors.text;
|
|
9746
9655
|
const descColor = theme.colors.textSecondary;
|
|
9747
9656
|
if (isHoriz) {
|
|
9748
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
9749
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9657
|
+
return /* @__PURE__ */ jsxs(View, { style: styles61.stepHoriz, children: [
|
|
9658
|
+
/* @__PURE__ */ jsxs(View, { style: styles61.stepHorizTrack, children: [
|
|
9750
9659
|
/* @__PURE__ */ jsx(StepIndicator, { status, stepNumber: index + 1, variant }),
|
|
9751
|
-
!isLast && /* @__PURE__ */ jsx(View, { style:
|
|
9660
|
+
!isLast && /* @__PURE__ */ jsx(View, { style: styles61.connectorHorizWrapper, children: /* @__PURE__ */ jsx(Connector, { isComplete: status === "complete", orientation: "horizontal" }) })
|
|
9752
9661
|
] }),
|
|
9753
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9662
|
+
/* @__PURE__ */ jsxs(View, { style: styles61.stepLabelHoriz, children: [
|
|
9754
9663
|
/* @__PURE__ */ jsx(
|
|
9755
9664
|
Text,
|
|
9756
9665
|
{
|
|
9757
|
-
style: [
|
|
9666
|
+
style: [styles61.stepLabel, { color: labelColor }],
|
|
9758
9667
|
numberOfLines: 2,
|
|
9759
9668
|
allowFontScaling: false,
|
|
9760
9669
|
children: step.label
|
|
@@ -9763,7 +9672,7 @@ var Step = React38.memo(({ step, index, total, activeStep, variant, orientation
|
|
|
9763
9672
|
step.description != null && /* @__PURE__ */ jsx(
|
|
9764
9673
|
Text,
|
|
9765
9674
|
{
|
|
9766
|
-
style: [
|
|
9675
|
+
style: [styles61.stepDesc, { color: descColor }],
|
|
9767
9676
|
numberOfLines: 2,
|
|
9768
9677
|
allowFontScaling: false,
|
|
9769
9678
|
children: step.description
|
|
@@ -9772,16 +9681,16 @@ var Step = React38.memo(({ step, index, total, activeStep, variant, orientation
|
|
|
9772
9681
|
] })
|
|
9773
9682
|
] });
|
|
9774
9683
|
}
|
|
9775
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
9776
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9684
|
+
return /* @__PURE__ */ jsxs(View, { style: styles61.stepVert, children: [
|
|
9685
|
+
/* @__PURE__ */ jsxs(View, { style: styles61.stepVertLeft, children: [
|
|
9777
9686
|
/* @__PURE__ */ jsx(StepIndicator, { status, stepNumber: index + 1, variant }),
|
|
9778
|
-
!isLast && /* @__PURE__ */ jsx(View, { style:
|
|
9687
|
+
!isLast && /* @__PURE__ */ jsx(View, { style: styles61.connectorVertWrapper, children: /* @__PURE__ */ jsx(Connector, { isComplete: status === "complete", orientation: "vertical" }) })
|
|
9779
9688
|
] }),
|
|
9780
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
9689
|
+
/* @__PURE__ */ jsxs(View, { style: styles61.stepVertContent, children: [
|
|
9781
9690
|
/* @__PURE__ */ jsx(
|
|
9782
9691
|
Text,
|
|
9783
9692
|
{
|
|
9784
|
-
style: [
|
|
9693
|
+
style: [styles61.stepLabel, { color: labelColor }],
|
|
9785
9694
|
allowFontScaling: false,
|
|
9786
9695
|
children: step.label
|
|
9787
9696
|
}
|
|
@@ -9789,7 +9698,7 @@ var Step = React38.memo(({ step, index, total, activeStep, variant, orientation
|
|
|
9789
9698
|
step.description != null && /* @__PURE__ */ jsx(
|
|
9790
9699
|
Text,
|
|
9791
9700
|
{
|
|
9792
|
-
style: [
|
|
9701
|
+
style: [styles61.stepDesc, { color: descColor }],
|
|
9793
9702
|
allowFontScaling: false,
|
|
9794
9703
|
children: step.description
|
|
9795
9704
|
}
|
|
@@ -9811,7 +9720,7 @@ var Stepper = React38.memo(
|
|
|
9811
9720
|
View,
|
|
9812
9721
|
{
|
|
9813
9722
|
style: [
|
|
9814
|
-
orientation === "horizontal" ?
|
|
9723
|
+
orientation === "horizontal" ? styles61.rootHoriz : styles61.rootVert
|
|
9815
9724
|
],
|
|
9816
9725
|
children: steps.map((step, index) => /* @__PURE__ */ jsx(
|
|
9817
9726
|
Step,
|
|
@@ -9828,13 +9737,13 @@ var Stepper = React38.memo(
|
|
|
9828
9737
|
}
|
|
9829
9738
|
);
|
|
9830
9739
|
if (glass) {
|
|
9831
|
-
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 16, style, children: /* @__PURE__ */ jsx(View, { style:
|
|
9740
|
+
return /* @__PURE__ */ jsx(GlassView, { elevation: 1, borderRadius: 16, style, children: /* @__PURE__ */ jsx(View, { style: styles61.glassPadding, children: content }) });
|
|
9832
9741
|
}
|
|
9833
9742
|
return /* @__PURE__ */ jsx(View, { style, children: content });
|
|
9834
9743
|
}
|
|
9835
9744
|
);
|
|
9836
9745
|
Stepper.displayName = "Stepper";
|
|
9837
|
-
var
|
|
9746
|
+
var styles61 = StyleSheet.create({
|
|
9838
9747
|
rootHoriz: {
|
|
9839
9748
|
flexDirection: "row",
|
|
9840
9749
|
alignItems: "flex-start"
|
|
@@ -10029,23 +9938,23 @@ var Modal9 = React38.memo(
|
|
|
10029
9938
|
});
|
|
10030
9939
|
const maxWidth = resolveMaxWidth2(size);
|
|
10031
9940
|
const cardBg = isDark ? "#1e1e30" : "#ffffff";
|
|
10032
|
-
const headerRow = showCloseButton || title != null ? /* @__PURE__ */ jsxs(View, { style:
|
|
9941
|
+
const headerRow = showCloseButton || title != null ? /* @__PURE__ */ jsxs(View, { style: styles62.headerRow, children: [
|
|
10033
9942
|
title != null ? /* @__PURE__ */ jsx(
|
|
10034
9943
|
Text,
|
|
10035
9944
|
{
|
|
10036
|
-
style: [
|
|
9945
|
+
style: [styles62.title, { color: isDark ? "#f1f5f9" : "#0f172a" }],
|
|
10037
9946
|
numberOfLines: 2,
|
|
10038
9947
|
children: title
|
|
10039
9948
|
}
|
|
10040
|
-
) : /* @__PURE__ */ jsx(View, { style:
|
|
9949
|
+
) : /* @__PURE__ */ jsx(View, { style: styles62.flex }),
|
|
10041
9950
|
showCloseButton && /* @__PURE__ */ jsx(
|
|
10042
9951
|
Pressable,
|
|
10043
9952
|
{
|
|
10044
9953
|
onPress: handleClose,
|
|
10045
|
-
style:
|
|
9954
|
+
style: styles62.closeBtn,
|
|
10046
9955
|
accessibilityLabel: "Close modal",
|
|
10047
9956
|
accessibilityRole: "button",
|
|
10048
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
9957
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles62.closeText, { color: isDark ? "#94a3b8" : "#64748b" }], children: "\u2715" })
|
|
10049
9958
|
}
|
|
10050
9959
|
)
|
|
10051
9960
|
] }) : null;
|
|
@@ -10062,7 +9971,7 @@ var Modal9 = React38.memo(
|
|
|
10062
9971
|
animationType: "none",
|
|
10063
9972
|
onRequestClose: isDismissible ? handleClose : void 0,
|
|
10064
9973
|
statusBarTranslucent: true,
|
|
10065
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
9974
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles62.backdrop, children: [
|
|
10066
9975
|
/* @__PURE__ */ jsx(
|
|
10067
9976
|
Pressable,
|
|
10068
9977
|
{
|
|
@@ -10075,12 +9984,12 @@ var Modal9 = React38.memo(
|
|
|
10075
9984
|
Animated10.View,
|
|
10076
9985
|
{
|
|
10077
9986
|
style: [
|
|
10078
|
-
|
|
9987
|
+
styles62.card,
|
|
10079
9988
|
{ maxWidth, backgroundColor: glass ? "transparent" : cardBg },
|
|
10080
9989
|
animatedCardStyle,
|
|
10081
9990
|
style
|
|
10082
9991
|
],
|
|
10083
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 20, style:
|
|
9992
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 20, style: styles62.glassCard, children: cardContent }) : cardContent
|
|
10084
9993
|
}
|
|
10085
9994
|
)
|
|
10086
9995
|
] })
|
|
@@ -10089,7 +9998,7 @@ var Modal9 = React38.memo(
|
|
|
10089
9998
|
}
|
|
10090
9999
|
);
|
|
10091
10000
|
Modal9.displayName = "Modal";
|
|
10092
|
-
var
|
|
10001
|
+
var styles62 = StyleSheet.create({
|
|
10093
10002
|
backdrop: {
|
|
10094
10003
|
flex: 1,
|
|
10095
10004
|
backgroundColor: "rgba(0,0,0,0.6)",
|
|
@@ -10178,12 +10087,12 @@ var ActionSheet = React38.memo(
|
|
|
10178
10087
|
const textBase = isDark ? "#f1f5f9" : "#0f172a";
|
|
10179
10088
|
const subText = isDark ? "#94a3b8" : "#64748b";
|
|
10180
10089
|
const actionItems = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10181
|
-
(title != null || message != null) && /* @__PURE__ */ jsxs(View, { style: [
|
|
10182
|
-
title != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
10183
|
-
message != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
10090
|
+
(title != null || message != null) && /* @__PURE__ */ jsxs(View, { style: [styles63.header, { borderBottomColor: divider }], children: [
|
|
10091
|
+
title != null && /* @__PURE__ */ jsx(Text, { style: [styles63.headerTitle, { color: subText }], children: title }),
|
|
10092
|
+
message != null && /* @__PURE__ */ jsx(Text, { style: [styles63.headerMessage, { color: subText }], children: message })
|
|
10184
10093
|
] }),
|
|
10185
10094
|
actions.map((action, idx) => /* @__PURE__ */ jsxs(React38.Fragment, { children: [
|
|
10186
|
-
idx > 0 && /* @__PURE__ */ jsx(View, { style: [
|
|
10095
|
+
idx > 0 && /* @__PURE__ */ jsx(View, { style: [styles63.divider, { backgroundColor: divider }] }),
|
|
10187
10096
|
/* @__PURE__ */ jsxs(
|
|
10188
10097
|
Pressable,
|
|
10189
10098
|
{
|
|
@@ -10193,19 +10102,19 @@ var ActionSheet = React38.memo(
|
|
|
10193
10102
|
handleClose();
|
|
10194
10103
|
},
|
|
10195
10104
|
style: ({ pressed }) => [
|
|
10196
|
-
|
|
10197
|
-
pressed &&
|
|
10105
|
+
styles63.actionRow,
|
|
10106
|
+
pressed && styles63.actionRowPressed
|
|
10198
10107
|
],
|
|
10199
10108
|
disabled: action.isDisabled,
|
|
10200
10109
|
accessibilityRole: "button",
|
|
10201
10110
|
accessibilityLabel: action.label,
|
|
10202
10111
|
children: [
|
|
10203
|
-
action.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
10112
|
+
action.icon != null && /* @__PURE__ */ jsx(View, { style: styles63.actionIcon, children: action.icon }),
|
|
10204
10113
|
/* @__PURE__ */ jsx(
|
|
10205
10114
|
Text,
|
|
10206
10115
|
{
|
|
10207
10116
|
style: [
|
|
10208
|
-
|
|
10117
|
+
styles63.actionLabel,
|
|
10209
10118
|
{
|
|
10210
10119
|
color: action.isDestructive ? "#ef4444" : action.isDisabled ? subText : textBase,
|
|
10211
10120
|
opacity: action.isDisabled ? 0.45 : 1
|
|
@@ -10228,7 +10137,7 @@ var ActionSheet = React38.memo(
|
|
|
10228
10137
|
animationType: "none",
|
|
10229
10138
|
onRequestClose: handleClose,
|
|
10230
10139
|
statusBarTranslucent: true,
|
|
10231
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
10140
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles63.backdrop, children: [
|
|
10232
10141
|
/* @__PURE__ */ jsx(
|
|
10233
10142
|
Pressable,
|
|
10234
10143
|
{
|
|
@@ -10237,40 +10146,40 @@ var ActionSheet = React38.memo(
|
|
|
10237
10146
|
accessibilityLabel: "Close action sheet"
|
|
10238
10147
|
}
|
|
10239
10148
|
),
|
|
10240
|
-
/* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
10241
|
-
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 16, style:
|
|
10149
|
+
/* @__PURE__ */ jsxs(Animated10.View, { style: [styles63.container, animatedStyle], children: [
|
|
10150
|
+
glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 16, style: styles63.panelGlass, children: actionItems }) : /* @__PURE__ */ jsx(
|
|
10242
10151
|
View,
|
|
10243
10152
|
{
|
|
10244
10153
|
style: [
|
|
10245
|
-
|
|
10154
|
+
styles63.panel,
|
|
10246
10155
|
{ backgroundColor: panelBg }
|
|
10247
10156
|
],
|
|
10248
10157
|
children: actionItems
|
|
10249
10158
|
}
|
|
10250
10159
|
),
|
|
10251
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
10160
|
+
/* @__PURE__ */ jsx(View, { style: styles63.cancelSpacing, children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 16, style: styles63.cancelGlass, children: /* @__PURE__ */ jsx(
|
|
10252
10161
|
Pressable,
|
|
10253
10162
|
{
|
|
10254
10163
|
onPress: handleClose,
|
|
10255
10164
|
style: ({ pressed }) => [
|
|
10256
|
-
|
|
10257
|
-
pressed &&
|
|
10165
|
+
styles63.cancelRow,
|
|
10166
|
+
pressed && styles63.actionRowPressed
|
|
10258
10167
|
],
|
|
10259
10168
|
accessibilityRole: "button",
|
|
10260
10169
|
accessibilityLabel: cancelLabel,
|
|
10261
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
10170
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles63.cancelLabel, { color: textBase }], children: cancelLabel })
|
|
10262
10171
|
}
|
|
10263
|
-
) }) : /* @__PURE__ */ jsx(View, { style: [
|
|
10172
|
+
) }) : /* @__PURE__ */ jsx(View, { style: [styles63.cancelPanel, { backgroundColor: panelBg }], children: /* @__PURE__ */ jsx(
|
|
10264
10173
|
Pressable,
|
|
10265
10174
|
{
|
|
10266
10175
|
onPress: handleClose,
|
|
10267
10176
|
style: ({ pressed }) => [
|
|
10268
|
-
|
|
10269
|
-
pressed &&
|
|
10177
|
+
styles63.cancelRow,
|
|
10178
|
+
pressed && styles63.actionRowPressed
|
|
10270
10179
|
],
|
|
10271
10180
|
accessibilityRole: "button",
|
|
10272
10181
|
accessibilityLabel: cancelLabel,
|
|
10273
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
10182
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles63.cancelLabel, { color: textBase }], children: cancelLabel })
|
|
10274
10183
|
}
|
|
10275
10184
|
) }) })
|
|
10276
10185
|
] })
|
|
@@ -10280,7 +10189,7 @@ var ActionSheet = React38.memo(
|
|
|
10280
10189
|
}
|
|
10281
10190
|
);
|
|
10282
10191
|
ActionSheet.displayName = "ActionSheet";
|
|
10283
|
-
var
|
|
10192
|
+
var styles63 = StyleSheet.create({
|
|
10284
10193
|
backdrop: {
|
|
10285
10194
|
flex: 1,
|
|
10286
10195
|
backgroundColor: "rgba(0,0,0,0.45)",
|
|
@@ -10432,20 +10341,20 @@ var CommandPalette = React38.memo(
|
|
|
10432
10341
|
const highlightBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)";
|
|
10433
10342
|
const renderItems = () => {
|
|
10434
10343
|
if (filtered.length === 0) {
|
|
10435
|
-
return /* @__PURE__ */ jsx(View, { style:
|
|
10344
|
+
return /* @__PURE__ */ jsx(View, { style: styles64.emptyState, children: /* @__PURE__ */ jsx(Text, { style: [styles64.emptyText, { color: subText }], children: "No commands found" }) });
|
|
10436
10345
|
}
|
|
10437
10346
|
const sections = [];
|
|
10438
10347
|
let first = true;
|
|
10439
10348
|
grouped.forEach((groupItems, groupKey) => {
|
|
10440
10349
|
if (!first) {
|
|
10441
10350
|
sections.push(
|
|
10442
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
10351
|
+
/* @__PURE__ */ jsx(View, { style: [styles64.sectionDivider, { backgroundColor: divider }] }, `divider-${groupKey}`)
|
|
10443
10352
|
);
|
|
10444
10353
|
}
|
|
10445
10354
|
first = false;
|
|
10446
10355
|
if (groupKey) {
|
|
10447
10356
|
sections.push(
|
|
10448
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
10357
|
+
/* @__PURE__ */ jsx(Text, { style: [styles64.groupLabel, { color: groupLabelClr }], children: groupKey.toUpperCase() }, `header-${groupKey}`)
|
|
10449
10358
|
);
|
|
10450
10359
|
}
|
|
10451
10360
|
sections.push(
|
|
@@ -10457,18 +10366,18 @@ var CommandPalette = React38.memo(
|
|
|
10457
10366
|
handleClose();
|
|
10458
10367
|
},
|
|
10459
10368
|
style: ({ pressed }) => [
|
|
10460
|
-
|
|
10369
|
+
styles64.itemRow,
|
|
10461
10370
|
pressed && { backgroundColor: highlightBg }
|
|
10462
10371
|
],
|
|
10463
10372
|
accessibilityRole: "button",
|
|
10464
10373
|
accessibilityLabel: item.label,
|
|
10465
10374
|
children: [
|
|
10466
|
-
item.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
10467
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
10468
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
10469
|
-
item.description != null && /* @__PURE__ */ jsx(Text, { style: [
|
|
10375
|
+
item.icon != null && /* @__PURE__ */ jsx(View, { style: styles64.itemIcon, children: item.icon }),
|
|
10376
|
+
/* @__PURE__ */ jsxs(View, { style: styles64.itemText, children: [
|
|
10377
|
+
/* @__PURE__ */ jsx(Text, { style: [styles64.itemLabel, { color: textBase }], numberOfLines: 1, children: item.label }),
|
|
10378
|
+
item.description != null && /* @__PURE__ */ jsx(Text, { style: [styles64.itemDescription, { color: subText }], numberOfLines: 1, children: item.description })
|
|
10470
10379
|
] }),
|
|
10471
|
-
item.shortcut != null && /* @__PURE__ */ jsx(View, { style: [
|
|
10380
|
+
item.shortcut != null && /* @__PURE__ */ jsx(View, { style: [styles64.shortcutBadge, { backgroundColor: inputBg }], children: /* @__PURE__ */ jsx(Text, { style: [styles64.shortcutText, { color: subText }], children: item.shortcut }) })
|
|
10472
10381
|
]
|
|
10473
10382
|
},
|
|
10474
10383
|
item.id
|
|
@@ -10478,12 +10387,12 @@ var CommandPalette = React38.memo(
|
|
|
10478
10387
|
return sections;
|
|
10479
10388
|
};
|
|
10480
10389
|
const cardContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10481
|
-
/* @__PURE__ */ jsxs(View, { style: [
|
|
10482
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
10390
|
+
/* @__PURE__ */ jsxs(View, { style: [styles64.searchRow, { borderBottomColor: divider }], children: [
|
|
10391
|
+
/* @__PURE__ */ jsx(Text, { style: [styles64.searchIcon, { color: subText }], children: "\u2315" }),
|
|
10483
10392
|
/* @__PURE__ */ jsx(
|
|
10484
10393
|
TextInput$1,
|
|
10485
10394
|
{
|
|
10486
|
-
style: [
|
|
10395
|
+
style: [styles64.searchInput, { color: textBase }],
|
|
10487
10396
|
value: query,
|
|
10488
10397
|
onChangeText: setQuery,
|
|
10489
10398
|
placeholder,
|
|
@@ -10495,17 +10404,17 @@ var CommandPalette = React38.memo(
|
|
|
10495
10404
|
clearButtonMode: "while-editing"
|
|
10496
10405
|
}
|
|
10497
10406
|
),
|
|
10498
|
-
/* @__PURE__ */ jsx(Pressable, { onPress: handleClose, style:
|
|
10407
|
+
/* @__PURE__ */ jsx(Pressable, { onPress: handleClose, style: styles64.closeBtn, accessibilityLabel: "Close", children: /* @__PURE__ */ jsx(Text, { style: [styles64.closeText, { color: subText }], children: "\u2715" }) })
|
|
10499
10408
|
] }),
|
|
10500
10409
|
/* @__PURE__ */ jsxs(
|
|
10501
10410
|
ScrollView,
|
|
10502
10411
|
{
|
|
10503
|
-
style: [
|
|
10412
|
+
style: [styles64.list, { maxHeight: 400 }],
|
|
10504
10413
|
keyboardShouldPersistTaps: "handled",
|
|
10505
10414
|
showsVerticalScrollIndicator: false,
|
|
10506
10415
|
children: [
|
|
10507
10416
|
renderItems(),
|
|
10508
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
10417
|
+
/* @__PURE__ */ jsx(View, { style: styles64.listBottom })
|
|
10509
10418
|
]
|
|
10510
10419
|
}
|
|
10511
10420
|
)
|
|
@@ -10519,7 +10428,7 @@ var CommandPalette = React38.memo(
|
|
|
10519
10428
|
animationType: "none",
|
|
10520
10429
|
onRequestClose: handleClose,
|
|
10521
10430
|
statusBarTranslucent: true,
|
|
10522
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
10431
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles64.backdrop, children: [
|
|
10523
10432
|
/* @__PURE__ */ jsx(
|
|
10524
10433
|
Pressable,
|
|
10525
10434
|
{
|
|
@@ -10528,14 +10437,14 @@ var CommandPalette = React38.memo(
|
|
|
10528
10437
|
accessibilityLabel: "Close command palette"
|
|
10529
10438
|
}
|
|
10530
10439
|
),
|
|
10531
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
10440
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: [styles64.card, animatedStyle], children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 16, style: styles64.glassCard, children: cardContent }) : /* @__PURE__ */ jsx(View, { style: [styles64.solidCard, { backgroundColor: cardBg }], children: cardContent }) })
|
|
10532
10441
|
] })
|
|
10533
10442
|
}
|
|
10534
10443
|
);
|
|
10535
10444
|
}
|
|
10536
10445
|
);
|
|
10537
10446
|
CommandPalette.displayName = "CommandPalette";
|
|
10538
|
-
var
|
|
10447
|
+
var styles64 = StyleSheet.create({
|
|
10539
10448
|
backdrop: {
|
|
10540
10449
|
flex: 1,
|
|
10541
10450
|
backgroundColor: "rgba(0,0,0,0.65)",
|
|
@@ -10693,8 +10602,8 @@ var ContextMenu = React38.memo(
|
|
|
10693
10602
|
const subText = isDark ? "#94a3b8" : "#64748b";
|
|
10694
10603
|
const divider = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)";
|
|
10695
10604
|
const pressedBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)";
|
|
10696
|
-
const menuItems = /* @__PURE__ */ jsx(View, { style:
|
|
10697
|
-
idx > 0 && /* @__PURE__ */ jsx(View, { style: [
|
|
10605
|
+
const menuItems = /* @__PURE__ */ jsx(View, { style: styles65.menuInner, children: items.map((item, idx) => /* @__PURE__ */ jsxs(React38.Fragment, { children: [
|
|
10606
|
+
idx > 0 && /* @__PURE__ */ jsx(View, { style: [styles65.itemDivider, { backgroundColor: divider }] }),
|
|
10698
10607
|
/* @__PURE__ */ jsxs(
|
|
10699
10608
|
Pressable,
|
|
10700
10609
|
{
|
|
@@ -10704,20 +10613,20 @@ var ContextMenu = React38.memo(
|
|
|
10704
10613
|
item.onPress();
|
|
10705
10614
|
},
|
|
10706
10615
|
style: ({ pressed }) => [
|
|
10707
|
-
|
|
10616
|
+
styles65.menuItem,
|
|
10708
10617
|
pressed && { backgroundColor: pressedBg },
|
|
10709
|
-
item.isDisabled &&
|
|
10618
|
+
item.isDisabled && styles65.disabledItem
|
|
10710
10619
|
],
|
|
10711
10620
|
disabled: item.isDisabled,
|
|
10712
10621
|
accessibilityRole: "menuitem",
|
|
10713
10622
|
accessibilityLabel: item.label,
|
|
10714
10623
|
children: [
|
|
10715
|
-
item.icon != null && /* @__PURE__ */ jsx(View, { style:
|
|
10624
|
+
item.icon != null && /* @__PURE__ */ jsx(View, { style: styles65.menuItemIcon, children: item.icon }),
|
|
10716
10625
|
/* @__PURE__ */ jsx(
|
|
10717
10626
|
Text,
|
|
10718
10627
|
{
|
|
10719
10628
|
style: [
|
|
10720
|
-
|
|
10629
|
+
styles65.menuItemLabel,
|
|
10721
10630
|
{
|
|
10722
10631
|
color: item.isDestructive ? "#ef4444" : item.isDisabled ? subText : textBase
|
|
10723
10632
|
}
|
|
@@ -10764,14 +10673,14 @@ var ContextMenu = React38.memo(
|
|
|
10764
10673
|
Animated10.View,
|
|
10765
10674
|
{
|
|
10766
10675
|
style: [
|
|
10767
|
-
|
|
10676
|
+
styles65.menuCard,
|
|
10768
10677
|
{
|
|
10769
10678
|
left: position.x,
|
|
10770
10679
|
top: position.y
|
|
10771
10680
|
},
|
|
10772
10681
|
animatedStyle
|
|
10773
10682
|
],
|
|
10774
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 12, style:
|
|
10683
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 3, borderRadius: 12, style: styles65.glassMenu, children: menuItems }) : /* @__PURE__ */ jsx(View, { style: [styles65.solidMenu, { backgroundColor: cardBg }], children: menuItems })
|
|
10775
10684
|
}
|
|
10776
10685
|
)
|
|
10777
10686
|
]
|
|
@@ -10781,7 +10690,7 @@ var ContextMenu = React38.memo(
|
|
|
10781
10690
|
}
|
|
10782
10691
|
);
|
|
10783
10692
|
ContextMenu.displayName = "ContextMenu";
|
|
10784
|
-
var
|
|
10693
|
+
var styles65 = StyleSheet.create({
|
|
10785
10694
|
menuCard: {
|
|
10786
10695
|
position: "absolute",
|
|
10787
10696
|
width: MENU_WIDTH
|
|
@@ -10876,29 +10785,29 @@ var HoverCard = React38.memo(
|
|
|
10876
10785
|
Animated10.View,
|
|
10877
10786
|
{
|
|
10878
10787
|
style: [
|
|
10879
|
-
|
|
10788
|
+
styles66.card,
|
|
10880
10789
|
{ position: "absolute", left: position.left, top: position.top },
|
|
10881
10790
|
animatedStyle
|
|
10882
10791
|
],
|
|
10883
10792
|
pointerEvents: "box-none",
|
|
10884
|
-
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 12, style:
|
|
10793
|
+
children: glass ? /* @__PURE__ */ jsx(GlassView, { elevation: 2, borderRadius: 12, style: styles66.glassCard, children: content }) : /* @__PURE__ */ jsx(View, { style: [styles66.solidCard, { backgroundColor: cardBg }], children: content })
|
|
10885
10794
|
}
|
|
10886
10795
|
);
|
|
10887
10796
|
if (isWeb) {
|
|
10888
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
10797
|
+
return /* @__PURE__ */ jsxs(View, { style: styles66.triggerWrap, children: [
|
|
10889
10798
|
React38.createElement(
|
|
10890
10799
|
Pressable,
|
|
10891
10800
|
{
|
|
10892
10801
|
ref: triggerRef,
|
|
10893
10802
|
...webProps,
|
|
10894
|
-
style:
|
|
10803
|
+
style: styles66.triggerInner
|
|
10895
10804
|
},
|
|
10896
10805
|
trigger
|
|
10897
10806
|
),
|
|
10898
10807
|
visible && cardContent
|
|
10899
10808
|
] });
|
|
10900
10809
|
}
|
|
10901
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
10810
|
+
return /* @__PURE__ */ jsxs(View, { style: styles66.triggerWrap, children: [
|
|
10902
10811
|
/* @__PURE__ */ jsx(
|
|
10903
10812
|
Pressable,
|
|
10904
10813
|
{
|
|
@@ -10906,7 +10815,7 @@ var HoverCard = React38.memo(
|
|
|
10906
10815
|
onLongPress: show2,
|
|
10907
10816
|
onPressOut: hide,
|
|
10908
10817
|
delayLongPress: 500,
|
|
10909
|
-
style:
|
|
10818
|
+
style: styles66.triggerInner,
|
|
10910
10819
|
children: trigger
|
|
10911
10820
|
}
|
|
10912
10821
|
),
|
|
@@ -10936,7 +10845,7 @@ var HoverCard = React38.memo(
|
|
|
10936
10845
|
}
|
|
10937
10846
|
);
|
|
10938
10847
|
HoverCard.displayName = "HoverCard";
|
|
10939
|
-
var
|
|
10848
|
+
var styles66 = StyleSheet.create({
|
|
10940
10849
|
triggerWrap: {
|
|
10941
10850
|
alignSelf: "flex-start"
|
|
10942
10851
|
},
|
|
@@ -11155,7 +11064,7 @@ var MagneticPressable = React38.memo(
|
|
|
11155
11064
|
{
|
|
11156
11065
|
onPress,
|
|
11157
11066
|
accessibilityRole: "button",
|
|
11158
|
-
style:
|
|
11067
|
+
style: styles67.pressable,
|
|
11159
11068
|
children
|
|
11160
11069
|
}
|
|
11161
11070
|
)
|
|
@@ -11164,7 +11073,7 @@ var MagneticPressable = React38.memo(
|
|
|
11164
11073
|
}
|
|
11165
11074
|
);
|
|
11166
11075
|
MagneticPressable.displayName = "MagneticPressable";
|
|
11167
|
-
var
|
|
11076
|
+
var styles67 = StyleSheet.create({
|
|
11168
11077
|
pressable: {
|
|
11169
11078
|
alignSelf: "flex-start"
|
|
11170
11079
|
}
|
|
@@ -11183,14 +11092,14 @@ var BlurSurface = React38.memo(
|
|
|
11183
11092
|
elevation,
|
|
11184
11093
|
variant,
|
|
11185
11094
|
borderRadius,
|
|
11186
|
-
style: [
|
|
11095
|
+
style: [styles68.surface, style],
|
|
11187
11096
|
children
|
|
11188
11097
|
}
|
|
11189
11098
|
);
|
|
11190
11099
|
}
|
|
11191
11100
|
);
|
|
11192
11101
|
BlurSurface.displayName = "BlurSurface";
|
|
11193
|
-
var
|
|
11102
|
+
var styles68 = StyleSheet.create({
|
|
11194
11103
|
surface: {
|
|
11195
11104
|
// Intentionally minimal — this is a decoration primitive
|
|
11196
11105
|
}
|
|
@@ -11249,7 +11158,7 @@ var DynamicIsland = React38.memo(
|
|
|
11249
11158
|
if (activeState === "expanded") return expandedContent ?? null;
|
|
11250
11159
|
return compactContent ?? null;
|
|
11251
11160
|
};
|
|
11252
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
11161
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles69.wrapper, animatedStyle, style], children: /* @__PURE__ */ jsx(Pressable, { onPress: handlePress, style: styles69.pressable, children: /* @__PURE__ */ jsx(
|
|
11253
11162
|
GlassView,
|
|
11254
11163
|
{
|
|
11255
11164
|
elevation: 4,
|
|
@@ -11258,13 +11167,13 @@ var DynamicIsland = React38.memo(
|
|
|
11258
11167
|
borderRadius: 0,
|
|
11259
11168
|
border: false,
|
|
11260
11169
|
style: StyleSheet.absoluteFill,
|
|
11261
|
-
children: /* @__PURE__ */ jsx(View, { style:
|
|
11170
|
+
children: /* @__PURE__ */ jsx(View, { style: styles69.content, children: renderContent() })
|
|
11262
11171
|
}
|
|
11263
11172
|
) }) });
|
|
11264
11173
|
}
|
|
11265
11174
|
);
|
|
11266
11175
|
DynamicIsland.displayName = "DynamicIsland";
|
|
11267
|
-
var
|
|
11176
|
+
var styles69 = StyleSheet.create({
|
|
11268
11177
|
wrapper: {
|
|
11269
11178
|
alignSelf: "center",
|
|
11270
11179
|
overflow: "hidden"
|
|
@@ -11313,9 +11222,9 @@ var DockItemView = React38.memo(
|
|
|
11313
11222
|
onPressOut: handlers.onPressOut,
|
|
11314
11223
|
accessibilityLabel: item.label,
|
|
11315
11224
|
accessibilityRole: "button",
|
|
11316
|
-
children: /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
11317
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11318
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
11225
|
+
children: /* @__PURE__ */ jsxs(Animated10.View, { style: [styles70.itemContainer, pressStyle], children: [
|
|
11226
|
+
/* @__PURE__ */ jsx(View, { style: styles70.iconWrapper, children: item.icon }),
|
|
11227
|
+
/* @__PURE__ */ jsx(Text, { style: styles70.itemLabel, numberOfLines: 1, children: item.label })
|
|
11319
11228
|
] })
|
|
11320
11229
|
}
|
|
11321
11230
|
) });
|
|
@@ -11350,11 +11259,11 @@ var FloatingDock = React38.memo(
|
|
|
11350
11259
|
}
|
|
11351
11260
|
})
|
|
11352
11261
|
).current;
|
|
11353
|
-
const positionStyle = position === "top" ?
|
|
11262
|
+
const positionStyle = position === "top" ? styles70.positionTop : styles70.positionBottom;
|
|
11354
11263
|
const container = /* @__PURE__ */ jsx(
|
|
11355
11264
|
View,
|
|
11356
11265
|
{
|
|
11357
|
-
style: [
|
|
11266
|
+
style: [styles70.row, positionStyle, style],
|
|
11358
11267
|
...magnification ? panResponder.panHandlers : {},
|
|
11359
11268
|
children: items.map((item, index) => /* @__PURE__ */ jsx(
|
|
11360
11269
|
DockItemView,
|
|
@@ -11370,7 +11279,7 @@ var FloatingDock = React38.memo(
|
|
|
11370
11279
|
}
|
|
11371
11280
|
);
|
|
11372
11281
|
if (!glass) {
|
|
11373
|
-
return /* @__PURE__ */ jsx(View, { style: [
|
|
11282
|
+
return /* @__PURE__ */ jsx(View, { style: [styles70.pillFallback, positionStyle, style], children: container });
|
|
11374
11283
|
}
|
|
11375
11284
|
return /* @__PURE__ */ jsx(
|
|
11376
11285
|
GlassView,
|
|
@@ -11382,7 +11291,7 @@ var FloatingDock = React38.memo(
|
|
|
11382
11291
|
children: /* @__PURE__ */ jsx(
|
|
11383
11292
|
View,
|
|
11384
11293
|
{
|
|
11385
|
-
style:
|
|
11294
|
+
style: styles70.row,
|
|
11386
11295
|
...magnification ? panResponder.panHandlers : {},
|
|
11387
11296
|
children: items.map((item, index) => /* @__PURE__ */ jsx(
|
|
11388
11297
|
DockItemView,
|
|
@@ -11402,7 +11311,7 @@ var FloatingDock = React38.memo(
|
|
|
11402
11311
|
}
|
|
11403
11312
|
);
|
|
11404
11313
|
FloatingDock.displayName = "FloatingDock";
|
|
11405
|
-
var
|
|
11314
|
+
var styles70 = StyleSheet.create({
|
|
11406
11315
|
positionBottom: {
|
|
11407
11316
|
alignSelf: "center",
|
|
11408
11317
|
marginBottom: 16
|
|
@@ -11467,7 +11376,7 @@ var MorphingContainer = React38.memo(
|
|
|
11467
11376
|
overflow: "hidden"
|
|
11468
11377
|
}));
|
|
11469
11378
|
if (!glass) {
|
|
11470
|
-
return /* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
11379
|
+
return /* @__PURE__ */ jsx(Animated10.View, { style: [styles71.fallback, animatedStyle, style], children });
|
|
11471
11380
|
}
|
|
11472
11381
|
return /* @__PURE__ */ jsxs(Animated10.View, { style: [animatedStyle, style], children: [
|
|
11473
11382
|
/* @__PURE__ */ jsx(
|
|
@@ -11479,12 +11388,12 @@ var MorphingContainer = React38.memo(
|
|
|
11479
11388
|
style: StyleSheet.absoluteFill
|
|
11480
11389
|
}
|
|
11481
11390
|
),
|
|
11482
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11391
|
+
/* @__PURE__ */ jsx(View, { style: styles71.content, children })
|
|
11483
11392
|
] });
|
|
11484
11393
|
}
|
|
11485
11394
|
);
|
|
11486
11395
|
MorphingContainer.displayName = "MorphingContainer";
|
|
11487
|
-
var
|
|
11396
|
+
var styles71 = StyleSheet.create({
|
|
11488
11397
|
fallback: {
|
|
11489
11398
|
backgroundColor: "rgba(0,0,0,0.06)"
|
|
11490
11399
|
},
|
|
@@ -11522,7 +11431,7 @@ var GlassNavbar = React38.memo(
|
|
|
11522
11431
|
return { opacity };
|
|
11523
11432
|
});
|
|
11524
11433
|
const elevation = scrollY ? 2 : 0;
|
|
11525
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
11434
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles72.wrapper, style], children: [
|
|
11526
11435
|
/* @__PURE__ */ jsx(Animated10.View, { style: [StyleSheet.absoluteFill, glassOpacityStyle], children: /* @__PURE__ */ jsx(
|
|
11527
11436
|
GlassView,
|
|
11528
11437
|
{
|
|
@@ -11537,30 +11446,30 @@ var GlassNavbar = React38.memo(
|
|
|
11537
11446
|
Animated10.View,
|
|
11538
11447
|
{
|
|
11539
11448
|
style: [
|
|
11540
|
-
|
|
11449
|
+
styles72.border,
|
|
11541
11450
|
{ borderBottomColor: theme.colors.border },
|
|
11542
11451
|
borderAnimStyle
|
|
11543
11452
|
],
|
|
11544
11453
|
pointerEvents: "none"
|
|
11545
11454
|
}
|
|
11546
11455
|
),
|
|
11547
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
11548
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11549
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11456
|
+
/* @__PURE__ */ jsxs(View, { style: styles72.row, children: [
|
|
11457
|
+
/* @__PURE__ */ jsx(View, { style: styles72.side, children: leading }),
|
|
11458
|
+
/* @__PURE__ */ jsx(View, { style: styles72.titleContainer, children: title != null && /* @__PURE__ */ jsx(
|
|
11550
11459
|
Text,
|
|
11551
11460
|
{
|
|
11552
|
-
style: [
|
|
11461
|
+
style: [styles72.title, { color: theme.colors.text }],
|
|
11553
11462
|
numberOfLines: 1,
|
|
11554
11463
|
children: title
|
|
11555
11464
|
}
|
|
11556
11465
|
) }),
|
|
11557
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
11466
|
+
/* @__PURE__ */ jsx(View, { style: [styles72.side, styles72.trailingSide], children: trailing })
|
|
11558
11467
|
] })
|
|
11559
11468
|
] });
|
|
11560
11469
|
}
|
|
11561
11470
|
);
|
|
11562
11471
|
GlassNavbar.displayName = "GlassNavbar";
|
|
11563
|
-
var
|
|
11472
|
+
var styles72 = StyleSheet.create({
|
|
11564
11473
|
wrapper: {
|
|
11565
11474
|
height: NAVBAR_HEIGHT,
|
|
11566
11475
|
zIndex: 10
|
|
@@ -11621,16 +11530,16 @@ var SidebarItemView = React38.memo(
|
|
|
11621
11530
|
View,
|
|
11622
11531
|
{
|
|
11623
11532
|
style: [
|
|
11624
|
-
|
|
11533
|
+
styles73.itemRow,
|
|
11625
11534
|
{ backgroundColor: activeBackground }
|
|
11626
11535
|
],
|
|
11627
11536
|
children: [
|
|
11628
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
11629
|
-
/* @__PURE__ */ jsx(Animated10.View, { style: [
|
|
11537
|
+
/* @__PURE__ */ jsx(View, { style: [styles73.itemIcon, { tintColor: iconColor }], children: item.icon }),
|
|
11538
|
+
/* @__PURE__ */ jsx(Animated10.View, { style: [styles73.labelWrapper, labelStyle], children: /* @__PURE__ */ jsx(
|
|
11630
11539
|
Text,
|
|
11631
11540
|
{
|
|
11632
11541
|
style: [
|
|
11633
|
-
|
|
11542
|
+
styles73.itemLabel,
|
|
11634
11543
|
{
|
|
11635
11544
|
color: isActive ? theme.colors.primary : theme.colors.text,
|
|
11636
11545
|
fontWeight: isActive ? "600" : "400"
|
|
@@ -11640,7 +11549,7 @@ var SidebarItemView = React38.memo(
|
|
|
11640
11549
|
children: item.label
|
|
11641
11550
|
}
|
|
11642
11551
|
) }),
|
|
11643
|
-
item.badge != null && item.badge > 0 && /* @__PURE__ */ jsx(View, { style: [
|
|
11552
|
+
item.badge != null && item.badge > 0 && /* @__PURE__ */ jsx(View, { style: [styles73.badge, { backgroundColor: theme.colors.primary }], children: /* @__PURE__ */ jsx(Text, { style: styles73.badgeText, children: item.badge > 99 ? "99+" : item.badge }) })
|
|
11644
11553
|
]
|
|
11645
11554
|
}
|
|
11646
11555
|
)
|
|
@@ -11674,7 +11583,7 @@ var GlassSidebar = React38.memo(
|
|
|
11674
11583
|
},
|
|
11675
11584
|
[onItemPress]
|
|
11676
11585
|
);
|
|
11677
|
-
return /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
11586
|
+
return /* @__PURE__ */ jsxs(Animated10.View, { style: [styles73.wrapper, animatedStyle, style], children: [
|
|
11678
11587
|
/* @__PURE__ */ jsx(
|
|
11679
11588
|
GlassView,
|
|
11680
11589
|
{
|
|
@@ -11684,7 +11593,7 @@ var GlassSidebar = React38.memo(
|
|
|
11684
11593
|
style: StyleSheet.absoluteFill
|
|
11685
11594
|
}
|
|
11686
11595
|
),
|
|
11687
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11596
|
+
/* @__PURE__ */ jsx(View, { style: styles73.itemList, children: items.map((item) => /* @__PURE__ */ jsx(
|
|
11688
11597
|
SidebarItemView,
|
|
11689
11598
|
{
|
|
11690
11599
|
item,
|
|
@@ -11699,7 +11608,7 @@ var GlassSidebar = React38.memo(
|
|
|
11699
11608
|
}
|
|
11700
11609
|
);
|
|
11701
11610
|
GlassSidebar.displayName = "GlassSidebar";
|
|
11702
|
-
var
|
|
11611
|
+
var styles73 = StyleSheet.create({
|
|
11703
11612
|
wrapper: {
|
|
11704
11613
|
overflow: "hidden",
|
|
11705
11614
|
alignSelf: "stretch"
|
|
@@ -11806,7 +11715,7 @@ var InteractiveGlassSurface = React38.memo(
|
|
|
11806
11715
|
rotateX.value = withSpring(0, SPRING_SNAPPY);
|
|
11807
11716
|
rotateY.value = withSpring(0, SPRING_SNAPPY);
|
|
11808
11717
|
}
|
|
11809
|
-
return /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
11718
|
+
return /* @__PURE__ */ jsxs(Animated10.View, { style: [styles74.wrapper, animatedStyle, style], children: [
|
|
11810
11719
|
/* @__PURE__ */ jsx(View, { style: StyleSheet.absoluteFill, onLayout: handleLayout, ...responderHandlers }),
|
|
11811
11720
|
/* @__PURE__ */ jsx(
|
|
11812
11721
|
GlassView,
|
|
@@ -11814,7 +11723,7 @@ var InteractiveGlassSurface = React38.memo(
|
|
|
11814
11723
|
elevation,
|
|
11815
11724
|
variant: "surface",
|
|
11816
11725
|
borderRadius: 20,
|
|
11817
|
-
style:
|
|
11726
|
+
style: styles74.glass,
|
|
11818
11727
|
children
|
|
11819
11728
|
}
|
|
11820
11729
|
)
|
|
@@ -11822,7 +11731,7 @@ var InteractiveGlassSurface = React38.memo(
|
|
|
11822
11731
|
}
|
|
11823
11732
|
);
|
|
11824
11733
|
InteractiveGlassSurface.displayName = "InteractiveGlassSurface";
|
|
11825
|
-
var
|
|
11734
|
+
var styles74 = StyleSheet.create({
|
|
11826
11735
|
wrapper: {
|
|
11827
11736
|
// perspective is set via transform in animatedStyle
|
|
11828
11737
|
},
|
|
@@ -11903,7 +11812,7 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11903
11812
|
overflow: "hidden"
|
|
11904
11813
|
}));
|
|
11905
11814
|
const clampedProgress = Math.max(0, Math.min(1, progress));
|
|
11906
|
-
return /* @__PURE__ */ jsxs(Animated10.View, { style: [
|
|
11815
|
+
return /* @__PURE__ */ jsxs(Animated10.View, { style: [styles75.wrapper, animatedStyle, style], children: [
|
|
11907
11816
|
/* @__PURE__ */ jsx(
|
|
11908
11817
|
GlassView,
|
|
11909
11818
|
{
|
|
@@ -11913,22 +11822,22 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11913
11822
|
style: StyleSheet.absoluteFill
|
|
11914
11823
|
}
|
|
11915
11824
|
),
|
|
11916
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
11825
|
+
/* @__PURE__ */ jsx(View, { style: styles75.dragArea, ...panResponder.panHandlers, children: /* @__PURE__ */ jsx(View, { style: [styles75.dragHandle, { backgroundColor: theme.colors.border }] }) }),
|
|
11917
11826
|
activeState === "mini" && /* @__PURE__ */ jsxs(
|
|
11918
11827
|
Pressable,
|
|
11919
11828
|
{
|
|
11920
|
-
style:
|
|
11829
|
+
style: styles75.miniBar,
|
|
11921
11830
|
onPress: () => setActiveState("expanded"),
|
|
11922
11831
|
accessibilityRole: "button",
|
|
11923
11832
|
accessibilityLabel: "Open media player",
|
|
11924
11833
|
children: [
|
|
11925
|
-
artwork != null && /* @__PURE__ */ jsx(View, { style:
|
|
11926
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
11927
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
11834
|
+
artwork != null && /* @__PURE__ */ jsx(View, { style: styles75.miniArtwork, children: artwork }),
|
|
11835
|
+
/* @__PURE__ */ jsxs(View, { style: styles75.miniText, children: [
|
|
11836
|
+
/* @__PURE__ */ jsx(Text, { style: [styles75.miniTitle, { color: theme.colors.text }], numberOfLines: 1, children: title ?? "Not playing" }),
|
|
11928
11837
|
subtitle != null && /* @__PURE__ */ jsx(
|
|
11929
11838
|
Text,
|
|
11930
11839
|
{
|
|
11931
|
-
style: [
|
|
11840
|
+
style: [styles75.miniSubtitle, { color: theme.colors.textSecondary }],
|
|
11932
11841
|
numberOfLines: 1,
|
|
11933
11842
|
children: subtitle
|
|
11934
11843
|
}
|
|
@@ -11945,13 +11854,13 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11945
11854
|
]
|
|
11946
11855
|
}
|
|
11947
11856
|
),
|
|
11948
|
-
activeState === "expanded" && /* @__PURE__ */ jsxs(View, { style:
|
|
11949
|
-
artwork != null && /* @__PURE__ */ jsx(View, { style:
|
|
11950
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
11857
|
+
activeState === "expanded" && /* @__PURE__ */ jsxs(View, { style: styles75.expanded, children: [
|
|
11858
|
+
artwork != null && /* @__PURE__ */ jsx(View, { style: styles75.expandedArtwork, children: artwork }),
|
|
11859
|
+
/* @__PURE__ */ jsxs(View, { style: styles75.expandedText, children: [
|
|
11951
11860
|
/* @__PURE__ */ jsx(
|
|
11952
11861
|
Text,
|
|
11953
11862
|
{
|
|
11954
|
-
style: [
|
|
11863
|
+
style: [styles75.expandedTitle, { color: theme.colors.text }],
|
|
11955
11864
|
numberOfLines: 1,
|
|
11956
11865
|
children: title ?? "Not playing"
|
|
11957
11866
|
}
|
|
@@ -11959,17 +11868,17 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11959
11868
|
subtitle != null && /* @__PURE__ */ jsx(
|
|
11960
11869
|
Text,
|
|
11961
11870
|
{
|
|
11962
|
-
style: [
|
|
11871
|
+
style: [styles75.expandedSubtitle, { color: theme.colors.textSecondary }],
|
|
11963
11872
|
numberOfLines: 1,
|
|
11964
11873
|
children: subtitle
|
|
11965
11874
|
}
|
|
11966
11875
|
)
|
|
11967
11876
|
] }),
|
|
11968
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
11877
|
+
/* @__PURE__ */ jsx(View, { style: [styles75.progressTrack, { backgroundColor: theme.colors.border }], children: /* @__PURE__ */ jsx(
|
|
11969
11878
|
View,
|
|
11970
11879
|
{
|
|
11971
11880
|
style: [
|
|
11972
|
-
|
|
11881
|
+
styles75.progressFill,
|
|
11973
11882
|
{
|
|
11974
11883
|
backgroundColor: theme.colors.primary,
|
|
11975
11884
|
width: `${clampedProgress * 100}%`
|
|
@@ -11977,7 +11886,7 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11977
11886
|
]
|
|
11978
11887
|
}
|
|
11979
11888
|
) }),
|
|
11980
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
11889
|
+
/* @__PURE__ */ jsxs(View, { style: styles75.controls, children: [
|
|
11981
11890
|
/* @__PURE__ */ jsx(ControlButton, { label: "\u23EE", onPress: onPrevious, size: 28 }),
|
|
11982
11891
|
/* @__PURE__ */ jsx(ControlButton, { label: isPlaying ? "\u23F8" : "\u25B6", onPress: onPlayPause, size: 36 }),
|
|
11983
11892
|
/* @__PURE__ */ jsx(ControlButton, { label: "\u23ED", onPress: onNext, size: 28 })
|
|
@@ -11986,10 +11895,10 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11986
11895
|
Pressable,
|
|
11987
11896
|
{
|
|
11988
11897
|
onPress: () => setActiveState("mini"),
|
|
11989
|
-
style:
|
|
11898
|
+
style: styles75.collapseBtn,
|
|
11990
11899
|
accessibilityRole: "button",
|
|
11991
11900
|
accessibilityLabel: "Collapse media player",
|
|
11992
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
11901
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles75.collapseLabel, { color: theme.colors.textSecondary }], children: "\u2228" })
|
|
11993
11902
|
}
|
|
11994
11903
|
)
|
|
11995
11904
|
] })
|
|
@@ -11997,7 +11906,7 @@ var FloatingMediaPanel = React38.memo(
|
|
|
11997
11906
|
}
|
|
11998
11907
|
);
|
|
11999
11908
|
FloatingMediaPanel.displayName = "FloatingMediaPanel";
|
|
12000
|
-
var
|
|
11909
|
+
var styles75 = StyleSheet.create({
|
|
12001
11910
|
wrapper: {
|
|
12002
11911
|
borderRadius: 20,
|
|
12003
11912
|
overflow: "hidden"
|
|
@@ -12094,5 +12003,5 @@ var styles76 = StyleSheet.create({
|
|
|
12094
12003
|
});
|
|
12095
12004
|
|
|
12096
12005
|
export { Accordion, ActionSheet, Alert, AspectRatio, Avatar, Badge, Banner, BlurSurface, BlurTransition, BottomNavigation, BottomSheet, Box, Breadcrumb, Button, Caption, Carousel, Center, Checkbox, Chip2 as Chip, Code, CommandPalette, Container, ContextMenu, DatePicker, Dialog, Divider, Drawer, DynamicIsland, EmptyState, FAB, Fade, Flex, FloatingDock, FloatingMediaPanel, FormControl, GlassNavbar, GlassSidebar, GradientText, Grid, HStack, Heading, HoverCard, IconButton, InteractiveGlassSurface, Link, LiquidCard, List, ListItem, MagneticPressable, Modal9 as Modal, MorphingContainer, MultiSelect, OTPInput, Paragraph, PasswordInput, Popover, ProgressBar, Radio, RadioGroup, RangeSlider, ReactnativelyProvider, Scale, SearchBar, SegmentedTabs, Select, Sidebar, Skeleton, Slide, Slider, SnackbarProvider, Spacer, Spinner, Stack, StatsCard, Stepper, Switch, Table, Tabs, Text3 as Text, TextArea, TextInput, TimePicker, Timeline, Toast, ToastProvider, Tooltip, TopNavigation, VStack, snackbar, toast, useFormControl };
|
|
12097
|
-
//# sourceMappingURL=chunk-
|
|
12098
|
-
//# sourceMappingURL=chunk-
|
|
12006
|
+
//# sourceMappingURL=chunk-NMNPWEDQ.mjs.map
|
|
12007
|
+
//# sourceMappingURL=chunk-NMNPWEDQ.mjs.map
|