@ledgerhq/native-ui 0.19.0 → 0.19.1-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.
@@ -11,7 +11,7 @@ const getContainerBackground = (theme, status) => {
11
11
  return "transparent";
12
12
  }
13
13
  else if (status === "active") {
14
- return theme.colors.neutral.c20;
14
+ return theme.colors.opacityDefault.c05;
15
15
  }
16
16
  return "transparent";
17
17
  };
@@ -20,7 +20,7 @@ const getContainerBorder = (theme, status, isLastItem) => {
20
20
  return "transparent";
21
21
  }
22
22
  else if (isLastItem && status === "active") {
23
- return theme.colors.success.c50;
23
+ return theme.colors.success.c70;
24
24
  }
25
25
  else if (status === "active") {
26
26
  return theme.colors.neutral.c40;
@@ -69,8 +69,8 @@ export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, i
69
69
  : undefined }),
70
70
  React.createElement(Container, { status: item.status, isLastItem: isLastItem, mt: withExtraMarginOnActiveStep && !isFirstItem && item.status === "active" ? 4 : 0, mb: withExtraMarginOnActiveStep && !isLastItem && item.status === "active" ? 4 : 0 },
71
71
  React.createElement(Flex, { flexDirection: "row", justifyContent: "space-between" },
72
- React.createElement(Text, { variant: "body", fontWeight: status === "active" ? "semiBold" : "medium", flexShrink: 1, color: item.status === "completed" && isLastItem
73
- ? "success.c40"
72
+ React.createElement(Text, { variant: "body", fontWeight: item.status === "active" ? "semiBold" : "medium", flexShrink: 1, color: item.status === "completed" && isLastItem
73
+ ? "success.c70"
74
74
  : item.status === "active"
75
75
  ? "primary.c80"
76
76
  : "neutral.c70" }, item.status === "completed" ? (_a = item.doneTitle) !== null && _a !== void 0 ? _a : item.title : item.title),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.19.0",
3
+ "version": "0.19.1-nightly.0",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",