@ledgerhq/native-ui 0.25.1-nightly.0 → 0.25.2-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.
@@ -5,7 +5,7 @@ export type CardProps = TouchableOpacityProps & {
5
5
  title?: string;
6
6
  onPressDismiss?: () => void;
7
7
  LeftElement?: JSX.Element;
8
- hideLeftElementContainer?: boolean;
8
+ LeftElementNotCirlcled?: boolean;
9
9
  typeOfRightIcon: "arrow" | "close";
10
10
  };
11
11
  type CloseProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/BannerCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAMvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,eAAe,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,2HAUrB,CAAC;AAEF,eAAO,MAAM,cAAc,2HAQ1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0KAM5B,CAAC;AAEF,eAAO,MAAM,WAAW,uBAAwB,UAAU,sBAOzD,CAAC;AAsCF,QAAA,MAAM,UAAU,UAAW,SAAS,KAAG,MAAM,YAE5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Cards/BannerCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAMvE,MAAM,MAAM,SAAS,GAAG,qBAAqB,GAAG;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,2HAUrB,CAAC;AAEF,eAAO,MAAM,cAAc,2HAQ1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0KAM5B,CAAC;AAEF,eAAO,MAAM,WAAW,uBAAwB,UAAU,sBAOzD,CAAC;AAsCF,QAAA,MAAM,UAAU,UAAW,SAAS,KAAG,MAAM,YAE5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -37,9 +37,9 @@ export const CloseButton = ({ onPressDismiss }) => {
37
37
  React.createElement(CloseMedium, { size: 14, color: colors.neutral.c100 })));
38
38
  };
39
39
  const CardContainer = (props) => {
40
- const { onPressDismiss, LeftElement, hideLeftElementContainer, title, typeOfRightIcon } = props;
40
+ const { onPressDismiss, LeftElement, LeftElementNotCirlcled, title, typeOfRightIcon } = props;
41
41
  return (React.createElement(Container, Object.assign({}, props),
42
- hideLeftElementContainer ? (React.createElement(Flex, { borderRadius: 50, height: 40, width: 40, alignItems: "center", justifyContent: "center", bg: "opacityDefault.c05" }, LeftElement)) : (LeftElement),
42
+ LeftElementNotCirlcled ? (LeftElement) : (React.createElement(Flex, { borderRadius: 50, height: 40, width: 40, alignItems: "center", justifyContent: "center", bg: "opacityDefault.c05" }, LeftElement)),
43
43
  React.createElement(Flex, { flexShrink: 1 },
44
44
  React.createElement(Text, { mx: 4, variant: "large", fontWeight: "medium", numberOfLines: 2, color: "neutral.c100" }, title)),
45
45
  typeOfRightIcon === "close" ? (React.createElement(CloseButton, { onPressDismiss: onPressDismiss })) : (React.createElement(ChevronContainer, null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.25.1-nightly.0",
3
+ "version": "0.25.2-nightly.0",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,16 +40,16 @@
40
40
  "react-native-modal": "^13.0.0",
41
41
  "rn-range-slider": "2.1.1",
42
42
  "styled-system": "^5.1.5",
43
- "@ledgerhq/crypto-icons-ui": "^1.5.1-nightly.0",
44
- "@ledgerhq/icons-ui": "^0.8.0",
43
+ "@ledgerhq/crypto-icons-ui": "^1.5.1",
44
+ "@ledgerhq/icons-ui": "^0.8.1-nightly.0",
45
45
  "@ledgerhq/ui-shared": "^0.2.2"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=17",
49
49
  "react-native": ">=0.64.0",
50
50
  "react-native-reanimated": "3.8.1",
51
- "styled-components": "^5.3.3",
52
- "react-native-svg": ">=12.1.1"
51
+ "react-native-svg": ">=12.1.1",
52
+ "styled-components": "^5.3.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/core": "^7.24.3",
@@ -115,24 +115,24 @@
115
115
  "expo-modules-core": "1.5.11",
116
116
  "fs-extra": "^10.0.1",
117
117
  "glob": "^7.2.0",
118
- "metro": "^0.80.5",
119
- "metro-config": "^0.80.5",
120
- "metro-core": "^0.80.5",
118
+ "metro": "^0.80.12",
119
+ "metro-config": "^0.80.12",
120
+ "metro-core": "^0.80.12",
121
121
  "metro-minify-uglify": "^0.76.8",
122
122
  "metro-react-native-babel-preset": "^0.77.0",
123
123
  "metro-react-native-babel-transformer": "^0.77.0",
124
- "metro-resolver": "^0.80.5",
125
- "metro-runtime": "^0.80.5",
126
- "metro-source-map": "^0.80.5",
127
- "metro-transform-worker": "^0.80.5",
124
+ "metro-resolver": "^0.80.12",
125
+ "metro-runtime": "^0.80.12",
126
+ "metro-source-map": "^0.80.12",
127
+ "metro-transform-worker": "^0.80.12",
128
128
  "minimatch": "^5.1.0",
129
129
  "prop-types": "^15.8.1",
130
130
  "react": "^18.2.0",
131
131
  "react-dom": "^18.2.0",
132
132
  "react-is": "^18",
133
- "react-native": "0.73.6",
133
+ "react-native": "0.74.6",
134
134
  "react-native-reanimated": "3.8.1",
135
- "react-native-safe-area-context": "^4.5.0",
135
+ "react-native-safe-area-context": "^4.10.9",
136
136
  "react-native-svg": "13.14.0",
137
137
  "react-native-web": "~0.19.6",
138
138
  "regenerator-runtime": "^0.14.0",