@ledgerhq/native-ui 0.35.0-nightly.1 → 0.36.0-nightly.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,7 @@ export declare const InputRenderRightContainer: import("styled-components").Styl
94
94
  flexDirection: string;
95
95
  paddingLeft: string;
96
96
  }, "alignItems" | "flexDirection" | "paddingLeft">;
97
- declare function Input<T = string>(props: InputProps<T>, ref?: any): JSX.Element;
97
+ declare function Input<T = string>(props: InputProps<T>, ref?: React.Ref<unknown>): JSX.Element;
98
98
  declare const _default: <T>(props: InputProps<T> & {
99
99
  ref?: React.ForwardedRef<TextInput> | null;
100
100
  }) => ReturnType<typeof Input>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/Input/BaseInput/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,cAAc,EAEd,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IAC7E;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC;IACT;;OAEG;IACH,UAAU,CAAC,EACP,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GACxF,KAAK,CAAC,SAAS,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EACR,CAAC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C;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACvD;;OAEG;IACH,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC;;OAEG;IACH,yBAAyB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAsEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;mDAIhC,CAAC;AAEN,eAAO,MAAM,yBAAyB;;;;;;;;;;;kDAIjC,CAAC;AAON,iBAAS,KAAK,CAAC,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CA2FtF;mCAGQ,WAAW,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,SAAS,CAAC,GAAG,IAAI,CAAA;CAAE,KAClE,WAAW,YAAY,CAAC;AAF7B,wBAE8B"}
@@ -76,9 +76,10 @@ export const InputRenderRightContainer = styled(FlexBox).attrs(() => ({
76
76
  // Yes, this is dirty. If you can figure out a better way please change the code :).
77
77
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
78
78
  const IDENTITY = (_) => _;
79
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
79
80
  function Input(props, ref) {
80
81
  const { value, onChange, onChangeText, onChangeEvent, disabled, error, renderLeft, renderRight, serialize = IDENTITY, deserialize = IDENTITY, containerStyle, hasBorder = true, inputContainerStyle, baseInputContainerStyle, inputErrorContainerStyles, autoFocus, onFocus, onBlur, color, inputErrorColor = "error.c50", showErrorIcon = false, ...textInputProps } = props;
81
- const inputRef = useRef();
82
+ const inputRef = useRef(null);
82
83
  useImperativeHandle(ref, () => inputRef.current, [inputRef]);
83
84
  const inputValue = useMemo(() => serialize(value), [serialize, value]);
84
85
  const handleChange = useCallback((value) => {
@@ -7,7 +7,7 @@ declare const ScrollListContainer: React.ForwardRefExoticComponent<import("style
7
7
  display?: string | undefined;
8
8
  position?: string | undefined;
9
9
  maxHeight?: string | number | undefined;
10
- } & Omit<FlatListProps<any>, "data" | "onScroll" | "renderItem"> & {
10
+ } & Omit<FlatListProps<unknown>, "data" | "onScroll" | "renderItem"> & {
11
11
  children: React.ReactNode;
12
12
  onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined;
13
13
  horizontal?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ScrollListContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EACjB,QAAQ,EACT,MAAM,cAAc,CAAC;AAkBtB,QAAA,MAAM,mBAAmB;;;;;;;;cATX,MAAM,SAAS;wBACN,qBAAqB,iBAAiB,CAAC,KAAK,IAAI;;uCAqBtE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ScrollListContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EACjB,QAAQ,EACT,MAAM,cAAc,CAAC;AAmBtB,QAAA,MAAM,mBAAmB;;;;;;;;cATX,MAAM,SAAS;wBACN,qBAAqB,iBAAiB,CAAC,KAAK,IAAI;;uCAqBtE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -3,6 +3,7 @@ import { View, } from "react-native";
3
3
  import Animated from "react-native-reanimated";
4
4
  import baseStyled from "../../styled";
5
5
  const StyledFlatList = baseStyled.FlatList ``;
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
7
  const AnimatedFlatList = Animated.createAnimatedComponent(StyledFlatList);
7
8
  /*
8
9
  ** This Layout is a wrapper for FlatList that accepts
@@ -2,10 +2,11 @@
2
2
  import React from "react";
3
3
  import Svg from "react-native-svg";
4
4
  import { SizeProps } from "styled-system";
5
- declare const Loader: import("styled-components").StyledComponent<typeof Svg, import("styled-components").DefaultTheme, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>>, never>;
6
5
  export type Props = React.ComponentProps<typeof Loader> & {
7
6
  color?: string;
7
+ mock?: boolean;
8
8
  };
9
9
  export default function InfiniteLoader({ size, color, mock, testID, ...extraProps }: Props): JSX.Element;
10
+ declare const Loader: import("styled-components").StyledComponent<typeof Svg, import("styled-components").DefaultTheme, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>>, never>;
10
11
  export {};
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/InfiniteLoader/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,GAA+C,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAgB,SAAS,EAAE,MAAM,eAAe,CAAC;AAgBxD,QAAA,MAAM,MAAM,2RAIX,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAS,EACT,KAAqB,EACrB,IAAY,EACZ,MAAW,EACX,GAAG,UAAU,EACd,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAmFrB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loader/InfiniteLoader/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,GAAwD,MAAM,kBAAkB,CAAC;AAExF,OAAO,EAAgB,SAAS,EAAE,MAAM,eAAe,CAAC;AAiBxD,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAS,EACT,KAAqB,EACrB,IAAY,EACZ,MAAW,EACX,GAAG,UAAU,EACd,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAuFrB;AAED,QAAA,MAAM,MAAM,2RAQX,CAAC"}
@@ -1,48 +1,54 @@
1
1
  import React, { useEffect } from "react";
2
- import Svg, { LinearGradient, Stop, Mask, Path, Rect } from "react-native-svg";
2
+ import Svg, { LinearGradient, Stop, Mask, Path, Rect, G, Defs } from "react-native-svg";
3
3
  import styled from "styled-components/native";
4
4
  import { system, size } from "styled-system";
5
- import Animated, { useAnimatedStyle, useSharedValue, withRepeat, withTiming, cancelAnimation, Easing, } from "react-native-reanimated";
5
+ import Animated, { useSharedValue, useAnimatedStyle, withRepeat, withTiming, cancelAnimation, Easing, } from "react-native-reanimated";
6
6
  const strokeSystem = system({
7
7
  stroke: {
8
8
  property: "stroke",
9
9
  scale: "colors",
10
10
  },
11
11
  });
12
- const Loader = styled(Svg).attrs((props) => ({
13
- ...strokeSystem(props),
14
- })) `
15
- ${size}
16
- `;
17
12
  export default function InfiniteLoader({ size = 38, color = "primary.c50", mock = false, testID = "", ...extraProps }) {
18
13
  const rotation = useSharedValue(0);
19
- const animatedStyles = useAnimatedStyle(() => {
20
- return {
21
- transform: [
22
- {
23
- rotateZ: `${rotation.value}deg`,
24
- },
25
- ],
26
- };
27
- }, [rotation.value]);
14
+ // Start the rotation animation if not in mock mode
28
15
  useEffect(() => {
29
- rotation.value = withRepeat(withTiming(360, {
30
- duration: 1000,
31
- easing: Easing.linear,
32
- }), mock ? 1 : -1);
16
+ if (!mock) {
17
+ rotation.value = withRepeat(withTiming(360, {
18
+ duration: 1000,
19
+ easing: Easing.linear,
20
+ }), mock ? 1 : -1, false);
21
+ }
33
22
  return () => cancelAnimation(rotation);
34
- // eslint-disable-next-line react-hooks/exhaustive-deps
35
- }, []);
36
- return (React.createElement(Animated.View, { style: [{ display: "flex", justifyContent: "center", alignItems: "center" }, animatedStyles], testID: testID },
23
+ }, [mock, rotation.value]);
24
+ // Animated style for rotation
25
+ const animatedStyle = useAnimatedStyle(() => ({
26
+ transform: [{ rotate: `${rotation.value}deg` }],
27
+ }));
28
+ return (React.createElement(Animated.View, { style: [{ display: "flex", justifyContent: "center", alignItems: "center" }, animatedStyle], testID: testID },
37
29
  React.createElement(Loader, { size: size, stroke: color, viewBox: "0 0 38 38", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...extraProps },
38
- React.createElement(LinearGradient, { id: "gradient-start", gradientUnits: "userSpaceOnUse", gradientTransform: "rotate(-20)" },
39
- React.createElement(Stop, { offset: 0, stopColor: "white", stopOpacity: 0.5 }),
40
- React.createElement(Stop, { offset: 1, stopColor: "white", stopOpacity: 1 })),
41
- React.createElement(LinearGradient, { id: "gradient-end", gradientUnits: "userSpaceOnUse", gradientTransform: "rotate(-20)" },
42
- React.createElement(Stop, { offset: 0, stopColor: "white", stopOpacity: 0.5 }),
43
- React.createElement(Stop, { offset: 1, stopColor: "white", stopOpacity: 0 })),
44
- React.createElement(Mask, { id: "gradient-mask" },
45
- React.createElement(Rect, { x: 0, y: -4, width: 44, height: 22, strokeWidth: 0, fill: "url(#gradient-start)", transform: "rotate(10)" }),
46
- React.createElement(Rect, { x: 0, y: 18, width: 44, height: 21, strokeWidth: 0, fill: "url(#gradient-end)", transform: "rotate(10)" })),
47
- React.createElement(Path, { d: "M34.8807 20.9499C35.3608 17.0398 34.3815 13.09 32.1304 9.85712C29.8793 6.6242 26.5146 4.33541 22.6808 3.42914C18.847 2.52287 14.8136 3.06283 11.3532 4.94559C7.89277 6.82836 5.24858 9.92158 3.92708 13.6328C2.60558 17.344 2.69968 21.4123 4.19135 25.0584C5.68302 28.7045 8.4674 31.6722 12.0112 33.3929C15.5549 35.1137 19.609 35.4666 23.3968 34.384C27.1846 33.3015 30.4398 30.8596 32.5391 27.526", strokeWidth: 6, strokeLinecap: "round", strokeLinejoin: "round", mask: "url(#gradient-mask)" }))));
30
+ React.createElement(Defs, null,
31
+ React.createElement(LinearGradient, { id: "gradient-start", gradientUnits: "userSpaceOnUse", gradientTransform: "rotate(-20)" },
32
+ React.createElement(Stop, { offset: 0, stopColor: "white", stopOpacity: 0.5 }),
33
+ React.createElement(Stop, { offset: 1, stopColor: "white", stopOpacity: 1 })),
34
+ React.createElement(LinearGradient, { id: "gradient-end", gradientUnits: "userSpaceOnUse", gradientTransform: "rotate(-20)" },
35
+ React.createElement(Stop, { offset: 0, stopColor: "white", stopOpacity: 0.5 }),
36
+ React.createElement(Stop, { offset: 1, stopColor: "white", stopOpacity: 0 })),
37
+ React.createElement(Mask, { id: "gradient-mask", x: "0", y: "0", width: "44", height: "44", maskUnits: "userSpaceOnUse" },
38
+ React.createElement(Rect, { x: 0, y: -4, width: 44, height: 22, strokeWidth: 0, fill: "url(#gradient-start)", transform: "rotate(10)" }),
39
+ React.createElement(Rect, { x: 0, y: 18, width: 44, height: 21, strokeWidth: 0, fill: "url(#gradient-end)", transform: "rotate(10)" }))),
40
+ React.createElement(G, { mask: "url(#gradient-mask)" },
41
+ React.createElement(StyledPath, { d: "M34.8807 20.9499C35.3608 17.0398 34.3815 13.09 32.1304 9.85712C29.8793 6.6242 26.5146 4.33541 22.6808 3.42914C18.847 2.52287 14.8136 3.06283 11.3532 4.94559C7.89277 6.82836 5.24858 9.92158 3.92708 13.6328C2.60558 17.344 2.69968 21.4123 4.19135 25.0584C5.68302 28.7045 8.4674 31.6722 12.0112 33.3929C15.5549 35.1137 19.609 35.4666 23.3968 34.384C27.1846 33.3015 30.4398 30.8596 32.5391 27.526", strokeWidth: 6, strokeLinecap: "round", strokeLinejoin: "round", stroke: color, fill: "none" })))));
48
42
  }
43
+ const Loader = styled(Svg).attrs((props) => ({
44
+ ...strokeSystem(props),
45
+ width: props.size,
46
+ height: props.size,
47
+ })) `
48
+ ${size}
49
+ width: ${(props) => props.size}px;
50
+ height: ${(props) => props.size}px;
51
+ `;
52
+ const StyledPath = styled(Path).attrs((props) => ({
53
+ ...strokeSystem(props),
54
+ })) ``;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.35.0-nightly.1",
3
+ "version": "0.36.0-nightly.0",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,40 +36,41 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "color": "^4.0.0",
39
- "react-native-modal": "^13.0.0",
39
+ "react-native-modal": "14.0.0-rc.1",
40
40
  "rn-range-slider": "2.1.1",
41
41
  "styled-system": "^5.1.5",
42
- "@ledgerhq/crypto-icons-ui": "^1.14.0",
43
- "@ledgerhq/icons-ui": "^0.10.0",
42
+ "@ledgerhq/crypto-icons-ui": "^1.15.0-nightly.0",
43
+ "@ledgerhq/icons-ui": "^0.11.0-nightly.0",
44
44
  "@ledgerhq/ui-shared": "^0.3.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": ">=17",
48
48
  "react-native": ">=0.64.0",
49
- "react-native-reanimated": "3.16.1",
49
+ "react-native-reanimated": "3.16.7",
50
50
  "react-native-svg": ">=12.1.1",
51
51
  "styled-components": "^5.3.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.24.3",
55
- "@babel/generator": "^7.17.2",
56
- "@babel/plugin-proposal-class-properties": "^7.13.0",
57
- "@babel/plugin-proposal-export-namespace-from": "^7.16.0",
58
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
59
- "@babel/plugin-proposal-optional-chaining": "^7.21.0",
60
- "@babel/plugin-transform-arrow-functions": "^7.24.1",
61
- "@babel/plugin-transform-shorthand-properties": "^7.24.1",
62
- "@babel/plugin-transform-template-literals": "^7.24.1",
63
- "@babel/preset-env": "^7.15.8",
64
- "@babel/runtime": "^7.17.2",
54
+ "@babel/core": "7.27.1",
55
+ "@babel/generator": "7.27.1",
56
+ "@babel/plugin-transform-arrow-functions": "7.27.1",
57
+ "@babel/plugin-transform-class-properties": "7.27.1",
58
+ "@babel/plugin-transform-export-namespace-from": "7.27.1",
59
+ "@babel/plugin-transform-nullish-coalescing-operator": "7.27.1",
60
+ "@babel/plugin-transform-optional-chaining": "7.27.1",
61
+ "@babel/plugin-transform-shorthand-properties": "7.27.1",
62
+ "@babel/plugin-transform-template-literals": "7.27.1",
63
+ "@babel/preset-env": "7.27.1",
64
+ "@babel/runtime": "7.27.1",
65
65
  "@emotion/core": "^11.0.0",
66
66
  "@emotion/native": "^11.0.0",
67
- "@expo/metro-config": "^0.10.7",
68
- "@expo/webpack-config": "^18.1.2",
69
- "@react-native-async-storage/async-storage": "1.17.12",
67
+ "@expo/metro-config": "^0.19.11",
68
+ "@expo/webpack-config": "19.0.1",
69
+ "@react-native-async-storage/async-storage": "2.1.2",
70
70
  "@react-native-community/cli-server-api": "^7.0.3",
71
71
  "@react-native-community/datetimepicker": "6.7.5",
72
72
  "@react-native-community/slider": "^4.4.2",
73
+ "@react-native/assets-registry": "0.77.2",
73
74
  "@storybook/addon-actions": "^7.6.18",
74
75
  "@storybook/addon-controls": "^7.6.18",
75
76
  "@storybook/addon-essentials": "^7.6.18",
@@ -97,42 +98,43 @@
97
98
  "@types/styled-components-react-native": "^5.1.3",
98
99
  "@types/styled-system": "^5.1.13",
99
100
  "assert": "^2.0.0",
100
- "babel-loader": "^8.2.2",
101
- "babel-plugin-module-resolver": "^4.1.0",
101
+ "babel-loader": "10.0.0",
102
+ "babel-plugin-module-resolver": "5.0.2",
102
103
  "babel-plugin-react-docgen-typescript": "^1.5.1",
103
104
  "babel-plugin-react-native-web": "^0.19.0",
104
- "babel-preset-expo": "^9.5.0",
105
+ "babel-preset-expo": "13.1.11",
106
+ "buffer": "6.0.3",
105
107
  "camelcase": "^6.2.1",
106
108
  "csstype": "^3.0.11",
107
109
  "eslint-plugin-react": "^7.33.2",
108
110
  "eslint-plugin-react-hooks": "^4.6.0",
109
111
  "eslint-plugin-storybook": "^0.6.15",
110
- "expo": "51.0.39",
112
+ "expo": "52.0.46",
111
113
  "expo-asset": "8.10.1",
112
- "expo-constants": "^14.4.2",
113
- "expo-font": "^11.4.0",
114
- "expo-modules-core": "1.12.26",
114
+ "expo-constants": "17.1.6",
115
+ "expo-font": "13.0.4",
116
+ "expo-modules-core": "2.2.3",
115
117
  "fs-extra": "^10.0.1",
116
118
  "glob": "^7.2.0",
117
- "metro": "^0.80.12",
118
- "metro-config": "^0.80.12",
119
- "metro-core": "^0.80.12",
119
+ "metro": "0.81.5",
120
+ "metro-config": "0.81.5",
121
+ "metro-core": "0.81.5",
120
122
  "metro-minify-uglify": "^0.76.8",
121
- "metro-react-native-babel-preset": "^0.77.0",
122
- "metro-react-native-babel-transformer": "^0.77.0",
123
- "metro-resolver": "^0.80.12",
124
- "metro-runtime": "^0.80.12",
125
- "metro-source-map": "^0.80.12",
126
- "metro-transform-worker": "^0.80.12",
123
+ "metro-react-native-babel-preset": "0.77.0",
124
+ "metro-react-native-babel-transformer": "0.77.0",
125
+ "metro-resolver": "0.81.5",
126
+ "metro-runtime": "0.81.5",
127
+ "metro-source-map": "0.81.5",
128
+ "metro-transform-worker": "0.81.5",
127
129
  "minimatch": "^5.1.0",
128
130
  "prop-types": "^15.8.1",
129
131
  "react": "^18.2.0",
130
132
  "react-dom": "^18.2.0",
131
133
  "react-is": "^18",
132
- "react-native": "0.75.4",
133
- "react-native-reanimated": "3.16.1",
134
- "react-native-safe-area-context": "^4.10.9",
135
- "react-native-svg": "13.14.0",
134
+ "react-native": "0.77.2",
135
+ "react-native-reanimated": "3.16.7",
136
+ "react-native-safe-area-context": "5.1.0",
137
+ "react-native-svg": "15.11.2",
136
138
  "react-native-web": "~0.19.6",
137
139
  "regenerator-runtime": "^0.14.0",
138
140
  "rimraf": "^4.4.1",
@@ -165,6 +167,6 @@
165
167
  "typecheck": "tsc --noEmit -p tsconfig.json",
166
168
  "test": "exit 0",
167
169
  "web": "expo start --web",
168
- "unimported": "unimported"
170
+ "unimported": "pnpm knip --directory ../../../.. -W libs/ui/packages/native"
169
171
  }
170
172
  }